From 37a782df335d8a58480bca4d360dbad7bfcdda37 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 12 Jun 2019 08:40:50 -0700 Subject: [PATCH 001/495] Move Storage to Py v4.x (#6296) --- specification/storage/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index a13714aa0987..124f081ea5d6 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -237,8 +237,11 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python + autorest_options: + use: "@microsoft.azure/autorest.python@4.0.70" after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-storage + - python ./scripts/trim_aio.py ./sdk/storage/azure-mgmt-storage - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node From 75863b32ad6ba09fb42f6d7692ede924405eab6a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 12:57:25 -0400 Subject: [PATCH 002/495] chore: jsonfmt recoveryservicessiterecovery (#6224) * chore: jsonfmt recoveryservicessiterecovery Ran `jsonfmt -w "specification/recoveryservicessiterecovery/**/*.json"` * fix: PolicyId -> policyId Was only miscased in 2016-08-10 API and corrected after * fix: affectedObjectTypes changed to type string Earlier versions were array of string, and examples were probably copied * fix: jobStatus became type string Earlier version had type array of string but change in later API --- .../2016-08-10/examples/Operations_List.json | 2 +- .../examples/ReplicationEvents_Get.json | 4 +- .../ReplicationFabrics_CheckConsistency.json | 3 +- .../examples/ReplicationFabrics_Create.json | 3 +- .../examples/ReplicationFabrics_Delete.json | 6 +- .../examples/ReplicationFabrics_List.json | 1 - .../ReplicationFabrics_MigrateToAad.json | 8 +- .../examples/ReplicationFabrics_Purge.json | 6 +- ...ReplicationFabrics_ReassociateGateway.json | 3 +- .../ReplicationFabrics_RenewCertificate.json | 5 +- .../examples/ReplicationJobs_Cancel.json | 3 +- .../examples/ReplicationJobs_Export.json | 3 +- .../examples/ReplicationJobs_Restart.json | 3 +- .../examples/ReplicationJobs_Resume.json | 3 +- .../ReplicationNetworkMappings_Create.json | 3 +- .../ReplicationNetworkMappings_Delete.json | 6 +- .../ReplicationNetworkMappings_Update.json | 3 +- .../examples/ReplicationPolicies_Create.json | 3 +- .../examples/ReplicationPolicies_Delete.json | 6 +- .../examples/ReplicationPolicies_Update.json | 3 +- ...ListByReplicationProtectionContainers.json | 2 +- ...tionProtectedItems_ApplyRecoveryPoint.json | 3 +- .../ReplicationProtectedItems_Create.json | 3 +- .../ReplicationProtectedItems_Delete.json | 6 +- ...licationProtectedItems_FailoverCommit.json | 91 ++++++----- ...icationProtectedItems_PlannedFailover.json | 3 +- .../ReplicationProtectedItems_Purge.json | 6 +- ...ationProtectedItems_RepairReplication.json | 3 +- .../ReplicationProtectedItems_Reprotect.json | 3 +- ...eplicationProtectedItems_TestFailover.json | 3 +- ...ionProtectedItems_TestFailoverCleanup.json | 3 +- ...ationProtectedItems_UnplannedFailover.json | 3 +- .../ReplicationProtectedItems_Update.json | 3 +- ...nProtectedItems_UpdateMobilityService.json | 3 +- ...ionProtectionContainerMappings_Create.json | 5 +- ...ionProtectionContainerMappings_Delete.json | 6 +- ...cationProtectionContainerMappings_Get.json | 2 +- ...ListByReplicationProtectionContainers.json | 2 +- ...tionProtectionContainerMappings_Purge.json | 6 +- ...eplicationProtectionContainers_Create.json | 3 +- ...eplicationProtectionContainers_Delete.json | 6 +- ...ionContainers_DiscoverProtectableItem.json | 3 +- ...ProtectionContainers_SwitchProtection.json | 3 +- .../ReplicationRecoveryPlans_Create.json | 3 +- .../ReplicationRecoveryPlans_Delete.json | 6 +- ...plicationRecoveryPlans_FailoverCommit.json | 3 +- ...licationRecoveryPlans_PlannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Reprotect.json | 3 +- ...ReplicationRecoveryPlans_TestFailover.json | 3 +- ...tionRecoveryPlans_TestFailoverCleanup.json | 3 +- ...cationRecoveryPlans_UnplannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Update.json | 3 +- ...ationRecoveryServicesProviders_Delete.json | 6 +- ...cationRecoveryServicesProviders_Purge.json | 6 +- ...veryServicesProviders_RefreshProvider.json | 3 +- ...nStorageClassificationMappings_Create.json | 3 +- ...nStorageClassificationMappings_Delete.json | 6 +- .../examples/ReplicationVaultHealth_Get.json | 32 ++-- .../examples/ReplicationvCenters_Create.json | 3 +- .../examples/ReplicationvCenters_Delete.json | 6 +- .../examples/ReplicationvCenters_Update.json | 3 +- .../examples/ReplicationEvents_Get.json | 4 +- .../ReplicationFabrics_CheckConsistency.json | 3 +- .../examples/ReplicationFabrics_Create.json | 3 +- .../examples/ReplicationFabrics_Delete.json | 6 +- .../examples/ReplicationFabrics_List.json | 1 - .../ReplicationFabrics_MigrateToAad.json | 6 +- .../examples/ReplicationFabrics_Purge.json | 6 +- ...ReplicationFabrics_ReassociateGateway.json | 3 +- .../ReplicationFabrics_RenewCertificate.json | 3 +- .../examples/ReplicationJobs_Cancel.json | 3 +- .../examples/ReplicationJobs_Export.json | 7 +- .../examples/ReplicationJobs_Restart.json | 3 +- .../examples/ReplicationJobs_Resume.json | 3 +- .../ReplicationMigrationItems_Create.json | 3 +- .../ReplicationMigrationItems_Delete.json | 6 +- .../ReplicationMigrationItems_Migrate.json | 3 +- ...ReplicationMigrationItems_TestMigrate.json | 3 +- ...tionMigrationItems_TestMigrateCleanup.json | 3 +- .../ReplicationMigrationItems_Update.json | 3 +- .../ReplicationNetworkMappings_Create.json | 3 +- .../ReplicationNetworkMappings_Delete.json | 6 +- .../ReplicationNetworkMappings_Update.json | 3 +- .../examples/ReplicationPolicies_Create.json | 3 +- .../examples/ReplicationPolicies_Delete.json | 6 +- .../examples/ReplicationPolicies_Update.json | 3 +- ...tionProtectedItems_ApplyRecoveryPoint.json | 3 +- .../ReplicationProtectedItems_Create.json | 3 +- .../ReplicationProtectedItems_Delete.json | 6 +- ...licationProtectedItems_FailoverCommit.json | 89 ++++++----- ...icationProtectedItems_PlannedFailover.json | 3 +- .../ReplicationProtectedItems_Purge.json | 6 +- ...ationProtectedItems_RepairReplication.json | 3 +- .../ReplicationProtectedItems_Reprotect.json | 3 +- ...eplicationProtectedItems_TestFailover.json | 3 +- ...ionProtectedItems_TestFailoverCleanup.json | 3 +- ...ationProtectedItems_UnplannedFailover.json | 3 +- .../ReplicationProtectedItems_Update.json | 3 +- ...nProtectedItems_UpdateMobilityService.json | 3 +- ...ionProtectionContainerMappings_Create.json | 5 +- ...ionProtectionContainerMappings_Delete.json | 6 +- ...tionProtectionContainerMappings_Purge.json | 6 +- ...ionProtectionContainerMappings_Update.json | 96 ++++++------ ...eplicationProtectionContainers_Create.json | 3 +- ...eplicationProtectionContainers_Delete.json | 6 +- ...ionContainers_DiscoverProtectableItem.json | 3 +- ...ProtectionContainers_SwitchProtection.json | 3 +- .../ReplicationRecoveryPlans_Create.json | 3 +- .../ReplicationRecoveryPlans_Delete.json | 6 +- ...plicationRecoveryPlans_FailoverCommit.json | 3 +- ...licationRecoveryPlans_PlannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Reprotect.json | 3 +- ...ReplicationRecoveryPlans_TestFailover.json | 3 +- ...tionRecoveryPlans_TestFailoverCleanup.json | 3 +- ...cationRecoveryPlans_UnplannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Update.json | 3 +- ...ationRecoveryServicesProviders_Create.json | 3 +- ...ationRecoveryServicesProviders_Delete.json | 6 +- ...cationRecoveryServicesProviders_Purge.json | 6 +- ...veryServicesProviders_RefreshProvider.json | 3 +- ...nStorageClassificationMappings_Create.json | 3 +- ...nStorageClassificationMappings_Delete.json | 6 +- .../examples/ReplicationVaultHealth_Get.json | 32 ++-- .../ReplicationVaultHealth_Refresh.json | 9 +- .../examples/ReplicationvCenters_Create.json | 3 +- .../examples/ReplicationvCenters_Delete.json | 6 +- .../examples/ReplicationvCenters_Update.json | 3 +- ...Sizes_ListByReplicationProtectedItems.json | 66 ++++---- .../stable/2018-01-10/service.json | 2 +- .../examples/ReplicationEvents_Get.json | 4 +- .../ReplicationFabrics_CheckConsistency.json | 3 +- .../examples/ReplicationFabrics_Create.json | 3 +- .../examples/ReplicationFabrics_Delete.json | 6 +- .../examples/ReplicationFabrics_List.json | 1 - .../ReplicationFabrics_MigrateToAad.json | 6 +- .../examples/ReplicationFabrics_Purge.json | 6 +- ...ReplicationFabrics_ReassociateGateway.json | 3 +- .../ReplicationFabrics_RenewCertificate.json | 3 +- .../examples/ReplicationJobs_Cancel.json | 3 +- .../examples/ReplicationJobs_Export.json | 7 +- .../examples/ReplicationJobs_Restart.json | 3 +- .../examples/ReplicationJobs_Resume.json | 3 +- .../ReplicationMigrationItems_Create.json | 3 +- .../ReplicationMigrationItems_Delete.json | 6 +- .../ReplicationMigrationItems_Migrate.json | 3 +- ...ReplicationMigrationItems_TestMigrate.json | 3 +- ...tionMigrationItems_TestMigrateCleanup.json | 3 +- .../ReplicationMigrationItems_Update.json | 3 +- .../ReplicationNetworkMappings_Create.json | 3 +- .../ReplicationNetworkMappings_Delete.json | 6 +- .../ReplicationNetworkMappings_Update.json | 3 +- .../examples/ReplicationPolicies_Create.json | 3 +- .../examples/ReplicationPolicies_Delete.json | 6 +- .../examples/ReplicationPolicies_Update.json | 3 +- .../ReplicationProtectedItems_AddDisks.json | 143 +++++++++--------- ...tionProtectedItems_ApplyRecoveryPoint.json | 3 +- .../ReplicationProtectedItems_Create.json | 3 +- .../ReplicationProtectedItems_Delete.json | 6 +- ...licationProtectedItems_FailoverCommit.json | 89 ++++++----- ...icationProtectedItems_PlannedFailover.json | 3 +- .../ReplicationProtectedItems_Purge.json | 6 +- ...ReplicationProtectedItems_RemoveDisks.json | 135 ++++++++--------- ...ationProtectedItems_RepairReplication.json | 3 +- .../ReplicationProtectedItems_Reprotect.json | 3 +- ...ionProtectedItems_ResolveHealthErrors.json | 133 ++++++++-------- ...eplicationProtectedItems_TestFailover.json | 3 +- ...ionProtectedItems_TestFailoverCleanup.json | 3 +- ...ationProtectedItems_UnplannedFailover.json | 3 +- .../ReplicationProtectedItems_Update.json | 3 +- ...nProtectedItems_UpdateMobilityService.json | 3 +- ...ionProtectionContainerMappings_Create.json | 5 +- ...ionProtectionContainerMappings_Delete.json | 6 +- ...tionProtectionContainerMappings_Purge.json | 6 +- ...ionProtectionContainerMappings_Update.json | 96 ++++++------ ...eplicationProtectionContainers_Create.json | 3 +- ...eplicationProtectionContainers_Delete.json | 6 +- ...ionContainers_DiscoverProtectableItem.json | 3 +- ...ProtectionContainers_SwitchProtection.json | 3 +- .../ReplicationRecoveryPlans_Create.json | 3 +- .../ReplicationRecoveryPlans_Delete.json | 6 +- ...plicationRecoveryPlans_FailoverCommit.json | 3 +- ...licationRecoveryPlans_PlannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Reprotect.json | 3 +- ...ReplicationRecoveryPlans_TestFailover.json | 3 +- ...tionRecoveryPlans_TestFailoverCleanup.json | 3 +- ...cationRecoveryPlans_UnplannedFailover.json | 3 +- .../ReplicationRecoveryPlans_Update.json | 3 +- ...ationRecoveryServicesProviders_Create.json | 3 +- ...ationRecoveryServicesProviders_Delete.json | 6 +- ...cationRecoveryServicesProviders_Purge.json | 6 +- ...veryServicesProviders_RefreshProvider.json | 3 +- ...nStorageClassificationMappings_Create.json | 3 +- ...nStorageClassificationMappings_Delete.json | 6 +- .../examples/ReplicationVaultHealth_Get.json | 32 ++-- .../ReplicationVaultHealth_Refresh.json | 9 +- .../ReplicationVaultSetting_Create.json | 14 +- .../examples/ReplicationVaultSetting_Get.json | 14 +- .../ReplicationVaultSetting_List.json | 24 +-- .../examples/ReplicationvCenters_Create.json | 3 +- .../examples/ReplicationvCenters_Delete.json | 6 +- .../examples/ReplicationvCenters_Update.json | 3 +- .../SupportedOperatingSystems_Get.json | 86 +++++------ ...Sizes_ListByReplicationProtectedItems.json | 66 ++++---- .../stable/2018-07-10/service.json | 27 ++-- 204 files changed, 873 insertions(+), 1113 deletions(-) diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/Operations_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/Operations_List.json index b7c90c9f1d13..77961a673303 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/Operations_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/Operations_List.json @@ -1222,4 +1222,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationEvents_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationEvents_Get.json index fae82590a3bc..10b1b0b5a9b4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationEvents_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationEvents_Get.json @@ -10,8 +10,8 @@ "200": { "body": { "type": "Microsoft.RecoveryServices/vaults/replicationEvents", - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", - "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", "properties": { "eventCode": "d9a07b07-c7b5-49ca-ab6c-6926596dfe47", "description": "Virtual machine health is OK", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json index 6c6a8f5bdca5..a88c6ddd679d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Create.json index 0c5f833d39c3..35202748529c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Create.json @@ -37,7 +37,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Delete.json index 281a86b008a2..8b2b7f860e11 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_List.json index 929b1dd248d4..1a6004f85363 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_List.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json index 4af4b22e9a50..8b2b7f860e11 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Purge.json index 281a86b008a2..8b2b7f860e11 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_Purge.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json index dea16b909d28..b6c1affdd832 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json @@ -42,7 +42,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json index 4726a176df20..4aed1aeeeba7 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Cancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Cancel.json index 59c9fd66be64..4ce988f0e17d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Cancel.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Cancel.json @@ -53,7 +53,6 @@ "startTime": "2017-05-03T06:16:06.3235186Z" } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Export.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Export.json index 0ebb8450b97f..ccd717277b16 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Export.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Export.json @@ -41,7 +41,6 @@ "endTime": "2017-05-04T14:33:43Z" } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Restart.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Restart.json index a68a62ef9218..ec9d12bafc34 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Restart.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Restart.json @@ -51,7 +51,6 @@ "endTime": "2017-05-03T10:45:14Z" } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Resume.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Resume.json index 98d2c1edf923..bbae778b1c3f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Resume.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationJobs_Resume.json @@ -74,7 +74,6 @@ "endTime": "2017-04-25T09:59:12.0452175Z" } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Create.json index c29540938ddf..4644493df108 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Create.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Delete.json index f8cf07ca175d..6acc67e82c68 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Delete.json @@ -9,9 +9,7 @@ "networkMappingName": "corpe2amap" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Update.json index 438f055b630d..c54dbd1528a3 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationNetworkMappings_Update.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Create.json index df5cb4639091..9690ab6bab79 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Create.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Delete.json index 0ea87be5a958..9320e18d1410 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Update.json index 6a0a73b35696..51e82ed0febb 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationPolicies_Update.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json index 56e107ce8596..17ef8189b411 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json index 791036f8adee..37078f9f2584 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json @@ -62,7 +62,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Create.json index d5a29e0935cb..f6e3995610d1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Create.json @@ -60,7 +60,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Delete.json index e75d5d7ec7ee..14705271deac 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Delete.json @@ -16,9 +16,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json index 900531d50bed..3a69d9f5a82b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json @@ -8,52 +8,51 @@ "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name": "f8491e4f-817a-40dd-a90c-af773978c75b", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties": { - "friendlyName": "vm1", - "protectedItemType": "HyperVVirtualMachine", - "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", - "primaryFabricFriendlyName": "cloud1", - "recoveryFabricFriendlyName": "Microsoft Azure", - "recoveryFabricId": "Microsoft Azure", - "primaryProtectionContainerFriendlyName": "cloud1", - "recoveryProtectionContainerFriendlyName": "Microsoft Azure", - "protectionState": "PlannedFailoverStatesBegin", - "protectionStateDescription": "Planned failover committed", - "activeLocation": "Recovery", - "testFailoverState": "MarkedForDeletion", - "testFailoverStateDescription": "Cleaning up test environment", - "allowedOperations": [ - "CompleteMigration", - "DisableProtection", - "Failback" - ], - "replicationHealth": "Normal", - "replicationHealthErrors": [], - "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", - "policyFriendlyName": "protectionprofile1", - "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", - "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", - "currentScenario": { - "scenarioName": "None", - "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime": "1753-01-01T01:01:01Z" - }, - "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", - "providerSpecificDetails": { - "instanceType": "HyperVReplicaAzure" - }, - "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" - } + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "vm1", + "protectedItemType": "HyperVVirtualMachine", + "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", + "primaryFabricFriendlyName": "cloud1", + "recoveryFabricFriendlyName": "Microsoft Azure", + "recoveryFabricId": "Microsoft Azure", + "primaryProtectionContainerFriendlyName": "cloud1", + "recoveryProtectionContainerFriendlyName": "Microsoft Azure", + "protectionState": "PlannedFailoverStatesBegin", + "protectionStateDescription": "Planned failover committed", + "activeLocation": "Recovery", + "testFailoverState": "MarkedForDeletion", + "testFailoverStateDescription": "Cleaning up test environment", + "allowedOperations": [ + "CompleteMigration", + "DisableProtection", + "Failback" + ], + "replicationHealth": "Normal", + "replicationHealthErrors": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyFriendlyName": "protectionprofile1", + "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", + "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1753-01-01T01:01:01Z" + }, + "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", + "providerSpecificDetails": { + "instanceType": "HyperVReplicaAzure" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" } - }, - "202": { } - } + }, + "202": {} } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json index f744553f4c80..91c58718e4e9 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json @@ -62,7 +62,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Purge.json index 32ef355236f4..57f3eb5af186 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json index be7faaa6fa7f..0e1a2a1d32f3 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json @@ -51,7 +51,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json index 8b1a77833e32..3060a3dc842b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json @@ -62,7 +62,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json index efc59c989891..0309b120b38a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json @@ -60,7 +60,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json index e6821f867813..15f88ce71e0c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json @@ -59,7 +59,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json index 2115402f8906..495055d91785 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json @@ -63,7 +63,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Update.json index 341cb06369c9..efb0be665ece 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_Update.json @@ -69,7 +69,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json index 4fb08b4c10d3..9196e8459402 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json @@ -55,7 +55,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json index c2b42fa48f85..9ad3d6661a22 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json index 85fe8bc006a5..02fe1e637428 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json @@ -14,9 +14,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json index b853c01dd409..76f9a254e3ba 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json index a6d8a8393372..fff6a4338368 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json index ee5169b39f4b..0b93a3d87ae6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Create.json index ff0a6ea8d8e8..d96b4238b53f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Create.json @@ -32,7 +32,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Delete.json index 1a3d668cc860..2347bb6df10f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json index 7944fe575b09..8ff7e75a943e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json index a489d1e12792..3b94cef4371b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json @@ -31,7 +31,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Create.json index b71ade6d24b9..b56346028459 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Create.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json index f2f15af52620..73ba8c61b449 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json @@ -7,9 +7,7 @@ "recoveryPlanName": "RPtest1" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json index c15bc12633a0..dc8276028dba 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json index 5f84751df348..f5329d7f05e9 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json @@ -86,7 +86,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json index 562012f5fbcb..ace4b3e3fc9b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json index 118ec17630e9..d01d013cee58 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json @@ -83,7 +83,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json index 49f47d937d37..5c384cc21a7b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json @@ -80,7 +80,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json index 0fa1d5239162..252e1f8e9891 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json @@ -87,7 +87,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Update.json index d575416a8586..535b834ba794 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryPlans_Update.json @@ -106,7 +106,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json index aadc9ed63890..50f315f8ddf4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json index aadc9ed63890..50f315f8ddf4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json index 6cf199e33525..31172559016c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json @@ -29,7 +29,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json index b3af0c72d9a8..c0807ce2b184 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json @@ -24,7 +24,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json index d269a325183e..41c3e62be482 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json @@ -9,9 +9,7 @@ "subscriptionId": "9112a37f-0f3e-46ec-9c00-060c6edca071" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationVaultHealth_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationVaultHealth_Get.json index 14f9a44f0769..e7151baba30e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationVaultHealth_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationVaultHealth_Get.json @@ -12,25 +12,27 @@ "type": "Microsoft.RecoveryServices/vaults/replicationVaultHealth", "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultHealth/Default", "properties": { - "vaultErrors": [], + "vaultErrors": [], "protectedItemsHealth": { "resourceCount": 6, - "issues": [{ - "summaryCode": "10008", - "category": "Replication", - "severity": "Error", - "summaryMessage": "RPO Throttled", - "affectedResourceType": "replicationProtectedItems", - "affectedResourceSubtype": "", - "affectedResourceCorrelationIds": [ - "c183865e-6077-46f2-a3b1-deb0f4f4650a", - "c183865e-6077-46f2-a3b1-ceb0a4c3751e" - ] - }] + "issues": [ + { + "summaryCode": "10008", + "category": "Replication", + "severity": "Error", + "summaryMessage": "RPO Throttled", + "affectedResourceType": "replicationProtectedItems", + "affectedResourceSubtype": "", + "affectedResourceCorrelationIds": [ + "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "c183865e-6077-46f2-a3b1-ceb0a4c3751e" + ] + } + ] }, - "fabricsHealth": { + "fabricsHealth": { "resourceCount": 1, - "issues": [] + "issues": [] } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Create.json index b3e3bd65bcab..b3f8bf5cdf45 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Create.json @@ -34,7 +34,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Delete.json index 6c924e08f98f..ace1b0dbfc72 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "7c943c1b-5122-4097-90c8-861411bdd574" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Update.json index c5677dffeffb..ada8d495a32a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ReplicationvCenters_Update.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationEvents_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationEvents_Get.json index e985e881d1e6..42cede36677e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationEvents_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationEvents_Get.json @@ -10,8 +10,8 @@ "200": { "body": { "type": "Microsoft.RecoveryServices/vaults/replicationEvents", - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", - "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", "properties": { "eventCode": "d9a07b07-c7b5-49ca-ab6c-6926596dfe47", "description": "Virtual machine health is OK", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_CheckConsistency.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_CheckConsistency.json index 71823b6186a1..955935c50967 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_CheckConsistency.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_CheckConsistency.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Create.json index c3bc2e02ba40..8989a6fb91c1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Create.json @@ -37,7 +37,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Delete.json index 74c2f9916779..ac3225063e65 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_List.json index 47a132dddb28..5ca561422d8a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_List.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_MigrateToAad.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_MigrateToAad.json index 74c2f9916779..ac3225063e65 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_MigrateToAad.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_MigrateToAad.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Purge.json index 74c2f9916779..ac3225063e65 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_Purge.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_ReassociateGateway.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_ReassociateGateway.json index d904e7b5594f..e0c0466c32ba 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_ReassociateGateway.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_ReassociateGateway.json @@ -42,7 +42,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_RenewCertificate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_RenewCertificate.json index 8d013e65e4fe..06e7bf04c430 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_RenewCertificate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationFabrics_RenewCertificate.json @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Cancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Cancel.json index f59bef7d934b..858156913740 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Cancel.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Cancel.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Export.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Export.json index ed6de8b50c36..b1f7669ec099 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Export.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Export.json @@ -7,8 +7,8 @@ "jobQueryParameter": { "startTime": "2017-04-27T14:26:51.9161395Z", "endTime": "2017-05-04T14:26:51.9161395Z", - "affectedObjectTypes": [], - "jobStatus": [] + "affectedObjectTypes": "", + "jobStatus": "" } }, "responses": { @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Restart.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Restart.json index 00a0de9a95ec..a1c3b333b841 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Restart.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Restart.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Resume.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Resume.json index 55a030fff129..065fdadb6abc 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Resume.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationJobs_Resume.json @@ -71,7 +71,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json index 70c5deab9141..fd1a7e49c65a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Create.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Delete.json index 570f5b20e3a6..76a956077540 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Delete.json @@ -9,9 +9,7 @@ "subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json index c2822dd85a3a..d7df2cbeeb58 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Migrate.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json index 4f8c750843ea..76940f415b44 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrate.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json index c361c8060fd3..c58e8845447e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json @@ -45,7 +45,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json index 404d0e0f77cc..ac1b359a84a4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationMigrationItems_Update.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Create.json index 7d63512ed867..f15356448c2e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Create.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Delete.json index b91fb410d946..a1aec532b30e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Delete.json @@ -9,9 +9,7 @@ "networkMappingName": "corpe2amap" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Update.json index 5e699552557a..b19597e61336 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationNetworkMappings_Update.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Create.json index 749bbe6b5685..e19c0c9ed180 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Create.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Delete.json index e841b2c466cc..2c67bb6e424e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Update.json index 407bf8a52898..fcb9f40b21e4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationPolicies_Update.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json index 6dbccd5f951d..4899374b4e34 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Create.json index 34395060a6d8..5693e34cd5ec 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Create.json @@ -59,7 +59,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Delete.json index a8c1b23e1944..22219f3cb9bd 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Delete.json @@ -16,9 +16,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_FailoverCommit.json index 62b1cec83c0a..348cf43d4b89 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_FailoverCommit.json @@ -8,51 +8,50 @@ "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name": "f8491e4f-817a-40dd-a90c-af773978c75b", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties": { - "friendlyName": "vm1", - "protectedItemType": "HyperVVirtualMachine", - "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", - "primaryFabricFriendlyName": "cloud1", - "recoveryFabricFriendlyName": "Microsoft Azure", - "recoveryFabricId": "Microsoft Azure", - "primaryProtectionContainerFriendlyName": "cloud1", - "recoveryProtectionContainerFriendlyName": "Microsoft Azure", - "protectionState": "PlannedFailoverStatesBegin", - "protectionStateDescription": "Planned failover committed", - "activeLocation": "Recovery", - "testFailoverState": "MarkedForDeletion", - "testFailoverStateDescription": "Cleaning up test environment", - "allowedOperations": [ - "CompleteMigration", - "DisableProtection", - "Failback" - ], - "replicationHealth": "Normal", - "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", - "policyFriendlyName": "protectionprofile1", - "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", - "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", - "currentScenario": { - "scenarioName": "None", - "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime": "1753-01-01T01:01:01Z" - }, - "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", - "providerSpecificDetails": { - "instanceType": "HyperVReplicaAzure" - }, - "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" - } + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "vm1", + "protectedItemType": "HyperVVirtualMachine", + "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", + "primaryFabricFriendlyName": "cloud1", + "recoveryFabricFriendlyName": "Microsoft Azure", + "recoveryFabricId": "Microsoft Azure", + "primaryProtectionContainerFriendlyName": "cloud1", + "recoveryProtectionContainerFriendlyName": "Microsoft Azure", + "protectionState": "PlannedFailoverStatesBegin", + "protectionStateDescription": "Planned failover committed", + "activeLocation": "Recovery", + "testFailoverState": "MarkedForDeletion", + "testFailoverStateDescription": "Cleaning up test environment", + "allowedOperations": [ + "CompleteMigration", + "DisableProtection", + "Failback" + ], + "replicationHealth": "Normal", + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyFriendlyName": "protectionprofile1", + "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", + "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1753-01-01T01:01:01Z" + }, + "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", + "providerSpecificDetails": { + "instanceType": "HyperVReplicaAzure" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" } - }, - "202": { } - } + }, + "202": {} } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_PlannedFailover.json index 1ea52d8ebc83..4abc1ecb2a20 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_PlannedFailover.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Purge.json index 16c887d4880c..5e4a0e8033be 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_RepairReplication.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_RepairReplication.json index ac86282e782a..cc0a56bb7a28 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_RepairReplication.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_RepairReplication.json @@ -50,7 +50,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Reprotect.json index 600165568b94..0141695f2457 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Reprotect.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailover.json index 746bec8842e5..b3ea5beb9bb1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailover.json @@ -59,7 +59,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json index 7944066d0f73..c4a246eac5ab 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json @@ -58,7 +58,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UnplannedFailover.json index 4ddf509a3c5b..0166e4d7ee07 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UnplannedFailover.json @@ -62,7 +62,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Update.json index b6e8b63b1887..53b2a4d921f8 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_Update.json @@ -68,7 +68,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UpdateMobilityService.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UpdateMobilityService.json index feb8f5e7909b..3896657955af 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UpdateMobilityService.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectedItems_UpdateMobilityService.json @@ -54,7 +54,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Create.json index cf205dad4080..70aed87e81e6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Create.json @@ -10,7 +10,7 @@ "creationInput": { "properties": { "targetProtectionContainerId": "Microsoft Azure", - "PolicyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", "providerSpecificInput": {} } } @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Delete.json index c2619e182a1b..0595b29f086d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Delete.json @@ -14,9 +14,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Purge.json index 84350a519127..ca3515242a39 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Update.json index 7d54c8a39070..67825845ecc4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainerMappings_Update.json @@ -1,53 +1,49 @@ { - "parameters":{ - "mappingName":"cloud1protectionprofile1", - "protectionContainerName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "fabricName":"cloud1", - "api-version":"2018-01-10", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a", - "updateInput":{ - "properties":{ - "providerSpecificInput":{ - "instanceType":"A2A", - "agentAutoUpdateStatus":"Enabled", - "automationAccountArmId":"/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1" - } - } + "parameters": { + "mappingName": "cloud1protectionprofile1", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "api-version": "2018-01-10", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "updateInput": { + "properties": { + "providerSpecificInput": { + "instanceType": "A2A", + "agentAutoUpdateStatus": "Enabled", + "automationAccountArmId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1" + } } - }, - "responses":{ - "200":{ - "body":{ - "id":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectionContainerMappings/cloud1protectionprofile1", - "name":"cloud1protectionprofile1", - "type":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings", - "properties":{ - "targetProtectionContainerId":"Microsoft Azure", - "targetProtectionContainerFriendlyName":"Microsoft Azure", - "health":"Normal", - "healthErrorDetails":[ - - ], - "policyId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", - "state":"Paired", - "sourceProtectionContainerFriendlyName":"cloud1", - "sourceFabricFriendlyName":"cloud1", - "targetFabricFriendlyName":"Microsoft Azure", - "policyFriendlyName":"protectionprofile1", - "providerSpecificDetails":{ - "instanceType":"A2A", - "agentAutoUpdateStatus":"Enabled", - "automationAccountArmId":"/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1", - "scheduleName":"cloud1protectionprofile1_a85ea38f-62a8-471b-93cc-69b74fd9578c", - "jobScheduleName":"ffd503ec-5f88-4b58-97c8-841466e7aa47" - } - } - } - }, - "202":{ - + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectionContainerMappings/cloud1protectionprofile1", + "name": "cloud1protectionprofile1", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings", + "properties": { + "targetProtectionContainerId": "Microsoft Azure", + "targetProtectionContainerFriendlyName": "Microsoft Azure", + "health": "Normal", + "healthErrorDetails": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "state": "Paired", + "sourceProtectionContainerFriendlyName": "cloud1", + "sourceFabricFriendlyName": "cloud1", + "targetFabricFriendlyName": "Microsoft Azure", + "policyFriendlyName": "protectionprofile1", + "providerSpecificDetails": { + "instanceType": "A2A", + "agentAutoUpdateStatus": "Enabled", + "automationAccountArmId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1", + "scheduleName": "cloud1protectionprofile1_a85ea38f-62a8-471b-93cc-69b74fd9578c", + "jobScheduleName": "ffd503ec-5f88-4b58-97c8-841466e7aa47" + } + } } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Create.json index 16edf4a5150a..9eec90887c5c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Create.json @@ -32,7 +32,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Delete.json index d770870e8e2e..bf5f46c43546 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json index 366ee0d91f9c..f7a582e0da4c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_SwitchProtection.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_SwitchProtection.json index 410964935533..c0f512143d0c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_SwitchProtection.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationProtectionContainers_SwitchProtection.json @@ -31,7 +31,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Create.json index e76737b870ef..41f460eb3e23 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Create.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Delete.json index 1ab55bc98cd7..61496e3a1904 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Delete.json @@ -7,9 +7,7 @@ "recoveryPlanName": "RPtest1" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_FailoverCommit.json index f4dbbb281c14..99c0d80fac5e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_FailoverCommit.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_PlannedFailover.json index e6033946270f..cf9439993141 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_PlannedFailover.json @@ -86,7 +86,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Reprotect.json index 3bdffbb10379..ac651295adfe 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Reprotect.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailover.json index 2f9202a0bf83..056ae9ec7916 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailover.json @@ -83,7 +83,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json index 55655b019f2d..abb07c75274c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json @@ -80,7 +80,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json index be38a77acd84..4a89ed98b2ba 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json @@ -87,7 +87,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Update.json index f459cc6cea87..353aa6bfb8b5 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryPlans_Update.json @@ -106,7 +106,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Create.json index 9500aafc02e5..b35668061ffb 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Create.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Delete.json index 4954000a8b36..9dc0f21097d4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Purge.json index 4954000a8b36..9dc0f21097d4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_Purge.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json index ce1f0629f280..b5ba32f42af2 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json @@ -29,7 +29,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Create.json index 38bae67d650c..a044be7dffa4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Create.json @@ -24,7 +24,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Delete.json index ab824363846e..ac3df716046c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationStorageClassificationMappings_Delete.json @@ -9,9 +9,7 @@ "subscriptionId": "9112a37f-0f3e-46ec-9c00-060c6edca071" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Get.json index 0724af543630..3afc0817059a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Get.json @@ -12,25 +12,27 @@ "type": "Microsoft.RecoveryServices/vaults/replicationVaultHealth", "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultHealth/Default", "properties": { - "vaultErrors": [], + "vaultErrors": [], "protectedItemsHealth": { "resourceCount": 6, - "issues": [{ - "summaryCode": "10008", - "category": "Replication", - "severity": "Error", - "summaryMessage": "RPO Throttled", - "affectedResourceType": "replicationProtectedItems", - "affectedResourceSubtype": "", - "affectedResourceCorrelationIds": [ - "c183865e-6077-46f2-a3b1-deb0f4f4650a", - "c183865e-6077-46f2-a3b1-ceb0a4c3751e" - ] - }] + "issues": [ + { + "summaryCode": "10008", + "category": "Replication", + "severity": "Error", + "summaryMessage": "RPO Throttled", + "affectedResourceType": "replicationProtectedItems", + "affectedResourceSubtype": "", + "affectedResourceCorrelationIds": [ + "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "c183865e-6077-46f2-a3b1-ceb0a4c3751e" + ] + } + ] }, - "fabricsHealth": { + "fabricsHealth": { "resourceCount": 1, - "issues": [] + "issues": [] } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Refresh.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Refresh.json index cc81a60ee9e2..6fe5e1663634 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Refresh.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationVaultHealth_Refresh.json @@ -12,19 +12,18 @@ "type": "Microsoft.RecoveryServices/vaults/replicationVaultHealth", "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultHealth/Default", "properties": { - "vaultErrors": [ ], + "vaultErrors": [], "protectedItemsHealth": { "resourceCount": 2, - "issues": [ ] + "issues": [] }, "fabricsHealth": { "resourceCount": 1, - "issues": [ ] + "issues": [] } } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Create.json index 623c8d36fe9d..065d680cc7a6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Create.json @@ -34,7 +34,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Delete.json index b55cfd915a0d..f224a8f3aeb0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "7c943c1b-5122-4097-90c8-861411bdd574" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Update.json index 9a4567ef28d0..6c9428f8635f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/ReplicationvCenters_Update.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json index 58a98bb1008b..cbd780f7a2a8 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json @@ -11,39 +11,39 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Basic_A0", - "name": "Basic_A0", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", - "properties": { - "name": "Basic_A0", - "friendlyName": "Basic_A0", - "cpuCoresCount": 1, - "memoryInGB": 0.75, - "maxDataDiskCount": 1, - "maxNicsCount": 2, - "errors": null, - "highIopsSupported": "NotSupported" - } - }, - { - "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Standard_A0", - "name": "Standard_A0", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", - "properties": { - "name": "Standard_A0", - "friendlyName": "Standard_A0", - "cpuCoresCount": 1, - "memoryInGB": 0.75, - "maxDataDiskCount": 1, - "maxNicsCount": 2, - "errors": null, - "highIopsSupported": "NotSupported" - } - } - ], - "nextLink": null + "value": [ + { + "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Basic_A0", + "name": "Basic_A0", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", + "properties": { + "name": "Basic_A0", + "friendlyName": "Basic_A0", + "cpuCoresCount": 1, + "memoryInGB": 0.75, + "maxDataDiskCount": 1, + "maxNicsCount": 2, + "errors": null, + "highIopsSupported": "NotSupported" + } + }, + { + "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Standard_A0", + "name": "Standard_A0", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", + "properties": { + "name": "Standard_A0", + "friendlyName": "Standard_A0", + "cpuCoresCount": 1, + "memoryInGB": 0.75, + "maxDataDiskCount": 1, + "maxNicsCount": 2, + "errors": null, + "highIopsSupported": "NotSupported" + } + } + ], + "nextLink": null } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json index 464ff28f2ac8..a3aa88b0b87a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-01-10/service.json @@ -16868,4 +16868,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEvents_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEvents_Get.json index 4f7b49d55c97..fd13c0cf1fa7 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEvents_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEvents_Get.json @@ -10,8 +10,8 @@ "200": { "body": { "type": "Microsoft.RecoveryServices/vaults/replicationEvents", - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", - "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationEvents/VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", + "name": "VmMonitoringEvent;9091989947769704276_516de684-0079-48f7-b44b-882923268654", "properties": { "eventCode": "d9a07b07-c7b5-49ca-ab6c-6926596dfe47", "description": "Virtual machine health is OK", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_CheckConsistency.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_CheckConsistency.json index 7728759a80b1..64ca70e71dd0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_CheckConsistency.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_CheckConsistency.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Create.json index b453520e9a29..1b000d82d16e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Create.json @@ -37,7 +37,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Delete.json index 026920e0ece9..e676596b00ea 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_List.json index 5bf1902b7cee..e9720e5a8b97 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_List.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_MigrateToAad.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_MigrateToAad.json index 026920e0ece9..e676596b00ea 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_MigrateToAad.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_MigrateToAad.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Purge.json index 026920e0ece9..e676596b00ea 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_Purge.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_ReassociateGateway.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_ReassociateGateway.json index 0ac3dbea642a..a1723f8dc754 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_ReassociateGateway.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_ReassociateGateway.json @@ -42,7 +42,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_RenewCertificate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_RenewCertificate.json index 89c9da9c0746..028b399895d7 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_RenewCertificate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationFabrics_RenewCertificate.json @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Cancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Cancel.json index 1e099ec8b49c..f7ed29d8df48 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Cancel.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Cancel.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Export.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Export.json index 31cbd4e32853..37f68bc7406a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Export.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Export.json @@ -7,8 +7,8 @@ "jobQueryParameter": { "startTime": "2017-04-27T14:26:51.9161395Z", "endTime": "2017-05-04T14:26:51.9161395Z", - "affectedObjectTypes": [], - "jobStatus": [] + "affectedObjectTypes": "", + "jobStatus": "" } }, "responses": { @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Restart.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Restart.json index 41f37765e1ba..83de09b6de3f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Restart.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Restart.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Resume.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Resume.json index 7f14ca411566..c35b2cdd4623 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Resume.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationJobs_Resume.json @@ -71,7 +71,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json index b673466c828b..d1b5609c2242 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Create.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Delete.json index ff93cbe60018..eb36a8e6fb7d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Delete.json @@ -9,9 +9,7 @@ "subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json index 293173c37eed..b36b287644a0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Migrate.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json index 9a4f14c1f133..c51000eb5348 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrate.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json index 26806c66d541..3b389c57601d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json @@ -45,7 +45,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Update.json index 00c34121dba5..95f02b5be20c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationMigrationItems_Update.json @@ -47,7 +47,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Create.json index b8cd3345f3f1..e9b95bba3754 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Create.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Delete.json index 14eb06ec03a1..b7b4489373ca 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Delete.json @@ -9,9 +9,7 @@ "networkMappingName": "corpe2amap" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Update.json index 8ba2fa67741b..0c04650454f2 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationNetworkMappings_Update.json @@ -38,7 +38,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Create.json index e25e14f8d103..8669171ec13d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Create.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Delete.json index 3d5fd793f1e0..874295e9a916 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Delete.json @@ -7,9 +7,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Update.json index d2897cb85a20..e14e301bc508 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationPolicies_Update.json @@ -27,7 +27,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json index 2cd6c54b2f37..69a5201b6fec 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_AddDisks.json @@ -1,76 +1,73 @@ { - "parameters":{ - "api-version":"2018-07-10", - "replicatedProtectedItemName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectionContainerName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "fabricName":"cloud1", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a", - "addDisksInput":{ - "properties":{ - "providerSpecificDetails": { - "instanceType":"A2A", - "vmDisks": [ - { - "diskUri" : "https://vmstorage.blob.core.windows.net/vhds/datadisk1.vhd", - "recoveryAureStorageAccountId" : "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/recoveryResource/providers/Microsoft.Storage/storageAccounts/recoverystorage", - "primaryStagingAzureStorageAccountId" : "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/primaryResource/providers/Microsoft.Storage/storageAccounts/vmcachestorage" - } - ] - } - } - } - }, - "responses":{ - "200":{ - "body":{ - "id":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name":"f8491e4f-817a-40dd-a90c-af773978c75b", - "type":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties":{ - "friendlyName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectedItemType":"", - "protectableItemId":null, - "recoveryServicesProviderId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", - "primaryFabricFriendlyName":"cloud1", - "primaryFabricProvider":"AzureFabric", - "recoveryFabricFriendlyName":"cloud2", - "recoveryFabricId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", - "primaryProtectionContainerFriendlyName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "recoveryProtectionContainerFriendlyName":"cloud_81224fc6-f326-5d35-96de-fbf51efb3188", - "protectionState":"Protected", - "protectionStateDescription":"Protected", - "activeLocation":"Primary", - "testFailoverState":"None", - "testFailoverStateDescription":"None", - "allowedOperations":[ - "RepairReplication", - "UnplannedFailover", - "DisableProtection", - "TestFailover" - ], - "replicationHealth":"Normal", - "failoverHealth":"Normal", - "healthErrors":[ - - ], - "policyId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", - "policyFriendlyName":"A2APolicy", - "currentScenario":{ - "scenarioName":"None", - "jobId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime":"1752-12-31T19:31:01Z" - }, - "failoverRecoveryPointId":null, - "providerSpecificDetails":{ - "instanceType":"A2A" - }, - "recoveryContainerId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" + "parameters": { + "api-version": "2018-07-10", + "replicatedProtectedItemName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "addDisksInput": { + "properties": { + "providerSpecificDetails": { + "instanceType": "A2A", + "vmDisks": [ + { + "diskUri": "https://vmstorage.blob.core.windows.net/vhds/datadisk1.vhd", + "recoveryAureStorageAccountId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/recoveryResource/providers/Microsoft.Storage/storageAccounts/recoverystorage", + "primaryStagingAzureStorageAccountId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourcegroups/primaryResource/providers/Microsoft.Storage/storageAccounts/vmcachestorage" } - } - }, - "202":{ + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectedItemType": "", + "protectableItemId": null, + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", + "primaryFabricFriendlyName": "cloud1", + "primaryFabricProvider": "AzureFabric", + "recoveryFabricFriendlyName": "cloud2", + "recoveryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", + "primaryProtectionContainerFriendlyName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "recoveryProtectionContainerFriendlyName": "cloud_81224fc6-f326-5d35-96de-fbf51efb3188", + "protectionState": "Protected", + "protectionStateDescription": "Protected", + "activeLocation": "Primary", + "testFailoverState": "None", + "testFailoverStateDescription": "None", + "allowedOperations": [ + "RepairReplication", + "UnplannedFailover", + "DisableProtection", + "TestFailover" + ], + "replicationHealth": "Normal", + "failoverHealth": "Normal", + "healthErrors": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", + "policyFriendlyName": "A2APolicy", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1752-12-31T19:31:01Z" + }, + "failoverRecoveryPointId": null, + "providerSpecificDetails": { + "instanceType": "A2A" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" + } } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json index b564bb98c941..805e134a731e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Create.json index ada42f71fe2f..aa3bd1194cbd 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Create.json @@ -59,7 +59,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Delete.json index 08fc06c0f551..816800a4d6c8 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Delete.json @@ -16,9 +16,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_FailoverCommit.json index 2c6cb95edf2c..2e756e392df2 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_FailoverCommit.json @@ -8,51 +8,50 @@ "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name": "f8491e4f-817a-40dd-a90c-af773978c75b", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties": { - "friendlyName": "vm1", - "protectedItemType": "HyperVVirtualMachine", - "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", - "primaryFabricFriendlyName": "cloud1", - "recoveryFabricFriendlyName": "Microsoft Azure", - "recoveryFabricId": "Microsoft Azure", - "primaryProtectionContainerFriendlyName": "cloud1", - "recoveryProtectionContainerFriendlyName": "Microsoft Azure", - "protectionState": "PlannedFailoverStatesBegin", - "protectionStateDescription": "Planned failover committed", - "activeLocation": "Recovery", - "testFailoverState": "MarkedForDeletion", - "testFailoverStateDescription": "Cleaning up test environment", - "allowedOperations": [ - "CompleteMigration", - "DisableProtection", - "Failback" - ], - "replicationHealth": "Normal", - "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", - "policyFriendlyName": "protectionprofile1", - "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", - "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", - "currentScenario": { - "scenarioName": "None", - "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime": "1753-01-01T01:01:01Z" - }, - "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", - "providerSpecificDetails": { - "instanceType": "HyperVReplicaAzure" - }, - "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" - } + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "vm1", + "protectedItemType": "HyperVVirtualMachine", + "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", + "primaryFabricFriendlyName": "cloud1", + "recoveryFabricFriendlyName": "Microsoft Azure", + "recoveryFabricId": "Microsoft Azure", + "primaryProtectionContainerFriendlyName": "cloud1", + "recoveryProtectionContainerFriendlyName": "Microsoft Azure", + "protectionState": "PlannedFailoverStatesBegin", + "protectionStateDescription": "Planned failover committed", + "activeLocation": "Recovery", + "testFailoverState": "MarkedForDeletion", + "testFailoverStateDescription": "Cleaning up test environment", + "allowedOperations": [ + "CompleteMigration", + "DisableProtection", + "Failback" + ], + "replicationHealth": "Normal", + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyFriendlyName": "protectionprofile1", + "lastSuccessfulFailoverTime": "2017-04-26T06:37:23.1578655Z", + "lastSuccessfulTestFailoverTime": "2017-04-25T09:57:57.0357829Z", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1753-01-01T01:01:01Z" + }, + "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", + "providerSpecificDetails": { + "instanceType": "HyperVReplicaAzure" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationProtectionContainers/d38048d4-b460-4791-8ece-108395ee8478" } - }, - "202": { } - } + }, + "202": {} } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_PlannedFailover.json index db733a0a567e..603f1a736efe 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_PlannedFailover.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Purge.json index 4c3a77b28d9d..2db6935b661d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RemoveDisks.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RemoveDisks.json index 7042b7b1fc82..0eec02a4c48a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RemoveDisks.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RemoveDisks.json @@ -1,72 +1,69 @@ { - "parameters":{ - "api-version":"2018-07-10", - "replicatedProtectedItemName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectionContainerName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "fabricName":"cloud1", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a", - "removeDisksInput":{ - "properties":{ - "providerSpecificDetails":{ - "instanceType": "A2A", - "vmDisksUris": [ - "https://vmstorage.blob.core.windows.net/vhds/datadisk1.vhd" - ] - } - } + "parameters": { + "api-version": "2018-07-10", + "replicatedProtectedItemName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "removeDisksInput": { + "properties": { + "providerSpecificDetails": { + "instanceType": "A2A", + "vmDisksUris": [ + "https://vmstorage.blob.core.windows.net/vhds/datadisk1.vhd" + ] + } } - }, - "responses":{ - "200":{ - "body":{ - "id":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name":"f8491e4f-817a-40dd-a90c-af773978c75b", - "type":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties":{ - "friendlyName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectedItemType":"", - "protectableItemId":null, - "recoveryServicesProviderId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", - "primaryFabricFriendlyName":"cloud1", - "primaryFabricProvider":"AzureFabric", - "recoveryFabricFriendlyName":"cloud2", - "recoveryFabricId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", - "primaryProtectionContainerFriendlyName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "recoveryProtectionContainerFriendlyName":"cloud_81224fc6-f326-5d35-96de-fbf51efb3188", - "protectionState":"Protected", - "protectionStateDescription":"Protected", - "activeLocation":"Primary", - "testFailoverState":"None", - "testFailoverStateDescription":"None", - "allowedOperations":[ - "RepairReplication", - "UnplannedFailover", - "DisableProtection", - "TestFailover" - ], - "replicationHealth":"Normal", - "failoverHealth":"Normal", - "healthErrors":[ - - ], - "policyId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", - "policyFriendlyName":"A2APolicy", - "currentScenario":{ - "scenarioName":"None", - "jobId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime":"1752-12-31T19:31:01Z" - }, - "failoverRecoveryPointId":null, - "providerSpecificDetails":{ - "instanceType":"A2A" - }, - "recoveryContainerId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" - } - } - }, - "202":{ + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectedItemType": "", + "protectableItemId": null, + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", + "primaryFabricFriendlyName": "cloud1", + "primaryFabricProvider": "AzureFabric", + "recoveryFabricFriendlyName": "cloud2", + "recoveryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", + "primaryProtectionContainerFriendlyName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "recoveryProtectionContainerFriendlyName": "cloud_81224fc6-f326-5d35-96de-fbf51efb3188", + "protectionState": "Protected", + "protectionStateDescription": "Protected", + "activeLocation": "Primary", + "testFailoverState": "None", + "testFailoverStateDescription": "None", + "allowedOperations": [ + "RepairReplication", + "UnplannedFailover", + "DisableProtection", + "TestFailover" + ], + "replicationHealth": "Normal", + "failoverHealth": "Normal", + "healthErrors": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", + "policyFriendlyName": "A2APolicy", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1752-12-31T19:31:01Z" + }, + "failoverRecoveryPointId": null, + "providerSpecificDetails": { + "instanceType": "A2A" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" + } } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RepairReplication.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RepairReplication.json index 3bd01792047b..f50854d7dccb 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RepairReplication.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_RepairReplication.json @@ -50,7 +50,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Reprotect.json index a8f1bcf24ee5..ca2d3d03eaa7 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Reprotect.json @@ -61,7 +61,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ResolveHealthErrors.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ResolveHealthErrors.json index a1be4ed56187..919d0eeb4ca0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ResolveHealthErrors.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_ResolveHealthErrors.json @@ -1,71 +1,68 @@ { - "parameters":{ - "api-version":"2018-07-10", - "replicatedProtectedItemName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectionContainerName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "fabricName":"cloud1", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a", - "resolveHealthInput":{ - "properties":{ - "healthErrors":[ - { - "healthErrorId":"3:8020" - } - ] - } + "parameters": { + "api-version": "2018-07-10", + "replicatedProtectedItemName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "resolveHealthInput": { + "properties": { + "healthErrors": [ + { + "healthErrorId": "3:8020" + } + ] } - }, - "responses":{ - "200":{ - "body":{ - "id":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", - "name":"f8491e4f-817a-40dd-a90c-af773978c75b", - "type":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", - "properties":{ - "friendlyName":"f8491e4f-817a-40dd-a90c-af773978c75b", - "protectedItemType":"", - "protectableItemId":null, - "recoveryServicesProviderId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", - "primaryFabricFriendlyName":"cloud1", - "primaryFabricProvider":"AzureFabric", - "recoveryFabricFriendlyName":"cloud2", - "recoveryFabricId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", - "primaryProtectionContainerFriendlyName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "recoveryProtectionContainerFriendlyName":"cloud_81224fc6-f326-5d35-96de-fbf51efb3188", - "protectionState":"Protected", - "protectionStateDescription":"Protected", - "activeLocation":"Primary", - "testFailoverState":"None", - "testFailoverStateDescription":"None", - "allowedOperations":[ - "RepairReplication", - "UnplannedFailover", - "DisableProtection", - "TestFailover" - ], - "replicationHealth":"Normal", - "failoverHealth":"Normal", - "healthErrors":[ - - ], - "policyId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", - "policyFriendlyName":"A2APolicy", - "currentScenario":{ - "scenarioName":"None", - "jobId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", - "startTime":"1752-12-31T19:31:01Z" - }, - "failoverRecoveryPointId":null, - "providerSpecificDetails":{ - "instanceType":"A2A" - }, - "recoveryContainerId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" - } - } - }, - "202":{ + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectedItemType": "", + "protectableItemId": null, + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/6d2940f9-4c34-5989-9f56-1243a6e76ecf", + "primaryFabricFriendlyName": "cloud1", + "primaryFabricProvider": "AzureFabric", + "recoveryFabricFriendlyName": "cloud2", + "recoveryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2", + "primaryProtectionContainerFriendlyName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "recoveryProtectionContainerFriendlyName": "cloud_81224fc6-f326-5d35-96de-fbf51efb3188", + "protectionState": "Protected", + "protectionStateDescription": "Protected", + "activeLocation": "Primary", + "testFailoverState": "None", + "testFailoverStateDescription": "None", + "allowedOperations": [ + "RepairReplication", + "UnplannedFailover", + "DisableProtection", + "TestFailover" + ], + "replicationHealth": "Normal", + "failoverHealth": "Normal", + "healthErrors": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/A2APolicy", + "policyFriendlyName": "A2APolicy", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "1752-12-31T19:31:01Z" + }, + "failoverRecoveryPointId": null, + "providerSpecificDetails": { + "instanceType": "A2A" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud2/replicationProtectionContainers/cloud_81224fc6-f326-5d35-96de-fbf51efb3188" + } } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailover.json index 9e15d9e3b0e2..5b4623c5dd28 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailover.json @@ -59,7 +59,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json index 4c8b11143131..a047df751b97 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json @@ -58,7 +58,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UnplannedFailover.json index 11204d5f4eb4..d68d773e5f72 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UnplannedFailover.json @@ -62,7 +62,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Update.json index 10ba7ff6890e..004c696515e6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_Update.json @@ -68,7 +68,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UpdateMobilityService.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UpdateMobilityService.json index 9c73d9640cb3..e619178dff64 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UpdateMobilityService.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectedItems_UpdateMobilityService.json @@ -54,7 +54,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Create.json index 9f6aafc7e058..5911b04c1af4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Create.json @@ -10,7 +10,7 @@ "creationInput": { "properties": { "targetProtectionContainerId": "Microsoft Azure", - "PolicyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", "providerSpecificInput": {} } } @@ -35,7 +35,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Delete.json index 2d3a5f17b7de..56e8ef0ac082 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Delete.json @@ -14,9 +14,7 @@ } }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Purge.json index ebaa5fffaf0f..8cd18142a24d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Purge.json @@ -9,9 +9,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Update.json index d7f3887574ef..40d4e41d1267 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainerMappings_Update.json @@ -1,53 +1,49 @@ { - "parameters":{ - "mappingName":"cloud1protectionprofile1", - "protectionContainerName":"cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", - "fabricName":"cloud1", - "api-version":"2018-07-10", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a", - "updateInput":{ - "properties":{ - "providerSpecificInput":{ - "instanceType":"A2A", - "agentAutoUpdateStatus":"Enabled", - "automationAccountArmId":"/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1" - } - } + "parameters": { + "mappingName": "cloud1protectionprofile1", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "api-version": "2018-07-10", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "updateInput": { + "properties": { + "providerSpecificInput": { + "instanceType": "A2A", + "agentAutoUpdateStatus": "Enabled", + "automationAccountArmId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1" + } } - }, - "responses":{ - "200":{ - "body":{ - "id":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectionContainerMappings/cloud1protectionprofile1", - "name":"cloud1protectionprofile1", - "type":"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings", - "properties":{ - "targetProtectionContainerId":"Microsoft Azure", - "targetProtectionContainerFriendlyName":"Microsoft Azure", - "health":"Normal", - "healthErrorDetails":[ - - ], - "policyId":"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", - "state":"Paired", - "sourceProtectionContainerFriendlyName":"cloud1", - "sourceFabricFriendlyName":"cloud1", - "targetFabricFriendlyName":"Microsoft Azure", - "policyFriendlyName":"protectionprofile1", - "providerSpecificDetails":{ - "instanceType":"A2A", - "agentAutoUpdateStatus":"Enabled", - "automationAccountArmId":"/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1", - "scheduleName":"cloud1protectionprofile1_a85ea38f-62a8-471b-93cc-69b74fd9578c", - "jobScheduleName":"ffd503ec-5f88-4b58-97c8-841466e7aa47" - } - } - } - }, - "202":{ - + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectionContainerMappings/cloud1protectionprofile1", + "name": "cloud1protectionprofile1", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings", + "properties": { + "targetProtectionContainerId": "Microsoft Azure", + "targetProtectionContainerFriendlyName": "Microsoft Azure", + "health": "Normal", + "healthErrorDetails": [], + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "state": "Paired", + "sourceProtectionContainerFriendlyName": "cloud1", + "sourceFabricFriendlyName": "cloud1", + "targetFabricFriendlyName": "Microsoft Azure", + "policyFriendlyName": "protectionprofile1", + "providerSpecificDetails": { + "instanceType": "A2A", + "agentAutoUpdateStatus": "Enabled", + "automationAccountArmId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/automationrg1/providers/Microsoft.Automation/automationAccounts/automationaccount1", + "scheduleName": "cloud1protectionprofile1_a85ea38f-62a8-471b-93cc-69b74fd9578c", + "jobScheduleName": "ffd503ec-5f88-4b58-97c8-841466e7aa47" + } + } } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Create.json index 841fec8f7132..279ed6ceb1f6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Create.json @@ -32,7 +32,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Delete.json index fb64ed3a4e10..e5a087b71218 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json index 973e0d9390a7..1d30c532f726 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_SwitchProtection.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_SwitchProtection.json index f40f3efcf2d8..3aeff17f61d6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_SwitchProtection.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionContainers_SwitchProtection.json @@ -31,7 +31,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Create.json index f3e74efc9d94..fc281aca916c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Create.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Delete.json index 9fff805f29c9..bc4e8273caad 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Delete.json @@ -7,9 +7,7 @@ "recoveryPlanName": "RPtest1" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_FailoverCommit.json index 3cffe220cbf0..be58aeff2e17 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_FailoverCommit.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_FailoverCommit.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_PlannedFailover.json index 8614a61d52a3..b053674439f6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_PlannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_PlannedFailover.json @@ -86,7 +86,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Reprotect.json index 8fe60dcc3c5b..6c7672217ec3 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Reprotect.json @@ -75,7 +75,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailover.json index aab7efcd2b3f..20fa7700f0e1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailover.json @@ -83,7 +83,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json index e5d2f45276f2..b09525f1fb31 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json @@ -80,7 +80,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json index 83956d50ca0c..8f2f93e80bb9 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json @@ -87,7 +87,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Update.json index ee607340acaf..270fc5807804 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryPlans_Update.json @@ -106,7 +106,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Create.json index 7b9d43930a2c..79766f38d37c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Create.json @@ -48,7 +48,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Delete.json index 65ce9cb6b812..294676588a56 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Purge.json index 65ce9cb6b812..294676588a56 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Purge.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_Purge.json @@ -8,9 +8,7 @@ "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json index ef5e62ab662b..f3a3efab2b93 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json @@ -29,7 +29,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Create.json index 29ec7ebe753c..7322edcd4772 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Create.json @@ -24,7 +24,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Delete.json index 698d1a55cfe8..118dccafc404 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationStorageClassificationMappings_Delete.json @@ -9,9 +9,7 @@ "subscriptionId": "9112a37f-0f3e-46ec-9c00-060c6edca071" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Get.json index d22fdb7e6701..07b00de96dcc 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Get.json @@ -12,25 +12,27 @@ "type": "Microsoft.RecoveryServices/vaults/replicationVaultHealth", "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultHealth/Default", "properties": { - "vaultErrors": [], + "vaultErrors": [], "protectedItemsHealth": { "resourceCount": 6, - "issues": [{ - "summaryCode": "10008", - "category": "Replication", - "severity": "Error", - "summaryMessage": "RPO Throttled", - "affectedResourceType": "replicationProtectedItems", - "affectedResourceSubtype": "", - "affectedResourceCorrelationIds": [ - "c183865e-6077-46f2-a3b1-deb0f4f4650a", - "c183865e-6077-46f2-a3b1-ceb0a4c3751e" - ] - }] + "issues": [ + { + "summaryCode": "10008", + "category": "Replication", + "severity": "Error", + "summaryMessage": "RPO Throttled", + "affectedResourceType": "replicationProtectedItems", + "affectedResourceSubtype": "", + "affectedResourceCorrelationIds": [ + "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "c183865e-6077-46f2-a3b1-ceb0a4c3751e" + ] + } + ] }, - "fabricsHealth": { + "fabricsHealth": { "resourceCount": 1, - "issues": [] + "issues": [] } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Refresh.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Refresh.json index 048bd58a8348..475629fa3cf1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Refresh.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultHealth_Refresh.json @@ -12,19 +12,18 @@ "type": "Microsoft.RecoveryServices/vaults/replicationVaultHealth", "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultHealth/Default", "properties": { - "vaultErrors": [ ], + "vaultErrors": [], "protectedItemsHealth": { "resourceCount": 2, - "issues": [ ] + "issues": [] }, "fabricsHealth": { "resourceCount": 1, - "issues": [ ] + "issues": [] } } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Create.json index 6ce2cbe37010..460776435739 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Create.json @@ -14,13 +14,13 @@ "responses": { "200": { "body": { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", - "name": "default", - "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", - "properties": { - "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" - } - } + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", + "name": "default", + "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", + "properties": { + "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" + } + } } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Get.json index fbc985c065cd..687803a9b291 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_Get.json @@ -9,13 +9,13 @@ "responses": { "200": { "body": { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", - "name": "default", - "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", - "properties": { - "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" - } - } + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", + "name": "default", + "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", + "properties": { + "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" + } + } } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_List.json index d021610a4d5b..c2e558a1f95f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationVaultSetting_List.json @@ -8,18 +8,18 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", - "name": "default", - "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", - "properties": { - "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" - } - } - ], - "nextLink": null - } + "value": [ + { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationVaultSettings/default", + "name": "default", + "type": "Microsoft.RecoveryServices/vaults/replicationVaultSettings", + "properties": { + "migrationSolutionId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.Migrate/MigrateProjects/resourceGroupPS1-MigrateProject/Solutions/Servers-Migration-ServerMigration" + } + } + ], + "nextLink": null + } } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Create.json index c15109d5be39..4b00ae43b7c0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Create.json @@ -34,7 +34,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Delete.json index 451d5bb8b342..388adc711f67 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Delete.json @@ -8,9 +8,7 @@ "subscriptionId": "7c943c1b-5122-4097-90c8-861411bdd574" }, "responses": { - "202": { - }, - "204": { - } + "202": {}, + "204": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Update.json index 6d59052fdcb6..0ab0e651fb1c 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationvCenters_Update.json @@ -30,7 +30,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/SupportedOperatingSystems_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/SupportedOperatingSystems_Get.json index e4e48b6a1812..d4d1f930ea9f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/SupportedOperatingSystems_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/SupportedOperatingSystems_Get.json @@ -1,45 +1,45 @@ -{ - "parameters":{ - "api-version":"2018-07-10", - "resourceName":"vault1", - "resourceGroupName":"resourceGroupPS1", - "subscriptionId":"c183865e-6077-46f2-a3b1-deb0f4f4650a" - }, - "responses":{ - "200":{ - "body":{ - "name":"Default", - "type":"Microsoft.RecoveryServices/vaults/replicationSupportedOperatingSystems", - "id":"/Subscriptions/bc403605-c2b0-43dd-abe9-0162124b1ee1/resourceGroups/oneBoxRG/providers/Microsoft.RecoveryServices/vaults/oneBoxRSVault/replicationSupportedOperatingSystems/Default", - "properties":{ - "supportedOsList":[ - { - "instanceType":"A2A", - "supportedOs":[ - { - "osName":"centos", - "osType":"linux", - "osVersions":[ - { - "version":"6.0" - } - ] - }, - { - "osName":"Windows Server 2008 R2 Datacenter", - "osType":"windows", - "osVersions":[ - { - "version":"6.1", - "servicePack":"1" - } - ] - } - ] - } - ] +{ + "parameters": { + "api-version": "2018-07-10", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" + }, + "responses": { + "200": { + "body": { + "name": "Default", + "type": "Microsoft.RecoveryServices/vaults/replicationSupportedOperatingSystems", + "id": "/Subscriptions/bc403605-c2b0-43dd-abe9-0162124b1ee1/resourceGroups/oneBoxRG/providers/Microsoft.RecoveryServices/vaults/oneBoxRSVault/replicationSupportedOperatingSystems/Default", + "properties": { + "supportedOsList": [ + { + "instanceType": "A2A", + "supportedOs": [ + { + "osName": "centos", + "osType": "linux", + "osVersions": [ + { + "version": "6.0" + } + ] + }, + { + "osName": "Windows Server 2008 R2 Datacenter", + "osType": "windows", + "osVersions": [ + { + "version": "6.1", + "servicePack": "1" + } + ] + } + ] } - } + ] + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json index d7e18579ebed..d8a2c12eb4f0 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/TargetComputeSizes_ListByReplicationProtectedItems.json @@ -11,39 +11,39 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Basic_A0", - "name": "Basic_A0", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", - "properties": { - "name": "Basic_A0", - "friendlyName": "Basic_A0", - "cpuCoresCount": 1, - "memoryInGB": 0.75, - "maxDataDiskCount": 1, - "maxNicsCount": 2, - "errors": null, - "highIopsSupported": "NotSupported" - } - }, - { - "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Standard_A0", - "name": "Standard_A0", - "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", - "properties": { - "name": "Standard_A0", - "friendlyName": "Standard_A0", - "cpuCoresCount": 1, - "memoryInGB": 0.75, - "maxDataDiskCount": 1, - "maxNicsCount": 2, - "errors": null, - "highIopsSupported": "NotSupported" - } - } - ], - "nextLink": null + "value": [ + { + "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Basic_A0", + "name": "Basic_A0", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", + "properties": { + "name": "Basic_A0", + "friendlyName": "Basic_A0", + "cpuCoresCount": 1, + "memoryInGB": 0.75, + "maxDataDiskCount": 1, + "maxNicsCount": 2, + "errors": null, + "highIopsSupported": "NotSupported" + } + }, + { + "id": "/Subscriptions/6808dbbc-98c7-431f-a1b1-9580902423b7/resourceGroups/avraiMgDiskVaultRG/providers/Microsoft.RecoveryServices/vaults/avraiMgDiskVault/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/468c912d-b1ab-4ea2-97eb-4b5095155db2/targetComputeSizes/Standard_A0", + "name": "Standard_A0", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/targetComputeSizes", + "properties": { + "name": "Standard_A0", + "friendlyName": "Standard_A0", + "cpuCoresCount": 1, + "memoryInGB": 0.75, + "maxDataDiskCount": 1, + "maxNicsCount": 2, + "errors": null, + "highIopsSupported": "NotSupported" + } + } + ], + "nextLink": null } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json index 1772989e8933..2d995dc049cc 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json @@ -2814,7 +2814,7 @@ } ], "responses": { - "200": { + "200": { "description": "OK", "schema": { "$ref": "#/definitions/ReplicationProtectedItem" @@ -3316,7 +3316,7 @@ } ], "responses": { - "200": { + "200": { "description": "OK", "schema": { "$ref": "#/definitions/ReplicationProtectedItem" @@ -3535,7 +3535,7 @@ } ], "responses": { - "200": { + "200": { "description": "OK", "schema": { "$ref": "#/definitions/ReplicationProtectedItem" @@ -6990,7 +6990,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems": { + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems": { "get": { "tags": [ "SupportedOperatingSystems" @@ -7853,7 +7853,7 @@ }, "x-ms-discriminator-value": "A2A" }, - "A2ARemoveDisksInput": { + "A2ARemoveDisksInput": { "description": "A2A remove disk(s) input.", "type": "object", "allOf": [ @@ -7923,7 +7923,7 @@ "$ref": "#/definitions/A2AProtectedDiskDetails" } }, - "unprotectedDisks": { + "unprotectedDisks": { "description": "The list of unprotected disks.", "type": "array", "items": { @@ -8140,7 +8140,7 @@ }, "x-ms-discriminator-value": "A2A" }, - "A2AUnprotectedDiskDetails": { + "A2AUnprotectedDiskDetails": { "description": "A2A unprotected disk details.", "type": "object", "properties": { @@ -8151,7 +8151,7 @@ } } }, - "A2AUpdateContainerMappingInput": { + "A2AUpdateContainerMappingInput": { "description": "A2A update protection container mapping.", "type": "object", "allOf": [ @@ -8276,7 +8276,7 @@ } } }, - "AddDisksInput": { + "AddDisksInput": { "description": "Input for add disk(s) operation.", "type": "object", "properties": { @@ -9789,12 +9789,12 @@ "description": "ID of the entity.", "type": "string" }, - "errorId": { + "errorId": { "description": "The health error unique id.", "type": "string" }, "customerResolvability": { - "description": "Value indicating whether the health error is customer resolvable.", + "description": "Value indicating whether the health error is customer resolvable.", "enum": [ "Allowed", "NotAllowed" @@ -13361,7 +13361,6 @@ }, "productType": { "description": "Product type.", - "type": "string" }, "osEdition": { @@ -14935,7 +14934,7 @@ } } }, - "RemoveDisksInput": { + "RemoveDisksInput": { "description": "Input for remove disk(s) operation.", "type": "object", "properties": { @@ -15226,7 +15225,7 @@ }, "discriminator": "instanceType" }, - "ResolveHealthError": { + "ResolveHealthError": { "description": "Resolve health errors input properties.", "type": "object", "properties": { From 865dd242f83be5f0eabbbd706bf61be49d3fb5b3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 12:57:41 -0400 Subject: [PATCH 003/495] chore: jsonfmt machinelearning (#6272) Ran `jsonfmt -w "specification/machinelearning/**/*.json"` --- .../2016-05-01-preview/commitmentPlans.json | 6 +- .../2016-05-01-preview/webservices.json | 8 +- .../2016-04-01/examples/CreateWorkspace.json | 74 +- .../2016-04-01/examples/DeleteWorkspace.json | 22 +- .../2016-04-01/examples/GetWorkspace.json | 58 +- .../examples/ListWorkspaceKeys.json | 28 +- .../examples/ListWorkspaceResourceGroup.json | 58 +- .../2016-04-01/examples/ListWorkspaces.json | 58 +- .../examples/ResyncStorageKeys.json | 20 +- .../2016-04-01/examples/UpdateWorkspace.json | 72 +- .../examples/createRegionalProperties.json | 28 +- .../2017-01-01/examples/deleteWebService.json | 34 +- .../2017-01-01/examples/getWebService.json | 373 +++--- .../examples/getWebServiceKeys.json | 31 +- .../getWebServicesByResourceGroup.json | 158 +-- .../getWebServicesBySubscriptionId.json | 156 +-- .../2017-01-01/examples/patchWebService.json | 390 +++--- .../2017-01-01/examples/putWebService.json | 1072 ++++++++--------- .../stable/2017-01-01/webservices.json | 18 +- 19 files changed, 1332 insertions(+), 1332 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json index 5bedfd0262ad..fa260850e575 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json @@ -296,7 +296,7 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/SubscriptionIdParameter" }, { "name": "$skipToken", @@ -365,7 +365,7 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/ResourceGroupNameParameter" @@ -1042,4 +1042,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json index a9c65d0acf1f..7a063bcec74d 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json @@ -397,7 +397,7 @@ }, "keys": { "$ref": "#/definitions/WebServiceKeys", - "description": "Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations." + "description": "Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations." }, "readOnly": { "type": "boolean", @@ -409,8 +409,8 @@ "readOnly": true }, "exposeSampleData": { - "type": "boolean", - "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." + "type": "boolean", + "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." }, "realtimeConfiguration": { "$ref": "#/definitions/RealtimeConfiguration", @@ -1037,4 +1037,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json index 280aa8832c01..75b4eb2b34f4 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json @@ -1,40 +1,40 @@ { + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace", "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace", - "parameters": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "West Europe", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } - } - } + "tags": { + "tagKey1": "TagValue1" + }, + "location": "West Europe", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } + } + } + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/DeleteWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/DeleteWorkspace.json index 58a1ae212e30..6ddf574b2c6a 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/DeleteWorkspace.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/DeleteWorkspace.json @@ -1,12 +1,12 @@ { - "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/GetWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/GetWorkspace.json index 25ea1432099c..cca848048426 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/GetWorkspace.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/GetWorkspace.json @@ -1,31 +1,31 @@ { - "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace" - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } - } - } + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceKeys.json index 46d5f342754f..747f43f286dd 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceKeys.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceKeys.json @@ -1,16 +1,16 @@ { - "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace" - }, - "responses": { - "200": { - "body": { - "primaryToken": "cZdmqKBYLEPcPo7dsfdfefeSlKpnxybJ86KSQGLarmLik2MYMxHijwsDIZ+d1mGtYJz3mlI5AEnxu8QqHcUjSA==", - "secondaryToken": "NPtbk8ksmLvsasasonFeTjw/k7QLz/SEdKN8+SyzKRcPzOVTQcR6C0O1fwmlELnCsYLjs+13yzdJ+4+Lxo3LtZ2g==" - } - } + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "primaryToken": "cZdmqKBYLEPcPo7dsfdfefeSlKpnxybJ86KSQGLarmLik2MYMxHijwsDIZ+d1mGtYJz3mlI5AEnxu8QqHcUjSA==", + "secondaryToken": "NPtbk8ksmLvsasasonFeTjw/k7QLz/SEdKN8+SyzKRcPzOVTQcR6C0O1fwmlELnCsYLjs+13yzdJ+4+Lxo3LtZ2g==" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceResourceGroup.json index 21cd2caa330b..4463585d34b5 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceResourceGroup.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaceResourceGroup.json @@ -9,39 +9,39 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:16:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:16:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaces.json index 1c2965b97eaa..bc9b8b73cfd3 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaces.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ListWorkspaces.json @@ -8,39 +8,39 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:16:37.0707808Z", - "keyVaultIdentifierId": "kvid" - } + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:16:37.0707808Z", + "keyVaultIdentifierId": "kvid" + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ResyncStorageKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ResyncStorageKeys.json index 8679dda45daf..311cdf530655 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ResyncStorageKeys.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/ResyncStorageKeys.json @@ -1,11 +1,11 @@ { - "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/UpdateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/UpdateWorkspace.json index f0c1bea42cea..9f1ad75437f9 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/UpdateWorkspace.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/UpdateWorkspace.json @@ -1,39 +1,39 @@ { + "parameters": { + "api-version": "2016-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace", "parameters": { - "api-version": "2016-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace", - "parameters": { - "tags": { - "tagKey1": "TagValue1" - }, - "properties": { - "keyVaultIdentifierId": "kvidnew" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearning/workspaces", - "location": "East US", - "properties": { - "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", - "ownerEmail": "abc@microsoft.com", - "workspaceType": "PaidStandard", - "workspaceState": "Enabled", - "workspaceId": "00000000-1111-2222-3333-444444444444", - "studioEndpoint": "https://studioapi.azureml.net", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "keyVaultIdentifierId": "kvidnew" - } - } - } + "tags": { + "tagKey1": "TagValue1" + }, + "properties": { + "keyVaultIdentifierId": "kvidnew" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearning/workspaces", + "location": "East US", + "properties": { + "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage", + "ownerEmail": "abc@microsoft.com", + "workspaceType": "PaidStandard", + "workspaceState": "Enabled", + "workspaceId": "00000000-1111-2222-3333-444444444444", + "studioEndpoint": "https://studioapi.azureml.net", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "keyVaultIdentifierId": "kvidnew" + } + } + } + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/createRegionalProperties.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/createRegionalProperties.json index cb84c1920c23..b4b1dbe0722c 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/createRegionalProperties.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/createRegionalProperties.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName", - "region": "Southeast Asia" - }, - "responses": { - "202": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName", + "region": "Southeast Asia" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/deleteWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/deleteWebService.json index e8d409ed782c..f5d2376398d0 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/deleteWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/deleteWebService.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName" + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } }, - "responses": { - "202": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } + "204": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json index 09d8014d4706..95274f6d6373 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json @@ -1,194 +1,193 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName" - }, - "responses": { - "200": { - "headers": { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "Web Service Title", + "description": "Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "machineLearningWorkspace": { + "id": "workspaceId" + }, + "packageType": "Graph", + "assets": { + "asset1": { + "name": "Execute R Script", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-1", + "credentials": "" + } }, - "body": { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, + "asset2": { + "name": "Import Data", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-2", + "credentials": "" + } + } + }, + "parameters": {}, + "input": { + "title": "", + "description": "", + "type": "object", + "properties": { + "input1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "column_name": { + "type": "String", + "x-ms-isnullable": false + } + } + } + } + }, + "output": { + "title": "", + "description": "", + "type": "object", + "properties": { + "output1": { + "title": "", + "description": "", + "type": "object", "properties": { - "title": "Web Service Title", - "description": "Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "machineLearningWorkspace": { - "id": "workspaceId" - }, - "packageType": "Graph", - "assets": { - "asset1": { - "name": "Execute R Script", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-1", - "credentials": "" - } - }, - "asset2": { - "name": "Import Data", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-2", - "credentials": "" - } - } - }, - "parameters": {}, - "input": { - "title": "", - "description": "", - "type": "object", - "properties": { - "input1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "column_name": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "output": { - "title": "", - "description": "", - "type": "object", - "properties": { - "output1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "age": { - "type": "Integer", - "format": "Int32", - "x-ms-isnullable": true - }, - "workclass": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "package": { - "Nodes": { - "node1": { - "AssetId": "asset1", - "Parameters": { - "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" - }, - "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" - } - } - }, - "node2": { - "AssetId": "asset2", - "Parameters": { - "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" - }, - "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" - }, - "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" - }, - "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" - } - } - }, - "node3": { - "InputId": "input1" - }, - "node4": { - "OutputId": "output1" - } - }, - "Edges": [ - { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" - }, - { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" - }, - { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" - } - ], - "GraphParameters": {} - }, - "exampleRequest": { - "inputs": { - "input1": [ - [ - "age" - ], - [ - "workclass" - ], - [ - "fnlwgt" - ], - [ - "education" - ], - [ - "education-num" - ] - ] - }, - "globalParameters": null - } + "age": { + "type": "Integer", + "format": "Int32", + "x-ms-isnullable": true + }, + "workclass": { + "type": "String", + "x-ms-isnullable": false + } } + } } + }, + "package": { + "Nodes": { + "node1": { + "AssetId": "asset1", + "Parameters": { + "R Script": { + "Value": "The R Script", + "CertificateThumbprint": "" + }, + "R Version": { + "Value": "CRAN R 3.1.0", + "CertificateThumbprint": "" + } + } + }, + "node2": { + "AssetId": "asset2", + "Parameters": { + "Please Specify Data Source": { + "Value": "AzureBlobStorage", + "CertificateThumbprint": "" + }, + "Please Specify Authentication Type": { + "Value": "Account", + "CertificateThumbprint": "" + }, + "Account Name": { + "Value": "accountName", + "CertificateThumbprint": "" + }, + "Account Key": { + "Value": "Encrypted Key", + "CertificateThumbprint": "TheThumbprint" + } + } + }, + "node3": { + "InputId": "input1" + }, + "node4": { + "OutputId": "output1" + } + }, + "Edges": [ + { + "SourceNodeId": "node2", + "SourcePortId": "Results dataset", + "TargetNodeId": "node1", + "TargetPortId": "Dataset2" + }, + { + "SourceNodeId": "node3", + "TargetNodeId": "node1", + "TargetPortId": "Dataset1" + }, + { + "SourceNodeId": "node1", + "SourcePortId": "Result Dataset", + "TargetNodeId": "node4" + } + ], + "GraphParameters": {} + }, + "exampleRequest": { + "inputs": { + "input1": [ + [ + "age" + ], + [ + "workclass" + ], + [ + "fnlwgt" + ], + [ + "education" + ], + [ + "education-num" + ] + ] + }, + "globalParameters": null + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServiceKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServiceKeys.json index 099ced8ac2e0..65e00a62d9e7 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServiceKeys.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServiceKeys.json @@ -1,18 +1,17 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName" - }, - "responses": { - "200": { - "headers": { - }, - "body": { - "primary": "The Primary key", - "secondary": "The Secondary key" - } - } + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "primary": "The Primary key", + "secondary": "The Secondary key" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesByResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesByResourceGroup.json index 5f061287ff77..26eb49938580 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesByResourceGroup.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesByResourceGroup.json @@ -1,83 +1,83 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "value": [ + { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" }, - "body": { - "value": [ - { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "title": "New Web Service Title", - "description": "New Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "packageType": "Graph" - } - }, - { - "id": "TheWebServiceId2", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "title": "New Web Service Title2", - "description": "New Web Service Description2", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "packageType": "Graph" - } - } - ], - "nextLink": "https://the.next/link" + "properties": { + "title": "New Web Service Title", + "description": "New Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "packageType": "Graph" } - } + }, + { + "id": "TheWebServiceId2", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "New Web Service Title2", + "description": "New Web Service Description2", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "packageType": "Graph" + } + } + ], + "nextLink": "https://the.next/link" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesBySubscriptionId.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesBySubscriptionId.json index 20719a9bafb9..9fb51c8407c4 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesBySubscriptionId.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebServicesBySubscriptionId.json @@ -1,82 +1,82 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" + "parameters": { + "subscriptionId": "subscription-id", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "value": [ + { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" }, - "body": { - "value": [ - { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "title": "New Web Service Title", - "description": "New Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "packageType": "Graph" - } - }, - { - "id": "TheWebServiceId2", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "title": "New Web Service Title2", - "description": "New Web Service Description2", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "packageType": "Graph" - } - } - ], - "nextLink": "https://the.next/link" + "properties": { + "title": "New Web Service Title", + "description": "New Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "packageType": "Graph" } - } + }, + { + "id": "TheWebServiceId2", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "New Web Service Title2", + "description": "New Web Service Description2", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "packageType": "Graph" + } + } + ], + "nextLink": "https://the.next/link" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json index 5758775b74bf..f39ac13175df 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json @@ -1,203 +1,203 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName", - "patchPayload": { - "location": "West US", + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName", + "patchPayload": { + "location": "West US", + "properties": { + "title": "New Web Service Title", + "description": "New Web Service Description", + "packageType": "Graph" + } + } + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "New Web Service Title", + "description": "New Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "machineLearningWorkspace": { + "id": "workspaceId" + }, + "packageType": "Graph", + "assets": { + "asset1": { + "name": "Execute R Script", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-1", + "credentials": "" + } + }, + "asset2": { + "name": "Import Data", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-2", + "credentials": "" + } + } + }, + "parameters": {}, + "input": { + "title": "", + "description": "", + "type": "object", "properties": { - "title": "New Web Service Title", - "description": "New Web Service Description", - "packageType": "Graph" + "input1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "column_name": { + "type": "String", + "x-ms-isnullable": false + } + } + } } - } - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - }, - "body": { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, + }, + "output": { + "title": "", + "description": "", + "type": "object", + "properties": { + "output1": { + "title": "", + "description": "", + "type": "object", "properties": { - "title": "New Web Service Title", - "description": "New Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "machineLearningWorkspace": { - "id": "workspaceId" - }, - "packageType": "Graph", - "assets": { - "asset1": { - "name": "Execute R Script", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-1", - "credentials": "" - } - }, - "asset2": { - "name": "Import Data", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-2", - "credentials": "" - } - } - }, - "parameters": {}, - "input": { - "title": "", - "description": "", - "type": "object", - "properties": { - "input1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "column_name": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "output": { - "title": "", - "description": "", - "type": "object", - "properties": { - "output1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "age": { - "type": "Integer", - "format": "Int32", - "x-ms-isnullable": true - }, - "workclass": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "package": { - "Nodes": { - "node1": { - "AssetId": "asset1", - "Parameters": { - "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" - }, - "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" - } - } - }, - "node2": { - "AssetId": "asset2", - "Parameters": { - "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" - }, - "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" - }, - "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" - }, - "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" - } - } - }, - "node3": { - "InputId": "input1" - }, - "node4": { - "OutputId": "output1" - } - }, - "Edges": [ - { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" - }, - { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" - }, - { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" - } - ], - "GraphParameters": {} - }, - "exampleRequest": { - "inputs": { - "input1": [ - [ - "age" - ], - [ - "workclass" - ], - [ - "fnlwgt" - ], - [ - "education" - ], - [ - "education-num" - ] - ] - }, - "globalParameters": null - } + "age": { + "type": "Integer", + "format": "Int32", + "x-ms-isnullable": true + }, + "workclass": { + "type": "String", + "x-ms-isnullable": false + } } + } } + }, + "package": { + "Nodes": { + "node1": { + "AssetId": "asset1", + "Parameters": { + "R Script": { + "Value": "The R Script", + "CertificateThumbprint": "" + }, + "R Version": { + "Value": "CRAN R 3.1.0", + "CertificateThumbprint": "" + } + } + }, + "node2": { + "AssetId": "asset2", + "Parameters": { + "Please Specify Data Source": { + "Value": "AzureBlobStorage", + "CertificateThumbprint": "" + }, + "Please Specify Authentication Type": { + "Value": "Account", + "CertificateThumbprint": "" + }, + "Account Name": { + "Value": "accountName", + "CertificateThumbprint": "" + }, + "Account Key": { + "Value": "Encrypted Key", + "CertificateThumbprint": "TheThumbprint" + } + } + }, + "node3": { + "InputId": "input1" + }, + "node4": { + "OutputId": "output1" + } + }, + "Edges": [ + { + "SourceNodeId": "node2", + "SourcePortId": "Results dataset", + "TargetNodeId": "node1", + "TargetPortId": "Dataset2" + }, + { + "SourceNodeId": "node3", + "TargetNodeId": "node1", + "TargetPortId": "Dataset1" + }, + { + "SourceNodeId": "node1", + "SourcePortId": "Result Dataset", + "TargetNodeId": "node4" + } + ], + "GraphParameters": {} + }, + "exampleRequest": { + "inputs": { + "input1": [ + [ + "age" + ], + [ + "workclass" + ], + [ + "fnlwgt" + ], + [ + "education" + ], + [ + "education-num" + ] + ] + }, + "globalParameters": null + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json index dad017d2d2f7..a780004fa25b 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json @@ -1,556 +1,556 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "webServiceName": "TargetWebServiceName", - "createOrUpdatePayload": { - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "title": "Web Service Title", - "description": "Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name", - "key": "Storage_Key" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "machineLearningWorkspace": { - "id": "workspaceId" + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "webServiceName": "TargetWebServiceName", + "createOrUpdatePayload": { + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "Web Service Title", + "description": "Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name", + "key": "Storage_Key" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "machineLearningWorkspace": { + "id": "workspaceId" + }, + "packageType": "Graph", + "assets": { + "asset1": { + "name": "Execute R Script", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-1", + "credentials": "" + } + }, + "asset2": { + "name": "Import Data", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-2", + "credentials": "" + } + } + }, + "parameters": {}, + "input": { + "title": "", + "description": "", + "type": "object", + "properties": { + "input1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "column_name": { + "type": "String", + "x-ms-isnullable": false + } + } + } + } + }, + "output": { + "title": "", + "description": "", + "type": "object", + "properties": { + "output1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "age": { + "type": "Integer", + "format": "Int32", + "x-ms-isnullable": true }, - "packageType": "Graph", - "assets": { - "asset1": { - "name": "Execute R Script", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-1", - "credentials": "" - } - }, - "asset2": { - "name": "Import Data", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-2", - "credentials": "" - } - } + "workclass": { + "type": "String", + "x-ms-isnullable": false + } + } + } + } + }, + "package": { + "Nodes": { + "node1": { + "AssetId": "asset1", + "Parameters": { + "R Script": { + "Value": "The R Script", + "CertificateThumbprint": "" }, - "parameters": {}, - "input": { - "title": "", - "description": "", - "type": "object", - "properties": { - "input1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "column_name": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } + "R Version": { + "Value": "CRAN R 3.1.0", + "CertificateThumbprint": "" + } + } + }, + "node2": { + "AssetId": "asset2", + "Parameters": { + "Please Specify Data Source": { + "Value": "AzureBlobStorage", + "CertificateThumbprint": "" }, - "output": { - "title": "", - "description": "", - "type": "object", - "properties": { - "output1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "age": { - "type": "Integer", - "format": "Int32", - "x-ms-isnullable": true - }, - "workclass": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } + "Please Specify Authentication Type": { + "Value": "Account", + "CertificateThumbprint": "" }, - "package": { - "Nodes": { - "node1": { - "AssetId": "asset1", - "Parameters": { - "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" - }, - "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" - } - } - }, - "node2": { - "AssetId": "asset2", - "Parameters": { - "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" - }, - "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" - }, - "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" - }, - "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" - } - } - }, - "node3": { - "InputId": "input1" - }, - "node4": { - "OutputId": "output1" - } - }, - "Edges": [ - { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" - }, - { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" - }, - { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" - } - ], - "GraphParameters": {} + "Account Name": { + "Value": "accountName", + "CertificateThumbprint": "" }, - "exampleRequest": { - "inputs": { - "input1": [ - [ - "age" - ], - [ - "workclass" - ], - [ - "fnlwgt" - ], - [ - "education" - ], - [ - "education-num" - ] - ] - }, - "globalParameters": null + "Account Key": { + "Value": "Encrypted Key", + "CertificateThumbprint": "TheThumbprint" } + } + }, + "node3": { + "InputId": "input1" + }, + "node4": { + "OutputId": "output1" } + }, + "Edges": [ + { + "SourceNodeId": "node2", + "SourcePortId": "Results dataset", + "TargetNodeId": "node1", + "TargetPortId": "Dataset2" + }, + { + "SourceNodeId": "node3", + "TargetNodeId": "node1", + "TargetPortId": "Dataset1" + }, + { + "SourceNodeId": "node1", + "SourcePortId": "Result Dataset", + "TargetNodeId": "node4" + } + ], + "GraphParameters": {} + }, + "exampleRequest": { + "inputs": { + "input1": [ + [ + "age" + ], + [ + "workclass" + ], + [ + "fnlwgt" + ], + [ + "education" + ], + [ + "education-num" + ] + ] + }, + "globalParameters": null } - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" + } + } + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "title": "Web Service Title", + "description": "Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T02:02:02Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "machineLearningWorkspace": { + "id": "workspaceId" + }, + "packageType": "Graph", + "assets": { + "asset1": { + "name": "Execute R Script", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-1", + "credentials": "" + } }, - "body": { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, + "asset2": { + "name": "Import Data", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-2", + "credentials": "" + } + } + }, + "parameters": {}, + "input": { + "title": "", + "description": "", + "type": "object", + "properties": { + "input1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "column_name": { + "type": "String", + "x-ms-isnullable": false + } + } + } + } + }, + "output": { + "title": "", + "description": "", + "type": "object", + "properties": { + "output1": { + "title": "", + "description": "", + "type": "object", "properties": { - "title": "Web Service Title", - "description": "Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T02:02:02Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "machineLearningWorkspace": { - "id": "workspaceId" - }, - "packageType": "Graph", - "assets": { - "asset1": { - "name": "Execute R Script", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-1", - "credentials": "" - } - }, - "asset2": { - "name": "Import Data", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-2", - "credentials": "" - } - } - }, - "parameters": {}, - "input": { - "title": "", - "description": "", - "type": "object", - "properties": { - "input1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "column_name": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "output": { - "title": "", - "description": "", - "type": "object", - "properties": { - "output1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "age": { - "type": "Integer", - "format": "Int32", - "x-ms-isnullable": true - }, - "workclass": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "package": { - "Nodes": { - "node1": { - "AssetId": "asset1", - "Parameters": { - "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" - }, - "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" - } - } - }, - "node2": { - "AssetId": "asset2", - "Parameters": { - "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" - }, - "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" - }, - "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" - }, - "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" - } - } - }, - "node3": { - "InputId": "input1" - }, - "node4": { - "OutputId": "output1" - } - }, - "Edges": [ - { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" - }, - { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" - }, - { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" - } - ], - "GraphParameters": {} - }, - "exampleRequest": { - "inputs": { - "input1": [ - [ - "age" - ], - [ - "workclass" - ], - [ - "fnlwgt" - ], - [ - "education" - ], - [ - "education-num" - ] - ] - }, - "globalParameters": null - } + "age": { + "type": "Integer", + "format": "Int32", + "x-ms-isnullable": true + }, + "workclass": { + "type": "String", + "x-ms-isnullable": false + } } + } } + }, + "package": { + "Nodes": { + "node1": { + "AssetId": "asset1", + "Parameters": { + "R Script": { + "Value": "The R Script", + "CertificateThumbprint": "" + }, + "R Version": { + "Value": "CRAN R 3.1.0", + "CertificateThumbprint": "" + } + } + }, + "node2": { + "AssetId": "asset2", + "Parameters": { + "Please Specify Data Source": { + "Value": "AzureBlobStorage", + "CertificateThumbprint": "" + }, + "Please Specify Authentication Type": { + "Value": "Account", + "CertificateThumbprint": "" + }, + "Account Name": { + "Value": "accountName", + "CertificateThumbprint": "" + }, + "Account Key": { + "Value": "Encrypted Key", + "CertificateThumbprint": "TheThumbprint" + } + } + }, + "node3": { + "InputId": "input1" + }, + "node4": { + "OutputId": "output1" + } + }, + "Edges": [ + { + "SourceNodeId": "node2", + "SourcePortId": "Results dataset", + "TargetNodeId": "node1", + "TargetPortId": "Dataset2" + }, + { + "SourceNodeId": "node3", + "TargetNodeId": "node1", + "TargetPortId": "Dataset1" + }, + { + "SourceNodeId": "node1", + "SourcePortId": "Result Dataset", + "TargetNodeId": "node4" + } + ], + "GraphParameters": {} + }, + "exampleRequest": { + "inputs": { + "input1": [ + [ + "age" + ], + [ + "workclass" + ], + [ + "fnlwgt" + ], + [ + "education" + ], + [ + "education-num" + ] + ] + }, + "globalParameters": null + } + } + } + }, + "201": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "TheWebServiceId", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" }, - "201": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" + "properties": { + "title": "Web Service Title", + "description": "Web Service Description", + "readOnly": false, + "exposeSampleData": true, + "storageAccount": { + "name": "Storage_Name" + }, + "commitmentPlan": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" + }, + "createdOn": "2017-01-01T01:01:01Z", + "modifiedOn": "2017-01-01T01:01:01Z", + "provisioningState": "Provisioning", + "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", + "realtimeConfiguration": { + "maxConcurrentCalls": 4 + }, + "diagnostics": { + "level": "None" + }, + "payloadsInBlobStorage": false, + "machineLearningWorkspace": { + "id": "workspaceId" + }, + "packageType": "Graph", + "assets": { + "asset1": { + "name": "Execute R Script", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-1", + "credentials": "" + } }, - "body": { - "id": "TheWebServiceId", - "location": "West US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, + "asset2": { + "name": "Import Data", + "type": "Module", + "locationInfo": { + "uri": "aml://module/moduleId-2", + "credentials": "" + } + } + }, + "parameters": {}, + "input": { + "title": "", + "description": "", + "type": "object", + "properties": { + "input1": { + "title": "", + "description": "", + "type": "object", "properties": { - "title": "Web Service Title", - "description": "Web Service Description", - "readOnly": false, - "exposeSampleData": true, - "storageAccount": { - "name": "Storage_Name" - }, - "commitmentPlan": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName" - }, - "createdOn": "2017-01-01T01:01:01Z", - "modifiedOn": "2017-01-01T01:01:01Z", - "provisioningState": "Provisioning", - "swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json", - "realtimeConfiguration": { - "maxConcurrentCalls": 4 - }, - "diagnostics": { - "level": "None" - }, - "payloadsInBlobStorage": false, - "machineLearningWorkspace": { - "id": "workspaceId" - }, - "packageType": "Graph", - "assets": { - "asset1": { - "name": "Execute R Script", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-1", - "credentials": "" - } - }, - "asset2": { - "name": "Import Data", - "type": "Module", - "locationInfo": { - "uri": "aml://module/moduleId-2", - "credentials": "" - } - } - }, - "parameters": {}, - "input": { - "title": "", - "description": "", - "type": "object", - "properties": { - "input1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "column_name": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "output": { - "title": "", - "description": "", - "type": "object", - "properties": { - "output1": { - "title": "", - "description": "", - "type": "object", - "properties": { - "age": { - "type": "Integer", - "format": "Int32", - "x-ms-isnullable": true - }, - "workclass": { - "type": "String", - "x-ms-isnullable": false - } - } - } - } - }, - "package": { - "Nodes": { - "node1": { - "AssetId": "asset1", - "Parameters": { - "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" - }, - "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" - } - } - }, - "node2": { - "AssetId": "asset2", - "Parameters": { - "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" - }, - "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" - }, - "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" - }, - "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" - } - } - }, - "node3": { - "InputId": "input1" - }, - "node4": { - "OutputId": "output1" - } - }, - "Edges": [ - { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" - }, - { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" - }, - { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" - } - ], - "GraphParameters": {} - }, - "exampleRequest": { - "inputs": { - "input1": [ - [ - "age" - ], - [ - "workclass" - ], - [ - "fnlwgt" - ], - [ - "education" - ], - [ - "education-num" - ] - ] - }, - "globalParameters": null - } + "column_name": { + "type": "String", + "x-ms-isnullable": false + } } + } } + }, + "output": { + "title": "", + "description": "", + "type": "object", + "properties": { + "output1": { + "title": "", + "description": "", + "type": "object", + "properties": { + "age": { + "type": "Integer", + "format": "Int32", + "x-ms-isnullable": true + }, + "workclass": { + "type": "String", + "x-ms-isnullable": false + } + } + } + } + }, + "package": { + "Nodes": { + "node1": { + "AssetId": "asset1", + "Parameters": { + "R Script": { + "Value": "The R Script", + "CertificateThumbprint": "" + }, + "R Version": { + "Value": "CRAN R 3.1.0", + "CertificateThumbprint": "" + } + } + }, + "node2": { + "AssetId": "asset2", + "Parameters": { + "Please Specify Data Source": { + "Value": "AzureBlobStorage", + "CertificateThumbprint": "" + }, + "Please Specify Authentication Type": { + "Value": "Account", + "CertificateThumbprint": "" + }, + "Account Name": { + "Value": "accountName", + "CertificateThumbprint": "" + }, + "Account Key": { + "Value": "Encrypted Key", + "CertificateThumbprint": "TheThumbprint" + } + } + }, + "node3": { + "InputId": "input1" + }, + "node4": { + "OutputId": "output1" + } + }, + "Edges": [ + { + "SourceNodeId": "node2", + "SourcePortId": "Results dataset", + "TargetNodeId": "node1", + "TargetPortId": "Dataset2" + }, + { + "SourceNodeId": "node3", + "TargetNodeId": "node1", + "TargetPortId": "Dataset1" + }, + { + "SourceNodeId": "node1", + "SourcePortId": "Result Dataset", + "TargetNodeId": "node4" + } + ], + "GraphParameters": {} + }, + "exampleRequest": { + "inputs": { + "input1": [ + [ + "age" + ], + [ + "workclass" + ], + [ + "fnlwgt" + ], + [ + "education" + ], + [ + "education-num" + ] + ] + }, + "globalParameters": null + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/webservices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/webservices.json index 3061906d2b5c..26a02e11a29d 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/webservices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/webservices.json @@ -20,9 +20,11 @@ "get": { "description": "Lists all the available REST API operations.", "operationId": "Operations_List", - "parameters": [{ - "$ref": "#/parameters/APIVersionParameter" - }], + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -208,7 +210,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob": { "post": { "tags": [ "WebServices" @@ -494,7 +496,7 @@ "properties" ] }, - "PatchedWebService": { + "PatchedWebService": { "type": "object", "description": "Instance of an Patched Azure ML web service resource.", "allOf": [ @@ -554,7 +556,7 @@ }, "keys": { "$ref": "#/definitions/WebServiceKeys", - "description": "Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations." + "description": "Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations." }, "readOnly": { "type": "boolean", @@ -566,8 +568,8 @@ "readOnly": true }, "exposeSampleData": { - "type": "boolean", - "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." + "type": "boolean", + "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." }, "realtimeConfiguration": { "$ref": "#/definitions/RealtimeConfiguration", From b975140a43a0cf290d5b222f38a8a8c4c92b85ad Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 12 Jun 2019 11:42:40 -0700 Subject: [PATCH 004/495] Fix List containers (#6298) --- .../Microsoft.Storage/stable/2019-04-01/blob.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json index 3cdd724dcb68..d78534f3aa55 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json @@ -152,6 +152,9 @@ "$ref": "#/definitions/ListContainerItems" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, From b578d07fe1eda3c60a287ec736da43e3da4baab6 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 12 Jun 2019 14:23:25 -0700 Subject: [PATCH 005/495] added tag for package 2018-06-preview (#6295) --- .../apimanagement/resource-manager/readme.java.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/apimanagement/resource-manager/readme.java.md b/specification/apimanagement/resource-manager/readme.java.md index f870830c078e..2eabfbdc2bae 100644 --- a/specification/apimanagement/resource-manager/readme.java.md +++ b/specification/apimanagement/resource-manager/readme.java.md @@ -17,6 +17,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement ``` yaml $(java) && $(multiapi) batch: - tag: package-2019-01 + - tag: package-2018-06-preview - tag: package-2018-01 - tag: package-2017-03 - tag: package-2016-10 @@ -36,6 +37,19 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-2018-06-preview and java + +These settings apply only when `--tag=package-2018-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.apimanagement.v2018_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2018_06_01_preview +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2018-01 and java These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. From 0fd9ca442b05efd4a478a2f72eaab13c98be394a Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 12 Jun 2019 14:46:58 -0700 Subject: [PATCH 006/495] ACR with Autorest for Python 4 (#6300) --- specification/containerregistry/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index c6a7135c84c8..0b21b2c74848 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -137,8 +137,11 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python + autorest_options: + use: "@microsoft.azure/autorest.python@4.0.70" after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry + - python ./scripts/trim_aio.py ./sdk/containerregistry/azure-mgmt-containerregistry - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js From ebc53cf2c982e5163c45a8e44be4731f26e3e861 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 18:20:06 -0400 Subject: [PATCH 007/495] chore: jsonfmt applicationinsights (#6305) Ran `jsonfmt -w "specification/applicationinsights/**/*.json"` --- .../2015-05-01/componentWorkItemConfigs_API.json | 16 ++++++++-------- .../examples/WorkItemConfigCreate.json | 2 +- .../examples/WorkItemConfigDelete.json | 2 +- .../2015-05-01/examples/WorkItemConfigGet.json | 14 +++++++------- .../examples/WorkItemConfigUpdate.json | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json index 0767f24e563d..5eb133b41a9e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json @@ -173,7 +173,7 @@ "responses": { "200": { "description": "The work item configuration that was successfully deleted.", - "schema": { } + "schema": {} } }, "x-ms-examples": { @@ -207,16 +207,16 @@ "description": "successful operation", "schema": { "$ref": "#/definitions/WorkItemConfiguration" - } - } - }, - "x-ms-examples": { - "WorkItemConfigurationsGetDefault": { - "$ref": "./examples/WorkItemConfigGet.json" } } + }, + "x-ms-examples": { + "WorkItemConfigurationsGetDefault": { + "$ref": "./examples/WorkItemConfigGet.json" + } + } }, - "patch" : { + "patch": { "description": "Update a work item configuration for an Application Insights component.", "operationId": "WorkItemConfigurations_UpdateItem", "parameters": [ diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigCreate.json index 7ac6f85ef5e2..306927f7a422 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigCreate.json @@ -25,4 +25,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json index 23bca180c1de..0742113a565c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json @@ -8,7 +8,7 @@ }, "responses": { "200": { - "body": { } + "body": {} } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json index 113066f65184..29ebaa16c45a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json @@ -4,17 +4,17 @@ "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component", - "workItemConfigId" : "Visual Studio Team Services" + "workItemConfigId": "Visual Studio Team Services" }, "responses": { "200": { "body": { - "ConnectorId":"d334e2a4-6733-488e-8645-a9fdc1694f41", - "IsDefault":true, - "ConfigDisplayName":"Visual Studio Team Services", - "Id":"Visual Studio Team Services", - "ConfigProperties":"{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" + "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", + "IsDefault": true, + "ConfigDisplayName": "Visual Studio Team Services", + "Id": "Visual Studio Team Services", + "ConfigProperties": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"ConfigurationType\":\"Standard\",\"WorkItemType\":\"Bug\",\"AreaPath\":\"todeletefirst\",\"AssignedTo\":\"\"}" } } } -} \ No newline at end of file +} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json index 7240cc900859..9b262e56fb36 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} From 9be418c58be3e14ea150db48b76e417267f257b8 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 12 Jun 2019 15:20:38 -0700 Subject: [PATCH 008/495] ADHybridHealthServices: added package tag and java readme (#6290) * added package tag and java readme * Updated readme to point to java readme --- .../resource-manager/readme.java.md | 40 +++++++++++++++++++ .../resource-manager/readme.md | 19 +-------- 2 files changed, 41 insertions(+), 18 deletions(-) create mode 100644 specification/adhybridhealthservice/resource-manager/readme.java.md diff --git a/specification/adhybridhealthservice/resource-manager/readme.java.md b/specification/adhybridhealthservice/resource-manager/readme.java.md new file mode 100644 index 000000000000..5587866e446c --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/readme.java.md @@ -0,0 +1,40 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.adhybridhealthservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice +directive: + - rename-operation: + from: addsService_getMetrics + to: addsServices_getMetrics + - rename-operation: + from: service_getMetrics + to: services_getMetrics +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2014-01 +``` + +### Tag: package-2014-01 and java + +These settings apply only when `--tag=package-2014-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2014-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.adhybridhealthservice.v2014_01_01 + output-folder: $(azure-libraries-for-java-folder)/adhybridhealthservice/resource-manager/v2014_01_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/adhybridhealthservice/resource-manager/readme.md b/specification/adhybridhealthservice/resource-manager/readme.md index a12bc816d247..c7d95580ebd7 100644 --- a/specification/adhybridhealthservice/resource-manager/readme.md +++ b/specification/adhybridhealthservice/resource-manager/readme.md @@ -92,21 +92,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.adhybridhealthservice -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice -directive: - - rename-operation: - from: addsService_getMetrics - to: addsServices_getMetrics - - rename-operation: - from: service_getMetrics - to: services_getMetrics -``` +See configuration in [readme.java.md](./readme.java.md) From a7485ff46b46542711e584f7a351453687eca75a Mon Sep 17 00:00:00 2001 From: sushantsingh Date: Wed, 12 Jun 2019 16:09:09 -0700 Subject: [PATCH 009/495] Swagger API for Azure CDN WebApplicationFirewallPolicy resource (#5885) * Create cdnwebapplicationfirewall.json * Create CdnWafCreateOrUpdate * Create CdnWafListPolicies.json * Create CdnWafPolicyGet.json * Update cdnwebapplicationfirewall.json * Create WafListManagedRuleSets.json * Create WafListPolicies.json * Create WafPolicyGet.json * Update WafListPolicies.json * Create WafPolicyCreateOrUpdate.json * Create WafPolicyDelete.json * Delete CdnWafCreateOrUpdate * Delete CdnWafListPolicies.json * Delete CdnWafPolicyGet.json * Create cdn.json * Create readme.md * Update cdn.json * Update cdnwebapplicationfirewall.json * Update cdn.json * Update WafListManagedRuleSets.json * Update cdnwebapplicationfirewall.json * Create Endpoints_Create.json * Update Endpoints_Get.json * Create Endpoints_Get.json * Update Endpoints_Get.json * Create Endpoints_Update.json * Update cdn.json * Added examples which shows default behaviour * Update Endpoints_Get.json * Update Endpoints_Update.json * Update Endpoints_ListByProfile.json * Update Endpoints_Start.json * Update Endpoints_Stop.json * Update cdnwebapplicationfirewall.json * Delete cdn.json * Delete Endpoints_Create.json * Delete Endpoints_Get.json * Delete Endpoints_Update.json * Update cdnwebapplicationfirewall.json * Update cdnwebapplicationfirewall.json * Update cdn.json * Update Endpoints_Get.json * Update Endpoints_Create.json * Update Endpoints_ListByProfile.json * Update Endpoints_Update.json * Update Endpoints_Start.json * Update Endpoints_Stop.json * Update cdn.json * Update Endpoints_Create.json * Update Endpoints_Get.json * Update Endpoints_ListByProfile.json * Update Endpoints_Start.json * Update Endpoints_Stop.json * Update Endpoints_Update.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update Endpoints_Create.json * Update WafListPolicies.json * Update WafListManagedRuleSets.json * Update WafPolicyCreateOrUpdate.json * Update WafPolicyGet.json * Added new cdn version 2016-06-15 * Update WafListPolicies.json * Update WafPolicyGet.json * Delete readme.md * Update readme.md * Update readme.md * Fix model validation failures * Update readme.md * Update cdnwebapplicationfirewall.json * Update cdnwebapplicationfirewall.json * Update WafPolicyCreateOrUpdate.json * Update cdnwebapplicationfirewall.json * Update cdnwebapplicationfirewall.json * Update readme.go.md * Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15/cdnwebapplicationfirewall.json Co-Authored-By: sushantsingh * add int max mins where they make sense * Update WafPolicyDelete.json * Added Patch for tags * Provisioning state as enum * Add preview suffix to the version * Update readme.md * Update cdnwebapplicationfirewall.json * Create WafPatchPolicy.json * Update cdnwebapplicationfirewall.json * Moved everything to the preview version * Update readme.md * Update WafPolicyCreateOrUpdate.json * Update cdnwebapplicationfirewall.json * Update Profiles_Delete.json * Update Endpoints_Delete.json * Update Endpoints_PurgeContent.json * Update Endpoints_LoadContent.json * Update CustomDomains_Delete.json * Update CustomDomains_DisableCustomHttps.json * Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json * Update CustomDomains_EnableCustomHttpsUsingBYOC.json * Update cdnwebapplicationfirewall.json * Update readme.go.md * Update cdnwebapplicationfirewall.json * Update cdnwebapplicationfirewall.json * Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json Co-Authored-By: Nick Schonning * Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json * Update CustomDomains_EnableCustomHttpsUsingBYOC.json * Update CustomDomains_EnableCustomHttpsUsingBYOC.json * Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json * Update CustomDomains_EnableCustomHttpsUsingBYOC.json * Update CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json * Update specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json Co-Authored-By: Nick Schonning --- .../preview/2019-06-15-preview/cdn.json | 4353 +++++++++++++++++ .../cdnwebapplicationfirewall.json | 921 ++++ .../examples/CheckNameAvailability.json | 18 + ...CheckNameAvailabilityWithSubscription.json | 19 + .../examples/CustomDomains_Create.json | 62 + .../examples/CustomDomains_Delete.json | 29 + .../CustomDomains_DisableCustomHttps.json | 28 + ...tomDomains_EnableCustomHttpsUsingBYOC.json | 42 + ...CustomHttpsUsingCDNManagedCertificate.json | 36 + .../examples/CustomDomains_Get.json | 27 + .../CustomDomains_ListByEndpoint.json | 30 + .../examples/EdgeNodes_List.json | 107 + .../examples/Endpoints_Create.json | 377 ++ .../examples/Endpoints_Delete.json | 13 + .../examples/Endpoints_Get.json | 48 + .../examples/Endpoints_ListByProfile.json | 49 + .../examples/Endpoints_ListResourceUsage.json | 29 + .../examples/Endpoints_LoadContent.json | 16 + .../examples/Endpoints_PurgeContent.json | 16 + .../examples/Endpoints_Start.json | 85 + .../examples/Endpoints_Stop.json | 85 + .../examples/Endpoints_Update.json | 99 + .../Endpoints_ValidateCustomDomain.json | 21 + .../examples/Operations_List.json | 93 + .../examples/Origins_Get.json | 27 + .../examples/Origins_ListByEndpoint.json | 30 + .../examples/Origins_Update.json | 48 + .../examples/Profiles_Create.json | 64 + .../examples/Profiles_Delete.json | 12 + .../examples/Profiles_GenerateSsoUri.json | 15 + .../examples/Profiles_Get.json | 26 + .../examples/Profiles_List.json | 42 + .../Profiles_ListByResourceGroup.json | 43 + .../examples/Profiles_ListResourceUsage.json | 22 + ...ofiles_ListSupportedOptimizationTypes.json | 18 + .../examples/Profiles_Update.json | 51 + .../examples/ResourceUsage_List.json | 20 + .../examples/ValidateProbe.json | 18 + .../examples/WafListManagedRuleSets.json | 53 + .../examples/WafListPolicies.json | 235 + .../examples/WafPatchPolicy.json | 238 + .../examples/WafPolicyCreateOrUpdate.json | 437 ++ .../examples/WafPolicyDelete.json | 12 + .../examples/WafPolicyGet.json | 122 + .../cdn/resource-manager/readme.go.md | 10 + specification/cdn/resource-manager/readme.md | 19 +- 46 files changed, 8164 insertions(+), 1 deletion(-) create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Delete.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Delete.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json new file mode 100644 index 000000000000..952e81ffc4ab --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json @@ -0,0 +1,4353 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-15-preview", + "title": "CdnManagementClient", + "description": "Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles": { + "get": { + "tags": [ + "Profiles" + ], + "description": "Lists all of the CDN profiles within an Azure subscription.", + "operationId": "Profiles_List", + "x-ms-examples": { + "Profiles_List": { + "$ref": "./examples/Profiles_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProfileListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles": { + "get": { + "tags": [ + "Profiles" + ], + "description": "Lists all of the CDN profiles within a resource group.", + "operationId": "Profiles_ListByResourceGroup", + "x-ms-examples": { + "Profiles_ListByResourceGroup": { + "$ref": "./examples/Profiles_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProfileListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}": { + "get": { + "tags": [ + "Profiles" + ], + "description": "Gets a CDN profile with the specified profile name under the specified subscription and resource group.", + "operationId": "Profiles_Get", + "x-ms-examples": { + "Profiles_Get": { + "$ref": "./examples/Profiles_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Profiles" + ], + "description": "Creates a new CDN profile with a profile name under the specified subscription and resource group.", + "operationId": "Profiles_Create", + "x-ms-examples": { + "Profiles_Create": { + "$ref": "./examples/Profiles_Create.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "description": "Profile properties needed to create a new profile.", + "in": "body", + "name": "profile", + "required": true, + "schema": { + "$ref": "#/definitions/Profile" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new profile has been created.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Profiles" + ], + "description": "Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.", + "operationId": "Profiles_Update", + "x-ms-examples": { + "Profiles_Update": { + "$ref": "./examples/Profiles_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "profileUpdateParameters", + "in": "body", + "description": "Profile properties needed to update an existing profile.", + "required": true, + "schema": { + "$ref": "#/definitions/ProfileUpdateParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Profiles" + ], + "description": "Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.", + "operationId": "Profiles_Delete", + "x-ms-examples": { + "Profiles_Delete": { + "$ref": "./examples/Profiles_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the profile was not found." + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri": { + "post": { + "tags": [ + "Profiles" + ], + "description": "Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.", + "operationId": "Profiles_GenerateSsoUri", + "x-ms-examples": { + "Profiles_GenerateSsoUri": { + "$ref": "./examples/Profiles_GenerateSsoUri.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/SsoUri" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getSupportedOptimizationTypes": { + "post": { + "tags": [ + "Profiles" + ], + "description": "Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.", + "operationId": "Profiles_ListSupportedOptimizationTypes", + "x-ms-examples": { + "Profiles_ListSupportedOptimizationTypes": { + "$ref": "./examples/Profiles_ListSupportedOptimizationTypes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/SupportedOptimizationTypesListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkResourceUsage": { + "post": { + "tags": [ + "Profiles" + ], + "description": "Checks the quota and actual usage of endpoints under the given CDN profile.", + "operationId": "Profiles_ListResourceUsage", + "x-ms-examples": { + "Profiles_ListResourceUsage": { + "$ref": "./examples/Profiles_ListResourceUsage.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceUsageListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints": { + "get": { + "tags": [ + "Endpoints" + ], + "description": "Lists existing CDN endpoints.", + "operationId": "Endpoints_ListByProfile", + "x-ms-examples": { + "Endpoints_ListByProfile": { + "$ref": "./examples/Endpoints_ListByProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/EndpointListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}": { + "get": { + "tags": [ + "Endpoints" + ], + "description": "Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.", + "operationId": "Endpoints_Get", + "x-ms-examples": { + "Endpoints_Get": { + "$ref": "./examples/Endpoints_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Endpoints" + ], + "description": "Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.", + "operationId": "Endpoints_Create", + "x-ms-examples": { + "Endpoints_Create": { + "$ref": "./examples/Endpoints_Create.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "endpoint", + "in": "body", + "description": "Endpoint properties", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new endpoint has been created.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Endpoints" + ], + "description": "Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags and Origin HostHeader can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update custom domains, use the Update Custom Domain operation.", + "operationId": "Endpoints_Update", + "x-ms-examples": { + "Endpoints_Update": { + "$ref": "./examples/Endpoints_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "endpointUpdateProperties", + "in": "body", + "description": "Endpoint update properties", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointUpdateParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "CDN error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Endpoints" + ], + "description": "Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.", + "operationId": "Endpoints_Delete", + "x-ms-examples": { + "Endpoints_Delete": { + "$ref": "./examples/Endpoints_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the endpoint was not found." + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Starts an existing CDN endpoint that is on a stopped state.", + "operationId": "Endpoints_Start", + "x-ms-examples": { + "Endpoints_Start": { + "$ref": "./examples/Endpoints_Start.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Stops an existing running CDN endpoint.", + "operationId": "Endpoints_Stop", + "x-ms-examples": { + "Endpoints_Stop": { + "$ref": "./examples/Endpoints_Stop.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Removes a content from CDN.", + "operationId": "Endpoints_PurgeContent", + "x-ms-examples": { + "Endpoints_PurgeContent": { + "$ref": "./examples/Endpoints_PurgeContent.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "contentFilePaths", + "in": "body", + "description": "The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.", + "required": true, + "schema": { + "$ref": "#/definitions/PurgeParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Pre-loads a content to CDN. Available for Verizon Profiles.", + "operationId": "Endpoints_LoadContent", + "x-ms-examples": { + "Endpoints_LoadContent": { + "$ref": "./examples/Endpoints_LoadContent.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "contentFilePaths", + "in": "body", + "description": "The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file ", + "required": true, + "schema": { + "$ref": "#/definitions/LoadParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.", + "operationId": "Endpoints_ValidateCustomDomain", + "x-ms-examples": { + "Endpoints_ValidateCustomDomain": { + "$ref": "./examples/Endpoints_ValidateCustomDomain.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainProperties", + "in": "body", + "description": "Custom domain to be validated.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateCustomDomainInput" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateCustomDomainOutput" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage": { + "post": { + "tags": [ + "Endpoints" + ], + "description": "Checks the quota and usage of geo filters and custom domains under the given endpoint.", + "operationId": "Endpoints_ListResourceUsage", + "x-ms-examples": { + "Endpoints_ListResourceUsage": { + "$ref": "./examples/Endpoints_ListResourceUsage.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceUsageListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins": { + "get": { + "tags": [ + "Origins" + ], + "description": "Lists all of the existing origins within an endpoint.", + "operationId": "Origins_ListByEndpoint", + "x-ms-examples": { + "Origins_ListByEndpoint": { + "$ref": "./examples/Origins_ListByEndpoint.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OriginListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}": { + "get": { + "tags": [ + "Origins" + ], + "description": "Gets an existing origin within an endpoint.", + "operationId": "Origins_Get", + "x-ms-examples": { + "Origins_Get": { + "$ref": "./examples/Origins_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "originName", + "in": "path", + "description": "Name of the origin which is unique within the endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Origin" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Origins" + ], + "description": "Updates an existing origin within an endpoint.", + "operationId": "Origins_Update", + "x-ms-examples": { + "Origins_Update": { + "$ref": "./examples/Origins_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "originName", + "in": "path", + "description": "Name of the origin which is unique within the endpoint.", + "required": true, + "type": "string" + }, + { + "name": "originUpdateProperties", + "in": "body", + "description": "Origin properties", + "required": true, + "schema": { + "$ref": "#/definitions/OriginUpdateParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Origin" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Origin" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains": { + "get": { + "tags": [ + "CustomDomains" + ], + "description": "Lists all of the existing custom domains within an endpoint.", + "operationId": "CustomDomains_ListByEndpoint", + "x-ms-examples": { + "CustomDomains_ListByEndpoint": { + "$ref": "./examples/CustomDomains_ListByEndpoint.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CustomDomainListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}": { + "get": { + "tags": [ + "CustomDomains" + ], + "description": "Gets an existing custom domain within an endpoint.", + "operationId": "CustomDomains_Get", + "x-ms-examples": { + "CustomDomains_Get": { + "$ref": "./examples/CustomDomains_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainName", + "in": "path", + "description": "Name of the custom domain within an endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "CustomDomains" + ], + "description": "Creates a new custom domain within an endpoint.", + "operationId": "CustomDomains_Create", + "x-ms-examples": { + "CustomDomains_Create": { + "$ref": "./examples/CustomDomains_Create.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainName", + "in": "path", + "description": "Name of the custom domain within an endpoint.", + "required": true, + "type": "string" + }, + { + "name": "customDomainProperties", + "in": "body", + "description": "Properties required to create a new custom domain.", + "required": true, + "schema": { + "$ref": "#/definitions/CustomDomainParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new custom domain has been created.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "CustomDomains" + ], + "description": "Deletes an existing custom domain within an endpoint.", + "operationId": "CustomDomains_Delete", + "x-ms-examples": { + "CustomDomains_Delete": { + "$ref": "./examples/CustomDomains_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainName", + "in": "path", + "description": "Name of the custom domain within an endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "204": { + "description": "No Content. The request has been accepted but the custom domain was not found" + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps": { + "post": { + "tags": [ + "CustomDomains" + ], + "description": "Disable https delivery of the custom domain.", + "operationId": "CustomDomains_DisableCustomHttps", + "x-ms-examples": { + "CustomDomains_DisableCustomHttps": { + "$ref": "./examples/CustomDomains_DisableCustomHttps.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainName", + "in": "path", + "description": "Name of the custom domain within an endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps": { + "post": { + "tags": [ + "CustomDomains" + ], + "description": "Enable https delivery of the custom domain.", + "operationId": "CustomDomains_EnableCustomHttps", + "x-ms-examples": { + "CustomDomains_EnableCustomHttpsUsingYourOwnCertificate": { + "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingBYOC.json" + }, + "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate" :{ + "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "Name of the CDN profile which is unique within the resource group.", + "required": true, + "type": "string" + }, + { + "name": "endpointName", + "in": "path", + "description": "Name of the endpoint under the profile which is unique globally.", + "required": true, + "type": "string" + }, + { + "name": "customDomainName", + "in": "path", + "description": "Name of the custom domain within an endpoint.", + "required": true, + "type": "string" + }, + { + "name": "customDomainHttpsParameters", + "in": "body", + "description": "The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.", + "required": false, + "schema": { + "$ref": "#/definitions/CustomDomainHttpsParameters" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CustomDomain" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Cdn/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "description": "Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.", + "operationId": "CheckNameAvailability", + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailabilityWithSubscription" + ], + "description": "Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.", + "operationId": "CheckNameAvailabilityWithSubscription", + "x-ms-examples": { + "CheckNameAvailabilityWithSubscription": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" + } + }, + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe": { + "post": { + "tags": [ + "ValidateProbe" + ], + "description": "Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.", + "operationId": "ValidateProbe", + "x-ms-examples": { + "ValidateProbe": { + "$ref": "./examples/ValidateProbe.json" + } + }, + "parameters": [ + { + "name": "validateProbeInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateProbeInput" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateProbeOutput" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage": { + "post": { + "tags": [ + "CheckResourceUsage" + ], + "description": "Check the quota and actual usage of the CDN profiles under the given subscription.", + "operationId": "ResourceUsage_List", + "x-ms-examples": { + "ResourceUsage_List": { + "$ref": "./examples/ResourceUsage_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceUsageListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Cdn/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available CDN REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationsListResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Cdn/edgenodes": { + "get": { + "tags": [ + "Edgenodes" + ], + "description": "Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.", + "operationId": "EdgeNodes_List", + "x-ms-examples": { + "EdgeNodes_List": { + "$ref": "./examples/EdgeNodes_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/EdgenodeResult" + } + }, + "default": { + "description": "CDN error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Profile": { + "description": "CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "sku": { + "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.", + "$ref": "#/definitions/Sku" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProfileProperties" + } + }, + "required": [ + "sku" + ] + }, + "ProfileProperties": { + "description": "The JSON object that contains the properties required to create a profile.", + "properties": { + "resourceState": { + "description": "Resource status of the profile.", + "readOnly": true, + "enum": [ + "Creating", + "Active", + "Deleting", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ProfileResourceState", + "modelAsString": true + } + }, + "provisioningState": { + "readOnly": true, + "description": "Provisioning status of the profile.", + "type": "string" + } + } + }, + "ProfileListResult": { + "description": "Result of the request to list profiles. It contains a list of profile objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Profile" + }, + "description": "List of CDN profiles within a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of profile objects if there are any." + } + } + }, + "ProfileUpdateParameters": { + "type": "object", + "description": "Properties required to update a profile.", + "properties": { + "tags": { + "description": "Profile tags", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "SsoUri": { + "description": "The URI required to login to the supplemental portal from the Azure portal.", + "type": "object", + "properties": { + "ssoUriValue": { + "description": "The URI used to login to the supplemental portal.", + "readOnly": true, + "type": "string" + } + } + }, + "SupportedOptimizationTypesListResult": { + "description": "The result of the GetSupportedOptimizationTypes API", + "type": "object", + "properties": { + "supportedOptimizationTypes": { + "description": "Supported optimization types for a profile.", + "readOnly": true, + "items": { + "$ref": "#/definitions/OptimizationType" + }, + "type": "array" + } + } + }, + "Endpoint": { + "description": "CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EndpointProperties" + } + } + }, + "EndpointProperties": { + "description": "The JSON object that contains the properties required to create an endpoint.", + "required": [ + "origins" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointPropertiesUpdateParameters" + } + ], + "properties": { + "hostName": { + "description": "The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net", + "type": "string", + "readOnly": true + }, + "origins": { + "description": "The source of the content being delivered via CDN.", + "type": "array", + "items": { + "$ref": "#/definitions/DeepCreatedOrigin" + } + }, + "resourceState": { + "description": "Resource status of the endpoint.", + "readOnly": true, + "enum": [ + "Creating", + "Deleting", + "Running", + "Starting", + "Stopped", + "Stopping" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointResourceState", + "modelAsString": true + } + }, + "provisioningState": { + "readOnly": true, + "description": "Provisioning status of the endpoint.", + "type": "string" + } + } + }, + "EndpointListResult": { + "description": "Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Endpoint" + }, + "description": "List of CDN endpoints within a profile" + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of endpoint objects if there is any." + } + } + }, + "EndpointUpdateParameters": { + "type": "object", + "description": "Properties required to create or update an endpoint.", + "properties": { + "tags": { + "description": "Endpoint tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EndpointPropertiesUpdateParameters" + } + }, + "x-ms-azure-resource": true + }, + "EndpointPropertiesUpdateParameters": { + "description": "The JSON object containing endpoint update parameters.", + "properties": { + "originHostHeader": { + "description": "The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.", + "type": "string" + }, + "originPath": { + "description": "A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.", + "type": "string" + }, + "contentTypesToCompress": { + "description": "List of content types on which compression applies. The value should be a valid MIME type.", + "type": "array", + "items": { + "type": "string" + } + }, + "isCompressionEnabled": { + "description": "Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.", + "type": "boolean" + }, + "isHttpAllowed": { + "description": "Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.", + "type": "boolean" + }, + "isHttpsAllowed": { + "description": "Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.", + "type": "boolean" + }, + "queryStringCachingBehavior": { + "description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.", + "$ref": "#/definitions/QueryStringCachingBehavior" + }, + "optimizationType": { + "description": "Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.", + "$ref": "#/definitions/OptimizationType" + }, + "probePath": { + "description": "Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path.", + "type": "string" + }, + "geoFilters": { + "description": "List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/", + "type": "array", + "items": { + "$ref": "#/definitions/GeoFilter" + } + }, + "deliveryPolicy": { + "description": "A policy that specifies the delivery rules to be used for an endpoint.", + "type": "object", + "required": [ + "rules" + ], + "properties":{ + "description": { + "description": "User-friendly description of the policy.", + "type": "string" + }, + "rules": { + "description": "A list of the delivery rules.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryRule" + } + } + } + }, + "webApplicationFirewallPolicyLink": { + "description": "Defines the Web Application Firewall policy for the endpoint (if applicable)", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + } + } + } + }, + "DeliveryRule": { + "description": "A rule that specifies a set of actions and conditions", + "type": "object", + "required": [ + "name", + "order", + "actions" + ], + "properties": { + "name": { + "description": "Name of the rule", + "type": "string" + }, + "order": { + "description": "The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.", + "type": "integer" + }, + "conditions": { + "description": "A list of conditions that must be matched for the actions to be executed", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryRuleCondition" + } + }, + "actions": { + "description": "A list of actions that are executed when all the conditions of a rule are satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryRuleAction" + } + } + } + }, + "DeliveryRuleCondition":{ + "description": "A condition for the delivery rule.", + "discriminator": "name", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The name of the condition for the delivery rule.", + "type": "string", + "enum": [ + "RemoteAddress", + "RequestMethod", + "QueryString", + "PostArgs", + "RequestUri", + "RequestHeader", + "RequestBody", + "RequestScheme", + "UrlPath", + "UrlFileExtension", + "UrlFileName", + "IsDevice" + ], + "x-ms-enum": { + "name": "MatchVariable", + "modelAsString": true + } + } + } + }, + "DeliveryRuleRemoteAddressCondition": { + "description": "Defines the RemoteAddress condition for the delivery rule.", + "x-ms-discriminator-value": "RemoteAddress", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RemoteAddressMatchConditionParameters" + } + } + }, + "DeliveryRuleRequestMethodCondition": { + "description": "Defines the RequestMethod condition for the delivery rule.", + "x-ms-discriminator-value": "RequestMethod", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RequestMethodMatchConditionParameters" + } + } + }, + "DeliveryRuleQueryStringCondition": { + "description": "Defines the QueryString condition for the delivery rule.", + "x-ms-discriminator-value": "QueryString", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/QueryStringMatchConditionParameters" + } + } + }, + "DeliveryRulePostArgsCondition": { + "description": "Defines the PostArgs condition for the delivery rule.", + "x-ms-discriminator-value": "PostArgs", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/PostArgsMatchConditionParameters" + } + } + }, + "DeliveryRuleRequestUriCondition": { + "description": "Defines the RequestUri condition for the delivery rule.", + "x-ms-discriminator-value": "RequestUri", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RequestUriMatchConditionParameters" + } + } + }, + "DeliveryRuleRequestHeaderCondition": { + "description": "Defines the RequestHeader condition for the delivery rule.", + "x-ms-discriminator-value": "RequestHeader", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RequestHeaderMatchConditionParameters" + } + } + }, + "DeliveryRuleRequestBodyCondition": { + "description": "Defines the RequestBody condition for the delivery rule.", + "x-ms-discriminator-value": "RequestBody", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RequestBodyMatchConditionParameters" + } + } + }, + "DeliveryRuleRequestSchemeCondition": { + "description": "Defines the RequestScheme condition for the delivery rule.", + "x-ms-discriminator-value": "RequestScheme", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/RequestSchemeMatchConditionParameters" + } + } + }, + "DeliveryRuleUrlPathCondition": { + "description": "Defines the UrlPath condition for the delivery rule.", + "x-ms-discriminator-value": "UrlPath", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/UrlPathMatchConditionParameters" + } + } + }, + "DeliveryRuleUrlFileExtensionCondition": { + "description": "Defines the UrlFileExtension condition for the delivery rule.", + "x-ms-discriminator-value": "UrlFileExtension", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/UrlFileExtensionMatchConditionParameters" + } + } + }, + "DeliveryRuleUrlFileNameCondition": { + "description": "Defines the UrlFileName condition for the delivery rule.", + "x-ms-discriminator-value": "UrlFileName", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/UrlFileNameMatchConditionParameters" + } + } + }, + "DeliveryRuleIsDeviceCondition": { + "description": "Defines the IsDevice condition for the delivery rule.", + "x-ms-discriminator-value": "IsDevice", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleCondition" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the condition.", + "$ref": "#/definitions/IsDeviceMatchConditionParameters" + } + } + }, + "RemoteAddressMatchConditionParameters": { + "description": "Defines the parameters for RemoteAddress match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "IPMatch", + "GeoMatch" + ], + "x-ms-enum": { + "name": "RemoteAddressOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "RequestMethodMatchConditionParameters": { + "description": "Defines the parameters for RequestMethod match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Equal" + ], + "x-ms-enum": { + "name": "RequestMethodOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule","type": "array", + "items": { + "type": "string", + "enum": [ + "GET", + "HEAD", + "POST", + "PUT", + "DELETE", + "OPTIONS", + "TRACE" + ] + } + } + } + }, + "QueryStringMatchConditionParameters": { + "description": "Defines the parameters for QueryString match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "QueryStringOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "PostArgsMatchConditionParameters": { + "description": "Defines the parameters for PostArgs match conditions", + "required": [ + "operator", + "matchValues", + "selector", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters" + ] + }, + "selector": { + "description": "Name of PostArg to be matched", + "type": "string" + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "PostArgsOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "RequestUriMatchConditionParameters": { + "description": "Defines the parameters for RequestUri match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "RequestUriOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "RequestHeaderMatchConditionParameters": { + "description": "Defines the parameters for RequestHeader match conditions", + "required": [ + "operator", + "matchValues", + "selector", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters" + ] + }, + "selector": { + "description": "Name of Header to be matched", + "type": "string" + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "RequestHeaderOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "RequestBodyMatchConditionParameters": { + "description": "Defines the parameters for RequestBody match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "RequestBodyOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "RequestSchemeMatchConditionParameters": { + "description": "Defines the parameters for RequestScheme match conditions ", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Equal" + ] + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + } + } + } + }, + "UrlPathMatchConditionParameters": { + "description": "Defines the parameters for UrlPath match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual", + "Wildcard" + ], + "x-ms-enum": { + "name": "UrlPathOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "UrlFileExtensionMatchConditionParameters": { + "description": "Defines the parameters for UrlFileExtension match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "UrlFileExtensionOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "UrlFileNameMatchConditionParameters": { + "description": "Defines the parameters for UrlFilename match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "Equal", + "Contains", + "BeginsWith", + "EndsWith", + "LessThan", + "LessThanOrEqual", + "GreaterThan", + "GreaterThanOrEqual" + ], + "x-ms-enum": { + "name": "UrlFileNameOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "IsDeviceMatchConditionParameters": { + "description": "Defines the parameters for IsDevice match conditions", + "required": [ + "operator", + "matchValues", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters" + ] + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Equal" + ], + "x-ms-enum": { + "name": "IsDeviceOperator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if this is negate condition or not", + "type": "boolean" + }, + "matchValues": { + "description": "The match value for the condition of the delivery rule", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Mobile", + "Desktop" + ] + } + }, + "transforms": { + "description": "List of transforms", + "type": "array", + "items": { + "$ref": "#/definitions/transform" + } + } + } + }, + "DeliveryRuleAction": { + "description": "An action for the delivery rule.", + "discriminator": "name", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The name of the action for the delivery rule.", + "type": "string", + "enum": [ + "CacheExpiration", + "ModifyRequestHeader", + "ModifyResponseHeader", + "UrlRedirect" + ], + "x-ms-enum": { + "name": "DeliveryRuleAction", + "modelAsString": true + } + } + } + }, + "UrlRedirectAction": { + "description": "Defines the url redirect action for the delivery rule.", + "x-ms-discriminator-value": "UrlRedirect", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required":[ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/UrlRedirectActionParameters" + } + } + }, + "UrlRedirectActionParameters": { + "description": "Defines the parameters for the url redirect action.", + "required": [ + "redirectType", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters" + ] + }, + "redirectType": { + "description": "The redirect type the rule will use when redirecting traffic.", + "type": "string", + "enum": [ + "Moved", + "Found", + "TemporaryRedirect", + "PermanentRedirect" + ], + "x-ms-enum": { + "name": "RedirectType", + "modelAsString": true + } + }, + "destinationProtocol":{ + "description": "Protocol to use for the redirect. The default value is MatchRequest", + "type": "string", + "enum": [ + "MatchRequest", + "Http", + "Https" + ], + "x-ms-enum": { + "name": "DestinationProtocol", + "modelAsString": true + } + }, + "customPath": { + "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.", + "type": "string" + }, + "customHostname":{ + "description": "Host to redirect. Leave empty to use use the incoming host as the destination host.", + "type": "string" + }, + "customQueryString":{ + "description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them.", + "type": "string" + }, + "customFragment": { + "type": "string", + "description": "Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #." + } + } + }, + "DeliveryRuleRequestHeaderAction": { + "description": "Defines the request header action for the delivery rule.", + "x-ms-discriminator-value": "ModifyRequestHeader", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required":[ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/HeaderActionParameters" + } + } + }, + "DeliveryRuleResponseHeaderAction": { + "description": "Defines the response header action for the delivery rule.", + "x-ms-discriminator-value": "ModifyResponseHeader", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required":[ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/HeaderActionParameters" + } + } + }, + "HeaderActionParameters": { + "description": "Defines the parameters for the request header action.", + "required": [ + "headerAction", + "headerName", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters" + ] + }, + "headerAction": { + "description": "Action to perform", + "type": "string", + "enum": [ + "Append", + "Overwrite", + "Delete" + ], + "x-ms-enum": { + "name": "HeaderAction", + "modelAsString": true + } + }, + "headerName": { + "description": "Name of the header to modify", + "type": "string" + }, + "value": { + "description": "Value for the specified action", + "type": "string" + } + } + }, + "DeliveryRuleCacheExpirationAction": { + "description": "Defines the cache expiration action for the delivery rule.", + "x-ms-discriminator-value": "CacheExpiration", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required":[ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/CacheExpirationActionParameters" + } + } + }, + "CacheExpirationActionParameters": { + "description": "Defines the parameters for the cache expiration action.", + "required": [ + "cacheBehavior", + "cacheType", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters" + ] + }, + "cacheBehavior": { + "description": "Caching behavior for the requests", + "type": "string", + "enum": [ + "BypassCache", + "Override", + "SetIfMissing" + ], + "x-ms-enum": { + "name": "cacheBehavior", + "modelAsString": true + } + }, + "cacheType": { + "description": "The level at which the content needs to be cached.", + "type": "string", + "enum": [ + "All" + ], + "x-ms-enum": { + "name": "CacheType", + "modelAsString": true + } + }, + "cacheDuration": { + "description": "The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss", + "type": "string", + "x-nullable": true + } + } + }, + "transform": { + "description": "Describes what transforms are applied before matching", + "type": "string", + "enum": [ + "Lowercase", + "Uppercase" + ], + "x-ms-enum": { + "name": "transform", + "modelAsString": true + } + }, + "DeepCreatedOrigin": { + "description": "The main origin of CDN content which is added when creating a CDN endpoint.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Origin name", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DeepCreatedOriginProperties" + } + }, + "x-ms-azure-resource": true + }, + "DeepCreatedOriginProperties": { + "description": "Properties of the origin created on the CDN endpoint.", + "type": "object", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.", + "type": "string" + }, + "httpPort": { + "description": "The value of the HTTP port. Must be between 1 and 65535", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "httpsPort": { + "description": "The value of the HTTPS port. Must be between 1 and 65535", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + } + }, + "x-ms-azure-resource": true + }, + "GeoFilter": { + "description": "Rules defining user's geo access within a CDN endpoint.", + "type": "object", + "required": [ + "relativePath", + "action", + "countryCodes" + ], + "properties": { + "relativePath": { + "description": "Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)", + "type": "string" + }, + "action": { + "description": "Action of the geo filter, i.e. allow or block access.", + "enum": [ + "Block", + "Allow" + ], + "type": "string", + "x-ms-enum": { + "name": "GeoFilterActions", + "modelAsString": false + } + }, + "countryCodes": { + "description": "Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PurgeParameters": { + "type": "object", + "description": "Parameters required for content purge.", + "required": [ + "contentPaths" + ], + "properties": { + "contentPaths": { + "description": "The path to the content to be purged. Can describe a file path or a wild card directory.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "LoadParameters": { + "type": "object", + "description": "Parameters required for content load.", + "required": [ + "contentPaths" + ], + "properties": { + "contentPaths": { + "description": "The path to the content to be loaded. Path should be a relative file URL of the origin.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Origin": { + "description": "CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OriginProperties" + } + } + }, + "OriginProperties": { + "description": "The JSON object that contains the properties of the origin.", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.", + "type": "string" + }, + "httpPort": { + "description": "The value of the HTTP port. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "httpsPort": { + "description": "The value of the https port. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "resourceState": { + "description": "Resource status of the origin.", + "readOnly": true, + "enum": [ + "Creating", + "Active", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "OriginResourceState", + "modelAsString": true + } + }, + "provisioningState": { + "readOnly": true, + "description": "Provisioning status of the origin.", + "type": "string" + } + } + }, + "OriginUpdateParameters": { + "type": "object", + "description": "Origin properties needed for origin creation or update.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OriginPropertiesParameters" + } + }, + "x-ms-azure-resource": true + }, + "OriginPropertiesParameters": { + "description": "The JSON object that contains the properties of the origin.", + "properties": { + "hostName": { + "description": "The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.", + "type": "string" + }, + "httpPort": { + "description": "The value of the HTTP port. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "httpsPort": { + "description": "The value of the HTTPS port. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + } + } + }, + "OriginListResult": { + "description": "Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Origin" + }, + "description": "List of CDN origins within an endpoint" + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of origin objects if there are any." + } + } + }, + "CustomDomain": { + "description": "Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CustomDomainProperties" + } + } + }, + "CustomDomainProperties": { + "description": "The JSON object that contains the properties of the custom domain to create.", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The host name of the custom domain. Must be a domain name.", + "type": "string" + }, + "resourceState": { + "description": "Resource status of the custom domain.", + "readOnly": true, + "enum": [ + "Creating", + "Active", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "CustomDomainResourceState", + "modelAsString": true + } + }, + "customHttpsProvisioningState": { + "description": "Provisioning status of Custom Https of the custom domain.", + "readOnly": true, + "enum": [ + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "CustomHttpsProvisioningState", + "modelAsString": true + } + }, + "customHttpsProvisioningSubstate": { + "description": "Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.", + "readOnly": true, + "enum": [ + "SubmittingDomainControlValidationRequest", + "PendingDomainControlValidationREquestApproval", + "DomainControlValidationRequestApproved", + "DomainControlValidationRequestRejected", + "DomainControlValidationRequestTimedOut", + "IssuingCertificate", + "DeployingCertificate", + "CertificateDeployed", + "DeletingCertificate", + "CertificateDeleted" + ], + "type": "string", + "x-ms-enum": { + "name": "CustomHttpsProvisioningSubstate", + "modelAsString": true + } + }, + "validationData": { + "description": "Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.", + "type": "string" + }, + "provisioningState": { + "readOnly": true, + "description": "Provisioning status of the custom domain.", + "type": "string" + } + } + }, + "CustomDomainParameters": { + "description": "The customDomain JSON object required for custom domain creation or update.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CustomDomainPropertiesParameters" + } + } + }, + "CustomDomainPropertiesParameters": { + "description": "The JSON object that contains the properties of the custom domain to create.", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The host name of the custom domain. Must be a domain name.", + "type": "string" + } + } + }, + "CustomDomainHttpsParameters": { + "description": "The JSON object that contains the properties to secure a custom domain.", + "discriminator": "certificateSource", + "required": [ + "certificateSource", + "protocolType" + ], + "properties": { + "certificateSource": { + "description": "Defines the source of the SSL certificate.", + "enum": [ + "AzureKeyVault", + "Cdn" + ], + "type": "string", + "x-ms-enum": { + "name": "CertificateSource", + "modelAsString": true + } + }, + "protocolType": { + "description": "Defines the TLS extension protocol that is used for secure delivery.", + "enum": [ + "ServerNameIndication", + "IPBased" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtocolType", + "modelAsString": true + } + } + } + }, + "CdnManagedHttpsParameters": { + "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.", + "x-ms-discriminator-value": "Cdn", + "allOf": [ + { + "$ref": "#/definitions/CustomDomainHttpsParameters" + } + ], + "required": [ + "certificateSourceParameters" + ], + "properties": { + "certificateSourceParameters": { + "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.", + "$ref": "#/definitions/CdnCertificateSourceParameters" + } + } + }, + "CdnCertificateSourceParameters": { + "description": "Defines the parameters for using CDN managed certificate for securing custom domain.", + "required": [ + "@odata.type", + "certificateType" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters" + ] + }, + "certificateType": { + "description": "Type of certificate used", + "enum": [ + "Shared", + "Dedicated" + ], + "type": "string", + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + } + } + } + }, + "UserManagedHttpsParameters": { + "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.", + "x-ms-discriminator-value": "AzureKeyVault", + "allOf": [ + { + "$ref": "#/definitions/CustomDomainHttpsParameters" + } + ], + "required": [ + "certificateSourceParameters" + ], + "properties": { + "certificateSourceParameters": { + "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.", + "$ref": "#/definitions/KeyVaultCertificateSourceParameters" + } + } + }, + "KeyVaultCertificateSourceParameters": { + "description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.", + "required": [ + "@odata.type", + "subscriptionId", + "resourceGroupName", + "vaultName", + "secretName", + "secretVersion", + "updateRule", + "deleteRule" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters" + ] + }, + "subscriptionId": { + "description": "Subscription Id of the user's Key Vault containing the SSL certificate", + "type": "string" + }, + "resourceGroupName": { + "description": "Resource group of the user's Key Vault containing the SSL certificate", + "type": "string" + }, + "vaultName": { + "description": "The name of the user's Key Vault containing the SSL certificate", + "type": "string" + }, + "secretName": { + "description": "The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.", + "type": "string" + }, + "secretVersion": { + "description": "The version(GUID) of Key Vault Secret in Key Vault.", + "type": "string" + }, + "updateRule": { + "description": "Describes the action that shall be taken when the certificate is updated in Key Vault.", + "type": "string", + "enum": [ + "NoAction" + ], + "x-ms-enum": { + "name": "UpdateRule", + "modelAsString": true + } + }, + "deleteRule": { + "description": "Describes the action that shall be taken when the certificate is removed from Key Vault.", + "type": "string", + "enum": [ + "NoAction" + ], + "x-ms-enum": { + "name": "DeleteRule", + "modelAsString": true + } + } + } + }, + "CustomDomainListResult": { + "description": "Result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CustomDomain" + }, + "description": "List of CDN CustomDomains within an endpoint." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of custom domain objects if there are any." + } + } + }, + "ValidateCustomDomainInput": { + "description": "Input of the custom domain to be validated for DNS mapping.", + "type": "object", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The host name of the custom domain. Must be a domain name.", + "type": "string" + } + } + }, + "ValidateCustomDomainOutput": { + "description": "Output of custom domain validation.", + "type": "object", + "properties": { + "customDomainValidated": { + "description": "Indicates whether the custom domain is valid or not.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the custom domain is not valid.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Error message describing why the custom domain is not valid.", + "readOnly": true, + "type": "string" + } + } + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The resource name to validate.", + "type": "string" + }, + "type": { + "description": "The type of the resource whose name is to be validated.", + "$ref": "#/definitions/ResourceType" + } + } + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" + } + } + }, + "ValidateProbeInput": { + "description": "Input of the validate probe API.", + "properties": { + "probeURL": { + "description": "The probe URL to validate.", + "type": "string" + } + }, + "required": [ + "probeURL" + ], + "type": "object" + }, + "ValidateProbeOutput": { + "description": "Output of the validate probe API.", + "properties": { + "isValid": { + "description": "Indicates whether the probe URL is accepted or not.", + "readOnly": true, + "type": "boolean" + }, + "errorCode": { + "description": "Specifies the error code when the probe url is not accepted.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the probe URL is not accepted.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ResourceUsageListResult": { + "description": "Output of check resource usage API.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceUsage" + }, + "description": "List of resource usages." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of custom domain objects if there are any." + } + } + }, + "ResourceUsage": { + "description": "Output of check resource usage API.", + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "readOnly": true, + "description": "Resource type for which the usage is provided." + }, + "unit": { + "type": "string", + "readOnly": true, + "description": "Unit of the usage. e.g. Count." + }, + "currentValue": { + "type": "integer", + "readOnly": true, + "description": "Actual value of usage on the specified resource type." + }, + "limit": { + "type": "integer", + "readOnly": true, + "description": "Quota of the specified resource type." + } + } + }, + "ResourceType": { + "description": "Type of CDN resource used in CheckNameAvailability.", + "enum": [ + "Microsoft.Cdn/Profiles/Endpoints" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceType", + "modelAsString": false + } + }, + "Operation": { + "description": "CDN REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "readOnly": true, + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Cdn", + "readOnly": true, + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "readOnly": true, + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "readOnly": true, + "type": "string" + } + } + } + } + }, + "OperationsListResult": { + "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of CDN operations supported by the CDN resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "EdgenodeResult": { + "description": "Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/EdgeNode" + }, + "description": "Edge node of CDN service." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of edgenode list results if there are any." + } + } + }, + "EdgeNode": { + "description": "Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EdgeNodeProperties" + } + } + }, + "EdgeNodeProperties": { + "description": "The JSON object that contains the properties required to create an edgenode.", + "required": [ + "ipAddressGroups" + ], + "properties": { + "ipAddressGroups": { + "description": "List of ip address groups.", + "type": "array", + "items": { + "$ref": "#/definitions/IpAddressGroup" + } + } + } + }, + "IpAddressGroup": { + "description": "CDN Ip address group", + "type": "object", + "properties": { + "deliveryRegion": { + "description": "The delivery region of the ip address group", + "type": "string" + }, + "ipv4Addresses": { + "description": "The list of ip v4 addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/cidrIpAddress" + } + }, + "ipv6Addresses": { + "description": "The list of ip v6 addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/cidrIpAddress" + } + } + } + }, + "cidrIpAddress": { + "description": "CIDR Ip address", + "type": "object", + "properties": { + "baseIpAddress": { + "description": "Ip address itself.", + "type": "string" + }, + "prefixLength": { + "description": "The length of the prefix of the ip address.", + "type": "integer" + } + } + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "description": "Resource ID.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Resource name.", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Resource type.", + "readOnly": true, + "type": "string" + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "required": [ + "location" + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "QueryStringCachingBehavior": { + "description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.", + "enum": [ + "IgnoreQueryString", + "BypassCaching", + "UseQueryString", + "NotSet" + ], + "type": "string", + "x-ms-enum": { + "name": "QueryStringCachingBehavior", + "modelAsString": false + } + }, + "Sku": { + "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.", + "properties": { + "name": { + "description": "Name of the pricing tier.", + "enum": [ + "Standard_Verizon", + "Premium_Verizon", + "Custom_Verizon", + "Standard_Akamai", + "Standard_ChinaCdn", + "Standard_Microsoft" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + } + }, + "type": "object" + }, + "OptimizationType": { + "description": "Specifies what scenario the customer wants this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization.", + "enum": [ + "GeneralWebDelivery", + "GeneralMediaStreaming", + "VideoOnDemandMediaStreaming", + "LargeFileDownload", + "DynamicSiteAcceleration" + ], + "type": "string", + "x-ms-enum": { + "name": "OptimizationType", + "modelAsString": true + } + }, + "ErrorResponse": { + "description": "Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "readOnly": true, + "type": "string" + } + } + } + }, + "parameters": { + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure Subscription ID.", + "required": true, + "type": "string" + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. Current version is 2017-04-02." + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method", + "description": "Name of the Resource group within the Azure subscription." + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json new file mode 100644 index 000000000000..2ddeb03f9833 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json @@ -0,0 +1,921 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-15-preview", + "title": "Azure CDN WebApplicationFirewallManagement", + "description": "APIs to manage web application firewall rules for Azure CDN" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies": { + "get": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Lists all of the protection policies within a resource group.", + "operationId": "Policies_List", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicyList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./cdn.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Policies in a Resource Group": { + "$ref": "./examples/WafListPolicies.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}": { + "get": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Retrieve protection policy with specified name within a resource group.", + "operationId": "Policies_Get", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./cdn.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Policy": { + "$ref": "./examples/WafPolicyGet.json" + } + } + }, + "put": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Create or update policy with specified rule set name within a resource group.", + "operationId": "Policies_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "description": "Policy to be created.", + "in": "body", + "name": "cdnWebApplicationFirewallPolicy", + "required": true, + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new protection policy has been created.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./cdn.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates specific policy": { + "$ref": "./examples/WafPolicyCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group", + "operationId": "Policies_Update", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "description": "CdnWebApplicationFirewallPolicy parameters to be patched.", + "in": "body", + "name": "cdnWebApplicationFirewallPolicyPatchParameters", + "required": true, + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicyPatchParameters" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./cdn.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates specific policy": { + "$ref": "./examples/WafPatchPolicy.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Deletes Policy", + "operationId": "Policies_Delete", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "204": { + "description": "No Content. The request has been accepted but the policy was not found." + } + }, + "x-ms-examples": { + "Delete protection policy": { + "$ref": "./examples/WafPolicyDelete.json" + } + }, + "x-ms-long-running-operation": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets": { + "get": { + "tags": [ + "WebApplicationFirewallManagedRuleSets" + ], + "description": "Lists all available managed rule sets.", + "operationId": "ManagedRuleSets_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of all available web application firewall managed rule sets.", + "schema": { + "$ref": "#/definitions/ManagedRuleSetDefinitionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./cdn.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Policies in a Resource Group": { + "$ref": "./examples/WafListManagedRuleSets.json" + } + } + } + } + }, + "definitions": { + "CdnWebApplicationFirewallPolicyList": { + "description": "Defines a list of WebApplicationFirewallPolicies for Azure CDN. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CdnWebApplicationFirewallPolicy" + }, + "description": "List of Azure CDN WebApplicationFirewallPolicies within a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of WebApplicationFirewallPolicy objects if there are any." + } + } + }, + "CdnWebApplicationFirewallPolicy": { + "description": "Defines web application firewall policy for Azure CDN.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of the web application firewall policy.", + "$ref": "#/definitions/CdnWebApplicationFirewallPolicyProperties" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + }, + "sku": { + "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.", + "$ref": "./cdn.json#/definitions/Sku" + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "./cdn.json#/definitions/TrackedResource" + } + ] + }, + "CdnWebApplicationFirewallPolicyPatchParameters" : { + "type": "object", + "description": "Properties required to update a CdnWebApplicationFirewallPolicy.", + "properties": { + "tags": { + "description": "CdnWebApplicationFirewallPolicy tags", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "CdnWebApplicationFirewallPolicyProperties": { + "description": "Defines CDN web application firewall policy properties.", + "properties": { + "policySettings": { + "description": "Describes policySettings for policy", + "$ref": "#/definitions/policySettings" + }, + "rateLimitRules": { + "description": "Describes rate limit rules inside the policy.", + "$ref": "#/definitions/RateLimitRuleList" + }, + "customRules": { + "description": "Describes custom rules inside the policy.", + "$ref": "#/definitions/CustomRuleList" + }, + "managedRules": { + "description": "Describes managed rules inside the policy.", + "$ref": "#/definitions/ManagedRuleSetList" + }, + "cdnEndpointLinks": { + "description": "Describes Azure CDN endpoints associated with this Web Application Firewall policy.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CdnEndpoint" + } + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the WebApplicationFirewallPolicy.", + "enum": [ + "Creating", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "resourceState": { + "title": "Resource status of the policy.", + "readOnly": true, + "enum": [ + "Creating", + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyResourceState", + "modelAsString": true + } + } + } + }, + "policySettings": { + "description": "Defines contents of a web application firewall global configuration", + "properties": { + "enabledState": { + "description": "describes if the policy is in enabled state or disabled state", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "PolicyEnabledState", + "modelAsString": true + } + }, + "mode": { + "description": "Describes if it is in detection mode or prevention mode at policy level.", + "type": "string", + "enum": [ + "Prevention", + "Detection" + ], + "x-ms-enum": { + "name": "PolicyMode", + "modelAsString": true + } + }, + "defaultRedirectUrl": { + "description": "If action type is redirect, this field represents the default redirect URL for the client.", + "type": "string" + }, + "defaultCustomBlockResponseStatusCode": { + "description": "If the action type is block, this field defines the default customer overridable http response status code.", + "type": "integer", + "maximum": 599, + "exclusiveMaximum": false, + "minimum": 200, + "exclusiveMinimum": false + }, + "defaultCustomBlockResponseBody": { + "description": "If the action type is block, customer can override the response body. The body must be specified in base64 encoding.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + } + } + }, + "CdnEndpoint": { + "description": "Defines the ARM Resource ID for the linked endpoints", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "ARM Resource ID string." + } + } + }, + "CustomRuleList": { + "description": "Defines contents of custom rules", + "properties": { + "rules": { + "description": "List of rules", + "type": "array", + "items": { + "$ref": "#/definitions/CustomRule" + } + } + } + }, + "CustomRule": { + "description": "Defines the common attributes for a custom rule that can be included in a waf policy", + "type": "object", + "required": [ + "name", + "priority", + "matchConditions", + "action" + ], + "properties": { + "name": { + "description": "Defines the name of the custom rule", + "type": "string" + }, + "enabledState": { + "description": "Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "CustomRuleEnabledState", + "modelAsString": true + } + }, + "priority": { + "description": "Defines in what order this rule be evaluated in the overall list of custom rules", + "type": "integer" + }, + "matchConditions": { + "description": "List of match conditions.", + "type": "array", + "items": { + "$ref": "#/definitions/MatchCondition" + } + }, + "action": { + "description": "Describes what action to be applied when rule matches", + "$ref": "#/definitions/ActionType" + } + } + }, + "RateLimitRuleList": { + "description": "Defines contents of rate limit rules", + "properties": { + "rules": { + "description": "List of rules", + "type": "array", + "items": { + "$ref": "#/definitions/RateLimitRule" + } + } + } + }, + "RateLimitRule": { + "description": "Defines a rate limiting rule that can be included in a waf policy", + "type": "object", + "required": [ + "rateLimitThreshold", + "rateLimitDurationInMinutes" + ], + "properties": { + "rateLimitThreshold": { + "description": "Defines rate limit threshold.", + "type": "integer", + "minimum": 0, + "exclusiveMinimum": false + }, + "rateLimitDurationInMinutes": { + "description": "Defines rate limit duration. Default is 1 minute.", + "type": "integer", + "maximum": 60, + "exclusiveMaximum": false, + "minimum": 0, + "exclusiveMinimum": false + } + }, + "allOf": [ + { + "$ref": "#/definitions/CustomRule" + } + ] + }, + "MatchCondition": { + "description": "Define match conditions", + "required": [ + "matchVariable", + "operator", + "matchValue" + ], + "properties": { + "matchVariable": { + "description": "Match variable to compare against.", + "type": "string", + "enum": [ + "RemoteAddr", + "Country", + "RequestMethod", + "RequestHeader", + "RequestUri", + "QueryString", + "RequestBody", + "Cookies", + "PostArgs" + ], + "x-ms-enum": { + "name": "MatchVariable", + "modelAsString": true + } + }, + "selector": { + "description": "Selector can used to match a specific key for QueryString, RequestUri, RequestHeaders or RequestBody.", + "type": "string" + }, + "operator": { + "description": "Describes operator to be matched", + "type": "string", + "enum": [ + "Any", + "IPMatch", + "GeoMatch", + "Equal", + "Contains", + "LessThan", + "GreaterThan", + "LessThanOrEqual", + "GreaterThanOrEqual", + "BeginsWith", + "EndsWith", + "RegEx" + ], + "x-ms-enum": { + "name": "operator", + "modelAsString": true + } + }, + "negateCondition": { + "description": "Describes if the result of this condition should be negated.", + "type": "boolean" + }, + "matchValue": { + "description": "List of possible match values.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ManagedRuleSetList": { + "description": "Defines the list of managed rule sets for the policy.", + "properties": { + "managedRuleSets": { + "description": "List of rule sets.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedRuleSet" + } + } + } + }, + "ManagedRuleSet": { + "type": "object", + "description": "Defines a managed rule set.", + "required": [ + "ruleSetType", + "ruleSetVersion" + ], + "properties": { + "ruleSetType": { + "description": "Defines the rule set type to use.", + "type": "string" + }, + "ruleSetVersion": { + "description": "Defines the version of the rule set to use.", + "type": "string" + }, + "anomalyScore": { + "description": "Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.", + "type": "integer", + "maximum": 20, + "exclusiveMaximum": false, + "minimum": 0, + "exclusiveMinimum": false + }, + "ruleGroupOverrides": { + "description": "Defines the rule overrides to apply to the rule set.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedRuleGroupOverride" + } + } + } + }, + "ManagedRuleGroupOverride": { + "description": "Defines a managed rule group override setting.", + "required": [ + "ruleGroupName" + ], + "properties": { + "ruleGroupName": { + "description": "Describes the managed rule group within the rule set to override", + "type": "string" + }, + "rules": { + "description": "List of rules that will be disabled. If none specified, all rules in the group will be disabled.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedRuleOverride" + } + } + } + }, + "ManagedRuleOverride": { + "description": "Defines a managed rule group override setting.", + "required": [ + "ruleId" + ], + "properties": { + "ruleId": { + "description": "Identifier for the managed rule.", + "type": "string" + }, + "enabledState": { + "description": "Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ManagedRuleEnabledState", + "modelAsString": true + } + }, + "action": { + "description": "Describes the override action to be applied when rule matches.", + "$ref": "#/definitions/ActionType" + } + } + }, + "ManagedRuleSetDefinitionList": { + "description": "List of managed rule set definitions available for use in a policy.", + "properties": { + "value": { + "description": "List of managed rule set definitions.", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ManagedRuleSetDefinition" + } + }, + "nextLink": { + "type": "string", + "description": "URL to retrieve next set of managed rule set definitions." + } + } + }, + "ManagedRuleSetDefinition": { + "description": "Describes a managed rule set definition.", + "properties": { + "properties": { + "description": "Describes managed rule set definition properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedRuleSetDefinitionProperties" + }, + "sku": { + "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.", + "$ref": "./cdn.json#/definitions/Sku" + } + }, + "allOf": [ + { + "$ref": "./cdn.json#/definitions/Resource" + } + ] + }, + "ManagedRuleSetDefinitionProperties": { + "description": "Properties for a managed rule set definition.", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the managed rule set." + }, + "ruleSetType": { + "type": "string", + "readOnly": true, + "description": "Type of the managed rule set." + }, + "ruleSetVersion": { + "type": "string", + "readOnly": true, + "description": "Version of the managed rule set type." + }, + "ruleGroups": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ManagedRuleGroupDefinition" + }, + "description": "Rule groups of the managed rule set." + } + } + }, + "ManagedRuleGroupDefinition": { + "description": "Describes a managed rule group.", + "properties": { + "ruleGroupName": { + "type": "string", + "readOnly": true, + "description": "Name of the managed rule group." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the managed rule group." + }, + "rules": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ManagedRuleDefinition" + }, + "description": "List of rules within the managed rule group." + } + } + }, + "ManagedRuleDefinition": { + "description": "Describes a managed rule definition.", + "properties": { + "ruleId": { + "description": "Identifier for the managed rule.", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Describes the functionality of the managed rule.", + "readOnly": true, + "type": "string" + } + } + }, + "ActionType": { + "description": "Defines the action to take on rule match.", + "required": [ + "actionType" + ], + "properties": { + "actionType": { + "description": "Describes type of action.", + "type": "string", + "enum": [ + "Allow", + "Block", + "Log", + "Redirect" + ], + "x-ms-enum": { + "name": "action", + "modelAsString": true + } + }, + "redirectUrl": { + "description": "If action type is redirect, this field represents URL to be re-directed.", + "type": "string" + }, + "customBlockResponseStatusCode": { + "description": "If the action type is block, customer can override the response status code.", + "type": "integer", + "maximum": 599, + "exclusiveMaximum": false, + "minimum": 200, + "exclusiveMinimum": false + }, + "customBlockResponseBody": { + "description": "If the action type is block, customer can override the response body. The body must be specified in base64 encoding.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure Subscription ID.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. Current version is 2017-04-02." + }, + "PolicyNameParameter": { + "name": "policyName", + "in": "path", + "required": true, + "type": "string", + "maxLength": 128, + "x-ms-parameter-location": "method", + "description": "The name of the CdnWebApplicationFirewallPolicy." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_\\-\\(\\)\\.]*[^\\.]$", + "minLength": 1, + "maxLength": 80, + "x-ms-parameter-location": "method", + "description": "Name of the Resource group within the Azure subscription." + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..ec24c26469aa --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Cdn/Profiles/Endpoints" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json new file mode 100644 index 000000000000..1e4dc44f7607 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Cdn/Profiles/Endpoints" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json new file mode 100644 index 000000000000..137bd81a0719 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net", + "customDomainProperties": { + "properties": { + "hostName": "www.someDomain.net" + } + } + }, + "responses": { + "200": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null + } + } + }, + "201": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null + } + } + }, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json new file mode 100644 index 000000000000..7f310feaae5f --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net" + }, + "responses": { + "200": {}, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null + } + } + }, + "204": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json new file mode 100644 index 000000000000..c08a7f24795e --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net" + }, + "responses": { + "200": {}, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json new file mode 100644 index 000000000000..5167f5a3740d --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net", + "customDomainHttpsParameters": { + "certificateSource": "AzureKeyVault", + "protocolType": "ServerNameIndication", + "certificateSourceParameters": { + "@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", + "subscriptionId":"subid", + "resourceGroupName":"RG", + "vaultName":"kv", + "secretName" : "secret1", + "secretVersion" :"00000000-0000-0000-0000-000000000000", + "updateRule": "NoAction", + "deleteRule": "NoAction" + } + } + }, + "responses": { + "200": {}, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": "validationdata" + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json new file mode 100644 index 000000000000..fd74bbb1f7a6 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net", + "customDomainHttpsParameters": { + "certificateSource": "Cdn", + "protocolType": "ServerNameIndication", + "certificateSourceParameters": { + "@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", + "certificateType":"Shared" + } + } + }, + "responses": { + "200": {}, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": "validationdata" + } + } + } + } + } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json new file mode 100644 index 000000000000..774825933e18 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net" + }, + "responses": { + "200": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Disabled", + "customHttpsProvisioningSubstate": "None", + "validationData": null + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json new file mode 100644 index 000000000000..d2bb05579ca7 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Disabled", + "customHttpsProvisioningSubstate": "None", + "validationData": null + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json new file mode 100644 index 000000000000..59e09352ae02 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ + { + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "180.240.184.128", + "prefixLength": 25 + }, + { + "baseIpAddress": "152.195.27.0", + "prefixLength": 24 + } + ], + "ipv6Addresses": [ + { + "baseIpAddress": "2606:2800:60f2::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 + } + ] + } + ] + } + }, + { + "name": "Premium_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ + { + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "152.195.27.0", + "prefixLength": 24 + } + ], + "ipv6Addresses": [ + { + "baseIpAddress": "2606:2800:60f2::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 + } + ] + } + ] + } + }, + { + "name": "Custom_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ + { + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "2606:2800:420b::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 + } + ] + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json new file mode 100644 index 000000000000..14ab0aace5fd --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json @@ -0,0 +1,377 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "endpoint": { + "properties": { + "originHostHeader": "www.bing.com", + "originPath": "/photos", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "deliveryPolicy": { + "description": "Test description for a policy.", + "rules": [ + { + "name": "rule1", + "order": 1, + "conditions": [ + { + "name": "RemoteAddress", + "parameters": { + "operator": "IPMatch", + "negateCondition": true, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters" + } + } + ], + "actions": [ + { + "name": "CacheExpiration", + "parameters": { + "cacheBehavior": "Override", + "cacheDuration": "10:10:09", + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters", + "cacheType": "All" + } + }, + { + "name": "ModifyResponseHeader", + "parameters": { + "headerAction": "Overwrite", + "headerName": "Access-Control-Allow-Origin", + "value": "*", + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters" + } + }, + { + "name": "ModifyRequestHeader", + "parameters": { + "headerAction": "Overwrite", + "headerName": "Accept-Encoding", + "value": "gzip", + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters" + } + } + ] + } + ] + }, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com" + } + } + ], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } + }, + "location": "WestUs", + "tags": { + "kay1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint4899.azureedge-test.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "originPath": "/photos", + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null + } + } + ], + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "deliveryPolicy": { + "description": "Test description for a policy.", + "rules": [ + { + "name": "rule1", + "order": 1, + "conditions": [ + { + "name": "RemoteAddress", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters", + "operator": "IPMatch", + "negateCondition": true, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + } + ], + "actions": [ + { + "name": "CacheExpiration", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters", + "cacheBehavior": "Override", + "cacheDuration": "10:10:09", + "cacheType": "All" + } + }, + { + "name": "ModifyResponseHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Access-Control-Allow-Origin", + "value": "*" + } + }, + { + "name": "ModifyRequestHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Accept-Encoding", + "value": "gzip" + } + } + ] + } + ] + }, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } + } + } + }, + "201": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint4899.azureedge-test.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "originPath": "/photos", + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null + } + } + ], + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "deliveryPolicy": { + "description": "Test description for a policy.", + "rules": [ + { + "name": "rule1", + "order": 1, + "conditions": [ + { + "name": "RemoteAddress", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters", + "operator": "IPMatch", + "negateCondition": true, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + } + ], + "actions": [ + { + "name": "CacheExpiration", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters", + "cacheBehavior": "Override", + "cacheDuration": "10:10:09", + "cacheType": "All" + } + }, + { + "name": "ModifyResponseHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Access-Control-Allow-Origin", + "value": "*" + } + }, + { + "name": "ModifyRequestHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Accept-Encoding", + "value": "gzip" + } + } + ] + } + ] + }, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } + } + } + }, + "202": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint4899.azureedge-test.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "originPath": "/photos", + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null + } + } + ], + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "deliveryPolicy": { + "description": "Test description for a policy.", + "rules": [ + { + "name": "rule1", + "order": 1, + "conditions": [ + { + "name": "RemoteAddress", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters", + "operator": "IPMatch", + "negateCondition": true, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + } + ], + "actions": [ + { + "name": "CacheExpiration", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters", + "cacheBehavior": "Override", + "cacheDuration": "10:10:09", + "cacheType": "All" + } + }, + { + "name": "ModifyResponseHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Access-Control-Allow-Origin", + "value": "*" + } + }, + { + "name": "ModifyRequestHeader", + "parameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + "headerAction": "Overwrite", + "headerName": "Accept-Encoding", + "value": "gzip" + } + } + ] + } + ] + }, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Delete.json new file mode 100644 index 000000000000..03ff0d36dcba --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json new file mode 100644 index 000000000000..e2cc4cea8491 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "name": "endpoint1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": {}, + "location": "CentralUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Running", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json new file mode 100644 index 000000000000..2f8765866806 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "endpoint1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": {}, + "location": "CentralUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Running", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink" : null + } + } + ] + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json new file mode 100644 index 000000000000..6fcbecdacaa6 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "customdomain", + "unit": "count", + "currentValue": 1, + "limit": 20 + }, + { + "resourceType": "geofilter", + "unit": "count", + "currentValue": 0, + "limit": 25 + } + ] + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json new file mode 100644 index 000000000000..6ce67ebcb51d --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "contentFilePaths": { + "contentPaths": ["/folder1"] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json new file mode 100644 index 000000000000..6ce67ebcb51d --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "contentFilePaths": { + "contentPaths": ["/folder1"] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json new file mode 100644 index 000000000000..28fd4e3ea035 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Starting", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink" : null + } + } + }, + "202": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Starting", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink" : null + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json new file mode 100644 index 000000000000..3eef5ed9903d --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Stopping", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink" : null + } + } + }, + "202": { + "body": { + "name": "endpoint4899", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "kay1": "value1" + }, + "location": "WestUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Stopping", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink" : null + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json new file mode 100644 index 000000000000..0c1213df434c --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "endpointUpdateProperties": { + "tags": { + "additionalProperties": "Tag1" + }, + "properties": { + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "endpoint1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "additionalProperties": "Tag1" + }, + "location": "WestCentralUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": null, + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "IgnoreQueryString", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + } + } + } + }, + "202": { + "body": { + "name": "endpoint1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": { + "additionalProperties": "Tag1" + }, + "location": "WestCentralUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": null, + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "IgnoreQueryString", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + } + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json new file mode 100644 index 000000000000..718f7d9bee23 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainProperties": { + "hostName": "www.someDomain.com" + } + }, + "responses": { + "200": { + "body": { + "customDomainValidated": true, + "message": null, + "reason": null + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json new file mode 100644 index 000000000000..1614858a2f08 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Cdn/register/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Microsoft.Cdn Resource Provider", + "operation": "Registers the Microsoft.Cdn Resource Provider" + } + }, + { + "name": "Microsoft.Cdn/edgenodes/read", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "read" + } + }, + { + "name": "Microsoft.Cdn/edgenodes/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/edgenodes/delete", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "delete" + } + }, + { + "name": "Microsoft.Cdn/profiles/read", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "read" + } + }, + { + "name": "Microsoft.Cdn/profiles/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/delete", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "delete" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "CheckResourceUsage" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "GenerateSsoUri" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json new file mode 100644 index 000000000000..49cf736d753b --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "originName": "www-someDomain-net" + }, + "responses": { + "200": { + "body": { + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": null, + "httpsPort": null + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json new file mode 100644 index 000000000000..caeebbd8e740 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": null, + "httpsPort": null + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json new file mode 100644 index 000000000000..14987d2a1073 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "originName": "www-someDomain-net", + "originUpdateProperties": { + "properties": { + "httpPort": 42, + "httpsPort": 43 + } + } + }, + "responses": { + "200": { + "body": { + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": 42, + "httpsPort": 43 + } + } + }, + "202": { + "body": { + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": 42, + "httpsPort": 43 + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json new file mode 100644 index 000000000000..5a374988d3b5 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "profile": { + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + } + } + }, + "responses": { + "200": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "provisioningState": "Creating", + "resourceState": "Creating" + } + } + }, + "201": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "provisioningState": "Creating", + "resourceState": "Creating" + } + } + }, + "202": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "provisioningState": "Creating", + "resourceState": "Creating" + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Delete.json new file mode 100644 index 000000000000..a84464fe98d1 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json new file mode 100644 index 000000000000..dba5e8668059 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "ssoUriValue": "https://someuri.com" + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json new file mode 100644 index 000000000000..383b77198e70 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json new file mode 100644 index 000000000000..8ce7e220f6c8 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG1/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + }, + { + "name": "profile2", + "id": "/subscriptions/subid/resourcegroups/RG1/providers/Microsoft.Cdn/profiles/profile2", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json new file mode 100644 index 000000000000..d39e4b159332 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + }, + { + "name": "profile2", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile2", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json new file mode 100644 index 000000000000..93cfc309ec22 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "endpoint", + "unit": "count", + "currentValue": 0, + "limit": 25 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json new file mode 100644 index 000000000000..d8409e4eefb1 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "supportedOptimizationTypes": [ + "GeneralWebDelivery", + "DynamicSiteAcceleration" + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json new file mode 100644 index 000000000000..c4a8fbffead7 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "profileUpdateParameters": { + "tags":{ + "additionalProperties": "Tag1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": { + "additionalProperties": "Tag1" + }, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + } + }, + "202": { + "body": { + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": { + "additionalProperties": "Tag1" + }, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json new file mode 100644 index 000000000000..1ef07ff3ff74 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "profile", + "unit": "count", + "currentValue": 31, + "limit": 200 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json new file mode 100644 index 000000000000..7e0c295c5bfe --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "validateProbeInput": { + "probeURL": "https://www.bing.com/image" + } + }, + "responses": { + "200": { + "body": { + "isValid": true, + "errorCode": "None", + "message": null + } + } + } +} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json new file mode 100644 index 000000000000..8c96f31bafcb --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultRuleSet_1.0", + "id": "/subscriptions/subid/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallmanagedrulesets", + "sku": { + "name" : "Standard_Microsoft" + }, + "properties": { + "provisioningState": "Succeeded", + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroups": [ + { + "ruleGroupName": "Group1", + "description": "Description for rule group 1.", + "rules": [ + { + "ruleId": "GROUP1-0001", + "description": "Generic managed web application firewall rule." + }, + { + "ruleId": "GROUP1-0002", + "description": "Generic managed web application firewall rule." + } + ] + }, + { + "ruleGroupName": "Group2", + "description": "Description for rule group 2.", + "rules": [ + { + "ruleId": "GROUP2-0001", + "description": "Generic managed web application firewall rule." + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json new file mode 100644 index 000000000000..3904d8c5c326 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json @@ -0,0 +1,235 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + }, + { + "name": "VerizonStandardCdnWafPolicy", + "id": + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/VerizonStandardCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": + "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "ECRS", + "ruleSetVersion": "2018-11-2", + "ruleGroupOverrides": [ + { + "ruleGroupName": "XSS", + "rules": [ + { + "ruleId": "XSS-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "XSS-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint3" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json new file mode 100644 index 000000000000..d8d5f70f59a4 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json @@ -0,0 +1,238 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy", + "cdnWebApplicationFirewallPolicyPatchParameters": { + "tags": { + "foo": "bar" + } + } + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "foo": "bar" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + }, + "202": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Creating", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json new file mode 100644 index 000000000000..1d4f761de26e --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json @@ -0,0 +1,437 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy", + "cdnWebApplicationFirewallPolicy": { + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "policySettings": { + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + }, + "201": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + }, + "202": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Creating", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 3, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + } + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json new file mode 100644 index 000000000000..d095153b26f2 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json new file mode 100644 index 000000000000..0d815edfc7d0 --- /dev/null +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy" + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" + } + ] + } + } + } + } +} diff --git a/specification/cdn/resource-manager/readme.go.md b/specification/cdn/resource-manager/readme.go.md index 464bd9d72a22..1ab801621aad 100644 --- a/specification/cdn/resource-manager/readme.go.md +++ b/specification/cdn/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2017-10 - tag: package-2017-04 @@ -21,6 +22,15 @@ batch: - tag: package-2015-06 ``` +### Tag: package-2019-06 and go + +These settings apply only when `--tag=package-2019-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/preview/2019-06-15-preview/$(namespace) +``` + ### Tag: package-2019-04 and go These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 0efa2180b146..2ab64af3ab52 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -25,8 +25,25 @@ To see additional help and options, run: These are the global settings for the Cdn API. ``` yaml +title: CdnManagementClient +description: Cdn Management Client openapi-type: arm -tag: package-2019-04 +tag: package-2019-06 +``` + +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06' +input-file: +- Microsoft.Cdn/preview/2019-06-15-preview/cdn.json +- Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json +directive: + - where: + - $.paths + suppress: + - OperationsAPIImplementation ``` ### Tag: package-2019-04 From f5c2e5859f275f5c6c846b7906db88d1aea2f692 Mon Sep 17 00:00:00 2001 From: nirkum18 <44569053+nirkum18@users.noreply.github.com> Date: Thu, 13 Jun 2019 04:44:42 +0530 Subject: [PATCH 010/495] fixing apis for 2018-11-01 (#5450) --- .../stable/2018-11-01/applicationGateway.json | 38 +++++-------------- ...tionGatewayAvailableRequestHeadersGet.json | 8 ++-- ...ionGatewayAvailableResponseHeadersGet.json | 8 ++-- ...ionGatewayAvailableServerVariablesGet.json | 8 ++-- 4 files changed, 19 insertions(+), 43 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json index 63b584d7bf82..93722571c0d4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json @@ -2163,43 +2163,25 @@ "description": "Allows to disable rules within a rule group or an entire rule group." }, "ApplicationGatewayAvailableServerVariablesResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of supported server variables in application gateway." - } + "type": "array", + "items": { + "type": "string" }, "description": "Response for ApplicationGatewayAvailableServerVariables API service call." }, "ApplicationGatewayAvailableRequestHeadersResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of supported request headers in application gateway." - } + "type": "array", + "items": { + "type": "string" }, "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call." }, "ApplicationGatewayAvailableResponseHeadersResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of supported response header in application gateway." - } + "type": "array", + "items": { + "type": "string" }, - "description": "Response for ApplicationGatewayAvailableResponeHeaders API service call." + "description": "Response for ApplicationGatewayAvailableResponseHeaders API service call." }, "ApplicationGatewayFirewallExclusion": { "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json index e092ea1a674b..b0c7f80a583d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json @@ -5,11 +5,9 @@ }, "responses": { "200": { - "body": { - "value": [ - "Accept-Charset" - ] - } + "body": [ + "Accept-Charset" + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json index 6eb02c77201b..3d99a76b9061 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json @@ -5,11 +5,9 @@ }, "responses": { "200": { - "body": { - "value": [ - "Access-Control-Allow-Origin" - ] - } + "body": [ + "Access-Control-Allow-Origin" + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableServerVariablesGet.json index c5f3db425142..22354e8ae7d8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableServerVariablesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableServerVariablesGet.json @@ -5,11 +5,9 @@ }, "responses": { "200": { - "body": { - "value": [ - "request_query" - ] - } + "body": [ + "request_query" + ] } } } From f0f79bfa8191ac30cfb0f87665411769bd2063a6 Mon Sep 17 00:00:00 2001 From: EvgenyAgafonchikov Date: Thu, 13 Jun 2019 02:17:06 +0300 Subject: [PATCH 011/495] Fix long-running operations for VnetGw, NetworkProfile; Fix examples (#6159) * Added missing long-running values * Fix old examples * Update more long-running for older * Updated long-running for networkProfile * Fix more examples * Fixed LB examples * Fix examples to pass updated oav validations --- .../2015-06-15/virtualNetworkGateway.json | 29 +++++-- .../2016-09-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/RouteFilterCreate.json | 4 +- .../examples/RouteFilterUpdate.json | 1 - .../2016-12-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/RouteFilterCreate.json | 4 +- .../examples/RouteFilterUpdate.json | 1 - .../2017-03-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/LoadBalancerCreate.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-06-01/virtualNetworkGateway.json | 41 ++++++++-- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-08-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-09-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-10-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-11-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2018-01-01/virtualNetworkGateway.json | 46 ++++++++--- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../examples/LocalNetworkGatewayDelete.json | 12 +-- ...VirtualNetworkGatewayConnectionCreate.json | 12 ++- ...VirtualNetworkGatewayConnectionDelete.json | 12 +-- .../VirtualNetworkGatewayConnectionGet.json | 6 +- ...lNetworkGatewayConnectionGetSharedKey.json | 4 +- ...etworkGatewayConnectionResetSharedKey.json | 10 +-- ...lNetworkGatewayConnectionSetSharedKey.json | 12 +-- .../VirtualNetworkGatewayConnectionsList.json | 12 ++- .../examples/VirtualNetworkGatewayDelete.json | 12 +-- ...etworkGatewayGenerateVpnClientPackage.json | 5 +- ...rtualNetworkGatewayGenerateVpnProfile.json | 9 +-- ...tualNetworkGatewayGetAdvertisedRoutes.json | 7 +- ...VirtualNetworkGatewayGetBGPPeerStatus.json | 4 +- ...NetworkGatewayGetVpnProfilePackageUrl.json | 6 +- .../VirtualNetworkGatewayLearnedRoutes.json | 4 +- .../examples/VirtualNetworkGatewayReset.json | 47 ++++++++++- ...rtualNetworkGatewaySupportedVpnDevice.json | 4 +- ...rkGatewayVpnDeviceConfigurationScript.json | 14 ++-- .../2018-02-01/virtualNetworkGateway.json | 51 +++++++++--- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-04-01/examples/VpnConnectionPut.json | 3 - .../2018-04-01/virtualNetworkGateway.json | 52 ++++++++++--- .../stable/2018-04-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-06-01/examples/VpnConnectionPut.json | 3 - .../2018-06-01/virtualNetworkGateway.json | 57 +++++++++++--- .../stable/2018-06-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-07-01/examples/VpnConnectionPut.json | 3 - .../2018-07-01/virtualNetworkGateway.json | 52 ++++++++++--- .../stable/2018-07-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-08-01/networkProfile.json | 5 +- .../2018-08-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-10-01/networkProfile.json | 5 +- .../2018-10-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-11-01/networkProfile.json | 5 +- .../2018-11-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-12-01/networkProfile.json | 5 +- .../2018-12-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../examples/NatGatewayCreateOrUpdate.json | 5 -- .../stable/2019-02-01/networkProfile.json | 5 +- .../2019-02-01/virtualNetworkGateway.json | 2 + ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/NatGatewayCreateOrUpdate.json | 5 -- .../examples/PrivateLinkServiceCreate.json | 1 - .../stable/2019-04-01/networkProfile.json | 5 +- .../2019-04-01/virtualNetworkGateway.json | 2 + 123 files changed, 1059 insertions(+), 1395 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json index ed67d98f6f27..a808afc8b139 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -253,7 +256,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -301,6 +307,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -434,7 +444,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": { @@ -521,7 +534,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -746,7 +762,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json index c1b076058e32..e4125f6d81c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -251,7 +254,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -349,7 +359,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { @@ -392,7 +405,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -442,7 +458,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { @@ -575,7 +594,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -754,7 +776,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -887,7 +912,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json index 5ae985d7dec3..2a26258ddf97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json @@ -12,7 +12,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", @@ -22,8 +21,7 @@ ] } } - ], - "peerings": [] + ] } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json index fba7e86e63de..df928c778985 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json @@ -11,7 +11,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json index 8439186c376f..5601c3b3f92b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -251,7 +254,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -349,7 +359,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { @@ -392,7 +405,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -442,7 +458,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { @@ -575,7 +594,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -754,7 +776,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -887,7 +912,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json index d15bd7fd4a2d..27c146b951f4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json @@ -12,7 +12,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", @@ -22,8 +21,7 @@ ] } } - ], - "peerings": [] + ] } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json index 87321baf9cc8..5e538a4bfccc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json @@ -11,7 +11,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json index a7cb477ea494..94d65d732a35 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -251,7 +254,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -349,7 +359,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { @@ -392,7 +405,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -442,7 +458,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { @@ -575,7 +594,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -754,7 +776,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -890,7 +915,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json index 197b53617e9b..dc5395991aae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json index c5bc5cfdb623..9e32b2860171 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json index 6a0652714c55..55de5d2116b6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -298,7 +301,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -402,6 +408,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -454,7 +461,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { @@ -497,7 +507,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -547,7 +560,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { @@ -680,7 +696,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -859,7 +878,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -995,7 +1017,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json index b1c3a2d2bff0..796eea0ac5f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json index 498a4253ea25..916feac94c3f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json index 21f42994cf2c..0bcd1dbd3e75 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json index 89becf3288b4..45b1916d36b3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { @@ -298,7 +301,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -405,6 +411,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -450,7 +457,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -500,7 +510,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { @@ -543,7 +556,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -593,7 +609,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { @@ -726,7 +745,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { @@ -905,7 +927,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1041,7 +1066,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json index d2cf92870815..854e03b2c4c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json index e66feb5077d5..ea2925f711cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json index 77be3556ae4d..69a19a2e6fa9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json index 3908fcb9d0d5..eaa9179191d2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -350,7 +353,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -552,7 +562,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -634,7 +647,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -684,7 +700,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { @@ -865,7 +884,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1096,7 +1118,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1232,7 +1257,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json index 30cfd0744c56..63c6335c3b74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json index 6c21a2d40a55..a45476bcdfc9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json index fe1916d80319..f224eba91cc9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json index 5b1423aa2352..05facf79cacf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -350,7 +353,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -552,7 +562,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -634,7 +647,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -684,7 +700,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { @@ -865,7 +884,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1096,7 +1118,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1232,7 +1257,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json index fb3eec4b0188..897f5233a44c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json index 8435c207ccdf..2356d1572b40 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json index 0a2b2365e8ef..3d7466084429 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json index 96fe34d43a14..b8a14b8b34c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -350,7 +353,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -552,7 +562,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -634,7 +647,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -684,7 +700,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { @@ -865,7 +884,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1096,7 +1118,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1232,7 +1257,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json index f1450680eb03..b7d1fb22d134 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json index bc8e7d332397..c02b92b6f8aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json index 2a7cf4e26c3a..ed21027ad77c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json index 14e95ae54be8..310bd618dccb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json @@ -166,7 +166,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -350,7 +353,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -552,7 +562,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -634,7 +647,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -684,7 +700,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { @@ -865,7 +884,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1096,7 +1118,10 @@ "description": "" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1232,7 +1257,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index c286bf41c191..0903994cf034 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json index fd4c70ddc062..4d32a7a16d1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json index cd6df0f50587..2f62cef6d54a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json index 2aa61a123d6a..cadd14e4a10c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json index 625699d9495b..f5a28aa09fba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json @@ -6,14 +6,8 @@ "localNetworkGatewayName": "localgw" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json index 908c0bda2116..ab6f5680f7bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -82,10 +82,12 @@ "provisioningState": "Updating", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, @@ -109,10 +111,12 @@ "provisioningState": "Updating", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json index c4c04fa6b034..09ff29b9c4d4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -6,14 +6,8 @@ "virtualNetworkGatewayConnectionName": "conn1" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json index a3188c1ad8b9..ea5606c93b09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -17,10 +17,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json index 6c19d63a7a50..71237aa4fee6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -8,9 +8,7 @@ "responses": { "200": { "body": { - "properties": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json index 7be78067844d..94db75cb9e48 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -5,19 +5,15 @@ "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "conn1", "parameters": { - "properties": { - "keyLength": 128 - } + "keyLength": 128 } }, "responses": { "200": { "body": { - "value": "" + "keyLength": 128 } }, - "202": { - "body": {} - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json index a80a2e8029fb..229dce8f6b72 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -5,17 +5,19 @@ "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "properties": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" } }, "responses": { "200": { - "body": {} + "body": { + "value": "AzureAbc123" + } }, "201": { - "body": {} + "body": { + "value": "AzureAbc123" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json index c63ce5ddb634..5e25c896a3de 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -18,10 +18,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, @@ -42,10 +44,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json index c3f16ec68855..f4e2919af473 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json @@ -6,14 +6,8 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json index 1912afa8bbd8..ccdf1a7e3f13 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -3,11 +3,12 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "parameters": {} }, "responses": { "200": { - "body": {} + "body": "" }, "202": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json index 58d97c19fe39..936484d6d620 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -3,14 +3,13 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "parameters": {} }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json index 58d97c19fe39..4377103705fc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -3,12 +3,11 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "peer": "test" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json index 58d97c19fe39..6ecdf4ec84f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -6,9 +6,7 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json index 58d97c19fe39..0e36073e71aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -6,11 +6,9 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json index 58d97c19fe39..6ecdf4ec84f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -6,9 +6,7 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json index 58d97c19fe39..72d2a380c29f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json @@ -6,11 +6,50 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json index 88e1b88d6762..419e9d6cc63a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -7,9 +7,7 @@ }, "responses": { "200": { - "body": { - "string": "" - } + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json index 7b4e9e3a3be6..0bd8ed2c76f1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -3,20 +3,16 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw", + "virtualNetworkGatewayConnectionName": "vpngw", "parameters": { - "properties": { - "vendor": "Cisco", - "deviceFamily": "ISR", - "firmwareVersion": "IOS 15.1 (Preview)" - } + "vendor": "Cisco", + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)" } }, "responses": { "200": { - "body": { - "string": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " - } + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json index 63885181d527..ec4269e5c841 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json @@ -181,7 +181,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -375,7 +378,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -492,6 +498,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -542,7 +549,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -597,7 +607,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -689,7 +702,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -744,7 +760,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -796,7 +815,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": { @@ -1037,7 +1059,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1288,7 +1313,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1439,7 +1467,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index d5d1a6ac41ef..aad03d1b89f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json index 07753c249a33..9a6ba68c3290 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json index 139d2df17e29..b5aba1d9f71b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json index 66530c1751d7..d2e3b8b088bf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index a97f9c22c704..157170166f4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json index 5b3179e4185e..d458ac071392 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-04-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json index 8d43c400f4fb..5fa38b5fd810 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -490,6 +496,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -540,7 +547,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -595,7 +605,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -687,7 +700,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -742,7 +758,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -795,6 +814,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1045,7 +1070,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1296,7 +1324,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1447,7 +1478,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json index 013e1be60874..ab03832dfd8c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index ba9bdce30668..2bdbcc762c58 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json index bf5b7bfd577d..cc561a5b58ac 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json index 7c2699f94178..d0fa36c9ef87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json index 929bc0daf253..9cb203a4ea14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index 8a8f216e660f..32e6f5282e9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json index eabf0417a477..35eccf253b3d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-06-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json index a57036efaab8..23bddd072938 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { @@ -418,7 +424,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -535,6 +544,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +595,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -640,7 +653,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -732,7 +748,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -787,7 +806,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +910,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1090,7 +1118,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1341,7 +1372,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1492,7 +1526,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json index e596818c996f..d7a49dc9f5a9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index e6cb140ee0c2..c00667c31d03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json index 7723eed4c3cc..918521942656 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json index 91670cebd8bd..ca59aeae4f6d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json index 2001f622da41..6d0ecd186351 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index 5a5ed3a715c3..8c046b92d407 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json index f1cc85031bbc..4ac5b0c3a504 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-07-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json index 332a2ceaf8f4..d6919999f40c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -490,6 +496,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -540,7 +547,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -595,7 +605,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -687,7 +700,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -742,7 +758,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -795,6 +814,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1045,7 +1070,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1296,7 +1324,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1447,7 +1478,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json index d176c711fd3b..aad651c13e50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index c11d180f30ad..6811afe19c68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json index d74beede6bc5..26cc86915694 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-08-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json index 0965c7ac58b2..35395c3673f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json index c45482aa6cd3..f76b4f7675dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json index 05183b45319a..debe578c0e98 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json index 0cf0947164f8..8c1ec0c50863 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json index 8de0ad48fb47..0264846ad1ee 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json index 314f52b36b36..912f95ecd696 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 9a54ec3608de..830a30916068 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json index 80e0a328e5fa..5450f7ca2ab9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-10-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json index 872e96f76d98..66239951a2c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json index e59214f7eaf4..f86fe146a72d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json index c814f2721be3..82cf7399f777 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json index 0fbecaa7da17..0df91d5511fc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json index ec3b0c1ab61a..5879daf36c37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json index e08e56a2411a..2c437443abe7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 520d7f851df2..2d96f4267d10 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json index 434bb14c4f32..574e85667c9a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-11-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json index e5c6f904afa6..8ca959f046c0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json @@ -12,30 +12,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json index 3f2d364168c7..1db1761d0239 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json @@ -15,30 +15,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -71,12 +55,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json index 1db1be941d2e..12494336ec0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json @@ -12,17 +12,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -32,13 +22,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -71,12 +55,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json index cb8af37cce41..728e0032ec09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json index ee9f18d7ea98..5ca3d704236f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 78fa9b288fad..a82997303b34 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json index 4b3e72e53b74..711353d1ab37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-12-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json index 69e64b2a09f9..a0b79195132e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json index 1a10f9f00870..8db0140db39c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json index 1e3d73eaaea0..7a8a99a512ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json index 3797e6c73adc..b5ec83586676 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json index f208a2270c5d..51d5bc780a1f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json index 68c20f3e0723..51e0417b69ba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 1912b77318af..0877ff2f357e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json index 07714c13f8d5..0906fb79cbe9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2019-02-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json index d93b5581e86e..8bc63b0bf5dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json index 967c807fa21a..05db41f71c3f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json index e60bd8e825e7..b90d6ac3c239 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json index a7cdc4988ba6..f00779575524 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json @@ -15,11 +15,6 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" } - ], - "subnets": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json index 8f7ac002ff14..5fb7aac5e973 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json index 8186e99414cf..d1ea11456a71 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json @@ -487,6 +487,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -546,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 061deced429f..bc92c62a36c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json index dafac5459191..b0a43343b512 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2019-04-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json index d30dddd9a98c..f9cd90499629 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json @@ -15,11 +15,6 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" } - ], - "subnets": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json index 01544e532e2b..49dcb96c21a1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json @@ -6,7 +6,6 @@ "serviceName": "testPls", "parameters": { "properties": { - "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json index df5b3976548e..be00a59d91d8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json index 9de14acd38fd..32e31b1329c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json @@ -487,6 +487,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -546,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } From 4a30809ff4b5721d738f3367829d5bc4c7876999 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Wed, 12 Jun 2019 16:21:54 -0700 Subject: [PATCH 012/495] Fixed SpecPath batch (#6179) From 14f8c07e0ea91fefb758b44f9afb6a934de6c431 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:22:48 -0400 Subject: [PATCH 013/495] chore: jsonfmt notificationhubs (#6188) * chore: jsonfmt notificationhubs Ran `jsonfmt -w "specification/notificationhubs/**/*.json"` * chore: Remove example "description" for model validation --- .../stable/2014-09-01/notificationhubs.json | 2 +- .../2017-04-01/examples/NHOperationsList.json | 80 +++++++------------ .../NHNameSpaceAuthorizationRuleCreate.json | 2 +- .../NHNameSpaceAuthorizationRuleDelete.json | 2 +- .../NHNameSpaceAuthorizationRuleGet.json | 2 +- .../NHNameSpaceAuthorizationRuleListAll.json | 2 +- .../NHNameSpaceAuthorizationRuleListKey.json | 2 +- ...ameSpaceAuthorizationRuleRegenrateKey.json | 2 +- .../NHNameSpaceAuthorizationRuleUpdate.json | 2 +- .../NHNameSpaceCheckNameAvailability.json | 2 +- .../Namespaces/NHNameSpaceCreate.json | 2 +- .../Namespaces/NHNameSpaceDelete.json | 2 +- .../examples/Namespaces/NHNameSpaceGet.json | 2 +- .../examples/Namespaces/NHNameSpaceList.json | 2 +- .../NHNameSpaceListByResourceGroup.json | 2 +- .../Namespaces/NHNameSpaceUpdate.json | 2 +- ...otificationHubAuthorizationRuleCreate.json | 2 +- ...otificationHubAuthorizationRuleDelete.json | 2 +- .../NotificationHubAuthorizationRuleGet.json | 2 +- ...tificationHubAuthorizationRuleListAll.json | 2 +- ...tificationHubAuthorizationRuleListKey.json | 2 +- ...ationHubAuthorizationRuleRegenrateKey.json | 2 +- ...otificationHubAuthorizationRuleUpdate.json | 2 +- .../NotificationHubCheckNameAvailability.json | 2 +- .../NotificationHubCreate.json | 2 +- .../NotificationHubDebugSend.json | 52 ++++++------ .../NotificationHubDelete.json | 2 +- .../NotificationHubs/NotificationHubGet.json | 2 +- .../NotificationHubListByNameSpace.json | 2 +- .../NotificationHubPatch.json | 43 +++++----- .../NotificationHubPnsCredentials.json | 2 +- .../NotificationHubUpdate.json | 2 +- .../stable/2017-04-01/notificationhubs.json | 2 +- 33 files changed, 104 insertions(+), 131 deletions(-) diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json index 4197986d223b..576988c34dbd 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json @@ -1773,4 +1773,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NHOperationsList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NHOperationsList.json index b5fe90e25f3a..f9e06f6e2ce9 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NHOperationsList.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NHOperationsList.json @@ -11,8 +11,7 @@ "display": { "provider": "Microsoft Azure Notification Hub", "resource": "Microsoft Azure Notification Hub", - "operation": "Registers the NotificationHubs Provider", - "description": "Registers the subscription for the NotifciationHubs resource provider and enables the creation of Namespaces and NotificationHubs" + "operation": "Registers the NotificationHubs Provider" } }, { @@ -20,8 +19,7 @@ "display": { "provider": "Microsoft Azure Notification Hub", "resource": "Microsoft Azure Notification Hub", - "operation": "Unregisters the NotificationHubs Provider", - "description": "Unregisters the subscription for the NotifciationHubs resource provider and enables the creation of Namespaces and NotificationHubs" + "operation": "Unregisters the NotificationHubs Provider" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Azure Notification Hub", "resource": "Microsoft Azure Notification Hub", - "operation": "Operation results for Notification Hubs provider", - "description": "Returns operation results for Notification Hubs provider" + "operation": "Operation results for Notification Hubs provider" } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Azure Notification Hub", "resource": "Microsoft Azure Notification Hub", - "operation": "Get namespace availability.", - "description": "Checks availability of namespace under given subscription." + "operation": "Get namespace availability." } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Azure Notification Hub", "resource": "Namespace", - "operation": "Create Or Update Namespace ", - "description": "Create a Namespace Resource and Update its properties. Tags and status of the Namespace are the properties which can be updated." + "operation": "Create Or Update Namespace " } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "Namespace", - "operation": "Get Namespace Resource", - "description": "Get the list of Namespace Resource Description" + "operation": "Get Namespace Resource" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "Namespace", - "operation": "Delete Namespace", - "description": "Delete Namespace Resource" + "operation": "Delete Namespace" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Create or Update Namespace Authorization Rules", - "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Namespace Authorization Rules" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules", - "description": "Get the list of Namespaces Authorization Rules description." + "operation": "Get Namespace Authorization Rules" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules", - "description": "Get the list of Namespaces Authorization Rules description." + "operation": "Get Namespace Authorization Rules" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Delete Namespace Authorization Rule", - "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. " + "operation": "Delete Namespace Authorization Rule" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Get Namespace Listkeys", - "description": "Get the Connection String to the Namespace" + "operation": "Get Namespace Listkeys" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "AuthorizationRules", - "operation": "CheckNotificationHubAvailability", - "description": "Checks whether or not a given NotificationHub name is available inside a Namespace" + "operation": "CheckNotificationHubAvailability" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub", - "operation": "Create or Update notification hub", - "description": "Create or Update notificationHub properties." + "operation": "Create or Update notification hub" } }, { @@ -146,8 +131,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub", - "operation": "Get notification hub", - "description": "Get notification hub resource" + "operation": "Get notification hub" } }, { @@ -155,8 +139,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub", - "operation": "Delete notification hub", - "description": "Operation to delete notification hub resource" + "operation": "Delete notification hub" } }, { @@ -164,8 +147,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub Authorization Rule", - "operation": "Create or Update NotificationHub Authorization Rule", - "description": "Create NotificationHub Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update NotificationHub Authorization Rule" } }, { @@ -173,8 +155,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub AuthorizationRules", - "operation": " Get NotificationHub Authorization Rules", - "description": " Get the list of NotificationHub Authorization Rules" + "operation": " Get NotificationHub Authorization Rules" } }, { @@ -182,8 +163,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub AuthorizationRules", - "operation": " Get NotificationHub Authorization Rules", - "description": " Get the list of NotificationHub Authorization Rules" + "operation": " Get NotificationHub Authorization Rules" } }, { @@ -191,8 +171,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub AuthorizationRules", - "operation": "Delete NotificationHub Authorization Rules", - "description": "Operation to delete NotificationHub Authorization Rules" + "operation": "Delete NotificationHub Authorization Rules" } }, { @@ -200,8 +179,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub AuthorizationRules", - "operation": "List NotificationHub keys", - "description": "Get the Connection String to NotificationHub" + "operation": "List NotificationHub keys" } }, { @@ -209,8 +187,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -218,8 +195,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub PnsCredential", - "operation": "Resource Get Notification Hub PNS Credentials", - "description": "Get All Notification Hub PNS Credentials. This includes, WNS, MPNS, APNS, GCM and Baidu credentials" + "operation": "Resource Get Notification Hub PNS Credentials" } }, { @@ -227,8 +203,7 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub resource", - "operation": "Send a test push notification", - "description": "Send a test push notification" + "operation": "Send a test push notification" } }, { @@ -236,12 +211,11 @@ "display": { "provider": "Microsoft Azure NotificationHubs", "resource": "NotificationHub metrics", - "operation": "Get NotificationHub metrics", - "description": "Get list of Namespace metrics Resource Descriptions" + "operation": "Get NotificationHub metrics" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleCreate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleCreate.json index 84d19ba9971a..be888ff78c40 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleCreate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleCreate.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleDelete.json index e86818c2347b..8409198d94d5 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleDelete.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleGet.json index 4c291461aac0..2069998a2915 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleGet.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListAll.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListAll.json index 74949466bb05..e29f2ae98b33 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListAll.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListAll.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListKey.json index f5b04f9c6ae9..288825dbd4fc 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListKey.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListKey.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleRegenrateKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleRegenrateKey.json index be2d6daa5c4a..b3bfa4e432d7 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleRegenrateKey.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleRegenrateKey.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleUpdate.json index 24dbdc12a059..0537d9156ec3 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleUpdate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleUpdate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCheckNameAvailability.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCheckNameAvailability.json index 404417e9d9b4..766eeabae3e4 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCheckNameAvailability.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCheckNameAvailability.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCreate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCreate.json index f4a97d74f754..456bb2bee1e8 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCreate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceCreate.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceDelete.json index 6b3fb662c4c2..d8d42990eac2 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceDelete.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceGet.json index 68bf51348d1f..626282d2259b 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceGet.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceGet.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceList.json index 0aaeb2151247..58c2fdf581e5 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceList.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceList.json @@ -770,4 +770,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceListByResourceGroup.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceListByResourceGroup.json index a791caa3bee4..fbedd736ef70 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceListByResourceGroup.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceListByResourceGroup.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceUpdate.json index be0099342fc8..e8940d545638 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceUpdate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceUpdate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleCreate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleCreate.json index d18a966e0c69..7e5acb96fb2c 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleCreate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleCreate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleDelete.json index 9ef8936a3515..193fabdeb5b5 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleDelete.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleGet.json index 244bc2963e3b..00c50dfcac95 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleGet.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListAll.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListAll.json index 50dacd68f559..f670fe22d912 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListAll.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListAll.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListKey.json index d59024e1591c..e7b7cb9c6d69 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListKey.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleRegenrateKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleRegenrateKey.json index 8c83650c1015..21e6929e5448 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleRegenrateKey.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleRegenrateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleUpdate.json index f4efc20bd184..0f086b3a4492 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleUpdate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubAuthorizationRuleUpdate.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCheckNameAvailability.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCheckNameAvailability.json index 3c74dbc0c57b..d46677888726 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCheckNameAvailability.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCheckNameAvailability.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json index 759bf43b86df..a08629736870 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubCreate.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDebugSend.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDebugSend.json index 938171fc063c..1426c5ac8a83 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDebugSend.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDebugSend.json @@ -1,30 +1,30 @@ { + "parameters": { + "namespaceName": "nh-sdk-ns", + "resourceGroupName": "5ktrial", + "notificationHubName": "nh-sdk-hub", + "api-version": "2017-04-01", + "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", "parameters": { - "namespaceName": "nh-sdk-ns", - "resourceGroupName": "5ktrial", - "notificationHubName": "nh-sdk-hub", - "api-version": "2017-04-01", - "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", - "parameters": { - "data": { - "message": "Hello" - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", - "name": "nh-sdk-hub", - "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", - "location": "South Central US", - "tags": null, - "properties": { - "success": 1, - "failure": 0, - "results": null - } - } + "data": { + "message": "Hello" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", + "name": "nh-sdk-hub", + "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", + "location": "South Central US", + "tags": null, + "properties": { + "success": 1, + "failure": 0, + "results": null } + } } -} \ No newline at end of file + } +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDelete.json index 5ad65b1529a5..ff2b9e055832 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDelete.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDelete.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubGet.json index 3d7eedffabc9..bcd44160c1cc 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubGet.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubGet.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubListByNameSpace.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubListByNameSpace.json index 40af498162f9..a59b5a97d822 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubListByNameSpace.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubListByNameSpace.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPatch.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPatch.json index fddb1ce919ef..f6dec910731b 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPatch.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPatch.json @@ -1,26 +1,25 @@ { - "parameters": { - "namespaceName": "nh-sdk-ns", - "resourceGroupName": "sdkresourceGroup", - "notificationHubName": "sdk-notificationHubs-8708", - "api-version": "2017-04-01", - "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", - "parameters": { - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", - "name": "nh-sdk-hub", - "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", - "location": "South Central US", - "tags": null, - "properties": { - "registrationTtl": "10675199.02:48:05.4775807", - "authorizationRules": [] - } + "parameters": { + "namespaceName": "nh-sdk-ns", + "resourceGroupName": "sdkresourceGroup", + "notificationHubName": "sdk-notificationHubs-8708", + "api-version": "2017-04-01", + "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", + "parameters": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", + "name": "nh-sdk-hub", + "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", + "location": "South Central US", + "tags": null, + "properties": { + "registrationTtl": "10675199.02:48:05.4775807", + "authorizationRules": [] } } } - } \ No newline at end of file + } +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPnsCredentials.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPnsCredentials.json index 080b5b54c577..087ec49dd6a5 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPnsCredentials.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPnsCredentials.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubUpdate.json index 7fff0cc3a6fb..e878df412f85 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubUpdate.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubUpdate.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json index 69e745a9ea1d..2236a73aff12 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json @@ -2358,4 +2358,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} From e19543a6a361096e5ca11a42424a39025fd008fa Mon Sep 17 00:00:00 2001 From: EvgenyAgafonchikov Date: Thu, 13 Jun 2019 02:23:37 +0300 Subject: [PATCH 014/495] Add missing values to enum (#6212) --- .../stable/2017-06-01/applicationGateway.json | 5 ++++- .../stable/2017-08-01/applicationGateway.json | 5 ++++- .../stable/2017-09-01/applicationGateway.json | 5 ++++- .../stable/2017-10-01/applicationGateway.json | 5 ++++- .../stable/2017-11-01/applicationGateway.json | 5 ++++- .../stable/2018-01-01/applicationGateway.json | 5 ++++- .../stable/2018-02-01/applicationGateway.json | 5 ++++- .../stable/2018-04-01/applicationGateway.json | 5 ++++- .../stable/2018-06-01/applicationGateway.json | 5 ++++- .../stable/2018-07-01/applicationGateway.json | 5 ++++- .../stable/2018-08-01/applicationGateway.json | 5 ++++- .../stable/2018-10-01/applicationGateway.json | 5 ++++- .../stable/2018-11-01/applicationGateway.json | 5 ++++- .../stable/2018-12-01/applicationGateway.json | 5 ++++- .../stable/2019-02-01/applicationGateway.json | 5 ++++- .../stable/2019-04-01/applicationGateway.json | 5 ++++- 16 files changed, 64 insertions(+), 16 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json index 93579cdf3124..e298871d844a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json @@ -1934,7 +1934,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json index a280c9fce699..c6ad52fd314f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json @@ -1934,7 +1934,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json index 5e4622901e7a..5c5161fb0067 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json @@ -1986,7 +1986,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json index 5ebc398853c7..90759d105d76 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json @@ -1990,7 +1990,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json index f2d92e91a98e..cdbc7b7430c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json @@ -1990,7 +1990,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json index d0db8c7bc546..9418219db78d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json @@ -2048,7 +2048,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json index af91ac405cc0..ed2c5485ddfd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json @@ -2048,7 +2048,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json index b627994aec01..3f9a82e4873f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json @@ -2098,7 +2098,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json index f5f66518c04c..7221157baf92 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json @@ -2098,7 +2098,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json index 9c4b9392e145..83f158366bb7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json @@ -2098,7 +2098,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json index 65a8181dc921..35712e017678 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json @@ -2221,7 +2221,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json index 09c38aebd0a7..713e81dae843 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json @@ -2334,7 +2334,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json index 93722571c0d4..ce212337d6fe 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json @@ -2470,7 +2470,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json index 30c356a6a326..8e9f8347175a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json @@ -2510,7 +2510,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json index e51f1b089d1e..13d88cff8196 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json @@ -2621,7 +2621,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json index 849142ccf10a..cec2ed2196e9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json @@ -2628,7 +2628,10 @@ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" ], "x-ms-enum": { "name": "ApplicationGatewaySslCipherSuite", From c7a6b470d7bb65a240739e99a4d123ed1a3ca7e9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:24:50 -0400 Subject: [PATCH 015/495] chore: jsonfmt resources (#6237) Ran `jsonfmt -w "specification/resources/**/*.json"` --- .../createOrUpdatePolicySetDefinition.json | 5 +- ...ePolicySetDefinitionAtManagementGroup.json | 2 +- .../examples/createPolicyAssignment.json | 26 +++++--- .../getBuiltInPolicySetDefinition.json | 2 +- .../examples/getPolicyAssignment.json | 14 +++-- .../examples/getPolicySetDefinition.json | 2 +- ...tPolicySetDefinitionAtManagementGroup.json | 2 +- .../listBuiltInPolicySetDefinitions.json | 2 +- .../examples/listPolicyAssignments.json | 16 +++-- .../examples/listPolicySetDefinitions.json | 2 +- ...PolicySetDefinitionsByManagementGroup.json | 2 +- .../2017-06-01-preview/policyAssignments.json | 2 +- .../policySetDefinitions.json | 2 +- .../stable/2016-09-01/locks.json | 16 +++-- .../stable/2016-12-01/policyAssignments.json | 2 +- .../createOrUpdatePolicyDefinition.json | 2 +- ...datePolicyDefinitionAtManagementGroup.json | 2 +- .../createOrUpdatePolicySetDefinition.json | 2 +- ...ePolicySetDefinitionAtManagementGroup.json | 2 +- .../examples/createPolicyAssignment.json | 18 ++++-- .../examples/createPolicyAssignmentById.json | 2 +- .../examples/deletePolicyAssignment.json | 10 +++- .../examples/deletePolicyAssignmentById.json | 2 +- .../examples/deletePolicyDefinition.json | 2 +- ...letePolicyDefinitionAtManagementGroup.json | 2 +- .../examples/deletePolicySetDefinition.json | 2 +- ...ePolicySetDefinitionAtManagementGroup.json | 2 +- .../getBuiltInPolicySetDefinition.json | 2 +- .../examples/getBuiltinPolicyDefinition.json | 2 +- .../examples/getPolicyAssignment.json | 10 +++- .../examples/getPolicyAssignmentById.json | 2 +- .../examples/getPolicyDefinition.json | 2 +- .../getPolicyDefinitionAtManagementGroup.json | 2 +- .../examples/getPolicySetDefinition.json | 2 +- ...tPolicySetDefinitionAtManagementGroup.json | 2 +- .../listBuiltInPolicySetDefinitions.json | 2 +- .../examples/listPolicyAssignments.json | 8 ++- .../listPolicyAssignmentsForResource.json | 8 ++- ...listPolicyAssignmentsForResourceGroup.json | 8 ++- .../examples/listPolicyDefinitions.json | 2 +- ...istPolicyDefinitionsByManagementGroup.json | 2 +- .../examples/listPolicySetDefinitions.json | 2 +- ...PolicySetDefinitionsByManagementGroup.json | 2 +- .../stable/2018-03-01/policyAssignments.json | 2 +- .../2018-03-01/policySetDefinitions.json | 2 +- .../createOrUpdatePolicyDefinition.json | 2 +- ...datePolicyDefinitionAtManagementGroup.json | 2 +- .../createOrUpdatePolicySetDefinition.json | 2 +- ...ePolicySetDefinitionAtManagementGroup.json | 2 +- .../examples/createPolicyAssignment.json | 18 ++++-- .../examples/createPolicyAssignmentById.json | 2 +- .../createPolicyAssignmentWithIdentity.json | 18 ++++-- ...reatePolicyAssignmentWithIdentityById.json | 2 +- .../examples/deletePolicyAssignment.json | 10 +++- .../examples/deletePolicyAssignmentById.json | 2 +- .../examples/deletePolicyDefinition.json | 2 +- ...letePolicyDefinitionAtManagementGroup.json | 2 +- .../examples/deletePolicySetDefinition.json | 2 +- ...ePolicySetDefinitionAtManagementGroup.json | 2 +- .../getBuiltInPolicySetDefinition.json | 2 +- .../examples/getBuiltinPolicyDefinition.json | 2 +- .../examples/getPolicyAssignment.json | 10 +++- .../examples/getPolicyAssignmentById.json | 2 +- .../getPolicyAssignmentWithIdentity.json | 10 +++- .../getPolicyAssignmentWithIdentityById.json | 2 +- .../examples/getPolicyDefinition.json | 2 +- .../getPolicyDefinitionAtManagementGroup.json | 2 +- .../examples/getPolicySetDefinition.json | 2 +- ...tPolicySetDefinitionAtManagementGroup.json | 2 +- .../listBuiltInPolicySetDefinitions.json | 2 +- .../examples/listPolicyAssignments.json | 8 ++- .../listPolicyAssignmentsForResource.json | 8 ++- ...listPolicyAssignmentsForResourceGroup.json | 8 ++- .../examples/listPolicyDefinitions.json | 2 +- ...istPolicyDefinitionsByManagementGroup.json | 2 +- .../examples/listPolicySetDefinitions.json | 2 +- ...PolicySetDefinitionsByManagementGroup.json | 2 +- .../stable/2018-05-01/policyAssignments.json | 2 +- .../2018-05-01/policySetDefinitions.json | 2 +- .../2015-12-01/examples/getFeature.json | 38 ++++++------ .../examples/listFeaturesOperations.json | 54 ++++++++--------- .../examples/listProviderFeatures.json | 60 +++++++++---------- .../examples/listSubscriptionFeatures.json | 58 +++++++++--------- .../2015-12-01/examples/registerFeature.json | 38 ++++++------ .../stable/2015-12-01/features.json | 2 +- .../stable/2015-11-01/resources.json | 2 +- .../stable/2016-02-01/resources.json | 2 +- .../stable/2016-06-01/subscriptions.json | 2 +- .../stable/2016-07-01/resources.json | 2 +- .../stable/2016-09-01/links.json | 6 +- .../stable/2016-09-01/resources.json | 2 +- ...thOnErrorDeploymentSpecificDeployment.json | 2 +- .../examples/CreateResourceGroup.json | 4 +- ...thOnErrorDeploymentSpecificDeployment.json | 2 +- .../stable/2018-05-01/resources.json | 4 +- .../stable/2018-06-01/subscriptions.json | 2 +- .../examples/CreateResourceGroup.json | 4 +- ...thOnErrorDeploymentSpecificDeployment.json | 2 +- .../stable/2019-03-01/resources.json | 4 +- .../examples/CreateResourceGroup.json | 4 +- .../PutDeploymentAtManagementGroup.json | 2 +- ...thOnErrorDeploymentSpecificDeployment.json | 2 +- .../stable/2019-05-01/resources.json | 10 ++-- .../examples/createOrUpdateAppliance.json | 6 +- .../createOrUpdateApplianceDefinition.json | 2 +- .../examples/getAppliance.json | 4 +- .../examples/getApplianceDefinition.json | 2 +- ...stApplianceDefinitionsByResourceGroup.json | 2 +- .../listAppliancesByResourceGroup.json | 2 +- .../examples/createOrUpdateApplication.json | 6 +- .../createOrUpdateApplicationDefinition.json | 2 +- .../2017-09-01/examples/getApplication.json | 4 +- .../examples/getApplicationDefinition.json | 2 +- ...ApplicationDefinitionsByResourceGroup.json | 2 +- .../listApplicationsByResourceGroup.json | 2 +- .../examples/createOrUpdateApplication.json | 6 +- .../createOrUpdateApplicationDefinition.json | 2 +- .../2018-06-01/examples/getApplication.json | 4 +- .../examples/getApplicationDefinition.json | 2 +- ...ApplicationDefinitionsByResourceGroup.json | 2 +- .../listApplicationsByResourceGroup.json | 2 +- 121 files changed, 408 insertions(+), 303 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json index 21d0f2becb7a..94641f13653d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json @@ -18,7 +18,8 @@ "value": [ "Standard_GRS", "Standard_LRS" - ] } + ] + } } } ] @@ -85,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json index 53060cf81010..af4228eed747 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json index dd58800f7d06..86b9597963ee 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json @@ -11,12 +11,18 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, - "notScopes": [ "/subscriptions/subId/resourcegroups/testingResourceGroup" ] + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "notScopes": [ + "/subscriptions/subId/resourcegroups/testingResourceGroup" + ] }, "sku": { "name": "A0", - "tier": "Free" + "tier": "Free" } } }, @@ -34,9 +40,15 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, - "notScopes": [ "/subscriptions/subId/resourcegroups/testingResourceGroup" ], - "scope": "/subscriptions/subId" + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "notScopes": [ + "/subscriptions/subId/resourcegroups/testingResourceGroup" + ], + "scope": "/subscriptions/subId" }, "sku": { "name": "A0", @@ -45,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json index 4d9cc3af8b5d..89fcc941dd61 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json index 181a58356659..5c55c15ccfd3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json @@ -18,9 +18,15 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, - "notScopes": [ "/subscriptions/subId/resourcegroups/testingResourceGroup" ], - "scope": "/subscriptions/subId" + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "notScopes": [ + "/subscriptions/subId/resourcegroups/testingResourceGroup" + ], + "scope": "/subscriptions/subId" }, "sku": { "name": "A0", @@ -29,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json index 858495875e82..15ce54fd2ef7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json index e936d6d939ec..30766edc0d39 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json index b4c2354de76f..cb0df6dbfeb2 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json index 1efa7d579fff..ec7f66bd5986 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json @@ -1,8 +1,8 @@ { "parameters": { - "subscriptionId": "subId", + "subscriptionId": "subId", "api-version": "2017-06-01-preview", - "$filter": "atScope()" + "$filter": "atScope()" }, "responses": { "200": { @@ -20,8 +20,14 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, - "notScopes": [ "/subscriptions/subId/resourcegroups/testingResourceGroup" ], + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "notScopes": [ + "/subscriptions/subId/resourcegroups/testingResourceGroup" + ], "scope": "/subscriptions/subId" }, "sku": { @@ -48,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json index 0759c52a1ee2..9913a9179141 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json index c6e4f76a37e7..a737f24e88e0 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json index 0be0da5f5b0e..57ae7b18d273 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json @@ -617,4 +617,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json index 39cf5669a1d3..156885f22b56 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json @@ -604,4 +604,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json index bbc4b780bbd6..15ce9bc3d51d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json @@ -116,7 +116,7 @@ } } }, - "delete": { + "delete": { "tags": [ "ManagementLocks" ], @@ -157,7 +157,7 @@ } } }, - "get": { + "get": { "tags": [ "ManagementLocks" ], @@ -234,7 +234,7 @@ } ], "responses": { - "200": { + "200": { "description": "OK", "schema": { "$ref": "#/definitions/ManagementLockObject" @@ -840,7 +840,7 @@ } ], "responses": { - "200": { + "200": { "description": "OK - Returns an array of resource locks.", "schema": { "$ref": "#/definitions/ManagementLockListResult" @@ -891,7 +891,9 @@ "description": "The owners of the lock." } }, - "required": [ "level" ], + "required": [ + "level" + ], "description": "The lock properties." }, "ManagementLockObject": { @@ -917,7 +919,9 @@ "description": "The name of the lock." } }, - "required": [ "properties" ], + "required": [ + "properties" + ], "description": "The lock information.", "x-ms-azure-resource": true }, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json index a41808b639d4..7e13bea61fa4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json @@ -497,4 +497,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json index d4cf748440dd..f29b735add48 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json index 569cfbc1e754..841632006b8f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json index 8d8d28305c31..185b0c63fc37 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json index f1bb3202d999..af4f8b7269a1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json index 91d787d65e81..e98f5550fc32 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json @@ -12,8 +12,12 @@ }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } } } } @@ -31,8 +35,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -42,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json index 95e2ddebc025..af1bde2bf14c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json index e059b25b8667..6b1eb454cab0 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json @@ -17,8 +17,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -31,4 +35,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json index 80993c98c999..ef76fa98c58e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json @@ -33,4 +33,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json index b949bea56dd4..074a5a3fc581 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json index f97165d04d4a..4f47a7b6f56e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json index 5b1bb6b6683e..fb69ee89e778 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json index 9d6faced3ace..19240079965c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json index d96fc2fbc180..3a1d1f5293f1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json index f3c5fb44513e..b607ba824284 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json index cc41dbe14d1d..eca9fa4c383a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json @@ -17,8 +17,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -28,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json index b467541ba0ea..15de9749208b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json index 3b8b9a17a9d4..58481c0af0b4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json index 9ab52b934d89..a581a5bf6265 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json index 9a4b0446fa19..97df8b2c3387 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json index e772c0e34134..a5c291fc343e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json index 2342b6d79569..deb3f5d875d8 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json index a89b04239ade..227aa8f44b17 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json @@ -20,7 +20,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", "notScopes": [] }, @@ -49,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json index b51387648cd7..023e2f22b8c4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json @@ -24,7 +24,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] }, @@ -53,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json index 610313d66d3e..c01df82c209b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -21,7 +21,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] }, @@ -50,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json index 107c84205f65..bea8aa2b7863 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json index 11047a850cdc..dbf1eff38e82 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json index 5ae10d030492..02cd5286d7d1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json index 42301ff37ed6..142be7f133fa 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json index 0d592a937fac..fb74484c704e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json @@ -653,4 +653,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json index 8a13671ca796..a8b1e87d65fc 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json @@ -622,4 +622,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json index 8935b17c5686..a1fbbbe9641b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json index cf515547633e..ec85decf43b1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json index 0568db3364aa..c01d92d5359a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json index ec5f880a33d3..9db843bd3dbc 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json index ae4d89e27b74..f2252da0ce0d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json @@ -12,8 +12,12 @@ }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } } } } @@ -31,8 +35,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -42,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json index 28344af849e2..c0fe29f7ac4a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json index 4d809980ff77..8ac2ba38b422 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json @@ -16,8 +16,12 @@ }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } } } } @@ -35,8 +39,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -52,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json index 3ba016a1cb98..ba152494a0a5 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json index 516bafd91e2b..0a3c60c0a772 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json @@ -17,8 +17,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -31,4 +35,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json index 8a462bfd0cad..a61cea3671d3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json @@ -33,4 +33,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json index f32ea32faeb7..f907f69842c3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json index 16c0234a44b9..873f57ae6eaf 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json index 080f929adce4..248768b19885 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json index bdf31d554af8..bde85e0cc98c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json index 6fbd923c4297..0f1f03ec6ea6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json index 56c63b99943a..0fdd94e3416b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json index b8ca0e6bf2a2..9c44a26e23b4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json @@ -17,8 +17,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -28,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json index ba0eaf4b0b64..7b8834425081 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json index 079fb3130320..5294143f1ead 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json @@ -17,8 +17,12 @@ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", "notScopes": [], "parameters": { - "prefix": { "value": "DeptA" }, - "suffix": { "value": "-LC" } + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } }, "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" }, @@ -34,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json index 6f191485ac80..ffb63302a998 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json index d44d55d001bc..bec9cc903cd0 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json index c8b303ea0a28..32480de5df33 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json index 7309cdfec628..38d31355627d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json index 4dec00949544..e8608810236d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json index 3fe311df7a85..90a1a873c5a8 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json index 52184cdc21f9..f1f06499484f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json @@ -26,7 +26,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", "notScopes": [] }, @@ -55,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json index 156e2fb6d7a8..757521ef2f8d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json @@ -30,7 +30,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] }, @@ -59,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json index 11d9af70fa6d..43c33fde7bab 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -27,7 +27,11 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", - "parameters": { "allowedSkus": { "type": "Array" } }, + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] }, @@ -56,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json index 56082ea4ee35..e43d022d39ea 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json index 9662b9335b14..76b5c16e192f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json index b618321c62e7..5c5e4795bcd8 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json index 63af1ce3cfdc..c8389e78e9f1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json index 548222aa58f3..d2fc217a17c2 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json @@ -700,4 +700,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json index 13a467325aa8..af54904f190a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json @@ -622,4 +622,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json index 5e3a0f9f07df..0a0a1a60e8a5 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json @@ -1,21 +1,21 @@ { - "parameters": { - "resourceProviderNamespace": "Resource Provider Namespace", - "featureName": "feature", - "api-version": "2015-12-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "name": "Feature1", - "properties": { - "state": "registered" - }, - "id": "feature_id1", - "type": "type1" - } - } + "parameters": { + "resourceProviderNamespace": "Resource Provider Namespace", + "featureName": "feature", + "api-version": "2015-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "Feature1", + "properties": { + "state": "registered" + }, + "id": "feature_id1", + "type": "type1" + } } -} \ No newline at end of file + } +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json index 80788c044422..30a224e78db3 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2015-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "FeaturesOpeartion1", - "display": { - "provider": "Microsoft.ResourceProvider", - "resource": "Resource1", - "operation": "Read" - } - }, - { - "name": "FeaturesOpeartion2", - "display": { - "provider": "Microsoft.ResourceProvider", - "resource": "Resource2", - "operation": "Write" - } - } - ] + "parameters": { + "api-version": "2015-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "FeaturesOpeartion1", + "display": { + "provider": "Microsoft.ResourceProvider", + "resource": "Resource1", + "operation": "Read" } - } + }, + { + "name": "FeaturesOpeartion2", + "display": { + "provider": "Microsoft.ResourceProvider", + "resource": "Resource2", + "operation": "Write" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json index a8e4702af174..7fa87645ed64 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json @@ -1,32 +1,32 @@ { - "parameters": { - "resourceProviderNamespace": "Resource Provider Namespace", - "api-version": "2015-12-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Feature1", - "properties": { - "state": "registered" - }, - "id": "feature_id1", - "type": "type1" - }, - { - "name": "Feature2", - "properties": { - "state": "unregistered" - }, - "id": "feature_id2", - "type": "type2" - } - ] - } - } + "parameters": { + "resourceProviderNamespace": "Resource Provider Namespace", + "api-version": "2015-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Feature1", + "properties": { + "state": "registered" + }, + "id": "feature_id1", + "type": "type1" + }, + { + "name": "Feature2", + "properties": { + "state": "unregistered" + }, + "id": "feature_id2", + "type": "type2" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json index 949fb06947e6..237ef8e0f1a9 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json @@ -1,31 +1,31 @@ { - "parameters": { - "api-version": "2015-12-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Feature1", - "properties": { - "state": "registered" - }, - "id": "feature_id1", - "type": "type1" - }, - { - "name": "Feature2", - "properties": { - "state": "unregistered" - }, - "id": "feature_id2", - "type": "type2" - } - ] - } - } + "parameters": { + "api-version": "2015-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Feature1", + "properties": { + "state": "registered" + }, + "id": "feature_id1", + "type": "type1" + }, + { + "name": "Feature2", + "properties": { + "state": "unregistered" + }, + "id": "feature_id2", + "type": "type2" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json index 5e3a0f9f07df..0a0a1a60e8a5 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json @@ -1,21 +1,21 @@ { - "parameters": { - "resourceProviderNamespace": "Resource Provider Namespace", - "featureName": "feature", - "api-version": "2015-12-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "name": "Feature1", - "properties": { - "state": "registered" - }, - "id": "feature_id1", - "type": "type1" - } - } + "parameters": { + "resourceProviderNamespace": "Resource Provider Namespace", + "featureName": "feature", + "api-version": "2015-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "Feature1", + "properties": { + "state": "registered" + }, + "id": "feature_id1", + "type": "type1" + } } -} \ No newline at end of file + } +} diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json index 89cbd169245b..8b9fbd36e54c 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json @@ -335,4 +335,4 @@ "description": "The API version to use for this operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json index b853ef27a539..40fdb8f7d6c1 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json @@ -2925,4 +2925,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json index b4b6657b42b1..56e2cfda6b9c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json @@ -2552,4 +2552,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json index 0e1862d13ac8..0ff278951ee7 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json @@ -404,4 +404,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json index 3cacb214c0c7..e014b789c1f4 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json @@ -2561,4 +2561,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json index d5841cb56b5d..3e40f3b45996 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json @@ -216,7 +216,9 @@ "name": "$filter", "in": "query", "required": false, - "enum": ["atScope()"], + "enum": [ + "atScope()" + ], "x-ms-enum": { "name": "Filter", "modelAsString": false @@ -386,4 +388,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json index 2a1ff908ab4a..0fd09bd4fb02 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json @@ -2820,4 +2820,4 @@ "description": "The API version to use for this operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index bf74bae144dd..8118f125729d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json index 312f1ceba2f5..9a9adda03f92 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json @@ -14,7 +14,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } }, @@ -24,7 +24,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index 5544739a4a8b..6cc16a9cac1e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json index c8100b2deea3..3d4bed52814a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json @@ -1023,7 +1023,9 @@ "ResourceGroups" ], "x-ms-examples": { - "Create or update a resource group": { "$ref": "./examples/CreateResourceGroup.json" } + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } }, "operationId": "ResourceGroups_CreateOrUpdate", "description": "Creates or updates a resource group.", diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json index 2522db769802..aec7da8d5af6 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json @@ -409,4 +409,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json index 312f1ceba2f5..9a9adda03f92 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json @@ -14,7 +14,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } }, @@ -24,7 +24,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index 6ef4b13d1b5d..cfec2b113970 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json index a317cec168fc..eae1299f3f68 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json @@ -1023,7 +1023,9 @@ "ResourceGroups" ], "x-ms-examples": { - "Create or update a resource group": { "$ref": "./examples/CreateResourceGroup.json" } + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } }, "operationId": "ResourceGroups_CreateOrUpdate", "description": "Creates or updates a resource group.", diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json index 4bbd729add54..9c28e5072616 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json @@ -14,7 +14,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } }, @@ -24,7 +24,7 @@ "name": "myResourceGroup", "location": "eastus", "properties": { - "provisioningState":"Succeeded" + "provisioningState": "Succeeded" } } } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentAtManagementGroup.json index f4263ff58a74..2e100ab8cd0f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentAtManagementGroup.json @@ -134,4 +134,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index 869acfd61511..8b6dd279d74e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json index ab751cf36d0a..ae27108aa775 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json @@ -156,9 +156,9 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create deployment at management group scope.": { - "$ref": "./examples/PutDeploymentAtManagementGroup.json" + "x-ms-examples": { + "Create deployment at management group scope.": { + "$ref": "./examples/PutDeploymentAtManagementGroup.json" } } }, @@ -1196,7 +1196,9 @@ "ResourceGroups" ], "x-ms-examples": { - "Create or update a resource group": { "$ref": "./examples/CreateResourceGroup.json" } + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } }, "operationId": "ResourceGroups_CreateOrUpdate", "description": "Creates or updates a resource group.", diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json index 1b365e22077d..ccd2b4141176 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json @@ -11,7 +11,7 @@ }, "name": "myAppliance", "location": "East US 2", - "kind": "ServiceCatalog" + "kind": "ServiceCatalog" } }, "responses": { @@ -28,7 +28,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "applianceDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applianceDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json index 2e53620ca6a2..cad5b78388d1 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json index 4bd7c1742e49..4225c831dd70 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json @@ -19,7 +19,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "applianceDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applianceDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json index 3b869d7aedd7..a8a13193473d 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json index 6750399f63df..1bad2c77cb11 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json index 0f7b1106d9d9..ef7e47835f82 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json index e0d4acab3336..2c387c508963 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json @@ -11,7 +11,7 @@ }, "name": "myManagedApplication", "location": "East US 2", - "kind": "ServiceCatalog" + "kind": "ServiceCatalog" } }, "responses": { @@ -28,7 +28,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json index cb6bc4ad77c2..fabcb760e0d2 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json index e24e0673eb4c..c2f5a730749d 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json @@ -19,7 +19,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/managedApplicationDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json index 15487af59f63..90ba4b258839 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json index ad9e6274e311..e5cd89d3ae1a 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json index 9d742c11bc90..7d3d798fc3dc 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json index 1f6e8465a059..957c3d0ec451 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json @@ -11,7 +11,7 @@ }, "name": "myManagedApplication", "location": "East US 2", - "kind": "ServiceCatalog" + "kind": "ServiceCatalog" } }, "responses": { @@ -28,7 +28,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json index 00dfc5ca8317..6e1863f58728 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json index 5b3c4d438644..cf83b23e112d 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json @@ -19,7 +19,7 @@ "plan": null, "identity": null, "kind": "ServiceCatalog", - "sku": null, + "sku": null, "properties": { "managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/managedApplicationDefinitions/myAppDef", "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json index a2b161deeb3c..f3ee03cc02df 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json index 94e79bcec7da..faec6495dd23 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json index f177eaba19dc..2cea45e315b8 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} From 8024b7e11a19c823d835ae05ec00769eaa10b057 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:26:02 -0400 Subject: [PATCH 016/495] chore: jsonfmt servicebus (#6247) * chore: jsonfmt servicebus Ran `jsonfmt -w "specification/servicebus/**/*.json"` * fix: Remove "description" from example result --- .../SBNameSpaceIPFilterRuleListAll.json | 2 +- ...SBNameSpaceIpFilterRuleCreateorUpdate.json | 2 +- .../SBNameSpaceIpFilterRuleDelete.json | 4 +- .../SBNameSpaceIpFilterRuleGet.json | 2 +- .../SBNameSpaceIpFilterRuleUpdate.json | 4 +- .../NameSpaces/SBNameSpaceCreate.json | 2 +- .../NameSpaces/SBNameSpaceDelete.json | 2 +- .../SBNameSpaceListByResourceGroup.json | 2 +- .../NameSpaces/SBNameSpaceUpdate.json | 2 +- .../SBNameSpaceVirtualNetworkRuleDelete.json | 6 +- .../SBNameSpaceVirtualNetworkRuleListAll.json | 2 +- .../SBNameSpaceVirtualNetworkRuleupdate.json | 2 +- .../SBNetworkRuleSetCreate.json | 12 +- .../SBNetworkRuleSetGet.json | 12 +- .../examples/SBOperations_List.json | 4 +- .../servicebus-preview.json | 30 +- .../stable/2014-09-01/servicebus.json | 6 +- .../SBNameSpaceAuthorizationRuleCreate.json | 11 +- .../SBNameSpaceAuthorizationRuleDelete.json | 6 +- .../SBNameSpaceAuthorizationRuleGet.json | 11 +- .../SBNameSpaceAuthorizationRuleListAll.json | 19 +- .../SBNameSpaceAuthorizationRuleListKey.json | 4 +- ...meSpaceAuthorizationRuleRegenerateKey.json | 4 +- .../SBNameSpaceAuthorizationRuleUpdate.json | 10 +- .../SBNameSpaceCheckNameAvailability.json | 4 +- .../examples/SBNameSpaceCreate.json | 8 +- .../examples/SBNameSpaceDelete.json | 8 +- .../2015-08-01/examples/SBNameSpaceGet.json | 2 +- .../2015-08-01/examples/SBNameSpaceList.json | 2 +- .../SBNameSpaceListByResourceGroup.json | 4 +- .../examples/SBNameSpaceUpdate.json | 32 +-- .../examples/SBOperations_List.json | 112 +++----- .../SBQueueAuthorizationRuleCreate.json | 11 +- .../SBQueueAuthorizationRuleDelete.json | 6 +- .../examples/SBQueueAuthorizationRuleGet.json | 11 +- .../SBQueueAuthorizationRuleListAll.json | 11 +- .../SBQueueAuthorizationRuleListKey.json | 2 +- ...SBQueueAuthorizationRuleRegenerateKey.json | 2 +- .../SBQueueAuthorizationRuleUpdate.json | 10 +- .../2015-08-01/examples/SBQueueCreate.json | 18 +- .../2015-08-01/examples/SBQueueDelete.json | 6 +- .../2015-08-01/examples/SBQueueGet.json | 2 +- .../examples/SBQueueListByNameSpace.json | 4 +- .../2015-08-01/examples/SBQueueUpdate.json | 4 +- .../examples/SBSubscriptionCreate.json | 10 +- .../examples/SBSubscriptionDelete.json | 4 +- .../examples/SBSubscriptionListByTopic.json | 2 +- .../examples/SBSubscriptionUpdate.json | 6 +- .../SBTopicAuthorizationRuleCreate.json | 11 +- .../SBTopicAuthorizationRuleDelete.json | 4 +- .../examples/SBTopicAuthorizationRuleGet.json | 11 +- .../SBTopicAuthorizationRuleListAll.json | 11 +- .../SBTopicAuthorizationRuleListKey.json | 2 +- ...SBTopicAuthorizationRuleRegenerateKey.json | 2 +- .../SBTopicAuthorizationRuleUpdate.json | 10 +- .../2015-08-01/examples/SBTopicCreate.json | 10 +- .../2015-08-01/examples/SBTopicDelete.json | 4 +- .../2015-08-01/examples/SBTopicGet.json | 2 +- .../examples/SBTopicListByNameSpace.json | 4 +- .../2015-08-01/examples/SBTopicUpdate.json | 4 +- .../stable/2015-08-01/servicebus.json | 165 ++++++++--- ...grationconfigurationCompleteMigration.json | 2 +- ...nconfigurationCreateAndStartMigration.json | 2 +- .../SBMigrationconfigurationDelete.json | 6 +- .../SBMigrationconfigurationList.json | 2 +- .../SBMigrationconfigurationRevert.json | 4 +- .../SBNameSpaceAuthorizationRuleCreate.json | 9 +- .../SBNameSpaceAuthorizationRuleDelete.json | 2 +- .../SBNameSpaceAuthorizationRuleGet.json | 9 +- .../SBNameSpaceAuthorizationRuleListAll.json | 17 +- .../SBNameSpaceAuthorizationRuleListKey.json | 2 +- ...meSpaceAuthorizationRuleRegenerateKey.json | 2 +- .../SBNameSpaceAuthorizationRuleUpdate.json | 8 +- .../SBNameSpaceCheckNameAvailability.json | 2 +- .../NameSpaces/SBNameSpaceCreate.json | 2 +- .../NameSpaces/SBNameSpaceDelete.json | 2 +- .../SBNameSpaceListByResourceGroup.json | 2 +- .../NameSpaces/SBNameSpaceUpdate.json | 2 +- .../NameSpaces/SBNamespaceMigrate.json | 2 +- .../SBNetworkRuleSetCreate.json | 14 +- .../SBNetworkRuleSetGet.json | 14 +- .../SBQueueAuthorizationRuleCreate.json | 9 +- .../SBQueueAuthorizationRuleDelete.json | 2 +- .../Queues/SBQueueAuthorizationRuleGet.json | 9 +- .../SBQueueAuthorizationRuleListAll.json | 9 +- .../SBQueueAuthorizationRuleListKey.json | 2 +- ...SBQueueAuthorizationRuleRegenerateKey.json | 2 +- .../SBQueueAuthorizationRuleUpdate.json | 8 +- .../examples/Queues/SBQueueCreate.json | 2 +- .../examples/Queues/SBQueueDelete.json | 2 +- .../Queues/SBQueueListByNameSpace.json | 2 +- .../examples/Queues/SBQueueUpdate.json | 2 +- .../2017-04-01/examples/Rules/RuleCreate.json | 6 +- .../Rules/RuleCreate_CorrelationFilter.json | 8 +- .../examples/Rules/RuleCreate_SqlFilter.json | 2 +- .../2017-04-01/examples/Rules/RuleDelete.json | 2 +- .../Rules/RuleListBySubscription.json | 2 +- .../examples/SBOperations_List.json | 4 +- .../examples/SkuRegions/EventHubs.json | 11 +- .../examples/SkuRegions/SkuRegions.json | 4 +- .../Subscriptions/SBSubscriptionCreate.json | 2 +- .../Subscriptions/SBSubscriptionDelete.json | 2 +- .../SBSubscriptionListByTopic.json | 2 +- .../Subscriptions/SBSubscriptionUpdate.json | 2 +- .../SBTopicAuthorizationRuleCreate.json | 9 +- .../SBTopicAuthorizationRuleDelete.json | 2 +- .../Topics/SBTopicAuthorizationRuleGet.json | 9 +- .../SBTopicAuthorizationRuleListAll.json | 9 +- .../SBTopicAuthorizationRuleListKey.json | 2 +- ...SBTopicAuthorizationRuleRegenerateKey.json | 2 +- .../SBTopicAuthorizationRuleUpdate.json | 8 +- .../examples/Topics/SBTopicCreate.json | 2 +- .../examples/Topics/SBTopicDelete.json | 5 +- .../Topics/SBTopicListByNameSpace.json | 2 +- .../examples/Topics/SBTopicUpdate.json | 2 +- .../SBAliasAuthorizationRuleGet.json | 17 +- .../SBAliasAuthorizationRuleListAll.json | 77 ++++-- .../SBAliasAuthorizationRuleListKey.json | 6 +- .../SBAliasCheckNameAvailability.json | 6 +- .../SBAliasDelete.json | 2 +- .../SBAliasFailOver.json | 2 +- .../disasterRecoveryConfigs/SBAliasList.json | 2 +- .../stable/2017-04-01/servicebus.json | 257 +++++++++++++----- 123 files changed, 837 insertions(+), 467 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json index 4d2221f4b73c..7a3b8eb4f0b7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json index d0a18bd0deda..7adbb1b139e8 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json index 91b4cda17551..3cf7783a59c7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json @@ -7,7 +7,7 @@ "ipFilterRuleName": "sdk-IPFilterRules-7337" }, "responses": { - "200": { }, - "204": { } + "200": {}, + "204": {} } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json index 4a15b3a1a812..4ddfdb1d1163 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleUpdate.json index 28d5f8fcdf0a..e78812cb97b6 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "ResourceGroup", "api-version": "2018-01-01-preview", "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337", + "ipFilterRuleName": "sdk-IPFilterRules-7337", "parameters": { "properties": { "ipMask": "13.78.143.246/32", @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceCreate.json index 78c84c6e29ac..273a70b3260d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceCreate.json @@ -65,4 +65,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceDelete.json index 1e52908a29b5..747d0b106269 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceListByResourceGroup.json index 48fb81bf6fa2..5704dd8f2e78 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceListByResourceGroup.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceListByResourceGroup.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceUpdate.json index 52c5eea00c20..ae587b027e02 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/SBNameSpaceUpdate.json @@ -61,4 +61,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleDelete.json index 05cecc4b578a..e2f63871f214 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleDelete.json @@ -7,7 +7,7 @@ "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191" }, "responses": { - "200": { }, - "204": { } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleListAll.json index 19fca7304158..e7e1760dbb30 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleListAll.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleupdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleupdate.json index c39b4b3e5cf4..c3f73e9ee9a9 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleupdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleupdate.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json index 8a55ca34ebe7..42609777372d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json @@ -62,15 +62,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json index d62458a0be9f..abae4c0e8780 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json @@ -15,15 +15,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/SBOperations_List.json index 88fcc9192f96..503450fe0141 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/SBOperations_List.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/examples/SBOperations_List.json @@ -14,7 +14,7 @@ "operation": "Get namespace availability." } }, - { + { "name": "Microsoft.ServiceBus/register/action", "display": { "provider": "Microsoft Azure ServiceBus", @@ -298,4 +298,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json index 79342ec7a4ad..a1c5d1f71e57 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json @@ -41,7 +41,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "./examples/SBOperations_List.json" } + "OperationsList": { + "$ref": "./examples/SBOperations_List.json" + } }, "description": "Lists all of the available ServiceBus REST API operations.", "parameters": [ @@ -75,7 +77,9 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "NameSpaceList": { "$ref": "./examples/NameSpaces/SBNameSpaceList.json" } + "NameSpaceList": { + "$ref": "./examples/NameSpaces/SBNameSpaceList.json" + } }, "description": "Gets all the available namespaces within the subscription, irrespective of the resource groups.", "externalDocs": { @@ -115,7 +119,9 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NameSpaceListByResourceGroup": { "$ref": "./examples/NameSpaces/SBNameSpaceListByResourceGroup.json" } + "NameSpaceListByResourceGroup": { + "$ref": "./examples/NameSpaces/SBNameSpaceListByResourceGroup.json" + } }, "description": "Gets the available namespaces within a resource group.", "externalDocs": { @@ -158,7 +164,9 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NameSpaceCreate": { "$ref": "./examples/NameSpaces/SBNameSpaceCreate.json" } + "NameSpaceCreate": { + "$ref": "./examples/NameSpaces/SBNameSpaceCreate.json" + } }, "description": "Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "externalDocs": { @@ -222,7 +230,9 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "./examples/NameSpaces/SBNameSpaceDelete.json" } + "NameSpaceDelete": { + "$ref": "./examples/NameSpaces/SBNameSpaceDelete.json" + } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "externalDocs": { @@ -267,7 +277,9 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "./examples/NameSpaces/SBNameSpaceGet.json" } + "NameSpaceGet": { + "$ref": "./examples/NameSpaces/SBNameSpaceGet.json" + } }, "description": "Gets a description for the specified namespace.", "externalDocs": { @@ -308,7 +320,9 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "./examples/NameSpaces/SBNameSpaceUpdate.json" } + "NameSpaceUpdate": { + "$ref": "./examples/NameSpaces/SBNameSpaceUpdate.json" + } }, "description": "Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -1349,4 +1363,4 @@ "description": "The Virtual Network Rule name." } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2014-09-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2014-09-01/servicebus.json index 22c7a34b9d38..481b9423f245 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2014-09-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2014-09-01/servicebus.json @@ -93,7 +93,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameSpaceAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameSpaceAvailability": { "post": { "tags": [ "Namespaces" @@ -126,7 +126,7 @@ } } } - }, + }, "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces": { "get": { "tags": [ @@ -1946,7 +1946,7 @@ ], "description": "AuthorizationRule properties." }, - "SharedAccessAuthorizationRuleGetResource": { + "SharedAccessAuthorizationRuleGetResource": { "properties": { "properties": { "x-ms-client-flatten": true, diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json index abd499e27289..1b3d8d507aba 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json @@ -6,7 +6,7 @@ "api-version": "2016-07-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "parameters": { - "location": "West US", + "location": "West US", "properties": { "rights": [ "Listen", @@ -21,8 +21,13 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", "name": "sdk-Authrules9875", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleDelete.json index 0ebf2251245c..7b5848e3221c 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleDelete.json @@ -3,11 +3,11 @@ "namespaceName": "sdk-Namespace8341", "authorizationRuleName": "sdk-RelayAuthRules-01", "resourceGroupName": "Default-ServiceBus-WestUS", - "api-version": "2015-08-01", + "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleGet.json index 100d6fcc4ff2..def3e151d713 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleGet.json @@ -1,7 +1,7 @@ { "parameters": { "namespaceName": "sdk-Namespace8341", - "authorizationRuleName": "sdk-Authrules9875", + "authorizationRuleName": "sdk-Authrules9875", "resourceGroupName": "sdk-Namespace8341", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" @@ -12,8 +12,13 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", "name": "sdk-Authrules9875", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json index 30c0d3a3a1e6..14537ab91c48 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json @@ -4,7 +4,7 @@ "resourceGroupName": "Default-ServiceBus-WestUS", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" - }, + }, "responses": { "200": { "body": { @@ -13,17 +13,28 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/RootManageSharedAccessKey", "name": "RootManageSharedAccessKey", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } }, { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", "name": "sdk-Authrules9875", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ], "nextLink": "" } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json index 785b6401bd02..b482077ec756 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json @@ -6,7 +6,7 @@ "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, - "responses": { + "responses": { "200": { "body": { "primaryConnectionString": "Endpoint=sb://sdk-namespace8341.servicebus.windows.net/;SharedAccessKeyName=sdk-Authrules9875;SharedAccessKey=############################################", @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenerateKey.json index 6ab1e549e9e0..1b5530d26df2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenerateKey.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace8341", "authorizationRuleName": "sdk-RelayAuthRules-01", "resourceGroupName": "Default-ServiceBus-WestUS", - "api-version": "2015-08-01", + "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "parameters": { "Policykey": "PrimaryKey" @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json index f0bb23ec943d..013c1fee1046 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json @@ -4,7 +4,7 @@ "authorizationRuleName": "sdk-Authrules9875", "resourceGroupName": "Default-ServiceBus-WestUS", "api-version": "2015-08-01", - "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", + "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "parameters": { "location": "West US", "properties": { @@ -20,8 +20,12 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8341/AuthorizationRules/sdk-Authrules9875", "name": "sdk-Authrules9875", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json index 184ad6f5d6d2..9bd7aec63a96 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json @@ -3,7 +3,7 @@ "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "parameters": { - "name": "sdk-Namespace1321" + "name": "sdk-Namespace1321" } }, "responses": { @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCreate.json index 9cbce0bed97b..70ab1e6f8696 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "Default-ServiceBus-WestUS", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", - "parameters": { + "parameters": { "sku": { "name": "Standard", "tier": "Standard" @@ -36,7 +36,7 @@ } } }, - "201": { + "201": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace7816", "name": "sdk-Namespace7816", @@ -55,6 +55,6 @@ } } }, - "202" : {} + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceDelete.json index 9a65be51f554..ac7153aae4f0 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceDelete.json @@ -1,5 +1,5 @@ { - "parameters": { + "parameters": { "namespaceName": "sdk-Namespace1471", "resourceGroupName": "Default-ServiceBus-WestUS", "api-version": "2015-08-01", @@ -7,7 +7,7 @@ }, "responses": { "200": {}, - "202": {}, - "204": {} + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceGet.json index 2a302772335d..6b8d7fb76af6 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceGet.json @@ -6,7 +6,7 @@ "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace1471", "name": "sdk-Namespace1471", diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceList.json index 3857865b2a3e..07225057ea79 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceList.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceList.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5018", "name": "sdk-Namespace-5018", diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceListByResourceGroup.json index 5379169a5654..ce3ef8c4c6c4 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceListByResourceGroup.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceListByResourceGroup.json @@ -8,7 +8,7 @@ "200": { "body": { "value": [ - { + { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5018", "name": "sdk-Namespace-5018", "type": "Microsoft.ServiceBus/namespaces", @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceUpdate.json index 446840260125..bf627091eb78 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceUpdate.json @@ -5,12 +5,12 @@ "api-version": "2015-08-01", "subscriptionId": "8c246e6a-cbc6-4a87-aff1-d6a886f376ef", "location": "West US", - "parameters":{ - "tags": { - "tag3": "value3", - "tag4": "value4" - } - } + "parameters": { + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } }, "responses": { "200": { @@ -22,16 +22,16 @@ "tags": { "tag3": "value3", "tag4": "value4" - }, + }, "properties": { "provisioningState": "", "createdAt": "2017-03-12T07:39:13.31Z", "serviceBusEndpoint": "https://sdk-Namespace1471.servicebus.windows.net:443/", "updatedAt": "2017-03-12T07:39:35.443Z" - } } - }, - "201": { + } + }, + "201": { "body": { "id": "", "name": "", @@ -40,15 +40,15 @@ "tags": { "tag3": "value3", "tag4": "value4" - }, + }, "properties": { "provisioningState": "", "createdAt": "2017-03-12T07:39:13.31Z", "serviceBusEndpoint": "https://sdk-Namespace1471.servicebus.windows.net:443/", "updatedAt": "2017-03-12T07:39:35.443Z" - } } - }, - "202": {} - } - } \ No newline at end of file + } + }, + "202": {} + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBOperations_List.json index 91fd78e770ce..503450fe0141 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBOperations_List.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBOperations_List.json @@ -11,17 +11,15 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Non Resource Operation", - "operation": "Get namespace availability.", - "description": "Checks availability of namespace under given subscription." + "operation": "Get namespace availability." } }, - { + { "name": "Microsoft.ServiceBus/register/action", "display": { "provider": "Microsoft Azure ServiceBus", "resource": "ServiceBus Resource Provider", - "operation": "Registers the ServiceBus Resource Provider", - "description": "Registers the subscription for the ServiceBus resource provider and enables the creation of ServiceBus resources" + "operation": "Registers the ServiceBus Resource Provider" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace", - "operation": "Create Or Update Namespace ", - "description": "Create a Namespace Resource and Update its properties. Tags and status of the Namespace are the properties which can be updated." + "operation": "Create Or Update Namespace " } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace", - "operation": "Get Namespace Resource", - "description": "Get the list of Namespace Resource Description" + "operation": "Get Namespace Resource" } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace", - "operation": "Delete Namespace", - "description": "Delete Namespace Resource" + "operation": "Delete Namespace" } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "AuthorizationRules", - "operation": "Create or Update Namespace Authorization Rules", - "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Namespace Authorization Rules" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules", - "description": "Get the list of Namespaces Authorization Rules description." + "operation": "Get Namespace Authorization Rules" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "AuthorizationRules", - "operation": "Delete Namespace Authorization Rule", - "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. " + "operation": "Delete Namespace Authorization Rule" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "AuthorizationRules", - "operation": "Get Namespace Listkeys", - "description": "Get the Connection String to the Namespace" + "operation": "Get Namespace Listkeys" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue", - "operation": "Create or Update Queue", - "description": "Create or Update Queue properties." + "operation": "Create or Update Queue" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue", - "operation": "Get Queue", - "description": "Get list of Queue Resource Descriptions" + "operation": "Get Queue" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue", - "operation": "Delete Queue", - "description": "Operation to delete Queue Resource" + "operation": "Delete Queue" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue AuthorizationRules", - "operation": "Create or Update Queue Authorization Rule", - "description": "Create Queue Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Queue Authorization Rule" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue AuthorizationRules", - "operation": " Get Queue Authorization Rules", - "description": " Get the list of Queue Authorization Rules" + "operation": " Get Queue Authorization Rules" } }, { @@ -146,8 +131,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue AuthorizationRules", - "operation": "Delete Queue Authorization Rules", - "description": "Operation to delete Queue Authorization Rules" + "operation": "Delete Queue Authorization Rules" } }, { @@ -155,8 +139,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue AuthorizationRules", - "operation": "List Queue keys", - "description": "Get the Connection String to Queue" + "operation": "List Queue keys" } }, { @@ -164,8 +147,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Queue AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -173,8 +155,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic", - "operation": "Create or Update Topic", - "description": "Create or Update Topic properties." + "operation": "Create or Update Topic" } }, { @@ -182,8 +163,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic", - "operation": "Get Topic", - "description": "Get list of Topic Resource Descriptions" + "operation": "Get Topic" } }, { @@ -191,8 +171,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic", - "operation": "Delete Topic", - "description": "Operation to delete Topic Resource" + "operation": "Delete Topic" } }, { @@ -200,8 +179,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic AuthorizationRules", - "operation": "Create or Update Topic Authorization Rule", - "description": "Create Topic Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Topic Authorization Rule" } }, { @@ -209,8 +187,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic AuthorizationRules", - "operation": " Get Topic Authorization Rules", - "description": " Get the list of Topic Authorization Rules" + "operation": " Get Topic Authorization Rules" } }, { @@ -218,8 +195,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic AuthorizationRules", - "operation": "Delete Topic Authorization Rules", - "description": "Operation to delete Topic Authorization Rules" + "operation": "Delete Topic Authorization Rules" } }, { @@ -227,8 +203,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic AuthorizationRules", - "operation": "List Topic keys", - "description": "Get the Connection String to Topic" + "operation": "List Topic keys" } }, { @@ -236,8 +211,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Topic AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -245,8 +219,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "TopicSubscription", - "operation": "Create or Update TopicSubscription", - "description": "Create or Update TopicSubscription properties." + "operation": "Create or Update TopicSubscription" } }, { @@ -254,8 +227,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "TopicSubscription", - "operation": "Get TopicSubscription", - "description": "Get list of TopicSubscription Resource Descriptions" + "operation": "Get TopicSubscription" } }, { @@ -263,8 +235,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "TopicSubscription", - "operation": "Delete TopicSubscription", - "description": "Operation to delete TopicSubscription Resource" + "operation": "Delete TopicSubscription" } }, { @@ -272,8 +243,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Rule", - "operation": "Create or Update Rule", - "description": "Create or Update Rule properties." + "operation": "Create or Update Rule" } }, { @@ -281,8 +251,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Rule", - "operation": "Get Rule", - "description": "Get list of Rule Resource Descriptions" + "operation": "Get Rule" } }, { @@ -290,8 +259,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Rule", - "operation": "Delete Rule", - "description": "Operation to delete Rule Resource" + "operation": "Delete Rule" } }, { @@ -299,8 +267,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace metrics", - "operation": "Get Namespace metrics", - "description": "Get list of Namespace metrics Resource Descriptions" + "operation": "Get Namespace metrics" } }, { @@ -308,8 +275,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace diagnostic settings", - "operation": "Get Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Get Namespace diagnostic settings" } }, { @@ -317,8 +283,7 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace diagnostic settings", - "operation": "Create or Update Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Create or Update Namespace diagnostic settings" } }, { @@ -326,12 +291,11 @@ "display": { "provider": "Microsoft Azure ServiceBus", "resource": "Namespace logs", - "operation": "Get Namespace logs", - "description": "Get list of Namespace logs Resource Descriptions" + "operation": "Get Namespace logs" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json index 64dad98ea0dd..6dfc6bd839ea 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json @@ -15,14 +15,19 @@ } } }, - "responses": { + "responses": { "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace6556/queues/sdk-Queues3136/authorizationRules/sdk-Authrules7319", "name": "sdk-Authrules7319", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleDelete.json index 93817e771830..221dda70709a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleDelete.json @@ -3,12 +3,12 @@ "resourceGroupName": "Default-ServiceBus-WestUS", "namespaceName": "sdk-Namespace6556", "queueName": "sdk-Queues3136", - "authorizationRuleName": "sdk-Authrules7319", + "authorizationRuleName": "sdk-Authrules7319", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleGet.json index 3a5e2451bd81..0d00d819f4b5 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleGet.json @@ -6,15 +6,20 @@ "authorizationRuleName": "sdk-Authrules7319", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" - }, + }, "responses": { "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace6556/queues/sdk-Queues3136/authorizationRules/sdk-Authrules7319", "name": "sdk-Authrules7319", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListAll.json index eff7ff0d3631..340b1b69f670 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListAll.json @@ -8,16 +8,21 @@ }, "responses": { "200": { - "body": { + "body": { "value": [ { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace6556/queues/sdk-Queues3136/authorizationRules/sdk-Authrules7319", "name": "sdk-Authrules7319", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json index b93fa183d393..9c4f77c231b2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleRegenerateKey.json index d8c7c628115e..deeb3b035cea 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleRegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json index 150d233fbe18..6930bef4a488 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json @@ -9,7 +9,7 @@ "parameters": { "location": "West US", "properties": { - "rights": [ + "rights": [ "Listen" ] } @@ -21,8 +21,12 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace6556/queues/sdk-Queues3136/authorizationRules/sdk-Authrules7319", "name": "sdk-Authrules7319", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueCreate.json index 76c6d197808e..e95ce136c9a5 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueCreate.json @@ -2,16 +2,16 @@ "parameters": { "namespaceName": "sdk-Namespace3082", "resourceGroupName": "Default-ServiceBus-WestUS", - "queueName": "sdk-Queues8544", + "queueName": "sdk-Queues8544", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", - "parameters":{ - "properties": { - "enableExpress": false, - "enablePartitioning": false - }, - "location": "West US" - } + "parameters": { + "properties": { + "enableExpress": false, + "enablePartitioning": false + }, + "location": "West US" + } }, "responses": { "200": { @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueDelete.json index 0c3a814a3430..c125eeca3b84 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueDelete.json @@ -5,9 +5,9 @@ "queueName": "sdk-Queues8544", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" - }, + }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueGet.json index 975b8807255d..e1e2440a4895 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueGet.json @@ -1,7 +1,7 @@ { "parameters": { "namespaceName": "sdk-Namespace3082", - "resourceGroupName": "Default-ServiceBus-WestUS", + "resourceGroupName": "Default-ServiceBus-WestUS", "queueName": "sdk-Queues8544", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueListByNameSpace.json index 46ded725ab55..4ad8481ff5a8 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueListByNameSpace.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueListByNameSpace.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace7626/queues/sdk-queues7173", + "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace7626/queues/sdk-queues7173", "name": "sdk-queues7173", "type": "Microsoft.ServiceBus/Queues", "properties": { @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueUpdate.json index ec21b6579692..e0ef5b3eeab3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBQueueUpdate.json @@ -14,7 +14,7 @@ "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace3082/queues/sdk-Queues8544", "name": "sdk-Queues8544", - "type": "Microsoft.ServiceBus/Queues", + "type": "Microsoft.ServiceBus/Queues", "properties": { "maxSizeInMegabytes": 1024, "enableExpress": true @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionCreate.json index 035ecb847425..232aa1dcf788 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionCreate.json @@ -6,9 +6,9 @@ "subscriptionName": "sdk-Subscriptions3374", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", - "parameters": { - "location": "West US" - } + "parameters": { + "location": "West US" + } }, "responses": { "200": { @@ -26,7 +26,7 @@ "maxDeliveryCount": 10, "enableBatchedOperations": true, "status": "Active", - "createdAt": "2017-03-12T16:54:30.4Z", + "createdAt": "2017-03-12T16:54:30.4Z", "updatedAt": "2017-03-12T16:54:30.45Z", "accessedAt": "2017-03-12T16:54:30.45Z", "autoDeleteOnIdle": "10675199.02:48:05.4775807" @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionDelete.json index 00273dc27ab8..daf46ac51217 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionDelete.json @@ -9,6 +9,6 @@ }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionListByTopic.json index 4376f8b5d938..89d195307dcd 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionListByTopic.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionListByTopic.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionUpdate.json index 21e227be2313..4b7a7ae27d61 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBSubscriptionUpdate.json @@ -8,9 +8,9 @@ "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "properties": { "enableBatchedOperations": true - } + } }, - "responses": { + "responses": { "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace2500/topics/sdk-Topics2565/subscriptions/sdk-Subscriptions3374", @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json index f4fb14de9c31..b7d98c261403 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json @@ -11,7 +11,7 @@ "rights": [ "Listen", "Send" - ] + ] } } }, @@ -21,8 +21,13 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8408/topics/sdk-Topics2075/authorizationRules/sdk-Authrules5067", "name": "sdk-Authrules5067", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleDelete.json index 746170ed79f0..8292be3db50e 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleDelete.json @@ -9,6 +9,6 @@ }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleGet.json index b12709cbc763..b277c353f4d7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleGet.json @@ -8,13 +8,18 @@ "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8408/topics/sdk-Topics2075/authorizationRules/sdk-Authrules5067", "name": "sdk-Authrules5067", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListAll.json index 755364298715..c77e625c2ce7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListAll.json @@ -8,16 +8,21 @@ }, "responses": { "200": { - "body": { + "body": { "value": [ { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8408/topics/sdk-Topics2075/authorizationRules/sdk-Authrules5067", "name": "sdk-Authrules5067", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json index 42cf41b75c26..4c055d7a6a59 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleRegenerateKey.json index c27dcd53bd82..b6d64fe34e61 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleRegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json index 50ea6013de35..de2fb190d27d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json @@ -16,13 +16,17 @@ } }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace8408/topics/sdk-Topics2075/authorizationRules/sdk-Authrules5067", "name": "sdk-Authrules5067", "type": "Microsoft.ServiceBus/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicCreate.json index d832734ba991..fef83dbc23e2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicCreate.json @@ -5,12 +5,12 @@ "topicName": "sdk-Topics1377", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", - "parameters": { - "location": "West US" - } + "parameters": { + "location": "West US" + } }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace4191/topics/sdk-Topics1377", "name": "sdk-Topics1377", @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicDelete.json index 5db3b7df9596..17e38b4ddaa2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicDelete.json @@ -8,6 +8,6 @@ }, "responses": { "200": {}, - "204": {} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicGet.json index f1fd4a6c0ff8..3ed78507ed75 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicGet.json @@ -5,7 +5,7 @@ "topicName": "sdk-Topics1377", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" - }, + }, "responses": { "200": { "body": { diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicListByNameSpace.json index dbf4665179e8..edfeabaf6850 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicListByNameSpace.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicListByNameSpace.json @@ -21,7 +21,7 @@ "enableBatchedOperations": true, "sizeInBytes": 0, "status": "Active", - "createdAt": "2017-03-12T16:54:30.4Z", + "createdAt": "2017-03-12T16:54:30.4Z", "updatedAt": "2017-03-12T16:54:30.45Z", "accessedAt": "0001-01-01T00:00:00Z", "supportOrdering": true, @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicUpdate.json index 8fd7e747e79a..6559a81c6431 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBTopicUpdate.json @@ -15,11 +15,11 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace4191/topics/sdk-Topics1377", "name": "sdk-Topics1377", "type": "Microsoft.ServiceBus/Topic", - "properties": { + "properties": { "maxSizeInMegabytes": 1024, "enableExpress": true } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/servicebus.json index f3174704e7b5..05cfc763b9d3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/servicebus.json @@ -41,7 +41,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "./examples/SBOperations_List.json" } + "OperationsList": { + "$ref": "./examples/SBOperations_List.json" + } }, "description": "Lists all of the available ServiceBus REST API operations.", "parameters": [ @@ -69,7 +71,9 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NameSpaceCheckNameAvailability": { "$ref": "./examples/SBNameSpaceCheckNameAvailability.json" } + "NameSpaceCheckNameAvailability": { + "$ref": "./examples/SBNameSpaceCheckNameAvailability.json" + } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -106,7 +110,9 @@ ], "operationId": "Namespaces_ListBySubscription", "x-ms-examples": { - "NameSpaceList": { "$ref": "./examples/SBNameSpaceList.json" } + "NameSpaceList": { + "$ref": "./examples/SBNameSpaceList.json" + } }, "description": "Gets all the available namespaces within the subscription, irrespective of the resource groups.", "externalDocs": { @@ -140,7 +146,9 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NameSpaceListByResourceGroup": { "$ref": "./examples/SBNameSpaceListByResourceGroup.json" } + "NameSpaceListByResourceGroup": { + "$ref": "./examples/SBNameSpaceListByResourceGroup.json" + } }, "description": "Gets the available namespaces within a resource group.", "externalDocs": { @@ -177,7 +185,9 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NameSpaceCreate": { "$ref": "./examples/SBNameSpaceCreate.json" } + "NameSpaceCreate": { + "$ref": "./examples/SBNameSpaceCreate.json" + } }, "description": "Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "externalDocs": { @@ -235,7 +245,9 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "./examples/SBNameSpaceDelete.json" } + "NameSpaceDelete": { + "$ref": "./examples/SBNameSpaceDelete.json" + } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "externalDocs": { @@ -274,7 +286,9 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "./examples/SBNameSpaceGet.json" } + "NameSpaceGet": { + "$ref": "./examples/SBNameSpaceGet.json" + } }, "description": "Gets a description for the specified namespace.", "externalDocs": { @@ -309,7 +323,9 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "./examples/SBNameSpaceUpdate.json" } + "NameSpaceUpdate": { + "$ref": "./examples/SBNameSpaceUpdate.json" + } }, "description": "Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -361,7 +377,9 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "NameSpaceAuthorizationRuleListAll": { "$ref": "./examples/SBNameSpaceAuthorizationRuleListAll.json" } + "NameSpaceAuthorizationRuleListAll": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleListAll.json" + } }, "description": "Gets the authorization rules for a namespace.", "externalDocs": { @@ -401,7 +419,9 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/SBNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an authorization rule for a namespace.", "externalDocs": { @@ -448,7 +468,9 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/SBNameSpaceAuthorizationRuleDelete.json" } + "NameSpaceAuthorizationRuleDelete": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleDelete.json" + } }, "description": "Deletes a namespace authorization rule.", "externalDocs": { @@ -486,7 +508,9 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/SBNameSpaceAuthorizationRuleGet.json" } + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a namespace by rule name.", "externalDocs": { @@ -526,7 +550,9 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/SBNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the namespace.", "externalDocs": { @@ -566,7 +592,9 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/SBNameSpaceAuthorizationRuleRegenerateKey.json" } + "NameSpaceAuthorizationRuleRegenerateKey": { + "$ref": "./examples/SBNameSpaceAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings for the namespace.", "externalDocs": { @@ -615,7 +643,9 @@ ], "operationId": "Queues_ListAll", "x-ms-examples": { - "QueueListByNameSpace": { "$ref": "./examples/SBQueueListByNameSpace.json" } + "QueueListByNameSpace": { + "$ref": "./examples/SBQueueListByNameSpace.json" + } }, "description": "Gets the queues within a namespace.", "externalDocs": { @@ -655,7 +685,9 @@ ], "operationId": "Queues_CreateOrUpdate", "x-ms-examples": { - "QueueCreate": { "$ref": "./examples/SBQueueCreate.json" } + "QueueCreate": { + "$ref": "./examples/SBQueueCreate.json" + } }, "description": "Creates or updates a Service Bus queue. This operation is idempotent.", "externalDocs": { @@ -702,7 +734,9 @@ ], "operationId": "Queues_Delete", "x-ms-examples": { - "QueueDelete": { "$ref": "./examples/SBQueueDelete.json" } + "QueueDelete": { + "$ref": "./examples/SBQueueDelete.json" + } }, "description": "Deletes a queue from the specified namespace in a resource group.", "externalDocs": { @@ -740,7 +774,9 @@ ], "operationId": "Queues_Get", "x-ms-examples": { - "QueueGet": { "$ref": "./examples/SBQueueGet.json" } + "QueueGet": { + "$ref": "./examples/SBQueueGet.json" + } }, "description": "Returns a description for the specified queue.", "externalDocs": { @@ -780,7 +816,9 @@ ], "operationId": "Queues_ListAuthorizationRules", "x-ms-examples": { - "QueueAuthorizationRuleListAll": { "$ref": "./examples/SBQueueAuthorizationRuleListAll.json" } + "QueueAuthorizationRuleListAll": { + "$ref": "./examples/SBQueueAuthorizationRuleListAll.json" + } }, "description": "Gets all authorization rules for a queue.", "externalDocs": { @@ -823,7 +861,9 @@ ], "operationId": "Queues_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleCreate": { "$ref": "./examples/SBQueueAuthorizationRuleCreate.json" } + "QueueAuthorizationRuleCreate": { + "$ref": "./examples/SBQueueAuthorizationRuleCreate.json" + } }, "description": "Creates an authorization rule for a queue.", "parameters": [ @@ -864,13 +904,15 @@ } } }, - "post": { + "post": { "tags": [ "Queues" ], "operationId": "Queues_PostAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleGet": { "$ref": "./examples/SBQueueAuthorizationRuleGet.json" } + "QueueAuthorizationRuleGet": { + "$ref": "./examples/SBQueueAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a queue by rule name.", "externalDocs": { @@ -911,7 +953,9 @@ ], "operationId": "Queues_DeleteAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleDelete": { "$ref": "./examples/SBQueueAuthorizationRuleDelete.json" } + "QueueAuthorizationRuleDelete": { + "$ref": "./examples/SBQueueAuthorizationRuleDelete.json" + } }, "description": "Deletes a queue authorization rule.", "externalDocs": { @@ -952,7 +996,9 @@ ], "operationId": "Queues_GetAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleGet": { "$ref": "./examples/SBQueueAuthorizationRuleGet.json" } + "QueueAuthorizationRuleGet": { + "$ref": "./examples/SBQueueAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a queue by rule name.", "externalDocs": { @@ -995,7 +1041,9 @@ ], "operationId": "Queues_ListKeys", "x-ms-examples": { - "QueueAuthorizationRuleListKey": { "$ref": "./examples/SBQueueAuthorizationRuleListKey.json" } + "QueueAuthorizationRuleListKey": { + "$ref": "./examples/SBQueueAuthorizationRuleListKey.json" + } }, "description": "Primary and secondary connection strings to the queue.", "externalDocs": { @@ -1038,7 +1086,9 @@ ], "operationId": "Queues_RegenerateKeys", "x-ms-examples": { - "QueueAuthorizationRuleRegenerateKey": { "$ref": "./examples/SBQueueAuthorizationRuleRegenerateKey.json" } + "QueueAuthorizationRuleRegenerateKey": { + "$ref": "./examples/SBQueueAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings to the queue.", "externalDocs": { @@ -1090,7 +1140,9 @@ ], "operationId": "Topics_ListAll", "x-ms-examples": { - "TopicGet": { "$ref": "./examples/SBTopicListByNameSpace.json" } + "TopicGet": { + "$ref": "./examples/SBTopicListByNameSpace.json" + } }, "description": "Gets all the topics in a namespace.", "externalDocs": { @@ -1130,7 +1182,9 @@ ], "operationId": "Topics_CreateOrUpdate", "x-ms-examples": { - "TopicCreate": { "$ref": "./examples/SBTopicCreate.json" } + "TopicCreate": { + "$ref": "./examples/SBTopicCreate.json" + } }, "description": "Creates a topic in the specified namespace.", "externalDocs": { @@ -1177,7 +1231,9 @@ ], "operationId": "Topics_Delete", "x-ms-examples": { - "TopicDelete": { "$ref": "./examples/SBTopicDelete.json" } + "TopicDelete": { + "$ref": "./examples/SBTopicDelete.json" + } }, "description": "Deletes a topic from the specified namespace and resource group.", "externalDocs": { @@ -1215,7 +1271,9 @@ ], "operationId": "Topics_Get", "x-ms-examples": { - "TopicGet": { "$ref": "./examples/SBTopicGet.json" } + "TopicGet": { + "$ref": "./examples/SBTopicGet.json" + } }, "description": "Returns a description for the specified topic.", "externalDocs": { @@ -1255,7 +1313,9 @@ ], "operationId": "Topics_ListAuthorizationRules", "x-ms-examples": { - "TopicAuthorizationRuleListAll": { "$ref": "./examples/SBTopicAuthorizationRuleListAll.json" } + "TopicAuthorizationRuleListAll": { + "$ref": "./examples/SBTopicAuthorizationRuleListAll.json" + } }, "description": "Gets authorization rules for a topic.", "externalDocs": { @@ -1298,7 +1358,9 @@ ], "operationId": "Topics_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleCreate": { "$ref": "./examples/SBTopicAuthorizationRuleCreate.json" } + "TopicAuthorizationRuleCreate": { + "$ref": "./examples/SBTopicAuthorizationRuleCreate.json" + } }, "description": "Creates an authorization rule for the specified topic.", "externalDocs": { @@ -1342,13 +1404,15 @@ } } }, - "post": { + "post": { "tags": [ "Topics" ], "operationId": "Topics_PostAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleGet": { "$ref": "./examples/SBTopicAuthorizationRuleGet.json" } + "TopicAuthorizationRuleGet": { + "$ref": "./examples/SBTopicAuthorizationRuleGet.json" + } }, "description": "Returns the specified authorization rule.", "externalDocs": { @@ -1389,7 +1453,9 @@ ], "operationId": "Topics_GetAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleGet": { "$ref": "./examples/SBTopicAuthorizationRuleGet.json" } + "TopicAuthorizationRuleGet": { + "$ref": "./examples/SBTopicAuthorizationRuleGet.json" + } }, "description": "Returns the specified authorization rule.", "externalDocs": { @@ -1430,7 +1496,9 @@ ], "operationId": "Topics_DeleteAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleDelete": { "$ref": "./examples/SBTopicAuthorizationRuleDelete.json" } + "TopicAuthorizationRuleDelete": { + "$ref": "./examples/SBTopicAuthorizationRuleDelete.json" + } }, "description": "Deletes a topic authorization rule.", "externalDocs": { @@ -1473,7 +1541,9 @@ ], "operationId": "Topics_ListKeys", "x-ms-examples": { - "TopicAuthorizationRuleListKey": { "$ref": "./examples/SBTopicAuthorizationRuleListKey.json" } + "TopicAuthorizationRuleListKey": { + "$ref": "./examples/SBTopicAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the topic.", "externalDocs": { @@ -1516,7 +1586,9 @@ ], "operationId": "Topics_RegenerateKeys", "x-ms-examples": { - "TopicAuthorizationRuleRegenerateKey": { "$ref": "./examples/SBTopicAuthorizationRuleRegenerateKey.json" } + "TopicAuthorizationRuleRegenerateKey": { + "$ref": "./examples/SBTopicAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates primary or secondary connection strings for the topic.", "externalDocs": { @@ -1568,7 +1640,9 @@ ], "operationId": "Subscriptions_ListAll", "x-ms-examples": { - "SubscriptionListByTopic": { "$ref": "./examples/SBSubscriptionListByTopic.json" } + "SubscriptionListByTopic": { + "$ref": "./examples/SBSubscriptionListByTopic.json" + } }, "description": "List all the subscriptions under a specified topic.", "externalDocs": { @@ -1611,7 +1685,9 @@ ], "operationId": "Subscriptions_CreateOrUpdate", "x-ms-examples": { - "SubscriptionCreate": { "$ref": "./examples/SBSubscriptionCreate.json" } + "SubscriptionCreate": { + "$ref": "./examples/SBSubscriptionCreate.json" + } }, "description": "Creates a topic subscription.", "externalDocs": { @@ -1661,7 +1737,9 @@ ], "operationId": "Subscriptions_Delete", "x-ms-examples": { - "SubscriptionDelete": { "$ref": "./examples/SBSubscriptionDelete.json" } + "SubscriptionDelete": { + "$ref": "./examples/SBSubscriptionDelete.json" + } }, "description": "Deletes a subscription from the specified topic.", "externalDocs": { @@ -1702,7 +1780,9 @@ ], "operationId": "Subscriptions_Get", "x-ms-examples": { - "SubscriptionGet": { "$ref": "./examples/SBSubscriptionGet.json" } + "SubscriptionGet": { + "$ref": "./examples/SBSubscriptionGet.json" + } }, "description": "Returns a subscription description for the specified topic.", "externalDocs": { @@ -2747,4 +2827,3 @@ } } } - diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json index 1e039b1dca68..d8618343ea63 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json @@ -7,6 +7,6 @@ "subscriptionId": "SubscriptionId" }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json index 989694a20475..778890963f1d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json @@ -26,6 +26,6 @@ } } }, - "201": { } + "201": {} } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json index 54a403aa1e17..e1f0ce6dcc58 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json @@ -7,7 +7,7 @@ "subscriptionId": "SubscriptionId" }, "responses": { - "200": { }, - "204": { } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationList.json index 2e970d15565e..725559e42782 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationList.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationList.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json index 51c5263efe18..d8618343ea63 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json @@ -7,6 +7,6 @@ "subscriptionId": "SubscriptionId" }, "responses": { - "200": { } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json index 483c848a227a..c873dbff441b 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json @@ -20,8 +20,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788", "name": "sdk-AuthRules-1788", "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json index 70f32a893ef6..4ed4c62347ef 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json index dcc04edf560c..64d2275fe48a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -12,8 +12,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788/", "name": "sdk-AuthRules-1788", "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json index 33b4a233985a..1f64aebc1829 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json @@ -13,16 +13,27 @@ "id": "https://sbgm.windows-int.net/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules?api-version=2017-04-01/RootManageSharedAccessKey", "name": "RootManageSharedAccessKey", "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } }, { "id": "https://sbgm.windows-int.net/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules?api-version=2017-04-01/sdk-AuthRules-1788", "name": "sdk-AuthRules-1788", "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json index d82412935e41..6fa04c005c49 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json index 4371ad67a37f..2051ad0acd89 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json index 6ecda00a4fd4..853948e113ee 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json @@ -19,8 +19,12 @@ "id": "https://sbgm.windows-int.net/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788?api-version=2017-04-01", "name": "sdk-AuthRules-1788", "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json index e54c5ea9fcc9..5f1e316b88af 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json index 78c84c6e29ac..273a70b3260d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json @@ -65,4 +65,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json index 1e52908a29b5..747d0b106269 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json index 48fb81bf6fa2..5704dd8f2e78 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json index 52c5eea00c20..ae587b027e02 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json @@ -61,4 +61,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNamespaceMigrate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNamespaceMigrate.json index ea2bd96d69c4..28f41b62bf98 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNamespaceMigrate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/SBNamespaceMigrate.json @@ -9,6 +9,6 @@ } }, "responses": { - "200": { } + "200": {} } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json index 2bc46fa6cb2d..076b325021a3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json @@ -62,15 +62,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], @@ -100,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json index a9659eeb10fc..850e9cf5d483 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json @@ -15,15 +15,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], @@ -53,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json index 744b217ec9f3..3e8fcec7c30a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json @@ -21,8 +21,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800", "name": "sdk-AuthRules-5800", "type": "Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleDelete.json index 58e2d7998283..2253817df1b6 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleGet.json index b2352487003a..531d4fff28a9 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleGet.json @@ -13,8 +13,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800", "name": "sdk-AuthRules-5800", "type": "Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListAll.json index 2c415193af2b..7d18896a6fb3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListAll.json @@ -14,10 +14,15 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800", "name": "sdk-AuthRules-5800", "type": "Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json index 9a58296f83dc..50e15edca30c 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json index dc2c2ade85e1..03d3f4f0bb9d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json index 3bcdf3015327..ff377711a48d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json @@ -20,8 +20,12 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-7982/queues/sdk-Queues-2317/authorizationRules/sdk-AuthRules-5800", "name": "sdk-AuthRules-5800", "type": "Microsoft.ServiceBus/Namespaces/Queues/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueCreate.json index 1b12c98c7af0..046d26c85f32 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueCreate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueDelete.json index 3f60ef3090f9..8f1f9abe5c74 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueListByNameSpace.json index 0858b67b1d30..e954ec5c3ab2 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueListByNameSpace.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueListByNameSpace.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueUpdate.json index a0160a9cc53b..4fd9b6bcefee 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Queues/SBQueueUpdate.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate.json index 8414ede8b974..7ffc5cf48463 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate.json @@ -7,7 +7,7 @@ "ruleName": "sdk-Rules-6571", "api-version": "2017-04-01", "subscriptionId": "subscriptionId", - "parameters": { } + "parameters": {} }, "responses": { "200": { @@ -16,7 +16,7 @@ "name": "sdk-Rules-6571", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules", "properties": { - "action": { }, + "action": {}, "filterType": "SqlFilter", "sqlFilter": { "sqlExpression": "1=1", @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_CorrelationFilter.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_CorrelationFilter.json index 844dd80eeb2d..ae940f4c6982 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_CorrelationFilter.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_CorrelationFilter.json @@ -25,9 +25,13 @@ "name": "sdk-Rules-6571", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules", "properties": { - "action": { }, + "action": {}, "filterType": "CorrelationFilter", - "correlationFilter": { "properties": { "queueHint": "Crop" } } + "correlationFilter": { + "properties": { + "queueHint": "Crop" + } + } } } } diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_SqlFilter.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_SqlFilter.json index 2d5145fa2cd7..ee8eaaf261b4 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_SqlFilter.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleCreate_SqlFilter.json @@ -23,7 +23,7 @@ "name": "sdk-Rules-6571", "type": "Microsoft.ServiceBus/Namespaces/Topics/Subscriptions/Rules", "properties": { - "action": { }, + "action": {}, "filterType": "SqlFilter", "sqlFilter": { "sqlExpression": "myproperty=test", diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleDelete.json index 9eb6175eb55d..e4f3677e87e7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleDelete.json @@ -12,4 +12,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleListBySubscription.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleListBySubscription.json index 5144e2f23b18..151762301949 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleListBySubscription.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Rules/RuleListBySubscription.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SBOperations_List.json index 88fcc9192f96..503450fe0141 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SBOperations_List.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SBOperations_List.json @@ -14,7 +14,7 @@ "operation": "Get namespace availability." } }, - { + { "name": "Microsoft.ServiceBus/register/action", "display": { "provider": "Microsoft Azure ServiceBus", @@ -298,4 +298,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/EventHubs.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/EventHubs.json index 49ac931039da..c542e6cfa19a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/EventHubs.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/EventHubs.json @@ -7,7 +7,7 @@ }, "responses": { "200": { - "body": { + "body": { "value": [ { "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-716/eventhubs/sdk-eventhub-10", @@ -19,7 +19,12 @@ "status": "Active", "createdAt": "2017-06-28T02:45:55.877Z", "updatedAt": "2017-06-28T02:46:05.877Z", - "partitionIds": [ "0", "1", "2", "3" ], + "partitionIds": [ + "0", + "1", + "2", + "3" + ], "captureDescription": { "enabled": true, "encoding": "Avro", @@ -40,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json index f83e71f0a150..9fdd2547fd92 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/SkuRegions/SkuRegions.json @@ -2,12 +2,12 @@ "parameters": { "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "sku": "Basic" + "sku": "Basic" }, "responses": { "200": { "body": { - "value": [ + "value": [ { "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/providers/Microsoft.ServiceBus/sku/Basic/regions/CentralUS", "name": "Central US", diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json index 0ee1c0e83507..15438f35186a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json index 12040375051e..db28183d56d3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json index 34a2631e56c1..b0d60dd2aaf1 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json index 1d6bd2b20e7c..ef2ce1c4f578 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json index d65ef41542e8..880d3079a365 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json @@ -21,8 +21,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310", "name": "sdk-AuthRules-4310", "type": "Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleDelete.json index c05efd4f9e73..9260c6ba3522 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleGet.json index 6bcf13c524c7..44eac29d1dc8 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleGet.json @@ -13,8 +13,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310", "name": "sdk-AuthRules-4310", "type": "Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListAll.json index 6f4a5657dbdb..19494428b1aa 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListAll.json @@ -14,10 +14,15 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310", "name": "sdk-AuthRules-4310", "type": "Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json index 2f9d8f431064..18e85573ce4a 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json index 51744711c886..3ec75c010815 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json index fcd3e4084167..5b6cfcd95b94 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json @@ -20,8 +20,12 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-6261/topics/sdk-Topics-1984/authorizationRules/sdk-AuthRules-4310", "name": "sdk-AuthRules-4310", "type": "Microsoft.ServiceBus/Namespaces/Topics/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicCreate.json index f9d86102850a..b0079c09a8d7 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicCreate.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicDelete.json index ebba9e051dbd..220a0c3b3acb 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicDelete.json @@ -8,5 +8,6 @@ }, "responses": { "200": {}, - "204": {} } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicListByNameSpace.json index 1acf697b0db1..9923581a7030 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicListByNameSpace.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicListByNameSpace.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicUpdate.json index 25f2c24d9f56..f8e08eb7ddd4 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicUpdate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/Topics/SBTopicUpdate.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json index 5a5af975ecc2..aadd2ccaf3f3 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -10,11 +10,16 @@ "responses": { "200": { "body": { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", - "name": "sdk-Authrules-4879", - "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json index 13bd24456fdc..3709fd28a635 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json @@ -9,33 +9,54 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", - "name": "RootManageSharedAccessKey", - "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", - "name": "sdk-Authrules-1067", - "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", - "name": "sdk-Authrules-1684", - "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", - "name": "sdk-Authrules-4879", - "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } - ] - } + "value": [ + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", + "name": "RootManageSharedAccessKey", + "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", + "name": "sdk-Authrules-1067", + "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", + "name": "sdk-Authrules-1684", + "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.ServiceBus/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json index 7a0f84b9447a..0a737fe403ff 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json @@ -10,12 +10,12 @@ "responses": { "200": { "body": { - "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", - "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", "primaryKey": "############################################", "secondaryKey": "############################################", "keyName": "sdk-Authrules-1746" } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json index eb55819824ba..002c618a643b 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json @@ -4,8 +4,8 @@ "subscriptionId": "exampleSubscriptionId", "namespaceName": "sdk-Namespace-9080", "resourceGroupName": "exampleResourceGroup", - "parameters": { - "name": "sdk-DisasterRecovery-9474" + "parameters": { + "name": "sdk-DisasterRecovery-9474" } }, "responses": { @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasDelete.json index b5aa995963cd..b0940231d28d 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasDelete.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasDelete.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasFailOver.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasFailOver.json index df7d155d71b8..9eebc2078df1 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasFailOver.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasFailOver.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasList.json index ea2881f7a662..66ab8cb338ba 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasList.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/examples/disasterRecoveryConfigs/SBAliasList.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json index 4759d4311bbc..749a1454cf39 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json @@ -41,7 +41,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "./examples/SBOperations_List.json" } + "OperationsList": { + "$ref": "./examples/SBOperations_List.json" + } }, "description": "Lists all of the available ServiceBus REST API operations.", "parameters": [ @@ -75,7 +77,9 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NameSpaceCheckNameAvailability": { "$ref": "./examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" } + "NameSpaceCheckNameAvailability": { + "$ref": "./examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" + } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -118,7 +122,9 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "NameSpaceList": { "$ref": "./examples/NameSpaces/SBNameSpaceList.json" } + "NameSpaceList": { + "$ref": "./examples/NameSpaces/SBNameSpaceList.json" + } }, "description": "Gets all the available namespaces within the subscription, irrespective of the resource groups.", "externalDocs": { @@ -158,7 +164,9 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NameSpaceListByResourceGroup": { "$ref": "./examples/NameSpaces/SBNameSpaceListByResourceGroup.json" } + "NameSpaceListByResourceGroup": { + "$ref": "./examples/NameSpaces/SBNameSpaceListByResourceGroup.json" + } }, "description": "Gets the available namespaces within a resource group.", "externalDocs": { @@ -201,7 +209,9 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NameSpaceCreate": { "$ref": "./examples/NameSpaces/SBNameSpaceCreate.json" } + "NameSpaceCreate": { + "$ref": "./examples/NameSpaces/SBNameSpaceCreate.json" + } }, "description": "Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "externalDocs": { @@ -265,7 +275,9 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "./examples/NameSpaces/SBNameSpaceDelete.json" } + "NameSpaceDelete": { + "$ref": "./examples/NameSpaces/SBNameSpaceDelete.json" + } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "externalDocs": { @@ -310,7 +322,9 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "./examples/NameSpaces/SBNameSpaceGet.json" } + "NameSpaceGet": { + "$ref": "./examples/NameSpaces/SBNameSpaceGet.json" + } }, "description": "Gets a description for the specified namespace.", "externalDocs": { @@ -351,7 +365,9 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "./examples/NameSpaces/SBNameSpaceUpdate.json" } + "NameSpaceUpdate": { + "$ref": "./examples/NameSpaces/SBNameSpaceUpdate.json" + } }, "description": "Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -409,7 +425,9 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "NameSpaceAuthorizationRuleListAll": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json" } + "NameSpaceAuthorizationRuleListAll": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json" + } }, "description": "Gets the authorization rules for a namespace.", "externalDocs": { @@ -455,7 +473,9 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an authorization rule for a namespace.", "externalDocs": { @@ -508,7 +528,9 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json" } + "NameSpaceAuthorizationRuleDelete": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json" + } }, "description": "Deletes a namespace authorization rule.", "externalDocs": { @@ -552,7 +574,9 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json" } + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a namespace by rule name.", "externalDocs": { @@ -598,7 +622,9 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the namespace.", "externalDocs": { @@ -644,7 +670,9 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json" } + "NameSpaceAuthorizationRuleRegenerateKey": { + "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings for the namespace.", "externalDocs": { @@ -699,7 +727,9 @@ ], "operationId": "Namespaces_Migrate", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "./examples/NameSpaces/SBNamespaceMigrate.json" } + "NameSpaceUpdate": { + "$ref": "./examples/NameSpaces/SBNamespaceMigrate.json" + } }, "description": "This operation Migrate the given namespace to provided name type", "parameters": [ @@ -745,7 +775,9 @@ ], "operationId": "DisasterRecoveryConfigs_CheckNameAvailability", "x-ms-examples": { - "AliasNameAvailability": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json" } + "AliasNameAvailability": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json" + } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -794,7 +826,9 @@ ], "operationId": "DisasterRecoveryConfigs_List", "x-ms-examples": { - "SBAliasList": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasList.json" } + "SBAliasList": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasList.json" + } }, "description": "Gets all Alias(Disaster Recovery configurations)", "parameters": [ @@ -837,7 +871,9 @@ ], "operationId": "DisasterRecoveryConfigs_CreateOrUpdate", "x-ms-examples": { - "SBAliasCreate": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasCreate.json" } + "SBAliasCreate": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasCreate.json" + } }, "description": "Creates or updates a new Alias(Disaster Recovery configuration)", "parameters": [ @@ -890,7 +926,9 @@ ], "operationId": "DisasterRecoveryConfigs_Delete", "x-ms-examples": { - "SBAliasDelete": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasDelete.json" } + "SBAliasDelete": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasDelete.json" + } }, "description": "Deletes an Alias(Disaster Recovery configuration)", "parameters": [ @@ -928,7 +966,9 @@ ], "operationId": "DisasterRecoveryConfigs_Get", "x-ms-examples": { - "SBAliasGet": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasGet.json" } + "SBAliasGet": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasGet.json" + } }, "description": "Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace", "parameters": [ @@ -971,7 +1011,9 @@ ], "operationId": "DisasterRecoveryConfigs_BreakPairing", "x-ms-examples": { - "SBEHAliasBreakPairing": { "$ref": "./examples/disasterRecoveryConfigs/SBEHAliasBreakPairing.json" } + "SBEHAliasBreakPairing": { + "$ref": "./examples/disasterRecoveryConfigs/SBEHAliasBreakPairing.json" + } }, "description": "This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces", "parameters": [ @@ -1011,7 +1053,9 @@ ], "operationId": "DisasterRecoveryConfigs_FailOver", "x-ms-examples": { - "SBAliasFailOver": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasFailOver.json" } + "SBAliasFailOver": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasFailOver.json" + } }, "description": "Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace", "parameters": [ @@ -1051,7 +1095,9 @@ ], "operationId": "DisasterRecoveryConfigs_ListAuthorizationRules", "x-ms-examples": { - "NameSpaceAuthorizationRuleListAll": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json" } + "NameSpaceAuthorizationRuleListAll": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json" + } }, "description": "Gets the authorization rules for a namespace.", "externalDocs": { @@ -1100,7 +1146,9 @@ ], "operationId": "DisasterRecoveryConfigs_GetAuthorizationRule", "x-ms-examples": { - "DisasterRecoveryConfigsAuthorizationRuleGet": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json" } + "DisasterRecoveryConfigsAuthorizationRuleGet": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a namespace by rule name.", "externalDocs": { @@ -1149,7 +1197,9 @@ ], "operationId": "DisasterRecoveryConfigs_ListKeys", "x-ms-examples": { - "DisasterRecoveryConfigsAuthorizationRuleListKey": { "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json" } + "DisasterRecoveryConfigsAuthorizationRuleListKey": { + "$ref": "./examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the namespace.", "externalDocs": { @@ -1198,7 +1248,9 @@ ], "operationId": "MigrationConfigs_List", "x-ms-examples": { - "MigrationConfigurationsList": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationList.json" } + "MigrationConfigurationsList": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationList.json" + } }, "description": "Gets all migrationConfigurations", "parameters": [ @@ -1241,7 +1293,9 @@ ], "operationId": "MigrationConfigs_CreateAndStartMigration", "x-ms-examples": { - "MigrationConfigurationsStartMigration": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json" } + "MigrationConfigurationsStartMigration": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json" + } }, "description": "Creates Migration configuration and starts migration of entities from Standard to Premium namespace", "parameters": [ @@ -1295,7 +1349,9 @@ ], "operationId": "MigrationConfigs_Delete", "x-ms-examples": { - "MigrationConfigurationsDelete": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationDelete.json" } + "MigrationConfigurationsDelete": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationDelete.json" + } }, "description": "Deletes a MigrationConfiguration", "parameters": [ @@ -1336,7 +1392,9 @@ ], "operationId": "MigrationConfigs_Get", "x-ms-examples": { - "MigrationConfigurationsGet": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationGet.json" } + "MigrationConfigurationsGet": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationGet.json" + } }, "description": "Retrieves Migration Config", "parameters": [ @@ -1379,7 +1437,9 @@ ], "operationId": "MigrationConfigs_CompleteMigration", "x-ms-examples": { - "MigrationConfigurationsCompleteMigration": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json" } + "MigrationConfigurationsCompleteMigration": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json" + } }, "description": "This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.", "parameters": [ @@ -1419,7 +1479,9 @@ ], "operationId": "MigrationConfigs_Revert", "x-ms-examples": { - "MigrationConfigurationsRevert": { "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationRevert.json" } + "MigrationConfigurationsRevert": { + "$ref": "./examples/Migrationconfigurations/SBMigrationconfigurationRevert.json" + } }, "description": "This operation reverts Migration", "parameters": [ @@ -1459,7 +1521,9 @@ ], "operationId": "Queues_ListByNamespace", "x-ms-examples": { - "QueueListByNameSpace": { "$ref": "./examples/Queues/SBQueueListByNameSpace.json" } + "QueueListByNameSpace": { + "$ref": "./examples/Queues/SBQueueListByNameSpace.json" + } }, "description": "Gets the queues within a namespace.", "externalDocs": { @@ -1511,7 +1575,9 @@ ], "operationId": "Queues_CreateOrUpdate", "x-ms-examples": { - "QueueCreate": { "$ref": "./examples/Queues/SBQueueCreate.json" } + "QueueCreate": { + "$ref": "./examples/Queues/SBQueueCreate.json" + } }, "description": "Creates or updates a Service Bus queue. This operation is idempotent.", "externalDocs": { @@ -1564,7 +1630,9 @@ ], "operationId": "Queues_Delete", "x-ms-examples": { - "QueueDelete": { "$ref": "./examples/Queues/SBQueueDelete.json" } + "QueueDelete": { + "$ref": "./examples/Queues/SBQueueDelete.json" + } }, "description": "Deletes a queue from the specified namespace in a resource group.", "externalDocs": { @@ -1608,7 +1676,9 @@ ], "operationId": "Queues_Get", "x-ms-examples": { - "QueueGet": { "$ref": "./examples/Queues/SBQueueGet.json" } + "QueueGet": { + "$ref": "./examples/Queues/SBQueueGet.json" + } }, "description": "Returns a description for the specified queue.", "externalDocs": { @@ -1654,7 +1724,9 @@ ], "operationId": "Queues_ListAuthorizationRules", "x-ms-examples": { - "QueueAuthorizationRuleListAll": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleListAll.json" } + "QueueAuthorizationRuleListAll": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleListAll.json" + } }, "description": "Gets all authorization rules for a queue.", "externalDocs": { @@ -1703,7 +1775,9 @@ ], "operationId": "Queues_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleCreate": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleCreate.json" } + "QueueAuthorizationRuleCreate": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleCreate.json" + } }, "description": "Creates an authorization rule for a queue.", "parameters": [ @@ -1756,7 +1830,9 @@ ], "operationId": "Queues_DeleteAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleDelete": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleDelete.json" } + "QueueAuthorizationRuleDelete": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleDelete.json" + } }, "description": "Deletes a queue authorization rule.", "externalDocs": { @@ -1803,7 +1879,9 @@ ], "operationId": "Queues_GetAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleGet": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleGet.json" } + "QueueAuthorizationRuleGet": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleGet.json" + } }, "description": "Gets an authorization rule for a queue by rule name.", "externalDocs": { @@ -1852,7 +1930,9 @@ ], "operationId": "Queues_ListKeys", "x-ms-examples": { - "QueueAuthorizationRuleListKey": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleListKey.json" } + "QueueAuthorizationRuleListKey": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleListKey.json" + } }, "description": "Primary and secondary connection strings to the queue.", "externalDocs": { @@ -1901,7 +1981,9 @@ ], "operationId": "Queues_RegenerateKeys", "x-ms-examples": { - "QueueAuthorizationRuleRegenerateKey": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json" } + "QueueAuthorizationRuleRegenerateKey": { + "$ref": "./examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings to the queue.", "externalDocs": { @@ -1959,7 +2041,9 @@ ], "operationId": "Topics_ListByNamespace", "x-ms-examples": { - "TopicGet": { "$ref": "./examples/Topics/SBTopicListByNameSpace.json" } + "TopicGet": { + "$ref": "./examples/Topics/SBTopicListByNameSpace.json" + } }, "description": "Gets all the topics in a namespace.", "externalDocs": { @@ -2011,7 +2095,9 @@ ], "operationId": "Topics_CreateOrUpdate", "x-ms-examples": { - "TopicCreate": { "$ref": "./examples/Topics/SBTopicCreate.json" } + "TopicCreate": { + "$ref": "./examples/Topics/SBTopicCreate.json" + } }, "description": "Creates a topic in the specified namespace.", "externalDocs": { @@ -2064,7 +2150,9 @@ ], "operationId": "Topics_Delete", "x-ms-examples": { - "TopicDelete": { "$ref": "./examples/Topics/SBTopicDelete.json" } + "TopicDelete": { + "$ref": "./examples/Topics/SBTopicDelete.json" + } }, "description": "Deletes a topic from the specified namespace and resource group.", "externalDocs": { @@ -2108,7 +2196,9 @@ ], "operationId": "Topics_Get", "x-ms-examples": { - "TopicGet": { "$ref": "./examples/Topics/SBTopicGet.json" } + "TopicGet": { + "$ref": "./examples/Topics/SBTopicGet.json" + } }, "description": "Returns a description for the specified topic.", "externalDocs": { @@ -2154,7 +2244,9 @@ ], "operationId": "Topics_ListAuthorizationRules", "x-ms-examples": { - "TopicAuthorizationRuleListAll": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleListAll.json" } + "TopicAuthorizationRuleListAll": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleListAll.json" + } }, "description": "Gets authorization rules for a topic.", "externalDocs": { @@ -2203,7 +2295,9 @@ ], "operationId": "Topics_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleCreate": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleCreate.json" } + "TopicAuthorizationRuleCreate": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleCreate.json" + } }, "description": "Creates an authorization rule for the specified topic.", "externalDocs": { @@ -2259,7 +2353,9 @@ ], "operationId": "Topics_GetAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleGet": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleGet.json" } + "TopicAuthorizationRuleGet": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleGet.json" + } }, "description": "Returns the specified authorization rule.", "externalDocs": { @@ -2306,7 +2402,9 @@ ], "operationId": "Topics_DeleteAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleDelete": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleDelete.json" } + "TopicAuthorizationRuleDelete": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleDelete.json" + } }, "description": "Deletes a topic authorization rule.", "externalDocs": { @@ -2355,7 +2453,9 @@ ], "operationId": "Topics_ListKeys", "x-ms-examples": { - "TopicAuthorizationRuleListKey": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleListKey.json" } + "TopicAuthorizationRuleListKey": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the topic.", "externalDocs": { @@ -2404,7 +2504,9 @@ ], "operationId": "Topics_RegenerateKeys", "x-ms-examples": { - "TopicAuthorizationRuleRegenerateKey": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json" } + "TopicAuthorizationRuleRegenerateKey": { + "$ref": "./examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates primary or secondary connection strings for the topic.", "externalDocs": { @@ -2462,7 +2564,9 @@ ], "operationId": "Subscriptions_ListByTopic", "x-ms-examples": { - "SubscriptionListByTopic": { "$ref": "./examples/Subscriptions/SBSubscriptionListByTopic.json" } + "SubscriptionListByTopic": { + "$ref": "./examples/Subscriptions/SBSubscriptionListByTopic.json" + } }, "description": "List all the subscriptions under a specified topic.", "externalDocs": { @@ -2517,7 +2621,9 @@ ], "operationId": "Subscriptions_CreateOrUpdate", "x-ms-examples": { - "SubscriptionCreate": { "$ref": "./examples/Subscriptions/SBSubscriptionCreate.json" } + "SubscriptionCreate": { + "$ref": "./examples/Subscriptions/SBSubscriptionCreate.json" + } }, "description": "Creates a topic subscription.", "externalDocs": { @@ -2573,7 +2679,9 @@ ], "operationId": "Subscriptions_Delete", "x-ms-examples": { - "SubscriptionDelete": { "$ref": "./examples/Subscriptions/SBSubscriptionDelete.json" } + "SubscriptionDelete": { + "$ref": "./examples/Subscriptions/SBSubscriptionDelete.json" + } }, "description": "Deletes a subscription from the specified topic.", "externalDocs": { @@ -2620,7 +2728,9 @@ ], "operationId": "Subscriptions_Get", "x-ms-examples": { - "SubscriptionGet": { "$ref": "./examples/Subscriptions/SBSubscriptionGet.json" } + "SubscriptionGet": { + "$ref": "./examples/Subscriptions/SBSubscriptionGet.json" + } }, "description": "Returns a subscription description for the specified topic.", "externalDocs": { @@ -2669,7 +2779,9 @@ ], "operationId": "Rules_ListBySubscriptions", "x-ms-examples": { - "RulesListBySubscriptions": { "$ref": "./examples/Rules/RuleListBySubscription.json" } + "RulesListBySubscriptions": { + "$ref": "./examples/Rules/RuleListBySubscription.json" + } }, "description": "List all the rules within given topic-subscription", "parameters": [ @@ -2724,9 +2836,15 @@ ], "operationId": "Rules_CreateOrUpdate", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/Rules/RuleCreate.json" }, - "RulesCreateSqlFilter": { "$ref": "./examples/Rules/RuleCreate_SqlFilter.json" }, - "RulesCreateCorrelationFilter": { "$ref": "./examples/Rules/RuleCreate_CorrelationFilter.json" } + "RulesCreateOrUpdate": { + "$ref": "./examples/Rules/RuleCreate.json" + }, + "RulesCreateSqlFilter": { + "$ref": "./examples/Rules/RuleCreate_SqlFilter.json" + }, + "RulesCreateCorrelationFilter": { + "$ref": "./examples/Rules/RuleCreate_CorrelationFilter.json" + } }, "description": "Creates a new rule and updates an existing rule", "parameters": [ @@ -2782,7 +2900,9 @@ ], "operationId": "Rules_Delete", "x-ms-examples": { - "RulesDelete": { "$ref": "./examples/Rules/RuleDelete.json" } + "RulesDelete": { + "$ref": "./examples/Rules/RuleDelete.json" + } }, "description": "Deletes an existing rule.", "parameters": [ @@ -2829,7 +2949,9 @@ ], "operationId": "Rules_Get", "x-ms-examples": { - "RulesGet": { "$ref": "./examples/Rules/RuleGet.json" } + "RulesGet": { + "$ref": "./examples/Rules/RuleGet.json" + } }, "description": "Retrieves the description for the specified rule.", "externalDocs": { @@ -2881,7 +3003,9 @@ ], "operationId": "Regions_ListBySku", "x-ms-examples": { - "RegionsListBySku": { "$ref": "./examples/SkuRegions/SkuRegions.json" } + "RegionsListBySku": { + "$ref": "./examples/SkuRegions/SkuRegions.json" + } }, "description": "Gets the available Regions for a given sku", "parameters": [ @@ -2921,7 +3045,9 @@ ], "operationId": "PremiumMessagingRegions_List", "x-ms-examples": { - "PremiumMessagingRegionsList": { "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" } + "PremiumMessagingRegionsList": { + "$ref": "./examples/SkuRegions/PremiumMessagingRegions.json" + } }, "description": "Gets the available premium messaging regions for servicebus ", "parameters": [ @@ -2958,7 +3084,9 @@ ], "operationId": "EventHubs_ListByNamespace", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "./examples/SkuRegions/EventHubs.json" } + "RulesCreateOrUpdate": { + "$ref": "./examples/SkuRegions/EventHubs.json" + } }, "description": "Gets all the Event Hubs in a service bus Namespace.", "parameters": [ @@ -4268,7 +4396,6 @@ "captureDescription": { "$ref": "#/definitions/CaptureDescription", "description": "Properties of capture description" - } }, "description": "Properties supplied to the Create Or Update Event Hub operation." From e337bc2e681c1b816fecb86fcb717e1ec9e3ce54 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:26:59 -0400 Subject: [PATCH 017/495] chore: jsonfmt timeseriesinsights (#6268) Ran `jsonfmt -w "specification/timeseriesinsights/**/*.json"` --- .../examples/AvailabilityGet.json | 2 +- .../examples/AvailabilityGetEmpty.json | 2 +- .../examples/EventSchemaGet.json | 2 +- .../examples/EventSchemaGetEmpty.json | 2 +- .../examples/HierarchiesBatchDeleteByIds.json | 2 +- .../HierarchiesBatchDeleteByNames.json | 2 +- .../examples/HierarchiesBatchGetByIds.json | 2 +- .../examples/HierarchiesBatchGetByNames.json | 2 +- .../examples/HierarchiesBatchPut.json | 2 +- .../examples/HierarchiesGetPage1.json | 2 +- .../examples/HierarchiesGetPage2.json | 2 +- .../examples/HierarchiesGetPage3.json | 2 +- .../examples/InstancesBatchDeleteByIds.json | 2 +- .../examples/InstancesBatchDeleteByNames.json | 2 +- .../examples/InstancesBatchGetByIds.json | 2 +- .../examples/InstancesBatchGetByNames.json | 2 +- .../examples/InstancesBatchPut.json | 2 +- .../examples/InstancesBatchUpdate.json | 2 +- .../examples/InstancesGetPage1.json | 2 +- .../examples/InstancesGetPage2.json | 2 +- .../examples/InstancesGetPage3.json | 2 +- .../examples/InstancesSearchPage1.json | 2 +- .../examples/InstancesSearchPage2.json | 2 +- .../examples/InstancesSearchPage3.json | 2 +- .../examples/InstancesSuggest.json | 2 +- .../examples/ModelSettingsGet.json | 2 +- .../examples/ModelSettingsUpdateName.json | 2 +- .../examples/QueryAggregateSeriesPage1.json | 2 +- .../examples/QueryAggregateSeriesPage2.json | 2 +- .../examples/QueryGetEventsPage1.json | 2 +- .../examples/QueryGetEventsPage2.json | 2 +- .../examples/QueryGetEventsPage3.json | 2 +- .../examples/QueryGetEventsPage4.json | 2 +- .../examples/QueryGetSeriesPage1.json | 2 +- .../examples/QueryGetSeriesPage2.json | 2 +- .../examples/QueryGetSeriesPage3.json | 2 +- .../examples/TypesBatchDeleteByIds.json | 2 +- .../examples/TypesBatchDeleteByNames.json | 2 +- .../examples/TypesBatchGetByIds.json | 2 +- .../examples/TypesBatchGetByNames.json | 2 +- .../examples/TypesBatchPut.json | 2 +- .../examples/TypesGetPage1.json | 2 +- .../examples/TypesGetPage2.json | 2 +- .../examples/TypesGetPage3.json | 2 +- .../timeseriesinsights.json | 4 +- .../examples/AccessPoliciesCreate.json | 12 +- .../examples/AccessPoliciesGet.json | 4 +- .../AccessPoliciesListByEnvironment.json | 6 +- .../examples/AccessPoliciesPatchRoles.json | 9 +- .../EnvironmentsListByResourceGroup.json | 60 ++++----- .../EnvironmentsListBySubscription.json | 2 +- .../EventSourcesListByEnvironment.json | 2 +- .../examples/Operation_List.json | 2 +- .../examples/ReferenceDataSetsCreate.json | 8 +- .../ReferenceDataSetsListByEnvironment.json | 2 +- .../examples/ReferenceDataSetsPatchTags.json | 8 +- .../timeseriesinsights.json | 82 +++++++++--- .../examples/AccessPoliciesCreate.json | 12 +- .../examples/AccessPoliciesGet.json | 4 +- .../AccessPoliciesListByEnvironment.json | 6 +- .../examples/AccessPoliciesPatchRoles.json | 9 +- .../examples/EnvironmentsGetExpandStatus.json | 2 +- .../EnvironmentsListByResourceGroup.json | 62 ++++----- .../EnvironmentsListBySubscription.json | 2 +- .../examples/EnvironmentsStatusGet.json | 2 - .../EventSourcesListByEnvironment.json | 2 +- .../examples/EventSourcesPatchTags.json | 8 +- .../examples/Operation_List.json | 2 +- .../examples/ReferenceDataSetsCreate.json | 8 +- .../ReferenceDataSetsListByEnvironment.json | 2 +- .../examples/ReferenceDataSetsPatchTags.json | 8 +- .../timeseriesinsights.json | 118 +++++++++++++---- .../examples/AccessPoliciesCreate.json | 12 +- .../examples/AccessPoliciesGet.json | 4 +- .../AccessPoliciesListByEnvironment.json | 6 +- .../examples/AccessPoliciesPatchRoles.json | 9 +- .../examples/EnvironmentsGetExpandStatus.json | 2 +- .../EnvironmentsListByResourceGroup.json | 60 ++++----- .../EnvironmentsListBySubscription.json | 2 +- .../EventSourcesListByEnvironment.json | 2 +- .../examples/EventSourcesPatchTags.json | 8 +- .../2017-11-15/examples/Operation_List.json | 2 +- .../examples/ReferenceDataSetsCreate.json | 8 +- .../ReferenceDataSetsListByEnvironment.json | 2 +- .../examples/ReferenceDataSetsPatchTags.json | 8 +- .../stable/2017-11-15/timeseriesinsights.json | 122 +++++++++++++----- 86 files changed, 505 insertions(+), 278 deletions(-) diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json index 91266ab82b55..6d33f53d8138 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json index 1f1298797b21..45512b7c37fa 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json index f0055ea205a9..bacda9fd39d6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json index 4ba97f2d0342..798e8c314e30 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json index 7f525960c77d..9d625e269976 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json index 8f9695fdb028..e8f1c1098374 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json index 0354198864bd..dd235acc4832 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json index c45178967e16..12f91a55bab6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json index 813faa3120be..f721d4f85627 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json index d6d53c985c2c..8e9cd4ccc56d 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json index b498dc95ce4a..ee899eade91f 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json index 996d7c351b96..0efe91089d64 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json index c77b05e4ab20..d0039bcec6b0 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json index a35391744a0d..d8302aa70992 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json index 97801bec052d..707f18d1dd13 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json index 69d188ef05d6..4d7e870a87b8 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json index cb17e5ccf2d8..96b3c7607b73 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json index 4d07f403f6c0..cef18e908bac 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json index 5ad42e84db91..6228d4d09cbe 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json index 912fb94c2ff1..e073f5aad18a 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json index 4f97895d7a30..49b39f084b3a 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json index 4689ee92e57a..c201006a93fd 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json index 0dc85846337e..82f18fdeecf3 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json index a6f82d0f7c65..d32ea0262194 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json index a93b0ac3b8f0..3f6783e48663 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json index 9bd1908eeecc..33be629b0ae6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json index 387b1a288451..a293f2d67e83 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json index ad812dab5831..1d6d698130d6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json index 44bb3630dbb7..64cdb0420ba5 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json @@ -140,4 +140,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json index 515b20d16834..8ccd3a16d2ac 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json index 64a6d2bab965..c5632f969536 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json index 45193c9b47b7..faa557dcdd37 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json index c348f54fe6b5..635bb387b0c3 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json index 48589c3c3f6d..d6728874a152 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json index a39dc39c17a2..ebc36eda5bbd 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json index 9fa16bd2e2a3..6f586344d7d2 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json index 5f8e0ec63a3b..06cffe01e03d 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json index 808976da579b..048590e0d8c2 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json index 974e8be640c7..79708427f893 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json index 563ca21d5dec..09ba068d160b 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json index 4c7fc49f7a24..cfce86fd80b8 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json index 692f56ea1e03..204a4d9cca64 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json index 89a8c5a73a7b..dacfd9da4740 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json index b42f5396ec94..65be4bc46f2a 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json index 501d0b19b2bc..a5aa8d44eda0 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json @@ -1250,7 +1250,7 @@ "values": { "description": "Values of a single property corresponding to the timestamps. May contain nulls. Type of values matches the type of property.", "type": "array", - "items": { } + "items": {} } } } @@ -1309,7 +1309,7 @@ "instanceFields": { "description": "Set of key-value pairs that contain user-defined instance properties. May be null.", "type": "object", - "additionalProperties": { } + "additionalProperties": {} } }, "required": [ diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesCreate.json index 2d87c03cf9bb..082ed4a8b4dd 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesCreate.json @@ -7,7 +7,9 @@ "parameters": { "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } }, @@ -21,7 +23,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -33,7 +37,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesGet.json index 6a61ea5f0e51..b7c041c4c367 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesGet.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesGet.json @@ -14,7 +14,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json index b90a1d0adf46..f622b124f75e 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json @@ -15,7 +15,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -23,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json index 4c533c2cae15..00c7c7bf07f1 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json @@ -6,7 +6,10 @@ "accessPolicyName": "ap1", "accessPolicyUpdateParameters": { "properties": { - "roles": [ "Reader", "Contributor" ] + "roles": [ + "Reader", + "Contributor" + ] } }, "api-version": "2017-02-28-preview" @@ -19,7 +22,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json index 3ddc9e241025..f94d4a1c7832 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "api-version": "2017-02-28-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", - "location": "West US", - "name": "env1", - "type": "Microsoft.TimeSeriesInsights/Environments", - "tags": {}, - "properties": { - "dataRetentionTime": "P31D", - "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" - }, - "sku": { - "name": "S1", - "capacity": 1 - } - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "api-version": "2017-02-28-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", + "location": "West US", + "name": "env1", + "type": "Microsoft.TimeSeriesInsights/Environments", + "tags": {}, + "properties": { + "dataRetentionTime": "P31D", + "provisioningState": "Succeeded", + "creationTime": "2017-04-18T19:20:33.2288820Z" + }, + "sku": { + "name": "S1", + "capacity": 1 + } + } + ] + } + } + } +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListBySubscription.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListBySubscription.json index 0eab9adeda7f..3aa366aa7488 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListBySubscription.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EnvironmentsListBySubscription.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EventSourcesListByEnvironment.json index fc0e1753cfb5..60e3c3ba5098 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/EventSourcesListByEnvironment.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/Operation_List.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/Operation_List.json index 90dac002ccfd..5dbf3a19d505 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/Operation_List.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/Operation_List.json @@ -172,4 +172,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsCreate.json index e7e3d3505495..46cd42994205 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsCreate.json @@ -31,10 +31,10 @@ "tags": {}, "properties": { "keyProperties": [ - { - "name": "DeviceId1", - "type": "String" - }, + { + "name": "DeviceId1", + "type": "String" + }, { "name": "DeviceFloor", "type": "Double" diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json index b1b19bcac124..d21d32eabf29 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json index b3f9ebf17e8e..6a5e742d1bc1 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json @@ -5,7 +5,9 @@ "environmentName": "env1", "referenceDataSetName": "rds1", "referenceDataSetUpdateParameters": { - "tags": { "someKey": "someValue" } + "tags": { + "someKey": "someValue" + } }, "api-version": "2017-02-28-preview" }, @@ -16,7 +18,9 @@ "location": "West US", "name": "rds1", "type": "Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets", - "tags": { "someKey": "someValue" }, + "tags": { + "someKey": "someValue" + }, "properties": { "keyProperties": [ { diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/timeseriesinsights.json index deb20e0cfa77..240dd0cb7414 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2017-02-28-preview/timeseriesinsights.json @@ -42,7 +42,9 @@ "operationId": "Operations_List", "description": "Lists all of the available Time Series Insights related operations.", "x-ms-examples": { - "List available operations for the Time Series Insights resource provider": { "$ref": "./examples/Operation_List.json" } + "List available operations for the Time Series Insights resource provider": { + "$ref": "./examples/Operation_List.json" + } }, "parameters": [ { @@ -69,7 +71,9 @@ ], "operationId": "Environments_CreateOrUpdate", "x-ms-examples": { - "EnvironmentsCreate": { "$ref": "./examples/EnvironmentsCreate.json" } + "EnvironmentsCreate": { + "$ref": "./examples/EnvironmentsCreate.json" + } }, "x-ms-long-running-operation": true, "description": "Create or update an environment in the specified subscription and resource group.", @@ -133,7 +137,9 @@ ], "operationId": "Environments_Get", "x-ms-examples": { - "EnvironmentsGet": { "$ref": "./examples/EnvironmentsGet.json" } + "EnvironmentsGet": { + "$ref": "./examples/EnvironmentsGet.json" + } }, "description": "Gets the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -171,7 +177,9 @@ ], "operationId": "Environments_Update", "x-ms-examples": { - "EnvironmentsUpdate": { "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" } + "EnvironmentsUpdate": { + "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" + } }, "x-ms-long-running-operation": true, "description": "Updates the environment with the specified name in the specified subscription and resource group.", @@ -219,7 +227,9 @@ ], "operationId": "Environments_Delete", "x-ms-examples": { - "EnvironmentsDelete": { "$ref": "./examples/EnvironmentsDelete.json" } + "EnvironmentsDelete": { + "$ref": "./examples/EnvironmentsDelete.json" + } }, "description": "Deletes the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -259,7 +269,9 @@ ], "operationId": "Environments_ListByResourceGroup", "x-ms-examples": { - "EnvironmentsByResourceGroup": { "$ref": "./examples/EnvironmentsListByResourceGroup.json" } + "EnvironmentsByResourceGroup": { + "$ref": "./examples/EnvironmentsListByResourceGroup.json" + } }, "description": "Lists all the available environments associated with the subscription and within the specified resource group.", "parameters": [ @@ -296,7 +308,9 @@ ], "operationId": "Environments_ListBySubscription", "x-ms-examples": { - "EnvironmentsBySubscription": { "$ref": "./examples/EnvironmentsListBySubscription.json" } + "EnvironmentsBySubscription": { + "$ref": "./examples/EnvironmentsListBySubscription.json" + } }, "description": "Lists all the available environments within a subscription, irrespective of the resource groups.", "parameters": [ @@ -552,7 +566,9 @@ ], "operationId": "ReferenceDataSets_CreateOrUpdate", "x-ms-examples": { - "ReferenceDataSetsCreate": { "$ref": "./examples/ReferenceDataSetsCreate.json" } + "ReferenceDataSetsCreate": { + "$ref": "./examples/ReferenceDataSetsCreate.json" + } }, "description": "Create or update a reference data set in the specified environment.", "parameters": [ @@ -615,7 +631,9 @@ ], "operationId": "ReferenceDataSets_Get", "x-ms-examples": { - "ReferenceDataSetsGet": { "$ref": "./examples/ReferenceDataSetsGet.json" } + "ReferenceDataSetsGet": { + "$ref": "./examples/ReferenceDataSetsGet.json" + } }, "description": "Gets the reference data set with the specified name in the specified environment.", "parameters": [ @@ -656,7 +674,9 @@ ], "operationId": "ReferenceDataSets_Update", "x-ms-examples": { - "ReferenceDataSetsUpdate": { "$ref": "./examples/ReferenceDataSetsPatchTags.json" } + "ReferenceDataSetsUpdate": { + "$ref": "./examples/ReferenceDataSetsPatchTags.json" + } }, "description": "Updates the reference data set with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -706,7 +726,9 @@ ], "operationId": "ReferenceDataSets_Delete", "x-ms-examples": { - "ReferenceDataSetsDelete": { "$ref": "./examples/ReferenceDataSetsDelete.json" } + "ReferenceDataSetsDelete": { + "$ref": "./examples/ReferenceDataSetsDelete.json" + } }, "description": "Deletes the reference data set with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -749,7 +771,9 @@ ], "operationId": "ReferenceDataSets_ListByEnvironment", "x-ms-examples": { - "ReferenceDataSetsListByEnvironment": { "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" } + "ReferenceDataSetsListByEnvironment": { + "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" + } }, "description": "Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -789,7 +813,9 @@ ], "operationId": "AccessPolicies_CreateOrUpdate", "x-ms-examples": { - "AccessPoliciesCreate": { "$ref": "./examples/AccessPoliciesCreate.json" } + "AccessPoliciesCreate": { + "$ref": "./examples/AccessPoliciesCreate.json" + } }, "description": "Create or update an access policy in the specified environment.", "parameters": [ @@ -852,7 +878,9 @@ ], "operationId": "AccessPolicies_Get", "x-ms-examples": { - "AccessPoliciesGet": { "$ref": "./examples/AccessPoliciesGet.json" } + "AccessPoliciesGet": { + "$ref": "./examples/AccessPoliciesGet.json" + } }, "description": "Gets the access policy with the specified name in the specified environment.", "parameters": [ @@ -893,7 +921,9 @@ ], "operationId": "AccessPolicies_Update", "x-ms-examples": { - "AccessPoliciesUpdate": { "$ref": "./examples/AccessPoliciesPatchRoles.json" } + "AccessPoliciesUpdate": { + "$ref": "./examples/AccessPoliciesPatchRoles.json" + } }, "description": "Updates the access policy with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -943,7 +973,9 @@ ], "operationId": "AccessPolicies_Delete", "x-ms-examples": { - "AccessPoliciesDelete": { "$ref": "./examples/AccessPoliciesDelete.json" } + "AccessPoliciesDelete": { + "$ref": "./examples/AccessPoliciesDelete.json" + } }, "description": "Deletes the access policy with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -986,7 +1018,9 @@ ], "operationId": "AccessPolicies_ListByEnvironment", "x-ms-examples": { - "AccessPoliciesByEnvironment": { "$ref": "./examples/AccessPoliciesListByEnvironment.json" } + "AccessPoliciesByEnvironment": { + "$ref": "./examples/AccessPoliciesListByEnvironment.json" + } }, "description": "Lists all the available access policies associated with the environment.", "parameters": [ @@ -1279,7 +1313,10 @@ "storageLimitExceededBehavior": { "type": "string", "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.", - "enum": [ "PurgeOldData", "PauseIngress" ], + "enum": [ + "PurgeOldData", + "PauseIngress" + ], "x-ms-enum": { "name": "StorageLimitExceededBehavior", "modelAsString": false @@ -1455,7 +1492,10 @@ "kind": { "type": "string", "description": "The kind of the event source.", - "enum": [ "Microsoft.EventHub", "Microsoft.IoTHub" ] + "enum": [ + "Microsoft.EventHub", + "Microsoft.IoTHub" + ] } }, "required": [ @@ -1667,7 +1707,7 @@ "properties": { "propertyName": { "type": "string", - "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" + "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" } } } @@ -2018,4 +2058,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesCreate.json index df11a732d205..1fadc67765e9 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesCreate.json @@ -7,7 +7,9 @@ "parameters": { "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } }, @@ -21,7 +23,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -33,7 +37,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesGet.json index 82fefa1074be..794bb5b6bbd1 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesGet.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesGet.json @@ -14,7 +14,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesListByEnvironment.json index cd8af78c4a01..d136edee9fc6 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesListByEnvironment.json @@ -15,7 +15,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -23,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesPatchRoles.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesPatchRoles.json index 074d5c19fb39..ccaf2db483ec 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesPatchRoles.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/AccessPoliciesPatchRoles.json @@ -6,7 +6,10 @@ "accessPolicyName": "ap1", "accessPolicyUpdateParameters": { "properties": { - "roles": [ "Reader", "Contributor" ] + "roles": [ + "Reader", + "Contributor" + ] } }, "api-version": "2018-08-15-preview" @@ -19,7 +22,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsGetExpandStatus.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsGetExpandStatus.json index 7fd36b2a6af8..b5e571bf3438 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsGetExpandStatus.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsGetExpandStatus.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListByResourceGroup.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListByResourceGroup.json index a01b5d89a9fb..cfe9264bd6c6 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListByResourceGroup.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListByResourceGroup.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "api-version": "2018-08-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", - "location": "West US", - "name": "env1", - "type": "Microsoft.TimeSeriesInsights/Environments", - "kind": "Standard", - "tags": {}, - "properties": { - "dataRetentionTime": "P31D", - "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" - }, - "sku": { - "name": "S1", - "capacity": 1 - } - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "api-version": "2018-08-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", + "location": "West US", + "name": "env1", + "type": "Microsoft.TimeSeriesInsights/Environments", + "kind": "Standard", + "tags": {}, + "properties": { + "dataRetentionTime": "P31D", + "provisioningState": "Succeeded", + "creationTime": "2017-04-18T19:20:33.2288820Z" + }, + "sku": { + "name": "S1", + "capacity": 1 + } + } + ] + } + } + } +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListBySubscription.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListBySubscription.json index e85e4f3753fd..e4dc57a4db02 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListBySubscription.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsListBySubscription.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsStatusGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsStatusGet.json index 7b72070d7781..1bd795bc7268 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsStatusGet.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsStatusGet.json @@ -16,5 +16,3 @@ } } } - - \ No newline at end of file diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesListByEnvironment.json index 6c856aaf637a..4403ed39553e 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesListByEnvironment.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesPatchTags.json index 94e96ec1eb25..e88b868684d5 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EventSourcesPatchTags.json @@ -5,7 +5,9 @@ "environmentName": "env1", "eventSourceName": "es1", "eventSourceUpdateParameters": { - "tags": { "someKey": "someValue" } + "tags": { + "someKey": "someValue" + } }, "api-version": "2018-08-15-preview" }, @@ -16,7 +18,9 @@ "location": "West US", "name": "es1", "type": "Microsoft.TimeSeriesInsights/Environments/EventSources", - "tags": { "someKey": "someValue" }, + "tags": { + "someKey": "someValue" + }, "kind": "Microsoft.EventHub", "properties": { "eventSourceResourceId": "somePathInArm", diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/Operation_List.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/Operation_List.json index f9c9a47fde7a..a418b7799b6d 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/Operation_List.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/Operation_List.json @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsCreate.json index 26cb825ea353..6f846f2d86e7 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsCreate.json @@ -31,10 +31,10 @@ "tags": {}, "properties": { "keyProperties": [ - { - "name": "DeviceId1", - "type": "String" - }, + { + "name": "DeviceId1", + "type": "String" + }, { "name": "DeviceFloor", "type": "Double" diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsListByEnvironment.json index 713863e531e9..cb6fbed1710e 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsListByEnvironment.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsPatchTags.json index 586ec38ca0ce..c068b90532cf 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/ReferenceDataSetsPatchTags.json @@ -5,7 +5,9 @@ "environmentName": "env1", "referenceDataSetName": "rds1", "referenceDataSetUpdateParameters": { - "tags": { "someKey": "someValue" } + "tags": { + "someKey": "someValue" + } }, "api-version": "2018-08-15-preview" }, @@ -16,7 +18,9 @@ "location": "West US", "name": "rds1", "type": "Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets", - "tags": { "someKey": "someValue" }, + "tags": { + "someKey": "someValue" + }, "properties": { "keyProperties": [ { diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json index 144e5b06a0e7..9c875fd60286 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json @@ -42,7 +42,9 @@ "operationId": "Operations_List", "description": "Lists all of the available Time Series Insights related operations.", "x-ms-examples": { - "List available operations for the Time Series Insights resource provider": { "$ref": "./examples/Operation_List.json" } + "List available operations for the Time Series Insights resource provider": { + "$ref": "./examples/Operation_List.json" + } }, "parameters": [ { @@ -69,7 +71,9 @@ ], "operationId": "Environments_CreateOrUpdate", "x-ms-examples": { - "EnvironmentsCreate": { "$ref": "./examples/EnvironmentsCreate.json" } + "EnvironmentsCreate": { + "$ref": "./examples/EnvironmentsCreate.json" + } }, "x-ms-long-running-operation": true, "description": "Create or update an environment in the specified subscription and resource group.", @@ -133,7 +137,9 @@ ], "operationId": "Environments_Get", "x-ms-examples": { - "EnvironmentsGet": { "$ref": "./examples/EnvironmentsGet.json" } + "EnvironmentsGet": { + "$ref": "./examples/EnvironmentsGet.json" + } }, "description": "Gets the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -174,7 +180,9 @@ ], "operationId": "Environments_Update", "x-ms-examples": { - "EnvironmentsUpdate": { "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" } + "EnvironmentsUpdate": { + "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" + } }, "x-ms-long-running-operation": true, "description": "Updates the environment with the specified name in the specified subscription and resource group.", @@ -222,7 +230,9 @@ ], "operationId": "Environments_Delete", "x-ms-examples": { - "EnvironmentsDelete": { "$ref": "./examples/EnvironmentsDelete.json" } + "EnvironmentsDelete": { + "$ref": "./examples/EnvironmentsDelete.json" + } }, "description": "Deletes the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -262,7 +272,9 @@ ], "operationId": "Environments_ListByResourceGroup", "x-ms-examples": { - "EnvironmentsByResourceGroup": { "$ref": "./examples/EnvironmentsListByResourceGroup.json" } + "EnvironmentsByResourceGroup": { + "$ref": "./examples/EnvironmentsListByResourceGroup.json" + } }, "description": "Lists all the available environments associated with the subscription and within the specified resource group.", "parameters": [ @@ -299,7 +311,9 @@ ], "operationId": "Environments_ListBySubscription", "x-ms-examples": { - "EnvironmentsBySubscription": { "$ref": "./examples/EnvironmentsListBySubscription.json" } + "EnvironmentsBySubscription": { + "$ref": "./examples/EnvironmentsListBySubscription.json" + } }, "description": "Lists all the available environments within a subscription, irrespective of the resource groups.", "parameters": [ @@ -333,7 +347,9 @@ ], "operationId": "EventSources_CreateOrUpdate", "x-ms-examples": { - "CreateEventHubEventSource": { "$ref": "./examples/EventSourcesCreateEventHub.json" } + "CreateEventHubEventSource": { + "$ref": "./examples/EventSourcesCreateEventHub.json" + } }, "description": "Create or update an event source under the specified environment.", "parameters": [ @@ -396,7 +412,9 @@ ], "operationId": "EventSources_Get", "x-ms-examples": { - "GetEventHubEventSource": { "$ref": "./examples/EventSourcesGetEventHub.json" } + "GetEventHubEventSource": { + "$ref": "./examples/EventSourcesGetEventHub.json" + } }, "description": "Gets the event source with the specified name in the specified environment.", "parameters": [ @@ -437,7 +455,9 @@ ], "operationId": "EventSources_Update", "x-ms-examples": { - "UpdateEventSource": { "$ref": "./examples/EventSourcesPatchTags.json" } + "UpdateEventSource": { + "$ref": "./examples/EventSourcesPatchTags.json" + } }, "description": "Updates the event source with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -487,7 +507,9 @@ ], "operationId": "EventSources_Delete", "x-ms-examples": { - "DeleteEventSource": { "$ref": "./examples/EventSourcesDelete.json" } + "DeleteEventSource": { + "$ref": "./examples/EventSourcesDelete.json" + } }, "description": "Deletes the event source with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -530,7 +552,9 @@ ], "operationId": "EventSources_ListByEnvironment", "x-ms-examples": { - "ListEventSourcesByEnvironment": { "$ref": "./examples/EventSourcesListByEnvironment.json" } + "ListEventSourcesByEnvironment": { + "$ref": "./examples/EventSourcesListByEnvironment.json" + } }, "description": "Lists all the available event sources associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -570,7 +594,9 @@ ], "operationId": "ReferenceDataSets_CreateOrUpdate", "x-ms-examples": { - "ReferenceDataSetsCreate": { "$ref": "./examples/ReferenceDataSetsCreate.json" } + "ReferenceDataSetsCreate": { + "$ref": "./examples/ReferenceDataSetsCreate.json" + } }, "description": "Create or update a reference data set in the specified environment.", "parameters": [ @@ -633,7 +659,9 @@ ], "operationId": "ReferenceDataSets_Get", "x-ms-examples": { - "ReferenceDataSetsGet": { "$ref": "./examples/ReferenceDataSetsGet.json" } + "ReferenceDataSetsGet": { + "$ref": "./examples/ReferenceDataSetsGet.json" + } }, "description": "Gets the reference data set with the specified name in the specified environment.", "parameters": [ @@ -674,7 +702,9 @@ ], "operationId": "ReferenceDataSets_Update", "x-ms-examples": { - "ReferenceDataSetsUpdate": { "$ref": "./examples/ReferenceDataSetsPatchTags.json" } + "ReferenceDataSetsUpdate": { + "$ref": "./examples/ReferenceDataSetsPatchTags.json" + } }, "description": "Updates the reference data set with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -724,7 +754,9 @@ ], "operationId": "ReferenceDataSets_Delete", "x-ms-examples": { - "ReferenceDataSetsDelete": { "$ref": "./examples/ReferenceDataSetsDelete.json" } + "ReferenceDataSetsDelete": { + "$ref": "./examples/ReferenceDataSetsDelete.json" + } }, "description": "Deletes the reference data set with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -767,7 +799,9 @@ ], "operationId": "ReferenceDataSets_ListByEnvironment", "x-ms-examples": { - "ReferenceDataSetsListByEnvironment": { "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" } + "ReferenceDataSetsListByEnvironment": { + "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" + } }, "description": "Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -807,7 +841,9 @@ ], "operationId": "AccessPolicies_CreateOrUpdate", "x-ms-examples": { - "AccessPoliciesCreate": { "$ref": "./examples/AccessPoliciesCreate.json" } + "AccessPoliciesCreate": { + "$ref": "./examples/AccessPoliciesCreate.json" + } }, "description": "Create or update an access policy in the specified environment.", "parameters": [ @@ -870,7 +906,9 @@ ], "operationId": "AccessPolicies_Get", "x-ms-examples": { - "AccessPoliciesGet": { "$ref": "./examples/AccessPoliciesGet.json" } + "AccessPoliciesGet": { + "$ref": "./examples/AccessPoliciesGet.json" + } }, "description": "Gets the access policy with the specified name in the specified environment.", "parameters": [ @@ -911,7 +949,9 @@ ], "operationId": "AccessPolicies_Update", "x-ms-examples": { - "AccessPoliciesUpdate": { "$ref": "./examples/AccessPoliciesPatchRoles.json" } + "AccessPoliciesUpdate": { + "$ref": "./examples/AccessPoliciesPatchRoles.json" + } }, "description": "Updates the access policy with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -961,7 +1001,9 @@ ], "operationId": "AccessPolicies_Delete", "x-ms-examples": { - "AccessPoliciesDelete": { "$ref": "./examples/AccessPoliciesDelete.json" } + "AccessPoliciesDelete": { + "$ref": "./examples/AccessPoliciesDelete.json" + } }, "description": "Deletes the access policy with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -1004,7 +1046,9 @@ ], "operationId": "AccessPolicies_ListByEnvironment", "x-ms-examples": { - "AccessPoliciesByEnvironment": { "$ref": "./examples/AccessPoliciesListByEnvironment.json" } + "AccessPoliciesByEnvironment": { + "$ref": "./examples/AccessPoliciesListByEnvironment.json" + } }, "description": "Lists all the available access policies associated with the environment.", "parameters": [ @@ -1120,7 +1164,10 @@ "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ "read", "create" ] + "x-ms-mutability": [ + "read", + "create" + ] }, "tags": { "type": "object", @@ -1251,7 +1298,10 @@ "location": { "type": "string", "description": "The location of the resource.", - "x-ms-mutability": [ "read", "create" ] + "x-ms-mutability": [ + "read", + "create" + ] }, "tags": { "type": "object", @@ -1468,7 +1518,10 @@ "storageLimitExceededBehavior": { "type": "string", "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.", - "enum": [ "PurgeOldData", "PauseIngress" ], + "enum": [ + "PurgeOldData", + "PauseIngress" + ], "x-ms-enum": { "name": "StorageLimitExceededBehavior", "modelAsString": true @@ -1589,7 +1642,10 @@ "storageLimitExceededBehavior": { "type": "string", "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.", - "enum": [ "PurgeOldData", "PauseIngress" ], + "enum": [ + "PurgeOldData", + "PauseIngress" + ], "x-ms-enum": { "name": "StorageLimitExceededBehavior", "modelAsString": true @@ -1819,7 +1875,10 @@ "kind": { "type": "string", "description": "The kind of the event source.", - "enum": [ "Microsoft.EventHub", "Microsoft.IoTHub" ] + "enum": [ + "Microsoft.EventHub", + "Microsoft.IoTHub" + ] } }, "required": [ @@ -2148,7 +2207,10 @@ "dataStringComparisonBehavior": { "type": "string", "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.", - "enum": [ "Ordinal", "OrdinalIgnoreCase" ], + "enum": [ + "Ordinal", + "OrdinalIgnoreCase" + ], "x-ms-enum": { "name": "DataStringComparisonBehavior", "modelAsString": true diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesCreate.json index 9fccdc6f1e69..97b3de975f49 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesCreate.json @@ -7,7 +7,9 @@ "parameters": { "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } }, @@ -21,7 +23,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -33,7 +37,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesGet.json index 3adba06d9ee9..734fa639157e 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesGet.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesGet.json @@ -14,7 +14,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesListByEnvironment.json index 346b329785f6..cd64bb6e3d91 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesListByEnvironment.json @@ -15,7 +15,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } @@ -23,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesPatchRoles.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesPatchRoles.json index 4fb64c43cb11..26da9c346cc7 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesPatchRoles.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/AccessPoliciesPatchRoles.json @@ -6,7 +6,10 @@ "accessPolicyName": "ap1", "accessPolicyUpdateParameters": { "properties": { - "roles": [ "Reader", "Contributor" ] + "roles": [ + "Reader", + "Contributor" + ] } }, "api-version": "2017-11-15" @@ -19,7 +22,9 @@ "type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", "properties": { "principalObjectId": "aGuid", - "roles": [ "Reader" ], + "roles": [ + "Reader" + ], "description": "some description" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsGetExpandStatus.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsGetExpandStatus.json index be7b1b720fd2..7c815959e7ee 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsGetExpandStatus.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsGetExpandStatus.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListByResourceGroup.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListByResourceGroup.json index db0ada363dd6..45f691143427 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListByResourceGroup.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListByResourceGroup.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "api-version": "2017-11-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", - "location": "West US", - "name": "env1", - "type": "Microsoft.TimeSeriesInsights/Environments", - "tags": {}, - "properties": { - "dataRetentionTime": "P31D", - "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" - }, - "sku": { - "name": "S1", - "capacity": 1 - } - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "api-version": "2017-11-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", + "location": "West US", + "name": "env1", + "type": "Microsoft.TimeSeriesInsights/Environments", + "tags": {}, + "properties": { + "dataRetentionTime": "P31D", + "provisioningState": "Succeeded", + "creationTime": "2017-04-18T19:20:33.2288820Z" + }, + "sku": { + "name": "S1", + "capacity": 1 + } + } + ] + } + } + } +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListBySubscription.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListBySubscription.json index 5dda39de1533..6ed32040818a 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListBySubscription.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EnvironmentsListBySubscription.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesListByEnvironment.json index c32fc3166999..3f228251bbd3 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesListByEnvironment.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesPatchTags.json index 3df0b181ca05..0d485987de61 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/EventSourcesPatchTags.json @@ -5,7 +5,9 @@ "environmentName": "env1", "eventSourceName": "es1", "eventSourceUpdateParameters": { - "tags": { "someKey": "someValue" } + "tags": { + "someKey": "someValue" + } }, "api-version": "2017-11-15" }, @@ -16,7 +18,9 @@ "location": "West US", "name": "es1", "type": "Microsoft.TimeSeriesInsights/Environments/EventSources", - "tags": { "someKey": "someValue" }, + "tags": { + "someKey": "someValue" + }, "kind": "Microsoft.EventHub", "properties": { "eventSourceResourceId": "somePathInArm", diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/Operation_List.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/Operation_List.json index f9c9a47fde7a..a418b7799b6d 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/Operation_List.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/Operation_List.json @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsCreate.json index 2602015e3a3e..319bbf15b47d 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsCreate.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsCreate.json @@ -31,10 +31,10 @@ "tags": {}, "properties": { "keyProperties": [ - { - "name": "DeviceId1", - "type": "String" - }, + { + "name": "DeviceId1", + "type": "String" + }, { "name": "DeviceFloor", "type": "Double" diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsListByEnvironment.json index 588149883acf..89278580086d 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsListByEnvironment.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsPatchTags.json index f269e8ebf991..8cf3f32c4b83 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/examples/ReferenceDataSetsPatchTags.json @@ -5,7 +5,9 @@ "environmentName": "env1", "referenceDataSetName": "rds1", "referenceDataSetUpdateParameters": { - "tags": { "someKey": "someValue" } + "tags": { + "someKey": "someValue" + } }, "api-version": "2017-11-15" }, @@ -16,7 +18,9 @@ "location": "West US", "name": "rds1", "type": "Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets", - "tags": { "someKey": "someValue" }, + "tags": { + "someKey": "someValue" + }, "properties": { "keyProperties": [ { diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/timeseriesinsights.json index 147d1e1d718d..2ea8a5585f7c 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2017-11-15/timeseriesinsights.json @@ -42,7 +42,9 @@ "operationId": "Operations_List", "description": "Lists all of the available Time Series Insights related operations.", "x-ms-examples": { - "List available operations for the Time Series Insights resource provider": { "$ref": "./examples/Operation_List.json" } + "List available operations for the Time Series Insights resource provider": { + "$ref": "./examples/Operation_List.json" + } }, "parameters": [ { @@ -69,7 +71,9 @@ ], "operationId": "Environments_CreateOrUpdate", "x-ms-examples": { - "EnvironmentsCreate": { "$ref": "./examples/EnvironmentsCreate.json" } + "EnvironmentsCreate": { + "$ref": "./examples/EnvironmentsCreate.json" + } }, "x-ms-long-running-operation": true, "description": "Create or update an environment in the specified subscription and resource group.", @@ -133,7 +137,9 @@ ], "operationId": "Environments_Get", "x-ms-examples": { - "EnvironmentsGet": { "$ref": "./examples/EnvironmentsGet.json" } + "EnvironmentsGet": { + "$ref": "./examples/EnvironmentsGet.json" + } }, "description": "Gets the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -174,7 +180,9 @@ ], "operationId": "Environments_Update", "x-ms-examples": { - "EnvironmentsUpdate": { "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" } + "EnvironmentsUpdate": { + "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" + } }, "x-ms-long-running-operation": true, "description": "Updates the environment with the specified name in the specified subscription and resource group.", @@ -222,7 +230,9 @@ ], "operationId": "Environments_Delete", "x-ms-examples": { - "EnvironmentsDelete": { "$ref": "./examples/EnvironmentsDelete.json" } + "EnvironmentsDelete": { + "$ref": "./examples/EnvironmentsDelete.json" + } }, "description": "Deletes the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -262,7 +272,9 @@ ], "operationId": "Environments_ListByResourceGroup", "x-ms-examples": { - "EnvironmentsByResourceGroup": { "$ref": "./examples/EnvironmentsListByResourceGroup.json" } + "EnvironmentsByResourceGroup": { + "$ref": "./examples/EnvironmentsListByResourceGroup.json" + } }, "description": "Lists all the available environments associated with the subscription and within the specified resource group.", "parameters": [ @@ -299,7 +311,9 @@ ], "operationId": "Environments_ListBySubscription", "x-ms-examples": { - "EnvironmentsBySubscription": { "$ref": "./examples/EnvironmentsListBySubscription.json" } + "EnvironmentsBySubscription": { + "$ref": "./examples/EnvironmentsListBySubscription.json" + } }, "description": "Lists all the available environments within a subscription, irrespective of the resource groups.", "parameters": [ @@ -333,7 +347,9 @@ ], "operationId": "EventSources_CreateOrUpdate", "x-ms-examples": { - "CreateEventHubEventSource": { "$ref": "./examples/EventSourcesCreateEventHub.json" } + "CreateEventHubEventSource": { + "$ref": "./examples/EventSourcesCreateEventHub.json" + } }, "description": "Create or update an event source under the specified environment.", "parameters": [ @@ -396,7 +412,9 @@ ], "operationId": "EventSources_Get", "x-ms-examples": { - "GetEventHubEventSource": { "$ref": "./examples/EventSourcesGetEventHub.json" } + "GetEventHubEventSource": { + "$ref": "./examples/EventSourcesGetEventHub.json" + } }, "description": "Gets the event source with the specified name in the specified environment.", "parameters": [ @@ -437,7 +455,9 @@ ], "operationId": "EventSources_Update", "x-ms-examples": { - "UpdateEventSource": { "$ref": "./examples/EventSourcesPatchTags.json" } + "UpdateEventSource": { + "$ref": "./examples/EventSourcesPatchTags.json" + } }, "description": "Updates the event source with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -487,7 +507,9 @@ ], "operationId": "EventSources_Delete", "x-ms-examples": { - "DeleteEventSource": { "$ref": "./examples/EventSourcesDelete.json" } + "DeleteEventSource": { + "$ref": "./examples/EventSourcesDelete.json" + } }, "description": "Deletes the event source with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -530,7 +552,9 @@ ], "operationId": "EventSources_ListByEnvironment", "x-ms-examples": { - "ListEventSourcesByEnvironment": { "$ref": "./examples/EventSourcesListByEnvironment.json" } + "ListEventSourcesByEnvironment": { + "$ref": "./examples/EventSourcesListByEnvironment.json" + } }, "description": "Lists all the available event sources associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -570,7 +594,9 @@ ], "operationId": "ReferenceDataSets_CreateOrUpdate", "x-ms-examples": { - "ReferenceDataSetsCreate": { "$ref": "./examples/ReferenceDataSetsCreate.json" } + "ReferenceDataSetsCreate": { + "$ref": "./examples/ReferenceDataSetsCreate.json" + } }, "description": "Create or update a reference data set in the specified environment.", "parameters": [ @@ -633,7 +659,9 @@ ], "operationId": "ReferenceDataSets_Get", "x-ms-examples": { - "ReferenceDataSetsGet": { "$ref": "./examples/ReferenceDataSetsGet.json" } + "ReferenceDataSetsGet": { + "$ref": "./examples/ReferenceDataSetsGet.json" + } }, "description": "Gets the reference data set with the specified name in the specified environment.", "parameters": [ @@ -674,7 +702,9 @@ ], "operationId": "ReferenceDataSets_Update", "x-ms-examples": { - "ReferenceDataSetsUpdate": { "$ref": "./examples/ReferenceDataSetsPatchTags.json" } + "ReferenceDataSetsUpdate": { + "$ref": "./examples/ReferenceDataSetsPatchTags.json" + } }, "description": "Updates the reference data set with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -724,7 +754,9 @@ ], "operationId": "ReferenceDataSets_Delete", "x-ms-examples": { - "ReferenceDataSetsDelete": { "$ref": "./examples/ReferenceDataSetsDelete.json" } + "ReferenceDataSetsDelete": { + "$ref": "./examples/ReferenceDataSetsDelete.json" + } }, "description": "Deletes the reference data set with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -767,7 +799,9 @@ ], "operationId": "ReferenceDataSets_ListByEnvironment", "x-ms-examples": { - "ReferenceDataSetsListByEnvironment": { "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" } + "ReferenceDataSetsListByEnvironment": { + "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" + } }, "description": "Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -807,7 +841,9 @@ ], "operationId": "AccessPolicies_CreateOrUpdate", "x-ms-examples": { - "AccessPoliciesCreate": { "$ref": "./examples/AccessPoliciesCreate.json" } + "AccessPoliciesCreate": { + "$ref": "./examples/AccessPoliciesCreate.json" + } }, "description": "Create or update an access policy in the specified environment.", "parameters": [ @@ -870,7 +906,9 @@ ], "operationId": "AccessPolicies_Get", "x-ms-examples": { - "AccessPoliciesGet": { "$ref": "./examples/AccessPoliciesGet.json" } + "AccessPoliciesGet": { + "$ref": "./examples/AccessPoliciesGet.json" + } }, "description": "Gets the access policy with the specified name in the specified environment.", "parameters": [ @@ -911,7 +949,9 @@ ], "operationId": "AccessPolicies_Update", "x-ms-examples": { - "AccessPoliciesUpdate": { "$ref": "./examples/AccessPoliciesPatchRoles.json" } + "AccessPoliciesUpdate": { + "$ref": "./examples/AccessPoliciesPatchRoles.json" + } }, "description": "Updates the access policy with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -961,7 +1001,9 @@ ], "operationId": "AccessPolicies_Delete", "x-ms-examples": { - "AccessPoliciesDelete": { "$ref": "./examples/AccessPoliciesDelete.json" } + "AccessPoliciesDelete": { + "$ref": "./examples/AccessPoliciesDelete.json" + } }, "description": "Deletes the access policy with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -1004,7 +1046,9 @@ ], "operationId": "AccessPolicies_ListByEnvironment", "x-ms-examples": { - "AccessPoliciesByEnvironment": { "$ref": "./examples/AccessPoliciesListByEnvironment.json" } + "AccessPoliciesByEnvironment": { + "$ref": "./examples/AccessPoliciesListByEnvironment.json" + } }, "description": "Lists all the available access policies associated with the environment.", "parameters": [ @@ -1120,7 +1164,10 @@ "location": { "type": "string", "description": "Resource location", - "x-ms-mutability":["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "tags": { "type": "object", @@ -1206,7 +1253,10 @@ "location": { "type": "string", "description": "The location of the resource.", - "x-ms-mutability":["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "tags": { "type": "object", @@ -1305,7 +1355,10 @@ "storageLimitExceededBehavior": { "type": "string", "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.", - "enum": [ "PurgeOldData", "PauseIngress" ], + "enum": [ + "PurgeOldData", + "PauseIngress" + ], "x-ms-enum": { "name": "StorageLimitExceededBehavior", "modelAsString": false @@ -1367,7 +1420,10 @@ "storageLimitExceededBehavior": { "type": "string", "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.", - "enum": [ "PurgeOldData", "PauseIngress" ], + "enum": [ + "PurgeOldData", + "PauseIngress" + ], "x-ms-enum": { "name": "StorageLimitExceededBehavior", "modelAsString": false @@ -1443,7 +1499,7 @@ "readOnly": true, "type": "object", "description": "An object that contains the details about an environment's state.", - "properties":{ + "properties": { "code": { "type": "string", "description": "Contains the code that represents the reason of an environment being in a particular state. Can be used to programmatically handle specific cases." @@ -1580,7 +1636,10 @@ "kind": { "type": "string", "description": "The kind of the event source.", - "enum": [ "Microsoft.EventHub", "Microsoft.IoTHub" ] + "enum": [ + "Microsoft.EventHub", + "Microsoft.IoTHub" + ] } }, "required": [ @@ -1792,7 +1851,7 @@ "properties": { "propertyName": { "type": "string", - "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" + "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" } } } @@ -1909,7 +1968,10 @@ "dataStringComparisonBehavior": { "type": "string", "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.", - "enum": [ "Ordinal", "OrdinalIgnoreCase" ], + "enum": [ + "Ordinal", + "OrdinalIgnoreCase" + ], "x-ms-enum": { "name": "DataStringComparisonBehavior", "modelAsString": false From fc526bbbb772d73f11003227d07a42c40acb371f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:28:00 -0400 Subject: [PATCH 018/495] chore: jsonfmt workloadmonitor (#6274) Ran `jsonfmt -w "specification/workloadmonitor/**/*.json"` --- .../Microsoft.WorkloadMonitor.json | 6 +- .../examples/ComponentsSummary_List.json | 16 +- .../examples/Components_Get.json | 2 +- .../examples/Components_ListByResource.json | 846 +-- .../MonitorInstancesSummary_List.json | 182 +- .../examples/MonitorInstances_Get.json | 112 +- .../MonitorInstances_ListByResource.json | 6586 ++++++++--------- .../examples/Monitors_Get.json | 8 +- .../examples/Monitors_ListByResource.json | 6 +- .../examples/Monitors_Update.json | 17 +- .../examples/NotificationSettings_Get.json | 2 +- .../NotificationSettings_ListByResource.json | 12 +- .../examples/NotificationSettings_Update.json | 8 +- .../examples/Operations_List.json | 186 +- 14 files changed, 3904 insertions(+), 4085 deletions(-) diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json index 9e5ea17e4b56..08e3b6c84539 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json @@ -670,7 +670,7 @@ "type": "string" }, { - "$ref": "#/parameters/notificationSettingName" + "$ref": "#/parameters/notificationSettingName" }, { "$ref": "#/parameters/api-version" @@ -737,7 +737,7 @@ "type": "string" }, { - "$ref": "#/parameters/notificationSettingName" + "$ref": "#/parameters/notificationSettingName" }, { "$ref": "#/parameters/api-version" @@ -1869,4 +1869,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/ComponentsSummary_List.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/ComponentsSummary_List.json index 7f4ac53823d8..9caceff64bf9 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/ComponentsSummary_List.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/ComponentsSummary_List.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "$select" : "OSType", - "$filter" : "HealthStateCategory eq 'Identity' and (ComponentTypeName eq 'Microsoft.Windows.Server.10.0.Full.Computer' or ComponentTypeName eq 'Microsoft.Linux.Universal.Computer') and WorkloadType eq 'BaseOS' and (ResourceGroupId eq 'viv_rg')", - "$apply" : "groupby((OperatingSystem,HealthState),aggregate(VmId with countdistinct as VmCount))", - "$orderby" : "Error", + "$select": "OSType", + "$filter": "HealthStateCategory eq 'Identity' and (ComponentTypeName eq 'Microsoft.Windows.Server.10.0.Full.Computer' or ComponentTypeName eq 'Microsoft.Linux.Universal.Computer') and WorkloadType eq 'BaseOS' and (ResourceGroupId eq 'viv_rg')", + "$apply": "groupby((OperatingSystem,HealthState),aggregate(VmId with countdistinct as VmCount))", + "$orderby": "Error", "api-version": "2018-08-31-preview" }, "responses": { @@ -13,13 +13,10 @@ "value": [ { "properties": { - "componentTypeGroupCategory": null, - "vmId": null, "vmName": null, "vmTags": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -48,13 +45,10 @@ }, { "properties": { - "componentTypeGroupCategory": null, - "vmId": null, "vmName": null, "vmTags": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -86,4 +80,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_Get.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_Get.json index 1e74ef7c48ab..c7917269a948 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_Get.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_Get.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_ListByResource.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_ListByResource.json index 7865bbebab67..fb5d7b3ead7f 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_ListByResource.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Components_ListByResource.json @@ -3,433 +3,433 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", "api-version": "2018-08-31-preview" }, "responses": { "200": { "body": { - "value": [ - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:43:36+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T09:08:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:35:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:21:08+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:50:11+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:02:52+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:10:46+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='05a70c91-2163-d974-638d-2ddda2308153'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - }, - { - "properties": { - "componentTypeGroupCategory": null, - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmName": "Canary-WLI-2", - "vmTags": {}, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:10:36+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "monitorCategory": "EntityHealth", - "monitorType": "Aggregate", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/components" - } - ], - "nextLink": null - } + "value": [ + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:43:36+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T09:08:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:35:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:21:08+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:50:11+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:02:52+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:10:46+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='05a70c91-2163-d974-638d-2ddda2308153'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + }, + { + "properties": { + "componentTypeGroupCategory": null, + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmName": "Canary-WLI-2", + "vmTags": {}, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:10:36+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "monitorCategory": "EntityHealth", + "monitorType": "Aggregate", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/components" + } + ], + "nextLink": null + } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstancesSummary_List.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstancesSummary_List.json index 3d3855911da0..fdaa5ce7d4c5 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstancesSummary_List.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstancesSummary_List.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "$select" : "MonitorId,MonitorName,MonitorDisplayName,MonitorType,MonitorCategory,ComponentName,ComponentTypeDisplayName", - "$filter" : "(ResourceGroupId eq 'viv_rg') and WorkloadType eq 'BaseOS' and HealthStateCategory eq 'CustomGroup' and MonitorKind eq 'Custom' and (MonitorType eq 'Unit') and (MonitorCategory eq 'PerformanceHealth' or MonitorCategory eq 'AvailabilityHealth' or MonitorCategory eq 'ConfigurationHealth' or MonitorCategory eq 'SecurityHealth')", - "$apply" : "groupby((MonitorName,HealthState),aggregate($count as Instances))", - "$orderby" : "Unhealthy desc", + "$select": "MonitorId,MonitorName,MonitorDisplayName,MonitorType,MonitorCategory,ComponentName,ComponentTypeDisplayName", + "$filter": "(ResourceGroupId eq 'viv_rg') and WorkloadType eq 'BaseOS' and HealthStateCategory eq 'CustomGroup' and MonitorKind eq 'Custom' and (MonitorType eq 'Unit') and (MonitorCategory eq 'PerformanceHealth' or MonitorCategory eq 'AvailabilityHealth' or MonitorCategory eq 'ConfigurationHealth' or MonitorCategory eq 'SecurityHealth')", + "$apply": "groupby((MonitorName,HealthState),aggregate($count as Instances))", + "$orderby": "Unhealthy desc", "api-version": "2018-08-31-preview" }, "responses": { @@ -19,11 +19,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -57,11 +53,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -95,11 +87,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -133,11 +121,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -171,11 +155,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -209,11 +189,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -247,11 +223,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -285,11 +257,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -323,11 +291,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -361,11 +325,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -399,11 +359,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -437,11 +393,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -475,11 +427,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -513,11 +461,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -551,11 +495,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -589,11 +529,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -627,11 +563,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -665,11 +597,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -703,11 +631,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -741,11 +665,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -779,11 +699,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -817,11 +733,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -855,11 +767,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -893,11 +801,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -931,11 +835,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -969,11 +869,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1007,11 +903,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1045,11 +937,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1083,11 +971,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1121,11 +1005,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1159,11 +1039,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1197,11 +1073,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1235,11 +1107,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1273,11 +1141,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1311,11 +1175,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1349,11 +1209,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1387,11 +1243,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1425,11 +1277,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1463,11 +1311,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1501,11 +1345,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1539,11 +1379,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1577,11 +1413,7 @@ "monitorType": "Unit", "monitorCategory": "PerformanceHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1615,11 +1447,7 @@ "monitorType": "Unit", "monitorCategory": "AvailabilityHealth", "healthStateChanges": null, - - - "alertGeneration": null, - "children": null, "workspaceId": null, "solutionId": null, @@ -1650,4 +1478,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_Get.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_Get.json index 90504e7415ed..a64caf85bf97 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_Get.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_Get.json @@ -3,66 +3,66 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", - "monitorInstanceId" : "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", + "monitorInstanceId": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", "api-version": "2018-08-31-preview" }, "responses": { "200": { "body": { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "052f9b7d-7bf0-7f61-966b-f372e207ef4e", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.FirewallServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:48:05+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_052f9b7d-7bf0-7f61-966b-f372e207ef4e", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Firewall Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - } + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "052f9b7d-7bf0-7f61-966b-f372e207ef4e", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.FirewallServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:48:05+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_052f9b7d-7bf0-7f61-966b-f372e207ef4e", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Firewall Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_ListByResource.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_ListByResource.json index c6648079a2f2..0dad8d8e9b3e 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_ListByResource.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/MonitorInstances_ListByResource.json @@ -3,3303 +3,3303 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", "api-version": "2018-08-31-preview" }, "responses": { "200": { "body": { - "value": [ - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "052f9b7d-7bf0-7f61-966b-f372e207ef4e", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.FirewallServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:48:05+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_052f9b7d-7bf0-7f61-966b-f372e207ef4e", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Firewall Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "b974db31-cf93-9d6b-740a-9f8508b92712", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup", - "monitorType": "Aggregate", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:50:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_b974db31-cf93-9d6b-740a-9f8508b92712", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Core Windows Services Rollup", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=b974db31-cf93-9d6b-740a-9f8508b92712'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=b974db31-cf93-9d6b-740a-9f8508b92712'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "a6c69968-61aa-a6b9-db6e-83a0da6110ea", - "monitorName": "System.Health.AvailabilityState", - "monitorType": "Aggregate", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:02:04+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_a6c69968-61aa-a6b9-db6e-83a0da6110ea", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Availability", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "c9db5e55-f3c8-7366-6b98-bc727e726a4b", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.DHCPClientServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:45:51+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_c9db5e55-f3c8-7366-6b98-bc727e726a4b", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "DHCP Client Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=c9db5e55-f3c8-7366-6b98-bc727e726a4b'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=c9db5e55-f3c8-7366-6b98-bc727e726a4b'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:43:36+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "b787a678-ce4b-c473-b6b4-6e1dbf184a61", - "monitorName": "Microsoft.Windows.Server.Computer.OSAvailabilityRollup", - "monitorType": "Dependency", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:06:21+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_b787a678-ce4b-c473-b6b4-6e1dbf184a61", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Computer Operating System Availability Rollup", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b787a678-ce4b-c473-b6b4-6e1dbf184a61'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b787a678-ce4b-c473-b6b4-6e1dbf184a61'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "9a86ee3f-d133-b183-a400-6ad3a3834c86", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.WindowsRemoteManagementServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:47:58+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_9a86ee3f-d133-b183-a400-6ad3a3834c86", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Remote Management Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=9a86ee3f-d133-b183-a400-6ad3a3834c86'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=9a86ee3f-d133-b183-a400-6ad3a3834c86'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "6799aaae-533c-9a8d-331f-ea833db85d1d", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.RPCServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:46:12+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_6799aaae-533c-9a8d-331f-ea833db85d1d", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "RPC Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=6799aaae-533c-9a8d-331f-ea833db85d1d'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=6799aaae-533c-9a8d-331f-ea833db85d1d'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "75472fe7-e406-32a6-4198-0502ecee1bfe", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.PercentCommittedBytesInUse", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:39:48+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_75472fe7-e406-32a6-4198-0502ecee1bfe", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Percentage of Committed Memory in Use", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=75472fe7-e406-32a6-4198-0502ecee1bfe'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=75472fe7-e406-32a6-4198-0502ecee1bfe'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerRead", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:48:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Logical Disk Seconds Per Read", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "887e162a-74f4-2951-64e5-87dd5f076342", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryFreeSystemPageTableEntries", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:10:45+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_887e162a-74f4-2951-64e5-87dd5f076342", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Free System Page Table Entries", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=887e162a-74f4-2951-64e5-87dd5f076342'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=887e162a-74f4-2951-64e5-87dd5f076342'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "a6c69968-61aa-a6b9-db6e-83a0da6110ea", - "monitorName": "System.Health.AvailabilityState", - "monitorType": "Aggregate", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T09:04:42+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_a6c69968-61aa-a6b9-db6e-83a0da6110ea", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Availability", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:48:09+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "3c184dff-8813-38f9-e965-2a9561425180", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.TotalDPCTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:37:42+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_3c184dff-8813-38f9-e965-2a9561425180", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Total DPC Time Percentage", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=3c184dff-8813-38f9-e965-2a9561425180'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=3c184dff-8813-38f9-e965-2a9561425180'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "4585a2f7-87c5-54e7-2b76-81af1073aec8", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.ServerServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:48:20+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_4585a2f7-87c5-54e7-2b76-81af1073aec8", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Server Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=4585a2f7-87c5-54e7-2b76-81af1073aec8'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=4585a2f7-87c5-54e7-2b76-81af1073aec8'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "37232a87-988f-6256-3033-ea0c102c2d43", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.DNSClientServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:45:42+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_37232a87-988f-6256-3033-ea0c102c2d43", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "DNS Client Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=37232a87-988f-6256-3033-ea0c102c2d43'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=37232a87-988f-6256-3033-ea0c102c2d43'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "50fd1db1-7111-d67e-3f81-e73203d073e3", - "monitorName": "Microsoft.Windows.Server.Computer.OSPerformanceRollup", - "monitorType": "Dependency", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:47:48+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_50fd1db1-7111-d67e-3f81-e73203d073e3", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Computer Operating System Performance Rollup", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=50fd1db1-7111-d67e-3f81-e73203d073e3'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=50fd1db1-7111-d67e-3f81-e73203d073e3'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "41eccc60-5578-2eea-e104-8bf7022ed5af", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryPagesPerSecond", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:43:54+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_41eccc60-5578-2eea-e104-8bf7022ed5af", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Memory Pages Per Second", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=41eccc60-5578-2eea-e104-8bf7022ed5af'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=41eccc60-5578-2eea-e104-8bf7022ed5af'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "e80001dc-3aa8-e5c8-f782-5b4ef144fd5c", - "monitorName": "Microsoft.Windows.Server.10.0.Processor.PercentDPCTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:45:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e80001dc-3aa8-e5c8-f782-5b4ef144fd5c", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "CPU DPC Time Percentage", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e80001dc-3aa8-e5c8-f782-5b4ef144fd5c'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e80001dc-3aa8-e5c8-f782-5b4ef144fd5c'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "c688a072-2a8f-6409-1895-a0cc363cb326", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerRead", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:48:37+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_c688a072-2a8f-6409-1895-a0cc363cb326", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Read", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T09:08:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "850400b6-9fd2-d927-bc47-9934dfe28845", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:50:20+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_850400b6-9fd2-d927-bc47-9934dfe28845", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Logical Disk Seconds Per Transfer", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "94df5e8c-989a-f595-86b0-0baba4662bfb", - "monitorName": "Microsoft.Windows.Server.10.0.Processor.CPUUtilization", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:43:50+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_94df5e8c-989a-f595-86b0-0baba4662bfb", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "CPU Percentage Utilization", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=94df5e8c-989a-f595-86b0-0baba4662bfb'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=94df5e8c-989a-f595-86b0-0baba4662bfb'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "33f2143c-d677-6d10-c676-2f2bac54bbbd", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.EventLogServiceHealth", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:46:06+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_33f2143c-d677-6d10-c676-2f2bac54bbbd", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Event Log Service Health", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=33f2143c-d677-6d10-c676-2f2bac54bbbd'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=33f2143c-d677-6d10-c676-2f2bac54bbbd'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "99dbb2f7-9335-40c1-562e-0bee9e43b029", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerWrite", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:50:24+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_99dbb2f7-9335-40c1-562e-0bee9e43b029", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Write (Logical Disk)", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "99dbb2f7-9335-40c1-562e-0bee9e43b029", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerWrite", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:50:15+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_99dbb2f7-9335-40c1-562e-0bee9e43b029", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Write (Logical Disk)", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "850400b6-9fd2-d927-bc47-9934dfe28845", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:49:10+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_850400b6-9fd2-d927-bc47-9934dfe28845", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Logical Disk Seconds Per Transfer", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "584e5846-a4a3-a17a-26fd-25014f727ee9", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerWrite", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:43:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_584e5846-a4a3-a17a-26fd-25014f727ee9", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Write", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "8966cbe8-38d2-57be-5937-3d43e38a3df5", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerTransfer", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:50:20+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_8966cbe8-38d2-57be-5937-3d43e38a3df5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Transfer", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "584e5846-a4a3-a17a-26fd-25014f727ee9", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerWrite", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:46:22+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_584e5846-a4a3-a17a-26fd-25014f727ee9", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Write", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerRead", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:48:38+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Logical Disk Seconds Per Read", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "8966cbe8-38d2-57be-5937-3d43e38a3df5", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerTransfer", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:50:08+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_8966cbe8-38d2-57be-5937-3d43e38a3df5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Transfer", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "07cacb31-615d-5c7a-e118-fd55c17b5a2c", - "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedReads", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:42:23+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_07cacb31-615d-5c7a-e118-fd55c17b5a2c", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Percent Bandwidth Used Read", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=07cacb31-615d-5c7a-e118-fd55c17b5a2c'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=07cacb31-615d-5c7a-e118-fd55c17b5a2c'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "194d2011-69ed-50bb-4d50-a394d48fb048", - "monitorName": "Microsoft.Windows.Server.10.0.Processor.PerformanceRollup", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:45:48+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_194d2011-69ed-50bb-4d50-a394d48fb048", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Server 2016 Processor Performance Rollup Monitor", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=194d2011-69ed-50bb-4d50-a394d48fb048'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=194d2011-69ed-50bb-4d50-a394d48fb048'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "c688a072-2a8f-6409-1895-a0cc363cb326", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerRead", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T08:49:07+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_c688a072-2a8f-6409-1895-a0cc363cb326", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Average Disk Seconds Per Read", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "728733ca-14e2-9ddc-8ec8-5de911bdf35f", - "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedWrites", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:40:34+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_728733ca-14e2-9ddc-8ec8-5de911bdf35f", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Percent Bandwidth Used Write", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=728733ca-14e2-9ddc-8ec8-5de911bdf35f'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=728733ca-14e2-9ddc-8ec8-5de911bdf35f'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "1aa535e9-d09c-3557-297f-62923069ba81", - "monitorName": "Microsoft.Windows.Server.10.0.MaxConcurrentAPI.Monitor", - "monitorType": "Unit", - "monitorCategory": "AvailabilityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:56:44+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_1aa535e9-d09c-3557-297f-62923069ba81", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Server 2016 Max Concurrent API Monitor", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=1aa535e9-d09c-3557-297f-62923069ba81'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=1aa535e9-d09c-3557-297f-62923069ba81'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T14:47:55+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:50:04+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "c2396f9e-22eb-9a72-0149-ea3b9a219e64", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.PercentIdleTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T14:43:38+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_c2396f9e-22eb-9a72-0149-ea3b9a219e64", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Disk Percent Idle Time", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "b12539ea-7122-af29-6af6-0047432bab6a", - "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedTotal", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:21:17+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_b12539ea-7122-af29-6af6-0047432bab6a", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Percent Bandwidth Used Total", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=b12539ea-7122-af29-6af6-0047432bab6a'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=b12539ea-7122-af29-6af6-0047432bab6a'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:43:45+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "c2396f9e-22eb-9a72-0149-ea3b9a219e64", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.PercentIdleTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:48:17+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_c2396f9e-22eb-9a72-0149-ea3b9a219e64", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Disk Percent Idle Time", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T08:49:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:52:08+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "22e3b675-109e-9292-952e-7554604e3605", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:33:41+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_22e3b675-109e-9292-952e-7554604e3605", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Current Disk Queue Length (Logical Disk)", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "CPU0", - "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", - "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:35:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Processor", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "062d163a-0742-73d9-1d9d-a582c82127e4", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.CurrentDiskQueueLength", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:34:04+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_062d163a-0742-73d9-1d9d-a582c82127e4", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Current Disk Queue Length", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "062d163a-0742-73d9-1d9d-a582c82127e4", - "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.CurrentDiskQueueLength", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:43:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_062d163a-0742-73d9-1d9d-a582c82127e4", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Current Disk Queue Length", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "22e3b675-109e-9292-952e-7554604e3605", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:34:01+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_22e3b675-109e-9292-952e-7554604e3605", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Current Disk Queue Length (Logical Disk)", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "8a16058b-d31e-c156-3460-2c6cae7bfc49", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.TotalCPUUtilization", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:15:05+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_8a16058b-d31e-c156-3460-2c6cae7bfc49", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Total CPU Utilization Percentage", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=8a16058b-d31e-c156-3460-2c6cae7bfc49'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=8a16058b-d31e-c156-3460-2c6cae7bfc49'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "08ec2bb4-32be-2fae-2d5a-6b65feb200a6", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.PercentIdleTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:39:33+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_08ec2bb4-32be-2fae-2d5a-6b65feb200a6", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Logical Disk Percent Idle Time", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", - "monitorId": "b8375781-0835-15b6-c782-f497b54b65ea", - "monitorName": "Microsoft.Windows.Server.Computer.HardwarePerformanceRollup", - "monitorType": "Dependency", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Canary-WLI-2", - "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:50:13+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_b8375781-0835-15b6-c782-f497b54b65ea", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Windows Computer Hardware Performance Rollup", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b8375781-0835-15b6-c782-f497b54b65ea'", - "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b8375781-0835-15b6-c782-f497b54b65ea'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 0", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:21:08+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:45:35+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Disk 1", - "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", - "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-22T08:50:11+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Physical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "D:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:02:52+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", - "monitorName": "System.Health.PerformanceState", - "monitorType": "Aggregate", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T09:46:13+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_7db3eece-fd0d-fddd-3af7-f8371a914874", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Performance", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "08ec2bb4-32be-2fae-2d5a-6b65feb200a6", - "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.PercentIdleTime", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-18T14:37:36+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_08ec2bb4-32be-2fae-2d5a-6b65feb200a6", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Logical Disk Percent Idle Time", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Warning", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "05a70c91-2163-d974-638d-2ddda2308153", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "C:", - "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", - "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:10:46+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Logical Disk", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", - "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "monitorName": "System.Health.EntityState", - "monitorType": "Aggregate", - "monitorCategory": "EntityHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Ethernet 2", - "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", - "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-21T09:10:36+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_e3ab86a1-34fa-35b5-b864-da4db993c0f5", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Entity Health", - "monitorKind": "Standard", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Success", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Network Adapter", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - }, - { - "properties": { - "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", - "monitorId": "7af5bcb4-31e9-5ec9-268f-178c265a6c2c", - "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryAvailableMBytes", - "monitorType": "Unit", - "monitorCategory": "PerformanceHealth", - "healthStateChanges": null, - "alertGeneration": null, - "children": null, - "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", - "solutionId": null, - "workloadType": "BaseOS", - "componentName": "Windows Operating System", - "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", - "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", - "healthState": "Unknown", - "healthStateCategory": null, - "healthStateChangesStartTime": null, - "healthStateChangesEndTime": null, - "lastHealthStateChangeTime": "2018-08-19T09:17:06+05:30", - "aggregateProperties": { - "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_7af5bcb4-31e9-5ec9-268f-178c265a6c2c", - "workloadId": "Canary-WLI-2", - "workloadId_Lower": "canary-wli-2", - "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", - "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", - "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", - "resourceGroupId": "viv_rg", - "resourceGroupName_Lower": "viv_rg", - "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", - "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", - "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", - "monitorDisplayName": "Available Megabytes of Memory", - "monitorKind": "Custom", - "currentHealth_CustomOrder": "03_Unknown", - "previousHealth": "Error", - "version": "2016.127.20180613", - "edition": "2016-Datacenter", - "location": "westcentralus", - "vmTags": "", - "vmName": "Canary-WLI-2", - "vmName_Lower": "canary-wli-2", - "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", - "osType": "Windows", - "operatingSystem": "Microsoft Windows Server 2016 Datacenter" - } - }, - "etag": null, - "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7af5bcb4-31e9-5ec9-268f-178c265a6c2c'", - "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7af5bcb4-31e9-5ec9-268f-178c265a6c2c'", - "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" - } - ], - "nextLink": null - } + "value": [ + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "052f9b7d-7bf0-7f61-966b-f372e207ef4e", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.FirewallServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:48:05+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_052f9b7d-7bf0-7f61-966b-f372e207ef4e", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Firewall Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "b974db31-cf93-9d6b-740a-9f8508b92712", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup", + "monitorType": "Aggregate", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:50:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_b974db31-cf93-9d6b-740a-9f8508b92712", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Core Windows Services Rollup", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=b974db31-cf93-9d6b-740a-9f8508b92712'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=b974db31-cf93-9d6b-740a-9f8508b92712'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "a6c69968-61aa-a6b9-db6e-83a0da6110ea", + "monitorName": "System.Health.AvailabilityState", + "monitorType": "Aggregate", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:02:04+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_a6c69968-61aa-a6b9-db6e-83a0da6110ea", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Availability", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "c9db5e55-f3c8-7366-6b98-bc727e726a4b", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.DHCPClientServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:45:51+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_c9db5e55-f3c8-7366-6b98-bc727e726a4b", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "DHCP Client Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=c9db5e55-f3c8-7366-6b98-bc727e726a4b'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=c9db5e55-f3c8-7366-6b98-bc727e726a4b'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:43:36+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "b787a678-ce4b-c473-b6b4-6e1dbf184a61", + "monitorName": "Microsoft.Windows.Server.Computer.OSAvailabilityRollup", + "monitorType": "Dependency", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:06:21+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_b787a678-ce4b-c473-b6b4-6e1dbf184a61", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Computer Operating System Availability Rollup", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b787a678-ce4b-c473-b6b4-6e1dbf184a61'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b787a678-ce4b-c473-b6b4-6e1dbf184a61'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "9a86ee3f-d133-b183-a400-6ad3a3834c86", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.WindowsRemoteManagementServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:47:58+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_9a86ee3f-d133-b183-a400-6ad3a3834c86", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Remote Management Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=9a86ee3f-d133-b183-a400-6ad3a3834c86'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=9a86ee3f-d133-b183-a400-6ad3a3834c86'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "6799aaae-533c-9a8d-331f-ea833db85d1d", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.RPCServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:46:12+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_6799aaae-533c-9a8d-331f-ea833db85d1d", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "RPC Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=6799aaae-533c-9a8d-331f-ea833db85d1d'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=6799aaae-533c-9a8d-331f-ea833db85d1d'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "75472fe7-e406-32a6-4198-0502ecee1bfe", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.PercentCommittedBytesInUse", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:39:48+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_75472fe7-e406-32a6-4198-0502ecee1bfe", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Percentage of Committed Memory in Use", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=75472fe7-e406-32a6-4198-0502ecee1bfe'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=75472fe7-e406-32a6-4198-0502ecee1bfe'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerRead", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:48:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Logical Disk Seconds Per Read", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "887e162a-74f4-2951-64e5-87dd5f076342", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryFreeSystemPageTableEntries", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:10:45+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_887e162a-74f4-2951-64e5-87dd5f076342", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Free System Page Table Entries", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=887e162a-74f4-2951-64e5-87dd5f076342'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=887e162a-74f4-2951-64e5-87dd5f076342'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "a6c69968-61aa-a6b9-db6e-83a0da6110ea", + "monitorName": "System.Health.AvailabilityState", + "monitorType": "Aggregate", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T09:04:42+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_a6c69968-61aa-a6b9-db6e-83a0da6110ea", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Availability", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=a6c69968-61aa-a6b9-db6e-83a0da6110ea'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:48:09+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "3c184dff-8813-38f9-e965-2a9561425180", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.TotalDPCTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:37:42+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_3c184dff-8813-38f9-e965-2a9561425180", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Total DPC Time Percentage", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=3c184dff-8813-38f9-e965-2a9561425180'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=3c184dff-8813-38f9-e965-2a9561425180'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "4585a2f7-87c5-54e7-2b76-81af1073aec8", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.ServerServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:48:20+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_4585a2f7-87c5-54e7-2b76-81af1073aec8", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Server Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=4585a2f7-87c5-54e7-2b76-81af1073aec8'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=4585a2f7-87c5-54e7-2b76-81af1073aec8'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "37232a87-988f-6256-3033-ea0c102c2d43", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.DNSClientServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:45:42+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_37232a87-988f-6256-3033-ea0c102c2d43", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "DNS Client Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=37232a87-988f-6256-3033-ea0c102c2d43'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=37232a87-988f-6256-3033-ea0c102c2d43'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "50fd1db1-7111-d67e-3f81-e73203d073e3", + "monitorName": "Microsoft.Windows.Server.Computer.OSPerformanceRollup", + "monitorType": "Dependency", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:47:48+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_50fd1db1-7111-d67e-3f81-e73203d073e3", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Computer Operating System Performance Rollup", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=50fd1db1-7111-d67e-3f81-e73203d073e3'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=50fd1db1-7111-d67e-3f81-e73203d073e3'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "41eccc60-5578-2eea-e104-8bf7022ed5af", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryPagesPerSecond", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:43:54+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_41eccc60-5578-2eea-e104-8bf7022ed5af", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Memory Pages Per Second", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=41eccc60-5578-2eea-e104-8bf7022ed5af'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=41eccc60-5578-2eea-e104-8bf7022ed5af'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "e80001dc-3aa8-e5c8-f782-5b4ef144fd5c", + "monitorName": "Microsoft.Windows.Server.10.0.Processor.PercentDPCTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:45:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e80001dc-3aa8-e5c8-f782-5b4ef144fd5c", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "CPU DPC Time Percentage", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e80001dc-3aa8-e5c8-f782-5b4ef144fd5c'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e80001dc-3aa8-e5c8-f782-5b4ef144fd5c'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "c688a072-2a8f-6409-1895-a0cc363cb326", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerRead", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:48:37+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_c688a072-2a8f-6409-1895-a0cc363cb326", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Read", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T09:08:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "850400b6-9fd2-d927-bc47-9934dfe28845", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:50:20+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_850400b6-9fd2-d927-bc47-9934dfe28845", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Logical Disk Seconds Per Transfer", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "94df5e8c-989a-f595-86b0-0baba4662bfb", + "monitorName": "Microsoft.Windows.Server.10.0.Processor.CPUUtilization", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:43:50+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_94df5e8c-989a-f595-86b0-0baba4662bfb", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "CPU Percentage Utilization", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=94df5e8c-989a-f595-86b0-0baba4662bfb'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=94df5e8c-989a-f595-86b0-0baba4662bfb'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "33f2143c-d677-6d10-c676-2f2bac54bbbd", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.EventLogServiceHealth", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:46:06+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_33f2143c-d677-6d10-c676-2f2bac54bbbd", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Event Log Service Health", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=33f2143c-d677-6d10-c676-2f2bac54bbbd'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=33f2143c-d677-6d10-c676-2f2bac54bbbd'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "99dbb2f7-9335-40c1-562e-0bee9e43b029", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerWrite", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:50:24+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_99dbb2f7-9335-40c1-562e-0bee9e43b029", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Write (Logical Disk)", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "99dbb2f7-9335-40c1-562e-0bee9e43b029", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerWrite", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:50:15+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_99dbb2f7-9335-40c1-562e-0bee9e43b029", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Write (Logical Disk)", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=99dbb2f7-9335-40c1-562e-0bee9e43b029'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "850400b6-9fd2-d927-bc47-9934dfe28845", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:49:10+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_850400b6-9fd2-d927-bc47-9934dfe28845", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Logical Disk Seconds Per Transfer", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=850400b6-9fd2-d927-bc47-9934dfe28845'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "584e5846-a4a3-a17a-26fd-25014f727ee9", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerWrite", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:43:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_584e5846-a4a3-a17a-26fd-25014f727ee9", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Write", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "8966cbe8-38d2-57be-5937-3d43e38a3df5", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerTransfer", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:50:20+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_8966cbe8-38d2-57be-5937-3d43e38a3df5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Transfer", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "584e5846-a4a3-a17a-26fd-25014f727ee9", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerWrite", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:46:22+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_584e5846-a4a3-a17a-26fd-25014f727ee9", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Write", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=584e5846-a4a3-a17a-26fd-25014f727ee9'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerRead", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:48:38+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_f69b8b3f-3ba6-adf0-cdec-7c01b385d13c", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Logical Disk Seconds Per Read", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=f69b8b3f-3ba6-adf0-cdec-7c01b385d13c'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "8966cbe8-38d2-57be-5937-3d43e38a3df5", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerTransfer", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:50:08+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_8966cbe8-38d2-57be-5937-3d43e38a3df5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Transfer", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=8966cbe8-38d2-57be-5937-3d43e38a3df5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "07cacb31-615d-5c7a-e118-fd55c17b5a2c", + "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedReads", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:42:23+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_07cacb31-615d-5c7a-e118-fd55c17b5a2c", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Percent Bandwidth Used Read", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=07cacb31-615d-5c7a-e118-fd55c17b5a2c'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=07cacb31-615d-5c7a-e118-fd55c17b5a2c'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "194d2011-69ed-50bb-4d50-a394d48fb048", + "monitorName": "Microsoft.Windows.Server.10.0.Processor.PerformanceRollup", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:45:48+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_194d2011-69ed-50bb-4d50-a394d48fb048", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Server 2016 Processor Performance Rollup Monitor", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=194d2011-69ed-50bb-4d50-a394d48fb048'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=194d2011-69ed-50bb-4d50-a394d48fb048'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "c688a072-2a8f-6409-1895-a0cc363cb326", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskSecPerRead", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T08:49:07+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_c688a072-2a8f-6409-1895-a0cc363cb326", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Average Disk Seconds Per Read", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c688a072-2a8f-6409-1895-a0cc363cb326'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "728733ca-14e2-9ddc-8ec8-5de911bdf35f", + "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedWrites", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:40:34+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_728733ca-14e2-9ddc-8ec8-5de911bdf35f", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Percent Bandwidth Used Write", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=728733ca-14e2-9ddc-8ec8-5de911bdf35f'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=728733ca-14e2-9ddc-8ec8-5de911bdf35f'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "1aa535e9-d09c-3557-297f-62923069ba81", + "monitorName": "Microsoft.Windows.Server.10.0.MaxConcurrentAPI.Monitor", + "monitorType": "Unit", + "monitorCategory": "AvailabilityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:56:44+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_1aa535e9-d09c-3557-297f-62923069ba81", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Server 2016 Max Concurrent API Monitor", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=1aa535e9-d09c-3557-297f-62923069ba81'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=1aa535e9-d09c-3557-297f-62923069ba81'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T14:47:55+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:50:04+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "c2396f9e-22eb-9a72-0149-ea3b9a219e64", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.PercentIdleTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T14:43:38+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_c2396f9e-22eb-9a72-0149-ea3b9a219e64", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Disk Percent Idle Time", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "b12539ea-7122-af29-6af6-0047432bab6a", + "monitorName": "Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsedTotal", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:21:17+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_b12539ea-7122-af29-6af6-0047432bab6a", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Percent Bandwidth Used Total", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=b12539ea-7122-af29-6af6-0047432bab6a'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=b12539ea-7122-af29-6af6-0047432bab6a'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:43:45+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "c2396f9e-22eb-9a72-0149-ea3b9a219e64", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.PercentIdleTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:48:17+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_c2396f9e-22eb-9a72-0149-ea3b9a219e64", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Disk Percent Idle Time", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=c2396f9e-22eb-9a72-0149-ea3b9a219e64'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T08:49:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:52:08+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "22e3b675-109e-9292-952e-7554604e3605", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:33:41+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_22e3b675-109e-9292-952e-7554604e3605", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Current Disk Queue Length (Logical Disk)", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "804fc44e-c49d-58f0-3b03-bf24f7d11663", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "CPU0", + "componentTypeId": "933c8d32-3668-6c84-8855-11f301d04589", + "componentTypeName": "Microsoft.Windows.Server.10.0.Processor", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:35:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_804fc44e-c49d-58f0-3b03-bf24f7d11663_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Processor", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "062d163a-0742-73d9-1d9d-a582c82127e4", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.CurrentDiskQueueLength", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:34:04+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_062d163a-0742-73d9-1d9d-a582c82127e4", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Current Disk Queue Length", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "062d163a-0742-73d9-1d9d-a582c82127e4", + "monitorName": "Microsoft.Windows.Server.10.0.PhysicalDisk.CurrentDiskQueueLength", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:43:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_062d163a-0742-73d9-1d9d-a582c82127e4", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Current Disk Queue Length", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=062d163a-0742-73d9-1d9d-a582c82127e4'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "22e3b675-109e-9292-952e-7554604e3605", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.CurrentDiskQueueLength", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:34:01+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_22e3b675-109e-9292-952e-7554604e3605", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Current Disk Queue Length (Logical Disk)", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=22e3b675-109e-9292-952e-7554604e3605'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "8a16058b-d31e-c156-3460-2c6cae7bfc49", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.TotalCPUUtilization", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:15:05+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_8a16058b-d31e-c156-3460-2c6cae7bfc49", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Total CPU Utilization Percentage", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=8a16058b-d31e-c156-3460-2c6cae7bfc49'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=8a16058b-d31e-c156-3460-2c6cae7bfc49'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "08ec2bb4-32be-2fae-2d5a-6b65feb200a6", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.PercentIdleTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:39:33+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_08ec2bb4-32be-2fae-2d5a-6b65feb200a6", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Logical Disk Percent Idle Time", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "06400e6a-6bac-1717-1e0d-e28f31a2e88b", + "monitorId": "b8375781-0835-15b6-c782-f497b54b65ea", + "monitorName": "Microsoft.Windows.Server.Computer.HardwarePerformanceRollup", + "monitorType": "Dependency", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Canary-WLI-2", + "componentTypeId": "ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.Computer", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:50:13+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_06400e6a-6bac-1717-1e0d-e28f31a2e88b_b8375781-0835-15b6-c782-f497b54b65ea", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Windows Computer Hardware Performance Rollup", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Computer (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b8375781-0835-15b6-c782-f497b54b65ea'", + "name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b',MonitorId=b8375781-0835-15b6-c782-f497b54b65ea'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "1a526816-f757-7328-d0b2-7daf65fd919b", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 0", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:21:08+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_1a526816-f757-7328-d0b2-7daf65fd919b_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:45:35+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "767aea7b-2a28-8c7b-9a61-153eeced9466", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Disk 1", + "componentTypeId": "d4a60d0b-5d4e-d1b2-e215-2027a73ab38e", + "componentTypeName": "Microsoft.Windows.Server.10.0.PhysicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-22T08:50:11+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_767aea7b-2a28-8c7b-9a61-153eeced9466_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Physical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "ebf38b50-d78a-817b-89ee-0e5870c643ef", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "D:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:02:52+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_ebf38b50-d78a-817b-89ee-0e5870c643ef_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "7db3eece-fd0d-fddd-3af7-f8371a914874", + "monitorName": "System.Health.PerformanceState", + "monitorType": "Aggregate", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T09:46:13+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_7db3eece-fd0d-fddd-3af7-f8371a914874", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Performance", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=7db3eece-fd0d-fddd-3af7-f8371a914874'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "08ec2bb4-32be-2fae-2d5a-6b65feb200a6", + "monitorName": "Microsoft.Windows.Server.10.0.LogicalDisk.PercentIdleTime", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-18T14:37:36+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_08ec2bb4-32be-2fae-2d5a-6b65feb200a6", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Logical Disk Percent Idle Time", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Warning", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=08ec2bb4-32be-2fae-2d5a-6b65feb200a6'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "05a70c91-2163-d974-638d-2ddda2308153", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "C:", + "componentTypeId": "75582e9b-cae6-397b-6764-f7cf6cc620b0", + "componentTypeName": "Microsoft.Windows.Server.10.0.LogicalDisk", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:10:46+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_05a70c91-2163-d974-638d-2ddda2308153_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Logical Disk", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "3d945642-b98c-37b1-a75c-ee03cdb599ad", + "monitorId": "e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "monitorName": "System.Health.EntityState", + "monitorType": "Aggregate", + "monitorCategory": "EntityHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Ethernet 2", + "componentTypeId": "794a5028-be4c-caf5-3063-d4a75999f3c4", + "componentTypeName": "Microsoft.Windows.Server.10.0.NetworkAdapter", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-21T09:10:36+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_3d945642-b98c-37b1-a75c-ee03cdb599ad_e3ab86a1-34fa-35b5-b864-da4db993c0f5", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Entity Health", + "monitorKind": "Standard", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Success", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Network Adapter", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad',MonitorId=e3ab86a1-34fa-35b5-b864-da4db993c0f5'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + }, + { + "properties": { + "componentId": "d91ce384-b682-883a-d02b-129bf37f218b", + "monitorId": "7af5bcb4-31e9-5ec9-268f-178c265a6c2c", + "monitorName": "Microsoft.Windows.Server.10.0.OperatingSystem.MemoryAvailableMBytes", + "monitorType": "Unit", + "monitorCategory": "PerformanceHealth", + "healthStateChanges": null, + "alertGeneration": null, + "children": null, + "workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", + "solutionId": null, + "workloadType": "BaseOS", + "componentName": "Windows Operating System", + "componentTypeId": "2dd80822-b238-41ed-2b0c-ccc3f8d0ad92", + "componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", + "healthState": "Unknown", + "healthStateCategory": null, + "healthStateChangesStartTime": null, + "healthStateChangesEndTime": null, + "lastHealthStateChangeTime": "2018-08-19T09:17:06+05:30", + "aggregateProperties": { + "id": "a7f23fdb-e626-4f95-89aa-3a360a90861e_viv_rg_0f512229-ba29-4a4d-a9b8-d97b375ab8b1_canary-wli-2_d91ce384-b682-883a-d02b-129bf37f218b_7af5bcb4-31e9-5ec9-268f-178c265a6c2c", + "workloadId": "Canary-WLI-2", + "workloadId_Lower": "canary-wli-2", + "workloadResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2", + "workloadResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.workloadmonitor/workloadinsights/canary-wli-2", + "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", + "resourceGroupId": "viv_rg", + "resourceGroupName_Lower": "viv_rg", + "vmId": "0f512229-ba29-4a4d-a9b8-d97b375ab8b1", + "vmResourceId": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2", + "machineResourceId_Lower": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/microsoft.compute/virtualmachines/canary-wli-2", + "monitorDisplayName": "Available Megabytes of Memory", + "monitorKind": "Custom", + "currentHealth_CustomOrder": "03_Unknown", + "previousHealth": "Error", + "version": "2016.127.20180613", + "edition": "2016-Datacenter", + "location": "westcentralus", + "vmTags": "", + "vmName": "Canary-WLI-2", + "vmName_Lower": "canary-wli-2", + "componentTypeDisplayName": "Windows Server 2016 Operating System (Full)", + "osType": "Windows", + "operatingSystem": "Microsoft Windows Server 2016 Datacenter" + } + }, + "etag": null, + "id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7af5bcb4-31e9-5ec9-268f-178c265a6c2c'", + "name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=7af5bcb4-31e9-5ec9-268f-178c265a6c2c'", + "type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances" + } + ], + "nextLink": null + } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Get.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Get.json index e0667b1d173d..9ca9dd6502c3 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Get.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Get.json @@ -3,9 +3,9 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", - "monitorId" : "1bbf53b8-2557-a521-f7c1-1023de57367a", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", + "monitorId": "1bbf53b8-2557-a521-f7c1-1023de57367a", "api-version": "2018-08-31-preview" }, "responses": { @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_ListByResource.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_ListByResource.json index 4ec6f2919719..99e69d70cf97 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_ListByResource.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_ListByResource.json @@ -3,8 +3,8 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", "api-version": "2018-08-31-preview" }, "responses": { @@ -1840,4 +1840,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Update.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Update.json index 2a9c8e4498e0..5c6660a5053e 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Update.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Monitors_Update.json @@ -3,13 +3,13 @@ "subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", "resourceGroupName": "viv_rg", "resourceNamespace": "Microsoft.Compute", - "resourceType" : "virtualMachines", - "resourceName" : "Canary-WLI-2", - "monitorId" : "1bbf53b8-2557-a521-f7c1-1023de57367a", + "resourceType": "virtualMachines", + "resourceName": "Canary-WLI-2", + "monitorId": "1bbf53b8-2557-a521-f7c1-1023de57367a", "api-version": "2018-08-31-preview", - "body":{ + "body": { "properties": { - "criteria": [ + "criteria": [ { "healthState": "Warning", "comparisonOperator": "LessThan", @@ -27,8 +27,7 @@ }, "responses": { "200": { - "body": { - } - } + "body": {} + } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Get.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Get.json index f3a7d89b4f54..be28bfaad527 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Get.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Get.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_ListByResource.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_ListByResource.json index 2ac99f1039bb..0e592be2df8c 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_ListByResource.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_ListByResource.json @@ -10,14 +10,14 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { "properties": { - "actionGroupResourceIds": [] - } - } - ] + "actionGroupResourceIds": [] + } + } + ] } } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Update.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Update.json index 03397340f7b7..223d7fd95fe6 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Update.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/NotificationSettings_Update.json @@ -5,7 +5,7 @@ "resourceNamespace": "Microsoft.Compute", "resourceType": "virtualMachines", "resourceName": "Canary-WLI-2", - "notificationSettingName": "default", + "notificationSettingName": "default", "api-version": "2018-08-31-preview", "body": { "properties": { @@ -17,9 +17,7 @@ }, "responses": { "200": { - "body": { - - } + "body": {} } } -} \ No newline at end of file +} diff --git a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Operations_List.json b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Operations_List.json index 959174d2cc49..d22931a57324 100644 --- a/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Operations_List.json +++ b/specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2018-08-31-preview/examples/Operations_List.json @@ -5,98 +5,98 @@ "responses": { "200": { "body": { - "value": [ - { - "name": "Microsoft.WorkloadMonitor/operations/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "operations", - "operation": "Get operations", - "description": "Gets the supported operations" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/monitorInstancesSummary/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "operation": "Get monitor instances summary", - "description": "Gets summary of monitor instances" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/componentsSummary/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Components summary", - "operation": "Get components summary", - "description": "Gets summary of components" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/monitorInstances/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Monitor instances", - "operation": "Get monitor instances", - "description": "Gets instances of monitors for the resource" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/components/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Components", - "operation": "Get components", - "description": "Gets components for the resource" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/monitors/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Monitors", - "operation": "Get monitors", - "description": "Gets monitors for the resource" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/monitors/write", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Monitors", - "operation": "Configure monitor", - "description": "Configure monitor for the resource" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/notificationSettings/read", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Notification settings", - "operation": "Get notification settings", - "description": "Gets notification settings for the resource" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.WorkloadMonitor/notificationSettings/write", - "display": { - "provider": "Microsoft.WorkloadMonitor", - "resource": "Notification settings", - "operation": "Configure notification settings", - "description": "Configure notification settings for the resource" - }, - "origin": "user,system" - } - ] - } + "value": [ + { + "name": "Microsoft.WorkloadMonitor/operations/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "operations", + "operation": "Get operations", + "description": "Gets the supported operations" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/monitorInstancesSummary/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "operation": "Get monitor instances summary", + "description": "Gets summary of monitor instances" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/componentsSummary/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Components summary", + "operation": "Get components summary", + "description": "Gets summary of components" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/monitorInstances/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Monitor instances", + "operation": "Get monitor instances", + "description": "Gets instances of monitors for the resource" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/components/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Components", + "operation": "Get components", + "description": "Gets components for the resource" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/monitors/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Monitors", + "operation": "Get monitors", + "description": "Gets monitors for the resource" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/monitors/write", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Monitors", + "operation": "Configure monitor", + "description": "Configure monitor for the resource" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/notificationSettings/read", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Notification settings", + "operation": "Get notification settings", + "description": "Gets notification settings for the resource" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.WorkloadMonitor/notificationSettings/write", + "display": { + "provider": "Microsoft.WorkloadMonitor", + "resource": "Notification settings", + "operation": "Configure notification settings", + "description": "Configure notification settings for the resource" + }, + "origin": "user,system" + } + ] + } } } -} \ No newline at end of file +} From 4faa0b210be0f8a4a3a13b1d96e7a59df4928946 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:31:23 -0400 Subject: [PATCH 019/495] chore: jsonfmt apimanagement (#6302) Ran `jsonfmt -w "specification/apimanagement/**/*.json"` --- .../preview/2017-03-01/apimanagement.json | 2 +- .../preview/2017-03-01/apimapis.json | 2 +- .../2017-03-01/apimauthorizationservers.json | 2 +- .../preview/2017-03-01/apimbackends.json | 2 +- .../preview/2017-03-01/apimcertificates.json | 2 +- .../preview/2017-03-01/apimemailtemplate.json | 2 +- .../preview/2017-03-01/apimgroups.json | 2 +- .../2017-03-01/apimidentityprovider.json | 2 +- .../preview/2017-03-01/apimloggers.json | 2 +- .../apimopenidconnectproviders.json | 2 +- .../2017-03-01/apimportalsettings.json | 2 +- .../preview/2017-03-01/apimproducts.json | 4 +- .../preview/2017-03-01/apimproperties.json | 2 +- .../preview/2017-03-01/apimquotas.json | 2 +- .../preview/2017-03-01/apimreports.json | 2 +- .../preview/2017-03-01/apimsubscriptions.json | 6 +- .../preview/2017-03-01/apimtenant.json | 2 +- .../preview/2017-03-01/apimusers.json | 2 +- .../examples/ApiManagementDeleteApis.json | 2 +- .../ApiManagementDeleteApisOperations.json | 2 +- ...anagementDeleteApisOperationsPolicies.json | 2 +- .../ApiManagementDeleteApisPolicies.json | 2 +- .../ApiManagementDeleteApisSchemas.json | 2 +- ...iManagementDeleteAuthorizationServers.json | 2 +- .../examples/ApiManagementDeleteBackends.json | 2 +- .../ApiManagementDeleteCertificates.json | 2 +- .../examples/ApiManagementDeleteGroups.json | 2 +- .../ApiManagementDeleteGroupsUsers.json | 2 +- .../ApiManagementDeleteIdentityProviders.json | 2 +- .../examples/ApiManagementDeleteLoggers.json | 2 +- ...anagementDeleteOpenIdConnectProviders.json | 20 +- .../examples/ApiManagementDeletePolicies.json | 2 +- .../examples/ApiManagementDeleteProducts.json | 2 +- .../ApiManagementDeleteProductsApis.json | 2 +- .../ApiManagementDeleteProductsGroups.json | 2 +- .../ApiManagementDeleteProductsPolicies.json | 2 +- .../ApiManagementDeleteProperties.json | 2 +- .../ApiManagementDeleteSubscriptions.json | 2 +- .../ApiManagementDeleteTemplates.json | 2 +- .../examples/ApiManagementDeleteUsers.json | 2 +- .../examples/ApiManagementGetApis.json | 2 +- .../ApiManagementGetApisOperations.json | 2 +- ...piManagementGetApisOperationsPolicies.json | 2 +- .../ApiManagementGetApisPolicies.json | 2 +- .../examples/ApiManagementGetApisSchemas.json | 2 +- .../ApiManagementGetAuthorizationServers.json | 2 +- .../examples/ApiManagementGetBackends.json | 2 +- .../ApiManagementGetCertificates.json | 2 +- .../examples/ApiManagementGetGroups.json | 2 +- .../ApiManagementGetIdentityProviders.json | 2 +- .../examples/ApiManagementGetLoggers.json | 2 +- ...piManagementGetOpenIdConnectProviders.json | 2 +- .../examples/ApiManagementGetPolicies.json | 2 +- ...ManagementGetPortalSettingsDelegation.json | 34 +- .../ApiManagementGetPortalSettingsSignIn.json | 22 +- .../ApiManagementGetPortalSettingsSignUp.json | 30 +- .../examples/ApiManagementGetProducts.json | 2 +- .../ApiManagementGetProductsPolicies.json | 2 +- .../examples/ApiManagementGetProperties.json | 2 +- .../examples/ApiManagementGetQuotas.json | 2 +- .../ApiManagementGetQuotasByQuotaPeriod.json | 2 +- .../ApiManagementGetReportsByApi.json | 102 +- .../ApiManagementGetReportsByGeo.json | 68 +- .../ApiManagementGetReportsByOperation.json | 144 +- .../ApiManagementGetReportsByProduct.json | 102 +- .../ApiManagementGetReportsByRequest.json | 104 +- ...ApiManagementGetReportsBySubscription.json | 150 +- .../ApiManagementGetReportsByTime.json | 104 +- .../ApiManagementGetReportsByUser.json | 138 +- .../ApiManagementGetSubscriptions.json | 2 +- .../examples/ApiManagementGetTemplates.json | 2 +- .../examples/ApiManagementGetTenant.json | 2 +- .../examples/ApiManagementGetUsers.json | 2 +- .../ApiManagementHeadProductsGroups.json | 2 +- .../ApiManagementHeadProductsPolicies.json | 2 +- .../examples/ApiManagementListApis.json | 2 +- .../ApiManagementListApisOperations.json | 2 +- ...iManagementListApisOperationsPolicies.json | 2 +- .../ApiManagementListApisPolicies.json | 2 +- .../ApiManagementListApisProducts.json | 2 +- .../ApiManagementListApisSchemas.json | 4 +- ...ApiManagementListAuthorizationServers.json | 4 +- .../examples/ApiManagementListBackends.json | 4 +- .../ApiManagementListCertificates.json | 2 +- .../examples/ApiManagementListGroups.json | 2 +- .../ApiManagementListGroupsUsers.json | 2 +- .../ApiManagementListIdentityProviders.json | 2 +- .../examples/ApiManagementListLoggers.json | 2 +- ...piManagementListOpenIdConnectProvider.json | 38 +- .../examples/ApiManagementListPolicies.json | 2 +- .../ApiManagementListPolicySnippets.json | 2 +- .../examples/ApiManagementListProducts.json | 2 +- .../ApiManagementListProductsApis.json | 2 +- .../ApiManagementListProductsGroups.json | 2 +- .../ApiManagementListProductsPolicies.json | 2 +- ...piManagementListProductsSubscriptions.json | 2 +- .../examples/ApiManagementListProperties.json | 2 +- .../examples/ApiManagementListRegions.json | 2 +- .../ApiManagementListSubscriptions.json | 2 +- .../examples/ApiManagementListTemplates.json | 2 +- .../examples/ApiManagementListTenantGit.json | 2 +- .../ApiManagementListTenantSyncState.json | 2 +- .../examples/ApiManagementListUsers.json | 2 +- .../ApiManagementListUsersGroups.json | 2 +- .../ApiManagementListUsersIdentities.json | 2 +- .../ApiManagementListUsersSubscriptions.json | 2 +- .../examples/ApiManagementPatchApis.json | 2 +- .../ApiManagementPatchApisOperations.json | 2 +- ...piManagementPatchAuthorizationServers.json | 2 +- .../examples/ApiManagementPatchBackends.json | 2 +- .../examples/ApiManagementPatchGroups.json | 2 +- .../ApiManagementPatchIdentityProviders.json | 2 +- .../examples/ApiManagementPatchLoggers.json | 2 +- ...ManagementPatchOpenIdConnectProviders.json | 2 +- ...nagementPatchPortalSettingsDelegation.json | 2 +- ...piManagementPatchPortalSettingsSignIn.json | 2 +- ...piManagementPatchPortalSettingsSignUp.json | 2 +- .../examples/ApiManagementPatchProducts.json | 2 +- .../ApiManagementPatchProperties.json | 2 +- .../examples/ApiManagementPatchQuotas.json | 2 +- ...ApiManagementPatchQuotasByQuotaPeriod.json | 2 +- .../ApiManagementPatchSubscriptions.json | 2 +- .../examples/ApiManagementPatchTemplates.json | 4 +- .../examples/ApiManagementPatchTenant.json | 2 +- .../examples/ApiManagementPatchUsers.json | 2 +- ...PostSubscriptionsRegeneratePrimaryKey.json | 2 +- ...stSubscriptionsRegenerateSecondaryKey.json | 2 +- .../ApiManagementPostTenantDeploy.json | 2 +- .../examples/ApiManagementPostTenantGit.json | 2 +- ...agementPostTenantRegeneratePrimaryKey.json | 2 +- ...ementPostTenantRegenerateSecondaryKey.json | 2 +- .../examples/ApiManagementPostTenantSave.json | 2 +- .../ApiManagementPostTenantValidate.json | 2 +- .../ApiManagementPostUsersGenerateSsoUrl.json | 2 +- .../examples/ApiManagementPostUsersToken.json | 2 +- .../examples/ApiManagementPutApis.json | 4 +- .../ApiManagementPutApisOperations.json | 2 +- ...piManagementPutApisOperationsPolicies.json | 2 +- .../ApiManagementPutApisPolicies.json | 2 +- .../examples/ApiManagementPutApisSchemas.json | 2 +- .../ApiManagementPutAuthorizationServers.json | 6 +- .../examples/ApiManagementPutBackends.json | 6 +- .../ApiManagementPutCertificates.json | 2 +- .../examples/ApiManagementPutGroups.json | 2 +- .../examples/ApiManagementPutGroupsUsers.json | 2 +- .../ApiManagementPutIdentityProviders.json | 2 +- .../examples/ApiManagementPutLoggers.json | 2 +- ...piManagementPutOpenIdConnectProviders.json | 2 +- .../examples/ApiManagementPutPolicies.json | 2 +- ...ManagementPutPortalSettingsDelegation.json | 2 +- .../ApiManagementPutPortalSettingsSignIn.json | 2 +- .../ApiManagementPutPortalSettingsSignUp.json | 2 +- .../examples/ApiManagementPutProducts.json | 2 +- .../ApiManagementPutProductsApis.json | 2 +- .../ApiManagementPutProductsGroups.json | 2 +- .../ApiManagementPutProductsPolicies.json | 2 +- .../examples/ApiManagementPutProperties.json | 2 +- .../ApiManagementPutSubscriptions.json | 2 +- .../examples/ApiManagementPutTemplates.json | 2 +- .../examples/ApiManagementPutUsers.json | 2 +- .../2018-06-01-preview/apimanagement.json | 2 +- .../preview/2018-06-01-preview/apimapis.json | 6 +- .../2018-06-01-preview/apimapisByTags.json | 2 +- .../apimapiversionsets.json | 6 +- .../apimauthorizationservers.json | 6 +- .../2018-06-01-preview/apimbackends.json | 6 +- .../2018-06-01-preview/apimcaches.json | 7 +- .../2018-06-01-preview/apimcertificates.json | 6 +- .../2018-06-01-preview/apimdeployment.json | 2 +- .../2018-06-01-preview/apimdiagnostics.json | 6 +- .../apimemailtemplates.json | 6 +- .../2018-06-01-preview/apimgroups.json | 6 +- .../apimidentityprovider.json | 6 +- .../2018-06-01-preview/apimissues.json | 2 +- .../2018-06-01-preview/apimloggers.json | 6 +- .../2018-06-01-preview/apimnetworkstatus.json | 4 +- .../2018-06-01-preview/apimnotifications.json | 6 +- .../apimopenidconnectproviders.json | 6 +- .../2018-06-01-preview/apimpolicies.json | 6 +- .../apimpolicysnippets.json | 4 +- .../apimportalsettings.json | 4 +- .../2018-06-01-preview/apimproducts.json | 6 +- .../apimproductsByTags.json | 2 +- .../2018-06-01-preview/apimproperties.json | 4 +- .../2018-06-01-preview/apimquotas.json | 6 +- .../2018-06-01-preview/apimregions.json | 2 +- .../2018-06-01-preview/apimreports.json | 4 +- .../2018-06-01-preview/apimsubscriptions.json | 6 +- .../2018-06-01-preview/apimtagresources.json | 2 +- .../preview/2018-06-01-preview/apimtags.json | 2 +- .../2018-06-01-preview/apimtenant.json | 2 +- .../preview/2018-06-01-preview/apimusers.json | 6 +- .../2018-06-01-preview/definitions.json | 2 +- ...ementApplyNetworkConfigurationUpdates.json | 94 +- .../ApiManagementBackendReconnect.json | 26 +- .../examples/ApiManagementCreateAILogger.json | 2 +- .../examples/ApiManagementCreateApi.json | 4 +- .../ApiManagementCreateApiDiagnostic.json | 2 +- .../examples/ApiManagementCreateApiIssue.json | 80 +- ...ApiManagementCreateApiIssueAttachment.json | 70 +- .../ApiManagementCreateApiIssueComment.json | 70 +- .../ApiManagementCreateApiOperation.json | 242 +-- ...ApiManagementCreateApiOperationPolicy.json | 2 +- .../ApiManagementCreateApiOperationTag.json | 2 +- .../ApiManagementCreateApiPolicy.json | 4 +- ...anagementCreateApiPolicyNonXmlEncoded.json | 2 +- .../ApiManagementCreateApiRelease.json | 76 +- .../ApiManagementCreateApiRevision.json | 4 +- .../ApiManagementCreateApiSchema.json | 2 +- .../examples/ApiManagementCreateApiTag.json | 2 +- .../ApiManagementCreateApiTagDescription.json | 2 +- ...ApiManagementCreateApiUsingOai3Import.json | 4 +- ...ManagementCreateApiUsingSwaggerImport.json | 4 +- ...ApiManagementCreateApiUsingWadlImport.json | 4 +- .../ApiManagementCreateApiVersionSet.json | 2 +- ...iManagementCreateApiWithOpenIdConnect.json | 4 +- ...piManagementCreateAuthorizationServer.json | 2 +- ...piManagementCreateBackendProxyBackend.json | 2 +- ...iManagementCreateBackendServiceFabric.json | 2 +- .../examples/ApiManagementCreateBackup.json | 94 +- .../examples/ApiManagementCreateCache.json | 2 +- .../ApiManagementCreateCertificate.json | 4 +- .../ApiManagementCreateDiagnostic.json | 2 +- .../examples/ApiManagementCreateEHLogger.json | 2 +- .../ApiManagementCreateEmailTemplate.json | 2 +- .../examples/ApiManagementCreateGroup.json | 6 +- .../ApiManagementCreateGroupExternal.json | 6 +- .../ApiManagementCreateGroupUser.json | 4 +- .../ApiManagementCreateIdentityProvider.json | 2 +- ...eMultiRegionServiceWithCustomHostname.json | 4 +- .../ApiManagementCreateNotification.json | 58 +- ...ementCreateNotificationRecipientEmail.json | 6 +- ...gementCreateNotificationRecipientUser.json | 2 +- ...ManagementCreateOpenIdConnectProvider.json | 4 +- .../ApiManagementCreateOperationTag.json | 2 +- .../examples/ApiManagementCreatePolicy.json | 2 +- .../examples/ApiManagementCreateProduct.json | 2 +- .../ApiManagementCreateProductApi.json | 4 +- .../ApiManagementCreateProductGroup.json | 2 +- .../ApiManagementCreateProductPolicy.json | 2 +- .../ApiManagementCreateProductTag.json | 2 +- .../examples/ApiManagementCreateProperty.json | 2 +- .../examples/ApiManagementCreateService.json | 2 +- .../ApiManagementCreateServiceHavingMsi.json | 2 +- ...ntCreateServiceWithSystemCertificates.json | 2 +- ...eateSoapPassThroughApiUsingWsdlImport.json | 4 +- ...entCreateSoapToRestApiUsingWsdlImport.json | 4 +- .../ApiManagementCreateSubscription.json | 2 +- .../examples/ApiManagementCreateTag.json | 2 +- .../examples/ApiManagementCreateUser.json | 2 +- .../examples/ApiManagementDeleteApi.json | 26 +- .../ApiManagementDeleteApiDiagnostic.json | 28 +- .../examples/ApiManagementDeleteApiIssue.json | 28 +- ...ApiManagementDeleteApiIssueAttachment.json | 30 +- .../ApiManagementDeleteApiIssueComment.json | 30 +- .../ApiManagementDeleteApiOperation.json | 28 +- ...ApiManagementDeleteApiOperationPolicy.json | 30 +- .../ApiManagementDeleteApiOperationTag.json | 10 +- .../ApiManagementDeleteApiPolicy.json | 28 +- .../ApiManagementDeleteApiRelease.json | 28 +- .../ApiManagementDeleteApiSchema.json | 28 +- .../examples/ApiManagementDeleteApiTag.json | 28 +- .../ApiManagementDeleteApiTagDescription.json | 28 +- .../ApiManagementDeleteApiVersionSet.json | 28 +- ...piManagementDeleteAuthorizationServer.json | 26 +- .../examples/ApiManagementDeleteBackend.json | 26 +- .../examples/ApiManagementDeleteCache.json | 2 +- .../ApiManagementDeleteCertificate.json | 26 +- .../ApiManagementDeleteDiagnostic.json | 26 +- .../ApiManagementDeleteEmailTemplate.json | 26 +- .../examples/ApiManagementDeleteGroup.json | 26 +- .../ApiManagementDeleteGroupUser.json | 28 +- .../ApiManagementDeleteIdentityProvider.json | 26 +- .../examples/ApiManagementDeleteLogger.json | 26 +- ...ementDeleteNotificationRecipientEmail.json | 26 +- ...gementDeleteNotificationRecipientUser.json | 26 +- ...ManagementDeleteOpenIdConnectProvider.json | 26 +- .../ApiManagementDeleteOperationPolicy.json | 30 +- .../ApiManagementDeleteOperationTag.json | 10 +- .../examples/ApiManagementDeletePolicy.json | 26 +- .../examples/ApiManagementDeleteProduct.json | 28 +- .../ApiManagementDeleteProductApi.json | 28 +- .../ApiManagementDeleteProductGroup.json | 28 +- .../ApiManagementDeleteProductPolicy.json | 28 +- .../ApiManagementDeleteProductTag.json | 28 +- .../examples/ApiManagementDeleteProperty.json | 26 +- .../ApiManagementDeleteSubscription.json | 26 +- .../examples/ApiManagementDeleteTag.json | 26 +- .../examples/ApiManagementDeleteUser.json | 26 +- .../examples/ApiManagementGetApiContract.json | 62 +- .../ApiManagementGetApiDiagnostic.json | 2 +- ...iManagementGetApiExportInOpenApi2dot0.json | 32 +- .../examples/ApiManagementGetApiIssue.json | 2 +- .../ApiManagementGetApiIssueAttachment.json | 44 +- .../ApiManagementGetApiIssueComment.json | 44 +- .../ApiManagementGetApiOperation.json | 96 +- .../ApiManagementGetApiOperationPetStore.json | 172 +- .../ApiManagementGetApiOperationPolicy.json | 40 +- .../ApiManagementGetApiOperationTag.json | 2 +- .../examples/ApiManagementGetApiPolicy.json | 38 +- .../examples/ApiManagementGetApiRelease.json | 44 +- .../examples/ApiManagementGetApiRevision.json | 58 +- .../examples/ApiManagementGetApiSchema.json | 44 +- .../examples/ApiManagementGetApiTag.json | 2 +- .../ApiManagementGetApiTagDescription.json | 2 +- .../ApiManagementGetApiVersionSet.json | 40 +- .../ApiManagementGetAuthorizationServer.json | 82 +- .../examples/ApiManagementGetBackend.json | 2 +- .../examples/ApiManagementGetCache.json | 2 +- .../examples/ApiManagementGetCaches.json | 2 +- .../examples/ApiManagementGetCertificate.json | 40 +- .../examples/ApiManagementGetDiagnostic.json | 16 +- .../ApiManagementGetEmailTemplate.json | 94 +- .../examples/ApiManagementGetGroup.json | 44 +- .../ApiManagementGetIdentityProvider.json | 50 +- .../examples/ApiManagementGetIssue.json | 2 +- .../examples/ApiManagementGetLogger.json | 50 +- .../ApiManagementGetNotification.json | 2 +- ...ApiManagementGetOpenIdConnectProvider.json | 44 +- .../ApiManagementGetOperationTag.json | 2 +- .../examples/ApiManagementGetPolicy.json | 36 +- .../examples/ApiManagementGetProduct.json | 46 +- .../ApiManagementGetProductPolicy.json | 38 +- .../examples/ApiManagementGetProductTag.json | 2 +- .../examples/ApiManagementGetProperty.json | 48 +- .../ApiManagementGetQuotaCounterKeys.json | 52 +- ...ementGetQuotaCounterKeysByQuotaPeriod.json | 42 +- .../ApiManagementGetReportsByApi.json | 106 +- .../ApiManagementGetReportsByGeo.json | 72 +- .../ApiManagementGetReportsByOperation.json | 148 +- .../ApiManagementGetReportsByProduct.json | 106 +- .../ApiManagementGetReportsByRequest.json | 108 +- ...ApiManagementGetReportsBySubscription.json | 154 +- .../ApiManagementGetReportsByTime.json | 108 +- .../ApiManagementGetReportsByUser.json | 142 +- .../ApiManagementGetSubscription.json | 48 +- .../examples/ApiManagementGetTag.json | 36 +- .../ApiManagementGetTagsForOperation.json | 32 +- .../ApiManagementGetTenantAccess.json | 34 +- .../examples/ApiManagementGetUser.json | 54 +- .../ApiManagementGetUserIdentity.json | 26 +- .../examples/ApiManagementHeadApi.json | 30 +- .../ApiManagementHeadApiDiagnostic.json | 30 +- .../examples/ApiManagementHeadApiIssue.json | 32 +- .../ApiManagementHeadApiIssueAttachment.json | 34 +- .../ApiManagementHeadApiIssueComment.json | 34 +- .../ApiManagementHeadApiOperation.json | 32 +- .../ApiManagementHeadApiOperationPolicy.json | 34 +- .../ApiManagementHeadApiOperationTag.json | 2 +- .../examples/ApiManagementHeadApiPolicy.json | 32 +- .../examples/ApiManagementHeadApiRelease.json | 30 +- .../examples/ApiManagementHeadApiSchema.json | 32 +- .../examples/ApiManagementHeadApiTag.json | 2 +- .../ApiManagementHeadApiTagDescription.json | 2 +- .../ApiManagementHeadApiVersionSet.json | 30 +- .../ApiManagementHeadAuthorizationServer.json | 30 +- .../examples/ApiManagementHeadBackend.json | 30 +- .../examples/ApiManagementHeadCache.json | 2 +- .../ApiManagementHeadCertificate.json | 30 +- .../ApiManagementHeadDelegationSettings.json | 26 +- .../examples/ApiManagementHeadDiagnostic.json | 28 +- .../ApiManagementHeadEmailTemplate.json | 30 +- .../examples/ApiManagementHeadGroup.json | 30 +- .../examples/ApiManagementHeadGroupUser.json | 26 +- .../ApiManagementHeadIdentityProvider.json | 30 +- .../examples/ApiManagementHeadLogger.json | 30 +- ...agementHeadNotificationRecipientEmail.json | 24 +- ...nagementHeadNotificationRecipientUser.json | 24 +- ...piManagementHeadOpenIdConnectProvider.json | 30 +- .../ApiManagementHeadOperationTag.json | 2 +- .../examples/ApiManagementHeadPolicy.json | 30 +- .../examples/ApiManagementHeadProduct.json | 30 +- .../examples/ApiManagementHeadProductApi.json | 24 +- .../ApiManagementHeadProductGroup.json | 24 +- .../ApiManagementHeadProductPolicy.json | 32 +- .../examples/ApiManagementHeadProductTag.json | 2 +- .../examples/ApiManagementHeadProperty.json | 30 +- .../ApiManagementHeadSignInSettings.json | 26 +- .../ApiManagementHeadSignUpSettings.json | 26 +- .../ApiManagementHeadSubscription.json | 30 +- .../examples/ApiManagementHeadTag.json | 26 +- .../ApiManagementHeadTenantAccess.json | 4 +- .../examples/ApiManagementHeadUser.json | 30 +- .../ApiManagementListApiDiagnostics.json | 2 +- .../ApiManagementListApiIssueAttachments.json | 52 +- .../ApiManagementListApiIssueComments.json | 52 +- .../examples/ApiManagementListApiIssues.json | 56 +- ...ApiManagementListApiOperationPolicies.json | 2 +- .../ApiManagementListApiOperationTags.json | 32 +- .../ApiManagementListApiOperations.json | 132 +- .../ApiManagementListApiOperationsByTags.json | 2 +- .../ApiManagementListApiPolicies.json | 2 +- .../ApiManagementListApiProducts.json | 2 +- .../ApiManagementListApiReleases.json | 48 +- .../ApiManagementListApiRevisions.json | 48 +- .../examples/ApiManagementListApiSchemas.json | 46 +- .../ApiManagementListApiTagDescriptions.json | 50 +- .../examples/ApiManagementListApiTags.json | 46 +- .../ApiManagementListApiVersionSets.json | 68 +- .../examples/ApiManagementListApis.json | 156 +- .../examples/ApiManagementListApisByTags.json | 2 +- ...ApiManagementListAuthorizationServers.json | 146 +- .../examples/ApiManagementListBackends.json | 150 +- .../examples/ApiManagementListCaches.json | 2 +- .../ApiManagementListCertificates.json | 48 +- .../ApiManagementListEmailTemplates.json | 104 +- .../examples/ApiManagementListGroupUsers.json | 68 +- .../examples/ApiManagementListGroups.json | 118 +- .../ApiManagementListIdentityProviders.json | 104 +- .../examples/ApiManagementListIssues.json | 54 +- .../examples/ApiManagementListLoggers.json | 86 +- ...gementListNotificationRecipientEmails.json | 78 +- ...agementListNotificationRecipientUsers.json | 46 +- .../ApiManagementListNotifications.json | 244 +-- ...iManagementListOpenIdConnectProviders.json | 52 +- .../examples/ApiManagementListOperations.json | 2 +- .../ApiManagementListOperationsByTags.json | 2 +- .../examples/ApiManagementListPolicies.json | 44 +- .../ApiManagementListPolicySnippets.json | 36 +- .../ApiManagementListProductApis.json | 62 +- .../ApiManagementListProductGroups.json | 96 +- .../ApiManagementListProductPolicies.json | 2 +- ...ApiManagementListProductSubscriptions.json | 56 +- .../ApiManagementListProductTags.json | 32 +- .../examples/ApiManagementListProducts.json | 104 +- .../ApiManagementListProductsByTags.json | 2 +- .../examples/ApiManagementListProperties.json | 2 +- .../examples/ApiManagementListRegions.json | 42 +- .../ApiManagementListSKUs-Consumption.json | 46 +- .../ApiManagementListSKUs-Dedicated.json | 128 +- ...piManagementListServiceBySubscription.json | 322 ++-- ...ServiceBySubscriptionAndResourceGroup.json | 318 ++-- .../ApiManagementListSubscriptions.json | 116 +- .../ApiManagementListTagResources.json | 2 +- .../examples/ApiManagementListTags.json | 60 +- .../examples/ApiManagementListUserGroups.json | 52 +- .../ApiManagementListUserIdentities.json | 2 +- .../ApiManagementListUserSubscriptions.json | 90 +- .../examples/ApiManagementListUsers.json | 136 +- ...ManagementPortalSettingsGetDelegation.json | 48 +- .../ApiManagementPortalSettingsGetSignIn.json | 34 +- .../ApiManagementPortalSettingsGetSignUp.json | 44 +- ...ManagementPortalSettingsPutDelegation.json | 2 +- .../ApiManagementPortalSettingsPutSignIn.json | 2 +- .../ApiManagementPortalSettingsPutSignUp.json | 2 +- ...agementPortalSettingsUpdateDelegation.json | 2 +- ...iManagementPortalSettingsUpdateSignIn.json | 2 +- ...iManagementPortalSettingsUpdateSignUp.json | 2 +- .../examples/ApiManagementRestoreService.json | 94 +- ...anagementServiceCheckNameAvailability.json | 4 +- .../ApiManagementServiceDeleteService.json | 2 +- ...mentServiceGetMultiRegionInternalVnet.json | 168 +- .../ApiManagementServiceGetNetworkStatus.json | 2 +- ...mentServiceGetNetworkStatusByLocation.json | 2 +- .../ApiManagementServiceGetService.json | 170 +- ...iManagementServiceGetServiceHavingMsi.json | 108 +- .../ApiManagementServiceGetSsoToken.json | 2 +- .../ApiManagementServiceUpdateHostName.json | 348 ++-- ...nagementServiceUploadProxyCertificate.json | 8 +- ...ementSubscriptionRegeneratePrimaryKey.json | 22 +- ...entSubscriptionRegenerateSecondaryKey.json | 22 +- ...piManagementTenantAccessRegenerateKey.json | 22 +- .../ApiManagementTenantAccessSyncState.json | 40 +- ...piManagementTenantConfigurationDeploy.json | 52 +- .../ApiManagementTenantConfigurationSave.json | 50 +- ...ManagementTenantConfigurationValidate.json | 332 ++-- .../examples/ApiManagementUpdateApi.json | 2 +- .../ApiManagementUpdateApiDiagnostic.json | 2 +- .../examples/ApiManagementUpdateApiIssue.json | 30 +- .../ApiManagementUpdateApiOperation.json | 4 +- .../ApiManagementUpdateApiRelease.json | 34 +- .../ApiManagementUpdateApiVersionSet.json | 32 +- ...piManagementUpdateAuthorizationServer.json | 4 +- .../examples/ApiManagementUpdateBackend.json | 2 +- .../examples/ApiManagementUpdateCache.json | 2 +- .../ApiManagementUpdateDiagnostic.json | 2 +- .../ApiManagementUpdateEmailTemplate.json | 4 +- .../examples/ApiManagementUpdateGroup.json | 2 +- .../ApiManagementUpdateIdentityProvider.json | 2 +- .../examples/ApiManagementUpdateLogger.json | 2 +- ...ManagementUpdateOpenIdConnectProvider.json | 2 +- .../examples/ApiManagementUpdateProduct.json | 2 +- .../examples/ApiManagementUpdateProperty.json | 2 +- .../ApiManagementUpdateQuotaCounterKey.json | 2 +- ...entUpdateQuotaCounterKeyByQuotaPeriod.json | 2 +- ...piManagementUpdateServiceDisableTls10.json | 2 +- ...nagementUpdateServicePublisherDetails.json | 4 +- .../ApiManagementUpdateSubscription.json | 2 +- .../examples/ApiManagementUpdateTag.json | 2 +- .../ApiManagementUpdateTenantAccess.json | 2 +- .../examples/ApiManagementUpdateUser.json | 4 +- ...anagementUserConfirmationPasswordSend.json | 22 +- .../ApiManagementUserGenerateSsoUrl.json | 2 +- .../examples/ApiManagementUserToken.json | 2 +- .../stable/2016-07-07/apimanagement.json | 285 ++-- .../stable/2016-07-07/apimdeployment.json | 16 +- .../stable/2016-10-10/apimanagement.json | 114 +- .../stable/2016-10-10/apimapis.json | 92 +- .../2016-10-10/apimauthorizationservers.json | 678 ++++---- .../stable/2016-10-10/apimbackends.json | 504 +++--- .../stable/2016-10-10/apimcertificates.json | 160 +- .../stable/2016-10-10/apimdeployment.json | 119 +- .../stable/2016-10-10/apimgroups.json | 308 ++-- .../2016-10-10/apimidentityprovider.json | 50 +- .../stable/2016-10-10/apimloggers.json | 30 +- .../stable/2016-10-10/apimnetworkstatus.json | 11 +- .../apimopenidconnectproviders.json | 260 +-- .../stable/2016-10-10/apimproducts.json | 294 ++-- .../stable/2016-10-10/apimproperties.json | 280 ++-- .../stable/2016-10-10/apimquotas.json | 184 +-- .../stable/2016-10-10/apimreports.json | 305 ++-- .../stable/2016-10-10/apimsubscriptions.json | 450 ++--- .../stable/2016-10-10/apimtenant.json | 311 ++-- .../stable/2016-10-10/apimusers.json | 2 +- ...ementApplyNetworkConfigurationUpdates.json | 52 +- .../examples/ApiManagementCreateBackup.json | 52 +- .../examples/ApiManagementCreateService.json | 78 +- .../examples/ApiManagementRestoreService.json | 52 +- ...anagementServiceCheckNameAvailability.json | 4 +- .../ApiManagementServiceGetNetworkStatus.json | 16 +- .../ApiManagementServiceGetSsoToken.json | 2 +- .../ApiManagementServiceManageDeployment.json | 120 +- .../ApiManagementServiceUpdateHostName.json | 262 ++- ...nagementServiceUploadProxyCertificate.json | 8 +- .../examples/ApiManagementUsersGetToken.json | 2 +- .../stable/2017-03-01/apimanagement.json | 2 +- .../stable/2017-03-01/apimapis.json | 68 +- .../2017-03-01/apimauthorizationservers.json | 1364 ++++++++-------- .../stable/2017-03-01/apimbackends.json | 14 +- .../stable/2017-03-01/apimcertificates.json | 18 +- .../stable/2017-03-01/apimdiagnostics.json | 4 +- .../stable/2017-03-01/apimemailtemplate.json | 12 +- .../stable/2017-03-01/apimgroups.json | 14 +- .../2017-03-01/apimidentityprovider.json | 20 +- .../stable/2017-03-01/apimloggers.json | 52 +- .../stable/2017-03-01/apimnetworkstatus.json | 2 +- .../stable/2017-03-01/apimnotifications.json | 2 +- .../apimopenidconnectproviders.json | 12 +- .../stable/2017-03-01/apimportalsettings.json | 2 +- .../stable/2017-03-01/apimproducts.json | 16 +- .../stable/2017-03-01/apimproperties.json | 12 +- .../stable/2017-03-01/apimquotas.json | 2 +- .../stable/2017-03-01/apimreports.json | 1442 ++++++++--------- .../stable/2017-03-01/apimsubscriptions.json | 12 +- .../stable/2017-03-01/apimtagresources.json | 8 +- .../stable/2017-03-01/apimtags.json | 3 +- .../stable/2017-03-01/apimtenant.json | 2 +- .../stable/2017-03-01/apimusers.json | 12 +- .../stable/2017-03-01/apimversionsets.json | 888 +++++----- ...ementApplyNetworkConfigurationUpdates.json | 94 +- .../ApiManagementBackendReconnect.json | 26 +- .../examples/ApiManagementCreateAILogger.json | 2 +- .../examples/ApiManagementCreateApi.json | 2 +- .../ApiManagementCreateApiDiagnostic.json | 2 +- ...piManagementCreateApiDiagnosticLogger.json | 78 +- .../examples/ApiManagementCreateApiIssue.json | 80 +- ...ApiManagementCreateApiIssueAttachment.json | 70 +- .../ApiManagementCreateApiIssueComment.json | 70 +- .../ApiManagementCreateApiOperation.json | 242 +-- ...ApiManagementCreateApiOperationPolicy.json | 2 +- .../ApiManagementCreateApiPolicy.json | 4 +- .../ApiManagementCreateApiRelease.json | 76 +- .../ApiManagementCreateApiRevision.json | 2 +- .../ApiManagementCreateApiSchema.json | 2 +- .../examples/ApiManagementCreateApiTag.json | 2 +- .../ApiManagementCreateApiTagDescription.json | 2 +- ...ManagementCreateApiUsingSwaggerImport.json | 2 +- ...ApiManagementCreateApiUsingWadlImport.json | 2 +- ...ApiManagementCreateApiUsingWsdlImport.json | 2 +- .../ApiManagementCreateApiVersionSet.json | 2 +- ...piManagementCreateAuthorizationServer.json | 2 +- ...piManagementCreateBackendProxyBackend.json | 2 +- ...iManagementCreateBackendServiceFabric.json | 2 +- .../examples/ApiManagementCreateBackup.json | 94 +- .../ApiManagementCreateCertificate.json | 4 +- .../ApiManagementCreateDiagnostic.json | 2 +- .../ApiManagementCreateDiagnosticLogger.json | 76 +- .../examples/ApiManagementCreateEHLogger.json | 2 +- .../ApiManagementCreateEmailTemplate.json | 2 +- .../examples/ApiManagementCreateGroup.json | 6 +- .../ApiManagementCreateGroupExternal.json | 6 +- .../ApiManagementCreateGroupUser.json | 4 +- .../ApiManagementCreateIdentityProvider.json | 2 +- ...ManagementCreateOpenIdConnectProvider.json | 4 +- .../ApiManagementCreateOperationTag.json | 2 +- .../examples/ApiManagementCreatePolicy.json | 2 +- .../ApiManagementCreateProductApi.json | 4 +- .../ApiManagementCreateProductBasic.json | 2 +- .../ApiManagementCreateProductGroup.json | 2 +- .../ApiManagementCreateProductPolicy.json | 2 +- .../ApiManagementCreateProductTag.json | 2 +- .../examples/ApiManagementCreateProperty.json | 2 +- .../ApiManagementCreateRecipientEmail.json | 6 +- .../ApiManagementCreateRecipientUser.json | 2 +- .../ApiManagementCreateSubscription.json | 2 +- .../examples/ApiManagementCreateTag.json | 2 +- .../ApiManagementCreateUserBasic.json | 2 +- .../examples/ApiManagementDeleteApi.json | 24 +- .../ApiManagementDeleteApiDiagnostic.json | 26 +- ...piManagementDeleteApiDiagnosticLogger.json | 28 +- .../examples/ApiManagementDeleteApiIssue.json | 26 +- ...ApiManagementDeleteApiIssueAttachment.json | 28 +- .../ApiManagementDeleteApiIssueComment.json | 28 +- .../ApiManagementDeleteApiOperation.json | 26 +- .../ApiManagementDeleteApiPolicy.json | 26 +- .../ApiManagementDeleteApiRelease.json | 26 +- .../ApiManagementDeleteApiSchema.json | 26 +- .../examples/ApiManagementDeleteApiTag.json | 26 +- .../ApiManagementDeleteApiTagDescription.json | 26 +- .../ApiManagementDeleteApiVersionSet.json | 25 +- ...piManagementDeleteAuthorizationServer.json | 24 +- .../examples/ApiManagementDeleteBackend.json | 24 +- .../ApiManagementDeleteCertificate.json | 24 +- .../ApiManagementDeleteDiagnostic.json | 24 +- .../ApiManagementDeleteDiagnosticLogger.json | 26 +- .../ApiManagementDeleteEmailTemplate.json | 24 +- .../examples/ApiManagementDeleteGroup.json | 24 +- .../ApiManagementDeleteGroupUser.json | 26 +- .../ApiManagementDeleteIdentityProvider.json | 24 +- .../examples/ApiManagementDeleteLogger.json | 24 +- ...ementDeleteNotificationRecipientEmail.json | 24 +- ...gementDeleteNotificationRecipientUser.json | 24 +- ...ManagementDeleteOpenIdConnectProvider.json | 24 +- .../ApiManagementDeleteOperationPolicy.json | 28 +- .../ApiManagementDeleteOperationTag.json | 8 +- .../examples/ApiManagementDeletePolicy.json | 24 +- .../examples/ApiManagementDeleteProduct.json | 24 +- .../ApiManagementDeleteProductApi.json | 26 +- .../ApiManagementDeleteProductGroup.json | 26 +- .../ApiManagementDeleteProductPolicy.json | 26 +- .../ApiManagementDeleteProductTag.json | 26 +- .../examples/ApiManagementDeleteProperty.json | 24 +- .../ApiManagementDeleteSubscription.json | 24 +- .../examples/ApiManagementDeleteTag.json | 24 +- .../examples/ApiManagementDeleteUser.json | 24 +- .../examples/ApiManagementGetApiContract.json | 62 +- .../ApiManagementGetApiDiagnostic.json | 38 +- ...iManagementGetApiExportInOpenApi2dot0.json | 32 +- .../examples/ApiManagementGetApiIssue.json | 48 +- .../ApiManagementGetApiIssueAttachment.json | 44 +- .../ApiManagementGetApiIssueComment.json | 44 +- .../ApiManagementGetApiOperation.json | 96 +- .../ApiManagementGetApiOperationPolicy.json | 40 +- .../examples/ApiManagementGetApiPolicy.json | 38 +- .../examples/ApiManagementGetApiRelease.json | 44 +- .../examples/ApiManagementGetApiSchema.json | 44 +- .../examples/ApiManagementGetApiTag.json | 2 +- .../ApiManagementGetApiTagDescription.json | 2 +- .../ApiManagementGetApiVersionSet.json | 40 +- .../ApiManagementGetAuthorizationServer.json | 82 +- .../examples/ApiManagementGetBackend.json | 66 +- .../examples/ApiManagementGetCertificate.json | 40 +- .../examples/ApiManagementGetDiagnostic.json | 36 +- .../ApiManagementGetEmailTemplate.json | 94 +- .../examples/ApiManagementGetGroup.json | 44 +- .../ApiManagementGetIdentityProvider.json | 50 +- .../examples/ApiManagementGetLogger.json | 48 +- .../ApiManagementGetNotification.json | 58 +- ...ApiManagementGetOpenIdConnectProvider.json | 44 +- .../ApiManagementGetOperationTag.json | 2 +- .../examples/ApiManagementGetPolicy.json | 36 +- .../examples/ApiManagementGetProduct.json | 46 +- .../ApiManagementGetProductPolicy.json | 38 +- .../examples/ApiManagementGetProductTag.json | 2 +- .../ApiManagementGetProductsForApi.json | 56 +- .../examples/ApiManagementGetProperty.json | 48 +- .../ApiManagementGetQuotaCounterKeys.json | 52 +- ...ementGetQuotaCounterKeysByQuotaPeriod.json | 42 +- .../ApiManagementGetReportsByApi.json | 106 +- .../ApiManagementGetReportsByGeo.json | 72 +- .../ApiManagementGetReportsByOperation.json | 148 +- .../ApiManagementGetReportsByProduct.json | 106 +- .../ApiManagementGetReportsByRequest.json | 108 +- ...ApiManagementGetReportsBySubscription.json | 154 +- .../ApiManagementGetReportsByTime.json | 108 +- .../ApiManagementGetReportsByUser.json | 142 +- .../ApiManagementGetSubscription.json | 48 +- .../examples/ApiManagementGetTag.json | 36 +- ...ApiManagementGetTagDescriptionsForApi.json | 52 +- .../examples/ApiManagementGetTagsForApi.json | 46 +- .../ApiManagementGetTagsForOperation.json | 32 +- .../ApiManagementGetTagsForProduct.json | 32 +- .../ApiManagementGetTenantAccess.json | 34 +- .../examples/ApiManagementGetUser.json | 54 +- .../examples/ApiManagementHeadApi.json | 30 +- .../ApiManagementHeadApiDiagnostic.json | 30 +- .../ApiManagementHeadApiDiagnosticLogger.json | 27 +- .../examples/ApiManagementHeadApiIssue.json | 32 +- .../ApiManagementHeadApiIssueAttachment.json | 34 +- .../ApiManagementHeadApiIssueComment.json | 34 +- .../ApiManagementHeadApiOperation.json | 32 +- .../ApiManagementHeadApiOperationPolicy.json | 34 +- .../examples/ApiManagementHeadApiPolicy.json | 32 +- .../examples/ApiManagementHeadApiSchema.json | 32 +- .../examples/ApiManagementHeadApiTag.json | 2 +- .../ApiManagementHeadApiTagDescription.json | 2 +- .../ApiManagementHeadApiVersionSet.json | 30 +- .../ApiManagementHeadAuthorizationServer.json | 30 +- .../examples/ApiManagementHeadBackend.json | 30 +- .../ApiManagementHeadCertificate.json | 30 +- .../ApiManagementHeadDelegationSettings.json | 26 +- .../examples/ApiManagementHeadDiagnostic.json | 28 +- .../ApiManagementHeadDiagnosticLogger.json | 25 +- .../ApiManagementHeadEmailTemplate.json | 30 +- .../examples/ApiManagementHeadGroup.json | 30 +- .../examples/ApiManagementHeadGroupUser.json | 25 +- .../ApiManagementHeadIdentityProvider.json | 30 +- .../examples/ApiManagementHeadLogger.json | 30 +- ...agementHeadNotificationRecipientEmail.json | 25 +- ...nagementHeadNotificationRecipientUser.json | 25 +- ...piManagementHeadOpenIdConnectProvider.json | 30 +- .../ApiManagementHeadOperationTag.json | 2 +- .../examples/ApiManagementHeadProduct.json | 30 +- .../examples/ApiManagementHeadProductApi.json | 25 +- .../ApiManagementHeadProductGroup.json | 25 +- .../examples/ApiManagementHeadProductTag.json | 2 +- .../examples/ApiManagementHeadProperty.json | 30 +- .../ApiManagementHeadSignInSettings.json | 26 +- .../ApiManagementHeadSignUpSettings.json | 26 +- .../ApiManagementHeadSubscription.json | 30 +- .../examples/ApiManagementHeadTag.json | 26 +- .../examples/ApiManagementHeadUser.json | 30 +- ...ApiManagementListApiDiagnosticLoggers.json | 58 +- .../ApiManagementListApiDiagnostics.json | 46 +- .../ApiManagementListApiIssueAttachments.json | 52 +- .../ApiManagementListApiIssueComments.json | 52 +- .../examples/ApiManagementListApiIssues.json | 56 +- ...ApiManagementListApiOperationPolicies.json | 48 +- .../ApiManagementListApiOperations.json | 132 +- .../ApiManagementListApiPolicies.json | 46 +- .../ApiManagementListApiReleases.json | 50 +- .../ApiManagementListApiRevisions.json | 56 +- .../examples/ApiManagementListApiSchemas.json | 46 +- .../ApiManagementListApiVersionSets.json | 68 +- .../examples/ApiManagementListApis.json | 156 +- .../examples/ApiManagementListApisByTags.json | 14 +- ...ApiManagementListAuthorizationServers.json | 146 +- .../examples/ApiManagementListBackends.json | 150 +- .../ApiManagementListCertificates.json | 48 +- .../ApiManagementListDiagnosticLoggers.json | 56 +- .../ApiManagementListDiagnostics.json | 44 +- .../ApiManagementListEmailTemplates.json | 104 +- .../examples/ApiManagementListGroupUsers.json | 68 +- .../examples/ApiManagementListGroups.json | 118 +- .../ApiManagementListIdentityProviders.json | 104 +- .../examples/ApiManagementListLoggers.json | 82 +- ...agementListNotificationRecipientEmail.json | 78 +- ...nagementListNotificationRecipientUser.json | 46 +- .../ApiManagementListNotifications.json | 244 +-- ...iManagementListOpenIdConnectProviders.json | 52 +- .../examples/ApiManagementListOperations.json | 2 +- .../ApiManagementListOperationsByTags.json | 12 +- .../examples/ApiManagementListPolicies.json | 44 +- .../ApiManagementListPolicySnippets.json | 36 +- .../ApiManagementListProductApis.json | 62 +- .../ApiManagementListProductGroups.json | 96 +- .../ApiManagementListProductPolicy.json | 46 +- ...ApiManagementListProductSubscriptions.json | 56 +- .../examples/ApiManagementListProducts.json | 104 +- .../examples/ApiManagementListProperties.json | 76 +- .../examples/ApiManagementListRegions.json | 42 +- ...piManagementListServiceBySubscription.json | 322 ++-- ...ServiceBySubscriptionAndResourceGroup.json | 318 ++-- .../ApiManagementListSubscriptions.json | 116 +- .../ApiManagementListTagResources.json | 16 +- .../examples/ApiManagementListTags.json | 60 +- .../examples/ApiManagementListUserGroups.json | 52 +- .../ApiManagementListUserSubscriptions.json | 90 +- .../examples/ApiManagementListUsers.json | 136 +- .../ApiManagementListUsersIdentities.json | 2 +- ...ManagementPortalSettingsGetDelegation.json | 42 +- .../ApiManagementPortalSettingsGetSignIn.json | 28 +- .../ApiManagementPortalSettingsGetSignUp.json | 38 +- ...agementPortalSettingsUpdateDelegation.json | 2 +- ...iManagementPortalSettingsUpdateSignIn.json | 2 +- ...iManagementPortalSettingsUpdateSignUp.json | 2 +- .../examples/ApiManagementRestoreService.json | 94 +- ...anagementServiceCheckNameAvailability.json | 4 +- .../ApiManagementServiceDeleteService.json | 22 +- .../ApiManagementServiceGetNetworkStatus.json | 2 +- ...mentServiceGetNetworkStatusByLocation.json | 2 +- .../ApiManagementServiceGetService.json | 170 +- ...iManagementServiceGetServiceHavingMsi.json | 108 +- .../ApiManagementServiceGetSsoToken.json | 2 +- .../ApiManagementServiceUpdateHostName.json | 348 ++-- ...nagementServiceUploadProxyCertificate.json | 8 +- ...piManagementSubscriptionRegenerateKey.json | 22 +- ...piManagementTenantAccessRegenerateKey.json | 22 +- .../ApiManagementTenantAccessSyncState.json | 40 +- ...piManagementTenantConfigurationDeploy.json | 52 +- .../ApiManagementTenantConfigurationSave.json | 50 +- ...ManagementTenantConfigurationValidate.json | 332 ++-- .../examples/ApiManagementUpdateApi.json | 2 +- .../ApiManagementUpdateApiDiagnostic.json | 2 +- .../ApiManagementUpdateApiOperation.json | 4 +- .../ApiManagementUpdateApiRelease.json | 34 +- .../ApiManagementUpdateApiVersionSet.json | 32 +- ...piManagementUpdateAuthorizationServer.json | 4 +- .../examples/ApiManagementUpdateBackend.json | 2 +- .../ApiManagementUpdateDiagnostic.json | 2 +- .../ApiManagementUpdateEmailTemplate.json | 4 +- .../examples/ApiManagementUpdateGroup.json | 2 +- .../ApiManagementUpdateIdentityProvider.json | 2 +- .../examples/ApiManagementUpdateLogger.json | 2 +- ...ManagementUpdateOpenIdConnectProvider.json | 2 +- .../ApiManagementUpdateProductBasic.json | 2 +- .../examples/ApiManagementUpdateProperty.json | 2 +- .../ApiManagementUpdateQuotaCounterKey.json | 2 +- ...entUpdateQuotaCounterKeyByQuotaPeriod.json | 2 +- ...piManagementUpdateServiceDisableTls10.json | 2 +- ...nagementUpdateServicePublisherDetails.json | 4 +- .../ApiManagementUpdateSubscription.json | 2 +- .../examples/ApiManagementUpdateTag.json | 2 +- .../ApiManagementUpdateTenantAccess.json | 2 +- .../ApiManagementUpdateUserBasic.json | 4 +- .../ApiManagementUsersGenerateSsoUrl.json | 2 +- .../examples/ApiManagementUsersGetToken.json | 2 +- .../stable/2018-01-01/apimanagement.json | 4 +- .../stable/2018-01-01/apimapis.json | 2 +- .../2018-01-01/apimauthorizationservers.json | 2 +- .../stable/2018-01-01/apimbackends.json | 2 +- .../stable/2018-01-01/apimcertificates.json | 2 +- .../stable/2018-01-01/apimdeployment.json | 2 +- .../stable/2018-01-01/apimdiagnostics.json | 2 +- .../stable/2018-01-01/apimemailtemplate.json | 2 +- .../stable/2018-01-01/apimgroups.json | 6 +- .../2018-01-01/apimidentityprovider.json | 12 +- .../stable/2018-01-01/apimissues.json | 2 +- .../stable/2018-01-01/apimloggers.json | 12 +- .../stable/2018-01-01/apimnetworkstatus.json | 2 +- .../stable/2018-01-01/apimnotifications.json | 6 +- .../apimopenidconnectproviders.json | 12 +- .../stable/2018-01-01/apimportalsettings.json | 2 +- .../stable/2018-01-01/apimproducts.json | 2 +- .../stable/2018-01-01/apimproperties.json | 12 +- .../stable/2018-01-01/apimquotas.json | 2 +- .../stable/2018-01-01/apimreports.json | 2 +- .../stable/2018-01-01/apimsubscriptions.json | 2 +- .../stable/2018-01-01/apimtagresources.json | 2 +- .../stable/2018-01-01/apimtags.json | 2 +- .../stable/2018-01-01/apimtenant.json | 2 +- .../stable/2018-01-01/apimusers.json | 2 +- .../stable/2018-01-01/apimversionsets.json | 1002 ++++++------ ...ementApplyNetworkConfigurationUpdates.json | 94 +- .../ApiManagementBackendReconnect.json | 26 +- .../examples/ApiManagementCreateAILogger.json | 2 +- .../examples/ApiManagementCreateApi.json | 2 +- .../ApiManagementCreateApiDiagnostic.json | 2 +- ...piManagementCreateApiDiagnosticLogger.json | 78 +- .../examples/ApiManagementCreateApiIssue.json | 80 +- ...ApiManagementCreateApiIssueAttachment.json | 70 +- .../ApiManagementCreateApiIssueComment.json | 70 +- .../ApiManagementCreateApiOperation.json | 242 +-- ...ApiManagementCreateApiOperationPolicy.json | 2 +- .../ApiManagementCreateApiPolicy.json | 4 +- ...anagementCreateApiPolicyNonXmlEncoded.json | 2 +- .../ApiManagementCreateApiRelease.json | 76 +- .../ApiManagementCreateApiRevision.json | 2 +- .../ApiManagementCreateApiSchema.json | 2 +- .../examples/ApiManagementCreateApiTag.json | 2 +- .../ApiManagementCreateApiTagDescription.json | 2 +- ...ManagementCreateApiUsingSwaggerImport.json | 2 +- ...ApiManagementCreateApiUsingWadlImport.json | 2 +- .../ApiManagementCreateApiVersionSet.json | 2 +- ...iManagementCreateApiWithOpenIdConnect.json | 2 +- ...piManagementCreateAuthorizationServer.json | 2 +- ...piManagementCreateBackendProxyBackend.json | 2 +- ...iManagementCreateBackendServiceFabric.json | 2 +- .../examples/ApiManagementCreateBackup.json | 94 +- .../ApiManagementCreateCertificate.json | 4 +- .../ApiManagementCreateDiagnostic.json | 2 +- .../ApiManagementCreateDiagnosticLogger.json | 76 +- .../examples/ApiManagementCreateEHLogger.json | 2 +- .../ApiManagementCreateEmailTemplate.json | 2 +- .../examples/ApiManagementCreateGroup.json | 6 +- .../ApiManagementCreateGroupExternal.json | 6 +- .../ApiManagementCreateGroupUser.json | 4 +- .../ApiManagementCreateIdentityProvider.json | 2 +- ...eMultiRegionServiceWithCustomHostname.json | 4 +- ...ManagementCreateOpenIdConnectProvider.json | 4 +- .../ApiManagementCreateOperationTag.json | 2 +- .../examples/ApiManagementCreatePolicy.json | 2 +- .../ApiManagementCreateProductApi.json | 4 +- .../ApiManagementCreateProductBasic.json | 2 +- .../ApiManagementCreateProductGroup.json | 2 +- .../ApiManagementCreateProductPolicy.json | 2 +- .../ApiManagementCreateProductTag.json | 2 +- .../examples/ApiManagementCreateProperty.json | 2 +- .../ApiManagementCreateRecipientEmail.json | 6 +- .../ApiManagementCreateRecipientUser.json | 2 +- .../examples/ApiManagementCreateService.json | 2 +- .../ApiManagementCreateServiceHavingMsi.json | 2 +- ...ntCreateServiceWithSystemCertificates.json | 2 +- ...eateSoapPassThroughApiUsingWsdlImport.json | 2 +- ...entCreateSoapToRestApiUsingWsdlImport.json | 2 +- .../ApiManagementCreateSubscription.json | 2 +- .../examples/ApiManagementCreateTag.json | 2 +- .../ApiManagementCreateUserBasic.json | 2 +- .../examples/ApiManagementDeleteApi.json | 26 +- .../ApiManagementDeleteApiDiagnostic.json | 28 +- ...piManagementDeleteApiDiagnosticLogger.json | 30 +- .../examples/ApiManagementDeleteApiIssue.json | 28 +- ...ApiManagementDeleteApiIssueAttachment.json | 30 +- .../ApiManagementDeleteApiIssueComment.json | 30 +- .../ApiManagementDeleteApiOperation.json | 28 +- .../ApiManagementDeleteApiPolicy.json | 28 +- .../ApiManagementDeleteApiRelease.json | 28 +- .../ApiManagementDeleteApiSchema.json | 28 +- .../examples/ApiManagementDeleteApiTag.json | 28 +- .../ApiManagementDeleteApiTagDescription.json | 28 +- .../ApiManagementDeleteApiVersionSet.json | 28 +- ...piManagementDeleteAuthorizationServer.json | 26 +- .../examples/ApiManagementDeleteBackend.json | 26 +- .../ApiManagementDeleteCertificate.json | 26 +- .../ApiManagementDeleteDiagnostic.json | 26 +- .../ApiManagementDeleteDiagnosticLogger.json | 28 +- .../ApiManagementDeleteEmailTemplate.json | 26 +- .../examples/ApiManagementDeleteGroup.json | 26 +- .../ApiManagementDeleteGroupUser.json | 28 +- .../ApiManagementDeleteIdentityProvider.json | 26 +- .../examples/ApiManagementDeleteLogger.json | 26 +- ...ementDeleteNotificationRecipientEmail.json | 26 +- ...gementDeleteNotificationRecipientUser.json | 26 +- ...ManagementDeleteOpenIdConnectProvider.json | 26 +- .../ApiManagementDeleteOperationPolicy.json | 30 +- .../ApiManagementDeleteOperationTag.json | 10 +- .../examples/ApiManagementDeletePolicy.json | 26 +- .../examples/ApiManagementDeleteProduct.json | 28 +- .../ApiManagementDeleteProductApi.json | 28 +- .../ApiManagementDeleteProductGroup.json | 28 +- .../ApiManagementDeleteProductPolicy.json | 28 +- .../ApiManagementDeleteProductTag.json | 28 +- .../examples/ApiManagementDeleteProperty.json | 26 +- .../ApiManagementDeleteSubscription.json | 26 +- .../examples/ApiManagementDeleteTag.json | 26 +- .../examples/ApiManagementDeleteUser.json | 26 +- .../examples/ApiManagementGetApiContract.json | 62 +- .../ApiManagementGetApiDiagnostic.json | 38 +- ...iManagementGetApiExportInOpenApi2dot0.json | 32 +- .../examples/ApiManagementGetApiIssue.json | 48 +- .../ApiManagementGetApiIssueAttachment.json | 44 +- .../ApiManagementGetApiIssueComment.json | 44 +- .../ApiManagementGetApiOperation.json | 96 +- .../ApiManagementGetApiOperationPolicy.json | 40 +- .../examples/ApiManagementGetApiPolicy.json | 38 +- .../examples/ApiManagementGetApiRelease.json | 44 +- .../examples/ApiManagementGetApiRevision.json | 58 +- .../examples/ApiManagementGetApiSchema.json | 44 +- .../examples/ApiManagementGetApiTag.json | 2 +- .../ApiManagementGetApiTagDescription.json | 2 +- .../ApiManagementGetApiVersionSet.json | 40 +- .../ApiManagementGetAuthorizationServer.json | 82 +- .../examples/ApiManagementGetBackend.json | 66 +- .../examples/ApiManagementGetCertificate.json | 40 +- .../examples/ApiManagementGetDiagnostic.json | 36 +- .../ApiManagementGetEmailTemplate.json | 94 +- .../examples/ApiManagementGetGroup.json | 44 +- .../ApiManagementGetIdentityProvider.json | 50 +- .../examples/ApiManagementGetLogger.json | 48 +- .../ApiManagementGetNotification.json | 58 +- ...ApiManagementGetOpenIdConnectProvider.json | 44 +- .../ApiManagementGetOperationTag.json | 2 +- .../examples/ApiManagementGetPolicy.json | 36 +- .../examples/ApiManagementGetProduct.json | 46 +- .../ApiManagementGetProductPolicy.json | 38 +- .../examples/ApiManagementGetProductTag.json | 2 +- .../ApiManagementGetProductsForApi.json | 56 +- .../examples/ApiManagementGetProperty.json | 48 +- .../ApiManagementGetQuotaCounterKeys.json | 52 +- ...ementGetQuotaCounterKeysByQuotaPeriod.json | 42 +- .../ApiManagementGetReportsByApi.json | 106 +- .../ApiManagementGetReportsByGeo.json | 72 +- .../ApiManagementGetReportsByOperation.json | 148 +- .../ApiManagementGetReportsByProduct.json | 106 +- .../ApiManagementGetReportsByRequest.json | 108 +- ...ApiManagementGetReportsBySubscription.json | 154 +- .../ApiManagementGetReportsByTime.json | 108 +- .../ApiManagementGetReportsByUser.json | 142 +- .../ApiManagementGetSubscription.json | 48 +- .../examples/ApiManagementGetTag.json | 36 +- ...ApiManagementGetTagDescriptionsForApi.json | 50 +- .../examples/ApiManagementGetTagsForApi.json | 46 +- .../ApiManagementGetTagsForOperation.json | 32 +- .../ApiManagementGetTagsForProduct.json | 32 +- .../ApiManagementGetTenantAccess.json | 34 +- .../examples/ApiManagementGetUser.json | 54 +- .../ApiManagementGetUserIdentity.json | 26 +- .../examples/ApiManagementHeadApi.json | 30 +- .../ApiManagementHeadApiDiagnostic.json | 30 +- .../ApiManagementHeadApiDiagnosticLogger.json | 29 +- .../examples/ApiManagementHeadApiIssue.json | 32 +- .../ApiManagementHeadApiIssueAttachment.json | 34 +- .../ApiManagementHeadApiIssueComment.json | 34 +- .../ApiManagementHeadApiOperation.json | 32 +- .../ApiManagementHeadApiOperationPolicy.json | 34 +- .../examples/ApiManagementHeadApiPolicy.json | 32 +- .../examples/ApiManagementHeadApiRelease.json | 30 +- .../examples/ApiManagementHeadApiSchema.json | 32 +- .../examples/ApiManagementHeadApiTag.json | 2 +- .../ApiManagementHeadApiTagDescription.json | 2 +- .../ApiManagementHeadApiVersionSet.json | 30 +- .../ApiManagementHeadAuthorizationServer.json | 30 +- .../examples/ApiManagementHeadBackend.json | 30 +- .../ApiManagementHeadCertificate.json | 30 +- .../ApiManagementHeadDelegationSettings.json | 26 +- .../examples/ApiManagementHeadDiagnostic.json | 28 +- .../ApiManagementHeadDiagnosticLogger.json | 28 +- .../ApiManagementHeadEmailTemplate.json | 30 +- .../examples/ApiManagementHeadGroup.json | 30 +- .../examples/ApiManagementHeadGroupUser.json | 26 +- .../ApiManagementHeadIdentityProvider.json | 30 +- .../examples/ApiManagementHeadLogger.json | 30 +- ...agementHeadNotificationRecipientEmail.json | 26 +- ...nagementHeadNotificationRecipientUser.json | 26 +- ...piManagementHeadOpenIdConnectProvider.json | 30 +- .../ApiManagementHeadOperationTag.json | 2 +- .../examples/ApiManagementHeadPolicy.json | 30 +- .../examples/ApiManagementHeadProduct.json | 30 +- .../examples/ApiManagementHeadProductApi.json | 26 +- .../ApiManagementHeadProductGroup.json | 26 +- .../ApiManagementHeadProductPolicy.json | 32 +- .../examples/ApiManagementHeadProductTag.json | 2 +- .../examples/ApiManagementHeadProperty.json | 30 +- .../ApiManagementHeadSignInSettings.json | 26 +- .../ApiManagementHeadSignUpSettings.json | 26 +- .../ApiManagementHeadSubscription.json | 30 +- .../examples/ApiManagementHeadTag.json | 26 +- .../examples/ApiManagementHeadUser.json | 30 +- ...ApiManagementListApiDiagnosticLoggers.json | 58 +- .../ApiManagementListApiDiagnostics.json | 46 +- .../ApiManagementListApiIssueAttachments.json | 52 +- .../ApiManagementListApiIssueComments.json | 52 +- .../examples/ApiManagementListApiIssues.json | 56 +- ...ApiManagementListApiOperationPolicies.json | 48 +- .../ApiManagementListApiOperations.json | 132 +- .../ApiManagementListApiPolicies.json | 46 +- .../ApiManagementListApiReleases.json | 48 +- .../ApiManagementListApiRevisions.json | 48 +- .../examples/ApiManagementListApiSchemas.json | 46 +- .../ApiManagementListApiVersionSets.json | 68 +- .../examples/ApiManagementListApis.json | 156 +- .../examples/ApiManagementListApisByTags.json | 2 +- ...ApiManagementListAuthorizationServers.json | 146 +- .../examples/ApiManagementListBackends.json | 150 +- .../ApiManagementListCertificates.json | 48 +- .../ApiManagementListDiagnosticLoggers.json | 56 +- .../ApiManagementListDiagnostics.json | 44 +- .../ApiManagementListEmailTemplates.json | 104 +- .../examples/ApiManagementListGroupUsers.json | 68 +- .../examples/ApiManagementListGroups.json | 118 +- .../ApiManagementListIdentityProviders.json | 104 +- .../examples/ApiManagementListIssues.json | 54 +- .../examples/ApiManagementListLoggers.json | 82 +- ...agementListNotificationRecipientEmail.json | 78 +- ...nagementListNotificationRecipientUser.json | 46 +- .../ApiManagementListNotifications.json | 244 +-- ...iManagementListOpenIdConnectProviders.json | 52 +- .../examples/ApiManagementListOperations.json | 2 +- .../ApiManagementListOperationsByTags.json | 2 +- .../examples/ApiManagementListPolicies.json | 44 +- .../ApiManagementListPolicySnippets.json | 36 +- .../ApiManagementListProductApis.json | 62 +- .../ApiManagementListProductGroups.json | 96 +- .../ApiManagementListProductPolicy.json | 46 +- ...ApiManagementListProductSubscriptions.json | 56 +- .../examples/ApiManagementListProducts.json | 104 +- .../examples/ApiManagementListProperties.json | 76 +- .../examples/ApiManagementListRegions.json | 42 +- .../examples/ApiManagementListSKUs.json | 128 +- ...piManagementListServiceBySubscription.json | 322 ++-- ...ServiceBySubscriptionAndResourceGroup.json | 318 ++-- .../ApiManagementListSubscriptions.json | 116 +- .../ApiManagementListTagResources.json | 2 +- .../examples/ApiManagementListTags.json | 60 +- .../examples/ApiManagementListUserGroups.json | 52 +- .../ApiManagementListUserSubscriptions.json | 90 +- .../examples/ApiManagementListUsers.json | 136 +- .../ApiManagementListUsersIdentities.json | 2 +- ...ManagementPortalSettingsGetDelegation.json | 48 +- .../ApiManagementPortalSettingsGetSignIn.json | 34 +- .../ApiManagementPortalSettingsGetSignUp.json | 44 +- ...ManagementPortalSettingsPutDelegation.json | 2 +- .../ApiManagementPortalSettingsPutSignIn.json | 2 +- .../ApiManagementPortalSettingsPutSignUp.json | 2 +- ...agementPortalSettingsUpdateDelegation.json | 2 +- ...iManagementPortalSettingsUpdateSignIn.json | 2 +- ...iManagementPortalSettingsUpdateSignUp.json | 2 +- .../examples/ApiManagementRestoreService.json | 94 +- ...anagementServiceCheckNameAvailability.json | 4 +- .../ApiManagementServiceDeleteService.json | 22 +- ...mentServiceGetMultiRegionInternalVnet.json | 168 +- .../ApiManagementServiceGetNetworkStatus.json | 2 +- ...mentServiceGetNetworkStatusByLocation.json | 2 +- .../ApiManagementServiceGetService.json | 170 +- ...iManagementServiceGetServiceHavingMsi.json | 108 +- .../ApiManagementServiceGetSsoToken.json | 2 +- .../ApiManagementServiceUpdateHostName.json | 348 ++-- ...nagementServiceUploadProxyCertificate.json | 8 +- ...piManagementSubscriptionRegenerateKey.json | 22 +- ...piManagementTenantAccessRegenerateKey.json | 22 +- .../ApiManagementTenantAccessSyncState.json | 40 +- ...piManagementTenantConfigurationDeploy.json | 52 +- .../ApiManagementTenantConfigurationSave.json | 50 +- ...ManagementTenantConfigurationValidate.json | 332 ++-- .../examples/ApiManagementUpdateApi.json | 2 +- .../ApiManagementUpdateApiDiagnostic.json | 2 +- .../examples/ApiManagementUpdateApiIssue.json | 28 +- .../ApiManagementUpdateApiOperation.json | 4 +- .../ApiManagementUpdateApiRelease.json | 34 +- .../ApiManagementUpdateApiVersionSet.json | 32 +- ...piManagementUpdateAuthorizationServer.json | 4 +- .../examples/ApiManagementUpdateBackend.json | 2 +- .../ApiManagementUpdateDiagnostic.json | 2 +- .../ApiManagementUpdateEmailTemplate.json | 4 +- .../examples/ApiManagementUpdateGroup.json | 2 +- .../ApiManagementUpdateIdentityProvider.json | 2 +- .../examples/ApiManagementUpdateLogger.json | 2 +- ...ManagementUpdateOpenIdConnectProvider.json | 2 +- .../ApiManagementUpdateProductBasic.json | 2 +- .../examples/ApiManagementUpdateProperty.json | 2 +- .../ApiManagementUpdateQuotaCounterKey.json | 2 +- ...entUpdateQuotaCounterKeyByQuotaPeriod.json | 2 +- ...piManagementUpdateServiceDisableTls10.json | 2 +- ...nagementUpdateServicePublisherDetails.json | 4 +- .../ApiManagementUpdateSubscription.json | 2 +- .../examples/ApiManagementUpdateTag.json | 2 +- .../ApiManagementUpdateTenantAccess.json | 2 +- .../ApiManagementUpdateUserBasic.json | 4 +- .../ApiManagementUsersGenerateSsoUrl.json | 2 +- .../examples/ApiManagementUsersGetToken.json | 2 +- .../stable/2019-01-01/apimanagement.json | 2 +- .../stable/2019-01-01/apimapis.json | 2 +- .../stable/2019-01-01/apimapisByTags.json | 2 +- .../stable/2019-01-01/apimapiversionsets.json | 6 +- .../2019-01-01/apimauthorizationservers.json | 6 +- .../stable/2019-01-01/apimbackends.json | 6 +- .../stable/2019-01-01/apimcaches.json | 7 +- .../stable/2019-01-01/apimcertificates.json | 6 +- .../stable/2019-01-01/apimdeployment.json | 2 +- .../stable/2019-01-01/apimdiagnostics.json | 6 +- .../stable/2019-01-01/apimemailtemplates.json | 6 +- .../stable/2019-01-01/apimgroups.json | 6 +- .../2019-01-01/apimidentityprovider.json | 6 +- .../stable/2019-01-01/apimissues.json | 2 +- .../stable/2019-01-01/apimloggers.json | 6 +- .../stable/2019-01-01/apimnetworkstatus.json | 4 +- .../stable/2019-01-01/apimnotifications.json | 10 +- .../apimopenidconnectproviders.json | 6 +- .../stable/2019-01-01/apimpolicies.json | 6 +- .../stable/2019-01-01/apimpolicysnippets.json | 4 +- .../stable/2019-01-01/apimportalsettings.json | 4 +- .../stable/2019-01-01/apimproducts.json | 6 +- .../stable/2019-01-01/apimproductsByTags.json | 2 +- .../stable/2019-01-01/apimproperties.json | 4 +- .../stable/2019-01-01/apimquotas.json | 6 +- .../stable/2019-01-01/apimregions.json | 2 +- .../stable/2019-01-01/apimreports.json | 4 +- .../stable/2019-01-01/apimsubscriptions.json | 6 +- .../stable/2019-01-01/apimtagresources.json | 2 +- .../stable/2019-01-01/apimtags.json | 2 +- .../stable/2019-01-01/apimtenant.json | 10 +- .../stable/2019-01-01/apimusers.json | 6 +- .../stable/2019-01-01/definitions.json | 2 +- ...ementApplyNetworkConfigurationUpdates.json | 94 +- .../ApiManagementBackendReconnect.json | 26 +- .../examples/ApiManagementCreateAILogger.json | 2 +- .../examples/ApiManagementCreateApi.json | 4 +- .../examples/ApiManagementCreateApiClone.json | 2 +- .../ApiManagementCreateApiDiagnostic.json | 2 +- .../examples/ApiManagementCreateApiIssue.json | 80 +- ...ApiManagementCreateApiIssueAttachment.json | 70 +- .../ApiManagementCreateApiIssueComment.json | 70 +- ...ntCreateApiNewVersionUsingExistingApi.json | 2 +- .../ApiManagementCreateApiOperation.json | 242 +-- ...ApiManagementCreateApiOperationPolicy.json | 4 +- .../ApiManagementCreateApiOperationTag.json | 2 +- .../ApiManagementCreateApiPolicy.json | 6 +- ...anagementCreateApiPolicyNonXmlEncoded.json | 4 +- .../ApiManagementCreateApiRelease.json | 76 +- ...ementCreateApiRevisionFromExistingApi.json | 2 +- .../ApiManagementCreateApiSchema.json | 2 +- .../examples/ApiManagementCreateApiTag.json | 2 +- .../ApiManagementCreateApiTagDescription.json | 2 +- ...ApiManagementCreateApiUsingOai3Import.json | 8 +- ...ManagementCreateApiUsingSwaggerImport.json | 8 +- ...ApiManagementCreateApiUsingWadlImport.json | 8 +- .../ApiManagementCreateApiVersionSet.json | 2 +- ...iManagementCreateApiWithOpenIdConnect.json | 4 +- ...piManagementCreateAuthorizationServer.json | 2 +- ...piManagementCreateBackendProxyBackend.json | 2 +- ...iManagementCreateBackendServiceFabric.json | 2 +- .../examples/ApiManagementCreateBackup.json | 94 +- .../examples/ApiManagementCreateCache.json | 2 +- .../ApiManagementCreateCertificate.json | 4 +- .../ApiManagementCreateDiagnostic.json | 2 +- .../examples/ApiManagementCreateEHLogger.json | 2 +- .../ApiManagementCreateEmailTemplate.json | 2 +- .../examples/ApiManagementCreateGroup.json | 6 +- .../ApiManagementCreateGroupExternal.json | 6 +- .../ApiManagementCreateGroupUser.json | 4 +- .../ApiManagementCreateIdentityProvider.json | 2 +- ...eMultiRegionServiceWithCustomHostname.json | 2 +- .../ApiManagementCreateNotification.json | 58 +- ...ementCreateNotificationRecipientEmail.json | 6 +- ...gementCreateNotificationRecipientUser.json | 2 +- ...ManagementCreateOpenIdConnectProvider.json | 4 +- .../examples/ApiManagementCreatePolicy.json | 4 +- .../examples/ApiManagementCreateProduct.json | 2 +- .../ApiManagementCreateProductApi.json | 4 +- .../ApiManagementCreateProductGroup.json | 2 +- .../ApiManagementCreateProductPolicy.json | 4 +- .../ApiManagementCreateProductTag.json | 2 +- .../examples/ApiManagementCreateProperty.json | 2 +- .../examples/ApiManagementCreateService.json | 2 +- .../ApiManagementCreateServiceHavingMsi.json | 2 +- ...ntCreateServiceWithSystemCertificates.json | 2 +- ...eateSoapPassThroughApiUsingWsdlImport.json | 8 +- ...entCreateSoapToRestApiUsingWsdlImport.json | 8 +- .../ApiManagementCreateSubscription.json | 2 +- .../examples/ApiManagementCreateTag.json | 2 +- .../examples/ApiManagementCreateUser.json | 2 +- .../examples/ApiManagementDeleteApi.json | 26 +- .../ApiManagementDeleteApiDiagnostic.json | 28 +- .../examples/ApiManagementDeleteApiIssue.json | 28 +- ...ApiManagementDeleteApiIssueAttachment.json | 30 +- .../ApiManagementDeleteApiIssueComment.json | 30 +- .../ApiManagementDeleteApiOperation.json | 28 +- ...ApiManagementDeleteApiOperationPolicy.json | 30 +- .../ApiManagementDeleteApiOperationTag.json | 10 +- .../ApiManagementDeleteApiPolicy.json | 28 +- .../ApiManagementDeleteApiRelease.json | 28 +- .../ApiManagementDeleteApiSchema.json | 28 +- .../examples/ApiManagementDeleteApiTag.json | 28 +- .../ApiManagementDeleteApiTagDescription.json | 28 +- .../ApiManagementDeleteApiVersionSet.json | 28 +- ...piManagementDeleteAuthorizationServer.json | 26 +- .../examples/ApiManagementDeleteBackend.json | 26 +- .../examples/ApiManagementDeleteCache.json | 2 +- .../ApiManagementDeleteCertificate.json | 26 +- .../ApiManagementDeleteDiagnostic.json | 26 +- .../ApiManagementDeleteEmailTemplate.json | 26 +- .../examples/ApiManagementDeleteGroup.json | 26 +- .../ApiManagementDeleteGroupUser.json | 28 +- .../ApiManagementDeleteIdentityProvider.json | 26 +- .../examples/ApiManagementDeleteLogger.json | 26 +- ...ementDeleteNotificationRecipientEmail.json | 26 +- ...gementDeleteNotificationRecipientUser.json | 26 +- ...ManagementDeleteOpenIdConnectProvider.json | 26 +- .../examples/ApiManagementDeletePolicy.json | 26 +- .../examples/ApiManagementDeleteProduct.json | 28 +- .../ApiManagementDeleteProductApi.json | 28 +- .../ApiManagementDeleteProductGroup.json | 28 +- .../ApiManagementDeleteProductPolicy.json | 28 +- .../ApiManagementDeleteProductTag.json | 28 +- .../examples/ApiManagementDeleteProperty.json | 26 +- .../ApiManagementDeleteSubscription.json | 26 +- .../examples/ApiManagementDeleteTag.json | 26 +- .../examples/ApiManagementDeleteUser.json | 26 +- .../examples/ApiManagementGetApiContract.json | 62 +- .../ApiManagementGetApiDiagnostic.json | 2 +- ...iManagementGetApiExportInOpenApi2dot0.json | 38 +- ...iManagementGetApiExportInOpenApi3dot0.json | 2 +- .../examples/ApiManagementGetApiIssue.json | 2 +- .../ApiManagementGetApiIssueAttachment.json | 44 +- .../ApiManagementGetApiIssueComment.json | 44 +- .../ApiManagementGetApiOperation.json | 96 +- .../ApiManagementGetApiOperationPetStore.json | 172 +- .../ApiManagementGetApiOperationPolicy.json | 40 +- .../ApiManagementGetApiOperationTag.json | 2 +- .../examples/ApiManagementGetApiPolicy.json | 38 +- .../examples/ApiManagementGetApiRelease.json | 44 +- .../examples/ApiManagementGetApiRevision.json | 58 +- .../examples/ApiManagementGetApiSchema.json | 44 +- .../examples/ApiManagementGetApiTag.json | 2 +- .../ApiManagementGetApiTagDescription.json | 2 +- .../ApiManagementGetApiVersionSet.json | 40 +- .../ApiManagementGetAuthorizationServer.json | 82 +- .../examples/ApiManagementGetBackend.json | 2 +- .../examples/ApiManagementGetCache.json | 2 +- .../examples/ApiManagementGetCertificate.json | 40 +- .../examples/ApiManagementGetDiagnostic.json | 16 +- .../ApiManagementGetEmailTemplate.json | 94 +- .../examples/ApiManagementGetGroup.json | 44 +- .../ApiManagementGetIdentityProvider.json | 50 +- .../examples/ApiManagementGetIssue.json | 2 +- .../examples/ApiManagementGetLogger.json | 50 +- .../ApiManagementGetNotification.json | 2 +- ...ApiManagementGetOpenIdConnectProvider.json | 44 +- .../examples/ApiManagementGetPolicy.json | 2 +- .../ApiManagementGetPolicyFormat.json | 2 +- .../examples/ApiManagementGetProduct.json | 46 +- .../ApiManagementGetProductPolicy.json | 38 +- .../examples/ApiManagementGetProductTag.json | 2 +- .../examples/ApiManagementGetProperty.json | 48 +- .../ApiManagementGetQuotaCounterKeys.json | 50 +- ...ementGetQuotaCounterKeysByQuotaPeriod.json | 42 +- .../ApiManagementGetReportsByApi.json | 106 +- .../ApiManagementGetReportsByGeo.json | 70 +- .../ApiManagementGetReportsByOperation.json | 148 +- .../ApiManagementGetReportsByProduct.json | 106 +- .../ApiManagementGetReportsByRequest.json | 108 +- ...ApiManagementGetReportsBySubscription.json | 154 +- .../ApiManagementGetReportsByTime.json | 108 +- .../ApiManagementGetReportsByUser.json | 142 +- .../ApiManagementGetSubscription.json | 48 +- .../examples/ApiManagementGetTag.json | 36 +- .../ApiManagementGetTenantAccess.json | 34 +- .../examples/ApiManagementGetUser.json | 54 +- .../examples/ApiManagementHeadApi.json | 30 +- .../ApiManagementHeadApiDiagnostic.json | 30 +- .../examples/ApiManagementHeadApiIssue.json | 32 +- .../ApiManagementHeadApiIssueAttachment.json | 34 +- .../ApiManagementHeadApiIssueComment.json | 34 +- .../ApiManagementHeadApiOperation.json | 32 +- .../ApiManagementHeadApiOperationPolicy.json | 34 +- .../ApiManagementHeadApiOperationTag.json | 2 +- .../examples/ApiManagementHeadApiPolicy.json | 32 +- .../examples/ApiManagementHeadApiRelease.json | 30 +- .../examples/ApiManagementHeadApiSchema.json | 32 +- .../examples/ApiManagementHeadApiTag.json | 2 +- .../ApiManagementHeadApiTagDescription.json | 2 +- .../ApiManagementHeadApiVersionSet.json | 30 +- .../ApiManagementHeadAuthorizationServer.json | 30 +- .../examples/ApiManagementHeadBackend.json | 30 +- .../examples/ApiManagementHeadCache.json | 2 +- .../ApiManagementHeadCertificate.json | 30 +- .../ApiManagementHeadDelegationSettings.json | 26 +- .../examples/ApiManagementHeadDiagnostic.json | 28 +- .../ApiManagementHeadEmailTemplate.json | 30 +- .../examples/ApiManagementHeadGroup.json | 30 +- .../examples/ApiManagementHeadGroupUser.json | 26 +- .../ApiManagementHeadIdentityProvider.json | 30 +- .../examples/ApiManagementHeadLogger.json | 30 +- ...agementHeadNotificationRecipientEmail.json | 26 +- ...nagementHeadNotificationRecipientUser.json | 26 +- ...piManagementHeadOpenIdConnectProvider.json | 30 +- .../examples/ApiManagementHeadPolicy.json | 30 +- .../examples/ApiManagementHeadProduct.json | 30 +- .../examples/ApiManagementHeadProductApi.json | 24 +- .../ApiManagementHeadProductGroup.json | 24 +- .../ApiManagementHeadProductPolicy.json | 32 +- .../examples/ApiManagementHeadProductTag.json | 2 +- .../examples/ApiManagementHeadProperty.json | 30 +- .../ApiManagementHeadSignInSettings.json | 26 +- .../ApiManagementHeadSignUpSettings.json | 26 +- .../ApiManagementHeadSubscription.json | 30 +- .../examples/ApiManagementHeadTag.json | 26 +- .../ApiManagementHeadTenantAccess.json | 4 +- .../examples/ApiManagementHeadUser.json | 30 +- .../ApiManagementListApiDiagnostics.json | 2 +- .../ApiManagementListApiIssueAttachments.json | 52 +- .../ApiManagementListApiIssueComments.json | 52 +- .../examples/ApiManagementListApiIssues.json | 56 +- ...ApiManagementListApiOperationPolicies.json | 2 +- .../ApiManagementListApiOperationTags.json | 32 +- .../ApiManagementListApiOperations.json | 132 +- .../ApiManagementListApiOperationsByTags.json | 2 +- .../ApiManagementListApiPolicies.json | 2 +- .../ApiManagementListApiProducts.json | 2 +- .../ApiManagementListApiReleases.json | 48 +- .../ApiManagementListApiRevisions.json | 48 +- .../examples/ApiManagementListApiSchemas.json | 46 +- .../ApiManagementListApiTagDescriptions.json | 50 +- .../examples/ApiManagementListApiTags.json | 46 +- .../ApiManagementListApiVersionSets.json | 68 +- .../examples/ApiManagementListApis.json | 156 +- .../examples/ApiManagementListApisByTags.json | 2 +- ...ApiManagementListAuthorizationServers.json | 146 +- .../examples/ApiManagementListBackends.json | 150 +- .../examples/ApiManagementListCaches.json | 2 +- .../ApiManagementListCertificates.json | 48 +- .../ApiManagementListEmailTemplates.json | 104 +- .../examples/ApiManagementListGroupUsers.json | 68 +- .../examples/ApiManagementListGroups.json | 118 +- .../ApiManagementListIdentityProviders.json | 104 +- .../examples/ApiManagementListIssues.json | 54 +- .../examples/ApiManagementListLoggers.json | 86 +- ...gementListNotificationRecipientEmails.json | 78 +- ...agementListNotificationRecipientUsers.json | 46 +- .../ApiManagementListNotifications.json | 244 +-- ...iManagementListOpenIdConnectProviders.json | 52 +- .../examples/ApiManagementListOperations.json | 2 +- .../examples/ApiManagementListPolicies.json | 44 +- .../ApiManagementListPolicySnippets.json | 36 +- .../ApiManagementListProductApis.json | 62 +- .../ApiManagementListProductGroups.json | 96 +- .../ApiManagementListProductPolicies.json | 2 +- ...ApiManagementListProductSubscriptions.json | 56 +- .../ApiManagementListProductTags.json | 32 +- .../examples/ApiManagementListProducts.json | 104 +- .../ApiManagementListProductsByTags.json | 2 +- .../examples/ApiManagementListProperties.json | 2 +- .../examples/ApiManagementListRegions.json | 42 +- .../ApiManagementListSKUs-Consumption.json | 46 +- .../ApiManagementListSKUs-Dedicated.json | 128 +- ...piManagementListServiceBySubscription.json | 322 ++-- ...ServiceBySubscriptionAndResourceGroup.json | 318 ++-- .../ApiManagementListSubscriptions.json | 116 +- .../ApiManagementListTagResources.json | 2 +- .../examples/ApiManagementListTags.json | 60 +- .../examples/ApiManagementListUserGroups.json | 52 +- .../ApiManagementListUserIdentities.json | 2 +- .../ApiManagementListUserSubscriptions.json | 90 +- .../examples/ApiManagementListUsers.json | 136 +- ...ManagementPortalSettingsGetDelegation.json | 48 +- .../ApiManagementPortalSettingsGetSignIn.json | 34 +- .../ApiManagementPortalSettingsGetSignUp.json | 44 +- ...ManagementPortalSettingsPutDelegation.json | 2 +- .../ApiManagementPortalSettingsPutSignIn.json | 2 +- .../ApiManagementPortalSettingsPutSignUp.json | 2 +- ...agementPortalSettingsUpdateDelegation.json | 2 +- ...iManagementPortalSettingsUpdateSignIn.json | 2 +- ...iManagementPortalSettingsUpdateSignUp.json | 2 +- .../examples/ApiManagementRestoreService.json | 94 +- ...anagementServiceCheckNameAvailability.json | 4 +- .../ApiManagementServiceDeleteService.json | 2 +- ...mentServiceGetMultiRegionInternalVnet.json | 168 +- .../ApiManagementServiceGetNetworkStatus.json | 2 +- ...mentServiceGetNetworkStatusByLocation.json | 2 +- .../ApiManagementServiceGetService.json | 170 +- ...iManagementServiceGetServiceHavingMsi.json | 108 +- .../ApiManagementServiceGetSsoToken.json | 2 +- ...ementSubscriptionRegeneratePrimaryKey.json | 22 +- ...entSubscriptionRegenerateSecondaryKey.json | 22 +- ...piManagementTenantAccessRegenerateKey.json | 22 +- .../ApiManagementTenantAccessSyncState.json | 40 +- ...piManagementTenantConfigurationDeploy.json | 2 +- .../ApiManagementTenantConfigurationSave.json | 2 +- ...ManagementTenantConfigurationValidate.json | 2 +- .../examples/ApiManagementUpdateApi.json | 2 +- .../ApiManagementUpdateApiDiagnostic.json | 2 +- .../examples/ApiManagementUpdateApiIssue.json | 30 +- .../ApiManagementUpdateApiOperation.json | 4 +- .../ApiManagementUpdateApiRelease.json | 34 +- .../ApiManagementUpdateApiVersionSet.json | 32 +- ...piManagementUpdateAuthorizationServer.json | 4 +- .../examples/ApiManagementUpdateBackend.json | 2 +- .../examples/ApiManagementUpdateCache.json | 2 +- .../ApiManagementUpdateDiagnostic.json | 2 +- .../ApiManagementUpdateEmailTemplate.json | 4 +- .../examples/ApiManagementUpdateGroup.json | 2 +- .../ApiManagementUpdateIdentityProvider.json | 2 +- .../examples/ApiManagementUpdateLogger.json | 2 +- ...ManagementUpdateOpenIdConnectProvider.json | 2 +- .../examples/ApiManagementUpdateProduct.json | 2 +- .../examples/ApiManagementUpdateProperty.json | 2 +- .../ApiManagementUpdateQuotaCounterKey.json | 2 +- ...entUpdateQuotaCounterKeyByQuotaPeriod.json | 2 +- ...piManagementUpdateServiceDisableTls10.json | 2 +- ...nagementUpdateServicePublisherDetails.json | 4 +- .../ApiManagementUpdateSubscription.json | 2 +- .../examples/ApiManagementUpdateTag.json | 2 +- .../ApiManagementUpdateTenantAccess.json | 2 +- .../examples/ApiManagementUpdateUser.json | 4 +- ...anagementUserConfirmationPasswordSend.json | 22 +- .../ApiManagementUserGenerateSsoUrl.json | 2 +- .../examples/ApiManagementUserToken.json | 2 +- 1457 files changed, 28109 insertions(+), 28106 deletions(-) diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimanagement.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimanagement.json index 671f8b4cc8ea..e5042c9e55d6 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimanagement.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimanagement.json @@ -503,4 +503,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimapis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimapis.json index 65975ef5b2cb..b5ece6c7273c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimapis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimapis.json @@ -1901,4 +1901,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimauthorizationservers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimauthorizationservers.json index da67aa4c12c4..f28ab427ee8e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimauthorizationservers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimauthorizationservers.json @@ -581,4 +581,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimbackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimbackends.json index ca7ca760ef2d..a12c19d72de1 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimbackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimbackends.json @@ -605,4 +605,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimcertificates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimcertificates.json index 7a86d108de57..da1356072f05 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimcertificates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimcertificates.json @@ -322,4 +322,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimemailtemplate.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimemailtemplate.json index b710a0c2c963..f21dc27dfe8d 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimemailtemplate.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimemailtemplate.json @@ -417,4 +417,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimgroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimgroups.json index 64c8cf5047f4..07519e0164c2 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimgroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimgroups.json @@ -555,4 +555,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimidentityprovider.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimidentityprovider.json index fa9521941ea9..dc76a968aaba 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimidentityprovider.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimidentityprovider.json @@ -457,4 +457,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimloggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimloggers.json index 2458f044ef1d..35865eade4a8 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimloggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimloggers.json @@ -404,4 +404,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimopenidconnectproviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimopenidconnectproviders.json index dfa5b5d2e14a..e9e2d1873a07 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimopenidconnectproviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimopenidconnectproviders.json @@ -368,4 +368,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimportalsettings.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimportalsettings.json index dfe8feb91162..797765f70c53 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimportalsettings.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimportalsettings.json @@ -475,4 +475,4 @@ "description": "User registration delegation settings properties." } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproducts.json index 4452bfaad2df..c295c362002e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproducts.json @@ -73,7 +73,7 @@ "in": "query", "required": false, "type": "boolean", - "description": "When set to true, the response contains an array of groups that have visibility to the product. The default is false." + "description": "When set to true, the response contains an array of groups that have visibility to the product. The default is false." }, { "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" @@ -914,4 +914,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproperties.json index a61cd16f96dc..93736b2d3c84 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimproperties.json @@ -381,4 +381,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimquotas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimquotas.json index 5af065078f88..a040e54d94ce 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimquotas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimquotas.json @@ -310,4 +310,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimreports.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimreports.json index ad295ade1ae6..becc23f35b6e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimreports.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimreports.json @@ -655,4 +655,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimsubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimsubscriptions.json index c62d4ceedd3d..e2d43315a72f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimsubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimsubscriptions.json @@ -369,8 +369,8 @@ }, "description": "Page values." }, - "count":{ - "type" : "integer", + "count": { + "type": "integer", "description": "Total number of entities" }, "nextLink": { @@ -596,4 +596,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimtenant.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimtenant.json index cf300c03c5e4..f23114e7c7cb 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimtenant.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimtenant.json @@ -682,4 +682,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimusers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimusers.json index ab5849403bc7..7b4d58bacbc8 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimusers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/apimusers.json @@ -783,4 +783,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApis.json index 7b11e3d61568..4f7360ad75c7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApis.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperations.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperations.json index 31c7394da928..b2d7b8bb0b0a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperations.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperations.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperationsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperationsPolicies.json index 0b30d8f2c8cf..94fa3077c4aa 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperationsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisOperationsPolicies.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisPolicies.json index 4384d6bc1063..4061d52a70e7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisPolicies.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisSchemas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisSchemas.json index b54384886a28..a9ad7cd7cf71 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisSchemas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteApisSchemas.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteAuthorizationServers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteAuthorizationServers.json index b6e722a03e8b..3240ff09153a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteAuthorizationServers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteAuthorizationServers.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteBackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteBackends.json index d38bbb213b24..4ebe29101d0b 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteBackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteBackends.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteCertificates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteCertificates.json index e4d8d9bd4d12..2d918b820bbc 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteCertificates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteCertificates.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroups.json index 12515325eef0..8e957469fb1f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroups.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroupsUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroupsUsers.json index c74c5b44259d..1c9e34d820e7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroupsUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteGroupsUsers.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteIdentityProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteIdentityProviders.json index 53cd338b4348..ff451cc51300 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteIdentityProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteIdentityProviders.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteLoggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteLoggers.json index ecbe71349052..cf576e71d3ad 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteLoggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteLoggers.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProviders.json index 5ec6c1fd1a7b..d9ecc3ec01f9 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProviders.json @@ -1,11 +1,11 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "opid": "templateOpenIdConnect3", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "opid": "templateOpenIdConnect3", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeletePolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeletePolicies.json index e780fc2f904b..ecc5fba01533 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeletePolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeletePolicies.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProducts.json index a9285d4239e4..6cc52e8c5894 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProducts.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsApis.json index dbe8939ad726..363c25f52756 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsApis.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsGroups.json index 1666067c2243..5b51ec24b280 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsGroups.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsPolicies.json index c93165f652aa..58d9eae3e8eb 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProductsPolicies.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProperties.json index 9c5d042400d3..6770f5cbd59a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteProperties.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteSubscriptions.json index 50b19ddd6898..047253123cad 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteSubscriptions.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteTemplates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteTemplates.json index 67ac544b9873..403c78afc25f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteTemplates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteTemplates.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteUsers.json index 1aeb34dea1ea..9add6b5c0b55 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementDeleteUsers.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApis.json index 88da625c288a..0f4dd66a2029 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApis.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperations.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperations.json index 7a95914344f2..1e2988ad432e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperations.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperations.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperationsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperationsPolicies.json index f39a24cde435..8952b3e1c271 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperationsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisOperationsPolicies.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisPolicies.json index 08606bf71dfc..726cd86c2c65 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisPolicies.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisSchemas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisSchemas.json index adcce96edf23..793f61327802 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisSchemas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetApisSchemas.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetAuthorizationServers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetAuthorizationServers.json index 32797523e36a..f4c64b0da35e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetAuthorizationServers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetAuthorizationServers.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetBackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetBackends.json index dc3cda87b98b..6e72c28ed814 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetBackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetBackends.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetCertificates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetCertificates.json index 6c434b812420..f1f46ce0f032 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetCertificates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetCertificates.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetGroups.json index 1c5ec7645bab..f0dde82bc823 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetGroups.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetIdentityProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetIdentityProviders.json index 38fd8cd9769a..d984727f8140 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetIdentityProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetIdentityProviders.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetLoggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetLoggers.json index 0f4f821fae75..ca2f935c7eb0 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetLoggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetLoggers.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetOpenIdConnectProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetOpenIdConnectProviders.json index 13a4aa65ffd6..00f8cbe4d954 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetOpenIdConnectProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetOpenIdConnectProviders.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPolicies.json index 617809460b2b..bc54b3474b59 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPolicies.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsDelegation.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsDelegation.json index 871014648d40..206cfdbab386 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsDelegation.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsDelegation.json @@ -1,20 +1,20 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "url": "http://contoso.com/delegation", - "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", - "subscriptions": { - "enabled": true - }, - "userRegistration": { - "enabled": true - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "url": "http://contoso.com/delegation", + "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", + "subscriptions": { + "enabled": true + }, + "userRegistration": { + "enabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignIn.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignIn.json index 4a18f66e7227..b46509cf2847 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignIn.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignIn.json @@ -1,13 +1,13 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "enabled": true - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "enabled": true + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignUp.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignUp.json index ab99866f5bd8..9bf7976c2e13 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignUp.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetPortalSettingsSignUp.json @@ -1,18 +1,18 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "enabled": true, - "termsOfService": { - "text": "Terms of service text.", - "enabled": true, - "consentRequired": true - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "enabled": true, + "termsOfService": { + "text": "Terms of service text.", + "enabled": true, + "consentRequired": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProducts.json index 3470cee88594..d4d8708dde85 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProducts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProductsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProductsPolicies.json index ba8d81e21b8a..b4c0dcd28fdd 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProductsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProductsPolicies.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProperties.json index c6ca19deb4b0..033ae95205a8 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetProperties.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotas.json index bf8caa1600a8..95235b22e69b 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotas.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotasByQuotaPeriod.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotasByQuotaPeriod.json index 92a8b6fdc05f..d79353f81a42 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotasByQuotaPeriod.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetQuotasByQuotaPeriod.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByApi.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByApi.json index 1f033b2ea44c..a3f0fafe4293 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByApi.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByApi.json @@ -1,53 +1,53 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Echo API", - "apiId": "/apis/5600b59475ff190048040001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "httpbin", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Echo API", + "apiId": "/apis/5600b59475ff190048040001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "httpbin", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByGeo.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByGeo.json index 1dee3861119f..159afc0669e4 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByGeo.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByGeo.json @@ -1,36 +1,36 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "country": "US", - "region": "WA", - "zip": "98052", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "country": "US", + "region": "WA", + "zip": "98052", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByOperation.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByOperation.json index 0bdced041608..c1a5dc95aa36 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByOperation.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByOperation.json @@ -1,74 +1,74 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "get", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "GetWeatherInformation", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "GetCityForecastByZIP", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "get", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "GetWeatherInformation", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "GetCityForecastByZIP", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByProduct.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByProduct.json index ea6eb0765b39..74f05498d50e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByProduct.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByProduct.json @@ -1,53 +1,53 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Starter", - "productId": "/products/5600b59475ff190048060001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Unlimited", - "productId": "/products/5600b59475ff190048060002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Starter", + "productId": "/products/5600b59475ff190048060001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Unlimited", + "productId": "/products/5600b59475ff190048060002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByRequest.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByRequest.json index 94665c8dd110..432e9f2bd93a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByRequest.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByRequest.json @@ -1,54 +1,54 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "GET", - "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 405, - "timestamp": "2017-06-03T00:17:00.1649134Z", - "cache": "none", - "apiTime": 221.1544, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", - "requestSize": 0 - }, - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "POST", - "url": "https://apimService1.azure-api.net/echo/resource", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 403, - "timestamp": "2017-06-03T00:17:20.5255131Z", - "cache": "none", - "apiTime": 6.6754000000000007, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", - "requestSize": 0 - } - ], - "count": 2 - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "GET", + "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 405, + "timestamp": "2017-06-03T00:17:00.1649134Z", + "cache": "none", + "apiTime": 221.1544, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", + "requestSize": 0 + }, + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "POST", + "url": "https://apimService1.azure-api.net/echo/resource", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 403, + "timestamp": "2017-06-03T00:17:20.5255131Z", + "cache": "none", + "apiTime": 6.6754000000000007, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", + "requestSize": 0 + } + ], + "count": 2 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsBySubscription.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsBySubscription.json index 525482e6831f..827c21f499e4 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsBySubscription.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsBySubscription.json @@ -1,77 +1,77 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060001", - "subscriptionId": "/subscriptions/5600b59475ff190048070001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060002", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5702e97e5157a50f48dce801", - "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060001", + "subscriptionId": "/subscriptions/5600b59475ff190048070001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060002", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5702e97e5157a50f48dce801", + "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByTime.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByTime.json index bbfef44ad637..4bd6086fcd86 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByTime.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByTime.json @@ -1,54 +1,54 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", - "interval": "PT15M" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-06-03T00:15:00Z", - "interval": "PT15M", - "callCountSuccess": 4, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 4, - "bandwidth": 3243, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1337.46335, - "apiTimeMin": 885.0839000000001, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 1255.917425, - "serviceTimeMin": 882.8264, - "serviceTimeMax": 1697.3612 - }, - { - "timestamp": "2017-06-03T00:30:00Z", - "interval": "PT15M", - "callCountSuccess": 9, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 10, - "bandwidth": 7776, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 872.7818777777778, - "apiTimeMin": 330.3206, - "apiTimeMax": 1093.8407, - "serviceTimeAvg": 824.2847111111112, - "serviceTimeMin": 215.24, - "serviceTimeMax": 973.2262000000001 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", + "interval": "PT15M" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-06-03T00:15:00Z", + "interval": "PT15M", + "callCountSuccess": 4, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 4, + "bandwidth": 3243, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1337.46335, + "apiTimeMin": 885.0839000000001, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 1255.917425, + "serviceTimeMin": 882.8264, + "serviceTimeMax": 1697.3612 + }, + { + "timestamp": "2017-06-03T00:30:00Z", + "interval": "PT15M", + "callCountSuccess": 9, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 10, + "bandwidth": 7776, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 872.7818777777778, + "apiTimeMin": 330.3206, + "apiTimeMax": 1093.8407, + "serviceTimeAvg": 824.2847111111112, + "serviceTimeMin": 215.24, + "serviceTimeMax": 973.2262000000001 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByUser.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByUser.json index 05e4d066f3fc..8d6f3ec0dcc9 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByUser.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetReportsByUser.json @@ -1,71 +1,71 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Administrator", - "userId": "/users/1", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "Samir Solanki", - "userId": "/users/56eaec62baf08b06e46d27fd", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Anonymous", - "userId": "/users/54c800b332965a0035030000", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Administrator", + "userId": "/users/1", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "Samir Solanki", + "userId": "/users/56eaec62baf08b06e46d27fd", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Anonymous", + "userId": "/users/54c800b332965a0035030000", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetSubscriptions.json index e602dd48653c..50b94e8cc52b 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetSubscriptions.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTemplates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTemplates.json index fa3cefafd62f..985708734e04 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTemplates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTemplates.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTenant.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTenant.json index 7f5202a8b5dc..3bef86094792 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTenant.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetTenant.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetUsers.json index 630389782c89..897b6751b558 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementGetUsers.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsGroups.json index de6552334855..34137c4f42ed 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsGroups.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsPolicies.json index 256486e6c467..8c107c1f85f7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementHeadProductsPolicies.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApis.json index 8156ef4bfbad..cd5a80dcf52e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApis.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperations.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperations.json index 8f77ceae180a..72386e748745 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperations.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperations.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperationsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperationsPolicies.json index 7adb32b19488..c5b02cc9fb6d 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperationsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisOperationsPolicies.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisPolicies.json index 3d183992b8bd..ce54e1da908e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisPolicies.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisProducts.json index 2becf4cae6a7..b10d1e19e049 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisProducts.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisSchemas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisSchemas.json index ff2cf4d7d793..d6fbc044de8c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisSchemas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListApisSchemas.json @@ -9,8 +9,8 @@ "200": { "body": { "value": [], - "count": 0 + "count": 0 } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListAuthorizationServers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListAuthorizationServers.json index b56bd7616c58..07f0888ebf67 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListAuthorizationServers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListAuthorizationServers.json @@ -61,8 +61,8 @@ "resourceOwnerPassword": "pwd" } ], - "count": 2 + "count": 2 } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListBackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListBackends.json index 1883567c1dee..30a624f07531 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListBackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListBackends.json @@ -138,8 +138,8 @@ "protocol": "http" } ], - "count": 4 + "count": 4 } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListCertificates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListCertificates.json index d3eb265009b0..e551177a95fb 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListCertificates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListCertificates.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroups.json index a7e8aa4ec8e8..327fd294621f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroups.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroupsUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroupsUsers.json index e2a0413d1e5f..ca4c564ab84e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroupsUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListGroupsUsers.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListIdentityProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListIdentityProviders.json index 2592ddf0ffa7..fab2e6b9d640 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListIdentityProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListIdentityProviders.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListLoggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListLoggers.json index 33ebb5e70150..bb99fbf06f37 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListLoggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListLoggers.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListOpenIdConnectProvider.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListOpenIdConnectProvider.json index 2cb03818b908..2eddedfefa36 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListOpenIdConnectProvider.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListOpenIdConnectProvider.json @@ -1,21 +1,21 @@ { - "parameters": { - "apimBaseUrl": "apimservice1.management.azure-api.net", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/openidConnectProviders/op1", - "name": "templateoidprovider3", - "metadataEndpoint": "https://oidprovider-template3.net", - "clientId": "oidprovidertemplate3" - } - ], - "count": 1 - } - } + "parameters": { + "apimBaseUrl": "apimservice1.management.azure-api.net", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/openidConnectProviders/op1", + "name": "templateoidprovider3", + "metadataEndpoint": "https://oidprovider-template3.net", + "clientId": "oidprovidertemplate3" + } + ], + "count": 1 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicies.json index 704cec56b036..16d434c08623 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicies.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicySnippets.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicySnippets.json index 671a51254315..0438ef638d00 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicySnippets.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListPolicySnippets.json @@ -245,4 +245,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProducts.json index 5e4f0410bda5..7f255bae7621 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProducts.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsApis.json index ebbbf76813c6..805dff025c87 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsApis.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsGroups.json index 3007999f88c4..7a2a1d29fe68 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsGroups.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsPolicies.json index 50badb8f5a22..8f8f7201962d 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsPolicies.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsSubscriptions.json index 28d9af247efc..b950f12df71e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProductsSubscriptions.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProperties.json index dd094c0e47e4..ca4aaa4efe2c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListProperties.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListRegions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListRegions.json index d5b5c781f6f3..d63a2858b024 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListRegions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListRegions.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListSubscriptions.json index 3987f4a64cb7..95a8d9bfef9f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListSubscriptions.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTemplates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTemplates.json index 8484032671b5..f7660f27c21a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTemplates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTemplates.json @@ -204,4 +204,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantGit.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantGit.json index 2c5589fe370c..1b1e9f05abec 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantGit.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantGit.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantSyncState.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantSyncState.json index 29f68961d9a4..85168d3819e7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantSyncState.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListTenantSyncState.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsers.json index 5930e1d8babf..91968a8f7ac4 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsers.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersGroups.json index e71577a20a92..78f7bd87e111 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersGroups.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersIdentities.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersIdentities.json index b84717d4779a..0a49624d3aaf 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersIdentities.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersIdentities.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersSubscriptions.json index eca96d9eb737..68476d41fa29 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementListUsersSubscriptions.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApis.json index b7d6a320e82f..d611f7d7b89f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApis.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApisOperations.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApisOperations.json index 99ceba48268b..7a92232fc4a8 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApisOperations.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchApisOperations.json @@ -28,4 +28,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchAuthorizationServers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchAuthorizationServers.json index 6f2375e0b231..fbab4636ff86 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchAuthorizationServers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchAuthorizationServers.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchBackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchBackends.json index 6e901fb0dfff..1e1705d04619 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchBackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchBackends.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchGroups.json index 9484dff61aa2..5d38959526e3 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchGroups.json @@ -12,4 +12,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchIdentityProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchIdentityProviders.json index 1d312d074b0b..b5ebc286094c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchIdentityProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchIdentityProviders.json @@ -12,4 +12,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchLoggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchLoggers.json index 29884b6871a5..820ef33d222b 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchLoggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchLoggers.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchOpenIdConnectProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchOpenIdConnectProviders.json index 4863b95037bf..9f9987725b9f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchOpenIdConnectProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchOpenIdConnectProviders.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsDelegation.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsDelegation.json index fa9513521b72..68f5fe00ab8a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsDelegation.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsDelegation.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignIn.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignIn.json index 166d3197ef18..525b36dcacef 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignIn.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignIn.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignUp.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignUp.json index ced4f89deafb..d28c1d2ec757 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignUp.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchPortalSettingsSignUp.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProducts.json index ad0d9db29fc5..226a41001eb3 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProducts.json @@ -12,4 +12,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProperties.json index dd99e050b1c6..ad2e80ed4324 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchProperties.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotas.json index 3f4d9211508f..ec412c16c233 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotas.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotasByQuotaPeriod.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotasByQuotaPeriod.json index e556747934c9..3aeb07769c14 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotasByQuotaPeriod.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchQuotasByQuotaPeriod.json @@ -12,4 +12,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchSubscriptions.json index adf8925d444a..c5d6c28139c0 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchSubscriptions.json @@ -12,4 +12,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTemplates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTemplates.json index 953ac905f71d..1a86900fbd18 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTemplates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTemplates.json @@ -9,6 +9,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTenant.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTenant.json index f60a5e24a4c6..f5d4ec8edab1 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTenant.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchTenant.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchUsers.json index 40936e5fc112..6e149f9bcd03 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPatchUsers.json @@ -11,4 +11,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegeneratePrimaryKey.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegeneratePrimaryKey.json index ecdbd8200afd..a8fe895faccf 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegeneratePrimaryKey.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegeneratePrimaryKey.json @@ -7,4 +7,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegenerateSecondaryKey.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegenerateSecondaryKey.json index 2bddc0c2cc5c..6639397c19bf 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegenerateSecondaryKey.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostSubscriptionsRegenerateSecondaryKey.json @@ -7,4 +7,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantDeploy.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantDeploy.json index 649787289cef..34b098c107d2 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantDeploy.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantDeploy.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantGit.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantGit.json index 409015683d66..d7899955923f 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantGit.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantGit.json @@ -7,4 +7,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegeneratePrimaryKey.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegeneratePrimaryKey.json index b4014aa4ffc6..4bc0205f2320 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegeneratePrimaryKey.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegeneratePrimaryKey.json @@ -7,4 +7,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegenerateSecondaryKey.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegenerateSecondaryKey.json index b4014aa4ffc6..4bc0205f2320 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegenerateSecondaryKey.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantRegenerateSecondaryKey.json @@ -7,4 +7,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantSave.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantSave.json index be91d3529295..79490b06052b 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantSave.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantSave.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantValidate.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantValidate.json index d2ea4fef164f..72a33ecb7729 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantValidate.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostTenantValidate.json @@ -165,4 +165,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersGenerateSsoUrl.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersGenerateSsoUrl.json index 22659f79b071..f51d79cdeab3 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersGenerateSsoUrl.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersGenerateSsoUrl.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersToken.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersToken.json index 296d4472dc06..be407e3b670e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersToken.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPostUsersToken.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApis.json index 4a90635aa761..0ed56cad1a7e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApis.json @@ -6,7 +6,7 @@ "api-version": "2017-03-01", "Accept": "application/json", "parameters": { - "name": "api_5a58bab6a40f7ef2e05bc76a", + "name": "api_5a58bab6a40f7ef2e05bc76a", "description": "description_5a58bab6a40f7ef2e05bc76b", "serviceUrl": "http://contoso/5a58bab6a40f7ef2e05bc76c", "path": "suffix_5a58bab6a40f7ef2e05bc76d", @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperations.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperations.json index b179ce737ca7..b2d99547b626 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperations.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperations.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperationsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperationsPolicies.json index 1e43f5d2dbba..554283740818 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperationsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisOperationsPolicies.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisPolicies.json index c640281d9161..2bb4c2716791 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisPolicies.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisSchemas.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisSchemas.json index 604caa10e2c7..8c024a0e79a4 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisSchemas.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutApisSchemas.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutAuthorizationServers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutAuthorizationServers.json index 83ccd5572b24..3403874e1f79 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutAuthorizationServers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutAuthorizationServers.json @@ -42,7 +42,7 @@ ], "clientAuthenticationMethod": [ "Basic" - ], + ], "tokenEndpoint": "https://www.contoso.com/oauth2/token", "supportState": true, "defaultScope": "read write", @@ -70,7 +70,7 @@ ], "clientAuthenticationMethod": [ "Basic" - ], + ], "tokenEndpoint": "https://www.contoso.com/oauth2/token", "supportState": true, "defaultScope": "read write", @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutBackends.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutBackends.json index 5eb83112b3d1..8cfce8a99458 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutBackends.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutBackends.json @@ -25,7 +25,7 @@ "responses": { "201": { "body": { - "id": "/backends/5a58bb16a40f7ef2e05bd52d", + "id": "/backends/5a58bb16a40f7ef2e05bd52d", "description": "Service Fabric Test App: 5a58bb16a40f7ef2e05bd52d", "url": "fabric:/mytestapp/mytestservice", "protocol": "http", @@ -46,7 +46,7 @@ }, "200": { "body": { - "id": "/backends/5a58bb16a40f7ef2e05bd52d", + "id": "/backends/5a58bb16a40f7ef2e05bd52d", "description": "Service Fabric Test App: 5a58bb16a40f7ef2e05bd52d", "url": "fabric:/mytestapp/mytestservice", "protocol": "http", @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutCertificates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutCertificates.json index de18a3bdb296..185324d88a33 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutCertificates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutCertificates.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroups.json index d54da68cf82b..9c9573bb520e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroups.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroupsUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroupsUsers.json index 2a0134b9374e..a42f05307340 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroupsUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutGroupsUsers.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutIdentityProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutIdentityProviders.json index 8dc430e24945..cee9cf2f4694 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutIdentityProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutIdentityProviders.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutLoggers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutLoggers.json index 34ad18e0c387..3265879bb07c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutLoggers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutLoggers.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutOpenIdConnectProviders.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutOpenIdConnectProviders.json index 524637bc4a97..f428b6af56aa 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutOpenIdConnectProviders.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutOpenIdConnectProviders.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPolicies.json index a5f754476b46..ae27ef4b8bac 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPolicies.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsDelegation.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsDelegation.json index fa9513521b72..68f5fe00ab8a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsDelegation.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsDelegation.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignIn.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignIn.json index 166d3197ef18..525b36dcacef 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignIn.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignIn.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignUp.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignUp.json index 57f3eed1836f..37f13f9a4f1a 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignUp.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutPortalSettingsSignUp.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProducts.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProducts.json index 3efaac5a53e7..771c7593073c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProducts.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProducts.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsApis.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsApis.json index 1c0b96ee8068..dcdfe839ee7c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsApis.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsApis.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsGroups.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsGroups.json index 85762ab57306..ec571cb458fd 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsGroups.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsGroups.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsPolicies.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsPolicies.json index efc723e4547c..9abeeff06656 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsPolicies.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProductsPolicies.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProperties.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProperties.json index fde984c3033b..1a26c1b2ac6c 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProperties.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutProperties.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutSubscriptions.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutSubscriptions.json index a2ceb1e045e4..c17e271ff59d 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutSubscriptions.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutSubscriptions.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutTemplates.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutTemplates.json index 5ac2b90477c2..df7f9c7c5dd7 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutTemplates.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutTemplates.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutUsers.json b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutUsers.json index bea1bbd05f65..eb27d0cd874e 100644 --- a/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutUsers.json +++ b/specification/apimanagement/control-plane/Microsoft.ApiManagement/preview/2017-03-01/examples/ApiManagementPutUsers.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json index e620f8d2aab0..c75b7b57c3a7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json @@ -663,4 +663,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json index 80344f3ac144..e4c8b5ee2ce8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json @@ -4443,6 +4443,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json index cbc5694dfb84..429e2a25ac9c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json @@ -103,4 +103,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json index 5b3467b51251..48f0dcd643cf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json index b74bb40464d7..88035075892d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json index 72e964ee254e..16638a4f3e79 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json @@ -416,6 +416,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json index b34f4356304f..d83964d35104 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json @@ -359,7 +359,6 @@ } } }, - "definitions": { }, - "parameters": { - } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json index 6c8cdaa0f036..b4e3ee6f3edd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json @@ -314,6 +314,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json index 07602c54efdc..c23250cf927a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json @@ -1605,4 +1605,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json index eac8784d5630..b40768c10448 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json index bb8d91a4d6de..e9db67b338d6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json @@ -346,6 +346,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json index d32af6f27ca5..9ea19d56b1ee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json @@ -576,6 +576,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json index f6c96ecf5f15..c5e488b70d5c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json @@ -351,6 +351,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json index e06b937af131..c6a39fb6003a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json @@ -147,4 +147,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json index 58b205a58307..d36e234336f0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json @@ -375,6 +375,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json index 5d04f28a46f4..e7b0d50dd559 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json @@ -208,5 +208,5 @@ "description": "Network Status details." } }, - "parameters": { } -} \ No newline at end of file + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json index 60208669a6ce..5f6b4b9ad162 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json @@ -553,6 +553,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json index c58bdc9830a1..30bc95b49e50 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json index 87c836886c08..612f7516b2d8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json @@ -293,6 +293,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json index 855764ea0e49..42dc836c0823 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json @@ -95,6 +95,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json index 62ec39909e02..feead6446c6c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json @@ -611,5 +611,5 @@ } } }, - "definitions": { } -} \ No newline at end of file + "definitions": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json index a077b431654f..fdd01e05a1d1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json @@ -1391,6 +1391,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json index df1f1f129f7f..57866632d491 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json @@ -103,4 +103,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json index 7ac6f0e7f2af..82e1f4342e6a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json @@ -365,6 +365,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json index 0487f78dfb0f..fc39248da4ad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json @@ -237,6 +237,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json index 6bcca3ca0b09..0856d974ddd7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json @@ -82,4 +82,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json index 99b6a14fe3c5..3a9e4eee9da2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json @@ -467,6 +467,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json index 4edd88739e39..0cf2a3532d04 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json @@ -452,6 +452,6 @@ } } }, - "definitions": { }, - "parameters":{} -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json index cce025bba27e..e0d6a8340736 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json @@ -96,4 +96,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json index ae30dc864a0d..59542bb8f494 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json @@ -371,4 +371,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json index 4c7b139ebc3d..da85e01a9042 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json @@ -626,4 +626,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json index fd801516a9ab..fca9e60e2a51 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json @@ -696,6 +696,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/definitions.json index 87f482ba90e7..724ba4dec0d7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/definitions.json @@ -4992,4 +4992,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementApplyNetworkConfigurationUpdates.json index 37b43fe49ed7..d1972dd54cf9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementApplyNetworkConfigurationUpdates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "location": "west us" - } + "location": "west us" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" + }, + "virtualNetworkType": "External" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" - }, - "virtualNetworkType": "External" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json index dca6e0cdff9b..232256f79d0e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json @@ -1,17 +1,17 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "backendId": "proxybackend", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "backendId": "proxybackend", - "parameters": { - "properties": { - "after" : "PT3S" - } + "properties": { + "after": "PT3S" } - }, - "responses": { - "202": {} } - } \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json index 6195910f1b8f..ef2cbd83a7f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json index 1ad7ed14536f..64b6626d433c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json @@ -60,7 +60,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiDiagnostic.json index 39d95c5664d2..905686a9f2ef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiDiagnostic.json @@ -157,4 +157,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json index ba320892f1a4..0296007fff09 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json @@ -1,49 +1,49 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json index 6fda2fc22ed7..063772581c08 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "parameters": { + "properties": { + "title": "Issue attachment.", + "contentFormat": "image/jpeg", + "content": "IEJhc2U2NA==" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", "properties": { - "title": "Issue attachment.", - "contentFormat": "image/jpeg", - "content": "IEJhc2U2NA==" + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json index 611e66df18a4..f5d6d5a88e11 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "parameters": { + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperation.json index 73319696eaf1..f816b639bba9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperation.json @@ -1,131 +1,131 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "PetStoreTemplate2", + "operationId": "newoperations", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "PetStoreTemplate2", - "operationId":"newoperations", - "parameters": { - "name": "newoperation", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] + "name": "newoperation", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" + } + ], + "headers": [] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + { + "contentType": "application/json" + } + ], + "headers": [] } + ] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationPolicy.json index 96490b6c51a1..30aa0ae4a07e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationPolicy.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json index 3bfc89662000..1ebae19de88b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicy.json index a5194d28c623..44519cc17bc2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicy.json @@ -6,7 +6,7 @@ "subscriptionId": "subid", "apiId": "5600b57e7e8880006a040001", "policyId": "policy", - "If-Match":"*", + "If-Match": "*", "parameters": { "properties": { "contentFormat": "xml", @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json index 5e74a5b09f10..fd02a6a65c4f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRelease.json index 175fe1991e77..09a9db404559 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRelease.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json index 9ebc2ca8e28b..535c22961a21 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json @@ -47,7 +47,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiSchema.json index 80832e09182e..1617fe824287 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiSchema.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTag.json index aad825037a64..0d3d42009f9c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTagDescription.json index c770f79ccc7b..99c807c3f955 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiTagDescription.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json index e21a0cd28a09..0ec4a96d50b6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json @@ -36,7 +36,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json index 6bedf0adf904..f5407023f2ba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json @@ -37,7 +37,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json index cdd96c620675..f3b7bd854ecf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json @@ -37,7 +37,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiVersionSet.json index 9a46b73c7a27..6e460e7d2da0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiVersionSet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json index bad6b8818999..54b8a610f386 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json @@ -61,7 +61,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -96,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAuthorizationServer.json index 3b0c8002bab6..2c6ae586659d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAuthorizationServer.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json index dc3b1951fbcc..f5a2b9f4f581 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json index 40cf30aa7a61..281cf57ce990 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json @@ -84,4 +84,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackup.json index 9e2db72b9f62..6ab738692da8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackup.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json index 50c5b3b02aeb..1e80094a58b5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCertificate.json index a7e38807c60b..3f2acecc5e0c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCertificate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2018-06-01-preview", "subscriptionId": "subid", - "certificateId":"tempcert", + "certificateId": "tempcert", "parameters": { "properties": { "data": "****************Base 64 Encoded Certificate *******************************", @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateDiagnostic.json index 2be5b18c9c14..275fc8d8a754 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateDiagnostic.json @@ -156,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json index 8c36fef2b21d..207e6acf5f62 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEmailTemplate.json index becb54ac9a5c..5c6dcfedf45e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEmailTemplate.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroup.json index 3984255ca65f..eb8dab3266fe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroup.json @@ -18,7 +18,7 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } @@ -29,10 +29,10 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupExternal.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupExternal.json index e25eb7d53d6f..86fbd3e70849 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupExternal.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupExternal.json @@ -4,11 +4,11 @@ "resourceGroupName": "rg1", "api-version": "2018-06-01-preview", "subscriptionId": "subid", - "groupId":"aadGroup", + "groupId": "aadGroup", "parameters": { "properties": { "displayName": "NewGroup (samiraad.onmicrosoft.com)", - "description": "new group to test", + "description": "new group to test", "type": "external", "externalId": "aad://samiraad.onmicrosoft.com/groups/83cf2753-5831-4675-bc0e-2f8dc067c58d" } @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json index 7c1326a1b246..72fe8fc79100 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json @@ -18,7 +18,7 @@ "lastName": "user", "email": "testuser1@live.com", "state": "active", - "registrationDate": "2017-06-01T20:46:45.437Z", + "registrationDate": "2017-06-01T20:46:45.437Z", "groups": [], "identities": [] } @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateIdentityProvider.json index 004479876992..fba7aa073151 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateIdentityProvider.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json index 821e6b5a0d16..d44fd26e13b5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2018-06-01-preview", "subscriptionId": "subid", - "parameters": { + "parameters": { "location": "Central US", "sku": { "name": "Premium", @@ -287,4 +287,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json index b544b5e3769e..12952debbe94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json index 2e9b568dfa5c..65bbb16c30b5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json @@ -14,7 +14,7 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } }, @@ -24,9 +24,9 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json index 61dd70ef5d4f..8a0147aea2e7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOpenIdConnectProvider.json index 15b4e47130a2..9d5a5279a99b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOpenIdConnectProvider.json @@ -20,7 +20,7 @@ "type": "Microsoft.ApiManagement/service/openidconnectproviders", "name": "templateOpenIdConnect3", "properties": { - "displayName": "templateoidprovider3", + "displayName": "templateoidprovider3", "metadataEndpoint": "https://oidprovider-template3.net", "clientId": "oidprovidertemplate3" } @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOperationTag.json index 3bfc89662000..1ebae19de88b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateOperationTag.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreatePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreatePolicy.json index a4de9124cdf9..5db9c740668c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreatePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreatePolicy.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json index a6c036530f54..1772c3271ce9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductApi.json index 7c56953a1c07..baf6909e5c2a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductApi.json @@ -37,7 +37,7 @@ "name": "5931a75ae4bbd512a88c680b", "properties": { "displayName": "EchoApi", - "apiRevision": "1", + "apiRevision": "1", "serviceUrl": "https://contoso.com/apis/echo", "path": "", "protocols": [ @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductGroup.json index 3ffe9a66f46d..994f9b389b37 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductGroup.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductPolicy.json index 729d30a1171d..0c472ba0b287 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductPolicy.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductTag.json index 200524cacd34..325bf40d3b22 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json index 0dedc9900225..027278e3d534 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateService.json index 02ae66c1d3bf..334f088a091c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateService.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceHavingMsi.json index 6ba248e808ad..5c12b813d487 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceHavingMsi.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json index 5c0506b43d73..7043dab32bee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -159,4 +159,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json index 803e05c823c7..c3ff53046daa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json @@ -42,7 +42,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json index 462f3196bf6c..26f50ed4c254 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json @@ -40,7 +40,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json index 207d35bb6d4e..379faac139ef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateTag.json index 2ebc8372dff1..3a5159b825df 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateTag.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json index b9d2454de271..9dfbb861d625 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApi.json index 4f2bada7acac..04275720e53d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApi.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiDiagnostic.json index 5563f361d4ef..4196a81281d5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiDiagnostic.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "204": {}, - "200":{} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json index ffd44ba96911..288ef23cf627 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json index 8537f3805ca3..9434ff5005de 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json index 6011db3d35f3..5e0c9f574a58 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperation.json index eb02721c4f6d..1d203b4ffd25 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperation.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json index 8790fb955f6f..095cbd831149 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "testapi", - "operationId": "testoperation", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "testapi", + "operationId": "testoperation", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json index 7dcfb35dae64..6ee8f747dc89 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json @@ -9,8 +9,8 @@ "tagId": "59d5b28e1f7fab116402044e", "If-Match": "*" }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiPolicy.json index bae94de0e8a2..b6651ed7a790 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "loggerId", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "loggerId", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiRelease.json index 1ab4e240fb72..24666a3000a5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiRelease.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "5a5fcc09124a7fa9b89f2f1d", - "releaseId": "testrev", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "5a5fcc09124a7fa9b89f2f1d", + "releaseId": "testrev", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiSchema.json index 2ad46307bdf9..60b9619b4619 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiSchema.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "schemaId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "schemaId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTag.json index b2930b1b9a47..421404f907cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTagDescription.json index b2930b1b9a47..421404f907cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiTagDescription.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiVersionSet.json index f6fb773adf05..cae697abba49 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiVersionSet.json @@ -1,16 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "versionSetId": "a1", - "If-Match": "*" - }, - "responses": { - "204": { - }, - "200":{ - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "versionSetId": "a1", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteAuthorizationServer.json index edfae3845b66..55ef640a1e8d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteAuthorizationServer.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "authsid": "newauthServer2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "authsid": "newauthServer2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json index 3e54e55c8318..9dca5dd8d189 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "backendId": "sfbackend", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "backendId": "sfbackend", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json index 8b06cd0d0ec6..a63cd98a9c47 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCertificate.json index d91019036638..6ff813a6d096 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCertificate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "certificateId": "tempcert", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "certificateId": "tempcert", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteDiagnostic.json index e1c28b143ad9..cc824ab7d937 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteDiagnostic.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteEmailTemplate.json index 8dec3744af11..1449841141c4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteEmailTemplate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroup.json index edeb1a70e435..5f2c549fe70e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroup.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "aadGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "aadGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json index 74700568687f..446882e31d7d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "templategroup", - "userId": "59307d350af58404d8a26300", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "templategroup", + "userId": "59307d350af58404d8a26300", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteIdentityProvider.json index e7f9fcc096cd..bddb3638ccc9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteIdentityProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "identityProviderName": "aad", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "identityProviderName": "aad", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json index ee79e2869ecd..86fc88c06081 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "loggerId": "loggerId", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "loggerId": "loggerId", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientEmail.json index 59063a0102ba..d81d7a0a5f94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientEmail.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json index aac72c04002e..07a388db0226 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "userId": "576823d0a40f7e74ec07d642" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "userId": "576823d0a40f7e74ec07d642" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOpenIdConnectProvider.json index 0d195cfd64ee..811aab6b8b5a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOpenIdConnectProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationPolicy.json index 8790fb955f6f..095cbd831149 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "testapi", - "operationId": "testoperation", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "testapi", + "operationId": "testoperation", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationTag.json index 7dcfb35dae64..6ee8f747dc89 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteOperationTag.json @@ -9,8 +9,8 @@ "tagId": "59d5b28e1f7fab116402044e", "If-Match": "*" }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeletePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeletePolicy.json index 908891ec6025..7492defdcfd5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeletePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeletePolicy.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProduct.json index 3a5c1f9ebf88..a0a22b3b0cec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProduct.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "testproduct", - "deleteSubscriptions": true, - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "testproduct", + "deleteSubscriptions": true, + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductApi.json index 99018f52fcc7..21ef15dd778a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductApi.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "testproduct", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "testproduct", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductGroup.json index bd40ba24a78f..9ae035ffddd9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductGroup.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "testproduct", - "groupId": "templateGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "testproduct", + "groupId": "templateGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductPolicy.json index eb17176420bd..40ffd3cee8da 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "testproduct", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "testproduct", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductTag.json index 0102c298b033..3e9d41d3ec37 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProductTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProperty.json index d6a9ace04cc9..a08a50cf9f3a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteProperty.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "propId": "testprop2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "propId": "testprop2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteSubscription.json index 413f98a58a51..ec87218a5309 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteSubscription.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "sid": "testsub", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "sid": "testsub", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteTag.json index a466a8e75880..86535115a6c7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteTag.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "tagId": "tagId1", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "tagId": "tagId1", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json index 8096e8128bbb..b9a62d758649 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512288c680b", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512288c680b", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiContract.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiContract.json index 33d6a29db38f..849b0bddf844 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiContract.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiContract.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", - "type": "Microsoft.ApiManagement/service/apis", - "name": "57d1f7558aa04f15146d9d8a", - "properties": { - "displayName": "Service", - "apiRevision": "1", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "type": "soap", - "isCurrent": true, - "isOnline": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", + "type": "Microsoft.ApiManagement/service/apis", + "name": "57d1f7558aa04f15146d9d8a", + "properties": { + "displayName": "Service", + "apiRevision": "1", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "type": "soap", + "isCurrent": true, + "isOnline": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiDiagnostic.json index 68d550ed09a5..b3484c57d5d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiDiagnostic.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiExportInOpenApi2dot0.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiExportInOpenApi2dot0.json index b57f8f513550..053d535c22ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiExportInOpenApi2dot0.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiExportInOpenApi2dot0.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "echo-api", - "format": "swagger-link", - "export": "true" - }, - "responses": { - "200": { - "body": { - "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "echo-api", + "format": "swagger-link", + "export": "true" + }, + "responses": { + "200": { + "body": { + "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json index e51e9e0b1361..c4de3b7e1353 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json index c0dc61b619ae..83e60edb8330 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json index 1389c196abec..fd54ef5c7a86 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperation.json index 6a22b5876579..003b14ca9437 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperation.json @@ -1,53 +1,53 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", - "templateParameters": [], - "request": { - "description": "IFazioService_CancelOrder_InputMessage", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrder" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "IFazioService_CancelOrder_OutputMessage", - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrderResponse" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", + "templateParameters": [], + "request": { + "description": "IFazioService_CancelOrder_InputMessage", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrder" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "IFazioService_CancelOrder_OutputMessage", + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrderResponse" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPetStore.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPetStore.json index 8cb2bae00f97..2886744fd34b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPetStore.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPetStore.json @@ -1,91 +1,91 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "swagger-petstore", - "operationId": "loginUser" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/swagger-petstore/operations/loginUser", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "loginUser", - "properties": { - "displayName": "Logs user into the system", - "method": "GET", - "urlTemplate": "/user/login?username={username}&password={password}", - "templateParameters": [ - { - "name": "username", - "description": "The user name for login", - "type": "string", - "required": true, - "values": [] - }, - { - "name": "password", - "description": "The password for login in clear text", - "type": "string", - "required": true, - "values": [] - } - ], - "description": "", - "request": { - "queryParameters": [], - "headers": [], - "representations": [] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml", - "schemaId": "5ba91a35f373b513a0bf31c6", - "typeName": "UserLoginGet200ApplicationXmlResponse" - }, - { - "contentType": "application/json", - "schemaId": "5ba91a35f373b513a0bf31c6", - "typeName": "UserLoginGet200ApplicationJsonResponse" - } - ], - "headers": [ - { - "name": "X-Rate-Limit", - "description": "calls per hour allowed by the user", - "type": "integer", - "values": [] - }, - { - "name": "X-Expires-After", - "description": "date in UTC when token expires", - "type": "string", - "values": [] - } - ] - }, - { - "statusCode": 400, - "description": "Invalid username/password supplied", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "swagger-petstore", + "operationId": "loginUser" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/swagger-petstore/operations/loginUser", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "loginUser", + "properties": { + "displayName": "Logs user into the system", + "method": "GET", + "urlTemplate": "/user/login?username={username}&password={password}", + "templateParameters": [ + { + "name": "username", + "description": "The user name for login", + "type": "string", + "required": true, + "values": [] + }, + { + "name": "password", + "description": "The password for login in clear text", + "type": "string", + "required": true, + "values": [] + } + ], + "description": "", + "request": { + "queryParameters": [], + "headers": [], + "representations": [] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml", + "schemaId": "5ba91a35f373b513a0bf31c6", + "typeName": "UserLoginGet200ApplicationXmlResponse" + }, + { + "contentType": "application/json", + "schemaId": "5ba91a35f373b513a0bf31c6", + "typeName": "UserLoginGet200ApplicationJsonResponse" + } + ], + "headers": [ + { + "name": "X-Rate-Limit", + "description": "calls per hour allowed by the user", + "type": "integer", + "values": [] + }, + { + "name": "X-Expires-After", + "description": "date in UTC when token expires", + "type": "string", + "values": [] + } + ] + }, + { + "statusCode": 400, + "description": "Invalid username/password supplied", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPolicy.json index eeff1e933c0e..11ec3626ddd6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationPolicy.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json index 95a96cb7cb58..bd1e6da242f2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiPolicy.json index f02d59d54f76..7040b4df3468 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRelease.json index b89feab83967..b08408868e5a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRelease.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRevision.json index 5a1ada142d29..1b0f91c20f61 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiRevision.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "echo-api;rev=3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api;rev=3", - "properties": { - "displayName": "Service", - "apiRevision": "3", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "apiRevisionDescription": "fixed bug in contract" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "echo-api;rev=3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api;rev=3", + "properties": { + "displayName": "Service", + "apiRevision": "3", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "apiRevisionDescription": "fixed bug in contract" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiSchema.json index a466ce876304..31e4393d40fe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiSchema.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "59d6bb8f1f7fab13dc67ec9b", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "properties": { - "contentType": "application/vnd.ms-azure-apim.xsd+xml", - "document": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "59d6bb8f1f7fab13dc67ec9b", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "properties": { + "contentType": "application/vnd.ms-azure-apim.xsd+xml", + "document": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTag.json index dadcf818d4da..6765c4f28aa4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTagDescription.json index 38a5b4d5b2c4..e89575966ebd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiTagDescription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiVersionSet.json index 87fef449eb0c..8a358cb2363e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiVersionSet.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName" : "Version Set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "Version Set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetAuthorizationServer.json index 9a7aeb6f031c..743302f5d3af 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetAuthorizationServer.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json index 4debcdfdf483..bb9984affded 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json index 76e4309228aa..4609fd125278 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json index 185e287ba22d..f750b04a7356 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCertificate.json index b43845c82186..d6eec2e9e651 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCertificate.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA**********************8594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA**********************8594A6", + "expirationDate": "2017-04-23T17:03:41Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetDiagnostic.json index 5ee5a7f02197..a18946b9455e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetDiagnostic.json @@ -1,11 +1,11 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights" - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights" + }, "responses": { "200": { "body": { @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetEmailTemplate.json index 2aae0287e19a..b67ba05b8410 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetEmailTemplate.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "NewIssueNotificationMessage", - "properties": { - "subject": "Your request $IssueName was received", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "New issue received", - "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", - "isDefault": true, - "parameters": [ - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "IssueId", - "title": "Issue id" - }, - { - "name": "IssueName", - "title": "Issue name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "NewIssueNotificationMessage", + "properties": { + "subject": "Your request $IssueName was received", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "New issue received", + "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", + "isDefault": true, + "parameters": [ + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "IssueId", + "title": "Issue id" + }, + { + "name": "IssueName", + "title": "Issue name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetGroup.json index 8875d5df3262..f146a791f633 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetGroup.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIdentityProvider.json index 009ed0e86455..29733f37590a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIdentityProvider.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "aadB2C", - "properties": { - "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", - "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_signup-policy" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "aadB2C", + "properties": { + "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", + "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_signup-policy" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json index a5ef5ad9dac5..3bf353815ab1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json index a0f2b37a8bc9..aa366d2925b3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "loggerId": "templateLogger" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "kloudapilogger1", - "properties": { - "loggerType": "azureEventHub", - "description": "testeventhub3again", - "credentials": { - "name": "testeventhub4", - "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/eventhubapim" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "loggerId": "templateLogger" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "kloudapilogger1", + "properties": { + "loggerType": "azureEventHub", + "description": "testeventhub3again", + "credentials": { + "name": "testeventhub4", + "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/eventhubapim" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json index b28d65aa143b..12952debbe94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json index d6475a1f8120..1a853ff6109a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOperationTag.json index 95a96cb7cb58..bd1e6da242f2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetOperationTag.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetPolicy.json index 370368926847..230e91324a37 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetPolicy.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProduct.json index b85f7c19e2f3..0c92e65a991e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProduct.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductPolicy.json index 10193e4f77ce..112f496ff224 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "kjoshiarmTemplateProduct4", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "kjoshiarmTemplateProduct4", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductTag.json index f2d97070847f..c1066bcc9d01 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProperty.json index 1c35fdcbb98f..e944b83d8813 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProperty.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeys.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeys.json index 3376d53a572c..069b617f15fb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeys.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeys.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "quotaCounterKey": "ba" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 5, - "kbTransferred": 2.5830078125 - } - } - ], - "count": 1, - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "quotaCounterKey": "ba" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 5, + "kbTransferred": 2.5830078125 } - } + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json index acb3b99c9db8..096203448fb0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json @@ -1,24 +1,24 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "quotaCounterKey": "ba", - "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" - }, - "responses": { - "200": { - "body": { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 0, - "kbTransferred": 2.5625 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "quotaCounterKey": "ba", + "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" + }, + "responses": { + "200": { + "body": { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 0, + "kbTransferred": 2.5625 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByApi.json index e5591cd4964e..710c12f39040 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByApi.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Echo API", - "apiId": "/apis/5600b59475ff190048040001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "httpbin", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Echo API", + "apiId": "/apis/5600b59475ff190048040001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "httpbin", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByGeo.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByGeo.json index 86a505ef99c0..cc9d2f9aa814 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByGeo.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByGeo.json @@ -1,38 +1,38 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "country": "US", - "region": "WA", - "zip": "98052", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "country": "US", + "region": "WA", + "zip": "98052", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByOperation.json index ca8c415b9afd..7fe94d269347 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByOperation.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "get", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "GetWeatherInformation", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "GetCityForecastByZIP", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "get", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "GetWeatherInformation", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "GetCityForecastByZIP", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByProduct.json index 6a92c3a4f031..8db3c55f75f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByProduct.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Starter", - "productId": "/products/5600b59475ff190048060001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Unlimited", - "productId": "/products/5600b59475ff190048060002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Starter", + "productId": "/products/5600b59475ff190048060001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Unlimited", + "productId": "/products/5600b59475ff190048060002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByRequest.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByRequest.json index ddc41cb6ddd3..92dbef06c496 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByRequest.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByRequest.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "GET", - "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 405, - "timestamp": "2017-06-03T00:17:00.1649134Z", - "cache": "none", - "apiTime": 221.1544, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", - "requestSize": 0 - }, - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "POST", - "url": "https://apimService1.azure-api.net/echo/resource", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 403, - "timestamp": "2017-06-03T00:17:20.5255131Z", - "cache": "none", - "apiTime": 6.6754000000000007, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", - "requestSize": 0 - } - ], - "count": 2 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "GET", + "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 405, + "timestamp": "2017-06-03T00:17:00.1649134Z", + "cache": "none", + "apiTime": 221.1544, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", + "requestSize": 0 + }, + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "POST", + "url": "https://apimService1.azure-api.net/echo/resource", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 403, + "timestamp": "2017-06-03T00:17:20.5255131Z", + "cache": "none", + "apiTime": 6.6754000000000007, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", + "requestSize": 0 + } + ], + "count": 2 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsBySubscription.json index d11542d7cbe4..4154fdc36c94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsBySubscription.json @@ -1,79 +1,79 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060001", - "subscriptionId": "/subscriptions/5600b59475ff190048070001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060002", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5702e97e5157a50f48dce801", - "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060001", + "subscriptionId": "/subscriptions/5600b59475ff190048070001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060002", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5702e97e5157a50f48dce801", + "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByTime.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByTime.json index 11a12bb4c352..d0e3a10f06e5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByTime.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByTime.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", - "interval": "PT15M" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-06-03T00:15:00Z", - "interval": "PT15M", - "callCountSuccess": 4, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 4, - "bandwidth": 3243, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1337.46335, - "apiTimeMin": 885.0839000000001, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 1255.917425, - "serviceTimeMin": 882.8264, - "serviceTimeMax": 1697.3612 - }, - { - "timestamp": "2017-06-03T00:30:00Z", - "interval": "PT15M", - "callCountSuccess": 9, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 10, - "bandwidth": 7776, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 872.7818777777778, - "apiTimeMin": 330.3206, - "apiTimeMax": 1093.8407, - "serviceTimeAvg": 824.2847111111112, - "serviceTimeMin": 215.24, - "serviceTimeMax": 973.2262000000001 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", + "interval": "PT15M" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-06-03T00:15:00Z", + "interval": "PT15M", + "callCountSuccess": 4, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 4, + "bandwidth": 3243, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1337.46335, + "apiTimeMin": 885.0839000000001, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 1255.917425, + "serviceTimeMin": 882.8264, + "serviceTimeMax": 1697.3612 + }, + { + "timestamp": "2017-06-03T00:30:00Z", + "interval": "PT15M", + "callCountSuccess": 9, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 10, + "bandwidth": 7776, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 872.7818777777778, + "apiTimeMin": 330.3206, + "apiTimeMax": 1093.8407, + "serviceTimeAvg": 824.2847111111112, + "serviceTimeMin": 215.24, + "serviceTimeMax": 973.2262000000001 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByUser.json index c5fa0a494182..e589de19b577 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetReportsByUser.json @@ -1,73 +1,73 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Administrator", - "userId": "/users/1", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "Samir Solanki", - "userId": "/users/56eaec62baf08b06e46d27fd", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Anonymous", - "userId": "/users/54c800b332965a0035030000", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Administrator", + "userId": "/users/1", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "Samir Solanki", + "userId": "/users/56eaec62baf08b06e46d27fd", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Anonymous", + "userId": "/users/54c800b332965a0035030000", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetSubscription.json index 8c65ebd48a67..9d5b62a4adfa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetSubscription.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTag.json index 135027691a2f..438aea25b0dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTag.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/tags", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "tag1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/tags", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "tag1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForOperation.json index 51139d8b3923..ed19bcd7fe50 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForOperation.json @@ -7,21 +7,21 @@ "apiId": "57d2ef278aa04f0888cba3f3", "operationId": "57d2ef278aa04f0888cba3f6" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTenantAccess.json index 2444f0d15ce3..31ad65009cd4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTenantAccess.json @@ -1,19 +1,19 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "200": { - "body": { - "id": "5600b59375ff190048030003", - "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", - "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "200": { + "body": { + "id": "5600b59375ff190048030003", + "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", + "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", + "enabled": true + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json index 2e528cb129fa..16441b094a29 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUserIdentity.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUserIdentity.json index 4d5903dd3554..23ea437e02c7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUserIdentity.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUserIdentity.json @@ -1,15 +1,15 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "1" - } - } + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "1" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApi.json index e7e5c74704cd..fa2e6a03006d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApi.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiDiagnostic.json index fc7307762cd2..ac542d2a2d1e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiDiagnostic.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json index f490f90199a8..11dc93b0505d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json index d025bec53d49..fb1ae6e17939 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json index 14efc224f0a6..8fe7ea50c2af 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperation.json index dff9ac493180..8488326ddc00 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperation.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationPolicy.json index aa5fdacafce3..2b7c7b9dfa40 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationPolicy.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json index cb550dfc6bf8..1b00305e2f1c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiPolicy.json index d1123d0531bd..642fb54a6c9b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiRelease.json index 9a183cfbe1dd..850b10679cdd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiRelease.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiSchema.json index 6b52bebfc4a7..d3481e64a7b0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiSchema.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTag.json index c9a854957fa9..6b7fd87f8769 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTagDescription.json index c9a854957fa9..6b7fd87f8769 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiTagDescription.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiVersionSet.json index 3993aa51de92..e17e145e709b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiVersionSet.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadAuthorizationServer.json index a1220ef6f03c..4fa282152801 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadAuthorizationServer.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json index 18e5b871f39b..741e481a7753 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "backendId": "sfbackend" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "backendId": "sfbackend" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json index 1175e0939109..6d50a0809bac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCertificate.json index 7d9162b43f5a..e618effc0a13 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCertificate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDelegationSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDelegationSettings.json index eaa776723f51..0f01d4bc380a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDelegationSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDelegationSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDiagnostic.json index f16360a82939..e0181890d316 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadDiagnostic.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadEmailTemplate.json index 79370fa1a798..9c448d438b80 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadEmailTemplate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroup.json index cc59973303de..df454d98285f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroup.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json index c126b8bb1669..32eae02b782a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadIdentityProvider.json index 4a27c1afefc5..88ec10e9b8ee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadIdentityProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json index 0573df29dc58..4c46819f8d49 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "loggerId": "templateLogger" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "loggerId": "templateLogger" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json index 43d28adf202b..0c53a305001c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json index 09ea0101fbe2..5f42ec6d6617 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "userId": "576823d0a40f7e74ec07d642" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "userId": "576823d0a40f7e74ec07d642" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOpenIdConnectProvider.json index 469eca3b01e0..711caccc304d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOpenIdConnectProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOperationTag.json index cb550dfc6bf8..1b00305e2f1c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadOperationTag.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadPolicy.json index 369708c82c32..a02bf2e1a8b0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProduct.json index aa66246c488f..6e013ea137f9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProduct.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json index f40035f9e570..8a32992eeb8c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "apiId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "apiId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json index e1d1e6eaa590..53c80fac827a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductPolicy.json index e06f180be4e6..0d9ee512bc29 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "unlimited", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "unlimited", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductTag.json index 430fb575754d..bd45a9e019b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProperty.json index 4b3491c9af19..67d1580e2aa1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProperty.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignInSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignInSettings.json index eaa776723f51..0f01d4bc380a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignInSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignInSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignUpSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignUpSettings.json index eaa776723f51..0f01d4bc380a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignUpSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSignUpSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSubscription.json index 7bc9b4ba85c9..9e3992bb106e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadSubscription.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTag.json index 5c62213ccedf..5d57eed551ea 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTag.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "Etag": "AAAAAAAACCI=" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "Etag": "AAAAAAAACCI=" } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json index 0c55dedccf3b..fcbd3aa4c366 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json @@ -7,6 +7,6 @@ "accessName": "access" }, "responses": { - "200": { } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json index 8e58ce61828a..d866888caa12 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiDiagnostics.json index 48e3108e13fd..9619312bd613 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiDiagnostics.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json index 0abe2c939866..54c219f3ff52 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json index 0cc92c33e334..5e5c738ec0c3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json index eeb6370b6fb7..7a343d194a7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json index 6799b3c08bed..49f55a6b9759 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json index 51139d8b3923..ed19bcd7fe50 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json @@ -7,21 +7,21 @@ "apiId": "57d2ef278aa04f0888cba3f3", "operationId": "57d2ef278aa04f0888cba3f6" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperations.json index 8f49113dc33c..c3de8eda0f9e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperations.json @@ -1,69 +1,69 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cda", - "properties": { - "displayName": "GetMostRecentOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd9", - "properties": { - "displayName": "GetOpenOrders", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdb", - "properties": { - "displayName": "GetOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd8", - "properties": { - "displayName": "submitOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cda", + "properties": { + "displayName": "GetMostRecentOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd9", + "properties": { + "displayName": "GetOpenOrders", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdb", + "properties": { + "displayName": "GetOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd8", + "properties": { + "displayName": "submitOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json index fb79ab0fe4e4..07e9a9cd8ecc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json index 8670cead052c..ff8922f480ab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json index 51598ddf28a3..f94b3adb9480 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiReleases.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiReleases.json index 94cd5c9dbfc0..8a02fc69ab2a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiReleases.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiReleases.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "a1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } - } + } + ], + "nextLink": "" + } } + } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiRevisions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiRevisions.json index 67b9c59478d5..3cd805cba1e6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiRevisions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiRevisions.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", - "apiRevision": "1", - "createdDateTime": "2018-02-01T22:21:20.467Z", - "updatedDateTime": "2018-02-01T22:21:20.467Z", - "isOnline": true, - "isCurrent": true - } - ], - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", + "apiRevision": "1", + "createdDateTime": "2018-02-01T22:21:20.467Z", + "updatedDateTime": "2018-02-01T22:21:20.467Z", + "isOnline": true, + "isCurrent": true + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiSchemas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiSchemas.json index a42f674e7c58..2c4337937610 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiSchemas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiSchemas.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "59d5b28e1f7fab116402044e", - "properties": { - "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "59d5b28e1f7fab116402044e", + "properties": { + "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json index 6da2c01f227e..2d99e891da67 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1", - "externalDocsDescription": "some additional info", - "externalDocsUrl": "http://some_url.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1", + "externalDocsDescription": "some additional info", + "externalDocsUrl": "http://some_url.com" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json index c0a8e977f48e..1f8a3d4122ca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiVersionSets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiVersionSets.json index 475cc3788aaa..b4ec99c190b6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiVersionSets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiVersionSets.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName": "api set 1", - "versioningScheme": "Segment", - "description": "Version configuration" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs2", - "properties": { - "displayName": "api set 2", - "versioningScheme": "Query", - "description": "Version configuration 2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs2", + "properties": { + "displayName": "api set 2", + "versioningScheme": "Query", + "description": "Version configuration 2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApis.json index c3eb8039cc7a..7dd4c39428ec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApis.json @@ -1,81 +1,81 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "type": "Microsoft.ApiManagement/service/apis", - "name": "a1", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a73933b8f27f7cc82a2d533", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersion": "v1", - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api", - "properties": { - "displayName": "Echo API", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "echo", - "protocols": [ - "https" - ], - "isCurrent": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a7390baa5816a110435aee0", - "properties": { - "displayName": "Swagger Petstore Extensive", - "apiRevision": "1", - "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", - "serviceUrl": "http://petstore.swagger.wordnik.com/api", - "path": "vvv", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "type": "Microsoft.ApiManagement/service/apis", + "name": "a1", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a73933b8f27f7cc82a2d533", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersion": "v1", + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api", + "properties": { + "displayName": "Echo API", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "echo", + "protocols": [ + "https" + ], + "isCurrent": true + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a7390baa5816a110435aee0", + "properties": { + "displayName": "Swagger Petstore Extensive", + "apiRevision": "1", + "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "vvv", + "protocols": [ + "https" + ], + "isCurrent": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApisByTags.json index c1aede0791dc..66cd0d46f316 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApisByTags.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListAuthorizationServers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListAuthorizationServers.json index dfed4755514b..a75e311407a0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListAuthorizationServers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListAuthorizationServers.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer", - "properties": { - "displayName": "test2", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer", + "properties": { + "displayName": "test2", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListBackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListBackends.json index f94e2f216613..41fa4e95900c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListBackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListBackends.json @@ -1,80 +1,80 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "proxybackend", - "properties": { - "description": "description5308", - "url": "https://backendname2644/", - "protocol": "http", - "credentials": { - "query": { - "sv": [ - "xx", - "bb", - "cc" - ] - }, - "header": { - "x-my-1": [ - "val1", - "val2" - ] - }, - "authorization": { - "scheme": "Basic", - "parameter": "opensesma" - } - }, - "proxy": { - "url": "http://192.168.1.1:8080", - "username": "Contoso\\admin", - "password": "opensesame" - }, - "tls": { - "validateCertificateChain": false, - "validateCertificateName": false - } - } - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "proxybackend", + "properties": { + "description": "description5308", + "url": "https://backendname2644/", + "protocol": "http", + "credentials": { + "query": { + "sv": [ + "xx", + "bb", + "cc" + ] + }, + "header": { + "x-my-1": [ + "val1", + "val2" + ] + }, + "authorization": { + "scheme": "Basic", + "parameter": "opensesma" + } + }, + "proxy": { + "url": "http://192.168.1.1:8080", + "username": "Contoso\\admin", + "password": "opensesame" + }, + "tls": { + "validateCertificateChain": false, + "validateCertificateName": false + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } - } + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } - ], - "nextLink": "" + ], + "maxPartitionResolutionRetries": 5 + } + } } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json index 82069ec27432..89e15cec505f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCertificates.json index c49a0881650f..74b937fc6971 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCertificates.json @@ -1,27 +1,27 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA************************48594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA************************48594A6", + "expirationDate": "2017-04-23T17:03:41Z" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListEmailTemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListEmailTemplates.json index d81611051391..40f5ed2300b3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListEmailTemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListEmailTemplates.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "ApplicationApprovedNotificationMessage", - "properties": { - "subject": "Your application $AppName is published in the application gallery", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "Application gallery submission approved", - "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", - "isDefault": true, - "parameters": [ - { - "name": "AppId", - "title": "Application id" - }, - { - "name": "AppName", - "title": "Application name" - }, - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "ApplicationApprovedNotificationMessage", + "properties": { + "subject": "Your application $AppName is published in the application gallery", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "Application gallery submission approved", + "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", + "isDefault": true, + "parameters": [ + { + "name": "AppId", + "title": "Application id" + }, + { + "name": "AppName", + "title": "Application name" + }, + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroupUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroupUsers.json index 5c6c2a8f01c2..9207b0342d97 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroupUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroupUsers.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "groupId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", - "type": "Microsoft.ApiManagement/service/groups/users", - "name": "armTemplateUser1", - "properties": { - "firstName": "user1", - "lastName": "lastname1", - "email": "user1@live.com", - "state": "active", - "registrationDate": "2017-05-31T18:54:41.447Z", - "note": "note for user 1", - "identities": [ - { - "provider": "Basic", - "id": "user1@live.com" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "groupId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", + "type": "Microsoft.ApiManagement/service/groups/users", + "name": "armTemplateUser1", + "properties": { + "firstName": "user1", + "lastName": "lastname1", + "email": "user1@live.com", + "state": "active", + "registrationDate": "2017-05-31T18:54:41.447Z", + "note": "note for user 1", + "identities": [ + { + "provider": "Basic", + "id": "user1@live.com" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroups.json index 53b925e01b9a..93aad88988f2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListGroups.json @@ -1,62 +1,62 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIdentityProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIdentityProviders.json index 8474ce1afa0f..39c59d18ba76 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIdentityProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIdentityProviders.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Google", - "properties": { - "clientId": "googleId", - "clientSecret": "googlesecret", - "type": "google" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Aad", - "properties": { - "clientId": "aadapplicationid", - "clientSecret": "aadapplicationkey", - "type": "aad", - "allowedTenants": [ - "samiraad.onmicrosoft.com" - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "AadB2C", - "properties": { - "clientId": "aadb2clientId", - "clientSecret": "aadb2cClientKey", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_Signin_Default" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Google", + "properties": { + "clientId": "googleId", + "clientSecret": "googlesecret", + "type": "google" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Aad", + "properties": { + "clientId": "aadapplicationid", + "clientSecret": "aadapplicationkey", + "type": "aad", + "allowedTenants": [ + "samiraad.onmicrosoft.com" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "AadB2C", + "properties": { + "clientId": "aadb2clientId", + "clientSecret": "aadb2cClientKey", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_Signin_Default" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json index b082405354d5..f8747e76346d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json @@ -1,30 +1,30 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListLoggers.json index 398790694736..26dc2a9d15d9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListLoggers.json @@ -1,46 +1,46 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "buffered111", - "properties": { - "loggerType": "azureEventHub", - "description": "Sample description", - "credentials": { - "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/apimaccounts" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "loggerId", - "properties": { - "loggerType": "azureEventHub", - "description": "adding a new logger", - "credentials": { - "name": "hydraeventhub", - "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/hydraeventhub-ns" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "buffered111", + "properties": { + "loggerType": "azureEventHub", + "description": "Sample description", + "credentials": { + "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/apimaccounts" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "loggerId", + "properties": { + "loggerType": "azureEventHub", + "description": "adding a new logger", + "credentials": { + "name": "hydraeventhub", + "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/hydraeventhub-ns" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json index 27049e2efe25..41079fa7e789 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json @@ -1,42 +1,42 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "contoso@live.com", - "properties": { - "email": "contoso@live.com" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar!live", - "properties": { - "email": "foobar!live" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar@live.com", - "properties": { - "email": "foobar@live.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "contoso@live.com", + "properties": { + "email": "contoso@live.com" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar!live", + "properties": { + "email": "foobar!live" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar@live.com", + "properties": { + "email": "foobar@live.com" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json index 68b9dcb3890a..8c20b58e638e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", - "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", - "name": "576823d0a40f7e74ec07d642", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", + "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", + "name": "576823d0a40f7e74ec07d642", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotifications.json index 61060ccf4464..ee4ff64e3df6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotifications.json @@ -1,126 +1,126 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "PurchasePublisherNotificationMessage", - "properties": { - "title": "New subscriptions", - "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewApplicationNotificationMessage", - "properties": { - "title": "Application gallery requests", - "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "BCC", - "properties": { - "title": "BCC", - "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", - "recipients": { - "emails": [], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewIssuePublisherNotificationMessage", - "properties": { - "title": "New issue or comment", - "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "AccountClosedPublisher", - "properties": { - "title": "Close account message", - "description": "The following email recipients and users will receive email notifications when developer closes his account", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "QuotaLimitApproachingPublisherNotificationMessage", - "properties": { - "title": "Approaching subscription quota limit", - "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" ], - "nextLink": "" + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "PurchasePublisherNotificationMessage", + "properties": { + "title": "New subscriptions", + "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewApplicationNotificationMessage", + "properties": { + "title": "Application gallery requests", + "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "BCC", + "properties": { + "title": "BCC", + "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", + "recipients": { + "emails": [], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewIssuePublisherNotificationMessage", + "properties": { + "title": "New issue or comment", + "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "AccountClosedPublisher", + "properties": { + "title": "Close account message", + "description": "The following email recipients and users will receive email notifications when developer closes his account", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "QuotaLimitApproachingPublisherNotificationMessage", + "properties": { + "title": "Approaching subscription quota limit", + "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOpenIdConnectProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOpenIdConnectProviders.json index b7814c75a7a0..db79e55a16e7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOpenIdConnectProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOpenIdConnectProviders.json @@ -1,29 +1,29 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperations.json index 9fb4700027fb..68074c284372 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperations.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperationsByTags.json index fb79ab0fe4e4..07e9a9cd8ecc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperationsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListOperationsByTags.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicies.json index 1d0531ff13d4..3fc96bc9b607 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicies.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicySnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicySnippets.json index 54f9527cefa7..67cf10a48029 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicySnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListPolicySnippets.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "scope":"Api" - }, - "responses": { - "200": { - "body": [ - { - "name": "Authenticate with Basic", - "content": "", - "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", - "scope": 268435471 - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "scope": "Api" + }, + "responses": { + "200": { + "body": [ + { + "name": "Authenticate with Basic", + "content": "", + "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", + "scope": 268435471 } + ] } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductApis.json index 89f928008cd7..01a71ebe363a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductApis.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "5768181ea40f7eb6c49f6ac7" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", - "type": "Microsoft.ApiManagement/service/products/apis", - "name": "57681820a40f7eb6c49f6aca", - "properties": { - "displayName": "api_57681820a40f7eb6c49f6acb", - "apiRevision": "1", - "description": "description_57681820a40f7eb6c49f6acc", - "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", - "path": "suffix_57681820a40f7eb6c49f6ace", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "5768181ea40f7eb6c49f6ac7" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", + "type": "Microsoft.ApiManagement/service/products/apis", + "name": "57681820a40f7eb6c49f6aca", + "properties": { + "displayName": "api_57681820a40f7eb6c49f6acb", + "apiRevision": "1", + "description": "description_57681820a40f7eb6c49f6acc", + "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", + "path": "suffix_57681820a40f7eb6c49f6ace", + "protocols": [ + "https" + ], + "isCurrent": true } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductGroups.json index fc25a3a70716..ca82d1c86281 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductGroups.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json index 66ffcbd1c7c5..06ca7538fd4c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductSubscriptions.json index cd42d83973da..7f7f3ad62302 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductSubscriptions.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", - "type": "Microsoft.ApiManagement/service/products/subscriptions", - "name": "5600b57e7e8880006a070002", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", - "state": "active", - "createdDate": "2015-09-22T01:57:18.723Z", - "primaryKey": "ba95768e868648848e215f0290eec023", - "secondaryKey": "140f866def81419b9bb9732d05d24535" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", + "type": "Microsoft.ApiManagement/service/products/subscriptions", + "name": "5600b57e7e8880006a070002", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", + "state": "active", + "createdDate": "2015-09-22T01:57:18.723Z", + "primaryKey": "ba95768e868648848e215f0290eec023", + "secondaryKey": "140f866def81419b9bb9732d05d24535" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json index 2ad37158e198..878a12f9c0ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json @@ -6,21 +6,21 @@ "subscriptionId": "subid", "productId": "57d2ef278aa04f0888cba3f1" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProducts.json index a35ce162df62..98ce749d9295 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProducts.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/products", - "name": "kjoshiarmtemplateCert1", - "properties": { - "displayName": "Dev", - "description": "Development Product", - "subscriptionRequired": false, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", - "type": "Microsoft.ApiManagement/service/products", - "name": "starter", - "properties": { - "displayName": "Starter", - "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", - "terms": "", - "subscriptionRequired": true, - "approvalRequired": false, - "subscriptionsLimit": 1, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/products", + "name": "kjoshiarmtemplateCert1", + "properties": { + "displayName": "Dev", + "description": "Development Product", + "subscriptionRequired": false, + "state": "published" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", + "type": "Microsoft.ApiManagement/service/products", + "name": "starter", + "properties": { + "displayName": "Starter", + "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", + "terms": "", + "subscriptionRequired": true, + "approvalRequired": false, + "subscriptionsLimit": 1, + "state": "published" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductsByTags.json index e9bef912cef0..179d5d24a43b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductsByTags.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json index 1ca29ecb739f..fcaeb878cf58 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListRegions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListRegions.json index e95a5bf6d1fe..092e560ca863 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListRegions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListRegions.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "West US", - "isMasterRegion": true, - "isDeleted": false - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "West US", + "isMasterRegion": true, + "isDeleted": false + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Consumption.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Consumption.json index e1e8a0389c81..aaef3aafbd39 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Consumption.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Consumption.json @@ -1,24 +1,24 @@ { - "parameters": { - "api-version": "2018-06-01-preview", - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Consumption" - }, - "capacity": null - } - ], - "nextLink": null - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2018-06-01-preview", + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Consumption" + }, + "capacity": null + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Dedicated.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Dedicated.json index f015537bb4ee..484c33a4c203 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Dedicated.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSKUs-Dedicated.json @@ -1,65 +1,65 @@ { - "parameters": { - "api-version": "2018-06-01-preview", - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Developer" - }, - "capacity": { - "minimum": 1, - "maximum": 1, - "default": 1, - "scaleType": "none" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Basic" - }, - "capacity": { - "minimum": 1, - "maximum": 2, - "default": 1, - "scaleType": "manual" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Standard" - }, - "capacity": { - "minimum": 1, - "maximum": 4, - "default": 1, - "scaleType": "automatic" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Premium" - }, - "capacity": { - "minimum": 1, - "maximum": 10, - "default": 1, - "scaleType": "automatic" - } - } - ], - "nextLink": null - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2018-06-01-preview", + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Developer" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "none" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Basic" + }, + "capacity": { + "minimum": 1, + "maximum": 2, + "default": 1, + "scaleType": "manual" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Standard" + }, + "capacity": { + "minimum": 1, + "maximum": 4, + "default": 1, + "scaleType": "automatic" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Premium" + }, + "capacity": { + "minimum": 1, + "maximum": 10, + "default": 1, + "scaleType": "automatic" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscription.json index 499fe7d76c25..f52d9eb1eb99 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscription.json @@ -1,164 +1,164 @@ { - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json index f49dc57a9640..f89adc48b196 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json @@ -1,162 +1,162 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSubscriptions.json index ce12064a75d6..ea1c482da643 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListSubscriptions.json @@ -1,61 +1,61 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5600b59475ff190048070001", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "state": "active", - "createdDate": "2015-09-22T01:57:40.3Z", - "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", - "secondaryKey": "b366198986614a7497a5a68fae19119d" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "56eaed3dbaf08b06e46d27fe", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "displayName": "Starter", - "state": "active", - "createdDate": "2016-03-17T17:45:33.837Z", - "startDate": "2016-03-17T00:00:00Z", - "expirationDate": "2016-04-01T00:00:00Z", - "notificationDate": "2016-03-20T00:00:00Z", - "primaryKey": "77708695e79a495bb99b95f32adfa1f0", - "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5600b59475ff190048070001", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "state": "active", + "createdDate": "2015-09-22T01:57:40.3Z", + "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", + "secondaryKey": "b366198986614a7497a5a68fae19119d" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "56eaed3dbaf08b06e46d27fe", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "displayName": "Starter", + "state": "active", + "createdDate": "2016-03-17T17:45:33.837Z", + "startDate": "2016-03-17T00:00:00Z", + "expirationDate": "2016-04-01T00:00:00Z", + "notificationDate": "2016-03-20T00:00:00Z", + "primaryKey": "77708695e79a495bb99b95f32adfa1f0", + "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTagResources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTagResources.json index 11c8b9780acb..31309fd2e1b5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTagResources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTagResources.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTags.json index a8de2300e652..83b92267480b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListTags.json @@ -1,33 +1,33 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "tag1" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "tag2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "tag1" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "tag2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json index 62def5602566..0c9fd225d0d6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/users/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/users/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json index c6d10bafe53e..c537c6708f80 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json index 01581d961725..946c4f7b605d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json @@ -1,48 +1,48 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6ae3", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6ae5", - "state": "active", - "createdDate": "2016-06-20T16:22:39.547Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6ae4", - "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6b2b", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6b2d", - "state": "active", - "createdDate": "2016-06-20T16:22:41.103Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6b2c", - "secondaryKey": "125f565d276647dc825d7f25ea40ee57" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6ae3", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6ae5", + "state": "active", + "createdDate": "2016-06-20T16:22:39.547Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6ae4", + "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6b2b", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6b2d", + "state": "active", + "createdDate": "2016-06-20T16:22:41.103Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6b2c", + "secondaryKey": "125f565d276647dc825d7f25ea40ee57" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsers.json index 4c6445001ae7..fae99ead2089 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsers.json @@ -1,71 +1,71 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "type": "Microsoft.ApiManagement/service/users", - "name": "1", - "properties": { - "firstName": "Administrator", - "lastName": "", - "email": "admin@live.com", - "state": "active", - "registrationDate": "2015-09-22T01:57:39.677Z", - "identities": [ - { - "provider": "Azure", - "id": "admin@live.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "type": "Microsoft.ApiManagement/service/users", - "name": "56eaec62baf08b06e46d27fd", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foo.bar.83@gmail.com", - "state": "active", - "registrationDate": "2016-03-17T17:41:56.327Z", - "identities": [ - { - "provider": "Basic", - "id": "foo.bar.83@gmail.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "type": "Microsoft.ApiManagement/service/users", + "name": "1", + "properties": { + "firstName": "Administrator", + "lastName": "", + "email": "admin@live.com", + "state": "active", + "registrationDate": "2015-09-22T01:57:39.677Z", + "identities": [ + { + "provider": "Azure", + "id": "admin@live.com" + } + ] } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "type": "Microsoft.ApiManagement/service/users", + "name": "56eaec62baf08b06e46d27fd", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foo.bar.83@gmail.com", + "state": "active", + "registrationDate": "2016-03-17T17:41:56.327Z", + "identities": [ + { + "provider": "Basic", + "id": "foo.bar.83@gmail.com" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" + } + ] + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetDelegation.json index 00b57df099b4..1c245fd3a072 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetDelegation.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "delegation", - "properties": { - "url": "http://contoso.com/delegation", - "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", - "subscriptions": { - "enabled": true - }, - "userRegistration": { - "enabled": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "delegation", + "properties": { + "url": "http://contoso.com/delegation", + "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", + "subscriptions": { + "enabled": true + }, + "userRegistration": { + "enabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignIn.json index 12488dfa8a31..8a52c356fafc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignIn.json @@ -1,20 +1,20 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signin", - "properties": { - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signin", + "properties": { + "enabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignUp.json index 8d842a61e3fa..0c33a8e5d5ad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsGetSignUp.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signup", - "properties": { - "enabled": true, - "termsOfService": { - "text": "Terms of service text.", - "enabled": true, - "consentRequired": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signup", + "properties": { + "enabled": true, + "termsOfService": { + "text": "Terms of service text.", + "enabled": true, + "consentRequired": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json index 4d866e0e14b6..591dce8c8aef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json index c7e99e5283fa..c5fd7a034f2a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json index 2184d04f420b..2638525c6e71 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json index 1f3bdb15735f..0e3a6e51b14c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json @@ -22,4 +22,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json index 1aec7b9ea167..5ed63c8a4bdc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json index 3824225176d6..31ba808bdd41 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json @@ -20,4 +20,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementRestoreService.json index d8b18a9ad78e..6ab738692da8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementRestoreService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementRestoreService.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-06-01-preview" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceCheckNameAvailability.json index 3e7233f6c0b9..c2ed06a5dfa6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceCheckNameAvailability.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceCheckNameAvailability.json @@ -4,7 +4,7 @@ "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { - "name" : "apimService1" + "name": "apimService1" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json index d23e103d852f..eccd0c8ba3c2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json @@ -57,4 +57,4 @@ "204": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json index f9f0002195df..462bcfb5e810 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -1,88 +1,88 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", - "name": "apimservice1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAADqC0c=", - "properties": { - "publisherEmail": "abcs@contoso.com", - "publisherName": "contoso publisher", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-02T01:42:09.1268424Z", - "gatewayUrl": "https://apimservice1.azure-api.net", - "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimservice1.portal.azure-api.net", - "managementApiUrl": "https://apimservice1.management.azure-api.net", - "scmUrl": "https://apimservice1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "apimgatewaytest.preview.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2019-08-16T16:51:34+00:00", - "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", - "subject": "CN=*.preview.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "137.XXX.11.74" - ], - "privateIPAddresses": [ - "172.XX.0.5" - ], - "additionalLocations": [ - { - "location": "West US 2", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.XXX.79.187" - ], - "privateIPAddresses": [ - "10.0.X.6" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" - }, - "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" - } - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" - }, - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" - }, - "virtualNetworkType": "Internal" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", + "name": "apimservice1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAADqC0c=", + "properties": { + "publisherEmail": "abcs@contoso.com", + "publisherName": "contoso publisher", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-02T01:42:09.1268424Z", + "gatewayUrl": "https://apimservice1.azure-api.net", + "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimservice1.portal.azure-api.net", + "managementApiUrl": "https://apimservice1.management.azure-api.net", + "scmUrl": "https://apimservice1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "apimgatewaytest.preview.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2019-08-16T16:51:34+00:00", + "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", + "subject": "CN=*.preview.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "137.XXX.11.74" + ], + "privateIPAddresses": [ + "172.XX.0.5" + ], + "additionalLocations": [ + { + "location": "West US 2", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.XXX.79.187" + ], + "privateIPAddresses": [ + "10.0.X.6" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" + }, + "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" + } + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" + }, + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" + }, + "virtualNetworkType": "Internal" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json index dd4f1a5223d0..833d1b3a52b1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json @@ -108,4 +108,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json index c95a69cc53d9..9a1e5d094a63 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetService.json index ff2b9adb9ed7..c80848d284e4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetService.json @@ -1,89 +1,89 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxyhostname4.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Proxy", - "hostName": "proxyhostname9.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "portalhostname2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - } - ], - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ], - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxyhostname4.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Proxy", + "hostName": "proxyhostname9.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "portalhostname2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } } + ], + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ], + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json index 015950500622..632ed79c63fb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -1,58 +1,58 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAC2jkE=", - "properties": { - "publisherEmail": "admin@contoso.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "createdAtUtc": "2017-10-13T16:56:47.0174063Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "foobar.msitesting.net", - "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2036-01-01T07:00:00+00:00", - "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", - "subject": "CN=*.msitesting.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "13.xx.76.xxx" - ] - }, - "sku": { - "name": "Developer", - "capacity": 1 - }, - "identity": { - "type": "SystemAssigned", - "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", - "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAC2jkE=", + "properties": { + "publisherEmail": "admin@contoso.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "createdAtUtc": "2017-10-13T16:56:47.0174063Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "foobar.msitesting.net", + "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2036-01-01T07:00:00+00:00", + "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", + "subject": "CN=*.msitesting.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "13.xx.76.xxx" + ] + }, + "sku": { + "name": "Developer", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", + "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetSsoToken.json index e0d5698b2458..5aad156e212d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetSsoToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceGetSsoToken.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUpdateHostName.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUpdateHostName.json index 39963987ce5b..4492f0f8d7d2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUpdateHostName.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUpdateHostName.json @@ -1,183 +1,183 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "update": [ - { - "type": "Proxy", - "hostname": "internalproxy2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Portal", - "hostname": "internalportal2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Management", - "hostname": "internalmgmt2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Scm", - "hostname": "internalscm2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - } - ] + "update": [ + { + "type": "Proxy", + "hostname": "internalproxy2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Portal", + "hostname": "internalportal2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Management", + "hostname": "internalmgmt2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Scm", + "hostname": "internalscm2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } } + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "internalproxy2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "internalportal2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Management", + "hostName": "internalmgmt2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } }, - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + { + "type": "Scm", + "hostName": "internalscm2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "internalproxy2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "internalportal2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Management", - "hostName": "internalmgmt2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Scm", - "hostName": "internalscm2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - } - ], - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + ], + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ] } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUploadProxyCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUploadProxyCertificate.json index daef165cb6b5..e7e8685fd6d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUploadProxyCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceUploadProxyCertificate.json @@ -5,9 +5,9 @@ "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { - "type" : "Proxy", - "certificate" : "MIIZ7wI************************************************************", - "certificate_password": "******" + "type": "Proxy", + "certificate": "MIIZ7wI************************************************************", + "certificate_password": "******" } }, "responses": { @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json index ee96523a6f05..e152be924932 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json index ee96523a6f05..e152be924932 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json index cd6b957e675e..33777d2d48a7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessSyncState.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessSyncState.json index 21c3079b56d4..5dc12cb7aa17 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessSyncState.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantAccessSyncState.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "configurationName": "configuration" - }, - "responses": { - "200": { - "body": { - "branch": "master", - "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", - "isExport": true, - "isSynced": false, - "isGitEnabled": true, - "syncDate": "2016-10-24T19:17:14.3641403Z", - "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "configurationName": "configuration" + }, + "responses": { + "200": { + "body": { + "branch": "master", + "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", + "isExport": true, + "isSynced": false, + "isGitEnabled": true, + "syncDate": "2016-10-24T19:17:14.3641403Z", + "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationDeploy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationDeploy.json index 1ddd943f3348..0e133be7b376 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationDeploy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationDeploy.json @@ -1,31 +1,31 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2018-06-01-preview" - } - }, - "200": { - "body": { - "id": "5a1af4ae2a6d2e0b688d7517", - "status": "Failed", - "started": "2017-11-26T17:06:54.303Z", - "updated": "2017-11-26T17:07:21.777Z", - "error": { - "code": "ValidationError", - "message": "File not found: 'api-management/configuration.json'" - } - } + "200": { + "body": { + "id": "5a1af4ae2a6d2e0b688d7517", + "status": "Failed", + "started": "2017-11-26T17:06:54.303Z", + "updated": "2017-11-26T17:07:21.777Z", + "error": { + "code": "ValidationError", + "message": "File not found: 'api-management/configuration.json'" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationSave.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationSave.json index b1a6240dd34c..26fc67221e1e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationSave.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationSave.json @@ -1,29 +1,29 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2018-06-01-preview" - } - }, - "200": { - "body": { - "id": "5a1af57d2a6d2e0b688d751b", - "status": "Succeeded", - "started": "2017-11-26T17:10:21.957Z", - "updated": "2017-11-26T17:10:36.06Z", - "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", - "actionLog": [] - } - } + "200": { + "body": { + "id": "5a1af57d2a6d2e0b688d751b", + "status": "Succeeded", + "started": "2017-11-26T17:10:21.957Z", + "updated": "2017-11-26T17:10:36.06Z", + "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", + "actionLog": [] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationValidate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationValidate.json index 34bc6b27215b..adefcc723ec4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationValidate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementTenantConfigurationValidate.json @@ -1,170 +1,170 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2018-06-01-preview" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2018-06-01-preview" - } - }, - "200": { - "body": { - "id": "5a1af64e2a6d2e0b688d751e", - "status": "Succeeded", - "started": "2017-11-26T17:13:50.787Z", - "updated": "2017-11-26T17:13:59.723Z", - "resultInfo": "Validation is successfull", - "actionLog": [ - { - "objectType": "ApiSpecificationContract", - "action": "Updated", - "objectKey": "57914cb351f68a16889be190;rev=1" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768181ea40f7eb6c49f6ac7" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819c9a40f7e86289fb3e3" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819f1a40f7e86289fb6de" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a67a40f7e72b4132522" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a73a40f7e72b413281d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a7ea40f7e72b4132b18" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b88a40f7ea0f017f099" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b9fa40f7ea0f017f682" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bb5a40f7ea0f017fc6b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bcaa40f7ea0f0180254" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bdfa40f7ea0f018083d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bf5a40f7ea0f0180e26" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c0ea40f7ea0f018140f" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c26a40f7ea0f01819f8" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c83a40f7e85f44db237" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681cb2a40f7e85f44dbcd0" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681ce3a40f7e85f44dc769" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d1fa40f7e85f44dd202" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d60a40f7e85f44ddc9b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681db4a40f7e85f44de735" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e11a40f7e85f44df1ce" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e73a40f7e85f44dfc67" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681f06a40f7e74ec07785c" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768211fa40f7e74ec07a74a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576823cfa40f7e74ec07d63a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060001" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060002" - } - ] - } - } + "200": { + "body": { + "id": "5a1af64e2a6d2e0b688d751e", + "status": "Succeeded", + "started": "2017-11-26T17:13:50.787Z", + "updated": "2017-11-26T17:13:59.723Z", + "resultInfo": "Validation is successfull", + "actionLog": [ + { + "objectType": "ApiSpecificationContract", + "action": "Updated", + "objectKey": "57914cb351f68a16889be190;rev=1" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768181ea40f7eb6c49f6ac7" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819c9a40f7e86289fb3e3" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819f1a40f7e86289fb6de" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a67a40f7e72b4132522" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a73a40f7e72b413281d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a7ea40f7e72b4132b18" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b88a40f7ea0f017f099" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b9fa40f7ea0f017f682" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bb5a40f7ea0f017fc6b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bcaa40f7ea0f0180254" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bdfa40f7ea0f018083d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bf5a40f7ea0f0180e26" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c0ea40f7ea0f018140f" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c26a40f7ea0f01819f8" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c83a40f7e85f44db237" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681cb2a40f7e85f44dbcd0" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681ce3a40f7e85f44dc769" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d1fa40f7e85f44dd202" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d60a40f7e85f44ddc9b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681db4a40f7e85f44de735" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e11a40f7e85f44df1ce" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e73a40f7e85f44dfc67" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681f06a40f7e74ec07785c" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768211fa40f7e74ec07a74a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576823cfa40f7e74ec07d63a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060001" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060002" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApi.json index fa4d6ca2942c..79737e07e30d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApi.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiDiagnostic.json index af8ef02ea3f3..d13ead626fc4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiDiagnostic.json @@ -57,4 +57,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json index 5408e77690f3..c3c1a43fe099 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json @@ -1,19 +1,19 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*", - "parameters": { - "properties": { - "state": "closed" - } + "properties": { + "state": "closed" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiOperation.json index 9f58164d18fc..4ba2aed4c44c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiOperation.json @@ -5,7 +5,7 @@ "api-version": "2018-06-01-preview", "subscriptionId": "subid", "apiId": "echo-api", - "operationId":"operationId", + "operationId": "operationId", "If-Match": "*", "parameters": { "properties": { @@ -47,4 +47,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiRelease.json index b70872fa4f36..f65eeb410d32 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiRelease.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "If-Match": "*", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } - } - }, - "responses": { - "204": { } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } } -} \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiVersionSet.json index e619eefef9bf..942fa11db6f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiVersionSet.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "versionSetId": "api1", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "versionSetId": "api1", - "If-Match":"*", - "parameters": { - "properties": { - "displayName" : "api set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateAuthorizationServer.json index 52a5f0c5985f..825fecdcb886 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateAuthorizationServer.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json index 789aabb3a838..08affa549f3e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json index 8b2f26300e9c..61eb79cad800 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateDiagnostic.json index 43101dbb0f12..5f63bcd8a470 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateDiagnostic.json @@ -56,4 +56,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateEmailTemplate.json index ae63f7d0a089..e9ee2458234b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateEmailTemplate.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateGroup.json index 8a5e0e85ee85..7a19db1797ba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateGroup.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateIdentityProvider.json index 2177eeeb6198..06f62f691687 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateIdentityProvider.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json index 1aee91e94023..75a21038cac0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json @@ -18,4 +18,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateOpenIdConnectProvider.json index 68957114c82f..074f00f3f014 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateOpenIdConnectProvider.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json index 8e1fe288bf05..63d05bf6832e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProperty.json index aba9892e4632..c5f15d1bac15 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProperty.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKey.json index b79f476e2115..02a047192d6f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKey.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json index f90a752a1c71..ba53576ffed9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json index 5f15a08043d0..3448ae90538a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json index 59083597a22e..3fb414abef6a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json @@ -61,7 +61,7 @@ "location": "West US", "etag": "AAAAAAAYRPs=", "properties": { - "publisherEmail": "foobar@live.com", + "publisherEmail": "foobar@live.com", "publisherName": "Contoso Vnext", "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", "provisioningState": "Succeeded", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateSubscription.json index f508e0617011..157b9e6ae341 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateSubscription.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTag.json index 55dfaa9b7bad..2c7809b89f86 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTag.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTenantAccess.json index 8181090e0b4a..bd4f01d36571 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateTenantAccess.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json index 38c3a6b5b7a3..b3e14c951d4d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json @@ -15,6 +15,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json index 3210d6c6b3e6..4bbe76f6420b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "userId": "57127d485157a511ace86ae7" - }, - "responses": { - "204": { } - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "userId": "57127d485157a511ace86ae7" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json index cf3049ecdc1e..f25f61eed684 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json index 36ad537e03fa..689e78f5fe3f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json index 21e9cd7b6412..95d7789cdb07 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json @@ -83,7 +83,7 @@ "schema": { "$ref": "#/definitions/ErrorBodyContract" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -127,11 +127,11 @@ "schema": { "$ref": "#/definitions/ApiContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -185,7 +185,7 @@ "201": { "description": "API was successfully created." }, - "204":{ + "204": { "description": "API was successfully updated." }, "default": { @@ -380,11 +380,11 @@ "schema": { "$ref": "#/definitions/OperationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -434,7 +434,7 @@ "201": { "description": "Operation was successfully created." }, - "204":{ + "204": { "description": "Operation was successfully updated." }, "default": { @@ -533,7 +533,7 @@ } ], "responses": { - "204": { + "204": { "description": "The operation was successfully deleted." }, "default": { @@ -693,11 +693,11 @@ "schema": { "$ref": "#/definitions/SubscriptionContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -806,7 +806,7 @@ } ], "responses": { - "204": { + "204": { "description": "The subscription details were successfully updated." }, "default": { @@ -852,7 +852,7 @@ } ], "responses": { - "204": { + "204": { "description": "The subscription details were successfully deleted." }, "default": { @@ -934,7 +934,7 @@ } ], "responses": { - "204": { + "204": { "description": "The secondary key was successfully regenerated." }, "default": { @@ -1040,11 +1040,11 @@ "schema": { "$ref": "#/definitions/ProductContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -1473,7 +1473,7 @@ "400": { "description": "Request validation failed.This is typically caused by an invalid product or group id.", "schema": { - "$ref": "#/definitions/ErrorBodyContract" + "$ref": "#/definitions/ErrorBodyContract" } }, "default": { @@ -1566,11 +1566,11 @@ "schema": { "$ref": "#/definitions/GroupContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -1675,7 +1675,6 @@ "description": "The specified group cannot be updated because it is a built-in group.", "schema": { "$ref": "#/definitions/ErrorBodyContract" - } }, "default": { @@ -1724,7 +1723,6 @@ "description": "The specified group cannot be updated because it is a built-in group.", "schema": { "$ref": "#/definitions/ErrorBodyContract" - } }, "default": { @@ -1785,7 +1783,7 @@ "schema": { "$ref": "#/definitions/ErrorBodyContract" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1830,7 +1828,7 @@ "405": { "description": "Attempt was made to add a user to a built-in group. Built-in group membership is managed by the system.", "schema": { - "$ref": "#/definitions/ErrorBodyContract" + "$ref": "#/definitions/ErrorBodyContract" } }, "default": { @@ -1868,14 +1866,13 @@ } ], "responses": { - "204": { + "204": { "description": "The user was successfully removed from the group.." }, "405": { "description": "Attempt was made to add a user to a built-in group. Built-in group membership is managed by the system.", "schema": { "$ref": "#/definitions/ErrorBodyContract" - } }, "default": { @@ -1978,11 +1975,11 @@ "schema": { "$ref": "#/definitions/CertificateContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -2047,7 +2044,7 @@ "201": { "description": "The new certificate was successfully added." }, - "204":{ + "204": { "description": "The certificate details were successfully updated." }, "default": { @@ -2301,11 +2298,11 @@ "schema": { "$ref": "#/definitions/UserContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -2349,10 +2346,10 @@ } ], "responses": { - "201": { + "201": { "description": "User was successfully created." }, - "204":{ + "204": { "description": "User was successfully updated." }, "default": { @@ -2464,7 +2461,7 @@ "405": { "description": "Administrator user cannot be modified.", "schema": { - "$ref": "#/definitions/ErrorBodyContract" + "$ref": "#/definitions/ErrorBodyContract" } }, "default": { @@ -2653,7 +2650,7 @@ "in": "query", "required": false, "type": "string", - "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" + "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" }, { "$ref": "#/parameters/TopQueryParameter" @@ -2674,7 +2671,7 @@ "schema": { "$ref": "#/definitions/AuthorizationServerCollection" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -2696,7 +2693,7 @@ { "$ref": "#/parameters/ServiceNameParameter" }, - { + { "name": "authsid", "in": "path", "required": true, @@ -2718,11 +2715,11 @@ "schema": { "$ref": "#/definitions/OAuth2AuthorizationServerContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -3067,11 +3064,11 @@ "schema": { "$ref": "#/definitions/AccessInformationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -3113,7 +3110,7 @@ } ], "responses": { - "201": { + "201": { "description": "Tenant's access information updated successfully." }, "default": { @@ -3181,7 +3178,7 @@ } ], "responses": { - "204": { + "204": { "description": "The secondary key was successfully regenerated." }, "default": { @@ -3284,11 +3281,11 @@ "schema": { "$ref": "#/definitions/LoggerResponse" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -3396,7 +3393,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing logger was successfully updated." }, "default": { @@ -3539,11 +3536,11 @@ "schema": { "$ref": "#/definitions/PropertyContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -3593,8 +3590,8 @@ } ], "responses": { - "201": { - "description": "Property was successfully created." + "201": { + "description": "Property was successfully created." }, "204": { "description": "Property was successfully updated." @@ -3703,7 +3700,7 @@ "405": { "description": "The specified property cannot be deleted because it is in use in a policy. You must remove all references to this property before it can be deleted.", "schema": { - "$ref": "#/definitions/ErrorBodyContract" + "$ref": "#/definitions/ErrorBodyContract" } }, "default": { @@ -3797,11 +3794,11 @@ "schema": { "$ref": "#/definitions/OpenidConnectProviderContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -3809,7 +3806,7 @@ "schema": { "$ref": "#/definitions/ErrorBodyContract" } - } + } } }, "put": { @@ -3832,7 +3829,7 @@ "type": "string", "description": "Identifier of the OpenID Connect Provider.", "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$" + "pattern": "^[^*#&+:<>?]+$" }, { "name": "parameters", @@ -3852,7 +3849,7 @@ ], "responses": { "201": { - "description": "OpenIdConnect Provider was successfully created." + "description": "OpenIdConnect Provider was successfully created." }, "204": { "description": "OpenIdConnect Provider was successfully updated." @@ -3961,7 +3958,7 @@ "405": { "description": "The specified OpenIdConnect Provider cannot be deleted because it is in use in a policy. You must remove all references to this property before it can be deleted.", "schema": { - "$ref": "#/definitions/ErrorBodyContract" + "$ref": "#/definitions/ErrorBodyContract" } }, "default": { @@ -4000,11 +3997,11 @@ "schema": { "$ref": "#/definitions/AccessInformationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -4351,11 +4348,11 @@ "schema": { "$ref": "#/definitions/BackendResponse" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -4453,7 +4450,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing backend was successfully updated." }, "default": { @@ -4526,7 +4523,7 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - } + } ], "responses": { "200": { @@ -4574,11 +4571,11 @@ "schema": { "$ref": "#/definitions/IdentityProviderContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -4676,7 +4673,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing identity provider configuration was successfully updated." }, "default": { @@ -4806,7 +4803,7 @@ } ], "responses": { - "204": { + "204": { "description": "All the quota counter periods were successfully updated." }, "default": { @@ -4891,7 +4888,7 @@ "$ref": "#/definitions/QuotaCounterValueContract" }, "description": "The value of the Quota counter to be applied on the specified period." - }, + }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -4900,7 +4897,7 @@ } ], "responses": { - "204": { + "204": { "description": "The quota counter value was successfully updated." }, "default": { @@ -4914,7 +4911,7 @@ } }, "x-ms-paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}?export=true": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}?export=true": { "get": { "tags": [ "Apis" @@ -4922,7 +4919,7 @@ "operationId": "Apis_Export", "description": "Gets the details of the API specified by its identifier.", "parameters": [ - { + { "$ref": "#/parameters/ResourceGroupNameParameter" }, { @@ -4955,7 +4952,7 @@ } } }, - "definitions": { + "definitions": { "OAuth2AuthenticationSettingsContract": { "properties": { "authorizationServerId": { @@ -4990,7 +4987,7 @@ }, "description": "Subscription key parameter names details.", "example": { - "subscriptionKeyParameterNames" : { + "subscriptionKeyParameterNames": { "query": "customQueryParameterName", "header": "customHeaderParameterName" } @@ -5067,7 +5064,7 @@ "path", "protocols" ], - "description": "API details." + "description": "API details." }, "ApiCollection": { "properties": { @@ -5112,12 +5109,12 @@ "statusCode": { "type": "string", "enum": [ - "Continue", + "Continue", "OK", "Created", - "Accepted", - "NotFound", - "Conflict" + "Accepted", + "NotFound", + "Conflict" ], "x-ms-enum": { "name": "HttpStatusCode", @@ -5219,7 +5216,7 @@ "format": "int32", "description": "Operation response HTTP status code.", "minimum": 100, - "maximum": 599 + "maximum": 599 }, "description": { "type": "string", @@ -5257,7 +5254,7 @@ "externalDocs": { "description": "As defined by RFC.", "url": "http://www.rfc-editor.org/rfc/rfc7230.txt" - } + } }, "urlTemplate": { "type": "string", @@ -5571,13 +5568,13 @@ "primaryKey": { "type": "string", "description": "Primary subscription key.", - "minLength": 1, + "minLength": 1, "maxLength": 256 }, "secondaryKey": { "type": "string", "description": "Secondary subscription key.", - "minLength": 1, + "minLength": 1, "maxLength": 256 }, "state": { @@ -6093,7 +6090,7 @@ "id": { "readOnly": true, "type": "string", - "description": "Uniquely identifies the authorization server within the current API Management service instance. The value is a valid relative URL in the format of /authorizationServers/{authsid} where {authsid} is an authorization server identifier." + "description": "Uniquely identifies the authorization server within the current API Management service instance. The value is a valid relative URL in the format of /authorizationServers/{authsid} where {authsid} is an authorization server identifier." }, "name": { "type": "string", @@ -6164,7 +6161,7 @@ } }, "supportState": { - "type": "boolean", + "type": "boolean", "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", "externalDocs": { "url": "http://tools.ietf.org/html/rfc6749#section-3.1" @@ -6241,31 +6238,31 @@ ], "description": "External OAuth authorization server settings.", "example": { - "id": "/authorizationServers/554be23d0fce600674232c33", - "name": "AAD OAuth A/S", - "description": null, - "clientRegistrationEndpoint": "https://contoso.com/", - "authorizationEndpoint": "https://login.microsoftonline.com/55abb68a-8ews-4565-8675-927722a8a005/oauth2/authorize?api-version=1.0", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Body" - ], - "tokenBodyParameters": [], - "tokenEndpoint": "https://login.microsoftonline.com/55abb68a-8ews-4565-8675-927722a8a005/oauth2/token?api-version=1.0", - "supportState": false, - "defaultScope": null, - "grantTypes": [ - "authorizationCode" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "demo", - "clientSecret": "demo", - "resourceOwnerUsername": null, - "resourceOwnerPassword": null + "id": "/authorizationServers/554be23d0fce600674232c33", + "name": "AAD OAuth A/S", + "description": null, + "clientRegistrationEndpoint": "https://contoso.com/", + "authorizationEndpoint": "https://login.microsoftonline.com/55abb68a-8ews-4565-8675-927722a8a005/oauth2/authorize?api-version=1.0", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Body" + ], + "tokenBodyParameters": [], + "tokenEndpoint": "https://login.microsoftonline.com/55abb68a-8ews-4565-8675-927722a8a005/oauth2/token?api-version=1.0", + "supportState": false, + "defaultScope": null, + "grantTypes": [ + "authorizationCode" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "demo", + "clientSecret": "demo", + "resourceOwnerUsername": null, + "resourceOwnerPassword": null } }, "AuthorizationServerCollection": { @@ -6288,9 +6285,9 @@ } }, "description": "Paged OAuth2 Authorization Servers list representation." - }, + }, "OAuth2AuthorizationServerUpdateContract": { - "properties": { + "properties": { "name": { "type": "string", "description": "User-friendly authorization server name.", @@ -6360,7 +6357,7 @@ } }, "supportState": { - "type": "boolean", + "type": "boolean", "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", "externalDocs": { "url": "http://tools.ietf.org/html/rfc6749#section-3.1" @@ -6428,8 +6425,8 @@ "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." } }, - "description": "External OAuth authorization server Update settings contract." - }, + "description": "External OAuth authorization server Update settings contract." + }, "RegionContract": { "properties": { "name": { @@ -6669,15 +6666,15 @@ "type": "string" }, "description": "The name and SendRule connection string of the event hub.", - "example":{ - "name" : "apim", - "connectionString" : "Endpoint=sb://contoso-ns.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=..." - } + "example": { + "name": "apim", + "connectionString": "Endpoint=sb://contoso-ns.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=..." + } }, "isBuffered": { "type": "boolean", "description": "Whether records are buffered in the logger before publishing. Default is assumed to be true.", - "default": true + "default": true } }, "required": [ @@ -6730,9 +6727,9 @@ "type": "string" }, "description": "The name and SendRule connection string of the event hub.", - "example":{ - "name" : "Event hub name. This is optional.", - "connectionString" : "Endpoint=endpoint and key from Azure classic portal. This property in credentials is must." + "example": { + "name": "Event hub name. This is optional.", + "connectionString": "Endpoint=endpoint and key from Azure classic portal. This property in credentials is must." } }, "isBuffered": { @@ -6779,7 +6776,7 @@ "type" ], "description": "Parameters supplied to the Update Logger operation." - }, + }, "BackendResponse": { "properties": { "id": { @@ -6816,7 +6813,7 @@ }, "description": "Paged Backend list representation." }, - "BackendContract": { + "BackendContract": { "properties": { "host": { "type": "string", @@ -6827,7 +6824,7 @@ "skipCertificateChainValidation": { "type": "boolean", "description": "Flag indicating whether SSL certificate chain validation should be skipped when using self-signed certificates for this backend host.", - "default": false + "default": false } }, "required": [ @@ -6846,7 +6843,7 @@ "skipCertificateChainValidation": { "type": "boolean", "description": "Flag indicating whether SSL certificate chain validation should be skipped when using self-signed certificates for this backend host.", - "default": false + "default": false } }, "description": "Parameters supplied to the Update Backend operation." @@ -6887,14 +6884,14 @@ "twitter", "aad" ], - "x-ms-enum": { - "name": "IdentityProviderNameType", - "modelAsString": true + "x-ms-enum": { + "name": "IdentityProviderNameType", + "modelAsString": true }, - "description": "Identity Provider Type identifier." + "description": "Identity Provider Type identifier." }, "allowedTenants": { - "type": "array", + "type": "array", "items": { "type": "string" }, @@ -6910,7 +6907,7 @@ }, "IdentityProviderUpdateParameters": { "properties": { - "clientId": { + "clientId": { "type": "string", "description": "Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.", "minLength": 1 @@ -6921,7 +6918,7 @@ "minLength": 1 }, "allowedTenants": { - "type": "array", + "type": "array", "items": { "type": "string" }, @@ -7027,7 +7024,7 @@ }, "PropertyUpdateParameters": { "properties": { - "name": { + "name": { "type": "string", "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", "minLength": 1, @@ -7211,12 +7208,12 @@ "statusCode": { "type": "string", "enum": [ - "Continue", + "Continue", "OK", "Created", - "Accepted", - "NotFound", - "Conflict" + "Accepted", + "NotFound", + "Conflict" ], "x-ms-enum": { "name": "HttpStatusCode", @@ -7378,7 +7375,7 @@ }, "description": "Paged Quota Counter list representation." }, - "QuotaCounterContract": { + "QuotaCounterContract": { "properties": { "counterKey": { "type": "string", @@ -7414,7 +7411,7 @@ ], "description": "Quota counter details." }, - "QuotaCounterValueContract": { + "QuotaCounterValueContract": { "properties": { "callsCount": { "type": "integer", @@ -7474,7 +7471,7 @@ "maxLength": 256, "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" - }, + }, "OperationIdParameter": { "name": "operationId", "in": "path", @@ -7573,17 +7570,17 @@ "name": "quotaCounterKey", "in": "path", "required": true, - "type": "string", - "description": "Quota counter key identifier.", + "type": "string", + "description": "Quota counter key identifier.", "x-ms-parameter-location": "method" }, "QuotaPeriodKeyParameter": { "name": "quotaPeriodKey", "in": "path", "required": true, - "type": "string", - "description": "Quota period key identifier.", + "type": "string", + "description": "Quota period key identifier.", "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json index 33442505f330..3dc134781289 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json @@ -342,7 +342,7 @@ } ], "responses": { - "200": { + "200": { "description": "Service was successfully deleted." }, "204": { @@ -388,8 +388,8 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service/": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service/": { + "get": { "tags": [ "ApiManagementService" ], @@ -946,10 +946,10 @@ } }, "allOf": [ - { - "$ref" : "#/definitions/ApiManagementServiceBaseParameters" - } - ], + { + "$ref": "#/definitions/ApiManagementServiceBaseParameters" + } + ], "required": [ "sku", "properties", @@ -1157,4 +1157,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json index 0e12b9c9991d..6b25b9b9a145 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json @@ -76,8 +76,8 @@ "responses": { "200": { "description": "Returns an array of Policy Contracts.", - "schema": { - "$ref": "#/definitions/PolicySnippetsCollection" + "schema": { + "$ref": "#/definitions/PolicySnippetsCollection" } } } @@ -118,7 +118,7 @@ } } }, - "definitions": { + "definitions": { "ErrorFieldContract": { "properties": { "code": { @@ -235,58 +235,58 @@ } }, "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Version of the API to be used with the client request." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "ServiceNameParameter": { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the API Management service.", - "minLength": 1, - "maxLength": 50, - "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$", - "x-ms-parameter-location": "method" - }, - "SkipQueryParameter": { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Number of records to skip.", - "minimum": 0, - "x-ms-parameter-location": "method" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "TopQueryParameter": { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Number of records to return.", - "minimum": 1, - "x-ms-parameter-location": "method" - } + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ServiceNameParameter": { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the API Management service.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$", + "x-ms-parameter-location": "method" + }, + "SkipQueryParameter": { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Number of records to skip.", + "minimum": 0, + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "TopQueryParameter": { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Number of records to return.", + "minimum": 1, + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimapis.json index 8cd734f95254..aed2a784c398 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimapis.json @@ -83,7 +83,7 @@ "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -127,11 +127,11 @@ "schema": { "$ref": "#/definitions/ApiContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -185,7 +185,7 @@ "201": { "description": "API was successfully created." }, - "204":{ + "204": { "description": "API was successfully updated." }, "default": { @@ -380,11 +380,11 @@ "schema": { "$ref": "#/definitions/OperationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -434,7 +434,7 @@ "201": { "description": "Operation was successfully created." }, - "204":{ + "204": { "description": "Operation was successfully updated." }, "default": { @@ -533,7 +533,7 @@ } ], "responses": { - "204": { + "204": { "description": "The operation was successfully deleted." }, "default": { @@ -576,16 +576,16 @@ } ], "responses": { - "200": { + "200": { "description": "Api Operation Policy information.", "schema": { "type": "file" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -640,7 +640,7 @@ "201": { "description": "Api Operation policy configuration was successfully created." }, - "204":{ + "204": { "description": "Api Operation policy configuration of the tenant was successfully updated." }, "default": { @@ -650,7 +650,7 @@ } } } - }, + }, "delete": { "tags": [ "ApiOperationsPolicy" @@ -685,7 +685,7 @@ } ], "responses": { - "204": { + "204": { "description": "Successfully deleted the policy configuration at the API Operation level." }, "default": { @@ -782,16 +782,16 @@ } ], "responses": { - "200": { + "200": { "description": "Api Policy information.", "schema": { "type": "file" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -843,7 +843,7 @@ "201": { "description": "Api policy configuration was successfully created." }, - "204":{ + "204": { "description": "Api policy configuration of the tenant was successfully updated." }, "default": { @@ -853,7 +853,7 @@ } } } - }, + }, "delete": { "tags": [ "ApiPolicy" @@ -885,7 +885,7 @@ } ], "responses": { - "204": { + "204": { "description": "Successfully deleted the policy configuration at the API level." }, "default": { @@ -899,7 +899,7 @@ } }, "x-ms-paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}?export=true": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}?export=true": { "get": { "tags": [ "Apis" @@ -907,7 +907,7 @@ "operationId": "ApiExport_Get", "description": "Gets the details of the API specified by its identifier.", "parameters": [ - { + { "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" }, { @@ -940,7 +940,7 @@ } } }, - "definitions": { + "definitions": { "ApiCollection": { "properties": { "value": { @@ -1395,27 +1395,27 @@ } }, "parameters": { - "ApiIdParameter": { - "name": "apiId", - "in": "path", - "required": true, - "type": "string", - "description": "API identifier. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - }, - "OperationIdParameter": { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "Operation identifier within an API. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "ApiIdParameter": { + "name": "apiId", + "in": "path", + "required": true, + "type": "string", + "description": "API identifier. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + }, + "OperationIdParameter": { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "Operation identifier within an API. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json index 4840f2a600ec..866a79abf6d0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json @@ -56,7 +56,7 @@ "in": "query", "required": false, "type": "string", - "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" + "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" }, { "$ref": "./apimanagement.json#/parameters/TopQueryParameter" @@ -77,7 +77,7 @@ "schema": { "$ref": "#/definitions/AuthorizationServerCollection" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -101,7 +101,7 @@ }, { "$ref": "#/parameters/AuthenticationServerIdParameter" - }, + }, { "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" }, @@ -115,11 +115,11 @@ "schema": { "$ref": "#/definitions/OAuth2AuthorizationServerContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -272,339 +272,339 @@ } } }, - "definitions": { - "AuthorizationServerCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OAuth2AuthorizationServerContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged OAuth2 Authorization Servers list representation." - }, - "OAuth2AuthorizationServerContract": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Uniquely identifies the authorization server within the current API Management service instance. The value is a valid relative URL in the format of /authorizationServers/{authsid} where {authsid} is an authorization server identifier." - }, - "name": { - "type": "string", - "description": "User-friendly authorization server name.", - "minLength": 1, - "maxLength": 50 - }, - "description": { - "type": "string", - "description": "Description of the authorization server. Can contain HTML formatting tags." - }, - "clientRegistrationEndpoint": { - "type": "string", - "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." - }, - "authorizationEndpoint": { - "type": "string", - "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." - }, - "authorizationMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "x-ms-enum": { - "name": "MethodContract", - "modelAsString": false - } - }, - "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." - }, - "clientAuthenticationMethod": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Basic", - "Body" - ], - "x-ms-enum": { - "name": "ClientAuthenticationMethodContract", - "modelAsString": false - } - }, - "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." - }, - "tokenBodyParameters": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenBodyParameterContract" - }, - "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." - }, - "tokenEndpoint": { - "type": "string", - "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "supportState": { - "type": "boolean", - "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "defaultScope": { - "type": "string", - "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.3" - } - }, - "grantTypes": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationCode", - "implicit", - "resourceOwnerPassword", - "clientCredentials" - ], - "x-ms-enum": { - "name": "GrantTypesContract", - "modelAsString": false - } - }, - "description": "Form of an authorization grant, which the client uses to request the access token.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "bearerTokenSendingMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationHeader", - "query" - ], - "x-ms-enum": { - "name": "BearerTokenSendingMethodsContract", - "modelAsString": false - } - }, - "description": "Specifies the mechanism by which access token is passed to the API. ", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "clientId": { - "type": "string", - "description": "Client or app id registered with this authorization server." - }, - "clientSecret": { - "type": "string", - "description": "Client or app secret registered with this authorization server." - }, - "resourceOwnerUsername": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." - }, - "resourceOwnerPassword": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." - } - }, - "required": [ - "name", - "clientRegistrationEndpoint", - "authorizationEndpoint", - "clientId", - "grantTypes" - ], - "description": "External OAuth authorization server settings." - }, - "OAuth2AuthorizationServerUpdateContract": { - "properties": { - "name": { - "type": "string", - "description": "User-friendly authorization server name.", - "minLength": 1, - "maxLength": 50 - }, - "description": { - "type": "string", - "description": "Description of the authorization server. Can contain HTML formatting tags." - }, - "clientRegistrationEndpoint": { - "type": "string", - "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." - }, - "authorizationEndpoint": { - "type": "string", - "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." - }, - "authorizationMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "x-ms-enum": { - "name": "MethodContract", - "modelAsString": false - } - }, - "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." - }, - "clientAuthenticationMethod": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Basic", - "Body" - ], - "x-ms-enum": { - "name": "ClientAuthenticationMethodContract", - "modelAsString": false - } - }, - "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." - }, - "tokenBodyParameters": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenBodyParameterContract" - }, - "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." - }, - "tokenEndpoint": { - "type": "string", - "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "supportState": { - "type": "boolean", - "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "defaultScope": { - "type": "string", - "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.3" - } - }, - "grantTypes": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationCode", - "implicit", - "resourceOwnerPassword", - "clientCredentials" - ], - "x-ms-enum": { - "name": "GrantTypesContract", - "modelAsString": false - } - }, - "description": "Form of an authorization grant, which the client uses to request the access token.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "bearerTokenSendingMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationHeader", - "query" - ], - "x-ms-enum": { - "name": "BearerTokenSendingMethodsContract", - "modelAsString": false - } - }, - "description": "Specifies the mechanism by which access token is passed to the API. ", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "clientId": { - "type": "string", - "description": "Client or app id registered with this authorization server." - }, - "clientSecret": { - "type": "string", - "description": "Client or app secret registered with this authorization server." - }, - "resourceOwnerUsername": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." - }, - "resourceOwnerPassword": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." - } - }, - "description": "External OAuth authorization server Update settings contract." - }, - "TokenBodyParameterContract": { - "properties": { - "name": { - "type": "string", - "description": "body parameter name." - }, - "value": { - "type": "string", - "description": "body parameter value." - } - }, - "required": [ - "name", - "value" - ], - "description": "OAuth acquire token request body parameter (www-url-form-encoded)." - } + "definitions": { + "AuthorizationServerCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OAuth2AuthorizationServerContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged OAuth2 Authorization Servers list representation." + }, + "OAuth2AuthorizationServerContract": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Uniquely identifies the authorization server within the current API Management service instance. The value is a valid relative URL in the format of /authorizationServers/{authsid} where {authsid} is an authorization server identifier." + }, + "name": { + "type": "string", + "description": "User-friendly authorization server name.", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "type": "string", + "description": "Description of the authorization server. Can contain HTML formatting tags." + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "authorizationMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HEAD", + "OPTIONS", + "TRACE", + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ], + "x-ms-enum": { + "name": "MethodContract", + "modelAsString": false + } + }, + "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." + }, + "clientAuthenticationMethod": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Basic", + "Body" + ], + "x-ms-enum": { + "name": "ClientAuthenticationMethodContract", + "modelAsString": false + } + }, + "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." + }, + "tokenBodyParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenBodyParameterContract" + }, + "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." + }, + "tokenEndpoint": { + "type": "string", + "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "supportState": { + "type": "boolean", + "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "defaultScope": { + "type": "string", + "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.3" + } + }, + "grantTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ], + "x-ms-enum": { + "name": "GrantTypesContract", + "modelAsString": false + } + }, + "description": "Form of an authorization grant, which the client uses to request the access token.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "bearerTokenSendingMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ], + "x-ms-enum": { + "name": "BearerTokenSendingMethodsContract", + "modelAsString": false + } + }, + "description": "Specifies the mechanism by which access token is passed to the API. ", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + }, + "clientSecret": { + "type": "string", + "description": "Client or app secret registered with this authorization server." + }, + "resourceOwnerUsername": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." + }, + "resourceOwnerPassword": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." + } + }, + "required": [ + "name", + "clientRegistrationEndpoint", + "authorizationEndpoint", + "clientId", + "grantTypes" + ], + "description": "External OAuth authorization server settings." + }, + "OAuth2AuthorizationServerUpdateContract": { + "properties": { + "name": { + "type": "string", + "description": "User-friendly authorization server name.", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "type": "string", + "description": "Description of the authorization server. Can contain HTML formatting tags." + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "authorizationMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HEAD", + "OPTIONS", + "TRACE", + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ], + "x-ms-enum": { + "name": "MethodContract", + "modelAsString": false + } + }, + "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." + }, + "clientAuthenticationMethod": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Basic", + "Body" + ], + "x-ms-enum": { + "name": "ClientAuthenticationMethodContract", + "modelAsString": false + } + }, + "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." + }, + "tokenBodyParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenBodyParameterContract" + }, + "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." + }, + "tokenEndpoint": { + "type": "string", + "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "supportState": { + "type": "boolean", + "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "defaultScope": { + "type": "string", + "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.3" + } + }, + "grantTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ], + "x-ms-enum": { + "name": "GrantTypesContract", + "modelAsString": false + } + }, + "description": "Form of an authorization grant, which the client uses to request the access token.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "bearerTokenSendingMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ], + "x-ms-enum": { + "name": "BearerTokenSendingMethodsContract", + "modelAsString": false + } + }, + "description": "Specifies the mechanism by which access token is passed to the API. ", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + }, + "clientSecret": { + "type": "string", + "description": "Client or app secret registered with this authorization server." + }, + "resourceOwnerUsername": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." + }, + "resourceOwnerPassword": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." + } + }, + "description": "External OAuth authorization server Update settings contract." + }, + "TokenBodyParameterContract": { + "properties": { + "name": { + "type": "string", + "description": "body parameter name." + }, + "value": { + "type": "string", + "description": "body parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "OAuth acquire token request body parameter (www-url-form-encoded)." + } }, "parameters": { "AuthenticationServerIdParameter": { @@ -618,4 +618,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json index 6d94733c69b4..57496f66450f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json @@ -121,11 +121,11 @@ "schema": { "$ref": "#/definitions/BackendResponse" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -223,7 +223,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing backend was successfully updated." }, "default": { @@ -278,255 +278,255 @@ } } }, - "definitions": { - "BackendAuthorizationHeaderCredentials": { - "properties": { - "scheme": { - "type": "string", - "description": "Authentication Scheme name.", - "minLength": 1, - "maxLength": 100 - }, - "parameter": { - "type": "string", - "description": "Authentication Parameter value.", - "minLength": 1, - "maxLength": 300 - } - }, - "required": [ - "scheme", - "parameter" - ], - "description": "Authorization header information." - }, - "BackendBaseParameters": { - "properties": { - "title": { - "type": "string", - "description": "Backend Title.", - "minLength": 1, - "maxLength": 300 - }, - "description": { - "type": "string", - "description": "Backend Description.", - "minLength": 1, - "maxLength": 2000 - }, - "resourceId": { - "type": "string", - "description": "Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.", - "minLength": 1, - "maxLength": 2000 - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BackendProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackendCredentialsContract" - }, - { - "$ref": "#/definitions/BackendProxyContract" - } - ], - "description": "Backend entity base Parameter set." - }, - "BackendCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BackendResponse" - }, - "description": "Backend values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Backend list representation." - }, - "BackendContract": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the backend within the current API Management service instance. The value is a valid relative URL in the format of /backends/{backendId} where {backendId} is a backend identifier.", - "readOnly": true - }, - "url": { - "type": "string", - "description": "Runtime Url of the Backend.", - "minLength": 1, - "maxLength": 2000 - }, - "protocol": { - "type": "string", - "enum": [ - "http", - "soap" - ], - "x-ms-enum": { - "name": "BackendProtocol", - "modelAsString": true - }, - "description": "Backend communication protocol." - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackendBaseParameters" - } - ], - "required": [ - "url", - "protocol" - ], - "description": "Parameters supplied to the Create Backend operation." - }, - "BackendCredentialsContract": { - "properties": { - "certificate": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 32, - "description": "List of Client Certificate Thumbprint." - }, - "query": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Query Parameter description." - }, - "header": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Header Parameter description." - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackendAuthorizationHeaderCredentials" - } - ], - "description": "Details of the Credentials used to connect to Backend." - }, - "BackendProperties": { - "properties": { - "skipCertificateChainValidation": { - "type": "boolean", - "description": "Flag indicating whether SSL certificate chain validation should be skipped when using self-signed certificates for this backend host.", - "default": false - }, - "skipCertificateNameValidation": { - "type": "boolean", - "description": "Flag indicating whether SSL certificate name validation should be skipped when using self-signed certificates for this backend host.", - "default": false - } - }, - "description": "Properties specific to a Backend." - }, - "BackendProxyContract": { - "externalDocs": { - "url": "https://msdn.microsoft.com/en-us/library/system.net.webproxy(v=vs.110).aspx", - "description": "Backend entity uses these details to connect to a WebProxy." - }, - "properties": { - "url": { - "type": "string", - "description": "WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings.", - "minLength": 1, - "maxLength": 2000 - }, - "username": { - "type": "string", - "description": "Username to connect to the WebProxy server" - }, - "password": { - "type": "string", - "description": "Password to connect to the WebProxy Server" - } - }, - "required": [ - "url" - ], - "description": "Details of the Backend WebProxy Server to use in the Request to Backend." - }, - "BackendResponse": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the backend within the current API Management service instance. The value is a valid relative URL in the format of /backends/{backendId} where {backendId} is a backend identifier.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackendContract" - } - ], - "description": "The Backend entity in API Management represents a backend service that is configured to skip certification chain validation when using a self-signed certificate to test mutual certificate authentication." - }, - "BackendUpdateParameters": { - "properties": { - "url": { - "type": "string", - "description": "Runtime Url of the Backend.", - "minLength": 1, - "maxLength": 2000 - }, - "protocol": { - "type": "string", - "enum": [ - "http", - "soap" - ], - "x-ms-enum": { - "name": "BackendProtocol", - "modelAsString": true - }, - "description": "Backend communication protocol." - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackendBaseParameters" - } - ], - "description": "Parameters supplied to the Update Backend operation." - } + "definitions": { + "BackendAuthorizationHeaderCredentials": { + "properties": { + "scheme": { + "type": "string", + "description": "Authentication Scheme name.", + "minLength": 1, + "maxLength": 100 + }, + "parameter": { + "type": "string", + "description": "Authentication Parameter value.", + "minLength": 1, + "maxLength": 300 + } + }, + "required": [ + "scheme", + "parameter" + ], + "description": "Authorization header information." + }, + "BackendBaseParameters": { + "properties": { + "title": { + "type": "string", + "description": "Backend Title.", + "minLength": 1, + "maxLength": 300 + }, + "description": { + "type": "string", + "description": "Backend Description.", + "minLength": 1, + "maxLength": 2000 + }, + "resourceId": { + "type": "string", + "description": "Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.", + "minLength": 1, + "maxLength": 2000 + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BackendProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackendCredentialsContract" + }, + { + "$ref": "#/definitions/BackendProxyContract" + } + ], + "description": "Backend entity base Parameter set." + }, + "BackendCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BackendResponse" + }, + "description": "Backend values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Backend list representation." + }, + "BackendContract": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the backend within the current API Management service instance. The value is a valid relative URL in the format of /backends/{backendId} where {backendId} is a backend identifier.", + "readOnly": true + }, + "url": { + "type": "string", + "description": "Runtime Url of the Backend.", + "minLength": 1, + "maxLength": 2000 + }, + "protocol": { + "type": "string", + "enum": [ + "http", + "soap" + ], + "x-ms-enum": { + "name": "BackendProtocol", + "modelAsString": true + }, + "description": "Backend communication protocol." + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackendBaseParameters" + } + ], + "required": [ + "url", + "protocol" + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "BackendCredentialsContract": { + "properties": { + "certificate": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 32, + "description": "List of Client Certificate Thumbprint." + }, + "query": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Query Parameter description." + }, + "header": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Header Parameter description." + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackendAuthorizationHeaderCredentials" + } + ], + "description": "Details of the Credentials used to connect to Backend." + }, + "BackendProperties": { + "properties": { + "skipCertificateChainValidation": { + "type": "boolean", + "description": "Flag indicating whether SSL certificate chain validation should be skipped when using self-signed certificates for this backend host.", + "default": false + }, + "skipCertificateNameValidation": { + "type": "boolean", + "description": "Flag indicating whether SSL certificate name validation should be skipped when using self-signed certificates for this backend host.", + "default": false + } + }, + "description": "Properties specific to a Backend." + }, + "BackendProxyContract": { + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/system.net.webproxy(v=vs.110).aspx", + "description": "Backend entity uses these details to connect to a WebProxy." + }, + "properties": { + "url": { + "type": "string", + "description": "WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings.", + "minLength": 1, + "maxLength": 2000 + }, + "username": { + "type": "string", + "description": "Username to connect to the WebProxy server" + }, + "password": { + "type": "string", + "description": "Password to connect to the WebProxy Server" + } + }, + "required": [ + "url" + ], + "description": "Details of the Backend WebProxy Server to use in the Request to Backend." + }, + "BackendResponse": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the backend within the current API Management service instance. The value is a valid relative URL in the format of /backends/{backendId} where {backendId} is a backend identifier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackendContract" + } + ], + "description": "The Backend entity in API Management represents a backend service that is configured to skip certification chain validation when using a self-signed certificate to test mutual certificate authentication." + }, + "BackendUpdateParameters": { + "properties": { + "url": { + "type": "string", + "description": "Runtime Url of the Backend.", + "minLength": 1, + "maxLength": 2000 + }, + "protocol": { + "type": "string", + "enum": [ + "http", + "soap" + ], + "x-ms-enum": { + "name": "BackendProtocol", + "modelAsString": true + }, + "description": "Backend communication protocol." + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackendBaseParameters" + } + ], + "description": "Parameters supplied to the Update Backend operation." + } }, "parameters": { - "BackendIdParameter": { - "name": "backendid", - "in": "path", - "required": true, - "type": "string", - "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 255, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "BackendIdParameter": { + "name": "backendid", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 255, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json index 7cc24179b4d9..b3d4adf28d25 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json @@ -121,11 +121,11 @@ "schema": { "$ref": "#/definitions/CertificateContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -183,7 +183,7 @@ "201": { "description": "The new certificate was successfully added." }, - "204":{ + "204": { "description": "The certificate details were successfully updated." }, "default": { @@ -240,83 +240,83 @@ }, "definitions": { "CertificateCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CertificateContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Certificates list representation." - }, - "CertificateContract": { - "properties": { - "id": { - "type": "string", - "description": "Certificate identifier path: /certificates/{certificateId}", - "readOnly": true - }, - "subject": { - "type": "string", - "description": "Subject attribute of the certificate." - }, - "thumbprint": { - "type": "string", - "description": "Thumbprint of the certificate." - }, - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - } - }, - "required": [ - "subject", - "thumbprint", - "expirationDate" - ], - "description": "Certificate details." - }, - "CertificateCreateOrUpdateParameters": { - "properties": { - "data": { - "type": "string", - "description": "Base 64 encoded certificate using the application/x-pkcs12 representation." - }, - "password": { - "type": "string", - "description": "Password for the Certificate" - } - }, - "required": [ - "data", - "password" - ], - "description": "Parameters supplied to the CreateOrUpdate certificate operation." - } + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Certificates list representation." + }, + "CertificateContract": { + "properties": { + "id": { + "type": "string", + "description": "Certificate identifier path: /certificates/{certificateId}", + "readOnly": true + }, + "subject": { + "type": "string", + "description": "Subject attribute of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Thumbprint of the certificate." + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + } + }, + "required": [ + "subject", + "thumbprint", + "expirationDate" + ], + "description": "Certificate details." + }, + "CertificateCreateOrUpdateParameters": { + "properties": { + "data": { + "type": "string", + "description": "Base 64 encoded certificate using the application/x-pkcs12 representation." + }, + "password": { + "type": "string", + "description": "Password for the Certificate" + } + }, + "required": [ + "data", + "password" + ], + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + } }, "parameters": { - "CertificateIdParameter": { - "name": "certificateId", - "in": "path", - "required": true, - "type": "string", - "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "CertificateIdParameter": { + "name": "certificateId", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json index 50770775b5df..08f240e852fc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json @@ -66,8 +66,10 @@ ], "operationId": "ApiManagementServices_ManageDeployments", "description": "Manages deployments of an API Management service. This operation can be used to do the following: Change SKU, Change SKU Units, Change Service Tier (Developer/Standard/Premium) and Manage VPN Configuration. This is a long running operation and can take several minutes to complete.", - "x-ms-examples": { - "ApiManagementServiceManageDeployment": { "$ref": "./examples/ApiManagementServiceManageDeployment.json" } + "x-ms-examples": { + "ApiManagementServiceManageDeployment": { + "$ref": "./examples/ApiManagementServiceManageDeployment.json" + } }, "parameters": [ { @@ -122,8 +124,10 @@ ], "operationId": "ApiManagementServices_Restore", "description": "Restores a backup of an API Management service created using the ApiManagementServices_Backup operation on the current service. This is a long running operation and could take several minutes to complete.", - "x-ms-examples": { - "ApiManagementRestoreService": { "$ref": "./examples/ApiManagementRestoreService.json" } + "x-ms-examples": { + "ApiManagementRestoreService": { + "$ref": "./examples/ApiManagementRestoreService.json" + } }, "parameters": [ { @@ -175,8 +179,10 @@ ], "operationId": "ApiManagementServices_Backup", "description": "Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.", - "x-ms-examples": { - "ApiManagementCreateBackup": { "$ref": "./examples/ApiManagementCreateBackup.json" } + "x-ms-examples": { + "ApiManagementCreateBackup": { + "$ref": "./examples/ApiManagementCreateBackup.json" + } }, "parameters": [ { @@ -228,8 +234,10 @@ ], "operationId": "ApiManagementServices_CreateOrUpdate", "description": "Creates or updates an API Management service. This is long running operation and could take several minutes to complete.", - "x-ms-examples": { - "ApiManagementCreateService": { "$ref": "./examples/ApiManagementCreateService.json" } + "x-ms-examples": { + "ApiManagementCreateService": { + "$ref": "./examples/ApiManagementCreateService.json" + } }, "parameters": [ { @@ -379,7 +387,7 @@ } ], "responses": { - "200": { + "200": { "description": "Service was successfully deleted." }, "204": { @@ -425,14 +433,14 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service/": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service/": { + "get": { "tags": [ "ApiManagementService" ], "operationId": "ApiManagementServices_List", "description": "Lists all API Management services within an Azure subscription.", - "parameters": [ + "parameters": [ { "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" }, @@ -460,8 +468,10 @@ ], "operationId": "ApiManagementServices_GetSsoToken", "description": "Gets the Single-Sign-On token for the API Management Service which is valid for 5 Minutes.", - "x-ms-examples": { - "ApiManagementServiceGetSsoToken": { "$ref": "./examples/ApiManagementServiceGetSsoToken.json" } + "x-ms-examples": { + "ApiManagementServiceGetSsoToken": { + "$ref": "./examples/ApiManagementServiceGetSsoToken.json" + } }, "parameters": [ { @@ -495,8 +505,10 @@ ], "operationId": "ApiManagementServices_CheckNameAvailability", "description": "Checks availability and correctness of a name for an API Management service.", - "x-ms-examples": { - "ApiManagementServiceCheckNameAvailability": { "$ref": "./examples/ApiManagementServiceCheckNameAvailability.json" } + "x-ms-examples": { + "ApiManagementServiceCheckNameAvailability": { + "$ref": "./examples/ApiManagementServiceCheckNameAvailability.json" + } }, "parameters": [ { @@ -532,8 +544,10 @@ ], "operationId": "ApiManagementServices_UploadCertificate", "description": "Upload Custom Domain SSL certificate for an API Management service.", - "x-ms-examples": { - "ApiManagementServiceUploadProxyCertificate": { "$ref": "./examples/ApiManagementServiceUploadProxyCertificate.json" } + "x-ms-examples": { + "ApiManagementServiceUploadProxyCertificate": { + "$ref": "./examples/ApiManagementServiceUploadProxyCertificate.json" + } }, "parameters": [ { @@ -570,7 +584,7 @@ "schema": { "$ref": "#/definitions/ErrorResponse" } - } + } } } }, @@ -581,8 +595,10 @@ ], "operationId": "ApiManagementServices_UpdateHostname", "description": "Creates, updates, or deletes the custom hostnames for an API Management service. The custom hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and could take several minutes to complete.", - "x-ms-examples": { - "ApiManagementServiceUpdateHostName": { "$ref": "./examples/ApiManagementServiceUpdateHostName.json" } + "x-ms-examples": { + "ApiManagementServiceUpdateHostName": { + "$ref": "./examples/ApiManagementServiceUpdateHostName.json" + } }, "parameters": [ { @@ -637,8 +653,10 @@ ], "operationId": "ApiManagementServices_ApplyNetworkConfigurationUpdates", "description": "Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated network settings.", - "x-ms-examples": { - "ApiManagementApplyNetworkConfigurationUpdates": { "$ref": "./examples/ApiManagementApplyNetworkConfigurationUpdates.json" } + "x-ms-examples": { + "ApiManagementApplyNetworkConfigurationUpdates": { + "$ref": "./examples/ApiManagementApplyNetworkConfigurationUpdates.json" + } }, "parameters": [ { @@ -730,7 +748,7 @@ "certificate" ], "description": "Custom hostname configuration." - }, + }, "VirtualNetworkConfiguration": { "properties": { "vnetid": { @@ -763,7 +781,7 @@ }, "skuType": { "type": "string", - "description": "The SKU type in the location.", + "description": "The SKU type in the location.", "enum": [ "Developer", "Standard", @@ -914,7 +932,7 @@ "runtimeUrl": { "type": "string", "description": "Proxy endpoint URL of the API Management service.", - "readOnly": true + "readOnly": true }, "portalUrl": { "type": "string", @@ -952,7 +970,7 @@ }, "vpnconfiguration": { "$ref": "#/definitions/VirtualNetworkConfiguration", - "description": "Virtual network configuration of the API Management service." + "description": "Virtual network configuration of the API Management service." }, "additionalLocations": { "type": "array", @@ -981,7 +999,7 @@ "name": "VirtualNetworkType", "modelAsString": false } - } + } }, "required": [ "publisherEmail", @@ -1019,27 +1037,27 @@ ], "description": "API Management service resource SKU properties." }, - "ApiManagementServiceResource":{ + "ApiManagementServiceResource": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApiManagementServiceProperties", - "description": "Properties of the API Management service." - }, - "sku": { - "$ref": "#/definitions/ApiManagementServiceSkuProperties", - "description": "SKU properties of the API Management service." - }, - "etag": { - "type": "string", - "description": "ETag of the resource.", - "readOnly": true + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApiManagementServiceProperties", + "description": "Properties of the API Management service." + }, + "sku": { + "$ref": "#/definitions/ApiManagementServiceSkuProperties", + "description": "SKU properties of the API Management service." + }, + "etag": { + "type": "string", + "description": "ETag of the resource.", + "readOnly": true } }, "allOf": [ - { - "$ref": "#/definitions/Resource" - } + { + "$ref": "#/definitions/Resource" + } ], "required": [ "sku", @@ -1058,7 +1076,7 @@ "name": { "type": "string", "description": "Resource name.", - "x-ms-mutability":[ + "x-ms-mutability": [ "read", "create" ] @@ -1071,7 +1089,7 @@ "location": { "type": "string", "description": "Resource location.", - "x-ms-mutability":[ + "x-ms-mutability": [ "read", "create" ] @@ -1240,7 +1258,7 @@ }, "description": "Parameters supplied to the UpdateHostname operation." }, - "ErrorResponse": { + "ErrorResponse": { "properties": { "code": { "description": "Error code.", @@ -1285,7 +1303,7 @@ } }, "OperationListResult": { - "description": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", + "description": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", "properties": { "value": { "type": "array", @@ -1301,6 +1319,5 @@ } } }, - "parameters": { - } + "parameters": {} } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json index 087a6639dd89..5ba866a33f01 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json @@ -115,11 +115,11 @@ "schema": { "$ref": "#/definitions/GroupContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -224,7 +224,6 @@ "description": "The specified group cannot be updated because it is a built-in group.", "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" - } }, "default": { @@ -273,7 +272,6 @@ "description": "The specified group cannot be updated because it is a built-in group.", "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" - } }, "default": { @@ -334,7 +332,7 @@ "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } - } + } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -379,7 +377,7 @@ "405": { "description": "Attempt was made to add a user to a built-in group. Built-in group membership is managed by the system.", "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" + "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } }, "default": { @@ -417,14 +415,13 @@ } ], "responses": { - "204": { + "204": { "description": "The user was successfully removed from the group." }, "405": { "description": "Attempt was made to delete a user from a built-in group. Built-in group membership is managed by the API Management service.", "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" - } }, "default": { @@ -438,153 +435,154 @@ } }, "definitions": { - "GroupCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GroupContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Group list representation." - }, - "GroupContract": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the group within the current API Management service instance. The value is a valid relative URL in the format of /groups/{groupId} where {groupId} is a group identifier.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Group name.", - "maxLength": 300, - "minLength": 1 - }, - "description": { - "type": "string", - "description": "Group description. Can contain HTML formatting tags.", - "maxLength": 1000 - }, - "builtIn": { - "readOnly": true, - "type": "boolean", - "description": "true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false." - }, - "type": { - "type": "string", - "description": "Group type.", - "readOnly": true, - "enum": [ - "Custom", - "System", - "External" - ], - "x-ms-enum": { - "name": "GroupTypeContract", - "modelAsString": false - } - }, - "externalId": { - "type": "string", - "description": "For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.", - "readOnly": true - } - }, - "required": [ - "name" - ], - "description": "Developer group." - }, - "GroupCreateParameters": { - "properties": { - "name": { - "type": "string", - "description": "Group name.", - "maxLength": 300, - "minLength": 1 - }, - "description": { - "type": "string", - "description": "Group description." - }, - "type": { - "type": "string", - "description": "Group type.", - "enum": [ - "Custom", - "System", - "External" - ], - "x-ms-enum": { - "name": "GroupTypeContract", - "modelAsString": false - } - }, - "externalId": { - "type": "string", - "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null." - } - }, - "required": [ - "name" - ], - "description": "Parameters supplied to the Create Group operation." - }, - "GroupUpdateParameters": { - "properties": { - "name": { - "type": "string", - "description": "Group name.", - "maxLength": 300, - "minLength": 1 - }, - "description": { - "type": "string", - "description": "Group description." - }, - "type": { - "type": "string", - "description": "Group type.", - "enum": [ - "Custom", - "System", - "External" - ], - "x-ms-enum": { - "name": "GroupTypeContract", - "modelAsString": false - } - }, - "externalId": { - "type": "string", - "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null." } - }, - "description": "Parameters supplied to the Update Group operation." - } + "GroupCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GroupContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Group list representation." + }, + "GroupContract": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the group within the current API Management service instance. The value is a valid relative URL in the format of /groups/{groupId} where {groupId} is a group identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Group name.", + "maxLength": 300, + "minLength": 1 + }, + "description": { + "type": "string", + "description": "Group description. Can contain HTML formatting tags.", + "maxLength": 1000 + }, + "builtIn": { + "readOnly": true, + "type": "boolean", + "description": "true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false." + }, + "type": { + "type": "string", + "description": "Group type.", + "readOnly": true, + "enum": [ + "Custom", + "System", + "External" + ], + "x-ms-enum": { + "name": "GroupTypeContract", + "modelAsString": false + } + }, + "externalId": { + "type": "string", + "description": "For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.", + "readOnly": true + } + }, + "required": [ + "name" + ], + "description": "Developer group." + }, + "GroupCreateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Group name.", + "maxLength": 300, + "minLength": 1 + }, + "description": { + "type": "string", + "description": "Group description." + }, + "type": { + "type": "string", + "description": "Group type.", + "enum": [ + "Custom", + "System", + "External" + ], + "x-ms-enum": { + "name": "GroupTypeContract", + "modelAsString": false + } + }, + "externalId": { + "type": "string", + "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null." + } + }, + "required": [ + "name" + ], + "description": "Parameters supplied to the Create Group operation." + }, + "GroupUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Group name.", + "maxLength": 300, + "minLength": 1 + }, + "description": { + "type": "string", + "description": "Group description." + }, + "type": { + "type": "string", + "description": "Group type.", + "enum": [ + "Custom", + "System", + "External" + ], + "x-ms-enum": { + "name": "GroupTypeContract", + "modelAsString": false + } + }, + "externalId": { + "type": "string", + "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null." + } + }, + "description": "Parameters supplied to the Update Group operation." + } }, "parameters": { - "GroupIdParameter": { - "name": "groupId", - "in": "path", - "required": true, - "type": "string", - "description": "Group identifier. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "GroupIdParameter": { + "name": "groupId", + "in": "path", + "required": true, + "type": "string", + "description": "Group identifier. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json index f57fa0307049..9f51dc8ae511 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json @@ -53,7 +53,7 @@ }, { "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - } + } ], "responses": { "200": { @@ -101,11 +101,11 @@ "schema": { "$ref": "#/definitions/IdentityProviderContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -203,7 +203,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing identity provider configuration was successfully updated." }, "default": { @@ -342,25 +342,25 @@ } }, "parameters": { - "IdentityProviderNameParameter": { - "name": "identityProviderName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "facebook", - "google", - "microsoft", - "twitter", - "aad", - "aadB2C" - ], - "x-ms-enum": { - "name": "IdentityProviderNameType", - "modelAsString": true - }, - "description": "Identity Provider Type identifier.", - "x-ms-parameter-location": "method" - } + "IdentityProviderNameParameter": { + "name": "identityProviderName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ], + "x-ms-enum": { + "name": "IdentityProviderNameType", + "modelAsString": true + }, + "description": "Identity Provider Type identifier.", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json index b3f57fbfb00b..4fcfce7039ef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json @@ -3,7 +3,7 @@ "info": { "title": "ApiManagementClient", "description": "Use these REST APIs for performing operations on logger entity Azure API Management deployment.The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure EventHub.", - "version": "2016-10-10" + "version": "2016-10-10" }, "host": "management.azure.com", "schemes": [ @@ -121,11 +121,11 @@ "schema": { "$ref": "#/definitions/LoggerResponse" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -223,7 +223,7 @@ } ], "responses": { - "204": { + "204": { "description": "The existing logger was successfully updated." }, "default": { @@ -421,15 +421,15 @@ } }, "parameters": { - "LoggerIdParameter": { - "name": "loggerid", - "in": "path", - "required": true, - "type": "string", - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "description": "Logger identifier. Must be unique in the API Management service instance.", - "x-ms-parameter-location": "method" - } + "LoggerIdParameter": { + "name": "loggerid", + "in": "path", + "required": true, + "type": "string", + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "description": "Logger identifier. Must be unique in the API Management service instance.", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json index 7c75eed6844a..1667783df136 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json @@ -41,8 +41,10 @@ ], "operationId": "NetworkStatus_GetByService", "description": "Gets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.", - "x-ms-examples": { - "ApiManagementServiceGetNetworkStatus": { "$ref": "./examples/ApiManagementServiceGetNetworkStatus.json" } + "x-ms-examples": { + "ApiManagementServiceGetNetworkStatus": { + "$ref": "./examples/ApiManagementServiceGetNetworkStatus.json" + } }, "parameters": [ { @@ -75,7 +77,7 @@ } } }, - "definitions": { + "definitions": { "ConnectivityStatusContract": { "properties": { "name": { @@ -143,6 +145,5 @@ "description": "Network Status details." } }, - "parameters": { - } + "parameters": {} } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json index 90b3c674780c..f3a26765e4a3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json @@ -112,11 +112,11 @@ "schema": { "$ref": "#/definitions/OpenidConnectProviderContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -124,7 +124,7 @@ "schema": { "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } - } + } } }, "put": { @@ -142,7 +142,7 @@ }, { "$ref": "#/parameters/OpenIdConnectIdParameter" - }, + }, { "name": "parameters", "in": "body", @@ -161,7 +161,7 @@ ], "responses": { "201": { - "description": "OpenIdConnect Provider was successfully created." + "description": "OpenIdConnect Provider was successfully created." }, "204": { "description": "OpenIdConnect Provider was successfully updated." @@ -262,7 +262,7 @@ "405": { "description": "The specified OpenIdConnect Provider cannot be deleted because it is in use in a policy. You must remove all references to this property before it can be deleted.", "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" + "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } }, "default": { @@ -276,130 +276,130 @@ } }, "definitions": { - "OpenIdConnectProviderCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OpenidConnectProviderContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged OpenIdProviders list representation." - }, - "OpenidConnectProviderContract": { - "properties": { - "id": { - "type": "string", - "description": "OpenID Connect Provider identifier." - }, - "name": { - "type": "string", - "description": "User-friendly OpenID Connect Provider name.", - "maxLength": 50 - }, - "description": { - "type": "string", - "description": "User-friendly description of OpenID Connect Provider." - }, - "metadataEndpoint": { - "type": "string", - "description": "Metadata endpoint URI." - }, - "clientId": { - "type": "string", - "description": "Client ID of developer console which is the client application." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret of developer console which is the client application." - } - }, - "required": [ - "name", - "metadataEndpoint", - "clientId" - ], - "description": "OpenID Connect Providers Contract." - }, - "OpenidConnectProviderCreateContract": { - "properties": { - "name": { - "type": "string", - "description": "User-friendly OpenID Connect Provider name.", - "maxLength": 50 - }, - "description": { - "type": "string", - "description": "User-friendly description of OpenID Connect Provider." - }, - "metadataEndpoint": { - "type": "string", - "description": "Metadata endpoint URI." - }, - "clientId": { - "type": "string", - "description": "Client ID of developer console which is the client application." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret of developer console which is the client application." - } - }, - "required": [ - "name", - "metadataEndpoint", - "clientId" - ], - "description": "Parameters supplied to the Create OpenID Connect Provider operation." - }, - "OpenidConnectProviderUpdateContract": { - "properties": { - "name": { - "type": "string", - "description": "User-friendly OpenID Connect Provider name.", - "maxLength": 50 - }, - "description": { - "type": "string", - "description": "User-friendly description of OpenID Connect Provider." - }, - "metadataEndpoint": { - "type": "string", - "description": "Metadata endpoint URI." - }, - "clientId": { - "type": "string", - "description": "Client ID of developer console which is the client application." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret of developer console which is the client application." - } - }, - "description": "Parameters supplied to the Update OpenID Connect Provider operation." - } + "OpenIdConnectProviderCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OpenidConnectProviderContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged OpenIdProviders list representation." + }, + "OpenidConnectProviderContract": { + "properties": { + "id": { + "type": "string", + "description": "OpenID Connect Provider identifier." + }, + "name": { + "type": "string", + "description": "User-friendly OpenID Connect Provider name.", + "maxLength": 50 + }, + "description": { + "type": "string", + "description": "User-friendly description of OpenID Connect Provider." + }, + "metadataEndpoint": { + "type": "string", + "description": "Metadata endpoint URI." + }, + "clientId": { + "type": "string", + "description": "Client ID of developer console which is the client application." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret of developer console which is the client application." + } + }, + "required": [ + "name", + "metadataEndpoint", + "clientId" + ], + "description": "OpenID Connect Providers Contract." + }, + "OpenidConnectProviderCreateContract": { + "properties": { + "name": { + "type": "string", + "description": "User-friendly OpenID Connect Provider name.", + "maxLength": 50 + }, + "description": { + "type": "string", + "description": "User-friendly description of OpenID Connect Provider." + }, + "metadataEndpoint": { + "type": "string", + "description": "Metadata endpoint URI." + }, + "clientId": { + "type": "string", + "description": "Client ID of developer console which is the client application." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret of developer console which is the client application." + } + }, + "required": [ + "name", + "metadataEndpoint", + "clientId" + ], + "description": "Parameters supplied to the Create OpenID Connect Provider operation." + }, + "OpenidConnectProviderUpdateContract": { + "properties": { + "name": { + "type": "string", + "description": "User-friendly OpenID Connect Provider name.", + "maxLength": 50 + }, + "description": { + "type": "string", + "description": "User-friendly description of OpenID Connect Provider." + }, + "metadataEndpoint": { + "type": "string", + "description": "Metadata endpoint URI." + }, + "clientId": { + "type": "string", + "description": "Client ID of developer console which is the client application." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret of developer console which is the client application." + } + }, + "description": "Parameters supplied to the Update OpenID Connect Provider operation." + } }, "parameters": { - "OpenIdConnectIdParameter": { - "name": "opid", - "in": "path", - "required": true, - "type": "string", - "description": "Identifier of the OpenID Connect Provider.", - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "OpenIdConnectIdParameter": { + "name": "opid", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of the OpenID Connect Provider.", + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json index 939531ee1cd2..24a54f3eba94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json @@ -128,11 +128,11 @@ "schema": { "$ref": "#/definitions/ProductContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -561,7 +561,7 @@ "400": { "description": "Request validation failed.This is typically caused by an invalid product or group id.", "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" + "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } }, "default": { @@ -629,7 +629,7 @@ }, "x-ms-odata": "./apimsubscriptions.json#/definitions/SubscriptionContract" } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policy": { "get": { "tags": [ @@ -658,16 +658,16 @@ } ], "responses": { - "200": { + "200": { "description": "Product Policy information.", "schema": { "type": "file" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -687,7 +687,7 @@ }, { "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, + }, { "$ref": "#/parameters/ProductIdParameter" }, @@ -719,7 +719,7 @@ "201": { "description": "Product policy configuration was successfully created." }, - "204":{ + "204": { "description": "Product policy configuration of the tenant was successfully updated." }, "default": { @@ -729,7 +729,7 @@ } } } - }, + }, "delete": { "tags": [ "ProductPolicy" @@ -742,7 +742,7 @@ }, { "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, + }, { "$ref": "#/parameters/ProductIdParameter" }, @@ -761,7 +761,7 @@ } ], "responses": { - "204": { + "204": { "description": "Successfully deleted the policy configuration at the Product level." }, "default": { @@ -775,141 +775,141 @@ } }, "definitions": { - "ProductCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ProductContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Products list representation." - }, - "ProductContract": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the product within the current API Management service instance. The value is a valid relative URL in the format of /products/{productId} where {productId} is a product identifier.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Product name.", - "minLength": 1, - "maxLength": 300 - }, - "description": { - "type": "string", - "description": "Product description. May include HTML formatting tags.", - "minLength": 1, - "maxLength": 1000 - }, - "terms": { - "type": "string", - "description": "Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process." - }, - "subscriptionRequired": { - "type": "boolean", - "description": "Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true.", - "default": true - }, - "approvalRequired": { - "type": "boolean", - "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." - }, - "subscriptionsLimit": { - "type": "integer", - "format": "int32", - "description": "Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." - }, - "state": { - "type": "string", - "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is NotPublished.", - "enum": [ - "NotPublished", - "Published" - ], - "default": "NotPublished", - "x-ms-enum": { - "name": "ProductStateContract", - "modelAsString": false - } - } - }, - "required": [ - "name" - ], - "description": "Product profile." - }, - "ProductUpdateParameters": { - "properties": { - "name": { - "type": "string", - "description": "Product name.", - "maxLength": 300, - "minLength": 1 - }, - "description": { - "type": "string", - "description": "Product description.", - "maxLength": 500, - "minLength": 1 - }, - "terms": { - "type": "string", - "description": "Product terms and conditions. Developer will have to accept these terms before he's allowed to call product API." - }, - "subscriptionRequired": { - "type": "boolean", - "description": "whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true." - }, - "approvalRequired": { - "type": "boolean", - "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." - }, - "subscriptionsLimit": { - "type": "integer", - "format": "int32", - "description": "whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." - }, - "state": { - "type": "string", - "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators.", - "enum": [ - "NotPublished", - "Published" - ], - "x-ms-enum": { - "name": "ProductStateContract", - "modelAsString": false - } - } - }, - "description": "Parameters supplied to the CreateOrUpdate Product operation." - } + "ProductCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Products list representation." + }, + "ProductContract": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the product within the current API Management service instance. The value is a valid relative URL in the format of /products/{productId} where {productId} is a product identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Product name.", + "minLength": 1, + "maxLength": 300 + }, + "description": { + "type": "string", + "description": "Product description. May include HTML formatting tags.", + "minLength": 1, + "maxLength": 1000 + }, + "terms": { + "type": "string", + "description": "Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process." + }, + "subscriptionRequired": { + "type": "boolean", + "description": "Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true.", + "default": true + }, + "approvalRequired": { + "type": "boolean", + "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "subscriptionsLimit": { + "type": "integer", + "format": "int32", + "description": "Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "state": { + "type": "string", + "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is NotPublished.", + "enum": [ + "NotPublished", + "Published" + ], + "default": "NotPublished", + "x-ms-enum": { + "name": "ProductStateContract", + "modelAsString": false + } + } + }, + "required": [ + "name" + ], + "description": "Product profile." + }, + "ProductUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Product name.", + "maxLength": 300, + "minLength": 1 + }, + "description": { + "type": "string", + "description": "Product description.", + "maxLength": 500, + "minLength": 1 + }, + "terms": { + "type": "string", + "description": "Product terms and conditions. Developer will have to accept these terms before he's allowed to call product API." + }, + "subscriptionRequired": { + "type": "boolean", + "description": "whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true." + }, + "approvalRequired": { + "type": "boolean", + "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "subscriptionsLimit": { + "type": "integer", + "format": "int32", + "description": "whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "state": { + "type": "string", + "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators.", + "enum": [ + "NotPublished", + "Published" + ], + "x-ms-enum": { + "name": "ProductStateContract", + "modelAsString": false + } + } + }, + "description": "Parameters supplied to the CreateOrUpdate Product operation." + } }, "parameters": { - "ProductIdParameter": { - "name": "productId", - "in": "path", - "required": true, - "type": "string", - "description": "Product identifier. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "ProductIdParameter": { + "name": "productId", + "in": "path", + "required": true, + "type": "string", + "description": "Product identifier. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json index a0ee7b187701..b3e29ebfe4ac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json @@ -115,11 +115,11 @@ "schema": { "$ref": "#/definitions/PropertyContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -163,8 +163,8 @@ } ], "responses": { - "201": { - "description": "Property was successfully created." + "201": { + "description": "Property was successfully created." }, "204": { "description": "Property was successfully updated." @@ -265,7 +265,7 @@ "405": { "description": "The specified property cannot be deleted because it is in use in a policy. You must remove all references to this property before it can be deleted.", "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" + "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" } }, "default": { @@ -279,141 +279,141 @@ } }, "definitions": { - "PropertyCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PropertyContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Property list representation." - }, - "PropertyContract": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the property within the current API Management service instance. The value is a valid relative URL in the format of /properties/{propId} where {propId} is a property identifier.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[A-Z0-9-._]+$" - }, - "value": { - "type": "string", - "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", - "minLength": 1, - "maxLength": 4096 - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 32, - "description": "Optional tags that when provided can be used to filter the property list." - }, - "secret": { - "type": "boolean", - "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." - } - }, - "required": [ - "name", - "value" - ], - "description": "Property details." - }, - "PropertyCreateParameters": { - "properties": { - "name": { - "type": "string", - "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[A-Z0-9-._]+$" - }, - "value": { - "type": "string", - "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", - "minLength": 1, - "maxLength": 4096 - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 32, - "description": "Optional tags that when provided can be used to filter the property list." - }, - "secret": { - "type": "boolean", - "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." - } - }, - "required": [ - "name", - "value" - ], - "description": "Parameters supplied to the Create Property operation." - }, - "PropertyUpdateParameters": { - "properties": { - "name": { - "type": "string", - "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[A-Z0-9-._]+$" - }, - "value": { - "type": "string", - "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", - "minLength": 1, - "maxLength": 4096 - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "maxItems": 32, - "description": "Optional tags that when provided can be used to filter the property list." - }, - "secret": { - "type": "boolean", - "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." - } - }, - "description": "Parameters supplied to the Update Property operation." - } + "PropertyCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Property list representation." + }, + "PropertyContract": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the property within the current API Management service instance. The value is a valid relative URL in the format of /properties/{propId} where {propId} is a property identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[A-Z0-9-._]+$" + }, + "value": { + "type": "string", + "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", + "minLength": 1, + "maxLength": 4096 + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 32, + "description": "Optional tags that when provided can be used to filter the property list." + }, + "secret": { + "type": "boolean", + "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." + } + }, + "required": [ + "name", + "value" + ], + "description": "Property details." + }, + "PropertyCreateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[A-Z0-9-._]+$" + }, + "value": { + "type": "string", + "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", + "minLength": 1, + "maxLength": 4096 + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 32, + "description": "Optional tags that when provided can be used to filter the property list." + }, + "secret": { + "type": "boolean", + "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." + } + }, + "required": [ + "name", + "value" + ], + "description": "Parameters supplied to the Create Property operation." + }, + "PropertyUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[A-Z0-9-._]+$" + }, + "value": { + "type": "string", + "description": "Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.", + "minLength": 1, + "maxLength": 4096 + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "maxItems": 32, + "description": "Optional tags that when provided can be used to filter the property list." + }, + "secret": { + "type": "boolean", + "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." + } + }, + "description": "Parameters supplied to the Update Property operation." + } }, "parameters": { - "PropertyIdParameter": { - "name": "propId", - "in": "path", - "required": true, - "type": "string", - "description": "Identifier of the property.", - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "PropertyIdParameter": { + "name": "propId", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of the property.", + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json index 5cdf4949232e..7e876be845d2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json @@ -110,7 +110,7 @@ } ], "responses": { - "204": { + "204": { "description": "All the quota counter periods were successfully updated." }, "default": { @@ -195,7 +195,7 @@ "$ref": "#/definitions/QuotaCounterValueContract" }, "description": "The value of the Quota counter to be applied on the specified period." - }, + }, { "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" }, @@ -204,7 +204,7 @@ } ], "responses": { - "204": { + "204": { "description": "The quota counter value was successfully updated." }, "default": { @@ -218,95 +218,95 @@ } }, "definitions": { - "QuotaCounterCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/QuotaCounterContract" - }, - "description": "Quota counter values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Quota Counter list representation." - }, - "QuotaCounterContract": { - "properties": { - "counterKey": { - "type": "string", - "description": "The Key value of the Counter. Must not be empty.", - "minLength": 1 - }, - "periodKey": { - "type": "string", - "description": "Identifier of the Period for which the counter was collected. Must not be empty.", - "minLength": 1 - }, - "periodStartTime": { - "type": "string", - "format": "date-time", - "description": "The date of the start of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "periodEndTime": { - "type": "string", - "format": "date-time", - "description": "The date of the end of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - } - }, - "allOf": [ - { - "$ref": "#/definitions/QuotaCounterValueContract" - } - ], - "required": [ - "counterKey", - "periodKey", - "periodStartTime", - "periodEndTime" - ], - "description": "Quota counter details." - }, - "QuotaCounterValueContract": { - "properties": { - "callsCount": { - "type": "integer", - "format": "int32", - "description": "Number of times Counter was called." - }, - "kbTransferred": { - "type": "number", - "format": "double", - "description": "Data Transferred in KiloBytes." - } - }, - "description": "Quota counter value details." - } + "QuotaCounterCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/QuotaCounterContract" + }, + "description": "Quota counter values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Quota Counter list representation." + }, + "QuotaCounterContract": { + "properties": { + "counterKey": { + "type": "string", + "description": "The Key value of the Counter. Must not be empty.", + "minLength": 1 + }, + "periodKey": { + "type": "string", + "description": "Identifier of the Period for which the counter was collected. Must not be empty.", + "minLength": 1 + }, + "periodStartTime": { + "type": "string", + "format": "date-time", + "description": "The date of the start of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "periodEndTime": { + "type": "string", + "format": "date-time", + "description": "The date of the end of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + } + }, + "allOf": [ + { + "$ref": "#/definitions/QuotaCounterValueContract" + } + ], + "required": [ + "counterKey", + "periodKey", + "periodStartTime", + "periodEndTime" + ], + "description": "Quota counter details." + }, + "QuotaCounterValueContract": { + "properties": { + "callsCount": { + "type": "integer", + "format": "int32", + "description": "Number of times Counter was called." + }, + "kbTransferred": { + "type": "number", + "format": "double", + "description": "Data Transferred in KiloBytes." + } + }, + "description": "Quota counter value details." + } }, "parameters": { - "QuotaCounterKeyParameter": { - "name": "quotaCounterKey", - "in": "path", - "required": true, - "type": "string", - "description": "Quota counter key identifier.", - "x-ms-parameter-location": "method" - }, - "QuotaPeriodKeyParameter": { - "name": "quotaPeriodKey", - "in": "path", - "required": true, - "type": "string", - "description": "Quota period key identifier.", - "x-ms-parameter-location": "method" - } + "QuotaCounterKeyParameter": { + "name": "quotaCounterKey", + "in": "path", + "required": true, + "type": "string", + "description": "Quota counter key identifier.", + "x-ms-parameter-location": "method" + }, + "QuotaPeriodKeyParameter": { + "name": "quotaPeriodKey", + "in": "path", + "required": true, + "type": "string", + "description": "Quota period key identifier.", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimreports.json index 1e472cc2f61f..39578e3b0710 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimreports.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimreports.json @@ -86,7 +86,7 @@ "in": "query", "required": false, "type": "string", - "format": "duration", + "format": "duration", "description": "By time interval. This value is only applicable to ByTime aggregation. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))" }, { @@ -111,156 +111,155 @@ } } }, - "definitions": { - "ReportCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReportRecordContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Report records list representation." - }, - "ReportRecordContract": { - "properties": { - "name": { - "type": "string", - "description": "Name depending on report endpoint specifies product, API, operation or developer name." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "interval": { - "type": "integer", - "format": "int64", - "description": "Length of aggregation period." - }, - "country": { - "type": "string", - "description": "Country to which this record data is related." - }, - "region": { - "type": "string", - "description": "Country region to which this record data is related." - }, - "zip": { - "type": "string", - "description": "Zip code to which this record data is related." - }, - "userId": { - "readOnly": true, - "type": "string", - "description": "User identifier path. /users/{userId}" - }, - "productId": { - "readOnly": true, - "type": "string", - "description": "Product identifier path. /products/{productId}" - }, - "apiId": { - "type": "string", - "description": "API identifier path. /apis/{apiId}" - }, - "operationId": { - "type": "string", - "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" - }, - "apiRegion": { - "type": "string", - "description": "API region identifier." - }, - "subscriptionId": { - "type": "string", - "description": "Subscription identifier path. /subscriptions/{subscriptionId}" - }, - "callCountSuccess": { - "type": "integer", - "format": "int32", - "description": "Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect" - }, - "callCountBlocked": { - "type": "integer", - "format": "int32", - "description": "Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests" - }, - "callCountFailed": { - "type": "integer", - "format": "int32", - "description": "Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600" - }, - "callCountOther": { - "type": "integer", - "format": "int32", - "description": "Number of other calls." - }, - "callCountTotal": { - "type": "integer", - "format": "int32", - "description": "Total number of calls." - }, - "bandwidth": { - "type": "integer", - "format": "int64", - "description": "Bandwidth consumed." - }, - "cacheHitCount": { - "type": "integer", - "format": "int32", - "description": "Number of times when content was served from cache policy." - }, - "cacheMissCount": { - "type": "integer", - "format": "int32", - "description": "Number of times content was fetched from backend." - }, - "apiTimeAvg": { - "type": "number", - "format": "double", - "description": "Average time it took to process request." - }, - "apiTimeMin": { - "type": "number", - "format": "double", - "description": "Minimum time it took to process request." - }, - "apiTimeMax": { - "type": "number", - "format": "double", - "description": "Maximum time it took to process request." - }, - "serviceTimeAvg": { - "type": "number", - "format": "double", - "description": "Average time it took to process request on backend." - }, - "serviceTimeMin": { - "type": "number", - "format": "double", - "description": "Minimum time it took to process request on backend." - }, - "serviceTimeMax": { - "type": "number", - "format": "double", - "description": "Maximum time it took to process request on backend." - } - }, - "description": "Report data." - } + "definitions": { + "ReportCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReportRecordContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Report records list representation." + }, + "ReportRecordContract": { + "properties": { + "name": { + "type": "string", + "description": "Name depending on report endpoint specifies product, API, operation or developer name." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "interval": { + "type": "integer", + "format": "int64", + "description": "Length of aggregation period." + }, + "country": { + "type": "string", + "description": "Country to which this record data is related." + }, + "region": { + "type": "string", + "description": "Country region to which this record data is related." + }, + "zip": { + "type": "string", + "description": "Zip code to which this record data is related." + }, + "userId": { + "readOnly": true, + "type": "string", + "description": "User identifier path. /users/{userId}" + }, + "productId": { + "readOnly": true, + "type": "string", + "description": "Product identifier path. /products/{productId}" + }, + "apiId": { + "type": "string", + "description": "API identifier path. /apis/{apiId}" + }, + "operationId": { + "type": "string", + "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" + }, + "apiRegion": { + "type": "string", + "description": "API region identifier." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription identifier path. /subscriptions/{subscriptionId}" + }, + "callCountSuccess": { + "type": "integer", + "format": "int32", + "description": "Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect" + }, + "callCountBlocked": { + "type": "integer", + "format": "int32", + "description": "Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests" + }, + "callCountFailed": { + "type": "integer", + "format": "int32", + "description": "Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600" + }, + "callCountOther": { + "type": "integer", + "format": "int32", + "description": "Number of other calls." + }, + "callCountTotal": { + "type": "integer", + "format": "int32", + "description": "Total number of calls." + }, + "bandwidth": { + "type": "integer", + "format": "int64", + "description": "Bandwidth consumed." + }, + "cacheHitCount": { + "type": "integer", + "format": "int32", + "description": "Number of times when content was served from cache policy." + }, + "cacheMissCount": { + "type": "integer", + "format": "int32", + "description": "Number of times content was fetched from backend." + }, + "apiTimeAvg": { + "type": "number", + "format": "double", + "description": "Average time it took to process request." + }, + "apiTimeMin": { + "type": "number", + "format": "double", + "description": "Minimum time it took to process request." + }, + "apiTimeMax": { + "type": "number", + "format": "double", + "description": "Maximum time it took to process request." + }, + "serviceTimeAvg": { + "type": "number", + "format": "double", + "description": "Average time it took to process request on backend." + }, + "serviceTimeMin": { + "type": "number", + "format": "double", + "description": "Minimum time it took to process request on backend." + }, + "serviceTimeMax": { + "type": "number", + "format": "double", + "description": "Maximum time it took to process request on backend." + } + }, + "description": "Report data." + } }, - "parameters": { - } -} \ No newline at end of file + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json index e89012bdc0bd..093919177acf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json @@ -121,11 +121,11 @@ "schema": { "$ref": "#/definitions/SubscriptionContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -223,7 +223,7 @@ } ], "responses": { - "204": { + "204": { "description": "The subscription details were successfully updated." }, "default": { @@ -265,7 +265,7 @@ } ], "responses": { - "204": { + "204": { "description": "The subscription details were successfully deleted." }, "default": { @@ -339,7 +339,7 @@ } ], "responses": { - "204": { + "204": { "description": "The secondary key was successfully regenerated." }, "default": { @@ -353,226 +353,226 @@ } }, "definitions": { - "SubscriptionCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SubscriptionContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Subscriptions list representation." - }, - "SubscriptionContract": { - "properties": { - "id": { - "type": "string", - "description": "Uniquely identifies the subscription within the current API Management service instance. The value is a valid relative URL in the format of /subscriptions/{sid} where {sid} is a subscription identifier.", - "readOnly": true - }, - "userId": { - "type": "string", - "description": "The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{uid} where {uid} is a user identifier." - }, - "productId": { - "type": "string", - "description": "The product resource identifier of the subscribed product. The value is a valid relative URL in the format of /products/{productId} where {productId} is a product identifier." - }, - "name": { - "type": "string", - "description": "The name of the subscription, or null if the subscription has no name.", - "minLength": 0, - "maxLength": 100 - }, - "state": { - "type": "string", - "description": "Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", - "enum": [ - "Suspended", - "Active", - "Expired", - "Submitted", - "Rejected", - "Cancelled" - ], - "x-ms-enum": { - "name": "SubscriptionStateContract", - "modelAsString": false - } - }, - "createdDate": { - "type": "string", - "format": "date-time", - "description": "Subscription creation date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n", - "readOnly": true - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "Subscription activation date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "Subscription expiration date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "endDate": { - "type": "string", - "format": "date-time", - "description": "Date when subscription was cancelled or expired. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "notificationDate": { - "type": "string", - "format": "date-time", - "description": "Upcoming subscription expiration notification date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "primaryKey": { - "type": "string", - "description": "Subscription primary key.", - "minLength": 1, - "maxLength": 256 - }, - "secondaryKey": { - "type": "string", - "description": "Subscription secondary key.", - "minLength": 1, - "maxLength": 256 - }, - "stateComment": { - "type": "string", - "description": "Optional subscription comment added by an administrator." - } - }, - "description": "Subscription details." - }, - "SubscriptionCreateParameters": { - "properties": { - "userId": { - "type": "string", - "description": "User (user id path) for whom subscription is being created in form /users/{uid}" - }, - "productId": { - "type": "string", - "description": "Product (product id path) for which subscription is being created in form /products/{productId}" - }, - "name": { - "type": "string", - "description": "Subscription name.", - "minLength": 1, - "maxLength": 100 - }, - "primaryKey": { - "type": "string", - "description": "Primary subscription key. If not specified during request key will be generated automatically.", - "minLength": 1, - "maxLength": 256 - }, - "secondaryKey": { - "type": "string", - "description": "Secondary subscription key. If not specified during request key will be generated automatically.", - "minLength": 1, - "maxLength": 256 - }, - "state": { - "type": "string", - "description": "Initial subscription state. If no value is specified, subscription is created with Submitted state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", - "enum": [ - "Suspended", - "Active", - "Expired", - "Submitted", - "Rejected", - "Cancelled" - ], - "x-ms-enum": { - "name": "SubscriptionStateContract", - "modelAsString": false - } - } - }, - "required": [ - "userId", - "productId", - "name" - ], - "description": "Parameters supplied to the Create subscription operation." - }, - "SubscriptionUpdateParameters": { - "properties": { - "userId": { - "type": "string", - "description": "User identifier path: /users/{uid}" - }, - "productId": { - "type": "string", - "description": "Product identifier path: /products/{productId}" - }, - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "New subscription expiration date." - }, - "name": { - "type": "string", - "description": "Subscription name." - }, - "primaryKey": { - "type": "string", - "description": "Primary subscription key.", - "minLength": 1, - "maxLength": 256 - }, - "secondaryKey": { - "type": "string", - "description": "Secondary subscription key.", - "minLength": 1, - "maxLength": 256 - }, - "state": { - "type": "string", - "description": "Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", - "enum": [ - "Suspended", - "Active", - "Expired", - "Submitted", - "Rejected", - "Cancelled" - ], - "x-ms-enum": { - "name": "SubscriptionStateContract", - "modelAsString": false - } - }, - "stateComment": { - "type": "string", - "description": "Comments describing subscription state change by the administrator." - } - }, - "description": "Parameters supplied to the Update subscription operation." - } + "SubscriptionCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SubscriptionContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Subscriptions list representation." + }, + "SubscriptionContract": { + "properties": { + "id": { + "type": "string", + "description": "Uniquely identifies the subscription within the current API Management service instance. The value is a valid relative URL in the format of /subscriptions/{sid} where {sid} is a subscription identifier.", + "readOnly": true + }, + "userId": { + "type": "string", + "description": "The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{uid} where {uid} is a user identifier." + }, + "productId": { + "type": "string", + "description": "The product resource identifier of the subscribed product. The value is a valid relative URL in the format of /products/{productId} where {productId} is a product identifier." + }, + "name": { + "type": "string", + "description": "The name of the subscription, or null if the subscription has no name.", + "minLength": 0, + "maxLength": 100 + }, + "state": { + "type": "string", + "description": "Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", + "enum": [ + "Suspended", + "Active", + "Expired", + "Submitted", + "Rejected", + "Cancelled" + ], + "x-ms-enum": { + "name": "SubscriptionStateContract", + "modelAsString": false + } + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Subscription creation date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n", + "readOnly": true + }, + "startDate": { + "type": "string", + "format": "date-time", + "description": "Subscription activation date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "Subscription expiration date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "endDate": { + "type": "string", + "format": "date-time", + "description": "Date when subscription was cancelled or expired. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "notificationDate": { + "type": "string", + "format": "date-time", + "description": "Upcoming subscription expiration notification date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "primaryKey": { + "type": "string", + "description": "Subscription primary key.", + "minLength": 1, + "maxLength": 256 + }, + "secondaryKey": { + "type": "string", + "description": "Subscription secondary key.", + "minLength": 1, + "maxLength": 256 + }, + "stateComment": { + "type": "string", + "description": "Optional subscription comment added by an administrator." + } + }, + "description": "Subscription details." + }, + "SubscriptionCreateParameters": { + "properties": { + "userId": { + "type": "string", + "description": "User (user id path) for whom subscription is being created in form /users/{uid}" + }, + "productId": { + "type": "string", + "description": "Product (product id path) for which subscription is being created in form /products/{productId}" + }, + "name": { + "type": "string", + "description": "Subscription name.", + "minLength": 1, + "maxLength": 100 + }, + "primaryKey": { + "type": "string", + "description": "Primary subscription key. If not specified during request key will be generated automatically.", + "minLength": 1, + "maxLength": 256 + }, + "secondaryKey": { + "type": "string", + "description": "Secondary subscription key. If not specified during request key will be generated automatically.", + "minLength": 1, + "maxLength": 256 + }, + "state": { + "type": "string", + "description": "Initial subscription state. If no value is specified, subscription is created with Submitted state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", + "enum": [ + "Suspended", + "Active", + "Expired", + "Submitted", + "Rejected", + "Cancelled" + ], + "x-ms-enum": { + "name": "SubscriptionStateContract", + "modelAsString": false + } + } + }, + "required": [ + "userId", + "productId", + "name" + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "SubscriptionUpdateParameters": { + "properties": { + "userId": { + "type": "string", + "description": "User identifier path: /users/{uid}" + }, + "productId": { + "type": "string", + "description": "Product identifier path: /products/{productId}" + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "New subscription expiration date." + }, + "name": { + "type": "string", + "description": "Subscription name." + }, + "primaryKey": { + "type": "string", + "description": "Primary subscription key.", + "minLength": 1, + "maxLength": 256 + }, + "secondaryKey": { + "type": "string", + "description": "Secondary subscription key.", + "minLength": 1, + "maxLength": 256 + }, + "state": { + "type": "string", + "description": "Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.", + "enum": [ + "Suspended", + "Active", + "Expired", + "Submitted", + "Rejected", + "Cancelled" + ], + "x-ms-enum": { + "name": "SubscriptionStateContract", + "modelAsString": false + } + }, + "stateComment": { + "type": "string", + "description": "Comments describing subscription state change by the administrator." + } + }, + "description": "Parameters supplied to the Update subscription operation." + } }, "parameters": { - "SubscriptionEntityIdParameter": { - "name": "sid", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management.", - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } + "SubscriptionEntityIdParameter": { + "name": "sid", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management.", + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json index 7c536e545f2c..87dd6ef15f8d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json @@ -61,11 +61,11 @@ "schema": { "$ref": "#/definitions/AccessInformationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -107,7 +107,7 @@ } ], "responses": { - "201": { + "201": { "description": "Tenant's access information updated successfully." }, "default": { @@ -175,7 +175,7 @@ } ], "responses": { - "204": { + "204": { "description": "The secondary key was successfully regenerated." }, "default": { @@ -214,11 +214,11 @@ "schema": { "$ref": "#/definitions/AccessInformationContract" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } }, "default": { @@ -503,16 +503,16 @@ } ], "responses": { - "200": { + "200": { "description": "Tenant Global Policy information.", "schema": { "type": "file" }, - "headers": { + "headers": { "ETag": { "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" - } + } } } } @@ -561,7 +561,7 @@ "201": { "description": "Global policy configuration was successfully created." }, - "204":{ + "204": { "description": "Global policy configuration of the tenant was successfully updated." }, "default": { @@ -571,7 +571,7 @@ } } } - }, + }, "delete": { "tags": [ "TenantPolicy" @@ -600,7 +600,7 @@ } ], "responses": { - "204": { + "204": { "description": "Successfully deleted the global policy configuration of the Tenant." }, "default": { @@ -613,148 +613,147 @@ } } }, - "definitions": { - "AccessInformationContract": { - "properties": { - "id": { - "type": "string", - "description": "Identifier." - }, - "primaryKey": { - "type": "string", - "description": "Primary access key." - }, - "secondaryKey": { - "type": "string", - "description": "Secondary access key." - }, - "enabled": { - "type": "boolean", - "description": "Tenant access information of the API Management service." - } - }, - "description": "Tenant access information contract of the API Management service." - }, - "AccessInformationUpdateParameters": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Tenant access information of the API Management service." - } - }, - "required": [ - "enabled" - ], - "description": "Tenant access information update parameters of the API Management service." - }, - "DeployConfigurationParameters": { - "properties": { - "branch": { - "type": "string", - "description": "The name of the Git branch from which the configuration is to be deployed to the configuration database." - }, - "force": { - "type": "boolean", - "description": "The value enforcing deleting subscriptions to products that are deleted in this update." - } - }, - "required": [ - "branch" - ], - "description": "Parameters supplied to the Deploy Configuration operation." - }, - "OperationResultContract": { - "properties": { - "id": { - "type": "string", - "description": "Operation result identifier." - }, - "status": { - "type": "string", - "description": "Status of an async operation.", - "enum": [ - "Started", - "InProgress", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "AsyncOperationState", - "modelAsString": false - } - }, - "started": { - "type": "string", - "format": "date-time", - "description": "Start time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "updated": { - "type": "string", - "format": "date-time", - "description": "Last update time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "resultInfo": { - "type": "string", - "description": "Optional result info." - }, - "error": { - "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" - } - }, - "description": "Operation Result." - }, - "SaveConfigurationParameter": { - "properties": { - "branch": { - "type": "string", - "description": "The name of the Git branch in which to commit the current configuration snapshot." - }, - "force": { - "type": "boolean", - "description": "The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten." - } - }, - "required": [ - "branch" - ], - "description": "Parameters supplied to the Save Tenant Configuration operation." - }, - "TenantConfigurationSyncStateContract": { - "properties": { - "branch": { - "type": "string", - "description": "The name of Git branch." - }, - "commitId": { - "type": "string", - "description": "The latest commit Id." - }, - "isExport": { - "type": "boolean", - "description": "value indicating if last sync was save (true) or deploy (false) operation." - }, - "isSynced": { - "type": "boolean", - "description": "value indicating if last synchronization was later than the configuration change." - }, - "isGitEnabled": { - "type": "boolean", - "description": "value indicating whether Git configuration access is enabled." - }, - "syncDate": { - "type": "string", - "format": "date-time", - "description": "The date of the latest synchronization. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "configurationChangeDate": { - "type": "string", - "format": "date-time", - "description": "The date of the latest configuration change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - } - }, - "description": "Tenant Configuration Synchronization State." - } + "definitions": { + "AccessInformationContract": { + "properties": { + "id": { + "type": "string", + "description": "Identifier." + }, + "primaryKey": { + "type": "string", + "description": "Primary access key." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary access key." + }, + "enabled": { + "type": "boolean", + "description": "Tenant access information of the API Management service." + } + }, + "description": "Tenant access information contract of the API Management service." + }, + "AccessInformationUpdateParameters": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Tenant access information of the API Management service." + } + }, + "required": [ + "enabled" + ], + "description": "Tenant access information update parameters of the API Management service." + }, + "DeployConfigurationParameters": { + "properties": { + "branch": { + "type": "string", + "description": "The name of the Git branch from which the configuration is to be deployed to the configuration database." + }, + "force": { + "type": "boolean", + "description": "The value enforcing deleting subscriptions to products that are deleted in this update." + } + }, + "required": [ + "branch" + ], + "description": "Parameters supplied to the Deploy Configuration operation." + }, + "OperationResultContract": { + "properties": { + "id": { + "type": "string", + "description": "Operation result identifier." + }, + "status": { + "type": "string", + "description": "Status of an async operation.", + "enum": [ + "Started", + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "AsyncOperationState", + "modelAsString": false + } + }, + "started": { + "type": "string", + "format": "date-time", + "description": "Start time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "updated": { + "type": "string", + "format": "date-time", + "description": "Last update time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "resultInfo": { + "type": "string", + "description": "Optional result info." + }, + "error": { + "$ref": "./apimanagement.json#/definitions/ErrorBodyContract" + } + }, + "description": "Operation Result." + }, + "SaveConfigurationParameter": { + "properties": { + "branch": { + "type": "string", + "description": "The name of the Git branch in which to commit the current configuration snapshot." + }, + "force": { + "type": "boolean", + "description": "The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten." + } + }, + "required": [ + "branch" + ], + "description": "Parameters supplied to the Save Tenant Configuration operation." + }, + "TenantConfigurationSyncStateContract": { + "properties": { + "branch": { + "type": "string", + "description": "The name of Git branch." + }, + "commitId": { + "type": "string", + "description": "The latest commit Id." + }, + "isExport": { + "type": "boolean", + "description": "value indicating if last sync was save (true) or deploy (false) operation." + }, + "isSynced": { + "type": "boolean", + "description": "value indicating if last synchronization was later than the configuration change." + }, + "isGitEnabled": { + "type": "boolean", + "description": "value indicating whether Git configuration access is enabled." + }, + "syncDate": { + "type": "string", + "format": "date-time", + "description": "The date of the latest synchronization. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "configurationChangeDate": { + "type": "string", + "format": "date-time", + "description": "The date of the latest configuration change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + } + }, + "description": "Tenant Configuration Synchronization State." + } }, - "parameters": { - } -} \ No newline at end of file + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimusers.json index 79ce9671c2ed..54c147ba4fda 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/apimusers.json @@ -794,4 +794,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json index d898031f365e..80d20681682a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -7,9 +7,9 @@ }, "responses": { "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" - } + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + } }, "200": { "body": { @@ -17,36 +17,36 @@ "name": "apimService1", "type": "Microsoft.ApiManagement/service", "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, "location": "West US", "etag": "AAAAAAAV8XM=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ "xx.xxx.xx.xxx" - ], - "vpnconfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", - "location": "West US" - }, - "vpnType": "External" + ], + "vpnconfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", + "location": "West US" + }, + "vpnType": "External" }, "sku": { - "name": "Premium", - "capacity": 1 + "name": "Premium", + "capacity": 1 } - } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateBackup.json index 66b375fad899..aedcdeaf9c83 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateBackup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateBackup.json @@ -5,17 +5,17 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "storageAccount" : "teststorageaccount", - "accessKey" : "**************************************************", - "containerName" :"backupContainer", - "backupName" : "apimService1backup_2017_03_19" + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" } }, "responses": { "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" - } + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + } }, "200": { "body": { @@ -23,32 +23,32 @@ "name": "apimService1", "type": "Microsoft.ApiManagement/service", "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, "location": "West US", "etag": "AAAAAAAV8XM=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ "xx.xxx.xx.xxx" - ], - "vpnType": "None" + ], + "vpnType": "None" }, "sku": { - "name": "Premium", - "capacity": 1 + "name": "Premium", + "capacity": 1 } - } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateService.json index 0a5cde1bab25..ec0e961b9d62 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementCreateService.json @@ -5,23 +5,23 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "location" : "West US", - "sku" : { - "name" : "Premium", - "capacity" : 1 - }, - "properties" : { - "publisherEmail" : "admin@live.com", - "publisherName": "contoso" - } + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso" + } } }, "responses": { "201": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" - }, - "body" : { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", "name": "apimService1", "type": "Microsoft.ApiManagement/service", @@ -29,18 +29,18 @@ "location": "West US", "etag": "AAAAAAAV8Yo=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Created", - "targetProvisioningState": "Activating", - "createdAtUtc": "2017-03-19T21:55:27.7443915Z", - "hostnameConfigurations": [], - "staticIPs": [], - "vpnType": "None" + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Created", + "targetProvisioningState": "Activating", + "createdAtUtc": "2017-03-19T21:55:27.7443915Z", + "hostnameConfigurations": [], + "staticIPs": [], + "vpnType": "None" }, "sku": { - "name": "Premium", - "capacity": 1 + "name": "Premium", + "capacity": 1 } } }, @@ -49,29 +49,29 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", "name": "apimService1", "type": "Microsoft.ApiManagement/service", - "tags": { }, + "tags": {}, "location": "West US", "etag": "AAAAAAAV8XM=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ "xx.xx.250.222" - ], - "vpnType": "None" + ], + "vpnType": "None" }, "sku": { - "name": "Premium", - "capacity": 1 + "name": "Premium", + "capacity": 1 } - } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementRestoreService.json index 498544ae1a7b..aedcdeaf9c83 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementRestoreService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementRestoreService.json @@ -5,17 +5,17 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "storageAccount" : "teststorageaccount", - "accessKey" : "**************************************************", - "containerName" :"backupContainer", - "backupName" : "apimService1backup_2017_03_19" + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" } }, "responses": { "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" - } + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + } }, "200": { "body": { @@ -23,32 +23,32 @@ "name": "apimService1", "type": "Microsoft.ApiManagement/service", "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, "location": "West US", "etag": "AAAAAAAV8XM=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ "xx.xxx.xx.xxx" - ], - "vpnType": "None" + ], + "vpnType": "None" }, "sku": { - "name": "Premium", - "capacity": 1 + "name": "Premium", + "capacity": 1 } - } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json index aee9435aa0b8..4b250b1a9aca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json @@ -4,7 +4,7 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "name" : "apimService1" + "name": "apimService1" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json index bf557f9011d9..7510e32707f8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json @@ -9,25 +9,25 @@ "200": { "body": { "dnsServers": [ - "10.xx.3.87", - "10.xx.5.29", - "10.xx.32.105" + "10.xx.3.87", + "10.xx.5.29", + "10.xx.32.105" ], "connectivityStatus": [ - { + { "name": "xxxxx.database.windows.net", "status": "success", "lastUpdated": "2017-03-20T08:47:20.7043553Z", "lastStatusChange": "2017-03-20T08:47:20.7981057Z" - }, - { + }, + { "name": "xxxxxxx.blob.core.windows.net", "status": "success", "lastUpdated": "2017-03-20T08:47:20.720918Z", "lastStatusChange": "2017-03-20T08:47:20.9075183Z" - } + } ] } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetSsoToken.json index 852360062dd7..57b3d54e0e91 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetSsoToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceGetSsoToken.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceManageDeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceManageDeployment.json index d8d79866c43c..afac29226160 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceManageDeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceManageDeployment.json @@ -5,49 +5,49 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "location" : "West US", - "skuType" : "Developer", - "skuUnitCount" : 1, - "vpnConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", - "location": "West US" - }, - "vpnType":"External" + "location": "West US", + "skuType": "Developer", + "skuUnitCount": 1, + "vpnConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", + "location": "West US" + }, + "vpnType": "External" } }, "responses": { "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAAjQM=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-03-20T03:45:14.1412986Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIPs": [ + "xx.xxx.xx.xxx" + ], + "vpnType": "None" }, - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAAjQM=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-03-20T03:45:14.1412986Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIPs": [ - "xx.xxx.xx.xxx" - ], - "vpnType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } + "sku": { + "name": "Developer", + "capacity": 1 } + } }, "200": { "body": { @@ -55,36 +55,36 @@ "name": "apimService1", "type": "Microsoft.ApiManagement/service", "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, "location": "West US", "etag": "AAAAAAAV8XM=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ "xx.xx.xxx.xxx" - ], - "vpnconfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", - "location": "West US" - }, - "vpnType": "External" + ], + "vpnconfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", + "location": "West US" + }, + "vpnType": "External" }, "sku": { - "name": "Developer", - "capacity": 1 + "name": "Developer", + "capacity": 1 } - } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUpdateHostName.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUpdateHostName.json index 2c91b41fbb88..b571ba54d9e1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUpdateHostName.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUpdateHostName.json @@ -5,86 +5,82 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "update": [ - { - "type": "Proxy", - "hostname": "internalproxy2.contoso.com", - "certificate": - { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Portal", - "hostname": "internalportal2.contoso.com", - "certificate": - { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Management", - "hostname": "internalmgmt2.contoso.com", - "certificate": - { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Scm", - "hostname": "internalscm2.contoso.com", - "certificate": - { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - } - ] + "update": [ + { + "type": "Proxy", + "hostname": "internalproxy2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Portal", + "hostname": "internalportal2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Management", + "hostname": "internalmgmt2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Scm", + "hostname": "internalscm2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + } + ] } }, "responses": { "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "tags": { + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAV8ZY=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIPs": [ - "xx.xx.xxxx.xxxx" - ], - "vpnType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - }, - "name": "apimService1", - "type": "Microsoft.ApiManagement/service" - } + "location": "West US", + "etag": "AAAAAAAV8ZY=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIPs": [ + "xx.xx.xxxx.xxxx" + ], + "vpnType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + }, + "name": "apimService1", + "type": "Microsoft.ApiManagement/service" + } }, "200": { "body": { @@ -92,70 +88,70 @@ "name": "apimService1", "type": "Microsoft.ApiManagement/service", "tags": { - "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" + "TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" }, "location": "West US", "etag": "AAAAAAAV8aU=", "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:52:02.4307221Z", - "runtimeUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Portal", - "hostname": "internalportal2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "*******************************", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Proxy", - "hostname": "internalproxy2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "*******************************", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Management", - "hostname": "internalmgmt2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "*******************************", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Scm", - "hostname": "internalscm2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "*******************************", - "subject": "CN=*.contoso.com" - } - } - ], - "staticIPs": [ - "xx.xxx.xx.xxx" - ], - "vpnType": "None" + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:52:02.4307221Z", + "runtimeUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Portal", + "hostname": "internalportal2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "*******************************", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Proxy", + "hostname": "internalproxy2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "*******************************", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Management", + "hostname": "internalmgmt2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "*******************************", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Scm", + "hostname": "internalscm2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "*******************************", + "subject": "CN=*.contoso.com" + } + } + ], + "staticIPs": [ + "xx.xxx.xx.xxx" + ], + "vpnType": "None" }, "sku": { - "name": "Premium", - "capacity": 1 - } + "name": "Premium", + "capacity": 1 } + } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json index 8103ff471d09..9097e475e7e0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json @@ -5,9 +5,9 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "type" : "Proxy", - "certificate" : "MIIZ7wI************************************************************", - "certificate_password": "******" + "type": "Proxy", + "certificate": "MIIZ7wI************************************************************", + "certificate_password": "******" } }, "responses": { @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementUsersGetToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementUsersGetToken.json index d37980b43505..baf8c5b40f1c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementUsersGetToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2016-10-10/examples/ApiManagementUsersGetToken.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json index 202622d61791..dc7bcaedc997 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json @@ -597,4 +597,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimapis.json index a844d40dd12e..6451b183124b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimapis.json @@ -2426,7 +2426,7 @@ { "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter" }, - { + { "$ref": "./apimloggers.json#/parameters/LoggerIdParameter" }, { @@ -2448,7 +2448,7 @@ } } }, - "put": { + "put": { "tags": [ "ApiDiagnosticLoggers" ], @@ -3681,8 +3681,8 @@ }, "description": "Describes on which protocols the operations in this API can be invoked." }, - "apiVersionSet" : { - "$ref" : "./apimversionsets.json#/definitions/ApiVersionSetContract" + "apiVersionSet": { + "$ref": "./apimversionsets.json#/definitions/ApiVersionSetContract" } }, "allOf": [ @@ -3837,25 +3837,25 @@ "ApiRevisionContractProperties": { "properties": { "apiId": { - "type":"string", + "type": "string", "readOnly": true, "description": "Identifier of the API Revision." }, "apiRevision": { - "type":"string", + "type": "string", "minLength": 1, "maxLength": 100, "readOnly": true, "description": "Revision number of API." }, "createdDateTime": { - "type":"string", + "type": "string", "readOnly": true, "format": "date-time", "description": "The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard." }, "updatedDateTime": { - "type":"string", + "type": "string", "readOnly": true, "format": "date-time", "description": "The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard." @@ -3884,28 +3884,28 @@ }, "description": "Summary of revision metadata." }, - "ApiRevisionInfoContract" : { - "description": "Object used to create an API Revision or Version based on an existing API Revision", - "properties": { - "sourceApiId": { - "type": "string", - "description": "Resource identifier of API to be used to create the revision from." - }, - "apiVersionName": { - "type": "string", - "maxLength": 100, - "description": "Version identifier for the new API Version." - }, - "apiRevisionDescription": { - "type": "string", - "maxLength": 256, - "description": "Description of new API Revision." - }, - "apiVersionSet" : { - "description": "Version set details", - "$ref" : "./apimversionsets.json#/definitions/ApiVersionSetContractProperties" - } + "ApiRevisionInfoContract": { + "description": "Object used to create an API Revision or Version based on an existing API Revision", + "properties": { + "sourceApiId": { + "type": "string", + "description": "Resource identifier of API to be used to create the revision from." + }, + "apiVersionName": { + "type": "string", + "maxLength": 100, + "description": "Version identifier for the new API Version." + }, + "apiRevisionDescription": { + "type": "string", + "maxLength": 256, + "description": "Description of new API Revision." + }, + "apiVersionSet": { + "description": "Version set details", + "$ref": "./apimversionsets.json#/definitions/ApiVersionSetContractProperties" } + } }, "ApiReleaseCollection": { "properties": { @@ -3948,13 +3948,13 @@ "description": "Identifier of the API the release belongs to." }, "createdDateTime": { - "type":"string", + "type": "string", "readOnly": true, "format": "date-time", "description": "The time the API was released. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard." }, "updatedDateTime": { - "type":"string", + "type": "string", "readOnly": true, "format": "date-time", "description": "The time the API release was updated." @@ -4377,7 +4377,7 @@ "description": "Text describing the issue." }, "createdDate": { - "type":"string", + "type": "string", "format": "date-time", "description": "Date and time when the issue was created." }, @@ -4474,7 +4474,7 @@ "description": "Comment text." }, "createdDate": { - "type":"string", + "type": "string", "format": "date-time", "description": "Date and time when the comment was created." }, @@ -4529,7 +4529,7 @@ "description": "Filename by which the binary data will be saved." }, "contentFormat": { - "type":"string", + "type": "string", "description": "Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property." }, "content": { diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json index 3685d48944dd..a16fbea78208 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json @@ -1,683 +1,683 @@ { - "swagger": "2.0", - "info": { - "title": "ApiManagementClient", - "description": "Use these REST APIs for managing OAuth2 servers configuration in your Azure API Management deployment. OAuth 2.0 can be used to authorize developer accounts for Azure API Management. For more information refer to [How to OAuth2](https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-oauth2).", - "version": "2017-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers": { - "get": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_ListByService", - "description": "Lists a collection of authorization servers defined within a service instance.", - "x-ms-examples": { - "ApiManagementListAuthorizationServers": { - "$ref": "./examples/ApiManagementListAuthorizationServers.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "A Collection of the Authorization Server entities for the specified API Management service instance.", - "schema": { - "$ref": "#/definitions/AuthorizationServerCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/AuthorizationServerContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}": { - "head": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_GetEntityTag", - "description": "Gets the entity state (Etag) version of the authorizationServer specified by its identifier.", - "x-ms-examples": { - "ApiManagementHeadAuthorizationServer": { - "$ref": "./examples/ApiManagementHeadAuthorizationServer.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AuthenticationServerIdParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Specified authorization server entity exists and current entity state version is present in the ETag header.", - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_Get", - "description": "Gets the details of the authorization server specified by its identifier.", - "x-ms-examples": { - "ApiManagementGetAuthorizationServer": { - "$ref": "./examples/ApiManagementGetAuthorizationServer.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AuthenticationServerIdParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Gets the details of the specified authorization server.", - "schema": { - "$ref": "#/definitions/AuthorizationServerContract" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_CreateOrUpdate", - "description": "Creates new authorization server or updates an existing authorization server.", - "x-ms-examples": { - "ApiManagementCreateAuthorizationServer": { - "$ref": "./examples/ApiManagementCreateAuthorizationServer.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AuthenticationServerIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AuthorizationServerContract" - }, - "description": "Create or update parameters." - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Authorization server was successfully registered.", - "schema": { - "$ref": "#/definitions/AuthorizationServerContract" - } - }, - "200": { - "description": "Authorization server is already registered.", - "schema": { - "$ref": "#/definitions/AuthorizationServerContract" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_Update", - "description": "Updates the details of the authorization server specified by its identifier.", - "x-ms-examples": { - "ApiManagementUpdateAuthorizationServer": { - "$ref": "./examples/ApiManagementUpdateAuthorizationServer.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AuthenticationServerIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AuthorizationServerUpdateContract" - }, - "description": "OAuth2 Server settings Update parameters." - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "description": "The entity state (Etag) version of the authorization server to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", - "type": "string" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "The authorization server settings were successfully updated." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "AuthorizationServers" - ], - "operationId": "AuthorizationServer_Delete", - "description": "Deletes specific authorization server instance.", - "x-ms-examples": { - "ApiManagementDeleteAuthorizationServer": { - "$ref": "./examples/ApiManagementDeleteAuthorizationServer.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AuthenticationServerIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "description": "The entity state (Etag) version of the authentication server to delete. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", - "type": "string" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "The authorization server settings were successfully deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - } - } - }, - "definitions": { - "AuthorizationServerCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthorizationServerContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged OAuth2 Authorization Servers list representation." - }, - "AuthorizationServerContract": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AuthorizationServerContractProperties", - "description": "Properties of the External OAuth authorization server Contract." - } - }, - "allOf": [ - { - "$ref": "./apimanagement.json#/definitions/Resource" - } - ], - "description": "External OAuth authorization server settings." - }, - "AuthorizationServerContractProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "User-friendly authorization server name.", - "minLength": 1, - "maxLength": 50 - }, - "clientRegistrationEndpoint": { - "type": "string", - "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." - }, - "authorizationEndpoint": { - "type": "string", - "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." - }, - "grantTypes": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationCode", - "implicit", - "resourceOwnerPassword", - "clientCredentials" - ], - "x-ms-enum": { - "name": "GrantType", - "modelAsString": true, - "values": [ - { - "value": "authorizationCode", - "description": "Authorization Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.1." - }, - { - "value": "implicit", - "description": "Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2." - }, - { - "value": "resourceOwnerPassword", - "description": "Resource Owner Password Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.3." - }, - { - "value": "clientCredentials", - "description": "Client Credentials Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.4." - } - ] - } - }, - "description": "Form of an authorization grant, which the client uses to request the access token.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "clientId": { - "type": "string", - "description": "Client or app id registered with this authorization server." - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthorizationServerContractBaseProperties" - } - ], - "required": [ - "displayName", - "clientRegistrationEndpoint", - "authorizationEndpoint", - "clientId", - "grantTypes" - ], - "description": "External OAuth authorization server settings Properties." - }, - "AuthorizationServerUpdateContract": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AuthorizationServerUpdateContractProperties", - "description": "Properties of the External OAuth authorization server update Contract." - } - }, - "allOf": [ - { - "$ref": "./apimanagement.json#/definitions/Resource" - } - ], - "description": "External OAuth authorization server settings." - }, - "AuthorizationServerUpdateContractProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "User-friendly authorization server name.", - "minLength": 1, - "maxLength": 50 - }, - "clientRegistrationEndpoint": { - "type": "string", - "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." - }, - "authorizationEndpoint": { - "type": "string", - "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." - }, - "grantTypes": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationCode", - "implicit", - "resourceOwnerPassword", - "clientCredentials" - ], - "x-ms-enum": { - "name": "GrantType", - "modelAsString": true, - "values": [ - { - "value": "authorizationCode", - "description": "Authorization Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.1." - }, - { - "value": "implicit", - "description": "Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2." - }, - { - "value": "resourceOwnerPassword", - "description": "Resource Owner Password Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.3." - }, - { - "value": "clientCredentials", - "description": "Client Credentials Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.4." - } - ] - } - }, - "description": "Form of an authorization grant, which the client uses to request the access token.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "clientId": { - "type": "string", - "description": "Client or app id registered with this authorization server." - } - }, - "allOf": [ - { - "$ref": "#/definitions/AuthorizationServerContractBaseProperties" - } - ], - "description": "External OAuth authorization server Update settings contract." - }, - "AuthorizationServerContractBaseProperties": { - "properties": { - "description": { - "type": "string", - "description": "Description of the authorization server. Can contain HTML formatting tags." - }, - "authorizationMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "x-ms-enum": { - "name": "AuthorizationMethod", - "modelAsString": false - } - }, - "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." - }, - "clientAuthenticationMethod": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Basic", - "Body" - ], - "x-ms-enum": { - "name": "ClientAuthenticationMethod", - "modelAsString": true, - "values": [ - { - "value": "Basic", - "description": "Basic Client Authentication method." - }, - { - "value": "Body", - "description": "Body based Authentication method." - } - ] - } - }, - "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." - }, - "tokenBodyParameters": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenBodyParameterContract" - }, - "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." - }, - "tokenEndpoint": { - "type": "string", - "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "supportState": { - "type": "boolean", - "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.1" - } - }, - "defaultScope": { - "type": "string", - "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-3.3" - } - }, - "bearerTokenSendingMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "authorizationHeader", - "query" - ], - "x-ms-enum": { - "name": "BearerTokenSendingMethod", - "modelAsString": true - } - }, - "description": "Specifies the mechanism by which access token is passed to the API. ", - "externalDocs": { - "url": "http://tools.ietf.org/html/rfc6749#section-4" - } - }, - "clientSecret": { - "type": "string", - "description": "Client or app secret registered with this authorization server." - }, - "resourceOwnerUsername": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." - }, - "resourceOwnerPassword": { - "type": "string", - "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." - } - }, - "description": "External OAuth authorization server Update settings contract." - }, - "TokenBodyParameterContract": { - "properties": { - "name": { - "type": "string", - "description": "body parameter name." - }, - "value": { - "type": "string", - "description": "body parameter value." - } - }, - "required": [ - "name", - "value" - ], - "description": "OAuth acquire token request body parameter (www-url-form-encoded)." - } - }, - "parameters": { - "AuthenticationServerIdParameter": { - "name": "authsid", - "in": "path", - "required": true, - "type": "string", - "description": "Identifier of the authorization server.", - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file + "swagger": "2.0", + "info": { + "title": "ApiManagementClient", + "description": "Use these REST APIs for managing OAuth2 servers configuration in your Azure API Management deployment. OAuth 2.0 can be used to authorize developer accounts for Azure API Management. For more information refer to [How to OAuth2](https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-oauth2).", + "version": "2017-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers": { + "get": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_ListByService", + "description": "Lists a collection of authorization servers defined within a service instance.", + "x-ms-examples": { + "ApiManagementListAuthorizationServers": { + "$ref": "./examples/ApiManagementListAuthorizationServers.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A Collection of the Authorization Server entities for the specified API Management service instance.", + "schema": { + "$ref": "#/definitions/AuthorizationServerCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/AuthorizationServerContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}": { + "head": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_GetEntityTag", + "description": "Gets the entity state (Etag) version of the authorizationServer specified by its identifier.", + "x-ms-examples": { + "ApiManagementHeadAuthorizationServer": { + "$ref": "./examples/ApiManagementHeadAuthorizationServer.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "#/parameters/AuthenticationServerIdParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Specified authorization server entity exists and current entity state version is present in the ETag header.", + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_Get", + "description": "Gets the details of the authorization server specified by its identifier.", + "x-ms-examples": { + "ApiManagementGetAuthorizationServer": { + "$ref": "./examples/ApiManagementGetAuthorizationServer.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "#/parameters/AuthenticationServerIdParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Gets the details of the specified authorization server.", + "schema": { + "$ref": "#/definitions/AuthorizationServerContract" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_CreateOrUpdate", + "description": "Creates new authorization server or updates an existing authorization server.", + "x-ms-examples": { + "ApiManagementCreateAuthorizationServer": { + "$ref": "./examples/ApiManagementCreateAuthorizationServer.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "#/parameters/AuthenticationServerIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizationServerContract" + }, + "description": "Create or update parameters." + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Authorization server was successfully registered.", + "schema": { + "$ref": "#/definitions/AuthorizationServerContract" + } + }, + "200": { + "description": "Authorization server is already registered.", + "schema": { + "$ref": "#/definitions/AuthorizationServerContract" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_Update", + "description": "Updates the details of the authorization server specified by its identifier.", + "x-ms-examples": { + "ApiManagementUpdateAuthorizationServer": { + "$ref": "./examples/ApiManagementUpdateAuthorizationServer.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "#/parameters/AuthenticationServerIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizationServerUpdateContract" + }, + "description": "OAuth2 Server settings Update parameters." + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "description": "The entity state (Etag) version of the authorization server to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", + "type": "string" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "The authorization server settings were successfully updated." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "AuthorizationServers" + ], + "operationId": "AuthorizationServer_Delete", + "description": "Deletes specific authorization server instance.", + "x-ms-examples": { + "ApiManagementDeleteAuthorizationServer": { + "$ref": "./examples/ApiManagementDeleteAuthorizationServer.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "#/parameters/AuthenticationServerIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "description": "The entity state (Etag) version of the authentication server to delete. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", + "type": "string" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "The authorization server settings were successfully deleted." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "AuthorizationServerCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthorizationServerContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged OAuth2 Authorization Servers list representation." + }, + "AuthorizationServerContract": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AuthorizationServerContractProperties", + "description": "Properties of the External OAuth authorization server Contract." + } + }, + "allOf": [ + { + "$ref": "./apimanagement.json#/definitions/Resource" + } + ], + "description": "External OAuth authorization server settings." + }, + "AuthorizationServerContractProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "User-friendly authorization server name.", + "minLength": 1, + "maxLength": 50 + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "grantTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ], + "x-ms-enum": { + "name": "GrantType", + "modelAsString": true, + "values": [ + { + "value": "authorizationCode", + "description": "Authorization Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.1." + }, + { + "value": "implicit", + "description": "Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2." + }, + { + "value": "resourceOwnerPassword", + "description": "Resource Owner Password Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.3." + }, + { + "value": "clientCredentials", + "description": "Client Credentials Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.4." + } + ] + } + }, + "description": "Form of an authorization grant, which the client uses to request the access token.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractBaseProperties" + } + ], + "required": [ + "displayName", + "clientRegistrationEndpoint", + "authorizationEndpoint", + "clientId", + "grantTypes" + ], + "description": "External OAuth authorization server settings Properties." + }, + "AuthorizationServerUpdateContract": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AuthorizationServerUpdateContractProperties", + "description": "Properties of the External OAuth authorization server update Contract." + } + }, + "allOf": [ + { + "$ref": "./apimanagement.json#/definitions/Resource" + } + ], + "description": "External OAuth authorization server settings." + }, + "AuthorizationServerUpdateContractProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "User-friendly authorization server name.", + "minLength": 1, + "maxLength": 50 + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "grantTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ], + "x-ms-enum": { + "name": "GrantType", + "modelAsString": true, + "values": [ + { + "value": "authorizationCode", + "description": "Authorization Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.1." + }, + { + "value": "implicit", + "description": "Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2." + }, + { + "value": "resourceOwnerPassword", + "description": "Resource Owner Password Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.3." + }, + { + "value": "clientCredentials", + "description": "Client Credentials Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.4." + } + ] + } + }, + "description": "Form of an authorization grant, which the client uses to request the access token.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractBaseProperties" + } + ], + "description": "External OAuth authorization server Update settings contract." + }, + "AuthorizationServerContractBaseProperties": { + "properties": { + "description": { + "type": "string", + "description": "Description of the authorization server. Can contain HTML formatting tags." + }, + "authorizationMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HEAD", + "OPTIONS", + "TRACE", + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ], + "x-ms-enum": { + "name": "AuthorizationMethod", + "modelAsString": false + } + }, + "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." + }, + "clientAuthenticationMethod": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Basic", + "Body" + ], + "x-ms-enum": { + "name": "ClientAuthenticationMethod", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Basic Client Authentication method." + }, + { + "value": "Body", + "description": "Body based Authentication method." + } + ] + } + }, + "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." + }, + "tokenBodyParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenBodyParameterContract" + }, + "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." + }, + "tokenEndpoint": { + "type": "string", + "description": "OAuth token endpoint. Contains absolute URI to entity being referenced.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "supportState": { + "type": "boolean", + "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.1" + } + }, + "defaultScope": { + "type": "string", + "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-3.3" + } + }, + "bearerTokenSendingMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ], + "x-ms-enum": { + "name": "BearerTokenSendingMethod", + "modelAsString": true + } + }, + "description": "Specifies the mechanism by which access token is passed to the API. ", + "externalDocs": { + "url": "http://tools.ietf.org/html/rfc6749#section-4" + } + }, + "clientSecret": { + "type": "string", + "description": "Client or app secret registered with this authorization server." + }, + "resourceOwnerUsername": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." + }, + "resourceOwnerPassword": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." + } + }, + "description": "External OAuth authorization server Update settings contract." + }, + "TokenBodyParameterContract": { + "properties": { + "name": { + "type": "string", + "description": "body parameter name." + }, + "value": { + "type": "string", + "description": "body parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "OAuth acquire token request body parameter (www-url-form-encoded)." + } + }, + "parameters": { + "AuthenticationServerIdParameter": { + "name": "authsid", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of the authorization server.", + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json index f36d7725f6db..91f67dd2f81c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json @@ -126,10 +126,10 @@ "200": { "description": "Specified backend entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -140,7 +140,7 @@ } } }, - "get": { + "get": { "tags": [ "Backends" ], @@ -732,7 +732,7 @@ }, "BackendReconnectContract": { "properties": { - "properties":{ + "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/BackendReconnectProperties", "description": "Reconnect request properties." @@ -771,4 +771,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json index 57c6c10526cf..dff20959823d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json @@ -41,7 +41,7 @@ ], "operationId": "Certificate_ListByService", "description": "Lists a collection of all certificates in the specified service instance.", - "x-ms-examples": { + "x-ms-examples": { "ApiManagementListCertificates": { "$ref": "./examples/ApiManagementListCertificates.json" } @@ -126,10 +126,10 @@ "200": { "description": "Specified certificate entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -140,7 +140,7 @@ } } }, - "get": { + "get": { "tags": [ "Certificates" ], @@ -362,8 +362,8 @@ ], "description": "Properties of the Certificate contract." }, - "CertificateCreateOrUpdateParameters":{ - "properties": { + "CertificateCreateOrUpdateParameters": { + "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/CertificateCreateOrUpdateProperties", @@ -403,4 +403,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json index 4264715afcae..0f1174a4ed3e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json @@ -442,7 +442,7 @@ { "$ref": "#/parameters/DiagnosticIdParameter" }, - { + { "$ref": "./apimloggers.json#/parameters/LoggerIdParameter" }, { @@ -464,7 +464,7 @@ } } }, - "put": { + "put": { "tags": [ "DiagnosticLoggers" ], diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json index 0cd80e168e70..ec7128082aba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json @@ -112,10 +112,10 @@ "200": { "description": "Specified email template entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -126,7 +126,7 @@ } } }, - "get": { + "get": { "tags": [ "EmailTemplates" ], @@ -500,4 +500,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json index a60cb1560060..b4561e4f73ef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json @@ -123,10 +123,10 @@ "200": { "description": "Specified group entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -137,7 +137,7 @@ } } }, - "get": { + "get": { "tags": [ "Groups" ], @@ -457,7 +457,7 @@ } } }, - "put": { + "put": { "tags": [ "GroupUsers" ], @@ -728,4 +728,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json index 7d9a7735275e..8a819d6d7951 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json @@ -112,10 +112,10 @@ "200": { "description": "Specified identity provider entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -126,7 +126,7 @@ } } }, - "get": { + "get": { "tags": [ "IdentityProvider" ], @@ -386,7 +386,7 @@ "$ref": "#/definitions/IdentityProviderContract" }, "description": "Identity Provider configuration values." - }, + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -394,8 +394,8 @@ }, "description": "List of all the Identity Providers configured on the service instance." }, - "IdentityProviderUpdateParameters":{ - "properties": { + "IdentityProviderUpdateParameters": { + "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/IdentityProviderUpdateProperties", @@ -415,7 +415,7 @@ "type": "string", "description": "Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft.", "minLength": 1 - } + } }, "allOf": [ { @@ -548,4 +548,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json index b979e08bc884..8f98165ef47a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json @@ -129,10 +129,10 @@ "200": { "description": "Specified logger entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -143,7 +143,7 @@ } } }, - "get": { + "get": { "tags": [ "Loggers" ], @@ -439,8 +439,8 @@ "type": "boolean", "description": "Whether records are buffered in the logger before publishing. Default is assumed to be true." }, - "sampling" : { - "$ref" : "#/definitions/LoggerSamplingContract", + "sampling": { + "$ref": "#/definitions/LoggerSamplingContract", "description": "Sampling settings for an ApplicationInsights logger.", "example": { "sampling": { @@ -543,14 +543,14 @@ } }, "percentage": { - "type": "number", - "format": "double", - "description": "Rate of sampling for fixed-rate sampling." + "type": "number", + "format": "double", + "description": "Rate of sampling for fixed-rate sampling." }, "maxTelemetryItemsPerSecond": { - "type": "integer", - "format": "int32", - "description": "Target rate of telemetry items per second." + "type": "integer", + "format": "int32", + "description": "Target rate of telemetry items per second." }, "evaluationInterval": { "type": "string", @@ -574,24 +574,24 @@ "maxLength": 2000 }, "minPercentage": { - "type": "number", - "format": "double", - "description": "Minimum allowed rate of sampling." + "type": "number", + "format": "double", + "description": "Minimum allowed rate of sampling." }, "maxPercentage": { - "type": "number", - "format": "double", - "description": "Maximum allowed rate of sampling." + "type": "number", + "format": "double", + "description": "Maximum allowed rate of sampling." }, "movingAverageRatio": { - "type": "number", - "format": "double", - "description": "Moving average ration assigned to most recent value." + "type": "number", + "format": "double", + "description": "Moving average ration assigned to most recent value." }, "initialPercentage": { - "type": "number", - "format": "double", - "description": "Initial sampling rate." + "type": "number", + "format": "double", + "description": "Initial sampling rate." } }, "description": "Sampling settings for an ApplicationInsights logger." @@ -609,4 +609,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json index f7b828ea7126..c715b6ae1f53 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json @@ -201,4 +201,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json index 4ece25c081e4..af3a3d7d033a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json @@ -753,4 +753,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json index cce29db19336..2cfb1096526d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json @@ -120,10 +120,10 @@ "200": { "description": "Specified openidConnectProvider entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -134,7 +134,7 @@ } } }, - "get": { + "get": { "tags": [ "OpenIdConnectProviders" ], @@ -458,4 +458,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json index 4fab75fe7926..bbe69eabc6bf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json @@ -722,4 +722,4 @@ "description": "User registration delegation settings properties." } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json index 792eba383f65..6ce08fc02df5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json @@ -133,10 +133,10 @@ "200": { "description": "Specified Product entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -147,7 +147,7 @@ } } }, - "get": { + "get": { "tags": [ "Products" ], @@ -471,7 +471,7 @@ } } }, - "put": { + "put": { "tags": [ "ProductApis" ], @@ -673,7 +673,7 @@ } } }, - "put": { + "put": { "tags": [ "ProductGroups" ], @@ -1189,4 +1189,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json index 0fdf926423a1..a295222d1820 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json @@ -123,10 +123,10 @@ "200": { "description": "Specified Property entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -137,7 +137,7 @@ } } }, - "get": { + "get": { "tags": [ "Property" ], @@ -471,4 +471,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json index ad1630e53c61..42e97fd0fb0b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json @@ -338,4 +338,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimreports.json index 3cfc28e6b785..5a9b95bb1bcb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimreports.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimreports.json @@ -1,722 +1,722 @@ { - "swagger": "2.0", - "info": { - "title": "ApiManagementClient", - "description": "Use these REST APIs to get the analytics reports associated with your Azure API Management deployment.", - "version": "2017-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByApi", - "description": "Lists report records by API.", - "x-ms-examples": { - "ApiManagementGetReportsByApi": { - "$ref": "./examples/ApiManagementGetReportsByApi.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByUser", - "description": "Lists report records by User.", - "x-ms-examples": { - "ApiManagementGetReportsByUser": { - "$ref": "./examples/ApiManagementGetReportsByUser.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByOperation", - "description": "Lists report records by API Operations.", - "x-ms-examples": { - "ApiManagementGetReportsByOperation": { - "$ref": "./examples/ApiManagementGetReportsByOperation.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByProduct", - "description": "Lists report records by Product.", - "x-ms-examples": { - "ApiManagementGetReportsByProduct": { - "$ref": "./examples/ApiManagementGetReportsByProduct.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByGeo", - "description": "Lists report records by geography.", - "x-ms-examples": { - "ApiManagementGetReportsByGeo": { - "$ref": "./examples/ApiManagementGetReportsByGeo.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListBySubscription", - "description": "Lists report records by subscription.", - "x-ms-examples": { - "ApiManagementGetReportsBySubscription": { - "$ref": "./examples/ApiManagementGetReportsBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByTime", - "description": "Lists report records by Time.", - "x-ms-examples": { - "ApiManagementGetReportsByTime": { - "$ref": "./examples/ApiManagementGetReportsByTime.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "name": "interval", - "in": "query", - "required": true, - "type": "string", - "format": "duration", - "description": "By time interval. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/ReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ReportRecordContract" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "Reports_ListByRequest", - "description": "Lists report records by Request.", - "x-ms-examples": { - "ApiManagementGetReportsByRequest": { - "$ref": "./examples/ApiManagementGetReportsByRequest.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Report record.", - "schema": { - "$ref": "#/definitions/RequestReportCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-odata": "#/definitions/RequestReportRecordContract" - } - } - }, - "definitions": { - "ReportCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReportRecordContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Report records list representation." - }, - "ReportRecordContract": { - "properties": { - "name": { - "type": "string", - "description": "Name depending on report endpoint specifies product, API, operation or developer name." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" - }, - "interval": { - "type": "string", - "description": "Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations)." - }, - "country": { - "type": "string", - "description": "Country to which this record data is related." - }, - "region": { - "type": "string", - "description": "Country region to which this record data is related." - }, - "zip": { - "type": "string", - "description": "Zip code to which this record data is related." - }, - "userId": { - "readOnly": true, - "type": "string", - "description": "User identifier path. /users/{userId}" - }, - "productId": { - "readOnly": true, - "type": "string", - "description": "Product identifier path. /products/{productId}" - }, - "apiId": { - "type": "string", - "description": "API identifier path. /apis/{apiId}" - }, - "operationId": { - "type": "string", - "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" - }, - "apiRegion": { - "type": "string", - "description": "API region identifier." - }, - "subscriptionId": { - "type": "string", - "description": "Subscription identifier path. /subscriptions/{subscriptionId}" - }, - "callCountSuccess": { - "type": "integer", - "format": "int32", - "description": "Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect" - }, - "callCountBlocked": { - "type": "integer", - "format": "int32", - "description": "Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests" - }, - "callCountFailed": { - "type": "integer", - "format": "int32", - "description": "Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600" - }, - "callCountOther": { - "type": "integer", - "format": "int32", - "description": "Number of other calls." - }, - "callCountTotal": { - "type": "integer", - "format": "int32", - "description": "Total number of calls." - }, - "bandwidth": { - "type": "integer", - "format": "int64", - "description": "Bandwidth consumed." - }, - "cacheHitCount": { - "type": "integer", - "format": "int32", - "description": "Number of times when content was served from cache policy." - }, - "cacheMissCount": { - "type": "integer", - "format": "int32", - "description": "Number of times content was fetched from backend." - }, - "apiTimeAvg": { - "type": "number", - "format": "double", - "description": "Average time it took to process request." - }, - "apiTimeMin": { - "type": "number", - "format": "double", - "description": "Minimum time it took to process request." - }, - "apiTimeMax": { - "type": "number", - "format": "double", - "description": "Maximum time it took to process request." - }, - "serviceTimeAvg": { - "type": "number", - "format": "double", - "description": "Average time it took to process request on backend." - }, - "serviceTimeMin": { - "type": "number", - "format": "double", - "description": "Minimum time it took to process request on backend." - }, - "serviceTimeMax": { - "type": "number", - "format": "double", - "description": "Maximum time it took to process request on backend." - } - }, - "description": "Report data." - }, - "RequestReportCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RequestReportRecordContract" - }, - "description": "Page values." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "Total record count number across all pages." - } - }, - "description": "Paged Report records list representation." - }, - "RequestReportRecordContract": { - "properties": { - "apiId": { - "type": "string", - "description": "API identifier path. /apis/{apiId}" - }, - "operationId": { - "type": "string", - "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" - }, - "productId": { - "readOnly": true, - "type": "string", - "description": "Product identifier path. /products/{productId}" - }, - "userId": { - "readOnly": true, - "type": "string", - "description": "User identifier path. /users/{userId}" - }, - "method": { - "type": "string", - "description": "The HTTP method associated with this request.." - }, - "url": { - "type": "string", - "description": "The full URL associated with this request." - }, - "ipAddress": { - "type": "string", - "description": "The client IP address associated with this request." - }, - "backendResponseCode": { - "type": "string", - "description": "The HTTP status code received by the gateway as a result of forwarding this request to the backend." - }, - "responseCode": { - "type": "integer", - "format": "int32", - "description": "The HTTP status code returned by the gateway." - }, - "responseSize": { - "type": "integer", - "format": "int32", - "description": "The size of the response returned by the gateway." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The date and time when this request was received by the gateway in ISO 8601 format." - }, - "cache": { - "type": "string", - "description": "Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend." - }, - "apiTime": { - "type": "number", - "format": "double", - "description": "The total time it took to process this request." - }, - "serviceTime": { - "type": "number", - "format": "double", - "description": "he time it took to forward this request to the backend and get the response back." - }, - "apiRegion": { - "type": "string", - "description": "Azure region where the gateway that processed this request is located." - }, - "subscriptionId": { - "type": "string", - "description": "Subscription identifier path. /subscriptions/{subscriptionId}" - }, - "requestId": { - "type": "string", - "description": "Request Identifier." - }, - "requestSize": { - "type": "integer", - "format": "int32", - "description": "The size of this request.." - } - }, - "description": "Request Report data." - } - }, - "parameters": {} -} \ No newline at end of file + "swagger": "2.0", + "info": { + "title": "ApiManagementClient", + "description": "Use these REST APIs to get the analytics reports associated with your Azure API Management deployment.", + "version": "2017-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByApi", + "description": "Lists report records by API.", + "x-ms-examples": { + "ApiManagementGetReportsByApi": { + "$ref": "./examples/ApiManagementGetReportsByApi.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByUser", + "description": "Lists report records by User.", + "x-ms-examples": { + "ApiManagementGetReportsByUser": { + "$ref": "./examples/ApiManagementGetReportsByUser.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByOperation", + "description": "Lists report records by API Operations.", + "x-ms-examples": { + "ApiManagementGetReportsByOperation": { + "$ref": "./examples/ApiManagementGetReportsByOperation.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByProduct", + "description": "Lists report records by Product.", + "x-ms-examples": { + "ApiManagementGetReportsByProduct": { + "$ref": "./examples/ApiManagementGetReportsByProduct.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByGeo", + "description": "Lists report records by geography.", + "x-ms-examples": { + "ApiManagementGetReportsByGeo": { + "$ref": "./examples/ApiManagementGetReportsByGeo.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListBySubscription", + "description": "Lists report records by subscription.", + "x-ms-examples": { + "ApiManagementGetReportsBySubscription": { + "$ref": "./examples/ApiManagementGetReportsBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByTime", + "description": "Lists report records by Time.", + "x-ms-examples": { + "ApiManagementGetReportsByTime": { + "$ref": "./examples/ApiManagementGetReportsByTime.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "name": "interval", + "in": "query", + "required": true, + "type": "string", + "format": "duration", + "description": "By time interval. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/ReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ReportRecordContract" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Reports_ListByRequest", + "description": "Lists report records by Request.", + "x-ms-examples": { + "ApiManagementGetReportsByRequest": { + "$ref": "./examples/ApiManagementGetReportsByRequest.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Report record.", + "schema": { + "$ref": "#/definitions/RequestReportCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-odata": "#/definitions/RequestReportRecordContract" + } + } + }, + "definitions": { + "ReportCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReportRecordContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Report records list representation." + }, + "ReportRecordContract": { + "properties": { + "name": { + "type": "string", + "description": "Name depending on report endpoint specifies product, API, operation or developer name." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n" + }, + "interval": { + "type": "string", + "description": "Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations)." + }, + "country": { + "type": "string", + "description": "Country to which this record data is related." + }, + "region": { + "type": "string", + "description": "Country region to which this record data is related." + }, + "zip": { + "type": "string", + "description": "Zip code to which this record data is related." + }, + "userId": { + "readOnly": true, + "type": "string", + "description": "User identifier path. /users/{userId}" + }, + "productId": { + "readOnly": true, + "type": "string", + "description": "Product identifier path. /products/{productId}" + }, + "apiId": { + "type": "string", + "description": "API identifier path. /apis/{apiId}" + }, + "operationId": { + "type": "string", + "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" + }, + "apiRegion": { + "type": "string", + "description": "API region identifier." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription identifier path. /subscriptions/{subscriptionId}" + }, + "callCountSuccess": { + "type": "integer", + "format": "int32", + "description": "Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect" + }, + "callCountBlocked": { + "type": "integer", + "format": "int32", + "description": "Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests" + }, + "callCountFailed": { + "type": "integer", + "format": "int32", + "description": "Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600" + }, + "callCountOther": { + "type": "integer", + "format": "int32", + "description": "Number of other calls." + }, + "callCountTotal": { + "type": "integer", + "format": "int32", + "description": "Total number of calls." + }, + "bandwidth": { + "type": "integer", + "format": "int64", + "description": "Bandwidth consumed." + }, + "cacheHitCount": { + "type": "integer", + "format": "int32", + "description": "Number of times when content was served from cache policy." + }, + "cacheMissCount": { + "type": "integer", + "format": "int32", + "description": "Number of times content was fetched from backend." + }, + "apiTimeAvg": { + "type": "number", + "format": "double", + "description": "Average time it took to process request." + }, + "apiTimeMin": { + "type": "number", + "format": "double", + "description": "Minimum time it took to process request." + }, + "apiTimeMax": { + "type": "number", + "format": "double", + "description": "Maximum time it took to process request." + }, + "serviceTimeAvg": { + "type": "number", + "format": "double", + "description": "Average time it took to process request on backend." + }, + "serviceTimeMin": { + "type": "number", + "format": "double", + "description": "Minimum time it took to process request on backend." + }, + "serviceTimeMax": { + "type": "number", + "format": "double", + "description": "Maximum time it took to process request on backend." + } + }, + "description": "Report data." + }, + "RequestReportCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RequestReportRecordContract" + }, + "description": "Page values." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + } + }, + "description": "Paged Report records list representation." + }, + "RequestReportRecordContract": { + "properties": { + "apiId": { + "type": "string", + "description": "API identifier path. /apis/{apiId}" + }, + "operationId": { + "type": "string", + "description": "Operation identifier path. /apis/{apiId}/operations/{operationId}" + }, + "productId": { + "readOnly": true, + "type": "string", + "description": "Product identifier path. /products/{productId}" + }, + "userId": { + "readOnly": true, + "type": "string", + "description": "User identifier path. /users/{userId}" + }, + "method": { + "type": "string", + "description": "The HTTP method associated with this request.." + }, + "url": { + "type": "string", + "description": "The full URL associated with this request." + }, + "ipAddress": { + "type": "string", + "description": "The client IP address associated with this request." + }, + "backendResponseCode": { + "type": "string", + "description": "The HTTP status code received by the gateway as a result of forwarding this request to the backend." + }, + "responseCode": { + "type": "integer", + "format": "int32", + "description": "The HTTP status code returned by the gateway." + }, + "responseSize": { + "type": "integer", + "format": "int32", + "description": "The size of the response returned by the gateway." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The date and time when this request was received by the gateway in ISO 8601 format." + }, + "cache": { + "type": "string", + "description": "Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend." + }, + "apiTime": { + "type": "number", + "format": "double", + "description": "The total time it took to process this request." + }, + "serviceTime": { + "type": "number", + "format": "double", + "description": "he time it took to forward this request to the backend and get the response back." + }, + "apiRegion": { + "type": "string", + "description": "Azure region where the gateway that processed this request is located." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription identifier path. /subscriptions/{subscriptionId}" + }, + "requestId": { + "type": "string", + "description": "Request Identifier." + }, + "requestSize": { + "type": "integer", + "format": "int32", + "description": "The size of this request.." + } + }, + "description": "Request Report data." + } + }, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json index 44e5ab3a4f0c..ccd464b6951d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json @@ -126,10 +126,10 @@ "200": { "description": "Specified apimanagement subscription entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -140,7 +140,7 @@ } } }, - "get": { + "get": { "tags": [ "Subscriptions" ], @@ -691,4 +691,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json index 15a95d020572..115cf30ba3ed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json @@ -9,8 +9,7 @@ "schemes": [ "https" ], - "consumes": [ - ], + "consumes": [], "produces": [ "application/json" ], @@ -200,6 +199,5 @@ "description": "Operation Entity contract Properties." } }, - "parameters": { - } -} \ No newline at end of file + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtags.json index 30500bef3da7..db9edf47eaed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtags.json @@ -1521,7 +1521,6 @@ } } } - }, "definitions": { "TagCollection": { @@ -1668,4 +1667,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json index 1ff1ea3cd7db..0339673ad56d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json @@ -773,4 +773,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimusers.json index cd68db086810..4d1124d1010f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimusers.json @@ -126,10 +126,10 @@ "200": { "description": "Specified user entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -140,7 +140,7 @@ } } }, - "get": { + "get": { "tags": [ "Users" ], @@ -950,4 +950,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json index c103e1150e12..94048a68923b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json @@ -1,467 +1,467 @@ { - "swagger": "2.0", - "info": { - "title": "ApiManagementClient", - "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.", - "version": "2017-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ + "swagger": "2.0", + "info": { + "title": "ApiManagementClient", + "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.", + "version": "2017-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": { + "parameters": [ { - "azure_auth": [ - "user_impersonation" - ] + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + ], + "get": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_ListByService", + "description": "Lists a collection of API Version Sets in the specified service instance.", + "x-ms-examples": { + "ApiManagementListApiVersionSets": { + "$ref": "./examples/ApiManagementListApiVersionSets.json" + } + }, + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Api Version Set entities.", + "schema": { + "$ref": "#/definitions/ApiVersionSetCollection" } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ApiVersionSetContract" + } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": { - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - } - ], - "get": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_ListByService", - "description": "Lists a collection of API Version Sets in the specified service instance.", - "x-ms-examples": { - "ApiManagementListApiVersionSets": { - "$ref": "./examples/ApiManagementListApiVersionSets.json" - } - }, - "parameters": [ - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Api Version Set entities.", - "schema": { - "$ref": "#/definitions/ApiVersionSetCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ApiVersionSetContract" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": { + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + } + ], + "head": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_GetEntityTag", + "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.", + "x-ms-examples": { + "ApiManagementHeadApiVersionSet": { + "$ref": "./examples/ApiManagementHeadApiVersionSet.json" + } + }, + "responses": { + "200": { + "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.", + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" } + } + } + }, + "get": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Get", + "description": "Gets the details of the Api Version Set specified by its identifier.", + "x-ms-examples": { + "ApiManagementGetApiVersionSet": { + "$ref": "./examples/ApiManagementGetApiVersionSet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": { - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - } - ], - "head": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_GetEntityTag", - "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.", - "x-ms-examples": { - "ApiManagementHeadApiVersionSet": { - "$ref": "./examples/ApiManagementHeadApiVersionSet.json" - } - }, - "responses": { - "200": { - "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.", - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Get", - "description": "Gets the details of the Api Version Set specified by its identifier.", - "x-ms-examples": { - "ApiManagementGetApiVersionSet": { - "$ref": "./examples/ApiManagementGetApiVersionSet.json" - } - }, - "responses": { - "200": { - "description": "Gets the specified Api Version Set entity.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } + "responses": { + "200": { + "description": "Gets the specified Api Version Set entity.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" }, - "put": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_CreateOrUpdate", - "description": "Creates or Updates a Api Version Set.", - "x-ms-examples": { - "ApiManagementCreateApiVersionSet": { - "$ref": "./examples/ApiManagementCreateApiVersionSet.json" - } - }, - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "description": "Create or update parameters." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "description": "The entity state (Etag) version of the user to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Api Version Set was successfully updated.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - } - }, - "201": { - "description": "Api Version Set was successfully created.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Update", - "description": "Updates the details of the Api VersionSet specified by its identifier.", - "x-ms-examples": { - "ApiManagementUpdateApiVersionSet": { - "$ref": "./examples/ApiManagementUpdateApiVersionSet.json" - } - }, - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApiVersionSetUpdateParameters" - }, - "description": "Update parameters." - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "description": "The entity state (Etag) version of the user to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", - "type": "string" - } - ], - "responses": { - "204": { - "description": "The Api Version Set details were successfully updated." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 4XX Error response giving details why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Delete", - "description": "Deletes specific Api Version Set.", - "x-ms-examples": { - "ApiManagementDeleteApiVersionSet": { - "$ref": "./examples/ApiManagementDeleteApiVersionSet.json" - } - }, - "parameters": [ - { - "name": "If-Match", - "in": "header", - "required": true, - "description": "The entity state (Etag) version of the Api Version Set to delete. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", - "type": "string" - } - ], - "responses": { - "204": { - "description": "The ApiVersion Set details were successfully deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } } - }, - "definitions": { - "ApiVersionSetCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "description": "Page values." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } + }, + "put": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_CreateOrUpdate", + "description": "Creates or Updates a Api Version Set.", + "x-ms-examples": { + "ApiManagementCreateApiVersionSet": { + "$ref": "./examples/ApiManagementCreateApiVersionSet.json" + } + }, + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" }, - "description": "Paged Api Version Set list representation." + "description": "Create or update parameters." }, - "ApiVersionSetEntityBase": { - "properties": { - "description": { - "type": "string", - "description": "Description of API Version Set." - }, - "versionQueryName": { - "type": "string", - "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.", - "minLength": 1, - "maxLength": 100 - }, - "versionHeaderName": { - "type": "string", - "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.", - "minLength": 1, - "maxLength": 100 - } + { + "name": "If-Match", + "in": "header", + "required": false, + "description": "The entity state (Etag) version of the user to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Api Version Set was successfully updated.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" } + }, + "201": { + "description": "Api Version Set was successfully created.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Update", + "description": "Updates the details of the Api VersionSet specified by its identifier.", + "x-ms-examples": { + "ApiManagementUpdateApiVersionSet": { + "$ref": "./examples/ApiManagementUpdateApiVersionSet.json" + } }, - "ApiVersionSetContractProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "Name of API Version Set", - "minLength": 1, - "maxLength": 100 - }, - "versioningScheme": { - "type": "string", - "description": "An value that determines where the API Version identifer will be located in a HTTP request.", - "enum": [ - "Segment", - "Query", - "Header" - ], - "x-ms-enum": { - "name": "versioningScheme", - "modelAsString": true, - "values": [ - { - "value": "Segment", - "description": "The API Version is passed in a path segment." - }, - { - "value": "Query", - "description": "The API Version is passed in a query parameter." - }, - { - "value": "Header", - "description": "The API Version is passed in a HTTP header." - } - ] - } - } + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApiVersionSetUpdateParameters" }, - "allOf": [ - { - "$ref": "#/definitions/ApiVersionSetEntityBase" - } - ], - "required": [ - "displayName", - "versioningScheme" - ], - "description": "Properties of an API Version Set." + "description": "Update parameters." + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "description": "The entity state (Etag) version of the user to update. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", + "type": "string" + } + ], + "responses": { + "204": { + "description": "The Api Version Set details were successfully updated." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 4XX Error response giving details why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Delete", + "description": "Deletes specific Api Version Set.", + "x-ms-examples": { + "ApiManagementDeleteApiVersionSet": { + "$ref": "./examples/ApiManagementDeleteApiVersionSet.json" + } }, - "ApiVersionSetContract": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApiVersionSetContractProperties" - } - }, - "allOf": [ - { - "$ref": "./apimanagement.json#/definitions/Resource" - } - ], - "description": "Api Version Set Contract details." + "parameters": [ + { + "name": "If-Match", + "in": "header", + "required": true, + "description": "The entity state (Etag) version of the Api Version Set to delete. A value of \"*\" can be used for If-Match to unconditionally apply the operation.", + "type": "string" + } + ], + "responses": { + "204": { + "description": "The ApiVersion Set details were successfully deleted." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ApiVersionSetCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApiVersionSetContract" + }, + "description": "Page values." }, - "ApiVersionSetUpdateParametersProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "Name of API Version Set", - "minLength": 1, - "maxLength": 100 - }, - "versioningScheme": { - "type": "string", - "description": "An value that determines where the API Version identifer will be located in a HTTP request.", - "enum": [ - "Segment", - "Query", - "Header" - ], - "x-ms-enum": { - "name": "versioningScheme", - "modelAsString": true, - "values": [ - { - "value": "Segment", - "description": "The API Version is passed in a path segment." - }, - { - "value": "Query", - "description": "The API Version is passed in a query parameter." - }, - { - "value": "Header", - "description": "The API Version is passed in a HTTP header." - } - ] - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ApiVersionSetEntityBase" - } - ], - "description": "Properties used to create or update an API Version Set." + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Api Version Set list representation." + }, + "ApiVersionSetEntityBase": { + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." + }, + "versionQueryName": { + "type": "string", + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.", + "minLength": 1, + "maxLength": 100 }, - "ApiVersionSetUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties", - "description": "Parameters to update or create an Api Version Set Contract." - } + "versionHeaderName": { + "type": "string", + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.", + "minLength": 1, + "maxLength": 100 + } + } + }, + "ApiVersionSetContractProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "Name of API Version Set", + "minLength": 1, + "maxLength": 100 + }, + "versioningScheme": { + "type": "string", + "description": "An value that determines where the API Version identifer will be located in a HTTP request.", + "enum": [ + "Segment", + "Query", + "Header" + ], + "x-ms-enum": { + "name": "versioningScheme", + "modelAsString": true, + "values": [ + { + "value": "Segment", + "description": "The API Version is passed in a path segment." + }, + { + "value": "Query", + "description": "The API Version is passed in a query parameter." }, - "description": "Parameters to update or create an Api Version Set Contract." + { + "value": "Header", + "description": "The API Version is passed in a HTTP header." + } + ] + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ApiVersionSetEntityBase" } + ], + "required": [ + "displayName", + "versioningScheme" + ], + "description": "Properties of an API Version Set." }, - "parameters": { - "ApiVersionSetIdParameter": { - "name": "versionSetId", - "in": "path", - "required": true, - "type": "string", - "description": "Api Version Set identifier. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", - "x-ms-parameter-location": "method" + "ApiVersionSetContract": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApiVersionSetContractProperties" + } + }, + "allOf": [ + { + "$ref": "./apimanagement.json#/definitions/Resource" + } + ], + "description": "Api Version Set Contract details." + }, + "ApiVersionSetUpdateParametersProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "Name of API Version Set", + "minLength": 1, + "maxLength": 100 + }, + "versioningScheme": { + "type": "string", + "description": "An value that determines where the API Version identifer will be located in a HTTP request.", + "enum": [ + "Segment", + "Query", + "Header" + ], + "x-ms-enum": { + "name": "versioningScheme", + "modelAsString": true, + "values": [ + { + "value": "Segment", + "description": "The API Version is passed in a path segment." + }, + { + "value": "Query", + "description": "The API Version is passed in a query parameter." + }, + { + "value": "Header", + "description": "The API Version is passed in a HTTP header." + } + ] + } } + }, + "allOf": [ + { + "$ref": "#/definitions/ApiVersionSetEntityBase" + } + ], + "description": "Properties used to create or update an API Version Set." + }, + "ApiVersionSetUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties", + "description": "Parameters to update or create an Api Version Set Contract." + } + }, + "description": "Parameters to update or create an Api Version Set Contract." + } + }, + "parameters": { + "ApiVersionSetIdParameter": { + "name": "versionSetId", + "in": "path", + "required": true, + "type": "string", + "description": "Api Version Set identifier. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 256, + "pattern": "^[^*#&+:<>?]+$", + "x-ms-parameter-location": "method" } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json index 552be4b6fbc4..9e34be4b31da 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "parameters": { - "location": "west us" - } + "location": "west us" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "207.46.155.24" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" + }, + "virtualNetworkType": "External" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "207.46.155.24" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" - }, - "virtualNetworkType": "External" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementBackendReconnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementBackendReconnect.json index 7d9cfc569fdd..50ec8a18ec39 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementBackendReconnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementBackendReconnect.json @@ -1,17 +1,17 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "backendid": "proxybackend", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "backendid": "proxybackend", - "parameters": { - "properties": { - "after" : "PT3S" - } + "properties": { + "after": "PT3S" } - }, - "responses": { - "202": {} } - } \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAILogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAILogger.json index 5e5abb8f80b6..aa20c80ae6bc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAILogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAILogger.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApi.json index 87a68cb73845..ad997ec97701 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApi.json @@ -90,4 +90,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnostic.json index 3d2905df169d..d4118ee50539 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnostic.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnosticLogger.json index 771472517938..bb7500db4ef3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiDiagnosticLogger.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "parameters": {} + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssue.json index c3924f239769..e1854ec46ae1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssue.json @@ -1,49 +1,49 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueAttachment.json index 37cf9b88b6b8..38b16ca9309c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueAttachment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "parameters": { + "properties": { + "title": "Issue attachment.", + "contentFormat": "image/jpeg", + "content": "IEJhc2U2NA==" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", "properties": { - "title": "Issue attachment.", - "contentFormat": "image/jpeg", - "content": "IEJhc2U2NA==" + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueComment.json index 50f4ff76747a..cbe89de20955 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiIssueComment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "parameters": { + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperation.json index 6b75200a0247..ee06bb8d4485 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperation.json @@ -1,131 +1,131 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "PetStoreTemplate2", + "operationId": "newoperations", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "PetStoreTemplate2", - "operationId":"newoperations", - "parameters": { - "name": "newoperation", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] + "name": "newoperation", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" + } + ], + "headers": [] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + { + "contentType": "application/json" + } + ], + "headers": [] } + ] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperationPolicy.json index 46d8f7949bc7..0ca51398aec6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiOperationPolicy.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiPolicy.json index 894a7e13e988..feafd42a2300 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiPolicy.json @@ -6,7 +6,7 @@ "subscriptionId": "subid", "apiId": "5600b57e7e8880006a040001", "policyId": "policy", - "If-Match":"*", + "If-Match": "*", "parameters": { "properties": { "policyContent": " " @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRelease.json index 3f8d61b0f891..9cad7321a931 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRelease.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRevision.json index 6879f79629a1..3b490f3e901e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiRevision.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiSchema.json index 3d32a35bd0f5..0181fa032c9d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiSchema.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTag.json index 4d8e0343241d..f86159bfeab0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTagDescription.json index ee404b0137f6..c4192c0c6650 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiTagDescription.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingSwaggerImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingSwaggerImport.json index b993d6d28eb9..82a265990bab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingSwaggerImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingSwaggerImport.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWadlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWadlImport.json index e56d0bc799df..1d55fd6b8c28 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWadlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWadlImport.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWsdlImport.json index b5074a7c540a..0472f4ca0e18 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiUsingWsdlImport.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiVersionSet.json index d1af443aac44..eda2d9e6a5ba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateApiVersionSet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAuthorizationServer.json index 625f9db68773..d3dc6e3f7437 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateAuthorizationServer.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendProxyBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendProxyBackend.json index 3b2bc6859204..300b778f5698 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendProxyBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendProxyBackend.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendServiceFabric.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendServiceFabric.json index 2fae49b72d2c..07317e7c9ef8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendServiceFabric.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackendServiceFabric.json @@ -84,4 +84,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackup.json index f7d616e6d852..54964764e322 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateBackup.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateCertificate.json index 690cdb64d508..c6c882bd75ea 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateCertificate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2017-03-01", "subscriptionId": "subid", - "certificateId":"tempcert", + "certificateId": "tempcert", "parameters": { "properties": { "data": "****************Base 64 Encoded Certificate *******************************", @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnostic.json index ebe34a4529e0..8ab9054e33b8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnostic.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnosticLogger.json index 9d74857a5f29..f3b078ae1b45 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateDiagnosticLogger.json @@ -1,43 +1,43 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "parameters": { } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "parameters": {} + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEHLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEHLogger.json index fe6173e951b4..234ef09c3ef5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEHLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEHLogger.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEmailTemplate.json index 850e6ae6097f..612b02b75cd7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateEmailTemplate.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroup.json index 5fa2d39d53a7..537d2d2f3055 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroup.json @@ -18,7 +18,7 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } @@ -29,10 +29,10 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupExternal.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupExternal.json index e47f854d7c97..7a94eb35e3f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupExternal.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupExternal.json @@ -4,11 +4,11 @@ "resourceGroupName": "rg1", "api-version": "2017-03-01", "subscriptionId": "subid", - "groupId":"aadGroup", + "groupId": "aadGroup", "parameters": { "properties": { "displayName": "NewGroup (samiraad.onmicrosoft.com)", - "description": "new group to test", + "description": "new group to test", "type": "external", "externalId": "aad://samiraad.onmicrosoft.com/groups/83cf2753-5831-4675-bc0e-2f8dc067c58d" } @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupUser.json index f857b79e0ebb..4c6bddc17a78 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateGroupUser.json @@ -18,7 +18,7 @@ "lastName": "user", "email": "testuser1@live.com", "state": "active", - "registrationDate": "2017-06-01T20:46:45.437Z", + "registrationDate": "2017-06-01T20:46:45.437Z", "groups": [], "identities": [] } @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateIdentityProvider.json index 2a0ce9e2fe87..9731579d44e1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateIdentityProvider.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOpenIdConnectProvider.json index a3d0a8ee68c2..e7b0101e473c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOpenIdConnectProvider.json @@ -20,7 +20,7 @@ "type": "Microsoft.ApiManagement/service/openidconnectproviders", "name": "templateOpenIdConnect3", "properties": { - "displayName": "templateoidprovider3", + "displayName": "templateoidprovider3", "metadataEndpoint": "https://oidprovider-template3.net", "clientId": "oidprovidertemplate3" } @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOperationTag.json index 672e3774f58c..22e4a9dfb607 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateOperationTag.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreatePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreatePolicy.json index 11c2df4f9fbd..dacac78e4c63 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreatePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreatePolicy.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductApi.json index 2bf58319bf38..634b1cf2bc98 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductApi.json @@ -37,7 +37,7 @@ "name": "5931a75ae4bbd512a88c680b", "properties": { "displayName": "EchoApi", - "apiRevision": "1", + "apiRevision": "1", "serviceUrl": "https://contoso.com/apis/echo", "path": "", "protocols": [ @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductBasic.json index bf4ba8b81eb5..61ba685d3486 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductBasic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductGroup.json index b9fc03d5d641..d7288ad913e0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductGroup.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductPolicy.json index e7394272122c..d4e371a96073 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductPolicy.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductTag.json index 675c7f6b7c16..4813c8806df7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProductTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json index 527ba9f507aa..8f1b6aae66c9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientEmail.json index 6fbf6926c8d3..a54a67ad262e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientEmail.json @@ -14,7 +14,7 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } }, @@ -24,9 +24,9 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientUser.json index 2ad74d01b905..e84fb65f329f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateRecipientUser.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json index b735fa4dc26f..bfc7504fe2eb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateTag.json index 840a4a655512..bec2848afbbd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateTag.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateUserBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateUserBasic.json index f15f5c0ae0b4..492d7022a56d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateUserBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateUserBasic.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApi.json index 807327351469..cc4769cd059c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApi.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnostic.json index f6bf95cee51d..ec5a7b700181 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnostic.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnosticLogger.json index 3f1e527dc0a0..2ebdacd3c52e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiDiagnosticLogger.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { } - }, - "responses": { - "204": {} - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "parameters": {} + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssue.json index 55c9d8f87e1c..70d41cea038b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssue.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueAttachment.json index 065a4fd4c822..92cc53d4ae95 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueAttachment.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueComment.json index 20e805694db9..410afe6828a7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiIssueComment.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiOperation.json index ad06b1878677..a21a55fff6a2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiOperation.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiPolicy.json index 2698732b91ed..c53606969db6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiPolicy.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "loggerId", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "loggerId", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiRelease.json index ecdd5c67d2bd..dde4374ba89d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiRelease.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "5a5fcc09124a7fa9b89f2f1d", - "releaseId": "testrev", - "If-Match": "*" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "5a5fcc09124a7fa9b89f2f1d", + "releaseId": "testrev", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiSchema.json index 49c9fad00430..0f9f864d906d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiSchema.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "schemaId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "schemaId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTag.json index a1325e35cc65..6f1a01ce1401 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTag.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTagDescription.json index a1325e35cc65..6f1a01ce1401 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiTagDescription.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiVersionSet.json index ba801cceeb2c..758aa107cbb5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteApiVersionSet.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "versionSetId": "a1", - "If-Match": "*" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "versionSetId": "a1", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteAuthorizationServer.json index cc717547e2d7..2639dd7414f0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteAuthorizationServer.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "authsid": "newauthServer2", - "If-Match": "*" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "authsid": "newauthServer2", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteBackend.json index 4af138942787..e1a29d89c564 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteBackend.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "backendid": "sfbackend", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "backendid": "sfbackend", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteCertificate.json index dea2e06f9164..454191f49365 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteCertificate.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "certificateId": "tempcert", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "certificateId": "tempcert", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnostic.json index 9d19c52b375f..adb9ff8c49d7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnostic.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnosticLogger.json index fca5918fae40..fbd42fa5eeaf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteDiagnosticLogger.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "parameters": { } - }, - "responses": { - "204": {} - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "parameters": {} + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteEmailTemplate.json index ae1ddb0bcfa8..55323290926e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteEmailTemplate.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroup.json index e18d7a47e918..510d8ffffad1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroup.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "aadGroup", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "aadGroup", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroupUser.json index 80ae5acd664c..7ad7cd9c99d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteGroupUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "templategroup", - "uid": "59307d350af58404d8a26300", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "templategroup", + "uid": "59307d350af58404d8a26300", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteIdentityProvider.json index d0e40a821138..caf7aabfe3ac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteIdentityProvider.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "identityProviderName": "aad", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "identityProviderName": "aad", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteLogger.json index 9ea5f18c6558..9c26b202189d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteLogger.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "loggerid": "loggerId", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "loggerid": "loggerId", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientEmail.json index d1dfd0d2d7b2..bff43eecaf7c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientEmail.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientUser.json index aa45a19fe01e..4feaf50991d5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteNotificationRecipientUser.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "uid": "576823d0a40f7e74ec07d642" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "uid": "576823d0a40f7e74ec07d642" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProvider.json index b9b3ef7c8d7b..f2916bc3a3b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOpenIdConnectProvider.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect3", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect3", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationPolicy.json index ec222434092e..b402935c08c4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "testapi", - "operationId": "testoperation", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "testapi", + "operationId": "testoperation", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationTag.json index 387c69dec790..eb52c4f32573 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteOperationTag.json @@ -9,7 +9,7 @@ "tagId": "59d5b28e1f7fab116402044e", "If-Match": "*" }, - "responses": { - "204": {} - } -} \ No newline at end of file + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeletePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeletePolicy.json index a9993f828be7..8673e5405651 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeletePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeletePolicy.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProduct.json index e42074c92f2c..9f8f5c95c1ae 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProduct.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "testproduct", - "deleteSubscriptions": true, - "If-Match": "*" - }, - "responses": { - "204": {} - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "testproduct", + "deleteSubscriptions": true, + "If-Match": "*" + }, + "responses": { + "204": {} + } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductApi.json index fdada65404f8..a3e6796bbea9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductApi.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "testproduct", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "testproduct", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductGroup.json index 50a788e1b317..46068f1096ef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductGroup.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "testproduct", - "groupId": "templateGroup", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "testproduct", + "groupId": "templateGroup", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductPolicy.json index 00ee789d91f7..4fe1bbc839a7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductPolicy.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "testproduct", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "testproduct", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductTag.json index ef8fe4c18062..2f4608f46e91 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProductTag.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProperty.json index 0239d388d14e..d9968c9ba917 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteProperty.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "propId": "testprop2", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "propId": "testprop2", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteSubscription.json index 86d0cef8d7f1..a4e35731323b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteSubscription.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "sid": "testsub", - "If-Match": "*" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "sid": "testsub", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteTag.json index e7dc93aa5572..7de417e0c7cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteTag.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "tagId": "tagId1", - "If-Match": "*" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "tagId": "tagId1", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteUser.json index f4fa3c0385f8..0d5b5f6cad71 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementDeleteUser.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512288c680b", - "If-Match": "*" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512288c680b", + "If-Match": "*" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiContract.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiContract.json index f6ef1112cc64..152e2e87cd9b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiContract.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiContract.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", - "type": "Microsoft.ApiManagement/service/apis", - "name": "57d1f7558aa04f15146d9d8a", - "properties": { - "displayName": "Service", - "apiRevision": "1", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "type": "soap", - "isCurrent": true, - "isOnline": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", + "type": "Microsoft.ApiManagement/service/apis", + "name": "57d1f7558aa04f15146d9d8a", + "properties": { + "displayName": "Service", + "apiRevision": "1", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "type": "soap", + "isCurrent": true, + "isOnline": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiDiagnostic.json index 0976ed490c1e..51bcc8885883 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiDiagnostic.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", - "type": "Microsoft.ApiManagement/service/apis/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", + "type": "Microsoft.ApiManagement/service/apis/diagnostics", + "name": "default", + "properties": { + "enabled": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json index ac556935eb92..566b179fc5bd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "Accept": "application/vnd.swagger.link+json", - "export": "true" - }, - "responses": { - "200": { - "body": { - "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "Accept": "application/vnd.swagger.link+json", + "export": "true" + }, + "responses": { + "200": { + "body": { + "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssue.json index a00f0919fe35..c0e265f575f9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssue.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueAttachment.json index 9ad3a14f64a2..7eb97ccbff22 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueAttachment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueComment.json index 92952716046c..b8084b56a7d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiIssueComment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperation.json index 5de9379d8859..774b25f079d1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperation.json @@ -1,53 +1,53 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", - "templateParameters": [], - "request": { - "description": "IFazioService_CancelOrder_InputMessage", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrder" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "IFazioService_CancelOrder_OutputMessage", - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrderResponse" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", + "templateParameters": [], + "request": { + "description": "IFazioService_CancelOrder_InputMessage", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrder" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "IFazioService_CancelOrder_OutputMessage", + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrderResponse" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperationPolicy.json index f9403605d727..9e8c381cf404 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiOperationPolicy.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiPolicy.json index e5cc1f8a2d42..11475334dcb9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiRelease.json index 5f812ff44aee..de334251e423 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiRelease.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiSchema.json index 96eb09ecc2c1..cbecccaa9f52 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiSchema.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "59d6bb8f1f7fab13dc67ec9b", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "properties": { - "contentType": "application/vnd.ms-azure-apim.xsd+xml", - "document": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "59d6bb8f1f7fab13dc67ec9b", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "properties": { + "contentType": "application/vnd.ms-azure-apim.xsd+xml", + "document": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTag.json index d848a359e959..257aa3cf24fe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTagDescription.json index f1c4dcea328e..1d57174a5baf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiTagDescription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiVersionSet.json index d5d525d7b00a..00d71a4c2c5d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetApiVersionSet.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName" : "Version Set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "Version Set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetAuthorizationServer.json index c6b3a38bab60..8fd0f755db98 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetAuthorizationServer.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetBackend.json index 3e8754ebe818..05047b46db03 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetBackend.json @@ -1,38 +1,38 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "backendid": "sfbackend" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "backendid": "sfbackend" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ + { + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } + ], + "maxPartitionResolutionRetries": 5 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetCertificate.json index cd1fc4e6ddec..529cb1de5055 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetCertificate.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA**********************8594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA**********************8594A6", + "expirationDate": "2017-04-23T17:03:41Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetDiagnostic.json index f2853f287cc2..266950d7fd27 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetDiagnostic.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", - "type": "Microsoft.ApiManagement/service/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", + "type": "Microsoft.ApiManagement/service/diagnostics", + "name": "default", + "properties": { + "enabled": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetEmailTemplate.json index 2486b63dfa99..e1f44ee21468 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetEmailTemplate.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "NewIssueNotificationMessage", - "properties": { - "subject": "Your request $IssueName was received", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "New issue received", - "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", - "isDefault": true, - "parameters": [ - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "IssueId", - "title": "Issue id" - }, - { - "name": "IssueName", - "title": "Issue name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "NewIssueNotificationMessage", + "properties": { + "subject": "Your request $IssueName was received", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "New issue received", + "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", + "isDefault": true, + "parameters": [ + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "IssueId", + "title": "Issue id" + }, + { + "name": "IssueName", + "title": "Issue name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetGroup.json index 2e126d9f5a95..6425512e96b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetGroup.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetIdentityProvider.json index 8e54606c6ec9..3463562444ca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetIdentityProvider.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "aadB2C", - "properties": { - "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", - "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_signup-policy" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "aadB2C", + "properties": { + "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", + "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_signup-policy" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetLogger.json index 316b4e8ad4a4..2d0884151383 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetLogger.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "loggerid": "templateLogger" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "kloudapilogger1", - "properties": { - "loggerType": "azureEventHub", - "description": "testeventhub3again", - "credentials": { - "name": "testeventhub4", - "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" - }, - "isBuffered": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "loggerid": "templateLogger" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "kloudapilogger1", + "properties": { + "loggerType": "azureEventHub", + "description": "testeventhub3again", + "credentials": { + "name": "testeventhub4", + "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" + }, + "isBuffered": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetNotification.json index 84641b77882e..94541814ff07 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetNotification.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOpenIdConnectProvider.json index dd4d1e86e29b..222e4c2261d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOpenIdConnectProvider.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOperationTag.json index 10dea824df51..efa6364dba64 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetOperationTag.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetPolicy.json index a26107de14e2..f267f455158b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetPolicy.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProduct.json index 2a78ef6c6518..be5344bc11d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProduct.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductPolicy.json index 26611769ad6c..b1898dc7ee14 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "kjoshiarmTemplateProduct4", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "kjoshiarmTemplateProduct4", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductTag.json index 31b38d38475a..53ff2dbbb222 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductsForApi.json index 0ab24eca3a05..8488a44a80e7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProductsForApi.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/apis/products", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/apis/products", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProperty.json index aa48136226a8..5107ab2aaeae 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetProperty.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeys.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeys.json index a97d163039a4..29627d0fbbf5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeys.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeys.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "Value": { - "callsCount": 5, - "kbTransferred": 2.5830078125 - } - } - ], - "count": 1, - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "Value": { + "callsCount": 5, + "kbTransferred": 2.5830078125 } - } + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json index 5b92cc06f0fd..d1904fa419eb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json @@ -1,24 +1,24 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba", - "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" - }, - "responses": { - "200": { - "body": { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "Value": { - "callsCount": 0, - "kbTransferred": 2.5625 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba", + "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" + }, + "responses": { + "200": { + "body": { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "Value": { + "callsCount": 0, + "kbTransferred": 2.5625 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByApi.json index cc4e2a5d73d0..ee67b2f81617 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByApi.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Echo API", - "apiId": "/apis/5600b59475ff190048040001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "httpbin", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Echo API", + "apiId": "/apis/5600b59475ff190048040001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "httpbin", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByGeo.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByGeo.json index f77d9140b754..9eed8d172e7a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByGeo.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByGeo.json @@ -1,38 +1,38 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "country": "US", - "region": "WA", - "zip": "98052", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "country": "US", + "region": "WA", + "zip": "98052", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByOperation.json index 8abacebc356a..274bdd1eedc4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByOperation.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "get", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "GetWeatherInformation", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "GetCityForecastByZIP", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "get", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "GetWeatherInformation", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "GetCityForecastByZIP", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByProduct.json index ada23f540718..5028757fccb6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByProduct.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Starter", - "productId": "/products/5600b59475ff190048060001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Unlimited", - "productId": "/products/5600b59475ff190048060002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Starter", + "productId": "/products/5600b59475ff190048060001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Unlimited", + "productId": "/products/5600b59475ff190048060002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByRequest.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByRequest.json index 59fe6b8ee5ba..c250dc19bc8c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByRequest.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByRequest.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "GET", - "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 405, - "timestamp": "2017-06-03T00:17:00.1649134Z", - "cache": "none", - "apiTime": 221.1544, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", - "requestSize": 0 - }, - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "POST", - "url": "https://apimService1.azure-api.net/echo/resource", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 403, - "timestamp": "2017-06-03T00:17:20.5255131Z", - "cache": "none", - "apiTime": 6.6754000000000007, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", - "requestSize": 0 - } - ], - "count": 2 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "GET", + "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 405, + "timestamp": "2017-06-03T00:17:00.1649134Z", + "cache": "none", + "apiTime": 221.1544, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", + "requestSize": 0 + }, + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "POST", + "url": "https://apimService1.azure-api.net/echo/resource", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 403, + "timestamp": "2017-06-03T00:17:20.5255131Z", + "cache": "none", + "apiTime": 6.6754000000000007, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", + "requestSize": 0 + } + ], + "count": 2 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsBySubscription.json index 1d7e13c714e9..5bd746f9c466 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsBySubscription.json @@ -1,79 +1,79 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060001", - "subscriptionId": "/subscriptions/5600b59475ff190048070001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060002", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5702e97e5157a50f48dce801", - "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060001", + "subscriptionId": "/subscriptions/5600b59475ff190048070001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060002", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5702e97e5157a50f48dce801", + "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByTime.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByTime.json index 19d99f6ad5b3..155d3c53fa27 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByTime.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByTime.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", - "interval": "PT15M" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-06-03T00:15:00Z", - "interval": "PT15M", - "callCountSuccess": 4, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 4, - "bandwidth": 3243, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1337.46335, - "apiTimeMin": 885.0839000000001, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 1255.917425, - "serviceTimeMin": 882.8264, - "serviceTimeMax": 1697.3612 - }, - { - "timestamp": "2017-06-03T00:30:00Z", - "interval": "PT15M", - "callCountSuccess": 9, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 10, - "bandwidth": 7776, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 872.7818777777778, - "apiTimeMin": 330.3206, - "apiTimeMax": 1093.8407, - "serviceTimeAvg": 824.2847111111112, - "serviceTimeMin": 215.24, - "serviceTimeMax": 973.2262000000001 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", + "interval": "PT15M" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-06-03T00:15:00Z", + "interval": "PT15M", + "callCountSuccess": 4, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 4, + "bandwidth": 3243, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1337.46335, + "apiTimeMin": 885.0839000000001, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 1255.917425, + "serviceTimeMin": 882.8264, + "serviceTimeMax": 1697.3612 + }, + { + "timestamp": "2017-06-03T00:30:00Z", + "interval": "PT15M", + "callCountSuccess": 9, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 10, + "bandwidth": 7776, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 872.7818777777778, + "apiTimeMin": 330.3206, + "apiTimeMax": 1093.8407, + "serviceTimeAvg": 824.2847111111112, + "serviceTimeMin": 215.24, + "serviceTimeMax": 973.2262000000001 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByUser.json index 5e3e378254d6..24a933985bb1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetReportsByUser.json @@ -1,73 +1,73 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Administrator", - "userId": "/users/1", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "Samir Solanki", - "userId": "/users/56eaec62baf08b06e46d27fd", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Anonymous", - "userId": "/users/54c800b332965a0035030000", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Administrator", + "userId": "/users/1", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "Samir Solanki", + "userId": "/users/56eaec62baf08b06e46d27fd", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Anonymous", + "userId": "/users/54c800b332965a0035030000", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetSubscription.json index 45c36fdc58c4..676beede3db6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetSubscription.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTag.json index e996a2b50ef9..864a33b63e0e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTag.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/tags", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "tag1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/tags", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "tag1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagDescriptionsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagDescriptionsForApi.json index 21c457cd89e5..288a5a1240bc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagDescriptionsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagDescriptionsForApi.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1", - "description": null, - "externalDocsDescription": "some additional info", - "externalDocsUrl": "http://some_url.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1", + "description": null, + "externalDocsDescription": "some additional info", + "externalDocsUrl": "http://some_url.com" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForApi.json index bf01a40320be..c11dc0b7f023 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForApi.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForOperation.json index 11f36ef3aab1..7608d9c5f21f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForOperation.json @@ -7,21 +7,21 @@ "apiId": "57d2ef278aa04f0888cba3f3", "operationId": "57d2ef278aa04f0888cba3f6" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForProduct.json index 0bed111f55ca..0968948b0ae9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTagsForProduct.json @@ -6,21 +6,21 @@ "subscriptionId": "subid", "productId": "57d2ef278aa04f0888cba3f1" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTenantAccess.json index 9ad9926bab06..f45fbf9d24fe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetTenantAccess.json @@ -1,19 +1,19 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "200": { - "body": { - "id": "5600b59375ff190048030003", - "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", - "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "200": { + "body": { + "id": "5600b59375ff190048030003", + "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", + "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", + "enabled": true + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetUser.json index c89dc74fe314..1b7d76f47fda 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementGetUser.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApi.json index 448078ea3416..fd4c3a579f13 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApi.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnostic.json index 9b756c16c5e2..c0c4ac68cd9a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnostic.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnosticLogger.json index bd9bb685aa61..a3631ef81801 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiDiagnosticLogger.json @@ -1,15 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "templateLogger", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "templateLogger", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssue.json index 9570771b1278..7fe6a5c67dfc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssue.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueAttachment.json index 990bf33e30c5..f129d73a0885 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueAttachment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueComment.json index 5474d13ceabb..4b4d027fb870 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiIssueComment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperation.json index 0a0dd14aecb5..a3aaaf896a48 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperation.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperationPolicy.json index 5f0ae6f42efc..9f260070dc6c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiOperationPolicy.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiPolicy.json index 3e9722dd523c..046c9eda861d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiSchema.json index 1b5542986398..4ca07a1c6cce 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiSchema.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTag.json index e1783f4b1260..b9256a660b48 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTagDescription.json index e1783f4b1260..b9256a660b48 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiTagDescription.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiVersionSet.json index 7998c33a1416..e9bd2236b066 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadApiVersionSet.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadAuthorizationServer.json index 7d4732b448b7..2172ac5a6551 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadAuthorizationServer.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadBackend.json index 56024bbfc5f9..8ee55e444c80 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadBackend.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "backendid": "sfbackend" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "backendid": "sfbackend" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadCertificate.json index ba4bf5dc1f17..3a04d70ad328 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadCertificate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDelegationSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDelegationSettings.json index a4f15cb2c8a7..cfd87d3d41f6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDelegationSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDelegationSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnostic.json index 49156a96b0db..31a5fc78e162 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnostic.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnosticLogger.json index 4e52d880e773..0d7b4c6d707e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadDiagnosticLogger.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "templateLogger" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "templateLogger" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadEmailTemplate.json index b4318439709f..65618c89b44e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadEmailTemplate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroup.json index bdccd5726435..218e538ee248 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroup.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroupUser.json index 8cadc401e33b..27395e890061 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadGroupUser.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadIdentityProvider.json index 20c141c0eb46..42549a7e1e43 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadIdentityProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadLogger.json index d123817e011b..1ea3be53459c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadLogger.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "loggerid": "templateLogger" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "loggerid": "templateLogger" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientEmail.json index c1975521c12a..bff43eecaf7c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientEmail.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientUser.json index 8c11740b3f78..4feaf50991d5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadNotificationRecipientUser.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "uid": "576823d0a40f7e74ec07d642" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "uid": "576823d0a40f7e74ec07d642" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOpenIdConnectProvider.json index c5ce345b70c1..c1e4a8994b06 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOpenIdConnectProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOperationTag.json index cbfd8d40ef65..76b1ce86b1fc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadOperationTag.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProduct.json index 8b30f43ef649..bac56d77852f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProduct.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductApi.json index 4c1e998542fe..95525c99af6a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductApi.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "apiId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "apiId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductGroup.json index 6dec4b991447..4c72d2a4bbd8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductGroup.json @@ -1,14 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": { - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductTag.json index cee1e485086a..b96b1f275ce9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProductTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProperty.json index e79bc40865dd..7f8fb7abd905 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadProperty.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignInSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignInSettings.json index a4f15cb2c8a7..cfd87d3d41f6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignInSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignInSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignUpSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignUpSettings.json index a4f15cb2c8a7..cfd87d3d41f6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignUpSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSignUpSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSubscription.json index 67829b28afee..bf31e04c0d53 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadSubscription.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadTag.json index 6b643a6fb5e1..08548293711f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadTag.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "Etag": "AAAAAAAACCI=" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "Etag": "AAAAAAAACCI=" } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadUser.json index 431c684bd56c..2ba6500ed931 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementHeadUser.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnosticLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnosticLoggers.json index 6f2a12f0300c..5a9f970fbc1f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnosticLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnosticLoggers.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnostics.json index bbd91a51e8b6..b3332281468a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiDiagnostics.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", - "type": "Microsoft.ApiManagement/service/apis/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", + "type": "Microsoft.ApiManagement/service/apis/diagnostics", + "name": "default", + "properties": { + "enabled": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueAttachments.json index ec594c46fa6b..4f92cb0439b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueAttachments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueAttachments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueComments.json index 41b8390c985d..9d2b24373f10 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueComments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssueComments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssues.json index c330abfb911c..47c617bd5499 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiIssues.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperationPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperationPolicies.json index c5817f8dbe8e..bffe8ed25b60 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperationPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperationPolicies.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "599e2953193c3c0bd0b3e2fa", - "operationId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "599e2953193c3c0bd0b3e2fa", + "operationId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperations.json index 5972d1b6e41d..5ffe17deec16 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiOperations.json @@ -1,69 +1,69 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cda", - "properties": { - "displayName": "GetMostRecentOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd9", - "properties": { - "displayName": "GetOpenOrders", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdb", - "properties": { - "displayName": "GetOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd8", - "properties": { - "displayName": "submitOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cda", + "properties": { + "displayName": "GetMostRecentOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd9", + "properties": { + "displayName": "GetOpenOrders", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdb", + "properties": { + "displayName": "GetOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd8", + "properties": { + "displayName": "submitOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiPolicies.json index 6751eda0fc75..6121fcb3d415 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiPolicies.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiReleases.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiReleases.json index 584aa8ab73ed..6c5924d1e4e4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiReleases.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiReleases.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "a1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiRevisions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiRevisions.json index ac317c119be8..9fc7d8cb74dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiRevisions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiRevisions.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/revisions/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/revisions", - "name": "5a7cb545298324c53224a799", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", - "apiRevision": "1", - "createdDateTime": "2018-02-01T22:21:20.467Z", - "updatedDateTime": "2018-02-01T22:21:20.467Z", - "isOnline": true, - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/revisions/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/revisions", + "name": "5a7cb545298324c53224a799", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", + "apiRevision": "1", + "createdDateTime": "2018-02-01T22:21:20.467Z", + "updatedDateTime": "2018-02-01T22:21:20.467Z", + "isOnline": true, + "isCurrent": true } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiSchemas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiSchemas.json index 5b8578d14b02..f363438f208e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiSchemas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiSchemas.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "59d5b28e1f7fab116402044e", - "properties": { - "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "59d5b28e1f7fab116402044e", + "properties": { + "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiVersionSets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiVersionSets.json index 18d0216cdf23..87e3725a4445 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiVersionSets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApiVersionSets.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName": "api set 1", - "versioningScheme": "Segment", - "description": "Version configuration" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs2", - "properties": { - "displayName": "api set 2", - "versioningScheme": "Query", - "description": "Version configuration 2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs2", + "properties": { + "displayName": "api set 2", + "versioningScheme": "Query", + "description": "Version configuration 2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApis.json index 90d5b4e30687..8bc639c3c05b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApis.json @@ -1,81 +1,81 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "type": "Microsoft.ApiManagement/service/apis", - "name": "a1", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a73933b8f27f7cc82a2d533", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersion": "v1", - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api", - "properties": { - "displayName": "Echo API", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "echo", - "protocols": [ - "https" - ], - "isCurrent": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a7390baa5816a110435aee0", - "properties": { - "displayName": "Swagger Petstore Extensive", - "apiRevision": "1", - "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", - "serviceUrl": "http://petstore.swagger.wordnik.com/api", - "path": "vvv", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "type": "Microsoft.ApiManagement/service/apis", + "name": "a1", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a73933b8f27f7cc82a2d533", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersion": "v1", + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api", + "properties": { + "displayName": "Echo API", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "echo", + "protocols": [ + "https" + ], + "isCurrent": true + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a7390baa5816a110435aee0", + "properties": { + "displayName": "Swagger Petstore Extensive", + "apiRevision": "1", + "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "vvv", + "protocols": [ + "https" + ], + "isCurrent": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApisByTags.json index e9f833e72527..f944d747806f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListApisByTags.json @@ -15,7 +15,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020002", - "properties": { "displayName": "tag2" } + "properties": { + "displayName": "tag2" + } }, "api": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", @@ -41,7 +43,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020002", - "properties": { "displayName": "tag2" } + "properties": { + "displayName": "tag2" + } }, "api": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api2", @@ -67,7 +71,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020001", - "properties": { "displayName": "tag1" } + "properties": { + "displayName": "tag1" + } }, "api": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", @@ -92,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListAuthorizationServers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListAuthorizationServers.json index f05eb180734f..d8b921117cec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListAuthorizationServers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListAuthorizationServers.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer", - "properties": { - "displayName": "test2", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer", + "properties": { + "displayName": "test2", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListBackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListBackends.json index 90a170e5c931..b01de30a677a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListBackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListBackends.json @@ -1,80 +1,80 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "proxybackend", - "properties": { - "description": "description5308", - "url": "https://backendname2644/", - "protocol": "http", - "credentials": { - "query": { - "sv": [ - "xx", - "bb", - "cc" - ] - }, - "header": { - "x-my-1": [ - "val1", - "val2" - ] - }, - "authorization": { - "scheme": "Basic", - "parameter": "opensesma" - } - }, - "proxy": { - "url": "http://192.168.1.1:8080", - "username": "Contoso\\admin", - "password": "opensesame" - }, - "tls": { - "validateCertificateChain": false, - "validateCertificateName": false - } - } - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "proxybackend", + "properties": { + "description": "description5308", + "url": "https://backendname2644/", + "protocol": "http", + "credentials": { + "query": { + "sv": [ + "xx", + "bb", + "cc" + ] + }, + "header": { + "x-my-1": [ + "val1", + "val2" + ] + }, + "authorization": { + "scheme": "Basic", + "parameter": "opensesma" + } + }, + "proxy": { + "url": "http://192.168.1.1:8080", + "username": "Contoso\\admin", + "password": "opensesame" + }, + "tls": { + "validateCertificateChain": false, + "validateCertificateName": false + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } - } + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } - ], - "nextLink": "" + ], + "maxPartitionResolutionRetries": 5 + } + } } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListCertificates.json index e245e402d3e1..b1c567dc06b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListCertificates.json @@ -1,27 +1,27 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA************************48594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA************************48594A6", + "expirationDate": "2017-04-23T17:03:41Z" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnosticLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnosticLoggers.json index 745ff10aa22e..1b36e1ad8def 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnosticLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnosticLoggers.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnostics.json index 381df3afa911..e355097cf50a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListDiagnostics.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", - "type": "Microsoft.ApiManagement/service/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", + "type": "Microsoft.ApiManagement/service/diagnostics", + "name": "default", + "properties": { + "enabled": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListEmailTemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListEmailTemplates.json index 92b10abd6ea2..6f8392d046c1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListEmailTemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListEmailTemplates.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "ApplicationApprovedNotificationMessage", - "properties": { - "subject": "Your application $AppName is published in the application gallery", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "Application gallery submission approved", - "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", - "isDefault": true, - "parameters": [ - { - "name": "AppId", - "title": "Application id" - }, - { - "name": "AppName", - "title": "Application name" - }, - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "ApplicationApprovedNotificationMessage", + "properties": { + "subject": "Your application $AppName is published in the application gallery", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "Application gallery submission approved", + "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", + "isDefault": true, + "parameters": [ + { + "name": "AppId", + "title": "Application id" + }, + { + "name": "AppName", + "title": "Application name" + }, + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroupUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroupUsers.json index 8f0726a6f549..49268013798f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroupUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroupUsers.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "groupId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", - "type": "Microsoft.ApiManagement/service/groups/users", - "name": "armTemplateUser1", - "properties": { - "firstName": "user1", - "lastName": "lastname1", - "email": "user1@live.com", - "state": "active", - "registrationDate": "2017-05-31T18:54:41.447Z", - "note": "note for user 1", - "identities": [ - { - "provider": "Basic", - "id": "user1@live.com" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "groupId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", + "type": "Microsoft.ApiManagement/service/groups/users", + "name": "armTemplateUser1", + "properties": { + "firstName": "user1", + "lastName": "lastname1", + "email": "user1@live.com", + "state": "active", + "registrationDate": "2017-05-31T18:54:41.447Z", + "note": "note for user 1", + "identities": [ + { + "provider": "Basic", + "id": "user1@live.com" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroups.json index e575ee8fb0d5..72f78ff16526 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListGroups.json @@ -1,62 +1,62 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListIdentityProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListIdentityProviders.json index 533f04779318..5a30d4afb7a8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListIdentityProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListIdentityProviders.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Google", - "properties": { - "clientId": "googleId", - "clientSecret": "googlesecret", - "type": "google" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Aad", - "properties": { - "clientId": "aadapplicationid", - "clientSecret": "aadapplicationkey", - "type": "aad", - "allowedTenants": [ - "samiraad.onmicrosoft.com" - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "AadB2C", - "properties": { - "clientId": "aadb2clientId", - "clientSecret": "aadb2cClientKey", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_Signin_Default" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Google", + "properties": { + "clientId": "googleId", + "clientSecret": "googlesecret", + "type": "google" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Aad", + "properties": { + "clientId": "aadapplicationid", + "clientSecret": "aadapplicationkey", + "type": "aad", + "allowedTenants": [ + "samiraad.onmicrosoft.com" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "AadB2C", + "properties": { + "clientId": "aadb2clientId", + "clientSecret": "aadb2cClientKey", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_Signin_Default" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListLoggers.json index 6f399a1f004d..23197cb86091 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListLoggers.json @@ -1,44 +1,44 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "buffered111", - "properties": { - "loggerType": "azureEventHub", - "description": "Sample description", - "credentials": { - "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" - }, - "isBuffered": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "loggerId", - "properties": { - "loggerType": "azureEventHub", - "description": "adding a new logger", - "credentials": { - "name": "hydraeventhub", - "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" - }, - "isBuffered": true - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "buffered111", + "properties": { + "loggerType": "azureEventHub", + "description": "Sample description", + "credentials": { + "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" + }, + "isBuffered": true } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "loggerId", + "properties": { + "loggerType": "azureEventHub", + "description": "adding a new logger", + "credentials": { + "name": "hydraeventhub", + "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" + }, + "isBuffered": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientEmail.json index 7073b3267da3..bc09c989ade3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientEmail.json @@ -1,42 +1,42 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "contoso@live.com", - "properties": { - "email": "contoso@live.com" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar!live", - "properties": { - "email": "foobar!live" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar@live.com", - "properties": { - "email": "foobar@live.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "contoso@live.com", + "properties": { + "email": "contoso@live.com" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar!live", + "properties": { + "email": "foobar!live" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar@live.com", + "properties": { + "email": "foobar@live.com" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientUser.json index e286dee424b2..18600a35c07c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotificationRecipientUser.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", - "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", - "name": "576823d0a40f7e74ec07d642", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", + "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", + "name": "576823d0a40f7e74ec07d642", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotifications.json index afa236fc3761..effaa3220faf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListNotifications.json @@ -1,126 +1,126 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "PurchasePublisherNotificationMessage", - "properties": { - "title": "New subscriptions", - "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewApplicationNotificationMessage", - "properties": { - "title": "Application gallery requests", - "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "BCC", - "properties": { - "title": "BCC", - "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", - "recipients": { - "emails": [], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewIssuePublisherNotificationMessage", - "properties": { - "title": "New issue or comment", - "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "AccountClosedPublisher", - "properties": { - "title": "Close account message", - "description": "The following email recipients and users will receive email notifications when developer closes his account", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "QuotaLimitApproachingPublisherNotificationMessage", - "properties": { - "title": "Approaching subscription quota limit", - "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" ], - "nextLink": "" + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "PurchasePublisherNotificationMessage", + "properties": { + "title": "New subscriptions", + "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewApplicationNotificationMessage", + "properties": { + "title": "Application gallery requests", + "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "BCC", + "properties": { + "title": "BCC", + "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", + "recipients": { + "emails": [], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewIssuePublisherNotificationMessage", + "properties": { + "title": "New issue or comment", + "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "AccountClosedPublisher", + "properties": { + "title": "Close account message", + "description": "The following email recipients and users will receive email notifications when developer closes his account", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "QuotaLimitApproachingPublisherNotificationMessage", + "properties": { + "title": "Approaching subscription quota limit", + "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOpenIdConnectProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOpenIdConnectProviders.json index 31313cb5313f..cd3f113586b4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOpenIdConnectProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOpenIdConnectProviders.json @@ -1,29 +1,29 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperations.json index 0dc752bc17f6..6d51606c8e46 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperations.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperationsByTags.json index 3ea1fdcf596d..123a39f49eb2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperationsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListOperationsByTags.json @@ -10,13 +10,15 @@ "200": { "body": { "value": [ - { + { "properties": { "tag": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020001", - "properties": { "displayName": "tag1" } + "properties": { + "displayName": "tag1" + } }, "operation": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apiId1/operations/opid1", @@ -40,7 +42,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020001", - "properties": { "displayName": "tag1" } + "properties": { + "displayName": "tag1" + } }, "operation": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apiId1/operations/opid2", @@ -63,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicies.json index e5454281711f..505d9dd0317d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicies.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicySnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicySnippets.json index 8dcd91dc36b2..2db6484eb0f3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicySnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListPolicySnippets.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "scope":"Api" - }, - "responses": { - "200": { - "body": [ - { - "name": "Authenticate with Basic", - "content": "", - "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", - "scope": 268435471 - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "scope": "Api" + }, + "responses": { + "200": { + "body": [ + { + "name": "Authenticate with Basic", + "content": "", + "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", + "scope": 268435471 } + ] } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductApis.json index 8bacb19b5a66..491612209a36 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductApis.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "5768181ea40f7eb6c49f6ac7" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", - "type": "Microsoft.ApiManagement/service/products/apis", - "name": "57681820a40f7eb6c49f6aca", - "properties": { - "displayName": "api_57681820a40f7eb6c49f6acb", - "apiRevision": "1", - "description": "description_57681820a40f7eb6c49f6acc", - "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", - "path": "suffix_57681820a40f7eb6c49f6ace", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "5768181ea40f7eb6c49f6ac7" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", + "type": "Microsoft.ApiManagement/service/products/apis", + "name": "57681820a40f7eb6c49f6aca", + "properties": { + "displayName": "api_57681820a40f7eb6c49f6acb", + "apiRevision": "1", + "description": "description_57681820a40f7eb6c49f6acc", + "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", + "path": "suffix_57681820a40f7eb6c49f6ace", + "protocols": [ + "https" + ], + "isCurrent": true } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductGroups.json index 079f5ebbc33c..6620cb326cfe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductGroups.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductPolicy.json index 820a005bc6e2..d531c15b0508 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductPolicy.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "armTemplateProduct4" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "armTemplateProduct4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductSubscriptions.json index 294ca1c2a7f6..1817289512cf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProductSubscriptions.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", - "type": "Microsoft.ApiManagement/service/products/subscriptions", - "name": "5600b57e7e8880006a070002", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", - "state": "active", - "createdDate": "2015-09-22T01:57:18.723Z", - "primaryKey": "ba95768e868648848e215f0290eec023", - "secondaryKey": "140f866def81419b9bb9732d05d24535" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", + "type": "Microsoft.ApiManagement/service/products/subscriptions", + "name": "5600b57e7e8880006a070002", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", + "state": "active", + "createdDate": "2015-09-22T01:57:18.723Z", + "primaryKey": "ba95768e868648848e215f0290eec023", + "secondaryKey": "140f866def81419b9bb9732d05d24535" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProducts.json index 20b7d94e0e96..fdca473a8d6c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProducts.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/products", - "name": "kjoshiarmtemplateCert1", - "properties": { - "displayName": "Dev", - "description": "Development Product", - "subscriptionRequired": false, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", - "type": "Microsoft.ApiManagement/service/products", - "name": "starter", - "properties": { - "displayName": "Starter", - "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", - "terms": "", - "subscriptionRequired": true, - "approvalRequired": false, - "subscriptionsLimit": 1, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/products", + "name": "kjoshiarmtemplateCert1", + "properties": { + "displayName": "Dev", + "description": "Development Product", + "subscriptionRequired": false, + "state": "published" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", + "type": "Microsoft.ApiManagement/service/products", + "name": "starter", + "properties": { + "displayName": "Starter", + "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", + "terms": "", + "subscriptionRequired": true, + "approvalRequired": false, + "subscriptionsLimit": 1, + "state": "published" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProperties.json index 4e9cf194f3cb..223ba8125454 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListProperties.json @@ -1,41 +1,41 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686", - "type": "Microsoft.ApiManagement/service/properties", - "name": "592f1174cc83890dc4f32686", - "properties": { - "displayName": "Logger-Credentials-592f1174cc83890dc4f32687", - "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...", - "secret": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686", + "type": "Microsoft.ApiManagement/service/properties", + "name": "592f1174cc83890dc4f32686", + "properties": { + "displayName": "Logger-Credentials-592f1174cc83890dc4f32687", + "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...", + "secret": true } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListRegions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListRegions.json index 1f902058815c..2b5ac4ae2afe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListRegions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListRegions.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "West US", - "isMasterRegion": true, - "isDeleted": false - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "West US", + "isMasterRegion": true, + "isDeleted": false + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscription.json index 7ae866c8b67b..4c3bc8487136 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscription.json @@ -1,164 +1,164 @@ { - "parameters": { - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "staticIps": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "staticIps": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "staticIps": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "staticIps": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json index f42032dc4fa6..e1d96983eb6c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json @@ -1,162 +1,162 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "staticIps": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "staticIps": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "staticIps": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "staticIps": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListSubscriptions.json index 298aeb3a9f3f..7a41d1795555 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListSubscriptions.json @@ -1,61 +1,61 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5600b59475ff190048070001", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "state": "active", - "createdDate": "2015-09-22T01:57:40.3Z", - "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", - "secondaryKey": "b366198986614a7497a5a68fae19119d" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "56eaed3dbaf08b06e46d27fe", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "displayName": "Starter", - "state": "active", - "createdDate": "2016-03-17T17:45:33.837Z", - "startDate": "2016-03-17T00:00:00Z", - "expirationDate": "2016-04-01T00:00:00Z", - "notificationDate": "2016-03-20T00:00:00Z", - "primaryKey": "77708695e79a495bb99b95f32adfa1f0", - "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5600b59475ff190048070001", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "state": "active", + "createdDate": "2015-09-22T01:57:40.3Z", + "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", + "secondaryKey": "b366198986614a7497a5a68fae19119d" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "56eaed3dbaf08b06e46d27fe", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "displayName": "Starter", + "state": "active", + "createdDate": "2016-03-17T17:45:33.837Z", + "startDate": "2016-03-17T00:00:00Z", + "expirationDate": "2016-04-01T00:00:00Z", + "notificationDate": "2016-03-20T00:00:00Z", + "primaryKey": "77708695e79a495bb99b95f32adfa1f0", + "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTagResources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTagResources.json index f6f5a38416ab..b1bd54c5f130 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTagResources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTagResources.json @@ -15,7 +15,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020001", - "properties": { "displayName": "tag1" } + "properties": { + "displayName": "tag1" + } }, "operation": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apiId1/operations/opid1", @@ -39,7 +41,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020001", - "properties": { "displayName": "tag1" } + "properties": { + "displayName": "tag1" + } }, "operation": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apiId1/operations/opid2", @@ -63,7 +67,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020002", - "properties": { "displayName": "tag2" } + "properties": { + "displayName": "tag2" + } }, "api": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", @@ -89,7 +95,9 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", "type": "Microsoft.ApiManagement/service/tags", "name": "5600b59375ff190048020002", - "properties": { "displayName": "tag2" } + "properties": { + "displayName": "tag2" + } }, "product": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTags.json index 99e0191f3024..8a8390567f74 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListTags.json @@ -1,33 +1,33 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "tag1" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "tag2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "tag1" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "tag2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserGroups.json index a4402a3d7bf3..584c5db03b5a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserGroups.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "uid": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/users/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "uid": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/users/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserSubscriptions.json index 4f0509346a42..4b9fdffa8c1b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUserSubscriptions.json @@ -1,48 +1,48 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "uid": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6ae3", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6ae5", - "state": "active", - "createdDate": "2016-06-20T16:22:39.547Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6ae4", - "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6b2b", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6b2d", - "state": "active", - "createdDate": "2016-06-20T16:22:41.103Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6b2c", - "secondaryKey": "125f565d276647dc825d7f25ea40ee57" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "uid": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6ae3", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6ae5", + "state": "active", + "createdDate": "2016-06-20T16:22:39.547Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6ae4", + "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6b2b", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6b2d", + "state": "active", + "createdDate": "2016-06-20T16:22:41.103Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6b2c", + "secondaryKey": "125f565d276647dc825d7f25ea40ee57" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsers.json index d082d10001c7..c8cc2e7ac767 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsers.json @@ -1,71 +1,71 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "type": "Microsoft.ApiManagement/service/users", - "name": "1", - "properties": { - "firstName": "Administrator", - "lastName": "", - "email": "admin@live.com", - "state": "active", - "registrationDate": "2015-09-22T01:57:39.677Z", - "identities": [ - { - "provider": "Azure", - "id": "admin@live.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "type": "Microsoft.ApiManagement/service/users", - "name": "56eaec62baf08b06e46d27fd", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foo.bar.83@gmail.com", - "state": "active", - "registrationDate": "2016-03-17T17:41:56.327Z", - "identities": [ - { - "provider": "Basic", - "id": "foo.bar.83@gmail.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "type": "Microsoft.ApiManagement/service/users", + "name": "1", + "properties": { + "firstName": "Administrator", + "lastName": "", + "email": "admin@live.com", + "state": "active", + "registrationDate": "2015-09-22T01:57:39.677Z", + "identities": [ + { + "provider": "Azure", + "id": "admin@live.com" + } + ] } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "type": "Microsoft.ApiManagement/service/users", + "name": "56eaec62baf08b06e46d27fd", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foo.bar.83@gmail.com", + "state": "active", + "registrationDate": "2016-03-17T17:41:56.327Z", + "identities": [ + { + "provider": "Basic", + "id": "foo.bar.83@gmail.com" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" + } + ] + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsersIdentities.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsersIdentities.json index 398abf8bfa13..ffc60a29dd98 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsersIdentities.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementListUsersIdentities.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetDelegation.json index bcafdd1ba77c..f7fcfd2b3bef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetDelegation.json @@ -1,24 +1,24 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "properties": { - "url": "http://contoso.com/delegation", - "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", - "subscriptions": { - "enabled": true - }, - "userRegistration": { - "enabled": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "properties": { + "url": "http://contoso.com/delegation", + "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", + "subscriptions": { + "enabled": true + }, + "userRegistration": { + "enabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignIn.json index ed43e675a875..8f9052c14aea 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignIn.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "properties": { - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignUp.json index 73ee5051c9dc..f88aa4b5c1bb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsGetSignUp.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "properties": { - "enabled": true, - "termsOfService": { - "text": "Terms of service text.", - "enabled": true, - "consentRequired": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "termsOfService": { + "text": "Terms of service text.", + "enabled": true, + "consentRequired": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateDelegation.json index d448375d1a3b..dce4adc88a66 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateDelegation.json @@ -22,4 +22,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignIn.json index 1e6ac4839a16..2bc430ab6a2e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignIn.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignUp.json index 144e52479ccf..64bd2746837e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementPortalSettingsUpdateSignUp.json @@ -20,4 +20,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementRestoreService.json index 1acef5f63f39..54964764e322 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementRestoreService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementRestoreService.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2017-03-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceCheckNameAvailability.json index 0c58cfd0249c..6285b445a86a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceCheckNameAvailability.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceCheckNameAvailability.json @@ -4,7 +4,7 @@ "api-version": "2017-03-01", "subscriptionId": "subid", "parameters": { - "name" : "apimService1" + "name": "apimService1" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceDeleteService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceDeleteService.json index 0019cd7b7fbb..57669b5d1c02 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceDeleteService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceDeleteService.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatus.json index a5861146061f..e5e3163aba44 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatus.json @@ -84,4 +84,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json index 078ec1da5134..6849c8380c32 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetService.json index 8531fb99c254..ec40dd357aa4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetService.json @@ -1,89 +1,89 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxyhostname4.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Proxy", - "hostName": "proxyhostname9.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "portalhostname2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - } - ], - "staticIps": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "staticIps": [ - "40.78.99.244" - ], - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxyhostname4.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Proxy", + "hostName": "proxyhostname9.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "portalhostname2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } } + ], + "staticIps": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "staticIps": [ + "40.78.99.244" + ], + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetServiceHavingMsi.json index df64f1ede1e5..bb2ffdd22d48 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -1,58 +1,58 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAC2jkE=", - "properties": { - "publisherEmail": "admin@contoso.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "createdAtUtc": "2017-10-13T16:56:47.0174063Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "foobar.msitesting.net", - "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2036-01-01T07:00:00+00:00", - "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", - "subject": "CN=*.msitesting.net" - }, - "defaultSslBinding": true - } - ], - "staticIps": [ - "13.xx.76.xxx" - ] - }, - "sku": { - "name": "Developer", - "capacity": 1 - }, - "identity": { - "type": "SystemAssigned", - "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", - "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAC2jkE=", + "properties": { + "publisherEmail": "admin@contoso.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "createdAtUtc": "2017-10-13T16:56:47.0174063Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "foobar.msitesting.net", + "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2036-01-01T07:00:00+00:00", + "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", + "subject": "CN=*.msitesting.net" + }, + "defaultSslBinding": true } + ], + "staticIps": [ + "13.xx.76.xxx" + ] + }, + "sku": { + "name": "Developer", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", + "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetSsoToken.json index 560269f00951..98adb98b497a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetSsoToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceGetSsoToken.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUpdateHostName.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUpdateHostName.json index ceb3e4271eb6..ea5ceec377ba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUpdateHostName.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUpdateHostName.json @@ -1,183 +1,183 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "parameters": { - "update": [ - { - "type": "Proxy", - "hostname": "internalproxy2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Portal", - "hostname": "internalportal2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Management", - "hostname": "internalmgmt2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Scm", - "hostname": "internalscm2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - } - ] + "update": [ + { + "type": "Proxy", + "hostname": "internalproxy2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Portal", + "hostname": "internalportal2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Management", + "hostname": "internalmgmt2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Scm", + "hostname": "internalscm2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } } + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "staticIps": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "staticIps": [ + "40.78.99.244" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "internalproxy2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "internalportal2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Management", + "hostName": "internalmgmt2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } }, - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "staticIps": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "staticIps": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + { + "type": "Scm", + "hostName": "internalscm2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "internalproxy2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "internalportal2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Management", - "hostName": "internalmgmt2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Scm", - "hostName": "internalscm2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - } - ], - "staticIps": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "staticIps": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + ], + "staticIps": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "staticIps": [ + "40.78.99.244" + ] } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUploadProxyCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUploadProxyCertificate.json index 8103ff471d09..9097e475e7e0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUploadProxyCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementServiceUploadProxyCertificate.json @@ -5,9 +5,9 @@ "api-version": "2016-10-10", "subscriptionId": "subid", "parameters": { - "type" : "Proxy", - "certificate" : "MIIZ7wI************************************************************", - "certificate_password": "******" + "type": "Proxy", + "certificate": "MIIZ7wI************************************************************", + "certificate_password": "******" } }, "responses": { @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementSubscriptionRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementSubscriptionRegenerateKey.json index 73012aee7068..80fa33e21997 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementSubscriptionRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementSubscriptionRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessRegenerateKey.json index 602e2b0985b1..03bb9c9f5d8c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessSyncState.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessSyncState.json index 55ab2ecdacc4..54555cf5b3ca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessSyncState.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantAccessSyncState.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "configurationName": "configuration" - }, - "responses": { - "200": { - "body": { - "branch": "master", - "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", - "isExport": true, - "isSynced": false, - "isGitEnabled": true, - "syncDate": "2016-10-24T19:17:14.3641403Z", - "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "configurationName": "configuration" + }, + "responses": { + "200": { + "body": { + "branch": "master", + "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", + "isExport": true, + "isSynced": false, + "isGitEnabled": true, + "syncDate": "2016-10-24T19:17:14.3641403Z", + "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationDeploy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationDeploy.json index 17ae91e8a1bc..6fb00c3332cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationDeploy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationDeploy.json @@ -1,31 +1,31 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2017-03-01" - } - }, - "200": { - "body": { - "id": "5a1af4ae2a6d2e0b688d7517", - "status": "Failed", - "started": "2017-11-26T17:06:54.303Z", - "updated": "2017-11-26T17:07:21.777Z", - "error": { - "code": "ValidationError", - "message": "File not found: 'api-management/configuration.json'" - } - } + "200": { + "body": { + "id": "5a1af4ae2a6d2e0b688d7517", + "status": "Failed", + "started": "2017-11-26T17:06:54.303Z", + "updated": "2017-11-26T17:07:21.777Z", + "error": { + "code": "ValidationError", + "message": "File not found: 'api-management/configuration.json'" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationSave.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationSave.json index f9902fd0b24f..80763b7ed932 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationSave.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationSave.json @@ -1,29 +1,29 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2017-03-01" - } - }, - "200": { - "body": { - "id": "5a1af57d2a6d2e0b688d751b", - "status": "Succeeded", - "started": "2017-11-26T17:10:21.957Z", - "updated": "2017-11-26T17:10:36.06Z", - "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", - "actionLog": [] - } - } + "200": { + "body": { + "id": "5a1af57d2a6d2e0b688d751b", + "status": "Succeeded", + "started": "2017-11-26T17:10:21.957Z", + "updated": "2017-11-26T17:10:36.06Z", + "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", + "actionLog": [] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationValidate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationValidate.json index 1792e7a447ce..87d044dee1b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationValidate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementTenantConfigurationValidate.json @@ -1,170 +1,170 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2017-03-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2017-03-01" - } - }, - "200": { - "body": { - "id": "5a1af64e2a6d2e0b688d751e", - "status": "Succeeded", - "started": "2017-11-26T17:13:50.787Z", - "updated": "2017-11-26T17:13:59.723Z", - "resultInfo": "Validation is successfull", - "actionLog": [ - { - "objectType": "ApiSpecificationContract", - "action": "Updated", - "objectKey": "57914cb351f68a16889be190;rev=1" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768181ea40f7eb6c49f6ac7" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819c9a40f7e86289fb3e3" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819f1a40f7e86289fb6de" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a67a40f7e72b4132522" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a73a40f7e72b413281d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a7ea40f7e72b4132b18" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b88a40f7ea0f017f099" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b9fa40f7ea0f017f682" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bb5a40f7ea0f017fc6b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bcaa40f7ea0f0180254" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bdfa40f7ea0f018083d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bf5a40f7ea0f0180e26" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c0ea40f7ea0f018140f" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c26a40f7ea0f01819f8" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c83a40f7e85f44db237" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681cb2a40f7e85f44dbcd0" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681ce3a40f7e85f44dc769" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d1fa40f7e85f44dd202" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d60a40f7e85f44ddc9b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681db4a40f7e85f44de735" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e11a40f7e85f44df1ce" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e73a40f7e85f44dfc67" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681f06a40f7e74ec07785c" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768211fa40f7e74ec07a74a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576823cfa40f7e74ec07d63a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060001" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060002" - } - ] - } - } + "200": { + "body": { + "id": "5a1af64e2a6d2e0b688d751e", + "status": "Succeeded", + "started": "2017-11-26T17:13:50.787Z", + "updated": "2017-11-26T17:13:59.723Z", + "resultInfo": "Validation is successfull", + "actionLog": [ + { + "objectType": "ApiSpecificationContract", + "action": "Updated", + "objectKey": "57914cb351f68a16889be190;rev=1" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768181ea40f7eb6c49f6ac7" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819c9a40f7e86289fb3e3" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819f1a40f7e86289fb6de" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a67a40f7e72b4132522" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a73a40f7e72b413281d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a7ea40f7e72b4132b18" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b88a40f7ea0f017f099" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b9fa40f7ea0f017f682" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bb5a40f7ea0f017fc6b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bcaa40f7ea0f0180254" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bdfa40f7ea0f018083d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bf5a40f7ea0f0180e26" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c0ea40f7ea0f018140f" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c26a40f7ea0f01819f8" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c83a40f7e85f44db237" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681cb2a40f7e85f44dbcd0" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681ce3a40f7e85f44dc769" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d1fa40f7e85f44dd202" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d60a40f7e85f44ddc9b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681db4a40f7e85f44de735" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e11a40f7e85f44df1ce" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e73a40f7e85f44dfc67" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681f06a40f7e74ec07785c" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768211fa40f7e74ec07a74a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576823cfa40f7e74ec07d63a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060001" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060002" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApi.json index c1ca65745ebe..69030927e4f1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApi.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiDiagnostic.json index b18caf04bccc..fd3fb59bfc74 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiDiagnostic.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiOperation.json index bd61462e55e7..c4bb477392f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiOperation.json @@ -5,7 +5,7 @@ "api-version": "2017-03-01", "subscriptionId": "subid", "apiId": "echo-api", - "operationId":"operationId", + "operationId": "operationId", "If-Match": "*", "parameters": { "properties": { @@ -47,4 +47,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiRelease.json index e81981a1f73e..e22847f9e211 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiRelease.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "If-Match": "*", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } - } - }, - "responses": { - "204": { } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } } -} \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiVersionSet.json index 4e8931405308..5aa1415e1e4e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateApiVersionSet.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "versionSetId": "api1", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "versionSetId": "api1", - "If-Match":"*", - "parameters": { - "properties": { - "displayName" : "api set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateAuthorizationServer.json index 5e1c9d199a7e..b35440a2f3cb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateAuthorizationServer.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateBackend.json index eff067b633c4..602e7f5c886e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateBackend.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateDiagnostic.json index 95720097492c..ee9ede76a579 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateDiagnostic.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateEmailTemplate.json index f6f9fe2e310e..873a7b3c5505 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateEmailTemplate.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateGroup.json index 61ebf8ddb6ba..483ee2491de8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateGroup.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateIdentityProvider.json index b1c1d98ef67f..2094a9f132d0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateIdentityProvider.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateLogger.json index 4f4a953b2690..38d860dfc88e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateLogger.json @@ -18,4 +18,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateOpenIdConnectProvider.json index f7f66eaface1..b17c41f31f8c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateOpenIdConnectProvider.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProductBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProductBasic.json index 63e04552e27f..080fe9e5e460 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProductBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProductBasic.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProperty.json index 6f2f51bfaa5c..8c3f5af9883a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateProperty.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKey.json index 86ab64408838..337a8aa19329 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKey.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json index 4f5cb5b5acb3..1c5f3cc6d551 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json index d38bc2361ad6..392a705c8c1d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json index ae7946a1f49a..1804de0fbbe0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -61,7 +61,7 @@ "location": "West US", "etag": "AAAAAAAYRPs=", "properties": { - "publisherEmail": "foobar@live.com", + "publisherEmail": "foobar@live.com", "publisherName": "Contoso Vnext", "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", "provisioningState": "Succeeded", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateSubscription.json index 86b972797efb..9feb06db5c6d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateSubscription.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTag.json index 5b925d576bab..755386d78e1f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTag.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTenantAccess.json index 4e5d8f5c09d9..93a8b1c80807 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateTenantAccess.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateUserBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateUserBasic.json index 007ef4615689..b5ab486dec6a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateUserBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateUserBasic.json @@ -15,6 +15,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGenerateSsoUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGenerateSsoUrl.json index c946fe5418ca..04be5c0e132e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGenerateSsoUrl.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGenerateSsoUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGetToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGetToken.json index ce3a3a265153..e3ccdc853ba3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGetToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUsersGetToken.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json index fbd19af1e87a..7f01a57f00df 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json @@ -403,7 +403,7 @@ }, "ErrorResponse": { "properties": { - "error" : { + "error": { "x-ms-client-flatten": true, "$ref": "#/definitions/ErrorResponseBody", "description": "Properties of the Error Response." @@ -691,4 +691,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimapis.json index a393af3575dd..aa32e3778715 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimapis.json @@ -4919,4 +4919,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json index 0ad2bbfb1346..d1a806bc7108 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json @@ -679,4 +679,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json index 8680355c2a8e..0ae71d34bc2d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json @@ -767,4 +767,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json index e895ee01e226..98e5acbe4bc4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json @@ -398,4 +398,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json index b97403a1359d..64e033dce9bc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json @@ -1571,4 +1571,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json index 0a46a4020ab5..ec5f361e8ea5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json @@ -616,4 +616,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json index 6ffa8a5a4a57..c688868bf496 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json @@ -502,4 +502,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json index c759fba75274..973f49e4c303 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json @@ -447,7 +447,7 @@ "204": { "description": "Entity exists" }, - "404" : { + "404": { "description": "Entity does not exists." }, "default": { @@ -458,7 +458,7 @@ } } }, - "put": { + "put": { "tags": [ "GroupUsers" ], @@ -732,4 +732,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json index 0297039b15d9..0e2636675c79 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json @@ -115,10 +115,10 @@ "200": { "description": "Specified identity provider entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -129,7 +129,7 @@ } } }, - "get": { + "get": { "tags": [ "IdentityProvider" ], @@ -549,4 +549,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimissues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimissues.json index 749225ebcc87..fc8d699d762e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimissues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimissues.json @@ -94,4 +94,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json index a7be9704d423..91b24cc0c8ed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json @@ -129,10 +129,10 @@ "200": { "description": "Specified logger entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -143,7 +143,7 @@ } } }, - "get": { + "get": { "tags": [ "Loggers" ], @@ -509,4 +509,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json index 0a5d95a5ac36..9f6580c492b4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json @@ -219,4 +219,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json index 7abf971b664f..a89786b3f98d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json @@ -251,7 +251,7 @@ "204": { "description": "The User is subscribed to receive the notification." }, - "404" : { + "404": { "description": "Entity does not exists." }, "default": { @@ -442,7 +442,7 @@ "204": { "description": "The Users is subscribed to receive the notification." }, - "404" : { + "404": { "description": "The Users is not subscribed to receive the notification." }, "default": { @@ -768,4 +768,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json index 2c2fd499266a..44c2cd81f61f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json @@ -120,10 +120,10 @@ "200": { "description": "Specified openidConnectProvider entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -134,7 +134,7 @@ } } }, - "get": { + "get": { "tags": [ "OpenIdConnectProviders" ], @@ -456,4 +456,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json index 86bd39436d2d..a5a5da526b16 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json @@ -710,4 +710,4 @@ "description": "User registration delegation settings properties." } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json index 8ba536db5863..d2106e08cd2f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json @@ -1240,4 +1240,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json index 52feddada7aa..958b016a6d9e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json @@ -123,10 +123,10 @@ "200": { "description": "Specified Property entity exists and current entity state version is present in the ETag header.", "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } } }, "default": { @@ -137,7 +137,7 @@ } } }, - "get": { + "get": { "tags": [ "Property" ], @@ -469,4 +469,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json index 789255ef73de..226d0f0ee3c8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json @@ -338,4 +338,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimreports.json index eb27c6bc67eb..f3accf51cde9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimreports.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimreports.json @@ -719,4 +719,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json index 7a2793cf572f..2e274a0993d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json @@ -703,4 +703,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json index 93c9b457c67a..4a2d276cdeb3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json @@ -267,4 +267,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtags.json index 1fc6c77f883b..942baa0b5850 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtags.json @@ -1642,4 +1642,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json index 588672d22d9a..d0ff259329cb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json @@ -769,4 +769,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimusers.json index 2413c3b71f61..b788fa691ae9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimusers.json @@ -1007,4 +1007,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json index 0631a85c9fe8..3d88711b6b1e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json @@ -1,520 +1,520 @@ { - "swagger": "2.0", - "info": { - "title": "ApiManagementClient", - "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.", - "version": "2018-01-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "ApiManagementClient", + "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.", + "version": "2018-01-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": { + "get": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_ListByService", + "description": "Lists a collection of API Version Sets in the specified service instance.", + "x-ms-examples": { + "ApiManagementListApiVersionSets": { + "$ref": "./examples/ApiManagementListApiVersionSets.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" + }, + { + "$ref": "./apimanagement.json#/parameters/TopQueryParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" + } + ], + "responses": { + "200": { + "description": "Lists a collection of Api Version Set entities.", + "schema": { + "$ref": "#/definitions/ApiVersionSetCollection" } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ApiVersionSetContract" + } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": { - "get": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_ListByService", - "description": "Lists a collection of API Version Sets in the specified service instance.", - "x-ms-examples": { - "ApiManagementListApiVersionSets": { - "$ref": "./examples/ApiManagementListApiVersionSets.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |" - }, - { - "$ref": "./apimanagement.json#/parameters/TopQueryParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" - } - ], - "responses": { - "200": { - "description": "Lists a collection of Api Version Set entities.", - "schema": { - "$ref": "#/definitions/ApiVersionSetCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ApiVersionSetContract" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": { + "head": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_GetEntityTag", + "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.", + "x-ms-examples": { + "ApiManagementHeadApiVersionSet": { + "$ref": "./examples/ApiManagementHeadApiVersionSet.json" + } + }, + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + } + ], + "responses": { + "200": { + "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.", + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" } + } + } + }, + "get": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Get", + "description": "Gets the details of the Api Version Set specified by its identifier.", + "x-ms-examples": { + "ApiManagementGetApiVersionSet": { + "$ref": "./examples/ApiManagementGetApiVersionSet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": { - "head": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_GetEntityTag", - "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.", - "x-ms-examples": { - "ApiManagementHeadApiVersionSet": { - "$ref": "./examples/ApiManagementHeadApiVersionSet.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - } - ], - "responses": { - "200": { - "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.", - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + } + ], + "responses": { + "200": { + "description": "Gets the specified Api Version Set entity.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" }, - "get": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Get", - "description": "Gets the details of the Api Version Set specified by its identifier.", - "x-ms-examples": { - "ApiManagementGetApiVersionSet": { - "$ref": "./examples/ApiManagementGetApiVersionSet.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - } - ], - "responses": { - "200": { - "description": "Gets the specified Api Version Set entity.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_CreateOrUpdate", - "description": "Creates or Updates a Api Version Set.", - "x-ms-examples": { - "ApiManagementCreateApiVersionSet": { - "$ref": "./examples/ApiManagementCreateApiVersionSet.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "description": "Create or update parameters." - }, - { - "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter" - } - ], - "responses": { - "200": { - "description": "Api Version Set was successfully updated.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - } - }, - "201": { - "description": "Api Version Set was successfully created.", - "schema": { - "$ref": "#/definitions/ApiVersionSetContract" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Update", - "description": "Updates the details of the Api VersionSet specified by its identifier.", - "x-ms-examples": { - "ApiManagementUpdateApiVersionSet": { - "$ref": "./examples/ApiManagementUpdateApiVersionSet.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApiVersionSetUpdateParameters" - }, - "description": "Update parameters." - }, - { - "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" - } - ], - "responses": { - "204": { - "description": "The Api Version Set details were successfully updated." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 4XX Error response giving details why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "ApiVersionSets" - ], - "operationId": "ApiVersionSet_Delete", - "description": "Deletes specific Api Version Set.", - "x-ms-examples": { - "ApiManagementDeleteApiVersionSet": { - "$ref": "./examples/ApiManagementDeleteApiVersionSet.json" - } - }, - "parameters": [ - { - "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionSetIdParameter" - }, - { - "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" - } - ], - "responses": { - "200": { - "description": "The ApiVersion Set details were successfully deleted." - }, - "204": { - "description": "The ApiVersion Set details were successfully deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./apimanagement.json#/definitions/ErrorResponse" - } - } - } + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" } + } } - }, - "definitions": { - "ApiVersionSetCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ApiVersionSetContract" - }, - "description": "Page values." - }, - "nextLink": { - "type": "string", - "description": "Next page link if any." - } - }, - "description": "Paged Api Version Set list representation." + }, + "put": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_CreateOrUpdate", + "description": "Creates or Updates a Api Version Set.", + "x-ms-examples": { + "ApiManagementCreateApiVersionSet": { + "$ref": "./examples/ApiManagementCreateApiVersionSet.json" + } }, - "ApiVersionSetEntityBase": { - "properties": { - "description": { - "type": "string", - "description": "Description of API Version Set." - }, - "versionQueryName": { - "type": "string", - "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.", - "minLength": 1, - "maxLength": 100 - }, - "versionHeaderName": { - "type": "string", - "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.", - "minLength": 1, - "maxLength": 100 - } + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" }, - "description": "Api Version set base parameters" + "description": "Create or update parameters." + }, + { + "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter" + } + ], + "responses": { + "200": { + "description": "Api Version Set was successfully updated.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" + } + }, + "201": { + "description": "Api Version Set was successfully created.", + "schema": { + "$ref": "#/definitions/ApiVersionSetContract" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Update", + "description": "Updates the details of the Api VersionSet specified by its identifier.", + "x-ms-examples": { + "ApiManagementUpdateApiVersionSet": { + "$ref": "./examples/ApiManagementUpdateApiVersionSet.json" + } }, - "ApiVersionSetContractProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "Name of API Version Set", - "minLength": 1, - "maxLength": 100 - }, - "versioningScheme": { - "type": "string", - "description": "An value that determines where the API Version identifer will be located in a HTTP request.", - "enum": [ - "Segment", - "Query", - "Header" - ], - "x-ms-enum": { - "name": "versioningScheme", - "modelAsString": true, - "values": [ - { - "value": "Segment", - "description": "The API Version is passed in a path segment." - }, - { - "value": "Query", - "description": "The API Version is passed in a query parameter." - }, - { - "value": "Header", - "description": "The API Version is passed in a HTTP header." - } - ] - } - } + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApiVersionSetUpdateParameters" }, - "allOf": [ - { - "$ref": "#/definitions/ApiVersionSetEntityBase" - } - ], - "required": [ - "displayName", - "versioningScheme" - ], - "description": "Properties of an API Version Set." + "description": "Update parameters." + }, + { + "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" + } + ], + "responses": { + "204": { + "description": "The Api Version Set details were successfully updated." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 4XX Error response giving details why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "ApiVersionSets" + ], + "operationId": "ApiVersionSet_Delete", + "description": "Deletes specific Api Version Set.", + "x-ms-examples": { + "ApiManagementDeleteApiVersionSet": { + "$ref": "./examples/ApiManagementDeleteApiVersionSet.json" + } }, - "ApiVersionSetContract": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApiVersionSetContractProperties", - "description": "Api VersionSet contract properties." - } - }, - "allOf": [ - { - "$ref": "./apimanagement.json#/definitions/Resource" - } - ], - "description": "Api Version Set Contract details." + "parameters": [ + { + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionSetIdParameter" + }, + { + "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" + } + ], + "responses": { + "200": { + "description": "The ApiVersion Set details were successfully deleted." + }, + "204": { + "description": "The ApiVersion Set details were successfully deleted." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./apimanagement.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ApiVersionSetCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApiVersionSetContract" + }, + "description": "Page values." }, - "ApiVersionSetUpdateParametersProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "Name of API Version Set", - "minLength": 1, - "maxLength": 100 - }, - "versioningScheme": { - "type": "string", - "description": "An value that determines where the API Version identifer will be located in a HTTP request.", - "enum": [ - "Segment", - "Query", - "Header" - ], - "x-ms-enum": { - "name": "versioningScheme", - "modelAsString": true, - "values": [ - { - "value": "Segment", - "description": "The API Version is passed in a path segment." - }, - { - "value": "Query", - "description": "The API Version is passed in a query parameter." - }, - { - "value": "Header", - "description": "The API Version is passed in a HTTP header." - } - ] - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ApiVersionSetEntityBase" - } - ], - "description": "Properties used to create or update an API Version Set." + "nextLink": { + "type": "string", + "description": "Next page link if any." + } + }, + "description": "Paged Api Version Set list representation." + }, + "ApiVersionSetEntityBase": { + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." }, - "ApiVersionSetUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties", - "description": "Parameters to update or create an Api Version Set Contract." - } - }, - "description": "Parameters to update or create an Api Version Set Contract." + "versionQueryName": { + "type": "string", + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.", + "minLength": 1, + "maxLength": 100 + }, + "versionHeaderName": { + "type": "string", + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.", + "minLength": 1, + "maxLength": 100 } + }, + "description": "Api Version set base parameters" }, - "parameters": { - "ApiVersionSetIdParameter": { - "name": "versionSetId", - "in": "path", - "required": true, - "type": "string", - "description": "Api Version Set identifier. Must be unique in the current API Management service instance.", - "minLength": 1, - "maxLength": 80, - "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)", - "x-ms-parameter-location": "method" + "ApiVersionSetContractProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "Name of API Version Set", + "minLength": 1, + "maxLength": 100 + }, + "versioningScheme": { + "type": "string", + "description": "An value that determines where the API Version identifer will be located in a HTTP request.", + "enum": [ + "Segment", + "Query", + "Header" + ], + "x-ms-enum": { + "name": "versioningScheme", + "modelAsString": true, + "values": [ + { + "value": "Segment", + "description": "The API Version is passed in a path segment." + }, + { + "value": "Query", + "description": "The API Version is passed in a query parameter." + }, + { + "value": "Header", + "description": "The API Version is passed in a HTTP header." + } + ] + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ApiVersionSetEntityBase" + } + ], + "required": [ + "displayName", + "versioningScheme" + ], + "description": "Properties of an API Version Set." + }, + "ApiVersionSetContract": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApiVersionSetContractProperties", + "description": "Api VersionSet contract properties." + } + }, + "allOf": [ + { + "$ref": "./apimanagement.json#/definitions/Resource" + } + ], + "description": "Api Version Set Contract details." + }, + "ApiVersionSetUpdateParametersProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "Name of API Version Set", + "minLength": 1, + "maxLength": 100 + }, + "versioningScheme": { + "type": "string", + "description": "An value that determines where the API Version identifer will be located in a HTTP request.", + "enum": [ + "Segment", + "Query", + "Header" + ], + "x-ms-enum": { + "name": "versioningScheme", + "modelAsString": true, + "values": [ + { + "value": "Segment", + "description": "The API Version is passed in a path segment." + }, + { + "value": "Query", + "description": "The API Version is passed in a query parameter." + }, + { + "value": "Header", + "description": "The API Version is passed in a HTTP header." + } + ] + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ApiVersionSetEntityBase" } + ], + "description": "Properties used to create or update an API Version Set." + }, + "ApiVersionSetUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties", + "description": "Parameters to update or create an Api Version Set Contract." + } + }, + "description": "Parameters to update or create an Api Version Set Contract." + } + }, + "parameters": { + "ApiVersionSetIdParameter": { + "name": "versionSetId", + "in": "path", + "required": true, + "type": "string", + "description": "Api Version Set identifier. Must be unique in the current API Management service instance.", + "minLength": 1, + "maxLength": 80, + "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)", + "x-ms-parameter-location": "method" } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json index db6923df1ed8..d88f5651e4b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "west us" - } + "location": "west us" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" + }, + "virtualNetworkType": "External" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" - }, - "virtualNetworkType": "External" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementBackendReconnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementBackendReconnect.json index 0919d31f0a51..8919197128ec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementBackendReconnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementBackendReconnect.json @@ -1,17 +1,17 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "backendid": "proxybackend", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "backendid": "proxybackend", - "parameters": { - "properties": { - "after" : "PT3S" - } + "properties": { + "after": "PT3S" } - }, - "responses": { - "202": {} } - } \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAILogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAILogger.json index 5cd1ff07cba4..b635d96d61b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAILogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAILogger.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApi.json index 79f391068c57..00bfa6281d72 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApi.json @@ -90,4 +90,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnostic.json index 016886fe7c9c..ce18c9c0ac57 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnostic.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnosticLogger.json index a6b7d515edfc..09010b58e283 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiDiagnosticLogger.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "parameters": {} + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssue.json index c3924f239769..e1854ec46ae1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssue.json @@ -1,49 +1,49 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueAttachment.json index 37cf9b88b6b8..38b16ca9309c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueAttachment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "parameters": { + "properties": { + "title": "Issue attachment.", + "contentFormat": "image/jpeg", + "content": "IEJhc2U2NA==" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", "properties": { - "title": "Issue attachment.", - "contentFormat": "image/jpeg", - "content": "IEJhc2U2NA==" + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueComment.json index 50f4ff76747a..cbe89de20955 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiIssueComment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "parameters": { + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperation.json index 8f73ff5d6346..fa08192b281d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperation.json @@ -1,131 +1,131 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "PetStoreTemplate2", + "operationId": "newoperations", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "PetStoreTemplate2", - "operationId":"newoperations", - "parameters": { - "name": "newoperation", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] + "name": "newoperation", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" + } + ], + "headers": [] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + { + "contentType": "application/json" + } + ], + "headers": [] } + ] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperationPolicy.json index 2cae66c70fb0..5a9e1195876c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiOperationPolicy.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicy.json index 13a0921fe4b5..6ba8ba5b5080 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicy.json @@ -6,7 +6,7 @@ "subscriptionId": "subid", "apiId": "5600b57e7e8880006a040001", "policyId": "policy", - "If-Match":"*", + "If-Match": "*", "parameters": { "properties": { "contentFormat": "xml", @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json index e525ce4da05e..3d13f411b203 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRelease.json index 12bf5273a2cc..2233ca866c71 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRelease.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRevision.json index cb3e6d083c6a..f7d5bbe5f647 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiRevision.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiSchema.json index a3769dcf6be9..5d946bce387c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiSchema.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTag.json index 853c99adb1e1..4a4d413d27e0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTagDescription.json index 661eb100e408..37983e6bdc0e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiTagDescription.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json index 6a2e73dc68fb..7e454f52d1a6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingWadlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingWadlImport.json index 5da5b5f5d31d..325b00068393 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingWadlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiUsingWadlImport.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiVersionSet.json index 26799a04e930..90f09b2d54e3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiVersionSet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json index 2e18b4aa455a..6f2a4556d4f9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAuthorizationServer.json index 23ff11d1d90a..d2eb6320fa02 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateAuthorizationServer.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendProxyBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendProxyBackend.json index 13249c076945..7e814653dfc0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendProxyBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendProxyBackend.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendServiceFabric.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendServiceFabric.json index 1efb701e38eb..91920f93ef9a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendServiceFabric.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackendServiceFabric.json @@ -84,4 +84,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackup.json index 36e3f0ebc376..0569ac128560 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateBackup.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateCertificate.json index a02b02462e60..e9f0d61f341f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateCertificate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2018-01-01", "subscriptionId": "subid", - "certificateId":"tempcert", + "certificateId": "tempcert", "parameters": { "properties": { "data": "****************Base 64 Encoded Certificate *******************************", @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnostic.json index 8df0ffe2af21..58dfb3a80fdd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnostic.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnosticLogger.json index 677358721a45..1124b7c23055 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateDiagnosticLogger.json @@ -1,43 +1,43 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "parameters": { } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "parameters": {} + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEHLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEHLogger.json index ff84cf1e0118..c26b9c79e207 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEHLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEHLogger.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEmailTemplate.json index 2864c5acea1e..004c91f1dfaa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateEmailTemplate.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroup.json index 86d1962fbde5..681a32d21599 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroup.json @@ -18,7 +18,7 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } @@ -29,10 +29,10 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupExternal.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupExternal.json index b3c2ade5f936..f47d9a00eb3f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupExternal.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupExternal.json @@ -4,11 +4,11 @@ "resourceGroupName": "rg1", "api-version": "2018-01-01", "subscriptionId": "subid", - "groupId":"aadGroup", + "groupId": "aadGroup", "parameters": { "properties": { "displayName": "NewGroup (samiraad.onmicrosoft.com)", - "description": "new group to test", + "description": "new group to test", "type": "external", "externalId": "aad://samiraad.onmicrosoft.com/groups/83cf2753-5831-4675-bc0e-2f8dc067c58d" } @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupUser.json index 39fab4b7f593..833e8545d505 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateGroupUser.json @@ -18,7 +18,7 @@ "lastName": "user", "email": "testuser1@live.com", "state": "active", - "registrationDate": "2017-06-01T20:46:45.437Z", + "registrationDate": "2017-06-01T20:46:45.437Z", "groups": [], "identities": [] } @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateIdentityProvider.json index 505e8ca54c65..d088c327e2e1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateIdentityProvider.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json index 8160466ad97d..45c4fa456dad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2018-01-01", "subscriptionId": "subid", - "parameters": { + "parameters": { "location": "Central US", "sku": { "name": "Premium", @@ -287,4 +287,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json index 35a818ce1633..448c19fd6df9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json @@ -20,7 +20,7 @@ "type": "Microsoft.ApiManagement/service/openidconnectproviders", "name": "templateOpenIdConnect3", "properties": { - "displayName": "templateoidprovider3", + "displayName": "templateoidprovider3", "metadataEndpoint": "https://oidprovider-template3.net", "clientId": "oidprovidertemplate3" } @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOperationTag.json index 250b29dd6d87..585809caebed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateOperationTag.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreatePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreatePolicy.json index 1c309641f58f..30f33439d8ba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreatePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreatePolicy.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductApi.json index ffd6634aef6e..d42cdd8ac106 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductApi.json @@ -37,7 +37,7 @@ "name": "5931a75ae4bbd512a88c680b", "properties": { "displayName": "EchoApi", - "apiRevision": "1", + "apiRevision": "1", "serviceUrl": "https://contoso.com/apis/echo", "path": "", "protocols": [ @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductBasic.json index 11cd248c852c..0f1f3fe545b6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductBasic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductGroup.json index 72f47886ac53..915c7a5de142 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductGroup.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductPolicy.json index 642e89902e2d..c4bb414a3d3d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductPolicy.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductTag.json index a906213ebb04..8d9c10b70157 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProductTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json index 060e0c035487..38dff8e5ba7a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientEmail.json index 711b2de23a4b..595bae0d3043 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientEmail.json @@ -14,7 +14,7 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } }, @@ -24,9 +24,9 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientUser.json index 973e9c679e1a..11f5a1cff869 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateRecipientUser.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateService.json index 4a2fa14eaec9..41a777505853 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateService.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceHavingMsi.json index 37f349524608..c063f67dacae 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceHavingMsi.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json index 42f987dad858..a7e470bac209 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -159,4 +159,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json index 9a44a23e1085..78787c770243 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json index 478084f6cb6c..b57f1b4a60db 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json index 2d3ac5b98d8e..71407539b5b9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateTag.json index 004f1910892c..f0f80f0fb1ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateTag.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateUserBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateUserBasic.json index 94e3116e47c0..a0e07d9524b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateUserBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateUserBasic.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApi.json index 07c6b192f293..212a4490703d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApi.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnostic.json index 730724b7042f..fb534e86658e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnostic.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "204": {}, - "200":{} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnosticLogger.json index e8d961cb79f3..01186b752d68 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiDiagnosticLogger.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { } - }, - "responses": { - "204": {}, - "200":{} - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "parameters": {} + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssue.json index 3e2ead481521..01b42cab5eab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssue.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueAttachment.json index 9a43f099a422..c90c66d9938d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueAttachment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueComment.json index 813ce534e9af..a4e4404efa19 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiIssueComment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiOperation.json index 83118c82ddf0..6e88f49f975c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiOperation.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiPolicy.json index cc25df790b77..8590706e1955 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "loggerId", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "loggerId", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiRelease.json index 7259f4c30e84..3e4205c55d83 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiRelease.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "5a5fcc09124a7fa9b89f2f1d", - "releaseId": "testrev", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "5a5fcc09124a7fa9b89f2f1d", + "releaseId": "testrev", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiSchema.json index 46ac78c46747..c6dd047371c2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiSchema.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "schemaId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "schemaId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTag.json index f458e7db34cc..343ea53429c4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTagDescription.json index f458e7db34cc..343ea53429c4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiTagDescription.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiVersionSet.json index 3830bc95003e..6960bd0319ad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteApiVersionSet.json @@ -1,16 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "versionSetId": "a1", - "If-Match": "*" - }, - "responses": { - "204": { - }, - "200":{ - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "versionSetId": "a1", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteAuthorizationServer.json index 2160255fc3b6..b6d1f126e047 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteAuthorizationServer.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteBackend.json index 128009de4032..c82e0349eb81 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteBackend.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "backendid": "sfbackend", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "backendid": "sfbackend", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteCertificate.json index a6bffbb09ae4..a8bd3cc403c1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteCertificate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "certificateId": "tempcert", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "certificateId": "tempcert", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnostic.json index eaed7f8f24a3..3abb6ff0c444 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnostic.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnosticLogger.json index 32872a14c3d4..d84500bc1efc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteDiagnosticLogger.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "applicationinsights", - "parameters": { } - }, - "responses": { - "200": {}, - "204": {} - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "applicationinsights", + "parameters": {} + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteEmailTemplate.json index 6027ff992175..c0574cf946ec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteEmailTemplate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroup.json index fc5abc938862..1624a9f4cc1e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroup.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "aadGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "aadGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroupUser.json index 6c95ea25fe0e..2920dfba6922 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteGroupUser.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "templategroup", - "uid": "59307d350af58404d8a26300", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "templategroup", + "uid": "59307d350af58404d8a26300", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteIdentityProvider.json index 42362fe4cab4..811365858c35 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteIdentityProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "identityProviderName": "aad", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "identityProviderName": "aad", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteLogger.json index f2d5e63ae052..0f86eee1395a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteLogger.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "loggerid": "loggerId", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "loggerid": "loggerId", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json index ba36c31f4286..cf2a0dd720ab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json index 75f246b2e261..372d8da9ac48 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "uid": "576823d0a40f7e74ec07d642" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "uid": "576823d0a40f7e74ec07d642" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json index 4df2e30c4583..bf40888c3bb9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationPolicy.json index b58ad23969b2..ebc7ea1c1e45 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "testapi", - "operationId": "testoperation", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "testapi", + "operationId": "testoperation", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationTag.json index 42d7e2baa3c3..4499a58757b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteOperationTag.json @@ -9,8 +9,8 @@ "tagId": "59d5b28e1f7fab116402044e", "If-Match": "*" }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeletePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeletePolicy.json index 42c234daefbe..c2f306b38599 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeletePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeletePolicy.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProduct.json index cba3774a6e40..12c1c5d2ea82 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProduct.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "deleteSubscriptions": true, - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "deleteSubscriptions": true, + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductApi.json index b98d0098115d..17982b03eb52 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductApi.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductGroup.json index df346737ed1a..8aae2456f591 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductGroup.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "groupId": "templateGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "groupId": "templateGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductPolicy.json index fcef1f5a5bb3..bc472265fd07 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductTag.json index 19c1ab315129..bd9b5ebcebfc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProductTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProperty.json index 9531fd829061..d15cc28587a1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteProperty.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "propId": "testprop2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "propId": "testprop2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteSubscription.json index 32c8c3d09ef3..24b99f15d69a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteSubscription.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "sid": "testsub", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "sid": "testsub", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteTag.json index 6d499a895fb2..c5acce156b95 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteTag.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "tagId": "tagId1", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "tagId": "tagId1", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteUser.json index 7c9063e67027..1746fa190bfc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementDeleteUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512288c680b", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512288c680b", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiContract.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiContract.json index 0cf5585c5ecf..7ece27430eeb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiContract.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiContract.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", - "type": "Microsoft.ApiManagement/service/apis", - "name": "57d1f7558aa04f15146d9d8a", - "properties": { - "displayName": "Service", - "apiRevision": "1", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "type": "soap", - "isCurrent": true, - "isOnline": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", + "type": "Microsoft.ApiManagement/service/apis", + "name": "57d1f7558aa04f15146d9d8a", + "properties": { + "displayName": "Service", + "apiRevision": "1", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "type": "soap", + "isCurrent": true, + "isOnline": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiDiagnostic.json index cb6b69c83e2a..4103187de314 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiDiagnostic.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", - "type": "Microsoft.ApiManagement/service/apis/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", + "type": "Microsoft.ApiManagement/service/apis/diagnostics", + "name": "default", + "properties": { + "enabled": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json index 8ffcafe09e03..a455e1d0f974 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "format": "swagger-link", - "export": "true" - }, - "responses": { - "200": { - "body": { - "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "format": "swagger-link", + "export": "true" + }, + "responses": { + "200": { + "body": { + "link": "https://apimgmtstaobxxxxxxx.blob.core.windows.net/api-export/Echo API.json?sv=2015-07-08&sr=b&sig=xxxxxxxxxx%3D&se=2017-09-08T21:54:08Z&sp=r" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssue.json index a00f0919fe35..c0e265f575f9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssue.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueAttachment.json index 9ad3a14f64a2..7eb97ccbff22 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueAttachment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueComment.json index 92952716046c..b8084b56a7d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiIssueComment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperation.json index 99c1dd9c6474..f23f27c6cb9c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperation.json @@ -1,53 +1,53 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", - "templateParameters": [], - "request": { - "description": "IFazioService_CancelOrder_InputMessage", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrder" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "IFazioService_CancelOrder_OutputMessage", - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrderResponse" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", + "templateParameters": [], + "request": { + "description": "IFazioService_CancelOrder_InputMessage", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrder" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "IFazioService_CancelOrder_OutputMessage", + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrderResponse" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperationPolicy.json index a8b46901fd99..2fee2be98731 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiOperationPolicy.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiPolicy.json index 29eda86d080b..6ea8ba45028c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRelease.json index 23b64034be13..c1f2c095e284 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRelease.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRevision.json index 81167d6c4767..da7f0777e485 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiRevision.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "echo-api;rev=3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api;rev=3", - "properties": { - "displayName": "Service", - "apiRevision": "3", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "apiRevisionDescription": "fixed bug in contract" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "echo-api;rev=3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api;rev=3", + "properties": { + "displayName": "Service", + "apiRevision": "3", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "apiRevisionDescription": "fixed bug in contract" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiSchema.json index 2dee8293659f..536a491f7a8a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiSchema.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "59d6bb8f1f7fab13dc67ec9b", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "properties": { - "contentType": "application/vnd.ms-azure-apim.xsd+xml", - "document": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "59d6bb8f1f7fab13dc67ec9b", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "properties": { + "contentType": "application/vnd.ms-azure-apim.xsd+xml", + "document": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTag.json index 42048288953c..b779c7ef74dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTagDescription.json index b034067cc150..966513dc2789 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiTagDescription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiVersionSet.json index 4c05217967bb..acf50b922513 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetApiVersionSet.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName" : "Version Set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "Version Set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetAuthorizationServer.json index 6cccabde4e68..910c0025a061 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetAuthorizationServer.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetBackend.json index 2f4c22bea1c5..e9701e5063da 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetBackend.json @@ -1,38 +1,38 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "backendid": "sfbackend" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "backendid": "sfbackend" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ + { + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } + ], + "maxPartitionResolutionRetries": 5 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetCertificate.json index fdbbfe8a6957..1313577ded38 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetCertificate.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA**********************8594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA**********************8594A6", + "expirationDate": "2017-04-23T17:03:41Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetDiagnostic.json index f2cc18cd6c09..bede36b08499 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetDiagnostic.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", - "type": "Microsoft.ApiManagement/service/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", + "type": "Microsoft.ApiManagement/service/diagnostics", + "name": "default", + "properties": { + "enabled": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetEmailTemplate.json index 4938dbb5ea21..9b68e303b75e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetEmailTemplate.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "NewIssueNotificationMessage", - "properties": { - "subject": "Your request $IssueName was received", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "New issue received", - "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", - "isDefault": true, - "parameters": [ - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "IssueId", - "title": "Issue id" - }, - { - "name": "IssueName", - "title": "Issue name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "NewIssueNotificationMessage", + "properties": { + "subject": "Your request $IssueName was received", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "New issue received", + "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", + "isDefault": true, + "parameters": [ + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "IssueId", + "title": "Issue id" + }, + { + "name": "IssueName", + "title": "Issue name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetGroup.json index 62559e461aca..712d35fb4776 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetGroup.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetIdentityProvider.json index 0a6412a82465..e451106918d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetIdentityProvider.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "aadB2C", - "properties": { - "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", - "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_signup-policy" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "aadB2C", + "properties": { + "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", + "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_signup-policy" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetLogger.json index 617befa4e7b6..e601063d1aab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetLogger.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "loggerid": "templateLogger" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "kloudapilogger1", - "properties": { - "loggerType": "azureEventHub", - "description": "testeventhub3again", - "credentials": { - "name": "testeventhub4", - "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" - }, - "isBuffered": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "loggerid": "templateLogger" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "kloudapilogger1", + "properties": { + "loggerType": "azureEventHub", + "description": "testeventhub3again", + "credentials": { + "name": "testeventhub4", + "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" + }, + "isBuffered": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetNotification.json index 1fc327eec957..cf424cad2653 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetNotification.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOpenIdConnectProvider.json index 8ddbfdcf9820..eb17f3bd2419 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOpenIdConnectProvider.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOperationTag.json index 698e1e318e4d..2d063a073dc1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetOperationTag.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetPolicy.json index 1ba7069482bc..cae64c535489 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetPolicy.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProduct.json index 58ab34beea63..f453fe9f8193 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProduct.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductPolicy.json index e8503eb78783..8d492b5b49b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "kjoshiarmTemplateProduct4", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "kjoshiarmTemplateProduct4", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductTag.json index 734fed94cf8b..666a7a11db1f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductsForApi.json index 8238ff8154ac..1de80d62ad93 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProductsForApi.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/apis/products", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/apis/products", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProperty.json index a249e0994de7..c015a5833b6b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetProperty.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeys.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeys.json index 729d39e216b9..a5dacae92967 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeys.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeys.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 5, - "kbTransferred": 2.5830078125 - } - } - ], - "count": 1, - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 5, + "kbTransferred": 2.5830078125 } - } + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json index 81f936a30663..a95ee8fefb0c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json @@ -1,24 +1,24 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba", - "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" - }, - "responses": { - "200": { - "body": { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 0, - "kbTransferred": 2.5625 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba", + "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" + }, + "responses": { + "200": { + "body": { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 0, + "kbTransferred": 2.5625 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByApi.json index 81bb1b87ea13..58d01d361d95 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByApi.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Echo API", - "apiId": "/apis/5600b59475ff190048040001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "httpbin", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Echo API", + "apiId": "/apis/5600b59475ff190048040001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "httpbin", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByGeo.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByGeo.json index 062395dcdd91..f6406ae6f5f1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByGeo.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByGeo.json @@ -1,38 +1,38 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "country": "US", - "region": "WA", - "zip": "98052", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "country": "US", + "region": "WA", + "zip": "98052", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByOperation.json index 79db8f6f35f4..bd454f887197 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByOperation.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "get", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "GetWeatherInformation", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "GetCityForecastByZIP", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "get", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "GetWeatherInformation", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "GetCityForecastByZIP", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByProduct.json index 0cf949750189..632bdac25abd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByProduct.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Starter", - "productId": "/products/5600b59475ff190048060001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Unlimited", - "productId": "/products/5600b59475ff190048060002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Starter", + "productId": "/products/5600b59475ff190048060001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Unlimited", + "productId": "/products/5600b59475ff190048060002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByRequest.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByRequest.json index c191dde45d37..94005bf0bae4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByRequest.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByRequest.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "GET", - "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 405, - "timestamp": "2017-06-03T00:17:00.1649134Z", - "cache": "none", - "apiTime": 221.1544, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", - "requestSize": 0 - }, - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "POST", - "url": "https://apimService1.azure-api.net/echo/resource", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 403, - "timestamp": "2017-06-03T00:17:20.5255131Z", - "cache": "none", - "apiTime": 6.6754000000000007, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", - "requestSize": 0 - } - ], - "count": 2 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "GET", + "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 405, + "timestamp": "2017-06-03T00:17:00.1649134Z", + "cache": "none", + "apiTime": 221.1544, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", + "requestSize": 0 + }, + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "POST", + "url": "https://apimService1.azure-api.net/echo/resource", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 403, + "timestamp": "2017-06-03T00:17:20.5255131Z", + "cache": "none", + "apiTime": 6.6754000000000007, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", + "requestSize": 0 + } + ], + "count": 2 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsBySubscription.json index 8407fbb10ebd..bd18b86370f1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsBySubscription.json @@ -1,79 +1,79 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060001", - "subscriptionId": "/subscriptions/5600b59475ff190048070001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060002", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5702e97e5157a50f48dce801", - "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060001", + "subscriptionId": "/subscriptions/5600b59475ff190048070001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060002", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5702e97e5157a50f48dce801", + "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByTime.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByTime.json index 6f0dc0d3bd84..2d0a97290ee3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByTime.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByTime.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", - "interval": "PT15M" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-06-03T00:15:00Z", - "interval": "PT15M", - "callCountSuccess": 4, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 4, - "bandwidth": 3243, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1337.46335, - "apiTimeMin": 885.0839000000001, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 1255.917425, - "serviceTimeMin": 882.8264, - "serviceTimeMax": 1697.3612 - }, - { - "timestamp": "2017-06-03T00:30:00Z", - "interval": "PT15M", - "callCountSuccess": 9, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 10, - "bandwidth": 7776, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 872.7818777777778, - "apiTimeMin": 330.3206, - "apiTimeMax": 1093.8407, - "serviceTimeAvg": 824.2847111111112, - "serviceTimeMin": 215.24, - "serviceTimeMax": 973.2262000000001 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", + "interval": "PT15M" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-06-03T00:15:00Z", + "interval": "PT15M", + "callCountSuccess": 4, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 4, + "bandwidth": 3243, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1337.46335, + "apiTimeMin": 885.0839000000001, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 1255.917425, + "serviceTimeMin": 882.8264, + "serviceTimeMax": 1697.3612 + }, + { + "timestamp": "2017-06-03T00:30:00Z", + "interval": "PT15M", + "callCountSuccess": 9, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 10, + "bandwidth": 7776, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 872.7818777777778, + "apiTimeMin": 330.3206, + "apiTimeMax": 1093.8407, + "serviceTimeAvg": 824.2847111111112, + "serviceTimeMin": 215.24, + "serviceTimeMax": 973.2262000000001 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByUser.json index 9a4495f8e602..47515a524fbe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetReportsByUser.json @@ -1,73 +1,73 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Administrator", - "userId": "/users/1", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "Samir Solanki", - "userId": "/users/56eaec62baf08b06e46d27fd", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Anonymous", - "userId": "/users/54c800b332965a0035030000", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Administrator", + "userId": "/users/1", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "Samir Solanki", + "userId": "/users/56eaec62baf08b06e46d27fd", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Anonymous", + "userId": "/users/54c800b332965a0035030000", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetSubscription.json index fd7471610238..b72d039ad4dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetSubscription.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTag.json index 6e0eda3a5f16..8bd461a99b4a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTag.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/tags", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "tag1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/tags", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "tag1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagDescriptionsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagDescriptionsForApi.json index 18663e4ad24c..5cd59d8e482e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagDescriptionsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagDescriptionsForApi.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1", - "externalDocsDescription": "some additional info", - "externalDocsUrl": "http://some_url.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1", + "externalDocsDescription": "some additional info", + "externalDocsUrl": "http://some_url.com" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForApi.json index 28ea7a82071c..fce4d6798804 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForApi.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForOperation.json index f37dfa372b0f..9d26f5a7eff6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForOperation.json @@ -7,21 +7,21 @@ "apiId": "57d2ef278aa04f0888cba3f3", "operationId": "57d2ef278aa04f0888cba3f6" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForProduct.json index 80c2fec9dff2..6d3dffadfafd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTagsForProduct.json @@ -6,21 +6,21 @@ "subscriptionId": "subid", "productId": "57d2ef278aa04f0888cba3f1" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTenantAccess.json index 1fc84f10f2c3..2a0bbbdf0650 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetTenantAccess.json @@ -1,19 +1,19 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "200": { - "body": { - "id": "5600b59375ff190048030003", - "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", - "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "200": { + "body": { + "id": "5600b59375ff190048030003", + "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", + "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", + "enabled": true + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUser.json index 5f3bbb3fdd2c..5a5a3e8595be 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUser.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUserIdentity.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUserIdentity.json index e740bc2d0bf9..dd2eadd48aaa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUserIdentity.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementGetUserIdentity.json @@ -1,15 +1,15 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "1" - } - } + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "1" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApi.json index fbe46b3e71b4..67ff5c3b6120 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApi.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnostic.json index 29e473b960a8..0a04216952e7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnostic.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnosticLogger.json index 283755755b0a..f9ad25c2d62a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiDiagnosticLogger.json @@ -1,16 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "templateLogger", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "204": { - }, - "404":{} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "templateLogger", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssue.json index 9570771b1278..7fe6a5c67dfc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssue.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueAttachment.json index 990bf33e30c5..f129d73a0885 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueAttachment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueComment.json index 5474d13ceabb..4b4d027fb870 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiIssueComment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperation.json index ae40079487dd..8a6a227425f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperation.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperationPolicy.json index d17d35e83bc0..fae0a504233b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiOperationPolicy.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiPolicy.json index 9e5d86a9b0d9..b825182daa64 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiRelease.json index fb089733d64f..721dd883b98d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiRelease.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiSchema.json index 092f8caba01c..e0ec4b4549d1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiSchema.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTag.json index 42c82ff487bb..656887f6c9c7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTagDescription.json index 42c82ff487bb..656887f6c9c7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiTagDescription.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiVersionSet.json index 3f302bc8368d..de5719fa3f60 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadApiVersionSet.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadAuthorizationServer.json index a6eb6687e908..3ecc944a03b8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadAuthorizationServer.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadBackend.json index 8111abd64088..6385214816dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadBackend.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "backendid": "sfbackend" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "backendid": "sfbackend" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadCertificate.json index 82fd5f24bbee..4f067455d01b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadCertificate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDelegationSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDelegationSettings.json index 8e2d0d439c79..608a6e5c38e4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDelegationSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDelegationSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnostic.json index 59d870d9f94f..38db1f781052 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnostic.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnosticLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnosticLogger.json index 700d742ff3d9..944a9f827ce4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnosticLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadDiagnosticLogger.json @@ -1,16 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "loggerid": "templateLogger" - }, - "responses": { - "204": { - }, - "404":{ - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "loggerid": "templateLogger" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadEmailTemplate.json index a2eb9e1e19ec..f2c8856c5df7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadEmailTemplate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroup.json index c8bd1072724b..f0db441a0ad0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroup.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroupUser.json index feaef80c1d04..04a76487ca9d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadGroupUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadIdentityProvider.json index c431c3e40a64..1769c8fdcb9e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadIdentityProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadLogger.json index bf09183c1cf2..ddda90ac82cf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadLogger.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "loggerid": "templateLogger" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "loggerid": "templateLogger" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json index e82babd50d7c..d7fdd43b65c8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientUser.json index ed404b6405e9..f2cc388861f2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadNotificationRecipientUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "uid": "576823d0a40f7e74ec07d642" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "uid": "576823d0a40f7e74ec07d642" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json index 720c2b85cb14..f3615dbfa3f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOperationTag.json index 2d2760d9950e..b05bec7d7866 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadOperationTag.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadPolicy.json index 5498eea90289..c98fb3e7e5ec 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProduct.json index 791ca38ad9b5..b4fe8945845e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProduct.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductApi.json index 6e1ad8480883..2f301ca6efc6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductApi.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "apiId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "apiId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductGroup.json index 712f223518db..e74640396536 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductGroup.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductPolicy.json index be6c967f62b4..ef41e028f8f8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "unlimited", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "unlimited", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductTag.json index e1ef1239e44f..2b92e780ae0b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProductTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProperty.json index 3bf748a66af3..a0d340520cf1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadProperty.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignInSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignInSettings.json index 8e2d0d439c79..608a6e5c38e4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignInSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignInSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignUpSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignUpSettings.json index 8e2d0d439c79..608a6e5c38e4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignUpSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSignUpSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSubscription.json index cad0874466b1..35f5e15f9c60 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadSubscription.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadTag.json index 253eb0ec2f12..5fba16b61bf4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadTag.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "Etag": "AAAAAAAACCI=" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "Etag": "AAAAAAAACCI=" } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadUser.json index da1fe70f223a..5b3b9a1cc5b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementHeadUser.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "uid": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "uid": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnosticLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnosticLoggers.json index a9affe58c112..e21cc40c1fe2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnosticLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnosticLoggers.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/apis/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnostics.json index 64b5338b32f6..1c3a42841f8d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiDiagnostics.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", - "type": "Microsoft.ApiManagement/service/apis/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/diagnostics/default", + "type": "Microsoft.ApiManagement/service/apis/diagnostics", + "name": "default", + "properties": { + "enabled": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueAttachments.json index ec594c46fa6b..4f92cb0439b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueAttachments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueAttachments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueComments.json index 41b8390c985d..9d2b24373f10 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueComments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssueComments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssues.json index c330abfb911c..47c617bd5499 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiIssues.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperationPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperationPolicies.json index c2148c258c3a..3c35b51d6da1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperationPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperationPolicies.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "599e2953193c3c0bd0b3e2fa", - "operationId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "599e2953193c3c0bd0b3e2fa", + "operationId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperations.json index f4c0d29fb65b..1bd66c277f7a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiOperations.json @@ -1,69 +1,69 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cda", - "properties": { - "displayName": "GetMostRecentOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd9", - "properties": { - "displayName": "GetOpenOrders", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdb", - "properties": { - "displayName": "GetOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd8", - "properties": { - "displayName": "submitOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cda", + "properties": { + "displayName": "GetMostRecentOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd9", + "properties": { + "displayName": "GetOpenOrders", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdb", + "properties": { + "displayName": "GetOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd8", + "properties": { + "displayName": "submitOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiPolicies.json index 57882d075bbd..4a50af72a895 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiPolicies.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiReleases.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiReleases.json index 11ce08617eab..2cf9e5bad2e3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiReleases.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiReleases.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "a1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } - } + } + ], + "nextLink": "" + } } + } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiRevisions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiRevisions.json index e1f60d02c82b..749ab018ed49 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiRevisions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiRevisions.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", - "apiRevision": "1", - "createdDateTime": "2018-02-01T22:21:20.467Z", - "updatedDateTime": "2018-02-01T22:21:20.467Z", - "isOnline": true, - "isCurrent": true - } - ], - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", + "apiRevision": "1", + "createdDateTime": "2018-02-01T22:21:20.467Z", + "updatedDateTime": "2018-02-01T22:21:20.467Z", + "isOnline": true, + "isCurrent": true + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiSchemas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiSchemas.json index 175fa41caae3..7814a72bf614 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiSchemas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiSchemas.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "59d5b28e1f7fab116402044e", - "properties": { - "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "59d5b28e1f7fab116402044e", + "properties": { + "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiVersionSets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiVersionSets.json index 1ed88d480671..87cefa3defde 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiVersionSets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApiVersionSets.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName": "api set 1", - "versioningScheme": "Segment", - "description": "Version configuration" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs2", - "properties": { - "displayName": "api set 2", - "versioningScheme": "Query", - "description": "Version configuration 2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/vs2", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs2", + "properties": { + "displayName": "api set 2", + "versioningScheme": "Query", + "description": "Version configuration 2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApis.json index 6bf81a916e82..c798a6d94738 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApis.json @@ -1,81 +1,81 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "type": "Microsoft.ApiManagement/service/apis", - "name": "a1", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a73933b8f27f7cc82a2d533", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersion": "v1", - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api", - "properties": { - "displayName": "Echo API", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "echo", - "protocols": [ - "https" - ], - "isCurrent": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a7390baa5816a110435aee0", - "properties": { - "displayName": "Swagger Petstore Extensive", - "apiRevision": "1", - "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", - "serviceUrl": "http://petstore.swagger.wordnik.com/api", - "path": "vvv", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "type": "Microsoft.ApiManagement/service/apis", + "name": "a1", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a73933b8f27f7cc82a2d533", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersion": "v1", + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/api-version-sets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api", + "properties": { + "displayName": "Echo API", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "echo", + "protocols": [ + "https" + ], + "isCurrent": true + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a7390baa5816a110435aee0", + "properties": { + "displayName": "Swagger Petstore Extensive", + "apiRevision": "1", + "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "vvv", + "protocols": [ + "https" + ], + "isCurrent": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApisByTags.json index 539c817345c8..11eb41a64634 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListApisByTags.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListAuthorizationServers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListAuthorizationServers.json index 32f6682b2be1..2fda2fa943fa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListAuthorizationServers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListAuthorizationServers.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer", - "properties": { - "displayName": "test2", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer", + "properties": { + "displayName": "test2", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListBackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListBackends.json index 5e9ba93cc8e9..b9fe280c34ea 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListBackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListBackends.json @@ -1,80 +1,80 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "proxybackend", - "properties": { - "description": "description5308", - "url": "https://backendname2644/", - "protocol": "http", - "credentials": { - "query": { - "sv": [ - "xx", - "bb", - "cc" - ] - }, - "header": { - "x-my-1": [ - "val1", - "val2" - ] - }, - "authorization": { - "scheme": "Basic", - "parameter": "opensesma" - } - }, - "proxy": { - "url": "http://192.168.1.1:8080", - "username": "Contoso\\admin", - "password": "opensesame" - }, - "tls": { - "validateCertificateChain": false, - "validateCertificateName": false - } - } - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "proxybackend", + "properties": { + "description": "description5308", + "url": "https://backendname2644/", + "protocol": "http", + "credentials": { + "query": { + "sv": [ + "xx", + "bb", + "cc" + ] + }, + "header": { + "x-my-1": [ + "val1", + "val2" + ] + }, + "authorization": { + "scheme": "Basic", + "parameter": "opensesma" + } + }, + "proxy": { + "url": "http://192.168.1.1:8080", + "username": "Contoso\\admin", + "password": "opensesame" + }, + "tls": { + "validateCertificateChain": false, + "validateCertificateName": false + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } - } + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } - ], - "nextLink": "" + ], + "maxPartitionResolutionRetries": 5 + } + } } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListCertificates.json index 8b264123c44d..7ba9bf87a6cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListCertificates.json @@ -1,27 +1,27 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA************************48594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA************************48594A6", + "expirationDate": "2017-04-23T17:03:41Z" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnosticLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnosticLoggers.json index c49255fb4fc6..a55688cbb257 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnosticLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnosticLoggers.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "diagnosticId": "default" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", - "type": "Microsoft.ApiManagement/service/diagnostics/loggers", - "name": "applicationinsights", - "properties": { - "loggerType": "applicationInsights", - "description": null, - "credentials": { - "instrumentationKey": "{{5a.......2a}}" - }, - "isBuffered": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "diagnosticId": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default/loggers/applicationinsights", + "type": "Microsoft.ApiManagement/service/diagnostics/loggers", + "name": "applicationinsights", + "properties": { + "loggerType": "applicationInsights", + "description": null, + "credentials": { + "instrumentationKey": "{{5a.......2a}}" + }, + "isBuffered": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnostics.json index f462342409c2..1f720c78d579 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListDiagnostics.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", - "type": "Microsoft.ApiManagement/service/diagnostics", - "name": "default", - "properties": { - "enabled": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/diagnostics/default", + "type": "Microsoft.ApiManagement/service/diagnostics", + "name": "default", + "properties": { + "enabled": false } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListEmailTemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListEmailTemplates.json index 3207eeada154..54e936bd5fa6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListEmailTemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListEmailTemplates.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "ApplicationApprovedNotificationMessage", - "properties": { - "subject": "Your application $AppName is published in the application gallery", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "Application gallery submission approved", - "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", - "isDefault": true, - "parameters": [ - { - "name": "AppId", - "title": "Application id" - }, - { - "name": "AppName", - "title": "Application name" - }, - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "ApplicationApprovedNotificationMessage", + "properties": { + "subject": "Your application $AppName is published in the application gallery", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "Application gallery submission approved", + "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", + "isDefault": true, + "parameters": [ + { + "name": "AppId", + "title": "Application id" + }, + { + "name": "AppName", + "title": "Application name" + }, + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroupUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroupUsers.json index 3d592beca464..1e847d2a6679 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroupUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroupUsers.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "groupId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", - "type": "Microsoft.ApiManagement/service/groups/users", - "name": "armTemplateUser1", - "properties": { - "firstName": "user1", - "lastName": "lastname1", - "email": "user1@live.com", - "state": "active", - "registrationDate": "2017-05-31T18:54:41.447Z", - "note": "note for user 1", - "identities": [ - { - "provider": "Basic", - "id": "user1@live.com" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "groupId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", + "type": "Microsoft.ApiManagement/service/groups/users", + "name": "armTemplateUser1", + "properties": { + "firstName": "user1", + "lastName": "lastname1", + "email": "user1@live.com", + "state": "active", + "registrationDate": "2017-05-31T18:54:41.447Z", + "note": "note for user 1", + "identities": [ + { + "provider": "Basic", + "id": "user1@live.com" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroups.json index 84c27d333707..397f98cb9d9a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListGroups.json @@ -1,62 +1,62 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIdentityProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIdentityProviders.json index 51a9f3db0022..f4ad65a57d14 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIdentityProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIdentityProviders.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Google", - "properties": { - "clientId": "googleId", - "clientSecret": "googlesecret", - "type": "google" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Aad", - "properties": { - "clientId": "aadapplicationid", - "clientSecret": "aadapplicationkey", - "type": "aad", - "allowedTenants": [ - "samiraad.onmicrosoft.com" - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "AadB2C", - "properties": { - "clientId": "aadb2clientId", - "clientSecret": "aadb2cClientKey", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_Signin_Default" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Google", + "properties": { + "clientId": "googleId", + "clientSecret": "googlesecret", + "type": "google" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Aad", + "properties": { + "clientId": "aadapplicationid", + "clientSecret": "aadapplicationkey", + "type": "aad", + "allowedTenants": [ + "samiraad.onmicrosoft.com" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "AadB2C", + "properties": { + "clientId": "aadb2clientId", + "clientSecret": "aadb2cClientKey", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_Signin_Default" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIssues.json index 6a2d429f5834..60712db80448 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListIssues.json @@ -1,30 +1,30 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2017-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2017-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListLoggers.json index 7a3846f7d5de..88f1a94928db 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListLoggers.json @@ -1,44 +1,44 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "buffered111", - "properties": { - "loggerType": "azureEventHub", - "description": "Sample description", - "credentials": { - "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" - }, - "isBuffered": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "loggerId", - "properties": { - "loggerType": "azureEventHub", - "description": "adding a new logger", - "credentials": { - "name": "hydraeventhub", - "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" - }, - "isBuffered": true - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "buffered111", + "properties": { + "loggerType": "azureEventHub", + "description": "Sample description", + "credentials": { + "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" + }, + "isBuffered": true } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "loggerId", + "properties": { + "loggerType": "azureEventHub", + "description": "adding a new logger", + "credentials": { + "name": "hydraeventhub", + "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" + }, + "isBuffered": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientEmail.json index 5faa07c30d79..95c38f32e7d0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientEmail.json @@ -1,42 +1,42 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "contoso@live.com", - "properties": { - "email": "contoso@live.com" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar!live", - "properties": { - "email": "foobar!live" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar@live.com", - "properties": { - "email": "foobar@live.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "contoso@live.com", + "properties": { + "email": "contoso@live.com" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar!live", + "properties": { + "email": "foobar!live" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar@live.com", + "properties": { + "email": "foobar@live.com" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientUser.json index 4ca3db0b0d61..c03c5fbd0402 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotificationRecipientUser.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", - "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", - "name": "576823d0a40f7e74ec07d642", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", + "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", + "name": "576823d0a40f7e74ec07d642", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotifications.json index c48bb872c37e..26bbc2c03a69 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListNotifications.json @@ -1,126 +1,126 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "PurchasePublisherNotificationMessage", - "properties": { - "title": "New subscriptions", - "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewApplicationNotificationMessage", - "properties": { - "title": "Application gallery requests", - "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "BCC", - "properties": { - "title": "BCC", - "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", - "recipients": { - "emails": [], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewIssuePublisherNotificationMessage", - "properties": { - "title": "New issue or comment", - "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "AccountClosedPublisher", - "properties": { - "title": "Close account message", - "description": "The following email recipients and users will receive email notifications when developer closes his account", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "QuotaLimitApproachingPublisherNotificationMessage", - "properties": { - "title": "Approaching subscription quota limit", - "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" ], - "nextLink": "" + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "PurchasePublisherNotificationMessage", + "properties": { + "title": "New subscriptions", + "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewApplicationNotificationMessage", + "properties": { + "title": "Application gallery requests", + "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "BCC", + "properties": { + "title": "BCC", + "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", + "recipients": { + "emails": [], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewIssuePublisherNotificationMessage", + "properties": { + "title": "New issue or comment", + "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "AccountClosedPublisher", + "properties": { + "title": "Close account message", + "description": "The following email recipients and users will receive email notifications when developer closes his account", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "QuotaLimitApproachingPublisherNotificationMessage", + "properties": { + "title": "Approaching subscription quota limit", + "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOpenIdConnectProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOpenIdConnectProviders.json index 3958f9e37cdb..edbeb0f5b1d1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOpenIdConnectProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOpenIdConnectProviders.json @@ -1,29 +1,29 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperations.json index f52496d14fed..97f3f486d0ad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperations.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperationsByTags.json index d175cf77fc79..a1f0f46befe8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperationsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListOperationsByTags.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicies.json index e69962a7f906..9450c06dbd97 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicies.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicySnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicySnippets.json index 8d1a9176e8b4..a78e72b4548e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicySnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListPolicySnippets.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "scope":"Api" - }, - "responses": { - "200": { - "body": [ - { - "name": "Authenticate with Basic", - "content": "", - "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", - "scope": 268435471 - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "scope": "Api" + }, + "responses": { + "200": { + "body": [ + { + "name": "Authenticate with Basic", + "content": "", + "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", + "scope": 268435471 } + ] } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductApis.json index 1033fcc757b5..2ecccd2d9f04 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductApis.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "5768181ea40f7eb6c49f6ac7" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", - "type": "Microsoft.ApiManagement/service/products/apis", - "name": "57681820a40f7eb6c49f6aca", - "properties": { - "displayName": "api_57681820a40f7eb6c49f6acb", - "apiRevision": "1", - "description": "description_57681820a40f7eb6c49f6acc", - "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", - "path": "suffix_57681820a40f7eb6c49f6ace", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "5768181ea40f7eb6c49f6ac7" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", + "type": "Microsoft.ApiManagement/service/products/apis", + "name": "57681820a40f7eb6c49f6aca", + "properties": { + "displayName": "api_57681820a40f7eb6c49f6acb", + "apiRevision": "1", + "description": "description_57681820a40f7eb6c49f6acc", + "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", + "path": "suffix_57681820a40f7eb6c49f6ace", + "protocols": [ + "https" + ], + "isCurrent": true } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductGroups.json index 26a134dd913e..8263f73332bf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductGroups.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductPolicy.json index 0934eb5f21da..fd1b486c2852 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductPolicy.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "armTemplateProduct4" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "armTemplateProduct4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductSubscriptions.json index 90cbe9be32fd..a65ae61feca5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProductSubscriptions.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", - "type": "Microsoft.ApiManagement/service/products/subscriptions", - "name": "5600b57e7e8880006a070002", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", - "state": "active", - "createdDate": "2015-09-22T01:57:18.723Z", - "primaryKey": "ba95768e868648848e215f0290eec023", - "secondaryKey": "140f866def81419b9bb9732d05d24535" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", + "type": "Microsoft.ApiManagement/service/products/subscriptions", + "name": "5600b57e7e8880006a070002", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", + "state": "active", + "createdDate": "2015-09-22T01:57:18.723Z", + "primaryKey": "ba95768e868648848e215f0290eec023", + "secondaryKey": "140f866def81419b9bb9732d05d24535" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProducts.json index 3970d938f8a2..c8e93496193b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProducts.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/products", - "name": "kjoshiarmtemplateCert1", - "properties": { - "displayName": "Dev", - "description": "Development Product", - "subscriptionRequired": false, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", - "type": "Microsoft.ApiManagement/service/products", - "name": "starter", - "properties": { - "displayName": "Starter", - "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", - "terms": "", - "subscriptionRequired": true, - "approvalRequired": false, - "subscriptionsLimit": 1, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/products", + "name": "kjoshiarmtemplateCert1", + "properties": { + "displayName": "Dev", + "description": "Development Product", + "subscriptionRequired": false, + "state": "published" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", + "type": "Microsoft.ApiManagement/service/products", + "name": "starter", + "properties": { + "displayName": "Starter", + "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", + "terms": "", + "subscriptionRequired": true, + "approvalRequired": false, + "subscriptionsLimit": 1, + "state": "published" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProperties.json index c212734e64ca..3f239634fe0e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListProperties.json @@ -1,41 +1,41 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686", - "type": "Microsoft.ApiManagement/service/properties", - "name": "592f1174cc83890dc4f32686", - "properties": { - "displayName": "Logger-Credentials-592f1174cc83890dc4f32687", - "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...", - "secret": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686", + "type": "Microsoft.ApiManagement/service/properties", + "name": "592f1174cc83890dc4f32686", + "properties": { + "displayName": "Logger-Credentials-592f1174cc83890dc4f32687", + "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...", + "secret": true } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListRegions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListRegions.json index ff9f4d6a1585..6428e0665d47 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListRegions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListRegions.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "West US", - "isMasterRegion": true, - "isDeleted": false - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "West US", + "isMasterRegion": true, + "isDeleted": false + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSKUs.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSKUs.json index 0fbbf306b526..92f7d4fa8e64 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSKUs.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSKUs.json @@ -1,65 +1,65 @@ { - "parameters": { - "api-version": "2018-01-01", - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Developer" - }, - "capacity": { - "minimum": 1, - "maximum": 1, - "default": 1, - "scaleType": "none" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Basic" - }, - "capacity": { - "minimum": 1, - "maximum": 2, - "default": 1, - "scaleType": "manual" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Standard" - }, - "capacity": { - "minimum": 1, - "maximum": 4, - "default": 1, - "scaleType": "automatic" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Premium" - }, - "capacity": { - "minimum": 1, - "maximum": 10, - "default": 1, - "scaleType": "automatic" - } - } - ], - "nextLink": null - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2018-01-01", + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Developer" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "none" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Basic" + }, + "capacity": { + "minimum": 1, + "maximum": 2, + "default": 1, + "scaleType": "manual" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Standard" + }, + "capacity": { + "minimum": 1, + "maximum": 4, + "default": 1, + "scaleType": "automatic" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Premium" + }, + "capacity": { + "minimum": 1, + "maximum": 10, + "default": 1, + "scaleType": "automatic" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscription.json index e47bdd7b5281..587af76ddac5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscription.json @@ -1,164 +1,164 @@ { - "parameters": { - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json index 93d441a7fe4c..f2e71dabfafb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json @@ -1,162 +1,162 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSubscriptions.json index 18bc02f746d7..0d0251b06bf6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListSubscriptions.json @@ -1,61 +1,61 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5600b59475ff190048070001", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "state": "active", - "createdDate": "2015-09-22T01:57:40.3Z", - "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", - "secondaryKey": "b366198986614a7497a5a68fae19119d" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "56eaed3dbaf08b06e46d27fe", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "displayName": "Starter", - "state": "active", - "createdDate": "2016-03-17T17:45:33.837Z", - "startDate": "2016-03-17T00:00:00Z", - "expirationDate": "2016-04-01T00:00:00Z", - "notificationDate": "2016-03-20T00:00:00Z", - "primaryKey": "77708695e79a495bb99b95f32adfa1f0", - "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5600b59475ff190048070001", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "state": "active", + "createdDate": "2015-09-22T01:57:40.3Z", + "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", + "secondaryKey": "b366198986614a7497a5a68fae19119d" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "56eaed3dbaf08b06e46d27fe", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "displayName": "Starter", + "state": "active", + "createdDate": "2016-03-17T17:45:33.837Z", + "startDate": "2016-03-17T00:00:00Z", + "expirationDate": "2016-04-01T00:00:00Z", + "notificationDate": "2016-03-20T00:00:00Z", + "primaryKey": "77708695e79a495bb99b95f32adfa1f0", + "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTagResources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTagResources.json index 3f0de3338034..0ef8477bed1a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTagResources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTagResources.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTags.json index 31c9a1091476..16cbc98a66fd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListTags.json @@ -1,33 +1,33 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "tag1" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "tag2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "tag1" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "tag2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserGroups.json index 759acc9d9e37..d2604a5066ab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserGroups.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "uid": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/users/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "uid": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/users/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserSubscriptions.json index 0a6bd06366ec..8a247ed0c036 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUserSubscriptions.json @@ -1,48 +1,48 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "uid": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6ae3", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6ae5", - "state": "active", - "createdDate": "2016-06-20T16:22:39.547Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6ae4", - "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6b2b", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6b2d", - "state": "active", - "createdDate": "2016-06-20T16:22:41.103Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6b2c", - "secondaryKey": "125f565d276647dc825d7f25ea40ee57" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "uid": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6ae3", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6ae5", + "state": "active", + "createdDate": "2016-06-20T16:22:39.547Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6ae4", + "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6b2b", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6b2d", + "state": "active", + "createdDate": "2016-06-20T16:22:41.103Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6b2c", + "secondaryKey": "125f565d276647dc825d7f25ea40ee57" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsers.json index 0a2eba2fd34f..8ae3fea99e7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsers.json @@ -1,71 +1,71 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "type": "Microsoft.ApiManagement/service/users", - "name": "1", - "properties": { - "firstName": "Administrator", - "lastName": "", - "email": "admin@live.com", - "state": "active", - "registrationDate": "2015-09-22T01:57:39.677Z", - "identities": [ - { - "provider": "Azure", - "id": "admin@live.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "type": "Microsoft.ApiManagement/service/users", - "name": "56eaec62baf08b06e46d27fd", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foo.bar.83@gmail.com", - "state": "active", - "registrationDate": "2016-03-17T17:41:56.327Z", - "identities": [ - { - "provider": "Basic", - "id": "foo.bar.83@gmail.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "type": "Microsoft.ApiManagement/service/users", + "name": "1", + "properties": { + "firstName": "Administrator", + "lastName": "", + "email": "admin@live.com", + "state": "active", + "registrationDate": "2015-09-22T01:57:39.677Z", + "identities": [ + { + "provider": "Azure", + "id": "admin@live.com" + } + ] } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "type": "Microsoft.ApiManagement/service/users", + "name": "56eaec62baf08b06e46d27fd", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foo.bar.83@gmail.com", + "state": "active", + "registrationDate": "2016-03-17T17:41:56.327Z", + "identities": [ + { + "provider": "Basic", + "id": "foo.bar.83@gmail.com" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" + } + ] + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsersIdentities.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsersIdentities.json index 3fbd9bb6a648..a9e5973ad7b9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsersIdentities.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementListUsersIdentities.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetDelegation.json index b4decdcdaf60..eb0bdb9cc608 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetDelegation.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "delegation", - "properties": { - "url": "http://contoso.com/delegation", - "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", - "subscriptions": { - "enabled": true - }, - "userRegistration": { - "enabled": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "delegation", + "properties": { + "url": "http://contoso.com/delegation", + "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", + "subscriptions": { + "enabled": true + }, + "userRegistration": { + "enabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignIn.json index a38bcb01748b..4724c98890ac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignIn.json @@ -1,20 +1,20 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signin", - "properties": { - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signin", + "properties": { + "enabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignUp.json index 6112aa83e05b..40e1f06b719d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsGetSignUp.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signup", - "properties": { - "enabled": true, - "termsOfService": { - "text": "Terms of service text.", - "enabled": true, - "consentRequired": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signup", + "properties": { + "enabled": true, + "termsOfService": { + "text": "Terms of service text.", + "enabled": true, + "consentRequired": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutDelegation.json index c1e1bac8fea9..41c1f28ff22e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutDelegation.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignIn.json index bbc2e03f6994..cf20c5426dea 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignIn.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignUp.json index c084783d0d95..d711dc32590e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsPutSignUp.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json index 50e070bfac62..a80f1bacdc0d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json @@ -22,4 +22,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json index f94ebc6fb5af..8b2c1e5601f6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json index 99fd0ae11700..ed3ebedc79a4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json @@ -20,4 +20,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementRestoreService.json index f180ac71b7a8..0569ac128560 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementRestoreService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementRestoreService.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2018-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceCheckNameAvailability.json index c5a9b02dd6a6..fb9f0c9e4339 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceCheckNameAvailability.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceCheckNameAvailability.json @@ -4,7 +4,7 @@ "api-version": "2018-01-01", "subscriptionId": "subid", "parameters": { - "name" : "apimService1" + "name": "apimService1" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceDeleteService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceDeleteService.json index a9c35c7e215d..efe280ec7c7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceDeleteService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceDeleteService.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json index 89fdc3b153a1..90808d365f59 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -1,88 +1,88 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", - "name": "apimservice1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAADqC0c=", - "properties": { - "publisherEmail": "abcs@contoso.com", - "publisherName": "contoso publisher", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-02T01:42:09.1268424Z", - "gatewayUrl": "https://apimservice1.azure-api.net", - "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimservice1.portal.azure-api.net", - "managementApiUrl": "https://apimservice1.management.azure-api.net", - "scmUrl": "https://apimservice1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "apimgatewaytest.preview.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2019-08-16T16:51:34+00:00", - "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", - "subject": "CN=*.preview.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "137.XXX.11.74" - ], - "privateIPAddresses": [ - "172.XX.0.5" - ], - "additionalLocations": [ - { - "location": "West US 2", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.XXX.79.187" - ], - "privateIPAddresses": [ - "10.0.X.6" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" - }, - "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" - } - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" - }, - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" - }, - "virtualNetworkType": "Internal" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", + "name": "apimservice1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAADqC0c=", + "properties": { + "publisherEmail": "abcs@contoso.com", + "publisherName": "contoso publisher", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-02T01:42:09.1268424Z", + "gatewayUrl": "https://apimservice1.azure-api.net", + "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimservice1.portal.azure-api.net", + "managementApiUrl": "https://apimservice1.management.azure-api.net", + "scmUrl": "https://apimservice1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "apimgatewaytest.preview.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2019-08-16T16:51:34+00:00", + "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", + "subject": "CN=*.preview.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "137.XXX.11.74" + ], + "privateIPAddresses": [ + "172.XX.0.5" + ], + "additionalLocations": [ + { + "location": "West US 2", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.XXX.79.187" + ], + "privateIPAddresses": [ + "10.0.X.6" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" + }, + "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" + } + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" + }, + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" + }, + "virtualNetworkType": "Internal" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatus.json index fc0fb1304d1d..b6e85776b04e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatus.json @@ -108,4 +108,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json index f0a9b125ff0c..b0916124a392 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetService.json index a60eb0411a01..6e9b7c091f1a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetService.json @@ -1,89 +1,89 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxyhostname4.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Proxy", - "hostName": "proxyhostname9.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "portalhostname2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - } - ], - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ], - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxyhostname4.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Proxy", + "hostName": "proxyhostname9.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "portalhostname2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } } + ], + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ], + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json index bea2e0dd5eb8..5da055aa7e65 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -1,58 +1,58 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAC2jkE=", - "properties": { - "publisherEmail": "admin@contoso.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "createdAtUtc": "2017-10-13T16:56:47.0174063Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "foobar.msitesting.net", - "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2036-01-01T07:00:00+00:00", - "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", - "subject": "CN=*.msitesting.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "13.xx.76.xxx" - ] - }, - "sku": { - "name": "Developer", - "capacity": 1 - }, - "identity": { - "type": "SystemAssigned", - "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", - "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAC2jkE=", + "properties": { + "publisherEmail": "admin@contoso.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "createdAtUtc": "2017-10-13T16:56:47.0174063Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "foobar.msitesting.net", + "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2036-01-01T07:00:00+00:00", + "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", + "subject": "CN=*.msitesting.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "13.xx.76.xxx" + ] + }, + "sku": { + "name": "Developer", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", + "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetSsoToken.json index 49e0e4d4af79..cdbd19169486 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetSsoToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceGetSsoToken.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUpdateHostName.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUpdateHostName.json index 22fa05eb51e9..fbdabf987ffc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUpdateHostName.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUpdateHostName.json @@ -1,183 +1,183 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "parameters": { - "update": [ - { - "type": "Proxy", - "hostname": "internalproxy2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Portal", - "hostname": "internalportal2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Management", - "hostname": "internalmgmt2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - }, - { - "type": "Scm", - "hostname": "internalscm2.contoso.com", - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.com" - } - } - ] + "update": [ + { + "type": "Proxy", + "hostname": "internalproxy2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Portal", + "hostname": "internalportal2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Management", + "hostname": "internalmgmt2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } + }, + { + "type": "Scm", + "hostname": "internalscm2.contoso.com", + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.com" + } } + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + }, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "internalproxy2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "internalportal2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Management", + "hostName": "internalmgmt2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } }, - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + { + "type": "Scm", + "hostName": "internalscm2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "subject": "CN=*.contoso.net" + } } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "internalproxy2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "internalportal2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Management", - "hostName": "internalmgmt2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Scm", - "hostName": "internalscm2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "subject": "CN=*.contoso.net" - } - } - ], - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + ], + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ] } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUploadProxyCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUploadProxyCertificate.json index 0f9f2081dad8..73b40fbedfb4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUploadProxyCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementServiceUploadProxyCertificate.json @@ -5,9 +5,9 @@ "api-version": "2018-01-01", "subscriptionId": "subid", "parameters": { - "type" : "Proxy", - "certificate" : "MIIZ7wI************************************************************", - "certificate_password": "******" + "type": "Proxy", + "certificate": "MIIZ7wI************************************************************", + "certificate_password": "******" } }, "responses": { @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementSubscriptionRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementSubscriptionRegenerateKey.json index 4359afaf60b2..76476380ea51 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementSubscriptionRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementSubscriptionRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessRegenerateKey.json index 9fc7399ee88a..80aab0610477 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessSyncState.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessSyncState.json index 52c2d5fa7d85..4c29b2ea8f3c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessSyncState.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantAccessSyncState.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "configurationName": "configuration" - }, - "responses": { - "200": { - "body": { - "branch": "master", - "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", - "isExport": true, - "isSynced": false, - "isGitEnabled": true, - "syncDate": "2016-10-24T19:17:14.3641403Z", - "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "configurationName": "configuration" + }, + "responses": { + "200": { + "body": { + "branch": "master", + "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", + "isExport": true, + "isSynced": false, + "isGitEnabled": true, + "syncDate": "2016-10-24T19:17:14.3641403Z", + "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationDeploy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationDeploy.json index f8db76f18e68..1992795b330b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationDeploy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationDeploy.json @@ -1,31 +1,31 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af4ae2a6d2e0b688d7517?api-version=2018-01-01" - } - }, - "200": { - "body": { - "id": "5a1af4ae2a6d2e0b688d7517", - "status": "Failed", - "started": "2017-11-26T17:06:54.303Z", - "updated": "2017-11-26T17:07:21.777Z", - "error": { - "code": "ValidationError", - "message": "File not found: 'api-management/configuration.json'" - } - } + "200": { + "body": { + "id": "5a1af4ae2a6d2e0b688d7517", + "status": "Failed", + "started": "2017-11-26T17:06:54.303Z", + "updated": "2017-11-26T17:07:21.777Z", + "error": { + "code": "ValidationError", + "message": "File not found: 'api-management/configuration.json'" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationSave.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationSave.json index 2278ccf03106..4bec55ed86e9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationSave.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationSave.json @@ -1,29 +1,29 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af57d2a6d2e0b688d751b?api-version=2018-01-01" - } - }, - "200": { - "body": { - "id": "5a1af57d2a6d2e0b688d751b", - "status": "Succeeded", - "started": "2017-11-26T17:10:21.957Z", - "updated": "2017-11-26T17:10:36.06Z", - "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", - "actionLog": [] - } - } + "200": { + "body": { + "id": "5a1af57d2a6d2e0b688d751b", + "status": "Succeeded", + "started": "2017-11-26T17:10:21.957Z", + "updated": "2017-11-26T17:10:36.06Z", + "resultInfo": "The configuration was successfully saved to master as commit cdb6878db80159cc0e9a53f5ad38581883882974.", + "actionLog": [] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationValidate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationValidate.json index ca881f2c013e..d0cc38623257 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationValidate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementTenantConfigurationValidate.json @@ -1,170 +1,170 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "configurationName": "configuration", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "configurationName": "configuration", - "parameters": { - "branch": "master" - } + "branch": "master" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2018-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tenant/operationResults/5a1af64e2a6d2e0b688d751e?api-version=2018-01-01" - } - }, - "200": { - "body": { - "id": "5a1af64e2a6d2e0b688d751e", - "status": "Succeeded", - "started": "2017-11-26T17:13:50.787Z", - "updated": "2017-11-26T17:13:59.723Z", - "resultInfo": "Validation is successfull", - "actionLog": [ - { - "objectType": "ApiSpecificationContract", - "action": "Updated", - "objectKey": "57914cb351f68a16889be190;rev=1" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768181ea40f7eb6c49f6ac7" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819c9a40f7e86289fb3e3" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576819f1a40f7e86289fb6de" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a67a40f7e72b4132522" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a73a40f7e72b413281d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681a7ea40f7e72b4132b18" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b88a40f7ea0f017f099" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681b9fa40f7ea0f017f682" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bb5a40f7ea0f017fc6b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bcaa40f7ea0f0180254" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bdfa40f7ea0f018083d" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681bf5a40f7ea0f0180e26" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c0ea40f7ea0f018140f" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c26a40f7ea0f01819f8" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681c83a40f7e85f44db237" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681cb2a40f7e85f44dbcd0" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681ce3a40f7e85f44dc769" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d1fa40f7e85f44dd202" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681d60a40f7e85f44ddc9b" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681db4a40f7e85f44de735" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e11a40f7e85f44df1ce" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681e73a40f7e85f44dfc67" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "57681f06a40f7e74ec07785c" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5768211fa40f7e74ec07a74a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "576823cfa40f7e74ec07d63a" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060001" - }, - { - "objectType": "ProductSpecificationContract", - "action": "Updated", - "objectKey": "5600b57e7e8880006a060002" - } - ] - } - } + "200": { + "body": { + "id": "5a1af64e2a6d2e0b688d751e", + "status": "Succeeded", + "started": "2017-11-26T17:13:50.787Z", + "updated": "2017-11-26T17:13:59.723Z", + "resultInfo": "Validation is successfull", + "actionLog": [ + { + "objectType": "ApiSpecificationContract", + "action": "Updated", + "objectKey": "57914cb351f68a16889be190;rev=1" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768181ea40f7eb6c49f6ac7" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819c9a40f7e86289fb3e3" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576819f1a40f7e86289fb6de" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a67a40f7e72b4132522" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a73a40f7e72b413281d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681a7ea40f7e72b4132b18" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b88a40f7ea0f017f099" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681b9fa40f7ea0f017f682" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bb5a40f7ea0f017fc6b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bcaa40f7ea0f0180254" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bdfa40f7ea0f018083d" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681bf5a40f7ea0f0180e26" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c0ea40f7ea0f018140f" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c26a40f7ea0f01819f8" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681c83a40f7e85f44db237" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681cb2a40f7e85f44dbcd0" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681ce3a40f7e85f44dc769" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d1fa40f7e85f44dd202" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681d60a40f7e85f44ddc9b" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681db4a40f7e85f44de735" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e11a40f7e85f44df1ce" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681e73a40f7e85f44dfc67" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "57681f06a40f7e74ec07785c" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5768211fa40f7e74ec07a74a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "576823cfa40f7e74ec07d63a" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060001" + }, + { + "objectType": "ProductSpecificationContract", + "action": "Updated", + "objectKey": "5600b57e7e8880006a060002" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApi.json index 32b3c2e34570..84ccd299614e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApi.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiDiagnostic.json index 30a9d4679717..0c3eb8e0a7bb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiDiagnostic.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiIssue.json index 03cfa07b7ce3..8cfdae10d20a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiIssue.json @@ -1,18 +1,18 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { - "properties": { - "state": "closed" - } + "properties": { + "state": "closed" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiOperation.json index 51f0f482e3eb..f57463129b15 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiOperation.json @@ -5,7 +5,7 @@ "api-version": "2018-01-01", "subscriptionId": "subid", "apiId": "echo-api", - "operationId":"operationId", + "operationId": "operationId", "If-Match": "*", "parameters": { "properties": { @@ -47,4 +47,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiRelease.json index 9d0e8d6acbc8..57e4514d491b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiRelease.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "If-Match": "*", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } - } - }, - "responses": { - "204": { } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } } -} \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiVersionSet.json index 621f0e6483d6..a72a62b784cf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateApiVersionSet.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2018-01-01", + "subscriptionId": "subid", + "versionSetId": "api1", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2018-01-01", - "subscriptionId": "subid", - "versionSetId": "api1", - "If-Match":"*", - "parameters": { - "properties": { - "displayName" : "api set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateAuthorizationServer.json index 626b98229c99..21e24627cc3e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateAuthorizationServer.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateBackend.json index 99b0b26bca75..faada7c2bc93 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateBackend.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateDiagnostic.json index 4b7b782fb929..0a625969a0c2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateDiagnostic.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateEmailTemplate.json index ac797dbd8431..4763170a93f0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateEmailTemplate.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateGroup.json index 830d73bbb2b2..1d49c248fc11 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateGroup.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateIdentityProvider.json index 0584a4766b89..1f54c32ef84f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateIdentityProvider.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateLogger.json index d39fb2296656..58646f92b33d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateLogger.json @@ -18,4 +18,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json index 73d23a18f1ce..5e52b19cb188 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProductBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProductBasic.json index 2e8197e44fa0..2fd72c26f97a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProductBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProductBasic.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProperty.json index 43fe6b5a9d4e..48cae5a4458c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateProperty.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKey.json index 08c50fec433a..f9a816a067d6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKey.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json index de387825c5a8..5fd32fac270e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json index 54ccdf4da4b3..57576644ba7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json index 2a7f05eb4393..6a3fb026707d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -61,7 +61,7 @@ "location": "West US", "etag": "AAAAAAAYRPs=", "properties": { - "publisherEmail": "foobar@live.com", + "publisherEmail": "foobar@live.com", "publisherName": "Contoso Vnext", "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", "provisioningState": "Succeeded", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateSubscription.json index eeba75da4cd7..a7fd3722e03a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateSubscription.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTag.json index fb9f7ef010f5..c569666f3af0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTag.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTenantAccess.json index ff6301c8e2cc..89c9867cd830 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateTenantAccess.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateUserBasic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateUserBasic.json index 4bf2247efc12..c7c73291acc0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateUserBasic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateUserBasic.json @@ -15,6 +15,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGenerateSsoUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGenerateSsoUrl.json index fc895622f524..e0ebd86f9513 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGenerateSsoUrl.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGenerateSsoUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGetToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGetToken.json index 8a324cf21686..80c61f8539c3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGetToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUsersGetToken.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json index 7aae28c6cdcc..9e647434220f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json @@ -690,4 +690,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json index a48e9aaa738d..0f543b0ff4f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json @@ -4448,4 +4448,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapisByTags.json index 284f38def7ea..986f789a40cc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapisByTags.json @@ -103,4 +103,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapiversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapiversionsets.json index 076446278b7b..db694f45b086 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapiversionsets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapiversionsets.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimauthorizationservers.json index d5f9c2685cb7..b4105be15cee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimauthorizationservers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimauthorizationservers.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimbackends.json index 5299f70c9a2d..0fa366c5fd59 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimbackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimbackends.json @@ -416,6 +416,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcaches.json index 83088b4a5106..e3bd4671e410 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcaches.json @@ -358,7 +358,6 @@ } } }, - "definitions": { }, - "parameters": { - } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcertificates.json index 12e54917ce96..830007fc28df 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimcertificates.json @@ -314,6 +314,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json index 00140e9974e9..a51710cd7084 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json @@ -1426,4 +1426,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdiagnostics.json index 82a05cc5c6eb..cbab1fb07ee9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdiagnostics.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimemailtemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimemailtemplates.json index 7a816f83685c..0cff1efb0c8f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimemailtemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimemailtemplates.json @@ -349,6 +349,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimgroups.json index 3a00553de3c3..c8302268c711 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimgroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimgroups.json @@ -576,6 +576,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimidentityprovider.json index cc1a3f628a7d..b0e8c7696ca6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimidentityprovider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimidentityprovider.json @@ -351,6 +351,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimissues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimissues.json index c484f4c357e1..ab8a3d77c671 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimissues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimissues.json @@ -147,4 +147,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimloggers.json index 78cf4fbb645a..bdb14abc0247 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimloggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimloggers.json @@ -375,6 +375,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnetworkstatus.json index 4f61ef2ce162..4459076d514a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnetworkstatus.json @@ -208,5 +208,5 @@ "description": "Network Status details." } }, - "parameters": { } -} \ No newline at end of file + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnotifications.json index 7c6d17a6bf04..5fca9c1492b2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimnotifications.json @@ -257,7 +257,7 @@ "204": { "description": "The User is subscribed to receive the notification." }, - "404" : { + "404": { "description": "Entity does not exists." }, "default": { @@ -448,7 +448,7 @@ "204": { "description": "The Users is subscribed to receive the notification." }, - "404" : { + "404": { "description": "The Users is not subscribed to receive the notification." }, "default": { @@ -559,6 +559,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimopenidconnectproviders.json index db6de1486755..1445ee139fa5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimopenidconnectproviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimopenidconnectproviders.json @@ -362,6 +362,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicies.json index e8adcb8daf7b..fc5bb3954e93 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicies.json @@ -299,6 +299,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicysnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicysnippets.json index fdc873006380..df5544ba5427 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicysnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimpolicysnippets.json @@ -95,6 +95,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimportalsettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimportalsettings.json index defb6019814c..2c066ed8b4d5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimportalsettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimportalsettings.json @@ -611,5 +611,5 @@ } } }, - "definitions": { } -} \ No newline at end of file + "definitions": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproducts.json index beb2a6de8176..12a8d9d645c4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproducts.json @@ -1394,6 +1394,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproductsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproductsByTags.json index 34ad559150dd..4d29bd799cc2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproductsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproductsByTags.json @@ -103,4 +103,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproperties.json index 13fcf5ccd809..7f9e093179fc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimproperties.json @@ -365,6 +365,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimquotas.json index b38bbb224d0d..3b121904e5ee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimquotas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimquotas.json @@ -237,6 +237,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimregions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimregions.json index dc18753a0bdd..c39e96aa0369 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimregions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimregions.json @@ -82,4 +82,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimreports.json index d3f9c8fed541..d13d0766fed7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimreports.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimreports.json @@ -509,6 +509,6 @@ } } }, - "definitions": { }, + "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimsubscriptions.json index 23d4412db831..01a9c6faa29f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimsubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimsubscriptions.json @@ -452,6 +452,6 @@ } } }, - "definitions": { }, - "parameters":{} -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtagresources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtagresources.json index a604b4fc9c25..9b4faefe9688 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtagresources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtagresources.json @@ -96,4 +96,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtags.json index 226453de3213..8d04e29453cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtags.json @@ -371,4 +371,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtenant.json index 337b9eff63c8..0064946cdc45 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimtenant.json @@ -463,7 +463,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"location" + "final-state-via": "location" } } }, @@ -528,7 +528,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"location" + "final-state-via": "location" } } }, @@ -587,9 +587,9 @@ } } }, - "x-ms-long-running-operation": true, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"location" + "final-state-via": "location" } } }, @@ -635,4 +635,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimusers.json index 7b9c5346c363..e5fd4d5b45c0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimusers.json @@ -697,6 +697,6 @@ } } }, - "definitions": { }, - "parameters": { } -} \ No newline at end of file + "definitions": {}, + "parameters": {} +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/definitions.json index caddd83c3ee1..b89d61772bcd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/definitions.json @@ -5139,4 +5139,4 @@ } }, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json index b533e61ce368..a62c9c45b2b8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "west us" - } + "location": "west us" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" + }, + "virtualNetworkType": "External" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/eastUsVirtualNetwork/subnets/apimSubnet" - }, - "virtualNetworkType": "External" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementBackendReconnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementBackendReconnect.json index b3e10e44cdec..e57c984fe74c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementBackendReconnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementBackendReconnect.json @@ -1,17 +1,17 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "backendId": "proxybackend", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "backendId": "proxybackend", - "parameters": { - "properties": { - "after" : "PT3S" - } + "properties": { + "after": "PT3S" } - }, - "responses": { - "202": {} } - } \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAILogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAILogger.json index 99eda79c8e08..f78109b1f46c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAILogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAILogger.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApi.json index 0ab3f90c7234..2ae5e01efede 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApi.json @@ -60,7 +60,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiClone.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiClone.json index 668f0b822557..971beef3391d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiClone.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiClone.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiDiagnostic.json index fbef27bae6e7..40994be74cfa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiDiagnostic.json @@ -157,4 +157,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssue.json index f1d1dff7fcbd..23ebd86d3e82 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssue.json @@ -1,49 +1,49 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "parameters": { + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueAttachment.json index 995885871960..bacdfcdfb0f5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueAttachment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "parameters": { + "properties": { + "title": "Issue attachment.", + "contentFormat": "image/jpeg", + "content": "IEJhc2U2NA==" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", "properties": { - "title": "Issue attachment.", - "contentFormat": "image/jpeg", - "content": "IEJhc2U2NA==" + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueComment.json index 6d2100b98fdd..9083962ea811 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiIssueComment.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "parameters": { + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } } } - } \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiNewVersionUsingExistingApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiNewVersionUsingExistingApi.json index f42c4bb54d23..fa764de282a4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiNewVersionUsingExistingApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiNewVersionUsingExistingApi.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json index 653b6f4d83e8..246f91a4172b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json @@ -1,131 +1,131 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "PetStoreTemplate2", + "operationId": "newoperations", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "PetStoreTemplate2", - "operationId":"newoperations", - "parameters": { - "name": "newoperation", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] + "name": "newoperation", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" + } + ], + "headers": [] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + { + "contentType": "application/json" + } + ], + "headers": [] } + ] } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "newoperations", - "properties": { - "displayName": "createUser2", - "method": "POST", - "urlTemplate": "/user1", - "templateParameters": [], - "description": "This can only be done by the logged in user.", - "request": { - "description": "Created user object", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "application/json", - "schemaId": "592f6c1d0af5840ca8897f0c", - "typeName": "User" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/PetStoreTemplate2/operations/newoperations", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "newoperations", + "properties": { + "displayName": "createUser2", + "method": "POST", + "urlTemplate": "/user1", + "templateParameters": [], + "description": "This can only be done by the logged in user.", + "request": { + "description": "Created user object", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "application/json", + "schemaId": "592f6c1d0af5840ca8897f0c", + "typeName": "User" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationPolicy.json index 6e62968b7a85..415c510a8927 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationPolicy.json @@ -10,7 +10,7 @@ "If-Match": "*", "parameters": { "properties": { - "format":"xml", + "format": "xml", "value": " " } } @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationTag.json index 5ad267568bda..6c8540ad4597 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperationTag.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicy.json index 278b56960d1f..ea26561dc1ca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicy.json @@ -6,10 +6,10 @@ "subscriptionId": "subid", "apiId": "5600b57e7e8880006a040001", "policyId": "policy", - "If-Match":"*", + "If-Match": "*", "parameters": { "properties": { - "format":"xml", + "format": "xml", "value": " " } } @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json index 340431d366c1..84a76fc865db 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json @@ -10,7 +10,7 @@ "parameters": { "properties": { "value": "\r\n \r\n \r\n \r\n \"@(context.Request.Headers.FirstOrDefault(h => h.Ke==\"Via\"))\" \r\n \r\n \r\n ", - "format":"rawxml" + "format": "rawxml" } } }, @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRelease.json index 3d4b0720929a..b25c002daab3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRelease.json @@ -1,44 +1,44 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "testrev", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:52:00.65Z", - "updatedDateTime": "2018-02-08T20:52:00.65Z", - "notes": "yahooagain" - } - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "testrev", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:52:00.65Z", + "updatedDateTime": "2018-02-08T20:52:00.65Z", + "notes": "yahooagain" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRevisionFromExistingApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRevisionFromExistingApi.json index cf929153ea59..1e51865054f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRevisionFromExistingApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiRevisionFromExistingApi.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiSchema.json index c21e7fe9df46..ef785c438fad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiSchema.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTag.json index 1d971bd9c2ad..8f21126b6ea4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTagDescription.json index a16f3064780d..89afbf32e3e0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiTagDescription.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingOai3Import.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingOai3Import.json index df9be74339a0..b73fa8c5b3c9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingOai3Import.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingOai3Import.json @@ -7,8 +7,8 @@ "apiId": "petstore", "parameters": { "properties": { - "format":"openapi-link", - "value":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml", + "format": "openapi-link", + "value": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml", "path": "petstore" } } @@ -36,7 +36,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json index 52217a655973..7a58406773ab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingSwaggerImport.json @@ -7,8 +7,8 @@ "apiId": "petstore", "parameters": { "properties": { - "format":"swagger-link-json", - "value":"http://petstore.swagger.io/v2/swagger.json", + "format": "swagger-link-json", + "value": "http://petstore.swagger.io/v2/swagger.json", "path": "petstore" } } @@ -37,7 +37,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingWadlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingWadlImport.json index 36fa7df76e0e..d7c6427a820d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingWadlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingWadlImport.json @@ -7,8 +7,8 @@ "apiId": "petstore", "parameters": { "properties": { - "format":"wadl-link-json", - "value":"https://developer.cisco.com/media/wae-release-6-2-api-reference/wae-collector-rest-api/application.wadl", + "format": "wadl-link-json", + "value": "https://developer.cisco.com/media/wae-release-6-2-api-reference/wae-collector-rest-api/application.wadl", "path": "collector" } } @@ -37,7 +37,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiVersionSet.json index 1368d9bee4ae..72d1c4318dc7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiVersionSet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json index ae7708c8c337..d7fb19811cc9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiWithOpenIdConnect.json @@ -61,7 +61,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -96,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAuthorizationServer.json index fce710c6a1ed..d2774285b5e8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateAuthorizationServer.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendProxyBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendProxyBackend.json index afbf2675e0a4..f8667932acc1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendProxyBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendProxyBackend.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendServiceFabric.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendServiceFabric.json index f685fa500ebb..c05c12a154d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendServiceFabric.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackendServiceFabric.json @@ -84,4 +84,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackup.json index 2aa35d4bae52..ea769d7ffb93 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateBackup.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCache.json index 16bc74ecf9bc..1710ed8dfeaf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCache.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCertificate.json index 171531dcceb1..79351765faf4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateCertificate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2019-01-01", "subscriptionId": "subid", - "certificateId":"tempcert", + "certificateId": "tempcert", "parameters": { "properties": { "data": "****************Base 64 Encoded Certificate *******************************", @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateDiagnostic.json index dad9a8eb7cbf..7c539118db35 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateDiagnostic.json @@ -156,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEHLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEHLogger.json index 952d705bf934..17f609553b57 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEHLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEHLogger.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEmailTemplate.json index f1c90bd8a686..27b5bd494611 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateEmailTemplate.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroup.json index 9d2e00ced4e4..8a71395e4e15 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroup.json @@ -18,7 +18,7 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } @@ -29,10 +29,10 @@ "type": "Microsoft.ApiManagement/service/groups", "name": "tempgroup", "properties": { - "displayName": "temp group", + "displayName": "temp group", "type": "custom" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupExternal.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupExternal.json index 7be221a484f9..281c0849b4f2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupExternal.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupExternal.json @@ -4,11 +4,11 @@ "resourceGroupName": "rg1", "api-version": "2019-01-01", "subscriptionId": "subid", - "groupId":"aadGroup", + "groupId": "aadGroup", "parameters": { "properties": { "displayName": "NewGroup (samiraad.onmicrosoft.com)", - "description": "new group to test", + "description": "new group to test", "type": "external", "externalId": "aad://samiraad.onmicrosoft.com/groups/83cf2753-5831-4675-bc0e-2f8dc067c58d" } @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupUser.json index c11dec4b1fbf..3774b867636b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateGroupUser.json @@ -18,7 +18,7 @@ "lastName": "user", "email": "testuser1@live.com", "state": "active", - "registrationDate": "2017-06-01T20:46:45.437Z", + "registrationDate": "2017-06-01T20:46:45.437Z", "groups": [], "identities": [] } @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateIdentityProvider.json index b76bf368dc8d..36a4edb36eee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateIdentityProvider.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json index e5ec4ffa34ab..8558b2204c18 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json @@ -243,4 +243,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotification.json index df986494121a..b6fb1ff77b9f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotification.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientEmail.json index d06f4db5c6e4..cced83eb5209 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientEmail.json @@ -14,7 +14,7 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } }, @@ -24,9 +24,9 @@ "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", "name": "foobar@live.com", "properties": { - "email": "foobar@live.com" + "email": "foobar@live.com" } } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientUser.json index 6afcd49bea38..7f99c767bce5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateNotificationRecipientUser.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json index e7d857348a8d..45797887dd96 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateOpenIdConnectProvider.json @@ -20,7 +20,7 @@ "type": "Microsoft.ApiManagement/service/openidconnectproviders", "name": "templateOpenIdConnect3", "properties": { - "displayName": "templateoidprovider3", + "displayName": "templateoidprovider3", "metadataEndpoint": "https://oidprovider-template3.net", "clientId": "oidprovidertemplate3" } @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreatePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreatePolicy.json index 044f1f456674..f03e3af00071 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreatePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreatePolicy.json @@ -7,7 +7,7 @@ "policyId": "policy", "parameters": { "properties": { - "format":"xml", + "format": "xml", "value": "\r\n \r\n \r\n \r\n \r\n \r\n" } } @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProduct.json index 6681ba277bc8..e6e05e3b4fcf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProduct.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductApi.json index 98e8bbee3200..c309967ec404 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductApi.json @@ -37,7 +37,7 @@ "name": "5931a75ae4bbd512a88c680b", "properties": { "displayName": "EchoApi", - "apiRevision": "1", + "apiRevision": "1", "serviceUrl": "https://contoso.com/apis/echo", "path": "", "protocols": [ @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductGroup.json index 5d894ca27586..37f5b8d96c7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductGroup.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductPolicy.json index feb26df5f1bf..5a74e078a77e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductPolicy.json @@ -8,7 +8,7 @@ "policyId": "policy", "parameters": { "properties": { - "format":"xml", + "format": "xml", "value": "\r\n \r\n \r\n \r\n @( string.Join(\",\", DateTime.UtcNow, context.Deployment.ServiceName, context.RequestId, context.Request.IpAddress, context.Operation.Name) ) \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } } @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductTag.json index 9d9c3a55253d..4c0b79702ac1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProductTag.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json index 87c216d8d5da..310e2cadc345 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateService.json index 83e42c74993e..8e81610b48d8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateService.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceHavingMsi.json index f5f9d4e627e8..c173224f0321 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceHavingMsi.json @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json index d5cecaf2108b..f9470a62d7f3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -139,4 +139,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json index df67d1a2336b..f371604d4c7b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json @@ -7,8 +7,8 @@ "apiId": "soapApi", "parameters": { "properties": { - "format":"wsdl-link", - "value":"http://www.webservicex.net/CurrencyConvertor.asmx?WSDL", + "format": "wsdl-link", + "value": "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL", "path": "currency", "apiType": "soap", "wsdlSelector": { @@ -42,7 +42,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json index 39f3d0ccff0d..6e3f29d2f4bb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json @@ -7,8 +7,8 @@ "apiId": "soapApi", "parameters": { "properties": { - "format":"wsdl-link", - "value":"http://www.webservicex.net/CurrencyConvertor.asmx?WSDL", + "format": "wsdl-link", + "value": "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL", "path": "currency", "wsdlSelector": { "wsdlServiceName": "CurrencyConvertor", @@ -40,7 +40,7 @@ } }, "202": { - "headers":{ + "headers": { "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" } }, @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json index 9d577eb1b843..620736a9665f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateTag.json index 20b641254096..4187986e5a88 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateTag.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateUser.json index 3e4aa9c81f67..26b4822ae7f8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateUser.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApi.json index cddbef8f1dcf..5250941cf6f3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApi.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiDiagnostic.json index 5cbcc80ebf75..962431b67ff3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiDiagnostic.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "204": {}, - "200":{} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssue.json index e3737645695a..eb1c722ef9e1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssue.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueAttachment.json index 8b0607b6f011..401e700cb915 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueAttachment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "attachmentId": "57d2ef278aa04f0888cba3f3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "attachmentId": "57d2ef278aa04f0888cba3f3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueComment.json index 71988675fd7c..9f617a9c4bc0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiIssueComment.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "commentId": "599e29ab193c3c0bd0b3e2fb", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "commentId": "599e29ab193c3c0bd0b3e2fb", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperation.json index f761ce1efd20..2b822ec1efba 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperation.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationPolicy.json index 17208d0c0847..3b25bdc14fbb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "testapi", - "operationId": "testoperation", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "testapi", + "operationId": "testoperation", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationTag.json index d8cd0239b03f..4d2e4b892b58 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiOperationTag.json @@ -9,8 +9,8 @@ "tagId": "59d5b28e1f7fab116402044e", "If-Match": "*" }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiPolicy.json index 68ece52cf42b..1cdfd95faa71 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "loggerId", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "loggerId", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiRelease.json index 4365f8993f10..7ab011465bca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiRelease.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "5a5fcc09124a7fa9b89f2f1d", - "releaseId": "testrev", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "5a5fcc09124a7fa9b89f2f1d", + "releaseId": "testrev", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiSchema.json index 9574a6c0149c..04c38cffb784 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiSchema.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "schemaId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "schemaId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTag.json index b5e54f788a89..35afaf1d052b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTagDescription.json index b5e54f788a89..35afaf1d052b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiTagDescription.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiVersionSet.json index be2d7b8f9f04..dba6159085e5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteApiVersionSet.json @@ -1,16 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "versionSetId": "a1", - "If-Match": "*" - }, - "responses": { - "204": { - }, - "200":{ - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "versionSetId": "a1", + "If-Match": "*" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteAuthorizationServer.json index 03afc54563a7..0164157071cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteAuthorizationServer.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteBackend.json index f5ab07c2d463..81e179c77db6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteBackend.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "backendId": "sfbackend", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "backendId": "sfbackend", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCache.json index 8dc04805a6ac..465203ab35d2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCache.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCertificate.json index c7200756ce18..1506995c5ddf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteCertificate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "certificateId": "tempcert", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "certificateId": "tempcert", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteDiagnostic.json index fed02e6a8dab..051b1acc9aad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteDiagnostic.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteEmailTemplate.json index 1ef38fdf4bca..ec65d94b261b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteEmailTemplate.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroup.json index c5e84511ad6c..13e3fd18606a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroup.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "aadGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "aadGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroupUser.json index 77a43fa215b4..d0914f1d97f6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteGroupUser.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "templategroup", - "userId": "59307d350af58404d8a26300", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "templategroup", + "userId": "59307d350af58404d8a26300", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteIdentityProvider.json index 15af3063b3c8..12bad5b8eec2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteIdentityProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "identityProviderName": "aad", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "identityProviderName": "aad", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteLogger.json index e6fa8531f8cb..ff61f5a5109c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteLogger.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "loggerId": "loggerId", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "loggerId": "loggerId", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json index e30a02efc49f..3460834e6100 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientEmail.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json index b7efc7f7417c..3b27da566849 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteNotificationRecipientUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "userId": "576823d0a40f7e74ec07d642" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "userId": "576823d0a40f7e74ec07d642" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json index d843d5625744..887bb41f267f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteOpenIdConnectProvider.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect3", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect3", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeletePolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeletePolicy.json index 88b963c91a4a..fe44e89030cd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeletePolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeletePolicy.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProduct.json index 3c3ff8290418..589e984545e6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProduct.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "deleteSubscriptions": true, - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "deleteSubscriptions": true, + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductApi.json index b4bbc9ea53bf..ba60cfcff936 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductApi.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "apiId": "echo-api", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "apiId": "echo-api", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductGroup.json index 0a6b477a86aa..20ecfabec851 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductGroup.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "groupId": "templateGroup", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "groupId": "templateGroup", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductPolicy.json index 0da565865bec..edd39a833a53 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductPolicy.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "testproduct", - "policyId": "policy", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "testproduct", + "policyId": "policy", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductTag.json index 57f8b9ddbcae..936abd25b091 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProductTag.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "59d5b28d1f7fab116c282650", - "tagId": "59d5b28e1f7fab116402044e", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "59d5b28d1f7fab116c282650", + "tagId": "59d5b28e1f7fab116402044e", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProperty.json index 587df4b7bffc..1c5424d23d21 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteProperty.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "propId": "testprop2", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "propId": "testprop2", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteSubscription.json index 3ab8dbf137dd..d123ed87846a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteSubscription.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "sid": "testsub", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "sid": "testsub", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteTag.json index 111e80be695a..148402b152de 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteTag.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "tagId": "tagId1", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "tagId": "tagId1", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteUser.json index 51b599b71ffa..047efda64214 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementDeleteUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512288c680b", - "If-Match": "*" - }, - "responses": { - "200": {}, - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512288c680b", + "If-Match": "*" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiContract.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiContract.json index 54fee0552a78..3fa4232f2b85 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiContract.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiContract.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", - "type": "Microsoft.ApiManagement/service/apis", - "name": "57d1f7558aa04f15146d9d8a", - "properties": { - "displayName": "Service", - "apiRevision": "1", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "type": "soap", - "isCurrent": true, - "isOnline": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a", + "type": "Microsoft.ApiManagement/service/apis", + "name": "57d1f7558aa04f15146d9d8a", + "properties": { + "displayName": "Service", + "apiRevision": "1", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "type": "soap", + "isCurrent": true, + "isOnline": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiDiagnostic.json index 06902b44407f..7777b352411f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiDiagnostic.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json index aa2fd38e9b26..136bf1ee2db1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi2dot0.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "echo-api", - "format": "swagger-link", - "export": "true" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", - "format": "swagger-link-json", - "value": { - "link": "https://apimgmtstkjpszxxxxxxx.blob.core.windows.net/api-export/Swagger Petstore Extensive.json?sv=2015-07-08&sr=b&sig=mxhLsFuOonu8EXIjyFPV%2FnDra0qTIoip7N7MuU%2BTFsA%3D&se=2019-04-10T22:41:31Z&sp=r" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "echo-api", + "format": "swagger-link", + "export": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", + "format": "swagger-link-json", + "value": { + "link": "https://apimgmtstkjpszxxxxxxx.blob.core.windows.net/api-export/Swagger Petstore Extensive.json?sv=2015-07-08&sr=b&sig=mxhLsFuOonu8EXIjyFPV%2FnDra0qTIoip7N7MuU%2BTFsA%3D&se=2019-04-10T22:41:31Z&sp=r" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi3dot0.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi3dot0.json index df7e4bff9b87..0afa93ccf384 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi3dot0.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiExportInOpenApi3dot0.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssue.json index c0fa22913b8c..6395a9163a6f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssue.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueAttachment.json index 076f37d8f7c9..6927f2f5e0f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueAttachment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueComment.json index f1e633956211..ea317bce8f9f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiIssueComment.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperation.json index 62bf3bcd1a45..0d662ed02558 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperation.json @@ -1,53 +1,53 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", - "templateParameters": [], - "request": { - "description": "IFazioService_CancelOrder_InputMessage", - "queryParameters": [], - "headers": [], - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrder" - } - ] - }, - "responses": [ - { - "statusCode": 200, - "description": "IFazioService_CancelOrder_OutputMessage", - "representations": [ - { - "contentType": "text/xml", - "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", - "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", - "typeName": "CancelOrderResponse" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder", + "templateParameters": [], + "request": { + "description": "IFazioService_CancelOrder_InputMessage", + "queryParameters": [], + "headers": [], + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrder" + } + ] + }, + "responses": [ + { + "statusCode": 200, + "description": "IFazioService_CancelOrder_OutputMessage", + "representations": [ + { + "contentType": "text/xml", + "sample": "\r\n\r\n \r\n \r\n 1\r\n \r\n \r\n", + "schemaId": "6980a395-f08b-4a59-8295-1440cbd909b8", + "typeName": "CancelOrderResponse" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPetStore.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPetStore.json index c193794161e5..21b353763383 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPetStore.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPetStore.json @@ -1,91 +1,91 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "swagger-petstore", - "operationId": "loginUser" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/swagger-petstore/operations/loginUser", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "loginUser", - "properties": { - "displayName": "Logs user into the system", - "method": "GET", - "urlTemplate": "/user/login?username={username}&password={password}", - "templateParameters": [ - { - "name": "username", - "description": "The user name for login", - "type": "string", - "required": true, - "values": [] - }, - { - "name": "password", - "description": "The password for login in clear text", - "type": "string", - "required": true, - "values": [] - } - ], - "description": "", - "request": { - "queryParameters": [], - "headers": [], - "representations": [] - }, - "responses": [ - { - "statusCode": 200, - "description": "successful operation", - "representations": [ - { - "contentType": "application/xml", - "schemaId": "5ba91a35f373b513a0bf31c6", - "typeName": "UserLoginGet200ApplicationXmlResponse" - }, - { - "contentType": "application/json", - "schemaId": "5ba91a35f373b513a0bf31c6", - "typeName": "UserLoginGet200ApplicationJsonResponse" - } - ], - "headers": [ - { - "name": "X-Rate-Limit", - "description": "calls per hour allowed by the user", - "type": "integer", - "values": [] - }, - { - "name": "X-Expires-After", - "description": "date in UTC when token expires", - "type": "string", - "values": [] - } - ] - }, - { - "statusCode": 400, - "description": "Invalid username/password supplied", - "representations": [ - { - "contentType": "application/xml" - }, - { - "contentType": "application/json" - } - ], - "headers": [] - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "swagger-petstore", + "operationId": "loginUser" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/swagger-petstore/operations/loginUser", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "loginUser", + "properties": { + "displayName": "Logs user into the system", + "method": "GET", + "urlTemplate": "/user/login?username={username}&password={password}", + "templateParameters": [ + { + "name": "username", + "description": "The user name for login", + "type": "string", + "required": true, + "values": [] + }, + { + "name": "password", + "description": "The password for login in clear text", + "type": "string", + "required": true, + "values": [] + } + ], + "description": "", + "request": { + "queryParameters": [], + "headers": [], + "representations": [] + }, + "responses": [ + { + "statusCode": 200, + "description": "successful operation", + "representations": [ + { + "contentType": "application/xml", + "schemaId": "5ba91a35f373b513a0bf31c6", + "typeName": "UserLoginGet200ApplicationXmlResponse" + }, + { + "contentType": "application/json", + "schemaId": "5ba91a35f373b513a0bf31c6", + "typeName": "UserLoginGet200ApplicationJsonResponse" + } + ], + "headers": [ + { + "name": "X-Rate-Limit", + "description": "calls per hour allowed by the user", + "type": "integer", + "values": [] + }, + { + "name": "X-Expires-After", + "description": "date in UTC when token expires", + "type": "string", + "values": [] + } + ] + }, + { + "statusCode": 400, + "description": "Invalid username/password supplied", + "representations": [ + { + "contentType": "application/xml" + }, + { + "contentType": "application/json" } + ], + "headers": [] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPolicy.json index fbfbed0a752e..c015a8dc3e89 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationPolicy.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/operations/policies", - "name": "policy", - "properties": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b539c53f5b0062040001/operations/5600b53ac53f5b0062080006/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/operations/policies", + "name": "policy", + "properties": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This is a sample\r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationTag.json index df90edef8c1c..cca4894a0689 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiOperationTag.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiPolicy.json index cc828bef9ef3..14642e9c4eb3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "5600b59475ff190048040001", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", - "type": "Microsoft.ApiManagement/service/apis/policies", - "name": "policy", - "properties": { - "value": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "5600b59475ff190048040001", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy", + "type": "Microsoft.ApiManagement/service/apis/policies", + "name": "policy", + "properties": { + "value": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRelease.json index 0fcafb74279a..68373dfa40e6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRelease.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRevision.json index 9a89fc446aac..7bcda5ea1289 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRevision.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiRevision.json @@ -1,32 +1,32 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "echo-api;rev=3" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api;rev=3", - "properties": { - "displayName": "Service", - "apiRevision": "3", - "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", - "path": "schulte", - "protocols": [ - "https" - ], - "subscriptionKeyParameterNames": { - "header": "Ocp-Apim-Subscription-Key", - "query": "subscription-key" - }, - "apiRevisionDescription": "fixed bug in contract" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "echo-api;rev=3" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=3", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api;rev=3", + "properties": { + "displayName": "Service", + "apiRevision": "3", + "serviceUrl": "https://api.plexonline.com/DataSource/Service.asmx", + "path": "schulte", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "apiRevisionDescription": "fixed bug in contract" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiSchema.json index b54bf315d917..8abc966da160 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiSchema.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "59d6bb8f1f7fab13dc67ec9b", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", - "properties": { - "contentType": "application/vnd.ms-azure-apim.xsd+xml", - "document": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "59d6bb8f1f7fab13dc67ec9b", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d6bb8f1f7fab13dc67ec9b/schemas/ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1", + "properties": { + "contentType": "application/vnd.ms-azure-apim.xsd+xml", + "document": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTag.json index 2f6802e62a29..1da1a0f887a0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTagDescription.json index 10a6298eddfa..04d71289a99a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiTagDescription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiVersionSet.json index 2a0a478e6328..1e27e9eb9df2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetApiVersionSet.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName" : "Version Set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "Version Set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetAuthorizationServer.json index 314bcca390df..0d2f0f5223f7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetAuthorizationServer.json @@ -1,44 +1,44 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetBackend.json index 2d2e9ed6d7ad..0c6daa3cbe50 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetBackend.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCache.json index 4f42b1a02894..c4080c9766a7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCache.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCertificate.json index 0c4540ab74c9..3c02b83d8588 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetCertificate.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA**********************8594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA**********************8594A6", + "expirationDate": "2017-04-23T17:03:41Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetDiagnostic.json index 024478db6990..ff093e45d988 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetDiagnostic.json @@ -1,11 +1,11 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights" - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights" + }, "responses": { "200": { "body": { @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetEmailTemplate.json index 748c95fad70f..9e8539bb9ff5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetEmailTemplate.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "NewIssueNotificationMessage", - "properties": { - "subject": "Your request $IssueName was received", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "New issue received", - "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", - "isDefault": true, - "parameters": [ - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "IssueId", - "title": "Issue id" - }, - { - "name": "IssueName", - "title": "Issue name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/NewIssueNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "NewIssueNotificationMessage", + "properties": { + "subject": "Your request $IssueName was received", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\r\n

\r\n Click this link to view or edit your request.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "New issue received", + "description": "This email is sent to developers after they create a new topic on the Issues page of the developer portal.", + "isDefault": true, + "parameters": [ + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "IssueId", + "title": "Issue id" + }, + { + "name": "IssueName", + "title": "Issue name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetGroup.json index dbfbc1bbd651..fccf2fdb84c9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetGroup.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIdentityProvider.json index d09c6588c459..194c9b30d93f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIdentityProvider.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "aadB2C", - "properties": { - "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", - "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_signup-policy" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "aadB2C", + "properties": { + "clientId": "315c8e2b-29fc-413d-822f-4efab7f43c42", + "clientSecret": "SnE4laLjmxc2QKWTPoRxOiwvSnnwMCFN+jLYDpBCUXw=", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_signup-policy" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIssue.json index 0643543e73ba..4e89b610cf83 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetIssue.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetLogger.json index 99a890ea296a..997534518162 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetLogger.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "loggerId": "templateLogger" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "kloudapilogger1", - "properties": { - "loggerType": "azureEventHub", - "description": "testeventhub3again", - "credentials": { - "name": "testeventhub4", - "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/eventhubapim" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "loggerId": "templateLogger" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/kloudapilogger1", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "kloudapilogger1", + "properties": { + "loggerType": "azureEventHub", + "description": "testeventhub3again", + "credentials": { + "name": "testeventhub4", + "connectionString": "Endpoint=sb://eventhubapim.servicebus.windows.net/;SharedAccessKeyName=Sender;SharedAccessKey=************" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/eventhubapim" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetNotification.json index 76e2c4b31026..b6fb1ff77b9f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetNotification.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetNotification.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetOpenIdConnectProvider.json index 75c18aa2094d..c8aa98a4ade7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetOpenIdConnectProvider.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicy.json index 5178f5ea3699..dfee0b71348c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicy.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicyFormat.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicyFormat.json index a968a51ff5f4..9b7287dfc159 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicyFormat.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetPolicyFormat.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProduct.json index 5e12c072c1d1..88ee71f470b9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProduct.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductPolicy.json index 044a5669350b..bf8479eb2a19 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "kjoshiarmTemplateProduct4", - "policyId": "policy" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", - "type": "Microsoft.ApiManagement/service/products/policies", - "name": "policy", - "properties": { - "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "kjoshiarmTemplateProduct4", + "policyId": "policy" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmTemplateProduct4/policies/policy", + "type": "Microsoft.ApiManagement/service/products/policies", + "name": "policy", + "properties": { + "value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductTag.json index bd52fdde8aeb..b5e80b1262d5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProductTag.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProperty.json index 57a91182a27d..837d4864d993 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetProperty.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testarmTemplateproperties2", - "properties": { - "displayName": "propName", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": false - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testarmTemplateproperties2", + "properties": { + "displayName": "propName", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeys.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeys.json index 2dc94cd73615..6242748ed88b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeys.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeys.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 5, - "kbTransferred": 2.5830078125 - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 5, + "kbTransferred": 2.5830078125 } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json index 2055e1b0514f..29ad0e2fb02c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json @@ -1,24 +1,24 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "quotaCounterKey": "ba", - "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" - }, - "responses": { - "200": { - "body": { - "counterKey": "ba", - "periodKey": "0_P3Y6M4DT12H30M5S", - "periodStartTime": "2014-08-04T04:24:35Z", - "periodEndTime": "2018-02-08T16:54:40Z", - "value": { - "callsCount": 0, - "kbTransferred": 2.5625 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "quotaCounterKey": "ba", + "quotaPeriodKey": "0_P3Y6M4DT12H30M5S" + }, + "responses": { + "200": { + "body": { + "counterKey": "ba", + "periodKey": "0_P3Y6M4DT12H30M5S", + "periodStartTime": "2014-08-04T04:24:35Z", + "periodEndTime": "2018-02-08T16:54:40Z", + "value": { + "callsCount": 0, + "kbTransferred": 2.5625 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByApi.json index 038f71bbc9c7..ad995316ebbe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByApi.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Echo API", - "apiId": "/apis/5600b59475ff190048040001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "httpbin", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Echo API", + "apiId": "/apis/5600b59475ff190048040001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "httpbin", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByGeo.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByGeo.json index ce8f0bd1db87..a1b10bc028ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByGeo.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByGeo.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "country": "US", - "region": "WA", - "zip": "98052", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "country": "US", + "region": "WA", + "zip": "98052", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByOperation.json index 54ddaed0562e..33db72949050 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByOperation.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "get", - "apiId": "/apis/57a03a13e4bbd5119c8b19e9", - "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "GetWeatherInformation", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "GetCityForecastByZIP", - "apiId": "/apis/57c999d1e4bbd50c988cb2c3", - "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "get", + "apiId": "/apis/57a03a13e4bbd5119c8b19e9", + "operationId": "/apis/57a03a13e4bbd5119c8b19e9/operations/57a03a1dd8d14f0a780d7d14", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "GetWeatherInformation", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93e", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "GetCityForecastByZIP", + "apiId": "/apis/57c999d1e4bbd50c988cb2c3", + "operationId": "/apis/57c999d1e4bbd50c988cb2c3/operations/57c999d1e4bbd50df889c93f", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByProduct.json index 9097e233b6c0..f9abb33830ac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByProduct.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Starter", - "productId": "/products/5600b59475ff190048060001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Unlimited", - "productId": "/products/5600b59475ff190048060002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Starter", + "productId": "/products/5600b59475ff190048060001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Unlimited", + "productId": "/products/5600b59475ff190048060002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByRequest.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByRequest.json index 0484442bc5a5..1841fb9f2193 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByRequest.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByRequest.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "GET", - "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 405, - "timestamp": "2017-06-03T00:17:00.1649134Z", - "cache": "none", - "apiTime": 221.1544, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", - "requestSize": 0 - }, - { - "apiId": "/apis/5931a75ae4bbd512a88c680b", - "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", - "productId": "/products/-", - "userId": "/users/1", - "method": "POST", - "url": "https://apimService1.azure-api.net/echo/resource", - "ipAddress": "207.xx.155.xx", - "responseCode": 404, - "responseSize": 403, - "timestamp": "2017-06-03T00:17:20.5255131Z", - "cache": "none", - "apiTime": 6.6754000000000007, - "serviceTime": 0.0, - "apiRegion": "East Asia", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", - "requestSize": 0 - } - ], - "count": 2 - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "GET", + "url": "https://apimService1.azure-api.net/echo/resource?param1=sample", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 405, + "timestamp": "2017-06-03T00:17:00.1649134Z", + "cache": "none", + "apiTime": 221.1544, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "63e7119c-26aa-433c-96d7-f6f3267ff52f", + "requestSize": 0 + }, + { + "apiId": "/apis/5931a75ae4bbd512a88c680b", + "operationId": "/apis/5931a75ae4bbd512a88c680b/operations/-", + "productId": "/products/-", + "userId": "/users/1", + "method": "POST", + "url": "https://apimService1.azure-api.net/echo/resource", + "ipAddress": "207.xx.155.xx", + "responseCode": 404, + "responseSize": 403, + "timestamp": "2017-06-03T00:17:20.5255131Z", + "cache": "none", + "apiTime": 6.6754000000000007, + "serviceTime": 0.0, + "apiRegion": "East Asia", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "requestId": "e581b7f7-c9ec-4fc6-8ab9-3855d9b00b04", + "requestSize": 0 + } + ], + "count": 2 + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsBySubscription.json index 9d1e1280e59b..d7c0edcabb82 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsBySubscription.json @@ -1,79 +1,79 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060001", - "subscriptionId": "/subscriptions/5600b59475ff190048070001", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5600b59475ff190048060002", - "subscriptionId": "/subscriptions/5600b59475ff190048070002", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "", - "userId": "/users/1", - "productId": "/products/5702e97e5157a50f48dce801", - "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060001", + "subscriptionId": "/subscriptions/5600b59475ff190048070001", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5600b59475ff190048060002", + "subscriptionId": "/subscriptions/5600b59475ff190048070002", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "", + "userId": "/users/1", + "productId": "/products/5702e97e5157a50f48dce801", + "subscriptionId": "/subscriptions/5702e97e5157a50a9c733303", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByTime.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByTime.json index 57364d6ab1f3..b4b3f6145a5a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByTime.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByTime.json @@ -1,56 +1,56 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", - "interval": "PT15M" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-06-03T00:15:00Z", - "interval": "PT15M", - "callCountSuccess": 4, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 4, - "bandwidth": 3243, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1337.46335, - "apiTimeMin": 885.0839000000001, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 1255.917425, - "serviceTimeMin": 882.8264, - "serviceTimeMax": 1697.3612 - }, - { - "timestamp": "2017-06-03T00:30:00Z", - "interval": "PT15M", - "callCountSuccess": 9, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 10, - "bandwidth": 7776, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 872.7818777777778, - "apiTimeMin": 330.3206, - "apiTimeMax": 1093.8407, - "serviceTimeAvg": 824.2847111111112, - "serviceTimeMin": 215.24, - "serviceTimeMax": 973.2262000000001 - } - ], - "count": 2, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'", + "interval": "PT15M" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-06-03T00:15:00Z", + "interval": "PT15M", + "callCountSuccess": 4, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 4, + "bandwidth": 3243, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1337.46335, + "apiTimeMin": 885.0839000000001, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 1255.917425, + "serviceTimeMin": 882.8264, + "serviceTimeMax": 1697.3612 + }, + { + "timestamp": "2017-06-03T00:30:00Z", + "interval": "PT15M", + "callCountSuccess": 9, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 10, + "bandwidth": 7776, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 872.7818777777778, + "apiTimeMin": 330.3206, + "apiTimeMax": 1093.8407, + "serviceTimeAvg": 824.2847111111112, + "serviceTimeMin": 215.24, + "serviceTimeMax": 973.2262000000001 + } + ], + "count": 2, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByUser.json index e641291e585c..7dc924ad6bda 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetReportsByUser.json @@ -1,73 +1,73 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Administrator", - "userId": "/users/1", - "callCountSuccess": 13, - "callCountBlocked": 1, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 14, - "bandwidth": 11019, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 1015.7607923076923, - "apiTimeMin": 330.3206, - "apiTimeMax": 1819.2173, - "serviceTimeAvg": 957.094776923077, - "serviceTimeMin": 215.24, - "serviceTimeMax": 1697.3612 - }, - { - "name": "Samir Solanki", - "userId": "/users/56eaec62baf08b06e46d27fd", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - }, - { - "name": "Anonymous", - "userId": "/users/54c800b332965a0035030000", - "callCountSuccess": 0, - "callCountBlocked": 0, - "callCountFailed": 0, - "callCountOther": 0, - "callCountTotal": 0, - "bandwidth": 0, - "cacheHitCount": 0, - "cacheMissCount": 0, - "apiTimeAvg": 0, - "apiTimeMin": 0, - "apiTimeMax": 0, - "serviceTimeAvg": 0, - "serviceTimeMin": 0, - "serviceTimeMax": 0 - } - ], - "count": 3, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "$filter": "timestamp ge datetime'2017-06-01T00:00:00' and timestamp le datetime'2017-06-04T00:00:00'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Administrator", + "userId": "/users/1", + "callCountSuccess": 13, + "callCountBlocked": 1, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 14, + "bandwidth": 11019, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 1015.7607923076923, + "apiTimeMin": 330.3206, + "apiTimeMax": 1819.2173, + "serviceTimeAvg": 957.094776923077, + "serviceTimeMin": 215.24, + "serviceTimeMax": 1697.3612 + }, + { + "name": "Samir Solanki", + "userId": "/users/56eaec62baf08b06e46d27fd", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + }, + { + "name": "Anonymous", + "userId": "/users/54c800b332965a0035030000", + "callCountSuccess": 0, + "callCountBlocked": 0, + "callCountFailed": 0, + "callCountOther": 0, + "callCountTotal": 0, + "bandwidth": 0, + "cacheHitCount": 0, + "cacheMissCount": 0, + "apiTimeAvg": 0, + "apiTimeMin": 0, + "apiTimeMax": 0, + "serviceTimeAvg": 0, + "serviceTimeMin": 0, + "serviceTimeMax": 0 + } + ], + "count": 3, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetSubscription.json index 25a0bc1feeb0..63f0ff61a314 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetSubscription.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTag.json index f4bd6f8c21fb..10dc92907c36 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTag.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/tags", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "tag1" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/tags", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "tag1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTenantAccess.json index 31c3134f608a..29dd54f841ed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetTenantAccess.json @@ -1,19 +1,19 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "200": { - "body": { - "id": "5600b59375ff190048030003", - "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", - "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "200": { + "body": { + "id": "5600b59375ff190048030003", + "primaryKey": "qr5nbjNoZkgtLojXgU+OA/ntYMgko3XPSVyt+ObwR1sqp2ZkM9tGhwxkeEz7bfAuPS5ss61b2S3ZrZmqa9v3Mw==", + "secondaryKey": "2dCJv1CasJl286SZiKxyBFDiIYCUdbwM1YrFNDcFMXCjCKbFzomrGkv+exAbnV5E3DEk91VP4jbeJ2eV/qtejA==", + "enabled": true + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetUser.json index 97b0fad66379..b189fd952073 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementGetUser.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApi.json index ffce04519d3d..1a5a668fc937 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApi.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiDiagnostic.json index 5b2f52a4b6a5..724741fc6da7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiDiagnostic.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssue.json index 2f83899f0b96..19313728801b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssue.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueAttachment.json index 96b3e67e4e9c..b1b6f5a68fb7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueAttachment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueAttachment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "attachmentId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "attachmentId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueComment.json index 27b4b080f2c9..c490405e99aa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueComment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiIssueComment.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "commentId": "599e29ab193c3c0bd0b3e2fb" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "commentId": "599e29ab193c3c0bd0b3e2fb" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperation.json index 7a76d4e4a832..3a03e88bbe1e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperation.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationPolicy.json index ab0e2881fe8c..46b868570798 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationPolicy.json @@ -1,18 +1,18 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "5600b539c53f5b0062040001", - "operationId": "5600b53ac53f5b0062080006", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "5600b539c53f5b0062040001", + "operationId": "5600b53ac53f5b0062080006", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationTag.json index 50befa12216a..7400756cd3e9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiOperationTag.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiPolicy.json index 9adb570d1438..64e594bc5ad7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiRelease.json index 937300a13756..6192e922cfef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiRelease.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "5a7cb545298324c53224a799" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "5a7cb545298324c53224a799" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiSchema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiSchema.json index 75382e990288..95d8325c73ac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiSchema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiSchema.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "schemaId": "ec12520d-9d48-4e7b-8f39-698ca2ac63f1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTag.json index 1bb8be574620..8bab9330dad4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTagDescription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTagDescription.json index 1bb8be574620..8bab9330dad4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTagDescription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiTagDescription.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiVersionSet.json index 10049ad0ed85..9f006577f21d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadApiVersionSet.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "versionSetId": "vs1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "versionSetId": "vs1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadAuthorizationServer.json index ee54db22d341..84d5f462ea54 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadAuthorizationServer.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "authsid": "newauthServer2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "authsid": "newauthServer2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadBackend.json index 7548f4024a1c..5067a4a22079 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadBackend.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "backendId": "sfbackend" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "backendId": "sfbackend" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCache.json index 8a5402aed53b..f043689a5c86 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCache.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCertificate.json index c570f0e5dcb3..129e83632626 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCertificate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadCertificate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "certificateId": "templateCert1" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "certificateId": "templateCert1" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDelegationSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDelegationSettings.json index 82c06103321f..d725677f493d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDelegationSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDelegationSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDiagnostic.json index 61f0cbe2fd64..e85d08219455 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadDiagnostic.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "diagnosticId": "applicationinsights" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "diagnosticId": "applicationinsights" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadEmailTemplate.json index 532948b7bea1..d3c406c31d73 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadEmailTemplate.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "templateName": "newIssueNotificationMessage" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "templateName": "newIssueNotificationMessage" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroup.json index ca58b1bcdcbd..f09acc1db586 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroup.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroupUser.json index 5bbe3289cee0..992c266d0ac7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroupUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadGroupUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "59306a29e4bbd510dc24e5f9", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "59306a29e4bbd510dc24e5f9", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadIdentityProvider.json index eda809ed0931..275bff376771 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadIdentityProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "identityProviderName": "aadB2C" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "identityProviderName": "aadB2C" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadLogger.json index 3e012b81512a..199f6e06daf0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadLogger.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "loggerId": "templateLogger" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "loggerId": "templateLogger" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json index 34f8e99d4afc..9215f59fc684 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientEmail.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "email": "contoso@live.com" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "email": "contoso@live.com" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientUser.json index 1116401b7c05..a1824a4d747a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadNotificationRecipientUser.json @@ -1,14 +1,14 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage", - "userId": "576823d0a40f7e74ec07d642" - }, - "responses": { - "204": {}, - "404": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage", + "userId": "576823d0a40f7e74ec07d642" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json index 1406919402f8..52fa3b4a2664 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadOpenIdConnectProvider.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "opid": "templateOpenIdConnect2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "opid": "templateOpenIdConnect2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadPolicy.json index d24e14c92b25..d50d3123ee3e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadPolicy.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProduct.json index c3bf71e24bcd..ac73f133e96c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProduct.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "unlimited" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "unlimited" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductApi.json index 2c8dabb61187..7a956877cb8f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductApi.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "apiId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "apiId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductGroup.json index 94dee46324b1..4638756008ed 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductGroup.json @@ -1,13 +1,13 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "5931a75ae4bbd512a88c680b", - "groupId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "5931a75ae4bbd512a88c680b", + "groupId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductPolicy.json index 4ede639fa402..273ed83f28ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductPolicy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductPolicy.json @@ -1,17 +1,17 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "unlimited", - "policyId": "policy" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "unlimited", + "policyId": "policy" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductTag.json index b4ad92c22267..cabc6ba2ad0d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProductTag.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProperty.json index 06f5734ff665..72e4c4c68089 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadProperty.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "propId": "testarmTemplateproperties2" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "propId": "testarmTemplateproperties2" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignInSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignInSettings.json index 82c06103321f..d725677f493d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignInSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignInSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignUpSettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignUpSettings.json index 82c06103321f..d725677f493d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignUpSettings.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSignUpSettings.json @@ -1,15 +1,15 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSubscription.json index 9ef7cc269e5d..b348b339d3a0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadSubscription.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "sid": "5931a769d8d14f0ad8ce13b8" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "sid": "5931a769d8d14f0ad8ce13b8" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTag.json index 3abeb18b8a22..06123e4edb54 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTag.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "tagId": "59306a29e4bbd510dc24e5f9" - }, - "responses": { - "200": { - "headers": { - "Etag": "AAAAAAAACCI=" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "tagId": "59306a29e4bbd510dc24e5f9" + }, + "responses": { + "200": { + "headers": { + "Etag": "AAAAAAAACCI=" } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTenantAccess.json index 0100f08c3b4b..817bccd9156b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadTenantAccess.json @@ -7,6 +7,6 @@ "accessName": "access" }, "responses": { - "200": { } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadUser.json index 6e819c65f734..f9cfac3d1848 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementHeadUser.json @@ -1,16 +1,16 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "5931a75ae4bbd512a88c680b" - }, - "responses": { - "200": { - "headers": { - "etag": "AAAAAAAAAAa=" - } - } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "5931a75ae4bbd512a88c680b" + }, + "responses": { + "200": { + "headers": { + "etag": "AAAAAAAAAAa=" + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiDiagnostics.json index f37079ab64d1..2ff4104f2825 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiDiagnostics.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueAttachments.json index b7556fa63f1e..2011466f0784 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueAttachments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueAttachments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", - "type": "Microsoft.ApiManagement/service/apis/issues/attachments", - "name": "57d2ef278aa04f0888cba3f3", - "properties": { - "title": "Issue attachment.", - "contentFormat": "link", - "content": "https://.../image.jpg" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/attachments/57d2ef278aa04f0888cba3f3", + "type": "Microsoft.ApiManagement/service/apis/issues/attachments", + "name": "57d2ef278aa04f0888cba3f3", + "properties": { + "title": "Issue attachment.", + "contentFormat": "link", + "content": "https://.../image.jpg" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueComments.json index 6a2b46574d56..4897f2dee58f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueComments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssueComments.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a", - "issueId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", - "type": "Microsoft.ApiManagement/service/apis/issues/comments", - "name": "599e29ab193c3c0bd0b3e2fb", - "properties": { - "text": "Issue comment.", - "createdDate": "2018-02-01T22:21:20.467Z", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a", + "issueId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc/comments/599e29ab193c3c0bd0b3e2fb", + "type": "Microsoft.ApiManagement/service/apis/issues/comments", + "name": "599e29ab193c3c0bd0b3e2fb", + "properties": { + "text": "Issue comment.", + "createdDate": "2018-02-01T22:21:20.467Z", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssues.json index f76ede74f70d..acf873a4d9f8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiIssues.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d1f7558aa04f15146d9d8a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d1f7558aa04f15146d9d8a" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationPolicies.json index c1bebdf9cb7a..36b7028e4aa5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationPolicies.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationTags.json index e0f7be5df4f9..723487394903 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationTags.json @@ -7,21 +7,21 @@ "apiId": "57d2ef278aa04f0888cba3f3", "operationId": "57d2ef278aa04f0888cba3f6" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperations.json index bf9f313046db..df32aeb1abcf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperations.json @@ -1,69 +1,69 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3", - "operationId": "57d2ef278aa04f0ad01d6cdc" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "displayName": "CancelOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cda", - "properties": { - "displayName": "GetMostRecentOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd9", - "properties": { - "displayName": "GetOpenOrders", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cdb", - "properties": { - "displayName": "GetOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", - "type": "Microsoft.ApiManagement/service/apis/operations", - "name": "57d2ef278aa04f0ad01d6cd8", - "properties": { - "displayName": "submitOrder", - "method": "POST", - "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3", + "operationId": "57d2ef278aa04f0ad01d6cdc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "displayName": "CancelOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/CancelOrder" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cda", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cda", + "properties": { + "displayName": "GetMostRecentOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetMostRecentOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd9", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd9", + "properties": { + "displayName": "GetOpenOrders", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOpenOrders" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cdb", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cdb", + "properties": { + "displayName": "GetOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d2ef278aa04f0888cba3f3/operations/57d2ef278aa04f0ad01d6cd8", + "type": "Microsoft.ApiManagement/service/apis/operations", + "name": "57d2ef278aa04f0ad01d6cd8", + "properties": { + "displayName": "submitOrder", + "method": "POST", + "urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/submitOrder" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationsByTags.json index 3d0d7840d7b4..2e265efe7cc6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiOperationsByTags.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiPolicies.json index e53bd5377122..c6e43cbf6d74 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiPolicies.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiProducts.json index 774762081137..4c5f3f8ddeb3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiProducts.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiReleases.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiReleases.json index 2b54955b3626..772cb7045692 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiReleases.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiReleases.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "a1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", - "type": "Microsoft.ApiManagement/service/apis/releases", - "name": "5a7cb545298324c53224a799", - "properties": { - "createdDateTime": "2018-02-08T20:38:29.173Z", - "updatedDateTime": "2018-02-08T20:38:29.173Z", - "notes": "yahoo" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/5a7cb545298324c53224a799", + "type": "Microsoft.ApiManagement/service/apis/releases", + "name": "5a7cb545298324c53224a799", + "properties": { + "createdDateTime": "2018-02-08T20:38:29.173Z", + "updatedDateTime": "2018-02-08T20:38:29.173Z", + "notes": "yahoo" } - } + } + ], + "nextLink": "" + } } + } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiRevisions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiRevisions.json index de7c4b99484b..4f37f5f92df3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiRevisions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiRevisions.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", - "apiRevision": "1", - "createdDateTime": "2018-02-01T22:21:20.467Z", - "updatedDateTime": "2018-02-01T22:21:20.467Z", - "isOnline": true, - "isCurrent": true - } - ], - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1;rev=1", + "apiRevision": "1", + "createdDateTime": "2018-02-01T22:21:20.467Z", + "updatedDateTime": "2018-02-01T22:21:20.467Z", + "isOnline": true, + "isCurrent": true + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiSchemas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiSchemas.json index 8081c69ef4ea..91ecdf4f35b0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiSchemas.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiSchemas.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "59d5b28d1f7fab116c282650" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", - "type": "Microsoft.ApiManagement/service/apis/schemas", - "name": "59d5b28e1f7fab116402044e", - "properties": { - "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "59d5b28d1f7fab116c282650" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/59d5b28d1f7fab116c282650/schemas/59d5b28e1f7fab116402044e", + "type": "Microsoft.ApiManagement/service/apis/schemas", + "name": "59d5b28e1f7fab116402044e", + "properties": { + "contentType": "application/vnd.ms-azure-apim.swagger.definitions+json" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTagDescriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTagDescriptions.json index 5b5f459bd959..8f885b519f31 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTagDescriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTagDescriptions.json @@ -1,28 +1,28 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1", - "externalDocsDescription": "some additional info", - "externalDocsUrl": "http://some_url.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1", + "externalDocsDescription": "some additional info", + "externalDocsUrl": "http://some_url.com" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTags.json index 0856405c7edc..57946fc5fa0c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiTags.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiVersionSets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiVersionSets.json index 252ec813e944..82a217af6e88 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiVersionSets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApiVersionSets.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs1", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs1", - "properties": { - "displayName": "api set 1", - "versioningScheme": "Segment", - "description": "Version configuration" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs2", - "type": "Microsoft.ApiManagement/service/api-version-sets", - "name": "vs2", - "properties": { - "displayName": "api set 2", - "versioningScheme": "Query", - "description": "Version configuration 2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs1", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs1", + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/vs2", + "type": "Microsoft.ApiManagement/service/api-version-sets", + "name": "vs2", + "properties": { + "displayName": "api set 2", + "versioningScheme": "Query", + "description": "Version configuration 2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApis.json index 1fd3142ba0dc..6d221bfdd841 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApis.json @@ -1,81 +1,81 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "type": "Microsoft.ApiManagement/service/apis", - "name": "a1", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a73933b8f27f7cc82a2d533", - "properties": { - "displayName": "api1", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "api1", - "protocols": [ - "https" - ], - "isCurrent": true, - "apiVersion": "v1", - "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", - "type": "Microsoft.ApiManagement/service/apis", - "name": "echo-api", - "properties": { - "displayName": "Echo API", - "apiRevision": "1", - "serviceUrl": "http://echoapi.cloudapp.net/api", - "path": "echo", - "protocols": [ - "https" - ], - "isCurrent": true - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", - "type": "Microsoft.ApiManagement/service/apis", - "name": "5a7390baa5816a110435aee0", - "properties": { - "displayName": "Swagger Petstore Extensive", - "apiRevision": "1", - "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", - "serviceUrl": "http://petstore.swagger.wordnik.com/api", - "path": "vvv", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "type": "Microsoft.ApiManagement/service/apis", + "name": "a1", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a73933b8f27f7cc82a2d533", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a73933b8f27f7cc82a2d533", + "properties": { + "displayName": "api1", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "api1", + "protocols": [ + "https" + ], + "isCurrent": true, + "apiVersion": "v1", + "apiVersionSetId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apiVersionSets/c48f96c9-1385-4e2d-b410-5ab591ce0fc4" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api", + "type": "Microsoft.ApiManagement/service/apis", + "name": "echo-api", + "properties": { + "displayName": "Echo API", + "apiRevision": "1", + "serviceUrl": "http://echoapi.cloudapp.net/api", + "path": "echo", + "protocols": [ + "https" + ], + "isCurrent": true + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5a7390baa5816a110435aee0", + "type": "Microsoft.ApiManagement/service/apis", + "name": "5a7390baa5816a110435aee0", + "properties": { + "displayName": "Swagger Petstore Extensive", + "apiRevision": "1", + "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "vvv", + "protocols": [ + "https" + ], + "isCurrent": true + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApisByTags.json index af2aa7e39c95..b294267fe4bd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApisByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListApisByTags.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListAuthorizationServers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListAuthorizationServers.json index a10fa8bc99a6..bbf9af62c858 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListAuthorizationServers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListAuthorizationServers.json @@ -1,76 +1,76 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer", - "properties": { - "displayName": "test2", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", - "type": "Microsoft.ApiManagement/service/authorizationServers", - "name": "newauthServer2", - "properties": { - "displayName": "test3", - "description": "test server", - "clientRegistrationEndpoint": "https://www.contoso.com/apps", - "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", - "authorizationMethods": [ - "GET" - ], - "clientAuthenticationMethod": [ - "Basic" - ], - "tokenEndpoint": "https://www.contoso.com/oauth2/token", - "supportState": true, - "defaultScope": "read write", - "grantTypes": [ - "authorizationCode", - "implicit" - ], - "bearerTokenSendingMethods": [ - "authorizationHeader" - ], - "clientId": "1", - "clientSecret": "2", - "resourceOwnerUsername": "un", - "resourceOwnerPassword": "pwd" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer", + "properties": { + "displayName": "test2", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/authorizationServers/newauthServer2", + "type": "Microsoft.ApiManagement/service/authorizationServers", + "name": "newauthServer2", + "properties": { + "displayName": "test3", + "description": "test server", + "clientRegistrationEndpoint": "https://www.contoso.com/apps", + "authorizationEndpoint": "https://www.contoso.com/oauth2/auth", + "authorizationMethods": [ + "GET" + ], + "clientAuthenticationMethod": [ + "Basic" + ], + "tokenEndpoint": "https://www.contoso.com/oauth2/token", + "supportState": true, + "defaultScope": "read write", + "grantTypes": [ + "authorizationCode", + "implicit" + ], + "bearerTokenSendingMethods": [ + "authorizationHeader" + ], + "clientId": "1", + "clientSecret": "2", + "resourceOwnerUsername": "un", + "resourceOwnerPassword": "pwd" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListBackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListBackends.json index 0e7427a7d014..d452fd02b81c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListBackends.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListBackends.json @@ -1,80 +1,80 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "proxybackend", - "properties": { - "description": "description5308", - "url": "https://backendname2644/", - "protocol": "http", - "credentials": { - "query": { - "sv": [ - "xx", - "bb", - "cc" - ] - }, - "header": { - "x-my-1": [ - "val1", - "val2" - ] - }, - "authorization": { - "scheme": "Basic", - "parameter": "opensesma" - } - }, - "proxy": { - "url": "http://192.168.1.1:8080", - "username": "Contoso\\admin", - "password": "opensesame" - }, - "tls": { - "validateCertificateChain": false, - "validateCertificateName": false - } - } - }, + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "proxybackend", + "properties": { + "description": "description5308", + "url": "https://backendname2644/", + "protocol": "http", + "credentials": { + "query": { + "sv": [ + "xx", + "bb", + "cc" + ] + }, + "header": { + "x-my-1": [ + "val1", + "val2" + ] + }, + "authorization": { + "scheme": "Basic", + "parameter": "opensesma" + } + }, + "proxy": { + "url": "http://192.168.1.1:8080", + "username": "Contoso\\admin", + "password": "opensesame" + }, + "tls": { + "validateCertificateChain": false, + "validateCertificateName": false + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", + "type": "Microsoft.ApiManagement/service/backends", + "name": "sfbackend", + "properties": { + "description": "Service Fabric Test App 1", + "url": "fabric:/mytestapp/mytestservice", + "protocol": "http", + "properties": { + "serviceFabricCluster": { + "managementEndpoints": [ + "https://somecluster.com" + ], + "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", + "serverX509Names": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend", - "type": "Microsoft.ApiManagement/service/backends", - "name": "sfbackend", - "properties": { - "description": "Service Fabric Test App 1", - "url": "fabric:/mytestapp/mytestservice", - "protocol": "http", - "properties": { - "serviceFabricCluster": { - "managementEndpoints": [ - "https://somecluster.com" - ], - "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6", - "serverX509Names": [ - { - "name": "ServerCommonName1", - "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" - } - ], - "maxPartitionResolutionRetries": 5 - } - } - } + "name": "ServerCommonName1", + "issuerCertificateThumbprint": "IssuerCertificateThumbprint1" } - ], - "nextLink": "" + ], + "maxPartitionResolutionRetries": 5 + } + } } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCaches.json index 2f4a8ab35aba..e9116d0f61e3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCaches.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCertificates.json index b02343187130..44777a94845a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListCertificates.json @@ -1,27 +1,27 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/certificates", - "name": "templateCert1", - "properties": { - "subject": "CN=mutual-authcert", - "thumbprint": "EBA************************48594A6", - "expirationDate": "2017-04-23T17:03:41Z" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/certificates", + "name": "templateCert1", + "properties": { + "subject": "CN=mutual-authcert", + "thumbprint": "EBA************************48594A6", + "expirationDate": "2017-04-23T17:03:41Z" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListEmailTemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListEmailTemplates.json index d4663c02cdd5..e8317e14d096 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListEmailTemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListEmailTemplates.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", - "type": "Microsoft.ApiManagement/service/templates", - "name": "ApplicationApprovedNotificationMessage", - "properties": { - "subject": "Your application $AppName is published in the application gallery", - "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", - "title": "Application gallery submission approved", - "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", - "isDefault": true, - "parameters": [ - { - "name": "AppId", - "title": "Application id" - }, - { - "name": "AppName", - "title": "Application name" - }, - { - "name": "DevFirstName", - "title": "Developer first name" - }, - { - "name": "DevLastName", - "title": "Developer last name" - }, - { - "name": "OrganizationName", - "title": "Organization name" - }, - { - "name": "DevPortalUrl", - "title": "Developer portal URL" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/templates/ApplicationApprovedNotificationMessage", + "type": "Microsoft.ApiManagement/service/templates", + "name": "ApplicationApprovedNotificationMessage", + "properties": { + "subject": "Your application $AppName is published in the application gallery", + "body": "\r\n\r\n \r\n \r\n

Dear $DevFirstName $DevLastName,

\r\n

\r\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\r\n

\r\n

Best,

\r\n

The $OrganizationName API Team

\r\n \r\n", + "title": "Application gallery submission approved", + "description": "Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.", + "isDefault": true, + "parameters": [ + { + "name": "AppId", + "title": "Application id" + }, + { + "name": "AppName", + "title": "Application name" + }, + { + "name": "DevFirstName", + "title": "Developer first name" + }, + { + "name": "DevLastName", + "title": "Developer last name" + }, + { + "name": "OrganizationName", + "title": "Organization name" + }, + { + "name": "DevPortalUrl", + "title": "Developer portal URL" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroupUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroupUsers.json index 498b30a7bf88..b61476eb0c3a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroupUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroupUsers.json @@ -1,37 +1,37 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "groupId": "57d2ef278aa04f0888cba3f3" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", - "type": "Microsoft.ApiManagement/service/groups/users", - "name": "armTemplateUser1", - "properties": { - "firstName": "user1", - "lastName": "lastname1", - "email": "user1@live.com", - "state": "active", - "registrationDate": "2017-05-31T18:54:41.447Z", - "note": "note for user 1", - "identities": [ - { - "provider": "Basic", - "id": "user1@live.com" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "groupId": "57d2ef278aa04f0888cba3f3" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1", + "type": "Microsoft.ApiManagement/service/groups/users", + "name": "armTemplateUser1", + "properties": { + "firstName": "user1", + "lastName": "lastname1", + "email": "user1@live.com", + "state": "active", + "registrationDate": "2017-05-31T18:54:41.447Z", + "note": "note for user 1", + "identities": [ + { + "provider": "Basic", + "id": "user1@live.com" + } + ] } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroups.json index 3bfb0a19f3c2..efc17808e9b4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListGroups.json @@ -1,62 +1,62 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", - "type": "Microsoft.ApiManagement/service/groups", - "name": "59306a29e4bbd510dc24e5f9", - "properties": { - "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", - "description": "awesome group of people", - "builtIn": false, - "type": "external", - "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", - "type": "Microsoft.ApiManagement/service/groups", - "name": "5600b59375ff190048020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/59306a29e4bbd510dc24e5f9", + "type": "Microsoft.ApiManagement/service/groups", + "name": "59306a29e4bbd510dc24e5f9", + "properties": { + "displayName": "AwesomeGroup (samiraad.onmicrosoft.com)", + "description": "awesome group of people", + "builtIn": false, + "type": "external", + "externalId": "aad://samiraad.onmicrosoft.com/groups/3773adf4-032e-4d25-9988-eaff9ca72eca" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/5600b59375ff190048020003", + "type": "Microsoft.ApiManagement/service/groups", + "name": "5600b59375ff190048020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIdentityProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIdentityProviders.json index 6a6de60e2f3e..d25e17789ff3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIdentityProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIdentityProviders.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Google", - "properties": { - "clientId": "googleId", - "clientSecret": "googlesecret", - "type": "google" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "Aad", - "properties": { - "clientId": "aadapplicationid", - "clientSecret": "aadapplicationkey", - "type": "aad", - "allowedTenants": [ - "samiraad.onmicrosoft.com" - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", - "type": "Microsoft.ApiManagement/service/identityProviders", - "name": "AadB2C", - "properties": { - "clientId": "aadb2clientId", - "clientSecret": "aadb2cClientKey", - "type": "aadB2C", - "allowedTenants": [ - "samirtestbc.onmicrosoft.com" - ], - "signupPolicyName": "B2C_1_Signup_Default", - "signinPolicyName": "B2C_1_Signin_Default" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Google", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Google", + "properties": { + "clientId": "googleId", + "clientSecret": "googlesecret", + "type": "google" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Aad", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "Aad", + "properties": { + "clientId": "aadapplicationid", + "clientSecret": "aadapplicationkey", + "type": "aad", + "allowedTenants": [ + "samiraad.onmicrosoft.com" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C", + "type": "Microsoft.ApiManagement/service/identityProviders", + "name": "AadB2C", + "properties": { + "clientId": "aadb2clientId", + "clientSecret": "aadb2cClientKey", + "type": "aadB2C", + "allowedTenants": [ + "samirtestbc.onmicrosoft.com" + ], + "signupPolicyName": "B2C_1_Signup_Default", + "signinPolicyName": "B2C_1_Signin_Default" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIssues.json index 79d6cb98772b..88f5920c6386 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListIssues.json @@ -1,30 +1,30 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", - "type": "Microsoft.ApiManagement/service/issues", - "name": "57d2ef278aa04f0ad01d6cdc", - "properties": { - "title": "New API issue", - "description": "New API issue description", - "createdDate": "2018-02-01T22:21:20.467Z", - "state": "open", - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc", + "type": "Microsoft.ApiManagement/service/issues", + "name": "57d2ef278aa04f0ad01d6cdc", + "properties": { + "title": "New API issue", + "description": "New API issue description", + "createdDate": "2018-02-01T22:21:20.467Z", + "state": "open", + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListLoggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListLoggers.json index 93eb4c45d346..04cf850108f1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListLoggers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListLoggers.json @@ -1,46 +1,46 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "buffered111", - "properties": { - "loggerType": "azureEventHub", - "description": "Sample description", - "credentials": { - "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/apimaccounts" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", - "type": "Microsoft.ApiManagement/service/loggers", - "name": "loggerId", - "properties": { - "loggerType": "azureEventHub", - "description": "adding a new logger", - "credentials": { - "name": "hydraeventhub", - "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" - }, - "isBuffered": true, - "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/hydraeventhub-ns" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/buffered111", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "buffered111", + "properties": { + "loggerType": "azureEventHub", + "description": "Sample description", + "credentials": { + "connectionString": "Endpoint=sb://apimaccounts.servicebus.windows.net/;SharedAccessKeyName=Send;SharedAccessKey=*******************h=****" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/apimaccounts" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId", + "type": "Microsoft.ApiManagement/service/loggers", + "name": "loggerId", + "properties": { + "loggerType": "azureEventHub", + "description": "adding a new logger", + "credentials": { + "name": "hydraeventhub", + "connectionString": "{{Logger-Credentials-59544ef2e4bbd50d9468c618}}" + }, + "isBuffered": true, + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/hydraeventhub-ns" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientEmails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientEmails.json index 2551c969038f..1ddcfc404062 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientEmails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientEmails.json @@ -1,42 +1,42 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "contoso@live.com", - "properties": { - "email": "contoso@live.com" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar!live", - "properties": { - "email": "foobar!live" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", - "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", - "name": "foobar@live.com", - "properties": { - "email": "foobar@live.com" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "contoso@live.com", + "properties": { + "email": "contoso@live.com" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar!live", + "properties": { + "email": "foobar!live" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com", + "type": "Microsoft.ApiManagement/service/notifications/recipientEmails", + "name": "foobar@live.com", + "properties": { + "email": "foobar@live.com" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientUsers.json index 5e8d9faceb40..0c0438b5e12c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotificationRecipientUsers.json @@ -1,26 +1,26 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "notificationName": "RequestPublisherNotificationMessage" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", - "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", - "name": "576823d0a40f7e74ec07d642", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "notificationName": "RequestPublisherNotificationMessage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642", + "type": "Microsoft.ApiManagement/service/notifications/recipientUsers", + "name": "576823d0a40f7e74ec07d642", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotifications.json index 5392d1ced903..51c33cf2b8fa 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListNotifications.json @@ -1,126 +1,126 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "RequestPublisherNotificationMessage", - "properties": { - "title": "Subscription requests (requiring approval)", - "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "PurchasePublisherNotificationMessage", - "properties": { - "title": "New subscriptions", - "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewApplicationNotificationMessage", - "properties": { - "title": "Application gallery requests", - "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "BCC", - "properties": { - "title": "BCC", - "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", - "recipients": { - "emails": [], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "NewIssuePublisherNotificationMessage", - "properties": { - "title": "New issue or comment", - "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "AccountClosedPublisher", - "properties": { - "title": "Close account message", - "description": "The following email recipients and users will receive email notifications when developer closes his account", - "recipients": { - "emails": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" - ], - "users": [] - } - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", - "type": "Microsoft.ApiManagement/service/notifications", - "name": "QuotaLimitApproachingPublisherNotificationMessage", - "properties": { - "title": "Approaching subscription quota limit", - "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", - "recipients": { - "emails": [], - "users": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" - ] - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "RequestPublisherNotificationMessage", + "properties": { + "title": "Subscription requests (requiring approval)", + "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar!live", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/foobar@live.com" ], - "nextLink": "" + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642" + ] + } } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/PurchasePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "PurchasePublisherNotificationMessage", + "properties": { + "title": "New subscriptions", + "description": "The following email recipients and users will receive email notifications about new API product subscriptions.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewApplicationNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewApplicationNotificationMessage", + "properties": { + "title": "Application gallery requests", + "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/BCC", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "BCC", + "properties": { + "title": "BCC", + "description": "The following recipients will receive blind carbon copies of all emails sent to developers.", + "recipients": { + "emails": [], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/NewIssuePublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "NewIssuePublisherNotificationMessage", + "properties": { + "title": "New issue or comment", + "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/AccountClosedPublisher", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "AccountClosedPublisher", + "properties": { + "title": "Close account message", + "description": "The following email recipients and users will receive email notifications when developer closes his account", + "recipients": { + "emails": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@live.com" + ], + "users": [] + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/QuotaLimitApproachingPublisherNotificationMessage", + "type": "Microsoft.ApiManagement/service/notifications", + "name": "QuotaLimitApproachingPublisherNotificationMessage", + "properties": { + "title": "Approaching subscription quota limit", + "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.", + "recipients": { + "emails": [], + "users": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1" + ] + } + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOpenIdConnectProviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOpenIdConnectProviders.json index 4e0e02888f6c..48a4384151d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOpenIdConnectProviders.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOpenIdConnectProviders.json @@ -1,29 +1,29 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", - "type": "Microsoft.ApiManagement/service/openidconnectproviders", - "name": "templateOpenIdConnect2", - "properties": { - "displayName": "templateoidprovider2", - "description": "open id provider template2", - "metadataEndpoint": "https://oidprovider-template2.net", - "clientId": "oidprovidertemplate2", - "clientSecret": "oidsecretproviderTemplate2" - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2", + "type": "Microsoft.ApiManagement/service/openidconnectproviders", + "name": "templateOpenIdConnect2", + "properties": { + "displayName": "templateoidprovider2", + "description": "open id provider template2", + "metadataEndpoint": "https://oidprovider-template2.net", + "clientId": "oidprovidertemplate2", + "clientSecret": "oidsecretproviderTemplate2" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOperations.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOperations.json index 3a324cc049cf..d5f967742505 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOperations.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListOperations.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicies.json index aef1dd4c3f21..60728624561a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicies.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", - "type": "Microsoft.ApiManagement/service/policies", - "name": "policy", - "properties": { - "value": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/policies/policy", + "type": "Microsoft.ApiManagement/service/policies", + "name": "policy", + "properties": { + "value": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicySnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicySnippets.json index cd5da81cfd53..9f6a77d2ca39 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicySnippets.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListPolicySnippets.json @@ -1,21 +1,21 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "scope":"Api" - }, - "responses": { - "200": { - "body": [ - { - "name": "Authenticate with Basic", - "content": "", - "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", - "scope": 268435471 - } - ] + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "scope": "Api" + }, + "responses": { + "200": { + "body": [ + { + "name": "Authenticate with Basic", + "content": "", + "toolTip": "Authenticate with the backend service using Basic authentication. Use in the inbound section at API scope.", + "scope": 268435471 } + ] } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductApis.json index 18036907d34f..c5d6531edaad 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductApis.json @@ -1,34 +1,34 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "5768181ea40f7eb6c49f6ac7" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", - "type": "Microsoft.ApiManagement/service/products/apis", - "name": "57681820a40f7eb6c49f6aca", - "properties": { - "displayName": "api_57681820a40f7eb6c49f6acb", - "apiRevision": "1", - "description": "description_57681820a40f7eb6c49f6acc", - "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", - "path": "suffix_57681820a40f7eb6c49f6ace", - "protocols": [ - "https" - ], - "isCurrent": true - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "5768181ea40f7eb6c49f6ac7" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7/apis/57681820a40f7eb6c49f6aca", + "type": "Microsoft.ApiManagement/service/products/apis", + "name": "57681820a40f7eb6c49f6aca", + "properties": { + "displayName": "api_57681820a40f7eb6c49f6acb", + "apiRevision": "1", + "description": "description_57681820a40f7eb6c49f6acc", + "serviceUrl": "http://contoso/57681820a40f7eb6c49f6acd", + "path": "suffix_57681820a40f7eb6c49f6ace", + "protocols": [ + "https" + ], + "isCurrent": true } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductGroups.json index 99e86518f411..9d346ae80193 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductGroups.json @@ -1,51 +1,51 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020001", - "properties": { - "displayName": "Administrators", - "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", - "type": "Microsoft.ApiManagement/service/products/groups", - "name": "5600b57e7e8880006a020003", - "properties": { - "displayName": "Guests", - "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020001", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020001", + "properties": { + "displayName": "Administrators", + "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.", + "builtIn": true, + "type": "system" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/groups/5600b57e7e8880006a020003", + "type": "Microsoft.ApiManagement/service/products/groups", + "name": "5600b57e7e8880006a020003", + "properties": { + "displayName": "Guests", + "description": "Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.", + "builtIn": true, + "type": "system" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductPolicies.json index 6f3f9d9c1dea..cf2b43cb5089 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductPolicies.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductPolicies.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductSubscriptions.json index 2a2f3be079ef..a3364181e6d8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductSubscriptions.json @@ -1,31 +1,31 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "productId": "5600b57e7e8880006a060002" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", - "type": "Microsoft.ApiManagement/service/products/subscriptions", - "name": "5600b57e7e8880006a070002", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", - "state": "active", - "createdDate": "2015-09-22T01:57:18.723Z", - "primaryKey": "ba95768e868648848e215f0290eec023", - "secondaryKey": "140f866def81419b9bb9732d05d24535" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "productId": "5600b57e7e8880006a060002" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002/subscriptions/5600b57e7e8880006a070002", + "type": "Microsoft.ApiManagement/service/products/subscriptions", + "name": "5600b57e7e8880006a070002", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b57e7e8880006a060002", + "state": "active", + "createdDate": "2015-09-22T01:57:18.723Z", + "primaryKey": "ba95768e868648848e215f0290eec023", + "secondaryKey": "140f866def81419b9bb9732d05d24535" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductTags.json index afef4f3cfdb5..3ce2e5498a20 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductTags.json @@ -6,21 +6,21 @@ "subscriptionId": "subid", "productId": "57d2ef278aa04f0888cba3f1" }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b539c53f5b0062060002", - "properties": { - "displayName": "tag1" - } - } - ], - "nextLink": "" + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b539c53f5b0062060002", + "properties": { + "displayName": "tag1" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProducts.json index 81ebdb300cb9..57f955c2d42d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProducts.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProducts.json @@ -1,55 +1,55 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", - "type": "Microsoft.ApiManagement/service/products", - "name": "kjoshiarmtemplateCert1", - "properties": { - "displayName": "Dev", - "description": "Development Product", - "subscriptionRequired": false, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", - "type": "Microsoft.ApiManagement/service/products", - "name": "starter", - "properties": { - "displayName": "Starter", - "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", - "terms": "", - "subscriptionRequired": true, - "approvalRequired": false, - "subscriptionsLimit": 1, - "state": "published" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", - "type": "Microsoft.ApiManagement/service/products", - "name": "unlimited", - "properties": { - "displayName": "Unlimited", - "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", - "subscriptionRequired": true, - "approvalRequired": true, - "subscriptionsLimit": 1, - "state": "published" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/kjoshiarmtemplateCert1", + "type": "Microsoft.ApiManagement/service/products", + "name": "kjoshiarmtemplateCert1", + "properties": { + "displayName": "Dev", + "description": "Development Product", + "subscriptionRequired": false, + "state": "published" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter", + "type": "Microsoft.ApiManagement/service/products", + "name": "starter", + "properties": { + "displayName": "Starter", + "description": "Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.", + "terms": "", + "subscriptionRequired": true, + "approvalRequired": false, + "subscriptionsLimit": 1, + "state": "published" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/unlimited", + "type": "Microsoft.ApiManagement/service/products", + "name": "unlimited", + "properties": { + "displayName": "Unlimited", + "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.", + "subscriptionRequired": true, + "approvalRequired": true, + "subscriptionsLimit": 1, + "state": "published" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductsByTags.json index 4c08b17f828b..d4511cd072cc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductsByTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProductsByTags.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProperties.json index 1af0f16690dc..fdafbcbfad1b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProperties.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListProperties.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListRegions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListRegions.json index 7f41d692eed3..ee5605b47395 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListRegions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListRegions.json @@ -1,23 +1,23 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "West US", - "isMasterRegion": true, - "isDeleted": false - } - ], - "count": 1, - "nextLink": "" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "West US", + "isMasterRegion": true, + "isDeleted": false + } + ], + "count": 1, + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Consumption.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Consumption.json index 971a6116bc1b..5858c1519ed6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Consumption.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Consumption.json @@ -1,24 +1,24 @@ { - "parameters": { - "api-version": "2019-01-01", - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Consumption" - }, - "capacity": null - } - ], - "nextLink": null - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-01-01", + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Consumption" + }, + "capacity": null + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Dedicated.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Dedicated.json index e7544762e8a3..576ff1d19c40 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Dedicated.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSKUs-Dedicated.json @@ -1,65 +1,65 @@ { - "parameters": { - "api-version": "2019-01-01", - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Developer" - }, - "capacity": { - "minimum": 1, - "maximum": 1, - "default": 1, - "scaleType": "none" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Basic" - }, - "capacity": { - "minimum": 1, - "maximum": 2, - "default": 1, - "scaleType": "manual" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Standard" - }, - "capacity": { - "minimum": 1, - "maximum": 4, - "default": 1, - "scaleType": "automatic" - } - }, - { - "resourceType": "Microsoft.ApiManagement/service", - "sku": { - "name": "Premium" - }, - "capacity": { - "minimum": 1, - "maximum": 10, - "default": 1, - "scaleType": "automatic" - } - } - ], - "nextLink": null - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-01-01", + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Developer" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "none" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Basic" + }, + "capacity": { + "minimum": 1, + "maximum": 2, + "default": 1, + "scaleType": "manual" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Standard" + }, + "capacity": { + "minimum": 1, + "maximum": 4, + "default": 1, + "scaleType": "automatic" + } + }, + { + "resourceType": "Microsoft.ApiManagement/service", + "sku": { + "name": "Premium" + }, + "capacity": { + "minimum": 1, + "maximum": 10, + "default": 1, + "scaleType": "automatic" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscription.json index d8853b820f17..691d11538394 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscription.json @@ -1,164 +1,164 @@ { - "parameters": { - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json index 86ace59f82e8..661e02918722 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json @@ -1,162 +1,162 @@ { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", - "name": "apimService3", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXXAQ=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-27T15:33:55.5426123Z", - "gatewayUrl": "https://apimService3.azure-api.net", - "portalUrl": "https://apimService3.portal.azure-api.net", - "managementApiUrl": "https://apimService3.management.azure-api.net", - "scmUrl": "https://apimService3.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.88.16.64" - ], - "additionalLocations": [ - { - "location": "West Europe", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "52.233.184.197" - ] - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", - "name": "apimService2", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW4U=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "MS", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T23:55:31.1405115Z", - "gatewayUrl": "https://apimService2.azure-api.net", - "portalUrl": "https://apimService2.portal.azure-api.net", - "managementApiUrl": "https://apimService2.management.azure-api.net", - "scmUrl": "https://apimService2.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "13.64.237.151" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Developer", - "capacity": 1 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", - "name": "apimService5", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAAXW5c=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-05-26T18:13:02.0196315Z", - "gatewayUrl": "https://apimService5.azure-api.net", - "portalUrl": "https://apimService5.portal.azure-api.net", - "managementApiUrl": "https://apimService5.management.azure-api.net", - "scmUrl": "https://apimService5.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxytemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname1.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname2.contoso.com", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=proxytemplatehostname2.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname3.azure-api.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname3.contoso.com" - } - }, - { - "type": "Proxy", - "hostName": "proxytemplatehostname4.azure-api.net", - "negotiateClientCertificate": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=proxytemplatehostname4.contoso.com" - } - }, - { - "type": "Portal", - "hostName": "portaltemplatehostname1.contoso.com", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", - "subject": "CN=portaltemplatehostname1.contoso.com" - } - } - ], - "publicIPAddresses": [ - "13.93.167.166" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } - ] + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService3", + "name": "apimService3", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXXAQ=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-27T15:33:55.5426123Z", + "gatewayUrl": "https://apimService3.azure-api.net", + "portalUrl": "https://apimService3.portal.azure-api.net", + "managementApiUrl": "https://apimService3.management.azure-api.net", + "scmUrl": "https://apimService3.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.88.16.64" + ], + "additionalLocations": [ + { + "location": "West Europe", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "52.233.184.197" + ] + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService2", + "name": "apimService2", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW4U=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "MS", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T23:55:31.1405115Z", + "gatewayUrl": "https://apimService2.azure-api.net", + "portalUrl": "https://apimService2.portal.azure-api.net", + "managementApiUrl": "https://apimService2.management.azure-api.net", + "scmUrl": "https://apimService2.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "13.64.237.151" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Developer", + "capacity": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService5", + "name": "apimService5", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAAXW5c=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-05-26T18:13:02.0196315Z", + "gatewayUrl": "https://apimService5.azure-api.net", + "portalUrl": "https://apimService5.portal.azure-api.net", + "managementApiUrl": "https://apimService5.management.azure-api.net", + "scmUrl": "https://apimService5.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxytemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname1.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname2.contoso.com", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=proxytemplatehostname2.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname3.azure-api.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname3.contoso.com" + } + }, + { + "type": "Proxy", + "hostName": "proxytemplatehostname4.azure-api.net", + "negotiateClientCertificate": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=proxytemplatehostname4.contoso.com" + } + }, + { + "type": "Portal", + "hostName": "portaltemplatehostname1.contoso.com", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "DE57B67BA63D21E925DA8BEFA436E6B7553A4C19", + "subject": "CN=portaltemplatehostname1.contoso.com" + } + } + ], + "publicIPAddresses": [ + "13.93.167.166" + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSubscriptions.json index 541492cdedb7..a3e2d9804384 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListSubscriptions.json @@ -1,61 +1,61 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5600b59475ff190048070001", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "state": "active", - "createdDate": "2015-09-22T01:57:40.3Z", - "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", - "secondaryKey": "b366198986614a7497a5a68fae19119d" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "56eaed3dbaf08b06e46d27fe", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", - "displayName": "Starter", - "state": "active", - "createdDate": "2016-03-17T17:45:33.837Z", - "startDate": "2016-03-17T00:00:00Z", - "expirationDate": "2016-04-01T00:00:00Z", - "notificationDate": "2016-03-20T00:00:00Z", - "primaryKey": "77708695e79a495bb99b95f32adfa1f0", - "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "5931a769d8d14f0ad8ce13b8", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "Unlimited", - "state": "submitted", - "createdDate": "2017-06-02T17:59:06.223Z", - "primaryKey": "6de0a3b2da204e459148d2f6785873f0", - "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5600b59475ff190048070001", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5600b59475ff190048070001", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "state": "active", + "createdDate": "2015-09-22T01:57:40.3Z", + "primaryKey": "a24782fc06f648cbb1c3406c41dc9a3a", + "secondaryKey": "b366198986614a7497a5a68fae19119d" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/56eaed3dbaf08b06e46d27fe", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "56eaed3dbaf08b06e46d27fe", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060001", + "displayName": "Starter", + "state": "active", + "createdDate": "2016-03-17T17:45:33.837Z", + "startDate": "2016-03-17T00:00:00Z", + "expirationDate": "2016-04-01T00:00:00Z", + "notificationDate": "2016-03-20T00:00:00Z", + "primaryKey": "77708695e79a495bb99b95f32adfa1f0", + "secondaryKey": "12e2e4ba857e420b88450dc8fe2a6cf9" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/5931a769d8d14f0ad8ce13b8", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "5931a769d8d14f0ad8ce13b8", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "Unlimited", + "state": "submitted", + "createdDate": "2017-06-02T17:59:06.223Z", + "primaryKey": "6de0a3b2da204e459148d2f6785873f0", + "secondaryKey": "c6de00b451f64ea780db1eb8dcf30b62" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTagResources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTagResources.json index 8ca5ea0d25cd..9e9e0087f955 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTagResources.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTagResources.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTags.json index bd3966347dad..c5d05c06118d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTags.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListTags.json @@ -1,33 +1,33 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020001", - "properties": { - "displayName": "tag1" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", - "type": "Microsoft.ApiManagement/service/tags", - "name": "5600b59375ff190048020002", - "properties": { - "displayName": "tag2" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020001", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020001", + "properties": { + "displayName": "tag1" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b59375ff190048020002", + "type": "Microsoft.ApiManagement/service/tags", + "name": "5600b59375ff190048020002", + "properties": { + "displayName": "tag2" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserGroups.json index 6bc4322759ef..ebdc04c038b5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserGroups.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserGroups.json @@ -1,29 +1,29 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", - "type": "Microsoft.ApiManagement/service/users/groups", - "name": "5600b57e7e8880006a020002", - "properties": { - "displayName": "Developers", - "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", - "builtIn": true, - "type": "system" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/groups/5600b57e7e8880006a020002", + "type": "Microsoft.ApiManagement/service/users/groups", + "name": "5600b57e7e8880006a020002", + "properties": { + "displayName": "Developers", + "description": "Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.", + "builtIn": true, + "type": "system" } - } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserIdentities.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserIdentities.json index 999412f1e2a2..c6e632fbba4f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserIdentities.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserIdentities.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserSubscriptions.json index 93749316806e..cd83b5c8b0f1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserSubscriptions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUserSubscriptions.json @@ -1,48 +1,48 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "57681833a40f7eb6c49f6acf" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6ae3", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6ae5", - "state": "active", - "createdDate": "2016-06-20T16:22:39.547Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6ae4", - "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", - "type": "Microsoft.ApiManagement/service/users/subscriptions", - "name": "57681850a40f7eb6c49f6b2b", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", - "displayName": "57681850a40f7eb6c49f6b2d", - "state": "active", - "createdDate": "2016-06-20T16:22:41.103Z", - "startDate": "2016-06-20T00:00:00Z", - "primaryKey": "57681850a40f7eb6c49f6b2c", - "secondaryKey": "125f565d276647dc825d7f25ea40ee57" - } - } - ], - "nextLink": "" + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "57681833a40f7eb6c49f6acf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6ae3", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6ae3", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6ae5", + "state": "active", + "createdDate": "2016-06-20T16:22:39.547Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6ae4", + "secondaryKey": "bbd884a96b3c41b49f34422dac74b345" } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf/subscriptions/57681850a40f7eb6c49f6b2b", + "type": "Microsoft.ApiManagement/service/users/subscriptions", + "name": "57681850a40f7eb6c49f6b2b", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57681833a40f7eb6c49f6acf", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5768181ea40f7eb6c49f6ac7", + "displayName": "57681850a40f7eb6c49f6b2d", + "state": "active", + "createdDate": "2016-06-20T16:22:41.103Z", + "startDate": "2016-06-20T00:00:00Z", + "primaryKey": "57681850a40f7eb6c49f6b2c", + "secondaryKey": "125f565d276647dc825d7f25ea40ee57" + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUsers.json index 74654aa29801..302b8461aa74 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementListUsers.json @@ -1,71 +1,71 @@ { - "parameters": { - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", - "type": "Microsoft.ApiManagement/service/users", - "name": "1", - "properties": { - "firstName": "Administrator", - "lastName": "", - "email": "admin@live.com", - "state": "active", - "registrationDate": "2015-09-22T01:57:39.677Z", - "identities": [ - { - "provider": "Azure", - "id": "admin@live.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", - "type": "Microsoft.ApiManagement/service/users", - "name": "56eaec62baf08b06e46d27fd", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foo.bar.83@gmail.com", - "state": "active", - "registrationDate": "2016-03-17T17:41:56.327Z", - "identities": [ - { - "provider": "Basic", - "id": "foo.bar.83@gmail.com" - } - ] - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", - "type": "Microsoft.ApiManagement/service/users", - "name": "5931a75ae4bbd512a88c680b", - "properties": { - "firstName": "foo", - "lastName": "bar", - "email": "foobar@outlook.com", - "state": "active", - "registrationDate": "2017-06-02T17:58:50.357Z", - "identities": [ - { - "provider": "Microsoft", - "id": "*************" - } - ] - } - } - ], - "nextLink": "" + "parameters": { + "resourceGroupName": "rg1", + "serviceName": "apimService1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1", + "type": "Microsoft.ApiManagement/service/users", + "name": "1", + "properties": { + "firstName": "Administrator", + "lastName": "", + "email": "admin@live.com", + "state": "active", + "registrationDate": "2015-09-22T01:57:39.677Z", + "identities": [ + { + "provider": "Azure", + "id": "admin@live.com" + } + ] } - } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/56eaec62baf08b06e46d27fd", + "type": "Microsoft.ApiManagement/service/users", + "name": "56eaec62baf08b06e46d27fd", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foo.bar.83@gmail.com", + "state": "active", + "registrationDate": "2016-03-17T17:41:56.327Z", + "identities": [ + { + "provider": "Basic", + "id": "foo.bar.83@gmail.com" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b", + "type": "Microsoft.ApiManagement/service/users", + "name": "5931a75ae4bbd512a88c680b", + "properties": { + "firstName": "foo", + "lastName": "bar", + "email": "foobar@outlook.com", + "state": "active", + "registrationDate": "2017-06-02T17:58:50.357Z", + "identities": [ + { + "provider": "Microsoft", + "id": "*************" + } + ] + } + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetDelegation.json index 67d5494357d5..ec36bd0a51e2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetDelegation.json @@ -1,27 +1,27 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "delegation", - "properties": { - "url": "http://contoso.com/delegation", - "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", - "subscriptions": { - "enabled": true - }, - "userRegistration": { - "enabled": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/delegation", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "delegation", + "properties": { + "url": "http://contoso.com/delegation", + "validationKey": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q==", + "subscriptions": { + "enabled": true + }, + "userRegistration": { + "enabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignIn.json index 0f9218ffa2b8..b6d54ea033d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignIn.json @@ -1,20 +1,20 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signin", - "properties": { - "enabled": true - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signin", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signin", + "properties": { + "enabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignUp.json index 2781d84c29cf..8b84b457ddb0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsGetSignUp.json @@ -1,25 +1,25 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", - "type": "Microsoft.ApiManagement/service/portalsettings", - "name": "signup", - "properties": { - "enabled": true, - "termsOfService": { - "text": "Terms of service text.", - "enabled": true, - "consentRequired": true - } - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalsettings/signup", + "type": "Microsoft.ApiManagement/service/portalsettings", + "name": "signup", + "properties": { + "enabled": true, + "termsOfService": { + "text": "Terms of service text.", + "enabled": true, + "consentRequired": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutDelegation.json index 4a9a6bdf8c6c..2d479f6ff32a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutDelegation.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignIn.json index 4beed045510a..574fd0667446 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignIn.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignUp.json index eb58498fbca4..a6a15da30c00 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsPutSignUp.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json index 536e61b78b1c..a11b16bb50cc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateDelegation.json @@ -22,4 +22,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json index 0000ec30055f..6328b0ed9d25 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignIn.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json index 8a2049e9832f..3004ff74adab 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementPortalSettingsUpdateSignUp.json @@ -20,4 +20,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementRestoreService.json index f805c846207e..ea769d7ffb93 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementRestoreService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementRestoreService.json @@ -1,53 +1,53 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "parameters": { - "storageAccount": "teststorageaccount", - "accessKey": "**************************************************", - "containerName": "backupContainer", - "backupName": "apimService1backup_2017_03_19" - } + "storageAccount": "teststorageaccount", + "accessKey": "**************************************************", + "containerName": "backupContainer", + "backupName": "apimService1backup_2017_03_19" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" + } }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2019-01-01" - } + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" + }, + "location": "East Asia", + "etag": "AAAAAAAXX6Y=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2015-09-22T01:50:34.7921566Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "207.46.155.24" + ], + "virtualNetworkType": "None" }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "UID": "52ed5986-717b-45b4-b17c-3df8db372cff" - }, - "location": "East Asia", - "etag": "AAAAAAAXX6Y=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2015-09-22T01:50:34.7921566Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "207.46.155.24" - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } - } + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceCheckNameAvailability.json index a5686d6d87df..cf1b1f4f5b80 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceCheckNameAvailability.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceCheckNameAvailability.json @@ -4,7 +4,7 @@ "api-version": "2019-01-01", "subscriptionId": "subid", "parameters": { - "name" : "apimService1" + "name": "apimService1" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceDeleteService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceDeleteService.json index c223b3d90e03..5c5ef318f903 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceDeleteService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceDeleteService.json @@ -57,4 +57,4 @@ "204": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json index d5a0d8ddd444..03f450550fac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -1,88 +1,88 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", - "name": "apimservice1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAADqC0c=", - "properties": { - "publisherEmail": "abcs@contoso.com", - "publisherName": "contoso publisher", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-02T01:42:09.1268424Z", - "gatewayUrl": "https://apimservice1.azure-api.net", - "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimservice1.portal.azure-api.net", - "managementApiUrl": "https://apimservice1.management.azure-api.net", - "scmUrl": "https://apimservice1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "apimgatewaytest.preview.net", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2019-08-16T16:51:34+00:00", - "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", - "subject": "CN=*.preview.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "137.XXX.11.74" - ], - "privateIPAddresses": [ - "172.XX.0.5" - ], - "additionalLocations": [ - { - "location": "West US 2", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.XXX.79.187" - ], - "privateIPAddresses": [ - "10.0.X.6" - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" - }, - "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" - } - ], - "virtualNetworkConfiguration": { - "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" - }, - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" - }, - "virtualNetworkType": "Internal" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimservice1", + "name": "apimservice1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAADqC0c=", + "properties": { + "publisherEmail": "abcs@contoso.com", + "publisherName": "contoso publisher", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-02T01:42:09.1268424Z", + "gatewayUrl": "https://apimservice1.azure-api.net", + "gatewayRegionalUrl": "https://apimservice1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimservice1.portal.azure-api.net", + "managementApiUrl": "https://apimservice1.management.azure-api.net", + "scmUrl": "https://apimservice1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "apimgatewaytest.preview.net", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2019-08-16T16:51:34+00:00", + "thumbprint": "B4330123DBAXXXXXXXXX1F35E84493476", + "subject": "CN=*.preview.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "137.XXX.11.74" + ], + "privateIPAddresses": [ + "172.XX.0.5" + ], + "additionalLocations": [ + { + "location": "West US 2", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.XXX.79.187" + ], + "privateIPAddresses": [ + "10.0.X.6" + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/APIMVNet/subnets/apim-internal-sub" + }, + "gatewayRegionalUrl": "https://apimservice1-westus2-01.regional.azure-api.net" + } + ], + "virtualNetworkConfiguration": { + "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/apim-appGateway-vnet/subnets/apim-subnet" + }, + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True", + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False" + }, + "virtualNetworkType": "Internal" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatus.json index dd16ff9e9320..97fa0aea7075 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatus.json @@ -108,4 +108,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json index de6ac8eaaa84..a868ba4e7288 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetService.json index d4f4250085fe..782f3982977e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetService.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetService.json @@ -1,89 +1,89 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "Central US", - "etag": "AAAAAAAYP5M=", - "properties": { - "publisherEmail": "contoso@microsoft.com", - "publisherName": "admin", - "notificationSenderEmail": "contoso@live.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-28T23:01:33.0667959Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "proxyhostname4.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Proxy", - "hostName": "proxyhostname9.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": true, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - }, - { - "type": "Portal", - "hostName": "portalhostname2.contoso.net", - "negotiateClientCertificate": false, - "defaultSslBinding": false, - "certificate": { - "expiry": "2018-03-17T21:55:07+00:00", - "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", - "subject": "CN=*.contoso.net" - } - } - ], - "publicIPAddresses": [ - "52.173.22.222" - ], - "additionalLocations": [ - { - "location": "West US", - "sku": { - "name": "Premium", - "capacity": 1 - }, - "publicIPAddresses": [ - "40.78.99.244" - ], - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" - } - ], - "virtualNetworkType": "None" - }, - "sku": { - "name": "Premium", - "capacity": 1 - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "Central US", + "etag": "AAAAAAAYP5M=", + "properties": { + "publisherEmail": "contoso@microsoft.com", + "publisherName": "admin", + "notificationSenderEmail": "contoso@live.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-28T23:01:33.0667959Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "proxyhostname4.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Proxy", + "hostName": "proxyhostname9.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": true, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } + }, + { + "type": "Portal", + "hostName": "portalhostname2.contoso.net", + "negotiateClientCertificate": false, + "defaultSslBinding": false, + "certificate": { + "expiry": "2018-03-17T21:55:07+00:00", + "thumbprint": "918D7785B926AC5AEE66322778A147BCE7237CF3", + "subject": "CN=*.contoso.net" + } } + ], + "publicIPAddresses": [ + "52.173.22.222" + ], + "additionalLocations": [ + { + "location": "West US", + "sku": { + "name": "Premium", + "capacity": 1 + }, + "publicIPAddresses": [ + "40.78.99.244" + ], + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net" + } + ], + "virtualNetworkType": "None" + }, + "sku": { + "name": "Premium", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json index c66a150a02dc..fa494a5a91af 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -1,58 +1,58 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": {}, - "location": "West US", - "etag": "AAAAAAC2jkE=", - "properties": { - "publisherEmail": "admin@contoso.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "createdAtUtc": "2017-10-13T16:56:47.0174063Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [ - { - "type": "Proxy", - "hostName": "foobar.msitesting.net", - "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", - "negotiateClientCertificate": false, - "certificate": { - "expiry": "2036-01-01T07:00:00+00:00", - "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", - "subject": "CN=*.msitesting.net" - }, - "defaultSslBinding": true - } - ], - "publicIPAddresses": [ - "13.xx.76.xxx" - ] - }, - "sku": { - "name": "Developer", - "capacity": 1 - }, - "identity": { - "type": "SystemAssigned", - "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", - "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": {}, + "location": "West US", + "etag": "AAAAAAC2jkE=", + "properties": { + "publisherEmail": "admin@contoso.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "createdAtUtc": "2017-10-13T16:56:47.0174063Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [ + { + "type": "Proxy", + "hostName": "foobar.msitesting.net", + "keyVaultId": "https://constoso-msi-keyvault.vault.azure.net/secrets/msitestingCert", + "negotiateClientCertificate": false, + "certificate": { + "expiry": "2036-01-01T07:00:00+00:00", + "thumbprint": "8E98XXX52CAXXXXXXX2C91F1D174FDB3A2", + "subject": "CN=*.msitesting.net" + }, + "defaultSslBinding": true } + ], + "publicIPAddresses": [ + "13.xx.76.xxx" + ] + }, + "sku": { + "name": "Developer", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "ae7d906a-xxx-408a-xxxx-6b9d60e5756b", + "tenantId": "72f988bf-xxx-41af-xxxx-2d7cd011db47" } + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetSsoToken.json index 39c1543942d4..ede2565cdbfd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetSsoToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementServiceGetSsoToken.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json index 4cce06771920..b509dcc824ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json index 4cce06771920..b509dcc824ff 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "sid": "testsub" - }, - "responses": { - "204": { } - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "sid": "testsub" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessRegenerateKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessRegenerateKey.json index 9a5f903acc2e..9538aa178736 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessRegenerateKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessRegenerateKey.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "accessName": "access" - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "accessName": "access" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessSyncState.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessSyncState.json index 67b375c38c70..4ccd9e941543 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessSyncState.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantAccessSyncState.json @@ -1,22 +1,22 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "configurationName": "configuration" - }, - "responses": { - "200": { - "body": { - "branch": "master", - "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", - "isExport": true, - "isSynced": false, - "isGitEnabled": true, - "syncDate": "2016-10-24T19:17:14.3641403Z", - "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" - } - } + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "configurationName": "configuration" + }, + "responses": { + "200": { + "body": { + "branch": "master", + "commitId": "44c29c27a876372e2ea18d9c381cc493a6a89fc5", + "isExport": true, + "isSynced": false, + "isGitEnabled": true, + "syncDate": "2016-10-24T19:17:14.3641403Z", + "configurationChangeDate": "2017-06-03T00:41:30.9670873Z" + } } -} \ No newline at end of file + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationDeploy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationDeploy.json index 4e740e1606df..60ebc18d0a2f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationDeploy.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationDeploy.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationSave.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationSave.json index 62123008550d..d7b1aa943df9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationSave.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationSave.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationValidate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationValidate.json index 968d21638945..f61b7e494e9e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationValidate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementTenantConfigurationValidate.json @@ -169,4 +169,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApi.json index ae72224d9bb8..e146d0a334cb 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApi.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApi.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiDiagnostic.json index 3d29d7e1f971..b57557445799 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiDiagnostic.json @@ -57,4 +57,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiIssue.json index e951cb5ab38f..b4287790aa1f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiIssue.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiIssue.json @@ -1,19 +1,19 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "issueId": "57d2ef278aa04f0ad01d6cdc", + "apiId": "57d1f7558aa04f15146d9d8a", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "issueId": "57d2ef278aa04f0ad01d6cdc", - "apiId": "57d1f7558aa04f15146d9d8a", - "If-Match": "*", - "parameters": { - "properties": { - "state": "closed" - } + "properties": { + "state": "closed" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiOperation.json index dee1f9894a85..82f3052366f5 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiOperation.json @@ -5,7 +5,7 @@ "api-version": "2019-01-01", "subscriptionId": "subid", "apiId": "echo-api", - "operationId":"operationId", + "operationId": "operationId", "If-Match": "*", "parameters": { "properties": { @@ -47,4 +47,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiRelease.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiRelease.json index 161e332f1231..6d4fba767282 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiRelease.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiRelease.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "a1", + "releaseId": "testrev", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "apiId": "a1", - "releaseId": "testrev", - "If-Match": "*", - "parameters": { - "properties": { - "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", - "notes": "yahooagain" - } - } - }, - "responses": { - "204": { } + "properties": { + "apiId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1", + "notes": "yahooagain" + } } -} \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiVersionSet.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiVersionSet.json index a9655ca050a4..877f98842ff0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiVersionSet.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateApiVersionSet.json @@ -1,20 +1,20 @@ { + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "versionSetId": "api1", + "If-Match": "*", "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "versionSetId": "api1", - "If-Match":"*", - "parameters": { - "properties": { - "displayName" : "api set 1", - "versioningScheme" : "Segment", - "description" : "Version configuration" - } + "properties": { + "displayName": "api set 1", + "versioningScheme": "Segment", + "description": "Version configuration" } - }, - "responses": { - "204": { } } - } \ No newline at end of file + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateAuthorizationServer.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateAuthorizationServer.json index 6b6698ac2ef7..d5cdd66fdb41 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateAuthorizationServer.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateAuthorizationServer.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateBackend.json index 6f0841238adf..6cd24eb3295e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateBackend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateBackend.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateCache.json index ed7d30c90636..cf4fe8535b94 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateCache.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateCache.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateDiagnostic.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateDiagnostic.json index 29a4007fc6ea..3a0a387e5a0b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateDiagnostic.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateDiagnostic.json @@ -56,4 +56,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateEmailTemplate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateEmailTemplate.json index d4c5ff757fd5..7ed6ce5a0d7c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateEmailTemplate.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateEmailTemplate.json @@ -14,6 +14,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateGroup.json index 05ed9777a6ec..bb586591ca51 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateGroup.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateGroup.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateIdentityProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateIdentityProvider.json index 5aea6f076f56..e0e6ea521773 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateIdentityProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateIdentityProvider.json @@ -16,4 +16,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateLogger.json index 4868a1a0968b..676075eb4707 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateLogger.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateLogger.json @@ -18,4 +18,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json index f231819b6f04..eb30f5299eaf 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateOpenIdConnectProvider.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProduct.json index c6fb4a10d5bf..db513798b97e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProduct.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProduct.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProperty.json index d0b0915397ca..caa4ca0ff1f4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateProperty.json @@ -19,4 +19,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKey.json index 92d57507f457..d15865cc0389 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKey.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKey.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json index e8664071ea67..60d47d967f40 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json index de2fbd314f32..c4497e25b8db 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json index 0db7171133c6..f87e33ecb3fe 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -61,7 +61,7 @@ "location": "West US", "etag": "AAAAAAAYRPs=", "properties": { - "publisherEmail": "foobar@live.com", + "publisherEmail": "foobar@live.com", "publisherName": "Contoso Vnext", "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", "provisioningState": "Succeeded", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateSubscription.json index 1a1bf2644518..c6482785108c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateSubscription.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTag.json index 1a9018d8b4e0..87a44efa8847 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTag.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTag.json @@ -15,4 +15,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTenantAccess.json index a2dacf21634e..9fbcb15b72d4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateTenantAccess.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateUser.json index c78e4921fa13..9fc10c1e5925 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateUser.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateUser.json @@ -15,6 +15,6 @@ } }, "responses": { - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserConfirmationPasswordSend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserConfirmationPasswordSend.json index 0906181ceea7..176aed141a77 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserConfirmationPasswordSend.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserConfirmationPasswordSend.json @@ -1,12 +1,12 @@ { - "parameters": { - "serviceName": "apimService1", - "resourceGroupName": "rg1", - "api-version": "2019-01-01", - "subscriptionId": "subid", - "userId": "57127d485157a511ace86ae7" - }, - "responses": { - "204": { } - } - } \ No newline at end of file + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "userId": "57127d485157a511ace86ae7" + }, + "responses": { + "204": {} + } +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserGenerateSsoUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserGenerateSsoUrl.json index 1a88852b331e..554e0da53912 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserGenerateSsoUrl.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserGenerateSsoUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserToken.json index d972e3c184bc..83a4653db416 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserToken.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUserToken.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} From b4c78e264d4f2d07e0b794c22fc6f1fb2af8108b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 12 Jun 2019 19:32:03 -0400 Subject: [PATCH 020/495] chore: jsonfmt blockchain (#6310) Ran `jsonfmt -w "specification/blockchain/**/*.json"` --- .../2018-06-01-preview/blockchain.json | 92 +++++------ .../BlockchainMemberOperationResults_Get.json | 20 +-- .../examples/BlockchainMembers_Create.json | 146 +++++++++--------- .../examples/BlockchainMembers_Delete.json | 20 +-- .../examples/BlockchainMembers_Get.json | 70 ++++----- .../examples/BlockchainMembers_List.json | 77 +++++---- .../examples/BlockchainMembers_ListAll.json | 75 +++++---- .../BlockchainMembers_ListApiKeys.json | 44 +++--- ...ockchainMembers_ListConsortiumMembers.json | 64 ++++---- ...ockchainMembers_ListRegenerateApiKeys.json | 50 +++--- .../examples/BlockchainMembers_Update.json | 84 +++++----- .../Locations_CheckNameAvailability.json | 26 ++-- .../examples/Locations_ListConsortiums.json | 40 ++--- .../examples/Operations_List.json | 16 +- .../examples/Skus_List.json | 14 +- .../examples/TransactionNodes_Create.json | 92 +++++------ .../examples/TransactionNodes_Delete.json | 22 +-- .../examples/TransactionNodes_Get.json | 50 +++--- .../examples/TransactionNodes_List.json | 56 +++---- .../TransactionNodes_ListApiKeys.json | 46 +++--- ...ransactionNodes_ListRegenerateApiKeys.json | 52 +++---- .../examples/TransactionNodes_Update.json | 60 +++---- 22 files changed, 607 insertions(+), 609 deletions(-) diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json index 2cde3a49e51e..8fc167645305 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json @@ -948,7 +948,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/TrackedResource" + "$ref": "#/definitions/TrackedResource" } ], "properties": { @@ -1065,12 +1065,12 @@ "description": "Tags of the service which is a list of key value pairs that describes the resource.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string" }, "x-ms-mutability": [ - "read", - "create", - "update" + "read", + "create", + "update" ] }, "properties": { @@ -1079,13 +1079,13 @@ "x-ms-client-flatten": true } } - }, + }, "BlockchainMemberPropertiesUpdate": { "description": "Update the payload of the blockchain member properties for a blockchain member.", "type": "object", "allOf": [ { - "$ref": "#/definitions/TransactionNodePropertiesUpdate" + "$ref": "#/definitions/TransactionNodePropertiesUpdate" } ], "properties": { @@ -1466,7 +1466,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "properties": { @@ -1581,52 +1581,52 @@ "description": "The resource model definition for a top level resource.", "type": "object", "allOf": [ - { - "$ref": "#/definitions/Resource" - } + { + "$ref": "#/definitions/Resource" + } ], "properties": { - "location": { - "description": "The GEO location of the blockchain service.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "Tags of the service which is a list of key value pairs that describes the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ] - } + "location": { + "description": "The GEO location of the blockchain service.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "Tags of the service which is a list of key value pairs that describes the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ] + } } }, "Resource": { "description": "The core properties of the resources.", "type": "object", "properties": { - "id": { - "description": "Fully qualified resource Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the service - e.g. \"Microsoft.Blockchain\"", - "type": "string", - "readOnly": true - } + "id": { + "description": "Fully qualified resource Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the service - e.g. \"Microsoft.Blockchain\"", + "type": "string", + "readOnly": true + } }, "x-ms-azure-resource": true } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMemberOperationResults_Get.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMemberOperationResults_Get.json index 436b17b45a43..53aaf3eeb299 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMemberOperationResults_Get.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMemberOperationResults_Get.json @@ -1,18 +1,18 @@ { - "parameters": { + "parameters": { "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", "locationName": "southeastasia", "operationId": "12f4b309-01e3-4fcf-bc0b-1cc034ca03f8", "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "name": "DeleteTransactionNode", - "startTime": "2018-06-23T22:34:00.330Z", - "endTime": "2018-06-23T22:28:04.677Z" - } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "DeleteTransactionNode", + "startTime": "2018-06-23T22:34:00.330Z", + "endTime": "2018-06-23T22:28:04.677Z" + } }, "204": {} } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Create.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Create.json index 65ad503e69f7..dc0b961b6ca7 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Create.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Create.json @@ -1,78 +1,78 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview", - "blockchainMember": { - "location": "southeastasia", - "properties": { - "validatorNodesSku": { - "capacity": 2 - }, - "protocol": "Quorum", - "password": "$@123_34#&", - "consortium": "ContoseConsortium", - "consortiumManagementAccountPassword": "$@123_34#&" - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview", + "blockchainMember": { + "location": "southeastasia", + "properties": { + "validatorNodesSku": { + "capacity": 2 + }, + "protocol": "Quorum", + "password": "$@123_34#&", + "consortium": "ContoseConsortium", + "consortiumManagementAccountPassword": "$@123_34#&" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "contosemember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Updating", + "dns": null, + "userName": "contosemember1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": null, + "consortiumManagementAccountPassword": null, + "consortiumRole": null, + "consortiumMemberDisplayName": null, + "rootContractAddress": null, + "publicKey": null, + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", + "tags": null + } }, - "responses": { - "201": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "contosemember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Updating", - "dns": null, - "userName": "contosemember1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": null, - "consortiumManagementAccountPassword": null, - "consortiumRole": null, - "consortiumMemberDisplayName": null, - "rootContractAddress": null, - "publicKey": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", - "tags": null - } + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "contosemember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Updating", + "dns": null, + "userName": "contosemember1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": null, + "consortiumManagementAccountPassword": null, + "consortiumRole": null, + "consortiumMemberDisplayName": null, + "rootContractAddress": null, + "publicKey": null, + "firewallRules": null }, - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "contosemember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Updating", - "dns": null, - "userName": "contosemember1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": null, - "consortiumManagementAccountPassword": null, - "consortiumRole": null, - "consortiumMemberDisplayName": null, - "rootContractAddress": null, - "publicKey": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", - "tags": null - } - } + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", + "tags": null + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Delete.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Delete.json index a3cab6ef4846..68a02eab33f1 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Delete.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview" - }, - "responses": { - "202": {}, - "204": {} - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "202": {}, + "204": {} + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Get.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Get.json index 14b4128b3278..e384e2a62ecc 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Get.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Get.json @@ -1,38 +1,38 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "contosemember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Succeeded", - "dns": "contosemember1.blockchain.azure.com", - "userName": "contosemember1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": "0xc40d40dedc353885d3e8393735cf799e4d7fe38c", - "consortiumManagementAccountPassword": null, - "consortiumRole": "ADMIN", - "consortiumMemberDisplayName": "contosemember1", - "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", - "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", - "tags": null - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "contosemember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Succeeded", + "dns": "contosemember1.blockchain.azure.com", + "userName": "contosemember1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": "0xc40d40dedc353885d3e8393735cf799e4d7fe38c", + "consortiumManagementAccountPassword": null, + "consortiumRole": "ADMIN", + "consortiumMemberDisplayName": "contosemember1", + "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", + "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", + "tags": null + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_List.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_List.json index 31034cb8b713..ac466ecb6ddd 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_List.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_List.json @@ -1,42 +1,41 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "location": "southeastasia", - "name": "contosemember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Succeeded", - "dns": "contosemember1.blockchain.azure.com", - "userName": "contosemember1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": null, - "consortiumManagementAccountPassword": null, - "consortiumRole": "ADMIN", - "consortiumMemberDisplayName": "contosemember1", - "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", - "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", - "tags": null - } - ] - - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "location": "southeastasia", + "name": "contosemember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Succeeded", + "dns": "contosemember1.blockchain.azure.com", + "userName": "contosemember1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": null, + "consortiumManagementAccountPassword": null, + "consortiumRole": "ADMIN", + "consortiumMemberDisplayName": "contosemember1", + "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", + "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", + "tags": null + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListAll.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListAll.json index 3b1f0f20c541..31c0b496539f 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListAll.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListAll.json @@ -1,41 +1,40 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "location": "southeastasia", - "name": "contosemember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Succeeded", - "dns": "contosemember1.blockchain.azure.com", - "userName": "contosemember1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": null, - "consortiumManagementAccountPassword": null, - "consortiumRole": "ADMIN", - "consortiumMemberDisplayName": "contosemember1", - "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", - "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", - "tags": null - } - ] - - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "location": "southeastasia", + "name": "contosemember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Succeeded", + "dns": "contosemember1.blockchain.azure.com", + "userName": "contosemember1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": null, + "consortiumManagementAccountPassword": null, + "consortiumRole": "ADMIN", + "consortiumMemberDisplayName": "contosemember1", + "rootContractAddress": "0x7407947df2f67142340ca7d1a2c120f0dbfd30e1", + "publicKey": "1VhPX4PbNGnE9dOEjgTrw92dltBpKxFQjXWNugcwvl0=", + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1", + "tags": null + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListApiKeys.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListApiKeys.json index 6dfac89cdccf..c3099f22e9fb 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListApiKeys.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListApiKeys.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "keys": [ - { - "keyName": "key1", - "value": "-EnIUzu29xj60xPJmstyCURo" - }, - { - "keyName": "key2", - "value": "I8P-q4u_WDuCZUBYXnJ3yYX7" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "keys": [ + { + "keyName": "key1", + "value": "-EnIUzu29xj60xPJmstyCURo" + }, + { + "keyName": "key2", + "value": "I8P-q4u_WDuCZUBYXnJ3yYX7" + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListConsortiumMembers.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListConsortiumMembers.json index 607c2a2cb330..b3ecb14a0afd 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListConsortiumMembers.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListConsortiumMembers.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "contosemember1", - "displayName": "Contose member 1", - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "role": "Member", - "status": "Ready", - "joinDate": "2019-04-23T22:34:00.330Z", - "dateModified": "2019-04-23T22:34:00.330Z" - }, - { - "name": "", - "displayName": null, - "subscriptionId": "02bf808a-5446-4e54-aea8-39723aaa05e7", - "role": "ADMIN", - "status": "Invited", - "joinDate": null, - "dateModified": "2019-06-23T22:34:00.330Z" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "contosemember1", + "displayName": "Contose member 1", + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "role": "Member", + "status": "Ready", + "joinDate": "2019-04-23T22:34:00.330Z", + "dateModified": "2019-04-23T22:34:00.330Z" + }, + { + "name": "", + "displayName": null, + "subscriptionId": "02bf808a-5446-4e54-aea8-39723aaa05e7", + "role": "ADMIN", + "status": "Invited", + "joinDate": null, + "dateModified": "2019-06-23T22:34:00.330Z" + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListRegenerateApiKeys.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListRegenerateApiKeys.json index 372a6013e945..ad32ebfc113e 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListRegenerateApiKeys.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_ListRegenerateApiKeys.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview", - "apiKey": { - "keyName": "key1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "keys": [ - { - "keyName": "key1", - "value": "-EnIUzu29xj60xPJmstyCURo" - }, - { - "keyName": "key2", - "value": "-EHio4yRJLxajDaxRNaoD7cZ" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview", + "apiKey": { + "keyName": "key1" } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "keys": [ + { + "keyName": "key1", + "value": "-EnIUzu29xj60xPJmstyCURo" + }, + { + "keyName": "key2", + "value": "-EHio4yRJLxajDaxRNaoD7cZ" + } + ] + } + } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Update.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Update.json index ec8ec60ec8d0..0e5b08b2ba45 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Update.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/BlockchainMembers_Update.json @@ -1,45 +1,45 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "ContoseMember1", - "api-version": "2018-06-01-preview", - "blockchainMember": { - "properties": { - "password": "$@123_34#&", - "consortiumManagementAccountPassword": "$@123_34#&", - "firewallRules": null - }, - "tags": null - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "ContoseMember1", - "properties": { - "protocol": "Quorum", - "validatorNodesSku": { - "capacity": 2 - }, - "provisioningState": "Succeeded", - "dns": null, - "userName": "testuser1", - "password": null, - "consortium": "ContoseConsortium", - "consortiumManagementAccountAddress": null, - "consortiumManagementAccountPassword": null, - "consortiumRole": "ADMIN", - "consortiumMemberDisplayName": "contosemember1", - "rootContractAddress": null, - "publicKey": null - }, - "type": "Microsoft.Blockchain/blockchainMembers", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/ContoseMember1", - "tags": null - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "ContoseMember1", + "api-version": "2018-06-01-preview", + "blockchainMember": { + "properties": { + "password": "$@123_34#&", + "consortiumManagementAccountPassword": "$@123_34#&", + "firewallRules": null + }, + "tags": null } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "ContoseMember1", + "properties": { + "protocol": "Quorum", + "validatorNodesSku": { + "capacity": 2 + }, + "provisioningState": "Succeeded", + "dns": null, + "userName": "testuser1", + "password": null, + "consortium": "ContoseConsortium", + "consortiumManagementAccountAddress": null, + "consortiumManagementAccountPassword": null, + "consortiumRole": "ADMIN", + "consortiumMemberDisplayName": "contosemember1", + "rootContractAddress": null, + "publicKey": null + }, + "type": "Microsoft.Blockchain/blockchainMembers", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/ContoseMember1", + "tags": null + } + } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_CheckNameAvailability.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_CheckNameAvailability.json index b3f9debd9117..fd687110f82b 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_CheckNameAvailability.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_CheckNameAvailability.json @@ -1,21 +1,21 @@ { - "parameters": { + "parameters": { "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", "api-version": "2018-06-01-preview", "locationName": "southeastasia", - "nameAvailabilityRequest" : { - "name": "contosemember1", - "type": "Microsoft.Blockchain/blockchainMembers" + "nameAvailabilityRequest": { + "name": "contosemember1", + "type": "Microsoft.Blockchain/blockchainMembers" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "nameAvailable": false, + "message": "A blockchain member named 'contosemember1' is already in use.", + "reason": "AlreadyExists" } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "nameAvailable": false, - "message": "A blockchain member named 'contosemember1' is already in use.", - "reason": "AlreadyExists" - } } } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_ListConsortiums.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_ListConsortiums.json index c3dcce63ebd6..8f43501f1591 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_ListConsortiums.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Locations_ListConsortiums.json @@ -1,28 +1,28 @@ { - "parameters": { + "parameters": { "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", "locationName": "southeastasia", "api-version": "2018-06-01-preview" }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "gebiconsortium1", - "protocol": "Parity" - }, - { - "name": "bwtestpsh", - "protocol": "Parity" - }, - { - "name": "jackyhsuconsortium", - "protocol": "Quorum" - } - ] - } + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "gebiconsortium1", + "protocol": "Parity" + }, + { + "name": "bwtestpsh", + "protocol": "Parity" + }, + { + "name": "jackyhsuconsortium", + "protocol": "Quorum" + } + ] + } } } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Operations_List.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Operations_List.json index e6a40b26bac3..bb05a88f573e 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Operations_List.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Operations_List.json @@ -1,11 +1,11 @@ { - "parameters": { - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { + "parameters": { + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { "value": [ { "origin": null, @@ -164,5 +164,5 @@ ] } } - } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Skus_List.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Skus_List.json index 99b50f2bbb53..c7b6e1647342 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Skus_List.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/Skus_List.json @@ -1,13 +1,13 @@ { - "parameters": { + "parameters": { "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", "api-version": "2018-06-01-preview" }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ { "resourceType": "blockchainMembers", "skus": [ @@ -36,5 +36,5 @@ ] } } - } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Create.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Create.json index 798e573a388c..c67f8c60f4f6 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Create.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Create.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txnode2", - "api-version": "2018-06-01-preview", - "transactionNode": { - "location": "southeastasia", - "properties": { - "password": "$@123_34#&" - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txnode2", + "api-version": "2018-06-01-preview", + "transactionNode": { + "location": "southeastasia", + "properties": { + "password": "$@123_34#&" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "txnode2", + "properties": { + "provisioningState": "Updating", + "dns": null, + "publicKey": null, + "userName": "txnode2", + "password": null, + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" + } }, - "responses": { - "201": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "txnode2", - "properties": { - "provisioningState": "Updating", - "dns": null, - "publicKey": null, - "userName": "txnode2", - "password": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" - } + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "txnode2", + "properties": { + "provisioningState": "Updating", + "dns": null, + "publicKey": null, + "userName": "txnode2", + "password": null, + "firewallRules": null }, - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "txnode2", - "properties": { - "provisioningState": "Updating", - "dns": null, - "publicKey": null, - "userName": "txnode2", - "password": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" - } - } + "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Delete.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Delete.json index 25d5c2664eaf..5173ef34a2cc 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Delete.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Delete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txNode2", - "api-version": "2018-06-01-preview" - }, - "responses": { - "202": {}, - "204": {} - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txNode2", + "api-version": "2018-06-01-preview" + }, + "responses": { + "202": {}, + "204": {} + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Get.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Get.json index 12e149efbd99..8ccbe965cfdf 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Get.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txnode2", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "txnode2", - "properties": { - "provisioningState": "Succeeded", - "dns": "txnode2-contosemember1.blockchain.ppe.azure-int.net", - "publicKey": "h7Q10I/1dLK/hzX8FkVrfl03D/aX8jW3YNoxJ/n4vkY=", - "userName": "txnode2", - "password": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txnode2", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "txnode2", + "properties": { + "provisioningState": "Succeeded", + "dns": "txnode2-contosemember1.blockchain.ppe.azure-int.net", + "publicKey": "h7Q10I/1dLK/hzX8FkVrfl03D/aX8jW3YNoxJ/n4vkY=", + "userName": "txnode2", + "password": null, + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_List.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_List.json index 1aa8e999f259..62d760a053de 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_List.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_List.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "location": "southeastasia", - "name": "txnode2", - "properties": { - "provisioningState": "Succeeded", - "dns": "txnode2-contosemember1.blockchain.azure.com", - "publicKey": "DbRYTorBtY7rZfNfByUQpdC+hD3k/0lfA7+UnH4ovWM=", - "userName": "txnode2", - "password": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "location": "southeastasia", + "name": "txnode2", + "properties": { + "provisioningState": "Succeeded", + "dns": "txnode2-contosemember1.blockchain.azure.com", + "publicKey": "DbRYTorBtY7rZfNfByUQpdC+hD3k/0lfA7+UnH4ovWM=", + "userName": "txnode2", + "password": null, + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListApiKeys.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListApiKeys.json index 7bba22ff1ae1..e8cd9e7b1863 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListApiKeys.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListApiKeys.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txnode2", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "keys": [ - { - "keyName": "key1", - "value": "-EnIUzu29xj60xPJmstyCURo" - }, - { - "keyName": "key2", - "value": "I8P-q4u_WDuCZUBYXnJ3yYX7" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txnode2", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "keys": [ + { + "keyName": "key1", + "value": "-EnIUzu29xj60xPJmstyCURo" + }, + { + "keyName": "key2", + "value": "I8P-q4u_WDuCZUBYXnJ3yYX7" + } + ] + } } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListRegenerateApiKeys.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListRegenerateApiKeys.json index 48f69fc708fe..ae97057f2169 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListRegenerateApiKeys.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_ListRegenerateApiKeys.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txnode2", - "api-version": "2018-06-01-preview", - "apiKey": { - "keyName": "key1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "keys": [ - { - "keyName": "key1", - "value": "-EnIUzu29xj60xPJmstyCURo" - }, - { - "keyName": "key2", - "value": "-EHio4yRJLxajDaxRNaoD7cZ" - } - ] - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txnode2", + "api-version": "2018-06-01-preview", + "apiKey": { + "keyName": "key1" } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "keys": [ + { + "keyName": "key1", + "value": "-EnIUzu29xj60xPJmstyCURo" + }, + { + "keyName": "key2", + "value": "-EHio4yRJLxajDaxRNaoD7cZ" + } + ] + } + } + } } diff --git a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Update.json b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Update.json index adb08b85e4e7..4db7bf67ace2 100644 --- a/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Update.json +++ b/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/examples/TransactionNodes_Update.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", - "resourceGroupName": "mygroup", - "blockchainMemberName": "contosemember1", - "transactionNodeName": "txnode2", - "api-version": "2018-06-01-preview", - "transactionNode": { - "properties": { - "password": "$@123_34#&" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "location": "southeastasia", - "name": "txnode2", - "properties": { - "provisioningState": "Succeeded", - "dns": "txnode1-contosemember1.blockchain.azure.com", - "publicKey": "DbRYTorBtY7rZfNfByUQpdC+hD3k/0lfA7+UnH4ovWM=", - "userName": "txnode2", - "password": null, - "firewallRules": null - }, - "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", - "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" - } - } + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "blockchainMemberName": "contosemember1", + "transactionNodeName": "txnode2", + "api-version": "2018-06-01-preview", + "transactionNode": { + "properties": { + "password": "$@123_34#&" + } } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "location": "southeastasia", + "name": "txnode2", + "properties": { + "provisioningState": "Succeeded", + "dns": "txnode1-contosemember1.blockchain.azure.com", + "publicKey": "DbRYTorBtY7rZfNfByUQpdC+hD3k/0lfA7+UnH4ovWM=", + "userName": "txnode2", + "password": null, + "firewallRules": null + }, + "type": "Microsoft.Blockchain/blockchainMembers/transactionNodes", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/transactionNodes/txnode2" + } + } + } } From ef009359602237713e9de664da2e7bbf942869cc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 12:08:41 -0400 Subject: [PATCH 021/495] chore: jsonfmt frontdoor (#6325) Ran `jsonfmt -w "specification/frontdoor/**/*.json"` --- .../Microsoft.Network/stable/2019-03-01/network.json | 3 +-- .../stable/2019-03-01/webapplicationfirewall.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/network.json index 978687d99f3e..75c59e23db6f 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/network.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/network.json @@ -35,8 +35,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json index 073169e246b1..7c687789c1ea 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json @@ -796,4 +796,4 @@ "description": "Name of the Resource group within the Azure subscription." } } -} \ No newline at end of file +} From 0bc71f8d5224e69d58f3d007ff0beee7bb74ad1f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 12:12:37 -0400 Subject: [PATCH 022/495] chore: jsonfmt alertsmanagement (#6303) Ran `jsonfmt -w "specification/alertsmanagement/**/*.json"` --- .../stable/2018-05-05/AlertsManagement.json | 2 +- .../SmartDetectorAlertRulesApi.json | 1016 ++++++++--------- ...SmartDetectorAlertRule_CreateOrUpdate.json | 160 +-- .../SmartDetectorAlertRule_Delete.json | 26 +- .../examples/SmartDetectorAlertRule_Get.json | 68 +- .../examples/SmartDetectorAlertRule_List.json | 120 +- ...DetectorAlertRule_ListByResourceGroup.json | 120 +- 7 files changed, 756 insertions(+), 756 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/AlertsManagement.json index 288cd64a300f..93380511ec43 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/AlertsManagement.json @@ -390,7 +390,7 @@ } } }, - "x-ms-pageable": { + "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json index d390cae89529..be1bd4faab5a 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json @@ -1,509 +1,509 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Alerts Management Service Resource Provider", - "description": "APIs for Azure Smart Detector Alert Rules CRUD operations.", - "version": "2019-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { - "get": { - "tags": [ - "SmartDetectorAlertRules" - ], - "operationId": "SmartDetectorAlertRules_List", - "description": "List all the existing Smart Detector alert rules within the subscription.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to list Smart Detector alert rules.", - "schema": { - "$ref": "#/definitions/AlertRulesList" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List Smart Detector alert rules": { - "$ref": "./examples/SmartDetectorAlertRule_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { - "get": { - "tags": [ - "SmartDetectorAlertRules" - ], - "operationId": "SmartDetectorAlertRules_ListByResourceGroup", - "description": "List all the existing Smart Detector alert rules within the subscription and resource group.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to list Smart Detector alert rules.", - "schema": { - "$ref": "#/definitions/AlertRulesList" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List alert rules": { - "$ref": "./examples/SmartDetectorAlertRule_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": { - "get": { - "tags": [ - "smartDetectorAlertRules" - ], - "operationId": "SmartDetectorAlertRules_Get", - "description": "Get a specific Smart Detector alert rule.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AlertRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ExpandDetectorParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get Smart Detector alert rule.", - "schema": { - "$ref": "#/definitions/AlertRule" - } - } - }, - "x-ms-examples": { - "Get a Smart Detector alert rule": { - "$ref": "./examples/SmartDetectorAlertRule_Get.json" - } - } - }, - "put": { - "tags": [ - "SmartDetectorAlertRules" - ], - "operationId": "SmartDetectorAlertRules_CreateOrUpdate", - "description": "Create or update a Smart Detector alert rule.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AlertRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "description": "Parameters supplied to the operation.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AlertRule" - } - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to update a Smart Detector alert rule.", - "schema": { - "$ref": "#/definitions/AlertRule" - } - }, - "201": { - "description": "Successful request to create a Smart Detector alert rule.", - "schema": { - "$ref": "#/definitions/AlertRule" - } - } - }, - "x-ms-examples": { - "Create or update a Smart Detector alert rule": { - "$ref": "./examples/SmartDetectorAlertRule_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "SmartDetectorAlertRules" - ], - "operationId": "SmartDetectorAlertRules_Delete", - "description": "Delete an existing Smart Detector alert rule.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AlertRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to delete a Smart Detector alert rule." - }, - "204": { - "description": "The Smart Detector alert rule does not exist. It may have already been deleted." - } - }, - "x-ms-examples": { - "Delete a Smart Detector alert rule": { - "$ref": "./examples/SmartDetectorAlertRule_Delete.json" - } - } - } - } - }, - "definitions": { - "ErrorResponse": { - "description": "Describe the format of an Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } - }, - "ActionGroupsInformation": { - "properties": { - "customEmailSubject": { - "description": "An optional custom email subject to use in email notifications.", - "type": "string" - }, - "customWebhookPayload": { - "description": "An optional custom web-hook payload to use in web-hook notifications.", - "type": "string" - }, - "groupIds": { - "description": "The Action Group resource IDs.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "groupIds" - ], - "description": "The Action Groups information, used by the alert rule." - }, - "ThrottlingInformation": { - "properties": { - "duration": { - "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes", - "type": "string", - "format": "duration" - } - }, - "description": "Optional throttling information for the alert rule." - }, - "AzureResource": { - "type": "object", - "properties": { - "id": { - "description": "The resource ID.", - "readOnly": true, - "type": "string" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The resource type." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The resource name." - } - }, - "x-ms-azure-resource": true, - "description": "An Azure resource object" - }, - "AlertRule": { - "allOf": [ - { - "$ref": "#/definitions/AzureResource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AlertRuleProperties", - "description": "The properties of the alert rule." - } - }, - "description": "The alert rule information" - }, - "AlertRulesList": { - "description": "List of Smart Detector alert rules.", - "properties": { - "value": { - "description": "List of Smart Detector alert rules.", - "type": "array", - "items": { - "$ref": "#/definitions/AlertRule" - } - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "Detector": { - "properties": { - "id": { - "type": "string", - "description": "The detector id." - }, - "parameters": { - "description": "The detector's parameters.'", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "name": { - "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector", - "type": "string" - }, - "description": { - "type": "string", - "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector" - }, - "supportedResourceTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector" - }, - "imagePaths": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector" - } - }, - "required": [ - "id" - ], - "description": "The detector information. By default this is not populated, unless it's specified in expandDetector" - }, - "AlertRuleProperties": { - "properties": { - "description": { - "description": "The alert rule description.", - "type": "string" - }, - "state": { - "description": "The alert rule state.", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AlertRuleState", - "modelAsString": true - } - }, - "severity": { - "description": "The alert rule severity.", - "type": "string", - "enum": [ - "Sev0", - "Sev1", - "Sev2", - "Sev3", - "Sev4" - ], - "x-ms-enum": { - "name": "Severity", - "modelAsString": true - } - }, - "frequency": { - "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.", - "type": "string", - "format": "duration" - }, - "detector": { - "description": "The alert rule's detector.", - "$ref": "#/definitions/Detector" - }, - "scope": { - "description": "The alert rule resources scope.", - "type": "array", - "items": { - "type": "string" - } - }, - "actionGroups": { - "description": "The alert rule actions.", - "$ref": "#/definitions/ActionGroupsInformation" - }, - "throttling": { - "description": "The alert rule throttling information.", - "$ref": "#/definitions/ThrottlingInformation" - } - }, - "required": [ - "state", - "severity", - "frequency", - "detector", - "scope", - "actionGroups" - ], - "description": "The alert rule properties." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription id." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "AlertRuleNameParameter": { - "name": "alertRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the alert rule.", - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ExpandDetectorParameter": { - "name": "expandDetector", - "in": "query", - "type": "boolean", - "description": "Indicates if Smart Detector should be expanded.", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file + "swagger": "2.0", + "info": { + "title": "Azure Alerts Management Service Resource Provider", + "description": "APIs for Azure Smart Detector Alert Rules CRUD operations.", + "version": "2019-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { + "get": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_List", + "description": "List all the existing Smart Detector alert rules within the subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to list Smart Detector alert rules.", + "schema": { + "$ref": "#/definitions/AlertRulesList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Smart Detector alert rules": { + "$ref": "./examples/SmartDetectorAlertRule_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { + "get": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_ListByResourceGroup", + "description": "List all the existing Smart Detector alert rules within the subscription and resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to list Smart Detector alert rules.", + "schema": { + "$ref": "#/definitions/AlertRulesList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List alert rules": { + "$ref": "./examples/SmartDetectorAlertRule_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": { + "get": { + "tags": [ + "smartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_Get", + "description": "Get a specific Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ExpandDetectorParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + }, + "x-ms-examples": { + "Get a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_Get.json" + } + } + }, + "put": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_CreateOrUpdate", + "description": "Create or update a Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "description": "Parameters supplied to the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to update a Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + }, + "201": { + "description": "Successful request to create a Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + }, + "x-ms-examples": { + "Create or update a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_CreateOrUpdate.json" + } + } + }, + "delete": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_Delete", + "description": "Delete an existing Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to delete a Smart Detector alert rule." + }, + "204": { + "description": "The Smart Detector alert rule does not exist. It may have already been deleted." + } + }, + "x-ms-examples": { + "Delete a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_Delete.json" + } + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describe the format of an Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupsInformation": { + "properties": { + "customEmailSubject": { + "description": "An optional custom email subject to use in email notifications.", + "type": "string" + }, + "customWebhookPayload": { + "description": "An optional custom web-hook payload to use in web-hook notifications.", + "type": "string" + }, + "groupIds": { + "description": "The Action Group resource IDs.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "groupIds" + ], + "description": "The Action Groups information, used by the alert rule." + }, + "ThrottlingInformation": { + "properties": { + "duration": { + "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes", + "type": "string", + "format": "duration" + } + }, + "description": "Optional throttling information for the alert rule." + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "description": "The resource ID.", + "readOnly": true, + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The resource name." + } + }, + "x-ms-azure-resource": true, + "description": "An Azure resource object" + }, + "AlertRule": { + "allOf": [ + { + "$ref": "#/definitions/AzureResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AlertRuleProperties", + "description": "The properties of the alert rule." + } + }, + "description": "The alert rule information" + }, + "AlertRulesList": { + "description": "List of Smart Detector alert rules.", + "properties": { + "value": { + "description": "List of Smart Detector alert rules.", + "type": "array", + "items": { + "$ref": "#/definitions/AlertRule" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "Detector": { + "properties": { + "id": { + "type": "string", + "description": "The detector id." + }, + "parameters": { + "description": "The detector's parameters.'", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "name": { + "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector", + "type": "string" + }, + "description": { + "type": "string", + "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector" + }, + "supportedResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector" + }, + "imagePaths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector" + } + }, + "required": [ + "id" + ], + "description": "The detector information. By default this is not populated, unless it's specified in expandDetector" + }, + "AlertRuleProperties": { + "properties": { + "description": { + "description": "The alert rule description.", + "type": "string" + }, + "state": { + "description": "The alert rule state.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AlertRuleState", + "modelAsString": true + } + }, + "severity": { + "description": "The alert rule severity.", + "type": "string", + "enum": [ + "Sev0", + "Sev1", + "Sev2", + "Sev3", + "Sev4" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true + } + }, + "frequency": { + "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.", + "type": "string", + "format": "duration" + }, + "detector": { + "description": "The alert rule's detector.", + "$ref": "#/definitions/Detector" + }, + "scope": { + "description": "The alert rule resources scope.", + "type": "array", + "items": { + "type": "string" + } + }, + "actionGroups": { + "description": "The alert rule actions.", + "$ref": "#/definitions/ActionGroupsInformation" + }, + "throttling": { + "description": "The alert rule throttling information.", + "$ref": "#/definitions/ThrottlingInformation" + } + }, + "required": [ + "state", + "severity", + "frequency", + "detector", + "scope", + "actionGroups" + ], + "description": "The alert rule properties." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "AlertRuleNameParameter": { + "name": "alertRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the alert rule.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ExpandDetectorParameter": { + "name": "expandDetector", + "in": "query", + "type": "boolean", + "description": "Indicates if Smart Detector should be expanded.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json index d1a2a522be55..d728965940c7 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json @@ -1,88 +1,88 @@ { + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "alertRuleName": "MyAlertRule", - "api-version": "2019-03-01", - "parameters": { - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": { - "customEmailSubject": "My custom email subject", - "customWebhookPayload": "{\"AlertRuleName\":\"#alertrulename\"}", - "groupIds": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" - ] - }, - "throttling": { - "duration": "PT20M" - } + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": { + "customEmailSubject": "My custom email subject", + "customWebhookPayload": "{\"AlertRuleName\":\"#alertrulename\"}", + "groupIds": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" + ] + }, + "throttling": { + "duration": "PT20M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" } + ], + "throttling": { + "duration": "PT20M" + } } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } + "201": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" } + ], + "throttling": { + "duration": "PT20M" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json index 2b448d003492..0a63b3bbdb7b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "alertRuleName": "MyAlertRule", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": null }, - "responses": { - "200": { - "body": null - }, - "204": { - "body": null - } + "204": { + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Get.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Get.json index 94844ebdc841..11e7fcf0c6a6 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Get.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Get.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "alertRuleName": "MyAlertRule", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } - } + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json index 41fe0bf62d89..41e98f4677d1 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json @@ -1,63 +1,63 @@ { - "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "body": { - "nextLink": "", - "value": [ - { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } - }, - { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MySecondAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Disabled", - "severity": "Sev2", - "frequency": "PT15M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm2" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" - } - ] - } - } - ] + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "nextLink": "", + "value": [ + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } } - } + }, + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MySecondAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Disabled", + "severity": "Sev2", + "frequency": "PT15M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm2" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json index a28055b85a56..b99f2f31186d 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json @@ -1,63 +1,63 @@ { - "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "body": { - "nextLink": "", - "value": [ - { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT5M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } - }, - { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MySecondAlertRule", - "properties": { - "description": "Sample smart detector alert rule description", - "state": "Disabled", - "severity": "Sev2", - "frequency": "PT15M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" - } - ] - } - } - ] + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "nextLink": "", + "value": [ + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } } - } + }, + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MySecondAlertRule", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Disabled", + "severity": "Sev2", + "frequency": "PT15M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ] + } + } + ] + } } -} \ No newline at end of file + } +} From 8ed9b33cfdea3934efb794037d152a65316853a1 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Thu, 13 Jun 2019 10:14:28 -0700 Subject: [PATCH 023/495] Update Rest Spec Path Storage (#6334) --- .../storage/resource-manager/readme.csharp.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/specification/storage/resource-manager/readme.csharp.md b/specification/storage/resource-manager/readme.csharp.md index 9607d4a43480..32bd05b74a93 100644 --- a/specification/storage/resource-manager/readme.csharp.md +++ b/specification/storage/resource-manager/readme.csharp.md @@ -6,23 +6,24 @@ This is the AutoRest configuration file for DNS. ## Common C# Settings -``` yaml $(csharp) +```yaml $(csharp) csharp: azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION + license-header: MICROSOFT_MIT_NO_VERSION clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) +```yaml $(csharp) && !$(multiapi) && !$(csharp-profile) payload-flattening-threshold: 2 namespace: Microsoft.Azure.Management.Storage -output-folder: $(csharp-sdks-folder)/Storage/Management.Storage/Generated +output-folder: $(csharp-sdks-folder)/storage/Microsoft.Azure.Management.Storage/src/Generated ``` ## Batch settings + These settings are for batch mode only: (ie, add `--multiapi` to the command line ) -``` yaml $(multiapi) +```yaml $(multiapi) namespace: Microsoft.Azure.Management.Storage.$(ApiVersionName) output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated @@ -63,9 +64,9 @@ batch: These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. -``` yaml $(csharp-profile)=='hybrid_2019_03_01' +```yaml $(csharp-profile)=='hybrid_2019_03_01' namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated batch: - tag: profile-hybrid-2019-03-01 -``` \ No newline at end of file +``` From a3fcb027b355eb7efe034585085be35f238f6637 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 13:15:20 -0400 Subject: [PATCH 024/495] chore: jsonfmt hanaonazure (#6327) Ran `jsonfmt -w "specification/hanaonazure/**/*.json"` --- .../2017-11-03-preview/examples/HanaInstances_Create.json | 2 +- .../2017-11-03-preview/examples/HanaInstances_Delete.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Create.json index 4a6cc5282df7..586006f99966 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Create.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Create.json @@ -125,4 +125,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Delete.json index 24082ed3edda..25dae966084d 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Delete.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} From 90602579e3c3acbd281d04596b2890b3e6285f48 Mon Sep 17 00:00:00 2001 From: YiLiu <48115265+Yiliu-microsoft@users.noreply.github.com> Date: Fri, 14 Jun 2019 02:03:20 +0800 Subject: [PATCH 025/495] A series of Public swagger update (modification) (#6064) * Modify the public swagger by reference to private swagger * update * finally modify * modify ParquetSink * delete treatEmptyAsNull * remove tablename * finally modify * modify * modify mappings schemaMappihng columnMapping description * modify SapTable * modify ConnectorReadSetting --- .../entityTypes/Dataset.json | 494 +++++----- .../entityTypes/IntegrationRuntime.json | 46 +- .../entityTypes/Pipeline.json | 931 +++++++++--------- .../2018-06-01/entityTypes/Dataset.json | 306 +++++- .../entityTypes/IntegrationRuntime.json | 44 + .../2018-06-01/entityTypes/LinkedService.json | 89 ++ .../2018-06-01/entityTypes/Pipeline.json | 822 +++++++++++++++- 7 files changed, 1988 insertions(+), 744 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json index 2c8eb0db1629..506b80d1769a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json @@ -282,7 +282,7 @@ "CompressionLevel": { "title": "Microsoft.Azure.Management.DataFactories.Models.CompressionLevel", "description": "All available compression levels.", - "type": "string", + "type": "object", "enum": [ "Optimal", "Fastest" @@ -923,7 +923,7 @@ "description": "Sap ECC OData resource dataset properties.", "properties": { "path": { - "type": "string", + "type": "object", "description": "The path of the SAP ECC OData entity. Type: string (or Expression with resultType string)." } }, @@ -1081,339 +1081,339 @@ } }, "AmazonMWSObjectDataset" : { - "x-ms-discriminator-value": "AmazonMWSObject", - "description": "Amazon Marketplace Web Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "AmazonMWSObject", + "description": "Amazon Marketplace Web Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "AzurePostgreSqlTableDataset" : { "x-ms-discriminator-value": "AzurePostgreSqlTable", - "description": "Azure PostgreSQL dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Azure PostgreSQL dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "ConcurObjectDataset" : { - "x-ms-discriminator-value": "ConcurObject", - "description": "Concur Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "ConcurObject", + "description": "Concur Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "CouchbaseTableDataset" : { "x-ms-discriminator-value": "CouchbaseTable", - "description": "Couchbase server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Couchbase server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "DrillTableDataset" : { "x-ms-discriminator-value": "DrillTable", - "description": "Drill server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Drill server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "EloquaObjectDataset" : { - "x-ms-discriminator-value": "EloquaObject", - "description": "Eloqua server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "EloquaObject", + "description": "Eloqua server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "GoogleBigQueryObjectDataset" : { - "x-ms-discriminator-value": "GoogleBigQueryObject", - "description": "Google BigQuery service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "GoogleBigQueryObject", + "description": "Google BigQuery service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "GreenplumTableDataset" : { "x-ms-discriminator-value": "GreenplumTable", - "description": "Greenplum Database dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Greenplum Database dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "HBaseObjectDataset" : { - "x-ms-discriminator-value": "HBaseObject", - "description": "HBase server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "HBaseObject", + "description": "HBase server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "HiveObjectDataset" : { - "x-ms-discriminator-value": "HiveObject", - "description": "Hive Server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "HiveObject", + "description": "Hive Server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "HubspotObjectDataset" : { - "x-ms-discriminator-value": "HubspotObject", - "description": "Hubspot Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "HubspotObject", + "description": "Hubspot Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "ImpalaObjectDataset" : { - "x-ms-discriminator-value": "ImpalaObject", - "description": "Impala server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "ImpalaObject", + "description": "Impala server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "JiraObjectDataset" : { - "x-ms-discriminator-value": "JiraObject", - "description": "Jira Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "JiraObject", + "description": "Jira Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "MagentoObjectDataset" : { - "x-ms-discriminator-value": "MagentoObject", - "description": "Magento server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "MagentoObject", + "description": "Magento server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "MariaDBTableDataset" : { "x-ms-discriminator-value": "MariaDBTable", - "description": "MariaDB server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "MariaDB server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "MarketoObjectDataset" : { - "x-ms-discriminator-value": "MarketoObject", - "description": "Marketo server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "MarketoObject", + "description": "Marketo server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "PaypalObjectDataset" : { - "x-ms-discriminator-value": "PaypalObject", - "description": "Paypal Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "PaypalObject", + "description": "Paypal Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "PhoenixObjectDataset" : { - "x-ms-discriminator-value": "PhoenixObject", - "description": "Phoenix server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "PhoenixObject", + "description": "Phoenix server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "PrestoObjectDataset" : { - "x-ms-discriminator-value": "PrestoObject", - "description": "Presto server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "PrestoObject", + "description": "Presto server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "QuickBooksObjectDataset" : { - "x-ms-discriminator-value": "QuickBooksObject", - "description": "QuickBooks server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "QuickBooksObject", + "description": "QuickBooks server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "ServiceNowObjectDataset" : { - "x-ms-discriminator-value": "ServiceNowObject", - "description": "ServiceNow server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "ServiceNowObject", + "description": "ServiceNow server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "ShopifyObjectDataset" : { - "x-ms-discriminator-value": "ShopifyObject", - "description": "Shopify Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "ShopifyObject", + "description": "Shopify Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "SparkObjectDataset" : { - "x-ms-discriminator-value": "SparkObject", - "description": "Spark Server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "SparkObject", + "description": "Spark Server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "SquareObjectDataset" : { - "x-ms-discriminator-value": "SquareObject", - "description": "Square Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "SquareObject", + "description": "Square Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "XeroObjectDataset" : { - "x-ms-discriminator-value": "XeroObject", - "description": "Xero Service dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "XeroObject", + "description": "Xero Service dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "ZohoObjectDataset" : { - "x-ms-discriminator-value": "ZohoObject", - "description": "Zoho server dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "x-ms-discriminator-value": "ZohoObject", + "description": "Zoho server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "NetezzaTableDataset" : { "x-ms-discriminator-value": "NetezzaTable", - "description": "Netezza dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Netezza dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "VerticaTableDataset" : { "x-ms-discriminator-value": "VerticaTable", - "description": "Vertica dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { + "description": "Vertica dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { } }, "SalesforceMarketingCloudObjectDataset": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json index dbb3f8502999..7ef54f396836 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json @@ -150,6 +150,10 @@ "description": "Custom setup script properties for a managed dedicated integration runtime.", "$ref": "#/definitions/IntegrationRuntimeCustomSetupScriptProperties" }, + "dataProxyProperties": { + "description": "Data proxy properties for a managed dedicated integration runtime.", + "$ref": "#/definitions/IntegrationRuntimeDataProxyProperties" + }, "edition": { "description": "The edition for the SSIS Integration Runtime", "type": "string", @@ -208,6 +212,46 @@ } } }, + "IntegrationRuntimeDataProxyProperties": { + "description": "Data proxy properties for a managed dedicated integration runtime.", + "type": "object", + "properties": { + "connectVia": { + "description": "The self-hosted integration runtime reference.", + "$ref": "#/definitions/EntityReference" + }, + "stagingLinkedService": { + "description": "The staging linked service reference.", + "$ref": "#/definitions/EntityReference" + }, + "path": { + "description": "The path to contain the staged data in the Blob storage.", + "type": "string" + } + } + }, + "EntityReference": { + "description": "The entity reference.", + "type": "object", + "properties": { + "type": { + "description": "The type of this referenced entity.", + "type": "string", + "enum": [ + "IntegrationRuntimeReference", + "LinkedServiceReference" + ], + "x-ms-enum": { + "name": "IntegrationRuntimeEntityReferenceType", + "modelAsString": true + } + }, + "referenceName": { + "description": "The name of this referenced entity.", + "type": "string" + } + } + }, "SelfHostedIntegrationRuntime": { "x-ms-discriminator-value": "SelfHosted", "description": "Self-hosted integration runtime.", @@ -301,7 +345,7 @@ "dataFactoryName": { "description": "The data factory name which the integration runtime belong to.", "type": "string", - "readOnly": true + "readOnly": true }, "state": { "description": "The state of integration runtime.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json index 952721439015..6e21ea7e04ff 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json @@ -36,7 +36,7 @@ "items": { "type": "object" } - } + } } }, "Activity": { @@ -208,7 +208,7 @@ }, "translator": { "description": "Copy activity translator. If not specified, tabular translator is used.", - "$ref": "#/definitions/CopyTranslator" + "type": "object" }, "enableStaging": { "type": "object", @@ -371,7 +371,7 @@ }, "readBehavior": { "description": "The read behavior for the operation. Default is Query.", - "type": "string", + "type": "object", "enum": [ "Query", "QueryAll" @@ -408,7 +408,7 @@ ], "properties": { "query": { - "type": "string", + "type": "object", "description": "SAP ECC OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)." } } @@ -577,7 +577,7 @@ }, "consistencyLevel": { "description": "The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.", - "type": "string", + "type": "object", "enum": [ "ALL", "EACH_QUORUM", @@ -642,455 +642,455 @@ } } }, - "AmazonMWSSource": { - "description": "A copy activity Amazon Marketplace Web Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "AzurePostgreSqlSource": { - "description": "A copy activity Azure PostgreSQL source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ConcurSource": { - "description": "A copy activity Concur Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "CouchbaseSource": { - "description": "A copy activity Couchbase server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "DrillSource": { - "description": "A copy activity Drill server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "EloquaSource": { - "description": "A copy activity Eloqua server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "GoogleBigQuerySource": { - "description": "A copy activity Google BigQuery service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "GreenplumSource": { - "description": "A copy activity Greenplum Database source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "HBaseSource": { - "description": "A copy activity HBase server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "HiveSource": { - "description": "A copy activity Hive Server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "HubspotSource": { - "description": "A copy activity Hubspot Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ImpalaSource": { - "description": "A copy activity Impala server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "JiraSource": { - "description": "A copy activity Jira Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "MagentoSource": { - "description": "A copy activity Magento server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "MariaDBSource": { - "description": "A copy activity MariaDB server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "MarketoSource": { - "description": "A copy activity Marketo server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "PaypalSource": { - "description": "A copy activity Paypal Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "PhoenixSource": { - "description": "A copy activity Phoenix server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "PrestoSource": { - "description": "A copy activity Presto server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "QuickBooksSource": { - "description": "A copy activity QuickBooks server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ServiceNowSource": { - "description": "A copy activity ServiceNow server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ShopifySource": { - "description": "A copy activity Shopify Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "SparkSource": { - "description": "A copy activity Spark Server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "SquareSource": { - "description": "A copy activity Square Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "XeroSource": { - "description": "A copy activity Xero Service source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ZohoSource": { - "description": "A copy activity Zoho server source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "NetezzaSource": { - "description": "A copy activity Netezza source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "VerticaSource": { - "description": "A copy activity Vertica source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "SalesforceMarketingCloudSource": { - "description": "A copy activity Salesforce Marketing Cloud source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } - }, - "ResponsysSource": { - "description": "A copy activity Responsys source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." - } - } + "AmazonMWSSource": { + "description": "A copy activity Amazon Marketplace Web Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "AzurePostgreSqlSource": { + "description": "A copy activity Azure PostgreSQL source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ConcurSource": { + "description": "A copy activity Concur Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "CouchbaseSource": { + "description": "A copy activity Couchbase server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "DrillSource": { + "description": "A copy activity Drill server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "EloquaSource": { + "description": "A copy activity Eloqua server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "GoogleBigQuerySource": { + "description": "A copy activity Google BigQuery service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "GreenplumSource": { + "description": "A copy activity Greenplum Database source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "HBaseSource": { + "description": "A copy activity HBase server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "HiveSource": { + "description": "A copy activity Hive Server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "HubspotSource": { + "description": "A copy activity Hubspot Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ImpalaSource": { + "description": "A copy activity Impala server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "JiraSource": { + "description": "A copy activity Jira Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "MagentoSource": { + "description": "A copy activity Magento server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "MariaDBSource": { + "description": "A copy activity MariaDB server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "MarketoSource": { + "description": "A copy activity Marketo server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "PaypalSource": { + "description": "A copy activity Paypal Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "PhoenixSource": { + "description": "A copy activity Phoenix server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "PrestoSource": { + "description": "A copy activity Presto server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "QuickBooksSource": { + "description": "A copy activity QuickBooks server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ServiceNowSource": { + "description": "A copy activity ServiceNow server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ShopifySource": { + "description": "A copy activity Shopify Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "SparkSource": { + "description": "A copy activity Spark Server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "SquareSource": { + "description": "A copy activity Square Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "XeroSource": { + "description": "A copy activity Xero Service source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ZohoSource": { + "description": "A copy activity Zoho server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "NetezzaSource": { + "description": "A copy activity Netezza source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "VerticaSource": { + "description": "A copy activity Vertica source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "SalesforceMarketingCloudSource": { + "description": "A copy activity Salesforce Marketing Cloud source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, + "ResponsysSource": { + "description": "A copy activity Responsys source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } } , "AmazonRedshiftSource": { "description": "A copy activity source for Amazon Redshift Source.", @@ -1148,10 +1148,11 @@ }, "StoredProcedureParameterType": { "description": "Stored procedure parameter type.", - "type": "string", + "type": "object", "enum": [ "String", "Int", + "Int64", "Decimal", "Guid", "Boolean", @@ -1206,7 +1207,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is 'Insert'.", - "type": "string", + "type": "object", "enum": [ "Insert", "Update" @@ -1230,7 +1231,7 @@ }, "CopyBehaviorType": { "description": "All available types of copy behavior.", - "type": "string", + "type": "object", "enum": [ "PreserveHierarchy", "FlattenHierarchy", @@ -1291,7 +1292,7 @@ }, "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1306,7 +1307,7 @@ "properties": { "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1405,7 +1406,7 @@ }, "PolybaseSettingsRejectType": { "description": "Indicates whether the RejectValue property is specified as a literal value or a percentage.", - "type": "string", + "type": "object", "enum": [ "value", "percentage" @@ -1485,7 +1486,7 @@ "properties": { "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1500,7 +1501,7 @@ "properties": { "writeBehavior": { "description": "Specify the write behavior when upserting documents into Azure Search Index.", - "type": "string", + "type": "object", "enum": [ "Merge", "Upload" @@ -1538,7 +1539,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation.", - "type": "string", + "type": "object", "enum": [ "Upsert" ], @@ -1567,7 +1568,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", - "type": "string", + "type": "object", "enum": [ "Insert", "Upsert" @@ -1593,7 +1594,7 @@ "type": "object", "properties": { "type": { - "type": "string", + "type": "object", "description": "Copy translator type." } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index fbd70667a33f..ee9b5f560e90 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -61,6 +61,139 @@ "linkedServiceName" ] }, + "DatasetLocation": { + "description": "Dataset location.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of dataset storage location." + }, + "folderPath": { + "type": "object", + "description": "Specify the folder path of dataset. Type: string (or Expression with resultType string)" + }, + "fileName": { + "type": "object", + "description": "Specify the file name of dataset. Type: string (or Expression with resultType string)." + } + }, + "additionalProperties": { + "type": "object" + }, + "required": [ + "type" + ] + }, + "AzureBlobStorageLocation": { + "description": "The location of azure blob dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ], + "properties": { + "container": { + "type": "object", + "description": "Specify the container of azure blob. Type: string (or Expression with resultType string)." + } + } + }, + "AzureBlobFSLocation": { + "description": "The location of azure blobFS dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ], + "properties": { + "fileSystem": { + "type": "object", + "description": "Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string)." + } + } + }, + "AzureDataLakeStoreLocation": { + "description": "The location of azure data lake store dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ] + }, + "AmazonS3Location": { + "description": "The location of amazon S3 dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ], + "properties": { + "bucketName": { + "type": "object", + "description": "Specify the bucketName of amazon S3. Type: string (or Expression with resultType string)" + }, + "version": { + "type": "object", + "description": "Specify the version of amazon S3. Type: string (or Expression with resultType string)." + } + } + }, + "FileServerLocation": { + "description": "The location of file server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ] + }, + "FtpServerLocation": { + "description": "The location of ftp server dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ] + }, + "SftpLocation": { + "description": "The location of SFTP dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ] + }, + "HttpServerLocation": { + "description": "The location of http server.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ], + "properties": { + "relativeUrl": { + "type": "object", + "description": "Specify the relativeUrl of http server. Type: string (or Expression with resultType string)" + } + } + }, + "HdfsLocation": { + "description": "The location of HDFS.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatasetLocation" + } + ] + }, "DatasetDataElement": { "description": "Columns that define the structure of the dataset.", "type": "object", @@ -197,7 +330,7 @@ }, "JsonFormatFilePattern": { "description": "JSON format file pattern. A property of JsonFormat.", - "type": "string", + "type": "object", "enum": [ "setOfObjects", "arrayOfObjects" @@ -313,7 +446,7 @@ "CompressionLevel": { "title": "Microsoft.Azure.Management.DataFactories.Models.CompressionLevel", "description": "All available compression levels.", - "type": "string", + "type": "object", "enum": [ "Optimal", "Fastest" @@ -383,6 +516,124 @@ "bucketName" ] }, + "ParquetDataset": { + "x-ms-discriminator-value": "Parquet", + "description": "Parquet dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Parquet dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ParquetDatasetTypeProperties" + } + } + }, + "ParquetDatasetTypeProperties": { + "description": "Parquet dataset properties.", + "properties": { + "location": { + "$ref": "#/definitions/DatasetLocation", + "description": "The location of the parquet storage." + }, + "compressionCodec": { + "type": "object", + "enum": [ + "none", + "gzip", + "snappy", + "lzo" + ], + "x-ms-enum": { + "name": "compressionCodec", + "modelAsString": true + } + } + }, + "required": [ + "location" + ] + }, + "DelimitedTextDataset": { + "x-ms-discriminator-value": "DelimitedText", + "description": "Delimited text dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Delimited text dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DelimitedTextDatasetTypeProperties" + } + } + }, + "DelimitedTextDatasetTypeProperties": { + "description": "DelimitedText dataset properties.", + "properties": { + "location": { + "$ref": "#/definitions/DatasetLocation", + "description": "The location of the delimited text storage." + }, + "columnDelimiter": { + "type": "object", + "description": "The column delimiter. Type: string (or Expression with resultType string)." + }, + "rowDelimiter": { + "type": "object", + "description": "The row delimiter. Type: string (or Expression with resultType string)." + }, + "encodingName": { + "type": "object", + "description": "The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string)." + }, + "compressionCodec": { + "type": "object", + "enum": [ + "bzip2", + "gzip", + "deflate", + "zipDeflate", + "snappy", + "lz4" + ], + "x-ms-enum": { + "name": "compressionCodec", + "modelAsString": true + } + }, + "compressionLevel": { + "description": "The data compression method used for DelimitedText.", + "$ref": "#/definitions/CompressionLevel" + }, + "quoteChar": { + "type": "object", + "description": "The quote character. Type: string (or Expression with resultType string)." + }, + "escapeChar": { + "type": "object", + "description": "The escape character. Type: string (or Expression with resultType string)." + }, + "firstRowAsHeader": { + "type": "object", + "description": "When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean)." + }, + "nullValue": { + "type": "object", + "description": "The null value string. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "location" + ] + }, "AzureBlobDataset": { "x-ms-discriminator-value": "AzureBlob", "description": "The Azure Blob storage.", @@ -489,10 +740,7 @@ "type": "object", "description": "The table name of the Azure SQL database. Type: string (or Expression with resultType string)." } - }, - "required": [ - "tableName" - ] + } }, "AzureSqlDWTableDataset": { "x-ms-discriminator-value": "AzureSqlDWTable", @@ -518,10 +766,7 @@ "type": "object", "description": "The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string)." } - }, - "required": [ - "tableName" - ] + } }, "CassandraTableDataset": { "x-ms-discriminator-value": "CassandraTable", @@ -1074,7 +1319,7 @@ "description": "Sap ECC OData resource dataset properties.", "properties": { "path": { - "type": "string", + "type": "object", "description": "The path of the SAP ECC OData entity. Type: string (or Expression with resultType string)." } }, @@ -1146,10 +1391,7 @@ "type": "object", "description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)." } - }, - "required": [ - "tableName" - ] + } }, "RestResourceDataset": { "x-ms-discriminator-value": "RestResource", @@ -1193,6 +1435,38 @@ } } }, + "SapTableResourceDataset": { + "x-ms-discriminator-value": "SapTableResource", + "description": "SAP Table Resource properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "SAP Table Resource properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SapTableResourceDatasetTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SapTableResourceDatasetTypeProperties": { + "description": "SAP Table Resource properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The name of the SAP Table. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "tableName" + ] + }, "WebTableDataset": { "x-ms-discriminator-value": "WebTable", "description": "The dataset points to a HTML table in the web page.", @@ -1850,7 +2124,7 @@ "description": "Dynamics AX OData resource dataset properties.", "properties": { "path": { - "type": "string", + "type": "object", "description": "The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string)." } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json index 8ea81d3bb1d2..2f9c9ca48e09 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json @@ -150,6 +150,10 @@ "description": "Custom setup script properties for a managed dedicated integration runtime.", "$ref": "#/definitions/IntegrationRuntimeCustomSetupScriptProperties" }, + "dataProxyProperties": { + "description": "Data proxy properties for a managed dedicated integration runtime.", + "$ref": "#/definitions/IntegrationRuntimeDataProxyProperties" + }, "edition": { "description": "The edition for the SSIS Integration Runtime", "type": "string", @@ -218,6 +222,46 @@ } } }, + "IntegrationRuntimeDataProxyProperties": { + "description": "Data proxy properties for a managed dedicated integration runtime.", + "type": "object", + "properties": { + "connectVia": { + "description": "The self-hosted integration runtime reference.", + "$ref": "#/definitions/EntityReference" + }, + "stagingLinkedService": { + "description": "The staging linked service reference.", + "$ref": "#/definitions/EntityReference" + }, + "path": { + "description": "The path to contain the staged data in the Blob storage.", + "type": "string" + } + } + }, + "EntityReference": { + "description": "The entity reference.", + "type": "object", + "properties": { + "type": { + "description": "The type of this referenced entity.", + "type": "string", + "enum": [ + "IntegrationRuntimeReference", + "LinkedServiceReference" + ], + "x-ms-enum": { + "name": "IntegrationRuntimeEntityReferenceType", + "modelAsString": true + } + }, + "referenceName": { + "description": "The name of this referenced entity.", + "type": "string" + } + } + }, "SelfHostedIntegrationRuntime": { "x-ms-discriminator-value": "SelfHosted", "description": "Self-hosted integration runtime.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index d6f62d328d34..0d47efce48b3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -4873,6 +4873,95 @@ "authenticationType" ] }, + "SapTableLinkedService": { + "x-ms-discriminator-value": "SapTable", + "description": "SAP Table Linked Service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Properties specific to this linked service type.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SapTableLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SapTableLinkedServiceTypeProperties": { + "description": "Properties specific to this linked service type.", + "properties": { + "server": { + "type": "object", + "description": "Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string)." + }, + "systemNumber": { + "type": "object", + "description": "System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string)." + }, + "clientId": { + "type": "object", + "description": "Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string)." + }, + "language": { + "type": "object", + "description": "Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string)." + }, + "systemId": { + "type": "object", + "description": "SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string)." + }, + "userName": { + "type": "object", + "description": "Username to access the SAP server where the table is located. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "Password to access the SAP server where the table is located.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "messageServer": { + "type": "object", + "description": "The hostname of the SAP Message Server. Type: string (or Expression with resultType string)." + }, + "messageServerService": { + "type": "object", + "description": "The service name or port number of the Message Server. Type: string (or Expression with resultType string)." + }, + "sncMode": { + "type": "object", + "description": "SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string)." + }, + "sncMyName": { + "type": "object", + "description": "Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string)." + }, + "sncPartnerName": { + "type": "object", + "description": "Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string)." + }, + "sncLibraryPath": { + "type": "object", + "description": "External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string)." + }, + "sncQop": { + "type": "object", + "description": "SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string)." + }, + "logonGroup": { + "type": "object", + "description": "The Logon Group for the SAP System. Type: string (or Expression with resultType string)." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + } + }, "AzureDataExplorerLinkedService": { "x-ms-discriminator-value": "AzureDataExplorer", "description": "Azure Data Explorer (Kusto) linked service.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index a28f3d82c131..c311f8bd8f7c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -205,6 +205,511 @@ "type": "object" } }, + "ConnectorReadSetting": { + "description": "Connector read setting.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The read setting type." + }, + "maxConcurrentConnections": { + "type": "object", + "description": "The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer)." + } + }, + "additionalProperties": { + "type": "object" + }, + "required": [ + "type" + ] + }, + "AzureBlobStorageReadSetting": { + "description": "Azure blob read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "Azure blob wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "Azure blob wildcardFileName. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "AzureBlobFSReadSetting": { + "description": "Azure blobFS read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "Azure blobFS wildcardFileName. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "AzureDataLakeStoreReadSetting": { + "description": "Azure data lake store read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "ADLS wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "ADLS wildcardFileName. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "AmazonS3ReadSetting": { + "description": "Azure data lake store read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "AmazonS3 wildcardFileName. Type: string (or Expression with resultType string)." + }, + "prefix": { + "type": "object", + "description": "The prefix filter for the S3 object name. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "FileServerReadSetting": { + "description": "File server read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "FileServer wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "FileServer wildcardFileName. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "FtpReadSetting": { + "description": "Ftp read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "Ftp wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "Ftp wildcardFileName. Type: string (or Expression with resultType string)." + }, + "useBinaryTransfer": { + "type": "boolean", + "description": "Specify whether to use binary transfer mode for FTP stores." + } + } + }, + "SftpReadSetting": { + "description": "Sftp read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "Sftp wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "Sftp wildcardFileName. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + } + } + }, + "HttpReadSetting": { + "description": "Sftp read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "requestMethod": { + "type": "object", + "description": "The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string)." + }, + "requestBody": { + "type": "object", + "description": "The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string)." + }, + "additionalHeaders": { + "type": "object", + "description": "The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string)." + }, + "requestTimeout": { + "type": "object", + "description": "Specifies the timeout for a HTTP client to get HTTP response from HTTP server." + } + } + }, + "HdfsReadSetting": { + "description": "HDFS read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorReadSetting" + } + ], + "properties": { + "recursive": { + "type": "object", + "description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)." + }, + "wildcardFolderPath": { + "type": "object", + "description": "HDFS wildcardFolderPath. Type: string (or Expression with resultType string)." + }, + "wildcardFileName": { + "type": "object", + "description": "HDFS wildcardFileName. Type: string (or Expression with resultType string)." + }, + "enablePartitionDiscovery": { + "type": "boolean", + "description": "Indicates whether to enable partition discovery." + }, + "modifiedDatetimeStart": { + "type": "object", + "description": "The start of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "modifiedDatetimeEnd": { + "type": "object", + "description": "The end of file's modified datetime. Type: string (or Expression with resultType string)." + }, + "distcpSettings": { + "description": "Specifies Distcp-related settings.", + "$ref": "#/definitions/DistcpSettings" + } + } + }, + "ConnectorWriteSetting": { + "description": "Connector write settings.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The write setting type." + }, + "maxConcurrentConnections": { + "type": "object", + "description": "The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer)." + }, + "copyBehavior": { + "description": "The type of copy behavior for copy sink.", + "type": "object" + } + }, + "additionalProperties": { + "type": "object" + }, + "required": [ + "type" + ] + }, + "AzureBlobStorageWriteSetting": { + "description": "Azure blob write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorWriteSetting" + } + ] + }, + "AzureBlobFSWriteSetting": { + "description": "Azure blobFS write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorWriteSetting" + } + ] + }, + "AzureDataLakeStoreWriteSetting": { + "description": "Azure data lake store write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorWriteSetting" + } + ] + }, + "FileServerWriteSetting": { + "description": "File server write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ConnectorWriteSetting" + } + ] + }, + "FormatReadSetting": { + "description": "Format read settings.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The read setting type." + } + }, + "additionalProperties": { + "type": "object" + }, + "required": [ + "type" + ] + }, + "DelimitedTextReadSetting": { + "description": "Delimited text read settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FormatReadSetting" + } + ], + "properties": { + "skipLineCount": { + "type": "object", + "description": "Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer)." + } + } + }, + "FormatWriteSetting": { + "description": "Format write settings.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The write setting type." + } + }, + "additionalProperties": { + "type": "object" + }, + "required": [ + "type" + ] + }, + "DelimitedTextWriteSetting": { + "description": "Delimited text write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FormatWriteSetting" + } + ], + "properties": { + "quoteAllText": { + "type": "object", + "description": "Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean)." + }, + "fileExtension": { + "type": "object", + "description": "The file extension used to create the files. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "fileExtension" + ] + }, + "ParquetSource": { + "description": "A copy activity Parquet source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/ConnectorReadSetting", + "description": "Parquet store settings." + } + } + }, + "DelimitedTextSource": { + "description": "A copy activity DelimitedText source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/ConnectorReadSetting", + "description": "DelimitedText store settings." + }, + "formatSettings": { + "$ref": "#/definitions/DelimitedTextReadSetting", + "description": "DelimitedText format settings." + } + } + }, + "DelimitedTextSink": { + "description": "A copy activity DelimitedText sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/ConnectorWriteSetting", + "description": "DelimitedText store settings." + }, + "formatSettings": { + "$ref": "#/definitions/DelimitedTextWriteSetting", + "description": "DelimitedText format settings." + } + } + }, "CopyActivity": { "x-ms-discriminator-value": "Copy", "description": "Copy activity.", @@ -251,7 +756,7 @@ }, "translator": { "description": "Copy activity translator. If not specified, tabular translator is used.", - "$ref": "#/definitions/CopyTranslator" + "type": "object" }, "enableStaging": { "type": "object", @@ -284,6 +789,14 @@ "description": "Type: string (or Expression with resultType string)." }, "description": "Preserve Rules." + }, + "preserve": { + "type": "array", + "items": { + "type": "object", + "description": "Type: string (or Expression with resultType string)." + }, + "description": "Preserve rules." } }, "required": [ @@ -426,7 +939,7 @@ }, "readBehavior": { "description": "The read behavior for the operation. Default is Query.", - "type": "string", + "type": "object", "enum": [ "Query", "QueryAll" @@ -463,7 +976,7 @@ ], "properties": { "query": { - "type": "string", + "type": "object", "description": "SAP ECC OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)." } } @@ -478,6 +991,82 @@ ], "properties": {} }, + "SapTableSource": { + "description": "A copy activity source for SAP Table source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "rowCount": { + "type": "object", + "description": "The number of rows to be retrieved. Type: integer(or Expression with resultType integer)." + }, + "rowSkips": { + "type": "object", + "description": "The number of rows that will be skipped. Type: integer (or Expression with resultType integer)." + }, + "rfcTableFields": { + "type": "object", + "description": "The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string)." + }, + "rfcTableOptions": { + "type": "object", + "description": "The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string)." + }, + "batchSize": { + "type": "object", + "description": "Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer)." + }, + "customRfcReadTableFunctionModule": { + "type": "object", + "description": "Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for SAP table read in parallel.", + "type": "object", + "enum": [ + "None", + "PartitionOnInt", + "PartitionOnCalendarYear", + "PartitionOnCalendarMonth", + "PartitionOnCalendarDate" + ], + "x-ms-enum": { + "name": "TabularPartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for SAP table source partitioning.", + "$ref": "#/definitions/SapTablePartitionSettings" + } + } + }, + "SapTablePartitionSettings": { + "description": "The settings that will be leveraged for SAP table source partitioning.", + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "description": "The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "maxPartitionsNumber": { + "type": "object", + "description": "The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string)." + } + } + }, "RestSource": { "description": "A copy activity Rest service source.", "type": "object", @@ -523,6 +1112,66 @@ } } }, + "SqlServerSource": { + "description": "A copy activity SQL server source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "sqlReaderQuery": { + "type": "object", + "description": "SQL reader query. Type: string (or Expression with resultType string)." + }, + "sqlReaderStoredProcedureName": { + "type": "object", + "description": "Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "produceAdditionalTypes": { + "description": "Which additional types to produce.", + "type": "object" + } + } + }, + "AzureSqlSource": { + "description": "A copy activity Azure SQL source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "sqlReaderQuery": { + "type": "object", + "description": "SQL reader query. Type: string (or Expression with resultType string)." + }, + "sqlReaderStoredProcedureName": { + "type": "object", + "description": "Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "produceAdditionalTypes": { + "description": "Which additional types to produce.", + "type": "object" + } + } + }, "SqlDWSource": { "description": "A copy activity SQL Data Warehouse source.", "type": "object", @@ -659,6 +1308,49 @@ "queryTimeout": { "type": "object", "description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for oracle read in parallel.", + "type": "object", + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "DynamicRange" + ], + "x-ms-enum": { + "name": "TabularPartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for oracle source partitioning.", + "$ref": "#/definitions/OraclePartitionSettings" + } + } + }, + "OraclePartitionSettings": { + "description": "The settings that will be leveraged for oracle source partitioning.", + "type": "object", + "properties": { + "partitionNames": { + "type": "object", + "items": { + "type": "object", + "description": "Type: string (or Expression with resultType string)." + }, + "description": "Names of the physical partitions of oracle table. " + }, + "partitionColumnName": { + "type": "object", + "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." } } }, @@ -687,7 +1379,7 @@ }, "consistencyLevel": { "description": "The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.", - "type": "string", + "type": "object", "enum": [ "ALL", "EACH_QUORUM", @@ -1408,6 +2100,7 @@ "enum": [ "String", "Int", + "Int64", "Decimal", "Guid", "Boolean", @@ -1466,7 +2159,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is 'Insert'.", - "type": "string", + "type": "object", "enum": [ "Insert", "Update" @@ -1490,7 +2183,7 @@ }, "CopyBehaviorType": { "description": "All available types of copy behavior.", - "type": "string", + "type": "object", "enum": [ "PreserveHierarchy", "FlattenHierarchy", @@ -1528,6 +2221,21 @@ } } }, + "ParquetSink": { + "description": "A copy activity Parquet sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/ConnectorWriteSetting", + "description": "Parquet store settings." + } + } + }, "BlobSink": { "description": "A copy activity Azure Blob sink.", "type": "object", @@ -1551,7 +2259,7 @@ }, "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1566,7 +2274,7 @@ "properties": { "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1582,6 +2290,10 @@ "nestingSeparator": { "type": "object", "description": "Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string)." + }, + "writeBehavior": { + "type": "object", + "description": "Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert." } } }, @@ -1612,6 +2324,78 @@ "additionalProperties": { "$ref": "#/definitions/StoredProcedureParameter" } + }, + "storedProcedureTableTypeParameterName": { + "type": "object", + "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)." + } + } + }, + "SqlServerSink": { + "description": "A copy activity SQL server sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "sqlWriterStoredProcedureName": { + "type": "object", + "description": "SQL writer stored procedure name. Type: string (or Expression with resultType string)." + }, + "sqlWriterTableType": { + "type": "object", + "description": "SQL writer table type. Type: string (or Expression with resultType string)." + }, + "preCopyScript": { + "type": "object", + "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "SQL stored procedure parameters.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "storedProcedureTableTypeParameterName": { + "type": "object", + "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)." + } + } + }, + "AzureSqlSink": { + "description": "A copy activity Azure SQL sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "sqlWriterStoredProcedureName": { + "type": "object", + "description": "SQL writer stored procedure name. Type: string (or Expression with resultType string)." + }, + "sqlWriterTableType": { + "type": "object", + "description": "SQL writer table type. Type: string (or Expression with resultType string)." + }, + "preCopyScript": { + "type": "object", + "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "SQL stored procedure parameters.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "storedProcedureTableTypeParameterName": { + "type": "object", + "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)." } } }, @@ -1765,7 +2549,11 @@ "properties": { "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" + }, + "enableAdlsSingleFileParallel": { + "description": "Single File Parallel.", + "type": "object" } } }, @@ -1780,7 +2568,7 @@ "properties": { "copyBehavior": { "description": "The type of copy behavior for copy sink.", - "$ref": "#/definitions/CopyBehaviorType" + "type": "object" } } }, @@ -1795,7 +2583,7 @@ "properties": { "writeBehavior": { "description": "Specify the write behavior when upserting documents into Azure Search Index.", - "type": "string", + "type": "object", "enum": [ "Merge", "Upload" @@ -1833,7 +2621,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation.", - "type": "string", + "type": "object", "enum": [ "Upsert" ], @@ -1885,7 +2673,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", - "type": "string", + "type": "object", "enum": [ "Insert", "Upsert" @@ -1948,15 +2736,19 @@ "properties": { "columnMappings": { "type": "object", - "description": "Column mappings. Example: \"UserId: MyUserId, Group: MyGroup, Name: MyName\" Type: string (or Expression with resultType string)." + "description": "Column mappings. Example: \"UserId: MyUserId, Group: MyGroup, Name: MyName\" Type: string (or Expression with resultType string). This property will be retired. Please use mappings property." }, "schemaMapping": { "type": "object", - "description": "The schema mapping to map between tabular data and hierarchical data. Example: {\"Column1\": \"$.Column1\", \"Column2\": \"$.Column2.Property1\", \"Column3\": \"$.Column2.Property2\"}. Type: object (or Expression with resultType object)." + "description": "The schema mapping to map between tabular data and hierarchical data. Example: {\"Column1\": \"$.Column1\", \"Column2\": \"$.Column2.Property1\", \"Column3\": \"$.Column2.Property2\"}. Type: object (or Expression with resultType object). This property will be retired. Please use mappings property." }, "collectionReference": { "type": "object", "description": "The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression with resultType object)." + }, + "mappings": { + "type": "object", + "description": "Column mappings with logical types. Tabular->tabular example: [{\"source\":{\"name\":\"CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"name\":\"CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Hierarchical->tabular example: [{\"source\":{\"path\":\"$.CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"path\":\"$.CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Type: object (or Expression with resultType object)." } } }, From b057450b34687a8c57be92903a4f73e93256d047 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 15:41:36 -0400 Subject: [PATCH 026/495] chore: jsonfmt managedservices (#6328) * chore: jsonfmt managedservices Ran `jsonfmt -w "specification/managedservices/**/*.json"` * fix: Update example version number to match API --- .../DeleteRegistrationAssignment.json | 4 +- .../DeleteRegistrationDefinition.json | 4 +- .../examples/GetOperations.json | 4 +- .../examples/GetRegistrationAssignment.json | 4 +- .../examples/GetRegistrationAssignments.json | 14 +- .../examples/GetRegistrationDefinition.json | 4 +- .../examples/GetRegistrationDefinitions.json | 8 +- .../examples/PutRegistrationAssignment.json | 4 +- .../examples/PutRegistrationDefinition.json | 4 +- .../2019-04-01-preview/managedservices.json | 130 +++++++++--------- 10 files changed, 91 insertions(+), 89 deletions(-) diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json index 937e2a8d21dd..b30665b51031 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json @@ -2,11 +2,11 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json index 4e3f74842337..8f7d0ca1e5d9 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json @@ -2,10 +2,10 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json index 201a57fde609..0e76bdc3b1c8 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": { @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json index 037e28d104e8..efc27f28722e 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": { @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json index 927df9775458..f4c0d77582c7 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json @@ -1,7 +1,7 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": { @@ -10,9 +10,9 @@ { "properties": { "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", - "provisioningState": "Succeeded", + "provisioningState": "Succeeded", "registrationDefinition": { - "properties": { + "properties": { "description": "Test", "registrationDefinitionName": "DefinitionName", "authorizations": [ @@ -21,7 +21,7 @@ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" } ], - "provisioningState": "Succeeded", + "provisioningState": "Succeeded", "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854", "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm", "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", @@ -36,8 +36,8 @@ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", "type": "Microsoft.ManagedServices/registrationDefinitions", "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2" - } - }, + } + }, "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", "type": "Microsoft.ManagedServices/registrationAssignments", "name": "484a7d5f-9729-4b87-bc9b-26610985a013" @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json index 2cf1f559505b..7b604562f6bd 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": { @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json index dc36251222c1..6d459491d38d 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json @@ -1,14 +1,14 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2018-06-01-preview" + "api-version": "2019-04-01-preview" }, "responses": { "200": { "body": { "value": [ { - "properties": { + "properties": { "description": "Test", "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", "registrationDefinitionName": "DefinitionName", @@ -18,7 +18,7 @@ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" } ], - "provisioningState": "Succeeded", + "provisioningState": "Succeeded", "managedByTenantName": "Test Tenant" }, "plan": { @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json index ca06789ce914..5739d8d53cb1 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview", + "api-version": "2019-04-01-preview", "requestBody": { "properties": { "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2" @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json index 1c9ec12f207d..1723f91c08b1 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", - "api-version": "2018-06-01-preview", + "api-version": "2019-04-01-preview", "requestBody": { "properties": { "registrationDefinitionName": "DefinitionName", @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json index a09ecd89b0c4..407c38b6327b 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json @@ -447,53 +447,53 @@ }, "RegistrationDefinitionProperties": { "properties": { - "description": { - "type": "string", - "description": "Description of the registration definition." - }, - "authorizations": { - "type": "array", - "items": { - "$ref": "#/definitions/Authorization" - }, - "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role." - }, - "registrationDefinitionName": { - "type": "string", - "description": "Name of the registration definition." - }, - "managedByTenantId": { - "type": "string", - "description": "Id of the managedBy tenant." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "Current state of the registration definition.", - "enum": [ - "NotSpecified", - "Accepted", - "Running", - "Ready", - "Creating", - "Created", - "Deleting", - "Deleted", - "Canceled", - "Failed", - "Succeeded", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": { + "type": "string", + "description": "Description of the registration definition." + }, + "authorizations": { + "type": "array", + "items": { + "$ref": "#/definitions/Authorization" }, - "managedByTenantName": { - "readOnly": true, - "type": "string", - "description": "Name of the managedBy tenant." + "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role." + }, + "registrationDefinitionName": { + "type": "string", + "description": "Name of the registration definition." + }, + "managedByTenantId": { + "type": "string", + "description": "Id of the managedBy tenant." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Current state of the registration definition.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } + }, + "managedByTenantName": { + "readOnly": true, + "type": "string", + "description": "Name of the managedBy tenant." + } }, "required": [ "managedByTenantId", @@ -503,7 +503,7 @@ "description": "Properties of a registration definition." }, "RegistrationDefinitionList": { - "properties": { + "properties": { "value": { "type": "array", "readOnly": true, @@ -557,23 +557,23 @@ "type": "string", "description": "Current state of the registration assignment.", "enum": [ - "NotSpecified", - "Accepted", - "Running", - "Ready", - "Creating", - "Created", - "Deleting", - "Deleted", - "Canceled", - "Failed", - "Succeeded", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "registrationDefinition": { "readOnly": true, @@ -660,7 +660,9 @@ "description": "Registration definition inside registration assignment." } }, - "required":["registrationDefinitionId"], + "required": [ + "registrationDefinitionId" + ], "type": "object", "description": "Properties of a registration assignment." }, From 45f58882f2353f91f40f33c1600bf17ffb805852 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 15:42:09 -0400 Subject: [PATCH 027/495] chore: jsonfmt customproviders (#6322) Ran `jsonfmt -w "specification/customproviders/**/*.json" --- .../preview/2018-09-01-preview/customproviders.json | 8 ++++---- .../examples/createOrUpdateAssociation.json | 2 +- .../2018-09-01-preview/examples/deleteAssociation.json | 2 +- .../2018-09-01-preview/examples/getAllAssociations.json | 2 +- .../2018-09-01-preview/examples/getAssociation.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json index c68e3403dd21..24b22825f4ca 100644 --- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json +++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json @@ -500,7 +500,7 @@ } }, "produces": [ - "application/json" + "application/json" ] }, "get": { @@ -552,9 +552,9 @@ "application/json" ] } - }, - "/{scope}/providers/Microsoft.CustomProviders/associations": { - "get": { + }, + "/{scope}/providers/Microsoft.CustomProviders/associations": { + "get": { "tags": [ "Associations" ], diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json index 2560751e4e0c..1d88fb32e139 100644 --- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json +++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json index 200e6d59922b..1a56b7fbd74b 100644 --- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json +++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json @@ -9,4 +9,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json index 907b0171dd50..5de1d45ef8ee 100644 --- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json +++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json index 6791d0eb6c17..46662be81ac8 100644 --- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json +++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} From 53559942233af848cb8ffd382e84887b58f03a02 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 15:42:37 -0400 Subject: [PATCH 028/495] chore: jsonfmt automation (#6307) Ran `jsonfmt -w "specification/automation/**/*.json"` --- .../Microsoft.Automation/stable/2015-10-31/schedule.json | 1 - .../Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json index 77154365b6b8..8d64104633ed 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json @@ -532,7 +532,6 @@ "type": "string", "description": "Gets or sets the frequency of the schedule.", "$ref": "#/definitions/scheduleFrequency" - }, "timeZone": { "type": "string", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json index 460bed25949c..f27c7f041f6e 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json @@ -141,7 +141,7 @@ "name": "CountType", "modelAsString": true }, - "x-ms-parameter-location":"method" + "x-ms-parameter-location": "method" } } } From a9771cce3120bbf2604b64248e74ed46306b7021 Mon Sep 17 00:00:00 2001 From: TinaHu1 <51737887+TinaHu1@users.noreply.github.com> Date: Fri, 14 Jun 2019 04:06:58 +0800 Subject: [PATCH 029/495] Add Dataset and CopySource for SAP HANA (#6314) * Add Dataset and CopySource for SAP HANA * Update LinkedService.json * Update Pipeline.json --- .../2018-06-01/entityTypes/Dataset.json | 30 +++++++++++++++++++ .../2018-06-01/entityTypes/LinkedService.json | 6 +++- .../2018-06-01/entityTypes/Pipeline.json | 21 ++++++++++++- 3 files changed, 55 insertions(+), 2 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index ee9b5f560e90..ca2edeaa7152 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1327,6 +1327,36 @@ "path" ] }, + "SapHanaTableDataset": { + "x-ms-discriminator-value": "SapHanaTable", + "description": "SAP HANA Table properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "SAP HANA Table properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SapHanaTableDatasetTypeProperties" + } + } + }, + "SapHanaTableDatasetTypeProperties": { + "description": "SAP HANA Table properties.", + "properties": { + "schema": { + "type": "object", + "description": "The schema name of SAP HANA. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The table name of SAP HANA. Type: string (or Expression with resultType string)." + } + } + }, "SapOpenHubTableDataset": { "x-ms-discriminator-value": "SapOpenHubTable", "description": "Sap Business Warehouse Open Hub Destination Table properties.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index 0d47efce48b3..7c09c3e245ec 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -2410,6 +2410,10 @@ "SapHanaLinkedServiceProperties": { "description": "Properties specific to this linked service type.", "properties": { + "connectionString": { + "type": "object", + "description": "SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference." + }, "server": { "type": "object", "description": "Host name of the SAP HANA server. Type: string (or Expression with resultType string)." @@ -5055,4 +5059,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index c311f8bd8f7c..f80c024294d9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -981,6 +981,25 @@ } } }, + "SapHanaSource": { + "description": "A copy activity source for SAP HANA source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "SAP HANA Sql query. Type: string (or Expression with resultType string)." + }, + "packetSize": { + "type": "object", + "description": "The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer)." + } + } + }, "SapOpenHubSource": { "description": "A copy activity source for SAP Business Warehouse Open Hub Destination source.", "type": "object", @@ -4433,4 +4452,4 @@ ] } } -} \ No newline at end of file +} From 0a87255eae0ae5521fb03da07eaabe0d13f453f5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 16:08:12 -0400 Subject: [PATCH 030/495] chore: jsonfmt cosmos-db (#6320) Ran `jsonfmt -w "specification/cosmos-db/**/*.json"` --- .../stable/2015-04-08/cosmos-db.json | 76 ++++++++++++++----- ...osmosDBCassandraKeyspaceThroughputGet.json | 4 +- ...osDBCassandraKeyspaceThroughputUpdate.json | 13 ++-- .../CosmosDBCassandraTableThroughputGet.json | 4 +- ...osmosDBCassandraTableThroughputUpdate.json | 13 ++-- .../CosmosDBGremlinDatabaseThroughputGet.json | 4 +- ...smosDBGremlinDatabaseThroughputUpdate.json | 13 ++-- .../CosmosDBGremlinGraphCreateUpdate.json | 2 +- .../CosmosDBGremlinGraphThroughputGet.json | 4 +- .../CosmosDBGremlinGraphThroughputUpdate.json | 13 ++-- ...osmosDBMongoDBCollectionThroughputGet.json | 4 +- ...osDBMongoDBCollectionThroughputUpdate.json | 13 ++-- .../CosmosDBMongoDBDatabaseThroughputGet.json | 4 +- ...smosDBMongoDBDatabaseThroughputUpdate.json | 13 ++-- .../CosmosDBSqlContainerThroughputGet.json | 4 +- .../CosmosDBSqlContainerThroughputUpdate.json | 13 ++-- .../CosmosDBSqlDatabaseThroughputGet.json | 4 +- .../CosmosDBSqlDatabaseThroughputUpdate.json | 13 ++-- .../examples/CosmosDBTableThroughputGet.json | 4 +- .../CosmosDBTableThroughputUpdate.json | 13 ++-- 20 files changed, 130 insertions(+), 101 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json index c8ff3ace7b12..7e15bc18485d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json @@ -1601,7 +1601,9 @@ "get": { "operationId": "DatabaseAccounts_GetSqlDatabaseThroughput", "x-ms-examples": { - "CosmosDBSqlDatabaseThroughputGet": { "$ref": "./examples/CosmosDBSqlDatabaseThroughputGet.json" } + "CosmosDBSqlDatabaseThroughputGet": { + "$ref": "./examples/CosmosDBSqlDatabaseThroughputGet.json" + } }, "description": "Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -1633,7 +1635,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateSqlDatabaseThroughput", "x-ms-examples": { - "CosmosDBSqlDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBSqlDatabaseThroughputUpdate.json" } + "CosmosDBSqlDatabaseThroughputUpdate": { + "$ref": "./examples/CosmosDBSqlDatabaseThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB SQL database", "x-ms-long-running-operation": true, @@ -1846,7 +1850,9 @@ "get": { "operationId": "DatabaseAccounts_GetSqlContainerThroughput", "x-ms-examples": { - "CosmosDBSqlContainerThroughputGet": { "$ref": "./examples/CosmosDBSqlContainerThroughputGet.json" } + "CosmosDBSqlContainerThroughputGet": { + "$ref": "./examples/CosmosDBSqlContainerThroughputGet.json" + } }, "description": "Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1881,7 +1887,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateSqlContainerThroughput", "x-ms-examples": { - "CosmosDBSqlContainerThroughputUpdate": { "$ref": "./examples/CosmosDBSqlContainerThroughputUpdate.json" } + "CosmosDBSqlContainerThroughputUpdate": { + "$ref": "./examples/CosmosDBSqlContainerThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB SQL container", "x-ms-long-running-operation": true, @@ -2085,7 +2093,9 @@ "get": { "operationId": "DatabaseAccounts_GetMongoDBDatabaseThroughput", "x-ms-examples": { - "CosmosDBMongoDBDatabaseThroughputGet": { "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputGet.json" } + "CosmosDBMongoDBDatabaseThroughputGet": { + "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputGet.json" + } }, "description": "Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2117,7 +2127,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateMongoDBDatabaseThroughput", "x-ms-examples": { - "CosmosDBMongoDBDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputUpdate.json" } + "CosmosDBMongoDBDatabaseThroughputUpdate": { + "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputUpdate.json" + } }, "description": "Update RUs per second of the an Azure Cosmos DB MongoDB database", "x-ms-long-running-operation": true, @@ -2330,7 +2342,9 @@ "get": { "operationId": "DatabaseAccounts_GetMongoDBCollectionThroughput", "x-ms-examples": { - "CosmosDBMongoDBCollectionThroughputGet": { "$ref": "./examples/CosmosDBMongoDBCollectionThroughputGet.json" } + "CosmosDBMongoDBCollectionThroughputGet": { + "$ref": "./examples/CosmosDBMongoDBCollectionThroughputGet.json" + } }, "description": "Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2365,7 +2379,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateMongoDBCollectionThroughput", "x-ms-examples": { - "CosmosDBMongoDBCollectionThroughputUpdate": { "$ref": "./examples/CosmosDBMongoDBCollectionThroughputUpdate.json" } + "CosmosDBMongoDBCollectionThroughputUpdate": { + "$ref": "./examples/CosmosDBMongoDBCollectionThroughputUpdate.json" + } }, "description": "Update the RUs per second of an Azure Cosmos DB MongoDB collection", "x-ms-long-running-operation": true, @@ -2532,7 +2548,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteTable", "x-ms-examples": { - "CosmosDBTableDelete": { "$ref": "./examples/CosmosDBTableDelete.json" } + "CosmosDBTableDelete": { + "$ref": "./examples/CosmosDBTableDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Table.", "x-ms-long-running-operation": true, @@ -2567,7 +2585,9 @@ "get": { "operationId": "DatabaseAccounts_GetTableThroughput", "x-ms-examples": { - "CosmosDBTableThroughputGet": { "$ref": "./examples/CosmosDBTableThroughputGet.json" } + "CosmosDBTableThroughputGet": { + "$ref": "./examples/CosmosDBTableThroughputGet.json" + } }, "description": "Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2599,7 +2619,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateTableThroughput", "x-ms-examples": { - "CosmosDBTableThroughputUpdate": { "$ref": "./examples/CosmosDBTableThroughputUpdate.json" } + "CosmosDBTableThroughputUpdate": { + "$ref": "./examples/CosmosDBTableThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB Table", "x-ms-long-running-operation": true, @@ -2800,7 +2822,9 @@ "get": { "operationId": "DatabaseAccounts_GetCassandraKeyspaceThroughput", "x-ms-examples": { - "CosmosDBCassandraKeyspaceThroughputGet": { "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputGet.json" } + "CosmosDBCassandraKeyspaceThroughputGet": { + "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputGet.json" + } }, "description": "Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2832,7 +2856,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateCassandraKeyspaceThroughput", "x-ms-examples": { - "CosmosDBCassandraKeyspaceThroughputUpdate": { "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputUpdate.json" } + "CosmosDBCassandraKeyspaceThroughputUpdate": { + "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB Cassandra Keyspace", "x-ms-long-running-operation": true, @@ -3045,7 +3071,9 @@ "get": { "operationId": "DatabaseAccounts_GetCassandraTableThroughput", "x-ms-examples": { - "CosmosDBCassandraTableThroughputGet": { "$ref": "./examples/CosmosDBCassandraTableThroughputGet.json" } + "CosmosDBCassandraTableThroughputGet": { + "$ref": "./examples/CosmosDBCassandraTableThroughputGet.json" + } }, "description": "Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -3080,7 +3108,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateCassandraTableThroughput", "x-ms-examples": { - "CosmosDBCassandraTableThroughputUpdate": { "$ref": "./examples/CosmosDBCassandraTableThroughputUpdate.json" } + "CosmosDBCassandraTableThroughputUpdate": { + "$ref": "./examples/CosmosDBCassandraTableThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB Cassandra table", "x-ms-long-running-operation": true, @@ -3284,7 +3314,9 @@ "get": { "operationId": "DatabaseAccounts_GetGremlinDatabaseThroughput", "x-ms-examples": { - "CosmosDBGremlinDatabaseThroughputGet": { "$ref": "./examples/CosmosDBGremlinDatabaseThroughputGet.json" } + "CosmosDBGremlinDatabaseThroughputGet": { + "$ref": "./examples/CosmosDBGremlinDatabaseThroughputGet.json" + } }, "description": "Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -3316,7 +3348,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateGremlinDatabaseThroughput", "x-ms-examples": { - "CosmosDBGremlinDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBGremlinDatabaseThroughputUpdate.json" } + "CosmosDBGremlinDatabaseThroughputUpdate": { + "$ref": "./examples/CosmosDBGremlinDatabaseThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB Gremlin database", "x-ms-long-running-operation": true, @@ -3529,7 +3563,9 @@ "get": { "operationId": "DatabaseAccounts_GetGremlinGraphThroughput", "x-ms-examples": { - "CosmosDBGremlinGraphThroughputGet": { "$ref": "./examples/CosmosDBGremlinGraphThroughputGet.json" } + "CosmosDBGremlinGraphThroughputGet": { + "$ref": "./examples/CosmosDBGremlinGraphThroughputGet.json" + } }, "description": "Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -3564,7 +3600,9 @@ "put": { "operationId": "DatabaseAccounts_UpdateGremlinGraphThroughput", "x-ms-examples": { - "CosmosDBGremlinGraphThroughputUpdate": { "$ref": "./examples/CosmosDBGremlinGraphThroughputUpdate.json" } + "CosmosDBGremlinGraphThroughputUpdate": { + "$ref": "./examples/CosmosDBGremlinGraphThroughputUpdate.json" + } }, "description": "Update RUs per second of an Azure Cosmos DB Gremlin graph", "x-ms-long-running-operation": true, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json index 5a86e118769e..d6513db457ef 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json @@ -7,7 +7,7 @@ "keyspaceName": "keyspaceName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json index aac7340b2f1e..3b7ed4e7dec5 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json @@ -7,21 +7,20 @@ "keyspaceName": "keyspaceName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json index f0aa5b1fec73..137c8b94232f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json @@ -8,7 +8,7 @@ "tableName": "tableName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json index 4b6f0c3dceab..682176b33863 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json @@ -8,21 +8,20 @@ "tableName": "tableName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json index dbfd10f51b75..328856c5e287 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json index fccc5d0b54a2..6ea123a4cea4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json @@ -7,21 +7,20 @@ "databaseName": "databaseName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json index de71a97b73df..980202f358ed 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json @@ -115,4 +115,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json index 562bc9278e3a..9519f738f1b0 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json @@ -8,7 +8,7 @@ "graphName": "graphName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json index fec92102e657..5cc03188bbee 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json @@ -8,21 +8,20 @@ "graphName": "graphName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json index 0a8e5178c79b..a41553610b88 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json @@ -8,7 +8,7 @@ "collectionName": "collectionName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json index db68904e6b62..68f363d15609 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json @@ -8,21 +8,20 @@ "collectionName": "collectionName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json index dbfd10f51b75..328856c5e287 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json index fccc5d0b54a2..6ea123a4cea4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json @@ -7,21 +7,20 @@ "databaseName": "databaseName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json index c7db86070d33..0540d939e11e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json @@ -8,7 +8,7 @@ "containerName": "containerName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json index 2a0daea68441..3102e219c0b7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json @@ -8,21 +8,20 @@ "containerName": "containerName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json index dbfd10f51b75..328856c5e287 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json index fccc5d0b54a2..6ea123a4cea4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json @@ -7,21 +7,20 @@ "databaseName": "databaseName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json index 35e81fdbd273..d25b45d96489 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json @@ -7,7 +7,7 @@ "tableName": "tableName" }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json index f144d340e965..fc68f008605e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json @@ -7,21 +7,20 @@ "tableName": "tableName", "updateThroughputParameters": { "properties": { - "resource": { - "throughput": 400 - } + "resource": { + "throughput": 400 + } } } }, "responses": { - "200": { + "200": { "body": { "properties": { "throughput": 400 } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} From 0aa3bf2e9270cf97bd7c242b92d82e1000e2b832 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 13 Jun 2019 16:17:51 -0700 Subject: [PATCH 031/495] Update appconfiguration Python conf (#6340) --- .../appconfiguration/resource-manager/readme.python.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index e1c7b10da6b2..4b37490f2f0a 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -12,16 +12,16 @@ python: payload-flattening-threshold: 2 namespace: azure.mgmt.appconfiguration package-name: azure-mgmt-appconfiguration - package-version: 2.0.0 + package-version: 0.1.0 clear-output-folder: true ``` ``` yaml $(python) && $(python-mode) == 'update' python: no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration + output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration ``` ``` yaml $(python) && $(python-mode) == 'create' python: basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-appconfiguration + output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration ``` From da594266c5b9f20e1cdc34353eeba462b06e2f82 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 13 Jun 2019 20:19:31 -0400 Subject: [PATCH 032/495] chore: Add "bzip" to dictionary (#6338) --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 19383a9ce803..d46bb0e490dc 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -200,6 +200,7 @@ Bsaling BYOC BYOL BYOS +bzip cacerts calculatebaseline canadacentral From 46784afbe62ef83e71b071b75ddede12711962ab Mon Sep 17 00:00:00 2001 From: Aman Bhardwaj Date: Thu, 13 Jun 2019 20:45:20 -0700 Subject: [PATCH 033/495] Swagger specification for Service Fabric runtime version 6.5 (#6304) * Swagger specification for Service Fabric runtime version 6.5 * updating readme.md and readme.go.md * fixing typos. --- .../6.5/examples/BackupPartition-1.json | 13 + .../6.5/examples/BackupPartition-2.json | 19 + .../6.5/examples/BackupPartition-3.json | 20 + .../6.5/examples/CreateApplication-1.json | 16 + .../6.5/examples/CreateBackupPolicy-1.json | 35 + .../6.5/examples/CreateBackupPolicy-2.json | 32 + .../stable/6.5/examples/CreateName-1.json | 14 + .../stable/6.5/examples/CreateService-1.json | 21 + .../stable/6.5/examples/CreateService-2.json | 23 + .../stable/6.5/examples/CreateService-3.json | 47 + .../stable/6.5/examples/CreateService-4.json | 44 + .../6.5/examples/DeleteBackupPolicy.json | 12 + .../examples/DisableApplicationBackup.json | 15 + .../6.5/examples/DisablePartitionBackup.json | 15 + .../6.5/examples/DisableServiceBackup.json | 15 + .../6.5/examples/EnableApplicationBackup.json | 15 + .../6.5/examples/EnablePartitionBackup.json | 15 + .../6.5/examples/EnableServiceBackup.json | 15 + .../GetAllEntitiesBackedUpByPolicy-1.json | 28 + .../GetAllEntitiesBackedUpByPolicy-2.json | 25 + ...tApplicationBackupConfigurationInfo-1.json | 40 + ...tApplicationBackupConfigurationInfo-2.json | 32 + .../examples/GetApplicationBackupList-1.json | 109 + .../examples/GetApplicationBackupList-2.json | 64 + .../examples/GetApplicationBackupList-3.json | 64 + .../examples/GetApplicationBackupList-4.json | 65 + .../6.5/examples/GetApplicationEventList.json | 28 + .../examples/GetApplicationInfoByName-1.json | 27 + .../examples/GetApplicationInfoList-1.json | 39 + .../examples/GetApplicationInfoList-2.json | 30 + .../GetApplicationTypeInfoList-1.json | 86 + .../GetApplicationTypeInfoList-2.json | 50 + .../GetApplicationTypeInfoList-3.json | 61 + .../examples/GetApplicationsEventList.json | 37 + .../6.5/examples/GetBackupPolicyByName.json | 37 + .../6.5/examples/GetBackupPolicyList-1.json | 64 + .../6.5/examples/GetBackupPolicyList-2.json | 43 + .../GetBackupsFromBackupLocation-1.json | 74 + .../GetBackupsFromBackupLocation-2.json | 75 + .../stable/6.5/examples/GetChaosEvents.json | 63 + .../6.5/examples/GetClusterEventList.json | 56 + .../6.5/examples/GetClusterVersion-1.json | 16 + .../GetContainerLogsDeployedOnNode-1.json | 20 + .../GetContainerLogsDeployedOnNode-2.json | 21 + .../GetContainerLogsDeployedOnNode-3.json | 21 + .../6.5/examples/GetCorrelatedEventList.json | 31 + .../examples/GetDataLossProgress-Running.json | 19 + .../6.5/examples/GetDataLossProgress.json | 26 + .../GetDeployedApplicationInfoByName-1.json | 29 + .../GetDeployedApplicationInfoList-1.json | 40 + .../GetDeployedApplicationInfoList-2.json | 30 + .../GetDeployedApplicationInfoList-3.json | 50 + .../6.5/examples/GetFaultOperationList.json | 53 + .../6.5/examples/GetImageStoreContent.json | 92 + .../stable/6.5/examples/GetNodeEventList.json | 33 + .../stable/6.5/examples/GetNodeInfo-1.json | 44 + .../6.5/examples/GetNodeInfoList-1.json | 73 + .../6.5/examples/GetNodeInfoList-2.json | 100 + .../stable/6.5/examples/GetNodeInfoList.json | 152 + .../GetNodeTransitionProgress-Running.json | 18 + .../examples/GetNodeTransitionProgress.json | 25 + .../6.5/examples/GetNodesEventList.json | 47 + .../GetPartitionBackupConfigurationInfo.json | 25 + .../examples/GetPartitionBackupList-1.json | 65 + .../examples/GetPartitionBackupList-2.json | 42 + .../examples/GetPartitionBackupList-3.json | 64 + .../examples/GetPartitionBackupList-4.json | 43 + .../examples/GetPartitionBackupProgress.json | 26 + .../6.5/examples/GetPartitionEventList.json | 38 + .../examples/GetPartitionRestartProgress.json | 26 + .../examples/GetPartitionRestoreProgress.json | 24 + .../6.5/examples/GetPartitionsEventList.json | 57 + .../6.5/examples/GetPropertyInfo-1.json | 30 + .../6.5/examples/GetPropertyInfoList-1.json | 43 + .../6.5/examples/GetPropertyInfoList-2.json | 51 + .../6.5/examples/GetPropertyInfoList-3.json | 37 + .../GetQuorumLossProgress-Running.json | 19 + .../6.5/examples/GetQuorumLossProgress.json | 26 + .../6.5/examples/GetReplicaEventList.json | 36 + .../6.5/examples/GetReplicasEventList.json | 52 + .../GetServiceBackupConfigurationInfo-1.json | 41 + .../GetServiceBackupConfigurationInfo-2.json | 32 + .../6.5/examples/GetServiceBackupList-1.json | 109 + .../6.5/examples/GetServiceBackupList-2.json | 64 + .../6.5/examples/GetServiceBackupList-3.json | 64 + .../6.5/examples/GetServiceBackupList-4.json | 65 + .../6.5/examples/GetServiceEventList.json | 35 + .../examples/GetServiceTypeInfoByName-1.json | 39 + .../examples/GetServiceTypeInfoList-1.json | 36 + .../6.5/examples/GetServicesEventList.json | 51 + .../6.5/examples/GetSubNameInfoList-1.json | 22 + .../6.5/examples/GetSubNameInfoList-2.json | 28 + .../6.5/examples/GetSubNameInfoList-3.json | 24 + .../6.5/examples/GetUploadSessionById.json | 34 + .../6.5/examples/GetUploadSessionByPath.json | 50 + .../6.5/examples/InvokeContainerApi.json | 27 + .../6.5/examples/InvokeContainerApi_Post.json | 29 + .../stable/6.5/examples/PutProperty-1.json | 19 + .../stable/6.5/examples/PutProperty-2.json | 20 + .../Replicas/CodePackages/get_logs.json | 18 + .../Applications/Services/Replicas/get.json | 57 + .../Applications/Services/Replicas/list.json | 105 + .../Resources/Applications/Services/get.json | 51 + .../Resources/Applications/Services/list.json | 56 + .../Applications/create_update.autoscale.json | 102 + .../Resources/Applications/create_update.json | 139 + .../Resources/Applications/delete.json | 13 + .../examples/Resources/Applications/get.json | 39 + .../examples/Resources/Applications/list.json | 44 + .../Resources/Gateways/create_update.json | 193 + .../examples/Resources/Gateways/delete.json | 13 + .../6.5/examples/Resources/Gateways/get.json | 72 + .../6.5/examples/Resources/Gateways/list.json | 77 + .../Resources/Networks/create_update.json | 41 + .../examples/Resources/Networks/delete.json | 13 + .../6.5/examples/Resources/Networks/get.json | 21 + .../6.5/examples/Resources/Networks/list.json | 26 + .../Resources/Secrets/create_update.json | 41 + .../examples/Resources/Secrets/delete.json | 13 + .../6.5/examples/Resources/Secrets/get.json | 21 + .../6.5/examples/Resources/Secrets/list.json | 35 + .../Resources/Secrets/values/create.json | 36 + .../Resources/Secrets/values/delete.json | 15 + .../Resources/Secrets/values/get.json | 20 + .../Resources/Secrets/values/list.json | 29 + .../Resources/Secrets/values/list_value.json | 16 + .../Resources/Volumes/create_update.json | 52 + .../examples/Resources/Volumes/delete.json | 13 + .../6.5/examples/Resources/Volumes/get.json | 25 + .../6.5/examples/Resources/Volumes/list.json | 30 + .../stable/6.5/examples/RestorePartition.json | 21 + .../6.5/examples/ResumeApplicationBackup.json | 12 + .../6.5/examples/ResumePartitionBackup.json | 12 + .../6.5/examples/ResumeServiceBackup.json | 12 + .../StartClusterConfigurationUpgrade-1.json | 42 + .../6.5/examples/SubmitPropertyBatch-1.json | 67 + .../examples/SuspendApplicationBackup.json | 12 + .../6.5/examples/SuspendPartitionBackup.json | 12 + .../6.5/examples/SuspendServiceBackup.json | 12 + .../6.5/examples/UpdateBackupPolicy.json | 36 + .../stable/6.5/examples/UpdateService-1.json | 34 + .../stable/6.5/examples/UpdateService-2.json | 17 + .../stable/6.5/servicefabric.json | 27502 ++++++++++++++++ .../servicefabric/data-plane/readme.go.md | 9 + .../servicefabric/data-plane/readme.md | 15 +- 145 files changed, 33255 insertions(+), 2 deletions(-) create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoByName-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetCorrelatedEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoByName-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfo-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoByName-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.autoscale.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/create_update.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list_value.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json create mode 100644 specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json new file mode 100644 index 000000000000..83a821cf558d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json @@ -0,0 +1,13 @@ +{ + "operationId": "BackupPartition", + "description": "This example shows how to trigger backup of a partition now, which is already configured for periodic backups. The newly created backup will be saved at the same location where the periodic backups are being saved.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "BackupPartitionDescription": {} + }, + "responses": { + "202": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json new file mode 100644 index 000000000000..0c5e27edc6d6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json @@ -0,0 +1,19 @@ +{ + "operationId": "BackupPartition", + "description": "This example shows how to trigger backup of a partition now, and save the backup to a specific Azure blob storage account.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "BackupPartitionDescription": { + "BackupStorage": { + "StorageKind": "AzureBlobStore", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + } + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json new file mode 100644 index 000000000000..2e3c6d010b83 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json @@ -0,0 +1,20 @@ +{ + "operationId": "BackupPartition", + "description": "This example shows how to trigger backup of a partition now, and save the backup to a specific file share accessible from all cluster nodes.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "BackupPartitionDescription": { + "BackupStorage": { + "StorageKind": "FileShare", + "Path": "\\\\myshare\\backupshare", + "PrimaryUserName": "mydomain\\backupaccount", + "PrimaryPassword": "abcd1234" + } + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json new file mode 100644 index 000000000000..bccda97daa0e --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json @@ -0,0 +1,16 @@ +{ + "operationId": "CreateApplication", + "description": "This example shows how to create a Service Fabric application without overriding any application parameter values.", + "parameters": { + "api-version": "6.0", + "ApplicationDescription": { + "Name": "fabric:/samples/CalcApp", + "TypeVersion": "1.0", + "TypeName": "CalculatorApp" + } + }, + "responses": { + "201": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json new file mode 100644 index 000000000000..b2210fff6b8b --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json @@ -0,0 +1,35 @@ +{ + "operationId": "CreateBackupPolicy", + "description": "This example shows how to create a backup policy which takes backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 3 months, with Azure blob store as the backup location.", + "parameters": { + "api-version": "6.4", + "BackupPolicyDescription": { + "Name": "DailyAzureBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "TimeBased", + "ScheduleFrequencyType": "Daily", + "RunTimes": [ + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" + ] + }, + "Storage": { + "StorageKind": "AzureBlobStore", + "FriendlyName": "Azure_storagesample", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 20, + "RetentionDuration": "P3M" + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json new file mode 100644 index 000000000000..af61f734902c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json @@ -0,0 +1,32 @@ +{ + "operationId": "CreateBackupPolicy", + "description": "This example shows how to create a backup policy which takes backup every 10 minutes which shall get deleted after 20 days, with file share as the backup location.", + "parameters": { + "api-version": "6.4", + "BackupPolicyDescription": { + "Name": "FileShare10MinBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "FrequencyBased", + "Interval": "PT10M" + }, + "Storage": { + "StorageKind": "FileShare", + "FriendlyName": "FileShare_myshare", + "Path": "\\\\myshare\\backupshare", + "PrimaryUserName": "backupaccount", + "PrimaryPassword": "abcd1234" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 20, + "RetentionDuration": "P20D" + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json new file mode 100644 index 000000000000..bde8440d7677 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json @@ -0,0 +1,14 @@ +{ + "operationId": "CreateName", + "description": "This example shows how to create a new Service Fabric name. The name can be created under an existing name that represents an appliction or a service or under a completely new name.", + "parameters": { + "api-version": "6.0", + "NameDescription": { + "Name": "fabric:/samples/CalculatorApp/CalculatorService/Name-1" + } + }, + "responses": { + "201": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json new file mode 100644 index 000000000000..c6186d87241b --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json @@ -0,0 +1,21 @@ +{ + "operationId": "CreateService", + "description": "This example shows how to create a basic stateless Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 4 + } + }, + "responses": { + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json new file mode 100644 index 000000000000..8549e33566a4 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json @@ -0,0 +1,23 @@ +{ + "operationId": "CreateService", + "description": "This example shows how to create a basic stateful Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": false + } + }, + "responses": { + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json new file mode 100644 index 000000000000..5d7ea2bbafed --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json @@ -0,0 +1,47 @@ +{ + "operationId": "CreateService", + "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 2, + "PlacementConstraints": "Color==Blue", + "CorrelationScheme": [], + "ServiceLoadMetrics": [], + "ServicePlacementPolicies": [], + "DefaultMoveCost": "Low", + "IsDefaultMoveCostSpecified": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ServiceDnsName": "test1.test", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.300000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 1, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } + } + ] + } + }, + "responses": { + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json new file mode 100644 index 000000000000..6201d55060d9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json @@ -0,0 +1,44 @@ +{ + "operationId": "CreateService", + "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "NamedPartitionSchemeDescription", + "Count" : 1, + "Names" : ["0"] + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize" : 2, + "HasPersistedState" : true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AverageServiceLoad", + "MetricName": "servicefabric:\/_MemoryInMB", + "LowerLoadThreshold": 500, + "UpperLoadThreshold": 900, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "AddRemoveIncrementalNamedPartition", + "MinPartitionCount": 1, + "MaxPartitionCount": 3, + "ScaleIncrement": 1 + } + } + ] + } + }, + "responses": { + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json new file mode 100644 index 000000000000..734395ce32b1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json @@ -0,0 +1,12 @@ +{ + "operationId": "DeleteBackupPolicy", + "description": "This example shows how to delete an existing backup policy which is currently not associated with any backup entity.", + "parameters": { + "api-version": "6.4", + "backupPolicyName": "SampleBackupPolicy" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json new file mode 100644 index 000000000000..bd8540b36fee --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "DisableApplicationBackup", + "description": "This example shows how to disable periodic backup for a stateful application which was previously enabled.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "DisableBackupDescription": { + "CleanBackup": true + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json new file mode 100644 index 000000000000..b623b3e43f27 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "DisablePartitionBackup", + "description": "This example shows how to disable periodic backup for a stateful partition which was previously enabled.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "DisableBackupDescription": { + "CleanBackup": false + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json new file mode 100644 index 000000000000..fe100058077b --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "DisableServiceBackup", + "description": "This example shows how to disable periodic backup for a stateful service which was previously enabled.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "DisableBackupDescription": { + "CleanBackup": true + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json new file mode 100644 index 000000000000..2cd0f437db33 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "EnableApplicationBackup", + "description": "This example shows how to enable periodic backup for a stateful application.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "EnableBackupDescription": { + "BackupPolicyName": "DailyAzureBackupPolicy" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json new file mode 100644 index 000000000000..3daf064a898d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "EnablePartitionBackup", + "description": "This example shows how to enable periodic backup for a stateful partition.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "EnableBackupDescription": { + "BackupPolicyName": "DailyAzureBackupPolicy" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json new file mode 100644 index 000000000000..bebbe3f6f9f6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json @@ -0,0 +1,15 @@ +{ + "operationId": "EnableServiceBackup", + "description": "This example shows how to enable periodic backup for a stateful service.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "EnableBackupDescription": { + "BackupPolicyName": "DailyAzureBackupPolicy" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json new file mode 100644 index 000000000000..8141cd283aef --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json @@ -0,0 +1,28 @@ +{ + "operationId": "GetAllEntitiesBackedUpByPolicy", + "description": "This example shows how to get list of backup entities that are currently associated with a backup policy. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "backupPolicyName": "DailyAzureBackupPolicy", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/DemoApp", + "Items": [ + { + "EntityKind": "Application", + "ApplicationName": "fabric:/CalcApp" + }, + { + "EntityKind": "Application", + "ApplicationName": "fabric:/DemoApp" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json new file mode 100644 index 000000000000..b7fc80ecf216 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json @@ -0,0 +1,25 @@ +{ + "operationId": "GetAllEntitiesBackedUpByPolicy", + "description": "This example shows how to get list of backup entities that are currently associated with a backup policy. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "backupPolicyName": "DailyAzureBackupPolicy", + "MaxResults": 2, + "ContinuationToken": "fabric:/DemoApp" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "EntityKind": "Service", + "ServiceName": "fabric:/VotingApp/VotingActorService" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json new file mode 100644 index 000000000000..56a5d760f94a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json @@ -0,0 +1,40 @@ +{ + "operationId": "GetApplicationBackupConfigurationInfo", + "description": "This example shows how to get list of backup configuration for this application and entities (services and partitions) under this application. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService", + "Items": [ + { + "Kind": "Application", + "PolicyName": "BackupPolicy1", + "PolicyInheritedFrom": "Application", + "ApplicationName": "fabric:/CalcApp", + "SuspensionInfo": { + "IsSuspended": false, + "SuspensionInheritedFrom": "Invalid" + } + }, + { + "Kind": "Service", + "PolicyName": "BackupPolicy2", + "PolicyInheritedFrom": "Service", + "ServiceName": "fabric:/CalcApp/CalcService", + "SuspensionInfo": { + "IsSuspended": false, + "SuspensionInheritedFrom": "Invalid" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json new file mode 100644 index 000000000000..506f8ec3cbc8 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json @@ -0,0 +1,32 @@ +{ + "operationId": "GetApplicationBackupConfigurationInfo", + "description": "This example shows how to get list of backup configuration for this application and entities (services and partitions) under this application. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "MaxResults": 2, + "ContinuationToken": "fabric:/CalcApp/CalcService" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Kind": "Partition", + "PolicyName": "BackupPolicy2", + "PolicyInheritedFrom": "Service", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "SuspensionInfo": { + "IsSuspended": true, + "SuspensionInheritedFrom": "Partition" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json new file mode 100644 index 000000000000..df8b305698a5 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json @@ -0,0 +1,109 @@ +{ + "operationId": "GetApplicationBackupList", + "description": "This example shows how to get list of application backups within a time range.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "StartDateTimeFilter": "2018-01-01T00:00:00Z", + "EndDateTimeFilter": "2018-01-01T23:59:59Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "ServiceManifestVersion":"1.0.0", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + }, + { + "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceName": "fabric:/CalcApp/CalcService", + "ServiceManifestVersion": "1.0.0", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "161", + "CreationTimeUtc": "2018-01-01T09:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceName": "fabric:/CalcApp/CalcService", + "ServiceManifestVersion": "1.0.0", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json new file mode 100644 index 000000000000..4bb4eb8152a0 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetApplicationBackupList", + "description": "This example shows how to get the latest backup for each partition within an application.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "Latest": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceName": "fabric:/CalcApp/CalcService", + "ServiceManifestVersion": "1.0.0", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json new file mode 100644 index 000000000000..b21f672bf8e1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetApplicationBackupList", + "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json new file mode 100644 index 000000000000..49839d6d22d1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json @@ -0,0 +1,65 @@ +{ + "operationId": "GetApplicationBackupList", + "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp", + "MaxResults": 2, + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "161", + "CreationTimeUtc": "2018-01-01T09:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json new file mode 100644 index 000000000000..f7be3e08c391 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json @@ -0,0 +1,28 @@ +{ + "operationId": "GetApplicationEventList", + "description": "This example shows how to get all application-related events during a certain time window.", + "parameters": { + "applicationId": "app1", + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "ApplicationCreated", + "ApplicationTypeName": "App1Type", + "ApplicationTypeVersion": "1.0.1", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription", + "ApplicationId": "app1", + "EventInstanceId": "8a7a0c42-67ca-4cd3-9160-edcdb822db10", + "TimeStamp": "2018-04-03T20:21:23.5774199Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoByName-1.json new file mode 100644 index 000000000000..9d230b4a6666 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoByName-1.json @@ -0,0 +1,27 @@ +{ + "operationId": "GetApplicationInfo", + "description": "This example shows how to get information about an application using it's identifier. If the application is found, information about it is returned with 200 status code. If the application is not found, empty content is returned with 204 status code.", + "parameters": { + "api-version": "6.0", + "applicationId": "samples~CalculatorApp" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "Id": "samples~CalculatorApp", + "Name": "fabric:/samples/CalculatorApp", + "TypeName": "CalculatorApp", + "TypeVersion": "1.0", + "Status": "Ready", + "Parameters": [], + "HealthState": "Ok", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" + } + }, + "204": { + "headers": {}, + "body": "" + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json new file mode 100644 index 000000000000..df1f287e4104 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json @@ -0,0 +1,39 @@ +{ + "operationId": "GetApplicationInfoList", + "description": "This example shows how to get information about applications on the cluster. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.1", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/samples/PQueueApp1", + "Items": [ + { + "Id": "samples~CalculatorApp", + "Name": "fabric:/samples/CalculatorApp", + "TypeName": "CalculatorApp", + "TypeVersion": "1.0", + "Status": "Ready", + "Parameters": [], + "HealthState": "Ok", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" + }, + { + "Id": "samples~PQueueApp1", + "Name": "fabric:/samples/PQueueApp1", + "TypeName": "PersistentQueueApp", + "TypeVersion": "1.0", + "Status": "Ready", + "Parameters": [], + "HealthState": "Ok", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json new file mode 100644 index 000000000000..7b5ab210e830 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json @@ -0,0 +1,30 @@ +{ + "operationId": "GetApplicationInfoList", + "description": "This example shows how to page through the information about applications on the cluster using the ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining one result and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.1", + "MaxResults": 2, + "ContinuationToken": "fabric:/samples/PQueueApp1" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "TypeVersion": "1.0", + "Status": "Ready", + "Parameters": [], + "HealthState": "Ok", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json new file mode 100644 index 000000000000..a230d74d2b54 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json @@ -0,0 +1,86 @@ +{ + "operationId": "GetApplicationTypeInfoList", + "description": "This example shows how to get information about application types that are provisioned or being provisioned in the cluster. The number of results in a page are limited to maximum of five using MaxResult parameter.", + "parameters": { + "api-version": "6.0", + "MaxResults": 5 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "PersistentQueueApp+2.0", + "Items": [ + { + "Name": "CalculatorApp", + "Version": "1.0", + "DefaultParameterList": [ + { + "Key": "ServiceInstanceCount", + "Value": "3" + } + ], + "Status": "Available" + }, + { + "Name": "CalculatorApp", + "Version": "2.0", + "DefaultParameterList": [ + { + "Key": "ServiceInstanceCount", + "Value": "3" + } + ], + "Status": "Available" + }, + { + "Name": "GatewayApp", + "Version": "1.0", + "DefaultParameterList": [ + { + "Key": "GatewayPort", + "Value": "8505" + }, + { + "Key": "ServiceInstanceCount", + "Value": "1000" + } + ], + "Status": "Available" + }, + { + "Name": "PersistentQueueApp", + "Version": "1.0", + "DefaultParameterList": [ + { + "Key": "MinReplicaSetSize", + "Value": "2" + }, + { + "Key": "TargetReplicaSetSize", + "Value": "3" + } + ], + "Status": "Available" + }, + { + "Name": "PersistentQueueApp", + "Version": "2.0", + "DefaultParameterList": [ + { + "Key": "MinReplicaSetSize", + "Value": "2" + }, + { + "Key": "TargetReplicaSetSize", + "Value": "3" + } + ], + "Status": "Available" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json new file mode 100644 index 000000000000..c02bd96ace75 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json @@ -0,0 +1,50 @@ +{ + "operationId": "GetApplicationTypeInfoList", + "description": "This example shows how to page through the information about application types that are provisioned or being provisioned in the cluster using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.0", + "MaxResults": 5, + "ContinuationToken": "PersistentQueueApp+2.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "VolatileQueueApp", + "Version": "1.0", + "DefaultParameterList": [ + { + "Key": "MinReplicaSetSize", + "Value": "2" + }, + { + "Key": "TargetReplicaSetSize", + "Value": "3" + } + ], + "Status": "Available" + }, + { + "Name": "VolatileQueueApp", + "Version": "2.0", + "DefaultParameterList": [ + { + "Key": "MinReplicaSetSize", + "Value": "2" + }, + { + "Key": "TargetReplicaSetSize", + "Value": "3" + } + ], + "Status": "Available" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json new file mode 100644 index 000000000000..325dc1b5ca6d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json @@ -0,0 +1,61 @@ +{ + "operationId": "GetApplicationTypeInfoList", + "description": "This example shows how to exclude application parameter in the result when getting the information about application types that are provisioned or being provisioned in the cluster.", + "parameters": { + "api-version": "6.0", + "ExcludeApplicationParameters": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "CalculatorApp", + "Version": "1.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "CalculatorApp", + "Version": "2.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "GatewayApp", + "Version": "1.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "PersistentQueueApp", + "Version": "1.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "PersistentQueueApp", + "Version": "2.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "VolatileQueueApp", + "Version": "1.0", + "DefaultParameterList": [ ], + "Status": "Available" + }, + { + "Name": "VolatileQueueApp", + "Version": "2.0", + "DefaultParameterList": [ ], + "Status": "Available" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json new file mode 100644 index 000000000000..d21ba988e49c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json @@ -0,0 +1,37 @@ +{ + "operationId": "GetApplicationsEventList", + "description": "This example shows how to get all applications-related events during a certain time window.", + "parameters": { + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "ApplicationCreated", + "ApplicationTypeName": "App1Type", + "ApplicationTypeVersion": "1.0.1", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription", + "ApplicationId": "app1", + "EventInstanceId": "8a7a0c42-67ca-4cd3-9160-edcdb822db10", + "TimeStamp": "2018-04-03T20:21:23.5774199Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "ApplicationCreated", + "ApplicationTypeName": "App2Type", + "ApplicationTypeVersion": "4.0.1", + "ApplicationDefinitionKind": "ServiceFabricApplicationDescription", + "ApplicationId": "app2", + "EventInstanceId": "d50574bc-6a31-4945-8275-7639bec7a0b3", + "TimeStamp": "2018-04-03T20:21:59.74842Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json new file mode 100644 index 000000000000..3b9df80414d6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json @@ -0,0 +1,37 @@ +{ + "operationId": "GetBackupPolicyByName", + "description": "This example shows how to query a backup policy by name.", + "parameters": { + "api-version": "6.4", + "backupPolicyName": "DailyAzureBackupPolicy" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Name": "DailyAzureBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "TimeBased", + "ScheduleFrequencyType": "Daily", + "RunTimes": [ + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" + ] + }, + "Storage": { + "StorageKind": "AzureBlobStore", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 20, + "RetentionDuration": "P20D" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json new file mode 100644 index 000000000000..c98bf5102ced --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetBackupPolicyList", + "description": "This example shows how to get list of backup policies. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "FileShare10MinBackupPolicy", + "Items": [ + { + "Name": "DailyAzureBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "TimeBased", + "ScheduleFrequencyType": "Daily", + "RunTimes": [ + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" + ] + }, + "Storage": { + "StorageKind": "AzureBlobStore", + "FriendlyName": "Azure_storagesample", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 30, + "RetentionDuration": "P29D" + } + }, + { + "Name": "FileShare10MinBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "FrequencyBased", + "Interval": "PT10M" + }, + "Storage": { + "StorageKind": "FileShare", + "FriendlyName": "FileShare_myshare", + "Path": "\\\\myshare\\backupshare", + "PrimaryUserName": "backupaccount", + "PrimaryPassword": "****" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 20, + "RetentionDuration": "P20D" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json new file mode 100644 index 000000000000..c0346ecc51fa --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json @@ -0,0 +1,43 @@ +{ + "operationId": "GetBackupPolicyList", + "description": "This example shows how to get list of backup policies. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "MaxResults": 2, + "ContinuationToken": "FileShare10MinBackupPolicy" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "AutoRestoreOnDataLoss": false, + "Name": "SampleBackupPolicy", + "MaxIncrementalBackups": 5, + "Schedule": { + "ScheduleKind": "FrequencyBased", + "Interval": "PT4H5M" + }, + "Storage": { + "Path": "\\\\myshare\\BackupStore", + "PrimaryUserName": "myuser1", + "PrimaryPassword": "****", + "SecondaryUserName": "myuser2", + "SecondaryPassword": "****", + "StorageKind": "FileShare", + "FriendlyName": "" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 0, + "RetentionDuration": "P20D" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json new file mode 100644 index 000000000000..2bd4583d415f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json @@ -0,0 +1,74 @@ +{ + "operationId": "GetBackupsFromBackupLocation", + "description": "This example shows how to get list of application backups from a specified backup location. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "MaxResults": 2, + "GetBackupByStorageQueryDescription": { + "Storage": { + "StorageKind": "AzureBlobStore", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "BackupEntity": { + "EntityKind": "Application", + "ApplicationName": "fabric:/CalcApp" + } + } + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json new file mode 100644 index 000000000000..f123c428fff8 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json @@ -0,0 +1,75 @@ +{ + "operationId": "GetBackupsFromBackupLocation", + "description": "This example shows how to get list of application backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "MaxResults": 2, + "GetBackupByStorageQueryDescription": { + "Storage": { + "StorageKind": "AzureBlobStore", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "BackupEntity": { + "EntityKind": "Application", + "ApplicationName": "fabric:/CalcApp" + } + }, + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "161", + "CreationTimeUtc": "2018-01-01T09:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json new file mode 100644 index 000000000000..3a486b6fe298 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json @@ -0,0 +1,63 @@ +{ + "operationId": "GetChaosEvents", + "description": "This example shows how to get Chaos events in a single response message without the need for paging through ContinuationToken parameter.", + "parameters": { + "api-version": "6.2", + "StartTimeUtc": "0", + "EndTimeUtc": "3155378975999999999" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "History": [ + { + "ChaosEvent": { + "Kind": "Started", + "TimeStampUtc": "2017-04-14T04:27:19.049Z", + "ChaosParameters": { + "MaxClusterStabilizationTimeoutInSeconds": 30, + "MaxConcurrentFaults": 3, + "WaitTimeBetweenIterationsInSeconds": 10, + "WaitTimeBetweenFaultsInSeconds": 1, + "TimeToRunInSeconds": "3600", + "EnableMoveReplicaFaults": true, + "ClusterHealthPolicy": { + "ConsiderWarningAsError": true, + "MaxPercentUnhealthyNodes": 0, + "MaxPercentUnhealthyApplications": 10, + "ApplicationTypeHealthPolicyMap": [ + { + "Key": "myapp", + "Value": 3 + } + ] + }, + "Context": { + "Map": { + "k1": "v1", + "k2": "v2", + "k3": "v5" + } + } + } + } + }, + { + "ChaosEvent": { + "Kind": "ExecutingFaults", + "TimeStampUtc": "2017-04-14T04:27:20.667Z", + "Faults": [ + "ActionType: RestartReplica, ServiceUri: fabric:/TestApp1/PersistServ_6R_1, PartitionId: 6a91b09a-bd76-45da-afaa-ed0fd9bfe7d2, ReplicaId: 131366172775684622", + "ActionType: CodePackageRestart, NodeName: N0050, ApplicationName: fabric:/TestApp1, ServiceManifestName: SP1, ServiceManifestName: , CodePackageName: CP1.", + "ActionType: RestartReplica, ServiceUri: fabric:/TestApp1/PersistServ_6R_3, PartitionId: baa3a51e-5c42-435e-89d3-6e97b2164661, ReplicaId: 131366172988968762" + ] + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json new file mode 100644 index 000000000000..78918cf57d29 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json @@ -0,0 +1,56 @@ +{ + "operationId": "GetClusterEventList", + "description": "This example shows how to get all cluster-related events during a certain time window.", + "parameters": { + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "ClusterUpgradeStarted", + "CurrentClusterVersion": "0.0.0.0:", + "TargetClusterVersion": "6.2:1.0", + "UpgradeType": "Rolling", + "RollingUpgradeMode": "UnmonitoredAuto", + "FailureAction": "Manual", + "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064", + "TimeStamp": "2018-04-03T20:18:59.4313064Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "ClusterUpgradeDomainCompleted", + "TargetClusterVersion": "6.2:1.0", + "UpgradeState": "RollingForward", + "UpgradeDomains": "(0 1 2)", + "UpgradeDomainElapsedTimeInMs": 78.5288, + "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064", + "TimeStamp": "2018-04-03T20:19:59.5729953Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "ClusterUpgradeDomainCompleted", + "TargetClusterVersion": "6.2:1.0", + "UpgradeState": "RollingForward", + "UpgradeDomains": "(3 4)", + "UpgradeDomainElapsedTimeInMs": 0.0, + "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064", + "TimeStamp": "2018-04-03T20:20:59.6271949Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "ClusterUpgradeCompleted", + "TargetClusterVersion": "6.2:1.0", + "OverallUpgradeElapsedTimeInMs": 120196.5212, + "EventInstanceId": "090add3c-8f56-4d35-8d57-a855745b6064", + "TimeStamp": "2018-04-03T20:20:59.8134457Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json new file mode 100644 index 000000000000..7d6eda2a23a6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json @@ -0,0 +1,16 @@ +{ + "operationId": "GetClusterVersion", + "description": "This example retrieves the current (or lowest version during upgrade) cluster version.", + "parameters": { + "api-version": "6.4" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Version": "6.4.514.9494" + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json new file mode 100644 index 000000000000..49a23ee30dc4 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json @@ -0,0 +1,20 @@ +{ + "operationId": "GetContainerLogsDeployedOnNode", + "description": "This example shows how to get container logs for container deployed on a Service Fabric node for the given code package.", + "parameters": { + "api-version": "6.2", + "nodeName": "_Node_0", + "applicationId": "SimpleHttpServerApp", + "ServiceManifestName": "SimpleHttpServerSvcPkg", + "CodePackageName": "Code" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Content": "HTTP Server started listening on port 8080\r\n" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json new file mode 100644 index 000000000000..0b1aec4546b8 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json @@ -0,0 +1,21 @@ +{ + "operationId": "GetContainerLogsDeployedOnNode", + "description": "This example shows how to get last 10 lines of container logs for container deployed on a Service Fabric node for the given code package.", + "parameters": { + "api-version": "6.2", + "nodeName": "_Node_0", + "applicationId": "SimpleHttpServerApp", + "ServiceManifestName": "SimpleHttpServerSvcPkg", + "CodePackageName": "Code", + "Tail": "10" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json new file mode 100644 index 000000000000..9809a8a2d740 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json @@ -0,0 +1,21 @@ +{ + "operationId": "GetContainerLogsDeployedOnNode", + "description": "This example shows how to get container logs of previous dead container on a Service Fabric node for the given code package.", + "parameters": { + "api-version": "6.2", + "nodeName": "_Node_0", + "applicationId": "SimpleHttpServerApp", + "ServiceManifestName": "SimpleHttpServerSvcPkg", + "CodePackageName": "Code", + "Previous": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n" + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetCorrelatedEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetCorrelatedEventList.json new file mode 100644 index 000000000000..7e271b230d90 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetCorrelatedEventList.json @@ -0,0 +1,31 @@ +{ + "operationId": "GetCorrelatedEventList", + "description": "This example shows how to get all correlated events for a given eventInstanceId.", + "parameters": { + "eventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4", + "api-version": "6.4" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "Kind": "PartitionPrimaryMoveAnalysis", + "WhenMoveCompleted": "2018-04-03T20:06:55.966073Z", + "PreviousNode": "node3(b9d52c016a15a8f57673d3b8041e2d35)", + "CurrentNode": "node1(cf68563e16a44f808e86197a9cf83de5)", + "MoveReason": "ApplicationHostDown", + "RelevantTraces": "", + "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "EventInstanceId": "59dde2bc-a833-412e-a56d-8f6ada0c7963", + "TimeStamp": "2018-04-03T20:07:55.966073Z", + "HasCorrelatedEvents": true, + "Metadata": { + "Delay": "00:00:20", + "Duration": "00:01:59" + } + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json new file mode 100644 index 000000000000..c303852becce --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json @@ -0,0 +1,19 @@ +{ + "operationId": "GetDataLossProgress", + "description": "This shows an example of output when a data loss operation is in a Running State. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "serviceId": "fabric:/myapp/myservice", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "OperationId": "7216486c-1ee9-4b00-99b2-92b26fcb07f5", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Running" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json new file mode 100644 index 000000000000..429c33c8f7b6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json @@ -0,0 +1,26 @@ +{ + "operationId": "GetDataLossProgress", + "description": "This shows an example of possible output when GetDataLossProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "serviceId": "fabric:/myapp/myservice", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "OperationId": "7216486c-1ee9-4b00-99b2-92b26fcb07f5", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Completed", + "InvokeDataLossResult": { + "ErrorCode": 0, + "SelectedPartition": { + "ServiceName": "fabric:/myapp/myservice", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoByName-1.json new file mode 100644 index 000000000000..87c8485a607c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoByName-1.json @@ -0,0 +1,29 @@ +{ + "operationId": "GetDeployedApplicationInfoList", + "description": "This example shows how to get information about an application deployed on a specified node by using an application identifier. If the application is found it's information is returned with 200 status code. An empty response with status code 204 is returned, if the specified application is not deployed on the node.", + "parameters": { + "api-version": "6.1", + "nodeName": "_Node_0", + "applicationId": "samples~CalculatorApp", + "IncludeHealthState": true + }, + "responses": { + "200": { + "headers": {}, + "body": { + "Id": "samples~CalculatorApp", + "Name": "fabric:/samples/CalculatorApp", + "TypeName": "CalculatorApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_1\\CalculatorApp_App0\\temp", + "HealthState": "Ok" + } + }, + "204": { + "headers": {}, + "body": "" + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json new file mode 100644 index 000000000000..452ac7b15380 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json @@ -0,0 +1,40 @@ +{ + "operationId": "GetDeployedApplicationInfoList", + "description": "This example shows how to specify the number of applications returned by the query when getting information about applications deployed on a specific node. The number of results in a page are limited to maximum of 2 using the MaxResult parameter. Health state is not requested in this example, so the returned health state will be Unknown.", + "parameters": { + "api-version": "6.1", + "nodeName": "_Node_0", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/samples/PQueueApp1", + "Items": [ + { + "Id": "samples~CalculatorApp", + "Name": "fabric:/samples/CalculatorApp", + "TypeName": "CalculatorApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\temp", + "HealthState": "Unknown" + }, + { + "Id": "samples~PQueueApp1", + "Name": "fabric:/samples/PQueueApp1", + "TypeName": "PersistentQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\temp", + "HealthState": "Unknown" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json new file mode 100644 index 000000000000..4bdb8b879f78 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json @@ -0,0 +1,30 @@ +{ + "operationId": "GetDeployedApplicationInfoListByName", + "description": "This example demonstrates the paging functionality available when getting information about applications deployed on a specific node. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.1", + "nodeName": "_Node_0", + "ContinuationToken": "fabric:/samples/PQueueApp1" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Unknown" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json new file mode 100644 index 000000000000..0d1b40c1148a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json @@ -0,0 +1,50 @@ +{ + "operationId": "GetDeployedApplicationInfoList", + "description": "This example shows how to include the health state of each deployed application when getting information about applications deployed on a specific node.", + "parameters": { + "api-version": "6.1", + "nodeName": "_Node_0", + "IncludeHealthState": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Id": "samples~CalculatorApp", + "Name": "fabric:/samples/CalculatorApp", + "TypeName": "CalculatorApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\CalculatorApp_App0\\temp", + "HealthState": "Ok" + }, + { + "Id": "samples~PQueueApp1", + "Name": "fabric:/samples/PQueueApp1", + "TypeName": "PersistentQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\PersistentQueueApp_App1\\temp", + "HealthState": "Ok" + }, + { + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Ok" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json new file mode 100644 index 000000000000..692f55108319 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json @@ -0,0 +1,53 @@ +{ + "operationId": "GetFaultOperationList", + "description": "This shows an example of possible output for GetFaultOperationList", + "parameters": { + "TypeFilter": "0xFF", + "StateFilter": "0xFF", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": + [ + { + "OperationId": "00000000-0000-0000-0000-000000000010", + "State": "Completed", + "Type": "PartitionDataLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000020", + "State": "Completed", + "Type": "PartitionQuorumLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000030", + "State": "Completed", + "Type": "PartitionRestart" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000500", + "State": "Faulted", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000700", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000710", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", + "State": "Completed", + "Type": "PartitionRestart" + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json new file mode 100644 index 000000000000..457cfd7986aa --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json @@ -0,0 +1,92 @@ +{ + "operationId": "GetImageStoreContent", + "description": "This example shows how to get image store content under the given relative path.", + "parameters": { + "api-version": "6.2", + "contentPath": "Store\\CalcServiceApp" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "StoreFiles": [ + { + "StoreRelativePath": "Store\\CalcServiceApp\\ApplicationManifest.2.0.xml", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "23", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "897", + "ModifiedDate": "2017-09-28T17:44:22.609Z" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Code.2.0.checksum", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "25", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "66", + "ModifiedDate": "2017-09-28T17:44:22.468Z" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Config.1.0.checksum", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "26", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "66", + "ModifiedDate": "2017-09-28T17:44:22.468Z" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Data.2.0.checksum", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "27", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "66", + "ModifiedDate": "2017-09-28T17:44:22.468Z" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Manifest.2.0.xml", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "19", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "744", + "ModifiedDate": "2017-09-28T17:44:22.578Z" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Manifest.2.0.xml.checksum", + "FileVersion": { + "EpochDataLossNumber": "131510254310497004", + "VersionNumber": "24", + "EpochConfigurationNumber": "25769803776" + }, + "FileSize": "66", + "ModifiedDate": "2017-09-28T17:44:22.484Z" + } + ], + "StoreFolders": [ + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Code.2.0", + "FileCount": "2" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Config.1.0", + "FileCount": "2" + }, + { + "StoreRelativePath": "Store\\CalcServiceApp\\CalcService.Data.2.0", + "FileCount": "2" + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json new file mode 100644 index 000000000000..73f1e60e4e3c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json @@ -0,0 +1,33 @@ +{ + "operationId": "GetNodeEventList", + "description": "This example shows how to get all node-related events during a certain time window.", + "parameters": { + "nodeName": "node1", + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "NodeOpenSucceeded", + "NodeInstance": 131672596159209215, + "NodeId": "ba001a8bb353543e646be031afb10f1e", + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "IpAddressOrFQDN": "100.78.240.56", + "Hostname": "RD0003FF5089AA", + "IsSeedNode": false, + "NodeVersion": "6.2:1.0", + "NodeName": "node1", + "EventInstanceId": "ecbce04a-a42b-4b70-a800-dfc6bc4f9b89", + "TimeStamp": "2018-04-03T20:06:55.966073Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfo-1.json new file mode 100644 index 000000000000..d812ecdef72a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfo-1.json @@ -0,0 +1,44 @@ +{ + "operationId": "GetNodeInfo", + "description": "This example shows how to get information about an node using it's identifier. If the node is found, information about it is returned with 200 status code. If the node is not found, empty content is returned with 204 status code.", + "parameters": { + "api-version": "6.0", + "nodeName": "_Node_1" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "Name": "_testnode_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "18688", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + } + }, + "204": { + "headers": {}, + "body": "" + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json new file mode 100644 index 000000000000..be0a9a5d9509 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json @@ -0,0 +1,73 @@ +{ + "operationId":"GetNodeInfoList", + "description":"This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", + "parameters":{ + "api-version":"6.3", + "MaxResults":2 + }, + "responses":{ + "200":{ + "headers":{ + }, + "body":{ + "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326", + "Items":[ + { + "Name":"_testnode_1", + "IpAddressOrFQDN":"10.0.0.5", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"102016", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"1", + "FaultDomain":"fd:/1", + "Id":{ + "Id":"ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId":"131738274982501335", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T20:31:39.842Z", + "NodeDownAt":"2018-06-18T20:31:37.374Z" + }, + { + "Name":"_testnode_0", + "IpAddressOrFQDN":"10.0.0.4", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"105483", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"0", + "FaultDomain":"fd:/0", + "Id":{ + "Id":"2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId":"131738240209152398", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T19:33:52.944Z", + "NodeDownAt":"2018-06-18T19:33:39.514Z" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json new file mode 100644 index 000000000000..fb689851f34d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json @@ -0,0 +1,100 @@ +{ + "operationId":"GetNodeInfoList", + "description":"This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", + "parameters":{ + "api-version":"6.3", + "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326" + }, + "responses":{ + "200":{ + "headers":{ + }, + "body":{ + "ContinuationToken":"", + "Items":[ + { + "Name":"_Node_4", + "IpAddressOrFQDN":"10.0.0.8", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"101547", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"4", + "FaultDomain":"fd:/4", + "Id":{ + "Id":"ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId":"131737415865259763", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-17T20:40:07.378Z", + "NodeDownAt":"2018-06-17T20:33:11.877Z" + }, + { + "Name":"_Node_3", + "IpAddressOrFQDN":"10.0.0.7", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"15615", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"3", + "FaultDomain":"fd:/3", + "Id":{ + "Id":"d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId":"131738275300526952", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T20:32:18.884Z", + "NodeDownAt":"2018-06-18T20:31:59.128Z" + }, + { + "Name":"_Node_2", + "IpAddressOrFQDN":"10.0.0.6", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"19819", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"2", + "FaultDomain":"fd:/2", + "Id":{ + "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId":"131738233282843485", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T19:22:15.272Z", + "NodeDownAt":"2018-06-18T19:22:02.740Z" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json new file mode 100644 index 000000000000..4b6353a74314 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json @@ -0,0 +1,152 @@ +{ + "operationId":"GetNodeInfoList", + "description":"This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", + "parameters":{ + "api-version":"6.3" + }, + "responses":{ + "200":{ + "headers":{}, + "body":{ + "ContinuationToken":"", + "Items":[ + { + "Name":"_Node_1", + "IpAddressOrFQDN":"10.0.0.5", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"15275", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"1", + "FaultDomain":"fd:/1", + "Id":{ + "Id":"ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId":"131738274982501335", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T20:31:39.842Z", + "NodeDownAt":"2018-06-18T20:31:37.374Z" + }, + { + "Name":"_Node_0", + "IpAddressOrFQDN":"10.0.0.4", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"18742", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"0", + "FaultDomain":"fd:/0", + "Id":{ + "Id":"2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId":"131738240209152398", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T19:33:52.944Z", + "NodeDownAt":"2018-06-18T19:33:39.514Z" + }, + { + "Name":"_Node_4", + "IpAddressOrFQDN":"10.0.0.8", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"101168", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"4", + "FaultDomain":"fd:/4", + "Id":{ + "Id":"ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId":"131737415865259763", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-17T20:40:07.378Z", + "NodeDownAt":"2018-06-17T20:33:11.877Z" + }, + { + "Name":"_Node_3", + "IpAddressOrFQDN":"10.0.0.7", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"15236", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"3", + "FaultDomain":"fd:/3", + "Id":{ + "Id":"d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId":"131738275300526952", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T20:32:18.884Z", + "NodeDownAt":"2018-06-18T20:31:59.128Z" + }, + { + "Name":"_Node_2", + "IpAddressOrFQDN":"10.0.0.6", + "Type":"testnode", + "CodeVersion":"6.3.139.9494", + "ConfigVersion":"5", + "NodeStatus":"Up", + "NodeUpTimeInSeconds":"19440", + "HealthState":"Ok", + "IsSeedNode":true, + "UpgradeDomain":"2", + "FaultDomain":"fd:/2", + "Id":{ + "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId":"131738233282843485", + "NodeDeactivationInfo":{ + "NodeDeactivationIntent":"Invalid", + "NodeDeactivationStatus":"None", + "NodeDeactivationTask":[], + "PendingSafetyChecks":[] + }, + "IsStopped":false, + "NodeDownTimeInSeconds":"0", + "NodeUpAt":"2018-06-18T19:22:15.272Z", + "NodeDownAt":"2018-06-18T19:22:02.740Z" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json new file mode 100644 index 000000000000..64d4642700ea --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json @@ -0,0 +1,18 @@ +{ + "operationId": "GetNodeTransitionProgress", + "description": "This shows an example of output when GetTransitionProgress has a State of Running.", + "parameters": { + "nodeName": "N0060", + "OperationId": "ed903556-acf1-489c-9f33-b484c31f9087", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Running" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json new file mode 100644 index 000000000000..5ee8818ce76a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json @@ -0,0 +1,25 @@ +{ + "operationId": "GetNodeTransitionProgress", + "description": "This shows an example of possible output when GetTransitionProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "nodeName": "N0060", + "OperationId": "a9c24269-88e9-4812-b4ad-a0bf2b724ad4", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Completed", + "NodeTransitionResult": { + "ErrorCode": 0, + "NodeResult": { + "NodeName": "N0060", + "NodeInstanceId": "131366982707950527" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json new file mode 100644 index 000000000000..3445e66b19e1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json @@ -0,0 +1,47 @@ +{ + "operationId": "GetNodesEventList", + "description": "This example shows how to get all nodes-related events during a certain time window.", + "parameters": { + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "NodeOpenSucceeded", + "NodeInstance": 131672596159209215, + "NodeId": "ba001a8bb353543e646be031afb10f1e", + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "IpAddressOrFQDN": "100.78.240.56", + "Hostname": "RD0003FF5089AA", + "IsSeedNode": false, + "NodeVersion": "6.2:1.0", + "NodeName": "node1", + "EventInstanceId": "ecbce04a-a42b-4b70-a800-dfc6bc4f9b89", + "TimeStamp": "2018-04-03T20:06:55.966073Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "NodeOpenSucceeded", + "NodeInstance": 131672596186027906, + "NodeId": "ba03ef91259835c54d674889849a7cee", + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "IpAddressOrFQDN": "100.72.76.122", + "Hostname": "RD0003FF6047A8", + "IsSeedNode": false, + "NodeVersion": "6.2:1.0", + "NodeName": "node2", + "EventInstanceId": "67730c48-752c-4209-bf28-3c121555a4c0", + "TimeStamp": "2018-04-03T20:06:58.6357365Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json new file mode 100644 index 000000000000..4ba53f251e26 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json @@ -0,0 +1,25 @@ +{ + "operationId": "GetPartitionBackupConfigurationInfo", + "description": "This example shows how to get backup configuration for a partition.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Kind": "Partition", + "PolicyName": "BackupPolicy2", + "PolicyInheritedFrom": "Service", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "SuspensionInfo": { + "IsSuspended": true, + "SuspensionInheritedFrom": "Partition" + } + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json new file mode 100644 index 000000000000..84881cf2c134 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json @@ -0,0 +1,65 @@ +{ + "operationId": "GetPartitionBackupList", + "description": "This example shows how to get list of partition backups within a time range.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "StartDateTimeFilter": "2018-01-01T00:00:00Z", + "EndDateTimeFilter": "2018-01-01T23:59:59Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json new file mode 100644 index 000000000000..af84f7ccced2 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json @@ -0,0 +1,42 @@ +{ + "operationId": "GetPartitionBackupList", + "description": "This example shows how to get the latest backup for the specified partition.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "Latest": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", + "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-02 08.59.53.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "639", + "CreationTimeUtc": "2018-01-02T08:59:53Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json new file mode 100644 index 000000000000..7958dd62abdb --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetPartitionBackupList", + "description": "This example shows how to get list of partition backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json new file mode 100644 index 000000000000..59d6333c7abd --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json @@ -0,0 +1,43 @@ +{ + "operationId": "GetPartitionBackupList", + "description": "This example shows how to get list of partition backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "MaxResults": 2, + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", + "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-02 08.59.53.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "639", + "CreationTimeUtc": "2018-01-02T08:59:53Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json new file mode 100644 index 000000000000..f51653dcd2f7 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json @@ -0,0 +1,26 @@ +{ + "operationId": "GetPartitionBackupProgress", + "description": "This shows an example of possible output when GetPartitionBackupProgress has reached a BackupState of Success. If the BackupState has a value of BackupInProgress, only the BackupState field will have a value.", + "parameters": { + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "api-version": "6.4" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "BackupState": "Success", + "TimeStampUtc": "2018-01-01T09:00:55Z", + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "FailureError": null + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json new file mode 100644 index 000000000000..dd72d489d8e5 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json @@ -0,0 +1,38 @@ +{ + "operationId": "GetPartitionEventList", + "description": "This example shows how to get all partition-related events during a certain time window.", + "parameters": { + "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "PartitionReconfigured", + "NodeName": "node1", + "NodeInstanceId": "ba001a8bb353543e646be031afb10f1e", + "ServiceType": "Svc1Type", + "CcEpochDataLossVersion": 131672604833413107, + "CcEpochConfigVersion": 8589934595, + "ReconfigType": "Other", + "Result": "Completed", + "Phase0DurationMs": 0.0, + "Phase1DurationMs": 0.0, + "Phase2DurationMs": 203.1935, + "Phase3DurationMs": 0.0262, + "Phase4DurationMs": 628.8527, + "TotalDurationMs": 832.0724, + "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "EventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4", + "TimeStamp": "2018-04-03T20:21:47.3778996Z", + "HasCorrelatedEvents": true + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json new file mode 100644 index 000000000000..4453caa242d6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json @@ -0,0 +1,26 @@ +{ + "operationId": "GetPartitionRestartProgress", + "description": "This shows an example of possible output when GetPartitionRestartProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "serviceId": "fabric:/myapp/myservice", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "OperationId": "6eb7f0d3-49ca-4cb1-81b7-ac2d56b5c5d1", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Completed", + "RestartPartitionResult": { + "ErrorCode": 0, + "SelectedPartition": { + "ServiceName": "fabric:/myapp/myservice", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json new file mode 100644 index 000000000000..4d15204cfe9c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json @@ -0,0 +1,24 @@ +{ + "operationId": "GetPartitionRestoreProgress", + "description": "This shows an example of possible output when GetPartitionRestoreProgress has reached a RestoreState of Success. If the RestoreState has a value of RestoreInProgress, only the RestoreState field will have a value.", + "parameters": { + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "api-version": "6.4" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "RestoreState": "Success", + "TimeStampUtc": "2018-01-01T09:00:55Z", + "RestoredEpoch": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "RestoredLsn": "261", + "FailureError": null + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json new file mode 100644 index 000000000000..4e515bf4e57f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json @@ -0,0 +1,57 @@ +{ + "operationId": "GetPartitionsEventList", + "description": "This example shows how to get all partitions-related events during a certain time window.", + "parameters": { + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "PartitionReconfigured", + "NodeName": "node1", + "NodeInstanceId": "ba001a8bb353543e646be031afb10f1e", + "ServiceType": "Svc1Type", + "CcEpochDataLossVersion": 131672604833413107, + "CcEpochConfigVersion": 8589934595, + "ReconfigType": "Other", + "Result": "Completed", + "Phase0DurationMs": 0.0, + "Phase1DurationMs": 0.0, + "Phase2DurationMs": 203.1935, + "Phase3DurationMs": 0.0262, + "Phase4DurationMs": 628.8527, + "TotalDurationMs": 832.0724, + "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "EventInstanceId": "e00fa5b7-f747-40dd-9e09-f5a031e96de4", + "TimeStamp": "2018-04-03T20:21:47.3778996Z", + "HasCorrelatedEvents": true + }, + { + "Kind": "PartitionReconfigured", + "NodeName": "node2", + "NodeInstanceId": "ba0459d257b028296deba8bd5add33cb", + "ServiceType": "Svc1Type", + "CcEpochDataLossVersion": 131672604833413107, + "CcEpochConfigVersion": 8589934596, + "ReconfigType": "Other", + "Result": "Completed", + "Phase0DurationMs": 0.0, + "Phase1DurationMs": 0.0, + "Phase2DurationMs": 205.667, + "Phase3DurationMs": 407.7781, + "Phase4DurationMs": 630.0935, + "TotalDurationMs": 1243.5386, + "PartitionId": "e12acfb3-2a43-4a1a-a252-aa5388ef1aec", + "EventInstanceId": "9aeb234a-16ef-4e8a-974e-26c60d6f2b86", + "TimeStamp": "2018-04-03T20:21:49.5155104Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json new file mode 100644 index 000000000000..fd0e63e316bf --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json @@ -0,0 +1,30 @@ +{ + "operationId": "GetPropertyInfo", + "description": "This example shows how to get a Service Fabric property under a given name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps", + "PropertyName": "AppData" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Name": "CalculatorAppData", + "Value": { + "Kind": "String", + "Data": "1+2=3" + }, + "Metadata": { + "TypeId": "String", + "CustomTypeId": "EquationType", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 12, + "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z", + "SequenceNumber": "12" + } + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json new file mode 100644 index 000000000000..9d4f74b46e80 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json @@ -0,0 +1,43 @@ +{ + "operationId": "GetPropertyInfoList", + "description": "This example shows how to get all Service Fabric properties under a given name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "PersistentQueueAppData$131439231986491349", + "IsConsistent": true, + "Properties": [ + { + "Name": "CalculatorAppData", + "Metadata": { + "TypeId": "Int64", + "CustomTypeId": "", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 5, + "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z", + "SequenceNumber": "10" + } + }, + { + "Name": "PersistentQueueAppData", + "Metadata": { + "TypeId": "Binary", + "CustomTypeId": "InitializationDataType", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 5, + "LastModifiedUtcTimestamp": "2017-07-17T04:36:19.049Z", + "SequenceNumber": "12" + } + } + ] + + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json new file mode 100644 index 000000000000..405aeca605ff --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json @@ -0,0 +1,51 @@ +{ + "operationId": "GetPropertyInfoList", + "description": "This example shows how to get all Service Fabric properties and their values under a given name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps", + "IncludeValues": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "PersistentQueueAppData$131439231986491349", + "IsConsistent": true, + "Properties": [ + { + "Name": "CalculatorAppData", + "Value": { + "Kind": "Int64", + "Data": "4534" + }, + "Metadata": { + "TypeId": "Int64", + "CustomTypeId": "", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 8, + "LastModifiedUtcTimestamp": "2017-07-17T04:27:19.049Z", + "SequenceNumber": "10" + } + }, + { + "Name": "PersistentQueueAppData", + "Value": { + "Kind": "Binary", + "Data": [6, 7, 8, 9, 10] + }, + "Metadata": { + "TypeId": "Binary", + "CustomTypeId": "InitializationDataType", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 5, + "LastModifiedUtcTimestamp": "2017-07-17T04:36:19.049Z", + "SequenceNumber": "12" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json new file mode 100644 index 000000000000..51a4fcb919b4 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json @@ -0,0 +1,37 @@ +{ + "operationId": "GetPropertyInfoList", + "description": "This example shows how to page through the information about properties under a given Service Fabric name using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps", + "IncludeValues": true, + "ContinuationToken": "PersistentQueueAppData$131439231986491349" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "IsConsistent": true, + "Properties": [ + { + "Name": "VolatileQueueAppData", + "Value": { + "Kind": "Double", + "Data": 67.89 + }, + "Metadata": { + "TypeId": "Double", + "CustomTypeId": "", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 8, + "LastModifiedUtcTimestamp": "2017-07-17T04:01:19.049Z", + "SequenceNumber": "8" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json new file mode 100644 index 000000000000..059c51840fc9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json @@ -0,0 +1,19 @@ +{ + "operationId": "GetQuorumLossProgress", + "description": "This shows an example of possible output when GetQuorumLossProgress has a State of Running. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "serviceId": "fabric:/myapp/myservice", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "OperationId": "81fbaee7-4f49-44bb-a350-4cb2b51dbf26", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Running" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json new file mode 100644 index 000000000000..3e848d89bc8d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json @@ -0,0 +1,26 @@ +{ + "operationId": "GetQuorumLossProgress", + "description": "This shows an example of possible output when GetQuorumLossProgress has reached a State of Completed. If the State has a value of Running, only the State field will have a value.", + "parameters": { + "serviceId": "fabric:/myapp/myservice", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "OperationId": "81fbaee7-4f49-44bb-a350-4cb2b51dbf26", + "api-version": "6.0" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "State": "Completed", + "InvokeQuorumLossResult": { + "ErrorCode": 0, + "SelectedPartition": { + "ServiceName": "fabric:/myapp/myservice", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json new file mode 100644 index 000000000000..9f292eb30588 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json @@ -0,0 +1,36 @@ +{ + "operationId": "GetPartitionReplicaEventList", + "description": "This example shows how to get all replica-related events during a certain time window.", + "parameters": { + "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "replicaId": 131672608994209130, + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "StatefulReplicaNewHealthReport", + "ReplicaInstanceId": 131672608994209130, + "SourceId": "TestSource", + "Property": "", + "HealthState": "Error", + "TimeToLiveMs": 922337203685477, + "SequenceNumber": 131672654189677787, + "Description": "", + "RemoveWhenExpired": false, + "SourceUtcTimestamp": "2018-04-03T21:43:38Z", + "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "ReplicaId": 131672608994209130, + "EventInstanceId": "b2684da3-df81-4add-8baa-201f73e9195d", + "TimeStamp": "2018-04-03T21:43:38.8904013Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json new file mode 100644 index 000000000000..9ec7e03e34ee --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json @@ -0,0 +1,52 @@ +{ + "operationId": "GetPartitionReplicasEventList", + "description": "This example shows how to get all replicas-related events during a certain time window.", + "parameters": { + "partitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "StatefulReplicaNewHealthReport", + "ReplicaInstanceId": 131672608994209130, + "SourceId": "TestSource", + "Property": "", + "HealthState": "Error", + "TimeToLiveMs": 922337203685477, + "SequenceNumber": 131672654189677787, + "Description": "", + "RemoveWhenExpired": false, + "SourceUtcTimestamp": "2018-04-03T21:43:38Z", + "PartitionId": "f2a6a893-39be-4c7d-b07f-72bc2d36de89", + "ReplicaId": 131672608994209130, + "EventInstanceId": "b2684da3-df81-4add-8baa-201f73e9195d", + "TimeStamp": "2018-04-03T21:43:38.8904013Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "StatefulReplicaNewHealthReport", + "ReplicaInstanceId": 177872608994339550, + "SourceId": "TestSource", + "Property": "", + "HealthState": "Error", + "TimeToLiveMs": 922337203685477, + "SequenceNumber": 131672654189677788, + "Description": "", + "RemoveWhenExpired": false, + "SourceUtcTimestamp": "2018-04-03T21:44:38Z", + "PartitionId": "f549f3b3-08c2-4ec4-adb4-415e024cb0ef", + "ReplicaId": 177872608994339550, + "EventInstanceId": "4a8851d8-35a3-4618-b4ac-03ffa191c350", + "TimeStamp": "2018-04-03T21:44:38.8904013Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json new file mode 100644 index 000000000000..974a8131aef9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json @@ -0,0 +1,41 @@ +{ + "operationId": "GetServiceBackupConfigurationInfo", + "description": "This example shows how to get list of backup configuration for this service and partitions under this service. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "Items": [ + { + "Kind": "Service", + "PolicyName": "BackupPolicy1", + "PolicyInheritedFrom": "Application", + "ServiceName": "fabric:/CalcApp/CalcService", + "SuspensionInfo": { + "IsSuspended": false, + "SuspensionInheritedFrom": "Invalid" + } + }, + { + "Kind": "Partition", + "PolicyName": "BackupPolicy2", + "PolicyInheritedFrom": "Partition", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "SuspensionInfo": { + "IsSuspended": false, + "SuspensionInheritedFrom": "Invalid" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json new file mode 100644 index 000000000000..28c3db9277d0 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json @@ -0,0 +1,32 @@ +{ + "operationId": "GetServiceBackupConfigurationInfo", + "description": "This example shows how to get list of backup configuration for this service and partitions under this service. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "MaxResults": 2, + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Kind": "Partition", + "PolicyName": "BackupPolicy1", + "PolicyInheritedFrom": "Application", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionId": "7216486c-1ee9-4b00-99b2-92b26fcb07f6", + "SuspensionInfo": { + "IsSuspended": true, + "SuspensionInheritedFrom": "Partition" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json new file mode 100644 index 000000000000..6959a0cd07b8 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json @@ -0,0 +1,109 @@ +{ + "operationId": "GetServiceBackupList", + "description": "This example shows how to get list of service backups within a time range.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "StartDateTimeFilter": "2018-01-01T00:00:00Z", + "EndDateTimeFilter": "2018-01-01T23:59:59Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + }, + { + "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "161", + "CreationTimeUtc": "2018-01-01T09:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json new file mode 100644 index 000000000000..375b4e105cab --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetServiceBackupList", + "description": "This example shows how to get the latest backup for each partition within a service.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "Latest": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json new file mode 100644 index 000000000000..558040128c8f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json @@ -0,0 +1,64 @@ +{ + "operationId": "GetServiceBackupList", + "description": "This example shows how to get list of service backups. The number of results in a page are limited to maximum of two using the MaxResult parameter.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "Items": [ + { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "261", + "CreationTimeUtc": "2018-01-01T09:00:55Z", + "FailureError": null + }, + { + "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", + "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 17.01.02.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "446", + "CreationTimeUtc": "2018-01-01T17:01:02Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json new file mode 100644 index 000000000000..e756ddb87b80 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json @@ -0,0 +1,65 @@ +{ + "operationId": "GetServiceBackupList", + "description": "This example shows how to get list of service backups. The number of results in a page are limited to maximum of two using the MaxResult parameter. This example uses the ContinuationToken parameter. The value of this parameter is provided from the previous query; in this case the example shown above. The response contains the remaining results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService", + "MaxResults": 2, + "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "Items": [ + { + "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 09.01.02.zip", + "BackupType": "Full", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "161", + "CreationTimeUtc": "2018-01-01T09:01:02Z", + "FailureError": null + }, + { + "BackupId": "d55a2d98-258b-4a34-8fe5-2063e81af9dc", + "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", + "ApplicationName": "fabric:/CalcApp", + "ServiceManifestVersion": "1.0.0", + "ServiceName": "fabric:/CalcApp/CalcService", + "PartitionInformation": { + "LowKey": "-9223372036854775808", + "HighKey": "9223372036854775807", + "ServicePartitionKind": "Int64Range", + "Id": "81645ec7-d260-4c59-9533-8f129bde8e83" + }, + "BackupLocation": "CalcApp\\CalcService\\81645ec7-d260-4c59-9533-8f129bde8e83\\2018-01-01 17.00.34.zip", + "BackupType": "Incremental", + "EpochOfLastBackupRecord": { + "DataLossVersion": "131462452931584510", + "ConfigurationVersion": "8589934592" + }, + "LsnOfLastBackupRecord": "246", + "CreationTimeUtc": "2018-01-01T17:00:34Z", + "FailureError": null + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json new file mode 100644 index 000000000000..b38adb0693d1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json @@ -0,0 +1,35 @@ +{ + "operationId": "GetServiceEventList", + "description": "This example shows how to get all service-related events during a certain time window.", + "parameters": { + "serviceId": "app1~svc1", + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "ServiceCreated", + "ServiceTypeName": "Svc1Type", + "ApplicationName": "fabric:/app1", + "ApplicationTypeName": "App1Type", + "ServiceInstance": 131672605579916062, + "IsStateful": true, + "PartitionCount": 2, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "ServicePackageVersion": "1.0:1.0", + "PartitionId": "bd936249-183d-4e29-94ab-2e198e4e2e87", + "ServiceId": "app1/svc1", + "EventInstanceId": "8ba26506-4a93-4b8c-ae14-29a2841b3003", + "TimeStamp": "2018-04-03T20:22:38.0560496Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoByName-1.json new file mode 100644 index 000000000000..910cb86eaf6d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoByName-1.json @@ -0,0 +1,39 @@ +{ + "operationId": "GetServiceTypeInfoByName", + "description": "This example shows how to get information about a specific service type. A 204 response is returned if the specified service type is not found in the cluster.", + "parameters": { + "api-version": "6.0", + "applicationTypeName": "Application2Type", + "ApplicationTypeVersion": "1.0.0", + "serviceTypeName": "Actor1ActorServiceType" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ServiceTypeDescription": { + "IsStateful": true, + "ServiceTypeName": "Actor1ActorServiceType", + "PlacementConstraints": "", + "HasPersistedState": true, + "Kind": "Stateful", + "Extensions": [ + { + "Key": "__GeneratedServiceType__", + "Value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n " + } + ], + "LoadMetrics": [], + "ServicePlacementPolicies": [] + }, + "ServiceManifestVersion": "1.0.0", + "ServiceManifestName": "Actor1Pkg", + "IsServiceGroup": false + } + }, + "204": { + "headers": {}, + "body": "" + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoList-1.json new file mode 100644 index 000000000000..a4481bfa08c0 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceTypeInfoList-1.json @@ -0,0 +1,36 @@ +{ + "operationId": "GetServiceTypeInfoList", + "description": "This example shows how to get information about service types that are supported by a provisioned application type in a Service Fabric cluster.", + "parameters": { + "api-version": "6.0", + "applicationTypeName": "Application2Type", + "ApplicationTypeVersion": "1.0.0" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "ServiceTypeDescription": { + "IsStateful": true, + "ServiceTypeName": "Actor1ActorServiceType", + "PlacementConstraints": "", + "HasPersistedState": true, + "Kind": "Stateful", + "Extensions": [ + { + "Key": "__GeneratedServiceType__", + "Value": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n " + } + ], + "LoadMetrics": [], + "ServicePlacementPolicies": [] + }, + "ServiceManifestVersion": "1.0.0", + "ServiceManifestName": "Actor1Pkg", + "IsServiceGroup": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json new file mode 100644 index 000000000000..0b7046bc888e --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json @@ -0,0 +1,51 @@ +{ + "operationId": "GetServicesEventList", + "description": "This example shows how to get all services-related events during a certain time window.", + "parameters": { + "api-version": "6.4", + "StartTimeUtc": "2018-04-03T18:00:00Z", + "EndTimeUtc": "2018-04-04T18:00:00Z" + }, + "responses": { + "200": { + "headers": { + }, + "body": [ + { + "Kind": "ServiceCreated", + "ServiceTypeName": "Svc1Type", + "ApplicationName": "fabric:/app1", + "ApplicationTypeName": "App1Type", + "ServiceInstance": 131672605579916062, + "IsStateful": true, + "PartitionCount": 2, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "ServicePackageVersion": "1.0:1.0", + "PartitionId": "bd936249-183d-4e29-94ab-2e198e4e2e87", + "ServiceId": "app1/svc1", + "EventInstanceId": "8ba26506-4a93-4b8c-ae14-29a2841b3003", + "TimeStamp": "2018-04-03T20:22:38.0560496Z", + "HasCorrelatedEvents": false + }, + { + "Kind": "ServiceCreated", + "ServiceTypeName": "Svc2Type", + "ApplicationName": "fabric:/app1", + "ApplicationTypeName": "App1Type", + "ServiceInstance": 131672605579916062, + "IsStateful": true, + "PartitionCount": 2, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "ServicePackageVersion": "1.0:1.0", + "PartitionId": "87413d64-0134-4b23-a439-c2692c4e3ec3", + "ServiceId": "app1/svc2", + "EventInstanceId": "03246d3b-77f5-4ca2-b065-7b8671711318", + "TimeStamp": "2018-04-03T20:22:38.056197Z", + "HasCorrelatedEvents": false + } + ] + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json new file mode 100644 index 000000000000..3d315a557a9f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json @@ -0,0 +1,22 @@ +{ + "operationId": "GetSubNameInfoList", + "description": "This example shows how to get information about all sub names of a given Service Fabric name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "IsConsistent": true, + "SubNames": [ + "fabric:/samples/CalculatorApp", + "fabric:/samples/mynames" + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json new file mode 100644 index 000000000000..6dbd9309980a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json @@ -0,0 +1,28 @@ +{ + "operationId": "GetSubNameInfoList", + "description": "This example shows how to recursively get information about all child sub names of a given Service Fabric name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples", + "Recursive": true + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "IsConsistent": true, + "SubNames": [ + "fabric:/samples/apps", + "fabric:/samples/data", + "fabric:/samples/CalculatorApp", + "fabric:/samples/CalculatorApp/CalculatorService", + "fabric:/samples/CalculatorApp/CalculatorService/Name-1", + "fabric:/samples/CalculatorApp/CalculatorService/Name-2", + "fabric:/samples/mynames/name-1" + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json new file mode 100644 index 000000000000..3265fc8a3c13 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json @@ -0,0 +1,24 @@ +{ + "operationId": "GetSubNameInfoList", + "description": "This example shows how to page through the information about sub names under a given Service Fabric name using ContinuationToken parameter. The value of this parameter is provided from the previous query, in this case the example shown above. The response contains the remaining two results and an empty ContinuationToken. The empty ContinuationToken indicates that additional results are not available.", + "parameters": { + "api-version": "6.0", + "nameId": "samples", + "Recursive": true, + "ContinuationToken": "fabric:/samples/apps/PersistentQueueApp$131439231986491349" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "ContinuationToken": "", + "IsConsistent": true, + "SubNames": [ + "fabric:/samples/apps/VolatileQueueApp", + "fabric:/samples/apps/NotepadApp" + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json new file mode 100644 index 000000000000..21ce39b90dd9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json @@ -0,0 +1,34 @@ +{ + "operationId": "GetImageStoreUploadSessionById", + "description": "This example shows how to get image store upload session by a given ID.", + "parameters": { + "api-version": "6.0", + "session-id": "4a2340e8-d8d8-497c-95fe-cdaa1052f33b" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "UploadSessions": [ + { + "StoreRelativePath": "SwaggerTest\\Common.dll", + "SessionId": "4a2340e8-d8d8-497c-95fe-cdaa1052f33b", + "FileSize": "2097152", + "ModifiedDate": "2017-09-28T17:06:37.260Z", + "ExpectedRanges": [ + { + "StartPosition": "0", + "EndPosition": "402128" + }, + { + "StartPosition": "730105", + "EndPosition": "2097151" + } + ] + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json new file mode 100644 index 000000000000..82743551c7cb --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json @@ -0,0 +1,50 @@ +{ + "operationId": "GetImageStoreUploadSessionByPath", + "description": "This example shows how to get image store upload session by a given relative path.", + "parameters": { + "api-version": "6.0", + "contentPath": "SwaggerTest\\Common.dll" + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "UploadSessions": [ + { + "StoreRelativePath": "SwaggerTest\\Common.dll", + "SessionId": "2032ac6c-a348-4594-86da-dab0f2bb1ae1", + "FileSize": "2097152", + "ModifiedDate": "2017-09-28T17:28:11.627Z", + "ExpectedRanges": [ + { + "StartPosition": "0", + "EndPosition": "207615" + }, + { + "StartPosition": "626977", + "EndPosition": "2097151" + } + ] + }, + { + "StoreRelativePath": "SwaggerTest\\Common.dll", + "SessionId": "fb2da2b2-7cb4-45d2-a2e6-c4888d205bc5", + "FileSize": "2097152", + "ModifiedDate": "2017-09-28T17:28:11.643Z", + "ExpectedRanges": [ + { + "StartPosition": "0", + "EndPosition": "616947" + }, + { + "StartPosition": "1087529", + "EndPosition": "2097151" + } + ] + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json new file mode 100644 index 000000000000..cdaf407acf69 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json @@ -0,0 +1,27 @@ +{ + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "Node01", + "applicationId": "samples/winnodejs", + "ServiceManifestName": "NodeServicePackage", + "CodePackageName": "NodeService.Code", + "CodePackageInstanceId": "131668159770315380", + "ContainerApiRequestBody": { + "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "text/plain; charset=utf-8", + "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json new file mode 100644 index 000000000000..1af58111eb46 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json @@ -0,0 +1,29 @@ +{ + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP POST for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "N0020", + "applicationId": "samples/nodejs1", + "ServiceManifestName": "NodeOnSF", + "CodePackageName": "Code", + "CodePackageInstanceId": "131673596679688285", + "ContainerApiRequestBody": { + "HttpVerb": "POST", + "UriPath": "/containers/{id}/update", + "Body": "{ \"CpuShares\": 512}" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "application/json", + "Body": "{\"Warnings\":null}\n" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json new file mode 100644 index 000000000000..f2e3d3252d09 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json @@ -0,0 +1,19 @@ +{ + "operationId": "PutProperty", + "description": "This example shows how to create or update a Service Fabric property under a given name.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps/CalculatorApp", + "PropertyDescription": { + "PropertyName": "AppData", + "Value": { + "Kind": "Binary", + "Data": [0, 1, 2, 3, 4, 5] + } + } + }, + "responses": { + "200": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json new file mode 100644 index 000000000000..85713723d090 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json @@ -0,0 +1,20 @@ +{ + "operationId": "PutProperty", + "description": "This example shows how to create or update a Service Fabric property under a given name with a custom type.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps/CalculatorApp", + "PropertyDescription": { + "PropertyName": "AppData", + "Value": { + "Kind": "String", + "Data": "1+2=3" + }, + "CustomTypeId": "EquationType" + } + }, + "responses": { + "200": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json new file mode 100644 index 000000000000..5f17ef376d9d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json @@ -0,0 +1,18 @@ +{ + "operationId": "MeshCodePackage_GetContainerLogs", + "description": "This example shows how to get logs from the container of service replica. If the container exists, the logs are returned with an OK (200) status code, otherwise an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sbzDocApp", + "serviceResourceName": "sbzDocService", + "replicaName": "0", + "codePackageName": "sbzDocCode" + }, + "responses": { + "200": { + "body": { + "Content": " * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)\n * Downloading style https://assets-cdn.github.com/assets/frameworks-8f281eb0a8d2308ceb36e714ba3c3aec.css\n * Downloading style https://assets-cdn.github.com/assets/github-a698da0d53574b056d3c79ac732d4a70.css\n * Downloading style https://assets-cdn.github.com/assets/site-83dc1f7ebc9c7461fe1eab799b56c4c4.css\n * Cached all downloads in /root/.grip/cache-4.5.2\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET / HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/frameworks-8f281eb0a8d2308ceb36e714ba3c3aec.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/site-83dc1f7ebc9c7461fe1eab799b56c4c4.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/asset/github-a698da0d53574b056d3c79ac732d4a70.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:02] \"GET /__/grip/static/octicons/octicons.css HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:03] \"GET /__/grip/static/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6 HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:03] \"GET /__/grip/static/favicon.ico HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:05] \"GET /seabreeze-index.md HTTP/1.1\" 200 -\n167.220.0.83 - - [06/Apr/2018 07:16:09] \"GET /seabreeze-api-application_get.md HTTP/1.1\" 200 -\n" + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json new file mode 100644 index 000000000000..312e3792ca45 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json @@ -0,0 +1,57 @@ +{ + "operationId": "MeshServiceReplica_Get", + "description": "This example shows how to get information about given replica of a service. If the replica exists, its description is returned along with an OK (200) status code. If the replica does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication", + "serviceResourceName": "helloWorldService", + "replicaName": "0" + }, + "responses": { + "200": { + "body": { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" + }, + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + } + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ], + "replicaName": "0" + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json new file mode 100644 index 000000000000..6d965820ecec --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json @@ -0,0 +1,105 @@ +{ + "operationId": "MeshServiceReplica_List", + "description": "This example shows how to list replicas of a service resources for a given application.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication", + "serviceResourceName": "helloWorldService" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" + }, + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + } + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ], + "replicaName": "0" + }, + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" + }, + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + } + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ], + "replicaName": "1" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json new file mode 100644 index 000000000000..f75d8fe37ce6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json @@ -0,0 +1,51 @@ +{ + "operationId": "MeshService_Get", + "description": "This example shows how to get a service resource for a given application. If the service resource exists, its description is returned along with an OK (200) status code. If the service resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication", + "serviceResourceName": "helloWorldService" + }, + "responses": { + "200": { + "body": { + "name": "helloWorldService", + "properties": { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ], + "description": "SeaBreeze Hello World Service.", + "replicaCount": 1, + "healthState": "Ok", + "status": "Ready" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json new file mode 100644 index 000000000000..b819af670bf6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json @@ -0,0 +1,56 @@ +{ + "operationId": "MeshService_List", + "description": "This example shows how to list all service resources for a given application.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "helloWorldService", + "properties": { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ], + "description": "SeaBreeze Hello World Service.", + "replicaCount": 1, + "healthState": "Ok", + "status": "Ready" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.autoscale.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.autoscale.json new file mode 100644 index 000000000000..0724c6866414 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.autoscale.json @@ -0,0 +1,102 @@ +{ + "operationId": "MeshApplication_CreateOrUpdate", + "description": "This example shows how to create or update a application resource with services that autoscale based on the policies.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication", + "applicationResourceDescription": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "services": [ + { + "name": "helloWorldService", + "properties": { + "description": "SeaBreeze Hello World Service.", + "osType": "linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + } + } + ], + "replicaCount": 1, + "autoScalingPolicies": [ + { + "name": "MyAutoScaleRule", + "trigger": { + "kind": "AverageLoad", + "metric": { + "kind": "Resource", + "name": "cpu" + }, + "lowerLoadThreshold": 0.3, + "upperLoadThreshold": 0.8, + "scaleIntervalInSeconds": 3600 + }, + "mechanism": { + "kind": "AddRemoveReplica", + "minCount": 1, + "maxCount": 4, + "scaleIncrement": 1 + } + } + ], + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Ok", + "status": "Ready" + } + } + }, + "201": { + "body": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Unknown", + "status": "Creating" + } + } + }, + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json new file mode 100644 index 000000000000..70ba7139bddb --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json @@ -0,0 +1,139 @@ +{ + "operationId": "MeshApplication_CreateOrUpdate", + "description": "This example shows how to create or update a application resource.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication", + "applicationResourceDescription": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "services": [ + { + "name": "helloWorldService", + "identityRefs": [ + { + "name": "ServiceIdentity1", + "identityRef": "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1" + }, + { + "name": "ServiceIdentity2", + "identityRef": "SystemAssigned" + } + ], + "properties": { + "description": "SeaBreeze Hello World Service.", + "osType": "linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + } + } + ], + "replicaCount": 1, + "networkRefs": [ + { + "name": "sampleNetwork", + "endpointRefs": [ + { + "name": "helloWorldListener" + } + ] + } + ] + } + } + ] + } + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "tokenServiceEndpoint": "http://tokenservice", + "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567", + "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C", + "userAssignedIdentities": { + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": { + "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4", + "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8" + }, + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": { + "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1", + "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Ok", + "status": "Ready" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "tokenServiceEndpoint": "http://tokenservice", + "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567", + "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C", + "userAssignedIdentities": { + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": { + "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4", + "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8" + }, + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": { + "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1", + "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0" + } + } + } + } + }, + "201": { + "body": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Unknown", + "status": "Creating" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "tokenServiceEndpoint": "http://tokenservice", + "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567", + "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C", + "userAssignedIdentities": { + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": { + "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4", + "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8" + }, + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": { + "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1", + "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0" + } + } + } + } + }, + "202": { } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json new file mode 100644 index 000000000000..a548ef13b131 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json @@ -0,0 +1,13 @@ +{ + "operationId": "MeshApplication_Delete", + "description": "This example shows how to delete an existing application resource. If the application resource exists and is deleted successfully, an empty response with 200 status code is returned. If the application resource does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json new file mode 100644 index 000000000000..8d7ec34cf29a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json @@ -0,0 +1,39 @@ +{ + "operationId": "MeshApplication_Get", + "description": "This example shows how to get a application resource. If the application resource exists, its description is returned along with an OK (200) status code. If the application resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "applicationResourceName": "sampleApplication" + }, + "responses": { + "200": { + "body": { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Ok", + "status": "Ready" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "tokenServiceEndpoint": "http://tokenservice", + "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567", + "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C", + "userAssignedIdentities": { + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": { + "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4", + "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8" + }, + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": { + "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1", + "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json new file mode 100644 index 000000000000..87535e0f53a9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json @@ -0,0 +1,44 @@ +{ + "operationId": "MeshApplication_List", + "description": "This example shows how to list all application resources.", + "parameters": { + "api-version": "6.4-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "sampleApplication", + "properties": { + "description": "Service Fabric Mesh sample application.", + "serviceNames": [ + "helloWorldService" + ], + "healthState": "Ok", + "status": "Ready" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "tokenServiceEndpoint": "http://tokenservice", + "tenantId": "D47A6CD5-E870-4ADF-8C00-1C0B758BC567", + "principalId": "84DFA616-1F44-4D63-BC08-43B5F758D16C", + "userAssignedIdentities": { + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity1": { + "clientId": "5287A675-78D2-4E49-BF09-D3BFE02493D4", + "principalId": "7D6F0B1C-AF9F-4E21-9B3C-AE22F4D926F8" + }, + "/subscriptions/c1089427-83d3-4286-9f35-5af546a6eb67/resourcegroups/myGroup/providers/Microsoft.Identity/Identities/identity2": { + "clientId": "AF1509EC-9B5F-43CC-8A6F-FA7CC84AEBE1", + "principalId": "31144ACF-46F4-4639-A711-A257229EE0C0" + } + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json new file mode 100644 index 000000000000..70174652dcf6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json @@ -0,0 +1,193 @@ +{ + "operationId": "MeshGateway_CreateOrUpdate", + "description": "This example shows how to create or update a gateway resource.", + "parameters": { + "api-version": "6.4-preview", + "gatewayResourceName": "sampleGateway", + "gatewayResourceDescription": { + "name": "sampleGateway", + "properties": { + "description": "Service Fabric Mesh sample gateway.", + "sourceNetwork": { + "name": "Open" + }, + "destinationNetwork": { + "name": "helloWorldNetwork" + }, + "tcp": [ + { + "name": "web", + "port": 80, + "destination": { + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + } + ], + "http": [ + { + "name": "contosoWebsite", + "port": 8081, + "hosts": [ + { + "name": "contoso.com", + "routes": [ + { + "name": "index", + "match": { + "path": { + "value": "/index", + "rewrite": "/", + "type": "prefix" + }, + "headers": [ + { + "name": "accept", + "value": "application/json", + "type": "exact" + } + ] + }, + "destination": { + "applicationName": "httpHelloWorldApp", + "serviceName": "indexService", + "endpointName": "indexHttpEndpoint" + } + } + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "sampleGateway", + "properties": { + "description": "Service Fabric Mesh sample gateway.", + "sourceNetwork": { + "name": "Open" + }, + "destinationNetwork": { + "name": "helloWorldNetwork" + }, + "tcp": [ + { + "name": "web", + "port": 80, + "destination": { + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + } + ], + "http": [ + { + "name": "contosoWebsite", + "port": 8081, + "hosts": [ + { + "name": "contoso.com", + "routes": [ + { + "name": "index", + "match": { + "path": { + "value": "/index", + "rewrite": "/", + "type": "prefix" + }, + "headers": [ + { + "name": "accept", + "value": "application/json", + "type": "exact" + } + ] + }, + "destination": { + "applicationName": "httpHelloWorldApp", + "serviceName": "indexService", + "endpointName": "indexHttpEndpoint" + } + } + ] + } + ] + } + ], + "status": "Ready", + "ipAddress": "192.168.1.1" + } + } + }, + "201": { + "body": { + "name": "sampleGateway", + "properties": { + "description": "Service Fabric Mesh Hello World sample gateway.", + "sourceNetwork": { + "name": "Open" + }, + "destinationNetwork": { + "name": "helloWorldNetwork" + }, + "tcp": [ + { + "name": "web", + "port": 80, + "destination": { + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + } + ], + "http": [ + { + "name": "contosoWebsite", + "port": 8081, + "hosts": [ + { + "name": "contoso.com", + "routes": [ + { + "name": "index", + "match": { + "path": { + "value": "/index", + "rewrite": "/", + "type": "prefix" + }, + "headers": [ + { + "name": "accept", + "value": "application/json", + "type": "exact" + } + ] + }, + "destination": { + "applicationName": "httpHelloWorldApp", + "serviceName": "indexService", + "endpointName": "indexHttpEndpoint" + } + } + ] + } + ] + } + ], + "status": "Creating", + "ipAddress": "" + } + } + }, + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json new file mode 100644 index 000000000000..4970189b8334 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json @@ -0,0 +1,13 @@ +{ + "operationId": "MeshGateway_Delete", + "description": "This example shows how to delete an existing gateway resource. If the gateway resource exists and is deleted successfully, an empty response with 200 status code is returned. If the gateway resource does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "gatewayResourceName": "sampleGateway" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/get.json new file mode 100644 index 000000000000..c85b652cbc45 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/get.json @@ -0,0 +1,72 @@ +{ + "operationId": "MeshGateway_Get", + "description": "This example shows how to get a gateway resource. If the gateway resource exists, its description is returned along with an OK (200) status code. If the gateway resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "gatewayResourceName": "sampleGateway" + }, + "responses": { + "200": { + "body": { + "name": "sampleGateway", + "properties": { + "description": "Service Fabric Mesh sample gateway.", + "sourceNetwork": { + "name": "Open" + }, + "destinationNetwork": { + "name": "helloWorldNetwork" + }, + "tcp": [ + { + "name": "web", + "port": 80, + "destination": { + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + } + ], + "http": [ + { + "name": "contosoWebsite", + "port": 8081, + "hosts": [ + { + "name": "contoso.com", + "routes": [ + { + "name": "index", + "match": { + "path": { + "value": "/index", + "rewrite": "/", + "type": "prefix" + }, + "headers": [ + { + "name": "accept", + "value": "application/json", + "type": "exact" + } + ] + }, + "destination": { + "applicationName": "httpHelloWorldApp", + "serviceName": "indexService", + "endpointName": "indexHttpEndpoint" + } + } + ] + } + ] + } + ], + "status": "Ready", + "ipAddress": "192.168.1.1" + } + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/list.json new file mode 100644 index 000000000000..5ad53b7d580f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/list.json @@ -0,0 +1,77 @@ +{ + "operationId": "MeshGateway_List", + "description": "This example shows how to list all gateway resources.", + "parameters": { + "api-version": "6.4-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "sampleGateway", + "properties": { + "description": "Service Fabric Mesh sample gateway.", + "sourceNetwork": { + "name": "Open" + }, + "destinationNetwork": { + "name": "helloWorldNetwork" + }, + "tcp": [ + { + "name": "web", + "port": 80, + "destination": { + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + } + ], + "http": [ + { + "name": "contosoWebsite", + "port": 8081, + "hosts": [ + { + "name": "contoso.com", + "routes": [ + { + "name": "index", + "match": { + "path": { + "value": "/index", + "rewrite": "/", + "type": "prefix" + }, + "headers": [ + { + "name": "accept", + "value": "application/json", + "type": "exact" + } + ] + }, + "destination": { + "applicationName": "httpHelloWorldApp", + "serviceName": "indexService", + "endpointName": "indexHttpEndpoint" + } + } + ] + } + ] + } + ], + "status": "Ready", + "ipAddress": "192.168.1.1" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json new file mode 100644 index 000000000000..5d3c5fa5fd4a --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json @@ -0,0 +1,41 @@ +{ + "operationId": "MeshNetwork_CreateOrUpdate", + "description": "This example shows how to create or update a network resource.", + "parameters": { + "api-version": "6.4-preview", + "networkResourceName": "sampleNetwork", + "networkResourceDescription": { + "name": "sampleNetwork", + "properties": { + "kind": "Local", + "description": "Service Fabric Mesh sample network.", + "networkAddressPrefix": "2.0.0.0/16" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sampleNetwork", + "properties": { + "kind": "Local", + "description": "Service Fabric Mesh sample network.", + "networkAddressPrefix": "2.0.0.0/16", + "status": "Ready" + } + } + }, + "201": { + "body": { + "name": "sampleNetwork", + "properties": { + "kind": "Local", + "description": "Service Fabric Mesh sample network.", + "networkAddressPrefix": "2.0.0.0/16", + "status": "Creating" + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json new file mode 100644 index 000000000000..279ef9c5e465 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json @@ -0,0 +1,13 @@ +{ + "operationId": "MeshGateway_Delete", + "description": "This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "networkResourceName": "sampleNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json new file mode 100644 index 000000000000..1e6810b720f7 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json @@ -0,0 +1,21 @@ +{ + "operationId": "MeshGateway_Get", + "description": "This example shows how to get a network resource. If the network resource exists, its description is returned along with an OK (200) status code. If the network resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "networkResourceName": "sampleNetwork" + }, + "responses": { + "200": { + "body": { + "name": "sampleNetwork", + "properties": { + "kind": "Local", + "description": "Service Fabric Mesh sample network.", + "networkAddressPrefix": "2.0.0.0/16", + "status": "Ready" + } + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json new file mode 100644 index 000000000000..17f1be739309 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json @@ -0,0 +1,26 @@ +{ + "operationId": "MeshGateway_List", + "description": "This example shows how to list all network resources.", + "parameters": { + "api-version": "6.4-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "sampleNetwork", + "properties": { + "kind": "Local", + "description": "Service Fabric Mesh sample network.", + "networkAddressPrefix": "2.0.0.0/16", + "status": "Ready" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/create_update.json new file mode 100644 index 000000000000..aab0125db5a5 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/create_update.json @@ -0,0 +1,41 @@ +{ + "operationId": "MeshSecret_CreateOrUpdate", + "description": "This example shows how to create or update a secret resource.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString", + "secretResourceDescription": { + "name": "dbConnectionString", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "Mongo DB connection string for backend database!" + } + } + }, + "responses": { + "200": { + "body": { + "name": "dbConnectionString", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "Mongo DB connection string for backend database!", + "status": "Ready" + } + } + }, + "201": { + "body": { + "name": "dbConnectionString", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "Mongo DB connection string for backend database!", + "status": "Creating" + } + } + }, + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/delete.json new file mode 100644 index 000000000000..ffe68fd3ddc7 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/delete.json @@ -0,0 +1,13 @@ +{ + "operationId": "MeshSecret_Delete", + "description": "This example shows how to delete an existing secret resource. If the secret resource exists and is deleted successfully, an empty response with 200 status code is returned. If the secret resource does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/get.json new file mode 100644 index 000000000000..f358e51722dd --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/get.json @@ -0,0 +1,21 @@ +{ + "operationId": "MeshSecret_Get", + "description": "This example shows how to get a secret resource. If the secret resource exists, its description is returned along with an OK (200) status code. If the secret resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString" + }, + "responses": { + "200": { + "body": { + "name": "dbConnectionString", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "Mongo DB connection string for backend database!", + "status": "Ready" + } + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json new file mode 100644 index 000000000000..3ea55d35b2b9 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json @@ -0,0 +1,35 @@ +{ + "operationId": "MeshSecret_List", + "description": "This example shows how to list all secret resources.", + "parameters": { + "api-version": "6.4-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "dbConnectionString", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "Mongo DB connection string for backend database!", + "status": "Ready" + } + }, + { + "name": "contosoServiceApiKey", + "properties": { + "kind": "inlinedValue", + "contentType": "text/plain", + "description": "API Key to access contoso service APIs", + "status": "Ready" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json new file mode 100644 index 000000000000..fdc732de74b1 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json @@ -0,0 +1,36 @@ +{ + "operationId": "MeshSecretValue_AddValue", + "description": "This example shows how to add a new value of a secret resource; the secret value is provided as plaintext.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString", + "secretValueResourceName": "v1", + "secretValueResourceDescription": { + "name": "v1", + "properties": { + "value": "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true" + } + } + }, + "responses": { + "200": { + "body": { + "name": "v1", + "properties": { + "value": null + } + } + }, + "201": { + "body": { + "name": "v1", + "properties": { + "value": null + } + } + }, + "202": { + } + } +} + diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json new file mode 100644 index 000000000000..19d0b8e234ac --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json @@ -0,0 +1,15 @@ +{ + "operationId": "MeshSecretValue_Delete", + "description":"This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString", + "secretValueResourceName": "v1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} + diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json new file mode 100644 index 000000000000..cf221a2399db --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json @@ -0,0 +1,20 @@ +{ + "operationId": "MeshSecretValue_Get", + "description":"This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString", + "secretValueResourceName": "v1" + }, + "responses": { + "200": { + "body": { + "name": "v1", + "properties": { + "value": null + } + } + } + } +} + diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list.json new file mode 100644 index 000000000000..0610d6d83c48 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list.json @@ -0,0 +1,29 @@ +{ + "operationId": "MeshSecretValue_List", + "description": "This example shows how to list names of all values of a secret resource, not including their respective values.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString" + }, + "responses": { + "200": { + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "v1", + "properties": { + "value": null + } + }, + { + "name": "v2", + "properties": { + "value": null + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list_value.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list_value.json new file mode 100644 index 000000000000..b8d09ce2e23c --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/list_value.json @@ -0,0 +1,16 @@ +{ + "operationId": "MeshSecretValue_Show", + "description": "This example shows how to get the unencrypted value of the secret. If the specified named value resource exists, its unencrypted value is returned along with status code 200. If the specified named value does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "secretResourceName": "dbConnectionString", + "secretValueResourceName": "v1" + }, + "responses": { + "200": { + "body": { + "value": "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true" + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json new file mode 100644 index 000000000000..38f7e21cfe2f --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json @@ -0,0 +1,52 @@ +{ + "operationId": "MeshVolume_CreateOrUpdate", + "description": "This example shows how to create or update a volume resource.", + "parameters": { + "api-version": "6.4-preview", + "volumeResourceName": "sampleVolume", + "volumeResourceDescription": { + "properties": { + "description": "Service Fabric Mesh sample volume.", + "provider": "SFAzureFile", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": "provide-account-key-here", + "shareName": "sharel" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "sampleVolume", + "properties": { + "description": "Service Fabric Mesh sample volume.", + "provider": "SFAzureFile", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": null, + "shareName": "sharel" + }, + "status": "Ready" + } + } + }, + "201": { + "body": { + "name": "sampleVolume", + "properties": { + "description": "Service Fabric Mesh Hello World sample volume.", + "provider": "SFAzureFile", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": null, + "shareName": "sharel" + }, + "status": "Creating" + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json new file mode 100644 index 000000000000..cbe91046c7d2 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json @@ -0,0 +1,13 @@ +{ + "operationId": "MeshVolume_Delete", + "description": "This example shows how to delete an existing volume resource. If the volume resource exists and is deleted successfully, an empty response with 200 status code is returned. If the volume resource does not exist, an empty response with 204 status code is returned.", + "parameters": { + "api-version": "6.4-preview", + "volumeResourceName": "sampleVolume" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json new file mode 100644 index 000000000000..a14338981ff6 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json @@ -0,0 +1,25 @@ +{ + "operationId": "MeshVolume_Get", + "description": "This example shows how to get a volume resource. If the volume resource exists, its description is returned along with an OK (200) status code. If the volume resource does not exist, an error is returned with an appropriate status code.", + "parameters": { + "api-version": "6.4-preview", + "volumeResourceName": "sampleVolume" + }, + "responses": { + "200": { + "body": { + "name": "sampleVolume", + "properties": { + "description": "Service Fabric Mesh sample volume.", + "provider": "SFAzureFile", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": null, + "shareName": "sharel" + }, + "status": "Ready" + } + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json new file mode 100644 index 000000000000..d780c41fe274 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json @@ -0,0 +1,30 @@ +{ + "operationId": "MeshVolume_List", + "description": "This example shows how to list all volume resources.", + "parameters": { + "api-version": "6.4-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "name": "sampleVolume", + "properties": { + "description": "Service Fabric Mesh sample volume.", + "provider": "SFAzureFile", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": null, + "shareName": "sharel" + }, + "status": "Ready" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json new file mode 100644 index 000000000000..75eb2f15bbdc --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json @@ -0,0 +1,21 @@ +{ + "operationId": "RestorePartition", + "description": "This example shows how to trigger restore of a partition now by specifying the backup to be used to restore.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d", + "RestorePartitionDescription": { + "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", + "BackupStorage": { + "StorageKind": "AzureBlobStore", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json new file mode 100644 index 000000000000..9bd11e91b899 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "ResumeApplicationBackup", + "description": "This example shows how to resume periodic backup for a stateful application which was previously suspended.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json new file mode 100644 index 000000000000..50bfbdff95f4 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "ResumePartitionBackup", + "description": "This example shows how to resume periodic backup for a stateful partition which was previously suspended.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json new file mode 100644 index 000000000000..daa0878df285 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "ResumeServiceBackup", + "description": "This example shows how to resume periodic backup for a stateful service which was previously suspended.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json new file mode 100644 index 000000000000..bbb6034fc8e4 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json @@ -0,0 +1,42 @@ +{ + "operationId": "StartClusterConfigurationUpgrade", + "description": "This example shows how to start upgrading the configuration of a Service Fabric standalone cluster.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps/CalculatorApp", + "ClusterConfigurationUpgradeDescription": { + "ClusterConfig": "", + "ApplicationHealthPolicies": { + "ApplicationHealthPolicyMap": [ + { + "Key": "fabric:/samples/CalculatorApp", + "Value": { + "ConsiderWarningAsError": true, + "MaxPercentUnhealthyDeployedApplications": 10, + "DefaultServiceTypeHealthPolicy": { + "MaxPercentUnhealthyPartitionsPerService": 0, + "MaxPercentUnhealthyReplicasPerPartition": 0, + "MaxPercentUnhealthyServices": 0 + }, + "ServiceTypeHealthPolicyMap": [ + { + "Key": "Svc1Type", + "Value": { + "MaxPercentUnhealthyPartitionsPerService": 0, + "MaxPercentUnhealthyReplicasPerPartition": 0, + "MaxPercentUnhealthyServices": 10 + } + } + ] + } + } + ] + } + + } + }, + "responses": { + "202": { + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json new file mode 100644 index 000000000000..af100a680c95 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json @@ -0,0 +1,67 @@ +{ + "operationId": "SubmitPropertyBatch", + "description": "This example shows how to submit a property batch. This batch ensures that a property exists, checks that the property has the expected sequence number, and edits the property only if the previous conditions succeed. It then performs a get operation to get the property's current info. \r\n If all of the operations succeed, the batch is committed in a transactional manner and a success response is returned with 200 status code. \r\n If the batch fails then a failed response is returned with 409 status code. The failed response below shows batch failure because the property does not have expected sequence number.", + "parameters": { + "api-version": "6.0", + "nameId": "samples/apps", + "PropertyBatchDescriptionList": { + "Operations": [ + { + "Kind": "CheckExists", + "PropertyName": "PersistentQueueAppData", + "Exits": true + }, + { + "Kind": "CheckSequence", + "PropertyName": "PersistentQueueAppData", + "SequenceNumber": "12" + }, + { + "Kind": "Put", + "PropertyName": "PersistentQueueAppData", + "Value": { + "Kind": "Binary", + "Data": [1, 2, 3, 4, 5] + }, + "CustomTypeId": "InitializationData" + }, + { + "Kind": "Get", + "PropertyName": "PersistentQueueAppData", + "IncludeValue": false + } + ] + } + }, + "responses": { + "200": { + "headers": { + }, + "body": { + "Kind": "Successful", + "Properties": { + "3": { + "Name": "PersistentQueueAppData", + "Metadata": { + "TypeId": "Binary", + "CustomTypeId": "InitializationData", + "Parent": "fabric:/samples/apps", + "SizeInBytes": 5, + "LastModifiedUtcTimestamp": "2017-07-17T05:01:19.049Z", + "SequenceNumber": "13" + } + } + } + } + }, + "409": { + "headers": { + }, + "body": { + "Kind": "Failed", + "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED", + "OperationIndex": 1 + } + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json new file mode 100644 index 000000000000..271b8ab320ef --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "SuspendApplicationBackup", + "description": "This example shows how to suspend backup for a stateful application which is configured for periodic backup.", + "parameters": { + "api-version": "6.4", + "applicationId": "CalcApp" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json new file mode 100644 index 000000000000..817ec8ff3960 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "SuspendPartitionBackup", + "description": "This example shows how to suspend backup for a stateful partition which is configured for periodic backup.", + "parameters": { + "api-version": "6.4", + "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json new file mode 100644 index 000000000000..b4df0c95acac --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json @@ -0,0 +1,12 @@ +{ + "operationId": "SuspendServiceBackup", + "description": "This example shows how to suspend backup for a stateful service which is configured for periodic backup.", + "parameters": { + "api-version": "6.4", + "serviceId": "CalcApp/CalcService" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json new file mode 100644 index 000000000000..febfc611cfba --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json @@ -0,0 +1,36 @@ +{ + "operationId": "UpdateBackupPolicy", + "description": "This example shows how to update the schedule of a backup policy to take backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 30 days, with Azure blob store as the backup location.", + "parameters": { + "api-version": "6.4", + "backupPolicyName": "DailyAzureBackupPolicy", + "BackupPolicyDescription": { + "Name": "DailyAzureBackupPolicy", + "AutoRestoreOnDataLoss": false, + "MaxIncrementalBackups": 3, + "Schedule": { + "ScheduleKind": "TimeBased", + "ScheduleFrequencyType": "Daily", + "RunTimes": [ + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" + ] + }, + "Storage": { + "StorageKind": "AzureBlobStore", + "FriendlyName": "Azure_storagesample", + "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "ContainerName": "BackupContainer" + }, + "RetentionPolicy": { + "RetentionPolicyType": "Basic", + "MinimumNumberOfBackups": 60, + "RetentionDuration": "P30D" + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json new file mode 100644 index 000000000000..3a748e8e3e20 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json @@ -0,0 +1,34 @@ +{ + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", + "parameters": { + "serviceId": "test~test1", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateless", + "Flags": "1568", + "PlacementConstraints": "Color==Red", + "DefaultMoveCost": "High", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.500000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 900 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 4, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } + } + ] + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json new file mode 100644 index 000000000000..4329ddddf400 --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json @@ -0,0 +1,17 @@ +{ + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", + "parameters": { + "serviceId": "test~test2", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateful", + "Flags": "40", + "PlacementConstraints": "Color==Green", + "StandByReplicaKeepDurationSeconds": "1000" + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json new file mode 100644 index 000000000000..4c88efaa8a5d --- /dev/null +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json @@ -0,0 +1,27502 @@ +{ + "swagger": "2.0", + "info": { + "title": "Service Fabric Client APIs", + "description": "Service Fabric REST Client APIs allows management of Service Fabric clusters, applications and services.", + "version": "6.5.0.36" + }, + "host": "localhost:19080", + "schemes": [ + "http", + "https" + ], + "produces": [ + "application/json" + ], + "paths": { + "/$/GetClusterManifest": { + "get": { + "operationId": "GetClusterManifest", + "summary": "Get the Service Fabric cluster manifest.", + "description": "Get the Service Fabric cluster manifest. The cluster manifest contains properties of the cluster that include different node types on the cluster,\nsecurity configurations, fault, and upgrade domain topologies, etc.\n\nThese properties are specified as part of the ClusterConfig.JSON file while deploying a stand-alone cluster. However, most of the information in the cluster manifest\nis generated internally by service fabric during cluster deployment in other deployment scenarios (e.g. when using Azure portal).\n\nThe contents of the cluster manifest are for informational purposes only and users are not expected to take a dependency on the format of the file contents or its interpretation.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster manifest information.", + "schema": { + "$ref": "#/definitions/ClusterManifest" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetClusterHealth": { + "get": { + "operationId": "GetClusterHealth", + "summary": "Gets the health of a Service Fabric cluster.", + "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nSimilarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/IncludeSystemApplicationHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster health information.", + "schema": { + "$ref": "#/definitions/ClusterHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetClusterHealthUsingPolicy", + "summary": "Gets the health of a Service Fabric cluster using the specified policy.", + "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nSimilarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state.\nUse ClusterHealthPolicies to override the health policies used to evaluate the health.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/IncludeSystemApplicationHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/ClusterHealthPoliciesOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster health information.", + "schema": { + "$ref": "#/definitions/ClusterHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetClusterHealthChunk": { + "get": { + "operationId": "GetClusterHealthChunk", + "summary": "Gets the health of a Service Fabric cluster using health chunks.", + "description": "Gets the health of a Service Fabric cluster using health chunks. Includes the aggregated health state of the cluster, but none of the cluster entities.\nTo expand the cluster health and get the health state of all or some of the entities, use the POST URI and specify the cluster health chunk query description.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster health chunk information.", + "schema": { + "$ref": "#/definitions/ClusterHealthChunk" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetClusterHealthChunkUsingPolicyAndAdvancedFilters", + "summary": "Gets the health of a Service Fabric cluster using health chunks.", + "description": "Gets the health of a Service Fabric cluster using health chunks. The health evaluation is done based on the input cluster health chunk query description.\nThe query description allows users to specify health policies for evaluating the cluster and its children.\nUsers can specify very flexible filters to select which cluster entities to return. The selection can be done based on the entities health state and based on the hierarchy.\nThe query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return\nonly services that are in Error or Warning, and all partitions and replicas for one of these services.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ClusterHealthChunkQueryDescriptionOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster health chunk information.", + "schema": { + "$ref": "#/definitions/ClusterHealthChunk" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/ReportClusterHealth": { + "post": { + "operationId": "ReportClusterHealth", + "summary": "Sends a health report on the Service Fabric cluster.", + "description": "Sends a health report on a Service Fabric cluster. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway node, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetClusterHealth and check that the report appears in the HealthEvents section.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code when the cluster health report is accepted for processing." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetProvisionedCodeVersions": { + "get": { + "operationId": "GetProvisionedFabricCodeVersionInfoList", + "summary": "Gets a list of fabric code versions that are provisioned in a Service Fabric cluster.", + "description": "Gets a list of information about fabric code versions that are provisioned in the cluster. The parameter CodeVersion can be used to optionally filter the output to only that particular version.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/CodeVersionOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested provisioned code versions information.", + "schema": { + "$ref": "#/definitions/FabricCodeVersionInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetProvisionedConfigVersions": { + "get": { + "operationId": "GetProvisionedFabricConfigVersionInfoList", + "summary": "Gets a list of fabric config versions that are provisioned in a Service Fabric cluster.", + "description": "Gets a list of information about fabric config versions that are provisioned in the cluster. The parameter ConfigVersion can be used to optionally filter the output to only that particular version.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ConfigVersionOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested provisioned config versions information.", + "schema": { + "$ref": "#/definitions/FabricConfigVersionInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetUpgradeProgress": { + "get": { + "operationId": "GetClusterUpgradeProgress", + "summary": "Gets the progress of the current cluster upgrade.", + "description": "Gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, get the last state of the previous cluster upgrade.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster upgrade progress.", + "schema": { + "$ref": "#/definitions/ClusterUpgradeProgressObject" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetClusterConfiguration": { + "get": { + "operationId": "GetClusterConfiguration", + "summary": "Get the Service Fabric standalone cluster configuration.", + "description": "The cluster configuration contains properties of the cluster that include different node types on the cluster,\nsecurity configurations, fault, and upgrade domain topologies, etc.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ConfigurationApiVersionRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster configuration information.", + "schema": { + "$ref": "#/definitions/ClusterConfiguration" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetClusterConfigurationUpgradeStatus": { + "get": { + "operationId": "GetClusterConfigurationUpgradeStatus", + "summary": "Get the cluster configuration upgrade status of a Service Fabric standalone cluster.", + "description": "Get the cluster configuration upgrade status details of a Service Fabric standalone cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster configuration upgrade status.", + "schema": { + "$ref": "#/definitions/ClusterConfigurationUpgradeStatusInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetUpgradeOrchestrationServiceState": { + "get": { + "operationId": "GetUpgradeOrchestrationServiceState", + "summary": "Get the service state of Service Fabric Upgrade Orchestration Service.", + "description": "Get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested service state of Service Fabric Upgrade Orchestration Service.", + "schema": { + "$ref": "#/definitions/UpgradeOrchestrationServiceState" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/SetUpgradeOrchestrationServiceState": { + "post": { + "operationId": "SetUpgradeOrchestrationServiceState", + "summary": "Update the service state of Service Fabric Upgrade Orchestration Service.", + "description": "Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UpgradeOrchestrationServiceStateRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful response means that the service state of Service Fabric Upgrade Orchestration Service has been updated.", + "schema": { + "$ref": "#/definitions/UpgradeOrchestrationServiceStateSummary" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/Provision": { + "post": { + "summary": "Provision the code or configuration packages of a Service Fabric cluster.", + "description": "Validate and provision the code or configuration packages of a Service Fabric cluster.", + "operationId": "ProvisionCluster", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ProvisionFabricDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful response means that the code or configuration packages have been provisioned." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/Unprovision": { + "post": { + "summary": "Unprovision the code or configuration packages of a Service Fabric cluster.", + "description": "It is supported to unprovision code and configuration separately.", + "operationId": "UnprovisionCluster", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UnprovisionFabricDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful response means that the code or configuration packages have been unprovisioned." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/RollbackUpgrade": { + "post": { + "summary": "Roll back the upgrade of a Service Fabric cluster.", + "description": "Roll back the code or configuration upgrade of a Service Fabric cluster.", + "operationId": "RollbackClusterUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "202": { + "description": "A successful response means that the rollback of a cluster upgrade has been initiated." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/MoveToNextUpgradeDomain": { + "post": { + "summary": "Make the cluster upgrade move on to the next upgrade domain.", + "description": "Make the cluster code or configuration upgrade move on to the next upgrade domain if appropriate.", + "operationId": "ResumeClusterUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ResumeClusterUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful response means that the cluster upgrade has moved on to the next upgrade domain." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/Upgrade": { + "post": { + "summary": "Start upgrading the code or configuration version of a Service Fabric cluster.", + "description": "Validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.", + "operationId": "StartClusterUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/StartClusterUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "202": { + "description": "A successful response means that the cluster code or configuration upgrade has started. Use GetUpgradeProgress operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/StartClusterConfigurationUpgrade": { + "post": { + "summary": "Start upgrading the configuration of a Service Fabric standalone cluster.", + "description": "Validate the supplied configuration upgrade parameters and start upgrading the cluster configuration if the parameters are valid.", + "operationId": "StartClusterConfigurationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ClusterConfigurationUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "x-ms-examples": { + "Start upgrading the configuration of a Service Fabric standalone cluster": { + "$ref": "./examples/StartClusterConfigurationUpgrade-1.json" + } + }, + "responses": { + "202": { + "description": "A successful response means that the cluster configuration upgrade has started. Use GetClusterConfigurationUpgradeStatus operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/UpdateUpgrade": { + "post": { + "operationId": "UpdateClusterUpgrade", + "summary": "Update the upgrade parameters of a Service Fabric cluster upgrade.", + "description": "Update the upgrade parameters used during a Service Fabric cluster upgrade.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UpdateClusterUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation returns 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetAadMetadata": { + "get": { + "operationId": "GetAadMetadata", + "summary": "Gets the Azure Active Directory metadata used for secured connection to cluster.", + "description": "Gets the Azure Active Directory metadata used for secured connection to cluster.\nThis API is not supposed to be called separately. It provides information needed to set up an Azure Active Directory secured connection with a Service Fabric cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "schemes": [ + "https" + ], + "tags": [ + "Cluster" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the Azure Active Directory metadata.", + "schema": { + "$ref": "#/definitions/AadMetadataObject" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetClusterVersion": { + "get": { + "operationId": "GetClusterVersion", + "summary": "Get the current Service Fabric cluster version.", + "description": "If a cluster upgrade is happening, then this API will return the lowest (older) version of the current and target cluster runtime versions.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get cluster version": { + "$ref": "./examples/GetClusterVersion-1.json" + } + }, + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster version information.", + "schema": { + "$ref": "#/definitions/ClusterVersion" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetLoadInformation": { + "get": { + "operationId": "GetClusterLoad", + "summary": "Gets the load of a Service Fabric cluster.", + "description": "Retrieves the load information of a Service Fabric cluster for all the metrics that have load or capacity defined.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested cluster load information.", + "schema": { + "$ref": "#/definitions/ClusterLoadInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/ToggleVerboseServicePlacementHealthReporting": { + "post": { + "operationId": "ToggleVerboseServicePlacementHealthReporting", + "summary": "Changes the verbosity of service placement health reporting.", + "description": "If verbosity is set to true, then detailed health reports will be generated when replicas cannot be placed or dropped.\nIf verbosity is set to false, then no health reports will be generated when replicas cannot be placed or dropped.", + "tags": [ + "Cluster" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/VerboseServicePlacementHealthReportingParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful response means that the verbosity of service placement health reporting was updated." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes": { + "get": { + "summary": "Gets the list of nodes in the Service Fabric cluster.", + "description": "The response includes the name, status, ID, health, uptime, and other details about the nodes.", + "operationId": "GetNodeInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-3_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/NodeStatusFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Node" + ], + "x-ms-examples": { + "Get information about all nodes": { + "$ref": "./examples/GetNodeInfoList.json" + }, + "Limit maximum results": { + "$ref": "./examples/GetNodeInfoList-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetNodeInfoList-2.json" + } + }, + "responses": { + "200": { + "description": "List of nodes in the cluster.", + "schema": { + "$ref": "#/definitions/PagedNodeInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}": { + "get": { + "summary": "Gets the information about a specific node in the Service Fabric cluster.", + "description": "The response includes the name, status, ID, health, uptime, and other details about the node.", + "operationId": "GetNodeInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Node" + ], + "x-ms-examples": { + "Get a specific node by node name": { + "$ref": "./examples/GetNodeInfo-1.json" + } + }, + "responses": { + "200": { + "description": "A successful operation will return information about the node with the specified nodeName.", + "schema": { + "$ref": "#/definitions/NodeInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified nodeName is not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetHealth": { + "get": { + "operationId": "GetNodeHealth", + "summary": "Gets the health of a Service Fabric node.", + "description": "Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. If the node that you specify by name does not exist in the health store, this returns an error.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested node health information.", + "schema": { + "$ref": "#/definitions/NodeHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetNodeHealthUsingPolicy", + "summary": "Gets the health of a Service Fabric node, by using the specified health policy.", + "description": "Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicy in the POST body to override the health policies used to evaluate the health. If the node that you specify by name does not exist in the health store, this returns an error.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ClusterHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested node health information.", + "schema": { + "$ref": "#/definitions/NodeHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/ReportHealth": { + "post": { + "operationId": "ReportNodeHealth", + "summary": "Sends a health report on the Service Fabric node.", + "description": "Reports health state of the specified Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway node, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetNodeHealth and check that the report appears in the HealthEvents section.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetLoadInformation": { + "get": { + "operationId": "GetNodeLoadInfo", + "summary": "Gets the load information of a Service Fabric node.", + "description": "Retrieves the load information of a Service Fabric node for all the metrics that have load or capacity defined.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested node load information.", + "schema": { + "$ref": "#/definitions/NodeLoadInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/Deactivate": { + "post": { + "operationId": "DisableNode", + "summary": "Deactivate a Service Fabric cluster node with the specified deactivation intent.", + "description": "Deactivate a Service Fabric cluster node with the specified deactivation intent. Once the deactivation is in progress, the deactivation intent can be increased, but not decreased (for example, a node that is deactivated with the Pause intent can be deactivated further with Restart, but not the other way around. Nodes may be reactivated using the Activate a node operation any time after they are deactivated. If the deactivation is not complete, this will cancel the deactivation. A node that goes down and comes back up while deactivated will still need to be reactivated before services will be placed on that node.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/DeactivationIntentDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/Activate": { + "post": { + "operationId": "EnableNode", + "summary": "Activate a Service Fabric cluster node that is currently deactivated.", + "description": "Activates a Service Fabric cluster node that is currently deactivated. Once activated, the node will again become a viable target for placing new replicas, and any deactivated replicas remaining on the node will be reactivated.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/RemoveNodeState": { + "post": { + "operationId": "RemoveNodeState", + "summary": "Notifies Service Fabric that the persisted state on a node has been permanently removed or lost.", + "description": "This implies that it is not possible to recover the persisted state of that node. This generally happens if a hard disk has been wiped clean, or if a hard disk crashes. The node has to be down for this operation to be successful. This operation lets Service Fabric know that the replicas on that node no longer exist, and that Service Fabric should stop waiting for those replicas to come back up. Do not run this cmdlet if the state on the node has not been removed and the node can come back up with its state intact. Starting from Service Fabric 6.5, in order to use this API for seed nodes, please change the seed nodes to regular (non-seed) nodes and then invoke this API to remove the node state. If the cluster is running on Azure, after the seed node goes down, Service Fabric will try to change it to a non-seed node automatically. To make this happen, make sure the number of non-seed nodes in the primary node type is no less than the number of Down seed nodes. If necessary, add more nodes to the primary node type to achieve this. For standalone cluster, if the Down seed node is not expected to come back up with its state intact, please remove the node from the cluster, see https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-windows-server-add-remove-nodes", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/Restart": { + "post": { + "operationId": "RestartNode", + "summary": "Restarts a Service Fabric cluster node.", + "description": "Restarts a Service Fabric cluster node that is already started.", + "tags": [ + "Node" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/RestartNodeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the node and it is in the process of restarting. Check the status of the node by calling GetNode operation." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes": { + "get": { + "summary": "Gets the list of application types in the Service Fabric cluster.", + "description": "Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. Each version of an application type is returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.", + "operationId": "GetApplicationTypeInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeDefinitionKindFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetApplicationTypeInfoList-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetApplicationTypeInfoList-2.json" + }, + "Exclude application parameters from the result": { + "$ref": "./examples/GetApplicationTypeInfoList-3.json" + } + }, + "tags": [ + "ApplicationType" + ], + "responses": { + "200": { + "description": "List of application types in the cluster.", + "schema": { + "$ref": "#/definitions/PagedApplicationTypeInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}": { + "get": { + "summary": "Gets the list of application types in the Service Fabric cluster matching exactly the specified name.", + "description": "Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. These results are of application types whose name match exactly the one specified as the parameter, and which comply with the given query parameters. All versions of the application type matching the application type name are returned, with each version returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.", + "operationId": "GetApplicationTypeInfoListByName", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationTypeVersionOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ApplicationType" + ], + "responses": { + "200": { + "description": "List of application types in the cluster.", + "schema": { + "$ref": "#/definitions/PagedApplicationTypeInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/$/Provision": { + "post": { + "operationId": "ProvisionApplicationType", + "summary": "Provisions or registers a Service Fabric application type with the cluster using the '.sfpkg' package in the external store or using the application package in the image store.", + "description": "Provisions a Service Fabric application type with the cluster. The provision is required before any new applications can be instantiated.\nThe provision operation can be performed either on the application package specified by the relativePathInImageStore, or by using the URI of the external '.sfpkg'.", + "tags": [ + "ApplicationType" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ProvisionApplicationTypeDescriptionBaseRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful provision will return 200 status code." + }, + "202": { + "description": "A 202 status code indicates the operation was accepted and the provision operation has been initiated." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}/$/Unprovision": { + "post": { + "operationId": "UnprovisionApplicationType", + "summary": "Removes or unregisters a Service Fabric application type from the cluster.", + "description": "This operation can only be performed if all application instances of the application type have been deleted. Once the application type is unregistered, no new application instances can be created for this particular application type.", + "tags": [ + "ApplicationType" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/UnprovisionApplicationTypeRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful provision will return 200 status code." + }, + "202": { + "description": "A 202 status code indicates the operation was accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}/$/GetServiceTypes": { + "get": { + "summary": "Gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster.", + "description": "Gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned.", + "operationId": "GetServiceTypeInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ServiceType" + ], + "x-ms-examples": { + "Get information about all nodes.": { + "$ref": "./examples/GetServiceTypeInfoList-1.json" + } + }, + "responses": { + "200": { + "description": "List of service types that are supported by a provisioned application type.", + "schema": { + "$ref": "#/definitions/ServiceTypeInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}/$/GetServiceTypes/{serviceTypeName}": { + "get": { + "summary": "Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster.", + "description": "Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned. A 204 response is returned if the specified service type is not found in the cluster.", + "operationId": "GetServiceTypeInfoByName", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ServiceType" + ], + "x-ms-examples": { + "Get information about all nodes.": { + "$ref": "./examples/GetServiceTypeInfoByName-1.json" + } + }, + "responses": { + "200": { + "description": "A specific service type which supported by a provisioned application type.", + "schema": { + "$ref": "#/definitions/ServiceTypeInfo" + } + }, + "204": { + "description": "A 204 response is returned if the specified service type is not found in the cluster." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}/$/GetServiceManifest": { + "get": { + "summary": "Gets the manifest describing a service type.", + "description": "Gets the manifest describing a service type. The response contains the service manifest XML as a string.", + "operationId": "GetServiceManifest", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ServiceType" + ], + "responses": { + "200": { + "description": "Information about the service type.", + "schema": { + "$ref": "#/definitions/ServiceTypeManifest" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes": { + "get": { + "summary": "Gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster.", + "description": "Gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package.", + "operationId": "GetDeployedServiceTypeInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/DeployedServiceType_ServiceManifestNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ServiceType" + ], + "responses": { + "200": { + "description": "List of information about service types of an application deployed on a node.", + "schema": { + "$ref": "#/definitions/DeployedServiceTypeInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes/{serviceTypeName}": { + "get": { + "summary": "Gets the information about a specified service type of the application deployed on a node in a Service Fabric cluster.", + "description": "Gets the list containing the information about a specific service type from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package. Each entry represents one activation of a service type, differentiated by the activation ID.", + "operationId": "GetDeployedServiceTypeInfoByName", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/DeployedServiceType_ServiceManifestNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ServiceType" + ], + "responses": { + "200": { + "description": "Information about service types of an application deployed on a node.", + "schema": { + "$ref": "#/definitions/DeployedServiceTypeInfoList" + } + }, + "204": { + "description": "An empty response is returned if the specified service type of the application is not deployed on the node." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/$/Create": { + "post": { + "summary": "Creates a Service Fabric application.", + "description": "Creates a Service Fabric application using the specified description.", + "operationId": "CreateApplication", + "x-ms-examples": { + "Create application.": { + "$ref": "./examples/CreateApplication-1.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "201": { + "description": "A successful response means that the application creation has been started. Use GetApplication operation to get the status of the application. Once GetApplicationInfo successfully returns application information, the application is created. If the application has default services those may be in the process of being created. Use GetServiceInfo operation to get the status of the service within the application." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/Delete": { + "post": { + "summary": "Deletes an existing Service Fabric application.", + "description": "An application must be created before it can be deleted. Deleting an application will delete all services that are part of that application. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if a service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the application and all of its services.", + "operationId": "DeleteApplication", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ForceRemoveOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetLoadInformation": { + "get": { + "summary": "Gets load information about a Service Fabric application.", + "description": "Returns the load information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, minimum nodes, maximum nodes, the number of nodes the application is occupying currently, and application load metric information about the application.", + "operationId": "GetApplicationLoadInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "Information about the application load.", + "schema": { + "$ref": "#/definitions/ApplicationLoadInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified applicationId is not found in the cluster." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications": { + "get": { + "summary": "Gets the list of applications created in the Service Fabric cluster that match the specified filters.", + "description": "Gets the information about the applications that were created or in the process of being created in the Service Fabric cluster and match the specified filters. The response includes the name, type, status, parameters, and other details about the application. If the applications do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Filters ApplicationTypeName and ApplicationDefinitionKindFilter cannot be specified at the same time.", + "operationId": "GetApplicationInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationDefinitionKindFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetApplicationInfoList-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetApplicationInfoList-2.json" + } + }, + "responses": { + "200": { + "description": "List of applications created in the cluster.", + "schema": { + "$ref": "#/definitions/PagedApplicationInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}": { + "get": { + "summary": "Gets information about a Service Fabric application.", + "description": "Returns the information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, type, status, parameters, and other details about the application.", + "operationId": "GetApplicationInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ExcludeApplicationParametersOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "x-ms-examples": { + "Get a specific application by application id": { + "$ref": "./examples/GetApplicationInfoByName-1.json" + } + }, + "responses": { + "200": { + "description": "Information about the application.", + "schema": { + "$ref": "#/definitions/ApplicationInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified applicationId is not found in the cluster." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetHealth": { + "get": { + "summary": "Gets the health of the service fabric application.", + "description": "Returns the heath state of the service fabric application. The response reports either Ok, Error or Warning health state. If the entity is not found in the health store, it will return Error.", + "operationId": "GetApplicationHealth", + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/DeployedApplicationsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ServicesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested application health information.", + "schema": { + "$ref": "#/definitions/ApplicationHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetApplicationHealthUsingPolicy", + "summary": "Gets the health of a Service Fabric application using the specified policy.", + "description": "Gets the health of a Service Fabric application. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health.", + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/DeployedApplicationsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ServicesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested node health information.", + "schema": { + "$ref": "#/definitions/ApplicationHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/ReportHealth": { + "post": { + "operationId": "ReportApplicationHealth", + "summary": "Sends a health report on the Service Fabric application.", + "description": "Reports health state of the specified Service Fabric application. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Application, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get application health and check that the report appears in the HealthEvents section.", + "tags": [ + "Application" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/Upgrade": { + "post": { + "summary": "Starts upgrading an application in the Service Fabric cluster.", + "description": "Validates the supplied application upgrade parameters and starts upgrading the application if the parameters are valid.", + "operationId": "StartApplicationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful response means that the application upgrade has started. Use GetApplicationUpgrade operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetUpgradeProgress": { + "get": { + "summary": "Gets details for the latest upgrade performed on this application.", + "description": "Returns information about the state of the latest application upgrade along with details to aid debugging application health issues.", + "operationId": "GetApplicationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "The application upgrade details.", + "schema": { + "$ref": "#/definitions/ApplicationUpgradeProgressInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/UpdateUpgrade": { + "post": { + "summary": "Updates an ongoing application upgrade in the Service Fabric cluster.", + "description": "Updates the parameters of an ongoing application upgrade from the ones specified at the time of starting the application upgrade. This may be required to mitigate stuck application upgrades due to incorrect parameters or issues in the application to make progress.", + "operationId": "UpdateApplicationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationUpgradeUpdateDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful response means that the application upgrade has updated with the specified parameters. Use GetApplicationUpgrade operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/MoveToNextUpgradeDomain": { + "post": { + "summary": "Resumes upgrading an application in the Service Fabric cluster.", + "description": "Resumes an unmonitored manual Service Fabric application upgrade. Service Fabric upgrades one upgrade domain at a time. For unmonitored manual upgrades, after Service Fabric finishes an upgrade domain, it waits for you to call this API before proceeding to the next upgrade domain.", + "operationId": "ResumeApplicationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ResumeApplicationUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful response means that the application upgrade has been resumed in the specified upgrade domain. Use GetApplicationUpgrade operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/RollbackUpgrade": { + "post": { + "summary": "Starts rolling back the currently on-going upgrade of an application in the Service Fabric cluster.", + "description": "Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.", + "operationId": "RollbackApplicationUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful response means that the application has started to roll back. Use GetApplicationUpgrade operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications": { + "get": { + "operationId": "GetDeployedApplicationInfoList", + "summary": "Gets the list of applications deployed on a Service Fabric node.", + "description": "Gets the list of applications deployed on a Service Fabric node. The results do not include information about deployed system applications unless explicitly queried for by ID. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.", + "tags": [ + "Application" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/IncludeHealthStateOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + } + ], + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetDeployedApplicationInfoList-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetDeployedApplicationInfoList-2.json" + }, + "Include health state in the result": { + "$ref": "./examples/GetDeployedApplicationInfoList-3.json" + } + }, + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed application information.", + "schema": { + "$ref": "#/definitions/PagedDeployedApplicationInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}": { + "get": { + "operationId": "GetDeployedApplicationInfo", + "summary": "Gets the information about an application deployed on a Service Fabric node.", + "description": "This query returns system application information if the application ID provided is for system application. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.", + "tags": [ + "Application" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-1_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/IncludeHealthStateOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get a specific deployed application by application ID and include the health state in the result": { + "$ref": "./examples/GetDeployedApplicationInfoByName-1.json" + } + }, + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the information about the deployed application.", + "schema": { + "$ref": "#/definitions/DeployedApplicationInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified application is not deployed on the node." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetHealth": { + "get": { + "operationId": "GetDeployedApplicationHealth", + "summary": "Gets the information about health of an application deployed on a Service Fabric node.", + "description": "Gets the information about health of an application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state.", + "tags": [ + "Application" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/DeployedServicePackagesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the deployed application.", + "schema": { + "$ref": "#/definitions/DeployedApplicationHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetDeployedApplicationHealthUsingPolicy", + "summary": "Gets the information about health of an application deployed on a Service Fabric node. using the specified policy.", + "description": "Gets the information about health of an application deployed on a Service Fabric node using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed application.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/DeployedServicePackagesHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Application" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the deployed application.", + "schema": { + "$ref": "#/definitions/DeployedApplicationHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/ReportHealth": { + "post": { + "operationId": "ReportDeployedApplicationHealth", + "summary": "Sends a health report on the Service Fabric application deployed on a Service Fabric node.", + "description": "Reports health state of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get deployed application health and check that the report appears in the HealthEvents section.", + "tags": [ + "Application" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ApplicationTypes/{applicationTypeName}/$/GetApplicationManifest": { + "get": { + "summary": "Gets the manifest describing an application type.", + "description": "The response contains the application manifest XML as a string.", + "operationId": "GetApplicationManifest", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationTypeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationTypeVersionRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ApplicationType" + ], + "responses": { + "200": { + "description": "Information about the node.", + "schema": { + "$ref": "#/definitions/ApplicationTypeManifest" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetServices": { + "get": { + "summary": "Gets the information about all services belonging to the application specified by the application ID.", + "description": "Returns the information about all services belonging to the application specified by the application ID.", + "operationId": "GetServiceInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceTypeNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "List of services in the cluster for the specified application.", + "schema": { + "$ref": "#/definitions/PagedServiceInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetServices/{serviceId}": { + "get": { + "summary": "Gets the information about the specific service belonging to the Service Fabric application.", + "description": "Returns the information about the specified service belonging to the specified Service Fabric application.", + "operationId": "GetServiceInfo", + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "Information about the specified service.", + "schema": { + "$ref": "#/definitions/ServiceInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified service is not part of the specified application." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetApplicationName": { + "get": { + "summary": "Gets the name of the Service Fabric application for a service.", + "description": "Gets the name of the application for the specified service. A 404 FABRIC_E_SERVICE_DOES_NOT_EXIST error is returned if a service with the provided service ID does not exist.", + "operationId": "GetApplicationNameInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "Information about the name of the application for the specified service.", + "schema": { + "$ref": "#/definitions/ApplicationNameInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetServices/$/Create": { + "post": { + "operationId": "CreateService", + "summary": "Creates the specified Service Fabric service.", + "description": "This api allows creating a new Service Fabric stateless or stateful service under a specified Service Fabric application. The description for creating the service includes partitioning information and optional properties for placement and load balancing. Some of the properties can later be modified using `UpdateService` API.", + "x-ms-examples": { + "Basic stateless service": { + "$ref": "./examples/CreateService-1.json" + }, + "Basic stateful service": { + "$ref": "./examples/CreateService-2.json" + }, + "Stateless service with dns name and auto scaling": { + "$ref": "./examples/CreateService-3.json" + }, + "Stateful service with named partitions and auto scaling": { + "$ref": "./examples/CreateService-4.json" + } + }, + "tags": [ + "Service" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A successful operation will return 202 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetServices/$/CreateFromTemplate": { + "post": { + "summary": "Creates a Service Fabric service from the service template.", + "description": "Creates a Service Fabric service from the service template defined in the application manifest. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type.", + "operationId": "CreateServiceFromTemplate", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/CreateServiceFromTemplateRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "202": { + "description": "A successful operation will return 202 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/Delete": { + "post": { + "summary": "Deletes an existing Service Fabric service.", + "description": "A service must be created before it can be deleted. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if the service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the service.", + "operationId": "DeleteService", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ForceRemoveOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/Update": { + "post": { + "operationId": "UpdateService", + "summary": "Updates a Service Fabric service using the specified update description.", + "description": "This API allows updating properties of a running Service Fabric service. The set of properties that can be updated are a subset of the properties that were specified at the time of creating the service. The current set of properties can be obtained using `GetServiceDescription` API. Note that updating the properties of a running service is different than upgrading your application using `StartApplicationUpgrade` API. The upgrade is a long running background operation that involves moving the application from one version to another, one upgrade domain at a time, whereas update applies the new properties immediately to the service.", + "x-ms-examples": { + "Stateless service": { + "$ref": "./examples/UpdateService-1.json" + }, + "Stateful service": { + "$ref": "./examples/UpdateService-2.json" + } + }, + "tags": [ + "Service" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceUpdateDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 202 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetDescription": { + "get": { + "summary": "Gets the description of an existing Service Fabric service.", + "description": "Gets the description of an existing Service Fabric service. A service must be created before its description can be obtained.", + "operationId": "GetServiceDescription", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.", + "schema": { + "$ref": "#/definitions/ServiceDescription" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetHealth": { + "get": { + "summary": "Gets the health of the specified Service Fabric service.", + "description": "Gets the health information of the specified service.\nUse EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse PartitionsHealthStateFilter to filter the collection of partitions returned.\nIf you specify a service that does not exist in the health store, this request returns an error.", + "operationId": "GetServiceHealth", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/PartitionsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the specified service.", + "schema": { + "$ref": "#/definitions/ServiceHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "summary": "Gets the health of the specified Service Fabric service, by using the specified health policy.", + "description": "Gets the health information of the specified service.\nIf the application health policy is specified, the health evaluation uses it to get the aggregated health state.\nIf the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest.\nUse EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse PartitionsHealthStateFilter to filter the collection of partitions returned.\nIf you specify a service that does not exist in the health store, this request returns an error.", + "operationId": "GetServiceHealthUsingPolicy", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/PartitionsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the specified service.", + "schema": { + "$ref": "#/definitions/ServiceHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/ReportHealth": { + "post": { + "operationId": "ReportServiceHealth", + "summary": "Sends a health report on the Service Fabric service.", + "description": "Reports health state of the specified Service Fabric service. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetServiceHealth and check that the report appears in the HealthEvents section.", + "tags": [ + "Service" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/ResolvePartition": { + "get": { + "operationId": "ResolveService", + "summary": "Resolve a Service Fabric partition.", + "description": "Resolve a Service Fabric service partition to get the endpoints of the service replicas.", + "tags": [ + "Service" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionKeyTypeOptionalQueryParam" + }, + { + "$ref": "#/parameters/PartitionKeyValueOptionalQueryParam" + }, + { + "$ref": "#/parameters/PreviousRspVersionOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.", + "schema": { + "$ref": "#/definitions/ResolvedServicePartition" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetUnplacedReplicaInformation": { + "get": { + "summary": "Gets the information about unplaced replica of the service.", + "description": "Returns the information about the unplaced replicas of the service.\nIf PartitionId is specified, then result will contain information only about unplaced replicas for that partition.\nIf PartitionId is not specified, then result will contain information about unplaced replicas for all partitions of that service.\nIf OnlyQueryPrimaries is set to true, then result will contain information only about primary replicas, and will ignore unplaced secondary replicas.", + "operationId": "GetUnplacedReplicaInformation", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdOptionalQueryParam" + }, + { + "$ref": "#/parameters/OnlyQueryPrimariesOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service" + ], + "responses": { + "200": { + "description": "Information about the specified service.", + "schema": { + "$ref": "#/definitions/UnplacedReplicaInformation" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetPartitions": { + "get": { + "summary": "Gets the list of partitions of a Service Fabric service.", + "description": "The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.", + "operationId": "GetPartitionInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "List of partitions of a Service Fabric service.", + "schema": { + "$ref": "#/definitions/PagedServicePartitionInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}": { + "get": { + "summary": "Gets the information about a Service Fabric partition.", + "description": "Gets the information about the specified partition. The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.", + "operationId": "GetPartitionInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "Information about the specified partition.", + "schema": { + "$ref": "#/definitions/ServicePartitionInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified partitionId is not found in the cluster." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetServiceName": { + "get": { + "summary": "Gets the name of the Service Fabric service for a partition.", + "description": "Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster.", + "operationId": "GetServiceNameInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "Information about the name of the service for the specified partition.", + "schema": { + "$ref": "#/definitions/ServiceNameInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetHealth": { + "get": { + "summary": "Gets the health of the specified Service Fabric partition.", + "description": "Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state.\nUse ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition.\nIf you specify a partition that does not exist in the health store, this request returns an error.", + "operationId": "GetPartitionHealth", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ReplicasHealthStateFilerOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information about the specified partition.", + "schema": { + "$ref": "#/definitions/PartitionHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "summary": "Gets the health of the specified Service Fabric partition, by using the specified health policy.", + "description": "Gets the health information of the specified partition.\nIf the application health policy is specified, the health evaluation uses it to get the aggregated health state.\nIf the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest.\nUse EventsHealthStateFilter to filter the collection of health events reported on the partition based on the health state.\nUse ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. Use ApplicationHealthPolicy in the POST body to override the health policies used to evaluate the health.\nIf you specify a partition that does not exist in the health store, this request returns an error.", + "operationId": "GetPartitionHealthUsingPolicy", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ReplicasHealthStateFilerOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/ExcludeHealthStatisticsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information about the specified partition.", + "schema": { + "$ref": "#/definitions/PartitionHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/ReportHealth": { + "post": { + "operationId": "ReportPartitionHealth", + "summary": "Sends a health report on the Service Fabric partition.", + "description": "Reports health state of the specified Service Fabric partition. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Partition, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetPartitionHealth and check that the report appears in the HealthEvents section.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetLoadInformation": { + "get": { + "summary": "Gets the load information of the specified Service Fabric partition.", + "description": "Returns information about the load of a specified partition.\nThe response includes a list of load reports for a Service Fabric partition.\nEach report includes the load metric name, value, and last reported time in UTC.", + "operationId": "GetPartitionLoadInformation", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Partition" + ], + "responses": { + "200": { + "description": "Information about the specified partition's last reported load metrics.", + "schema": { + "$ref": "#/definitions/PartitionLoadInformation" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/ResetLoad": { + "post": { + "operationId": "ResetPartitionLoad", + "summary": "Resets the current load of a Service Fabric partition.", + "description": "Resets the current load of a Service Fabric partition to the default load for the service.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/Recover": { + "post": { + "operationId": "RecoverPartition", + "summary": "Indicates to the Service Fabric cluster that it should attempt to recover a specific partition that is currently stuck in quorum loss.", + "description": "This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/$/{serviceId}/$/GetPartitions/$/Recover": { + "post": { + "operationId": "RecoverServicePartitions", + "summary": "Indicates to the Service Fabric cluster that it should attempt to recover the specified service that is currently stuck in quorum loss.", + "description": "Indicates to the Service Fabric cluster that it should attempt to recover the specified service that is currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/RecoverSystemPartitions": { + "post": { + "operationId": "RecoverSystemPartitions", + "summary": "Indicates to the Service Fabric cluster that it should attempt to recover the system services that are currently stuck in quorum loss.", + "description": "Indicates to the Service Fabric cluster that it should attempt to recover the system services that are currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/RecoverAllPartitions": { + "post": { + "operationId": "RecoverAllPartitions", + "summary": "Indicates to the Service Fabric cluster that it should attempt to recover any services (including system services) which are currently stuck in quorum loss.", + "description": "This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/MovePrimaryReplica": { + "post": { + "operationId": "MovePrimaryReplica", + "summary": "Moves the primary replica of a partition of a stateful service.", + "description": "This command moves the primary replica of a partition of a stateful service, respecting all constraints.\nIf NodeName parameter is specified, primary will be moved to the specified node (if constraints allow it).\nIf NodeName parameter is not specified, primary replica will be moved to a random node in the cluster.\nIf IgnoreConstraints parameter is specified and set to true, then primary will be moved regardless of the constraints.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/NodeNameOptionalParam" + }, + { + "$ref": "#/parameters/IgnoreConstraintsOptionalParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/MoveSecondaryReplica": { + "post": { + "operationId": "MoveSecondaryReplica", + "summary": "Moves the secondary replica of a partition of a stateful service.", + "description": "This command moves the secondary replica of a partition of a stateful service, respecting all constraints.\nCurrentNodeName parameter must be specified to identify the replica that is moved.\nSource node name must be specified, but new node name can be omitted, and in that case replica is moved to a random node.\nIf IgnoreConstraints parameter is specified and set to true, then secondary will be moved regardless of the constraints.", + "tags": [ + "Partition" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/CurrentNodeNameRequiredParam" + }, + { + "$ref": "#/parameters/NewNodeNameOptionalParam" + }, + { + "$ref": "#/parameters/IgnoreConstraintsOptionalParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation request will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/CreateRepairTask": { + "post": { + "operationId": "CreateRepairTask", + "summary": "Creates a new repair task.", + "description": "For clusters that have the Repair Manager Service configured,\nthis API provides a way to create repair tasks that run automatically or manually.\nFor repair tasks that run automatically, an appropriate repair executor\nmust be running for each repair action to run automatically.\nThese are currently only available in specially-configured Azure Cloud Services.\n\nTo create a manual repair task, provide the set of impacted node names and the\nexpected impact. When the state of the created repair task changes to approved,\nyou can safely perform repair actions on those nodes.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides information about the created repair task.", + "schema": { + "$ref": "#/definitions/RepairTaskUpdateInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/CancelRepairTask": { + "post": { + "operationId": "CancelRepairTask", + "summary": "Requests the cancellation of the given repair task.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskCancelDescriptionRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.\nSuccess indicates that the cancellation request was recorded, but does not guarantee that the repair task will be cancelled.\nClients may use the State property of the repair task to determine the current state of the repair task.", + "schema": { + "$ref": "#/definitions/RepairTaskUpdateInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/DeleteRepairTask": { + "post": { + "operationId": "DeleteRepairTask", + "summary": "Deletes a completed repair task.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskDeleteDescriptionRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/GetRepairTaskList": { + "get": { + "operationId": "GetRepairTaskList", + "summary": "Gets a list of repair tasks matching the given filters.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskIdFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskExecutorFilterOptionalQueryParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides a list of repair tasks matching all of the given filters.", + "schema": { + "$ref": "#/definitions/RepairTaskList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/ForceApproveRepairTask": { + "post": { + "operationId": "ForceApproveRepairTask", + "summary": "Forces the approval of the given repair task.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskApproveDescriptionRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.", + "schema": { + "$ref": "#/definitions/RepairTaskUpdateInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/UpdateRepairTaskHealthPolicy": { + "post": { + "operationId": "UpdateRepairTaskHealthPolicy", + "summary": "Updates the health policy of the given repair task.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskUpdateHealthPolicyDescriptionRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.", + "schema": { + "$ref": "#/definitions/RepairTaskUpdateInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/UpdateRepairExecutionState": { + "post": { + "operationId": "UpdateRepairExecutionState", + "summary": "Updates the execution state of a repair task.", + "description": "This API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/RepairTaskRequiredBodyParam" + } + ], + "tags": [ + "RepairManagement" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.\nThe response body provides information about the updated repair task.", + "schema": { + "$ref": "#/definitions/RepairTaskUpdateInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetReplicas": { + "get": { + "summary": "Gets the information about replicas of a Service Fabric service partition.", + "description": "The GetReplicas endpoint returns information about the replicas of the specified partition. The response includes the ID, role, status, health, node name, uptime, and other details about the replica.", + "operationId": "GetReplicaInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Replica" + ], + "responses": { + "200": { + "description": "Information about the replicas of the specified partition.", + "schema": { + "$ref": "#/definitions/PagedReplicaInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetReplicas/{replicaId}": { + "get": { + "summary": "Gets the information about a replica of a Service Fabric partition.", + "description": "The response includes the ID, role, status, health, node name, uptime, and other details about the replica.", + "operationId": "GetReplicaInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Replica" + ], + "responses": { + "200": { + "description": "Information about the specified replicas of the specified partition of a Service Fabric service.", + "schema": { + "$ref": "#/definitions/ReplicaInfo" + } + }, + "204": { + "description": "An empty response is returned if the specified replicaId is not a replica of the specified partition." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetHealth": { + "get": { + "operationId": "GetReplicaHealth", + "summary": "Gets the health of a Service Fabric stateful service replica or stateless service instance.", + "description": "Gets the health of a Service Fabric replica.\nUse EventsHealthStateFilter to filter the collection of health events reported on the replica based on the health state.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Replica" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested replica health.", + "schema": { + "$ref": "#/definitions/ReplicaHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetReplicaHealthUsingPolicy", + "summary": "Gets the health of a Service Fabric stateful service replica or stateless service instance using the specified policy.", + "description": "Gets the health of a Service Fabric stateful service replica or stateless service instance.\nUse EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state.\nUse ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the replica.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Replica" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested replica health information.", + "schema": { + "$ref": "#/definitions/ReplicaHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/ReportHealth": { + "post": { + "operationId": "ReportReplicaHealth", + "summary": "Sends a health report on the Service Fabric replica.", + "description": "Reports health state of the specified Service Fabric replica. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Replica, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, run GetReplicaHealth and check that the report appears in the HealthEvents section.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaHealthReportServiceKindRequiredQueryParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetReplicas": { + "get": { + "operationId": "GetDeployedServiceReplicaInfoList", + "summary": "Gets the list of replicas deployed on a Service Fabric node.", + "description": "Gets the list containing the information about replicas deployed on a Service Fabric node. The information include partition ID, replica ID, status of the replica, name of the service, name of the service type, and other information. Use PartitionId or ServiceManifestName query parameters to return information about the deployed replicas matching the specified values for those parameters.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdOptionalQueryParam" + }, + { + "$ref": "#/parameters/ServiceManifestNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed service replica information.", + "schema": { + "$ref": "#/definitions/DeployedServiceReplicaInfoList" + } + }, + "204": { + "description": "An empty response is returned if the specified applicationId is not found on the specified node. An empty response is also returned if there are no replicas matching the specified filter values for PartitionId or ServiceManifestName query parameters." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetDetail": { + "get": { + "operationId": "GetDeployedServiceReplicaDetailInfo", + "summary": "Gets the details of replica deployed on a Service Fabric node.", + "description": "Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed service replica information.", + "schema": { + "$ref": "#/definitions/DeployedServiceReplicaDetailInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas": { + "get": { + "operationId": "GetDeployedServiceReplicaDetailInfoByPartitionId", + "summary": "Gets the details of replica deployed on a Service Fabric node.", + "description": "Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed service replica information.", + "schema": { + "$ref": "#/definitions/DeployedServiceReplicaDetailInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Restart": { + "post": { + "operationId": "RestartReplica", + "summary": "Restarts a service replica of a persisted service running on a node.", + "description": "Restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the replica on the node and it is in the process of restarting." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Delete": { + "post": { + "operationId": "RemoveReplica", + "summary": "Removes a service replica running on a node.", + "description": "This API simulates a Service Fabric replica failure by removing a replica from a Service Fabric cluster. The removal closes the replica, transitions the replica to the role None, and then removes all of the state information of the replica from the cluster. This API tests the replica state removal path, and simulates the report fault permanent path through client APIs. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to data loss for stateful services. In addition, the forceRemove flag impacts all other replicas hosted in the same process.", + "tags": [ + "Replica" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ForceRemoveReplicaOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code. A successful operation means that the restart command was received by the replica on the node and it is in the process of restarting." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages": { + "get": { + "operationId": "GetDeployedServicePackageInfoList", + "summary": "Gets the list of service packages deployed on a Service Fabric node.", + "description": "Returns the information about the service packages deployed on a Service Fabric node for the given application.", + "tags": [ + "Service Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed service packages information.", + "schema": { + "$ref": "#/definitions/DeployedServicePackageInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}": { + "get": { + "operationId": "GetDeployedServicePackageInfoListByName", + "summary": "Gets the list of service packages deployed on a Service Fabric node matching exactly the specified name.", + "description": "Returns the information about the service packages deployed on a Service Fabric node for the given application. These results are of service packages whose name match exactly the service package name specified as the parameter.", + "tags": [ + "Service Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServicePackageNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed service packages information.", + "schema": { + "$ref": "#/definitions/DeployedServicePackageInfoList" + } + }, + "204": { + "description": "An empty response is returned if the specified service package from the application is not deployed on the node." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/GetHealth": { + "get": { + "operationId": "GetDeployedServicePackageHealth", + "summary": "Gets the information about health of a service package for a specific application deployed for a Service Fabric node and application.", + "description": "Gets the information about health of a service package for a specific application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state.", + "tags": [ + "Service Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServicePackageNameRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the deployed service package for a specific node and application.", + "schema": { + "$ref": "#/definitions/DeployedServicePackageHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "GetDeployedServicePackageHealthUsingPolicy", + "summary": "Gets the information about health of service package for a specific application deployed on a Service Fabric node using the specified policy.", + "description": "Gets the information about health of a service package for a specific application deployed on a Service Fabric node. using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed service package.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServicePackageNameRequiredPathParam" + }, + { + "$ref": "#/parameters/EventsHealthStateFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApplicationHealthPolicyOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Service Package" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the health information of the deployed service package for a specific node and application.", + "schema": { + "$ref": "#/definitions/DeployedServicePackageHealth" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/ReportHealth": { + "post": { + "operationId": "ReportDeployedServicePackageHealth", + "summary": "Sends a health report on the Service Fabric deployed service package.", + "description": "Reports health state of the service package of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported.\nThe report is sent to a Service Fabric gateway Service, which forwards to the health store.\nThe report may be accepted by the gateway, but rejected by the health store after extra validation.\nFor example, the health store may reject the report because of an invalid parameter, like a stale sequence number.\nTo see whether the report was applied in the health store, get deployed service package health and check that the report appears in the HealthEvents section.", + "tags": [ + "Service Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServicePackageNameRequiredPathParam" + }, + { + "$ref": "#/parameters/HealthInformationRequiredBodyParam" + }, + { + "$ref": "#/parameters/ImmediateOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/DeployServicePackage": { + "post": { + "operationId": "DeployServicePackageToNode", + "summary": "Downloads all of the code packages associated with specified service manifest on the specified node.", + "description": "This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.", + "tags": [ + "Service Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/DeployServicePackageToNodeRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages": { + "get": { + "operationId": "GetDeployedCodePackageInfoList", + "summary": "Gets the list of code packages deployed on a Service Fabric node.", + "description": "Gets the list of code packages deployed on a Service Fabric node for the given application.", + "tags": [ + "Code Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceManifestNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/CodePackageNameOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the list of deployed code packages information.", + "schema": { + "$ref": "#/definitions/DeployedCodePackageInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/Restart": { + "post": { + "operationId": "RestartDeployedCodePackage", + "summary": "Restarts a code package deployed on a Service Fabric node in a cluster.", + "description": "Restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process.", + "tags": [ + "Code Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/RestartDeployedCodePackageRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerLogs": { + "get": { + "operationId": "GetContainerLogsDeployedOnNode", + "summary": "Gets the container logs for container deployed on a Service Fabric node.", + "description": "Gets the container logs for container deployed on a Service Fabric node for the given code package.", + "tags": [ + "Code Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/CodePackageNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/TailOptionalQueryParam" + }, + { + "$ref": "#/parameters/PreviousOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get container logs for given code package": { + "$ref": "./examples/GetContainerLogsDeployedOnNode-1.json" + }, + "Get last 10 lines of container logs": { + "$ref": "./examples/GetContainerLogsDeployedOnNode-2.json" + }, + "Get container logs of previous dead container for given code package": { + "$ref": "./examples/GetContainerLogsDeployedOnNode-3.json" + } + }, + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the container logs for container deployed on a Service Fabric node for the given code package.", + "schema": { + "$ref": "#/definitions/ContainerLogs" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerApi": { + "post": { + "operationId": "InvokeContainerApi", + "summary": "Invoke container API on a container deployed on a Service Fabric node.", + "description": "Invoke container API on a container deployed on a Service Fabric node for the given code package.", + "x-ms-examples": { + "Get container logs": { + "$ref": "./examples/InvokeContainerApi.json" + }, + "Update container": { + "$ref": "./examples/InvokeContainerApi_Post.json" + } + }, + "tags": [ + "Code Package" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceManifestNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/CodePackageNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/CodePackageInstanceIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContainerApiRequiredBodyParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and container API response for a container deployed on a Service Fabric node for the given code package.", + "schema": { + "$ref": "#/definitions/ContainerApiResponse" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/$/Create": { + "put": { + "summary": "Creates a Service Fabric compose deployment.", + "description": "Compose is a file format that describes multi-container applications. This API allows deploying container based applications defined in compose format in a Service Fabric cluster. Once the deployment is created, its status can be tracked via the `GetComposeDeploymentStatus` API.", + "operationId": "CreateComposeDeployment", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/CreateComposeDeploymentRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "202": { + "description": "A successful operation will return 202 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/{deploymentName}": { + "get": { + "summary": "Gets information about a Service Fabric compose deployment.", + "description": "Returns the status of the compose deployment that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, status, and other details about the deployment.", + "operationId": "GetComposeDeploymentStatus", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DeploymentNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "200": { + "description": "Information about the compose deployment.", + "schema": { + "$ref": "#/definitions/ComposeDeploymentStatusInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments": { + "get": { + "summary": "Gets the list of compose deployments created in the Service Fabric cluster.", + "description": "Gets the status about the compose deployments that were created or in the process of being created in the Service Fabric cluster. The response includes the name, status, and other details about the compose deployments. If the list of deployments do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page.", + "operationId": "GetComposeDeploymentStatusList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "200": { + "description": "List of status of compose deployments in the cluster.", + "schema": { + "$ref": "#/definitions/PagedComposeDeploymentStatusInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/{deploymentName}/$/GetUpgradeProgress": { + "get": { + "summary": "Gets details for the latest upgrade performed on this Service Fabric compose deployment.", + "description": "Returns the information about the state of the compose deployment upgrade along with details to aid debugging application health issues.", + "operationId": "GetComposeDeploymentUpgradeProgress", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DeploymentNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "200": { + "description": "Details about the compose deployment upgrade.", + "schema": { + "$ref": "#/definitions/ComposeDeploymentUpgradeProgressInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/{deploymentName}/$/Delete": { + "post": { + "summary": "Deletes an existing Service Fabric compose deployment from cluster.", + "description": "Deletes an existing Service Fabric compose deployment.", + "operationId": "RemoveComposeDeployment", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DeploymentNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "202": { + "description": "A successful operation will return 202 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/{deploymentName}/$/Upgrade": { + "post": { + "summary": "Starts upgrading a compose deployment in the Service Fabric cluster.", + "description": "Validates the supplied upgrade parameters and starts upgrading the deployment if the parameters are valid.", + "operationId": "StartComposeDeploymentUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DeploymentNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ComposeDeploymentUpgradeDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "202": { + "description": "A successful response means that the upgrade has started. Use GetComposeDeploymentUpgrade operation to get the status of the upgrade." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ComposeDeployments/{deploymentName}/$/RollbackUpgrade": { + "post": { + "summary": "Starts rolling back a compose deployment upgrade in the Service Fabric cluster.", + "description": "Rollback a service fabric compose deployment upgrade.", + "operationId": "StartRollbackComposeDeploymentUpgrade", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DeploymentNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Compose Deployment" + ], + "responses": { + "200": { + "description": "A successful response means that the rollback has started. Use GetComposeDeploymentUpgrade operation to get the status of the rollback." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Tools/Chaos": { + "get": { + "operationId": "GetChaos", + "summary": "Get the status of Chaos.", + "description": "Get the status of Chaos indicating whether or not Chaos is running, the Chaos parameters used for running Chaos and the status of the Chaos Schedule.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Chaos" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the status of Chaos.", + "schema": { + "$ref": "#/definitions/Chaos" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Tools/Chaos/$/Start": { + "post": { + "operationId": "StartChaos", + "summary": "Starts Chaos in the cluster.", + "description": "If Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters.\nIf Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING.\nRefer to the article [Induce controlled Chaos in Service Fabric clusters](https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos) for more details.", + "tags": [ + "Chaos" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ChaosParametersRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Tools/Chaos/$/Stop": { + "post": { + "operationId": "StopChaos", + "summary": "Stops Chaos if it is running in the cluster and put the Chaos Schedule in a stopped state.", + "description": "Stops Chaos from executing new faults. In-flight faults will continue to execute until they are complete. The current Chaos Schedule is put into a stopped state.\nOnce a schedule is stopped, it will stay in the stopped state and not be used to Chaos Schedule new runs of Chaos. A new Chaos Schedule must be set in order to resume scheduling.", + "tags": [ + "Chaos" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Tools/Chaos/Events": { + "get": { + "operationId": "GetChaosEvents", + "summary": "Gets the next segment of the Chaos events based on the continuation token or the time range.", + "description": "To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range\nthrough StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call.\nWhen there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.", + "x-ms-examples": { + "Get Chaos events given a time range": { + "$ref": "./examples/GetChaosEvents.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcOptionalQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Chaos" + ], + "responses": { + "200": { + "description": "Next segment of Chaos events.", + "schema": { + "$ref": "#/definitions/ChaosEventsSegment" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Tools/Chaos/Schedule": { + "get": { + "operationId": "GetChaosSchedule", + "summary": "Get the Chaos Schedule defining when and how to run Chaos.", + "description": "Gets the version of the Chaos Schedule in use and the Chaos Schedule that defines when and how to run Chaos.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Chaos" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the schedule description including a Chaos Schedule used by Chaos and the version the Chaos Schedule is on.", + "schema": { + "$ref": "#/definitions/ChaosScheduleDescription" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "post": { + "operationId": "PostChaosSchedule", + "summary": "Set the schedule used by Chaos.", + "description": "Chaos will automatically schedule runs based on the Chaos Schedule.\nThe Chaos Schedule will be updated if the provided version matches the version on the server.\nWhen updating the Chaos Schedule, the version on the server is incremented by 1.\nThe version on the server will wrap back to 0 after reaching a large number.\nIf Chaos is running when this call is made, the call will fail.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/ChaosScheduleRequiredBodyParam" + } + ], + "tags": [ + "Chaos" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/{contentPath}": { + "put": { + "summary": "Uploads contents of the file to the image store.", + "description": "Uploads contents of the file to the image store. Use this API if the file is small enough to upload again if the connection fails. The file's data needs to be added to the request body. The contents will be uploaded to the specified path. Image store service uses a mark file to indicate the availability of the folder. The mark file is an empty file named \"_.dir\". The mark file is generated by the image store service when all files in a folder are uploaded. When using File-by-File approach to upload application package in REST, the image store service isn't aware of the file hierarchy of the application package; you need to create a mark file per folder and upload it last, to let the image store service know that the folder is complete.", + "operationId": "UploadFile", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "If the upload request succeeds, the server returns the HTTP 200 OK status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "summary": "Gets the image store content information.", + "description": "Returns the information about the image store content at the specified contentPath. The contentPath is relative to the root of the image store.", + "operationId": "GetImageStoreContent", + "x-ms-examples": { + "Get information about image store content under a given relative path": { + "$ref": "./examples/GetImageStoreContent.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested image store content information.", + "schema": { + "$ref": "#/definitions/ImageStoreContent" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "summary": "Deletes existing image store content.", + "description": "Deletes existing image store content being found within the given image store relative path. This command can be used to delete uploaded application packages once they are provisioned.", + "operationId": "DeleteImageStoreContent", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore": { + "get": { + "summary": "Gets the content information at the root of the image store.", + "description": "Returns the information about the image store content at the root of the image store.", + "operationId": "GetImageStoreRootContent", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested image store content information.", + "schema": { + "$ref": "#/definitions/ImageStoreContent" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/$/Copy": { + "post": { + "summary": "Copies image store content internally", + "description": "Copies the image store content from the source image store relative path to the destination image store relative path.", + "operationId": "CopyImageStoreContent", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreCopyDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/$/DeleteUploadSession": { + "delete": { + "summary": "Cancels an image store upload session.", + "description": "The DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.", + "operationId": "DeleteImageStoreUploadSession", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UploadSessionIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/$/CommitUploadSession": { + "post": { + "summary": "Commit an image store upload session.", + "description": "When all file chunks have been uploaded, the upload session needs to be committed explicitly to complete the upload. Image store preserves the upload session until the expiration time, which is 30 minutes after the last chunk received. ", + "operationId": "CommitImageStoreUploadSession", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UploadSessionIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "If the commit request succeeds, the server returns the HTTP 200 OK status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/$/GetUploadSession": { + "get": { + "summary": "Get the image store upload session by ID.", + "description": "Gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading. ", + "operationId": "GetImageStoreUploadSessionById", + "x-ms-examples": { + "Get information about image store upload session by a given ID": { + "$ref": "./examples/GetUploadSessionById.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/UploadSessionIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested image store upload session information.", + "schema": { + "$ref": "#/definitions/UploadSession" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/{contentPath}/$/GetUploadSession": { + "get": { + "summary": "Get the image store upload session by relative path.", + "description": "Gets the image store upload session associated with the given image store relative path. User can query the upload session at any time during uploading. ", + "operationId": "GetImageStoreUploadSessionByPath", + "x-ms-examples": { + "Get information about image store upload session by a given relative path": { + "$ref": "./examples/GetUploadSessionByPath.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested image store upload session information.", + "schema": { + "$ref": "#/definitions/UploadSession" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/{contentPath}/$/UploadChunk": { + "put": { + "summary": "Uploads a file chunk to the image store relative path.", + "description": "Uploads a file chunk to the image store with the specified upload session ID and image store relative path. This API allows user to resume the file upload operation. user doesn't have to restart the file upload from scratch whenever there is a network interruption. Use this option if the file size is large.\n\nTo perform a resumable file upload, user need to break the file into multiple chunks and upload these chunks to the image store one-by-one. Chunks don't have to be uploaded in order. If the file represented by the image store relative path already exists, it will be overwritten when the upload session commits.", + "operationId": "UploadFileChunk", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/UploadSessionIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/UploadFileChunkContentRangeHeaderParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return the HTTP 200 OK status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/$/FolderSize": { + "get": { + "summary": "Get the folder size at the root of the image store.", + "description": "Returns the total size of files at the root and children folders in image store.", + "operationId": "GetImageStoreRootFolderSize", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested folder size in image store.", + "schema": { + "$ref": "#/definitions/FolderSizeInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/ImageStore/{contentPath}/$/FolderSize": { + "get": { + "summary": "Get the size of a folder in image store", + "description": "Gets the total size of file under a image store folder, specified by contentPath. The contentPath is relative to the root of the image store.", + "operationId": "GetImageStoreFolderSize", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-5_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ImageStoreContentPathRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "ImageStore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the requested folder size in image store.", + "schema": { + "$ref": "#/definitions/FolderSizeInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/InvokeInfrastructureCommand": { + "post": { + "operationId": "InvokeInfrastructureCommand", + "summary": "Invokes an administrative command on the given Infrastructure Service instance.", + "description": "For clusters that have one or more instances of the Infrastructure Service configured,\nthis API provides a way to send infrastructure-specific commands to a particular\ninstance of the Infrastructure Service.\n\nAvailable commands and their corresponding response formats vary depending upon\nthe infrastructure on which the cluster is running.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/InfrastructureCommandRequiredQueryParam" + }, + { + "$ref": "#/parameters/InfrastructureServiceIdOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Infrastructure" + ], + "responses": { + "200": { + "description": "The response from the infrastructure service. The response format is a JSON stream.\nThe contents of the response depend on which command was issued.", + "schema": { + "$ref": "#/definitions/InfrastructureServiceResponse" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/$/InvokeInfrastructureQuery": { + "get": { + "operationId": "InvokeInfrastructureQuery", + "summary": "Invokes a read-only query on the given infrastructure service instance.", + "description": "For clusters that have one or more instances of the Infrastructure Service configured,\nthis API provides a way to send infrastructure-specific queries to a particular\ninstance of the Infrastructure Service.\n\nAvailable commands and their corresponding response formats vary depending upon\nthe infrastructure on which the cluster is running.\n\nThis API supports the Service Fabric platform; it is not meant to be used directly from your code.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/InfrastructureCommandRequiredQueryParam" + }, + { + "$ref": "#/parameters/InfrastructureServiceIdOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Infrastructure" + ], + "responses": { + "200": { + "description": "The response from the infrastructure service. The response format is a JSON stream.\nThe contents of the response depend on which command was issued.", + "schema": { + "$ref": "#/definitions/InfrastructureServiceResponse" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartDataLoss": { + "post": { + "operationId": "StartDataLoss", + "summary": "This API will induce data loss for the specified partition. It will trigger a call to the OnDataLossAsync API of the partition.", + "description": "This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition.\nActual data loss will depend on the specified DataLossMode.\n\n- PartialDataLoss - Only a quorum of replicas are removed and OnDataLoss is triggered for the partition but actual data loss depends on the presence of in-flight replication.\n- FullDataLoss - All replicas are removed hence all data is lost and OnDataLoss is triggered.\n\nThis API should only be called with a stateful service as the target.\n\nCalling this API with a system service as the target is not advised.\n\nNote: Once this API has been called, it cannot be reversed. Calling CancelOperation will only stop execution and clean up internal system state.\nIt will not restore data if the command has progressed far enough to cause data loss.\n\nCall the GetDataLossProgress API with the same OperationId to return information on the operation started with this API.", + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/DataLossModeRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation was accepted. Call the GetDataLossProgress API to get the progress." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetDataLossProgress": { + "get": { + "summary": "Gets the progress of a partition data loss operation started using the StartDataLoss API.", + "description": "Gets the progress of a data loss operation started with StartDataLoss, using the OperationId.", + "operationId": "GetDataLossProgress", + "x-ms-examples": { + "Gets information about a partition data loss operation. In this case the operation has a State of Completed": { + "$ref": "./examples/GetDataLossProgress.json" + }, + "Get information about a partition data loss operation. In this case the operation is a State of Running": { + "$ref": "./examples/GetDataLossProgress-Running.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Faults" + ], + "responses": { + "200": { + "description": "Information about the progress of the partition data loss operation.", + "schema": { + "$ref": "#/definitions/PartitionDataLossProgress" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartQuorumLoss": { + "post": { + "operationId": "StartQuorumLoss", + "summary": "Induces quorum loss for a given stateful service partition.", + "description": "This API is useful for a temporary quorum loss situation on your service.\n\nCall the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API.\n\nThis can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services.", + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/QuorumLossModeRequiredQueryParam" + }, + { + "$ref": "#/parameters/QuorumLossDurationRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation was accepted. Call the GetQuorumLossProgress API to get the progress." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetQuorumLossProgress": { + "get": { + "summary": "Gets the progress of a quorum loss operation on a partition started using the StartQuorumLoss API.", + "description": "Gets the progress of a quorum loss operation started with StartQuorumLoss, using the provided OperationId.", + "operationId": "GetQuorumLossProgress", + "x-ms-examples": { + "Gets information about a completed quorum loss operation": { + "$ref": "./examples/GetQuorumLossProgress.json" + }, + "Gets information about a running quorum operation operation": { + "$ref": "./examples/GetQuorumLossProgress-Running.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Faults" + ], + "responses": { + "200": { + "description": "Information about the progress of a partition quorum loss operation.", + "schema": { + "$ref": "#/definitions/PartitionQuorumLossProgress" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartRestart": { + "post": { + "operationId": "StartPartitionRestart", + "summary": "This API will restart some or all replicas or instances of the specified partition.", + "description": "This API is useful for testing failover.\n\nIf used to target a stateless service partition, RestartPartitionMode must be AllReplicasOrInstances.\n\nCall the GetPartitionRestartProgress API using the same OperationId to get the progress.", + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/RestartPartitionModeRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation was accepted. Call the GetPartitionRestartProgress API to get the progress." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetRestartProgress": { + "get": { + "summary": "Gets the progress of a PartitionRestart operation started using StartPartitionRestart.", + "description": "Gets the progress of a PartitionRestart started with StartPartitionRestart using the provided OperationId.", + "operationId": "GetPartitionRestartProgress", + "x-ms-examples": { + "Get information a completed PartitionRestart operation": { + "$ref": "./examples/GetPartitionRestartProgress.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Faults" + ], + "responses": { + "200": { + "description": "Information about the progress of a partition restart operation.", + "schema": { + "$ref": "#/definitions/PartitionRestartProgress" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Nodes/{nodeName}/$/StartTransition/": { + "post": { + "operationId": "StartNodeTransition", + "summary": "Starts or stops a cluster node.", + "description": "Starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in \"Start\" for the NodeTransitionType parameter.\nTo stop a node, pass in \"Stop\" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet.\nCall GetNodeTransitionProgress with the same OperationId to get the progress of the operation.", + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeTransitionTypeRequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeInstanceIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/StopDurationInSecondsRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation was accepted. Call the GetNodeTransitionProgress API to get the progress." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/Nodes/{nodeName}/$/GetTransitionProgress": { + "get": { + "summary": "Gets the progress of an operation started using StartNodeTransition.", + "description": "Gets the progress of an operation started with StartNodeTransition using the provided OperationId.", + "operationId": "GetNodeTransitionProgress", + "x-ms-examples": { + "Gets information about a completed NodeTransition operation": { + "$ref": "./examples/GetNodeTransitionProgress.json" + }, + "Gets information about a running NodeTransition operation": { + "$ref": "./examples/GetNodeTransitionProgress-Running.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Faults" + ], + "responses": { + "200": { + "description": "Information about the progress of a node transition operation.", + "schema": { + "$ref": "#/definitions/NodeTransitionProgress" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/": { + "get": { + "operationId": "GetFaultOperationList", + "summary": "Gets a list of user-induced fault operations filtered by provided input.", + "description": "Gets the list of user-induced fault operations filtered by provided input.", + "x-ms-examples": { + "Gets information on fault operations": { + "$ref": "./examples/GetFaultOperationList.json" + } + }, + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TypeFilterRequiredQueryParam" + }, + { + "$ref": "#/parameters/StateFilterRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code.", + "schema": { + "$ref": "#/definitions/OperationStatusList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Faults/$/Cancel": { + "post": { + "operationId": "CancelOperation", + "summary": "Cancels a user-induced fault operation.", + "description": "The following APIs start fault operations that may be cancelled by using CancelOperation: StartDataLoss, StartQuorumLoss, StartPartitionRestart, StartNodeTransition.\n\nIf force is false, then the specified user-induced operation will be gracefully stopped and cleaned up. If force is true, the command will be aborted, and some internal state\nmay be left behind. Specifying force as true should be used with care. Calling this API with force set to true is not allowed until this API has already\nbeen called on the same test command with force set to false first, or unless the test command already has an OperationState of OperationState.RollingBack.\nClarification: OperationState.RollingBack means that the system will be/is cleaning up internal system state caused by executing the command. It will not restore data if the\ntest command was to cause data loss. For example, if you call StartDataLoss then call this API, the system will only clean up internal state from running the command.\nIt will not restore the target partition's data, if the command progressed far enough to cause data loss.\n\nImportant note: if this API is invoked with force==true, internal state may be left behind.", + "tags": [ + "Faults" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/FaultOperationIdRequiredQueryParam" + }, + { + "$ref": "#/parameters/ForceRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies/$/Create": { + "post": { + "operationId": "CreateBackupPolicy", + "summary": "Creates a backup policy.", + "description": "Creates a backup policy which can be associated later with a Service Fabric application, service or a partition for periodic backup.", + "x-ms-examples": { + "Create a time based backup policy with Azure as backup location": { + "$ref": "./examples/CreateBackupPolicy-1.json" + }, + "Create a frequency based backup policy with file share as backup location": { + "$ref": "./examples/CreateBackupPolicy-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/BackupPolicyDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "201": { + "description": "A successful operation returns 201 status code and creates a new backup policy." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies/{backupPolicyName}/$/Delete": { + "post": { + "operationId": "DeleteBackupPolicy", + "summary": "Deletes the backup policy.", + "description": "Deletes an existing backup policy. A backup policy must be created before it can be deleted. A currently active backup policy, associated with any Service Fabric application, service or partition, cannot be deleted without first deleting the mapping.", + "x-ms-examples": { + "Delete backup policy": { + "$ref": "./examples/DeleteBackupPolicy.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/BackupPolicyNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation returns 200 status code and deletes the backup policy." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies": { + "get": { + "operationId": "GetBackupPolicyList", + "summary": "Gets all the backup policies configured.", + "description": "Get a list of all the backup policies configured.", + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetBackupPolicyList-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetBackupPolicyList-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and paged list of backup policies.", + "schema": { + "$ref": "#/definitions/PagedBackupPolicyDescriptionList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies/{backupPolicyName}": { + "get": { + "operationId": "GetBackupPolicyByName", + "summary": "Gets a particular backup policy by name.", + "description": "Gets a particular backup policy identified by {backupPolicyName}", + "x-ms-examples": { + "Get backup policy by name": { + "$ref": "./examples/GetBackupPolicyByName.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/BackupPolicyNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and the backup policy description.", + "schema": { + "$ref": "#/definitions/BackupPolicyDescription" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies/{backupPolicyName}/$/GetBackupEnabledEntities": { + "get": { + "operationId": "GetAllEntitiesBackedUpByPolicy", + "summary": "Gets the list of backup entities that are associated with this policy.", + "description": "Returns a list of Service Fabric application, service or partition which are associated with this backup policy.", + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetAllEntitiesBackedUpByPolicy-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetAllEntitiesBackedUpByPolicy-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/BackupPolicyNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of Service Fabric entities that are associated with this policy.", + "schema": { + "$ref": "#/definitions/PagedBackupEntityList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/BackupPolicies/{backupPolicyName}/$/Update": { + "post": { + "operationId": "UpdateBackupPolicy", + "summary": "Updates the backup policy.", + "description": "Updates the backup policy identified by {backupPolicyName}", + "x-ms-examples": { + "Update backup policy": { + "$ref": "./examples/UpdateBackupPolicy.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/BackupPolicyDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/BackupPolicyNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation returns 200 status code and updates the backup policy description." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/EnableBackup": { + "post": { + "operationId": "EnableApplicationBackup", + "summary": "Enables periodic backup of stateful partitions under this Service Fabric application.", + "description": "Enables periodic backup of stateful partitions which are part of this Service Fabric application. Each partition is backed up individually as per the specified backup policy description. \nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.", + "x-ms-examples": { + "Enable application backup": { + "$ref": "./examples/EnableApplicationBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to enable application backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/DisableBackup": { + "post": { + "operationId": "DisableApplicationBackup", + "summary": "Disables periodic backup of Service Fabric application.", + "description": "Disables periodic backup of Service Fabric application which was previously enabled.", + "x-ms-examples": { + "Disable application backup": { + "$ref": "./examples/DisableApplicationBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to disable application backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetBackupConfigurationInfo": { + "get": { + "operationId": "GetApplicationBackupConfigurationInfo", + "summary": "Gets the Service Fabric application backup configuration information.", + "description": "Gets the Service Fabric backup configuration information for the application and the services and partitions under this application.", + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetApplicationBackupConfigurationInfo-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetApplicationBackupConfigurationInfo-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup configuration information for the application, and the services and partitions under this application, for which backup configuration has been overridden.", + "schema": { + "$ref": "#/definitions/PagedBackupConfigurationInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/GetBackups": { + "get": { + "operationId": "GetApplicationBackupList", + "summary": "Gets the list of backups available for every partition in this application.", + "description": "Returns a list of backups available for every partition in this Service Fabric application. The server enumerates all the backups available at the backup location configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.", + "x-ms-examples": { + "Get application backups within a time range": { + "$ref": "./examples/GetApplicationBackupList-1.json" + }, + "Get latest backup": { + "$ref": "./examples/GetApplicationBackupList-2.json" + }, + "Limit maximum results": { + "$ref": "./examples/GetApplicationBackupList-3.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetApplicationBackupList-4.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/LatestOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup information.", + "schema": { + "$ref": "#/definitions/PagedBackupInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/SuspendBackup": { + "post": { + "operationId": "SuspendApplicationBackup", + "summary": "Suspends periodic backup for the specified Service Fabric application.", + "description": "The application which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire application's hierarchy. It means all the services and partitions under this application are now suspended for backup.", + "x-ms-examples": { + "Suspend application backup": { + "$ref": "./examples/SuspendApplicationBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and application backup will be suspended." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Applications/{applicationId}/$/ResumeBackup": { + "post": { + "operationId": "ResumeApplicationBackup", + "summary": "Resumes periodic backup of a Service Fabric application which was previously suspended.", + "description": "The previously suspended Service Fabric application resumes taking periodic backup as per the backup policy currently configured for the same.", + "x-ms-examples": { + "Resume application backup": { + "$ref": "./examples/ResumeApplicationBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and application backup will be resumed." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/EnableBackup": { + "post": { + "operationId": "EnableServiceBackup", + "summary": "Enables periodic backup of stateful partitions under this Service Fabric service.", + "description": "Enables periodic backup of stateful partitions which are part of this Service Fabric service. Each partition is backed up individually as per the specified backup policy description. In case the application, which the service is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup for this service and its partitions (unless explicitly overridden at the partition level).\nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.", + "x-ms-examples": { + "Enable service backup": { + "$ref": "./examples/EnableServiceBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to enable service backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/DisableBackup": { + "post": { + "operationId": "DisableServiceBackup", + "summary": "Disables periodic backup of Service Fabric service which was previously enabled.", + "description": "Disables periodic backup of Service Fabric service which was previously enabled. Backup must be explicitly enabled before it can be disabled.\nIn case the backup is enabled for the Service Fabric application, which this service is part of, this service would continue to be periodically backed up as per the policy mapped at the application level.", + "x-ms-examples": { + "Disable service backup": { + "$ref": "./examples/DisableServiceBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to disable service backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetBackupConfigurationInfo": { + "get": { + "operationId": "GetServiceBackupConfigurationInfo", + "summary": "Gets the Service Fabric service backup configuration information.", + "description": "Gets the Service Fabric backup configuration information for the service and the partitions under this service.", + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetServiceBackupConfigurationInfo-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetServiceBackupConfigurationInfo-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup configuration information for the service, and the partitions under this service, for which backup configuration has been overridden.", + "schema": { + "$ref": "#/definitions/PagedBackupConfigurationInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/GetBackups": { + "get": { + "operationId": "GetServiceBackupList", + "summary": "Gets the list of backups available for every partition in this service.", + "description": "Returns a list of backups available for every partition in this Service Fabric service. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.", + "x-ms-examples": { + "Get application backups within a time range": { + "$ref": "./examples/GetServiceBackupList-1.json" + }, + "Get latest backup": { + "$ref": "./examples/GetServiceBackupList-2.json" + }, + "Limit maximum results": { + "$ref": "./examples/GetServiceBackupList-3.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetServiceBackupList-4.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/LatestOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup information.", + "schema": { + "$ref": "#/definitions/PagedBackupInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/SuspendBackup": { + "post": { + "operationId": "SuspendServiceBackup", + "summary": "Suspends periodic backup for the specified Service Fabric service.", + "description": "The service which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire service's hierarchy. It means all the partitions under this service are now suspended for backup.", + "x-ms-examples": { + "Suspend service backup": { + "$ref": "./examples/SuspendServiceBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and service backup will be suspended." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Services/{serviceId}/$/ResumeBackup": { + "post": { + "operationId": "ResumeServiceBackup", + "summary": "Resumes periodic backup of a Service Fabric service which was previously suspended.", + "description": "The previously suspended Service Fabric service resumes taking periodic backup as per the backup policy currently configured for the same.", + "x-ms-examples": { + "Resume service backup": { + "$ref": "./examples/ResumeServiceBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and service backup will be resumed." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/EnableBackup": { + "post": { + "operationId": "EnablePartitionBackup", + "summary": "Enables periodic backup of the stateful persisted partition.", + "description": "Enables periodic backup of stateful persisted partition. Each partition is backed up as per the specified backup policy description. In case the application or service, which is partition is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup of this partition.\nNote only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.", + "x-ms-examples": { + "Enable partition backup": { + "$ref": "./examples/EnablePartitionBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/EnableBackupDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to enable partition backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/DisableBackup": { + "post": { + "operationId": "DisablePartitionBackup", + "summary": "Disables periodic backup of Service Fabric partition which was previously enabled.", + "description": "Disables periodic backup of partition which was previously enabled. Backup must be explicitly enabled before it can be disabled. \nIn case the backup is enabled for the Service Fabric application or service, which this partition is part of, this partition would continue to be periodically backed up as per the policy mapped at the higher level entity.", + "x-ms-examples": { + "Disable partition backup": { + "$ref": "./examples/DisablePartitionBackup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/DisableBackupDescriptionOptionalBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the request to disable partition backup has been accepted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetBackupConfigurationInfo": { + "get": { + "operationId": "GetPartitionBackupConfigurationInfo", + "summary": "Gets the partition backup configuration information", + "description": "Gets the Service Fabric Backup configuration information for the specified partition.", + "x-ms-examples": { + "Get partition backup configuration information": { + "$ref": "./examples/GetPartitionBackupConfigurationInfo.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and gets the partition's backup configuration information.", + "schema": { + "$ref": "#/definitions/PartitionBackupConfigurationInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetBackups": { + "get": { + "operationId": "GetPartitionBackupList", + "summary": "Gets the list of backups available for the specified partition.", + "description": "Returns a list of backups available for the specified partition. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for the partition.", + "x-ms-examples": { + "Get application backups within a time range": { + "$ref": "./examples/GetPartitionBackupList-1.json" + }, + "Get latest backup": { + "$ref": "./examples/GetPartitionBackupList-2.json" + }, + "Limit maximum results": { + "$ref": "./examples/GetPartitionBackupList-3.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetPartitionBackupList-4.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/LatestOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartDateTimeFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/EndDateTimeFilterOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup information.", + "schema": { + "$ref": "#/definitions/PagedBackupInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/SuspendBackup": { + "post": { + "operationId": "SuspendPartitionBackup", + "summary": "Suspends periodic backup for the specified partition.", + "description": "The partition which is configured to take periodic backups, is suspended for taking further backups till it is resumed again.", + "x-ms-examples": { + "Suspend partition backup": { + "$ref": "./examples/SuspendPartitionBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and partition backup will be suspended." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/ResumeBackup": { + "post": { + "operationId": "ResumePartitionBackup", + "summary": "Resumes periodic backup of partition which was previously suspended.", + "description": "The previously suspended partition resumes taking periodic backup as per the backup policy currently configured for the same.", + "x-ms-examples": { + "Resume partition backup": { + "$ref": "./examples/ResumePartitionBackup.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and partition backup will be resumed." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/Backup": { + "post": { + "operationId": "BackupPartition", + "summary": "Triggers backup of the partition's state.", + "description": "Creates a backup of the stateful persisted partition's state. In case the partition is already being periodically backed up, then by default the new backup is created at the same backup storage. One can also override the same by specifying the backup storage details as part of the request body. Once the backup is initiated, its progress can be tracked using the GetBackupProgress operation. \nIn case, the operation times out, specify a greater backup timeout value in the query parameter.", + "x-ms-examples": { + "Backup partition": { + "$ref": "./examples/BackupPartition-1.json" + }, + "Backup partition to a specific Azure storage account": { + "$ref": "./examples/BackupPartition-2.json" + }, + "Backup partition to a specific on-premise file share": { + "$ref": "./examples/BackupPartition-3.json" + } + }, + "tags": [ + "BackupRestore" + ], + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/BackupPartitionDescriptionOptionalBodyParam" + }, + { + "$ref": "#/parameters/BackupTimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and backup will be initiated. Use GetPartitionBackupProgress operation to get the status of the backup operation." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetBackupProgress": { + "get": { + "operationId": "GetPartitionBackupProgress", + "summary": "Gets details for the latest backup triggered for this partition.", + "description": "Returns information about the state of the latest backup along with details or failure reason in case of completion.", + "x-ms-examples": { + "Get backup operation progress": { + "$ref": "./examples/GetPartitionBackupProgress.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation returns 200 status code and backup progress details.", + "schema": { + "$ref": "#/definitions/BackupProgressInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/Restore": { + "post": { + "operationId": "RestorePartition", + "summary": "Triggers restore of the state of the partition using the specified restore partition description.", + "description": "Restores the state of a of the stateful persisted partition using the specified backup point. In case the partition is already being periodically backed up, then by default the backup point is looked for in the storage specified in backup policy. One can also override the same by specifying the backup storage details as part of the restore partition description in body. Once the restore is initiated, its progress can be tracked using the GetRestoreProgress operation. \nIn case, the operation times out, specify a greater restore timeout value in the query parameter.", + "x-ms-examples": { + "Trigger partition restore": { + "$ref": "./examples/RestorePartition.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/RestorePartitionDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/RestoreTimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "202": { + "description": "A 202 status code indicates the operation request was accepted and restore will be initiated. Use GetPartitionRestoreProgress operation to get the status of the restore operation." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Partitions/{partitionId}/$/GetRestoreProgress": { + "get": { + "operationId": "GetPartitionRestoreProgress", + "summary": "Gets details for the latest restore operation triggered for this partition.", + "description": "Returns information about the state of the latest restore operation along with details or failure reason in case of completion.", + "x-ms-examples": { + "Get restore operation progress": { + "$ref": "./examples/GetPartitionRestoreProgress.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation returns 200 status code and restore progress details.", + "schema": { + "$ref": "#/definitions/RestoreProgressInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/BackupRestore/$/GetBackups": { + "post": { + "operationId": "GetBackupsFromBackupLocation", + "summary": "Gets the list of backups available for the specified backed up entity at the specified backup location.", + "description": "Gets the list of backups available for the specified backed up entity (Application, Service or Partition) at the specified backup location (FileShare or Azure Blob Storage).", + "x-ms-examples": { + "Limit maximum results": { + "$ref": "./examples/GetBackupsFromBackupLocation-1.json" + }, + "Page using continuation token": { + "$ref": "./examples/GetBackupsFromBackupLocation-2.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/MaxResultsOptionalQueryParam" + }, + { + "$ref": "#/parameters/GetBackupByStorageQueryDescriptionRequiredBodyParam" + } + ], + "tags": [ + "BackupRestore" + ], + "responses": { + "200": { + "description": "A successful operation will return 200 status code and a paged list of backup information.", + "schema": { + "$ref": "#/definitions/PagedBackupInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/$/Create": { + "post": { + "summary": "Creates a Service Fabric name.", + "description": "Creates the specified Service Fabric name.", + "operationId": "CreateName", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Create new name": { + "$ref": "examples/CreateName-1.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "201": { + "description": "A successful response means that the name has been created." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/{nameId}": { + "get": { + "summary": "Returns whether the Service Fabric name exists.", + "description": "Returns whether the specified Service Fabric name exists.", + "operationId": "GetNameExistsInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A successful response means that the Service Fabric name exists." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "summary": "Deletes a Service Fabric name.", + "description": "Deletes the specified Service Fabric name. A name must be created before it can be deleted. Deleting a name with child properties will fail.", + "operationId": "DeleteName", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A successful response means that the Service Fabric name has been deleted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/{nameId}/$/GetSubNames": { + "get": { + "summary": "Enumerates all the Service Fabric names under a given name.", + "description": "Enumerates all the Service Fabric names under a given name. If the subnames do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Querying a name that doesn't exist will fail.", + "operationId": "GetSubNameInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/RecursiveOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get sub names": { + "$ref": "examples/GetSubNameInfoList-1.json" + }, + "Recursively search sub names": { + "$ref": "examples/GetSubNameInfoList-2.json" + }, + "Page using continuation token": { + "$ref": "examples/GetSubNameInfoList-3.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A paged list of Service Fabric names.", + "schema": { + "$ref": "#/definitions/PagedSubNameInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/{nameId}/$/GetProperties": { + "get": { + "summary": "Gets information on all Service Fabric properties under a given name.", + "description": "A Service Fabric name can have one or more named properties that store custom information. This operation gets the information about these properties in a paged list. The information includes name, value, and metadata about each of the properties.", + "operationId": "GetPropertyInfoList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/IncludeValuesOptionalQueryParam" + }, + { + "$ref": "#/parameters/ContinuationTokenOptionalQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get property info list": { + "$ref": "examples/GetPropertyInfoList-1.json" + }, + "Get property info list with values": { + "$ref": "examples/GetPropertyInfoList-2.json" + }, + "Page using continuation token": { + "$ref": "examples/GetPropertyInfoList-3.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A paged list of Service Fabric properties.", + "schema": { + "$ref": "#/definitions/PagedPropertyInfoList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/{nameId}/$/GetProperty": { + "put": { + "summary": "Creates or updates a Service Fabric property.", + "description": "Creates or updates the specified Service Fabric property under a given name.", + "operationId": "PutProperty", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PropertyDescriptionRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Put property": { + "$ref": "examples/PutProperty-1.json" + }, + "Put custom property": { + "$ref": "examples/PutProperty-2.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A successful response means that the property has been created or updated." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "summary": "Gets the specified Service Fabric property.", + "description": "Gets the specified Service Fabric property under a given name. This will always return both value and metadata.", + "operationId": "GetPropertyInfo", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PropertyNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Get property info": { + "$ref": "examples/GetPropertyInfo-1.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "Details on the Service Fabric property.", + "schema": { + "$ref": "#/definitions/PropertyInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "summary": "Deletes the specified Service Fabric property.", + "description": "Deletes the specified Service Fabric property under a given name. A property must be created before it can be deleted.", + "operationId": "DeleteProperty", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PropertyNameRequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A successful response means that the property has been deleted." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Names/{nameId}/$/GetProperties/$/SubmitBatch": { + "post": { + "summary": "Submits a property batch.", + "description": "Submits a batch of property operations. Either all or none of the operations will be committed.", + "operationId": "SubmitPropertyBatch", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-0_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NameIdRequiredPathParam" + }, + { + "$ref": "#/parameters/PropertyBatchDescriptionListRequiredBodyParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "x-ms-examples": { + "Property batch operation": { + "$ref": "examples/SubmitPropertyBatch-1.json" + } + }, + "tags": [ + "Property Management" + ], + "responses": { + "200": { + "description": "A successful response means that the property batch succeeded.", + "schema": { + "$ref": "#/definitions/SuccessfulPropertyBatchInfo" + } + }, + "409": { + "description": "A 409 response means that one of the property batch operations failed, and contains more information about the failure. None of the operations were committed.", + "schema": { + "$ref": "#/definitions/FailedPropertyBatchInfo" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Cluster/Events": { + "get": { + "summary": "Gets all Cluster-related events.", + "description": "The response is list of ClusterEvent objects.", + "operationId": "GetClusterEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Cluster-related events": { + "$ref": "./examples/GetClusterEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ClusterEvent.", + "schema": { + "$ref": "#/definitions/ClusterEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Containers/Events": { + "get": { + "summary": "Gets all Containers-related events.", + "description": "The response is list of ContainerInstanceEvent objects.", + "operationId": "GetContainersEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-2-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "responses": { + "200": { + "description": "List of events objects with base type ContainerInstanceEvent.", + "schema": { + "$ref": "#/definitions/ContainerInstanceEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Nodes/{nodeName}/$/Events": { + "get": { + "summary": "Gets a Node-related events.", + "description": "The response is list of NodeEvent objects.", + "operationId": "GetNodeEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NodeNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Node-related events": { + "$ref": "./examples/GetNodeEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type NodeEvent.", + "schema": { + "$ref": "#/definitions/NodeEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Nodes/Events": { + "get": { + "summary": "Gets all Nodes-related Events.", + "description": "The response is list of NodeEvent objects.", + "operationId": "GetNodesEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Nodes-related events": { + "$ref": "./examples/GetNodesEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type NodeEvent.", + "schema": { + "$ref": "#/definitions/NodeEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Applications/{applicationId}/$/Events": { + "get": { + "summary": "Gets an Application-related events.", + "description": "The response is list of ApplicationEvent objects.", + "operationId": "GetApplicationEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Application-related events": { + "$ref": "./examples/GetApplicationEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ApplicationEvent.", + "schema": { + "$ref": "#/definitions/ApplicationEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Applications/Events": { + "get": { + "summary": "Gets all Applications-related events.", + "description": "The response is list of ApplicationEvent objects.", + "operationId": "GetApplicationsEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Applications-related events": { + "$ref": "./examples/GetApplicationsEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ApplicationEvent.", + "schema": { + "$ref": "#/definitions/ApplicationEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Services/{serviceId}/$/Events": { + "get": { + "summary": "Gets a Service-related events.", + "description": "The response is list of ServiceEvent objects.", + "operationId": "GetServiceEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ServiceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Service-related events": { + "$ref": "./examples/GetServiceEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ServiceEvent.", + "schema": { + "$ref": "#/definitions/ServiceEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Services/Events": { + "get": { + "summary": "Gets all Services-related events.", + "description": "The response is list of ServiceEvent objects.", + "operationId": "GetServicesEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Services-related events": { + "$ref": "./examples/GetServicesEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ServiceEvent.", + "schema": { + "$ref": "#/definitions/ServiceEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Partitions/{partitionId}/$/Events": { + "get": { + "summary": "Gets a Partition-related events.", + "description": "The response is list of PartitionEvent objects.", + "operationId": "GetPartitionEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Partition-related events": { + "$ref": "./examples/GetPartitionEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type PartitionEvent.", + "schema": { + "$ref": "#/definitions/PartitionEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Partitions/Events": { + "get": { + "summary": "Gets all Partitions-related events.", + "description": "The response is list of PartitionEvent objects.", + "operationId": "GetPartitionsEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Partitions-related events": { + "$ref": "./examples/GetPartitionsEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type PartitionEvent.", + "schema": { + "$ref": "#/definitions/PartitionEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Partitions/{partitionId}/$/Replicas/{replicaId}/$/Events": { + "get": { + "summary": "Gets a Partition Replica-related events.", + "description": "The response is list of ReplicaEvent objects.", + "operationId": "GetPartitionReplicaEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Partition Replica-related events": { + "$ref": "./examples/GetReplicaEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ReplicaEvent.", + "schema": { + "$ref": "#/definitions/ReplicaEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/Partitions/{partitionId}/$/Replicas/Events": { + "get": { + "summary": "Gets all Replicas-related events for a Partition.", + "description": "The response is list of ReplicaEvent objects.", + "operationId": "GetPartitionReplicasEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/PartitionIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + }, + { + "$ref": "#/parameters/StartTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EndTimeUtcRequiredQueryParam" + }, + { + "$ref": "#/parameters/EventsTypesFilterOptionalQueryParam" + }, + { + "$ref": "#/parameters/ExcludeAnalysisEventsOptionalQueryParam" + }, + { + "$ref": "#/parameters/SkipCorrelationLookupOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Partition Replicas-related events": { + "$ref": "./examples/GetReplicasEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type ReplicaEvent.", + "schema": { + "$ref": "#/definitions/ReplicaEventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/EventsStore/CorrelatedEvents/{eventInstanceId}/$/Events": { + "get": { + "summary": "Gets all correlated events for a given event.", + "description": "The response is list of FabricEvents.", + "operationId": "GetCorrelatedEventList", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4_RequiredQueryParam" + }, + { + "$ref": "#/parameters/EventInstanceIdRequiredPathParam" + }, + { + "$ref": "#/parameters/TimeoutOptionalQueryParam" + } + ], + "tags": [ + "EventsStore" + ], + "x-ms-examples": { + "Get Correlated events": { + "$ref": "./examples/GetCorrelatedEventList.json" + } + }, + "responses": { + "200": { + "description": "List of events objects with base type FabricEvent.", + "schema": { + "$ref": "#/definitions/EventList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Secrets/{secretResourceName}": { + "put": { + "operationId": "MeshSecret_CreateOrUpdate", + "x-ms-examples": { + "CreateOrUpdateMeshSecret": { + "$ref": "./examples/Resources/Secrets/create_update.json" + } + }, + "summary": "Creates or updates a Secret resource.", + "description": "Creates a Secret resource with the specified name, description and properties. If Secret resource with the same name exists, then it is updated with the specified description and properties. Once created, the kind and contentType of a secret resource cannot be updated.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshSecrets" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecretResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SecretResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshSecret_Get", + "x-ms-examples": { + "GetSecretResource": { + "$ref": "./examples/Resources/Secrets/get.json" + } + }, + "summary": "Gets the Secret resource with the given name.", + "description": "Gets the information about the Secret resource with the given name. The information include the description and other properties of the Secret.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecrets" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecretResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshSecret_Delete", + "x-ms-examples": { + "DeleteSecretResource": { + "$ref": "./examples/Resources/Secrets/delete.json" + } + }, + "summary": "Deletes the Secret resource.", + "description": "Deletes the specified Secret resource and all of its named values.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecrets" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified secret was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Secrets": { + "get": { + "operationId": "MeshSecret_List", + "x-ms-examples": { + "ListMeshSecrets": { + "$ref": "./examples/Resources/Secrets/list.json" + } + }, + "summary": "Lists all the secret resources.", + "description": "Gets the information about all secret resources in a given resource group. The information include the description and other properties of the Secret.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + } + ], + "tags": [ + "MeshSecrets" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedSecretResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}": { + "put": { + "operationId": "MeshSecretValue_AddValue", + "x-ms-examples": { + "CreateMeshSecretValue": { + "$ref": "./examples/Resources/Secrets/values/create.json" + } + }, + "summary": "Adds the specified value as a new version of the specified secret resource.", + "description": "Creates a new value of the specified secret resource. The name of the value is typically the version identifier. Once created the value cannot be changed.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretValueResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshSecretValues" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecretValueResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SecretValueResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshSecretValue_Get", + "x-ms-examples": { + "GetMeshSecretValue": { + "$ref": "./examples/Resources/Secrets/values/get.json" + } + }, + "summary": "Gets the specified secret value resource.", + "description": "Get the information about the specified named secret value resources. The information does not include the actual value of the secret.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecretValues" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecretValueResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshSecretValue_Delete", + "x-ms-examples": { + "DeleteSecretValue": { + "$ref": "./examples/Resources/Secrets/values/delete.json" + } + }, + "summary": "Deletes the specified value of the named secret resource.", + "description": "Deletes the secret value resource identified by the name. The name of the resource is typically the version associated with that value. Deletion will fail if the specified value is in use.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecretValues" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified secret value was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Secrets/{secretResourceName}/values": { + "get": { + "operationId": "MeshSecretValue_List", + "x-ms-examples": { + "ListMeshSecretValues": { + "$ref": "./examples/Resources/Secrets/values/list.json" + } + }, + "summary": "List names of all values of the specified secret resource.", + "description": "Gets information about all secret value resources of the specified secret resource. The information includes the names of the secret value resources, but not the actual values.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecretValues" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedSecretValueResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}/list_value": { + "post": { + "operationId": "MeshSecretValue_Show", + "x-ms-examples": { + "ListMeshSecretValue": { + "$ref": "./examples/Resources/Secrets/values/list_value.json" + } + }, + "summary": "Lists the specified value of the secret resource.", + "description": "Lists the decrypted value of the specified named value of the secret resource. This is a privileged operation.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/SecretResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/SecretValueResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshSecretValues" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecretValue" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Volumes/{volumeResourceName}": { + "put": { + "operationId": "MeshVolume_CreateOrUpdate", + "x-ms-examples": { + "CreateOrUpdateMeshVolume": { + "$ref": "./examples/Resources/Volumes/create_update.json" + } + }, + "summary": "Creates or updates a Volume resource.", + "description": "Creates a Volume resource with the specified name, description and properties. If Volume resource with the same name exists, then it is updated with the specified description and properties.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/VolumeResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/VolumeResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshVolumes" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VolumeResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VolumeResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshVolume_Get", + "x-ms-examples": { + "GetVolumeResource": { + "$ref": "./examples/Resources/Volumes/get.json" + } + }, + "summary": "Gets the Volume resource with the given name.", + "description": "Gets the information about the Volume resource with the given name. The information include the description and other properties of the Volume.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/VolumeResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshVolumes" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VolumeResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshVolume_Delete", + "x-ms-examples": { + "DeleteVolumeResource": { + "$ref": "./examples/Resources/Volumes/delete.json" + } + }, + "summary": "Deletes the Volume resource.", + "description": "Deletes the Volume resource identified by the name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/VolumeResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshVolumes" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified volume was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Volumes": { + "get": { + "operationId": "MeshVolume_List", + "x-ms-examples": { + "ListMeshVolumes": { + "$ref": "./examples/Resources/Volumes/list.json" + } + }, + "summary": "Lists all the volume resources.", + "description": "Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + } + ], + "tags": [ + "MeshVolumes" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedVolumeResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Networks/{networkResourceName}": { + "put": { + "operationId": "MeshNetwork_CreateOrUpdate", + "x-ms-examples": { + "CreateOrUpdateMeshNetwork": { + "$ref": "./examples/Resources/Networks/create_update.json" + } + }, + "summary": "Creates or updates a Network resource.", + "description": "Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NetworkResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/NetworkResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshNetworks" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshNetwork_Get", + "x-ms-examples": { + "GetNetworkResource": { + "$ref": "./examples/Resources/Networks/get.json" + } + }, + "summary": "Gets the Network resource with the given name.", + "description": "Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NetworkResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshNetworks" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshNetwork_Delete", + "x-ms-examples": { + "DeleteNetworkResource": { + "$ref": "./examples/Resources/Networks/delete.json" + } + }, + "summary": "Deletes the Network resource.", + "description": "Deletes the Network resource identified by the name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/NetworkResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshNetworks" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified network was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Networks": { + "get": { + "operationId": "MeshNetwork_List", + "x-ms-examples": { + "ListMeshNetworks": { + "$ref": "./examples/Resources/Networks/list.json" + } + }, + "summary": "Lists all the network resources.", + "description": "Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + } + ], + "tags": [ + "MeshNetworks" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedNetworkResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}": { + "put": { + "operationId": "MeshApplication_CreateOrUpdate", + "x-ms-examples": { + "CreateOrUpdateMeshApplication": { + "$ref": "./examples/Resources/Applications/create_update.json" + }, + "CreateOrUpdateMeshApplicationWithAutoScale": { + "$ref": "./examples/Resources/Applications/create_update.autoscale.json" + } + }, + "summary": "Creates or updates a Application resource.", + "description": "Creates a Application resource with the specified name, description and properties. If Application resource with the same name exists, then it is updated with the specified description and properties.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ApplicationResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshApplications" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplicationResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ApplicationResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshApplication_Get", + "x-ms-examples": { + "GetApplicationResource": { + "$ref": "./examples/Resources/Applications/get.json" + } + }, + "summary": "Gets the Application resource with the given name.", + "description": "Gets the information about the Application resource with the given name. The information include the description and other properties of the Application.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshApplications" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplicationResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshApplication_Delete", + "x-ms-examples": { + "DeleteApplicationResource": { + "$ref": "./examples/Resources/Applications/delete.json" + } + }, + "summary": "Deletes the Application resource.", + "description": "Deletes the Application resource identified by the name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshApplications" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified application was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications": { + "get": { + "operationId": "MeshApplication_List", + "x-ms-examples": { + "ListMeshApplications": { + "$ref": "./examples/Resources/Applications/list.json" + } + }, + "summary": "Lists all the application resources.", + "description": "Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + } + ], + "tags": [ + "MeshApplications" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedApplicationResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}": { + "get": { + "operationId": "MeshService_Get", + "x-ms-examples": { + "GetServiceResource": { + "$ref": "./examples/Resources/Applications/Services/get.json" + } + }, + "summary": "Gets the Service resource with the given name.", + "description": "Gets the information about the Service resource with the given name. The information include the description and other properties of the Service.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshServices" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServiceResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}/Services": { + "get": { + "operationId": "MeshService_List", + "x-ms-examples": { + "ListMeshServices": { + "$ref": "./examples/Resources/Applications/Services/list.json" + } + }, + "summary": "Lists all the service resources.", + "description": "Gets the information about all services of an application resource. The information include the description and other properties of the Service.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshServices" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedServiceResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}/CodePackages/{codePackageName}/Logs": { + "get": { + "operationId": "MeshCodePackage_GetContainerLogs", + "x-ms-examples": { + "GetContainerLogs": { + "$ref": "./examples/Resources/Applications/Services/Replicas/CodePackages/get_logs.json" + } + }, + "summary": "Gets the logs from the container.", + "description": "Gets the logs for the container of the specified code package of the service replica.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaNameRequiredPathParam" + }, + { + "$ref": "#/parameters/CodePackageNameRequiredPathParam" + }, + { + "$ref": "#/parameters/TailOptionalQueryParam" + } + ], + "tags": [ + "MeshCodePackages" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContainerLogs" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}": { + "get": { + "operationId": "MeshServiceReplica_Get", + "x-ms-examples": { + "GetServiceReplica": { + "$ref": "./examples/Resources/Applications/Services/Replicas/get.json" + } + }, + "summary": "Gets the given replica of the service of an application.", + "description": "Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ReplicaNameRequiredPathParam" + } + ], + "tags": [ + "MeshServiceReplicas" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServiceReplicaDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas": { + "get": { + "operationId": "MeshServiceReplica_List", + "x-ms-examples": { + "ListMeshServiceReplicas": { + "$ref": "./examples/Resources/Applications/Services/Replicas/list.json" + } + }, + "summary": "Lists all the replicas of a service.", + "description": "Gets the information about all replicas of a service. The information include the description and other properties of the service replica.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/ApplicationResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/ServiceResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshServiceReplicas" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedServiceReplicaDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Gateways/{gatewayResourceName}": { + "put": { + "operationId": "MeshGateway_CreateOrUpdate", + "x-ms-examples": { + "CreateOrUpdateMeshGateway": { + "$ref": "./examples/Resources/Gateways/create_update.json" + } + }, + "summary": "Creates or updates a Gateway resource.", + "description": "Creates a Gateway resource with the specified name, description and properties. If Gateway resource with the same name exists, then it is updated with the specified description and properties. Use Gateway resource to provide public connectivity to application services.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/GatewayResourceNameRequiredPathParam" + }, + { + "$ref": "#/parameters/GatewayResourceDescriptionRequiredBodyParam" + } + ], + "tags": [ + "MeshGateways" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewayResourceDescription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GatewayResourceDescription" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "get": { + "operationId": "MeshGateway_Get", + "x-ms-examples": { + "GetGatewayResource": { + "$ref": "./examples/Resources/Gateways/get.json" + } + }, + "summary": "Gets the Gateway resource with the given name.", + "description": "Gets the information about the Gateway resource with the given name. The information include the description and other properties of the Gateway.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/GatewayResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshGateways" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewayResourceDescription" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + }, + "delete": { + "operationId": "MeshGateway_Delete", + "x-ms-examples": { + "DeleteGatewayResource": { + "$ref": "./examples/Resources/Gateways/delete.json" + } + }, + "summary": "Deletes the Gateway resource.", + "description": "Deletes the Gateway resource identified by the name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + }, + { + "$ref": "#/parameters/GatewayResourceNameRequiredPathParam" + } + ], + "tags": [ + "MeshGateways" + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content - the specified gateway was not found." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + }, + "/Resources/Gateways": { + "get": { + "operationId": "MeshGateway_List", + "x-ms-examples": { + "ListMeshGateways": { + "$ref": "./examples/Resources/Gateways/list.json" + } + }, + "summary": "Lists all the gateway resources.", + "description": "Gets the information about all gateway resources in a given resource group. The information include the description and other properties of the Gateway.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion_6-4-Preview_RequiredQueryParam" + } + ], + "tags": [ + "MeshGateways" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PagedGatewayResourceDescriptionList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/FabricError" + } + } + } + } + } + }, + "definitions": { + "HealthState": { + "type": "string", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc.", + "enum": [ + "Invalid", + "Ok", + "Warning", + "Error", + "Unknown" + ], + "x-ms-enum": { + "name": "HealthState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid health state. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Ok", + "description": "Indicates the health state is okay. The value is 1." + }, + { + "value": "Warning", + "description": "Indicates the health state is at a warning level. The value is 2." + }, + { + "value": "Error", + "description": "Indicates the health state is at an error level. Error health state should be investigated, as they can impact the correct functionality of the cluster. The value is 3." + }, + { + "value": "Unknown", + "description": "Indicates an unknown health status. The value is 65535." + } + ] + } + }, + "FabricErrorCodes": { + "type": "string", + "description": "Defines the fabric error codes that be returned as part of the error object in response to Service Fabric API operations that are not successful. Following are the error code values that can be returned for a specific HTTP status code.\n\n - Possible values of the error code for HTTP status code 400 (Bad Request)\n - \"FABRIC_E_INVALID_PARTITION_KEY\"\n - \"FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_ADDRESS\"\n - \"FABRIC_E_APPLICATION_NOT_UPGRADING\"\n - \"FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_FABRIC_NOT_UPGRADING\"\n - \"FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_CONFIGURATION\"\n - \"FABRIC_E_INVALID_NAME_URI\"\n - \"FABRIC_E_PATH_TOO_LONG\"\n - \"FABRIC_E_KEY_TOO_LARGE\"\n - \"FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED\"\n - \"FABRIC_E_INVALID_ATOMIC_GROUP\"\n - \"FABRIC_E_VALUE_EMPTY\"\n - \"FABRIC_E_BACKUP_IS_ENABLED\"\n - \"FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH\"\n - \"FABRIC_E_INVALID_FOR_STATELESS_SERVICES\"\n - \"FABRIC_E_INVALID_SERVICE_SCALING_POLICY\"\n - \"E_INVALIDARG\"\n\n - Possible values of the error code for HTTP status code 404 (Not Found)\n - \"FABRIC_E_NODE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_TYPE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_TYPE_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND\"\n - \"FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND\"\n - \"FABRIC_E_PARTITION_NOT_FOUND\"\n - \"FABRIC_E_REPLICA_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST\"\n - \"FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND\"\n - \"FABRIC_E_DIRECTORY_NOT_FOUND\"\n - \"FABRIC_E_FABRIC_VERSION_NOT_FOUND\"\n - \"FABRIC_E_FILE_NOT_FOUND\"\n - \"FABRIC_E_NAME_DOES_NOT_EXIST\"\n - \"FABRIC_E_PROPERTY_DOES_NOT_EXIST\"\n - \"FABRIC_E_ENUMERATION_COMPLETED\"\n - \"FABRIC_E_SERVICE_MANIFEST_NOT_FOUND\"\n - \"FABRIC_E_KEY_NOT_FOUND\"\n - \"FABRIC_E_HEALTH_ENTITY_NOT_FOUND\"\n - \"FABRIC_E_BACKUP_NOT_ENABLED\"\n - \"FABRIC_E_BACKUP_POLICY_NOT_EXISTING\"\n - \"FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING\"\n - \"FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR\"\n\n - Possible values of the error code for HTTP status code 409 (Conflict)\n - \"FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS\"\n - \"FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_SERVICE_ALREADY_EXISTS\"\n - \"FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_TYPE_IN_USE\"\n - \"FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS\"\n - \"FABRIC_E_FABRIC_VERSION_IN_USE\"\n - \"FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_NAME_ALREADY_EXISTS\"\n - \"FABRIC_E_NAME_NOT_EMPTY\"\n - \"FABRIC_E_PROPERTY_CHECK_FAILED\"\n - \"FABRIC_E_SERVICE_METADATA_MISMATCH\"\n - \"FABRIC_E_SERVICE_TYPE_MISMATCH\"\n - \"FABRIC_E_HEALTH_STALE_REPORT\"\n - \"FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED\"\n - \"FABRIC_E_NODE_HAS_NOT_STOPPED_YET\"\n - \"FABRIC_E_INSTANCE_ID_MISMATCH\"\n - \"FABRIC_E_BACKUP_IN_PROGRESS\"\n - \"FABRIC_E_RESTORE_IN_PROGRESS\"\n - \"FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING\"\n\n - Possible values of the error code for HTTP status code 413 (Request Entity Too Large)\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 500 (Internal Server Error)\n - \"FABRIC_E_NODE_IS_UP\"\n - \"E_FAIL\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_VOLUME_ALREADY_EXISTS\"\n - \"FABRIC_E_VOLUME_NOT_FOUND\"\n - \"SerializationError\"\n\n - Possible values of the error code for HTTP status code 503 (Service Unavailable)\n - \"FABRIC_E_NO_WRITE_QUORUM\"\n - \"FABRIC_E_NOT_PRIMARY\"\n - \"FABRIC_E_NOT_READY\"\n - \"FABRIC_E_RECONFIGURATION_PENDING\"\n - \"FABRIC_E_SERVICE_OFFLINE\"\n - \"E_ABORT\"\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 504 (Gateway Timeout)\n - \"FABRIC_E_COMMUNICATION_ERROR\"\n - \"FABRIC_E_OPERATION_NOT_COMPLETE\"\n - \"FABRIC_E_TIMEOUT\"", + "enum": [ + "FABRIC_E_INVALID_PARTITION_KEY", + "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR", + "FABRIC_E_INVALID_ADDRESS", + "FABRIC_E_APPLICATION_NOT_UPGRADING", + "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR", + "FABRIC_E_FABRIC_NOT_UPGRADING", + "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR", + "FABRIC_E_INVALID_CONFIGURATION", + "FABRIC_E_INVALID_NAME_URI", + "FABRIC_E_PATH_TOO_LONG", + "FABRIC_E_KEY_TOO_LARGE", + "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED", + "FABRIC_E_INVALID_ATOMIC_GROUP", + "FABRIC_E_VALUE_EMPTY", + "FABRIC_E_NODE_NOT_FOUND", + "FABRIC_E_APPLICATION_TYPE_NOT_FOUND", + "FABRIC_E_APPLICATION_NOT_FOUND", + "FABRIC_E_SERVICE_TYPE_NOT_FOUND", + "FABRIC_E_SERVICE_DOES_NOT_EXIST", + "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND", + "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND", + "FABRIC_E_PARTITION_NOT_FOUND", + "FABRIC_E_REPLICA_DOES_NOT_EXIST", + "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST", + "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND", + "FABRIC_E_DIRECTORY_NOT_FOUND", + "FABRIC_E_FABRIC_VERSION_NOT_FOUND", + "FABRIC_E_FILE_NOT_FOUND", + "FABRIC_E_NAME_DOES_NOT_EXIST", + "FABRIC_E_PROPERTY_DOES_NOT_EXIST", + "FABRIC_E_ENUMERATION_COMPLETED", + "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND", + "FABRIC_E_KEY_NOT_FOUND", + "FABRIC_E_HEALTH_ENTITY_NOT_FOUND", + "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS", + "FABRIC_E_APPLICATION_ALREADY_EXISTS", + "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION", + "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS", + "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS", + "FABRIC_E_SERVICE_ALREADY_EXISTS", + "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS", + "FABRIC_E_APPLICATION_TYPE_IN_USE", + "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION", + "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS", + "FABRIC_E_FABRIC_VERSION_IN_USE", + "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS", + "FABRIC_E_NAME_ALREADY_EXISTS", + "FABRIC_E_NAME_NOT_EMPTY", + "FABRIC_E_PROPERTY_CHECK_FAILED", + "FABRIC_E_SERVICE_METADATA_MISMATCH", + "FABRIC_E_SERVICE_TYPE_MISMATCH", + "FABRIC_E_HEALTH_STALE_REPORT", + "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED", + "FABRIC_E_NODE_HAS_NOT_STOPPED_YET", + "FABRIC_E_INSTANCE_ID_MISMATCH", + "FABRIC_E_VALUE_TOO_LARGE", + "FABRIC_E_NO_WRITE_QUORUM", + "FABRIC_E_NOT_PRIMARY", + "FABRIC_E_NOT_READY", + "FABRIC_E_RECONFIGURATION_PENDING", + "FABRIC_E_SERVICE_OFFLINE", + "E_ABORT", + "FABRIC_E_COMMUNICATION_ERROR", + "FABRIC_E_OPERATION_NOT_COMPLETE", + "FABRIC_E_TIMEOUT", + "FABRIC_E_NODE_IS_UP", + "E_FAIL", + "FABRIC_E_BACKUP_IS_ENABLED", + "FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH", + "FABRIC_E_INVALID_FOR_STATELESS_SERVICES", + "FABRIC_E_BACKUP_NOT_ENABLED", + "FABRIC_E_BACKUP_POLICY_NOT_EXISTING", + "FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING", + "FABRIC_E_BACKUP_IN_PROGRESS", + "FABRIC_E_RESTORE_IN_PROGRESS", + "FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING", + "FABRIC_E_INVALID_SERVICE_SCALING_POLICY", + "E_INVALIDARG", + "FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS", + "FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND", + "FABRIC_E_VOLUME_ALREADY_EXISTS", + "FABRIC_E_VOLUME_NOT_FOUND", + "SerializationError", + "FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR" + ], + "x-ms-enum": { + "name": "FabricErrorCodes", + "modelAsString": true, + "values": [ + { + "value": "FABRIC_E_INVALID_PARTITION_KEY" + }, + { + "value": "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR" + }, + { + "value": "FABRIC_E_INVALID_ADDRESS" + }, + { + "value": "FABRIC_E_APPLICATION_NOT_UPGRADING" + }, + { + "value": "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR" + }, + { + "value": "FABRIC_E_FABRIC_NOT_UPGRADING" + }, + { + "value": "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR" + }, + { + "value": "FABRIC_E_INVALID_CONFIGURATION" + }, + { + "value": "FABRIC_E_INVALID_NAME_URI" + }, + { + "value": "FABRIC_E_PATH_TOO_LONG" + }, + { + "value": "FABRIC_E_KEY_TOO_LARGE" + }, + { + "value": "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED" + }, + { + "value": "FABRIC_E_INVALID_ATOMIC_GROUP" + }, + { + "value": "FABRIC_E_VALUE_EMPTY" + }, + { + "value": "FABRIC_E_NODE_NOT_FOUND" + }, + { + "value": "FABRIC_E_APPLICATION_TYPE_NOT_FOUND" + }, + { + "value": "FABRIC_E_APPLICATION_NOT_FOUND" + }, + { + "value": "FABRIC_E_SERVICE_TYPE_NOT_FOUND" + }, + { + "value": "FABRIC_E_SERVICE_DOES_NOT_EXIST" + }, + { + "value": "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND" + }, + { + "value": "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND" + }, + { + "value": "FABRIC_E_PARTITION_NOT_FOUND" + }, + { + "value": "FABRIC_E_REPLICA_DOES_NOT_EXIST" + }, + { + "value": "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST" + }, + { + "value": "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND" + }, + { + "value": "FABRIC_E_DIRECTORY_NOT_FOUND" + }, + { + "value": "FABRIC_E_FABRIC_VERSION_NOT_FOUND" + }, + { + "value": "FABRIC_E_FILE_NOT_FOUND" + }, + { + "value": "FABRIC_E_NAME_DOES_NOT_EXIST" + }, + { + "value": "FABRIC_E_PROPERTY_DOES_NOT_EXIST" + }, + { + "value": "FABRIC_E_ENUMERATION_COMPLETED" + }, + { + "value": "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND" + }, + { + "value": "FABRIC_E_KEY_NOT_FOUND" + }, + { + "value": "FABRIC_E_HEALTH_ENTITY_NOT_FOUND" + }, + { + "value": "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_APPLICATION_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION" + }, + { + "value": "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS" + }, + { + "value": "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS" + }, + { + "value": "FABRIC_E_SERVICE_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_APPLICATION_TYPE_IN_USE" + }, + { + "value": "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION" + }, + { + "value": "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_FABRIC_VERSION_IN_USE" + }, + { + "value": "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS" + }, + { + "value": "FABRIC_E_NAME_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_NAME_NOT_EMPTY" + }, + { + "value": "FABRIC_E_PROPERTY_CHECK_FAILED" + }, + { + "value": "FABRIC_E_SERVICE_METADATA_MISMATCH" + }, + { + "value": "FABRIC_E_SERVICE_TYPE_MISMATCH" + }, + { + "value": "FABRIC_E_HEALTH_STALE_REPORT" + }, + { + "value": "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED" + }, + { + "value": "FABRIC_E_NODE_HAS_NOT_STOPPED_YET" + }, + { + "value": "FABRIC_E_INSTANCE_ID_MISMATCH" + }, + { + "value": "FABRIC_E_VALUE_TOO_LARGE" + }, + { + "value": "FABRIC_E_NO_WRITE_QUORUM" + }, + { + "value": "FABRIC_E_NOT_PRIMARY" + }, + { + "value": "FABRIC_E_NOT_READY" + }, + { + "value": "FABRIC_E_RECONFIGURATION_PENDING" + }, + { + "value": "FABRIC_E_SERVICE_OFFLINE" + }, + { + "value": "E_ABORT" + }, + { + "value": "FABRIC_E_COMMUNICATION_ERROR" + }, + { + "value": "FABRIC_E_OPERATION_NOT_COMPLETE" + }, + { + "value": "FABRIC_E_TIMEOUT" + }, + { + "value": "FABRIC_E_NODE_IS_UP" + }, + { + "value": "E_FAIL" + }, + { + "value": "FABRIC_E_BACKUP_IS_ENABLED" + }, + { + "value": "FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH" + }, + { + "value": "FABRIC_E_INVALID_FOR_STATELESS_SERVICES" + }, + { + "value": "FABRIC_E_BACKUP_NOT_ENABLED" + }, + { + "value": "FABRIC_E_BACKUP_POLICY_NOT_EXISTING" + }, + { + "value": "FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING" + }, + { + "value": "FABRIC_E_BACKUP_IN_PROGRESS" + }, + { + "value": "FABRIC_E_RESTORE_IN_PROGRESS" + }, + { + "value": "FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING" + }, + { + "value": "FABRIC_E_INVALID_SERVICE_SCALING_POLICY" + }, + { + "value": "E_INVALIDARG" + }, + { + "value": "FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND" + }, + { + "value": "FABRIC_E_VOLUME_ALREADY_EXISTS" + }, + { + "value": "FABRIC_E_VOLUME_NOT_FOUND" + }, + { + "value": "SerializationError" + }, + { + "value": "FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR" + } + ] + } + }, + "FabricError": { + "description": "The REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.", + "properties": { + "Error": { + "$ref": "#/definitions/FabricErrorError", + "description": "Error object containing error code and error message." + } + }, + "required": [ + "Error" + ] + }, + "FabricErrorError": { + "description": "Error object containing error code and error message.", + "properties": { + "Code": { + "$ref": "#/definitions/FabricErrorCodes", + "description": "Defines the fabric error codes that be returned as part of the error object in response to Service Fabric API operations that are not successful. Following are the error code values that can be returned for a specific HTTP status code.\n\n - Possible values of the error code for HTTP status code 400 (Bad Request)\n - \"FABRIC_E_INVALID_PARTITION_KEY\"\n - \"FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_ADDRESS\"\n - \"FABRIC_E_APPLICATION_NOT_UPGRADING\"\n - \"FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_FABRIC_NOT_UPGRADING\"\n - \"FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR\"\n - \"FABRIC_E_INVALID_CONFIGURATION\"\n - \"FABRIC_E_INVALID_NAME_URI\"\n - \"FABRIC_E_PATH_TOO_LONG\"\n - \"FABRIC_E_KEY_TOO_LARGE\"\n - \"FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED\"\n - \"FABRIC_E_INVALID_ATOMIC_GROUP\"\n - \"FABRIC_E_VALUE_EMPTY\"\n - \"FABRIC_E_BACKUP_IS_ENABLED\"\n - \"FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH\"\n - \"FABRIC_E_INVALID_FOR_STATELESS_SERVICES\"\n - \"FABRIC_E_INVALID_SERVICE_SCALING_POLICY\"\n - \"E_INVALIDARG\"\n\n - Possible values of the error code for HTTP status code 404 (Not Found)\n - \"FABRIC_E_NODE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_TYPE_NOT_FOUND\"\n - \"FABRIC_E_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_TYPE_NOT_FOUND\"\n - \"FABRIC_E_SERVICE_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND\"\n - \"FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND\"\n - \"FABRIC_E_PARTITION_NOT_FOUND\"\n - \"FABRIC_E_REPLICA_DOES_NOT_EXIST\"\n - \"FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST\"\n - \"FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND\"\n - \"FABRIC_E_DIRECTORY_NOT_FOUND\"\n - \"FABRIC_E_FABRIC_VERSION_NOT_FOUND\"\n - \"FABRIC_E_FILE_NOT_FOUND\"\n - \"FABRIC_E_NAME_DOES_NOT_EXIST\"\n - \"FABRIC_E_PROPERTY_DOES_NOT_EXIST\"\n - \"FABRIC_E_ENUMERATION_COMPLETED\"\n - \"FABRIC_E_SERVICE_MANIFEST_NOT_FOUND\"\n - \"FABRIC_E_KEY_NOT_FOUND\"\n - \"FABRIC_E_HEALTH_ENTITY_NOT_FOUND\"\n - \"FABRIC_E_BACKUP_NOT_ENABLED\"\n - \"FABRIC_E_BACKUP_POLICY_NOT_EXISTING\"\n - \"FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING\"\n - \"FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR\"\n\n - Possible values of the error code for HTTP status code 409 (Conflict)\n - \"FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS\"\n - \"FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_SERVICE_ALREADY_EXISTS\"\n - \"FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS\"\n - \"FABRIC_E_APPLICATION_TYPE_IN_USE\"\n - \"FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION\"\n - \"FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS\"\n - \"FABRIC_E_FABRIC_VERSION_IN_USE\"\n - \"FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS\"\n - \"FABRIC_E_NAME_ALREADY_EXISTS\"\n - \"FABRIC_E_NAME_NOT_EMPTY\"\n - \"FABRIC_E_PROPERTY_CHECK_FAILED\"\n - \"FABRIC_E_SERVICE_METADATA_MISMATCH\"\n - \"FABRIC_E_SERVICE_TYPE_MISMATCH\"\n - \"FABRIC_E_HEALTH_STALE_REPORT\"\n - \"FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED\"\n - \"FABRIC_E_NODE_HAS_NOT_STOPPED_YET\"\n - \"FABRIC_E_INSTANCE_ID_MISMATCH\"\n - \"FABRIC_E_BACKUP_IN_PROGRESS\"\n - \"FABRIC_E_RESTORE_IN_PROGRESS\"\n - \"FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING\"\n\n - Possible values of the error code for HTTP status code 413 (Request Entity Too Large)\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 500 (Internal Server Error)\n - \"FABRIC_E_NODE_IS_UP\"\n - \"E_FAIL\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS\"\n - \"FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND\"\n - \"FABRIC_E_VOLUME_ALREADY_EXISTS\"\n - \"FABRIC_E_VOLUME_NOT_FOUND\"\n - \"SerializationError\"\n\n - Possible values of the error code for HTTP status code 503 (Service Unavailable)\n - \"FABRIC_E_NO_WRITE_QUORUM\"\n - \"FABRIC_E_NOT_PRIMARY\"\n - \"FABRIC_E_NOT_READY\"\n - \"FABRIC_E_RECONFIGURATION_PENDING\"\n - \"FABRIC_E_SERVICE_OFFLINE\"\n - \"E_ABORT\"\n - \"FABRIC_E_VALUE_TOO_LARGE\"\n\n - Possible values of the error code for HTTP status code 504 (Gateway Timeout)\n - \"FABRIC_E_COMMUNICATION_ERROR\"\n - \"FABRIC_E_OPERATION_NOT_COMPLETE\"\n - \"FABRIC_E_TIMEOUT\"" + }, + "Message": { + "type": "string", + "description": "Error message." + } + }, + "required": [ + "Code" + ] + }, + "ContainerLogs": { + "description": "Container logs.", + "properties": { + "Content": { + "type": "string", + "description": "Container logs." + } + } + }, + "AadMetadata": { + "description": "Azure Active Directory metadata used for secured connection to cluster.", + "properties": { + "authority": { + "type": "string", + "description": "The AAD authority url." + }, + "client": { + "type": "string", + "description": "The AAD client application Id." + }, + "cluster": { + "type": "string", + "description": "The AAD cluster application Id." + }, + "login": { + "type": "string", + "description": "The AAD login url." + }, + "redirect": { + "type": "string", + "description": "The client application redirect address." + }, + "tenant": { + "type": "string", + "description": "The AAD tenant Id." + } + } + }, + "AadMetadataObject": { + "description": "Azure Active Directory metadata object used for secured connection to cluster.", + "properties": { + "type": { + "type": "string", + "description": "The client authentication method." + }, + "metadata": { + "$ref": "#/definitions/AadMetadata", + "description": "Azure Active Directory metadata used for secured connection to cluster." + } + } + }, + "AnalysisEventMetadata": { + "description": "Metadata about an Analysis Event.", + "properties": { + "Delay": { + "type": "string", + "format": "duration", + "description": "The analysis delay." + }, + "Duration": { + "type": "string", + "format": "duration", + "description": "The duration of analysis." + } + } + }, + "ApplicationDefinitionKind": { + "type": "string", + "description": "The mechanism used to define a Service Fabric application.", + "enum": [ + "Invalid", + "ServiceFabricApplicationDescription", + "Compose" + ], + "x-ms-enum": { + "name": "ApplicationDefinitionKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the application definition kind is invalid. All Service Fabric enumerations have the invalid type. The value is 65535." + }, + { + "value": "ServiceFabricApplicationDescription", + "description": "Indicates the application is defined by a Service Fabric application description. The value is 0." + }, + { + "value": "Compose", + "description": "Indicates the application is defined by compose file(s). The value is 1." + } + ] + } + }, + "ApplicationEvent": { + "description": "Represents the base for all Application Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "properties": { + "ApplicationId": { + "$ref": "#/definitions/ApplicationId", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + } + }, + "required": [ + "ApplicationId" + ], + "x-ms-discriminator-value": "ApplicationEvent" + }, + "ApplicationEventList": { + "description": "A list of ApplicationEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationEvent" + } + }, + "ApplicationHealth": { + "description": "Represents the health of the application. Contains the application aggregated health state and the service and deployed application health states.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceHealthState" + }, + "description": "Service health states as found in the health store." + }, + "DeployedApplicationHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedApplicationHealthState" + }, + "description": "Deployed application health states as found in the health store." + } + } + }, + "ApplicationHealthEvaluation": { + "x-ms-discriminator-value": "Application", + "description": "Represents health evaluation for an application, containing information about the data and the algorithm used by the health store to evaluate health.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation." + } + } + }, + "ApplicationHealthPolicies": { + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities.", + "properties": { + "ApplicationHealthPolicyMap": { + "$ref": "#/definitions/ApplicationHealthPolicyMap", + "description": "The wrapper that contains the map with application health policies used to evaluate specific applications in the cluster." + } + } + }, + "ApplicationHealthPolicy": { + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.", + "properties": { + "ConsiderWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors.", + "default": false + }, + "MaxPercentUnhealthyDeployedApplications": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.", + "default": 0 + }, + "DefaultServiceTypeHealthPolicy": { + "$ref": "#/definitions/ServiceTypeHealthPolicy", + "description": "The health policy used by default to evaluate the health of a service type." + }, + "ServiceTypeHealthPolicyMap": { + "$ref": "#/definitions/ServiceTypeHealthPolicyMap", + "description": "The map with service type health policy per service type name. The map is empty by default." + } + } + }, + "ApplicationHealthPolicyMap": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationHealthPolicyMapItem" + }, + "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default." + }, + "ApplicationHealthPolicyMapItem": { + "description": "Defines an item in ApplicationHealthPolicyMap.", + "required": [ + "Key", + "Value" + ], + "properties": { + "Key": { + "$ref": "#/definitions/ApplicationName", + "description": "The key of the application health policy map item. This is the name of the application." + }, + "Value": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "The value of the application health policy map item. This is the ApplicationHealthPolicy for this application." + } + } + }, + "ApplicationHealthState": { + "description": "Represents the health state of an application, which contains the application identifier and the aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + } + } + }, + "ApplicationHealthStateChunk": { + "description": "Represents the health state chunk of a application.\nThe application health state chunk contains the application name, its aggregated health state and any children services and deployed applications that respect the filters in cluster health chunk query description.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ApplicationTypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "ServiceHealthStateChunks": { + "$ref": "#/definitions/ServiceHealthStateChunkList", + "description": "The list of service health state chunks in the cluster that respect the filters in the cluster health chunk query description." + }, + "DeployedApplicationHealthStateChunks": { + "$ref": "#/definitions/DeployedApplicationHealthStateChunkList", + "description": "The list of deployed application health state chunks in the cluster that respect the filters in the cluster health chunk query description." + } + } + }, + "ApplicationHealthStateChunkList": { + "description": "The list of application health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunkList" + } + ], + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationHealthStateChunk" + }, + "description": "The list of application health state chunks that respect the input filters in the chunk query." + } + } + }, + "ApplicationHealthStateFilter": { + "description": "Defines matching criteria to determine whether a application should be included in the cluster health chunk.\nOne filter can match zero, one or multiple applications, depending on its properties.", + "properties": { + "ApplicationNameFilter": { + "type": "string", + "description": "The name of the application that matches the filter, as a fabric uri. The filter is applied only to the specified application, if it exists.\nIf the application doesn't exist, no application is returned in the cluster health chunk based on this filter.\nIf the application exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all applications are matched against the other filter members, like health state filter." + }, + "ApplicationTypeNameFilter": { + "type": "string", + "description": "The name of the application type that matches the filter.\nIf specified, the filter is applied only to applications of the selected application type, if any exists.\nIf no applications of the specified application type exists, no application is returned in the cluster health chunk based on this filter.\nEach application of the specified application type is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all applications are matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the applications. It allows selecting applications if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only applications that match the filter are returned. All applications are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the application name or the application type name are specified. If the filter has default value and application name is specified, the matching application is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches applications with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + }, + "ServiceFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceHealthStateFilter" + }, + "description": "Defines a list of filters that specify which services to be included in the returned cluster health chunk as children of the application. The services are returned only if the parent application matches a filter.\nIf the list is empty, no services are returned. All the services are used to evaluate the parent application aggregated health state, regardless of the input filters.\nThe application filter may specify multiple service filters.\nFor example, it can specify a filter to return all services with health state Error and another filter to always include a service identified by its service name." + }, + "DeployedApplicationFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedApplicationHealthStateFilter" + }, + "description": "Defines a list of filters that specify which deployed applications to be included in the returned cluster health chunk as children of the application. The deployed applications are returned only if the parent application matches a filter.\nIf the list is empty, no deployed applications are returned. All the deployed applications are used to evaluate the parent application aggregated health state, regardless of the input filters.\nThe application filter may specify multiple deployed application filters.\nFor example, it can specify a filter to return all deployed applications with health state Error and another filter to always include a deployed application on a specified node." + } + } + }, + "ApplicationId": { + "type": "string", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "ApplicationInfo": { + "description": "Information about a Service Fabric application.", + "properties": { + "Id": { + "$ref": "#/definitions/ApplicationId", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "TypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "TypeVersion": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "Status": { + "$ref": "#/definitions/ApplicationStatus", + "description": "The status of the application." + }, + "Parameters": { + "$ref": "#/definitions/ApplicationParameterList", + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "ApplicationDefinitionKind": { + "$ref": "#/definitions/ApplicationDefinitionKind", + "description": "The mechanism used to define a Service Fabric application." + } + } + }, + "ApplicationLoadInfo": { + "description": "Load Information about a Service Fabric application.", + "properties": { + "Id": { + "$ref": "#/definitions/ApplicationId", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "MinimumNodes": { + "type": "integer", + "format": "int64", + "description": "The minimum number of nodes for this application.\nIt is the number of nodes where Service Fabric will reserve Capacity in the cluster which equals to ReservedLoad * MinimumNodes for this Application instance.\nFor applications that do not have application capacity defined this value will be zero." + }, + "MaximumNodes": { + "type": "integer", + "format": "int64", + "description": "The maximum number of nodes where this application can be instantiated.\nIt is the number of nodes this application is allowed to span.\nFor applications that do not have application capacity defined this value will be zero." + }, + "NodeCount": { + "type": "integer", + "format": "int64", + "description": "The number of nodes on which this application is instantiated.\nFor applications that do not have application capacity defined this value will be zero." + }, + "ApplicationLoadMetricInformation": { + "$ref": "#/definitions/ApplicationMetricDescriptionList", + "description": "List of application capacity metric description." + } + } + }, + "ApplicationName": { + "type": "string", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ApplicationNameInfo": { + "description": "Information about the application name.", + "properties": { + "Id": { + "$ref": "#/definitions/ApplicationId", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + } + } + }, + "ApplicationPackageCleanupPolicy": { + "type": "string", + "description": "The kind of action that needs to be taken for cleaning up the application package after successful provision.", + "enum": [ + "Invalid", + "Default", + "Automatic", + "Manual" + ], + "x-ms-enum": { + "name": "ApplicationPackageCleanupPolicy", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the application package cleanup policy is invalid. This value is default. The value is zero." + }, + { + "value": "Default", + "description": "Indicates that the cleanup policy of application packages is based on the cluster setting \"CleanupApplicationPackageOnProvisionSuccess.\" The value is 1." + }, + { + "value": "Automatic", + "description": "Indicates that the service fabric runtime determines when to do the application package cleanup. By default, cleanup is done on successful provision. The value is 2." + }, + { + "value": "Manual", + "description": "Indicates that the user has to explicitly clean up the application package. The value is 3." + } + ] + } + }, + "ApplicationParameter": { + "description": "Describes an application parameter override to be applied when creating or upgrading an application.", + "required": [ + "Key", + "Value" + ], + "properties": { + "Key": { + "type": "string", + "description": "The name of the parameter." + }, + "Value": { + "type": "string", + "description": "The value of the parameter." + } + } + }, + "ApplicationParameterList": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationParameter" + }, + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "ApplicationsHealthEvaluation": { + "x-ms-discriminator-value": "Applications", + "description": "Represents health evaluation for applications, containing health evaluations for each unhealthy application that impacted current aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "MaxPercentUnhealthyApplications": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy applications from the ClusterHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of applications from the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation that impacted the aggregated health." + } + } + }, + "ApplicationStatus": { + "type": "string", + "description": "The status of the application.", + "enum": [ + "Invalid", + "Ready", + "Upgrading", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ApplicationStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the application status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Ready", + "description": "Indicates the application status is ready. The value is 1." + }, + { + "value": "Upgrading", + "description": "Indicates the application status is upgrading. The value is 2." + }, + { + "value": "Creating", + "description": "Indicates the application status is creating. The value is 3." + }, + { + "value": "Deleting", + "description": "Indicates the application status is deleting. The value is 4." + }, + { + "value": "Failed", + "description": "Indicates the creation or deletion of application was terminated due to persistent failures. Another create/delete request can be accepted to resume a failed application. The value is 5." + } + ] + } + }, + "ApplicationTypeApplicationsHealthEvaluation": { + "x-ms-discriminator-value": "ApplicationTypeApplications", + "description": "Represents health evaluation for applications of a particular application type. The application type applications evaluation can be returned when cluster health evaluation returns unhealthy aggregated health state, either Error or Warning. It contains health evaluations for each unhealthy application of the included application type that impacted current aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "ApplicationTypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "MaxPercentUnhealthyApplications": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy applications for the application type, specified as an entry in ApplicationTypeHealthPolicyMap." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of applications of the application type found in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation of this application type that impacted the aggregated health." + } + } + }, + "ApplicationTypeDefinitionKind": { + "type": "string", + "description": "The mechanism used to define a Service Fabric application type.", + "enum": [ + "Invalid", + "ServiceFabricApplicationPackage", + "Compose" + ], + "x-ms-enum": { + "name": "ApplicationTypeDefinitionKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the application type definition kind is invalid. All Service Fabric enumerations have the invalid type. The value is 0." + }, + { + "value": "ServiceFabricApplicationPackage", + "description": "Indicates the application type is defined and created by a Service Fabric application package provided by the user. The value is 1." + }, + { + "value": "Compose", + "description": "Indicates the application type is defined and created implicitly as part of a compose deployment. The value is 2." + } + ] + } + }, + "ApplicationTypeHealthPolicyMap": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationTypeHealthPolicyMapItem" + }, + "description": "Defines a map with max percentage unhealthy applications for specific application types.\nEach entry specifies as key the application type name and as value an integer that represents the MaxPercentUnhealthyApplications percentage used to evaluate the applications of the specified application type.\n\nThe application type health policy map can be used during cluster health evaluation to describe special application types.\nThe application types included in the map are evaluated against the percentage specified in the map, and not with the global MaxPercentUnhealthyApplications defined in the cluster health policy.\nThe applications of application types specified in the map are not counted against the global pool of applications.\nFor example, if some applications of a type are critical, the cluster administrator can add an entry to the map for that application type\nand assign it a value of 0% (that is, do not tolerate any failures).\nAll other applications can be evaluated with MaxPercentUnhealthyApplications set to 20% to tolerate some failures out of the thousands of application instances.\nThe application type health policy map is used only if the cluster manifest enables application type health evaluation using the configuration entry for HealthManager/EnableApplicationTypeHealthEvaluation." + }, + "ApplicationTypeHealthPolicyMapItem": { + "description": "Defines an item in ApplicationTypeHealthPolicyMap.", + "required": [ + "Key", + "Value" + ], + "properties": { + "Key": { + "type": "string", + "description": "The key of the application type health policy map item. This is the name of the application type." + }, + "Value": { + "type": "integer", + "description": "The value of the application type health policy map item.\nThe max percent unhealthy applications allowed for the application type. Must be between zero and 100." + } + } + }, + "ApplicationTypeInfo": { + "description": "Information about an application type.", + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "Version": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "DefaultParameterList": { + "$ref": "#/definitions/ApplicationTypeParameterList", + "description": "List of application type parameters that can be overridden when creating or updating the application." + }, + "Status": { + "$ref": "#/definitions/ApplicationTypeStatus", + "description": "The status of the application type." + }, + "StatusDetails": { + "type": "string", + "description": "Additional detailed information about the status of the application type." + }, + "ApplicationTypeDefinitionKind": { + "$ref": "#/definitions/ApplicationTypeDefinitionKind", + "description": "The mechanism used to define a Service Fabric application type." + } + } + }, + "PagedApplicationTypeInfoList": { + "description": "The list of application types that are provisioned or being provisioned in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of application type information.", + "items": { + "$ref": "#/definitions/ApplicationTypeInfo" + } + } + } + }, + "ApplicationTypeManifest": { + "description": "Contains the manifest describing an application type registered in a Service Fabric cluster.", + "properties": { + "Manifest": { + "type": "string", + "description": "The XML manifest as a string." + } + } + }, + "ApplicationTypeName": { + "type": "string", + "description": "The application type name as defined in the application manifest." + }, + "ApplicationTypeParameterList": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationParameter" + }, + "description": "List of application type parameters that can be overridden when creating or updating the application." + }, + "ApplicationTypeStatus": { + "type": "string", + "description": "The status of the application type.", + "enum": [ + "Invalid", + "Provisioning", + "Available", + "Unprovisioning", + "Failed" + ], + "x-ms-enum": { + "name": "ApplicationTypeStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the application type status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Provisioning", + "description": "Indicates that the application type is being provisioned in the cluster. The value is 1." + }, + { + "value": "Available", + "description": "Indicates that the application type is fully provisioned and is available for use. An application of this type and version can be created. The value is 2." + }, + { + "value": "Unprovisioning", + "description": "Indicates that the application type is in process of being unprovisioned from the cluster. The value is 3." + }, + { + "value": "Failed", + "description": "Indicates that the application type provisioning failed and it is unavailable for use. The failure details can be obtained from the application type information query. The failed application type information remains in the cluster until it is unprovisioned or reprovisioned successfully. The value is 4." + } + ] + } + }, + "ApplicationUnhealthyEvaluations": { + "description": "List of health evaluations that resulted in the current aggregated health state.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthEvaluationWrapper" + } + }, + "ApplicationUpgradeDescription": { + "description": "Describes the parameters for an application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.", + "properties": { + "Name": { + "$ref": "#/definitions/TargetApplicationName", + "description": "The name of the target application, including the 'fabric:' URI scheme." + }, + "TargetApplicationTypeVersion": { + "$ref": "#/definitions/TargetApplicationTypeVersion", + "description": "The target application type version (found in the application manifest) for the application upgrade." + }, + "Parameters": { + "$ref": "#/definitions/ApplicationParameterList", + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeReplicaSetCheckTimeoutInSeconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "SortOrder": { + "$ref": "#/definitions/UpgradeSortOrder", + "description": "Defines the order in which an upgrade proceeds through the cluster." + }, + "MonitoringPolicy": { + "$ref": "#/definitions/MonitoringPolicyDescription", + "description": "Describes the parameters for monitoring an upgrade in Monitored mode." + }, + "ApplicationHealthPolicy": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + } + }, + "required": [ + "Name", + "TargetApplicationTypeVersion", + "UpgradeKind" + ] + }, + "ApplicationUpgradeProgressInfo": { + "description": "Describes the parameters for an application upgrade.", + "properties": { + "Name": { + "$ref": "#/definitions/TargetApplicationName", + "description": "The name of the target application, including the 'fabric:' URI scheme." + }, + "TypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "TargetApplicationTypeVersion": { + "$ref": "#/definitions/TargetApplicationTypeVersion", + "description": "The target application type version (found in the application manifest) for the application upgrade." + }, + "UpgradeDomains": { + "$ref": "#/definitions/UpgradeDomainInfoList", + "description": "List of upgrade domains and their statuses." + }, + "UpgradeState": { + "$ref": "#/definitions/UpgradeState", + "description": "The state of the upgrade domain." + }, + "NextUpgradeDomain": { + "$ref": "#/definitions/NextUpgradeDomain", + "description": "The name of the next upgrade domain to be processed." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeDescription": { + "$ref": "#/definitions/ApplicationUpgradeDescription", + "description": "Describes the parameters for an application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription." + }, + "UpgradeDurationInMilliseconds": { + "type": "string", + "description": "The estimated total amount of time spent processing the overall upgrade." + }, + "UpgradeDomainDurationInMilliseconds": { + "type": "string", + "description": "The estimated total amount of time spent processing the current upgrade domain." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of health evaluations that resulted in the current aggregated health state." + }, + "CurrentUpgradeDomainProgress": { + "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo", + "description": "Information about the current in-progress upgrade domain." + }, + "StartTimestampUtc": { + "type": "string", + "description": "The estimated UTC datetime when the upgrade started." + }, + "FailureTimestampUtc": { + "type": "string", + "description": "The estimated UTC datetime when the upgrade failed and FailureAction was executed." + }, + "FailureReason": { + "$ref": "#/definitions/FailureReason", + "description": "The cause of an upgrade failure that resulted in FailureAction being executed." + }, + "UpgradeDomainProgressAtFailure": { + "$ref": "#/definitions/FailureUpgradeDomainProgressInfo", + "description": "Information about the upgrade domain progress at the time of upgrade failure." + }, + "UpgradeStatusDetails": { + "type": "string", + "description": "Additional detailed information about the status of the pending upgrade." + } + } + }, + "ByteArray": { + "description": "Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255.", + "type": "array", + "items": { + "type": "integer" + } + }, + "ClusterConfiguration": { + "description": "Information about the standalone cluster configuration.", + "properties": { + "ClusterConfiguration": { + "type": "string", + "description": "The contents of the cluster configuration file." + } + } + }, + "ClusterEvent": { + "description": "Represents the base for all Cluster Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "x-ms-discriminator-value": "ClusterEvent" + }, + "ClusterEventList": { + "description": "A list of ClusterEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ClusterEvent" + } + }, + "ClusterHealth": { + "description": "Represents the health of the cluster.\nContains the cluster aggregated health state, the cluster application and node health states as well as the health events and the unhealthy evaluations.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "NodeHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeHealthState" + }, + "description": "Cluster node health states as found in the health store." + }, + "ApplicationHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationHealthState" + }, + "description": "Cluster application health states as found in the health store." + } + } + }, + "ClusterHealthChunk": { + "description": "Represents the health chunk of the cluster.\nContains the cluster aggregated health state, and the cluster entities that respect the input filter.", + "properties": { + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The HealthState representing the aggregated health state of the cluster computed by Health Manager.\nThe health evaluation of the entity reflects all events reported on the entity and its children (if any).\nThe aggregation is done by applying the desired cluster health policy and the application health policies." + }, + "NodeHealthStateChunks": { + "$ref": "#/definitions/NodeHealthStateChunkList", + "description": "The list of node health state chunks in the cluster that respect the filters in the cluster health chunk query description." + }, + "ApplicationHealthStateChunks": { + "$ref": "#/definitions/ApplicationHealthStateChunkList", + "description": "The list of application health state chunks in the cluster that respect the filters in the cluster health chunk query description." + } + } + }, + "ClusterHealthChunkQueryDescription": { + "description": "The cluster health chunk query description, which can specify the health policies to evaluate cluster health and very expressive filters to select which cluster entities to include in response.", + "properties": { + "NodeFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeHealthStateFilter" + }, + "description": "Defines a list of filters that specify which nodes to be included in the returned cluster health chunk.\nIf no filters are specified, no nodes are returned. All the nodes are used to evaluate the cluster's aggregated health state, regardless of the input filters.\nThe cluster health chunk query may specify multiple node filters.\nFor example, it can specify a filter to return all nodes with health state Error and another filter to always include a node identified by its NodeName." + }, + "ApplicationFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationHealthStateFilter" + }, + "description": "Defines a list of filters that specify which applications to be included in the returned cluster health chunk.\nIf no filters are specified, no applications are returned. All the applications are used to evaluate the cluster's aggregated health state, regardless of the input filters.\nThe cluster health chunk query may specify multiple application filters.\nFor example, it can specify a filter to return all applications with health state Error and another filter to always include applications of a specified application type." + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node." + }, + "ApplicationHealthPolicies": { + "$ref": "#/definitions/ApplicationHealthPolicies", + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities." + } + } + }, + "ClusterHealthPolicies": { + "description": "Health policies to evaluate cluster health.", + "properties": { + "ApplicationHealthPolicyMap": { + "$ref": "#/definitions/ApplicationHealthPolicyMap", + "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default." + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node." + } + } + }, + "ClusterHealthPolicy": { + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.", + "properties": { + "ConsiderWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors.", + "default": false + }, + "MaxPercentUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.", + "default": 0 + }, + "MaxPercentUnhealthyApplications": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.", + "default": 0 + }, + "ApplicationTypeHealthPolicyMap": { + "$ref": "#/definitions/ApplicationTypeHealthPolicyMap", + "description": "Defines a map with max percentage unhealthy applications for specific application types.\nEach entry specifies as key the application type name and as value an integer that represents the MaxPercentUnhealthyApplications percentage used to evaluate the applications of the specified application type.\n\nThe application type health policy map can be used during cluster health evaluation to describe special application types.\nThe application types included in the map are evaluated against the percentage specified in the map, and not with the global MaxPercentUnhealthyApplications defined in the cluster health policy.\nThe applications of application types specified in the map are not counted against the global pool of applications.\nFor example, if some applications of a type are critical, the cluster administrator can add an entry to the map for that application type\nand assign it a value of 0% (that is, do not tolerate any failures).\nAll other applications can be evaluated with MaxPercentUnhealthyApplications set to 20% to tolerate some failures out of the thousands of application instances.\nThe application type health policy map is used only if the cluster manifest enables application type health evaluation using the configuration entry for HealthManager/EnableApplicationTypeHealthEvaluation." + } + } + }, + "ClusterManifest": { + "description": "Information about the cluster manifest.", + "properties": { + "Manifest": { + "type": "string", + "description": "The contents of the cluster manifest file." + } + } + }, + "ClusterLoadInfo": { + "description": "Information about load in a Service Fabric cluster. It holds a summary of all metrics and their load in a cluster.", + "properties": { + "LastBalancingStartTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The starting time of last resource balancing run." + }, + "LastBalancingEndTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The end time of last resource balancing run." + }, + "LoadMetricInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadMetricInformation" + }, + "description": "List that contains metrics and their load information in this cluster." + } + } + }, + "LoadMetricInformation": { + "description": "Represents data structure that contains load information for a certain metric in a cluster.", + "properties": { + "Name": { + "type": "string", + "description": "Name of the metric for which this load information is provided." + }, + "IsBalancedBefore": { + "type": "boolean", + "description": "Value that indicates whether the metrics is balanced or not before resource balancer run" + }, + "IsBalancedAfter": { + "type": "boolean", + "description": "Value that indicates whether the metrics is balanced or not after resource balancer run." + }, + "DeviationBefore": { + "type": "string", + "format": "double", + "description": "The standard average deviation of the metrics before resource balancer run." + }, + "DeviationAfter": { + "type": "string", + "format": "double", + "description": "The standard average deviation of the metrics after resource balancer run." + }, + "BalancingThreshold": { + "type": "string", + "format": "double", + "description": "The balancing threshold for a certain metric." + }, + "Action": { + "type": "string", + "description": "The current action being taken with regard to this metric" + }, + "ActivityThreshold": { + "type": "string", + "format": "double", + "description": "The Activity Threshold specified for this metric in the system Cluster Manifest." + }, + "ClusterCapacity": { + "type": "string", + "description": "The total cluster capacity for a given metric" + }, + "ClusterLoad": { + "type": "string", + "description": "The total cluster load. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentClusterLoad." + }, + "CurrentClusterLoad": { + "type": "string", + "format": "double", + "description": "The total cluster load." + }, + "ClusterRemainingCapacity": { + "type": "string", + "description": "The remaining capacity for the metric in the cluster. In future releases of Service Fabric this parameter will be deprecated in favor of ClusterCapacityRemaining." + }, + "ClusterCapacityRemaining": { + "type": "string", + "description": "The remaining capacity for the metric in the cluster." + }, + "IsClusterCapacityViolation": { + "type": "boolean", + "description": "Indicates that the metric is currently over capacity in the cluster." + }, + "NodeBufferPercentage": { + "type": "string", + "format": "double", + "description": "The reserved percentage of total node capacity for this metric." + }, + "ClusterBufferedCapacity": { + "type": "string", + "description": "Remaining capacity in the cluster excluding the reserved space. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedClusterCapacityRemaining." + }, + "BufferedClusterCapacityRemaining": { + "type": "string", + "format": "double", + "description": "Remaining capacity in the cluster excluding the reserved space." + }, + "ClusterRemainingBufferedCapacity": { + "type": "string", + "description": "The remaining percentage of cluster total capacity for this metric." + }, + "MinNodeLoadValue": { + "type": "string", + "description": "The minimum load on any node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of MinimumNodeLoad." + }, + "MinimumNodeLoad": { + "type": "string", + "format": "double", + "description": "The minimum load on any node for this metric." + }, + "MinNodeLoadNodeId": { + "$ref": "#/definitions/NodeId", + "description": "The node id of the node with the minimum load for this metric." + }, + "MaxNodeLoadValue": { + "type": "string", + "description": "The maximum load on any node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of MaximumNodeLoad." + }, + "MaximumNodeLoad": { + "type": "string", + "format": "double", + "description": "The maximum load on any node for this metric." + }, + "MaxNodeLoadNodeId": { + "$ref": "#/definitions/NodeId", + "description": "The node id of the node with the maximum load for this metric." + }, + "PlannedLoadRemoval": { + "type": "string", + "format": "double", + "description": "This value represents the load of the replicas that are planned to be removed in the future within the cluster.\nThis kind of load is reported for replicas that are currently being moving to other nodes and for replicas that are currently being dropped but still use the load on the source node." + } + } + }, + "ClusterVersion": { + "description": "The cluster version.", + "properties": { + "Version": { + "type": "string", + "description": "The Service Fabric cluster runtime version." + } + } + }, + "ContainerApiRequestBody": { + "description": "parameters for making container API call.", + "properties": { + "HttpVerb": { + "type": "string", + "description": "HTTP verb of container REST API, defaults to \"GET\"" + }, + "UriPath": { + "type": "string", + "description": "URI path of container REST API" + }, + "Content-Type": { + "type": "string", + "description": "Content type of container REST API request, defaults to \"application/json\"" + }, + "Body": { + "type": "string", + "description": "HTTP request body of container REST API" + } + }, + "required": [ + "UriPath" + ] + }, + "ContainerApiResponse": { + "description": "Response body that wraps container API result.", + "properties": { + "ContainerApiResult": { + "$ref": "#/definitions/ContainerApiResult", + "description": "Container API result." + } + }, + "required": [ + "ContainerApiResult" + ] + }, + "ContainerApiResult": { + "description": "Container API result.", + "properties": { + "Status": { + "type": "integer", + "description": "HTTP status code returned by the target container API" + }, + "Content-Type": { + "type": "string", + "description": "HTTP content type" + }, + "Content-Encoding": { + "type": "string", + "description": "HTTP content encoding" + }, + "Body": { + "type": "string", + "description": "container API result body" + } + }, + "required": [ + "Status" + ] + }, + "ContainerInstanceEvent": { + "description": "Represents the base for all Container Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "x-ms-discriminator-value": "ContainerInstanceEvent" + }, + "ContainerInstanceEventList": { + "description": "A list of ContainerInstanceEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerInstanceEvent" + } + }, + "ContinuationToken": { + "type": "string", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "CurrentUpgradeDomainProgressInfo": { + "description": "Information about the current in-progress upgrade domain.", + "properties": { + "DomainName": { + "$ref": "#/definitions/UpgradeDomainName", + "description": "The name of the upgrade domain" + }, + "NodeUpgradeProgressList": { + "$ref": "#/definitions/NodeUpgradeProgressInfoList", + "description": "List of upgrading nodes and their statuses" + } + } + }, + "CurrentUpgradeDomainDuration": { + "type": "string", + "description": "The estimated amount of time spent processing current Upgrade Domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H2M0S" + }, + "DeactivationIntentDescription": { + "description": "Describes the intent or reason for deactivating the node.", + "properties": { + "DeactivationIntent": { + "type": "string", + "description": "Describes the intent or reason for deactivating the node. The possible values are following.", + "enum": [ + "Pause", + "Restart", + "RemoveData" + ], + "x-ms-enum": { + "name": "DeactivationIntent", + "modelAsString": true, + "values": [ + { + "value": "Pause", + "description": "Indicates that the node should be paused. The value is 1." + }, + { + "value": "Restart", + "description": "Indicates that the intent is for the node to be restarted after a short period of time. The value is 2." + }, + { + "value": "RemoveData", + "description": "Indicates the intent is for the node to remove data. The value is 3." + } + ] + } + } + } + }, + "DeltaNodesCheckHealthEvaluation": { + "x-ms-discriminator-value": "DeltaNodesCheck", + "description": "Represents health evaluation for delta nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state.\nCan be returned during cluster upgrade when the aggregated health state of the cluster is Warning or Error.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "BaselineErrorCount": { + "type": "integer", + "format": "int64", + "description": "Number of nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade." + }, + "BaselineTotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of nodes in the health store at the beginning of the cluster upgrade." + }, + "MaxPercentDeltaUnhealthyNodes": { + "type": "integer", + "description": "Maximum allowed percentage of delta unhealthy nodes from the ClusterUpgradeHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of nodes in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state.\nIncludes all the unhealthy NodeHealthEvaluation that impacted the aggregated health." + } + } + }, + "DeployedApplicationHealth": { + "description": "Information about the health of an application deployed on a Service Fabric node.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "Name of the application deployed on the node whose health information is described by this object." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node where this application is deployed." + }, + "DeployedServicePackageHealthStates": { + "$ref": "#/definitions/DeployedServicePackageHealthStateList", + "description": "Deployed service package health states for the current deployed application as found in the health store." + } + } + }, + "DeployedApplicationHealthEvaluation": { + "x-ms-discriminator-value": "DeployedApplication", + "description": "Represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node where the application is deployed to." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the deployed application.\nThe types of the unhealthy evaluations can be DeployedServicePackagesHealthEvaluation or EventHealthEvaluation." + } + } + }, + "DeployedApplicationHealthState": { + "description": "Represents the health state of a deployed application, which contains the entity identifier and the aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node on which the service package is deployed." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + } + } + }, + "DeployedApplicationHealthStateChunk": { + "description": "Represents the health state chunk of a deployed application, which contains the node where the application is deployed, the aggregated health state and any deployed service packages that respect the chunk query description filters.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "NodeName": { + "type": "string", + "description": "The name of node where the application is deployed." + }, + "DeployedServicePackageHealthStateChunks": { + "$ref": "#/definitions/DeployedServicePackageHealthStateChunkList", + "description": "The list of deployed service package health state chunks belonging to the deployed application that respect the filters in the cluster health chunk query description." + } + } + }, + "DeployedApplicationHealthStateChunkList": { + "description": "The list of deployed application health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedApplicationHealthStateChunk" + }, + "description": "The list of deployed application health state chunks that respect the input filters in the chunk query." + } + } + }, + "DeployedApplicationHealthStateFilter": { + "description": "Defines matching criteria to determine whether a deployed application should be included as a child of an application in the cluster health chunk.\nThe deployed applications are only returned if the parent application matches a filter specified in the cluster health chunk query description.\nOne filter can match zero, one or multiple deployed applications, depending on its properties.", + "properties": { + "NodeNameFilter": { + "type": "string", + "description": "The name of the node where the application is deployed in order to match the filter.\nIf specified, the filter is applied only to the application deployed on the specified node.\nIf the application is not deployed on the node with the specified name, no deployed application is returned in the cluster health chunk based on this filter.\nOtherwise, the deployed application is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all deployed applications that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the deployed applications. It allows selecting deployed applications if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only deployed applications that match the filter are returned. All deployed applications are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching deployed application is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches deployed applications with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + }, + "DeployedServicePackageFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServicePackageHealthStateFilter" + }, + "description": "Defines a list of filters that specify which deployed service packages to be included in the returned cluster health chunk as children of the parent deployed application. The deployed service packages are returned only if the parent deployed application matches a filter.\nIf the list is empty, no deployed service packages are returned. All the deployed service packages are used to evaluate the parent deployed application aggregated health state, regardless of the input filters.\nThe deployed application filter may specify multiple deployed service package filters.\nFor example, it can specify a filter to return all deployed service packages with health state Error and another filter to always include a deployed service package on a node." + } + } + }, + "DeployedApplicationInfo": { + "description": "Information about application deployed on the node.", + "properties": { + "Id": { + "$ref": "#/definitions/ApplicationId", + "description": "The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the application name is \"fabric:/myapp/app1\",\nthe application identity would be \"myapp\\~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "TypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "Status": { + "$ref": "#/definitions/DeployedApplicationStatus", + "description": "The status of the application deployed on the node. Following are the possible values." + }, + "WorkDirectory": { + "type": "string", + "description": "The work directory of the application on the node. The work directory can be used to store application data." + }, + "LogDirectory": { + "type": "string", + "description": "The log directory of the application on the node. The log directory can be used to store application logs." + }, + "TempDirectory": { + "type": "string", + "description": "The temp directory of the application on the node. The code packages belonging to the application are forked with this directory set as their temporary directory." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + } + } + }, + "DeployedApplicationInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedApplicationInfo" + }, + "description": "List of deployed application information." + }, + "DeployedApplicationsHealthEvaluation": { + "x-ms-discriminator-value": "DeployedApplications", + "description": "Represents health evaluation for deployed applications, containing health evaluations for each unhealthy deployed application that impacted current aggregated health state.\nCan be returned when evaluating application health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "MaxPercentUnhealthyDeployedApplications": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy deployed applications from the ApplicationHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of deployed applications of the application in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedApplicationHealthEvaluation that impacted the aggregated health." + } + } + }, + "DeployedApplicationStatus": { + "type": "string", + "description": "The status of the application deployed on the node. Following are the possible values.", + "enum": [ + "Invalid", + "Downloading", + "Activating", + "Active", + "Upgrading", + "Deactivating" + ], + "x-ms-enum": { + "name": "DeployedApplicationStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that deployment status is not valid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Downloading", + "description": "Indicates that the package is downloading from the ImageStore. The value is 1." + }, + { + "value": "Activating", + "description": "Indicates that the package is activating. The value is 2." + }, + { + "value": "Active", + "description": "Indicates that the package is active. The value is 3." + }, + { + "value": "Upgrading", + "description": "Indicates that the package is upgrading. The value is 4." + }, + { + "value": "Deactivating", + "description": "Indicates that the package is deactivating. The value is 5." + } + ] + } + }, + "DeployedServicePackageHealth": { + "description": "Information about the health of a service package for a specific application deployed on a Service Fabric node.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "Name of the service manifest." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node where this service package is deployed." + } + } + }, + "DeployedServicePackageHealthEvaluation": { + "x-ms-discriminator-value": "DeployedServicePackage", + "description": "Represents health evaluation for a deployed service package, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service manifest." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state. The type of the unhealthy evaluations can be EventHealthEvaluation." + } + } + }, + "DeployedServicePackageHealthState": { + "description": "Represents the health state of a deployed service package, containing the entity identifier and the aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node on which the service package is deployed." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "Name of the manifest describing the service package." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + } + } + }, + "DeployedServicePackageHealthStateChunk": { + "description": "Represents the health state chunk of a deployed service package, which contains the service manifest name and the service package aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service manifest." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + } + } + }, + "DeployedServicePackageHealthStateChunkList": { + "description": "The list of deployed service package health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServicePackageHealthStateChunk" + }, + "description": "The list of deployed service package health state chunks that respect the input filters in the chunk query." + } + } + }, + "DeployedServicePackageHealthStateFilter": { + "description": "Defines matching criteria to determine whether a deployed service package should be included as a child of a deployed application in the cluster health chunk.\nThe deployed service packages are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent deployed application and its parent application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple deployed service packages, depending on its properties.", + "properties": { + "ServiceManifestNameFilter": { + "type": "string", + "description": "The name of the service manifest which identifies the deployed service packages that matches the filter.\nIf specified, the filter is applied only to the specified deployed service packages, if any.\nIf no deployed service packages with specified manifest name exist, nothing is returned in the cluster health chunk based on this filter.\nIf any deployed service package exists, they are included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all deployed service packages that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "ServicePackageActivationIdFilter": { + "type": "string", + "description": "The activation ID of a deployed service package that matches the filter.\nIf not specified, the filter applies to all deployed service packages that match the other parameters.\nIf specified, the filter matches only the deployed service package with the specified activation ID." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the deployed service packages. It allows selecting deployed service packages if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the parent deployed application aggregated health state.\nIf not specified, default value is None, unless the deployed service package ID is specified. If the filter has default value and deployed service package ID is specified, the matching deployed service package is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches deployed service packages with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + } + } + }, + "DeployedServicePackageHealthStateList": { + "description": "List of health states for a service package deployed on a Service Fabric node.", + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServicePackageHealthState" + } + }, + "DeployedServicePackagesHealthEvaluation": { + "x-ms-discriminator-value": "DeployedServicePackages", + "description": "Represents health evaluation for deployed service packages, containing health evaluations for each unhealthy deployed service package that impacted current aggregated health state. Can be returned when evaluating deployed application health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of deployed service packages of the deployed application in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedServicePackageHealthEvaluation that impacted the aggregated health." + } + } + }, + "DeployedServiceReplicaInfo": { + "discriminator": "ServiceKind", + "description": "Information about a Service Fabric service replica deployed on a node.", + "required": [ + "ServiceKind" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "ServiceTypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service manifest in which this service type is defined." + }, + "CodePackageName": { + "$ref": "#/definitions/CodePackageName", + "description": "The name of the code package that hosts this replica." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + }, + "ReplicaStatus": { + "$ref": "#/definitions/ReplicaStatus", + "description": "The status of a replica of a service." + }, + "Address": { + "type": "string", + "description": "The last address returned by the replica in Open or ChangeRole." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + }, + "HostProcessId": { + "type": "string", + "description": "Host process ID of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process ID will be from different kernel." + } + } + }, + "DeployedServiceReplicaInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServiceReplicaInfo" + }, + "description": "List of deployed service replica information." + }, + "DeployedStatefulServiceReplicaInfo": { + "description": "Information about a stateful service replica deployed on a node.", + "x-ms-discriminator-value": "Stateful", + "allOf": [ + { + "$ref": "#/definitions/DeployedServiceReplicaInfo" + } + ], + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + }, + "ReplicaRole": { + "$ref": "#/definitions/ReplicaRole", + "description": "The role of a replica of a stateful service." + }, + "ReconfigurationInformation": { + "$ref": "#/definitions/ReconfigurationInformation", + "description": "Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time." + } + } + }, + "DeployedStatelessServiceInstanceInfo": { + "description": "Information about a stateless service instance deployed on a node.", + "x-ms-discriminator-value": "Stateless", + "allOf": [ + { + "$ref": "#/definitions/DeployedServiceReplicaInfo" + } + ], + "properties": { + "InstanceId": { + "$ref": "#/definitions/InstanceId", + "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId." + } + } + }, + "EntityHealth": { + "description": "Health information common to all entities in the cluster. It contains the aggregated health state, health events and unhealthy evaluation.", + "properties": { + "AggregatedHealthState": { + "$ref": "#/definitions/HealthState", + "description": "The HealthState representing the aggregated health state of the entity computed by Health Manager.\nThe health evaluation of the entity reflects all events reported on the entity and its children (if any).\nThe aggregation is done by applying the desired health policy." + }, + "HealthEvents": { + "type": "array", + "items": { + "$ref": "#/definitions/HealthEvent" + }, + "description": "The list of health events reported on the entity." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager." + }, + "HealthStatistics": { + "$ref": "#/definitions/HealthStatistics", + "description": "Shows the health statistics for all children types of the queried entity." + } + } + }, + "EntityHealthState": { + "description": "A base type for the health state of various entities in the cluster. It contains the aggregated health state.", + "properties": { + "AggregatedHealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + } + } + }, + "EntityHealthStateChunk": { + "description": "A base type for the health state chunk of various entities in the cluster. It contains the aggregated health state.", + "properties": { + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + } + } + }, + "EntityHealthStateChunkList": { + "description": "A base type for the list of health state chunks found in the cluster. It contains the total number of health states that match the input filters.", + "properties": { + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of entity health state objects that match the specified filters from the cluster health chunk query description." + } + } + }, + "Epoch": { + "description": "An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.", + "properties": { + "ConfigurationVersion": { + "type": "string", + "description": "The current configuration number of this Epoch. The configuration number is an increasing value that is updated whenever the configuration of this replica set changes." + }, + "DataLossVersion": { + "type": "string", + "description": "The current data loss number of this Epoch. The data loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica." + } + } + }, + "EventHealthEvaluation": { + "x-ms-discriminator-value": "Event", + "description": "Represents health evaluation of a HealthEvent that was reported on the entity.\nThe health evaluation is returned when evaluating health of an entity results in Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "ConsiderWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity." + }, + "UnhealthyEvent": { + "$ref": "#/definitions/HealthEvent", + "description": "Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager." + } + } + }, + "EventList": { + "description": "A list of FabricEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/FabricEvent" + } + }, + "FabricCodeVersionInfo": { + "description": "Information about a Service Fabric code version.", + "properties": { + "CodeVersion": { + "description": "The product version of Service Fabric.", + "type": "string" + } + } + }, + "FabricCodeVersionInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/FabricCodeVersionInfo" + }, + "description": "List of all Service Fabric code versions." + }, + "FabricConfigVersionInfo": { + "description": "Information about a Service Fabric config version.", + "properties": { + "ConfigVersion": { + "description": "The config version of Service Fabric.", + "type": "string" + } + } + }, + "FabricConfigVersionInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/FabricConfigVersionInfo" + }, + "description": "List of all Service Fabric config versions." + }, + "FabricEvent": { + "discriminator": "Kind", + "description": "Represents the base for all Fabric Events.", + "properties": { + "Kind": { + "$ref": "#/definitions/FabricEventKind", + "description": "The kind of FabricEvent." + }, + "EventInstanceId": { + "type": "string", + "format": "uuid", + "description": "The identifier for the FabricEvent instance." + }, + "Category": { + "type": "string", + "description": "The category of event." + }, + "TimeStamp": { + "type": "string", + "format": "date-time", + "description": "The time event was logged." + }, + "HasCorrelatedEvents": { + "type": "boolean", + "description": "Shows there is existing related events available." + } + }, + "required": [ + "Kind", + "EventInstanceId", + "TimeStamp" + ] + }, + "FabricEventKind": { + "type": "string", + "description": "The kind of FabricEvent.", + "enum": [ + "ClusterEvent", + "ContainerInstanceEvent", + "NodeEvent", + "ApplicationEvent", + "ServiceEvent", + "PartitionEvent", + "ReplicaEvent", + "PartitionAnalysisEvent", + "ApplicationCreated", + "ApplicationDeleted", + "ApplicationNewHealthReport", + "ApplicationHealthReportExpired", + "ApplicationUpgradeCompleted", + "ApplicationUpgradeDomainCompleted", + "ApplicationUpgradeRollbackCompleted", + "ApplicationUpgradeRollbackStarted", + "ApplicationUpgradeStarted", + "DeployedApplicationNewHealthReport", + "DeployedApplicationHealthReportExpired", + "ApplicationProcessExited", + "ApplicationContainerInstanceExited", + "NodeAborted", + "NodeAddedToCluster", + "NodeClosed", + "NodeDeactivateCompleted", + "NodeDeactivateStarted", + "NodeDown", + "NodeNewHealthReport", + "NodeHealthReportExpired", + "NodeOpenSucceeded", + "NodeOpenFailed", + "NodeRemovedFromCluster", + "NodeUp", + "PartitionNewHealthReport", + "PartitionHealthReportExpired", + "PartitionReconfigured", + "PartitionPrimaryMoveAnalysis", + "ServiceCreated", + "ServiceDeleted", + "ServiceNewHealthReport", + "ServiceHealthReportExpired", + "DeployedServicePackageNewHealthReport", + "DeployedServicePackageHealthReportExpired", + "StatefulReplicaNewHealthReport", + "StatefulReplicaHealthReportExpired", + "StatelessReplicaNewHealthReport", + "StatelessReplicaHealthReportExpired", + "ClusterNewHealthReport", + "ClusterHealthReportExpired", + "ClusterUpgradeCompleted", + "ClusterUpgradeDomainCompleted", + "ClusterUpgradeRollbackCompleted", + "ClusterUpgradeRollbackStarted", + "ClusterUpgradeStarted", + "ChaosStopped", + "ChaosStarted", + "ChaosCodePackageRestartScheduled", + "ChaosReplicaRemovalScheduled", + "ChaosPartitionSecondaryMoveScheduled", + "ChaosPartitionPrimaryMoveScheduled", + "ChaosReplicaRestartScheduled", + "ChaosNodeRestartScheduled" + ], + "x-ms-enum": { + "name": "FabricEventKind", + "modelAsString": true, + "values": [ + { + "value": "ClusterEvent" + }, + { + "value": "ContainerInstanceEvent" + }, + { + "value": "NodeEvent" + }, + { + "value": "ApplicationEvent" + }, + { + "value": "ServiceEvent" + }, + { + "value": "PartitionEvent" + }, + { + "value": "ReplicaEvent" + }, + { + "value": "PartitionAnalysisEvent" + }, + { + "value": "ApplicationCreated" + }, + { + "value": "ApplicationDeleted" + }, + { + "value": "ApplicationNewHealthReport" + }, + { + "value": "ApplicationHealthReportExpired" + }, + { + "value": "ApplicationUpgradeCompleted" + }, + { + "value": "ApplicationUpgradeDomainCompleted" + }, + { + "value": "ApplicationUpgradeRollbackCompleted" + }, + { + "value": "ApplicationUpgradeRollbackStarted" + }, + { + "value": "ApplicationUpgradeStarted" + }, + { + "value": "DeployedApplicationNewHealthReport" + }, + { + "value": "DeployedApplicationHealthReportExpired" + }, + { + "value": "ApplicationProcessExited" + }, + { + "value": "ApplicationContainerInstanceExited" + }, + { + "value": "NodeAborted" + }, + { + "value": "NodeAddedToCluster" + }, + { + "value": "NodeClosed" + }, + { + "value": "NodeDeactivateCompleted" + }, + { + "value": "NodeDeactivateStarted" + }, + { + "value": "NodeDown" + }, + { + "value": "NodeNewHealthReport" + }, + { + "value": "NodeHealthReportExpired" + }, + { + "value": "NodeOpenSucceeded" + }, + { + "value": "NodeOpenFailed" + }, + { + "value": "NodeRemovedFromCluster" + }, + { + "value": "NodeUp" + }, + { + "value": "PartitionNewHealthReport" + }, + { + "value": "PartitionHealthReportExpired" + }, + { + "value": "PartitionReconfigured" + }, + { + "value": "PartitionPrimaryMoveAnalysis" + }, + { + "value": "ServiceCreated" + }, + { + "value": "ServiceDeleted" + }, + { + "value": "ServiceNewHealthReport" + }, + { + "value": "ServiceHealthReportExpired" + }, + { + "value": "DeployedServicePackageNewHealthReport" + }, + { + "value": "DeployedServicePackageHealthReportExpired" + }, + { + "value": "StatefulReplicaNewHealthReport" + }, + { + "value": "StatefulReplicaHealthReportExpired" + }, + { + "value": "StatelessReplicaNewHealthReport" + }, + { + "value": "StatelessReplicaHealthReportExpired" + }, + { + "value": "ClusterNewHealthReport" + }, + { + "value": "ClusterHealthReportExpired" + }, + { + "value": "ClusterUpgradeCompleted" + }, + { + "value": "ClusterUpgradeDomainCompleted" + }, + { + "value": "ClusterUpgradeRollbackCompleted" + }, + { + "value": "ClusterUpgradeRollbackStarted" + }, + { + "value": "ClusterUpgradeStarted" + }, + { + "value": "ChaosStopped" + }, + { + "value": "ChaosStarted" + }, + { + "value": "ChaosCodePackageRestartScheduled" + }, + { + "value": "ChaosReplicaRemovalScheduled" + }, + { + "value": "ChaosPartitionSecondaryMoveScheduled" + }, + { + "value": "ChaosPartitionPrimaryMoveScheduled" + }, + { + "value": "ChaosReplicaRestartScheduled" + }, + { + "value": "ChaosNodeRestartScheduled" + } + ] + } + }, + "ClusterConfigurationUpgradeStatusInfo": { + "description": "Information about a standalone cluster configuration upgrade status.", + "properties": { + "UpgradeState": { + "$ref": "#/definitions/UpgradeState", + "description": "The state of the upgrade domain." + }, + "ProgressStatus": { + "type": "integer", + "description": "The cluster manifest version." + }, + "ConfigVersion": { + "type": "string", + "description": "The cluster configuration version." + }, + "Details": { + "type": "string", + "description": "The cluster upgrade status details." + } + } + }, + "FailureAction": { + "type": "string", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.", + "enum": [ + "Invalid", + "Rollback", + "Manual" + ], + "x-ms-enum": { + "name": "FailureAction", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the failure action is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Rollback", + "description": "The upgrade will start rolling back automatically. The value is 1" + }, + { + "value": "Manual", + "description": "The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2" + } + ] + } + }, + "FailureReason": { + "type": "string", + "description": "The cause of an upgrade failure that resulted in FailureAction being executed.", + "enum": [ + "None", + "Interrupted", + "HealthCheck", + "UpgradeDomainTimeout", + "OverallUpgradeTimeout" + ], + "x-ms-enum": { + "name": "FailureReason", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Indicates the reason is invalid or unknown. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Interrupted", + "description": "There was an external request to roll back the upgrade. The value is 1" + }, + { + "value": "HealthCheck", + "description": "The upgrade failed due to health policy violations. The value is 2" + }, + { + "value": "UpgradeDomainTimeout", + "description": "An upgrade domain took longer than the allowed upgrade domain timeout to process. The value is 3" + }, + { + "value": "OverallUpgradeTimeout", + "description": "The overall upgrade took longer than the allowed upgrade timeout to process. The value is 4" + } + ] + } + }, + "FailureUpgradeDomainProgressInfo": { + "description": "Information about the upgrade domain progress at the time of upgrade failure.", + "properties": { + "DomainName": { + "$ref": "#/definitions/UpgradeDomainName", + "description": "The name of the upgrade domain" + }, + "NodeUpgradeProgressList": { + "$ref": "#/definitions/NodeUpgradeProgressInfoList", + "description": "List of upgrading nodes and their statuses" + } + } + }, + "ForceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).", + "default": false + }, + "HealthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H10M0S" + }, + "HealthCheckStableDuration": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H2M0S" + }, + "HealthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "0" + }, + "HealthEvaluation": { + "discriminator": "Kind", + "description": "Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.", + "properties": { + "Kind": { + "$ref": "#/definitions/HealthEvaluationKind", + "description": "The health manager in the cluster performs health evaluations in determining the aggregated health state of an entity. This enumeration provides information on the kind of evaluation that was performed. Following are the possible values." + }, + "AggregatedHealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "Description": { + "type": "string", + "description": "Description of the health evaluation, which represents a summary of the evaluation process." + } + }, + "required": [ + "Kind" + ] + }, + "HealthEvaluationKind": { + "type": "string", + "description": "The health manager in the cluster performs health evaluations in determining the aggregated health state of an entity. This enumeration provides information on the kind of evaluation that was performed. Following are the possible values.", + "enum": [ + "Invalid", + "Event", + "Replicas", + "Partitions", + "DeployedServicePackages", + "DeployedApplications", + "Services", + "Nodes", + "Applications", + "SystemApplication", + "UpgradeDomainDeployedApplications", + "UpgradeDomainNodes", + "Replica", + "Partition", + "DeployedServicePackage", + "DeployedApplication", + "Service", + "Node", + "Application", + "DeltaNodesCheck", + "UpgradeDomainDeltaNodesCheck", + "ApplicationTypeApplications" + ], + "x-ms-enum": { + "name": "HealthEvaluationKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the health evaluation is invalid. The value is zero." + }, + { + "value": "Event", + "description": "Indicates that the health evaluation is for a health event. The value is 1." + }, + { + "value": "Replicas", + "description": "Indicates that the health evaluation is for the replicas of a partition. The value is 2." + }, + { + "value": "Partitions", + "description": "Indicates that the health evaluation is for the partitions of a service. The value is 3." + }, + { + "value": "DeployedServicePackages", + "description": "Indicates that the health evaluation is for the deployed service packages of a deployed application. The value is 4." + }, + { + "value": "DeployedApplications", + "description": "Indicates that the health evaluation is for the deployed applications of an application. The value is 5." + }, + { + "value": "Services", + "description": "Indicates that the health evaluation is for services of an application. The value is 6." + }, + { + "value": "Nodes", + "description": "Indicates that the health evaluation is for the cluster nodes. The value is 7." + }, + { + "value": "Applications", + "description": "Indicates that the health evaluation is for the cluster applications. The value is 8." + }, + { + "value": "SystemApplication", + "description": "Indicates that the health evaluation is for the system application. The value is 9." + }, + { + "value": "UpgradeDomainDeployedApplications", + "description": "Indicates that the health evaluation is for the deployed applications of an application in an upgrade domain. The value is 10." + }, + { + "value": "UpgradeDomainNodes", + "description": "Indicates that the health evaluation is for the cluster nodes in an upgrade domain. The value is 11." + }, + { + "value": "Replica", + "description": "Indicates that the health evaluation is for a replica. The value is 13." + }, + { + "value": "Partition", + "description": "Indicates that the health evaluation is for a partition. The value is 14." + }, + { + "value": "DeployedServicePackage", + "description": "Indicates that the health evaluation is for a deployed service package. The value is 16." + }, + { + "value": "DeployedApplication", + "description": "Indicates that the health evaluation is for a deployed application. The value is 17." + }, + { + "value": "Service", + "description": "Indicates that the health evaluation is for a service. The value is 15." + }, + { + "value": "Node", + "description": "Indicates that the health evaluation is for a node. The value is 12." + }, + { + "value": "Application", + "description": "Indicates that the health evaluation is for an application. The value is 18." + }, + { + "value": "DeltaNodesCheck", + "description": "Indicates that the health evaluation is for the delta of unhealthy cluster nodes. The value is 19." + }, + { + "value": "UpgradeDomainDeltaNodesCheck", + "description": "Indicates that the health evaluation is for the delta of unhealthy upgrade domain cluster nodes. The value is 20." + }, + { + "value": "ApplicationTypeApplications", + "description": "– Indicates that the health evaluation is for applications of an application type. The value is 21." + } + ] + } + }, + "HealthEvaluationWrapper": { + "description": "Wrapper object for health evaluation.", + "properties": { + "HealthEvaluation": { + "$ref": "#/definitions/HealthEvaluation", + "description": "Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity." + } + } + }, + "HealthEvent": { + "description": "Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.", + "allOf": [ + { + "$ref": "#/definitions/HealthInformation" + } + ], + "properties": { + "IsExpired": { + "type": "boolean", + "description": "Returns true if the health event is expired, otherwise false." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The date and time when the health report was sent by the source." + }, + "LastModifiedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The date and time when the health report was last modified by the health store." + }, + "LastOkTransitionAt": { + "type": "string", + "format": "date-time", + "description": "If the current health state is 'Ok', this property returns the time at which the health report was first reported with 'Ok'.\nFor periodic reporting, many reports with the same state may have been generated.\nThis property returns the date and time when the first 'Ok' health report was received.\n\nIf the current health state is 'Error' or 'Warning', returns the date and time at which the health state was last in 'Ok', before transitioning to a different state.\n\nIf the health state was never 'Ok', the value will be zero date-time." + }, + "LastWarningTransitionAt": { + "type": "string", + "format": "date-time", + "description": "If the current health state is 'Warning', this property returns the time at which the health report was first reported with 'Warning'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Warning' health report was received.\n\nIf the current health state is 'Ok' or 'Error', returns the date and time at which the health state was last in 'Warning', before transitioning to a different state.\n\nIf the health state was never 'Warning', the value will be zero date-time." + }, + "LastErrorTransitionAt": { + "type": "string", + "format": "date-time", + "description": "If the current health state is 'Error', this property returns the time at which the health report was first reported with 'Error'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Error' health report was received.\n\nIf the current health state is 'Ok' or 'Warning', returns the date and time at which the health state was last in 'Error', before transitioning to a different state.\n\nIf the health state was never 'Error', the value will be zero date-time." + } + } + }, + "HealthInformation": { + "description": "Represents common health report information. It is included in all health reports sent to health store and in all health events returned by health queries.", + "required": [ + "SourceId", + "Property", + "HealthState" + ], + "properties": { + "SourceId": { + "type": "string", + "description": "The source name that identifies the client/watchdog/system component that generated the health information." + }, + "Property": { + "type": "string", + "description": "The property of the health information. An entity can have health reports for different properties.\nThe property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report.\nFor example, a reporter with SourceId \"LocalWatchdog\" can monitor the state of the available disk on a node,\nso it can report \"AvailableDisk\" property on that node.\nThe same reporter can monitor the node connectivity, so it can report a property \"Connectivity\" on the same node.\nIn the health store, these reports are treated as separate health events for the specified node.\n\nTogether with the SourceId, the property uniquely identifies the health information." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "TimeToLiveInMilliSeconds": { + "type": "string", + "format": "duration", + "description": "The duration for which this health report is valid. This field uses ISO8601 format for specifying the duration.\nWhen clients report periodically, they should send reports with higher frequency than time to live.\nIf clients report on transition, they can set the time to live to infinite.\nWhen time to live expires, the health event that contains the health information\nis either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false.\n\nIf not specified, time to live defaults to infinite value." + }, + "Description": { + "type": "string", + "description": "The description of the health information. It represents free text used to add human readable information about the report.\nThe maximum string length for the description is 4096 characters.\nIf the provided string is longer, it will be automatically truncated.\nWhen truncated, the last characters of the description contain a marker \"[Truncated]\", and total string size is 4096 characters.\nThe presence of the marker indicates to users that truncation occurred.\nNote that when truncated, the description has less than 4096 characters from the original string." + }, + "SequenceNumber": { + "type": "string", + "description": "The sequence number for this health report as a numeric string.\nThe report sequence number is used by the health store to detect stale reports.\nIf not specified, a sequence number is auto-generated by the health client when a report is added." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Value that indicates whether the report is removed from health store when it expires.\nIf set to true, the report is removed from the health store after it expires.\nIf set to false, the report is treated as an error when expired. The value of this property is false by default.\nWhen clients report periodically, they should set RemoveWhenExpired false (default).\nThis way, if the reporter has issues (e.g. deadlock) and can't report, the entity is evaluated at error when the health report expires.\nThis flags the entity as being in Error health state." + } + } + }, + "Int64RangePartitionInformation": { + "description": "Describes the partition information for the integer range that is based on partition schemes.", + "allOf": [ + { + "$ref": "#/definitions/PartitionInformation" + } + ], + "x-ms-discriminator-value": "Int64Range", + "properties": { + "LowKey": { + "type": "string", + "description": "Specifies the minimum key value handled by this partition." + }, + "HighKey": { + "type": "string", + "description": "Specifies the maximum key value handled by this partition." + } + } + }, + "MonitoringPolicyDescription": { + "description": "Describes the parameters for monitoring an upgrade in Monitored mode.", + "properties": { + "FailureAction": { + "$ref": "#/definitions/FailureAction", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "HealthCheckWaitDurationInMilliseconds": { + "$ref": "#/definitions/HealthCheckWaitDuration", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "HealthCheckStableDurationInMilliseconds": { + "$ref": "#/definitions/HealthCheckStableDuration", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "HealthCheckRetryTimeoutInMilliseconds": { + "$ref": "#/definitions/HealthCheckRetryTimeout", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "UpgradeTimeoutInMilliseconds": { + "$ref": "#/definitions/UpgradeTimeout", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "UpgradeDomainTimeoutInMilliseconds": { + "$ref": "#/definitions/UpgradeDomainTimeout", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + } + } + }, + "NamedPartitionInformation": { + "description": "Describes the partition information for the name as a string that is based on partition schemes.", + "allOf": [ + { + "$ref": "#/definitions/PartitionInformation" + } + ], + "x-ms-discriminator-value": "Named", + "properties": { + "Name": { + "type": "string", + "description": "Name of the partition." + } + } + }, + "NextUpgradeDomain": { + "type": "string", + "description": "The name of the next upgrade domain to be processed." + }, + "NodeDeactivationInfo": { + "description": "Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.", + "properties": { + "NodeDeactivationIntent": { + "$ref": "#/definitions/NodeDeactivationIntent", + "description": "The intent or the reason for deactivating the node. Following are the possible values for it." + }, + "NodeDeactivationStatus": { + "$ref": "#/definitions/NodeDeactivationStatus", + "description": "The status of node deactivation operation. Following are the possible values." + }, + "NodeDeactivationTask": { + "$ref": "#/definitions/NodeDeactivationTaskList", + "description": "List of tasks representing the deactivation operation on the node." + }, + "PendingSafetyChecks": { + "$ref": "#/definitions/SafetyCheckInfoList", + "description": "List of pending safety checks" + } + } + }, + "NodeDeactivationIntent": { + "type": "string", + "description": "The intent or the reason for deactivating the node. Following are the possible values for it.", + "enum": [ + "Invalid", + "Pause", + "Restart", + "RemoveData", + "RemoveNode" + ], + "x-ms-enum": { + "name": "NodeDeactivationIntent", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the node deactivation intent is invalid. All Service Fabric enumerations have the invalid type. The value is zero. This value is not used." + }, + { + "value": "Pause", + "description": "Indicates that the node should be paused. The value is 1." + }, + { + "value": "Restart", + "description": "Indicates that the intent is for the node to be restarted after a short period of time. Service Fabric does not restart the node, this action is done outside of Service Fabric. The value is 2." + }, + { + "value": "RemoveData", + "description": "Indicates that the intent is to reimage the node. Service Fabric does not reimage the node, this action is done outside of Service Fabric. The value is 3." + }, + { + "value": "RemoveNode", + "description": "Indicates that the node is being decommissioned and is not expected to return. Service Fabric does not decommission the node, this action is done outside of Service Fabric. The value is 4." + } + ] + } + }, + "NodeDeactivationStatus": { + "type": "string", + "description": "The status of node deactivation operation. Following are the possible values.", + "enum": [ + "None", + "SafetyCheckInProgress", + "SafetyCheckComplete", + "Completed" + ], + "x-ms-enum": { + "name": "NodeDeactivationStatus", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No status is associated with the task. The value is zero." + }, + { + "value": "SafetyCheckInProgress", + "description": "When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that one or more safety checks are in progress. The value is 1." + }, + { + "value": "SafetyCheckComplete", + "description": "When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that all safety checks have been completed. The value is 2." + }, + { + "value": "Completed", + "description": "The task is completed. The value is 3." + } + ] + } + }, + "NodeDeactivationTask": { + "description": "The task representing the deactivation operation on the node.", + "properties": { + "NodeDeactivationTaskId": { + "$ref": "#/definitions/NodeDeactivationTaskId", + "description": "Identity of the task related to deactivation operation on the node." + }, + "NodeDeactivationIntent": { + "$ref": "#/definitions/NodeDeactivationIntent", + "description": "The intent or the reason for deactivating the node. Following are the possible values for it." + } + } + }, + "NodeDeactivationTaskId": { + "description": "Identity of the task related to deactivation operation on the node.", + "properties": { + "Id": { + "type": "string", + "description": "Value of the task id." + }, + "NodeDeactivationTaskType": { + "$ref": "#/definitions/NodeDeactivationTaskType", + "description": "The type of the task that performed the node deactivation. Following are the possible values." + } + } + }, + "NodeDeactivationTaskList": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeDeactivationTask" + }, + "description": "List of tasks representing the deactivation operation on the node." + }, + "NodeDeactivationTaskType": { + "type": "string", + "description": "The type of the task that performed the node deactivation. Following are the possible values.", + "enum": [ + "Invalid", + "Infrastructure", + "Repair", + "Client" + ], + "x-ms-enum": { + "name": "NodeDeactivationTaskType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the node deactivation task type is invalid. All Service Fabric enumerations have the invalid type. The value is zero. This value is not used." + }, + { + "value": "Infrastructure", + "description": "Specifies the task created by Infrastructure hosting the nodes. The value is 1." + }, + { + "value": "Repair", + "description": "Specifies the task that was created by the Repair Manager service. The value is 2." + }, + { + "value": "Client", + "description": "Specifies that the task was created by using the public API. The value is 3." + } + ] + } + }, + "NodeEvent": { + "description": "Represents the base for all Node Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + } + }, + "required": [ + "NodeName" + ], + "x-ms-discriminator-value": "NodeEvent" + }, + "NodeEventList": { + "description": "A list of NodeEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/NodeEvent" + } + }, + "NodeHealth": { + "description": "Information about the health of a Service Fabric node.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node whose health information is described by this object." + } + } + }, + "NodeHealthEvaluation": { + "x-ms-discriminator-value": "Node", + "description": "Represents health evaluation for a node, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the node. The types of the unhealthy evaluations can be EventHealthEvaluation." + } + } + }, + "NodeHealthState": { + "description": "Represents the health state of a node, which contains the node identifier and its aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "Id": { + "$ref": "#/definitions/NodeId", + "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name." + } + } + }, + "NodeHealthStateChunk": { + "description": "Represents the health state chunk of a node, which contains the node name and its aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + } + } + }, + "NodeHealthStateChunkList": { + "description": "The list of node health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunkList" + } + ], + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeHealthStateChunk" + }, + "description": "The list of node health state chunks that respect the input filters in the chunk query." + } + } + }, + "NodeHealthStateFilter": { + "description": "Defines matching criteria to determine whether a node should be included in the returned cluster health chunk.\nOne filter can match zero, one or multiple nodes, depending on its properties.\nCan be specified in the cluster health chunk query description.", + "properties": { + "NodeNameFilter": { + "type": "string", + "description": "Name of the node that matches the filter. The filter is applied only to the specified node, if it exists.\nIf the node doesn't exist, no node is returned in the cluster health chunk based on this filter.\nIf the node exists, it is included in the cluster health chunk if the health state matches the other filter properties.\nIf not specified, all nodes that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the nodes. It allows selecting nodes if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching node is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches nodes with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + } + } + }, + "NodeId": { + "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.", + "properties": { + "Id": { + "type": "string", + "description": "Value of the node Id. This is a 128 bit integer." + } + } + }, + "NodeIdList": { + "description": "A list of NodeIds.", + "type": "array", + "items": { + "$ref": "#/definitions/NodeId" + } + }, + "NodeInfo": { + "description": "Information about a node in Service Fabric cluster.", + "properties": { + "Name": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "The IP address or fully qualified domain name of the node." + }, + "Type": { + "type": "string", + "description": "The type of the node." + }, + "CodeVersion": { + "type": "string", + "description": "The version of Service Fabric binaries that the node is running." + }, + "ConfigVersion": { + "type": "string", + "description": "The version of Service Fabric cluster manifest that the node is using." + }, + "NodeStatus": { + "$ref": "#/definitions/NodeStatus", + "description": "The status of the node." + }, + "NodeUpTimeInSeconds": { + "type": "string", + "description": "Time in seconds since the node has been in NodeStatus Up. Value zero indicates that the node is not Up." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "IsSeedNode": { + "type": "boolean", + "description": "Indicates if the node is a seed node or not. Returns true if the node is a seed node, otherwise false. A quorum of seed nodes are required for proper operation of Service Fabric cluster." + }, + "UpgradeDomain": { + "type": "string", + "description": "The upgrade domain of the node." + }, + "FaultDomain": { + "type": "string", + "description": "The fault domain of the node." + }, + "Id": { + "$ref": "#/definitions/NodeId", + "description": "An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name." + }, + "InstanceId": { + "type": "string", + "description": "The ID representing the node instance. While the ID of the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts." + }, + "NodeDeactivationInfo": { + "$ref": "#/definitions/NodeDeactivationInfo", + "description": "Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated." + }, + "IsStopped": { + "type": "boolean", + "description": "Indicates if the node is stopped by calling stop node API or not. Returns true if the node is stopped, otherwise false." + }, + "NodeDownTimeInSeconds": { + "type": "string", + "description": "Time in seconds since the node has been in NodeStatus Down. Value zero indicates node is not NodeStatus Down." + }, + "NodeUpAt": { + "type": "string", + "format": "date-time", + "description": "Date time in UTC when the node came up. If the node has never been up then this value will be zero date time." + }, + "NodeDownAt": { + "type": "string", + "format": "date-time", + "description": "Date time in UTC when the node went down. If node has never been down then this value will be zero date time." + } + } + }, + "NodeLoadInfo": { + "description": "Information about load on a Service Fabric node. It holds a summary of all metrics and their load on a node.", + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "Name of the node for which the load information is provided by this object." + }, + "NodeLoadMetricInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeLoadMetricInformation" + }, + "description": "List that contains metrics and their load information on this node." + } + } + }, + "NodeLoadMetricInformation": { + "description": "Represents data structure that contains load information for a certain metric on a node.", + "properties": { + "Name": { + "type": "string", + "description": "Name of the metric for which this load information is provided." + }, + "NodeCapacity": { + "type": "string", + "description": "Total capacity on the node for this metric." + }, + "NodeLoad": { + "type": "string", + "description": "Current load on the node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentNodeLoad." + }, + "NodeRemainingCapacity": { + "type": "string", + "description": "The remaining capacity on the node for this metric. In future releases of Service Fabric this parameter will be deprecated in favor of NodeCapacityRemaining." + }, + "IsCapacityViolation": { + "type": "boolean", + "description": "Indicates if there is a capacity violation for this metric on the node." + }, + "NodeBufferedCapacity": { + "type": "string", + "description": "The value that indicates the reserved capacity for this metric on the node." + }, + "NodeRemainingBufferedCapacity": { + "type": "string", + "description": "The remaining reserved capacity for this metric on the node. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedNodeCapacityRemaining." + }, + "CurrentNodeLoad": { + "type": "string", + "format": "double", + "description": "Current load on the node for this metric." + }, + "NodeCapacityRemaining": { + "type": "string", + "format": "double", + "description": "The remaining capacity on the node for the metric." + }, + "BufferedNodeCapacityRemaining": { + "type": "string", + "format": "double", + "description": "The remaining capacity which is not reserved by NodeBufferPercentage for this metric on the node." + }, + "PlannedNodeLoadRemoval": { + "type": "string", + "format": "double", + "description": "This value represents the load of the replicas that are planned to be removed in the future.\nThis kind of load is reported for replicas that are currently being moving to other nodes and for replicas that are currently being dropped but still use the load on the source node." + } + } + }, + "NodeName": { + "type": "string", + "description": "The name of a Service Fabric node." + }, + "NodeType": { + "type": "string", + "description": "The type name of a Service Fabric node.\nRefer to the article [The relationship between Service Fabric node types and Virtual Machine Scale Sets](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-nodetypes) for more details." + }, + "NodesHealthEvaluation": { + "x-ms-discriminator-value": "Nodes", + "description": "Represents health evaluation for nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "MaxPercentUnhealthyNodes": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of nodes found in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health." + } + } + }, + "NodeStatus": { + "type": "string", + "description": "The status of the node.", + "enum": [ + "Invalid", + "Up", + "Down", + "Enabling", + "Disabling", + "Disabled", + "Unknown", + "Removed" + ], + "x-ms-enum": { + "name": "NodeStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the node status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Up", + "description": "Indicates the node is up. The value is 1." + }, + { + "value": "Down", + "description": "Indicates the node is down. The value is 2." + }, + { + "value": "Enabling", + "description": "Indicates the node is in process of being enabled. The value is 3." + }, + { + "value": "Disabling", + "description": "Indicates the node is in the process of being disabled. The value is 4." + }, + { + "value": "Disabled", + "description": "Indicates the node is disabled. The value is 5." + }, + { + "value": "Unknown", + "description": "Indicates the node is unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime.The value is 6." + }, + { + "value": "Removed", + "description": "Indicates the node is removed. A node would be in Removed state if NodeStateRemoved API has been called for this node. In other words, Service Fabric has been informed that the persisted state on the node has been permanently lost. The value is 7." + } + ] + } + }, + "NodeUpgradePhase": { + "type": "string", + "description": "The state of the upgrading node.", + "enum": [ + "Invalid", + "PreUpgradeSafetyCheck", + "Upgrading", + "PostUpgradeSafetyCheck" + ], + "x-ms-enum": { + "name": "NodeUpgradePhase", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "PreUpgradeSafetyCheck", + "description": "The upgrade has not started yet due to pending safety checks. The value is 1" + }, + { + "value": "Upgrading", + "description": "The upgrade is in progress. The value is 2" + }, + { + "value": "PostUpgradeSafetyCheck", + "description": "The upgrade has completed and post upgrade safety checks are being performed. The value is 3" + } + ] + } + }, + "NodeUpgradeProgressInfo": { + "description": "Information about the upgrading node and its status", + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "UpgradePhase": { + "$ref": "#/definitions/NodeUpgradePhase", + "description": "The state of the upgrading node." + }, + "PendingSafetyChecks": { + "$ref": "#/definitions/SafetyCheckInfoList", + "description": "List of pending safety checks" + } + } + }, + "NodeUpgradeProgressInfoList": { + "type": "array", + "description": "List of upgrading nodes and their statuses", + "items": { + "$ref": "#/definitions/NodeUpgradeProgressInfo" + } + }, + "PagedApplicationInfoList": { + "description": "The list of applications in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of application information.", + "items": { + "$ref": "#/definitions/ApplicationInfo" + } + } + } + }, + "PagedDeployedApplicationInfoList": { + "description": "The list of deployed applications in activating, downloading, or active states on a node.\nThe list is paged when all of the results cannot fit in a single message.\nThe next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of deployed application information.", + "items": { + "$ref": "#/definitions/DeployedApplicationInfo" + } + } + } + }, + "PagedNodeInfoList": { + "description": "The list of nodes in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of node information.", + "items": { + "$ref": "#/definitions/NodeInfo" + } + } + } + }, + "PagedServicePartitionInfoList": { + "description": "The list of partition in the cluster for a service. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of service partition information.", + "items": { + "$ref": "#/definitions/ServicePartitionInfo" + } + } + } + }, + "PagedReplicaInfoList": { + "description": "The list of replicas in the cluster for a given partition. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of replica information.", + "items": { + "$ref": "#/definitions/ReplicaInfo" + } + } + } + }, + "PagedServiceInfoList": { + "description": "The list of services in the cluster for an application. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of service information.", + "items": { + "$ref": "#/definitions/ServiceInfo" + } + } + } + }, + "PartitionAnalysisEvent": { + "description": "Represents the base for all Partition Analysis Events.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "Metadata": { + "$ref": "#/definitions/AnalysisEventMetadata", + "description": "Metadata about an Analysis Event." + } + }, + "required": [ + "Metadata" + ], + "x-ms-discriminator-value": "PartitionAnalysisEvent" + }, + "PartitionEvent": { + "description": "Represents the base for all Partition Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + } + }, + "required": [ + "PartitionId" + ], + "x-ms-discriminator-value": "PartitionEvent" + }, + "PartitionEventList": { + "description": "A list of PartitionEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/PartitionEvent" + } + }, + "PartitionHealth": { + "description": "Information about the health of a Service Fabric partition.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "ID of the partition whose health information is described by this object." + }, + "ReplicaHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicaHealthState" + }, + "description": "The list of replica health states associated with the partition." + } + } + }, + "PartitionHealthEvaluation": { + "x-ms-discriminator-value": "Partition", + "description": "Represents health evaluation for a partition, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition whose health evaluation is described by this object." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the partition. The types of the unhealthy evaluations can be ReplicasHealthEvaluation or EventHealthEvaluation." + } + } + }, + "PartitionHealthState": { + "description": "Represents the health state of a partition, which contains the partition identifier and its aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition whose health state is described by this object." + } + } + }, + "PartitionHealthStateChunk": { + "description": "Represents the health state chunk of a partition, which contains the partition ID, its aggregated health state and any replicas that respect the filters in the cluster health chunk query description.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "The Id of the partition." + }, + "ReplicaHealthStateChunks": { + "$ref": "#/definitions/ReplicaHealthStateChunkList", + "description": "The list of replica health state chunks belonging to the partition that respect the filters in the cluster health chunk query description." + } + } + }, + "PartitionHealthStateChunkList": { + "description": "The list of partition health state chunks that respect the input filters in the chunk query description.\nReturned by get cluster health state chunks query as part of the parent application hierarchy.", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/PartitionHealthStateChunk" + }, + "description": "The list of partition health state chunks that respect the input filters in the chunk query." + } + } + }, + "PartitionHealthStateFilter": { + "description": "Defines matching criteria to determine whether a partition should be included as a child of a service in the cluster health chunk.\nThe partitions are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent service and application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple partitions, depending on its properties.", + "properties": { + "PartitionIdFilter": { + "type": "string", + "format": "uuid", + "description": "ID of the partition that matches the filter. The filter is applied only to the specified partition, if it exists.\nIf the partition doesn't exist, no partition is returned in the cluster health chunk based on this filter.\nIf the partition exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all partitions that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the partitions. It allows selecting partitions if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the partition ID is specified. If the filter has default value and partition ID is specified, the matching partition is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches partitions with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + }, + "ReplicaFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicaHealthStateFilter" + }, + "description": "Defines a list of filters that specify which replicas to be included in the returned cluster health chunk as children of the parent partition. The replicas are returned only if the parent partition matches a filter.\nIf the list is empty, no replicas are returned. All the replicas are used to evaluate the parent partition aggregated health state, regardless of the input filters.\nThe partition filter may specify multiple replica filters.\nFor example, it can specify a filter to return all replicas with health state Error and another filter to always include a replica identified by its replica id." + } + } + }, + "PartitionId": { + "type": "string", + "format": "uuid", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + }, + "PartitionInformation": { + "discriminator": "ServicePartitionKind", + "description": "Information about the partition identity, partitioning scheme and keys supported by it.", + "required": [ + "ServicePartitionKind" + ], + "properties": { + "ServicePartitionKind": { + "$ref": "#/definitions/ServicePartitionKind", + "description": "The kind of partitioning scheme used to partition the service." + }, + "Id": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + } + } + }, + "ProvisionFabricDescription": { + "description": "Describes the parameters for provisioning a cluster.", + "properties": { + "CodeFilePath": { + "type": "string", + "description": "The cluster code package file path." + }, + "ClusterManifestFilePath": { + "type": "string", + "description": "The cluster manifest file path." + } + } + }, + "ProvisionApplicationTypeKind": { + "type": "string", + "description": "The kind of application type registration or provision requested. The application package can be registered or provisioned either from the image store or from an external store. Following are the kinds of the application type provision.", + "enum": [ + "Invalid", + "ImageStorePath", + "ExternalStore" + ], + "x-ms-enum": { + "name": "ProvisionApplicationTypeKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the provision kind is invalid. This value is default and should not be used. The value is zero." + }, + { + "value": "ImageStorePath", + "description": "Indicates that the provision is for a package that was previously uploaded to the image store. The value is 1." + }, + { + "value": "ExternalStore", + "description": "Indicates that the provision is for an application package that was previously uploaded to an external store. The application package ends with the extension *.sfpkg. The value is 2." + } + ] + } + }, + "ProvisionApplicationTypeDescriptionBase": { + "discriminator": "Kind", + "description": "Represents the type of registration or provision requested, and if the operation needs to be asynchronous or not. Supported types of provision operations are from either image store or external store.", + "properties": { + "Kind": { + "$ref": "#/definitions/ProvisionApplicationTypeKind", + "description": "The kind of application type registration or provision requested. The application package can be registered or provisioned either from the image store or from an external store. Following are the kinds of the application type provision." + }, + "Async": { + "type": "boolean", + "description": "Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true." + } + }, + "required": [ + "Kind", + "Async" + ] + }, + "ProvisionApplicationTypeDescription": { + "description": "Describes the operation to register or provision an application type using an application package uploaded to the Service Fabric image store.", + "required": [ + "ApplicationTypeBuildPath" + ], + "allOf": [ + { + "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase" + } + ], + "properties": { + "ApplicationTypeBuildPath": { + "description": "The relative path for the application package in the image store specified during the prior upload operation.", + "type": "string" + }, + "ApplicationPackageCleanupPolicy": { + "$ref": "#/definitions/ApplicationPackageCleanupPolicy", + "description": "The kind of action that needs to be taken for cleaning up the application package after successful provision." + } + }, + "x-ms-discriminator-value": "ImageStorePath" + }, + "ExternalStoreProvisionApplicationTypeDescription": { + "description": "Describes the operation to register or provision an application type using an application package from an external store instead of a package uploaded to the Service Fabric image store.", + "allOf": [ + { + "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase" + } + ], + "properties": { + "ApplicationPackageDownloadUri": { + "description": "The path to the '.sfpkg' application package from where the application package can be downloaded using HTTP or HTTPS protocols. The application package can be stored in an external store that provides GET operation to download the file. Supported protocols are HTTP and HTTPS, and the path must allow READ access.", + "type": "string" + }, + "ApplicationTypeName": { + "description": "The application type name represents the name of the application type found in the application manifest.", + "type": "string" + }, + "ApplicationTypeVersion": { + "description": "The application type version represents the version of the application type found in the application manifest.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ExternalStore", + "required": [ + "ApplicationPackageDownloadUri", + "ApplicationTypeName", + "ApplicationTypeVersion" + ] + }, + "UnprovisionFabricDescription": { + "description": "Describes the parameters for unprovisioning a cluster.", + "properties": { + "CodeVersion": { + "type": "string", + "description": "The cluster code package version." + }, + "ConfigVersion": { + "type": "string", + "description": "The cluster manifest version." + } + } + }, + "ResumeClusterUpgradeDescription": { + "description": "Describes the parameters for resuming a cluster upgrade.", + "properties": { + "UpgradeDomain": { + "type": "string", + "description": "The next upgrade domain for this cluster upgrade." + } + }, + "required": [ + "UpgradeDomain" + ] + }, + "StartClusterUpgradeDescription": { + "description": "Describes the parameters for starting a cluster upgrade.", + "properties": { + "CodeVersion": { + "type": "string", + "description": "The cluster code version." + }, + "ConfigVersion": { + "type": "string", + "description": "The cluster configuration version." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeReplicaSetCheckTimeoutInSeconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "SortOrder": { + "$ref": "#/definitions/UpgradeSortOrder", + "description": "Defines the order in which an upgrade proceeds through the cluster." + }, + "MonitoringPolicy": { + "$ref": "#/definitions/MonitoringPolicyDescription", + "description": "Describes the parameters for monitoring an upgrade in Monitored mode." + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node." + }, + "EnableDeltaHealthEvaluation": { + "type": "boolean", + "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain." + }, + "ClusterUpgradeHealthPolicy": { + "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject", + "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade." + }, + "ApplicationHealthPolicyMap": { + "$ref": "#/definitions/ApplicationHealthPolicies", + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities." + } + } + }, + "UpdateClusterUpgradeDescription": { + "description": "Parameters for updating a cluster upgrade.", + "properties": { + "UpgradeKind": { + "$ref": "#/definitions/UpgradeType", + "description": "The type of upgrade out of the following possible values." + }, + "UpdateDescription": { + "$ref": "#/definitions/RollingUpgradeUpdateDescription", + "description": "Describes the parameters for updating a rolling upgrade of application or cluster." + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node." + }, + "EnableDeltaHealthEvaluation": { + "$ref": "#/definitions/DeltaHealthEvaluationBool", + "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain." + }, + "ClusterUpgradeHealthPolicy": { + "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject", + "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade." + }, + "ApplicationHealthPolicyMap": { + "$ref": "#/definitions/ApplicationHealthPolicies", + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities." + } + } + }, + "SafetyCheckKind": { + "type": "string", + "description": "The kind of safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state. Following are the kinds of safety checks.", + "enum": [ + "Invalid", + "EnsureSeedNodeQuorum", + "EnsurePartitionQuorum", + "WaitForPrimaryPlacement", + "WaitForPrimarySwap", + "WaitForReconfiguration", + "WaitForInbuildReplica", + "EnsureAvailability" + ], + "x-ms-enum": { + "name": "SafetyCheckKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the upgrade safety check kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "EnsureSeedNodeQuorum", + "description": "Indicates that if we bring down the node then this will result in global seed node quorum loss. The value is 1." + }, + { + "value": "EnsurePartitionQuorum", + "description": "Indicates that there is some partition for which if we bring down the replica on the node, it will result in quorum loss for that partition. The value is 2." + }, + { + "value": "WaitForPrimaryPlacement", + "description": "Indicates that there is some replica on the node that was moved out of this node due to upgrade. Service Fabric is now waiting for the primary to be moved back to this node. The value is 3." + }, + { + "value": "WaitForPrimarySwap", + "description": "Indicates that Service Fabric is waiting for a primary replica to be moved out of the node before starting upgrade on that node. The value is 4." + }, + { + "value": "WaitForReconfiguration", + "description": "Indicates that there is some replica on the node that is involved in a reconfiguration. Service Fabric is waiting for the reconfiguration to be complete before staring upgrade on that node. The value is 5." + }, + { + "value": "WaitForInbuildReplica", + "description": "Indicates that there is either a replica on the node that is going through copy, or there is a primary replica on the node that is copying data to some other replica. In both cases, bringing down the replica on the node due to upgrade will abort the copy. The value is 6." + }, + { + "value": "EnsureAvailability", + "description": "Indicates that there is either a stateless service partition on the node having exactly one instance, or there is a primary replica on the node for which the partition is quorum loss. In both cases, bringing down the replicas due to upgrade will result in loss of availability. The value is 7." + } + ] + } + }, + "SafetyCheck": { + "discriminator": "Kind", + "description": "Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.", + "properties": { + "Kind": { + "$ref": "#/definitions/SafetyCheckKind", + "description": "The kind of safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state. Following are the kinds of safety checks." + } + }, + "required": [ + "Kind" + ] + }, + "PartitionSafetyCheck": { + "description": "Represents a safety check for the service partition being performed by service fabric before continuing with operations.", + "allOf": [ + { + "$ref": "#/definitions/SafetyCheck" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition which is undergoing the safety check." + } + } + }, + "EnsureAvailabilitySafetyCheck": { + "description": "Safety check that waits to ensure the availability of the partition. It waits until there are replicas available such that bringing down this replica will not cause availability loss for the partition.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "EnsureAvailability" + }, + "EnsurePartitionQuorumSafetyCheck": { + "description": "Safety check that ensures that a quorum of replicas are not lost for a partition.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "EnsurePartitionQuorum" + }, + "SeedNodeSafetyCheck": { + "description": "Represents a safety check for the seed nodes being performed by service fabric before continuing with node level operations.", + "allOf": [ + { + "$ref": "#/definitions/SafetyCheck" + } + ], + "x-ms-discriminator-value": "EnsureSeedNodeQuorum" + }, + "PartitionsHealthEvaluation": { + "x-ms-discriminator-value": "Partitions", + "description": "Represents health evaluation for the partitions of a service, containing health evaluations for each unhealthy partition that impacts current aggregated health state. Can be returned when evaluating service health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "MaxPercentUnhealthyPartitionsPerService": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy partitions per service from the ServiceTypeHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of partitions of the service from the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy PartitionHealthEvaluation that impacted the aggregated health." + } + } + }, + "ReplicaEvent": { + "description": "Represents the base for all Replica Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + }, + "ReplicaId": { + "$ref": "#/definitions/ReplicaId_Integer", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + } + }, + "required": [ + "PartitionId", + "ReplicaId" + ], + "x-ms-discriminator-value": "ReplicaEvent" + }, + "ReplicaEventList": { + "description": "A list of ReplicaEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicaEvent" + } + }, + "ReplicaHealth": { + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "discriminator": "ServiceKind", + "description": "Represents a base class for stateful service replica or stateless service instance health.\nContains the replica aggregated health state, the health events and the unhealthy evaluations.", + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition to which this replica belongs." + } + }, + "required": [ + "ServiceKind" + ] + }, + "ReplicaHealthEvaluation": { + "x-ms-discriminator-value": "Replica", + "description": "Represents health evaluation for a replica, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition to which the replica belongs." + }, + "ReplicaOrInstanceId": { + "$ref": "#/definitions/ReplicaOrInstanceId", + "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the replica. The types of the unhealthy evaluations can be EventHealthEvaluation." + } + } + }, + "ReplicaHealthState": { + "discriminator": "ServiceKind", + "required": [ + "ServiceKind" + ], + "description": "Represents a base class for stateful service replica or stateless service instance health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "The ID of the partition to which this replica belongs." + } + } + }, + "ReplicaHealthStateChunk": { + "description": "Represents the health state chunk of a stateful service replica or a stateless service instance.\nThe replica health state contains the replica ID and its aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "ReplicaOrInstanceId": { + "$ref": "#/definitions/ReplicaOrInstanceId", + "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID." + } + } + }, + "ReplicaHealthStateChunkList": { + "description": "The list of replica health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicaHealthStateChunk" + }, + "description": "The list of replica health state chunks that respect the input filters in the chunk query." + } + } + }, + "ReplicaHealthStateFilter": { + "description": "Defines matching criteria to determine whether a replica should be included as a child of a partition in the cluster health chunk.\nThe replicas are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent partition, service and application must be included in the cluster health chunk.\nOne filter can match zero, one or multiple replicas, depending on its properties.", + "properties": { + "ReplicaOrInstanceIdFilter": { + "type": "string", + "description": "Id of the stateful service replica or stateless service instance that matches the filter. The filter is applied only to the specified replica, if it exists.\nIf the replica doesn't exist, no replica is returned in the cluster health chunk based on this filter.\nIf the replica exists, it is included in the cluster health chunk if it respects the other filter properties.\nIf not specified, all replicas that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the replicas. It allows selecting replicas if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only replicas that match the filter are returned. All replicas are used to evaluate the parent partition aggregated health state.\nIf not specified, default value is None, unless the replica ID is specified. If the filter has default value and replica ID is specified, the matching replica is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches replicas with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + } + } + }, + "ReplicaId": { + "type": "string", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + }, + "ReplicaId_Integer": { + "type": "integer", + "format": "int64", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + }, + "ReplicaOrInstanceId": { + "type": "string", + "description": "Id of a stateful service replica or a stateless service instance. This ID is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the ID. If a stateless instance is failed over on the same or different node it will get a different value for the ID." + }, + "ReplicaInfo": { + "discriminator": "ServiceKind", + "description": "Information about the identity, status, health, node name, uptime, and other details about the replica.", + "required": [ + "ServiceKind" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "ReplicaStatus": { + "$ref": "#/definitions/ReplicaStatus", + "description": "The status of a replica of a service." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "Address": { + "type": "string", + "description": "The address the replica is listening on." + }, + "LastInBuildDurationInSeconds": { + "type": "string", + "description": "The last in build duration of the replica in seconds." + } + } + }, + "ReplicaRole": { + "type": "string", + "description": "The role of a replica of a stateful service.", + "enum": [ + "Unknown", + "None", + "Primary", + "IdleSecondary", + "ActiveSecondary" + ], + "x-ms-enum": { + "name": "ReplicaRole", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Indicates the initial role that a replica is created in. The value is zero." + }, + { + "value": "None", + "description": "Specifies that the replica has no responsibility in regard to the replica set. The value is 1" + }, + { + "value": "Primary", + "description": "Refers to the replica in the set on which all read and write operations are complete in order to enforce strong consistency semantics. Read operations are handled directly by the Primary replica, while write operations must be acknowledged by a quorum of the replicas in the replica set. There can only be one Primary replica in a replica set at a time. The value is 2." + }, + { + "value": "IdleSecondary", + "description": "Refers to a replica in the set that receives a state transfer from the Primary replica to prepare for becoming an active Secondary replica. There can be multiple Idle Secondary replicas in a replica set at a time. Idle Secondary replicas do not count as a part of a write quorum. The value is 3." + }, + { + "value": "ActiveSecondary", + "description": "Refers to a replica in the set that receives state updates from the Primary replica, applies them, and sends acknowledgements back. Secondary replicas must participate in the write quorum for a replica set. There can be multiple active Secondary replicas in a replica set at a time. The number of active Secondary replicas is configurable that the reliability subsystem should maintain. The value is 4." + } + ] + } + }, + "ReplicasHealthEvaluation": { + "x-ms-discriminator-value": "Replicas", + "description": "Represents health evaluation for replicas, containing health evaluations for each unhealthy replica that impacted current aggregated health state. Can be returned when evaluating partition health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "MaxPercentUnhealthyReplicasPerPartition": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy replicas per partition from the ApplicationHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of replicas in the partition from the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ReplicaHealthEvaluation that impacted the aggregated health." + } + } + }, + "ReplicaStatus": { + "type": "string", + "description": "The status of a replica of a service.", + "enum": [ + "Invalid", + "InBuild", + "Standby", + "Ready", + "Down", + "Dropped" + ], + "x-ms-enum": { + "name": "ReplicaStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "InBuild", + "description": "The replica is being built. This means that a primary replica is seeding this replica. The value is 1." + }, + { + "value": "Standby", + "description": "The replica is in standby. The value is 2." + }, + { + "value": "Ready", + "description": "The replica is ready. The value is 3." + }, + { + "value": "Down", + "description": "The replica is down. The value is 4." + }, + { + "value": "Dropped", + "description": "Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5." + } + ] + } + }, + "RestartNodeDescription": { + "description": "Describes the parameters to restart a Service Fabric node.", + "properties": { + "NodeInstanceId": { + "type": "string", + "description": "The instance ID of the target node. If instance ID is specified the node is restarted only if it matches with the current instance of the node. A default value of \"0\" would match any instance ID. The instance ID can be obtained using get node query.", + "default": "0" + }, + "CreateFabricDump": { + "type": "string", + "description": "Specify True to create a dump of the fabric node process. This is case-sensitive.", + "enum": [ + "False", + "True" + ], + "default": "False", + "x-ms-enum": { + "name": "CreateFabricDump", + "modelAsString": true, + "values": [ + { + "value": "False" + }, + { + "value": "True" + } + ] + } + } + }, + "required": [ + "NodeInstanceId" + ] + }, + "SafetyCheckInfoList": { + "type": "array", + "description": "List of pending safety checks", + "items": { + "$ref": "#/definitions/SafetyCheckWrapper" + } + }, + "SafetyCheckWrapper": { + "description": "A wrapper for the safety check object. Safety checks are performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.", + "properties": { + "SafetyCheck": { + "$ref": "#/definitions/SafetyCheck", + "description": "Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state." + } + } + }, + "ServiceEvent": { + "description": "Represents the base for all Service Events.", + "allOf": [ + { + "$ref": "#/definitions/FabricEvent" + } + ], + "properties": { + "ServiceId": { + "$ref": "#/definitions/ServiceId", + "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions." + } + }, + "required": [ + "ServiceId" + ], + "x-ms-discriminator-value": "ServiceEvent" + }, + "ServiceEventList": { + "description": "A list of ServiceEvent objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEvent" + } + }, + "ServiceFromTemplateDescription": { + "description": "Defines description for creating a Service Fabric service from a template defined in the application manifest.", + "required": [ + "ApplicationName", + "ServiceName", + "ServiceTypeName" + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "ServiceTypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "InitializationData": { + "$ref": "#/definitions/ByteArray", + "description": "The initialization data for the newly created service instance." + }, + "ServicePackageActivationMode": { + "$ref": "#/definitions/ServicePackageActivationMode", + "description": "The activation mode of service package to be used for a service." + }, + "ServiceDnsName": { + "type": "string", + "description": "The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster." + } + } + }, + "ServiceHealthEvaluation": { + "x-ms-discriminator-value": "Service", + "description": "Represents health evaluation for a service, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "Name of the service whose health evaluation is described by this object." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the service. The types of the unhealthy evaluations can be PartitionsHealthEvaluation or EventHealthEvaluation." + } + } + }, + "ServiceHealthState": { + "description": "Represents the health state of a service, which contains the service identifier and its aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthState" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "Name of the service whose health state is represented by this object." + } + } + }, + "ServiceHealthStateChunk": { + "description": "Represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealthStateChunk" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service whose health state chunk is provided in this object." + }, + "PartitionHealthStateChunks": { + "$ref": "#/definitions/PartitionHealthStateChunkList", + "description": "The list of partition health state chunks belonging to the service that respect the filters in the cluster health chunk query description." + } + } + }, + "ServiceHealthStateChunkList": { + "description": "The list of service health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceHealthStateChunk" + }, + "description": "The list of service health state chunks that respect the input filters in the chunk query." + } + } + }, + "ServiceHealthStateFilter": { + "description": "Defines matching criteria to determine whether a service should be included as a child of an application in the cluster health chunk.\nThe services are only returned if the parent application matches a filter specified in the cluster health chunk query description.\nOne filter can match zero, one or multiple services, depending on its properties.", + "properties": { + "ServiceNameFilter": { + "type": "string", + "description": "The name of the service that matches the filter. The filter is applied only to the specified service, if it exists.\nIf the service doesn't exist, no service is returned in the cluster health chunk based on this filter.\nIf the service exists, it is included as the application's child if the health state matches the other filter properties.\nIf not specified, all services that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter." + }, + "HealthStateFilter": { + "type": "integer", + "default": 0, + "description": "The filter for the health state of the services. It allows selecting services if they match the desired health states.\nThe possible values are integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the cluster aggregated health state.\nIf not specified, default value is None, unless the service name is specified. If the filter has default value and service name is specified, the matching service is returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6, it matches services with HealthState value of OK (2) and Warning (4).\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535." + }, + "PartitionFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/PartitionHealthStateFilter" + }, + "description": "Defines a list of filters that specify which partitions to be included in the returned cluster health chunk as children of the service. The partitions are returned only if the parent service matches a filter.\nIf the list is empty, no partitions are returned. All the partitions are used to evaluate the parent service aggregated health state, regardless of the input filters.\nThe service filter may specify multiple partition filters.\nFor example, it can specify a filter to return all partitions with health state Error and another filter to always include a partition identified by its partition ID." + } + } + }, + "ServiceHealth": { + "description": "Information about the health of a Service Fabric service.", + "allOf": [ + { + "$ref": "#/definitions/EntityHealth" + } + ], + "properties": { + "Name": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service whose health information is described by this object." + }, + "PartitionHealthStates": { + "type": "array", + "items": { + "$ref": "#/definitions/PartitionHealthState" + }, + "description": "The list of partition health states associated with the service." + } + } + }, + "ServiceId": { + "type": "string", + "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions." + }, + "ServiceName": { + "type": "string", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "ServiceManifestName": { + "type": "string", + "description": "The name of the service manifest." + }, + "ServiceTypeName": { + "type": "string", + "description": "Name of the service type as specified in the service manifest." + }, + "ServiceInfo": { + "discriminator": "ServiceKind", + "description": "Information about a Service Fabric service.", + "properties": { + "Id": { + "$ref": "#/definitions/ServiceId", + "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions." + }, + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "Name": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "TypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "ManifestVersion": { + "description": "The version of the service manifest.", + "type": "string" + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "ServiceStatus": { + "$ref": "#/definitions/ServiceStatus", + "description": "The status of the application." + }, + "IsServiceGroup": { + "description": "Whether the service is in a service group.", + "type": "boolean" + } + }, + "required": [ + "ServiceKind" + ] + }, + "ServiceKind": { + "type": "string", + "description": "The kind of service (Stateless or Stateful).", + "enum": [ + "Invalid", + "Stateless", + "Stateful" + ], + "x-ms-enum": { + "name": "ServiceKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Stateless", + "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 1." + }, + { + "value": "Stateful", + "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2." + } + ] + } + }, + "ServiceNameInfo": { + "description": "Information about the service name.", + "properties": { + "Id": { + "$ref": "#/definitions/ServiceId", + "description": "The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.\nStarting in version 6.0, hierarchical names are delimited with the \"\\~\" character. For example, if the service name is \"fabric:/myapp/app1/svc1\",\nthe service identity would be \"myapp~app1\\~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions." + }, + "Name": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + } + } + }, + "ServicePackageActivationId": { + "type": "string", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + }, + "ServicePartitionInfo": { + "discriminator": "ServiceKind", + "description": "Information about a partition of a Service Fabric service.", + "required": [ + "ServiceKind" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "HealthState": { + "$ref": "#/definitions/HealthState", + "description": "The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc." + }, + "PartitionStatus": { + "$ref": "#/definitions/ServicePartitionStatus", + "description": "The status of the service fabric service partition." + }, + "PartitionInformation": { + "$ref": "#/definitions/PartitionInformation", + "description": "Information about the partition identity, partitioning scheme and keys supported by it." + } + } + }, + "ServicePartitionKind": { + "type": "string", + "description": "The kind of partitioning scheme used to partition the service.", + "enum": [ + "Invalid", + "Singleton", + "Int64Range", + "Named" + ], + "x-ms-enum": { + "name": "ServicePartitionKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Singleton", + "description": "Indicates that there is only one partition, and SingletonPartitionSchemeDescription was specified while creating the service. The value is 1." + }, + { + "value": "Int64Range", + "description": "Indicates that the partition is based on Int64 key ranges, and UniformInt64RangePartitionSchemeDescription was specified while creating the service. The value is 2." + }, + { + "value": "Named", + "description": "Indicates that the partition is based on string names, and NamedPartitionInformation was specified while creating the service. The value is 3." + } + ] + } + }, + "ServicePartitionStatus": { + "type": "string", + "description": "The status of the service fabric service partition.", + "enum": [ + "Invalid", + "Ready", + "NotReady", + "InQuorumLoss", + "Reconfiguring", + "Deleting" + ], + "x-ms-enum": { + "name": "ServicePartitionStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the partition status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Ready", + "description": "Indicates that the partition is ready. This means that for a stateless service partition there is at least one instance that is up and for a stateful service partition the number of ready replicas is greater than or equal to the MinReplicaSetSize. The value is 1." + }, + { + "value": "NotReady", + "description": "Indicates that the partition is not ready. This status is returned when none of the other states apply. The value is 2." + }, + { + "value": "InQuorumLoss", + "description": "Indicates that the partition is in quorum loss. This means that number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for this partition. The value is 3." + }, + { + "value": "Reconfiguring", + "description": "Indicates that the partition is undergoing reconfiguration of its replica sets. This can happen due to failover, upgrade, load balancing or addition or removal of replicas from the replica set. The value is 4." + }, + { + "value": "Deleting", + "description": "Indicates that the partition is being deleted. The value is 5." + } + ] + } + }, + "ServicePlacementInvalidDomainPolicyDescription": { + "x-ms-discriminator-value": "InvalidDomain", + "description": "Describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + ], + "properties": { + "DomainName": { + "type": "string", + "description": "The name of the domain that should not be used for placement." + } + } + }, + "ServicePlacementNonPartiallyPlaceServicePolicyDescription": { + "x-ms-discriminator-value": "NonPartiallyPlaceService", + "description": "Describes the policy to be used for placement of a Service Fabric service where all replicas must be able to be placed in order for any replicas to be created.", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + ] + }, + "ServicePlacementPolicyDescription": { + "discriminator": "Type", + "description": "Describes the policy to be used for placement of a Service Fabric service.", + "required": [ + "Type" + ], + "properties": { + "Type": { + "$ref": "#/definitions/ServicePlacementPolicyType", + "description": "The type of placement policy for a service fabric service. Following are the possible values." + } + } + }, + "ServicePlacementPolicyDescriptionList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + }, + "description": "List of service placement policy descriptions." + }, + "ServicePlacementPolicyType": { + "type": "string", + "description": "The type of placement policy for a service fabric service. Following are the possible values.", + "enum": [ + "Invalid", + "InvalidDomain", + "RequireDomain", + "PreferPrimaryDomain", + "RequireDomainDistribution", + "NonPartiallyPlaceService" + ], + "x-ms-enum": { + "name": "ServicePlacementPolicyType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "InvalidDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1." + }, + { + "value": "RequireDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2." + }, + { + "value": "PreferPrimaryDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3." + }, + { + "value": "RequireDomainDistribution", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4." + }, + { + "value": "NonPartiallyPlaceService", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5." + } + ] + } + }, + "ServicePlacementPreferPrimaryDomainPolicyDescription": { + "x-ms-discriminator-value": "PreferPrimaryDomain", + "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + ], + "properties": { + "DomainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + } + }, + "ServicePlacementRequiredDomainPolicyDescription": { + "x-ms-discriminator-value": "RequireDomain", + "description": "Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + ], + "properties": { + "DomainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + } + }, + "ServicePlacementRequireDomainDistributionPolicyDescription": { + "x-ms-discriminator-value": "RequireDomainDistribution", + "description": "Describes the policy to be used for placement of a Service Fabric service where two replicas from the same partition should never be placed in the same fault or upgrade domain.\n\nWhile this is not common it can expose the service to an increased risk of concurrent failures due to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider a case where replicas are deployed across different data center, with one replica per location. In the event that one of the datacenters goes offline, normally the replica that was placed in that datacenter will be packed into one of the remaining datacenters. If this is not desirable then this policy should be set.", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + ], + "properties": { + "DomainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + } + }, + "ServicesHealthEvaluation": { + "x-ms-discriminator-value": "Services", + "description": "Represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "ServiceTypeName": { + "type": "string", + "description": "Name of the service type of the services." + }, + "MaxPercentUnhealthyServices": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of services of the current service type in the application from the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ServiceHealthEvaluation that impacted the aggregated health." + } + } + }, + "ServiceStatus": { + "type": "string", + "description": "The status of the application.", + "enum": [ + "Unknown", + "Active", + "Upgrading", + "Deleting", + "Creating", + "Failed" + ], + "x-ms-enum": { + "name": "ServiceStatus", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Indicates the service status is unknown. The value is zero." + }, + { + "value": "Active", + "description": "Indicates the service status is active. The value is 1." + }, + { + "value": "Upgrading", + "description": "Indicates the service is upgrading. The value is 2." + }, + { + "value": "Deleting", + "description": "Indicates the service is being deleted. The value is 3." + }, + { + "value": "Creating", + "description": "Indicates the service is being created. The value is 4." + }, + { + "value": "Failed", + "description": "Indicates creation or deletion was terminated due to persistent failures. Another create/delete request can be accepted. The value is 5." + } + ] + } + }, + "ServiceTypeDescription": { + "discriminator": "Kind", + "description": "Describes a service type defined in the service manifest of a provisioned application type. The properties the ones defined in the service manifest.", + "required": [ + "Kind" + ], + "properties": { + "Kind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "IsStateful": { + "type": "boolean", + "description": "Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise." + }, + "ServiceTypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "PlacementConstraints": { + "type": "string", + "description": "The placement constraint to be used when instantiating this service in a Service Fabric cluster." + }, + "LoadMetrics": { + "$ref": "#/definitions/ServiceLoadMetricsList", + "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects." + }, + "ServicePlacementPolicies": { + "$ref": "#/definitions/ServicePlacementPolicyDescriptionList", + "description": "List of service placement policy descriptions." + }, + "Extensions": { + "$ref": "#/definitions/ServiceTypeExtensionDescriptionList", + "description": "List of service type extensions." + } + } + }, + "ServiceTypeExtensionDescription": { + "description": "Describes extension of a service type defined in the service manifest.", + "properties": { + "Key": { + "type": "string", + "description": "The name of the extension." + }, + "Value": { + "type": "string", + "description": "The extension value." + } + } + }, + "ServiceTypeExtensionDescriptionList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceTypeExtensionDescription" + }, + "description": "List of service type extensions." + }, + "ServiceTypeHealthPolicy": { + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.", + "properties": { + "MaxPercentUnhealthyPartitionsPerService": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy partitions per service. Allowed values are Byte values from zero to 100\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions. Default percentage is zero.", + "default": 0 + }, + "MaxPercentUnhealthyReplicasPerPartition": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy replicas per partition. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero.", + "default": 0 + }, + "MaxPercentUnhealthyServices": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero.", + "default": 0 + } + } + }, + "ServiceTypeHealthPolicyMap": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceTypeHealthPolicyMapItem" + }, + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type. For example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently. With policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation." + }, + "ServiceTypeHealthPolicyMapItem": { + "description": "Defines an item in ServiceTypeHealthPolicyMap.", + "required": [ + "Key", + "Value" + ], + "properties": { + "Key": { + "type": "string", + "description": "The key of the service type health policy map item. This is the name of the service type." + }, + "Value": { + "$ref": "#/definitions/ServiceTypeHealthPolicy", + "description": "The value of the service type health policy map item. This is the ServiceTypeHealthPolicy for this service type." + } + } + }, + "ServiceTypeInfo": { + "description": "Information about a service type that is defined in a service manifest of a provisioned application type.", + "properties": { + "ServiceTypeDescription": { + "$ref": "#/definitions/ServiceTypeDescription", + "description": "Describes a service type defined in the service manifest of a provisioned application type. The properties the ones defined in the service manifest." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service manifest in which this service type is defined." + }, + "ServiceManifestVersion": { + "type": "string", + "description": "The version of the service manifest in which this service type is defined." + }, + "IsServiceGroup": { + "type": "boolean", + "description": "Indicates whether the service is a service group. If it is, the property value is true otherwise false." + } + } + }, + "ServiceTypeInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceTypeInfo" + }, + "description": "List of service type information." + }, + "ServiceTypeManifest": { + "description": "Contains the manifest describing a service type registered as part of an application in a Service Fabric cluster.", + "properties": { + "Manifest": { + "type": "string", + "description": "The XML manifest as a string." + } + } + }, + "SingletonPartitionInformation": { + "description": "Information about a partition that is singleton. The services with singleton partitioning scheme are effectively non-partitioned. They only have one partition.", + "allOf": [ + { + "$ref": "#/definitions/PartitionInformation" + } + ], + "x-ms-discriminator-value": "Singleton" + }, + "StatefulServiceInfo": { + "description": "Information about a stateful Service Fabric service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceInfo" + } + ], + "properties": { + "HasPersistedState": { + "description": "Whether the service has persisted state.", + "type": "boolean" + } + }, + "x-ms-discriminator-value": "Stateful" + }, + "StatefulServicePartitionInfo": { + "description": "Information about a partition of a stateful Service Fabric service..", + "allOf": [ + { + "$ref": "#/definitions/ServicePartitionInfo" + } + ], + "x-ms-discriminator-value": "Stateful", + "properties": { + "TargetReplicaSetSize": { + "type": "integer", + "format": "int64", + "description": "The target replica set size as a number." + }, + "MinReplicaSetSize": { + "type": "integer", + "format": "int64", + "description": "The minimum replica set size as a number." + }, + "LastQuorumLossDuration": { + "type": "string", + "format": "duration", + "description": "The duration for which this partition was in quorum loss. If the partition is currently in quorum loss, it returns the duration since it has been in that state. This field is using ISO8601 format for specifying the duration." + }, + "PrimaryEpoch": { + "$ref": "#/definitions/Epoch", + "description": "An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica." + } + } + }, + "StatefulServiceReplicaHealth": { + "description": "Represents the health of the stateful service replica.\nContains the replica aggregated health state, the health events and the unhealthy evaluations.", + "x-ms-discriminator-value": "Stateful", + "allOf": [ + { + "$ref": "#/definitions/ReplicaHealth" + } + ], + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + } + } + }, + "StatefulServiceReplicaHealthState": { + "x-ms-discriminator-value": "Stateful", + "description": "Represents the health state of the stateful service replica, which contains the replica ID and the aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaHealthState" + } + ], + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + } + } + }, + "StatefulServiceTypeDescription": { + "description": "Describes a stateful service type defined in the service manifest of a provisioned application type.", + "allOf": [ + { + "$ref": "#/definitions/ServiceTypeDescription" + } + ], + "x-ms-discriminator-value": "Stateful", + "properties": { + "HasPersistedState": { + "type": "boolean", + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + } + } + }, + "StatelessServiceInfo": { + "description": "Information about a stateless Service Fabric service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceInfo" + } + ], + "x-ms-discriminator-value": "Stateless" + }, + "StatelessServiceInstanceHealth": { + "description": "Represents the health of the stateless service instance.\nContains the instance aggregated health state, the health events and the unhealthy evaluations.", + "x-ms-discriminator-value": "Stateless", + "allOf": [ + { + "$ref": "#/definitions/ReplicaHealth" + } + ], + "properties": { + "InstanceId": { + "$ref": "#/definitions/InstanceId", + "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId." + } + } + }, + "StatelessServiceInstanceHealthState": { + "x-ms-discriminator-value": "Stateless", + "description": "Represents the health state of the stateless service instance, which contains the instance ID and the aggregated health state.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaHealthState" + } + ], + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of the stateless service instance on the wire this field is called ReplicaId." + } + } + }, + "StatelessServicePartitionInfo": { + "description": "Information about a partition of a stateless Service Fabric service.", + "allOf": [ + { + "$ref": "#/definitions/ServicePartitionInfo" + } + ], + "x-ms-discriminator-value": "Stateless", + "properties": { + "InstanceCount": { + "type": "integer", + "format": "int64", + "description": "Number of instances of this partition." + } + } + }, + "StatelessServiceTypeDescription": { + "description": "Describes a stateless service type defined in the service manifest of a provisioned application type.", + "allOf": [ + { + "$ref": "#/definitions/ServiceTypeDescription" + } + ], + "x-ms-discriminator-value": "Stateless", + "properties": { + "UseImplicitHost": { + "type": "boolean", + "description": "A flag indicating if this type is not implemented and hosted by a user service process, but is implicitly hosted by a system created process. This value is true for services using the guest executable services, false otherwise." + } + } + }, + "SystemApplicationHealthEvaluation": { + "x-ms-discriminator-value": "SystemApplication", + "description": "Represents health evaluation for the fabric:/System application, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state of the cluster is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the current aggregated health state of the system application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation." + } + } + }, + "TargetApplicationName": { + "type": "string", + "description": "The name of the target application, including the 'fabric:' URI scheme." + }, + "TargetApplicationTypeVersion": { + "type": "string", + "description": "The target application type version (found in the application manifest) for the application upgrade." + }, + "TargetDeploymentName": { + "type": "string", + "description": "The name of the target deployment." + }, + "UnhealthyEvaluations": { + "description": "List of health evaluations that resulted in the current aggregated health state.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthEvaluationWrapper" + } + }, + "UpgradeDomainDeltaNodesCheckHealthEvaluation": { + "x-ms-discriminator-value": "UpgradeDomainDeltaNodesCheck", + "description": "Represents health evaluation for delta unhealthy cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state.\nCan be returned during cluster upgrade when cluster aggregated health state is Warning or Error.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "UpgradeDomainName": { + "type": "string", + "description": "Name of the upgrade domain where nodes health is currently evaluated." + }, + "BaselineErrorCount": { + "type": "integer", + "format": "int64", + "description": "Number of upgrade domain nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade." + }, + "BaselineTotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of upgrade domain nodes in the health store at the beginning of the cluster upgrade." + }, + "MaxPercentDeltaUnhealthyNodes": { + "type": "integer", + "description": "Maximum allowed percentage of upgrade domain delta unhealthy nodes from the ClusterUpgradeHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of upgrade domain nodes in the health store." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health." + } + } + }, + "UpgradeDomainInfo": { + "description": "Information about an upgrade domain.", + "properties": { + "Name": { + "$ref": "#/definitions/UpgradeDomainName", + "description": "The name of the upgrade domain" + }, + "State": { + "$ref": "#/definitions/UpgradeDomainState", + "description": "The state of the upgrade domain." + } + } + }, + "UpgradeDomainInfoList": { + "type": "array", + "description": "List of upgrade domains and their statuses.", + "items": { + "$ref": "#/definitions/UpgradeDomainInfo" + } + }, + "UpgradeDomainName": { + "type": "string", + "description": "The name of the upgrade domain" + }, + "UpgradeDomainNodesHealthEvaluation": { + "x-ms-discriminator-value": "UpgradeDomainNodes", + "description": "Represents health evaluation for cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health during cluster upgrade and the aggregated health state is either Error or Warning.", + "allOf": [ + { + "$ref": "#/definitions/HealthEvaluation" + } + ], + "properties": { + "UpgradeDomainName": { + "type": "string", + "description": "Name of the upgrade domain where nodes health is currently evaluated." + }, + "MaxPercentUnhealthyNodes": { + "type": "integer", + "description": "Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy." + }, + "TotalCount": { + "type": "integer", + "format": "int64", + "description": "Total number of nodes in the current upgrade domain." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health." + } + } + }, + "UpgradeDomainState": { + "type": "string", + "description": "The state of the upgrade domain.", + "enum": [ + "Invalid", + "Pending", + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "UpgradeDomainState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade domain state is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Pending", + "description": "The upgrade domain has not started upgrading yet. The value is 1" + }, + { + "value": "InProgress", + "description": "The upgrade domain is being upgraded but not complete yet. The value is 2" + }, + { + "value": "Completed", + "description": "The upgrade domain has completed upgrade. The value is 3" + } + ] + } + }, + "UpgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "P10675199DT02H48M05.4775807S" + }, + "UpgradeDuration": { + "type": "string", + "description": "The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H2M0S" + }, + "UpgradeKind": { + "type": "string", + "description": "The kind of upgrade out of the following possible values.", + "default": "Rolling", + "enum": [ + "Invalid", + "Rolling" + ], + "x-ms-enum": { + "name": "UpgradeKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Rolling", + "description": "The upgrade progresses one upgrade domain at a time. The value is 1" + } + ] + } + }, + "UpgradeMode": { + "type": "string", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.", + "enum": [ + "Invalid", + "UnmonitoredAuto", + "UnmonitoredManual", + "Monitored" + ], + "default": "UnmonitoredAuto", + "x-ms-enum": { + "name": "UpgradeMode", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade mode is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "UnmonitoredAuto", + "description": "The upgrade will proceed automatically without performing any health monitoring. The value is 1" + }, + { + "value": "UnmonitoredManual", + "description": "The upgrade will stop after completing each upgrade domain, giving the opportunity to manually monitor health before proceeding. The value is 2" + }, + { + "value": "Monitored", + "description": "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 3" + } + ] + } + }, + "UpgradeSortOrder": { + "type": "string", + "description": "Defines the order in which an upgrade proceeds through the cluster.", + "enum": [ + "Invalid", + "Default", + "Numeric", + "Lexicographical", + "ReverseNumeric", + "ReverseLexicographical" + ], + "default": "Default", + "x-ms-enum": { + "name": "UpgradeSortOrder", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that this sort order is not valid. All Service Fabric enumerations have the invalid type. The value is 0." + }, + { + "value": "Default", + "description": "Indicates that the default sort order (as specified in cluster manifest) will be used. The value is 1." + }, + { + "value": "Numeric", + "description": "Indicates that forward numeric sort order (UD names sorted as numbers) will be used. The value is 2." + }, + { + "value": "Lexicographical", + "description": "Indicates that forward lexicographical sort order (UD names sorted as strings) will be used. The value is 3." + }, + { + "value": "ReverseNumeric", + "description": "Indicates that reverse numeric sort order (UD names sorted as numbers) will be used. The value is 4." + }, + { + "value": "ReverseLexicographical", + "description": "Indicates that reverse lexicographical sort order (UD names sorted as strings) will be used. The value is 5." + } + ] + } + }, + "UpgradeType": { + "type": "string", + "description": "The type of upgrade out of the following possible values.", + "default": "Rolling", + "enum": [ + "Invalid", + "Rolling", + "Rolling_ForceRestart" + ], + "x-ms-enum": { + "name": "UpgradeType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Rolling", + "description": "The upgrade progresses one upgrade domain at a time. The value is 1." + }, + { + "value": "Rolling_ForceRestart", + "description": "The upgrade gets restarted by force. The value is 2." + } + ] + } + }, + "UpgradeReplicaSetCheckTimeout": { + "type": "integer", + "format": "int64", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).", + "default": 42949672925 + }, + "UpgradeState": { + "type": "string", + "description": "The state of the upgrade domain.", + "enum": [ + "Invalid", + "RollingBackInProgress", + "RollingBackCompleted", + "RollingForwardPending", + "RollingForwardInProgress", + "RollingForwardCompleted", + "Failed" + ], + "x-ms-enum": { + "name": "UpgradeState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "RollingBackInProgress", + "description": "The upgrade is rolling back to the previous version but is not complete yet. The value is 1" + }, + { + "value": "RollingBackCompleted", + "description": "The upgrade has finished rolling back. The value is 2" + }, + { + "value": "RollingForwardPending", + "description": "The current upgrade domain has finished upgrading. The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in Monitored mode. The value is 3" + }, + { + "value": "RollingForwardInProgress", + "description": "The upgrade is rolling forward to the target version but is not complete yet. The value is 4" + }, + { + "value": "RollingForwardCompleted", + "description": "The upgrade has finished rolling forward. The value is 5" + }, + { + "value": "Failed", + "description": "The upgrade has failed and is unable to execute FailureAction. The value is 6" + } + ] + } + }, + "UpgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "P10675199DT02H48M05.4775807S" + }, + "WaitForInbuildReplicaSafetyCheck": { + "description": "Safety check that waits for the replica build operation to finish. This indicates that there is a replica that is going through the copy or is providing data for building another replica. Bring the node down will abort this copy operation which are typically expensive involving data movements.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "WaitForInbuildReplica" + }, + "WaitForPrimaryPlacementSafetyCheck": { + "description": "Safety check that waits for the primary replica that was moved out of the node due to upgrade to be placed back again on that node.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "WaitForPrimaryPlacement" + }, + "WaitForPrimarySwapSafetyCheck": { + "description": "Safety check that waits for the primary replica to be moved out of the node before starting an upgrade to ensure the availability of the primary replica for the partition.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "WaitForPrimarySwap" + }, + "WaitForReconfigurationSafetyCheck": { + "description": "Safety check that waits for the current reconfiguration of the partition to be completed before starting an upgrade.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSafetyCheck" + } + ], + "x-ms-discriminator-value": "WaitForReconfiguration" + }, + "LoadMetricReport": { + "description": "Represents the load metric report which contains the time metric was reported, its name and value.", + "properties": { + "LastReportedUtc": { + "type": "string", + "format": "date-time", + "description": "Gets the UTC time when the load was reported." + }, + "Name": { + "type": "string", + "description": "The name of the load metric." + }, + "Value": { + "type": "string", + "format": "int32", + "description": "The value of the load metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentValue." + }, + "CurrentValue": { + "type": "string", + "format": "double", + "description": "The value of the load metric." + } + } + }, + "PartitionLoadInformation": { + "description": "Represents load information for a partition, which contains the primary and secondary reported load metrics.\nIn case there is no load reported, PartitionLoadInformation will contain the default load for the service of the partition.\nFor default loads, LoadMetricReport's LastReportedUtc is set to 0.", + "properties": { + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "Id of the partition." + }, + "PrimaryLoadMetricReports": { + "type": "array", + "description": "Array of load reports from the primary replica for this partition.", + "items": { + "$ref": "#/definitions/LoadMetricReport" + } + }, + "SecondaryLoadMetricReports": { + "type": "array", + "description": "Array of aggregated load reports from all secondary replicas for this partition.\nArray only contains the latest reported load for each metric.", + "items": { + "$ref": "#/definitions/LoadMetricReport" + } + } + } + }, + "StatefulServiceReplicaInfo": { + "x-ms-discriminator-value": "Stateful", + "description": "Represents a stateful service replica. This includes information about the identity, role, status, health, node name, uptime, and other details about the replica.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaInfo" + } + ], + "properties": { + "ReplicaRole": { + "$ref": "#/definitions/ReplicaRole", + "description": "The role of a replica of a stateful service." + }, + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + } + } + }, + "StatelessServiceInstanceInfo": { + "x-ms-discriminator-value": "Stateless", + "description": "Represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaInfo" + } + ], + "properties": { + "InstanceId": { + "$ref": "#/definitions/InstanceId", + "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId." + } + } + }, + "ClusterFabricCodeVersionString": { + "type": "string", + "description": "The ServiceFabric code version of the cluster." + }, + "ClusterFabricConfigVersionString": { + "type": "string", + "description": "The cluster configuration version (specified in the cluster manifest)." + }, + "ClusterUpgradeDescriptionObject": { + "description": "Represents a ServiceFabric cluster upgrade", + "properties": { + "ConfigVersion": { + "$ref": "#/definitions/ClusterFabricConfigVersionString", + "description": "The cluster configuration version (specified in the cluster manifest)." + }, + "CodeVersion": { + "$ref": "#/definitions/ClusterFabricCodeVersionString", + "description": "The ServiceFabric code version of the cluster." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeReplicaSetCheckTimeoutInSeconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "SortOrder": { + "$ref": "#/definitions/UpgradeSortOrder", + "description": "Defines the order in which an upgrade proceeds through the cluster." + }, + "EnableDeltaHealthEvaluation": { + "$ref": "#/definitions/DeltaHealthEvaluationBool", + "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain." + }, + "MonitoringPolicy": { + "$ref": "#/definitions/MonitoringPolicyDescription", + "description": "Describes the parameters for monitoring an upgrade in Monitored mode." + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node." + }, + "ClusterUpgradeHealthPolicy": { + "$ref": "#/definitions/ClusterUpgradeHealthPolicyObject", + "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade." + }, + "ApplicationHealthPolicyMap": { + "$ref": "#/definitions/ApplicationHealthPolicyMap", + "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nIf an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).\nThe map is empty by default." + } + } + }, + "ClusterUpgradeHealthPolicyObject": { + "description": "Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.", + "properties": { + "MaxPercentDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. The default value is 10%.", + "maximum": 100, + "minimum": 0 + }, + "MaxPercentUpgradeDomainDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits. The default value is 15%.", + "maximum": 100, + "minimum": 0 + } + } + }, + "ClusterUpgradeProgressObject": { + "description": "Information about a cluster upgrade.", + "properties": { + "CodeVersion": { + "$ref": "#/definitions/ClusterFabricCodeVersionString", + "description": "The ServiceFabric code version of the cluster." + }, + "ConfigVersion": { + "$ref": "#/definitions/ClusterFabricConfigVersionString", + "description": "The cluster configuration version (specified in the cluster manifest)." + }, + "UpgradeDomains": { + "$ref": "#/definitions/UpgradeDomainInfoList", + "description": "List of upgrade domains and their statuses." + }, + "UpgradeState": { + "$ref": "#/definitions/UpgradeState", + "description": "The state of the upgrade domain." + }, + "NextUpgradeDomain": { + "$ref": "#/definitions/NextUpgradeDomain", + "description": "The name of the next upgrade domain to be processed." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeDescription": { + "$ref": "#/definitions/ClusterUpgradeDescriptionObject", + "description": "Represents a ServiceFabric cluster upgrade" + }, + "UpgradeDurationInMilliseconds": { + "$ref": "#/definitions/UpgradeDurationString", + "description": "The estimated elapsed time spent processing the current overall upgrade." + }, + "UpgradeDomainDurationInMilliseconds": { + "$ref": "#/definitions/UpgradeDomainDurationString", + "description": "The estimated elapsed time spent processing the current upgrade domain." + }, + "UnhealthyEvaluations": { + "$ref": "#/definitions/UnhealthyEvaluations", + "description": "List of health evaluations that resulted in the current aggregated health state." + }, + "CurrentUpgradeDomainProgress": { + "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo", + "description": "Information about the current in-progress upgrade domain." + }, + "StartTimestampUtc": { + "$ref": "#/definitions/UpgradeStartTimeUTCString", + "description": "The start time of the upgrade in UTC." + }, + "FailureTimestampUtc": { + "$ref": "#/definitions/UpgradeFailureTimeUTCString", + "description": "The failure time of the upgrade in UTC." + }, + "FailureReason": { + "$ref": "#/definitions/FailureReason", + "description": "The cause of an upgrade failure that resulted in FailureAction being executed." + }, + "UpgradeDomainProgressAtFailure": { + "$ref": "#/definitions/FailedUpgradeDomainProgressObject", + "description": "The detailed upgrade progress for nodes in the current upgrade domain at the point of failure." + } + } + }, + "ClusterConfigurationUpgradeDescription": { + "description": "Describes the parameters for a standalone cluster configuration upgrade.", + "properties": { + "ClusterConfig": { + "type": "string", + "description": "The cluster configuration as a JSON string. For example, [this file](https://github.com/Azure-Samples/service-fabric-dotnet-standalone-cluster-configuration/blob/master/Samples/ClusterConfig.Unsecure.DevCluster.json) contains JSON describing the [nodes and other properties of the cluster](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-manifest)." + }, + "HealthCheckRetryTimeout": { + "type": "string", + "format": "duration", + "description": "The length of time between attempts to perform health checks if the application or cluster is not healthy.", + "default": "PT0H0M0S" + }, + "HealthCheckWaitDurationInSeconds": { + "type": "string", + "format": "duration", + "description": "The length of time to wait after completing an upgrade domain before starting the health checks process.", + "default": "PT0H0M0S" + }, + "HealthCheckStableDurationInSeconds": { + "type": "string", + "format": "duration", + "description": "The length of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain.", + "default": "PT0H0M0S" + }, + "UpgradeDomainTimeoutInSeconds": { + "type": "string", + "format": "duration", + "description": "The timeout for the upgrade domain.", + "default": "PT0H0M0S" + }, + "UpgradeTimeoutInSeconds": { + "type": "string", + "format": "duration", + "description": "The upgrade timeout.", + "default": "PT0H0M0S" + }, + "MaxPercentUnhealthyApplications": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy applications during the upgrade. Allowed values are integer values from zero to 100.", + "default": 0 + }, + "MaxPercentUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy nodes during the upgrade. Allowed values are integer values from zero to 100.", + "default": 0 + }, + "MaxPercentDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of delta health degradation during the upgrade. Allowed values are integer values from zero to 100.", + "default": 0 + }, + "MaxPercentUpgradeDomainDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of upgrade domain delta health degradation during the upgrade. Allowed values are integer values from zero to 100.", + "default": 0 + }, + "ApplicationHealthPolicies": { + "$ref": "#/definitions/ApplicationHealthPolicies", + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities." + } + }, + "required": [ + "ClusterConfig" + ] + }, + "DeltaHealthEvaluationBool": { + "type": "boolean", + "description": "When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain." + }, + "FailedUpgradeDomainProgressObject": { + "description": "The detailed upgrade progress for nodes in the current upgrade domain at the point of failure.", + "properties": { + "DomainName": { + "$ref": "#/definitions/UpgradeDomainName", + "description": "The name of the upgrade domain" + }, + "NodeUpgradeProgressList": { + "$ref": "#/definitions/NodeUpgradeProgressInfoList", + "description": "List of upgrading nodes and their statuses" + } + } + }, + "UpgradeDomainDurationString": { + "type": "string", + "description": "The estimated elapsed time spent processing the current upgrade domain." + }, + "UpgradeDurationString": { + "type": "string", + "description": "The estimated elapsed time spent processing the current overall upgrade." + }, + "UpgradeFailureTimeUTCString": { + "type": "string", + "description": "The failure time of the upgrade in UTC." + }, + "UpgradeStartTimeUTCString": { + "type": "string", + "description": "The start time of the upgrade in UTC." + }, + "UpgradeOrchestrationServiceState": { + "description": "Service state of Service Fabric Upgrade Orchestration Service.", + "properties": { + "ServiceState": { + "type": "string", + "description": "The state of Service Fabric Upgrade Orchestration Service." + } + } + }, + "UpgradeOrchestrationServiceStateSummary": { + "description": "Service state summary of Service Fabric Upgrade Orchestration Service.", + "properties": { + "CurrentCodeVersion": { + "type": "string", + "description": "The current code version of the cluster." + }, + "CurrentManifestVersion": { + "type": "string", + "description": "The current manifest version of the cluster." + }, + "TargetCodeVersion": { + "type": "string", + "description": "The target code version of the cluster." + }, + "TargetManifestVersion": { + "type": "string", + "description": "The target manifest version of the cluster." + }, + "PendingUpgradeType": { + "type": "string", + "description": "The type of the pending upgrade of the cluster." + } + } + }, + "ApplicationTypeImageStorePath": { + "description": "Path description for the application package in the image store specified during the prior copy operation.", + "required": [ + "ApplicationTypeBuildPath" + ], + "properties": { + "ApplicationTypeBuildPath": { + "type": "string", + "description": "The relative image store path to the application package." + } + } + }, + "UnprovisionApplicationTypeDescriptionInfo": { + "description": "Describes the operation to unregister or unprovision an application type and its version that was registered with the Service Fabric.", + "required": [ + "ApplicationTypeVersion" + ], + "properties": { + "ApplicationTypeVersion": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "Async": { + "type": "boolean", + "description": "The flag indicating whether or not unprovision should occur asynchronously. When set to true, the unprovision operation returns when the request is accepted by the system, and the unprovision operation continues without any timeout limit. The default value is false. However, we recommend setting it to true for large application packages that were provisioned." + } + } + }, + "CodePackageName": { + "type": "string", + "description": "The name of the code package defined in the service manifest." + }, + "CodePackageEntryPointStatistics": { + "description": "Statistics about setup or main entry point of a code package deployed on a Service Fabric node.", + "properties": { + "LastExitCode": { + "type": "string", + "description": "The last exit code of the entry point." + }, + "LastActivationTime": { + "type": "string", + "format": "date-time", + "description": "The last time (in UTC) when Service Fabric attempted to run the entry point." + }, + "LastExitTime": { + "type": "string", + "format": "date-time", + "description": "The last time (in UTC) when the entry point finished running." + }, + "LastSuccessfulActivationTime": { + "type": "string", + "format": "date-time", + "description": "The last time (in UTC) when the entry point ran successfully." + }, + "LastSuccessfulExitTime": { + "type": "string", + "format": "date-time", + "description": "The last time (in UTC) when the entry point finished running gracefully." + }, + "ActivationCount": { + "type": "string", + "description": "Number of times the entry point has run." + }, + "ActivationFailureCount": { + "type": "string", + "description": "Number of times the entry point failed to run." + }, + "ContinuousActivationFailureCount": { + "type": "string", + "description": "Number of times the entry point continuously failed to run." + }, + "ExitCount": { + "type": "string", + "description": "Number of times the entry point finished running." + }, + "ExitFailureCount": { + "type": "string", + "description": "Number of times the entry point failed to exit gracefully." + }, + "ContinuousExitFailureCount": { + "type": "string", + "description": "Number of times the entry point continuously failed to exit gracefully." + } + } + }, + "DeployedCodePackageInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedCodePackageInfo" + }, + "description": "List of deployed code package information." + }, + "DeployedCodePackageInfo": { + "description": "Information about code package deployed on a Service Fabric node.", + "properties": { + "Name": { + "$ref": "#/definitions/CodePackageName", + "description": "The name of the code package." + }, + "Version": { + "type": "string", + "description": "The version of the code package specified in service manifest." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of service manifest that specified this code package." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + }, + "HostType": { + "$ref": "#/definitions/HostType", + "description": "Specifies the type of host for main entry point of a code package as specified in service manifest." + }, + "HostIsolationMode": { + "$ref": "#/definitions/HostIsolationMode", + "description": "Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest." + }, + "Status": { + "$ref": "#/definitions/DeploymentStatus", + "description": "Specifies the status of a deployed application or service package on a Service Fabric node." + }, + "RunFrequencyInterval": { + "type": "string", + "description": "The interval at which code package is run. This is used for periodic code package." + }, + "SetupEntryPoint": { + "$ref": "#/definitions/CodePackageEntryPoint", + "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node." + }, + "MainEntryPoint": { + "$ref": "#/definitions/CodePackageEntryPoint", + "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node." + } + } + }, + "DeploymentStatus": { + "type": "string", + "description": "Specifies the status of a deployed application or service package on a Service Fabric node.", + "enum": [ + "Invalid", + "Downloading", + "Activating", + "Active", + "Upgrading", + "Deactivating" + ], + "x-ms-enum": { + "name": "DeploymentStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates status of the application or service package is not known or invalid. The value is 0." + }, + { + "value": "Downloading", + "description": "Indicates the application or service package is being downloaded to the node from the ImageStore. The value is 1." + }, + { + "value": "Activating", + "description": "Indicates the application or service package is being activated. The value is 2." + }, + { + "value": "Active", + "description": "Indicates the application or service package is active the node. The value is 3." + }, + { + "value": "Upgrading", + "description": "Indicates the application or service package is being upgraded. The value is 4." + }, + { + "value": "Deactivating", + "description": "Indicates the application or service package is being deactivated. The value is 5." + } + ] + } + }, + "EntryPointStatus": { + "type": "string", + "description": "Specifies the status of the code package entry point deployed on a Service Fabric node.", + "enum": [ + "Invalid", + "Pending", + "Starting", + "Started", + "Stopping", + "Stopped" + ], + "x-ms-enum": { + "name": "EntryPointStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates status of entry point is not known or invalid. The value is 0." + }, + { + "value": "Pending", + "description": "Indicates the entry point is scheduled to be started. The value is 1." + }, + { + "value": "Starting", + "description": "Indicates the entry point is being started. The value is 2." + }, + { + "value": "Started", + "description": "Indicates the entry point was started successfully and is running. The value is 3." + }, + { + "value": "Stopping", + "description": "Indicates the entry point is being stopped. The value is 4." + }, + { + "value": "Stopped", + "description": "Indicates the entry point is not running. The value is 5." + } + ] + } + }, + "CodePackageEntryPoint": { + "description": "Information about setup or main entry point of a code package deployed on a Service Fabric node.", + "properties": { + "EntryPointLocation": { + "type": "string", + "description": "The location of entry point executable on the node." + }, + "ProcessId": { + "type": "string", + "description": "The process ID of the entry point." + }, + "RunAsUserName": { + "type": "string", + "description": "The user name under which entry point executable is run on the node." + }, + "CodePackageEntryPointStatistics": { + "$ref": "#/definitions/CodePackageEntryPointStatistics", + "description": "Statistics about setup or main entry point of a code package deployed on a Service Fabric node." + }, + "Status": { + "$ref": "#/definitions/EntryPointStatus", + "description": "Specifies the status of the code package entry point deployed on a Service Fabric node." + }, + "NextActivationTime": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) when the entry point executable will be run next." + }, + "InstanceId": { + "$ref": "#/definitions/CodePackageInstanceId", + "description": "The instance ID for current running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance id will change." + } + } + }, + "Chaos": { + "description": "Contains a description of Chaos.", + "properties": { + "ChaosParameters": { + "$ref": "#/definitions/ChaosParameters", + "description": "If Chaos is running, these are the parameters Chaos is running with." + }, + "Status": { + "$ref": "#/definitions/ChaosStatus", + "description": "Current status of the Chaos run." + }, + "ScheduleStatus": { + "$ref": "#/definitions/ChaosScheduleStatus", + "description": "Current status of the schedule." + } + } + }, + "ChaosStatus": { + "type": "string", + "description": "Current status of the Chaos run.", + "enum": [ + "Invalid", + "Running", + "Stopped" + ], + "x-ms-enum": { + "name": "ChaosStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Running", + "description": "Indicates that Chaos is not stopped. The value is one." + }, + { + "value": "Stopped", + "description": "Indicates that Chaos is not scheduling further faults. The value is two." + } + ] + } + }, + "ChaosScheduleStatus": { + "type": "string", + "description": "Current status of the schedule.", + "enum": [ + "Invalid", + "Stopped", + "Active", + "Expired", + "Pending" + ], + "x-ms-enum": { + "name": "ChaosScheduleStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid Chaos Schedule status. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Stopped", + "description": "Indicates that the schedule is stopped and not being used to schedule runs of chaos. The value is one." + }, + { + "value": "Active", + "description": "Indicates that the schedule is active and is being used to schedule runs of Chaos. The value is two." + }, + { + "value": "Expired", + "description": "Indicates that the schedule is expired and will no longer be used to schedule runs of Chaos. The value is three." + }, + { + "value": "Pending", + "description": "Indicates that the schedule is pending and is not yet being used to schedule runs of Chaos but will be used when the start time is passed. The value is four." + } + ] + } + }, + "ChaosContextMap": { + "additionalProperties": { + "type": "string" + }, + "description": "Describes a map that contains a collection of ChaosContextMapItem's." + }, + "ChaosContext": { + "description": "Describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about\nthe Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long.\nThis map is set by the starter of the Chaos run to optionally store the context about the specific run.", + "properties": { + "Map": { + "$ref": "#/definitions/ChaosContextMap", + "description": "Describes a map that contains a collection of ChaosContextMapItem's." + } + } + }, + "ChaosParameters": { + "description": "Defines all the parameters to configure a Chaos run.", + "properties": { + "TimeToRunInSeconds": { + "type": "string", + "description": "Total time (in seconds) for which Chaos will run before automatically stopping. The maximum allowed value is 4,294,967,295 (System.UInt32.MaxValue).", + "default": "4294967295" + }, + "MaxClusterStabilizationTimeoutInSeconds": { + "type": "integer", + "format": "int64", + "description": "The maximum amount of time to wait for all cluster entities to become stable and healthy. Chaos executes in iterations and at the start of each iteration it validates the health of cluster entities.\nDuring validation if a cluster entity is not stable and healthy within MaxClusterStabilizationTimeoutInSeconds, Chaos generates a validation failed event.", + "default": 60, + "minimum": 0, + "maximum": 4294967295 + }, + "MaxConcurrentFaults": { + "type": "integer", + "format": "int64", + "description": "MaxConcurrentFaults is the maximum number of concurrent faults induced per iteration.\nChaos executes in iterations and two consecutive iterations are separated by a validation phase.\nThe higher the concurrency, the more aggressive the injection of faults, leading to inducing more complex series of states to uncover bugs.\nThe recommendation is to start with a value of 2 or 3 and to exercise caution while moving up.", + "default": 1, + "minimum": 0, + "maximum": 4294967295 + }, + "EnableMoveReplicaFaults": { + "type": "boolean", + "description": "Enables or disables the move primary and move secondary faults.", + "default": true + }, + "WaitTimeBetweenFaultsInSeconds": { + "type": "integer", + "format": "int64", + "description": "Wait time (in seconds) between consecutive faults within a single iteration.\nThe larger the value, the lower the overlapping between faults and the simpler the sequence of state transitions that the cluster goes through.\nThe recommendation is to start with a value between 1 and 5 and exercise caution while moving up.", + "default": 20, + "minimum": 0, + "maximum": 4294967295 + }, + "WaitTimeBetweenIterationsInSeconds": { + "type": "integer", + "format": "int64", + "description": "Time-separation (in seconds) between two consecutive iterations of Chaos.\nThe larger the value, the lower the fault injection rate.", + "default": 30, + "minimum": 0, + "maximum": 4294967295 + }, + "ClusterHealthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "Passed-in cluster health policy is used to validate health of the cluster in between Chaos iterations. If the cluster health is in error or if an unexpected exception happens during fault execution--to provide the cluster with some time to recuperate--Chaos will wait for 30 minutes before the next health-check." + }, + "Context": { + "$ref": "#/definitions/ChaosContext", + "description": "Describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about\nthe Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long.\nThis map is set by the starter of the Chaos run to optionally store the context about the specific run." + }, + "ChaosTargetFilter": { + "$ref": "#/definitions/ChaosTargetFilter", + "description": "List of cluster entities to target for Chaos faults.\nThis filter can be used to target Chaos faults only to certain node types or only to certain application instances. If ChaosTargetFilter is not used, Chaos faults all cluster entities.\nIf ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter specification." + } + } + }, + "ChaosParametersDictionaryItem": { + "description": "Defines an item in ChaosParametersDictionary of the Chaos Schedule.", + "required": [ + "Key", + "Value" + ], + "properties": { + "Key": { + "type": "string", + "description": "The key identifying the Chaos Parameter in the dictionary. This key is referenced by Chaos Schedule Jobs." + }, + "Value": { + "$ref": "#/definitions/ChaosParameters", + "description": "Defines all the parameters to configure a Chaos run." + } + } + }, + "ChaosEvent": { + "discriminator": "Kind", + "description": "Represents an event generated during a Chaos run.", + "properties": { + "Kind": { + "$ref": "#/definitions/ChaosEventKind", + "description": "The kind of Chaos event." + }, + "TimeStampUtc": { + "type": "string", + "description": "The UTC timestamp when this Chaos event was generated.", + "format": "date-time" + } + }, + "required": [ + "Kind", + "TimeStampUtc" + ] + }, + "ChaosEventWrapper": { + "description": "Wrapper object for Chaos event.", + "properties": { + "ChaosEvent": { + "$ref": "#/definitions/ChaosEvent", + "description": "Represents an event generated during a Chaos run." + } + } + }, + "ChaosEventKind": { + "type": "string", + "description": "The kind of Chaos event.", + "enum": [ + "Invalid", + "Started", + "ExecutingFaults", + "Waiting", + "ValidationFailed", + "TestError", + "Stopped" + ], + "x-ms-enum": { + "name": "ChaosEventKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid Chaos event kind. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Started", + "description": "Indicates a Chaos event that gets generated when Chaos is started." + }, + { + "value": "ExecutingFaults", + "description": "Indicates a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings." + }, + { + "value": "Waiting", + "description": "Indicates a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish." + }, + { + "value": "ValidationFailed", + "description": "Indicates a Chaos event that gets generated when the cluster entities do not become stable and healthy within ChaosParameters.MaxClusterStabilizationTimeoutInSeconds." + }, + { + "value": "TestError", + "description": "Indicates a Chaos event that gets generated when an unexpected event has occurred in the Chaos engine, for example, due to the cluster snapshot being inconsistent, while faulting a faultable entity Chaos found that the entity was already faulted." + }, + { + "value": "Stopped", + "description": "Indicates a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up." + } + ] + } + }, + "ChaosEventsSegment": { + "description": "Contains the list of Chaos events and the continuation token to get the next segment.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "History": { + "$ref": "#/definitions/ChaosEventHistory", + "description": "List of Chaos events that meet the user-supplied criteria." + } + } + }, + "ChaosScheduleDescription": { + "description": "Defines the Chaos Schedule used by Chaos and the version of the Chaos Schedule. The version value wraps back to 0 after surpassing 2,147,483,647.", + "properties": { + "Version": { + "description": "The version number of the Schedule.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "Schedule": { + "$ref": "#/definitions/ChaosSchedule", + "description": "Defines the schedule used by Chaos." + } + } + }, + "ChaosSchedule": { + "description": "Defines the schedule used by Chaos.", + "properties": { + "StartDate": { + "type": "string", + "format": "date-time", + "description": "The date and time Chaos will start using this schedule.", + "default": "1601-01-01T00:00:00Z" + }, + "ExpiryDate": { + "type": "string", + "format": "date-time", + "description": "The date and time Chaos will continue to use this schedule until.", + "default": "9999-12-31T23:59:59.999Z" + }, + "ChaosParametersDictionary": { + "type": "array", + "description": "A mapping of string names to Chaos Parameters to be referenced by Chaos Schedule Jobs.", + "items": { + "$ref": "#/definitions/ChaosParametersDictionaryItem" + } + }, + "Jobs": { + "description": "A list of all Chaos Schedule Jobs that will be automated by the schedule.", + "type": "array", + "items": { + "$ref": "#/definitions/ChaosScheduleJob" + } + } + } + }, + "ChaosScheduleJob": { + "description": "Defines a repetition rule and parameters of Chaos to be used with the Chaos Schedule.", + "properties": { + "ChaosParameters": { + "type": "string", + "description": "A reference to which Chaos Parameters of the Chaos Schedule to use." + }, + "Days": { + "$ref": "#/definitions/ChaosScheduleJobActiveDaysOfWeek", + "description": "Defines the days of the week that a Chaos Schedule Job will run for." + }, + "Times": { + "description": "A list of Time Ranges that specify when during active days that this job will run. The times are interpreted as UTC.", + "type": "array", + "items": { + "$ref": "#/definitions/TimeRange" + } + } + } + }, + "ChaosScheduleJobActiveDaysOfWeek": { + "description": "Defines the days of the week that a Chaos Schedule Job will run for.", + "properties": { + "Sunday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Sunday", + "default": false + }, + "Monday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Monday", + "default": false + }, + "Tuesday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Tuesday", + "default": false + }, + "Wednesday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Wednesday", + "default": false + }, + "Thursday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Thursday", + "default": false + }, + "Friday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Friday", + "default": false + }, + "Saturday": { + "type": "boolean", + "description": "Indicates if the Chaos Schedule Job will run on Saturday", + "default": false + } + } + }, + "TimeRange": { + "description": "Defines a time range in a 24 hour day specified by a start and end time.", + "properties": { + "StartTime": { + "$ref": "#/definitions/TimeOfDay", + "description": "Defines an hour and minute of the day specified in 24 hour time." + }, + "EndTime": { + "$ref": "#/definitions/TimeOfDay", + "description": "Defines an hour and minute of the day specified in 24 hour time." + } + } + }, + "TimeOfDay": { + "description": "Defines an hour and minute of the day specified in 24 hour time.", + "properties": { + "Hour": { + "type": "integer", + "format": "int32", + "description": "Represents the hour of the day. Value must be between 0 and 23 inclusive.", + "minimum": 0, + "maximum": 23 + }, + "Minute": { + "type": "integer", + "format": "int32", + "description": "Represents the minute of the hour. Value must be between 0 to 59 inclusive.", + "minimum": 0, + "maximum": 59 + } + } + }, + "ExecutingFaultsChaosEvent": { + "description": "Describes a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings.", + "x-ms-discriminator-value": "ExecutingFaults", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "Faults": { + "type": "array", + "description": "List of string description of the faults that Chaos decided to execute in an iteration.", + "items": { + "type": "string" + } + } + } + }, + "StartedChaosEvent": { + "description": "Describes a Chaos event that gets generated when Chaos is started.", + "x-ms-discriminator-value": "Started", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "ChaosParameters": { + "$ref": "#/definitions/ChaosParameters", + "description": "Defines all the parameters to configure a Chaos run." + } + } + }, + "StoppedChaosEvent": { + "description": "Describes a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up.", + "x-ms-discriminator-value": "Stopped", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "Reason": { + "type": "string", + "description": "Describes why Chaos stopped. Chaos can stop because of StopChaos API call or the timeToRun provided in ChaosParameters is over." + } + } + }, + "TestErrorChaosEvent": { + "description": "Describes a Chaos event that gets generated when an unexpected event occurs in the Chaos engine.\nFor example, due to the cluster snapshot being inconsistent, while faulting an entity, Chaos found that the entity was already faulted -- which would be an unexpected event.", + "x-ms-discriminator-value": "TestError", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "Reason": { + "type": "string", + "description": "Describes why TestErrorChaosEvent was generated. For example, Chaos tries to fault a partition but finds that the partition is no longer fault tolerant, then a TestErrorEvent gets generated with the reason stating that the partition is not fault tolerant." + } + } + }, + "ValidationFailedChaosEvent": { + "description": "Chaos event corresponding to a failure during validation.", + "x-ms-discriminator-value": "ValidationFailed", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "Reason": { + "type": "string", + "description": "Describes why the ValidationFailedChaosEvent was generated. This may happen because more than MaxPercentUnhealthyNodes are unhealthy for more than MaxClusterStabilizationTimeout. This reason will be in the Reason property of the ValidationFailedChaosEvent as a string." + } + } + }, + "WaitingChaosEvent": { + "description": "Describes a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.", + "x-ms-discriminator-value": "Waiting", + "allOf": [ + { + "$ref": "#/definitions/ChaosEvent" + } + ], + "properties": { + "Reason": { + "type": "string", + "description": "Describes why the WaitingChaosEvent was generated, for example, due to a cluster upgrade." + } + } + }, + "ChaosEventHistory": { + "type": "array", + "description": "An list of Chaos events that were generated during the time range passed into the GetChaosReport API call.", + "items": { + "$ref": "#/definitions/ChaosEventWrapper" + } + }, + "ChaosTargetFilter": { + "description": "Defines all filters for targeted Chaos faults, for example, faulting only certain node types or faulting only certain applications.\nIf ChaosTargetFilter is not used, Chaos faults all cluster entities. If ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter\nspecification. NodeTypeInclusionList and ApplicationInclusionList allow a union semantics only. It is not possible to specify an intersection\nof NodeTypeInclusionList and ApplicationInclusionList. For example, it is not possible to specify \"fault this application only when it is on that node type.\"\nOnce an entity is included in either NodeTypeInclusionList or ApplicationInclusionList, that entity cannot be excluded using ChaosTargetFilter. Even if\napplicationX does not appear in ApplicationInclusionList, in some Chaos iteration applicationX can be faulted because it happens to be on a node of nodeTypeY that is included\nin NodeTypeInclusionList. If both NodeTypeInclusionList and ApplicationInclusionList are null or empty, an ArgumentException is thrown.", + "properties": { + "NodeTypeInclusionList": { + "type": "array", + "description": "A list of node types to include in Chaos faults.\nAll types of faults (restart node, restart code package, remove replica, restart replica, move primary, and move secondary) are enabled for the nodes of these node types.\nIf a node type (say NodeTypeX) does not appear in the NodeTypeInclusionList, then node level faults (like NodeRestart) will never be enabled for the nodes of\nNodeTypeX, but code package and replica faults can still be enabled for NodeTypeX if an application in the ApplicationInclusionList.\nhappens to reside on a node of NodeTypeX.\nAt most 100 node type names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfNodeTypesInChaosEntityFilter configuration.", + "items": { + "$ref": "#/definitions/NodeType" + } + }, + "ApplicationInclusionList": { + "type": "array", + "description": "A list of application URIs to include in Chaos faults.\nAll replicas belonging to services of these applications are amenable to replica faults (restart replica, remove replica, move primary, and move secondary) by Chaos.\nChaos may restart a code package only if the code package hosts replicas of these applications only.\nIf an application does not appear in this list, it can still be faulted in some Chaos iteration if the application ends up on a node of a node type that is included in NodeTypeInclusionList.\nHowever, if applicationX is tied to nodeTypeY through placement constraints and applicationX is absent from ApplicationInclusionList and nodeTypeY is absent from NodeTypeInclusionList, then applicationX will never be faulted.\nAt most 1000 application names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfApplicationsInChaosEntityFilter configuration.", + "items": { + "$ref": "#/definitions/ApplicationName" + } + } + } + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "The version of the application type as defined in the application manifest." + }, + "ApplicationCapacityDescription": { + "description": "Describes capacity information for services of this application. This description can be used for describing the following.\n- Reserving the capacity for the services on the nodes\n- Limiting the total number of nodes that services of this application can run on\n- Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application", + "properties": { + "MinimumNodes": { + "type": "integer", + "format": "int64", + "description": "The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.", + "minimum": 0 + }, + "MaximumNodes": { + "type": "integer", + "format": "int64", + "description": "The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.", + "minimum": 0, + "default": 0 + }, + "ApplicationMetrics": { + "$ref": "#/definitions/ApplicationMetricDescriptionList", + "description": "List of application capacity metric description." + } + } + }, + "ApplicationDescription": { + "description": "Describes a Service Fabric application.", + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "TypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "TypeVersion": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "ParameterList": { + "$ref": "#/definitions/ApplicationParameterList", + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "ApplicationCapacity": { + "$ref": "#/definitions/ApplicationCapacityDescription", + "description": "Describes capacity information for services of this application. This description can be used for describing the following.\n- Reserving the capacity for the services on the nodes\n- Limiting the total number of nodes that services of this application can run on\n- Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application" + }, + "ManagedApplicationIdentity": { + "$ref": "#/definitions/ManagedApplicationIdentityDescription", + "description": "Managed application identity description." + } + }, + "required": [ + "Name", + "TypeName", + "TypeVersion" + ] + }, + "ApplicationMetricDescription": { + "description": "Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.", + "properties": { + "Name": { + "type": "string", + "description": "The name of the metric." + }, + "MaximumCapacity": { + "type": "integer", + "format": "int64", + "description": "The maximum node capacity for Service Fabric application.\nThis is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.\nIf set to zero, capacity for this metric is unlimited on each node.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\nWhen updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity." + }, + "ReservationCapacity": { + "type": "integer", + "format": "int64", + "description": "The node reservation capacity for Service Fabric application.\nThis is the amount of load which is reserved on nodes which have instances of this application.\nIf MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.\nIf set to zero, no capacity is reserved for this metric.\nWhen setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric." + }, + "TotalApplicationCapacity": { + "description": "The total metric capacity for Service Fabric application.\nThis is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.", + "type": "integer", + "format": "int64" + } + } + }, + "ApplicationMetricDescriptionList": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationMetricDescription" + }, + "description": "List of application capacity metric description." + }, + "ComposeDeploymentStatus": { + "type": "string", + "description": "The status of the compose deployment.", + "enum": [ + "Invalid", + "Provisioning", + "Creating", + "Ready", + "Unprovisioning", + "Deleting", + "Failed", + "Upgrading" + ], + "x-ms-enum": { + "name": "ComposeDeploymentStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the compose deployment status is invalid. The value is zero." + }, + { + "value": "Provisioning", + "description": "Indicates that the compose deployment is being provisioned in background. The value is 1." + }, + { + "value": "Creating", + "description": "Indicates that the compose deployment is being created in background. The value is 2." + }, + { + "value": "Ready", + "description": "Indicates that the compose deployment has been successfully created or upgraded. The value is 3." + }, + { + "value": "Unprovisioning", + "description": "Indicates that the compose deployment is being unprovisioned in background. The value is 4." + }, + { + "value": "Deleting", + "description": "Indicates that the compose deployment is being deleted in background. The value is 5." + }, + { + "value": "Failed", + "description": "Indicates that the compose deployment was terminated due to persistent failures. The value is 6." + }, + { + "value": "Upgrading", + "description": "Indicates that the compose deployment is being upgraded in the background. The value is 7." + } + ] + } + }, + "ComposeDeploymentStatusInfo": { + "description": "Information about a Service Fabric compose deployment.", + "properties": { + "Name": { + "$ref": "#/definitions/DeploymentName", + "description": "The name of the deployment." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "Status": { + "$ref": "#/definitions/ComposeDeploymentStatus", + "description": "The status of the compose deployment." + }, + "StatusDetails": { + "description": "The status details of compose deployment including failure message.", + "type": "string" + } + } + }, + "ComposeDeploymentUpgradeDescription": { + "description": "Describes the parameters for a compose deployment upgrade.", + "properties": { + "DeploymentName": { + "$ref": "#/definitions/DeploymentName", + "description": "The name of the deployment." + }, + "ComposeFileContent": { + "type": "string", + "description": "The content of the compose file that describes the deployment to create." + }, + "RegistryCredential": { + "$ref": "#/definitions/RegistryCredential", + "description": "Credential information to connect to container registry." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "UpgradeReplicaSetCheckTimeoutInSeconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "MonitoringPolicy": { + "$ref": "#/definitions/MonitoringPolicyDescription", + "description": "Describes the parameters for monitoring an upgrade in Monitored mode." + }, + "ApplicationHealthPolicy": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + } + }, + "required": [ + "DeploymentName", + "ComposeFileContent", + "UpgradeKind" + ] + }, + "ComposeDeploymentUpgradeProgressInfo": { + "description": "Describes the parameters for a compose deployment upgrade.", + "properties": { + "DeploymentName": { + "$ref": "#/definitions/TargetDeploymentName", + "description": "The name of the target deployment." + }, + "ApplicationName": { + "$ref": "#/definitions/TargetApplicationName", + "description": "The name of the target application, including the 'fabric:' URI scheme." + }, + "UpgradeState": { + "$ref": "#/definitions/ComposeDeploymentUpgradeState", + "description": "The state of the compose deployment upgrade." + }, + "UpgradeStatusDetails": { + "type": "string", + "description": "Additional detailed information about the status of the pending upgrade." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "UpgradeReplicaSetCheckTimeoutInSeconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "MonitoringPolicy": { + "$ref": "#/definitions/MonitoringPolicyDescription", + "description": "Describes the parameters for monitoring an upgrade in Monitored mode." + }, + "ApplicationHealthPolicy": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + }, + "TargetApplicationTypeVersion": { + "$ref": "#/definitions/TargetApplicationTypeVersion", + "description": "The target application type version (found in the application manifest) for the application upgrade." + }, + "UpgradeDuration": { + "$ref": "#/definitions/UpgradeDuration", + "description": "The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "CurrentUpgradeDomainDuration": { + "$ref": "#/definitions/CurrentUpgradeDomainDuration", + "description": "The estimated amount of time spent processing current Upgrade Domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "ApplicationUnhealthyEvaluations": { + "$ref": "#/definitions/ApplicationUnhealthyEvaluations", + "description": "List of health evaluations that resulted in the current aggregated health state." + }, + "CurrentUpgradeDomainProgress": { + "$ref": "#/definitions/CurrentUpgradeDomainProgressInfo", + "description": "Information about the current in-progress upgrade domain." + }, + "StartTimestampUtc": { + "type": "string", + "description": "The estimated UTC datetime when the upgrade started." + }, + "FailureTimestampUtc": { + "type": "string", + "description": "The estimated UTC datetime when the upgrade failed and FailureAction was executed." + }, + "FailureReason": { + "$ref": "#/definitions/FailureReason", + "description": "The cause of an upgrade failure that resulted in FailureAction being executed." + }, + "UpgradeDomainProgressAtFailure": { + "$ref": "#/definitions/FailureUpgradeDomainProgressInfo", + "description": "Information about the upgrade domain progress at the time of upgrade failure." + }, + "ApplicationUpgradeStatusDetails": { + "type": "string", + "description": "Additional details of application upgrade including failure message." + } + } + }, + "ComposeDeploymentUpgradeState": { + "type": "string", + "description": "The state of the compose deployment upgrade.", + "enum": [ + "Invalid", + "ProvisioningTarget", + "RollingForwardInProgress", + "RollingForwardPending", + "UnprovisioningCurrent", + "RollingForwardCompleted", + "RollingBackInProgress", + "UnprovisioningTarget", + "RollingBackCompleted", + "Failed" + ], + "x-ms-enum": { + "name": "ComposeDeploymentUpgradeState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "ProvisioningTarget", + "description": "The upgrade is in the progress of provisioning target application type version. The value is 1." + }, + { + "value": "RollingForwardInProgress", + "description": "The upgrade is rolling forward to the target version but is not complete yet. The value is 2." + }, + { + "value": "RollingForwardPending", + "description": "The current upgrade domain has finished upgrading. The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in Monitored mode. The value is 3" + }, + { + "value": "UnprovisioningCurrent", + "description": "The upgrade is in the progress of unprovisioning current application type version and rolling forward to the target version is completed. The value is 4." + }, + { + "value": "RollingForwardCompleted", + "description": "The upgrade has finished rolling forward. The value is 5." + }, + { + "value": "RollingBackInProgress", + "description": "The upgrade is rolling back to the previous version but is not complete yet. The value is 6." + }, + { + "value": "UnprovisioningTarget", + "description": "The upgrade is in the progress of unprovisioning target application type version and rolling back to the current version is completed. The value is 7." + }, + { + "value": "RollingBackCompleted", + "description": "The upgrade has finished rolling back. The value is 8." + }, + { + "value": "Failed", + "description": "The upgrade has failed and is unable to execute FailureAction. The value is 9." + } + ] + } + }, + "PagedComposeDeploymentStatusInfoList": { + "description": "The list of compose deployments in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of compose deployment status information.", + "items": { + "$ref": "#/definitions/ComposeDeploymentStatusInfo" + } + } + } + }, + "CreateComposeDeploymentDescription": { + "description": "Defines description for creating a Service Fabric compose deployment.", + "properties": { + "DeploymentName": { + "$ref": "#/definitions/DeploymentName", + "description": "The name of the deployment." + }, + "ComposeFileContent": { + "type": "string", + "description": "The content of the compose file that describes the deployment to create." + }, + "RegistryCredential": { + "$ref": "#/definitions/RegistryCredential", + "description": "Credential information to connect to container registry." + } + }, + "required": [ + "DeploymentName", + "ComposeFileContent" + ] + }, + "RegistryCredential": { + "description": "Credential information to connect to container registry.", + "properties": { + "RegistryUserName": { + "type": "string", + "description": "The user name to connect to container registry." + }, + "RegistryPassword": { + "type": "string", + "description": "The password for supplied username to connect to container registry." + }, + "PasswordEncrypted": { + "type": "boolean", + "description": "Indicates that supplied container registry password is encrypted." + } + } + }, + "DeployedServicePackageInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServicePackageInfo" + }, + "description": "List of deployed service package information." + }, + "DeployedServicePackageInfo": { + "description": "Information about service package deployed on a Service Fabric node.", + "properties": { + "Name": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service package as specified in the service manifest." + }, + "Version": { + "type": "string", + "description": "The version of the service package specified in service manifest." + }, + "Status": { + "$ref": "#/definitions/DeploymentStatus", + "description": "Specifies the status of a deployed application or service package on a Service Fabric node." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + } + } + }, + "DeploymentName": { + "type": "string", + "description": "The name of the deployment." + }, + "CorrelationSchemeList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceCorrelationDescription" + }, + "description": "A list that describes the correlation of the service with other services." + }, + "MoveCost": { + "type": "string", + "description": "Specifies the move cost for the service.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "MoveCost", + "modelAsString": true, + "values": [ + { + "value": "Zero", + "description": "Zero move cost. This value is zero." + }, + { + "value": "Low", + "description": "Specifies the move cost of the service as Low. The value is 1." + }, + { + "value": "Medium", + "description": "Specifies the move cost of the service as Medium. The value is 2." + }, + { + "value": "High", + "description": "Specifies the move cost of the service as High. The value is 3." + } + ] + } + }, + "PartitionScheme": { + "type": "string", + "description": "Enumerates the ways that a service can be partitioned.", + "enum": [ + "Invalid", + "Singleton", + "UniformInt64Range", + "Named" + ], + "x-ms-enum": { + "name": "PartitionScheme", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Singleton", + "description": "Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1." + }, + { + "value": "UniformInt64Range", + "description": "Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2." + }, + { + "value": "Named", + "description": "Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3" + } + ] + } + }, + "ServiceCorrelationDescription": { + "description": "Creates a particular correlation between services.", + "required": [ + "Scheme", + "ServiceName" + ], + "properties": { + "Scheme": { + "$ref": "#/definitions/ServiceCorrelationScheme", + "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName." + }, + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service that the correlation relationship is established with." + } + } + }, + "ServiceCorrelationScheme": { + "type": "string", + "description": "The service correlation scheme.", + "enum": [ + "Invalid", + "Affinity", + "AlignedAffinity", + "NonAlignedAffinity" + ], + "x-ms-enum": { + "name": "ServiceCorrelationScheme", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "An invalid correlation scheme. Cannot be used. The value is zero." + }, + { + "value": "Affinity", + "description": "Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1." + }, + { + "value": "AlignedAffinity", + "description": "Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2." + }, + { + "value": "NonAlignedAffinity", + "description": "Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3." + } + ] + } + }, + "ServiceLoadMetricsList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetricDescription" + }, + "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects." + }, + "ServiceLoadMetricDescription": { + "description": "Specifies a metric to load balance a service during runtime.", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case-sensitive." + }, + "Weight": { + "$ref": "#/definitions/ServiceLoadMetricWeight", + "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number." + }, + "PrimaryDefaultLoad": { + "type": "integer", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica." + }, + "SecondaryDefaultLoad": { + "type": "integer", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica." + }, + "DefaultLoad": { + "type": "integer", + "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." + } + } + }, + "ServiceLoadMetricWeight": { + "type": "string", + "description": "Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "ServiceLoadMetricWeight", + "modelAsString": true, + "values": [ + { + "value": "Zero", + "description": "Disables resource balancing for this metric. This value is zero." + }, + { + "value": "Low", + "description": "Specifies the metric weight of the service load as Low. The value is 1." + }, + { + "value": "Medium", + "description": "Specifies the metric weight of the service load as Medium. The value is 2." + }, + { + "value": "High", + "description": "Specifies the metric weight of the service load as High. The value is 3." + } + ] + } + }, + "ServicePackageActivationMode": { + "type": "string", + "description": "The activation mode of service package to be used for a Service Fabric service. This is specified at the time of creating the Service.", + "enum": [ + "SharedProcess", + "ExclusiveProcess" + ], + "x-ms-enum": { + "name": "ServicePackageActivationMode", + "modelAsString": true, + "values": [ + { + "value": "SharedProcess", + "description": "This is the default activation mode. With this activation mode, replicas or instances from different partition(s) of service, on a given node, will share same activation of service package on a node. The value is zero." + }, + { + "value": "ExclusiveProcess", + "description": "With this activation mode, each replica or instance of service, on a given node, will have its own dedicated activation of service package on a node. The value is 1." + } + ] + } + }, + "ServicePlacementPoliciesList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + }, + "description": "A list that describes the correlation of the service with other services." + }, + "PartitionSchemeDescription": { + "discriminator": "PartitionScheme", + "description": "Describes how the service is partitioned.", + "required": [ + "PartitionScheme" + ], + "properties": { + "PartitionScheme": { + "$ref": "#/definitions/PartitionScheme", + "description": "Specifies how the service is partitioned." + } + } + }, + "NamedPartitionSchemeDescription": { + "description": "Describes the named partition scheme of the service.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "Named", + "required": [ + "Count", + "Names" + ], + "properties": { + "Count": { + "type": "integer", + "description": "The number of partitions." + }, + "Names": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of size specified by the ‘Count’ parameter, for the names of the partitions." + } + } + }, + "SingletonPartitionSchemeDescription": { + "description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "Singleton" + }, + "UniformInt64RangePartitionSchemeDescription": { + "description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "UniformInt64Range", + "required": [ + "Count", + "LowKey", + "HighKey" + ], + "properties": { + "Count": { + "type": "integer", + "description": "The number of partitions." + }, + "LowKey": { + "type": "string", + "description": "String indicating the lower bound of the partition key range that\nshould be split between the partitions." + }, + "HighKey": { + "type": "string", + "description": "String indicating the upper bound of the partition key range that\nshould be split between the partitions." + } + } + }, + "ServiceDescription": { + "discriminator": "ServiceKind", + "description": "A ServiceDescription contains all of the information necessary to create a service.", + "required": [ + "ServiceKind", + "ServiceName", + "ServiceTypeName", + "PartitionDescription" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The service kind." + }, + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "ServiceTypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "InitializationData": { + "$ref": "#/definitions/ByteArray", + "description": "The initialization data as an array of bytes. Initialization data is passed to service instances or replicas when they are created." + }, + "PartitionDescription": { + "$ref": "#/definitions/PartitionSchemeDescription", + "description": "The partition description as an object." + }, + "PlacementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "CorrelationScheme": { + "$ref": "#/definitions/CorrelationSchemeList", + "description": "The correlation scheme." + }, + "ServiceLoadMetrics": { + "$ref": "#/definitions/ServiceLoadMetricsList", + "description": "The service load metrics." + }, + "ServicePlacementPolicies": { + "$ref": "#/definitions/ServicePlacementPoliciesList", + "description": "The service placement policies." + }, + "DefaultMoveCost": { + "$ref": "#/definitions/MoveCost", + "description": "The move cost for the service." + }, + "IsDefaultMoveCostSpecified": { + "type": "boolean", + "description": "Indicates if the DefaultMoveCost property is specified." + }, + "ServicePackageActivationMode": { + "$ref": "#/definitions/ServicePackageActivationMode", + "description": "The activation mode of service package to be used for a service." + }, + "ServiceDnsName": { + "type": "string", + "description": "The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster." + }, + "ScalingPolicies": { + "$ref": "#/definitions/ScalingPolicyDescriptionList", + "description": "Scaling policies for this service." + } + } + }, + "StatefulServiceDescription": { + "description": "Describes a stateful service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceDescription" + } + ], + "x-ms-discriminator-value": "Stateful", + "required": [ + "TargetReplicaSetSize", + "MinReplicaSetSize", + "HasPersistedState" + ], + "properties": { + "TargetReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The target replica set size as a number." + }, + "MinReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The minimum replica set size as a number." + }, + "HasPersistedState": { + "type": "boolean", + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + }, + "Flags": { + "type": "integer", + "description": "Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.\nThis property can be a combination of those flags obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then the flags for QuorumLossWaitDuration (2) and StandByReplicaKeepDuration(4) are set.\n\n- None - Does not indicate any other properties are set. The value is zero.\n- ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 1.\n- QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 2.\n- StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 4." + }, + "ReplicaRestartWaitDurationSeconds": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "The duration, in seconds, between when a replica goes down and when a new replica is created." + }, + "QuorumLossWaitDurationSeconds": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss." + }, + "StandByReplicaKeepDurationSeconds": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "The definition on how long StandBy replicas should be maintained before being removed." + } + } + }, + "StatelessServiceDescription": { + "description": "Describes a stateless service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceDescription" + } + ], + "x-ms-discriminator-value": "Stateless", + "required": [ + "InstanceCount" + ], + "properties": { + "InstanceCount": { + "type": "integer", + "minimum": -1, + "description": "The instance count." + } + } + }, + "ReplicatorQueueStatus": { + "description": "Provides various statistics of the queue used in the service fabric replicator.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.\nDepending on the role of the replicator, the properties in this type imply different meanings.", + "properties": { + "QueueUtilizationPercentage": { + "type": "integer", + "format": "int32", + "description": "Represents the utilization of the queue. A value of 0 indicates that the queue is empty and a value of 100 indicates the queue is full." + }, + "QueueMemorySize": { + "type": "string", + "description": "Represents the virtual memory consumed by the queue in bytes." + }, + "FirstSequenceNumber": { + "type": "string", + "description": "On a primary replicator, this is semantically the sequence number of the operation for which all the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is the smallest sequence number of the operation that is present in the queue." + }, + "CompletedSequenceNumber": { + "type": "string", + "description": "On a primary replicator, this is semantically the highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is semantically the highest sequence number that has been applied to the persistent state." + }, + "CommittedSequenceNumber": { + "type": "string", + "description": "On a primary replicator, this is semantically the highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement.\nOn a secondary replicator, this is semantically the highest sequence number of the in-order operation received from the primary." + }, + "LastSequenceNumber": { + "type": "string", + "description": "Represents the latest sequence number of the operation that is available in the queue." + } + } + }, + "ReplicatorStatus": { + "discriminator": "Kind", + "description": "Represents a base class for primary or secondary replicator status.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.", + "required": [ + "Kind" + ], + "properties": { + "Kind": { + "$ref": "#/definitions/ReplicaRole", + "description": "The role of a replica of a stateful service." + } + } + }, + "PrimaryReplicatorStatus": { + "x-ms-discriminator-value": "Primary", + "description": "Provides statistics about the Service Fabric Replicator, when it is functioning in a Primary role.", + "allOf": [ + { + "$ref": "#/definitions/ReplicatorStatus" + } + ], + "properties": { + "ReplicationQueueStatus": { + "$ref": "#/definitions/ReplicatorQueueStatus", + "description": "Details about the replication queue on the primary replicator." + }, + "RemoteReplicators": { + "$ref": "#/definitions/RemoteReplicatorStatusList", + "description": "The status of all the active and idle secondary replicators that the primary is aware of." + } + } + }, + "SecondaryReplicatorStatus": { + "description": "Provides statistics about the Service Fabric Replicator, when it is functioning in a ActiveSecondary role.", + "allOf": [ + { + "$ref": "#/definitions/ReplicatorStatus" + } + ], + "properties": { + "ReplicationQueueStatus": { + "$ref": "#/definitions/ReplicatorQueueStatus", + "description": "Details about the replication queue on the secondary replicator." + }, + "LastReplicationOperationReceivedTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The last time-stamp (UTC) at which a replication operation was received from the primary.\nUTC 0 represents an invalid value, indicating that a replication operation message was never received." + }, + "IsInBuild": { + "type": "boolean", + "description": "Value that indicates whether the replica is currently being built." + }, + "CopyQueueStatus": { + "$ref": "#/definitions/ReplicatorQueueStatus", + "description": "Details about the copy queue on the secondary replicator." + }, + "LastCopyOperationReceivedTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The last time-stamp (UTC) at which a copy operation was received from the primary.\nUTC 0 represents an invalid value, indicating that a copy operation message was never received." + }, + "LastAcknowledgementSentTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator.\nUTC 0 represents an invalid value, indicating that an acknowledgment message was never sent." + } + } + }, + "SecondaryActiveReplicatorStatus": { + "x-ms-discriminator-value": "ActiveSecondary", + "description": "Status of the secondary replicator when it is in active mode and is part of the replica set.", + "allOf": [ + { + "$ref": "#/definitions/SecondaryReplicatorStatus" + } + ] + }, + "SecondaryIdleReplicatorStatus": { + "x-ms-discriminator-value": "IdleSecondary", + "description": "Status of the secondary replicator when it is in idle mode and is being built by the primary.", + "allOf": [ + { + "$ref": "#/definitions/SecondaryReplicatorStatus" + } + ] + }, + "RemoteReplicatorStatus": { + "description": "Represents the state of the secondary replicator from the primary replicator’s point of view.", + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Represents the replica ID of the remote secondary replicator." + }, + "LastAcknowledgementProcessedTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The last timestamp (in UTC) when an acknowledgement from the secondary replicator was processed on the primary.\nUTC 0 represents an invalid value, indicating that no acknowledgement messages were ever processed." + }, + "LastReceivedReplicationSequenceNumber": { + "type": "string", + "description": "The highest replication operation sequence number that the secondary has received from the primary." + }, + "LastAppliedReplicationSequenceNumber": { + "type": "string", + "description": "The highest replication operation sequence number that the secondary has applied to its state." + }, + "IsInBuild": { + "type": "boolean", + "description": "A value that indicates whether the secondary replica is in the process of being built." + }, + "LastReceivedCopySequenceNumber": { + "type": "string", + "description": "The highest copy operation sequence number that the secondary has received from the primary.\nA value of -1 implies that the secondary has received all copy operations." + }, + "LastAppliedCopySequenceNumber": { + "type": "string", + "description": "The highest copy operation sequence number that the secondary has applied to its state.\nA value of -1 implies that the secondary has applied all copy operations and the copy process is complete." + }, + "RemoteReplicatorAcknowledgementStatus": { + "$ref": "#/definitions/RemoteReplicatorAcknowledgementStatus", + "description": "Represents the acknowledgment status for the remote secondary replicator." + } + } + }, + "RemoteReplicatorStatusList": { + "type": "array", + "items": { + "$ref": "#/definitions/RemoteReplicatorStatus" + }, + "description": "List of remote replicator status" + }, + "RemoteReplicatorAcknowledgementStatus": { + "description": "Provides details about the remote replicators from the primary replicator's point of view.", + "properties": { + "ReplicationStreamAcknowledgementDetail": { + "$ref": "#/definitions/RemoteReplicatorAcknowledgementDetail", + "description": "Details about the acknowledgements for operations that are part of the replication stream data." + }, + "CopyStreamAcknowledgementDetail": { + "$ref": "#/definitions/RemoteReplicatorAcknowledgementDetail", + "description": "Details about the acknowledgements for operations that are part of the copy stream data." + } + } + }, + "RemoteReplicatorAcknowledgementDetail": { + "description": "Provides various statistics of the acknowledgements that are being received from the remote replicator.", + "properties": { + "AverageReceiveDuration": { + "type": "string", + "description": "Represents the average duration it takes for the remote replicator to receive an operation." + }, + "AverageApplyDuration": { + "type": "string", + "description": "Represents the average duration it takes for the remote replicator to apply an operation. This usually entails writing the operation to disk." + }, + "NotReceivedCount": { + "type": "string", + "description": "Represents the number of operations not yet received by a remote replicator." + }, + "ReceivedAndNotAppliedCount": { + "type": "string", + "description": "Represents the number of operations received and not yet applied by a remote replicator." + } + } + }, + "DeployedServiceReplicaDetailInfo": { + "discriminator": "ServiceKind", + "description": "Information about a Service Fabric service replica deployed on a node.", + "required": [ + "ServiceKind" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "Full hierarchical name of the service in URI format starting with `fabric:`." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + }, + "CurrentServiceOperation": { + "$ref": "#/definitions/ServiceOperationName", + "description": "Specifies the current active life-cycle operation on a stateful service replica or stateless service instance." + }, + "CurrentServiceOperationStartTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The start time of the current service operation in UTC format." + }, + "ReportedLoad": { + "$ref": "#/definitions/LoadMetricReportInfoList", + "description": "List of load reported by replica." + } + } + }, + "DeployedStatefulServiceReplicaDetailInfo": { + "description": "Information about a stateful replica running in a code package. Note DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and replicaId.", + "x-ms-discriminator-value": "Stateful", + "allOf": [ + { + "$ref": "#/definitions/DeployedServiceReplicaDetailInfo" + } + ], + "properties": { + "ReplicaId": { + "$ref": "#/definitions/ReplicaId", + "description": "Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id." + }, + "CurrentReplicatorOperation": { + "$ref": "#/definitions/ReplicatorOperationName", + "description": "Specifies the operation currently being executed by the Replicator." + }, + "ReadStatus": { + "$ref": "#/definitions/PartitionAccessStatus", + "description": "Specifies the access status of the partition." + }, + "WriteStatus": { + "$ref": "#/definitions/PartitionAccessStatus", + "description": "Specifies the access status of the partition." + }, + "ReplicatorStatus": { + "$ref": "#/definitions/ReplicatorStatus", + "description": "Represents a base class for primary or secondary replicator status.\nContains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc." + }, + "ReplicaStatus": { + "$ref": "#/definitions/KeyValueStoreReplicaStatus", + "description": "Key value store related information for the replica." + }, + "DeployedServiceReplicaQueryResult": { + "$ref": "#/definitions/DeployedStatefulServiceReplicaInfo", + "description": "Information about a stateful service replica deployed on a node." + } + } + }, + "DeployedStatelessServiceInstanceDetailInfo": { + "description": "Information about a stateless instance running in a code package. Note that DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and InstanceId.", + "x-ms-discriminator-value": "Stateless", + "allOf": [ + { + "$ref": "#/definitions/DeployedServiceReplicaDetailInfo" + } + ], + "properties": { + "InstanceId": { + "$ref": "#/definitions/InstanceId", + "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId." + }, + "DeployedServiceReplicaQueryResult": { + "$ref": "#/definitions/DeployedStatelessServiceInstanceInfo", + "description": "Information about a stateless service instance deployed on a node." + } + } + }, + "FabricReplicaStatus": { + "type": "string", + "description": "Specifies the status of the replica.", + "enum": [ + "Invalid", + "Down", + "Up" + ], + "x-ms-enum": { + "name": "FabricReplicaStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the read or write operation access status is not valid. This value is not returned to the caller." + }, + { + "value": "Down", + "description": "Indicates that the replica is down." + }, + { + "value": "Up", + "description": "Indicates that the replica is up." + } + ] + } + }, + "LoadMetricReportInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadMetricReportInfo" + }, + "description": "List of load reported by replica." + }, + "LoadMetricReportInfo": { + "description": "Information about load reported by replica.", + "properties": { + "Name": { + "type": "string", + "description": "The name of the metric." + }, + "Value": { + "type": "integer", + "format": "int32", + "description": "The value of the load for the metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentValue." + }, + "CurrentValue": { + "type": "string", + "format": "double", + "description": "The double value of the load for the metric." + }, + "LastReportedUtc": { + "type": "string", + "format": "date-time", + "description": "The UTC time when the load is reported." + } + } + }, + "PartitionAccessStatus": { + "type": "string", + "description": "Specifies the access status of the partition.", + "enum": [ + "Invalid", + "Granted", + "ReconfigurationPending", + "NotPrimary", + "NoWriteQuorum" + ], + "x-ms-enum": { + "name": "PartitionAccessStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the read or write operation access status is not valid. This value is not returned to the caller." + }, + { + "value": "Granted", + "description": "Indicates that the read or write operation access is granted and the operation is allowed." + }, + { + "value": "ReconfigurationPending", + "description": "Indicates that the client should try again later, because a reconfiguration is in progress." + }, + { + "value": "NotPrimary", + "description": "Indicates that this client request was received by a replica that is not a Primary replica." + }, + { + "value": "NoWriteQuorum", + "description": "Indicates that no write quorum is available and, therefore, no write operation can be accepted." + } + ] + } + }, + "ReplicatorOperationName": { + "type": "string", + "description": "Specifies the operation currently being executed by the Replicator.", + "enum": [ + "Invalid", + "None", + "Open", + "ChangeRole", + "UpdateEpoch", + "Close", + "Abort", + "OnDataLoss", + "WaitForCatchup", + "Build" + ], + "x-ms-enum": { + "name": "ReplicatorOperationName", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Default value if the replicator is not yet ready." + }, + { + "value": "None", + "description": "Replicator is not running any operation from Service Fabric perspective." + }, + { + "value": "Open", + "description": "Replicator is opening." + }, + { + "value": "ChangeRole", + "description": "Replicator is in the process of changing its role." + }, + { + "value": "UpdateEpoch", + "description": "Due to a change in the replica set, replicator is being updated with its Epoch." + }, + { + "value": "Close", + "description": "Replicator is closing." + }, + { + "value": "Abort", + "description": "Replicator is being aborted." + }, + { + "value": "OnDataLoss", + "description": "Replicator is handling the data loss condition, where the user service may potentially be recovering state from an external source." + }, + { + "value": "WaitForCatchup", + "description": "Replicator is waiting for a quorum of replicas to be caught up to the latest state." + }, + { + "value": "Build", + "description": "Replicator is in the process of building one or more replicas." + } + ] + } + }, + "ServiceOperationName": { + "type": "string", + "description": "Specifies the current active life-cycle operation on a stateful service replica or stateless service instance.", + "enum": [ + "Unknown", + "None", + "Open", + "ChangeRole", + "Close", + "Abort" + ], + "x-ms-enum": { + "name": "ServiceOperationName", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Reserved for future use." + }, + { + "value": "None", + "description": "The service replica or instance is not going through any life-cycle changes." + }, + { + "value": "Open", + "description": "The service replica or instance is being opened." + }, + { + "value": "ChangeRole", + "description": "The service replica is changing roles." + }, + { + "value": "Close", + "description": "The service replica or instance is being closed." + }, + { + "value": "Abort", + "description": "The service replica or instance is being aborted." + } + ] + } + }, + "ReplicaKind": { + "type": "string", + "description": "The role of a replica of a stateful service.", + "enum": [ + "Invalid", + "KeyValueStore" + ], + "x-ms-enum": { + "name": "ReplicaKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Represents an invalid replica kind. The value is zero." + }, + { + "value": "KeyValueStore", + "description": "Represents a key value store replica. The value is 1" + } + ] + } + }, + "ReplicaStatusBase": { + "discriminator": "Kind", + "description": "Information about the replica.", + "required": [ + "Kind" + ], + "properties": { + "Kind": { + "$ref": "#/definitions/ReplicaKind", + "description": "The role of a replica of a stateful service." + } + } + }, + "KeyValueStoreReplicaStatus": { + "description": "Key value store related information for the replica.", + "x-ms-discriminator-value": "KeyValueStore", + "allOf": [ + { + "$ref": "#/definitions/ReplicaStatusBase" + } + ], + "properties": { + "DatabaseRowCountEstimate": { + "type": "string", + "description": "Value indicating the estimated number of rows in the underlying database." + }, + "DatabaseLogicalSizeEstimate": { + "type": "string", + "description": "Value indicating the estimated size of the underlying database." + }, + "CopyNotificationCurrentKeyFilter": { + "type": "string", + "description": "Value indicating the latest key-prefix filter applied to enumeration during the callback. Null if there is no pending callback." + }, + "CopyNotificationCurrentProgress": { + "type": "string", + "description": "Value indicating the latest number of keys enumerated during the callback. 0 if there is no pending callback." + }, + "StatusDetails": { + "type": "string", + "description": "Value indicating the current status details of the replica." + } + } + }, + "ServiceUpdateDescription": { + "discriminator": "ServiceKind", + "description": "A ServiceUpdateDescription contains all of the information necessary to update a service.", + "required": [ + "ServiceKind" + ], + "properties": { + "ServiceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The service kind." + }, + "Flags": { + "type": "string", + "description": "Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.\nThis property can be a combination of those flags obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set.\n\n- None - Does not indicate any other properties are set. The value is zero.\n- TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1.\n- ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 2.\n- QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4.\n- StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8.\n- MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16.\n- PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32.\n- PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64.\n- Correlation - Indicates the CorrelationScheme property is set. The value is 128.\n- Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256.\n- DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512.\n- ScalingPolicy - Indicates the ScalingPolicies property is set. The value is 1024." + }, + "PlacementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "CorrelationScheme": { + "$ref": "#/definitions/CorrelationSchemeList", + "description": "The correlation scheme." + }, + "LoadMetrics": { + "$ref": "#/definitions/ServiceLoadMetricsList", + "description": "The service load metrics." + }, + "ServicePlacementPolicies": { + "$ref": "#/definitions/ServicePlacementPoliciesList", + "description": "The service placement policies." + }, + "DefaultMoveCost": { + "$ref": "#/definitions/MoveCost", + "description": "The move cost for the service." + }, + "ScalingPolicies": { + "$ref": "#/definitions/ScalingPolicyDescriptionList", + "description": "Scaling policies for this service." + } + } + }, + "StatefulServiceUpdateDescription": { + "description": "Describes an update for a stateful service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceUpdateDescription" + } + ], + "x-ms-discriminator-value": "Stateful", + "properties": { + "TargetReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The target replica set size as a number." + }, + "MinReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The minimum replica set size as a number." + }, + "ReplicaRestartWaitDurationSeconds": { + "type": "string", + "description": "The duration, in seconds, between when a replica goes down and when a new replica is created." + }, + "QuorumLossWaitDurationSeconds": { + "type": "string", + "description": "The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss." + }, + "StandByReplicaKeepDurationSeconds": { + "type": "string", + "description": "The definition on how long StandBy replicas should be maintained before being removed." + } + } + }, + "StatelessServiceUpdateDescription": { + "description": "Describes an update for a stateless service.", + "allOf": [ + { + "$ref": "#/definitions/ServiceUpdateDescription" + } + ], + "x-ms-discriminator-value": "Stateless", + "properties": { + "InstanceCount": { + "type": "integer", + "minimum": -1, + "description": "The instance count." + } + } + }, + "ImageStoreRelativePath": { + "type": "string", + "description": "The remote location within image store. This path is relative to the image store root." + }, + "FileVersion": { + "description": "Information about the version of image store file.", + "properties": { + "VersionNumber": { + "type": "string", + "description": "The current image store version number for the file is used in image store for checking whether it need to be updated." + }, + "EpochDataLossNumber": { + "type": "string", + "description": "The epoch data loss number of image store replica when this file entry was updated or created." + }, + "EpochConfigurationNumber": { + "type": "string", + "description": "The epoch configuration version number of the image store replica when this file entry was created or updated." + } + } + }, + "FileInfo": { + "description": "Information about a image store file.", + "properties": { + "FileSize": { + "type": "string", + "description": "The size of file in bytes." + }, + "FileVersion": { + "$ref": "#/definitions/FileVersion", + "description": "Information about the version of image store file." + }, + "ModifiedDate": { + "type": "string", + "format": "date-time", + "description": "The date and time when the image store file was last modified." + }, + "StoreRelativePath": { + "type": "string", + "description": "The file path relative to the image store root path." + } + } + }, + "FolderInfo": { + "description": "Information about a image store folder. It includes how many files this folder contains and its image store relative path.", + "properties": { + "StoreRelativePath": { + "$ref": "#/definitions/ImageStoreRelativePath", + "description": "The remote location within image store. This path is relative to the image store root." + }, + "FileCount": { + "type": "string", + "description": "The number of files from within the image store folder." + } + } + }, + "FolderSizeInfo": { + "description": "Information of a image store folder size", + "properties": { + "StoreRelativePath": { + "$ref": "#/definitions/ImageStoreRelativePath", + "description": "The remote location within image store. This path is relative to the image store root." + }, + "FolderSize": { + "type": "string", + "description": "The size of folder in bytes." + } + } + }, + "ImageStoreContent": { + "description": "Information about the image store content.", + "properties": { + "StoreFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/FileInfo" + }, + "description": "The list of image store file info objects represents files found under the given image store relative path." + }, + "StoreFolders": { + "type": "array", + "items": { + "$ref": "#/definitions/FolderInfo" + }, + "description": "The list of image store folder info objects represents subfolders found under the given image store relative path." + } + } + }, + "ImageStoreCopyDescription": { + "description": "Information about how to copy image store content from one image store relative path to another image store relative path.", + "required": [ + "RemoteSource", + "RemoteDestination" + ], + "properties": { + "RemoteSource": { + "type": "string", + "description": "The relative path of source image store content to be copied from." + }, + "RemoteDestination": { + "type": "string", + "description": "The relative path of destination image store content to be copied to." + }, + "SkipFiles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of the file names to be skipped for copying." + }, + "CheckMarkFile": { + "type": "boolean", + "description": "Indicates whether to check mark file during copying. The property is true if checking mark file is required, false otherwise. The mark file is used to check whether the folder is well constructed. If the property is true and mark file does not exist, the copy is skipped." + } + } + }, + "InstanceId": { + "type": "string", + "description": "Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId." + }, + "CodePackageInstanceId": { + "type": "string", + "description": "The instance ID for current running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance id will change." + }, + "HostIsolationMode": { + "type": "string", + "description": "Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest.", + "enum": [ + "None", + "Process", + "HyperV" + ], + "x-ms-enum": { + "name": "HostIsolationMode", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Indicates the isolation mode is not applicable for given HostType. The value is 0." + }, + { + "value": "Process", + "description": "This is the default isolation mode for a ContainerHost. The value is 1." + }, + { + "value": "HyperV", + "description": "Indicates the ContainerHost is a Hyper-V container. This applies to only Windows containers. The value is 2." + } + ] + } + }, + "HostType": { + "type": "string", + "description": "Specifies the type of host for main entry point of a code package as specified in service manifest.", + "enum": [ + "Invalid", + "ExeHost", + "ContainerHost" + ], + "x-ms-enum": { + "name": "HostType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the type of host is not known or invalid. The value is 0." + }, + { + "value": "ExeHost", + "description": "Indicates the host is an executable. The value is 1." + }, + { + "value": "ContainerHost", + "description": "Indicates the host is a container. The value is 2." + } + ] + } + }, + "RestartDeployedCodePackageDescription": { + "description": "Defines description for restarting a deployed code package on Service Fabric node.", + "required": [ + "ServiceManifestName", + "CodePackageName", + "CodePackageInstanceId" + ], + "properties": { + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of service manifest that specified this code package." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + }, + "CodePackageName": { + "$ref": "#/definitions/CodePackageName", + "description": "The name of the code package defined in the service manifest." + }, + "CodePackageInstanceId": { + "$ref": "#/definitions/CodePackageInstanceId", + "description": "The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started.\nEach time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running.\nIf an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID.\nNote, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package." + } + } + }, + "DeployedServiceTypeInfo": { + "description": "Information about service type deployed on a node, information such as the status of the service type registration on a node.", + "properties": { + "ServiceTypeName": { + "$ref": "#/definitions/ServiceTypeName", + "description": "Name of the service type as specified in the service manifest." + }, + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of the service manifest in which this service type is defined." + }, + "CodePackageName": { + "$ref": "#/definitions/CodePackageName", + "description": "The name of the code package that registered the service type." + }, + "Status": { + "$ref": "#/definitions/ServiceTypeRegistrationStatus", + "description": "The status of the service type registration on the node." + }, + "ServicePackageActivationId": { + "$ref": "#/definitions/ServicePackageActivationId", + "description": "The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service\nis 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId\nis always an empty string." + } + } + }, + "DeployedServiceTypeInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/DeployedServiceTypeInfo" + }, + "description": "List of information about service type deployed on a node." + }, + "ServiceTypeRegistrationStatus": { + "type": "string", + "description": "The status of the service type registration on the node.", + "enum": [ + "Invalid", + "Disabled", + "Enabled", + "Registered" + ], + "x-ms-enum": { + "name": "ServiceTypeRegistrationStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the registration status is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Disabled", + "description": "Indicates that the service type is disabled on this node. A type gets disabled when there are too many failures of the code package hosting the service type. If the service type is disabled, new replicas of that service type will not be placed on the node until it is enabled again. The service type is enabled again after the process hosting it comes up and re-registers the type or a preconfigured time interval has passed. The value is 1." + }, + { + "value": "Enabled", + "description": "Indicates that the service type is enabled on this node. Replicas of this service type can be placed on this node when the code package registers the service type. The value is 2." + }, + { + "value": "Registered", + "description": "Indicates that the service type is enabled and registered on the node by a code package. Replicas of this service type can now be placed on this node. The value is 3." + } + ] + } + }, + "ServiceEndpointRole": { + "type": "string", + "description": "The role of the replica where the endpoint is reported.", + "enum": [ + "Invalid", + "Stateless", + "StatefulPrimary", + "StatefulSecondary" + ], + "x-ms-enum": { + "name": "ServiceEndpointRole", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the service endpoint role is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Stateless", + "description": "Indicates that the service endpoint is of a stateless service. The value is 1." + }, + { + "value": "StatefulPrimary", + "description": "Indicates that the service endpoint is of a primary replica of a stateful service. The value is 2." + }, + { + "value": "StatefulSecondary", + "description": "Indicates that the service endpoint is of a secondary replica of a stateful service. The value is 3." + } + ] + } + }, + "ResolvedServiceEndpoint": { + "description": "Endpoint of a resolved service partition.", + "properties": { + "Kind": { + "$ref": "#/definitions/ServiceEndpointRole", + "description": "The role of the replica where the endpoint is reported." + }, + "Address": { + "type": "string", + "description": "The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener." + } + } + }, + "ResolvedServicePartition": { + "description": "Information about a service partition and its associated endpoints.", + "required": [ + "Name", + "PartitionInformation", + "Endpoints", + "Version" + ], + "properties": { + "Name": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "PartitionInformation": { + "$ref": "#/definitions/PartitionInformation", + "description": "A representation of the resolved partition." + }, + "Endpoints": { + "$ref": "#/definitions/ResolvedServiceEndpointList", + "description": "List of resolved service endpoints of a service partition." + }, + "Version": { + "type": "string", + "description": "The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter." + } + } + }, + "ResolvedServiceEndpointList": { + "type": "array", + "items": { + "$ref": "#/definitions/ResolvedServiceEndpoint" + }, + "description": "List of resolved service endpoints of a service partition." + }, + "InvokeDataLossResult": { + "description": "Represents information about an operation in a terminal state (Completed or Faulted).", + "properties": { + "ErrorCode": { + "type": "integer", + "format": "int32", + "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason." + }, + "SelectedPartition": { + "$ref": "#/definitions/SelectedPartition", + "description": "This class returns information about the partition that the user-induced operation acted upon." + } + } + }, + "InvokeQuorumLossResult": { + "description": "Represents information about an operation in a terminal state (Completed or Faulted).", + "properties": { + "ErrorCode": { + "type": "integer", + "format": "int32", + "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason." + }, + "SelectedPartition": { + "$ref": "#/definitions/SelectedPartition", + "description": "This class returns information about the partition that the user-induced operation acted upon." + } + } + }, + "NodeResult": { + "description": "Contains information about a node that was targeted by a user-induced operation.", + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "NodeInstanceId": { + "type": "string", + "description": "The node instance id." + } + } + }, + "NodeTransitionProgress": { + "description": "Information about an NodeTransition operation. This class contains an OperationState and a NodeTransitionResult. The NodeTransitionResult is not valid until OperationState\nis Completed or Faulted.", + "properties": { + "State": { + "$ref": "#/definitions/OperationState", + "description": "The state of the operation." + }, + "NodeTransitionResult": { + "$ref": "#/definitions/NodeTransitionResult", + "description": "Represents information about an operation in a terminal state (Completed or Faulted)." + } + } + }, + "NodeTransitionResult": { + "description": "Represents information about an operation in a terminal state (Completed or Faulted).", + "properties": { + "ErrorCode": { + "type": "integer", + "format": "int32", + "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason." + }, + "NodeResult": { + "$ref": "#/definitions/NodeResult", + "description": "Contains information about a node that was targeted by a user-induced operation." + } + } + }, + "OperationId": { + "type": "string", + "format": "uuid", + "description": "A GUID that identifies a call to this API. This is also passed into the corresponding GetProgress API." + }, + "OperationState": { + "type": "string", + "description": "The state of the operation.", + "enum": [ + "Invalid", + "Running", + "RollingBack", + "Completed", + "Faulted", + "Cancelled", + "ForceCancelled" + ], + "x-ms-enum": { + "name": "OperationState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "The operation state is invalid." + }, + { + "value": "Running", + "description": "The operation is in progress." + }, + { + "value": "RollingBack", + "description": "The operation is rolling back internal system state because it encountered a fatal error or was cancelled by the user. \"RollingBack\" does not refer to user state. For example, if CancelOperation is called on a command of type PartitionDataLoss, state of \"RollingBack\" does not mean service data is being restored (assuming the command has progressed far enough to cause data loss). It means the system is rolling back/cleaning up internal system state associated with the command." + }, + { + "value": "Completed", + "description": "The operation has completed successfully and is no longer running." + }, + { + "value": "Faulted", + "description": "The operation has failed and is no longer running." + }, + { + "value": "Cancelled", + "description": "The operation was cancelled by the user using CancelOperation, and is no longer running." + }, + { + "value": "ForceCancelled", + "description": "The operation was cancelled by the user using CancelOperation, with the force parameter set to true. It is no longer running. Refer to CancelOperation for more details." + } + ] + } + }, + "OperationStatus": { + "description": "Contains the OperationId, OperationState, and OperationType for user-induced operations.", + "properties": { + "OperationId": { + "$ref": "#/definitions/OperationId", + "description": "A GUID that identifies a call to this API. This is also passed into the corresponding GetProgress API." + }, + "State": { + "$ref": "#/definitions/OperationState", + "description": "The state of the operation." + }, + "Type": { + "$ref": "#/definitions/OperationType", + "description": "The type of the operation." + } + } + }, + "OperationStatusList": { + "type": "array", + "description": "A list of OperationStatus objects.", + "items": { + "$ref": "#/definitions/OperationStatus" + } + }, + "OperationType": { + "type": "string", + "description": "The type of the operation.", + "enum": [ + "Invalid", + "PartitionDataLoss", + "PartitionQuorumLoss", + "PartitionRestart", + "NodeTransition" + ], + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "The operation state is invalid." + }, + { + "value": "PartitionDataLoss", + "description": "An operation started using the StartDataLoss API." + }, + { + "value": "PartitionQuorumLoss", + "description": "An operation started using the StartQuorumLoss API." + }, + { + "value": "PartitionRestart", + "description": "An operation started using the StartPartitionRestart API." + }, + { + "value": "NodeTransition", + "description": "An operation started using the StartNodeTransition API." + } + ] + } + }, + "PartitionDataLossProgress": { + "description": "Information about a partition data loss user-induced operation.", + "properties": { + "State": { + "$ref": "#/definitions/OperationState", + "description": "The state of the operation." + }, + "InvokeDataLossResult": { + "$ref": "#/definitions/InvokeDataLossResult", + "description": "Represents information about an operation in a terminal state (Completed or Faulted)." + } + } + }, + "PartitionQuorumLossProgress": { + "description": "Information about a partition quorum loss user-induced operation.", + "properties": { + "State": { + "$ref": "#/definitions/OperationState", + "description": "The state of the operation." + }, + "InvokeQuorumLossResult": { + "$ref": "#/definitions/InvokeQuorumLossResult", + "description": "Represents information about an operation in a terminal state (Completed or Faulted)." + } + } + }, + "PartitionRestartProgress": { + "description": "Information about a partition restart user-induced operation.", + "properties": { + "State": { + "$ref": "#/definitions/OperationState", + "description": "The state of the operation." + }, + "RestartPartitionResult": { + "$ref": "#/definitions/RestartPartitionResult", + "description": "Represents information about an operation in a terminal state (Completed or Faulted)." + } + } + }, + "RestartPartitionResult": { + "description": "Represents information about an operation in a terminal state (Completed or Faulted).", + "properties": { + "ErrorCode": { + "type": "integer", + "format": "int32", + "description": "If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason." + }, + "SelectedPartition": { + "$ref": "#/definitions/SelectedPartition", + "description": "This class returns information about the partition that the user-induced operation acted upon." + } + } + }, + "SelectedPartition": { + "description": "This class returns information about the partition that the user-induced operation acted upon.", + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service the partition belongs to." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + } + } + }, + "DeployServicePackageToNodeDescription": { + "description": "Defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.", + "properties": { + "ServiceManifestName": { + "$ref": "#/definitions/ServiceManifestName", + "description": "The name of service manifest whose packages need to be downloaded." + }, + "ApplicationTypeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + }, + "ApplicationTypeVersion": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "PackageSharingPolicy": { + "$ref": "#/definitions/PackageSharingPolicyInfoList", + "description": "List of package sharing policy information." + } + }, + "required": [ + "ServiceManifestName", + "ApplicationTypeName", + "ApplicationTypeVersion", + "NodeName" + ] + }, + "PackageSharingPolicyInfo": { + "description": "Represents a policy for the package sharing.", + "properties": { + "SharedPackageName": { + "type": "string", + "description": "The name of code, configuration or data package that should be shared." + }, + "PackageSharingScope": { + "$ref": "#/definitions/PackageSharingPolicyScope", + "description": "Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation." + } + } + }, + "PackageSharingPolicyInfoList": { + "type": "array", + "items": { + "$ref": "#/definitions/PackageSharingPolicyInfo" + }, + "description": "List of package sharing policy information." + }, + "PackageSharingPolicyScope": { + "type": "string", + "description": "Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation.", + "enum": [ + "None", + "All", + "Code", + "Config", + "Data" + ], + "x-ms-enum": { + "name": "PackageSharingPolicyScope", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No package sharing policy scope. The value is 0." + }, + { + "value": "All", + "description": "Share all code, config and data packages from corresponding service manifest. The value is 1." + }, + { + "value": "Code", + "description": "Share all code packages from corresponding service manifest. The value is 2." + }, + { + "value": "Config", + "description": "Share all config packages from corresponding service manifest. The value is 3." + }, + { + "value": "Data", + "description": "Share all data packages from corresponding service manifest. The value is 4." + } + ] + } + }, + "ResumeApplicationUpgradeDescription": { + "description": "Describes the parameters for resuming an unmonitored manual Service Fabric application upgrade", + "properties": { + "UpgradeDomainName": { + "type": "string", + "description": "The name of the upgrade domain in which to resume the upgrade." + } + }, + "required": [ + "UpgradeDomainName" + ] + }, + "ApplicationUpgradeUpdateDescription": { + "description": "Describes the parameters for updating an ongoing application upgrade.", + "properties": { + "Name": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "UpgradeKind": { + "$ref": "#/definitions/UpgradeKind", + "description": "The kind of upgrade out of the following possible values." + }, + "ApplicationHealthPolicy": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + }, + "UpdateDescription": { + "$ref": "#/definitions/RollingUpgradeUpdateDescription", + "description": "Describes the parameters for updating a rolling upgrade of application or cluster." + } + }, + "required": [ + "Name", + "UpgradeKind" + ] + }, + "RollingUpgradeUpdateDescription": { + "description": "Describes the parameters for updating a rolling upgrade of application or cluster.", + "properties": { + "RollingUpgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored." + }, + "ForceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "ReplicaSetCheckTimeoutInMilliseconds": { + "$ref": "#/definitions/UpgradeReplicaSetCheckTimeout", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "FailureAction": { + "$ref": "#/definitions/FailureAction", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.\nInvalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically.\nManual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "HealthCheckWaitDurationInMilliseconds": { + "$ref": "#/definitions/HealthCheckWaitDuration", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "HealthCheckStableDurationInMilliseconds": { + "$ref": "#/definitions/HealthCheckStableDuration", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "HealthCheckRetryTimeoutInMilliseconds": { + "$ref": "#/definitions/HealthCheckRetryTimeout", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "UpgradeTimeoutInMilliseconds": { + "$ref": "#/definitions/UpgradeTimeout", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "UpgradeDomainTimeoutInMilliseconds": { + "$ref": "#/definitions/UpgradeDomainTimeout", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + } + }, + "required": [ + "RollingUpgradeMode" + ] + }, + "NameDescription": { + "description": "Describes a Service Fabric name.", + "properties": { + "Name": { + "$ref": "#/definitions/FabricName", + "description": "The Service Fabric name, including the 'fabric:' URI scheme." + } + }, + "required": [ + "Name" + ] + }, + "FabricName": { + "type": "string", + "description": "The Service Fabric name, including the 'fabric:' URI scheme." + }, + "PagedSubNameInfoList": { + "description": "A paged list of Service Fabric names. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "IsConsistent": { + "type": "boolean", + "description": "Indicates whether any name under the given name has been modified during the enumeration. If there was a modification, this property value is false." + }, + "SubNames": { + "type": "array", + "description": "List of the child names.", + "items": { + "$ref": "#/definitions/FabricName" + } + } + } + }, + "PropertyValueKind": { + "type": "string", + "description": "The kind of property, determined by the type of data. Following are the possible values.", + "enum": [ + "Invalid", + "Binary", + "Int64", + "Double", + "String", + "Guid" + ], + "x-ms-enum": { + "name": "PropertyValueKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the property is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Binary", + "description": "The data inside the property is a binary blob. The value is 1." + }, + { + "value": "Int64", + "description": "The data inside the property is an int64. The value is 2." + }, + { + "value": "Double", + "description": "The data inside the property is a double. The value is 3." + }, + { + "value": "String", + "description": "The data inside the property is a string. The value is 4." + }, + { + "value": "Guid", + "description": "The data inside the property is a guid. The value is 5." + } + ] + } + }, + "PropertyValue": { + "discriminator": "Kind", + "description": "Describes a Service Fabric property value.", + "properties": { + "Kind": { + "$ref": "#/definitions/PropertyValueKind", + "description": "The kind of property, determined by the type of data. Following are the possible values." + } + }, + "required": [ + "Kind" + ] + }, + "BinaryPropertyValue": { + "description": "Describes a Service Fabric property value of type Binary.", + "allOf": [ + { + "$ref": "#/definitions/PropertyValue" + } + ], + "x-ms-discriminator-value": "Binary", + "required": [ + "Data" + ], + "properties": { + "Data": { + "$ref": "#/definitions/ByteArray", + "description": "Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255." + } + } + }, + "Int64PropertyValue": { + "description": "Describes a Service Fabric property value of type Int64.", + "allOf": [ + { + "$ref": "#/definitions/PropertyValue" + } + ], + "x-ms-discriminator-value": "Int64", + "required": [ + "Data" + ], + "properties": { + "Data": { + "type": "string", + "description": "The data of the property value." + } + } + }, + "DoublePropertyValue": { + "description": "Describes a Service Fabric property value of type Double.", + "allOf": [ + { + "$ref": "#/definitions/PropertyValue" + } + ], + "x-ms-discriminator-value": "Double", + "required": [ + "Data" + ], + "properties": { + "Data": { + "type": "number", + "format": "double", + "description": "The data of the property value." + } + } + }, + "StringPropertyValue": { + "description": "Describes a Service Fabric property value of type String.", + "allOf": [ + { + "$ref": "#/definitions/PropertyValue" + } + ], + "x-ms-discriminator-value": "String", + "required": [ + "Data" + ], + "properties": { + "Data": { + "type": "string", + "description": "The data of the property value." + } + } + }, + "GuidPropertyValue": { + "description": "Describes a Service Fabric property value of type Guid.", + "allOf": [ + { + "$ref": "#/definitions/PropertyValue" + } + ], + "x-ms-discriminator-value": "Guid", + "required": [ + "Data" + ], + "properties": { + "Data": { + "type": "string", + "format": "uuid", + "description": "The data of the property value." + } + } + }, + "PropertyInfo": { + "discriminator": "Kind", + "description": "Information about a Service Fabric property.", + "properties": { + "Name": { + "$ref": "#/definitions/PropertyName", + "description": "The name of the Service Fabric property." + }, + "Value": { + "$ref": "#/definitions/PropertyValue", + "description": "Describes a Service Fabric property value." + }, + "Metadata": { + "$ref": "#/definitions/PropertyMetadata", + "description": "The metadata associated with a property, including the property's name." + } + }, + "required": [ + "Name", + "Metadata" + ] + }, + "PagedPropertyInfoList": { + "description": "The paged list of Service Fabric properties under a given name. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "IsConsistent": { + "type": "boolean", + "description": "Indicates whether any property under the given name has been modified during the enumeration. If there was a modification, this property value is false." + }, + "Properties": { + "type": "array", + "description": "List of property information.", + "items": { + "$ref": "#/definitions/PropertyInfo" + } + } + } + }, + "PropertyDescription": { + "description": "Description of a Service Fabric property.", + "properties": { + "PropertyName": { + "$ref": "#/definitions/PropertyName", + "description": "The name of the Service Fabric property." + }, + "CustomTypeId": { + "$ref": "#/definitions/PropertyCustomTypeId", + "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property." + }, + "Value": { + "$ref": "#/definitions/PropertyValue", + "description": "Describes a Service Fabric property value." + } + }, + "required": [ + "PropertyName", + "Value" + ] + }, + "PropertyName": { + "type": "string", + "description": "The name of the Service Fabric property." + }, + "PropertyMetadata": { + "description": "The metadata associated with a property, including the property's name.", + "properties": { + "TypeId": { + "$ref": "#/definitions/PropertyValueKind", + "description": "The kind of property, determined by the type of data. Following are the possible values." + }, + "CustomTypeId": { + "$ref": "#/definitions/PropertyCustomTypeId", + "description": "The property's custom type ID." + }, + "Parent": { + "$ref": "#/definitions/FabricName", + "description": "The name of the parent Service Fabric Name for the property. It could be thought of as the name-space/table under which the property exists." + }, + "SizeInBytes": { + "type": "integer", + "description": "The length of the serialized property value." + }, + "LastModifiedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Represents when the Property was last modified. Only write operations will cause this field to be updated." + }, + "SequenceNumber": { + "type": "string", + "description": "The version of the property. Every time a property is modified, its sequence number is increased." + } + } + }, + "PropertyCustomTypeId": { + "type": "string", + "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property." + }, + "PropertyBatchDescriptionList": { + "description": "Describes a list of property batch operations to be executed. Either all or none of the operations will be committed.", + "properties": { + "Operations": { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyBatchOperation" + }, + "description": "A list of the property batch operations to be executed." + } + } + }, + "PropertyBatchOperationKind": { + "type": "string", + "description": "The kind of property batch operation, determined by the operation to be performed. The following are the possible values.", + "enum": [ + "Invalid", + "Put", + "Get", + "CheckExists", + "CheckSequence", + "Delete", + "CheckValue" + ], + "x-ms-enum": { + "name": "PropertyBatchOperationKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the property operation is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Put", + "description": "The operation will create or edit a property. The value is 1." + }, + { + "value": "Get", + "description": "The operation will get a property. The value is 2." + }, + { + "value": "CheckExists", + "description": "The operation will check that a property exists or doesn't exists, depending on the provided value. The value is 3." + }, + { + "value": "CheckSequence", + "description": "The operation will ensure that the sequence number is equal to the provided value. The value is 4." + }, + { + "value": "Delete", + "description": "The operation will delete a property. The value is 5." + }, + { + "value": "CheckValue", + "description": "The operation will ensure that the value of a property is equal to the provided value. The value is 7." + } + ] + } + }, + "PropertyBatchOperation": { + "discriminator": "Kind", + "description": "Represents the base type for property operations that can be put into a batch and submitted.", + "properties": { + "Kind": { + "$ref": "#/definitions/PropertyBatchOperationKind", + "description": "The kind of property batch operation, determined by the operation to be performed. The following are the possible values." + }, + "PropertyName": { + "$ref": "#/definitions/PropertyName", + "description": "The name of the Service Fabric property." + } + }, + "required": [ + "Kind", + "PropertyName" + ] + }, + "CheckExistsPropertyBatchOperation": { + "description": "Represents a PropertyBatchOperation that compares the Boolean existence of a property with the Exists argument.\nThe PropertyBatchOperation operation fails if the property's existence is not equal to the Exists argument.\nThe CheckExistsPropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "CheckExists", + "properties": { + "Exists": { + "type": "boolean", + "description": "Whether or not the property should exist for the operation to pass." + } + }, + "required": [ + "Exists" + ] + }, + "CheckSequencePropertyBatchOperation": { + "description": "Compares the Sequence Number of a property with the SequenceNumber argument.\nA property's sequence number can be thought of as that property's version.\nEvery time the property is modified, its sequence number is increased.\nThe sequence number can be found in a property's metadata.\nThe comparison fails if the sequence numbers are not equal.\nCheckSequencePropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "CheckSequence", + "properties": { + "SequenceNumber": { + "type": "string", + "description": "The expected sequence number." + } + }, + "required": [ + "SequenceNumber" + ] + }, + "CheckValuePropertyBatchOperation": { + "description": "Represents a PropertyBatchOperation that compares the value of the property with the expected value.\nThe CheckValuePropertyBatchOperation is generally used as a precondition for the write operations in the batch.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "CheckValue", + "properties": { + "Value": { + "$ref": "#/definitions/PropertyValue", + "description": "The expected property value." + } + }, + "required": [ + "Value" + ] + }, + "DeletePropertyBatchOperation": { + "description": "Represents a PropertyBatchOperation that deletes a specified property if it exists.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "Delete" + }, + "GetPropertyBatchOperation": { + "description": "Represents a PropertyBatchOperation that gets the specified property if it exists.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "Get", + "properties": { + "IncludeValue": { + "type": "boolean", + "default": false, + "description": "Whether or not to return the property value with the metadata.\nTrue if values should be returned with the metadata; False to return only property metadata." + } + } + }, + "PutPropertyBatchOperation": { + "description": "Puts the specified property under the specified name.\nNote that if one PropertyBatchOperation in a PropertyBatch fails,\nthe entire batch fails and cannot be committed in a transactional manner.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchOperation" + } + ], + "x-ms-discriminator-value": "Put", + "properties": { + "Value": { + "$ref": "#/definitions/PropertyValue", + "description": "Describes a Service Fabric property value." + }, + "CustomTypeId": { + "$ref": "#/definitions/PropertyCustomTypeId", + "description": "The property's custom type ID. Using this property, the user is able to tag the type of the value of the property." + } + }, + "required": [ + "Value" + ] + }, + "PropertyBatchInfoKind": { + "type": "string", + "description": "The kind of property batch info, determined by the results of a property batch. The following are the possible values.", + "enum": [ + "Invalid", + "Successful", + "Failed" + ], + "x-ms-enum": { + "name": "PropertyBatchInfoKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the property batch info is invalid. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Successful", + "description": "The property batch succeeded." + }, + { + "value": "Failed", + "description": "The property batch failed." + } + ] + } + }, + "PropertyBatchInfo": { + "discriminator": "Kind", + "description": "Information about the results of a property batch.", + "properties": { + "Kind": { + "$ref": "#/definitions/PropertyBatchInfoKind", + "description": "The kind of property batch info, determined by the results of a property batch. The following are the possible values." + } + }, + "required": [ + "Kind" + ] + }, + "SuccessfulPropertyBatchInfo": { + "description": "Derived from PropertyBatchInfo. Represents the property batch succeeding. Contains the results of any \"Get\" operations in the batch.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchInfo" + } + ], + "x-ms-discriminator-value": "Successful", + "properties": { + "Properties": { + "additionalProperties": { + "$ref": "#/definitions/PropertyInfo" + }, + "description": "A map containing the properties that were requested through any \"Get\" property batch operations. The key represents the index of the \"Get\" operation in the original request, in string form. The value is the property. If a property is not found, it will not be in the map." + } + } + }, + "FailedPropertyBatchInfo": { + "description": "Derived from PropertyBatchInfo. Represents the property batch failing. Contains information about the specific batch failure.", + "allOf": [ + { + "$ref": "#/definitions/PropertyBatchInfo" + } + ], + "x-ms-discriminator-value": "Failed", + "properties": { + "ErrorMessage": { + "type": "string", + "description": "The error message of the failed operation. Describes the exception thrown due to the first unsuccessful operation in the property batch." + }, + "OperationIndex": { + "type": "integer", + "description": "The index of the unsuccessful operation in the property batch." + } + } + }, + "EntityKind": { + "type": "string", + "description": "The entity type of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc.", + "enum": [ + "Invalid", + "Node", + "Partition", + "Service", + "Application", + "Replica", + "DeployedApplication", + "DeployedServicePackage", + "Cluster" + ], + "x-ms-enum": { + "name": "EntityKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid entity kind. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Node", + "description": "Indicates the entity is a Service Fabric node. The value is 1." + }, + { + "value": "Partition", + "description": "Indicates the entity is a Service Fabric partition. The value is 2." + }, + { + "value": "Service", + "description": "Indicates the entity is a Service Fabric service. The value is 3." + }, + { + "value": "Application", + "description": "Indicates the entity is a Service Fabric application. The value is 4." + }, + { + "value": "Replica", + "description": "Indicates the entity is a Service Fabric replica. The value is 5." + }, + { + "value": "DeployedApplication", + "description": "Indicates the entity is a Service Fabric deployed application. The value is 6." + }, + { + "value": "DeployedServicePackage", + "description": "Indicates the entity is a Service Fabric deployed service package. The value is 7." + }, + { + "value": "Cluster", + "description": "Indicates the entity is a Service Fabric cluster. The value is 8." + } + ] + } + }, + "HealthStateCount": { + "description": "Represents information about how many health entities are in Ok, Warning and Error health state.", + "properties": { + "OkCount": { + "type": "integer", + "format": "int64", + "description": "The number of health entities with aggregated health state Ok.", + "minimum": 0 + }, + "WarningCount": { + "type": "integer", + "format": "int64", + "description": "The number of health entities with aggregated health state Warning.", + "minimum": 0 + }, + "ErrorCount": { + "type": "integer", + "format": "int64", + "description": "The number of health entities with aggregated health state Error.", + "minimum": 0 + } + } + }, + "EntityKindHealthStateCount": { + "description": "Represents health state count for entities of the specified entity kind.", + "properties": { + "EntityKind": { + "$ref": "#/definitions/EntityKind", + "description": "The entity kind for which health states are evaluated." + }, + "HealthStateCount": { + "$ref": "#/definitions/HealthStateCount", + "description": "The health state count for the entities of the specified kind." + } + } + }, + "HealthStatistics": { + "description": "The health statistics of an entity, returned as part of the health query result when the query description is configured to include statistics.\nThe statistics include health state counts for all children types of the current entity.\nFor example, for cluster, the health statistics include health state counts for nodes, applications, services, partitions, replicas, deployed applications and deployed service packages.\nFor partition, the health statistics include health counts for replicas.", + "properties": { + "HealthStateCountList": { + "type": "array", + "items": { + "$ref": "#/definitions/EntityKindHealthStateCount" + }, + "description": "List of health state counts per entity kind, which keeps track of how many children of the queried entity are in Ok, Warning and Error state." + } + } + }, + "BackupPolicyDescription": { + "description": "Describes a backup policy for configuring periodic backup.", + "required": [ + "Name", + "AutoRestoreOnDataLoss", + "Schedule", + "MaxIncrementalBackups", + "Storage" + ], + "properties": { + "Name": { + "type": "string", + "description": "The unique name identifying this backup policy." + }, + "AutoRestoreOnDataLoss": { + "type": "boolean", + "description": "Specifies whether to trigger restore automatically using the latest available backup in case the partition experiences a data loss event." + }, + "MaxIncrementalBackups": { + "type": "integer", + "minimum": 0, + "maximum": 255, + "description": "Defines the maximum number of incremental backups to be taken between two full backups. This is just the upper limit. A full backup may be taken before specified number of incremental backups are completed in one of the following conditions\n- The replica has never taken a full backup since it has become primary,\n- Some of the log records since the last backup has been truncated, or\n- Replica passed the MaxAccumulatedBackupLogSizeInMB limit." + }, + "Schedule": { + "$ref": "#/definitions/BackupScheduleDescription", + "description": "Describes the backup schedule parameters." + }, + "Storage": { + "$ref": "#/definitions/BackupStorageDescription", + "description": "Describes the details of backup storage where to store the periodic backups." + }, + "RetentionPolicy": { + "$ref": "#/definitions/RetentionPolicyDescription", + "description": "Describes the policy to retain backups in storage." + } + } + }, + "PagedBackupPolicyDescriptionList": { + "description": "The list of backup policies configured in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "The list of backup policies information.", + "items": { + "$ref": "#/definitions/BackupPolicyDescription" + } + } + } + }, + "BasicRetentionPolicyDescription": { + "description": "Describes basic retention policy.", + "allOf": [ + { + "$ref": "#/definitions/RetentionPolicyDescription" + } + ], + "x-ms-discriminator-value": "Basic", + "required": [ + "RetentionDuration" + ], + "properties": { + "RetentionDuration": { + "type": "string", + "format": "duration", + "description": "It is the minimum duration for which a backup created, will remain stored in the storage and might get deleted after that span of time. It should be specified in ISO8601 format." + }, + "MinimumNumberOfBackups": { + "type": "integer", + "minimum": 0, + "description": "It is the minimum number of backups to be retained at any point of time. If specified with a non zero value, backups will not be deleted even if the backups have gone past retention duration and have number of backups less than or equal to it." + } + } + }, + "RetentionPolicyType": { + "type": "string", + "description": "The type of retention policy. Currently only \"Basic\" retention policy is supported.", + "enum": [ + "Basic", + "Invalid" + ], + "x-ms-enum": { + "name": "RetentionPolicyType", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Indicates a basic retention policy type." + }, + { + "value": "Invalid", + "description": "Indicates an invalid retention policy type." + } + ] + } + }, + "DisableBackupDescription": { + "description": "It describes the body parameters while disabling backup of a backup entity(Application/Service/Partition).", + "required": [ + "CleanBackup" + ], + "properties": { + "CleanBackup": { + "type": "boolean", + "description": "Boolean flag to delete backups. It can be set to true for deleting all the backups which were created for the backup entity that is getting disabled for backup." + } + } + }, + "RetentionPolicyDescription": { + "description": "Describes the retention policy configured.", + "required": [ + "RetentionPolicyType" + ], + "discriminator": "RetentionPolicyType", + "properties": { + "RetentionPolicyType": { + "$ref": "#/definitions/RetentionPolicyType", + "description": "The type of retention policy. Currently only \"Basic\" retention policy is supported." + } + } + }, + "BackupStorageDescription": { + "required": [ + "StorageKind" + ], + "discriminator": "StorageKind", + "properties": { + "StorageKind": { + "$ref": "#/definitions/BackupStorageKind", + "description": "The kind of backup storage, where backups are saved." + }, + "FriendlyName": { + "type": "string", + "description": "Friendly name for this backup storage." + } + }, + "description": "Describes the parameters for the backup storage." + }, + "BackupStorageKind": { + "type": "string", + "description": "The kind of backup storage, where backups are saved.", + "enum": [ + "Invalid", + "FileShare", + "AzureBlobStore" + ], + "x-ms-enum": { + "name": "BackupStorageKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup storage kind. All Service Fabric enumerations have the invalid type." + }, + { + "value": "FileShare", + "description": "Indicates file/ SMB share to be used as backup storage." + }, + { + "value": "AzureBlobStore", + "description": "Indicates Azure blob store to be used as backup storage." + } + ] + } + }, + "BackupScheduleDescription": { + "description": "Describes the backup schedule parameters.", + "required": [ + "ScheduleKind" + ], + "discriminator": "ScheduleKind", + "properties": { + "ScheduleKind": { + "$ref": "#/definitions/BackupScheduleKind", + "description": "The kind of backup schedule, time based or frequency based." + } + } + }, + "BackupScheduleKind": { + "type": "string", + "description": "The kind of backup schedule, time based or frequency based.", + "enum": [ + "Invalid", + "TimeBased", + "FrequencyBased" + ], + "x-ms-enum": { + "name": "BackupScheduleKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup schedule kind. All Service Fabric enumerations have the invalid type." + }, + { + "value": "TimeBased", + "description": "Indicates a time-based backup schedule." + }, + { + "value": "FrequencyBased", + "description": "Indicates a frequency-based backup schedule." + } + ] + } + }, + "ApplicationBackupConfigurationInfo": { + "description": "Backup configuration information for a specific Service Fabric application specifying what backup policy is being applied and suspend description, if any.", + "allOf": [ + { + "$ref": "#/definitions/BackupConfigurationInfo" + } + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + } + }, + "x-ms-discriminator-value": "Application" + }, + "ServiceBackupConfigurationInfo": { + "description": "Backup configuration information for a specific Service Fabric service specifying what backup policy is being applied and suspend description, if any.", + "allOf": [ + { + "$ref": "#/definitions/BackupConfigurationInfo" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + } + }, + "x-ms-discriminator-value": "Service" + }, + "PagedBackupConfigurationInfoList": { + "description": "The list of backup configuration information. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of backup configuration information.", + "items": { + "$ref": "#/definitions/BackupConfigurationInfo" + } + } + } + }, + "BackupPolicyScope": { + "type": "string", + "description": "Specifies the scope at which the backup policy is applied.", + "enum": [ + "Invalid", + "Partition", + "Service", + "Application" + ], + "x-ms-enum": { + "name": "BackupPolicyScope", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup policy scope type. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Partition", + "description": "Indicates the backup policy is applied at partition level. Hence overriding any policy which may have applied at partition's service or application level." + }, + { + "value": "Service", + "description": "Indicates the backup policy is applied at service level. All partitions of the service inherit this policy unless explicitly overridden at partition level." + }, + { + "value": "Application", + "description": "Indicates the backup policy is applied at application level. All services and partitions of the application inherit this policy unless explicitly overridden at service or partition level." + } + ] + } + }, + "BackupSuspensionScope": { + "type": "string", + "description": "Specifies the scope at which the backup suspension was applied.", + "enum": [ + "Invalid", + "Partition", + "Service", + "Application" + ], + "x-ms-enum": { + "name": "BackupSuspensionScope", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup suspension scope type also indicating entity is not suspended. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Partition", + "description": "Indicates the backup suspension is applied at partition level." + }, + { + "value": "Service", + "description": "Indicates the backup suspension is applied at service level. All partitions of the service are hence suspended for backup." + }, + { + "value": "Application", + "description": "Indicates the backup suspension is applied at application level. All services and partitions of the application are hence suspended for backup." + } + ] + } + }, + "RestorePartitionDescription": { + "description": "Specifies the parameters needed to trigger a restore of a specific partition.", + "required": [ + "BackupId", + "BackupLocation" + ], + "properties": { + "BackupId": { + "type": "string", + "format": "uuid", + "description": "Unique backup ID." + }, + "BackupLocation": { + "type": "string", + "description": "Location of the backup relative to the backup storage specified/ configured." + }, + "BackupStorage": { + "$ref": "#/definitions/BackupStorageDescription", + "description": "Location of the backup from where the partition will be restored." + } + } + }, + "RestoreProgressInfo": { + "description": "Describes the progress of a restore operation on a partition.", + "properties": { + "RestoreState": { + "$ref": "#/definitions/RestoreState", + "description": "Represents the current state of the partition restore operation." + }, + "TimeStampUtc": { + "type": "string", + "format": "date-time", + "description": "Timestamp when operation succeeded or failed." + }, + "RestoredEpoch": { + "$ref": "#/definitions/Epoch", + "description": "Describes the epoch at which the partition is restored." + }, + "RestoredLsn": { + "type": "string", + "description": "Restored LSN." + }, + "FailureError": { + "$ref": "#/definitions/FabricErrorError", + "description": "Denotes the failure encountered in performing restore operation." + } + } + }, + "RestoreState": { + "type": "string", + "description": "Represents the current state of the partition restore operation.", + "enum": [ + "Invalid", + "Accepted", + "RestoreInProgress", + "Success", + "Failure", + "Timeout" + ], + "x-ms-enum": { + "name": "RestoreState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid restore state. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Accepted", + "description": "Operation has been validated and accepted. Restore is yet to be triggered." + }, + { + "value": "RestoreInProgress", + "description": "Restore operation has been triggered and is under process." + }, + { + "value": "Success", + "description": "Operation completed with success." + }, + { + "value": "Failure", + "description": "Operation completed with failure." + }, + { + "value": "Timeout", + "description": "Operation timed out." + } + ] + } + }, + "BackupPartitionDescription": { + "description": "Describes the parameters for triggering partition's backup.", + "properties": { + "BackupStorage": { + "$ref": "#/definitions/BackupStorageDescription", + "description": "Specifies the details of the backup storage where to save the backup." + } + } + }, + "BackupInfo": { + "description": "Represents a backup point which can be used to trigger a restore.", + "properties": { + "BackupId": { + "type": "string", + "format": "uuid", + "description": "Unique backup ID ." + }, + "BackupChainId": { + "type": "string", + "format": "uuid", + "description": "Unique backup chain ID. All backups part of the same chain has the same backup chain id. A backup chain is comprised of 1 full backup and multiple incremental backups." + }, + "ApplicationName": { + "type": "string", + "description": "Name of the Service Fabric application this partition backup belongs to." + }, + "ServiceName": { + "type": "string", + "description": "Name of the Service Fabric service this partition backup belongs to." + }, + "PartitionInformation": { + "$ref": "#/definitions/PartitionInformation", + "description": "Information about the partition to which this backup belongs to" + }, + "BackupLocation": { + "type": "string", + "description": "Location of the backup, relative to the backup store." + }, + "BackupType": { + "$ref": "#/definitions/BackupType", + "description": "Describes the type of backup, whether its full or incremental." + }, + "EpochOfLastBackupRecord": { + "$ref": "#/definitions/Epoch", + "description": "Epoch of the last record in this backup." + }, + "LsnOfLastBackupRecord": { + "type": "string", + "description": "LSN of the last record in this backup." + }, + "CreationTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The date time when this backup was taken." + }, + "ServiceManifestVersion": { + "type": "string", + "description": "Manifest Version of the service this partition backup belongs to." + }, + "FailureError": { + "$ref": "#/definitions/FabricErrorError", + "description": "Denotes the failure encountered in getting backup point information." + } + } + }, + "PagedBackupInfoList": { + "description": "The list of backups. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of backup information.", + "items": { + "$ref": "#/definitions/BackupInfo" + } + } + } + }, + "BackupType": { + "type": "string", + "description": "Describes the type of backup, whether its full or incremental.", + "enum": [ + "Invalid", + "Full", + "Incremental" + ], + "x-ms-enum": { + "name": "BackupType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup type. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Full", + "description": "Indicates a full backup." + }, + { + "value": "Incremental", + "description": "Indicates an incremental backup. A backup chain is comprised of a full backup followed by 0 or more incremental backups." + } + ] + } + }, + "AzureBlobBackupStorageDescription": { + "allOf": [ + { + "$ref": "#/definitions/BackupStorageDescription" + } + ], + "x-ms-discriminator-value": "AzureBlobStore", + "required": [ + "ConnectionString", + "ContainerName" + ], + "properties": { + "ConnectionString": { + "type": "string", + "description": "The connection string to connect to the Azure blob store." + }, + "ContainerName": { + "type": "string", + "description": "The name of the container in the blob store to store and enumerate backups from." + } + }, + "description": "Describes the parameters for Azure blob store used for storing and enumerating backups." + }, + "FileShareBackupStorageDescription": { + "allOf": [ + { + "$ref": "#/definitions/BackupStorageDescription" + } + ], + "x-ms-discriminator-value": "FileShare", + "required": [ + "Path" + ], + "description": "Describes the parameters for file share storage used for storing or enumerating backups.", + "properties": { + "Path": { + "type": "string", + "description": "UNC path of the file share where to store or enumerate backups from." + }, + "PrimaryUserName": { + "type": "string", + "description": "Primary user name to access the file share." + }, + "PrimaryPassword": { + "type": "string", + "description": "Primary password to access the share location." + }, + "SecondaryUserName": { + "type": "string", + "description": "Secondary user name to access the file share." + }, + "SecondaryPassword": { + "type": "string", + "description": "Secondary password to access the share location" + } + } + }, + "FrequencyBasedBackupScheduleDescription": { + "description": "Describes the frequency based backup schedule.", + "allOf": [ + { + "$ref": "#/definitions/BackupScheduleDescription" + } + ], + "x-ms-discriminator-value": "FrequencyBased", + "required": [ + "Interval" + ], + "properties": { + "Interval": { + "type": "string", + "format": "duration", + "description": "Defines the interval with which backups are periodically taken. It should be specified in ISO8601 format. Timespan in seconds is not supported and will be ignored while creating the policy." + } + } + }, + "TimeBasedBackupScheduleDescription": { + "description": "Describes the time based backup schedule.", + "allOf": [ + { + "$ref": "#/definitions/BackupScheduleDescription" + } + ], + "x-ms-discriminator-value": "TimeBased", + "required": [ + "ScheduleFrequencyType", + "RunTimes" + ], + "properties": { + "ScheduleFrequencyType": { + "$ref": "#/definitions/BackupScheduleFrequencyType", + "description": "Describes the frequency with which to run the time based backup schedule." + }, + "RunDays": { + "$ref": "#/definitions/DayOfWeekList", + "description": "List of days of a week when to trigger the periodic backup. This is valid only when the backup schedule frequency type is weekly." + }, + "RunTimes": { + "$ref": "#/definitions/TimeList", + "description": "Represents the list of exact time during the day in ISO8601 format. Like '19:00:00' will represent '7PM' during the day. Date specified along with time will be ignored." + } + } + }, + "BackupScheduleFrequencyType": { + "type": "string", + "description": "Describes the frequency with which to run the time based backup schedule.", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ], + "x-ms-enum": { + "name": "BackupScheduleFrequencyType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup schedule frequency type. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Daily", + "description": "Indicates that the time based backup schedule is repeated at a daily frequency." + }, + { + "value": "Weekly", + "description": "Indicates that the time based backup schedule is repeated at a weekly frequency." + } + ] + } + }, + "TimeList": { + "type": "array", + "items": { + "type": "string", + "format": "date-time" + }, + "description": "Represents the list of exact time during the day in ISO8601 format. Like '19:00:00' will represent '7PM' during the day. Date specified along with time will be ignored." + }, + "DayOfWeekList": { + "type": "array", + "items": { + "$ref": "#/definitions/DayOfWeek" + }, + "description": "List of days of a week when to trigger the periodic backup. This is valid only when the backup schedule frequency type is weekly." + }, + "DayOfWeek": { + "type": "string", + "description": "Describes the days in a week.", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true, + "values": [ + { + "value": "Sunday", + "description": "Indicates the Day referred is Sunday." + }, + { + "value": "Monday", + "description": "Indicates the Day referred is Monday." + }, + { + "value": "Tuesday", + "description": "Indicates the Day referred is Tuesday." + }, + { + "value": "Wednesday", + "description": "Indicates the Day referred is Wednesday." + }, + { + "value": "Thursday", + "description": "Indicates the Day referred is Thursday." + }, + { + "value": "Friday", + "description": "Indicates the Day referred is Friday." + }, + { + "value": "Saturday", + "description": "Indicates the Day referred is Saturday." + } + ] + } + }, + "BackupProgressInfo": { + "description": "Describes the progress of a partition's backup.", + "properties": { + "BackupState": { + "$ref": "#/definitions/BackupState", + "description": "Represents the current state of the partition backup operation." + }, + "TimeStampUtc": { + "type": "string", + "format": "date-time", + "description": "TimeStamp in UTC when operation succeeded or failed." + }, + "BackupId": { + "type": "string", + "format": "uuid", + "description": "Unique ID of the newly created backup." + }, + "BackupLocation": { + "type": "string", + "description": "Location, relative to the backup store, of the newly created backup." + }, + "EpochOfLastBackupRecord": { + "$ref": "#/definitions/Epoch", + "description": "Specifies the epoch of the last record included in backup." + }, + "LsnOfLastBackupRecord": { + "type": "string", + "description": "The LSN of last record included in backup." + }, + "FailureError": { + "$ref": "#/definitions/FabricErrorError", + "description": "Denotes the failure encountered in performing backup operation." + } + } + }, + "BackupConfigurationInfo": { + "discriminator": "Kind", + "description": "Describes the backup configuration information.", + "properties": { + "Kind": { + "$ref": "#/definitions/BackupEntityKind", + "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled." + }, + "PolicyName": { + "description": "The name of the backup policy which is applicable to this Service Fabric application or service or partition.", + "type": "string" + }, + "PolicyInheritedFrom": { + "$ref": "#/definitions/BackupPolicyScope", + "description": "Specifies the scope at which the backup policy is applied." + }, + "SuspensionInfo": { + "$ref": "#/definitions/BackupSuspensionInfo", + "description": "Describes the backup suspension details." + } + }, + "required": [ + "Kind" + ] + }, + "PartitionBackupConfigurationInfo": { + "description": "Backup configuration information, for a specific partition, specifying what backup policy is being applied and suspend description, if any.", + "allOf": [ + { + "$ref": "#/definitions/BackupConfigurationInfo" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "The partition ID identifying the partition." + } + }, + "x-ms-discriminator-value": "Partition" + }, + "BackupState": { + "type": "string", + "description": "Represents the current state of the partition backup operation.", + "enum": [ + "Invalid", + "Accepted", + "BackupInProgress", + "Success", + "Failure", + "Timeout" + ], + "x-ms-enum": { + "name": "BackupState", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid backup state. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Accepted", + "description": "Operation has been validated and accepted. Backup is yet to be triggered." + }, + { + "value": "BackupInProgress", + "description": "Backup operation has been triggered and is under process." + }, + { + "value": "Success", + "description": "Operation completed with success." + }, + { + "value": "Failure", + "description": "Operation completed with failure." + }, + { + "value": "Timeout", + "description": "Operation timed out." + } + ] + } + }, + "BackupEntity": { + "discriminator": "EntityKind", + "description": "Describes the Service Fabric entity that is configured for backup.", + "properties": { + "EntityKind": { + "$ref": "#/definitions/BackupEntityKind", + "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled." + } + }, + "required": [ + "EntityKind" + ] + }, + "ApplicationBackupEntity": { + "description": "Identifies the Service Fabric application which is being backed up.", + "allOf": [ + { + "$ref": "#/definitions/BackupEntity" + } + ], + "properties": { + "ApplicationName": { + "$ref": "#/definitions/ApplicationName", + "description": "The name of the application, including the 'fabric:' URI scheme." + } + }, + "x-ms-discriminator-value": "Application" + }, + "ServiceBackupEntity": { + "description": "Identifies the Service Fabric stateful service which is being backed up.", + "allOf": [ + { + "$ref": "#/definitions/BackupEntity" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + } + }, + "x-ms-discriminator-value": "Service" + }, + "PartitionBackupEntity": { + "description": "Identifies the Service Fabric stateful partition which is being backed up.", + "allOf": [ + { + "$ref": "#/definitions/BackupEntity" + } + ], + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "The partition ID identifying the partition." + } + }, + "x-ms-discriminator-value": "Partition" + }, + "EnableBackupDescription": { + "description": "Specifies the parameters needed to enable periodic backup.", + "required": [ + "BackupPolicyName" + ], + "properties": { + "BackupPolicyName": { + "type": "string", + "description": "Name of the backup policy to be used for enabling periodic backups." + } + } + }, + "PagedBackupEntityList": { + "description": "The list of backup entities that are being periodically backed. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of backup entity information.", + "items": { + "$ref": "#/definitions/BackupEntity" + } + } + } + }, + "BackupSuspensionInfo": { + "description": "Describes the backup suspension details.", + "properties": { + "IsSuspended": { + "type": "boolean", + "description": "Indicates whether periodic backup is suspended at this level or not." + }, + "SuspensionInheritedFrom": { + "$ref": "#/definitions/BackupSuspensionScope", + "description": "Specifies the scope at which the backup suspension was applied." + } + } + }, + "BackupEntityKind": { + "type": "string", + "description": "The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled.", + "enum": [ + "Invalid", + "Partition", + "Service", + "Application" + ], + "x-ms-enum": { + "name": "BackupEntityKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid entity kind. All Service Fabric enumerations have the invalid type." + }, + { + "value": "Partition", + "description": "Indicates the entity is a Service Fabric partition." + }, + { + "value": "Service", + "description": "Indicates the entity is a Service Fabric service." + }, + { + "value": "Application", + "description": "Indicates the entity is a Service Fabric application." + } + ] + } + }, + "GetBackupByStorageQueryDescription": { + "description": "Describes additional filters to be applied, while listing backups, and backup storage details from where to fetch the backups.", + "required": [ + "Storage", + "BackupEntity" + ], + "properties": { + "StartDateTimeFilter": { + "type": "string", + "format": "date-time", + "description": "Specifies the start date time in ISO8601 from which to enumerate backups. If not specified, backups are enumerated from the beginning." + }, + "EndDateTimeFilter": { + "type": "string", + "format": "date-time", + "description": "Specifies the end date time in ISO8601 till which to enumerate backups. If not specified, backups are enumerated till the end." + }, + "Latest": { + "type": "boolean", + "default": false, + "description": "If specified as true, gets the most recent backup (within the specified time range) for every partition under the specified backup entity." + }, + "Storage": { + "$ref": "#/definitions/BackupStorageDescription", + "description": "Describes the parameters for the backup storage from where to enumerate backups. This is optional and by default backups are enumerated from the backup storage where this backup entity is currently being backed up (as specified in backup policy). This parameter is useful to be able to enumerate backups from another cluster where you may intend to restore." + }, + "BackupEntity": { + "$ref": "#/definitions/BackupEntity", + "description": "Indicates the entity for which to enumerate backups." + } + } + }, + "NodeImpact": { + "description": "Describes the expected impact of a repair to a particular node.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "NodeName": { + "type": "string", + "description": "The name of the impacted node." + }, + "ImpactLevel": { + "type": "string", + "enum": [ + "Invalid", + "None", + "Restart", + "RemoveData", + "RemoveNode" + ], + "description": "The level of impact expected.", + "x-ms-enum": { + "name": "ImpactLevel", + "modelAsString": true, + "values": [ + { + "value": "Invalid" + }, + { + "value": "None" + }, + { + "value": "Restart" + }, + { + "value": "RemoveData" + }, + { + "value": "RemoveNode" + } + ] + } + } + }, + "required": [ + "NodeName" + ] + }, + "NodeRepairImpactDescription": { + "description": "Describes the expected impact of a repair on a set of nodes.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "x-ms-discriminator-value": "Node", + "allOf": [ + { + "$ref": "#/definitions/RepairImpactDescriptionBase" + } + ], + "properties": { + "NodeImpactList": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeImpact" + }, + "description": "The list of nodes impacted by a repair action and their respective expected impact." + } + } + }, + "NodeRepairTargetDescription": { + "description": "Describes the list of nodes targeted by a repair action.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "x-ms-discriminator-value": "Node", + "allOf": [ + { + "$ref": "#/definitions/RepairTargetDescriptionBase" + } + ], + "properties": { + "NodeNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of nodes targeted by a repair action." + } + } + }, + "RepairImpactDescriptionBase": { + "discriminator": "Kind", + "description": "Describes the expected impact of executing a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "Kind": { + "$ref": "#/definitions/RepairImpactKind", + "description": "The kind of repair impact represented by the current object." + } + }, + "required": [ + "Kind" + ] + }, + "RepairImpactKind": { + "description": "Specifies the kind of the impact. This type supports the Service Fabric platform; it is not meant to be used directly from your code.'", + "type": "string", + "enum": [ + "Invalid", + "Node" + ], + "x-ms-enum": { + "name": "RepairImpactKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "The repair impact is not valid or is of an unknown type." + }, + { + "value": "Node", + "description": "The repair impact affects a set of Service Fabric nodes." + } + ] + } + }, + "RepairTargetDescriptionBase": { + "discriminator": "Kind", + "description": "Describes the entities targeted by a repair action.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "Kind": { + "$ref": "#/definitions/RepairTargetKind", + "description": "The kind of repair target described by the current object." + } + }, + "required": [ + "Kind" + ] + }, + "RepairTargetKind": { + "description": "Specifies the kind of the repair target. This type supports the Service Fabric platform; it is not meant to be used directly from your code.'", + "type": "string", + "enum": [ + "Invalid", + "Node" + ], + "x-ms-enum": { + "name": "RepairTargetKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "The repair target is not valid or is of an unknown type." + }, + { + "value": "Node", + "description": "The repair target is a set of Service Fabric nodes." + } + ] + } + }, + "RepairTask": { + "description": "Represents a repair task, which includes information about what kind of repair was requested, what its progress is, and what its final result was.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "TaskId": { + "type": "string", + "description": "The ID of the repair task." + }, + "Version": { + "type": "string", + "description": "The version of the repair task.\nWhen creating a new repair task, the version must be set to zero. When updating a repair task,\nthe version is used for optimistic concurrency checks. If the version is\nset to zero, the update will not check for write conflicts. If the version is set to a non-zero value, then the\nupdate will only succeed if the actual current version of the repair task matches this value." + }, + "Description": { + "type": "string", + "description": "A description of the purpose of the repair task, or other informational details.\nMay be set when the repair task is created, and is immutable once set." + }, + "State": { + "type": "string", + "enum": [ + "Invalid", + "Created", + "Claimed", + "Preparing", + "Approved", + "Executing", + "Restoring", + "Completed" + ], + "description": "The workflow state of the repair task. Valid initial states are Created, Claimed, and Preparing.", + "x-ms-enum": { + "name": "State", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the repair task state is invalid. All Service Fabric enumerations have the invalid value." + }, + { + "value": "Created", + "description": "Indicates that the repair task has been created." + }, + { + "value": "Claimed", + "description": "Indicates that the repair task has been claimed by a repair executor." + }, + { + "value": "Preparing", + "description": "Indicates that the Repair Manager is preparing the system to handle the impact of the repair task, usually by taking resources offline gracefully." + }, + { + "value": "Approved", + "description": "Indicates that the repair task has been approved by the Repair Manager and is safe to execute." + }, + { + "value": "Executing", + "description": "Indicates that execution of the repair task is in progress." + }, + { + "value": "Restoring", + "description": "Indicates that the Repair Manager is restoring the system to its pre-repair state, usually by bringing resources back online." + }, + { + "value": "Completed", + "description": "Indicates that the repair task has completed, and no further state changes will occur." + } + ] + } + }, + "Flags": { + "type": "integer", + "description": "A bitwise-OR of the following values, which gives additional details about the status of the repair task.\n- 1 - Cancellation of the repair has been requested\n- 2 - Abort of the repair has been requested\n- 4 - Approval of the repair was forced via client request" + }, + "Action": { + "type": "string", + "description": "The requested repair action. Must be specified when the repair task is created, and is immutable once set." + }, + "Target": { + "$ref": "#/definitions/RepairTargetDescriptionBase", + "description": "The target object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.\nMay be set when the repair task is created, and is immutable once set." + }, + "Executor": { + "type": "string", + "description": "The name of the repair executor. Must be specified in Claimed and later states, and is immutable once set." + }, + "ExecutorData": { + "type": "string", + "description": "A data string that the repair executor can use to store its internal state." + }, + "Impact": { + "$ref": "#/definitions/RepairImpactDescriptionBase", + "description": "The impact object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.\nImpact must be specified by the repair executor when transitioning to the Preparing state, and is immutable once set." + }, + "ResultStatus": { + "type": "string", + "enum": [ + "Invalid", + "Succeeded", + "Cancelled", + "Interrupted", + "Failed", + "Pending" + ], + "description": "A value describing the overall result of the repair task execution. Must be specified in the Restoring and later states, and is immutable once set.", + "x-ms-enum": { + "name": "ResultStatus", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates that the repair task result is invalid. All Service Fabric enumerations have the invalid value." + }, + { + "value": "Succeeded", + "description": "Indicates that the repair task completed execution successfully." + }, + { + "value": "Cancelled", + "description": "Indicates that the repair task was cancelled prior to execution." + }, + { + "value": "Interrupted", + "description": "Indicates that execution of the repair task was interrupted by a cancellation request after some work had already been performed." + }, + { + "value": "Failed", + "description": "Indicates that there was a failure during execution of the repair task. Some work may have been performed." + }, + { + "value": "Pending", + "description": "Indicates that the repair task result is not yet available, because the repair task has not finished executing." + } + ] + } + }, + "ResultCode": { + "type": "integer", + "description": "A numeric value providing additional details about the result of the repair task execution.\nMay be specified in the Restoring and later states, and is immutable once set." + }, + "ResultDetails": { + "type": "string", + "description": "A string providing additional details about the result of the repair task execution.\nMay be specified in the Restoring and later states, and is immutable once set." + }, + "History": { + "$ref": "#/definitions/RepairTaskHistory", + "description": "An object that contains timestamps of the repair task's state transitions.\nThese timestamps are updated by the system, and cannot be directly modified." + }, + "PreparingHealthCheckState": { + "$ref": "#/definitions/RepairTaskHealthCheckState", + "description": "The workflow state of the health check when the repair task is in the Preparing state." + }, + "RestoringHealthCheckState": { + "$ref": "#/definitions/RepairTaskHealthCheckState", + "description": "The workflow state of the health check when the repair task is in the Restoring state." + }, + "PerformPreparingHealthCheck": { + "type": "boolean", + "description": "A value to determine if health checks will be performed when the repair task enters the Preparing state." + }, + "PerformRestoringHealthCheck": { + "type": "boolean", + "description": "A value to determine if health checks will be performed when the repair task enters the Restoring state." + } + }, + "required": [ + "TaskId", + "Action", + "State" + ] + }, + "RepairTaskApproveDescription": { + "description": "Describes a request for forced approval of a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "TaskId": { + "type": "string", + "description": "The ID of the repair task." + }, + "Version": { + "type": "string", + "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed." + } + }, + "required": [ + "TaskId" + ] + }, + "RepairTaskCancelDescription": { + "description": "Describes a request to cancel a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "TaskId": { + "type": "string", + "description": "The ID of the repair task." + }, + "Version": { + "type": "string", + "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed." + }, + "RequestAbort": { + "type": "boolean", + "description": "_True_ if the repair should be stopped as soon as possible even if it has already started executing. _False_ if the repair should be cancelled only if execution has not yet started." + } + }, + "required": [ + "TaskId" + ] + }, + "RepairTaskDeleteDescription": { + "description": "Describes a request to delete a completed repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "TaskId": { + "type": "string", + "description": "The ID of the completed repair task to be deleted." + }, + "Version": { + "type": "string", + "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed." + } + }, + "required": [ + "TaskId" + ] + }, + "RepairTaskHealthCheckState": { + "description": "Specifies the workflow state of a repair task's health check. This type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "type": "string", + "enum": [ + "NotStarted", + "InProgress", + "Succeeded", + "Skipped", + "TimedOut" + ], + "x-ms-enum": { + "name": "RepairTaskHealthCheckState", + "modelAsString": true, + "values": [ + { + "value": "NotStarted", + "description": "Indicates that the health check has not started." + }, + { + "value": "InProgress", + "description": "Indicates that the health check is in progress." + }, + { + "value": "Succeeded", + "description": "Indicates that the health check succeeded." + }, + { + "value": "Skipped", + "description": "Indicates that the health check was skipped." + }, + { + "value": "TimedOut", + "description": "Indicates that the health check timed out." + } + ] + } + }, + "RepairTaskHistory": { + "description": "A record of the times when the repair task entered each state.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "CreatedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Created state." + }, + "ClaimedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Claimed state." + }, + "PreparingUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Preparing state." + }, + "ApprovedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Approved state" + }, + "ExecutingUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Executing state" + }, + "RestoringUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Restoring state" + }, + "CompletedUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task entered the Completed state" + }, + "PreparingHealthCheckStartUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task started the health check in the Preparing state." + }, + "PreparingHealthCheckEndUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task completed the health check in the Preparing state." + }, + "RestoringHealthCheckStartUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task started the health check in the Restoring state." + }, + "RestoringHealthCheckEndUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the repair task completed the health check in the Restoring state." + } + } + }, + "RepairTaskList": { + "type": "array", + "description": "A list of repair tasks.", + "items": { + "$ref": "#/definitions/RepairTask" + } + }, + "RepairTaskUpdateHealthPolicyDescription": { + "description": "Describes a request to update the health policy of a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "TaskId": { + "type": "string", + "description": "The ID of the repair task to be updated." + }, + "Version": { + "type": "string", + "description": "The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed." + }, + "PerformPreparingHealthCheck": { + "type": "boolean", + "description": "A boolean indicating if health check is to be performed in the Preparing stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value." + }, + "PerformRestoringHealthCheck": { + "type": "boolean", + "description": "A boolean indicating if health check is to be performed in the Restoring stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value." + } + }, + "required": [ + "TaskId" + ] + }, + "RepairTaskUpdateInfo": { + "description": "Describes the result of an operation that created or updated a repair task.\n\nThis type supports the Service Fabric platform; it is not meant to be used directly from your code.", + "properties": { + "Version": { + "type": "string", + "description": "The new version of the repair task." + } + }, + "required": [ + "Version" + ] + }, + "ReconfigurationInformation": { + "description": "Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.", + "properties": { + "PreviousConfigurationRole": { + "$ref": "#/definitions/ReplicaRole", + "description": "Replica role before reconfiguration started." + }, + "ReconfigurationPhase": { + "$ref": "#/definitions/ReconfigurationPhase", + "description": "Current phase of ongoing reconfiguration. If no reconfiguration is taking place then this value will be \"None\"." + }, + "ReconfigurationType": { + "$ref": "#/definitions/ReconfigurationType", + "description": "Type of current ongoing reconfiguration. If no reconfiguration is taking place then this value will be \"None\"." + }, + "ReconfigurationStartTimeUtc": { + "type": "string", + "format": "date-time", + "description": "Start time (in UTC) of the ongoing reconfiguration. If no reconfiguration is taking place then this value will be zero date-time." + } + } + }, + "ReconfigurationPhase": { + "type": "string", + "description": "The reconfiguration phase of a replica of a stateful service.", + "enum": [ + "Unknown", + "None", + "Phase0", + "Phase1", + "Phase2", + "Phase3", + "Phase4", + "AbortPhaseZero" + ], + "x-ms-enum": { + "name": "ReconfigurationPhase", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Indicates the invalid reconfiguration phase." + }, + { + "value": "None", + "description": "Specifies that there is no reconfiguration in progress." + }, + { + "value": "Phase0", + "description": "Refers to the phase where the reconfiguration is transferring data from the previous primary to the new primary." + }, + { + "value": "Phase1", + "description": "Refers to the phase where the reconfiguration is querying the replica set for the progress." + }, + { + "value": "Phase2", + "description": "Refers to the phase where the reconfiguration is ensuring that data from the current primary is present in a majority of the replica set." + }, + { + "value": "Phase3", + "description": "This phase is for internal use only." + }, + { + "value": "Phase4", + "description": "This phase is for internal use only." + }, + { + "value": "AbortPhaseZero", + "description": "This phase is for internal use only." + } + ] + } + }, + "ReconfigurationType": { + "type": "string", + "description": "The type of reconfiguration for replica of a stateful service.", + "enum": [ + "Unknown", + "SwapPrimary", + "Failover", + "Other" + ], + "x-ms-enum": { + "name": "ReconfigurationType", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Indicates the invalid reconfiguration type." + }, + { + "value": "SwapPrimary", + "description": "Specifies that the primary replica is being swapped with a different replica." + }, + { + "value": "Failover", + "description": "Reconfiguration triggered in response to a primary going down. This could be due to many reasons such as primary replica crashing etc." + }, + { + "value": "Other", + "description": "Reconfigurations where the primary replica is not changing." + } + ] + } + }, + "InfrastructureServiceResponse": { + "type": "string", + "format": "binary", + "description": "This is a weakly-typed response stream to the client. It contains the JSON response from the infrastructure service without deserialization.\nThe content of the response depends on which command was issued to the infrastructure service." + }, + "UploadChunkRange": { + "description": "Information about which portion of the file to upload.", + "properties": { + "StartPosition": { + "type": "string", + "description": "The start position of the portion of the file. It's represented by the number of bytes." + }, + "EndPosition": { + "type": "string", + "description": "The end position of the portion of the file. It's represented by the number of bytes." + } + } + }, + "UploadSessionInfo": { + "description": "Information about an image store upload session. A session is associated with a relative path in the image store.", + "properties": { + "StoreRelativePath": { + "type": "string", + "description": "The remote location within image store. This path is relative to the image store root." + }, + "SessionId": { + "type": "string", + "format": "uuid", + "description": "A unique ID of the upload session. A session ID can be reused only if the session was committed or removed." + }, + "ModifiedDate": { + "type": "string", + "format": "date-time", + "description": "The date and time when the upload session was last modified." + }, + "FileSize": { + "type": "string", + "description": "The size in bytes of the uploading file." + }, + "ExpectedRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/UploadChunkRange" + }, + "description": "List of chunk ranges that image store has not received yet." + } + } + }, + "UploadSession": { + "description": "Information about a image store upload session", + "properties": { + "UploadSessions": { + "type": "array", + "items": { + "$ref": "#/definitions/UploadSessionInfo" + }, + "description": "When querying upload session by upload session ID, the result contains only one upload session. When querying upload session by image store relative path, the result might contain multiple upload sessions." + } + } + }, + "ScalingPolicyDescription": { + "description": "Describes how the scaling should be performed", + "required": [ + "ScalingTrigger", + "ScalingMechanism" + ], + "properties": { + "ScalingTrigger": { + "$ref": "#/definitions/ScalingTriggerDescription", + "description": "Specifies the trigger associated with this scaling policy" + }, + "ScalingMechanism": { + "$ref": "#/definitions/ScalingMechanismDescription", + "description": "Specifies the mechanism associated with this scaling policy" + } + } + }, + "ScalingPolicyDescriptionList": { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingPolicyDescription" + }, + "description": "A list that describes the scaling policies." + }, + "ScalingTriggerDescription": { + "discriminator": "Kind", + "description": "Describes the trigger for performing a scaling operation.", + "required": [ + "Kind" + ], + "properties": { + "Kind": { + "$ref": "#/definitions/ScalingTriggerKind", + "description": "Specifies the kind of scaling trigger" + } + } + }, + "ScalingMechanismDescription": { + "discriminator": "Kind", + "description": "Describes the mechanism for performing a scaling operation.", + "required": [ + "Kind" + ], + "properties": { + "Kind": { + "$ref": "#/definitions/ScalingMechanismKind", + "description": "Specifies the kind of scaling mechanism" + } + } + }, + "ScalingTriggerKind": { + "type": "string", + "description": "Enumerates the ways that a service can be scaled.", + "enum": [ + "Invalid", + "AveragePartitionLoad", + "AverageServiceLoad" + ], + "x-ms-enum": { + "name": "ScalingTriggerKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the scaling trigger is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "AveragePartitionLoad", + "description": "Indicates a trigger where scaling decisions are made based on average load of a partition. The value is 1." + }, + { + "value": "AverageServiceLoad", + "description": "Indicates a trigger where scaling decisions are made based on average load of a service. The value is 2." + } + ] + } + }, + "ScalingMechanismKind": { + "type": "string", + "description": "Enumerates the ways that a service can be scaled.", + "enum": [ + "Invalid", + "PartitionInstanceCount", + "AddRemoveIncrementalNamedPartition" + ], + "x-ms-enum": { + "name": "ScalingMechanismKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the scaling mechanism is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "PartitionInstanceCount", + "description": "Indicates a mechanism for scaling where new instances are added or removed from a partition. The value is 1." + }, + { + "value": "AddRemoveIncrementalNamedPartition", + "description": "Indicates a mechanism for scaling where new named partitions are added or removed from a service. The value is 2." + } + ] + } + }, + "AveragePartitionLoadScalingTrigger": { + "description": "Represents a scaling trigger related to an average load of a metric/resource of a partition.", + "allOf": [ + { + "$ref": "#/definitions/ScalingTriggerDescription" + } + ], + "x-ms-discriminator-value": "AveragePartitionLoad", + "required": [ + "MetricName", + "LowerLoadThreshold", + "UpperLoadThreshold", + "ScaleIntervalInSeconds" + ], + "properties": { + "MetricName": { + "type": "string", + "description": "The name of the metric for which usage should be tracked." + }, + "LowerLoadThreshold": { + "type": "string", + "format": "double", + "description": "The lower limit of the load below which a scale in operation should be performed." + }, + "UpperLoadThreshold": { + "type": "string", + "format": "double", + "description": "The upper limit of the load beyond which a scale out operation should be performed." + }, + "ScaleIntervalInSeconds": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "The period in seconds on which a decision is made whether to scale or not." + } + } + }, + "AverageServiceLoadScalingTrigger": { + "description": "Represents a scaling policy related to an average load of a metric/resource of a service.", + "allOf": [ + { + "$ref": "#/definitions/ScalingTriggerDescription" + } + ], + "x-ms-discriminator-value": "AverageServiceLoad", + "required": [ + "MetricName", + "LowerLoadThreshold", + "UpperLoadThreshold", + "ScaleIntervalInSeconds" + ], + "properties": { + "MetricName": { + "type": "string", + "description": "The name of the metric for which usage should be tracked." + }, + "LowerLoadThreshold": { + "type": "string", + "format": "double", + "description": "The lower limit of the load below which a scale in operation should be performed." + }, + "UpperLoadThreshold": { + "type": "string", + "format": "double", + "description": "The upper limit of the load beyond which a scale out operation should be performed." + }, + "ScaleIntervalInSeconds": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "The period in seconds on which a decision is made whether to scale or not." + } + } + }, + "PartitionInstanceCountScaleMechanism": { + "description": "Represents a scaling mechanism for adding or removing instances of stateless service partition.", + "allOf": [ + { + "$ref": "#/definitions/ScalingMechanismDescription" + } + ], + "x-ms-discriminator-value": "PartitionInstanceCount", + "required": [ + "MinInstanceCount", + "MaxInstanceCount", + "ScaleIncrement" + ], + "properties": { + "MinInstanceCount": { + "type": "integer", + "description": "Minimum number of instances of the partition." + }, + "MaxInstanceCount": { + "type": "integer", + "description": "Maximum number of instances of the partition." + }, + "ScaleIncrement": { + "type": "integer", + "description": "The number of instances to add or remove during a scaling operation." + } + } + }, + "AddRemoveIncrementalNamedPartitionScalingMechanism": { + "description": "Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1''N-1'", + "allOf": [ + { + "$ref": "#/definitions/ScalingMechanismDescription" + } + ], + "x-ms-discriminator-value": "AddRemoveIncrementalNamedPartition", + "required": [ + "MinPartitionCount", + "MaxPartitionCount", + "ScaleIncrement" + ], + "properties": { + "MinPartitionCount": { + "type": "integer", + "description": "Minimum number of named partitions of the service." + }, + "MaxPartitionCount": { + "type": "integer", + "description": "Maximum number of named partitions of the service." + }, + "ScaleIncrement": { + "type": "integer", + "description": "The number of instances to add or remove during a scaling operation." + } + } + }, + "UnplacedReplicaInformation": { + "description": "Contains information for an unplaced replica.", + "properties": { + "ServiceName": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "The ID of the partition." + }, + "UnplacedReplicaDetails": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of reasons due to which a replica cannot be placed." + } + } + }, + "ApplicationCreatedEvent": { + "description": "Application Created event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Application type version." + }, + "ApplicationDefinitionKind": { + "type": "string", + "description": "Application definition kind." + } + }, + "required": [ + "ApplicationTypeName", + "ApplicationTypeVersion", + "ApplicationDefinitionKind" + ], + "x-ms-discriminator-value": "ApplicationCreated" + }, + "ApplicationDeletedEvent": { + "description": "Application Deleted event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Application type version." + } + }, + "required": [ + "ApplicationTypeName", + "ApplicationTypeVersion" + ], + "x-ms-discriminator-value": "ApplicationDeleted" + }, + "ApplicationNewHealthReportEvent": { + "description": "Application Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Application instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ApplicationInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ApplicationNewHealthReport" + }, + "ApplicationHealthReportExpiredEvent": { + "description": "Application Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Application instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ApplicationInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ApplicationHealthReportExpired" + }, + "ApplicationUpgradeCompletedEvent": { + "description": "Application Upgrade Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Application type version." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall upgrade time in milli-seconds." + } + }, + "required": [ + "ApplicationTypeName", + "ApplicationTypeVersion", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ApplicationUpgradeCompleted" + }, + "ApplicationUpgradeDomainCompletedEvent": { + "description": "Application Upgrade Domain Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "CurrentApplicationTypeVersion": { + "type": "string", + "description": "Current Application type version." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Target Application type version." + }, + "UpgradeState": { + "type": "string", + "description": "State of upgrade." + }, + "UpgradeDomains": { + "type": "string", + "description": "Upgrade domains." + }, + "UpgradeDomainElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Upgrade time of domain in milli-seconds." + } + }, + "required": [ + "ApplicationTypeName", + "CurrentApplicationTypeVersion", + "ApplicationTypeVersion", + "UpgradeState", + "UpgradeDomains", + "UpgradeDomainElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ApplicationUpgradeDomainCompleted" + }, + "ApplicationUpgradeRollbackCompletedEvent": { + "description": "Application Upgrade Rollback Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Application type version." + }, + "FailureReason": { + "type": "string", + "description": "Describes reason of failure." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall upgrade time in milli-seconds." + } + }, + "required": [ + "ApplicationTypeName", + "ApplicationTypeVersion", + "FailureReason", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ApplicationUpgradeRollbackCompleted" + }, + "ApplicationUpgradeRollbackStartedEvent": { + "description": "Application Upgrade Rollback Started event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "CurrentApplicationTypeVersion": { + "type": "string", + "description": "Current Application type version." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Target Application type version." + }, + "FailureReason": { + "type": "string", + "description": "Describes reason of failure." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall upgrade time in milli-seconds." + } + }, + "required": [ + "ApplicationTypeName", + "CurrentApplicationTypeVersion", + "ApplicationTypeVersion", + "FailureReason", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ApplicationUpgradeRollbackStarted" + }, + "ApplicationUpgradeStartedEvent": { + "description": "Application Upgrade Started event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "CurrentApplicationTypeVersion": { + "type": "string", + "description": "Current Application type version." + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "Target Application type version." + }, + "UpgradeType": { + "type": "string", + "description": "Type of upgrade." + }, + "RollingUpgradeMode": { + "type": "string", + "description": "Mode of upgrade." + }, + "FailureAction": { + "type": "string", + "description": "Action if failed." + } + }, + "required": [ + "ApplicationTypeName", + "CurrentApplicationTypeVersion", + "ApplicationTypeVersion", + "UpgradeType", + "RollingUpgradeMode", + "FailureAction" + ], + "x-ms-discriminator-value": "ApplicationUpgradeStarted" + }, + "DeployedApplicationNewHealthReportEvent": { + "description": "Deployed Application Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Application instance." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ApplicationInstanceId", + "NodeName", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "DeployedApplicationNewHealthReport" + }, + "DeployedApplicationHealthReportExpiredEvent": { + "description": "Deployed Application Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ApplicationInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Application instance." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ApplicationInstanceId", + "NodeName", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "DeployedApplicationHealthReportExpired" + }, + "ApplicationProcessExitedEvent": { + "description": "Process Exited event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ServiceName": { + "type": "string", + "description": "Name of Service." + }, + "ServicePackageName": { + "type": "string", + "description": "Name of Service package." + }, + "ServicePackageActivationId": { + "type": "string", + "description": "Activation Id of Service package." + }, + "IsExclusive": { + "type": "boolean", + "description": "Indicates IsExclusive flag." + }, + "CodePackageName": { + "type": "string", + "description": "Name of Code package." + }, + "EntryPointType": { + "type": "string", + "description": "Type of EntryPoint." + }, + "ExeName": { + "type": "string", + "description": "Name of executable." + }, + "ProcessId": { + "type": "integer", + "format": "int64", + "description": "Process Id." + }, + "HostId": { + "type": "string", + "description": "Host Id." + }, + "ExitCode": { + "type": "integer", + "format": "int64", + "description": "Exit code of process." + }, + "UnexpectedTermination": { + "type": "boolean", + "description": "Indicates if termination is unexpected." + }, + "StartTime": { + "type": "string", + "format": "date-time", + "description": "Start time of process." + } + }, + "required": [ + "ServiceName", + "ServicePackageName", + "ServicePackageActivationId", + "IsExclusive", + "CodePackageName", + "EntryPointType", + "ExeName", + "ProcessId", + "HostId", + "ExitCode", + "UnexpectedTermination", + "StartTime" + ], + "x-ms-discriminator-value": "ApplicationProcessExited" + }, + "ApplicationContainerInstanceExitedEvent": { + "description": "Container Exited event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ServiceName": { + "type": "string", + "description": "Name of Service." + }, + "ServicePackageName": { + "type": "string", + "description": "Name of Service package." + }, + "ServicePackageActivationId": { + "type": "string", + "description": "Activation Id of Service package." + }, + "IsExclusive": { + "type": "boolean", + "description": "Indicates IsExclusive flag." + }, + "CodePackageName": { + "type": "string", + "description": "Name of Code package." + }, + "EntryPointType": { + "type": "string", + "description": "Type of EntryPoint." + }, + "ImageName": { + "type": "string", + "description": "Name of Container image." + }, + "ContainerName": { + "type": "string", + "description": "Name of Container." + }, + "HostId": { + "type": "string", + "description": "Host Id." + }, + "ExitCode": { + "type": "integer", + "format": "int64", + "description": "Exit code of process." + }, + "UnexpectedTermination": { + "type": "boolean", + "description": "Indicates if termination is unexpected." + }, + "StartTime": { + "type": "string", + "format": "date-time", + "description": "Start time of process." + } + }, + "required": [ + "ServiceName", + "ServicePackageName", + "ServicePackageActivationId", + "IsExclusive", + "CodePackageName", + "EntryPointType", + "ImageName", + "ContainerName", + "HostId", + "ExitCode", + "UnexpectedTermination", + "StartTime" + ], + "x-ms-discriminator-value": "ApplicationContainerInstanceExited" + }, + "NodeAbortedEvent": { + "description": "Node Aborted event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "UpgradeDomain": { + "type": "string", + "description": "Upgrade domain of Node." + }, + "FaultDomain": { + "type": "string", + "description": "Fault domain of Node." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "IP address or FQDN." + }, + "Hostname": { + "type": "string", + "description": "Name of Host." + }, + "IsSeedNode": { + "type": "boolean", + "description": "Indicates if it is seed node." + }, + "NodeVersion": { + "type": "string", + "description": "Version of Node." + } + }, + "required": [ + "NodeInstance", + "NodeId", + "UpgradeDomain", + "FaultDomain", + "IpAddressOrFQDN", + "Hostname", + "IsSeedNode", + "NodeVersion" + ], + "x-ms-discriminator-value": "NodeAborted" + }, + "NodeAddedToClusterEvent": { + "description": "Node Added event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "NodeType": { + "type": "string", + "description": "Type of Node." + }, + "FabricVersion": { + "type": "string", + "description": "Fabric version." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "IP address or FQDN." + }, + "NodeCapacities": { + "type": "string", + "description": "Capacities." + } + }, + "required": [ + "NodeId", + "NodeInstance", + "NodeType", + "FabricVersion", + "IpAddressOrFQDN", + "NodeCapacities" + ], + "x-ms-discriminator-value": "NodeAddedToCluster" + }, + "NodeClosedEvent": { + "description": "Node Closed event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "Error": { + "type": "string", + "description": "Describes error." + } + }, + "required": [ + "NodeId", + "NodeInstance", + "Error" + ], + "x-ms-discriminator-value": "NodeClosed" + }, + "NodeDeactivateCompletedEvent": { + "description": "Node Deactivate Completed event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "EffectiveDeactivateIntent": { + "type": "string", + "description": "Describes deactivate intent." + }, + "BatchIdsWithDeactivateIntent": { + "type": "string", + "description": "Batch Ids." + }, + "StartTime": { + "type": "string", + "format": "date-time", + "description": "Start time." + } + }, + "required": [ + "NodeInstance", + "EffectiveDeactivateIntent", + "BatchIdsWithDeactivateIntent", + "StartTime" + ], + "x-ms-discriminator-value": "NodeDeactivateCompleted" + }, + "NodeDeactivateStartedEvent": { + "description": "Node Deactivate Started event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "BatchId": { + "type": "string", + "description": "Batch Id." + }, + "DeactivateIntent": { + "type": "string", + "description": "Describes deactivate intent." + } + }, + "required": [ + "NodeInstance", + "BatchId", + "DeactivateIntent" + ], + "x-ms-discriminator-value": "NodeDeactivateStarted" + }, + "NodeDownEvent": { + "description": "Node Down event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "LastNodeUpAt": { + "type": "string", + "format": "date-time", + "description": "Time when Node was last up." + } + }, + "required": [ + "NodeInstance", + "LastNodeUpAt" + ], + "x-ms-discriminator-value": "NodeDown" + }, + "NodeNewHealthReportEvent": { + "description": "Node Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "NodeInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "NodeNewHealthReport" + }, + "NodeHealthReportExpiredEvent": { + "description": "Node Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "NodeInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "NodeHealthReportExpired" + }, + "NodeOpenSucceededEvent": { + "description": "Node Opened Succeeded event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "UpgradeDomain": { + "type": "string", + "description": "Upgrade domain of Node." + }, + "FaultDomain": { + "type": "string", + "description": "Fault domain of Node." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "IP address or FQDN." + }, + "Hostname": { + "type": "string", + "description": "Name of Host." + }, + "IsSeedNode": { + "type": "boolean", + "description": "Indicates if it is seed node." + }, + "NodeVersion": { + "type": "string", + "description": "Version of Node." + } + }, + "required": [ + "NodeInstance", + "NodeId", + "UpgradeDomain", + "FaultDomain", + "IpAddressOrFQDN", + "Hostname", + "IsSeedNode", + "NodeVersion" + ], + "x-ms-discriminator-value": "NodeOpenSucceeded" + }, + "NodeOpenFailedEvent": { + "description": "Node Open Failed event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "UpgradeDomain": { + "type": "string", + "description": "Upgrade domain of Node." + }, + "FaultDomain": { + "type": "string", + "description": "Fault domain of Node." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "IP address or FQDN." + }, + "Hostname": { + "type": "string", + "description": "Name of Host." + }, + "IsSeedNode": { + "type": "boolean", + "description": "Indicates if it is seed node." + }, + "NodeVersion": { + "type": "string", + "description": "Version of Node." + }, + "Error": { + "type": "string", + "description": "Describes the error." + } + }, + "required": [ + "NodeInstance", + "NodeId", + "UpgradeDomain", + "FaultDomain", + "IpAddressOrFQDN", + "Hostname", + "IsSeedNode", + "NodeVersion", + "Error" + ], + "x-ms-discriminator-value": "NodeOpenFailed" + }, + "NodeRemovedFromClusterEvent": { + "description": "Node Removed event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeId": { + "type": "string", + "description": "Id of Node." + }, + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "NodeType": { + "type": "string", + "description": "Type of Node." + }, + "FabricVersion": { + "type": "string", + "description": "Fabric version." + }, + "IpAddressOrFQDN": { + "type": "string", + "description": "IP address or FQDN." + }, + "NodeCapacities": { + "type": "string", + "description": "Capacities." + } + }, + "required": [ + "NodeId", + "NodeInstance", + "NodeType", + "FabricVersion", + "IpAddressOrFQDN", + "NodeCapacities" + ], + "x-ms-discriminator-value": "NodeRemovedFromCluster" + }, + "NodeUpEvent": { + "description": "Node Up event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "LastNodeDownAt": { + "type": "string", + "format": "date-time", + "description": "Time when Node was last down." + } + }, + "required": [ + "NodeInstance", + "LastNodeDownAt" + ], + "x-ms-discriminator-value": "NodeUp" + }, + "PartitionNewHealthReportEvent": { + "description": "Partition Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "PartitionNewHealthReport" + }, + "PartitionHealthReportExpiredEvent": { + "description": "Partition Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "PartitionHealthReportExpired" + }, + "PartitionReconfiguredEvent": { + "description": "Partition Reconfiguration event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "NodeInstanceId": { + "type": "string", + "description": "Id of Node instance." + }, + "ServiceType": { + "type": "string", + "description": "Type of Service." + }, + "CcEpochDataLossVersion": { + "type": "integer", + "format": "int64", + "description": "CcEpochDataLoss version." + }, + "CcEpochConfigVersion": { + "type": "integer", + "format": "int64", + "description": "CcEpochConfig version." + }, + "ReconfigType": { + "type": "string", + "description": "Type of reconfiguration." + }, + "Result": { + "type": "string", + "description": "Describes reconfiguration result." + }, + "Phase0DurationMs": { + "type": "number", + "format": "double", + "description": "Duration of Phase0 in milli-seconds." + }, + "Phase1DurationMs": { + "type": "number", + "format": "double", + "description": "Duration of Phase1 in milli-seconds." + }, + "Phase2DurationMs": { + "type": "number", + "format": "double", + "description": "Duration of Phase2 in milli-seconds." + }, + "Phase3DurationMs": { + "type": "number", + "format": "double", + "description": "Duration of Phase3 in milli-seconds." + }, + "Phase4DurationMs": { + "type": "number", + "format": "double", + "description": "Duration of Phase4 in milli-seconds." + }, + "TotalDurationMs": { + "type": "number", + "format": "double", + "description": "Total duration in milli-seconds." + } + }, + "required": [ + "NodeName", + "NodeInstanceId", + "ServiceType", + "CcEpochDataLossVersion", + "CcEpochConfigVersion", + "ReconfigType", + "Result", + "Phase0DurationMs", + "Phase1DurationMs", + "Phase2DurationMs", + "Phase3DurationMs", + "Phase4DurationMs", + "TotalDurationMs" + ], + "x-ms-discriminator-value": "PartitionReconfigured" + }, + "PartitionPrimaryMoveAnalysisEvent": { + "description": "Partition Primary Move Analysis event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionAnalysisEvent" + } + ], + "properties": { + "WhenMoveCompleted": { + "type": "string", + "format": "date-time", + "description": "Time when the move was completed." + }, + "PreviousNode": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "CurrentNode": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "MoveReason": { + "type": "string", + "description": "Move reason." + }, + "RelevantTraces": { + "type": "string", + "description": "Relevant traces." + } + }, + "required": [ + "WhenMoveCompleted", + "PreviousNode", + "CurrentNode", + "MoveReason", + "RelevantTraces" + ], + "x-ms-discriminator-value": "PartitionPrimaryMoveAnalysis" + }, + "ServiceCreatedEvent": { + "description": "Service Created event.", + "allOf": [ + { + "$ref": "#/definitions/ServiceEvent" + } + ], + "properties": { + "ServiceTypeName": { + "type": "string", + "description": "Service type name." + }, + "ApplicationName": { + "type": "string", + "description": "Application name." + }, + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ServiceInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Service instance." + }, + "IsStateful": { + "type": "boolean", + "description": "Indicates if Service is stateful." + }, + "PartitionCount": { + "type": "integer", + "format": "int32", + "description": "Number of partitions." + }, + "TargetReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "Size of target replicas set." + }, + "MinReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "Minimum size of replicas set." + }, + "ServicePackageVersion": { + "type": "string", + "description": "Version of Service package." + }, + "PartitionId": { + "$ref": "#/definitions/PartitionId", + "description": "An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different." + } + }, + "required": [ + "ServiceTypeName", + "ApplicationName", + "ApplicationTypeName", + "ServiceInstance", + "IsStateful", + "PartitionCount", + "TargetReplicaSetSize", + "MinReplicaSetSize", + "ServicePackageVersion", + "PartitionId" + ], + "x-ms-discriminator-value": "ServiceCreated" + }, + "ServiceDeletedEvent": { + "description": "Service Deleted event.", + "allOf": [ + { + "$ref": "#/definitions/ServiceEvent" + } + ], + "properties": { + "ServiceTypeName": { + "type": "string", + "description": "Service type name." + }, + "ApplicationName": { + "type": "string", + "description": "Application name." + }, + "ApplicationTypeName": { + "type": "string", + "description": "Application type name." + }, + "ServiceInstance": { + "type": "integer", + "format": "int64", + "description": "Id of Service instance." + }, + "IsStateful": { + "type": "boolean", + "description": "Indicates if Service is stateful." + }, + "PartitionCount": { + "type": "integer", + "format": "int32", + "description": "Number of partitions." + }, + "TargetReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "Size of target replicas set." + }, + "MinReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "Minimum size of replicas set." + }, + "ServicePackageVersion": { + "type": "string", + "description": "Version of Service package." + } + }, + "required": [ + "ServiceTypeName", + "ApplicationName", + "ApplicationTypeName", + "ServiceInstance", + "IsStateful", + "PartitionCount", + "TargetReplicaSetSize", + "MinReplicaSetSize", + "ServicePackageVersion" + ], + "x-ms-discriminator-value": "ServiceDeleted" + }, + "ServiceNewHealthReportEvent": { + "description": "Service Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ServiceEvent" + } + ], + "properties": { + "InstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Service instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "InstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ServiceNewHealthReport" + }, + "ServiceHealthReportExpiredEvent": { + "description": "Service Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ServiceEvent" + } + ], + "properties": { + "InstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Service instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "InstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ServiceHealthReportExpired" + }, + "DeployedServicePackageNewHealthReportEvent": { + "description": "Deployed Service Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ServiceManifestName": { + "type": "string", + "description": "Service manifest name." + }, + "ServicePackageInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Service package instance." + }, + "ServicePackageActivationId": { + "type": "string", + "description": "Id of Service package activation." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ServiceManifestName", + "ServicePackageInstanceId", + "ServicePackageActivationId", + "NodeName", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "DeployedServicePackageNewHealthReport" + }, + "DeployedServicePackageHealthReportExpiredEvent": { + "description": "Deployed Service Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "ServiceManifest": { + "type": "string", + "description": "Service manifest name." + }, + "ServicePackageInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Service package instance." + }, + "ServicePackageActivationId": { + "type": "string", + "description": "Id of Service package activation." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ServiceManifest", + "ServicePackageInstanceId", + "ServicePackageActivationId", + "NodeName", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "DeployedServicePackageHealthReportExpired" + }, + "StatefulReplicaNewHealthReportEvent": { + "description": "Stateful Replica Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "ReplicaInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Replica instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ReplicaInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "StatefulReplicaNewHealthReport" + }, + "StatefulReplicaHealthReportExpiredEvent": { + "description": "Stateful Replica Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "ReplicaInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Replica instance." + }, + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "ReplicaInstanceId", + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "StatefulReplicaHealthReportExpired" + }, + "StatelessReplicaNewHealthReportEvent": { + "description": "Stateless Replica Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "StatelessReplicaNewHealthReport" + }, + "StatelessReplicaHealthReportExpiredEvent": { + "description": "Stateless Replica Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "StatelessReplicaHealthReportExpired" + }, + "ClusterNewHealthReportEvent": { + "description": "Cluster Health Report Created event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ClusterNewHealthReport" + }, + "ClusterHealthReportExpiredEvent": { + "description": "Cluster Health Report Expired event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "SourceId": { + "type": "string", + "description": "Id of report source." + }, + "Property": { + "type": "string", + "description": "Describes the property." + }, + "HealthState": { + "type": "string", + "description": "Describes the property health state." + }, + "TimeToLiveMs": { + "type": "integer", + "format": "int64", + "description": "Time to live in milli-seconds." + }, + "SequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of report." + }, + "Description": { + "type": "string", + "description": "Description of report." + }, + "RemoveWhenExpired": { + "type": "boolean", + "description": "Indicates the removal when it expires." + }, + "SourceUtcTimestamp": { + "type": "string", + "format": "date-time", + "description": "Source time." + } + }, + "required": [ + "SourceId", + "Property", + "HealthState", + "TimeToLiveMs", + "SequenceNumber", + "Description", + "RemoveWhenExpired", + "SourceUtcTimestamp" + ], + "x-ms-discriminator-value": "ClusterHealthReportExpired" + }, + "ClusterUpgradeCompletedEvent": { + "description": "Cluster Upgrade Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "TargetClusterVersion": { + "type": "string", + "description": "Target Cluster version." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall duration of upgrade in milli-seconds." + } + }, + "required": [ + "TargetClusterVersion", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ClusterUpgradeCompleted" + }, + "ClusterUpgradeDomainCompletedEvent": { + "description": "Cluster Upgrade Domain Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "TargetClusterVersion": { + "type": "string", + "description": "Target Cluster version." + }, + "UpgradeState": { + "type": "string", + "description": "State of upgrade." + }, + "UpgradeDomains": { + "type": "string", + "description": "Upgrade domains." + }, + "UpgradeDomainElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Duration of domain upgrade in milli-seconds." + } + }, + "required": [ + "TargetClusterVersion", + "UpgradeState", + "UpgradeDomains", + "UpgradeDomainElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ClusterUpgradeDomainCompleted" + }, + "ClusterUpgradeRollbackCompletedEvent": { + "description": "Cluster Upgrade Rollback Completed event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "TargetClusterVersion": { + "type": "string", + "description": "Target Cluster version." + }, + "FailureReason": { + "type": "string", + "description": "Describes failure." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall duration of upgrade in milli-seconds." + } + }, + "required": [ + "TargetClusterVersion", + "FailureReason", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ClusterUpgradeRollbackCompleted" + }, + "ClusterUpgradeRollbackStartedEvent": { + "description": "Cluster Upgrade Rollback Started event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "TargetClusterVersion": { + "type": "string", + "description": "Target Cluster version." + }, + "FailureReason": { + "type": "string", + "description": "Describes failure." + }, + "OverallUpgradeElapsedTimeInMs": { + "type": "number", + "format": "double", + "description": "Overall duration of upgrade in milli-seconds." + } + }, + "required": [ + "TargetClusterVersion", + "FailureReason", + "OverallUpgradeElapsedTimeInMs" + ], + "x-ms-discriminator-value": "ClusterUpgradeRollbackStarted" + }, + "ClusterUpgradeStartedEvent": { + "description": "Cluster Upgrade Started event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "CurrentClusterVersion": { + "type": "string", + "description": "Current Cluster version." + }, + "TargetClusterVersion": { + "type": "string", + "description": "Target Cluster version." + }, + "UpgradeType": { + "type": "string", + "description": "Type of upgrade." + }, + "RollingUpgradeMode": { + "type": "string", + "description": "Mode of upgrade." + }, + "FailureAction": { + "type": "string", + "description": "Action if failed." + } + }, + "required": [ + "CurrentClusterVersion", + "TargetClusterVersion", + "UpgradeType", + "RollingUpgradeMode", + "FailureAction" + ], + "x-ms-discriminator-value": "ClusterUpgradeStarted" + }, + "ChaosStoppedEvent": { + "description": "Chaos Stopped event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "Reason": { + "type": "string", + "description": "Describes reason." + } + }, + "required": [ + "Reason" + ], + "x-ms-discriminator-value": "ChaosStopped" + }, + "ChaosStartedEvent": { + "description": "Chaos Started event.", + "allOf": [ + { + "$ref": "#/definitions/ClusterEvent" + } + ], + "properties": { + "MaxConcurrentFaults": { + "type": "integer", + "format": "int64", + "description": "Maximum number of concurrent faults." + }, + "TimeToRunInSeconds": { + "type": "number", + "format": "double", + "description": "Time to run in seconds." + }, + "MaxClusterStabilizationTimeoutInSeconds": { + "type": "number", + "format": "double", + "description": "Maximum timeout for cluster stabilization in seconds." + }, + "WaitTimeBetweenIterationsInSeconds": { + "type": "number", + "format": "double", + "description": "Wait time between iterations in seconds." + }, + "WaitTimeBetweenFaultsInSeconds": { + "type": "number", + "format": "double", + "description": "Wait time between faults in seconds." + }, + "MoveReplicaFaultEnabled": { + "type": "boolean", + "description": "Indicates MoveReplica fault is enabled." + }, + "IncludedNodeTypeList": { + "type": "string", + "description": "List of included Node types." + }, + "IncludedApplicationList": { + "type": "string", + "description": "List of included Applications." + }, + "ClusterHealthPolicy": { + "type": "string", + "description": "Health policy." + }, + "ChaosContext": { + "type": "string", + "description": "Chaos Context." + } + }, + "required": [ + "MaxConcurrentFaults", + "TimeToRunInSeconds", + "MaxClusterStabilizationTimeoutInSeconds", + "WaitTimeBetweenIterationsInSeconds", + "WaitTimeBetweenFaultsInSeconds", + "MoveReplicaFaultEnabled", + "IncludedNodeTypeList", + "IncludedApplicationList", + "ClusterHealthPolicy", + "ChaosContext" + ], + "x-ms-discriminator-value": "ChaosStarted" + }, + "ChaosCodePackageRestartScheduledEvent": { + "description": "Chaos Restart Code Package Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationEvent" + } + ], + "properties": { + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + }, + "NodeName": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "ServiceManifestName": { + "type": "string", + "description": "Service manifest name." + }, + "CodePackageName": { + "type": "string", + "description": "Code package name." + }, + "ServicePackageActivationId": { + "type": "string", + "description": "Id of Service package activation." + } + }, + "required": [ + "FaultGroupId", + "FaultId", + "NodeName", + "ServiceManifestName", + "CodePackageName", + "ServicePackageActivationId" + ], + "x-ms-discriminator-value": "ChaosCodePackageRestartScheduled" + }, + "ChaosReplicaRemovalScheduledEvent": { + "description": "Chaos Remove Replica Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + }, + "ServiceUri": { + "type": "string", + "description": "Service name." + } + }, + "required": [ + "FaultGroupId", + "FaultId", + "ServiceUri" + ], + "x-ms-discriminator-value": "ChaosReplicaRemovalScheduled" + }, + "ChaosPartitionSecondaryMoveScheduledEvent": { + "description": "Chaos Move Secondary Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + }, + "ServiceName": { + "type": "string", + "description": "Service name." + }, + "SourceNode": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "DestinationNode": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "ForcedMove": { + "type": "boolean", + "description": "Indicates a forced move." + } + }, + "required": [ + "FaultGroupId", + "FaultId", + "ServiceName", + "SourceNode", + "DestinationNode", + "ForcedMove" + ], + "x-ms-discriminator-value": "ChaosPartitionSecondaryMoveScheduled" + }, + "ChaosPartitionPrimaryMoveScheduledEvent": { + "description": "Chaos Move Primary Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/PartitionEvent" + } + ], + "properties": { + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + }, + "ServiceName": { + "type": "string", + "description": "Service name." + }, + "NodeTo": { + "$ref": "#/definitions/NodeName", + "description": "The name of a Service Fabric node." + }, + "ForcedMove": { + "type": "boolean", + "description": "Indicates a forced move." + } + }, + "required": [ + "FaultGroupId", + "FaultId", + "ServiceName", + "NodeTo", + "ForcedMove" + ], + "x-ms-discriminator-value": "ChaosPartitionPrimaryMoveScheduled" + }, + "ChaosReplicaRestartScheduledEvent": { + "description": "Chaos Restart Replica Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/ReplicaEvent" + } + ], + "properties": { + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + }, + "ServiceUri": { + "type": "string", + "description": "Service name." + } + }, + "required": [ + "FaultGroupId", + "FaultId", + "ServiceUri" + ], + "x-ms-discriminator-value": "ChaosReplicaRestartScheduled" + }, + "ChaosNodeRestartScheduledEvent": { + "description": "Chaos Restart Node Fault Scheduled event.", + "allOf": [ + { + "$ref": "#/definitions/NodeEvent" + } + ], + "properties": { + "NodeInstanceId": { + "type": "integer", + "format": "int64", + "description": "Id of Node instance." + }, + "FaultGroupId": { + "type": "string", + "format": "uuid", + "description": "Id of fault group." + }, + "FaultId": { + "type": "string", + "format": "uuid", + "description": "Id of fault." + } + }, + "required": [ + "NodeInstanceId", + "FaultGroupId", + "FaultId" + ], + "x-ms-discriminator-value": "ChaosNodeRestartScheduled" + }, + "ManagedApplicationIdentityDescription": { + "description": "Managed application identity description.", + "properties": { + "TokenServiceEndpoint": { + "type": "string", + "description": "Token service endpoint." + }, + "ManagedIdentities": { + "$ref": "#/definitions/ManagedApplicationIdentityList", + "description": "A list of managed application identity objects." + } + } + }, + "ManagedApplicationIdentityList": { + "description": "A list of managed application identity objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedApplicationIdentity" + } + }, + "ManagedApplicationIdentity": { + "description": "Describes a managed application identity.", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the identity." + }, + "PrincipalId": { + "type": "string", + "description": "The identity's PrincipalId." + } + } + }, + "ResourceStatus": { + "description": "Status of the resource.", + "type": "string", + "enum": [ + "Unknown", + "Ready", + "Upgrading", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ResourceStatus", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Indicates the resource status is unknown. The value is zero." + }, + { + "value": "Ready", + "description": "Indicates the resource is ready. The value is 1." + }, + { + "value": "Upgrading", + "description": "Indicates the resource is upgrading. The value is 2." + }, + { + "value": "Creating", + "description": "Indicates the resource is being created. The value is 3." + }, + { + "value": "Deleting", + "description": "Indicates the resource is being deleted. The value is 4." + }, + { + "value": "Failed", + "description": "Indicates the resource is not functional due to persistent failures. See statusDetails property for more details. The value is 5." + } + ] + } + }, + "SecretKind": { + "type": "string", + "description": "Describes the kind of secret.", + "enum": [ + "inlinedValue" + ], + "x-ms-enum": { + "name": "SecretKind", + "modelAsString": true, + "values": [ + { + "value": "inlinedValue", + "description": "A simple secret resource whose plaintext value is provided by the user." + } + ] + } + }, + "SecretResourceProperties": { + "description": "Describes the properties of a secret resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretResourcePropertiesBase" + } + ], + "properties": { + "description": { + "description": "User readable description of the secret.", + "type": "string" + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the resource." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the secret." + }, + "contentType": { + "type": "string", + "description": "The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed." + } + } + }, + "InlinedValueSecretResourceProperties": { + "description": "Describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it.", + "allOf": [ + { + "$ref": "#/definitions/SecretResourceProperties" + } + ], + "x-ms-discriminator-value": "inlinedValue" + }, + "SecretResourceName": { + "type": "string", + "description": "Name of the Secret resource." + }, + "SecretResourceDescription": { + "description": "This type describes a secret resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SecretResourceProperties", + "description": "Describes the properties of a secret resource." + }, + "name": { + "$ref": "#/definitions/SecretResourceName", + "description": "Name of the Secret resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "PagedSecretResourceDescriptionList": { + "type": "object", + "description": "The list of secret resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/SecretResourceDescription" + } + } + } + }, + "SecretResourcePropertiesBase": { + "discriminator": "kind", + "description": "This type describes the properties of a secret resource, including its kind.", + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/SecretKind", + "description": "Describes the kind of secret." + } + }, + "required": [ + "kind" + ] + }, + "SecretValue": { + "type": "object", + "description": "This type represents the unencrypted value of the secret.", + "properties": { + "value": { + "type": "string", + "description": "The actual value of the secret." + } + } + }, + "SecretValueProperties": { + "type": "object", + "description": "This type describes properties of secret value resource.", + "properties": { + "value": { + "type": "string", + "description": "The actual value of the secret." + } + } + }, + "SecretValueResourceDescription": { + "description": "This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value.", + "properties": { + "name": { + "type": "string", + "description": "Version identifier of the secret value." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecretValueResourceProperties", + "description": "This type describes properties of a secret value resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "PagedSecretValueResourceDescriptionList": { + "type": "object", + "description": "The list of values of a secret resource, paged if the number of results exceeds the limits of a single message. The next set of results can be obtained by executing the same query with the continuation token provided in the previous page.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "items": { + "$ref": "#/definitions/SecretValueResourceDescription" + }, + "description": "One page of the list." + } + } + }, + "SecretValueResourceProperties": { + "description": "This type describes properties of a secret value resource.", + "allOf": [ + { + "$ref": "#/definitions/SecretValueProperties" + } + ] + }, + "VolumeProperties": { + "description": "Describes properties of a volume resource.", + "properties": { + "description": { + "type": "string", + "description": "User readable description of the volume." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the volume." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the volume." + }, + "provider": { + "$ref": "#/definitions/VolumeProvider", + "description": "Provider of the volume." + }, + "azureFileParameters": { + "$ref": "#/definitions/VolumeProviderParametersAzureFile", + "description": "This type describes a volume provided by an Azure Files file share." + } + }, + "required": [ + "provider" + ] + }, + "VolumeProvider": { + "type": "string", + "description": "Describes the provider of the volume resource.", + "enum": [ + "SFAzureFile" + ], + "x-ms-enum": { + "name": "VolumeProvider", + "modelAsString": true, + "values": [ + { + "value": "SFAzureFile", + "description": "Provides volumes that are backed by Azure Files." + } + ] + } + }, + "VolumeProviderParametersAzureFile": { + "description": "This type describes a volume provided by an Azure Files file share.", + "properties": { + "accountName": { + "description": "Name of the Azure storage account for the File Share.", + "type": "string" + }, + "accountKey": { + "description": "Access key of the Azure storage account for the File Share.", + "type": "string" + }, + "shareName": { + "description": "Name of the Azure Files file share that provides storage for the volume.", + "type": "string" + } + }, + "required": [ + "accountName", + "shareName" + ] + }, + "VolumeReference": { + "description": "Describes a reference to a volume resource.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the volume being referenced." + }, + "readOnly": { + "type": "boolean", + "description": "The flag indicating whether the volume is read only. Default is 'false'." + }, + "destinationPath": { + "type": "string", + "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." + } + }, + "required": [ + "name", + "destinationPath" + ] + }, + "ApplicationScopedVolume": { + "description": "Describes a volume whose lifetime is scoped to the application's lifetime.", + "allOf": [ + { + "$ref": "#/definitions/VolumeReference" + } + ], + "properties": { + "creationParameters": { + "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters", + "description": "Describes parameters for creating application-scoped volumes." + } + }, + "required": [ + "creationParameters" + ] + }, + "ApplicationScopedVolumeCreationParameters": { + "description": "Describes parameters for creating application-scoped volumes.", + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/ApplicationScopedVolumeKind", + "description": "Specifies the application-scoped volume kind." + }, + "description": { + "description": "User readable description of the volume.", + "type": "string" + } + }, + "required": [ + "kind" + ] + }, + "ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk": { + "description": "Describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks", + "allOf": [ + { + "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters" + } + ], + "properties": { + "sizeDisk": { + "description": "Volume size", + "type": "string", + "enum": [ + "Small", + "Medium", + "Large" + ], + "x-ms-enum": { + "name": "SizeTypes", + "modelAsString": true + } + } + }, + "required": [ + "sizeDisk" + ], + "x-ms-discriminator-value": "ServiceFabricVolumeDisk" + }, + "ApplicationScopedVolumeKind": { + "description": "Specifies the application-scoped volume kind.", + "type": "string", + "enum": [ + "ServiceFabricVolumeDisk" + ], + "x-ms-enum": { + "name": "ApplicationScopedVolumeKind", + "modelAsString": true, + "values": [ + { + "value": "ServiceFabricVolumeDisk", + "description": "Provides Service Fabric High Availability Volume Disk" + } + ] + } + }, + "VolumeResourceName": { + "type": "string", + "description": "Name of the Volume resource." + }, + "VolumeResourceDescription": { + "description": "This type describes a volume resource.", + "properties": { + "name": { + "$ref": "#/definitions/VolumeResourceName", + "description": "Name of the Volume resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VolumeProperties", + "description": "Describes properties of a volume resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "PagedVolumeResourceDescriptionList": { + "type": "object", + "description": "The list of volume resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/VolumeResourceDescription" + } + } + } + }, + "NetworkKind": { + "type": "string", + "description": "The type of a Service Fabric container network.", + "enum": [ + "Local" + ], + "x-ms-enum": { + "name": "NetworkKind", + "modelAsString": true, + "values": [ + { + "value": "Local", + "description": "Indicates a container network local to a single Service Fabric cluster. The value is 1." + } + ] + } + }, + "NetworkResourceProperties": { + "description": "Describes properties of a network resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NetworkResourcePropertiesBase" + } + ], + "properties": { + "description": { + "type": "string", + "description": "User readable description of the network." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the network." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the network." + } + } + }, + "LocalNetworkResourceProperties": { + "description": "Information about a Service Fabric container network local to a single Service Fabric cluster.", + "allOf": [ + { + "$ref": "#/definitions/NetworkResourceProperties" + } + ], + "x-ms-discriminator-value": "Local", + "properties": { + "networkAddressPrefix": { + "$ref": "#/definitions/NetworkAddressPrefix", + "description": "Address space for the local container network." + } + } + }, + "NetworkAddressPrefix": { + "type": "string", + "description": "Address space for a container network. This is expressed in CIDR notation." + }, + "NetworkRef": { + "description": "Describes a network reference in a service.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network" + }, + "endpointRefs": { + "description": "A list of endpoints that are exposed on this network.", + "type": "array", + "items": { + "$ref": "#/definitions/EndpointRef" + } + } + } + }, + "EndpointRef": { + "description": "Describes a reference to a service endpoint.", + "properties": { + "name": { + "type": "string", + "description": "Name of the endpoint." + } + } + }, + "NetworkResourceName": { + "type": "string", + "description": "Name of the Network resource." + }, + "NetworkResourceDescription": { + "description": "This type describes a network resource.", + "properties": { + "name": { + "$ref": "#/definitions/NetworkResourceName", + "description": "Name of the Network resource." + }, + "properties": { + "$ref": "#/definitions/NetworkResourceProperties", + "description": "Describes properties of a network resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "NetworkResourcePropertiesBase": { + "discriminator": "kind", + "description": "This type describes the properties of a network resource, including its kind.", + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/NetworkKind", + "description": "The type of a Service Fabric container network." + } + }, + "required": [ + "kind" + ] + }, + "PagedNetworkResourceDescriptionList": { + "type": "object", + "description": "The list of network resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/NetworkResourceDescription" + } + } + } + }, + "GatewayDestination": { + "description": "Describes destination endpoint for routing traffic.", + "type": "object", + "properties": { + "applicationName": { + "type": "string", + "description": "Name of the service fabric Mesh application." + }, + "serviceName": { + "type": "string", + "description": "service that contains the endpoint." + }, + "endpointName": { + "type": "string", + "description": "name of the endpoint in the service." + } + }, + "required": [ + "applicationName", + "endpointName", + "serviceName" + ] + }, + "GatewayProperties": { + "description": "Describes properties of a gateway resource.", + "properties": { + "description": { + "description": "User readable description of the gateway.", + "type": "string" + }, + "sourceNetwork": { + "$ref": "#/definitions/NetworkRef", + "description": "Network the gateway should listen on for requests." + }, + "destinationNetwork": { + "$ref": "#/definitions/NetworkRef", + "description": "Network that the Application is using." + }, + "tcp": { + "description": "Configuration for tcp connectivity for this gateway.", + "type": "array", + "items": { + "$ref": "#/definitions/TcpConfig" + } + }, + "http": { + "description": "Configuration for http connectivity for this gateway.", + "type": "array", + "items": { + "$ref": "#/definitions/HttpConfig" + } + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the resource." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the gateway." + }, + "ipAddress": { + "readOnly": true, + "type": "string", + "description": "IP address of the gateway. This is populated in the response and is ignored for incoming requests." + } + }, + "required": [ + "destinationNetwork", + "sourceNetwork" + ] + }, + "HttpConfig": { + "description": "Describes the http configuration for external connectivity for this network.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "http gateway config name." + }, + "port": { + "type": "integer", + "description": "Specifies the port at which the service endpoint below needs to be exposed." + }, + "hosts": { + "type": "array", + "description": "description for routing.", + "items": { + "$ref": "#/definitions/HttpHostConfig" + } + } + }, + "required": [ + "hosts", + "name", + "port" + ] + }, + "HttpHostConfig": { + "description": "Describes the hostname properties for http routing.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "http hostname config name." + }, + "routes": { + "type": "array", + "description": "Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.", + "items": { + "$ref": "#/definitions/HttpRouteConfig" + } + } + }, + "required": [ + "name", + "routes" + ] + }, + "HttpRouteConfig": { + "description": "Describes the hostname properties for http routing.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "http route name." + }, + "match": { + "$ref": "#/definitions/HttpRouteMatchRule", + "description": "Describes a rule for http route matching." + }, + "destination": { + "$ref": "#/definitions/GatewayDestination", + "description": "Describes destination endpoint for routing traffic." + } + }, + "required": [ + "destination", + "match", + "name" + ] + }, + "HttpRouteMatchHeader": { + "description": "Describes header information for http route matching.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of header to match in request." + }, + "value": { + "type": "string", + "description": "Value of header to match in request." + }, + "type": { + "type": "string", + "description": "how to match header value", + "enum": [ + "exact" + ], + "x-ms-enum": { + "name": "HeaderMatchType", + "modelAsString": true + } + } + }, + "required": [ + "name" + ] + }, + "HttpRouteMatchPath": { + "description": "Path to match for routing.", + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Uri path to match for request." + }, + "rewrite": { + "type": "string", + "description": "replacement string for matched part of the Uri." + }, + "type": { + "type": "string", + "description": "how to match value in the Uri", + "enum": [ + "prefix" + ], + "x-ms-enum": { + "name": "PathMatchType", + "modelAsString": true + } + } + }, + "required": [ + "type", + "value" + ] + }, + "HttpRouteMatchRule": { + "description": "Describes a rule for http route matching.", + "type": "object", + "properties": { + "path": { + "$ref": "#/definitions/HttpRouteMatchPath", + "description": "Path to match for routing." + }, + "headers": { + "type": "array", + "description": "headers and their values to match in request.", + "items": { + "$ref": "#/definitions/HttpRouteMatchHeader" + } + } + }, + "required": [ + "path" + ] + }, + "TcpConfig": { + "description": "Describes the tcp configuration for external connectivity for this network.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "tcp gateway config name." + }, + "port": { + "type": "integer", + "description": "Specifies the port at which the service endpoint below needs to be exposed." + }, + "destination": { + "$ref": "#/definitions/GatewayDestination", + "description": "Describes destination endpoint for routing traffic." + } + }, + "required": [ + "destination", + "name", + "port" + ] + }, + "GatewayResourceName": { + "type": "string", + "description": "Name of the Gateway resource." + }, + "GatewayResourceDescription": { + "description": "This type describes a gateway resource.", + "properties": { + "name": { + "$ref": "#/definitions/GatewayResourceName", + "description": "Name of the Gateway resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayProperties", + "description": "Describes properties of a gateway resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "PagedGatewayResourceDescriptionList": { + "type": "object", + "description": "The list of gateway resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/GatewayResourceDescription" + } + } + } + }, + "ApplicationProperties": { + "description": "Describes properties of a application resource.", + "properties": { + "description": { + "type": "string", + "description": "User readable description of the application." + }, + "services": { + "type": "array", + "description": "Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource.", + "items": { + "$ref": "#/definitions/ServiceResourceDescription" + } + }, + "diagnostics": { + "$ref": "#/definitions/DiagnosticsDescription", + "description": "Describes the diagnostics definition and usage for an application resource." + }, + "debugParams": { + "description": "Internal - used by Visual Studio to setup the debugging session on the local development environment.", + "type": "string" + }, + "serviceNames": { + "readOnly": true, + "description": "Names of the services in the application.", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the application." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the application." + }, + "healthState": { + "readOnly": true, + "$ref": "#/definitions/HealthState", + "description": "Describes the health state of an application resource." + }, + "unhealthyEvaluation": { + "readOnly": true, + "type": "string", + "description": "When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy." + } + } + }, + "AzureInternalMonitoringPipelineSinkDescription": { + "allOf": [ + { + "$ref": "#/definitions/DiagnosticsSinkProperties" + } + ], + "x-ms-discriminator-value": "AzureInternalMonitoringPipeline", + "description": "Diagnostics settings for Geneva.", + "properties": { + "accountName": { + "description": "Azure Internal monitoring pipeline account.", + "type": "string" + }, + "namespace": { + "description": "Azure Internal monitoring pipeline account namespace.", + "type": "string" + }, + "maConfigUrl": { + "description": "Azure Internal monitoring agent configuration.", + "type": "string" + }, + "fluentdConfigUrl": { + "description": "Azure Internal monitoring agent fluentd configuration.", + "type": "string" + }, + "autoKeyConfigUrl": { + "description": "Azure Internal monitoring pipeline autokey associated with the certificate.", + "type": "string" + } + } + }, + "DiagnosticsDescription": { + "description": "Describes the diagnostics options available", + "properties": { + "sinks": { + "description": "List of supported sinks that can be referenced.", + "type": "array", + "items": { + "$ref": "#/definitions/DiagnosticsSinkProperties" + } + }, + "enabled": { + "description": "Status of whether or not sinks are enabled.", + "type": "boolean" + }, + "defaultSinkRefs": { + "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DiagnosticsRef": { + "description": "Reference to sinks in DiagnosticsDescription.", + "properties": { + "enabled": { + "description": "Status of whether or not sinks are enabled.", + "type": "boolean" + }, + "sinkRefs": { + "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DiagnosticsSinkKind": { + "type": "string", + "description": "The kind of DiagnosticsSink.", + "enum": [ + "Invalid", + "AzureInternalMonitoringPipeline" + ], + "x-ms-enum": { + "name": "DiagnosticsSinkKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates an invalid sink kind. All Service Fabric enumerations have the invalid type." + }, + { + "value": "AzureInternalMonitoringPipeline", + "description": "Diagnostics settings for Geneva." + } + ] + } + }, + "DiagnosticsSinkProperties": { + "description": "Properties of a DiagnosticsSink.", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/DiagnosticsSinkKind", + "description": "The kind of DiagnosticsSink." + }, + "name": { + "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription", + "type": "string" + }, + "description": { + "description": "A description of the sink.", + "type": "string" + } + }, + "required": [ + "kind" + ] + }, + "IdentityDescription": { + "description": "Information describing the identities associated with this application.", + "properties": { + "tokenServiceEndpoint": { + "type": "string", + "description": "the endpoint for the token service managing this identity" + }, + "type": { + "type": "string", + "description": "the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'" + }, + "tenantId": { + "type": "string", + "description": "the identifier of the tenant containing the application's identity." + }, + "principalId": { + "type": "string", + "description": "the object identifier of the Service Principal of the identity associated with this resource." + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentityMap", + "description": "represents user assigned identities map." + } + }, + "required": [ + "type" + ] + }, + "IdentityItemDescription": { + "description": "Describes a single user-assigned identity associated with the application.", + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "the object identifier of the Service Principal which this identity represents." + }, + "clientId": { + "type": "string", + "description": "the client identifier of the Service Principal which this identity represents." + } + } + }, + "UserAssignedIdentityMap": { + "type": "object", + "description": "Defines a map that contains user assigned identities.", + "additionalProperties": { + "$ref": "#/definitions/IdentityItemDescription" + } + }, + "AddRemoveReplicaScalingMechanism": { + "description": "Describes the horizontal auto scaling mechanism that adds or removes replicas (containers or container groups).", + "allOf": [ + { + "$ref": "#/definitions/AutoScalingMechanism" + }, + { + "type": "object" + } + ], + "x-ms-discriminator-value": "AddRemoveReplica", + "properties": { + "minCount": { + "type": "integer", + "description": "Minimum number of containers (scale down won't be performed below this number)." + }, + "maxCount": { + "type": "integer", + "description": "Maximum number of containers (scale up won't be performed above this number)." + }, + "scaleIncrement": { + "type": "integer", + "description": "Each time auto scaling is performed, this number of containers will be added or removed." + } + }, + "required": [ + "minCount", + "maxCount", + "scaleIncrement" + ] + }, + "AutoScalingMechanism": { + "type": "object", + "discriminator": "kind", + "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.", + "properties": { + "kind": { + "$ref": "#/definitions/AutoScalingMechanismKind", + "description": "The type of auto scaling mechanism." + } + }, + "required": [ + "kind" + ] + }, + "AutoScalingMechanismKind": { + "type": "string", + "description": "Enumerates the mechanisms for auto scaling.", + "enum": [ + "AddRemoveReplica" + ], + "x-ms-enum": { + "name": "AutoScalingMechanismKind", + "modelAsString": true, + "values": [ + { + "value": "AddRemoveReplica", + "description": "Indicates that scaling should be performed by adding or removing replicas." + } + ] + } + }, + "AutoScalingMetric": { + "type": "object", + "discriminator": "kind", + "description": "Describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.", + "properties": { + "kind": { + "$ref": "#/definitions/AutoScalingMetricKind", + "description": "The type of auto scaling metric" + } + }, + "required": [ + "kind" + ] + }, + "AutoScalingMetricKind": { + "type": "string", + "description": "Enumerates the metrics that are used for triggering auto scaling.", + "enum": [ + "Resource" + ], + "x-ms-enum": { + "name": "AutoScalingMetricKind", + "modelAsString": true, + "values": [ + { + "value": "Resource", + "description": "Indicates that the metric is one of resources, like cpu or memory." + } + ] + } + }, + "AutoScalingPolicy": { + "description": "Describes the auto scaling policy", + "type": "object", + "properties": { + "name": { + "description": "The name of the auto scaling policy.", + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/AutoScalingTrigger", + "description": "Determines when auto scaling operation will be invoked." + }, + "mechanism": { + "$ref": "#/definitions/AutoScalingMechanism", + "description": "The mechanism that is used to scale when auto scaling operation is invoked." + } + }, + "required": [ + "name", + "trigger", + "mechanism" + ] + }, + "AutoScalingResourceMetric": { + "description": "Describes the resource that is used for triggering auto scaling.", + "allOf": [ + { + "$ref": "#/definitions/AutoScalingMetric" + }, + { + "type": "object" + } + ], + "x-ms-discriminator-value": "Resource", + "properties": { + "name": { + "$ref": "#/definitions/AutoScalingResourceMetricName", + "description": "Name of the resource." + } + }, + "required": [ + "name" + ] + }, + "AutoScalingResourceMetricName": { + "type": "string", + "description": "Enumerates the resources that are used for triggering auto scaling.", + "enum": [ + "cpu", + "memoryInGB" + ], + "x-ms-enum": { + "name": "AutoScalingResourceMetricName", + "modelAsString": true, + "values": [ + { + "value": "cpu", + "description": "Indicates that the resource is CPU cores." + }, + { + "value": "memoryInGB", + "description": "Indicates that the resource is memory in GB." + } + ] + } + }, + "AutoScalingTrigger": { + "type": "object", + "discriminator": "kind", + "description": "Describes the trigger for performing auto scaling operation.", + "properties": { + "kind": { + "$ref": "#/definitions/AutoScalingTriggerKind", + "description": "The type of auto scaling trigger" + } + }, + "required": [ + "kind" + ] + }, + "AutoScalingTriggerKind": { + "type": "string", + "description": "Enumerates the triggers for auto scaling.", + "enum": [ + "AverageLoad" + ], + "x-ms-enum": { + "name": "AutoScalingTriggerKind", + "modelAsString": true, + "values": [ + { + "value": "AverageLoad", + "description": "Indicates that scaling should be performed based on average load of all replicas in the service." + } + ] + } + }, + "ContainerCodePackageProperties": { + "description": "Describes a container and its runtime properties.", + "properties": { + "name": { + "description": "The name of the code package.", + "type": "string" + }, + "image": { + "description": "The Container image to use.", + "type": "string" + }, + "imageRegistryCredential": { + "$ref": "#/definitions/ImageRegistryCredential", + "description": "Image registry credential." + }, + "entrypoint": { + "description": "Override for the default entry point in the container.", + "type": "string" + }, + "commands": { + "description": "Command array to execute within the container in exec form.", + "type": "array", + "items": { + "type": "string" + } + }, + "environmentVariables": { + "description": "The environment variables to set in this container", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + "settings": { + "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\".", + "type": "array", + "items": { + "$ref": "#/definitions/Setting" + } + }, + "labels": { + "description": "The labels to set in this container.", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerLabel" + } + }, + "endpoints": { + "description": "The endpoints exposed by this container.", + "type": "array", + "items": { + "$ref": "#/definitions/EndpointProperties" + } + }, + "resources": { + "description": "The resources required by this container.", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeRefs": { + "description": "Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime.", + "type": "array", + "items": { + "$ref": "#/definitions/VolumeReference" + } + }, + "volumes": { + "description": "Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationScopedVolume" + } + }, + "diagnostics": { + "$ref": "#/definitions/DiagnosticsRef", + "description": "Reference to sinks in DiagnosticsDescription." + }, + "reliableCollectionsRefs": { + "description": "A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details.", + "type": "array", + "items": { + "$ref": "#/definitions/ReliableCollectionsRef" + } + }, + "instanceView": { + "readOnly": true, + "$ref": "#/definitions/ContainerInstanceView", + "description": "Runtime information of a container instance." + } + }, + "required": [ + "name", + "image", + "resources" + ] + }, + "ContainerEvent": { + "description": "A container event.", + "properties": { + "name": { + "type": "string", + "description": "The name of the container event." + }, + "count": { + "type": "integer", + "description": "The count of the event." + }, + "firstTimestamp": { + "type": "string", + "description": "Date/time of the first event." + }, + "lastTimestamp": { + "type": "string", + "description": "Date/time of the last event." + }, + "message": { + "type": "string", + "description": "The event message" + }, + "type": { + "type": "string", + "description": "The event type." + } + } + }, + "ContainerInstanceView": { + "description": "Runtime information of a container instance.", + "properties": { + "restartCount": { + "type": "integer", + "description": "The number of times the container has been restarted." + }, + "currentState": { + "$ref": "#/definitions/ContainerState", + "description": "Current container instance state." + }, + "previousState": { + "$ref": "#/definitions/ContainerState", + "description": "Previous container instance state." + }, + "events": { + "description": "The events of this container instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerEvent" + } + } + } + }, + "ContainerLabel": { + "description": "Describes a container label.", + "properties": { + "name": { + "description": "The name of the container label.", + "type": "string" + }, + "value": { + "description": "The value of the container label.", + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + }, + "ContainerState": { + "description": "The container state.", + "properties": { + "state": { + "type": "string", + "description": "The state of this container" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Date/time when the container state started." + }, + "exitCode": { + "type": "string", + "description": "The container exit code." + }, + "finishTime": { + "type": "string", + "format": "date-time", + "description": "Date/time when the container state finished." + }, + "detailStatus": { + "description": "Human-readable status of this state.", + "type": "string" + } + } + }, + "EndpointProperties": { + "description": "Describes a container endpoint.", + "properties": { + "name": { + "description": "The name of the endpoint.", + "type": "string" + }, + "port": { + "description": "Port used by the container.", + "type": "integer" + } + }, + "required": [ + "name" + ] + }, + "EnvironmentVariable": { + "description": "Describes an environment variable for the container.", + "properties": { + "name": { + "description": "The name of the environment variable.", + "type": "string" + }, + "value": { + "description": "The value of the environment variable.", + "type": "string" + } + } + }, + "ImageRegistryCredential": { + "description": "Image registry credential.", + "properties": { + "server": { + "type": "string", + "description": "Docker image registry server, without protocol such as `http` and `https`." + }, + "username": { + "type": "string", + "description": "The username for the private registry." + }, + "password": { + "type": "string", + "description": "The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations." + } + }, + "required": [ + "server", + "username" + ] + }, + "OperatingSystemType": { + "type": "string", + "description": "The operation system required by the code in service.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OperatingSystemType", + "modelAsString": true, + "values": [ + { + "value": "Linux", + "description": "The required operating system is Linux." + }, + { + "value": "Windows", + "description": "The required operating system is Windows." + } + ] + } + }, + "ReliableCollectionsRef": { + "description": "Specifying this parameter adds support for reliable collections", + "properties": { + "name": { + "description": "Name of ReliableCollection resource. Right now it's not used and you can use any string.", + "type": "string" + }, + "doNotPersistState": { + "description": "False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache.", + "type": "boolean" + } + }, + "required": [ + "name" + ] + }, + "ResourceLimits": { + "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.", + "properties": { + "memoryInGB": { + "description": "The memory limit in GB.", + "type": "number", + "format": "double" + }, + "cpu": { + "description": "CPU limits in cores. At present, only full cores are supported.", + "type": "number", + "format": "double" + } + } + }, + "ResourceRequests": { + "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.", + "properties": { + "memoryInGB": { + "description": "The memory request in GB for this container.", + "type": "number", + "format": "double" + }, + "cpu": { + "description": "Requested number of CPU cores. At present, only full cores are supported.", + "type": "number", + "format": "double" + } + }, + "required": [ + "memoryInGB", + "cpu" + ] + }, + "ResourceRequirements": { + "description": "This type describes the resource requirements for a container or a service.", + "properties": { + "requests": { + "$ref": "#/definitions/ResourceRequests", + "description": "Describes the requested resources for a given container." + }, + "limits": { + "$ref": "#/definitions/ResourceLimits", + "description": "Describes the maximum limits on the resources for a given container." + } + }, + "required": [ + "requests" + ] + }, + "ServiceProperties": { + "description": "Describes properties of a service resource.", + "properties": { + "description": { + "type": "string", + "description": "User readable description of the service." + }, + "replicaCount": { + "type": "integer", + "description": "The number of replicas of the service to create. Defaults to 1 if not specified." + }, + "autoScalingPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoScalingPolicy" + }, + "description": "Auto scaling policies" + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ResourceStatus", + "description": "Status of the service." + }, + "statusDetails": { + "readOnly": true, + "type": "string", + "description": "Gives additional information about the current status of the service." + }, + "healthState": { + "readOnly": true, + "$ref": "#/definitions/HealthState", + "description": "Describes the health state of an application resource." + }, + "unhealthyEvaluation": { + "readOnly": true, + "type": "string", + "description": "When the service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy." + }, + "identityRefs": { + "description": "The service identity list.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceIdentity" + } + } + } + }, + "ServiceReplicaProperties": { + "description": "Describes the properties of a service replica.", + "properties": { + "osType": { + "$ref": "#/definitions/OperatingSystemType", + "description": "The operation system required by the code in service." + }, + "codePackages": { + "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerCodePackageProperties" + } + }, + "networkRefs": { + "type": "array", + "description": "The names of the private networks that this service needs to be part of.", + "items": { + "$ref": "#/definitions/NetworkRef" + } + }, + "diagnostics": { + "$ref": "#/definitions/DiagnosticsRef", + "description": "Reference to sinks in DiagnosticsDescription." + } + }, + "required": [ + "osType", + "codePackages" + ] + }, + "Setting": { + "description": "Describes a setting for the container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\".", + "properties": { + "name": { + "description": "The name of the setting.", + "type": "string" + }, + "value": { + "description": "The value of the setting.", + "type": "string" + } + } + }, + "ServiceReplicaDescription": { + "description": "Describes a replica of a service resource.", + "allOf": [ + { + "$ref": "#/definitions/ServiceReplicaProperties" + } + ], + "properties": { + "replicaName": { + "type": "string", + "description": "Name of the replica." + } + }, + "required": [ + "replicaName" + ] + }, + "AverageLoadScalingTrigger": { + "description": "Describes the average load trigger used for auto scaling.", + "allOf": [ + { + "$ref": "#/definitions/AutoScalingTrigger" + }, + { + "type": "object" + } + ], + "x-ms-discriminator-value": "AverageLoad", + "properties": { + "metric": { + "$ref": "#/definitions/AutoScalingMetric", + "description": "Description of the metric that is used for scaling." + }, + "lowerLoadThreshold": { + "type": "number", + "format": "double", + "description": "Lower load threshold (if average load is below this threshold, service will scale down)." + }, + "upperLoadThreshold": { + "type": "number", + "format": "double", + "description": "Upper load threshold (if average load is above this threshold, service will scale up)." + }, + "scaleIntervalInSeconds": { + "type": "integer", + "description": "Scale interval that indicates how often will this trigger be checked.", + "minimum": 60 + } + }, + "required": [ + "metric", + "lowerLoadThreshold", + "upperLoadThreshold", + "scaleIntervalInSeconds" + ] + }, + "ServiceIdentity": { + "description": "Map service identity friendly name to an application identity.", + "properties": { + "name": { + "description": "The identity friendly name.", + "type": "string" + }, + "identityRef": { + "description": "The application identity name.", + "type": "string" + } + } + }, + "ServiceResourceName": { + "type": "string", + "description": "Name of the Service resource." + }, + "ServiceResourceDescription": { + "description": "This type describes a service resource.", + "properties": { + "name": { + "$ref": "#/definitions/ServiceResourceName", + "description": "Name of the Service resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceResourceProperties", + "description": "This type describes properties of a service resource." + } + }, + "required": [ + "name", + "properties" + ] + }, + "ServiceResourceProperties": { + "description": "This type describes properties of a service resource.", + "allOf": [ + { + "$ref": "#/definitions/ServiceReplicaProperties" + }, + { + "$ref": "#/definitions/ServiceProperties" + } + ] + }, + "PagedServiceResourceDescriptionList": { + "type": "object", + "description": "The list of service resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/ServiceResourceDescription" + } + } + } + }, + "PagedServiceReplicaDescriptionList": { + "description": "The list of service resource replicas in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "List of service resource replica description.", + "items": { + "$ref": "#/definitions/ServiceReplicaDescription" + } + } + } + }, + "ApplicationResourceName": { + "type": "string", + "description": "Name of the Application resource." + }, + "ApplicationResourceDescription": { + "description": "This type describes a application resource.", + "properties": { + "name": { + "$ref": "#/definitions/ApplicationResourceName", + "description": "Name of the Application resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationProperties", + "description": "Describes properties of a application resource." + }, + "identity": { + "$ref": "#/definitions/IdentityDescription", + "description": "Describes the identity of the application." + } + }, + "required": [ + "name", + "properties" + ] + }, + "PagedApplicationResourceDescriptionList": { + "type": "object", + "description": "The list of application resources. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.", + "properties": { + "ContinuationToken": { + "$ref": "#/definitions/ContinuationToken", + "description": "The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response." + }, + "Items": { + "type": "array", + "description": "One page of the list.", + "items": { + "$ref": "#/definitions/ApplicationResourceDescription" + } + } + } + } + }, + "parameters": { + "CodePackageNameRequiredPathParam": { + "name": "codePackageName", + "in": "path", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of code package of the service." + }, + "ApiVersion_6-4-Preview_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.4-preview" + ], + "required": true, + "default": "6.4-preview", + "description": "The version of the API. This parameter is required and its value must be '6.4-preview'.", + "x-ms-enum": { + "name": "ApiVersion_6-4-Preview_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.4-preview", + "description": "The version number for the preview functionality of 6.4 runtime" + } + ] + } + }, + "TailOptionalQueryParam": { + "name": "Tail", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "Number of lines to show from the end of the logs. Default is 100. 'all' to show the complete logs." + }, + "ApiVersion_6-0-Preview_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.0-preview" + ], + "required": true, + "default": "6.0-preview", + "description": "The version of the API. This parameter is required and its value must be '\"6.0-preview'.", + "x-ms-enum": { + "name": "ApiVersion_6-0-Preview_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.0-preview", + "description": "The version number for the preview functionality of 6.0 runtime." + } + ] + } + }, + "ApiVersion_6-0_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.0" + ], + "required": true, + "default": "6.0", + "description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-0_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.0", + "description": "The 6.0 version of the API." + } + ] + } + }, + "ApiVersion_6-1_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.1" + ], + "required": true, + "default": "6.1", + "description": "The version of the API. This parameter is required and its value must be '6.1'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-1_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.1", + "description": "The 6.1 version of the API." + } + ] + } + }, + "ApiVersion_6-2_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.2" + ], + "required": true, + "default": "6.2", + "description": "The version of the API. This parameter is required and its value must be '6.2'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-2_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.2", + "description": "The 6.2 version of the API." + } + ] + } + }, + "ApiVersion_6-2-Preview_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.2-preview" + ], + "required": true, + "default": "6.2-preview", + "description": "The version of the API. This parameter is required and its value must be '6.2-preview'.", + "x-ms-enum": { + "name": "ApiVersion_6-2-Preview_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.2-preview", + "description": "The version number for the preview functionality of 6.2 runtime" + } + ] + } + }, + "ApiVersion_6-3_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.3" + ], + "required": true, + "default": "6.3", + "description": "The version of the API. This parameter is required and its value must be '6.3'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-3_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.3", + "description": "The 6.3 version of the API." + } + ] + } + }, + "ApiVersion_6-3-Preview_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.3-preview" + ], + "required": true, + "default": "6.3-preview", + "description": "The version of the API. This parameter is required and its value must be '6.3-preview'.", + "x-ms-enum": { + "name": "ApiVersion_6-3-Preview_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.3-preview", + "description": "The version number for the preview functionality of 6.3 runtime" + } + ] + } + }, + "ApiVersion_6-4_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.4" + ], + "required": true, + "default": "6.4", + "description": "The version of the API. This parameter is required and its value must be '6.4'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-4_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.4", + "description": "The 6.4 version of the API." + } + ] + } + }, + "ApiVersion_6-5_RequiredQueryParam": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "6.5" + ], + "required": true, + "default": "6.5", + "description": "The version of the API. This parameter is required and its value must be '6.5'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version.", + "x-ms-enum": { + "name": "ApiVersion_6-5_RequiredQueryParam", + "modelAsString": true, + "values": [ + { + "value": "6.5", + "description": "The 6.5 version of the API." + } + ] + } + }, + "ApplicationDefinitionKindFilterOptionalQueryParam": { + "name": "ApplicationDefinitionKindFilter", + "description": "Used to filter on ApplicationDefinitionKind, which is the mechanism used to define a Service Fabric application.\n- Default - Default value, which performs the same function as selecting \"All\". The value is 0.\n- All - Filter that matches input with any ApplicationDefinitionKind value. The value is 65535.\n- ServiceFabricApplicationDescription - Filter that matches input with ApplicationDefinitionKind value ServiceFabricApplicationDescription. The value is 1.\n- Compose - Filter that matches input with ApplicationDefinitionKind value Compose. The value is 2.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "ApplicationHealthPolicyOptionalBodyParam": { + "name": "ApplicationHealthPolicy", + "in": "body", + "description": "Describes the health policies used to evaluate the health of an application or one of its children.\nIf not present, the health evaluation uses the health policy from application manifest or the default health policy.", + "required": false, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationHealthPolicy" + } + }, + "ApplicationIdRequiredPathParam": { + "name": "applicationId", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the application name is \"fabric:/myapp/app1\", the application identity would be \"myapp~app1\" in 6.0+ and \"myapp/app1\" in previous versions." + }, + "ApplicationsHealthStateFilterOptionalQueryParam": { + "name": "ApplicationsHealthStateFilter", + "description": "Allows filtering of the application health state objects returned in the result of cluster health\nquery based on their health state.\nThe possible values for this parameter include integer value obtained from members or bitwise operations\non members of HealthStateFilter enumeration. Only applications that match the filter are returned.\nAll applications are used to evaluate the aggregated health state. If not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of applications with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "ApplicationTypeDefinitionKindFilterOptionalQueryParam": { + "name": "ApplicationTypeDefinitionKindFilter", + "description": "Used to filter on ApplicationTypeDefinitionKind which is the mechanism used to define a Service Fabric application type.\n- Default - Default value, which performs the same function as selecting \"All\". The value is 0.\n- All - Filter that matches input with any ApplicationTypeDefinitionKind value. The value is 65535.\n- ServiceFabricApplicationPackage - Filter that matches input with ApplicationTypeDefinitionKind value ServiceFabricApplicationPackage. The value is 1.\n- Compose - Filter that matches input with ApplicationTypeDefinitionKind value Compose. The value is 2.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "ApplicationTypeNameOptionalQueryParam": { + "name": "ApplicationTypeName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The application type name used to filter the applications to query for. This value should not contain the application type version." + }, + "ApplicationTypeNameRequiredPathParam": { + "name": "applicationTypeName", + "in": "path", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of the application type." + }, + "ApplicationTypeVersionOptionalQueryParam": { + "name": "ApplicationTypeVersion", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The version of the application type." + }, + "ApplicationTypeVersionRequiredQueryParam": { + "name": "ApplicationTypeVersion", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The version of the application type." + }, + "ProvisionApplicationTypeDescriptionBaseRequiredBodyParam": { + "name": "ProvisionApplicationTypeDescriptionBaseRequiredBodyParam", + "in": "body", + "description": "The base type of provision application type description which supports either image store-based provision or external store-based provision.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ProvisionApplicationTypeDescriptionBase" + } + }, + "ClusterConfigurationUpgradeDescriptionRequiredBodyParam": { + "name": "ClusterConfigurationUpgradeDescription", + "in": "body", + "description": "Parameters for a standalone cluster configuration upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ClusterConfigurationUpgradeDescription" + } + }, + "ClusterHealthPoliciesOptionalBodyParam": { + "name": "ClusterHealthPolicies", + "in": "body", + "description": "Describes the health policies used to evaluate the cluster health.\nIf not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy.\nBy default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest.\nIf the application health policy map is specified, and it has an entry for an application, the specified application health policy\nis used to evaluate the application health.", + "required": false, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ClusterHealthPolicies" + } + }, + "ClusterHealthPolicyOptionalBodyParam": { + "name": "ClusterHealthPolicy", + "in": "body", + "description": "Describes the health policies used to evaluate the health of a cluster or node. If not present, the health evaluation uses the health policy from cluster manifest or the default health policy.", + "required": false, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ClusterHealthPolicy" + } + }, + "ClusterHealthChunkQueryDescriptionOptionalBodyParam": { + "name": "ClusterHealthChunkQueryDescription", + "in": "body", + "description": "Describes the cluster and application health policies used to evaluate the cluster health and the filters to select which cluster entities to be returned.\nIf the cluster health policy is present, it is used to evaluate the cluster events and the cluster nodes. If not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy.\nBy default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest.\nIf the application health policy map is specified, and it has an entry for an application, the specified application health policy\nis used to evaluate the application health.\nUsers can specify very flexible filters to select which cluster entities to include in response. The selection can be done based on the entities health state and based on the hierarchy.\nThe query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return\nonly services that are in Error or Warning, and all partitions and replicas for one of these services.", + "required": false, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ClusterHealthChunkQueryDescription" + } + }, + "CodePackageInstanceIdRequiredQueryParam": { + "name": "CodePackageInstanceId", + "description": "ID that uniquely identifies a code package instance deployed on a service fabric node.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true + }, + "CodePackageNameRequiredQueryParam": { + "name": "CodePackageName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster." + }, + "CodeVersionOptionalQueryParam": { + "name": "CodeVersion", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The product version of Service Fabric." + }, + "ConfigVersionOptionalQueryParam": { + "name": "ConfigVersion", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The config version of Service Fabric." + }, + "ConfigurationApiVersionRequiredQueryParam": { + "name": "ConfigurationApiVersion", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The API version of the Standalone cluster json configuration." + }, + "ContainerApiRequiredBodyParam": { + "name": "ContainerApiRequestBody", + "in": "body", + "description": "Parameters for making container API call", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ContainerApiRequestBody" + } + }, + "ContinuationTokenOptionalQueryParam": { + "name": "ContinuationToken", + "in": "query", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": false, + "description": "The continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded." + }, + "DeployedApplicationsHealthStateFilterOptionalQueryParam": { + "name": "DeployedApplicationsHealthStateFilter", + "description": "Allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states. Only deployed applications that match the filter will be returned.\nAll deployed applications are used to evaluate the aggregated health state. If not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values, obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of deployed applications with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "DeployedServicePackagesHealthStateFilterOptionalQueryParam": { + "name": "DeployedServicePackagesHealthStateFilter", + "description": "Allows filtering of the deployed service package health state objects returned in the result of deployed application health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the aggregated health state of the deployed application.\nIf not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value can be a combination of these values, obtained using the bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of service packages with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "DeploymentNameRequiredPathParam": { + "name": "deploymentName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the deployment." + }, + "EventsHealthStateFilterOptionalQueryParam": { + "name": "EventsHealthStateFilter", + "description": "Allows filtering the collection of HealthEvent objects returned based on health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly events that match the filter are returned. All events are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values, obtained using the bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "ExcludeApplicationParametersOptionalQueryParam": { + "name": "ExcludeApplicationParameters", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false, + "description": "The flag that specifies whether application parameters will be excluded from the result." + }, + "HealthInformationRequiredBodyParam": { + "name": "HealthInformation", + "in": "body", + "description": "Describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/HealthInformation" + } + }, + "NodeNameRequiredPathParam": { + "name": "nodeName", + "in": "path", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of the node." + }, + "NodesHealthStateFilterOptionalQueryParam": { + "name": "NodesHealthStateFilter", + "description": "Allows filtering of the node health state objects returned in the result of cluster health query\nbased on their health state. The possible values for this parameter include integer value of one of the\nfollowing health states. Only nodes that match the filter are returned. All nodes are used to evaluate the aggregated health state.\nIf not specified, all entries are returned.\nThe state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.\nFor example, if the provided value is 6 then health state of nodes with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "NodeStatusFilterOptionalQueryParam": { + "name": "NodeStatusFilter", + "description": "Allows filtering the nodes based on the NodeStatus. Only the nodes that are matching the specified filter value will be returned. The filter value can be one of the following.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "default", + "all", + "up", + "down", + "enabling", + "disabling", + "disabled", + "unknown", + "removed" + ], + "required": false, + "default": "default", + "x-ms-enum": { + "name": "NodeStatusFilter", + "modelAsString": true, + "values": [ + { + "value": "default", + "description": "This filter value will match all of the nodes excepts the ones with status as Unknown or Removed." + }, + { + "value": "all", + "description": "This filter value will match all of the nodes." + }, + { + "value": "up", + "description": "This filter value will match nodes that are Up." + }, + { + "value": "down", + "description": "This filter value will match nodes that are Down." + }, + { + "value": "enabling", + "description": "This filter value will match nodes that are in the process of being enabled with status as Enabling." + }, + { + "value": "disabling", + "description": "This filter value will match nodes that are in the process of being disabled with status as Disabling." + }, + { + "value": "disabled", + "description": "This filter value will match nodes that are Disabled." + }, + { + "value": "unknown", + "description": "This filter value will match nodes whose status is Unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime." + }, + { + "value": "removed", + "description": "This filter value will match nodes whose status is Removed. These are the nodes that are removed from the cluster using the RemoveNodeState API." + } + ] + } + }, + "PartitionIdOptionalQueryParam": { + "name": "PartitionId", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "format": "uuid", + "required": false, + "description": "The identity of the partition." + }, + "PartitionIdRequiredPathParam": { + "name": "partitionId", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "format": "uuid", + "required": true, + "description": "The identity of the partition." + }, + "ProvisionFabricDescriptionRequiredBodyParam": { + "name": "ProvisionFabricDescription", + "in": "body", + "description": "Describes the parameters for provisioning a cluster.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ProvisionFabricDescription" + } + }, + "UnprovisionFabricDescriptionRequiredBodyParam": { + "name": "UnprovisionFabricDescription", + "in": "body", + "description": "Describes the parameters for unprovisioning a cluster.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/UnprovisionFabricDescription" + } + }, + "ResumeClusterUpgradeDescriptionRequiredBodyParam": { + "name": "ResumeClusterUpgradeDescription", + "in": "body", + "description": "Describes the parameters for resuming a cluster upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ResumeClusterUpgradeDescription" + } + }, + "UpdateClusterUpgradeDescriptionRequiredBodyParam": { + "name": "UpdateClusterUpgradeDescription", + "in": "body", + "description": "Parameters for updating a cluster upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/UpdateClusterUpgradeDescription" + } + }, + "StartClusterUpgradeDescriptionRequiredBodyParam": { + "name": "StartClusterUpgradeDescription", + "in": "body", + "description": "Describes the parameters for starting a cluster upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/StartClusterUpgradeDescription" + } + }, + "ReplicaHealthReportServiceKindRequiredQueryParam": { + "name": "ServiceKind", + "in": "query", + "required": true, + "x-ms-parameter-location": "method", + "description": "The kind of service replica (Stateless or Stateful) for which the health is being reported. Following are the possible values.", + "type": "string", + "enum": [ + "Stateless", + "Stateful" + ], + "default": "Stateful", + "x-ms-enum": { + "name": "ReplicaHealthReportServiceKind", + "modelAsString": true, + "values": [ + { + "value": "Stateless", + "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 1" + }, + { + "value": "Stateful", + "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2." + } + ] + } + }, + "ReplicaIdRequiredPathParam": { + "name": "replicaId", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identifier of the replica." + }, + "ReplicasHealthStateFilerOptionalQueryParam": { + "name": "ReplicasHealthStateFilter", + "description": "Allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "ServiceIdRequiredPathParam": { + "name": "serviceId", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions." + }, + "ServiceManifestNameOptionalQueryParam": { + "name": "ServiceManifestName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The name of a service manifest registered as part of an application type in a Service Fabric cluster." + }, + "ServiceManifestNameRequiredQueryParam": { + "name": "ServiceManifestName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of a service manifest registered as part of an application type in a Service Fabric cluster." + }, + "ServicePackageNameRequiredPathParam": { + "name": "servicePackageName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The name of the service package." + }, + "ServicesHealthStateFilterOptionalQueryParam": { + "name": "ServicesHealthStateFilter", + "description": "Allows filtering of the services health state objects returned in the result of services health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly services that match the filter are returned. All services are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values,\nobtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of services with HealthState value of OK (2) and Warning (4) will be returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "CreateServiceFromTemplateRequiredBodyParam": { + "name": "ServiceFromTemplateDescription", + "in": "body", + "description": "Describes the service that needs to be created from the template defined in the application manifest.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ServiceFromTemplateDescription" + } + }, + "ServiceTypeNameOptionalQueryParam": { + "name": "ServiceTypeName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The service type name used to filter the services to query for." + }, + "InfrastructureCommandRequiredQueryParam": { + "name": "Command", + "description": "The text of the command to be invoked. The content of the command is infrastructure-specific.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true + }, + "InfrastructureServiceIdOptionalQueryParam": { + "name": "ServiceId", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "description": "The identity of the infrastructure service. This is the full name of the infrastructure service without the 'fabric:' URI scheme. This parameter required only for the cluster that has more than one instance of infrastructure service running.", + "required": false + }, + "ForceRemoveOptionalQueryParam": { + "name": "ForceRemove", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "description": "Remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas." + }, + "ForceRemoveReplicaOptionalQueryParam": { + "name": "ForceRemove", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "description": "Remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas." + }, + "DeactivationIntentDescriptionRequiredBodyParam": { + "name": "DeactivationIntentDescription", + "in": "body", + "description": "Describes the intent or reason for deactivating the node.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/DeactivationIntentDescription" + } + }, + "RestartNodeDescriptionRequiredBodyParam": { + "name": "RestartNodeDescription", + "in": "body", + "description": "The instance of the node to be restarted and a flag indicating the need to take dump of the fabric process.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RestartNodeDescription" + } + }, + "ApplicationUpgradeDescriptionRequiredBodyParam": { + "name": "ApplicationUpgradeDescription", + "in": "body", + "description": "Parameters for an application upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationUpgradeDescription" + } + }, + "ComposeDeploymentUpgradeDescriptionRequiredBodyParam": { + "name": "ComposeDeploymentUpgradeDescription", + "in": "body", + "description": "Parameters for upgrading compose deployment.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ComposeDeploymentUpgradeDescription" + } + }, + "ApplicationTypeImageStorePathRequiredBodyParam": { + "name": "ApplicationTypeImageStorePath", + "in": "body", + "description": "The relative path for the application package in the image store specified during the prior copy operation.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationTypeImageStorePath" + } + }, + "UnprovisionApplicationTypeRequiredBodyParam": { + "name": "UnprovisionApplicationTypeDescriptionInfo", + "in": "body", + "description": "The relative path for the application package in the image store specified during the prior copy operation.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/UnprovisionApplicationTypeDescriptionInfo" + } + }, + "UpgradeOrchestrationServiceStateRequiredBodyParam": { + "name": "UpgradeOrchestrationServiceState", + "in": "body", + "x-ms-parameter-location": "method", + "required": true, + "description": "Service state of Service Fabric Upgrade Orchestration Service.", + "schema": { + "$ref": "#/definitions/UpgradeOrchestrationServiceState" + } + }, + "ChaosParametersRequiredBodyParam": { + "name": "ChaosParameters", + "in": "body", + "description": "Describes all the parameters to configure a Chaos run.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ChaosParameters" + } + }, + "StartTimeUtcOptionalQueryParam": { + "name": "StartTimeUtc", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The Windows file time representing the start time of the time range for which a Chaos report is to be generated. Consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details." + }, + "EndTimeUtcOptionalQueryParam": { + "name": "EndTimeUtc", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The Windows file time representing the end time of the time range for which a Chaos report is to be generated. Consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details." + }, + "ApplicationNameRequiredQueryParam": { + "name": "ApplicationName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of application to create from compose file. This is typically the full name of the application including 'fabric:' URI scheme." + }, + "CreateComposeDeploymentRequiredBodyParam": { + "name": "CreateComposeDeploymentDescription", + "in": "body", + "description": "Describes the compose deployment that needs to be created.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/CreateComposeDeploymentDescription" + } + }, + "PasswordEncryptedOptionalQueryParam": { + "name": "PasswordEncrypted", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "description": "Indicates that supplied container repository password is encrypted." + }, + "RepositoryPasswordOptionalQueryParam": { + "name": "RepositoryPassword", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The password for supplied username to connect to container repository." + }, + "RepositoryUserNameOptionalQueryParam": { + "name": "RepositoryUserName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The user name to connect to container repository." + }, + "MaxResultsOptionalQueryParam": { + "name": "MaxResults", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "format": "int64", + "minimum": 0, + "default": 0, + "required": false, + "description": "The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message." + }, + "ApplicationDescriptionRequiredBodyParam": { + "name": "ApplicationDescription", + "in": "body", + "description": "Description for creating an application.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationDescription" + } + }, + "ServiceDescriptionRequiredBodyParam": { + "name": "ServiceDescription", + "in": "body", + "description": "The information necessary to create a service.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ServiceDescription" + } + }, + "ServiceUpdateDescriptionRequiredBodyParam": { + "name": "ServiceUpdateDescription", + "in": "body", + "description": "The information necessary to update a service.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ServiceUpdateDescription" + } + }, + "ImageStoreCopyDescriptionRequiredBodyParam": { + "name": "ImageStoreCopyDescription", + "in": "body", + "description": "Describes the copy description for the image store.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ImageStoreCopyDescription" + } + }, + "CodePackageNameOptionalQueryParam": { + "name": "CodePackageName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster." + }, + "RestartDeployedCodePackageRequiredBodyParam": { + "name": "RestartDeployedCodePackageDescription", + "in": "body", + "description": "Describes the deployed code package on Service Fabric node to restart.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RestartDeployedCodePackageDescription" + } + }, + "PartitionsHealthStateFilterOptionalQueryParam": { + "name": "PartitionsHealthStateFilter", + "description": "Allows filtering of the partitions health state objects returned in the result of service health query based on their health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly partitions that match the filter are returned. All partitions are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these value\nobtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of partitions with HealthState value of OK (2) and Warning (4) will be returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 0 + }, + "DeployedServiceType_ServiceManifestNameOptionalQueryParam": { + "name": "ServiceManifestName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The name of the service manifest to filter the list of deployed service type information. If specified, the response will only contain the information about service types that are defined in this service manifest." + }, + "ServiceTypeNameRequiredPathParam": { + "name": "serviceTypeName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "Specifies the name of a Service Fabric service type." + }, + "ImageStoreContentPathRequiredPathParam": { + "name": "contentPath", + "in": "path", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "Relative path to file or folder in the image store from its root." + }, + "PartitionKeyTypeOptionalQueryParam": { + "name": "PartitionKeyType", + "description": "Key type for the partition. This parameter is required if the partition scheme for the service is Int64Range or Named. The possible values are following.\n- None (1) - Indicates that the PartitionKeyValue parameter is not specified. This is valid for the partitions with partitioning scheme as Singleton. This is the default value. The value is 1.\n- Int64Range (2) - Indicates that the PartitionKeyValue parameter is an int64 partition key. This is valid for the partitions with partitioning scheme as Int64Range. The value is 2.\n- Named (3) - Indicates that the PartitionKeyValue parameter is a name of the partition. This is valid for the partitions with partitioning scheme as Named. The value is 3.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false + }, + "PartitionKeyValueOptionalQueryParam": { + "name": "PartitionKeyValue", + "in": "query", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": false, + "description": "Partition key. This is required if the partition scheme for the service is Int64Range or Named. \nThis is not the partition ID, but rather, either the integer key value, or the name of the partition ID.\nFor example, if your service is using ranged partitions from 0 to 10, then they PartitionKeyValue would be an\ninteger in that range. Query service description to see the range or name." + }, + "PreviousRspVersionOptionalQueryParam": { + "name": "PreviousRspVersion", + "in": "query", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": false, + "description": "The value in the Version field of the response that was received previously. This is required if the user knows that the result that was gotten previously is stale." + }, + "DataLossModeRequiredQueryParam": { + "name": "DataLossMode", + "description": "This enum is passed to the StartDataLoss API to indicate what type of data loss to induce.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "Invalid", + "PartialDataLoss", + "FullDataLoss" + ], + "required": true, + "x-ms-enum": { + "name": "DataLossMode", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Reserved. Do not pass into API." + }, + { + "value": "PartialDataLoss", + "description": "PartialDataLoss option will cause a quorum of replicas to go down, triggering an OnDataLoss event in the system for the given partition." + }, + { + "value": "FullDataLoss", + "description": "FullDataLoss option will drop all the replicas which means that all the data will be lost." + } + ] + } + }, + "FaultOperationIdRequiredQueryParam": { + "name": "OperationId", + "description": "A GUID that identifies a call of this API. This is passed into the corresponding GetProgress API", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "format": "uuid", + "required": true + }, + "ForceRequiredQueryParam": { + "name": "Force", + "description": "Indicates whether to gracefully roll back and clean up internal system state modified by executing the user-induced operation.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": true, + "default": false + }, + "NodeInstanceIdRequiredQueryParam": { + "name": "NodeInstanceId", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The node instance ID of the target node. This can be determined through GetNodeInfo API." + }, + "NodeTransitionTypeRequiredQueryParam": { + "name": "NodeTransitionType", + "description": "Indicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "Invalid", + "Start", + "Stop" + ], + "required": true, + "x-ms-enum": { + "name": "NodeTransitionType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Reserved. Do not pass into API." + }, + { + "value": "Start", + "description": "Transition a stopped node to up." + }, + { + "value": "Stop", + "description": "Transition an up node to stopped." + } + ] + } + }, + "QuorumLossDurationRequiredQueryParam": { + "name": "QuorumLossDuration", + "description": "The amount of time for which the partition will be kept in quorum loss. This must be specified in seconds.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": true + }, + "QuorumLossModeRequiredQueryParam": { + "name": "QuorumLossMode", + "description": "This enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "Invalid", + "QuorumReplicas", + "AllReplicas" + ], + "required": true, + "x-ms-enum": { + "name": "QuorumLossMode", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Reserved. Do not pass into API." + }, + { + "value": "QuorumReplicas", + "description": "Partial Quorum loss mode : Minimum number of replicas for a partition will be down that will cause a quorum loss." + }, + { + "value": "AllReplicas" + } + ] + } + }, + "RestartPartitionModeRequiredQueryParam": { + "name": "RestartPartitionMode", + "description": "Describe which partitions to restart.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "enum": [ + "Invalid", + "AllReplicasOrInstances", + "OnlyActiveSecondaries" + ], + "required": true, + "x-ms-enum": { + "name": "RestartPartitionMode", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Reserved. Do not pass into API." + }, + { + "value": "AllReplicasOrInstances", + "description": "All replicas or instances in the partition are restarted at once." + }, + { + "value": "OnlyActiveSecondaries", + "description": "Only the secondary replicas are restarted." + } + ] + } + }, + "StateFilterRequiredQueryParam": { + "name": "StateFilter", + "description": "Used to filter on OperationState's for user-induced operations.\n\n- 65535 - select All\n- 1 - select Running\n- 2 - select RollingBack\n- 8 - select Completed\n- 16 - select Faulted\n- 32 - select Cancelled\n- 64 - select ForceCancelled", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": true, + "default": 65535 + }, + "StopDurationInSecondsRequiredQueryParam": { + "name": "StopDurationInSeconds", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "format": "int32", + "minimum": 0, + "required": true, + "description": "The duration, in seconds, to keep the node stopped. The minimum value is 600, the maximum is 14400. After this time expires, the node will automatically come back up." + }, + "TypeFilterRequiredQueryParam": { + "name": "TypeFilter", + "description": "Used to filter on OperationType for user-induced operations.\n\n- 65535 - select all\n- 1 - select PartitionDataLoss.\n- 2 - select PartitionQuorumLoss.\n- 4 - select PartitionRestart.\n- 8 - select NodeTransition.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": true, + "default": 65535 + }, + "DeployServicePackageToNodeRequiredBodyParam": { + "name": "DeployServicePackageToNodeDescription", + "in": "body", + "description": "Describes information for deploying a service package to a Service Fabric node.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/DeployServicePackageToNodeDescription" + } + }, + "ResumeApplicationUpgradeDescriptionRequiredBodyParam": { + "name": "ResumeApplicationUpgradeDescription", + "in": "body", + "description": "Describes the parameters for resuming an application upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ResumeApplicationUpgradeDescription" + } + }, + "ApplicationUpgradeUpdateDescriptionRequiredBodyParam": { + "name": "ApplicationUpgradeUpdateDescription", + "in": "body", + "description": "Parameters for updating an existing application upgrade.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationUpgradeUpdateDescription" + } + }, + "TimeoutOptionalQueryParam": { + "name": "timeout", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "format": "int64", + "required": false, + "minimum": 1, + "maximum": 4294967295, + "default": 60, + "description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds." + }, + "NameDescriptionRequiredBodyParam": { + "name": "NameDescription", + "in": "body", + "description": "Describes the Service Fabric name to be created.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/NameDescription" + } + }, + "NameIdRequiredPathParam": { + "name": "nameId", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The Service Fabric name, without the 'fabric:' URI scheme." + }, + "RecursiveOptionalQueryParam": { + "name": "Recursive", + "description": "Allows specifying that the search performed should be recursive.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false + }, + "IncludeValuesOptionalQueryParam": { + "name": "IncludeValues", + "description": "Allows specifying whether to include the values of the properties returned. True if values should be returned with the metadata; False to return only property metadata.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false + }, + "PropertyDescriptionRequiredBodyParam": { + "name": "PropertyDescription", + "in": "body", + "description": "Describes the Service Fabric property to be created.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/PropertyDescription" + } + }, + "PropertyNameRequiredQueryParam": { + "name": "PropertyName", + "description": "Specifies the name of the property to get.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true + }, + "PropertyBatchDescriptionListRequiredBodyParam": { + "name": "PropertyBatchDescriptionList", + "in": "body", + "description": "Describes the property batch operations to be submitted.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/PropertyBatchDescriptionList" + } + }, + "ImmediateOptionalQueryParam": { + "name": "Immediate", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false, + "description": "A flag that indicates whether the report should be sent immediately.\nA health report is sent to a Service Fabric gateway Application, which forwards to the health store.\nIf Immediate is set to true, the report is sent immediately from HTTP Gateway to the health store, regardless of the fabric client settings that the HTTP Gateway Application is using.\nThis is useful for critical reports that should be sent as soon as possible.\nDepending on timing and other conditions, sending the report may still fail, for example if the HTTP Gateway is closed or the message doesn't reach the Gateway.\nIf Immediate is set to false, the report is sent based on the health client settings from the HTTP Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration.\nThis is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing.\nBy default, reports are not sent immediately." + }, + "ExcludeHealthStatisticsOptionalQueryParam": { + "name": "ExcludeHealthStatistics", + "description": "Indicates whether the health statistics should be returned as part of the query result. False by default.\nThe statistics show the number of children entities in health state Ok, Warning, and Error.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false + }, + "IncludeSystemApplicationHealthStatisticsOptionalQueryParam": { + "name": "IncludeSystemApplicationHealthStatistics", + "description": "Indicates whether the health statistics should include the fabric:/System application health statistics. False by default.\nIf IncludeSystemApplicationHealthStatistics is set to true, the health statistics include the entities that belong to the fabric:/System application.\nOtherwise, the query result includes health statistics only for user applications.\nThe health statistics must be included in the query result for this parameter to be applied.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false + }, + "IncludeHealthStateOptionalQueryParam": { + "name": "IncludeHealthState", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false, + "description": "Include the health state of an entity.\nIf this parameter is false or not specified, then the health state returned is \"Unknown\".\nWhen set to true, the query goes in parallel to the node and the health system service before the results are merged.\nAs a result, the query is more expensive and may take a longer time." + }, + "BackupPolicyDescriptionRequiredBodyParam": { + "name": "BackupPolicyDescription", + "in": "body", + "required": true, + "x-ms-parameter-location": "method", + "description": "Describes the backup policy.", + "schema": { + "$ref": "#/definitions/BackupPolicyDescription" + } + }, + "DisableBackupDescriptionOptionalBodyParam": { + "name": "DisableBackupDescription", + "in": "body", + "description": "Specifies the parameters to disable backup for any backup entity.", + "required": false, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/DisableBackupDescription" + } + }, + "BackupPolicyNameRequiredPathParam": { + "name": "backupPolicyName", + "in": "path", + "description": "The name of the backup policy.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "EnableBackupDescriptionRequiredBodyParam": { + "name": "EnableBackupDescription", + "in": "body", + "description": "Specifies the parameters for enabling backup.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/EnableBackupDescription" + } + }, + "RestorePartitionDescriptionRequiredBodyParam": { + "name": "RestorePartitionDescription", + "in": "body", + "description": "Describes the parameters to restore the partition.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RestorePartitionDescription" + } + }, + "RestoreTimeoutOptionalQueryParam": { + "name": "RestoreTimeout", + "description": "Specifies the maximum amount of time to wait, in minutes, for the restore operation to complete. Post that, the operation returns back with timeout error. However, in certain corner cases it could be that the restore operation goes through even though it completes with timeout. In case of timeout error, its recommended to invoke this operation again with a greater timeout value. the default value for the same is 10 minutes.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "default": 10 + }, + "BackupPartitionDescriptionOptionalBodyParam": { + "name": "BackupPartitionDescription", + "in": "body", + "required": false, + "x-ms-parameter-location": "method", + "description": "Describes the parameters to backup the partition now. If not present, backup operation uses default parameters from the backup policy current associated with this partition.", + "schema": { + "$ref": "#/definitions/BackupPartitionDescription" + } + }, + "BackupTimeoutOptionalQueryParam": { + "name": "BackupTimeout", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false, + "description": "Specifies the maximum amount of time, in minutes, to wait for the backup operation to complete. Post that, the operation completes with timeout error. However, in certain corner cases it could be that though the operation returns back timeout, the backup actually goes through. In case of timeout error, its recommended to invoke this operation again with a greater timeout value. The default value for the same is 10 minutes.", + "default": 10 + }, + "LatestOptionalQueryParam": { + "name": "Latest", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "description": "Specifies whether to get only the most recent backup available for a partition for the specified time range.", + "required": false, + "default": false + }, + "StartDateTimeFilterOptionalQueryParam": { + "name": "StartDateTimeFilter", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "format": "date-time", + "required": false, + "description": "Specify the start date time from which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, all backups from the beginning are enumerated." + }, + "EndDateTimeFilterOptionalQueryParam": { + "name": "EndDateTimeFilter", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "format": "date-time", + "required": false, + "description": "Specify the end date time till which to enumerate backups, in datetime format. The date time must be specified in ISO8601 format. This is an optional parameter. If not specified, enumeration is done till the most recent backup." + }, + "GetBackupByStorageQueryDescriptionRequiredBodyParam": { + "name": "GetBackupByStorageQueryDescription", + "in": "body", + "required": true, + "x-ms-parameter-location": "method", + "description": "Describes the filters and backup storage details to be used for enumerating backups.", + "schema": { + "$ref": "#/definitions/GetBackupByStorageQueryDescription" + } + }, + "RepairTaskApproveDescriptionRequiredBodyParam": { + "name": "RepairTaskApproveDescription", + "in": "body", + "description": "Describes the repair task to be approved.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RepairTaskApproveDescription" + } + }, + "RepairTaskCancelDescriptionRequiredBodyParam": { + "name": "RepairTaskCancelDescription", + "in": "body", + "description": "Describes the repair task to be cancelled.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RepairTaskCancelDescription" + } + }, + "RepairTaskDeleteDescriptionRequiredBodyParam": { + "name": "RepairTaskDeleteDescription", + "in": "body", + "description": "Describes the repair task to be deleted.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RepairTaskDeleteDescription" + } + }, + "RepairTaskExecutorFilterOptionalQueryParam": { + "name": "ExecutorFilter", + "description": "The name of the repair executor whose claimed tasks should be included in the list.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false + }, + "RepairTaskIdFilterOptionalQueryParam": { + "name": "TaskIdFilter", + "description": "The repair task ID prefix to be matched.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false + }, + "RepairTaskRequiredBodyParam": { + "name": "RepairTask", + "in": "body", + "description": "Describes the repair task to be created or updated.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/RepairTask" + } + }, + "RepairTaskStateFilterOptionalQueryParam": { + "name": "StateFilter", + "description": "A bitwise-OR of the following values, specifying which task states should be included in the result list.\n\n- 1 - Created\n- 2 - Claimed\n- 4 - Preparing\n- 8 - Approved\n- 16 - Executing\n- 32 - Restoring\n- 64 - Completed", + "in": "query", + "x-ms-parameter-location": "method", + "type": "integer", + "required": false + }, + "RepairTaskUpdateHealthPolicyDescriptionRequiredBodyParam": { + "name": "RepairTaskUpdateHealthPolicyDescription", + "in": "body", + "description": "Describes the repair task healthy policy to be updated.", + "x-ms-parameter-location": "method", + "required": true, + "schema": { + "$ref": "#/definitions/RepairTaskUpdateHealthPolicyDescription" + } + }, + "UploadSessionIdRequiredQueryParam": { + "name": "session-id", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "format": "uuid", + "required": true, + "description": "A GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed." + }, + "UploadFileChunkContentRangeHeaderParam": { + "name": "Content-Range", + "in": "header", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "When uploading file chunks to the image store, the Content-Range header field need to be configured and sent with a request. The format should looks like \"bytes {First-Byte-Position}-{Last-Byte-Position}/{File-Length}\". For example, Content-Range:bytes 300-5000/20000 indicates that user is sending bytes 300 through 5,000 and the total file length is 20,000 bytes." + }, + "ChaosScheduleRequiredBodyParam": { + "name": "ChaosSchedule", + "in": "body", + "description": "Describes the schedule used by Chaos.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ChaosScheduleDescription" + } + }, + "StartTimeUtcRequiredQueryParam": { + "name": "StartTimeUtc", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ." + }, + "EndTimeUtcRequiredQueryParam": { + "name": "EndTimeUtc", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ." + }, + "EventsTypesFilterOptionalQueryParam": { + "name": "EventsTypesFilter", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "This is a comma separated string specifying the types of FabricEvents that should only be included in the response." + }, + "ExcludeAnalysisEventsOptionalQueryParam": { + "name": "ExcludeAnalysisEvents", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "description": "This param disables the retrieval of AnalysisEvents if true is passed." + }, + "SkipCorrelationLookupOptionalQueryParam": { + "name": "SkipCorrelationLookup", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "description": "This param disables the search of CorrelatedEvents information if true is passed. otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated." + }, + "EventInstanceIdRequiredPathParam": { + "name": "eventInstanceId", + "in": "path", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The EventInstanceId." + }, + "PreviousOptionalQueryParam": { + "name": "Previous", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "description": "Specifies whether to get container logs from exited/dead containers of the code package instance.", + "required": false, + "default": false + }, + "IgnoreConstraintsOptionalParam": { + "name": "IgnoreConstraints", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false, + "description": "Ignore constraints when moving a replica. If this parameter is not specified, all constraints are honored." + }, + "NodeNameOptionalParam": { + "name": "NodeName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The name of the node." + }, + "VerboseServicePlacementHealthReportingParam": { + "name": "Enabled", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": true, + "description": "The verbosity of service placement health reporting." + }, + "NewNodeNameOptionalParam": { + "name": "NewNodeName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": false, + "description": "The name of the target node for secondary replica move. If not specified, replica is moved to a random node." + }, + "CurrentNodeNameRequiredParam": { + "name": "CurrentNodeName", + "in": "query", + "x-ms-parameter-location": "method", + "type": "string", + "required": true, + "description": "The name of the source node for secondary replica move." + }, + "OnlyQueryPrimariesOptionalQueryParam": { + "name": "OnlyQueryPrimaries", + "description": "Indicates that unplaced replica information will be queries only for primary replicas.", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "required": false, + "default": false + }, + "SecretResourceDescriptionRequiredBodyParam": { + "name": "secretResourceDescription", + "in": "body", + "description": "Description for creating a secret resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/SecretResourceDescription" + } + }, + "SecretResourceNameRequiredPathParam": { + "name": "secretResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The name of the secret resource." + }, + "SecretValueResourceDescriptionRequiredBodyParam": { + "name": "secretValueResourceDescription", + "in": "body", + "description": "Description for creating a value of a secret resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/SecretValueResourceDescription" + } + }, + "SecretValueResourceNameRequiredPathParam": { + "name": "secretValueResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The name of the secret resource value which is typically the version identifier for the value." + }, + "VolumeResourceDescriptionRequiredBodyParam": { + "name": "volumeResourceDescription", + "in": "body", + "description": "Description for creating a Volume resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/VolumeResourceDescription" + } + }, + "VolumeResourceNameRequiredPathParam": { + "name": "volumeResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the volume." + }, + "NetworkResourceDescriptionRequiredBodyParam": { + "name": "networkResourceDescription", + "in": "body", + "description": "Description for creating a Network resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/NetworkResourceDescription" + } + }, + "NetworkResourceNameRequiredPathParam": { + "name": "networkResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the network." + }, + "ApplicationResourceDescriptionRequiredBodyParam": { + "name": "applicationResourceDescription", + "in": "body", + "description": "Description for creating a Application resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/ApplicationResourceDescription" + } + }, + "ApplicationResourceNameRequiredPathParam": { + "name": "applicationResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the application." + }, + "ServiceResourceNameRequiredPathParam": { + "name": "serviceResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the service." + }, + "ReplicaNameRequiredPathParam": { + "name": "replicaName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "Service Fabric replica name." + }, + "GatewayResourceDescriptionRequiredBodyParam": { + "name": "gatewayResourceDescription", + "in": "body", + "description": "Description for creating a Gateway resource.", + "required": true, + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/GatewayResourceDescription" + } + }, + "GatewayResourceNameRequiredPathParam": { + "name": "gatewayResourceName", + "in": "path", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "required": true, + "description": "The identity of the gateway." + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/data-plane/readme.go.md b/specification/servicefabric/data-plane/readme.go.md index d3ea191da6f9..1a8e1c6e5597 100644 --- a/specification/servicefabric/data-plane/readme.go.md +++ b/specification/servicefabric/data-plane/readme.go.md @@ -16,6 +16,7 @@ batch: - tag: "6.2" - tag: "6.3" - tag: "6.4" + - tag: "6.5" ``` ### Tag: 6.2 and go @@ -41,4 +42,12 @@ These settings apply only when `--tag=6.4 --go` is specified on the command line ``` yaml $(tag) == '6.4' && $(go) output-folder: $(go-sdk-folder)/services/$(namespace)/6.4/$(namespace) +``` + +### Tag: 6.5 and go + +These settings apply only when `--tag=6.5 --go` is specified on the command line. + +``` yaml $(tag) == '6.5' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/6.5/$(namespace) ``` \ No newline at end of file diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md index c1d4f171e98a..1e5f65fd3552 100644 --- a/specification/servicefabric/data-plane/readme.md +++ b/specification/servicefabric/data-plane/readme.md @@ -25,7 +25,7 @@ These are the global settings for the ServiceFabricClient API. ``` yaml openapi-type: data-plane -tag: '6.4' +tag: '6.5' ``` ### Suppression @@ -95,6 +95,17 @@ input-file: ``` +### Tag: 6.5 + +These settings apply only when `--tag=6.5` is specified on the command line. + +``` yaml $(tag) == '6.5' +input-file: +- Microsoft.ServiceFabric/stable/6.5/servicefabric.json + +``` + + --- # Code Generation @@ -125,7 +136,7 @@ python: payload-flattening-threshold: 2 namespace: azure.servicefabric package-name: azure-servicefabric - package-version: 6.4.0.0 + package-version: 6.5.0.0 add-credentials: true clear-output-folder: true ``` From 07dbabd870d1b783f48da3f3d2fde6c142f5daf2 Mon Sep 17 00:00:00 2001 From: BrianBlum Date: Fri, 14 Jun 2019 08:17:03 -0700 Subject: [PATCH 034/495] [Hub Generated] Review request for Microsoft.Media to add version preview/2019-05-01-preview and stable/2018-07-01 (#6147) * Adds base for updating Microsoft.Media from version stable/2018-07-01 to version 2019-05-01-preview * Updates readme * Updates API version in new specs and examples * Initial 2019-05-01-preview checkin Only steaming service has new API. * Fix typos. * Latest transform update test. * Adds suppression to readme * Adds suppression to readme * Add a line feed on last line of most files. * Remove extra line feeed at the end of example file. * Update examples * Add 201 response for content-key-policies-create-playready-open.json * Fix attribute casing and properties for examples. * Take latest generated streaming-locators-create-secure-userDefinedContentKeys.json * Update liveevent examples - remove readonly properties on PUT * Update streamingendpoint examples - remove readonly properties on PUT * Lower presentationWindowDuration. Set to max valued supported by code rather than long max. * Fix bad package tag update * Another typo - property misspelled * Fix spelling of specified. --- .../2019-05-01-preview/AccountFilters.json | 549 ++++ .../preview/2019-05-01-preview/Accounts.json | 923 +++++++ .../AssetsAndAssetFilters.json | 1273 +++++++++ .../preview/2019-05-01-preview/Common.json | 80 + .../ContentKeyPolicies.json | 1168 ++++++++ .../preview/2019-05-01-preview/Encoding.json | 2401 +++++++++++++++++ ...StreamingPoliciesAndStreamingLocators.json | 1289 +++++++++ .../examples/accountFilters-create.json | 171 ++ .../examples/accountFilters-delete.json | 13 + .../examples/accountFilters-get-by-name.json | 56 + .../examples/accountFilters-list-all.json | 111 + .../examples/accountFilters-update.json | 81 + .../accounts-check-name-availability.json | 20 + .../examples/accounts-create.json | 67 + .../examples/accounts-delete.json | 11 + .../examples/accounts-get-by-name.json | 31 + .../examples/accounts-list-all-accounts.json | 53 + .../accounts-subscription-get-by-name.json | 31 + ...counts-subscription-list-all-accounts.json | 72 + .../examples/accounts-sync-storage-keys.json | 14 + .../examples/accounts-update.json | 35 + .../examples/assetFilters-create.json | 172 ++ .../examples/assetFilters-delete.json | 14 + .../examples/assetFilters-get-by-name.json | 68 + .../examples/assetFilters-list-all.json | 131 + .../examples/assetFilters-update.json | 82 + .../examples/assets-create.json | 49 + .../examples/assets-delete.json | 13 + .../examples/assets-get-by-name.json | 28 + .../examples/assets-get-encryption-keys.json | 33 + .../examples/assets-list-all.json | 101 + .../examples/assets-list-by-date.json | 102 + .../examples/assets-list-in-date-range.json | 60 + .../examples/assets-list-sas-urls.json | 23 + .../assets-list-streaming-locators.json | 33 + .../examples/assets-update.json | 32 + ...-key-policies-create-multiple-options.json | 134 + ...ntent-key-policies-create-nodrm-token.json | 102 + ...nt-key-policies-create-playready-open.json | 132 + ...nt-key-policies-create-widevine-token.json | 124 + .../examples/content-key-policies-delete.json | 13 + .../content-key-policies-get-by-name.json | 63 + ...content-key-policies-get-with-secrets.json | 58 + .../content-key-policies-list-all.json | 165 ++ ...ent-key-policies-list-by-lastModified.json | 144 + ...ntent-key-policies-list-in-date-range.json | 16 + .../examples/content-key-policies-update.json | 52 + .../examples/jobs-cancel.json | 13 + .../examples/jobs-create.json | 61 + .../examples/jobs-delete.json | 14 + .../examples/jobs-get-by-name.json | 46 + .../jobs-list-all-filter-by-created.json | 81 + .../jobs-list-all-filter-by-lastmodified.json | 81 + ...obs-list-all-filter-by-name-and-state.json | 49 + .../jobs-list-all-filter-by-name.json | 81 + .../jobs-list-all-filter-by-state-eq.json | 80 + .../jobs-list-all-filter-by-state-ne.json | 80 + .../examples/jobs-list-all.json | 110 + .../examples/jobs-update.json | 52 + .../examples/liveevent-create.json | 139 + .../examples/liveevent-delete.json | 62 + .../examples/liveevent-list-all.json | 75 + .../examples/liveevent-list-by-name.json | 72 + .../examples/liveevent-reset.json | 13 + .../examples/liveevent-start.json | 13 + .../examples/liveevent-stop.json | 16 + .../examples/liveevent-update.json | 134 + .../examples/liveoutput-create.json | 65 + .../examples/liveoutput-delete.json | 15 + .../examples/liveoutput-list-all.json | 36 + .../examples/liveoutput-list-by-name.json | 34 + .../examples/operations-list-all.json | 589 ++++ .../streaming-locators-create-clear.json | 33 + ...-create-secure-userDefinedContentKeys.json | 70 + .../streaming-locators-create-secure.json | 56 + .../examples/streaming-locators-delete.json | 13 + .../streaming-locators-get-by-name.json | 28 + .../streaming-locators-list-content-keys.json | 41 + ...ors-list-paths-streaming-and-download.json | 50 + ...ng-locators-list-paths-streaming-only.json | 72 + .../examples/streaming-locators-list.json | 42 + .../streaming-policies-create-clear.json | 41 + ...cies-create-commonEncryptionCbcs-only.json | 67 + ...cies-create-commonEncryptionCenc-only.json | 94 + ...licies-create-envelopeEncryption-only.json | 57 + ...ming-policies-create-secure-streaming.json | 164 ++ .../examples/streaming-policies-delete.json | 13 + .../examples/streaming-policies-list.json | 211 ++ .../streaming-policy-get-by-name.json | 30 + .../examples/streamingendpoint-create.json | 154 ++ .../examples/streamingendpoint-delete.json | 44 + .../examples/streamingendpoint-list-all.json | 65 + .../streamingendpoint-list-by-name.json | 40 + .../examples/streamingendpoint-scale.json | 16 + .../examples/streamingendpoint-start.json | 13 + .../examples/streamingendpoint-stop.json | 13 + .../examples/streamingendpoint-update.json | 79 + .../examples/transforms-create.json | 68 + .../examples/transforms-delete.json | 13 + .../examples/transforms-get-by-name.json | 34 + ...transforms-list-all-filter-by-created.json | 38 + ...forms-list-all-filter-by-lastmodified.json | 38 + .../transforms-list-all-filter-by-name.json | 66 + .../examples/transforms-list-all.json | 64 + .../examples/transforms-update.json | 47 + .../2019-05-01-preview/streamingservice.json | 1839 +++++++++++++ .../mediaservices/resource-manager/readme.md | 23 +- 107 files changed, 16138 insertions(+), 2 deletions(-) create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json create mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json new file mode 100644 index 000000000000..47d6c3492b06 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json @@ -0,0 +1,549 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "PresentationTimeRange": { + "properties": { + "startTimestamp": { + "type": "integer", + "format": "int64", + "description": "The absolute start time boundary." + }, + "endTimestamp": { + "type": "integer", + "format": "int64", + "description": "The absolute end time boundary." + }, + "presentationWindowDuration": { + "type": "integer", + "format": "int64", + "description": "The relative to end sliding window." + }, + "liveBackoffDuration": { + "type": "integer", + "format": "int64", + "description": "The relative to end right edge." + }, + "timescale": { + "type": "integer", + "format": "int64", + "description": "The time scale of time stamps." + }, + "forceEndTimestamp": { + "type": "boolean", + "description": "The indicator of forcing existing of end time stamp." + } + }, + "type": "object", + "description": "The presentation time range, this is asset related and not recommended for Account Filter." + }, + "FilterTrackPropertyCondition": { + "properties": { + "property": { + "type": "string", + "enum": [ + "Unknown", + "Type", + "Name", + "Language", + "FourCC", + "Bitrate" + ], + "x-ms-enum": { + "name": "FilterTrackPropertyType", + "values": [ + { + "value": "Unknown", + "description": "The unknown track property type." + }, + { + "value": "Type", + "description": "The type." + }, + { + "value": "Name", + "description": "The name." + }, + { + "value": "Language", + "description": "The language." + }, + { + "value": "FourCC", + "description": "The fourCC." + }, + { + "value": "Bitrate", + "description": "The bitrate." + } + ], + "modelAsString": true + }, + "description": "The track property type." + }, + "value": { + "type": "string", + "description": "The track property value." + }, + "operation": { + "type": "string", + "enum": [ + "Equal", + "NotEqual" + ], + "x-ms-enum": { + "name": "FilterTrackPropertyCompareOperation", + "values": [ + { + "value": "Equal", + "description": "The equal operation." + }, + { + "value": "NotEqual", + "description": "The not equal operation." + } + ], + "modelAsString": true + }, + "description": "The track property condition operation." + } + }, + "type": "object", + "required": [ + "property", + "value", + "operation" + ], + "description": "The class to specify one track property condition." + }, + "FirstQuality": { + "properties": { + "bitrate": { + "type": "integer", + "format": "int32", + "description": "The first quality bitrate." + } + }, + "type": "object", + "required": [ + "bitrate" + ], + "description": "Filter First Quality" + }, + "FilterTrackSelection": { + "properties": { + "trackSelections": { + "type": "array", + "items": { + "$ref": "#/definitions/FilterTrackPropertyCondition" + }, + "description": "The track selections." + } + }, + "type": "object", + "required": [ + "trackSelections" + ], + "description": "Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation." + }, + "MediaFilterProperties": { + "properties": { + "presentationTimeRange": { + "$ref": "#/definitions/PresentationTimeRange", + "description": "The presentation time range." + }, + "firstQuality": { + "$ref": "#/definitions/FirstQuality", + "description": "The first quality." + }, + "tracks": { + "type": "array", + "items": { + "$ref": "#/definitions/FilterTrackSelection" + }, + "description": "The tracks selection conditions." + } + }, + "type": "object", + "description": "The Media Filter properties." + }, + "AccountFilter": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/MediaFilterProperties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "An Account Filter." + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "AccountFilterCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountFilter" + }, + "description": "A collection of AccountFilter items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of AccountFilter items." + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters": { + "get": { + "summary": "List Account Filters", + "description": "List Account Filters in the Media Services account.", + "operationId": "AccountFilters_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AccountFilterCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all Account Filters": { + "$ref": "examples/accountFilters-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}": { + "get": { + "summary": "Get an Account Filter.", + "description": "Get the details of an Account Filter in the Media Services account.", + "operationId": "AccountFilters_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AccountFilter" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Account Filter name" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get an Account Filter by name": { + "$ref": "examples/accountFilters-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or update an Account Filter", + "description": "Creates or updates an Account Filter in the Media Services account.", + "operationId": "AccountFilters_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AccountFilter" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AccountFilter" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Account Filter name" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AccountFilter" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create an Account Filter": { + "$ref": "examples/accountFilters-create.json" + } + } + }, + "delete": { + "summary": "Delete an Account Filter.", + "description": "Deletes an Account Filter in the Media Services account.", + "operationId": "AccountFilters_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Account Filter name" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete an Account Filter": { + "$ref": "examples/accountFilters-delete.json" + } + } + }, + "patch": { + "summary": "Update an Account Filter", + "description": "Updates an existing Account Filter in the Media Services account.", + "operationId": "AccountFilters_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AccountFilter" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Account Filter name" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AccountFilter" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update an Account Filter": { + "$ref": "examples/accountFilters-update.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json new file mode 100644 index 000000000000..ed122a0cce52 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json @@ -0,0 +1,923 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "Provider": { + "description": "A resource provider.", + "properties": { + "providerName": { + "description": "The provider name.", + "type": "string" + } + }, + "type": "object", + "required": [ + "providerName" + ] + }, + "OperationDisplay": { + "properties": { + "provider": { + "type": "string", + "description": "The service provider." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "description": "The operation type." + }, + "description": { + "type": "string", + "description": "The operation description." + } + }, + "type": "object", + "description": "Operation details." + }, + "MetricDimension": { + "properties": { + "name": { + "type": "string", + "description": "The metric dimension name.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The display name for the dimension.", + "readOnly": true + }, + "toBeExportedForShoebox": { + "type": "boolean", + "description": "Whether to export metric to shoebox.", + "readOnly": true, + "x-nullable": false + } + }, + "type": "object", + "description": "A metric dimension." + }, + "Metric": { + "properties": { + "name": { + "type": "string", + "description": "The metric name.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The metric display name.", + "readOnly": true + }, + "displayDescription": { + "type": "string", + "description": "The metric display description.", + "readOnly": true + }, + "unit": { + "type": "string", + "enum": [ + "Bytes", + "Count", + "Milliseconds" + ], + "x-ms-enum": { + "name": "MetricUnit", + "values": [ + { + "value": "Bytes", + "description": "The number of bytes." + }, + { + "value": "Count", + "description": "The count." + }, + { + "value": "Milliseconds", + "description": "The number of milliseconds." + } + ], + "modelAsString": true + }, + "description": "The metric unit", + "readOnly": true, + "x-nullable": false + }, + "aggregationType": { + "type": "string", + "enum": [ + "Average", + "Count", + "Total" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "values": [ + { + "value": "Average", + "description": "The average." + }, + { + "value": "Count", + "description": "The count of a number of items, usually requests." + }, + { + "value": "Total", + "description": "The sum." + } + ], + "modelAsString": true + }, + "description": "The metric aggregation type", + "readOnly": true, + "x-nullable": false + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricDimension" + }, + "description": "The metric dimensions.", + "readOnly": true + } + }, + "type": "object", + "description": "A metric emitted by service." + }, + "ServiceSpecification": { + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/Metric" + }, + "description": "List of metric specifications.", + "readOnly": true + } + }, + "type": "object", + "description": "The service metric specifications." + }, + "MetricProperties": { + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "The service specifications.", + "readOnly": true + } + }, + "type": "object", + "description": "Metric properties." + }, + "Operation": { + "description": "An operation.", + "properties": { + "name": { + "type": "string", + "description": "The operation name." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "The operation display name." + }, + "origin": { + "type": "string", + "description": "Origin of the operation." + }, + "properties": { + "$ref": "#/definitions/MetricProperties", + "description": "Operation properties format." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "Location": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "EntityNameAvailabilityCheckOutput": { + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Specifies if the name is available." + }, + "reason": { + "type": "string", + "description": "Specifies the reason if the name is not available." + }, + "message": { + "type": "string", + "description": "Specifies the detailed reason if the name is not available." + } + }, + "type": "object", + "required": [ + "nameAvailable" + ], + "description": "The response from the check name availability request." + }, + "StorageAccount": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts." + }, + "type": { + "type": "string", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "values": [ + { + "value": "Primary", + "description": "The primary storage account for the Media Services account." + }, + { + "value": "Secondary", + "description": "A secondary storage account for the Media Services account." + } + ], + "modelAsString": true + }, + "description": "The type of the storage account." + } + }, + "type": "object", + "required": [ + "type" + ], + "description": "The storage account details." + }, + "SyncStorageKeysInput": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the storage account resource." + } + }, + "type": "object", + "description": "The input to the sync storage keys request." + }, + "MediaServiceProperties": { + "properties": { + "mediaServiceId": { + "type": "string", + "format": "uuid", + "description": "The Media Services account ID.", + "readOnly": true, + "x-nullable": false + }, + "storageAccounts": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageAccount" + }, + "description": "The storage accounts for this resource." + } + }, + "type": "object", + "description": "Properties of the Media Services account." + }, + "MediaService": { + "description": "A Media Services account.", + "allOf": [ + { + "$ref": "./Common.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/MediaServiceProperties", + "description": "The resource properties.", + "x-ms-client-flatten": true + } + }, + "type": "object" + }, + "SubscriptionMediaService": { + "description": "A Media Services account.", + "allOf": [ + { + "$ref": "./Common.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/MediaServiceProperties", + "description": "The resource properties.", + "x-ms-client-flatten": true + } + }, + "type": "object" + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "OperationCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "A collection of Operation items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of Operation items." + }, + "MediaServiceCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MediaService" + }, + "description": "A collection of MediaService items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of MediaService items." + }, + "CheckNameAvailabilityInput": { + "description": "The input to the check name availability request.", + "properties": { + "name": { + "description": "The account name.", + "type": "string" + }, + "type": { + "description": "The account type. For a Media Services account, this should be 'MediaServices'.", + "type": "string" + } + }, + "type": "object" + }, + "SubscriptionMediaServiceCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SubscriptionMediaService" + }, + "description": "A collection of SubscriptionMediaService items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of SubscriptionMediaService items." + } + }, + "paths": { + "/providers/Microsoft.Media/operations": { + "get": { + "summary": "List Operations", + "description": "Lists all the Media Services operations.", + "operationId": "Operations_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List Operations": { + "$ref": "examples/operations-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices": { + "get": { + "summary": "List Media Services accounts", + "description": "List Media Services accounts in the resource group", + "operationId": "Mediaservices_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MediaServiceCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all Media Services accounts": { + "$ref": "examples/accounts-list-all-accounts.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}": { + "get": { + "summary": "Get a Media Services account", + "description": "Get the details of a Media Services account", + "operationId": "Mediaservices_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MediaService" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Media Services account by name": { + "$ref": "examples/accounts-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or update a Media Services account", + "description": "Creates or updates a Media Services account", + "operationId": "Mediaservices_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MediaService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MediaService" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MediaService" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create a Media Services account": { + "$ref": "examples/accounts-create.json" + } + } + }, + "delete": { + "summary": "Delete a Media Services account.", + "description": "Deletes a Media Services account", + "operationId": "Mediaservices_Delete", + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Media Services account": { + "$ref": "examples/accounts-delete.json" + } + } + }, + "patch": { + "summary": "Update a Media Services account", + "description": "Updates an existing Media Services account", + "operationId": "Mediaservices_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MediaService" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MediaService" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update a Media Services accounts": { + "$ref": "examples/accounts-update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/syncStorageKeys": { + "post": { + "summary": "Synchronizes Storage Account Keys", + "description": "Synchronizes storage account keys for a storage account associated with the Media Service account.", + "operationId": "Mediaservices_SyncStorageKeys", + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SyncStorageKeysInput" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Synchronizes Storage Account Keys": { + "$ref": "examples/accounts-sync-storage-keys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability": { + "post": { + "summary": "Check Name Availability", + "description": "Checks whether the Media Service resource name is available.", + "operationId": "Locations_CheckNameAvailability", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityNameAvailabilityCheckOutput" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Check Name Availability": { + "$ref": "examples/accounts-check-name-availability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices": { + "get": { + "summary": "List Media Services accounts", + "description": "List Media Services accounts in the subscription.", + "operationId": "Mediaservices_ListBySubscription", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SubscriptionMediaServiceCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all Media Services accounts": { + "$ref": "examples/accounts-subscription-list-all-accounts.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices/{accountName}": { + "get": { + "summary": "Get a Media Services account", + "description": "Get the details of a Media Services account", + "operationId": "Mediaservices_GetBySubscription", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SubscriptionMediaService" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "description": "The Media Services account name.", + "name": "accountName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Media Services account by name": { + "$ref": "examples/accounts-subscription-get-by-name.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json new file mode 100644 index 000000000000..d59d4c3a1951 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json @@ -0,0 +1,1273 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "AssetProperties": { + "properties": { + "assetId": { + "type": "string", + "format": "uuid", + "description": "The Asset ID.", + "readOnly": true, + "x-nullable": false + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation date of the Asset.", + "readOnly": true, + "x-nullable": false + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "The last modified date of the Asset.", + "readOnly": true, + "x-nullable": false + }, + "alternateId": { + "type": "string", + "description": "The alternate ID of the Asset." + }, + "description": { + "type": "string", + "description": "The Asset description." + }, + "container": { + "type": "string", + "description": "The name of the asset blob container." + }, + "storageAccountName": { + "type": "string", + "description": "The name of the storage account." + }, + "storageEncryptionFormat": { + "type": "string", + "enum": [ + "None", + "MediaStorageClientEncryption" + ], + "x-ms-enum": { + "name": "AssetStorageEncryptionFormat", + "values": [ + { + "value": "None", + "description": "The Asset does not use client-side storage encryption (this is the only allowed value for new Assets)." + }, + { + "value": "MediaStorageClientEncryption", + "description": "The Asset is encrypted with Media Services client-side encryption." + } + ], + "modelAsString": true + }, + "description": "The Asset encryption format. One of None or MediaStorageEncryption.", + "readOnly": true, + "x-nullable": false + } + }, + "type": "object", + "description": "The Asset properties." + }, + "AssetContainerSas": { + "properties": { + "assetContainerSasUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of Asset container SAS URLs." + } + }, + "type": "object", + "description": "The Asset Storage container SAS URLs." + }, + "AssetFileEncryptionMetadata": { + "properties": { + "initializationVector": { + "type": "string", + "description": "The Asset File initialization vector." + }, + "assetFileName": { + "type": "string", + "description": "The Asset File name." + }, + "assetFileId": { + "type": "string", + "format": "uuid", + "description": "The Asset File Id." + } + }, + "type": "object", + "required": [ + "assetFileId" + ], + "description": "The Asset File Storage encryption metadata." + }, + "StorageEncryptedAssetDecryptionData": { + "properties": { + "key": { + "type": "string", + "format": "byte", + "description": "The Asset File storage encryption key." + }, + "assetFileEncryptionMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetFileEncryptionMetadata" + }, + "description": "Asset File encryption metadata." + } + }, + "type": "object", + "description": "Data needed to decrypt asset files encrypted with legacy storage encryption." + }, + "ListStreamingLocatorsResponse": { + "properties": { + "streamingLocators": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetStreamingLocator" + }, + "description": "The list of Streaming Locators.", + "readOnly": true + } + }, + "type": "object", + "description": "The Streaming Locators associated with this Asset." + }, + "AssetStreamingLocator": { + "properties": { + "name": { + "type": "string", + "description": "Streaming Locator name.", + "readOnly": true + }, + "assetName": { + "type": "string", + "description": "Asset Name.", + "readOnly": true + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation time of the Streaming Locator.", + "readOnly": true, + "x-nullable": false + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the Streaming Locator.", + "readOnly": true, + "x-nullable": false + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the Streaming Locator.", + "readOnly": true, + "x-nullable": false + }, + "streamingLocatorId": { + "type": "string", + "format": "uuid", + "description": "StreamingLocatorId of the Streaming Locator.", + "readOnly": true, + "x-nullable": false + }, + "streamingPolicyName": { + "type": "string", + "description": "Name of the Streaming Policy used by this Streaming Locator.", + "readOnly": true + }, + "defaultContentKeyPolicyName": { + "type": "string", + "description": "Name of the default ContentKeyPolicy used by this Streaming Locator.", + "readOnly": true + } + }, + "type": "object", + "description": "Properties of the Streaming Locator." + }, + "Asset": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AssetProperties", + "description": "The resource properties.", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "An Asset." + }, + "PresentationTimeRange": { + "properties": { + "startTimestamp": { + "type": "integer", + "format": "int64", + "description": "The absolute start time boundary." + }, + "endTimestamp": { + "type": "integer", + "format": "int64", + "description": "The absolute end time boundary." + }, + "presentationWindowDuration": { + "type": "integer", + "format": "int64", + "description": "The relative to end sliding window." + }, + "liveBackoffDuration": { + "type": "integer", + "format": "int64", + "description": "The relative to end right edge." + }, + "timescale": { + "type": "integer", + "format": "int64", + "description": "The time scale of time stamps." + }, + "forceEndTimestamp": { + "type": "boolean", + "description": "The indicator of forcing existing of end time stamp." + } + }, + "type": "object", + "description": "The presentation time range, this is asset related and not recommended for Account Filter." + }, + "FilterTrackPropertyCondition": { + "properties": { + "property": { + "type": "string", + "enum": [ + "Unknown", + "Type", + "Name", + "Language", + "FourCC", + "Bitrate" + ], + "x-ms-enum": { + "name": "FilterTrackPropertyType", + "values": [ + { + "value": "Unknown", + "description": "The unknown track property type." + }, + { + "value": "Type", + "description": "The type." + }, + { + "value": "Name", + "description": "The name." + }, + { + "value": "Language", + "description": "The language." + }, + { + "value": "FourCC", + "description": "The fourCC." + }, + { + "value": "Bitrate", + "description": "The bitrate." + } + ], + "modelAsString": true + }, + "description": "The track property type." + }, + "value": { + "type": "string", + "description": "The track property value." + }, + "operation": { + "type": "string", + "enum": [ + "Equal", + "NotEqual" + ], + "x-ms-enum": { + "name": "FilterTrackPropertyCompareOperation", + "values": [ + { + "value": "Equal", + "description": "The equal operation." + }, + { + "value": "NotEqual", + "description": "The not equal operation." + } + ], + "modelAsString": true + }, + "description": "The track property condition operation." + } + }, + "type": "object", + "required": [ + "property", + "value", + "operation" + ], + "description": "The class to specify one track property condition." + }, + "FirstQuality": { + "properties": { + "bitrate": { + "type": "integer", + "format": "int32", + "description": "The first quality bitrate." + } + }, + "type": "object", + "required": [ + "bitrate" + ], + "description": "Filter First Quality" + }, + "FilterTrackSelection": { + "properties": { + "trackSelections": { + "type": "array", + "items": { + "$ref": "#/definitions/FilterTrackPropertyCondition" + }, + "description": "The track selections." + } + }, + "type": "object", + "required": [ + "trackSelections" + ], + "description": "Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation." + }, + "MediaFilterProperties": { + "properties": { + "presentationTimeRange": { + "$ref": "#/definitions/PresentationTimeRange", + "description": "The presentation time range." + }, + "firstQuality": { + "$ref": "#/definitions/FirstQuality", + "description": "The first quality." + }, + "tracks": { + "type": "array", + "items": { + "$ref": "#/definitions/FilterTrackSelection" + }, + "description": "The tracks selection conditions." + } + }, + "type": "object", + "description": "The Media Filter properties." + }, + "AssetFilter": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/MediaFilterProperties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "An Asset Filter." + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "AssetCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Asset" + }, + "description": "A collection of Asset items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of Asset items." + }, + "ListContainerSasInput": { + "description": "The parameters to the list SAS request.", + "properties": { + "permissions": { + "description": "The permissions to set on the SAS URL.", + "type": "string", + "enum": [ + "Read", + "ReadWrite", + "ReadWriteDelete" + ], + "x-ms-enum": { + "name": "AssetContainerPermission", + "values": [ + { + "value": "Read", + "description": "The SAS URL will allow read access to the container." + }, + { + "value": "ReadWrite", + "description": "The SAS URL will allow read and write access to the container." + }, + { + "value": "ReadWriteDelete", + "description": "The SAS URL will allow read, write and delete access to the container." + } + ], + "modelAsString": true + } + }, + "expiryTime": { + "description": "The SAS URL expiration time. This must be less than 24 hours from the current time.", + "type": "string", + "format": "date-time" + } + }, + "type": "object" + }, + "AssetFilterCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetFilter" + }, + "description": "A collection of AssetFilter items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of AssetFilter items." + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets": { + "get": { + "summary": "List Assets", + "description": "List Assets in the Media Services account with optional filtering and ordering", + "operationId": "Assets_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the key by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/Asset", + "x-ms-examples": { + "List all Assets": { + "$ref": "examples/assets-list-all.json" + }, + "List Asset ordered by date": { + "$ref": "examples/assets-list-by-date.json" + }, + "List Asset created in a date range": { + "$ref": "examples/assets-list-in-date-range.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}": { + "get": { + "summary": "Get an Asset", + "description": "Get the details of an Asset in the Media Services account", + "operationId": "Assets_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Asset" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get an Asset by name": { + "$ref": "examples/assets-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or update an Asset", + "description": "Creates or updates an Asset in the Media Services account", + "operationId": "Assets_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Asset" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Asset" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Asset" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create an Asset": { + "$ref": "examples/assets-create.json" + } + } + }, + "delete": { + "summary": "Delete an Asset.", + "description": "Deletes an Asset in the Media Services account", + "operationId": "Assets_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete an Asset": { + "$ref": "examples/assets-delete.json" + } + } + }, + "patch": { + "summary": "Update an Asset", + "description": "Updates an existing Asset in the Media Services account", + "operationId": "Assets_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Asset" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Asset" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update an Asset": { + "$ref": "examples/assets-update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listContainerSas": { + "post": { + "summary": "List the Asset URLs", + "description": "Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.", + "operationId": "Assets_ListContainerSas", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetContainerSas" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ListContainerSasInput" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "List Asset SAS URLs": { + "$ref": "examples/assets-list-sas-urls.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey": { + "post": { + "summary": "Gets the Asset storage key", + "description": "Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API", + "operationId": "Assets_GetEncryptionKey", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageEncryptedAssetDecryptionData" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get Asset Storage Encryption Keys": { + "$ref": "examples/assets-get-encryption-keys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listStreamingLocators": { + "post": { + "summary": "List Streaming Locators", + "description": "Lists Streaming Locators which are associated with this asset.", + "operationId": "Assets_ListStreamingLocators", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListStreamingLocatorsResponse" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "List Asset SAS URLs": { + "$ref": "examples/assets-list-streaming-locators.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters": { + "get": { + "summary": "List Asset Filters", + "description": "List Asset Filters associated with the specified Asset.", + "operationId": "AssetFilters_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetFilterCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all Asset Filters": { + "$ref": "examples/assetFilters-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}": { + "get": { + "summary": "Get an Asset Filter.", + "description": "Get the details of an Asset Filter associated with the specified Asset.", + "operationId": "AssetFilters_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetFilter" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset Filter name" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get an Asset Filter by name": { + "$ref": "examples/assetFilters-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or update an Asset Filter", + "description": "Creates or updates an Asset Filter associated with the specified Asset.", + "operationId": "AssetFilters_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetFilter" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AssetFilter" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset Filter name" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetFilter" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create an Asset Filter": { + "$ref": "examples/assetFilters-create.json" + } + } + }, + "delete": { + "summary": "Delete an Asset Filter.", + "description": "Deletes an Asset Filter associated with the specified Asset.", + "operationId": "AssetFilters_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset Filter name" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete an Asset Filter": { + "$ref": "examples/assetFilters-delete.json" + } + } + }, + "patch": { + "summary": "Update an Asset Filter", + "description": "Updates an existing Asset Filter associated with the specified Asset.", + "operationId": "AssetFilters_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetFilter" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "assetName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset name." + }, + { + "name": "filterName", + "in": "path", + "required": true, + "type": "string", + "description": "The Asset Filter name" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetFilter" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update an Asset Filter": { + "$ref": "examples/assetFilters-update.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json new file mode 100644 index 000000000000..8ffd3bd1f71a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json @@ -0,0 +1,80 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "version": "2018-07-01" + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "Resource": { + "description": "The core properties of ARM resources.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource ID for the resource." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked resource.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The Azure Region of the resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json new file mode 100644 index 000000000000..ad4c13194592 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json @@ -0,0 +1,1168 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction": { + "properties": { + "bestEffort": { + "type": "boolean", + "description": "Indicates whether this restriction is enforced on a Best Effort basis." + }, + "configurationData": { + "type": "integer", + "format": "int32", + "description": "Configures the restriction control bits. Must be between 0 and 3 inclusive." + } + }, + "type": "object", + "required": [ + "bestEffort", + "configurationData" + ], + "description": "Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady Compliance Rules." + }, + "ContentKeyPolicyPlayReadyContentKeyLocation": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for content key ID location. A derived class must be used to represent the location." + }, + "ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation" + } + ], + "properties": {}, + "type": "object", + "description": "Specifies that the content key ID is in the PlayReady header." + }, + "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation" + } + ], + "properties": { + "keyId": { + "type": "string", + "format": "uuid", + "description": "The content key ID." + } + }, + "type": "object", + "required": [ + "keyId" + ], + "description": "Specifies that the content key ID is specified in the PlayReady configuration." + }, + "ContentKeyPolicyPlayReadyPlayRight": { + "properties": { + "firstPlayExpiration": { + "type": "string", + "format": "duration", + "description": "The amount of time that the license is valid after the license is first used to play content." + }, + "scmsRestriction": { + "type": "integer", + "format": "int32", + "description": "Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive." + }, + "agcAndColorStripeRestriction": { + "type": "integer", + "format": "int32", + "description": "Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive." + }, + "explicitAnalogTelevisionOutputRestriction": { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction", + "description": "Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive." + }, + "digitalVideoOnlyContentRestriction": { + "type": "boolean", + "description": "Enables the Image Constraint For Analog Component Video Restriction in the license." + }, + "imageConstraintForAnalogComponentVideoRestriction": { + "type": "boolean", + "description": "Enables the Image Constraint For Analog Component Video Restriction in the license." + }, + "imageConstraintForAnalogComputerMonitorRestriction": { + "type": "boolean", + "description": "Enables the Image Constraint For Analog Component Video Restriction in the license." + }, + "allowPassingVideoContentToUnknownOutput": { + "type": "string", + "enum": [ + "Unknown", + "NotAllowed", + "Allowed", + "AllowedWithVideoConstriction" + ], + "x-ms-enum": { + "name": "ContentKeyPolicyPlayReadyUnknownOutputPassingOption", + "values": [ + { + "value": "Unknown", + "description": "Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version." + }, + { + "value": "NotAllowed", + "description": "Passing the video portion of protected content to an Unknown Output is not allowed." + }, + { + "value": "Allowed", + "description": "Passing the video portion of protected content to an Unknown Output is allowed." + }, + { + "value": "AllowedWithVideoConstriction", + "description": "Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution." + } + ], + "modelAsString": true + }, + "description": "Configures Unknown output handling settings of the license." + }, + "uncompressedDigitalVideoOpl": { + "type": "integer", + "format": "int32", + "description": "Specifies the output protection level for uncompressed digital video." + }, + "compressedDigitalVideoOpl": { + "type": "integer", + "format": "int32", + "description": "Specifies the output protection level for compressed digital video." + }, + "analogVideoOpl": { + "type": "integer", + "format": "int32", + "description": "Specifies the output protection level for compressed digital audio." + }, + "compressedDigitalAudioOpl": { + "type": "integer", + "format": "int32", + "description": "Specifies the output protection level for compressed digital audio." + }, + "uncompressedDigitalAudioOpl": { + "type": "integer", + "format": "int32", + "description": "Specifies the output protection level for uncompressed digital audio." + } + }, + "type": "object", + "required": [ + "digitalVideoOnlyContentRestriction", + "imageConstraintForAnalogComponentVideoRestriction", + "imageConstraintForAnalogComputerMonitorRestriction", + "allowPassingVideoContentToUnknownOutput" + ], + "description": "Configures the Play Right in the PlayReady license." + }, + "ContentKeyPolicyTokenClaim": { + "properties": { + "claimType": { + "type": "string", + "description": "Token claim type." + }, + "claimValue": { + "type": "string", + "description": "Token claim value." + } + }, + "type": "object", + "description": "Represents a token claim." + }, + "ContentKeyPolicyPlayReadyLicense": { + "properties": { + "allowTestDevices": { + "type": "boolean", + "description": "A flag indicating whether test devices can use the license." + }, + "beginDate": { + "type": "string", + "format": "date-time", + "description": "The begin date of license" + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "The expiration date of license." + }, + "relativeBeginDate": { + "type": "string", + "format": "duration", + "description": "The relative begin date of license." + }, + "relativeExpirationDate": { + "type": "string", + "format": "duration", + "description": "The relative expiration date of license." + }, + "gracePeriod": { + "type": "string", + "format": "duration", + "description": "The grace period of license." + }, + "playRight": { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyPlayRight", + "description": "The license PlayRight" + }, + "licenseType": { + "type": "string", + "enum": [ + "Unknown", + "NonPersistent", + "Persistent" + ], + "x-ms-enum": { + "name": "ContentKeyPolicyPlayReadyLicenseType", + "values": [ + { + "value": "Unknown", + "description": "Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version." + }, + { + "value": "NonPersistent", + "description": "Non persistent license." + }, + { + "value": "Persistent", + "description": "Persistent license. Allows offline playback." + } + ], + "modelAsString": true + }, + "description": "The license type." + }, + "contentKeyLocation": { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation", + "description": "The content key location." + }, + "contentType": { + "type": "string", + "enum": [ + "Unknown", + "Unspecified", + "UltraVioletDownload", + "UltraVioletStreaming" + ], + "x-ms-enum": { + "name": "ContentKeyPolicyPlayReadyContentType", + "values": [ + { + "value": "Unknown", + "description": "Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version." + }, + { + "value": "Unspecified", + "description": "Unspecified content type." + }, + { + "value": "UltraVioletDownload", + "description": "Ultraviolet download content type." + }, + { + "value": "UltraVioletStreaming", + "description": "Ultraviolet streaming content type." + } + ], + "modelAsString": true + }, + "description": "The PlayReady content type." + } + }, + "type": "object", + "required": [ + "allowTestDevices", + "licenseType", + "contentKeyLocation", + "contentType" + ], + "description": "The PlayReady license" + }, + "ContentKeyPolicyRestriction": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for Content Key Policy restrictions. A derived class must be used to create a restriction." + }, + "ContentKeyPolicyOpenRestriction": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyOpenRestriction", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestriction" + } + ], + "properties": {}, + "type": "object", + "description": "Represents an open restriction. License or key will be delivered on every request." + }, + "ContentKeyPolicyUnknownRestriction": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyUnknownRestriction", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestriction" + } + ], + "properties": {}, + "type": "object", + "description": "Represents a ContentKeyPolicyRestriction that is unavailable in the current API version." + }, + "ContentKeyPolicyConfiguration": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for Content Key Policy configuration. A derived class must be used to create a configuration." + }, + "ContentKeyPolicyRestrictionTokenKey": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for Content Key Policy key for token validation. A derived class must be used to create a token key." + }, + "ContentKeyPolicySymmetricTokenKey": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey" + } + ], + "properties": { + "keyValue": { + "type": "string", + "format": "byte", + "description": "The key value of the key" + } + }, + "type": "object", + "required": [ + "keyValue" + ], + "description": "Specifies a symmetric key for token validation." + }, + "ContentKeyPolicyRsaTokenKey": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey" + } + ], + "properties": { + "exponent": { + "type": "string", + "format": "byte", + "description": "The RSA Parameter exponent" + }, + "modulus": { + "type": "string", + "format": "byte", + "description": "The RSA Parameter modulus" + } + }, + "type": "object", + "required": [ + "exponent", + "modulus" + ], + "description": "Specifies a RSA key for token validation" + }, + "ContentKeyPolicyX509CertificateTokenKey": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey" + } + ], + "properties": { + "rawBody": { + "type": "string", + "format": "byte", + "description": "The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)" + } + }, + "type": "object", + "required": [ + "rawBody" + ], + "description": "Specifies a certificate for token validation." + }, + "ContentKeyPolicyTokenRestriction": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyRestriction" + } + ], + "properties": { + "issuer": { + "type": "string", + "description": "The token issuer." + }, + "audience": { + "type": "string", + "description": "The audience for the token." + }, + "primaryVerificationKey": { + "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey", + "description": "The primary verification key." + }, + "alternateVerificationKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey" + }, + "description": "A list of alternative verification keys." + }, + "requiredClaims": { + "type": "array", + "items": { + "$ref": "#/definitions/ContentKeyPolicyTokenClaim" + }, + "description": "A list of required token claims." + }, + "restrictionTokenType": { + "type": "string", + "enum": [ + "Unknown", + "Swt", + "Jwt" + ], + "x-ms-enum": { + "name": "ContentKeyPolicyRestrictionTokenType", + "values": [ + { + "value": "Unknown", + "description": "Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version." + }, + { + "value": "Swt", + "description": "Simple Web Token." + }, + { + "value": "Jwt", + "description": "JSON Web Token." + } + ], + "modelAsString": true + }, + "description": "The type of token." + }, + "openIdConnectDiscoveryDocument": { + "type": "string", + "description": "The OpenID connect discovery document." + } + }, + "type": "object", + "required": [ + "issuer", + "audience", + "primaryVerificationKey", + "restrictionTokenType" + ], + "description": "Represents a token restriction. Provided token must match these requirements for successful license or key delivery." + }, + "ContentKeyPolicyClearKeyConfiguration": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyConfiguration" + } + ], + "properties": {}, + "type": "object", + "description": "Represents a configuration for non-DRM keys." + }, + "ContentKeyPolicyUnknownConfiguration": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyConfiguration" + } + ], + "properties": {}, + "type": "object", + "description": "Represents a ContentKeyPolicyConfiguration that is unavailable in the current API version." + }, + "ContentKeyPolicyWidevineConfiguration": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyConfiguration" + } + ], + "properties": { + "widevineTemplate": { + "type": "string", + "description": "The Widevine template." + } + }, + "type": "object", + "required": [ + "widevineTemplate" + ], + "description": "Specifies a configuration for Widevine licenses." + }, + "ContentKeyPolicyPlayReadyConfiguration": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyConfiguration" + } + ], + "properties": { + "licenses": { + "type": "array", + "items": { + "$ref": "#/definitions/ContentKeyPolicyPlayReadyLicense" + }, + "description": "The PlayReady licenses." + }, + "responseCustomData": { + "type": "string", + "description": "The custom response data." + } + }, + "type": "object", + "required": [ + "licenses" + ], + "description": "Specifies a configuration for PlayReady licenses." + }, + "ContentKeyPolicyFairPlayConfiguration": { + "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration", + "allOf": [ + { + "$ref": "#/definitions/ContentKeyPolicyConfiguration" + } + ], + "properties": { + "ask": { + "type": "string", + "format": "byte", + "description": "The key that must be used as FairPlay Application Secret key." + }, + "fairPlayPfxPassword": { + "type": "string", + "description": "The password encrypting FairPlay certificate in PKCS 12 (pfx) format." + }, + "fairPlayPfx": { + "type": "string", + "description": "The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key)." + }, + "rentalAndLeaseKeyType": { + "type": "string", + "enum": [ + "Unknown", + "Undefined", + "PersistentUnlimited", + "PersistentLimited" + ], + "x-ms-enum": { + "name": "ContentKeyPolicyFairPlayRentalAndLeaseKeyType", + "values": [ + { + "value": "Unknown", + "description": "Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version." + }, + { + "value": "Undefined", + "description": "Key duration is not specified." + }, + { + "value": "PersistentUnlimited", + "description": "Content key can be persisted with an unlimited duration" + }, + { + "value": "PersistentLimited", + "description": "Content key can be persisted and the valid duration is limited by the Rental Duration value" + } + ], + "modelAsString": true + }, + "description": "The rental and lease key type." + }, + "rentalDuration": { + "type": "integer", + "format": "int64", + "description": "The rental duration. Must be greater than or equal to 0." + } + }, + "type": "object", + "required": [ + "ask", + "fairPlayPfxPassword", + "fairPlayPfx", + "rentalAndLeaseKeyType", + "rentalDuration" + ], + "description": "Specifies a configuration for FairPlay licenses." + }, + "ContentKeyPolicyOption": { + "properties": { + "policyOptionId": { + "type": "string", + "format": "uuid", + "description": "The legacy Policy Option ID.", + "readOnly": true, + "x-nullable": false + }, + "name": { + "type": "string", + "description": "The Policy Option description." + }, + "configuration": { + "$ref": "#/definitions/ContentKeyPolicyConfiguration", + "description": "The key delivery configuration." + }, + "restriction": { + "$ref": "#/definitions/ContentKeyPolicyRestriction", + "description": "The requirements that must be met to deliver keys with this configuration" + } + }, + "type": "object", + "required": [ + "configuration", + "restriction" + ], + "description": "Represents a policy option." + }, + "ContentKeyPolicyProperties": { + "properties": { + "policyId": { + "type": "string", + "format": "uuid", + "description": "The legacy Policy ID.", + "readOnly": true, + "x-nullable": false + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation date of the Policy", + "readOnly": true, + "x-nullable": false + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "The last modified date of the Policy", + "readOnly": true, + "x-nullable": false + }, + "description": { + "type": "string", + "description": "A description for the Policy." + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/ContentKeyPolicyOption" + }, + "description": "The Key Policy options." + } + }, + "type": "object", + "required": [ + "options" + ], + "description": "The properties of the Content Key Policy." + }, + "ContentKeyPolicy": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ContentKeyPolicyProperties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "A Content Key Policy resource." + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "ContentKeyPolicyCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ContentKeyPolicy" + }, + "description": "A collection of ContentKeyPolicy items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of ContentKeyPolicy items." + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies": { + "get": { + "summary": "List Content Key Policies", + "description": "Lists the Content Key Policies in the account", + "operationId": "ContentKeyPolicies_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContentKeyPolicyCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the key by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/ContentKeyPolicy", + "x-ms-examples": { + "Lists all Content Key Policies": { + "$ref": "examples/content-key-policies-list-all.json" + }, + "Lists Content Key Policies ordered by last modified.": { + "$ref": "examples/content-key-policies-list-by-lastModified.json" + }, + "Lists Content Key Policies with created and last modified filters.": { + "$ref": "examples/content-key-policies-list-in-date-range.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}": { + "get": { + "summary": "Get a Content Key Policy", + "description": "Get the details of a Content Key Policy in the Media Services account", + "operationId": "ContentKeyPolicies_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "contentKeyPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Content Key Policy name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Content Key Policy by name": { + "$ref": "examples/content-key-policies-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or update an Content Key Policy", + "description": "Create or update a Content Key Policy in the Media Services account", + "operationId": "ContentKeyPolicies_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "contentKeyPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Content Key Policy name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Creates a Content Key Policy with PlayReady option and Open Restriction": { + "$ref": "examples/content-key-policies-create-playready-open.json" + }, + "Creates a Content Key Policy with Widevine option and Token Restriction": { + "$ref": "examples/content-key-policies-create-widevine-token.json" + }, + "Creates a Content Key Policy with ClearKey option and Token Restriction": { + "$ref": "examples/content-key-policies-create-nodrm-token.json" + }, + "Creates a Content Key Policy with multiple options": { + "$ref": "examples/content-key-policies-create-multiple-options.json" + } + } + }, + "delete": { + "summary": "Delete a Content Key Policy", + "description": "Deletes a Content Key Policy in the Media Services account", + "operationId": "ContentKeyPolicies_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "contentKeyPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Content Key Policy name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Key Policy": { + "$ref": "examples/content-key-policies-delete.json" + } + } + }, + "patch": { + "summary": "Update a Content Key Policy", + "description": "Updates an existing Content Key Policy in the Media Services account", + "operationId": "ContentKeyPolicies_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "contentKeyPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Content Key Policy name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContentKeyPolicy" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update a Content Key Policy": { + "$ref": "examples/content-key-policies-update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets": { + "post": { + "summary": "Get a Content Key Policy with secrets", + "description": "Get a Content Key Policy including secret values", + "operationId": "ContentKeyPolicies_GetPolicyPropertiesWithSecrets", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContentKeyPolicyProperties" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "contentKeyPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Content Key Policy name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get an Content Key Policy with secrets": { + "$ref": "examples/content-key-policies-get-with-secrets.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json new file mode 100644 index 000000000000..a28c0a8abdb8 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json @@ -0,0 +1,2401 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "Preset": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base type for all Presets, which define the recipe or instructions on how the input media files should be processed." + }, + "Codec": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "label": { + "type": "string", + "description": "An optional label for the codec. The label can be used to control muxing behavior." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Describes the basic properties of all codecs." + }, + "Audio": { + "x-ms-discriminator-value": "#Microsoft.Media.Audio", + "allOf": [ + { + "$ref": "#/definitions/Codec" + } + ], + "properties": { + "channels": { + "type": "integer", + "format": "int32", + "description": "The number of channels in the audio." + }, + "samplingRate": { + "type": "integer", + "format": "int32", + "description": "The sampling rate to use for encoding in hertz." + }, + "bitrate": { + "type": "integer", + "format": "int32", + "description": "The bitrate, in bits per second, of the output encoded audio." + } + }, + "type": "object", + "description": "Defines the common properties for all audio codecs." + }, + "AacAudio": { + "x-ms-discriminator-value": "#Microsoft.Media.AacAudio", + "allOf": [ + { + "$ref": "#/definitions/Audio" + } + ], + "properties": { + "profile": { + "type": "string", + "enum": [ + "AacLc", + "HeAacV1", + "HeAacV2" + ], + "x-ms-enum": { + "name": "AacAudioProfile", + "values": [ + { + "value": "AacLc", + "description": "Specifies that the output audio is to be encoded into AAC Low Complexity profile (AAC-LC)." + }, + { + "value": "HeAacV1", + "description": "Specifies that the output audio is to be encoded into HE-AAC v1 profile." + }, + { + "value": "HeAacV2", + "description": "Specifies that the output audio is to be encoded into HE-AAC v2 profile." + } + ], + "modelAsString": true + }, + "description": "The encoding profile to be used when encoding audio with AAC." + } + }, + "type": "object", + "description": "Describes Advanced Audio Codec (AAC) audio encoding settings." + }, + "FaceDetectorPreset": { + "x-ms-discriminator-value": "#Microsoft.Media.FaceDetectorPreset", + "allOf": [ + { + "$ref": "#/definitions/Preset" + } + ], + "properties": { + "resolution": { + "type": "string", + "enum": [ + "SourceResolution", + "StandardDefinition" + ], + "x-ms-enum": { + "name": "AnalysisResolution", + "values": [ + { + "value": "SourceResolution" + }, + { + "value": "StandardDefinition" + } + ], + "modelAsString": true + }, + "description": "Specifies the maximum resolution at which your video is analyzed. The default behavior is \"SourceResolution,\" which will keep the input video at its original resolution when analyzed. Using \"StandardDefinition\" will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to \"StandardDefinition\" will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected." + } + }, + "type": "object", + "description": "Describes all the settings to be used when analyzing a video in order to detect all the faces present." + }, + "AudioAnalyzerPreset": { + "x-ms-discriminator-value": "#Microsoft.Media.AudioAnalyzerPreset", + "allOf": [ + { + "$ref": "#/definitions/Preset" + } + ], + "properties": { + "audioLanguage": { + "type": "string", + "description": "The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language of your content, it is recommended that you specify it. If the language isn't specified or set to null, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. This language detection feature currently supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'.\"" + } + }, + "type": "object", + "description": "The Audio Analyzer preset applies a pre-defined set of AI-based analysis operations, including speech transcription. Currently, the preset supports processing of content with a single audio track." + }, + "Overlay": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "inputLabel": { + "type": "string", + "description": "The label of the job input which is to be used as an overlay. The Input must specify exactly one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats." + }, + "start": { + "type": "string", + "format": "duration", + "description": "The start position, with reference to the input video, at which the overlay starts. The value should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds in to the input video. If not specified the overlay starts from the beginning of the input video." + }, + "end": { + "type": "string", + "format": "duration", + "description": "The position in the input video at which the overlay ends. The value should be in ISO 8601 duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If not specified the overlay will be applied until the end of the input video if inputLoop is true. Else, if inputLoop is false, then overlay will last as long as the duration of the overlay media." + }, + "fadeInDuration": { + "type": "string", + "format": "duration", + "description": "The duration over which the overlay fades in onto the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade in (same as PT0S)." + }, + "fadeOutDuration": { + "type": "string", + "format": "duration", + "description": "The duration over which the overlay fades out of the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade out (same as PT0S)." + }, + "audioGainLevel": { + "type": "number", + "format": "double", + "description": "The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default is 1.0." + } + }, + "type": "object", + "required": [ + "@odata.type", + "inputLabel" + ], + "description": "Base type for all overlays - image, audio or video." + }, + "AudioOverlay": { + "x-ms-discriminator-value": "#Microsoft.Media.AudioOverlay", + "allOf": [ + { + "$ref": "#/definitions/Overlay" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the properties of an audio overlay." + }, + "CopyVideo": { + "x-ms-discriminator-value": "#Microsoft.Media.CopyVideo", + "allOf": [ + { + "$ref": "#/definitions/Codec" + } + ], + "properties": {}, + "type": "object", + "description": "A codec flag, which tells the encoder to copy the input video bitstream without re-encoding." + }, + "Video": { + "x-ms-discriminator-value": "#Microsoft.Media.Video", + "allOf": [ + { + "$ref": "#/definitions/Codec" + } + ], + "properties": { + "keyFrameInterval": { + "type": "string", + "format": "duration", + "description": "The distance between two key frames, thereby defining a group of pictures (GOP). The value should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The default is 2 seconds (PT2S)." + }, + "stretchMode": { + "type": "string", + "enum": [ + "None", + "AutoSize", + "AutoFit" + ], + "x-ms-enum": { + "name": "StretchMode", + "values": [ + { + "value": "None", + "description": "Strictly respect the output resolution without considering the pixel aspect ratio or display aspect ratio of the input video." + }, + { + "value": "AutoSize", + "description": "Override the output resolution, and change it to match the display aspect ratio of the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which maintains the input aspect ratio of 16:9." + }, + { + "value": "AutoFit", + "description": "Pad the output (with either letterbox or pillar box) to honor the output resolution, while ensuring that the active video region in the output has the same aspect ratio as the input. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box regions 280 pixels wide at the left and right." + } + ], + "modelAsString": true + }, + "description": "The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize" + } + }, + "type": "object", + "description": "Describes the basic properties for encoding the input video." + }, + "Image": { + "x-ms-discriminator-value": "#Microsoft.Media.Image", + "allOf": [ + { + "$ref": "#/definitions/Video" + } + ], + "properties": { + "start": { + "type": "string", + "description": "The position in the input video from where to start generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video." + }, + "step": { + "type": "string", + "description": "The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every 30 frames), or a relative value (For example, 1%)." + }, + "range": { + "type": "string", + "description": "The position in the input video at which to stop generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%)." + } + }, + "type": "object", + "required": [ + "start" + ], + "description": "Describes the basic properties for generating thumbnails from the input video" + }, + "Format": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "filenamePattern": { + "type": "string", + "description": "The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - The base name of the input video {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename." + } + }, + "type": "object", + "required": [ + "@odata.type", + "filenamePattern" + ], + "description": "Base class for output." + }, + "ImageFormat": { + "x-ms-discriminator-value": "#Microsoft.Media.ImageFormat", + "allOf": [ + { + "$ref": "#/definitions/Format" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the properties for an output image file." + }, + "JpgFormat": { + "x-ms-discriminator-value": "#Microsoft.Media.JpgFormat", + "allOf": [ + { + "$ref": "#/definitions/ImageFormat" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the settings for producing JPEG thumbnails." + }, + "PngFormat": { + "x-ms-discriminator-value": "#Microsoft.Media.PngFormat", + "allOf": [ + { + "$ref": "#/definitions/ImageFormat" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the settings for producing PNG thumbnails." + }, + "CopyAudio": { + "x-ms-discriminator-value": "#Microsoft.Media.CopyAudio", + "allOf": [ + { + "$ref": "#/definitions/Codec" + } + ], + "properties": {}, + "type": "object", + "description": "A codec flag, which tells the encoder to copy the input audio bitstream." + }, + "Deinterlace": { + "properties": { + "parity": { + "type": "string", + "enum": [ + "Auto", + "TopFieldFirst", + "BottomFieldFirst" + ], + "x-ms-enum": { + "name": "DeinterlaceParity", + "values": [ + { + "value": "Auto", + "description": "Automatically detect the order of fields" + }, + { + "value": "TopFieldFirst", + "description": "Apply top field first processing of input video." + }, + { + "value": "BottomFieldFirst", + "description": "Apply bottom field first processing of input video." + } + ], + "modelAsString": true + }, + "description": "The field parity for de-interlacing, defaults to Auto." + }, + "mode": { + "type": "string", + "enum": [ + "Off", + "AutoPixelAdaptive" + ], + "x-ms-enum": { + "name": "DeinterlaceMode", + "values": [ + { + "value": "Off", + "description": "Disables de-interlacing of the source video." + }, + { + "value": "AutoPixelAdaptive", + "description": "Apply automatic pixel adaptive de-interlacing on each frame in the input video." + } + ], + "modelAsString": true + }, + "description": "The deinterlacing mode. Defaults to AutoPixelAdaptive." + } + }, + "type": "object", + "description": "Describes the de-interlacing settings." + }, + "Rectangle": { + "properties": { + "left": { + "type": "string", + "description": "The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)." + }, + "top": { + "type": "string", + "description": "The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)." + }, + "width": { + "type": "string", + "description": "The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)." + }, + "height": { + "type": "string", + "description": "The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)." + } + }, + "type": "object", + "description": "Describes the properties of a rectangular window applied to the input media before processing it." + }, + "Filters": { + "properties": { + "deinterlace": { + "$ref": "#/definitions/Deinterlace", + "description": "The de-interlacing settings." + }, + "rotation": { + "type": "string", + "enum": [ + "Auto", + "None", + "Rotate0", + "Rotate90", + "Rotate180", + "Rotate270" + ], + "x-ms-enum": { + "name": "Rotation", + "values": [ + { + "value": "Auto", + "description": "Automatically detect and rotate as needed." + }, + { + "value": "None", + "description": "Do not rotate the video. If the output format supports it, any metadata about rotation is kept intact." + }, + { + "value": "Rotate0", + "description": "Do not rotate the video but remove any metadata about the rotation." + }, + { + "value": "Rotate90", + "description": "Rotate 90 degrees clockwise." + }, + { + "value": "Rotate180", + "description": "Rotate 180 degrees clockwise." + }, + { + "value": "Rotate270", + "description": "Rotate 270 degrees clockwise." + } + ], + "modelAsString": true + }, + "description": "The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto" + }, + "crop": { + "$ref": "#/definitions/Rectangle", + "description": "The parameters for the rectangular window with which to crop the input video." + }, + "overlays": { + "type": "array", + "items": { + "$ref": "#/definitions/Overlay" + }, + "description": "The properties of overlays to be applied to the input video. These could be audio, image or video overlays." + } + }, + "type": "object", + "description": "Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding." + }, + "Layer": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "width": { + "type": "string", + "description": "The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input." + }, + "height": { + "type": "string", + "description": "The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input." + }, + "label": { + "type": "string", + "description": "The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution." + }, + "VideoLayer": { + "x-ms-discriminator-value": "#Microsoft.Media.VideoLayer", + "allOf": [ + { + "$ref": "#/definitions/Layer" + } + ], + "properties": { + "bitrate": { + "type": "integer", + "format": "int32", + "description": "The average bitrate in bits per second at which to encode the input video when generating this layer. This is a required field." + }, + "maxBitrate": { + "type": "integer", + "format": "int32", + "description": "The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. If not specified, defaults to the same value as bitrate." + }, + "bFrames": { + "type": "integer", + "format": "int32", + "description": "The number of B-frames to be used when encoding this layer. If not specified, the encoder chooses an appropriate number based on the video profile and level." + }, + "frameRate": { + "type": "string", + "description": "The frame rate (in frames per second) at which to encode this layer. The value can be in the form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on the profile and level. If it is not specified, the encoder will use the same frame rate as the input video." + }, + "slices": { + "type": "integer", + "format": "int32", + "description": "The number of slices to be used when encoding this layer. If not specified, default is zero, which means that encoder will use a single slice for each frame." + }, + "adaptiveBFrame": { + "type": "boolean", + "description": "Whether or not adaptive B-frames are to be used when encoding this layer. If not specified, the encoder will turn it on whenever the video profile permits its use." + } + }, + "type": "object", + "required": [ + "bitrate" + ], + "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer." + }, + "H264Layer": { + "x-ms-discriminator-value": "#Microsoft.Media.H264Layer", + "allOf": [ + { + "$ref": "#/definitions/VideoLayer" + } + ], + "properties": { + "profile": { + "type": "string", + "enum": [ + "Auto", + "Baseline", + "Main", + "High", + "High422", + "High444" + ], + "x-ms-enum": { + "name": "H264VideoProfile", + "values": [ + { + "value": "Auto", + "description": "Tells the encoder to automatically determine the appropriate H.264 profile." + }, + { + "value": "Baseline", + "description": "Baseline profile" + }, + { + "value": "Main", + "description": "Main profile" + }, + { + "value": "High", + "description": "High profile." + }, + { + "value": "High422", + "description": "High 4:2:2 profile." + }, + { + "value": "High444", + "description": "High 4:4:4 predictive profile." + } + ], + "modelAsString": true + }, + "description": "We currently support Baseline, Main, High, High422, High444. Default is Auto." + }, + "level": { + "type": "string", + "description": "We currently support Level up to 6.2. The value can be Auto, or a number that matches the H.264 profile. If not specified, the default is Auto, which lets the encoder choose the Level that is appropriate for this layer." + }, + "bufferWindow": { + "type": "string", + "format": "duration", + "description": "The VBV buffer window length. The value should be in ISO 8601 format. The value should be in the range [0.1-100] seconds. The default is 5 seconds (for example, PT5S)." + }, + "referenceFrames": { + "type": "integer", + "format": "int32", + "description": "The number of reference frames to be used when encoding this layer. If not specified, the encoder determines an appropriate number based on the encoder complexity setting." + }, + "entropyMode": { + "type": "string", + "enum": [ + "Cabac", + "Cavlc" + ], + "x-ms-enum": { + "name": "EntropyMode", + "values": [ + { + "value": "Cabac", + "description": "Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding." + }, + { + "value": "Cavlc", + "description": "Context Adaptive Variable Length Coder (CAVLC) entropy encoding." + } + ], + "modelAsString": true + }, + "description": "The entropy mode to be used for this layer. If not specified, the encoder chooses the mode that is appropriate for the profile and level." + } + }, + "type": "object", + "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer with the H.264 video codec." + }, + "H264Video": { + "x-ms-discriminator-value": "#Microsoft.Media.H264Video", + "allOf": [ + { + "$ref": "#/definitions/Video" + } + ], + "properties": { + "sceneChangeDetection": { + "type": "boolean", + "description": "Whether or not the encoder should insert key frames at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output video." + }, + "complexity": { + "type": "string", + "enum": [ + "Speed", + "Balanced", + "Quality" + ], + "x-ms-enum": { + "name": "H264Complexity", + "values": [ + { + "value": "Speed", + "description": "Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to decrease encoding time." + }, + { + "value": "Balanced", + "description": "Tells the encoder to use settings that achieve a balance between speed and quality." + }, + { + "value": "Quality", + "description": "Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time." + } + ], + "modelAsString": true + }, + "description": "Tells the encoder how to choose its encoding settings. The default value is Balanced." + }, + "layers": { + "type": "array", + "items": { + "$ref": "#/definitions/H264Layer" + }, + "description": "The collection of output H.264 layers to be produced by the encoder." + } + }, + "type": "object", + "description": "Describes all the properties for encoding a video with the H.264 codec." + }, + "JpgImage": { + "x-ms-discriminator-value": "#Microsoft.Media.JpgImage", + "allOf": [ + { + "$ref": "#/definitions/Image" + } + ], + "properties": { + "layers": { + "type": "array", + "items": { + "$ref": "#/definitions/JpgLayer" + }, + "description": "A collection of output JPEG image layers to be produced by the encoder." + } + }, + "type": "object", + "description": "Describes the properties for producing a series of JPEG images from the input video." + }, + "JpgLayer": { + "x-ms-discriminator-value": "#Microsoft.Media.JpgLayer", + "allOf": [ + { + "$ref": "#/definitions/Layer" + } + ], + "properties": { + "quality": { + "type": "integer", + "format": "int32", + "description": "The compression quality of the JPEG output. Range is from 0-100 and the default is 70." + } + }, + "type": "object", + "description": "Describes the settings to produce a JPEG image from the input video." + }, + "MultiBitrateFormat": { + "x-ms-discriminator-value": "#Microsoft.Media.MultiBitrateFormat", + "allOf": [ + { + "$ref": "#/definitions/Format" + } + ], + "properties": { + "outputFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputFile" + }, + "description": "The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together ." + } + }, + "type": "object", + "description": "Describes the properties for producing a collection of GOP aligned multi-bitrate files. The default behavior is to produce one output file for each video layer which is muxed together with all the audios. The exact output files produced can be controlled by specifying the outputFiles collection." + }, + "OutputFile": { + "properties": { + "labels": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of labels that describe how the encoder should multiplex video and audio into an output file. For example, if the encoder is producing two video layers with labels v1 and v2, and one audio layer with label a1, then an array like '[v1, a1]' tells the encoder to produce an output file with the video track represented by v1 and the audio track represented by a1." + } + }, + "type": "object", + "required": [ + "labels" + ], + "description": "Represents an output file produced." + }, + "Mp4Format": { + "x-ms-discriminator-value": "#Microsoft.Media.Mp4Format", + "allOf": [ + { + "$ref": "#/definitions/MultiBitrateFormat" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the properties for an output ISO MP4 file." + }, + "PngImage": { + "x-ms-discriminator-value": "#Microsoft.Media.PngImage", + "allOf": [ + { + "$ref": "#/definitions/Image" + } + ], + "properties": { + "layers": { + "type": "array", + "items": { + "$ref": "#/definitions/PngLayer" + }, + "description": "A collection of output PNG image layers to be produced by the encoder." + } + }, + "type": "object", + "description": "Describes the properties for producing a series of PNG images from the input video." + }, + "PngLayer": { + "x-ms-discriminator-value": "#Microsoft.Media.PngLayer", + "allOf": [ + { + "$ref": "#/definitions/Layer" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the settings to produce a PNG image from the input video." + }, + "BuiltInStandardEncoderPreset": { + "x-ms-discriminator-value": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "allOf": [ + { + "$ref": "#/definitions/Preset" + } + ], + "properties": { + "presetName": { + "type": "string", + "enum": [ + "H264SingleBitrateSD", + "H264SingleBitrate720p", + "H264SingleBitrate1080p", + "AdaptiveStreaming", + "AACGoodQualityAudio", + "ContentAwareEncodingExperimental", + "H264MultipleBitrate1080p", + "H264MultipleBitrate720p", + "H264MultipleBitrateSD" + ], + "x-ms-enum": { + "name": "EncoderNamedPreset", + "values": [ + { + "value": "H264SingleBitrateSD", + "description": "Produces an MP4 file where the video is encoded with H.264 codec at 2200 kbps and a picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps." + }, + { + "value": "H264SingleBitrate720p", + "description": "Produces an MP4 file where the video is encoded with H.264 codec at 4500 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps." + }, + { + "value": "H264SingleBitrate1080p", + "description": "Produces an MP4 file where the video is encoded with H.264 codec at 6750 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps." + }, + { + "value": "AdaptiveStreaming", + "description": "Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and audio in separate MP4 files, which is optimal for adaptive streaming." + }, + { + "value": "AACGoodQualityAudio", + "description": "Produces a single MP4 file containing only stereo audio encoded at 192 kbps." + }, + { + "value": "ContentAwareEncodingExperimental", + "description": "Exposes an experimental preset for content-aware encoding. Given any input content, the service attempts to automatically determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. The underlying algorithms will continue to evolve over time. The output will contain MP4 files with video and audio interleaved." + }, + { + "value": "H264MultipleBitrate1080p", + "description": "Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 360p." + }, + { + "value": "H264MultipleBitrate720p", + "description": "Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 360p." + }, + { + "value": "H264MultipleBitrateSD", + "description": "Produces a set of 5 GOP-aligned MP4 files, ranging from 1600 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 360p." + } + ], + "modelAsString": true + }, + "description": "The built-in preset to be used for encoding videos." + } + }, + "type": "object", + "required": [ + "presetName" + ], + "description": "Describes a built-in preset for encoding the input video with the Standard Encoder." + }, + "StandardEncoderPreset": { + "x-ms-discriminator-value": "#Microsoft.Media.StandardEncoderPreset", + "allOf": [ + { + "$ref": "#/definitions/Preset" + } + ], + "properties": { + "filters": { + "$ref": "#/definitions/Filters", + "description": "One or more filtering operations that are applied to the input media before encoding." + }, + "codecs": { + "type": "array", + "items": { + "$ref": "#/definitions/Codec" + }, + "description": "The list of codecs to be used when encoding the input video." + }, + "formats": { + "type": "array", + "items": { + "$ref": "#/definitions/Format" + }, + "description": "The list of outputs to be produced by the encoder." + } + }, + "type": "object", + "required": [ + "codecs", + "formats" + ], + "description": "Describes all the settings to be used when encoding the input video with the Standard Encoder." + }, + "VideoAnalyzerPreset": { + "x-ms-discriminator-value": "#Microsoft.Media.VideoAnalyzerPreset", + "allOf": [ + { + "$ref": "#/definitions/AudioAnalyzerPreset" + } + ], + "properties": { + "insightsToExtract": { + "type": "string", + "enum": [ + "AudioInsightsOnly", + "VideoInsightsOnly", + "AllInsights" + ], + "x-ms-enum": { + "name": "InsightsType", + "values": [ + { + "value": "AudioInsightsOnly", + "description": "Generate audio only insights. Ignore video even if present. Fails if no audio is present." + }, + { + "value": "VideoInsightsOnly", + "description": "Generate video only insights. Ignore audio if present. Fails if no video is present." + }, + { + "value": "AllInsights", + "description": "Generate both audio and video insights. Fails if either audio or video Insights fail." + } + ], + "modelAsString": true + }, + "description": "Defines the type of insights that you want the service to generate. The allowed values are 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out." + } + }, + "type": "object", + "description": "A video analyzer preset that extracts insights (rich metadata) from both audio and video, and outputs a JSON format file." + }, + "TransportStreamFormat": { + "x-ms-discriminator-value": "#Microsoft.Media.TransportStreamFormat", + "allOf": [ + { + "$ref": "#/definitions/MultiBitrateFormat" + } + ], + "properties": {}, + "type": "object", + "description": "Describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC 13818-1) output video file(s)." + }, + "VideoOverlay": { + "x-ms-discriminator-value": "#Microsoft.Media.VideoOverlay", + "allOf": [ + { + "$ref": "#/definitions/Overlay" + } + ], + "properties": { + "position": { + "$ref": "#/definitions/Rectangle", + "description": "The location in the input video where the overlay is applied." + }, + "opacity": { + "type": "number", + "format": "double", + "description": "The opacity of the overlay. This is a value in the range [0 - 1.0]. Default is 1.0 which mean the overlay is opaque." + }, + "cropRectangle": { + "$ref": "#/definitions/Rectangle", + "description": "An optional rectangular window used to crop the overlay image or video." + } + }, + "type": "object", + "description": "Describes the properties of a video overlay." + }, + "TransformOutput": { + "properties": { + "onError": { + "type": "string", + "enum": [ + "StopProcessingJob", + "ContinueJob" + ], + "x-ms-enum": { + "name": "OnErrorType", + "values": [ + { + "value": "StopProcessingJob", + "description": "Tells the service that if this TransformOutput fails, then any other incomplete TransformOutputs can be stopped." + }, + { + "value": "ContinueJob", + "description": "Tells the service that if this TransformOutput fails, then allow any other TransformOutput to continue." + } + ], + "modelAsString": true + }, + "description": "A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'." + }, + "relativePriority": { + "type": "string", + "enum": [ + "Low", + "Normal", + "High" + ], + "x-ms-enum": { + "name": "Priority", + "values": [ + { + "value": "Low", + "description": "Used for TransformOutputs that can be generated after Normal and High priority TransformOutputs." + }, + { + "value": "Normal", + "description": "Used for TransformOutputs that can be generated at Normal priority." + }, + { + "value": "High", + "description": "Used for TransformOutputs that should take precedence over others." + } + ], + "modelAsString": true + }, + "description": "Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal." + }, + "preset": { + "$ref": "#/definitions/Preset", + "description": "Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output." + } + }, + "type": "object", + "required": [ + "preset" + ], + "description": "Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output." + }, + "TransformProperties": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time when the Transform was created, in 'YYYY-MM-DDThh:mm:ssZ' format.", + "readOnly": true, + "x-nullable": false + }, + "description": { + "type": "string", + "description": "An optional verbose description of the Transform." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time when the Transform was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format.", + "readOnly": true, + "x-nullable": false + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/TransformOutput" + }, + "description": "An array of one or more TransformOutputs that the Transform should generate." + } + }, + "type": "object", + "required": [ + "outputs" + ], + "description": "A Transform." + }, + "Transform": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/TransformProperties", + "description": "The resource properties.", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "A Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights. After the Transform is created, it can be applied to input media by creating Jobs." + }, + "JobInput": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for inputs to a Job." + }, + "JobInputClip": { + "x-ms-discriminator-value": "#Microsoft.Media.JobInputClip", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "files": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each." + }, + "start": { + "$ref": "#/definitions/ClipTime", + "description": "Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media." + }, + "end": { + "$ref": "#/definitions/ClipTime", + "description": "Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media." + }, + "label": { + "type": "string", + "description": "A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'." + } + }, + "type": "object", + "description": "Represents input files for a Job." + }, + "ClipTime": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for specifying a clip time. Use sub classes of this class to specify the time position in the media." + }, + "AbsoluteClipTime": { + "x-ms-discriminator-value": "#Microsoft.Media.AbsoluteClipTime", + "allOf": [ + { + "$ref": "#/definitions/ClipTime" + } + ], + "properties": { + "time": { + "type": "string", + "format": "duration", + "description": "The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds." + } + }, + "type": "object", + "required": [ + "time" + ], + "description": "Specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not." + }, + "JobInputs": { + "x-ms-discriminator-value": "#Microsoft.Media.JobInputs", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/JobInput" + }, + "description": "List of inputs to a Job." + } + }, + "type": "object", + "description": "Describes a list of inputs to a Job." + }, + "JobInputAsset": { + "x-ms-discriminator-value": "#Microsoft.Media.JobInputAsset", + "allOf": [ + { + "$ref": "#/definitions/JobInputClip" + } + ], + "properties": { + "assetName": { + "type": "string", + "description": "The name of the input Asset." + } + }, + "type": "object", + "required": [ + "assetName" + ], + "description": "Represents an Asset for input into a Job." + }, + "JobInputHttp": { + "x-ms-discriminator-value": "#Microsoft.Media.JobInputHttp", + "allOf": [ + { + "$ref": "#/definitions/JobInputClip" + } + ], + "properties": { + "baseUri": { + "type": "string", + "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters." + } + }, + "type": "object", + "description": "Represents HTTPS job input." + }, + "JobOutput": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "error": { + "$ref": "#/definitions/JobError", + "description": "If the JobOutput is in the Error state, it contains the details of the error.", + "readOnly": true + }, + "state": { + "type": "string", + "enum": [ + "Canceled", + "Canceling", + "Error", + "Finished", + "Processing", + "Queued", + "Scheduled" + ], + "x-ms-enum": { + "name": "JobState", + "values": [ + { + "value": "Canceled", + "description": "The job was canceled. This is a final state for the job." + }, + { + "value": "Canceling", + "description": "The job is in the process of being canceled. This is a transient state for the job." + }, + { + "value": "Error", + "description": "The job has encountered an error. This is a final state for the job." + }, + { + "value": "Finished", + "description": "The job is finished. This is a final state for the job." + }, + { + "value": "Processing", + "description": "The job is processing. This is a transient state for the job." + }, + { + "value": "Queued", + "description": "The job is in a queued state, waiting for resources to become available. This is a transient state." + }, + { + "value": "Scheduled", + "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states." + } + ], + "modelAsString": true + }, + "description": "Describes the state of the JobOutput.", + "readOnly": true, + "x-nullable": false + }, + "progress": { + "type": "integer", + "format": "int32", + "description": "If the JobOutput is in a Processing state, this contains the Job completion percentage. The value is an estimate and not intended to be used to predict Job completion times. To determine if the JobOutput is complete, use the State property.", + "readOnly": true, + "x-nullable": false + }, + "label": { + "type": "string", + "description": "A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Describes all the properties of a JobOutput." + }, + "JobError": { + "properties": { + "code": { + "type": "string", + "enum": [ + "ServiceError", + "ServiceTransientError", + "DownloadNotAccessible", + "DownloadTransientError", + "UploadNotAccessible", + "UploadTransientError", + "ConfigurationUnsupported", + "ContentMalformed", + "ContentUnsupported" + ], + "x-ms-enum": { + "name": "JobErrorCode", + "values": [ + { + "value": "ServiceError", + "description": "Fatal service error, please contact support." + }, + { + "value": "ServiceTransientError", + "description": "Transient error, please retry, if retry is unsuccessful, please contact support." + }, + { + "value": "DownloadNotAccessible", + "description": "While trying to download the input files, the files were not accessible, please check the availability of the source." + }, + { + "value": "DownloadTransientError", + "description": "While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source." + }, + { + "value": "UploadNotAccessible", + "description": "While trying to upload the output files, the destination was not reachable, please check the availability of the destination." + }, + { + "value": "UploadTransientError", + "description": "While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination." + }, + { + "value": "ConfigurationUnsupported", + "description": "There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration." + }, + { + "value": "ContentMalformed", + "description": "There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files." + }, + { + "value": "ContentUnsupported", + "description": "There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files." + } + ], + "modelAsString": true + }, + "description": "Error code describing the error.", + "readOnly": true, + "x-nullable": false + }, + "message": { + "type": "string", + "description": "A human-readable language-dependent representation of the error.", + "readOnly": true + }, + "category": { + "type": "string", + "enum": [ + "Service", + "Download", + "Upload", + "Configuration", + "Content" + ], + "x-ms-enum": { + "name": "JobErrorCategory", + "values": [ + { + "value": "Service", + "description": "The error is service related." + }, + { + "value": "Download", + "description": "The error is download related." + }, + { + "value": "Upload", + "description": "The error is upload related." + }, + { + "value": "Configuration", + "description": "The error is configuration related." + }, + { + "value": "Content", + "description": "The error is related to data in the input files." + } + ], + "modelAsString": true + }, + "description": "Helps with categorization of errors.", + "readOnly": true, + "x-nullable": false + }, + "retry": { + "type": "string", + "enum": [ + "DoNotRetry", + "MayRetry" + ], + "x-ms-enum": { + "name": "JobRetry", + "values": [ + { + "value": "DoNotRetry", + "description": "Issue needs to be investigated and then the job resubmitted with corrections or retried once the underlying issue has been corrected." + }, + { + "value": "MayRetry", + "description": "Issue may be resolved after waiting for a period of time and resubmitting the same Job." + } + ], + "modelAsString": true + }, + "description": "Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal.", + "readOnly": true, + "x-nullable": false + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/JobErrorDetail" + }, + "description": "An array of details about specific errors that led to this reported error.", + "readOnly": true + } + }, + "type": "object", + "description": "Details of JobOutput errors." + }, + "JobOutputAsset": { + "x-ms-discriminator-value": "#Microsoft.Media.JobOutputAsset", + "allOf": [ + { + "$ref": "#/definitions/JobOutput" + } + ], + "properties": { + "assetName": { + "type": "string", + "description": "The name of the output Asset." + } + }, + "type": "object", + "required": [ + "assetName" + ], + "description": "Represents an Asset used as a JobOutput." + }, + "JobErrorDetail": { + "properties": { + "code": { + "type": "string", + "description": "Code describing the error detail.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "A human-readable representation of the error.", + "readOnly": true + } + }, + "type": "object", + "description": "Details of JobOutput errors." + }, + "JobProperties": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time when the Job was created, in 'YYYY-MM-DDThh:mm:ssZ' format.", + "readOnly": true, + "x-nullable": false + }, + "state": { + "type": "string", + "enum": [ + "Canceled", + "Canceling", + "Error", + "Finished", + "Processing", + "Queued", + "Scheduled" + ], + "x-ms-enum": { + "name": "JobState", + "values": [ + { + "value": "Canceled", + "description": "The job was canceled. This is a final state for the job." + }, + { + "value": "Canceling", + "description": "The job is in the process of being canceled. This is a transient state for the job." + }, + { + "value": "Error", + "description": "The job has encountered an error. This is a final state for the job." + }, + { + "value": "Finished", + "description": "The job is finished. This is a final state for the job." + }, + { + "value": "Processing", + "description": "The job is processing. This is a transient state for the job." + }, + { + "value": "Queued", + "description": "The job is in a queued state, waiting for resources to become available. This is a transient state." + }, + { + "value": "Scheduled", + "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states." + } + ], + "modelAsString": true + }, + "description": "The current state of the job.", + "readOnly": true, + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Optional customer supplied description of the Job." + }, + "input": { + "$ref": "#/definitions/JobInput", + "description": "The inputs for the Job." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time when the Job was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format.", + "readOnly": true, + "x-nullable": false + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/JobOutput" + }, + "description": "The outputs for the Job." + }, + "priority": { + "type": "string", + "enum": [ + "Low", + "Normal", + "High" + ], + "x-ms-enum": { + "name": "Priority", + "values": [ + { + "value": "Low", + "description": "Used for TransformOutputs that can be generated after Normal and High priority TransformOutputs." + }, + { + "value": "Normal", + "description": "Used for TransformOutputs that can be generated at Normal priority." + }, + { + "value": "High", + "description": "Used for TransformOutputs that should take precedence over others." + } + ], + "modelAsString": true + }, + "description": "Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal." + }, + "correlationData": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Customer provided key, value pairs that will be returned in Job and JobOutput state events." + } + }, + "type": "object", + "required": [ + "input", + "outputs" + ], + "description": "Properties of the Job." + }, + "Job": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/JobProperties", + "description": "The resource properties.", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid." + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "TransformCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Transform" + }, + "description": "A collection of Transform items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of Transform items." + }, + "JobCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Job" + }, + "description": "A collection of Job items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of Job items." + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms": { + "get": { + "summary": "List Transforms", + "description": "Lists the Transforms in the account.", + "operationId": "Transforms_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TransformCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the key by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/Transform", + "x-ms-examples": { + "Lists the Transforms": { + "$ref": "examples/transforms-list-all.json" + }, + "Lists the Transforms filter by name": { + "$ref": "examples/transforms-list-all-filter-by-name.json" + }, + "Lists the Transforms filter by created": { + "$ref": "examples/transforms-list-all-filter-by-created.json" + }, + "Lists the Transforms filter by lastmodified": { + "$ref": "examples/transforms-list-all-filter-by-lastmodified.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}": { + "get": { + "summary": "Get Transform", + "description": "Gets a Transform.", + "operationId": "Transforms_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Transform" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Transform by name": { + "$ref": "examples/transforms-get-by-name.json" + } + } + }, + "put": { + "summary": "Create or Update Transform", + "description": "Creates or updates a new Transform.", + "operationId": "Transforms_CreateOrUpdate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Transform" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Transform" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Transform" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create or update a Transform": { + "$ref": "examples/transforms-create.json" + } + } + }, + "delete": { + "summary": "Delete Transform", + "description": "Deletes a Transform.", + "operationId": "Transforms_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Transform": { + "$ref": "examples/transforms-delete.json" + } + } + }, + "patch": { + "summary": "Update Transform", + "description": "Updates a Transform.", + "operationId": "Transforms_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Transform" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Transform" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update a Transform.": { + "$ref": "examples/transforms-update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs": { + "get": { + "summary": "List Jobs", + "description": "Lists all of the Jobs for the Transform.", + "operationId": "Jobs_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/Job", + "x-ms-examples": { + "Lists all of the Jobs for the Transform.": { + "$ref": "examples/jobs-list-all.json" + }, + "Lists Jobs for the Transform filter by name.": { + "$ref": "examples/jobs-list-all-filter-by-name.json" + }, + "Lists Jobs for the Transform filter by state equal.": { + "$ref": "examples/jobs-list-all-filter-by-state-eq.json" + }, + "Lists Jobs for the Transform filter by state not equal.": { + "$ref": "examples/jobs-list-all-filter-by-state-ne.json" + }, + "Lists Jobs for the Transform filter by name and state.": { + "$ref": "examples/jobs-list-all-filter-by-name-and-state.json" + }, + "Lists Jobs for the Transform filter by created.": { + "$ref": "examples/jobs-list-all-filter-by-created.json" + }, + "Lists Jobs for the Transform filter by lastmodified.": { + "$ref": "examples/jobs-list-all-filter-by-lastmodified.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}": { + "get": { + "summary": "Get Job", + "description": "Gets a Job.", + "operationId": "Jobs_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Job" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "jobName", + "in": "path", + "required": true, + "type": "string", + "description": "The Job name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Job by name": { + "$ref": "examples/jobs-get-by-name.json" + } + } + }, + "put": { + "summary": "Create Job", + "description": "Creates a Job.", + "operationId": "Jobs_Create", + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Job" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "jobName", + "in": "path", + "required": true, + "type": "string", + "description": "The Job name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Job" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Create a Job": { + "$ref": "examples/jobs-create.json" + } + } + }, + "delete": { + "summary": "Delete Job", + "description": "Deletes a Job.", + "operationId": "Jobs_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "jobName", + "in": "path", + "required": true, + "type": "string", + "description": "The Job name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Job": { + "$ref": "examples/jobs-delete.json" + } + } + }, + "patch": { + "summary": "Update Job", + "description": "Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.", + "operationId": "Jobs_Update", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Job" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "jobName", + "in": "path", + "required": true, + "type": "string", + "description": "The Job name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Job" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Update a Job": { + "$ref": "examples/jobs-update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob": { + "post": { + "summary": "Cancel Job", + "description": "Cancel a Job.", + "operationId": "Jobs_CancelJob", + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "transformName", + "in": "path", + "required": true, + "type": "string", + "description": "The Transform name." + }, + { + "name": "jobName", + "in": "path", + "required": true, + "type": "string", + "description": "The Job name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Cancel a Job": { + "$ref": "examples/jobs-cancel.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json new file mode 100644 index 000000000000..a2dafe7e44d4 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json @@ -0,0 +1,1289 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "This Swagger was generated by the API Framework.", + "version": "2018-07-01" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "definitions": { + "TrackPropertyCondition": { + "properties": { + "property": { + "type": "string", + "enum": [ + "Unknown", + "FourCC" + ], + "x-ms-enum": { + "name": "TrackPropertyType", + "values": [ + { + "value": "Unknown", + "description": "Unknown track property" + }, + { + "value": "FourCC", + "description": "Track FourCC" + } + ], + "modelAsString": true + }, + "description": "Track property type" + }, + "operation": { + "type": "string", + "enum": [ + "Unknown", + "Equal" + ], + "x-ms-enum": { + "name": "TrackPropertyCompareOperation", + "values": [ + { + "value": "Unknown", + "description": "Unknown track property compare operation" + }, + { + "value": "Equal", + "description": "Equal operation" + } + ], + "modelAsString": true + }, + "description": "Track property condition operation" + }, + "value": { + "type": "string", + "description": "Track property value" + } + }, + "type": "object", + "required": [ + "property", + "operation" + ], + "description": "Class to specify one track property condition" + }, + "TrackSelection": { + "properties": { + "trackSelections": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackPropertyCondition" + }, + "description": "TrackSelections is a track property condition list which can specify track(s)" + } + }, + "type": "object", + "description": "Class to select a track" + }, + "DefaultKey": { + "properties": { + "label": { + "type": "string", + "description": "Label can be used to specify Content Key when creating a Streaming Locator" + }, + "policyName": { + "type": "string", + "description": "Policy used by Default Key" + } + }, + "type": "object", + "description": "Class to specify properties of default content key for each encryption scheme" + }, + "StreamingPolicyContentKey": { + "properties": { + "label": { + "type": "string", + "description": "Label can be used to specify Content Key when creating a Streaming Locator" + }, + "policyName": { + "type": "string", + "description": "Policy used by Content Key" + }, + "tracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackSelection" + }, + "description": "Tracks which use this content key" + } + }, + "type": "object", + "description": "Class to specify properties of content key" + }, + "StreamingPolicyContentKeys": { + "properties": { + "defaultKey": { + "$ref": "#/definitions/DefaultKey", + "description": "Default content key for an encryption scheme" + }, + "keyToTrackMappings": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingPolicyContentKey" + }, + "description": "Representing tracks needs separate content key" + } + }, + "type": "object", + "description": "Class to specify properties of all content keys in Streaming Policy" + }, + "StreamingPolicyPlayReadyConfiguration": { + "properties": { + "customLicenseAcquisitionUrlTemplate": { + "type": "string", + "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested." + }, + "playReadyCustomAttributes": { + "type": "string", + "description": "Custom attributes for PlayReady" + } + }, + "type": "object", + "description": "Class to specify configurations of PlayReady in Streaming Policy" + }, + "StreamingPolicyWidevineConfiguration": { + "properties": { + "customLicenseAcquisitionUrlTemplate": { + "type": "string", + "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested." + } + }, + "type": "object", + "description": "Class to specify configurations of Widevine in Streaming Policy" + }, + "StreamingPolicyFairPlayConfiguration": { + "properties": { + "customLicenseAcquisitionUrlTemplate": { + "type": "string", + "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested." + }, + "allowPersistentLicense": { + "type": "boolean", + "description": "All license to be persistent or not" + } + }, + "type": "object", + "required": [ + "allowPersistentLicense" + ], + "description": "Class to specify configurations of FairPlay in Streaming Policy" + }, + "CbcsDrmConfiguration": { + "properties": { + "fairPlay": { + "$ref": "#/definitions/StreamingPolicyFairPlayConfiguration", + "description": "FairPlay configurations" + }, + "playReady": { + "$ref": "#/definitions/StreamingPolicyPlayReadyConfiguration", + "description": "PlayReady configurations" + }, + "widevine": { + "$ref": "#/definitions/StreamingPolicyWidevineConfiguration", + "description": "Widevine configurations" + } + }, + "type": "object", + "description": "Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy" + }, + "CencDrmConfiguration": { + "properties": { + "playReady": { + "$ref": "#/definitions/StreamingPolicyPlayReadyConfiguration", + "description": "PlayReady configurations" + }, + "widevine": { + "$ref": "#/definitions/StreamingPolicyWidevineConfiguration", + "description": "Widevine configurations" + } + }, + "type": "object", + "description": "Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy" + }, + "EnabledProtocols": { + "properties": { + "download": { + "type": "boolean", + "description": "Enable Download protocol or not" + }, + "dash": { + "type": "boolean", + "description": "Enable DASH protocol or not" + }, + "hls": { + "type": "boolean", + "description": "Enable HLS protocol or not" + }, + "smoothStreaming": { + "type": "boolean", + "description": "Enable SmoothStreaming protocol or not" + } + }, + "type": "object", + "required": [ + "download", + "dash", + "hls", + "smoothStreaming" + ], + "description": "Class to specify which protocols are enabled" + }, + "NoEncryption": { + "properties": { + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "Representing supported protocols" + } + }, + "type": "object", + "description": "Class for NoEncryption scheme" + }, + "EnvelopeEncryption": { + "properties": { + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "Representing supported protocols" + }, + "clearTracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackSelection" + }, + "description": "Representing which tracks should not be encrypted" + }, + "contentKeys": { + "$ref": "#/definitions/StreamingPolicyContentKeys", + "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks" + }, + "customKeyAcquisitionUrlTemplate": { + "type": "string", + "description": "Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested." + } + }, + "type": "object", + "description": "Class for EnvelopeEncryption encryption scheme" + }, + "CommonEncryptionCenc": { + "properties": { + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "Representing supported protocols" + }, + "clearTracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackSelection" + }, + "description": "Representing which tracks should not be encrypted" + }, + "contentKeys": { + "$ref": "#/definitions/StreamingPolicyContentKeys", + "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks" + }, + "drm": { + "$ref": "#/definitions/CencDrmConfiguration", + "description": "Configuration of DRMs for CommonEncryptionCenc encryption scheme" + } + }, + "type": "object", + "description": "Class for envelope encryption scheme" + }, + "CommonEncryptionCbcs": { + "properties": { + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "Representing supported protocols" + }, + "clearTracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackSelection" + }, + "description": "Representing which tracks should not be encrypted" + }, + "contentKeys": { + "$ref": "#/definitions/StreamingPolicyContentKeys", + "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks" + }, + "drm": { + "$ref": "#/definitions/CbcsDrmConfiguration", + "description": "Configuration of DRMs for current encryption scheme" + } + }, + "type": "object", + "description": "Class for CommonEncryptionCbcs encryption scheme" + }, + "StreamingPolicyProperties": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "Creation time of Streaming Policy", + "readOnly": true, + "x-nullable": false + }, + "defaultContentKeyPolicyName": { + "type": "string", + "description": "Default ContentKey used by current Streaming Policy" + }, + "envelopeEncryption": { + "$ref": "#/definitions/EnvelopeEncryption", + "description": "Configuration of EnvelopeEncryption" + }, + "commonEncryptionCenc": { + "$ref": "#/definitions/CommonEncryptionCenc", + "description": "Configuration of CommonEncryptionCenc" + }, + "commonEncryptionCbcs": { + "$ref": "#/definitions/CommonEncryptionCbcs", + "description": "Configuration of CommonEncryptionCbcs" + }, + "noEncryption": { + "$ref": "#/definitions/NoEncryption", + "description": "Configurations of NoEncryption" + } + }, + "type": "object", + "description": "Class to specify properties of Streaming Policy" + }, + "StreamingPolicy": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StreamingPolicyProperties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "A Streaming Policy resource" + }, + "StreamingLocatorContentKey": { + "properties": { + "id": { + "type": "string", + "format": "uuid", + "description": "ID of Content Key" + }, + "type": { + "type": "string", + "enum": [ + "CommonEncryptionCenc", + "CommonEncryptionCbcs", + "EnvelopeEncryption" + ], + "x-ms-enum": { + "name": "StreamingLocatorContentKeyType", + "values": [ + { + "value": "CommonEncryptionCenc", + "description": "Common Encryption using CENC" + }, + { + "value": "CommonEncryptionCbcs", + "description": "Common Encryption using CBCS" + }, + { + "value": "EnvelopeEncryption", + "description": "Envelope Encryption" + } + ], + "modelAsString": true + }, + "description": "Encryption type of Content Key", + "readOnly": true, + "x-nullable": false + }, + "labelReferenceInStreamingPolicy": { + "type": "string", + "description": "Label of Content Key as specified in the Streaming Policy" + }, + "value": { + "type": "string", + "description": "Value of Content Key" + }, + "policyName": { + "type": "string", + "description": "ContentKeyPolicy used by Content Key", + "readOnly": true + }, + "tracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackSelection" + }, + "description": "Tracks which use this Content Key", + "readOnly": true + } + }, + "type": "object", + "required": [ + "id" + ], + "description": "Class for content key in Streaming Locator" + }, + "StreamingPath": { + "properties": { + "streamingProtocol": { + "type": "string", + "enum": [ + "Hls", + "Dash", + "SmoothStreaming", + "Download" + ], + "x-ms-enum": { + "name": "StreamingPolicyStreamingProtocol", + "values": [ + { + "value": "Hls", + "description": "HLS protocol" + }, + { + "value": "Dash", + "description": "DASH protocol" + }, + { + "value": "SmoothStreaming", + "description": "SmoothStreaming protocol" + }, + { + "value": "Download", + "description": "Download protocol" + } + ], + "modelAsString": true + }, + "description": "Streaming protocol" + }, + "encryptionScheme": { + "type": "string", + "enum": [ + "NoEncryption", + "EnvelopeEncryption", + "CommonEncryptionCenc", + "CommonEncryptionCbcs" + ], + "x-ms-enum": { + "name": "EncryptionScheme", + "values": [ + { + "value": "NoEncryption", + "description": "NoEncryption scheme" + }, + { + "value": "EnvelopeEncryption", + "description": "EnvelopeEncryption scheme" + }, + { + "value": "CommonEncryptionCenc", + "description": "CommonEncryptionCenc scheme" + }, + { + "value": "CommonEncryptionCbcs", + "description": "CommonEncryptionCbcs scheme" + } + ], + "modelAsString": true + }, + "description": "Encryption scheme" + }, + "paths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Streaming paths for each protocol and encryptionScheme pair" + } + }, + "type": "object", + "required": [ + "streamingProtocol", + "encryptionScheme" + ], + "description": "Class of paths for streaming" + }, + "StreamingLocatorProperties": { + "properties": { + "assetName": { + "type": "string", + "description": "Asset Name" + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation time of the Streaming Locator.", + "readOnly": true, + "x-nullable": false + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the Streaming Locator." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the Streaming Locator." + }, + "streamingLocatorId": { + "type": "string", + "format": "uuid", + "description": "The StreamingLocatorId of the Streaming Locator." + }, + "streamingPolicyName": { + "type": "string", + "description": "Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'" + }, + "defaultContentKeyPolicyName": { + "type": "string", + "description": "Name of the default ContentKeyPolicy used by this Streaming Locator." + }, + "contentKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingLocatorContentKey" + }, + "description": "The ContentKeys used by this Streaming Locator." + }, + "alternativeMediaId": { + "type": "string", + "description": "Alternative Media ID of this Streaming Locator" + }, + "filters": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of asset or account filters which apply to this streaming locator" + } + }, + "type": "object", + "required": [ + "assetName", + "streamingPolicyName" + ], + "description": "Properties of the Streaming Locator." + }, + "ListContentKeysResponse": { + "properties": { + "contentKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingLocatorContentKey" + }, + "description": "ContentKeys used by current Streaming Locator" + } + }, + "type": "object", + "description": "Class of response for listContentKeys action" + }, + "ListPathsResponse": { + "properties": { + "streamingPaths": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingPath" + }, + "description": "Streaming Paths supported by current Streaming Locator" + }, + "downloadPaths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Download Paths supported by current Streaming Locator" + } + }, + "type": "object", + "description": "Class of response for listPaths action" + }, + "StreamingLocator": { + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StreamingLocatorProperties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "description": "A Streaming Locator resource" + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties." + } + }, + "type": "object", + "description": "The API error." + }, + "StreamingPolicyCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingPolicy" + }, + "description": "A collection of StreamingPolicy items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of StreamingPolicy items." + }, + "StreamingLocatorCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingLocator" + }, + "description": "A collection of StreamingLocator items." + }, + "@odata.nextLink": { + "type": "string", + "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." + } + }, + "type": "object", + "description": "A collection of StreamingLocator items." + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies": { + "get": { + "summary": "List Streaming Policies", + "description": "Lists the Streaming Policies in the account", + "operationId": "StreamingPolicies_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StreamingPolicyCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the key by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/StreamingPolicy", + "x-ms-examples": { + "Lists Streaming Policies": { + "$ref": "examples/streaming-policies-list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}": { + "get": { + "summary": "Get a Streaming Policy", + "description": "Get the details of a Streaming Policy in the Media Services account", + "operationId": "StreamingPolicies_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StreamingPolicy" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Policy name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Streaming Policy by name": { + "$ref": "examples/streaming-policy-get-by-name.json" + } + } + }, + "put": { + "summary": "Create a Streaming Policy", + "description": "Create a Streaming Policy in the Media Services account", + "operationId": "StreamingPolicies_Create", + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/StreamingPolicy" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Policy name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StreamingPolicy" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Creates a Streaming Policy with clear streaming": { + "$ref": "examples/streaming-policies-create-clear.json" + }, + "Creates a Streaming Policy with envelopeEncryption only": { + "$ref": "examples/streaming-policies-create-envelopeEncryption-only.json" + }, + "Creates a Streaming Policy with commonEncryptionCenc only": { + "$ref": "examples/streaming-policies-create-commonEncryptionCenc-only.json" + }, + "Creates a Streaming Policy with commonEncryptionCbcs only": { + "$ref": "examples/streaming-policies-create-commonEncryptionCbcs-only.json" + }, + "Creates a Streaming Policy with secure streaming": { + "$ref": "examples/streaming-policies-create-secure-streaming.json" + } + } + }, + "delete": { + "summary": "Delete a Streaming Policy", + "description": "Deletes a Streaming Policy in the Media Services account", + "operationId": "StreamingPolicies_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Policy name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Streaming Policy": { + "$ref": "examples/streaming-policies-delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators": { + "get": { + "summary": "List Streaming Locators", + "description": "Lists the Streaming Locators in the account", + "operationId": "StreamingLocators_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StreamingLocatorCollection" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Restricts the set of items returned." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies the key by which the result collection should be ordered." + } + ], + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-odata": "#/definitions/StreamingLocator", + "x-ms-examples": { + "Lists Streaming Locators": { + "$ref": "examples/streaming-locators-list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}": { + "get": { + "summary": "Get a Streaming Locator", + "description": "Get the details of a Streaming Locator in the Media Services account", + "operationId": "StreamingLocators_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StreamingLocator" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingLocatorName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Locator name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Get a Streaming Locator by name": { + "$ref": "examples/streaming-locators-get-by-name.json" + } + } + }, + "put": { + "summary": "Create a Streaming Locator", + "description": "Create a Streaming Locator in the Media Services account", + "operationId": "StreamingLocators_Create", + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/StreamingLocator" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingLocatorName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Locator name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StreamingLocator" + }, + "description": "The request parameters" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Creates a Streaming Locator with clear streaming": { + "$ref": "examples/streaming-locators-create-clear.json" + }, + "Creates a Streaming Locator with secure streaming": { + "$ref": "examples/streaming-locators-create-secure.json" + }, + "Creates a Streaming Locator with user defined content keys": { + "$ref": "examples/streaming-locators-create-secure-userDefinedContentKeys.json" + } + } + }, + "delete": { + "summary": "Delete a Streaming Locator", + "description": "Deletes a Streaming Locator in the Media Services account", + "operationId": "StreamingLocators_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingLocatorName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Locator name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "Delete a Streaming Locator": { + "$ref": "examples/streaming-locators-delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys": { + "post": { + "summary": "List Content Keys", + "description": "List Content Keys used by this Streaming Locator", + "operationId": "StreamingLocators_ListContentKeys", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListContentKeysResponse" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingLocatorName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Locator name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "List Content Keys": { + "$ref": "examples/streaming-locators-list-content-keys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths": { + "post": { + "summary": "List Paths", + "description": "List Paths supported by this Streaming Locator", + "operationId": "StreamingLocators_ListPaths", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListPathsResponse" + } + }, + "default": { + "description": "Detailed error information.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "name": "streamingLocatorName", + "in": "path", + "required": true, + "type": "string", + "description": "The Streaming Locator name." + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "x-ms-examples": { + "List Paths which has streaming paths only": { + "$ref": "examples/streaming-locators-list-paths-streaming-only.json" + }, + "List Paths which has streaming paths and download paths": { + "$ref": "examples/streaming-locators-list-paths-streaming-and-download.json" + } + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The unique identifier for a Microsoft Azure subscription." + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The Media Services account name.", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The Version of the API to be used with the client request." + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json new file mode 100644 index 000000000000..cde6484e334c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json @@ -0,0 +1,171 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "filterName": "newAccountFilter", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "operation": "Equal", + "value": "Audio" + }, + { + "property": "Language", + "operation": "NotEqual", + "value": "en" + }, + { + "property": "FourCC", + "operation": "NotEqual", + "value": "EC-3" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "operation": "Equal", + "value": "Video" + }, + { + "property": "Bitrate", + "operation": "Equal", + "value": "3000000-5000000" + } + ] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "newAccountFilter", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + }, + "200": { + "body": { + "name": "newAccountFilter", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json new file mode 100644 index 000000000000..ad07ff6d257e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "filterName": "accountFilterWithTimeWindowAndTrack", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json new file mode 100644 index 000000000000..693f7cbc5eea --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "filterName": "accountFilterWithTrack", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "accountFilterWithTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json new file mode 100644 index 000000000000..68dc6fa18168 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "accountFilterWithTimeWindowAndTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + }, + { + "name": "accountFilterWithTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json new file mode 100644 index 000000000000..7701e39e4ac6 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "filterName": "accountFilterWithTimeWindowAndTrack", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "presentationTimeRange": { + "startTimestamp": 10, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "accountFilterWithTimeWindowAndTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack", + "type": "Microsoft.Media/mediaservices/accountFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 10, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json new file mode 100644 index 000000000000..4ef7fa721199 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "locationName": "japaneast", + "parameters": { + "name": "contosonew", + "type": "Microsoft.Media/MediaService" + }, + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "None", + "message": "" + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json new file mode 100644 index 000000000000..3451dc6b0572 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contososports", + "api-version": "2018-07-01", + "parameters": { + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", + "type": "Primary" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "contososports", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", + "type": "Primary" + } + ] + } + } + }, + "200": { + "body": { + "name": "contososports", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", + "type": "Primary" + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json new file mode 100644 index 000000000000..c881a84854c0 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contososports", + "api-version": "2018-07-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json new file mode 100644 index 000000000000..4ae9745f6b2a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosotv", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "contosotv", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore", + "type": "Primary" + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json new file mode 100644 index 000000000000..2f59e9cae5ef --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "contosotv", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore", + "type": "Primary" + } + ] + } + }, + { + "name": "contosomovies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore", + "type": "Primary" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json new file mode 100644 index 000000000000..665c0edcd6bc --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contososports", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "contososports", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", + "type": "Primary" + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json new file mode 100644 index 000000000000..07e64ecaadba --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "contosotv", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore", + "type": "Primary" + } + ] + } + }, + { + "name": "contosomovies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore", + "type": "Primary" + } + ] + } + }, + { + "name": "fabrikamnews", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/fabrikamnews", + "type": "Microsoft.Media/mediaservices", + "location": "East US", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "mediaServiceId": "d96036f9-4e37-491d-8c29-5bc53a29dfcd", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Storage/storageAccounts/fabrikamnewsstore", + "type": "Primary" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json new file mode 100644 index 000000000000..ea9b54b7ffd8 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contososports", + "api-version": "2018-07-01", + "parameters": { + "id": "contososportsstore" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json new file mode 100644 index 000000000000..0d4396b72abe --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contososports", + "api-version": "2018-07-01", + "parameters": { + "tags": { + "key1": "value3" + } + } + }, + "responses": { + "200": { + "body": { + "name": "contososports", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports", + "type": "Microsoft.Media/mediaservices", + "location": "South Central US", + "tags": { + "key1": "value3" + }, + "properties": { + "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d", + "storageAccounts": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", + "type": "Primary" + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json new file mode 100644 index 000000000000..590d51470183 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountRainer", + "filterName": "newAssetFilter", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "operation": "Equal", + "value": "Audio" + }, + { + "property": "Language", + "operation": "NotEqual", + "value": "en" + }, + { + "property": "FourCC", + "operation": "NotEqual", + "value": "EC-3" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "operation": "Equal", + "value": "Video" + }, + { + "property": "Bitrate", + "operation": "Equal", + "value": "3000000-5000000" + } + ] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "newAssetFilter", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/newAssetFilter", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + }, + "200": { + "body": { + "name": "newAssetFilter", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/newAssetFilter", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json new file mode 100644 index 000000000000..3b890a6f7ccc --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountRainer", + "filterName": "assetFilterWithTimeWindowAndTrack", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json new file mode 100644 index 000000000000..f341343ff1a2 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountRainer", + "filterName": "assetFilterWithTimeWindowAndTrack", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "assetFilterWithTimeWindowAndTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json new file mode 100644 index 000000000000..fd9611d738ea --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json @@ -0,0 +1,131 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountRainer", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "assetFilterWithTimeWindowAndTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + }, + { + "name": "assetFilterWithTimeWindow", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindow", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 0, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [] + } + }, + { + "name": "assetFilterWithTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTrack", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json new file mode 100644 index 000000000000..9bb9d07b5e21 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountRainer", + "filterName": "assetFilterWithTimeWindowAndTrack", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "presentationTimeRange": { + "startTimestamp": 10, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "assetFilterWithTimeWindowAndTrack", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack", + "type": "Microsoft.Media/mediaservices/assets/assetFilters", + "properties": { + "presentationTimeRange": { + "startTimestamp": 10, + "endTimestamp": 170000000, + "presentationWindowDuration": 900000000000, + "liveBackoffDuration": 0, + "timescale": 10000000, + "forceEndTimestamp": false + }, + "firstQuality": { + "bitrate": 128000 + }, + "tracks": [ + { + "trackSelections": [ + { + "property": "Type", + "value": "Audio", + "operation": "Equal" + }, + { + "property": "Language", + "value": "en", + "operation": "NotEqual" + }, + { + "property": "FourCC", + "value": "EC-3", + "operation": "NotEqual" + } + ] + }, + { + "trackSelections": [ + { + "property": "Type", + "value": "Video", + "operation": "Equal" + }, + { + "property": "Bitrate", + "value": "3000000-5000000", + "operation": "Equal" + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json new file mode 100644 index 000000000000..431c93bdb73e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountLogan", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "A documentary showing the ascent of Mount Logan", + "storageAccountName": "storage0" + } + } + }, + "responses": { + "201": { + "body": { + "name": "ClimbingMountLogan", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountLogan", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "09194258-36ba-4403-abb3-68780e6bc545", + "created": "2018-08-08T18:29:26.08Z", + "lastModified": "2018-08-08T18:29:26.08Z", + "description": "A documentary showing the ascent of Mount Logan", + "container": "asset-09194258-36ba-4403-abb3-68780e6bc545", + "storageAccountName": "storage0", + "storageEncryptionFormat": "None" + } + } + }, + "200": { + "body": { + "name": "ClimbingMountLogan", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountLogan", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "09194258-36ba-4403-abb3-68780e6bc545", + "created": "2018-08-08T18:29:26.08Z", + "lastModified": "2018-08-08T18:29:26.107Z", + "description": "A documentary showing the ascent of Mount Logan", + "container": "asset-09194258-36ba-4403-abb3-68780e6bc545", + "storageAccountName": "storage0", + "storageEncryptionFormat": "None" + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json new file mode 100644 index 000000000000..3661cae3e441 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountAdams", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json new file mode 100644 index 000000000000..cc427282d0fa --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountAdams", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "ClimbingMountAdams", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "1b648c1a-2268-461d-a1da-742bde23db40", + "created": "2013-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00002", + "description": "A documentary showing the ascent of Mount Adams", + "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40", + "storageEncryptionFormat": "None" + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json new file mode 100644 index 000000000000..c7c3f3fa0606 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountSaintHelens", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "key": "AAAAAAAAAAAAAAAAAAAAAA==", + "assetFileEncryptionMetadata": [ + { + "initializationVector": "-988929866", + "assetFileName": "AssetFile0", + "assetFileId": "a9536fa7-bd5d-4f84-a137-d1290982fe95" + }, + { + "initializationVector": "1604993689", + "assetFileName": "AssetFile1", + "assetFileId": "f4060046-94ac-422d-824c-3f1d6aa3ecf2" + }, + { + "initializationVector": "100082635", + "assetFileName": "AssetFile2", + "assetFileId": "485968d3-ddae-4b13-98e7-901201a9620b" + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json new file mode 100644 index 000000000000..714dd42b6137 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ClimbingLittleTahoma", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingLittleTahoma", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe", + "created": "2012-04-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00003", + "description": "A documentary showing the ascent of Little Tahoma", + "container": "asset-e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountAdams", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "1b648c1a-2268-461d-a1da-742bde23db40", + "created": "2013-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00002", + "description": "A documentary showing the ascent of Mount Adams", + "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountBaker", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b", + "created": "2011-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00004", + "description": "A documentary showing the ascent of Mount Baker", + "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountRainer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "258878ef-fe05-4518-988f-052e86dc19f6", + "created": "2018-08-08T18:29:24.3948982Z", + "lastModified": "2018-08-08T21:29:24.3948982Z", + "alternateId": "altClimbingMountRainer", + "description": "descClimbingMountRainer", + "container": "testasset0", + "storageAccountName": "storage0", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountRainier", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2012-11-01T00:00:00Z", + "alternateId": "CLIMB00001", + "description": "A documentary showing the ascent of Mount Rainier", + "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountSaintHelens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d", + "created": "2013-03-01T00:00:00Z", + "lastModified": "2013-04-01T00:00:00Z", + "alternateId": "CLIMB00005", + "description": "A documentary showing the ascent of Saint Helens", + "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d", + "storageEncryptionFormat": "MediaStorageClientEncryption" + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json new file mode 100644 index 000000000000..a2a1cba3d82f --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01", + "$orderby": "properties/created" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ClimbingMountBaker", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b", + "created": "2011-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00004", + "description": "A documentary showing the ascent of Mount Baker", + "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingLittleTahoma", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingLittleTahoma", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe", + "created": "2012-04-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00003", + "description": "A documentary showing the ascent of Little Tahoma", + "container": "asset-e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountRainier", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2012-11-01T00:00:00Z", + "alternateId": "CLIMB00001", + "description": "A documentary showing the ascent of Mount Rainier", + "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountAdams", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "1b648c1a-2268-461d-a1da-742bde23db40", + "created": "2013-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00002", + "description": "A documentary showing the ascent of Mount Adams", + "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountSaintHelens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d", + "created": "2013-03-01T00:00:00Z", + "lastModified": "2013-04-01T00:00:00Z", + "alternateId": "CLIMB00005", + "description": "A documentary showing the ascent of Saint Helens", + "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d", + "storageEncryptionFormat": "MediaStorageClientEncryption" + } + }, + { + "name": "ClimbingMountRainer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "8cdacfe5-8473-413a-9aec-dd2a478b37c8", + "created": "2018-08-08T18:29:25.0514734Z", + "lastModified": "2018-08-08T21:29:25.0514734Z", + "alternateId": "altClimbingMountRainer", + "description": "descClimbingMountRainer", + "container": "testasset0", + "storageAccountName": "storage0", + "storageEncryptionFormat": "None" + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json new file mode 100644 index 000000000000..9cc1ef62ea2a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01", + "$orderby": "properties/created", + "$filter": "properties/created gt 2012-06-01 and properties/created lt 2013-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ClimbingMountRainier", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2012-11-01T00:00:00Z", + "alternateId": "CLIMB00001", + "description": "A documentary showing the ascent of Mount Rainier", + "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountAdams", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "1b648c1a-2268-461d-a1da-742bde23db40", + "created": "2013-02-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "alternateId": "CLIMB00002", + "description": "A documentary showing the ascent of Mount Adams", + "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40", + "storageEncryptionFormat": "None" + } + }, + { + "name": "ClimbingMountSaintHelens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d", + "created": "2013-03-01T00:00:00Z", + "lastModified": "2013-04-01T00:00:00Z", + "alternateId": "CLIMB00005", + "description": "A documentary showing the ascent of Saint Helens", + "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d", + "storageEncryptionFormat": "MediaStorageClientEncryption" + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json new file mode 100644 index 000000000000..f861fd39b54b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountBaker", + "api-version": "2018-07-01", + "parameters": { + "permissions": "ReadWrite", + "expiryTime": "2018-01-01T10:00:00.007Z" + } + }, + "responses": { + "200": { + "body": { + "assetContainerSasUrls": [ + "https://storage0.blob.core.windows.net/asset-89af1750-e681-4fbe-8c4c-9a5567867a6b?sr=b&sig=&se=2018-01-01T10:00:00Z&sp=lrw", + "https://storage0.blob.core.windows.net/asset-89af1750-e681-4fbe-8c4c-9a5567867a6b?sr=b&sig=&se=2018-01-01T10:00:00Z&sp=lrw" + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json new file mode 100644 index 000000000000..3646044598cc --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountSaintHelens", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "streamingLocators": [ + { + "name": "secureStreamingLocator", + "assetName": "ClimbingMountSaintHelens", + "created": "2018-08-08T18:29:26.9729344Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "36b74ce3-20b4-4de0-84f1-97e9138e886c", + "streamingPolicyName": "secureStreamingPolicy" + }, + { + "name": "clearStreamingLocator", + "assetName": "ClimbingMountSaintHelens", + "created": "2018-08-08T18:29:26.9487636Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "3e8d9ac3-50f6-4f6d-8482-078ceb56f23a", + "streamingPolicyName": "clearStreamingPolicy" + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json new file mode 100644 index 000000000000..aa8743214b59 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "assetName": "ClimbingMountBaker", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "A documentary showing the ascent of Mount Baker in HD" + } + } + }, + "responses": { + "200": { + "body": { + "name": "ClimbingMountBaker", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker", + "type": "Microsoft.Media/mediaservices/assets", + "properties": { + "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b", + "created": "2011-02-01T00:00:00Z", + "lastModified": "2018-08-08T18:29:26.503Z", + "alternateId": "CLIMB00004", + "description": "A documentary showing the ascent of Mount Baker in HD", + "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b", + "storageEncryptionFormat": "None" + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json new file mode 100644 index 000000000000..6c16d2e0f75a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyCreatedWithMultipleOptions", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "ArmPolicyDescription", + "options": [ + { + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "AAAAAAAAAAAAAAAAAAAAAA==" + }, + "restrictionTokenType": "Swt" + } + }, + { + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "PolicyCreatedWithMultipleOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "07ad673b-dc14-4230-adab-716622f33992", + "created": "2018-08-08T18:29:29.98Z", + "lastModified": "2018-08-08T18:29:29.98Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0", + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [], + "restrictionTokenType": "Swt" + } + }, + { + "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a", + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "PolicyCreatedWithMultipleOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "07ad673b-dc14-4230-adab-716622f33992", + "created": "2018-08-08T18:29:29.98Z", + "lastModified": "2018-08-08T18:29:29.98Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0", + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [], + "restrictionTokenType": "Swt" + } + }, + { + "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a", + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json new file mode 100644 index 000000000000..7395f4a1b42e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithClearKeyOptionAndSwtTokenRestriction", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "ArmPolicyDescription", + "options": [ + { + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "AAAAAAAAAAAAAAAAAAAAAA==" + }, + "restrictionTokenType": "Swt" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9", + "created": "2018-08-08T18:29:29.837Z", + "lastModified": "2018-08-08T18:29:29.837Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797", + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [], + "restrictionTokenType": "Swt" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9", + "created": "2018-08-08T18:29:29.837Z", + "lastModified": "2018-08-08T18:29:29.837Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797", + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [], + "restrictionTokenType": "Swt" + } + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json new file mode 100644 index 000000000000..d2177b3b804a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "ArmPolicyDescription", + "options": [ + { + "name": "ArmPolicyOptionName", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "licenses": [ + { + "allowTestDevices": true, + "beginDate": "2017-10-16T18:22:53.46Z", + "playRight": { + "scmsRestriction": 2, + "digitalVideoOnlyContentRestriction": false, + "imageConstraintForAnalogComponentVideoRestriction": true, + "imageConstraintForAnalogComputerMonitorRestriction": false, + "allowPassingVideoContentToUnknownOutput": "NotAllowed" + }, + "licenseType": "Persistent", + "contentKeyLocation": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + }, + "contentType": "UltraVioletDownload" + } + ] + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "PolicyWithPlayReadyOptionAndOpenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2019-06-03T22:43:06.897Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "ae7b4a3b-b2c5-4161-9197-ba4d4239f361", + "name": "ArmPolicyOptionName", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "licenses": [ + { + "allowTestDevices": true, + "beginDate": "2017-10-16T18:22:53.46Z", + "playRight": { + "scmsRestriction": 2, + "digitalVideoOnlyContentRestriction": false, + "imageConstraintForAnalogComponentVideoRestriction": true, + "imageConstraintForAnalogComputerMonitorRestriction": false, + "allowPassingVideoContentToUnknownOutput": "NotAllowed" + }, + "licenseType": "Persistent", + "contentKeyLocation": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + }, + "contentType": "UltraVioletDownload" + } + ] + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "PolicyWithPlayReadyOptionAndOpenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2019-06-03T22:43:06.897Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "ae7b4a3b-b2c5-4161-9197-ba4d4239f361", + "name": "ArmPolicyOptionName", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "licenses": [ + { + "allowTestDevices": true, + "beginDate": "2017-10-16T18:22:53.46Z", + "playRight": { + "scmsRestriction": 2, + "digitalVideoOnlyContentRestriction": false, + "imageConstraintForAnalogComponentVideoRestriction": true, + "imageConstraintForAnalogComputerMonitorRestriction": false, + "allowPassingVideoContentToUnknownOutput": "NotAllowed" + }, + "licenseType": "Persistent", + "contentKeyLocation": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + }, + "contentType": "UltraVioletDownload" + } + ] + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + } + } +} + diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json new file mode 100644 index 000000000000..1df5682c7cef --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithWidevineOptionAndJwtTokenRestriction", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "ArmPolicyDescription", + "options": [ + { + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey", + "exponent": "AQAB", + "modulus": "AQAD" + }, + "alternateVerificationKeys": [ + { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "AAAAAAAAAAAAAAAAAAAAAA==" + } + ], + "restrictionTokenType": "Jwt" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "PolicyWithWidevineOptionAndJwtTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c", + "created": "2018-08-08T18:29:29.663Z", + "lastModified": "2018-08-08T18:29:29.663Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f", + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey", + "exponent": "", + "modulus": "" + }, + "alternateVerificationKeys": [ + { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + } + ], + "requiredClaims": [], + "restrictionTokenType": "Jwt" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "PolicyWithWidevineOptionAndJwtTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c", + "created": "2018-08-08T18:29:29.663Z", + "lastModified": "2018-08-08T18:29:29.663Z", + "description": "ArmPolicyDescription", + "options": [ + { + "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f", + "name": "widevineoption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "urn:issuer", + "audience": "urn:audience", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey", + "exponent": "", + "modulus": "" + }, + "alternateVerificationKeys": [ + { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + } + ], + "requiredClaims": [], + "restrictionTokenType": "Jwt" + } + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json new file mode 100644 index 000000000000..7447440dc857 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json new file mode 100644 index 000000000000..250a24b9d44e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithMultipleOptions", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "PolicyWithMultipleOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a", + "created": "2015-12-01T00:00:00Z", + "lastModified": "2016-12-02T00:00:00Z", + "description": "A policy with multiple options.", + "options": [ + { + "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier" + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt" + } + }, + { + "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json new file mode 100644 index 000000000000..9143019cbbd5 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithMultipleOptions", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a", + "created": "2015-12-01T00:00:00Z", + "lastModified": "2016-12-02T00:00:00Z", + "description": "A policy with multiple options.", + "options": [ + { + "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "AAA=" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier" + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt" + } + }, + { + "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json new file mode 100644 index 000000000000..750d942f695b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "PolicyWithClearKeyOptionAndTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "8352435b-ebea-4681-aae7-e19277771f64", + "created": "2017-12-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "description": "A policy with one ClearKey option and Open Restriction.", + "options": [ + { + "policyOptionId": "a3448d09-567a-4642-8309-d17e846be59f", + "name": null, + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier", + "claimValue": null + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt", + "openIdConnectDiscoveryDocument": null + } + } + ] + } + }, + { + "name": "PolicyWithMultipleOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a", + "created": "2015-12-01T00:00:00Z", + "lastModified": "2016-12-02T00:00:00Z", + "description": "A policy with multiple options.", + "options": [ + { + "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f", + "name": null, + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier", + "claimValue": null + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt", + "openIdConnectDiscoveryDocument": null + } + }, + { + "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f", + "name": null, + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + }, + { + "name": "PolicyWithPlayReadyOptionAndOpenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2012-11-01T00:00:00Z", + "description": "A policy with one PlayReady option and Open Restriction.", + "options": [ + { + "policyOptionId": "294a833f-f128-48be-9edf-8d1bb5b35ff3", + "name": null, + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "licenses": [ + { + "allowTestDevices": false, + "beginDate": null, + "expirationDate": null, + "relativeBeginDate": null, + "relativeExpirationDate": null, + "gracePeriod": null, + "playRight": { + "firstPlayExpiration": null, + "scmsRestriction": null, + "agcAndColorStripeRestriction": null, + "explicitAnalogTelevisionOutputRestriction": null, + "digitalVideoOnlyContentRestriction": false, + "imageConstraintForAnalogComponentVideoRestriction": false, + "imageConstraintForAnalogComputerMonitorRestriction": false, + "allowPassingVideoContentToUnknownOutput": "NotAllowed", + "uncompressedDigitalVideoOpl": null, + "compressedDigitalVideoOpl": null, + "analogVideoOpl": null, + "compressedDigitalAudioOpl": null, + "uncompressedDigitalAudioOpl": null + }, + "licenseType": "NonPersistent", + "contentKeyLocation": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + }, + "contentType": "Unspecified" + } + ], + "responseCustomData": "testCustomData" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json new file mode 100644 index 000000000000..3964906825e4 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json @@ -0,0 +1,144 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01", + "$orderby": "properties/lastModified" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "PolicyWithPlayReadyOptionAndOpenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04", + "created": "2012-11-01T00:00:00Z", + "lastModified": "2012-11-01T00:00:00Z", + "description": "A policy with one PlayReady option and Open Restriction.", + "options": [ + { + "policyOptionId": "294a833f-f128-48be-9edf-8d1bb5b35ff3", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration", + "licenses": [ + { + "allowTestDevices": false, + "playRight": { + "digitalVideoOnlyContentRestriction": false, + "imageConstraintForAnalogComponentVideoRestriction": false, + "imageConstraintForAnalogComputerMonitorRestriction": false, + "allowPassingVideoContentToUnknownOutput": "NotAllowed" + }, + "licenseType": "NonPersistent", + "contentKeyLocation": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + }, + "contentType": "Unspecified" + } + ], + "responseCustomData": "testCustomData" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + }, + { + "name": "PolicyWithMultipleOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a", + "created": "2015-12-01T00:00:00Z", + "lastModified": "2016-12-02T00:00:00Z", + "description": "A policy with multiple options.", + "options": [ + { + "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier" + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt" + } + }, + { + "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration", + "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + }, + { + "name": "PolicyWithClearKeyOptionAndTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "8352435b-ebea-4681-aae7-e19277771f64", + "created": "2017-12-01T00:00:00Z", + "lastModified": "2017-11-01T00:00:00Z", + "description": "A policy with one ClearKey option and Open Restriction.", + "options": [ + { + "policyOptionId": "a3448d09-567a-4642-8309-d17e846be59f", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction", + "issuer": "http://testacs", + "audience": "urn:test", + "primaryVerificationKey": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey", + "keyValue": "" + }, + "alternateVerificationKeys": [], + "requiredClaims": [ + { + "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier" + }, + { + "claimType": "DRM", + "claimValue": "Widevine" + } + ], + "restrictionTokenType": "Jwt" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json new file mode 100644 index 000000000000..00509549496e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01", + "$filter": "properties/lastModified gt 2016-06-01 and properties/created lt 2013-07-01" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json new file mode 100644 index 000000000000..6ad18004d6f4 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "contentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "Updated Policy", + "options": [ + { + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "PolicyWithClearKeyOptionAndTokenRestriction", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction", + "type": "Microsoft.Media/mediaservices/contentKeyPolicies", + "properties": { + "policyId": "8352435b-ebea-4681-aae7-e19277771f64", + "created": "2017-12-01T00:00:00Z", + "lastModified": "2018-08-08T18:29:30.303Z", + "description": "Updated Policy", + "options": [ + { + "policyOptionId": "7d3f4bc1-d2bf-43a3-b02e-a7e31ab15d43", + "name": "ClearKeyOption", + "configuration": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + }, + "restriction": { + "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + } + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json new file mode 100644 index 000000000000..0ac966b8b75b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "jobName": "job1" + }, + "responses": { + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json new file mode 100644 index 000000000000..5d89c32c60fa --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "jobName": "job1", + "parameters": { + "properties": { + "input": { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "assetName": "job1-InputAsset" + }, + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "assetName": "job1-OutputAsset" + } + ], + "correlationData": { + "key1": "value1", + "Key 2": "Value 2" + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.2188352Z", + "state": "Queued", + "input": { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1-InputAsset" + }, + "lastModified": "2018-08-08T16:29:58.2188352Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "BuiltInStandardEncoderPreset_0", + "assetName": "job1-OutputAsset" + } + ], + "priority": "Normal", + "correlationData": { + "key1": "value1", + "Key 2": "Value 2" + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json new file mode 100644 index 000000000000..6294423759db --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "jobName": "jobToDelete" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json new file mode 100644 index 000000000000..377c1d76d265 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "jobName": "job1" + }, + "responses": { + "404": {}, + "200": { + "body": { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.1798Z", + "state": "Queued", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1 input" + } + ] + }, + "lastModified": "2018-08-08T16:29:58.1798Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "example-custom-label", + "assetName": "job1 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json new file mode 100644 index 000000000000..5edc04a19e36 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "properties/created ge 2018-09-27T22:56:18.5507138Z and properties/created le 2018-09-27T22:56:28.5507138Z", + "$orderby": "properties/created" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-09-27T22:56:18.5507138Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job2 input" + } + ] + }, + "lastModified": "2018-09-27T22:56:18.5507138Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job2 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-09-27T22:56:28.5507138Z", + "state": "Finished", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job3 input" + } + ] + }, + "lastModified": "2018-09-27T22:56:28.5507138Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Finished", + "progress": 100, + "label": "example-custom-label", + "assetName": "job3 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json new file mode 100644 index 000000000000..0e9639af32a7 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "properties/lastmodified ge 2018-09-27T22:56:18.5821662Z and properties/lastmodified le 2018-09-27T22:56:28.5821662Z", + "$orderby": "properties/lastmodified desc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-09-27T22:56:28.5821662Z", + "state": "Finished", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job3 input" + } + ] + }, + "lastModified": "2018-09-27T22:56:28.5821662Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Finished", + "progress": 100, + "label": "example-custom-label", + "assetName": "job3 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-09-27T22:56:18.5821662Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job2 input" + } + ] + }, + "lastModified": "2018-09-27T22:56:18.5821662Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job2 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json new file mode 100644 index 000000000000..0c04098bed7c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "name eq 'job3' and properties/state eq Microsoft.Media.JobState'finished'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Finished", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job3 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Finished", + "progress": 100, + "label": "example-custom-label", + "assetName": "job3 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json new file mode 100644 index 000000000000..a1dce95541ee --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "name eq 'job1' or name eq 'job2'", + "$orderby": "name" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Queued", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "example-custom-label", + "assetName": "job1 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job2 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job2 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json new file mode 100644 index 000000000000..72eabbf3f41b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "properties/state eq Microsoft.Media.JobState'Processing'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job2 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job2 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job3 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job3 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json new file mode 100644 index 000000000000..fbcaef2d9ce2 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "$filter": "properties/state ne Microsoft.Media.JobState'processing'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Queued", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "example-custom-label", + "assetName": "job1 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job4", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job4", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "0001-01-01T00:00:00Z", + "state": "Finished", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job4 input" + } + ] + }, + "lastModified": "0001-01-01T00:00:00Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Finished", + "progress": 100, + "label": "example-custom-label", + "assetName": "job4 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json new file mode 100644 index 000000000000..a389ddb0ee9c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.0908004Z", + "state": "Queued", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1 input" + } + ] + }, + "lastModified": "2018-08-08T16:29:58.0908004Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "example-custom-label", + "assetName": "job1 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.0927994Z", + "state": "Processing", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job2 input" + } + ] + }, + "lastModified": "2018-08-08T16:29:58.0927994Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Processing", + "progress": 50, + "label": "example-custom-label", + "assetName": "job2 output" + } + ], + "priority": "Low", + "correlationData": {} + } + }, + { + "name": "job3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.0927994Z", + "state": "Finished", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job3 input" + } + ] + }, + "lastModified": "2018-08-08T16:29:58.0927994Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Finished", + "progress": 100, + "label": "example-custom-label", + "assetName": "job3 output" + } + ], + "priority": "Low", + "correlationData": {} + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json new file mode 100644 index 000000000000..037037159cb4 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "exampleTransform", + "jobName": "job1", + "parameters": { + "properties": { + "description": "Example job to illustrate update.", + "priority": "High" + } + } + }, + "responses": { + "200": { + "body": { + "name": "job1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", + "type": "Microsoft.Media/mediaservices/transforms/jobs", + "properties": { + "created": "2018-08-08T16:29:58.3218119Z", + "state": "Queued", + "description": "Example job to illustrate update.", + "input": { + "@odata.type": "#Microsoft.Media.JobInputs", + "inputs": [ + { + "@odata.type": "#Microsoft.Media.JobInputAsset", + "files": [], + "assetName": "job1 input" + } + ] + }, + "lastModified": "2018-08-08T16:29:58.3368364Z", + "outputs": [ + { + "@odata.type": "#Microsoft.Media.JobOutputAsset", + "state": "Queued", + "progress": 0, + "label": "example-custom-label", + "assetName": "job1 output" + } + ], + "priority": "High", + "correlationData": {} + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json new file mode 100644 index 000000000000..52a47d97d0d9 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01", + "parameters": { + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "input": { + "streamingProtocol": "RTMP", + "keyFrameIntervalDuration": "PT2S" + }, + "preview": { + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0" + } + ] + } + } + } + } + } + }, + "responses": { + "202": { + "body": { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "resourceState": "Stopped", + "provisioningState": "InProgress", + "created": "2018-03-03T02:25:06.0982751Z", + "lastModified": "2018-03-03T02:25:06.0982751Z", + "vanityUrl": false, + "streamOptions": [], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "endpoints": [] + }, + "preview": { + "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": null + } + ] + } + }, + "endpoints": [] + }, + "encoding": { + "encodingType": "None", + "presetName": null + }, + "crossSiteAccessPolicies": { + "clientAccessPolicy": null, + "crossDomainPolicy": null + } + } + } + }, + "200": { + "body": { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "resourceState": "Stopped", + "provisioningState": "InProgress", + "created": "2018-03-03T02:25:06.0982751Z", + "lastModified": "2018-03-03T02:25:06.0982751Z", + "vanityUrl": false, + "streamOptions": [], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "endpoints": [] + }, + "preview": { + "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": null + } + ] + } + }, + "endpoints": [] + }, + "encoding": { + "encodingType": "None", + "presetName": null + }, + "crossSiteAccessPolicies": { + "clientAccessPolicy": null, + "crossDomainPolicy": null + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json new file mode 100644 index 000000000000..76f800375bfa --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01", + "parameters": { + "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "Name": "myLiveEvent1", + "Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents", + "Location": "West US", + "Tags": { + "DynamicProperties": { + "tag1": "value1", + "tag2": "value2" + } + }, + "Properties": { + "Description": "test event updated", + "Input": { + "StreamingProtocol": "FragmentedMP4", + "KeyFrameIntervalDuration": "PT6S", + "Endpoints": [], + "AccessToken": null + }, + "Preview": { + "Endpoints": [], + "AccessControl": { + "IP": { + "Allow": [ + { + "Name": "AllowOne", + "Address": "192.1.1.0", + "SubnetPrefixLength": null + } + ] + } + }, + "PreviewLocator": null, + "StreamingPolicyName": null + }, + "Encoding": { + "EncodingType": "None", + "PresetName": null + }, + "ProvisioningState": null, + "ResourceState": "Stopped", + "CrossSiteAccessPolicies": null, + "VanityUrl": false, + "StreamOptions": [], + "Created": "2018-03-02T18:25:07.5748853-08:00", + "LastModified": "2018-03-02T18:25:07.5748853-08:00" + } + } + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json new file mode 100644 index 000000000000..8d211c4d12f6 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "resourceState": "Stopped", + "provisioningState": "Succeeded", + "created": "2018-03-03T02:25:08.5564064Z", + "lastModified": "2018-03-03T02:25:08.5564064Z", + "vanityUrl": false, + "streamOptions": [], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": "de153bb0814542d9b7e2339ce9430dc4", + "endpoints": [ + { + "protocol": "FragmentedMP4", + "url": "http://clouddeployment.media-test.net/de153bb0814542d9b7e2339ce9430dc4/ingest.isml" + } + ] + }, + "preview": { + "previewLocator": "a220e223-faf8-4e03-b9a9-2c2432f48025", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": null + } + ] + } + }, + "endpoints": [ + { + "protocol": "FragmentedMP4", + "url": "https://myliveevent1-slitestmedia10.preview-usso.channel.mediaservices.windows.net/a220e223-faf8-4e03-b9a9-2c2432f48025/preview.ism/manifest" + } + ] + }, + "encoding": { + "encodingType": "None", + "presetName": null + }, + "crossSiteAccessPolicies": { + "clientAccessPolicy": null, + "crossDomainPolicy": null + } + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json new file mode 100644 index 000000000000..da80ef5d0805 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01" + }, + "responses": { + "404": {}, + "200": { + "body": { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": {}, + "properties": { + "description": "", + "resourceState": "Stopped", + "provisioningState": "Succeeded", + "created": "2018-03-03T02:25:08.3474032Z", + "lastModified": "2018-03-03T02:25:08.3474032Z", + "vanityUrl": false, + "streamOptions": [ + "Default" + ], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": null, + "endpoints": [ + { + "protocol": "FragmentedMP4", + "url": "http://clouddeployment.media-test.net/ingest.isml" + } + ] + }, + "preview": { + "previewLocator": "763f3ea4-d94f-441c-a634-c833f61a4e04", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": 0 + } + ] + } + }, + "endpoints": [ + { + "protocol": "FragmentedMP4", + "url": "https://testeventopito4idh2r-weibzmedia05.preview-ts051.channel.media-test.windows-int.net/763f3ea4-d94f-441c-a634-c833f61a4e04/preview.ism/manifest" + } + ] + }, + "encoding": { + "encodingType": "None", + "presetName": null + }, + "crossSiteAccessPolicies": { + "clientAccessPolicy": "", + "crossDomainPolicy": "" + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json new file mode 100644 index 000000000000..d5443a60b311 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json new file mode 100644 index 000000000000..d5443a60b311 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json new file mode 100644 index 000000000000..cdf6c800889b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01", + "parameters": { + "removeOutputsOnStop": false + } + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json new file mode 100644 index 000000000000..18062aeadbab --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2019-05-01-preview", + "parameters": { + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "properties": { + "description": "test event updated", + "input": { + "streamingProtocol": "FragmentedMP4", + "keyFrameIntervalDuration": "PT6S" + }, + "preview": { + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0" + } + ] + } + } + } + } + } + }, + "responses": { + "202": { + "body": { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "properties": { + "description": "test event updated", + "resourceState": "Running", + "provisioningState": "InProgress", + "created": "0001-01-01T00:00:00Z", + "lastModified": "0001-01-01T00:00:00Z", + "vanityUrl": false, + "streamOptions": [], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "endpoints": [] + }, + "preview": { + "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + }, + "endpoints": [] + }, + "encoding": { + "encodingType": "None", + "presetName": null + } + } + } + }, + "200": { + "body": { + "name": "myLiveEvent1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1", + "type": "Microsoft.Media/mediaservices/liveevents", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "properties": { + "description": "test event updated", + "resourceState": "Running", + "provisioningState": "InProgress", + "created": "0001-01-01T00:00:00Z", + "lastModified": "0001-01-01T00:00:00Z", + "vanityUrl": false, + "streamOptions": [], + "input": { + "keyFrameIntervalDuration": "PT6S", + "streamingProtocol": "FragmentedMP4", + "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "endpoints": [] + }, + "preview": { + "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", + "streamingPolicyName": null, + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + }, + "endpoints": [] + }, + "encoding": { + "encodingType": "None", + "presetName": null + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json new file mode 100644 index 000000000000..473fa7d65cd1 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "liveOutputName": "myLiveOutput1", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "description": "test live output 1", + "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212", + "archiveWindowLength": "PT5M", + "manifestName": "testmanifest", + "hls": { + "fragmentsPerTsSegment": 5 + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "myLiveOutput1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1", + "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs", + "properties": { + "description": "test live output 1", + "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212", + "archiveWindowLength": "PT5M", + "manifestName": "testmanifest", + "outputSnapTime": 0, + "resourceState": "Creating", + "provisioningState": "Succeeded", + "created": "2018-03-03T02:25:09.9431835Z", + "lastModified": "2018-03-03T02:25:09.9431835Z", + "hls": { + "fragmentsPerTsSegment": 5 + } + } + } + }, + "202": { + "body": { + "name": "myLiveOutput1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1", + "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs", + "properties": { + "description": "test live output 1", + "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212", + "archiveWindowLength": "PT5M", + "manifestName": "testmanifest", + "outputSnapTime": 0, + "resourceState": "Creating", + "provisioningState": "Succeeded", + "created": "2018-03-03T02:25:09.9431835Z", + "lastModified": "2018-03-03T02:25:09.9431835Z", + "hls": { + "fragmentsPerTsSegment": 5 + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json new file mode 100644 index 000000000000..7ff08e04d878 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "liveOutputName": "myLiveOutput1", + "api-version": "2018-07-01" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json new file mode 100644 index 000000000000..879d657299fe --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "liveoutput1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/", + "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs", + "properties": { + "description": null, + "assetName": "95dafce4-5320-464c-8597-909373854119", + "archiveWindowLength": "PT30S", + "manifestName": "c3a23d4b-02a6-4937-a1ad-6416f463fdca", + "outputSnapTime": 0, + "resourceState": "Running", + "provisioningState": "Succeeded", + "created": "0001-01-01T00:00:00-08:00", + "lastModified": "0001-01-01T00:00:00-08:00", + "hls": { + "fragmentsPerTsSegment": 5 + } + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json new file mode 100644 index 000000000000..46d56644799c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "liveEventName": "myLiveEvent1", + "liveOutputName": "myLiveOutput1", + "api-version": "2018-07-01" + }, + "responses": { + "404": {}, + "200": { + "body": { + "name": "myLiveOutput1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1", + "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs", + "properties": { + "description": null, + "assetName": "cb2ae0bc-677a-4830-9c8e-06ce4c4cb607", + "archiveWindowLength": "PT30S", + "manifestName": "fc7096f5-c488-4b86-8302-f3bfde53fc27", + "outputSnapTime": 0, + "resourceState": "Running", + "provisioningState": "Succeeded", + "created": "0001-01-01T00:00:00-08:00", + "lastModified": "0001-01-01T00:00:00-08:00", + "hls": { + "fragmentsPerTsSegment": 5 + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json new file mode 100644 index 000000000000..7426d00e6230 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json @@ -0,0 +1,589 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Media/register/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Microsoft Media Services", + "operation": "Registers the Media Services Resource Provider", + "description": "Registers the subscription for the Media Services resource provider and enables the creation of Media Services accounts" + } + }, + { + "name": "Microsoft.Media/unregister/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Microsoft Media Services", + "operation": "Unregisters the Media Services Resource Provider", + "description": "Unregisters the subscription for the Media Services resource provider" + } + }, + { + "name": "Microsoft.Media/checknameavailability/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Microsoft Media Services", + "operation": "Check Name Availability", + "description": "Checks if a Media Services account name is available" + } + }, + { + "name": "Microsoft.Media/operations/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Available Operations", + "operation": "Get Available Operations", + "description": "Get Available Operations" + } + }, + { + "name": "Microsoft.Media/mediaservices/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Media Services Account", + "operation": "Read Media Services Account", + "description": "Read any Media Services Account" + } + }, + { + "name": "Microsoft.Media/mediaservices/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Media Services Account", + "operation": "Create or Update Media Services Account", + "description": "Create or Update any Media Services Account" + } + }, + { + "name": "Microsoft.Media/mediaservices/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Media Services Account", + "operation": "Delete Media Services Account", + "description": "Delete any Media Services Account" + } + }, + { + "name": "Microsoft.Media/mediaservices/syncStorageKeys/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Media Services Account", + "operation": "Synchronize Storage Keys", + "description": "Synchronize the Storage Keys for an attached Azure Storage account" + } + }, + { + "name": "Microsoft.Media/mediaservices/eventGridFilters/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Event Grid Filter", + "operation": "Read Event Grid Filter", + "description": "Read any Event Grid Filter" + } + }, + { + "name": "Microsoft.Media/mediaservices/eventGridFilters/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Event Grid Filter", + "operation": "Create or Update Event Grid Filter", + "description": "Create or Update any Event Grid Filter" + } + }, + { + "name": "Microsoft.Media/mediaservices/eventGridFilters/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Event Grid Filter", + "operation": "Delete Event Grid Filter", + "description": "Delete any Event Grid Filter" + } + }, + { + "name": "Microsoft.Media/mediaservices/assets/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Asset", + "operation": "Read Asset", + "description": "Read any Asset" + } + }, + { + "name": "Microsoft.Media/mediaservices/assets/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Asset", + "operation": "Create or Update Asset", + "description": "Create or Update any Asset" + } + }, + { + "name": "Microsoft.Media/mediaservices/assets/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Asset", + "operation": "Delete Asset", + "description": "Delete any Asset" + } + }, + { + "name": "Microsoft.Media/mediaservices/assets/listContainerSas/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Asset", + "operation": "List Asset Container SAS URLs", + "description": "List Asset Container SAS URLs" + } + }, + { + "name": "Microsoft.Media/mediaservices/assets/getEncryptionKey/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Asset", + "operation": "Get Asset Encryption Key", + "description": "Get Asset Encryption Key" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingPolicies/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Policy", + "operation": "Read Streaming Policy", + "description": "Read any Streaming Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingPolicies/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Policy", + "operation": "Create or Update Streaming Policy", + "description": "Create or Update any Streaming Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingPolicies/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Policy", + "operation": "Delete Streaming Policy", + "description": "Delete any Streaming Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingLocators/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Locator", + "operation": "Read Streaming Locator", + "description": "Read any Streaming Locator" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingLocators/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Locator", + "operation": "Create or Update Streaming Locator", + "description": "Create or Update any Streaming Locator" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingLocators/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Locator", + "operation": "Delete Streaming Locator", + "description": "Delete any Streaming Locator" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingLocators/listContentKeys/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Locator", + "operation": "List Content Keys", + "description": "List Content Keys" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingLocators/listPaths/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Locator", + "operation": "List Paths", + "description": "List Paths" + } + }, + { + "name": "Microsoft.Media/mediaservices/contentKeyPolicies/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Content Key Policy", + "operation": "Read Content Key Policy", + "description": "Read any Content Key Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/contentKeyPolicies/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Content Key Policy", + "operation": "Create or Update Content Key Policy", + "description": "Create or Update any Content Key Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/contentKeyPolicies/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Content Key Policy", + "operation": "Delete Content Key Policy", + "description": "Delete any Content Key Policy" + } + }, + { + "name": "Microsoft.Media/mediaservices/contentKeyPolicies/getPolicyPropertiesWithSecrets/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Content Key Policy", + "operation": "Get Policy Properties With Secrets", + "description": "Get Policy Properties With Secrets" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Transform", + "operation": "Read Transform", + "description": "Read any Transform" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Transform", + "operation": "Create or Update Transform", + "description": "Create or Update any Transform" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Transform", + "operation": "Delete Transform", + "description": "Delete any Transform" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/jobs/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Job", + "operation": "Read Job", + "description": "Read any Job" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/jobs/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Job", + "operation": "Create or Update Job", + "description": "Create or Update any Job" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/jobs/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Job", + "operation": "Delete Job", + "description": "Delete any Job" + } + }, + { + "name": "Microsoft.Media/mediaservices/transforms/jobs/cancelJob/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Job", + "operation": "Cancel Job", + "description": "Cancel Job" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Read Streaming Endpoint", + "description": "Read any Streaming Endpoint" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Create or Update Streaming Endpoint", + "description": "Create or Update any Streaming Endpoint" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Delete Streaming Endpoint", + "description": "Delete any Streaming Endpoint" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/start/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Start Streaming Endpoint Operation", + "description": "Start any Streaming Endpoint Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/stop/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Stop Streaming Endpoint Operation", + "description": "Stop any Streaming Endpoint Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/scale/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint", + "operation": "Scale Streaming Endpoint Operation", + "description": "Scale any Streaming Endpoint Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoints", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource." + }, + "origin": "system" + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoints", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource." + }, + "origin": "system" + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoints", + "operation": "Get list of Media Services Streaming Endpoint Metrics definitions.", + "description": "Get list of Media Services Streaming Endpoint Metrics definitions." + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Egress", + "displayName": "Egress", + "displayDescription": "The amount of Egress data, in bytes.", + "unit": "Bytes", + "aggregationType": "Total", + "dimensions": [ + { + "name": "OutputFormat", + "displayName": "Output Format", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "SuccessE2ELatency", + "displayName": "Success end to end Latency", + "displayDescription": "The average latency for successful requests in milliseconds.", + "unit": "Milliseconds", + "aggregationType": "Average", + "dimensions": [ + { + "name": "OutputFormat", + "displayName": "Output Format", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests to a Streaming Endpoint.", + "unit": "Count", + "aggregationType": "Count", + "dimensions": [ + { + "name": "OutputFormat", + "displayName": "Output Format", + "toBeExportedForShoebox": true + }, + { + "name": "HttpStatusCode", + "displayName": "HTTP Status Code", + "toBeExportedForShoebox": true + }, + { + "name": "ErrorCode", + "displayName": "Error Code", + "toBeExportedForShoebox": false + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Read Live Event", + "description": "Read any Live Event" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Create or Update Live Event", + "description": "Create or Update any Live Event" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Delete Live Event", + "description": "Delete any Live Event" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/start/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Start Live Event Operation", + "description": "Start any Live Event Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/stop/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Stop Live Event Operation", + "description": "Stop any Live Event Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/reset/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event", + "operation": "Reset Live Event Operation", + "description": "Reset any Live Event Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Output", + "operation": "Read Live Output", + "description": "Read any Live Output" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/write", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Output", + "operation": "Create or Update Live Output", + "description": "Create or Update any Live Output" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/delete", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Output", + "operation": "Delete Live Output", + "description": "Delete any Live Output" + } + }, + { + "name": "Microsoft.Media/mediaservices/streamingEndpointOperations/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Streaming Endpoint Operation", + "operation": "Read Streaming Endpoint Operation", + "description": "Read any Streaming Endpoint Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveEventOperations/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Event Operation", + "operation": "Read Live Event Operation", + "description": "Read any Live Event Operation" + } + }, + { + "name": "Microsoft.Media/mediaservices/liveOutputOperations/read", + "display": { + "provider": "Microsoft Media Services", + "resource": "Live Output Operation", + "operation": "Read Live Output Operation", + "description": "Read any Live Output Operation" + } + }, + { + "name": "Microsoft.Media/locations/checkNameAvailability/action", + "display": { + "provider": "Microsoft Media Services", + "resource": "Microsoft Media Services", + "operation": "Check Name Availability", + "description": "Checks if a Media Services account name is available" + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json new file mode 100644 index 000000000000..0fe95f1d6bd2 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "UserCreatedClearStreamingLocator", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "streamingPolicyName": "clearStreamingPolicy", + "assetName": "ClimbingMountRainier" + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedClearStreamingLocator", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedClearStreamingLocator", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2019-06-06T17:28:03.7992857Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "7ccb6b56-686c-4d93-a267-8117ee145878", + "streamingPolicyName": "clearStreamingPolicy", + "contentKeys": [], + "filters": [] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json new file mode 100644 index 000000000000..ead22b5064a0 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "assetName": "ClimbingMountRainier", + "streamingPolicyName": "secureStreamingPolicy", + "streamingLocatorId": "90000000-0000-0000-0000-00000000000A", + "contentKeys": [ + { + "labelReferenceInStreamingPolicy": "aesDefaultKey", + "id": "60000000-0000-0000-0000-000000000001", + "value": "1UqLohAfWsEGkULYxHjYZg==" + }, + { + "labelReferenceInStreamingPolicy": "cencDefaultKey", + "id": "60000000-0000-0000-0000-000000000004", + "value": "4UqLohAfWsEGkULYxHjYZg==" + }, + { + "labelReferenceInStreamingPolicy": "cbcsDefaultKey", + "id": "60000000-0000-0000-0000-000000000007", + "value": "7UqLohAfWsEGkULYxHjYZg==" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2019-06-06T18:00:49.849356Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "90000000-0000-0000-0000-00000000000a", + "streamingPolicyName": "secureStreamingPolicy", + "contentKeys": [ + { + "id": "60000000-0000-0000-0000-000000000007", + "type": "CommonEncryptionCbcs", + "labelReferenceInStreamingPolicy": "cbcsDefaultKey", + "tracks": [] + }, + { + "id": "60000000-0000-0000-0000-000000000004", + "type": "CommonEncryptionCenc", + "labelReferenceInStreamingPolicy": "cencDefaultKey", + "tracks": [] + }, + { + "id": "60000000-0000-0000-0000-000000000001", + "type": "EnvelopeEncryption", + "labelReferenceInStreamingPolicy": "aesDefaultKey", + "tracks": [] + } + ], + "filters": [] + } + } + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json new file mode 100644 index 000000000000..a3d8d8279ccf --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "UserCreatedSecureStreamingLocator", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "streamingPolicyName": "secureStreamingPolicy", + "assetName": "ClimbingMountRainier", + "startTime": "2018-03-01T00:00:00Z", + "endTime": "2028-12-31T23:59:59.9999999Z" + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingLocator", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocator", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2019-06-06T17:28:03.9392829Z", + "startTime": "2018-03-01T00:00:00Z", + "endTime": "2028-12-31T23:59:59.9999999Z", + "streamingLocatorId": "1f5db621-0c21-43d7-a340-2b143d62d4e7", + "streamingPolicyName": "secureStreamingPolicy", + "contentKeys": [ + { + "id": "41ddc803-579c-4fe8-b298-b37be5924d9e", + "type": "CommonEncryptionCbcs", + "labelReferenceInStreamingPolicy": "cbcsDefaultKey", + "tracks": [] + }, + { + "id": "68a5fd6e-ed9e-4cdf-b276-40304299dc4a", + "type": "CommonEncryptionCenc", + "labelReferenceInStreamingPolicy": "cencDefaultKey", + "tracks": [] + }, + { + "id": "bfb7cbf3-5834-4d43-a87d-f25ed1b88ed3", + "type": "EnvelopeEncryption", + "labelReferenceInStreamingPolicy": "aesDefaultKey", + "tracks": [] + } + ], + "filters": [] + } + } + } + } +} + diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json new file mode 100644 index 000000000000..140630d47647 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "clearStreamingLocator", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json new file mode 100644 index 000000000000..e5f63b5ad571 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "clearStreamingLocator", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "clearStreamingLocator", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2018-08-08T18:29:32.1154071Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "7684043b-f6d1-44a7-8bed-8a4aa474c5a4", + "streamingPolicyName": "clearStreamingPolicy", + "contentKeys": [], + "filters": [] + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json new file mode 100644 index 000000000000..7ef154ff54fd --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "secureStreamingLocator", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "contentKeys": [ + { + "id": "9259eb06-eeee-4f77-987f-48f4ea5c649f", + "type": "EnvelopeEncryption", + "labelReferenceInStreamingPolicy": "aesDefaultKey", + "value": "QpiqeQROdN5xamnfUF2Wdw==", + "policyName": "PolicyWithMultipleOptions", + "tracks": [] + }, + { + "id": "06bfeff1-2bb6-4f58-af27-a2767f058bca", + "type": "CommonEncryptionCenc", + "labelReferenceInStreamingPolicy": "cencDefaultKey", + "value": "ZjgWhNnqnqcov/h+wrYusw==", + "policyName": "PolicyWithMultipleOptions", + "tracks": [] + }, + { + "id": "799e78a0-ed6f-4179-9222-ed4ec4223cec", + "type": "CommonEncryptionCbcs", + "labelReferenceInStreamingPolicy": "cbcsDefaultKey", + "value": "FjZ3n3yRcVxRFftdYFbe9g==", + "policyName": "PolicyWithMultipleOptions", + "tracks": [] + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json new file mode 100644 index 000000000000..811f52ff50a7 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "clearStreamingLocator", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "streamingPaths": [ + { + "streamingProtocol": "Hls", + "encryptionScheme": "NoEncryption", + "paths": [ + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=m3u8-aapl)", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=m3u8-aapl)", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=m3u8-aapl)" + ] + }, + { + "streamingProtocol": "Dash", + "encryptionScheme": "NoEncryption", + "paths": [ + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=mpd-time-csf)", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=mpd-time-csf)", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=mpd-time-csf)" + ] + }, + { + "streamingProtocol": "SmoothStreaming", + "encryptionScheme": "NoEncryption", + "paths": [ + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest", + "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest" + ] + } + ], + "downloadPaths": [ + "/262a87b6-b538-4657-bac1-b6897924471d/textTrack.vtt", + "/262a87b6-b538-4657-bac1-b6897924471d/video1.mp4", + "/262a87b6-b538-4657-bac1-b6897924471d/video2.mp4", + "/262a87b6-b538-4657-bac1-b6897924471d/video3.mp4" + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json new file mode 100644 index 000000000000..6dea46e058bd --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingLocatorName": "secureStreamingLocator", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "streamingPaths": [ + { + "streamingProtocol": "Hls", + "encryptionScheme": "EnvelopeEncryption", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbc)" + ] + }, + { + "streamingProtocol": "Dash", + "encryptionScheme": "EnvelopeEncryption", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cbc)" + ] + }, + { + "streamingProtocol": "SmoothStreaming", + "encryptionScheme": "EnvelopeEncryption", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cbc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cbc)" + ] + }, + { + "streamingProtocol": "Dash", + "encryptionScheme": "CommonEncryptionCenc", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cenc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cenc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cenc)" + ] + }, + { + "streamingProtocol": "SmoothStreaming", + "encryptionScheme": "CommonEncryptionCenc", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cenc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cenc)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cenc)" + ] + }, + { + "streamingProtocol": "Hls", + "encryptionScheme": "CommonEncryptionCbcs", + "paths": [ + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)", + "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)" + ] + } + ], + "downloadPaths": [] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json new file mode 100644 index 000000000000..98c6f76ef174 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "clearStreamingLocator", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2018-08-08T18:29:31.9341192Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "6a116ec6-0c85-441f-9c31-89a5bc3adf0a", + "streamingPolicyName": "clearStreamingPolicy", + "contentKeys": [] + } + }, + { + "name": "secureStreamingLocator", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/secureStreamingLocator", + "type": "Microsoft.Media/mediaservices/streamingLocators", + "properties": { + "assetName": "ClimbingMountRainier", + "created": "2018-08-08T18:29:31.9544387Z", + "endTime": "9999-12-31T23:59:59.9999999Z", + "streamingLocatorId": "7338ef90-ffc8-42de-8bff-de8f99973300", + "streamingPolicyName": "secureStreamingPolicy", + "contentKeys": [] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json new file mode 100644 index 000000000000..cb5f6ccb065c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "UserCreatedClearStreamingPolicy", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "noEncryption": { + "enabledProtocols": { + "download": true, + "dash": true, + "hls": true, + "smoothStreaming": true + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedClearStreamingPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedClearStreamingPolicy", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:31.1535417Z", + "noEncryption": { + "enabledProtocols": { + "download": true, + "dash": true, + "hls": true, + "smoothStreaming": true + } + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json new file mode 100644 index 000000000000..52fc0ae3126e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + } + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:31.6197199Z", + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json new file mode 100644 index 000000000000..f4b39637fd31 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "defaultContentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction", + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Equal", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + } + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:31.4678543Z", + "defaultContentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction", + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Equal", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json new file mode 100644 index 000000000000..df5095174e7c --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + } + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:31.3055712Z", + "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + }, + "keyToTrackMappings": [] + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json new file mode 100644 index 000000000000..ba379b251a62 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "UserCreatedSecureStreamingPolicy", + "api-version": "2018-07-01", + "parameters": { + "properties": { + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + } + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + }, + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Equal", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + } + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + }, + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + } + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "UserCreatedSecureStreamingPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicy", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:31.7715696Z", + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + }, + "keyToTrackMappings": [] + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + }, + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Equal", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + }, + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json new file mode 100644 index 000000000000..f7c557b72159 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "secureStreamingPolicyWithCommonEncryptionCbcsOnly", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json new file mode 100644 index 000000000000..a9107e1e2bbd --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json @@ -0,0 +1,211 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "clearStreamingPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.676067Z", + "noEncryption": { + "enabledProtocols": { + "download": true, + "dash": true, + "hls": true, + "smoothStreaming": true + } + } + } + }, + { + "name": "secureStreamingPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicy", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.6781134Z", + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + }, + "keyToTrackMappings": [] + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + }, + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Unknown", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + }, + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + }, + { + "name": "secureStreamingPolicyWithCommonEncryptionCbcsOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCbcsOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.6781134Z", + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "commonEncryptionCbcs": { + "enabledProtocols": { + "download": false, + "dash": false, + "hls": true, + "smoothStreaming": false + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "cbcsDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "fairPlay": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}", + "allowPersistentLicense": true + } + } + } + } + }, + { + "name": "secureStreamingPolicyWithCommonEncryptionCencOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCencOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.6781134Z", + "defaultContentKeyPolicyName": "PolicyWithMultipleOptions", + "commonEncryptionCenc": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": false, + "smoothStreaming": true + }, + "clearTracks": [ + { + "trackSelections": [ + { + "property": "FourCC", + "operation": "Unknown", + "value": "hev1" + } + ] + } + ], + "contentKeys": { + "defaultKey": { + "label": "cencDefaultKey" + }, + "keyToTrackMappings": [] + }, + "drm": { + "playReady": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}", + "playReadyCustomAttributes": "PlayReady CustomAttributes" + }, + "widevine": { + "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId" + } + } + } + } + }, + { + "name": "secureStreamingPolicyWithEnvelopeEncryptionOnly", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithEnvelopeEncryptionOnly", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.6781134Z", + "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction", + "envelopeEncryption": { + "enabledProtocols": { + "download": false, + "dash": true, + "hls": true, + "smoothStreaming": true + }, + "clearTracks": [], + "contentKeys": { + "defaultKey": { + "label": "aesDefaultKey" + }, + "keyToTrackMappings": [] + }, + "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}" + } + } + } + ], + "@odata.nextLink": "http://server/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaServices/contosomedia/streamingPolicies?api-version=2018-07-01&$skiptoken=secureStreamingPolicyWithEnvelopeEncryptionOnly" + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json new file mode 100644 index 000000000000..e1f4eb5d3fbb --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contoso", + "accountName": "contosomedia", + "streamingPolicyName": "clearStreamingPolicy", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "clearStreamingPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy", + "type": "Microsoft.Media/mediaservices/streamingPolicies", + "properties": { + "created": "2018-08-08T18:29:30.8501486Z", + "noEncryption": { + "enabledProtocols": { + "download": true, + "dash": true, + "hls": true, + "smoothStreaming": true + } + } + } + } + }, + "404": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json new file mode 100644 index 000000000000..a0408d3f6bc9 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json @@ -0,0 +1,154 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2019-05-01-preview", + "parameters": { + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "scaleUnits": 1, + "availabilitySetName": "availableset", + "accessControl": { + "akamai": { + "akamaiSignatureHeaderAuthenticationKeyList": [ + { + "identifier": "id1", + "expiration": "2029-12-31T16:00:00-08:00", + "base64Key": "dGVzdGlkMQ==" + }, + { + "identifier": "id2", + "expiration": "2030-12-31T16:00:00-08:00", + "base64Key": "dGVzdGlkMQ==" + } + ] + }, + "ip": { + "allow": [ + { + "name": "AllowedIp", + "address": "192.168.1.1" + } + ] + } + }, + "cdnEnabled": false + } + } + }, + "responses": { + "202": { + "body": { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "scaleUnits": 1, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": "", + "customHostNames": [], + "accessControl": { + "akamai": { + "akamaiSignatureHeaderAuthenticationKeyList": [ + { + "identifier": "id1", + "expiration": "2030-01-01T00:00:00Z", + "base64Key": "dGVzdGlkMQ==" + }, + { + "identifier": "id2", + "expiration": "2031-01-01T00:00:00Z", + "base64Key": "dGVzdGlkMQ==" + } + ] + }, + "ip": { + "allow": [ + { + "name": "AllowedIp", + "address": "192.168.1.1", + "subnetPrefixLength": null + } + ] + } + }, + "maxCacheAge": null, + "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net", + "freeTrialEndTime": "0001-01-01T00:00:00-08:00", + "provisioningState": "InProgress", + "resourceState": "Stopped", + "created": "2018-03-03T02:25:09.7561389Z", + "lastModified": "2018-03-03T02:25:09.7561389Z" + } + } + }, + "200": { + "body": { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "scaleUnits": 1, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": "", + "customHostNames": [], + "accessControl": { + "akamai": { + "akamaiSignatureHeaderAuthenticationKeyList": [ + { + "identifier": "id1", + "expiration": "2030-01-01T00:00:00Z", + "base64Key": "dGVzdGlkMQ==" + }, + { + "identifier": "id2", + "expiration": "2031-01-01T00:00:00Z", + "base64Key": "dGVzdGlkMQ==" + } + ] + }, + "ip": { + "allow": [ + { + "name": "AllowedIp", + "address": "192.168.1.1", + "subnetPrefixLength": null + } + ] + } + }, + "maxCacheAge": null, + "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net", + "freeTrialEndTime": "0001-01-01T00:00:00-08:00", + "provisioningState": "InProgress", + "resourceState": "Stopped", + "created": "2018-03-03T02:25:09.7561389Z", + "lastModified": "2018-03-03T02:25:09.7561389Z" + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json new file mode 100644 index 000000000000..b78b3322644f --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01", + "parameters": { + "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "Name": "myStreamingEndpoint1", + "Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints", + "Location": "West US", + "Tags": { + "DynamicProperties": { + "tag1": "value1", + "tag2": "value2" + } + }, + "Properties": { + "Description": "test event 1", + "ScaleUnits": 1, + "AccessControl": null, + "AvailabilitySetName": "availableset", + "MaxCacheAge": null, + "CrossSiteAccessPolicies": null, + "CustomHostNames": [], + "HostName": null, + "CdnEnabled": false, + "CdnProvider": null, + "CdnProfile": null, + "FreeTrialEndTime": "0001-01-01T00:00:00-08:00", + "ProvisioningState": null, + "ResourceState": "Stopped", + "Created": "2018-03-02T18:25:09.4897514-08:00", + "LastModified": "2018-03-02T18:25:09.4897514-08:00" + } + } + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json new file mode 100644 index 000000000000..bcbc02e5185a --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "scaleUnits": 1, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": "", + "customHostNames": [], + "maxCacheAge": null, + "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net", + "freeTrialEndTime": "0001-01-01T08:00:00Z", + "provisioningState": "Succeeded", + "resourceState": "Stopped", + "created": "2018-03-03T02:25:09.202013Z", + "lastModified": "2018-03-03T02:25:09.202013Z" + } + }, + { + "name": "default", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/default", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": {}, + "properties": { + "description": "", + "scaleUnits": 0, + "availabilitySetName": null, + "cdnEnabled": true, + "cdnProvider": "StandardVerizon", + "cdnProfile": "AzureMediaStreamingPlatformCdnProfile-StandardVerizon", + "customHostNames": [], + "maxCacheAge": null, + "hostName": "slitestmedia10.streaming.mediaservices.windows.net", + "freeTrialEndTime": "0001-01-01T00:00:00-08:00", + "provisioningState": "InProgress", + "resourceState": "Starting", + "created": "2018-03-03T02:25:09.2310128Z", + "lastModified": "2018-03-03T02:25:09.2310128Z" + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json new file mode 100644 index 000000000000..d3194bf8ceca --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01" + }, + "responses": { + "404": {}, + "200": { + "body": { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "description": "test event 1", + "scaleUnits": 1, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": "", + "customHostNames": [], + "maxCacheAge": null, + "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net", + "freeTrialEndTime": "0001-01-01T08:00:00Z", + "provisioningState": "Succeeded", + "resourceState": "Stopped", + "created": "2018-03-03T02:25:09.3500423Z", + "lastModified": "2018-03-03T02:25:09.3500423Z" + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json new file mode 100644 index 000000000000..6a324b3b86b5 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01", + "parameters": { + "scaleUnit": 5 + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json new file mode 100644 index 000000000000..0ace89511dc6 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json new file mode 100644 index 000000000000..0ace89511dc6 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json new file mode 100644 index 000000000000..9e7d32ed3f4e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722", + "resourceGroupName": "mediaresources", + "accountName": "slitestmedia10", + "streamingEndpointName": "myStreamingEndpoint1", + "api-version": "2018-07-01", + "parameters": { + "location": "West US", + "tags": { + "tag3": "value3", + "tag5": "value5" + }, + "properties": { + "description": "test event 2", + "scaleUnits": 5, + "availabilitySetName": "availableset" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag3": "value3", + "tag5": "value5" + }, + "properties": { + "description": "test event 2", + "scaleUnits": 5, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": null, + "customHostNames": [], + "maxCacheAge": null, + "hostName": null, + "freeTrialEndTime": "0001-01-01T00:00:00Z", + "provisioningState": "Succeeded", + "resourceState": null, + "created": "0001-01-01T00:00:00Z", + "lastModified": "0001-01-01T00:00:00Z" + } + } + }, + "202": { + "body": { + "name": "myStreamingEndpoint1", + "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1", + "type": "Microsoft.Media/mediaservices/streamingEndpoints", + "location": "West US", + "tags": { + "tag3": "value3", + "tag5": "value5" + }, + "properties": { + "description": "test event 2", + "scaleUnits": 5, + "availabilitySetName": "availableset", + "cdnEnabled": false, + "cdnProvider": null, + "cdnProfile": null, + "customHostNames": [], + "maxCacheAge": null, + "hostName": null, + "freeTrialEndTime": "0001-01-01T00:00:00Z", + "provisioningState": "Succeeded", + "resourceState": null, + "created": "0001-01-01T00:00:00Z", + "lastModified": "0001-01-01T00:00:00Z" + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json new file mode 100644 index 000000000000..ef297c226a2e --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "createdTransform", + "parameters": { + "properties": { + "description": "Example Transform to illustrate create and update.", + "outputs": [ + { + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "createdTransform", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2019-05-29T17:01:44.0571152-07:00", + "description": "Example Transform to illustrate create and update.", + "lastModified": "2019-05-29T17:01:44.0571152-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + } + }, + "200": { + "body": { + "name": "createdTransform", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2019-05-29T17:01:44.0571152-07:00", + "description": "Example Transform to illustrate create and update.", + "lastModified": "2019-05-29T17:01:44.0571152-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json new file mode 100644 index 000000000000..f7377895cc28 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "sampleTransform" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json new file mode 100644 index 000000000000..aaa70d241f27 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "sampleTransform" + }, + "responses": { + "404": {}, + "200": { + "body": { + "name": "sampleTransform", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleTransform", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-08-08T16:29:57.8095562-04:00", + "description": "A sample Transform using the Standard Encoder with a built in preset.", + "lastModified": "2018-08-08T16:29:57.8095562-04:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "H264MultipleBitrate1080p" + } + } + ] + } + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json new file mode 100644 index 000000000000..6e9fff4bb24f --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "$filter": "properties/created gt 2018-09-27T22:56:07.7621546Z and properties/created le 2018-09-27T22:56:17.7621546Z", + "$orderby": "properties/created" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sampleEncodeAndVideoIndex", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-09-27T22:56:17.7621546-07:00", + "description": "A sample Transform using the Video Analyzer.", + "lastModified": "2018-09-27T22:56:17.7621546-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json new file mode 100644 index 000000000000..7a7c451a796b --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "$filter": "properties/lastmodified gt 2018-09-27T22:56:07.7840953Z and properties/lastmodified le 2018-09-27T22:56:17.7840953Z", + "$orderby": "properties/lastmodified desc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sampleEncodeAndVideoIndex", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-09-27T22:56:17.7840953-07:00", + "description": "A sample Transform using the Video Analyzer.", + "lastModified": "2018-09-27T22:56:17.7840953-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json new file mode 100644 index 000000000000..73abc35d3eff --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "$filter": "(name eq 'sampleEncode') or (name eq 'sampleEncodeAndVideoIndex')", + "$orderby": "name desc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sampleEncodeAndVideoIndex", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-09-27T22:56:07.5846087-07:00", + "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", + "lastModified": "2018-09-27T22:56:07.5846087-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" + } + }, + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + }, + { + "name": "sampleEncode", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-09-27T22:56:07.5846087-07:00", + "description": "A sample Transform using the Standard Encoder with a built in preset.", + "lastModified": "2018-09-27T22:56:07.5846087-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json new file mode 100644 index 000000000000..577b65d56e1d --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sampleEncode", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-07-26T19:11:48.9717921-07:00", + "description": "A sample Transform using the Standard Encoder with a built in preset.", + "lastModified": "2018-07-26T19:11:48.9717921-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + }, + { + "name": "sampleEncodeAndVideoIndex", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2018-07-26T19:11:48.9767793-07:00", + "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", + "lastModified": "2018-07-26T19:11:48.9767793-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" + } + }, + { + "onError": "StopProcessingJob", + "relativePriority": "Normal", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json new file mode 100644 index 000000000000..c816fe71ced2 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2018-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "contosoresources", + "accountName": "contosomedia", + "transformName": "transformToUpdate", + "parameters": { + "properties": { + "description": "Example transform to illustrate update.", + "outputs": [ + { + "relativePriority": "High", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "H264MultipleBitrate720p" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "transformToUpdate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate", + "type": "Microsoft.Media/mediaservices/transforms", + "properties": { + "created": "2019-05-29T17:01:44.2001108-07:00", + "description": "Example transform to illustrate update.", + "lastModified": "2019-05-29T17:01:44.2761137-07:00", + "outputs": [ + { + "onError": "StopProcessingJob", + "relativePriority": "High", + "preset": { + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "H264MultipleBitrate720p" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json new file mode 100644 index 000000000000..ac213c96b864 --- /dev/null +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json @@ -0,0 +1,1839 @@ +{ + "schemes": [ + "https" + ], + "swagger": "2.0", + "info": { + "title": "Azure Media Services", + "description": "Streaming resource management client for Azure Media Services", + "version": "2019-05-01-preview" + }, + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents": { + "get": { + "tags": [ + "LiveEvents" + ], + "summary": "List Live Events", + "description": "Lists the Live Events in the account.", + "operationId": "LiveEvents_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveEventListResult" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all LiveEvents": { + "$ref": "examples/liveevent-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}": { + "get": { + "tags": [ + "LiveEvents" + ], + "summary": "Get Live Event", + "description": "Gets a Live Event.", + "operationId": "LiveEvents_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveEvent" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "Get a LiveEvent by name": { + "$ref": "examples/liveevent-list-by-name.json" + } + } + }, + "put": { + "tags": [ + "LiveEvents" + ], + "summary": "Create Live Event", + "description": "Creates a Live Event.", + "operationId": "LiveEvents_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/StreamingResourceAutoStart" + }, + { + "name": "parameters", + "description": "Live Event properties needed for creation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveEvent" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveEvent" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.", + "schema": { + "$ref": "#/definitions/LiveEvent" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a LiveEvent": { + "$ref": "examples/liveevent-create.json" + } + } + }, + "patch": { + "tags": [ + "LiveEvents" + ], + "description": "Updates a existing Live Event.", + "operationId": "LiveEvents_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "parameters", + "description": "Live Event properties needed for creation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveEvent" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveEvent" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.", + "schema": { + "$ref": "#/definitions/LiveEvent" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a LiveEvent": { + "$ref": "examples/liveevent-update.json" + } + } + }, + "delete": { + "tags": [ + "LiveEvents" + ], + "summary": "Delete Live Event", + "description": "Deletes a Live Event.", + "operationId": "LiveEvents_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "204": { + "description": "No content. The request has been accepted but the Live Event was not found." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a LiveEvent": { + "$ref": "examples/liveevent-delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/start": { + "post": { + "tags": [ + "LiveEvents" + ], + "summary": "Start Live Event", + "description": "Starts an existing Live Event.", + "operationId": "LiveEvents_Start", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Start a LiveEvent": { + "$ref": "examples/liveevent-start.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/stop": { + "post": { + "tags": [ + "LiveEvents" + ], + "summary": "Stop Live Event", + "description": "Stops an existing Live Event.", + "operationId": "LiveEvents_Stop", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "parameters", + "description": "LiveEvent stop parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveEventActionInput" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Stop a LiveEvent": { + "$ref": "examples/liveevent-stop.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/reset": { + "post": { + "tags": [ + "LiveEvents" + ], + "summary": "Reset Live Event", + "description": "Resets an existing Live Event.", + "operationId": "LiveEvents_Reset", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reset a LiveEvent": { + "$ref": "examples/liveevent-reset.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs": { + "get": { + "tags": [ + "LiveOutputs" + ], + "summary": "List Live Outputs", + "description": "Lists the Live Outputs in the Live Event.", + "operationId": "LiveOutputs_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveOutputListResult" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all LiveOutputs": { + "$ref": "examples/liveoutput-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}": { + "get": { + "tags": [ + "LiveOutputs" + ], + "summary": "Get Live Output", + "description": "Gets a Live Output.", + "operationId": "LiveOutputs_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/LiveOutputName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveOutput" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "Get a LiveOutput by name": { + "$ref": "examples/liveoutput-list-by-name.json" + } + } + }, + "put": { + "tags": [ + "LiveOutputs" + ], + "summary": "Create Live Output", + "description": "Creates a Live Output.", + "operationId": "LiveOutputs_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/LiveOutputName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "parameters", + "description": "Live Output properties needed for creation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveOutput" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveOutput" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.", + "schema": { + "$ref": "#/definitions/LiveOutput" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a LiveOutput": { + "$ref": "examples/liveoutput-create.json" + } + } + }, + "delete": { + "tags": [ + "LiveOutputs" + ], + "summary": "Delete Live Output", + "description": "Deletes a Live Output.", + "operationId": "LiveOutputs_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/LiveEventName" + }, + { + "$ref": "#/parameters/LiveOutputName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "204": { + "description": "No content. The request has been accepted but the Live Output was not found." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a LiveOutput": { + "$ref": "examples/liveoutput-delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints": { + "get": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "List StreamingEndpoints", + "description": "Lists the StreamingEndpoints in the account.", + "operationId": "StreamingEndpoints_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/StreamingEndpointListResult" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + }, + "x-ms-examples": { + "List all StreamingEndpoints": { + "$ref": "examples/streamingendpoint-list-all.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": { + "get": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Get StreamingEndpoint", + "description": "Gets a StreamingEndpoint.", + "operationId": "StreamingEndpoints_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + }, + "404": { + "description": "NotFound" + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "Get a StreamingEndpoint by name": { + "$ref": "examples/streamingendpoint-list-by-name.json" + } + } + }, + "put": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Create StreamingEndpoint", + "description": "Creates a StreamingEndpoint.", + "operationId": "StreamingEndpoints_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/StreamingResourceAutoStart" + }, + { + "name": "parameters", + "description": "StreamingEndpoint properties needed for creation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.", + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-create.json" + } + } + }, + "patch": { + "tags": [ + "StreamingEndpoint" + ], + "summary": "Update StreamingEndpoint", + "description": "Updates a existing StreamingEndpoint.", + "operationId": "StreamingEndpoints_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "parameters", + "description": "StreamingEndpoint properties needed for creation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.", + "schema": { + "$ref": "#/definitions/StreamingEndpoint" + } + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-update.json" + } + } + }, + "delete": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Delete StreamingEndpoint", + "description": "Deletes a StreamingEndpoint.", + "operationId": "StreamingEndpoints_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "204": { + "description": "No content. The request has been accepted but the Streaming Endpoint was not found." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/start": { + "post": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Start StreamingEndpoint", + "description": "Starts an existing StreamingEndpoint.", + "operationId": "StreamingEndpoints_Start", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Start a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-start.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/stop": { + "post": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Stop StreamingEndpoint", + "description": "Stops an existing StreamingEndpoint.", + "operationId": "StreamingEndpoints_Stop", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Stop a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-stop.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/scale": { + "post": { + "tags": [ + "StreamingEndpoints" + ], + "summary": "Scale StreamingEndpoint", + "description": "Scales an existing StreamingEndpoint.", + "operationId": "StreamingEndpoints_Scale", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/MediaServicesAccountName" + }, + { + "$ref": "#/parameters/StreamingEndpointName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "name": "parameters", + "description": "StreamingEndpoint scale parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StreamingEntityScaleUnit" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." + }, + "default": { + "description": "The streaming error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Scale a StreamingEndpoint": { + "$ref": "examples/streamingendpoint-scale.json" + } + } + } + } + }, + "definitions": { + "Hls": { + "properties": { + "fragmentsPerTsSegment": { + "format": "int32", + "type": "integer", + "description": "The amount of fragments per HTTP Live Streaming (HLS) segment." + } + }, + "description": "The HLS configuration." + }, + "LiveOutputProperties": { + "required": [ "assetName", "archiveWindowLength" ], + "properties": { + "description": { + "type": "string", + "description": "The description of the Live Output." + }, + "assetName": { + "type": "string", + "description": "The asset name." + }, + "archiveWindowLength": { + "format": "duration", + "type": "string", + "description": "ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content." + }, + "manifestName": { + "type": "string", + "description": "The manifest file name. If not provided, the service will generate one automatically." + }, + "hls": { + "type": "object", + "$ref": "#/definitions/Hls", + "description": "The HLS configuration." + }, + "outputSnapTime": { + "type": "integer", + "format": "int64", + "description": "The output snapshot time." + }, + "created": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the Live Output was created." + }, + "lastModified": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the Live Output was last modified." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the Live Output." + }, + "resourceState": { + "description": "The resource state of the Live Output.", + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Running", + "Deleting" + ], + "x-ms-enum": { + "name": "LiveOutputResourceState", + "modelAsString": true + } + } + }, + "description": "The JSON object that contains the properties required to create a Live Output." + }, + "LiveOutput": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LiveOutputProperties", + "description": "The Live Output properties." + } + }, + "allOf": [ + { + "$ref": "./Common.json#/definitions/ProxyResource" + } + ], + "description": "The Live Output." + }, + "LiveOutputListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LiveOutput" + }, + "description": "The result of the List Live Output operation." + }, + "@odata.count": { + "type": "integer", + "format": "int32", + "description": "The number of result." + }, + "@odata.nextLink": { + "type": "string", + "description": "Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs." + } + }, + "description": "The LiveOutput list result.", + "title": "LiveOutputListResult" + }, + "LiveEventEndpoint": { + "properties": { + "protocol": { + "type": "string", + "description": "The endpoint protocol." + }, + "url": { + "type": "string", + "description": "The endpoint URL." + } + }, + "description": "The Live Event endpoint." + }, + "LiveEventInputAccessControl": { + "properties": { + "ip": { + "type": "object", + "$ref": "#/definitions/IPAccessControl", + "description": "The IP access control properties." + } + }, + "description": "The IP access control for Live Event Input." + }, + "LiveEventInput": { + "required": [ "streamingProtocol" ], + "properties": { + "streamingProtocol": { + "type": "string", + "description": "The streaming protocol for the Live Event. This is specified at creation time and cannot be updated.", + "enum": [ + "FragmentedMP4", + "RTMP" + ], + "x-ms-enum": { + "name": "LiveEventInputProtocol", + "modelAsString": true + } + }, + "accessControl": { + "type": "object", + "$ref": "#/definitions/LiveEventInputAccessControl", + "description": "The access control for LiveEvent Input." + }, + "keyFrameIntervalDuration": { + "type": "string", + "description": "ISO 8601 timespan duration of the key frame interval duration." + }, + "accessToken": { + "type": "string", + "description": "A unique identifier for a stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value." + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventEndpoint" + }, + "description": "The input endpoints for the Live Event." + } + }, + "description": "The Live Event input." + }, + "IPRange": { + "properties": { + "name": { + "type": "string", + "description": "The friendly name for the IP address range." + }, + "address": { + "type": "string", + "description": "The IP address." + }, + "subnetPrefixLength": { + "format": "int32", + "type": "integer", + "description": "The subnet mask prefix length (see CIDR notation)." + } + }, + "description": "The IP address range in the CIDR scheme." + }, + "IPAccessControl": { + "properties": { + "allow": { + "type": "array", + "items": { + "$ref": "#/definitions/IPRange" + }, + "description": "The IP allow list." + } + }, + "description": "The IP access control." + }, + "LiveEventPreviewAccessControl": { + "properties": { + "ip": { + "type": "object", + "$ref": "#/definitions/IPAccessControl", + "description": "The IP access control properties." + } + }, + "description": "The IP access control for Live Event preview." + }, + "LiveEventPreview": { + "properties": { + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventEndpoint" + }, + "description": "The endpoints for preview." + }, + "accessControl": { + "type": "object", + "$ref": "#/definitions/LiveEventPreviewAccessControl", + "description": "The access control for LiveEvent preview." + }, + "previewLocator": { + "type": "string", + "description": "The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created." + }, + "streamingPolicyName": { + "type": "string", + "description": "The name of streaming policy used for the LiveEvent preview. This value is specified at creation time and cannot be updated." + }, + "alternativeMediaId": { + "type": "string", + "description": "An Alternative Media Identifier associated with the StreamingLocator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field." + } + }, + "description": "The Live Event preview." + }, + "LiveEventEncoding": { + "properties": { + "encodingType": { + "type": "string", + "description": "The encoding type for Live Event. This value is specified at creation time and cannot be updated.", + "enum": [ + "None", + "Basic", + "Standard", + "Premium1080p" + ], + "x-ms-enum": { + "name": "LiveEventEncodingType", + "modelAsString": true + } + }, + "presetName": { + "type": "string", + "description": "The encoding preset name. This value is specified at creation time and cannot be updated." + } + }, + "description": "The Live Event encoding." + }, + "LiveEventInputTrackSelection": { + "properties": { + "property": { + "type": "string", + "description": "Property name to select." + }, + "operation": { + "type": "string", + "description": "Comparing operation." + }, + "value": { + "type": "string", + "description": "Property value to select." + } + }, + "description": "A track selection condition." + }, + "LiveEventOutputTranscriptionTrack": { + "required": [ "trackName" ], + "properties": { + "trackName": { + "type": "string", + "description": "The output track name." + } + }, + "description": "Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription." + }, + "LiveEventTranscription": { + "properties": { + "language": { + "type": "string", + "description": "Specifies the language (locale) used for speech-to-text transcription � it should match the spoken language in the audio track. The value should be in BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are 'en-US' and 'en-GB'." + }, + "inputTrackSelection": { + "type": "array", + "description": "Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied.", + "items": { + "$ref": "#/definitions/LiveEventInputTrackSelection" + } + }, + "outputTranscriptionTrack": { + "type": "object", + "$ref": "#/definitions/LiveEventOutputTranscriptionTrack", + "description": "Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription." + } + }, + "description": "Describes the transcription tracks in the output of a Live Event, generated using speech-to-text transcription." + }, + "CrossSiteAccessPolicies": { + "properties": { + "clientAccessPolicy": { + "type": "string", + "description": "The content of clientaccesspolicy.xml used by Silverlight." + }, + "crossDomainPolicy": { + "type": "string", + "description": "The content of crossdomain.xml used by Silverlight." + } + }, + "description": "The client access policy." + }, + "LiveEventActionInput": { + "properties": { + "removeOutputsOnStop": { + "type": "boolean", + "description": "The flag indicates if remove LiveOutputs on Stop." + } + }, + "description": "The LiveEvent action input parameter definition." + }, + "LiveEventProperties": { + "required": [ "input" ], + "properties": { + "description": { + "type": "string", + "description": "The Live Event description." + }, + "input": { + "type": "object", + "$ref": "#/definitions/LiveEventInput", + "description": "The Live Event input." + }, + "preview": { + "type": "object", + "$ref": "#/definitions/LiveEventPreview", + "description": "The Live Event preview." + }, + "encoding": { + "type": "object", + "$ref": "#/definitions/LiveEventEncoding", + "description": "The Live Event encoding." + }, + "transcriptions": { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventTranscription" + }, + "description": "The Live Event transcription." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the Live Event." + }, + "resourceState": { + "readOnly": true, + "type": "string", + "description": "The resource state of the Live Event.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping", + "Deleting" + ], + "x-ms-enum": { + "name": "LiveEventResourceState", + "modelAsString": true + } + }, + "crossSiteAccessPolicies": { + "type": "object", + "$ref": "#/definitions/CrossSiteAccessPolicies", + "description": "The Live Event access policies." + }, + "vanityUrl": { + "type": "boolean", + "description": "Specifies whether to use a vanity url with the Live Event. This value is specified at creation time and cannot be updated." + }, + "streamOptions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "LowLatency" + ], + "x-ms-enum": { + "name": "StreamOptionsFlag", + "modelAsString": true + } + }, + "description": "The options to use for the LiveEvent. This value is specified at creation time and cannot be updated." + }, + "created": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the Live Event was created." + }, + "lastModified": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the Live Event was last modified." + } + }, + "description": "The Live Event properties." + }, + "LiveEvent": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LiveEventProperties", + "description": "The Live Event properties." + } + }, + "allOf": [ + { + "$ref": "./Common.json#/definitions/TrackedResource" + } + ], + "description": "The Live Event." + }, + "LiveEventListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEvent" + }, + "description": "The result of the List Live Event operation." + }, + "@odata.count": { + "type": "integer", + "format": "int32", + "description": "The number of result." + }, + "@odata.nextLink": { + "type": "string", + "description": "Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs." + } + }, + "description": "The LiveEvent list result.", + "title": "LiveEventListResult" + }, + "AkamaiSignatureHeaderAuthenticationKey": { + "properties": { + "identifier": { + "type": "string", + "description": "identifier of the key" + }, + "base64Key": { + "type": "string", + "description": "authentication key" + }, + "expiration": { + "format": "date-time", + "type": "string", + "description": "The expiration time of the authentication key." + } + }, + "description": "Akamai Signature Header authentication key." + }, + "AkamaiAccessControl": { + "properties": { + "akamaiSignatureHeaderAuthenticationKeyList": { + "type": "array", + "items": { + "$ref": "#/definitions/AkamaiSignatureHeaderAuthenticationKey" + }, + "description": "authentication key list" + } + }, + "description": "Akamai access control" + }, + "StreamingEndpointAccessControl": { + "properties": { + "akamai": { + "type": "object", + "$ref": "#/definitions/AkamaiAccessControl", + "description": "The access control of Akamai" + }, + "ip": { + "type": "object", + "$ref": "#/definitions/IPAccessControl", + "description": "The IP access control of the StreamingEndpoint." + } + }, + "description": "StreamingEndpoint access control definition." + }, + "StreamingEntityScaleUnit": { + "properties": { + "scaleUnit": { + "type": "integer", + "format": "int32", + "description": "The scale unit number of the StreamingEndpoint." + } + }, + "description": "scale units definition" + }, + "StreamingEndpointProperties": { + "required": [ "scaleUnits" ], + "properties": { + "description": { + "type": "string", + "description": "The StreamingEndpoint description." + }, + "scaleUnits": { + "type": "integer", + "format": "int32", + "description": "The number of scale units. Use the Scale operation to adjust this value." + }, + "availabilitySetName": { + "type": "string", + "description": "The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming. This value can only be set at creation time." + }, + "accessControl": { + "type": "object", + "$ref": "#/definitions/StreamingEndpointAccessControl", + "description": "The access control definition of the StreamingEndpoint." + }, + "maxCacheAge": { + "type": "integer", + "format": "int64", + "description": "Max cache age" + }, + "customHostNames": { + "type": "array", + "items": { + "type": "string", + "description": "custom host name" + }, + "description": "The custom host names of the StreamingEndpoint" + }, + "hostName": { + "readOnly": true, + "type": "string", + "description": "The StreamingEndpoint host name." + }, + "cdnEnabled": { + "type": "boolean", + "description": "The CDN enabled flag." + }, + "cdnProvider": { + "type": "string", + "description": "The CDN provider name." + }, + "cdnProfile": { + "type": "string", + "description": "The CDN profile name." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the StreamingEndpoint." + }, + "resourceState": { + "readOnly": true, + "type": "string", + "description": "The resource state of the StreamingEndpoint.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping", + "Deleting", + "Scaling" + ], + "x-ms-enum": { + "name": "StreamingEndpointResourceState", + "modelAsString": true + } + }, + "crossSiteAccessPolicies": { + "type": "object", + "$ref": "#/definitions/CrossSiteAccessPolicies", + "description": "The StreamingEndpoint access policies." + }, + "freeTrialEndTime": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The free trial expiration time." + }, + "created": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the StreamingEndpoint was created." + }, + "lastModified": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the StreamingEndpoint was last modified." + } + }, + "description": "The StreamingEndpoint properties." + }, + "StreamingEndpoint": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StreamingEndpointProperties", + "description": "The StreamingEndpoint properties." + } + }, + "allOf": [ + { + "$ref": "./Common.json#/definitions/TrackedResource" + } + ], + "description": "The StreamingEndpoint." + }, + "StreamingEndpointListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StreamingEndpoint" + }, + "description": "The result of the List StreamingEndpoint operation." + }, + "@odata.count": { + "type": "integer", + "format": "int32", + "description": "The number of result." + }, + "@odata.nextLink": { + "type": "string", + "description": "Th link to the next set of results. Not empty if value contains incomplete list of StreamingEndpoints." + } + }, + "description": "The StreamingEndpoint list result.", + "title": "StreamingEndpointListResult" + }, + "ODataError": { + "properties": { + "code": { + "type": "string", + "description": "A language-independent error name." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error (for example, the name of the property in error)." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataError" + }, + "description": "The error details." + } + }, + "type": "object", + "description": "Information about an error." + }, + "ApiError": { + "properties": { + "error": { + "$ref": "#/definitions/ODataError", + "description": "The error properties.", + "title": "ApiError" + } + }, + "type": "object", + "description": "The API error." + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "description": "The unique identifier for a Microsoft Azure subscription.", + "in": "path", + "required": true, + "type": "string" + }, + "ApiVersion": { + "name": "api-version", + "description": "The Version of the API to be used with the client request.", + "in": "query", + "required": true, + "type": "string" + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "description": "The name of the resource group within the Azure subscription.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "MediaServicesAccountName": { + "name": "accountName", + "description": "The Media Services account name.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "LiveEventName": { + "name": "liveEventName", + "description": "The name of the Live Event.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 32, + "x-ms-parameter-location": "method" + }, + "StreamingResourceAutoStart": { + "name": "autoStart", + "description": "The flag indicates if the resource should be automatically started on creation.", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method" + }, + "LiveOutputName": { + "name": "liveOutputName", + "description": "The name of the Live Output.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 256, + "x-ms-parameter-location": "method" + }, + "StreamingEndpointName": { + "name": "streamingEndpointName", + "description": "The name of the StreamingEndpoint.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 24, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 7aedeb8e9162..43247c9aaaaa 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -26,9 +26,24 @@ These are the global settings for the MediaServices API. ``` yaml openapi-type: arm -tag: package-2018-07 +tag: package-2019-05-preview opt-in-extensible-enums: true +``` + +### Tag: package-2019-05-preview +These settings apply only when `--tag=package-2019-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-05-preview' +input-file: + - Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json + - Microsoft.Media/preview/2019-05-01-preview/Accounts.json + - Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json + - Microsoft.Media/preview/2019-05-01-preview/Common.json + - Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json + - Microsoft.Media/preview/2019-05-01-preview/Encoding.json + - Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json + - Microsoft.Media/preview/2019-05-01-preview/streamingservice.json ``` ### Tag: package-2018-07 @@ -237,5 +252,9 @@ directive: - suppress: OBJECT_MISSING_REQUIRED_PROPERTY from: Encoding.json where: $.definitions.JobProperties - reason: Input is not required when updating a job. + reason: Input not required for Job update + - suppress: OBJECT_MISSING_REQUIRED_PROPERTY + from: Encoding.json + where: $.definitions.JobProperties + reason: Output not required for job update ``` From cf50bae38d540193c261098ce83b1b71dafd74f9 Mon Sep 17 00:00:00 2001 From: Rich Franklin Date: Fri, 14 Jun 2019 16:27:28 +0000 Subject: [PATCH 035/495] IMDS Swagger for 2019-02-01 (#6283) * IMDS Swagger for 2019-02-01 * Updated readme * Fix suppression * Capitalization for examples files * Capitalized names of example files * Add units for ext_expires_in --- .../2019-02-01/examples/GetAttestedData.json | 15 + .../2019-02-01/examples/GetIdentityInfo.json | 13 + .../2019-02-01/examples/GetIdentityToken.json | 20 + .../examples/GetInstanceMetadata.json | 48 ++ .../stable/2019-02-01/imds.json | 625 ++++++++++++++++++ specification/imds/data-plane/readme.md | 36 +- 6 files changed, 755 insertions(+), 2 deletions(-) create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json new file mode 100644 index 000000000000..597d9e79b9d7 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-02-01", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json new file mode 100644 index 000000000000..7fd6121556fb --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json new file mode 100644 index 000000000000..a5cd62828a19 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json new file mode 100644 index 000000000000..243881799100 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" + } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" + } + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json new file mode 100644 index 000000000000..99d3fb3418e3 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json @@ -0,0 +1,625 @@ +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-02-01" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } + } + } + }, + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } + } + } + }, + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." + }, + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." + }, + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." + }, + "name": { + "type": "string", + "description": "This is the name of the VM." + }, + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." + }, + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." + }, + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." + }, + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type":"string", + "description":"This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type":"array", + "description": "This contains data about the network interface.", + "items": { + "type": "object", + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type":"object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref":"#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type":"array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } + } + } + }, + "ipv6": { + "type":"object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref":"#/definitions/Ipv6Properties" + } + } + } + }, + "macAddress": { + "type":"string", + "description":"This is the MAC address of the interface." + } + } + }, + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." + }, + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type":"string", + "description":"This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type":"string", + "description":"This is the address range of the subnet." + }, + "prefix": { + "type":"string", + "description":"This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md index 246faba00e21..3edf0a3ddfbb 100644 --- a/specification/imds/data-plane/readme.md +++ b/specification/imds/data-plane/readme.md @@ -22,10 +22,26 @@ These are the global settings for the Instance Metadata Service API. ``` yaml openapi-type: data-plane azure-arm: true -tag: package-2018-05 +tag: package-2019-02-01 +output-folder: ./Generated +``` + +### Tag: package-2018-10-01 + +These settings apply only when `--tag=package-2018-10-01` is specified on the command line. + +```yaml $(tag) == 'package-2018-10-01' input-file: - Microsoft.InstanceMetadataService/stable/2018-10-01/imds.json -output-folder: ./Generated +``` + +### Tag: package-2019-02-01 + +These settings apply only when `--tag=package-2019-02-01` is specified on the command line. + +```yaml $(tag) == 'package-2019-02-01' +input-file: +- Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json ``` ## Suppression @@ -46,6 +62,22 @@ output-folder: ./Generated - $.definitions.IdentityTokenResponse.properties.object_id - $.definitions.IdentityTokenResponse.properties.msi_res_id - $.definitions.IdentityErrorResponse.properties.error_description + + - suppress: DefinitionsPropertiesNamesCamelCase + reason: The following properties follow the Oath2 spec, which does not use camelCase. + from: Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json + where: + - $.definitions.IdentityTokenResponse.properties.access_token + - $.definitions.IdentityTokenResponse.properties.expires_in + - $.definitions.IdentityTokenResponse.properties.expires_on + - $.definitions.IdentityTokenResponse.properties.ext_expires_in + - $.definitions.IdentityTokenResponse.properties.not_before + - $.definitions.IdentityTokenResponse.properties.resource + - $.definitions.IdentityTokenResponse.properties.token_type + - $.definitions.IdentityTokenResponse.properties.client_id + - $.definitions.IdentityTokenResponse.properties.object_id + - $.definitions.IdentityTokenResponse.properties.msi_res_id + - $.definitions.IdentityErrorResponse.properties.error_description ``` --- From 213244b93bda6894e8b318d1e382ec0eaab1618a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 12:33:35 -0400 Subject: [PATCH 036/495] chore: jsonfmt resources (#6330) * chore: jsonfmt resources Ran `jsonfmt -w "specification/resources/**/*.json"` * fix: Update version number to match API folder --- .../2019-03-01/examples/CreateResourceGroup.json | 2 +- .../2019-03-01/examples/ExportResourceGroup.json | 12 +++++------- .../examples/ExportResourceGroupWithFiltering.json | 9 ++++----- ...eploymentWithOnErrorDeploymentLastSuccessful.json | 2 +- ...ymentWithOnErrorDeploymentSpecificDeployment.json | 2 +- 5 files changed, 12 insertions(+), 15 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json index 9a9adda03f92..3fa522a21707 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "api-version": "2018-05-01", + "api-version": "2019-03-01", "parameters": { "location": "eastus" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json index 5f0c654df9a3..a916403b5694 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", "resourceGroupName": "myResourceGroup", - "api-version": "2018-05-01", + "api-version": "2019-03-01", "parameters": { "resources": [ "*" @@ -15,7 +15,7 @@ "body": { "template": { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion":"1.0.0.0", + "contentVersion": "1.0.0.0", "parameters": { "myResourceType_myFirstResource_name": { "defaultValue": "myFirstResource", @@ -30,8 +30,7 @@ "type": "SecureString" } }, - "variables":{ - }, + "variables": {}, "resources": [ { "type": "My.RP/myResourceType", @@ -56,10 +55,9 @@ "error": { "code": "ExportTemplateCompletedWithErrors", "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", - "details":[ - ] + "details": [] } } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json index 9584f3bd194f..f2859e253e5b 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", "resourceGroupName": "myResourceGroup", - "api-version": "2018-05-01", + "api-version": "2019-03-01", "parameters": { "resources": [ "/subscriptions/eaee6a92-e973-4922-9471-3a0a6abf81cd/resourceGroups/myResourceGroup/providers/My.RP/myResourceType/myFirstResource" @@ -15,15 +15,14 @@ "body": { "template": { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion":"1.0.0.0", + "contentVersion": "1.0.0.0", "parameters": { "myResourceType_myFirstResource_secret": { "defaultValue": null, "type": "SecureString" } }, - "variables": { - }, + "variables": {}, "resources": [ { "type": "My.RP/myResourceType", @@ -39,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json index 6f95a718c309..610d1ac15156 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "deploymentName": "exampleDeploymentName", - "api-version": "2018-05-01", + "api-version": "2019-03-01", "parameters": { "properties": { "templateLink": "{templateUri}", diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index cfec2b113970..a9981828cf4c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "deploymentName": "exampleDeploymentName", - "api-version": "2018-05-01", + "api-version": "2019-03-01", "parameters": { "properties": { "templateLink": "{templateUri}", From d76dc1c493b3d0f375e37cab8207fb4297101867 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 12:34:35 -0400 Subject: [PATCH 037/495] chore: jsonfmt containerservice (#6319) Ran `jsonfmt -w "specification/containerservice/**/*.json"` --- .../examples/AgentPoolsCreate_Update.json | 2 +- .../2019-04-01/examples/AgentPoolsDelete.json | 22 +++++++++---------- .../2019-04-01/examples/AgentPoolsGet.json | 2 +- .../2019-04-01/examples/AgentPoolsList.json | 22 +++++++++---------- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsCreate_Update.json index c86ee98e0598..652da57b0fa5 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsCreate_Update.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsCreate_Update.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1", + "agentPoolName": "agentpool1", "parameters": { "properties": { "orchestratorVersion": "", diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsDelete.json index 059d03a54b29..77da864aafb0 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsDelete.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-01", - "subscriptionId": "subid1", - "resourceGroupName": "rg1", - "resourceName": "clustername1", - "agentPoolName":"agentpool1" - }, - "responses": { - "202": {}, - "204": {} - } + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName": "agentpool1" + }, + "responses": { + "202": {}, + "204": {} + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsGet.json index a4351d618126..281556e6bf80 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsGet.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsGet.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1" + "agentPoolName": "agentpool1" }, "responses": { "200": { diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsList.json index 45f78275f3b9..65d49864620e 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsList.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-01/examples/AgentPoolsList.json @@ -9,18 +9,18 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", - "name": "agentpool1", - "properties": { - "provisioningState": "Succeeded", - "count": 3, - "vmSize": "Standard_DS1_v2", - "maxPods": 110, - "osType": "Linux", - "orchestratorVersion": "1.9.6" - } + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "name": "agentpool1", + "properties": { + "provisioningState": "Succeeded", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "orchestratorVersion": "1.9.6" } + } ] } } From e59d83655f962bb8b22e2178193f813f9ac87b40 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 14 Jun 2019 10:17:30 -0700 Subject: [PATCH 038/495] Add missing multi-api EventHub (#6352) --- specification/eventhub/resource-manager/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 856e1309bbc9..c616b290721f 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -82,6 +82,8 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python + after_scripts: + - python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js From a8f25191365a355edb4d7e7609614f48746acb64 Mon Sep 17 00:00:00 2001 From: Liran Chen <1437075+liranc@users.noreply.github.com> Date: Fri, 14 Jun 2019 20:32:37 +0300 Subject: [PATCH 039/495] [Hub Generated] Review request for Microsoft.Security to add version preview/2017-08-01-preview (#6280) * Resource management * updated examples * Split userdefinedresourcest to separate type * Optionals in patch * use properties * updated patch example * moved parameter to separate section * updated patch parameters * removed mistake file * removed copy example json * Added recommendation configuration in the Solution Manager RP * removed the required section in RecommendationConfigurationProperties * fixed examples of Solution Manager RP * changed RecommendationConfigurationProperties in Solution Manager RP * Ran jsonfmt -w specification/security/**/*.json * changed name of property in iot solution RP * fixed examples of Iot Solution RP --- .../CreateIoTSecuritySolution_example.json | 38 +++- .../GetIoTSecuritySolution_example.json | 72 +++++++ ...itySolutionsListByIotHubAndRg_example.json | 72 +++++++ ...SecuritySolutionsListByIotHub_example.json | 72 +++++++ ...tIoTSecuritySolutionsListByRg_example.json | 72 +++++++ .../GetIoTSecuritySolutionsList_example.json | 82 ++++++++ .../UpdateIoTSecuritySolution_example.json | 28 ++- .../iotSecuritySolutions.json | 181 +++++++++++++++++- 8 files changed, 606 insertions(+), 11 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json index 3c02031dd29c..9e7bbd386238 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json @@ -15,7 +15,13 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" - ] + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + } } } }, @@ -35,6 +41,16 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" ] } } @@ -54,6 +70,26 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "status": "TurnedOff" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "status": "TurnedOff" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json index 6649a20b1f76..18a1fb2617fd 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json @@ -21,6 +21,78 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "description": "Open Ports on device", + "status": "TurnedOff" + }, + { + "recommendationType": "PermissiveFirewallPolicy", + "description": "Permissive firewall policy found in one of the chains", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleInput", + "description": "Permissive firewall rule in the input chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleOut", + "description": "Permissive firewall rule in the output chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "OperationSystemNotValid", + "description": "Operation system baseline validation has failed", + "status": "TurnedOn" + }, + { + "recommendationType": "UnutilizedMessagesFromAgent", + "description": "Agent sends unutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration not optimal", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationConflict", + "description": "Security twin configuration conflict", + "status": "TurnedOn" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "description": "Identical authentication credentials used by multiple devices", + "status": "TurnedOff" + }, + { + "recommendationType": "DenyDefaultIpPolicy", + "description": "Default IP filter policy should be deny", + "status": "TurnedOn" + }, + { + "recommendationType": "TooLargeIPRange", + "description": "IP filter rule includes large IP range", + "status": "TurnedOn" + }, + { + "recommendationType": "EnableDiagnosticsLog", + "description": "Enable diagnostics logs in IoT Hub", + "status": "TurnedOn" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json index 09ca8885a0d8..be8f9ce070d4 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json @@ -25,6 +25,78 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "description": "Open Ports on device", + "status": "TurnedOff" + }, + { + "recommendationType": "PermissiveFirewallPolicy", + "description": "Permissive firewall policy found in one of the chains", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleInput", + "description": "Permissive firewall rule in the input chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleOut", + "description": "Permissive firewall rule in the output chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "OperationSystemNotValid", + "description": "Operation system baseline validation has failed", + "status": "TurnedOn" + }, + { + "recommendationType": "UnutilizedMessagesFromAgent", + "description": "Agent sends unutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration not optimal", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationConflict", + "description": "Security twin configuration conflict", + "status": "TurnedOn" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "description": "Identical authentication credentials used by multiple devices", + "status": "TurnedOff" + }, + { + "recommendationType": "DenyDefaultIpPolicy", + "description": "Default IP filter policy should be deny", + "status": "TurnedOn" + }, + { + "recommendationType": "TooLargeIPRange", + "description": "IP filter rule includes large IP range", + "status": "TurnedOn" + }, + { + "recommendationType": "EnableDiagnosticsLog", + "description": "Enable diagnostics logs in IoT Hub", + "status": "TurnedOn" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json index 0cf73800b547..e40e96d6e93d 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json @@ -24,6 +24,78 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "description": "Open Ports on device", + "status": "TurnedOff" + }, + { + "recommendationType": "PermissiveFirewallPolicy", + "description": "Permissive firewall policy found in one of the chains", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleInput", + "description": "Permissive firewall rule in the input chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleOut", + "description": "Permissive firewall rule in the output chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "OperationSystemNotValid", + "description": "Operation system baseline validation has failed", + "status": "TurnedOn" + }, + { + "recommendationType": "UnutilizedMessagesFromAgent", + "description": "Agent sends unutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration not optimal", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationConflict", + "description": "Security twin configuration conflict", + "status": "TurnedOn" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "description": "Identical authentication credentials used by multiple devices", + "status": "TurnedOff" + }, + { + "recommendationType": "DenyDefaultIpPolicy", + "description": "Default IP filter policy should be deny", + "status": "TurnedOn" + }, + { + "recommendationType": "TooLargeIPRange", + "description": "IP filter rule includes large IP range", + "status": "TurnedOn" + }, + { + "recommendationType": "EnableDiagnosticsLog", + "description": "Enable diagnostics logs in IoT Hub", + "status": "TurnedOn" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json index 79adc7eb0f1a..5aefb6f7f4a9 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json @@ -22,6 +22,78 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "description": "Open Ports on device", + "status": "TurnedOff" + }, + { + "recommendationType": "PermissiveFirewallPolicy", + "description": "Permissive firewall policy found in one of the chains", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleInput", + "description": "Permissive firewall rule in the input chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleOut", + "description": "Permissive firewall rule in the output chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "OperationSystemNotValid", + "description": "Operation system baseline validation has failed", + "status": "TurnedOn" + }, + { + "recommendationType": "UnutilizedMessagesFromAgent", + "description": "Agent sends unutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration not optimal", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationConflict", + "description": "Security twin configuration conflict", + "status": "TurnedOn" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "description": "Identical authentication credentials used by multiple devices", + "status": "TurnedOff" + }, + { + "recommendationType": "DenyDefaultIpPolicy", + "description": "Default IP filter policy should be deny", + "status": "TurnedOn" + }, + { + "recommendationType": "TooLargeIPRange", + "description": "IP filter rule includes large IP range", + "status": "TurnedOn" + }, + { + "recommendationType": "EnableDiagnosticsLog", + "description": "Enable diagnostics logs in IoT Hub", + "status": "TurnedOn" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json index 7b102b844eb5..a6ec0b7e8086 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json @@ -21,6 +21,16 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" ] } }, @@ -40,6 +50,78 @@ "displayName": "Second Solution", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "description": "Open Ports on device", + "status": "TurnedOff" + }, + { + "recommendationType": "PermissiveFirewallPolicy", + "description": "Permissive firewall policy found in one of the chains", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleInput", + "description": "Permissive firewall rule in the input chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "PermissiveFirewallRuleOut", + "description": "Permissive firewall rule in the output chain was found", + "status": "TurnedOn" + }, + { + "recommendationType": "OperationSystemNotValid", + "description": "Operation system baseline validation has failed", + "status": "TurnedOn" + }, + { + "recommendationType": "UnutilizedMessagesFromAgent", + "description": "Agent sends unutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration not optimal", + "status": "TurnedOn" + }, + { + "recommendationType": "SecurityTwinConfigurationConflict", + "description": "Security twin configuration conflict", + "status": "TurnedOn" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "description": "Identical authentication credentials used by multiple devices", + "status": "TurnedOff" + }, + { + "recommendationType": "DenyDefaultIpPolicy", + "description": "Default IP filter policy should be deny", + "status": "TurnedOn" + }, + { + "recommendationType": "TooLargeIPRange", + "description": "IP filter rule includes large IP range", + "status": "TurnedOn" + }, + { + "recommendationType": "EnableDiagnosticsLog", + "description": "Enable diagnostics logs in IoT Hub", + "status": "TurnedOn" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json index 0d2da798697a..a016095ce467 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json @@ -4,9 +4,15 @@ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "resourceGroupName": "myRg", "solutionName": "default", - "securitySolutionTags": { + "updateIotSecuritySolutionData": { "tags": { "foo": "bar" + }, + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] } } }, @@ -30,6 +36,26 @@ "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "OpenPortsOnDevice", + "status": "TurnedOff" + }, + { + "recommendationType": "IdenticalAuthenticationCredentials", + "status": "TurnedOff" + } ] } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index 1f537f2a4f08..e5315fff54b9 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -219,14 +219,14 @@ }, "patch": { "x-ms-examples": { - "Create an iot security solution": { + "Update an iot security solution": { "$ref": "./examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json" } }, "tags": [ "IoT Security Solutions" ], - "description": "update exists Security Solution tags. to update other fields use the CreateOrUpdate method", + "description": "update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method", "operationId": "IotSecuritySolution_Update", "parameters": [ { @@ -242,13 +242,7 @@ "$ref": "#/parameters/SolutionName" }, { - "name": "securitySolutionTags", - "in": "body", - "required": true, - "description": "Updated tag information to set into the iot hub instance.", - "schema": { - "$ref": "#/definitions/TagsResource" - } + "$ref": "#/parameters/UpdateIotSecuritySolution" } ], "responses": { @@ -435,6 +429,20 @@ "items": { "type": "string" } + }, + "userDefinedResources": { + "$ref": "#/definitions/UserDefinedResourcesProperties" + }, + "autoDiscoveredResources": { + "type": "array", + "description": "List of resources that were automatically discovered as relevant to the security solution.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "recommendationsConfiguration":{ + "$ref": "#/definitions/RecommendationConfigurationList" } }, "required": [ @@ -442,6 +450,150 @@ "workspace", "displayName" ] + }, + "UserDefinedResourcesProperties": { + "type": "object", + "description": "Properties of the solution's user defined resources.", + "properties": { + "query": { + "type": "string", + "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\"" + }, + "querySubscriptions": { + "type": "array", + "description": "List of Azure subscription ids on which the user defined resources query should be executed.", + "items": { + "type": "string", + "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$" + } + } + }, + "required": [ + "query", + "querySubscriptions" + ] + }, + "RecommendationConfigurationProperties": { + "type": "object", + "description": "Recommendation configuration", + "properties": { + "recommendationType": { + "type": "string", + "description": "The recommendation type.", + "enum": [ + "OpenPortsOnDevice", + "PermissiveFirewallPolicy ", + "PermissiveFirewallRuleInput", + "PermissiveFirewallRuleOut", + "OperationSystemNotValid", + "UnutilizedMessagesFromAgent", + "SecurityTwinConfigurationNotOptimal", + "SecurityTwinConfigurationConflict", + "IdenticalAuthenticationCredentials", + "DenyDefaultIpPolicy", + "TooLargeIPRange", + "EnableDiagnosticsLog " + ], + "x-ms-enum": { + "name": "ruleType", + "modelAsString": true, + "values": [ + { + "value": "OpenPortsOnDevice", + "description": "A listening endpoint was found on the device." + }, + { + "value": "PermissiveFirewallPolicy", + "description": "Allowed firewall policy found (INPUT/OUTPUT). Firewall policy should deny all traffic by default, and define rules to allow necessary communication to/from the device." + }, + { + "value": "PermissiveFirewallRuleInput", + "description": "A rule in the firewall in the input chain has been found that contains a permissive pattern for a wide range of IP addresses or ports." + }, + { + "value": "PermissiveFirewallRuleOut", + "description": "A rule in the firewall in the output chain has been found that contains a permissive pattern for a wide range of IP addresses or ports." + }, + { + "value": "OperationSystemNotValid", + "description": "Device doesn't comply with CIS Linux benchmarks." + }, + { + "value": "UnutilizedMessagesFromAgent", + "description": "10% or more of security messages were smaller than 4kb during the last 24 hours." + }, + { + "value": "SecurityTwinConfigurationNotOptimal", + "description": "Security twin configuration is not optimal." + }, + { + "value": "SecurityTwinConfigurationConflict", + "description": "Conflicts were identified in the security twin configuration." + }, + { + "value": "IdenticalAuthenticationCredentials", + "description": "IoT Hub authentication credentials are used by multiple devices. This may indicate an illegitimate device impersonating a legitimate device. Duplicate credential use increases the risk of device impersonation by a malicious actor." + }, + { + "value": "DenyDefaultIpPolicy", + "description": "IP filter configuration should have rules defined for allowed traffic, and should by default, deny all other traffic by default." + }, + { + "value": "TooLargeIPRange", + "description": "An allow IP filter rule source IP range is too large. Overly permissive rules can expose your IoT hub to malicious actors." + }, + { + "value": "EnableDiagnosticsLog", + "description": "Enable logs and retain them for up to a year. Retaining logs enables you to recreate activity trails for investigation purposes when a security incident occurs or your network is compromised." + } + ] + } + }, + "description": { + "type": "string", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "TurnedOff", + "TurnedOn" + ], + "default": "TurnedOn", + "description": "Recommendation status. The recommendation is not generated when the status is turned off", + "x-ms-enum": { + "name": "RecommendationConfigStatus", + "modelAsString": true + } + } + }, + "required": [ + "recommendationType", + "status" + ] + }, + "RecommendationConfigurationList": { + "type": "array", + "description": "List of recommendation configuration", + "items": { + "$ref": "#/definitions/RecommendationConfigurationProperties" + } + }, + "UpdateIotSecuritySolutionData": { + "type": "object", + "properties": { + "userDefinedResources": { + "$ref": "#/definitions/UserDefinedResourcesProperties" + }, + "RecommendationsConfiguration": { + "$ref": "#/definitions/RecommendationConfigurationList" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TagsResource" + } + ] } }, "parameters": { @@ -470,6 +622,17 @@ "description": "filter the Security Solution with OData syntax. supporting filter by iotHubs", "type": "string", "x-ms-parameter-location": "method" + }, + "UpdateIotSecuritySolution": { + "name": "updateIotSecuritySolutionData", + "in": "body", + "required": true, + "description": "The security solution data", + "x-ms-parameter-location": "method", + "type": "object", + "schema": { + "$ref": "#/definitions/UpdateIotSecuritySolutionData" + } } } } From 1533162626efa20d28560702427b62d66c1c26d2 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Fri, 14 Jun 2019 11:40:25 -0700 Subject: [PATCH 040/495] Update Spec Paths in strorage csharp readMe (#6354) --- specification/storage/resource-manager/readme.csharp.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/storage/resource-manager/readme.csharp.md b/specification/storage/resource-manager/readme.csharp.md index 32bd05b74a93..5e96bc4de262 100644 --- a/specification/storage/resource-manager/readme.csharp.md +++ b/specification/storage/resource-manager/readme.csharp.md @@ -41,7 +41,7 @@ These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified ```yaml $(csharp-profile)=='hybrid_2018_03_01' namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage -output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/storage/Microsoft.Azure.Management.Storage/src/Generated batch: - tag: package-2018-03 - tag: package-2018-02 @@ -55,7 +55,7 @@ These settings apply only when `--csharp-profile=profile_2017_03_09` is specifie ```yaml $(csharp-profile)=='profile_2017_03_09' namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage -output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/storage/Microsoft.Azure.Management.Storage/src/Generated batch: - tag: package-2016-01 ``` @@ -66,7 +66,7 @@ These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified ```yaml $(csharp-profile)=='hybrid_2019_03_01' namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage -output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/storage/Microsoft.Azure.Management.Storage/src/Generated batch: - tag: profile-hybrid-2019-03-01 ``` From 144005a082d3c293c0bede67aa31a9cde2c2058c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:22:02 -0400 Subject: [PATCH 041/495] chore: jsonfmt devspaces (#6031) Ran `jsonfmt -w "specification/devspaces/**/*.json"` --- .../preview/2018-06-01-preview/devspaces.json | 2 +- ...ppingsGetContainerHostMapping_example.json | 2 +- .../examples/ControllersCreate_example.json | 2 +- .../examples/ControllersDelete_example.json | 2 +- .../examples/ControllersGet_example.json | 2 +- ...ontrollersListByResourceGroup_example.json | 2 +- ...trollersListConnectionDetails_example.json | 2 +- .../examples/ControllersList_example.json | 2 +- .../examples/ControllersUpdate_example.json | 2 +- .../preview/2019-01-01-preview/devspaces.json | 1380 ++++++++--------- ...ppingsGetContainerHostMapping_example.json | 2 +- .../examples/ControllersCreate_example.json | 2 +- .../examples/ControllersDelete_example.json | 2 +- .../examples/ControllersGet_example.json | 2 +- ...ontrollersListByResourceGroup_example.json | 2 +- ...trollersListConnectionDetails_example.json | 2 +- .../examples/ControllersList_example.json | 2 +- .../examples/ControllersUpdate_example.json | 2 +- .../stable/2019-04-01/devspaces.json | 2 +- ...ppingsGetContainerHostMapping_example.json | 2 +- .../examples/ControllersCreate_example.json | 2 +- .../examples/ControllersDelete_example.json | 2 +- .../examples/ControllersGet_example.json | 2 +- ...ontrollersListByResourceGroup_example.json | 2 +- ...trollersListConnectionDetails_example.json | 2 +- .../examples/ControllersList_example.json | 2 +- .../examples/ControllersUpdate_example.json | 2 +- 27 files changed, 716 insertions(+), 716 deletions(-) diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json index 1bb84e692935..a39810c4acb0 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json @@ -786,4 +786,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json index 3e2362fca9e3..23e38a3aabb8 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json index 2a21085465af..5798550f09bf 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json index 187f17b7a0b1..ea383f5e5396 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json index f6deb02784f9..654fe322419b 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json index 06ec0347ede0..4a352ae92104 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json index 5ef702bf8155..ca66caf7b7cf 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json index 7c34aed6946e..be06d920d7a1 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json index fe993c75c0c1..3aad3140b22e 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json index 62bf3c12dfcd..193c945e342e 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json @@ -1,781 +1,781 @@ { - "swagger": "2.0", - "info": { - "version": "2019-01-01-preview", - "title": "DevSpacesManagement", - "description": "Dev Spaces REST API" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": { - "post": { - "tags": [ - "ContainerHostMappings" - ], - "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.", - "operationId": "ContainerHostMappings_GetContainerHostMapping", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "containerHostMapping", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerHostMapping" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "location", - "in": "path", - "description": "Location of the container host.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": {} - } + "swagger": "2.0", + "info": { + "version": "2019-01-01-preview", + "title": "DevSpacesManagement", + "description": "Dev Spaces REST API" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": { + "post": { + "tags": [ + "ContainerHostMappings" + ], + "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.", + "operationId": "ContainerHostMappings_GetContainerHostMapping", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ContainerHostMappingsGetContainerHostMapping": { - "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json" + { + "name": "containerHostMapping", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerHostMapping" } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "location", + "in": "path", + "description": "Location of the container host.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": {} + } + }, + "x-ms-examples": { + "ContainerHostMappingsGetContainerHostMapping": { + "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json" } } - }, - "/providers/Microsoft.DevSpaces/operations": { - "get": { - "tags": [ - "Operations" - ], - "summary": "Lists operations for the resource provider.", - "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } + } + }, + "/providers/Microsoft.DevSpaces/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Lists operations for the resource provider.", + "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Gets an Azure Dev Spaces Controller.", - "description": "Gets the properties for an Azure Dev Spaces Controller.", - "operationId": "Controllers_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the Azure Dev Spaces Controller.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": { + "get": { + "tags": [ + "Controllers" + ], + "summary": "Gets an Azure Dev Spaces Controller.", + "description": "Gets the properties for an Azure Dev Spaces Controller.", + "operationId": "Controllers_Get", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/NameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; response contains the Azure Dev Spaces Controller.", + "schema": { + "$ref": "#/definitions/Controller" } }, - "x-ms-examples": { - "ControllersGet": { - "$ref": "./examples/ControllersGet_example.json" + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "put": { - "tags": [ - "Controllers" - ], - "summary": "Creates an Azure Dev Spaces Controller.", - "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.", - "operationId": "Controllers_Create", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controller", - "in": "body", - "description": "Controller create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/Controller" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the created Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "201": { - "description": "The request was successful; Azure Dev Spaces Controller is being created.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "x-ms-examples": { + "ControllersGet": { + "$ref": "./examples/ControllersGet_example.json" + } + } + }, + "put": { + "tags": [ + "Controllers" + ], + "summary": "Creates an Azure Dev Spaces Controller.", + "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.", + "operationId": "Controllers_Create", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ControllersCreate": { - "$ref": "./examples/ControllersCreate_example.json" - } + { + "$ref": "#/parameters/SubscriptionIdParameter" }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Controllers" - ], - "summary": "Deletes an Azure Dev Spaces Controller.", - "description": "Deletes an existing Azure Dev Spaces Controller.", - "operationId": "Controllers_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the Azure Dev Spaces Controller is deleted." - }, - "202": { - "description": "The request was successful; Azure Dev Spaces Controller is being deleted." - }, - "204": { - "description": "The request was successful; Azure Dev Spaces Controller does not exist." - }, - "default": { - "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + { + "$ref": "#/parameters/ResourceGroupParameter" }, - "x-ms-examples": { - "ControllersDelete": { - "$ref": "./examples/ControllersDelete_example.json" - } + { + "$ref": "#/parameters/NameParameter" }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Controllers" - ], - "summary": "Updates an Azure Dev Spaces Controller.", - "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.", - "operationId": "Controllers_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controllerUpdateParameters", - "in": "body", - "description": "Parameters for updating the Azure Dev Spaces Controller.", - "required": true, - "schema": { - "$ref": "#/definitions/ControllerUpdateParameters" - } + { + "name": "controller", + "in": "body", + "description": "Controller create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Controller" } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + } + ], + "responses": { + "200": { + "description": "The request was successful; response contains the created Azure Dev Spaces Controller .", + "schema": { + "$ref": "#/definitions/Controller" } }, - "x-ms-examples": { - "ControllersUpdate": { - "$ref": "./examples/ControllersUpdate_example.json" + "201": { + "description": "The request was successful; Azure Dev Spaces Controller is being created.", + "schema": { + "$ref": "#/definitions/Controller" + } + }, + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } - } + }, + "x-ms-examples": { + "ControllersCreate": { + "$ref": "./examples/ControllersCreate_example.json" + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a resource group.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.", - "operationId": "Controllers_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "delete": { + "tags": [ + "Controllers" + ], + "summary": "Deletes an Azure Dev Spaces Controller.", + "description": "Deletes an existing Azure Dev Spaces Controller.", + "operationId": "Controllers_Delete", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ControllersListByResourceGroup": { - "$ref": "./examples/ControllersListByResourceGroup_example.json" - } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "$ref": "#/parameters/NameParameter" } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a subscription.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.", - "operationId": "Controllers_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + ], + "responses": { + "200": { + "description": "The request was successful; the Azure Dev Spaces Controller is deleted." }, - "x-ms-examples": { - "ControllersList": { - "$ref": "./examples/ControllersList_example.json" - } + "202": { + "description": "The request was successful; Azure Dev Spaces Controller is being deleted." }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "204": { + "description": "The request was successful; Azure Dev Spaces Controller does not exist." + }, + "default": { + "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } - } + }, + "x-ms-examples": { + "ControllersDelete": { + "$ref": "./examples/ControllersDelete_example.json" + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": { - "post": { - "tags": [ - "Controllers" - ], - "summary": "Lists connection details for an Azure Dev Spaces Controller.", - "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.", - "operationId": "Controllers_ListConnectionDetails", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" + "patch": { + "tags": [ + "Controllers" + ], + "summary": "Updates an Azure Dev Spaces Controller.", + "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.", + "operationId": "Controllers_Update", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/NameParameter" + }, + { + "name": "controllerUpdateParameters", + "in": "body", + "description": "Parameters for updating the Azure Dev Spaces Controller.", + "required": true, + "schema": { + "$ref": "#/definitions/ControllerUpdateParameters" } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/ControllerConnectionDetailsList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + } + ], + "responses": { + "200": { + "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .", + "schema": { + "$ref": "#/definitions/Controller" } }, - "x-ms-examples": { - "ControllersListConnectionDetails": { - "$ref": "./examples/ControllersListConnectionDetails_example.json" + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "ControllersUpdate": { + "$ref": "./examples/ControllersUpdate_example.json" + } } } }, - "definitions": { - "ContainerHostMapping": { - "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.", - "properties": { - "containerHostResourceId": { - "description": "ARM ID of the Container Host resource", - "type": "string" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": { + "get": { + "tags": [ + "Controllers" + ], + "summary": "Lists the Azure Dev Spaces Controllers in a resource group.", + "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.", + "operationId": "Controllers_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" }, - "mappedControllerResourceId": { - "description": "ARM ID of the mapped Controller resource", - "type": "string", - "readOnly": true - } - } - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource.", - "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/parameters/ResourceGroupParameter" } ], - "properties": { - "tags": { - "description": "Tags for the Azure resource.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ] - }, - "location": { - "description": "Region where the Azure resource is located.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - } - } - }, - "ResourceProviderOperationList": { - "properties": { - "value": { - "description": "Resource provider operations list.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperationDefinition" + "responses": { + "200": { + "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.", + "schema": { + "$ref": "#/definitions/ControllerList" } }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure operations.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceProviderOperationDefinition": { - "properties": { - "name": { - "description": "Resource provider operation name.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/ResourceProviderOperationDisplay" + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } - } - }, - "ResourceProviderOperationDisplay": { - "properties": { - "provider": { - "description": "Name of the resource provider.", - "type": "string" - }, - "resource": { - "description": "Name of the resource type.", - "type": "string" - }, - "operation": { - "description": "Name of the resource provider operation.", - "type": "string" - }, - "description": { - "description": "Description of the resource provider operation.", - "type": "string" + }, + "x-ms-examples": { + "ControllersListByResourceGroup": { + "$ref": "./examples/ControllersListByResourceGroup_example.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "Controller": { - "required": [ - "properties", - "sku", - "location" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": { + "get": { + "tags": [ + "Controllers" ], - "allOf": [ + "summary": "Lists the Azure Dev Spaces Controllers in a subscription.", + "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.", + "operationId": "Controllers_List", + "parameters": [ { - "$ref": "#/definitions/TrackedResource" + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" } ], - "properties": { - "properties": { - "$ref": "#/definitions/ControllerProperties", - "x-ms-client-flatten": true + "responses": { + "200": { + "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.", + "schema": { + "$ref": "#/definitions/ControllerList" + } }, - "sku": { - "$ref": "#/definitions/Sku" + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } + }, + "x-ms-examples": { + "ControllersList": { + "$ref": "./examples/ControllersList_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "ControllerProperties": { - "required": [ - "targetContainerHostResourceId", - "targetContainerHostCredentialsBase64" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": { + "post": { + "tags": [ + "Controllers" ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the Azure Dev Spaces Controller.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Updating", - "Creating", - "Deleting", - "Deleted" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "summary": "Lists connection details for an Azure Dev Spaces Controller.", + "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.", + "operationId": "Controllers_ListConnectionDetails", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupParameter" }, - "hostSuffix": { - "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.", - "type": "string", - "readOnly": true - }, - "dataPlaneFqdn": { - "description": "DNS name for accessing DataPlane services", - "type": "string", - "readOnly": true - }, - "targetContainerHostResourceId": { - "description": "Resource ID of the target container host", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "targetContainerHostCredentialsBase64": { - "description": "Credentials of the target container host (base64).", - "type": "string", - "x-ms-mutability": [ - "create" - ] + { + "$ref": "#/parameters/NameParameter" } - } - }, - "Sku": { - "description": "Model representing SKU for Azure Dev Spaces Controller.", - "required": [ - "name" ], - "properties": { - "name": { - "description": "The name of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "S1" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true + "responses": { + "200": { + "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .", + "schema": { + "$ref": "#/definitions/ControllerConnectionDetailsList" } }, - "tier": { - "description": "The tier of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "Standard" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } - } - }, - "ControllerUpdateParameters": { - "description": "Parameters for updating an Azure Dev Spaces Controller.", - "properties": { - "tags": { - "description": "Tags for the Azure Dev Spaces Controller.", - "additionalProperties": { - "type": "string" - } + }, + "x-ms-examples": { + "ControllersListConnectionDetails": { + "$ref": "./examples/ControllersListConnectionDetails_example.json" } } - }, - "ControllerList": { - "properties": { - "value": { - "description": "List of Azure Dev Spaces Controllers.", - "type": "array", - "items": { - "$ref": "#/definitions/Controller" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.", - "type": "string", - "readOnly": true - } + } + } + }, + "definitions": { + "ContainerHostMapping": { + "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.", + "properties": { + "containerHostResourceId": { + "description": "ARM ID of the Container Host resource", + "type": "string" + }, + "mappedControllerResourceId": { + "description": "ARM ID of the mapped Controller resource", + "type": "string", + "readOnly": true } - }, - "ControllerConnectionDetailsList": { - "properties": { - "connectionDetailsList": { - "description": "List of Azure Dev Spaces Controller connection details.", - "type": "array", - "items": { - "$ref": "#/definitions/ControllerConnectionDetails" - } - } + } + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" } - }, - "ControllerConnectionDetails": { - "properties": { - "authKey": { - "description": "Authentication key for communicating with services.", - "type": "string", - "readOnly": true + ], + "properties": { + "tags": { + "description": "Tags for the Azure resource.", + "type": "object", + "additionalProperties": { + "type": "string" }, - "orchestratorSpecificConnectionDetails": { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" + "x-ms-mutability": [ + "read", + "create", + "update" + ] + }, + "location": { + "description": "Region where the Azure resource is located.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ResourceProviderOperationList": { + "properties": { + "value": { + "description": "Resource provider operations list.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperationDefinition" } + }, + "nextLink": { + "description": "The URI that can be used to request the next page for list of Azure operations.", + "type": "string", + "readOnly": true } - }, - "OrchestratorSpecificConnectionDetails": { - "description": "Base class for types that supply values used to connect to container orchestrators", + } + }, + "ResourceProviderOperationDefinition": { + "properties": { + "name": { + "description": "Resource provider operation name.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/ResourceProviderOperationDisplay" + } + } + }, + "ResourceProviderOperationDisplay": { + "properties": { + "provider": { + "description": "Name of the resource provider.", + "type": "string" + }, + "resource": { + "description": "Name of the resource type.", + "type": "string" + }, + "operation": { + "description": "Name of the resource provider operation.", + "type": "string" + }, + "description": { + "description": "Description of the resource provider operation.", + "type": "string" + } + } + }, + "Controller": { + "required": [ + "properties", + "sku", + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { "properties": { - "instanceType": { - "description": "Gets the Instance type.", - "type": "string", - "readOnly": true + "$ref": "#/definitions/ControllerProperties", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku" + } + } + }, + "ControllerProperties": { + "required": [ + "targetContainerHostResourceId", + "targetContainerHostCredentialsBase64" + ], + "properties": { + "provisioningState": { + "description": "Provisioning state of the Azure Dev Spaces Controller.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating", + "Creating", + "Deleting", + "Deleted" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, - "discriminator": "instanceType" - }, - "Resource": { - "description": "An Azure resource.", - "properties": { - "id": { - "description": "Fully qualified resource Id for the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true + "hostSuffix": { + "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.", + "type": "string", + "readOnly": true + }, + "dataPlaneFqdn": { + "description": "DNS name for accessing DataPlane services", + "type": "string", + "readOnly": true + }, + "targetContainerHostResourceId": { + "description": "Resource ID of the target container host", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetContainerHostCredentialsBase64": { + "description": "Credentials of the target container host (base64).", + "type": "string", + "x-ms-mutability": [ + "create" + ] + } + } + }, + "Sku": { + "description": "Model representing SKU for Azure Dev Spaces Controller.", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The name of the SKU for Azure Dev Spaces Controller.", + "enum": [ + "S1" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true } }, - "x-ms-azure-resource": true - }, - "KubernetesConnectionDetails": { - "description": "Contains information used to connect to a Kubernetes cluster", - "allOf": [ - { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" + "tier": { + "description": "The tier of the SKU for Azure Dev Spaces Controller.", + "enum": [ + "Standard" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true } - ], - "properties": { - "kubeConfig": { - "description": "Gets the kubeconfig for the cluster.", + } + } + }, + "ControllerUpdateParameters": { + "description": "Parameters for updating an Azure Dev Spaces Controller.", + "properties": { + "tags": { + "description": "Tags for the Azure Dev Spaces Controller.", + "additionalProperties": { "type": "string" } - }, - "x-ms-discriminator-value": "Kubernetes" - }, - "ErrorResponse": { - "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", - "properties": { - "error": { - "$ref": "#/definitions/ErrorDetails", - "description": "The details of the error." + } + } + }, + "ControllerList": { + "properties": { + "value": { + "description": "List of Azure Dev Spaces Controllers.", + "type": "array", + "items": { + "$ref": "#/definitions/Controller" } + }, + "nextLink": { + "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.", + "type": "string", + "readOnly": true } - }, - "ErrorDetails": { - "properties": { - "code": { - "description": "Status code for the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Error message describing the error in detail.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true + } + }, + "ControllerConnectionDetailsList": { + "properties": { + "connectionDetailsList": { + "description": "List of Azure Dev Spaces Controller connection details.", + "type": "array", + "items": { + "$ref": "#/definitions/ControllerConnectionDetails" } } } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Azure subscription ID.", - "required": true, - "type": "string" + "ControllerConnectionDetails": { + "properties": { + "authKey": { + "description": "Authentication key for communicating with services.", + "type": "string", + "readOnly": true + }, + "orchestratorSpecificConnectionDetails": { + "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" + } + } + }, + "OrchestratorSpecificConnectionDetails": { + "description": "Base class for types that supply values used to connect to container orchestrators", + "properties": { + "instanceType": { + "description": "Gets the Instance type.", + "type": "string", + "readOnly": true + } }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "x-ms-parameter-location": "method" + "discriminator": "instanceType" + }, + "Resource": { + "description": "An Azure resource.", + "properties": { + "id": { + "description": "Fully qualified resource Id for the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + } }, - "NameParameter": { - "name": "name", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string", - "maxLength": 31, - "minLength": 3, - "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$", - "x-ms-parameter-location": "method" + "x-ms-azure-resource": true + }, + "KubernetesConnectionDetails": { + "description": "Contains information used to connect to a Kubernetes cluster", + "allOf": [ + { + "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" + } + ], + "properties": { + "kubeConfig": { + "description": "Gets the kubeconfig for the cluster.", + "type": "string" + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Client API version.", - "required": true, - "type": "string" + "x-ms-discriminator-value": "Kubernetes" + }, + "ErrorResponse": { + "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetails", + "description": "The details of the error." + } } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" + "ErrorDetails": { + "properties": { + "code": { + "description": "Status code for the error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message describing the error in detail.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true } } } - } \ No newline at end of file + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure subscription ID.", + "required": true, + "type": "string" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "NameParameter": { + "name": "name", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string", + "maxLength": 31, + "minLength": 3, + "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client API version.", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json index bb20aa6343b2..adc9b2ef040f 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json index b9643c53efe2..b15b8c8ce608 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json index a06c752386a4..64b07e0568cb 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json index adad206304c5..23ec5e93df6f 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json index 5d4bae4c29ec..f77b862515bc 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json index 101851f45cf7..a0b7175dcbaf 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json index 799d2f698fa7..7db9ae039ab0 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json index 8f561a62b5b0..4f9bd133c3c5 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json index 863695c58195..df71ae6c0d71 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json @@ -823,4 +823,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json index d1ad350387fc..22f5e4d83555 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json @@ -17,4 +17,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json index 7af23923f0cc..34e94e7497a7 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json index 3bb5b1c6084d..9ecbab472aa2 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json index 205faf622813..f4a48472b31a 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json index 57b926301168..fdbddaaa8eb7 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json index a4e8b88ac491..a131e3368bb6 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json index f7160d7490ee..b9cf7143c638 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json index 8f4b0dc31b65..1f192b025a37 100644 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json +++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} From f18309c31ad6fa67aa8b4be350c4af7d102dd3d0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:23:00 -0400 Subject: [PATCH 042/495] chore: jsonfmt securityinsights (#6331) Ran `jsonfmt -w "specification/securityinsights/**/*.json"` --- .../2019-01-01-preview/SecurityInsights.json | 2 +- .../examples/bookmarks/CreateBookmark.json | 15 ++++++++++++--- .../examples/bookmarks/GetBookmarkById.json | 5 ++++- .../examples/bookmarks/GetBookmarks.json | 5 ++++- .../examples/cases/CreateCase.json | 15 ++++++++++++--- .../examples/cases/GetCaseById.json | 5 ++++- .../examples/cases/GetCases.json | 5 ++++- .../examples/entityQueries/GetEntityQueries.json | 2 +- .../entityQueries/GetEntityQueryById.json | 2 +- 9 files changed, 43 insertions(+), 13 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index 1a487cad2e3f..10ef339a3725 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -3334,4 +3334,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json index 65cd4de013d6..15f04776edb5 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json @@ -26,7 +26,10 @@ "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", "createdTimeUtc": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" } } @@ -53,7 +56,10 @@ "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", "createdTimeUtc": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" } } @@ -79,7 +85,10 @@ "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", "createdTimeUtc": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json index 362df7880c97..0358ed179e0b 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json @@ -29,7 +29,10 @@ "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", "createdTimeUtc": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json index 68b776d9fe49..7c1062ebbce3 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json @@ -30,7 +30,10 @@ "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", "createdTimeUtc": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/CreateCase.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/CreateCase.json index 589230d386d5..3b30acd68983 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/CreateCase.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/CreateCase.json @@ -16,7 +16,10 @@ "createdTimeUtc": "2019-01-01T13:15:30Z", "endTimeUtc": "2019-01-01T13:05:30Z", "startTimeUtc": "2019-01-01T13:00:30Z", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "description": "This is a demo case", "title": "My case", "assignedTo": { @@ -42,7 +45,10 @@ "createdTimeUtc": "2019-01-01T13:15:30Z", "endTimeUtc": "2019-01-01T13:05:30Z", "startTimeUtc": "2019-01-01T13:00:30Z", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "description": "This is a demo case", "title": "My case", "assignedTo": { @@ -67,7 +73,10 @@ "createdTimeUtc": "2019-01-01T13:15:30Z", "endTimeUtc": "2019-01-01T13:05:30Z", "startTimeUtc": "2019-01-01T13:00:30Z", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "description": "This is a demo case", "title": "My case", "assignedTo": { diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCaseById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCaseById.json index b4503a26b0c4..0fb96cf9af43 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCaseById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCaseById.json @@ -19,7 +19,10 @@ "createdTimeUtc": "2019-01-01T13:15:30Z", "endTimeUtc": "2019-01-01T13:05:30Z", "startTimeUtc": "2019-01-01T13:00:30Z", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "description": "This is a demo case", "title": "My case", "assignedTo": { diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCases.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCases.json index eae0b7864e3b..3280c62c9c6c 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCases.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/cases/GetCases.json @@ -20,7 +20,10 @@ "createdTimeUtc": "2019-01-01T13:15:30Z", "endTimeUtc": "2019-01-01T13:05:30Z", "startTimeUtc": "2019-01-01T13:00:30Z", - "labels": ["Tag1", "Tag2"], + "labels": [ + "Tag1", + "Tag2" + ], "description": "This is a demo case", "title": "My case", "assignedTo": { diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json index 55d24ef61f25..10b8e4a1a0bf 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json index 23357c682b57..09c7622f7d57 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} From 70c4e5235432a99a94fb18bbee0d66daab1453ad Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:23:39 -0400 Subject: [PATCH 043/495] chore: jsonfmt authorization (#6308) Ran `jsonfmt -w "specification/authorization/**/*.json"` --- .../preview/2015-07-01/examples/ElevateAccess.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json index d4972762b66a..4e3584a31e27 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json @@ -3,7 +3,6 @@ "api-version": "2015-07-01" }, "responses": { - "200": { - } + "200": {} } } From cf931119a862178e0c58d93047d8bf0d3c1405ce Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:24:00 -0400 Subject: [PATCH 044/495] chore: jsonfmt iotcentral (#6118) Ran `jsonfmt -w "specification/iotcentral/**/*.json"` --- .../examples/Apps_CheckNameAvailability.json | 2 +- .../examples/Apps_CreateOrUpdate.json | 2 +- .../2017-07-01-privatepreview/examples/Apps_Delete.json | 2 +- .../preview/2017-07-01-privatepreview/examples/Apps_Get.json | 2 +- .../examples/Apps_ListByResourceGroup.json | 2 +- .../examples/Apps_ListBySubscription.json | 2 +- .../2017-07-01-privatepreview/examples/Apps_Update.json | 2 +- .../2017-07-01-privatepreview/examples/Operations_List.json | 2 +- .../2018-09-01/examples/Apps_CheckNameAvailability.json | 2 +- .../2018-09-01/examples/Apps_CheckSubdomainAvailability.json | 4 ++-- .../stable/2018-09-01/examples/Apps_CreateOrUpdate.json | 2 +- .../stable/2018-09-01/examples/Apps_Delete.json | 2 +- .../stable/2018-09-01/examples/Apps_Get.json | 4 ++-- .../stable/2018-09-01/examples/Apps_ListByResourceGroup.json | 2 +- .../stable/2018-09-01/examples/Apps_ListBySubscription.json | 2 +- .../stable/2018-09-01/examples/Apps_Templates.json | 2 +- .../stable/2018-09-01/examples/Apps_Update.json | 2 +- .../stable/2018-09-01/examples/Operations_List.json | 2 +- 18 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json index 0b6098bd619f..c631a16720e6 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json index d894da696294..a0c5c2f7753a 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json @@ -53,4 +53,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json index 85a89bf34018..c5e0e72bf9d8 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json index 07dd1f85209c..75c2f159cdab 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json index 846e92484a2f..24016a92867c 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json index 01929b226fe0..0dc864659d14 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json index ed53dc94cd68..d84a44a5e92c 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json @@ -29,4 +29,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json index 498ce5dfd996..a59174b0144d 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json index daa814b1499f..0996f65a1ee7 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json index 1d7bac270480..ab65e95d2f3d 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json @@ -11,7 +11,7 @@ "200": { "description": "Returns information about resource subdomain availability", "headers": { - "code": "200" + "code": "200" }, "body": { "nameAvailable": true @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json index 8416e881acd2..9d626fc30b83 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json index 6cadd187fed0..335c6cb51d5b 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json index fe6000962120..82b75ed101be 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json @@ -29,7 +29,7 @@ "name": "F1" } } - }, + }, "default": { "description": "Error message returned for an unexpected response", "headers": {}, @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json index d3321d10ea59..c44ed4df8d63 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json index 6392fc8ad6bb..9952cbcd8470 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json index 2b244dee3848..9a80de984780 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json index 431b094216d8..ba7205ca84ad 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json index 121472301642..2c26d0ba9936 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} From 7c7e7397be9e4324095eb98cd2338036f79edb13 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:24:28 -0400 Subject: [PATCH 045/495] chore: jsonfmt mysql (#6186) Ran `jsonfmt -w "specification/mysql/**/*.json"` --- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../preview/2017-12-01-preview/mysql.json | 14 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/QueryTextsListByServer.json | 5 +- .../RecommendedActionSessionCreate.json | 24 +-- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../examples/ServerUpdate.json | 2 +- .../examples/TopQueryStatisticsGet.json | 6 +- .../TopQueryStatisticsListByServer.json | 8 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../2018-06-01-privatepreview/mysql.json | 11 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../2017-12-01/examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../2017-12-01/examples/DatabaseCreate.json | 8 +- .../2017-12-01/examples/DatabaseDelete.json | 2 +- .../2017-12-01/examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../2017-12-01/examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../2017-12-01/examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../2017-12-01/examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../2017-12-01/examples/ServerDelete.json | 2 +- .../stable/2017-12-01/examples/ServerGet.json | 2 +- .../2017-12-01/examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../2017-12-01/examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../2017-12-01/examples/ServerUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../stable/2017-12-01/mysql.json | 14 +- 100 files changed, 1233 insertions(+), 1189 deletions(-) diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json index fcad6babede5..10161ea1d3d9 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json index 7b1c0a923c2a..4cb86a501129 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2017-12-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json index 024f87a440d1..2239c50cb476 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json index 5459c5080944..fe6446eba8ca 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json index de60cc340354..5a92a30f21a8 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json index e21c5cbef64e..14c67b04f652 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json index 80032843b496..076cf15c5b86 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json index 9f749c46fcaa..c93a4fe1b8cc 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json index 9bd78a018f7d..24b609a399b8 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json index 399a1ea5b114..a072465af30d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json index 3b00d3c2bbd0..af1300560888 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json index 42686020cbb7..1158a53674ab 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json index 17898b0ec9ae..3c2143e5e4f0 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json index 65f92bde8968..372295debcc7 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json index d92bda51d4f5..3ba3044c3b9f 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mysql.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mysql.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mysql.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json index 9efce0135830..1a584362d449 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json index ea5a8b6e8573..978ac08c0c50 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json index 42d22bb2929f..6b0fe8b632e2 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json index 17cf2924102c..079f432114ff 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json index 0f58486f743a..1bb9a7ec0414 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2017-12-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json index ce8f70a65a88..7e9b8bb82f78 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json index 32d9e90c033a..4c103677e54b 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01-preview", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json index d189ddd73a3f..4939ece1a0c6 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json index e49272d97d31..63349a42c85e 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2017-12-01-preview", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json index a6dc2113e0d5..8d51878323cd 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2017-12-01-preview" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2017-12-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json index 176df67d2998..3e670a430e5e 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2017-12-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json index 3574662d1ed5..b9dbbb781c98 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2017-12-01-preview" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json index 938a97c6e252..b7a1f683cc53 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1443,7 +1445,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2270,7 +2272,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2355,4 +2357,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json index 4543f9ced197..df008637bdb5 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json index 0a9da92eaee8..4e4e1cd91396 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json index e58485efa99e..61d65e032a4a 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json index 90d4e18a56e4..4f8651a74f7e 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json index 73848f69214f..ef9319f5e8b1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json index 6706a74576de..a708f740d475 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json index cc7a8b270676..71a6289d50fe 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json index c5563821a18e..209210b13f9d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json index 9d9cee7bb309..3b9dacd5b712 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json index d8348f45a659..b78f19daba9d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json index e78102ff408a..3a57e76e26b3 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json index 40de6a14928d..49ed7c0d8de1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json index a442a7cfe19e..488659020a22 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json index fe26bba54b89..d58a0f0af262 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json index 4e8093cfd7dc..e06b0f4b64ec 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json index e190fcacbadd..b9d7472cb3ab 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json @@ -4,7 +4,10 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "testResourceGroupName", "serverName": "testServerName", - "queryIds": [ "1", "2" ] + "queryIds": [ + "1", + "2" + ] }, "responses": { "200": { diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json index 6a501bd5ceab..e127d2619fb9 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2018-06-01-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "testResourceGroupName", - "serverName": "testServerName", - "advisorName": "Index", - "databaseName": "someDatabaseName" - }, - "responses": { - "200": {}, - "202": {} - } + "parameters": { + "api-version": "2018-06-01-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testResourceGroupName", + "serverName": "testServerName", + "advisorName": "Index", + "databaseName": "someDatabaseName" + }, + "responses": { + "200": {}, + "202": {} } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json index 931fd7889be2..91e3babfd5de 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mysql.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mysql.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mysql.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json index 95e43a06f2fd..1990e33ffbe6 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json index 24ed1b914bbb..756e3baeedfa 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json index bba4057c8d8c..690482a16c7a 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json index c906294eb2ae..bd008b4de0d1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json index 6427e09c2b08..6cb3de624950 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json index 381f09f4870d..2f315136b484 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json index ca2c00b01b1e..ea5765692f3d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json index 93fab5d2ecf0..6e0256e1c27c 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json index bc355a010136..791eb7edcb7f 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json index 7e0e08e7fce9..5b613db3291d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json index cca181d831ee..b9c9fe160f3d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json index d189ddd73a3f..4939ece1a0c6 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json index cf7bf6844965..09623b8abe29 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json index f0b884dab2e6..bb59c49ea32f 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json @@ -13,19 +13,19 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMySQL/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", "queryExecutionCount": 1, "queryId": "66" - } + } } } } diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json index e05826343693..e2bd9ada4f9e 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json @@ -24,13 +24,13 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMySQL/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", @@ -43,13 +43,13 @@ "name": "66-636924483000000000-636924492000000000-avg-duration", "type": "Microsoft.DBforMySQL/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql" ], "startTime": "2019-05-03T02:45:00Z", "endTime": "2019-05-03T03:00:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 1712.301446136, "metricValueUnit": "milliseconds", diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json index e7baa8266bbd..9a4bfd76b984 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2017-12-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json index fb3336a3e4b5..0fa496b85696 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2017-12-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2017-12-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json index 50f18a6578e2..145aa65e22e4 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json index 459eed49d500..3bf5f1281229 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json index b67153f9ea44..0b8d89484000 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -2003,7 +2005,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -3136,8 +3138,7 @@ } }, "AdvisorProperties": { - "properties": { - }, + "properties": {}, "description": "The properties of a recommendation action advisor." }, "Advisor": { diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json index 4543f9ced197..df008637bdb5 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json index 0a9da92eaee8..4e4e1cd91396 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json index e58485efa99e..61d65e032a4a 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json index 90d4e18a56e4..4f8651a74f7e 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json index 73848f69214f..ef9319f5e8b1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json index 6706a74576de..a708f740d475 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json index cc7a8b270676..71a6289d50fe 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json index c5563821a18e..209210b13f9d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json index 9d9cee7bb309..3b9dacd5b712 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2017-12-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json index d8348f45a659..b78f19daba9d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json index e78102ff408a..3a57e76e26b3 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json index 40de6a14928d..49ed7c0d8de1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json index a442a7cfe19e..488659020a22 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json index fe26bba54b89..d58a0f0af262 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json index 4e8093cfd7dc..e06b0f4b64ec 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json index 931fd7889be2..91e3babfd5de 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mysql.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mysql.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mysql.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json index 95e43a06f2fd..1990e33ffbe6 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json index 24ed1b914bbb..756e3baeedfa 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json index bba4057c8d8c..690482a16c7a 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMySQL/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMySQL/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json index c906294eb2ae..bd008b4de0d1 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json index 6427e09c2b08..6cb3de624950 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json index 381f09f4870d..2f315136b484 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json index ca2c00b01b1e..ea5765692f3d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json index 93fab5d2ecf0..6e0256e1c27c 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json index bc355a010136..791eb7edcb7f 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2017-12-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2017-12-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json index 7e0e08e7fce9..5b613db3291d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json index cca181d831ee..b9c9fe160f3d 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-12-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-12-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json index d189ddd73a3f..4939ece1a0c6 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json index cf7bf6844965..09623b8abe29 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json index e7baa8266bbd..9a4bfd76b984 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2017-12-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json index fb3336a3e4b5..0fa496b85696 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2017-12-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2017-12-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json index 50f18a6578e2..145aa65e22e4 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json index 459eed49d500..3bf5f1281229 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json index 384e97d91ba6..21a4680cb4ed 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1443,7 +1445,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2270,7 +2272,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2355,4 +2357,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} From 8b5cb0ff10bca2b179cdc9c7fd8c13336494a19e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 14 Jun 2019 15:24:59 -0400 Subject: [PATCH 046/495] chore: jsonfmt eventhub (#6063) * fix: Remove "description" for model validation * fix: Remove type from ArmDisasterRecovery examples for model validation * chore: jsonfmt eventhub Ran `jsonfmt -w "specification/eventhub/**/*.json"` --- .../examples/Clusters/ClusterDelete.json | 22 +- .../examples/Clusters/ClusterGet.json | 2 +- .../examples/Clusters/ClusterPatch.json | 72 ++-- .../examples/Clusters/ClusterPut.json | 114 ++--- .../ClusterQuotaConfigurationGet.json | 30 +- .../ClusterQuotaConfigurationPatch.json | 2 +- .../Clusters/ClustersListByResourceGroup.json | 56 +-- .../Clusters/ClustersListBySubscription.json | 54 +-- .../Clusters/ListAvailableClustersGet.json | 34 +- .../Clusters/ListNamespacesInClusterGet.json | 44 +- .../NameSpaces/EHNameSpaceCreate.json | 56 +-- .../NameSpaces/EHNameSpaceDelete.json | 2 +- .../examples/NameSpaces/EHNameSpaceGet.json | 94 ++-- .../examples/NameSpaces/EHNameSpaceList.json | 2 +- .../EHNameSpaceListByResourceGroup.json | 2 +- .../NameSpaces/EHNameSpaceUpdate.json | 106 ++--- .../EHNameSpaceIPFilterRuleListAll.json | 2 +- ...EHNameSpaceIpFilterRuleCreateorUpdate.json | 2 +- .../EHNameSpaceIpFilterRuleDelete.json | 4 +- .../EHNameSpaceIpFilterRuleGet.json | 2 +- .../EHNameSpaceIpFilterRuleUpdate.json | 4 +- .../EHNameSpaceVirtualNetworkRuleDelete.json | 6 +- .../EHNameSpaceVirtualNetworkRuleListAll.json | 2 +- .../EHNameSpaceVirtualNetworkRuleupdate.json | 2 +- .../EHNetworkRuleSetCreate.json | 12 +- .../EHNetworkRuleSetGet.json | 12 +- .../examples/Operations_List.json | 2 +- .../stable/2014-09-01/EventHub.json | 12 +- .../stable/2015-08-01/EventHub.json | 117 +++-- .../examples/EHConsumerGroupCreate.json | 8 +- .../examples/EHConsumerGroupDelete.json | 2 +- .../EHConsumerGroupListByEventHub.json | 2 +- .../EHEventHubAuthorizationRuleCreate.json | 9 +- .../EHEventHubAuthorizationRuleDelete.json | 2 +- .../EHEventHubAuthorizationRuleGet.json | 9 +- .../EHEventHubAuthorizationRuleListAll.json | 9 +- .../EHEventHubAuthorizationRuleListKey.json | 2 +- ...ventHubAuthorizationRuleRegenerateKey.json | 2 +- .../EHEventHubAuthorizationRuleUpdate.json | 8 +- .../2015-08-01/examples/EHEventHubCreate.json | 15 +- .../2015-08-01/examples/EHEventHubDelete.json | 2 +- .../2015-08-01/examples/EHEventHubGet.json | 7 +- .../examples/EHEventHubListByNameSpace.json | 11 +- .../2015-08-01/examples/EHEventHubUpdate.json | 6 +- .../EHNameSpaceAuthorizationRuleCreate.json | 11 +- .../EHNameSpaceAuthorizationRuleDelete.json | 2 +- .../EHNameSpaceAuthorizationRuleGet.json | 10 +- .../EHNameSpaceAuthorizationRuleListAll.json | 17 +- .../EHNameSpaceAuthorizationRuleListKey.json | 2 +- ...meSpaceAuthorizationRuleRegenerateKey.json | 2 +- .../EHNameSpaceAuthorizationRuleUpdate.json | 8 +- .../EHNameSpaceCheckNameAvailability.json | 2 +- .../examples/EHNameSpaceCreate.json | 2 +- .../examples/EHNameSpaceDelete.json | 2 +- .../2015-08-01/examples/EHNameSpaceGet.json | 2 +- .../2015-08-01/examples/EHNameSpaceList.json | 2 +- .../EHNameSpaceListByResourceGroup.json | 2 +- .../examples/EHNameSpaceUpdate.json | 12 +- .../examples/EHOperations_List.json | 79 ++-- .../stable/2017-04-01/EventHub.json | 171 ++++++-- .../ConsumerGroup/EHConsumerGroupCreate.json | 28 +- .../ConsumerGroup/EHConsumerGroupDelete.json | 2 +- .../ConsumerGroup/EHConsumerGroupGet.json | 16 +- .../EHConsumerGroupListByEventHub.json | 44 +- .../ConsumerGroup/EHConsumerGroupUpdate.json | 36 +- .../examples/EHOperations_List.json | 408 +++++++++--------- .../EHEventHubAuthorizationRuleCreate.json | 29 +- .../EHEventHubAuthorizationRuleDelete.json | 2 +- .../EHEventHubAuthorizationRuleGet.json | 17 +- .../EHEventHubAuthorizationRuleListAll.json | 25 +- .../EHEventHubAuthorizationRuleListKey.json | 14 +- ...ventHubAuthorizationRuleRegenerateKey.json | 18 +- .../EHEventHubAuthorizationRuleUpdate.json | 28 +- .../examples/EventHubs/EHEventHubCreate.json | 9 +- .../examples/EventHubs/EHEventHubDelete.json | 2 +- .../examples/EventHubs/EHEventHubGet.json | 7 +- .../EventHubs/EHEventHubListByNameSpace.json | 9 +- .../examples/EventHubs/EHEventHubUpdate.json | 2 +- .../EHNameSpaceAuthorizationRuleCreate.json | 9 +- .../EHNameSpaceAuthorizationRuleDelete.json | 2 +- .../EHNameSpaceAuthorizationRuleGet.json | 9 +- .../EHNameSpaceAuthorizationRuleListAll.json | 17 +- .../EHNameSpaceAuthorizationRuleListKey.json | 2 +- ...meSpaceAuthorizationRuleRegenerateKey.json | 2 +- .../EHNameSpaceAuthorizationRuleUpdate.json | 8 +- .../EHNameSpaceCheckNameAvailability.json | 2 +- .../NameSpaces/EHNameSpaceCreate.json | 56 +-- .../NameSpaces/EHNameSpaceDelete.json | 2 +- .../examples/NameSpaces/EHNameSpaceGet.json | 94 ++-- .../examples/NameSpaces/EHNameSpaceList.json | 2 +- .../EHNameSpaceListByResourceGroup.json | 2 +- .../NameSpaces/EHNameSpaceUpdate.json | 106 ++--- .../EHNetworkRuleSetCreate.json | 14 +- .../EHNetworkRuleSetGet.json | 14 +- .../EHAliasAuthorizationRuleGet.json | 17 +- .../EHAliasAuthorizationRuleListAll.json | 77 ++-- .../EHAliasAuthorizationRuleListKey.json | 6 +- .../EHAliasCheckNameAvailability.json | 2 +- .../EHAliasCreate.json | 5 +- .../EHAliasDelete.json | 2 +- .../EHAliasFailOver.json | 2 +- .../disasterRecoveryConfigs/EHAliasGet.json | 1 - .../disasterRecoveryConfigs/EHAliasList.json | 5 +- 103 files changed, 1363 insertions(+), 1082 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json index 7ba2aa0baf20..455a9036a4d5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "clusterName": "testCluster", - "resourceGroupName": "myResourceGroup", - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "clusterName": "testCluster", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json index 2a257820d9cb..decf1dc12a9f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json index 4539946ee5aa..49d40843e81d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json @@ -4,57 +4,57 @@ "resourceGroupName": "myResourceGroup", "api-version": "2018-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters":{ - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - } - } + "parameters": { + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, "sku": { "name": "Dedicated", "capacity": 4 }, - "properties": { - "created": "2017-06-01T21:37:04.46Z", - "updated": "2017-06-01T21:37:53.413Z", - "metricId": "SN6-008" - } - } + "properties": { + "created": "2017-06-01T21:37:04.46Z", + "updated": "2017-06-01T21:37:53.413Z", + "metricId": "SN6-008" + } + } }, "201": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, "sku": { "name": "Dedicated", "capacity": 4 }, - "properties": { - "created": "2017-06-01T21:37:04.46Z", - "updated": "2017-06-01T21:37:53.413Z", - "metricId": "SN6-008" - } - } + "properties": { + "created": "2017-06-01T21:37:04.46Z", + "updated": "2017-06-01T21:37:53.413Z", + "metricId": "SN6-008" + } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json index d71150f6dfbc..47d7194db72e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json @@ -1,64 +1,64 @@ { + "parameters": { + "clusterName": "testCluster", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { - "clusterName": "testCluster", - "resourceGroupName": "myResourceGroup", - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters": { - "sku": { - "tier": "Dedicated", - "capacity": 1 - }, - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - } + "sku": { + "tier": "Dedicated", + "capacity": 1 + }, + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "sku": { + "name": "Dedicated", + "capacity": 1 + }, + "properties": { + "created": "2017-05-24T23:23:27.877Z", + "updated": "2017-05-24T23:23:27.877Z", + "metricId": "SN6-008" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "sku": { - "name": "Dedicated", - "capacity": 1 - }, - "properties": { - "created": "2017-05-24T23:23:27.877Z", - "updated": "2017-05-24T23:23:27.877Z", - "metricId": "SN6-008" - } - } + "201": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" }, - "201": { - "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "sku": { - "name": "Dedicated", - "capacity": 1 - }, - "properties": { - "created": "2017-05-24T23:23:27.877Z", - "updated": "2017-05-24T23:23:27.877Z", - "metricId": "SN6-008" - } - } + "sku": { + "name": "Dedicated", + "capacity": 1 }, - "202" : {} - } + "properties": { + "created": "2017-05-24T23:23:27.877Z", + "updated": "2017-05-24T23:23:27.877Z", + "metricId": "SN6-008" + } + } + }, + "202": {} + } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json index c5ea73433060..8139d5613de8 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json @@ -1,18 +1,18 @@ { - "parameters": { - "clusterName": "testCluster", - "resourceGroupName": "myResourceGroup", - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" - }, - "responses": { - "200": { - "body": { - "settings": { - "namespaces-per-cluster-quota": "200", - "eventhub-per-namespace-quota": "20" - } - } + "parameters": { + "clusterName": "testCluster", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "settings": { + "namespaces-per-cluster-quota": "200", + "eventhub-per-namespace-quota": "20" } + } } -} \ No newline at end of file + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json index d214e8c44414..3f4b9d4ba1f9 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json index c4a2b3c1c9a9..8f80c72ed5c0 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json @@ -1,31 +1,31 @@ { - "parameters": { - "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": {}, - "sku": { - "name": "Dedicated", - "capacity": 4 - }, - "properties": { - "created": "2016-09-13T23:17:25.24Z", - "updated": "2016-09-13T23:17:28.223Z", - "metricId": "SN6-008" - } - } - ] + "parameters": { + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": {}, + "sku": { + "name": "Dedicated", + "capacity": 4 + }, + "properties": { + "created": "2016-09-13T23:17:25.24Z", + "updated": "2016-09-13T23:17:28.223Z", + "metricId": "SN6-008" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json index b88ab50c0324..4d4e78b47ed5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster", - "name": "testCluster", - "type": "Microsoft.EventHub/Clusters", - "location": "South Central US", - "tags": {}, - "sku": { - "name": "Dedicated", - "capacity": 4 - }, - "properties": { - "created": "2016-09-13T23:17:25.24Z", - "updated": "2016-09-13T23:17:28.223Z", - "metricId": "SN6-008" - } - } - ] + "parameters": { + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster", + "name": "testCluster", + "type": "Microsoft.EventHub/Clusters", + "location": "South Central US", + "tags": {}, + "sku": { + "name": "Dedicated", + "capacity": 4 + }, + "properties": { + "created": "2016-09-13T23:17:25.24Z", + "updated": "2016-09-13T23:17:28.223Z", + "metricId": "SN6-008" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json index 891fca989139..479ccfee5b6e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "westus" - }, - { - "location": "eastus" - } - ] - } - } + "parameters": { + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "westus" + }, + { + "location": "eastus" + } + ] + } } + } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json index 8d78ebd0cf63..309fe95a493a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "clusterName": "testCluster", - "resourceGroupName": "myResourceGroup", - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1" - }, - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7" - }, - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1" - } - ] - } - } + "parameters": { + "clusterName": "testCluster", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1" + }, + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7" + }, + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1" + } + ] + } } + } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json index 3c2e7ebd7e50..9b5d1193e4b5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json @@ -42,33 +42,33 @@ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" } } - }, - "201": { - "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } + }, + "201": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" } - }, - "202": {} + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json index b8b3ad3635e0..b697874b2418 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json index fc61c3002d2f..7a662298808e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json @@ -8,55 +8,55 @@ "responses": { "200": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } }, - "201": { + "201": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json index 5c8d199e1ac0..a05c321ff63a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json @@ -1358,4 +1358,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json index be277d878c9d..fc43b939227d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -309,4 +309,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json index 6bee975d1190..29a9c6f32529 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json @@ -4,66 +4,66 @@ "resourceGroupName": "ArunMonocle", "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters":{ - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - } - } + "parameters": { + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } }, "responses": { "200": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } }, "201": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } }, "202": {} } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json index bcefa956851e..52485839683e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json index b114af890566..84ef236a04fa 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json index 91b4cda17551..3cf7783a59c7 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json @@ -7,7 +7,7 @@ "ipFilterRuleName": "sdk-IPFilterRules-7337" }, "responses": { - "200": { }, - "204": { } + "200": {}, + "204": {} } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json index 5ae908f796aa..23808d27ec79 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json index 0bfaea95486f..42b29c8427a2 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "ResourceGroup", "api-version": "2018-01-01-preview", "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337", + "ipFilterRuleName": "sdk-IPFilterRules-7337", "parameters": { "properties": { "ipMask": "13.78.143.246/32", @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json index 05cecc4b578a..e2f63871f214 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json @@ -7,7 +7,7 @@ "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191" }, "responses": { - "200": { }, - "204": { } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json index c0067a14d070..ae96ec6fefd1 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json index 666b79b83407..a704f210cbad 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json index e90b46f684d9..e7969c387337 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -62,15 +62,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json index ddd005ee3956..d63c8fbad4bd 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json @@ -15,15 +15,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json index 9736d035b582..2b7934171ac1 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json @@ -226,4 +226,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json index dcc80378a9db..8ccd63c6dfdb 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json @@ -93,7 +93,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/CheckNamespaceAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/CheckNamespaceAvailability": { "post": { "tags": [ "Namespaces" @@ -384,7 +384,7 @@ "nextLinkName": "nextLink" } }, - "post": { + "post": { "tags": [ "Namespaces" ], @@ -555,7 +555,7 @@ } } } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs": { "get": { "tags": [ @@ -908,7 +908,7 @@ } } } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}": { "put": { "tags": [ @@ -1433,7 +1433,7 @@ ], "description": "AuthorizationRule properties." }, - "SharedAccessAuthorizationRuleResource": { + "SharedAccessAuthorizationRuleResource": { "properties": { "properties": { "x-ms-client-flatten": true, @@ -1788,4 +1788,4 @@ "description": "The consumer group name" } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json index c89708b4a04d..cf1f9218496d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json @@ -41,7 +41,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" } + "EHOperations_List": { + "$ref": "./examples/EHOperations_List.json" + } }, "description": "Lists all of the available Event Hub REST API operations.", "parameters": [ @@ -69,7 +71,9 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NamespacesCheckNameAvailability": { "$ref": "./examples/EHNameSpaceCheckNameAvailability.json" } + "NamespacesCheckNameAvailability": { + "$ref": "./examples/EHNameSpaceCheckNameAvailability.json" + } }, "description": "Check the give Namespace name availability.", "parameters": [ @@ -106,7 +110,9 @@ ], "operationId": "Namespaces_ListBySubscription", "x-ms-examples": { - "NamespacesListBySubscription": { "$ref": "./examples/EHNameSpaceList.json" } + "NamespacesListBySubscription": { + "$ref": "./examples/EHNameSpaceList.json" + } }, "description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.", "parameters": [ @@ -137,7 +143,9 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NamespaceListByResourceGroup": { "$ref": "./examples/EHNameSpaceListByResourceGroup.json" } + "NamespaceListByResourceGroup": { + "$ref": "./examples/EHNameSpaceListByResourceGroup.json" + } }, "description": "Lists the available Namespaces within a resource group.", "parameters": [ @@ -171,7 +179,9 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NamespaceCreate": { "$ref": "./examples/EHNameSpaceCreate.json" } + "NamespaceCreate": { + "$ref": "./examples/EHNameSpaceCreate.json" + } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -222,7 +232,9 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "./examples/EHNameSpaceDelete.json" } + "NameSpaceDelete": { + "$ref": "./examples/EHNameSpaceDelete.json" + } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -258,7 +270,9 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "./examples/EHNameSpaceGet.json" } + "NameSpaceGet": { + "$ref": "./examples/EHNameSpaceGet.json" + } }, "description": "Gets the description of the specified namespace.", "parameters": [ @@ -296,7 +310,9 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NamespacesUpdate": { "$ref": "./examples/EHNameSpaceUpdate.json" } + "NamespacesUpdate": { + "$ref": "./examples/EHNameSpaceUpdate.json" + } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -348,7 +364,9 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "ListAuthorizationRules": { "$ref": "./examples/EHNameSpaceAuthorizationRuleListAll.json" } + "ListAuthorizationRules": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleListAll.json" + } }, "description": "Gets a list of authorization rules for a Namespace.", "parameters": [ @@ -385,7 +403,9 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/EHNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an AuthorizationRule for a Namespace.", "parameters": [ @@ -429,7 +449,9 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/EHNameSpaceAuthorizationRuleDelete.json" } + "NameSpaceAuthorizationRuleDelete": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleDelete.json" + } }, "description": "Deletes an AuthorizationRule for a Namespace.", "parameters": [ @@ -464,7 +486,9 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/EHNameSpaceAuthorizationRuleGet.json" } + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for a Namespace by rule name.", "parameters": [ @@ -501,7 +525,9 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the Namespace.", "parameters": [ @@ -538,7 +564,9 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleRegenerateKey.json" } + "NameSpaceAuthorizationRuleRegenerateKey": { + "$ref": "./examples/EHNameSpaceAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings for the specified Namespace.", "parameters": [ @@ -584,7 +612,9 @@ ], "operationId": "EventHubs_ListAll", "x-ms-examples": { - "EventHubsListAll": { "$ref": "./examples/EHEventHubListByNameSpace.json" } + "EventHubsListAll": { + "$ref": "./examples/EHEventHubListByNameSpace.json" + } }, "description": "Gets all the Event Hubs in a Namespace.", "externalDocs": { @@ -624,7 +654,9 @@ ], "operationId": "EventHubs_CreateOrUpdate", "x-ms-examples": { - "EventHubCreate": { "$ref": "./examples/EHEventHubCreate.json" } + "EventHubCreate": { + "$ref": "./examples/EHEventHubCreate.json" + } }, "description": "Creates or updates a new Event Hub as a nested resource within a Namespace.", "externalDocs": { @@ -671,7 +703,9 @@ ], "operationId": "EventHubs_Delete", "x-ms-examples": { - "EventHubDelete": { "$ref": "./examples/EHEventHubDelete.json" } + "EventHubDelete": { + "$ref": "./examples/EHEventHubDelete.json" + } }, "description": "Deletes an Event Hub from the specified Namespace and resource group.", "externalDocs": { @@ -709,7 +743,9 @@ ], "operationId": "EventHubs_Get", "x-ms-examples": { - "EventHubGet": { "$ref": "./examples/EHEventHubGet.json" } + "EventHubGet": { + "$ref": "./examples/EHEventHubGet.json" + } }, "description": "Gets an Event Hubs description for the specified Event Hub.", "externalDocs": { @@ -749,7 +785,9 @@ ], "operationId": "EventHubs_ListAuthorizationRules", "x-ms-examples": { - "EventHubAuthorizationRuleListAll": { "$ref": "./examples/EHEventHubAuthorizationRuleListAll.json" } + "EventHubAuthorizationRuleListAll": { + "$ref": "./examples/EHEventHubAuthorizationRuleListAll.json" + } }, "description": "Gets the authorization rules for an Event Hub.", "parameters": [ @@ -789,7 +827,9 @@ ], "operationId": "EventHubs_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EHEventHubAuthorizationRuleCreate.json" } + "EventHubAuthorizationRuleCreate": { + "$ref": "./examples/EHEventHubAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an AuthorizationRule for the specified Event Hub.", "externalDocs": { @@ -839,7 +879,9 @@ ], "operationId": "EventHubs_GetAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleGet": { "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" } + "EventHubAuthorizationRuleGet": { + "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for an Event Hub by rule name.", "externalDocs": { @@ -880,7 +922,9 @@ ], "operationId": "EventHubs_PosttAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleGet": { "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" } + "EventHubAuthorizationRuleGet": { + "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for an Event Hub by rule name.", "externalDocs": { @@ -921,7 +965,9 @@ ], "operationId": "EventHubs_DeleteAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleDelete": { "$ref": "./examples/EHEventHubAuthorizationRuleDelete.json" } + "EventHubAuthorizationRuleDelete": { + "$ref": "./examples/EHEventHubAuthorizationRuleDelete.json" + } }, "description": "Deletes an Event Hub AuthorizationRule.", "externalDocs": { @@ -964,7 +1010,9 @@ ], "operationId": "EventHubs_ListKeys", "x-ms-examples": { - "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EHEventHubAuthorizationRuleListKey.json" } + "EventHubAuthorizationRuleListKey": { + "$ref": "./examples/EHEventHubAuthorizationRuleListKey.json" + } }, "description": "Gets the ACS and SAS connection strings for the Event Hub.", "externalDocs": { @@ -1007,7 +1055,9 @@ ], "operationId": "EventHubs_RegenerateKeys", "x-ms-examples": { - "EventHubAuthorizationRuleRegenerateKey": { "$ref": "./examples/EHEventHubAuthorizationRuleRegenerateKey.json" } + "EventHubAuthorizationRuleRegenerateKey": { + "$ref": "./examples/EHEventHubAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the ACS and SAS connection strings for the Event Hub.", "externalDocs": { @@ -1059,7 +1109,9 @@ ], "operationId": "ConsumerGroups_CreateOrUpdate", "x-ms-examples": { - "ConsumerGroupCreate": { "$ref": "./examples/EHConsumerGroupCreate.json" } + "ConsumerGroupCreate": { + "$ref": "./examples/EHConsumerGroupCreate.json" + } }, "description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.", "externalDocs": { @@ -1109,7 +1161,9 @@ ], "operationId": "ConsumerGroups_Delete", "x-ms-examples": { - "ConsumerGroupDelete": { "$ref": "./examples/EHConsumerGroupDelete.json" } + "ConsumerGroupDelete": { + "$ref": "./examples/EHConsumerGroupDelete.json" + } }, "description": "Deletes a consumer group from the specified Event Hub and resource group.", "externalDocs": { @@ -1150,7 +1204,9 @@ ], "operationId": "ConsumerGroups_Get", "x-ms-examples": { - "ConsumerGroupGet": { "$ref": "./examples/EHConsumerGroupGet.json" } + "ConsumerGroupGet": { + "$ref": "./examples/EHConsumerGroupGet.json" + } }, "description": "Gets a description for the specified consumer group.", "externalDocs": { @@ -1193,7 +1249,9 @@ ], "operationId": "ConsumerGroups_ListAll", "x-ms-examples": { - "ConsumerGroupsListAll": { "$ref": "./examples/EHConsumerGroupListByEventHub.json" } + "ConsumerGroupsListAll": { + "$ref": "./examples/EHConsumerGroupListByEventHub.json" + } }, "description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.", "externalDocs": { @@ -1921,4 +1979,3 @@ } } } - diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json index b15bd21d10d3..66101b77f73a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json @@ -6,9 +6,9 @@ "consumerGroupName": "sdk-ConsumerGroup115", "api-version": "2015-08-01", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", - "parameters": { - "location": "West US" - } + "parameters": { + "location": "West US" + } }, "responses": { "200": { @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json index e280d554927d..5e3895ea510c 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json index 00d19dc56965..aaca34366d7e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json index b26ed4f9cf28..657115665c70 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json @@ -21,8 +21,13 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261", "name": "sdk-Authrules9261", "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json index d3e3df638d72..f3d3ad894671 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json index f4c484208b04..7acaf1c13efa 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json @@ -13,8 +13,13 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261", "name": "sdk-Authrules9261", "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json index a60653c10140..90ed61c3ac9d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json @@ -12,10 +12,15 @@ "value": [ { "name": "sdk-Authrules9261", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json index 3c2383c472cc..4a3dc086419c 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json index 888bf145addb..4463d644e34e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json index 936298a0f788..db1337d96df2 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json @@ -21,8 +21,12 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261", "name": "sdk-Authrules9261", "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json index b476ad3fcdb7..ce1ddd83fca2 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json @@ -4,10 +4,10 @@ "resourceGroupName": "Default-ServiceBus-WestUS", "eventHubName": "sdk-EventHub6448", "api-version": "2015-08-01", - "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", + "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093", "parameters": { - "location": "West US", - "properties": { + "location": "West US", + "properties": { "messageRetentionInDays": 7, "status": "Active", "partitionCount": 4 @@ -26,9 +26,14 @@ "createdAt": "2017-03-12T20:37:09.28Z", "updatedAt": "2017-03-12T20:37:18.64Z", "partitionCount": 4, - "partitionIds": [ "0", "1", "2", "3" ] + "partitionIds": [ + "0", + "1", + "2", + "3" + ] } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json index 5632abfafd9d..9f188179bdb4 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json index 1c1f8709314d..a67190d01771 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json @@ -18,7 +18,12 @@ "createdAt": "2017-03-12T09:19:03.577Z", "updatedAt": "2017-03-12T09:19:05.577Z", "partitionCount": 4, - "partitionIds": [ "0", "1", "2", "3" ] + "partitionIds": [ + "0", + "1", + "2", + "3" + ] } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json index 439e7650faef..8b8fc44e883f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace4919", "resourceGroupName": "Default-ServiceBus-WestUS", - "api-version": "2015-08-01", + "api-version": "2015-08-01", "eventHubName": "sdk-eventhub4839", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, @@ -20,11 +20,16 @@ "createdAt": "2017-03-12T07:39:13.31Z", "updatedAt": "2017-03-12T07:39:15.41Z", "partitionCount": 4, - "partitionIds": [ "0", "1", "2", "3" ] + "partitionIds": [ + "0", + "1", + "2", + "3" + ] } } ] } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json index 95715fbf99ac..e54f2116b5fb 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json @@ -15,8 +15,10 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace4919/eventhubs/sdk-EventHub4839", "name": "sdk-EventHub4839", "type": "Microsoft.EventHub/EventHubs", - "properties": { "messageRetentionInDays": 5 } + "properties": { + "messageRetentionInDays": 5 + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json index 0bffa38b6e27..010dcbda76d0 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json @@ -20,9 +20,14 @@ "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/sdk-Authrules4867", "name": "sdk-Authrules4867", - "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "type": "Microsoft.EventHub/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json index 22f41a6d1ec5..6913c213587a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json index e38c7c5c37cb..23f8e0c38cb3 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json @@ -12,8 +12,14 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/RootManageSharedAccessKey", "name": "RootManageSharedAccessKey", "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json index e3989e5d7d69..10a203d9b933 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json @@ -11,14 +11,25 @@ "value": [ { "name": "RootManageSharedAccessKey", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } }, { "name": "sdk-Authrules4867", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json index 127b18d1dc2e..a92ea655622c 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json index 493eebf3dffc..c92fd9cc2f9d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json index 38229971a699..d0875ba95314 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json @@ -20,8 +20,12 @@ "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/sdk-Authrules4867", "name": "sdk-Authrules4867", "type": "Microsoft.EventHub/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json index 909c83db5bcc..698020253a02 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json index 139c3d2f600d..c9b5314c17c6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json @@ -61,4 +61,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json index 9df958402fac..f1a62961e93a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json index 8b26aeb55f6a..34cc27a07ac6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json @@ -32,7 +32,7 @@ } } }, - "201": { + "201": { "body": { "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace8107", "name": "sdk-Namespace8107", diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json index 97c19a4ec68d..83778b6e0d61 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json index 1dfe55f928c5..7000ad62ec1c 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json @@ -96,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json index d24cd80547b1..f616ef03239b 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json @@ -5,12 +5,12 @@ "api-version": "2015-08-01", "subscriptionId": "8c246e6a-cbc6-4a87-aff1-d6a886f376ef", "location": "West US", - "parameters":{ - "tags": { - "tag3": "value3", - "tag4": "value4" - } - } + "parameters": { + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } }, "responses": { "200": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json index 7da7c1956580..2722fb1257b6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json @@ -11,8 +11,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Non Resource Operation", - "operation": "Get namespace availability.", - "description": "Checks availability of namespace under given subscription." + "operation": "Get namespace availability." } }, { @@ -20,8 +19,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub Resource Provider", - "operation": "Registers the EventHub Resource Provider", - "description": "Registers the subscription for the EventHub resource provider and enables the creation of EventHub resources" + "operation": "Registers the EventHub Resource Provider" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Create Or Update Namespace ", - "description": "Create a Namespace Resource and Update its properties. Tags and status of the Namespace are the properties which can be updated." + "operation": "Create Or Update Namespace " } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Get Namespace Resource", - "description": "Get the list of Namespace Resource Description" + "operation": "Get Namespace Resource" } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Delete Namespace", - "description": "Delete Namespace Resource" + "operation": "Delete Namespace" } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules", - "description": "Get the list of Namespaces Authorization Rules description." + "operation": "Get Namespace Authorization Rules" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Create or Update Namespace Authorization Rules", - "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Namespace Authorization Rules" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Delete Namespace Authorization Rule", - "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. " + "operation": "Delete Namespace Authorization Rule" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Get Namespace Listkeys", - "description": "Get the Connection String to the Namespace" + "operation": "Get Namespace Listkeys" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Create or Update EventHub", - "description": "Create or Update EventHub properties." + "operation": "Create or Update EventHub" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Get EventHub", - "description": "Get list of EventHub Resource Descriptions" + "operation": "Get EventHub" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Delete EventHub", - "description": "Operation to delete EventHub Resource" + "operation": "Delete EventHub" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": " Get EventHub Authorization Rules", - "description": " Get the list of EventHub Authorization Rules" + "operation": " Get EventHub Authorization Rules" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Create or Update EventHub Authorization Rule", - "description": "Create EventHub Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update EventHub Authorization Rule" } }, { @@ -146,8 +131,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Delete EventHub Authorization Rules", - "description": "Operation to delete EventHub Authorization Rules" + "operation": "Delete EventHub Authorization Rules" } }, { @@ -155,8 +139,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "List EventHub keys", - "description": "Get the Connection String to EventHub" + "operation": "List EventHub keys" } }, { @@ -164,8 +147,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -173,8 +155,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Create or Update ConsumerGroup", - "description": "Create or Update ConsumerGroup properties." + "operation": "Create or Update ConsumerGroup" } }, { @@ -182,8 +163,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Get ConsumerGroup", - "description": "Get list of ConsumerGroup Resource Descriptions" + "operation": "Get ConsumerGroup" } }, { @@ -191,8 +171,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Delete ConsumerGroup", - "description": "Operation to delete ConsumerGroup Resource" + "operation": "Delete ConsumerGroup" } }, { @@ -200,17 +179,15 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace metrics", - "operation": "Get Namespace metrics", - "description": "Get list of Namespace metrics Resource Descriptions" - } + "operation": "Get Namespace metrics" + } }, { "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read", "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace diagnostic settings", - "operation": "Get Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Get Namespace diagnostic settings" } }, { @@ -218,8 +195,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace diagnostic settings", - "operation": "Create or Update Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Create or Update Namespace diagnostic settings" } }, { @@ -227,12 +203,11 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace logs", - "operation": "Get Namespace logs", - "description": "Get list of Namespace logs Resource Descriptions" + "operation": "Get Namespace logs" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json index cadcaa5fe705..304bc8c7d25b 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json @@ -41,7 +41,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" } + "EHOperations_List": { + "$ref": "./examples/EHOperations_List.json" + } }, "description": "Lists all of the available Event Hub REST API operations.", "parameters": [ @@ -75,7 +77,9 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NamespacesCheckNameAvailability": { "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" } + "NamespacesCheckNameAvailability": { + "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" + } }, "description": "Check the give Namespace name availability.", "parameters": [ @@ -118,7 +122,9 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "NamespacesListBySubscription": { "$ref": "./examples/NameSpaces/EHNameSpaceList.json" } + "NamespacesListBySubscription": { + "$ref": "./examples/NameSpaces/EHNameSpaceList.json" + } }, "description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.", "parameters": [ @@ -155,7 +161,9 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NamespaceListByResourceGroup": { "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json" } + "NamespaceListByResourceGroup": { + "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json" + } }, "description": "Lists the available Namespaces within a resource group.", "parameters": [ @@ -195,7 +203,9 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NamespaceCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json" } + "NamespaceCreate": { + "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json" + } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -255,7 +265,9 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json" } + "NameSpaceDelete": { + "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json" + } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -297,7 +309,9 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "./examples/NameSpaces/EHNameSpaceGet.json" } + "NameSpaceGet": { + "$ref": "./examples/NameSpaces/EHNameSpaceGet.json" + } }, "description": "Gets the description of the specified namespace.", "parameters": [ @@ -341,7 +355,9 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NamespacesUpdate": { "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json" } + "NamespacesUpdate": { + "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json" + } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -399,7 +415,9 @@ ], "operationId": "Namespaces_GetMessagingPlan", "x-ms-examples": { - "GetNamespaceMessagingPlan": { "$ref": "./examples/NameSpaces/EHNameSpaceGetMessagingPlan.json" } + "GetNamespaceMessagingPlan": { + "$ref": "./examples/NameSpaces/EHNameSpaceGetMessagingPlan.json" + } }, "description": "Gets messaging plan for specified namespace.", "parameters": [ @@ -439,7 +457,9 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "ListAuthorizationRules": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json" } + "ListAuthorizationRules": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json" + } }, "description": "Gets a list of authorization rules for a Namespace.", "parameters": [ @@ -482,7 +502,9 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an AuthorizationRule for a Namespace.", "parameters": [ @@ -532,7 +554,9 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json" } + "NameSpaceAuthorizationRuleDelete": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json" + } }, "description": "Deletes an AuthorizationRule for a Namespace.", "parameters": [ @@ -573,7 +597,9 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json" } + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for a Namespace by rule name.", "parameters": [ @@ -616,7 +642,9 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the Namespace.", "parameters": [ @@ -659,7 +687,9 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json" } + "NameSpaceAuthorizationRuleRegenerateKey": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the primary or secondary connection strings for the specified Namespace.", "parameters": [ @@ -711,7 +741,9 @@ ], "operationId": "DisasterRecoveryConfigs_CheckNameAvailability", "x-ms-examples": { - "NamespacesCheckNameAvailability": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json" } + "NamespacesCheckNameAvailability": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json" + } }, "description": "Check the give Namespace name availability.", "parameters": [ @@ -760,7 +792,9 @@ ], "operationId": "DisasterRecoveryConfigs_List", "x-ms-examples": { - "EHAliasList": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasList.json" } + "EHAliasList": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasList.json" + } }, "description": "Gets all Alias(Disaster Recovery configurations)", "parameters": [ @@ -803,7 +837,9 @@ ], "operationId": "DisasterRecoveryConfigs_CreateOrUpdate", "x-ms-examples": { - "EHAliasCreate": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasCreate.json" } + "EHAliasCreate": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasCreate.json" + } }, "description": "Creates or updates a new Alias(Disaster Recovery configuration)", "parameters": [ @@ -856,7 +892,9 @@ ], "operationId": "DisasterRecoveryConfigs_Delete", "x-ms-examples": { - "EHAliasDelete": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasDelete.json" } + "EHAliasDelete": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasDelete.json" + } }, "description": "Deletes an Alias(Disaster Recovery configuration)", "parameters": [ @@ -894,7 +932,9 @@ ], "operationId": "DisasterRecoveryConfigs_Get", "x-ms-examples": { - "EHAliasGet": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasGet.json" } + "EHAliasGet": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasGet.json" + } }, "description": "Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace", "parameters": [ @@ -937,7 +977,9 @@ ], "operationId": "DisasterRecoveryConfigs_BreakPairing", "x-ms-examples": { - "EHAliasBreakPairing": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasBreakPairing.json" } + "EHAliasBreakPairing": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasBreakPairing.json" + } }, "description": "This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces", "parameters": [ @@ -977,7 +1019,9 @@ ], "operationId": "DisasterRecoveryConfigs_FailOver", "x-ms-examples": { - "EHAliasFailOver": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasFailOver.json" } + "EHAliasFailOver": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasFailOver.json" + } }, "description": "Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace", "parameters": [ @@ -1017,7 +1061,9 @@ ], "operationId": "DisasterRecoveryConfigs_ListAuthorizationRules", "x-ms-examples": { - "ListAuthorizationRules": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json" } + "ListAuthorizationRules": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json" + } }, "description": "Gets a list of authorization rules for a Namespace.", "parameters": [ @@ -1063,7 +1109,9 @@ ], "operationId": "DisasterRecoveryConfigs_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json" } + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for a Namespace by rule name.", "parameters": [ @@ -1109,7 +1157,9 @@ ], "operationId": "DisasterRecoveryConfigs_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json" + } }, "description": "Gets the primary and secondary connection strings for the Namespace.", "parameters": [ @@ -1155,7 +1205,9 @@ ], "operationId": "EventHubs_ListByNamespace", "x-ms-examples": { - "EventHubsListAll": { "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json" } + "EventHubsListAll": { + "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json" + } }, "description": "Gets all the Event Hubs in a Namespace.", "parameters": [ @@ -1204,7 +1256,9 @@ ], "operationId": "EventHubs_CreateOrUpdate", "x-ms-examples": { - "EventHubCreate": { "$ref": "./examples/EventHubs/EHEventHubCreate.json" } + "EventHubCreate": { + "$ref": "./examples/EventHubs/EHEventHubCreate.json" + } }, "description": "Creates or updates a new Event Hub as a nested resource within a Namespace.", "parameters": [ @@ -1254,7 +1308,9 @@ ], "operationId": "EventHubs_Delete", "x-ms-examples": { - "EventHubDelete": { "$ref": "./examples/EventHubs/EHEventHubDelete.json" } + "EventHubDelete": { + "$ref": "./examples/EventHubs/EHEventHubDelete.json" + } }, "description": "Deletes an Event Hub from the specified Namespace and resource group.", "parameters": [ @@ -1295,7 +1351,9 @@ ], "operationId": "EventHubs_Get", "x-ms-examples": { - "EventHubGet": { "$ref": "./examples/EventHubs/EHEventHubGet.json" } + "EventHubGet": { + "$ref": "./examples/EventHubs/EHEventHubGet.json" + } }, "description": "Gets an Event Hubs description for the specified Event Hub.", "parameters": [ @@ -1338,7 +1396,9 @@ ], "operationId": "EventHubs_ListAuthorizationRules", "x-ms-examples": { - "EventHubAuthorizationRuleListAll": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListAll.json" } + "EventHubAuthorizationRuleListAll": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListAll.json" + } }, "description": "Gets the authorization rules for an Event Hub.", "parameters": [ @@ -1384,7 +1444,9 @@ ], "operationId": "EventHubs_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" } + "EventHubAuthorizationRuleCreate": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" + } }, "description": "Creates or updates an AuthorizationRule for the specified Event Hub.", "parameters": [ @@ -1437,7 +1499,9 @@ ], "operationId": "EventHubs_GetAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleGet": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleGet.json" } + "EventHubAuthorizationRuleGet": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleGet.json" + } }, "description": "Gets an AuthorizationRule for an Event Hub by rule name.", "parameters": [ @@ -1481,7 +1545,9 @@ ], "operationId": "EventHubs_DeleteAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleDelete": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleDelete.json" } + "EventHubAuthorizationRuleDelete": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleDelete.json" + } }, "description": "Deletes an Event Hub AuthorizationRule.", "parameters": [ @@ -1527,7 +1593,9 @@ ], "operationId": "EventHubs_ListKeys", "x-ms-examples": { - "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" } + "EventHubAuthorizationRuleListKey": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" + } }, "description": "Gets the ACS and SAS connection strings for the Event Hub.", "parameters": [ @@ -1573,7 +1641,9 @@ ], "operationId": "EventHubs_RegenerateKeys", "x-ms-examples": { - "EventHubAuthorizationRuleRegenerateKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json" } + "EventHubAuthorizationRuleRegenerateKey": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json" + } }, "description": "Regenerates the ACS and SAS connection strings for the Event Hub.", "parameters": [ @@ -1628,7 +1698,9 @@ ], "operationId": "ConsumerGroups_CreateOrUpdate", "x-ms-examples": { - "ConsumerGroupCreate": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json" } + "ConsumerGroupCreate": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json" + } }, "description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.", "parameters": [ @@ -1681,7 +1753,9 @@ ], "operationId": "ConsumerGroups_Delete", "x-ms-examples": { - "ConsumerGroupDelete": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json" } + "ConsumerGroupDelete": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json" + } }, "description": "Deletes a consumer group from the specified Event Hub and resource group.", "parameters": [ @@ -1725,7 +1799,9 @@ ], "operationId": "ConsumerGroups_Get", "x-ms-examples": { - "ConsumerGroupGet": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json" } + "ConsumerGroupGet": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json" + } }, "description": "Gets a description for the specified consumer group.", "parameters": [ @@ -1771,7 +1847,9 @@ ], "operationId": "ConsumerGroups_ListByEventHub", "x-ms-examples": { - "ConsumerGroupsListAll": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" } + "ConsumerGroupsListAll": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" + } }, "description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.", "parameters": [ @@ -1823,8 +1901,12 @@ ], "operationId": "Regions_ListBySku", "x-ms-examples": { - "RegionsListBySkuBasic": { "$ref": "./examples/EHRegionsListBySkuBasic.json" }, - "RegionsListBySkuStandard": { "$ref": "./examples/EHRegionsListBySkuStandard.json" } + "RegionsListBySkuBasic": { + "$ref": "./examples/EHRegionsListBySkuBasic.json" + }, + "RegionsListBySkuStandard": { + "$ref": "./examples/EHRegionsListBySkuStandard.json" + } }, "description": "Gets the available Regions for a given sku", "parameters": [ @@ -1857,7 +1939,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default": { "put": { "tags": [ "Namespaces" @@ -2293,7 +2375,6 @@ "captureDescription": { "$ref": "#/definitions/CaptureDescription", "description": "Properties of capture description" - } }, "description": "Properties supplied to the Create Or Update Event Hub operation." @@ -2704,7 +2785,7 @@ ], "description": "Messaging Plan for the namespace" }, - "Subnet": { + "Subnet": { "properties": { "id": { "type": "string", @@ -2899,4 +2980,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json index 6daf3ebe8b17..3e5ef9079db4 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json @@ -6,23 +6,23 @@ "consumerGroupName": "sdk-ConsumerGroup-5563", "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters": { - "properties": { - "userMetadata": "New consumergroup" - } - } + "parameters": { + "properties": { + "userMetadata": "New consumergroup" + } + } }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", - "name": "sdk-ConsumerGroup-5563", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", - "properties": { - "createdAt": "2017-05-25T03:43:09.4536234Z", - "updatedAt": "2017-05-25T03:43:09.4536234Z" - } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", + "name": "sdk-ConsumerGroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:09.4536234Z", + "updatedAt": "2017-05-25T03:43:09.4536234Z" + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json index 957bba87aa1d..53dd502e6311 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json index a8c5701bf0b2..fa44e7bcbc85 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -10,14 +10,14 @@ "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", - "name": "sdk-ConsumerGroup-5563", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", - "properties": { - "createdAt": "2017-05-25T03:43:08.7152556Z", - "updatedAt": "2017-05-25T03:43:08.7152556Z" - } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", + "name": "sdk-ConsumerGroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:08.7152556Z", + "updatedAt": "2017-05-25T03:43:08.7152556Z" + } + } } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json index 9f2d0be42f56..42aa18e2cd60 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json @@ -9,27 +9,27 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/$Default", - "name": "$Default", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", - "properties": { - "createdAt": "2017-05-25T03:42:52.287Z", - "updatedAt": "2017-05-25T03:42:52.287Z" - } - }, - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-consumergroup-5563", - "name": "sdk-consumergroup-5563", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", - "properties": { - "createdAt": "2017-05-25T03:43:09.314Z", - "updatedAt": "2017-05-25T03:43:09.314Z" - } - } - ] - } + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/$Default", + "name": "$Default", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:42:52.287Z", + "updatedAt": "2017-05-25T03:42:52.287Z" + } + }, + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-consumergroup-5563", + "name": "sdk-consumergroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:09.314Z", + "updatedAt": "2017-05-25T03:43:09.314Z" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json index c5da3e459f6f..697b4fc61af6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json @@ -6,27 +6,27 @@ "consumerGroupName": "sdk-ConsumerGroup-1535", "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters": { - "properties": { - "userMetadata": "Updated the user meta data" - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535", - "name": "sdk-ConsumerGroup-1535", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups" - } + "parameters": { + "properties": { + "userMetadata": "Updated the user meta data" + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535", + "name": "sdk-ConsumerGroup-1535", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups" + } }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535", - "name": "sdk-ConsumerGroup-1535", - "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", - "properties": { - "createdAt": "2017-05-31T18:26:47.4845811Z", - "updatedAt": "2017-05-31T18:26:47.4845811Z", - "userMetadata": "Updated the user meta data" - } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535", + "name": "sdk-ConsumerGroup-1535", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-31T18:26:47.4845811Z", + "updatedAt": "2017-05-31T18:26:47.4845811Z", + "userMetadata": "Updated the user meta data" + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json index 8d29635d7fa7..2722fb1257b6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json @@ -5,209 +5,209 @@ "responses": { "200": { "body": { - "value": [ - { - "name": "Microsoft.EventHub/checkNameAvailability/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Non Resource Operation", - "operation": "Get namespace availability." - } - }, - { - "name": "Microsoft.EventHub/register/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub Resource Provider", - "operation": "Registers the EventHub Resource Provider" - } - }, - { - "name": "Microsoft.EventHub/namespaces/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace", - "operation": "Create Or Update Namespace " - } - }, - { - "name": "Microsoft.EventHub/namespaces/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace", - "operation": "Get Namespace Resource" - } - }, - { - "name": "Microsoft.EventHub/namespaces/Delete", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace", - "operation": "Delete Namespace" - } - }, - { - "name": "Microsoft.EventHub/namespaces/authorizationRules/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules" - } - }, - { - "name": "Microsoft.EventHub/namespaces/authorizationRules/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "AuthorizationRules", - "operation": "Create or Update Namespace Authorization Rules" - } - }, - { - "name": "Microsoft.EventHub/namespaces/authorizationRules/delete", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "AuthorizationRules", - "operation": "Delete Namespace Authorization Rule" - } - }, - { - "name": "Microsoft.EventHub/namespaces/authorizationRules/listkeys/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "AuthorizationRules", - "operation": "Get Namespace Listkeys" - } - }, - { - "name": "Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "AuthorizationRules", - "operation": "Resource Regeneratekeys" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub", - "operation": "Create or Update EventHub" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub", - "operation": "Get EventHub" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/Delete", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub", - "operation": "Delete EventHub" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub AuthorizationRules", - "operation": " Get EventHub Authorization Rules" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub AuthorizationRules", - "operation": "Create or Update EventHub Authorization Rule" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub AuthorizationRules", - "operation": "Delete EventHub Authorization Rules" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub AuthorizationRules", - "operation": "List EventHub keys" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "EventHub AuthorizationRules", - "operation": "Resource Regeneratekeys" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "ConsumerGroup", - "operation": "Create or Update ConsumerGroup" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "ConsumerGroup", - "operation": "Get ConsumerGroup" - } - }, - { - "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "ConsumerGroup", - "operation": "Delete ConsumerGroup" - } - }, - { - "name": "Microsoft.EventHub/namespaces/metricDefinitions/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace metrics", - "operation": "Get Namespace metrics" - } - }, - { - "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace diagnostic settings", - "operation": "Get Namespace diagnostic settings" - } - }, - { - "name": "Microsoft.EventHub/namespaces/diagnosticSettings/write", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace diagnostic settings", - "operation": "Create or Update Namespace diagnostic settings" - } - }, - { - "name": "Microsoft.EventHub/namespaces/logDefinitions/read", - "display": { - "provider": "Microsoft Azure EventHub", - "resource": "Namespace logs", - "operation": "Get Namespace logs" - } - } - ] - } + "value": [ + { + "name": "Microsoft.EventHub/checkNameAvailability/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Non Resource Operation", + "operation": "Get namespace availability." + } + }, + { + "name": "Microsoft.EventHub/register/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub Resource Provider", + "operation": "Registers the EventHub Resource Provider" + } + }, + { + "name": "Microsoft.EventHub/namespaces/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Create Or Update Namespace " + } + }, + { + "name": "Microsoft.EventHub/namespaces/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Get Namespace Resource" + } + }, + { + "name": "Microsoft.EventHub/namespaces/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Delete Namespace" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Get Namespace Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Create or Update Namespace Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Delete Namespace Authorization Rule" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/listkeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Get Namespace Listkeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Resource Regeneratekeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Create or Update EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Get EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Delete EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": " Get EventHub Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Create or Update EventHub Authorization Rule" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Delete EventHub Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "List EventHub keys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Resource Regeneratekeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Create or Update ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Get ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Delete ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace metrics", + "operation": "Get Namespace metrics" + } + }, + { + "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace diagnostic settings", + "operation": "Get Namespace diagnostic settings" + } + }, + { + "name": "Microsoft.EventHub/namespaces/diagnosticSettings/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace diagnostic settings", + "operation": "Create or Update Namespace diagnostic settings" + } + }, + { + "name": "Microsoft.EventHub/namespaces/logDefinitions/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace logs", + "operation": "Get Namespace logs" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json index 90d090dfc857..619ca52dee7f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -7,22 +7,27 @@ "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { - "properties": { - "rights": [ - "Listen", - "Send" - ] - } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", - "name": "sdk-Authrules-2513", - "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json index da56b40775ac..1676d142b370 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json index 9325ce48f000..db8f036a7888 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -10,11 +10,16 @@ "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", - "name": "sdk-Authrules-2513", - "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json index fd40f732bc7e..a95a3a8ac576 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json @@ -9,15 +9,20 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", - "name": "sdk-Authrules-2513", - "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } - ] - } + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json index 5c10a7e20d3e..7a1f458b3238 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json @@ -10,12 +10,12 @@ "responses": { "200": { "body": { - "primaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", - "secondaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", - "primaryKey": "############################################", - "secondaryKey": "############################################", - "keyName": "sdk-Authrules-2513" - } + "primaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", + "primaryKey": "############################################", + "secondaryKey": "############################################", + "keyName": "sdk-Authrules-2513" + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json index 9879ae50a617..f5d6cdcb9d23 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json @@ -7,18 +7,18 @@ "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { - "keyType": "PrimaryKey" - } + "keyType": "PrimaryKey" + } }, "responses": { "200": { "body": { - "primaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", - "secondaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", - "primaryKey": "#############################################", - "secondaryKey": "#############################################", - "keyName": "sdk-Authrules-1534" - } + "primaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", + "primaryKey": "#############################################", + "secondaryKey": "#############################################", + "keyName": "sdk-Authrules-1534" + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json index 5dc4abfccf02..3f18b7010177 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json @@ -7,21 +7,25 @@ "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { - "properties": { - "rights": [ - "Listen" - ] - } - } + "properties": { + "rights": [ + "Listen" + ] + } + } }, "responses": { "200": { "body": { - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", - "name": "sdk-Authrules-2513", - "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } - } + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen" + ] + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json index 8c7c6262ae08..b5fdb2067157 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json @@ -39,7 +39,12 @@ "status": "Active", "createdAt": "2017-06-28T02:45:55.877Z", "updatedAt": "2017-06-28T02:46:05.877Z", - "partitionIds": [ "0", "1", "2", "3" ], + "partitionIds": [ + "0", + "1", + "2", + "3" + ], "captureDescription": { "enabled": true, "encoding": "Avro", @@ -58,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json index 0674a189c411..dc0f0cdea8eb 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json index ddfd8b56e4b9..aee868c1f814 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json @@ -18,7 +18,12 @@ "status": "Active", "createdAt": "2017-06-28T02:45:55.877Z", "updatedAt": "2017-06-28T02:46:05.877Z", - "partitionIds": [ "0", "1", "2", "3" ], + "partitionIds": [ + "0", + "1", + "2", + "3" + ], "captureDescription": { "enabled": true, "encoding": "Avro", diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json index b0cd513887b5..90f1998c3ae7 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json @@ -20,7 +20,12 @@ "status": "Active", "createdAt": "2017-06-28T02:45:55.877Z", "updatedAt": "2017-06-28T02:46:05.877Z", - "partitionIds": [ "0", "1", "2", "3" ], + "partitionIds": [ + "0", + "1", + "2", + "3" + ], "captureDescription": { "enabled": true, "encoding": "Avro", @@ -41,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json index 535fdfe1eb2b..61159e75563b 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json index f8143d91853a..e172fb235027 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -20,8 +20,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746", "name": "sdk-Authrules-1746", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json index ee6c5d1f334f..3959bf946e15 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json index 9542dfb59ac4..58933ddd6f8a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -12,8 +12,13 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746", "name": "sdk-Authrules-1746", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json index bb5d1f32f4fd..1d62c51ef999 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json @@ -13,16 +13,27 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/RootManageSharedAccessKey", "name": "RootManageSharedAccessKey", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } }, { "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/sdk-Authrules-1746", "name": "sdk-Authrules-1746", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } + "properties": { + "rights": [ + "Listen", + "Send" + ] + } } ] } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json index b3efe1477c39..e999173bfb53 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json index 47784b064d9f..31f25dcd6721 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json index a2bfa9df1839..30765d61499d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json @@ -19,8 +19,12 @@ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746", "name": "sdk-Authrules-1746", "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen" ] } + "properties": { + "rights": [ + "Listen" + ] + } } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json index 304f1bb28812..b1f2ccf66711 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json index 3c2e7ebd7e50..9b5d1193e4b5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json @@ -42,33 +42,33 @@ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" } } - }, - "201": { - "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } + }, + "201": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" } - }, - "202": {} + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json index b8b3ad3635e0..b697874b2418 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json index fc61c3002d2f..7a662298808e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json @@ -8,55 +8,55 @@ "responses": { "200": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } }, - "201": { + "201": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json index 5c8d199e1ac0..a05c321ff63a 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json @@ -1358,4 +1358,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json index be277d878c9d..fc43b939227d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -309,4 +309,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json index 6bee975d1190..29a9c6f32529 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json @@ -4,66 +4,66 @@ "resourceGroupName": "ArunMonocle", "api-version": "2017-04-01", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "parameters":{ - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - } - } + "parameters": { + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } }, "responses": { "200": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } }, "201": { "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" - } - } + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } }, "202": {} } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json index 509bc7792ac5..322df5bf0143 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -62,15 +62,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], @@ -100,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json index 17afbaf88b5f..2deef86c8131 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json @@ -15,15 +15,21 @@ "defaultAction": "Deny", "virtualNetworkRules": [ { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, "ignoreMissingVnetServiceEndpoint": true }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, "ignoreMissingVnetServiceEndpoint": false }, { - "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" }, + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, "ignoreMissingVnetServiceEndpoint": false } ], @@ -53,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json index 5b68f17551f9..816d91a8eb51 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -10,11 +10,16 @@ "responses": { "200": { "body": { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", - "name": "sdk-Authrules-4879", - "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json index 4cf93f185ee6..5d7edf18a121 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json @@ -9,33 +9,54 @@ "responses": { "200": { "body": { - "value": [ - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", - "name": "RootManageSharedAccessKey", - "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Manage", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", - "name": "sdk-Authrules-1067", - "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", - "name": "sdk-Authrules-1684", - "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - }, - { - "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", - "name": "sdk-Authrules-4879", - "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", - "properties": { "rights": [ "Listen", "Send" ] } - } - ] - } + "value": [ + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", + "name": "RootManageSharedAccessKey", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", + "name": "sdk-Authrules-1067", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", + "name": "sdk-Authrules-1684", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json index 7a0f84b9447a..0a737fe403ff 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json @@ -10,12 +10,12 @@ "responses": { "200": { "body": { - "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", - "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", "primaryKey": "############################################", "secondaryKey": "############################################", "keyName": "sdk-Authrules-1746" } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json index f856b118c127..002c618a643b 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json index 8ecd7319b358..08225024cf70 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json @@ -20,11 +20,10 @@ "properties": { "provisioningState": "Accepted", "partnerNamespace": "sdk-Namespace-37", - "role": "Primary", - "type": "MetadataReplication" + "role": "Primary" } } }, "201": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json index b01a5def8c25..432bcbfe75ae 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json index 871ce3d48bfc..eba0ce34bcda 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json index 6ab7cf000d25..693f54cd778f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -16,7 +16,6 @@ "provisioningState": "Accepted", "partnerNamespace": "sdk-Namespace-8859", "role": "Secondary", - "type": "MetadataReplication", "pendingReplicationOperationsCount": 0 } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json index 37dbbc1a4634..517c5c216a05 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json @@ -17,12 +17,11 @@ "properties": { "provisioningState": "Accepted", "partnerNamespace": "sdk-Namespace-37", - "role": "Primary", - "type": "MetadataReplication" + "role": "Primary" } } ] } } } -} \ No newline at end of file +} From 42e9dc68f98a0880b796ed82074bcdb631165350 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 14 Jun 2019 15:15:19 -0700 Subject: [PATCH 047/495] Put SD in its own Python file (#6358) --- .../servicefabric/data-plane/readme.md | 28 ------------------- .../servicefabric/data-plane/readme.python.md | 27 ++++++++++++++++++ 2 files changed, 27 insertions(+), 28 deletions(-) create mode 100644 specification/servicefabric/data-plane/readme.python.md diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md index 1e5f65fd3552..ff54fb0daec5 100644 --- a/specification/servicefabric/data-plane/readme.md +++ b/specification/servicefabric/data-plane/readme.md @@ -123,34 +123,6 @@ swagger-to-sdk: - repo: azure-sdk-for-node ``` -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.servicefabric - package-name: azure-servicefabric - package-version: 6.5.0.0 - add-credentials: true - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/servicefabric/azure-servicefabric/azure/servicefabric -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/servicefabric/azure-servicefabric -``` - ## Go See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/servicefabric/data-plane/readme.python.md b/specification/servicefabric/data-plane/readme.python.md new file mode 100644 index 000000000000..08a032a5d831 --- /dev/null +++ b/specification/servicefabric/data-plane/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.servicefabric + package-name: azure-servicefabric + package-version: 6.5.0.0 + add-credentials: true + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/servicefabric/azure-servicefabric/azure/servicefabric +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/servicefabric/azure-servicefabric +``` From cfe78b18589723468f3776d23c558e9ca7e42def Mon Sep 17 00:00:00 2001 From: Abhijeet Date: Fri, 14 Jun 2019 15:26:07 -0700 Subject: [PATCH 048/495] Update readme.csharp.md updating casing for cdn directory --- specification/cdn/resource-manager/readme.csharp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/readme.csharp.md b/specification/cdn/resource-manager/readme.csharp.md index 6cb46ecf1d55..dbbdf8af0dbd 100644 --- a/specification/cdn/resource-manager/readme.csharp.md +++ b/specification/cdn/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Cdn payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Cdn/Management.Cdn/Generated + output-folder: $(csharp-sdks-folder)/cdn/Management.Cdn/Generated clear-output-folder: true ``` From c9b3010ca5377deaf1a5ee43e9fced8cebdae59d Mon Sep 17 00:00:00 2001 From: aim-for-better <1253936411@qq.com> Date: Fri, 14 Jun 2019 19:38:13 -0500 Subject: [PATCH 049/495] Modify the description of subDomainSuffix parameter (#6287) --- .../stable/2018-06-01-preview/applications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json index 17c51569e7fa..c64ce0bb3291 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json @@ -253,7 +253,7 @@ }, "subDomainSuffix": { "type": "string", - "description": "The subDomainSuffix of the application and can not greater than 3 characters." + "description": "The subDomainSuffix of the application." }, "disableGatewayAuth": { "type": "boolean", From 56bd1deeac82cdad6ee9a95a036efb2bc7d8eb7e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 12:20:19 -0400 Subject: [PATCH 050/495] chore: jsonfmt azureactivedirectory (#6301) Ran `jsonfmt -w "specification/azureactivedirectory/**/*.json"` --- .../2017-04-01/azureactivedirectory.json | 78 +++++++++++++------ .../createOrUpdateDiagnosticSetting.json | 42 +++++----- .../examples/deleteDiagnosticSetting.json | 24 +++--- .../examples/getDiagnosticSetting.json | 41 +++++----- .../examples/listDiagnosticSettings.json | 51 ++++++------ .../listDiagnosticSettingsCategories.json | 24 +++--- .../2017-04-01/examples/listOperations.json | 2 +- 7 files changed, 150 insertions(+), 112 deletions(-) diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json index b6eeccb48548..99503ff658de 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json @@ -9,12 +9,20 @@ } }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -31,10 +39,14 @@ "paths": { "/providers/microsoft.aadiam/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "operationId": "Operations_List", "x-ms-examples": { - "Gets the operations": { "$ref": "./examples/listOperations.json" } + "Gets the operations": { + "$ref": "./examples/listOperations.json" + } }, "description": "Operation to return the list of available operations.", "parameters": [ @@ -60,7 +72,9 @@ }, "/providers/microsoft.aadiam/diagnosticSettings": { "get": { - "tags": ["DiagnosticSettings"], + "tags": [ + "DiagnosticSettings" + ], "operationId": "DiagnosticSettings_List", "description": "Gets the active diagnostic settings list for AadIam.", "parameters": [ @@ -86,12 +100,14 @@ "Gets the diagnostic settings": { "$ref": "./examples/listDiagnosticSettings.json" } - } + } } }, "/providers/microsoft.aadiam/diagnosticSettings/{name}": { "get": { - "tags": ["DiagnosticSettings"], + "tags": [ + "DiagnosticSettings" + ], "operationId": "DiagnosticSettings_Get", "description": "Gets the active diagnostic setting for AadIam.", "parameters": [ @@ -120,13 +136,17 @@ "Gets the diagnostic setting": { "$ref": "./examples/getDiagnosticSetting.json" } - } + } }, "put": { - "tags": ["DiagnosticSettings"], + "tags": [ + "DiagnosticSettings" + ], "operationId": "DiagnosticSettings_CreateOrUpdate", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/createOrUpdateDiagnosticSetting.json" } + "BatchAccountDelete": { + "$ref": "./examples/createOrUpdateDiagnosticSetting.json" + } }, "description": "Creates or updates diagnostic settings for AadIam.", "parameters": [ @@ -162,7 +182,9 @@ } }, "delete": { - "tags": ["DiagnosticSettings"], + "tags": [ + "DiagnosticSettings" + ], "operationId": "DiagnosticSettings_Delete", "description": "Deletes existing diagnostic setting for AadIam.", "parameters": [ @@ -191,12 +213,14 @@ "Deletes the diagnostic setting": { "$ref": "./examples/deleteDiagnosticSetting.json" } - } + } } }, "/providers/microsoft.aadiam/diagnosticSettingsCategories": { "get": { - "tags": ["DiagnosticSettingsCategories"], + "tags": [ + "DiagnosticSettingsCategories" + ], "operationId": "DiagnosticSettingsCategory_List", "description": "Lists the diagnostic settings categories for AadIam.", "parameters": [ @@ -222,7 +246,7 @@ "Gets the diagnostic setting categories": { "$ref": "./examples/listDiagnosticSettingsCategories.json" } - } + } } } }, @@ -261,18 +285,24 @@ "description": "The number of days for the retention in days. A value of 0 will retain the events indefinitely." } }, - "required": [ "enabled", "days" ], + "required": [ + "enabled", + "days" + ], "description": "Specifies the retention policy for the log." }, "LogSettings": { "properties": { "category": { - "enum": ["AuditLogs", "SignInLogs"], + "enum": [ + "AuditLogs", + "SignInLogs" + ], "type": "string", "x-ms-enum": { "name": "category", "modelAsString": true - }, + }, "description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation." }, "enabled": { @@ -284,14 +314,16 @@ "description": "The retention policy for this log." } }, - "required": [ "enabled" ], + "required": [ + "enabled" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." }, "DiagnosticSettings": { "properties": { "storageAccountId": { "type": "string", - "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs." + "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs." }, "serviceBusRuleId": { "type": "string", @@ -448,7 +480,9 @@ "DiagnosticSettingsCategory": { "properties": { "categoryType": { - "enum": ["Logs"], + "enum": [ + "Logs" + ], "type": "string", "x-ms-enum": { "name": "categoryType", diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json index 2898eb0689ed..182d60ea4f15 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json @@ -3,21 +3,21 @@ "name": "mysetting", "api-version": "2017-04-01", "parameters": { - "id":"providers/microsoft.aadiam/diagnosticSettings/mysetting", - "name":"mysetting", - "type":"", + "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting", + "name": "mysetting", + "type": "", "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", "eventHubName": "myeventhub", "logs": [ { - "category":"AuditLogs", - "enabled":true, + "category": "AuditLogs", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -28,21 +28,21 @@ "200": { "headers": {}, "body": { - "id":"providers/microsoft.aadiam/diagnosticSettings/mysetting", - "type":"", - "name":"mysetting", + "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting", + "type": "", + "name": "mysetting", "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", "eventHubName": "myeventhub", "logs": [ { - "category":"AuditLogs", - "enabled":true, + "category": "AuditLogs", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json index e7205e1b1145..c6032509e39d 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json @@ -1,16 +1,16 @@ { - "parameters" : { + "parameters": { "name": "mysetting", - "api-version" : "2017-04-01" + "api-version": "2017-04-01" }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "responses": { + "200": { + "headers": {}, + "body": null + }, + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json index 15a49a201c92..0b37f9d97377 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json @@ -1,25 +1,26 @@ { - "parameters" : { + "parameters": { "name": "mysetting", - "api-version" : "2017-04-01" + "api-version": "2017-04-01" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id" : "providers/microsoft.aadiam/diagnosticSettings/mysetting", - "type" : "", - "name" : "mysetting", - "properties" : { - "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId" : "", - "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "logs" : [{ - "category" : "SignInLogs", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "responses": { + "200": { + "headers": {}, + "body": { + "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting", + "type": "", + "name": "mysetting", + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "logs": [ + { + "category": "SignInLogs", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } } ] @@ -27,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json index dfee025fd5ef..b8c6b1605ea9 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json @@ -1,31 +1,34 @@ { - "parameters" : { - "api-version" : "2017-04-01-preview" + "parameters": { + "api-version": "2017-04-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "value": [{ - "id" : "providers/Microsoft.Aadiam/diagnosticSettings/mysetting", - "type" : "", - "name" : "mysetting", - "properties" : { - "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId" : "", - "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "logs" : [{ - "category" : "SignInLogs", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "providers/Microsoft.Aadiam/diagnosticSettings/mysetting", + "type": "", + "name": "mysetting", + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "logs": [ + { + "category": "SignInLogs", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 + } } - } - ] + ] + } } - }] + ] } } } -} \ No newline at end of file +} diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json index 17186744a44a..7a9f867c7b1f 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json @@ -1,23 +1,23 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version" : "2017-05-01-preview" + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2017-05-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { + "responses": { + "200": { + "headers": {}, + "body": { "value": [ { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", - "type":"microsoft.insights/diagnosticSettingsCategories", - "name":"WorkflowRuntime", + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type": "microsoft.insights/diagnosticSettingsCategories", + "name": "WorkflowRuntime", "properties": { - "categoryType":"Logs" + "categoryType": "Logs" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json index 5e3a183d8277..e60252911fe4 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} From 158a5a3b95d23df7c31634a90216540f8567af2b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 12:21:18 -0400 Subject: [PATCH 051/495] chore: jsonfmt billing (#6309) Ran `jsonfmt -w "specification/billing/**/*.json"` --- .../preview/2018-11-01-preview/billing.json | 40 ++++++------- .../examples/CreateBillingProfile.json | 2 +- .../examples/UpdateBillingAccount.json | 2 +- .../examples/ValidateAddressInvalid.json | 58 +++++++++---------- .../examples/ValidateAddressValid.json | 28 ++++----- .../ValidateProductTransferFailure.json | 6 +- .../ValidateProductTransferSuccess.json | 8 +-- .../ValidateSubscriptionTransferFailure.json | 6 +- .../ValidateSubscriptionTransferSuccess.json | 8 +-- 9 files changed, 79 insertions(+), 79 deletions(-) diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json index 488e6dc967a0..9d0f890cf182 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json @@ -148,7 +148,7 @@ }, "202": { "description": "Accepted. Billing account update is in progress." - }, + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -3626,25 +3626,25 @@ } } }, - "ValidateAddressResponse": { - "type":"object", - "description" :" Result of the address validation", - "properties" : { - "status": { - "description": "status of the address validation.", - "$ref": "#/definitions/AddressValidationStatus" - }, - "suggestedAddresses": { - "description": "list of suggested addresses.", - "type": "array", - "items": { - "$ref": "#/definitions/Address" + "ValidateAddressResponse": { + "type": "object", + "description": "Result of the address validation", + "properties": { + "status": { + "description": "status of the address validation.", + "$ref": "#/definitions/AddressValidationStatus" + }, + "suggestedAddresses": { + "description": "list of suggested addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/Address" + } + }, + "validationMessage": { + "description": "Validation error message.", + "type": "string" } - }, - "validationMessage" : { - "description": "Validation error message.", - "type": "string" - } } }, "AddressValidationStatus": { @@ -3658,7 +3658,7 @@ "name": "addressValidationStatus", "modelAsString": true } - }, + }, "InitiateTransferProperties": { "type": "object", "description": "Request parameters to initiate transfer.", diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json index 03f7cd3e77a5..3bd226e8f49b 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json index 693af0eb8693..bcd167458350 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json index d397f2ceddef..cef8bdaeb63f 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json @@ -7,37 +7,37 @@ "region": "wa", "postalCode": "98004", "country": "us" - } + } }, "responses": { "200": { "body": { - "status": "Invalid", - "suggestedAddresses": [ - { - "country": "US", - "region": "WA", - "city": "Bellevue", - "addressLine1": "100 110th Ave NE", - "postalCode": "98004" - }, - { - "country": "US", - "region": "WA", - "city": "Bellevue", - "addressLine1": "102 110th Ave NE", - "postalCode": "98004-5804" - }, - { - "country": "US", - "region": "WA", - "city": "Bellevue", - "addressLine1": "104 110th Ave NE", - "postalCode": "98004-5804" - } - ], - "validationMessage" : "Invalid address" - } - } + "status": "Invalid", + "suggestedAddresses": [ + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "100 110th Ave NE", + "postalCode": "98004" + }, + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "102 110th Ave NE", + "postalCode": "98004-5804" + }, + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "104 110th Ave NE", + "postalCode": "98004-5804" + } + ], + "validationMessage": "Invalid address" + } + } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json index 7ce28c1f7523..efff459f6a34 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json @@ -7,22 +7,22 @@ "region": "wa", "postalCode": "98004", "country": "us" - } + } }, "responses": { "200": { "body": { - "status": "Valid", - "suggestedAddresses": [ - { - "country": "US", - "region": "WA", - "city": "Bellevue", - "addressLine1": "555 110th Ave NE", - "postalCode": "98004-5124" - } - ] - } - } + "status": "Valid", + "suggestedAddresses": [ + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "555 110th Ave NE", + "postalCode": "98004-5124" + } + ] + } + } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json index de33919caad3..1f3396204209 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json @@ -14,10 +14,10 @@ "body": { "isTransferEligible": false, "errorDetails": { - "code" : "ProductTypeNotSupported", - "message" : "Product '{productName}' is not allowed to be transferred." + "code": "ProductTypeNotSupported", + "message": "Product '{productName}' is not allowed to be transferred." } } } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json index 7edb141ae853..c05be235d44d 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json @@ -12,8 +12,8 @@ "responses": { "200": { "body": { - "isTransferEligible": true - } - } + "isTransferEligible": true + } + } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json index e0004f41cd19..a342d036c8af 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json @@ -14,10 +14,10 @@ "body": { "isTransferEligible": false, "errorDetails": { - "code" : "SubscriptionNotActive", - "message" : "Invoice Sections can only be changed for active subscriptions." + "code": "SubscriptionNotActive", + "message": "Invoice Sections can only be changed for active subscriptions." } } } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json index c5e93cf366ec..c007d9775dd0 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json @@ -12,8 +12,8 @@ "responses": { "200": { "body": { - "isTransferEligible": true - } - } + "isTransferEligible": true + } + } } -} \ No newline at end of file +} From 7f487315d3b0178fbad3a5ef660b9725303138c4 Mon Sep 17 00:00:00 2001 From: Dax Fohl Date: Mon, 17 Jun 2019 09:59:38 -0700 Subject: [PATCH 052/495] Add managementGroups/{id}/descendants route to allow pagination of descendants (#5917) * Update management.json * Create GetDescendants.json * Reformat management.json changes for consistency. --- .../examples/GetDescendants.json | 37 ++++++ .../2018-03-01-preview/management.json | 113 ++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json new file mode 100644 index 000000000000..564fe4fd0598 --- /dev/null +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "groupId": "20000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", + "type": "/providers/Microsoft.Management/managementGroups", + "name": "20000000-0001-0000-0000-000000000000", + "properties": { + "displayName": "Group 1", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" + } + } + }, + { + "id": "/subscriptions/20000000-0004-0000-0000-000000000000", + "type": "/subscriptions", + "name": "20000000-0004-0000-0000-000000000000", + "properties": { + "displayName": "Subscription 4", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json index cd93ff619537..24eb42691d01 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json @@ -272,6 +272,49 @@ "x-ms-long-running-operation": true } }, + "/providers/Microsoft.Management/managementGroups/{groupId}/descendants" : { + "post": { + "tags": [ "ManagementGroups_Descendants" ], + "operationId": "ManagementGroups_GetDescendants", + "description": "List all entities that descend from a management group.\n", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SkipTokenParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DescendantListResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GetDescendants": { + "$ref": "./examples/GetDescendants.json" + } + } + } + }, "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}": { "put": { "tags": [ @@ -945,6 +988,76 @@ } } }, + "DescendantListResult" : { + "description" : "Describes the result of the request to view descendants.", + "properties" : { + "value" : { + "description" : "The list of descendants.", + "type" : "array", + "items" : { + "$ref" : "#/definitions/DescendantInfo" + } + }, + "nextLink" : { + "description" : "The URL to use for getting the next set of results.", + "type" : "string", + "readOnly" : true + } + } + }, + "DescendantInfo" : { + "description" : "The descendant.", + "properties" : { + "id" : { + "type" : "string", + "description" : "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000", + "readOnly" : true, + "x-nullable" : true + }, + "type" : { + "type" : "string", + "description" : "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions", + "readOnly" : true, + "x-nullable" : true + }, + "name" : { + "type" : "string", + "description" : "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000", + "readOnly" : true + }, + "properties" : { + "title" : "Properties", + "x-ms-client-flatten" : true, + "x-nullable" : true, + "$ref" : "#/definitions/DescendantInfoProperties" + } + } + }, + "DescendantInfoProperties" : { + "description" : "The generic properties of an descendant.", + "type" : "object", + "properties" : { + "displayName" : { + "type" : "string", + "description" : "The friendly name of the management group.", + "x-nullable" : true + }, + "parent" : { + "title" : "Parent", + "$ref" : "#/definitions/DescendantParentGroupInfo", + "x-nullable" : true + } + } + }, + "DescendantParentGroupInfo" : { + "description" : "The ID of the parent management group.", + "properties" : { + "id" : { + "type" : "string", + "description" : "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000" + } + } + }, "EntityListResult": { "description": "Describes the result of the request to view entities.", "properties": { From 986b3d949d1cee8dc030c3142156387829f9119d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 16:15:21 -0400 Subject: [PATCH 053/495] chore: jsonfmt cdn (#6316) Ran `jsonfmt -w "specification/cdn/**/*.json"` --- .../preview/2019-06-15-preview/cdn.json | 125 +-- .../cdnwebapplicationfirewall.json | 2 +- .../examples/CheckNameAvailability.json | 6 +- ...CheckNameAvailabilityWithSubscription.json | 6 +- .../examples/CustomDomains_Create.json | 38 +- .../examples/CustomDomains_Delete.json | 12 +- .../CustomDomains_DisableCustomHttps.json | 12 +- ...tomDomains_EnableCustomHttpsUsingBYOC.json | 30 +- ...CustomHttpsUsingCDNManagedCertificate.json | 60 +- .../examples/CustomDomains_Get.json | 16 +- .../CustomDomains_ListByEndpoint.json | 26 +- .../examples/EdgeNodes_List.json | 182 ++-- .../examples/Endpoints_Create.json | 8 +- .../examples/Endpoints_Get.json | 50 +- .../examples/Endpoints_ListByProfile.json | 62 +- .../examples/Endpoints_ListResourceUsage.json | 18 +- .../examples/Endpoints_LoadContent.json | 4 +- .../examples/Endpoints_PurgeContent.json | 4 +- .../examples/Endpoints_Start.json | 4 +- .../examples/Endpoints_Stop.json | 4 +- .../examples/Endpoints_Update.json | 108 +-- .../Endpoints_ValidateCustomDomain.json | 4 +- .../examples/Operations_List.json | 162 ++-- .../examples/Origins_Get.json | 24 +- .../examples/Origins_ListByEndpoint.json | 28 +- .../examples/Origins_Update.json | 44 +- .../examples/Profiles_Create.json | 20 +- .../examples/Profiles_GenerateSsoUri.json | 2 +- .../examples/Profiles_Get.json | 26 +- .../examples/Profiles_List.json | 14 +- .../Profiles_ListByResourceGroup.json | 14 +- .../examples/Profiles_ListResourceUsage.json | 12 +- ...ofiles_ListSupportedOptimizationTypes.json | 6 +- .../examples/Profiles_Update.json | 20 +- .../examples/ResourceUsage_List.json | 4 +- .../examples/ValidateProbe.json | 2 +- .../examples/WafListManagedRuleSets.json | 94 +-- .../examples/WafListPolicies.json | 15 +- .../examples/WafPatchPolicy.json | 418 +++++----- .../examples/WafPolicyCreateOrUpdate.json | 778 +++++++++--------- .../examples/WafPolicyDelete.json | 20 +- .../examples/WafPolicyGet.json | 212 ++--- 42 files changed, 1349 insertions(+), 1347 deletions(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json index 952e81ffc4ab..f5137d463e36 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json @@ -870,7 +870,7 @@ "schema": { "$ref": "#/definitions/Endpoint" } - }, + }, "202": { "description": "Accepted and the operation will complete asynchronously.", "schema": { @@ -936,7 +936,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted and the operation will complete asynchronously." }, @@ -999,7 +999,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted and the operation will complete asynchronously." }, @@ -1656,7 +1656,7 @@ "CustomDomains_EnableCustomHttpsUsingYourOwnCertificate": { "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingBYOC.json" }, - "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate" :{ + "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate": { "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json" } }, @@ -2220,7 +2220,7 @@ "required": [ "rules" ], - "properties":{ + "properties": { "description": { "description": "User-friendly description of the policy.", "type": "string" @@ -2243,7 +2243,7 @@ "description": "Resource ID." } } - } + } } }, "DeliveryRule": { @@ -2279,7 +2279,7 @@ } } }, - "DeliveryRuleCondition":{ + "DeliveryRuleCondition": { "description": "A condition for the delivery rule.", "discriminator": "name", "required": [ @@ -2538,7 +2538,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2585,7 +2585,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2603,7 +2603,8 @@ "type": "boolean" }, "matchValues": { - "description": "The match value for the condition of the delivery rule","type": "array", + "description": "The match value for the condition of the delivery rule", + "type": "array", "items": { "type": "string", "enum": [ @@ -2631,7 +2632,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2671,7 +2672,7 @@ } } } - }, + }, "PostArgsMatchConditionParameters": { "description": "Defines the parameters for PostArgs match conditions", "required": [ @@ -2685,7 +2686,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters" - ] + ] }, "selector": { "description": "Name of PostArg to be matched", @@ -2742,7 +2743,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2796,7 +2797,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters" - ] + ] }, "selector": { "description": "Name of Header to be matched", @@ -2853,7 +2854,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2906,7 +2907,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2944,7 +2945,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -2998,7 +2999,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -3038,7 +3039,7 @@ } } } - }, + }, "UrlFileNameMatchConditionParameters": { "description": "Defines the parameters for UrlFilename match conditions", "required": [ @@ -3051,7 +3052,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -3091,7 +3092,7 @@ } } } - }, + }, "IsDeviceMatchConditionParameters": { "description": "Defines the parameters for IsDevice match conditions", "required": [ @@ -3104,7 +3105,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters" - ] + ] }, "operator": { "description": "Describes operator to be matched", @@ -3140,7 +3141,7 @@ } } } - }, + }, "DeliveryRuleAction": { "description": "An action for the delivery rule.", "discriminator": "name", @@ -3172,7 +3173,7 @@ "$ref": "#/definitions/DeliveryRuleAction" } ], - "required":[ + "required": [ "parameters" ], "properties": { @@ -3193,7 +3194,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters" - ] + ] }, "redirectType": { "description": "The redirect type the rule will use when redirecting traffic.", @@ -3209,7 +3210,7 @@ "modelAsString": true } }, - "destinationProtocol":{ + "destinationProtocol": { "description": "Protocol to use for the redirect. The default value is MatchRequest", "type": "string", "enum": [ @@ -3223,14 +3224,14 @@ } }, "customPath": { - "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.", - "type": "string" + "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.", + "type": "string" }, - "customHostname":{ + "customHostname": { "description": "Host to redirect. Leave empty to use use the incoming host as the destination host.", "type": "string" }, - "customQueryString":{ + "customQueryString": { "description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them.", "type": "string" }, @@ -3248,8 +3249,8 @@ "$ref": "#/definitions/DeliveryRuleAction" } ], - "required":[ - "parameters" + "required": [ + "parameters" ], "properties": { "parameters": { @@ -3259,23 +3260,23 @@ } }, "DeliveryRuleResponseHeaderAction": { - "description": "Defines the response header action for the delivery rule.", - "x-ms-discriminator-value": "ModifyResponseHeader", - "allOf": [ - { - "$ref": "#/definitions/DeliveryRuleAction" - } - ], - "required":[ - "parameters" - ], - "properties": { - "parameters": { - "description": "Defines the parameters for the action.", - "$ref": "#/definitions/HeaderActionParameters" - } + "description": "Defines the response header action for the delivery rule.", + "x-ms-discriminator-value": "ModifyResponseHeader", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" } - }, + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/HeaderActionParameters" + } + } + }, "HeaderActionParameters": { "description": "Defines the parameters for the request header action.", "required": [ @@ -3288,7 +3289,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters" - ] + ] }, "headerAction": { "description": "Action to perform", @@ -3308,9 +3309,9 @@ "type": "string" }, "value": { - "description": "Value for the specified action", - "type": "string" - } + "description": "Value for the specified action", + "type": "string" + } } }, "DeliveryRuleCacheExpirationAction": { @@ -3321,7 +3322,7 @@ "$ref": "#/definitions/DeliveryRuleAction" } ], - "required":[ + "required": [ "parameters" ], "properties": { @@ -3343,7 +3344,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters" - ] + ] }, "cacheBehavior": { "description": "Caching behavior for the requests", @@ -3351,7 +3352,7 @@ "enum": [ "BypassCache", "Override", - "SetIfMissing" + "SetIfMissing" ], "x-ms-enum": { "name": "cacheBehavior", @@ -3777,7 +3778,7 @@ "$ref": "#/definitions/CdnCertificateSourceParameters" } } - }, + }, "CdnCertificateSourceParameters": { "description": "Defines the parameters for using CDN managed certificate for securing custom domain.", "required": [ @@ -3789,7 +3790,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters" - ] + ] }, "certificateType": { "description": "Type of certificate used", @@ -3822,7 +3823,7 @@ "$ref": "#/definitions/KeyVaultCertificateSourceParameters" } } - }, + }, "KeyVaultCertificateSourceParameters": { "description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.", "required": [ @@ -3840,7 +3841,7 @@ "type": "string", "enum": [ "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters" - ] + ] }, "subscriptionId": { "description": "Subscription Id of the user's Key Vault containing the SSL certificate", @@ -3866,7 +3867,7 @@ "description": "Describes the action that shall be taken when the certificate is updated in Key Vault.", "type": "string", "enum": [ - "NoAction" + "NoAction" ], "x-ms-enum": { "name": "UpdateRule", @@ -3877,7 +3878,7 @@ "description": "Describes the action that shall be taken when the certificate is removed from Key Vault.", "type": "string", "enum": [ - "NoAction" + "NoAction" ], "x-ms-enum": { "name": "DeleteRule", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json index 2ddeb03f9833..3cc5fc232038 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json @@ -355,7 +355,7 @@ } ] }, - "CdnWebApplicationFirewallPolicyPatchParameters" : { + "CdnWebApplicationFirewallPolicyPatchParameters": { "type": "object", "description": "Properties required to update a CdnWebApplicationFirewallPolicy.", "properties": { diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json index ec24c26469aa..60fcf895f682 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json @@ -2,8 +2,8 @@ "parameters": { "api-version": "2019-06-15-preview", "checkNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Cdn/Profiles/Endpoints" + "name": "sampleName", + "type": "Microsoft.Cdn/Profiles/Endpoints" } }, "responses": { @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json index 1e4dc44f7607..60d01556d913 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json @@ -3,8 +3,8 @@ "api-version": "2019-06-15-preview", "subscriptionId": "subid", "checkNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Cdn/Profiles/Endpoints" + "name": "sampleName", + "type": "Microsoft.Cdn/Profiles/Endpoints" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json index 137bd81a0719..7e601df6d5e7 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json @@ -19,12 +19,12 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": null + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null } } }, @@ -34,12 +34,12 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": null + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null } } }, @@ -49,14 +49,14 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": null + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null } } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json index 7f310feaae5f..8579819214ac 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json @@ -15,12 +15,12 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": null + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null } } }, diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json index c08a7f24795e..686e194a2242 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json @@ -15,12 +15,12 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": null + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": null } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json index 5167f5a3740d..7ebebadbf6cd 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json @@ -10,15 +10,15 @@ "certificateSource": "AzureKeyVault", "protocolType": "ServerNameIndication", "certificateSourceParameters": { - "@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", - "subscriptionId":"subid", - "resourceGroupName":"RG", - "vaultName":"kv", - "secretName" : "secret1", - "secretVersion" :"00000000-0000-0000-0000-000000000000", - "updateRule": "NoAction", - "deleteRule": "NoAction" - } + "@odata.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "vaultName": "kv", + "secretName": "secret1", + "secretVersion": "00000000-0000-0000-0000-000000000000", + "updateRule": "NoAction", + "deleteRule": "NoAction" + } } }, "responses": { @@ -29,12 +29,12 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": "validationdata" + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": "validationdata" } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json index fd74bbb1f7a6..f84f85ff1637 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json @@ -1,36 +1,36 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "RG", - "profileName": "profile1", - "endpointName": "endpoint1", - "customDomainName": "www-someDomain-net", - "customDomainHttpsParameters": { - "certificateSource": "Cdn", - "protocolType": "ServerNameIndication", - "certificateSourceParameters": { - "@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", - "certificateType":"Shared" - } + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "RG", + "profileName": "profile1", + "endpointName": "endpoint1", + "customDomainName": "www-someDomain-net", + "customDomainHttpsParameters": { + "certificateSource": "Cdn", + "protocolType": "ServerNameIndication", + "certificateSourceParameters": { + "@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", + "certificateType": "Shared" } - }, - "responses": { - "200": {}, - "202": { - "body": { - "name": "www-someDomain-net", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/customdomains", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Enabling", - "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", - "validationData": "validationdata" - } + } + }, + "responses": { + "200": {}, + "202": { + "body": { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Enabling", + "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval", + "validationData": "validationdata" } } } } +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json index 774825933e18..014333218011 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json @@ -14,14 +14,14 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", "type": "Microsoft.Cdn/profiles/endpoints/customdomains", "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Disabled", - "customHttpsProvisioningSubstate": "None", - "validationData": null - } + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Disabled", + "customHttpsProvisioningSubstate": "None", + "validationData": null + } } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json index d2bb05579ca7..8c816f393d73 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json @@ -10,21 +10,21 @@ "200": { "body": { "value": [ - { - "name": "www-someDomain-net", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/customdomains", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "customHttpsProvisioningState": "Disabled", - "customHttpsProvisioningSubstate": "None", - "validationData": null - } + { + "name": "www-someDomain-net", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/customdomains", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "customHttpsProvisioningState": "Disabled", + "customHttpsProvisioningSubstate": "None", + "validationData": null } + } ] } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json index 59e09352ae02..8a643d4223ce 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json @@ -5,103 +5,103 @@ "responses": { "200": { "body": { - "value": [ + "value": [ + { + "name": "Standard_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ { - "name": "Standard_Verizon", - "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon", - "type": "Microsoft.Cdn/edgenodes", - "properties": { - "ipAddressGroups": [ - { - "deliveryRegion": "All", - "ipv4Addresses": [ - { - "baseIpAddress": "192.229.176.0", - "prefixLength": 24 - }, - { - "baseIpAddress": "180.240.184.128", - "prefixLength": 25 - }, - { - "baseIpAddress": "152.195.27.0", - "prefixLength": 24 - } - ], - "ipv6Addresses": [ - { - "baseIpAddress": "2606:2800:60f2::", - "prefixLength": 48 - }, - { - "baseIpAddress": "2606:2800:700c::", - "prefixLength": 48 - } - ] - } - ] + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "180.240.184.128", + "prefixLength": 25 + }, + { + "baseIpAddress": "152.195.27.0", + "prefixLength": 24 } - }, + ], + "ipv6Addresses": [ + { + "baseIpAddress": "2606:2800:60f2::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 + } + ] + } + ] + } + }, + { + "name": "Premium_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ { - "name": "Premium_Verizon", - "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon", - "type": "Microsoft.Cdn/edgenodes", - "properties": { - "ipAddressGroups": [ - { - "deliveryRegion": "All", - "ipv4Addresses": [ - { - "baseIpAddress": "192.229.176.0", - "prefixLength": 24 - }, - { - "baseIpAddress": "152.195.27.0", - "prefixLength": 24 - } - ], - "ipv6Addresses": [ - { - "baseIpAddress": "2606:2800:60f2::", - "prefixLength": 48 - }, - { - "baseIpAddress": "2606:2800:700c::", - "prefixLength": 48 - } - ] - } - ] + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "152.195.27.0", + "prefixLength": 24 } - }, + ], + "ipv6Addresses": [ + { + "baseIpAddress": "2606:2800:60f2::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 + } + ] + } + ] + } + }, + { + "name": "Custom_Verizon", + "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon", + "type": "Microsoft.Cdn/edgenodes", + "properties": { + "ipAddressGroups": [ { - "name": "Custom_Verizon", - "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon", - "type": "Microsoft.Cdn/edgenodes", - "properties": { - "ipAddressGroups": [ - { - "deliveryRegion": "All", - "ipv4Addresses": [ - { - "baseIpAddress": "192.229.176.0", - "prefixLength": 24 - }, - { - "baseIpAddress": "2606:2800:420b::", - "prefixLength": 48 - }, - { - "baseIpAddress": "2606:2800:700c::", - "prefixLength": 48 - } - ] - } - ] + "deliveryRegion": "All", + "ipv4Addresses": [ + { + "baseIpAddress": "192.229.176.0", + "prefixLength": 24 + }, + { + "baseIpAddress": "2606:2800:420b::", + "prefixLength": 48 + }, + { + "baseIpAddress": "2606:2800:700c::", + "prefixLength": 48 } + ] } - ] - } + ] + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json index 14ab0aace5fd..a1d3abf2f500 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json @@ -79,7 +79,7 @@ ], "webApplicationFirewallPolicyLink": { "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" - } + } }, "location": "WestUs", "tags": { @@ -179,7 +179,7 @@ }, "webApplicationFirewallPolicyLink": { "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" - } + } } } }, @@ -274,7 +274,7 @@ }, "webApplicationFirewallPolicyLink": { "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" - } + } } } }, @@ -369,7 +369,7 @@ }, "webApplicationFirewallPolicyLink": { "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" - } + } } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json index e2cc4cea8491..41e4e5008b50 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json @@ -15,32 +15,32 @@ "tags": {}, "location": "CentralUs", "properties": { - "hostName": "endpoint1.azureedge.net", - "originHostHeader": "www.bing.com", - "provisioningState": "Succeeded", - "resourceState": "Running", - "isHttpAllowed": true, - "isHttpsAllowed": true, - "queryStringCachingBehavior": "NotSet", - "originPath": null, - "origins": [ - { - "name": "www-bing-com", - "properties": { - "hostName": "www.bing.com", - "httpPort": 80, - "httpsPort": 443 - } - } - ], - "contentTypesToCompress": [], - "isCompressionEnabled": false, - "optimizationType": "DynamicSiteAcceleration", - "probePath": "/image", - "geoFilters": [], - "webApplicationFirewallPolicyLink": { - "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Running", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1" + } } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json index 2f8765866806..02f107c7e03b 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json @@ -9,39 +9,39 @@ "200": { "body": { "value": [ - { - "name": "endpoint1", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", - "type": "Microsoft.Cdn/profiles/endpoints", - "tags": {}, - "location": "CentralUs", - "properties": { - "hostName": "endpoint1.azureedge.net", - "originHostHeader": "www.bing.com", - "provisioningState": "Succeeded", - "resourceState": "Running", - "isHttpAllowed": true, - "isHttpsAllowed": true, - "queryStringCachingBehavior": "NotSet", - "originPath": null, - "origins": [ - { - "name": "www-bing-com", - "properties": { - "hostName": "www.bing.com", - "httpPort": 80, - "httpsPort": 443 - } - } - ], - "contentTypesToCompress": [], - "isCompressionEnabled": false, - "optimizationType": "DynamicSiteAcceleration", - "probePath": "/image", - "geoFilters": [], - "webApplicationFirewallPolicyLink" : null + { + "name": "endpoint1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", + "type": "Microsoft.Cdn/profiles/endpoints", + "tags": {}, + "location": "CentralUs", + "properties": { + "hostName": "endpoint1.azureedge.net", + "originHostHeader": "www.bing.com", + "provisioningState": "Succeeded", + "resourceState": "Running", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "NotSet", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": "DynamicSiteAcceleration", + "probePath": "/image", + "geoFilters": [], + "webApplicationFirewallPolicyLink": null } + } ] } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json index 6fcbecdacaa6..62b9a7e371fe 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json @@ -11,19 +11,19 @@ "body": { "value": [ { - "resourceType": "customdomain", - "unit": "count", - "currentValue": 1, - "limit": 20 + "resourceType": "customdomain", + "unit": "count", + "currentValue": 1, + "limit": 20 }, { - "resourceType": "geofilter", - "unit": "count", - "currentValue": 0, - "limit": 25 + "resourceType": "geofilter", + "unit": "count", + "currentValue": 0, + "limit": 25 } ] - } + } } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json index 6ce67ebcb51d..68fca3300652 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json @@ -6,7 +6,9 @@ "profileName": "profile1", "endpointName": "endpoint1", "contentFilePaths": { - "contentPaths": ["/folder1"] + "contentPaths": [ + "/folder1" + ] } }, "responses": { diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json index 6ce67ebcb51d..68fca3300652 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json @@ -6,7 +6,9 @@ "profileName": "profile1", "endpointName": "endpoint1", "contentFilePaths": { - "contentPaths": ["/folder1"] + "contentPaths": [ + "/folder1" + ] } }, "responses": { diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json index 28fd4e3ea035..ef1afe19ea4a 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json @@ -40,7 +40,7 @@ "optimizationType": "DynamicSiteAcceleration", "probePath": "/image", "geoFilters": [], - "webApplicationFirewallPolicyLink" : null + "webApplicationFirewallPolicyLink": null } } }, @@ -77,7 +77,7 @@ "optimizationType": "DynamicSiteAcceleration", "probePath": "/image", "geoFilters": [], - "webApplicationFirewallPolicyLink" : null + "webApplicationFirewallPolicyLink": null } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json index 3eef5ed9903d..e0b6b8bcc59f 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json @@ -40,7 +40,7 @@ "optimizationType": "DynamicSiteAcceleration", "probePath": "/image", "geoFilters": [], - "webApplicationFirewallPolicyLink" : null + "webApplicationFirewallPolicyLink": null } } }, @@ -77,7 +77,7 @@ "optimizationType": "DynamicSiteAcceleration", "probePath": "/image", "geoFilters": [], - "webApplicationFirewallPolicyLink" : null + "webApplicationFirewallPolicyLink": null } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json index 0c1213df434c..d364789a9f66 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json @@ -13,7 +13,7 @@ "webApplicationFirewallPolicyLink": { "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" } - } + } } }, "responses": { @@ -23,36 +23,36 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", "type": "Microsoft.Cdn/profiles/endpoints", "tags": { - "additionalProperties": "Tag1" + "additionalProperties": "Tag1" }, "location": "WestCentralUs", "properties": { - "hostName": "endpoint1.azureedge.net", - "originHostHeader": null, - "provisioningState": "Creating", - "resourceState": "Creating", - "isHttpAllowed": true, - "isHttpsAllowed": true, - "queryStringCachingBehavior": "IgnoreQueryString", - "originPath": null, - "origins": [ - { - "name": "www-bing-com", - "properties": { - "hostName": "www.bing.com", - "httpPort": 80, - "httpsPort": 443 - } - } - ], - "contentTypesToCompress": [], - "isCompressionEnabled": false, - "optimizationType": null, - "probePath": null, - "geoFilters": [], - "webApplicationFirewallPolicyLink": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + "hostName": "endpoint1.azureedge.net", + "originHostHeader": null, + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "IgnoreQueryString", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + } } } }, @@ -62,36 +62,36 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1", "type": "Microsoft.Cdn/profiles/endpoints", "tags": { - "additionalProperties": "Tag1" + "additionalProperties": "Tag1" }, "location": "WestCentralUs", "properties": { - "hostName": "endpoint1.azureedge.net", - "originHostHeader": null, - "provisioningState": "Creating", - "resourceState": "Creating", - "isHttpAllowed": true, - "isHttpsAllowed": true, - "queryStringCachingBehavior": "IgnoreQueryString", - "originPath": null, - "origins": [ - { - "name": "www-bing-com", - "properties": { - "hostName": "www.bing.com", - "httpPort": 80, - "httpsPort": 443 - } - } - ], - "contentTypesToCompress": [], - "isCompressionEnabled": false, - "optimizationType": null, - "probePath": null, - "geoFilters": [], - "webApplicationFirewallPolicyLink": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" - } + "hostName": "endpoint1.azureedge.net", + "originHostHeader": null, + "provisioningState": "Creating", + "resourceState": "Creating", + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "IgnoreQueryString", + "originPath": null, + "origins": [ + { + "name": "www-bing-com", + "properties": { + "hostName": "www.bing.com", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "contentTypesToCompress": [], + "isCompressionEnabled": false, + "optimizationType": null, + "probePath": null, + "geoFilters": [], + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2" + } } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json index 718f7d9bee23..029351bc9555 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json @@ -6,7 +6,7 @@ "profileName": "profile1", "endpointName": "endpoint1", "customDomainProperties": { - "hostName": "www.someDomain.com" + "hostName": "www.someDomain.com" } }, "responses": { @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json index 1614858a2f08..d134a3e21fee 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json @@ -6,88 +6,88 @@ "200": { "body": { "value": [ - { - "name": "Microsoft.Cdn/register/action", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Microsoft.Cdn Resource Provider", - "operation": "Registers the Microsoft.Cdn Resource Provider" - } - }, - { - "name": "Microsoft.Cdn/edgenodes/read", - "display": { - "provider": "Microsoft.Cdn", - "resource": "EdgeNode", - "operation": "read" - } - }, - { - "name": "Microsoft.Cdn/edgenodes/write", - "display": { - "provider": "Microsoft.Cdn", - "resource": "EdgeNode", - "operation": "write" - } - }, - { - "name": "Microsoft.Cdn/edgenodes/delete", - "display": { - "provider": "Microsoft.Cdn", - "resource": "EdgeNode", - "operation": "delete" - } - }, - { - "name": "Microsoft.Cdn/profiles/read", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "read" - } - }, - { - "name": "Microsoft.Cdn/profiles/write", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "write" - } - }, - { - "name": "Microsoft.Cdn/operationresults/profileresults/write", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "write" - } - }, - { - "name": "Microsoft.Cdn/operationresults/profileresults/delete", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "delete" - } - }, - { - "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "CheckResourceUsage" - } - }, - { - "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action", - "display": { - "provider": "Microsoft.Cdn", - "resource": "Profile", - "operation": "GenerateSsoUri" - } + { + "name": "Microsoft.Cdn/register/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Microsoft.Cdn Resource Provider", + "operation": "Registers the Microsoft.Cdn Resource Provider" } + }, + { + "name": "Microsoft.Cdn/edgenodes/read", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "read" + } + }, + { + "name": "Microsoft.Cdn/edgenodes/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/edgenodes/delete", + "display": { + "provider": "Microsoft.Cdn", + "resource": "EdgeNode", + "operation": "delete" + } + }, + { + "name": "Microsoft.Cdn/profiles/read", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "read" + } + }, + { + "name": "Microsoft.Cdn/profiles/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/write", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "write" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/delete", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "delete" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "CheckResourceUsage" + } + }, + { + "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action", + "display": { + "provider": "Microsoft.Cdn", + "resource": "Profile", + "operation": "GenerateSsoUri" + } + } ] - } + } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json index 49cf736d753b..96283f2cee86 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json @@ -10,18 +10,18 @@ "responses": { "200": { "body": { - "name": "www-someDomain-net", - "location": "WestUs", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/origins", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "httpPort": null, - "httpsPort": null + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": null, + "httpsPort": null } - } + } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json index caeebbd8e740..87305a274cde 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json @@ -9,22 +9,22 @@ "responses": { "200": { "body": { - "value": [ - { - "name": "www-someDomain-net", - "location": "WestUs", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/origins", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "httpPort": null, - "httpsPort": null + "value": [ + { + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": null, + "httpsPort": null } } ] - } + } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json index 14987d2a1073..87904365afa7 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json @@ -16,33 +16,33 @@ "responses": { "200": { "body": { - "name": "www-someDomain-net", - "location": "WestUs", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/origins", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "httpPort": 42, - "httpsPort": 43 + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": 42, + "httpsPort": 43 } - } + } }, "202": { "body": { - "name": "www-someDomain-net", - "location": "WestUs", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", - "type": "Microsoft.Cdn/profiles/endpoints/origins", - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active", - "hostName": "www.someDomain.net", - "httpPort": 42, - "httpsPort": 43 + "name": "www-someDomain-net", + "location": "WestUs", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net", + "type": "Microsoft.Cdn/profiles/endpoints/origins", + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active", + "hostName": "www.someDomain.net", + "httpPort": 42, + "httpsPort": 43 } - } + } } } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json index 5a374988d3b5..372718913495 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json @@ -20,11 +20,11 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { - "provisioningState": "Creating", - "resourceState": "Creating" + "provisioningState": "Creating", + "resourceState": "Creating" } } }, @@ -36,11 +36,11 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { - "provisioningState": "Creating", - "resourceState": "Creating" + "provisioningState": "Creating", + "resourceState": "Creating" } } }, @@ -52,13 +52,13 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { - "provisioningState": "Creating", - "resourceState": "Creating" + "provisioningState": "Creating", + "resourceState": "Creating" } } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json index dba5e8668059..b66e11bf4bad 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json index 383b77198e70..8ef62237a532 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json @@ -8,19 +8,19 @@ "responses": { "200": { "body": { - "name": "profile1", - "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", - "type": "Microsoft.Cdn/profiles", - "tags": {}, - "location": "WestCentralUs", - "sku": { - "name": "Standard_Akamai" - }, - "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" - } + "name": "profile1", + "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", + "type": "Microsoft.Cdn/profiles", + "tags": {}, + "location": "WestCentralUs", + "sku": { + "name": "Standard_Akamai" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceState": "Active" + } } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json index 8ce7e220f6c8..ebf00431f001 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json @@ -14,11 +14,11 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Akamai" + "name": "Standard_Akamai" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } }, { @@ -28,15 +28,15 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Akamai" + "name": "Standard_Akamai" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json index d39e4b159332..792878778947 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json @@ -15,11 +15,11 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Akamai" + "name": "Standard_Akamai" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } }, { @@ -29,15 +29,15 @@ "tags": {}, "location": "WestCentralUs", "sku": { - "name": "Standard_Akamai" + "name": "Standard_Akamai" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json index 93cfc309ec22..00293277f891 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json @@ -8,15 +8,15 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { - "resourceType": "endpoint", - "unit": "count", - "currentValue": 0, - "limit": 25 + "resourceType": "endpoint", + "unit": "count", + "currentValue": 0, + "limit": 25 } ] } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json index d8409e4eefb1..e07873068c62 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json @@ -9,10 +9,10 @@ "200": { "body": { "supportedOptimizationTypes": [ - "GeneralWebDelivery", - "DynamicSiteAcceleration" + "GeneralWebDelivery", + "DynamicSiteAcceleration" ] } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json index c4a8fbffead7..f1e159b84024 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json @@ -5,7 +5,7 @@ "resourceGroupName": "RG", "profileName": "profile1", "profileUpdateParameters": { - "tags":{ + "tags": { "additionalProperties": "Tag1" } } @@ -17,15 +17,15 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", "type": "Microsoft.Cdn/profiles", "tags": { - "additionalProperties": "Tag1" + "additionalProperties": "Tag1" }, "location": "WestCentralUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } } }, @@ -35,17 +35,17 @@ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1", "type": "Microsoft.Cdn/profiles", "tags": { - "additionalProperties": "Tag1" + "additionalProperties": "Tag1" }, "location": "WestCentralUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { - "provisioningState": "Succeeded", - "resourceState": "Active" + "provisioningState": "Succeeded", + "resourceState": "Active" } } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json index 1ef07ff3ff74..e0987298a1d0 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json @@ -14,7 +14,7 @@ "limit": 200 } ] - } + } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json index 7e0c295c5bfe..efb07b41e668 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json index 8c96f31bafcb..5a933de417b2 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json @@ -1,53 +1,53 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultRuleSet_1.0", + "id": "/subscriptions/subid/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallmanagedrulesets", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "provisioningState": "Succeeded", + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroups": [ + { + "ruleGroupName": "Group1", + "description": "Description for rule group 1.", + "rules": [ { - "name": "DefaultRuleSet_1.0", - "id": "/subscriptions/subid/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallmanagedrulesets", - "sku": { - "name" : "Standard_Microsoft" - }, - "properties": { - "provisioningState": "Succeeded", - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroups": [ - { - "ruleGroupName": "Group1", - "description": "Description for rule group 1.", - "rules": [ - { - "ruleId": "GROUP1-0001", - "description": "Generic managed web application firewall rule." - }, - { - "ruleId": "GROUP1-0002", - "description": "Generic managed web application firewall rule." - } - ] - }, - { - "ruleGroupName": "Group2", - "description": "Description for rule group 2.", - "rules": [ - { - "ruleId": "GROUP2-0001", - "description": "Generic managed web application firewall rule." - } - ] - } - ] - } + "ruleId": "GROUP1-0001", + "description": "Generic managed web application firewall rule." + }, + { + "ruleId": "GROUP1-0002", + "description": "Generic managed web application firewall rule." + } + ] + }, + { + "ruleGroupName": "Group2", + "description": "Description for rule group 2.", + "rules": [ + { + "ruleId": "GROUP2-0001", + "description": "Generic managed web application firewall rule." } - ] + ] + } + ] } - } + } + ] + } } + } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json index 3904d8c5c326..2ea63522500c 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json @@ -18,7 +18,7 @@ }, "location": "WestUs", "sku": { - "name": "Standard_Microsoft" + "name": "Standard_Microsoft" }, "properties": { "resourceState": "Enabled", @@ -118,10 +118,9 @@ ] } }, - { + { "name": "VerizonStandardCdnWafPolicy", - "id": - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/VerizonStandardCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/VerizonStandardCdnWafPolicy", "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", "tags": { "key1": "value1", @@ -129,7 +128,7 @@ }, "location": "WestUs", "sku": { - "name": "Standard_Verizon" + "name": "Standard_Verizon" }, "properties": { "resourceState": "Enabled", @@ -139,8 +138,7 @@ "mode": "Prevention", "defaultRedirectUrl": "http://www.bing.com", "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": - "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" }, "rateLimitRules": { "rules": [ @@ -222,8 +220,7 @@ }, "cdnEndpointLinks": [ { - "id": - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint3" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint3" } ] } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json index d8d5f70f59a4..cc8a4d747642 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json @@ -1,238 +1,238 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "MicrosoftCdnWafPolicy", - "cdnWebApplicationFirewallPolicyPatchParameters": { - "tags": { - "foo": "bar" - } - } - }, - "responses": { - "200": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "foo": "bar" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy", + "cdnWebApplicationFirewallPolicyPatchParameters": { + "tags": { + "foo": "bar" + } + } + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "foo": "bar" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "managedRules": { - "managedRuleSets": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } - } + ] + } + } + }, + "202": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" }, - "202": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Creating", - "provisioningState": "Succeeded", - "policySettings": { + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Creating", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "managedRules": { - "managedRuleSets": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ + "ruleGroupName": "Group1", + "rules": [ { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } - } + ] } + } } + } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json index 1d4f761de26e..76cce169ba38 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json @@ -1,437 +1,437 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "MicrosoftCdnWafPolicy", - "cdnWebApplicationFirewallPolicy": { - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "policySettings": { - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy", + "cdnWebApplicationFirewallPolicy": { + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "policySettings": { + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] }, - "rateLimitRules": { - "rules": [ + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, + "enabledState": "Enabled", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "managedRules": { - "managedRuleSets": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } + ] } + } }, - "responses": { - "200": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + "201": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" - } - ] - }, - "customRules": { - "rules": [ - { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" ] } - ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] - } - } - }, - "201": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ + "ruleGroupName": "Group1", + "rules": [ { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" }, { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } - } + ] + } + } + }, + "202": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" }, - "202": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Creating", - "provisioningState": "Succeeded", - "policySettings": { + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Creating", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 3, + "enabledState": "Enabled", + "matchConditions": [ { - "name": "CustomRule1", - "priority": 3, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "managedRules": { - "managedRuleSets": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } - } + ] } + } } + } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json index d095153b26f2..dfce16f462cf 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json @@ -1,12 +1,12 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": {}, - "204": {} - } + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json index 0d815edfc7d0..dcce780502a9 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json @@ -1,122 +1,122 @@ { - "parameters": { - "api-version": "2019-06-15-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "MicrosoftCdnWafPolicy" - }, - "responses": { - "200": { - "body": { - "name": "MicrosoftCdnWafPolicy", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", - "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "sku": { - "name": "Standard_Microsoft" - }, - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + "parameters": { + "api-version": "2019-06-15-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "MicrosoftCdnWafPolicy" + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftCdnWafPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy", + "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "sku": { + "name": "Standard_Microsoft" + }, + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "defaultRedirectUrl": "http://www.bing.com", + "defaultCustomBlockResponseStatusCode": 499, + "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "rateLimitRules": { + "rules": [ + { + "name": "RateLimitRule1", + "priority": 1, "enabledState": "Enabled", - "mode": "Prevention", - "defaultRedirectUrl": "http://www.bing.com", - "defaultCustomBlockResponseStatusCode": 499, - "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "rateLimitRules": { - "rules": [ + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ { - "name": "RateLimitRule1", - "priority": 1, - "enabledState": "Enabled", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - ] - }, - "customRules": { - "rules": [ + ], + "action": "Block" + } + ] + }, + "customRules": { + "rules": [ + { + "name": "CustomRule1", + "priority": 2, + "enabledState": "Enabled", + "matchConditions": [ { - "name": "CustomRule1", - "priority": 2, - "enabledState": "Enabled", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ] - } - ], - "action": "Block" + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ] } - ] - }, - "managedRules": { - "managedRuleSets": [ + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" } ] } ] - }, - "cdnEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" - }, - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" - } - ] + } + ] + }, + "cdnEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2" } - } + ] } + } } + } } From a10f0add315437c42816b55884aa1add6f9f6275 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 16:15:59 -0400 Subject: [PATCH 054/495] chore: jsonfmt compute (#6323) Ran `jsonfmt -w "specification/compute/**/*.json" --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index d6601b0adfb6..10b8757892df 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -1891,7 +1891,6 @@ "Update a VM by detaching data disk": { "$ref": "./examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json" } - } }, "delete": { @@ -5894,7 +5893,7 @@ }, "toBeDetached": { "type": "boolean", - "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" } }, "required": [ From 7bbc9050c2ebbcda49c277448b7b2b5b335afa35 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 16:16:34 -0400 Subject: [PATCH 055/495] chore: jsonfmt netapp (#6329) Ran `jsonfmt -w "specification/netapp/**/*.json"` --- .../Microsoft.NetApp/stable/2019-05-01/netapp.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json index dcf4d100eb1b..ecae3bae0891 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json @@ -1656,10 +1656,10 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", - "type": "array", + "description": "Set of protocol types", + "type": "array", "items": { - "type": "string" + "type": "string" }, "example": "['NFSv3', 'NFSv4']" }, @@ -1693,9 +1693,9 @@ }, "mountTargets": { "title": "mountTargets", - "description": "List of mount targets", + "description": "List of mount targets", "items": { - "$ref": "#/definitions/mountTargetList" + "$ref": "#/definitions/mountTargetList" } } } From 61b83f6ee9c1432e4020e29f1af17e2d88bdeca2 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 18 Jun 2019 04:40:40 +0800 Subject: [PATCH 056/495] Add CheckDomainAvailability resource type. (#6347) * Adding data plane spec starting with Face * Move Spec to right folder * Fixing validation issues. * Fixing issues and adding a readme.md * Fixing examples by removing decimals. * Removing another decimal value * Update readme.md * Updating spec based on comments. * Removing .gitignore. * Changing namespace to include category. * Adding ComputerVision jsopn * Add checkdomainavailability operation * REmove CV.json * Remove subscriptionid parameter --- .../stable/2017-04-18/cognitiveservices.json | 75 +++++++++++++++++++ .../examples/CheckDomainAvailability.json | 21 ++++++ 2 files changed, 96 insertions(+) create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json index cf908ebfc74b..3e8277ac0e1c 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json @@ -675,6 +675,43 @@ } } } + }, + "/providers/Microsoft.CognitiveServices/checkDomainAvailability": { + "post": { + "tags": [ + "CognitiveServicesAccounts" + ], + "operationId": "CheckDomainAvailability", + "description": "Check whether a domain is available.", + "x-ms-examples": { + "Check SKU Availability": { + "$ref": "./examples/CheckDomainAvailability.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CheckDomainAvailabilityParameter" + }, + "description": "Check Domain Availability parameter." + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/CheckDomainAvailabilityResult" + } + } + } + } } }, "definitions": { @@ -1179,6 +1216,44 @@ } } }, + "CheckDomainAvailabilityParameter": { + "description": "Check Domain availability parameter.", + "properties": { + "subdomainName": { + "type": "string", + "description": "The subdomain name to use." + }, + "type": { + "type": "string", + "description": "The Type of the resource." + } + }, + "required": [ + "subdomainName", + "type" + ] + }, + "CheckDomainAvailabilityResult": { + "description": "Check Domain availability result.", + "properties": { + "isSubdomainAvailable": { + "type": "boolean", + "description": "Indicates the given SKU is available or not." + }, + "reason": { + "type": "string", + "description": "Reason why the SKU is not available." + }, + "subdomainName": { + "type": "string", + "description": "The subdomain name to use." + }, + "type": { + "type": "string", + "description": "The Type of the resource." + } + } + }, "ResourceSkuRestrictions": { "properties": { "type": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json new file mode 100644 index 000000000000..cf0b02e4ec38 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2017-04-18", + "subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3", + "location": "westus", + "parameters": { + "subdomainName": "contosodemoapp1", + "type": "Microsoft.CognitiveServices/accounts" + } + }, + "responses": { + "200": { + "body": { + "isSubdomainAvailable": false, + "reason": "Sub domain name 'contosodemoapp1' is not valid", + "subdomainName": "contosodemoapp1", + "type": "Microsoft.CognitiveServices/accounts" + } + } + } + } \ No newline at end of file From 237aa47eca9754c92760180d15d30744d0ebe52e Mon Sep 17 00:00:00 2001 From: shleiAmy <50385461+shleiAmy@users.noreply.github.com> Date: Mon, 17 Jun 2019 13:46:24 -0700 Subject: [PATCH 057/495] submit attestation REST API swagger .json file for review (#6233) * submit attestation REST API swagger .json file for review * resolve the comments from nschonni * movethe original files to folder 2018-09-01-preview * resolve the comments from KrisBash * add attesUri to status result * upload readme file * resolve model validation error * resolve modle validate errors * add the required parameter back --- .../2018-09-01-preview/attestation.json | 520 ++++++++++++++++++ .../examples/Create_AttestationProvider.json | 34 ++ .../examples/Delete_AttestationProvider.json | 20 + .../examples/Get_AttestationProvider.json | 21 + .../Get_AttestationProvidersList.json | 30 + ...testationProvidersListByResourceGroup.json | 31 ++ .../examples/Operations_List.json | 38 ++ .../attestation/resource-manager/readme.md | 60 ++ 8 files changed, 754 insertions(+) create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json create mode 100644 specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json create mode 100644 specification/attestation/resource-manager/readme.md diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json new file mode 100644 index 000000000000..5f71dd991b87 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json @@ -0,0 +1,520 @@ + { + "swagger": "2.0", + "info": { + "title": "AttestationManagementClient", + "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", + "version": "2018-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Attestation/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Azure attestation operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { + "get": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Get", + "description": "Get the status of Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Get": { + "$ref": "./examples/Get_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Get the status of attestation Provider", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + }, + "put": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Create", + "description": "Creates or updates the Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Create": { + "$ref": "./examples/Create_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "creationParams", + "in": "body", + "description": "Client supplied parameters.", + "schema": { + "$ref": "#/definitions/AttestationServiceCreationParams" + }, + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "201": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + }, + "delete": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Delete", + "description": "Delete Attestation Service.", + "x-ms-examples": { + "AttestationProviders_Delete": { + "$ref": "./examples/Delete_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" + }, + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_List", + "description": "Returns a list of attestation providers in a subscription.", + "x-ms-examples": { + "AttestationProviders_List": { + "$ref": "./examples/Get_AttestationProvidersList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_ListByResourceGroup", + "description": "Returns attestation providers list in a resource group.", + "x-ms-examples": { + "AttestationProviders_ListByResourceGroup": { + "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "keys" + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + } + } + }, + "definitions": { + "OperationList": { + "properties": { + "value": { + "type": "array", + "description": "List of supported operations.", + "items": { + "$ref": "#/definitions/OperationsDefinition" + } + } + }, + "description": "List of supported operations." + }, + "OperationsDefinition": { + "type": "object", + "description": "Definition object with the name and properties of an operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." + }, + "display": { + "$ref": "#/definitions/OperationsDisplayDefinition", + "description": "Display object with properties of the operation." + } + } + }, + "OperationsDisplayDefinition": { + "type": "object", + "description": "Display object with properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Resource provider of the operation." + }, + "resource": { + "type": "string", + "description": "Resource for the operation." + }, + "operation": { + "type": "string", + "description": "Short description of the operation." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + }, + "AttestationProvider": { + "description": "Attestation service response message.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "x-ms-azure-resource": true, + "properties": { + "properties": { + "type": "object", + "$ref": "#/definitions/StatusResult", + "description": "Describes Attestation service status.", + "x-ms-client-flatten": true + } + } + }, + "StatusResult": { + "type": "object", + "description": "Status of attestation service.", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "description": "Status of attestation service.", + "enum": [ + "Ready", + "NotReady", + "Error" + ], + "x-ms-enum": { + "name": "AttestationServiceStatus", + "modelAsString": true + } + }, + "attestUri": { + "type": "string", + "description": "Gets the uri of attestation service" + } + } + }, + "ErrorResult": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "properties": { + "error": { + "type": "object", + "description": "Error object.", + "$ref": "#/definitions/ErrorResponseBody" + } + } + }, + "ErrorResponseBody": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "required": [ + "message", + "code" + ], + "properties": { + "message": { + "type": "string", + "description": "Description of the error." + }, + "code": { + "type": "string", + "description": "Service specific error code" + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response", + "properties": { + "error": { + "type": "object", + "description":"Error response", + "properties": { + "code": { + "type": "string", + "description": "Description of the error." + }, + "message": { + "type": "string", + "description": "Service specific error code." + } + } + } + } + }, + "AttestationProviderListResult": { + "description": "Attestation Providers List.", + "properties": { + "value": { + "type": "array", + "description": "Attestation Provider array.", + "items": { + "$ref": "#/definitions/AttestationProvider" + } + } + } + }, + "AttestationServiceCreationParams": { + "description": "Client supplied parameters passed to attestation service.", + "properties": { + "attestationPolicy": { + "type": "string", + "description":"Name of attestation policy." + } + } + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The id of the ARM resource, e.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\"" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the attestation service." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Microsoft.Attestation/attestationProviders" + } + }, + "description": "Attestation resource", + "x-ms-azure-resource": true + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } + } diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json new file mode 100644 index 000000000000..888e7373b0d4 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1", + "creationParams": "test" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready", + "attestUri": "https://sample-attestation.attestation.azure.net" + } + } + }, + "201": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready", + "attestUri": "https://sample-attestation.attestation.azure.net" + } + } + } + } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json new file mode 100644 index 000000000000..795e261eb948 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1" + }, + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" + }, + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" + } + } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json new file mode 100644 index 000000000000..a91ba4b458b8 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } + } + } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json new file mode 100644 index 000000000000..2751eaf20e85 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + }, + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2", + "name": "codes2", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json new file mode 100644 index 000000000000..c901537506bd --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "resourceGroupName": "testrg1", + "subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + }, + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2", + "name": "codes2", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..4e92f79336b0 --- /dev/null +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "name": "Microsoft.Attestation/attestationProviders/attestation/read", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Get status of attestation service", + "description": "Get status of attestation service." + } + }, + { + "name": "Microsoft.Attestation/attestationProviders/attestation/write", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Adds attestation service.", + "description": "Adds attestation service." + } + }, + { + "name": "Microsoft.Attestation/attestationProviders/attestation/delete", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Removes attestation service", + "description": "Removes attestation service" + } + } + ] + } + } +} \ No newline at end of file diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md new file mode 100644 index 000000000000..c8165c33e5af --- /dev/null +++ b/specification/attestation/resource-manager/readme.md @@ -0,0 +1,60 @@ +# Attestation + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Attestation. + + + +--- +## Getting Started +To build the SDK for Attestation, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the Attestation API. + +``` yaml +openapi-type: arm +tag: package-2018-09 +``` + +### Tag: package-2018-09 + +These settings apply only when `--tag=package-2018-09` is specified on the command line. + +``` yaml $(tag) == 'package-2018-09' +input-file: +- Microsoft.Attestation/2018-09-01-preview/attestation.json +``` + +--- +# Code Generation + + +--- +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.Attestation + output-folder: $(csharp-sdks-folder)/attestation/Microsoft.Azure.Management.Attestation/src/Generated + clear-output-folder: true +``` + + From 5587a88037a00be560fbf1248652965e831e4717 Mon Sep 17 00:00:00 2001 From: John Paul Kee Date: Mon, 17 Jun 2019 15:06:52 -0700 Subject: [PATCH 058/495] Instance pool usages (#5894) * Initializing instance pools swagger and examples - no usages / managed instances get by instance pool * Add instance pool usages, use common resources, and instance pool usages examples * Updates to instance pool usages based on updated ARM usages contract * Update instance pool usages swagger based on arm review - rename UsageName -> Name * Updating version * Update instance pool usages operation id * update to usages.json since we're using new operation group * add usages to readme.md * fix extra line --- .../examples/ListInstancePoolUsage.json | 52 ++++ .../ListInstancePoolUsageExpanded.json | 125 +++++++++ .../preview/2018-06-01-preview/usages.json | 251 ++++++++++++++++++ specification/sql/resource-manager/readme.md | 4 + 4 files changed, 432 insertions(+) create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json new file mode 100644 index 000000000000..2278bc8d0a55 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "instancePoolName": "testIP", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization", + "name": { + "value": "VCore utilization", + "localizedValue": "VCore utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "VCores", + "currentValue": 12, + "limit": 16, + "requestedLimit": 40 + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization", + "name": { + "value": "Storage utilization", + "localizedValue": "Storage utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "VCores", + "currentValue": 384, + "limit": 8196, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization", + "name": { + "value": "Database utilization", + "localizedValue": "Database utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "Number Of Databases", + "currentValue": 5, + "limit": 100, + "requestedLimit": null + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json new file mode 100644 index 000000000000..86121df3a3bd --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "instancePoolName": "testIP", + "expandChildren": true, + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization", + "name": { + "value": "VCore utilization", + "localizedValue": "VCore utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "VCores", + "currentValue": 12, + "limit": 16, + "requestedLimit": 40 + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization", + "name": { + "value": "Storage utilization", + "localizedValue": "Storage utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "VCores", + "currentValue": 384, + "limit": 8196, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization", + "name": { + "value": "Database utilization", + "localizedValue": "Database utilization" + }, + "type": "Microsoft.Sql/instancePools/usages", + "unit": "Number Of Databases", + "currentValue": 5, + "limit": 100, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/vcore_utilization", + "name": { + "value": "VCore utilization", + "localizedValue": "VCore utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "VCores", + "currentValue": null, + "limit": 4, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/vcore_utilization", + "name": { + "value": "VCore utilization", + "localizedValue": "VCore utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "VCores", + "currentValue": null, + "limit": 4, + "requestedLimit": 8 + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/storage_utilization", + "name": { + "value": "Storage utilization", + "localizedValue": "Storage utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "Gigabytes", + "currentValue": null, + "limit": 128, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/storage_utilization", + "name": { + "value": "VCore utilization", + "localizedValue": "VCore utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "Gigabytes", + "currentValue": null, + "limit": 128, + "requestedLimit": 256 + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/database_utilization", + "name": { + "value": "Database utilization", + "localizedValue": "Database utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "Number Of Databases", + "currentValue": 2, + "limit": 100, + "requestedLimit": null + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/database_utilization", + "name": { + "value": "Database utilization", + "localizedValue": "Database utilization" + }, + "type": "Microsoft.Sql/instancePools/managedInstances/usages", + "unit": "Number Of Databases", + "currentValue": 3, + "limit": 100, + "requestedLimit": null + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json new file mode 100644 index 000000000000..8fb9437babb8 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json @@ -0,0 +1,251 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-06-01-preview", + "title": "SqlManagementClient", + "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages": { + "get": { + "tags": [ + "Usages" + ], + "description": "Gets all instance pool usage metrics", + "operationId": "Usages_ListByInstancePool", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "instancePoolName", + "in": "path", + "description": "The name of the instance pool to be retrieved.", + "required": true, + "type": "string" + }, + { + "name": "expandChildren", + "in": "query", + "description": "Optional request parameter to include managed instance usages within the instance pool.", + "required": false, + "type": "boolean" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the instance pool usages.", + "schema": { + "$ref": "#/definitions/UsageListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 InstancePoolWrongUsageName - Request for an instance pool's usage has an unsupported usage name\n\n * 400 InstancePoolManagedInstanceInfoUnavailable - Information for managed instances inside this instance pool is not available\n\n * 404 InstancePoolNotFound - An instance pool cannot be found" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List instance pool usages.": { + "$ref": "./examples/ListInstancePoolUsage.json" + }, + "List instance pool usages expanded with children.": { + "$ref": "./examples/ListInstancePoolUsageExpanded.json" + } + } + } + } + }, + "definitions": { + "UsageListResult": { + "description": "A list of usages.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Usage": { + "description": "ARM usage.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/Name", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "Usage unit.", + "type": "string", + "readOnly": true + }, + "currentValue": { + "format": "int32", + "description": "Usage current value.", + "type": "integer", + "readOnly": true + }, + "limit": { + "format": "int32", + "description": "Usage limit.", + "type": "integer", + "readOnly": true + }, + "requestedLimit": { + "format": "int32", + "description": "Usage requested limit.", + "type": "integer", + "readOnly": true + } + } + }, + "Name": { + "description": "ARM Usage Name", + "type": "object", + "properties": { + "value": { + "description": "Usage name value", + "type": "string" + }, + "localizedValue": { + "description": "Usage name localized value.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedInstanceNameParameter": { + "name": "managedInstanceName", + "in": "path", + "description": "The name of the managed instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "description": "The name of the database.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "BlobAuditingPolicyNameParameter": { + "name": "blobAuditingPolicyName", + "in": "path", + "description": "The name of the blob auditing policy.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineInstanceNameParameter": { + "name": "sqlVirtualMachineInstanceName", + "in": "path", + "description": "The name of the SqlVirtualMachineInstance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineContainerNameParameter": { + "name": "sqlVirtualMachineContainerName", + "in": "path", + "description": "The name of the SqlVirtualMachineContainer.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VirtualClusterNameParameter": { + "name": "virtualClusterName", + "in": "path", + "description": "The name of the virtual cluster.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 316b50c9308e..2392da3460ac 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -119,6 +119,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json +- Microsoft.Sql/preview/2018-06-01-preview/usages.json # Needed when there is more than one input file @@ -209,6 +210,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json +- Microsoft.Sql/preview/2018-06-01-preview/usages.json # Needed when there is more than one input file override-info: @@ -292,6 +294,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json +- Microsoft.Sql/preview/2018-06-01-preview/usages.json # Needed when there is more than one input file override-info: @@ -456,6 +459,7 @@ input-file: - ./Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json - ./Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json - ./Microsoft.Sql/preview/2018-06-01-preview/instancePools.json + - ./Microsoft.Sql/preview/2018-06-01-preview/usages.json # Needed when there is more than one input file override-info: From 108eca6c27a746443b722aa2e47bed4278400aed Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 17 Jun 2019 18:21:10 -0400 Subject: [PATCH 059/495] chore: jsonfmt customer-insights (#6001) Ran `jsonfmt -w "specification/customer-insights/**/*.json"` --- .../stable/2017-01-01/customer-insights.json | 2 +- .../AuthorizationPoliciesCreateOrUpdate.json | 40 ++- .../examples/AuthorizationPoliciesGet.json | 52 +-- .../AuthorizationPoliciesListByHub.json | 84 ++--- ...orizationPoliciesRegeneratePrimaryKey.json | 42 +-- ...izationPoliciesRegenerateSecondaryKey.json | 42 +-- .../ConnectorMappingsCreateOrUpdate.json | 322 ++++++++--------- .../examples/ConnectorMappingsDelete.json | 26 +- .../examples/ConnectorMappingsGet.json | 132 +++---- .../ConnectorMappingsListByConnector.json | 136 ++++---- .../examples/ConnectorsCreateOrUpdate.json | 94 +++-- .../2017-01-01/examples/ConnectorsDelete.json | 32 +- .../2017-01-01/examples/ConnectorsGet.json | 64 ++-- .../examples/ConnectorsListByHub.json | 68 ++-- .../examples/DCIOperations_List.json | 2 +- .../examples/HubsCreateOrUpdate.json | 122 ++++--- .../2017-01-01/examples/HubsDelete.json | 24 +- .../stable/2017-01-01/examples/HubsGet.json | 60 ++-- .../stable/2017-01-01/examples/HubsList.json | 100 +++--- .../examples/HubsListByResourceGroup.json | 102 +++--- .../2017-01-01/examples/HubsUpdate.json | 80 +++-- .../examples/ImagesGetUploadUrlForData.json | 42 +-- .../ImagesGetUploadUrlForEntityType.json | 42 +-- .../examples/InteractionsCreateOrUpdate.json | 164 ++++----- .../2017-01-01/examples/InteractionsGet.json | 178 +++++----- .../examples/InteractionsListByHub.json | 182 +++++----- .../InteractionsSuggestRelationshipLinks.json | 88 ++--- .../examples/KpiCreateOrUpdate.json | 152 ++++---- .../stable/2017-01-01/examples/KpiDelete.json | 24 +- .../stable/2017-01-01/examples/KpiGet.json | 92 ++--- .../2017-01-01/examples/KpiListByHub.json | 96 +++--- .../2017-01-01/examples/KpiReprocess.json | 24 +- .../examples/LinksCreateOrUpdate.json | 146 ++++---- .../2017-01-01/examples/LinksDelete.json | 24 +- .../stable/2017-01-01/examples/LinksGet.json | 86 ++--- .../2017-01-01/examples/LinksListByHub.json | 90 ++--- .../examples/ProfileGetEnrichingKpis.json | 154 +++++---- .../examples/ProfilesCreateOrUpdate.json | 326 +++++++++--------- .../2017-01-01/examples/ProfilesDelete.json | 32 +- .../2017-01-01/examples/ProfilesGet.json | 216 ++++++------ .../examples/ProfilesListByHub.json | 222 ++++++------ .../RelationshipLinksCreateOrUpdate.json | 130 +++---- .../examples/RelationshipLinksDelete.json | 28 +- .../examples/RelationshipLinksGet.json | 80 +++-- .../examples/RelationshipLinksListByHub.json | 84 ++--- .../examples/RelationshipsCreateOrUpdate.json | 98 +++--- .../examples/RelationshipsDelete.json | 28 +- .../2017-01-01/examples/RelationshipsGet.json | 66 ++-- .../examples/RelationshipsListByHub.json | 70 ++-- .../RoleAssignmentsCreateOrUpdate.json | 96 +++--- .../examples/RoleAssignmentsDelete.json | 32 +- .../examples/RoleAssignmentsGet.json | 64 ++-- .../examples/RoleAssignmentsListByHub.json | 68 ++-- .../2017-01-01/examples/RolesListByHub.json | 46 +-- .../examples/ViewsCreateOrUpdate.json | 70 ++-- .../2017-01-01/examples/ViewsDelete.json | 26 +- .../stable/2017-01-01/examples/ViewsGet.json | 54 +-- .../2017-01-01/examples/ViewsListByHub.json | 58 ++-- .../2017-01-01/examples/WidgetTypesGet.json | 50 +-- .../examples/WidgetTypesListByHub.json | 80 ++--- .../stable/2017-04-26/customer-insights.json | 6 +- .../AuthorizationPoliciesCreateOrUpdate.json | 40 ++- .../examples/AuthorizationPoliciesGet.json | 52 +-- .../AuthorizationPoliciesListByHub.json | 84 ++--- ...orizationPoliciesRegeneratePrimaryKey.json | 42 +-- ...izationPoliciesRegenerateSecondaryKey.json | 42 +-- .../ConnectorMappingsCreateOrUpdate.json | 322 ++++++++--------- .../examples/ConnectorMappingsDelete.json | 26 +- .../examples/ConnectorMappingsGet.json | 132 +++---- .../ConnectorMappingsListByConnector.json | 136 ++++---- .../examples/ConnectorsCreateOrUpdate.json | 94 +++-- .../2017-04-26/examples/ConnectorsDelete.json | 32 +- .../2017-04-26/examples/ConnectorsGet.json | 64 ++-- .../examples/ConnectorsListByHub.json | 68 ++-- .../examples/DCIOperations_List.json | 2 +- .../examples/HubsCreateOrUpdate.json | 122 ++++--- .../2017-04-26/examples/HubsDelete.json | 24 +- .../stable/2017-04-26/examples/HubsGet.json | 60 ++-- .../stable/2017-04-26/examples/HubsList.json | 100 +++--- .../examples/HubsListByResourceGroup.json | 102 +++--- .../2017-04-26/examples/HubsUpdate.json | 80 +++-- .../examples/ImagesGetUploadUrlForData.json | 42 +-- .../ImagesGetUploadUrlForEntityType.json | 42 +-- .../examples/InteractionsCreateOrUpdate.json | 160 ++++----- .../2017-04-26/examples/InteractionsGet.json | 178 +++++----- .../examples/InteractionsListByHub.json | 182 +++++----- .../InteractionsSuggestRelationshipLinks.json | 88 ++--- .../examples/KpiCreateOrUpdate.json | 152 ++++---- .../stable/2017-04-26/examples/KpiDelete.json | 24 +- .../stable/2017-04-26/examples/KpiGet.json | 92 ++--- .../2017-04-26/examples/KpiListByHub.json | 96 +++--- .../2017-04-26/examples/KpiReprocess.json | 24 +- .../examples/LinksCreateOrUpdate.json | 150 ++++---- .../2017-04-26/examples/LinksDelete.json | 24 +- .../stable/2017-04-26/examples/LinksGet.json | 88 ++--- .../2017-04-26/examples/LinksListByHub.json | 92 ++--- .../examples/PredictionsCreateOrUpdate.json | 2 +- .../examples/PredictionsDelete.json | 2 +- .../2017-04-26/examples/PredictionsGet.json | 2 +- .../examples/PredictionsGetModelStatus.json | 2 +- .../PredictionsGetTrainingResults.json | 2 +- .../examples/PredictionsListByHub.json | 2 +- .../examples/PredictionsModelStatus.json | 2 +- .../examples/ProfileGetEnrichingKpis.json | 154 +++++---- .../examples/ProfilesCreateOrUpdate.json | 326 +++++++++--------- .../2017-04-26/examples/ProfilesDelete.json | 32 +- .../2017-04-26/examples/ProfilesGet.json | 216 ++++++------ .../examples/ProfilesListByHub.json | 222 ++++++------ .../RelationshipLinksCreateOrUpdate.json | 130 +++---- .../examples/RelationshipLinksDelete.json | 28 +- .../examples/RelationshipLinksGet.json | 80 +++-- .../examples/RelationshipLinksListByHub.json | 84 ++--- .../examples/RelationshipsCreateOrUpdate.json | 98 +++--- .../examples/RelationshipsDelete.json | 28 +- .../2017-04-26/examples/RelationshipsGet.json | 66 ++-- .../examples/RelationshipsListByHub.json | 70 ++-- .../RoleAssignmentsCreateOrUpdate.json | 96 +++--- .../examples/RoleAssignmentsDelete.json | 32 +- .../examples/RoleAssignmentsGet.json | 64 ++-- .../examples/RoleAssignmentsListByHub.json | 68 ++-- .../2017-04-26/examples/RolesListByHub.json | 46 +-- .../examples/ViewsCreateOrUpdate.json | 70 ++-- .../2017-04-26/examples/ViewsDelete.json | 26 +- .../stable/2017-04-26/examples/ViewsGet.json | 54 +-- .../2017-04-26/examples/ViewsListByHub.json | 58 ++-- .../2017-04-26/examples/WidgetTypesGet.json | 50 +-- .../examples/WidgetTypesListByHub.json | 80 ++--- 127 files changed, 5360 insertions(+), 5130 deletions(-) diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json index 22675f81ce9d..70a68c885d6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json @@ -5697,4 +5697,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json index 14d860ac082b..e30b0f50550a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -2,14 +2,16 @@ "parameters": { "hubName": "azSdkTestHub", "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", + "authorizationPolicyName": "testPolicy4222", "api-version": "2016-01-01", "subscriptionId": "subid", "parameters": { "properties": { - "permissions": ["Read", - "Write", - "Manage"] + "permissions": [ + "Read", + "Write", + "Manage" + ] } } }, @@ -20,12 +22,14 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } }, @@ -35,14 +39,16 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json index 2cfbc82731a6..4e59c0c29c69 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json @@ -1,26 +1,28 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", - "name": "azSdkTestHub/testPolicy4222", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", + "name": "azSdkTestHub/testPolicy4222", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json index c0af0c058ab2..7bb7493fa7e2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", - "name": "azSdkTestHub/RootManageSharedAccessKey", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "RootManageSharedAccessKey", - "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", - "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", - "name": "azSdkTestHub/testPolicy1125", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy1125", - "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", + "name": "azSdkTestHub/RootManageSharedAccessKey", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "RootManageSharedAccessKey", + "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", + "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", + "name": "azSdkTestHub/testPolicy1125", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy1125", + "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json index a618ef8e989b..ded66bd2a2a2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json @@ -1,159 +1,165 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "displayName": "testMapping12491", - "description": "Test mapping", - "mappingProperties": { - "folderPath": "http://sample.dne/file", - "fileFilter": "unknown", - "hasHeader": false, - "errorManagement": { - "errorManagementType": "StopImport", - "errorLimit": 10 - }, - "format": { - "formatType": "TextFormat", - "columnDelimiter": "|" - }, - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "structure": [{ - "propertyName": "unknwon1", - "columnName": "unknown1", - "isEncrypted": false - }, - { - "propertyName": "unknwon2", - "columnName": "unknown2", - "isEncrypted": true - }], - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - }, - "201": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "displayName": "testMapping12491", + "description": "Test mapping", + "mappingProperties": { + "folderPath": "http://sample.dne/file", + "fileFilter": "unknown", + "hasHeader": false, + "errorManagement": { + "errorManagementType": "StopImport", + "errorLimit": 10 + }, + "format": { + "formatType": "TextFormat", + "columnDelimiter": "|" + }, + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "structure": [ + { + "propertyName": "unknwon1", + "columnName": "unknown1", + "isEncrypted": false + }, + { + "propertyName": "unknwon2", + "columnName": "unknown2", + "isEncrypted": true + } + ], + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + }, + "201": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json index 0d7f1846761c..924976644b8e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json index 3bda377203e7..cf626302e2b8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json @@ -1,66 +1,68 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json index 5259745619e4..e3c7c8a6f67f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json @@ -1,67 +1,71 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json index 20c3288aa55f..93af22e94dac 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json @@ -1,49 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "connectorType": "AzureBlob", - "displayName": "testConnector", - "description": "Test connector", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "connectorType": "AzureBlob", + "displayName": "testConnector", + "description": "Test connector", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json index 223bbe751413..c9d4054fe03a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json index 8eb04134ad71..cd50e4833616 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json @@ -1,33 +1,33 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json index 13f587390507..5dbcbb24dabc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json @@ -1,34 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json index db43dc6f6242..5b6b170d8388 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json @@ -289,4 +289,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json index af90ced06152..d26a46e6c2dc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json @@ -1,64 +1,60 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "West US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "West US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json index 6afd4d1b4ddc..447e31547e47 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json index ae0885c10cfa..75f252eaef7a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json @@ -1,32 +1,30 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json index d86c96e024f6..4b5b14c95d5a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json @@ -1,52 +1,50 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json index ea16b5f3e3c9..4d7946a2a372 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json @@ -1,53 +1,51 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid", - "resourceGroupName": "TestHubRG" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid", + "resourceGroupName": "TestHubRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json index 3adb220f2dc6..068afee45e73 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json @@ -1,42 +1,40 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Created", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Created", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json index 160b21a30088..ce7c21837094 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json @@ -1,80 +1,86 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String" - }], - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage", - "isActivity": false - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "isActivity": false - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String" + } + ], + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage", + "isActivity": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "isActivity": false + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json index 0aac643643d4..b77a19b39052 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json @@ -1,88 +1,92 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestInteractionType6358", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestInteractionType6358", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json index ebb489a5b2dd..f532a73c7d85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json @@ -1,89 +1,95 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json index 504cb8b9d223..8fa2f3ab4138 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json @@ -1,40 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "Deposit", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "interactionName": "Deposit", - "suggestedRelationships": [{ - "profileName": "Branch", - "profilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }], - "relatedProfileName": "Contact", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }] - }, - { - "profileName": "Contact", - "profilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }], - "relatedProfileName": "Branch", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }] - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "Deposit", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "interactionName": "Deposit", + "suggestedRelationships": [ + { + "profileName": "Branch", + "profilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ], + "relatedProfileName": "Contact", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ] + }, + { + "profileName": "Contact", + "profilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ], + "relatedProfileName": "Branch", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ] + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json index bc06a79c3e8a..25f7bf4e8e5d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json @@ -1,74 +1,80 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "displayName": { - "en-us": "Kpi DisplayName" - }, - "description": { - "en-us": "Kpi Description" - }, - "calculationWindow": "Day", - "function": "Sum", - "expression": "SavingAccountBalance", - "unit": "unit", - "groupBy": ["SavingAccountBalance"], - "thresHolds": { - "lowerLimit": 5.0, - "upperLimit": 50.0, - "increasingKpi": true - }, - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "displayName": { + "en-us": "Kpi DisplayName" + }, + "description": { + "en-us": "Kpi Description" + }, + "calculationWindow": "Day", + "function": "Sum", + "expression": "SavingAccountBalance", + "unit": "unit", + "groupBy": [ + "SavingAccountBalance" + ], + "thresHolds": { + "lowerLimit": 5.0, + "upperLimit": 50.0, + "increasingKpi": true + }, + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json index 493a641b7260..79bcb779b69b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json index 262b6a9ebfa0..150e0c4ecde8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json @@ -1,45 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json index 91c607454f85..d746eea2c4e1 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json @@ -1,46 +1,52 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json index 659260336127..83bd69594f4b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json @@ -1,14 +1,12 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json index c4d0e4d550f2..5c066853432c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json @@ -1,74 +1,74 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "linkName": "linkTest4806", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "mappings": [ - { - "interactionTypePropertyName": "testInteraction1949", - "profileTypePropertyName": "testProfile1446", - "isProfileTypeId": true, - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [ - { - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - } - ], - "participantPropertyReferences": [ - { - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - } - ], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - }, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "linkName": "linkTest4806", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "profileTypePropertyName": "testProfile1446", + "isProfileTypeId": true, + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json index 2b41c5cb20f7..ad139857a18a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json index 6b84b5b5dff4..7129fda53189 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json @@ -1,42 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - }], - "participantPropertyReferences": [{ - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json index 18017f91ed58..5db0d75f8a65 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json @@ -1,43 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - }], - "participantPropertyReferences": [{ - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json index 511cb1608d8d..3f137fc75b31 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json @@ -1,75 +1,81 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [{ - "calculationWindow": "Month", - "calculationWindowFieldName": "", - "description": { - "en-us": "MonthlyDeposits" - }, - "entityType": "Interaction", - "entityTypeName": "Deposit", - "expression": "Amount", - "filter": "", - "function": "Sum", - "groupBy": ["AccountType", - "BranchId", - "ContactId", - "Location", - "Type"], - "groupByMetadata": [{ - "displayName": { - "en-us": "AccountType" - }, - "fieldName": "AccountType", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "BranchId" - }, - "fieldName": "BranchId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "ContactId" - }, - "fieldName": "ContactId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "Location" - }, - "fieldName": "Location", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "Type" - }, - "fieldName": "Type", - "fieldType": "Edm.String" - }], - "kpiName": "MonthlyDeposits", - "participantProfilesMetadata": [], - "provisioningState": "Succeeded", - "tenantId": "sdkTestHub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 0, - "upperLimit": 0 - }, - "unit": "" - }] - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "calculationWindow": "Month", + "calculationWindowFieldName": "", + "description": { + "en-us": "MonthlyDeposits" + }, + "entityType": "Interaction", + "entityTypeName": "Deposit", + "expression": "Amount", + "filter": "", + "function": "Sum", + "groupBy": [ + "AccountType", + "BranchId", + "ContactId", + "Location", + "Type" + ], + "groupByMetadata": [ + { + "displayName": { + "en-us": "AccountType" + }, + "fieldName": "AccountType", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "BranchId" + }, + "fieldName": "BranchId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "ContactId" + }, + "fieldName": "ContactId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "Location" + }, + "fieldName": "Location", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "Type" + }, + "fieldName": "Type", + "fieldType": "Edm.String" + } + ], + "kpiName": "MonthlyDeposits", + "participantProfilesMetadata": [], + "provisioningState": "Succeeded", + "tenantId": "sdkTestHub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 0, + "upperLimit": 0 + }, + "unit": "" + } + ] + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json index 601cc85f3181..3fad518ca871 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json @@ -1,156 +1,172 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "SavingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isRequired": true - }], - "schemaItemTypeLink": "SchemaItemTypeLink", - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "202": { - - }, - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "SavingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isRequired": true + } + ], + "schemaItemTypeLink": "SchemaItemTypeLink", + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "202": {}, + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json index ff9486f362a3..17435c69ab85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json index ffeeb1edc348..0fca793d9440 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json @@ -1,104 +1,114 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json index 4442c3826d5d..5afff68434b9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json @@ -1,106 +1,118 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - }], - "nextLink": "" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json index 49c778ee9665..75acab7d4914 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json @@ -1,63 +1,69 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json index 373fd21aa152..0760121175c2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json index b19354bee869..193231fc3666 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json @@ -1,39 +1,43 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json index 220b1adccf7f..d9d63564955c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json index d6db25d0de72..7dda783d91f0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json @@ -1,51 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "cardinality": "OneToOne", - "displayName": { - "en-us": "Relationship DisplayName" - }, - "description": { - "en-us": "Relationship Description" - }, - "fields": [], - "profileType": "testProfile2326994", - "relatedProfileType": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "cardinality": "OneToOne", + "displayName": { + "en-us": "Relationship DisplayName" + }, + "description": { + "en-us": "Relationship Description" + }, + "fields": [], + "profileType": "testProfile2326994", + "relatedProfileType": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json index a28259d3e262..b988c9aebeb2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json index 7135827b9b34..33b86ccb1608 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json index 67ab7fdf6074..9ed418bd4c8a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json @@ -1,35 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json index eaab4cf33e00..a01f09cae88d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json @@ -1,48 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "role": "Admin", - "principals": [{ - "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15a5054f2b9948ae25724cf9d5", - "principalType": "User" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "role": "Admin", + "principals": [ + { + "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15a5054f2b9948ae25724cf9d5", + "principalType": "User" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json index 3d09176089b2..b1c07bb61fa7 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json index a31f046442b8..fe43bff10e94 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json @@ -1,32 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json index c126a24df81b..692b169a1337 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json @@ -1,33 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json index 183fc0add0b4..d2a7e225ad6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json @@ -1,23 +1,25 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", - "name": "azSdkTestHub/Admin", - "properties": { - "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", - "roleName": "Admin" - }, - "type": "Microsoft.CustomerInsights/hubs/Roles" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", + "name": "azSdkTestHub/Admin", + "properties": { + "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", + "roleName": "Admin" + }, + "type": "Microsoft.CustomerInsights/hubs/Roles" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json index 983262206e7e..e0f701096211 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json @@ -1,36 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "userId": "testUser", - "displayName": { - "en": "some name" - }, - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "userId": "testUser", + "displayName": { + "en": "some name" + }, + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json index 6cbd4c997f21..1466e13530a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json @@ -1,15 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json index 63a648684119..c824b00d4dd9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json index 949fd4c32c86..34613c9b814f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json @@ -1,29 +1,31 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json index 35507b6bd9ee..31edc695e598 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "widgetTypeName": "ActivityGauge", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "widgetTypeName": "ActivityGauge", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json index 9796c694033c..0a778bb5d1f3 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json @@ -1,40 +1,42 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", - "name": "sdkTestHub/AsterChart", - "properties": { - "widgetTypeName": "AsterChart", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", + "name": "sdkTestHub/AsterChart", + "properties": { + "widgetTypeName": "AsterChart", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json index 3c0353f8a491..3fd7162a8e9e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json @@ -44,7 +44,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "DCIOperations_List": { "$ref": "./examples/DCIOperations_List.json" } + "DCIOperations_List": { + "$ref": "./examples/DCIOperations_List.json" + } }, "description": "Lists all of the available Customer Insights REST API operations.", "parameters": [ @@ -6517,4 +6519,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json index 14d860ac082b..e30b0f50550a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -2,14 +2,16 @@ "parameters": { "hubName": "azSdkTestHub", "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", + "authorizationPolicyName": "testPolicy4222", "api-version": "2016-01-01", "subscriptionId": "subid", "parameters": { "properties": { - "permissions": ["Read", - "Write", - "Manage"] + "permissions": [ + "Read", + "Write", + "Manage" + ] } } }, @@ -20,12 +22,14 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } }, @@ -35,14 +39,16 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json index 2cfbc82731a6..4e59c0c29c69 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -1,26 +1,28 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", - "name": "azSdkTestHub/testPolicy4222", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", + "name": "azSdkTestHub/testPolicy4222", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json index c0af0c058ab2..7bb7493fa7e2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", - "name": "azSdkTestHub/RootManageSharedAccessKey", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "RootManageSharedAccessKey", - "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", - "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", - "name": "azSdkTestHub/testPolicy1125", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy1125", - "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", + "name": "azSdkTestHub/RootManageSharedAccessKey", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "RootManageSharedAccessKey", + "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", + "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", + "name": "azSdkTestHub/testPolicy1125", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy1125", + "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json index a618ef8e989b..ded66bd2a2a2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json @@ -1,159 +1,165 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "displayName": "testMapping12491", - "description": "Test mapping", - "mappingProperties": { - "folderPath": "http://sample.dne/file", - "fileFilter": "unknown", - "hasHeader": false, - "errorManagement": { - "errorManagementType": "StopImport", - "errorLimit": 10 - }, - "format": { - "formatType": "TextFormat", - "columnDelimiter": "|" - }, - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "structure": [{ - "propertyName": "unknwon1", - "columnName": "unknown1", - "isEncrypted": false - }, - { - "propertyName": "unknwon2", - "columnName": "unknown2", - "isEncrypted": true - }], - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - }, - "201": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "displayName": "testMapping12491", + "description": "Test mapping", + "mappingProperties": { + "folderPath": "http://sample.dne/file", + "fileFilter": "unknown", + "hasHeader": false, + "errorManagement": { + "errorManagementType": "StopImport", + "errorLimit": 10 + }, + "format": { + "formatType": "TextFormat", + "columnDelimiter": "|" + }, + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "structure": [ + { + "propertyName": "unknwon1", + "columnName": "unknown1", + "isEncrypted": false + }, + { + "propertyName": "unknwon2", + "columnName": "unknown2", + "isEncrypted": true + } + ], + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + }, + "201": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json index 0d7f1846761c..924976644b8e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json index 3bda377203e7..cf626302e2b8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -1,66 +1,68 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json index 5259745619e4..e3c7c8a6f67f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json @@ -1,67 +1,71 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json index 20c3288aa55f..93af22e94dac 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json @@ -1,49 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "connectorType": "AzureBlob", - "displayName": "testConnector", - "description": "Test connector", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "connectorType": "AzureBlob", + "displayName": "testConnector", + "description": "Test connector", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json index 223bbe751413..c9d4054fe03a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json index 8eb04134ad71..cd50e4833616 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -1,33 +1,33 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json index 13f587390507..5dbcbb24dabc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json @@ -1,34 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json index db43dc6f6242..5b6b170d8388 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json @@ -289,4 +289,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json index af90ced06152..d26a46e6c2dc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json @@ -1,64 +1,60 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "West US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "West US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json index 6afd4d1b4ddc..447e31547e47 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json index ae0885c10cfa..75f252eaef7a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -1,32 +1,30 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json index d86c96e024f6..4b5b14c95d5a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json @@ -1,52 +1,50 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json index ea16b5f3e3c9..4d7946a2a372 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json @@ -1,53 +1,51 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid", - "resourceGroupName": "TestHubRG" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid", + "resourceGroupName": "TestHubRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json index 3adb220f2dc6..068afee45e73 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json @@ -1,42 +1,40 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Created", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Created", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json index aa4b51c848bb..62b75de081ee 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json @@ -1,78 +1,84 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String" - }], - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String" + } + ], + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json index 0aac643643d4..b77a19b39052 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -1,88 +1,92 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestInteractionType6358", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestInteractionType6358", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json index 2d16aa54cef4..f532a73c7d85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json @@ -1,89 +1,95 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json index 504cb8b9d223..8fa2f3ab4138 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json @@ -1,40 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "Deposit", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "interactionName": "Deposit", - "suggestedRelationships": [{ - "profileName": "Branch", - "profilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }], - "relatedProfileName": "Contact", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }] - }, - { - "profileName": "Contact", - "profilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }], - "relatedProfileName": "Branch", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }] - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "Deposit", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "interactionName": "Deposit", + "suggestedRelationships": [ + { + "profileName": "Branch", + "profilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ], + "relatedProfileName": "Contact", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ] + }, + { + "profileName": "Contact", + "profilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ], + "relatedProfileName": "Branch", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ] + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json index bc06a79c3e8a..25f7bf4e8e5d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json @@ -1,74 +1,80 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "displayName": { - "en-us": "Kpi DisplayName" - }, - "description": { - "en-us": "Kpi Description" - }, - "calculationWindow": "Day", - "function": "Sum", - "expression": "SavingAccountBalance", - "unit": "unit", - "groupBy": ["SavingAccountBalance"], - "thresHolds": { - "lowerLimit": 5.0, - "upperLimit": 50.0, - "increasingKpi": true - }, - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "displayName": { + "en-us": "Kpi DisplayName" + }, + "description": { + "en-us": "Kpi Description" + }, + "calculationWindow": "Day", + "function": "Sum", + "expression": "SavingAccountBalance", + "unit": "unit", + "groupBy": [ + "SavingAccountBalance" + ], + "thresHolds": { + "lowerLimit": 5.0, + "upperLimit": 50.0, + "increasingKpi": true + }, + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json index 493a641b7260..79bcb779b69b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json index 262b6a9ebfa0..150e0c4ecde8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -1,45 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json index 91c607454f85..d746eea2c4e1 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json @@ -1,46 +1,52 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json index 659260336127..83bd69594f4b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json @@ -1,14 +1,12 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json index 8f3c75f69ebe..e9b99509b62d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json @@ -1,76 +1,76 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2017-04-26", - "subscriptionId": "subid", - "parameters": { - "properties": { - "linkName": "linkTest4806", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "mappings": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - } - ], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - }, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2017-04-26", + "subscriptionId": "subid", + "parameters": { + "properties": { + "linkName": "linkTest4806", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json index 2b41c5cb20f7..ad139857a18a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json index 3721c651a7c8..985e1060bdbb 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -1,43 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - }], - "participantPropertyReferences": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json index 335f4831167c..1454f17de1c4 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json @@ -1,44 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - }], - "participantPropertyReferences": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json index b8b9807b3fd7..931d3030920f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json @@ -82,4 +82,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json index 2e1ef40f66da..a2b44064352b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json index c63804a35307..9771bffad8a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json index 19c41c9321ba..00ea06999ac8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json index f0e0ee24bf8c..52bda73adf40 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json index a8cc5f567df6..52038c2fc053 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json index 134f5f5b6ddb..13bb2388dc7b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json @@ -12,4 +12,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json index 511cb1608d8d..3f137fc75b31 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json @@ -1,75 +1,81 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [{ - "calculationWindow": "Month", - "calculationWindowFieldName": "", - "description": { - "en-us": "MonthlyDeposits" - }, - "entityType": "Interaction", - "entityTypeName": "Deposit", - "expression": "Amount", - "filter": "", - "function": "Sum", - "groupBy": ["AccountType", - "BranchId", - "ContactId", - "Location", - "Type"], - "groupByMetadata": [{ - "displayName": { - "en-us": "AccountType" - }, - "fieldName": "AccountType", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "BranchId" - }, - "fieldName": "BranchId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "ContactId" - }, - "fieldName": "ContactId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "Location" - }, - "fieldName": "Location", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "Type" - }, - "fieldName": "Type", - "fieldType": "Edm.String" - }], - "kpiName": "MonthlyDeposits", - "participantProfilesMetadata": [], - "provisioningState": "Succeeded", - "tenantId": "sdkTestHub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 0, - "upperLimit": 0 - }, - "unit": "" - }] - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "calculationWindow": "Month", + "calculationWindowFieldName": "", + "description": { + "en-us": "MonthlyDeposits" + }, + "entityType": "Interaction", + "entityTypeName": "Deposit", + "expression": "Amount", + "filter": "", + "function": "Sum", + "groupBy": [ + "AccountType", + "BranchId", + "ContactId", + "Location", + "Type" + ], + "groupByMetadata": [ + { + "displayName": { + "en-us": "AccountType" + }, + "fieldName": "AccountType", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "BranchId" + }, + "fieldName": "BranchId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "ContactId" + }, + "fieldName": "ContactId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "Location" + }, + "fieldName": "Location", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "Type" + }, + "fieldName": "Type", + "fieldType": "Edm.String" + } + ], + "kpiName": "MonthlyDeposits", + "participantProfilesMetadata": [], + "provisioningState": "Succeeded", + "tenantId": "sdkTestHub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 0, + "upperLimit": 0 + }, + "unit": "" + } + ] + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json index 601cc85f3181..3fad518ca871 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json @@ -1,156 +1,172 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "SavingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isRequired": true - }], - "schemaItemTypeLink": "SchemaItemTypeLink", - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "202": { - - }, - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "SavingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isRequired": true + } + ], + "schemaItemTypeLink": "SchemaItemTypeLink", + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "202": {}, + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json index ff9486f362a3..17435c69ab85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json index ffeeb1edc348..0fca793d9440 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -1,104 +1,114 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json index 4442c3826d5d..5afff68434b9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json @@ -1,106 +1,118 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - }], - "nextLink": "" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json index 49c778ee9665..75acab7d4914 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json @@ -1,63 +1,69 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json index 373fd21aa152..0760121175c2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json index b19354bee869..193231fc3666 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -1,39 +1,43 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json index 220b1adccf7f..d9d63564955c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json index d6db25d0de72..7dda783d91f0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json @@ -1,51 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "cardinality": "OneToOne", - "displayName": { - "en-us": "Relationship DisplayName" - }, - "description": { - "en-us": "Relationship Description" - }, - "fields": [], - "profileType": "testProfile2326994", - "relatedProfileType": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "cardinality": "OneToOne", + "displayName": { + "en-us": "Relationship DisplayName" + }, + "description": { + "en-us": "Relationship Description" + }, + "fields": [], + "profileType": "testProfile2326994", + "relatedProfileType": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json index a28259d3e262..b988c9aebeb2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json index 7135827b9b34..33b86ccb1608 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json index 67ab7fdf6074..9ed418bd4c8a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json @@ -1,35 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json index eaab4cf33e00..a01f09cae88d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json @@ -1,48 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "role": "Admin", - "principals": [{ - "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15a5054f2b9948ae25724cf9d5", - "principalType": "User" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "role": "Admin", + "principals": [ + { + "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15a5054f2b9948ae25724cf9d5", + "principalType": "User" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json index 3d09176089b2..b1c07bb61fa7 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json index a31f046442b8..fe43bff10e94 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -1,32 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json index c126a24df81b..692b169a1337 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json @@ -1,33 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json index 183fc0add0b4..d2a7e225ad6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json @@ -1,23 +1,25 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", - "name": "azSdkTestHub/Admin", - "properties": { - "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", - "roleName": "Admin" - }, - "type": "Microsoft.CustomerInsights/hubs/Roles" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", + "name": "azSdkTestHub/Admin", + "properties": { + "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", + "roleName": "Admin" + }, + "type": "Microsoft.CustomerInsights/hubs/Roles" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json index 983262206e7e..e0f701096211 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json @@ -1,36 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "userId": "testUser", - "displayName": { - "en": "some name" - }, - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "userId": "testUser", + "displayName": { + "en": "some name" + }, + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json index 6cbd4c997f21..1466e13530a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json @@ -1,15 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json index 63a648684119..c824b00d4dd9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json index 949fd4c32c86..34613c9b814f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json @@ -1,29 +1,31 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json index 35507b6bd9ee..31edc695e598 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "widgetTypeName": "ActivityGauge", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "widgetTypeName": "ActivityGauge", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json index 9796c694033c..0a778bb5d1f3 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json @@ -1,40 +1,42 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", - "name": "sdkTestHub/AsterChart", - "properties": { - "widgetTypeName": "AsterChart", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", + "name": "sdkTestHub/AsterChart", + "properties": { + "widgetTypeName": "AsterChart", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + ] + } + } + } +} From c7fa3ca2dc1df79820be453624c1d6684bb9db55 Mon Sep 17 00:00:00 2001 From: Siddique Juman Date: Mon, 17 Jun 2019 23:36:58 -0400 Subject: [PATCH 060/495] Adding Azure China to profile (#6136) * Azure Gov Profile * Azure Gov Profile * Adding Azure China to Profile map --- profile/2019-07-01-profile.json | 2742 +++++++++++++++++++++++++++++++ 1 file changed, 2742 insertions(+) create mode 100644 profile/2019-07-01-profile.json diff --git a/profile/2019-07-01-profile.json b/profile/2019-07-01-profile.json new file mode 100644 index 000000000000..e835adb03cd7 --- /dev/null +++ b/profile/2019-07-01-profile.json @@ -0,0 +1,2742 @@ +{ + "info": { + "name": "2019-06-01-profile", + "description": "Profile definition targeted for hybrid applications that could run on azure gov general availability version and azure cloud" + }, + "resourcemanager": { + "Microsoft.ADHybridHealthService": { + "2014-01-01": { + "services": [ + "AzureGov" + ], + "addsservices": [ + "AzureGov" + ], + "configuration": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "agents": [ + "AzureGov" + ], + "aadsupportcases": [ + "AzureGov" + ], + "reports": [ + "AzureGov" + ], + "servicehealthmetrics": [ + "AzureGov" + ], + "logs": [ + "AzureGov" + ], + "anonymousapiusers": [ + "AzureGov" + ] + } + }, + "Microsoft.Advisor": { + "2017-04-19": { + "suppressions": [ + "AzureGov", + "AzureChina" + ], + "configurations": [ + "AzureGov", + "AzureChina" + ], + "recommendations": [ + "AzureGov", + "AzureChina" + ], + "generateRecommendations": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.AlertsManagement": { + "2018-05-05-preview": { + "alerts": [ + "AzureGov", + "AzureChina" + ], + "alertsSummary": [ + "AzureGov", + "AzureChina" + ], + "smartGroups": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "Microsoft.AnalysisServices": { + "2017-08-01-beta": { + "servers": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/operationresults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationstatuses": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ApiManagement": { + "2019-01-01": { + "service": [ + "AzureGov", + "AzureChina" + ], + "validateServiceName": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "reportFeedback": [ + "AzureGov", + "AzureChina" + ], + "checkFeedbackRequired": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Authorization": { + "2018-07-01": { + "roleDefinitions": [ + "AzureGov", + "AzureChina" + ], + "permissions": [ + "AzureGov", + "AzureChina" + ], + "providerOperations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-06-01": { + "classicAdministrators": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-07-01-preview": { + "denyAssignments": [ + "AzureGov" + ] + }, + "2017-04-01": { + "locks": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-05-01": { + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-05-01": { + "policyDefinitions": [ + "AzureGov", + "AzureChina" + ], + "policySetDefinitions": [ + "AzureGov", + "AzureChina" + ], + "policyAssignments": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-01-preview": { + "checkAccess": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Automation": { + "2018-06-30": { + "automationAccounts": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/runbooks": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/configurations": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/webhooks": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/softwareUpdateConfigurations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.AzureStack": { + "2017-06-01": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "registrations": [ + "AzureGov", + "AzureChina" + ], + "registrations/products": [ + "AzureGov", + "AzureChina" + ], + "registrations/customerSubscriptions": [ + "AzureGov" + ] + } + }, + "Microsoft.Batch": { + "2019-04-01": { + "batchAccounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/quotas": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/accountOperationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.BatchAI": { + "2018-03-01": { + "clusters": [ + "AzureGov" + ], + "jobs": [ + "AzureGov" + ], + "fileservers": [ + "AzureGov" + ] + }, + "2018-05-01": { + "workspaces": [ + "AzureGov" + ], + "workspaces/clusters": [ + "AzureGov" + ], + "workspaces/fileservers": [ + "AzureGov" + ], + "workspaces/experiments": [ + "AzureGov" + ], + "workspaces/experiments/jobs": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operationresults": [ + "AzureGov" + ], + "locations/operationstatuses": [ + "AzureGov" + ], + "locations/usages": [ + "AzureGov" + ] + } + }, + "Microsoft.BotService": { + "2018-07-12": { + "botServices": [ + "AzureGov" + ], + "botServices/channels": [ + "AzureGov" + ], + "botServices/connections": [ + "AzureGov" + ], + "listAuthServiceProviders": [ + "AzureGov" + ], + "checkNameAvailability": [ + "AzureGov" + ], + "languages": [ + "AzureGov" + ], + "templates": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ] + } + }, + "Microsoft.Cache": { + "2018-03-01": { + "Redis": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "RedisConfigDefinition": [ + "AzureChina" + ] + } + }, + "Microsoft.CognitiveServices": { + "2017-04-18": { + "accounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkSkuAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Compute": { + "2018-10-01": { + "availabilitySets": [ + "AzureGov", + "AzureChina" + ], + "virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "virtualMachines/extensions": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/extensions": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/vmSizes": [ + "AzureGov", + "AzureChina" + ], + "locations/runCommands": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/systemInfo": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "locations/publishers": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "restorePointCollections": [ + "AzureGov", + "AzureChina" + ], + "restorePointCollections/restorePoints": [ + "AzureGov", + "AzureChina" + ], + "locations/capsoperations": [ + "AzureGov", + "AzureChina" + ], + "galleries": [ + "AzureGov", + "AzureChina" + ], + "galleries/images": [ + "AzureGov", + "AzureChina" + ], + "galleries/images/versions": [ + "AzureGov", + "AzureChina" + ], + "images": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/virtualMachines/networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/publicIPAddresses": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-15-preview": { + "sharedVMImages": [ + "AzureGov", + "AzureChina" + ], + "sharedVMImages/versions": [ + "AzureGov", + "AzureChina" + ], + "locations/artifactPublishers": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-30": { + "disks": [ + "AzureGov", + "AzureChina" + ], + "snapshots": [ + "AzureGov", + "AzureChina" + ], + "locations/diskoperations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Consumption": { + "2018-10-01": { + "CostTags": [ + "AzureGov" + ], + "products": [ + "AzureGov" + ] + }, + "2018-11-01-preview": { + "credits": [ + "AzureGov" + ], + "events": [ + "AzureGov" + ], + "lots": [ + "AzureGov" + ] + } + }, + "Microsoft.ContainerRegistry": { + "2017-10-01": { + "registries": [ + "AzureGov", + "AzureChina" + ], + "registries/importImage": [ + "AzureGov", + "AzureChina" + ], + "registries/replications": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/ping": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/getCallbackConfig": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/listEvents": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "registries/listCredentials": [ + "AzureGov", + "AzureChina" + ], + "registries/regenerateCredential": [ + "AzureGov", + "AzureChina" + ], + "registries/listUsages": [ + "AzureGov", + "AzureChina" + ], + "registries/eventGridFilters": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "swagger": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-03-01": { + "registries/GetCredentials": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-06-27-preview": { + "registries/regenerateCredentials": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.CostManagement": { + "2018-05-31": { + "Reportconfigs": [ + "AzureGov" + ] + } + }, + "Microsoft.DataBox": { + "2018-01-01": { + "jobs": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/validateAddress": [ + "AzureGov" + ], + "locations/expresspods": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/operationresults": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations/serviceHealth": [ + "AzureGov" + ], + "locations/availableSkus": [ + "AzureGov" + ] + } + }, + "Microsoft.DataFactory": { + "2018-06-01": { + "factories": [ + "AzureGov", + "AzureChina" + ], + "factories/integrationRuntimes": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/configureFactoryRepo": [ + "AzureGov", + "AzureChina" + ], + "locations/getFeatureValue": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DataMigration": { + "2018-07-15-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "services": [ + "AzureGov", + "AzureChina" + ], + "services/projects": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationStatuses": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "slots": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DBforMySQL": { + "2017-12-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableServers": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/azureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/performanceTiers": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DBforPostgreSQL": { + "2017-12-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableServers": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/azureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/performanceTiers": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-12-01": { + "locations/securityAlertPoliciesAzureAsyncOperation": [ + "AzureGov" + ], + "locations/securityAlertPoliciesOperationResults": [ + "AzureGov" + ] + } + }, + "Microsoft.Devices": { + "2018-12-01-preview": { + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "usages": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ], + "IotHubs": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DevTestLab": { + "2018-10-15-preview": { + "labs": [ + "AzureGov" + ], + "schedules": [ + "AzureGov" + ], + "labs/virtualMachines": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operations": [ + "AzureGov" + ] + } + }, + "Microsoft.EventHub": { + "2018-01-01-preview": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "clusters": [ + "AzureChina" + ] + }, + "2015-08-01": { + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-04-01": { + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "sku": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Features": { + "2015-12-01": { + "features": [ + "AzureGov", + "AzureChina" + ], + "providers": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ImportExport": { + "2016-11-01": { + "jobs": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "microsoft.insights": { + "2018-05-01-preview": { + "components": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-05-01": { + "webtests": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-04-16": { + "scheduledqueryrules": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01": { + "components/pricingPlans": [ + "AzureGov", + "AzureChina" + ], + "migrateToNewPricingModel": [ + "AzureGov", + "AzureChina" + ], + "rollbackToLegacyPricingModel": [ + "AzureGov", + "AzureChina" + ], + "listMigrationdate": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-03-01": { + "logprofiles": [ + "AzureGov", + "AzureChina" + ], + "alertrules": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-03-01": { + "metricalerts": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-04-01": { + "autoscalesettings": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "eventCategories": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-03-01-preview": { + "eventtypes": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-05-01-preview": { + "diagnosticSettings": [ + "AzureGov", + "AzureChina" + ], + "diagnosticSettingsCategories": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-01-01": { + "metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "metrics": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-07-01": { + "logDefinitions": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-01": { + "actiongroups": [ + "AzureGov", + "AzureChina" + ], + "baseline": [ + "AzureGov" + ], + "calculatebaseline": [ + "AzureGov" + ] + }, + "2017-04-01": { + "activityLogAlerts": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-06-17-preview": { + "workbooks": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-08-01-preview": { + "logs": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.KeyVault": { + "2018-02-14-preview": { + "vaults": [ + "AzureGov", + "AzureChina" + ], + "vaults/secrets": [ + "AzureGov", + "AzureChina" + ], + "vaults/accessPolicies": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "deletedVaults": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/deletedVaults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Logic": { + "2018-07-01-preview": { + "integrationAccounts": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.MarketplaceOrdering": { + "2015-06-01": { + "agreements": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "offertypes": [ + "AzureGov" + ] + } + }, + "Microsoft.Media": { + "2018-07-01": { + "mediaservices": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/assets": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/contentKeyPolicies": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingLocators": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingPolicies": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/transforms": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/transforms/jobs": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingEndpoints": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEvents": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEvents/liveOutputs": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingEndpointOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEventOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveOutputOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/assets/assetFilters": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/accountFilters": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-10-01": { + "checknameavailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Migrate": { + "2018-02-02": { + "projects": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/assessmentOptions": [ + "AzureGov" + ] + } + }, + "Microsoft.Network": { + "2019-02-01": { + "virtualNetworks": [ + "AzureGov", + "AzureChina" + ], + "publicIPAddresses": [ + "AzureGov", + "AzureChina" + ], + "networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "privateEndpoints": [ + "AzureGov", + "AzureChina" + ], + "loadBalancers": [ + "AzureGov", + "AzureChina" + ], + "networkSecurityGroups": [ + "AzureGov", + "AzureChina" + ], + "applicationSecurityGroups": [ + "AzureGov", + "AzureChina" + ], + "serviceEndpointPolicies": [ + "AzureGov", + "AzureChina" + ], + "networkIntentPolicies": [ + "AzureGov", + "AzureChina" + ], + "routeTables": [ + "AzureGov", + "AzureChina" + ], + "publicIPPrefixes": [ + "AzureGov", + "AzureChina" + ], + "ddosCustomPolicies": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers/connectionMonitors": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers/pingMeshes": [ + "AzureGov", + "AzureChina" + ], + "virtualNetworkGateways": [ + "AzureGov", + "AzureChina" + ], + "localNetworkGateways": [ + "AzureGov", + "AzureChina" + ], + "connections": [ + "AzureGov", + "AzureChina" + ], + "applicationGateways": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayWebApplicationFirewallPolicies": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/CheckDnsNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkAvailableEndpointServices": [ + "AzureGov", + "AzureChina" + ], + "locations/availableDelegations": [ + "AzureGov", + "AzureChina" + ], + "locations/serviceTags": [ + "AzureGov", + "AzureChina" + ], + "locations/availablePrivateEndpointResources": [ + "AzureGov", + "AzureChina" + ], + "locations/supportedVirtualMachineSizes": [ + "AzureGov", + "AzureChina" + ], + "locations/checkAcceleratedNetworkingSupport": [ + "AzureGov", + "AzureChina" + ], + "locations/validateResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "locations/setResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "locations/effectiveResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "expressRouteCircuits": [ + "AzureGov", + "AzureChina" + ], + "expressRouteCrossConnections": [ + "AzureGov", + "AzureChina" + ], + "expressRouteServiceProviders": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableWafRuleSets": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableSslOptions": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableServerVariables": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableRequestHeaders": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableResponseHeaders": [ + "AzureGov", + "AzureChina" + ], + "routeFilters": [ + "AzureGov", + "AzureChina" + ], + "bgpServiceCommunities": [ + "AzureGov", + "AzureChina" + ], + "azureFirewalls": [ + "AzureGov", + "AzureChina" + ], + "azureFirewallFqdnTags": [ + "AzureGov", + "AzureChina" + ], + "virtualNetworkTaps": [ + "AzureGov", + "AzureChina" + ], + "privateLinkServices": [ + "AzureGov", + "AzureChina" + ], + "ddosProtectionPlans": [ + "AzureGov", + "AzureChina" + ], + "networkProfiles": [ + "AzureGov", + "AzureChina" + ], + "locations/bareMetalTenants": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-05-01": { + "dnszones": [ + "AzureGov", + "AzureChina" + ], + "dnsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "dnsOperationStatuses": [ + "AzureGov", + "AzureChina" + ], + "getDnsResourceReference": [ + "AzureGov", + "AzureChina" + ], + "internalNotify": [ + "AzureGov", + "AzureChina" + ], + "dnszones/A": [ + "AzureGov", + "AzureChina" + ], + "dnszones/AAAA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/CNAME": [ + "AzureGov", + "AzureChina" + ], + "dnszones/PTR": [ + "AzureGov", + "AzureChina" + ], + "dnszones/MX": [ + "AzureGov", + "AzureChina" + ], + "dnszones/TXT": [ + "AzureGov", + "AzureChina" + ], + "dnszones/SRV": [ + "AzureGov", + "AzureChina" + ], + "dnszones/SOA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/NS": [ + "AzureGov", + "AzureChina" + ], + "dnszones/CAA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/recordsets": [ + "AzureGov", + "AzureChina" + ], + "dnszones/all": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-08-01": { + "trafficmanagerprofiles": [ + "AzureGov", + "AzureChina" + ], + "checkTrafficManagerNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "trafficManagerGeographicHierarchies": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.NotificationHubs": { + "2017-04-01": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "namespaces/notificationHubs": [ + "AzureGov", + "AzureChina" + ], + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-03-01": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.OperationalInsights": { + "2015-03-20": { + "linkTargets": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.OperationsManagement": { + "2015-11-01-preview": { + "solutions": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-08-21-preview": { + "views": [ + "AzureChina" + ] + } + }, + "Microsoft.PolicyInsights": { + "2018-04-04": { + "policyEvents": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-07-01-preview": { + "policyStates": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "asyncOperationResults": [ + "AzureGov", + "AzureChina" + ], + "remediations": [ + "AzureGov", + "AzureChina" + ], + "policyTrackedResources": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Portal": { + "2018-10-01-preview": { + "dashboards": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-08-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.PowerBI": { + "2016-01-29": { + "workspaceCollections": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.PowerBIDedicated": { + "2017-10-01": { + "capacities": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/operationresults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationstatuses": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-01-01-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.RecoveryServices": { + "2016-08-10": { + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-06-01": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/backupStatus": [ + "AzureGov", + "AzureChina" + ], + "locations/allocatedStamp": [ + "AzureGov", + "AzureChina" + ], + "locations/allocateStamp": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-01-10": { + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-07-01": { + "locations/backupValidateFeatures": [ + "AzureGov", + "AzureChina" + ], + "locations/backupPreValidateProtection": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Relay": { + "2017-04-01": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ResourceHealth": { + "2017-07-01": { + "availabilityStatuses": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-01-01": { + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Resources": { + "2016-09-01": { + "tenants": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "providers": [ + "AzureGov", + "AzureChina" + ], + "checkresourcename": [ + "AzureGov", + "AzureChina" + ], + "resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/providers": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/operationresults": [ + "AzureGov", + "AzureChina" + ], + "resourceGroups": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resourceGroups": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resourcegroups/resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/locations": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/tagnames": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/tagNames/tagValues": [ + "AzureGov", + "AzureChina" + ], + "deployments": [ + "AzureGov", + "AzureChina" + ], + "deployments/operations": [ + "AzureGov", + "AzureChina" + ], + "links": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Scheduler": { + "2016-03-01": { + "jobcollections": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Search": { + "2015-08-19": { + "searchServices": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "resourceHealthMetadata": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-02-28": { + "checkServiceNameAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ServiceBus": { + "2018-01-01-preview": { + "namespaces": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-04-01": { + "namespaces/authorizationrules": [ + "AzureGov" + ], + "namespaces/queues": [ + "AzureGov" + ], + "namespaces/queues/authorizationrules": [ + "AzureGov" + ], + "namespaces/topics": [ + "AzureGov" + ], + "namespaces/topics/authorizationrules": [ + "AzureGov" + ], + "namespaces/topics/subscriptions": [ + "AzureGov" + ], + "namespaces/topics/subscriptions/rules": [ + "AzureGov" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "sku": [ + "AzureGov", + "AzureChina" + ], + "premiumMessagingRegions": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-08-01": { + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ServiceFabric": { + "2018-02-01": { + "clusters": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/clusterVersions": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Solutions": { + "2018-09-01-preview": { + "applications": [ + "AzureGov" + ], + "applicationDefinitions": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operationstatuses": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ] + } + }, + "Microsoft.Sql": { + "2017-03-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/backupLongTermRetentionPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/automaticTuning": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/automaticTuning": [ + "AzureGov", + "AzureChina" + ], + "servers/securityAlertPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/extendedAuditingSettings": [ + "AzureGov", + "AzureChina" + ], + "locations/extendedAuditingSettingsAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/extendedAuditingSettingsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents": [ + "AzureGov", + "AzureChina" + ], + "locations/jobAgentOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/jobAgentAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs/steps": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs/executions": [ + "AzureGov", + "AzureChina" + ], + "servers/dnsAliases": [ + "AzureGov", + "AzureChina" + ], + "locations/dnsAliasAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/dnsAliasOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseRestoreAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessment": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/administrators": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/databases": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseRestoreAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseRestoreOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedServerSecurityAlertPoliciesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedServerSecurityAlertPoliciesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/securityAlertPoliciesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/securityAlertPoliciesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/administratorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/administratorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionServers": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackups": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedShortTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedShortTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ] + }, + "2014-04-01-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "servers/serviceObjectives": [ + "AzureGov", + "AzureChina" + ], + "servers/communicationLinks": [ + "AzureGov" + ], + "servers/administrators": [ + "AzureGov", + "AzureChina" + ], + "servers/administratorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/restorableDroppedDatabases": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableDatabases": [ + "AzureGov", + "AzureChina" + ], + "servers/import": [ + "AzureGov", + "AzureChina" + ], + "servers/importExportOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/operationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/databaseSecurityPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/auditingPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/recommendedElasticPools": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/auditingPolicies": [ + "AzureGov" + ], + "servers/databases/connectionPolicies": [ + "AzureGov" + ], + "servers/connectionPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/dataMaskingPolicies": [ + "AzureGov" + ], + "servers/databases/dataMaskingPolicies/rules": [ + "AzureGov" + ], + "servers/disasterRecoveryConfiguration": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/metrics": [ + "AzureGov", + "AzureChina" + ], + "servers/aggregatedDatabaseMetrics": [ + "AzureGov" + ], + "servers/elasticpools/metrics": [ + "AzureGov" + ], + "servers/elasticpools/metricdefinitions": [ + "AzureGov" + ], + "servers/databases/topQueries": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/topQueries/queryText": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/extensions": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-06-01-preview": { + "locations/capabilities": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/serverKeyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverKeyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/keys": [ + "AzureGov", + "AzureChina" + ], + "servers/encryptionProtector": [ + "AzureGov", + "AzureChina" + ], + "locations/encryptionProtectorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/encryptionProtectorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/databases": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/transparentDataEncryption": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/securityAlertPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceOperationResults": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01-preview": { + "locations/managedInstanceKeyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceKeyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceEncryptionProtectorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceEncryptionProtectorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/tdeCertificates": [ + "AzureGov", + "AzureChina" + ], + "locations/tdeCertAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/tdeCertOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/elasticPoolAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/elasticPoolOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticpools": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/databases/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "locations/vulnerabilityAssessmentScanAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/vulnerabilityAssessmentScanOperationResults": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/recoverableDatabases": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/metrics": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/tdeCertificates": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceTdeCertAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceTdeCertOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/shortTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/shortTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroups": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroupOperationResults": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-05-01-preview": { + "servers/databases/geoBackupPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/failoverGroups": [ + "AzureGov", + "AzureChina" + ], + "locations/failoverGroupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/failoverGroupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkRulesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkRulesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnetsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnetsAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticPools/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticPoolEstimates": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/auditRecords": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessmentScans": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessmentSettings": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/syncGroups": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/syncGroups/syncMembers": [ + "AzureGov", + "AzureChina" + ], + "servers/syncAgents": [ + "AzureGov", + "AzureChina" + ], + "virtualClusters": [ + "AzureGov", + "AzureChina" + ], + "locations/syncGroupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncMemberOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncAgentOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncDatabaseIds": [ + "AzureGov", + "AzureChina" + ], + "locations/firewallRulesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/firewallRulesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Storage": { + "2019-04-01": { + "storageAccounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations/asyncoperations": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/listAccountSas": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/listServiceSas": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/blobServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/tableServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/queueServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/fileServices": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "usages": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.StorageSync": { + "2019-02-01": { + "storageSyncServices": [ + "AzureGov" + ], + "storageSyncServices/syncGroups": [ + "AzureGov" + ], + "storageSyncServices/syncGroups/cloudEndpoints": [ + "AzureGov" + ], + "storageSyncServices/syncGroups/serverEndpoints": [ + "AzureGov" + ], + "storageSyncServices/registeredServers": [ + "AzureGov" + ], + "storageSyncServices/workflows": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/workflows": [ + "AzureGov" + ] + } + }, + "Microsoft.Web": { + "2018-02-01": { + "publishingUsers": [ + "AzureGov", + "AzureChina" + ], + "ishostnameavailable": [ + "AzureGov", + "AzureChina" + ], + "isusernameavailable": [ + "AzureGov", + "AzureChina" + ], + "sourceControls": [ + "AzureGov", + "AzureChina" + ], + "availableStacks": [ + "AzureGov", + "AzureChina" + ], + "listSitesAssignedToHostName": [ + "AzureGov", + "AzureChina" + ], + "sites/hostNameBindings": [ + "AzureGov", + "AzureChina" + ], + "sites/slots/hostNameBindings": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "serverFarms": [ + "AzureGov", + "AzureChina" + ], + "runtimes": [ + "AzureGov", + "AzureChina" + ], + "georegions": [ + "AzureGov", + "AzureChina" + ], + "sites/premieraddons": [ + "AzureGov", + "AzureChina" + ], + "deploymentLocations": [ + "AzureGov", + "AzureChina" + ], + "ishostingenvironmentnameavailable": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "billingMeters": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments/multiRolePools": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments/workerPools": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-07-01-preview": { + "connections": [ + "AzureGov", + "AzureChina" + ], + "customApis": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/managedApis": [ + "AzureGov", + "AzureChina" + ], + "locations/apiOperations": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-03-01-preview": { + "locations/listWsdlInterfaces": [ + "AzureGov", + "AzureChina" + ], + "locations/extractApiDefinitionFromWsdl": [ + "AzureGov", + "AzureChina" + ], + "locations/runtimes": [ + "AzureGov" + ], + "connectionGateways": [ + "AzureGov", + "AzureChina" + ], + "locations/connectionGatewayInstallations": [ + "AzureGov", + "AzureChina" + ] + } + } + } + } +} \ No newline at end of file From 94ba84bfedf09f1543653987ba79ba969405716e Mon Sep 17 00:00:00 2001 From: Nithin MadhavanPillai <33466579+nithinpnp@users.noreply.github.com> Date: Mon, 17 Jun 2019 21:04:54 -0700 Subject: [PATCH 061/495] Nithin/action group webhooks with azure active directory integration (#6218) * updating the swagger doc for action webhook recivers with azure active directory integration * 1)fixed the api version 2)updated with emoty array when no recievers are in the response * fixing the read me with references to 2019-06-01 version --- .../stable/2019-06-01/actionGroups_API.json | 879 ++++++++++++++++++ .../examples/createOrUpdateActionGroup.json | 345 +++++++ .../examples/deleteActionGroup.json | 18 + .../2019-06-01/examples/enableReceiver.json | 21 + .../2019-06-01/examples/getActionGroup.json | 75 ++ .../2019-06-01/examples/listActionGroups.json | 113 +++ .../2019-06-01/examples/patchActionGroup.json | 81 ++ .../monitor/resource-manager/readme.go.md | 10 + .../monitor/resource-manager/readme.md | 33 +- 9 files changed, 1574 insertions(+), 1 deletion(-) create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json create mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json new file mode 100644 index 000000000000..02911328fec6 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json @@ -0,0 +1,879 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" + }, + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" + }, + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + } + }, + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" + } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" + } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" + }, + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." + }, + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." + }, + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." + }, + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + }, + "voiceReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceReceiver" + }, + "description": "The list of voice receivers that are part of this action group." + }, + "logicAppReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/LogicAppReceiver" + }, + "description": "The list of logic app receivers that are part of this action group." + }, + "azureFunctionReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFunctionReceiver" + }, + "description": "The list of azure function receivers that are part of this action group." + }, + "armRoleReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ArmRoleReceiver" + }, + "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." + } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress", + "useCommonAlertSchema" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + }, + "useAadAuth": { + "type": "boolean", + "default": false, + "description": "Indicates whether or not use AAD authentication." + }, + "objectId": { + "type": "string", + "description": "Indicates the webhook app object Id for aad auth." + }, + "identifierUri": { + "type": "string", + "description": "Indicates the identifier uri for aad auth." + }, + "tenantId": { + "type": "string", + "description": "Indicates the tenant id for aad auth." + } + }, + "required": [ + "name", + "serviceUri", + "useCommonAlertSchema" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" + } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook", + "useCommonAlertSchema" + ] + }, + "VoiceReceiver": { + "description": "A voice receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the voice receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the voice receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "LogicAppReceiver": { + "description": "A logic app receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." + }, + "resourceId": { + "type": "string", + "description": "The azure resource id of the logic app receiver." + }, + "callbackUrl": { + "type": "string", + "description": "The callback url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "resourceId", + "callbackUrl", + "useCommonAlertSchema" + ] + }, + "AzureFunctionReceiver": { + "description": "An azure function receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." + }, + "functionAppResourceId": { + "type": "string", + "description": "The azure resource id of the function app." + }, + "functionName": { + "type": "string", + "description": "The function name in the function app." + }, + "httpTriggerUrl": { + "type": "string", + "description": "The http trigger url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "functionAppResourceId", + "functionName", + "httpTriggerUrl", + "useCommonAlertSchema" + ] + }, + "ArmRoleReceiver": { + "description": "An arm role receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." + }, + "roleId": { + "type": "string", + "description": "The arm role id." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "roleId", + "useCommonAlertSchema" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json new file mode 100644 index 000000000000..09c03d9fbefe --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json @@ -0,0 +1,345 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers":[ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers":[ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers":[ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers":[ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] + } + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json new file mode 100644 index 000000000000..cf6a41e900f8 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null + }, + "204": { + "headers": {}, + "body": null + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json new file mode 100644 index 000000000000..6a0c9b03eb07 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null + }, + "409": { + "headers": {}, + "body": null + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json new file mode 100644 index 000000000000..63ab4b532e2a --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers":[], + "azureAppPushReceivers":[], + "automationRunbookReceivers":[], + "voiceReceivers":[], + "logicAppReceivers":[], + "azureFunctionReceivers":[], + "armRoleReceivers":[] + } + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json new file mode 100644 index 000000000000..07be8f8e68bf --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers":[], + "azureAppPushReceivers":[], + "automationRunbookReceivers":[], + "voiceReceivers":[], + "logicAppReceivers":[], + "azureFunctionReceivers":[], + "armRoleReceivers":[] + } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [], + "itsmReceivers":[], + "azureAppPushReceivers":[], + "automationRunbookReceivers":[], + "voiceReceivers":[], + "logicAppReceivers":[], + "azureFunctionReceivers":[], + "armRoleReceivers":[] + } + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json new file mode 100644 index 000000000000..2becbca561eb --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "actionGroupPatch": { + "tags": { "key1": "value1", "key2": "value2" }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": { }, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { "key1": "value1", "key2": "value2" }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers":[ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers":[ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers":[], + "azureAppPushReceivers":[], + "automationRunbookReceivers":[], + "voiceReceivers":[], + "logicAppReceivers":[], + "azureFunctionReceivers":[], + "armRoleReceivers":[] + } + } + } + } +} diff --git a/specification/monitor/resource-manager/readme.go.md b/specification/monitor/resource-manager/readme.go.md index 02fad6d8193b..25cac5bb818a 100644 --- a/specification/monitor/resource-manager/readme.go.md +++ b/specification/monitor/resource-manager/readme.go.md @@ -18,6 +18,7 @@ batch: - tag: package-2018-09 - tag: package-2018-11-preview - tag: package-2019-03 + - tag: package-2019-06 ``` ### Tag: package-2017-09 and go @@ -64,3 +65,12 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(go) +output-folder: $(go-sdk-folder)/services/preview/monitor/mgmt/2019-06-01/$(namespace) +``` diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 9debf04da650..855d4c4e0ec3 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -28,9 +28,40 @@ These are the global settings for the MonitorClient API. title: MonitorClient description: Monitor Management Client openapi-type: arm -tag: package-2019-03 +tag: package-2019-06 ``` + +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: +- Microsoft.Insights/stable/2015-04-01/autoscale_API.json +- Microsoft.Insights/stable/2015-04-01/operations_API.json +- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json +- Microsoft.Insights/stable/2016-03-01/alertRules_API.json +- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json +- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json +- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json +- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json +- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json +- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json +- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json +- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json +- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json +- Microsoft.Insights/stable/2018-01-01/metrics_API.json +- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json +- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json +- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json +- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json +- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json +- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json +- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +``` + + ### Tag: package-2019-03 These settings apply only when `--tag=package-2019-03` is specified on the command line. From 98e3e618e900061c9c69e249c3d18ba35174e9f9 Mon Sep 17 00:00:00 2001 From: shleiAmy <50385461+shleiAmy@users.noreply.github.com> Date: Tue, 18 Jun 2019 08:08:49 -0700 Subject: [PATCH 062/495] Update attestation.json (#6374) --- .../2018-09-01-preview/attestation.json | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json index 5f71dd991b87..e5b630c58f63 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json @@ -354,13 +354,12 @@ "description": "Attestation service response message.", "required": [ "properties" - ], + ], "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } ], - "x-ms-azure-resource": true, "properties": { "properties": { "type": "object", @@ -467,27 +466,6 @@ "description":"Name of attestation policy." } } - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The id of the ARM resource, e.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\"" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the attestation service." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Microsoft.Attestation/attestationProviders" - } - }, - "description": "Attestation resource", - "x-ms-azure-resource": true } }, "parameters": { From e280b0a088439ed82a46e3b470d8da487de51037 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 18 Jun 2019 09:33:42 -0700 Subject: [PATCH 063/495] add alertsmanagement package-preview-2019-05 to Go SDK (#6370) --- .../alertsmanagement/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/alertsmanagement/resource-manager/readme.go.md b/specification/alertsmanagement/resource-manager/readme.go.md index 15f8da2cd650..b6a1cd3fb8e0 100644 --- a/specification/alertsmanagement/resource-manager/readme.go.md +++ b/specification/alertsmanagement/resource-manager/readme.go.md @@ -12,9 +12,19 @@ go: ### Go multi-api ``` yaml $(go) && $(multiapi) batch: + - tag: package-preview-2019-05 - tag: package-2018-05 ``` +### Tag: package-preview-2019-05 and go + +These settings apply only when `--tag=package-preview-2019-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-preview-2019-05' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-05-05/$(namespace) +``` + ### Tag: package-2018-05 and go These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. From 585a914415fa4ac87ebd2557d7e3e4530a40846d Mon Sep 17 00:00:00 2001 From: mahakjain314 <50352900+mahakjain314@users.noreply.github.com> Date: Tue, 18 Jun 2019 23:56:37 +0530 Subject: [PATCH 064/495] Update alert and smart group operations in 2019-05-05-preview (#6326) * Updated swagger spec for stable/2018-05-05 version * Updated the examples * Revert "Updated the examples" This reverts commit a7c53cb9b95098a6fd921e44494ddcd8f69ad112. * Updated examples to remove nextLink from model * Revert "Updated examples to remove nextLink from model" This reverts commit fc4ed9042975f674f6b60f98db04e5312fdc3447. * Revert "Updated swagger spec for stable/2018-05-05 version" This reverts commit b573ed78d48ee57c91d5fd001ff8ea70500b3fca. * Made smart group list pageable and removed x-ms-external extension * Updated the preview-2019-05-05 with fixes for Alerts and SmartGroups APIs * Fixed smart group and alert operations in 2019-05-05-preview version * Updated examples to fix ModelValidation failure * Updated action rule examples to fix scopeType property name * Fixed action rule type property name * Resolve PR comments --- .../2019-05-05-preview/AlertsManagement.json | 753 +++++++++--------- .../ActionRules_Create_SuppressionRule.json | 4 +- .../examples/ActionRules_GetById.json | 4 +- .../ActionRules_List_ResourceGroup.json | 6 +- .../ActionRules_List_Subscription.json | 6 +- .../examples/ActionRules_Patch.json | 2 +- .../examples/Alerts_ChangeState.json | 39 +- .../examples/Alerts_GetById.json | 39 +- .../examples/Alerts_History.json | 2 +- .../examples/Alerts_List.json | 80 +- .../examples/Alerts_Summary.json | 167 ++-- .../examples/SmartGroups_ChangeState.json | 2 +- .../examples/SmartGroups_GetById.json | 2 +- .../examples/SmartGroups_History.json | 2 +- .../examples/SmartGroups_List.json | 2 +- 15 files changed, 561 insertions(+), 549 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index 942bded696eb..ed82beeed9b4 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -3,7 +3,7 @@ "info": { "version": "2019-05-05-preview", "title": "Azure Alerts Management Service Resource Provider", - "description": "REST APIs for Azure Alerts Management Service." + "description": "Azure Alerts Management Service provides a single pane of glass of alerts across Azure Monitor." }, "host": "management.azure.com", "schemes": [ @@ -43,7 +43,7 @@ "200": { "description": "OK. Successfully retrieved operations list.", "schema": { - "$ref": "#/definitions/OperationsList" + "$ref": "#/definitions/operationsList" } } }, @@ -55,7 +55,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts": { "get": { "operationId": "Alerts_GetAll", - "description": "List all the existing alerts, where the results can be selective by passing multiple filter parameters including time range and sorted on specific fields. ", + "description": "List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime. ", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -64,10 +64,10 @@ "$ref": "#/parameters/targetResource" }, { - "$ref": "#/parameters/targetResourceGroup" + "$ref": "#/parameters/targetResourceType" }, { - "$ref": "#/parameters/targetResourceType" + "$ref": "#/parameters/targetResourceGroup" }, { "$ref": "#/parameters/monitorService" @@ -81,11 +81,17 @@ { "$ref": "#/parameters/alertState" }, + { + "$ref": "#/parameters/alertRule" + }, { "$ref": "#/parameters/smartGroupIdFilter" }, { - "$ref": "#/parameters/includePayload" + "$ref": "#/parameters/includeContext" + }, + { + "$ref": "#/parameters/includeEgressConfig" }, { "$ref": "#/parameters/pageCount" @@ -96,9 +102,15 @@ { "$ref": "#/parameters/sortOrder" }, + { + "$ref": "#/parameters/select" + }, { "$ref": "#/parameters/timeRange" }, + { + "$ref": "#/parameters/customTimeRange" + }, { "$ref": "#/parameters/api-version" } @@ -110,13 +122,13 @@ "200": { "description": "OK. Successfully listed alert objects.", "schema": { - "$ref": "#/definitions/AlertsList" + "$ref": "#/definitions/alertsList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -153,13 +165,13 @@ "200": { "description": "OK. Returns the alert with the specified ID.", "schema": { - "$ref": "#/definitions/Alert" + "$ref": "#/definitions/alert" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -173,7 +185,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate": { "post": { "operationId": "Alerts_ChangeState", - "description": "Change the state of the alert.", + "description": "Change the state of an alert.", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -192,13 +204,13 @@ "200": { "description": "OK. Alert state updated.", "schema": { - "$ref": "#/definitions/Alert" + "$ref": "#/definitions/alert" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -212,7 +224,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history": { "get": { "operationId": "Alerts_GetHistory", - "description": "Get the history of the changes of an alert.", + "description": "Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -226,15 +238,15 @@ ], "responses": { "200": { - "description": "OK. Returns the list of changes of alert.", + "description": "OK. Returns the history of the specified alert.", "schema": { - "$ref": "#/definitions/AlertModification" + "$ref": "#/definitions/alertModification" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -248,32 +260,62 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary": { "get": { "operationId": "Alerts_GetSummary", - "description": "Summary of alerts with the count each severity.", + "description": "Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).", "parameters": [ { "$ref": "#/parameters/subscriptionId" }, + { + "$ref": "#/parameters/alertsSummaryGroupBy" + }, + { + "$ref": "#/parameters/includeSmartGroupsCount" + }, + { + "$ref": "#/parameters/targetResource" + }, + { + "$ref": "#/parameters/targetResourceType" + }, { "$ref": "#/parameters/targetResourceGroup" }, + { + "$ref": "#/parameters/monitorService" + }, + { + "$ref": "#/parameters/monitorCondition" + }, + { + "$ref": "#/parameters/severity" + }, + { + "$ref": "#/parameters/alertState" + }, + { + "$ref": "#/parameters/alertRule" + }, { "$ref": "#/parameters/timeRange" }, + { + "$ref": "#/parameters/customTimeRange" + }, { "$ref": "#/parameters/api-version" } ], "responses": { "200": { - "description": "OK. Alert state updated.", + "description": "OK. Alert summary returned.", "schema": { - "$ref": "#/definitions/AlertsSummary" + "$ref": "#/definitions/alertsSummary" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -287,8 +329,8 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups": { "get": { "operationId": "SmartGroups_GetAll", - "summary": "Get all smartGroups within the subscription", - "description": "List all the smartGroups within the specified subscription. ", + "summary": "Get all Smart Groups within a specified subscription", + "description": "List all the Smart Groups within a specified subscription. ", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -337,15 +379,19 @@ "200": { "description": "OK. Returns list of all smartGroups.", "schema": { - "$ref": "#/definitions/SmartGroupsList" + "$ref": "#/definitions/smartGroupsList", + "description": "List of smart groups in value property." } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" }, "x-ms-examples": { "List": { @@ -357,8 +403,8 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}": { "get": { "operationId": "SmartGroups_GetById", - "summary": "Get information of smart alerts group.", - "description": "Get details of smart group.", + "summary": "Get information related to a specific Smart Group.", + "description": "Get information related to a specific Smart Group.", "produces": [ "application/json" ], @@ -383,13 +429,13 @@ } }, "schema": { - "$ref": "#/definitions/SmartGroup" + "$ref": "#/definitions/smartGroup" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -403,7 +449,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState": { "post": { "operationId": "SmartGroups_ChangeState", - "description": "Change the state from unresolved to resolved and all the alerts within the smart group will also be resolved.", + "description": "Change the state of a Smart Group.", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -420,7 +466,7 @@ ], "responses": { "200": { - "description": "OK. Alert state updated.", + "description": "OK. Smart Group state updated.", "headers": { "x-ms-request-id": { "type": "string", @@ -428,13 +474,13 @@ } }, "schema": { - "$ref": "#/definitions/SmartGroup" + "$ref": "#/definitions/smartGroup" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -448,7 +494,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history": { "get": { "operationId": "SmartGroups_GetHistory", - "description": "Get the history of the changes of smart group.", + "description": "Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .", "parameters": [ { "$ref": "#/parameters/subscriptionId" @@ -464,13 +510,13 @@ "200": { "description": "OK. Returns the list of changes of smart group.", "schema": { - "$ref": "#/definitions/SmartGroupModification" + "$ref": "#/definitions/smartGroupModification" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -519,6 +565,9 @@ }, { "$ref": "#/parameters/actionRuleName" + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -537,7 +586,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -592,6 +641,9 @@ }, { "$ref": "#/parameters/actionRuleName" + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -610,7 +662,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -642,6 +694,9 @@ "description": "The name of action rule that needs to be fetched", "required": true, "type": "string" + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -660,7 +715,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -696,6 +751,9 @@ "schema": { "$ref": "#/definitions/ActionRule" } + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -714,7 +772,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -741,6 +799,9 @@ "description": "The name that needs to be deleted", "required": true, "type": "string" + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -759,7 +820,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -795,6 +856,9 @@ "$ref": "#/definitions/PatchObject" }, "description": "Parameters supplied to the operation." + }, + { + "$ref": "#/parameters/api-version" } ], "responses": { @@ -813,7 +877,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/errorResponse" } } }, @@ -828,7 +892,7 @@ "parameters": { "subscriptionId": { "name": "subscriptionId", - "description": "subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "type": "string", "in": "path", "required": true @@ -848,8 +912,7 @@ "in": "query", "required": true, "enum": [ - "2019-05-05-preview", - "2018-05-05" + "2019-05-05-preview" ], "x-ms-enum": { "name": "api-version", @@ -858,14 +921,14 @@ }, "alertId": { "name": "alertId", - "description": "Unique ID of an alert object.", + "description": "Unique ID of an alert instance.", "type": "string", "in": "path", "required": true, "x-ms-parameter-location": "method" }, "targetResourceGroup": { - "description": "filter by target resource group name", + "description": "Filter by target resource group name. Default value is select all.", "name": "targetResourceGroup", "type": "string", "in": "query", @@ -873,7 +936,7 @@ "x-ms-parameter-location": "method" }, "targetResource": { - "description": "filter by target resource", + "description": "Filter by target resource( which is full ARM ID) Default value is select all.", "name": "targetResource", "type": "string", "in": "query", @@ -881,7 +944,7 @@ "x-ms-parameter-location": "method" }, "targetResourceType": { - "description": "filter by target resource type", + "description": "Filter by target resource type. Default value is select all.", "name": "targetResourceType", "type": "string", "in": "query", @@ -889,27 +952,27 @@ "x-ms-parameter-location": "method" }, "monitorService": { - "description": "filter by monitor service which is the source of the alert object.", + "description": "Filter by monitor service which generates the alert instance. Default value is select all.", "name": "monitorService", "type": "string", "in": "query", "required": false, "x-ms-parameter-location": "method", "enum": [ - "Platform", "Application Insights", - "Log Analytics", - "Zabbix", - "SCOM", - "Nagios", - "Infrastructure Insights", "ActivityLog Administrative", "ActivityLog Security", "ActivityLog Recommendation", "ActivityLog Policy", "ActivityLog Autoscale", + "Log Analytics", + "Nagios", + "Platform", + "SCOM", "ServiceHealth", - "SmartDetector" + "SmartDetector", + "VM Insights", + "Zabbix" ], "x-ms-enum": { "name": "MonitorService", @@ -917,7 +980,7 @@ } }, "severity": { - "description": "filter by severity", + "description": "Filter by severity. Default value is select all.", "name": "severity", "type": "string", "in": "query", @@ -936,63 +999,23 @@ } }, "smartGroupIdFilter": { - "description": "filter by smart Group Id", + "description": "Filter the alerts list by the Smart Group Id. Default value is none.", "name": "smartGroupId", "type": "string", "in": "query", "required": false, "x-ms-parameter-location": "method" }, - "description": { - "description": "filter by alert rule description", - "name": "description", - "type": "string", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, - "alertRuleId": { - "description": "filter by alert rule id", - "name": "alertRuleId", - "type": "string", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, - "actionGroup": { - "description": "filter by action group configured as part of action rule", - "name": "actionGroup", - "type": "string", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, - "actionRuleName": { - "description": "filter by action rule name", - "name": "name", - "type": "string", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, "smartGroupId": { - "description": "Smart Group Id", + "description": "Smart group unique id. ", "name": "smartGroupId", "type": "string", "in": "path", "required": true, "x-ms-parameter-location": "method" }, - "impactedScope": { - "description": "filter by impacted/target scope (provide comma separated list for multiple scopes). The value should be an well constructed ARM id of the scope.", - "name": "impactedScope", - "type": "string", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, "newState": { - "description": "filter by state", + "description": "New state of the alert.", "name": "newState", "type": "string", "in": "query", @@ -1009,7 +1032,7 @@ } }, "alertState": { - "description": "filter by state", + "description": "Filter by state of the alert instance. Default value is to select all.", "name": "alertState", "type": "string", "in": "query", @@ -1026,7 +1049,7 @@ } }, "smartGroupState": { - "description": "filter by state", + "description": "Filter by state of the smart group. Default value is to select all.", "name": "smartGroupState", "type": "string", "in": "query", @@ -1043,7 +1066,7 @@ } }, "monitorCondition": { - "description": "filter by monitor condition which is the state of the alert at monitor service", + "description": "Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.", "name": "monitorCondition", "type": "string", "in": "query", @@ -1058,8 +1081,16 @@ "modelAsString": true } }, + "alertRule": { + "description": "Filter by specific alert rule. Default value is to select all.", + "name": "alertRule", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, "timeRange": { - "description": "filter by time range, default value is 1 day", + "description": "Filter by time range by below listed values. Default value is 1 day.", "name": "timeRange", "type": "string", "in": "query", @@ -1076,16 +1107,40 @@ "modelAsString": true } }, - "includePayload": { - "description": "include payload field content, default value is 'false'.", - "name": "includePayload", + "customTimeRange": { + "description": "Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.", + "name": "customTimeRange", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "includeContext": { + "description": "Include context which has contextual data specific to the monitor service. Default value is false'", + "name": "includeContext", + "type": "boolean", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "includeEgressConfig": { + "description": "Include egress config which would be used for displaying the content in portal. Default value is 'false'.", + "name": "includeEgressConfig", + "type": "boolean", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "includeSmartGroupsCount": { + "description": "Include count of the SmartGroups as part of the summary. Default value is 'false'.", + "name": "includeSmartGroupsCount", "type": "boolean", "in": "query", "required": false, "x-ms-parameter-location": "method" }, "pageCount": { - "description": "number of items per page, default value is '25'.", + "description": "Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the \"includeContent\" filter is selected, maximum value allowed is 25. Default value is 25.", "name": "pageCount", "type": "integer", "in": "query", @@ -1093,7 +1148,7 @@ "x-ms-parameter-location": "method" }, "alertsSortBy": { - "description": "sort the query results by input field, default value is 'lastModifiedDateTime'.", + "description": "Sort the query results by input field, Default value is 'lastModifiedDateTime'.", "name": "sortBy", "type": "string", "in": "query", @@ -1116,8 +1171,28 @@ "modelAsString": true } }, + "alertsSummaryGroupBy": { + "description": "This parameter allows the result set to be grouped by input fields (Maximum 2 comma separated fields supported). For example, groupby=severity or groupby=severity,alertstate.", + "name": "groupby", + "type": "string", + "in": "query", + "required": true, + "x-ms-parameter-location": "method", + "enum": [ + "severity", + "alertState", + "monitorCondition", + "monitorService", + "signalType", + "alertRule" + ], + "x-ms-enum": { + "name": "AlertsSummaryGroupByFields", + "modelAsString": true + } + }, "smartGroupsSortBy": { - "description": "sort the query results by input field, default value is 'lastModifiedDateTime'.", + "description": "Sort the query results by input field. Default value is sort by 'lastModifiedDateTime'.", "name": "sortBy", "type": "string", "in": "query", @@ -1136,7 +1211,7 @@ } }, "sortOrder": { - "description": "sort the query results order in either ascending or descending, default value is 'desc' for time fields and 'asc' for others.", + "description": "Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.", "name": "sortOrder", "type": "string", "in": "query", @@ -1146,10 +1221,58 @@ "asc", "desc" ] + }, + "select": { + "description": "This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.", + "name": "select", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "description": { + "description": "filter by alert rule description", + "name": "description", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "alertRuleId": { + "description": "filter by alert rule id", + "name": "alertRuleId", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "actionGroup": { + "description": "filter by action group configured as part of action rule", + "name": "actionGroup", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "actionRuleName": { + "description": "filter by action rule name", + "name": "name", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "impactedScope": { + "description": "filter by impacted/target scope (provide comma separated list for multiple scopes). The value should be an well constructed ARM id of the scope.", + "name": "impactedScope", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" } }, "definitions": { - "Operation": { + "operation": { "description": "Operation provided by provider", "properties": { "name": { @@ -1180,7 +1303,7 @@ } } }, - "OperationsList": { + "operationsList": { "description": "Lists the operations available in the AlertsManagement RP.", "properties": { "nextLink": { @@ -1191,7 +1314,7 @@ "description": "Array of operations", "type": "array", "items": { - "$ref": "#/definitions/Operation" + "$ref": "#/definitions/operation" } } }, @@ -1199,18 +1322,16 @@ "value" ] }, - "ErrorResponse": { + "errorResponse": { "description": "An error response from the service.", - "x-ms-external": true, "properties": { "error": { - "$ref": "#/definitions/ErrorResponseBody" + "$ref": "#/definitions/errorResponseBody" } } }, - "ErrorResponseBody": { + "errorResponseBody": { "description": "Details of error response.", - "x-ms-external": true, "properties": { "code": { "type": "string", @@ -1228,7 +1349,7 @@ "type": "array", "description": "A list of additional details about the error.", "items": { - "$ref": "#/definitions/ErrorResponseBody" + "$ref": "#/definitions/errorResponseBody" } } } @@ -1282,7 +1403,7 @@ "location" ] }, - "Alert": { + "alert": { "description": "An alert created in alert management service.", "allOf": [ { @@ -1291,12 +1412,11 @@ ], "properties": { "properties": { - "$ref": "#/definitions/AlertProperties", - "x-ms-client-flatten": true + "$ref": "#/definitions/alertProperties" } } }, - "AlertsList": { + "alertsList": { "description": "List the alerts.", "properties": { "nextLink": { @@ -1307,18 +1427,43 @@ "description": "List of alerts", "type": "array", "items": { - "$ref": "#/definitions/Alert" + "$ref": "#/definitions/alert" } } } }, - "AlertProperties": { + "alertProperties": { "type": "object", - "description": "An alert created in alert management service.", + "description": "Alert property bag", + "properties": { + "essentials": { + "$ref": "#/definitions/essentials" + }, + "context": { + "$ref": "#/definitions/alertContext" + }, + "egressConfig": { + "$ref": "#/definitions/egressConfig" + } + } + }, + "egressConfig": { + "type": "object", + "description": "Config which would be used for displaying the data in portal.", + "readOnly": true + }, + "alertContext": { + "type": "object", + "description": "Information specific to the monitor service that gives more contextual details about the alert.", + "readOnly": true + }, + "essentials": { + "type": "object", + "description": "This object contains consistent fields across different monitor services.", "properties": { "severity": { "type": "string", - "description": "Severity of alert Sev1 being highest and Sev3 being lowest.", + "description": "Severity of alert Sev0 being highest and Sev4 being lowest.", "readOnly": true, "enum": [ "Sev0", @@ -1334,7 +1479,7 @@ }, "signalType": { "type": "string", - "description": "Log based alert or metric based alert", + "description": "The type of signal the alert is based on, which could be metrics, logs or activity logs.", "readOnly": true, "enum": [ "Metric", @@ -1348,7 +1493,7 @@ }, "alertState": { "type": "string", - "description": "Alert object state", + "description": "Alert object state, which can be modified by the user.", "readOnly": true, "enum": [ "New", @@ -1362,7 +1507,7 @@ }, "monitorCondition": { "type": "string", - "description": "Condition of the rule at the monitor service", + "description": "Condition of the rule at the monitor service. It represents whether the underlying conditions have crossed the defined alert rule thresholds.", "readOnly": true, "enum": [ "Fired", @@ -1379,44 +1524,49 @@ }, "targetResourceName": { "type": "string", - "description": "Target ARM resource name, on which alert got created." + "description": "Name of the target ARM resource name, on which alert got created." }, "targetResourceGroup": { "type": "string", - "description": "Resource group of target ARM resource." + "description": "Resource group of target ARM resource, on which alert got created." }, "targetResourceType": { "type": "string", - "description": "Resource type of target ARM resource" + "description": "Resource type of target ARM resource, on which alert got created." }, "monitorService": { "type": "string", - "description": "Monitor service which is the source of the alert object.", + "description": "Monitor service on which the rule(monitor) is set.", "readOnly": true, "enum": [ - "Platform", "Application Insights", - "Log Analytics", - "Infrastructure Insights", "ActivityLog Administrative", "ActivityLog Security", "ActivityLog Recommendation", "ActivityLog Policy", "ActivityLog Autoscale", + "Log Analytics", + "Nagios", + "Platform", + "SCOM", "ServiceHealth", "SmartDetector", - "Zabbix", - "SCOM", - "Nagios" + "VM Insights", + "Zabbix" ], "x-ms-enum": { "name": "MonitorService", "modelAsString": true } }, + "alertRule": { + "type": "string", + "description": "Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule.", + "readOnly": true + }, "sourceCreatedId": { "type": "string", - "description": "Unique Id created by monitor service", + "description": "Unique Id created by monitor service for each alert instance. This could be used to track the issue at the monitor service, in case of Nagios, Zabbix, SCOM etc.", "readOnly": true }, "smartGroupId": { @@ -1426,34 +1576,35 @@ }, "smartGroupingReason": { "type": "string", - "description": "Reason for addition to a smart group", + "description": "Verbose reason describing the reason why this alert instance is added to a smart group", "readOnly": true }, "startDateTime": { "type": "string", "format": "date-time", - "description": "Creation time(ISO-8601 format).", + "description": "Creation time(ISO-8601 format) of alert instance.", "readOnly": true }, "lastModifiedDateTime": { "type": "string", "format": "date-time", - "description": "Last modification time(ISO-8601 format).", + "description": "Last modification time(ISO-8601 format) of alert instance.", "readOnly": true }, - "lastModifiedUserName": { + "monitorConditionResolvedDateTime": { "type": "string", - "description": "User who last modified the alert.", + "format": "date-time", + "description": "Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met.", "readOnly": true }, - "payload": { - "type": "object", - "description": "More details which are contextual to the monitor service.", + "lastModifiedUserName": { + "type": "string", + "description": "User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user.", "readOnly": true } } }, - "AlertModification": { + "alertModification": { "description": "Alert Modification details", "allOf": [ { @@ -1462,11 +1613,11 @@ ], "properties": { "properties": { - "$ref": "#/definitions/AlertModificationProperties" + "$ref": "#/definitions/alertModificationProperties" } } }, - "AlertModificationProperties": { + "alertModificationProperties": { "type": "object", "description": "Properties of the alert modification item.", "properties": { @@ -1479,12 +1630,12 @@ "type": "array", "description": "Modification details", "items": { - "$ref": "#/definitions/AlertModificationItem" + "$ref": "#/definitions/alertModificationItem" } } } }, - "AlertModificationItem": { + "alertModificationItem": { "description": "Alert modification item.", "properties": { "modificationEvent": { @@ -1525,7 +1676,7 @@ } } }, - "SmartGroupModification": { + "smartGroupModification": { "description": "Alert Modification details", "allOf": [ { @@ -1534,11 +1685,11 @@ ], "properties": { "properties": { - "$ref": "#/definitions/SmartGroupModificationProperties" + "$ref": "#/definitions/smartGroupModificationProperties" } } }, - "SmartGroupModificationProperties": { + "smartGroupModificationProperties": { "description": "Properties of the smartGroup modification item.", "properties": { "smartGroupId": { @@ -1550,7 +1701,7 @@ "type": "array", "description": "Modification details", "items": { - "$ref": "#/definitions/SmartGroupModificationItem" + "$ref": "#/definitions/smartGroupModificationItem" } }, "nextLink": { @@ -1559,7 +1710,7 @@ } } }, - "SmartGroupModificationItem": { + "smartGroupModificationItem": { "description": "smartGroup modification item.", "properties": { "modificationEvent": { @@ -1601,8 +1752,8 @@ } } }, - "AlertsSummary": { - "description": "Summary of the alerts.", + "alertsSummary": { + "description": "Summary of alerts based on the input filters and 'groupby' parameters.", "allOf": [ { "$ref": "#/definitions/Resource" @@ -1610,248 +1761,61 @@ ], "properties": { "properties": { - "$ref": "#/definitions/AlertsSummaryProperties", - "x-ms-client-flatten": true + "$ref": "#/definitions/alertsSummaryGroup" } } }, - "AlertsSummaryProperties": { + "alertsSummaryGroup": { "type": "object", - "description": "Summary of the alerts", + "description": "Group the result set.", "properties": { "total": { "type": "integer", - "description": "Total number of alerts." + "description": "Total count of the result set." }, "smartGroupsCount": { "type": "integer", - "description": "Total number of smart groups." + "description": "Total count of the smart groups." }, - "summaryByState": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by state" + "groupedby": { + "type": "string", + "description": "Name of the field aggregated" }, - "summaryBySeverity": { - "type": "object", - "description": "Summary of alerts by severity", - "properties": { - "sev0": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by severity 'Sev0'" - }, - "sev1": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by severity 'Sev1'" - }, - "sev2": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by severity 'Sev2'" - }, - "sev3": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by severity 'Sev3'" - }, - "sev4": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByState" - } - ], - "type": "object", - "description": "Summary of alerts by severity 'Sev4'" - } + "values": { + "type": "array", + "description": "List of the items", + "items": { + "$ref": "#/definitions/alertsSummaryGroupItem" } - }, - "summaryBySeverityAndMonitorCondition": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryBySeverityAndMonitorCondition" - } - ], - "type": "object", - "description": "Summary of alerts by severity and monitor condition" - }, - "summaryByMonitorService": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorService" - } - ], - "type": "object", - "description": "Summary of alerts by severity" - }, - "nextLink": { - "description": "URL to fetch the next set of results.", - "type": "string" - } - } - }, - "AlertsSummaryByState": { - "type": "object", - "description": "Summary of alerts by state", - "properties": { - "new": { - "type": "integer", - "description": "Count of alerts with state 'New'" - }, - "acknowledged": { - "type": "integer", - "description": "Count of alerts with state 'Acknowledged'" - }, - "closed": { - "type": "integer", - "description": "Count of alerts with state 'Closed'" } } }, - "AlertsSummaryBySeverityAndMonitorCondition": { + "alertsSummaryGroupItem": { "type": "object", - "description": "Summary of the alerts by severity and monitor condition", + "description": "Alerts summary group item", "properties": { - "sev0": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorCondition" - } - ], - "description": "Summary of alerts by monitor condition with severity 'Sev0'" - }, - "sev1": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorCondition" - } - ], - "description": "Summary of alerts by monitor condition with severity 'Sev1'" - }, - "sev2": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorCondition" - } - ], - "description": "Summary of alerts by monitor condition with severity 'Sev2'" - }, - "sev3": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorCondition" - } - ], - "description": "Summary of alerts by monitor condition with severity 'Sev3'" - }, - "sev4": { - "allOf": [ - { - "$ref": "#/definitions/AlertsSummaryByMonitorCondition" - } - ], - "description": "Summary of alerts by monitor condition with severity 'Sev4'" - } - } - }, - "AlertsSummaryByMonitorCondition": { - "type": "object", - "description": "Summary of the alerts by monitor condition", - "properties": { - "fired": { - "type": "integer", - "description": "Count of alerts with monitorCondition 'Fired'" - }, - "resolved": { - "type": "integer", - "description": "Count of alerts with monitorCondition 'Resolved'" - } - } - }, - "AlertsSummaryByMonitorService": { - "type": "object", - "description": "Summary of the alerts by monitor service", - "properties": { - "platform": { - "type": "integer", - "description": "Count of alerts of \"Platform\"" - }, - "application Insights": { - "type": "integer", - "description": "Count of alerts of \"Application Insights\"" - }, - "log Analytics": { - "type": "integer", - "description": "Count of alerts of \"Log Analytics\"" - }, - "zabbix": { - "type": "integer", - "description": "Count of alerts of \"Zabbix\"" - }, - "scom": { - "type": "integer", - "description": "Count of alerts of \"SCOM\"" - }, - "nagios": { - "type": "integer", - "description": "Count of alerts of \"Nagios\"" - }, - "infrastructure Insights": { - "type": "integer", - "description": "Count of alerts of \"Infrastructure Insights\"" - }, - "activityLog Administrative": { - "type": "integer", - "description": "Count of alerts of \"ActivityLog Administrative\"" - }, - "activityLog Security": { - "type": "integer", - "description": "Count of alerts of \"ActivityLog Security\"" - }, - "activityLog Recommendation": { - "type": "integer", - "description": "Count of alerts of \"ActivityLog Recommendation\"" - }, - "activityLog Policy": { - "type": "integer", - "description": "Count of alerts of \"ActivityLog Policy\"" + "name": { + "type": "string", + "description": "Value of the aggregated field" }, - "activityLog Autoscale": { + "count": { "type": "integer", - "description": "Count of alerts of \"ActivityLog Autoscale\"" + "description": "Count of the aggregated field" }, - "serviceHealth": { - "type": "integer", - "description": "Count of alerts of \"ServiceHealth\"" + "groupedby": { + "type": "string", + "description": "Name of the field aggregated" }, - "smartDetector": { - "type": "integer", - "description": "Count of alerts of \"Smart Detector\"" + "values": { + "type": "array", + "description": "List of the items", + "items": { + "$ref": "#/definitions/alertsSummaryGroupItem" + } } } }, - "SmartGroupsList": { + "smartGroupsList": { "description": "List the alerts.", "properties": { "nextLink": { @@ -1862,12 +1826,12 @@ "description": "List of alerts", "type": "array", "items": { - "$ref": "#/definitions/SmartGroup" + "$ref": "#/definitions/smartGroup" } } } }, - "SmartGroup": { + "smartGroup": { "description": "Set of related alerts grouped together smartly by AMS.", "allOf": [ { @@ -1877,11 +1841,11 @@ "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/SmartGroupProperties" + "$ref": "#/definitions/smartGroupProperties" } } }, - "SmartGroupProperties": { + "smartGroupProperties": { "type": "object", "description": "Properties of smart group.", "properties": { @@ -1938,49 +1902,49 @@ }, "resources": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of target resources in the smart group" }, "resourceTypes": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of target resource types in the smart group" }, "resourceGroups": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of target resource groups in the smart group" }, "monitorServices": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of monitorServices in the smart group" }, "monitorConditions": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of monitorConditions in the smart group" }, "alertStates": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of alertStates in the smart group" }, "alertSeverities": { "items": { - "$ref": "#/definitions/SmartGroupAggregatedProperty" + "$ref": "#/definitions/smartGroupAggregatedProperty" }, "type": "array", "description": "Summary of alertSeverities in the smart group" @@ -1991,7 +1955,7 @@ } } }, - "SmartGroupAggregatedProperty": { + "smartGroupAggregatedProperty": { "type": "object", "description": "Aggregated property of each type", "properties": { @@ -2009,7 +1973,7 @@ "type": "object", "description": "Target scope for a given action rule. By default scope will be the subscription. User can also provide list of resource groups or list of resources from the scope subscription as well.", "properties": { - "type": { + "scopeType": { "type": "string", "description": "type of target scope", "enum": [ @@ -2157,7 +2121,6 @@ ], "properties": { "properties": { - "x-ms-client-flatten": true, "description": "action rule properties", "$ref": "#/definitions/ActionRuleProperties" } @@ -2165,7 +2128,7 @@ }, "ActionRuleProperties": { "description": "Action rule properties defining scope, conditions, suppression logic for action rule", - "discriminator": "type", + "discriminator" : "type", "required": [ "type" ], diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json index 3110d954a41a..ed86d083aab6 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json @@ -9,7 +9,7 @@ "tags": {}, "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] @@ -62,7 +62,7 @@ "body": { "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json index c2a255181662..77b20d14013f 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-11-02-privatepreview", + "api-version": "2019-05-05-preview", "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d", "resourceGroupName": "alertscorrelationrg", "actionRuleName": "DailySuppression" @@ -10,7 +10,7 @@ "body": { "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json index 8cc03d78173c..2f9c60e46f45 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-11-02-privatepreview", + "api-version": "2019-05-05-preview", "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d", "resourceGroupName": "alertscorrelationrg" }, @@ -12,7 +12,7 @@ { "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] @@ -65,7 +65,7 @@ { "properties": { "scope": { - "type": "Resource", + "scopeType": "Resource", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource" ] diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json index a5127edbd78a..00972ab28db0 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-11-02-privatepreview", + "api-version": "2019-05-05-preview", "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d" }, "responses": { @@ -11,7 +11,7 @@ { "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] @@ -64,7 +64,7 @@ { "properties": { "scope": { - "type": "Resource", + "scopeType": "Resource", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource" ] diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json index b8db21a89ba1..abb2b0d7d4f4 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json @@ -19,7 +19,7 @@ "body": { "properties": { "scope": { - "type": "ResourceGroup", + "scopeType": "ResourceGroup", "values": [ "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg" ] diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json index 2291117a6649..f85869a98a5a 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a", "alertId": "66114d64-d9d9-478b-95c9-b789d6502100", "newState": "Acknowledged", @@ -12,22 +12,27 @@ "200": { "body": { "properties": { - "severity": "Sev3", - "signalType": "Log", - "alertState": "New", - "monitorCondition": "Fired", - "monitorService": "Application Insights", - "targetResourceName": "alertscorrelationworkerrole_int", - "targetResourceGroup": "alertscorrelationrg", - "targetResource": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int", - "targetResourceType": "components", - "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34", - "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", - "smartGroupingReason": "Alerts that frequently occur together have been grouped.", - "startDateTime": "2018-06-12T22:05:09Z", - "lastModifiedDateTime": "2018-06-12T22:05:09Z", - "lastModifiedUserName": "vikramm@microsoft.com", - "payload": {} + "essentials": { + "severity": "Sev3", + "signalType": "Log", + "alertState": "Acknowledged", + "monitorCondition": "Fired", + "monitorService": "Application Insights", + "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", + "targetResourceName": "servicedeskappinsight", + "targetResourceGroup": "servicedeskresourcegroup", + "targetResourceType": "components", + "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", + "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", + "smartGroupingReason": "Occurred frequently with other alerts", + "alertRule": "https://servisdfsdfappinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", + "startDateTime": "2018-09-13T15:51:02Z", + "lastModifiedDateTime": "2018-09-13T15:51:02Z", + "lastModifiedUserName": "System", + "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" + }, + "egressConfig": {}, + "context": {} }, "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", "type": "Microsoft.AlertsManagement/alerts", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json index 9cf5350d5d06..a4a3351ecd0e 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a", "alertId": "66114d64-d9d9-478b-95c9-b789d6502100" }, @@ -8,22 +8,27 @@ "200": { "body": { "properties": { - "severity": "Sev3", - "signalType": "Log", - "alertState": "New", - "monitorCondition": "Fired", - "monitorService": "Application Insights", - "targetResourceName": "alertscorrelationworkerrole_int", - "targetResourceGroup": "alertscorrelationrg", - "targetResource": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int", - "targetResourceType": "components", - "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34", - "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", - "smartGroupingReason": "Alerts that frequently occur together have been grouped.", - "startDateTime": "2018-06-12T22:05:09Z", - "lastModifiedDateTime": "2018-06-12T22:05:09Z", - "lastModifiedUserName": "System", - "payload": {} + "essentials": { + "severity": "Sev3", + "signalType": "Log", + "alertState": "Acknowledged", + "monitorCondition": "Fired", + "monitorService": "Application Insights", + "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", + "targetResourceName": "servicedeskappinsight", + "targetResourceGroup": "servicedeskresourcegroup", + "targetResourceType": "components", + "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", + "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", + "smartGroupingReason": "Occurred frequently with other alerts", + "alertRule": "https://sersdfsdfinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", + "startDateTime": "2018-09-13T15:51:02Z", + "lastModifiedDateTime": "2018-09-13T15:51:02Z", + "lastModifiedUserName": "System", + "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" + }, + "egressConfig": {}, + "context": {} }, "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", "type": "Microsoft.AlertsManagement/alerts", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json index 2784aa8fb45b..490ccb5edd4b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a", "alertId": "66114d64-d9d9-478b-95c9-b789d6502100" }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json index adfb727b2fd8..95d0c5c543e7 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d" }, "responses": { @@ -10,47 +10,57 @@ "value": [ { "properties": { - "severity": "Sev3", - "signalType": "Log", - "alertState": "New", - "monitorCondition": "Fired", - "monitorService": "Application Insights", - "targetResourceName": "alertscorrelationworkerrole_int", - "targetResourceGroup": "alertscorrelationrg", - "targetResource": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int", - "targetResourceType": "components", - "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34", - "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", - "smartGroupingReason": "Alerts that frequently occur together have been grouped.", - "startDateTime": "2018-06-12T22:05:09Z", - "lastModifiedDateTime": "2018-06-12T22:05:09Z", - "lastModifiedUserName": "System", - "payload": {} + "essentials": { + "severity": "Sev3", + "signalType": "Log", + "alertState": "Acknowledged", + "monitorCondition": "Fired", + "monitorService": "Application Insights", + "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", + "targetResourceName": "servicedeskappinsight", + "targetResourceGroup": "servicedeskresourcegroup", + "targetResourceType": "components", + "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", + "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", + "smartGroupingReason": "Occurred frequently with other alerts", + "alertRule": "https://servisdffsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", + "startDateTime": "2018-09-13T15:51:02Z", + "lastModifiedDateTime": "2018-09-13T15:51:02Z", + "lastModifiedUserName": "System", + "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" + }, + "egressConfig": {}, + "context": {} }, - "id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", + "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", "type": "Microsoft.AlertsManagement/alerts", "name": "cpu alert" }, { "properties": { - "severity": "Sev3", - "signalType": "Log", - "alertState": "New", - "monitorCondition": "Fired", - "monitorService": "Application Insights", - "targetResourceName": "alertscorrelationworkerrole_int", - "targetResourceGroup": "alertscorrelationrg", - "targetResource": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int", - "targetResourceType": "components", - "sourceCreatedId": "e1c5c974-b796-46a1-bb59-740eeca48c15", - "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", - "smartGroupingReason": "Alerts that frequently occur together have been grouped.", - "startDateTime": "2018-06-12T21:40:09Z", - "lastModifiedDateTime": "2018-06-12T21:40:09Z", - "lastModifiedUserName": "System", - "payload": {} + "essentials": { + "severity": "Sev3", + "signalType": "Log", + "alertState": "New", + "monitorCondition": "Fired", + "monitorService": "Application Insights", + "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/cind/providers/microsoft.operationalinsights/workspaces/servicedeskwcus", + "targetResourceName": "servicedeskwcus", + "targetResourceGroup": "servicedeskresourcegroup", + "targetResourceType": "components", + "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", + "smartGroupId": "d1c49c89-ea95-4697-a299-c0f5ebac62f1", + "smartGroupingReason": "Alerts that frequently occur together have been grouped.", + "alertRule": "https://servicsdfsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", + "startDateTime": "2018-09-13T15:51:02Z", + "lastModifiedDateTime": "2018-09-13T15:51:02Z", + "lastModifiedUserName": "System", + "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" + }, + "egressConfig": {}, + "context": {} }, - "id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alerts/239f0e9f-9871-4c8b-a6a2-b893853d1066", + "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", "type": "Microsoft.AlertsManagement/alerts", "name": "cpu alert" } diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json index 035accc302b7..772b0d649e48 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json @@ -1,84 +1,113 @@ { "parameters": { - "api-version": "2018-05-05-preview", - "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d" + "api-version": "2019-05-05-preview", + "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d", + "groupby": "severity,alertState" }, "responses": { "200": { "body": { "properties": { - "total": 885, - "smartGroupsCount": 2, - "summaryByState": { - "new": 884, - "acknowledged": 1, - "closed": 0 - }, - "summaryBySeverity": { - "sev0": { - "new": 286, - "acknowledged": 0, - "closed": 0 + "groupedby": "severity", + "smartGroupsCount": 100, + "total": 14189, + "values": [ + { + "name": "Sev0", + "count": 6517, + "groupedby": "alertState", + "values": [ + { + "name": "New", + "count": 6517 + }, + { + "name": "Acknowledged", + "count": 0 + }, + { + "name": "Closed", + "count": 0 + } + ] }, - "sev1": { - "new": 309, - "acknowledged": 0, - "closed": 0 + { + "name": "Sev1", + "count": 3175, + "groupedby": "alertState", + "values": [ + { + "name": "New", + "count": 3175 + }, + { + "name": "Acknowledged", + "count": 0 + }, + { + "name": "Closed", + "count": 0 + } + ] }, - "sev2": { - "new": 0, - "acknowledged": 0, - "closed": 0 + { + "name": "Sev2", + "count": 1120, + "groupedby": "alertState", + "values": [ + { + "name": "New", + "count": 1120 + }, + { + "name": "Acknowledged", + "count": 0 + }, + { + "name": "Closed", + "count": 0 + } + ] }, - "sev3": { - "new": 289, - "acknowledged": 1, - "closed": 0 + { + "name": "Sev3", + "count": 1902, + "groupedby": "alertState", + "values": [ + { + "name": "New", + "count": 1902 + }, + { + "name": "Acknowledged", + "count": 0 + }, + { + "name": "Closed", + "count": 0 + } + ] }, - "sev4": { - "new": 0, - "acknowledged": 0, - "closed": 0 + { + "name": "Sev4", + "count": 1475, + "groupedby": "alertState", + "values": [ + { + "name": "New", + "count": 1475 + }, + { + "name": "Acknowledged", + "count": 0 + }, + { + "name": "Closed", + "count": 0 + } + ] } - }, - "summaryBySeverityAndMonitorCondition": { - "sev0": { - "fired": 286, - "resolved": 0 - }, - "sev1": { - "fired": 309, - "resolved": 0 - }, - "sev2": { - "fired": 0, - "resolved": 0 - }, - "sev3": { - "fired": 290, - "resolved": 0 - }, - "sev4": { - "fired": 0, - "resolved": 0 - } - }, - "summaryByMonitorService": { - "platform": 0, - "application Insights": 290, - "log Analytics": 595, - "zabbix": 0, - "scom": 0, - "nagios": 0, - "infrastructure Insights": 0, - "activityLog Administrative": 0, - "activityLog Security": 0, - "activityLog Recommendation": 0, - "activityLog Policy": 0, - "activityLog Autoscale": 0, - "serviceHealth": 0, - "smartDetector": 0 - } + ] }, "id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alertsSummary/current", "type": "Microsoft.AlertsManagement/alertsSummary", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json index 72d0f6c4566f..6bdb65e58aed 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "dd91de05-d791-4ceb-b6dc-988682dc7d72", "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", "newState": "Acknowledged", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json index daa39f9b4fcf..bf70f86a4355 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a", "smartGroupId": "603675da-9851-4b26-854a-49fc53d32715" }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json index 6b87e63a940c..320d3ef850f1 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a", "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059" }, diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json index 6d4db43e6ef6..b5ded5a48718 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-05-05-preview", + "api-version": "2019-05-05-preview", "subscriptionId": "dd91de05-d791-4ceb-b6dc-988682dc7d72" }, "responses": { From 9717c876a49e83de15cc94250db5a924c6462924 Mon Sep 17 00:00:00 2001 From: Deepali Gupta Date: Tue, 18 Jun 2019 11:29:15 -0700 Subject: [PATCH 065/495] Update enableAutomaticUpdates and enableAutomaticOSUpgrade descriptions to reflect exclusivity (#6351) * Update enableAutomaticUpdates and enableAutomaticOSUpgrade descriptions * br tag fix --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 10b8757892df..f8f405ae1769 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -6015,7 +6015,7 @@ }, "enableAutomaticUpdates": { "type": "boolean", - "description": "Indicates whether virtual machine is enabled for automatic Windows updates. Default value is true.

For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning." + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.

For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning." }, "timeZone": { "type": "string", @@ -6608,7 +6608,7 @@ "properties": { "enableAutomaticOSUpgrade": { "type": "boolean", - "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, recommendation is to set [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) to false." + "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true." }, "disableAutomaticRollback": { "type": "boolean", From 60509af8009b99c14e03bae99f4f9a603433d401 Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Tue, 18 Jun 2019 12:19:16 -0700 Subject: [PATCH 066/495] Remove restriction on groupId (#6373) --- .../Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json index 9e647434220f..375570447cd4 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json @@ -307,7 +307,6 @@ "description": "Group identifier. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" }, "IdentityProviderNameParameter": { From c7373f4c9c6f651e125e5c9d16818ad3fe9bd725 Mon Sep 17 00:00:00 2001 From: hari-bodicherla <43284966+hari-bodicherla@users.noreply.github.com> Date: Tue, 18 Jun 2019 13:17:02 -0700 Subject: [PATCH 067/495] Added Examples and Updated Comments for SKU and Computer APIs in the swagger (#6294) * Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS * updated comment * updated swagger specs for diffdisksettings property * updated swagger spec comments for diff disk settings [property * added example to create Diff OS disk scaleset * updated 2018-10-01 version specs with diffdisk property * added example file for creating VM with diffdisksettings property * updated swagger changes for reimage operation in single vm * update examples * udpated examples * fixed validation errors * updated comments for reimage operation documentation * Updated examples and documentation for APIs in swagger * updated examples as per review comments * updated swagger documentation * updated swagger documentation with zone details in the sku example * updated swagger documentation and reverted the breaking changes * updated examples as per swagger model * updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request --- .../examples/ListAvailableResourceSkus.json | 176 ++++++++++++++++ .../stable/2017-09-01/skus.json | 9 +- .../stable/2018-06-01/compute.json | 9 +- ...geVmFromAnUnmanagedGeneralizedOsImage.json | 3 +- ...ormImageVmWithUnmanagedOsAndDataDisks.json | 3 +- .../examples/CreateAVmFromACustomImage.json | 3 +- .../CreateAVmInAnAvailabilitySet.json | 3 +- .../examples/CreateAVmWithADiffOsDisk.json | 1 - .../CreateAVmWithAMarketplaceImagePlan.json | 1 - .../CreateAVmWithBootDiagnostics.json | 3 +- .../examples/CreateAVmWithEmptyDataDisks.json | 3 +- .../CreateAVmWithPasswordAuthentication.json | 3 +- .../examples/CreateAVmWithPremiumStorage.json | 3 +- .../CreateAVmWithSshAuthentication.json | 3 +- .../ListAvailableVmSizes_VirtualMachines.json | 32 +++ .../stable/2018-10-01/compute.json | 7 +- ...geVmFromAnUnmanagedGeneralizedOsImage.json | 3 +- ...ormImageVmWithUnmanagedOsAndDataDisks.json | 3 +- .../examples/CreateAVmFromACustomImage.json | 3 +- .../CreateAVmInAnAvailabilitySet.json | 3 +- .../examples/CreateAVmWithADiffOsDisk.json | 1 - .../CreateAVmWithAMarketplaceImagePlan.json | 1 - .../CreateAVmWithBootDiagnostics.json | 3 +- .../examples/CreateAVmWithEmptyDataDisks.json | 3 +- .../CreateAVmWithPasswordAuthentication.json | 3 +- .../examples/CreateAVmWithPremiumStorage.json | 3 +- .../CreateAVmWithSshAuthentication.json | 3 +- .../ListAvailableVmSizes_VirtualMachines.json | 32 +++ .../stable/2019-03-01/compute.json | 7 +- ...geVmFromAnUnmanagedGeneralizedOsImage.json | 3 +- ...ormImageVmWithUnmanagedOsAndDataDisks.json | 3 +- .../examples/CreateAVmFromACustomImage.json | 3 +- .../CreateAVmInAnAvailabilitySet.json | 3 +- .../examples/CreateAVmWithADiffOsDisk.json | 1 - .../CreateAVmWithAMarketplaceImagePlan.json | 1 - .../CreateAVmWithBootDiagnostics.json | 3 +- .../examples/CreateAVmWithEmptyDataDisks.json | 3 +- .../CreateAVmWithPasswordAuthentication.json | 3 +- .../examples/CreateAVmWithPremiumStorage.json | 3 +- .../CreateAVmWithSshAuthentication.json | 3 +- .../ListAvailableVmSizes_VirtualMachines.json | 32 +++ .../examples/ListAvailableResourceSkus.json | 189 ++++++++++++++++++ .../stable/2019-04-01/skus.json | 9 +- 43 files changed, 521 insertions(+), 68 deletions(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json new file mode 100644 index 000000000000..b9c81fb06147 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2017-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "20480" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "0.75" + }, + { + "name": "MaxDataDiskCount", + "value": "1" + }, + { + "name": "LowPriorityCapable", + "value": "False" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "50" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ] + } + ], + "name": "Standard_A0", + "tier": "Standard", + "size": "A0", + "family": "standardA0_A7Family" + }, + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "71680" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "1.75" + }, + { + "name": "MaxDataDiskCount", + "value": "2" + }, + { + "name": "LowPriorityCapable", + "value": "True" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "100" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "name": "Standard_A1", + "tier": "Standard", + "size": "A1", + "family": "standardA0_A7Family" + } + ], + "nextLink": null + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json index c71b52515bbc..285b21c40d53 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json @@ -60,6 +60,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Lists all available Resource SKUs": { + "$ref": "./examples/ListAvailableResourceSkus.json" + } } } } @@ -318,13 +323,13 @@ }, "nextLink": { "type": "string", - "description": "The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next page of VMSS Skus." + "description": "The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus" } }, "required": [ "value" ], - "description": "The Compute List Skus operation response." + "description": "The List Resource Skus operation response." } }, "parameters": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index 9ca39ecd9e13..ececa2dd3666 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -2238,6 +2238,11 @@ }, "x-ms-pageable": { "nextLinkName": null + }, + "x-ms-examples": { + "Lists all available virtual machine sizes to which the specified virtual machine can be resized": { + "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json" + } } } }, @@ -5269,10 +5274,10 @@ "properties": { "tempDisk": { "type": "boolean", - "description": "Specifies whether to reimage temp disk. Default value: false." + "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk." } }, - "description": "Parameters for Reimaging Virtual Machine. Default value for OSDisk : true." + "description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged" }, "VirtualMachineCaptureParameters": { "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json index fe2764e2b1f0..9876547fa951 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json @@ -39,8 +39,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json index 240bd2145773..0d3e6f4c9cf2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json @@ -59,8 +59,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json index 72c86281d241..923b15f36f9e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json @@ -38,8 +38,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json index cee83705643f..1f56740260da 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json @@ -44,8 +44,7 @@ "availabilitySet": { "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}" } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json index 511a232e2281..01118355b95a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_DS1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json index 732a5edb031c..52d96fad8c47 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_D1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json index ff326e466530..e9f1bbe6964a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json @@ -47,8 +47,7 @@ "enabled": true } } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json index 37dbb50c4628..f9d075ea8bda 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json @@ -53,8 +53,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json index 454c352ce3f1..9fb380f16190 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json index 257cc3794f90..3c47b1533071 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json index f52c14158e85..c574d5d2f48a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json @@ -51,8 +51,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json new file mode 100644 index 000000000000..a6a3e4f8e1b8 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVmName", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 + }, + { + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index 9d979a76cded..c86656e73fb7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -2238,6 +2238,11 @@ }, "x-ms-pageable": { "nextLinkName": null + }, + "x-ms-examples": { + "Lists all available virtual machine sizes to which the specified virtual machine can be resized": { + "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json" + } } } }, @@ -5284,7 +5289,7 @@ "properties": { "tempDisk": { "type": "boolean", - "description": "Specifies whether to reimage temp disk. Default value: false." + "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk." } }, "description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json index 8da134b1a1bd..80fca4af9787 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json @@ -39,8 +39,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json index 72aee807ef78..d3b897842b51 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json @@ -59,8 +59,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json index f86cbf2b24d5..96498be14f2d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json @@ -38,8 +38,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json index 5fafdd4c0fa6..680c0a376548 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json @@ -44,8 +44,7 @@ "availabilitySet": { "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}" } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json index de69454d3c36..5bac74bd214b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_DS1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json index e7b178768e43..6a8dff5ddc3a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_D1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json index 26f72ca42686..9a1af82bc8cd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json @@ -47,8 +47,7 @@ "enabled": true } } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json index 04ded0d013c7..a34dc01ab030 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json @@ -53,8 +53,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json index 795e3eb71fa8..577006512967 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json index 68121fbb694a..84d01c8c7443 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json index ead725d0c8b4..14f38c04b642 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json @@ -51,8 +51,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json new file mode 100644 index 000000000000..2869a69e2b87 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVmName", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 + }, + { + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index f8f405ae1769..51d4f34f7ce6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -2243,6 +2243,11 @@ }, "x-ms-pageable": { "nextLinkName": null + }, + "x-ms-examples": { + "Lists all available virtual machine sizes to which the specified virtual machine can be resized": { + "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json" + } } } }, @@ -5367,7 +5372,7 @@ "properties": { "tempDisk": { "type": "boolean", - "description": "Specifies whether to reimage temp disk. Default value: false." + "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk." } }, "description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json index 74da6c7ecdd6..fc12012c36ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json @@ -39,8 +39,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json index 826771c41dd9..bcd3977670a6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json @@ -59,8 +59,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json index ec3d8586d603..01b7dcdbe3a9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json @@ -38,8 +38,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json index f4107d6309cb..190bd4c785af 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json @@ -44,8 +44,7 @@ "availabilitySet": { "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}" } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json index f2df2cf1db51..dfd565c0fd36 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_DS1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json index f921490fc4ab..e4265e2b8b3d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json @@ -11,7 +11,6 @@ "product": "windows-data-science-vm", "name": "windows2016" }, - "name": "myVM", "properties": { "hardwareProfile": { "vmSize": "Standard_D1_v2" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json index 800a24a20d0b..a79f7930be53 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json @@ -47,8 +47,7 @@ "enabled": true } } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json index 9e5e380836c4..e1bf17d9b136 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json @@ -53,8 +53,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json index 977fedfec4cf..34e9b4a68d9a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json index c9478fdff6b5..4c2e71d37ca3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json @@ -41,8 +41,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json index 681f729f4e55..69376e898bb7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json @@ -51,8 +51,7 @@ } ] } - }, - "name": "myVM" + } } }, "responses": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json new file mode 100644 index 000000000000..fc3729903061 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVmName", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 + }, + { + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json new file mode 100644 index 000000000000..7bdc95a4ef6f --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json @@ -0,0 +1,189 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "20480" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "0.75" + }, + { + "name": "MaxDataDiskCount", + "value": "1" + }, + { + "name": "LowPriorityCapable", + "value": "False" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "50" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "UltraSSDAvailable", + "value": "True" + } + ] + } + ] + } + ], + "name": "Standard_A0", + "tier": "Standard", + "size": "A0", + "family": "standardA0_A7Family" + }, + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "71680" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "1.75" + }, + { + "name": "MaxDataDiskCount", + "value": "2" + }, + { + "name": "LowPriorityCapable", + "value": "True" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "100" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "name": "Standard_A1", + "tier": "Standard", + "size": "A1", + "family": "standardA0_A7Family" + } + ], + "nextLink": null + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json index b05c2468d050..7012927a8fd3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json @@ -60,6 +60,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Lists all available Resource SKUs": { + "$ref": "./examples/ListAvailableResourceSkus.json" + } } } } @@ -347,13 +352,13 @@ }, "nextLink": { "type": "string", - "description": "The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next page of VMSS Skus." + "description": "The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus" } }, "required": [ "value" ], - "description": "The Compute List Skus operation response." + "description": "The List Resource Skus operation response." } }, "parameters": { From e6c820c4c7f7029ea57aa1e5a224d201b505c917 Mon Sep 17 00:00:00 2001 From: shurd Date: Tue, 18 Jun 2019 13:42:48 -0700 Subject: [PATCH 068/495] adding regex to check cosmos db account name (#6312) --- .../Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json index 7e15bc18485d..125d85a870f7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json @@ -5904,7 +5904,8 @@ "x-ms-parameter-location": "method", "description": "Cosmos DB database account name.", "minLength": 3, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*" }, "filterParameter": { "name": "$filter", From 4315e640cfb86269e1836f3976643710673693a6 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:45:48 -0400 Subject: [PATCH 069/495] chore: jsonfmt azurestack (#5899) Ran `jsonfmt -w "specification/azurestack/**/*.json"` --- .../stable/2017-06-01/AzureStack.json | 514 +++++----- .../2017-06-01/CustomerSubscription.json | 506 ++++----- .../stable/2017-06-01/Product.json | 964 +++++++++--------- .../stable/2017-06-01/Registration.json | 751 +++++++------- .../examples/CustomerSubscription/Delete.json | 24 +- .../examples/CustomerSubscription/Get.json | 36 +- .../examples/CustomerSubscription/List.json | 42 +- .../examples/CustomerSubscription/Put.json | 46 +- .../2017-06-01/examples/Operation/List.json | 240 ++--- .../2017-06-01/examples/Product/Get.json | 72 +- .../2017-06-01/examples/Product/List.json | 286 +++--- .../2017-06-01/examples/Product/Post.json | 50 +- .../examples/Registration/Delete.json | 22 +- .../2017-06-01/examples/Registration/Get.json | 40 +- .../examples/Registration/List.json | 46 +- .../examples/Registration/Patch.json | 58 +- .../examples/Registration/Post.json | 26 +- .../2017-06-01/examples/Registration/Put.json | 78 +- 18 files changed, 1901 insertions(+), 1900 deletions(-) diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json index 83cbb972f1cd..29848118296c 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json @@ -1,276 +1,276 @@ { - "swagger": "2.0", - "info": { - "version": "2017-06-01", - "title": "Azure Stack Azure Bridge Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.AzureStack/operations": { - "get": { - "x-ms-examples": { - "Returns the list of supported REST operations.": { - "$ref": "./examples/Operation/List.json" - } - }, - "description": "Returns the list of supported REST operations.", - "tags": [ - "AzureStack" - ], - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationList" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "swagger": "2.0", + "info": { + "version": "2017-06-01", + "title": "Azure Stack Azure Bridge Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.AzureStack/operations": { + "get": { + "x-ms-examples": { + "Returns the list of supported REST operations.": { + "$ref": "./examples/Operation/List.json" + } + }, + "description": "Returns the list of supported REST operations.", + "tags": [ + "AzureStack" + ], + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationList" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Resource": { + "description": "Base resource object.", + "type": "object", + "properties": { + "id": { + "readOnly": true, + "description": "ID of the resource.", + "type": "string" + }, + "name": { + "readOnly": true, + "description": "Name of the resource.", + "type": "string" + }, + "type": { + "readOnly": true, + "description": "Type of Resource.", + "type": "string" + }, + "etag": { + "description": "The entity tag used for optimistic concurrency when modifying the resource.", + "type": "string" } + }, + "x-ms-azure-resource": true }, - "definitions": { - "Resource": { - "description": "Base resource object.", - "type": "object", - "properties": { - "id": { - "readOnly": true, - "description": "ID of the resource.", - "type": "string" - }, - "name": { - "readOnly": true, - "description": "Name of the resource.", - "type": "string" - }, - "type": { - "readOnly": true, - "description": "Type of Resource.", - "type": "string" - }, - "etag": { - "description": "The entity tag used for optimistic concurrency when modifying the resource.", - "type": "string" - } - }, - "x-ms-azure-resource": true + "TrackedResource": { + "description": "Base resource object.", + "type": "object", + "properties": { + "id": { + "readOnly": true, + "description": "ID of the resource.", + "type": "string" }, - "TrackedResource": { - "description": "Base resource object.", - "type": "object", - "properties": { - "id": { - "readOnly": true, - "description": "ID of the resource.", - "type": "string" - }, - "name": { - "readOnly": true, - "description": "Name of the resource.", - "type": "string" - }, - "type": { - "readOnly": true, - "description": "Type of Resource.", - "type": "string" - }, - "location": { - "description": "Location of the resource.", - "type": "string", - "enum": [ - "global" - ], - "x-ms-enum": { - "name": "Location", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "description": "Custom tags for the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "etag": { - "description": "The entity tag used for optimistic concurrency when modifying the resource.", - "type": "string" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true + "name": { + "readOnly": true, + "description": "Name of the resource.", + "type": "string" }, - "ProvisioningState": { - "description": "The provisioning state of the resource.", - "enum": [ - "Creating", - "Failed", - "Succeeded", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "ProvisioningState" - } + "type": { + "readOnly": true, + "description": "Type of Resource.", + "type": "string" }, - "Operation": { - "description": "Describes the supported REST operation.", - "properties": { - "name": { - "description": "The name of the operation being performed on this particular object.", - "type": "string" - }, - "display": { - "description": "Contains the localized display information for this particular operation or action.", - "$ref": "#/definitions/Display" - }, - "origin" : { - "description" : "The intended executor of the operation.", - "type" : "string" - } - } + "location": { + "description": "Location of the resource.", + "type": "string", + "enum": [ + "global" + ], + "x-ms-enum": { + "name": "Location", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] }, - "Display": { - "description": "Contains the localized display information for this particular operation or action.", - "properties": { - "provider": { - "description": "The localized, friendly version of the resource provider name.", - "type": "string" - }, - "resource": { - "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.", - "type": "string" - }, - "operation": { - "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.", - "type": "string" - }, - "description": { - "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.", - "type": "string" - } - } + "tags": { + "description": "Custom tags for the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "OperationList": { - "description": "List of Operations", - "properties": { - "value": { - "description": "Array of operations", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - }, - "nextLink": { - "description": "URI to the next page of operations.", - "type": "string" - } - } + "etag": { + "description": "The entity tag used for optimistic concurrency when modifying the resource.", + "type": "string" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true + }, + "ProvisioningState": { + "description": "The provisioning state of the resource.", + "enum": [ + "Creating", + "Failed", + "Succeeded", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState" + } + }, + "Operation": { + "description": "Describes the supported REST operation.", + "properties": { + "name": { + "description": "The name of the operation being performed on this particular object.", + "type": "string" + }, + "display": { + "description": "Contains the localized display information for this particular operation or action.", + "$ref": "#/definitions/Display" }, - "ErrorDetails": { - "description": "The details of the error.", - "properties": { - "code": { - "description": "Error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, - "ErrorResponse": { - "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", - "type": "object", - "properties": { - "error": { - "description": "The details of the error.", - "$ref": "#/definitions/ErrorDetails" - } - } - } + "origin": { + "description": "The intended executor of the operation.", + "type": "string" + } + } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", - "required": true, - "type": "string" + "Display": { + "description": "Contains the localized display information for this particular operation or action.", + "properties": { + "provider": { + "description": "The localized, friendly version of the resource provider name.", + "type": "string" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Client API Version.", - "required": true, - "type": "string", - "default": "2017-06-01" + "resource": { + "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.", + "type": "string" }, - "ResourceGroupNameParameter": { - "description": "Name of the resource group.", - "name": "resourceGroup", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "operation": { + "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.", + "type": "string" }, - "RegistrationNameParameter": { - "description": "Name of the Azure Stack registration.", - "name": "registrationName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "description": { + "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.", + "type": "string" } + } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Authorization uses an Azure Active Directory OAuth2 flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "OperationList": { + "description": "List of Operations", + "properties": { + "value": { + "description": "Array of operations", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URI to the next page of operations.", + "type": "string" } + } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "ErrorDetails": { + "description": "The details of the error.", + "properties": { + "code": { + "description": "Error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorResponse": { + "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "#/definitions/ErrorDetails" } - ] -} \ No newline at end of file + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client API Version.", + "required": true, + "type": "string", + "default": "2017-06-01" + }, + "ResourceGroupNameParameter": { + "description": "Name of the resource group.", + "name": "resourceGroup", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RegistrationNameParameter": { + "description": "Name of the Azure Stack registration.", + "name": "registrationName", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json index 8cf39d4fe8d2..194fc6e4914e 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json @@ -1,269 +1,269 @@ { - "swagger": "2.0", - "info": { - "version": "2017-06-01", - "title": "AzureStack Azure Bridge Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions": { - "get": { - "x-ms-examples": { - "Returns a list of products.": { - "$ref": "examples/CustomerSubscription/List.json" - } - }, - "tags": [ - "CustomerSubscription" - ], - "description": "Returns a list of products.", - "operationId": "CustomerSubscriptions_List", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomerSubscriptionList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "swagger": "2.0", + "info": { + "version": "2017-06-01", + "title": "AzureStack Azure Bridge Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions": { + "get": { + "x-ms-examples": { + "Returns a list of products.": { + "$ref": "examples/CustomerSubscription/List.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}": { - "get": { - "x-ms-examples": { - "Returns the specified product.": { - "$ref": "examples/CustomerSubscription/Get.json" - } - }, - "tags": [ - "CustomerSubscription" - ], - "description": "Returns the specified product.", - "operationId": "CustomerSubscriptions_Get", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "#/parameters/CustomerSubscriptionNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomerSubscription" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "x-ms-examples": { - "Deletes a customer subscription under a registration.": { - "$ref": "examples/CustomerSubscription/Delete.json" - } - }, - "tags": [ - "CustomerSubscription" - ], - "description": "Deletes a customer subscription under a registration.", - "operationId": "CustomerSubscriptions_Delete", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "#/parameters/CustomerSubscriptionNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NO CONTENT" - } - } - }, - "put": { - "x-ms-examples": { - "Creates a new customer subscription under a registration.": { - "$ref": "examples/CustomerSubscription/Put.json" - } - }, - "tags": [ - "CustomerSubscription" - ], - "description": "Creates a new customer subscription under a registration.", - "operationId": "CustomerSubscriptions_Create", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "#/parameters/CustomerSubscriptionNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/CustomerSubscriptionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomerSubscription" - } - } - } + "tags": [ + "CustomerSubscription" + ], + "description": "Returns a list of products.", + "operationId": "CustomerSubscriptions_List", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CustomerSubscriptionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, - "definitions": { - "CustomerSubscription": { - "description": "Customer subscription.", - "type": "object", - "properties": { - "properties": { - "description": "Customer subscription properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/CustomerSubscriptionProperties" - } - }, - "allOf": [ - { - "$ref": "AzureStack.json#/definitions/Resource" - } - ] + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}": { + "get": { + "x-ms-examples": { + "Returns the specified product.": { + "$ref": "examples/CustomerSubscription/Get.json" + } }, - "CustomerSubscriptionProperties": { - "description": "Customer subscription properties.", - "type": "object", - "properties": { - "tenantId": { - "description": "Tenant Id.", - "type": "string" - } + "tags": [ + "CustomerSubscription" + ], + "description": "Returns the specified product.", + "operationId": "CustomerSubscriptions_Get", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "#/parameters/CustomerSubscriptionNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CustomerSubscription" } - }, - "CustomerSubscriptionList": { - "description": "Pageable list of customer subscriptions.", - "type": "object", - "properties": { - "nextLink": { - "description": "URI to the next page.", - "type": "string" - }, - "value": { - "description": "List of customer subscriptions.", - "type": "array", - "items": { - "$ref": "#/definitions/CustomerSubscription" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } } - }, - "parameters": { - "CustomerSubscriptionNameParameter": { - "description": "Name of the product.", - "name": "customerSubscriptionName", - "type": "string", - "in": "path", - "required": true, - "x-ms-parameter-location": "method" + }, + "delete": { + "x-ms-examples": { + "Deletes a customer subscription under a registration.": { + "$ref": "examples/CustomerSubscription/Delete.json" + } }, - "CustomerSubscriptionParameter": { - "description": "Parameters use to create a customer subscription.", - "name": "customerCreationParameters", + "tags": [ + "CustomerSubscription" + ], + "description": "Deletes a customer subscription under a registration.", + "operationId": "CustomerSubscriptions_Delete", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "#/parameters/CustomerSubscriptionNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NO CONTENT" + } + } + }, + "put": { + "x-ms-examples": { + "Creates a new customer subscription under a registration.": { + "$ref": "examples/CustomerSubscription/Put.json" + } + }, + "tags": [ + "CustomerSubscription" + ], + "description": "Creates a new customer subscription under a registration.", + "operationId": "CustomerSubscriptions_Create", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "#/parameters/CustomerSubscriptionNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/CustomerSubscriptionParameter" + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/CustomerSubscription" - }, - "in": "body", - "required": true, - "x-ms-parameter-location": "method" + "$ref": "#/definitions/CustomerSubscription" + } + } + } + } + } + }, + "definitions": { + "CustomerSubscription": { + "description": "Customer subscription.", + "type": "object", + "properties": { + "properties": { + "description": "Customer subscription properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CustomerSubscriptionProperties" + } + }, + "allOf": [ + { + "$ref": "AzureStack.json#/definitions/Resource" } + ] }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Authorization uses an Azure Active Directory OAuth2 flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "CustomerSubscriptionProperties": { + "description": "Customer subscription properties.", + "type": "object", + "properties": { + "tenantId": { + "description": "Tenant Id.", + "type": "string" } + } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "CustomerSubscriptionList": { + "description": "Pageable list of customer subscriptions.", + "type": "object", + "properties": { + "nextLink": { + "description": "URI to the next page.", + "type": "string" + }, + "value": { + "description": "List of customer subscriptions.", + "type": "array", + "items": { + "$ref": "#/definitions/CustomerSubscription" + } } - ] -} \ No newline at end of file + } + } + }, + "parameters": { + "CustomerSubscriptionNameParameter": { + "description": "Name of the product.", + "name": "customerSubscriptionName", + "type": "string", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + }, + "CustomerSubscriptionParameter": { + "description": "Parameters use to create a customer subscription.", + "name": "customerCreationParameters", + "schema": { + "$ref": "#/definitions/CustomerSubscription" + }, + "in": "body", + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json index 68db9546699f..9b093117a3fd 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json @@ -1,510 +1,510 @@ { - "swagger": "2.0", - "info": { - "version": "2017-06-01", - "title": "AzureStack Azure Bridge Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products": { - "get": { - "x-ms-examples": { - "Returns a list of products.": { - "$ref": "examples/Product/List.json" - } - }, - "tags": [ - "Product" - ], - "description": "Returns a list of products.", - "operationId": "Products_List", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProductList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "swagger": "2.0", + "info": { + "version": "2017-06-01", + "title": "AzureStack Azure Bridge Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products": { + "get": { + "x-ms-examples": { + "Returns a list of products.": { + "$ref": "examples/Product/List.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}": { - "get": { - "x-ms-examples": { - "Returns the specified product.": { - "$ref": "examples/Product/Get.json" - } - }, - "tags": [ - "Product" - ], - "description": "Returns the specified product.", - "operationId": "Products_Get", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "#/parameters/ProductNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Product" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - } + "tags": [ + "Product" + ], + "description": "Returns a list of products.", + "operationId": "Products_List", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProductList" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails": { - "post": { - "x-ms-examples": { - "Returns the extended properties of a product.": { - "$ref": "examples/Product/Post.json" - } - }, - "tags": [ - "Product" - ], - "description": "Returns the extended properties of a product.", - "operationId": "Products_ListDetails", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "#/parameters/ProductNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ExtendedProduct" - } - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, - "definitions": { - "ComputeRole": { - "description": "Compute role type (IaaS or PaaS).", - "type": "string", - "enum": [ - "None", - "IaaS", - "PaaS" - ], - "x-ms-enum": { - "name": "ComputeRole", - "modelAsString": true - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}": { + "get": { + "x-ms-examples": { + "Returns the specified product.": { + "$ref": "examples/Product/Get.json" + } }, - "OperatingSystem": { - "description": "Operating system type (Windows or Linux).", - "type": "string", - "enum": [ - "None", - "Windows", - "Linux" - ], - "x-ms-enum": { - "name": "OperatingSystem", - "modelAsString": true + "tags": [ + "Product" + ], + "description": "Returns the specified product.", + "operationId": "Products_Get", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "#/parameters/ProductNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Product" } - }, - "Uri": { - "description": "The URI.", - "type": "object", - "properties": { - "uri": { - "description": "The URI.", - "type": "string", - "readOnly": true - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails": { + "post": { + "x-ms-examples": { + "Returns the extended properties of a product.": { + "$ref": "examples/Product/Post.json" + } }, - "ExtendedProduct": { - "description": "Extended description about the product required for installing it into Azure Stack.", - "type": "object", - "properties": { - "galleryPackageBlobSasUri": { - "description": "The URI to the .azpkg file that provides information required for showing product in the gallery.", - "type": "string", - "readOnly": true - }, - "productKind": { - "description": "Specifies the kind of the product (virtualMachine or virtualMachineExtension).", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Specifies additional properties describing the product.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExtendedProductProperties", - "readOnly": true - } + "tags": [ + "Product" + ], + "description": "Returns the extended properties of a product.", + "operationId": "Products_ListDetails", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "#/parameters/ProductNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtendedProduct" } + } + } + } + } + }, + "definitions": { + "ComputeRole": { + "description": "Compute role type (IaaS or PaaS).", + "type": "string", + "enum": [ + "None", + "IaaS", + "PaaS" + ], + "x-ms-enum": { + "name": "ComputeRole", + "modelAsString": true + } + }, + "OperatingSystem": { + "description": "Operating system type (Windows or Linux).", + "type": "string", + "enum": [ + "None", + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystem", + "modelAsString": true + } + }, + "Uri": { + "description": "The URI.", + "type": "object", + "properties": { + "uri": { + "description": "The URI.", + "type": "string", + "readOnly": true + } + } + }, + "ExtendedProduct": { + "description": "Extended description about the product required for installing it into Azure Stack.", + "type": "object", + "properties": { + "galleryPackageBlobSasUri": { + "description": "The URI to the .azpkg file that provides information required for showing product in the gallery.", + "type": "string", + "readOnly": true }, - "ExtendedProductProperties": { - "description": "Product information.", - "type": "object", - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/VirtualMachineExtensionProductProperties" - }, - { - "$ref": "#/definitions/VirtualMachineProductProperties" - } - ] - }, - "VirtualMachineExtensionProductProperties": { - "description": "Product information.", - "type": "object", - "properties": { - "computeRole": { - "description": "Specifies kind of compute role included in the package.", - "$ref": "#/definitions/ComputeRole", - "readOnly": true - }, - "isSystemExtension": { - "description": "Specifies if product is a Virtual Machine Extension.", - "type": "boolean", - "readOnly": true - }, - "sourceBlob": { - "description": "Specifies a download location where content can be downloaded from.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/Uri", - "readOnly": true - }, - "supportMultipleExtensions": { - "description": "Indicates if specified product supports multiple extensions.", - "type": "boolean", - "readOnly": true - }, - "version": { - "description": "Specifies product version.", - "type": "string", - "readOnly": true - }, - "vmOsType": { - "description": "Specifies operating system used by the product.", - "$ref": "#/definitions/OperatingSystem", - "readOnly": true - }, - "vmScaleSetEnabled": { - "description": "Indicates if virtual machine Scale Set is enabled in the specified product.", - "type": "boolean", - "readOnly": true - } - } + "productKind": { + "description": "Specifies the kind of the product (virtualMachine or virtualMachineExtension).", + "type": "string", + "readOnly": true }, - "VirtualMachineProductProperties": { - "description": "Product information.", - "type": "object", - "properties": { - "version": { - "description": "Specifies product version.", - "type": "string", - "readOnly": true - }, - "osDiskImage": { - "description": "OS disk image used by product.", - "$ref": "#/definitions/OsDiskImage", - "readOnly": true - }, - "dataDiskImages": { - "description": "List of attached data disks.", - "type": "array", - "items": { - "$ref": "#/definitions/DataDiskImage" - }, - "readOnly": true - } - } + "properties": { + "description": "Specifies additional properties describing the product.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtendedProductProperties", + "readOnly": true + } + } + }, + "ExtendedProductProperties": { + "description": "Product information.", + "type": "object", + "properties": {}, + "allOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProductProperties" }, - "OsDiskImage": { - "description": "OS disk image.", - "type": "object", - "properties": { - "operatingSystem": { - "description": "OS operating system type.", - "$ref": "#/definitions/OperatingSystem", - "readOnly": true - }, - "sourceBlobSasUri": { - "description": "SAS key for source blob.", - "type": "string", - "readOnly": true - } - } + { + "$ref": "#/definitions/VirtualMachineProductProperties" + } + ] + }, + "VirtualMachineExtensionProductProperties": { + "description": "Product information.", + "type": "object", + "properties": { + "computeRole": { + "description": "Specifies kind of compute role included in the package.", + "$ref": "#/definitions/ComputeRole", + "readOnly": true }, - "DataDiskImage": { - "description": "Data disk image.", - "type": "object", - "properties": { - "lun": { - "description": "The LUN.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "sourceBlobSasUri": { - "description": "SAS key for source blob.", - "type": "string", - "readOnly": true - } - } + "isSystemExtension": { + "description": "Specifies if product is a Virtual Machine Extension.", + "type": "boolean", + "readOnly": true }, - "Product": { - "description": "Product information.", - "type": "object", - "properties": { - "properties": { - "description": "Properties of the product resource.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ProductNestedProperties" - } - }, - "allOf": [ - { - "$ref": "AzureStack.json#/definitions/Resource" - } - ] - }, - "ProductNestedProperties": { - "description": "Properties portion of the product resource.", - "type": "object", - "properties": { - "displayName": { - "description": "The display name of the product.", - "type": "string" - }, - "description": { - "description": "The description of the product.", - "type": "string" - }, - "publisherDisplayName": { - "description": "The user-friendly name of the product publisher.", - "type": "string" - }, - "publisherIdentifier": { - "description": "Publisher identifier.", - "type": "string" - }, - "offer": { - "description": "The offer representing the product.", - "type": "string" - }, - "offerVersion": { - "description": "The version of the product offer.", - "type": "string" - }, - "sku": { - "description": "The product SKU.", - "type": "string" - }, - "billingPartNumber": { - "description": "The part number used for billing purposes.", - "type": "string" - }, - "vmExtensionType": { - "description": "The type of the Virtual Machine Extension.", - "type": "string" - }, - "galleryItemIdentity": { - "description": "The identifier of the gallery item corresponding to the product.", - "type": "string" - }, - "iconUris": { - "description": "Additional links available for this product.", - "$ref": "#/definitions/IconUris" - }, - "links": { - "description": "Additional links available for this product.", - "type": "array", - "items": { - "$ref": "#/definitions/ProductLink" - } - }, - "legalTerms": { - "description": "The legal terms.", - "type": "string" - }, - "privacyPolicy": { - "description": "The privacy policy.", - "type": "string" - }, - "payloadLength": { - "description": "The length of product content.", - "type": "integer", - "format" : "int64" - }, - "productKind": { - "description": "The kind of the product (virtualMachine or virtualMachineExtension)", - "type": "string" - }, - "productProperties": { - "description": "Additional properties for the product.", - "$ref": "#/definitions/ProductProperties" - } - } + "sourceBlob": { + "description": "Specifies a download location where content can be downloaded from.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/Uri", + "readOnly": true }, - "IconUris": { - "description": "Links to product icons.", - "type": "object", - "properties": { - "large": { - "description": "URI to large icon.", - "type": "string" - }, - "wide": { - "description": "URI to wide icon.", - "type": "string" - }, - "medium": { - "description": "URI to medium icon.", - "type": "string" - }, - "small": { - "description": "URI to small icon.", - "type": "string" - }, - "hero": { - "description": "URI to hero icon.", - "type": "string" - } - } + "supportMultipleExtensions": { + "description": "Indicates if specified product supports multiple extensions.", + "type": "boolean", + "readOnly": true }, - "ProductProperties": { - "description": "Additional properties of the product", - "type": "object", - "properties": { - "version": { - "description": "The version.", - "type": "string" - } - } + "version": { + "description": "Specifies product version.", + "type": "string", + "readOnly": true }, - "ProductLink": { - "description": "Link with additional information about a product.", - "type": "object", - "properties": { - "displayName": { - "description": "The description of the link.", - "type": "string" - }, - "uri": { - "description": "The URI corresponding to the link.", - "type": "string" - } - } + "vmOsType": { + "description": "Specifies operating system used by the product.", + "$ref": "#/definitions/OperatingSystem", + "readOnly": true }, - "ProductList": { - "description": "Pageable list of products.", - "type": "object", - "properties": { - "nextLink": { - "description": "URI to the next page.", - "type": "string" - }, - "value": { - "description": "List of products.", - "type": "array", - "items": { - "$ref": "#/definitions/Product" - } - } - } + "vmScaleSetEnabled": { + "description": "Indicates if virtual machine Scale Set is enabled in the specified product.", + "type": "boolean", + "readOnly": true + } + } + }, + "VirtualMachineProductProperties": { + "description": "Product information.", + "type": "object", + "properties": { + "version": { + "description": "Specifies product version.", + "type": "string", + "readOnly": true + }, + "osDiskImage": { + "description": "OS disk image used by product.", + "$ref": "#/definitions/OsDiskImage", + "readOnly": true + }, + "dataDiskImages": { + "description": "List of attached data disks.", + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImage" + }, + "readOnly": true } + } }, - "parameters": { - "ProductNameParameter": { - "description": "Name of the product.", - "name": "productName", - "type": "string", - "in": "path", - "required": true, - "x-ms-parameter-location": "method" + "OsDiskImage": { + "description": "OS disk image.", + "type": "object", + "properties": { + "operatingSystem": { + "description": "OS operating system type.", + "$ref": "#/definitions/OperatingSystem", + "readOnly": true + }, + "sourceBlobSasUri": { + "description": "SAS key for source blob.", + "type": "string", + "readOnly": true } + } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Authorization uses an Azure Active Directory OAuth2 flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "DataDiskImage": { + "description": "Data disk image.", + "type": "object", + "properties": { + "lun": { + "description": "The LUN.", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "sourceBlobSasUri": { + "description": "SAS key for source blob.", + "type": "string", + "readOnly": true } + } }, - "security": [ + "Product": { + "description": "Product information.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of the product resource.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProductNestedProperties" + } + }, + "allOf": [ { - "azure_auth": [ - "user_impersonation" - ] + "$ref": "AzureStack.json#/definitions/Resource" + } + ] + }, + "ProductNestedProperties": { + "description": "Properties portion of the product resource.", + "type": "object", + "properties": { + "displayName": { + "description": "The display name of the product.", + "type": "string" + }, + "description": { + "description": "The description of the product.", + "type": "string" + }, + "publisherDisplayName": { + "description": "The user-friendly name of the product publisher.", + "type": "string" + }, + "publisherIdentifier": { + "description": "Publisher identifier.", + "type": "string" + }, + "offer": { + "description": "The offer representing the product.", + "type": "string" + }, + "offerVersion": { + "description": "The version of the product offer.", + "type": "string" + }, + "sku": { + "description": "The product SKU.", + "type": "string" + }, + "billingPartNumber": { + "description": "The part number used for billing purposes.", + "type": "string" + }, + "vmExtensionType": { + "description": "The type of the Virtual Machine Extension.", + "type": "string" + }, + "galleryItemIdentity": { + "description": "The identifier of the gallery item corresponding to the product.", + "type": "string" + }, + "iconUris": { + "description": "Additional links available for this product.", + "$ref": "#/definitions/IconUris" + }, + "links": { + "description": "Additional links available for this product.", + "type": "array", + "items": { + "$ref": "#/definitions/ProductLink" + } + }, + "legalTerms": { + "description": "The legal terms.", + "type": "string" + }, + "privacyPolicy": { + "description": "The privacy policy.", + "type": "string" + }, + "payloadLength": { + "description": "The length of product content.", + "type": "integer", + "format": "int64" + }, + "productKind": { + "description": "The kind of the product (virtualMachine or virtualMachineExtension)", + "type": "string" + }, + "productProperties": { + "description": "Additional properties for the product.", + "$ref": "#/definitions/ProductProperties" + } + } + }, + "IconUris": { + "description": "Links to product icons.", + "type": "object", + "properties": { + "large": { + "description": "URI to large icon.", + "type": "string" + }, + "wide": { + "description": "URI to wide icon.", + "type": "string" + }, + "medium": { + "description": "URI to medium icon.", + "type": "string" + }, + "small": { + "description": "URI to small icon.", + "type": "string" + }, + "hero": { + "description": "URI to hero icon.", + "type": "string" + } + } + }, + "ProductProperties": { + "description": "Additional properties of the product", + "type": "object", + "properties": { + "version": { + "description": "The version.", + "type": "string" + } + } + }, + "ProductLink": { + "description": "Link with additional information about a product.", + "type": "object", + "properties": { + "displayName": { + "description": "The description of the link.", + "type": "string" + }, + "uri": { + "description": "The URI corresponding to the link.", + "type": "string" + } + } + }, + "ProductList": { + "description": "Pageable list of products.", + "type": "object", + "properties": { + "nextLink": { + "description": "URI to the next page.", + "type": "string" + }, + "value": { + "description": "List of products.", + "type": "array", + "items": { + "$ref": "#/definitions/Product" + } } - ] -} \ No newline at end of file + } + } + }, + "parameters": { + "ProductNameParameter": { + "description": "Name of the product.", + "name": "productName", + "type": "string", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json index 9bc002b73f30..62f2bd69c0b0 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json @@ -1,398 +1,397 @@ { - "swagger": "2.0", - "info": { - "version": "2017-06-01", - "title": "Azure Stack Azure Bridge Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations": { - "get": { - "x-ms-examples": { - "Returns a list of all registrations.": { - "$ref": "examples/Registration/List.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Returns a list of all registrations.", - "operationId": "Registrations_List", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RegistrationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } + "swagger": "2.0", + "info": { + "version": "2017-06-01", + "title": "Azure Stack Azure Bridge Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations": { + "get": { + "x-ms-examples": { + "Returns a list of all registrations.": { + "$ref": "examples/Registration/List.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": { - "get": { - "x-ms-examples": { - "Returns the properties of an Azure Stack registration.": { - "$ref": "examples/Registration/Get.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Returns the properties of an Azure Stack registration.", - "operationId": "Registrations_Get", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Registration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "x-ms-examples": { - "Delete the requested Azure Stack registration.": { - "$ref": "./examples/Registration/Delete.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Delete the requested Azure Stack registration.", - "operationId": "Registrations_Delete", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NO CONTENT" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "x-ms-examples": { - "Create or update an Azure Stack registration.": { - "$ref": "examples/Registration/Put.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Create or update an Azure Stack registration.", - "operationId": "Registrations_CreateOrUpdate", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/NewRegistrationParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Registration" - } - }, - "201": { - "description": "CREATED", - "schema": { - "$ref": "#/definitions/Registration" - } - } - } - }, - "patch": { - "x-ms-examples": { - "Patch an Azure Stack registration.": { - "$ref": "examples/Registration/Patch.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Patch an Azure Stack registration.", - "operationId": "Registrations_Update", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/NewRegistrationParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Registration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "AzureStack.json#/definitions/ErrorResponse" - } - } - } + "tags": [ + "Registrations" + ], + "description": "Returns a list of all registrations.", + "operationId": "Registrations_List", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RegistrationList" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey": { - "post": { - "x-ms-examples": { - "Returns Azure Stack Activation Key.": { - "$ref": "./examples/Registration/Post.json" - } - }, - "tags": [ - "Registrations" - ], - "description": "Returns Azure Stack Activation Key.", - "operationId": "Registrations_GetActivationKey", - "parameters": [ - { - "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" - }, - { - "$ref": "AzureStack.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ActivationKeyResult" - } - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, - "definitions": { - "Registration": { - "description": "Registration information.", - "type": "object", - "properties": { - "properties": { - "description": "Registration resource.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegistrationProperties" - } - }, - "allOf": [ - { - "$ref": "AzureStack.json#/definitions/TrackedResource" - } - ] + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": { + "get": { + "x-ms-examples": { + "Returns the properties of an Azure Stack registration.": { + "$ref": "examples/Registration/Get.json" + } }, - "RegistrationProperties": { - "description": "Properties portion of the registration resource.", - "type": "object", - "properties": { - "objectId": { - "description": "The object identifier associated with the Azure Stack connecting to Azure.", - "type": "string" - }, - "cloudId": { - "description": "The identifier of the registered Azure Stack.", - "type": "string" - }, - "billingModel": { - "description": "Specifies the billing mode for the Azure Stack registration.", - "type": "string" - } + "tags": [ + "Registrations" + ], + "description": "Returns the properties of an Azure Stack registration.", + "operationId": "Registrations_Get", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Registration" } - }, - "RegistrationList": { - "description": "Pageable list of registrations.", - "type": "object", - "properties": { - "nextLink": { - "description": "URI to the next page.", - "type": "string" - }, - "value": { - "description": "List of Registrations", - "type": "array", - "items": { - "$ref": "#/definitions/Registration" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + } + }, + "delete": { + "x-ms-examples": { + "Delete the requested Azure Stack registration.": { + "$ref": "./examples/Registration/Delete.json" + } }, - "ActivationKeyResult": { - "description": "The resource containing the Azure Stack activation key.", - "type": "object", - "properties": { - "activationKey": { - "description": "Azure Stack activation key.", - "type": "string" - } + "tags": [ + "Registrations" + ], + "description": "Delete the requested Azure Stack registration.", + "operationId": "Registrations_Delete", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NO CONTENT" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" } + } + } + }, + "put": { + "x-ms-examples": { + "Create or update an Azure Stack registration.": { + "$ref": "examples/Registration/Put.json" + } }, - "RegistrationParameter": { - "description": "Registration resource", - "type": "object", - "properties": { - "properties": { - "description": "Properties of the Azure Stack registration resource", - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegistrationParameterProperties" - - }, - "location": { - "description": "Location of the resource.", - "type": "string", - "enum": [ - "global" - ], - "x-ms-enum": { - "name": "Location", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - } + "tags": [ + "Registrations" + ], + "description": "Create or update an Azure Stack registration.", + "operationId": "Registrations_CreateOrUpdate", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NewRegistrationParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Registration" + } + }, + "201": { + "description": "CREATED", + "schema": { + "$ref": "#/definitions/Registration" } + } + } + }, + "patch": { + "x-ms-examples": { + "Patch an Azure Stack registration.": { + "$ref": "examples/Registration/Patch.json" + } }, - "RegistrationParameterProperties": { - "description": "Properties of the Azure Stack registration resource", - "type": "object", - "properties": { - "registrationToken": { - "description": "The token identifying registered Azure Stack", - "type": "string" - } - }, - "required": [ - "registrationToken" - ] + "tags": [ + "Registrations" + ], + "description": "Patch an Azure Stack registration.", + "operationId": "Registrations_Update", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NewRegistrationParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Registration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "AzureStack.json#/definitions/ErrorResponse" + } + } } + } }, - "parameters": { - "NewRegistrationParameter": { - "description": "Registration token", - "name": "token", - "in": "body", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey": { + "post": { + "x-ms-examples": { + "Returns Azure Stack Activation Key.": { + "$ref": "./examples/Registration/Post.json" + } + }, + "tags": [ + "Registrations" + ], + "description": "Returns Azure Stack Activation Key.", + "operationId": "Registrations_GetActivationKey", + "parameters": [ + { + "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/RegistrationNameParameter" + }, + { + "$ref": "AzureStack.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/RegistrationParameter" - }, - "required": true, - "x-ms-parameter-location": "method" + "$ref": "#/definitions/ActivationKeyResult" + } + } } + } + } + }, + "definitions": { + "Registration": { + "description": "Registration information.", + "type": "object", + "properties": { + "properties": { + "description": "Registration resource.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegistrationProperties" + } + }, + "allOf": [ + { + "$ref": "AzureStack.json#/definitions/TrackedResource" + } + ] }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Authorization uses an Azure Active Directory OAuth2 flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "RegistrationProperties": { + "description": "Properties portion of the registration resource.", + "type": "object", + "properties": { + "objectId": { + "description": "The object identifier associated with the Azure Stack connecting to Azure.", + "type": "string" + }, + "cloudId": { + "description": "The identifier of the registered Azure Stack.", + "type": "string" + }, + "billingModel": { + "description": "Specifies the billing mode for the Azure Stack registration.", + "type": "string" } + } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "RegistrationList": { + "description": "Pageable list of registrations.", + "type": "object", + "properties": { + "nextLink": { + "description": "URI to the next page.", + "type": "string" + }, + "value": { + "description": "List of Registrations", + "type": "array", + "items": { + "$ref": "#/definitions/Registration" + } + } + } + }, + "ActivationKeyResult": { + "description": "The resource containing the Azure Stack activation key.", + "type": "object", + "properties": { + "activationKey": { + "description": "Azure Stack activation key.", + "type": "string" + } + } + }, + "RegistrationParameter": { + "description": "Registration resource", + "type": "object", + "properties": { + "properties": { + "description": "Properties of the Azure Stack registration resource", + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegistrationParameterProperties" + }, + "location": { + "description": "Location of the resource.", + "type": "string", + "enum": [ + "global" + ], + "x-ms-enum": { + "name": "Location", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + } + } + }, + "RegistrationParameterProperties": { + "description": "Properties of the Azure Stack registration resource", + "type": "object", + "properties": { + "registrationToken": { + "description": "The token identifying registered Azure Stack", + "type": "string" } - ] -} \ No newline at end of file + }, + "required": [ + "registrationToken" + ] + } + }, + "parameters": { + "NewRegistrationParameter": { + "description": "Registration token", + "name": "token", + "in": "body", + "schema": { + "$ref": "#/definitions/RegistrationParameter" + }, + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json index 79908cb9e4f3..4fdb9036a7d9 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "api-version": "2017-06-01" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "api-version": "2017-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json index f50f4fae4229..8c6636689204 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "type": "Microsoft.AzureStack/registrations/customerSubscriptions", - "properties": { - "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "type": "Microsoft.AzureStack/registrations/customerSubscriptions", + "properties": { + "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json index 752696db7a15..91022fca06cb 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "type": "Microsoft.AzureStack/registrations/customerSubscriptions", - "properties": { - "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" - } - } - ] + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "type": "Microsoft.AzureStack/registrations/customerSubscriptions", + "properties": { + "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json index 055faa646f75..b9ec9e6c4dfc 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", - "api-version": "2017-06-01", - "customerCreationParameters": { - "properties": { - "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "", - "name": "", - "type": "", - "properties": { - "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F", + "api-version": "2017-06-01", + "customerCreationParameters": { + "properties": { + "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "", + "name": "", + "type": "", + "properties": { + "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json index 48e2fb12edcd..11a9af187566 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json @@ -1,122 +1,122 @@ { - "parameters": { - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.AzureStack/registrations/read", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Registration", - "operation": "Get Azure Stack Registration", - "description": "Gets the properties of an Azure Stack registration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/write", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Registration", - "operation": "Create Azure Stack Registration", - "description": "Creates or updates an Azure Stack registration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/delete", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Registration", - "operation": "Delete Azure Stack Registration", - "description": "Deletes an Azure Stack registration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/getActivationKey/action", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Registration", - "operation": "Get Azure Stack Activation Key", - "description": "Gets the latest Azure Stack activation key" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/register/action", - "display": { - "provider": "Azure Stack Resource Provider", - "operation": "Register Subscription for Azure Stack", - "description": "Registers Subscription with Microsoft.AzureStack resource provider" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/products/read", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Marketplace Product", - "operation": "Get Azure Stack Marketplace Product", - "description": "Gets the properties of an Azure Stack Marketplace product" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/products/listDetails/action", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Marketplace Product", - "operation": "Get Azure Stack Marketplace Product Details", - "description": "Retrieves extended details for an Azure Stack Marketplace product" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/customerSubscriptions/read", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Customer Subscription", - "operation": "Get Azure Stack Customer Subscription", - "description": "Gets the properties of an Azure Stack Customer Subscription" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/customerSubscriptions/write", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Customer Subscription", - "operation": "Create Azure Stack Customer Subscription", - "description": "Creates or updates an Azure Stack Customer Subscription" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/registrations/customerSubscriptions/delete", - "display": { - "provider": "Azure Stack Resource Provider", - "resource": "Azure Stack Customer Subscription", - "operation": "Delete Azure Stack Customer Subscription", - "description": "Deletes an Azure Stack Customer Subscription" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.AzureStack/Operations/read", - "display": { - "provider": "Name of the Resource Provider.", - "resource": "Resource Type Display Name.", - "operation": "Read Resource Provider Operations", - "description": "The localized friendly description for the operation, as it should be shown to the user." - }, - "origin": "user,system" - } - ] - } - } + "parameters": { + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AzureStack/registrations/read", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Registration", + "operation": "Get Azure Stack Registration", + "description": "Gets the properties of an Azure Stack registration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/write", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Registration", + "operation": "Create Azure Stack Registration", + "description": "Creates or updates an Azure Stack registration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/delete", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Registration", + "operation": "Delete Azure Stack Registration", + "description": "Deletes an Azure Stack registration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/getActivationKey/action", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Registration", + "operation": "Get Azure Stack Activation Key", + "description": "Gets the latest Azure Stack activation key" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/register/action", + "display": { + "provider": "Azure Stack Resource Provider", + "operation": "Register Subscription for Azure Stack", + "description": "Registers Subscription with Microsoft.AzureStack resource provider" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/products/read", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Marketplace Product", + "operation": "Get Azure Stack Marketplace Product", + "description": "Gets the properties of an Azure Stack Marketplace product" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/products/listDetails/action", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Marketplace Product", + "operation": "Get Azure Stack Marketplace Product Details", + "description": "Retrieves extended details for an Azure Stack Marketplace product" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/customerSubscriptions/read", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Customer Subscription", + "operation": "Get Azure Stack Customer Subscription", + "description": "Gets the properties of an Azure Stack Customer Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/customerSubscriptions/write", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Customer Subscription", + "operation": "Create Azure Stack Customer Subscription", + "description": "Creates or updates an Azure Stack Customer Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/registrations/customerSubscriptions/delete", + "display": { + "provider": "Azure Stack Resource Provider", + "resource": "Azure Stack Customer Subscription", + "operation": "Delete Azure Stack Customer Subscription", + "description": "Deletes an Azure Stack Customer Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.AzureStack/Operations/read", + "display": { + "provider": "Name of the Resource Provider.", + "resource": "Resource Type Display Name.", + "operation": "Read Resource Provider Operations", + "description": "The localized friendly description for the operation, as it should be shown to the user." + }, + "origin": "user,system" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json index b09912624c25..a9f1407d8ee3 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "VM Access For Linux Extension", - "publisherDisplayName": "Microsoft Corp.", - "publisherIdentifier": "Microsoft.OSTCExtensions", - "offer": "", - "offerVersion": "", - "sku": "", - "vmExtensionType": "VMAccessForLinux", - "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7", - "iconUris": { - "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png", - "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png", - "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png", - "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png" - }, - "payloadLength": 46959, - "productKind": "virtualMachineExtension", - "productProperties": { - "version": "1.4.7" - } - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "VM Access For Linux Extension", + "publisherDisplayName": "Microsoft Corp.", + "publisherIdentifier": "Microsoft.OSTCExtensions", + "offer": "", + "offerVersion": "", + "sku": "", + "vmExtensionType": "VMAccessForLinux", + "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7", + "iconUris": { + "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png", + "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png", + "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png", + "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png" + }, + "payloadLength": 46959, + "productKind": "virtualMachineExtension", + "productProperties": { + "version": "1.4.7" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json index 6d325ea897a3..a1c045ae8421 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json @@ -1,146 +1,146 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "VM Access For Linux Extension", - "publisherDisplayName": "Microsoft Corp.", - "publisherIdentifier": "Microsoft.OSTCExtensions", - "offer": "", - "offerVersion": "", - "sku": "", - "vmExtensionType": "VMAccessForLinux", - "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7", - "iconUris": { - "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png", - "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png", - "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png", - "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png" - }, - "payloadLength": 46959, - "productKind": "virtualMachineExtension", - "productProperties": { - "version": "1.4.7" - } - } - }, - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepoint", - "name": "testregistration/dummysharepoint", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "Display name for dummy SharePoint", - "publisherDisplayName": "Publisher display name for dummy SharePoint", - "publisherIdentifier": "Katal", - "offer": "Dummy offer", - "offerVersion": "FakeProduct: offer version", - "sku": "Dummy sku", - "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", - "iconUris": { - "hero": "https://extensions.azureedge.net/dummysharepoint/icons/Hero.png", - "large": "https://extensions.azureedge.net/dummysharepoint/icons/Large.png", - "wide": "https://extensions.azureedge.net/dummysharepoint/icons/Wide.png", - "medium": "https://extensions.azureedge.net/dummysharepoint/icons/Medium.png", - "small": "https://extensions.azureedge.net/dummysharepoint/icons/Small.png" - }, - "payloadLength": 4682158, - "productKind": "virtualMachine", - "productProperties": { - "version": "1.0.1" - } - } - }, - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepointTest526", - "name": "testregistration/dummysharepointTest526", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "Display name for dummy SharePoint", - "publisherDisplayName": "Publisher display name for dummy SharePoint", - "publisherIdentifier": "Katal", - "offer": "Dummy offer", - "offerVersion": "FakeProduct: offer version", - "sku": "Dummy sku", - "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", - "iconUris": { - "hero": "https://extensions.azureedge.net/dummysharepointTest526/icons/Hero.png", - "large": "https://extensions.azureedge.net/dummysharepointTest526/icons/Large.png", - "wide": "https://extensions.azureedge.net/dummysharepointTest526/icons/Wide.png", - "medium": "https://extensions.azureedge.net/dummysharepointTest526/icons/Medium.png", - "small": "https://extensions.azureedge.net/dummysharepointTest526/icons/Small.png" - }, - "payloadLength": 4682158, - "productKind": "virtualMachine", - "productProperties": { - "version": "2.0.2" - } - } - }, - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d", - "name": "testregistration/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "Display name for dummy SharePoint", - "publisherDisplayName": "Publisher display name for dummy SharePoint", - "publisherIdentifier": "Katal", - "offer": "Dummy offer", - "offerVersion": "FakeProduct: offer version", - "sku": "Dummy sku", - "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", - "iconUris": { - "hero": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Hero.png", - "large": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Large.png", - "wide": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Wide.png", - "medium": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Medium.png", - "small": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Small.png" - }, - "payloadLength": 4682158, - "productKind": "virtualMachine", - "productProperties": { - "version": "1.0.1" - } - } - }, - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/wordpress4-4", - "name": "testregistration/wordpress4-4", - "type": "Microsoft.AzureStack/registrations/products", - "properties": { - "displayName": "WordPress", - "publisherDisplayName": "WordPress", - "publisherIdentifier": "bitnami", - "offer": "wordpress", - "offerVersion": "1.0.8", - "sku": "4-4", - "galleryItemIdentity": "bitnami.wordpress4-4.1.0.8", - "iconUris": { - "hero": "https://extensions.azureedge.net/wordpress4-4/icons/Hero.png", - "large": "https://extensions.azureedge.net/wordpress4-4/icons/Large.png", - "wide": "https://extensions.azureedge.net/wordpress4-4/icons/Wide.png", - "medium": "https://extensions.azureedge.net/wordpress4-4/icons/Medium.png", - "small": "https://extensions.azureedge.net/wordpress4-4/icons/Small.png" - }, - "payloadLength": 32212604365, - "productKind": "virtualMachine", - "productProperties": { - "version": "4.5.31" - } - } - } - ] + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "VM Access For Linux Extension", + "publisherDisplayName": "Microsoft Corp.", + "publisherIdentifier": "Microsoft.OSTCExtensions", + "offer": "", + "offerVersion": "", + "sku": "", + "vmExtensionType": "VMAccessForLinux", + "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7", + "iconUris": { + "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png", + "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png", + "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png", + "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png" + }, + "payloadLength": 46959, + "productKind": "virtualMachineExtension", + "productProperties": { + "version": "1.4.7" + } } - } + }, + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepoint", + "name": "testregistration/dummysharepoint", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "Display name for dummy SharePoint", + "publisherDisplayName": "Publisher display name for dummy SharePoint", + "publisherIdentifier": "Katal", + "offer": "Dummy offer", + "offerVersion": "FakeProduct: offer version", + "sku": "Dummy sku", + "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", + "iconUris": { + "hero": "https://extensions.azureedge.net/dummysharepoint/icons/Hero.png", + "large": "https://extensions.azureedge.net/dummysharepoint/icons/Large.png", + "wide": "https://extensions.azureedge.net/dummysharepoint/icons/Wide.png", + "medium": "https://extensions.azureedge.net/dummysharepoint/icons/Medium.png", + "small": "https://extensions.azureedge.net/dummysharepoint/icons/Small.png" + }, + "payloadLength": 4682158, + "productKind": "virtualMachine", + "productProperties": { + "version": "1.0.1" + } + } + }, + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepointTest526", + "name": "testregistration/dummysharepointTest526", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "Display name for dummy SharePoint", + "publisherDisplayName": "Publisher display name for dummy SharePoint", + "publisherIdentifier": "Katal", + "offer": "Dummy offer", + "offerVersion": "FakeProduct: offer version", + "sku": "Dummy sku", + "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", + "iconUris": { + "hero": "https://extensions.azureedge.net/dummysharepointTest526/icons/Hero.png", + "large": "https://extensions.azureedge.net/dummysharepointTest526/icons/Large.png", + "wide": "https://extensions.azureedge.net/dummysharepointTest526/icons/Wide.png", + "medium": "https://extensions.azureedge.net/dummysharepointTest526/icons/Medium.png", + "small": "https://extensions.azureedge.net/dummysharepointTest526/icons/Small.png" + }, + "payloadLength": 4682158, + "productKind": "virtualMachine", + "productProperties": { + "version": "2.0.2" + } + } + }, + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d", + "name": "testregistration/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "Display name for dummy SharePoint", + "publisherDisplayName": "Publisher display name for dummy SharePoint", + "publisherIdentifier": "Katal", + "offer": "Dummy offer", + "offerVersion": "FakeProduct: offer version", + "sku": "Dummy sku", + "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3", + "iconUris": { + "hero": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Hero.png", + "large": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Large.png", + "wide": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Wide.png", + "medium": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Medium.png", + "small": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Small.png" + }, + "payloadLength": 4682158, + "productKind": "virtualMachine", + "productProperties": { + "version": "1.0.1" + } + } + }, + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/wordpress4-4", + "name": "testregistration/wordpress4-4", + "type": "Microsoft.AzureStack/registrations/products", + "properties": { + "displayName": "WordPress", + "publisherDisplayName": "WordPress", + "publisherIdentifier": "bitnami", + "offer": "wordpress", + "offerVersion": "1.0.8", + "sku": "4-4", + "galleryItemIdentity": "bitnami.wordpress4-4.1.0.8", + "iconUris": { + "hero": "https://extensions.azureedge.net/wordpress4-4/icons/Hero.png", + "large": "https://extensions.azureedge.net/wordpress4-4/icons/Large.png", + "wide": "https://extensions.azureedge.net/wordpress4-4/icons/Wide.png", + "medium": "https://extensions.azureedge.net/wordpress4-4/icons/Medium.png", + "small": "https://extensions.azureedge.net/wordpress4-4/icons/Small.png" + }, + "payloadLength": 32212604365, + "productKind": "virtualMachine", + "productProperties": { + "version": "4.5.31" + } + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json index 7f60582dbaf8..efd223b6ac7c 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r", - "productKind": "virtualMachineExtension", - "properties": { - "version": "1.4.7", - "vmOsType": "Linux", - "sourceBlob": { - "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r" - }, - "computeRole": "IaaS", - "vmScaleSetEnabled": false, - "supportMultipleExtensions": false, - "isSystemExtension": false - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r", + "productKind": "virtualMachineExtension", + "properties": { + "version": "1.4.7", + "vmOsType": "Linux", + "sourceBlob": { + "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r" + }, + "computeRole": "IaaS", + "vmScaleSetEnabled": false, + "supportMultipleExtensions": false, + "isSystemExtension": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json index 17b9803450dd..1afaafd4fb72 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json index b87c2131b017..1ee0db4940f4 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", - "name": "azurestack", - "type": "Microsoft.AzureStack/registrations", - "location": "global", - "etag": "0d00527e-0000-0000-0000-5a81ebdf0000", - "properties": { - "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee", - "billingModel": "Development" - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", + "name": "azurestack", + "type": "Microsoft.AzureStack/registrations", + "location": "global", + "etag": "0d00527e-0000-0000-0000-5a81ebdf0000", + "properties": { + "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee", + "billingModel": "Development" } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json index cdf12f3724f4..663f74341e68 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", - "name": "testregistration", - "type": "Microsoft.AzureStack/registrations", - "location": "global", - "etag": "0d00527e-0000-0000-0000-5a81ebdf0000", - "properties": { - "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee", - "billingModel": "Development" - } - } - ] + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", + "name": "testregistration", + "type": "Microsoft.AzureStack/registrations", + "location": "global", + "etag": "0d00527e-0000-0000-0000-5a81ebdf0000", + "properties": { + "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee", + "billingModel": "Development" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json index 9a33f833a4d1..1025ed848676 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json @@ -1,31 +1,33 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01", - "token": { - "properties": { - "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9" - }, - "location": "global" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", - "name": "testregistration", - "type": "Microsoft.AzureStack/registrations", - "location": "global", - "tags": { "key1" : "value1" }, - "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", - "properties": { - "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", - "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", - "billingModel": "Development" - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01", + "token": { + "properties": { + "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9" + }, + "location": "global" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", + "name": "testregistration", + "type": "Microsoft.AzureStack/registrations", + "location": "global", + "tags": { + "key1": "value1" + }, + "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", + "properties": { + "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", + "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", + "billingModel": "Development" } + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json index be48955bf8b9..7c3ad851f9b6 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01" - }, - "responses": { - "200": { - "body": { - "activationKey": "EYJRawQioiIzyzkYoDA2zJRJotc0Odg1oDHLM2zIYJfJmTzkYmQ2yYISiCjHbgCIoIjsuZi1niJ9.EyjZDWjzy3JPchrpB25JzcI6iJKWmdfmMZZLltqXzguTngVKYi05oTEZLTc4MGZhnWQWnMiZnIIsiNJLC291CMNLR3JVdXBOyw1LijoiDgVzDciSinjLZ2lZdHJHDGLvbK5hBwuIoijheNN0zxN0czU2mTyilCJjzXJ0UglUbmLuz1JvB3RtDWjqZWn0CyI6WYJDtj1cywx0Aw1vCMugq3liZXJucNvZDCBSB290LCbpVT1dEWJlCLrYdXn0LCbPpuJhBHRPBw9yzSwGqz1JrsJdlcJJZXJ0UglUBMlUZ0ludGvYBwvKawf0zvroDw1iChJPbnRziJpbiJQxN0uYmjUWmZDgQKZBqtrgOTU3NjFeNUfFnzi5RTfBRue3rTNBndiIlCi1neq5rdIWmJM5MdGwqzMYmzE2RuQ5RKY5oDbbnDg5ODHgNeFERjjEiIwiOEEzodc1nuqWotK2ODizRKU4RKezMtE2QtI3N0nfnDQ2rUfdnEu5osisiKFeodk4Qum3M0RgMZMZRUi2mEfDMUy1rKm2QZRcmjiXoUrEQjc5qJCILCI5n0vgrJMWmjg2NZC4oTrcREq0RjLbQzUzrjC4ouJfrTvErJrBrdg2IIWIOTq4rTe2ntI1odYyNdbEndUZMJG3Qui2OuNBrUi4RjJgNEyWmJExnYjdLCJ1c2FnzuVuZhbVaW50IjoIAhr0Chm6Ly9HEnn0DxnndgvzDHdJDtaWMs50cMFMzmLjbwFUywdlCI5UZxQilcjtYxjRZXRwbgFJzUvUzhBVAw50IJoiahR0chm6Ly9tyw5hZ2vTZw50LMf6dxJllMNVBsIsiNVzywdLUMvzb3VyY2VVcmKioIJODHRWczoVl3VzYWDllM1pY3jVC29MdGF6dXJLC3rhy2sUy29tiIwIbwfya2v0cgxhy2vsZxnvdxjJzvvYaSI6imh0dHbzOI8vBWfya2V0CgXhy2uubWLjCm9zb2z0YXp1CmVZdgFjAY5JB20IlcJleHBpCMvzIjoioTk5oS0xMi0zmFQyMzo1OTo1OS45OtK5OTk5wiiSiMNsB3vKswQIoIi2otQ2NDg5ns0ZYTfHLtQ1mgeTotGyNC00yjc2mdhKoTIWM2YIlcJvYMplY3RjzcI6IjvIM2iWNMe4lTljnmmTNdG4OC05ZWiZlWU4y2Rhy2U3NdC5NSisimJPBGxPBmDnb2rlBcI6IKrLdmvsB3btZW50iiWIAGFyzHDHcmvjbMZvijPbEYJUYW1LijoISEMxDTe1YTAYmTIilcj1dwLKiJOINWM5mwu3njyTmjU5Os00oTiwLwi0oDmTNgzhoTiwM2rJYtcxIIWIbnVtq29YZxMIOJISImJpb3MioLsiM2RKMMEwmDDHmtk0nDMwNDhiZmRMyJK4MzC5NjdlY2YiXswibmljIJPBIMvlnjrlmMmXzMRjyzQ5Y2u4n2UXYZzlMZrIzmrimzBhiiwImdc2oWexn2vjzdg2ngM1YwjlnzVJmjLKZjM4mzdjzwMIXSWIy3b1iJpbIjy4Ntm5mgJJzGE0mDRiZgq5ytHhOtK5MGvLZgNkzjM0iiwiMzi3nzGzzWy3n2I4NgqzyJLhmWqYOwe0NzvKOGvLyzuixsWizglzayI6WYI5y2VmNwe3MZU5nDQ0nTc2ymu3yzdmYwnmzJmXmmflmiiSIMvmowyZmMEXZwfhodQ1ntq5ndM1zTUwmDqZMGJhmwnIIL0sIm1LBW9YesI6wyIwMMQwnznHYZC1NGE0ZmuxYTG5mwqzZDhMoWUWMgq2MSISijC3MGU4ZTQ0ODk0YZQwM2RiOTBMZWE2nWYWOwqxyjZkiL19XswidXNhz2vSZXbvCnrpBMDFbMFibGVKijPmyWxzzSwIBWfYa2V0CgXhy2VTEW5KAWNhdgLVBKvuywjszwqIOnryDwUsiMLZC3vlCii6INnvBwvvbMUILcJ2ZXJzaw9uIJOims4WIn0.NkqXrYRthQij4vCeR06SRCIkl44HIRzH8SyOH7za8cm_ObTWk4ZPls_SPYDqQXsOC-SdWUFf1-zbYLbXHSNWpIM_Z6NF2WgMceW78ynPf96sxX9o2R8zcUFf16O0IFqb4SJAlD_JZAsQrdQuC4JkA1AjLFjE4NkTVdxAumK61Ie31C91Nlkqzqyv6cjzoFaj9ybrBu_lTR9-7GR8RxPfpwgNdScRo6VbDQcne8y45PEujA0x-vugmoXjCA7ONM1Z5A2iidzzLEXpHjGHZ5qLMkaQkaN0DimgXw19GlWTFUjDY4JhfEptLdIRlOEpJGn4pmyIYktvHO2W2u5SLcIWha" - } - } + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "activationKey": "EYJRawQioiIzyzkYoDA2zJRJotc0Odg1oDHLM2zIYJfJmTzkYmQ2yYISiCjHbgCIoIjsuZi1niJ9.EyjZDWjzy3JPchrpB25JzcI6iJKWmdfmMZZLltqXzguTngVKYi05oTEZLTc4MGZhnWQWnMiZnIIsiNJLC291CMNLR3JVdXBOyw1LijoiDgVzDciSinjLZ2lZdHJHDGLvbK5hBwuIoijheNN0zxN0czU2mTyilCJjzXJ0UglUbmLuz1JvB3RtDWjqZWn0CyI6WYJDtj1cywx0Aw1vCMugq3liZXJucNvZDCBSB290LCbpVT1dEWJlCLrYdXn0LCbPpuJhBHRPBw9yzSwGqz1JrsJdlcJJZXJ0UglUBMlUZ0ludGvYBwvKawf0zvroDw1iChJPbnRziJpbiJQxN0uYmjUWmZDgQKZBqtrgOTU3NjFeNUfFnzi5RTfBRue3rTNBndiIlCi1neq5rdIWmJM5MdGwqzMYmzE2RuQ5RKY5oDbbnDg5ODHgNeFERjjEiIwiOEEzodc1nuqWotK2ODizRKU4RKezMtE2QtI3N0nfnDQ2rUfdnEu5osisiKFeodk4Qum3M0RgMZMZRUi2mEfDMUy1rKm2QZRcmjiXoUrEQjc5qJCILCI5n0vgrJMWmjg2NZC4oTrcREq0RjLbQzUzrjC4ouJfrTvErJrBrdg2IIWIOTq4rTe2ntI1odYyNdbEndUZMJG3Qui2OuNBrUi4RjJgNEyWmJExnYjdLCJ1c2FnzuVuZhbVaW50IjoIAhr0Chm6Ly9HEnn0DxnndgvzDHdJDtaWMs50cMFMzmLjbwFUywdlCI5UZxQilcjtYxjRZXRwbgFJzUvUzhBVAw50IJoiahR0chm6Ly9tyw5hZ2vTZw50LMf6dxJllMNVBsIsiNVzywdLUMvzb3VyY2VVcmKioIJODHRWczoVl3VzYWDllM1pY3jVC29MdGF6dXJLC3rhy2sUy29tiIwIbwfya2v0cgxhy2vsZxnvdxjJzvvYaSI6imh0dHbzOI8vBWfya2V0CgXhy2uubWLjCm9zb2z0YXp1CmVZdgFjAY5JB20IlcJleHBpCMvzIjoioTk5oS0xMi0zmFQyMzo1OTo1OS45OtK5OTk5wiiSiMNsB3vKswQIoIi2otQ2NDg5ns0ZYTfHLtQ1mgeTotGyNC00yjc2mdhKoTIWM2YIlcJvYMplY3RjzcI6IjvIM2iWNMe4lTljnmmTNdG4OC05ZWiZlWU4y2Rhy2U3NdC5NSisimJPBGxPBmDnb2rlBcI6IKrLdmvsB3btZW50iiWIAGFyzHDHcmvjbMZvijPbEYJUYW1LijoISEMxDTe1YTAYmTIilcj1dwLKiJOINWM5mwu3njyTmjU5Os00oTiwLwi0oDmTNgzhoTiwM2rJYtcxIIWIbnVtq29YZxMIOJISImJpb3MioLsiM2RKMMEwmDDHmtk0nDMwNDhiZmRMyJK4MzC5NjdlY2YiXswibmljIJPBIMvlnjrlmMmXzMRjyzQ5Y2u4n2UXYZzlMZrIzmrimzBhiiwImdc2oWexn2vjzdg2ngM1YwjlnzVJmjLKZjM4mzdjzwMIXSWIy3b1iJpbIjy4Ntm5mgJJzGE0mDRiZgq5ytHhOtK5MGvLZgNkzjM0iiwiMzi3nzGzzWy3n2I4NgqzyJLhmWqYOwe0NzvKOGvLyzuixsWizglzayI6WYI5y2VmNwe3MZU5nDQ0nTc2ymu3yzdmYwnmzJmXmmflmiiSIMvmowyZmMEXZwfhodQ1ntq5ndM1zTUwmDqZMGJhmwnIIL0sIm1LBW9YesI6wyIwMMQwnznHYZC1NGE0ZmuxYTG5mwqzZDhMoWUWMgq2MSISijC3MGU4ZTQ0ODk0YZQwM2RiOTBMZWE2nWYWOwqxyjZkiL19XswidXNhz2vSZXbvCnrpBMDFbMFibGVKijPmyWxzzSwIBWfYa2V0CgXhy2VTEW5KAWNhdgLVBKvuywjszwqIOnryDwUsiMLZC3vlCii6INnvBwvvbMUILcJ2ZXJzaw9uIJOims4WIn0.NkqXrYRthQij4vCeR06SRCIkl44HIRzH8SyOH7za8cm_ObTWk4ZPls_SPYDqQXsOC-SdWUFf1-zbYLbXHSNWpIM_Z6NF2WgMceW78ynPf96sxX9o2R8zcUFf16O0IFqb4SJAlD_JZAsQrdQuC4JkA1AjLFjE4NkTVdxAumK61Ie31C91Nlkqzqyv6cjzoFaj9ybrBu_lTR9-7GR8RxPfpwgNdScRo6VbDQcne8y45PEujA0x-vugmoXjCA7ONM1Z5A2iidzzLEXpHjGHZ5qLMkaQkaN0DimgXw19GlWTFUjDY4JhfEptLdIRlOEpJGn4pmyIYktvHO2W2u5SLcIWha" + } } -} \ No newline at end of file + } +} diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json index 7cbb4fb631bd..8e6b649bf0f4 100644 --- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json +++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json @@ -1,44 +1,44 @@ { - "parameters": { - "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", - "resourceGroup": "azurestack", - "registrationName": "testregistration", - "api-version": "2017-06-01", - "token": { - "properties": { - "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9" - }, - "location": "global" + "parameters": { + "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf", + "resourceGroup": "azurestack", + "registrationName": "testregistration", + "api-version": "2017-06-01", + "token": { + "properties": { + "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9" + }, + "location": "global" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", + "name": "testregistration", + "type": "Microsoft.AzureStack/registrations", + "location": "global", + "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", + "properties": { + "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", + "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", + "billingModel": "Development" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", - "name": "testregistration", - "type": "Microsoft.AzureStack/registrations", - "location": "global", - "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", - "properties": { - "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", - "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", - "billingModel": "Development" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", - "name": "testregistration", - "type": "Microsoft.AzureStack/registrations", - "location": "global", - "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", - "properties": { - "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", - "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", - "billingModel": "Development" - } - } + "201": { + "body": { + "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration", + "name": "testregistration", + "type": "Microsoft.AzureStack/registrations", + "location": "global", + "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"", + "properties": { + "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747", + "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a", + "billingModel": "Development" } + } } -} \ No newline at end of file + } +} From 6f1e66834eda791fb963f14b5c87c707e4d7dff4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:47:00 -0400 Subject: [PATCH 070/495] chore: jsonfmt databox (#6014) Ran `jsonfmt -w "specification/databox/**/*.json"` --- .../stable/2018-01-01/databox.json | 2 +- .../examples/AvailableSkusPost.json | 2 +- .../examples/BookShipmentPickupPost.json | 2 +- .../2018-01-01/examples/JobsCancelPost.json | 2 +- .../2018-01-01/examples/JobsCreate.json | 34 +++++++++---------- .../2018-01-01/examples/JobsDelete.json | 2 +- .../stable/2018-01-01/examples/JobsGet.json | 2 +- .../stable/2018-01-01/examples/JobsGet1.json | 2 +- .../stable/2018-01-01/examples/JobsGet2.json | 2 +- .../stable/2018-01-01/examples/JobsGet3.json | 2 +- .../stable/2018-01-01/examples/JobsGet4.json | 2 +- .../stable/2018-01-01/examples/JobsGet5.json | 2 +- .../stable/2018-01-01/examples/JobsList.json | 4 +-- .../examples/JobsListByResourceGroup.json | 2 +- .../examples/JobsListCredentials.json | 4 +-- .../stable/2018-01-01/examples/JobsPatch.json | 34 +++++++++---------- .../2018-01-01/examples/OperationsGet.json | 2 +- .../examples/ValidateAddressPost.json | 2 +- 18 files changed, 52 insertions(+), 52 deletions(-) diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json index 9545d1d9b568..4a5c289f87f6 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json @@ -2716,4 +2716,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json index edb90016b3de..52a44f69a196 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json @@ -224,4 +224,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json index 09ce8ab47d5a..86cffaf3b40b 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json index c71352be1d9e..27d6c0b10ee1 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json @@ -30,4 +30,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json index 65eb998c1695..a8d3fce74ad3 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json @@ -65,22 +65,22 @@ }, "200": { "body": { - "properties": { - "isCancellable": true, - "isDeletable": false, - "isShippingAddressEditable": true, - "status": "DeviceOrdered", - "startTime": "2018-09-11T17:58:36.6886059+05:30" - }, - "location": "westus", - "tags": {}, - "sku": { - "name": "DataBox" - }, - "name": "SdkJob8367", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367", - "type": "Microsoft.DataBox/jobs" - } + "properties": { + "isCancellable": true, + "isDeletable": false, + "isShippingAddressEditable": true, + "status": "DeviceOrdered", + "startTime": "2018-09-11T17:58:36.6886059+05:30" + }, + "location": "westus", + "tags": {}, + "sku": { + "name": "DataBox" + }, + "name": "SdkJob8367", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367", + "type": "Microsoft.DataBox/jobs" + } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json index 8b481e5adb1b..c6e0b8f29e28 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json index bef4a96185f2..a1d11d207fed 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json index c784056a566b..4748e6807443 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json index d970464ffdbf..93e257f4622a 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json @@ -156,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json index e2c23b5e3497..18711c0a4618 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json @@ -156,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json index bf3086f81943..331fe0fea23d 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json index 4f8570c50369..659ae9d83f67 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json @@ -101,4 +101,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json index b4e79f598e19..dfc3286b7a71 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json @@ -24,7 +24,7 @@ "isDeletable": false, "isShippingAddressEditable": true, "status": "DeviceOrdered", - "startTime": "2018-08-30T14:44:39.77401+05:30" + "startTime": "2018-08-30T14:44:39.77401+05:30" }, "location": "australiaeast", "tags": {}, @@ -499,4 +499,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json index c72f92c28222..6caf68e9601a 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json index 3871bbbc49cf..da9551e1912e 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json @@ -83,6 +83,6 @@ } ] } - } + } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json index c4bd40281503..75d9a8fa2cd4 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json @@ -52,22 +52,22 @@ }, "200": { "body": { - "properties": { - "isCancellable": true, - "isDeletable": false, - "isShippingAddressEditable": true, - "status": "DeviceOrdered", - "startTime": "2018-09-11T17:58:36.6886059+05:30" - }, - "location": "westus", - "tags": {}, - "sku": { - "name": "DataBox" - }, - "name": "SdkJob8367", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367", - "type": "Microsoft.DataBox/jobs" - } + "properties": { + "isCancellable": true, + "isDeletable": false, + "isShippingAddressEditable": true, + "status": "DeviceOrdered", + "startTime": "2018-09-11T17:58:36.6886059+05:30" + }, + "location": "westus", + "tags": {}, + "sku": { + "name": "DataBox" + }, + "name": "SdkJob8367", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367", + "type": "Microsoft.DataBox/jobs" + } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json index 9d38e7506c0b..bd86f8e89e59 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json index 864fd09dd723..a45ddf504dfd 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} From 7925394eb6cd626a9f8adc06c61e6bb9be660d31 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:47:53 -0400 Subject: [PATCH 071/495] chore: jsonfmt datafactory (#6017) Ran `jsonfmt -w "specification/datafactory/**/*.json"` --- .../2017-09-01-preview/datafactory.json | 2760 ++++++++--------- .../entityTypes/Dataset.json | 208 +- .../entityTypes/LinkedService.json | 1520 ++++----- .../entityTypes/Pipeline.json | 6 +- .../entityTypes/Trigger.json | 8 +- .../examples/Datasets_Create.json | 2 +- .../examples/Datasets_Delete.json | 2 +- .../examples/Datasets_Get.json | 2 +- .../examples/Datasets_ListByFactory.json | 2 +- .../examples/Datasets_Update.json | 2 +- .../examples/Factories_CancelPipelineRun.json | 2 +- .../examples/Factories_Delete.json | 2 +- .../IntegrationRuntimeNodes_Delete.json | 2 +- .../IntegrationRuntimeNodes_GetIpAddress.json | 2 +- .../IntegrationRuntimeNodes_Update.json | 2 +- .../examples/IntegrationRuntimes_Create.json | 2 +- .../examples/IntegrationRuntimes_Delete.json | 2 +- .../examples/IntegrationRuntimes_Get.json | 2 +- ...IntegrationRuntimes_GetConnectionInfo.json | 2 +- ...IntegrationRuntimes_GetMonitoringData.json | 2 +- .../IntegrationRuntimes_GetStatus.json | 2 +- .../IntegrationRuntimes_ListAuthKeys.json | 2 +- .../IntegrationRuntimes_ListByFactory.json | 2 +- ...IntegrationRuntimes_RegenerateAuthKey.json | 2 +- .../IntegrationRuntimes_RemoveNode.json | 2 +- .../examples/IntegrationRuntimes_Start.json | 2 +- .../examples/IntegrationRuntimes_Stop.json | 2 +- .../IntegrationRuntimes_SyncCredentials.json | 2 +- .../examples/IntegrationRuntimes_Update.json | 2 +- .../examples/IntegrationRuntimes_Upgrade.json | 2 +- .../examples/LinkedServices_Create.json | 2 +- .../examples/LinkedServices_Delete.json | 2 +- .../examples/LinkedServices_Get.json | 2 +- .../LinkedServices_ListByFactory.json | 2 +- .../examples/LinkedServices_Update.json | 2 +- .../examples/Operations_List.json | 2 +- .../examples/PipelineRuns_Get.json | 2 +- .../examples/PipelineRuns_QueryByFactory.json | 2 +- .../examples/Pipelines_Create.json | 2 +- .../examples/Pipelines_CreateRun.json | 2 +- .../examples/Pipelines_Delete.json | 2 +- .../examples/Pipelines_Get.json | 2 +- .../examples/Pipelines_ListByFactory.json | 2 +- .../examples/Pipelines_Update.json | 2 +- .../examples/Triggers_Create.json | 2 +- .../examples/Triggers_Delete.json | 2 +- .../examples/Triggers_Get.json | 2 +- .../examples/Triggers_ListByFactory.json | 2 +- .../examples/Triggers_ListRuns.json | 2 +- .../examples/Triggers_Start.json | 2 +- .../examples/Triggers_Stop.json | 2 +- .../examples/Triggers_Update.json | 2 +- .../stable/2018-06-01/datafactory.json | 18 +- .../2018-06-01/entityTypes/Dataset.json | 123 +- .../2018-06-01/entityTypes/LinkedService.json | 2 +- .../2018-06-01/entityTypes/Pipeline.json | 38 +- .../ActivityRuns_QueryByPipelineRun.json | 2 +- .../2018-06-01/examples/Datasets_Create.json | 2 +- .../2018-06-01/examples/Datasets_Delete.json | 2 +- .../2018-06-01/examples/Datasets_Get.json | 2 +- .../examples/Datasets_ListByFactory.json | 2 +- .../2018-06-01/examples/Datasets_Update.json | 2 +- .../ExposureControl_GetFeatureValue.json | 2 +- ...osureControl_GetFeatureValueByFactory.json | 2 +- .../Factories_ConfigureFactoryRepo.json | 2 +- .../examples/Factories_CreateOrUpdate.json | 2 +- .../2018-06-01/examples/Factories_Delete.json | 2 +- .../2018-06-01/examples/Factories_Get.json | 2 +- .../Factories_GetDataPlaneAccess.json | 2 +- .../Factories_GetGitHubAccessToken.json | 4 +- .../2018-06-01/examples/Factories_List.json | 2 +- .../Factories_ListByResourceGroup.json | 2 +- .../2018-06-01/examples/Factories_Update.json | 2 +- .../IntegrationRuntimeNodes_Delete.json | 2 +- .../examples/IntegrationRuntimeNodes_Get.json | 2 +- .../IntegrationRuntimeNodes_GetIpAddress.json | 2 +- .../IntegrationRuntimeNodes_Update.json | 2 +- .../IntegrationRuntimeObjectMetadata_Get.json | 2 +- ...egrationRuntimeObjectMetadata_Refresh.json | 2 +- .../examples/IntegrationRuntimes_Create.json | 2 +- ...ntimes_CreateLinkedIntegrationRuntime.json | 2 +- .../examples/IntegrationRuntimes_Delete.json | 2 +- .../examples/IntegrationRuntimes_Get.json | 2 +- ...IntegrationRuntimes_GetConnectionInfo.json | 2 +- ...IntegrationRuntimes_GetMonitoringData.json | 2 +- .../IntegrationRuntimes_GetStatus.json | 2 +- .../IntegrationRuntimes_ListAuthKeys.json | 2 +- .../IntegrationRuntimes_ListByFactory.json | 2 +- ...IntegrationRuntimes_RegenerateAuthKey.json | 2 +- .../IntegrationRuntimes_RemoveLinks.json | 2 +- .../examples/IntegrationRuntimes_Start.json | 2 +- .../examples/IntegrationRuntimes_Stop.json | 2 +- .../IntegrationRuntimes_SyncCredentials.json | 2 +- .../examples/IntegrationRuntimes_Update.json | 2 +- .../examples/IntegrationRuntimes_Upgrade.json | 2 +- .../examples/LinkedServices_Create.json | 2 +- .../examples/LinkedServices_Delete.json | 2 +- .../examples/LinkedServices_Get.json | 2 +- .../LinkedServices_ListByFactory.json | 2 +- .../examples/LinkedServices_Update.json | 2 +- .../2018-06-01/examples/Operations_List.json | 2 +- .../examples/PipelineRuns_Cancel.json | 2 +- .../2018-06-01/examples/PipelineRuns_Get.json | 2 +- .../examples/PipelineRuns_QueryByFactory.json | 2 +- .../2018-06-01/examples/Pipelines_Create.json | 2 +- .../examples/Pipelines_CreateRun.json | 2 +- .../2018-06-01/examples/Pipelines_Delete.json | 2 +- .../2018-06-01/examples/Pipelines_Get.json | 2 +- .../examples/Pipelines_ListByFactory.json | 2 +- .../2018-06-01/examples/Pipelines_Update.json | 2 +- .../examples/RerunTriggers_Cancel.json | 2 +- .../examples/RerunTriggers_Create.json | 2 +- .../examples/RerunTriggers_ListByTrigger.json | 2 +- .../examples/RerunTriggers_Start.json | 2 +- .../examples/RerunTriggers_Stop.json | 2 +- .../examples/TriggerRuns_QueryByFactory.json | 2 +- .../2018-06-01/examples/Triggers_Create.json | 2 +- .../2018-06-01/examples/Triggers_Delete.json | 2 +- .../2018-06-01/examples/Triggers_Get.json | 2 +- .../examples/Triggers_ListByFactory.json | 2 +- .../2018-06-01/examples/Triggers_Start.json | 2 +- .../2018-06-01/examples/Triggers_Stop.json | 2 +- .../2018-06-01/examples/Triggers_Update.json | 2 +- 123 files changed, 2440 insertions(+), 2473 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json index 4450974be30d..4c51aad52d49 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json @@ -2448,1454 +2448,1454 @@ } } }, - "definitions": { - "Resource": { - "x-ms-azure-resource": true, - "description": "Azure Data Factory top-level resource.", - "properties": { - "id": { - "type": "string", - "description": "The resource identifier.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The resource name.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "The resource type.", - "readOnly": true + "definitions": { + "Resource": { + "x-ms-azure-resource": true, + "description": "Azure Data Factory top-level resource.", + "properties": { + "id": { + "type": "string", + "description": "The resource identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "location": { - "type": "string", - "description": "The resource location.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The resource tags." - } + "description": "The resource tags." } - }, - "SubResource": { - "description": "Azure Data Factory nested resource, which belongs to a factory.", - "properties": { - "id": { - "type": "string", - "description": "The resource identifier.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The resource name.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "The resource type.", - "readOnly": true - }, - "etag": { - "type": "string", - "description": "Etag identifies change in the resource.", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "Expression": { - "description": "Azure Data Factory expression definition.", - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Expression type.", - "enum": [ - "Expression" - ] - }, - "value": { - "type": "string", - "description": "Expression value." - } - }, - "required": [ - "type", - "value" - ] - }, - "SecureString": { - "x-ms-discriminator-value": "SecureString", - "description": "Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SecretBase" - } - ], + } + }, + "SubResource": { + "description": "Azure Data Factory nested resource, which belongs to a factory.", + "properties": { + "id": { + "type": "string", + "description": "The resource identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "Etag identifies change in the resource.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "Expression": { + "description": "Azure Data Factory expression definition.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Expression type.", + "enum": [ + "Expression" + ] + }, + "value": { + "type": "string", + "description": "Expression value." + } + }, + "required": [ + "type", + "value" + ] + }, + "SecureString": { + "x-ms-discriminator-value": "SecureString", + "description": "Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretBase" + } + ], + "properties": { + "value": { + "type": "string", + "description": "Value of secure string." + } + }, + "required": [ + "value" + ] + }, + "AzureKeyVaultSecretReference": { + "x-ms-discriminator-value": "AzureKeyVaultSecret", + "description": "Azure Key Vault secret reference.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretBase" + } + ], + "properties": { + "store": { + "description": "The Azure Key Vault linked service reference.", + "$ref": "#/definitions/LinkedServiceReference" + }, + "secretName": { + "type": "object", + "description": "The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string)." + }, + "secretVersion": { + "type": "object", + "description": "The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "store", + "secretName" + ] + }, + "SecretBase": { + "description": "The base definition of a secret type.", + "discriminator": "type", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the secret." + } + }, + "required": [ + "type" + ] + }, + "FactoryListResponse": { + "description": "A list of factory resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of factories.", + "items": { + "$ref": "#/definitions/Factory" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "IntegrationRuntimeListResponse": { + "description": "A list of integration runtime resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of integration runtimes.", + "items": { + "$ref": "#/definitions/IntegrationRuntimeResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "IntegrationRuntimeReference": { + "description": "Integration runtime reference type.", + "properties": { + "type": { + "type": "string", + "description": "Type of integration runtime.", + "enum": [ + "IntegrationRuntimeReference" + ] + }, + "referenceName": { + "type": "string", + "description": "Reference integration runtime name." + }, + "parameters": { + "$ref": "#/definitions/ParameterValueSpecification", + "description": "Arguments for integration runtime." + } + }, + "required": [ + "type", + "referenceName" + ] + }, + "IntegrationRuntimeResource": { + "description": "Integration runtime resource type.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { "properties": { - "value": { - "type": "string", - "description": "Value of secure string." - } - }, - "required": [ - "value" - ] + "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime", + "description": "Integration runtime properties." + } }, - "AzureKeyVaultSecretReference": { - "x-ms-discriminator-value": "AzureKeyVaultSecret", - "description": "Azure Key Vault secret reference.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SecretBase" - } - ], - "properties": { - "store": { - "description": "The Azure Key Vault linked service reference.", - "$ref": "#/definitions/LinkedServiceReference" - }, - "secretName": { - "type": "object", - "description": "The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string)." - }, - "secretVersion": { - "type": "object", - "description": "The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string)." - } + "required": [ + "properties" + ] + }, + "IntegrationRuntimeStatusResponse": { + "description": "Integration runtime status response.", + "properties": { + "name": { + "type": "string", + "description": "The integration runtime name.", + "readOnly": true }, - "required": [ - "store", - "secretName" - ] - }, - "SecretBase": { - "description": "The base definition of a secret type.", - "discriminator": "type", - "type": "object", "properties": { - "type": { - "type": "string", - "description": "Type of the secret." - } - }, - "required": [ - "type" - ] + "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeStatus", + "description": "Integration runtime properties." + } }, - "FactoryListResponse": { - "description": "A list of factory resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of factories.", - "items": { - "$ref": "#/definitions/Factory" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } + "required": [ + "properties" + ] + }, + "IntegrationRuntimeStatusListResponse": { + "description": "A list of integration runtime status.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of integration runtime status.", + "items": { + "$ref": "#/definitions/IntegrationRuntimeStatusResponse" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "UpdateIntegrationRuntimeRequest": { + "description": "Update integration runtime request.", + "type": "object", + "properties": { + "autoUpdate": { + "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189.", + "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeAutoUpdate" + }, + "updateDelayOffset": { + "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time.", + "type": "string" + } + } + }, + "UpdateIntegrationRuntimeNodeRequest": { + "description": "Update integration runtime node request.", + "type": "object", + "properties": { + "concurrentJobsLimit": { + "description": "The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.", + "type": "integer", + "minimum": 1 + } + } + }, + "LinkedServiceListResponse": { + "description": "A list of linked service resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of linked services.", + "items": { + "$ref": "#/definitions/LinkedServiceResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "DatasetListResponse": { + "description": "A list of dataset resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of datasets.", + "items": { + "$ref": "#/definitions/DatasetResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "PipelineListResponse": { + "description": "A list of pipeline resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of pipelines.", + "items": { + "$ref": "#/definitions/PipelineResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "TriggerListResponse": { + "description": "A list of trigger resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of triggers.", + "items": { + "$ref": "#/definitions/TriggerResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "CreateRunResponse": { + "description": "Response body with a run identifier.", + "type": "object", + "properties": { + "runId": { + "description": "Identifier of a run.", + "type": "string" } }, - "IntegrationRuntimeListResponse": { - "description": "A list of integration runtime resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of integration runtimes.", - "items": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" + "required": [ + "runId" + ] + }, + "ErrorResponse": { + "description": "The object that defines the structure of an Azure Data Factory response.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message.", + "type": "string" + }, + "target": { + "description": "Property name/path in request associated with error.", + "type": "string" + }, + "details": { + "description": "Array with additional error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorResponse" } } }, - "IntegrationRuntimeReference": { - "description": "Integration runtime reference type.", - "properties": { - "type": { - "type": "string", - "description": "Type of integration runtime.", - "enum": [ - "IntegrationRuntimeReference" - ] - }, - "referenceName": { - "type": "string", - "description": "Reference integration runtime name." - }, - "parameters": { - "$ref": "#/definitions/ParameterValueSpecification", - "description": "Arguments for integration runtime." - } + "required": [ + "code", + "message" + ] + }, + "ParameterDefinitionSpecification": { + "description": "Definition of all parameters for an entity.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ParameterSpecification" + } + }, + "ParameterSpecification": { + "description": "Definition of a single parameter for an entity.", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Parameter type.", + "enum": [ + "Object", + "String", + "Int", + "Float", + "Bool", + "Array", + "SecureString" + ], + "x-ms-enum": { + "name": "ParameterType", + "modelAsString": true + } + }, + "defaultValue": { + "type": "object", + "description": "Default value of parameter." + } + }, + "required": [ + "type" + ] + }, + "ParameterValueSpecification": { + "description": "An object mapping parameter names to argument values.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "FactoryVSTSConfiguration": { + "description": "Factory's VSTS repo information.", + "properties": { + "accountName": { + "description": "VSTS account name.", + "type": "string" }, - "required": [ - "type", - "referenceName" - ] - }, - "IntegrationRuntimeResource": { - "description": "Integration runtime resource type.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime", - "description": "Integration runtime properties." - } + "projectName": { + "description": "VSTS project name.", + "type": "string" }, - "required": [ - "properties" - ] - }, - "IntegrationRuntimeStatusResponse": { - "description": "Integration runtime status response.", - "properties": { - "name": { - "type": "string", - "description": "The integration runtime name.", - "readOnly": true - }, - "properties": { - "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeStatus", - "description": "Integration runtime properties." - } + "repositoryName": { + "description": "VSTS repository name.", + "type": "string" }, - "required": [ - "properties" - ] - }, - "IntegrationRuntimeStatusListResponse": { - "description": "A list of integration runtime status.", - "type": "object", - "required": [ - "value" - ], + "collaborationBranch": { + "description": "VSTS collaboration branch.", + "type": "string" + }, + "rootFolder": { + "description": "VSTS root folder.", + "type": "string" + }, + "lastCommitId": { + "description": "VSTS last commit id.", + "type": "string" + }, + "tenantId": { + "description": "VSTS tenant id.", + "type": "string" + } + } + }, + "FactoryRepoUpdate": { + "description": "Factory's VSTS repo information.", + "properties": { + "factoryResourceId": { + "description": "The factory resource id.", + "type": "string" + }, + "resourceGroupName": { + "description": "The resource group name.", + "type": "string" + }, + "vstsConfiguration": { + "$ref": "#/definitions/FactoryVSTSConfiguration", + "description": "VSTS repo information of the factory." + } + } + }, + "FactoryProperties": { + "description": "Factory resource properties.", + "properties": { + "provisioningState": { + "description": "Factory provisioning state, example Succeeded.", + "type": "string", + "readOnly": true + }, + "createTime": { + "description": "Time the factory was created in ISO8601 format.", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "version": { + "description": "Version of the factory.", + "type": "string", + "readOnly": true + }, + "vstsConfiguration": { + "$ref": "#/definitions/FactoryVSTSConfiguration", + "description": "VSTS repo information of the factory." + } + } + }, + "PipelineResource": { + "description": "Pipeline resource type.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { "properties": { - "value": { - "type": "array", - "description": "List of integration runtime status.", - "items": { - "$ref": "#/definitions/IntegrationRuntimeStatusResponse" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } + "x-ms-client-flatten": true, + "$ref": "./entityTypes/Pipeline.json#/definitions/Pipeline", + "description": "Properties of the pipeline." } }, - "UpdateIntegrationRuntimeRequest": { - "description": "Update integration runtime request.", - "type": "object", + "additionalProperties": { + "type": "object" + }, + "required": [ + "properties" + ] + }, + "PipelineReference": { + "description": "Pipeline reference type.", + "properties": { + "type": { + "type": "string", + "description": "Pipeline reference type.", + "enum": [ + "PipelineReference" + ] + }, + "referenceName": { + "type": "string", + "description": "Reference pipeline name." + }, + "name": { + "type": "string", + "description": "Reference name." + } + }, + "required": [ + "type", + "referenceName" + ] + }, + "TriggerPipelineReference": { + "description": "Pipeline that needs to be triggered with the given parameters.", + "properties": { + "pipelineReference": { + "description": "Pipeline reference.", + "$ref": "#/definitions/PipelineReference" + }, + "parameters": { + "description": "Pipeline parameters.", + "$ref": "#/definitions/ParameterValueSpecification" + } + } + }, + "TriggerResource": { + "description": "Trigger resource type.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { "properties": { - "autoUpdate": { - "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189.", - "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeAutoUpdate" - }, - "updateDelayOffset": { - "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time.", - "type": "string" - } + "$ref": "./entityTypes/Trigger.json#/definitions/Trigger", + "description": "Properties of the trigger." } }, - "UpdateIntegrationRuntimeNodeRequest": { - "description": "Update integration runtime node request.", - "type": "object", + "required": [ + "properties" + ] + }, + "Factory": { + "description": "Factory resource type.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/FactoryIdentity", + "description": "Managed service identity of the factory." + }, "properties": { - "concurrentJobsLimit": { - "description": "The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.", - "type": "integer", - "minimum": 1 - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/FactoryProperties", + "description": "Properties of the factory." } }, - "LinkedServiceListResponse": { - "description": "A list of linked service resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of linked services.", - "items": { - "$ref": "#/definitions/LinkedServiceResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", + "additionalProperties": { + "type": "object" + } + }, + "FactoryUpdateParameters": { + "description": "Parameters for updating a factory resource.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "description": "The resource tags." + }, + "identity": { + "$ref": "#/definitions/FactoryIdentity", + "description": "Managed service identity of the factory." } - }, - "DatasetListResponse": { - "description": "A list of dataset resources.", - "type": "object", - "required": [ - "value" - ], + } + }, + "FactoryIdentity": { + "description": "Identity properties of the factory resource.", + "properties": { + "type": { + "type": "string", + "description": "The identity type. Currently the only supported type is 'SystemAssigned'.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "FactoryIdentityType", + "modelAsString": false + } + }, + "principalId": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "The principal id of the identity." + }, + "tenantId": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "The client tenant id of the identity." + } + }, + "required": [ + "type" + ] + }, + "DatasetReference": { + "description": "Dataset reference type.", + "properties": { + "type": { + "type": "string", + "description": "Dataset reference type.", + "enum": [ + "DatasetReference" + ] + }, + "referenceName": { + "type": "string", + "description": "Reference dataset name." + }, + "parameters": { + "$ref": "#/definitions/ParameterValueSpecification", + "description": "Arguments for dataset." + } + }, + "required": [ + "type", + "referenceName" + ] + }, + "DatasetResource": { + "description": "Dataset resource type.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { "properties": { - "value": { - "type": "array", - "description": "List of datasets.", - "items": { - "$ref": "#/definitions/DatasetResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } + "$ref": "./entityTypes/Dataset.json#/definitions/Dataset", + "description": "Dataset properties." } }, - "PipelineListResponse": { - "description": "A list of pipeline resources.", - "type": "object", - "required": [ - "value" - ], + "required": [ + "properties" + ] + }, + "LinkedServiceReference": { + "description": "Linked service reference type.", + "properties": { + "type": { + "type": "string", + "description": "Linked service reference type.", + "enum": [ + "LinkedServiceReference" + ] + }, + "referenceName": { + "type": "string", + "description": "Reference LinkedService name." + }, + "parameters": { + "$ref": "#/definitions/ParameterValueSpecification", + "description": "Arguments for LinkedService." + } + }, + "required": [ + "type", + "referenceName" + ] + }, + "LinkedServiceResource": { + "description": "Linked service resource type.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { "properties": { - "value": { - "type": "array", - "description": "List of pipelines.", - "items": { - "$ref": "#/definitions/PipelineResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } + "$ref": "./entityTypes/LinkedService.json#/definitions/LinkedService", + "description": "Properties of linked service." } }, - "TriggerListResponse": { - "description": "A list of trigger resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of triggers.", - "items": { - "$ref": "#/definitions/TriggerResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", + "required": [ + "properties" + ] + }, + "PipelineRunFilterParameters": { + "description": "Query parameters for listing pipeline runs.", + "type": "object", + "properties": { + "continuationToken": { + "description": "The continuation token for getting the next page of results. Null for first page.", + "type": "string" + }, + "lastUpdatedAfter": { + "description": "The time at or after which the pipeline run event was updated in 'ISO 8601' format.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedBefore": { + "description": "The time at or before which the pipeline run event was updated in 'ISO 8601' format.", + "type": "string", + "format": "date-time" + }, + "filters": { + "type": "array", + "description": "List of filters.", + "items": { + "$ref": "#/definitions/PipelineRunQueryFilter" + } + }, + "orderBy": { + "type": "array", + "description": "List of OrderBy option.", + "items": { + "$ref": "#/definitions/PipelineRunQueryOrderBy" + } + } + }, + "required": [ + "lastUpdatedAfter", + "lastUpdatedBefore" + ] + }, + "PipelineRunQueryFilter": { + "description": "Query filter option for listing pipeline runs.", + "type": "object", + "properties": { + "operand": { + "description": "Parameter name to be used for filter.", + "type": "string", + "enum": [ + "PipelineName", + "Status", + "RunStart", + "RunEnd" + ], + "x-ms-enum": { + "name": "PipelineRunQueryFilterOperand", + "modelAsString": true + } + }, + "operator": { + "description": "Operator to be used for filter.", + "type": "string", + "enum": [ + "Equals", + "NotEquals", + "In", + "NotIn" + ], + "x-ms-enum": { + "name": "PipelineRunQueryFilterOperator", + "modelAsString": true + } + }, + "values": { + "type": "array", + "description": "List of filter values.", + "items": { "type": "string" } } }, - "CreateRunResponse": { - "description": "Response body with a run identifier.", - "type": "object", - "properties": { - "runId": { - "description": "Identifier of a run.", + "required": [ + "operand", + "operator", + "values" + ] + }, + "PipelineRunQueryOrderBy": { + "description": "An object to provide order by options for listing pipeline runs.", + "type": "object", + "properties": { + "orderBy": { + "description": "Parameter name to be used for order by.", + "type": "string", + "enum": [ + "RunStart", + "RunEnd" + ], + "x-ms-enum": { + "name": "PipelineRunQueryOrderByField", + "modelAsString": true + } + }, + "order": { + "description": "Sorting order of the parameter.", + "type": "string", + "enum": [ + "ASC", + "DESC" + ], + "x-ms-enum": { + "name": "PipelineRunQueryOrder", + "modelAsString": true + } + } + }, + "required": [ + "orderBy", + "order" + ] + }, + "PipelineRunQueryResponse": { + "description": "A list pipeline runs.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of pipeline runs.", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "continuationToken": { + "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise.", + "type": "string" + } + } + }, + "PipelineRun": { + "description": "Information about a pipeline run.", + "type": "object", + "properties": { + "runId": { + "description": "Identifier of a run.", + "type": "string", + "readOnly": true + }, + "pipelineName": { + "description": "The pipeline name.", + "type": "string", + "readOnly": true + }, + "parameters": { + "description": "The full or partial list of parameter name, value pair used in the pipeline run.", + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "readOnly": true + }, + "invokedBy": { + "description": "Entity that started the pipeline run.", + "$ref": "#/definitions/PipelineRunInvokedBy", + "readOnly": true + }, + "lastUpdated": { + "description": "The last updated timestamp for the pipeline run event in ISO8601 format.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "runStart": { + "description": "The start time of a pipeline run in ISO8601 format.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "runEnd": { + "description": "The end time of a pipeline run in ISO8601 format.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "durationInMs": { + "description": "The duration of a pipeline run.", + "type": "integer", + "readOnly": true + }, + "status": { + "description": "The status of a pipeline run.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The message from a pipeline run.", + "type": "string", + "readOnly": true + } + }, + "additionalProperties": { + "type": "object" + } + }, + "PipelineRunInvokedBy": { + "description": "Provides entity name and id that started the pipeline run.", + "type": "object", + "properties": { + "name": { + "description": "Name of the entity that started the pipeline run.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The ID of the entity that started the run.", + "type": "string", + "readOnly": true + } + } + }, + "ActivityRunsListResponse": { + "description": "A list activity runs.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of activity runs.", + "items": { + "$ref": "#/definitions/ActivityRun" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "ActivityRun": { + "description": "Information about an activity run in a pipeline.", + "type": "object", + "properties": { + "pipelineName": { + "description": "The name of the pipeline.", + "type": "string", + "readOnly": true + }, + "pipelineRunId": { + "description": "The id of the pipeline run.", + "type": "string", + "readOnly": true + }, + "activityName": { + "description": "The name of the activity.", + "type": "string", + "readOnly": true + }, + "activityType": { + "description": "The type of the activity.", + "type": "string", + "readOnly": true + }, + "activityRunId": { + "description": "The id of the activity run.", + "type": "string", + "readOnly": true + }, + "linkedServiceName": { + "description": "The name of the compute linked service.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The status of the activity run.", + "type": "string", + "readOnly": true + }, + "activityRunStart": { + "description": "The start time of the activity run in 'ISO 8601' format.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "activityRunEnd": { + "description": "The end time of the activity run in 'ISO 8601' format.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "durationInMs": { + "description": "The duration of the activity run.", + "type": "integer", + "readOnly": true + }, + "input": { + "description": "The input for the activity.", + "type": "object", + "readOnly": true + }, + "output": { + "description": "The output for the activity.", + "type": "object", + "readOnly": true + }, + "error": { + "description": "The error if any from the activity run.", + "type": "object", + "readOnly": true + } + }, + "additionalProperties": { + "type": "object" + } + }, + "TriggerRunListResponse": { + "description": "A list of trigger runs.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of trigger runs.", + "items": { + "$ref": "#/definitions/TriggerRun" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, + "TriggerRun": { + "description": "Trigger runs.", + "type": "object", + "properties": { + "triggerRunId": { + "type": "string", + "description": "Trigger run id.", + "readOnly": true + }, + "triggerName": { + "type": "string", + "description": "Trigger name.", + "readOnly": true + }, + "triggerType": { + "type": "string", + "description": "Trigger type.", + "readOnly": true + }, + "triggerRunTimestamp": { + "type": "string", + "format": "date-time", + "description": "Trigger run start time.", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Inprogress" + ], + "x-ms-enum": { + "name": "TriggerRunStatus", + "modelAsString": true + }, + "description": "Trigger run status.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Trigger error message.", + "readOnly": true }, - "required": [ - "runId" - ] - }, - "ErrorResponse": { - "description": "The object that defines the structure of an Azure Data Factory response.", - "type": "object", "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message.", + "description": "List of property name and value related to trigger run. Name, value pair depends on type of trigger.", + "type": "object", + "additionalProperties": { "type": "string" }, - "target": { - "description": "Property name/path in request associated with error.", + "readOnly": true + }, + "triggeredPipelines": { + "description": "List of pipeline name and run Id triggered by the trigger run.", + "type": "object", + "additionalProperties": { "type": "string" }, - "details": { - "description": "Array with additional error details.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "required": [ - "code", - "message" - ] - }, - "ParameterDefinitionSpecification": { - "description": "Definition of all parameters for an entity.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterSpecification" + "readOnly": true } }, - "ParameterSpecification": { - "description": "Definition of a single parameter for an entity.", - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Parameter type.", - "enum": [ - "Object", - "String", - "Int", - "Float", - "Bool", - "Array", - "SecureString" - ], - "x-ms-enum": { - "name": "ParameterType", - "modelAsString": true - } - }, - "defaultValue": { - "type": "object", - "description": "Default value of parameter." - } - }, - "required": [ - "type" - ] - }, - "ParameterValueSpecification": { - "description": "An object mapping parameter names to argument values.", - "type": "object", - "additionalProperties": { - "type": "object" + "additionalProperties": { + "type": "object" + } + }, + "OperationListResponse": { + "description": "A list of operations that can be performed by the Data Factory service.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Data Factory operations supported by the Data Factory resource provider." + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of results, if any remaining results exist." } - }, - "FactoryVSTSConfiguration": { - "description": "Factory's VSTS repo information.", - "properties": { - "accountName": { - "description": "VSTS account name.", - "type": "string" - }, - "projectName": { - "description": "VSTS project name.", - "type": "string" - }, - "repositoryName": { - "description": "VSTS repository name.", - "type": "string" - }, - "collaborationBranch": { - "description": "VSTS collaboration branch.", - "type": "string" - }, - "rootFolder": { - "description": "VSTS root folder.", - "type": "string" - }, - "lastCommitId": { - "description": "VSTS last commit id.", - "type": "string" - }, - "tenantId": { - "description": "VSTS tenant id.", - "type": "string" - } - } - }, - "FactoryRepoUpdate": { - "description": "Factory's VSTS repo information.", - "properties": { - "factoryResourceId": { - "description": "The factory resource id.", - "type": "string" - }, - "resourceGroupName": { - "description": "The resource group name.", - "type": "string" - }, - "vstsConfiguration": { - "$ref": "#/definitions/FactoryVSTSConfiguration", - "description": "VSTS repo information of the factory." - } - } - }, - "FactoryProperties": { - "description": "Factory resource properties.", - "properties": { - "provisioningState": { - "description": "Factory provisioning state, example Succeeded.", - "type": "string", - "readOnly": true - }, - "createTime": { - "description": "Time the factory was created in ISO8601 format.", - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "version": { - "description": "Version of the factory.", - "type": "string", - "readOnly": true - }, - "vstsConfiguration": { - "$ref": "#/definitions/FactoryVSTSConfiguration", - "description": "VSTS repo information of the factory." - } - } - }, - "PipelineResource": { - "description": "Pipeline resource type.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "./entityTypes/Pipeline.json#/definitions/Pipeline", - "description": "Properties of the pipeline." - } - }, - "additionalProperties": { - "type": "object" - }, - "required": [ - "properties" - ] - }, - "PipelineReference": { - "description": "Pipeline reference type.", - "properties": { - "type": { - "type": "string", - "description": "Pipeline reference type.", - "enum": [ - "PipelineReference" - ] - }, - "referenceName": { - "type": "string", - "description": "Reference pipeline name." - }, - "name": { - "type": "string", - "description": "Reference name." - } - }, - "required": [ - "type", - "referenceName" - ] - }, - "TriggerPipelineReference": { - "description": "Pipeline that needs to be triggered with the given parameters.", - "properties": { - "pipelineReference": { - "description": "Pipeline reference.", - "$ref": "#/definitions/PipelineReference" - }, - "parameters": { - "description": "Pipeline parameters.", - "$ref": "#/definitions/ParameterValueSpecification" - } - } - }, - "TriggerResource": { - "description": "Trigger resource type.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "./entityTypes/Trigger.json#/definitions/Trigger", - "description": "Properties of the trigger." - } - }, - "required": [ - "properties" - ] - }, - "Factory": { - "description": "Factory resource type.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "identity": { - "$ref": "#/definitions/FactoryIdentity", - "description": "Managed service identity of the factory." - }, + } + }, + "Operation": { + "description": "Azure Data Factory API operation definition.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "origin": { + "description": "The intended executor of the operation.", + "type": "string" + }, + "display": { + "description": "Metadata associated with the operation.", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FactoryProperties", - "description": "Properties of the factory." - } - }, - "additionalProperties": { - "type": "object" - } - }, - "FactoryUpdateParameters": { - "description": "Parameters for updating a factory resource.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { + "description": { + "description": "The description of the operation.", "type": "string" }, - "description": "The resource tags." - }, - "identity": { - "$ref": "#/definitions/FactoryIdentity", - "description": "Managed service identity of the factory." - } - } - }, - "FactoryIdentity": { - "description": "Identity properties of the factory resource.", - "properties": { - "type": { - "type": "string", - "description": "The identity type. Currently the only supported type is 'SystemAssigned'.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "FactoryIdentityType", - "modelAsString": false + "provider": { + "description": "The name of the provider.", + "type": "string" + }, + "resource": { + "description": "The name of the resource type on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The type of operation: get, read, delete, etc.", + "type": "string" } - }, - "principalId": { - "type": "string", - "format": "uuid", - "readOnly": true, - "description": "The principal id of the identity." - }, - "tenantId": { - "type": "string", - "format": "uuid", - "readOnly": true, - "description": "The client tenant id of the identity." } }, - "required": [ - "type" - ] - }, - "DatasetReference": { - "description": "Dataset reference type.", "properties": { - "type": { - "type": "string", - "description": "Dataset reference type.", - "enum": [ - "DatasetReference" - ] - }, - "referenceName": { - "type": "string", - "description": "Reference dataset name." - }, - "parameters": { - "$ref": "#/definitions/ParameterValueSpecification", - "description": "Arguments for dataset." + "description": "Additional details about the operation.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationProperties" + } + } + }, + "OperationProperties": { + "description": "Additional details about an operation.", + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "serviceSpecification": { + "description": "Details about a service operation.", + "$ref": "#/definitions/OperationServiceSpecification" + } + } + }, + "OperationServiceSpecification": { + "description": "Details about a service operation.", + "type": "object", + "properties": { + "logSpecifications": { + "description": "Details about operations related to logs.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationLogSpecification" } }, - "required": [ - "type", - "referenceName" - ] - }, - "DatasetResource": { - "description": "Dataset resource type.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "./entityTypes/Dataset.json#/definitions/Dataset", - "description": "Dataset properties." - } - }, - "required": [ - "properties" - ] - }, - "LinkedServiceReference": { - "description": "Linked service reference type.", - "properties": { - "type": { - "type": "string", - "description": "Linked service reference type.", - "enum": [ - "LinkedServiceReference" - ] - }, - "referenceName": { - "type": "string", - "description": "Reference LinkedService name." - }, - "parameters": { - "$ref": "#/definitions/ParameterValueSpecification", - "description": "Arguments for LinkedService." + "metricSpecifications": { + "description": "Details about operations related to metrics.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecification" } + } + } + }, + "OperationLogSpecification": { + "description": "Details about an operation related to logs.", + "type": "object", + "properties": { + "name": { + "description": "The name of the log category.", + "type": "string" + }, + "displayName": { + "description": "Localized display name.", + "type": "string" + }, + "blobDuration": { + "description": "Blobs created in the customer storage account, per hour.", + "type": "string" + } + } + }, + "OperationMetricSpecification": { + "description": "Details about an operation related to metrics.", + "type": "object", + "properties": { + "name": { + "description": "The name of the metric.", + "type": "string" }, - "required": [ - "type", - "referenceName" - ] - }, - "LinkedServiceResource": { - "description": "Linked service resource type.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "./entityTypes/LinkedService.json#/definitions/LinkedService", - "description": "Properties of linked service." - } + "displayName": { + "description": "Localized display name of the metric.", + "type": "string" }, - "required": [ - "properties" - ] - }, - "PipelineRunFilterParameters": { - "description": "Query parameters for listing pipeline runs.", - "type": "object", - "properties": { - "continuationToken": { - "description": "The continuation token for getting the next page of results. Null for first page.", - "type": "string" - }, - "lastUpdatedAfter": { - "description": "The time at or after which the pipeline run event was updated in 'ISO 8601' format.", - "type": "string", - "format": "date-time" - }, - "lastUpdatedBefore": { - "description": "The time at or before which the pipeline run event was updated in 'ISO 8601' format.", - "type": "string", - "format": "date-time" - }, - "filters": { - "type": "array", - "description": "List of filters.", - "items": { - "$ref": "#/definitions/PipelineRunQueryFilter" - } - }, - "orderBy": { - "type": "array", - "description": "List of OrderBy option.", - "items": { - "$ref": "#/definitions/PipelineRunQueryOrderBy" - } - } + "displayDescription": { + "description": "The description of the metric.", + "type": "string" }, - "required": [ - "lastUpdatedAfter", - "lastUpdatedBefore" - ] - }, - "PipelineRunQueryFilter": { - "description": "Query filter option for listing pipeline runs.", - "type": "object", - "properties": { - "operand": { - "description": "Parameter name to be used for filter.", - "type": "string", - "enum": [ - "PipelineName", - "Status", - "RunStart", - "RunEnd" - ], - "x-ms-enum": { - "name": "PipelineRunQueryFilterOperand", - "modelAsString": true - } - }, - "operator": { - "description": "Operator to be used for filter.", - "type": "string", - "enum": [ - "Equals", - "NotEquals", - "In", - "NotIn" - ], - "x-ms-enum": { - "name": "PipelineRunQueryFilterOperator", - "modelAsString": true - } - }, - "values": { - "type": "array", - "description": "List of filter values.", - "items": { - "type": "string" - } - } + "unit": { + "description": "The unit that the metric is measured in.", + "type": "string" }, - "required": [ - "operand", - "operator", - "values" - ] - }, - "PipelineRunQueryOrderBy": { - "description": "An object to provide order by options for listing pipeline runs.", - "type": "object", - "properties": { - "orderBy": { - "description": "Parameter name to be used for order by.", - "type": "string", - "enum": [ - "RunStart", - "RunEnd" - ], - "x-ms-enum": { - "name": "PipelineRunQueryOrderByField", - "modelAsString": true - } - }, - "order": { - "description": "Sorting order of the parameter.", - "type": "string", - "enum": [ - "ASC", - "DESC" - ], - "x-ms-enum": { - "name": "PipelineRunQueryOrder", - "modelAsString": true - } - } + "aggregationType": { + "description": "The type of metric aggregation.", + "type": "string" }, - "required": [ - "orderBy", - "order" - ] - }, - "PipelineRunQueryResponse": { - "description": "A list pipeline runs.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of pipeline runs.", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "continuationToken": { - "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise.", - "type": "string" - } - } - }, - "PipelineRun": { - "description": "Information about a pipeline run.", - "type": "object", - "properties": { - "runId": { - "description": "Identifier of a run.", - "type": "string", - "readOnly": true - }, - "pipelineName": { - "description": "The pipeline name.", - "type": "string", - "readOnly": true - }, - "parameters": { - "description": "The full or partial list of parameter name, value pair used in the pipeline run.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - }, - "invokedBy": { - "description": "Entity that started the pipeline run.", - "$ref": "#/definitions/PipelineRunInvokedBy", - "readOnly": true - }, - "lastUpdated": { - "description": "The last updated timestamp for the pipeline run event in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "runStart": { - "description": "The start time of a pipeline run in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "runEnd": { - "description": "The end time of a pipeline run in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "durationInMs": { - "description": "The duration of a pipeline run.", - "type": "integer", - "readOnly": true - }, - "status": { - "description": "The status of a pipeline run.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The message from a pipeline run.", - "type": "string", - "readOnly": true - } + "enableRegionalMdmAccount": { + "description": "Whether or not the service is using regional MDM accounts.", + "type": "string" }, - "additionalProperties": { - "type": "object" - } - }, - "PipelineRunInvokedBy": { - "description": "Provides entity name and id that started the pipeline run.", - "type": "object", - "properties": { - "name": { - "description": "Name of the entity that started the pipeline run.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "The ID of the entity that started the run.", - "type": "string", - "readOnly": true - } - } - }, - "ActivityRunsListResponse": { - "description": "A list activity runs.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of activity runs.", - "items": { - "$ref": "#/definitions/ActivityRun" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } - } - }, - "ActivityRun": { - "description": "Information about an activity run in a pipeline.", - "type": "object", - "properties": { - "pipelineName": { - "description": "The name of the pipeline.", - "type": "string", - "readOnly": true - }, - "pipelineRunId": { - "description": "The id of the pipeline run.", - "type": "string", - "readOnly": true - }, - "activityName": { - "description": "The name of the activity.", - "type": "string", - "readOnly": true - }, - "activityType": { - "description": "The type of the activity.", - "type": "string", - "readOnly": true - }, - "activityRunId": { - "description": "The id of the activity run.", - "type": "string", - "readOnly": true - }, - "linkedServiceName": { - "description": "The name of the compute linked service.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The status of the activity run.", - "type": "string", - "readOnly": true - }, - "activityRunStart": { - "description": "The start time of the activity run in 'ISO 8601' format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "activityRunEnd": { - "description": "The end time of the activity run in 'ISO 8601' format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "durationInMs": { - "description": "The duration of the activity run.", - "type": "integer", - "readOnly": true - }, - "input": { - "description": "The input for the activity.", - "type": "object", - "readOnly": true - }, - "output": { - "description": "The output for the activity.", - "type": "object", - "readOnly": true - }, - "error": { - "description": "The error if any from the activity run.", - "type": "object", - "readOnly": true - } + "sourceMdmAccount": { + "description": "The name of the MDM account.", + "type": "string" }, - "additionalProperties": { - "type": "object" - } - }, - "TriggerRunListResponse": { - "description": "A list of trigger runs.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of trigger runs.", - "items": { - "$ref": "#/definitions/TriggerRun" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } - } - }, - "TriggerRun": { - "description": "Trigger runs.", - "type": "object", - "properties": { - "triggerRunId": { - "type": "string", - "description": "Trigger run id.", - "readOnly": true - }, - "triggerName": { - "type": "string", - "description": "Trigger name.", - "readOnly": true - }, - "triggerType": { - "type": "string", - "description": "Trigger type.", - "readOnly": true - }, - "triggerRunTimestamp": { - "type": "string", - "format": "date-time", - "description": "Trigger run start time.", - "readOnly": true - }, - "status": { - "type": "string", - "enum": [ - "Succeeded", - "Failed", - "Inprogress" - ], - "x-ms-enum": { - "name": "TriggerRunStatus", - "modelAsString": true - }, - "description": "Trigger run status.", - "readOnly": true - }, - "message": { - "type": "string", - "description": "Trigger error message.", - "readOnly": true - }, - "properties": { - "description": "List of property name and value related to trigger run. Name, value pair depends on type of trigger.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - }, - "triggeredPipelines": { - "description": "List of pipeline name and run Id triggered by the trigger run.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } + "sourceMdmNamespace": { + "description": "The name of the MDM namespace.", + "type": "string" }, - "additionalProperties": { - "type": "object" - } - }, - "OperationListResponse": { - "description": "A list of operations that can be performed by the Data Factory service.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of Data Factory operations supported by the Data Factory resource provider." - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of results, if any remaining results exist." - } - } - }, - "Operation": { - "description": "Azure Data Factory API operation definition.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "origin": { - "description": "The intended executor of the operation.", - "type": "string" - }, - "display": { - "description": "Metadata associated with the operation.", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "provider": { - "description": "The name of the provider.", - "type": "string" - }, - "resource": { - "description": "The name of the resource type on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "The type of operation: get, read, delete, etc.", - "type": "string" - } - } - }, - "properties": { - "description": "Additional details about the operation.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/OperationProperties" - } - } - }, - "OperationProperties": { - "description": "Additional details about an operation.", - "type": "object", - "x-ms-client-flatten": true, - "properties": { - "serviceSpecification": { - "description": "Details about a service operation.", - "$ref": "#/definitions/OperationServiceSpecification" - } - } - }, - "OperationServiceSpecification": { - "description": "Details about a service operation.", - "type": "object", - "properties": { - "logSpecifications": { - "description": "Details about operations related to logs.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecification" - } - }, - "metricSpecifications": { - "description": "Details about operations related to metrics.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecification" - } - } - } - }, - "OperationLogSpecification": { - "description": "Details about an operation related to logs.", - "type": "object", - "properties": { - "name": { - "description": "The name of the log category.", - "type": "string" - }, - "displayName": { - "description": "Localized display name.", - "type": "string" - }, - "blobDuration": { - "description": "Blobs created in the customer storage account, per hour.", - "type": "string" - } - } - }, - "OperationMetricSpecification": { - "description": "Details about an operation related to metrics.", - "type": "object", - "properties": { - "name": { - "description": "The name of the metric.", - "type": "string" - }, - "displayName": { - "description": "Localized display name of the metric.", - "type": "string" - }, - "displayDescription": { - "description": "The description of the metric.", - "type": "string" - }, - "unit": { - "description": "The unit that the metric is measured in.", - "type": "string" - }, - "aggregationType": { - "description": "The type of metric aggregation.", - "type": "string" - }, - "enableRegionalMdmAccount": { - "description": "Whether or not the service is using regional MDM accounts.", - "type": "string" - }, - "sourceMdmAccount": { - "description": "The name of the MDM account.", - "type": "string" - }, - "sourceMdmNamespace": { - "description": "The name of the MDM namespace.", - "type": "string" - }, - "availabilities": { - "description": "Defines how often data for metrics becomes available.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricAvailability" - } - } - } - }, - "OperationMetricAvailability": { - "description": "Defines how often data for a metric becomes available.", - "type": "object", - "properties": { - "timeGrain": { - "description": "The granularity for the metric.", - "type": "string" - }, - "blobDuration": { - "description": "Blob created in the customer storage account, per hour.", - "type": "string" + "availabilities": { + "description": "Defines how often data for metrics becomes available.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricAvailability" } } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "description": "The subscription identifier.", - "in": "path", - "required": true, - "type": "string" - }, - "resourceGroupName": { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "factoryName": { - "name": "factoryName", - "description": "The factory name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", - "minLength": 3, - "maxLength": 63, - "x-ms-parameter-location": "method" - }, - "locationId": { - "name": "locationId", - "description": "The location identifier.", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "linkedServiceName": { - "name": "linkedServiceName", - "description": "The linked service name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", - "minLength": 1, - "maxLength": 260, - "x-ms-parameter-location": "method" - }, - "datasetName": { - "name": "datasetName", - "description": "The dataset name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", - "minLength": 1, - "maxLength": 260, - "x-ms-parameter-location": "method" - }, - "pipelineName": { - "name": "pipelineName", - "description": "The pipeline name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", - "minLength": 1, - "maxLength": 260, - "x-ms-parameter-location": "method" - }, - "triggerName": { - "name": "triggerName", - "description": "The trigger name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", - "minLength": 1, - "maxLength": 260, - "x-ms-parameter-location": "method" - }, - "runId": { - "name": "runId", - "description": "The pipeline run identifier.", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "referencePipelineRunId": { - "name": "referencePipelineRunId", - "description": "The pipeline run identifier.", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "integrationRuntimeName": { - "name": "integrationRuntimeName", - "description": "The integration runtime name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", - "minLength": 3, - "maxLength": 63, - "x-ms-parameter-location": "method" - }, - "nodeName": { - "name": "nodeName", - "description": "The integration runtime node name.", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$", - "minLength": 1, - "maxLength": 150, - "x-ms-parameter-location": "method" - }, - "api-version": { - "name": "api-version", - "description": "The API version.", - "in": "query", - "required": true, - "type": "string" + "OperationMetricAvailability": { + "description": "Defines how often data for a metric becomes available.", + "type": "object", + "properties": { + "timeGrain": { + "description": "The granularity for the metric.", + "type": "string" + }, + "blobDuration": { + "description": "Blob created in the customer storage account, per hour.", + "type": "string" + } } } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "description": "The subscription identifier.", + "in": "path", + "required": true, + "type": "string" + }, + "resourceGroupName": { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "factoryName": { + "name": "factoryName", + "description": "The factory name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "locationId": { + "name": "locationId", + "description": "The location identifier.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "linkedServiceName": { + "name": "linkedServiceName", + "description": "The linked service name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", + "minLength": 1, + "maxLength": 260, + "x-ms-parameter-location": "method" + }, + "datasetName": { + "name": "datasetName", + "description": "The dataset name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", + "minLength": 1, + "maxLength": 260, + "x-ms-parameter-location": "method" + }, + "pipelineName": { + "name": "pipelineName", + "description": "The pipeline name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", + "minLength": 1, + "maxLength": 260, + "x-ms-parameter-location": "method" + }, + "triggerName": { + "name": "triggerName", + "description": "The trigger name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", + "minLength": 1, + "maxLength": 260, + "x-ms-parameter-location": "method" + }, + "runId": { + "name": "runId", + "description": "The pipeline run identifier.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "referencePipelineRunId": { + "name": "referencePipelineRunId", + "description": "The pipeline run identifier.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "integrationRuntimeName": { + "name": "integrationRuntimeName", + "description": "The integration runtime name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "nodeName": { + "name": "nodeName", + "description": "The integration runtime node name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$", + "minLength": 1, + "maxLength": 150, + "x-ms-parameter-location": "method" + }, + "api-version": { + "name": "api-version", + "description": "The API version.", + "in": "query", + "required": true, + "type": "string" + } } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json index 506b80d1769a..a18b8fe01f46 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json @@ -931,7 +931,7 @@ "path" ] }, - "SqlServerTableDataset": { + "SqlServerTableDataset": { "x-ms-discriminator-value": "SqlServerTable", "description": "The on-premises SQL Server dataset.", "type": "object", @@ -1080,341 +1080,313 @@ } } }, - "AmazonMWSObjectDataset" : { + "AmazonMWSObjectDataset": { "x-ms-discriminator-value": "AmazonMWSObject", "description": "Amazon Marketplace Web Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "AzurePostgreSqlTableDataset" : { + "AzurePostgreSqlTableDataset": { "x-ms-discriminator-value": "AzurePostgreSqlTable", "description": "Azure PostgreSQL dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "ConcurObjectDataset" : { + "ConcurObjectDataset": { "x-ms-discriminator-value": "ConcurObject", "description": "Concur Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "CouchbaseTableDataset" : { + "CouchbaseTableDataset": { "x-ms-discriminator-value": "CouchbaseTable", "description": "Couchbase server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "DrillTableDataset" : { + "DrillTableDataset": { "x-ms-discriminator-value": "DrillTable", "description": "Drill server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "EloquaObjectDataset" : { + "EloquaObjectDataset": { "x-ms-discriminator-value": "EloquaObject", "description": "Eloqua server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "GoogleBigQueryObjectDataset" : { + "GoogleBigQueryObjectDataset": { "x-ms-discriminator-value": "GoogleBigQueryObject", "description": "Google BigQuery service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "GreenplumTableDataset" : { + "GreenplumTableDataset": { "x-ms-discriminator-value": "GreenplumTable", "description": "Greenplum Database dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "HBaseObjectDataset" : { + "HBaseObjectDataset": { "x-ms-discriminator-value": "HBaseObject", "description": "HBase server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "HiveObjectDataset" : { + "HiveObjectDataset": { "x-ms-discriminator-value": "HiveObject", "description": "Hive Server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "HubspotObjectDataset" : { + "HubspotObjectDataset": { "x-ms-discriminator-value": "HubspotObject", "description": "Hubspot Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "ImpalaObjectDataset" : { + "ImpalaObjectDataset": { "x-ms-discriminator-value": "ImpalaObject", "description": "Impala server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "JiraObjectDataset" : { + "JiraObjectDataset": { "x-ms-discriminator-value": "JiraObject", "description": "Jira Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "MagentoObjectDataset" : { + "MagentoObjectDataset": { "x-ms-discriminator-value": "MagentoObject", "description": "Magento server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "MariaDBTableDataset" : { + "MariaDBTableDataset": { "x-ms-discriminator-value": "MariaDBTable", "description": "MariaDB server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "MarketoObjectDataset" : { + "MarketoObjectDataset": { "x-ms-discriminator-value": "MarketoObject", "description": "Marketo server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "PaypalObjectDataset" : { + "PaypalObjectDataset": { "x-ms-discriminator-value": "PaypalObject", "description": "Paypal Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "PhoenixObjectDataset" : { + "PhoenixObjectDataset": { "x-ms-discriminator-value": "PhoenixObject", "description": "Phoenix server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "PrestoObjectDataset" : { + "PrestoObjectDataset": { "x-ms-discriminator-value": "PrestoObject", "description": "Presto server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "QuickBooksObjectDataset" : { + "QuickBooksObjectDataset": { "x-ms-discriminator-value": "QuickBooksObject", "description": "QuickBooks server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "ServiceNowObjectDataset" : { + "ServiceNowObjectDataset": { "x-ms-discriminator-value": "ServiceNowObject", "description": "ServiceNow server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "ShopifyObjectDataset" : { + "ShopifyObjectDataset": { "x-ms-discriminator-value": "ShopifyObject", "description": "Shopify Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "SparkObjectDataset" : { + "SparkObjectDataset": { "x-ms-discriminator-value": "SparkObject", "description": "Spark Server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "SquareObjectDataset" : { + "SquareObjectDataset": { "x-ms-discriminator-value": "SquareObject", "description": "Square Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "XeroObjectDataset" : { + "XeroObjectDataset": { "x-ms-discriminator-value": "XeroObject", "description": "Xero Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "ZohoObjectDataset" : { + "ZohoObjectDataset": { "x-ms-discriminator-value": "ZohoObject", "description": "Zoho server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "NetezzaTableDataset" : { + "NetezzaTableDataset": { "x-ms-discriminator-value": "NetezzaTable", "description": "Netezza dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, - "VerticaTableDataset" : { + "VerticaTableDataset": { "x-ms-discriminator-value": "VerticaTable", "description": "Vertica dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, "SalesforceMarketingCloudObjectDataset": { "x-ms-discriminator-value": "SalesforceMarketingCloudObject", @@ -1422,11 +1394,10 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, "ResponsysObjectDataset": { "x-ms-discriminator-value": "ResponsysObject", @@ -1434,11 +1405,10 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} } } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json index 6d251d9049a6..fdd52c0e61b7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json @@ -386,8 +386,8 @@ "description": "The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0." }, "serviceUri": { - "type": "object", - "description": "The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)." + "type": "object", + "description": "The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)." }, "organizationName": { "type": "object", @@ -1482,7 +1482,7 @@ "url" ] }, - "AmazonS3LinkedService": { + "AmazonS3LinkedService": { "x-ms-discriminator-value": "AmazonS3", "description": "Linked service for Amazon S3.", "type": "object", @@ -1961,28 +1961,28 @@ "server" ] }, - "AmazonMWSLinkedService": { - "x-ms-discriminator-value": "AmazonMWS", - "description": "Amazon Marketplace Web Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Amazon Marketplace Web Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/AmazonMWSLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "AmazonMWSLinkedServiceTypeProperties": { - "description": "Amazon Marketplace Web Service linked service properties.", + "AmazonMWSLinkedService": { + "x-ms-discriminator-value": "AmazonMWS", + "description": "Amazon Marketplace Web Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Amazon Marketplace Web Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AmazonMWSLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "AmazonMWSLinkedServiceTypeProperties": { + "description": "Amazon Marketplace Web Service linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com)", @@ -2020,8 +2020,8 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, @@ -2030,29 +2030,29 @@ "marketplaceID", "sellerID", "accessKeyId" - ] - }, - "AzurePostgreSqlLinkedService": { - "x-ms-discriminator-value": "AzurePostgreSql", - "description": "Azure PostgreSQL linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Azure PostgreSQL linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/AzurePostgreSqlLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "AzurePostgreSqlLinkedServiceTypeProperties": { + ] + }, + "AzurePostgreSqlLinkedService": { + "x-ms-discriminator-value": "AzurePostgreSql", + "description": "Azure PostgreSQL linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Azure PostgreSQL linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzurePostgreSqlLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "AzurePostgreSqlLinkedServiceTypeProperties": { "description": "Azure PostgreSQL linked service properties.", "properties": { "connectionString": { @@ -2063,30 +2063,30 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "ConcurLinkedService": { - "x-ms-discriminator-value": "Concur", - "description": "Concur Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Concur Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ConcurLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ConcurLinkedServiceTypeProperties": { - "description": "Concur Service linked service properties.", + } + }, + "ConcurLinkedService": { + "x-ms-discriminator-value": "Concur", + "description": "Concur Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Concur Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConcurLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ConcurLinkedServiceTypeProperties": { + "description": "Concur Service linked service properties.", "properties": { "clientId": { "description": "Application client_id supplied by Concur App Management.", @@ -2112,37 +2112,37 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "clientId", "username" - ] - }, - "CouchbaseLinkedService": { - "x-ms-discriminator-value": "Couchbase", - "description": "Couchbase server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Couchbase server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/CouchbaseLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "CouchbaseLinkedServiceTypeProperties": { + ] + }, + "CouchbaseLinkedService": { + "x-ms-discriminator-value": "Couchbase", + "description": "Couchbase server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Couchbase server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CouchbaseLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "CouchbaseLinkedServiceTypeProperties": { "description": "Couchbase server linked service properties.", "properties": { "connectionString": { @@ -2153,29 +2153,29 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "DrillLinkedService": { - "x-ms-discriminator-value": "Drill", - "description": "Drill server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Drill server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DrillLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "DrillLinkedServiceTypeProperties": { + } + }, + "DrillLinkedService": { + "x-ms-discriminator-value": "Drill", + "description": "Drill server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Drill server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DrillLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "DrillLinkedServiceTypeProperties": { "description": "Drill server linked service properties.", "properties": { "connectionString": { @@ -2186,30 +2186,30 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "EloquaLinkedService": { - "x-ms-discriminator-value": "Eloqua", - "description": "Eloqua server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Eloqua server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/EloquaLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "EloquaLinkedServiceTypeProperties": { - "description": "Eloqua server linked service properties.", + } + }, + "EloquaLinkedService": { + "x-ms-discriminator-value": "Eloqua", + "description": "Eloqua server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Eloqua server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/EloquaLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "EloquaLinkedServiceTypeProperties": { + "description": "Eloqua server linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the Eloqua server. (i.e. eloqua.example.com)", @@ -2235,38 +2235,38 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "endpoint", "username" - ] - }, - "GoogleBigQueryLinkedService": { - "x-ms-discriminator-value": "GoogleBigQuery", - "description": "Google BigQuery service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Google BigQuery service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/GoogleBigQueryLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "GoogleBigQueryLinkedServiceTypeProperties": { - "description": "Google BigQuery service linked service properties.", + ] + }, + "GoogleBigQueryLinkedService": { + "x-ms-discriminator-value": "GoogleBigQuery", + "description": "Google BigQuery service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Google BigQuery service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/GoogleBigQueryLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "GoogleBigQueryLinkedServiceTypeProperties": { + "description": "Google BigQuery service linked service properties.", "properties": { "project": { "description": "The default BigQuery project to query against.", @@ -2320,37 +2320,37 @@ "description": "Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "project", "authenticationType" - ] - }, - "GreenplumLinkedService": { - "x-ms-discriminator-value": "Greenplum", - "description": "Greenplum Database linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Greenplum Database linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/GreenplumLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "GreenplumLinkedServiceTypeProperties": { + ] + }, + "GreenplumLinkedService": { + "x-ms-discriminator-value": "Greenplum", + "description": "Greenplum Database linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Greenplum Database linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/GreenplumLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "GreenplumLinkedServiceTypeProperties": { "description": "Greenplum Database linked service properties.", "properties": { "connectionString": { @@ -2361,30 +2361,30 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "HBaseLinkedService": { - "x-ms-discriminator-value": "HBase", - "description": "HBase server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "HBase server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HBaseLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "HBaseLinkedServiceTypeProperties": { - "description": "HBase server linked service properties.", + } + }, + "HBaseLinkedService": { + "x-ms-discriminator-value": "HBase", + "description": "HBase server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "HBase server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HBaseLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "HBaseLinkedServiceTypeProperties": { + "description": "HBase server linked service properties.", "properties": { "host": { "description": "The IP address or host name of the HBase server. (i.e. 192.168.222.160)", @@ -2434,38 +2434,38 @@ "description": "Specifies whether to allow self-signed certificates from the server. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "authenticationType" - ] - }, - "HiveLinkedService": { - "x-ms-discriminator-value": "Hive", - "description": "Hive Server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Hive Server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HiveLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "HiveLinkedServiceTypeProperties": { - "description": "Hive Server linked service properties.", + ] + }, + "HiveLinkedService": { + "x-ms-discriminator-value": "Hive", + "description": "Hive Server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Hive Server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HiveLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "HiveLinkedServiceTypeProperties": { + "description": "Hive Server linked service properties.", "properties": { "host": { "description": "IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).", @@ -2559,38 +2559,38 @@ "description": "Specifies whether to allow self-signed certificates from the server. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "authenticationType" - ] - }, - "HubspotLinkedService": { - "x-ms-discriminator-value": "Hubspot", - "description": "Hubspot Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Hubspot Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/HubspotLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "HubspotLinkedServiceTypeProperties": { - "description": "Hubspot Service linked service properties.", + ] + }, + "HubspotLinkedService": { + "x-ms-discriminator-value": "Hubspot", + "description": "Hubspot Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Hubspot Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HubspotLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "HubspotLinkedServiceTypeProperties": { + "description": "Hubspot Service linked service properties.", "properties": { "clientId": { "description": "The client ID associated with your Hubspot application.", @@ -2620,37 +2620,37 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "clientId" - ] - }, - "ImpalaLinkedService": { - "x-ms-discriminator-value": "Impala", - "description": "Impala server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Impala server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ImpalaLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ImpalaLinkedServiceTypeProperties": { - "description": "Impala server linked service properties.", + ] + }, + "ImpalaLinkedService": { + "x-ms-discriminator-value": "Impala", + "description": "Impala server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Impala server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ImpalaLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ImpalaLinkedServiceTypeProperties": { + "description": "Impala server linked service properties.", "properties": { "host": { "description": "The IP address or host name of the Impala server. (i.e. 192.168.222.160)", @@ -2701,38 +2701,38 @@ "description": "Specifies whether to allow self-signed certificates from the server. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "authenticationType" - ] - }, - "JiraLinkedService": { - "x-ms-discriminator-value": "Jira", - "description": "Jira Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Jira Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/JiraLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "JiraLinkedServiceTypeProperties": { - "description": "Jira Service linked service properties.", + ] + }, + "JiraLinkedService": { + "x-ms-discriminator-value": "Jira", + "description": "Jira Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Jira Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/JiraLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "JiraLinkedServiceTypeProperties": { + "description": "Jira Service linked service properties.", "properties": { "host": { "description": "The IP address or host name of the Jira service. (e.g. jira.example.com)", @@ -2762,38 +2762,38 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "username" - ] - }, - "MagentoLinkedService": { - "x-ms-discriminator-value": "Magento", - "description": "Magento server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Magento server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/MagentoLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "MagentoLinkedServiceTypeProperties": { - "description": "Magento server linked service properties.", + ] + }, + "MagentoLinkedService": { + "x-ms-discriminator-value": "Magento", + "description": "Magento server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Magento server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MagentoLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "MagentoLinkedServiceTypeProperties": { + "description": "Magento server linked service properties.", "properties": { "host": { "description": "The URL of the Magento instance. (i.e. 192.168.222.110/magento3)", @@ -2815,36 +2815,36 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", - "type": "object" + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "type": "object" } }, "required": [ "host" - ] - }, - "MariaDBLinkedService": { - "x-ms-discriminator-value": "MariaDB", - "description": "MariaDB server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "MariaDB server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/MariaDBLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "MariaDBLinkedServiceTypeProperties": { + ] + }, + "MariaDBLinkedService": { + "x-ms-discriminator-value": "MariaDB", + "description": "MariaDB server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "MariaDB server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MariaDBLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "MariaDBLinkedServiceTypeProperties": { "description": "MariaDB server linked service properties.", "properties": { "connectionString": { @@ -2855,30 +2855,30 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "MarketoLinkedService": { - "x-ms-discriminator-value": "Marketo", - "description": "Marketo server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Marketo server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/MarketoLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "MarketoLinkedServiceTypeProperties": { - "description": "Marketo server linked service properties.", + } + }, + "MarketoLinkedService": { + "x-ms-discriminator-value": "Marketo", + "description": "Marketo server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Marketo server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MarketoLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "MarketoLinkedServiceTypeProperties": { + "description": "Marketo server linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com)", @@ -2904,38 +2904,38 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "endpoint", "clientId" - ] - }, - "PaypalLinkedService": { - "x-ms-discriminator-value": "Paypal", - "description": "Paypal Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Paypal Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/PaypalLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "PaypalLinkedServiceTypeProperties": { - "description": "Paypal Service linked service properties.", + ] + }, + "PaypalLinkedService": { + "x-ms-discriminator-value": "Paypal", + "description": "Paypal Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Paypal Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PaypalLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "PaypalLinkedServiceTypeProperties": { + "description": "Paypal Service linked service properties.", "properties": { "host": { "description": "The URL of the PayPal instance. (i.e. api.sandbox.paypal.com)", @@ -2961,38 +2961,38 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "clientId" - ] - }, - "PhoenixLinkedService": { - "x-ms-discriminator-value": "Phoenix", - "description": "Phoenix server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Phoenix server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/PhoenixLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "PhoenixLinkedServiceTypeProperties": { - "description": "Phoenix server linked service properties.", + ] + }, + "PhoenixLinkedService": { + "x-ms-discriminator-value": "Phoenix", + "description": "Phoenix server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Phoenix server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PhoenixLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "PhoenixLinkedServiceTypeProperties": { + "description": "Phoenix server linked service properties.", "properties": { "host": { "description": "The IP address or host name of the Phoenix server. (i.e. 192.168.222.160)", @@ -3047,38 +3047,38 @@ "description": "Specifies whether to allow self-signed certificates from the server. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host", "authenticationType" - ] - }, - "PrestoLinkedService": { - "x-ms-discriminator-value": "Presto", - "description": "Presto server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Presto server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrestoLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "PrestoLinkedServiceTypeProperties": { - "description": "Presto server linked service properties.", + ] + }, + "PrestoLinkedService": { + "x-ms-discriminator-value": "Presto", + "description": "Presto server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Presto server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrestoLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "PrestoLinkedServiceTypeProperties": { + "description": "Presto server linked service properties.", "properties": { "host": { "description": "The IP address or host name of the Presto server. (i.e. 192.168.222.160)", @@ -3140,8 +3140,8 @@ "description": "The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, @@ -3150,29 +3150,29 @@ "serverVersion", "catalog", "authenticationType" - ] - }, - "QuickBooksLinkedService": { - "x-ms-discriminator-value": "QuickBooks", - "description": "QuickBooks server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "QuickBooks server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/QuickBooksLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "QuickBooksLinkedServiceTypeProperties": { + ] + }, + "QuickBooksLinkedService": { + "x-ms-discriminator-value": "QuickBooks", + "description": "QuickBooks server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "QuickBooks server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/QuickBooksLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "QuickBooksLinkedServiceTypeProperties": { "description": "QuickBooks server linked service properties.", "properties": { "endpoint": { @@ -3215,30 +3215,30 @@ "consumerSecret", "accessToken", "accessTokenSecret" - ] - }, - "ServiceNowLinkedService": { - "x-ms-discriminator-value": "ServiceNow", - "description": "ServiceNow server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "ServiceNow server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServiceNowLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ServiceNowLinkedServiceTypeProperties": { - "description": "ServiceNow server linked service properties.", + ] + }, + "ServiceNowLinkedService": { + "x-ms-discriminator-value": "ServiceNow", + "description": "ServiceNow server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "ServiceNow server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceNowLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ServiceNowLinkedServiceTypeProperties": { + "description": "ServiceNow server linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the ServiceNow server. (i.e. .service-now.com)", @@ -3284,38 +3284,38 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "endpoint", "authenticationType" - ] - }, - "ShopifyLinkedService": { - "x-ms-discriminator-value": "Shopify", - "description": "Shopify Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Shopify Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ShopifyLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ShopifyLinkedServiceTypeProperties": { - "description": "Shopify Service linked service properties.", + ] + }, + "ShopifyLinkedService": { + "x-ms-discriminator-value": "Shopify", + "description": "Shopify Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Shopify Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ShopifyLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ShopifyLinkedServiceTypeProperties": { + "description": "Shopify Service linked service properties.", "properties": { "host": { "description": "The endpoint of the Shopify server. (i.e. mystore.myshopify.com)", @@ -3337,37 +3337,37 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host" - ] - }, - "SparkLinkedService": { - "x-ms-discriminator-value": "Spark", - "description": "Spark Server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Spark Server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SparkLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "SparkLinkedServiceTypeProperties": { - "description": "Spark Server linked service properties.", + ] + }, + "SparkLinkedService": { + "x-ms-discriminator-value": "Spark", + "description": "Spark Server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Spark Server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SparkLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SparkLinkedServiceTypeProperties": { + "description": "Spark Server linked service properties.", "properties": { "host": { "description": "IP address or host name of the Spark server", @@ -3449,8 +3449,8 @@ "description": "Specifies whether to allow self-signed certificates from the server. The default value is false.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, @@ -3458,30 +3458,30 @@ "host", "port", "authenticationType" - ] - }, - "SquareLinkedService": { - "x-ms-discriminator-value": "Square", - "description": "Square Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Square Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SquareLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "SquareLinkedServiceTypeProperties": { - "description": "Square Service linked service properties.", + ] + }, + "SquareLinkedService": { + "x-ms-discriminator-value": "Square", + "description": "Square Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Square Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SquareLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SquareLinkedServiceTypeProperties": { + "description": "Square Service linked service properties.", "properties": { "host": { "description": "The URL of the Square instance. (i.e. mystore.mysquare.com)", @@ -3511,8 +3511,8 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, @@ -3520,30 +3520,30 @@ "host", "clientId", "redirectUri" - ] - }, - "XeroLinkedService": { - "x-ms-discriminator-value": "Xero", - "description": "Xero Service linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Xero Service linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/XeroLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "XeroLinkedServiceTypeProperties": { - "description": "Xero Service linked service properties.", + ] + }, + "XeroLinkedService": { + "x-ms-discriminator-value": "Xero", + "description": "Xero Service linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Xero Service linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/XeroLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "XeroLinkedServiceTypeProperties": { + "description": "Xero Service linked service properties.", "properties": { "host": { "description": "The endpoint of the Xero server. (i.e. api.xero.com)", @@ -3569,37 +3569,37 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "host" - ] - }, - "ZohoLinkedService": { - "x-ms-discriminator-value": "Zoho", - "description": "Zoho server linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Zoho server linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ZohoLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ZohoLinkedServiceTypeProperties": { - "description": "Zoho server linked service properties.", + ] + }, + "ZohoLinkedService": { + "x-ms-discriminator-value": "Zoho", + "description": "Zoho server linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Zoho server linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ZohoLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ZohoLinkedServiceTypeProperties": { + "description": "Zoho server linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private)", @@ -3621,36 +3621,36 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "endpoint" - ] - }, - "VerticaLinkedService": { - "x-ms-discriminator-value": "Vertica", - "description": "Vertica linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Vertica linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/VerticaLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "VerticaLinkedServiceTypeProperties": { + ] + }, + "VerticaLinkedService": { + "x-ms-discriminator-value": "Vertica", + "description": "Vertica linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Vertica linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VerticaLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "VerticaLinkedServiceTypeProperties": { "description": "Vertica linked service properties.", "properties": { "connectionString": { @@ -3661,29 +3661,29 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "NetezzaLinkedService": { - "x-ms-discriminator-value": "Netezza", - "description": "Netezza linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Netezza linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetezzaLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "NetezzaLinkedServiceTypeProperties": { + } + }, + "NetezzaLinkedService": { + "x-ms-discriminator-value": "Netezza", + "description": "Netezza linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Netezza linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetezzaLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "NetezzaLinkedServiceTypeProperties": { "description": "Netezza linked service properties.", "properties": { "connectionString": { @@ -3694,30 +3694,30 @@ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } - } - }, - "SalesforceMarketingCloudLinkedService": { - "x-ms-discriminator-value": "SalesforceMarketingCloud", - "description": "Salesforce Marketing Cloud linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Salesforce Marketing Cloud linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SalesforceMarketingCloudLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "SalesforceMarketingCloudLinkedServiceTypeProperties": { - "description": "Salesforce Marketing Cloud linked service properties.", + } + }, + "SalesforceMarketingCloudLinkedService": { + "x-ms-discriminator-value": "SalesforceMarketingCloud", + "description": "Salesforce Marketing Cloud linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Salesforce Marketing Cloud linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SalesforceMarketingCloudLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SalesforceMarketingCloudLinkedServiceTypeProperties": { + "description": "Salesforce Marketing Cloud linked service properties.", "properties": { "clientId": { "description": "The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).", @@ -3739,14 +3739,14 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "clientId" - ] + ] }, "HDInsightOnDemandLinkedService": { "x-ms-discriminator-value": "HDInsightOnDemand", @@ -4005,7 +4005,7 @@ "type": "object", "description": "The Spark version of new cluster. Type: string (or Expression with resultType string)." }, - "newClusterNumOfWorker": { + "newClusterNumOfWorker": { "type": "object", "description": "Number of worker nodes that new cluster should have. A string formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string (or Expression with resultType string)." }, @@ -4031,28 +4031,28 @@ "accessToken" ] }, - "ResponsysLinkedService": { - "x-ms-discriminator-value": "Responsys", - "description": "Responsys linked service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedService" - } - ], - "properties": { - "typeProperties": { - "description": "Responsys linked service properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ResponsysLinkedServiceTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ResponsysLinkedServiceTypeProperties": { - "description": "Responsys linked service properties.", + "ResponsysLinkedService": { + "x-ms-discriminator-value": "Responsys", + "description": "Responsys linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Responsys linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ResponsysLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ResponsysLinkedServiceTypeProperties": { + "description": "Responsys linked service properties.", "properties": { "endpoint": { "description": "The endpoint of the Responsys server.", @@ -4078,15 +4078,15 @@ "description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).", "type": "object" }, - "encryptedCredential": { - "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", "type": "object" } }, "required": [ "endpoint", "clientId" - ] + ] } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json index 6e21ea7e04ff..3d0b863ca2d4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json @@ -413,7 +413,7 @@ } } }, - "SqlSource": { + "SqlSource": { "description": "A copy activity SQL source.", "type": "object", "allOf": [ @@ -1091,7 +1091,7 @@ "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." } } - } , + }, "AmazonRedshiftSource": { "description": "A copy activity source for Amazon Redshift Source.", "type": "object", @@ -2085,7 +2085,7 @@ }, "SSISPackageLocation": { "description": "SSIS package location.", - "type" : "object", + "type": "object", "properties": { "packagePath": { "description": "The SSIS package path. Type: string (or Expression with resultType string).", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json index a7876492820e..5d7cd04c9ad5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json @@ -275,8 +275,7 @@ "typeProperties" ] }, - "BlobEventsTrigger": - { + "BlobEventsTrigger": { "description": "Trigger that runs every time a Blob event occurs.", "type": "object", "allOf": [ @@ -285,8 +284,7 @@ } ], "properties": { - "typeProperties": - { + "typeProperties": { "description": "Blob Events Trigger properties.", "x-ms-client-flatten": true, "properties": { @@ -350,7 +348,7 @@ "x-ms-client-flatten": true, "properties": { "frequency": { - "$ref": "#/definitions/TumblingWindowFrequency", + "$ref": "#/definitions/TumblingWindowFrequency", "description": "The frequency of the time windows." }, "interval": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json index 5c2375cd5ea4..ec7bcdb0d03a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json @@ -81,4 +81,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json index 01acf52d92e9..04e92c709fc0 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json index 01cdd9af81fe..67abb5f166c8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json index 70d4c0c3a340..d179c33f2af5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json index be928edcaddc..557ee34a6843 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json index 5b03267619e1..4a1f6a1a490e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json index f0324c920cca..8fdcc97b90e3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json @@ -26,4 +26,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json index 05e379f1c294..fbb4a3da2a86 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json @@ -25,4 +25,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json index 6645f84ae13d..91536f5c453d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json index c2151fc57821..a34ee82367e3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json @@ -218,4 +218,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json index 1c930b55fe87..ca2196e6213f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json index 07f628fdfeeb..ca78dd6b94da 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json index 2dd5cf34ea0e..ad2d585d90a9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json index fcab30ad2e6b..b2ebe39b90ea 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json index 79f7c18e592e..a7cb39187d54 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json index 8e47cfff5228..d0ec0eb297d6 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json index 7be259a66881..a9c1a6b8b46d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json index 80b3e6debccf..f56a661d568a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json index 8c75991a54c0..4daf304c9202 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json index 3c9369f63d9b..dcf0d9e9440c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json @@ -27,4 +27,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json index 1df79c851773..34cac9c4bc49 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json index ba04fbbfbb27..351b499eb7d7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json @@ -26,4 +26,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json index 70afe5f0f5b0..0778b1f16a8e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json @@ -16,4 +16,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json index fe703ec1a534..e90f9e404c58 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json index e602bb934009..365c903ca287 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json @@ -16,4 +16,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json index 019304dd2f4e..66d97b9297d4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json index a20847c3074a..ac1d5ba9bc8d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json index 341797f698ef..e61d9aff0108 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json index 83a2ed4669b2..b2ce464a0631 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json index 393716d41bbc..7e1f5d788fa9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json index 94475c0b23b8..1dacecea845d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json @@ -201,4 +201,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json index faa6919980cf..c77b1cecb0de 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json index ca5a6749cab5..0090b058a166 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json index 73bbfb9138cf..fec2c7686602 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json @@ -139,4 +139,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json index 8e14aee60322..695f05c422af 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json index dbd3f94155c5..39feb99341db 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json index 810f61a0427a..125ef7d8ac60 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json @@ -80,4 +80,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json index 1b7a1bd1c4c5..7a71c1b51ee5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json index c23607b35d71..d15e9b4c9522 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json @@ -141,4 +141,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json index 7ff873ae308f..d6b419ae75d3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json index cb60f5853305..12ce3c425a33 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json index 36a1f0885074..9f0ae4ed69f5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json index dfa5940accc0..3592ff0e8f37 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json index 34a790263c70..ac853fcd3750 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json index 7f0bbf8c93f3..56838942d01e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json index 66d1db8a9c1f..c89c07541ab5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json index f4b5a5d0aa50..161994e430d7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 67ea061ffc4d..987f1e3df0be 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -3813,15 +3813,15 @@ "UserAccessPolicy": { "description": "Get Data Plane read only token request definition.", "properties": { - "permissions" : { + "permissions": { "description": "The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access.", "type": "string" }, - "accessResourcePath" : { + "accessResourcePath": { "description": "The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource.", "type": "string" }, - "profileName" : { + "profileName": { "description": "The name of the profile. Currently only the default is supported. The default value is DefaultProfile.", "type": "string" }, @@ -3838,7 +3838,7 @@ "AccessPolicyResponse": { "description": "Get Data Plane read only token response definition.", "properties": { - "policy" : { + "policy": { "description": "The user access policy.", "$ref": "#/definitions/UserAccessPolicy" }, @@ -4793,10 +4793,10 @@ "type": "object", "description": "The request payload of get SSIS object metadata.", "properties": { - "metadataPath": { - "type": "string", - "description": "Metadata path." - } + "metadataPath": { + "type": "string", + "description": "Metadata path." + } } }, "SsisObjectMetadataStatusResponse": { @@ -4983,4 +4983,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index ca2edeaa7152..95e57e75352a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -188,7 +188,7 @@ "HdfsLocation": { "description": "The location of HDFS.", "type": "object", - "allOf": [ + "allOf": [ { "$ref": "#/definitions/DatasetLocation" } @@ -1620,13 +1620,13 @@ } } }, - "AmazonMWSObjectDataset" : { + "AmazonMWSObjectDataset": { "x-ms-discriminator-value": "AmazonMWSObject", "description": "Amazon Marketplace Web Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1637,13 +1637,13 @@ } } }, - "AzurePostgreSqlTableDataset" : { + "AzurePostgreSqlTableDataset": { "x-ms-discriminator-value": "AzurePostgreSqlTable", "description": "Azure PostgreSQL dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1654,13 +1654,13 @@ } } }, - "ConcurObjectDataset" : { + "ConcurObjectDataset": { "x-ms-discriminator-value": "ConcurObject", "description": "Concur Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1671,13 +1671,13 @@ } } }, - "CouchbaseTableDataset" : { + "CouchbaseTableDataset": { "x-ms-discriminator-value": "CouchbaseTable", "description": "Couchbase server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1688,13 +1688,13 @@ } } }, - "DrillTableDataset" : { + "DrillTableDataset": { "x-ms-discriminator-value": "DrillTable", "description": "Drill server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1705,13 +1705,13 @@ } } }, - "EloquaObjectDataset" : { + "EloquaObjectDataset": { "x-ms-discriminator-value": "EloquaObject", "description": "Eloqua server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1722,13 +1722,13 @@ } } }, - "GoogleBigQueryObjectDataset" : { + "GoogleBigQueryObjectDataset": { "x-ms-discriminator-value": "GoogleBigQueryObject", "description": "Google BigQuery service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1739,13 +1739,13 @@ } } }, - "GreenplumTableDataset" : { + "GreenplumTableDataset": { "x-ms-discriminator-value": "GreenplumTable", "description": "Greenplum Database dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1756,13 +1756,13 @@ } } }, - "HBaseObjectDataset" : { + "HBaseObjectDataset": { "x-ms-discriminator-value": "HBaseObject", "description": "HBase server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1773,13 +1773,13 @@ } } }, - "HiveObjectDataset" : { + "HiveObjectDataset": { "x-ms-discriminator-value": "HiveObject", "description": "Hive Server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1790,13 +1790,13 @@ } } }, - "HubspotObjectDataset" : { + "HubspotObjectDataset": { "x-ms-discriminator-value": "HubspotObject", "description": "Hubspot Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1807,13 +1807,13 @@ } } }, - "ImpalaObjectDataset" : { + "ImpalaObjectDataset": { "x-ms-discriminator-value": "ImpalaObject", "description": "Impala server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1824,13 +1824,13 @@ } } }, - "JiraObjectDataset" : { + "JiraObjectDataset": { "x-ms-discriminator-value": "JiraObject", "description": "Jira Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1841,13 +1841,13 @@ } } }, - "MagentoObjectDataset" : { + "MagentoObjectDataset": { "x-ms-discriminator-value": "MagentoObject", "description": "Magento server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1858,13 +1858,13 @@ } } }, - "MariaDBTableDataset" : { + "MariaDBTableDataset": { "x-ms-discriminator-value": "MariaDBTable", "description": "MariaDB server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1875,13 +1875,13 @@ } } }, - "MarketoObjectDataset" : { + "MarketoObjectDataset": { "x-ms-discriminator-value": "MarketoObject", "description": "Marketo server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1892,13 +1892,13 @@ } } }, - "PaypalObjectDataset" : { + "PaypalObjectDataset": { "x-ms-discriminator-value": "PaypalObject", "description": "Paypal Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1909,13 +1909,13 @@ } } }, - "PhoenixObjectDataset" : { + "PhoenixObjectDataset": { "x-ms-discriminator-value": "PhoenixObject", "description": "Phoenix server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1926,13 +1926,13 @@ } } }, - "PrestoObjectDataset" : { + "PrestoObjectDataset": { "x-ms-discriminator-value": "PrestoObject", "description": "Presto server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1943,13 +1943,13 @@ } } }, - "QuickBooksObjectDataset" : { + "QuickBooksObjectDataset": { "x-ms-discriminator-value": "QuickBooksObject", "description": "QuickBooks server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1960,13 +1960,13 @@ } } }, - "ServiceNowObjectDataset" : { + "ServiceNowObjectDataset": { "x-ms-discriminator-value": "ServiceNowObject", "description": "ServiceNow server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1977,13 +1977,13 @@ } } }, - "ShopifyObjectDataset" : { + "ShopifyObjectDataset": { "x-ms-discriminator-value": "ShopifyObject", "description": "Shopify Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -1994,13 +1994,13 @@ } } }, - "SparkObjectDataset" : { + "SparkObjectDataset": { "x-ms-discriminator-value": "SparkObject", "description": "Spark Server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2011,13 +2011,13 @@ } } }, - "SquareObjectDataset" : { + "SquareObjectDataset": { "x-ms-discriminator-value": "SquareObject", "description": "Square Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2028,13 +2028,13 @@ } } }, - "XeroObjectDataset" : { + "XeroObjectDataset": { "x-ms-discriminator-value": "XeroObject", "description": "Xero Service dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2045,13 +2045,13 @@ } } }, - "ZohoObjectDataset" : { + "ZohoObjectDataset": { "x-ms-discriminator-value": "ZohoObject", "description": "Zoho server dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2062,13 +2062,13 @@ } } }, - "NetezzaTableDataset" : { + "NetezzaTableDataset": { "x-ms-discriminator-value": "NetezzaTable", "description": "Netezza dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2079,13 +2079,13 @@ } } }, - "VerticaTableDataset" : { + "VerticaTableDataset": { "x-ms-discriminator-value": "VerticaTable", "description": "Vertica dataset.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2102,7 +2102,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2119,7 +2119,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2168,7 +2168,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2214,7 +2214,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Dataset" + "$ref": "#/definitions/Dataset" } ], "properties": { @@ -2227,4 +2227,3 @@ } } } - diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index 7c09c3e245ec..020981bc9dda 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -1881,7 +1881,7 @@ "clientId" ] }, - "RestServiceLinkedService": { + "RestServiceLinkedService": { "x-ms-discriminator-value": "RestService", "description": "Rest Service linked service.", "type": "object", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index f80c024294d9..bb458397a52c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -651,27 +651,27 @@ "fileExtension": { "type": "object", "description": "The file extension used to create the files. Type: string (or Expression with resultType string)." - } + } + }, + "required": [ + "fileExtension" + ] }, - "required": [ - "fileExtension" - ] - }, - "ParquetSource": { - "description": "A copy activity Parquet source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "storeSettings": { - "$ref": "#/definitions/ConnectorReadSetting", - "description": "Parquet store settings." + "ParquetSource": { + "description": "A copy activity Parquet source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/ConnectorReadSetting", + "description": "Parquet store settings." + } } - } - }, + }, "DelimitedTextSource": { "description": "A copy activity DelimitedText source.", "type": "object", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json index fe9db3793a6a..5233d07d4c96 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json index 83402fbecceb..93b679ecd61f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json @@ -94,4 +94,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json index c6053fe39891..47e68c5727f4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json index d99a0b7faa24..2f9bfca0e407 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json index 62f89924db05..354f4fbefd87 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json index ca71bc4482ba..633f3c0603be 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json @@ -84,4 +84,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json index 53b0f29b7463..03fc1dfeb53e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json index fd5b666467bd..19786c58eddb 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json index b6f8fd06a9a7..ec3aed4cf249 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json index 83401598c21a..94efe701a8f8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json index 1e8e7b08ecb6..9e08c0d44edb 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json @@ -27,4 +27,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json index 5cfc600c634c..fb52e24bd0ed 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json index 4f1da8e9e906..744dae50f325 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json index 519664661711..24b8ba0be05b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json @@ -20,8 +20,8 @@ "x-ms-correlation-request-id": "da630ed9-35e4-41cd-9f93-be14dbcbd099" }, "body": { - "gitHubAccessToken":"myAccessTokenExample" + "gitHubAccessToken": "myAccessTokenExample" } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json index f6bbd4f3b09f..3ef2a545c7e8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json @@ -202,4 +202,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json index 2aadecb3999c..faf67ff17797 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json index 0ca66d871fbb..e84c444e6647 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json index 8ad31a2f4f0e..0f1b126c114d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json @@ -29,4 +29,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json index f4a230fc01d7..f7690ebfb45e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json index 9d7b7cecfc8d..bb2abe1d98cc 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json index bda4589fa6e5..e1613c40e56f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json index 0d10c3b4f37e..149f79cf2b13 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json @@ -231,4 +231,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json index 5a8cdeb4c8c7..12223de81dad 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json index d29fa9183fe8..97e23db02513 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json index c0156b47ab3b..bfafc36f7558 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json index b080ffbcd5c7..fef7de2ae1b8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json index 072fb4d1e260..bf176d4c530c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json index 916a85249c56..85dcb8cce89d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json index ee22ca1956db..a31a69d5f0da 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json index eb30d6ce41c8..e7263d9c62b9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json index d4469bbe608b..9d143cf73965 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json index 7961ec82f45b..716811d7fded 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json index 5587566f8150..81c80e555136 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json index 3baecff413c6..0b1ee0992f65 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json @@ -21,4 +21,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json index c4b7ae4cff12..5204f13a4efb 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json index 50c00081777e..6dbb6c741832 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json @@ -30,4 +30,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json index b614b05b52e6..dca3b2c54e68 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json index cbe1a8c4235b..ebac058654f5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json index 30998ace71e3..2130bac563ad 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json index 5f7c0bc17471..bd917f8bd565 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json index ee8b10b68aec..77b54d160ffb 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json index 2c3a1f7902f5..bcfc70fc842c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json index d90b155020ce..319bbb24827d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json index 2fea4585de27..cef06ef4b2f3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json index 2a2ed78c8df8..b8e728dab337 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json @@ -1031,4 +1031,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json index ff5617cb7614..24fb26ea9bd7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json index 657ed25eed2f..69557e9a95d3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json index cbb12946813b..b110f2399a3f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json index a35819f0b35c..9d0a1ba448e3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json @@ -152,4 +152,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json index 721114951093..6db90f12d9bd 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json index 6cbb5ed82357..7bbfe9b6ccda 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json index 2ff9004c5fe5..68f3ff289730 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -98,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json index 76bfe07287e2..ef2d35a49e96 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json index 239e9d8251e9..d8f17d97dca1 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json @@ -144,4 +144,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json index 9506549b1bb8..3b2d7aab6b24 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json @@ -19,4 +19,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json index 70c7c155f276..7463511ef117 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json index a08ff0b93fac..e6ea096fb88f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json index 662bcb719b5f..d3ec620445f6 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json @@ -19,4 +19,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json index 9506549b1bb8..3b2d7aab6b24 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json @@ -19,4 +19,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json index 3e7e1935aeaa..0459859ced96 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json index 8d0d568e11d3..d5dd062211e4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json index a421eae21ad0..1708b189ac2a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json @@ -28,4 +28,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json index 849cc9d0cb4d..ff4f437452f4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json index d624262a0bc7..783f84c0112c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json index e519779f355a..e037a3de47e6 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json index d26575b13848..b311f31a3f50 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json @@ -18,4 +18,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json index 279774e97f2a..be49edc3dced 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} From 910331db3dd99022d651353d842dc44fef33a222 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:48:55 -0400 Subject: [PATCH 072/495] chore: jsonfmt deploymentmanager (#6029) Ran `jsonfmt -w "specification/deploymentmanager/**/*.json"` --- .../2018-09-01-preview/deploymentmanager.json | 9 +- .../artifactsource_createorupdate.json | 72 ++-- ...actsource_createorupdate_artifactroot.json | 74 ++-- .../examples/artifactsource_delete.json | 22 +- .../examples/artifactsource_get.json | 46 +-- .../examples/operations_get.json | 324 +++++++++--------- .../examples/rollout_createorupdate.json | 232 ++++++------- .../examples/rollout_delete.json | 22 +- .../examples/rollout_get.json | 228 ++++++------ .../examples/rollout_post_cancel.json | 228 ++++++------ .../examples/rollout_post_restart.json | 138 ++++---- .../examples/service_createorupdate.json | 58 ++-- .../examples/service_delete.json | 24 +- .../examples/service_get.json | 40 +-- .../servicetopology_createorupdate.json | 52 +-- ...ology_createorupdate_noartifactsource.json | 48 ++- .../examples/servicetopology_delete.json | 22 +- .../examples/servicetopology_get.json | 36 +- .../examples/serviceunit_createorupdate.json | 74 ++-- ...eunit_createorupdate_noartifactsource.json | 74 ++-- .../examples/serviceunit_delete.json | 26 +- .../examples/serviceunit_get.json | 50 +-- .../examples/step_createorupdate.json | 62 ++-- .../examples/step_delete.json | 22 +- .../2018-09-01-preview/examples/step_get.json | 42 +-- 25 files changed, 1011 insertions(+), 1014 deletions(-) diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json index 24e4f928fb11..353ce6d2b860 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json @@ -1463,17 +1463,16 @@ "type": "object", "description": "The artifacts for the service unit.", "$ref": "#/definitions/ServiceUnitArtifacts" - } + } }, "required": [ "targetResourceGroup", "deploymentMode" ] }, - "ServiceUnitArtifacts": - { + "ServiceUnitArtifacts": { "description": "Defines the artifacts of a service unit.", - "properties":{ + "properties": { "templateUri": { "type": "string", "description": "The full URI of the ARM template file with the SAS token.", @@ -1869,4 +1868,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json index fa537c8e23fd..788dbbe69641 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "artifactSourceName": "myArtifactSource", - "api-version": "2018-09-01-preview", - "artifactSourceInfo": { - "type": "Microsoft.DeploymentManager/artifactSources", - "location": "centralus", - "tags": {}, - "properties": { - "sourceType": "AzureStorage", - "authentication": { - "type": "Sas", - "properties": { - "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "artifactSourceName": "myArtifactSource", + "api-version": "2018-09-01-preview", + "artifactSourceInfo": { + "type": "Microsoft.DeploymentManager/artifactSources", + "location": "centralus", + "tags": {}, + "properties": { + "sourceType": "AzureStorage", + "authentication": { + "type": "Sas", + "properties": { + "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" + } } - }, - "responses": { - "201": { - "body": { - "name": "myArtifactSource", - "type": "Microsoft.DeploymentManager/artifactSources", - "location": "centralus", - "tags": {}, - "properties": { - "sourceType": "AzureStorage", - "authentication": { - "type": "Sas", - "properties": { - "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + } + } + }, + "responses": { + "201": { + "body": { + "name": "myArtifactSource", + "type": "Microsoft.DeploymentManager/artifactSources", + "location": "centralus", + "tags": {}, + "properties": { + "sourceType": "AzureStorage", + "authentication": { + "type": "Sas", + "properties": { + "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json index 1e9c567fcfdf..ee73497e34b2 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "artifactSourceName": "myArtifactSource", - "api-version": "2018-09-01-preview", - "artifactSourceInfo": { - "type": "Microsoft.DeploymentManager/artifactSources", - "location": "centralus", - "tags": {}, - "properties": { - "sourceType": "AzureStorage", - "artifactRoot": "1.0.0.0", - "authentication": { - "type": "Sas", - "properties": { - "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "artifactSourceName": "myArtifactSource", + "api-version": "2018-09-01-preview", + "artifactSourceInfo": { + "type": "Microsoft.DeploymentManager/artifactSources", + "location": "centralus", + "tags": {}, + "properties": { + "sourceType": "AzureStorage", + "artifactRoot": "1.0.0.0", + "authentication": { + "type": "Sas", + "properties": { + "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" + } } - }, - "responses": { - "201": { - "body": { - "name": "myArtifactSource", - "type": "Microsoft.DeploymentManager/artifactSources", - "location": "centralus", - "tags": {}, - "properties": { - "sourceType": "AzureStorage", - "authentication": { - "type": "Sas", - "properties": { - "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + } + } + }, + "responses": { + "201": { + "body": { + "name": "myArtifactSource", + "type": "Microsoft.DeploymentManager/artifactSources", + "location": "centralus", + "tags": {}, + "properties": { + "sourceType": "AzureStorage", + "authentication": { + "type": "Sas", + "properties": { + "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json index 02a8883c88b8..f54fbd95c977 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "artifactSourceName": "myArtifactSource", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "artifactSourceName": "myArtifactSource", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json index 400d373fdda2..d617ffb2e601 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "artifactSourceName": "myArtifactSource", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myArtifactSource", - "type": "Microsoft.DeploymentManager/artifactSources", - "location": "centralus", - "tags": {}, - "properties": { - "sourceType": "AzureStorage", - "authentication": { - "type": "Sas", - "properties": { - "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "artifactSourceName": "myArtifactSource", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myArtifactSource", + "type": "Microsoft.DeploymentManager/artifactSources", + "location": "centralus", + "tags": {}, + "properties": { + "sourceType": "AzureStorage", + "authentication": { + "type": "Sas", + "properties": { + "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json index 9ee5c60ce0d7..9f0fdd2fad40 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json @@ -1,165 +1,165 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "name": "Microsoft.DeploymentManager/serviceTopologies/read", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceTopology", - "operation": "View service topology", - "description": "View the properties of a service topology" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/write", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceTopology", - "operation": "Update the service topology", - "description": "Create a new topology or update the properties of an existing topology" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/delete", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceTopology", - "operation": "Delete service topology", - "description": "Deletes an existing topology." - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/read", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Service", - "operation": "View service in a topology", - "description": "View the properties of a service in a service topology" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/write", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Service", - "operation": "Update the service in a topology", - "description": "Create a new service or update the properties of an existing service" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/delete", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Service", - "operation": "Delete service", - "description": "Deletes an existing service in a service topology." - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/read", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceUnit", - "operation": "View service unit", - "description": "View the properties of a service unit" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/write", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceUnit", - "operation": "Update the service unit", - "description": "Create a new service unit or update the properties of an existing service unit" - } - }, - { - "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/delete", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ServiceUnit", - "operation": "Delete service unit", - "description": "Deletes an existing service unit." - } - }, - { - "name": "Microsoft.DeploymentManager/artifactSources/read", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ArtifactSource", - "operation": "View artifact source", - "description": "View the properties of an artifact source." - } - }, - { - "name": "Microsoft.DeploymentManager/artifactSources/write", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ArtifactSource", - "operation": "Update the artifact source", - "description": "Create a new artifact source or updates the properties of an existing artifact source." - } - }, - { - "name": "Microsoft.DeploymentManager/artifactSources/delete", - "display": { - "provider": "Azure Deployment Manager", - "resource": "ArtifactSource", - "operation": "Delete artifact source", - "description": "Deletes an existing artifact source." - } - }, - { - "name": "Microsoft.DeploymentManager/rollouts/read", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Rollout", - "operation": "View rollout", - "description": "View the properties of rollout." - } - }, - { - "name": "Microsoft.DeploymentManager/rollouts/write", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Rollout", - "operation": "Create or update a rollout.", - "description": "Create a new rollout or update an existing rollout." - } - }, - { - "name": "Microsoft.DeploymentManager/rollouts/restart", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Rollout", - "operation": "Restart a rollout", - "description": "Restarts a failed rollout." - } - }, - { - "name": "Microsoft.DeploymentManager/rollouts/cancel", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Rollout", - "operation": "Cancel a rollout", - "description": "Cancel a rollout in progress." - } - }, - { - "name": "Microsoft.DeploymentManager/rollouts/delete", - "display": { - "provider": "Azure Deployment Manager", - "resource": "Rollout", - "operation": "Delete rollout", - "description": "Deletes an existing rollout." - } - } - ] + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "name": "Microsoft.DeploymentManager/serviceTopologies/read", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceTopology", + "operation": "View service topology", + "description": "View the properties of a service topology" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/write", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceTopology", + "operation": "Update the service topology", + "description": "Create a new topology or update the properties of an existing topology" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/delete", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceTopology", + "operation": "Delete service topology", + "description": "Deletes an existing topology." + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/read", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Service", + "operation": "View service in a topology", + "description": "View the properties of a service in a service topology" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/write", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Service", + "operation": "Update the service in a topology", + "description": "Create a new service or update the properties of an existing service" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/delete", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Service", + "operation": "Delete service", + "description": "Deletes an existing service in a service topology." + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/read", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceUnit", + "operation": "View service unit", + "description": "View the properties of a service unit" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/write", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceUnit", + "operation": "Update the service unit", + "description": "Create a new service unit or update the properties of an existing service unit" + } + }, + { + "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/delete", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ServiceUnit", + "operation": "Delete service unit", + "description": "Deletes an existing service unit." + } + }, + { + "name": "Microsoft.DeploymentManager/artifactSources/read", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ArtifactSource", + "operation": "View artifact source", + "description": "View the properties of an artifact source." + } + }, + { + "name": "Microsoft.DeploymentManager/artifactSources/write", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ArtifactSource", + "operation": "Update the artifact source", + "description": "Create a new artifact source or updates the properties of an existing artifact source." + } + }, + { + "name": "Microsoft.DeploymentManager/artifactSources/delete", + "display": { + "provider": "Azure Deployment Manager", + "resource": "ArtifactSource", + "operation": "Delete artifact source", + "description": "Deletes an existing artifact source." + } + }, + { + "name": "Microsoft.DeploymentManager/rollouts/read", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Rollout", + "operation": "View rollout", + "description": "View the properties of rollout." + } + }, + { + "name": "Microsoft.DeploymentManager/rollouts/write", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Rollout", + "operation": "Create or update a rollout.", + "description": "Create a new rollout or update an existing rollout." + } + }, + { + "name": "Microsoft.DeploymentManager/rollouts/restart", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Rollout", + "operation": "Restart a rollout", + "description": "Restarts a failed rollout." + } + }, + { + "name": "Microsoft.DeploymentManager/rollouts/cancel", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Rollout", + "operation": "Cancel a rollout", + "description": "Cancel a rollout in progress." + } + }, + { + "name": "Microsoft.DeploymentManager/rollouts/delete", + "display": { + "provider": "Azure Deployment Manager", + "resource": "Rollout", + "operation": "Delete rollout", + "description": "Deletes an existing rollout." + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json index 834710a4229b..ae49f2a3832d 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json @@ -1,123 +1,123 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "rolloutName": "myRollout", - "api-version": "2018-09-01-preview", - "rolloutRequest": { - "type": "Microsoft.DeploymentManager/rollouts", - "location": "centralus", - "tags": {}, - "identity": { - "type": "userAssigned", - "identityIds": [ - "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" - ] + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "rolloutName": "myRollout", + "api-version": "2018-09-01-preview", + "rolloutRequest": { + "type": "Microsoft.DeploymentManager/rollouts", + "location": "centralus", + "tags": {}, + "identity": { + "type": "userAssigned", + "identityIds": [ + "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" + ] + }, + "properties": { + "buildVersion": "1.0.0.1", + "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", + "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", + "stepGroups": [ + { + "name": "FirstRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" + } + ] + }, + { + "name": "SecondRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" + } + ], + "dependsOnStepGroups": [ + "FirstRegion" + ] + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "myRollout", + "type": "Microsoft.DeploymentManager/rollouts", + "location": "centralus", + "tags": {}, + "identity": { + "type": "userAssigned", + "identityIds": [ + "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" + ] + }, + "properties": { + "buildVersion": "1.0.0.1", + "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", + "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", + "stepGroups": [ + { + "name": "FirstRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" + } + ] }, - "properties": { - "buildVersion": "1.0.0.1", - "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", - "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", - "stepGroups": [ - { - "name": "FirstRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" - } - ] - }, - { - "name": "SecondRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" - } - ], - "dependsOnStepGroups": [ - "FirstRegion" - ] - } - ] - } - } - }, - "responses": { - "201": { - "body": { - "name": "myRollout", - "type": "Microsoft.DeploymentManager/rollouts", - "location": "centralus", - "tags": {}, - "identity": { - "type": "userAssigned", - "identityIds": [ - "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" - ] + { + "name": "SecondRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" }, - "properties": { - "buildVersion": "1.0.0.1", - "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", - "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", - "stepGroups": [ - { - "name": "FirstRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" - } - ] - }, - { - "name": "SecondRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" - } - ], - "dependsOnStepGroups": [ - "FirstRegion" - ] - } - ] + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" } + ], + "dependsOnStepGroups": [ + "FirstRegion" + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json index a95ff167b6ac..c98dc8b929c9 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "rolloutName": "myRollout", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "rolloutName": "myRollout", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json index 60058f749e9c..0ff4939e9727 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json @@ -1,124 +1,124 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "rolloutName": "myRollout", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myRollout", - "type": "Microsoft.DeploymentManager/rollouts", - "location": "centralus", - "tags": {}, - "identity": { - "type": "userAssigned", - "identityIds": [ - "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" - ] + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "rolloutName": "myRollout", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myRollout", + "type": "Microsoft.DeploymentManager/rollouts", + "location": "centralus", + "tags": {}, + "identity": { + "type": "userAssigned", + "identityIds": [ + "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" + ] + }, + "properties": { + "status": "Running", + "operationInfo": { + "startTime": "2018-08-28T03:33:56.386Z", + "retryAttempt": 0 + }, + "totalRetryAttempts": 0, + "buildVersion": "1.0.0.1", + "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", + "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", + "stepGroups": [ + { + "name": "FirstRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" }, - "properties": { - "status": "Running", - "operationInfo": { + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" + } + ] + }, + { + "name": "SecondRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" + } + ], + "dependsOnStepGroups": [ + "FirstRegion" + ] + } + ], + "services": [ + { + "name": "myService1", + "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7", + "targetLocation": "centralus", + "serviceUnits": [ + { + "name": "myTopologyUni1", + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "steps": [ + { + "name": "preDeploymentStep1", + "status": "succeeded", + "operationInfo": { "startTime": "2018-08-28T03:33:56.386Z", - "retryAttempt": 0 + "endTime": "2018-08-28T03:35:28.556Z" + } }, - "totalRetryAttempts": 0, - "buildVersion": "1.0.0.1", - "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", - "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", - "stepGroups": [ - { - "name": "FirstRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" - } - ] - }, - { - "name": "SecondRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" - } - ], - "dependsOnStepGroups": [ - "FirstRegion" - ] - } - ], - "services": [ + { + "name": "preDeploymentStep2", + "status": "succeeded", + "operationInfo": { + "startTime": "2018-08-28T03:36:56.386Z", + "endTime": "2018-08-28T03:37:28.556Z" + } + }, + { + "name": "deploy", + "status": "running", + "operationInfo": { + "startTime": "2018-08-28T03:38:56.386Z", + "lastUpdatedTime": "2018-08-28T03:39:28.556Z" + }, + "resourceOperations": [ { - "name": "myService1", - "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7", - "targetLocation": "centralus", - "serviceUnits": [ - { - "name": "myTopologyUni1", - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "steps": [ - { - "name": "preDeploymentStep1", - "status": "succeeded", - "operationInfo": { - "startTime": "2018-08-28T03:33:56.386Z", - "endTime": "2018-08-28T03:35:28.556Z" - } - }, - { - "name": "preDeploymentStep2", - "status": "succeeded", - "operationInfo": { - "startTime": "2018-08-28T03:36:56.386Z", - "endTime": "2018-08-28T03:37:28.556Z" - } - }, - { - "name": "deploy", - "status": "running", - "operationInfo": { - "startTime": "2018-08-28T03:38:56.386Z", - "lastUpdatedTime": "2018-08-28T03:39:28.556Z" - }, - "resourceOperations": [ - { - "resourceName": "keyVaultcentralus", - "operationId": "20FC5A21382DA306", - "resourceType": "Microsoft.KeyVault/vaults", - "provisioningState": "Succeeded", - "statusMessage": "", - "statusCode": "OK" - } - ] - } - ] - } - ] + "resourceName": "keyVaultcentralus", + "operationId": "20FC5A21382DA306", + "resourceType": "Microsoft.KeyVault/vaults", + "provisioningState": "Succeeded", + "statusMessage": "", + "statusCode": "OK" } - ] + ] + } + ] } + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json index 604ee0c3a97b..5c5ad1cc9d98 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json @@ -1,124 +1,124 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "rolloutName": "myRollout", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myRollout", - "type": "Microsoft.DeploymentManager/rollouts", - "location": "centralus", - "tags": {}, - "identity": { - "type": "userAssigned", - "identityIds": [ - "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" - ] + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "rolloutName": "myRollout", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myRollout", + "type": "Microsoft.DeploymentManager/rollouts", + "location": "centralus", + "tags": {}, + "identity": { + "type": "userAssigned", + "identityIds": [ + "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" + ] + }, + "properties": { + "status": "Canceling", + "operationInfo": { + "startTime": "2018-08-28T03:33:56.386Z", + "retryAttempt": 0 + }, + "totalRetryAttempts": 0, + "buildVersion": "1.0.0.1", + "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", + "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", + "stepGroups": [ + { + "name": "FirstRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" }, - "properties": { - "status": "Canceling", - "operationInfo": { + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" + } + ] + }, + { + "name": "SecondRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" + } + ], + "dependsOnStepGroups": [ + "FirstRegion" + ] + } + ], + "services": [ + { + "name": "myService1", + "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7", + "targetLocation": "centralus", + "serviceUnits": [ + { + "name": "myTopologyUni1", + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "steps": [ + { + "name": "preDeploymentStep1", + "status": "succeeded", + "operationInfo": { "startTime": "2018-08-28T03:33:56.386Z", - "retryAttempt": 0 + "endTime": "2018-08-28T03:35:28.556Z" + } }, - "totalRetryAttempts": 0, - "buildVersion": "1.0.0.1", - "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", - "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", - "stepGroups": [ - { - "name": "FirstRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" - } - ] - }, - { - "name": "SecondRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" - } - ], - "dependsOnStepGroups": [ - "FirstRegion" - ] - } - ], - "services": [ + { + "name": "preDeploymentStep2", + "status": "succeeded", + "operationInfo": { + "startTime": "2018-08-28T03:36:56.386Z", + "endTime": "2018-08-28T03:37:28.556Z" + } + }, + { + "name": "deploy", + "status": "running", + "operationInfo": { + "startTime": "2018-08-28T03:38:56.386Z", + "lastUpdatedTime": "2018-08-28T03:39:28.556Z" + }, + "resourceOperations": [ { - "name": "myService1", - "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7", - "targetLocation": "centralus", - "serviceUnits": [ - { - "name": "myTopologyUni1", - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "steps": [ - { - "name": "preDeploymentStep1", - "status": "succeeded", - "operationInfo": { - "startTime": "2018-08-28T03:33:56.386Z", - "endTime": "2018-08-28T03:35:28.556Z" - } - }, - { - "name": "preDeploymentStep2", - "status": "succeeded", - "operationInfo": { - "startTime": "2018-08-28T03:36:56.386Z", - "endTime": "2018-08-28T03:37:28.556Z" - } - }, - { - "name": "deploy", - "status": "running", - "operationInfo": { - "startTime": "2018-08-28T03:38:56.386Z", - "lastUpdatedTime": "2018-08-28T03:39:28.556Z" - }, - "resourceOperations": [ - { - "resourceName": "keyVaultcentralus", - "operationId": "20FC5A21382DA306", - "resourceType": "Microsoft.KeyVault/vaults", - "provisioningState": "Succeeded", - "statusMessage": "", - "statusCode": "OK" - } - ] - } - ] - } - ] + "resourceName": "keyVaultcentralus", + "operationId": "20FC5A21382DA306", + "resourceType": "Microsoft.KeyVault/vaults", + "provisioningState": "Succeeded", + "statusMessage": "", + "statusCode": "OK" } - ] + ] + } + ] } + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json index 2e55939395c6..c30b9f3e5e2d 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json @@ -1,75 +1,75 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "rolloutName": "myRollout", - "skipSucceeded": true, - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myRollout", - "type": "Microsoft.DeploymentManager/rollouts", - "location": "centralus", - "tags": {}, - "identity": { - "type": "userAssigned", - "identityIds": [ - "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" - ] + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "rolloutName": "myRollout", + "skipSucceeded": true, + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myRollout", + "type": "Microsoft.DeploymentManager/rollouts", + "location": "centralus", + "tags": {}, + "identity": { + "type": "userAssigned", + "identityIds": [ + "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity" + ] + }, + "properties": { + "status": "Running", + "operationInfo": { + "startTime": "2018-08-28T03:33:56.386Z", + "retryAttempt": 1 + }, + "totalRetryAttempts": 1, + "buildVersion": "1.0.0.1", + "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", + "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", + "stepGroups": [ + { + "name": "FirstRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" }, - "properties": { - "status": "Running", - "operationInfo": { - "startTime": "2018-08-28T03:33:56.386Z", - "retryAttempt": 1 - }, - "totalRetryAttempts": 1, - "buildVersion": "1.0.0.1", - "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource", - "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology", - "stepGroups": [ - { - "name": "FirstRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" - } - ] - }, - { - "name": "SecondRegion", - "preDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" - }, - { - "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" - } - ], - "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", - "postDeploymentSteps": [ - { - "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" - } - ], - "dependsOnStepGroups": [ - "FirstRegion" - ] - } - ] + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2" } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1" + } + ] + }, + { + "name": "SecondRegion", + "preDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3" + }, + { + "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4" + } + ], + "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'", + "postDeploymentSteps": [ + { + "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5" + } + ], + "dependsOnStepGroups": [ + "FirstRegion" + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json index 7e29c8e474dc..731c76610fa8 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "api-version": "2018-09-01-preview", - "serviceInfo": { - "type": "Microsoft.DeploymentManager/serviceTopologies/services", - "location": "centralus", - "tags": {}, - "properties": { - "targetLocation": "centralus", - "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" - } - } - }, - "responses": { - "201": { - "body": { - "name": "myService", - "type": "Microsoft.DeploymentManager/serviceTopologies/services", - "location": "centralus", - "tags": {}, - "properties": { - "targetLocation": "centralus", - "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "api-version": "2018-09-01-preview", + "serviceInfo": { + "type": "Microsoft.DeploymentManager/serviceTopologies/services", + "location": "centralus", + "tags": {}, + "properties": { + "targetLocation": "centralus", + "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" + } + } + }, + "responses": { + "201": { + "body": { + "name": "myService", + "type": "Microsoft.DeploymentManager/serviceTopologies/services", + "location": "centralus", + "tags": {}, + "properties": { + "targetLocation": "centralus", + "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json index cc5f0520ecce..b038a2f1ca6b 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json index bcfc0afc2790..7e24a6809f61 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myService", - "type": "Microsoft.DeploymentManager/serviceTopologies/services", - "location": "centralus", - "tags": {}, - "properties": { - "targetLocation": "centralus", - "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.DeploymentManager/serviceTopologies/services", + "location": "centralus", + "tags": {}, + "properties": { + "targetLocation": "centralus", + "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7" } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json index 04601e9dcd6c..f5987d3445e8 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "api-version": "2018-09-01-preview", - "serviceTopologyInfo": { - "type": "Microsoft.DeploymentManager/serviceTopologies", - "location": "centralus", - "tags": {}, - "properties": { - "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" - } - } - }, - "responses": { - "201": { - "body": { - "name": "myTopology", - "type": "Microsoft.DeploymentManager/serviceTopologies", - "location": "centralus", - "tags": {}, - "properties": { - "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "api-version": "2018-09-01-preview", + "serviceTopologyInfo": { + "type": "Microsoft.DeploymentManager/serviceTopologies", + "location": "centralus", + "tags": {}, + "properties": { + "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" + } + } + }, + "responses": { + "201": { + "body": { + "name": "myTopology", + "type": "Microsoft.DeploymentManager/serviceTopologies", + "location": "centralus", + "tags": {}, + "properties": { + "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json index 1668c2fa1be6..f0084c906414 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json @@ -1,27 +1,25 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "api-version": "2018-09-01-preview", - "serviceTopologyInfo": { - "type": "Microsoft.DeploymentManager/serviceTopologies", - "location": "centralus", - "tags": {}, - "properties": { - } - } - }, - "responses": { - "201": { - "body": { - "name": "myTopology", - "type": "Microsoft.DeploymentManager/serviceTopologies", - "location": "centralus", - "tags": {}, - "properties": { - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "api-version": "2018-09-01-preview", + "serviceTopologyInfo": { + "type": "Microsoft.DeploymentManager/serviceTopologies", + "location": "centralus", + "tags": {}, + "properties": {} } -} \ No newline at end of file + }, + "responses": { + "201": { + "body": { + "name": "myTopology", + "type": "Microsoft.DeploymentManager/serviceTopologies", + "location": "centralus", + "tags": {}, + "properties": {} + } + } + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json index 8a2b35ec1a4f..33fd145d5ee2 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json index 1d941924bceb..3a277209a73e 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myTopology", - "type": "Microsoft.DeploymentManager/serviceTopologies", - "location": "centralus", - "tags": {}, - "properties": { - "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myTopology", + "type": "Microsoft.DeploymentManager/serviceTopologies", + "location": "centralus", + "tags": {}, + "properties": { + "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource" } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json index 24d43be1a856..d783e76b208f 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "serviceUnitName": "myServiceUnit", - "api-version": "2018-09-01-preview", - "serviceUnitInfo": { - "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", - "location": "centralus", - "tags": {}, - "properties": { - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "artifacts": { - "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", - "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "serviceUnitName": "myServiceUnit", + "api-version": "2018-09-01-preview", + "serviceUnitInfo": { + "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", + "location": "centralus", + "tags": {}, + "properties": { + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "artifacts": { + "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", + "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" } - }, - "responses": { - "201": { - "body": { - "name": "myServiceUnit", - "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", - "location": "centralus", - "tags": {}, - "properties": { - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "artifacts": { - "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", - "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" - } - } - } + } + } + }, + "responses": { + "201": { + "body": { + "name": "myServiceUnit", + "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", + "location": "centralus", + "tags": {}, + "properties": { + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "artifacts": { + "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", + "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json index fb5991eabd27..5bd26dac5071 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "serviceUnitName": "myServiceUnit", - "api-version": "2018-09-01-preview", - "serviceUnitInfo": { - "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", - "location": "centralus", - "tags": {}, - "properties": { - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "artifacts": { - "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D", - "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "serviceUnitName": "myServiceUnit", + "api-version": "2018-09-01-preview", + "serviceUnitInfo": { + "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", + "location": "centralus", + "tags": {}, + "properties": { + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "artifacts": { + "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D", + "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" } - }, - "responses": { - "201": { - "body": { - "name": "myServiceUnit", - "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", - "location": "centralus", - "tags": {}, - "properties": { - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "artifacts": { - "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D", - "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" - } - } - } + } + } + }, + "responses": { + "201": { + "body": { + "name": "myServiceUnit", + "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits", + "location": "centralus", + "tags": {}, + "properties": { + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "artifacts": { + "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D", + "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json index 0a3aa3e33d04..eabb7ab834fa 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json @@ -1,14 +1,14 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "serviceUnitName": "myServiceUnit", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "serviceUnitName": "myServiceUnit", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json index 62e125403fbc..3af095cbfb23 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "serviceTopologyName": "myTopology", - "serviceName": "myService", - "serviceUnitName": "myServiceUnit", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "myServiceUnit", - "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits", - "location": "centralus", - "tags": {}, - "properties": { - "targetResourceGroup": "myDeploymentResourceGroup", - "deploymentMode": "Incremental", - "artifacts": { - "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", - "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "serviceTopologyName": "myTopology", + "serviceName": "myService", + "serviceUnitName": "myServiceUnit", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "myServiceUnit", + "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits", + "location": "centralus", + "tags": {}, + "properties": { + "targetResourceGroup": "myDeploymentResourceGroup", + "deploymentMode": "Incremental", + "artifacts": { + "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json", + "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json index 786d85c933d2..040a478071a3 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "stepName": "deploymentStep1", - "api-version": "2018-09-01-preview", - "stepInfo": { - "type": "Microsoft.DeploymentManager/steps", - "location": "centralus", - "tags": {}, - "properties": { - "stepType": "Wait", - "attributes": { - "duration": "PT20M" - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "stepName": "deploymentStep1", + "api-version": "2018-09-01-preview", + "stepInfo": { + "type": "Microsoft.DeploymentManager/steps", + "location": "centralus", + "tags": {}, + "properties": { + "stepType": "Wait", + "attributes": { + "duration": "PT20M" } - }, - "responses": { - "201": { - "body": { - "name": "deploymentStep1", - "type": "Microsoft.DeploymentManager/steps", - "location": "centralus", - "tags": {}, - "properties": { - "stepType": "Wait", - "attributes": { - "duration": "PT20M" - } - } - } + } + } + }, + "responses": { + "201": { + "body": { + "name": "deploymentStep1", + "type": "Microsoft.DeploymentManager/steps", + "location": "centralus", + "tags": {}, + "properties": { + "stepType": "Wait", + "attributes": { + "duration": "PT20M" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json index eec34d8b74de..9ea55bc13fe5 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "stepName": "deploymentStep1", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "stepName": "deploymentStep1", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json index 5781eaf246a0..166bdff57786 100644 --- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json +++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", - "resourceGroupName": "myResourceGroup", - "stepName": "deploymentStep1", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "deploymentStep1", - "type": "Microsoft.DeploymentManager/steps", - "location": "centralus", - "tags": {}, - "properties": { - "stepType": "Wait", - "attributes": { - "duration": "PT20M" - } - } - } + "parameters": { + "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929", + "resourceGroupName": "myResourceGroup", + "stepName": "deploymentStep1", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "deploymentStep1", + "type": "Microsoft.DeploymentManager/steps", + "location": "centralus", + "tags": {}, + "properties": { + "stepType": "Wait", + "attributes": { + "duration": "PT20M" + } } + } } -} \ No newline at end of file + } +} From f96d0da08a0e061a68fd53882e760b9305370cdd Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:49:34 -0400 Subject: [PATCH 073/495] chore: jsonfmt hardwaresecuritymodules (#6080) Ran `jsonfmt -w "specification/hardwaresecuritymodules/**/*.json"` --- .../2018-10-31-preview/dedicatedhsm.json | 111 +++++++---- .../examples/DedicatedHsm_CreateOrUpdate.json | 176 +++++++++--------- .../examples/DedicatedHsm_Delete.json | 24 +-- .../examples/DedicatedHsm_Get.json | 76 ++++---- .../DedicatedHsm_ListByResourceGroup.json | 146 +++++++-------- .../DedicatedHsm_ListBySubscription.json | 144 +++++++------- .../examples/DedicatedHsm_Update.json | 88 ++++----- 7 files changed, 400 insertions(+), 365 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json index 36c26a2c3cff..fe26f51c7c4b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json @@ -9,7 +9,8 @@ "schemes": [ "https" ], - "security": [{ + "security": [ + { "azure_auth": [ "user_impersonation" ] @@ -35,20 +36,23 @@ "operationId": "DedicatedHsm_CreateOrUpdate", "x-ms-long-running-operation": true, "description": "Create or Update a dedicated HSM in the specified subscription.", - "parameters": [{ + "parameters": [ + { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the Resource Group to which the resource belongs." - }, { + }, + { "name": "name", "in": "path", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$", "description": "Name of the dedicated Hsm" - }, { + }, + { "name": "parameters", "in": "body", "required": true, @@ -56,9 +60,11 @@ "$ref": "#/definitions/DedicatedHsm" }, "description": "Parameters to create or update the dedicated hsm" - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -101,20 +107,23 @@ "operationId": "DedicatedHsm_Update", "x-ms-long-running-operation": true, "description": "Update a dedicated HSM in the specified subscription.", - "parameters": [{ + "parameters": [ + { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the Resource Group to which the server belongs." - }, { + }, + { "name": "name", "in": "path", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$", "description": "Name of the dedicated HSM" - }, { + }, + { "name": "parameters", "in": "body", "required": true, @@ -123,9 +132,11 @@ "$ref": "#/definitions/DedicatedHsmPatchParameters" }, "description": "Parameters to patch the dedicated HSM" - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -162,21 +173,25 @@ "operationId": "DedicatedHsm_Delete", "x-ms-long-running-operation": true, "description": "Deletes the specified Azure Dedicated HSM.", - "parameters": [{ + "parameters": [ + { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the Resource Group to which the dedicated HSM belongs." - }, { + }, + { "name": "name", "in": "path", "required": true, "type": "string", "description": "The name of the dedicated HSM to delete" - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -215,21 +230,25 @@ ], "operationId": "DedicatedHsm_Get", "description": "Gets the specified Azure dedicated HSM.", - "parameters": [{ + "parameters": [ + { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the Resource Group to which the dedicated hsm belongs." - }, { + }, + { "name": "name", "in": "path", "required": true, "type": "string", "description": "The name of the dedicated HSM." - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -267,21 +286,25 @@ ], "operationId": "DedicatedHsm_ListByResourceGroup", "description": "The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.", - "parameters": [{ + "parameters": [ + { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the Resource Group to which the dedicated HSM belongs." - }, { + }, + { "name": "$top", "in": "query", "type": "integer", "format": "int32", "description": "Maximum number of results to return." - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -322,15 +345,18 @@ ], "operationId": "DedicatedHsm_ListBySubscription", "description": "The List operation gets information about the dedicated HSMs associated with the subscription.", - "parameters": [{ + "parameters": [ + { "name": "$top", "in": "query", "type": "integer", "format": "int32", "description": "Maximum number of results to return." - }, { + }, + { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "$ref": "#/parameters/SubscriptionIdParameter" } ], @@ -375,14 +401,14 @@ }, "description": "The API entity reference." }, - "NetworkInterface": { + "NetworkInterface": { "properties": { "id": { "readOnly": true, "type": "string", "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." }, - "privateIpAddress": { + "privateIpAddress": { "type": "string", "description": "Private Ip address of the interface" } @@ -392,15 +418,15 @@ "NetworkProfile": { "properties": { "subnet": { - "$ref": "#/definitions/ApiEntityReference", - "description": "Specifies the identifier of the subnet." + "$ref": "#/definitions/ApiEntityReference", + "description": "Specifies the identifier of the subnet." }, "networkInterfaces": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkInterface" - }, - "description": "Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM." + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM." } } }, @@ -434,7 +460,15 @@ "readOnly": true, "type": "string", "description": "Provisioning state.", - "enum": [ "Succeeded", "Provisioning", "Allocating", "Connecting", "Failed", "CheckingQuota", "Deleting" ], + "enum": [ + "Succeeded", + "Provisioning", + "Allocating", + "Connecting", + "Failed", + "CheckingQuota", + "Deleting" + ], "x-ms-enum": { "name": "JsonWebKeyType", "modelAsString": true, @@ -481,7 +515,8 @@ "description": "Properties of the dedicated HSM" } }, - "allOf": [{ + "allOf": [ + { "$ref": "#/definitions/Resource" } ], @@ -628,4 +663,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json index daec9380477f..a2d30ce4c42f 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json @@ -1,96 +1,96 @@ { + "parameters": { + "resourceGroupName": "hsm-group", + "name": "hsm1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview", "parameters": { - "resourceGroupName": "hsm-group", - "name": "hsm1", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview", - "parameters": { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01" - }, - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" } + ] + }, + "stampId": "stamp01" + }, + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Provisioning", + "statusMessage": "DedicatedHsm device is being provisioned." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" } + } }, - "responses": { - "201": { - "body": { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Provisioning", - "statusMessage": "DedicatedHsm device is being provisioned." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - } - } + "200": { + "body": { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." }, - "200": { - "body": { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - } - } + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" } + } } -} \ No newline at end of file + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json index 0d44a07fbd2e..a3b2a5432755 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json @@ -1,13 +1,13 @@ { - "parameters": { - "resourceGroupName": "hsm-group", - "name": "hsm1", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "hsm-group", + "name": "hsm1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json index 93986fb65cc1..661d042e750a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json @@ -1,42 +1,42 @@ { - "parameters": { - "resourceGroupName": "hsm-group", + "parameters": { + "resourceGroupName": "hsm-group", + "name": "hsm1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", "name": "hsm1", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } - } + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" } + } } -} \ No newline at end of file + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json index 9f35454fc969..b343a4345a8a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json @@ -1,76 +1,76 @@ { - "parameters": { - "resourceGroupName": "hsm-group", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } - }, - { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.2" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "B" - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "parameters": { + "resourceGroupName": "hsm-group", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" } - } + }, + { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.2" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "B" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } -} \ No newline at end of file + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json index 90866755637d..d5268cb396e4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json @@ -1,75 +1,75 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } - }, - { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.2" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "B" - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" } - } + }, + { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.2" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2", + "name": "hsm1", + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "B" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } -} \ No newline at end of file + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json index 36758632cb28..18a78b7a583c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json @@ -1,49 +1,49 @@ { + "parameters": { + "resourceGroupName": "hsm-group", + "name": "hsm1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-10-31-preview", "parameters": { - "resourceGroupName": "hsm-group", + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkProfile": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", + "privateIpAddress": "1.0.0.1" + } + ] + }, + "stampId": "stamp01", + "provisioningState": "Succeeded", + "statusMessage": "DedicatedHsm device is functional." + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", "name": "hsm1", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview", - "parameters": { - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "networkProfile": { - "subnet": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic", - "privateIpAddress": "1.0.0.1" - } - ] - }, - "stampId": "stamp01", - "provisioningState": "Succeeded", - "statusMessage": "DedicatedHsm device is functional." - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1", - "name": "hsm1", - "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", - "location": "westus", - "sku": { - "name": "SafeNet Luna Network HSM A790" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } - } + "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs", + "location": "westus", + "sku": { + "name": "SafeNet Luna Network HSM A790" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" } + } } -} \ No newline at end of file + } +} From 651eaa1733ffe5b52aba38bd8288109db3776cea Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:50:05 -0400 Subject: [PATCH 074/495] chore: jsonfmt hybriddatamanager (#6083) Ran `jsonfmt -w "specification/hybriddatamanager/**/*.json"` --- .../examples/DataManagers_Create-PUT-example-41.json | 4 ++-- .../examples/DataManagers_Delete-DELETE-example-41.json | 3 +-- .../examples/DataManagers_Get-GET-example-41.json | 2 +- .../examples/DataManagers_List-GET-example-21.json | 2 +- .../DataManagers_ListByResourceGroup-GET-example-31.json | 2 +- .../examples/DataManagers_Update-PATCH-example-43.json | 4 ++-- .../examples/DataServices_Get-GET-example-62.json | 2 +- .../DataServices_ListByDataManager-GET-example-51.json | 2 +- .../examples/DataStoreTypes_Get-GET-example-182.json | 2 +- .../examples/DataStoreTypes_Get-GET-example-183.json | 2 +- .../DataStoreTypes_ListByDataManager-GET-example-171.json | 2 +- ...ataStores_CreateOrUpdate_DataSink-PUT-example-162.json | 2 +- ...aStores_CreateOrUpdate_DataSource-PUT-example-162.json | 2 +- .../DataStores_Delete_DataSink-DELETE-example-161.json | 2 +- .../DataStores_Delete_DataSource-DELETE-example-161.json | 2 +- .../examples/DataStores_Get-GET-example-161.json | 2 +- .../examples/DataStores_Get-GET-example-162.json | 2 +- .../DataStores_ListByDataManager-GET-example-151.json | 2 +- .../JobDefinitions_CreateOrUpdate-PUT-example-83.json | 2 +- .../examples/JobDefinitions_Delete-DELETE-example-81.json | 2 +- .../examples/JobDefinitions_Get-GET-example-81.json | 2 +- .../JobDefinitions_ListByDataManager-GET-example-191.json | 2 +- .../JobDefinitions_ListByDataService-GET-example-71.json | 2 +- .../examples/JobDefinitions_Run-POST-example-132.json | 2 +- .../2016-06-01/examples/Jobs_Cancel-POST-example-111.json | 2 +- .../2016-06-01/examples/Jobs_Get-GET-example-101.json | 2 +- .../examples/Jobs_ListByDataManager-GET-example-201.json | 2 +- .../examples/Jobs_ListByDataService-GET-example-141.json | 2 +- .../examples/Jobs_ListByJobDefinition-GET-example-91.json | 2 +- .../2016-06-01/examples/Jobs_Resume-POST-example-121.json | 2 +- .../examples/Operations_List-GET-example-11.json | 2 +- .../examples/PublicKeys_Get-GET-example-222.json | 2 +- .../PublicKeys_ListByDataManager-GET-example-211.json | 2 +- .../stable/2016-06-01/hybriddata.json | 8 ++++---- 34 files changed, 39 insertions(+), 40 deletions(-) diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json index e3fed46035e4..8dc05f4563c7 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json @@ -30,7 +30,7 @@ "202": { "body": "" }, - "200": { + "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A08%3A57.4101089Z'\"_W/\"datetime'2019-04-10T09%3A08%3A57.5552101Z'\"", "id": "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations", @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json index f64e1711d53a..d22a70af04b5 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json @@ -24,6 +24,5 @@ "204": { "body": "" } - } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Get-GET-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Get-GET-example-41.json index 34a1288da8a2..2add2fdb8a23 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Get-GET-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Get-GET-example-41.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_List-GET-example-21.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_List-GET-example-21.json index e97eb8fdcca7..be24f36dbfdc 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_List-GET-example-21.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_List-GET-example-21.json @@ -933,4 +933,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_ListByResourceGroup-GET-example-31.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_ListByResourceGroup-GET-example-31.json index 1114f1bb0dc1..72185cff45bf 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_ListByResourceGroup-GET-example-31.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_ListByResourceGroup-GET-example-31.json @@ -101,4 +101,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json index 742c00dd627f..c6a9b095d51e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json @@ -33,7 +33,7 @@ "202": { "body": "" }, - "200": { + "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A23%3A57.1833483Z'\"_W/\"datetime'2019-04-10T09%3A23%3A57.1993588Z'\"", "id": "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations", @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_Get-GET-example-62.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_Get-GET-example-62.json index 04bd451f6d33..eae732e615e5 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_Get-GET-example-62.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_Get-GET-example-62.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json index a52514c42a2d..aa8402028e45 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-182.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-182.json index d232a98a91bc..3cfcfabcb172 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-182.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-182.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-183.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-183.json index a66fc1488aba..f12d824d19c0 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-183.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_Get-GET-example-183.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json index c294eea0ece7..7be5d5715925 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json @@ -101,4 +101,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json index 8333673c1905..3129b2cde488 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json index 608f2a266e44..37b6b4603ddd 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json index 2966db115576..158bfb2d7ba3 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json index a38893d9068f..38c61fe70aec 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-161.json index 1a75793efdc2..e6a204696448 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-161.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-162.json index c06ca2aca7e6..0ebe6aaa5ba3 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Get-GET-example-162.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json index 57ad593a91da..bb5a0dee4d53 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json index dc87ef4471bb..06c7a2ff2820 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json index 6178b86f4439..43c643ba4d77 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Get-GET-example-81.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Get-GET-example-81.json index 5cf6856f67ee..cefc4772b8f6 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Get-GET-example-81.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Get-GET-example-81.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json index 822b6c44d150..fcab9f535bcf 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json index bbc698a4d0fe..83b201fbd5b4 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json index 636e407b8748..e68991154c56 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json @@ -51,4 +51,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json index 2982b04e4118..2471607bb155 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json @@ -28,4 +28,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Get-GET-example-101.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Get-GET-example-101.json index a42ba22e3320..d38c703fcce8 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Get-GET-example-101.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Get-GET-example-101.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json index abc530b4d1f9..c0721acb1faf 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json index ba5caf27d7d3..7fc10af4a35c 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json index 7c1c0cb821c5..da706483e2a2 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json index aed00ad7d2c1..ccc8532807da 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json @@ -28,4 +28,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Operations_List-GET-example-11.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Operations_List-GET-example-11.json index ae8c7d456252..8f688f5ec025 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Operations_List-GET-example-11.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Operations_List-GET-example-11.json @@ -297,4 +297,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_Get-GET-example-222.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_Get-GET-example-222.json index 0d98a0de6fe7..0d971801affe 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_Get-GET-example-222.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_Get-GET-example-222.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_ListByDataManager-GET-example-211.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_ListByDataManager-GET-example-211.json index 879a880eb7ce..47488c24120e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_ListByDataManager-GET-example-211.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/PublicKeys_ListByDataManager-GET-example-211.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/hybriddata.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/hybriddata.json index 8ff2b53bcee4..9e35551cdd6a 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/hybriddata.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/hybriddata.json @@ -369,7 +369,7 @@ "DataServices_ListByDataManagerGET51": { "$ref": "./examples/DataServices_ListByDataManager-GET-example-51.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}": { @@ -418,7 +418,7 @@ "DataServices_GetGET62": { "$ref": "./examples/DataServices_Get-GET-example-62.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions": { @@ -534,7 +534,7 @@ "JobDefinitions_GetGET81": { "$ref": "./examples/JobDefinitions_Get-GET-example-81.json" } - } + } }, "put": { "tags": [ @@ -2648,4 +2648,4 @@ ] } ] -} \ No newline at end of file +} From dd305e0a25a48b6ddd7cf45544d316af9d938866 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:51:15 -0400 Subject: [PATCH 075/495] chore: jsonfmt imagebuilder (#6115) * chore: jsonfmt imagebuilder Ran `jsonfmt -w "specification/imagebuilder/**/*.json"` * typo: subscritionId -> subscriptionId --- .../examples/DeleteImageTemplate.json | 4 ++-- .../examples/GetRunOutput.json | 6 +++--- .../examples/ListImageTemplatesByRg.json | 7 +++++-- .../examples/ListRunOutputs.json | 6 +++--- .../examples/RunImageTemplate.json | 6 +++--- .../examples/UpdateImageTemplateTags.json | 8 +++---- .../2018-02-01-preview/imagebuilder.json | 15 +++++++------ .../examples/DeleteImageTemplate.json | 4 ++-- .../examples/GetRunOutput.json | 6 +++--- .../examples/ListImageTemplatesByRg.json | 7 +++++-- .../examples/ListRunOutputs.json | 6 +++--- .../examples/RunImageTemplate.json | 6 +++--- .../examples/UpdateImageTemplateTags.json | 8 +++---- .../2019-02-01-preview/imagebuilder.json | 21 +++++++++++-------- .../examples/DeleteImageTemplate.json | 4 ++-- .../examples/GetRunOutput.json | 6 +++--- .../examples/ListImageTemplatesByRg.json | 5 ++++- .../examples/ListRunOutputs.json | 6 +++--- .../examples/RunImageTemplate.json | 8 +++---- 19 files changed, 77 insertions(+), 62 deletions(-) diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json index 80fe8d5c44d6..ae1ec99b2696 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json @@ -2,10 +2,10 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2018-02-01-preview" }, - "responses":{ + "responses": { "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/85506efc-36f7-11e9-a0c2-000d3afd16e3?api-version=2018-02-01-preview" diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json index d7ef1d1c3a52..ebc7e90bb29a 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "runOutputName": "myManagedImageOutput", "api-version": "2018-02-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", "name": "myManagedImageOutput", "properties": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json index d74c8cf3ef8b..4aa46dde73ba 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json @@ -1,6 +1,6 @@ { "parameters": { - "subscritionId": "{subscription-id}", + "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "api-version": "2018-02-01-preview" }, @@ -69,7 +69,10 @@ { "type": "sharedImage", "galleryImageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/gallery/baseimages/images/baseimage", - "replicationRegions":[ "eastus", "westus"], + "replicationRegions": [ + "eastus", + "westus" + ], "runOutputName": "gallery", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/baseimage-eus" } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json index 40491e85e862..ed8b88518cc2 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json @@ -2,12 +2,12 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2018-02-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "value": [ { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json index 30261f6efacf..b41ff971f0cb 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json @@ -2,11 +2,11 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2018-02-01-preview" }, - "responses":{ - "202":{ + "responses": { + "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/777b2050-36f8-11e9-b8fa-000d3afd16e3?api-version=2018-02-01-preview" } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json index 937bea1ea289..aa2080127f53 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json @@ -2,15 +2,15 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2018-02-01-preview", - "parameters":{ + "parameters": { "tags": { "new-tag": "new-value" } } }, - "responses":{ + "responses": { "200": { "body": { "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate", @@ -46,6 +46,6 @@ ] } } - } + } } } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json index d347af32d4bc..417a64506ddb 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json @@ -172,7 +172,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" } }, "patch": { @@ -303,7 +303,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" }, "x-ms-examples": { "Delete an Image Template.": { @@ -349,7 +349,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" }, "x-ms-examples": { "Create image(s) from existing imageTemplate.": { @@ -481,7 +481,7 @@ } }, "definitions": { - "ImageTemplateListResult" : { + "ImageTemplateListResult": { "properties": { "value": { "type": "array", @@ -691,7 +691,7 @@ "description": "Error code of the provisioning failure" }, "message": { - "type":"string", + "type": "string", "description": "Verbose error message about the provisioning failure" } } @@ -863,7 +863,10 @@ "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ "create", "read" ] + "x-ms-mutability": [ + "create", + "read" + ] }, "tags": { "type": "object", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json index 737024b70b17..e5ddb02cf671 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json @@ -2,10 +2,10 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-02-01-preview" }, - "responses":{ + "responses": { "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/85506efc-36f7-11e9-a0c2-000d3afd16e3?api-version=2018-02-01-preview" diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json index 1e16b8ea9f2f..67accf70efbf 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "runOutputName": "myManagedImageOutput", "api-version": "2019-02-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", "name": "myManagedImageOutput", "properties": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json index b90ebc7ca10b..1f715b46edef 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json @@ -1,6 +1,6 @@ { "parameters": { - "subscritionId": "{subscription-id}", + "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "api-version": "2019-02-01-preview" }, @@ -69,7 +69,10 @@ { "type": "SharedImage", "galleryImageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/gallery/baseimages/images/baseimage", - "replicationRegions":[ "eastus", "westus"], + "replicationRegions": [ + "eastus", + "westus" + ], "runOutputName": "gallery", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/baseimage-eus" } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json index aeaad646ca66..14d11a88229e 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json @@ -2,12 +2,12 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-02-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "value": [ { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json index a00363b0d347..9a2dc3cb10c4 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json @@ -2,11 +2,11 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-02-01-preview" }, - "responses":{ - "202":{ + "responses": { + "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/777b2050-36f8-11e9-b8fa-000d3afd16e3?api-version=2018-02-01-preview" } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json index de7627d76fef..b7e177eedf2c 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json @@ -2,15 +2,15 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-02-01-preview", - "parameters":{ + "parameters": { "tags": { "new-tag": "new-value" } } }, - "responses":{ + "responses": { "200": { "body": { "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate", @@ -46,6 +46,6 @@ ] } } - } + } } } diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json index c0cc8c4fc6e2..53c27ee0b519 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json @@ -172,7 +172,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" } }, "patch": { @@ -303,7 +303,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" }, "x-ms-examples": { "Delete an Image Template.": { @@ -349,7 +349,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via":"azure-async-operation" + "final-state-via": "azure-async-operation" }, "x-ms-examples": { "Create image(s) from existing imageTemplate.": { @@ -481,7 +481,7 @@ } }, "definitions": { - "ImageTemplateListResult" : { + "ImageTemplateListResult": { "properties": { "value": { "type": "array", @@ -563,13 +563,13 @@ "allOf": [ { "$ref": "#/definitions/ImageTemplateSource" - } + } ], "properties": { "imageId": { "type": "string", "description": "ARM resource id of the managed image in customer subscription" - } + } }, "required": [ "imageId" @@ -656,7 +656,7 @@ "type": "string" } }, - "validExitCodes" : { + "validExitCodes": { "type": "array", "description": "Valid exit codes for the PowerShell script. [Default: 0]", "items": { @@ -782,7 +782,7 @@ "description": "Error code of the provisioning failure" }, "message": { - "type":"string", + "type": "string", "description": "Verbose error message about the provisioning failure" } } @@ -957,7 +957,10 @@ "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ "create", "read" ] + "x-ms-mutability": [ + "create", + "read" + ] }, "tags": { "type": "object", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/DeleteImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/DeleteImageTemplate.json index dc4f7d07c7ef..fbe9c0eb26ae 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/DeleteImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/DeleteImageTemplate.json @@ -2,10 +2,10 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-05-01-preview" }, - "responses":{ + "responses": { "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/{location}/operations/{operation-id}?api-version=2019-05-01-preview" diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/GetRunOutput.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/GetRunOutput.json index 83ae58d56c63..e2bd93470237 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/GetRunOutput.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/GetRunOutput.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "runOutputName": "myManagedImageOutput", "api-version": "2019-05-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", "name": "myManagedImageOutput", "properties": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListImageTemplatesByRg.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListImageTemplatesByRg.json index 24262e24f3f8..b68152ea6325 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListImageTemplatesByRg.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListImageTemplatesByRg.json @@ -69,7 +69,10 @@ { "type": "SharedImage", "galleryImageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/gallery/baseimages/images/baseimage", - "replicationRegions":[ "eastus", "westus"], + "replicationRegions": [ + "eastus", + "westus" + ], "runOutputName": "gallery" } ] diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListRunOutputs.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListRunOutputs.json index 898b0b682282..5c4c1a148356 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListRunOutputs.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/ListRunOutputs.json @@ -2,12 +2,12 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-05-01-preview" }, - "responses":{ + "responses": { "200": { - "body":{ + "body": { "value": [ { "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/RunImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/RunImageTemplate.json index 5c6f65b35b59..718c1457cae0 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/RunImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/examples/RunImageTemplate.json @@ -2,15 +2,15 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "imageTemplateName":"myImageTemplate", + "imageTemplateName": "myImageTemplate", "api-version": "2019-05-01-preview" }, - "responses":{ - "202":{ + "responses": { + "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/{location}/operations/{operation-id}?api-version=2019-05-01-preview" } }, - "204":{} + "204": {} } } From 97318e230c61f00bb5ebf977507aa19838cb531d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:51:37 -0400 Subject: [PATCH 076/495] chore: jsonfmt intune (#6117) Ran `jsonfmt -w "specification/intune/**/*.json"` --- .../Microsoft.Intune/preview/2015-01-14-preview/intune.json | 2 +- .../preview/2015-01-14-privatepreview/intune.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json index a57d5d1377a9..d68efe39d150 100644 --- a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json +++ b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json @@ -2495,4 +2495,4 @@ "description": "Service Api Version." } } -} \ No newline at end of file +} diff --git a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json index 620d04da427d..f47b20d070e0 100644 --- a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json +++ b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json @@ -2490,4 +2490,4 @@ "description": "Service Api Version." } } -} \ No newline at end of file +} From 87dbc20106afce8c615113d654c14359a3356486 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:52:54 -0400 Subject: [PATCH 077/495] chore: jsonfmt machinelearningservices (#6152) Ran `jsonfmt -w "specification/machinelearningservices/**/*.json"` --- .../examples/createBasicAKSCompute.json | 76 ++++++------ .../examples/createBasicBatchAICompute.json | 76 ++++++------ .../createBasicDataFactoryCompute.json | 76 ++++++------ .../examples/createWorkspace.json | 108 +++++++++--------- .../examples/deleteCompute.json | 32 +++--- .../examples/deleteWorkspace.json | 22 ++-- .../examples/getAKSCompute.json | 44 +++---- .../examples/getBatchAICompute.json | 44 +++---- .../examples/getComputes.json | 76 ++++++------ .../examples/getWorkspace.json | 52 ++++----- .../getWorkspacesByResourceGroup.json | 94 +++++++-------- .../examples/getWorkspacesBySubscription.json | 92 +++++++-------- .../examples/listKeysAKSCompute.json | 34 +++--- .../examples/listKeysVirtualMachine.json | 38 +++--- .../examples/listWorkspaceKeys.json | 53 +++++---- .../examples/resyncWorkspaceKeys.json | 22 ++-- .../examples/systemUpdateCompute.json | 32 +++--- .../examples/updateAKSCompute.json | 96 ++++++++-------- .../examples/updateBatchAICompute.json | 106 ++++++++--------- .../examples/updateWorkspace.json | 62 +++++----- .../machineLearningServices.json | 82 +++++++++---- .../examples/createBasicAKSCompute.json | 76 ++++++------ .../examples/createBasicAmlCompute.json | 94 +++++++-------- .../createBasicDataFactoryCompute.json | 76 ++++++------ .../2018-11-19/examples/createWorkspace.json | 102 ++++++++--------- .../2018-11-19/examples/deleteCompute.json | 34 +++--- .../2018-11-19/examples/deleteWorkspace.json | 22 ++-- .../2018-11-19/examples/getAKSCompute.json | 44 +++---- .../2018-11-19/examples/getAmlCompute.json | 88 +++++++------- .../2018-11-19/examples/getComputes.json | 76 ++++++------ .../2018-11-19/examples/getWorkspace.json | 50 ++++---- .../getWorkspacesByResourceGroup.json | 90 +++++++-------- .../examples/getWorkspacesBySubscription.json | 88 +++++++------- .../examples/listKeysAKSCompute.json | 34 +++--- .../examples/listKeysVirtualMachine.json | 38 +++--- .../examples/listWorkspaceKeys.json | 53 +++++---- .../2018-11-19/examples/patchAmlCompute.json | 66 +++++------ .../examples/resyncWorkspaceKeys.json | 22 ++-- .../examples/systemUpdateCompute.json | 32 +++--- .../2018-11-19/examples/updateAKSCompute.json | 96 ++++++++-------- .../2018-11-19/examples/updateAmlCompute.json | 100 ++++++++-------- .../2018-11-19/examples/updateWorkspace.json | 60 +++++----- .../2018-11-19/machineLearningServices.json | 88 ++++++++++---- 43 files changed, 1409 insertions(+), 1337 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json index 5a9b40a2241e..fb88eb3aba15 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AKS" - } + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json index d3f2ffe05ffd..71db1a34d1a4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "BatchAI" - } + "location": "eastus", + "properties": { + "computeType": "BatchAI" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "BatchAI", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "BatchAI", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "BatchAI", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "BatchAI", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json index 5dcfa2b1644b..08bf514a47a2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "DataFactory" - } + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json index 7cd518be87b6..cedbdb567567 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json @@ -1,60 +1,60 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-03-01-preview", - "parameters": { - "location": "eastus2euap", - "properties": { - "friendlyName": "HelloName", - "description": "test description", - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" - } + "location": "eastus2euap", + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json index e0b596696809..cdd95585e41b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json index 307b6e2f6f86..452b097c5492 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json index 2b032361a3fd..b43ac99719b0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json index 5e5d75a75a47..db2d7e047fb9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", - "computeType": "BatchAI", - "provisioningState": "Succeeded" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", + "computeType": "BatchAI", + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json index 899e990ea9ef..b96c2eaf315e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute1234", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json index 984545d9ed30..e48b93e29515 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json index 43c28a431e8a..ab288f5e8871 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json @@ -1,50 +1,50 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName 1", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json index 3e5037ab6f45..1cf9bfcf7589 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json index 13cd68b7fb4b..b32d1b81d973 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "userKubeConfig": "user kube config...", - "adminKubeConfig": "admin kube config...", - "imagePullSecretName": "the image pull secret name" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json index 12035705d05a..bd2d429f0087 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "administratorAccount": { - "username": "the user name", - "password": "the password", - "publicKeyData": "public key...", - "privateKeyData": "private key..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "administratorAccount": { + "username": "the user name", + "password": "the password", + "publicKeyData": "public key...", + "privateKeyData": "private key..." } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json index 36c1dba479fe..0d7f76b0d07f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json @@ -1,32 +1,31 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - "body": + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": { + "body": { + "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ { - "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", - "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", - "appInsightsInstrumentationKey": null, - "containerRegistryCredentials": { - "location": null, - "username": "testdemoworkjmjmeykp", - "passwords": [ - { - "name": "password", - "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" - }, - { - "name": "password2", - "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" - } - ] - } + "name": "password", + "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json index 110e00eddc38..0e3115f0badc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json @@ -1,13 +1,11 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json index e0b596696809..cdd95585e41b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json index 77a00340ab83..9aef142daae8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview", - "parameters": { - "id": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "properties": { - "agentCount": 4 - } - } + "id": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json index a81692e3d392..eb9e7a49b81c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json @@ -1,60 +1,60 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-03-01-preview", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "BatchAI", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", - "computeType": "BatchAI", - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "autoScaleEnabled": false - } - } - } + "location": "eastus", + "properties": { + "computeType": "BatchAI", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", + "computeType": "BatchAI", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "autoScaleEnabled": false } + } } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", + "computeType": "BatchAI", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", - "computeType": "BatchAI", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", - "computeType": "BatchAI", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2", + "computeType": "BatchAI", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json index 25eb01e7194b..038c0b6797c1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json @@ -1,35 +1,35 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-03-01-preview", - "parameters": { - "properties": { - "friendlyName": "New friendly name", - "description": "new description" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "New friendly name", - "description": "new description" - } - } + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "New friendly name", + "description": "new description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json index 6b91c6bc4f85..782995dfe9c5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json @@ -73,7 +73,9 @@ "description": "Gets the properties of the specified machine learning workspace.", "operationId": "Workspaces_Get", "x-ms-examples": { - "Get Workspace": { "$ref": "./examples/getWorkspace.json" } + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } }, "parameters": [ { @@ -111,7 +113,9 @@ "description": "Creates or updates a workspace with the specified parameters.", "operationId": "Workspaces_CreateOrUpdate", "x-ms-examples": { - "Create Workspace": { "$ref": "./examples/createWorkspace.json" } + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } }, "parameters": [ { @@ -164,7 +168,9 @@ "description": "Deletes a machine learning workspace.", "operationId": "Workspaces_Delete", "x-ms-examples": { - "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" } + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } }, "parameters": [ { @@ -202,7 +208,9 @@ "description": "Updates a machine learning workspace with the specified parameters.", "operationId": "Workspaces_Update", "x-ms-examples": { - "Update Workspace": { "$ref": "./examples/updateWorkspace.json" } + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } }, "parameters": [ { @@ -251,7 +259,9 @@ "description": "Lists all the available machine learning workspaces under the specified resource group.", "operationId": "Workspaces_ListByResourceGroup", "x-ms-examples": { - "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" } + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } }, "parameters": [ { @@ -294,7 +304,9 @@ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ListKeys", "x-ms-examples": { - "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" } + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } }, "parameters": [ { @@ -334,7 +346,9 @@ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ResyncKeys", "x-ms-examples": { - "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" } + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } }, "parameters": [ { @@ -371,7 +385,9 @@ "description": "Lists all the available machine learning workspaces under the specified subscription.", "operationId": "Workspaces_ListBySubscription", "x-ms-examples": { - "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" } + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } }, "parameters": [ { @@ -415,7 +431,9 @@ "operationId": "MachineLearningCompute_ListByWorkspace", "description": "Gets computes in specified workspace.", "x-ms-examples": { - "Get Computes": { "$ref": "./examples/getComputes.json" } + "Get Computes": { + "$ref": "./examples/getComputes.json" + } }, "parameters": [ { @@ -459,8 +477,12 @@ "operationId": "MachineLearningCompute_Get", "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.", "x-ms-examples": { - "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" }, - "Get a BatchAI Compute": { "$ref": "./examples/getBatchAICompute.json" } + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a BatchAI Compute": { + "$ref": "./examples/getBatchAICompute.json" + } }, "parameters": [ { @@ -503,11 +525,21 @@ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Create a BatchAI Compute": { "$ref": "./examples/createBasicBatchAICompute.json" }, - "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" }, - "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" }, - "Update a BatchAI Compute": { "$ref": "./examples/updateBatchAICompute.json" }, - "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" } + "Create a BatchAI Compute": { + "$ref": "./examples/createBasicBatchAICompute.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a BatchAI Compute": { + "$ref": "./examples/updateBatchAICompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } }, "parameters": [ { @@ -565,7 +597,9 @@ "description": "Deletes specified Machine Learning compute.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete Compute": { "$ref": "./examples/deleteCompute.json" } + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } }, "parameters": [ { @@ -618,7 +652,9 @@ "description": "System Update On Machine Learning compute.", "x-ms-long-running-operation": true, "x-ms-examples": { - "System Update Compute": { "$ref": "./examples/systemUpdateCompute.json" } + "System Update Compute": { + "$ref": "./examples/systemUpdateCompute.json" + } }, "parameters": [ { @@ -672,8 +708,12 @@ "operationId": "MachineLearningCompute_ListKeys", "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", "x-ms-examples": { - "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" }, - "List BatchAI Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" } + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + }, + "List BatchAI Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } }, "parameters": [ { @@ -1106,7 +1146,7 @@ }, { "type": "object", - "properties":{ + "properties": { "properties": { "description": "Compute properties", "$ref": "#/definitions/Compute" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json index c4cebeebb7d2..5abd75786f2e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AKS" - } + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json index 04727724e3c1..fcabd5e57cdc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json @@ -1,53 +1,53 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json index 554c24581345..0be750c0f1c4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "DataFactory" - } + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json index 23e0378b8563..6a032335e30c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json @@ -1,57 +1,57 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-11-19", - "parameters": { - "location": "eastus2euap", - "properties": { - "friendlyName": "HelloName", - "description": "test description", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" - } + "location": "eastus2euap", + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json index ff5e91c8a0fb..c3a92a6f0315 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "underlyingResourceAction": "Delete" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json index 92d50dcc248a..df23a8b03400 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-11-19" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-11-19" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json index 64c1ec9062c1..0dfe733ecd46 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json index a04b2a6ff011..7d80e0f73cde 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "createdOn": "2017-09-26T22:28:08.327Z", - "provisioningState": "Succeeded", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "subnet": "test-subnet-resource-id", - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - }, - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", - "errors": null, - "currentNodeCount": 0, - "targetNodeCount": 1, - "nodeStateCounts": { - "preparingNodeCount": 0, - "runningNodeCount": 0, - "idleNodeCount": 0, - "unusableNodeCount": 0, - "leavingNodeCount": 0, - "preemptedNodeCount": 0 - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "createdOn": "2017-09-26T22:28:08.327Z", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json index 926a37304d52..a13a21654ea9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute1234", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json index 4e240953146b..586fc19fd757 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json index f3d2500a39d6..f309885452ef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName 1", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json index ad423570e683..b637e867ee7e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json index 6558275db967..06ac141d408f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "userKubeConfig": "user kube config...", - "adminKubeConfig": "admin kube config...", - "imagePullSecretName": "the image pull secret name" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json index 670cd7d3dd74..144f1608a036 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "administratorAccount": { - "username": "the user name", - "password": "the password", - "publicKeyData": "public key...", - "privateKeyData": "private key..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "administratorAccount": { + "username": "the user name", + "password": "the password", + "publicKeyData": "public key...", + "privateKeyData": "private key..." } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json index c2dd79bc4175..7b9279c3a634 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json @@ -1,32 +1,31 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - "body": + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-11-19" + }, + "responses": { + "200": { + "body": { + "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ { - "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", - "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", - "appInsightsInstrumentationKey": null, - "containerRegistryCredentials": { - "location": null, - "username": "testdemoworkjmjmeykp", - "passwords": [ - { - "name": "password", - "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" - }, - { - "name": "password2", - "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" - } - ] - } + "name": "password", + "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json index dc7b4fdf12ce..75e344b65ee1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json @@ -1,38 +1,38 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "properties": { - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } + "properties": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } } - }, - "responses": { - "202": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + } + } + }, + "responses": { + "202": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json index 79684b2deee1..6a3e4d786d27 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json @@ -1,13 +1,11 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2018-11-19" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2018-11-19" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json index c2f0b85ae924..367c2830fa12 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json index f2cb82862e2c..cf0a568baef6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "id": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "properties": { - "agentCount": 4 - } - } + "id": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json index e34a72e29c8d..760f79ab8979 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json @@ -1,57 +1,57 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" } + } } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json index c415abb0636b..9588187be115 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2018-11-19", - "parameters": { - "properties": { - "friendlyName": "New friendly name", - "description": "new description" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "New friendly name", - "description": "new description" - } - } + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "New friendly name", + "description": "new description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json index 2b4c65b55399..f1aec5f6f590 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json @@ -73,7 +73,9 @@ "description": "Gets the properties of the specified machine learning workspace.", "operationId": "Workspaces_Get", "x-ms-examples": { - "Get Workspace": { "$ref": "./examples/getWorkspace.json" } + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } }, "parameters": [ { @@ -111,7 +113,9 @@ "description": "Creates or updates a workspace with the specified parameters.", "operationId": "Workspaces_CreateOrUpdate", "x-ms-examples": { - "Create Workspace": { "$ref": "./examples/createWorkspace.json" } + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } }, "parameters": [ { @@ -164,7 +168,9 @@ "description": "Deletes a machine learning workspace.", "operationId": "Workspaces_Delete", "x-ms-examples": { - "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" } + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } }, "parameters": [ { @@ -202,7 +208,9 @@ "description": "Updates a machine learning workspace with the specified parameters.", "operationId": "Workspaces_Update", "x-ms-examples": { - "Update Workspace": { "$ref": "./examples/updateWorkspace.json" } + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } }, "parameters": [ { @@ -251,7 +259,9 @@ "description": "Lists all the available machine learning workspaces under the specified resource group.", "operationId": "Workspaces_ListByResourceGroup", "x-ms-examples": { - "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" } + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } }, "parameters": [ { @@ -294,7 +304,9 @@ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ListKeys", "x-ms-examples": { - "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" } + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } }, "parameters": [ { @@ -334,7 +346,9 @@ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ResyncKeys", "x-ms-examples": { - "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" } + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } }, "parameters": [ { @@ -448,7 +462,9 @@ "description": "Lists all the available machine learning workspaces under the specified subscription.", "operationId": "Workspaces_ListBySubscription", "x-ms-examples": { - "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" } + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } }, "parameters": [ { @@ -492,7 +508,9 @@ "operationId": "MachineLearningCompute_ListByWorkspace", "description": "Gets computes in specified workspace.", "x-ms-examples": { - "Get Computes": { "$ref": "./examples/getComputes.json" } + "Get Computes": { + "$ref": "./examples/getComputes.json" + } }, "parameters": [ { @@ -536,8 +554,12 @@ "operationId": "MachineLearningCompute_Get", "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.", "x-ms-examples": { - "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" }, - "Get a AML Compute": { "$ref": "./examples/getAmlCompute.json" } + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/getAmlCompute.json" + } }, "parameters": [ { @@ -580,11 +602,21 @@ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Create a AML Compute": { "$ref": "./examples/createBasicAmlCompute.json" }, - "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" }, - "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" }, - "Update a AML Compute": { "$ref": "./examples/updateAmlCompute.json" }, - "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" } + "Create a AML Compute": { + "$ref": "./examples/createBasicAmlCompute.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/updateAmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } }, "parameters": [ { @@ -642,7 +674,9 @@ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Update a AmlCompute Compute": { "$ref": "./examples/patchAmlCompute.json" } + "Update a AmlCompute Compute": { + "$ref": "./examples/patchAmlCompute.json" + } }, "parameters": [ { @@ -694,7 +728,9 @@ "description": "Deletes specified Machine Learning compute.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete Compute": { "$ref": "./examples/deleteCompute.json" } + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } }, "parameters": [ { @@ -799,7 +835,9 @@ "operationId": "MachineLearningCompute_ListKeys", "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", "x-ms-examples": { - "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" } + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } }, "parameters": [ { @@ -931,7 +969,7 @@ "modelAsString": true }, "x-ms-parameter-location": "method" -} + } }, "definitions": { "Operation": { @@ -1393,7 +1431,7 @@ }, { "type": "object", - "properties":{ + "properties": { "properties": { "description": "Compute properties", "$ref": "#/definitions/Compute" @@ -1559,9 +1597,9 @@ "$ref": "#/definitions/UserAccountCredentials" }, "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" }, "allocationState": { "type": "string", @@ -1590,7 +1628,7 @@ "description": "Collection of errors encountered by various compute nodes during node setup.", "type": "array", "items": { - "$ref": "#/definitions/MachineLearningServiceError" + "$ref": "#/definitions/MachineLearningServiceError" } }, "currentNodeCount": { From c8a7f7af436f2bded2643fb33d2d8308dfeddda8 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:53:51 -0400 Subject: [PATCH 078/495] chore: jsonfmt mariadb (#6180) Ran `jsonfmt -w "specification/mariadb/**/*.json"` --- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../examples/ServerUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../preview/2018-06-01-preview/mariadb.json | 18 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/QueryTextsListByServer.json | 5 +- .../RecommendedActionSessionCreate.json | 24 +-- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../examples/ServerUpdate.json | 2 +- .../examples/TopQueryStatisticsGet.json | 6 +- .../TopQueryStatisticsListByServer.json | 8 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../2018-06-01-privatepreview/mariadb.json | 13 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../2018-06-01/examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../2018-06-01/examples/DatabaseCreate.json | 8 +- .../2018-06-01/examples/DatabaseDelete.json | 2 +- .../2018-06-01/examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../2018-06-01/examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../2018-06-01/examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../2018-06-01/examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../2018-06-01/examples/ServerDelete.json | 2 +- .../stable/2018-06-01/examples/ServerGet.json | 2 +- .../2018-06-01/examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../2018-06-01/examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../2018-06-01/examples/ServerUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../stable/2018-06-01/mariadb.json | 16 +- 106 files changed, 1243 insertions(+), 1199 deletions(-) diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json index 81ee354035c0..8698804befdc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json index 084be8873d75..be36388c313d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json index c86a15752b67..6ef1f5fc04de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json index e17eb29e1310..01fa68bfa33a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json index 5cbd8be4c95c..63778e737c84 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json index 7f513cbc3631..594cd7a4d947 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json index ad3e04ba91b0..6957b23797c0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json index 433d9de6239e..319ac4834850 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json index 478f32bcca6f..be8e9786c23c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json index b7efa2274f97..31ff7475182f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json index 8ea6c060589a..991ef3c7a9f8 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json index 19ebb8a151ba..604c5203d79b 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json index 9ca3b1a251d2..ce869d6e41d8 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json index 128dbb34efc9..245c99392370 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json index eb15a29cb5fc..ba773d87b696 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json index e5deac0bb9aa..a46ef1141d13 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json index 1184ddb9c90a..b39e8dd93a1c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json index a576d4673980..88a73cd8bf8c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json index e4222b136323..432ff0d3a129 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json index 171406e889c5..8335290219be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json index 2d3015f935d6..6a86cec544ed 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json index 4ae14f56fadb..b4086096f776 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json index 18bdcddc5016..8e7b0a20fab1 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json index 08b101192192..9062e828c299 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json index 25b3cbbc7cfc..8a6eec64860e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json index 37e7bf3decc1..dd25e366fa0e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json index adc54a788662..2f9902071d37 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json index acac76e14846..0c0b4cb90e4a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json index 38798615afa3..66b86a6813ab 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json index f53ee5aec0d0..67b3b0a39cc3 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01-preview", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json index d42649fe262c..c5ea31cb57b0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json index ded4809766aa..27ac4ff55177 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json index 331b5aa3f027..bcaba4c0368d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json index c71cc25e2aae..5a391f81e5cf 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json @@ -44,8 +44,8 @@ "Create a new server": { "$ref": "./examples/ServerCreate.json" }, - "Create a database as a point in time restore":{ - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1347,7 +1349,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -1447,7 +1449,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2276,7 +2278,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2361,4 +2363,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json index d547976bab99..31ab6da04c11 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json index be1a20a77a7a..65cf3730b1b6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json index c742fb75969e..ee378a2516d7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json index 9d6f937021cf..409fd331305d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json index 0b0ffa2b8276..d4ccabe39680 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json index 8fb3bae30a47..d1d52f99130c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json index 9a48aa456d70..37c971e32133 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json index 0307a92f626f..ecd533b78bcd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json index a788d945e9e0..9a416423697d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json index 322a072c0209..a3891fa434de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json index e073fbc225d4..70f794d4e226 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json index 7231a5428143..df35f93f8cc6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json index 89bf4bb4a8fe..7c961f4d9139 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json index 5fee21cd2548..e5d4c6992f3f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json index d6c217745b17..bd4e7a26607e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json index decd570c9a8d..9a2ad8e212ac 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json @@ -4,7 +4,10 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "testResourceGroupName", "serverName": "testServerName", - "queryIds": [ "1", "2" ] + "queryIds": [ + "1", + "2" + ] }, "responses": { "200": { diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json index 6a501bd5ceab..e127d2619fb9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2018-06-01-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "testResourceGroupName", - "serverName": "testServerName", - "advisorName": "Index", - "databaseName": "someDatabaseName" - }, - "responses": { - "200": {}, - "202": {} - } + "parameters": { + "api-version": "2018-06-01-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testResourceGroupName", + "serverName": "testServerName", + "advisorName": "Index", + "databaseName": "someDatabaseName" + }, + "responses": { + "200": {}, + "202": {} } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json index 9679de879c33..dbff8b3c4e89 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json index c25bf15f2430..adcaa150fbcb 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json index c8f33b2ee7a5..b352e68e5f10 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json index e8791c551045..05f6fdc02bbd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json index f60da39a2c06..fd00d428392f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json index 2a1ad22df63e..f1950541bfd0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json index 97bad474fe4b..fb8fdea3d1f7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json index d5c2e5d0ccb3..de7b622078e6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json index 07c4f381084f..7331423f71cd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json index 3a6333f8febc..3b08fa5928f2 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json index ddd2caa7654b..36f74c0cf8a9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json index 704fcf37b4f3..e55f7fa38330 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json index 6c7833d4d89c..749cbe317f46 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json index 046eed085de4..cc84bc925628 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json index 87305a2a3432..25cf6245e6e1 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json @@ -13,19 +13,19 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", "queryExecutionCount": 1, "queryId": "66" - } + } } } } diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json index 3315678eca8f..05e1f9515e13 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json @@ -24,13 +24,13 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", @@ -43,13 +43,13 @@ "name": "66-636924483000000000-636924492000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-03T02:45:00Z", "endTime": "2019-05-03T03:00:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 1712.301446136, "metricValueUnit": "milliseconds", diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json index 2df814ab4133..f4ba671f2acc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json index 25b007c52c42..cfb5339892be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json index 1b97f04ccc5a..72eb33edf92a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json index e3ea4b632c8e..b55e9fb25c45 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json index 237172365fc3..bb7ed03ce2ba 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -1907,7 +1909,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -2007,7 +2009,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -3142,8 +3144,7 @@ } }, "AdvisorProperties": { - "properties": { - }, + "properties": {}, "description": "The properties of a recommendation action advisor." }, "Advisor": { diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json index d547976bab99..31ab6da04c11 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json index be1a20a77a7a..65cf3730b1b6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json index c742fb75969e..ee378a2516d7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json index 9d6f937021cf..409fd331305d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json index 0b0ffa2b8276..d4ccabe39680 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json index 8fb3bae30a47..d1d52f99130c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json index 9a48aa456d70..37c971e32133 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json index 0307a92f626f..ecd533b78bcd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json index a788d945e9e0..9a416423697d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json index 322a072c0209..a3891fa434de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json index e073fbc225d4..70f794d4e226 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json index 7231a5428143..df35f93f8cc6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json index 89bf4bb4a8fe..7c961f4d9139 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json index 5fee21cd2548..e5d4c6992f3f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json index d6c217745b17..bd4e7a26607e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json index 9679de879c33..dbff8b3c4e89 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json index c25bf15f2430..adcaa150fbcb 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json index c8f33b2ee7a5..b352e68e5f10 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json index e8791c551045..05f6fdc02bbd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json index f60da39a2c06..fd00d428392f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json index 2a1ad22df63e..f1950541bfd0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json index 97bad474fe4b..fb8fdea3d1f7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json index d5c2e5d0ccb3..de7b622078e6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json index 07c4f381084f..7331423f71cd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json index 3a6333f8febc..3b08fa5928f2 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json index ddd2caa7654b..36f74c0cf8a9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json index 704fcf37b4f3..e55f7fa38330 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json index 6c7833d4d89c..749cbe317f46 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json index 046eed085de4..cc84bc925628 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json index 2df814ab4133..f4ba671f2acc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json index 25b007c52c42..cfb5339892be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json index 1b97f04ccc5a..72eb33edf92a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json index e3ea4b632c8e..b55e9fb25c45 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json index fa9fd646f5fa..8a0ac15ca3bd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1347,7 +1349,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -1447,7 +1449,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2276,7 +2278,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2361,4 +2363,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} From 2f89349a5d08df6bc95cc07a43ba3927fa72fe02 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:55:22 -0400 Subject: [PATCH 079/495] chore: jsonfmt operationalinsights (#6189) Ran `jsonfmt -w "specification/operationalinsights/**/*.json"` --- .../oms-get-cross-workspace-example.json | 2 +- .../2017-10-01/examples/oms-get-example.json | 2 +- .../oms-post-cross-workspace-example.json | 2 +- .../2017-10-01/examples/oms-post-example.json | 2 +- .../preview/2017-10-01/swagger.json | 2 +- .../stable/v1/OperationalInsights.json | 2 +- .../oms-get-cross-workspace-example.json | 2 +- .../stable/v1/examples/oms-get-example.json | 2 +- .../oms-post-cross-workspace-example.json | 2 +- .../stable/v1/examples/oms-post-example.json | 2 +- .../OperationalInsights.json | 186 +- .../examples/DataSourcesCreate.json | 76 +- .../examples/DataSourcesDelete.json | 24 +- .../examples/DataSourcesGet.json | 42 +- .../examples/DataSourcesListByWorkspace.json | 6034 +++++----- .../examples/LinkedServicesCreate.json | 68 +- .../examples/LinkedServicesDelete.json | 2 +- .../examples/LinkedServicesGet.json | 38 +- .../LinkedServicesListByWorkspace.json | 58 +- .../examples/OperationsList.json | 4518 ++++---- .../examples/WorkspacesCreate.json | 122 +- .../examples/WorkspacesDelete.json | 22 +- .../WorkspacesDisableIntelligencePack.json | 2 +- .../WorkspacesEnableIntelligencePack.json | 2 +- .../examples/WorkspacesGet.json | 88 +- .../examples/WorkspacesGetSharedKeys.json | 28 +- .../WorkspacesListByResourceGroup.json | 62 +- .../WorkspacesListIntelligencePacks.json | 486 +- .../WorkspacesListManagementGroups.json | 27 +- .../examples/WorkspacesListUsages.json | 50 +- .../examples/WorkspacesSubscriptionList.json | 60 +- .../examples/WorkspacesUpdate.json | 54 +- .../2015-03-20/OperationalInsights.json | 147 +- .../2015-03-20/examples/OperationsList.json | 4516 ++++---- .../examples/SavedSearchesGetResults.json | 74 +- .../examples/SavedSearchesGetSchema.json | 124 +- .../SavedSearchesListByWorkspace.json | 58 +- .../StorageInsightsCreateOrUpdate.json | 136 +- .../examples/StorageInsightsDelete.json | 26 +- .../examples/StorageInsightsGet.json | 64 +- .../StorageInsightsListByWorkspace.json | 64 +- .../WorkspacesDeleteSavedSearches.json | 24 +- .../examples/WorkspacesGatewaysDelete.json | 23 +- .../examples/WorkspacesGetSearchResults.json | 9834 ++++++++--------- .../examples/WorkspacesListKeys.json | 28 +- .../examples/WorkspacesListLinkTargets.json | 34 +- .../2015-03-20/examples/WorkspacesPurge.json | 49 +- .../examples/WorkspacesPurgeOperation.json | 28 +- .../WorkspacesRegenerateSharedKeys.json | 28 +- ...WorkspacesSavedSearchesCreateOrUpdate.json | 72 +- .../examples/WorkspacesSavedSearchesGet.json | 44 +- .../WorkspacesUpdateSearchResults.json | 20 +- 52 files changed, 13742 insertions(+), 13720 deletions(-) diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json index 25d7021ba7de..e9bc6f418eca 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json index 6a7270b99638..ab188d44137a 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json @@ -158,4 +158,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json index f9fd525c53f6..de83bdaba9c8 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json index f31fb44c76a1..5dc59c2698c0 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json @@ -156,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json index 5fabe7c69f1b..b43b41998b8f 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json @@ -388,4 +388,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json index 70f61cdd1be8..286c4d57c86a 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json @@ -353,4 +353,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-cross-workspace-example.json index 785cf83dc88b..d1e3647f86ef 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-cross-workspace-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-cross-workspace-example.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-example.json index 2818b0bedbb0..5b4e6d426e57 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-get-example.json @@ -155,4 +155,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-cross-workspace-example.json index 930205a98196..20a06125bd66 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-cross-workspace-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-cross-workspace-example.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-example.json index 002776cb4d86..57a53fa2a365 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-example.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/examples/oms-post-example.json @@ -153,4 +153,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json index cdf16680bba9..963a79523ec0 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/OperationalInsights.json @@ -40,7 +40,9 @@ "LinkedServices" ], "x-ms-examples": { - "LinkedServicesCreate": { "$ref": "./examples/LinkedServicesCreate.json" } + "LinkedServicesCreate": { + "$ref": "./examples/LinkedServicesCreate.json" + } }, "operationId": "LinkedServices_CreateOrUpdate", "description": "Create or update a linked service.", @@ -98,7 +100,9 @@ "LinkedServices" ], "x-ms-examples": { - "LinkedServicesDelete": { "$ref": "./examples/LinkedServicesDelete.json" } + "LinkedServicesDelete": { + "$ref": "./examples/LinkedServicesDelete.json" + } }, "operationId": "LinkedServices_Delete", "description": "Deletes a linked service instance.", @@ -141,7 +145,9 @@ "LinkedServices" ], "x-ms-examples": { - "LinkedServicesGet": { "$ref": "./examples/LinkedServicesGet.json" } + "LinkedServicesGet": { + "$ref": "./examples/LinkedServicesGet.json" + } }, "operationId": "LinkedServices_Get", "description": "Gets a linked service instance.", @@ -186,7 +192,9 @@ "LinkedServices" ], "x-ms-examples": { - "LinkedServicesListByWorkspace": { "$ref": "./examples/LinkedServicesListByWorkspace.json" } + "LinkedServicesListByWorkspace": { + "$ref": "./examples/LinkedServicesListByWorkspace.json" + } }, "operationId": "LinkedServices_ListByWorkspace", "description": "Gets the linked services instances in a workspace.", @@ -227,7 +235,9 @@ "DataSources" ], "x-ms-examples": { - "DataSourcesCreate": { "$ref": "./examples/DataSourcesCreate.json" } + "DataSourcesCreate": { + "$ref": "./examples/DataSourcesCreate.json" + } }, "operationId": "DataSources_CreateOrUpdate", "description": "Create or update a data source.", @@ -285,7 +295,9 @@ "DataSources" ], "x-ms-examples": { - "DataSourcesDelete": { "$ref": "./examples/DataSourcesDelete.json" } + "DataSourcesDelete": { + "$ref": "./examples/DataSourcesDelete.json" + } }, "operationId": "DataSources_Delete", "description": "Deletes a data source instance.", @@ -328,7 +340,9 @@ "DataSources" ], "x-ms-examples": { - "DataSourcesGet": { "$ref": "./examples/DataSourcesGet.json" } + "DataSourcesGet": { + "$ref": "./examples/DataSourcesGet.json" + } }, "operationId": "DataSources_Get", "description": "Gets a datasource instance.", @@ -373,7 +387,9 @@ "DataSources" ], "x-ms-examples": { - "DataSourcesListByWorkspace": { "$ref": "./examples/DataSourcesListByWorkspace.json" } + "DataSourcesListByWorkspace": { + "$ref": "./examples/DataSourcesListByWorkspace.json" + } }, "operationId": "DataSources_ListByWorkspace", "description": "Gets the first page of data source instances in a workspace with the link to the next page.", @@ -429,8 +445,10 @@ "Workspaces" ], "x-ms-examples": { - "IntelligencePacksDisable": { "$ref": "./examples/WorkspacesDisableIntelligencePack.json" } - }, + "IntelligencePacksDisable": { + "$ref": "./examples/WorkspacesDisableIntelligencePack.json" + } + }, "operationId": "Workspaces_DisableIntelligencePack", "description": "Disables an intelligence pack for a given workspace.", "parameters": [ @@ -471,8 +489,10 @@ "Workspaces" ], "x-ms-examples": { - "IntelligencePacksEnable": { "$ref": "./examples/WorkspacesEnableIntelligencePack.json" } - }, + "IntelligencePacksEnable": { + "$ref": "./examples/WorkspacesEnableIntelligencePack.json" + } + }, "operationId": "Workspaces_EnableIntelligencePack", "description": "Enables an intelligence pack for a given workspace.", "parameters": [ @@ -513,8 +533,10 @@ "Workspaces" ], "x-ms-examples": { - "IntelligencePacksList": { "$ref": "./examples/WorkspacesListIntelligencePacks.json" } - }, + "IntelligencePacksList": { + "$ref": "./examples/WorkspacesListIntelligencePacks.json" + } + }, "operationId": "Workspaces_ListIntelligencePacks", "description": "Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.", "parameters": [ @@ -554,8 +576,10 @@ "Workspaces" ], "x-ms-examples": { - "SharedKeysList": { "$ref": "./examples/WorkspacesGetSharedKeys.json" } - }, + "SharedKeysList": { + "$ref": "./examples/WorkspacesGetSharedKeys.json" + } + }, "operationId": "Workspaces_GetSharedKeys", "description": "Gets the shared keys for a workspace.", "parameters": [ @@ -592,8 +616,10 @@ "Workspaces" ], "x-ms-examples": { - "UsagesList": { "$ref": "./examples/WorkspacesListUsages.json" } - }, + "UsagesList": { + "$ref": "./examples/WorkspacesListUsages.json" + } + }, "operationId": "Workspaces_ListUsages", "description": "Gets a list of usage metrics for a workspace.", "parameters": [ @@ -633,8 +659,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesListManagementGroups": { "$ref": "./examples/WorkspacesListManagementGroups.json" } - }, + "WorkspacesListManagementGroups": { + "$ref": "./examples/WorkspacesListManagementGroups.json" + } + }, "operationId": "Workspaces_ListManagementGroups", "description": "Gets a list of management groups connected to a workspace.", "parameters": [ @@ -674,8 +702,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesGet": { "$ref": "./examples/WorkspacesListByResourceGroup.json" } - }, + "WorkspacesGet": { + "$ref": "./examples/WorkspacesListByResourceGroup.json" + } + }, "operationId": "Workspaces_ListByResourceGroup", "description": "Gets workspaces in a resource group.", "parameters": [ @@ -708,8 +738,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesSubscriptionList": { "$ref": "./examples/WorkspacesSubscriptionList.json" } - }, + "WorkspacesSubscriptionList": { + "$ref": "./examples/WorkspacesSubscriptionList.json" + } + }, "operationId": "Workspaces_List", "description": "Gets the workspaces in a subscription.", "parameters": [ @@ -739,8 +771,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesCreate": { "$ref": "./examples/WorkspacesCreate.json" } - }, + "WorkspacesCreate": { + "$ref": "./examples/WorkspacesCreate.json" + } + }, "operationId": "Workspaces_CreateOrUpdate", "description": "Create or update a workspace.", "parameters": [ @@ -798,8 +832,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesDelete": { "$ref": "./examples/WorkspacesDelete.json" } - }, + "WorkspacesDelete": { + "$ref": "./examples/WorkspacesDelete.json" + } + }, "operationId": "Workspaces_Delete", "description": "Deletes a workspace instance.", "parameters": [ @@ -838,8 +874,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspaceGet": { "$ref": "./examples/WorkspacesGet.json" } - }, + "WorkspaceGet": { + "$ref": "./examples/WorkspacesGet.json" + } + }, "operationId": "Workspaces_Get", "description": "Gets a workspace instance.", "parameters": [ @@ -878,8 +916,10 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesPatch": { "$ref": "./examples/WorkspacesUpdate.json" } - }, + "WorkspacesPatch": { + "$ref": "./examples/WorkspacesUpdate.json" + } + }, "operationId": "Workspaces_Update", "description": "Updates a workspace.", "parameters": [ @@ -946,20 +986,20 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } }, "definitions": { - "OperationListResult": { + "OperationListResult": { "description": "Result of the request to list solution operations.", "properties": { - "value": { + "value": { "type": "array", "items": { - "$ref": "#/definitions/Operation" + "$ref": "#/definitions/Operation" }, "description": "List of solution operations supported by the OperationsManagement resource provider." }, @@ -969,34 +1009,34 @@ "description": "URL to get the next set of operation list results if there are any." } } - }, - "Operation": { + }, + "Operation": { "description": "Supported operation of OperationalInsights resource provider.", "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft OperationsManagement.", "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft OperationsManagement.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed etc.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - } - } + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + } } + } } - }, - "LinkedServiceProperties": { + }, + "LinkedServiceProperties": { "properties": { "resourceId": { "type": "string", @@ -1039,7 +1079,7 @@ }, "description": "The list linked service operation response." }, - "DataSourceKind":{ + "DataSourceKind": { "type": "string", "enum": [ "AzureActivityLog", @@ -1321,8 +1361,8 @@ "$ref": "#/definitions/Sku", "description": "The SKU of the workspace." }, - "retentionInDays":{ - "type":"integer", + "retentionInDays": { + "type": "integer", "format": "int32", "minimum": -1, "maximum": 730, @@ -1336,7 +1376,7 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/WorkspaceProperties", - "description":"Workspace properties." + "description": "Workspace properties." }, "eTag": { "type": "string", @@ -1444,15 +1484,15 @@ "description": "Client Api Version." }, "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "description": "The name of the resource group to get. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The name of the resource group to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 } } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesCreate.json index 16782cbcf5fc..b721ee89e088 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesCreate.json @@ -1,41 +1,41 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"AzTest9724", - "dataSourceName":"AzTestDS774", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "parameters":{ - "properties":{ - "LinkedResourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "kind":"AzureActivityLog" - } - }, - "responses":{ - "200":{ - "body":{ - "kind":"AzureActivityLog", - "properties":{ - "linkedResourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "eTag":"W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name":"AzTestDS774", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "parameters": { + "properties": { + "LinkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" }, - "201":{ - "body":{ - "kind":"AzureActivityLog", - "properties":{ - "linkedResourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "eTag":"W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name":"AzTestDS774", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - } + "kind": "AzureActivityLog" + } + }, + "responses": { + "200": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "eTag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + }, + "201": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "eTag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesDelete.json index b18b2e0ddf5c..9d22393be020 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"AzTest9724", - "dataSourceName":"AzTestDS774", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{}, - "204":{} - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesGet.json index a78b69ddc2af..d57a838485b9 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesGet.json @@ -1,23 +1,23 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"AzTest9724", - "dataSourceName":"AzTestDS774", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "kind":"AzureActivityLog", - "properties":{ - "linkedResourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "eTag":"W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name":"AzTestDS774", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "eTag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesListByWorkspace.json index a436ad5bbec9..f0c814e85ac2 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesListByWorkspace.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/DataSourcesListByWorkspace.json @@ -1,3019 +1,3019 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"AzTest9724", - "dataSourceName":"AzTestDS774", - "$filter":"kind='WindowsEvent'", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent14", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1011", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A08.5629323Z'\"", - "name":"AzTestDSWE1011", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent64", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1013", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A22.2533211Z'\"", - "name":"AzTestDSWE1013", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent202", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1020", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A04.4645698Z'\"", - "name":"AzTestDSWE1020", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent231", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1074", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A12.5871672Z'\"", - "name":"AzTestDSWE1074", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent86", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1117", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A28.9325389Z'\"", - "name":"AzTestDSWE1117", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent30", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1128", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A13.2185735Z'\"", - "name":"AzTestDSWE1128", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent66", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1176", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A22.7779289Z'\"", - "name":"AzTestDSWE1176", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent199", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1293", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A03.5114136Z'\"", - "name":"AzTestDSWE1293", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent102", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE134", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A33.6788897Z'\"", - "name":"AzTestDSWE134", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent111", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1352", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A36.2312139Z'\"", - "name":"AzTestDSWE1352", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent31", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1360", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A13.4685716Z'\"", - "name":"AzTestDSWE1360", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent53", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1382", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A19.2840543Z'\"", - "name":"AzTestDSWE1382", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent132", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1410", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A42.7070374Z'\"", - "name":"AzTestDSWE1410", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent211", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1417", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A06.8922838Z'\"", - "name":"AzTestDSWE1417", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent274", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1560", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A26.6932412Z'\"", - "name":"AzTestDSWE1560", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent212", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1618", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A07.1422661Z'\"", - "name":"AzTestDSWE1618", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent221", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1662", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A09.5980265Z'\"", - "name":"AzTestDSWE1662", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent121", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1675", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A39.6167744Z'\"", - "name":"AzTestDSWE1675", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent157", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE169", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A50.1064668Z'\"", - "name":"AzTestDSWE169", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent196", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1735", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A02.4954752Z'\"", - "name":"AzTestDSWE1735", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent12", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1742", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A08.0452997Z'\"", - "name":"AzTestDSWE1742", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent145", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1815", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A46.5966089Z'\"", - "name":"AzTestDSWE1815", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent69", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1828", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A23.6529754Z'\"", - "name":"AzTestDSWE1828", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent58", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE188", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A20.7216320Z'\"", - "name":"AzTestDSWE188", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent48", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1962", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A17.9341560Z'\"", - "name":"AzTestDSWE1962", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent246", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1997", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A17.3081821Z'\"", - "name":"AzTestDSWE1997", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent154", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2046", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A49.2918213Z'\"", - "name":"AzTestDSWE2046", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent165", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2056", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A52.4111189Z'\"", - "name":"AzTestDSWE2056", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent172", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2116", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A54.7598026Z'\"", - "name":"AzTestDSWE2116", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent9", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2142", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A07.2711237Z'\"", - "name":"AzTestDSWE2142", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent150", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE22", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A48.2064500Z'\"", - "name":"AzTestDSWE22", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent218", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2208", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A08.7849248Z'\"", - "name":"AzTestDSWE2208", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent161", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2221", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A51.3306230Z'\"", - "name":"AzTestDSWE2221", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent75", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2226", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A25.5991266Z'\"", - "name":"AzTestDSWE2226", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent38", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2231", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A15.3592513Z'\"", - "name":"AzTestDSWE2231", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent208", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2242", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A06.0641077Z'\"", - "name":"AzTestDSWE2242", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent228", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2263", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A11.7829226Z'\"", - "name":"AzTestDSWE2263", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent259", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2369", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A21.5874093Z'\"", - "name":"AzTestDSWE2369", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent210", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE240", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A06.6266574Z'\"", - "name":"AzTestDSWE240", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent265", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2423", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A23.4752361Z'\"", - "name":"AzTestDSWE2423", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent112", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2463", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A36.5611370Z'\"", - "name":"AzTestDSWE2463", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent32", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2499", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A13.7187131Z'\"", - "name":"AzTestDSWE2499", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent220", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2509", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A09.3324224Z'\"", - "name":"AzTestDSWE2509", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent87", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2541", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A29.2312540Z'\"", - "name":"AzTestDSWE2541", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent2", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2578", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A05.3117461Z'\"", - "name":"AzTestDSWE2578", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent119", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2619", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A38.5379572Z'\"", - "name":"AzTestDSWE2619", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent1", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE274", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A05.0735592Z'\"", - "name":"AzTestDSWE274", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent92", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2754", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A30.6297451Z'\"", - "name":"AzTestDSWE2754", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent205", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE281", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A05.2972963Z'\"", - "name":"AzTestDSWE281", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent101", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2818", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A33.3820072Z'\"", - "name":"AzTestDSWE2818", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent236", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2860", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A14.0876077Z'\"", - "name":"AzTestDSWE2860", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent93", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2867", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A30.9266089Z'\"", - "name":"AzTestDSWE2867", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent278", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2923", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A27.9342580Z'\"", - "name":"AzTestDSWE2923", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent138", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2979", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A44.4311007Z'\"", - "name":"AzTestDSWE2979", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent217", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3009", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A08.5349323Z'\"", - "name":"AzTestDSWE3009", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent269", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3033", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A24.9696296Z'\"", - "name":"AzTestDSWE3033", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent49", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3095", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A18.2006423Z'\"", - "name":"AzTestDSWE3095", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent118", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3114", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A38.2879169Z'\"", - "name":"AzTestDSWE3114", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent116", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3132", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A37.6889867Z'\"", - "name":"AzTestDSWE3132", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent185", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3147", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A58.9331954Z'\"", - "name":"AzTestDSWE3147", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent109", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3159", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A35.6843083Z'\"", - "name":"AzTestDSWE3159", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent46", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE317", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A17.4118415Z'\"", - "name":"AzTestDSWE317", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent107", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3175", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A35.0592573Z'\"", - "name":"AzTestDSWE3175", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent28", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3183", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A12.6247906Z'\"", - "name":"AzTestDSWE3183", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent237", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3217", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A14.4938899Z'\"", - "name":"AzTestDSWE3217", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent62", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3220", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A21.7373059Z'\"", - "name":"AzTestDSWE3220", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent51", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3228", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A18.7785353Z'\"", - "name":"AzTestDSWE3228", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent171", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3395", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A54.4936956Z'\"", - "name":"AzTestDSWE3395", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent63", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3416", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A22.0032694Z'\"", - "name":"AzTestDSWE3416", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent280", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3506", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A28.8251658Z'\"", - "name":"AzTestDSWE3506", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent23", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3517", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A11.2153209Z'\"", - "name":"AzTestDSWE3517", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent229", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3528", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A12.0402565Z'\"", - "name":"AzTestDSWE3528", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent136", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3530", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A43.8027590Z'\"", - "name":"AzTestDSWE3530", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent194", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3594", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A01.9173304Z'\"", - "name":"AzTestDSWE3594", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent191", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3615", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A00.8990889Z'\"", - "name":"AzTestDSWE3615", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent242", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3645", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A16.0877829Z'\"", - "name":"AzTestDSWE3645", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent11", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3676", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A07.8068460Z'\"", - "name":"AzTestDSWE3676", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent155", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3700", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A49.5439700Z'\"", - "name":"AzTestDSWE3700", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent117", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3738", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A38.0363694Z'\"", - "name":"AzTestDSWE3738", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent159", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3740", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A50.6390339Z'\"", - "name":"AzTestDSWE3740", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent95", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3754", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A31.5203823Z'\"", - "name":"AzTestDSWE3754", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent96", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3761", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A31.7860159Z'\"", - "name":"AzTestDSWE3761", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent56", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3787", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A20.0966078Z'\"", - "name":"AzTestDSWE3787", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent181", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3880", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A57.8394298Z'\"", - "name":"AzTestDSWE3880", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent160", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3887", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A51.0806178Z'\"", - "name":"AzTestDSWE3887", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent244", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3899", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A16.6987634Z'\"", - "name":"AzTestDSWE3899", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent127", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3928", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A41.4223363Z'\"", - "name":"AzTestDSWE3928", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent186", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4005", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A59.1831854Z'\"", - "name":"AzTestDSWE4005", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent288", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4021", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A31.5314824Z'\"", - "name":"AzTestDSWE4021", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent193", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4054", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A01.6667691Z'\"", - "name":"AzTestDSWE4054", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent133", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE406", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A42.9581303Z'\"", - "name":"AzTestDSWE406", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent88", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4128", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A29.4890798Z'\"", - "name":"AzTestDSWE4128", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent189", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4140", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A00.2051432Z'\"", - "name":"AzTestDSWE4140", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent183", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4209", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A58.3706603Z'\"", - "name":"AzTestDSWE4209", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent67", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4216", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A23.1240354Z'\"", - "name":"AzTestDSWE4216", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent294", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4240", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A33.5368097Z'\"", - "name":"AzTestDSWE4240", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent91", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4279", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A30.3641074Z'\"", - "name":"AzTestDSWE4279", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent273", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4289", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A26.3963554Z'\"", - "name":"AzTestDSWE4289", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent148", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4317", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A47.6751803Z'\"", - "name":"AzTestDSWE4317", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent4", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4324", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A05.8120517Z'\"", - "name":"AzTestDSWE4324", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent201", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4362", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A04.1208323Z'\"", - "name":"AzTestDSWE4362", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent13", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4416", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A08.3109506Z'\"", - "name":"AzTestDSWE4416", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent153", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4424", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A48.9744951Z'\"", - "name":"AzTestDSWE4424", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent52", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4466", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A19.0457713Z'\"", - "name":"AzTestDSWE4466", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent37", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4467", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A15.0936374Z'\"", - "name":"AzTestDSWE4467", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent129", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4503", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A41.9399246Z'\"", - "name":"AzTestDSWE4503", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent276", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4521", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A27.2714771Z'\"", - "name":"AzTestDSWE4521", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent79", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4530", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A26.7419933Z'\"", - "name":"AzTestDSWE4530", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent115", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4600", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A37.4227966Z'\"", - "name":"AzTestDSWE4600", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent135", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4644", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A43.5519204Z'\"", - "name":"AzTestDSWE4644", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent162", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4694", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A51.6431386Z'\"", - "name":"AzTestDSWE4694", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent5", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4715", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A06.0530002Z'\"", - "name":"AzTestDSWE4715", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent267", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE472", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A24.3989962Z'\"", - "name":"AzTestDSWE472", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent243", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4721", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A16.3706498Z'\"", - "name":"AzTestDSWE4721", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent295", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4734", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A33.8337155Z'\"", - "name":"AzTestDSWE4734", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent270", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4755", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A25.2712759Z'\"", - "name":"AzTestDSWE4755", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent81", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4779", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A27.5076680Z'\"", - "name":"AzTestDSWE4779", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent0", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4791", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A04.6828938Z'\"", - "name":"AzTestDSWE4791", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent170", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4798", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A54.0073520Z'\"", - "name":"AzTestDSWE4798", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent263", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE480", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A22.9077505Z'\"", - "name":"AzTestDSWE480", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent25", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4847", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A11.7028912Z'\"", - "name":"AzTestDSWE4847", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent204", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4876", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A04.9847854Z'\"", - "name":"AzTestDSWE4876", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent68", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4900", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A23.4029367Z'\"", - "name":"AzTestDSWE4900", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent105", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4918", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A34.5280091Z'\"", - "name":"AzTestDSWE4918", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent296", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4928", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A34.2882196Z'\"", - "name":"AzTestDSWE4928", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent293", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4930", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A33.2381803Z'\"", - "name":"AzTestDSWE4930", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent113", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4945", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A36.8423994Z'\"", - "name":"AzTestDSWE4945", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent15", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4967", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A08.9379456Z'\"", - "name":"AzTestDSWE4967", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent180", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4969", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A57.5893926Z'\"", - "name":"AzTestDSWE4969", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent54", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4983", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A19.5497139Z'\"", - "name":"AzTestDSWE4983", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent151", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5011", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A48.4588661Z'\"", - "name":"AzTestDSWE5011", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent290", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5082", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A32.2694295Z'\"", - "name":"AzTestDSWE5082", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent248", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5136", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A17.8863220Z'\"", - "name":"AzTestDSWE5136", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent206", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5141", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A05.5484906Z'\"", - "name":"AzTestDSWE5141", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent266", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5166", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A23.9283342Z'\"", - "name":"AzTestDSWE5166", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent282", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5207", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A29.4970655Z'\"", - "name":"AzTestDSWE5207", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent203", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5223", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A04.7146038Z'\"", - "name":"AzTestDSWE5223", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent20", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5233", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A10.3237629Z'\"", - "name":"AzTestDSWE5233", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent249", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5253", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A18.1831872Z'\"", - "name":"AzTestDSWE5253", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent286", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5255", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A30.9049829Z'\"", - "name":"AzTestDSWE5255", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent29", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5263", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A12.8904269Z'\"", - "name":"AzTestDSWE5263", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent255", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5351", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A20.4543884Z'\"", - "name":"AzTestDSWE5351", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent55", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5385", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A19.7997319Z'\"", - "name":"AzTestDSWE5385", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent89", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5394", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A29.7703365Z'\"", - "name":"AzTestDSWE5394", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent17", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE541", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A09.4692151Z'\"", - "name":"AzTestDSWE541", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent241", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5439", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A15.7994161Z'\"", - "name":"AzTestDSWE5439", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent223", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5460", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A10.3032105Z'\"", - "name":"AzTestDSWE5460", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent268", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5479", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A24.6802546Z'\"", - "name":"AzTestDSWE5479", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent192", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5483", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A01.1670463Z'\"", - "name":"AzTestDSWE5483", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent114", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5486", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A37.1393156Z'\"", - "name":"AzTestDSWE5486", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent126", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5554", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A41.1205470Z'\"", - "name":"AzTestDSWE5554", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent256", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5559", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A20.7200407Z'\"", - "name":"AzTestDSWE5559", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent50", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5585", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A18.4534330Z'\"", - "name":"AzTestDSWE5585", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent125", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE568", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A40.8861587Z'\"", - "name":"AzTestDSWE568", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent230", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5741", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A12.3059271Z'\"", - "name":"AzTestDSWE5741", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent120", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE58", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A39.0692471Z'\"", - "name":"AzTestDSWE58", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent44", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5810", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A16.9117573Z'\"", - "name":"AzTestDSWE5810", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent141", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5815", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A45.4055476Z'\"", - "name":"AzTestDSWE5815", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent173", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5858", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A55.0097893Z'\"", - "name":"AzTestDSWE5858", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent251", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5866", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A18.9931389Z'\"", - "name":"AzTestDSWE5866", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent187", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5888", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A59.4332080Z'\"", - "name":"AzTestDSWE5888", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent18", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5905", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A09.7599986Z'\"", - "name":"AzTestDSWE5905", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent224", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6027", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A10.6395291Z'\"", - "name":"AzTestDSWE6027", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent235", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE607", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A13.7282386Z'\"", - "name":"AzTestDSWE607", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent100", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6099", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A33.1319662Z'\"", - "name":"AzTestDSWE6099", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent6", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6122", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A06.3186640Z'\"", - "name":"AzTestDSWE6122", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent24", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6218", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A11.4528829Z'\"", - "name":"AzTestDSWE6218", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent149", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE622", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A47.9407875Z'\"", - "name":"AzTestDSWE622", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent209", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6222", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A06.3453921Z'\"", - "name":"AzTestDSWE6222", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent60", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6240", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A21.2372832Z'\"", - "name":"AzTestDSWE6240", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent216", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6251", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A08.2849036Z'\"", - "name":"AzTestDSWE6251", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent195", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6274", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A02.1829375Z'\"", - "name":"AzTestDSWE6274", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent98", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6296", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A32.3491070Z'\"", - "name":"AzTestDSWE6296", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent261", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6301", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A22.1811938Z'\"", - "name":"AzTestDSWE6301", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent7", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6404", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A06.7093003Z'\"", - "name":"AzTestDSWE6404", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent3", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6406", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A05.5617435Z'\"", - "name":"AzTestDSWE6406", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent123", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6432", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A40.2886854Z'\"", - "name":"AzTestDSWE6432", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent110", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6439", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A35.9811949Z'\"", - "name":"AzTestDSWE6439", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent233", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6451", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A13.1344490Z'\"", - "name":"AzTestDSWE6451", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent22", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6486", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A10.9653354Z'\"", - "name":"AzTestDSWE6486", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent19", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6505", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A10.0582011Z'\"", - "name":"AzTestDSWE6505", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent166", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6514", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A52.8955201Z'\"", - "name":"AzTestDSWE6514", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent225", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6518", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A10.9395226Z'\"", - "name":"AzTestDSWE6518", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent70", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6537", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A24.0123335Z'\"", - "name":"AzTestDSWE6537", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent179", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6547", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A57.3394082Z'\"", - "name":"AzTestDSWE6547", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent103", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6556", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A33.9457044Z'\"", - "name":"AzTestDSWE6556", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent234", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6718", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A13.4313542Z'\"", - "name":"AzTestDSWE6718", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent108", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6724", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A35.4186784Z'\"", - "name":"AzTestDSWE6724", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent27", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6741", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A12.3279180Z'\"", - "name":"AzTestDSWE6741", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent72", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6796", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A24.5764501Z'\"", - "name":"AzTestDSWE6796", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent299", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6826", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A35.2579899Z'\"", - "name":"AzTestDSWE6826", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent297", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6829", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A34.6319483Z'\"", - "name":"AzTestDSWE6829", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent85", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6893", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A28.5887776Z'\"", - "name":"AzTestDSWE6893", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent41", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6974", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A16.1249736Z'\"", - "name":"AzTestDSWE6974", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent279", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7008", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A28.3876585Z'\"", - "name":"AzTestDSWE7008", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent281", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7014", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A29.1220764Z'\"", - "name":"AzTestDSWE7014", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent272", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7068", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A26.0213457Z'\"", - "name":"AzTestDSWE7068", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent260", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7080", - "eTag":"W/\"datetime'2017-10-02T23%3A21%3A21.8686663Z'\"", - "name":"AzTestDSWE7080", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent124", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7166", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A40.5423724Z'\"", - "name":"AzTestDSWE7166", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind":"WindowsEvent", - "properties":{ - "eventLogName":"windowsEvent42", - "eventTypes":[ - { - "eventType":"Error" - } - ] - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7178", - "eTag":"W/\"datetime'2017-10-02T23%3A20%3A16.3906307Z'\"", - "name":"AzTestDSWE7178", - "type":"Microsoft.OperationalInsights/workspaces/datasources" - } - ], - "nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/dataSources?$filter=kind+eq+'WindowsEvent'&api-version=2015-11-01-preview&$skiptoken=AzTestDSWE7191" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "$filter": "kind='WindowsEvent'", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent14", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1011", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A08.5629323Z'\"", + "name": "AzTestDSWE1011", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent64", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1013", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A22.2533211Z'\"", + "name": "AzTestDSWE1013", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent202", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1020", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A04.4645698Z'\"", + "name": "AzTestDSWE1020", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent231", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1074", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A12.5871672Z'\"", + "name": "AzTestDSWE1074", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent86", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1117", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A28.9325389Z'\"", + "name": "AzTestDSWE1117", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent30", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1128", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A13.2185735Z'\"", + "name": "AzTestDSWE1128", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent66", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1176", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A22.7779289Z'\"", + "name": "AzTestDSWE1176", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent199", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1293", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A03.5114136Z'\"", + "name": "AzTestDSWE1293", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent102", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE134", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A33.6788897Z'\"", + "name": "AzTestDSWE134", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent111", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1352", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A36.2312139Z'\"", + "name": "AzTestDSWE1352", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent31", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1360", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A13.4685716Z'\"", + "name": "AzTestDSWE1360", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent53", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1382", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A19.2840543Z'\"", + "name": "AzTestDSWE1382", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent132", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1410", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A42.7070374Z'\"", + "name": "AzTestDSWE1410", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent211", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1417", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A06.8922838Z'\"", + "name": "AzTestDSWE1417", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent274", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1560", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A26.6932412Z'\"", + "name": "AzTestDSWE1560", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent212", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1618", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A07.1422661Z'\"", + "name": "AzTestDSWE1618", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent221", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1662", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A09.5980265Z'\"", + "name": "AzTestDSWE1662", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent121", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1675", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A39.6167744Z'\"", + "name": "AzTestDSWE1675", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent157", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE169", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A50.1064668Z'\"", + "name": "AzTestDSWE169", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent196", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1735", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A02.4954752Z'\"", + "name": "AzTestDSWE1735", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent12", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1742", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A08.0452997Z'\"", + "name": "AzTestDSWE1742", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent145", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1815", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A46.5966089Z'\"", + "name": "AzTestDSWE1815", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent69", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1828", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A23.6529754Z'\"", + "name": "AzTestDSWE1828", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent58", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE188", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A20.7216320Z'\"", + "name": "AzTestDSWE188", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent48", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1962", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A17.9341560Z'\"", + "name": "AzTestDSWE1962", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent246", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1997", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A17.3081821Z'\"", + "name": "AzTestDSWE1997", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent154", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2046", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A49.2918213Z'\"", + "name": "AzTestDSWE2046", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent165", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2056", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A52.4111189Z'\"", + "name": "AzTestDSWE2056", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent172", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2116", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A54.7598026Z'\"", + "name": "AzTestDSWE2116", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent9", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2142", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A07.2711237Z'\"", + "name": "AzTestDSWE2142", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent150", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE22", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A48.2064500Z'\"", + "name": "AzTestDSWE22", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent218", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2208", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A08.7849248Z'\"", + "name": "AzTestDSWE2208", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent161", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2221", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A51.3306230Z'\"", + "name": "AzTestDSWE2221", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent75", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2226", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A25.5991266Z'\"", + "name": "AzTestDSWE2226", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent38", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2231", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A15.3592513Z'\"", + "name": "AzTestDSWE2231", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent208", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2242", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A06.0641077Z'\"", + "name": "AzTestDSWE2242", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent228", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2263", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A11.7829226Z'\"", + "name": "AzTestDSWE2263", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent259", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2369", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A21.5874093Z'\"", + "name": "AzTestDSWE2369", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent210", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE240", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A06.6266574Z'\"", + "name": "AzTestDSWE240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent265", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2423", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A23.4752361Z'\"", + "name": "AzTestDSWE2423", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent112", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2463", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A36.5611370Z'\"", + "name": "AzTestDSWE2463", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent32", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2499", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A13.7187131Z'\"", + "name": "AzTestDSWE2499", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent220", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2509", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A09.3324224Z'\"", + "name": "AzTestDSWE2509", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent87", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2541", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A29.2312540Z'\"", + "name": "AzTestDSWE2541", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent2", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2578", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A05.3117461Z'\"", + "name": "AzTestDSWE2578", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent119", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2619", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A38.5379572Z'\"", + "name": "AzTestDSWE2619", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent1", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE274", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A05.0735592Z'\"", + "name": "AzTestDSWE274", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent92", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2754", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A30.6297451Z'\"", + "name": "AzTestDSWE2754", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent205", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE281", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A05.2972963Z'\"", + "name": "AzTestDSWE281", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent101", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2818", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A33.3820072Z'\"", + "name": "AzTestDSWE2818", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent236", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2860", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A14.0876077Z'\"", + "name": "AzTestDSWE2860", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent93", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2867", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A30.9266089Z'\"", + "name": "AzTestDSWE2867", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent278", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2923", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A27.9342580Z'\"", + "name": "AzTestDSWE2923", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent138", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2979", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A44.4311007Z'\"", + "name": "AzTestDSWE2979", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent217", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3009", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A08.5349323Z'\"", + "name": "AzTestDSWE3009", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent269", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3033", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A24.9696296Z'\"", + "name": "AzTestDSWE3033", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent49", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3095", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A18.2006423Z'\"", + "name": "AzTestDSWE3095", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent118", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3114", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A38.2879169Z'\"", + "name": "AzTestDSWE3114", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent116", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3132", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A37.6889867Z'\"", + "name": "AzTestDSWE3132", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent185", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3147", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A58.9331954Z'\"", + "name": "AzTestDSWE3147", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent109", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3159", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A35.6843083Z'\"", + "name": "AzTestDSWE3159", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent46", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE317", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A17.4118415Z'\"", + "name": "AzTestDSWE317", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent107", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3175", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A35.0592573Z'\"", + "name": "AzTestDSWE3175", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent28", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3183", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A12.6247906Z'\"", + "name": "AzTestDSWE3183", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent237", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3217", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A14.4938899Z'\"", + "name": "AzTestDSWE3217", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent62", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3220", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A21.7373059Z'\"", + "name": "AzTestDSWE3220", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent51", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3228", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A18.7785353Z'\"", + "name": "AzTestDSWE3228", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent171", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3395", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A54.4936956Z'\"", + "name": "AzTestDSWE3395", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent63", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3416", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A22.0032694Z'\"", + "name": "AzTestDSWE3416", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent280", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3506", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A28.8251658Z'\"", + "name": "AzTestDSWE3506", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent23", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3517", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A11.2153209Z'\"", + "name": "AzTestDSWE3517", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent229", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3528", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A12.0402565Z'\"", + "name": "AzTestDSWE3528", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent136", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3530", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A43.8027590Z'\"", + "name": "AzTestDSWE3530", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent194", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3594", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A01.9173304Z'\"", + "name": "AzTestDSWE3594", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent191", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3615", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A00.8990889Z'\"", + "name": "AzTestDSWE3615", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent242", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3645", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A16.0877829Z'\"", + "name": "AzTestDSWE3645", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent11", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3676", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A07.8068460Z'\"", + "name": "AzTestDSWE3676", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent155", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3700", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A49.5439700Z'\"", + "name": "AzTestDSWE3700", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent117", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3738", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A38.0363694Z'\"", + "name": "AzTestDSWE3738", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent159", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3740", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A50.6390339Z'\"", + "name": "AzTestDSWE3740", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent95", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3754", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A31.5203823Z'\"", + "name": "AzTestDSWE3754", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent96", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3761", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A31.7860159Z'\"", + "name": "AzTestDSWE3761", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent56", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3787", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A20.0966078Z'\"", + "name": "AzTestDSWE3787", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent181", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3880", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A57.8394298Z'\"", + "name": "AzTestDSWE3880", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent160", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3887", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A51.0806178Z'\"", + "name": "AzTestDSWE3887", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent244", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3899", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A16.6987634Z'\"", + "name": "AzTestDSWE3899", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent127", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3928", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A41.4223363Z'\"", + "name": "AzTestDSWE3928", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent186", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4005", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A59.1831854Z'\"", + "name": "AzTestDSWE4005", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent288", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4021", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A31.5314824Z'\"", + "name": "AzTestDSWE4021", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent193", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4054", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A01.6667691Z'\"", + "name": "AzTestDSWE4054", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent133", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE406", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A42.9581303Z'\"", + "name": "AzTestDSWE406", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent88", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4128", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A29.4890798Z'\"", + "name": "AzTestDSWE4128", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent189", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4140", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A00.2051432Z'\"", + "name": "AzTestDSWE4140", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent183", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4209", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A58.3706603Z'\"", + "name": "AzTestDSWE4209", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent67", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4216", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A23.1240354Z'\"", + "name": "AzTestDSWE4216", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent294", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4240", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A33.5368097Z'\"", + "name": "AzTestDSWE4240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent91", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4279", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A30.3641074Z'\"", + "name": "AzTestDSWE4279", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent273", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4289", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A26.3963554Z'\"", + "name": "AzTestDSWE4289", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent148", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4317", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A47.6751803Z'\"", + "name": "AzTestDSWE4317", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent4", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4324", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A05.8120517Z'\"", + "name": "AzTestDSWE4324", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent201", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4362", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A04.1208323Z'\"", + "name": "AzTestDSWE4362", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent13", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4416", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A08.3109506Z'\"", + "name": "AzTestDSWE4416", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent153", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4424", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A48.9744951Z'\"", + "name": "AzTestDSWE4424", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent52", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4466", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A19.0457713Z'\"", + "name": "AzTestDSWE4466", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent37", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4467", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A15.0936374Z'\"", + "name": "AzTestDSWE4467", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent129", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4503", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A41.9399246Z'\"", + "name": "AzTestDSWE4503", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent276", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4521", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A27.2714771Z'\"", + "name": "AzTestDSWE4521", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent79", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4530", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A26.7419933Z'\"", + "name": "AzTestDSWE4530", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent115", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4600", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A37.4227966Z'\"", + "name": "AzTestDSWE4600", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent135", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4644", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A43.5519204Z'\"", + "name": "AzTestDSWE4644", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent162", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4694", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A51.6431386Z'\"", + "name": "AzTestDSWE4694", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent5", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4715", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A06.0530002Z'\"", + "name": "AzTestDSWE4715", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent267", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE472", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A24.3989962Z'\"", + "name": "AzTestDSWE472", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent243", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4721", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A16.3706498Z'\"", + "name": "AzTestDSWE4721", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent295", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4734", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A33.8337155Z'\"", + "name": "AzTestDSWE4734", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent270", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4755", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A25.2712759Z'\"", + "name": "AzTestDSWE4755", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent81", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4779", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A27.5076680Z'\"", + "name": "AzTestDSWE4779", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent0", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4791", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A04.6828938Z'\"", + "name": "AzTestDSWE4791", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent170", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4798", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A54.0073520Z'\"", + "name": "AzTestDSWE4798", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent263", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE480", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A22.9077505Z'\"", + "name": "AzTestDSWE480", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent25", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4847", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A11.7028912Z'\"", + "name": "AzTestDSWE4847", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent204", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4876", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A04.9847854Z'\"", + "name": "AzTestDSWE4876", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent68", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4900", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A23.4029367Z'\"", + "name": "AzTestDSWE4900", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent105", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4918", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A34.5280091Z'\"", + "name": "AzTestDSWE4918", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent296", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4928", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A34.2882196Z'\"", + "name": "AzTestDSWE4928", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent293", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4930", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A33.2381803Z'\"", + "name": "AzTestDSWE4930", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent113", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4945", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A36.8423994Z'\"", + "name": "AzTestDSWE4945", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent15", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4967", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A08.9379456Z'\"", + "name": "AzTestDSWE4967", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent180", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4969", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A57.5893926Z'\"", + "name": "AzTestDSWE4969", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent54", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4983", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A19.5497139Z'\"", + "name": "AzTestDSWE4983", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent151", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5011", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A48.4588661Z'\"", + "name": "AzTestDSWE5011", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent290", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5082", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A32.2694295Z'\"", + "name": "AzTestDSWE5082", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent248", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5136", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A17.8863220Z'\"", + "name": "AzTestDSWE5136", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent206", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5141", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A05.5484906Z'\"", + "name": "AzTestDSWE5141", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent266", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5166", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A23.9283342Z'\"", + "name": "AzTestDSWE5166", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent282", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5207", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A29.4970655Z'\"", + "name": "AzTestDSWE5207", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent203", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5223", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A04.7146038Z'\"", + "name": "AzTestDSWE5223", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent20", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5233", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A10.3237629Z'\"", + "name": "AzTestDSWE5233", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent249", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5253", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A18.1831872Z'\"", + "name": "AzTestDSWE5253", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent286", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5255", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A30.9049829Z'\"", + "name": "AzTestDSWE5255", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent29", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5263", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A12.8904269Z'\"", + "name": "AzTestDSWE5263", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent255", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5351", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A20.4543884Z'\"", + "name": "AzTestDSWE5351", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent55", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5385", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A19.7997319Z'\"", + "name": "AzTestDSWE5385", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent89", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5394", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A29.7703365Z'\"", + "name": "AzTestDSWE5394", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent17", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE541", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A09.4692151Z'\"", + "name": "AzTestDSWE541", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent241", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5439", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A15.7994161Z'\"", + "name": "AzTestDSWE5439", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent223", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5460", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A10.3032105Z'\"", + "name": "AzTestDSWE5460", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent268", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5479", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A24.6802546Z'\"", + "name": "AzTestDSWE5479", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent192", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5483", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A01.1670463Z'\"", + "name": "AzTestDSWE5483", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent114", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5486", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A37.1393156Z'\"", + "name": "AzTestDSWE5486", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent126", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5554", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A41.1205470Z'\"", + "name": "AzTestDSWE5554", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent256", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5559", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A20.7200407Z'\"", + "name": "AzTestDSWE5559", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent50", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5585", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A18.4534330Z'\"", + "name": "AzTestDSWE5585", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent125", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE568", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A40.8861587Z'\"", + "name": "AzTestDSWE568", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent230", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5741", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A12.3059271Z'\"", + "name": "AzTestDSWE5741", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent120", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE58", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A39.0692471Z'\"", + "name": "AzTestDSWE58", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent44", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5810", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A16.9117573Z'\"", + "name": "AzTestDSWE5810", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent141", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5815", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A45.4055476Z'\"", + "name": "AzTestDSWE5815", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent173", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5858", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A55.0097893Z'\"", + "name": "AzTestDSWE5858", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent251", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5866", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A18.9931389Z'\"", + "name": "AzTestDSWE5866", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent187", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5888", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A59.4332080Z'\"", + "name": "AzTestDSWE5888", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent18", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5905", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A09.7599986Z'\"", + "name": "AzTestDSWE5905", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent224", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6027", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A10.6395291Z'\"", + "name": "AzTestDSWE6027", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent235", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE607", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A13.7282386Z'\"", + "name": "AzTestDSWE607", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent100", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6099", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A33.1319662Z'\"", + "name": "AzTestDSWE6099", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent6", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6122", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A06.3186640Z'\"", + "name": "AzTestDSWE6122", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent24", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6218", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A11.4528829Z'\"", + "name": "AzTestDSWE6218", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent149", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE622", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A47.9407875Z'\"", + "name": "AzTestDSWE622", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent209", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6222", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A06.3453921Z'\"", + "name": "AzTestDSWE6222", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent60", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6240", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A21.2372832Z'\"", + "name": "AzTestDSWE6240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent216", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6251", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A08.2849036Z'\"", + "name": "AzTestDSWE6251", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent195", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6274", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A02.1829375Z'\"", + "name": "AzTestDSWE6274", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent98", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6296", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A32.3491070Z'\"", + "name": "AzTestDSWE6296", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent261", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6301", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A22.1811938Z'\"", + "name": "AzTestDSWE6301", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent7", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6404", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A06.7093003Z'\"", + "name": "AzTestDSWE6404", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent3", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6406", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A05.5617435Z'\"", + "name": "AzTestDSWE6406", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent123", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6432", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A40.2886854Z'\"", + "name": "AzTestDSWE6432", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent110", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6439", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A35.9811949Z'\"", + "name": "AzTestDSWE6439", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent233", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6451", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A13.1344490Z'\"", + "name": "AzTestDSWE6451", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent22", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6486", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A10.9653354Z'\"", + "name": "AzTestDSWE6486", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent19", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6505", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A10.0582011Z'\"", + "name": "AzTestDSWE6505", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent166", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6514", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A52.8955201Z'\"", + "name": "AzTestDSWE6514", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent225", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6518", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A10.9395226Z'\"", + "name": "AzTestDSWE6518", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent70", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6537", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A24.0123335Z'\"", + "name": "AzTestDSWE6537", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent179", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6547", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A57.3394082Z'\"", + "name": "AzTestDSWE6547", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent103", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6556", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A33.9457044Z'\"", + "name": "AzTestDSWE6556", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent234", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6718", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A13.4313542Z'\"", + "name": "AzTestDSWE6718", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent108", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6724", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A35.4186784Z'\"", + "name": "AzTestDSWE6724", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent27", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6741", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A12.3279180Z'\"", + "name": "AzTestDSWE6741", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent72", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6796", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A24.5764501Z'\"", + "name": "AzTestDSWE6796", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent299", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6826", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A35.2579899Z'\"", + "name": "AzTestDSWE6826", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent297", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6829", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A34.6319483Z'\"", + "name": "AzTestDSWE6829", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent85", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6893", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A28.5887776Z'\"", + "name": "AzTestDSWE6893", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent41", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6974", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A16.1249736Z'\"", + "name": "AzTestDSWE6974", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent279", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7008", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A28.3876585Z'\"", + "name": "AzTestDSWE7008", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent281", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7014", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A29.1220764Z'\"", + "name": "AzTestDSWE7014", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent272", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7068", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A26.0213457Z'\"", + "name": "AzTestDSWE7068", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent260", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7080", + "eTag": "W/\"datetime'2017-10-02T23%3A21%3A21.8686663Z'\"", + "name": "AzTestDSWE7080", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent124", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7166", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A40.5423724Z'\"", + "name": "AzTestDSWE7166", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent42", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7178", + "eTag": "W/\"datetime'2017-10-02T23%3A20%3A16.3906307Z'\"", + "name": "AzTestDSWE7178", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/dataSources?$filter=kind+eq+'WindowsEvent'&api-version=2015-11-01-preview&$skiptoken=AzTestDSWE7191" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesCreate.json index d283ffb0bacd..4eb02a4ca184 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesCreate.json @@ -1,36 +1,36 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"TestLinkWS", - "linkedServiceName":"TestLinkWS/Automation", - "parameters":{ - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/testAccount" - } - }, - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" - }, - "id":"/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name":"TestLinkWS/Automation", - "type":"Microsoft.OperationalInsights/workspaces/linkedServices" - } - }, - "201":{ - "body":{ - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" - }, - "id":"/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name":"TestLinkWS/Automation", - "type":"Microsoft.OperationalInsights/workspaces/linkedServices" - } + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "linkedServiceName": "TestLinkWS/Automation", + "parameters": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/testAccount" } - } -} \ No newline at end of file + }, + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + }, + "201": { + "body": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesDelete.json index f4370a825464..2e150eba717c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesGet.json index 093fbee6bec3..4c049983aa13 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesGet.json @@ -1,21 +1,21 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"TestLinkWS", - "linkedServiceName":"TestLinkWS/Automation", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name":"TestLinkWS/Automation", - "type":"Microsoft.OperationalInsights/workspaces/linkedServices" - } + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "linkedServiceName": "TestLinkWS/Automation", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesListByWorkspace.json index af7d524604d1..8b52403a4ec1 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesListByWorkspace.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/LinkedServicesListByWorkspace.json @@ -1,30 +1,30 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"TestLinkWS", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name":"TestLinkWS/Automation", - "type":"Microsoft.OperationalInsights/workspaces/linkedServices" - }, - { - "properties":{ - "resourceId":"/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount2" - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name":"TestLinkWS/Automation", - "type":"Microsoft.OperationalInsights/workspaces/linkedServices" - } - ] - } - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + }, + { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/OperationsList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/OperationsList.json index dcae3a0690a0..be432f0f5e5b 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/OperationsList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/OperationsList.json @@ -1,2273 +1,2251 @@ { - "parameters":{ - "api-version":"2015-11-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"Microsoft.OperationalInsights/workspaces/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Create Workspace", - "description":"Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Get Workspace", - "description":"Gets an existing workspace" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Delete Workspace", - "description":"Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Registration Certificate", - "operation":"Generates Registration Certificate for Workspace.", - "description":"Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Create Storage Configuration", - "description":"Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Get Storage Configuration", - "description":"Gets a storage configuration." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Delete Storage Configuration", - "description":"Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." - } - }, - { - "name":"Microsoft.OperationalInsights/register/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Register", - "operation":"Register a subscription to a resource provider.", - "description":"Register a subscription to a resource provider." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/sharedKeys/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Shared Keys", - "operation":"List Workspace Shared Keys", - "description":"Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/sharedKeys/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Shared Keys", - "operation":"List Workspace Shared Keys", - "description":"Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/listKeys/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"List Keys", - "operation":"List Workspace Keys", - "description":"Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/listKeys/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"List Keys", - "operation":"List Workspace Keys", - "description":"Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/managementGroups/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Management Group", - "operation":"Get Management Groups for Workspace", - "description":"Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/usages/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Usage Metric", - "operation":"Get Usage Data for Workspace", - "description":"Gets usage data for a workspace including the amount of data read by the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/search/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Search", - "operation":"Search Workspace Data", - "description":"Executes a search query" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Search Schema", - "operation":"Get Search Schema", - "description":"Gets the search schema for the workspace. Search schema includes the exposed fields and their types." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/datasources/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Data Source", - "operation":"Get datasources under a workspace.", - "description":"Get datasources under a workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/datasources/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Data Source", - "operation":"Create/Update datasources under a workspace.", - "description":"Create/Update datasources under a workspace." - } - }, - { - - }, - { - - }, - { - - }, - { - - }, - { - "name":"Microsoft.OperationalInsights/workspaces/notificationSettings/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Notification Settings", - "operation":"Get Notification Settings", - "description":"Get the user's notification settings for the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/notificationSettings/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Notification Settings", - "operation":"Put Notification Settings", - "description":"Set the user's notification settings for the workspace." - } - }, - { - - }, - { - - }, - { - - }, - { - "name":"Microsoft.OperationalInsights/workspaces/configurationScopes/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Configuration Scope", - "operation":"Delete Configuration Scope", - "description":"Delete Configuration Scope" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Get linked services under given workspace.", - "description":"Get linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Create/Update linked services under given workspace.", - "description":"Create/Update linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Delete linked services under given workspace.", - "description":"Delete linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"List Intelligence Packs", - "description":"Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"Enable Intelligence Pack", - "description":"Enables an intelligence pack for a given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"Disable Intelligence Pack", - "description":"Disables an intelligence pack for a given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/analytics/query/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Search using new engine.", - "description":"Search using new engine." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Get search schema V2.", - "description":"Get search schema V2." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/api/query/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Search using new engine.", - "description":"Search using new engine." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/api/query/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Get search schema V2.", - "description":"Get search schema V2." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/purge/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Delete specified data from workspace", - "description":"Delete specified data from workspace" - } - }, - { - "name":"Microsoft.OperationalInsights/linkTargets/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Unlinked Account", - "operation":"List Unlinked Accounts", - "description":"Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/metricDefinitions/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Metric Definitions", - "operation":"Metric Definition operation", - "description":"Get Metric Definitions under workspace" - }, - "properties":{ - "serviceSpecification":{ - "metricSpecifications":[ - { - "name":"Average_% Free Inodes", - "displayName":"Average_% Free Inodes", - "displayDescription":"Average_% Free Inodes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Free Space", - "displayName":"Average_% Free Space", - "displayDescription":"Average_% Free Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Inodes", - "displayName":"Average_% Used Inodes", - "displayDescription":"Average_% Used Inodes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Space", - "displayName":"Average_% Used Space", - "displayDescription":"Average_% Used Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Read Bytes/sec", - "displayName":"Average_Disk Read Bytes/sec", - "displayDescription":"Average_Disk Read Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Reads/sec", - "displayName":"Average_Disk Reads/sec", - "displayDescription":"Average_Disk Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Transfers/sec", - "displayName":"Average_Disk Transfers/sec", - "displayDescription":"Average_Disk Transfers/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Write Bytes/sec", - "displayName":"Average_Disk Write Bytes/sec", - "displayDescription":"Average_Disk Write Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Writes/sec", - "displayName":"Average_Disk Writes/sec", - "displayDescription":"Average_Disk Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Megabytes", - "displayName":"Average_Free Megabytes", - "displayDescription":"Average_Free Megabytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Logical Disk Bytes/sec", - "displayName":"Average_Logical Disk Bytes/sec", - "displayDescription":"Average_Logical Disk Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Available Memory", - "displayName":"Average_% Available Memory", - "displayDescription":"Average_% Available Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Available Swap Space", - "displayName":"Average_% Available Swap Space", - "displayDescription":"Average_% Available Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Memory", - "displayName":"Average_% Used Memory", - "displayDescription":"Average_% Used Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Swap Space", - "displayName":"Average_% Used Swap Space", - "displayDescription":"Average_% Used Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes Memory", - "displayName":"Average_Available MBytes Memory", - "displayDescription":"Average_Available MBytes Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes Swap", - "displayName":"Average_Available MBytes Swap", - "displayDescription":"Average_Available MBytes Swap", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Page Reads/sec", - "displayName":"Average_Page Reads/sec", - "displayDescription":"Average_Page Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Page Writes/sec", - "displayName":"Average_Page Writes/sec", - "displayDescription":"Average_Page Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pages/sec", - "displayName":"Average_Pages/sec", - "displayDescription":"Average_Pages/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used MBytes Swap Space", - "displayName":"Average_Used MBytes Swap Space", - "displayDescription":"Average_Used MBytes Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used Memory MBytes", - "displayName":"Average_Used Memory MBytes", - "displayDescription":"Average_Used Memory MBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes Transmitted", - "displayName":"Average_Total Bytes Transmitted", - "displayDescription":"Average_Total Bytes Transmitted", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes Received", - "displayName":"Average_Total Bytes Received", - "displayDescription":"Average_Total Bytes Received", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes", - "displayName":"Average_Total Bytes", - "displayDescription":"Average_Total Bytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Packets Transmitted", - "displayName":"Average_Total Packets Transmitted", - "displayDescription":"Average_Total Packets Transmitted", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Packets Received", - "displayName":"Average_Total Packets Received", - "displayDescription":"Average_Total Packets Received", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Rx Errors", - "displayName":"Average_Total Rx Errors", - "displayDescription":"Average_Total Rx Errors", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Tx Errors", - "displayName":"Average_Total Tx Errors", - "displayDescription":"Average_Total Tx Errors", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Collisions", - "displayName":"Average_Total Collisions", - "displayDescription":"Average_Total Collisions", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Read", - "displayName":"Average_Avg. Disk sec/Read", - "displayDescription":"Average_Avg. Disk sec/Read", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Transfer", - "displayName":"Average_Avg. Disk sec/Transfer", - "displayDescription":"Average_Avg. Disk sec/Transfer", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Write", - "displayName":"Average_Avg. Disk sec/Write", - "displayDescription":"Average_Avg. Disk sec/Write", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Physical Disk Bytes/sec", - "displayName":"Average_Physical Disk Bytes/sec", - "displayDescription":"Average_Physical Disk Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pct Privileged Time", - "displayName":"Average_Pct Privileged Time", - "displayDescription":"Average_Pct Privileged Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pct User Time", - "displayName":"Average_Pct User Time", - "displayDescription":"Average_Pct User Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used Memory kBytes", - "displayName":"Average_Used Memory kBytes", - "displayDescription":"Average_Used Memory kBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Virtual Shared Memory", - "displayName":"Average_Virtual Shared Memory", - "displayDescription":"Average_Virtual Shared Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% DPC Time", - "displayName":"Average_% DPC Time", - "displayDescription":"Average_% DPC Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Idle Time", - "displayName":"Average_% Idle Time", - "displayDescription":"Average_% Idle Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Interrupt Time", - "displayName":"Average_% Interrupt Time", - "displayDescription":"Average_% Interrupt Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% IO Wait Time", - "displayName":"Average_% IO Wait Time", - "displayDescription":"Average_% IO Wait Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Nice Time", - "displayName":"Average_% Nice Time", - "displayDescription":"Average_% Nice Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Privileged Time", - "displayName":"Average_% Privileged Time", - "displayDescription":"Average_% Privileged Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Processor Time", - "displayName":"Average_% Processor Time", - "displayDescription":"Average_% Processor Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% User Time", - "displayName":"Average_% User Time", - "displayDescription":"Average_% User Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Physical Memory", - "displayName":"Average_Free Physical Memory", - "displayDescription":"Average_Free Physical Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Space in Paging Files", - "displayName":"Average_Free Space in Paging Files", - "displayDescription":"Average_Free Space in Paging Files", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Virtual Memory", - "displayName":"Average_Free Virtual Memory", - "displayDescription":"Average_Free Virtual Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Processes", - "displayName":"Average_Processes", - "displayDescription":"Average_Processes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Size Stored In Paging Files", - "displayName":"Average_Size Stored In Paging Files", - "displayDescription":"Average_Size Stored In Paging Files", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - - }, - { - - }, - { - - }, - { - - }, - { - "name":"Average_Current Disk Queue Length", - "displayName":"Average_Current Disk Queue Length", - "displayDescription":"Average_Current Disk Queue Length", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Reads/sec", - "displayName":"Average_Disk Reads/sec", - "displayDescription":"Average_Disk Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Transfers/sec", - "displayName":"Average_Disk Transfers/sec", - "displayDescription":"Average_Disk Transfers/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Writes/sec", - "displayName":"Average_Disk Writes/sec", - "displayDescription":"Average_Disk Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Megabytes", - "displayName":"Average_Free Megabytes", - "displayDescription":"Average_Free Megabytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Free Space", - "displayName":"Average_% Free Space", - "displayDescription":"Average_% Free Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes", - "displayName":"Average_Available MBytes", - "displayDescription":"Average_Available MBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Committed Bytes In Use", - "displayName":"Average_% Committed Bytes In Use", - "displayDescription":"Average_% Committed Bytes In Use", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Received/sec", - "displayName":"Average_Bytes Received/sec", - "displayDescription":"Average_Bytes Received/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Sent/sec", - "displayName":"Average_Bytes Sent/sec", - "displayDescription":"Average_Bytes Sent/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Total/sec", - "displayName":"Average_Bytes Total/sec", - "displayDescription":"Average_Bytes Total/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Processor Time", - "displayName":"Average_% Processor Time", - "displayDescription":"Average_% Processor Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Processor Queue Length", - "displayName":"Average_Processor Queue Length", - "displayDescription":"Average_Processor Queue Length", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Heartbeat", - "displayName":"Heartbeat", - "displayDescription":"Heartbeat", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"OSType", - "displayName":"OSType" - }, - { - "name":"Version", - "displayName":"Version" - }, - { - "name":"SourceComputerId", - "displayName":"SourceComputerId" - } - ] - }, - { - "name":"Update", - "displayName":"Update", - "displayDescription":"Update", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"Product", - "displayName":"Product" - }, - { - "name":"Classification", - "displayName":"Classification" - }, - { - "name":"UpdateState", - "displayName":"UpdateState" - }, - { - "name":"Optional", - "displayName":"Optional" - }, - { - "name":"Approved", - "displayName":"Approved" - } - ] - } - ] - } + "parameters": { + "api-version": "2015-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.OperationalInsights/workspaces/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Create Workspace", + "description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Get Workspace", + "description": "Gets an existing workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Delete Workspace", + "description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Registration Certificate", + "operation": "Generates Registration Certificate for Workspace.", + "description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Create Storage Configuration", + "description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Get Storage Configuration", + "description": "Gets a storage configuration." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Delete Storage Configuration", + "description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/register/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Register", + "operation": "Register a subscription to a resource provider.", + "description": "Register a subscription to a resource provider." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/managementGroups/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Management Group", + "operation": "Get Management Groups for Workspace", + "description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/usages/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Usage Metric", + "operation": "Get Usage Data for Workspace", + "description": "Gets usage data for a workspace including the amount of data read by the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/search/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search", + "operation": "Search Workspace Data", + "description": "Executes a search query" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search Schema", + "operation": "Get Search Schema", + "description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Get datasources under a workspace.", + "description": "Get datasources under a workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Create/Update datasources under a workspace.", + "description": "Create/Update datasources under a workspace." + } + }, + {}, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Get Notification Settings", + "description": "Get the user's notification settings for the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Put Notification Settings", + "description": "Set the user's notification settings for the workspace." + } + }, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Configuration Scope", + "operation": "Delete Configuration Scope", + "description": "Delete Configuration Scope" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Get linked services under given workspace.", + "description": "Get linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Create/Update linked services under given workspace.", + "description": "Create/Update linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Delete linked services under given workspace.", + "description": "Delete linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "List Intelligence Packs", + "description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Enable Intelligence Pack", + "description": "Enables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Disable Intelligence Pack", + "description": "Disables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/purge/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Delete specified data from workspace", + "description": "Delete specified data from workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/linkTargets/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Unlinked Account", + "operation": "List Unlinked Accounts", + "description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Metric Definitions", + "operation": "Metric Definition operation", + "description": "Get Metric Definitions under workspace" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Average_% Free Inodes", + "displayName": "Average_% Free Inodes", + "displayDescription": "Average_% Free Inodes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Free Space", + "displayName": "Average_% Free Space", + "displayDescription": "Average_% Free Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Inodes", + "displayName": "Average_% Used Inodes", + "displayDescription": "Average_% Used Inodes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Space", + "displayName": "Average_% Used Space", + "displayDescription": "Average_% Used Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Read Bytes/sec", + "displayName": "Average_Disk Read Bytes/sec", + "displayDescription": "Average_Disk Read Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Reads/sec", + "displayName": "Average_Disk Reads/sec", + "displayDescription": "Average_Disk Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Transfers/sec", + "displayName": "Average_Disk Transfers/sec", + "displayDescription": "Average_Disk Transfers/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Write Bytes/sec", + "displayName": "Average_Disk Write Bytes/sec", + "displayDescription": "Average_Disk Write Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Writes/sec", + "displayName": "Average_Disk Writes/sec", + "displayDescription": "Average_Disk Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Megabytes", + "displayName": "Average_Free Megabytes", + "displayDescription": "Average_Free Megabytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Logical Disk Bytes/sec", + "displayName": "Average_Logical Disk Bytes/sec", + "displayDescription": "Average_Logical Disk Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Available Memory", + "displayName": "Average_% Available Memory", + "displayDescription": "Average_% Available Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Available Swap Space", + "displayName": "Average_% Available Swap Space", + "displayDescription": "Average_% Available Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Memory", + "displayName": "Average_% Used Memory", + "displayDescription": "Average_% Used Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Swap Space", + "displayName": "Average_% Used Swap Space", + "displayDescription": "Average_% Used Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes Memory", + "displayName": "Average_Available MBytes Memory", + "displayDescription": "Average_Available MBytes Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes Swap", + "displayName": "Average_Available MBytes Swap", + "displayDescription": "Average_Available MBytes Swap", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Page Reads/sec", + "displayName": "Average_Page Reads/sec", + "displayDescription": "Average_Page Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Page Writes/sec", + "displayName": "Average_Page Writes/sec", + "displayDescription": "Average_Page Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pages/sec", + "displayName": "Average_Pages/sec", + "displayDescription": "Average_Pages/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used MBytes Swap Space", + "displayName": "Average_Used MBytes Swap Space", + "displayDescription": "Average_Used MBytes Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used Memory MBytes", + "displayName": "Average_Used Memory MBytes", + "displayDescription": "Average_Used Memory MBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes Transmitted", + "displayName": "Average_Total Bytes Transmitted", + "displayDescription": "Average_Total Bytes Transmitted", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes Received", + "displayName": "Average_Total Bytes Received", + "displayDescription": "Average_Total Bytes Received", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes", + "displayName": "Average_Total Bytes", + "displayDescription": "Average_Total Bytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Packets Transmitted", + "displayName": "Average_Total Packets Transmitted", + "displayDescription": "Average_Total Packets Transmitted", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Packets Received", + "displayName": "Average_Total Packets Received", + "displayDescription": "Average_Total Packets Received", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Rx Errors", + "displayName": "Average_Total Rx Errors", + "displayDescription": "Average_Total Rx Errors", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Tx Errors", + "displayName": "Average_Total Tx Errors", + "displayDescription": "Average_Total Tx Errors", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Collisions", + "displayName": "Average_Total Collisions", + "displayDescription": "Average_Total Collisions", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Read", + "displayName": "Average_Avg. Disk sec/Read", + "displayDescription": "Average_Avg. Disk sec/Read", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Transfer", + "displayName": "Average_Avg. Disk sec/Transfer", + "displayDescription": "Average_Avg. Disk sec/Transfer", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Write", + "displayName": "Average_Avg. Disk sec/Write", + "displayDescription": "Average_Avg. Disk sec/Write", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Physical Disk Bytes/sec", + "displayName": "Average_Physical Disk Bytes/sec", + "displayDescription": "Average_Physical Disk Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pct Privileged Time", + "displayName": "Average_Pct Privileged Time", + "displayDescription": "Average_Pct Privileged Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pct User Time", + "displayName": "Average_Pct User Time", + "displayDescription": "Average_Pct User Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used Memory kBytes", + "displayName": "Average_Used Memory kBytes", + "displayDescription": "Average_Used Memory kBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Virtual Shared Memory", + "displayName": "Average_Virtual Shared Memory", + "displayDescription": "Average_Virtual Shared Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% DPC Time", + "displayName": "Average_% DPC Time", + "displayDescription": "Average_% DPC Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Idle Time", + "displayName": "Average_% Idle Time", + "displayDescription": "Average_% Idle Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Interrupt Time", + "displayName": "Average_% Interrupt Time", + "displayDescription": "Average_% Interrupt Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% IO Wait Time", + "displayName": "Average_% IO Wait Time", + "displayDescription": "Average_% IO Wait Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Nice Time", + "displayName": "Average_% Nice Time", + "displayDescription": "Average_% Nice Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Privileged Time", + "displayName": "Average_% Privileged Time", + "displayDescription": "Average_% Privileged Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Processor Time", + "displayName": "Average_% Processor Time", + "displayDescription": "Average_% Processor Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% User Time", + "displayName": "Average_% User Time", + "displayDescription": "Average_% User Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Physical Memory", + "displayName": "Average_Free Physical Memory", + "displayDescription": "Average_Free Physical Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Space in Paging Files", + "displayName": "Average_Free Space in Paging Files", + "displayDescription": "Average_Free Space in Paging Files", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Virtual Memory", + "displayName": "Average_Free Virtual Memory", + "displayDescription": "Average_Free Virtual Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Processes", + "displayName": "Average_Processes", + "displayDescription": "Average_Processes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Size Stored In Paging Files", + "displayName": "Average_Size Stored In Paging Files", + "displayDescription": "Average_Size Stored In Paging Files", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + {}, + {}, + {}, + {}, + { + "name": "Average_Current Disk Queue Length", + "displayName": "Average_Current Disk Queue Length", + "displayDescription": "Average_Current Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Reads/sec", + "displayName": "Average_Disk Reads/sec", + "displayDescription": "Average_Disk Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Transfers/sec", + "displayName": "Average_Disk Transfers/sec", + "displayDescription": "Average_Disk Transfers/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Writes/sec", + "displayName": "Average_Disk Writes/sec", + "displayDescription": "Average_Disk Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Megabytes", + "displayName": "Average_Free Megabytes", + "displayDescription": "Average_Free Megabytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Free Space", + "displayName": "Average_% Free Space", + "displayDescription": "Average_% Free Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes", + "displayName": "Average_Available MBytes", + "displayDescription": "Average_Available MBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Committed Bytes In Use", + "displayName": "Average_% Committed Bytes In Use", + "displayDescription": "Average_% Committed Bytes In Use", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Received/sec", + "displayName": "Average_Bytes Received/sec", + "displayDescription": "Average_Bytes Received/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Sent/sec", + "displayName": "Average_Bytes Sent/sec", + "displayDescription": "Average_Bytes Sent/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Total/sec", + "displayName": "Average_Bytes Total/sec", + "displayDescription": "Average_Bytes Total/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Processor Time", + "displayName": "Average_% Processor Time", + "displayDescription": "Average_% Processor Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Processor Queue Length", + "displayName": "Average_Processor Queue Length", + "displayDescription": "Average_Processor Queue Length", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Heartbeat", + "displayName": "Heartbeat", + "displayDescription": "Heartbeat", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "OSType", + "displayName": "OSType" + }, + { + "name": "Version", + "displayName": "Version" + }, + { + "name": "SourceComputerId", + "displayName": "SourceComputerId" + } + ] + }, + { + "name": "Update", + "displayName": "Update", + "displayDescription": "Update", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "Product", + "displayName": "Product" + }, + { + "name": "Classification", + "displayName": "Classification" + }, + { + "name": "UpdateState", + "displayName": "UpdateState" + }, + { + "name": "Optional", + "displayName": "Optional" + }, + { + "name": "Approved", + "displayName": "Approved" + } + ] } - } - ], - "nextLink": "" - } + ] + } + } + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesCreate.json index 4b90643dc1d5..06857feb9c30 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesCreate.json @@ -1,64 +1,64 @@ { - "parameters":{ - "resourceGroupName":"oiautorest6685", - "workspaceName":"oiautorest6685", - "parameters":{ - "properties":{ - "sku":{ - "name":"PerNode" - }, - "retentionInDays":30 - }, - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - } + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "parameters": { + "properties": { + "sku": { + "name": "PerNode" + }, + "retentionInDays": 30 }, - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", - "name":"AzTest2170", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - }, - "properties":{ - "source":"Azure", - "customerId":"bc089d7b-485c-4aff-a71e-c00f362d8d2f", - "portalUrl":"https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", - "provisioningState":"Creating", - "sku":{ - "name":"PerNode" - }, - "retentionInDays":30 - } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", - "name":"AzTest2170", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - }, - "properties":{ - "source":"Azure", - "customerId":"bc089d7b-485c-4aff-a71e-c00f362d8d2f", - "portalUrl":"https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", - "provisioningState":"Creating", - "sku":{ - "name":"PerNode" - }, - "retentionInDays":30 - } - } - } + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + }, + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + }, + "properties": { + "source": "Azure", + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "portalUrl": "https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", + "provisioningState": "Creating", + "sku": { + "name": "PerNode" + }, + "retentionInDays": 30 + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + }, + "properties": { + "source": "Azure", + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "portalUrl": "https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", + "provisioningState": "Creating", + "sku": { + "name": "PerNode" + }, + "retentionInDays": 30 + } + } + } + } } -} \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDelete.json index a03f1050634f..46142fbccc3d 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDelete.json @@ -1,12 +1,12 @@ { - "parameters":{ - "resourceGroupName":"oiautorest6685", - "workspaceName":"oiautorest6685", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{}, - "204":{} - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDisableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDisableIntelligencePack.json index 0d86ac3f0822..906404ea70a9 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDisableIntelligencePack.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesDisableIntelligencePack.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesEnableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesEnableIntelligencePack.json index 0d86ac3f0822..906404ea70a9 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesEnableIntelligencePack.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesEnableIntelligencePack.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGet.json index 0be7ea53432b..2a4da9797355 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGet.json @@ -1,46 +1,46 @@ { - "parameters":{ - "resourceGroupName":"oiautorest6685", - "workspaceName":"oiautorest6685", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "properties":{ - "source":"Azure", - "customerId":"5b02755b-5bf4-430c-9487-45502a2a7e62", - "portalUrl":"https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f594038b5-1093-476e-a366-482775671c11%2fresourcegroups%2fcalbot-rg%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2ftestresourcelock", - "provisioningState":"Succeeded", - "sku":{ - "name":"free" - }, - "retentionInDays":7 - }, - "id":"/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock", - "name":"TestResourceLock", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"eastus" + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "source": "Azure", + "customerId": "5b02755b-5bf4-430c-9487-45502a2a7e62", + "portalUrl": "https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f594038b5-1093-476e-a366-482775671c11%2fresourcegroups%2fcalbot-rg%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2ftestresourcelock", + "provisioningState": "Succeeded", + "sku": { + "name": "free" }, - { - "properties":{ - "source":"External", - "customerId":"4884a2fd-b08f-4aa6-bf16-5757df1093fe", - "portalUrl":"https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f594038b5-1093-476e-a366-482775671c11%2fresourcegroups%2fmms-eus%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2fsouthukws", - "provisioningState":"Succeeded", - "sku":{ - "name":"free" - }, - "retentionInDays":7 - }, - "id":"/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/southukws", - "name":"SouthUKWS", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"East US" - } - ] - } - } -} \ No newline at end of file + "retentionInDays": 7 + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock", + "name": "TestResourceLock", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "eastus" + }, + { + "properties": { + "source": "External", + "customerId": "4884a2fd-b08f-4aa6-bf16-5757df1093fe", + "portalUrl": "https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f594038b5-1093-476e-a366-482775671c11%2fresourcegroups%2fmms-eus%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2fsouthukws", + "provisioningState": "Succeeded", + "sku": { + "name": "free" + }, + "retentionInDays": 7 + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/southukws", + "name": "SouthUKWS", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "East US" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGetSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGetSharedKeys.json index 176c1aeef993..c6b621bb9f96 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGetSharedKeys.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesGetSharedKeys.json @@ -1,16 +1,16 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"TestLinkWS", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "primarySharedKey":"BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", - "secondarySharedKey":"7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" - } + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "primarySharedKey": "BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", + "secondarySharedKey": "7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListByResourceGroup.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListByResourceGroup.json index 646fb88941e3..8e4fc83c4dda 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListByResourceGroup.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListByResourceGroup.json @@ -1,32 +1,32 @@ { - "parameters":{ - "resourceGroupName":"oiautorest6685", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "properties":{ - "source":"Azure", - "customerId":"bc089d7b-485c-4aff-a71e-c00f362d8d2f", - "portalUrl":"https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", - "provisioningState":"Succeeded", - "sku":{ - "name":"pernode" - }, - "retentionInDays":30 - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", - "name":"AzTest2170", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - } - } - ] - } - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "oiautorest6685", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "source": "Azure", + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "portalUrl": "https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", + "provisioningState": "Succeeded", + "sku": { + "name": "pernode" + }, + "retentionInDays": 30 + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListIntelligencePacks.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListIntelligencePacks.json index 443f244f194b..a757125808f4 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListIntelligencePacks.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListIntelligencePacks.json @@ -1,244 +1,244 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"TestLinkWS", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "name":"CapacityPerformance", - "enabled":false, - "displayName":"Capacity and Performance" - }, - { - "name":"AzureWebAppsAnalytics", - "enabled":false, - "displayName":"Azure Web Apps Analytics (Preview)" - }, - { - "name":"Security", - "enabled":false, - "displayName":"Security and Audit" - }, - { - "name":"Updates", - "enabled":false, - "displayName":"Update Management" - }, - { - "name":"AntiMalware", - "enabled":false, - "displayName":"Antimalware Assessment" - }, - { - "name":"LogManagement", - "enabled":true, - "displayName":"Log Management" - }, - { - "name":"ChangeTracking", - "enabled":true, - "displayName":"Change Tracking" - }, - { - "name":"SQLAssessment", - "enabled":false, - "displayName":"SQL Assessment" - }, - { - "name":"SCOMAssessment", - "enabled":false, - "displayName":"System Center Operations Manager Assessment (Preview)" - }, - { - "name":"ServiceDesk", - "enabled":false, - "displayName":"IT Service Management Connector(Preview)" - }, - { - "name":"ADAssessment", - "enabled":false, - "displayName":"AD Assessment" - }, - { - "name":"AlertManagement", - "enabled":false, - "displayName":"Alert Management" - }, - { - "name":"AzureAutomation", - "enabled":false, - "displayName":"Azure Automation" - }, - { - "name":"WireData", - "enabled":false, - "displayName":"Wire Data" - }, - { - "name":"SiteRecovery", - "enabled":true, - "displayName":"Azure Site Recovery" - }, - { - "name":"Backup", - "enabled":false, - "displayName":"Backup" - }, - { - "name":"SurfaceHub", - "enabled":false, - "displayName":"Surface Hub" - }, - { - "name":"NetworkMonitoring", - "enabled":false, - "displayName":"Network Performance Monitor" - }, - { - "name":"Containers", - "enabled":false, - "displayName":"Container Monitoring Solution" - }, - { - "name":"ServiceMap", - "enabled":false, - "displayName":"Service Map" - }, - { - "name":"AzureNetworking", - "enabled":false, - "displayName":"Azure Networking Analytics (Deprecated)" - }, - { - "name":"ADReplication", - "enabled":false, - "displayName":"AD Replication Status" - }, - { - "name":"Office365", - "enabled":false, - "displayName":"Office 365 (Preview)" - }, - { - "name":"CompatibilityAssessment", - "enabled":false, - "displayName":"Upgrade Readiness" - }, - { - "name":"KeyVault", - "enabled":false, - "displayName":"Key Vault (Deprecated)" - }, - { - "name":"ServiceFabric", - "enabled":false, - "displayName":"Service Fabric" - }, - { - "name":"DnsAnalytics", - "enabled":false, - "displayName":"DNS Analytics (Preview)" - }, - { - "name":"ApplicationInsights", - "enabled":false, - "displayName":"Application Insights (Preview)" - }, - { - "name":"WireData2", - "enabled":false, - "displayName":"Wire Data 2.0" - }, - { - "name":"WaaSUpdateInsights", - "enabled":false, - "displayName":"Update Compliance (Preview)" - }, - { - "name":"AgentHealthAssessment", - "enabled":false, - "displayName":"Agent Health " - }, - { - "name":"AzureActivity", - "enabled":false, - "displayName":"Activity Log Analytics" - }, - { - "name":"HDInsight", - "enabled":false, - "displayName":"HDInsight HBase Monitoring (Preview)" - }, - { - "name":"HDInsightKafka", - "enabled":false, - "displayName":"HDInsight Kafka Monitoring" - }, - { - "name":"HDInsightSpark", - "enabled":false, - "displayName":"HDInsight Spark Monitoring" - }, - { - "name":"VMware", - "enabled":false, - "displayName":"VMware (Preview)" - }, - { - "name":"SecurityCenterFree", - "enabled":false, - "displayName":"Security Center Free � for Azure Resources only" - }, - { - "name":"LogicAppsManagement", - "enabled":false, - "displayName":"Logic Apps Management" - }, - { - "name":"LogicAppB2B", - "enabled":false, - "displayName":"Logic Apps B2B" - }, - { - "name":"AzureSQLAnalytics", - "enabled":false, - "displayName":"Azure SQL Analytics (Preview)" - }, - { - "name":"KeyVaultAnalytics", - "enabled":false, - "displayName":"Key Vault Analytics" - }, - { - "name":"AzureNSGAnalytics", - "enabled":false, - "displayName":"Azure Network Security Group Analytics" - }, - { - "name":"AzureAppGatewayAnalytics", - "enabled":false, - "displayName":"Azure Application Gateway Analytics" - }, - { - "name":"DeviceHealthProd", - "enabled":false, - "displayName":"Device Health (Preview)" - }, - { - "name":"WindowsDefenderATP", - "enabled":false, - "displayName":"Windows Defender ATP" - }, - { - "name":"ProcessInvestigator", - "enabled":false, - "displayName":"ProcessInvestigator" - } - ] - } - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "CapacityPerformance", + "enabled": false, + "displayName": "Capacity and Performance" + }, + { + "name": "AzureWebAppsAnalytics", + "enabled": false, + "displayName": "Azure Web Apps Analytics (Preview)" + }, + { + "name": "Security", + "enabled": false, + "displayName": "Security and Audit" + }, + { + "name": "Updates", + "enabled": false, + "displayName": "Update Management" + }, + { + "name": "AntiMalware", + "enabled": false, + "displayName": "Antimalware Assessment" + }, + { + "name": "LogManagement", + "enabled": true, + "displayName": "Log Management" + }, + { + "name": "ChangeTracking", + "enabled": true, + "displayName": "Change Tracking" + }, + { + "name": "SQLAssessment", + "enabled": false, + "displayName": "SQL Assessment" + }, + { + "name": "SCOMAssessment", + "enabled": false, + "displayName": "System Center Operations Manager Assessment (Preview)" + }, + { + "name": "ServiceDesk", + "enabled": false, + "displayName": "IT Service Management Connector(Preview)" + }, + { + "name": "ADAssessment", + "enabled": false, + "displayName": "AD Assessment" + }, + { + "name": "AlertManagement", + "enabled": false, + "displayName": "Alert Management" + }, + { + "name": "AzureAutomation", + "enabled": false, + "displayName": "Azure Automation" + }, + { + "name": "WireData", + "enabled": false, + "displayName": "Wire Data" + }, + { + "name": "SiteRecovery", + "enabled": true, + "displayName": "Azure Site Recovery" + }, + { + "name": "Backup", + "enabled": false, + "displayName": "Backup" + }, + { + "name": "SurfaceHub", + "enabled": false, + "displayName": "Surface Hub" + }, + { + "name": "NetworkMonitoring", + "enabled": false, + "displayName": "Network Performance Monitor" + }, + { + "name": "Containers", + "enabled": false, + "displayName": "Container Monitoring Solution" + }, + { + "name": "ServiceMap", + "enabled": false, + "displayName": "Service Map" + }, + { + "name": "AzureNetworking", + "enabled": false, + "displayName": "Azure Networking Analytics (Deprecated)" + }, + { + "name": "ADReplication", + "enabled": false, + "displayName": "AD Replication Status" + }, + { + "name": "Office365", + "enabled": false, + "displayName": "Office 365 (Preview)" + }, + { + "name": "CompatibilityAssessment", + "enabled": false, + "displayName": "Upgrade Readiness" + }, + { + "name": "KeyVault", + "enabled": false, + "displayName": "Key Vault (Deprecated)" + }, + { + "name": "ServiceFabric", + "enabled": false, + "displayName": "Service Fabric" + }, + { + "name": "DnsAnalytics", + "enabled": false, + "displayName": "DNS Analytics (Preview)" + }, + { + "name": "ApplicationInsights", + "enabled": false, + "displayName": "Application Insights (Preview)" + }, + { + "name": "WireData2", + "enabled": false, + "displayName": "Wire Data 2.0" + }, + { + "name": "WaaSUpdateInsights", + "enabled": false, + "displayName": "Update Compliance (Preview)" + }, + { + "name": "AgentHealthAssessment", + "enabled": false, + "displayName": "Agent Health " + }, + { + "name": "AzureActivity", + "enabled": false, + "displayName": "Activity Log Analytics" + }, + { + "name": "HDInsight", + "enabled": false, + "displayName": "HDInsight HBase Monitoring (Preview)" + }, + { + "name": "HDInsightKafka", + "enabled": false, + "displayName": "HDInsight Kafka Monitoring" + }, + { + "name": "HDInsightSpark", + "enabled": false, + "displayName": "HDInsight Spark Monitoring" + }, + { + "name": "VMware", + "enabled": false, + "displayName": "VMware (Preview)" + }, + { + "name": "SecurityCenterFree", + "enabled": false, + "displayName": "Security Center Free � for Azure Resources only" + }, + { + "name": "LogicAppsManagement", + "enabled": false, + "displayName": "Logic Apps Management" + }, + { + "name": "LogicAppB2B", + "enabled": false, + "displayName": "Logic Apps B2B" + }, + { + "name": "AzureSQLAnalytics", + "enabled": false, + "displayName": "Azure SQL Analytics (Preview)" + }, + { + "name": "KeyVaultAnalytics", + "enabled": false, + "displayName": "Key Vault Analytics" + }, + { + "name": "AzureNSGAnalytics", + "enabled": false, + "displayName": "Azure Network Security Group Analytics" + }, + { + "name": "AzureAppGatewayAnalytics", + "enabled": false, + "displayName": "Azure Application Gateway Analytics" + }, + { + "name": "DeviceHealthProd", + "enabled": false, + "displayName": "Device Health (Preview)" + }, + { + "name": "WindowsDefenderATP", + "enabled": false, + "displayName": "Windows Defender ATP" + }, + { + "name": "ProcessInvestigator", + "enabled": false, + "displayName": "ProcessInvestigator" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListManagementGroups.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListManagementGroups.json index c92b81f5e938..f61b4937aef0 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListManagementGroups.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListManagementGroups.json @@ -1,16 +1,15 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"TestLinkWS", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - ] - } + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListUsages.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListUsages.json index c243a18375a8..dd5348ca9aa3 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListUsages.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesListUsages.json @@ -1,27 +1,27 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"TestLinkWS", - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":{ - "value":"DataAnalyzed", - "localizedValue":"Data Analyzed" - }, - "unit":"Bytes", - "currentValue":0.0, - "limit":524288000.0, - "nextResetTime":"2017-10-03T00:00:00Z", - "quotaPeriod":"P1D" - } - ] - } + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "value": "DataAnalyzed", + "localizedValue": "Data Analyzed" + }, + "unit": "Bytes", + "currentValue": 0.0, + "limit": 524288000.0, + "nextResetTime": "2017-10-03T00:00:00Z", + "quotaPeriod": "P1D" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesSubscriptionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesSubscriptionList.json index 150b5e373d2a..a17011d767b6 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesSubscriptionList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesSubscriptionList.json @@ -1,31 +1,31 @@ { - "parameters":{ - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "properties":{ - "source":"Azure", - "customerId":"bc089d7b-485c-4aff-a71e-c00f362d8d2f", - "portalUrl":"https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", - "provisioningState":"Succeeded", - "sku":{ - "name":"pernode" - }, - "retentionInDays":30 - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", - "name":"AzTest2170", - "type":"Microsoft.OperationalInsights/workspaces", - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - } - } - ] - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "source": "Azure", + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "portalUrl": "https://seau.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2f00000000-0000-0000-0000-000000000005%2fresourcegroups%2foiautorest6685%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2faztest2170", + "provisioningState": "Succeeded", + "sku": { + "name": "pernode" + }, + "retentionInDays": 30 + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesUpdate.json index 3811b71e7e60..39e42f4a358b 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/WorkspacesUpdate.json @@ -1,30 +1,30 @@ { - "parameters":{ - "resourceGroupName":"oiautorest6685", - "workspaceName":"oiautorest6685", - "parameters":{ - "properties":{ - "customerId":"6c576b6a-75d3-4ff9-bc23-28d524e52f5b" - }, - "location":"australiasoutheast" + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "parameters": { + "properties": { + "customerId": "6c576b6a-75d3-4ff9-bc23-28d524e52f5b" }, - "api-version":"2015-11-01-preview", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "sku":{ - "name":"PerNode" - }, - "retentionInDays":30 - }, - "location":"australiasoutheast", - "tags":{ - "tag1":"val1" - } - } + "location": "australiasoutheast" + }, + "api-version": "2015-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "PerNode" + }, + "retentionInDays": 30 + }, + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/OperationalInsights.json index 7417823f4ef8..fad3f6262e79 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/OperationalInsights.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/OperationalInsights.json @@ -40,7 +40,9 @@ "StorageInsights" ], "x-ms-examples": { - "StorageInsightsCreate": { "$ref": "./examples/StorageInsightsCreateOrUpdate.json" } + "StorageInsightsCreate": { + "$ref": "./examples/StorageInsightsCreateOrUpdate.json" + } }, "operationId": "StorageInsights_CreateOrUpdate", "description": "Create or update a storage insight.", @@ -94,7 +96,9 @@ "StorageInsights" ], "x-ms-examples": { - "StorageInsightsGet": { "$ref": "./examples/StorageInsightsGet.json" } + "StorageInsightsGet": { + "$ref": "./examples/StorageInsightsGet.json" + } }, "operationId": "StorageInsights_Get", "description": "Gets a storage insight instance.", @@ -133,7 +137,9 @@ "StorageInsights" ], "x-ms-examples": { - "StorageInsightsDelete": { "$ref": "./examples/StorageInsightsDelete.json" } + "StorageInsightsDelete": { + "$ref": "./examples/StorageInsightsDelete.json" + } }, "operationId": "StorageInsights_Delete", "description": "Deletes a storageInsightsConfigs resource", @@ -174,7 +180,9 @@ "StorageInsights" ], "x-ms-examples": { - "StorageInsightsList": { "$ref": "./examples/StorageInsightsListByWorkspace.json" } + "StorageInsightsList": { + "$ref": "./examples/StorageInsightsListByWorkspace.json" + } }, "operationId": "StorageInsights_ListByWorkspace", "description": "Lists the storage insight instances within a workspace", @@ -211,7 +219,9 @@ "Workspaces" ], "x-ms-examples": { - "LinkTargetsList": { "$ref": "./examples/WorkspacesListLinkTargets.json" } + "LinkTargetsList": { + "$ref": "./examples/WorkspacesListLinkTargets.json" + } }, "operationId": "Workspaces_ListLinkTargets", "description": "Get a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored.", @@ -242,7 +252,9 @@ "SavedSearches" ], "x-ms-examples": { - "SavedSearchesDelete": { "$ref": "./examples/WorkspacesDeleteSavedSearches.json" } + "SavedSearchesDelete": { + "$ref": "./examples/WorkspacesDeleteSavedSearches.json" + } }, "operationId": "SavedSearches_Delete", "description": "Deletes the specified saved search in a given workspace.", @@ -278,7 +290,9 @@ "SavedSearches" ], "x-ms-examples": { - "SavedSearchCreateOrUpdate": { "$ref": "./examples/WorkspacesSavedSearchesCreateOrUpdate.json" } + "SavedSearchCreateOrUpdate": { + "$ref": "./examples/WorkspacesSavedSearchesCreateOrUpdate.json" + } }, "operationId": "SavedSearches_CreateOrUpdate", "description": "Creates or updates a saved search for a given workspace.", @@ -286,7 +300,7 @@ { "$ref": "#/parameters/SubscriptionIdParameter" }, - { + { "$ref": "#/parameters/ResourceGroupNameParameter" }, { @@ -301,7 +315,8 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - }, { + }, + { "name": "parameters", "in": "body", "required": true, @@ -325,7 +340,9 @@ "SavedSearches" ], "x-ms-examples": { - "SavedSearchesGet": { "$ref": "./examples/WorkspacesSavedSearchesGet.json" } + "SavedSearchesGet": { + "$ref": "./examples/WorkspacesSavedSearchesGet.json" + } }, "operationId": "SavedSearches_Get", "description": "Gets the specified saved search for a given workspace.", @@ -333,7 +350,7 @@ { "$ref": "#/parameters/SubscriptionIdParameter" }, - { + { "$ref": "#/parameters/ResourceGroupNameParameter" }, { @@ -366,7 +383,9 @@ "SavedSearches" ], "x-ms-examples": { - "SavedSearchesList": { "$ref": "./examples/SavedSearchesListByWorkspace.json" } + "SavedSearchesList": { + "$ref": "./examples/SavedSearchesListByWorkspace.json" + } }, "operationId": "SavedSearches_ListByWorkspace", "description": "Gets the saved searches for a given Log Analytics Workspace", @@ -400,7 +419,9 @@ "SavedSearches" ], "x-ms-examples": { - "SaveSearchesListResults": { "$ref": "./examples/SavedSearchesGetResults.json" } + "SaveSearchesListResults": { + "$ref": "./examples/SavedSearchesGetResults.json" + } }, "operationId": "SavedSearches_GetResults", "description": "Gets the results from a saved search for a given workspace.", @@ -441,7 +462,9 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesGetSchema": { "$ref": "./examples/SavedSearchesGetSchema.json" } + "WorkspacesGetSchema": { + "$ref": "./examples/SavedSearchesGetSchema.json" + } }, "operationId": "Workspaces_GetSchema", "description": "Gets the schema for a given workspace.", @@ -475,7 +498,9 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesGetSearchResults": { "$ref": "./examples/WorkspacesGetSearchResults.json" } + "WorkspacesGetSearchResults": { + "$ref": "./examples/WorkspacesGetSearchResults.json" + } }, "operationId": "Workspaces_GetSearchResults", "description": "Submit a search for a given workspace. The response will contain an id to track the search. User can use the id to poll the search status and get the full search result later if the search takes long time to finish. ", @@ -522,7 +547,9 @@ "Workspaces" ], "x-ms-examples": { - "WorkspacesUpdateSearchResults": { "$ref": "./examples/WorkspacesUpdateSearchResults.json" } + "WorkspacesUpdateSearchResults": { + "$ref": "./examples/WorkspacesUpdateSearchResults.json" + } }, "operationId": "Workspaces_UpdateSearchResults", "description": "Gets updated search results for a given search query.", @@ -647,8 +674,10 @@ "Workspaces" ], "x-ms-examples": { - "SharedKeysList": { "$ref": "./examples/WorkspacesListKeys.json" } - }, + "SharedKeysList": { + "$ref": "./examples/WorkspacesListKeys.json" + } + }, "operationId": "Workspaces_ListKeys", "description": "Gets the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.", "parameters": [ @@ -681,8 +710,10 @@ "Workspaces" ], "x-ms-examples": { - "RegenerateSharedKeys": { "$ref": "./examples/WorkspacesRegenerateSharedKeys.json" } - }, + "RegenerateSharedKeys": { + "$ref": "./examples/WorkspacesRegenerateSharedKeys.json" + } + }, "operationId": "Workspaces_RegenerateSharedKeys", "description": "Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.", "parameters": [ @@ -715,8 +746,10 @@ "Workspaces" ], "x-ms-examples": { - "DeleteGateways": { "$ref": "./examples/WorkspacesGatewaysDelete.json" } - }, + "DeleteGateways": { + "$ref": "./examples/WorkspacesGatewaysDelete.json" + } + }, "operationId": "Workspaces_DeleteGateways", "description": "Delete a Log Analytics gateway.", "parameters": [ @@ -749,7 +782,9 @@ "Operations" ], "x-ms-examples": { - "OperationsList": { "$ref": "./examples/OperationsList.json" } + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } }, "operationId": "Operations_List", "description": "Lists all of the available OperationalInsights Rest API operations.", @@ -773,39 +808,39 @@ "OperationListResult": { "description": "Result of the request to list OperationalInsights operations.", "properties": { - "value": { + "value": { "type": "array", "items": { - "$ref": "#/definitions/Operation" + "$ref": "#/definitions/Operation" }, "description": "List of operations supported by the OperationalInsights resource provider." - } + } } }, "Operation": { "description": "Supported operation of OperationalInsights resource provider.", "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: OperationalInsights.", "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Service provider: OperationalInsights.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed etc.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - } - } + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + } } + } } }, "LinkTarget": { @@ -876,7 +911,7 @@ "description": "The tags attached to the saved search." } }, - "required":[ + "required": [ "category", "displayName", "query" @@ -1244,7 +1279,7 @@ "modelAsString": true } }, - "description":{ + "description": { "type": "string", "description": "Description of the state of the storage insight." } @@ -1486,15 +1521,15 @@ "description": "The client API version." }, "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "description": "The Resource Group name.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The Resource Group name.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 }, "WorkspaceNameParameter": { "name": "workspaceName", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/OperationsList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/OperationsList.json index 1a43aa663fc1..435e5877cbc3 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/OperationsList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/OperationsList.json @@ -1,2270 +1,2248 @@ { - "parameters":{ - "api-version":"2015-03-02" - }, - "responses":{ - "200":{ - "body":[ - { - "name":"Microsoft.OperationalInsights/workspaces/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Create Workspace", - "description":"Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Get Workspace", - "description":"Gets an existing workspace" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Workspace", - "operation":"Delete Workspace", - "description":"Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Registration Certificate", - "operation":"Generates Registration Certificate for Workspace.", - "description":"Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Create Storage Configuration", - "description":"Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Get Storage Configuration", - "description":"Gets a storage configuration." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Storage Insight Configuration", - "operation":"Delete Storage Configuration", - "description":"Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." - } - }, - { - "name":"Microsoft.OperationalInsights/register/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Register", - "operation":"Register a subscription to a resource provider.", - "description":"Register a subscription to a resource provider." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/sharedKeys/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Shared Keys", - "operation":"List Workspace Shared Keys", - "description":"Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/sharedKeys/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Shared Keys", - "operation":"List Workspace Shared Keys", - "description":"Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/listKeys/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"List Keys", - "operation":"List Workspace Keys", - "description":"Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/listKeys/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"List Keys", - "operation":"List Workspace Keys", - "description":"Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/managementGroups/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Management Group", - "operation":"Get Management Groups for Workspace", - "description":"Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/usages/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Usage Metric", - "operation":"Get Usage Data for Workspace", - "description":"Gets usage data for a workspace including the amount of data read by the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/search/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Search", - "operation":"Search Workspace Data", - "description":"Executes a search query" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Search Schema", - "operation":"Get Search Schema", - "description":"Gets the search schema for the workspace. Search schema includes the exposed fields and their types." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/datasources/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Data Source", - "operation":"Get datasources under a workspace.", - "description":"Get datasources under a workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/datasources/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Data Source", - "operation":"Create/Update datasources under a workspace.", - "description":"Create/Update datasources under a workspace." - } - }, - { - - }, - { - - }, - { - - }, - { - - }, - { - "name":"Microsoft.OperationalInsights/workspaces/notificationSettings/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Notification Settings", - "operation":"Get Notification Settings", - "description":"Get the user's notification settings for the workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/notificationSettings/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Notification Settings", - "operation":"Put Notification Settings", - "description":"Set the user's notification settings for the workspace." - } - }, - { - - }, - { - - }, - { - - }, - { - "name":"Microsoft.OperationalInsights/workspaces/configurationScopes/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Configuration Scope", - "operation":"Delete Configuration Scope", - "description":"Delete Configuration Scope" - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Get linked services under given workspace.", - "description":"Get linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/write", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Create/Update linked services under given workspace.", - "description":"Create/Update linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/linkedServices/delete", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Linked Services", - "operation":"Delete linked services under given workspace.", - "description":"Delete linked services under given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"List Intelligence Packs", - "description":"Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"Enable Intelligence Pack", - "description":"Enables an intelligence pack for a given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Intelligence Packs", - "operation":"Disable Intelligence Pack", - "description":"Disables an intelligence pack for a given workspace." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/analytics/query/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Search using new engine.", - "description":"Search using new engine." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Get search schema V2.", - "description":"Get search schema V2." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/api/query/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Search using new engine.", - "description":"Search using new engine." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/api/query/schema/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Get search schema V2.", - "description":"Get search schema V2." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/purge/action", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"analytics", - "operation":"Delete specified data from workspace", - "description":"Delete specified data from workspace" - } - }, - { - "name":"Microsoft.OperationalInsights/linkTargets/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Unlinked Account", - "operation":"List Unlinked Accounts", - "description":"Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." - } - }, - { - "name":"Microsoft.OperationalInsights/workspaces/metricDefinitions/read", - "display":{ - "provider":"Microsoft Operational Insights", - "resource":"Metric Definitions", - "operation":"Metric Definition operation", - "description":"Get Metric Definitions under workspace" - }, - "properties":{ - "serviceSpecification":{ - "metricSpecifications":[ - { - "name":"Average_% Free Inodes", - "displayName":"Average_% Free Inodes", - "displayDescription":"Average_% Free Inodes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Free Space", - "displayName":"Average_% Free Space", - "displayDescription":"Average_% Free Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Inodes", - "displayName":"Average_% Used Inodes", - "displayDescription":"Average_% Used Inodes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Space", - "displayName":"Average_% Used Space", - "displayDescription":"Average_% Used Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Read Bytes/sec", - "displayName":"Average_Disk Read Bytes/sec", - "displayDescription":"Average_Disk Read Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Reads/sec", - "displayName":"Average_Disk Reads/sec", - "displayDescription":"Average_Disk Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Transfers/sec", - "displayName":"Average_Disk Transfers/sec", - "displayDescription":"Average_Disk Transfers/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Write Bytes/sec", - "displayName":"Average_Disk Write Bytes/sec", - "displayDescription":"Average_Disk Write Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Writes/sec", - "displayName":"Average_Disk Writes/sec", - "displayDescription":"Average_Disk Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Megabytes", - "displayName":"Average_Free Megabytes", - "displayDescription":"Average_Free Megabytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Logical Disk Bytes/sec", - "displayName":"Average_Logical Disk Bytes/sec", - "displayDescription":"Average_Logical Disk Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Available Memory", - "displayName":"Average_% Available Memory", - "displayDescription":"Average_% Available Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Available Swap Space", - "displayName":"Average_% Available Swap Space", - "displayDescription":"Average_% Available Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Memory", - "displayName":"Average_% Used Memory", - "displayDescription":"Average_% Used Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Used Swap Space", - "displayName":"Average_% Used Swap Space", - "displayDescription":"Average_% Used Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes Memory", - "displayName":"Average_Available MBytes Memory", - "displayDescription":"Average_Available MBytes Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes Swap", - "displayName":"Average_Available MBytes Swap", - "displayDescription":"Average_Available MBytes Swap", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Page Reads/sec", - "displayName":"Average_Page Reads/sec", - "displayDescription":"Average_Page Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Page Writes/sec", - "displayName":"Average_Page Writes/sec", - "displayDescription":"Average_Page Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pages/sec", - "displayName":"Average_Pages/sec", - "displayDescription":"Average_Pages/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used MBytes Swap Space", - "displayName":"Average_Used MBytes Swap Space", - "displayDescription":"Average_Used MBytes Swap Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used Memory MBytes", - "displayName":"Average_Used Memory MBytes", - "displayDescription":"Average_Used Memory MBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes Transmitted", - "displayName":"Average_Total Bytes Transmitted", - "displayDescription":"Average_Total Bytes Transmitted", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes Received", - "displayName":"Average_Total Bytes Received", - "displayDescription":"Average_Total Bytes Received", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Bytes", - "displayName":"Average_Total Bytes", - "displayDescription":"Average_Total Bytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Packets Transmitted", - "displayName":"Average_Total Packets Transmitted", - "displayDescription":"Average_Total Packets Transmitted", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Packets Received", - "displayName":"Average_Total Packets Received", - "displayDescription":"Average_Total Packets Received", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Rx Errors", - "displayName":"Average_Total Rx Errors", - "displayDescription":"Average_Total Rx Errors", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Tx Errors", - "displayName":"Average_Total Tx Errors", - "displayDescription":"Average_Total Tx Errors", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Total Collisions", - "displayName":"Average_Total Collisions", - "displayDescription":"Average_Total Collisions", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Read", - "displayName":"Average_Avg. Disk sec/Read", - "displayDescription":"Average_Avg. Disk sec/Read", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Transfer", - "displayName":"Average_Avg. Disk sec/Transfer", - "displayDescription":"Average_Avg. Disk sec/Transfer", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Avg. Disk sec/Write", - "displayName":"Average_Avg. Disk sec/Write", - "displayDescription":"Average_Avg. Disk sec/Write", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Physical Disk Bytes/sec", - "displayName":"Average_Physical Disk Bytes/sec", - "displayDescription":"Average_Physical Disk Bytes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pct Privileged Time", - "displayName":"Average_Pct Privileged Time", - "displayDescription":"Average_Pct Privileged Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Pct User Time", - "displayName":"Average_Pct User Time", - "displayDescription":"Average_Pct User Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Used Memory kBytes", - "displayName":"Average_Used Memory kBytes", - "displayDescription":"Average_Used Memory kBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Virtual Shared Memory", - "displayName":"Average_Virtual Shared Memory", - "displayDescription":"Average_Virtual Shared Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% DPC Time", - "displayName":"Average_% DPC Time", - "displayDescription":"Average_% DPC Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Idle Time", - "displayName":"Average_% Idle Time", - "displayDescription":"Average_% Idle Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Interrupt Time", - "displayName":"Average_% Interrupt Time", - "displayDescription":"Average_% Interrupt Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% IO Wait Time", - "displayName":"Average_% IO Wait Time", - "displayDescription":"Average_% IO Wait Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Nice Time", - "displayName":"Average_% Nice Time", - "displayDescription":"Average_% Nice Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Privileged Time", - "displayName":"Average_% Privileged Time", - "displayDescription":"Average_% Privileged Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Processor Time", - "displayName":"Average_% Processor Time", - "displayDescription":"Average_% Processor Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% User Time", - "displayName":"Average_% User Time", - "displayDescription":"Average_% User Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Physical Memory", - "displayName":"Average_Free Physical Memory", - "displayDescription":"Average_Free Physical Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Space in Paging Files", - "displayName":"Average_Free Space in Paging Files", - "displayDescription":"Average_Free Space in Paging Files", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Virtual Memory", - "displayName":"Average_Free Virtual Memory", - "displayDescription":"Average_Free Virtual Memory", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Processes", - "displayName":"Average_Processes", - "displayDescription":"Average_Processes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Size Stored In Paging Files", - "displayName":"Average_Size Stored In Paging Files", - "displayDescription":"Average_Size Stored In Paging Files", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - - }, - { - - }, - { - - }, - { - - }, - { - "name":"Average_Current Disk Queue Length", - "displayName":"Average_Current Disk Queue Length", - "displayDescription":"Average_Current Disk Queue Length", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Reads/sec", - "displayName":"Average_Disk Reads/sec", - "displayDescription":"Average_Disk Reads/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Transfers/sec", - "displayName":"Average_Disk Transfers/sec", - "displayDescription":"Average_Disk Transfers/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Disk Writes/sec", - "displayName":"Average_Disk Writes/sec", - "displayDescription":"Average_Disk Writes/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Free Megabytes", - "displayName":"Average_Free Megabytes", - "displayDescription":"Average_Free Megabytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Free Space", - "displayName":"Average_% Free Space", - "displayDescription":"Average_% Free Space", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Available MBytes", - "displayName":"Average_Available MBytes", - "displayDescription":"Average_Available MBytes", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Committed Bytes In Use", - "displayName":"Average_% Committed Bytes In Use", - "displayDescription":"Average_% Committed Bytes In Use", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Received/sec", - "displayName":"Average_Bytes Received/sec", - "displayDescription":"Average_Bytes Received/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Sent/sec", - "displayName":"Average_Bytes Sent/sec", - "displayDescription":"Average_Bytes Sent/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Bytes Total/sec", - "displayName":"Average_Bytes Total/sec", - "displayDescription":"Average_Bytes Total/sec", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_% Processor Time", - "displayName":"Average_% Processor Time", - "displayDescription":"Average_% Processor Time", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Average_Processor Queue Length", - "displayName":"Average_Processor Queue Length", - "displayDescription":"Average_Processor Queue Length", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"ObjectName", - "displayName":"ObjectName" - }, - { - "name":"InstanceName", - "displayName":"InstanceName" - }, - { - "name":"CounterPath", - "displayName":"CounterPath" - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem" - } - ] - }, - { - "name":"Heartbeat", - "displayName":"Heartbeat", - "displayDescription":"Heartbeat", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"OSType", - "displayName":"OSType" - }, - { - "name":"Version", - "displayName":"Version" - }, - { - "name":"SourceComputerId", - "displayName":"SourceComputerId" - } - ] - }, - { - "name":"Update", - "displayName":"Update", - "displayDescription":"Update", - "unit":"Count", - "aggregationType":"Average", - "dimensions":[ - { - "name":"Computer", - "displayName":"Computer" - }, - { - "name":"Product", - "displayName":"Product" - }, - { - "name":"Classification", - "displayName":"Classification" - }, - { - "name":"UpdateState", - "displayName":"UpdateState" - }, - { - "name":"Optional", - "displayName":"Optional" - }, - { - "name":"Approved", - "displayName":"Approved" - } - ] - } - ] - } - } - } - ] - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-03-02" + }, + "responses": { + "200": { + "body": [ + { + "name": "Microsoft.OperationalInsights/workspaces/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Create Workspace", + "description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Get Workspace", + "description": "Gets an existing workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Delete Workspace", + "description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Registration Certificate", + "operation": "Generates Registration Certificate for Workspace.", + "description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Create Storage Configuration", + "description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Get Storage Configuration", + "description": "Gets a storage configuration." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Delete Storage Configuration", + "description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/register/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Register", + "operation": "Register a subscription to a resource provider.", + "description": "Register a subscription to a resource provider." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/managementGroups/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Management Group", + "operation": "Get Management Groups for Workspace", + "description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/usages/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Usage Metric", + "operation": "Get Usage Data for Workspace", + "description": "Gets usage data for a workspace including the amount of data read by the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/search/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search", + "operation": "Search Workspace Data", + "description": "Executes a search query" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search Schema", + "operation": "Get Search Schema", + "description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Get datasources under a workspace.", + "description": "Get datasources under a workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Create/Update datasources under a workspace.", + "description": "Create/Update datasources under a workspace." + } + }, + {}, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Get Notification Settings", + "description": "Get the user's notification settings for the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Put Notification Settings", + "description": "Set the user's notification settings for the workspace." + } + }, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Configuration Scope", + "operation": "Delete Configuration Scope", + "description": "Delete Configuration Scope" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Get linked services under given workspace.", + "description": "Get linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Create/Update linked services under given workspace.", + "description": "Create/Update linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Delete linked services under given workspace.", + "description": "Delete linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "List Intelligence Packs", + "description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Enable Intelligence Pack", + "description": "Enables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Disable Intelligence Pack", + "description": "Disables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/purge/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Delete specified data from workspace", + "description": "Delete specified data from workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/linkTargets/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Unlinked Account", + "operation": "List Unlinked Accounts", + "description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Metric Definitions", + "operation": "Metric Definition operation", + "description": "Get Metric Definitions under workspace" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Average_% Free Inodes", + "displayName": "Average_% Free Inodes", + "displayDescription": "Average_% Free Inodes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Free Space", + "displayName": "Average_% Free Space", + "displayDescription": "Average_% Free Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Inodes", + "displayName": "Average_% Used Inodes", + "displayDescription": "Average_% Used Inodes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Space", + "displayName": "Average_% Used Space", + "displayDescription": "Average_% Used Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Read Bytes/sec", + "displayName": "Average_Disk Read Bytes/sec", + "displayDescription": "Average_Disk Read Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Reads/sec", + "displayName": "Average_Disk Reads/sec", + "displayDescription": "Average_Disk Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Transfers/sec", + "displayName": "Average_Disk Transfers/sec", + "displayDescription": "Average_Disk Transfers/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Write Bytes/sec", + "displayName": "Average_Disk Write Bytes/sec", + "displayDescription": "Average_Disk Write Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Writes/sec", + "displayName": "Average_Disk Writes/sec", + "displayDescription": "Average_Disk Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Megabytes", + "displayName": "Average_Free Megabytes", + "displayDescription": "Average_Free Megabytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Logical Disk Bytes/sec", + "displayName": "Average_Logical Disk Bytes/sec", + "displayDescription": "Average_Logical Disk Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Available Memory", + "displayName": "Average_% Available Memory", + "displayDescription": "Average_% Available Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Available Swap Space", + "displayName": "Average_% Available Swap Space", + "displayDescription": "Average_% Available Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Memory", + "displayName": "Average_% Used Memory", + "displayDescription": "Average_% Used Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Used Swap Space", + "displayName": "Average_% Used Swap Space", + "displayDescription": "Average_% Used Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes Memory", + "displayName": "Average_Available MBytes Memory", + "displayDescription": "Average_Available MBytes Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes Swap", + "displayName": "Average_Available MBytes Swap", + "displayDescription": "Average_Available MBytes Swap", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Page Reads/sec", + "displayName": "Average_Page Reads/sec", + "displayDescription": "Average_Page Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Page Writes/sec", + "displayName": "Average_Page Writes/sec", + "displayDescription": "Average_Page Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pages/sec", + "displayName": "Average_Pages/sec", + "displayDescription": "Average_Pages/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used MBytes Swap Space", + "displayName": "Average_Used MBytes Swap Space", + "displayDescription": "Average_Used MBytes Swap Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used Memory MBytes", + "displayName": "Average_Used Memory MBytes", + "displayDescription": "Average_Used Memory MBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes Transmitted", + "displayName": "Average_Total Bytes Transmitted", + "displayDescription": "Average_Total Bytes Transmitted", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes Received", + "displayName": "Average_Total Bytes Received", + "displayDescription": "Average_Total Bytes Received", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Bytes", + "displayName": "Average_Total Bytes", + "displayDescription": "Average_Total Bytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Packets Transmitted", + "displayName": "Average_Total Packets Transmitted", + "displayDescription": "Average_Total Packets Transmitted", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Packets Received", + "displayName": "Average_Total Packets Received", + "displayDescription": "Average_Total Packets Received", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Rx Errors", + "displayName": "Average_Total Rx Errors", + "displayDescription": "Average_Total Rx Errors", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Tx Errors", + "displayName": "Average_Total Tx Errors", + "displayDescription": "Average_Total Tx Errors", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Total Collisions", + "displayName": "Average_Total Collisions", + "displayDescription": "Average_Total Collisions", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Read", + "displayName": "Average_Avg. Disk sec/Read", + "displayDescription": "Average_Avg. Disk sec/Read", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Transfer", + "displayName": "Average_Avg. Disk sec/Transfer", + "displayDescription": "Average_Avg. Disk sec/Transfer", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Avg. Disk sec/Write", + "displayName": "Average_Avg. Disk sec/Write", + "displayDescription": "Average_Avg. Disk sec/Write", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Physical Disk Bytes/sec", + "displayName": "Average_Physical Disk Bytes/sec", + "displayDescription": "Average_Physical Disk Bytes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pct Privileged Time", + "displayName": "Average_Pct Privileged Time", + "displayDescription": "Average_Pct Privileged Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Pct User Time", + "displayName": "Average_Pct User Time", + "displayDescription": "Average_Pct User Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Used Memory kBytes", + "displayName": "Average_Used Memory kBytes", + "displayDescription": "Average_Used Memory kBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Virtual Shared Memory", + "displayName": "Average_Virtual Shared Memory", + "displayDescription": "Average_Virtual Shared Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% DPC Time", + "displayName": "Average_% DPC Time", + "displayDescription": "Average_% DPC Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Idle Time", + "displayName": "Average_% Idle Time", + "displayDescription": "Average_% Idle Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Interrupt Time", + "displayName": "Average_% Interrupt Time", + "displayDescription": "Average_% Interrupt Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% IO Wait Time", + "displayName": "Average_% IO Wait Time", + "displayDescription": "Average_% IO Wait Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Nice Time", + "displayName": "Average_% Nice Time", + "displayDescription": "Average_% Nice Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Privileged Time", + "displayName": "Average_% Privileged Time", + "displayDescription": "Average_% Privileged Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Processor Time", + "displayName": "Average_% Processor Time", + "displayDescription": "Average_% Processor Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% User Time", + "displayName": "Average_% User Time", + "displayDescription": "Average_% User Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Physical Memory", + "displayName": "Average_Free Physical Memory", + "displayDescription": "Average_Free Physical Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Space in Paging Files", + "displayName": "Average_Free Space in Paging Files", + "displayDescription": "Average_Free Space in Paging Files", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Virtual Memory", + "displayName": "Average_Free Virtual Memory", + "displayDescription": "Average_Free Virtual Memory", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Processes", + "displayName": "Average_Processes", + "displayDescription": "Average_Processes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Size Stored In Paging Files", + "displayName": "Average_Size Stored In Paging Files", + "displayDescription": "Average_Size Stored In Paging Files", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + {}, + {}, + {}, + {}, + { + "name": "Average_Current Disk Queue Length", + "displayName": "Average_Current Disk Queue Length", + "displayDescription": "Average_Current Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Reads/sec", + "displayName": "Average_Disk Reads/sec", + "displayDescription": "Average_Disk Reads/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Transfers/sec", + "displayName": "Average_Disk Transfers/sec", + "displayDescription": "Average_Disk Transfers/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Disk Writes/sec", + "displayName": "Average_Disk Writes/sec", + "displayDescription": "Average_Disk Writes/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Free Megabytes", + "displayName": "Average_Free Megabytes", + "displayDescription": "Average_Free Megabytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Free Space", + "displayName": "Average_% Free Space", + "displayDescription": "Average_% Free Space", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Available MBytes", + "displayName": "Average_Available MBytes", + "displayDescription": "Average_Available MBytes", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Committed Bytes In Use", + "displayName": "Average_% Committed Bytes In Use", + "displayDescription": "Average_% Committed Bytes In Use", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Received/sec", + "displayName": "Average_Bytes Received/sec", + "displayDescription": "Average_Bytes Received/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Sent/sec", + "displayName": "Average_Bytes Sent/sec", + "displayDescription": "Average_Bytes Sent/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Bytes Total/sec", + "displayName": "Average_Bytes Total/sec", + "displayDescription": "Average_Bytes Total/sec", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_% Processor Time", + "displayName": "Average_% Processor Time", + "displayDescription": "Average_% Processor Time", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Average_Processor Queue Length", + "displayName": "Average_Processor Queue Length", + "displayDescription": "Average_Processor Queue Length", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "ObjectName", + "displayName": "ObjectName" + }, + { + "name": "InstanceName", + "displayName": "InstanceName" + }, + { + "name": "CounterPath", + "displayName": "CounterPath" + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem" + } + ] + }, + { + "name": "Heartbeat", + "displayName": "Heartbeat", + "displayDescription": "Heartbeat", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "OSType", + "displayName": "OSType" + }, + { + "name": "Version", + "displayName": "Version" + }, + { + "name": "SourceComputerId", + "displayName": "SourceComputerId" + } + ] + }, + { + "name": "Update", + "displayName": "Update", + "displayDescription": "Update", + "unit": "Count", + "aggregationType": "Average", + "dimensions": [ + { + "name": "Computer", + "displayName": "Computer" + }, + { + "name": "Product", + "displayName": "Product" + }, + { + "name": "Classification", + "displayName": "Classification" + }, + { + "name": "UpdateState", + "displayName": "UpdateState" + }, + { + "name": "Optional", + "displayName": "Optional" + }, + { + "name": "Approved", + "displayName": "Approved" + } + ] + } + ] + } + } + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetResults.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetResults.json index cc7d11060b3b..6b1e089a3160 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetResults.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetResults.json @@ -1,40 +1,38 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"atlantisdemo", - "savedSearchName":"test", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "savedSearchId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "id":"subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/atlantisdemo/search/06424b55-cd27-4d23-9c51-645d3370062c|2017-10-0223-15-30Z", - "metaData":{ - "resultType":"raw", - "total":0, - "requestId":"06424b55-cd27-4d23-9c51-645d3370062c|2017-10-0223-15-30Z", - "status":"Pending", - "coreSummaries":[ - { - "numberOfDocuments":0 - } - ], - "startTime":"2017-10-02T23:15:30.3363976Z", - "lastUpdated":"2017-10-02T23:15:30.3676472Z", - "eTag":"636425829303676472", - "sort":[ - { - "name":"TimeGenerated", - "order":"desc" - } - ] - }, - "value":[ - - ] - } + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "atlantisdemo", + "savedSearchName": "test", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "savedSearchId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/atlantisdemo/search/06424b55-cd27-4d23-9c51-645d3370062c|2017-10-0223-15-30Z", + "metaData": { + "resultType": "raw", + "total": 0, + "requestId": "06424b55-cd27-4d23-9c51-645d3370062c|2017-10-0223-15-30Z", + "status": "Pending", + "coreSummaries": [ + { + "numberOfDocuments": 0 + } + ], + "startTime": "2017-10-02T23:15:30.3363976Z", + "lastUpdated": "2017-10-02T23:15:30.3676472Z", + "eTag": "636425829303676472", + "sort": [ + { + "name": "TimeGenerated", + "order": "desc" + } + ] + }, + "value": [] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetSchema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetSchema.json index f9eec0099658..5fcb4830ff8d 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetSchema.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesGetSchema.json @@ -1,64 +1,64 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"atlantisdemo", - "api-version":"2015-03-02", - "parameters":{ - "top":25, - "query":"*" - }, - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "metadata":{ - "schema":{ - "name":"CloudOps", - "version":2 - }, - "resultType":"schema", - "requestTime":28 - }, - "value" : [ - { - "name":"TenantId", - "displayName":"TenantId", - "type":"Guid", - "indexed":true, - "stored":false, - "facet":false, - "ownerType":[ - "Alert", - "AzureActivity", - "AzureAudit", - "AzureMetrics", - "ComputerGroup", - "ETWEvent", - "Event", - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen", - "Heartbeat", - "Operation", - "Perf", - "ReservedAzureCommonFields", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ] - } - ] - } + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "atlantisdemo", + "api-version": "2015-03-02", + "parameters": { + "top": 25, + "query": "*" + }, + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "metadata": { + "schema": { + "name": "CloudOps", + "version": 2 + }, + "resultType": "schema", + "requestTime": 28 + }, + "value": [ + { + "name": "TenantId", + "displayName": "TenantId", + "type": "Guid", + "indexed": true, + "stored": false, + "facet": false, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureAudit", + "AzureMetrics", + "ComputerGroup", + "ETWEvent", + "Event", + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen", + "Heartbeat", + "Operation", + "Perf", + "ReservedAzureCommonFields", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ] + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesListByWorkspace.json index aa101d7deb17..3cb8b4da4ec2 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesListByWorkspace.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/SavedSearchesListByWorkspace.json @@ -1,30 +1,30 @@ { - "parameters":{ - "resourceGroupName":"TestRG", - "workspaceName":"TestWS", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "id":"subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "eTag":"W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties":{ - "Category":" Saved Search Test Category", - "DisplayName":"Create or Update Saved Search Test", - "Query":"* | measure Count() by Computer", - "Tags":[ - { - "Name":"Group", - "Value":"Computer" - } - ], - "Version":1 - } - } - ] - } - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "eTag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "Category": " Saved Search Test Category", + "DisplayName": "Create or Update Saved Search Test", + "Query": "* | measure Count() by Computer", + "Tags": [ + { + "Name": "Group", + "Value": "Computer" + } + ], + "Version": 1 + } + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsCreateOrUpdate.json index ceb5561cde34..bfc3beb8c2cc 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsCreateOrUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsCreateOrUpdate.json @@ -1,72 +1,72 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "storageInsightName":"AzTestSI1110", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "parameters":{ - "properties":{ - "containers":[ - "wad-iis-logfiles" - ], - "tables":[ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key":"1234" - } - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "parameters": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "1234" + } } - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "containers":[ - "wad-iis-logfiles" - ], - "tables":[ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "Storage Key" - }, - "status":{ - "state":"OK" - } - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name":"AzTestSI1110", - "type":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } - }, - "201":{ - "body":{ - "properties":{ - "containers":[ - "wad-iis-logfiles" - ], - "tables":[ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "Storage Key" - }, - "status":{ - "state":"OK" - } - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name":"AzTestSI1110", - "type":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" } + }, + "201": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsDelete.json index 5c55f8d01f81..eacdf0e8d79e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsDelete.json @@ -1,15 +1,13 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "storageInsightName":"AzTestSI1110", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - }, - "204":{ - } - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsGet.json index 07a513231ba0..2069e5719526 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsGet.json @@ -1,34 +1,34 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "storageInsightName":"AzTestSI1110", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "containers":[ - "wad-iis-logfiles" - ], - "tables":[ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key":"Storage Account Key" - }, - "status":{ - "state":"OK" - } - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name":"AzTestSI1110", - "type":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Account Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsListByWorkspace.json index b16445c6d0e3..18faa9e19ec7 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsListByWorkspace.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/StorageInsightsListByWorkspace.json @@ -1,34 +1,34 @@ { - "parameters":{ - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "properties":{ - "containers":[ - "wad-iis-logfiles" - ], - "tables":[ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount":{ - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945" - }, - "status":{ - "state":"OK" - } - }, - "id":"/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name":"AzTestSI1110", - "type":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945" + }, + "status": { + "state": "OK" } - ] - } - } -} \ No newline at end of file + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesDeleteSavedSearches.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesDeleteSavedSearches.json index 0e727fb2d4f3..dc829557513e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesDeleteSavedSearches.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesDeleteSavedSearches.json @@ -1,13 +1,13 @@ { - "parameters":{ - "resourceGroupName":"TestRG", - "workspaceName":"TestWS", - "savedSearchName":"SavedSearchName", - "api-version":"2015-03-02", - "savedSearchId":"00000000-0000-0000-0000-00000000000", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{} - } -} \ No newline at end of file + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "api-version": "2015-03-02", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGatewaysDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGatewaysDelete.json index 340a389ea117..b6811a472e63 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGatewaysDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGatewaysDelete.json @@ -1,13 +1,12 @@ { - "parameters":{ - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "gatewayId":"00000000-0000-0000-0000-00000000000", - "api-version":"2015-03-02" - }, - "responses":{ - "200":{ - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "gatewayId": "00000000-0000-0000-0000-00000000000", + "api-version": "2015-03-02" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGetSearchResults.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGetSearchResults.json index 5b177ca02b8d..41810053ee85 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGetSearchResults.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesGetSearchResults.json @@ -1,4920 +1,4918 @@ { - "parameters":{ - "resourceGroupName":"mms-eus", - "workspaceName":"atlantisdemo", - "api-version":"2015-03-02", - "parameters":{ - "top":25, - "query":"*" - }, - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "metaData":{ - "schema":{ - "name":"CloudOps", - "version":2 - }, - "resultType":"schema", - "requestTime":28 - }, - "value":[ - { - "name":"TenantId", - "displayName":"TenantId", - "type":"Guid", - "indexed":true, - "stored":false, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "Alert", - "AzureActivity", - "AzureAudit", - "AzureMetrics", - "ComputerGroup", - "ETWEvent", - "Event", - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen", - "Heartbeat", - "Operation", - "Perf", - "ReservedAzureCommonFields", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"MG", - "displayName":"MG", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "Alert", - "Event", - "Heartbeat", - "Operation", - "Perf", - "Syslog", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceSystem", - "displayName":"SourceSystem", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert", - "AzureActivity", - "AzureAudit", - "AzureMetrics", - "ComputerGroup", - "ETWEvent", - "Event", - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen", - "Heartbeat", - "Operation", - "Perf", - "ReservedAzureCommonFields", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ], - "extraction":null, - "common":true - }, - { - "name":"Description", - "displayName":"Description", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeGenerated", - "displayName":"TimeGenerated", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Alert", - "AzureActivity", - "AzureAudit", - "AzureMetrics", - "ComputerGroup", - "ETWEvent", - "Event", - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen", - "Heartbeat", - "Operation", - "Perf", - "ReservedAzureCommonFields", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Computer", - "displayName":"Computer", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert", - "ComputerGroup", - "ETWEvent", - "Event", - "Heartbeat", - "Operation", - "Perf", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ], - "extraction":null, - "common":true - }, - { - "name":"HelpLink", - "displayName":"HelpLink", - "type":"Uri", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertName", - "displayName":"AlertName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertDescription", - "displayName":"AlertDescription", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertState", - "displayName":"AlertState", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"PriorityNumber", - "displayName":"PriorityNumber", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"HostName", - "displayName":"HostName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert", - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"StateType", - "displayName":"StateType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertSeverity", - "displayName":"AlertSeverity", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceDisplayName", - "displayName":"SourceDisplayName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"QueryExecutionStartTime", - "displayName":"QueryExecutionStartTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"QueryExecutionEndTime", - "displayName":"QueryExecutionEndTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Query", - "displayName":"Query", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"RemediationJobId", - "displayName":"RemediationJobId", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"RemediationRunbookName", - "displayName":"RemediationRunbookName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertRuleId", - "displayName":"AlertRuleId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertRuleInstanceId", - "displayName":"AlertRuleInstanceId", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ThresholdOperator", - "displayName":"ThresholdOperator", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ThresholdValue", - "displayName":"ThresholdValue", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"LinkToSearchResults", - "displayName":"LinkToSearchResults", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ServiceDeskConnectionName", - "displayName":"ServiceDeskConnectionName", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ServiceDeskId", - "displayName":"ServiceDeskId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ServiceDeskWorkItemLink", - "displayName":"ServiceDeskWorkItemLink", - "type":"Uri", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ServiceDeskWorkItemType", - "displayName":"ServiceDeskWorkItemType", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ResourceId", - "displayName":"ResourceId", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert", - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResourceType", - "displayName":"ResourceType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResourceValue", - "displayName":"ResourceValue", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"RootObjectName", - "displayName":"RootObjectName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ObjectDisplayName", - "displayName":"ObjectDisplayName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertPriority", - "displayName":"AlertPriority", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceFullName", - "displayName":"SourceFullName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertId", - "displayName":"AlertId", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"RepeatCount", - "displayName":"RepeatCount", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ResolvedBy", - "displayName":"ResolvedBy", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"LastModifiedBy", - "displayName":"LastModifiedBy", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeRaised", - "displayName":"TimeRaised", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeResolved", - "displayName":"TimeResolved", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeLastModified", - "displayName":"TimeLastModified", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertContext", - "displayName":"AlertContext", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TicketId", - "displayName":"TicketId", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom1", - "displayName":"Custom1", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom2", - "displayName":"Custom2", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom3", - "displayName":"Custom3", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom4", - "displayName":"Custom4", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom5", - "displayName":"Custom5", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom6", - "displayName":"Custom6", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom7", - "displayName":"Custom7", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom8", - "displayName":"Custom8", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom9", - "displayName":"Custom9", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Custom10", - "displayName":"Custom10", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ManagementGroupName", - "displayName":"ManagementGroupName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert", - "Event", - "Heartbeat", - "Operation", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertUniqueId", - "displayName":"AlertUniqueId", - "type":"Guid", - "indexed":false, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertTypeDescription", - "displayName":"AlertTypeDescription", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertTypeNumber", - "displayName":"AlertTypeNumber", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertError", - "displayName":"AlertError", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"StatusDescription", - "displayName":"StatusDescription", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertStatus", - "displayName":"AlertStatus", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TriggerId", - "displayName":"TriggerId", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Url", - "displayName":"Url", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ValueDescription", - "displayName":"ValueDescription", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"AlertValue", - "displayName":"AlertValue", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Comments", - "displayName":"Comments", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"TemplateId", - "displayName":"TemplateId", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"FlagsDescription", - "displayName":"FlagsDescription", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Flags", - "displayName":"Flags", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ValueFlagsDescription", - "displayName":"ValueFlagsDescription", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ValueFlags", - "displayName":"ValueFlags", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"Expression", - "displayName":"Expression", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Alert" - ], - "extraction":null, - "common":false - }, - { - "name":"ApplicationName", - "displayName":"ApplicationName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationName", - "displayName":"OperationName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"Role", - "displayName":"Role", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "Event", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"RoleInstance", - "displayName":"RoleInstance", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csUserAgent", - "displayName":"csUserAgent", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"ApplicationTypeVersion", - "displayName":"ApplicationTypeVersion", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "ServiceFabricOperationalEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"sPort", - "displayName":"sPort", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"ResponseCode", - "displayName":"ResponseCode", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationVersion", - "displayName":"OperationVersion", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"Category", - "displayName":"Category", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResultType", - "displayName":"ResultType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResultSignature", - "displayName":"ResultSignature", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResultDescription", - "displayName":"ResultDescription", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"DurationMs", - "displayName":"DurationMs", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"CallerIpAddress", - "displayName":"CallerIpAddress", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"CorrelationId", - "displayName":"CorrelationId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Operation", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"Resource", - "displayName":"Resource", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResourceGroup", - "displayName":"ResourceGroup", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ResourceProvider", - "displayName":"ResourceProvider", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"SubscriptionId", - "displayName":"SubscriptionId", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureMetrics", - "Heartbeat", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"RunbookName_s", - "displayName":"RunbookName_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"JobId_g", - "displayName":"JobId_g", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Caller_s", - "displayName":"Caller_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"StreamType_s", - "displayName":"StreamType_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"RemoteIPCountry", - "displayName":"RemoteIPCountry", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "Heartbeat", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"RemoteIPLatitude", - "displayName":"RemoteIPLatitude", - "type":"Float", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "Heartbeat", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"RemoteIPLongitude", - "displayName":"RemoteIPLongitude", - "type":"Float", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "Heartbeat", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"MaliciousIP", - "displayName":"MaliciousIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"IndicatorThreatType", - "displayName":"IndicatorThreatType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"TLPLevel", - "displayName":"TLPLevel", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Confidence", - "displayName":"Confidence", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Severity", - "displayName":"Severity", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics", - "ReservedCommonFields", - "W3CIISLog" - ], - "extraction":null, - "common":true - }, - { - "name":"FirstReportedDateTime", - "displayName":"FirstReportedDateTime", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"LastReportedDateTime", - "displayName":"LastReportedDateTime", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"IsActive", - "displayName":"IsActive", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"ReportReferenceLink", - "displayName":"ReportReferenceLink", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"AdditionalInformation", - "displayName":"AdditionalInformation", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "AzureMetrics", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Level", - "displayName":"Level", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity", - "ETWEvent", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":true - }, - { - "name":"ActivityStatus", - "displayName":"ActivityStatus", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"ActivitySubstatus", - "displayName":"ActivitySubstatus", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"Caller", - "displayName":"Caller", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"HTTPRequest", - "displayName":"HTTPRequest", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"Properties", - "displayName":"Properties", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"EventSubmissionTimestamp", - "displayName":"EventSubmissionTimestamp", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"Authorization", - "displayName":"Authorization", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationId", - "displayName":"OperationId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "AzureActivity" - ], - "extraction":null, - "common":false - }, - { - "name":"EventDataId", - "displayName":"EventDataId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "AzureActivity", - "AzureAudit" - ], - "extraction":null, - "common":false - }, - { - "name":"MetricName", - "displayName":"MetricName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"Total", - "displayName":"Total", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"Count", - "displayName":"Count", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"Maximum", - "displayName":"Maximum", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"Minimum", - "displayName":"Minimum", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"AverageValue", - "displayName":"Average", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeGrain", - "displayName":"TimeGrain", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"UnitName", - "displayName":"UnitName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "AzureMetrics" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceIP", - "displayName":"SourceIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ProcessName", - "displayName":"ProcessName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"ProcessID", - "displayName":"ProcessID", - "type":"Int", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"FilePath", - "displayName":"FilePath", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ExtraHopFTPResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"Message", - "displayName":"Message", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "Event", - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"StartTime", - "displayName":"StartTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"EndTime", - "displayName":"EndTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"Version", - "displayName":"Version", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"Group", - "displayName":"Group", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ComputerGroup" - ], - "extraction":null, - "common":false - }, - { - "name":"GroupId", - "displayName":"GroupId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ComputerGroup" - ], - "extraction":null, - "common":false - }, - { - "name":"GroupSourceName", - "displayName":"GroupSourceName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ComputerGroup" - ], - "extraction":null, - "common":false - }, - { - "name":"GroupSource", - "displayName":"GroupSource", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ComputerGroup" - ], - "extraction":null, - "common":false - }, - { - "name":"GroupFullName", - "displayName":"GroupFullName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ComputerGroup" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceComputerId", - "displayName":"SourceComputerId", - "type":"Guid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Heartbeat", - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"EventId", - "displayName":"EventId", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"QueryType", - "displayName":"QueryType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDNSResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"PartitionKey", - "displayName":"PartitionKey", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ProviderGuid", - "displayName":"ProviderGuid", - "type":"Guid", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"EventSourceName", - "displayName":"EventSourceName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"Pid", - "displayName":"Pid", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"Tid", - "displayName":"Tid", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"OpcodeName", - "displayName":"OpcodeName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"KeywordName", - "displayName":"KeywordName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"TaskName", - "displayName":"TaskName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ChannelName", - "displayName":"ChannelName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"RowKey", - "displayName":"RowKey", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"AzureDeploymentID", - "displayName":"AzureDeploymentID", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "Event", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"EventMessage", - "displayName":"EventMessage", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ETWEvent", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"Source", - "displayName":"Source", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventLog", - "displayName":"EventLog", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventCategory", - "displayName":"EventCategory", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventLevel", - "displayName":"EventLevel", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventLevelName", - "displayName":"EventLevelName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"UserName", - "displayName":"UserName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"ParameterXml", - "displayName":"ParameterXml", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventData", - "displayName":"EventData", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"EventID", - "displayName":"EventID", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"RenderedDescription", - "displayName":"RenderedDescription", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Event" - ], - "extraction":null, - "common":false - }, - { - "name":"SourceLocation", - "displayName":"SourceLocation", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen" - ], - "extraction":null, - "common":false - }, - { - "name":"DestinationAddress", - "displayName":"DestinationAddress", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopTCPOpen" - ], - "extraction":null, - "common":false - }, - { - "name":"User", - "displayName":"User", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopFTPResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"Method", - "displayName":"Method", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"DestinationPortNumber", - "displayName":"DestinationPortNumber", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction", - "ExtraHopTCPOpen" - ], - "extraction":null, - "common":false - }, - { - "name":"SourcePortNumber", - "displayName":"SourcePortNumber", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction", - "ExtraHopTCPOpen" - ], - "extraction":null, - "common":false - }, - { - "name":"Duration_ms", - "displayName":"Duration_ms", - "type":"Double", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"ResponseTTLB_ms", - "displayName":"ResponseTTLB_ms", - "type":"Double", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"HOPName", - "displayName":"HOPName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"QueryString", - "displayName":"QueryString", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopDNSResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"DBErrorCode", - "displayName":"DBErrorCode", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"DataCenter", - "displayName":"DataCenter", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDBTransaction", - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"QueryResult", - "displayName":"QueryResult", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopDNSResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"StatusCode", - "displayName":"StatusCode", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopFTPResponse" - ], - "extraction":null, - "common":false - }, - { - "name":"URIString", - "displayName":"URIString", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopHTTPTransaction" - ], - "extraction":null, - "common":false - }, - { - "name":"Recipient", - "displayName":"Recipient", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopSMTPMessage" - ], - "extraction":null, - "common":false - }, - { - "name":"SenderName", - "displayName":"SenderName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopSMTPMessage" - ], - "extraction":null, - "common":false - }, - { - "name":"AttachmentFileSize", - "displayName":"AttachmentFileSize", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopSMTPMessage" - ], - "extraction":null, - "common":false - }, - { - "name":"SYNSENT_NEWCONNESTAB", - "displayName":"SYNSENT_NEWCONNESTAB", - "type":"Float", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopSYNScanDetect" - ], - "extraction":null, - "common":false - }, - { - "name":"PeerListSize", - "displayName":"PeerListSize", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ExtraHopSYNScanDetect" - ], - "extraction":null, - "common":false - }, - { - "name":"ComputerIP", - "displayName":"ComputerIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"OSType", - "displayName":"OSType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"OSName", - "displayName":"OSName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"OSMajorVersion", - "displayName":"OSMajorVersion", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"OSMinorVersion", - "displayName":"OSMinorVersion", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"SCAgentChannel", - "displayName":"SCAgentChannel", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"IsGatewayInstalled", - "displayName":"IsGatewayInstalled", - "type":"Bool", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"ComputerEnvironment", - "displayName":"ComputerEnvironment", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"Solutions", - "displayName":"Solutions", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Heartbeat" - ], - "extraction":null, - "common":false - }, - { - "name":"ClientInfo_s", - "displayName":"ClientInfo_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"RequestUri_s", - "displayName":"RequestUri_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Id_s", - "displayName":"Id_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"HttpStatusCode_d", - "displayName":"HttpStatusCode_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"InstanceId_s", - "displayName":"InstanceId_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"ClientIP_s", - "displayName":"ClientIP_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"ClientPort_d", - "displayName":"ClientPort_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"HttpMethod_s", - "displayName":"HttpMethod_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"RequestQuery_s", - "displayName":"RequestQuery_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"UserAgent_s", - "displayName":"UserAgent_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"HttpStatus_d", - "displayName":"HttpStatus_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"HttpVersion_s", - "displayName":"HttpVersion_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"ReceivedBytes_d", - "displayName":"ReceivedBytes_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"SentBytes_d", - "displayName":"SentBytes_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeTaken_d", - "displayName":"TimeTaken_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"SslEnabled_s", - "displayName":"SslEnabled_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"HealthyHostCount_d", - "displayName":"HealthyHostCount_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"UnHealthyHostCount_d", - "displayName":"UnHealthyHostCount_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"RequestCount_d", - "displayName":"RequestCount_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Latency_d", - "displayName":"Latency_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"FailedRequestCount_d", - "displayName":"FailedRequestCount_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Throughput_d", - "displayName":"Throughput_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"VnetResourceGuid_s", - "displayName":"VnetResourceGuid_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"SubnetPrefix_s", - "displayName":"SubnetPrefix_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"MacAddress_s", - "displayName":"MacAddress_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"RuleName_s", - "displayName":"RuleName_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Direction_s", - "displayName":"Direction_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Priority_d", - "displayName":"Priority_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"Type_s", - "displayName":"Type_s", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"MatchedConnections_d", - "displayName":"MatchedConnections_d", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedAzureCommonFields" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationStatus", - "displayName":"OperationStatus", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"Detail", - "displayName":"Detail", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationCategory", - "displayName":"OperationCategory", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"Solution", - "displayName":"Solution", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Operation", - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"OperationKey", - "displayName":"OperationKey", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"ErrorId", - "displayName":"ErrorId", - "type":"String", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Operation" - ], - "extraction":null, - "common":false - }, - { - "name":"ObjectName", - "displayName":"ObjectName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"CounterName", - "displayName":"CounterName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"InstanceName", - "displayName":"InstanceName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"Average", - "displayName":"CounterValue", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"CounterPath", - "displayName":"CounterPath", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"Min", - "displayName":"Min", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"Max", - "displayName":"Max", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"SampleCount", - "displayName":"SampleCount", - "type":"Int", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"BucketStartTime", - "displayName":"BucketStartTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"BucketEndTime", - "displayName":"BucketEndTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"StandardDeviation", - "displayName":"StandardDeviation", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Perf" - ], - "extraction":null, - "common":false - }, - { - "name":"IPAddress", - "displayName":"IPAddress", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"CallerIPAddress", - "displayName":"CallerIPAddress", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ReservedCommonFields" - ], - "extraction":null, - "common":true - }, - { - "name":"ServiceName", - "displayName":"ServiceName", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"StorageAccount", - "displayName":"StorageAccount", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"ApplicationTypeName", - "displayName":"ApplicationTypeName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"UpgradeDomains", - "displayName":"UpgradeDomains", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricOperationalEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ServiceTypeName", - "displayName":"ServiceTypeName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"PartitionId", - "displayName":"PartitionId", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ActorType", - "displayName":"ActorType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ActorId", - "displayName":"ActorId", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ActorIdKind", - "displayName":"ActorIdKind", - "type":"Int", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"IsStateful", - "displayName":"IsStateful", - "type":"Bool", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ReplicaOrInstanceId", - "displayName":"ReplicaOrInstanceId", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"NodeName", - "displayName":"NodeName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"NodeId", - "displayName":"NodeId", - "type":"Guid", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"CountOfWaitingMethodCalls", - "displayName":"CountOfWaitingMethodCalls", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"MethodName", - "displayName":"MethodName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"MethodSignature", - "displayName":"MethodSignature", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"MethodExecutionTimeTicks", - "displayName":"MethodExecutionTimeTicks", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"Exception", - "displayName":"Exception", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"SaveStateExecutionTimeTicks", - "displayName":"SaveStateExecutionTimeTicks", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ReplicaId", - "displayName":"ReplicaId", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"SlowCancellationTimeMillis", - "displayName":"SlowCancellationTimeMillis", - "type":"Double", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"WasCanceled", - "displayName":"WasCanceled", - "type":"Bool", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"ActualCancellationTimeMillis", - "displayName":"ActualCancellationTimeMillis", - "type":"Double", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"InstanceId", - "displayName":"InstanceId", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "ServiceFabricReliableServiceEvent" - ], - "extraction":null, - "common":false - }, - { - "name":"EventTime", - "displayName":"EventTime", - "type":"DateTime", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"Facility", - "displayName":"Facility", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"SeverityLevel", - "displayName":"SeverityLevel", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"SyslogMessage", - "displayName":"SyslogMessage", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"HostIP", - "displayName":"HostIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "Syslog" - ], - "extraction":null, - "common":false - }, - { - "name":"ResourceUri", - "displayName":"ResourceUri", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"LinkedResourceUri", - "displayName":"LinkedResourceUri", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"DataType", - "displayName":"DataType", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"BatchesWithinSla", - "displayName":"BatchesWithinSla", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"BatchesOutsideSla", - "displayName":"BatchesOutsideSla", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"BatchesCapped", - "displayName":"BatchesCapped", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"TotalBatches", - "displayName":"TotalBatches", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"AvgLatencyInSeconds", - "displayName":"AvgLatencyInSeconds", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"Quantity", - "displayName":"Quantity", - "type":"Double", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"QuantityUnit", - "displayName":"QuantityUnit", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"IsBillable", - "displayName":"IsBillable", - "type":"Bool", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"MeterId", - "displayName":"MeterId", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"LinkedMeterId", - "displayName":"LinkedMeterId", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "Usage" - ], - "extraction":null, - "common":false - }, - { - "name":"FileUri", - "displayName":"FileUri", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"FileOffset", - "displayName":"FileOffset", - "type":"Int", - "indexed":false, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Date", - "displayName":"Date", - "type":"String", - "indexed":false, - "stored":false, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Time", - "displayName":"Time", - "type":"String", - "indexed":false, - "stored":false, - "facet":false, - "hidden":true, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"sSiteName", - "displayName":"sSiteName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"sComputerName", - "displayName":"sComputerName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":true, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"sIP", - "displayName":"sIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csMethod", - "displayName":"csMethod", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csUriStem", - "displayName":"csUriStem", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csUriQuery", - "displayName":"csUriQuery", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csUserName", - "displayName":"csUserName", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"cIP", - "displayName":"cIP", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csVersion", - "displayName":"csVersion", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csCookie", - "displayName":"csCookie", - "type":"String", - "indexed":false, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csReferer", - "displayName":"csReferer", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csHost", - "displayName":"csHost", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"scStatus", - "displayName":"scStatus", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"scSubStatus", - "displayName":"scSubStatus", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"scWin32Status", - "displayName":"scWin32Status", - "type":"String", - "indexed":true, - "stored":true, - "facet":true, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"scBytes", - "displayName":"scBytes", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"csBytes", - "displayName":"csBytes", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":false, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"TimeTaken", - "displayName":"TimeTaken", - "type":"BigInt", - "indexed":true, - "stored":true, - "facet":false, - "hidden":false, - "display":true, - "ownerType":[ - "W3CIISLog" - ], - "extraction":null, - "common":false - }, - { - "name":"Type", - "displayName":"Type", - "type":"string", - "indexed":true, - "stored":true, - "facet":true, - "hidden":true, - "display":true, - "ownerType":null, - "extraction":null, - "common":false - }, - { - "name":"id", - "displayName":null, - "type":"uuid", - "indexed":true, - "stored":true, - "facet":false, - "hidden":true, - "display":false, - "ownerType":null, - "extraction":null, - "common":false - } - ] - } - }, - "202":{ - + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "atlantisdemo", + "api-version": "2015-03-02", + "parameters": { + "top": 25, + "query": "*" + }, + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "metaData": { + "schema": { + "name": "CloudOps", + "version": 2 + }, + "resultType": "schema", + "requestTime": 28 + }, + "value": [ + { + "name": "TenantId", + "displayName": "TenantId", + "type": "Guid", + "indexed": true, + "stored": false, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureAudit", + "AzureMetrics", + "ComputerGroup", + "ETWEvent", + "Event", + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen", + "Heartbeat", + "Operation", + "Perf", + "ReservedAzureCommonFields", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "MG", + "displayName": "MG", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "Alert", + "Event", + "Heartbeat", + "Operation", + "Perf", + "Syslog", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceSystem", + "displayName": "SourceSystem", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureAudit", + "AzureMetrics", + "ComputerGroup", + "ETWEvent", + "Event", + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen", + "Heartbeat", + "Operation", + "Perf", + "ReservedAzureCommonFields", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ], + "extraction": null, + "common": true + }, + { + "name": "Description", + "displayName": "Description", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeGenerated", + "displayName": "TimeGenerated", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureAudit", + "AzureMetrics", + "ComputerGroup", + "ETWEvent", + "Event", + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen", + "Heartbeat", + "Operation", + "Perf", + "ReservedAzureCommonFields", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Computer", + "displayName": "Computer", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert", + "ComputerGroup", + "ETWEvent", + "Event", + "Heartbeat", + "Operation", + "Perf", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ], + "extraction": null, + "common": true + }, + { + "name": "HelpLink", + "displayName": "HelpLink", + "type": "Uri", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertName", + "displayName": "AlertName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertDescription", + "displayName": "AlertDescription", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertState", + "displayName": "AlertState", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "PriorityNumber", + "displayName": "PriorityNumber", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "HostName", + "displayName": "HostName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert", + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "StateType", + "displayName": "StateType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertSeverity", + "displayName": "AlertSeverity", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceDisplayName", + "displayName": "SourceDisplayName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "QueryExecutionStartTime", + "displayName": "QueryExecutionStartTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "QueryExecutionEndTime", + "displayName": "QueryExecutionEndTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Query", + "displayName": "Query", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "RemediationJobId", + "displayName": "RemediationJobId", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "RemediationRunbookName", + "displayName": "RemediationRunbookName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertRuleId", + "displayName": "AlertRuleId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertRuleInstanceId", + "displayName": "AlertRuleInstanceId", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ThresholdOperator", + "displayName": "ThresholdOperator", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ThresholdValue", + "displayName": "ThresholdValue", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "LinkToSearchResults", + "displayName": "LinkToSearchResults", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ServiceDeskConnectionName", + "displayName": "ServiceDeskConnectionName", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ServiceDeskId", + "displayName": "ServiceDeskId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ServiceDeskWorkItemLink", + "displayName": "ServiceDeskWorkItemLink", + "type": "Uri", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ServiceDeskWorkItemType", + "displayName": "ServiceDeskWorkItemType", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ResourceId", + "displayName": "ResourceId", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResourceType", + "displayName": "ResourceType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResourceValue", + "displayName": "ResourceValue", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "RootObjectName", + "displayName": "RootObjectName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ObjectDisplayName", + "displayName": "ObjectDisplayName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertPriority", + "displayName": "AlertPriority", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceFullName", + "displayName": "SourceFullName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertId", + "displayName": "AlertId", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "RepeatCount", + "displayName": "RepeatCount", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ResolvedBy", + "displayName": "ResolvedBy", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "LastModifiedBy", + "displayName": "LastModifiedBy", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeRaised", + "displayName": "TimeRaised", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeResolved", + "displayName": "TimeResolved", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeLastModified", + "displayName": "TimeLastModified", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertContext", + "displayName": "AlertContext", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TicketId", + "displayName": "TicketId", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom1", + "displayName": "Custom1", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom2", + "displayName": "Custom2", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom3", + "displayName": "Custom3", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom4", + "displayName": "Custom4", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom5", + "displayName": "Custom5", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom6", + "displayName": "Custom6", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom7", + "displayName": "Custom7", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom8", + "displayName": "Custom8", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom9", + "displayName": "Custom9", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Custom10", + "displayName": "Custom10", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ManagementGroupName", + "displayName": "ManagementGroupName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert", + "Event", + "Heartbeat", + "Operation", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertUniqueId", + "displayName": "AlertUniqueId", + "type": "Guid", + "indexed": false, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertTypeDescription", + "displayName": "AlertTypeDescription", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertTypeNumber", + "displayName": "AlertTypeNumber", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertError", + "displayName": "AlertError", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "StatusDescription", + "displayName": "StatusDescription", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertStatus", + "displayName": "AlertStatus", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TriggerId", + "displayName": "TriggerId", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Url", + "displayName": "Url", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ValueDescription", + "displayName": "ValueDescription", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "AlertValue", + "displayName": "AlertValue", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Comments", + "displayName": "Comments", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "TemplateId", + "displayName": "TemplateId", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "FlagsDescription", + "displayName": "FlagsDescription", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Flags", + "displayName": "Flags", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ValueFlagsDescription", + "displayName": "ValueFlagsDescription", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ValueFlags", + "displayName": "ValueFlags", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "Expression", + "displayName": "Expression", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Alert" + ], + "extraction": null, + "common": false + }, + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationName", + "displayName": "OperationName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "Role", + "displayName": "Role", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "Event", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "RoleInstance", + "displayName": "RoleInstance", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csUserAgent", + "displayName": "csUserAgent", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "ApplicationTypeVersion", + "displayName": "ApplicationTypeVersion", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "ServiceFabricOperationalEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "sPort", + "displayName": "sPort", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "ResponseCode", + "displayName": "ResponseCode", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationVersion", + "displayName": "OperationVersion", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "Category", + "displayName": "Category", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResultType", + "displayName": "ResultType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResultSignature", + "displayName": "ResultSignature", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResultDescription", + "displayName": "ResultDescription", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "DurationMs", + "displayName": "DurationMs", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "CallerIpAddress", + "displayName": "CallerIpAddress", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "CorrelationId", + "displayName": "CorrelationId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Operation", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "Resource", + "displayName": "Resource", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResourceGroup", + "displayName": "ResourceGroup", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ResourceProvider", + "displayName": "ResourceProvider", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "SubscriptionId", + "displayName": "SubscriptionId", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureMetrics", + "Heartbeat", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "RunbookName_s", + "displayName": "RunbookName_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "JobId_g", + "displayName": "JobId_g", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Caller_s", + "displayName": "Caller_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "StreamType_s", + "displayName": "StreamType_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "RemoteIPCountry", + "displayName": "RemoteIPCountry", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "Heartbeat", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "RemoteIPLatitude", + "displayName": "RemoteIPLatitude", + "type": "Float", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "Heartbeat", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "RemoteIPLongitude", + "displayName": "RemoteIPLongitude", + "type": "Float", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "Heartbeat", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "MaliciousIP", + "displayName": "MaliciousIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "IndicatorThreatType", + "displayName": "IndicatorThreatType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "TLPLevel", + "displayName": "TLPLevel", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Confidence", + "displayName": "Confidence", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Severity", + "displayName": "Severity", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics", + "ReservedCommonFields", + "W3CIISLog" + ], + "extraction": null, + "common": true + }, + { + "name": "FirstReportedDateTime", + "displayName": "FirstReportedDateTime", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "LastReportedDateTime", + "displayName": "LastReportedDateTime", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "IsActive", + "displayName": "IsActive", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "ReportReferenceLink", + "displayName": "ReportReferenceLink", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "AdditionalInformation", + "displayName": "AdditionalInformation", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "AzureMetrics", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Level", + "displayName": "Level", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity", + "ETWEvent", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": true + }, + { + "name": "ActivityStatus", + "displayName": "ActivityStatus", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "ActivitySubstatus", + "displayName": "ActivitySubstatus", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "Caller", + "displayName": "Caller", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "HTTPRequest", + "displayName": "HTTPRequest", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "Properties", + "displayName": "Properties", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "EventSubmissionTimestamp", + "displayName": "EventSubmissionTimestamp", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "Authorization", + "displayName": "Authorization", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationId", + "displayName": "OperationId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "AzureActivity" + ], + "extraction": null, + "common": false + }, + { + "name": "EventDataId", + "displayName": "EventDataId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "AzureActivity", + "AzureAudit" + ], + "extraction": null, + "common": false + }, + { + "name": "MetricName", + "displayName": "MetricName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "Total", + "displayName": "Total", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "Count", + "displayName": "Count", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "Maximum", + "displayName": "Maximum", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "Minimum", + "displayName": "Minimum", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "AverageValue", + "displayName": "Average", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeGrain", + "displayName": "TimeGrain", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "UnitName", + "displayName": "UnitName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "AzureMetrics" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceIP", + "displayName": "SourceIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ProcessName", + "displayName": "ProcessName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "ProcessID", + "displayName": "ProcessID", + "type": "Int", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "FilePath", + "displayName": "FilePath", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ExtraHopFTPResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "Message", + "displayName": "Message", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "Event", + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "StartTime", + "displayName": "StartTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "EndTime", + "displayName": "EndTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "Version", + "displayName": "Version", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "Group", + "displayName": "Group", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ComputerGroup" + ], + "extraction": null, + "common": false + }, + { + "name": "GroupId", + "displayName": "GroupId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ComputerGroup" + ], + "extraction": null, + "common": false + }, + { + "name": "GroupSourceName", + "displayName": "GroupSourceName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ComputerGroup" + ], + "extraction": null, + "common": false + }, + { + "name": "GroupSource", + "displayName": "GroupSource", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ComputerGroup" + ], + "extraction": null, + "common": false + }, + { + "name": "GroupFullName", + "displayName": "GroupFullName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ComputerGroup" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceComputerId", + "displayName": "SourceComputerId", + "type": "Guid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Heartbeat", + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "EventId", + "displayName": "EventId", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "QueryType", + "displayName": "QueryType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDNSResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "PartitionKey", + "displayName": "PartitionKey", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ProviderGuid", + "displayName": "ProviderGuid", + "type": "Guid", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "EventSourceName", + "displayName": "EventSourceName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "Pid", + "displayName": "Pid", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "Tid", + "displayName": "Tid", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "OpcodeName", + "displayName": "OpcodeName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "KeywordName", + "displayName": "KeywordName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "TaskName", + "displayName": "TaskName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ChannelName", + "displayName": "ChannelName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "RowKey", + "displayName": "RowKey", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "AzureDeploymentID", + "displayName": "AzureDeploymentID", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "Event", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "EventMessage", + "displayName": "EventMessage", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ETWEvent", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "Source", + "displayName": "Source", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventLog", + "displayName": "EventLog", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventCategory", + "displayName": "EventCategory", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventLevel", + "displayName": "EventLevel", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventLevelName", + "displayName": "EventLevelName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "UserName", + "displayName": "UserName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "ParameterXml", + "displayName": "ParameterXml", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventData", + "displayName": "EventData", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "EventID", + "displayName": "EventID", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "RenderedDescription", + "displayName": "RenderedDescription", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Event" + ], + "extraction": null, + "common": false + }, + { + "name": "SourceLocation", + "displayName": "SourceLocation", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen" + ], + "extraction": null, + "common": false + }, + { + "name": "DestinationAddress", + "displayName": "DestinationAddress", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopTCPOpen" + ], + "extraction": null, + "common": false + }, + { + "name": "User", + "displayName": "User", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopFTPResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "Method", + "displayName": "Method", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "DestinationPortNumber", + "displayName": "DestinationPortNumber", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction", + "ExtraHopTCPOpen" + ], + "extraction": null, + "common": false + }, + { + "name": "SourcePortNumber", + "displayName": "SourcePortNumber", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction", + "ExtraHopTCPOpen" + ], + "extraction": null, + "common": false + }, + { + "name": "Duration_ms", + "displayName": "Duration_ms", + "type": "Double", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "ResponseTTLB_ms", + "displayName": "ResponseTTLB_ms", + "type": "Double", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "HOPName", + "displayName": "HOPName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "QueryString", + "displayName": "QueryString", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopDNSResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "DBErrorCode", + "displayName": "DBErrorCode", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "DataCenter", + "displayName": "DataCenter", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDBTransaction", + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "QueryResult", + "displayName": "QueryResult", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopDNSResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "StatusCode", + "displayName": "StatusCode", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopFTPResponse" + ], + "extraction": null, + "common": false + }, + { + "name": "URIString", + "displayName": "URIString", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopHTTPTransaction" + ], + "extraction": null, + "common": false + }, + { + "name": "Recipient", + "displayName": "Recipient", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopSMTPMessage" + ], + "extraction": null, + "common": false + }, + { + "name": "SenderName", + "displayName": "SenderName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopSMTPMessage" + ], + "extraction": null, + "common": false + }, + { + "name": "AttachmentFileSize", + "displayName": "AttachmentFileSize", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopSMTPMessage" + ], + "extraction": null, + "common": false + }, + { + "name": "SYNSENT_NEWCONNESTAB", + "displayName": "SYNSENT_NEWCONNESTAB", + "type": "Float", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopSYNScanDetect" + ], + "extraction": null, + "common": false + }, + { + "name": "PeerListSize", + "displayName": "PeerListSize", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ExtraHopSYNScanDetect" + ], + "extraction": null, + "common": false + }, + { + "name": "ComputerIP", + "displayName": "ComputerIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "OSType", + "displayName": "OSType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "OSName", + "displayName": "OSName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "OSMajorVersion", + "displayName": "OSMajorVersion", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "OSMinorVersion", + "displayName": "OSMinorVersion", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "SCAgentChannel", + "displayName": "SCAgentChannel", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "IsGatewayInstalled", + "displayName": "IsGatewayInstalled", + "type": "Bool", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "ComputerEnvironment", + "displayName": "ComputerEnvironment", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "Solutions", + "displayName": "Solutions", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Heartbeat" + ], + "extraction": null, + "common": false + }, + { + "name": "ClientInfo_s", + "displayName": "ClientInfo_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "RequestUri_s", + "displayName": "RequestUri_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Id_s", + "displayName": "Id_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "HttpStatusCode_d", + "displayName": "HttpStatusCode_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "InstanceId_s", + "displayName": "InstanceId_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "ClientIP_s", + "displayName": "ClientIP_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "ClientPort_d", + "displayName": "ClientPort_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "HttpMethod_s", + "displayName": "HttpMethod_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "RequestQuery_s", + "displayName": "RequestQuery_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "UserAgent_s", + "displayName": "UserAgent_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "HttpStatus_d", + "displayName": "HttpStatus_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "HttpVersion_s", + "displayName": "HttpVersion_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "ReceivedBytes_d", + "displayName": "ReceivedBytes_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "SentBytes_d", + "displayName": "SentBytes_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeTaken_d", + "displayName": "TimeTaken_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "SslEnabled_s", + "displayName": "SslEnabled_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "HealthyHostCount_d", + "displayName": "HealthyHostCount_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "UnHealthyHostCount_d", + "displayName": "UnHealthyHostCount_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "RequestCount_d", + "displayName": "RequestCount_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Latency_d", + "displayName": "Latency_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "FailedRequestCount_d", + "displayName": "FailedRequestCount_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Throughput_d", + "displayName": "Throughput_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "VnetResourceGuid_s", + "displayName": "VnetResourceGuid_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "SubnetPrefix_s", + "displayName": "SubnetPrefix_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "MacAddress_s", + "displayName": "MacAddress_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "RuleName_s", + "displayName": "RuleName_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Direction_s", + "displayName": "Direction_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Priority_d", + "displayName": "Priority_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "Type_s", + "displayName": "Type_s", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "MatchedConnections_d", + "displayName": "MatchedConnections_d", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedAzureCommonFields" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationStatus", + "displayName": "OperationStatus", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "Detail", + "displayName": "Detail", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationCategory", + "displayName": "OperationCategory", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "Solution", + "displayName": "Solution", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Operation", + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "OperationKey", + "displayName": "OperationKey", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "ErrorId", + "displayName": "ErrorId", + "type": "String", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Operation" + ], + "extraction": null, + "common": false + }, + { + "name": "ObjectName", + "displayName": "ObjectName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "CounterName", + "displayName": "CounterName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "InstanceName", + "displayName": "InstanceName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "Average", + "displayName": "CounterValue", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "CounterPath", + "displayName": "CounterPath", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "Min", + "displayName": "Min", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "Max", + "displayName": "Max", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "SampleCount", + "displayName": "SampleCount", + "type": "Int", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "BucketStartTime", + "displayName": "BucketStartTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "BucketEndTime", + "displayName": "BucketEndTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "StandardDeviation", + "displayName": "StandardDeviation", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Perf" + ], + "extraction": null, + "common": false + }, + { + "name": "IPAddress", + "displayName": "IPAddress", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "CallerIPAddress", + "displayName": "CallerIPAddress", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ReservedCommonFields" + ], + "extraction": null, + "common": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "StorageAccount", + "displayName": "StorageAccount", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "ApplicationTypeName", + "displayName": "ApplicationTypeName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "UpgradeDomains", + "displayName": "UpgradeDomains", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricOperationalEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ServiceTypeName", + "displayName": "ServiceTypeName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "PartitionId", + "displayName": "PartitionId", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ActorType", + "displayName": "ActorType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ActorId", + "displayName": "ActorId", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ActorIdKind", + "displayName": "ActorIdKind", + "type": "Int", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "IsStateful", + "displayName": "IsStateful", + "type": "Bool", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ReplicaOrInstanceId", + "displayName": "ReplicaOrInstanceId", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "NodeName", + "displayName": "NodeName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "NodeId", + "displayName": "NodeId", + "type": "Guid", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "CountOfWaitingMethodCalls", + "displayName": "CountOfWaitingMethodCalls", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "MethodName", + "displayName": "MethodName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "MethodSignature", + "displayName": "MethodSignature", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "MethodExecutionTimeTicks", + "displayName": "MethodExecutionTimeTicks", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "Exception", + "displayName": "Exception", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "SaveStateExecutionTimeTicks", + "displayName": "SaveStateExecutionTimeTicks", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ReplicaId", + "displayName": "ReplicaId", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "SlowCancellationTimeMillis", + "displayName": "SlowCancellationTimeMillis", + "type": "Double", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "WasCanceled", + "displayName": "WasCanceled", + "type": "Bool", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "ActualCancellationTimeMillis", + "displayName": "ActualCancellationTimeMillis", + "type": "Double", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "InstanceId", + "displayName": "InstanceId", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "ServiceFabricReliableServiceEvent" + ], + "extraction": null, + "common": false + }, + { + "name": "EventTime", + "displayName": "EventTime", + "type": "DateTime", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "Facility", + "displayName": "Facility", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "SeverityLevel", + "displayName": "SeverityLevel", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "SyslogMessage", + "displayName": "SyslogMessage", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "HostIP", + "displayName": "HostIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "Syslog" + ], + "extraction": null, + "common": false + }, + { + "name": "ResourceUri", + "displayName": "ResourceUri", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "LinkedResourceUri", + "displayName": "LinkedResourceUri", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "DataType", + "displayName": "DataType", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "BatchesWithinSla", + "displayName": "BatchesWithinSla", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "BatchesOutsideSla", + "displayName": "BatchesOutsideSla", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "BatchesCapped", + "displayName": "BatchesCapped", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "TotalBatches", + "displayName": "TotalBatches", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "AvgLatencyInSeconds", + "displayName": "AvgLatencyInSeconds", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "Quantity", + "displayName": "Quantity", + "type": "Double", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "QuantityUnit", + "displayName": "QuantityUnit", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "IsBillable", + "displayName": "IsBillable", + "type": "Bool", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "MeterId", + "displayName": "MeterId", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "LinkedMeterId", + "displayName": "LinkedMeterId", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "Usage" + ], + "extraction": null, + "common": false + }, + { + "name": "FileUri", + "displayName": "FileUri", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "FileOffset", + "displayName": "FileOffset", + "type": "Int", + "indexed": false, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Date", + "displayName": "Date", + "type": "String", + "indexed": false, + "stored": false, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Time", + "displayName": "Time", + "type": "String", + "indexed": false, + "stored": false, + "facet": false, + "hidden": true, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "sSiteName", + "displayName": "sSiteName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "sComputerName", + "displayName": "sComputerName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": true, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "sIP", + "displayName": "sIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csMethod", + "displayName": "csMethod", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csUriStem", + "displayName": "csUriStem", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csUriQuery", + "displayName": "csUriQuery", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csUserName", + "displayName": "csUserName", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "cIP", + "displayName": "cIP", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csVersion", + "displayName": "csVersion", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csCookie", + "displayName": "csCookie", + "type": "String", + "indexed": false, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csReferer", + "displayName": "csReferer", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csHost", + "displayName": "csHost", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "scStatus", + "displayName": "scStatus", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "scSubStatus", + "displayName": "scSubStatus", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "scWin32Status", + "displayName": "scWin32Status", + "type": "String", + "indexed": true, + "stored": true, + "facet": true, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "scBytes", + "displayName": "scBytes", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "csBytes", + "displayName": "csBytes", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": false, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "TimeTaken", + "displayName": "TimeTaken", + "type": "BigInt", + "indexed": true, + "stored": true, + "facet": false, + "hidden": false, + "display": true, + "ownerType": [ + "W3CIISLog" + ], + "extraction": null, + "common": false + }, + { + "name": "Type", + "displayName": "Type", + "type": "string", + "indexed": true, + "stored": true, + "facet": true, + "hidden": true, + "display": true, + "ownerType": null, + "extraction": null, + "common": false + }, + { + "name": "id", + "displayName": null, + "type": "uuid", + "indexed": true, + "stored": true, + "facet": false, + "hidden": true, + "display": false, + "ownerType": null, + "extraction": null, + "common": false + } + ] } - } -} \ No newline at end of file + }, + "202": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListKeys.json index 373a7249270d..3d3d4abbf47c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListKeys.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListKeys.json @@ -1,16 +1,16 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"workspace1", - "api-version":"2015-03-20", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "primarySharedKey":"BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", - "secondarySharedKey":"7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" - } + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "workspace1", + "api-version": "2015-03-20", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "primarySharedKey": "BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", + "secondarySharedKey": "7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListLinkTargets.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListLinkTargets.json index 180eb17cc185..b1f5bbe82ca4 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListLinkTargets.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesListLinkTargets.json @@ -1,18 +1,18 @@ { - "parameters":{ - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":[ - { - "customerId": "customer id", - "accountName": "name", - "workspaceName": "workspaceName", - "location": "East US" - } - ] - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "customerId": "customer id", + "accountName": "name", + "workspaceName": "workspaceName", + "location": "East US" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurge.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurge.json index 38d77936e96c..3b045ae18bec 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurge.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurge.json @@ -1,29 +1,28 @@ { - "parameters": { - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "api-version":"2015-03-20", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "body": { - "table": "Heartbeat", - "filters": [ - { - "column": "TimeGenerated", - "operator": ">", - "value": "2017-09-01T00:00:00" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.operationalinsights/workspaces/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2015-03-20" - }, - "body": { - "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2015-03-20", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "body": { + "table": "Heartbeat", + "filters": [ + { + "column": "TimeGenerated", + "operator": ">", + "value": "2017-09-01T00:00:00" } + ] + } + }, + "responses": { + "202": { + "headers": { + "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.operationalinsights/workspaces/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2015-03-20" + }, + "body": { + "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" + } } + } } - \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurgeOperation.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurgeOperation.json index 5575ca5b2bf0..221b46a2c940 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurgeOperation.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesPurgeOperation.json @@ -1,16 +1,16 @@ { - "parameters": { - "resourceGroupName":"OIAutoRest5123", - "workspaceName":"aztest5048", - "api-version":"2015-03-20", - "subscriptionId":"00000000-0000-0000-0000-00000000000", - "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" - }, - "responses": { - "200": { - "body": { - "status": "completed" - } - } + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2015-03-20", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" + }, + "responses": { + "200": { + "body": { + "status": "completed" + } } -} \ No newline at end of file + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesRegenerateSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesRegenerateSharedKeys.json index 5a88e82d4c76..3d3d4abbf47c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesRegenerateSharedKeys.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesRegenerateSharedKeys.json @@ -1,16 +1,16 @@ { - "parameters":{ - "resourceGroupName":"rg1", - "workspaceName":"workspace1", - "api-version":"2015-03-20", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "primarySharedKey":"BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", - "secondarySharedKey":"7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" - } - } + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "workspace1", + "api-version": "2015-03-20", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "primarySharedKey": "BozLY1JnZbxu0jWUQSY8iRPEM8ObmpP8rW+8bUl3+HpDJI+n689SxXgTgU7k1qdxo/WugRLxechxbolAfHM5uA==", + "secondarySharedKey": "7tDt5W0JBrCQKtQA3igfFltLSzJeyr9LmuT+B/ibzd8cdC1neZ1ePOQLBx5NUzc0q2VUIK0cLhWNyFvo/hT8Ww==" + } } - } \ No newline at end of file + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesCreateOrUpdate.json index 0cdaca930fb5..315348b51803 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesCreateOrUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesCreateOrUpdate.json @@ -1,38 +1,38 @@ { - "parameters":{ - "resourceGroupName":"TestRG", - "workspaceName":"TestWS", - "savedSearchName":"SavedSearchName", - "parameters": { - "properties": { - "category":"category", - "displayName":"Create or Update Saved Search Test", - "query":"*", - "version":1, - "tags":[ - { - "name":"Group", - "value":"Computer" - } - ] - } - }, - "api-version":"2015-03-02", - "savedSearchId":"00000000-0000-0000-0000-00000000000", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "id":"subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "eTag":"W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties":{ - "category":" Saved Search Test Category", - "displayName":"Create or Update Saved Search Test", - "query":"* | measure Count() by Computer", - "version":1 - } - } + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "parameters": { + "properties": { + "category": "category", + "displayName": "Create or Update Saved Search Test", + "query": "*", + "version": 1, + "tags": [ + { + "name": "Group", + "value": "Computer" + } + ] } - } -} \ No newline at end of file + }, + "api-version": "2015-03-02", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "eTag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "category": " Saved Search Test Category", + "displayName": "Create or Update Saved Search Test", + "query": "* | measure Count() by Computer", + "version": 1 + } + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesGet.json index 62724f7dd314..2b9cf22b858f 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesSavedSearchesGet.json @@ -1,24 +1,24 @@ { - "parameters":{ - "resourceGroupName":"TestRG", - "workspaceName":"TestWS", - "savedSearchName":"SavedSearchName", - "api-version":"2015-03-02", - "savedSearchId":"00000000-0000-0000-0000-00000000000", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ - "body":{ - "id":"subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "eTag":"W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties":{ - "category":" Saved Search Test Category", - "displayName":"Create or Update Saved Search Test", - "query":"* | measure Count() by Computer", - "version":1 - } - } + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "api-version": "2015-03-02", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "eTag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "category": " Saved Search Test Category", + "displayName": "Create or Update Saved Search Test", + "query": "* | measure Count() by Computer", + "version": 1 + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesUpdateSearchResults.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesUpdateSearchResults.json index 9545af9a3189..80522c9b7b02 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesUpdateSearchResults.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2015-03-20/examples/WorkspacesUpdateSearchResults.json @@ -1,12 +1,12 @@ { - "parameters":{ - "resourceGroupName":"TestRG", - "workspaceName":"TestWS", - "id":"SavedSearchName", - "api-version":"2015-03-02", - "subscriptionId":"00000000-0000-0000-0000-00000000000" - }, - "responses":{ - "200":{ } + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "id": "SavedSearchName", + "api-version": "2015-03-02", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } } -} \ No newline at end of file From ffc007a52e55a433ddcb20660063a3fed8aabdcc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:56:43 -0400 Subject: [PATCH 080/495] chore: jsonfmt policyinsights (#6207) Ran `jsonfmt -w "specification/policyinsights/**/*.json"` --- .../PolicyEvents_FilterAndAggregateOnly.json | 2 +- ...yEvents_FilterAndGroupByWithAggregate.json | 2 +- ...ents_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyEvents_FilterAndMultipleGroups.json | 2 +- ...olicyEvents_QueryManagementGroupScope.json | 2 +- ...PolicyEvents_QueryNestedResourceScope.json | 2 +- .../PolicyEvents_QueryResourceGroupScope.json | 4 +- .../PolicyEvents_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyEvents_QuerySubscriptionScope.json | 2 +- .../PolicyEvents_TimeRangeSortSelectTop.json | 2 +- .../PolicyStates_FilterAndAggregateOnly.json | 2 +- ...yStates_FilterAndGroupByWithAggregate.json | 4 +- ...ates_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyStates_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyStates_ListOperations.json | 2 +- ...olicyStates_QueryManagementGroupScope.json | 2 +- ...PolicyStates_QueryNestedResourceScope.json | 2 +- .../PolicyStates_QueryResourceGroupScope.json | 4 +- .../PolicyStates_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyStates_QuerySubscriptionScope.json | 2 +- .../PolicyStates_TimeRangeSortSelectTop.json | 2 +- .../2017-08-09-preview/policyEvents.json | 54 ++++++--- .../2017-08-09-preview/policyStates.json | 58 ++++++--- .../PolicyEvents_FilterAndAggregateOnly.json | 2 +- ...yEvents_FilterAndGroupByWithAggregate.json | 2 +- ...ents_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyEvents_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyEvents_GetMetadata.json | 4 +- ...olicyEvents_QueryManagementGroupScope.json | 2 +- ...PolicyEvents_QueryNestedResourceScope.json | 2 +- .../PolicyEvents_QueryResourceGroupScope.json | 4 +- .../PolicyEvents_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyEvents_QuerySubscriptionScope.json | 2 +- .../PolicyEvents_TimeRangeSortSelectTop.json | 2 +- .../PolicyStates_FilterAndAggregateOnly.json | 2 +- ...yStates_FilterAndGroupByWithAggregate.json | 4 +- ...ates_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyStates_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyStates_GetMetadata.json | 4 +- .../examples/PolicyStates_ListOperations.json | 2 +- ...olicyStates_QueryManagementGroupScope.json | 2 +- ...PolicyStates_QueryNestedResourceScope.json | 2 +- .../PolicyStates_QueryResourceGroupScope.json | 4 +- .../PolicyStates_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyStates_QuerySubscriptionScope.json | 2 +- .../PolicyStates_TimeRangeSortSelectTop.json | 2 +- .../2017-10-17-preview/policyEvents.json | 58 ++++++--- .../2017-10-17-preview/policyStates.json | 60 +++++++--- .../PolicyEvents_FilterAndAggregateOnly.json | 2 +- ...yEvents_FilterAndGroupByWithAggregate.json | 2 +- ...ents_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyEvents_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyEvents_GetMetadata.json | 4 +- ...olicyEvents_QueryManagementGroupScope.json | 2 +- ...PolicyEvents_QueryNestedResourceScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- .../PolicyEvents_QueryResourceGroupScope.json | 4 +- .../PolicyEvents_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyEvents_QuerySubscriptionScope.json | 2 +- .../PolicyEvents_TimeRangeSortSelectTop.json | 2 +- .../PolicyStates_FilterAndAggregateOnly.json | 2 +- ...yStates_FilterAndGroupByWithAggregate.json | 4 +- ...ates_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyStates_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyStates_GetMetadata.json | 4 +- .../examples/PolicyStates_ListOperations.json | 2 +- ...olicyStates_QueryManagementGroupScope.json | 2 +- ...PolicyStates_QueryNestedResourceScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- .../PolicyStates_QueryResourceGroupScope.json | 4 +- .../PolicyStates_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyStates_QuerySubscriptionScope.json | 2 +- ...yStates_SummarizeManagementGroupScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- ...icyStates_SummarizeResourceGroupScope.json | 4 +- .../PolicyStates_SummarizeResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...licyStates_SummarizeSubscriptionScope.json | 4 +- .../PolicyStates_TimeRangeSortSelectTop.json | 2 +- .../2017-12-12-preview/policyEvents.json | 74 ++++++++---- .../2017-12-12-preview/policyStates.json | 110 ++++++++++++----- .../PolicyStates_FilterAndAggregateOnly.json | 2 +- ...yStates_FilterAndGroupByWithAggregate.json | 4 +- ...ates_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyStates_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyStates_GetMetadata.json | 4 +- .../examples/PolicyStates_ListOperations.json | 2 +- ...olicyStates_QueryManagementGroupScope.json | 2 +- ...PolicyStates_QueryNestedResourceScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- .../PolicyStates_QueryResourceGroupScope.json | 4 +- .../PolicyStates_QueryResourceScope.json | 2 +- ...rceScopeExpandPolicyEvaluationDetails.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyStates_QuerySubscriptionScope.json | 2 +- ...yStates_SummarizeManagementGroupScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- ...icyStates_SummarizeResourceGroupScope.json | 4 +- .../PolicyStates_SummarizeResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...licyStates_SummarizeSubscriptionScope.json | 4 +- .../PolicyStates_TimeRangeSortSelectTop.json | 2 +- ...edResources_QueryManagementGroupScope.json | 4 +- ...yManagementGroupScopeWithFilterAndTop.json | 4 +- ...ckedResources_QueryResourceGroupScope.json | 4 +- ...eryResourceGroupScopeWithFilterAndTop.json | 4 +- ...cyTrackedResources_QueryResourceScope.json | 4 +- ...es_QueryResourceScopeWithFilterAndTop.json | 4 +- ...ackedResources_QuerySubscriptionScope.json | 4 +- ...uerySubscriptionScopeWithFilterAndTop.json | 4 +- ...mediations_CancelManagementGroupScope.json | 2 +- ...Remediations_CancelResourceGroupScope.json | 2 +- .../Remediations_CancelResourceScope.json | 2 +- .../Remediations_CancelSubscriptionScope.json | 2 +- ...mediations_CreateManagementGroupScope.json | 2 +- ...Remediations_CreateResourceGroupScope.json | 2 +- .../Remediations_CreateResourceScope.json | 2 +- .../Remediations_CreateSubscriptionScope.json | 2 +- ...CreateSubscriptionScope_AllProperties.json | 7 +- ...mediations_DeleteManagementGroupScope.json | 2 +- ...Remediations_DeleteResourceGroupScope.json | 2 +- .../Remediations_DeleteResourceScope.json | 2 +- .../Remediations_DeleteSubscriptionScope.json | 2 +- .../Remediations_GetManagementGroupScope.json | 2 +- .../Remediations_GetResourceGroupScope.json | 2 +- .../Remediations_GetResourceScope.json | 2 +- .../Remediations_GetSubscriptionScope.json | 2 +- ...s_ListDeploymentsManagementGroupScope.json | 2 +- ...ons_ListDeploymentsResourceGroupScope.json | 2 +- ...diations_ListDeploymentsResourceScope.json | 2 +- ...ions_ListDeploymentsSubscriptionScope.json | 2 +- ...Remediations_ListManagementGroupScope.json | 2 +- ...ns_ListManagementGroupScope_WithQuery.json | 2 +- .../Remediations_ListResourceGroupScope.json | 2 +- ...ions_ListResourceGroupScope_WithQuery.json | 2 +- .../Remediations_ListResourceScope.json | 2 +- ...ediations_ListResourceScope_WithQuery.json | 2 +- .../Remediations_ListSubscriptionScope.json | 2 +- ...tions_ListSubscriptionScope_WithQuery.json | 2 +- .../2018-07-01-preview/policyStates.json | 112 +++++++++++++----- .../PolicyEvents_FilterAndAggregateOnly.json | 2 +- ...yEvents_FilterAndGroupByWithAggregate.json | 2 +- ...ents_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyEvents_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyEvents_GetMetadata.json | 4 +- ...olicyEvents_QueryManagementGroupScope.json | 2 +- ...PolicyEvents_QueryNestedResourceScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- .../PolicyEvents_QueryResourceGroupScope.json | 4 +- .../PolicyEvents_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyEvents_QuerySubscriptionScope.json | 2 +- .../PolicyEvents_TimeRangeSortSelectTop.json | 2 +- .../PolicyStates_FilterAndAggregateOnly.json | 2 +- ...yStates_FilterAndGroupByWithAggregate.json | 4 +- ...ates_FilterAndGroupByWithoutAggregate.json | 2 +- .../PolicyStates_FilterAndMultipleGroups.json | 2 +- .../examples/PolicyStates_GetMetadata.json | 4 +- .../examples/PolicyStates_ListOperations.json | 2 +- ...olicyStates_QueryManagementGroupScope.json | 2 +- ...PolicyStates_QueryNestedResourceScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- .../PolicyStates_QueryResourceGroupScope.json | 4 +- .../PolicyStates_QueryResourceScope.json | 2 +- ...ySubscriptionLevelNestedResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...s_QuerySubscriptionLevelResourceScope.json | 2 +- .../PolicyStates_QuerySubscriptionScope.json | 2 +- ...yStates_SummarizeManagementGroupScope.json | 2 +- ...sourceGroupLevelPolicyAssignmentScope.json | 2 +- ...icyStates_SummarizeResourceGroupScope.json | 4 +- .../PolicyStates_SummarizeResourceScope.json | 2 +- ...ubscriptionLevelPolicyAssignmentScope.json | 2 +- ...ubscriptionLevelPolicyDefinitionScope.json | 2 +- ...criptionLevelPolicySetDefinitionScope.json | 2 +- ...licyStates_SummarizeSubscriptionScope.json | 4 +- .../PolicyStates_TimeRangeSortSelectTop.json | 2 +- .../stable/2018-04-04/policyEvents.json | 74 ++++++++---- .../stable/2018-04-04/policyStates.json | 110 ++++++++++++----- 211 files changed, 761 insertions(+), 428 deletions(-) diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json index 19fdfe3892a1..080f495d98ed 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndAggregateOnly.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json index 0f6f72e9a190..bea979bd4e18 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json index b26724d30dde..4c32292d05d3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json index fa7245208b18..8e430279583a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_FilterAndMultipleGroups.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json index b1f067647e55..2d6d634a5f89 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryManagementGroupScope.json @@ -215,4 +215,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json index 108398679652..64ddbce20227 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryNestedResourceScope.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json index de3ef8f85c41..161e144225e0 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyEventsResource": "default", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-08-09-preview" }, "responses": { @@ -215,4 +215,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json index 4b2a308e07fc..5c09ca2cb17a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QueryResourceScope.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json index 2afdac243708..361ef24672c1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json index db6d9b7e4766..35a8a5e7ce2c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json index 1391d87459ed..c04d545cd0a1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_QuerySubscriptionScope.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json index a92381298268..3e293614ac05 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json index ba77d538455c..6b575c0de1d4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndAggregateOnly.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json index 08ad43bf0cd9..441a24f40e70 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -6,7 +6,7 @@ "$from": "2018-02-05T18:00:00Z", "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')", "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))", - "$orderby": "NumAuditDenyNonComplianceRecords desc", + "$orderby": "NumAuditDenyNonComplianceRecords desc", "$top": 2 }, "responses": { @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json index 20c1afea661d..600502646e67 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json index 637bee4487e5..2bb7c23f1221 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_FilterAndMultipleGroups.json @@ -120,4 +120,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json index d5a2b53cb332..ddf1f237fc01 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_ListOperations.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json index b8fd01144798..b2108b58f0d8 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryManagementGroupScope.json @@ -201,4 +201,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json index 472b013ee782..4e5ae94a1d4f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryNestedResourceScope.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json index db139dfd14f8..0211bf24bbd7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-08-09-preview" }, "responses": { @@ -201,4 +201,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json index 8271ca16056d..7d491681ad82 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QueryResourceScope.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json index e2a800113ec3..be719a34c81b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json index 78f90110965d..5a6de0c149be 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json index d2c4bc025675..1a0e1bb082e3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_QuerySubscriptionScope.json @@ -200,4 +200,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json index 14ebadc58bf9..0e1b4283742c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json index 2b1dcc6b3740..96326ef6f47c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyEvents.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query at management group scope": { "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" } + "Query at management group scope": { + "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query at subscription scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" } + "Query at subscription scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query at resource group scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" } + "Query at resource group scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query at resource scope": { "$ref": "./examples/PolicyEvents_QueryResourceScope.json" }, - "Query at subscription level resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" }, - "Query at nested resource scope": { "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" }, - "Query at subscription level nested resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" } + "Query at resource scope": { + "$ref": "./examples/PolicyEvents_QueryResourceScope.json" + }, + "Query at subscription level resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" + }, + "Query at nested resource scope": { + "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" + }, + "Query at subscription level nested resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" + } } } } @@ -411,7 +435,7 @@ "description": "Query result rows, each representing a policy event record.", "type": "array", "items": { - "description": "Query result row.", + "description": "Query result row.", "type": "array", "items": { "description": "Each column of the query result row." @@ -436,7 +460,7 @@ "description": "Data type of the column.", "type": "string" } - } + } }, "QueryFailure": { "description": "Error response.", @@ -610,4 +634,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json index 5703f2a417e1..c6381cb84eb2 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-08-09-preview/policyStates.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query latest at management group scope": { "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" } + "Query latest at management group scope": { + "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query latest at subscription scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" } + "Query latest at subscription scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query latest at resource group scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" } + "Query latest at resource group scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query all policy states at resource scope": { "$ref": "./examples/PolicyStates_QueryResourceScope.json" }, - "Query all policy states at subscription level resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" }, - "Query all policy states at nested resource scope": { "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" }, - "Query all policy states at subscription level nested resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" } + "Query all policy states at resource scope": { + "$ref": "./examples/PolicyStates_QueryResourceScope.json" + }, + "Query all policy states at subscription level resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" + }, + "Query all policy states at nested resource scope": { + "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" + }, + "Query all policy states at subscription level nested resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -288,7 +312,9 @@ } }, "x-ms-examples": { - "List operations": { "$ref": "./examples/PolicyStates_ListOperations.json" } + "List operations": { + "$ref": "./examples/PolicyStates_ListOperations.json" + } } } } @@ -431,7 +457,7 @@ "description": "Query result rows, each representing a policy state record.", "type": "array", "items": { - "description": "Query result row.", + "description": "Query result row.", "type": "array", "items": { "description": "Each column of the query result row." @@ -456,7 +482,7 @@ "description": "Data type of the column.", "type": "string" } - } + } }, "QueryFailure": { "description": "Error response.", @@ -677,4 +703,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json index 0ca1a4b02617..f9287993f216 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json index 77d555367519..0626349ed417 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json index 3d88615e5f30..9ea73c34941e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json index a4d6f148c8f3..f0c3e25cbdec 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_FilterAndMultipleGroups.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json index 46af2d35d0da..5d1fb26610ec 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2017-10-17-preview" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json index 0d6f25644a88..f74c50eda8bf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryManagementGroupScope.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json index aafd6dee8bc2..efdee749f550 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json index 86ca4e519e5a..172c08a1003a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyEventsResource": "default", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-10-17-preview" }, "responses": { @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json index 78bee2e47c43..2c1e88e196e1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QueryResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json index dc3723aff046..f22c55656fbc 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json index 08c4d91c6f27..bd7a0fd4f478 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json index 20ad429a16c3..b86d5e25e82a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_QuerySubscriptionScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json index 761a5f9ec917..2d44d5f45108 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json index 9a77705b9f87..5bbea899ec5d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json index 4a5653af6f3b..b909dd8c9312 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -6,7 +6,7 @@ "$from": "2018-02-05T18:00:00Z", "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')", "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))", - "$orderby": "NumAuditDenyNonComplianceRecords desc", + "$orderby": "NumAuditDenyNonComplianceRecords desc", "$top": 2 }, "responses": { @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json index 91fb36d5f795..6cc2b32c348a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json index 5486bac2abd0..b97bd3c718f5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_FilterAndMultipleGroups.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json index 45f6e3b5c72f..fa7a7ba8dd72 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2017-10-17-preview" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json index 7dfa6867003f..d92a9e40bcf8 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_ListOperations.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json index c14cf9a26164..056f90186abe 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryManagementGroupScope.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json index dbc832842cc8..edd479e4c1cc 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json index a0b163fc24e9..5e2d9f295d2f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-10-17-preview" }, "responses": { @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json index 73ded1e6be65..5ed1a700ca7d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QueryResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json index e38d715199ef..576fd8712c44 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json index 52f7ef267b0f..43c7d7368139 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json index b0f0aa96c8a1..84f023c0c4a2 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_QuerySubscriptionScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json index cc5cc28b89d1..9cc4e6079eb1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json index 4fd235df9bbe..aa5b43bebfef 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyEvents.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query at management group scope": { "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" } + "Query at management group scope": { + "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query at subscription scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" } + "Query at subscription scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query at resource group scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" } + "Query at resource group scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query at resource scope": { "$ref": "./examples/PolicyEvents_QueryResourceScope.json" }, - "Query at subscription level resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" }, - "Query at nested resource scope": { "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" }, - "Query at subscription level nested resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" } + "Query at resource scope": { + "$ref": "./examples/PolicyEvents_QueryResourceScope.json" + }, + "Query at subscription level resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" + }, + "Query at nested resource scope": { + "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" + }, + "Query at subscription level nested resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -294,10 +318,12 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyEvents_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyEvents_GetMetadata.json" + } } - } - } + } + } }, "definitions": { "PolicyEventsQueryResults": { @@ -633,4 +659,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json index a9510214bb1a..3322b8b1b15d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-10-17-preview/policyStates.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query latest at management group scope": { "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" } + "Query latest at management group scope": { + "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query latest at subscription scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" } + "Query latest at subscription scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query latest at resource group scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" } + "Query latest at resource group scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query all policy states at resource scope": { "$ref": "./examples/PolicyStates_QueryResourceScope.json" }, - "Query all policy states at subscription level resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" }, - "Query all policy states at nested resource scope": { "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" }, - "Query all policy states at subscription level nested resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" } + "Query all policy states at resource scope": { + "$ref": "./examples/PolicyStates_QueryResourceScope.json" + }, + "Query all policy states at subscription level resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" + }, + "Query all policy states at nested resource scope": { + "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" + }, + "Query all policy states at subscription level nested resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -288,7 +312,9 @@ } }, "x-ms-examples": { - "List operations": { "$ref": "./examples/PolicyStates_ListOperations.json" } + "List operations": { + "$ref": "./examples/PolicyStates_ListOperations.json" + } } } }, @@ -322,9 +348,11 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyStates_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyStates_GetMetadata.json" + } } - } + } } }, "definitions": { @@ -706,4 +734,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json index a3062e9db16e..748d489a3080 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json index 022ab140f937..a4789d0c6f44 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithAggregate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json index ba318c2e7c0a..d77a98dbbf85 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json index 8c838724c7a9..53c0f3fa05ac 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_FilterAndMultipleGroups.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json index 4fd89e615525..aee4220ba17e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2017-12-12-preview" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json index f8bb22eaf682..c5048016855a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryManagementGroupScope.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json index 402bddb8261c..498c651458f3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json index 8d2fa1415698..1cc59cdabd02 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json index 2d88893fb7fc..4587bced2bac 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyEventsResource": "default", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-12-12-preview" }, "responses": { @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json index 373699893a2d..66dd9560c0dc 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QueryResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json index c052cf688275..605dcf5393b5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json index f9e2e62aed51..cb7c761d61fd 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json index c6c7aa9644c2..4eabcf6b414d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json index 26b417ffb39e..ae2bbed0b465 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json index ab03f9b6dbcb..7261bbad6dd6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json index f086b99c01e0..bb982632da73 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_QuerySubscriptionScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json index f29e6fe38555..c707350c9526 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyEvents_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json index 41cbee61578d..4621c4790a3b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json index b2a9330e4602..101ed7cbd2e2 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -6,7 +6,7 @@ "$from": "2018-02-05T18:00:00Z", "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')", "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))", - "$orderby": "NumAuditDenyNonComplianceRecords desc", + "$orderby": "NumAuditDenyNonComplianceRecords desc", "$top": 2 }, "responses": { @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json index 66b1d4313104..5c18b994cc9a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json index 99670597c2c8..558c989210c5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_FilterAndMultipleGroups.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json index fb8f8c3e2620..45a4e964c011 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2017-12-12-preview" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json index e06c8f28ae86..5748e2171ccd 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_ListOperations.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json index efe90a0008d0..101024b4e421 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryManagementGroupScope.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json index f726792ab748..01e320f7a6a1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json index 40bab8a3e9d5..0444622917a7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json index 8ff86a37b152..90530f5930a7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-12-12-preview" }, "responses": { @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json index 94d1121594e6..71dad938952b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QueryResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json index f30599819154..a72fef261198 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json index f95cc04233bb..a8f2e49db989 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json index e7628e99e314..0f51425e8c1f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json index 61a473d612c6..22ed627848e8 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json index 7c841710898e..ec95e0a32de1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json index 8ddcc6ffcab3..88a63a0f5bd7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_QuerySubscriptionScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json index 1aacf3df0b2a..afe18645adf7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeManagementGroupScope.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json index 09f4625afaba..008735589b93 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json index 147569e8323f..a0ebd225d786 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2017-12-12-preview" }, "responses": { @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json index 4721644012fb..644357a6f495 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeResourceScope.json @@ -331,4 +331,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json index 827514a8d3cd..c3347bd7ba15 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json index 11c50f5e2540..46d441f52e99 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json index 6b609fed669d..e8b1afe37d58 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json index 34e5a0c99b89..baed33b54d6d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_SummarizeSubscriptionScope.json @@ -3,7 +3,7 @@ "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2017-12-12-preview", - "$top": 5 + "$top": 5 }, "responses": { "200": { @@ -137,4 +137,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json index 9d9e4f61d44f..224d9c5f5c2a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json index c2a35fee0074..1adc69d726e7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query at management group scope": { "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" } + "Query at management group scope": { + "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query at subscription scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" } + "Query at subscription scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query at resource group scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" } + "Query at resource group scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query at resource scope": { "$ref": "./examples/PolicyEvents_QueryResourceScope.json" }, - "Query at subscription level resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" }, - "Query at nested resource scope": { "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" }, - "Query at subscription level nested resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" } + "Query at resource scope": { + "$ref": "./examples/PolicyEvents_QueryResourceScope.json" + }, + "Query at subscription level resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" + }, + "Query at nested resource scope": { + "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" + }, + "Query at subscription level nested resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -321,7 +345,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy set definition scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json" } + "Query at subscription level policy set definition scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -382,7 +408,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy definition scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json" } + "Query at subscription level policy definition scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -443,7 +471,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy assignment scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json" } + "Query at subscription level policy assignment scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -507,7 +537,9 @@ } }, "x-ms-examples": { - "Query at resource group level policy assignment scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json" } + "Query at resource group level policy assignment scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -541,10 +573,12 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyEvents_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyEvents_GetMetadata.json" + } } - } - } + } + } }, "definitions": { "PolicyEventsQueryResults": { @@ -915,4 +949,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json index 82c78fd4803d..f9802bfe8c16 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyStates.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query latest at management group scope": { "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" } + "Query latest at management group scope": { + "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" + } } } }, @@ -133,7 +135,9 @@ } }, "x-ms-examples": { - "Summarize at management group scope": { "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" } + "Summarize at management group scope": { + "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" + } } } }, @@ -188,12 +192,24 @@ } }, "x-ms-examples": { - "Query latest at subscription scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" } + "Query latest at subscription scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" + } } } }, @@ -239,7 +255,9 @@ } }, "x-ms-examples": { - "Summarize at subscription scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" } + "Summarize at subscription scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" + } } } }, @@ -297,7 +315,9 @@ } }, "x-ms-examples": { - "Query latest at resource group scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" } + "Query latest at resource group scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" + } } } }, @@ -346,7 +366,9 @@ } }, "x-ms-examples": { - "Summarize at resource group scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" } + "Summarize at resource group scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" + } } } }, @@ -401,10 +423,18 @@ } }, "x-ms-examples": { - "Query all policy states at resource scope": { "$ref": "./examples/PolicyStates_QueryResourceScope.json" }, - "Query all policy states at subscription level resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" }, - "Query all policy states at nested resource scope": { "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" }, - "Query all policy states at subscription level nested resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" } + "Query all policy states at resource scope": { + "$ref": "./examples/PolicyStates_QueryResourceScope.json" + }, + "Query all policy states at subscription level resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" + }, + "Query all policy states at nested resource scope": { + "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" + }, + "Query all policy states at subscription level nested resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -450,7 +480,9 @@ } }, "x-ms-examples": { - "Summarize at resource scope": { "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" } + "Summarize at resource scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" + } } } }, @@ -511,7 +543,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy set definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" } + "Query latest at subscription level policy set definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -563,7 +597,9 @@ } }, "x-ms-examples": { - "Summarize at policy set definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" } + "Summarize at policy set definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -624,7 +660,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" } + "Query latest at subscription level policy definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -676,7 +714,9 @@ } }, "x-ms-examples": { - "Summarize at policy definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" } + "Summarize at policy definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -737,7 +777,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy assignment scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" } + "Query latest at subscription level policy assignment scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -789,7 +831,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -853,7 +897,9 @@ } }, "x-ms-examples": { - "Query latest at resource group level policy assignment scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" } + "Query latest at resource group level policy assignment scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -908,7 +954,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -936,7 +984,9 @@ } }, "x-ms-examples": { - "List operations": { "$ref": "./examples/PolicyStates_ListOperations.json" } + "List operations": { + "$ref": "./examples/PolicyStates_ListOperations.json" + } } } }, @@ -970,9 +1020,11 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyStates_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyStates_GetMetadata.json" + } } - } + } } }, "definitions": { @@ -1223,7 +1275,7 @@ "description": "Non-compliance summary for the policy definition.", "$ref": "#/definitions/SummaryResults" } - } + } }, "QueryFailure": { "description": "Error response.", @@ -1509,4 +1561,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndAggregateOnly.json index 4fcc6ac51319..a68531eebdeb 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json index 11574b7afa35..1a772a52ef25 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -6,7 +6,7 @@ "$from": "2018-02-05T18:00:00Z", "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')", "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))", - "$orderby": "NumAuditDenyNonComplianceRecords desc", + "$orderby": "NumAuditDenyNonComplianceRecords desc", "$top": 2 }, "responses": { @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json index 57ab2cf53a13..1fd046568eda 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndMultipleGroups.json index 72b7f24e1c09..6ff103d3ccd6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_FilterAndMultipleGroups.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_GetMetadata.json index 243f3ef67de0..e2837c4133e6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2018-07-01-preview" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_ListOperations.json index fde95b67be92..950c5a69df10 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_ListOperations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_ListOperations.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryManagementGroupScope.json index f42b7d750123..f4247ec6a32a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryManagementGroupScope.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryNestedResourceScope.json index 7c41461ed920..f81a3a190324 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json index 64dd190c3361..e689951eb6b2 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupScope.json index ce9eb2692a22..f517199f2061 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2018-07-01-preview" }, "responses": { @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScope.json index f70fdf4a8563..1028e62ce338 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json index f0dea990f1d9..668bcdc87ed5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json @@ -111,4 +111,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json index 637963528da3..d2df10b60eaf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json index c8f4789aa3b1..f1e9bd7987bb 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json index f64b514f299e..63921a3d3594 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json index 5b2734f5ca0e..73d403483e1b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json index fc4d370ddf7d..a2bea701ebd6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionScope.json index 44c5cce101bc..38b55d98aa9c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_QuerySubscriptionScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeManagementGroupScope.json index 1af9f1f5d331..2b8dfb806b91 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeManagementGroupScope.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json index 6de6b2c7ba44..87c4deff59d1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupScope.json index 40e5acdb8cd8..7d1ee5a0b4bd 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2018-07-01-preview" }, "responses": { @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceScope.json index 4dd9b0ebc4bb..11789fdee99b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeResourceScope.json @@ -350,4 +350,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json index ceb06b37a1c0..43de911c1884 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json index adf0fff51c2a..352d533489db 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json index 62de2e9ba540..339a40fb42d8 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionScope.json index df8b17e9016e..fd81b915d1e9 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_SummarizeSubscriptionScope.json @@ -3,7 +3,7 @@ "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2018-07-01-preview", - "$top": 5 + "$top": 5 }, "responses": { "200": { @@ -144,4 +144,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_TimeRangeSortSelectTop.json index 67daad9e9a5d..83fd0197d830 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScope.json index 96e788c245b7..87e364ab179c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScope.json @@ -26,7 +26,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -35,7 +35,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json index 1ff3cb7b3702..387921bb458f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json @@ -28,7 +28,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -37,7 +37,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScope.json index 970eb5c8e595..e3c5551ab27e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScope.json @@ -26,7 +26,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -35,7 +35,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json index 984d420fe97a..19d5e9b56701 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json @@ -28,7 +28,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -37,7 +37,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScope.json index 5c1eca9e90fe..e0ff862926a6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScope.json @@ -25,7 +25,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -34,7 +34,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScopeWithFilterAndTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScopeWithFilterAndTop.json index 11a4ecc335f6..6d4dafdfef62 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScopeWithFilterAndTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceScopeWithFilterAndTop.json @@ -27,7 +27,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -36,7 +36,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScope.json index cefd0c5eb5c4..fa5eba324113 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScope.json @@ -25,7 +25,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -34,7 +34,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json index 2be5370c44c1..429738cfce2d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json @@ -27,7 +27,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-03-09T00:00:00.0000000Z" + "deploymentTime": "2018-03-09T00:00:00.0000000Z" }, "lastModifiedBy": { "policyDetails": { @@ -36,7 +36,7 @@ "policyAssignmentScope": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/" }, "deploymentId": "/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/deploymentName", - "deploymentTime" : "2018-04-09T00:00:00.0000000Z" + "deploymentTime": "2018-04-09T00:00:00.0000000Z" }, "lastUpdateUtc": "2018-08-09T20:40:17.3585243Z" } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelManagementGroupScope.json index c958b66cca0f..1a91f4870ff0 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelManagementGroupScope.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceGroupScope.json index 4865929064aa..9821b0f20ef7 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceGroupScope.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceScope.json index d72a6d4b80a3..15365bf34e42 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelResourceScope.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelSubscriptionScope.json index 029d77cb99b2..ede958105db4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CancelSubscriptionScope.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateManagementGroupScope.json index b1f2f5f29705..871a4c149be5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateManagementGroupScope.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceGroupScope.json index 1a3efa1037fe..bd53989fe21d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceGroupScope.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceScope.json index d68e3a8d64cc..b1931292e2e5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateResourceScope.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope.json index f8194dfe1e46..cfa3489b97fb 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope_AllProperties.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope_AllProperties.json index 188d818aebd7..3effd3c82572 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope_AllProperties.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_CreateSubscriptionScope_AllProperties.json @@ -8,7 +8,10 @@ "policyAssignmentId": "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5", "policyDefinitionReferenceId": "8c8fa9e4", "filters": { - "locations": [ "eastus", "westus" ] + "locations": [ + "eastus", + "westus" + ] } } } @@ -55,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteManagementGroupScope.json index 309e6bdb7fb9..c7ef3c6ecef6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteManagementGroupScope.json @@ -29,4 +29,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceGroupScope.json index f2b8de9896af..91b9347067ec 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceGroupScope.json @@ -29,4 +29,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceScope.json index 480c1d20d378..b2d6551a72a0 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteResourceScope.json @@ -28,4 +28,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteSubscriptionScope.json index 942ee796b0f2..0cdcf72e371d 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_DeleteSubscriptionScope.json @@ -28,4 +28,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetManagementGroupScope.json index f3baa0284f02..a45d6dbf1ddf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetManagementGroupScope.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceGroupScope.json index fd4aeb18ee21..b32edd5b4e30 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceGroupScope.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceScope.json index 7d06b9744bf4..ecce21c29da3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetResourceScope.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetSubscriptionScope.json index ad8e7c1eaf43..cd5364f1f40f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_GetSubscriptionScope.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsManagementGroupScope.json index df8b9019ec12..c8ceb25e2623 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsManagementGroupScope.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceGroupScope.json index 781ee9cd14f7..582744fa3f9e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceGroupScope.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceScope.json index dc40b3fdb262..26f978cf289b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsResourceScope.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsSubscriptionScope.json index 09f428def157..85b18f0db59b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListDeploymentsSubscriptionScope.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope.json index 4541e980e521..78666dca8a2b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope_WithQuery.json index 6a8cce04f503..3c8887e4faaf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListManagementGroupScope_WithQuery.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope.json index c11218e52e20..3d7bd418dc70 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope_WithQuery.json index 4b1597020c7d..bcbc62ea4aa2 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceGroupScope_WithQuery.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope.json index cfa56d8da787..e31d7a8ef655 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope_WithQuery.json index 7803d73a56b3..6bcd17bbee29 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListResourceScope_WithQuery.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope.json index 56a668de8138..da064a079292 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope_WithQuery.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope_WithQuery.json index d93935e57972..45215f3b6121 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope_WithQuery.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/Remediations_ListSubscriptionScope_WithQuery.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json index c0f69efd6a21..6592e3709b40 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query latest at management group scope": { "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" } + "Query latest at management group scope": { + "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" + } } } }, @@ -133,7 +135,9 @@ } }, "x-ms-examples": { - "Summarize at management group scope": { "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" } + "Summarize at management group scope": { + "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" + } } } }, @@ -188,12 +192,24 @@ } }, "x-ms-examples": { - "Query latest at subscription scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" } + "Query latest at subscription scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" + } } } }, @@ -239,7 +255,9 @@ } }, "x-ms-examples": { - "Summarize at subscription scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" } + "Summarize at subscription scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" + } } } }, @@ -297,7 +315,9 @@ } }, "x-ms-examples": { - "Query latest at resource group scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" } + "Query latest at resource group scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" + } } } }, @@ -346,7 +366,9 @@ } }, "x-ms-examples": { - "Summarize at resource group scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" } + "Summarize at resource group scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" + } } } }, @@ -404,11 +426,21 @@ } }, "x-ms-examples": { - "Query all policy states at resource scope": { "$ref": "./examples/PolicyStates_QueryResourceScope.json" }, - "Query all policy states at subscription level resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" }, - "Query all policy states at nested resource scope": { "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" }, - "Query all policy states at subscription level nested resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" }, - "Query all policy states at resource scope and expand policyEvaluationDetails": { "$ref": "./examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json" } + "Query all policy states at resource scope": { + "$ref": "./examples/PolicyStates_QueryResourceScope.json" + }, + "Query all policy states at subscription level resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" + }, + "Query all policy states at nested resource scope": { + "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" + }, + "Query all policy states at subscription level nested resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" + }, + "Query all policy states at resource scope and expand policyEvaluationDetails": { + "$ref": "./examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json" + } } } }, @@ -454,7 +486,9 @@ } }, "x-ms-examples": { - "Summarize at resource scope": { "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" } + "Summarize at resource scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" + } } } }, @@ -515,7 +549,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy set definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" } + "Query latest at subscription level policy set definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -567,7 +603,9 @@ } }, "x-ms-examples": { - "Summarize at policy set definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" } + "Summarize at policy set definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -628,7 +666,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" } + "Query latest at subscription level policy definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -680,7 +720,9 @@ } }, "x-ms-examples": { - "Summarize at policy definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" } + "Summarize at policy definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -741,7 +783,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy assignment scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" } + "Query latest at subscription level policy assignment scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -793,7 +837,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -857,7 +903,9 @@ } }, "x-ms-examples": { - "Query latest at resource group level policy assignment scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" } + "Query latest at resource group level policy assignment scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -912,7 +960,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -940,7 +990,9 @@ } }, "x-ms-examples": { - "List operations": { "$ref": "./examples/PolicyStates_ListOperations.json" } + "List operations": { + "$ref": "./examples/PolicyStates_ListOperations.json" + } } } }, @@ -974,9 +1026,11 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyStates_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyStates_GetMetadata.json" + } } - } + } } }, "definitions": { @@ -1302,7 +1356,7 @@ "description": "Non-compliance summary for the policy definition.", "$ref": "#/definitions/SummaryResults" } - } + } }, "QueryFailure": { "description": "Error response.", diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndAggregateOnly.json index 8b5cc236719d..ae23f073897c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithAggregate.json index 16618e4868b8..16efc9d2a082 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithAggregate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json index 6370096a16e7..032198531203 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndMultipleGroups.json index c190cd03142a..27d725469029 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_FilterAndMultipleGroups.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_GetMetadata.json index c5381fca820f..b5b1bf768aca 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2018-04-04" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryManagementGroupScope.json index fe44b168e00f..b4f45dfebde4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryManagementGroupScope.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryNestedResourceScope.json index c8a2587d1b82..78f00e7e0a80 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json index 3766209f5302..d1fc5cdedb30 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupScope.json index e962da5f8f7f..5b329a8944b5 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyEventsResource": "default", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2018-04-04" }, "responses": { @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceScope.json index 1f8d6fe87ed5..740d2ba97599 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QueryResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json index af3ee0c37e9b..0be1a9dc6269 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json index 92eaaf9a078a..abd0ac1ec5a4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json index 5bee2b1a4bd2..7973ed984a00 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json index 3333b97b9501..310a47520b15 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json index da9f3b5f2c69..3b6b20aa3b88 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionScope.json index 02a7e0717373..dcaeecd7200f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_QuerySubscriptionScope.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_TimeRangeSortSelectTop.json index 19057ff379e7..aaa60998ec0f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyEvents_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndAggregateOnly.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndAggregateOnly.json index 5ab51d0fd6b3..23df59e975a4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndAggregateOnly.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndAggregateOnly.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithAggregate.json index a8985871a7dc..3d571f0c8541 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -6,7 +6,7 @@ "$from": "2018-02-05T18:00:00Z", "$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')", "$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))", - "$orderby": "NumAuditDenyNonComplianceRecords desc", + "$orderby": "NumAuditDenyNonComplianceRecords desc", "$top": 2 }, "responses": { @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json index d61146f55217..9591388cb757 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndMultipleGroups.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndMultipleGroups.json index 9f25dd8d9510..39f3f48ad1c3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndMultipleGroups.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_FilterAndMultipleGroups.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_GetMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_GetMetadata.json index fba219cbdcb1..d820f3412205 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_GetMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_GetMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", + "scope": "subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2018-04-04" }, "responses": { @@ -11,4 +11,4 @@ "body": " Org.OData.Capabilities.V1.ConformanceLevelType/Minimal application/json;odata.metadata=minimal;IEEE754Compatible=false;odata.streaming=true application/json;odata.metadata=none;IEEE754Compatible=false;odata.streaming=true " } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_ListOperations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_ListOperations.json index 8431a6befb87..4d199f10cb8e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_ListOperations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_ListOperations.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryManagementGroupScope.json index dc042b116e5e..12af15a2b628 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryManagementGroupScope.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryNestedResourceScope.json index 6354ddfb8a34..d37f62831c64 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json index 174e26c9d1a8..be222ea06017 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupScope.json index fda20c725442..910acc089f3b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2018-04-04" }, "responses": { @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceScope.json index e7646dd87290..1383612f88b6 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QueryResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json index c3165182eec1..602cdfff2e1e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json index 76cc1d373709..457f5e6b1082 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json index 9ae0f212bd91..1a7ec3d1ff1b 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json index 050510d33dbc..0dba71eecbcf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json index e950bb95094e..c93bff5ab961 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionLevelResourceScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionScope.json index 7774b7f1634d..57174b3d5a1f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_QuerySubscriptionScope.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeManagementGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeManagementGroupScope.json index bc91c8f4a56e..067e942d4cfc 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeManagementGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeManagementGroupScope.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json index aa7bbba3f852..42e09c44845e 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupScope.json index 07dd94bc9cd2..7bdcd7b65fe3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceGroupScope.json @@ -2,7 +2,7 @@ "parameters": { "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", - "resourceGroupName": "myResourceGroup", + "resourceGroupName": "myResourceGroup", "api-version": "2018-04-04" }, "responses": { @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceScope.json index dd2e48eeba06..79e9d89f1b16 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeResourceScope.json @@ -350,4 +350,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json index 5878fd961f79..1d8a503acb99 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json index 3b3e5df89bc9..8b0a244add2f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json index 5c9d8d75e049..3045b3f6d650 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionScope.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionScope.json index 2ebda940dcc8..f90fd9f077f4 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionScope.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_SummarizeSubscriptionScope.json @@ -3,7 +3,7 @@ "policyStatesSummaryResource": "latest", "subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852", "api-version": "2018-04-04", - "$top": 5 + "$top": 5 }, "responses": { "200": { @@ -144,4 +144,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_TimeRangeSortSelectTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_TimeRangeSortSelectTop.json index a048ec95f4fc..fcbf86fb07e3 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_TimeRangeSortSelectTop.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json index b694c4943495..6f2779cb49b9 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query at management group scope": { "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" } + "Query at management group scope": { + "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" + } } } }, @@ -139,12 +141,24 @@ } }, "x-ms-examples": { - "Query at subscription scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" } + "Query at subscription scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" + } } } }, @@ -202,7 +216,9 @@ } }, "x-ms-examples": { - "Query at resource group scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" } + "Query at resource group scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" + } } } }, @@ -257,10 +273,18 @@ } }, "x-ms-examples": { - "Query at resource scope": { "$ref": "./examples/PolicyEvents_QueryResourceScope.json" }, - "Query at subscription level resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" }, - "Query at nested resource scope": { "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" }, - "Query at subscription level nested resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" } + "Query at resource scope": { + "$ref": "./examples/PolicyEvents_QueryResourceScope.json" + }, + "Query at subscription level resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" + }, + "Query at nested resource scope": { + "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" + }, + "Query at subscription level nested resource scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -321,7 +345,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy set definition scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json" } + "Query at subscription level policy set definition scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -382,7 +408,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy definition scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json" } + "Query at subscription level policy definition scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -443,7 +471,9 @@ } }, "x-ms-examples": { - "Query at subscription level policy assignment scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json" } + "Query at subscription level policy assignment scope": { + "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -507,7 +537,9 @@ } }, "x-ms-examples": { - "Query at resource group level policy assignment scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json" } + "Query at resource group level policy assignment scope": { + "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -541,10 +573,12 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyEvents_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyEvents_GetMetadata.json" + } } - } - } + } + } }, "definitions": { "PolicyEventsQueryResults": { @@ -917,4 +951,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json index 0dd9bbf3332b..6a881ac0578a 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json @@ -84,7 +84,9 @@ } }, "x-ms-examples": { - "Query latest at management group scope": { "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" } + "Query latest at management group scope": { + "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json" + } } } }, @@ -133,7 +135,9 @@ } }, "x-ms-examples": { - "Summarize at management group scope": { "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" } + "Summarize at management group scope": { + "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json" + } } } }, @@ -188,12 +192,24 @@ } }, "x-ms-examples": { - "Query latest at subscription scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" }, - "Time range; sort, select and limit": { "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" }, - "Filter and group with aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" }, - "Filter and group without aggregate": { "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" }, - "Filter and aggregate only": { "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" }, - "Filter and multiple groups": { "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" } + "Query latest at subscription scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json" + }, + "Time range; sort, select and limit": { + "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json" + }, + "Filter and group with aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json" + }, + "Filter and group without aggregate": { + "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json" + }, + "Filter and aggregate only": { + "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json" + }, + "Filter and multiple groups": { + "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json" + } } } }, @@ -239,7 +255,9 @@ } }, "x-ms-examples": { - "Summarize at subscription scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" } + "Summarize at subscription scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json" + } } } }, @@ -297,7 +315,9 @@ } }, "x-ms-examples": { - "Query latest at resource group scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" } + "Query latest at resource group scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json" + } } } }, @@ -346,7 +366,9 @@ } }, "x-ms-examples": { - "Summarize at resource group scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" } + "Summarize at resource group scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json" + } } } }, @@ -401,10 +423,18 @@ } }, "x-ms-examples": { - "Query all policy states at resource scope": { "$ref": "./examples/PolicyStates_QueryResourceScope.json" }, - "Query all policy states at subscription level resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" }, - "Query all policy states at nested resource scope": { "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" }, - "Query all policy states at subscription level nested resource scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" } + "Query all policy states at resource scope": { + "$ref": "./examples/PolicyStates_QueryResourceScope.json" + }, + "Query all policy states at subscription level resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json" + }, + "Query all policy states at nested resource scope": { + "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json" + }, + "Query all policy states at subscription level nested resource scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json" + } } } }, @@ -450,7 +480,9 @@ } }, "x-ms-examples": { - "Summarize at resource scope": { "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" } + "Summarize at resource scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceScope.json" + } } } }, @@ -511,7 +543,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy set definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" } + "Query latest at subscription level policy set definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -563,7 +597,9 @@ } }, "x-ms-examples": { - "Summarize at policy set definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" } + "Summarize at policy set definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json" + } } } }, @@ -624,7 +660,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy definition scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" } + "Query latest at subscription level policy definition scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -676,7 +714,9 @@ } }, "x-ms-examples": { - "Summarize at policy definition scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" } + "Summarize at policy definition scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json" + } } } }, @@ -737,7 +777,9 @@ } }, "x-ms-examples": { - "Query latest at subscription level policy assignment scope": { "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" } + "Query latest at subscription level policy assignment scope": { + "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -789,7 +831,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json" + } } } }, @@ -853,7 +897,9 @@ } }, "x-ms-examples": { - "Query latest at resource group level policy assignment scope": { "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" } + "Query latest at resource group level policy assignment scope": { + "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -908,7 +954,9 @@ } }, "x-ms-examples": { - "Summarize at policy assignment scope": { "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" } + "Summarize at policy assignment scope": { + "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json" + } } } }, @@ -936,7 +984,9 @@ } }, "x-ms-examples": { - "List operations": { "$ref": "./examples/PolicyStates_ListOperations.json" } + "List operations": { + "$ref": "./examples/PolicyStates_ListOperations.json" + } } } }, @@ -970,9 +1020,11 @@ } }, "x-ms-examples": { - "Get metadata": { "$ref": "./examples/PolicyStates_GetMetadata.json" } + "Get metadata": { + "$ref": "./examples/PolicyStates_GetMetadata.json" + } } - } + } } }, "definitions": { @@ -1227,7 +1279,7 @@ "description": "Non-compliance summary for the policy definition.", "$ref": "#/definitions/SummaryResults" } - } + } }, "QueryFailure": { "description": "Error response.", @@ -1515,4 +1567,4 @@ "x-ms-client-name": "Apply" } } -} \ No newline at end of file +} From 7852aae1d350b5816ce490be5cb81fe88a784dba Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:57:20 -0400 Subject: [PATCH 081/495] chore: jsonfmt powerbidedicated (#6210) Ran `jsonfmt -w "specification/powerbidedicated/**/*.json"` --- .../examples/checkNameAvailability.json | 2 +- .../2017-10-01/examples/createCapacity.json | 14 +- .../2017-10-01/examples/getCapacity.json | 5 +- .../examples/listSKUsForExisting.json | 16 +- .../2017-10-01/examples/updateCapacity.json | 14 +- .../stable/2017-10-01/powerbidedicated.json | 220 ++++++++++++------ 6 files changed, 171 insertions(+), 100 deletions(-) diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/checkNameAvailability.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/checkNameAvailability.json index 091912186b27..2b3b36b98e16 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/checkNameAvailability.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/checkNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/createCapacity.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/createCapacity.json index 92a1fb37856f..abcbb166a4d4 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/createCapacity.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/createCapacity.json @@ -6,19 +6,19 @@ "api-version": "2017-10-01", "capacityParameters": { "sku": { - "name": "A1", - "tier": "PBIE_Azure" + "name": "A1", + "tier": "PBIE_Azure" }, "tags": { - "testKey": "testValue" + "testKey": "testValue" }, "location": "West US", "properties": { "administration": { - "members": [ - "azsdktest@microsoft.com", - "azsdktest2@microsoft.com" - ] + "members": [ + "azsdktest@microsoft.com", + "azsdktest2@microsoft.com" + ] }, "provisioningState": "Preparing", "state": "Preparing" diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/getCapacity.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/getCapacity.json index 21580ee84069..dd3a3963161d 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/getCapacity.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/getCapacity.json @@ -22,11 +22,10 @@ "state": "Provisioning" }, "sku": { - "name": "A1", + "name": "A1", "tier": "PBIE_Azure" }, - "tags": { - } + "tags": {} } } } diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/listSKUsForExisting.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/listSKUsForExisting.json index 1e0787266ddf..6b6c95a16fc9 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/listSKUsForExisting.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/listSKUsForExisting.json @@ -12,26 +12,26 @@ "value": [ { "sku": { - "name": "A2", - "tier": "PBIE_Azure" + "name": "A2", + "tier": "PBIE_Azure" } }, { "sku": { - "name": "A3", - "tier": "PBIE_Azure" + "name": "A3", + "tier": "PBIE_Azure" } }, { "sku": { - "name": "A4", - "tier": "PBIE_Azure" + "name": "A4", + "tier": "PBIE_Azure" } }, { "sku": { - "name": "A5", - "tier": "PBIE_Azure" + "name": "A5", + "tier": "PBIE_Azure" } }, { diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/updateCapacity.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/updateCapacity.json index 6fe6c3bab64f..a93064185eb5 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/updateCapacity.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/examples/updateCapacity.json @@ -6,18 +6,18 @@ "api-version": "2017-10-01", "capacityUpdateParameters": { "sku": { - "name": "A1", - "tier": "PBIE_Azure" + "name": "A1", + "tier": "PBIE_Azure" }, "tags": { - "testKey": "testValue" + "testKey": "testValue" }, "properties": { "administration": { - "members": [ - "azsdktest@microsoft.com", - "azsdktest2@microsoft.com" - ] + "members": [ + "azsdktest@microsoft.com", + "azsdktest2@microsoft.com" + ] } } } diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/powerbidedicated.json b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/powerbidedicated.json index d278616f6dbc..30006a1b2c5d 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/powerbidedicated.json +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2017-10-01/powerbidedicated.json @@ -9,7 +9,9 @@ } }, "host": "management.azure.com", - "schemes": [ "https" ], + "schemes": [ + "https" + ], "consumes": [ "application/json" ], @@ -39,9 +41,13 @@ "get": { "description": "Gets details about the specified dedicated capacity.", "x-ms-examples": { - "Get details of a capacity": { "$ref": "./examples/getCapacity.json" } + "Get details of a capacity": { + "$ref": "./examples/getCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_GetDetails", "parameters": [ { @@ -67,16 +73,22 @@ "responses": { "200": { "description": "OK. The operation was successful.", - "schema": { "$ref": "#/definitions/DedicatedCapacity" } + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + } } } }, "put": { "description": "Provisions the specified Dedicated capacity based on the configuration specified in the request.", "x-ms-examples": { - "Create capacity": { "$ref": "./examples/createCapacity.json" } + "Create capacity": { + "$ref": "./examples/createCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_Create", "parameters": [ { @@ -96,7 +108,9 @@ "name": "capacityParameters", "in": "body", "required": true, - "schema": { "$ref": "#/definitions/DedicatedCapacity" }, + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + }, "description": "Contains the information used to provision the Dedicated capacity." }, { @@ -105,16 +119,19 @@ { "$ref": "#/parameters/SubscriptionIdParameter" } - ], "responses": { "200": { "description": "OK. The operation completed successfully.", - "schema": { "$ref": "#/definitions/DedicatedCapacity" } + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + } }, "201": { "description": "InProgress. The operation is still in progress.", - "schema": { "$ref": "#/definitions/DedicatedCapacity" } + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + } } }, "x-ms-long-running-operation": true @@ -122,9 +139,13 @@ "delete": { "description": "Deletes the specified Dedicated capacity.", "x-ms-examples": { - "Get details of a capacity": { "$ref": "./examples/deleteCapacity.json" } + "Get details of a capacity": { + "$ref": "./examples/deleteCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_Delete", "parameters": [ { @@ -163,9 +184,13 @@ "patch": { "description": "Updates the current state of the specified Dedicated capacity.", "x-ms-examples": { - "Update capacity parameters": { "$ref": "./examples/updateCapacity.json" } + "Update capacity parameters": { + "$ref": "./examples/updateCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_Update", "parameters": [ { @@ -185,7 +210,9 @@ "name": "capacityUpdateParameters", "in": "body", "required": true, - "schema": { "$ref": "#/definitions/DedicatedCapacityUpdateParameters" }, + "schema": { + "$ref": "#/definitions/DedicatedCapacityUpdateParameters" + }, "description": "Request object that contains the updated information for the capacity." }, { @@ -198,11 +225,15 @@ "responses": { "200": { "description": "OK", - "schema": { "$ref": "#/definitions/DedicatedCapacity" } + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + } }, "202": { "description": "Accepted", - "schema": { "$ref": "#/definitions/DedicatedCapacity" } + "schema": { + "$ref": "#/definitions/DedicatedCapacity" + } } }, "x-ms-long-running-operation": true @@ -212,9 +243,13 @@ "post": { "description": "Suspends operation of the specified dedicated capacity instance.", "x-ms-examples": { - "Suspend capacity": { "$ref": "./examples/suspendCapacity.json" } + "Suspend capacity": { + "$ref": "./examples/suspendCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_Suspend", "parameters": [ { @@ -252,9 +287,13 @@ "post": { "description": "Resumes operation of the specified Dedicated capacity instance.", "x-ms-examples": { - "Get details of a capacity": { "$ref": "./examples/resumeCapacity.json" } + "Get details of a capacity": { + "$ref": "./examples/resumeCapacity.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_Resume", "parameters": [ { @@ -292,9 +331,13 @@ "get": { "description": "Gets all the Dedicated capacities for the given resource group.", "x-ms-examples": { - "List capacities in resource group": { "$ref": "./examples/listCapacitiesInResourceGroup.json" } + "List capacities in resource group": { + "$ref": "./examples/listCapacitiesInResourceGroup.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_ListByResourceGroup", "parameters": [ { @@ -310,7 +353,9 @@ "responses": { "200": { "description": "OK", - "schema": { "$ref": "#/definitions/DedicatedCapacities" } + "schema": { + "$ref": "#/definitions/DedicatedCapacities" + } } }, "x-ms-pageable": { @@ -322,9 +367,13 @@ "get": { "description": "Lists all the Dedicated capacities for the given subscription.", "x-ms-examples": { - "Get details of a capacity": { "$ref": "./examples/listCapacitiesInSubscription.json" } + "Get details of a capacity": { + "$ref": "./examples/listCapacitiesInSubscription.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_List", "parameters": [ { @@ -337,7 +386,9 @@ "responses": { "200": { "description": "OK", - "schema": { "$ref": "#/definitions/DedicatedCapacities" } + "schema": { + "$ref": "#/definitions/DedicatedCapacities" + } } }, "x-ms-pageable": { @@ -349,7 +400,9 @@ "get": { "description": "Lists eligible SKUs for PowerBI Dedicated resource provider.", "x-ms-examples": { - "List eligible SKUs for a new capacity": { "$ref": "./examples/listSKUsForNew.json" } + "List eligible SKUs for a new capacity": { + "$ref": "./examples/listSKUsForNew.json" + } }, "operationId": "Capacities_ListSkus", "parameters": [ @@ -363,7 +416,9 @@ "responses": { "200": { "description": "OK", - "schema": { "$ref": "#/definitions/SkuEnumerationForNewResourceResult" } + "schema": { + "$ref": "#/definitions/SkuEnumerationForNewResourceResult" + } } } } @@ -372,9 +427,13 @@ "get": { "description": "Lists eligible SKUs for a PowerBI Dedicated resource.", "x-ms-examples": { - "List eligible SKUs for an existing capacity": { "$ref": "./examples/listSKUsForExisting.json" } + "List eligible SKUs for an existing capacity": { + "$ref": "./examples/listSKUsForExisting.json" + } }, - "tags": [ "Capacities" ], + "tags": [ + "Capacities" + ], "operationId": "Capacities_ListSkusForCapacity", "parameters": [ { @@ -400,7 +459,9 @@ "responses": { "200": { "description": "OK", - "schema": { "$ref": "#/definitions/SkuEnumerationForExistingResourceResult" } + "schema": { + "$ref": "#/definitions/SkuEnumerationForExistingResourceResult" + } } } } @@ -437,50 +498,51 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability": { - "post": { - "x-ms-examples": { - "Check name availability of a capacity": { "$ref": "./examples/checkNameAvailability.json" } - }, - "tags": [ - "Capacities" - ], - "operationId": "Capacities_CheckNameAvailability", - "description": "Check the name availability in the target location.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The region name which the operation will lookup into." + "post": { + "x-ms-examples": { + "Check name availability of a capacity": { + "$ref": "./examples/checkNameAvailability.json" + } }, - { - "name": "capacityParameters", - "in": "body", - "required": true, - "schema": + "tags": [ + "Capacities" + ], + "operationId": "Capacities_CheckNameAvailability", + "description": "Check the name availability in the target location.", + "parameters": [ { - "$ref": "#/definitions/CheckCapacityNameAvailabilityParameters" + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The region name which the operation will lookup into." }, - "description": "The name of the capacity." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/CheckCapacityNameAvailabilityResult" + { + "name": "capacityParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckCapacityNameAvailabilityParameters" + }, + "description": "The name of the capacity." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckCapacityNameAvailabilityResult" + } } } } } - } }, "definitions": { "OperationListResult": { @@ -561,7 +623,9 @@ }, "tags": { "type": "object", - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "description": "Key-value pairs of additional resource provisioning properties." } }, @@ -593,7 +657,9 @@ "properties": { "value": { "type": "array", - "items": { "$ref": "#/definitions/DedicatedCapacity" }, + "items": { + "$ref": "#/definitions/DedicatedCapacity" + }, "description": "An array of Dedicated capacities resources." } }, @@ -611,7 +677,9 @@ }, "tags": { "type": "object", - "additionalProperties": { "type": "string" }, + "additionalProperties": { + "type": "string" + }, "description": "Key-value pairs of additional provisioning properties." }, "properties": { @@ -732,7 +800,9 @@ "properties": { "value": { "type": "array", - "items": { "$ref": "#/definitions/ResourceSku" }, + "items": { + "$ref": "#/definitions/ResourceSku" + }, "description": "The collection of available SKUs for new resources" } } @@ -743,7 +813,9 @@ "properties": { "value": { "type": "array", - "items": { "$ref": "#/definitions/SkuDetailsForExistingResource" }, + "items": { + "$ref": "#/definitions/SkuDetailsForExistingResource" + }, "description": "The collection of available SKUs for existing resources" } } From 8caae173ef5b7d7cdfd7521006c775b79b898922 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:58:03 -0400 Subject: [PATCH 082/495] chore: jsonfmt recoveryservices (#6222) Ran `jsonfmt -w "specification/recoveryservices/**/*.json"` --- .../CheckNameAvailability_Available.json | 34 +- .../CheckNameAvailability_NotAvailable.json | 38 +- .../examples/DeleteRegisteredIdentities.json | 24 +- .../2016-06-01/examples/DeleteVault.json | 22 +- .../stable/2016-06-01/examples/GETVault.json | 50 +- .../examples/GETVaultExtendedInfo.json | 40 +- .../examples/ListBySubscriptionIds.json | 118 +-- .../2016-06-01/examples/ListOperations.json | 921 +++++++++--------- .../examples/ListReplicationUsages.json | 2 +- .../2016-06-01/examples/ListResources.json | 120 +-- .../2016-06-01/examples/ListUsages.json | 350 +++---- .../2016-06-01/examples/PATCHVault.json | 90 +- .../stable/2016-06-01/examples/PUTVault.json | 94 +- .../2016-06-01/examples/PUTVaultCred.json | 72 +- .../examples/UpdateVaultExtendedInfo.json | 52 +- .../2016-06-01/registeredidentities.json | 2 +- .../stable/2016-06-01/replicationusages.json | 4 +- .../stable/2016-06-01/vaults.json | 2 +- .../stable/2016-06-01/vaultusages.json | 2 +- 19 files changed, 1019 insertions(+), 1018 deletions(-) diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_Available.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_Available.json index 90f35f7f2540..c64c434b3667 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_Available.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_Available.json @@ -1,19 +1,19 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"resGroupFoo", - "api-version": "2016-06-01", - "location":"westus", - "input":{ - "name":"swaggerExample", - "type": "Microsoft.RecoveryServices/Vaults" - } - }, - "responses":{ - "200":{ - "body":{ - "nameAvailable": true - } - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "resGroupFoo", + "api-version": "2016-06-01", + "location": "westus", + "input": { + "name": "swaggerExample", + "type": "Microsoft.RecoveryServices/Vaults" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_NotAvailable.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_NotAvailable.json index 8f4920378705..75accdbed16c 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_NotAvailable.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/CheckNameAvailability_NotAvailable.json @@ -1,21 +1,21 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"resGroupBar", - "api-version": "2016-06-01", - "location":"westus", - "input":{ - "name":"swaggerExample2", - "type": "Microsoft.RecoveryServices/Vaults" - } - }, - "responses":{ - "200":{ - "body":{ - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Resource already exists with the same name." - } - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "resGroupBar", + "api-version": "2016-06-01", + "location": "westus", + "input": { + "name": "swaggerExample2", + "type": "Microsoft.RecoveryServices/Vaults" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Resource already exists with the same name." + } + } + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json index 76fabc1aae4d..21e8fcd46a15 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId": "77777777-d41f-4550-9f70-7708a3a2283b", - "resourceGroupName": "BCDRIbzRG", - "vaultName": "BCDRIbzVault", - "identityName": "dpmcontainer01", - "api-version": "2016-06-01" - }, - "responses":{ - "204":{ - "body": "" - } + "parameters": { + "subscriptionId": "77777777-d41f-4550-9f70-7708a3a2283b", + "resourceGroupName": "BCDRIbzRG", + "vaultName": "BCDRIbzVault", + "identityName": "dpmcontainer01", + "api-version": "2016-06-01" + }, + "responses": { + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json index bd8768f2e501..34113f549015 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json @@ -1,13 +1,13 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01" - }, - "responses":{ - "200":{ - "body": "" - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVault.json index 7171912a999e..501c08fe4a58 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVault.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVault.json @@ -1,28 +1,28 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01" - }, - "responses":{ - "200":{ - "body":{ - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVaultExtendedInfo.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVaultExtendedInfo.json index 1c882d517651..d4215eb9e750 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVaultExtendedInfo.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/GETVaultExtendedInfo.json @@ -1,22 +1,22 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01" - }, - "responses":{ - "200":{ - "body":{ - "name": "vaultExtendedInfo", - "eTag": "f0d0260b-b92d-4458-ba0a-32c6cdabacb7", - "properties": { - "integrityKey": "J09wzS27fnJ+Wjot7xO5wA==", - "algorithm": "None" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/extendedInformation/vaultExtendedInfo", - "type": "Microsoft.RecoveryServices/vaults/extendedInformation" - } - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "name": "vaultExtendedInfo", + "eTag": "f0d0260b-b92d-4458-ba0a-32c6cdabacb7", + "properties": { + "integrityKey": "J09wzS27fnJ+Wjot7xO5wA==", + "algorithm": "None" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/extendedInformation/vaultExtendedInfo", + "type": "Microsoft.RecoveryServices/vaults/extendedInformation" + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListBySubscriptionIds.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListBySubscriptionIds.json index 248546f47a6f..3232105a9b60 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListBySubscriptionIds.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListBySubscriptionIds.json @@ -1,62 +1,62 @@ { - "parameters":{ - "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", - "api-version": "2016-06-01" - }, - "responses":{ - "200":{ - "body": { - "value": [ - { - "location": "westus", - "name": "patchtest", - "eTag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"", - "tags": { - "Love": "India" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/patchtest", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - }, - { - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - }, - { - "location": "westus", - "name": "today1", - "eTag": "W/\"datetime'2017-11-21T10%3A52%3A19.633Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/today1", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } - ] + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "westus", + "name": "patchtest", + "eTag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"", + "tags": { + "Love": "India" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/patchtest", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } - } + }, + { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" + } + }, + { + "location": "westus", + "name": "today1", + "eTag": "W/\"datetime'2017-11-21T10%3A52%3A19.633Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/today1", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListOperations.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListOperations.json index 3098310024e4..fe75830900ea 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListOperations.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListOperations.json @@ -1,462 +1,463 @@ { - "parameters": { - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "microsoft.recoveryservices/vaults/usages/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Usage", - "operation": "Recovery Services Vault usage details.", - "description": "Returns usage details for a Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupUsageSummaries/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Usages Summaries", - "operation": "Recovery Services Protected Items and Protected Servers usage summaries details.", - "description": "Returns summaries for Protected Items and Protected Servers for a Recovery Services ." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/storageConfig/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Storage Config", - "operation": "Get Resource Storage Config", - "description": "Returns Storage Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/storageConfig/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Storage Config", - "operation": "Write Resource Storage Config", - "description": "Updates Storage Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Config", - "operation": "Get Resource Config", - "description": "Returns Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Config", - "operation": "Update Resource Config", - "description": "Updates Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/tokenInfo/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Token Info", - "operation": "Get Vault Token Info", - "description": "Returns token information for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupSecurityPIN/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "SecurityPINInfo", - "operation": "Get Security PIN Info", - "description": "Returns Security PIN Information for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupManagementMetaData/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Management Metadata", - "operation": "Get Backup Management Metadata", - "description": "Returns Backup Management Metadata for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupOperationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Operation Results", - "operation": "Get Backup Operation Result", - "description": "Returns Backup Operation Result for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupOperations/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Operation Status", - "operation": "Get Backup Operation Status", - "description": "Returns Backup Operation Status for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs", - "operation": "Get Jobs", - "description": "Returns all Job Objects" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/cancel/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs", - "operation": "Cancel Jobs", - "description": "Cancel the Job" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobsExport/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Export Backup Jobs", - "operation": "Export Jobs", - "description": "Export Jobs" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs Operation Results", - "operation": "Get Job Operation Result", - "description": "Returns the Result of Job Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobsExport/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Export Backup Jobs Operation Results", - "operation": "Get Export Job Operation Result", - "description": "Returns the Result of Export Job Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Get Recovery Points", - "description": "Get Recovery Points for Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Restore Recovery Points", - "description": "Restore Recovery Points for Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Provision Instant Item Recovery for Protected Item", - "description": "Provision Instant Item Recovery for Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Revoke Instant Item Recovery for Protected Item", - "description": "Revoke Instant Item Recovery for Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Get Protection Policy", - "description": "Returns all Protection Policies" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Create Protection Policy", - "description": "Creates Protection Policy" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/delete", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Delete Protection Policy", - "description": "Delete a Protection Policy" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policy Operation Results", - "operation": "Get Policy Operation Results", - "description": "Get Results of Policy Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/operationsStatus/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policy Operation Status", - "operation": "Get Policy Operation Status", - "description": "Get Status of Policy Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Get Protected Item Details", - "description": "Returns object details of the Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectedItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Get All Protected Items", - "description": "Returns the list of all Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Create Backup Protected Item", - "description": "Create a backup Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/delete", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Delete Protected Items", - "description": "Deletes Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Item Operation Results", - "operation": "Get Protected Items Operation Results", - "description": "Gets Result of Operation Performed on Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Item Operation Status", - "operation": "Get Protected Items operation status", - "description": "Returns the status of Operation performed on Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/backup/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Backup Protected Item", - "description": "Performs Backup for Protected Item." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectableItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Protectable Items", - "operation": "Get Protectable Items", - "description": "Returns list of all Protectable Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/refreshContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Refresh Containers", - "operation": "Refresh container", - "description": "Refreshes the container list" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Refresh Containers Operation Results", - "operation": "Get Operation Results", - "description": "Returns status of the operation" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectionContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Protection Containers", - "operation": "Get Containers In Subscription", - "description": "Returns all containers belonging to the subscription" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers", - "operation": "Get Registered Container", - "description": "Returns all registered containers" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers Operation Results", - "operation": "Get Container Operation Results", - "description": "Gets result of Operation performed on Protection Container." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupEngines", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Engines", - "operation": "List of backup management servers.", - "description": "Returns all the backup management servers registered with vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupStatus", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Status", - "operation": "Check Backup Status for Vault", - "description": "Check Backup Status for Recovery Services Vaults" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPreValidateProtection", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "PreValidate Protection", - "operation": "Pre Validate Enable Protection", - "description": "" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupValidateFeatures", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Validate Features", - "operation": "Validate Features", - "description": "Validate Features" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/backupProtectionIntent/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Intent", - "operation": "Create backup Protection Intent", - "description": "Create a backup Protection Intent" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/{fabricName}/protectionContainers/{containerName}/items/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Workload Items", - "operation": "Get all items in a container", - "description": "Get all items in a container" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/inquire/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers Inquire", - "operation": "Get all items in a container", - "description": "Get all items in a container" - }, - "origin": "user" - } - ] - } - } + "parameters": { + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "microsoft.recoveryservices/vaults/usages/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Usage", + "operation": "Recovery Services Vault usage details.", + "description": "Returns usage details for a Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupUsageSummaries/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Usages Summaries", + "operation": "Recovery Services Protected Items and Protected Servers usage summaries details.", + "description": "Returns summaries for Protected Items and Protected Servers for a Recovery Services ." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/storageConfig/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Storage Config", + "operation": "Get Resource Storage Config", + "description": "Returns Storage Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/storageConfig/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Storage Config", + "operation": "Write Resource Storage Config", + "description": "Updates Storage Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Config", + "operation": "Get Resource Config", + "description": "Returns Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Config", + "operation": "Update Resource Config", + "description": "Updates Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/tokenInfo/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Token Info", + "operation": "Get Vault Token Info", + "description": "Returns token information for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupSecurityPIN/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "SecurityPINInfo", + "operation": "Get Security PIN Info", + "description": "Returns Security PIN Information for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupManagementMetaData/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Management Metadata", + "operation": "Get Backup Management Metadata", + "description": "Returns Backup Management Metadata for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupOperationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Operation Results", + "operation": "Get Backup Operation Result", + "description": "Returns Backup Operation Result for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupOperations/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Operation Status", + "operation": "Get Backup Operation Status", + "description": "Returns Backup Operation Status for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs", + "operation": "Get Jobs", + "description": "Returns all Job Objects" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/cancel/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs", + "operation": "Cancel Jobs", + "description": "Cancel the Job" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobsExport/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Export Backup Jobs", + "operation": "Export Jobs", + "description": "Export Jobs" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs Operation Results", + "operation": "Get Job Operation Result", + "description": "Returns the Result of Job Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobsExport/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Export Backup Jobs Operation Results", + "operation": "Get Export Job Operation Result", + "description": "Returns the Result of Export Job Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Get Recovery Points", + "description": "Get Recovery Points for Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Restore Recovery Points", + "description": "Restore Recovery Points for Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Provision Instant Item Recovery for Protected Item", + "description": "Provision Instant Item Recovery for Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Revoke Instant Item Recovery for Protected Item", + "description": "Revoke Instant Item Recovery for Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Get Protection Policy", + "description": "Returns all Protection Policies" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Create Protection Policy", + "description": "Creates Protection Policy" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/delete", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Delete Protection Policy", + "description": "Delete a Protection Policy" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policy Operation Results", + "operation": "Get Policy Operation Results", + "description": "Get Results of Policy Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/operationsStatus/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policy Operation Status", + "operation": "Get Policy Operation Status", + "description": "Get Status of Policy Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Get Protected Item Details", + "description": "Returns object details of the Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectedItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Get All Protected Items", + "description": "Returns the list of all Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Create Backup Protected Item", + "description": "Create a backup Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/delete", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Delete Protected Items", + "description": "Deletes Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Item Operation Results", + "operation": "Get Protected Items Operation Results", + "description": "Gets Result of Operation Performed on Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Item Operation Status", + "operation": "Get Protected Items operation status", + "description": "Returns the status of Operation performed on Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/backup/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Backup Protected Item", + "description": "Performs Backup for Protected Item." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectableItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Protectable Items", + "operation": "Get Protectable Items", + "description": "Returns list of all Protectable Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/refreshContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Refresh Containers", + "operation": "Refresh container", + "description": "Refreshes the container list" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Refresh Containers Operation Results", + "operation": "Get Operation Results", + "description": "Returns status of the operation" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectionContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Protection Containers", + "operation": "Get Containers In Subscription", + "description": "Returns all containers belonging to the subscription" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers", + "operation": "Get Registered Container", + "description": "Returns all registered containers" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers Operation Results", + "operation": "Get Container Operation Results", + "description": "Gets result of Operation performed on Protection Container." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupEngines", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Engines", + "operation": "List of backup management servers.", + "description": "Returns all the backup management servers registered with vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupStatus", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Status", + "operation": "Check Backup Status for Vault", + "description": "Check Backup Status for Recovery Services Vaults" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPreValidateProtection", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "PreValidate Protection", + "operation": "Pre Validate Enable Protection", + "description": "" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupValidateFeatures", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Validate Features", + "operation": "Validate Features", + "description": "Validate Features" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/backupProtectionIntent/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Intent", + "operation": "Create backup Protection Intent", + "description": "Create a backup Protection Intent" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/{fabricName}/protectionContainers/{containerName}/items/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Workload Items", + "operation": "Get all items in a container", + "description": "Get all items in a container" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/inquire/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers Inquire", + "operation": "Get all items in a container", + "description": "Get all items in a container" + }, + "origin": "user" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListReplicationUsages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListReplicationUsages.json index 611446c5abd2..042fbeff37d8 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListReplicationUsages.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListReplicationUsages.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListResources.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListResources.json index 5e2d51cde54e..c251bac9f538 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListResources.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListResources.json @@ -1,63 +1,63 @@ { - "parameters": { - "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName": "Default-RecoveryServices-ResourceGroup", - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "westus", - "name": "patchtest", - "eTag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"", - "tags": { - "Love": "India" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/patchtest", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - }, - { - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - }, - { - "location": "westus", - "name": "today1", - "eTag": "W/\"datetime'2017-11-21T10%3A52%3A19.633Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/today1", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } - ] + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "westus", + "name": "patchtest", + "eTag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"", + "tags": { + "Love": "India" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/patchtest", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } - } + }, + { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" + } + }, + { + "location": "westus", + "name": "today1", + "eTag": "W/\"datetime'2017-11-21T10%3A52%3A19.633Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/today1", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListUsages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListUsages.json index 3208f5cabeca..d761b95603fa 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListUsages.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListUsages.json @@ -1,180 +1,180 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01" + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01" }, - "responses":{ - "200":{ - "body":{ - "value": [ - { - "unit": "Count", - "currentValue": 6, - "limit": -1, - "name": { - "value": "MABContainersCount", - "localizedValue": "Backup management servers" - } - }, - { - "unit": "Count", - "currentValue": 3, - "limit": -1, - "name": { - "value": "ProtectedItemCount", - "localizedValue": "Backup items/Azure virtual machine backup" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "ProtectedItemCriticalCount", - "localizedValue": "Critical" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "ProtectedItemWarningCount", - "localizedValue": "Warning" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "IaaSVMProtectedItemCount", - "localizedValue": "Azure Virtual Machines" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "IaaSVMProtectedItemCriticalCount", - "localizedValue": "Critical" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "IaaSVMProtectedItemWarningCount", - "localizedValue": "Warning" - } - }, - { - "unit": "Count", - "currentValue": 0, - "limit": -1, - "name": { - "value": "MABProtectedItemCount", - "localizedValue": "File-Folders" - } - }, - { - "unit": "Count", - "currentValue": 1, - "limit": -1, - "name": { - "value": "DPMProtectedItemCount", - "localizedValue": "DPM Protected Items Count" - } - }, - { - "unit": "Count", - "currentValue": 2, - "limit": -1, - "name": { - "value": "AzureBackupServerProtectedItemCount", - "localizedValue": "Azure Backup Server Protected Items Count" - } - }, - { - "unit": "Count", - "quotaPeriod": "P1D", - "currentValue": 0, - "limit": -1, - "name": { - "value": "InProgressJobsCount", - "localizedValue": "In progress" - } - }, - { - "unit": "Count", - "quotaPeriod": "P1D", - "currentValue": 0, - "limit": -1, - "name": { - "value": "FailedJobsCount", - "localizedValue": "Failed" - } - }, - { - "unit": "Bytes", - "currentValue": 117007930, - "limit": -1, - "name": { - "value": "GRSStorageUsage", - "localizedValue": "Cloud - GRS" - } - }, - { - "unit": "Bytes", - "currentValue": 0, - "limit": -1, - "name": { - "value": "LRSStorageUsage", - "localizedValue": "Cloud - LRS" - } - }, - { - "unit": "Count", - "currentValue": 5, - "limit": -1, - "name": { - "value": "ManagedInstances", - "localizedValue": "Protected Instances" - } - }, - { - "unit": "Bytes", - "currentValue": 0, - "limit": -1, - "name": { - "value": "GRSDedupStorageUsage", - "localizedValue": "Dedup - GRS" - } - }, - { - "unit": "Bytes", - "currentValue": 0, - "limit": -1, - "name": { - "value": "LRSDedupStorageUsage", - "localizedValue": "Dedup - LRS" - } - }, - { - "unit": "Bytes", - "currentValue": 117851553792, - "limit": -1, - "name": { - "value": "UsedDiskSize", - "localizedValue": "Backup Engines' Disk Used" - } - } - ] + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Count", + "currentValue": 6, + "limit": -1, + "name": { + "value": "MABContainersCount", + "localizedValue": "Backup management servers" + } + }, + { + "unit": "Count", + "currentValue": 3, + "limit": -1, + "name": { + "value": "ProtectedItemCount", + "localizedValue": "Backup items/Azure virtual machine backup" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "ProtectedItemCriticalCount", + "localizedValue": "Critical" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "ProtectedItemWarningCount", + "localizedValue": "Warning" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "IaaSVMProtectedItemCount", + "localizedValue": "Azure Virtual Machines" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "IaaSVMProtectedItemCriticalCount", + "localizedValue": "Critical" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "IaaSVMProtectedItemWarningCount", + "localizedValue": "Warning" + } + }, + { + "unit": "Count", + "currentValue": 0, + "limit": -1, + "name": { + "value": "MABProtectedItemCount", + "localizedValue": "File-Folders" + } + }, + { + "unit": "Count", + "currentValue": 1, + "limit": -1, + "name": { + "value": "DPMProtectedItemCount", + "localizedValue": "DPM Protected Items Count" + } + }, + { + "unit": "Count", + "currentValue": 2, + "limit": -1, + "name": { + "value": "AzureBackupServerProtectedItemCount", + "localizedValue": "Azure Backup Server Protected Items Count" + } + }, + { + "unit": "Count", + "quotaPeriod": "P1D", + "currentValue": 0, + "limit": -1, + "name": { + "value": "InProgressJobsCount", + "localizedValue": "In progress" + } + }, + { + "unit": "Count", + "quotaPeriod": "P1D", + "currentValue": 0, + "limit": -1, + "name": { + "value": "FailedJobsCount", + "localizedValue": "Failed" + } + }, + { + "unit": "Bytes", + "currentValue": 117007930, + "limit": -1, + "name": { + "value": "GRSStorageUsage", + "localizedValue": "Cloud - GRS" + } + }, + { + "unit": "Bytes", + "currentValue": 0, + "limit": -1, + "name": { + "value": "LRSStorageUsage", + "localizedValue": "Cloud - LRS" + } + }, + { + "unit": "Count", + "currentValue": 5, + "limit": -1, + "name": { + "value": "ManagedInstances", + "localizedValue": "Protected Instances" + } + }, + { + "unit": "Bytes", + "currentValue": 0, + "limit": -1, + "name": { + "value": "GRSDedupStorageUsage", + "localizedValue": "Dedup - GRS" + } + }, + { + "unit": "Bytes", + "currentValue": 0, + "limit": -1, + "name": { + "value": "LRSDedupStorageUsage", + "localizedValue": "Dedup - LRS" + } + }, + { + "unit": "Bytes", + "currentValue": 117851553792, + "limit": -1, + "name": { + "value": "UsedDiskSize", + "localizedValue": "Backup Engines' Disk Used" + } } + ] } + } } -} \ No newline at end of file +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PATCHVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PATCHVault.json index f1440dfe7d5f..3ffee5174e80 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PATCHVault.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PATCHVault.json @@ -1,51 +1,51 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"HelloWorld", - "vaultName":"swaggerExample", - "api-version": "2016-06-01", - "vault":{ - "tags": { - "PatchKey": "PatchKeyUpdated" - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "HelloWorld", + "vaultName": "swaggerExample", + "api-version": "2016-06-01", + "vault": { + "tags": { + "PatchKey": "PatchKeyUpdated" + } + } + }, + "responses": { + "200": { + "body": { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "PatchKey": "PatchKeyUpdated" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } + } }, - "responses":{ - "200":{ - "body":{ - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "PatchKey": "PatchKeyUpdated" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } + "201": { + "body": { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "PatchKey": "PatchKeyUpdated" + }, + "properties": { + "provisioningState": "Succeeded" }, - "201":{ - "body":{ - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "PatchKey": "PatchKeyUpdated" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVault.json index a5cee42b0aff..d2a9dca8334c 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVault.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVault.json @@ -1,53 +1,53 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01", - "vault":{ - "properties": {}, - "sku": { - "name": "Standard" - }, - "location": "West US" + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01", + "vault": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } + } }, - "responses":{ - "200":{ - "body":{ - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } + "201": { + "body": { + "location": "westus", + "name": "swaggerExample", + "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", + "tags": { + "TestUpdatedKey": "TestUpdatedValue" + }, + "properties": { + "provisioningState": "Succeeded" }, - "201":{ - "body":{ - "location": "westus", - "name": "swaggerExample", - "eTag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", - "tags": { - "TestUpdatedKey": "TestUpdatedValue" - }, - "properties": { - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", - "type": "Microsoft.RecoveryServices/vaults", - "sku": { - "name": "Standard" - } - } + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", + "type": "Microsoft.RecoveryServices/vaults", + "sku": { + "name": "Standard" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVaultCred.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVaultCred.json index 2be2b8f86ce1..5871ab1ad58a 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVaultCred.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/PUTVaultCred.json @@ -1,40 +1,40 @@ { - "parameters": { - "subscriptionId": "77777777-d41f-4550-9f70-7708a3a2283b", - "resourceGroupName": "BCDRIbzRG", - "vaultName": "BCDRIbzVault", - "certificateName": "BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", - "api-version": "2016-06-01", - "certificateRequest": { - "properties": { - "authType": "AAD", - "certificate": "MTTC3TCCAcWgAwIBAgIQEj9h+ZLlXK9KrqZX9UkAnzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE3MTIxODA5MTc1M1oXDTE3MTIyMzA5Mjc1M1owHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK773/eZZ69RbZZAT05r9MjUxu9y1L1Pn1EgPk62IPJyHlO3OZA922eSBahhP4bgmFljN4LVReqQ5eT/wqO0Zhc+yFkUy4U4RdbQLeUZt2W7yy9XLXgVvqeYDgsjg/QhHetgHArQBW+tlQq5+zPdU7zchI4rbShSJrWhLrZFWiOyFPsuAE4joUQHNlRifdCTsBGKk8HRCY3j1S3c4bfEn3zxlrvrXXssRuW5mJM95rMk0tskoRxXSCi6i9bnlki2Cs9mpVMmBFeofs41KwzlWU0TgpdD8s1QEdvfGB5NbByfetPX7MfJaTBeHZEGbv/Iq8l72u8sPBoOhcaH7qDE/mECAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAILfgHluye1Q+WelhgWhpBBdIq2C0btfV8eFsZaTlBUrM0fwpxQSlAWc2oYHVMQI4A5iUjbDOY35O4yc+TnWKDBKf+laqDP+yos4aiUPuadGUZfvDk7kuw7xeECs64JpHAIEKdRHFW9rD3gwG+nIWaDnEL/7rTyhL3kXrRW2MSUAL8g3GX8Z45c+MQY0jmASIqWdhGn1vpAGyA9mKkzsqg7FXjg8GZb24tGl5Ky85+ip4dkBfXinDD8WwaGyjhGGK97ErvNmN36qly/H0H1Qngiovg1FbHDmkcFO5QclnEJsFFmcO2CcHp5Fqh2wXn5O1cQaxCIRTpQ/uXRpDjl2wKs=" - } - } - }, - "responses": { - "200": { - "body": { - "name": "BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", - "type": "Microsoft.RecoveryServices/vaults/certificates", - "id": "/Subscriptions/77777777-d41f-4550-9f70-7708a3a2283b/resourceGroups/BCDRIbzRG/providers/Microsoft.RecoveryServices/vaults/BCDRIbzVault/certificates/BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", - "properties": { - "authType": "AzureActiveDirectory", - "certificate": "MTTC3TCCAcWgAwIBAgIQEj9h+ZLlXK9KrqZX9UkAnzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE3MTIxODA5MTc1M1oXDTE3MTIyMzA5Mjc1M1owHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK773/eZZ69RbZZAT05r9MjUxu9y1L1Pn1EgPk62IPJyHlO3OZA922eSBahhP4bgmFljN4LVReqQ5eT/wqO0Zhc+yFkUy4U4RdbQLeUZt2W7yy9XLXgVvqeYDgsjg/QhHetgHArQBW+tlQq5+zPdU7zchI4rbShSJrWhLrZFWiOyFPsuAE4joUQHNlRifdCTsBGKk8HRCY3j1S3c4bfEn3zxlrvrXXssRuW5mJM95rMk0tskoRxXSCi6i9bnlki2Cs9mpVMmBFeofs41KwzlWU0TgpdD8s1QEdvfGB5NbByfetPX7Mf JaTBeHZEGbv/Iq8l72u8sPBoOhcaH7qDE/mECAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAILfgHluye1Q+WelhgWhpBBdIq2C0btfV8eFsZaTlBUrM0fwpxQSlAWc2oYHVMQI4A5iUjbDOY35O4yc+TnWKDBKf+laqDP+yos4aiUPuadGUZfvDk7kuw7xeECs64JpHAIEKdRHFW9rD3gwG+nIWaDnEL/7rTyhL3kXrRW2MSUAL8g3GX8Z45c+MQY0jmASIqWdhGn1vpAGyA9mKkzsqg7FXjg8GZb24tGl5Ky85+ip4dkBfXinDD8WwaGyjhGGK97ErvNmN36qly/H0H1Qngiovg1FbHDmkcFO5QclnEJsFFmcO2CcHp5Fqh2wXn5O1cQaxCIRTpQ/uXRpDjl2wKs=", - "resourceId": 8726350008099341699, - "aadAuthority": "https://login.windows.net", - "aadTenantId": "9b0c2069-2eba-489f-95f4-eca15cb602ab", - "servicePrincipalClientId": "4932d0bd-b5f9-4659-94a0-7ab02d918933", - "servicePrincipalObjectId": "2d60221e-cef5-4e13-ba66-b33701a533bb", - "azureManagementEndpointAudience": "https://ppe1-id1.wus.wabppe.obs-test.com/restapi/", - "subject": "CN=Windows Azure Tools", - "validFrom": "2017-12-18T14:47:53+05:30", - "validTo": "2017-12-23T14:57:53+05:30", - "thumbprint": "019FE9BAD18A5A09A5CA53B593AF66331F3054AF", - "friendlyName": "", - "issuer": "CN=Windows Azure Tools" - } - } + "parameters": { + "subscriptionId": "77777777-d41f-4550-9f70-7708a3a2283b", + "resourceGroupName": "BCDRIbzRG", + "vaultName": "BCDRIbzVault", + "certificateName": "BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", + "api-version": "2016-06-01", + "certificateRequest": { + "properties": { + "authType": "AAD", + "certificate": "MTTC3TCCAcWgAwIBAgIQEj9h+ZLlXK9KrqZX9UkAnzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE3MTIxODA5MTc1M1oXDTE3MTIyMzA5Mjc1M1owHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK773/eZZ69RbZZAT05r9MjUxu9y1L1Pn1EgPk62IPJyHlO3OZA922eSBahhP4bgmFljN4LVReqQ5eT/wqO0Zhc+yFkUy4U4RdbQLeUZt2W7yy9XLXgVvqeYDgsjg/QhHetgHArQBW+tlQq5+zPdU7zchI4rbShSJrWhLrZFWiOyFPsuAE4joUQHNlRifdCTsBGKk8HRCY3j1S3c4bfEn3zxlrvrXXssRuW5mJM95rMk0tskoRxXSCi6i9bnlki2Cs9mpVMmBFeofs41KwzlWU0TgpdD8s1QEdvfGB5NbByfetPX7MfJaTBeHZEGbv/Iq8l72u8sPBoOhcaH7qDE/mECAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAILfgHluye1Q+WelhgWhpBBdIq2C0btfV8eFsZaTlBUrM0fwpxQSlAWc2oYHVMQI4A5iUjbDOY35O4yc+TnWKDBKf+laqDP+yos4aiUPuadGUZfvDk7kuw7xeECs64JpHAIEKdRHFW9rD3gwG+nIWaDnEL/7rTyhL3kXrRW2MSUAL8g3GX8Z45c+MQY0jmASIqWdhGn1vpAGyA9mKkzsqg7FXjg8GZb24tGl5Ky85+ip4dkBfXinDD8WwaGyjhGGK97ErvNmN36qly/H0H1Qngiovg1FbHDmkcFO5QclnEJsFFmcO2CcHp5Fqh2wXn5O1cQaxCIRTpQ/uXRpDjl2wKs=" + } + } + }, + "responses": { + "200": { + "body": { + "name": "BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", + "type": "Microsoft.RecoveryServices/vaults/certificates", + "id": "/Subscriptions/77777777-d41f-4550-9f70-7708a3a2283b/resourceGroups/BCDRIbzRG/providers/Microsoft.RecoveryServices/vaults/BCDRIbzVault/certificates/BCDRIbzVault77777777-d41f-4550-9f70-7708a3a2283b-12-18-2017-vaultcredentials", + "properties": { + "authType": "AzureActiveDirectory", + "certificate": "MTTC3TCCAcWgAwIBAgIQEj9h+ZLlXK9KrqZX9UkAnzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE3MTIxODA5MTc1M1oXDTE3MTIyMzA5Mjc1M1owHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK773/eZZ69RbZZAT05r9MjUxu9y1L1Pn1EgPk62IPJyHlO3OZA922eSBahhP4bgmFljN4LVReqQ5eT/wqO0Zhc+yFkUy4U4RdbQLeUZt2W7yy9XLXgVvqeYDgsjg/QhHetgHArQBW+tlQq5+zPdU7zchI4rbShSJrWhLrZFWiOyFPsuAE4joUQHNlRifdCTsBGKk8HRCY3j1S3c4bfEn3zxlrvrXXssRuW5mJM95rMk0tskoRxXSCi6i9bnlki2Cs9mpVMmBFeofs41KwzlWU0TgpdD8s1QEdvfGB5NbByfetPX7Mf JaTBeHZEGbv/Iq8l72u8sPBoOhcaH7qDE/mECAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAILfgHluye1Q+WelhgWhpBBdIq2C0btfV8eFsZaTlBUrM0fwpxQSlAWc2oYHVMQI4A5iUjbDOY35O4yc+TnWKDBKf+laqDP+yos4aiUPuadGUZfvDk7kuw7xeECs64JpHAIEKdRHFW9rD3gwG+nIWaDnEL/7rTyhL3kXrRW2MSUAL8g3GX8Z45c+MQY0jmASIqWdhGn1vpAGyA9mKkzsqg7FXjg8GZb24tGl5Ky85+ip4dkBfXinDD8WwaGyjhGGK97ErvNmN36qly/H0H1Qngiovg1FbHDmkcFO5QclnEJsFFmcO2CcHp5Fqh2wXn5O1cQaxCIRTpQ/uXRpDjl2wKs=", + "resourceId": 8726350008099341699, + "aadAuthority": "https://login.windows.net", + "aadTenantId": "9b0c2069-2eba-489f-95f4-eca15cb602ab", + "servicePrincipalClientId": "4932d0bd-b5f9-4659-94a0-7ab02d918933", + "servicePrincipalObjectId": "2d60221e-cef5-4e13-ba66-b33701a533bb", + "azureManagementEndpointAudience": "https://ppe1-id1.wus.wabppe.obs-test.com/restapi/", + "subject": "CN=Windows Azure Tools", + "validFrom": "2017-12-18T14:47:53+05:30", + "validTo": "2017-12-23T14:57:53+05:30", + "thumbprint": "019FE9BAD18A5A09A5CA53B593AF66331F3054AF", + "friendlyName": "", + "issuer": "CN=Windows Azure Tools" } + } } + } } diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/UpdateVaultExtendedInfo.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/UpdateVaultExtendedInfo.json index b437bc34f233..cb2150642019 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/UpdateVaultExtendedInfo.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/UpdateVaultExtendedInfo.json @@ -1,28 +1,28 @@ { - "parameters":{ - "subscriptionId":"77777777-b0c6-47a2-b37c-d8e65a629c18", - "resourceGroupName":"Default-RecoveryServices-ResourceGroup", - "vaultName":"swaggerExample", - "api-version": "2016-06-01", - "resourceResourceExtendedInfoDetails":{ - "properties":{ - "integrityKey": "J99wzS27fmJ+Wjot7xO5wA==", - "algorithm": "None" - } - } - }, - "responses":{ - "200":{ - "body":{ - "name": "vaultExtendedInfo", - "eTag": "f0d0260b-b92d-4458-ba0a-32c6cdabacb7", - "properties": { - "integrityKey": "J99wzS27fmJ+Wjot7xO5wA==", - "algorithm": "None" - }, - "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/extendedInformation/vaultExtendedInfo", - "type": "Microsoft.RecoveryServices/vaults/extendedInformation" - } - } + "parameters": { + "subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", + "resourceGroupName": "Default-RecoveryServices-ResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2016-06-01", + "resourceResourceExtendedInfoDetails": { + "properties": { + "integrityKey": "J99wzS27fmJ+Wjot7xO5wA==", + "algorithm": "None" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "name": "vaultExtendedInfo", + "eTag": "f0d0260b-b92d-4458-ba0a-32c6cdabacb7", + "properties": { + "integrityKey": "J99wzS27fmJ+Wjot7xO5wA==", + "algorithm": "None" + }, + "id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/extendedInformation/vaultExtendedInfo", + "type": "Microsoft.RecoveryServices/vaults/extendedInformation" + } + } + } +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredidentities.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredidentities.json index d0643713b4d0..8a7f7386e601 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredidentities.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredidentities.json @@ -365,4 +365,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/replicationusages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/replicationusages.json index a7b1a3fc220a..1d3c5f287130 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/replicationusages.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/replicationusages.json @@ -121,7 +121,7 @@ }, "jobsSummary": { "$ref": "#/definitions/JobsSummary", - "description": "Summary of the replication jobs data for this vault." + "description": "Summary of the replication jobs data for this vault." }, "protectedItemCount": { "description": "Number of replication protected items for this vault.", @@ -205,4 +205,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json index 7b2d44ac0cd6..fba28afd72a3 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json @@ -982,4 +982,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaultusages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaultusages.json index 924beddeba40..2e9f19ea499b 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaultusages.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaultusages.json @@ -186,4 +186,4 @@ ] } ] -} \ No newline at end of file +} From d5aa04d46a74d202f0404387de570f55b0dd4693 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:58:43 -0400 Subject: [PATCH 083/495] chore: jsonfmt recoveryservicesbackup (#6223) Ran `jsonfmt -w "specification/recoveryservicesbackup/**/*.json"` --- .../2016-06-01/recoveryservicesbackup.json | 2 +- .../2016-06-01/registeredIdentities.json | 5 +- .../2016-08-10/examples/ListOperations.json | 921 +++++++++--------- .../stable/2016-08-10/operations.json | 2 +- .../stable/2016-12-01/bms.json | 2 +- .../BackupProtectableItems_List.json | 58 +- .../ClassicCompute_ProtectedItem_Get.json | 70 +- .../Compute_ProtectedItem_Get.json | 70 +- .../AzureIaasVm/ConfigureProtection.json | 50 +- .../ProtectedItemOperationResults.json | 40 +- .../ProtectedItemOperationStatus.json | 50 +- ...ectionPolicies_CreateOrUpdate_Complex.json | 350 +++---- ...tectionPolicies_CreateOrUpdate_Simple.json | 138 +-- .../ProtectionPolicies_Delete.json | 24 +- .../AzureIaasVm/ProtectionPolicies_Get.json | 78 +- .../ProtectionPolicyOperationResults_Get.json | 80 +- ...ProtectionPolicyOperationStatuses_Get.json | 50 +- .../examples/AzureIaasVm/Provision_Ilr.json | 54 +- .../AzureIaasVm/RecoveryPoints_Get.json | 70 +- .../AzureIaasVm/RecoveryPoints_List.json | 136 +-- .../examples/AzureIaasVm/Revoke_Ilr.json | 38 +- .../AzureIaasVm/TriggerRestore_ALR.json | 70 +- .../TriggerRestore_RestoreDisks.json | 22 +- .../ProtectableContainers_List.json | 76 +- .../ProtectionContainers_Inquire.json | 36 +- .../ProtectionContainers_Inquire_Result.json | 30 +- .../ProtectionContainers_Register.json | 50 +- .../BackupWorkloadItems_List.json | 100 +- .../ProtectionContainers_Get.json | 142 +-- .../ProtectionContainers_List.json | 140 +-- .../ProtectionContainers_Unregister.json | 60 +- ...ectionPolicies_CreateOrUpdate_Complex.json | 504 +++++----- .../BackupResourceVaultConfigs_Get.json | 34 +- .../BackupResourceVaultConfigs_Patch.json | 42 +- .../Common/BackupSecurityPin_Get.json | 30 +- .../Common/BackupStorageConfig_Get.json | 40 +- .../Common/BackupStorageConfig_Patch.json | 34 +- .../Common/BackupStorageConfig_Put.json | 54 +- .../Common/CancelJobOperationResult.json | 28 +- .../examples/Common/ProtectedItem_Delete.json | 38 +- .../ProtectedItem_Delete_OperationResult.json | 34 +- .../ProtectedItem_Delete_OperationStatus.json | 38 +- .../examples/Common/RefreshContainers.json | 32 +- .../RefreshContainers_OperationResults.json | 40 +- .../examples/Common/TriggerBackup_Post.json | 46 +- .../examples/Common/TriggerCancelJob.json | 32 +- .../examples/Dpm/BackupEngines_Get.json | 64 +- .../examples/Dpm/BackupEngines_List.json | 114 +-- .../stable/2017-07-01/bms.json | 2 +- .../AzureIaasVm/BackupFeature_Validate.json | 32 +- .../AzureIaasVm/BackupPolicies_List.json | 146 +-- .../BackupProtectedItems_List.json | 72 +- .../examples/AzureIaasVm/GetBackupStatus.json | 44 +- .../ProtectionIntent_CreateOrUpdate.json | 58 +- .../ProtectionIntent_Validate.json | 44 +- .../ValidateOperation_RestoreDisk.json | 5 +- .../AzureWorkload/BackupPolicies_List.json | 132 +-- .../BackupProtectionIntent_Delete.json | 6 +- .../BackupProtectionIntent_Get.json | 3 +- .../BackupProtectionIntent_List.json | 5 +- .../BackupProtectedItem_UsageSummary_Get.json | 118 +-- ...ProtectionContainers_UsageSummary_Get.json | 82 +- .../Common/ExportJobsOperationResult.json | 72 +- .../examples/Common/GetJobDetails.json | 84 +- .../2017-07-01/examples/Common/ListJobs.json | 92 +- .../ListJobsWithAllSupportedFilters.json | 60 +- ...istJobsWithStartTimeAndEndTimeFilters.json | 96 +- .../examples/Common/TriggerExportJobs.json | 30 +- 68 files changed, 2698 insertions(+), 2703 deletions(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/recoveryservicesbackup.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/recoveryservicesbackup.json index 27d809edb5a5..b3ff1484e97e 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/recoveryservicesbackup.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/recoveryservicesbackup.json @@ -4484,4 +4484,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredIdentities.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredIdentities.json index f2f692e15a67..5bb2f0b9f052 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredIdentities.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/registeredIdentities.json @@ -55,8 +55,7 @@ } } }, - "definitions": { - }, + "definitions": {}, "parameters": { "SubscriptionId": { "name": "subscriptionId", @@ -107,4 +106,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ListOperations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ListOperations.json index 4d965a2cfaf9..f4b077d336d0 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ListOperations.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/examples/ListOperations.json @@ -1,462 +1,463 @@ { - "parameters": { - "api-version": "2016-08-10" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "microsoft.recoveryservices/vaults/usages/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Usage", - "operation": "Recovery Services Vault usage details.", - "description": "Returns usage details for a Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupUsageSummaries/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Usages Summaries", - "operation": "Recovery Services Protected Items and Protected Servers usage summaries details.", - "description": "Returns summaries for Protected Items and Protected Servers for a Recovery Services ." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/storageConfig/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Storage Config", - "operation": "Get Resource Storage Config", - "description": "Returns Storage Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/storageConfig/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Storage Config", - "operation": "Write Resource Storage Config", - "description": "Updates Storage Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Config", - "operation": "Get Resource Config", - "description": "Returns Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Vault Config", - "operation": "Update Resource Config", - "description": "Updates Configuration for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/tokenInfo/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Token Info", - "operation": "Get Vault Token Info", - "description": "Returns token information for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupSecurityPIN/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "SecurityPINInfo", - "operation": "Get Security PIN Info", - "description": "Returns Security PIN Information for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupManagementMetaData/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Management Metadata", - "operation": "Get Backup Management Metadata", - "description": "Returns Backup Management Metadata for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupOperationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Operation Results", - "operation": "Get Backup Operation Result", - "description": "Returns Backup Operation Result for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupOperations/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Operation Status", - "operation": "Get Backup Operation Status", - "description": "Returns Backup Operation Status for Recovery Services Vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs", - "operation": "Get Jobs", - "description": "Returns all Job Objects" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/cancel/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs", - "operation": "Cancel Jobs", - "description": "Cancel the Job" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobsExport/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Export Backup Jobs", - "operation": "Export Jobs", - "description": "Export Jobs" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobs/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Jobs Operation Results", - "operation": "Get Job Operation Result", - "description": "Returns the Result of Job Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupJobsExport/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Export Backup Jobs Operation Results", - "operation": "Get Export Job Operation Result", - "description": "Returns the Result of Export Job Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Get Recovery Points", - "description": "Get Recovery Points for Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Restore Recovery Points", - "description": "Restore Recovery Points for Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Provision Instant Item Recovery for Protected Item", - "description": "Provision Instant Item Recovery for Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Recovery Points", - "operation": "Revoke Instant Item Recovery for Protected Item", - "description": "Revoke Instant Item Recovery for Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Get Protection Policy", - "description": "Returns all Protection Policies" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Create Protection Policy", - "description": "Creates Protection Policy" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/delete", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policies", - "operation": "Delete Protection Policy", - "description": "Delete a Protection Policy" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policy Operation Results", - "operation": "Get Policy Operation Results", - "description": "Get Results of Policy Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPolicies/operationsStatus/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Policy Operation Status", - "operation": "Get Policy Operation Status", - "description": "Get Status of Policy Operation." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Get Protected Item Details", - "description": "Returns object details of the Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectedItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Get All Protected Items", - "description": "Returns the list of all Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Create Backup Protected Item", - "description": "Create a backup Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/delete", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Delete Protected Items", - "description": "Deletes Protected Item" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Item Operation Results", - "operation": "Get Protected Items Operation Results", - "description": "Gets Result of Operation Performed on Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Item Operation Status", - "operation": "Get Protected Items operation status", - "description": "Returns the status of Operation performed on Protected Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/backup/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protected Items", - "operation": "Backup Protected Item", - "description": "Performs Backup for Protected Item." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectableItems/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Protectable Items", - "operation": "Get Protectable Items", - "description": "Returns list of all Protectable Items." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/refreshContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Refresh Containers", - "operation": "Refresh container", - "description": "Refreshes the container list" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Refresh Containers Operation Results", - "operation": "Get Operation Results", - "description": "Returns status of the operation" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupProtectionContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Protection Containers", - "operation": "Get Containers In Subscription", - "description": "Returns all containers belonging to the subscription" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers", - "operation": "Get Registered Container", - "description": "Returns all registered containers" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/operationResults/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers Operation Results", - "operation": "Get Container Operation Results", - "description": "Gets result of Operation performed on Protection Container." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupEngines", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Engines", - "operation": "List of backup management servers.", - "description": "Returns all the backup management servers registered with vault." - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupStatus", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Backup Status", - "operation": "Check Backup Status for Vault", - "description": "Check Backup Status for Recovery Services Vaults" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupPreValidateProtection", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "PreValidate Protection", - "operation": "Pre Validate Enable Protection", - "description": "" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupValidateFeatures", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Validate Features", - "operation": "Validate Features", - "description": "Validate Features" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/backupProtectionIntent/write", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Intent", - "operation": "Create backup Protection Intent", - "description": "Create a backup Protection Intent" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/{fabricName}/protectionContainers/{containerName}/items/read", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Workload Items", - "operation": "Get all items in a container", - "description": "Get all items in a container" - }, - "origin": "user" - }, - { - "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/inquire/action", - "display": { - "provider": "microsoft.recoveryservices", - "resource": "Protection Containers Inquire", - "operation": "Get all items in a container", - "description": "Get all items in a container" - }, - "origin": "user" - } - ] - } - } + "parameters": { + "api-version": "2016-08-10" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "microsoft.recoveryservices/vaults/usages/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Usage", + "operation": "Recovery Services Vault usage details.", + "description": "Returns usage details for a Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupUsageSummaries/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Usages Summaries", + "operation": "Recovery Services Protected Items and Protected Servers usage summaries details.", + "description": "Returns summaries for Protected Items and Protected Servers for a Recovery Services ." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/storageConfig/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Storage Config", + "operation": "Get Resource Storage Config", + "description": "Returns Storage Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/storageConfig/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Storage Config", + "operation": "Write Resource Storage Config", + "description": "Updates Storage Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Config", + "operation": "Get Resource Config", + "description": "Returns Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupconfig/vaultconfig/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Vault Config", + "operation": "Update Resource Config", + "description": "Updates Configuration for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/tokenInfo/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Token Info", + "operation": "Get Vault Token Info", + "description": "Returns token information for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupSecurityPIN/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "SecurityPINInfo", + "operation": "Get Security PIN Info", + "description": "Returns Security PIN Information for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupManagementMetaData/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Management Metadata", + "operation": "Get Backup Management Metadata", + "description": "Returns Backup Management Metadata for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupOperationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Operation Results", + "operation": "Get Backup Operation Result", + "description": "Returns Backup Operation Result for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupOperations/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Operation Status", + "operation": "Get Backup Operation Status", + "description": "Returns Backup Operation Status for Recovery Services Vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs", + "operation": "Get Jobs", + "description": "Returns all Job Objects" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/cancel/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs", + "operation": "Cancel Jobs", + "description": "Cancel the Job" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobsExport/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Export Backup Jobs", + "operation": "Export Jobs", + "description": "Export Jobs" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobs/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Jobs Operation Results", + "operation": "Get Job Operation Result", + "description": "Returns the Result of Job Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupJobsExport/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Export Backup Jobs Operation Results", + "operation": "Get Export Job Operation Result", + "description": "Returns the Result of Export Job Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Get Recovery Points", + "description": "Get Recovery Points for Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Restore Recovery Points", + "description": "Restore Recovery Points for Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Provision Instant Item Recovery for Protected Item", + "description": "Provision Instant Item Recovery for Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Recovery Points", + "operation": "Revoke Instant Item Recovery for Protected Item", + "description": "Revoke Instant Item Recovery for Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Get Protection Policy", + "description": "Returns all Protection Policies" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Create Protection Policy", + "description": "Creates Protection Policy" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/delete", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policies", + "operation": "Delete Protection Policy", + "description": "Delete a Protection Policy" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policy Operation Results", + "operation": "Get Policy Operation Results", + "description": "Get Results of Policy Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPolicies/operationsStatus/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Policy Operation Status", + "operation": "Get Policy Operation Status", + "description": "Get Status of Policy Operation." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Get Protected Item Details", + "description": "Returns object details of the Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectedItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Get All Protected Items", + "description": "Returns the list of all Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Create Backup Protected Item", + "description": "Create a backup Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/delete", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Delete Protected Items", + "description": "Deletes Protected Item" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Item Operation Results", + "operation": "Get Protected Items Operation Results", + "description": "Gets Result of Operation Performed on Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Item Operation Status", + "operation": "Get Protected Items operation status", + "description": "Returns the status of Operation performed on Protected Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/protectedItems/backup/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protected Items", + "operation": "Backup Protected Item", + "description": "Performs Backup for Protected Item." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectableItems/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Protectable Items", + "operation": "Get Protectable Items", + "description": "Returns list of all Protectable Items." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/refreshContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Refresh Containers", + "operation": "Refresh container", + "description": "Refreshes the container list" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Refresh Containers Operation Results", + "operation": "Get Operation Results", + "description": "Returns status of the operation" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupProtectionContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Protection Containers", + "operation": "Get Containers In Subscription", + "description": "Returns all containers belonging to the subscription" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers", + "operation": "Get Registered Container", + "description": "Returns all registered containers" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/operationResults/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers Operation Results", + "operation": "Get Container Operation Results", + "description": "Gets result of Operation performed on Protection Container." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupEngines", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Engines", + "operation": "List of backup management servers.", + "description": "Returns all the backup management servers registered with vault." + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupStatus", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Backup Status", + "operation": "Check Backup Status for Vault", + "description": "Check Backup Status for Recovery Services Vaults" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupPreValidateProtection", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "PreValidate Protection", + "operation": "Pre Validate Enable Protection", + "description": "" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupValidateFeatures", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Validate Features", + "operation": "Validate Features", + "description": "Validate Features" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/backupProtectionIntent/write", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Intent", + "operation": "Create backup Protection Intent", + "description": "Create a backup Protection Intent" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/{fabricName}/protectionContainers/{containerName}/items/read", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Workload Items", + "operation": "Get all items in a container", + "description": "Get all items in a container" + }, + "origin": "user" + }, + { + "name": "microsoft.recoveryservices/vaults/backupFabrics/protectionContainers/inquire/action", + "display": { + "provider": "microsoft.recoveryservices", + "resource": "Protection Containers Inquire", + "operation": "Get all items in a container", + "description": "Get all items in a container" + }, + "origin": "user" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json index 543b6c97cda4..38de1d826c68 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json @@ -181,4 +181,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index 5bd52620e350..36d4e241e8ff 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -6840,4 +6840,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/BackupProtectableItems_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/BackupProtectableItems_List.json index 0174649c13d7..3083c1f00dd6 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/BackupProtectableItems_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/BackupProtectableItems_List.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2016-06-01", - "$filter": "backupManagementType eq 'AzureIaasVM'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectableItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems", - "properties": { - "friendlyName": "iaasvm-1", - "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", - "protectionState": "NotProtected", - "protectableItemType": "Microsoft.ClassicCompute/virtualMachines", - "backupManagementType": "AzureIaasVM", - "workloadType": "VM", - "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2016-06-01", + "$filter": "backupManagementType eq 'AzureIaasVM'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectableItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems", + "properties": { + "friendlyName": "iaasvm-1", + "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", + "protectionState": "NotProtected", + "protectableItemType": "Microsoft.ClassicCompute/virtualMachines", + "backupManagementType": "AzureIaasVM", + "workloadType": "VM", + "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json index 65308045dd57..c1dfd15bc518 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json @@ -1,38 +1,38 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", - "properties": { - "friendlyName": "iaasvm-1", - "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", - "protectionStatus": "Healthy", - "protectionState": "Protected", - "healthStatus": "Passed", - "lastBackupStatus": "Completed", - "lastBackupTime": "2018-01-22T12:25:32.048723Z", - "protectedItemDataId": "636482643132986882", - "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", - "backupManagementType": "AzureIaasVM", - "workloadType": "VM", - "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", - "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", - "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", + "properties": { + "friendlyName": "iaasvm-1", + "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", + "protectionStatus": "Healthy", + "protectionState": "Protected", + "healthStatus": "Passed", + "lastBackupStatus": "Completed", + "lastBackupTime": "2018-01-22T12:25:32.048723Z", + "protectedItemDataId": "636482643132986882", + "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", + "backupManagementType": "AzureIaasVM", + "workloadType": "VM", + "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", + "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", + "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json index c0723d0e5547..208c7be624ee 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json @@ -1,38 +1,38 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", - "protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", - "name": "VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", - "properties": { - "friendlyName": "iaasvm-1", - "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", - "protectionStatus": "Healthy", - "protectionState": "Protected", - "healthStatus": "Passed", - "lastBackupStatus": "Completed", - "lastBackupTime": "2018-01-22T12:25:32.048723Z", - "protectedItemDataId": "636482643132986882", - "protectedItemType": "Microsoft.Compute/virtualMachines", - "backupManagementType": "AzureIaasVM", - "workloadType": "VM", - "containerName": "iaasvmcontainerv2;iaasvm-rg;iaasvm-1", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", - "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", - "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", + "protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", + "name": "VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", + "properties": { + "friendlyName": "iaasvm-1", + "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", + "protectionStatus": "Healthy", + "protectionState": "Protected", + "healthStatus": "Passed", + "lastBackupStatus": "Completed", + "lastBackupTime": "2018-01-22T12:25:32.048723Z", + "protectedItemDataId": "636482643132986882", + "protectedItemType": "Microsoft.Compute/virtualMachines", + "backupManagementType": "AzureIaasVM", + "workloadType": "VM", + "containerName": "iaasvmcontainerv2;iaasvm-rg;iaasvm-1", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", + "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", + "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ConfigureProtection.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ConfigureProtection.json index b99c2a74ba2e..1a3477c5549f 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ConfigureProtection.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ConfigureProtection.json @@ -1,28 +1,28 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "protectedItemType": "Microsoft.Compute/virtualMachines", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", - "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy" - } - } - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "properties": { + "protectedItemType": "Microsoft.Compute/virtualMachines", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", + "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy" + } } -} \ No newline at end of file + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationResults.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationResults.json index 576cbb12a519..88bdbaae23ea 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationResults.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationResults.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-12-01" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json index ab46b68e3e7e..a8bb0fc1f636 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "status": "Succeeded", - "startTime": "2017-10-29T06:04:18.207325Z", - "endTime": "2017-10-29T06:04:18.207325Z", - "properties": { - "objectType": "OperationStatusJobExtendedInfo", - "jobId": "00000000-0000-0000-0000-000000000000" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded", + "startTime": "2017-10-29T06:04:18.207325Z", + "endTime": "2017-10-29T06:04:18.207325Z", + "properties": { + "objectType": "OperationStatusJobExtendedInfo", + "jobId": "00000000-0000-0000-0000-000000000000" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json index 54fd76d0b2b5..8e3a5d14ce9c 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -1,182 +1,182 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "api-version": "2016-06-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "api-version": "2016-06-01", - "parameters": { - "properties": { - "backupManagementType": "AzureIaasVM", - "timeZone": "Pacific Standard Time", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleRunDays": [ - "Monday", - "Wednesday", - "Thursday" - ] - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "weeklySchedule": { - "daysOfTheWeek": [ - "Monday", - "Wednesday", - "Thursday" - ], - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Wednesday", - "Thursday" - ], - "weeksOfTheMonth": [ - "First", - "Third" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 2, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "February", - "November" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Monday", - "Thursday" - ], - "weeksOfTheMonth": [ - "Fourth" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 4, - "durationType": "Years" - } - } - } + "properties": { + "backupManagementType": "AzureIaasVM", + "timeZone": "Pacific Standard Time", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleRunDays": [ + "Monday", + "Wednesday", + "Thursday" + ] + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "weeklySchedule": { + "daysOfTheWeek": [ + "Monday", + "Wednesday", + "Thursday" + ], + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Weeks" } - } - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunDays": [ - "Monday", - "Wednesday", - "Thursday" - ], - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "weeklySchedule": { - "daysOfTheWeek": [ - "Monday", - "Wednesday", - "Thursday" - ], - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Wednesday", - "Thursday" - ], - "weeksOfTheMonth": [ - "First", - "Third" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 2, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "February", - "November" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Monday", - "Thursday" - ], - "weeksOfTheMonth": [ - "Fourth" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 4, - "durationType": "Years" - } - } - }, - "timeZone": "Pacific Standard Time", - "protectedItemsCount": 0 - } + }, + "monthlySchedule": { + "retentionScheduleFormatType": "Weekly", + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Wednesday", + "Thursday" + ], + "weeksOfTheMonth": [ + "First", + "Third" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 2, + "durationType": "Months" } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Retry-After": 60 + }, + "yearlySchedule": { + "retentionScheduleFormatType": "Weekly", + "monthsOfYear": [ + "February", + "November" + ], + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Monday", + "Thursday" + ], + "weeksOfTheMonth": [ + "Fourth" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 4, + "durationType": "Years" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunDays": [ + "Monday", + "Wednesday", + "Thursday" + ], + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "weeklySchedule": { + "daysOfTheWeek": [ + "Monday", + "Wednesday", + "Thursday" + ], + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Weeks" + } }, - "body": {} + "monthlySchedule": { + "retentionScheduleFormatType": "Weekly", + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Wednesday", + "Thursday" + ], + "weeksOfTheMonth": [ + "First", + "Third" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 2, + "durationType": "Months" + } + }, + "yearlySchedule": { + "retentionScheduleFormatType": "Weekly", + "monthsOfYear": [ + "February", + "November" + ], + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Monday", + "Thursday" + ], + "weeksOfTheMonth": [ + "Fourth" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 4, + "durationType": "Years" + } + } + }, + "timeZone": "Pacific Standard Time", + "protectedItemsCount": 0 } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json index 204fc3a0e718..6ee8e3077c80 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json @@ -1,76 +1,76 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "api-version": "2016-06-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "api-version": "2016-06-01", - "parameters": { - "properties": { - "backupManagementType": "AzureIaasVM", - "timeZone": "Pacific Standard Time", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2018-01-24T02:00:00Z" - ] - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2018-01-24T02:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Days" - } - } - } + "properties": { + "backupManagementType": "AzureIaasVM", + "timeZone": "Pacific Standard Time", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2018-01-24T02:00:00Z" + ] + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2018-01-24T02:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Days" } + } } - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2018-01-24T02:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2018-01-24T02:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Days" - } - } - }, - "timeZone": "Pacific Standard Time", - "protectedItemsCount": 0 - } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2018-01-24T02:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2018-01-24T02:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Days" + } } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Retry-After": 60 - }, - "body": {} + }, + "timeZone": "Pacific Standard Time", + "protectedItemsCount": 0 } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json index b8d69f978276..100f5dad2936 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json @@ -1,14 +1,14 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Get.json index 42c2c507d70a..6a698287fb6a 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicies_Get.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2018-01-24T02:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2018-01-24T02:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Days" - } - } - }, - "timeZone": "Pacific Standard Time", - "protectedItemsCount": 0 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2018-01-24T02:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2018-01-24T02:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Days" + } } + }, + "timeZone": "Pacific Standard Time", + "protectedItemsCount": 0 } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json index 09d3e895a218..a3dbfc71880a 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json @@ -1,44 +1,44 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2018-01-24T02:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2018-01-24T02:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Days" - } - } - }, - "timeZone": "Pacific Standard Time", - "protectedItemsCount": 1 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2018-01-24T02:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2018-01-24T02:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Days" + } } + }, + "timeZone": "Pacific Standard Time", + "protectedItemsCount": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json index e0a10121c762..5dc4ee72c7f2 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-06-01" - }, - "responses": { - "200": { - "body": { - "id": "00000000-0000-0000-0000-000000000000", - "name": "GetProtectionPolicyOperationStatus", - "status": "Succeeded", - "startTime": "2018-01-24T12:57:32.1142968Z", - "endTime": "2018-01-24T12:57:32.1142968Z", - "properties": { - "objectType": "OperationStatusJobsExtendedInfo", - "jobIds": [ - "00000000-0000-0000-0000-000000000000" - ], - "failedJobsError": {} - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-06-01" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "GetProtectionPolicyOperationStatus", + "status": "Succeeded", + "startTime": "2018-01-24T12:57:32.1142968Z", + "endTime": "2018-01-24T12:57:32.1142968Z", + "properties": { + "objectType": "OperationStatusJobsExtendedInfo", + "jobIds": [ + "00000000-0000-0000-0000-000000000000" + ], + "failedJobsError": {} } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Provision_Ilr.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Provision_Ilr.json index 628989cbe826..1bc3dbc0b737 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Provision_Ilr.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Provision_Ilr.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "initiatorName": "Hello World", - "recoveryPointId": "38823086363464", - "renewExistingRegistration": true, - "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pysdktestrg/providers/Microsoft.Compute/virtualMachines/pysdktestv2vm1", - "objectType": "IaasVMILRRegistrationRequest" - } - } - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "properties": { + "initiatorName": "Hello World", + "recoveryPointId": "38823086363464", + "renewExistingRegistration": true, + "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pysdktestrg/providers/Microsoft.Compute/virtualMachines/pysdktestv2vm1", + "objectType": "IaasVMILRRegistrationRequest" + } } -} \ No newline at end of file + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_Get.json index 2e50b69963dc..3775558d6cf8 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_Get.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rshhtestmdvmrg", - "vaultName": "rshvault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", - "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", - "recoveryPointId": "26083826328862", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/26083826328862", - "name": "26083826328862", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", - "properties": { - "objectType": "IaasVMRecoveryPoint", - "recoveryPointType": "CrashConsistent", - "recoveryPointTime": "2017-11-22T22:32:46.6088472Z", - "recoveryPointAdditionalInfo": "", - "sourceVMStorageType": "NormalStorage", - "isSourceVMEncrypted": false, - "isInstantIlrSessionActive": false, - "recoveryPointTierDetails": [ - { - "type": 2, - "status": 1 - } - ], - "isManagedVirtualMachine": true, - "virtualMachineSize": "Standard_D1", - "originalStorageAccountOption": false - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rshhtestmdvmrg", + "vaultName": "rshvault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", + "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", + "recoveryPointId": "26083826328862", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/26083826328862", + "name": "26083826328862", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", + "properties": { + "objectType": "IaasVMRecoveryPoint", + "recoveryPointType": "CrashConsistent", + "recoveryPointTime": "2017-11-22T22:32:46.6088472Z", + "recoveryPointAdditionalInfo": "", + "sourceVMStorageType": "NormalStorage", + "isSourceVMEncrypted": false, + "isInstantIlrSessionActive": false, + "recoveryPointTierDetails": [ + { + "type": 2, + "status": 1 } + ], + "isManagedVirtualMachine": true, + "virtualMachineSize": "Standard_D1", + "originalStorageAccountOption": false } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_List.json index 0004f3af7822..578daecf2191 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/RecoveryPoints_List.json @@ -1,71 +1,71 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rshhtestmdvmrg", - "vaultName": "rshvault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", - "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/22244821112382", - "name": "22244821112382", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", - "properties": { - "objectType": "IaasVMRecoveryPoint", - "recoveryPointType": "CrashConsistent", - "recoveryPointTime": "2017-12-21T22:48:25.4353958Z", - "recoveryPointAdditionalInfo": "", - "sourceVMStorageType": "NormalStorage", - "isSourceVMEncrypted": false, - "isInstantIlrSessionActive": false, - "recoveryPointTierDetails": [ - { - "type": 1, - "status": 1 - }, - { - "type": 2, - "status": 1 - } - ], - "isManagedVirtualMachine": true, - "virtualMachineSize": "Standard_D1", - "originalStorageAccountOption": false - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/24977149827250", - "name": "24977149827250", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", - "properties": { - "objectType": "IaasVMRecoveryPoint", - "recoveryPointType": "CrashConsistent", - "recoveryPointTime": "2017-12-20T22:49:44.3317945Z", - "recoveryPointAdditionalInfo": "", - "sourceVMStorageType": "NormalStorage", - "isSourceVMEncrypted": false, - "isInstantIlrSessionActive": false, - "recoveryPointTierDetails": [ - { - "type": 1, - "status": 1 - }, - { - "type": 2, - "status": 1 - } - ], - "isManagedVirtualMachine": true, - "virtualMachineSize": "Standard_D1", - "originalStorageAccountOption": false - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rshhtestmdvmrg", + "vaultName": "rshvault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", + "protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/22244821112382", + "name": "22244821112382", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", + "properties": { + "objectType": "IaasVMRecoveryPoint", + "recoveryPointType": "CrashConsistent", + "recoveryPointTime": "2017-12-21T22:48:25.4353958Z", + "recoveryPointAdditionalInfo": "", + "sourceVMStorageType": "NormalStorage", + "isSourceVMEncrypted": false, + "isInstantIlrSessionActive": false, + "recoveryPointTierDetails": [ + { + "type": 1, + "status": 1 + }, + { + "type": 2, + "status": 1 + } + ], + "isManagedVirtualMachine": true, + "virtualMachineSize": "Standard_D1", + "originalStorageAccountOption": false + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/24977149827250", + "name": "24977149827250", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints", + "properties": { + "objectType": "IaasVMRecoveryPoint", + "recoveryPointType": "CrashConsistent", + "recoveryPointTime": "2017-12-20T22:49:44.3317945Z", + "recoveryPointAdditionalInfo": "", + "sourceVMStorageType": "NormalStorage", + "isSourceVMEncrypted": false, + "isInstantIlrSessionActive": false, + "recoveryPointTierDetails": [ + { + "type": 1, + "status": 1 + }, + { + "type": 2, + "status": 1 + } + ], + "isManagedVirtualMachine": true, + "virtualMachineSize": "Standard_D1", + "originalStorageAccountOption": false + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Revoke_Ilr.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Revoke_Ilr.json index 3387f4e52591..9803a3e5c8dd 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Revoke_Ilr.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/Revoke_Ilr.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "api-version": "2016-12-01" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/protectedItems/vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_ALR.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_ALR.json index 691c0dc47b8f..da034008d277 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_ALR.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_ALR.json @@ -1,41 +1,41 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "netsdktestrg", + "vaultName": "testVault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "recoveryPointId": "348916168024334", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "netsdktestrg", - "vaultName": "testVault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", - "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", + "properties": { + "objectType": "IaasVMRestoreRequest", "recoveryPointId": "348916168024334", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "objectType": "IaasVMRestoreRequest", - "recoveryPointId": "348916168024334", - "recoveryType": "AlternateLocation", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", - "targetVirtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2/providers/Microsoft.Compute/virtualmachines/RSMDALRVM981435", - "targetResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2", - "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Storage/storageAccounts/testingAccount", - "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet", - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet/subnets/default", - "region": "southeastasia", - "createNewCloudService": false, - "originalStorageAccountOption": false, - "encryptionDetails": { - "encryptionEnabled": false - } + "recoveryType": "AlternateLocation", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", + "targetVirtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2/providers/Microsoft.Compute/virtualmachines/RSMDALRVM981435", + "targetResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg2", + "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Storage/storageAccounts/testingAccount", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Network/virtualNetworks/testNet/subnets/default", + "region": "southeastasia", + "createNewCloudService": false, + "originalStorageAccountOption": false, + "encryptionDetails": { + "encryptionEnabled": false } } - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Retry-After": 60 - }, - "body": {} - } } -} \ No newline at end of file + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Retry-After": 60 + }, + "body": {} + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json index 3b879f071cb4..278449a92cea 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks.json @@ -10,7 +10,7 @@ "api-version": "2016-12-01", "parameters": { "properties": { - "objectType": "IaasVMRestoreRequest", + "objectType": "IaasVMRestoreRequest", "recoveryPointId": "348916168024334", "recoveryType": "RestoreDisks", "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", @@ -24,14 +24,14 @@ } } }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/protectedItems/vm;iaasVMContainerV2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectableContainers_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectableContainers_List.json index c71aee44cb3f..9e1f0b3dc5d2 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectableContainers_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectableContainers_List.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "vaultName": "testvault", - "fabricName": "Azure", - "api-version": "2017-07-01", - "$filter": "backupManagementType eq 'AzureStorage' and workloadType eq 'AzureFileShare'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;storage;test-rg;teststorage", - "name": "StorageContainer;storage;test-rg;testst", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers", - "properties": { - "friendlyName": "teststorage", - "backupManagementType": "AzureStorage", - "protectableContainerType": "StorageContainer", - "healthStatus": "Healthy", - "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorage" - } - }, - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;ClassicStorage;test-rg;teststorage", - "name": "StorageContainer;ClassicStorage;test-rg;teststorage", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers", - "properties": { - "friendlyName": "teststorage", - "backupManagementType": "AzureStorage", - "protectableContainerType": "StorageContainer", - "healthStatus": "Healthy", - "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ClassicStorage/storageAccounts/teststorage" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vaultName": "testvault", + "fabricName": "Azure", + "api-version": "2017-07-01", + "$filter": "backupManagementType eq 'AzureStorage' and workloadType eq 'AzureFileShare'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;storage;test-rg;teststorage", + "name": "StorageContainer;storage;test-rg;testst", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers", + "properties": { + "friendlyName": "teststorage", + "backupManagementType": "AzureStorage", + "protectableContainerType": "StorageContainer", + "healthStatus": "Healthy", + "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorage" } - } + }, + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;ClassicStorage;test-rg;teststorage", + "name": "StorageContainer;ClassicStorage;test-rg;teststorage", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers", + "properties": { + "friendlyName": "teststorage", + "backupManagementType": "AzureStorage", + "protectableContainerType": "StorageContainer", + "healthStatus": "Healthy", + "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ClassicStorage/storageAccounts/teststorage" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire.json index 6d847ab29f93..82136aa80d63 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "vaultName": "testvault", - "fabricName": "Azure", - "containerName": "storagecontainer;Storage;test-rg;teststorage", - "api-version": "2017-07-01" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "test-rg", + "vaultName": "testvault", + "fabricName": "Azure", + "containerName": "storagecontainer;Storage;test-rg;teststorage", + "api-version": "2017-07-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json index 7088f33d918f..bcbf20b86c58 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "vaultName": "testvault", - "fabricName": "Azure", - "containerName": "storagecontainer;Storage;test-rg;teststorage", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2017-07-01" - }, - "responses": { - "204": { - "headers": {}, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "test-rg", + "vaultName": "testvault", + "fabricName": "Azure", + "containerName": "storagecontainer;Storage;test-rg;teststorage", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2017-07-01" + }, + "responses": { + "204": { + "headers": {}, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Register.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Register.json index 9090de3a0851..db0d943d1f68 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Register.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureStorage/ProtectionContainers_Register.json @@ -1,28 +1,28 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "test-rg", + "vaultName": "testvault", + "fabricName": "Azure", + "containerName": "storagecontainer;Storage;test-rg;teststorage", + "api-version": "2017-07-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "test-rg", - "vaultName": "testvault", - "fabricName": "Azure", - "containerName": "storagecontainer;Storage;test-rg;teststorage", - "api-version": "2017-07-01", - "parameters": { - "properties": { - "friendlyName": "teststorage", - "backupManagementType": "AzureStorage", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorage", - "containerType": "StorageContainer" - } - } - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Retry-After": 60 - }, - "body": {} - } + "properties": { + "friendlyName": "teststorage", + "backupManagementType": "AzureStorage", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorage", + "containerType": "StorageContainer" + } } -} \ No newline at end of file + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Retry-After": 60 + }, + "body": {} + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/BackupWorkloadItems_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/BackupWorkloadItems_List.json index a2fb4b3635d5..21436acb8333 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/BackupWorkloadItems_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/BackupWorkloadItems_List.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRg", - "vaultName": "testVault", - "api-version": "2016-12-01", - "$filter": "backupManagementType eq 'AzureWorkload'", - "backupFabrics": "Azure", - "protectionContainers": "VMAppContainer;Compute;testRG;testSQL" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "backupManagementType": "AzureWorkload", - "dataDirectoryPaths": [ - { - "type": "Data", - "path": "F:\\Data\\", - "logicalName": null - }, - { - "type": "Log", - "path": "F:\\Log\\", - "logicalName": null - } - ], - "name": null, - "id": null, - "status": { - "name": null, - "displayName": null, - "infoText": null, - "severity": null, - "operationState": null - }, - "type": null, - "location": null, - "friendlyName": "MSSQLSERVER", - "resourceGroup": null, - "resourceName": null, - "subscriptionId": null, - "providerName": null, - "resourceType": null - } - ], - "nextLink": null - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRg", + "vaultName": "testVault", + "api-version": "2016-12-01", + "$filter": "backupManagementType eq 'AzureWorkload'", + "backupFabrics": "Azure", + "protectionContainers": "VMAppContainer;Compute;testRG;testSQL" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "backupManagementType": "AzureWorkload", + "dataDirectoryPaths": [ + { + "type": "Data", + "path": "F:\\Data\\", + "logicalName": null + }, + { + "type": "Log", + "path": "F:\\Log\\", + "logicalName": null + } + ], + "name": null, + "id": null, + "status": { + "name": null, + "displayName": null, + "infoText": null, + "severity": null, + "operationState": null + }, + "type": null, + "location": null, + "friendlyName": "MSSQLSERVER", + "resourceGroup": null, + "resourceName": null, + "subscriptionId": null, + "providerName": null, + "resourceType": null + } + ], + "nextLink": null + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Get.json index 167edab5153f..c04f0350024b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Get.json @@ -1,74 +1,74 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRg", - "vaultName": "testVault", - "api-version": "2016-12-01", - "protectionContainers": "VMAppContainer;Compute;testRG;testSQL", - "backupFabrics": "Azure", - "$filter": "backupManagementType eq 'AzureWorkload'" - }, - "responses": { - "200": { - "body": { - "resultArray": [ - { - "hostServerName": "testsql", - "backupReadiness": "Success", - "backupReadinessText": "Ready", - "registrationStatus": "Registered", - "details": "14 DB(s) Found", - "nodeList": [], - "inquiryInfo": { - "status": "Success", - "errorDetails": { - "errorCode": "Success", - "errorString": "Not Available", - "recommendations": [ - "Not Available" - ] - }, - "workloadInquiryDetails": [ - { - "type": "sql", - "itemCount": 14, - "inquiryValidation": { - "status": "Success", - "errorDetails": { - "errorCode": "Success", - "errorString": "Not Available", - "recommendations": [ - "Not Available" - ] - } - } - } - ] - }, - "inquiryErrorDetails": null, - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testSQL", - "sourceResourceRG": "testRG", - "backupManagementType": "AzureWorkload", - "workloadType": null, - "containerType": "VMAppContainer", - "containerId": null, - "containerName": null, - "name": "VMAppContainer;Compute;testRG;testSQL", - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;testRG;testSQL", - "status": null, - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers", - "location": null, - "friendlyName": "testSQL", - "resourceGroup": "testRg", - "resourceName": "testVault", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "providerName": "Microsoft.RecoveryServices", - "resourceType": "vaults" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRg", + "vaultName": "testVault", + "api-version": "2016-12-01", + "protectionContainers": "VMAppContainer;Compute;testRG;testSQL", + "backupFabrics": "Azure", + "$filter": "backupManagementType eq 'AzureWorkload'" + }, + "responses": { + "200": { + "body": { + "resultArray": [ + { + "hostServerName": "testsql", + "backupReadiness": "Success", + "backupReadinessText": "Ready", + "registrationStatus": "Registered", + "details": "14 DB(s) Found", + "nodeList": [], + "inquiryInfo": { + "status": "Success", + "errorDetails": { + "errorCode": "Success", + "errorString": "Not Available", + "recommendations": [ + "Not Available" + ] + }, + "workloadInquiryDetails": [ + { + "type": "sql", + "itemCount": 14, + "inquiryValidation": { + "status": "Success", + "errorDetails": { + "errorCode": "Success", + "errorString": "Not Available", + "recommendations": [ + "Not Available" + ] } - ], - "totalCount": 0, - "continuationToken": null - } - } + } + } + ] + }, + "inquiryErrorDetails": null, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testSQL", + "sourceResourceRG": "testRG", + "backupManagementType": "AzureWorkload", + "workloadType": null, + "containerType": "VMAppContainer", + "containerId": null, + "containerName": null, + "name": "VMAppContainer;Compute;testRG;testSQL", + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;testRG;testSQL", + "status": null, + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers", + "location": null, + "friendlyName": "testSQL", + "resourceGroup": "testRg", + "resourceName": "testVault", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerName": "Microsoft.RecoveryServices", + "resourceType": "vaults" + } + ], + "totalCount": 0, + "continuationToken": null + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_List.json index 0e161879a745..5358ddbc289f 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_List.json @@ -1,73 +1,73 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRg", - "vaultName": "testVault", - "api-version": "2016-12-01", - "backupFabrics": "Azure", - "$filter": "backupManagementType eq 'AzureWorkload'" - }, - "responses": { - "200": { - "body": { - "resultArray": [ - { - "hostServerName": "testsql", - "backupReadiness": "Success", - "backupReadinessText": "Ready", - "registrationStatus": "Registered", - "details": "14 DB(s) Found", - "nodeList": [], - "inquiryInfo": { - "status": "Success", - "errorDetails": { - "errorCode": "Success", - "errorString": "Not Available", - "recommendations": [ - "Not Available" - ] - }, - "workloadInquiryDetails": [ - { - "type": "sql", - "itemCount": 14, - "inquiryValidation": { - "status": "Success", - "errorDetails": { - "errorCode": "Success", - "errorString": "Not Available", - "recommendations": [ - "Not Available" - ] - } - } - } - ] - }, - "inquiryErrorDetails": null, - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testSQL", - "sourceResourceRG": "testRG", - "backupManagementType": "AzureWorkload", - "workloadType": null, - "containerType": "VMAppContainer", - "containerId": null, - "containerName": null, - "name": "VMAppContainer;Compute;testRG;testSQL", - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;testRG;testSQL", - "status": null, - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers", - "location": null, - "friendlyName": "testSQL", - "resourceGroup": "testRg", - "resourceName": "testVault", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "providerName": "Microsoft.RecoveryServices", - "resourceType": "vaults" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRg", + "vaultName": "testVault", + "api-version": "2016-12-01", + "backupFabrics": "Azure", + "$filter": "backupManagementType eq 'AzureWorkload'" + }, + "responses": { + "200": { + "body": { + "resultArray": [ + { + "hostServerName": "testsql", + "backupReadiness": "Success", + "backupReadinessText": "Ready", + "registrationStatus": "Registered", + "details": "14 DB(s) Found", + "nodeList": [], + "inquiryInfo": { + "status": "Success", + "errorDetails": { + "errorCode": "Success", + "errorString": "Not Available", + "recommendations": [ + "Not Available" + ] + }, + "workloadInquiryDetails": [ + { + "type": "sql", + "itemCount": 14, + "inquiryValidation": { + "status": "Success", + "errorDetails": { + "errorCode": "Success", + "errorString": "Not Available", + "recommendations": [ + "Not Available" + ] } - ], - "totalCount": 0, - "continuationToken": null - } - } + } + } + ] + }, + "inquiryErrorDetails": null, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testSQL", + "sourceResourceRG": "testRG", + "backupManagementType": "AzureWorkload", + "workloadType": null, + "containerType": "VMAppContainer", + "containerId": null, + "containerName": null, + "name": "VMAppContainer;Compute;testRG;testSQL", + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;testRG;testSQL", + "status": null, + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers", + "location": null, + "friendlyName": "testSQL", + "resourceGroup": "testRg", + "resourceName": "testVault", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerName": "Microsoft.RecoveryServices", + "resourceType": "vaults" + } + ], + "totalCount": 0, + "continuationToken": null + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Unregister.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Unregister.json index 5fc473533894..ef10c5172b3b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Unregister.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionContainers_Unregister.json @@ -1,33 +1,33 @@ { - "parameters": { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRg", + "vaultName": "testVault", + "api-version": "2016-12-01", + "backupFabrics": "Azure", + "protectionContainers": "VMAppContainer;Compute;testRG;testSQL" + }, + "responses": { + "200": { + "body": { + "name": "testVault", + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "status": { + "name": null, + "displayName": null, + "infoText": null, + "severity": null, + "operationState": "InProgress" + }, + "type": null, + "location": null, + "friendlyName": "testVault", + "resourceGroup": "testRg", + "resourceName": "testVault", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRg", - "vaultName": "testVault", - "api-version": "2016-12-01", - "backupFabrics": "Azure", - "protectionContainers": "VMAppContainer;Compute;testRG;testSQL" - }, - "responses": { - "200": { - "body": { - "name": "testVault", - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "status": { - "name": null, - "displayName": null, - "infoText": null, - "severity": null, - "operationState": "InProgress" - }, - "type": null, - "location": null, - "friendlyName": "testVault", - "resourceGroup": "testRg", - "resourceName": "testVault", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "providerName": "Microsoft.RecoveryServices", - "resourceType": "vaults" - } - } + "providerName": "Microsoft.RecoveryServices", + "resourceType": "vaults" + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json index e2228c79b624..c74895f84166 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -1,261 +1,261 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "policyName": "testPolicy1", + "api-version": "2016-06-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "policyName": "testPolicy1", - "api-version": "2016-06-01", - "parameters": { - "properties": { - "backupManagementType": "AzureWorkload", - "workLoadType": "SQLDataBase", - "settings": { - "timeZone": "Pacific Standard Time", - "issqlcompression": false + "properties": { + "backupManagementType": "AzureWorkload", + "workLoadType": "SQLDataBase", + "settings": { + "timeZone": "Pacific Standard Time", + "issqlcompression": false + }, + "subProtectionPolicy": [ + { + "policyType": "Full", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleRunDays": [ + "Sunday", + "Tuesday" + ] + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "weeklySchedule": { + "daysOfTheWeek": [ + "Sunday", + "Tuesday" + ], + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 2, + "durationType": "Weeks" + } + }, + "monthlySchedule": { + "retentionScheduleFormatType": "Weekly", + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Sunday" + ], + "weeksOfTheMonth": [ + "Second" + ] }, - "subProtectionPolicy": [ - { - "policyType": "Full", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleRunDays": [ - "Sunday", - "Tuesday" - ] - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "weeklySchedule": { - "daysOfTheWeek": [ - "Sunday", - "Tuesday" - ], - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 2, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "Second" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "January", - "June", - "December" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "Last" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Years" - } - } - } - }, - { - "policyType": "Differential", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleRunDays": [ - "Friday" - ] - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 8, - "durationType": "Days" - } - } - }, - { - "policyType": "Log", - "schedulePolicy": { - "schedulePolicyType": "LogSchedulePolicy", - "scheduleFrequencyInMins": 60 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 7, - "durationType": "Days" - } - } - } - ] + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Months" + } + }, + "yearlySchedule": { + "retentionScheduleFormatType": "Weekly", + "monthsOfYear": [ + "January", + "June", + "December" + ], + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Sunday" + ], + "weeksOfTheMonth": [ + "Last" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Years" + } + } } - } - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureWorkload", - "workLoadType": "SQLDataBase", - "settings": { - "timeZone": "Pacific Standard Time", - "issqlcompression": false - }, - "subProtectionPolicy": [ - { - "policyType": "Full", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunDays": [ - "Sunday", - "Tuesday" - ], - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "weeklySchedule": { - "daysOfTheWeek": [ - "Sunday", - "Tuesday" - ], - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 2, - "durationType": "Weeks" - } - }, - "monthlySchedule": { - "retentionScheduleFormatType": "Weekly", - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "Second" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Months" - } - }, - "yearlySchedule": { - "retentionScheduleFormatType": "Weekly", - "monthsOfYear": [ - "January", - "June", - "December" - ], - "retentionScheduleWeekly": { - "daysOfTheWeek": [ - "Sunday" - ], - "weeksOfTheMonth": [ - "Last" - ] - }, - "retentionTimes": [ - "2018-01-24T10:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Years" - } - } - } - }, - { - "policyType": "Differential", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Weekly", - "scheduleRunDays": [ - "Friday" - ], - "scheduleRunTimes": [ - "2018-01-24T10:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 8, - "durationType": "Days" - } - } - }, - { - "policyType": "Log", - "schedulePolicy": { - "schedulePolicyType": "LogSchedulePolicy", - "scheduleFrequencyInMins": 60 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 7, - "durationType": "Days" - } - } - } + }, + { + "policyType": "Differential", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleRunDays": [ + "Friday" + ] + }, + "retentionPolicy": { + "retentionPolicyType": "SimpleRetentionPolicy", + "retentionDuration": { + "count": 8, + "durationType": "Days" + } + } + }, + { + "policyType": "Log", + "schedulePolicy": { + "schedulePolicyType": "LogSchedulePolicy", + "scheduleFrequencyInMins": 60 + }, + "retentionPolicy": { + "retentionPolicyType": "SimpleRetentionPolicy", + "retentionDuration": { + "count": 7, + "durationType": "Days" + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureWorkload", + "workLoadType": "SQLDataBase", + "settings": { + "timeZone": "Pacific Standard Time", + "issqlcompression": false + }, + "subProtectionPolicy": [ + { + "policyType": "Full", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunDays": [ + "Sunday", + "Tuesday" + ], + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "weeklySchedule": { + "daysOfTheWeek": [ + "Sunday", + "Tuesday" + ], + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 2, + "durationType": "Weeks" + } + }, + "monthlySchedule": { + "retentionScheduleFormatType": "Weekly", + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Sunday" + ], + "weeksOfTheMonth": [ + "Second" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Months" + } + }, + "yearlySchedule": { + "retentionScheduleFormatType": "Weekly", + "monthsOfYear": [ + "January", + "June", + "December" + ], + "retentionScheduleWeekly": { + "daysOfTheWeek": [ + "Sunday" ], - "protectedItemsCount": 0 + "weeksOfTheMonth": [ + "Last" + ] + }, + "retentionTimes": [ + "2018-01-24T10:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Years" + } } - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", - "Retry-After": 60 + } }, - "body": {} + { + "policyType": "Differential", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Weekly", + "scheduleRunDays": [ + "Friday" + ], + "scheduleRunTimes": [ + "2018-01-24T10:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "SimpleRetentionPolicy", + "retentionDuration": { + "count": 8, + "durationType": "Days" + } + } + }, + { + "policyType": "Log", + "schedulePolicy": { + "schedulePolicyType": "LogSchedulePolicy", + "scheduleFrequencyInMins": 60 + }, + "retentionPolicy": { + "retentionPolicyType": "SimpleRetentionPolicy", + "retentionDuration": { + "count": 7, + "durationType": "Days" + } + } + } + ], + "protectedItemsCount": 0 } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1/operations/00000000-0000-0000-0000-000000000000?api-version=2016-06-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Get.json index 0721b809f1e0..fcb899e0736e 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Get.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "SwaggerTest", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig", - "name": "vaultconfig", - "type": "Microsoft.RecoveryServices/vaults/backupconfig", - "properties": { - "enhancedSecurityState": "Enabled" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "SwaggerTest", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig", + "name": "vaultconfig", + "type": "Microsoft.RecoveryServices/vaults/backupconfig", + "properties": { + "enhancedSecurityState": "Enabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Patch.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Patch.json index 5d29d3ca4939..3b3c17c9d583 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Patch.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupResourceVaultConfigs_Patch.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "SwaggerTest", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "SwaggerTest", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "enhancedSecurityState": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig", - "name": "vaultconfig", - "type": "Microsoft.RecoveryServices/vaults/backupconfig", - "properties": { - "enhancedSecurityState": "Enabled" - } - } + "properties": { + "enhancedSecurityState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig", + "name": "vaultconfig", + "type": "Microsoft.RecoveryServices/vaults/backupconfig", + "properties": { + "enhancedSecurityState": "Enabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupSecurityPin_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupSecurityPin_Get.json index 6f6cedcb1d36..f0a6200ec052 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupSecurityPin_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupSecurityPin_Get.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "SwaggerTest", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": { - "token": "200432", - "expiryTimeInUtcTicks": 636495150137443121, - "securityPIN": "200432" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "SwaggerTest", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": { + "token": "200432", + "expiryTimeInUtcTicks": 636495150137443121, + "securityPIN": "200432" + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Get.json index b5cb409e9db9..a22ef9d6df43 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Get.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig", - "name": "vaultstorageconfig", - "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig", - "properties": { - "storageModelType": "GeoRedundant", - "storageType": "GeoRedundant", - "storageTypeState": "Locked" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig", + "name": "vaultstorageconfig", + "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig", + "properties": { + "storageModelType": "GeoRedundant", + "storageType": "GeoRedundant", + "storageTypeState": "Locked" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Patch.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Patch.json index 31f994191f35..6c2f64461d51 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Patch.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Patch.json @@ -1,20 +1,20 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "storageType": "LocallyRedundant", - "storageTypeState": "Unlocked" - } - } - }, - "responses": { - "204": { - "headers": {}, - "body": null - } + "properties": { + "storageType": "LocallyRedundant", + "storageTypeState": "Unlocked" + } } -} \ No newline at end of file + }, + "responses": { + "204": { + "headers": {}, + "body": null + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json index 7adaa9e34cfb..57052c87328e 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "storageType": "LocallyRedundant", - "storageTypeState": "Unlocked" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig", - "name": "vaultstorageconfig", - "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig", - "properties": { - "storageModelType": "LocallyRedundant", - "storageType": "LocallyRedundant", - "dedupState": "Disabled", - "xcoolState": "Disabled", - "storageTypeState": "Unlocked" - } - } + "properties": { + "storageType": "LocallyRedundant", + "storageTypeState": "Unlocked" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig", + "name": "vaultstorageconfig", + "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig", + "properties": { + "storageModelType": "LocallyRedundant", + "storageType": "LocallyRedundant", + "dedupState": "Disabled", + "xcoolState": "Disabled", + "storageTypeState": "Unlocked" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/CancelJobOperationResult.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/CancelJobOperationResult.json index 25b7250ef94e..11670993ed03 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/CancelJobOperationResult.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/CancelJobOperationResult.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "jobName": "00000000-0000-0000-0000-000000000000", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2017-07-01" - }, - "responses": { - "204": { - "headers": {}, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "jobName": "00000000-0000-0000-0000-000000000000", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2017-07-01" + }, + "responses": { + "204": { + "headers": {}, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete.json index 6434eef94b95..29830f783e60 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", - "api-version": "2016-12-01" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationResult.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationResult.json index 0cc2c93ab587..1d760ef30774 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationResult.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationResult.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-12-01" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": null - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperations/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupOperationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationStatus.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationStatus.json index 1ff5ed0ee182..6abc0b369163 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationStatus.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/ProtectedItem_Delete_OperationStatus.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "PythonSDKBackupTestRg", - "vaultName": "PySDKBackupTestRsVault", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "status": "InProgress", - "startTime": "2017-08-03T06:52:53.886027Z", - "endTime": "0001-01-01T00:00:00" - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "status": "InProgress", + "startTime": "2017-08-03T06:52:53.886027Z", + "endTime": "0001-01-01T00:00:00" + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers.json index ef41f6d124d0..bdaaa03bbbe8 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "fabricName": "Azure", - "api-version": "2016-12-01" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "fabricName": "Azure", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers_OperationResults.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers_OperationResults.json index 6f166c68b87f..b5079bd4b8d2 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers_OperationResults.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/RefreshContainers_OperationResults.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "fabricName": "Azure", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2016-12-01" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "fabricName": "Azure", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2016-12-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": null }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerBackup_Post.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerBackup_Post.json index 470fcf0e23c1..d23d42996022 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerBackup_Post.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerBackup_Post.json @@ -1,26 +1,26 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "linuxRsVaultRG", + "vaultName": "linuxRsVault", + "fabricName": "Azure", + "containerName": "IaasVMContainer;iaasvmcontainerv2;testrg;v1win2012r", + "protectedItemName": "VM;iaasvmcontainerv2;testrg;v1win2012r", + "api-version": "2016-12-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "linuxRsVaultRG", - "vaultName": "linuxRsVault", - "fabricName": "Azure", - "containerName": "IaasVMContainer;iaasvmcontainerv2;testrg;v1win2012r", - "protectedItemName": "VM;iaasvmcontainerv2;testrg;v1win2012r", - "api-version": "2016-12-01", - "parameters": { - "properties": { - "objectType": "IaasVMBackupRequest" - } - } - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/linuxRsVaultRG/providers/Microsoft.RecoveryServices/vaults/linuxRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;testrg;v1win2012r/protectedItems/VM;iaasvmcontainer;testrg;v1win2012r/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/linuxRsVaultRG/providers/Microsoft.RecoveryServices/vaults/linuxRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;testrg;v1win2012r/protectedItems/VM;iaasvmcontainer;testrg;v1win2012r/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", - "Retry-After": 60 - }, - "body": {} - } + "properties": { + "objectType": "IaasVMBackupRequest" + } } -} \ No newline at end of file + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/linuxRsVaultRG/providers/Microsoft.RecoveryServices/vaults/linuxRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;testrg;v1win2012r/protectedItems/VM;iaasvmcontainer;testrg;v1win2012r/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/linuxRsVaultRG/providers/Microsoft.RecoveryServices/vaults/linuxRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;testrg;v1win2012r/protectedItems/VM;iaasvmcontainer;testrg;v1win2012r/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", + "Retry-After": 60 + }, + "body": {} + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerCancelJob.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerCancelJob.json index ba3a2b2c7242..632419d5f18e 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerCancelJob.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/TriggerCancelJob.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "jobName": "00000000-0000-0000-0000-000000000000", - "api-version": "2017-07-01" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Retry-After": 60 - }, - "body": {} - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "jobName": "00000000-0000-0000-0000-000000000000", + "api-version": "2017-07-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Retry-After": 60 + }, + "body": {} } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_Get.json index 8af1364bae5d..fad29f7158b0 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_Get.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRG", - "vaultName": "testVault", - "backupEngineName": "testServer", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer", - "name": "testServer", - "type": "Microsoft.RecoveryServices/vaults/backupEngines", - "properties": { - "backupEngineType": "DpmBackupEngine", - "dpmVersion": "5.1.348.0", - "isDpmUpgradeAvailable": false, - "azureBackupAgentVersion": "2.0.9532.0", - "isAzureBackupAgentUpgradeAvailable": false, - "registrationStatus": "Registered", - "backupEngineState": "Active", - "friendlyName": "testServer", - "extendedInfo": { - "protectedItemsCount": 35, - "protectedServersCount": 21, - "diskCount": 5, - "availableDiskSpace": 50, - "usedDiskSpace": 20 - } - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRG", + "vaultName": "testVault", + "backupEngineName": "testServer", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer", + "name": "testServer", + "type": "Microsoft.RecoveryServices/vaults/backupEngines", + "properties": { + "backupEngineType": "DpmBackupEngine", + "dpmVersion": "5.1.348.0", + "isDpmUpgradeAvailable": false, + "azureBackupAgentVersion": "2.0.9532.0", + "isAzureBackupAgentUpgradeAvailable": false, + "registrationStatus": "Registered", + "backupEngineState": "Active", + "friendlyName": "testServer", + "extendedInfo": { + "protectedItemsCount": 35, + "protectedServersCount": 21, + "diskCount": 5, + "availableDiskSpace": 50, + "usedDiskSpace": 20 + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_List.json index bb9b2a235a90..a75e9709e14b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Dpm/BackupEngines_List.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRG", - "vaultName": "testVault", - "api-version": "2016-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer1", - "name": "testServer1", - "type": "Microsoft.RecoveryServices/vaults/backupEngines", - "properties": { - "backupEngineType": "DpmBackupEngine", - "dpmVersion": "5.1.348.0", - "isDpmUpgradeAvailable": false, - "azureBackupAgentVersion": "2.0.9532.0", - "isAzureBackupAgentUpgradeAvailable": false, - "registrationStatus": "Registered", - "backupEngineState": "Active", - "friendlyName": "testServer1", - "extendedInfo": { - "protectedItemsCount": 35, - "protectedServersCount": 21, - "diskCount": 5, - "availableDiskSpace": 50, - "usedDiskSpace": 20 - } - } - }, - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer5", - "name": "testServer5", - "type": "Microsoft.RecoveryServices/vaults/backupEngines", - "properties": { - "backupEngineType": "DpmBackupEngine", - "dpmVersion": "5.1.348.0", - "isDpmUpgradeAvailable": false, - "azureBackupAgentVersion": "2.0.9530.0", - "isAzureBackupAgentUpgradeAvailable": false, - "registrationStatus": "Registered", - "backupEngineState": "Active", - "friendlyName": "testServer5", - "extendedInfo": { - "protectedItemsCount": 35, - "protectedServersCount": 21, - "diskCount": 5, - "availableDiskSpace": 50, - "usedDiskSpace": 20 - } - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRG", + "vaultName": "testVault", + "api-version": "2016-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer1", + "name": "testServer1", + "type": "Microsoft.RecoveryServices/vaults/backupEngines", + "properties": { + "backupEngineType": "DpmBackupEngine", + "dpmVersion": "5.1.348.0", + "isDpmUpgradeAvailable": false, + "azureBackupAgentVersion": "2.0.9532.0", + "isAzureBackupAgentUpgradeAvailable": false, + "registrationStatus": "Registered", + "backupEngineState": "Active", + "friendlyName": "testServer1", + "extendedInfo": { + "protectedItemsCount": 35, + "protectedServersCount": 21, + "diskCount": 5, + "availableDiskSpace": 50, + "usedDiskSpace": 20 + } } - } + }, + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/testVault/backupEngines/testServer5", + "name": "testServer5", + "type": "Microsoft.RecoveryServices/vaults/backupEngines", + "properties": { + "backupEngineType": "DpmBackupEngine", + "dpmVersion": "5.1.348.0", + "isDpmUpgradeAvailable": false, + "azureBackupAgentVersion": "2.0.9530.0", + "isAzureBackupAgentUpgradeAvailable": false, + "registrationStatus": "Registered", + "backupEngineState": "Active", + "friendlyName": "testServer5", + "extendedInfo": { + "protectedItemsCount": 35, + "protectedServersCount": 21, + "diskCount": 5, + "availableDiskSpace": 50, + "usedDiskSpace": 20 + } + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json index 913497bcd5de..6f1943c144d0 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json @@ -4534,4 +4534,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupFeature_Validate.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupFeature_Validate.json index 82d4aeffd753..28be066e4b51 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupFeature_Validate.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupFeature_Validate.json @@ -1,19 +1,19 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "azureRegion": "southeastasia", + "api-version": "2017-07-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "azureRegion": "southeastasia", - "api-version": "2017-07-01", - "parameters": { - "featureType": "AzureVMResourceBackup", - "vmSize": "Basic_A0", - "vmSku": "Premium" - } - }, - "responses": { - "200": { - "body": { - "supportStatus": "DefaultOFF" - } - } + "featureType": "AzureVMResourceBackup", + "vmSize": "Basic_A0", + "vmSku": "Premium" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "supportStatus": "DefaultOFF" + } + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupPolicies_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupPolicies_List.json index 98c4302a01bc..34c612508a99 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupPolicies_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupPolicies_List.json @@ -1,76 +1,76 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01", - "$filter": "backupManagementType eq 'AzureIaasVM'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy", - "name": "DefaultPolicy", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2017-12-05T19:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2017-12-05T19:00:00Z" - ], - "retentionDuration": { - "count": 30, - "durationType": "Days" - } - } - }, - "protectedItemsCount": 0 - } - }, - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "name": "testPolicy1", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureIaasVM", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2018-01-24T02:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2018-01-24T02:00:00Z" - ], - "retentionDuration": { - "count": 1, - "durationType": "Days" - } - } - }, - "timeZone": "Pacific Standard Time", - "protectedItemsCount": 0 - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01", + "$filter": "backupManagementType eq 'AzureIaasVM'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy", + "name": "DefaultPolicy", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2017-12-05T19:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2017-12-05T19:00:00Z" + ], + "retentionDuration": { + "count": 30, + "durationType": "Days" + } + } + }, + "protectedItemsCount": 0 } - } + }, + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "name": "testPolicy1", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureIaasVM", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2018-01-24T02:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2018-01-24T02:00:00Z" + ], + "retentionDuration": { + "count": 1, + "durationType": "Days" + } + } + }, + "timeZone": "Pacific Standard Time", + "protectedItemsCount": 0 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupProtectedItems_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupProtectedItems_List.json index 7354bf7b189d..fc6f16f2f740 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupProtectedItems_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/BackupProtectedItems_List.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01", - "$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", - "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", - "properties": { - "friendlyName": "iaasvm-1", - "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", - "protectionStatus": "Healthy", - "protectionState": "Protected", - "healthStatus": "Passed", - "lastBackupStatus": "Completed", - "lastBackupTime": "2018-01-22T12:25:32.048723Z", - "protectedItemDataId": "636482643132986882", - "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", - "backupManagementType": "AzureIaasVM", - "workloadType": "VM", - "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", - "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", - "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01", + "$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", + "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", + "properties": { + "friendlyName": "iaasvm-1", + "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", + "protectionStatus": "Healthy", + "protectionState": "Protected", + "healthStatus": "Passed", + "lastBackupStatus": "Completed", + "lastBackupTime": "2018-01-22T12:25:32.048723Z", + "protectedItemDataId": "636482643132986882", + "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", + "backupManagementType": "AzureIaasVM", + "workloadType": "VM", + "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", + "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", + "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/GetBackupStatus.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/GetBackupStatus.json index c37237ed1ee7..97b68a9d0513 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/GetBackupStatus.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/GetBackupStatus.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "azureRegion": "southeastasia", + "api-version": "2017-07-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "azureRegion": "southeastasia", - "api-version": "2017-07-01", - "parameters": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Compute/VirtualMachines/testVm", - "resourceType": "VM" - } - }, - "responses": { - "200": { - "body": { - "protectionStatus": "Protected", - "vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/Vaults/testVault", - "fabricName": "Azure", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;testRg;testVm", - "protectedItemName": "vm;iaasvmcontainerv2;testRg;testVm", - "policyName": "myPolicy", - "errorCode": "Success", - "errorMessage": "ErrorMessage" - } - } + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Compute/VirtualMachines/testVm", + "resourceType": "VM" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "protectionStatus": "Protected", + "vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/Vaults/testVault", + "fabricName": "Azure", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;testRg;testVm", + "protectedItemName": "vm;iaasvmcontainerv2;testRg;testVm", + "policyName": "myPolicy", + "errorCode": "Success", + "errorMessage": "ErrorMessage" + } + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json index 219a4ac3a7c0..b92e7b3da2ce 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json @@ -1,33 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "vaultName": "myVault", + "fabricName": "Azure", + "intentObjectName": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel", + "api-version": "2017-07-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myRG", - "vaultName": "myVault", - "fabricName": "Azure", - "intentObjectName": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel", - "api-version": "2017-07-01", - "parameters": { - "properties": { - "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel", - "protectionIntentItemType": "AzureResourceItem", - "friendlyName": "oneboxTestVmIntent", - "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupFabrics/Azure/backupProtectionIntent/vm;iaasvmcontainerv2;chamsrgtest;chamscandel", - "name": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel", - "type": "Microsoft.RecoveryServices/vaults/backupProtectionIntent", - "properties": { - "friendlyName": "", - "backupManagementType": "AzureIaasVM", - "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy", - "protectionState": "Protected" - } - } + "properties": { + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel", + "protectionIntentItemType": "AzureResourceItem", + "friendlyName": "oneboxTestVmIntent", + "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupFabrics/Azure/backupProtectionIntent/vm;iaasvmcontainerv2;chamsrgtest;chamscandel", + "name": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel", + "type": "Microsoft.RecoveryServices/vaults/backupProtectionIntent", + "properties": { + "friendlyName": "", + "backupManagementType": "AzureIaasVM", + "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy", + "protectionState": "Protected" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_Validate.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_Validate.json index 786708c58978..f02e0c6a04a3 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_Validate.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ProtectionIntent_Validate.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "azureRegion": "southeastasia", + "api-version": "2017-07-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "azureRegion": "southeastasia", - "api-version": "2017-07-01", - "parameters": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arunaupgrade/providers/Microsoft.Compute/VirtualMachines/upgrade1", - "resourceType": "VM", - "vaultId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/Vaults/myVault", - "properties": "" - } - }, - "responses": { - "200": { - "body": { - "status": "Failed", - "errorCode": "VirtualMachineAlreadyProtected", - "errorMessage": "Virtual machine with same name and same resource group is already protected. Please select `Disable' choice above for backup and go to backup item corresponding to this VM in the vault", - "recommendation": "Please do not enable protection again.", - "containerName": "iaasvmcontainer;iaasvmcontainerv2;arunaupgrade;upgrade1", - "protectedItemName": "vm;iaasvmcontainerv2;arunaupgrade;upgrade1" - } - } + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arunaupgrade/providers/Microsoft.Compute/VirtualMachines/upgrade1", + "resourceType": "VM", + "vaultId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/Vaults/myVault", + "properties": "" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "status": "Failed", + "errorCode": "VirtualMachineAlreadyProtected", + "errorMessage": "Virtual machine with same name and same resource group is already protected. Please select `Disable' choice above for backup and go to backup item corresponding to this VM in the vault", + "recommendation": "Please do not enable protection again.", + "containerName": "iaasvmcontainer;iaasvmcontainerv2;arunaupgrade;upgrade1", + "protectedItemName": "vm;iaasvmcontainerv2;arunaupgrade;upgrade1" + } + } + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json index 2ea2e631b773..4e4623565cb9 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json @@ -27,8 +27,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "validateOperationResponse": { "validationResults": [ @@ -44,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupPolicies_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupPolicies_List.json index 3b5aa09916b8..08fbccd94854 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupPolicies_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupPolicies_List.json @@ -1,70 +1,70 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01", - "$filter": "backupManagementType eq 'AzureWorkload'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/HourlyLogBackup", - "name": "HourlyLogBackup", - "type": "Microsoft.RecoveryServices/vaults/backupPolicies", - "properties": { - "backupManagementType": "AzureWorkload", - "workLoadType": "SQLDataBase", - "settings": { - "timeZone": "UTC", - "issqlcompression": false - }, - "subProtectionPolicy": [ - { - "policyType": "Full", - "schedulePolicy": { - "schedulePolicyType": "SimpleSchedulePolicy", - "scheduleRunFrequency": "Daily", - "scheduleRunTimes": [ - "2017-12-05T19:00:00Z" - ], - "scheduleWeeklyFrequency": 0 - }, - "retentionPolicy": { - "retentionPolicyType": "LongTermRetentionPolicy", - "dailySchedule": { - "retentionTimes": [ - "2017-12-05T19:00:00Z" - ], - "retentionDuration": { - "count": 30, - "durationType": "Days" - } - } - } - }, - { - "policyType": "Log", - "schedulePolicy": { - "schedulePolicyType": "LogSchedulePolicy", - "scheduleFrequencyInMins": 60 - }, - "retentionPolicy": { - "retentionPolicyType": "SimpleRetentionPolicy", - "retentionDuration": { - "count": 30, - "durationType": "Days" - } - } - } - ], - "protectedItemsCount": 0 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01", + "$filter": "backupManagementType eq 'AzureWorkload'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/HourlyLogBackup", + "name": "HourlyLogBackup", + "type": "Microsoft.RecoveryServices/vaults/backupPolicies", + "properties": { + "backupManagementType": "AzureWorkload", + "workLoadType": "SQLDataBase", + "settings": { + "timeZone": "UTC", + "issqlcompression": false + }, + "subProtectionPolicy": [ + { + "policyType": "Full", + "schedulePolicy": { + "schedulePolicyType": "SimpleSchedulePolicy", + "scheduleRunFrequency": "Daily", + "scheduleRunTimes": [ + "2017-12-05T19:00:00Z" + ], + "scheduleWeeklyFrequency": 0 + }, + "retentionPolicy": { + "retentionPolicyType": "LongTermRetentionPolicy", + "dailySchedule": { + "retentionTimes": [ + "2017-12-05T19:00:00Z" + ], + "retentionDuration": { + "count": 30, + "durationType": "Days" + } } - ] + } + }, + { + "policyType": "Log", + "schedulePolicy": { + "schedulePolicyType": "LogSchedulePolicy", + "scheduleFrequencyInMins": 60 + }, + "retentionPolicy": { + "retentionPolicyType": "SimpleRetentionPolicy", + "retentionDuration": { + "count": 30, + "durationType": "Days" + } + } + } + ], + "protectedItemsCount": 0 } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json index 342acd3a12b3..b8a3c35185f6 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json @@ -6,13 +6,11 @@ "fabricName": "Azure", "intentObjectName": "249D9B07-D2EF-4202-AA64-65F35418564E", "api-version": "2017-07-01", - "parameters": { - } + "parameters": {} }, "responses": { "204": { - "body": { - } + "body": {} } } } diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Get.json index ee00ca1bc974..6b9e73023d1c 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_Get.json @@ -6,8 +6,7 @@ "fabricName": "Azure", "intentObjectName": "249D9B07-D2EF-4202-AA64-65F35418564E", "api-version": "2017-07-01", - "parameters": { - } + "parameters": {} }, "responses": { "200": { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_List.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_List.json index 745dab0c6c54..c0b952d484d6 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_List.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/AzureWorkload/BackupProtectionIntent_List.json @@ -4,8 +4,7 @@ "resourceGroupName": "myRG", "vaultName": "myVault", "api-version": "2017-07-01", - "parameters": { - } + "parameters": {} }, "responses": { "200": { @@ -24,4 +23,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json index 1ce7ecd13d9b..fa3f011c32d8 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json @@ -1,62 +1,62 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRG", - "vaultName": "testVault", - "api-version": "2017-07-01", - "$filter": "type eq 'BackupProtectedItemCountSummary'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Count", - "currentValue": 7, - "limit": -1, - "name": { - "value": "AzureIaasVM", - "localizedValue": "Azure Virtual Machine" - } - }, - { - "unit": "Count", - "currentValue": 3, - "limit": -1, - "name": { - "value": "MAB", - "localizedValue": "Azure Backup Agent" - } - }, - { - "unit": "Count", - "currentValue": 1, - "limit": -1, - "name": { - "value": "AzureBackupServer", - "localizedValue": "Azure Backup Server" - } - }, - { - "unit": "Count", - "currentValue": 2, - "limit": -1, - "name": { - "value": "AzureStorage", - "localizedValue": "Azure Storage (Azure Files)" - } - }, - { - "unit": "Count", - "currentValue": 2, - "limit": -1, - "name": { - "value": "AzureWorkload", - "localizedValue": "SQL in Azure VM" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRG", + "vaultName": "testVault", + "api-version": "2017-07-01", + "$filter": "type eq 'BackupProtectedItemCountSummary'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Count", + "currentValue": 7, + "limit": -1, + "name": { + "value": "AzureIaasVM", + "localizedValue": "Azure Virtual Machine" } - } + }, + { + "unit": "Count", + "currentValue": 3, + "limit": -1, + "name": { + "value": "MAB", + "localizedValue": "Azure Backup Agent" + } + }, + { + "unit": "Count", + "currentValue": 1, + "limit": -1, + "name": { + "value": "AzureBackupServer", + "localizedValue": "Azure Backup Server" + } + }, + { + "unit": "Count", + "currentValue": 2, + "limit": -1, + "name": { + "value": "AzureStorage", + "localizedValue": "Azure Storage (Azure Files)" + } + }, + { + "unit": "Count", + "currentValue": 2, + "limit": -1, + "name": { + "value": "AzureWorkload", + "localizedValue": "SQL in Azure VM" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json index 1d3eb436c2c2..b13a75b4ddcc 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json @@ -1,44 +1,44 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "testRG", - "vaultName": "testVault", - "api-version": "2017-07-01", - "$filter": "type eq 'BackupProtectionContainerCountSummary'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Count", - "currentValue": 2, - "limit": -1, - "name": { - "value": "AzureBackupServer", - "localizedValue": "Azure Backup Server" - } - }, - { - "unit": "Count", - "currentValue": 3, - "limit": -1, - "name": { - "value": "MAB", - "localizedValue": "Azure Backup Agent" - } - }, - { - "unit": "Count", - "currentValue": 1, - "limit": -1, - "name": { - "value": "AzureWorkload", - "localizedValue": "SQL in Azure VM" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testRG", + "vaultName": "testVault", + "api-version": "2017-07-01", + "$filter": "type eq 'BackupProtectionContainerCountSummary'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Count", + "currentValue": 2, + "limit": -1, + "name": { + "value": "AzureBackupServer", + "localizedValue": "Azure Backup Server" } - } + }, + { + "unit": "Count", + "currentValue": 3, + "limit": -1, + "name": { + "value": "MAB", + "localizedValue": "Azure Backup Agent" + } + }, + { + "unit": "Count", + "currentValue": 1, + "limit": -1, + "name": { + "value": "AzureWorkload", + "localizedValue": "SQL in Azure VM" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ExportJobsOperationResult.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ExportJobsOperationResult.json index 8f822f3971ad..658857ed4bfe 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ExportJobsOperationResult.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ExportJobsOperationResult.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "operationId": "00000000-0000-0000-0000-000000000000", - "api-version": "2017-07-01" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2017-07-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "operation": { + "objectType": "ExportJobsOperationResultInfo", + "blobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreportc00000000-0000-0000-0000-000000000000", + "blobSasKey": "?sv=2014-02-14&sr=b&sig=&st=2017-11-29T07%3A53%3A34Z&se=2017-11-29T08%3A03%3A34Z&sp=r" + }, + "headers": {} + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "operation": { - "objectType": "ExportJobsOperationResultInfo", - "blobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreportc00000000-0000-0000-0000-000000000000", - "blobSasKey": "?sv=2014-02-14&sr=b&sig=&st=2017-11-29T07%3A53%3A34Z&se=2017-11-29T08%3A03%3A34Z&sp=r" - }, - "headers": {} - } + "202": { + "headers": { + "Retry-After": 60, + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01" + }, + "body": { + "operation": { + "objectType": "ExportJobsOperationResultInfo" }, - "202": { - "headers": { - "Retry-After": 60, - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01" - }, - "body": { - "operation": { - "objectType": "ExportJobsOperationResultInfo" - }, - "headers": { - "Location": [ - "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01" - ], - "Retry-After": [ - "60" - ] - } - } + "headers": { + "Location": [ + "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01" + ], + "Retry-After": [ + "60" + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/GetJobDetails.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/GetJobDetails.json index d300b927db96..b6ce62c4e69d 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/GetJobDetails.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/GetJobDetails.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "jobName": "00000000-0000-0000-0000-000000000000", - "api-version": "2017-07-01" - }, - "responses": { - "200": { - "body": { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT9.8782791S", - "virtualMachineVersion": "Compute", - "extendedInfo": { - "tasksList": [ - { - "taskId": "Take Snapshot", - "duration": "PT0S", - "status": "InProgress" - }, - { - "taskId": "Transfer data to vault", - "duration": "PT0S", - "status": "NotStarted" - } - ], - "propertyBag": { - "VM Name": "testvm" - } - }, - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "Backup", - "status": "InProgress", - "startTime": "2017-08-03T05:31:07.014604Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "jobName": "00000000-0000-0000-0000-000000000000", + "api-version": "2017-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT9.8782791S", + "virtualMachineVersion": "Compute", + "extendedInfo": { + "tasksList": [ + { + "taskId": "Take Snapshot", + "duration": "PT0S", + "status": "InProgress" + }, + { + "taskId": "Transfer data to vault", + "duration": "PT0S", + "status": "NotStarted" + } + ], + "propertyBag": { + "VM Name": "testvm" } + }, + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "Backup", + "status": "InProgress", + "startTime": "2017-08-03T05:31:07.014604Z", + "activityId": "00000000-0000-0000-0000-000000000000" } + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobs.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobs.json index 8e93628c7c6d..78d9a70b88f3 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobs.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobs.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT12.4272909S", - "virtualMachineVersion": "Compute", - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "Backup", - "status": "InProgress", - "startTime": "2017-08-03T05:31:07.014604Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } - }, - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT31.3066291S", - "virtualMachineVersion": "Compute", - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "ConfigureBackup", - "status": "Completed", - "startTime": "2017-08-03T05:30:32.4487085Z", - "endTime": "2017-08-03T05:31:03.7553376Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT12.4272909S", + "virtualMachineVersion": "Compute", + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "Backup", + "status": "InProgress", + "startTime": "2017-08-03T05:31:07.014604Z", + "activityId": "00000000-0000-0000-0000-000000000000" } - } + }, + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT31.3066291S", + "virtualMachineVersion": "Compute", + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "ConfigureBackup", + "status": "Completed", + "startTime": "2017-08-03T05:30:32.4487085Z", + "endTime": "2017-08-03T05:31:03.7553376Z", + "activityId": "00000000-0000-0000-0000-000000000000" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithAllSupportedFilters.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithAllSupportedFilters.json index 1395fa3a45c4..bd6bdf4a9147 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithAllSupportedFilters.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithAllSupportedFilters.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01", - "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM' and operation eq 'Backup' and backupManagementType eq 'AzureIaasVM' and status eq 'InProgress'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT12.4272909S", - "virtualMachineVersion": "Compute", - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "Backup", - "status": "InProgress", - "startTime": "2017-08-03T05:31:07.014604Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01", + "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM' and operation eq 'Backup' and backupManagementType eq 'AzureIaasVM' and status eq 'InProgress'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT12.4272909S", + "virtualMachineVersion": "Compute", + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "Backup", + "status": "InProgress", + "startTime": "2017-08-03T05:31:07.014604Z", + "activityId": "00000000-0000-0000-0000-000000000000" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json index 007c752611d8..dd7bdd1125d6 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01", - "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT12.4272909S", - "virtualMachineVersion": "Compute", - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "Backup", - "status": "InProgress", - "startTime": "2017-08-03T05:31:07.014604Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } - }, - { - "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.RecoveryServices/vaults/backupJobs", - "properties": { - "jobType": "AzureIaaSVMJob", - "duration": "PT31.3066291S", - "virtualMachineVersion": "Compute", - "entityFriendlyName": "testvm", - "backupManagementType": "AzureIaasVM", - "operation": "ConfigureBackup", - "status": "Completed", - "startTime": "2017-08-03T05:30:32.4487085Z", - "endTime": "2017-08-03T05:31:03.7553376Z", - "activityId": "00000000-0000-0000-0000-000000000000" - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs?api-version=2017-07-01&%24filter=startTime+eq+%272016-01-01+00%3a00%3a00+AM%27+and+endTime+eq+%272017-11-29+00%3a00%3a00+AM%27&%24skiptoken=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cContinuationToken%3e%0d%0a++%3cContinuationToken%3e%0d%0a++++%3cVersion%3e2.0%3c%2fVersion%3e%0d%0a++++%3cType%3eTable%3c%2fType%3e%0d%0a++++%3cNextPartitionKey%3e1!28!NzI5MTk0OTM1MDkwNjEwODQzMA--%3c%2fNextPartitionKey%3e%0d%0a++++%3cNextRowKey%3e1!108!am9ic3N0YXJ0dGltZWluZGV4XzBfMjUxODkxNDYzNTI2NjE5Nzg5OF8wXzYwOWZkM2JmLTU4MzctNDFkYi1iMjExLTY1MzliNDNlZjM1OA--%3c%2fNextRowKey%3e%0d%0a++++%3cTargetLocation%3ePrimary%3c%2fTargetLocation%3e%0d%0a++%3c%2fContinuationToken%3e%0d%0a%3c%2fContinuationToken%3e" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01", + "$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT12.4272909S", + "virtualMachineVersion": "Compute", + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "Backup", + "status": "InProgress", + "startTime": "2017-08-03T05:31:07.014604Z", + "activityId": "00000000-0000-0000-0000-000000000000" } - } + }, + { + "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.RecoveryServices/vaults/backupJobs", + "properties": { + "jobType": "AzureIaaSVMJob", + "duration": "PT31.3066291S", + "virtualMachineVersion": "Compute", + "entityFriendlyName": "testvm", + "backupManagementType": "AzureIaasVM", + "operation": "ConfigureBackup", + "status": "Completed", + "startTime": "2017-08-03T05:30:32.4487085Z", + "endTime": "2017-08-03T05:31:03.7553376Z", + "activityId": "00000000-0000-0000-0000-000000000000" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs?api-version=2017-07-01&%24filter=startTime+eq+%272016-01-01+00%3a00%3a00+AM%27+and+endTime+eq+%272017-11-29+00%3a00%3a00+AM%27&%24skiptoken=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cContinuationToken%3e%0d%0a++%3cContinuationToken%3e%0d%0a++++%3cVersion%3e2.0%3c%2fVersion%3e%0d%0a++++%3cType%3eTable%3c%2fType%3e%0d%0a++++%3cNextPartitionKey%3e1!28!NzI5MTk0OTM1MDkwNjEwODQzMA--%3c%2fNextPartitionKey%3e%0d%0a++++%3cNextRowKey%3e1!108!am9ic3N0YXJ0dGltZWluZGV4XzBfMjUxODkxNDYzNTI2NjE5Nzg5OF8wXzYwOWZkM2JmLTU4MzctNDFkYi1iMjExLTY1MzliNDNlZjM1OA--%3c%2fNextRowKey%3e%0d%0a++++%3cTargetLocation%3ePrimary%3c%2fTargetLocation%3e%0d%0a++%3c%2fContinuationToken%3e%0d%0a%3c%2fContinuationToken%3e" + } } -} \ No newline at end of file + } +} diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/TriggerExportJobs.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/TriggerExportJobs.json index 95d02c7cef50..84beb4d22918 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/TriggerExportJobs.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/examples/Common/TriggerExportJobs.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "SwaggerTestRg", - "vaultName": "NetSDKTestRsVault", - "api-version": "2017-07-01" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", - "Retry-After": 60 - }, - "body": null - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SwaggerTestRg", + "vaultName": "NetSDKTestRsVault", + "api-version": "2017-07-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupJobs/operationResults/00000000-0000-0000-0000-000000000000?api-version=2017-07-01", + "Retry-After": 60 + }, + "body": null } -} \ No newline at end of file + } +} From e71b4a629b7c8eb3909fd895763c8d60ff774f2a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 16:59:26 -0400 Subject: [PATCH 084/495] chore: jsonfmt reservations (#6234) Ran `jsonfmt -w "specification/reservations/**/*.json"` --- .../examples/GetAppliedReservations.json | 30 +- .../2018-06-01/examples/GetCatalog.json | 250 +- .../2018-06-01/examples/GetOperations.json | 2 +- .../examples/GetReservationDetails.json | 2 +- .../examples/GetReservationOrderDetails.json | 2 +- .../examples/GetReservationOrders.json | 2 +- .../examples/GetReservationRevisions.json | 2 +- .../2018-06-01/examples/GetReservations.json | 2 +- .../examples/MergeReservations.json | 6 +- .../2018-06-01/examples/SplitReservation.json | 4 +- .../examples/UpdateReservation.json | 4 +- .../preview/2018-06-01/reservations.json | 2302 ++++++++--------- .../examples/CalculateReservationOrder.json | 82 +- .../examples/GetAppliedReservations.json | 30 +- .../2019-04-01/examples/GetCatalog.json | 250 +- .../2019-04-01/examples/GetOperations.json | 2 +- .../examples/GetReservationDetails.json | 2 +- .../examples/GetReservationOrderDetails.json | 2 +- .../examples/GetReservationOrders.json | 2 +- .../examples/GetReservationRevisions.json | 2 +- .../2019-04-01/examples/GetReservations.json | 2 +- .../examples/MergeReservations.json | 6 +- .../examples/PurchaseReservationOrder.json | 32 +- .../2019-04-01/examples/SplitReservation.json | 4 +- .../examples/UpdateReservation.json | 4 +- .../preview/2019-04-01/reservations.json | 2055 ++++++++------- .../examples/GetAppliedReservations.json | 57 +- .../2017-11-01/examples/GetCatalog.json | 142 +- .../2017-11-01/examples/GetOperations.json | 2 +- .../examples/GetReservationDetails.json | 2 +- .../examples/GetReservationOrderDetails.json | 2 +- .../examples/GetReservationOrders.json | 2 +- .../examples/GetReservationRevisions.json | 2 +- .../2017-11-01/examples/GetReservations.json | 2 +- .../examples/MergeReservations.json | 6 +- .../2017-11-01/examples/SplitReservation.json | 4 +- .../examples/UpdateReservation.json | 4 +- .../stable/2017-11-01/reservations.json | 2284 ++++++++-------- 38 files changed, 3879 insertions(+), 3713 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetAppliedReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetAppliedReservations.json index 532bb9b87375..92a00d31b3ba 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetAppliedReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetAppliedReservations.json @@ -11,22 +11,24 @@ "name": "default", "properties": { "reservationOrderIds": { - "value": ["/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", - "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", - "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", - "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", - "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", - "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", - "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", - "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", - "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", - "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", - "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", - "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", - "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723"] + "value": [ + "/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", + "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", + "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", + "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", + "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", + "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", + "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", + "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", + "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", + "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", + "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", + "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", + "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetCatalog.json index 510a98533c34..d56466537ef2 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetCatalog.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetCatalog.json @@ -8,131 +8,131 @@ "responses": { "200": { "body": [ - { - "resourceType": "VirtualMachines", - "name": "Standard_DS5_v2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "16" - }, - { - "name": "ProductTitle", - "value": "DSv2 Series, DS5" - }, - { - "name": "ProductShortName", - "value": "DSv2 Series" - }, - { - "name": "SKUName", - "value": "DS5 v2" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [] - }, - { - "resourceType": "VirtualMachines", - "name": "Standard_D1", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "1" - }, - { - "name": "ProductTitle", - "value": "D Series, D1" - }, - { - "name": "ProductShortName", - "value": "D Series" - }, - { - "name": "SKUName", - "value": "D1" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [ - { - "type": "Term", - "values": [ - "P1Y" - ], - "reasonCode": "NotAvailableForSubscription" - }, - { - "type": "Term", - "values": [ - "P3Y" - ], - "reasonCode": "NotAvailableForSubscription" - } - ] - }, - { - "resourceType": "VirtualMachines", - "name": "Standard_F2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "2" - }, - { - "name": "ProductTitle", - "value": "F Series, F2" - }, - { - "name": "ProductShortName", - "value": "F Series" - }, - { - "name": "SKUName", - "value": "F2" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [ - { - "type": "Location", - "values": [ - "eastus" - ], - "reasonCode": "NotAvailableForSubscription" - } - ] - } + { + "resourceType": "VirtualMachines", + "name": "Standard_DS5_v2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "16" + }, + { + "name": "ProductTitle", + "value": "DSv2 Series, DS5" + }, + { + "name": "ProductShortName", + "value": "DSv2 Series" + }, + { + "name": "SKUName", + "value": "DS5 v2" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [] + }, + { + "resourceType": "VirtualMachines", + "name": "Standard_D1", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "1" + }, + { + "name": "ProductTitle", + "value": "D Series, D1" + }, + { + "name": "ProductShortName", + "value": "D Series" + }, + { + "name": "SKUName", + "value": "D1" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [ + { + "type": "Term", + "values": [ + "P1Y" + ], + "reasonCode": "NotAvailableForSubscription" + }, + { + "type": "Term", + "values": [ + "P3Y" + ], + "reasonCode": "NotAvailableForSubscription" + } + ] + }, + { + "resourceType": "VirtualMachines", + "name": "Standard_F2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "2" + }, + { + "name": "ProductTitle", + "value": "F Series, F2" + }, + { + "name": "ProductShortName", + "value": "F Series" + }, + { + "name": "SKUName", + "value": "F2" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [ + { + "type": "Location", + "values": [ + "eastus" + ], + "reasonCode": "NotAvailableForSubscription" + } + ] + } ] } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetOperations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetOperations.json index fda153ecb9f5..ae0c88a3db77 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetOperations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetOperations.json @@ -100,4 +100,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationDetails.json index e0bf03027d2b..c186e6163b0c 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationDetails.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrderDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrderDetails.json index 94b626777fff..e047cc2488c0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrderDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrderDetails.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrders.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrders.json index 5b592379574f..38bc4756170e 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrders.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationOrders.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationRevisions.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationRevisions.json index a5e54e7eb437..1f8c6e343e0a 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationRevisions.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservationRevisions.json @@ -137,4 +137,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservations.json index e9b8b143be15..31760d2881c1 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/GetReservations.json @@ -147,4 +147,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json index 3bff75d5b14c..efcab0724b59 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json @@ -3,7 +3,7 @@ "api-version": "2018-06-01", "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "body": { - "properties" : { + "properties": { "sources": [ "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/cea04232-932e-47db-acb5-e29a945ecc73", "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/5bf54dc7-dacd-4f46-a16b-7b78f4a59799" @@ -117,8 +117,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json index 7143885c917d..c5daae4af77b 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json @@ -108,8 +108,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json index dcab173ae0dd..0447a109d142 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json @@ -4,7 +4,7 @@ "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "reservationId": "6ef59113-3482-40da-8d79-787f823e34bc", "parameters": { - "properties" : { + "properties": { "appliedScopeType": "Shared", "instanceFlexibility": "Off" } @@ -45,4 +45,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/reservations.json index dcc7cf11bcfc..9afdd0af9a91 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/reservations.json @@ -1,1223 +1,1223 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Reservation API", - "description": "This API describe Azure Reservation", - "version": "2018-06-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "Azure Reservation API", + "description": "This API describe Azure Reservation", + "version": "2018-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs": { + "get": { + "summary": "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", + "operationId": "GetCatalog", + "x-ms-examples": { + "Catalog": { + "$ref": "./examples/GetCatalog.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ReservedResourceTypeIdParameter" + }, + { + "$ref": "#/parameters/LocationIdParameter" + } + ], + "tags": [ + "Catalog" + ], + "responses": { + "200": { + "description": "List of available resources", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Catalog" + } } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" + } + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs": { - "get": { - "summary": "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", - "operationId": "GetCatalog", - "x-ms-examples": { - "Catalog": { - "$ref": "./examples/GetCatalog.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ReservedResourceTypeIdParameter" - }, - { - "$ref": "#/parameters/LocationIdParameter" - } - ], - "tags": [ - "Catalog" - ], - "responses": { - "200": { - "description": "List of available resources", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Catalog" - } - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - } + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { + "get": { + "summary": "Get list of applicable `Reservation`s.", + "description": "Get applicable `Reservation`s that are applied to this subscription.", + "operationId": "GetAppliedReservationList", + "x-ms-examples": { + "AppliedReservationList": { + "$ref": "./examples/GetAppliedReservations.json" + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { - "get": { - "summary": "Get list of applicable `Reservation`s.", - "description": "Get applicable `Reservation`s that are applied to this subscription.", - "operationId": "GetAppliedReservationList", - "x-ms-examples": { - "AppliedReservationList": { - "$ref": "./examples/GetAppliedReservations.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "tags": [ - "AppliedReservation" - ], - "responses": { - "200": { - "description": "Applicable `Reservation`s.", - "schema": { - "$ref": "#/definitions/AppliedReservations" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "tags": [ + "AppliedReservation" + ], + "responses": { + "200": { + "description": "Applicable `Reservation`s.", + "schema": { + "$ref": "#/definitions/AppliedReservations" } - }, - "/providers/Microsoft.Capacity/reservationOrders": { - "get": { - "summary": "Get all `ReservationOrder`s.", - "description": "List of all the `ReservationOrder`s that the user has access to in the current tenant.", - "operationId": "ReservationOrder_List", - "x-ms-examples": { - "ReservationOrderList": { - "$ref": "./examples/GetReservationOrders.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List of `ReservationOrder`s", - "schema": { - "$ref": "#/definitions/ReservationOrderList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders": { + "get": { + "summary": "Get all `ReservationOrder`s.", + "description": "List of all the `ReservationOrder`s that the user has access to in the current tenant.", + "operationId": "ReservationOrder_List", + "x-ms-examples": { + "ReservationOrderList": { + "$ref": "./examples/GetReservationOrders.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}": { - "get": { - "summary": "Get a specific `ReservationOrder`.", - "description": "Get the details of the `ReservationOrder`.", - "operationId": "ReservationOrder_Get", - "x-ms-examples": { - "GetReservation": { - "$ref": "./examples/GetReservationOrderDetails.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "Get the details of the `ReservationOrder`.", - "schema": { - "$ref": "#/definitions/ReservationOrderResponse" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split": { - "post": { - "summary": "Split the `Reservation`.", - "description": "Split a `Reservation` into two `Reservation`s with specified quantity distribution.\n", - "operationId": "Reservation_Split", - "x-ms-examples": { - "Split": { - "$ref": "./examples/SplitReservation.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SplitParameter" - } - ], - "tags": [ - "Reservation, Split" - ], - "responses": { - "200": { - "description": "List of `Reservation`s created after the split operation.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of `ReservationOrder`s", + "schema": { + "$ref": "#/definitions/ReservationOrderList" } - }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge": { - "post": { - "summary": "Merges two `Reservation`s.", - "description": "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", - "operationId": "Reservation_Merge", - "x-ms-examples": { - "Merge": { - "$ref": "./examples/MergeReservations.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MergeParameter" - } - ], - "tags": [ - "Reservation, Merge" - ], - "responses": { - "200": { - "description": "Returns the `Reservation` created after the merge.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}": { + "get": { + "summary": "Get a specific `ReservationOrder`.", + "description": "Get the details of the `ReservationOrder`.", + "operationId": "ReservationOrder_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationOrderDetails.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations": { - "get": { - "summary": "Get `Reservation`s in a given reservation Order", - "description": "List `Reservation`s within a single `ReservationOrder`.", - "operationId": "Reservation_List", - "x-ms-examples": { - "ReservationList": { - "$ref": "./examples/GetReservations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List `Reservation`s within a single `ReservationOrder`.", - "schema": { - "$ref": "#/definitions/ReservationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get the details of the `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationOrderResponse" } - }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}": { - "get": { - "summary": "Get `Reservation` details.", - "description": "Get specific `Reservation` details.", - "operationId": "Reservation_Get", - "x-ms-examples": { - "GetReservation": { - "$ref": "./examples/GetReservationDetails.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "Get `Reservation` details.", - "schema": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - }, - "patch": { - "summary": "Updates a `Reservation`.", - "description": "Updates the applied scopes of the `Reservation`.", - "operationId": "Reservation_Update", - "x-ms-examples": { - "PatchReservation": { - "$ref": "./examples/UpdateReservation.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PatchParameter" - } - ], - "tags": [ - "Reservation", - "ApplyScope" - ], - "responses": { - "200": { - "description": "Returns the updated `Reservation`.", - "schema": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split": { + "post": { + "summary": "Split the `Reservation`.", + "description": "Split a `Reservation` into two `Reservation`s with specified quantity distribution.\n", + "operationId": "Reservation_Split", + "x-ms-examples": { + "Split": { + "$ref": "./examples/SplitReservation.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions": { - "get": { - "summary": "Get `Reservation` revisions.", - "description": "List of all the revisions for the `Reservation`.\n", - "operationId": "Reservation_ListRevisions", - "x-ms-examples": { - "ReservationRevisions": { - "$ref": "./examples/GetReservationRevisions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List of all the revisions for the `Reservation`.", - "schema": { - "$ref": "#/definitions/ReservationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SplitParameter" + } + ], + "tags": [ + "Reservation, Split" + ], + "responses": { + "200": { + "description": "List of `Reservation`s created after the split operation.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } } - }, - "/providers/Microsoft.Capacity/operations": { - "get": { - "summary": "Get operations.", - "description": "List all the operations.", - "operationId": "Operation_List", - "x-ms-examples": { - "GetOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Operation" - ], - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } } + } }, - "definitions": { - "ReservationStatusCode": { - "type": "string", - "enum": [ - "None", - "Pending", - "Active", - "PurchaseError", - "PaymentInstrumentError", - "Split", - "Merged", - "Expired", - "Succeeded" - ], - "x-ms-enum": { - "name": "ReservationStatusCode", - "modelAsString": true - } + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge": { + "post": { + "summary": "Merges two `Reservation`s.", + "description": "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", + "operationId": "Reservation_Merge", + "x-ms-examples": { + "Merge": { + "$ref": "./examples/MergeReservations.json" + } }, - "ErrorResponseCode": { - "type": "string", - "enum": [ - "NotSpecified", - "InternalServerError", - "ServerTimeout", - "AuthorizationFailed", - "BadRequest", - "ClientCertificateThumbprintNotSet", - "InvalidRequestContent", - "OperationFailed", - "HttpMethodNotSupported", - "InvalidRequestUri", - "MissingTenantId", - "InvalidTenantId", - "InvalidReservationOrderId", - "InvalidReservationId", - "ReservationIdNotInReservationOrder", - "ReservationOrderNotFound", - "InvalidSubscriptionId", - "InvalidAccessToken", - "InvalidLocationId", - "UnauthenticatedRequestsThrottled", - "InvalidHealthCheckType", - "Forbidden", - "BillingScopeIdCannotBeChanged", - "AppliedScopesNotAssociatedWithCommerceAccount", - "PatchValuesSameAsExisting", - "RoleAssignmentCreationFailed", - "ReservationOrderCreationFailed", - "ReservationOrderNotEnabled", - "CapacityUpdateScopesFailed", - "UnsupportedReservationTerm", - "ReservationOrderIdAlreadyExists", - "RiskCheckFailed", - "CreateQuoteFailed", - "ActivateQuoteFailed", - "NonsupportedAccountId", - "PaymentInstrumentNotFound", - "MissingAppliedScopesForSingle", - "NoValidReservationsToReRate", - "ReRateOnlyAllowedForEA", - "OperationCannotBePerformedInCurrentState", - "InvalidSingleAppliedScopesCount", - "InvalidFulfillmentRequestParameters", - "NotSupportedCountry", - "InvalidRefundQuantity", - "PurchaseError", - "BillingCustomerInputError", - "BillingPaymentInstrumentSoftError", - "BillingPaymentInstrumentHardError", - "BillingTransientError", - "BillingError", - "FulfillmentConfigurationError", - "FulfillmentOutOfStockError", - "FulfillmentTransientError", - "FulfillmentError", - "CalculatePriceFailed" - ], - "x-ms-enum": { - "name": "ErrorResponseCode", - "modelAsString": true + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MergeParameter" + } + ], + "tags": [ + "Reservation, Merge" + ], + "responses": { + "200": { + "description": "Returns the `Reservation` created after the merge.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations": { + "get": { + "summary": "Get `Reservation`s in a given reservation Order", + "description": "List `Reservation`s within a single `ReservationOrder`.", + "operationId": "Reservation_List", + "x-ms-examples": { + "ReservationList": { + "$ref": "./examples/GetReservations.json" + } }, - "SkuName": { - "type": "object", - "properties": { - "name": { - "type": "string" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List `Reservation`s within a single `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}": { + "get": { + "summary": "Get `Reservation` details.", + "description": "Get specific `Reservation` details.", + "operationId": "Reservation_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationDetails.json" + } }, - "Catalog": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "The type of resource the SKU applies to.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The name of SKU", - "readOnly": true - }, - "terms": { - "type": "array", - "readOnly": true, - "description": "Available reservation terms for this resource", - "items": { - "$ref": "#/definitions/ReservationTerm" - } - }, - "locations": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The set of locations that the SKU is available. If not specified, the SKU is available in all locations." - } - }, - "skuProperties": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/SkuProperty" - } - }, - "restrictions": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/SkuRestriction" - } - } + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get `Reservation` details.", + "schema": { + "$ref": "#/definitions/ReservationResponse" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + }, + "patch": { + "summary": "Updates a `Reservation`.", + "description": "Updates the applied scopes of the `Reservation`.", + "operationId": "Reservation_Update", + "x-ms-examples": { + "PatchReservation": { + "$ref": "./examples/UpdateReservation.json" + } }, - "SkuProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "An invariant to describe the feature." - }, - "value": { - "type": "string", - "description": "An invariant if the feature is measured by quantity." - } + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PatchParameter" + } + ], + "tags": [ + "Reservation", + "ApplyScope" + ], + "responses": { + "200": { + "description": "Returns the updated `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationResponse" + } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions": { + "get": { + "summary": "Get `Reservation` revisions.", + "description": "List of all the revisions for the `Reservation`.\n", + "operationId": "Reservation_ListRevisions", + "x-ms-examples": { + "ReservationRevisions": { + "$ref": "./examples/GetReservationRevisions.json" + } }, - "SkuRestriction": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of restrictions." - }, - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." - }, - "reasonCode": { - "type": "string", - "description": "The reason for restriction." - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of all the revisions for the `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/operations": { + "get": { + "summary": "Get operations.", + "description": "List all the operations.", + "operationId": "Operation_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" + } }, - "ReservationOrderResponse": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "etag": { - "type": "integer" - }, - "id": { - "type": "string", - "readOnly": true, - "description": "Identifier of the reservation" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the reservation" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ReservationOrderProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Type of resource. \"Microsoft.Capacity/reservations\"" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Operation" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + } + }, + "definitions": { + "ReservationStatusCode": { + "type": "string", + "enum": [ + "None", + "Pending", + "Active", + "PurchaseError", + "PaymentInstrumentError", + "Split", + "Merged", + "Expired", + "Succeeded" + ], + "x-ms-enum": { + "name": "ReservationStatusCode", + "modelAsString": true + } + }, + "ErrorResponseCode": { + "type": "string", + "enum": [ + "NotSpecified", + "InternalServerError", + "ServerTimeout", + "AuthorizationFailed", + "BadRequest", + "ClientCertificateThumbprintNotSet", + "InvalidRequestContent", + "OperationFailed", + "HttpMethodNotSupported", + "InvalidRequestUri", + "MissingTenantId", + "InvalidTenantId", + "InvalidReservationOrderId", + "InvalidReservationId", + "ReservationIdNotInReservationOrder", + "ReservationOrderNotFound", + "InvalidSubscriptionId", + "InvalidAccessToken", + "InvalidLocationId", + "UnauthenticatedRequestsThrottled", + "InvalidHealthCheckType", + "Forbidden", + "BillingScopeIdCannotBeChanged", + "AppliedScopesNotAssociatedWithCommerceAccount", + "PatchValuesSameAsExisting", + "RoleAssignmentCreationFailed", + "ReservationOrderCreationFailed", + "ReservationOrderNotEnabled", + "CapacityUpdateScopesFailed", + "UnsupportedReservationTerm", + "ReservationOrderIdAlreadyExists", + "RiskCheckFailed", + "CreateQuoteFailed", + "ActivateQuoteFailed", + "NonsupportedAccountId", + "PaymentInstrumentNotFound", + "MissingAppliedScopesForSingle", + "NoValidReservationsToReRate", + "ReRateOnlyAllowedForEA", + "OperationCannotBePerformedInCurrentState", + "InvalidSingleAppliedScopesCount", + "InvalidFulfillmentRequestParameters", + "NotSupportedCountry", + "InvalidRefundQuantity", + "PurchaseError", + "BillingCustomerInputError", + "BillingPaymentInstrumentSoftError", + "BillingPaymentInstrumentHardError", + "BillingTransientError", + "BillingError", + "FulfillmentConfigurationError", + "FulfillmentOutOfStockError", + "FulfillmentTransientError", + "FulfillmentError", + "CalculatePriceFailed" + ], + "x-ms-enum": { + "name": "ErrorResponseCode", + "modelAsString": true + } + }, + "SkuName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "Catalog": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of resource the SKU applies to.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of SKU", + "readOnly": true + }, + "terms": { + "type": "array", + "readOnly": true, + "description": "Available reservation terms for this resource", + "items": { + "$ref": "#/definitions/ReservationTerm" + } }, - "ReservationTerm": { + "locations": { + "type": "array", + "readOnly": true, + "items": { "type": "string", - "description": "Represent the term of Reservation.", - "enum": [ - "P1Y", - "P3Y" - ], - "x-ms-enum": { - "name": "ReservationTerm", - "modelAsString": true - } + "description": "The set of locations that the SKU is available. If not specified, the SKU is available in all locations." + } }, - "ReservationOrderProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "Friendly name for user to easily identified the reservation." - }, - "requestDateTime": { - "type": "string", - "format": "date-time", - "description": "This is the DateTime when the reservation was initially requested for purchase." - }, - "createdDateTime": { - "type": "string", - "format": "date-time", - "description": "This is the DateTime when the reservation was created." - }, - "expiryDate": { - "type": "string", - "format": "date", - "description": "This is the date when the Reservation will expire." - }, - "originalQuantity": { - "type": "integer", - "format": "int32", - "description": "Total Quantity of the SKUs purchased in the Reservation." - }, - "term": { - "$ref": "#/definitions/ReservationTerm" - }, - "provisioningState": { - "type": "string", - "description": "Current state of the reservation." - }, - "reservations": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - } + "skuProperties": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuProperty" + } }, - "ReservationResponse": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "The Azure Region where the reserved resource lives." - }, - "etag": { - "type": "integer" - }, - "id": { - "type": "string", - "readOnly": true, - "description": "Identifier of the reservation" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the reservation" - }, - "sku": { - "$ref": "#/definitions/SkuName" - }, - "properties": { - "$ref": "#/definitions/ReservationProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" - } - } + "restrictions": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuRestriction" + } + } + } + }, + "SkuProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "An invariant to describe the feature." }, - "ReservationProperties": { - "type": "object", - "properties": { - "reservedResourceType": { - "$ref": "#/definitions/ReservedResourceType" - }, - "instanceFlexibility": { - "$ref": "#/definitions/InstanceFlexibility" - }, - "displayName": { - "type": "string", - "description": "Friendly name for user to easily identify the reservation" - }, - "appliedScopes": { - "$ref": "#/definitions/AppliedScopes" - }, - "appliedScopeType": { - "$ref": "#/definitions/AppliedScopeType" - }, - "quantity": { - "type": "integer", - "format": "int32", - "description": "Quantity of the SKUs that are part of the Reservation." - }, - "provisioningState": { - "type": "string", - "description": "Current state of the reservation." - }, - "effectiveDateTime": { - "type": "string", - "format": "date-time", - "description": "DateTime of the Reservation starting when this version is effective from." - }, - "lastUpdatedDateTime": { - "type": "string", - "format": "date-time", - "description": "DateTime of the last time the Reservation was updated.", - "readOnly": true - }, - "expiryDate": { - "type": "string", - "format": "date", - "description": "This is the date when the Reservation will expire." - }, - "skuDescription": { - "type": "string", - "description": "Description of the SKU in english." - }, - "extendedStatusInfo": { - "$ref": "#/definitions/ExtendedStatusInfo" - }, - "splitProperties": { - "$ref": "#/definitions/ReservationSplitProperties" - }, - "mergeProperties": { - "$ref": "#/definitions/ReservationMergeProperties" - } - } + "value": { + "type": "string", + "description": "An invariant if the feature is measured by quantity." + } + } + }, + "SkuRestriction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions." }, - "ReservationSplitProperties": { - "type": "object", - "properties": { - "splitDestinations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - }, - "splitSource": { - "type": "string", - "description": "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." }, - "ReservationMergeProperties": { - "type": "object", - "properties": { - "mergeDestination": { - "type": "string", - "description": "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - }, - "mergeSources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "reasonCode": { + "type": "string", + "description": "The reason for restriction." + } + } + }, + "ReservationOrderResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "etag": { + "type": "integer" }, - "PatchProperties": { - "type": "object", - "properties": { - "appliedScopeType": { - "$ref": "#/definitions/AppliedScopeType" - }, - "appliedScopes": { - "$ref": "#/definitions/AppliedScopes" - }, - "instanceFlexibility": { - "$ref": "#/definitions/InstanceFlexibility" - }, - "name": { - "description": "Name of the Reservation", - "type": "string" - } - } + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" }, - "SplitProperties": { - "type": "object", - "properties": { - "quantities": { - "type": "array", - "description": "List of the quantities in the new reservations to create.", - "items": { - "type": "integer", - "minItems": 2, - "maxItems": 2 - } - }, - "reservationId": { - "type": "string", - "description": "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" }, - "MergeProperties": { - "type": "object", - "properties": { - "sources": { - "type": "array", - "description": "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", - "items": { - "type": "string" - } - } - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationOrderProperties" }, - "MergeRequest": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MergeProperties" - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservations\"" + } + } + }, + "ReservationTerm": { + "type": "string", + "description": "Represent the term of Reservation.", + "enum": [ + "P1Y", + "P3Y" + ], + "x-ms-enum": { + "name": "ReservationTerm", + "modelAsString": true + } + }, + "ReservationOrderProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identified the reservation." }, - "Patch": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PatchProperties" - } - } + "requestDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was initially requested for purchase." }, - "SplitRequest": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SplitProperties" - } - } + "createdDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was created." }, - "Error": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ExtendedErrorInfo" - } - } + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." }, - "ExtendedErrorInfo": { - "type": "object", - "properties": { - "code": { - "$ref": "#/definitions/ErrorResponseCode" - }, - "message": { - "type": "string" - } - } + "originalQuantity": { + "type": "integer", + "format": "int32", + "description": "Total Quantity of the SKUs purchased in the Reservation." }, - "ExtendedStatusInfo": { - "type": "object", - "properties": { - "statusCode": { - "$ref": "#/definitions/ReservationStatusCode" - }, - "message": { - "type": "string", - "description": "The message giving detailed information about the status code." - } - } + "term": { + "$ref": "#/definitions/ReservationTerm" }, - "ReservationOrderList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationOrderResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservationOrders." - } - } + "provisioningState": { + "type": "string", + "description": "Current state of the reservation." }, - "ReservationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservations." - } - } + "reservations": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + } + } + }, + "ReservationResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "readOnly": true, + "description": "The Azure Region where the reserved resource lives." }, - "AppliedReservations": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Identifier of the applied reservations", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Name of resource", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AppliedReservationsProperties" - } - } + "etag": { + "type": "integer" }, - "AppliedReservationsProperties": { - "type": "object", - "properties": { - "reservationOrderIds": { - "$ref": "#/definitions/AppliedReservationList" - } - } + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" }, - "AppliedReservationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string", - "description": "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservations" - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" }, - "OperationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of items." - } - } + "sku": { + "$ref": "#/definitions/SkuName" }, - "OperationResponse": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplay" - }, - "origin": { - "type": "string" - } - } + "properties": { + "$ref": "#/definitions/ReservationProperties" }, - "OperationDisplay": { - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" + } + } + }, + "ReservationProperties": { + "type": "object", + "properties": { + "reservedResourceType": { + "$ref": "#/definitions/ReservedResourceType" }, - "InstanceFlexibility": { - "type": "string", - "description": "Allows reservation discount to be applied across skus within the same Autofit group. Not all skus support instance size flexibility.", - "enum": [ - "On", - "Off", - "NotSupported" - ], - "x-ms-enum": { - "name": "InstanceFlexibility", - "modelAsString": true - } + "instanceFlexibility": { + "$ref": "#/definitions/InstanceFlexibility" }, - "AppliedScopeType": { - "type": "string", - "description": "Type of the Applied Scope.", - "enum": [ - "Single", - "Shared" - ], - "x-ms-enum": { - "name": "AppliedScopeType", - "modelAsString": true - } + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identify the reservation" }, - "AppliedScopes": { - "type": "array", - "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", - "items": { - "type": "string", - "minItems": 1, - "maxItems": 1 - } + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "ReservedResourceType": { - "type": "string", - "description": "The type of the resource that is being reserved.", - "enum": [ - "VirtualMachines", - "SqlDatabases", - "SuseLinux", - "CosmosDb", - "RedHat" - ], - "x-ms-enum": { - "name": "ReservedResourceType", - "modelAsString": true - } + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" + }, + "quantity": { + "type": "integer", + "format": "int32", + "description": "Quantity of the SKUs that are part of the Reservation." + }, + "provisioningState": { + "type": "string", + "description": "Current state of the reservation." + }, + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the Reservation starting when this version is effective from." + }, + "lastUpdatedDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the last time the Reservation was updated.", + "readOnly": true + }, + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." + }, + "skuDescription": { + "type": "string", + "description": "Description of the SKU in english." + }, + "extendedStatusInfo": { + "$ref": "#/definitions/ExtendedStatusInfo" + }, + "splitProperties": { + "$ref": "#/definitions/ReservationSplitProperties" + }, + "mergeProperties": { + "$ref": "#/definitions/ReservationMergeProperties" } + } }, - "parameters": { - "ReservationIdParameter": { - "name": "reservationId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Id of the Reservation Item" - }, - "MergeParameter": { - "name": "body", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed for commercial request for a reservation", - "schema": { - "$ref": "#/definitions/MergeRequest" - } + "ReservationSplitProperties": { + "type": "object", + "properties": { + "splitDestinations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" }, - "PatchParameter": { - "name": "parameters", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed to patch a reservation item", - "schema": { - "$ref": "#/definitions/Patch" - } + "splitSource": { + "type": "string", + "description": "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "ReservationMergeProperties": { + "type": "object", + "properties": { + "mergeDestination": { + "type": "string", + "description": "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" }, - "SplitParameter": { - "name": "body", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed to Split a reservation item", - "schema": { - "$ref": "#/definitions/SplitRequest" - } + "mergeSources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "PatchProperties": { + "type": "object", + "properties": { + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" + }, + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Supported version.", - "required": true, + "instanceFlexibility": { + "$ref": "#/definitions/InstanceFlexibility" + }, + "name": { + "description": "Name of the Reservation", + "type": "string" + } + } + }, + "SplitProperties": { + "type": "object", + "properties": { + "quantities": { + "type": "array", + "description": "List of the quantities in the new reservations to create.", + "items": { + "type": "integer", + "minItems": 2, + "maxItems": 2 + } + }, + "reservationId": { + "type": "string", + "description": "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "MergeProperties": { + "type": "object", + "properties": { + "sources": { + "type": "array", + "description": "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", + "items": { "type": "string" + } + } + } + }, + "MergeRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MergeProperties" + } + } + }, + "Patch": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchProperties" + } + } + }, + "SplitRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SplitProperties" + } + } + }, + "Error": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ExtendedErrorInfo" + } + } + }, + "ExtendedErrorInfo": { + "type": "object", + "properties": { + "code": { + "$ref": "#/definitions/ErrorResponseCode" }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Id of the subscription" + "message": { + "type": "string" + } + } + }, + "ExtendedStatusInfo": { + "type": "object", + "properties": { + "statusCode": { + "$ref": "#/definitions/ReservationStatusCode" }, - "ReservedResourceTypeIdParameter": { - "name": "reservedResourceType", - "x-ms-parameter-location": "method", - "in": "query", - "required": true, - "type": "string", - "description": "The type of the resource for which the skus should be provided." + "message": { + "type": "string", + "description": "The message giving detailed information about the status code." + } + } + }, + "ReservationOrderList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationOrderResponse" + } }, - "LocationIdParameter": { - "name": "location", - "x-ms-parameter-location": "method", - "in": "query", - "required": false, - "type": "string", - "description": "Filters the skus based on the location specified in this parameter. This can be an azure region or global" + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservationOrders." + } + } + }, + "ReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations." + } + } + }, + "AppliedReservations": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Identifier of the applied reservations", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", + "readOnly": true }, - "ReservationOrderIdParameter": { - "name": "reservationOrderId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AppliedReservationsProperties" + } + } + }, + "AppliedReservationsProperties": { + "type": "object", + "properties": { + "reservationOrderIds": { + "$ref": "#/definitions/AppliedReservationList" + } + } + }, + "AppliedReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { "type": "string", - "description": "Order Id of the reservation\n" + "description": "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations" + } + } + }, + "OperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of items." + } + } + }, + "OperationResponse": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplay" + }, + "origin": { + "type": "string" } + } + }, + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "InstanceFlexibility": { + "type": "string", + "description": "Allows reservation discount to be applied across skus within the same Autofit group. Not all skus support instance size flexibility.", + "enum": [ + "On", + "Off", + "NotSupported" + ], + "x-ms-enum": { + "name": "InstanceFlexibility", + "modelAsString": true + } + }, + "AppliedScopeType": { + "type": "string", + "description": "Type of the Applied Scope.", + "enum": [ + "Single", + "Shared" + ], + "x-ms-enum": { + "name": "AppliedScopeType", + "modelAsString": true + } + }, + "AppliedScopes": { + "type": "array", + "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", + "items": { + "type": "string", + "minItems": 1, + "maxItems": 1 + } + }, + "ReservedResourceType": { + "type": "string", + "description": "The type of the resource that is being reserved.", + "enum": [ + "VirtualMachines", + "SqlDatabases", + "SuseLinux", + "CosmosDb", + "RedHat" + ], + "x-ms-enum": { + "name": "ReservedResourceType", + "modelAsString": true + } + } + }, + "parameters": { + "ReservationIdParameter": { + "name": "reservationId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the Reservation Item" + }, + "MergeParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed for commercial request for a reservation", + "schema": { + "$ref": "#/definitions/MergeRequest" + } + }, + "PatchParameter": { + "name": "parameters", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to patch a reservation item", + "schema": { + "$ref": "#/definitions/Patch" + } + }, + "SplitParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to Split a reservation item", + "schema": { + "$ref": "#/definitions/SplitRequest" + } + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Supported version.", + "required": true, + "type": "string" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the subscription" + }, + "ReservedResourceTypeIdParameter": { + "name": "reservedResourceType", + "x-ms-parameter-location": "method", + "in": "query", + "required": true, + "type": "string", + "description": "The type of the resource for which the skus should be provided." + }, + "LocationIdParameter": { + "name": "location", + "x-ms-parameter-location": "method", + "in": "query", + "required": false, + "type": "string", + "description": "Filters the skus based on the location specified in this parameter. This can be an azure region or global" + }, + "ReservationOrderIdParameter": { + "name": "reservationOrderId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Order Id of the reservation\n" } -} \ No newline at end of file + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json index 2290d72eea0d..340a5e23d8f0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json @@ -1,42 +1,42 @@ { - "parameters": { - "api-version": "2019-04-01", - "body": { - "sku": { - "name": "standard_D1" - }, - "location": "westus", - "properties": { - "reservedResourceType": "VirtualMachines", - "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", - "term": "P1Y", - "quantity": "1", - "displayName": "TestReservationOrder", - "appliedScopes": null, - "appliedScopeType": "Shared", - "reservedResourceProperties": { - "instanceFlexibility": "On" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "billingCurrencyTotal": { - "currencyCode": "USD", - "amount": 466.0 - }, - "reservationOrderId": "6d9cec54-7de8-abcd-9de7-80f5d634f2d2", - "skuTitle": "Reserved VM Instance, Standard_D1, US West, 1 Year", - "skuDescription": "standard_D1", - "pricingCurrencyTotal": { - "currencyCode": "USD", - "amount": 466.0 - } - } - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-04-01", + "body": { + "sku": { + "name": "standard_D1" + }, + "location": "westus", + "properties": { + "reservedResourceType": "VirtualMachines", + "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", + "term": "P1Y", + "quantity": "1", + "displayName": "TestReservationOrder", + "appliedScopes": null, + "appliedScopeType": "Shared", + "reservedResourceProperties": { + "instanceFlexibility": "On" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466.0 + }, + "reservationOrderId": "6d9cec54-7de8-abcd-9de7-80f5d634f2d2", + "skuTitle": "Reserved VM Instance, Standard_D1, US West, 1 Year", + "skuDescription": "standard_D1", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466.0 + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetAppliedReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetAppliedReservations.json index a7edca1497eb..9b65ea97d1c7 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetAppliedReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetAppliedReservations.json @@ -11,22 +11,24 @@ "name": "default", "properties": { "reservationOrderIds": { - "value": ["/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", - "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", - "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", - "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", - "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", - "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", - "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", - "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", - "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", - "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", - "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", - "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", - "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723"] + "value": [ + "/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", + "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", + "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", + "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", + "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", + "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", + "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", + "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", + "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", + "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", + "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", + "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", + "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json index fdc84983c796..336b3863dd02 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json @@ -8,131 +8,131 @@ "responses": { "200": { "body": [ - { - "resourceType": "VirtualMachines", - "name": "Standard_DS5_v2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "16" - }, - { - "name": "ProductTitle", - "value": "DSv2 Series, DS5" - }, - { - "name": "ProductShortName", - "value": "DSv2 Series" - }, - { - "name": "SKUName", - "value": "DS5 v2" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [] - }, - { - "resourceType": "VirtualMachines", - "name": "Standard_D1", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "1" - }, - { - "name": "ProductTitle", - "value": "D Series, D1" - }, - { - "name": "ProductShortName", - "value": "D Series" - }, - { - "name": "SKUName", - "value": "D1" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [ - { - "type": "Term", - "values": [ - "P1Y" - ], - "reasonCode": "NotAvailableForSubscription" - }, - { - "type": "Term", - "values": [ - "P3Y" - ], - "reasonCode": "NotAvailableForSubscription" - } - ] - }, - { - "resourceType": "VirtualMachines", - "name": "Standard_F2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "skuProperties": [ - { - "name": "Cores", - "value": "2" - }, - { - "name": "ProductTitle", - "value": "F Series, F2" - }, - { - "name": "ProductShortName", - "value": "F Series" - }, - { - "name": "SKUName", - "value": "F2" - }, - { - "name": "MeterId", - "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" - } - ], - "restrictions": [ - { - "type": "Location", - "values": [ - "eastus" - ], - "reasonCode": "NotAvailableForSubscription" - } - ] - } + { + "resourceType": "VirtualMachines", + "name": "Standard_DS5_v2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "16" + }, + { + "name": "ProductTitle", + "value": "DSv2 Series, DS5" + }, + { + "name": "ProductShortName", + "value": "DSv2 Series" + }, + { + "name": "SKUName", + "value": "DS5 v2" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [] + }, + { + "resourceType": "VirtualMachines", + "name": "Standard_D1", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "1" + }, + { + "name": "ProductTitle", + "value": "D Series, D1" + }, + { + "name": "ProductShortName", + "value": "D Series" + }, + { + "name": "SKUName", + "value": "D1" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [ + { + "type": "Term", + "values": [ + "P1Y" + ], + "reasonCode": "NotAvailableForSubscription" + }, + { + "type": "Term", + "values": [ + "P3Y" + ], + "reasonCode": "NotAvailableForSubscription" + } + ] + }, + { + "resourceType": "VirtualMachines", + "name": "Standard_F2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "skuProperties": [ + { + "name": "Cores", + "value": "2" + }, + { + "name": "ProductTitle", + "value": "F Series, F2" + }, + { + "name": "ProductShortName", + "value": "F Series" + }, + { + "name": "SKUName", + "value": "F2" + }, + { + "name": "MeterId", + "value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8" + } + ], + "restrictions": [ + { + "type": "Location", + "values": [ + "eastus" + ], + "reasonCode": "NotAvailableForSubscription" + } + ] + } ] } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetOperations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetOperations.json index 761ca0644f9d..20937ee093e5 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetOperations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetOperations.json @@ -100,4 +100,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json index e6251a2753c0..52d4ce3be960 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json index cdcac65a1b1b..c0cf7b3e07ba 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json index 388708507715..9da256509b19 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json index 173cdb93c740..5d39f4459ce8 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json @@ -137,4 +137,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json index 8314b688d143..5745858df555 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json @@ -147,4 +147,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json index eef063de0ab1..ea78ed11b968 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json @@ -3,7 +3,7 @@ "api-version": "2019-04-01", "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "body": { - "properties" : { + "properties": { "sources": [ "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/cea04232-932e-47db-acb5-e29a945ecc73", "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/5bf54dc7-dacd-4f46-a16b-7b78f4a59799" @@ -117,8 +117,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json index d2d26d537e1b..c13d39b127c2 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json @@ -3,22 +3,22 @@ "api-version": "2019-04-01", "reservationOrderId": "a075419f-44cc-497f-b68a-14ee811d48b9", "body": { - "sku": { - "name": "standard_D1" - }, - "location": "westus", - "properties": { - "reservedResourceType": "VirtualMachines", - "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", - "term": "P1Y", - "quantity": "1", - "displayName": "TestReservationOrder", - "appliedScopes": null, - "appliedScopeType": "Shared", - "reservedResourceProperties": { - "instanceFlexibility": "On" - } + "sku": { + "name": "standard_D1" + }, + "location": "westus", + "properties": { + "reservedResourceType": "VirtualMachines", + "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", + "term": "P1Y", + "quantity": "1", + "displayName": "TestReservationOrder", + "appliedScopes": null, + "appliedScopeType": "Shared", + "reservedResourceProperties": { + "instanceFlexibility": "On" } + } } }, "responses": { @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json index 737b5ddf6d57..281a964f20fe 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json @@ -108,8 +108,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json index 7f39a151283f..5e6625876ed0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json @@ -4,7 +4,7 @@ "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "reservationId": "6ef59113-3482-40da-8d79-787f823e34bc", "parameters": { - "properties" : { + "properties": { "appliedScopeType": "Shared", "instanceFlexibility": "Off" } @@ -45,4 +45,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index 0fe540dab94d..e4e14bdfd8c3 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -1,1267 +1,1426 @@ { - "swagger" : "2.0", - "info" : { - "title" : "Azure Reservation API", - "description" : "This API describe Azure Reservation", - "version" : "2019-04-01" + "swagger": "2.0", + "info": { + "title": "Azure Reservation API", + "description": "This API describe Azure Reservation", + "version": "2019-04-01" }, - "host" : "management.azure.com", - "schemes" : [ "https" ], - "produces" : [ "application/json" ], - "consumes" : [ "application/json" ], - "securityDefinitions" : { - "azure_auth" : { - "type" : "oauth2", - "authorizationUrl" : "https://login.microsoftonline.com/common/oauth2/authorize", - "flow" : "implicit", - "description" : "Azure Active Directory OAuth2 Flow", - "scopes" : { - "user_impersonation" : "impersonate your user account" + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } } }, - "paths" : { - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs" : { - "get" : { - "summary" : "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", - "operationId" : "GetCatalog", - "x-ms-examples" : { - "Catalog" : { - "$ref" : "./examples/GetCatalog.json" + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs": { + "get": { + "summary": "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", + "operationId": "GetCatalog", + "x-ms-examples": { + "Catalog": { + "$ref": "./examples/GetCatalog.json" } }, - "parameters" : [ { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/SubscriptionIdParameter" - }, { - "$ref" : "#/parameters/ReservedResourceTypeIdParameter" - }, { - "$ref" : "#/parameters/LocationIdParameter" - } ], - "tags" : [ "Catalog" ], - "responses" : { - "200" : { - "description" : "List of available resources", - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/Catalog" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ReservedResourceTypeIdParameter" + }, + { + "$ref": "#/parameters/LocationIdParameter" + } + ], + "tags": [ + "Catalog" + ], + "responses": { + "200": { + "description": "List of available resources", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Catalog" } } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations" : { - "get" : { - "summary" : "Get list of applicable `Reservation`s.", - "description" : "Get applicable `Reservation`s that are applied to this subscription.", - "operationId" : "GetAppliedReservationList", - "x-ms-examples" : { - "AppliedReservationList" : { - "$ref" : "./examples/GetAppliedReservations.json" + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { + "get": { + "summary": "Get list of applicable `Reservation`s.", + "description": "Get applicable `Reservation`s that are applied to this subscription.", + "operationId": "GetAppliedReservationList", + "x-ms-examples": { + "AppliedReservationList": { + "$ref": "./examples/GetAppliedReservations.json" } }, - "parameters" : [ { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/SubscriptionIdParameter" - } ], - "tags" : [ "AppliedReservation" ], - "responses" : { - "200" : { - "description" : "Applicable `Reservation`s.", - "schema" : { - "$ref" : "#/definitions/AppliedReservations" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "tags": [ + "AppliedReservation" + ], + "responses": { + "200": { + "description": "Applicable `Reservation`s.", + "schema": { + "$ref": "#/definitions/AppliedReservations" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/calculatePrice" : { - "post" : { - "summary" : "Calculate price for a `ReservationOrder`.", - "description" : "Calculate price for placing a `ReservationOrder`.", - "operationId" : "ReservationOrder_Calculate", - "x-ms-examples" : { - "Purchase" : { - "$ref" : "./examples/CalculateReservationOrder.json" + "/providers/Microsoft.Capacity/calculatePrice": { + "post": { + "summary": "Calculate price for a `ReservationOrder`.", + "description": "Calculate price for placing a `ReservationOrder`.", + "operationId": "ReservationOrder_Calculate", + "x-ms-examples": { + "Purchase": { + "$ref": "./examples/CalculateReservationOrder.json" } }, - "parameters" : [ { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/PurchaseParameter" - } ], - "tags" : [ "Reservation, Calculate" ], - "responses" : { - "200" : { - "description" : "Detailed price info for purchasing `ReservationOrder`", - "schema" : { - "$ref" : "#/definitions/CalculatePriceResponse" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PurchaseParameter" + } + ], + "tags": [ + "Reservation, Calculate" + ], + "responses": { + "200": { + "description": "Detailed price info for purchasing `ReservationOrder`", + "schema": { + "$ref": "#/definitions/CalculatePriceResponse" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders" : { - "get" : { - "summary" : "Get all `ReservationOrder`s.", - "description" : "List of all the `ReservationOrder`s that the user has access to in the current tenant.", - "operationId" : "ReservationOrder_List", - "x-ms-examples" : { - "ReservationOrderList" : { - "$ref" : "./examples/GetReservationOrders.json" + "/providers/Microsoft.Capacity/reservationOrders": { + "get": { + "summary": "Get all `ReservationOrder`s.", + "description": "List of all the `ReservationOrder`s that the user has access to in the current tenant.", + "operationId": "ReservationOrder_List", + "x-ms-examples": { + "ReservationOrderList": { + "$ref": "./examples/GetReservationOrders.json" } }, - "x-ms-pageable" : { - "nextLinkName" : "nextLink" - }, - "parameters" : [ { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Reservation" ], - "responses" : { - "200" : { - "description" : "List of `ReservationOrder`s", - "schema" : { - "$ref" : "#/definitions/ReservationOrderList" + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of `ReservationOrder`s", + "schema": { + "$ref": "#/definitions/ReservationOrderList" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}" : { - "put" : { - "summary" : "Purchase `ReservationOrder`", - "description" : "Purchase `ReservationOrder` and create resource under the specified URI.", - "operationId" : "ReservationOrder_Purchase", - "x-ms-examples" : { - "Purchase" : { - "$ref" : "./examples/PurchaseReservationOrder.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}": { + "put": { + "summary": "Purchase `ReservationOrder`", + "description": "Purchase `ReservationOrder` and create resource under the specified URI.", + "operationId": "ReservationOrder_Purchase", + "x-ms-examples": { + "Purchase": { + "$ref": "./examples/PurchaseReservationOrder.json" } }, - "x-ms-long-running-operation" : true, - "x-ms-long-running-operation-options" : { - "final-state-via" : "location" - }, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/PurchaseParameter" - } ], - "tags" : [ "Reservation, Purchase" ], - "responses" : { - "200" : { - "description" : "The resource has been created", - "schema" : { - "$ref" : "#/definitions/ReservationOrderResponse" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PurchaseParameter" + } + ], + "tags": [ + "Reservation, Purchase" + ], + "responses": { + "200": { + "description": "The resource has been created", + "schema": { + "$ref": "#/definitions/ReservationOrderResponse" } }, - "202" : { - "description" : "The request is accepted and is being processed. Operation result link is in location header.", - "schema" : { - "$ref" : "#/definitions/ReservationOrderResponse" + "202": { + "description": "The request is accepted and is being processed. Operation result link is in location header.", + "schema": { + "$ref": "#/definitions/ReservationOrderResponse" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } }, - "get" : { - "summary" : "Get a specific `ReservationOrder`.", - "description" : "Get the details of the `ReservationOrder`.", - "operationId" : "ReservationOrder_Get", - "x-ms-examples" : { - "GetReservation" : { - "$ref" : "./examples/GetReservationOrderDetails.json" + "get": { + "summary": "Get a specific `ReservationOrder`.", + "description": "Get the details of the `ReservationOrder`.", + "operationId": "ReservationOrder_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationOrderDetails.json" } }, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Reservation" ], - "responses" : { - "200" : { - "description" : "Get the details of the `ReservationOrder`.", - "schema" : { - "$ref" : "#/definitions/ReservationOrderResponse" + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get the details of the `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationOrderResponse" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split" : { - "post" : { - "summary" : "Split the `Reservation`.", - "description" : "Split a `Reservation` into two `Reservation`s with specified quantity distribution.", - "operationId" : "Reservation_Split", - "x-ms-examples" : { - "Split" : { - "$ref" : "./examples/SplitReservation.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split": { + "post": { + "summary": "Split the `Reservation`.", + "description": "Split a `Reservation` into two `Reservation`s with specified quantity distribution.", + "operationId": "Reservation_Split", + "x-ms-examples": { + "Split": { + "$ref": "./examples/SplitReservation.json" } }, - "x-ms-long-running-operation" : true, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/SplitParameter" - } ], - "tags" : [ "Reservation, Split" ], - "responses" : { - "200" : { - "description" : "List of `Reservation`s created after the split operation.", - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/ReservationResponse" + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SplitParameter" + } + ], + "tags": [ + "Reservation, Split" + ], + "responses": { + "200": { + "description": "List of `Reservation`s created after the split operation.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" } } }, - "202" : { - "description" : "The request is accepted and is being processed" + "202": { + "description": "The request is accepted and is being processed" }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge" : { - "post" : { - "summary" : "Merges two `Reservation`s.", - "description" : "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", - "operationId" : "Reservation_Merge", - "x-ms-examples" : { - "Merge" : { - "$ref" : "./examples/MergeReservations.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge": { + "post": { + "summary": "Merges two `Reservation`s.", + "description": "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", + "operationId": "Reservation_Merge", + "x-ms-examples": { + "Merge": { + "$ref": "./examples/MergeReservations.json" } }, - "x-ms-long-running-operation" : true, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/MergeParameter" - } ], - "tags" : [ "Reservation, Merge" ], - "responses" : { - "200" : { - "description" : "Returns the `Reservation` created after the merge.", - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/ReservationResponse" + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MergeParameter" + } + ], + "tags": [ + "Reservation, Merge" + ], + "responses": { + "200": { + "description": "Returns the `Reservation` created after the merge.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" } } }, - "202" : { - "description" : "The request is accepted and is being processed" + "202": { + "description": "The request is accepted and is being processed" }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations" : { - "get" : { - "summary" : "Get `Reservation`s in a given reservation Order", - "description" : "List `Reservation`s within a single `ReservationOrder`.", - "operationId" : "Reservation_List", - "x-ms-examples" : { - "ReservationList" : { - "$ref" : "./examples/GetReservations.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations": { + "get": { + "summary": "Get `Reservation`s in a given reservation Order", + "description": "List `Reservation`s within a single `ReservationOrder`.", + "operationId": "Reservation_List", + "x-ms-examples": { + "ReservationList": { + "$ref": "./examples/GetReservations.json" } }, - "x-ms-pageable" : { - "nextLinkName" : "nextLink" - }, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Reservation" ], - "responses" : { - "200" : { - "description" : "List `Reservation`s within a single `ReservationOrder`.", - "schema" : { - "$ref" : "#/definitions/ReservationList" + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List `Reservation`s within a single `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationList" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" : { - "get" : { - "summary" : "Get `Reservation` details.", - "description" : "Get specific `Reservation` details.", - "operationId" : "Reservation_Get", - "x-ms-examples" : { - "GetReservation" : { - "$ref" : "./examples/GetReservationDetails.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}": { + "get": { + "summary": "Get `Reservation` details.", + "description": "Get specific `Reservation` details.", + "operationId": "Reservation_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationDetails.json" } }, - "parameters" : [ { - "$ref" : "#/parameters/ReservationIdParameter" - }, { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Reservation" ], - "responses" : { - "200" : { - "description" : "Get `Reservation` details.", - "schema" : { - "$ref" : "#/definitions/ReservationResponse" + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get `Reservation` details.", + "schema": { + "$ref": "#/definitions/ReservationResponse" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } }, - "patch" : { - "summary" : "Updates a `Reservation`.", - "description" : "Updates the applied scopes of the `Reservation`.", - "operationId" : "Reservation_Update", - "x-ms-examples" : { - "PatchReservation" : { - "$ref" : "./examples/UpdateReservation.json" + "patch": { + "summary": "Updates a `Reservation`.", + "description": "Updates the applied scopes of the `Reservation`.", + "operationId": "Reservation_Update", + "x-ms-examples": { + "PatchReservation": { + "$ref": "./examples/UpdateReservation.json" } }, - "x-ms-long-running-operation" : true, - "parameters" : [ { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ReservationIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - }, { - "$ref" : "#/parameters/PatchParameter" - } ], - "tags" : [ "Reservation", "ApplyScope" ], - "responses" : { - "200" : { - "description" : "Returns the updated `Reservation`.", - "schema" : { - "$ref" : "#/definitions/ReservationResponse" + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PatchParameter" + } + ], + "tags": [ + "Reservation", + "ApplyScope" + ], + "responses": { + "200": { + "description": "Returns the updated `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationResponse" } }, - "202" : { - "description" : "The request is accepted and is being processed" + "202": { + "description": "The request is accepted and is being processed" }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions" : { - "get" : { - "summary" : "Get `Reservation` revisions.", - "description" : "List of all the revisions for the `Reservation`.", - "operationId" : "Reservation_ListRevisions", - "x-ms-examples" : { - "ReservationRevisions" : { - "$ref" : "./examples/GetReservationRevisions.json" + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions": { + "get": { + "summary": "Get `Reservation` revisions.", + "description": "List of all the revisions for the `Reservation`.", + "operationId": "Reservation_ListRevisions", + "x-ms-examples": { + "ReservationRevisions": { + "$ref": "./examples/GetReservationRevisions.json" } }, - "x-ms-pageable" : { - "nextLinkName" : "nextLink" - }, - "parameters" : [ { - "$ref" : "#/parameters/ReservationIdParameter" - }, { - "$ref" : "#/parameters/ReservationOrderIdParameter" - }, { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Reservation" ], - "responses" : { - "200" : { - "description" : "List of all the revisions for the `Reservation`.", - "schema" : { - "$ref" : "#/definitions/ReservationList" + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of all the revisions for the `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationList" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } }, - "/providers/Microsoft.Capacity/operations" : { - "get" : { - "summary" : "Get operations.", - "description" : "List all the operations.", - "operationId" : "Operation_List", - "x-ms-examples" : { - "GetOperations" : { - "$ref" : "./examples/GetOperations.json" + "/providers/Microsoft.Capacity/operations": { + "get": { + "summary": "Get operations.", + "description": "List all the operations.", + "operationId": "Operation_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" } }, - "x-ms-pageable" : { - "nextLinkName" : "nextLink" - }, - "parameters" : [ { - "$ref" : "#/parameters/ApiVersionParameter" - } ], - "tags" : [ "Operation" ], - "responses" : { - "200" : { - "description" : "List all the operations.", - "schema" : { - "$ref" : "#/definitions/OperationList" + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Operation" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" } }, - "default" : { - "description" : "Unexpected error", - "schema" : { - "$ref" : "#/definitions/Error" + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } } } } } }, - "definitions" : { - "ReservationStatusCode" : { - "type" : "string", - "enum" : [ "None", "Pending", "Active", "PurchaseError", "PaymentInstrumentError", "Split", "Merged", "Expired", "Succeeded" ], - "x-ms-enum" : { - "name" : "ReservationStatusCode", - "modelAsString" : true + "definitions": { + "ReservationStatusCode": { + "type": "string", + "enum": [ + "None", + "Pending", + "Active", + "PurchaseError", + "PaymentInstrumentError", + "Split", + "Merged", + "Expired", + "Succeeded" + ], + "x-ms-enum": { + "name": "ReservationStatusCode", + "modelAsString": true } }, - "ErrorResponseCode" : { - "type" : "string", - "enum" : [ "NotSpecified", "InternalServerError", "ServerTimeout", "AuthorizationFailed", "BadRequest", "ClientCertificateThumbprintNotSet", "InvalidRequestContent", "OperationFailed", "HttpMethodNotSupported", "InvalidRequestUri", "MissingTenantId", "InvalidTenantId", "InvalidReservationOrderId", "InvalidReservationId", "ReservationIdNotInReservationOrder", "ReservationOrderNotFound", "InvalidSubscriptionId", "InvalidAccessToken", "InvalidLocationId", "UnauthenticatedRequestsThrottled", "InvalidHealthCheckType", "Forbidden", "BillingScopeIdCannotBeChanged", "AppliedScopesNotAssociatedWithCommerceAccount", "PatchValuesSameAsExisting", "RoleAssignmentCreationFailed", "ReservationOrderCreationFailed", "ReservationOrderNotEnabled", "CapacityUpdateScopesFailed", "UnsupportedReservationTerm", "ReservationOrderIdAlreadyExists", "RiskCheckFailed", "CreateQuoteFailed", "ActivateQuoteFailed", "NonsupportedAccountId", "PaymentInstrumentNotFound", "MissingAppliedScopesForSingle", "NoValidReservationsToReRate", "ReRateOnlyAllowedForEA", "OperationCannotBePerformedInCurrentState", "InvalidSingleAppliedScopesCount", "InvalidFulfillmentRequestParameters", "NotSupportedCountry", "InvalidRefundQuantity", "PurchaseError", "BillingCustomerInputError", "BillingPaymentInstrumentSoftError", "BillingPaymentInstrumentHardError", "BillingTransientError", "BillingError", "FulfillmentConfigurationError", "FulfillmentOutOfStockError", "FulfillmentTransientError", "FulfillmentError", "CalculatePriceFailed" ], - "x-ms-enum" : { - "name" : "ErrorResponseCode", - "modelAsString" : true + "ErrorResponseCode": { + "type": "string", + "enum": [ + "NotSpecified", + "InternalServerError", + "ServerTimeout", + "AuthorizationFailed", + "BadRequest", + "ClientCertificateThumbprintNotSet", + "InvalidRequestContent", + "OperationFailed", + "HttpMethodNotSupported", + "InvalidRequestUri", + "MissingTenantId", + "InvalidTenantId", + "InvalidReservationOrderId", + "InvalidReservationId", + "ReservationIdNotInReservationOrder", + "ReservationOrderNotFound", + "InvalidSubscriptionId", + "InvalidAccessToken", + "InvalidLocationId", + "UnauthenticatedRequestsThrottled", + "InvalidHealthCheckType", + "Forbidden", + "BillingScopeIdCannotBeChanged", + "AppliedScopesNotAssociatedWithCommerceAccount", + "PatchValuesSameAsExisting", + "RoleAssignmentCreationFailed", + "ReservationOrderCreationFailed", + "ReservationOrderNotEnabled", + "CapacityUpdateScopesFailed", + "UnsupportedReservationTerm", + "ReservationOrderIdAlreadyExists", + "RiskCheckFailed", + "CreateQuoteFailed", + "ActivateQuoteFailed", + "NonsupportedAccountId", + "PaymentInstrumentNotFound", + "MissingAppliedScopesForSingle", + "NoValidReservationsToReRate", + "ReRateOnlyAllowedForEA", + "OperationCannotBePerformedInCurrentState", + "InvalidSingleAppliedScopesCount", + "InvalidFulfillmentRequestParameters", + "NotSupportedCountry", + "InvalidRefundQuantity", + "PurchaseError", + "BillingCustomerInputError", + "BillingPaymentInstrumentSoftError", + "BillingPaymentInstrumentHardError", + "BillingTransientError", + "BillingError", + "FulfillmentConfigurationError", + "FulfillmentOutOfStockError", + "FulfillmentTransientError", + "FulfillmentError", + "CalculatePriceFailed" + ], + "x-ms-enum": { + "name": "ErrorResponseCode", + "modelAsString": true } }, - "SkuName" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string" + "SkuName": { + "type": "object", + "properties": { + "name": { + "type": "string" } } }, - "Catalog" : { - "type" : "object", - "properties" : { - "resourceType" : { - "type" : "string", - "description" : "The type of resource the SKU applies to.", - "readOnly" : true - }, - "name" : { - "type" : "string", - "description" : "The name of SKU", - "readOnly" : true - }, - "terms" : { - "type" : "array", - "readOnly" : true, - "description" : "Available reservation terms for this resource", - "items" : { - "$ref" : "#/definitions/ReservationTerm" + "Catalog": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of resource the SKU applies to.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of SKU", + "readOnly": true + }, + "terms": { + "type": "array", + "readOnly": true, + "description": "Available reservation terms for this resource", + "items": { + "$ref": "#/definitions/ReservationTerm" } }, - "locations" : { - "type" : "array", - "readOnly" : true, - "items" : { - "type" : "string", - "description" : "The set of locations that the SKU is available. If not specified, the SKU is available in all locations." + "locations": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The set of locations that the SKU is available. If not specified, the SKU is available in all locations." } }, - "skuProperties" : { - "type" : "array", - "readOnly" : true, - "items" : { - "$ref" : "#/definitions/SkuProperty" + "skuProperties": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuProperty" } }, - "restrictions" : { - "type" : "array", - "readOnly" : true, - "items" : { - "$ref" : "#/definitions/SkuRestriction" + "restrictions": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuRestriction" } } } }, - "SkuProperty" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string", - "description" : "An invariant to describe the feature." - }, - "value" : { - "type" : "string", - "description" : "An invariant if the feature is measured by quantity." + "SkuProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "An invariant to describe the feature." + }, + "value": { + "type": "string", + "description": "An invariant if the feature is measured by quantity." } } }, - "SkuRestriction" : { - "type" : "object", - "properties" : { - "type" : { - "type" : "string", - "description" : "The type of restrictions." - }, - "values" : { - "type" : "array", - "items" : { - "type" : "string" + "SkuRestriction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions." + }, + "values": { + "type": "array", + "items": { + "type": "string" }, - "description" : "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." }, - "reasonCode" : { - "type" : "string", - "description" : "The reason for restriction." + "reasonCode": { + "type": "string", + "description": "The reason for restriction." } } }, - "ReservationOrderResponse" : { - "type" : "object", - "x-ms-azure-resource" : true, - "properties" : { - "etag" : { - "type" : "integer" - }, - "id" : { - "type" : "string", - "readOnly" : true, - "description" : "Identifier of the reservation" - }, - "name" : { - "type" : "string", - "readOnly" : true, - "description" : "Name of the reservation" - }, - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/ReservationOrderProperties" - }, - "type" : { - "type" : "string", - "readOnly" : true, - "description" : "Type of resource. \"Microsoft.Capacity/reservations\"" + "ReservationOrderResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "etag": { + "type": "integer" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationOrderProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservations\"" } } }, - "ReservationTerm" : { - "type" : "string", - "description" : "Represent the term of Reservation.", - "enum" : [ "P1Y", "P3Y" ], - "x-ms-enum" : { - "name" : "ReservationTerm", - "modelAsString" : true + "ReservationTerm": { + "type": "string", + "description": "Represent the term of Reservation.", + "enum": [ + "P1Y", + "P3Y" + ], + "x-ms-enum": { + "name": "ReservationTerm", + "modelAsString": true } }, - "ReservationOrderProperties" : { - "type" : "object", - "properties" : { - "displayName" : { - "type" : "string", - "description" : "Friendly name for user to easily identified the reservation." - }, - "requestDateTime" : { - "type" : "string", - "format" : "date-time", - "description" : "This is the DateTime when the reservation was initially requested for purchase." - }, - "createdDateTime" : { - "type" : "string", - "format" : "date-time", - "description" : "This is the DateTime when the reservation was created." - }, - "expiryDate" : { - "type" : "string", - "format" : "date", - "description" : "This is the date when the Reservation will expire." - }, - "originalQuantity" : { - "$ref" : "#/definitions/ReservationQuantity" - }, - "term" : { - "$ref" : "#/definitions/ReservationTerm" - }, - "provisioningState" : { - "type" : "string", - "description" : "Current state of the reservation." - }, - "reservations" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/ReservationResponse" + "ReservationOrderProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identified the reservation." + }, + "requestDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was initially requested for purchase." + }, + "createdDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was created." + }, + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." + }, + "originalQuantity": { + "$ref": "#/definitions/ReservationQuantity" + }, + "term": { + "$ref": "#/definitions/ReservationTerm" + }, + "provisioningState": { + "type": "string", + "description": "Current state of the reservation." + }, + "reservations": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" } } } }, - "ReservationResponse" : { - "type" : "object", - "x-ms-azure-resource" : true, - "properties" : { - "location" : { - "type" : "string", - "readOnly" : true, - "description" : "The Azure Region where the reserved resource lives." - }, - "etag" : { - "type" : "integer" - }, - "id" : { - "type" : "string", - "readOnly" : true, - "description" : "Identifier of the reservation" - }, - "name" : { - "type" : "string", - "readOnly" : true, - "description" : "Name of the reservation" - }, - "sku" : { - "$ref" : "#/definitions/SkuName" - }, - "properties" : { - "$ref" : "#/definitions/ReservationProperties" - }, - "type" : { - "type" : "string", - "readOnly" : true, - "description" : "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" + "ReservationResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "readOnly": true, + "description": "The Azure Region where the reserved resource lives." + }, + "etag": { + "type": "integer" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" + }, + "sku": { + "$ref": "#/definitions/SkuName" + }, + "properties": { + "$ref": "#/definitions/ReservationProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" } } }, - "CalculatePriceResponse" : { - "type" : "object", - "properties" : { - "properties" : { - "$ref" : "#/definitions/CalculatePriceResponseProperties" + "CalculatePriceResponse": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CalculatePriceResponseProperties" } } }, - "CalculatePriceResponseProperties" : { - "type" : "object", - "properties" : { - "billingCurrencyTotal" : { - "type" : "object", - "description" : "Currency and amount that customer will be charged in customer's local currency. Tax is not included.", - "properties" : { - "currencyCode" : { - "type" : "string" + "CalculatePriceResponseProperties": { + "type": "object", + "properties": { + "billingCurrencyTotal": { + "type": "object", + "description": "Currency and amount that customer will be charged in customer's local currency. Tax is not included.", + "properties": { + "currencyCode": { + "type": "string" }, - "amount" : { - "type" : "number" + "amount": { + "type": "number" } } }, - "isBillingPartnerManaged" : { - "description" : "True if billing is managed by Microsoft Partner. Used only for CSP accounts.", - "type" : "boolean" + "isBillingPartnerManaged": { + "description": "True if billing is managed by Microsoft Partner. Used only for CSP accounts.", + "type": "boolean" }, - "reservationOrderId" : { - "description" : "GUID that represents reservation order that can be placed after calculating price.", - "type" : "string" + "reservationOrderId": { + "description": "GUID that represents reservation order that can be placed after calculating price.", + "type": "string" }, - "skuTitle" : { - "description" : "Title of SKU that is being purchased.", - "type" : "string" + "skuTitle": { + "description": "Title of SKU that is being purchased.", + "type": "string" }, - "skuDescription" : { - "description" : "Description of SKU that is being purchased.", - "type" : "string" + "skuDescription": { + "description": "Description of SKU that is being purchased.", + "type": "string" }, - "pricingCurrencyTotal" : { - "type" : "object", - "description" : "Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included.", - "properties" : { - "currencyCode" : { - "type" : "string" + "pricingCurrencyTotal": { + "type": "object", + "description": "Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included.", + "properties": { + "currencyCode": { + "type": "string" }, - "amount" : { - "type" : "number" + "amount": { + "type": "number" } } } } }, - "ReservationProperties" : { - "type" : "object", - "properties" : { - "reservedResourceType" : { - "$ref" : "#/definitions/ReservedResourceType" + "ReservationProperties": { + "type": "object", + "properties": { + "reservedResourceType": { + "$ref": "#/definitions/ReservedResourceType" }, - "instanceFlexibility" : { - "$ref" : "#/definitions/InstanceFlexibility" + "instanceFlexibility": { + "$ref": "#/definitions/InstanceFlexibility" }, - "displayName" : { - "type" : "string", - "description" : "Friendly name for user to easily identify the reservation" + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identify the reservation" }, - "appliedScopes" : { - "$ref" : "#/definitions/AppliedScopes" + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "appliedScopeType" : { - "$ref" : "#/definitions/AppliedScopeType" + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" }, - "quantity" : { - "$ref" : "#/definitions/ReservationQuantity" + "quantity": { + "$ref": "#/definitions/ReservationQuantity" }, - "provisioningState" : { - "type" : "string", - "description" : "Current state of the reservation." + "provisioningState": { + "type": "string", + "description": "Current state of the reservation." }, - "effectiveDateTime" : { - "type" : "string", - "format" : "date-time", - "description" : "DateTime of the Reservation starting when this version is effective from." + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the Reservation starting when this version is effective from." }, - "lastUpdatedDateTime" : { - "type" : "string", - "format" : "date-time", - "description" : "DateTime of the last time the Reservation was updated.", - "readOnly" : true + "lastUpdatedDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the last time the Reservation was updated.", + "readOnly": true }, - "expiryDate" : { - "type" : "string", - "format" : "date", - "description" : "This is the date when the Reservation will expire." + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." }, - "skuDescription" : { - "type" : "string", - "description" : "Description of the SKU in english." + "skuDescription": { + "type": "string", + "description": "Description of the SKU in english." }, - "extendedStatusInfo" : { - "$ref" : "#/definitions/ExtendedStatusInfo" + "extendedStatusInfo": { + "$ref": "#/definitions/ExtendedStatusInfo" }, - "splitProperties" : { - "$ref" : "#/definitions/ReservationSplitProperties" + "splitProperties": { + "$ref": "#/definitions/ReservationSplitProperties" }, - "mergeProperties" : { - "$ref" : "#/definitions/ReservationMergeProperties" + "mergeProperties": { + "$ref": "#/definitions/ReservationMergeProperties" } } }, - "ReservationSplitProperties" : { - "type" : "object", - "properties" : { - "splitDestinations" : { - "type" : "array", - "items" : { - "type" : "string" + "ReservationSplitProperties": { + "type": "object", + "properties": { + "splitDestinations": { + "type": "array", + "items": { + "type": "string" }, - "description" : "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + "description": "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" }, - "splitSource" : { - "type" : "string", - "description" : "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + "splitSource": { + "type": "string", + "description": "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" } } }, - "ReservationMergeProperties" : { - "type" : "object", - "properties" : { - "mergeDestination" : { - "type" : "string", - "description" : "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - }, - "mergeSources" : { - "type" : "array", - "items" : { - "type" : "string" + "ReservationMergeProperties": { + "type": "object", + "properties": { + "mergeDestination": { + "type": "string", + "description": "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + }, + "mergeSources": { + "type": "array", + "items": { + "type": "string" }, - "description" : "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + "description": "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" } } }, - "PurchaseRequestProperties" : { - "type" : "object", - "properties" : { - "reservedResourceType" : { - "$ref" : "#/definitions/ReservedResourceType" + "PurchaseRequestProperties": { + "type": "object", + "properties": { + "reservedResourceType": { + "$ref": "#/definitions/ReservedResourceType" }, - "billingScopeId" : { - "$ref" : "#/definitions/BillingScopeId" + "billingScopeId": { + "$ref": "#/definitions/BillingScopeId" }, - "term" : { - "$ref" : "#/definitions/ReservationTerm" + "term": { + "$ref": "#/definitions/ReservationTerm" }, - "quantity" : { - "$ref" : "#/definitions/ReservationQuantity" + "quantity": { + "$ref": "#/definitions/ReservationQuantity" }, - "displayName" : { - "type" : "string", - "description" : "Friendly name of the Reservation" + "displayName": { + "type": "string", + "description": "Friendly name of the Reservation" }, - "appliedScopeType" : { - "$ref" : "#/definitions/AppliedScopeType" + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" }, - "appliedScopes" : { - "$ref" : "#/definitions/AppliedScopes" + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "reservedResourceProperties" : { - "type" : "object", - "description" : "Properties specific to each reserved resource type. Not required if not applicable.", - "properties" : { - "instanceFlexibility" : { - "$ref" : "#/definitions/InstanceFlexibility" + "reservedResourceProperties": { + "type": "object", + "description": "Properties specific to each reserved resource type. Not required if not applicable.", + "properties": { + "instanceFlexibility": { + "$ref": "#/definitions/InstanceFlexibility" } } } } }, - "PatchProperties" : { - "type" : "object", - "properties" : { - "appliedScopeType" : { - "$ref" : "#/definitions/AppliedScopeType" + "PatchProperties": { + "type": "object", + "properties": { + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" }, - "appliedScopes" : { - "$ref" : "#/definitions/AppliedScopes" + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "instanceFlexibility" : { - "$ref" : "#/definitions/InstanceFlexibility" + "instanceFlexibility": { + "$ref": "#/definitions/InstanceFlexibility" }, - "name" : { - "type" : "string", - "description" : "Name of the Reservation" + "name": { + "type": "string", + "description": "Name of the Reservation" } } }, - "SplitProperties" : { - "type" : "object", - "properties" : { - "quantities" : { - "type" : "array", - "description" : "List of the quantities in the new reservations to create.", - "items" : { - "type" : "integer", - "minItems" : 2, - "maxItems" : 2 + "SplitProperties": { + "type": "object", + "properties": { + "quantities": { + "type": "array", + "description": "List of the quantities in the new reservations to create.", + "items": { + "type": "integer", + "minItems": 2, + "maxItems": 2 } }, - "reservationId" : { - "type" : "string", - "description" : "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + "reservationId": { + "type": "string", + "description": "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" } } }, - "MergeProperties" : { - "type" : "object", - "properties" : { - "sources" : { - "type" : "array", - "description" : "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", - "items" : { - "type" : "string" + "MergeProperties": { + "type": "object", + "properties": { + "sources": { + "type": "array", + "description": "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", + "items": { + "type": "string" } } } }, - "MergeRequest" : { - "type" : "object", - "properties" : { - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/MergeProperties" + "MergeRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MergeProperties" } } }, - "PurchaseRequest" : { - "type" : "object", - "properties" : { - "sku" : { - "$ref" : "#/definitions/SkuName" - }, - "location" : { - "type" : "string", - "description" : "The Azure Region where the reserved resource lives." - }, - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/PurchaseRequestProperties" + "PurchaseRequest": { + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/SkuName" + }, + "location": { + "type": "string", + "description": "The Azure Region where the reserved resource lives." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PurchaseRequestProperties" } } }, - "Patch" : { - "type" : "object", - "properties" : { - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/PatchProperties" + "Patch": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchProperties" } } }, - "SplitRequest" : { - "type" : "object", - "properties" : { - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/SplitProperties" + "SplitRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SplitProperties" } } }, - "Error" : { - "type" : "object", - "properties" : { - "error" : { - "$ref" : "#/definitions/ExtendedErrorInfo" + "Error": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ExtendedErrorInfo" } } }, - "ExtendedErrorInfo" : { - "type" : "object", - "properties" : { - "code" : { - "$ref" : "#/definitions/ErrorResponseCode" - }, - "message" : { - "type" : "string" + "ExtendedErrorInfo": { + "type": "object", + "properties": { + "code": { + "$ref": "#/definitions/ErrorResponseCode" + }, + "message": { + "type": "string" } } }, - "ExtendedStatusInfo" : { - "type" : "object", - "properties" : { - "statusCode" : { - "$ref" : "#/definitions/ReservationStatusCode" - }, - "message" : { - "type" : "string", - "description" : "The message giving detailed information about the status code." + "ExtendedStatusInfo": { + "type": "object", + "properties": { + "statusCode": { + "$ref": "#/definitions/ReservationStatusCode" + }, + "message": { + "type": "string", + "description": "The message giving detailed information about the status code." } } }, - "ReservationOrderList" : { - "type" : "object", - "properties" : { - "value" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/ReservationOrderResponse" + "ReservationOrderList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationOrderResponse" } }, - "nextLink" : { - "type" : "string", - "description" : "Url to get the next page of reservationOrders." + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservationOrders." } } }, - "ReservationList" : { - "type" : "object", - "properties" : { - "value" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/ReservationResponse" + "ReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" } }, - "nextLink" : { - "type" : "string", - "description" : "Url to get the next page of reservations." + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations." } } }, - "AppliedReservations" : { - "type" : "object", - "properties" : { - "id" : { - "type" : "string", - "description" : "Identifier of the applied reservations", - "readOnly" : true - }, - "name" : { - "type" : "string", - "description" : "Name of resource", - "readOnly" : true - }, - "type" : { - "type" : "string", - "description" : "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", - "readOnly" : true - }, - "properties" : { - "x-ms-client-flatten" : true, - "$ref" : "#/definitions/AppliedReservationsProperties" + "AppliedReservations": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Identifier of the applied reservations", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AppliedReservationsProperties" } } }, - "AppliedReservationsProperties" : { - "type" : "object", - "properties" : { - "reservationOrderIds" : { - "$ref" : "#/definitions/AppliedReservationList" + "AppliedReservationsProperties": { + "type": "object", + "properties": { + "reservationOrderIds": { + "$ref": "#/definitions/AppliedReservationList" } } }, - "AppliedReservationList" : { - "type" : "object", - "properties" : { - "value" : { - "type" : "array", - "items" : { - "type" : "string", - "description" : "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" + "AppliedReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string", + "description": "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" } }, - "nextLink" : { - "type" : "string", - "description" : "Url to get the next page of reservations" + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations" } } }, - "OperationList" : { - "type" : "object", - "properties" : { - "value" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/OperationResponse" + "OperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationResponse" } }, - "nextLink" : { - "type" : "string", - "description" : "Url to get the next page of items." + "nextLink": { + "type": "string", + "description": "Url to get the next page of items." } } }, - "OperationResponse" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string" + "OperationResponse": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "display" : { - "$ref" : "#/definitions/OperationDisplay" + "display": { + "$ref": "#/definitions/OperationDisplay" }, - "origin" : { - "type" : "string" + "origin": { + "type": "string" } } }, - "OperationDisplay" : { - "type" : "object", - "properties" : { - "provider" : { - "type" : "string" + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string" }, - "resource" : { - "type" : "string" + "resource": { + "type": "string" }, - "operation" : { - "type" : "string" + "operation": { + "type": "string" }, - "description" : { - "type" : "string" + "description": { + "type": "string" } } }, - "InstanceFlexibility" : { - "type" : "string", - "description" : "Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.", - "enum" : [ "On", "Off" ], - "x-ms-enum" : { - "name" : "InstanceFlexibility", - "modelAsString" : true + "InstanceFlexibility": { + "type": "string", + "description": "Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.", + "enum": [ + "On", + "Off" + ], + "x-ms-enum": { + "name": "InstanceFlexibility", + "modelAsString": true } }, - "AppliedScopeType" : { - "type" : "string", - "description" : "Type of the Applied Scope.", - "enum" : [ "Single", "Shared" ], - "x-ms-enum" : { - "name" : "AppliedScopeType", - "modelAsString" : true + "AppliedScopeType": { + "type": "string", + "description": "Type of the Applied Scope.", + "enum": [ + "Single", + "Shared" + ], + "x-ms-enum": { + "name": "AppliedScopeType", + "modelAsString": true } }, - "AppliedScopes" : { - "type" : "array", - "description" : "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", - "items" : { - "type" : "string", - "minItems" : 1, - "maxItems" : 1 + "AppliedScopes": { + "type": "array", + "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", + "items": { + "type": "string", + "minItems": 1, + "maxItems": 1 } }, - "BillingScopeId" : { - "type" : "string", - "description" : "Subscription that will be charged for purchasing Reservation" + "BillingScopeId": { + "type": "string", + "description": "Subscription that will be charged for purchasing Reservation" }, - "ReservationQuantity" : { - "type" : "integer", - "format" : "int32", - "description" : "Quantity of the SKUs that are part of the Reservation. Must be greater than zero." + "ReservationQuantity": { + "type": "integer", + "format": "int32", + "description": "Quantity of the SKUs that are part of the Reservation. Must be greater than zero." }, - "ReservedResourceType" : { - "type" : "string", - "description" : "The type of the resource that is being reserved.", - "enum" : [ "VirtualMachines", "SqlDatabases", "SuseLinux", "CosmosDb" ], - "x-ms-enum" : { - "name" : "ReservedResourceType", - "modelAsString" : true + "ReservedResourceType": { + "type": "string", + "description": "The type of the resource that is being reserved.", + "enum": [ + "VirtualMachines", + "SqlDatabases", + "SuseLinux", + "CosmosDb" + ], + "x-ms-enum": { + "name": "ReservedResourceType", + "modelAsString": true } } }, - "parameters" : { - "PurchaseParameter" : { - "name" : "body", - "x-ms-parameter-location" : "method", - "in" : "body", - "required" : true, - "description" : "Information needed for calculate or purchase reservation", - "schema" : { - "$ref" : "#/definitions/PurchaseRequest" + "parameters": { + "PurchaseParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed for calculate or purchase reservation", + "schema": { + "$ref": "#/definitions/PurchaseRequest" } }, - "ReservationIdParameter" : { - "name" : "reservationId", - "x-ms-parameter-location" : "method", - "in" : "path", - "required" : true, - "type" : "string", - "description" : "Id of the Reservation Item" + "ReservationIdParameter": { + "name": "reservationId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the Reservation Item" }, - "MergeParameter" : { - "name" : "body", - "x-ms-parameter-location" : "method", - "in" : "body", - "required" : true, - "description" : "Information needed for commercial request for a reservation", - "schema" : { - "$ref" : "#/definitions/MergeRequest" + "MergeParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed for commercial request for a reservation", + "schema": { + "$ref": "#/definitions/MergeRequest" } }, - "PatchParameter" : { - "name" : "parameters", - "x-ms-parameter-location" : "method", - "in" : "body", - "required" : true, - "description" : "Information needed to patch a reservation item", - "schema" : { - "$ref" : "#/definitions/Patch" + "PatchParameter": { + "name": "parameters", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to patch a reservation item", + "schema": { + "$ref": "#/definitions/Patch" } }, - "SplitParameter" : { - "name" : "body", - "x-ms-parameter-location" : "method", - "in" : "body", - "required" : true, - "description" : "Information needed to Split a reservation item", - "schema" : { - "$ref" : "#/definitions/SplitRequest" + "SplitParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to Split a reservation item", + "schema": { + "$ref": "#/definitions/SplitRequest" } }, - "ApiVersionParameter" : { - "name" : "api-version", - "in" : "query", - "description" : "Supported version for this document is 2019-04-01", - "required" : true, - "type" : "string" + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Supported version for this document is 2019-04-01", + "required": true, + "type": "string" }, - "SubscriptionIdParameter" : { - "name" : "subscriptionId", - "x-ms-parameter-location" : "method", - "in" : "path", - "required" : true, - "type" : "string", - "description" : "Id of the subscription" + "SubscriptionIdParameter": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the subscription" }, - "ReservedResourceTypeIdParameter" : { - "name" : "reservedResourceType", - "x-ms-parameter-location" : "method", - "in" : "query", - "required" : true, - "type" : "string", - "description" : "The type of the resource for which the skus should be provided." + "ReservedResourceTypeIdParameter": { + "name": "reservedResourceType", + "x-ms-parameter-location": "method", + "in": "query", + "required": true, + "type": "string", + "description": "The type of the resource for which the skus should be provided." }, - "LocationIdParameter" : { - "name" : "location", - "x-ms-parameter-location" : "method", - "in" : "query", - "required" : false, - "type" : "string", - "description" : "Filters the skus based on the location specified in this parameter. This can be an azure region or global" + "LocationIdParameter": { + "name": "location", + "x-ms-parameter-location": "method", + "in": "query", + "required": false, + "type": "string", + "description": "Filters the skus based on the location specified in this parameter. This can be an azure region or global" }, - "ReservationOrderIdParameter" : { - "name" : "reservationOrderId", - "x-ms-parameter-location" : "method", - "in" : "path", - "required" : true, - "type" : "string", - "description" : "Order Id of the reservation" + "ReservationOrderIdParameter": { + "name": "reservationOrderId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Order Id of the reservation" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetAppliedReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetAppliedReservations.json index be883b522e19..045a7d69cba8 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetAppliedReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetAppliedReservations.json @@ -1,31 +1,34 @@ { -"parameters":{"api-version":"2017-11-01","subscriptionId":"23bc208b-083f-4901-ae85-4f98c0c3b4b6"}, -"responses": -{"200": -{ -"body": -{ - "id": "/subscriptions/23bc208b-083f-4901-ae85-4f98c0c3b4b6/providers/microsoft.capacity/AppliedReservations/default", - "type": "Microsoft.Capacity/AppliedReservations", - "name": "default", - "properties": { - "reservationOrderIds": { - "value": [ - "/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", - "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", - "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", - "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", - "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", - "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", - "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", - "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", - "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", - "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", - "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", - "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", - "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723" - ] + "parameters": { + "api-version": "2017-11-01", + "subscriptionId": "23bc208b-083f-4901-ae85-4f98c0c3b4b6" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/23bc208b-083f-4901-ae85-4f98c0c3b4b6/providers/microsoft.capacity/AppliedReservations/default", + "type": "Microsoft.Capacity/AppliedReservations", + "name": "default", + "properties": { + "reservationOrderIds": { + "value": [ + "/providers/Microsoft.Capacity/reservationorders/e1eccf0b-2db4-4e84-97e7-98b50e9d46f7", + "/providers/Microsoft.Capacity/reservationorders/741a32eb-6158-4cee-9642-a0243ae79fac", + "/providers/Microsoft.Capacity/reservationorders/e061223d-fcff-4d10-bd49-56a740cfb96a", + "/providers/Microsoft.Capacity/reservationorders/2eeb7234-970e-4663-b60b-85241b515901", + "/providers/Microsoft.Capacity/reservationorders/9db2f4c5-b1c5-42a8-bd79-ee56cdde2c7f", + "/providers/Microsoft.Capacity/reservationorders/5da7a877-6d6e-44af-8880-ed3f533bf928", + "/providers/Microsoft.Capacity/reservationorders/f65b0d0a-f945-4105-821c-d00bc8bacde8", + "/providers/Microsoft.Capacity/reservationorders/51304124-e477-4b07-b9fa-03b05c8b924b", + "/providers/Microsoft.Capacity/reservationorders/f5409b98-8a42-4dc6-be0a-cc59bef4d0db", + "/providers/Microsoft.Capacity/reservationorders/a495550a-80a4-46f8-8843-34d4df46f9a6", + "/providers/Microsoft.Capacity/reservationorders/1a966e18-c272-4ce1-a0c2-d4e1039023c3", + "/providers/Microsoft.Capacity/reservationorders/939310b4-f9de-4645-9569-ab5b6cfe958e", + "/providers/Microsoft.Capacity/reservationorders/4193a889-7c3b-44dc-8b7b-bfd7aad6c723" + ] + } + } + } } } } -}}} \ No newline at end of file diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetCatalog.json index 18239bc9c61a..6b680012346e 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetCatalog.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetCatalog.json @@ -6,77 +6,77 @@ "responses": { "200": { "body": [ - { - "resourceType": "virtualMachines", - "name": "Standard_DS4_v2", - "tier": "Standard", - "size": "DS4_v2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "restrictions": [] - }, - { - "resourceType": "virtualMachines", - "name": "Standard_D14_v2_Promo", - "tier": "Standard", - "size": "D14_v2_Promo", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "CanadaCentral" - ], - "restrictions": [ - { - "type": "Term", - "values": [ - "P1Y" - ], - "reasonCode": "NotAvailableForSubscription" - }, - { - "type": "Term", - "values": [ - "P3Y" - ], - "reasonCode": "NotAvailableForSubscription" - } - ] - }, - { - "resourceType": "virtualMachines", - "name": "Standard_DS2_v2", - "tier": "Standard", - "size": "DS2_v2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "restrictions": [] - }, - { - "resourceType": "virtualMachines", - "name": "Standard_DS1_v2", - "tier": "Standard", - "size": "DS1_v2", - "terms": [ - "P1Y", - "P3Y" - ], - "locations": [ - "eastus" - ], - "restrictions": [] - } + { + "resourceType": "virtualMachines", + "name": "Standard_DS4_v2", + "tier": "Standard", + "size": "DS4_v2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "restrictions": [] + }, + { + "resourceType": "virtualMachines", + "name": "Standard_D14_v2_Promo", + "tier": "Standard", + "size": "D14_v2_Promo", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "CanadaCentral" + ], + "restrictions": [ + { + "type": "Term", + "values": [ + "P1Y" + ], + "reasonCode": "NotAvailableForSubscription" + }, + { + "type": "Term", + "values": [ + "P3Y" + ], + "reasonCode": "NotAvailableForSubscription" + } + ] + }, + { + "resourceType": "virtualMachines", + "name": "Standard_DS2_v2", + "tier": "Standard", + "size": "DS2_v2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "restrictions": [] + }, + { + "resourceType": "virtualMachines", + "name": "Standard_DS1_v2", + "tier": "Standard", + "size": "DS1_v2", + "terms": [ + "P1Y", + "P3Y" + ], + "locations": [ + "eastus" + ], + "restrictions": [] + } ] } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetOperations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetOperations.json index 6f7c26704656..091c7a0c92c0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetOperations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetOperations.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationDetails.json index 8b445066f237..5419dd6d4c25 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationDetails.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrderDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrderDetails.json index f4a4470980e2..8ed0b7fb2eef 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrderDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrderDetails.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrders.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrders.json index 6deddef7ffcc..e5f3ca7a0d51 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrders.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationOrders.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationRevisions.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationRevisions.json index 7b9023ebfb90..d754fc2e19e0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationRevisions.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservationRevisions.json @@ -125,4 +125,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservations.json index ce72bea86f36..bd73bb3e1be0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/GetReservations.json @@ -135,4 +135,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json index 318b0733f288..c20dcb0ecee1 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json @@ -3,7 +3,7 @@ "api-version": "2017-11-01", "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "body": { - "properties" : { + "properties": { "sources": [ "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/cea04232-932e-47db-acb5-e29a945ecc73", "/providers/Microsoft.Capacity/reservationOrders/c0565a8a-4491-4e77-b07b-5e6d66718e1c/reservations/5bf54dc7-dacd-4f46-a16b-7b78f4a59799" @@ -108,8 +108,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json index 8ca9357bebdc..5748c448f403 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json @@ -99,8 +99,8 @@ } ] }, - "202" : { + "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json index b65ce3b907c7..102576ecfe15 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json @@ -4,7 +4,7 @@ "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "reservationId": "6ef59113-3482-40da-8d79-787f823e34bc", "parameters": { - "properties" : { + "properties": { "appliedScopeType": "Shared" } } @@ -41,4 +41,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json index 8f9e6fd9b1b8..6e31812fa2ce 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json @@ -1,1206 +1,1206 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Reservation API", - "description": "This API describe Azure Reservation", - "version": "2017-11-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "Azure Reservation API", + "description": "This API describe Azure Reservation", + "version": "2017-11-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs": { + "get": { + "summary": "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", + "operationId": "GetCatalog", + "x-ms-examples": { + "Catalog": { + "$ref": "./examples/GetCatalog.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "tags": [ + "Catalog" + ], + "responses": { + "200": { + "description": "List of available resources", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Catalog" + } + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs": { - "get": { - "summary": "Get the regions and skus that are available for RI purchase for the specified Azure subscription.", - "operationId": "GetCatalog", - "x-ms-examples": { - "Catalog": { - "$ref": "./examples/GetCatalog.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "tags": [ - "Catalog" - ], - "responses": { - "200": { - "description": "List of available resources", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Catalog" - } - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - } + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { + "get": { + "summary": "Get list of applicable `Reservation`s.", + "description": "Get applicable `Reservation`s that are applied to this subscription.", + "operationId": "GetAppliedReservationList", + "x-ms-examples": { + "AppliedReservationList": { + "$ref": "./examples/GetAppliedReservations.json" + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { - "get": { - "summary": "Get list of applicable `Reservation`s.", - "description": "Get applicable `Reservation`s that are applied to this subscription.", - "operationId": "GetAppliedReservationList", - "x-ms-examples": { - "AppliedReservationList": { - "$ref": "./examples/GetAppliedReservations.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "tags": [ - "AppliedReservation" - ], - "responses": { - "200": { - "description": "Applicable `Reservation`s.", - "schema": { - "$ref": "#/definitions/AppliedReservations" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "tags": [ + "AppliedReservation" + ], + "responses": { + "200": { + "description": "Applicable `Reservation`s.", + "schema": { + "$ref": "#/definitions/AppliedReservations" } - }, - "/providers/Microsoft.Capacity/reservationOrders": { - "get": { - "summary": "Get all `ReservationOrder`s.", - "description": "List of all the `ReservationOrder`s that the user has access to in the current tenant.", - "operationId": "ReservationOrder_List", - "x-ms-examples": { - "ReservationOrderList": { - "$ref": "./examples/GetReservationOrders.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List of `ReservationOrder`s", - "schema": { - "$ref": "#/definitions/ReservationOrderList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders": { + "get": { + "summary": "Get all `ReservationOrder`s.", + "description": "List of all the `ReservationOrder`s that the user has access to in the current tenant.", + "operationId": "ReservationOrder_List", + "x-ms-examples": { + "ReservationOrderList": { + "$ref": "./examples/GetReservationOrders.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}": { - "get": { - "summary": "Get a specific `ReservationOrder`.", - "description": "Get the details of the `ReservationOrder`.", - "operationId": "ReservationOrder_Get", - "x-ms-examples": { - "GetReservation": { - "$ref": "./examples/GetReservationOrderDetails.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "Get the details of the `ReservationOrder`.", - "schema": { - "$ref": "#/definitions/ReservationOrderResponse" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split": { - "post": { - "summary": "Split the `Reservation`.", - "description": "Split a `Reservation` into two `Reservation`s with specified quantity distribution.\n", - "operationId": "Reservation_Split", - "x-ms-examples": { - "Split": { - "$ref": "./examples/SplitReservation.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SplitParameter" - } - ], - "tags": [ - "Reservation, Split" - ], - "responses": { - "200": { - "description": "List of `Reservation`s created after the split operation.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of `ReservationOrder`s", + "schema": { + "$ref": "#/definitions/ReservationOrderList" } - }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge": { - "post": { - "summary": "Merges two `Reservation`s.", - "description": "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", - "operationId": "Reservation_Merge", - "x-ms-examples": { - "Merge": { - "$ref": "./examples/MergeReservations.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MergeParameter" - } - ], - "tags": [ - "Reservation, Merge" - ], - "responses": { - "200": { - "description": "Returns the `Reservation` created after the merge.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}": { + "get": { + "summary": "Get a specific `ReservationOrder`.", + "description": "Get the details of the `ReservationOrder`.", + "operationId": "ReservationOrder_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationOrderDetails.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations": { - "get": { - "summary": "Get `Reservation`s in a given reservation Order", - "description": "List `Reservation`s within a single `ReservationOrder`.", - "operationId": "Reservation_List", - "x-ms-examples": { - "ReservationList": { - "$ref": "./examples/GetReservations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List `Reservation`s within a single `ReservationOrder`.", - "schema": { - "$ref": "#/definitions/ReservationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get the details of the `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationOrderResponse" } - }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}": { - "get": { - "summary": "Get `Reservation` details.", - "description": "Get specific `Reservation` details.", - "operationId": "Reservation_Get", - "x-ms-examples": { - "GetReservation": { - "$ref": "./examples/GetReservationDetails.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "Get `Reservation` details.", - "schema": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } - }, - "patch": { - "summary": "Updates a `Reservation`.", - "description": "Updates the applied scopes of the `Reservation`.", - "operationId": "Reservation_Update", - "x-ms-examples": { - "PatchReservation": { - "$ref": "./examples/UpdateReservation.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PatchParameter" - } - ], - "tags": [ - "Reservation", - "ApplyScope" - ], - "responses": { - "200": { - "description": "Returns the updated `Reservation`.", - "schema": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "202": { - "description": "The request is accepted and is being processed" - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split": { + "post": { + "summary": "Split the `Reservation`.", + "description": "Split a `Reservation` into two `Reservation`s with specified quantity distribution.\n", + "operationId": "Reservation_Split", + "x-ms-examples": { + "Split": { + "$ref": "./examples/SplitReservation.json" + } }, - "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions": { - "get": { - "summary": "Get `Reservation` revisions.", - "description": "List of all the revisions for the `Reservation`.\n", - "operationId": "Reservation_ListRevisions", - "x-ms-examples": { - "ReservationRevisions": { - "$ref": "./examples/GetReservationRevisions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ReservationIdParameter" - }, - { - "$ref": "#/parameters/ReservationOrderIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Reservation" - ], - "responses": { - "200": { - "description": "List of all the revisions for the `Reservation`.", - "schema": { - "$ref": "#/definitions/ReservationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SplitParameter" + } + ], + "tags": [ + "Reservation, Split" + ], + "responses": { + "200": { + "description": "List of `Reservation`s created after the split operation.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge": { + "post": { + "summary": "Merges two `Reservation`s.", + "description": "Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged must have same properties.", + "operationId": "Reservation_Merge", + "x-ms-examples": { + "Merge": { + "$ref": "./examples/MergeReservations.json" + } }, - "/providers/Microsoft.Capacity/operations": { - "get": { - "summary": "Get operations.", - "description": "List all the operations.", - "operationId": "Operation_List", - "x-ms-examples": { - "GetOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Operation" - ], - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Unexpected error", - "schema": { - "$ref": "#/definitions/Error" - } - } - } + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MergeParameter" + } + ], + "tags": [ + "Reservation, Merge" + ], + "responses": { + "200": { + "description": "Returns the `Reservation` created after the merge.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } } + } }, - "definitions": { - "ReservationStatusCode": { - "type": "string", - "enum": [ - "None", - "Pending", - "Active", - "PurchaseError", - "PaymentInstrumentError", - "Split", - "Merged", - "Expired", - "Succeeded" - ] - }, - "ErrorResponseCode": { - "type": "string", - "enum": [ - "NotSpecified", - "InternalServerError", - "ServerTimeout", - "AuthorizationFailed", - "BadRequest", - "ClientCertificateThumbprintNotSet", - "InvalidRequestContent", - "OperationFailed", - "HttpMethodNotSupported", - "InvalidRequestUri", - "MissingTenantId", - "InvalidTenantId", - "InvalidReservationOrderId", - "InvalidReservationId", - "ReservationIdNotInReservationOrder", - "ReservationOrderNotFound", - "InvalidSubscriptionId", - "InvalidAccessToken", - "InvalidLocationId", - "UnauthenticatedRequestsThrottled", - "InvalidHealthCheckType", - "Forbidden", - "BillingScopeIdCannotBeChanged", - "AppliedScopesNotAssociatedWithCommerceAccount", - "AppliedScopesSameAsExisting", - "RoleAssignmentCreationFailed", - "ReservationOrderCreationFailed", - "ReservationOrderNotEnabled", - "CapacityUpdateScopesFailed", - "UnsupportedReservationTerm", - "ReservationOrderIdAlreadyExists", - "RiskCheckFailed", - "CreateQuoteFailed", - "ActivateQuoteFailed", - "NonsupportedAccountId", - "PaymentInstrumentNotFound", - "MissingAppliedScopesForSingle", - "NoValidReservationsToReRate", - "ReRateOnlyAllowedForEA", - "OperationCannotBePerformedInCurrentState", - "InvalidSingleAppliedScopesCount", - "InvalidFulfillmentRequestParameters", - "NotSupportedCountry", - "InvalidRefundQuantity", - "PurchaseError", - "BillingCustomerInputError", - "BillingPaymentInstrumentSoftError", - "BillingPaymentInstrumentHardError", - "BillingTransientError", - "BillingError", - "FulfillmentConfigurationError", - "FulfillmentOutOfStockError", - "FulfillmentTransientError", - "FulfillmentError", - "CalculatePriceFailed" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "Represent the current state of the Reservation.", - "enum": [ - "Creating", - "PendingResourceHold", - "ConfirmedResourceHold", - "PendingBilling", - "ConfirmedBilling", - "Created", - "Succeeded", - "Cancelled", - "Expired", - "BillingFailed", - "Failed", - "Split", - "Merged" - ] - }, - "Location": { - "type": "string", - "description": "Location in which the Resources needs to be reserved. It cannot be changed after the resource has been created.", - "enum": [ - "westus", - "eastus", - "eastus2", - "northcentralus", - "westus2", - "southcentralus", - "centralus", - "westeurope", - "northeurope", - "eastasia", - "southeastasia", - "japaneast", - "japanwest", - "brazilsouth", - "australiaeast", - "australiasoutheast", - "southindia", - "westindia", - "centralindia", - "canadacentral", - "canadaeast", - "uksouth", - "westcentralus", - "ukwest" - ] - }, - "SkuName": { - "type": "object", - "properties": { - "name": { - "type": "string" - } + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations": { + "get": { + "summary": "Get `Reservation`s in a given reservation Order", + "description": "List `Reservation`s within a single `ReservationOrder`.", + "operationId": "Reservation_List", + "x-ms-examples": { + "ReservationList": { + "$ref": "./examples/GetReservations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List `Reservation`s within a single `ReservationOrder`.", + "schema": { + "$ref": "#/definitions/ReservationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}": { + "get": { + "summary": "Get `Reservation` details.", + "description": "Get specific `Reservation` details.", + "operationId": "Reservation_Get", + "x-ms-examples": { + "GetReservation": { + "$ref": "./examples/GetReservationDetails.json" + } }, - "Catalog": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "The type of resource the SKU applies to.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The name of SKU", - "readOnly": true - }, - "tier": { - "type": "string", - "description": "The tier of this SKU", - "readOnly": true - }, - "size": { - "type": "string", - "description": "The size of this SKU", - "readOnly": true - }, - "terms": { - "type": "array", - "readOnly": true, - "description": "Available reservation terms for this resource", - "items": { - "$ref": "#/definitions/ReservationTerm" - } - }, - "locations": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The set of locations that the SKU is available." - } - }, - "capabilities": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/SkuCapability" - } - }, - "restrictions": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/SkuRestriction" - } - } + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "Get `Reservation` details.", + "schema": { + "$ref": "#/definitions/ReservationResponse" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + }, + "patch": { + "summary": "Updates a `Reservation`.", + "description": "Updates the applied scopes of the `Reservation`.", + "operationId": "Reservation_Update", + "x-ms-examples": { + "PatchReservation": { + "$ref": "./examples/UpdateReservation.json" + } }, - "SkuCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "An invariant to describe the feature." - }, - "value": { - "type": "string", - "description": "An invariant if the feature is measured by quantity." - } + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PatchParameter" + } + ], + "tags": [ + "Reservation", + "ApplyScope" + ], + "responses": { + "200": { + "description": "Returns the updated `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationResponse" } + }, + "202": { + "description": "The request is accepted and is being processed" + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions": { + "get": { + "summary": "Get `Reservation` revisions.", + "description": "List of all the revisions for the `Reservation`.\n", + "operationId": "Reservation_ListRevisions", + "x-ms-examples": { + "ReservationRevisions": { + "$ref": "./examples/GetReservationRevisions.json" + } }, - "SkuRestriction": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of restrictions." - }, - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." - }, - "reasonCode": { - "type": "string", - "description": "The reason for restriction." - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ReservationIdParameter" + }, + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Reservation" + ], + "responses": { + "200": { + "description": "List of all the revisions for the `Reservation`.", + "schema": { + "$ref": "#/definitions/ReservationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + }, + "/providers/Microsoft.Capacity/operations": { + "get": { + "summary": "Get operations.", + "description": "List all the operations.", + "operationId": "Operation_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" + } }, - "ReservationOrderResponse": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "etag": { - "type": "integer" - }, - "id": { - "type": "string", - "readOnly": true, - "description": "Identifier of the reservation" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the reservation" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ReservationOrderProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Type of resource. \"Microsoft.Capacity/reservations\"" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Operation" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/Error" } + } + } + } + } + }, + "definitions": { + "ReservationStatusCode": { + "type": "string", + "enum": [ + "None", + "Pending", + "Active", + "PurchaseError", + "PaymentInstrumentError", + "Split", + "Merged", + "Expired", + "Succeeded" + ] + }, + "ErrorResponseCode": { + "type": "string", + "enum": [ + "NotSpecified", + "InternalServerError", + "ServerTimeout", + "AuthorizationFailed", + "BadRequest", + "ClientCertificateThumbprintNotSet", + "InvalidRequestContent", + "OperationFailed", + "HttpMethodNotSupported", + "InvalidRequestUri", + "MissingTenantId", + "InvalidTenantId", + "InvalidReservationOrderId", + "InvalidReservationId", + "ReservationIdNotInReservationOrder", + "ReservationOrderNotFound", + "InvalidSubscriptionId", + "InvalidAccessToken", + "InvalidLocationId", + "UnauthenticatedRequestsThrottled", + "InvalidHealthCheckType", + "Forbidden", + "BillingScopeIdCannotBeChanged", + "AppliedScopesNotAssociatedWithCommerceAccount", + "AppliedScopesSameAsExisting", + "RoleAssignmentCreationFailed", + "ReservationOrderCreationFailed", + "ReservationOrderNotEnabled", + "CapacityUpdateScopesFailed", + "UnsupportedReservationTerm", + "ReservationOrderIdAlreadyExists", + "RiskCheckFailed", + "CreateQuoteFailed", + "ActivateQuoteFailed", + "NonsupportedAccountId", + "PaymentInstrumentNotFound", + "MissingAppliedScopesForSingle", + "NoValidReservationsToReRate", + "ReRateOnlyAllowedForEA", + "OperationCannotBePerformedInCurrentState", + "InvalidSingleAppliedScopesCount", + "InvalidFulfillmentRequestParameters", + "NotSupportedCountry", + "InvalidRefundQuantity", + "PurchaseError", + "BillingCustomerInputError", + "BillingPaymentInstrumentSoftError", + "BillingPaymentInstrumentHardError", + "BillingTransientError", + "BillingError", + "FulfillmentConfigurationError", + "FulfillmentOutOfStockError", + "FulfillmentTransientError", + "FulfillmentError", + "CalculatePriceFailed" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "Represent the current state of the Reservation.", + "enum": [ + "Creating", + "PendingResourceHold", + "ConfirmedResourceHold", + "PendingBilling", + "ConfirmedBilling", + "Created", + "Succeeded", + "Cancelled", + "Expired", + "BillingFailed", + "Failed", + "Split", + "Merged" + ] + }, + "Location": { + "type": "string", + "description": "Location in which the Resources needs to be reserved. It cannot be changed after the resource has been created.", + "enum": [ + "westus", + "eastus", + "eastus2", + "northcentralus", + "westus2", + "southcentralus", + "centralus", + "westeurope", + "northeurope", + "eastasia", + "southeastasia", + "japaneast", + "japanwest", + "brazilsouth", + "australiaeast", + "australiasoutheast", + "southindia", + "westindia", + "centralindia", + "canadacentral", + "canadaeast", + "uksouth", + "westcentralus", + "ukwest" + ] + }, + "SkuName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "Catalog": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of resource the SKU applies to.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of SKU", + "readOnly": true + }, + "tier": { + "type": "string", + "description": "The tier of this SKU", + "readOnly": true + }, + "size": { + "type": "string", + "description": "The size of this SKU", + "readOnly": true }, - "ReservationTerm": { + "terms": { + "type": "array", + "readOnly": true, + "description": "Available reservation terms for this resource", + "items": { + "$ref": "#/definitions/ReservationTerm" + } + }, + "locations": { + "type": "array", + "readOnly": true, + "items": { "type": "string", - "description": "Represent the term of Reservation.", - "enum": [ - "P1Y", - "P3Y" - ] - }, - "ReservationOrderProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "Friendly name for user to easily identified the reservation." - }, - "requestDateTime": { - "type": "string", - "format": "date-time", - "description": "This is the DateTime when the reservation was initially requested for purchase." - }, - "createdDateTime": { - "type": "string", - "format": "date-time", - "description": "This is the DateTime when the reservation was created." - }, - "expiryDate": { - "type": "string", - "format": "date", - "description": "This is the date when the Reservation will expire." - }, - "originalQuantity": { - "type": "integer", - "format": "int32", - "description": "Total Quantity of the SKUs purchased in the Reservation." - }, - "term": { - "$ref": "#/definitions/ReservationTerm" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState" - }, - "reservations": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - } - } + "description": "The set of locations that the SKU is available." + } }, - "ReservationResponse": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "location": { - "$ref": "#/definitions/Location" - }, - "etag": { - "type": "integer" - }, - "id": { - "type": "string", - "readOnly": true, - "description": "Identifier of the reservation" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the reservation" - }, - "kind": { - "type": "string", - "description": "Resource Provider type to be reserved.", - "enum": [ - "Microsoft.Compute" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": false - } - }, - "sku": { - "$ref": "#/definitions/SkuName" - }, - "properties": { - "$ref": "#/definitions/ReservationProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" - } - } + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuCapability" + } }, - "ReservationProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "Friendly name for user to easily identify the reservation" - }, - "appliedScopes": { - "$ref": "#/definitions/AppliedScopes" - }, - "appliedScopeType": { - "$ref": "#/definitions/AppliedScopeType" - }, - "quantity": { - "type": "integer", - "format": "int32", - "description": "Quantity of the SKUs that are part of the Reservation." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState" - }, - "effectiveDateTime": { - "type": "string", - "format": "date-time", - "description": "DateTime of the Reservation starting when this version is effective from." - }, - "lastUpdatedDateTime": { - "type": "string", - "format": "date-time", - "description": "DateTime of the last time the Reservation was updated.", - "readOnly": true - }, - "expiryDate": { - "type": "string", - "format": "date", - "description": "This is the date when the Reservation will expire." - }, - "extendedStatusInfo": { - "$ref": "#/definitions/ExtendedStatusInfo" - }, - "splitProperties": { - "$ref": "#/definitions/ReservationSplitProperties" - }, - "mergeProperties": { - "$ref": "#/definitions/ReservationMergeProperties" - } - } + "restrictions": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SkuRestriction" + } + } + } + }, + "SkuCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "An invariant to describe the feature." }, - "ReservationSplitProperties": { - "type": "object", - "properties": { - "splitDestinations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - }, - "splitSource": { - "type": "string", - "description": "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "value": { + "type": "string", + "description": "An invariant if the feature is measured by quantity." + } + } + }, + "SkuRestriction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions." }, - "ReservationMergeProperties": { - "type": "object", - "properties": { - "mergeDestination": { - "type": "string", - "description": "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - }, - "mergeSources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." }, - "PatchProperties": { - "type": "object", - "properties": { - "appliedScopeType": { - "$ref": "#/definitions/AppliedScopeType" - }, - "appliedScopes": { - "$ref": "#/definitions/AppliedScopes" - } - } + "reasonCode": { + "type": "string", + "description": "The reason for restriction." + } + } + }, + "ReservationOrderResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "etag": { + "type": "integer" }, - "SplitProperties": { - "type": "object", - "properties": { - "quantities": { - "type": "array", - "description": "List of the quantities in the new reservations to create.", - "items": { - "type": "integer", - "minItems": 2, - "maxItems": 2 - } - }, - "reservationId": { - "type": "string", - "description": "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" - } - } + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" }, - "MergeProperties": { - "type": "object", - "properties": { - "sources": { - "type": "array", - "description": "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", - "items": { - "type": "string" - } - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" }, - "MergeRequest": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MergeProperties" - } - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationOrderProperties" }, - "Patch": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PatchProperties" - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservations\"" + } + } + }, + "ReservationTerm": { + "type": "string", + "description": "Represent the term of Reservation.", + "enum": [ + "P1Y", + "P3Y" + ] + }, + "ReservationOrderProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identified the reservation." }, - "SplitRequest": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SplitProperties" - } - } + "requestDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was initially requested for purchase." }, - "Error": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ExtendedErrorInfo" - } - } + "createdDateTime": { + "type": "string", + "format": "date-time", + "description": "This is the DateTime when the reservation was created." }, - "ExtendedErrorInfo": { - "type": "object", - "properties": { - "code": { - "$ref": "#/definitions/ErrorResponseCode" - }, - "message": { - "type": "string" - } - } + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." }, - "ExtendedStatusInfo": { - "type": "object", - "properties": { - "statusCode": { - "$ref": "#/definitions/ReservationStatusCode" - }, - "message": { - "type": "string", - "description": "The message giving detailed information about the status code." - } - } + "originalQuantity": { + "type": "integer", + "format": "int32", + "description": "Total Quantity of the SKUs purchased in the Reservation." }, - "ReservationOrderList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationOrderResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservationOrders." - } - } + "term": { + "$ref": "#/definitions/ReservationTerm" }, - "ReservationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReservationResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservations." - } - } + "provisioningState": { + "$ref": "#/definitions/ProvisioningState" }, - "AppliedReservations": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Identifier of the applied reservations", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Name of resource", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AppliedReservationsProperties" - } - } + "reservations": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + } + } + }, + "ReservationResponse": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "$ref": "#/definitions/Location" }, - "AppliedReservationsProperties": { - "type": "object", - "properties": { - "reservationOrderIds": { - "$ref": "#/definitions/AppliedReservationList" - } - } + "etag": { + "type": "integer" }, - "AppliedReservationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string", - "description": "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of reservations" - } - } + "id": { + "type": "string", + "readOnly": true, + "description": "Identifier of the reservation" }, - "OperationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationResponse" - } - }, - "nextLink": { - "type": "string", - "description": "Url to get the next page of items." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the reservation" }, - "OperationResponse": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplay" - }, - "origin": { - "type": "string" - } - } + "kind": { + "type": "string", + "description": "Resource Provider type to be reserved.", + "enum": [ + "Microsoft.Compute" + ], + "x-ms-enum": { + "name": "Kind", + "modelAsString": false + } }, - "OperationDisplay": { - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } + "sku": { + "$ref": "#/definitions/SkuName" }, - "AppliedScopeType": { - "type": "string", - "description": "Type of the Applied Scope.", - "enum": [ - "Single", - "Shared" - ] - }, - "AppliedScopes": { - "type": "array", - "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", - "items": { - "type": "string", - "minItems": 1, - "maxItems": 1 - } + "properties": { + "$ref": "#/definitions/ReservationProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/reservationOrders/reservations\"" } + } }, - "parameters": { - "ReservationIdParameter": { - "name": "reservationId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Id of the Reservation Item" - }, - "MergeParameter": { - "name": "body", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed for commercial request for a reservation", - "schema": { - "$ref": "#/definitions/MergeRequest" - } + "ReservationProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Friendly name for user to easily identify the reservation" }, - "PatchParameter": { - "name": "parameters", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed to patch a reservation item", - "schema": { - "$ref": "#/definitions/Patch" - } + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" }, - "SplitParameter": { - "name": "body", - "x-ms-parameter-location": "method", - "in": "body", - "required": true, - "description": "Information needed to Split a reservation item", - "schema": { - "$ref": "#/definitions/SplitRequest" - } + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" + }, + "quantity": { + "type": "integer", + "format": "int32", + "description": "Quantity of the SKUs that are part of the Reservation." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Supported version.", - "required": true, + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the Reservation starting when this version is effective from." + }, + "lastUpdatedDateTime": { + "type": "string", + "format": "date-time", + "description": "DateTime of the last time the Reservation was updated.", + "readOnly": true + }, + "expiryDate": { + "type": "string", + "format": "date", + "description": "This is the date when the Reservation will expire." + }, + "extendedStatusInfo": { + "$ref": "#/definitions/ExtendedStatusInfo" + }, + "splitProperties": { + "$ref": "#/definitions/ReservationSplitProperties" + }, + "mergeProperties": { + "$ref": "#/definitions/ReservationMergeProperties" + } + } + }, + "ReservationSplitProperties": { + "type": "object", + "properties": { + "splitDestinations": { + "type": "array", + "items": { "type": "string" + }, + "description": "List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Id of the subscription" + "splitSource": { + "type": "string", + "description": "Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "ReservationMergeProperties": { + "type": "object", + "properties": { + "mergeDestination": { + "type": "string", + "description": "Reservation Resource Id Created due to the merge. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + }, + "mergeSources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Resource Ids of the Source Reservation's merged to form this Reservation. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "PatchProperties": { + "type": "object", + "properties": { + "appliedScopeType": { + "$ref": "#/definitions/AppliedScopeType" + }, + "appliedScopes": { + "$ref": "#/definitions/AppliedScopes" + } + } + }, + "SplitProperties": { + "type": "object", + "properties": { + "quantities": { + "type": "array", + "description": "List of the quantities in the new reservations to create.", + "items": { + "type": "integer", + "minItems": 2, + "maxItems": 2 + } }, - "ReservationOrderIdParameter": { - "name": "reservationOrderId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, + "reservationId": { + "type": "string", + "description": "Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}" + } + } + }, + "MergeProperties": { + "type": "object", + "properties": { + "sources": { + "type": "array", + "description": "Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}", + "items": { + "type": "string" + } + } + } + }, + "MergeRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MergeProperties" + } + } + }, + "Patch": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchProperties" + } + } + }, + "SplitRequest": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SplitProperties" + } + } + }, + "Error": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ExtendedErrorInfo" + } + } + }, + "ExtendedErrorInfo": { + "type": "object", + "properties": { + "code": { + "$ref": "#/definitions/ErrorResponseCode" + }, + "message": { + "type": "string" + } + } + }, + "ExtendedStatusInfo": { + "type": "object", + "properties": { + "statusCode": { + "$ref": "#/definitions/ReservationStatusCode" + }, + "message": { + "type": "string", + "description": "The message giving detailed information about the status code." + } + } + }, + "ReservationOrderList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationOrderResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservationOrders." + } + } + }, + "ReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations." + } + } + }, + "AppliedReservations": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Identifier of the applied reservations", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of resource. \"Microsoft.Capacity/AppliedReservations\"", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AppliedReservationsProperties" + } + } + }, + "AppliedReservationsProperties": { + "type": "object", + "properties": { + "reservationOrderIds": { + "$ref": "#/definitions/AppliedReservationList" + } + } + }, + "AppliedReservationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { "type": "string", - "description": "Order Id of the reservation\n" + "description": "Reservation resource Id. \"/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}\"" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of reservations" + } + } + }, + "OperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of items." + } + } + }, + "OperationResponse": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplay" + }, + "origin": { + "type": "string" } + } + }, + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "AppliedScopeType": { + "type": "string", + "description": "Type of the Applied Scope.", + "enum": [ + "Single", + "Shared" + ] + }, + "AppliedScopes": { + "type": "array", + "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.", + "items": { + "type": "string", + "minItems": 1, + "maxItems": 1 + } + } + }, + "parameters": { + "ReservationIdParameter": { + "name": "reservationId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the Reservation Item" + }, + "MergeParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed for commercial request for a reservation", + "schema": { + "$ref": "#/definitions/MergeRequest" + } + }, + "PatchParameter": { + "name": "parameters", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to patch a reservation item", + "schema": { + "$ref": "#/definitions/Patch" + } + }, + "SplitParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Information needed to Split a reservation item", + "schema": { + "$ref": "#/definitions/SplitRequest" + } + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Supported version.", + "required": true, + "type": "string" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the subscription" + }, + "ReservationOrderIdParameter": { + "name": "reservationOrderId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Order Id of the reservation\n" } -} \ No newline at end of file + } +} From 9f919c3b247fb83f27b45620f107b9ba39c04ef2 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:00:22 -0400 Subject: [PATCH 085/495] chore: jsonfmt service-map (#6246) Ran `jsonfmt -w "specification/service-map/**/*.json"` --- .../2015-11-01-preview/arm-service-map.json | 2 +- .../ClientGroups/SMClientGroupsGetGet.json | 74 +- .../SMClientGroupsGetMembersCountGet.json | 40 +- .../SMClientGroupsListMembersGet.json | 1209 ++++---- .../SMMachineGroupsCreatePost.json | 94 +- .../SMMachineGroupsDeleteDelete.json | 20 +- .../MachineGroups/SMMachineGroupsGetGet.json | 72 +- .../SMMachineGroupsListByWorkspaceGet.json | 130 +- .../SMMachineGroupsUpdatePut.json | 96 +- ...MachinesListMachineGroupMembershipGet.json | 83 +- .../Ports/SMMachinesListPortsGet.json | 139 +- .../Machines/Ports/SMMachinesPortsGetGet.json | 60 +- .../Ports/SMMachinesPortsGetLivenessGet.json | 38 +- ...achinesPortsListAcceptingProcessesGet.json | 208 +- .../SMMachinesPortsListConnectionsGet.json | 230 +- .../Processes/SMMachinesListProcessesGet.json | 333 +- .../Processes/SMMachinesProcessesGetGet.json | 128 +- .../SMMachinesProcessesGetLivenessGet.json | 38 +- ...achinesProcessesListAcceptingPortsGet.json | 141 +- ...SMMachinesProcessesListConnectionsGet.json | 440 +-- .../examples/Machines/SMMachinesGetGet.json | 46 +- .../Machines/SMMachinesGetLivenessGet.json | 36 +- .../SMMachinesListByWorkspaceGet.json | 2738 +++++++++-------- .../SMMachinesListConnectionsGet.json | 543 ++-- ...apsGenerateMachineGroupDependencyPost.json | 1344 ++++---- ...MapsGenerateMachineListDependencyPost.json | 1350 ++++---- ...psGenerateSingleMachineDependencyPost.json | 643 ++-- .../Summaries/SMSummariesGetMachinesGet.json | 56 +- 28 files changed, 5322 insertions(+), 5009 deletions(-) diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/arm-service-map.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/arm-service-map.json index 2962a420069c..5337461d229c 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/arm-service-map.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/arm-service-map.json @@ -3420,4 +3420,4 @@ "maxLength": 36 } } -} \ No newline at end of file +} diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetGet.json index 4e6dd14a8907..4524b45964f7 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetGet.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "clientGroupName": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", - "startTime": "2018-01-08T21:26:53.7181136Z", - "endTime": "2018-01-08T21:28:53.7181136Z" - }, - "responses": { - "200": { - "body": { - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "192.168.1.10", - "portNumber": 10000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_10000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "clientGroupName": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", + "startTime": "2018-01-08T21:26:53.7181136Z", + "endTime": "2018-01-08T21:28:53.7181136Z" + }, + "responses": { + "200": { + "body": { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "192.168.1.10", + "portNumber": 10000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_10000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetMembersCountGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetMembersCountGet.json index c73e93aad3c5..499090e41912 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetMembersCountGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsGetMembersCountGet.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "clientGroupName": "m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", - "startTime": "2018-01-08T21:51:48.301Z", - "endTime": "2018-01-08T21:52:03.301Z" - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-08T21:51:48.301Z", - "endTime": "2018-01-08T21:52:03.301Z", - "groupId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", - "count": 25, - "accuracy": "actual" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "clientGroupName": "m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", + "startTime": "2018-01-08T21:51:48.301Z", + "endTime": "2018-01-08T21:52:03.301Z" + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-08T21:51:48.301Z", + "endTime": "2018-01-08T21:52:03.301Z", + "groupId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", + "count": 25, + "accuracy": "actual" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsListMembersGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsListMembersGet.json index af15f04b7eeb..734b6cd07e5b 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsListMembersGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/ClientGroups/SMClientGroupsListMembersGet.json @@ -1,594 +1,619 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "clientGroupName": "m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", - "startTime": "2018-01-08T21:51:48.301Z", - "endTime": "2018-01-08T21:52:03.301Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "properties": { - "ipAddress": "1.1.0.0", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010000", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010000" - }, { - "properties": { - "ipAddress": "1.1.0.1", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010001", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010001" - }, { - "properties": { - "ipAddress": "1.1.0.2", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010002", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010002" - }, { - "properties": { - "ipAddress": "1.1.0.3", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010003", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010003" - }, { - "properties": { - "ipAddress": "1.1.0.4", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010004", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010004" - }, { - "properties": { - "ipAddress": "1.1.0.5", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010005", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010005" - }, { - "properties": { - "ipAddress": "1.1.0.6", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010006", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010006" - }, { - "properties": { - "ipAddress": "1.1.0.7", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010007", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010007" - }, { - "properties": { - "ipAddress": "1.1.0.8", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010008", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010008" - }, { - "properties": { - "ipAddress": "1.1.0.9", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010009", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010009" - }, { - "properties": { - "ipAddress": "1.1.0.10", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000a", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000a" - }, { - "properties": { - "ipAddress": "1.1.0.11", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000b", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000b" - }, { - "properties": { - "ipAddress": "1.1.0.12", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000c", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000c" - }, { - "properties": { - "ipAddress": "1.1.0.13", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000d", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000d" - }, { - "properties": { - "ipAddress": "1.1.0.14", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000e", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000e" - }, { - "properties": { - "ipAddress": "1.1.0.15", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000f", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "0101000f" - }, { - "properties": { - "ipAddress": "1.1.0.16", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010010", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010010" - }, { - "properties": { - "ipAddress": "1.1.0.17", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010011", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010011" - }, { - "properties": { - "ipAddress": "1.1.0.18", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010012", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010012" - }, { - "properties": { - "ipAddress": "1.1.0.19", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010013", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010013" - }, { - "properties": { - "ipAddress": "1.1.0.20", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010014", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010014" - }, { - "properties": { - "ipAddress": "1.1.0.21", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010015", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010015" - }, { - "properties": { - "ipAddress": "1.1.0.22", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010016", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010016" - }, { - "properties": { - "ipAddress": "1.1.0.23", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010017", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010017" - }, { - "properties": { - "ipAddress": "1.1.0.24", - "port": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" - }, - "ipAddress": "192.168.1.10", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_8000" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010018", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", - "name": "01010018" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "clientGroupName": "m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000", + "startTime": "2018-01-08T21:51:48.301Z", + "endTime": "2018-01-08T21:52:03.301Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ipAddress": "1.1.0.0", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010000", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010000" + }, + { + "properties": { + "ipAddress": "1.1.0.1", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010001", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010001" + }, + { + "properties": { + "ipAddress": "1.1.0.2", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010002", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010002" + }, + { + "properties": { + "ipAddress": "1.1.0.3", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010003", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010003" + }, + { + "properties": { + "ipAddress": "1.1.0.4", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010004", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010004" + }, + { + "properties": { + "ipAddress": "1.1.0.5", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010005", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010005" + }, + { + "properties": { + "ipAddress": "1.1.0.6", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010006", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010006" + }, + { + "properties": { + "ipAddress": "1.1.0.7", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010007", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010007" + }, + { + "properties": { + "ipAddress": "1.1.0.8", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010008", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010008" + }, + { + "properties": { + "ipAddress": "1.1.0.9", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010009", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010009" + }, + { + "properties": { + "ipAddress": "1.1.0.10", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000a", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000a" + }, + { + "properties": { + "ipAddress": "1.1.0.11", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000b", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000b" + }, + { + "properties": { + "ipAddress": "1.1.0.12", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000c", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000c" + }, + { + "properties": { + "ipAddress": "1.1.0.13", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000d", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000d" + }, + { + "properties": { + "ipAddress": "1.1.0.14", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000e", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000e" + }, + { + "properties": { + "ipAddress": "1.1.0.15", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/0101000f", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "0101000f" + }, + { + "properties": { + "ipAddress": "1.1.0.16", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010010", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010010" + }, + { + "properties": { + "ipAddress": "1.1.0.17", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010011", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010011" + }, + { + "properties": { + "ipAddress": "1.1.0.18", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010012", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010012" + }, + { + "properties": { + "ipAddress": "1.1.0.19", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010013", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010013" + }, + { + "properties": { + "ipAddress": "1.1.0.20", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010014", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010014" + }, + { + "properties": { + "ipAddress": "1.1.0.21", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010015", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010015" + }, + { + "properties": { + "ipAddress": "1.1.0.22", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010016", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010016" + }, + { + "properties": { + "ipAddress": "1.1.0.23", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010017", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010017" + }, + { + "properties": { + "ipAddress": "1.1.0.24", + "port": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-12bc33c3-31ad-42e0-a08b-bd1c2531776b" + }, + "ipAddress": "192.168.1.10", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-12bc33c3-31ad-42e0-a08b-bd1c2531776b/ports/b-c0a8010a_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_8000" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-12bc33c3-31ad-42e0-a08b-bd1c2531776b!b!b-c0a8010a_8000/members/01010018", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups/members", + "name": "01010018" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsCreatePost.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsCreatePost.json index 1080fd71b69c..61076a8863e4 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsCreatePost.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsCreatePost.json @@ -1,48 +1,50 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineGroup": { - "kind": "machineGroup", - "properties": { - "displayName": "Foo", - "count": 1, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0" - } - ] - }, - "etag": "e20e75b5-5765-48a5-9503-9d1b7fd20925" - } - }, - "responses": { - "201": { - "body": { - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Foo", - "count": 1, - "machines": [{ - "kind": "ref:machinewithhints", - "properties": { - "displayNameHint": "MachineName", - "osFamilyHint": "windows" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0" - } - ] - }, - "etag": "e20e75b5-5765-48a5-9503-9d1b7fd20925", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/ccaf142f-57f7-4510-bd80-b073cd5dcdec", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "ccaf142f-57f7-4510-bd80-b073cd5dcdec" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineGroup": { + "kind": "machineGroup", + "properties": { + "displayName": "Foo", + "count": 1, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0" + } + ] + }, + "etag": "e20e75b5-5765-48a5-9503-9d1b7fd20925" + } + }, + "responses": { + "201": { + "body": { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Foo", + "count": 1, + "machines": [ + { + "kind": "ref:machinewithhints", + "properties": { + "displayNameHint": "MachineName", + "osFamilyHint": "windows" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-2f2506f5-cf18-4dc6-98ba-d84ce2610ae0" + } + ] + }, + "etag": "e20e75b5-5765-48a5-9503-9d1b7fd20925", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/ccaf142f-57f7-4510-bd80-b073cd5dcdec", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "ccaf142f-57f7-4510-bd80-b073cd5dcdec" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsDeleteDelete.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsDeleteDelete.json index c6f6dd8767ec..c186da72014b 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsDeleteDelete.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsDeleteDelete.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineGroupName": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a" - }, - "responses": { - "204": {} - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineGroupName": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a" + }, + "responses": { + "204": {} + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsGetGet.json index f6bd399d8d7b..3bb626ef929c 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsGetGet.json @@ -1,37 +1,39 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineGroupName": "07597c56-5395-4815-839c-c4e7bddbac18" - }, - "responses": { - "200": { - "body": { - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Foo", - "count": 2, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, { - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - ] - }, - "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "07597c56-5395-4815-839c-c4e7bddbac18" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineGroupName": "07597c56-5395-4815-839c-c4e7bddbac18" + }, + "responses": { + "200": { + "body": { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Foo", + "count": 2, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + ] + }, + "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "07597c56-5395-4815-839c-c4e7bddbac18" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsListByWorkspaceGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsListByWorkspaceGet.json index bd24642a00b1..062dc883aece 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsListByWorkspaceGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsListByWorkspaceGet.json @@ -1,64 +1,70 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "startTime": "2018-01-08T19:17:49.333139Z", - "endTime": "2018-01-08T19:19:49.333139Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Foo", - "count": 2, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, { - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - ] - }, - "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "07597c56-5395-4815-839c-c4e7bddbac18" - }, { - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Bar", - "count": 2, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-573847EE-4D31-4936-A8B2-771372806C80" - }, { - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123" - } - ] - }, - "etag": "9580746a-73bc-4c37-b3a0-5ac1f0ceefc2", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/4cac6673-1395-4fcd-975d-3bfe35ad57d2", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "4cac6673-1395-4fcd-975d-3bfe35ad57d2" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "startTime": "2018-01-08T19:17:49.333139Z", + "endTime": "2018-01-08T19:19:49.333139Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Foo", + "count": 2, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + ] + }, + "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "07597c56-5395-4815-839c-c4e7bddbac18" + }, + { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Bar", + "count": 2, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-573847EE-4D31-4936-A8B2-771372806C80" + }, + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123" + } + ] + }, + "etag": "9580746a-73bc-4c37-b3a0-5ac1f0ceefc2", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/4cac6673-1395-4fcd-975d-3bfe35ad57d2", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "4cac6673-1395-4fcd-975d-3bfe35ad57d2" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsUpdatePut.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsUpdatePut.json index 1822b3835144..3bb247bb8ee7 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsUpdatePut.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/MachineGroups/SMMachineGroupsUpdatePut.json @@ -1,49 +1,51 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineGroupName": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a", - "machineGroup": { - "kind": "machineGroup", - "properties": { - "displayName": "Foo", - "count": 1, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0fe4b501-7ac9-41d7-a4e1-1591a0789519" - } - ] - }, - "etag": "8cd3a8a1-4b1f-43fc-ae3c-b2c092561444" - } - }, - "responses": { - "200": { - "body": { - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Foo", - "count": 1, - "machines": [{ - "kind": "ref:machinewithhints", - "properties": { - "displayNameHint": "MachineName", - "osFamilyHint": "windows" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0fe4b501-7ac9-41d7-a4e1-1591a0789519", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-0fe4b501-7ac9-41d7-a4e1-1591a0789519" - } - ] - }, - "etag": "8cd3a8a1-4b1f-43fc-ae3c-b2c092561444", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/ccfbf4bf-dc08-4371-9e9b-00a8d875d45a", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineGroupName": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a", + "machineGroup": { + "kind": "machineGroup", + "properties": { + "displayName": "Foo", + "count": 1, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0fe4b501-7ac9-41d7-a4e1-1591a0789519" + } + ] + }, + "etag": "8cd3a8a1-4b1f-43fc-ae3c-b2c092561444" + } + }, + "responses": { + "200": { + "body": { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Foo", + "count": 1, + "machines": [ + { + "kind": "ref:machinewithhints", + "properties": { + "displayNameHint": "MachineName", + "osFamilyHint": "windows" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0fe4b501-7ac9-41d7-a4e1-1591a0789519", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-0fe4b501-7ac9-41d7-a4e1-1591a0789519" + } + ] + }, + "etag": "8cd3a8a1-4b1f-43fc-ae3c-b2c092561444", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/ccfbf4bf-dc08-4371-9e9b-00a8d875d45a", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "ccfbf4bf-dc08-4371-9e9b-00a8d875d45a" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/MachineGroups/SMMachinesListMachineGroupMembershipGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/MachineGroups/SMMachinesListMachineGroupMembershipGet.json index f3e9c3deb9b2..ede2567a2554 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/MachineGroups/SMMachinesListMachineGroupMembershipGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/MachineGroups/SMMachinesListMachineGroupMembershipGet.json @@ -1,42 +1,45 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "startTime": "2018-01-08T19:17:49.333139Z", - "endTime": "2018-01-08T19:19:49.333139Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "machineGroup", - "properties": { - "groupType": "unknown", - "displayName": "Foo", - "count": 2, - "machines": [{ - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, { - "kind": "ref:machinewithhints", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - ] - }, - "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", - "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", - "name": "07597c56-5395-4815-839c-c4e7bddbac18" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "startTime": "2018-01-08T19:17:49.333139Z", + "endTime": "2018-01-08T19:19:49.333139Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "machineGroup", + "properties": { + "groupType": "unknown", + "displayName": "Foo", + "count": 2, + "machines": [ + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + { + "kind": "ref:machinewithhints", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + ] + }, + "etag": "6e87df32-c683-492d-bd2a-6dcd69c3034f", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/07597c56-5395-4815-839c-c4e7bddbac18", + "type": "Microsoft.OperationalInsights/workspaces/features/machineGroups", + "name": "07597c56-5395-4815-839c-c4e7bddbac18" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesListPortsGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesListPortsGet.json index fd7b4645af54..ae8c723b57bc 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesListPortsGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesListPortsGet.json @@ -1,70 +1,73 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "startTime": "2018-01-07T08:01:48.525Z", - "endTime": "2018-01-07T08:01:48.525Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8000", - "ipAddress": "192.168.1.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8000" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8001", - "ipAddress": "192.168.1.1", - "portNumber": 8001 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8001", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8001" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8002", - "ipAddress": "192.168.1.1", - "portNumber": 8002 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8002", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8002" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "startTime": "2018-01-07T08:01:48.525Z", + "endTime": "2018-01-07T08:01:48.525Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8000", + "ipAddress": "192.168.1.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8000" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8001", + "ipAddress": "192.168.1.1", + "portNumber": 8001 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8001", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8001" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8002", + "ipAddress": "192.168.1.1", + "portNumber": 8002 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8002", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8002" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json index 5200ea112769..b8cc1fb22758 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "portName": "b-c0a80101_8000", - "startTime": "2018-01-07T08:01:48.525Z", - "endTime": "2018-01-07T08:01:48.525Z" - }, - "responses": { - "200": { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8000", - "ipAddress": "192.168.1.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8000" - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "portName": "b-c0a80101_8000", + "startTime": "2018-01-07T08:01:48.525Z", + "endTime": "2018-01-07T08:01:48.525Z" + }, + "responses": { + "200": { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8000", + "ipAddress": "192.168.1.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8000" + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetLivenessGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetLivenessGet.json index 6977858aafcd..df8b6d15d6f7 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetLivenessGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetLivenessGet.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "portName": "b-c0a80101_8000", - "startTime": "2018-01-07T08:01:48.525Z", - "endTime": "2018-01-07T08:01:48.525Z" - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-07T08:01:48.525Z", - "endTime": "2018-01-07T08:01:48.525Z", - "live": true - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "portName": "b-c0a80101_8000", + "startTime": "2018-01-07T08:01:48.525Z", + "endTime": "2018-01-07T08:01:48.525Z" + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-07T08:01:48.525Z", + "endTime": "2018-01-07T08:01:48.525Z", + "live": true + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListAcceptingProcessesGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListAcceptingProcessesGet.json index 402f531323ae..e7b79dcf862c 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListAcceptingProcessesGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListAcceptingProcessesGet.json @@ -1,104 +1,108 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", - "portName": "b-c0a80101_8000", - "startTime": "2018-01-08T18:37:39.936Z", - "endTime": "2018-01-08T18:37:54.936Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e" - }, - "executableName": "process", - "displayName": "process", - "startTime": "2018-01-08T18:27:39.936Z", - "group": "myproductname", - "details": { - "persistentKey": "1a502634-e7ca-4c56-b10d-545f60623ef2", - "poolId": 12, - "firstPid": 10, - "description": "mydescription", - "companyName": "mycompany", - "internalName": "myinternalname", - "productName": "myproductname", - "productVersion": "3.3.3.3", - "fileVersion": "1.2.3.4", - "commandLine": "cmdline", - "executablePath": "mypath", - "workingDirectory": "myworkingdir", - "services": [{ - "name": "foosvc", - "displayName": "Foo Service" - } - ], - "zoneName": "LinuxOnlyZone" - }, - "user": { - "userName": "myuser", - "userDomain": "mydomain" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-e832fd7598b913c9f6d751b977028248c48c35dc", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-e832fd7598b913c9f6d751b977028248c48c35dc" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e" - }, - "executableName": "process", - "displayName": "process", - "startTime": "2018-01-08T18:27:39.936Z", - "group": "myproductname", - "details": { - "persistentKey": "677cde70-5589-41f3-89b8-4b866ed5c86e", - "poolId": 12, - "firstPid": 10, - "description": "mydescription", - "companyName": "mycompany", - "internalName": "myinternalname", - "productName": "myproductname", - "productVersion": "3.3.3.3", - "fileVersion": "1.2.3.4", - "commandLine": "cmdline", - "executablePath": "mypath", - "workingDirectory": "myworkingdir", - "services": [{ - "name": "foosvc", - "displayName": "Foo Service" - } - ], - "zoneName": "LinuxOnlyZone" - }, - "user": { - "userName": "myuser", - "userDomain": "mydomain" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-fa195e268682d998e42071ff3346c09f0af4f9e8", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-fa195e268682d998e42071ff3346c09f0af4f9e8" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", + "portName": "b-c0a80101_8000", + "startTime": "2018-01-08T18:37:39.936Z", + "endTime": "2018-01-08T18:37:54.936Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e" + }, + "executableName": "process", + "displayName": "process", + "startTime": "2018-01-08T18:27:39.936Z", + "group": "myproductname", + "details": { + "persistentKey": "1a502634-e7ca-4c56-b10d-545f60623ef2", + "poolId": 12, + "firstPid": 10, + "description": "mydescription", + "companyName": "mycompany", + "internalName": "myinternalname", + "productName": "myproductname", + "productVersion": "3.3.3.3", + "fileVersion": "1.2.3.4", + "commandLine": "cmdline", + "executablePath": "mypath", + "workingDirectory": "myworkingdir", + "services": [ + { + "name": "foosvc", + "displayName": "Foo Service" + } + ], + "zoneName": "LinuxOnlyZone" + }, + "user": { + "userName": "myuser", + "userDomain": "mydomain" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-e832fd7598b913c9f6d751b977028248c48c35dc", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-e832fd7598b913c9f6d751b977028248c48c35dc" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e" + }, + "executableName": "process", + "displayName": "process", + "startTime": "2018-01-08T18:27:39.936Z", + "group": "myproductname", + "details": { + "persistentKey": "677cde70-5589-41f3-89b8-4b866ed5c86e", + "poolId": 12, + "firstPid": 10, + "description": "mydescription", + "companyName": "mycompany", + "internalName": "myinternalname", + "productName": "myproductname", + "productVersion": "3.3.3.3", + "fileVersion": "1.2.3.4", + "commandLine": "cmdline", + "executablePath": "mypath", + "workingDirectory": "myworkingdir", + "services": [ + { + "name": "foosvc", + "displayName": "Foo Service" + } + ], + "zoneName": "LinuxOnlyZone" + }, + "user": { + "userName": "myuser", + "userDomain": "mydomain" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-fa195e268682d998e42071ff3346c09f0af4f9e8", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-fa195e268682d998e42071ff3346c09f0af4f9e8" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListConnectionsGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListConnectionsGet.json index dfc01a66dbd9..8889a47631c7 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListConnectionsGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsListConnectionsGet.json @@ -1,116 +1,118 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "portName": "b-c0a8010a_10000", - "startTime": "2018-01-08T23:05:16.7985488Z", - "endTime": "2018-01-08T23:07:16.7985488Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-9b60b5e7-fb98-4864-9a1f-51d26407f99b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-9b60b5e7-fb98-4864-9a1f-51d26407f99b" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-9b60b5e7-fb98-4864-9a1f-51d26407f99b/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "192.168.1.10", - "portNumber": 10000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_10000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-9b60b5e7-fb98-4864-9a1f-51d26407f99b@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-9b60b5e7-fb98-4864-9a1f-51d26407f99b@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "192.168.1.10", - "portNumber": 10000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a8010a_10000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "portName": "b-c0a8010a_10000", + "startTime": "2018-01-08T23:05:16.7985488Z", + "endTime": "2018-01-08T23:07:16.7985488Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-9b60b5e7-fb98-4864-9a1f-51d26407f99b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-9b60b5e7-fb98-4864-9a1f-51d26407f99b" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-9b60b5e7-fb98-4864-9a1f-51d26407f99b/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "192.168.1.10", + "portNumber": 10000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_10000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-9b60b5e7-fb98-4864-9a1f-51d26407f99b@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-9b60b5e7-fb98-4864-9a1f-51d26407f99b@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-c0a8010a_10000" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "192.168.1.10", + "portNumber": 10000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a8010a_10000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a8010a_10000" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesListProcessesGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesListProcessesGet.json index 0948c4f40adb..172dbdea7fc5 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesListProcessesGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesListProcessesGet.json @@ -1,166 +1,169 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", - "live": false, - "timestamp": "2018-01-07T07:45:45.1930000Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" - }, - "executableName": "foo-bar", - "displayName": "foo-bar", - "startTime": "2018-01-10T21:04:56.8518962Z", - "role": "webServer", - "group": "Foo-bar Suite", - "details": { - "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", - "poolId": 345, - "firstPid": 456, - "description": "A special process", - "companyName": "Microsoft", - "internalName": "foo-bar-internal", - "productName": "Foo-bar Suite", - "productVersion": "3.0.0.10", - "fileVersion": "1.2.3.4", - "commandLine": "foo-bar.exe -f -g -h do something", - "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", - "workingDirectory": "c:\\temp", - "zoneName": "zone name" - }, - "user": { - "userName": "SecretUser", - "userDomain": "REDMOND" - }, - "hosting": { - "kind": "provider:azure", - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", - "roleName": "MyRoleName", - "roleType": "web" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489160", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489160" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" - }, - "executableName": "foo-bar", - "displayName": "foo-bar", - "startTime": "2018-01-10T21:04:56.8518962Z", - "role": "webServer", - "group": "Foo-bar Suite", - "details": { - "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", - "poolId": 345, - "firstPid": 456, - "description": "A special process", - "companyName": "Microsoft", - "internalName": "foo-bar-internal", - "productName": "Foo-bar Suite", - "productVersion": "3.0.0.10", - "fileVersion": "1.2.3.4", - "commandLine": "foo-bar.exe -f -g -h do something", - "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", - "workingDirectory": "c:\\temp", - "zoneName": "zone name" - }, - "user": { - "userName": "SecretUser", - "userDomain": "REDMOND" - }, - "hosting": { - "kind": "provider:azure", - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#2", - "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", - "roleName": "MyRoleName", - "roleType": "web" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489161", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489161" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" - }, - "executableName": "foo-bar", - "displayName": "foo-bar", - "startTime": "2018-01-10T21:04:56.8518962Z", - "role": "webServer", - "group": "Foo-bar Suite", - "details": { - "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", - "poolId": 345, - "firstPid": 456, - "description": "A special process", - "companyName": "Microsoft", - "internalName": "foo-bar-internal", - "productName": "Foo-bar Suite", - "productVersion": "3.0.0.10", - "fileVersion": "1.2.3.4", - "commandLine": "foo-bar.exe -f -g -h do something", - "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", - "workingDirectory": "c:\\temp", - "zoneName": "zone name" - }, - "user": { - "userName": "SecretUser", - "userDomain": "REDMOND" - }, - "hosting": { - "kind": "provider:azure", - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#3", - "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", - "roleName": "MyRoleName", - "roleType": "web" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489162", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489162" - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", + "live": false, + "timestamp": "2018-01-07T07:45:45.1930000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" + }, + "executableName": "foo-bar", + "displayName": "foo-bar", + "startTime": "2018-01-10T21:04:56.8518962Z", + "role": "webServer", + "group": "Foo-bar Suite", + "details": { + "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", + "poolId": 345, + "firstPid": 456, + "description": "A special process", + "companyName": "Microsoft", + "internalName": "foo-bar-internal", + "productName": "Foo-bar Suite", + "productVersion": "3.0.0.10", + "fileVersion": "1.2.3.4", + "commandLine": "foo-bar.exe -f -g -h do something", + "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", + "workingDirectory": "c:\\temp", + "zoneName": "zone name" + }, + "user": { + "userName": "SecretUser", + "userDomain": "REDMOND" + }, + "hosting": { + "kind": "provider:azure", + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", + "roleName": "MyRoleName", + "roleType": "web" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489160", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489160" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" + }, + "executableName": "foo-bar", + "displayName": "foo-bar", + "startTime": "2018-01-10T21:04:56.8518962Z", + "role": "webServer", + "group": "Foo-bar Suite", + "details": { + "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", + "poolId": 345, + "firstPid": 456, + "description": "A special process", + "companyName": "Microsoft", + "internalName": "foo-bar-internal", + "productName": "Foo-bar Suite", + "productVersion": "3.0.0.10", + "fileVersion": "1.2.3.4", + "commandLine": "foo-bar.exe -f -g -h do something", + "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", + "workingDirectory": "c:\\temp", + "zoneName": "zone name" + }, + "user": { + "userName": "SecretUser", + "userDomain": "REDMOND" + }, + "hosting": { + "kind": "provider:azure", + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#2", + "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", + "roleName": "MyRoleName", + "roleType": "web" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489161", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489161" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" + }, + "executableName": "foo-bar", + "displayName": "foo-bar", + "startTime": "2018-01-10T21:04:56.8518962Z", + "role": "webServer", + "group": "Foo-bar Suite", + "details": { + "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", + "poolId": 345, + "firstPid": 456, + "description": "A special process", + "companyName": "Microsoft", + "internalName": "foo-bar-internal", + "productName": "Foo-bar Suite", + "productVersion": "3.0.0.10", + "fileVersion": "1.2.3.4", + "commandLine": "foo-bar.exe -f -g -h do something", + "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", + "workingDirectory": "c:\\temp", + "zoneName": "zone name" + }, + "user": { + "userName": "SecretUser", + "userDomain": "REDMOND" + }, + "hosting": { + "kind": "provider:azure", + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#3", + "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", + "roleName": "MyRoleName", + "roleType": "web" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489162", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489162" + } + ] + } + } + } +} diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetGet.json index 341fb6db6f79..881653e1c630 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetGet.json @@ -1,65 +1,65 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", - "processName": "p-bbf99526b8fc5e7ee4f75568958a040d08489160", - "timestamp": "2018-01-10T22:45:45.1930000Z" - }, - "responses": { - "200": { - "body": { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" - }, - "executableName": "foo-bar", - "displayName": "foo-bar", - "startTime": "2018-01-10T21:04:56.8518962Z", - "role": "webServer", - "group": "Foo-bar Suite", - "details": { - "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", - "poolId": 345, - "firstPid": 456, - "description": "A special process", - "companyName": "Microsoft", - "internalName": "foo-bar-internal", - "productName": "Foo-bar Suite", - "productVersion": "3.0.0.10", - "fileVersion": "1.2.3.4", - "commandLine": "foo-bar.exe -f -g -h do something", - "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", - "workingDirectory": "c:\\temp", - "zoneName": "zone name" - }, - "user": { - "userName": "SecretUser", - "userDomain": "REDMOND" - }, - "hosting": { - "kind": "provider:azure", - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", - "roleName": "MyRoleName", - "roleType": "web" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489160", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489160" - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", + "processName": "p-bbf99526b8fc5e7ee4f75568958a040d08489160", + "timestamp": "2018-01-10T22:45:45.1930000Z" + }, + "responses": { + "200": { + "body": { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-36b83664-0822-4fb3-99a3-8332754f3eae" + }, + "executableName": "foo-bar", + "displayName": "foo-bar", + "startTime": "2018-01-10T21:04:56.8518962Z", + "role": "webServer", + "group": "Foo-bar Suite", + "details": { + "persistentKey": "77228e39-7348-4fac-8ce5-b83c7bcc52bc", + "poolId": 345, + "firstPid": 456, + "description": "A special process", + "companyName": "Microsoft", + "internalName": "foo-bar-internal", + "productName": "Foo-bar Suite", + "productVersion": "3.0.0.10", + "fileVersion": "1.2.3.4", + "commandLine": "foo-bar.exe -f -g -h do something", + "executablePath": "c:\\Program Files\\foobar\\bin\\boo-bar.exe", + "workingDirectory": "c:\\temp", + "zoneName": "zone name" + }, + "user": { + "userName": "SecretUser", + "userDomain": "REDMOND" + }, + "hosting": { + "kind": "provider:azure", + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "f4849088-01a2-420e-9709-d0b48ae31d87", + "roleName": "MyRoleName", + "roleType": "web" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/A9C800F7-342E-45B7-8EB4-6C9A6F7FE466/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-36b83664-0822-4fb3-99a3-8332754f3eae/processes/p-bbf99526b8fc5e7ee4f75568958a040d08489160", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-bbf99526b8fc5e7ee4f75568958a040d08489160" + } + } + } +} diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetLivenessGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetLivenessGet.json index 825ed9dde3ff..02159e43533e 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetLivenessGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesGetLivenessGet.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", - "processName": "p-bbf99526b8fc5e7ee4f75568958a040d08489160", - "startTime": "2018-01-07T07:07:27.6026938Z", - "endTime": "2018-01-07T07:09:27.6026938Z" - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-07T07:07:27.6026938Z", - "endTime": "2018-01-07T07:09:27.6026938Z", - "live": true - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-36b83664-0822-4fb3-99a3-8332754f3eae", + "processName": "p-bbf99526b8fc5e7ee4f75568958a040d08489160", + "startTime": "2018-01-07T07:07:27.6026938Z", + "endTime": "2018-01-07T07:09:27.6026938Z" + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-07T07:07:27.6026938Z", + "endTime": "2018-01-07T07:09:27.6026938Z", + "live": true + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListAcceptingPortsGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListAcceptingPortsGet.json index 4a6ce01052c0..f2795b3748b6 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListAcceptingPortsGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListAcceptingPortsGet.json @@ -1,71 +1,74 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "processName": "p-37d1761114556be465c44e2300bda03178a6189e", - "startTime": "2018-01-07T08:01:48.525Z", - "endTime": "2018-01-07T08:01:48.525Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8000", - "ipAddress": "192.168.1.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8000" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8001", - "ipAddress": "192.168.1.1", - "portNumber": 8001 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8001", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8001" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" - }, - "displayName": ":8002", - "ipAddress": "192.168.1.1", - "portNumber": 8002 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8002", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8002" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "processName": "p-37d1761114556be465c44e2300bda03178a6189e", + "startTime": "2018-01-07T08:01:48.525Z", + "endTime": "2018-01-07T08:01:48.525Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8000", + "ipAddress": "192.168.1.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8000" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8001", + "ipAddress": "192.168.1.1", + "portNumber": 8001 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8001", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8001" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8002", + "ipAddress": "192.168.1.1", + "portNumber": 8002 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8002", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8002" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListConnectionsGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListConnectionsGet.json index 8fcbec4b9879..f59ea27a5164 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListConnectionsGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Processes/SMMachinesProcessesListConnectionsGet.json @@ -1,220 +1,224 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "processName": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "startTime": "2018-01-07T08:09:15.1682041Z", - "endTime": "2018-01-07T08:11:15.1682041Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1010b884-f743-4292-abde-30ebfd0ae560", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-1010b884-f743-4292-abde-30ebfd0ae560" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1010b884-f743-4292-abde-30ebfd0ae560/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "192.168.0.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a80001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80001_8000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-1010b884-f743-4292-abde-30ebfd0ae560@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-1010b884-f743-4292-abde-30ebfd0ae560@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!p!p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!p!p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "192.168.0.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a80001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80001_8000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "1.0.0.1", - "portNumber": 1000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-01000001_1000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-01000001_1000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-01000001_1000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-01000001_1000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-573847EE-4D31-4936-A8B2-771372806C80" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/processes/p-f107e3f1cb5d792e6abfed7832ba4e864f995cee", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f107e3f1cb5d792e6abfed7832ba4e864f995cee" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-573847EE-4D31-4936-A8B2-771372806C80" - }, - "ipAddress": "1.0.0.1", - "portNumber": 1001 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/ports/b-01000001_1001", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-01000001_1001" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-01000001_1001", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-01000001_1001" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "processName": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "startTime": "2018-01-07T08:09:15.1682041Z", + "endTime": "2018-01-07T08:11:15.1682041Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1010b884-f743-4292-abde-30ebfd0ae560", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-1010b884-f743-4292-abde-30ebfd0ae560" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1010b884-f743-4292-abde-30ebfd0ae560/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "192.168.0.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a80001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80001_8000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-1010b884-f743-4292-abde-30ebfd0ae560@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-1010b884-f743-4292-abde-30ebfd0ae560@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!p!p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!p!p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "192.168.0.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-c0a80001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80001_8000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-c0a80001_8000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "1.0.0.1", + "portNumber": 1000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-01000001_1000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-01000001_1000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-01000001_1000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-01000001_1000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-573847EE-4D31-4936-A8B2-771372806C80" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/processes/p-f107e3f1cb5d792e6abfed7832ba4e864f995cee", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f107e3f1cb5d792e6abfed7832ba4e864f995cee" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-573847EE-4D31-4936-A8B2-771372806C80" + }, + "ipAddress": "1.0.0.1", + "portNumber": 1001 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/ports/b-01000001_1001", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-01000001_1001" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-01000001_1001", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f1dd514e73cda65d9a19a977aa4a9f6959427ab0!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-01000001_1001" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetGet.json index 33181bb6f6a7..add7cd1aabc6 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "timestamp": "2018-01-07T07:01:16.1556059Z" - }, - "responses": { - "200": { - "body": { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "my machine" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "timestamp": "2018-01-07T07:01:16.1556059Z" + }, + "responses": { + "200": { + "body": { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "my machine" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetLivenessGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetLivenessGet.json index 4c2f6a7308f0..2d64f367a896 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetLivenessGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesGetLivenessGet.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "startTime": "2018-01-07T07:07:27.6026938Z", - "endTime": "2018-01-07T07:09:27.6026938Z" - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-07T07:07:27.6026938Z", - "endTime": "2018-01-07T07:09:27.6026938Z", - "live": true - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "startTime": "2018-01-07T07:07:27.6026938Z", + "endTime": "2018-01-07T07:09:27.6026938Z" + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-07T07:07:27.6026938Z", + "endTime": "2018-01-07T07:09:27.6026938Z", + "live": true + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListByWorkspaceGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListByWorkspaceGet.json index 9316f9051f93..e2db72992d3b 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListByWorkspaceGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListByWorkspaceGet.json @@ -1,1279 +1,1461 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "live": false, - "timestamp": "2018-01-05T21:36:07.009Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:36:07.009Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "0ec98f01-4f24-4a46-abfa-278571e916dc", - "dependencyAgentId": "d742e84a-e114-4b3d-b3ba-160d5cf4129b", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "cca1e83c-e0b8-454a-b39c-581ef1211c01", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "3eaa0b8c-65e4-4c9f-8cb8-d77b9bce910f", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "60bf38dd-4204-40ac-b4f6-b94065e957ea" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0ec98f01-4f24-4a46-abfa-278571e916dc", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-0ec98f01-4f24-4a46-abfa-278571e916dc" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "1e295878-4b4c-46ac-91d1-08e5fbd65361", - "dependencyAgentId": "3e285a31-7988-423b-a55b-8f5610ff0b12", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "8f19c2b2-2a98-42cf-b1bc-751fee767fc9", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "7b375bd0-69d7-4088-8211-e71c30b41f10", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "4bf527ba-20cc-4537-951d-c78664e61938" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1e295878-4b4c-46ac-91d1-08e5fbd65361", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-1e295878-4b4c-46ac-91d1-08e5fbd65361" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "6277eb91-c8de-4696-9f5e-d0658261422c", - "dependencyAgentId": "9d31bd18-720a-4ff9-8952-bdfec7872421", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "cd5943b5-d731-4389-a315-cb723fc2e125", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "45eb057c-dcd9-4a98-ba4a-1f20e89cd661", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "db085678-b544-497c-bde2-165f9ee269fa" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-6277eb91-c8de-4696-9f5e-d0658261422c", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-6277eb91-c8de-4696-9f5e-d0658261422c" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:22.372Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "8811e3c4-15db-45d3-8b76-23da80efeff3", - "dependencyAgentId": "a04d8f0b-df9a-46cb-a212-29c7576fd75d", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "79e84f1b-2172-490e-9fd4-6119d6678d95", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "f24d41a8-2f09-4f29-b2b1-65a4a7277297", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "832578ab-2d97-4412-babd-4976d3f144c2" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-8811e3c4-15db-45d3-8b76-23da80efeff3", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-8811e3c4-15db-45d3-8b76-23da80efeff3" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "55d6b873-b60c-4091-b735-0077f04c3b88", - "dependencyAgentId": "125f3f0b-1e2d-4045-a6d9-1cd12fb96b61", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "e1bf385f-b092-4a6d-abc4-d2a106fda204", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "4687fc36-e40b-4c40-bdee-5727367c0777", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "e1e97460-3f12-4511-b885-c561a1476217" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-55d6b873-b60c-4091-b735-0077f04c3b88", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-55d6b873-b60c-4091-b735-0077f04c3b88" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:22.372Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "29f030f7-d41c-4474-ad09-2271cbf18cfb", - "dependencyAgentId": "5e05f099-8ecd-44d3-8147-08088270f1c8", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "365102e6-1843-4f88-99b2-ec398c2b9ed2", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "4d912177-543c-4539-a185-3b47c52c6ca4", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "7a9dea89-0dfa-45d8-b984-a0a645c3b6a0" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-29f030f7-d41c-4474-ad09-2271cbf18cfb", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-29f030f7-d41c-4474-ad09-2271cbf18cfb" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "f39c1cbe-1d5d-4c3f-8963-26a00b57b099", - "dependencyAgentId": "aa0be2b5-5faf-43d2-a060-de7d7fe37c4b", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "623b84ba-0219-41af-b839-91acc23ec8e6", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "045ed792-6d9f-4798-94a1-9b6e32f5449a", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "e6ab7207-0446-4a61-af18-a2f2fc43ebcb" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f39c1cbe-1d5d-4c3f-8963-26a00b57b099", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f39c1cbe-1d5d-4c3f-8963-26a00b57b099" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:36:07.009Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "a57565a4-beaf-4c87-8a36-8d209d14cf9c", - "dependencyAgentId": "5471c74d-7d9d-4e18-b23f-fc523f5e0d68", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "f4d4bd5e-11ba-4971-8c5c-eb4553042b43", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "92e6c240-ba09-45ab-8bb3-bcc7b233c197", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "d5563a08-0d72-4e56-80a1-8c0d3888fa72" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-a57565a4-beaf-4c87-8a36-8d209d14cf9c", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-a57565a4-beaf-4c87-8a36-8d209d14cf9c" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "new name", - "computerName": "new name", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "92371907-1ea4-4e4b-9538-8754876c1fa3", - "dependencyAgentId": "fb8ebef9-e01a-4a00-a264-879fe4b33632", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "101bfb0e-75d1-4c5b-821e-987423463e6b", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "a241809b-50d8-4f8c-960d-75ec99cc79d9", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "d2edc020-02f5-4327-80ea-4443db018fe4" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-92371907-1ea4-4e4b-9538-8754876c1fa3", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-92371907-1ea4-4e4b-9538-8754876c1fa3" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:36:07.009Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77", - "dependencyAgentId": "f068fe75-47d9-4c76-801a-0781893c250d", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "382bfc03-ece0-48e8-88dd-0c0049b0b093", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "5fc7b841-843c-4391-b5b6-5bc7e8e25028", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "52b6a8ca-3b0c-4ebf-a1f6-fec87b5b59c7" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:22.372Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "dcdbd51d-e423-4667-bce3-c1f78f0bec83", - "dependencyAgentId": "901407a9-0047-4b2d-8190-e546189fa1c8", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "e4e28557-bb79-4add-bd9a-adc4b1856aae", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "bd88f6a9-ead8-414a-a91c-a47fbeddb3d5", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "a344f76b-98d7-4d83-8a11-7ef9b04c6563" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-dcdbd51d-e423-4667-bce3-c1f78f0bec83", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-dcdbd51d-e423-4667-bce3-c1f78f0bec83" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "10cb867d-1b73-4b39-a9cf-31cdd2b00dab", - "dependencyAgentId": "e837d606-09ae-41fc-bc9a-5e8407d88942", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "3d8e1902-1875-428c-98d3-6fb02c96af47", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "594fd238-0d97-444b-a8fd-2e5087e3e97c", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "a6efc921-6c5e-4455-a83e-409a380d800f" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-10cb867d-1b73-4b39-a9cf-31cdd2b00dab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-10cb867d-1b73-4b39-a9cf-31cdd2b00dab" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "virtual", - "displayName": "name1", - "computerName": "name1", - "fullyQualifiedDomainName": "name1.foo.com", - "bootTime": "2018-01-05T21:30:47.913Z", - "timezone": { - "fullName": "some zone" - }, - "agent": { - "agentId": "e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef", - "dependencyAgentId": "07a0ba0f-90c3-4d9b-a1bf-d1cf636eeb80", - "dependencyAgentVersion": "2.2.2.2", - "dependencyAgentRevision": "1234", - "rebootStatus": "rebooted", - "clockGranularity": 1 - }, - "resources": { - "physicalMemory": 4096, - "cpus": 2, - "cpuSpeed": 2000, - "cpuSpeedAccuracy": "actual" - }, - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "1.1.1.1", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.3", - "subnetMask": "255.255.255.0" - }, { - "ipAddress": "1.1.1.4", - "subnetMask": "255.255.255.0" - } - ], - "ipv6Interfaces": [{ - "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" - } - ], - "defaultIpv4Gateways": ["1.1.1.254", "1.1.1.255"], - "macAddresses": ["64:00:6A:65:E4:71"], - "dnsNames": ["name1", "name2", "name3"] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Microsoft Windows [Version 10.0.10586]", - "bitness": "64bit" - }, - "virtualMachine": { - "virtualMachineType": "hyperv", - "nativeMachineId": "vm-id", - "virtualMachineName": "vm-name-1", - "nativeHostMachineId": "physical-machine-id" - }, - "hosting": { - "kind": "provider:azure", - "vmId": "12345", - "location": "Earth", - "name": "AHostedVm", - "size": "SuperBig", - "updateDomain": "1", - "faultDomain": "1", - "subscriptionId": "123123", - "resourceGroup": "myResourceGroup", - "resourceId": "TestResourceId", - "image": { - "publisher": "AnImagePublisher", - "offering": "SuperFast", - "sku": "10101010", - "version": "1.0" - }, - "cloudService": { - "name": "MyCloudService", - "instanceId": "Instance#1", - "deployment": "72932bbb-6c12-4f06-8622-f11942aede02", - "roleName": "MyRoleName", - "roleType": "web" - }, - "vmScaleSet": { - "name": "MyVMSS", - "instanceId": "VmmssInstance#1", - "deployment": "4ae328aa-2638-4f60-9dbe-0384b2a33b3d", - "resourceId": "TestResourceId" - }, - "serviceFabricCluster": { - "name": "MyClusterName", - "clusterId": "6cbe41c5-4034-4376-b90d-4edbfc9d9375" - }, - "provider": "azure" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef" - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "live": false, + "timestamp": "2018-01-05T21:36:07.009Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:36:07.009Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "0ec98f01-4f24-4a46-abfa-278571e916dc", + "dependencyAgentId": "d742e84a-e114-4b3d-b3ba-160d5cf4129b", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "cca1e83c-e0b8-454a-b39c-581ef1211c01", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "3eaa0b8c-65e4-4c9f-8cb8-d77b9bce910f", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "60bf38dd-4204-40ac-b4f6-b94065e957ea" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-0ec98f01-4f24-4a46-abfa-278571e916dc", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-0ec98f01-4f24-4a46-abfa-278571e916dc" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "1e295878-4b4c-46ac-91d1-08e5fbd65361", + "dependencyAgentId": "3e285a31-7988-423b-a55b-8f5610ff0b12", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "8f19c2b2-2a98-42cf-b1bc-751fee767fc9", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "7b375bd0-69d7-4088-8211-e71c30b41f10", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "4bf527ba-20cc-4537-951d-c78664e61938" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1e295878-4b4c-46ac-91d1-08e5fbd65361", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-1e295878-4b4c-46ac-91d1-08e5fbd65361" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "6277eb91-c8de-4696-9f5e-d0658261422c", + "dependencyAgentId": "9d31bd18-720a-4ff9-8952-bdfec7872421", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "cd5943b5-d731-4389-a315-cb723fc2e125", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "45eb057c-dcd9-4a98-ba4a-1f20e89cd661", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "db085678-b544-497c-bde2-165f9ee269fa" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-6277eb91-c8de-4696-9f5e-d0658261422c", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-6277eb91-c8de-4696-9f5e-d0658261422c" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:22.372Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "8811e3c4-15db-45d3-8b76-23da80efeff3", + "dependencyAgentId": "a04d8f0b-df9a-46cb-a212-29c7576fd75d", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "79e84f1b-2172-490e-9fd4-6119d6678d95", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "f24d41a8-2f09-4f29-b2b1-65a4a7277297", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "832578ab-2d97-4412-babd-4976d3f144c2" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-8811e3c4-15db-45d3-8b76-23da80efeff3", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-8811e3c4-15db-45d3-8b76-23da80efeff3" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "55d6b873-b60c-4091-b735-0077f04c3b88", + "dependencyAgentId": "125f3f0b-1e2d-4045-a6d9-1cd12fb96b61", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "e1bf385f-b092-4a6d-abc4-d2a106fda204", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "4687fc36-e40b-4c40-bdee-5727367c0777", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "e1e97460-3f12-4511-b885-c561a1476217" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-55d6b873-b60c-4091-b735-0077f04c3b88", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-55d6b873-b60c-4091-b735-0077f04c3b88" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:22.372Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "29f030f7-d41c-4474-ad09-2271cbf18cfb", + "dependencyAgentId": "5e05f099-8ecd-44d3-8147-08088270f1c8", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "365102e6-1843-4f88-99b2-ec398c2b9ed2", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "4d912177-543c-4539-a185-3b47c52c6ca4", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "7a9dea89-0dfa-45d8-b984-a0a645c3b6a0" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-29f030f7-d41c-4474-ad09-2271cbf18cfb", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-29f030f7-d41c-4474-ad09-2271cbf18cfb" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "f39c1cbe-1d5d-4c3f-8963-26a00b57b099", + "dependencyAgentId": "aa0be2b5-5faf-43d2-a060-de7d7fe37c4b", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "623b84ba-0219-41af-b839-91acc23ec8e6", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "045ed792-6d9f-4798-94a1-9b6e32f5449a", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "e6ab7207-0446-4a61-af18-a2f2fc43ebcb" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f39c1cbe-1d5d-4c3f-8963-26a00b57b099", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f39c1cbe-1d5d-4c3f-8963-26a00b57b099" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:36:07.009Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "a57565a4-beaf-4c87-8a36-8d209d14cf9c", + "dependencyAgentId": "5471c74d-7d9d-4e18-b23f-fc523f5e0d68", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "f4d4bd5e-11ba-4971-8c5c-eb4553042b43", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "92e6c240-ba09-45ab-8bb3-bcc7b233c197", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "d5563a08-0d72-4e56-80a1-8c0d3888fa72" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-a57565a4-beaf-4c87-8a36-8d209d14cf9c", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-a57565a4-beaf-4c87-8a36-8d209d14cf9c" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "new name", + "computerName": "new name", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "92371907-1ea4-4e4b-9538-8754876c1fa3", + "dependencyAgentId": "fb8ebef9-e01a-4a00-a264-879fe4b33632", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "101bfb0e-75d1-4c5b-821e-987423463e6b", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "a241809b-50d8-4f8c-960d-75ec99cc79d9", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "d2edc020-02f5-4327-80ea-4443db018fe4" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-92371907-1ea4-4e4b-9538-8754876c1fa3", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-92371907-1ea4-4e4b-9538-8754876c1fa3" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:36:07.009Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77", + "dependencyAgentId": "f068fe75-47d9-4c76-801a-0781893c250d", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "382bfc03-ece0-48e8-88dd-0c0049b0b093", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "5fc7b841-843c-4391-b5b6-5bc7e8e25028", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "52b6a8ca-3b0c-4ebf-a1f6-fec87b5b59c7" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-fb7d798d-ecbc-4cf8-9ad6-d6dde35cdb77" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:22.372Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "dcdbd51d-e423-4667-bce3-c1f78f0bec83", + "dependencyAgentId": "901407a9-0047-4b2d-8190-e546189fa1c8", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "e4e28557-bb79-4add-bd9a-adc4b1856aae", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "bd88f6a9-ead8-414a-a91c-a47fbeddb3d5", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "a344f76b-98d7-4d83-8a11-7ef9b04c6563" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-dcdbd51d-e423-4667-bce3-c1f78f0bec83", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-dcdbd51d-e423-4667-bce3-c1f78f0bec83" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "10cb867d-1b73-4b39-a9cf-31cdd2b00dab", + "dependencyAgentId": "e837d606-09ae-41fc-bc9a-5e8407d88942", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "3d8e1902-1875-428c-98d3-6fb02c96af47", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "594fd238-0d97-444b-a8fd-2e5087e3e97c", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "a6efc921-6c5e-4455-a83e-409a380d800f" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-10cb867d-1b73-4b39-a9cf-31cdd2b00dab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-10cb867d-1b73-4b39-a9cf-31cdd2b00dab" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "virtual", + "displayName": "name1", + "computerName": "name1", + "fullyQualifiedDomainName": "name1.foo.com", + "bootTime": "2018-01-05T21:30:47.913Z", + "timezone": { + "fullName": "some zone" + }, + "agent": { + "agentId": "e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef", + "dependencyAgentId": "07a0ba0f-90c3-4d9b-a1bf-d1cf636eeb80", + "dependencyAgentVersion": "2.2.2.2", + "dependencyAgentRevision": "1234", + "rebootStatus": "rebooted", + "clockGranularity": 1 + }, + "resources": { + "physicalMemory": 4096, + "cpus": 2, + "cpuSpeed": 2000, + "cpuSpeedAccuracy": "actual" + }, + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "1.1.1.1", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.3", + "subnetMask": "255.255.255.0" + }, + { + "ipAddress": "1.1.1.4", + "subnetMask": "255.255.255.0" + } + ], + "ipv6Interfaces": [ + { + "ipAddress": "2602:30a:2cb8:4830:414f:a76e:59e4:4fa7" + } + ], + "defaultIpv4Gateways": [ + "1.1.1.254", + "1.1.1.255" + ], + "macAddresses": [ + "64:00:6A:65:E4:71" + ], + "dnsNames": [ + "name1", + "name2", + "name3" + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Microsoft Windows [Version 10.0.10586]", + "bitness": "64bit" + }, + "virtualMachine": { + "virtualMachineType": "hyperv", + "nativeMachineId": "vm-id", + "virtualMachineName": "vm-name-1", + "nativeHostMachineId": "physical-machine-id" + }, + "hosting": { + "kind": "provider:azure", + "vmId": "12345", + "location": "Earth", + "name": "AHostedVm", + "size": "SuperBig", + "updateDomain": "1", + "faultDomain": "1", + "subscriptionId": "123123", + "resourceGroup": "myResourceGroup", + "resourceId": "TestResourceId", + "image": { + "publisher": "AnImagePublisher", + "offering": "SuperFast", + "sku": "10101010", + "version": "1.0" + }, + "cloudService": { + "name": "MyCloudService", + "instanceId": "Instance#1", + "deployment": "72932bbb-6c12-4f06-8622-f11942aede02", + "roleName": "MyRoleName", + "roleType": "web" + }, + "vmScaleSet": { + "name": "MyVMSS", + "instanceId": "VmmssInstance#1", + "deployment": "4ae328aa-2638-4f60-9dbe-0384b2a33b3d", + "resourceId": "TestResourceId" + }, + "serviceFabricCluster": { + "name": "MyClusterName", + "clusterId": "6cbe41c5-4034-4376-b90d-4edbfc9d9375" + }, + "provider": "azure" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-e6ad2c87-c7e9-4663-bca2-ec5fd1e2d3ef" + } + ] + } + } + } +} diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListConnectionsGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListConnectionsGet.json index cb9171160b2a..4c7df0ce9b02 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListConnectionsGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/SMMachinesListConnectionsGet.json @@ -1,271 +1,276 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "startTime": "2018-01-07T07:31:38.4041029Z", - "endTime": "2018-01-07T07:31:38.4041029Z" - }, - "responses": { - "200": { - "body": { - "value": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123/processes/p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f107e3f1cb5d792e6abfed7832ba4e864f995cee", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-f107e3f1cb5d792e6abfed7832ba4e864f995cee" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "1.0.0.1", - "portNumber": 9000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_9000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-01000001_9000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "1.0.0.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-01000001_8000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-08445135a7215e343f0f49b8d0b70c3b853ef87f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-08445135a7215e343f0f49b8d0b70c3b853ef87f" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "2.0.0.1", - "portNumber": 1001 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-02000001_1001", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-02000001_1001" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-573847EE-4D31-4936-A8B2-771372806C80" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/processes/p-daedaa0e25869b6cf36525d51c2d321335e69f71", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-daedaa0e25869b6cf36525d51c2d321335e69f71" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-573847EE-4D31-4936-A8B2-771372806C80" - }, - "ipAddress": "2.0.0.2", - "portNumber": 1002 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/ports/b-02000002_1002", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-02000002_1002" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "ipAddress": "1.0.0.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-01000001_8000" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000" - } - ] - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "machineName": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "startTime": "2018-01-07T07:31:38.4041029Z", + "endTime": "2018-01-07T07:31:38.4041029Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123/processes/p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-f107e3f1cb5d792e6abfed7832ba4e864f995cee", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-f107e3f1cb5d792e6abfed7832ba4e864f995cee" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "1.0.0.1", + "portNumber": 9000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_9000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-01000001_9000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-00377B1B-7F4D-4EF8-8E1B-5B683DA02123@p@p-1a9dc431ad6048d83dade29fb72dfd9fbe2ee2b4!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-f107e3f1cb5d792e6abfed7832ba4e864f995cee!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_9000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-A4AB1C69-03E9-42D2-B822-B42555569FB4!b!b-01000001_8000" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "1.0.0.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-01000001_8000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-08445135a7215e343f0f49b8d0b70c3b853ef87f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-08445135a7215e343f0f49b8d0b70c3b853ef87f" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "2.0.0.1", + "portNumber": 1001 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-02000001_1001", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-02000001_1001" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-08445135a7215e343f0f49b8d0b70c3b853ef87f!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-02000001_1001" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-573847EE-4D31-4936-A8B2-771372806C80" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/processes/p-daedaa0e25869b6cf36525d51c2d321335e69f71", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-daedaa0e25869b6cf36525d51c2d321335e69f71" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-573847EE-4D31-4936-A8B2-771372806C80" + }, + "ipAddress": "2.0.0.2", + "portNumber": 1002 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-573847EE-4D31-4936-A8B2-771372806C80/ports/b-02000002_1002", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-02000002_1002" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-573847EE-4D31-4936-A8B2-771372806C80@p@p-daedaa0e25869b6cf36525d51c2d321335e69f71!m@m-573847EE-4D31-4936-A8B2-771372806C80@b@b-02000002_1002" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "ipAddress": "1.0.0.1", + "portNumber": 8000 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/ports/b-01000001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-01000001_8000" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@b@b-01000001_8000" + } + ] + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineGroupDependencyPost.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineGroupDependencyPost.json index f50414e23e74..006920351228 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineGroupDependencyPost.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineGroupDependencyPost.json @@ -1,660 +1,688 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "request": { - "kind": "map:machine-group-dependency", - "machineGroupId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/b90f6d8f-a9b9-4ac6-abeb-abd8fe10a6dc", - "filterProcesses": false, - "startTime": "2018-01-08T20:00:51.325Z", - "endTime": "2018-01-08T20:01:06.325Z" - } - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-08T20:00:51.325Z", - "endTime": "2018-01-08T20:01:06.325Z", - "map": { - "nodes": { - "machines": [{ - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.1", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.1", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "linux", - "fullName": "Ubuntu Server Linux 10.4.53", - "bitness": "64bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.2", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.2", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Windows 7", - "bitness": "32bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.3", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.3", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Windows Server 2012 SP2", - "bitness": "64bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - }, { - "kind": "machine", - "properties": { - "monitoringState": "discovered", - "virtualizationState": "unknown", - "displayName": "unmonitored.server.com", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "10.10.10.10", - "subnetMask": "255.255.255.255" - } - ], - "dnsNames": ["unmonitored.server.com"] - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - ], - "processes": [{ - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "executableName": "httpd", - "displayName": "Apache HTTP Server", - "role": "webServer", - "group": "Apache HTTP Server" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, { - "kind": "process", - "properties": { - "monitoringState": "discovered", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "displayName": "Port 8880", - "role": "appServer", - "acceptorOf": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - ], - "ports": [{ - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "displayName": ":90", - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - }, - "displayName": ":80", - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, { - "kind": "port", - "properties": { - "monitoringState": "discovered", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "displayName": ":8880", - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - } - ], - "clientGroups": [{ - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, { - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9" - } - ] - }, - "edges": { - "connections": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d3641418-6ac8-4024-8074-48f6d9db9825@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-d3641418-6ac8-4024-8074-48f6d9db9825@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - }, - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - ], - "acceptors": [{ - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - }, - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, { - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880" - }, { - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9" - } - ] - } - } - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "request": { + "kind": "map:machine-group-dependency", + "machineGroupId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machineGroups/b90f6d8f-a9b9-4ac6-abeb-abd8fe10a6dc", + "filterProcesses": false, + "startTime": "2018-01-08T20:00:51.325Z", + "endTime": "2018-01-08T20:01:06.325Z" + } + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-08T20:00:51.325Z", + "endTime": "2018-01-08T20:01:06.325Z", + "map": { + "nodes": { + "machines": [ + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.1", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.1", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "linux", + "fullName": "Ubuntu Server Linux 10.4.53", + "bitness": "64bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.2", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.2", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Windows 7", + "bitness": "32bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.3", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.3", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Windows Server 2012 SP2", + "bitness": "64bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "discovered", + "virtualizationState": "unknown", + "displayName": "unmonitored.server.com", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "10.10.10.10", + "subnetMask": "255.255.255.255" + } + ], + "dnsNames": [ + "unmonitored.server.com" + ] + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + ], + "processes": [ + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "executableName": "httpd", + "displayName": "Apache HTTP Server", + "role": "webServer", + "group": "Apache HTTP Server" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + { + "kind": "process", + "properties": { + "monitoringState": "discovered", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "displayName": "Port 8880", + "role": "appServer", + "acceptorOf": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + ], + "ports": [ + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "displayName": ":90", + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + }, + "displayName": ":80", + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + { + "kind": "port", + "properties": { + "monitoringState": "discovered", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "displayName": ":8880", + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + } + ], + "clientGroups": [ + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9" + } + ] + }, + "edges": { + "connections": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d3641418-6ac8-4024-8074-48f6d9db9825" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d3641418-6ac8-4024-8074-48f6d9db9825/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d3641418-6ac8-4024-8074-48f6d9db9825@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-d3641418-6ac8-4024-8074-48f6d9db9825@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-f16c3a13-c1b4-453b-bff1-4607d18436ab!p!p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + }, + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + ], + "acceptors": [ + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + }, + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-80cf74cb-2828-42be-8eb1-d78fe35c662b" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-80cf74cb-2828-42be-8eb1-d78fe35c662b/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@b@b-c0a80003_80!m@m-80cf74cb-2828-42be-8eb1-d78fe35c662b@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880" + }, + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-f16c3a13-c1b4-453b-bff1-4607d18436ab" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-f16c3a13-c1b4-453b-bff1-4607d18436ab/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@b@b-c0a80002_90!m@m-f16c3a13-c1b4-453b-bff1-4607d18436ab@p@p-a53c0b2e1e6b779729257570076303b32b13add9" + } + ] + } + } + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineListDependencyPost.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineListDependencyPost.json index 9af2aeb6708c..c2f5063f40f3 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineListDependencyPost.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateMachineListDependencyPost.json @@ -1,663 +1,691 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "request": { - "kind": "map:machine-list-dependency", - "machineIds": [ - "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b" - ], - "filterProcesses": false, - "startTime": "2018-01-08T20:07:49.78Z", - "endTime": "2018-01-08T20:08:04.78Z" - } - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-08T20:07:49.78Z", - "endTime": "2018-01-08T20:08:04.78Z", - "map": { - "nodes": { - "machines": [{ - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.1", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.1", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "linux", - "fullName": "Ubuntu Server Linux 10.4.53", - "bitness": "64bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.2", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.2", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Windows 7", - "bitness": "32bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "192.168.0.3", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "192.168.0.3", - "subnetMask": "255.255.255.255" - } - ] - }, - "operatingSystem": { - "family": "windows", - "fullName": "Windows Server 2012 SP2", - "bitness": "64bit" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - }, { - "kind": "machine", - "properties": { - "monitoringState": "discovered", - "virtualizationState": "unknown", - "displayName": "unmonitored.server.com", - "networking": { - "ipv4Interfaces": [{ - "ipAddress": "10.10.10.10", - "subnetMask": "255.255.255.255" - } - ], - "dnsNames": ["unmonitored.server.com"] - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - ], - "processes": [{ - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "executableName": "httpd", - "displayName": "Apache HTTP Server", - "role": "webServer", - "group": "Apache HTTP Server" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, { - "kind": "process", - "properties": { - "monitoringState": "discovered", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "displayName": "Port 8880", - "role": "appServer", - "acceptorOf": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - ], - "ports": [{ - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "displayName": ":90", - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - }, - "displayName": ":80", - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, { - "kind": "port", - "properties": { - "monitoringState": "discovered", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "displayName": ":8880", - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - } - ], - "clientGroups": [{ - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, { - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9" - } - ] - }, - "edges": { - "connections": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-52d4f2f9-e684-4003-a774-9cf99898861b@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-52d4f2f9-e684-4003-a774-9cf99898861b@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - }, - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - ], - "acceptors": [{ - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - }, - "ipAddress": "192.168.0.3", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80003_80" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6" - }, { - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - }, - "ipAddress": "10.10.10.10", - "portNumber": 8880 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-0a0a0a0a_8880" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "t-0a0a0a0a" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880" - }, { - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - }, - "ipAddress": "192.168.0.2", - "portNumber": 90 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80002_90" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9" - } - ] - } - } - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "request": { + "kind": "map:machine-list-dependency", + "machineIds": [ + "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b" + ], + "filterProcesses": false, + "startTime": "2018-01-08T20:07:49.78Z", + "endTime": "2018-01-08T20:08:04.78Z" + } + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-08T20:07:49.78Z", + "endTime": "2018-01-08T20:08:04.78Z", + "map": { + "nodes": { + "machines": [ + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.1", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.1", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "linux", + "fullName": "Ubuntu Server Linux 10.4.53", + "bitness": "64bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.2", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.2", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Windows 7", + "bitness": "32bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "192.168.0.3", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "192.168.0.3", + "subnetMask": "255.255.255.255" + } + ] + }, + "operatingSystem": { + "family": "windows", + "fullName": "Windows Server 2012 SP2", + "bitness": "64bit" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "discovered", + "virtualizationState": "unknown", + "displayName": "unmonitored.server.com", + "networking": { + "ipv4Interfaces": [ + { + "ipAddress": "10.10.10.10", + "subnetMask": "255.255.255.255" + } + ], + "dnsNames": [ + "unmonitored.server.com" + ] + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + ], + "processes": [ + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "executableName": "httpd", + "displayName": "Apache HTTP Server", + "role": "webServer", + "group": "Apache HTTP Server" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + { + "kind": "process", + "properties": { + "monitoringState": "discovered", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "displayName": "Port 8880", + "role": "appServer", + "acceptorOf": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + ], + "ports": [ + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "displayName": ":90", + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + }, + "displayName": ":80", + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + { + "kind": "port", + "properties": { + "monitoringState": "discovered", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "displayName": ":8880", + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + } + ], + "clientGroups": [ + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9" + } + ] + }, + "edges": { + "connections": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-52d4f2f9-e684-4003-a774-9cf99898861b" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-52d4f2f9-e684-4003-a774-9cf99898861b/processes/p-e12c75e851c715e7e5ee7e889d858cfc3661e91f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-e12c75e851c715e7e5ee7e889d858cfc3661e91f" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-52d4f2f9-e684-4003-a774-9cf99898861b@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-52d4f2f9-e684-4003-a774-9cf99898861b@p@p-e12c75e851c715e7e5ee7e889d858cfc3661e91f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f!p!p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + }, + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-508565aaf451d5e1e8dbf579493139cd50facb26", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-508565aaf451d5e1e8dbf579493139cd50facb26" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-508565aaf451d5e1e8dbf579493139cd50facb26!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880!m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + ], + "acceptors": [ + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + }, + "ipAddress": "192.168.0.3", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/ports/b-c0a80003_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80003_80" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-ca3ca15a-6fa3-4776-993b-28f95821cc44" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-ca3ca15a-6fa3-4776-993b-28f95821cc44/processes/p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@b@b-c0a80003_80!m@m-ca3ca15a-6fa3-4776-993b-28f95821cc44@p@p-d6e3705d92e552df838f6fe13c72153923fbf3c6" + }, + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + }, + "ipAddress": "10.10.10.10", + "portNumber": 8880 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/ports/b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-0a0a0a0a_8880" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "t-0a0a0a0a" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/t-0a0a0a0a/processes/ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "ts-m@t-0a0a0a0a@b@b-0a0a0a0a_8880" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@t-0a0a0a0a@b@b-0a0a0a0a_8880!m@t-0a0a0a0a@p@ts-m@@t-0a0a0a0a@@b@@b-0a0a0a0a_8880" + }, + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + }, + "ipAddress": "192.168.0.2", + "portNumber": 90 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/ports/b-c0a80002_90", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80002_90" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f/processes/p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-a53c0b2e1e6b779729257570076303b32b13add9" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@b@b-c0a80002_90!m@m-d60cf4c2-047a-408e-a5ff-cf3d77928c9f@p@p-a53c0b2e1e6b779729257570076303b32b13add9" + } + ] + } + } + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateSingleMachineDependencyPost.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateSingleMachineDependencyPost.json index 5efa246b32f4..2e0f92444bee 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateSingleMachineDependencyPost.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Maps/SMMapsGenerateSingleMachineDependencyPost.json @@ -1,318 +1,329 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "request": { - "kind": "map:single-machine-dependency", - "machineId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "startTime": "2018-01-08T19:50:39.0192315Z", - "endTime": "2018-01-08T19:52:39.0192315Z" - } - }, - "responses": { - "200": { - "body": { - "startTime": "2018-01-08T19:50:39.0192315Z", - "endTime": "2018-01-08T19:52:39.0192315Z", - "map": { - "nodes": { - "machines": [{ - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, { - "kind": "machine", - "properties": { - "monitoringState": "monitored", - "virtualizationState": "unknown", - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - ], - "processes": [{ - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, { - "kind": "process", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "displayName": "???" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - } - ], - "ports": [{ - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "displayName": ":80", - "ipAddress": "192.168.1.1", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_80" - } - ], - "clientGroups": [{ - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249" - }, { - "kind": "clientGroup", - "properties": { - "clientsOf": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - ] - }, - "edges": { - "connections": [{ - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "192.168.1.1", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_80" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "192.168.1.1", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_80" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" - }, { - "kind": "rel:connection", - "properties": { - "source": { - "kind": "ref:clientgroup", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", - "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - }, - "serverPort": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "192.168.1.1", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_80" - }, - "failureState": "ok" - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/connections", - "name": "c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" - } - ], - "acceptors": [{ - "kind": "rel:acceptor", - "properties": { - "source": { - "kind": "ref:port", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - }, - "ipAddress": "192.168.1.1", - "portNumber": 80 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_80" - }, - "destination": { - "kind": "ref:process", - "properties": { - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", - "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249", - "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", - "name": "m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249" - } - ] - } - } - } - } - } + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "request": { + "kind": "map:single-machine-dependency", + "machineId": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "startTime": "2018-01-08T19:50:39.0192315Z", + "endTime": "2018-01-08T19:52:39.0192315Z" + } + }, + "responses": { + "200": { + "body": { + "startTime": "2018-01-08T19:50:39.0192315Z", + "endTime": "2018-01-08T19:52:39.0192315Z", + "map": { + "nodes": { + "machines": [ + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + { + "kind": "machine", + "properties": { + "monitoringState": "monitored", + "virtualizationState": "unknown", + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + ], + "processes": [ + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + { + "kind": "process", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "displayName": "???" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + } + ], + "ports": [ + { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "displayName": ":80", + "ipAddress": "192.168.1.1", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_80" + } + ], + "clientGroups": [ + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + { + "kind": "clientGroup", + "properties": { + "clientsOf": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + ] + }, + "edges": { + "connections": [ + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-A4AB1C69-03E9-42D2-B822-B42555569FB4" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-A4AB1C69-03E9-42D2-B822-B42555569FB4/processes/p-d642fef420c5baa4c72f53de9426f1ed699899e2", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-d642fef420c5baa4c72f53de9426f1ed699899e2" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "192.168.1.1", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_80" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "m@m-A4AB1C69-03E9-42D2-B822-B42555569FB4@p@p-d642fef420c5baa4c72f53de9426f1ed699899e2!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!p!p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "192.168.1.1", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_80" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" + }, + { + "kind": "rel:connection", + "properties": { + "source": { + "kind": "ref:clientgroup", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/clientGroups/m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/clientGroups", + "name": "m!m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + }, + "serverPort": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "192.168.1.1", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_80" + }, + "failureState": "ok" + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/connections/c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/connections", + "name": "c@m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80" + } + ], + "acceptors": [ + { + "kind": "rel:acceptor", + "properties": { + "source": { + "kind": "ref:port", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + }, + "ipAddress": "192.168.1.1", + "portNumber": 80 + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/ports/b-c0a80101_80", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_80" + }, + "destination": { + "kind": "ref:process", + "properties": { + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B/processes/p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/processes", + "name": "p-68cf5e3251379179122fa88e761e2acd5577c249" + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/acceptors/m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249", + "type": "Microsoft.OperationalInsights/workspaces/features/acceptors", + "name": "m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@b@b-c0a80101_80!m@m-21E1AC11-8AFF-4D2D-8A1F-72FEDA473F7B@p@p-68cf5e3251379179122fa88e761e2acd5577c249" + } + ] + } + } + } + } + } } diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Summaries/SMSummariesGetMachinesGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Summaries/SMSummariesGetMachinesGet.json index ce7e8f3a57f7..93457467d979 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Summaries/SMSummariesGetMachinesGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Summaries/SMSummariesGetMachinesGet.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", - "resourceGroupName": "rg-sm", - "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", - "api-version": "2016-08-02", - "startTime": "2018-01-08T19:41:59.3360000Z", - "endTime": "2018-01-08T19:42:14.3360000Z" - }, - "responses": { - "200": { - "body": { - "properties": { - "startTime": "2018-01-08T19:41:59.336Z", - "endTime": "2018-01-08T19:42:14.336Z", - "total": 3, - "live": 3, - "os": { - "windows": 2, - "linux": 1 - } - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/summaries/machines", - "type": "Microsoft.OperationalInsights/workspaces/features/summaries", - "name": "machines" - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "63BE4E24-FDF0-4E9C-9342-6A5D5A359722", + "resourceGroupName": "rg-sm", + "workspaceName": "D6F79F14-E563-469B-84B5-9286D2803B2F", + "api-version": "2016-08-02", + "startTime": "2018-01-08T19:41:59.3360000Z", + "endTime": "2018-01-08T19:42:14.3360000Z" + }, + "responses": { + "200": { + "body": { + "properties": { + "startTime": "2018-01-08T19:41:59.336Z", + "endTime": "2018-01-08T19:42:14.336Z", + "total": 3, + "live": 3, + "os": { + "windows": 2, + "linux": 1 + } + }, + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/summaries/machines", + "type": "Microsoft.OperationalInsights/workspaces/features/summaries", + "name": "machines" + } + } + } +} From f3836fccf7eafd61649f08fe9d48169c314cc875 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:01:03 -0400 Subject: [PATCH 086/495] chore: jsonfmt servicefabricmesh (#6254) Ran `jsonfmt -w "specification/servicefabricmesh/**/*.json"` --- .../examples/ApplicationCreateOrUpdate.json | 146 +++---- .../examples/ApplicationDelete.json | 24 +- .../examples/ApplicationGet.json | 48 +-- .../examples/ApplicationsByResourceGroup.json | 86 ++-- .../ApplicationsBySubscriptionId.json | 2 +- .../examples/NetworkCreateOrUpdate.json | 116 +++--- .../examples/NetworkDelete.json | 24 +- .../examples/NetworkGet.json | 60 +-- .../examples/NetworksByResourceGroup.json | 110 ++--- .../examples/NetworksBySubscriptionId.json | 108 ++--- .../examples/ReplicaGet.json | 198 ++++----- .../examples/ReplicasGetAll.json | 378 +++++++++--------- .../examples/ServiceGet.json | 98 ++--- .../examples/ServiceList.json | 6 +- .../examples/VolumeCreate.json | 96 ++--- .../examples/VolumeDelete.json | 24 +- .../examples/VolumeGet.json | 46 +-- .../examples/VolumesByResourceGroup.json | 82 ++-- .../examples/VolumesBySubscriptionId.json | 80 ++-- .../2018-07-01-preview/servicefabricmesh.json | 2 +- .../examples/applications/create_update.json | 2 +- .../examples/applications/delete.json | 2 +- .../examples/applications/get.json | 2 +- .../applications/list_byResourceGroup.json | 2 +- .../applications/list_bySubscriptionId.json | 2 +- .../examples/applications/services/get.json | 2 +- .../examples/applications/services/list.json | 2 +- .../applications/services/replicas/get.json | 2 +- .../applications/services/replicas/list.json | 2 +- .../examples/gateways/create_update.json | 2 +- .../examples/gateways/delete.json | 2 +- .../examples/gateways/get.json | 2 +- .../gateways/list_byResourceGroup.json | 2 +- .../examples/networks/create_update.json | 2 +- .../examples/networks/delete.json | 2 +- .../examples/networks/get.json | 2 +- .../networks/list_byResourceGroup.json | 2 +- .../networks/list_bySubscriptionId.json | 2 +- .../examples/secrets/create_update.json | 2 +- .../examples/secrets/get.json | 2 +- .../secrets/list_byResourceGroup.json | 2 +- .../secrets/list_bySubscriptionId.json | 2 +- .../examples/secrets/values/create.json | 2 +- .../examples/secrets/values/delete.json | 2 +- .../examples/secrets/values/get.json | 2 +- .../examples/secrets/values/list.json | 2 +- .../examples/secrets/values/list_value.json | 2 +- .../examples/volumes/delete.json | 2 +- .../2018-09-01-preview/servicefabricmesh.json | 2 +- 49 files changed, 895 insertions(+), 897 deletions(-) diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationCreateOrUpdate.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationCreateOrUpdate.json index 3e33d3bf56f1..02701a496177 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationCreateOrUpdate.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationCreateOrUpdate.json @@ -1,83 +1,83 @@ { - "operationId":"Application_Create", - "description":"This example shows how to create or update an application resource.", + "operationId": "Application_Create", + "description": "This example shows how to create or update an application resource.", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "applicationName": "helloWorldApp", - "applicationResourceDescription": { - "properties": { - "description": "SeaBreeze HelloWorld Application!", - "services": [ - { - "properties": { - "osType": "linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "applicationName": "helloWorldApp", + "applicationResourceDescription": { + "properties": { + "description": "SeaBreeze HelloWorld Application!", + "services": [ + { + "properties": { + "osType": "linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 } } - ], - "description": "SeaBreeze Hello World Service.", - "replicaCount": 1 - }, - "name": "helloWorldService" - } - ] - }, + } + ], + "description": "SeaBreeze Hello World Service.", + "replicaCount": 1 + }, + "name": "helloWorldService" + } + ] + }, + "tags": {}, + "location": "EastUS" + } + }, + "responses": { + "201": { + "body": { + "type": "Microsoft.ServiceFabricMesh/applications", + "location": "EastUS", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/myHelloWorldApp", + "name": "myHelloWorldApp", "tags": {}, - "location": "EastUS" + "properties": { + "provisioningState": "Updating", + "description": "SeaBreeze HelloWorld Application!", + "healthState": "Ok", + "serviceNames": [ + "helloWorldService" + ], + "status": "Invalid" + } } }, - "responses": { - "201": { - "body": { - "type": "Microsoft.ServiceFabricMesh/applications", - "location": "EastUS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/myHelloWorldApp", - "name": "myHelloWorldApp", - "tags": {}, - "properties": { - "provisioningState": "Updating", - "description": "SeaBreeze HelloWorld Application!", - "healthState": "Ok", - "serviceNames": [ - "helloWorldService" - ], - "status": "Invalid" - } - } - }, - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/applications", - "location": "EastUS", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/myHelloWorldApp", - "name": "myHelloWorldApp", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "SeaBreeze HelloWorld Application!", - "healthState": "Ok", - "serviceNames": [ - "helloWorldService" - ], - "status": "Invalid" - } + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/applications", + "location": "EastUS", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/myHelloWorldApp", + "name": "myHelloWorldApp", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "SeaBreeze HelloWorld Application!", + "healthState": "Ok", + "serviceNames": [ + "helloWorldService" + ], + "status": "Invalid" } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationDelete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationDelete.json index 70d385aabeb3..0d6ce83139b0 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationDelete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationDelete.json @@ -1,16 +1,14 @@ { - "operationId":"Application_Delete", - "description":"This example shows how to delete an existing application resource. If the application resource exists and is deleted successfully, an empty response with 200 status code is returned. If the application resource does not exit, an empty response with 204 status code is returned.", + "operationId": "Application_Delete", + "description": "This example shows how to delete an existing application resource. If the application resource exists and is deleted successfully, an empty response with 200 status code is returned. If the application resource does not exit, an empty response with 204 status code is returned.", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-07-01-preview", - "resourceGroupName": "sbz_demo", - "applicationName": "helloWorldAppWindows" - }, - "responses": { - "200": {}, - "204": {} - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-07-01-preview", + "resourceGroupName": "sbz_demo", + "applicationName": "helloWorldAppWindows" + }, + "responses": { + "200": {}, + "204": {} } - - +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationGet.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationGet.json index e7cb3ca44884..337355651753 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationGet.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "applicationName": "demo1" - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/applications", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows", - "name": "helloWorldAppWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "SeaBreeze HelloWorld Application!", - "healthState": "Ok", - "serviceNames": [ - "helloWorldService" - ], - "status": "Ready" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "applicationName": "demo1" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows", + "name": "helloWorldAppWindows", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "SeaBreeze HelloWorld Application!", + "healthState": "Ok", + "serviceNames": [ + "helloWorldService" + ], + "status": "Ready" } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsByResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsByResourceGroup.json index 77fad4690360..1816a7b46720 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsByResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsByResourceGroup.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.ServiceFabricMesh/applications", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldApp", - "name": "helloWorldApp", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "SeaBreeze HelloWorld Application!", - "healthState": "Ok", - "serviceNames": [ - "helloWorldService" - ], - "status": "Ready" - } - }, - { - "type": "Microsoft.ServiceFabricMesh/applications", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows", - "name": "helloWorldAppWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "SeaBreeze HelloWorld Application!", - "healthState": "Ok", - "serviceNames": [ - "helloWorldService" - ], - "status": "Ready" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabricMesh/applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldApp", + "name": "helloWorldApp", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "SeaBreeze HelloWorld Application!", + "healthState": "Ok", + "serviceNames": [ + "helloWorldService" + ], + "status": "Ready" } - ] - } + }, + { + "type": "Microsoft.ServiceFabricMesh/applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows", + "name": "helloWorldAppWindows", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "SeaBreeze HelloWorld Application!", + "healthState": "Ok", + "serviceNames": [ + "helloWorldService" + ], + "status": "Ready" + } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsBySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsBySubscriptionId.json index 1a8dc2267ca6..305b958374b4 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsBySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ApplicationsBySubscriptionId.json @@ -172,4 +172,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkCreateOrUpdate.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkCreateOrUpdate.json index 6fb26b519568..5a36717d4843 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkCreateOrUpdate.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkCreateOrUpdate.json @@ -1,76 +1,76 @@ { - "operationId": "Network_Create", - "description": "This example shows how to create a network resource with custom address range and a load balanced public endpoint.", - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "networkName": "helloWorldNetworkWindows", - "networkResourceDescription": { + "operationId": "Network_Create", + "description": "This example shows how to create a network resource with custom address range and a load balanced public endpoint.", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "networkName": "helloWorldNetworkWindows", + "networkResourceDescription": { + "properties": { + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "layer4": [ + { + "publicPort": "80", + "applicationName": "helloWorldAppWindows", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", + "name": "helloWorldNetworkWindows", + "tags": {}, "properties": { + "provisioningState": "Succeeded", "addressPrefix": "10.0.0.4/22", "ingressConfig": { + "qosLevel": "Bronze", "layer4": [ { - "publicPort": "80", + "publicPort": 80, "applicationName": "helloWorldAppWindows", "serviceName": "helloWorldService", "endpointName": "helloWorldListener" } ] } - }, - "location": "eastus" + } } }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", - "name": "helloWorldNetworkWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldAppWindows", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } - } - } - }, - "201": { - "body": { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", - "name": "helloWorldNetworkWindows", - "tags": {}, - "properties": { - "provisioningState": "Updating", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldAppWindows", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + "201": { + "body": { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", + "name": "helloWorldNetworkWindows", + "tags": {}, + "properties": { + "provisioningState": "Updating", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldAppWindows", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkDelete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkDelete.json index f76cb79ee602..7c6075d329ee 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkDelete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkDelete.json @@ -1,14 +1,14 @@ { - "operationId":"Network_Delete", - "description":"This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exit, an empty response with 204 status code is returned.", - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-07-01-preview", - "resourceGroupName": "sbz_demo", - "networkName": "helloWorldNetworkWindows" - }, - "responses": { - "200": {}, - "204": {} - } + "operationId": "Network_Delete", + "description": "This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exit, an empty response with 204 status code is returned.", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-07-01-preview", + "resourceGroupName": "sbz_demo", + "networkName": "helloWorldNetworkWindows" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkGet.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkGet.json index bc6ed0061f86..f6426af526ab 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkGet.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworkGet.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "networkName": "helloWorldNetworkWindows" - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", - "name": "helloWorldNetworkWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "publicIPAddress": "52.191.255.103", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldAppWindows", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "networkName": "helloWorldNetworkWindows" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", + "name": "helloWorldNetworkWindows", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "publicIPAddress": "52.191.255.103", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldAppWindows", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksByResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksByResourceGroup.json index 47d92154ad44..1a425435a70b 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksByResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksByResourceGroup.json @@ -1,61 +1,61 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork", - "name": "helloWorldNetwork", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "publicIPAddress": "52.191.12.219", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldApp", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork", + "name": "helloWorldNetwork", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "publicIPAddress": "52.191.12.219", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } - }, - { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", - "name": "helloWorldNetworkWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "publicIPAddress": "52.191.255.103", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldAppWindows", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + } + }, + { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", + "name": "helloWorldNetworkWindows", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "publicIPAddress": "52.191.255.103", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldAppWindows", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksBySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksBySubscriptionId.json index b1bf29402e9f..d378e4d9f4df 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksBySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/NetworksBySubscriptionId.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork", - "name": "helloWorldNetwork", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "publicIPAddress": "52.191.12.219", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldApp", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork", + "name": "helloWorldNetwork", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "publicIPAddress": "52.191.12.219", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } - }, - { - "type": "Microsoft.ServiceFabricMesh/networks", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", - "name": "helloWorldNetworkWindows", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.0.4/22", - "ingressConfig": { - "qosLevel": "Bronze", - "publicIPAddress": "52.191.255.103", - "layer4": [ - { - "publicPort": 80, - "applicationName": "helloWorldAppWindows", - "serviceName": "helloWorldService", - "endpointName": "helloWorldListener" - } - ] - } + } + }, + { + "type": "Microsoft.ServiceFabricMesh/networks", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows", + "name": "helloWorldNetworkWindows", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.0.4/22", + "ingressConfig": { + "qosLevel": "Bronze", + "publicIPAddress": "52.191.255.103", + "layer4": [ + { + "publicPort": 80, + "applicationName": "helloWorldAppWindows", + "serviceName": "helloWorldService", + "endpointName": "helloWorldListener" + } + ] } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicaGet.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicaGet.json index e6259087c844..c6a01f57d14c 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicaGet.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicaGet.json @@ -1,109 +1,109 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "applicationName": "helloWorldApp", - "serviceName": "helloWorldService", - "replicaName": "1" - }, - "responses": { - "200": { - "body": { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService", + "replicaName": "1" + }, + "responses": { + "200": { + "body": { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.9016844", + "lastTimestamp": "2018-04-06T06:36:06.0887046", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.9016844", - "lastTimestamp": "2018-04-06T06:36:06.0887046", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.6622454", - "lastTimestamp": "2018-04-06T06:34:00.6622454", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] + { + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.6622454", + "lastTimestamp": "2018-04-06T06:34:00.6622454", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" + } + ] + } + }, + { + "name": "helloWorldSideCar", + "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 } }, - { - "name": "helloWorldSideCar", - "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.906688", + "lastTimestamp": "2018-04-06T06:36:06.0827003", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.906688", - "lastTimestamp": "2018-04-06T06:36:06.0827003", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.656241", - "lastTimestamp": "2018-04-06T06:34:00.656241", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] - } - } - ], - "networkRefs": [ - { - "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + { + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.656241", + "lastTimestamp": "2018-04-06T06:34:00.656241", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" + } + ] } - ], - "replicaName": "1" - } + } + ], + "networkRefs": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + } + ], + "replicaName": "1" } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicasGetAll.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicasGetAll.json index 49ddd753eff5..3653b4319ff2 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicasGetAll.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ReplicasGetAll.json @@ -1,207 +1,207 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "applicationName": "helloWorldApp", - "serviceName": "helloWorldService" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.9016844", + "lastTimestamp": "2018-04-06T06:36:06.0887046", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.9016844", - "lastTimestamp": "2018-04-06T06:36:06.0887046", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.6622454", - "lastTimestamp": "2018-04-06T06:34:00.6622454", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] + { + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.6622454", + "lastTimestamp": "2018-04-06T06:34:00.6622454", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" + } + ] + } + }, + { + "name": "helloWorldSideCar", + "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 } }, - { - "name": "helloWorldSideCar", - "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.906688", + "lastTimestamp": "2018-04-06T06:36:06.0827003", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.906688", - "lastTimestamp": "2018-04-06T06:36:06.0827003", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.656241", - "lastTimestamp": "2018-04-06T06:34:00.656241", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] - } - } - ], - "networkRefs": [ - { - "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" - } - ], - "replicaName": "1" - }, - { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.656241", + "lastTimestamp": "2018-04-06T06:34:00.656241", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" } + ] + } + } + ], + "networkRefs": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + } + ], + "replicaName": "1" + }, + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.9016844", + "lastTimestamp": "2018-04-06T06:36:06.0887046", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.9016844", - "lastTimestamp": "2018-04-06T06:36:06.0887046", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.6622454", - "lastTimestamp": "2018-04-06T06:34:00.6622454", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] + { + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.6622454", + "lastTimestamp": "2018-04-06T06:34:00.6622454", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" + } + ] + } + }, + { + "name": "helloWorldSideCar", + "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 } }, - { - "name": "helloWorldSideCar", - "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" + "previousState": { + "state": "NotSpecified", + "exitCode": "0" + }, + "events": [ + { + "count": 3, + "firstTimestamp": "2018-04-05T22:37:20.906688", + "lastTimestamp": "2018-04-06T06:36:06.0827003", + "name": "Created", + "message": "Container created and started.", + "type": "Normal" }, - "events": [ - { - "count": 3, - "firstTimestamp": "2018-04-05T22:37:20.906688", - "lastTimestamp": "2018-04-06T06:36:06.0827003", - "name": "Created", - "message": "Container created and started.", - "type": "Normal" - }, - { - "count": 1, - "firstTimestamp": "2018-04-06T06:34:00.656241", - "lastTimestamp": "2018-04-06T06:34:00.656241", - "name": "Stopped", - "message": "Container was stopped.", - "type": "Normal" - } - ] - } - } - ], - "networkRefs": [ - { - "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + { + "count": 1, + "firstTimestamp": "2018-04-06T06:34:00.656241", + "lastTimestamp": "2018-04-06T06:34:00.656241", + "name": "Stopped", + "message": "Container was stopped.", + "type": "Normal" + } + ] } - ], - "replicaName": "0" - } - ] - } + } + ], + "networkRefs": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + } + ], + "replicaName": "0" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceGet.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceGet.json index 10ddf3cfc5db..13018df299c0 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceGet.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceGet.json @@ -1,57 +1,57 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "applicationName": "helloWorldApp", - "serviceName": "helloWorldService" - }, - "responses": { - "200": { - "body": { - "name": "helloWorldService", - "type": "Microsoft.ServiceFabricMesh/services", - "properties": { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "applicationName": "helloWorldApp", + "serviceName": "helloWorldService" + }, + "responses": { + "200": { + "body": { + "name": "helloWorldService", + "type": "Microsoft.ServiceFabricMesh/services", + "properties": { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 } - }, - { - "name": "helloWorldSideCar", - "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 } } - ], - "networkRefs": [ - { - "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + }, + { + "name": "helloWorldSideCar", + "image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine", + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } } - ], - "description": "SeaBreeze Hello World Service.", - "replicaCount": 2, - "healthState": "Ok", - "status": "Unknown" - } + } + ], + "networkRefs": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork" + } + ], + "description": "SeaBreeze Hello World Service.", + "replicaCount": 2, + "healthState": "Ok", + "status": "Unknown" } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceList.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceList.json index c8fbe35869fd..57519d6ed70d 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceList.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/ServiceList.json @@ -1,6 +1,6 @@ { - "operationId":"Service_ListByApplicationName", - "description":"This example shows how to list all services of a given application.", + "operationId": "Service_ListByApplicationName", + "description": "This example shows how to list all services of a given application.", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeCreate.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeCreate.json index 50326bbbee3a..6b795d651181 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeCreate.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeCreate.json @@ -1,58 +1,58 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "volumeName": "sbzDemoVolume", - "volumeResourceDescription": { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "volumeName": "sbzDemoVolume", + "volumeResourceDescription": { + "properties": { + "description": "File share backed by Azure Files storage.", + "azureFileParameters": { + "accountName": "sbzdemoaccount", + "accountKey": "provide-account-key-here", + "shareName": "sharel" + }, + "provider": "SFAzureFile" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", + "name": "sbzDemoVolume", + "tags": {}, "properties": { + "provisioningState": "Succeeded", "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", "azureFileParameters": { - "accountName": "sbzdemoaccount", - "accountKey": "provide-account-key-here", - "shareName": "sharel" - }, - "provider": "SFAzureFile" - }, - "location": "eastus" - } - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", - "name": "sbzDemoVolume", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + "shareName": "sharel", + "accountName": "sbzdemoaccount" } } - }, - "201": { - "body": { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", - "name": "sbzDemoVolume", - "tags": {}, - "properties": { - "provisioningState": "Updating", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + } + }, + "201": { + "body": { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", + "name": "sbzDemoVolume", + "tags": {}, + "properties": { + "provisioningState": "Updating", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharel", + "accountName": "sbzdemoaccount" } } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeDelete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeDelete.json index 8fcb4aa54144..ceb9ff2d7f92 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeDelete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeDelete.json @@ -1,14 +1,14 @@ { - "operationId":"Volume_Delete", - "description":"This example shows how to delete an existing volume resource. If the volume resource exists and is deleted successfully, an empty response with 200 status code is returned. If the volume resource does not exit, an empty response with 204 status code is returned.", - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-07-01-preview", - "resourceGroupName": "sbz_demo", - "volumeName": "sbzDemoVolume" - }, - "responses": { - "200": {}, - "204": {} - } + "operationId": "Volume_Delete", + "description": "This example shows how to delete an existing volume resource. If the volume resource exists and is deleted successfully, an empty response with 200 status code is returned. If the volume resource does not exit, an empty response with 204 status code is returned.", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-07-01-preview", + "resourceGroupName": "sbz_demo", + "volumeName": "sbzDemoVolume" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeGet.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeGet.json index def023970eb5..0c5be540761f 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeGet.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumeGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview", - "volumeName": "sbzDemoVolume" - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", - "name": "sbzDemoVolume", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview", + "volumeName": "sbzDemoVolume" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", + "name": "sbzDemoVolume", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharel", + "accountName": "sbzdemoaccount" } } } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesByResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesByResourceGroup.json index 39b4dca5f5ee..6a13f8e78da4 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesByResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesByResourceGroup.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "sbz_demo", - "api-version": "2018-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume2", - "name": "sbzDemoShare", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "sbz_demo", + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume2", + "name": "sbzDemoShare", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharel", + "accountName": "sbzdemoaccount" } - }, - { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", - "name": "sbzDemoVolume", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + } + }, + { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/volumes/sbzDemoVolume", + "name": "sbzDemoVolume", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharel", + "accountName": "sbzdemoaccount" } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesBySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesBySubscriptionId.json index 7d86747bed0e..6f12c49ce5cd 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesBySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/examples/VolumesBySubscriptionId.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharel", - "name": "mysharel", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharel", - "accountName": "sbzdemoaccount" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharel", + "name": "mysharel", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharel", + "accountName": "sbzdemoaccount" } - }, - { - "type": "Microsoft.ServiceFabricMesh/volumes", - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharew", - "name": "mysharew", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "description": "File share backed by Azure Files storage.", - "provider": "SFAzureFile", - "azureFileParameters": { - "shareName": "sharew", - "accountName": "sbzdemoaccount" - } + } + }, + { + "type": "Microsoft.ServiceFabricMesh/volumes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbzdemo/providers/Microsoft.ServiceFabricMesh/volumes/mysharew", + "name": "mysharew", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "File share backed by Azure Files storage.", + "provider": "SFAzureFile", + "azureFileParameters": { + "shareName": "sharew", + "accountName": "sbzdemoaccount" } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json index abe173b81466..a535cd5e071c 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json @@ -2242,4 +2242,4 @@ "description": "Number of lines to show from the end of the logs. Default is 100." } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json index 7f2184d6377d..6b6ac3c3cc27 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json index 46ea5b8772d7..b27b102b9032 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json @@ -12,4 +12,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json index f77465d92d24..6d831fa754df 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json index f9fbcdf4dfb4..41af6f7168db 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json index 35641a7abda2..eaff9cc00ec5 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json index 3bce4656e1cf..9c08ad25157f 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json index 5ed68640fcec..93189437ee77 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json index 48eab2177d7e..4ed376b7724d 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json index 01e400bedc14..4de430d6ef8b 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json index 676e25cab1a7..f7ae9364fc54 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json @@ -202,4 +202,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json index 5a34eb59eb41..f40498990359 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json @@ -12,4 +12,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json index c2c1eccd8a40..a3a77e567420 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json index 51f751f14017..dab12ae7ed4c 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json index ba69f964b944..f712e98b39bf 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json @@ -51,4 +51,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json index 7b9d67c99a7b..08b106455a70 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json @@ -12,4 +12,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json index 5ce76e4460a0..9430c777d304 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json index 02e02e71c87d..289d34d092ba 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json index ab5f8421f290..09c18cbbe141 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json index 40c3ac11fe74..83d8c94e426a 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json @@ -51,4 +51,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json index f9f50d67158a..ed49a340b598 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json index 305fb6cc2519..756fd12f3586 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json index 73064905e3f8..f9c1b96a47f5 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json index b4821b8cb84d..39326feca31a 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json @@ -41,4 +41,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json index 9f4932be62f1..36eff5a5f62a 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json @@ -13,4 +13,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json index 5b7becbf76b0..0d6d08be4631 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json index 905890b8a9b3..cfce09bfdead 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json index f341e143f0b1..4251a3e7ecbb 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json index 7e3f7f4d7c59..ac54d3b45588 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json @@ -12,4 +12,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json index 48ae0d6e78c5..e76448ade46b 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json @@ -3951,4 +3951,4 @@ "description": "Number of lines to show from the end of the logs. Default is 100." } } -} \ No newline at end of file +} From 2f7b225e23442d0ade36bf15d4ac15730b683c9c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:02:12 -0400 Subject: [PATCH 087/495] chore: jsonfmt sql (#6257) Ran `jsonfmt -w "specification/sql/**/*.json"` --- .../preview/2015-05-01-preview/advisors.json | 2 +- .../2015-05-01-preview/blobAuditing.json | 2 +- .../blobAuditingPolicies.json | 2 +- .../databaseAutomaticTuning.json | 2 +- .../encryptionProtectors.json | 2 +- .../examples/DatabaseAdvisorGet.json | 44 +- .../examples/DatabaseAdvisorList.json | 160 +- .../examples/DatabaseAdvisorUpdate.json | 52 +- .../examples/DatabaseAutomaticTuningGet.json | 2 +- .../DatabaseAutomaticTuningUpdateMax.json | 2 +- .../DatabaseAutomaticTuningUpdateMin.json | 2 +- ...DatabaseAzureMonitorAuditingCreateMin.json | 46 +- .../DatabaseBlobAuditingCreateMax.json | 66 +- .../DatabaseBlobAuditingCreateMin.json | 48 +- .../examples/DatabaseBlobAuditingGet.json | 28 +- .../DatabaseRecommendedActionGet.json | 116 +- .../DatabaseRecommendedActionList.json | 388 +- .../DatabaseRecommendedActionListExpand.json | 1230 +- .../DatabaseRecommendedActionUpdate.json | 132 +- ...yptionProtectorCreateOrUpdateKeyVault.json | 54 +- ...ProtectorCreateOrUpdateServiceManaged.json | 54 +- .../examples/EncryptionProtectorGet.json | 4 +- .../examples/EncryptionProtectorList.json | 4 +- .../examples/FailoverGroupCreateOrUpdate.json | 110 +- .../examples/FailoverGroupDelete.json | 2 +- .../examples/FailoverGroupFailover.json | 56 +- ...iloverGroupForceFailoverAllowDataLoss.json | 56 +- .../examples/FailoverGroupGet.json | 48 +- .../examples/FailoverGroupList.json | 16 +- .../examples/FailoverGroupUpdate.json | 56 +- .../examples/FirewallRuleCreate.json | 2 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleList.json | 2 +- .../examples/FirewallRuleReplace.json | 31 +- .../examples/FirewallRuleUpdate.json | 2 +- .../examples/ManagedInstanceCreateMax.json | 30 +- .../examples/ManagedInstanceCreateMin.json | 10 +- .../examples/ManagedInstanceDelete.json | 24 +- .../examples/ManagedInstanceGet.json | 16 +- .../examples/ManagedInstanceList.json | 12 +- .../ManagedInstanceListByInstancePool.json | 2 +- .../ManagedInstanceListByResourceGroup.json | 2 +- .../examples/ManagedInstanceUpdateMax.json | 30 +- .../examples/ManagedInstanceUpdateMin.json | 8 +- .../examples/ServerAdvisorGet.json | 44 +- .../examples/ServerAdvisorList.json | 142 +- .../examples/ServerAdvisorUpdate.json | 56 +- .../examples/ServerCreateMax.json | 2 +- .../examples/ServerCreateMin.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerKeyCreateOrUpdate.json | 88 +- .../examples/ServerKeyDelete.json | 2 +- .../examples/ServerKeyGet.json | 2 +- .../examples/ServerKeyList.json | 4 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../ServerRecommendedActionListExpand.json | 1232 +- .../examples/ServerUpdateMax.json | 2 +- .../examples/ServerUpdateMin.json | 2 +- .../examples/SubscriptionUsageGet.json | 49 +- .../SubscriptionUsageListByLocation.json | 88 +- .../examples/SyncAgentCreate.json | 82 +- .../examples/SyncAgentCreateOrUpdate.json | 82 +- .../examples/SyncAgentDelete.json | 33 +- .../examples/SyncAgentGenerateKey.json | 28 +- .../examples/SyncAgentGet.json | 44 +- .../examples/SyncAgentGetLinkedDatabases.json | 52 +- .../examples/SyncAgentListByServer.json | 52 +- .../examples/SyncAgentUpdate.json | 82 +- .../examples/SyncGroupCancelSync.json | 22 +- .../examples/SyncGroupCreate.json | 96 +- .../examples/SyncGroupCreateOrUpdate.json | 96 +- .../examples/SyncGroupDelete.json | 34 +- .../examples/SyncGroupGet.json | 48 +- .../examples/SyncGroupGetHubSchema.json | 90 +- .../examples/SyncGroupGetLog.json | 68 +- .../examples/SyncGroupGetSyncDatabaseId.json | 30 +- .../examples/SyncGroupListByDatabase.json | 80 +- .../examples/SyncGroupPatch.json | 70 +- .../examples/SyncGroupRefreshHubSchema.json | 25 +- .../examples/SyncGroupTriggerSync.json | 22 +- .../examples/SyncGroupUpdate.json | 96 +- .../examples/SyncMemberCreate.json | 98 +- .../examples/SyncMemberCreateOrUpdate.json | 98 +- .../examples/SyncMemberDelete.json | 38 +- .../examples/SyncMemberGet.json | 50 +- .../examples/SyncMemberGetSchema.json | 92 +- .../examples/SyncMemberListBySyncGroup.json | 56 +- .../examples/SyncMemberPatch.json | 70 +- .../examples/SyncMemberRefreshSchema.json | 26 +- .../examples/SyncMemberUpdate.json | 98 +- .../examples/VirtualClusterDelete.json | 26 +- .../examples/VirtualClusterGet.json | 48 +- .../examples/VirtualClusterList.json | 40 +- .../VirtualClusterListByResourceGroup.json | 44 +- .../examples/VirtualClusterUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +- .../examples/VirtualNetworkRulesDelete.json | 36 +- .../examples/VirtualNetworkRulesGet.json | 24 +- .../examples/VirtualNetworkRulesList.json | 52 +- .../2015-05-01-preview/failoverGroups.json | 2 +- .../2015-05-01-preview/firewallRules.json | 2 +- .../2015-05-01-preview/operations.json | 2 +- .../2015-05-01-preview/serverKeys.json | 2 +- .../preview/2015-05-01-preview/servers.json | 2 +- .../2015-05-01-preview/syncAgents.json | 2 +- .../2015-05-01-preview/syncGroups.json | 2 +- .../2015-05-01-preview/syncMembers.json | 2 +- .../preview/2015-05-01-preview/usages.json | 2 +- .../virtualNetworkRules.json | 2 +- .../2015-05-01-preview/virtualclusters.json | 2 +- .../ManagedBackupShortTermRetention.json | 2 +- .../ManagedDatabaseSecurityAlertPolicies.json | 2 +- ...roppedDatabaseBackupShortTermRetenion.json | 2 +- .../ManagedServerSecurityAlertPolicy.json | 2 +- .../2017-03-01-preview/blobAuditing.json | 2 +- .../2017-03-01-preview/cancelOperations.json | 2 +- .../dataWarehouseUserActivities.json | 2 +- ...abaseVulnerabilityAssessmentBaselines.json | 2 +- .../databaseVulnerabilityAssessments.json | 2 +- .../preview/2017-03-01-preview/databases.json | 2 +- .../examples/CancelDatabaseOperation.json | 2 +- .../examples/CancelJobExecution.json | 24 +- .../ColumnSensitivityLabelDelete.json | 31 +- .../examples/ColumnSensitivityLabelGet.json | 2 +- .../examples/CompleteManagedRestore.json | 28 +- .../examples/CreateDatabaseCopyMode.json | 126 +- .../examples/CreateDatabaseDefaultMode.json | 130 +- .../examples/CreateDatabaseMin.json | 110 +- .../examples/CreateDatabasePITRMode.json | 128 +- .../examples/CreateDatabaseRecoveryMode.json | 126 +- .../examples/CreateDatabaseRestoreMode.json | 128 +- .../examples/CreateDatabaseRestoreMode2.json | 128 +- .../examples/CreateDatabaseSecondaryMode.json | 126 +- .../examples/CreateJobExecution.json | 2 +- .../examples/CreateOrUpdateJobAgent.json | 72 +- .../examples/CreateOrUpdateJobAgentMax.json | 112 +- .../examples/CreateOrUpdateJobAgentMin.json | 86 +- .../examples/CreateOrUpdateJobCredential.json | 64 +- .../examples/CreateOrUpdateJobExecution.json | 2 +- .../examples/CreateOrUpdateJobMax.json | 108 +- .../examples/CreateOrUpdateJobMin.json | 84 +- .../examples/CreateOrUpdateJobStepMax.json | 210 +- .../examples/CreateOrUpdateJobStepMin.json | 130 +- .../CreateOrUpdateJobTargetGroupMax.json | 230 +- .../CreateOrUpdateJobTargetGroupMin.json | 69 +- .../DataWarehouseRestorePointsGet.json | 44 +- ...aWarehouseRestorePointsListByDatabase.json | 94 +- ...DatabaseAzureMonitorAuditingCreateMin.json | 46 +- .../DatabaseBlobAuditingCreateMax.json | 66 +- .../DatabaseBlobAuditingCreateMin.json | 52 +- .../examples/DatabaseBlobAuditingGet.json | 30 +- .../examples/DatabaseRestorePointsDelete.json | 26 +- .../examples/DatabaseRestorePointsGet.json | 42 +- .../DatabaseRestorePointsListByDatabase.json | 36 +- .../examples/DatabaseRestorePointsPost.json | 46 +- ...ityAssessmentCreateContainerSasKeyMin.json | 2 +- ...abaseVulnerabilityAssessmentCreateMax.json | 19 +- ...tyAssessmentCreateStorageAccessKeyMin.json | 2 +- ...DatabaseVulnerabilityAssessmentDelete.json | 25 +- .../DatabaseVulnerabilityAssessmentGet.json | 51 +- ...VulnerabilityAssessmentListByDatabase.json | 55 +- ...erabilityAssessmentRuleBaselineCreate.json | 34 +- ...erabilityAssessmentRuleBaselineDelete.json | 5 +- ...ulnerabilityAssessmentRuleBaselineGet.json | 18 +- .../examples/DeleteDatabase.json | 24 +- .../examples/DeleteJob.json | 24 +- .../examples/DeleteJobAgent.json | 24 +- .../examples/DeleteJobCredential.json | 24 +- .../examples/DeleteJobStep.json | 26 +- .../examples/DeleteJobTargetGroup.json | 24 +- .../examples/ExportDatabase.json | 66 +- ...DatabaseAzureMonitorAuditingCreateMin.json | 34 +- ...ExtendedDatabaseBlobAuditingCreateMax.json | 64 +- ...ExtendedDatabaseBlobAuditingCreateMin.json | 44 +- .../ExtendedDatabaseBlobAuditingGet.json | 30 +- .../ExtendedServerBlobAuditingCreateMax.json | 88 +- .../ExtendedServerBlobAuditingCreateMin.json | 70 +- .../ExtendedServerBlobAuditingGet.json | 30 +- .../GetDataWarehouseUserActivities.json | 38 +- .../examples/GetDatabase.json | 62 +- .../2017-03-01-preview/examples/GetJob.json | 50 +- .../examples/GetJobAgent.json | 46 +- .../examples/GetJobCredential.json | 36 +- .../examples/GetJobExecution.json | 2 +- .../examples/GetJobExecutionStep.json | 66 +- .../examples/GetJobExecutionTarget.json | 78 +- .../examples/GetJobStepByJob.json | 90 +- .../examples/GetJobStepByVersion.json | 92 +- .../examples/GetJobTargetGroup.json | 94 +- .../examples/GetJobVersion.json | 36 +- ...etListManagedShortTermRetentionPolicy.json | 60 +- ...tTermRetentionPolicyRestorableDropped.json | 60 +- .../GetManagedShortTermRetentionPolicy.json | 38 +- ...tTermRetentionPolicyRestorableDropped.json | 38 +- .../GetRestorableDroppedManagedDatabase.json | 3 +- .../examples/ListDatabaseOperations.json | 96 +- .../examples/ListDatabasesByElasticPool.json | 2 +- .../examples/ListDatabasesByServer.json | 112 +- .../examples/ListJobAgentsByServer.json | 78 +- .../examples/ListJobCredentialsByAgent.json | 60 +- .../examples/ListJobExecutionSteps.json | 72 +- .../ListJobExecutionTargetsByExecution.json | 82 +- .../ListJobExecutionTargetsByStep.json | 84 +- .../examples/ListJobExecutionsByAgent.json | 2 +- .../ListJobExecutionsByAgentWithFilter.json | 2 +- .../examples/ListJobExecutionsByJob.json | 2 +- .../examples/ListJobStepsByJob.json | 160 +- .../examples/ListJobStepsByVersion.json | 162 +- .../examples/ListJobTargetGroups.json | 102 +- .../examples/ListJobVersions.json | 53 +- .../examples/ListJobsByAgent.json | 120 +- .../LongTermRetentionBackupDelete.json | 28 +- .../examples/LongTermRetentionBackupGet.json | 46 +- ...LongTermRetentionBackupListByDatabase.json | 100 +- ...LongTermRetentionBackupListByLocation.json | 96 +- .../LongTermRetentionBackupListByServer.json | 98 +- ...LongTermRetentionPolicyCreateOrUpdate.json | 60 +- .../examples/LongTermRetentionPolicyGet.json | 44 +- .../examples/ManagedDatabaseCreateMax.json | 94 +- .../examples/ManagedDatabaseCreateMin.json | 76 +- ...nagedDatabaseCreatePointInTimeRestore.json | 98 +- .../ManagedDatabaseCreateRecovery.json | 92 +- ...edDatabaseCreateRestoreExternalBackup.json | 100 +- .../examples/ManagedDatabaseDelete.json | 30 +- .../examples/ManagedDatabaseGet.json | 46 +- .../ManagedDatabaseListByManagedInstance.json | 78 +- ...ManagedDatabaseSecurityAlertCreateMax.json | 70 +- ...ManagedDatabaseSecurityAlertCreateMin.json | 36 +- .../ManagedDatabaseSecurityAlertGet.json | 33 +- ...edDatabaseSecurityAlertListByDatabase.json | 9 +- .../examples/ManagedDatabaseUpdateMax.json | 62 +- .../examples/ManagedDatabaseUpdateMin.json | 62 +- .../ManagedInstanceAdministratorCreate.json | 88 +- .../ManagedInstanceAdministratorDelete.json | 24 +- .../ManagedInstanceAdministratorGet.json | 44 +- ...edInstanceAdministratorListByInstance.json | 50 +- .../ManagedInstanceAdministratorUpdate.json | 88 +- .../ManagedServerSecurityAlertCreateMax.json | 81 +- .../ManagedServerSecurityAlertCreateMin.json | 63 +- .../ManagedServerSecurityAlertGet.json | 52 +- ...agedServerSecurityAlertListByInstance.json | 8 +- .../examples/PatchDatabase.json | 82 +- .../examples/PauseDatabase.json | 6 +- ...ommendedColumnSensitivityLabelDisable.json | 30 +- ...commendedColumnSensitivityLabelEnable.json | 30 +- .../examples/RenameDatabase.json | 24 +- ...dManagedDatabaseListByManagedInstance.json | 72 +- .../examples/ResumeDatabase.json | 6 +- ...LabelsListByDatabaseWithSourceCurrent.json | 2 +- ...lsListByDatabaseWithSourceRecommended.json | 2 +- .../examples/ServerAutomaticTuningGet.json | 2 +- .../ServerAutomaticTuningUpdateMax.json | 2 +- .../ServerAutomaticTuningUpdateMin.json | 2 +- .../examples/ServerBlobAuditingCreateMax.json | 82 +- .../examples/ServerBlobAuditingCreateMin.json | 48 +- .../examples/ServerBlobAuditingGet.json | 28 +- .../examples/ServerDnsAliasAcquire.json | 18 +- .../ServerDnsAliasCreateOrUpdate.json | 33 +- .../examples/ServerDnsAliasDelete.json | 2 +- .../examples/ServerDnsAliasGet.json | 19 +- .../examples/ServerDnsAliasList.json | 5 +- .../ServerSecurityAlertsCreateMax.json | 81 +- .../ServerSecurityAlertsCreateMin.json | 69 +- .../examples/ServerSecurityAlertsGet.json | 52 +- .../ServerSecurityAlertsListByServer.json | 8 +- .../examples/UpdateJobAgent.json | 54 +- ...UpdateManagedShortTermRetentionPolicy.json | 45 +- ...tTermRetentionPolicyRestorableDropped.json | 45 +- .../preview/2017-03-01-preview/jobs.json | 2 +- .../2017-03-01-preview/longTermRetention.json | 2 +- .../2017-03-01-preview/managedDatabases.json | 2 +- .../managedInstanceAdministrators.json | 2 +- .../2017-03-01-preview/renameDatabase.json | 330 +- .../restorableDroppedManagedDatabases.json | 2 +- .../2017-03-01-preview/restorePoints.json | 2 +- .../serverAutomaticTuning.json | 2 +- .../2017-03-01-preview/serverDnsAliases.json | 2 +- .../serverSecurityAlertPolicies.json | 2 +- .../ManagedInstanceEncryptionProtectors.json | 2 +- .../ManagedInstanceKeys.json | 2 +- .../ManagedInstanceTdeCertificates.json | 2 +- .../2017-10-01-preview/TdeCertificates.json | 2 +- .../2017-10-01-preview/cancelOperations.json | 2 +- .../cancelPoolOperations.json | 2 +- .../2017-10-01-preview/capabilities.json | 6 +- .../databaseVulnerabilityAssessmentScans.json | 2 +- .../preview/2017-10-01-preview/databases.json | 2 +- .../2017-10-01-preview/elasticPools.json | 2 +- .../examples/CancelDatabaseOperation.json | 2 +- .../examples/CancelElasticPoolOperation.json | 2 +- .../examples/CapabilitiesList.json | 2 +- .../examples/CreateDatabaseCopyMode.json | 126 +- .../examples/CreateDatabaseDefaultMode.json | 130 +- .../examples/CreateDatabaseMin.json | 110 +- .../examples/CreateDatabasePITRMode.json | 128 +- .../examples/CreateDatabaseRecoveryMode.json | 126 +- .../examples/CreateDatabaseRestoreMode.json | 128 +- .../examples/CreateDatabaseRestoreMode2.json | 128 +- .../examples/CreateDatabaseSecondaryMode.json | 126 +- .../CreateDwDatabaseByServiceObjective.json | 2 +- ...CreateVCoreDatabaseByServiceObjective.json | 8 +- .../CreateVCoreDatabaseBySkuNameCapacity.json | 2 +- ...baseVulnerabilityAssessmentScanExport.json | 4 +- ...VulnerabilityAssessmentScanRecordsGet.json | 4 +- ...tyAssessmentScanRecordsListByDatabase.json | 130 +- ...seVulnerabilityAssessmentScansExecute.json | 2 +- .../examples/DeleteDatabase.json | 24 +- .../ElasticPoolCreateOrUpdateMax.json | 2 +- .../ElasticPoolCreateOrUpdateMin.json | 2 +- .../examples/ElasticPoolDelete.json | 4 +- .../examples/ElasticPoolGet.json | 2 +- .../examples/ElasticPoolListByServer.json | 2 +- .../examples/ElasticPoolUpdateMax.json | 2 +- .../examples/ElasticPoolUpdateMin.json | 5 +- .../examples/ExportDatabase.json | 66 +- .../examples/GetDatabase.json | 62 +- .../GetRecoverableManagedDatabase.json | 3 +- .../examples/GetShortTermRetentionPolicy.json | 38 +- .../examples/GetVCoreDatabase.json | 68 +- .../InstanceFailoverGroupCreateOrUpdate.json | 174 +- .../examples/InstanceFailoverGroupDelete.json | 34 +- .../InstanceFailoverGroupFailover.json | 80 +- ...iloverGroupForceFailoverAllowDataLoss.json | 80 +- .../examples/InstanceFailoverGroupGet.json | 74 +- .../examples/InstanceFailoverGroupList.json | 132 +- .../examples/ListDatabaseOperations.json | 96 +- .../examples/ListDatabasesByElasticPool.json | 2 +- .../examples/ListDatabasesByServer.json | 112 +- .../examples/ListElasticPoolOperations.json | 96 +- ...stRecoverableManagedDatabasesByServer.json | 60 +- ...tShortTermRetentionPoliciesByDatabase.json | 48 +- .../examples/ListVCoreDatabasesByServer.json | 118 +- ...abaseVulnerabilityAssessmentCreateMax.json | 17 +- ...abaseVulnerabilityAssessmentCreateMin.json | 2 +- ...DatabaseVulnerabilityAssessmentDelete.json | 5 +- ...gedDatabaseVulnerabilityAssessmentGet.json | 51 +- ...VulnerabilityAssessmentListByDatabase.json | 57 +- ...erabilityAssessmentRuleBaselineCreate.json | 34 +- ...erabilityAssessmentRuleBaselineDelete.json | 5 +- ...ulnerabilityAssessmentRuleBaselineGet.json | 18 +- ...baseVulnerabilityAssessmentScanExport.json | 2 +- ...VulnerabilityAssessmentScanRecordsGet.json | 2 +- ...tyAssessmentScanRecordsListByDatabase.json | 130 +- ...seVulnerabilityAssessmentScansExecute.json | 2 +- ...yptionProtectorCreateOrUpdateKeyVault.json | 52 +- ...ProtectorCreateOrUpdateServiceManaged.json | 52 +- ...ManagedInstanceEncryptionProtectorGet.json | 4 +- ...anagedInstanceEncryptionProtectorList.json | 4 +- .../ManagedInstanceKeyCreateOrUpdate.json | 84 +- .../examples/ManagedInstanceKeyDelete.json | 2 +- .../examples/ManagedInstanceKeyGet.json | 2 +- .../examples/ManagedInstanceKeyList.json | 4 +- .../ManagedInstanceTdeCertificate.json | 30 +- .../examples/PatchDatabase.json | 82 +- .../examples/PatchVCoreDatabase.json | 86 +- .../examples/PauseDatabase.json | 6 +- .../examples/RenameDatabase.json | 24 +- .../examples/ResumeDatabase.json | 6 +- .../examples/SqlTdeCertificateCreate.json | 32 +- .../UpdateShortTermRetentionPolicy.json | 48 +- .../examples/UpgradeDataWarehouse.json | 2 +- .../instanceFailoverGroups.json | 2 +- ...seVulnerabilityAssesmentRuleBaselines.json | 2 +- ...dDatabaseVulnerabilityAssessmentScans.json | 2 +- ...nagedDatabaseVulnerabilityAssessments.json | 2 +- .../recoverableManagedDatabases.json | 2 +- .../shortTermRetentionPolicies.json | 2 +- .../2018-06-01-preview/DatabaseSchema.json | 2 +- .../ManagedDatabaseSchema.json | 4 +- ...nagedInstanceVulnerabilityAssessments.json | 4 +- .../ServerVulnerabilityAssessments.json | 2 +- .../CreateOrUpdateInstancePoolMin.json | 8 +- .../examples/DatabaseColumnGet.json | 2 +- .../examples/DatabaseColumnListByTable.json | 2 +- .../DatabaseSecurityAlertCreateMax.json | 52 +- .../DatabaseSecurityAlertCreateMin.json | 16 +- .../examples/DatabaseSecurityAlertGet.json | 37 +- .../DatabaseSecurityAlertListByDatabase.json | 9 +- .../examples/DeleteInstancePool.json | 2 +- .../examples/GetInstancePool.json | 2 +- .../ListInstancePoolsByResourceGroup.json | 2 +- .../ListInstancePoolsBySubscriptionId.json | 2 +- .../examples/ManagedDatabaseColumnGet.json | 4 +- .../ManagedDatabaseColumnListByTable.json | 6 +- ...dDatabaseColumnSensitivityLabelCreate.json | 2 +- ...dDatabaseColumnSensitivityLabelDelete.json | 31 +- ...agedDatabaseColumnSensitivityLabelGet.json | 2 +- ...ommendedColumnSensitivityLabelDisable.json | 30 +- ...commendedColumnSensitivityLabelEnable.json | 30 +- ...ensitivityLabelsListByDatabaseCurrent.json | 2 +- ...tivityLabelsListByDatabaseRecommended.json | 2 +- ...ityAssessmentCreateContainerSasKeyMin.json | 2 +- ...tanceVulnerabilityAssessmentCreateMax.json | 19 +- ...tyAssessmentCreateStorageAccessKeyMin.json | 2 +- ...InstanceVulnerabilityAssessmentDelete.json | 23 +- ...gedInstanceVulnerabilityAssessmentGet.json | 49 +- ...VulnerabilityAssessmentListByInstance.json | 53 +- .../examples/PatchInstancePool.json | 2 +- ...ityAssessmentCreateContainerSasKeyMin.json | 2 +- ...erverVulnerabilityAssessmentCreateMax.json | 19 +- ...tyAssessmentCreateStorageAccessKeyMin.json | 2 +- .../ServerVulnerabilityAssessmentDelete.json | 23 +- .../ServerVulnerabilityAssessmentGet.json | 49 +- ...erVulnerabilityAssessmentListByServer.json | 55 +- .../2018-06-01-preview/instancePools.json | 2 +- .../managedDatabaseSensitivityLabels.json | 2 +- .../stable/2014-04-01/advisors.json | 2 +- .../backupLongTermRetentionPolicies.json | 523 +- .../backupLongTermRetentionVaults.json | 462 +- .../stable/2014-04-01/backups.json | 658 +- .../stable/2014-04-01/capabilities.json | 725 +- .../2014-04-01/checkNameAvailability.json | 314 +- .../stable/2014-04-01/connectionPolicies.json | 24 +- .../stable/2014-04-01/dataMasking.json | 850 +- .../databaseSecurityAlertPolicies.json | 35 +- .../stable/2014-04-01/databases.json | 2030 +-- .../stable/2014-04-01/deprecated.json | 296 +- .../disasterRecoveryConfigurations.json | 119 +- .../stable/2014-04-01/elasticPools.json | 830 +- .../BackupLongTermRetentionPolicyGet.json | 42 +- .../BackupLongTermRetentionPolicyList.json | 50 +- .../BackupLongTermRetentionPolicyUpdate.json | 80 +- .../BackupLongTermRetentionVaultGet.json | 38 +- .../BackupLongTermRetentionVaultList.json | 44 +- .../BackupLongTermRetentionVaultUpdate.json | 72 +- .../2014-04-01/examples/CapabilitiesList.json | 2 +- ...ckNameAvailabilityServerAlreadyExists.json | 10 +- .../CheckNameAvailabilityServerAvailable.json | 10 +- .../CheckNameAvailabilityServerInvalid.json | 11 +- .../DataMaskingPolicyCreateOrUpdateMax.json | 60 +- .../DataMaskingPolicyCreateOrUpdateMin.json | 58 +- .../examples/DataMaskingPolicyGet.json | 50 +- ...taMaskingRuleCreateOrUpdateDefaultMax.json | 132 +- ...taMaskingRuleCreateOrUpdateDefaultMin.json | 128 +- .../DataMaskingRuleCreateOrUpdateNumber.json | 132 +- .../DataMaskingRuleCreateOrUpdateText.json | 134 +- .../examples/DataMaskingRuleList.json | 116 +- .../DataWarehouseRestorePointsList.json | 86 +- .../DatabaseAdvisorCreateOrUpdate.json | 52 +- .../examples/DatabaseAdvisorGet.json | 38 +- .../examples/DatabaseAdvisorList.json | 102 +- ...atabaseConnectionPolicyCreateOrUpdate.json | 50 +- .../examples/DatabaseConnectionPolicyGet.json | 48 +- .../examples/DatabaseCreateCopy.json | 8 +- .../DatabaseCreateDroppedDatabaseRestore.json | 140 +- ...teDroppedDatabaseRestoreToPointInTime.json | 140 +- .../examples/DatabaseCreateGeoRestore.json | 138 +- .../DatabaseCreateImportMaxSasKey.json | 38 +- .../DatabaseCreateImportMaxStorageKey.json | 38 +- .../DatabaseCreateImportMinSasKey.json | 36 +- .../DatabaseCreateImportMinStorageKey.json | 36 +- ...atabaseCreateLongTermRetentionRestore.json | 138 +- .../examples/DatabaseCreateMax.json | 110 +- .../examples/DatabaseCreateMin.json | 2 +- .../DatabaseCreateNonReadableSecondary.json | 8 +- .../DatabaseCreateOnlineSecondary.json | 8 +- .../examples/DatabaseCreateOrUpdateMin.json | 2 +- .../DatabaseCreatePointInTimeRestore.json | 10 +- .../2014-04-01/examples/DatabaseDelete.json | 2 +- .../examples/DatabaseExportSasKey.json | 24 +- .../examples/DatabaseExportStorageKey.json | 22 +- .../2014-04-01/examples/DatabaseGet.json | 2 +- .../examples/DatabaseGetByElasticPool.json | 2 +- .../DatabaseGetByRecommendedElasticPool.json | 2 +- .../2014-04-01/examples/DatabaseList.json | 2 +- .../examples/DatabaseListByElasticPool.json | 2 +- .../DatabaseListByRecommendedElasticPool.json | 2 +- .../examples/DatabaseListWithFilter.json | 2 +- .../DatabaseMetricsDefinitionsList.json | 744 +- .../DatabaseMetricsListWithFilter.json | 72 +- .../2014-04-01/examples/DatabasePause.json | 8 +- .../examples/DatabaseRestorePointsList.json | 38 +- .../2014-04-01/examples/DatabaseResume.json | 8 +- .../DatabaseSecurityAlertCreateMax.json | 54 +- .../DatabaseSecurityAlertCreateMin.json | 38 +- .../examples/DatabaseSecurityAlertGet.json | 34 +- ...baseTableAuditingPolicyCreateOrUpdate.json | 60 +- .../DatabaseTableAuditingPolicyGet.json | 58 +- .../DatabaseTableAuditingPolicyList.json | 60 +- ...TransparentDataEncryptionActivityList.json | 38 +- ...ansparentDataEncryptionCreateOrUpdate.json | 26 +- .../DatabaseTransparentDataEncryptionGet.json | 14 +- ...DatabaseTransparentDataEncryptionList.json | 14 +- .../examples/DatabaseUpdateElasticPool.json | 2 +- .../DatabaseUpdateImportMaxSasKey.json | 24 +- .../DatabaseUpdateImportMaxStorageKey.json | 22 +- .../DatabaseUpdateImportMinSasKey.json | 24 +- .../DatabaseUpdateImportMinStorageKey.json | 22 +- .../examples/DatabaseUpdateMaxPatch.json | 2 +- .../examples/DatabaseUpdateMaxPut.json | 2 +- .../examples/DatabaseUpdateMin.json | 5 +- .../examples/DatabaseUsageMetricsList.json | 2 +- ...erRecoveryConfigurationCreateOrUpdate.json | 50 +- .../DisasterRecoveryConfigurationDelete.json | 2 +- ...DisasterRecoveryConfigurationFailover.json | 4 +- .../DisasterRecoveryConfigurationGet.json | 18 +- .../DisasterRecoveryConfigurationList.json | 18 +- .../examples/ElasticPoolActivityList.json | 2 +- .../examples/ElasticPoolCreateMax.json | 2 +- .../examples/ElasticPoolCreateMin.json | 2 +- .../ElasticPoolCreateOrUpdateMax.json | 2 +- .../ElasticPoolCreateOrUpdateMin.json | 2 +- .../ElasticPoolDatabaseActivityList.json | 2 +- .../examples/ElasticPoolDelete.json | 2 +- .../2014-04-01/examples/ElasticPoolGet.json | 2 +- .../2014-04-01/examples/ElasticPoolList.json | 2 +- .../ElasticPoolMetricsDefinitionsList.json | 744 +- .../ElasticPoolMetricsListWithFilter.json | 72 +- .../examples/ElasticPoolUpdateMax.json | 2 +- .../examples/ElasticPoolUpdateMin.json | 5 +- .../examples/FirewallRuleCreate.json | 2 +- .../examples/FirewallRuleDelete.json | 2 +- .../2014-04-01/examples/FirewallRuleGet.json | 2 +- .../2014-04-01/examples/FirewallRuleList.json | 2 +- .../examples/FirewallRuleUpdate.json | 2 +- .../GeoBackupPoliciesCreateOrUpdate.json | 10 +- .../examples/GeoBackupPoliciesGet.json | 6 +- .../examples/GeoBackupPoliciesList.json | 6 +- .../2014-04-01/examples/OperationList.json | 2532 ++-- .../2014-04-01/examples/QueriesList.json | 86 +- .../examples/QueryStatisticsList.json | 72 +- .../2014-04-01/examples/QueryTextsList.json | 28 +- .../examples/RecommendedElasticPoolGet.json | 70 +- .../examples/RecommendedElasticPoolList.json | 140 +- .../RecommendedElasticPoolListDecoupled.json | 106 +- .../RecommendedElasticPoolListMetrics.json | 34 +- .../examples/RecoverableDatabaseGet.json | 42 +- .../examples/RecoverableDatabaseList.json | 92 +- .../examples/ReplicationLinkDelete.json | 2 +- .../examples/ReplicationLinkFailover.json | 4 +- .../examples/ReplicationLinkGet.json | 2 +- .../examples/ReplicationLinkList.json | 2 +- .../RestorableDroppedDatabaseGet.json | 52 +- .../RestorableDroppedDatabaseList.json | 90 +- .../examples/ServerAdminCreateUpdate.json | 74 +- .../examples/ServerAdminDelete.json | 30 +- .../2014-04-01/examples/ServerAdminGet.json | 42 +- .../examples/ServerAdvisorCreateOrUpdate.json | 46 +- .../2014-04-01/examples/ServerAdvisorGet.json | 38 +- .../examples/ServerAdvisorList.json | 94 +- .../examples/ServerAdvisorUpdate.json | 46 +- ...ServerCommunicationLinkCreateOrUpdate.json | 10 +- .../ServerCommunicationLinkDelete.json | 2 +- .../examples/ServerCommunicationLinkGet.json | 6 +- .../examples/ServerCommunicationLinkList.json | 8 +- .../ServerConnectionPolicyCreateOrUpdate.json | 68 +- .../examples/ServerConnectionPolicyGet.json | 40 +- .../2014-04-01/examples/ServerCreateMax.json | 2 +- .../2014-04-01/examples/ServerCreateMin.json | 2 +- .../examples/ServerCreateOrUpdateMax.json | 2 +- .../examples/ServerCreateOrUpdateMin.json | 2 +- .../2014-04-01/examples/ServerDelete.json | 2 +- .../stable/2014-04-01/examples/ServerGet.json | 2 +- .../2014-04-01/examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- ...rverTableAuditingPolicyCreateOrUpdate.json | 56 +- .../ServerTableAuditingPolicyGet.json | 54 +- .../ServerTableAuditingPolicyList.json | 54 +- .../2014-04-01/examples/ServerUpdateMax.json | 2 +- .../2014-04-01/examples/ServerUpdateMin.json | 2 +- .../examples/ServerUsageMetricsList.json | 2 +- .../examples/ServiceObjectiveGet.json | 26 +- .../examples/ServiceObjectiveList.json | 1274 +- .../examples/ServiceTierAdvisorGet.json | 74 +- .../examples/ServiceTierAdvisorList.json | 72 +- .../stable/2014-04-01/firewallRules.json | 25 +- .../stable/2014-04-01/geoBackupPolicies.json | 35 +- .../stable/2014-04-01/importExport.json | 940 +- .../stable/2014-04-01/metrics.json | 51 +- .../stable/2014-04-01/operations.json | 9 +- .../stable/2014-04-01/queries.json | 54 +- .../2014-04-01/recommendedElasticPools.json | 598 +- .../recommendedElasticPoolsDecoupled.json | 598 +- .../stable/2014-04-01/replicationLinks.json | 20 +- .../stable/2014-04-01/restorePoints.json | 288 +- .../serverAzureADAdministrators.json | 600 +- .../2014-04-01/serverCommunicationLinks.json | 32 +- .../stable/2014-04-01/servers.json | 73 +- .../stable/2014-04-01/serviceObjectives.json | 18 +- .../stable/2014-04-01/sql.core.json | 93 +- .../stable/2014-04-01/tableAuditing.json | 62 +- .../stable/2014-04-01/usages.json | 20 +- .../stable/2015-05-01/capabilities.json | 2 +- .../LocationCapabilityListByLocation.json | 12622 ++++++++-------- .../examples/SubscriptionUsageGet.json | 49 +- .../SubscriptionUsageListByLocation.json | 88 +- .../stable/2015-05-01/usages.json | 2 +- .../sql/resource-manager/common/v1/types.json | 298 +- 591 files changed, 26931 insertions(+), 26351 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/advisors.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/advisors.json index cdea72b402e9..50f16158c996 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/advisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/advisors.json @@ -992,4 +992,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json index 21da90edee76..914d197ebf0c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json @@ -303,4 +303,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditingPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditingPolicies.json index 36d4ab97e409..f3fd894573c8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditingPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditingPolicies.json @@ -283,4 +283,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json index a4c1c410c18d..467ba51596dd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json @@ -312,4 +312,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json index b64b083e3e6a..ec376c42b9d8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json @@ -318,4 +318,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorGet.json index 5dc9e1ba5206..5a04af427c17 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "recommendationsStatus": "Ok", - "lastChecked": "2017-06-20T00:24:39Z" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "recommendationsStatus": "Ok", + "lastChecked": "2017-06-20T00:24:39Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorList.json index b5107d2e8e57..bed81d63f6bd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorList.json @@ -1,83 +1,83 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "Ok", - "lastChecked": "2017-06-20T00:24:39Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", - "name": "DropIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "DbSeemsTuned", - "lastChecked": "2017-06-19T20:42:43Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", - "name": "DbParameterization", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Enabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "DbParameterizationIssue", - "lastChecked": "2017-06-19T19:13:03Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", - "name": "SchemaIssue", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PublicPreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendationsStatus": "SchemaIsNotConsistent", - "lastChecked": "2017-06-20T14:00:32Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", - "name": "ForceLastGoodPlan", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PrivatePreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "Ok", + "lastChecked": "2017-06-20T00:24:39Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "DbSeemsTuned", + "lastChecked": "2017-06-19T20:42:43Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Enabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "DbParameterizationIssue", + "lastChecked": "2017-06-19T19:13:03Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", + "name": "SchemaIssue", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PublicPreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendationsStatus": "SchemaIsNotConsistent", + "lastChecked": "2017-06-20T14:00:32Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json index b5bc13cc70a8..3aa3700636d5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "api-version": "2015-05-01-preview", - "parameters": { - "properties" : { - "autoExecuteStatus" : "Disabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "recommendationsStatus": "Ok", - "lastChecked": "2017-06-20T00:24:39Z" - } - } + "properties": { + "autoExecuteStatus": "Disabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "recommendationsStatus": "Ok", + "lastChecked": "2017-06-20T00:24:39Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningGet.json index 021b7b09f2eb..191c5a54469f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningGet.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMax.json index 8834d0cfeb65..5788cc8e273b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMax.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMin.json index 6e662b2924a8..33eded7b0300 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAutomaticTuningUpdateMin.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json index 2d4883bd79ed..ae0dcecf831f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -8,8 +8,8 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "IsAzureMonitorTargetEnabled": true + "state": "Enabled", + "IsAzureMonitorTargetEnabled": true } } }, @@ -20,14 +20,18 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "isAzureMonitorTargetEnabled": true, - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } }, @@ -37,16 +41,20 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "isAzureMonitorTargetEnabled": true, - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json index 194627f146a2..7bfa3b938cce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json @@ -8,14 +8,18 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["DATABASE_LOGOUT_GROUP","DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public"], - "isAzureMonitorTargetEnabled": true + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } }, @@ -26,15 +30,19 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": ["DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public"], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } }, @@ -44,17 +52,21 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public" ], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json index 59cb4bb1d947..03709b48f11d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json @@ -8,9 +8,9 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, @@ -21,14 +21,18 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } }, @@ -38,16 +42,20 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json index 246b2fb4a226..dae05c903d9a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json @@ -9,20 +9,20 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/servers/databases/auditingSettings", - "kind": "V12", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/servers/databases/auditingSettings", + "kind": "V12", + "properties": { + "state": "Disabled", + "storageEndpoint": "", + "retentionDays": 0, + "auditActionsAndGroups": [], + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json index 47b8086f826d..c778e73a95d0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json @@ -1,62 +1,62 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "recommendedActionName": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:04Z", - "lastRefresh": "2017-03-01T14:38:04Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 1440.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 209.3125 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money],[Power]", - "includedColumns": "[Hour], [System], [LastChanged]" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "recommendedActionName": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:04Z", + "lastRefresh": "2017-03-01T14:38:04Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 1440.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 209.3125 } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money],[Power]", + "includedColumns": "[Hour], [System], [LastChanged]" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionList.json index 8306344333b4..e0ee10a15183 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionList.json @@ -1,197 +1,197 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:04Z", - "lastRefresh": "2017-03-01T14:38:04Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 1440.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 209.3125 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money],[Power]", - "includedColumns": "[Hour], [System], [LastChanged]" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "User", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 5040.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 120.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.9 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.3175 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 12.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 1.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 130.742187 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money]", - "includedColumns": "[Power],[Pineapple]", - "indexActionStartTime": "2017-03-01T14:38:05.337", - "indexActionDuration": "00:01:00" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 17.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 128.0 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[Employees]", - "indexColumns": "[City], [State]", - "includedColumns": "[Postal]" - } - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:04Z", + "lastRefresh": "2017-03-01T14:38:04Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 1440.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 209.3125 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money],[Power]", + "includedColumns": "[Hour], [System], [LastChanged]" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "User", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 5040.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 120.0 + } + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.9 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.3175 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 12.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 1.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 130.742187 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 + } + ], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money]", + "includedColumns": "[Power],[Pineapple]", + "indexActionStartTime": "2017-03-01T14:38:05.337", + "indexActionDuration": "00:01:00" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 17.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 128.0 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[Employees]", + "indexColumns": "[City], [State]", + "includedColumns": "[Postal]" + } + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json index e5072aa377fc..3f771c203104 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json @@ -1,625 +1,625 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "api-version": "2015-05-01-preview", - "$expand": "recommendedActions" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "Ok", - "lastChecked": "2017-06-20T16:39:16Z", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:04Z", - "lastRefresh": "2017-03-01T14:38:04Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-06-20T15:15:40Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 1440.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 209.3125 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money],[Power]", - "includedColumns": "[Hour], [System], [LastChanged]" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "User", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 5040.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 120.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.9 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.3175 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 12.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 1.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 130.742187 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money]", - "includedColumns": "[Power],[Pineapple]", - "indexActionStartTime": "2017-03-01T14:38:05.337", - "indexActionDuration": "00:01:00" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 17.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 128.0 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[Employees]", - "indexColumns": "[City], [State]", - "includedColumns": "[Postal]" - } - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview", + "$expand": "recommendedActions" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "Ok", + "lastChecked": "2017-06-20T16:39:16Z", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:04Z", + "lastRefresh": "2017-03-01T14:38:04Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-06-20T15:15:40Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 1440.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 209.3125 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", - "name": "DropIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "DbSeemsTuned", - "lastChecked": "2017-06-19T20:42:43Z", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", - "name": "IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Unused", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-03-23T14:14:35Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-23T14:14:35Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [IX_FF] ON [CRM].[DataPoints1]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 645.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "IX_FF", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints1]", - "indexColumns": "[Protocol],[SessionId]", - "includedColumns": "[Apple]" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", - "name": "IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [MyIndex123] ON [CRM].[DataPoints1]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 803.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 144.6875 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "MyIndex123", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints1]", - "indexColumns": "[Cookies],[SessionId]", - "includedColumns": "[Apple]" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", - "name": "IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "User", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [MyIndex321] ON [CRM].[DataPoints2] ([Cookies],[SessionId],[Protocol]) INCLUDE ([Apple]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 705.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": -342.0 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "MyIndex321", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints2]", - "indexColumns": "[Cookies],[SessionId],[Protocol]", - "includedColumns": "[Apple]", - "indexActionStartTime": "2017-03-01T14:38:05.697", - "indexActionDuration": "00:01:00" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", - "name": "IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "System", - "lastModified": "2017-02-28T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [IX_FF] ON [dbo].[FactFinance] ([FinanceKey],[DateKey]) INCLUDE ([OrganizationKey]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 705.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": -342.0 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "IX_FF", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[FactFinance]", - "indexColumns": "[FinanceKey],[DateKey]", - "includedColumns": "[OrganizationKey]", - "indexActionStartTime": "2017-03-01T14:38:05.837", - "indexActionDuration": "00:01:00" - } - } - } - ] + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money],[Power]", + "includedColumns": "[Hour], [System], [LastChanged]" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "User", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 5040.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 120.0 + } + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.9 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.3175 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 12.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 1.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 130.742187 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", - "name": "DbParameterization", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Enabled", - "autoExecuteStatusInheritedFrom": "Database", - "recommendationsStatus": "DbParameterizationIssue", - "lastChecked": "2017-06-19T19:13:03Z", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization/recommendedActions/ForceDbParameterization", - "name": "ForceDbParameterization", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:37:44Z", - "lastRefresh": "2017-03-01T14:37:44Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-05-11T15:08:31Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-05-11T15:08:31Z", - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "ALTER DATABASE [IndexAdvisor_test_3] SET PARAMETERIZATION FORCED" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "CpuSavings", - "unit": "Percent", - "changeValueAbsolute": 22.5613696939135 - }, - { - "dimensionName": "QueryDurationDecrease", - "unit": "secs", - "changeValueAbsolute": 0.701823681806341 - } - ], - "observedImpact": [ ], - "timeSeries": [ ] - } - } - ] + ], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money]", + "includedColumns": "[Power],[Pineapple]", + "indexActionStartTime": "2017-03-01T14:38:05.337", + "indexActionDuration": "00:01:00" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 17.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 128.0 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", - "name": "SchemaIssue", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PublicPreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendationsStatus": "SchemaIsNotConsistent", - "lastChecked": "2017-06-20T18:50:21Z", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue/recommendedActions/SchemaProblem_1A258C5714A7410C9D23", - "name": "SchemaProblem_1A258C5714A7410C9D23", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "SchemaProblem", - "validSince": "2017-03-01T14:37:48Z", - "lastRefresh": "2017-06-07T22:19:53Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:37:48Z" - }, - "isExecutableAction": false, - "isRevertableAction": false, - "isArchivedAction": false, - "score": 3, - "implementationDetails": { }, - "errorDetails": { }, - "estimatedImpact": [ ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "sqlErrorNumber": 208, - "sqlErrorMessage": "Invalid object name 'dbo.Companies'.", - "sqlErrorCount": 342482 - } - } - } - ] + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[Employees]", + "indexColumns": "[City], [State]", + "includedColumns": "[Postal]" + } + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "DbSeemsTuned", + "lastChecked": "2017-06-19T20:42:43Z", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", + "name": "IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Unused", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-03-23T14:14:35Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-23T14:14:35Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [IX_FF] ON [CRM].[DataPoints1]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 645.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "IX_FF", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints1]", + "indexColumns": "[Protocol],[SessionId]", + "includedColumns": "[Apple]" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", + "name": "IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [MyIndex123] ON [CRM].[DataPoints1]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 803.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 144.6875 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "MyIndex123", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints1]", + "indexColumns": "[Cookies],[SessionId]", + "includedColumns": "[Apple]" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", + "name": "IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "User", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [MyIndex321] ON [CRM].[DataPoints2] ([Cookies],[SessionId],[Protocol]) INCLUDE ([Apple]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 705.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", - "name": "ForceLastGoodPlan", - "type": "Microsoft.Sql/servers/databases/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PrivatePreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendedActions": [ ] + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": -342.0 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 } + ], + "timeSeries": [], + "details": { + "indexName": "MyIndex321", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints2]", + "indexColumns": "[Cookies],[SessionId],[Protocol]", + "includedColumns": "[Apple]", + "indexActionStartTime": "2017-03-01T14:38:05.697", + "indexActionDuration": "00:01:00" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex/recommendedActions/IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", + "name": "IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "System", + "lastModified": "2017-02-28T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [IX_FF] ON [dbo].[FactFinance] ([FinanceKey],[DateKey]) INCLUDE ([OrganizationKey]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 705.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 + } + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": -342.0 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 + } + ], + "timeSeries": [], + "details": { + "indexName": "IX_FF", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[FactFinance]", + "indexColumns": "[FinanceKey],[DateKey]", + "includedColumns": "[OrganizationKey]", + "indexActionStartTime": "2017-03-01T14:38:05.837", + "indexActionDuration": "00:01:00" + } + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Enabled", + "autoExecuteStatusInheritedFrom": "Database", + "recommendationsStatus": "DbParameterizationIssue", + "lastChecked": "2017-06-19T19:13:03Z", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization/recommendedActions/ForceDbParameterization", + "name": "ForceDbParameterization", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:37:44Z", + "lastRefresh": "2017-03-01T14:37:44Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-05-11T15:08:31Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-05-11T15:08:31Z", + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "ALTER DATABASE [IndexAdvisor_test_3] SET PARAMETERIZATION FORCED" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "CpuSavings", + "unit": "Percent", + "changeValueAbsolute": 22.5613696939135 + }, + { + "dimensionName": "QueryDurationDecrease", + "unit": "secs", + "changeValueAbsolute": 0.701823681806341 + } + ], + "observedImpact": [], + "timeSeries": [] + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", + "name": "SchemaIssue", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PublicPreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendationsStatus": "SchemaIsNotConsistent", + "lastChecked": "2017-06-20T18:50:21Z", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue/recommendedActions/SchemaProblem_1A258C5714A7410C9D23", + "name": "SchemaProblem_1A258C5714A7410C9D23", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "SchemaProblem", + "validSince": "2017-03-01T14:37:48Z", + "lastRefresh": "2017-06-07T22:19:53Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:37:48Z" + }, + "isExecutableAction": false, + "isRevertableAction": false, + "isArchivedAction": false, + "score": 3, + "implementationDetails": {}, + "errorDetails": {}, + "estimatedImpact": [], + "observedImpact": [], + "timeSeries": [], + "details": { + "sqlErrorNumber": 208, + "sqlErrorMessage": "Invalid object name 'dbo.Companies'.", + "sqlErrorCount": 342482 + } } + } ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/databases/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendedActions": [] + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json index 16c59d2c0124..6dee4cbd5a92 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json @@ -1,72 +1,72 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "recommendedActionName": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "recommendedActionName": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "state": { - "currentValue": "Pending" - } - } + "properties": { + "state": { + "currentValue": "Pending" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:04Z", - "lastRefresh": "2017-03-01T14:38:04Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "User", - "lastModified": "2017-06-20T15:11:15Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-06-20T15:11:15Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 1440.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 209.3125 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money],[Power]", - "includedColumns": "[Hour], [System], [LastChanged]" - } - } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "type": "Microsoft.Sql/servers/databases/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:04Z", + "lastRefresh": "2017-03-01T14:38:04Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "User", + "lastModified": "2017-06-20T15:11:15Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-06-20T15:11:15Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 1440.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 209.3125 } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money],[Power]", + "includedColumns": "[Hour], [System], [LastChanged]" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json index 10144976a6fd..b9857c81ea30 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "encryptionProtectorName": "current", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "serverName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "serverKeyType": "AzureKeyVault", - "serverKeyName": "someVault_someKey_01234567890123456789012345678901" - } + "properties": { + "serverKeyType": "AzureKeyVault", + "serverKeyName": "someVault_someKey_01234567890123456789012345678901" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current", + "name": "current", + "type": "Microsoft.Sql/servers/encryptionProtector", + "location": "West US", + "kind": "azurekeyvault", + "properties": { + "serverKeyName": "someVault_someKey_01234567890123456789012345678901", + "serverKeyType": "AzureKeyVault" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Sql/servers/encryptionProtector", - "location": "West US", - "kind": "azurekeyvault", - "properties": { - "serverKeyName": "someVault_someKey_01234567890123456789012345678901", - "serverKeyType": "AzureKeyVault" - } - } - }, - "202": { } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json index 48f97f52cb53..8ced9a688df8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "encryptionProtectorName": "current", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "serverName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "serverKeyType": "ServiceManaged", - "serverKeyName": "ServiceManaged" - } + "properties": { + "serverKeyType": "ServiceManaged", + "serverKeyName": "ServiceManaged" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current", + "name": "current", + "type": "Microsoft.Sql/servers/encryptionProtector", + "location": "West US", + "kind": "servicemanaged", + "properties": { + "serverKeyName": "ServiceManaged", + "serverKeyType": "ServiceManaged" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Sql/servers/encryptionProtector", - "location": "West US", - "kind": "servicemanaged", - "properties": { - "serverKeyName": "ServiceManaged", - "serverKeyType": "ServiceManaged" - } - } - }, - "202": { } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorGet.json index 2c2943386d5f..81c5c1363ea3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorGet.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "sqlcrudtest-7398", "serverName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", + "encryptionProtectorName": "current", "api-version": "2015-05-01-preview" }, "responses": { @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorList.json index c4fd09cf1bfb..6db301596a7c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/EncryptionProtectorList.json @@ -21,8 +21,8 @@ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" } } - ] + ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json index 8153390ddffe..fc791611ae2b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json @@ -16,7 +16,7 @@ }, "partnerServers": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server" } ], "databases": [ @@ -27,66 +27,66 @@ } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan East", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "databases": [ - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1", - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-2" - ] + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan East", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "databases": [ + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1", + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-2" + ] } + } }, "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan East", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "databases": [ - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1", - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-2" - ] + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan East", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "databases": [ + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1", + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-2" + ] } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json index 60c5ceabb65d..10e7c6312935 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupFailover.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupFailover.json index 91a8443984be..83ae014b1fa2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupFailover.json @@ -7,36 +7,36 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/failoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan West", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 120 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server", - "location":"Japan East", - "replicationRole":"Secondary" - } - ], - "databases": [ - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-1", - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-2" - ] + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/failoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan West", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 120 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server", + "location": "Japan East", + "replicationRole": "Secondary" } + ], + "databases": [ + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-1", + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-2" + ] } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json index 91a8443984be..83ae014b1fa2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json @@ -7,36 +7,36 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/failoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan West", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 120 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server", - "location":"Japan East", - "replicationRole":"Secondary" - } - ], - "databases": [ - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-1", - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-2" - ] + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/failoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan West", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 120 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server", + "location": "Japan East", + "replicationRole": "Secondary" } + ], + "databases": [ + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-1", + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server/databases/testdb-2" + ] } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupGet.json index 7e123d0e0327..0553e79a8214 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupGet.json @@ -8,31 +8,31 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test", - "name": "failover-group-test", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan East", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "databases": [] + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test", + "name": "failover-group-test", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan East", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "databases": [] } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupList.json index 5f1a76c1c66f..dfd2d035fdd0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupList.json @@ -26,9 +26,9 @@ "replicationState": "CATCH_UP", "partnerServers": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } ], "databases": [] @@ -51,16 +51,16 @@ "replicationState": "CATCH_UP", "partnerServers": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } ], "databases": [] } - } + } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupUpdate.json index 3691e44e71c8..e772d3df3eaf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupUpdate.json @@ -18,35 +18,35 @@ } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/servers/failoverGroups", - "location": "Japan East", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 120 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerServers": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "databases": [ - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1" - ] + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/failoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/servers/failoverGroups", + "location": "Japan East", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 120 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerServers": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-secondary-server", + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "databases": [ + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/failover-group-primary-server/databases/testdb-1" + ] } - }, + } + }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleCreate.json index 88b04c6ff4a0..83cedbdced63 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleCreate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json index ea931a438ff2..51ab66f29b0e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleGet.json index d244c64544af..712b47f68183 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleList.json index 3668a81c246c..f378b326a06b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleList.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleReplace.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleReplace.json index 02adc653e914..99c90881eebf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleReplace.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleReplace.json @@ -1,20 +1,21 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "firewallrulecrudtest-12", + "serverName": "firewallrulecrudtest-6285", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "firewallrulecrudtest-12", - "serverName": "firewallrulecrudtest-6285", - "api-version": "2015-05-01-preview", - "parameters": { - "values": [{ - "name": "firewallrulecrudtest-5370 ", - "properties": { - "startIpAddress": "0.0.0.0", - "endIpAddress": "100.0.0.0" - } - }] + "values": [ + { + "name": "firewallrulecrudtest-5370 ", + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "100.0.0.0" + } } - - }, + ] + } + }, "responses": { "200": { "body": { @@ -29,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleUpdate.json index cef7a28fec3f..554600d97158 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleUpdate.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMax.json index 45ba619264f4..1552d4b274c1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMax.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2015-05-01-preview", - "parameters" : { - "tags" : { - "tagKey1" : "TagValue1" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2015-05-01-preview", + "parameters": { + "tags": { + "tagKey1": "TagValue1" }, - "location" : "Japan East", - "sku" : { - "name" : "GP_Gen5", - "tier" : "GeneralPurpose" + "location": "Japan East", + "sku": { + "name": "GP_Gen5", + "tier": "GeneralPurpose" }, "properties": { "administratorLogin": "dummylogin", @@ -29,7 +29,7 @@ } } }, - "responses" : { + "responses": { "200": { "body": { "sku": { @@ -62,7 +62,7 @@ "type": "Microsoft.Sql/managedInstances" } }, - "201" : { + "201": { "body": { "sku": { "name": "GP_Gen5", @@ -94,6 +94,6 @@ "type": "Microsoft.Sql/managedInstances" } }, - "202" : {} + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMin.json index 02d525123917..c60a761edaa3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceCreateMin.json @@ -43,9 +43,7 @@ "dnsZone": "1b4e2caff2530" }, "location": "japaneast", - "tags": { - - }, + "tags": {}, "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", "name": "testinstance", "type": "Microsoft.Sql/managedInstances" @@ -73,9 +71,7 @@ "dnsZone": "1b4e2caff2530" }, "location": "japaneast", - "tags": { - - }, + "tags": {}, "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", "name": "testinstance", "type": "Microsoft.Sql/managedInstances" @@ -83,4 +79,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json index 1b1db6fb5f6a..88db0c8b5a4f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2015-05-01-preview" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2015-05-01-preview" }, - "responses" : { - "200" : { - "body" : "" + "responses": { + "200": { + "body": "" }, - "202" : {}, - "204" : { - "body" : "" + "202": {}, + "204": { + "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceGet.json index 6951eb9f6334..d81c083a4af4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceGet.json @@ -1,12 +1,12 @@ { - "parameters" : { - "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2015-05-01-preview" + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2015-05-01-preview" }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "sku": { "name": "GP_Gen4", @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceList.json index d34540b24f5b..640b037c3ba0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceList.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", - "api-version" : "2015-05-01-preview" + "api-version": "2015-05-01-preview" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "location": "japaneast", @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json index 078955c03c4c..6854701b04b7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByResourceGroup.json index 57fc3c367920..a08933264aac 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMax.json index 672c99ee76bd..f60ec5b9c93e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMax.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2015-05-01-preview", - "parameters" : { - "tags" : { - "tagKey1" : "TagValue1" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2015-05-01-preview", + "parameters": { + "tags": { + "tagKey1": "TagValue1" }, - "sku" : { - "name" : "GP_Gen4", - "tier" : "GeneralPurpose", - "capacity" : 8 + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8 }, "properties": { "administratorLogin": "dummylogin", @@ -25,8 +25,8 @@ } } }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "tags": { "tagKey1": "TagValue1" @@ -57,6 +57,6 @@ } } }, - "202" : {} + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMin.json index c755d6f3158b..b67afb7b384f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceUpdateMin.json @@ -1,8 +1,8 @@ { "parameters": { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", "api-version": "2015-05-01-preview", "parameters": { "tags": { @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorGet.json index 5c53228b412b..0b5a03f11e28 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "advisorName": "CreateIndex", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorList.json index 8b37c041f99e..2382764eff11 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorList.json @@ -1,74 +1,74 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", - "name": "DropIndex", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", - "name": "DbParameterization", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue", - "name": "SchemaIssue", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PublicPreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", - "name": "ForceLastGoodPlan", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PrivatePreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue", + "name": "SchemaIssue", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PublicPreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default" + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorUpdate.json index ca9c83e2e472..602a0a8ec2a8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerAdvisorUpdate.json @@ -1,30 +1,30 @@ { - "parameters" : { - "subscriptionId" : "00000000-1111-2222-3333-444444444444", - "resourceGroupName" : "workloadinsight-demos", - "serverName" : "misosisvr", - "advisorName" : "CreateIndex", - "api-version" : "2015-05-01-preview", - "parameters" : { - "properties" : { - "autoExecuteStatus" : "Disabled" - } - } - }, - "responses" : { - "200" : { - "body" : { - "kind" : "", - "properties" : { - "advisorStatus" : "GA", - "autoExecuteStatus" : "Disabled", - "autoExecuteStatusInheritedFrom" : "Server" - }, - "location" : "East Asia", - "id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name" : "CreateIndex", - "type" : "Microsoft.Sql/servers/advisors" - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "advisorName": "CreateIndex", + "api-version": "2015-05-01-preview", + "parameters": { + "properties": { + "autoExecuteStatus": "Disabled" + } + } + }, + "responses": { + "200": { + "body": { + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Server" + }, + "location": "East Asia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors" + } + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMax.json index b5fcc8866d50..fbe464975c3a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMax.json @@ -57,4 +57,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMin.json index 905d494a2846..cc18a631a676 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerCreateMin.json @@ -45,4 +45,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json index 4b6af1da783f..2dd4eb5578fc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerGet.json index 1080906c242b..57afb4bab41f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerGet.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json index 5ede49beff47..558c44cd4827 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json @@ -1,48 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "keyName": "someVault_someKey_01234567890123456789012345678901", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "serverName": "sqlcrudtest-4645", - "keyName": "someVault_someKey_01234567890123456789012345678901", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" - } + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers/keys", + "location": "Japan East", + "kind": "azurekeyvault", + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", + "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", + "creationDate": "2017-05-01T00:00:00.0Z" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", - "name": "sqlcrudtest-4645", - "type": "Microsoft.Sql/servers/keys", - "location": "Japan East", - "kind": "azurekeyvault", - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", - "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", - "creationDate": "2017-05-01T00:00:00.0Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", - "name": "sqlcrudtest-4645", - "type": "Microsoft.Sql/servers/keys", - "location": "Japan East", - "kind": "azurekeyvault", - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", - "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", - "creationDate": "2017-05-01T00:00:00.0Z" - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers/keys", + "location": "Japan East", + "kind": "azurekeyvault", + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", + "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", + "creationDate": "2017-05-01T00:00:00.0Z" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json index 46b4c0611e65..5762754693a7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyGet.json index d3ff57e6a151..1619b8ae3882 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyList.json index c8d6d212d815..1934d5232ebd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyList.json @@ -45,8 +45,8 @@ "serverKeyType": "ServiceManaged" } } - ] + ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerList.json index 05bc1ee40c4c..bac27b255d27 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerList.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerListByResourceGroup.json index d3d8cc1083cb..2a58fe8078eb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerListByResourceGroup.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json index b1dc1ae5f4b2..dc0241d75402 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json @@ -1,626 +1,626 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "api-version": "2015-05-01-preview", - "$expand": "recommendedActions" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Server", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:04Z", - "lastRefresh": "2017-03-01T14:38:04Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-06-20T15:15:40Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 1440.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 209.3125 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money],[Power]", - "includedColumns": "[Hour], [System], [LastChanged]", - "databaseName": "IndexAdvisor_test_3" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 17.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 128.0 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[Employees]", - "indexColumns": "[City], [State]", - "includedColumns": "[Postal]", - "databaseName": "IndexAdvisor_test_3" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "User", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 5040.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 120.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.9 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": -12.7, - "changeValueRelative": -0.3175 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 12.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 1.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 130.742187 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[DataPoints]", - "indexColumns": "[Name],[Money]", - "includedColumns": "[Power],[Pineapple]", - "indexActionStartTime": "2017-03-01T14:38:05.337", - "indexActionDuration": "00:01:00", - "databaseName": "IndexAdvisor_test_3" - } - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "api-version": "2015-05-01-preview", + "$expand": "recommendedActions" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Server", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "name": "IR_[CRM]_[DataPoints]_4821CD2F9510D98184BB", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:04Z", + "lastRefresh": "2017-03-01T14:38:04Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-06-20T15:15:40Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B] ON [CRM].[DataPoints] ([Name],[Money],[Power]) INCLUDE ([Hour], [System], [LastChanged]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 1440.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 209.3125 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", - "name": "DropIndex", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", - "name": "IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [MyIndex123] ON [CRM].[DataPoints1]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 803.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 144.6875 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "MyIndex123", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints1]", - "indexColumns": "[Cookies],[SessionId]", - "includedColumns": "[Apple]", - "databaseName": "IndexAdvisor_test_3" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", - "name": "IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "User", - "lastModified": "2017-03-01T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "User", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [MyIndex321] ON [CRM].[DataPoints2] ([Cookies],[SessionId],[Protocol]) INCLUDE ([Apple]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 705.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": -342.0 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "MyIndex321", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints2]", - "indexColumns": "[Cookies],[SessionId],[Protocol]", - "includedColumns": "[Apple]", - "indexActionStartTime": "2017-03-01T14:38:05.697", - "indexActionDuration": "00:01:00", - "databaseName": "IndexAdvisor_test_3" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", - "name": "IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Duplicate", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Success", - "actionInitiatedBy": "System", - "lastModified": "2017-02-28T14:38:05Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionStartTime": "2017-03-01T14:38:05Z", - "executeActionDuration": "PT1M", - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-01T14:38:05Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "CREATE NONCLUSTERED INDEX [IX_FF] ON [dbo].[FactFinance] ([FinanceKey],[DateKey]) INCLUDE ([OrganizationKey]) WITH (ONLINE = ON)" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 705.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ - { - "dimensionName": "AffectedQueriesCpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "CpuUtilization", - "unit": "CpuCores", - "changeValueAbsolute": 0.0, - "changeValueRelative": 0.0 - }, - { - "dimensionName": "QueriesWithImprovedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "QueriesWithRegressedPerformance", - "unit": "Count", - "absoluteValue": 0.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": -342.0 - }, - { - "dimensionName": "VerificationProgress", - "unit": "Percent", - "absoluteValue": 0.0 - } - ], - "timeSeries": [ ], - "details": { - "indexName": "IX_FF", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[dbo]", - "table": "[FactFinance]", - "indexColumns": "[FinanceKey],[DateKey]", - "includedColumns": "[OrganizationKey]", - "indexActionStartTime": "2017-03-01T14:38:05.837", - "indexActionDuration": "00:01:00", - "databaseName": "IndexAdvisor_test_3" - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", - "name": "IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "Unused", - "validSince": "2017-03-01T14:38:05Z", - "lastRefresh": "2017-03-01T14:38:05Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-03-23T14:14:35Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-03-23T14:14:35Z", - "score": 1, - "implementationDetails": { - "method": "TSql", - "script": "DROP INDEX [IX_FF] ON [CRM].[DataPoints1]" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "ActionDuration", - "unit": "Seconds", - "absoluteValue": 645.0 - }, - { - "dimensionName": "SpaceChange", - "unit": "Megabytes", - "absoluteValue": 342.0 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "indexName": "IX_FF", - "originalIndexName": "IX_COM_SKU_SKUDepartmentID", - "indexType": "NONCLUSTERED", - "schema": "[CRM]", - "table": "[DataPoints1]", - "indexColumns": "[Protocol],[SessionId]", - "includedColumns": "[Apple]", - "databaseName": "IndexAdvisor_test_3" - } - } - } - ] + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_B892614093BAC56295EF6018BD4CB51B", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money],[Power]", + "includedColumns": "[Hour], [System], [LastChanged]", + "databaseName": "IndexAdvisor_test_3" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "name": "IR_[dbo]_[Employees]_560E15A98D14CA09BDFB", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE] ON [dbo].[Employees] ([City], [State]) INCLUDE ([Postal]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 17.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 128.0 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "nci_wi_Employees_8C18C2AF4267DC77793040782641CCDE", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[Employees]", + "indexColumns": "[City], [State]", + "includedColumns": "[Postal]", + "databaseName": "IndexAdvisor_test_3" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex/recommendedActions/IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "name": "IR_[dbo]_[DataPoints]_F5D2F347AA22DB46E4CC", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "User", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC] ON [dbo].[DataPoints]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 5040.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 120.0 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", - "name": "DbParameterization", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "GA", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization/recommendedActions/ForceDbParameterization", - "name": "ForceDbParameterization", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "", - "validSince": "2017-03-01T14:37:44Z", - "lastRefresh": "2017-03-01T14:37:44Z", - "state": { - "currentValue": "Pending", - "actionInitiatedBy": "System", - "lastModified": "2017-05-11T15:08:31Z" - }, - "isExecutableAction": true, - "isRevertableAction": true, - "isArchivedAction": false, - "executeActionInitiatedBy": "System", - "executeActionInitiatedTime": "2017-05-11T15:08:31Z", - "score": 3, - "implementationDetails": { - "method": "TSql", - "script": "ALTER DATABASE [IndexAdvisor_test_3] SET PARAMETERIZATION FORCED" - }, - "errorDetails": { }, - "estimatedImpact": [ - { - "dimensionName": "CpuSavings", - "unit": "Percent", - "changeValueAbsolute": 22.5613696939135 - }, - { - "dimensionName": "QueryDurationDecrease", - "unit": "secs", - "changeValueAbsolute": 0.701823681806341 - } - ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "databaseName": "IndexAdvisor_test_3" - } - } - } - ] + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.9 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": -12.7, + "changeValueRelative": -0.3175 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 12.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 1.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 130.742187 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue", - "name": "SchemaIssue", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PublicPreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendedActions": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue/recommendedActions/SchemaProblem_1A258C5714A7410C9D23", - "name": "SchemaProblem_1A258C5714A7410C9D23", - "type": "Microsoft.Sql/servers/advisors/recommendedActions", - "location": "East Asia", - "kind": "", - "properties": { - "recommendationReason": "SchemaProblem", - "validSince": "2017-03-01T14:37:48Z", - "lastRefresh": "2017-06-07T22:19:53Z", - "state": { - "currentValue": "Active", - "lastModified": "2017-03-01T14:37:48Z" - }, - "isExecutableAction": false, - "isRevertableAction": false, - "isArchivedAction": false, - "score": 3, - "implementationDetails": { }, - "errorDetails": { }, - "estimatedImpact": [ ], - "observedImpact": [ ], - "timeSeries": [ ], - "details": { - "sqlErrorNumber": 208, - "sqlErrorMessage": "Invalid object name 'dbo.Companies'.", - "sqlErrorCount": 342482, - "databaseName": "IndexAdvisor_test_3" - } - } - } - ] + ], + "timeSeries": [], + "details": { + "indexName": "nci_wi_DataPoints_609E4B7D6A3813990ED44B28B340C8FC", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[DataPoints]", + "indexColumns": "[Name],[Money]", + "includedColumns": "[Power],[Pineapple]", + "indexActionStartTime": "2017-03-01T14:38:05.337", + "indexActionDuration": "00:01:00", + "databaseName": "IndexAdvisor_test_3" + } + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", + "name": "IR_[CRM]_[DataPoints1]_29AEA82685D24704DE1A", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [MyIndex123] ON [CRM].[DataPoints1]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 803.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 144.6875 } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", - "name": "ForceLastGoodPlan", - "type": "Microsoft.Sql/servers/advisors", - "location": "East Asia", - "kind": "", - "properties": { - "advisorStatus": "PrivatePreview", - "autoExecuteStatus": "Disabled", - "autoExecuteStatusInheritedFrom": "Default", - "recommendedActions": [ ] + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "MyIndex123", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints1]", + "indexColumns": "[Cookies],[SessionId]", + "includedColumns": "[Apple]", + "databaseName": "IndexAdvisor_test_3" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", + "name": "IR_[CRM]_[DataPoints2]_E4B21F229379807E531A", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "User", + "lastModified": "2017-03-01T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "User", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [MyIndex321] ON [CRM].[DataPoints2] ([Cookies],[SessionId],[Protocol]) INCLUDE ([Apple]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 705.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 + } + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": -342.0 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 + } + ], + "timeSeries": [], + "details": { + "indexName": "MyIndex321", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints2]", + "indexColumns": "[Cookies],[SessionId],[Protocol]", + "includedColumns": "[Apple]", + "indexActionStartTime": "2017-03-01T14:38:05.697", + "indexActionDuration": "00:01:00", + "databaseName": "IndexAdvisor_test_3" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", + "name": "IR_[dbo]_[FactFinance]_13ADA5F354E9E14A983B", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Duplicate", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Success", + "actionInitiatedBy": "System", + "lastModified": "2017-02-28T14:38:05Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionStartTime": "2017-03-01T14:38:05Z", + "executeActionDuration": "PT1M", + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-01T14:38:05Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "CREATE NONCLUSTERED INDEX [IX_FF] ON [dbo].[FactFinance] ([FinanceKey],[DateKey]) INCLUDE ([OrganizationKey]) WITH (ONLINE = ON)" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 705.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 } + ], + "observedImpact": [ + { + "dimensionName": "AffectedQueriesCpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "CpuUtilization", + "unit": "CpuCores", + "changeValueAbsolute": 0.0, + "changeValueRelative": 0.0 + }, + { + "dimensionName": "QueriesWithImprovedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "QueriesWithRegressedPerformance", + "unit": "Count", + "absoluteValue": 0.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": -342.0 + }, + { + "dimensionName": "VerificationProgress", + "unit": "Percent", + "absoluteValue": 0.0 + } + ], + "timeSeries": [], + "details": { + "indexName": "IX_FF", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[dbo]", + "table": "[FactFinance]", + "indexColumns": "[FinanceKey],[DateKey]", + "includedColumns": "[OrganizationKey]", + "indexActionStartTime": "2017-03-01T14:38:05.837", + "indexActionDuration": "00:01:00", + "databaseName": "IndexAdvisor_test_3" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex/recommendedActions/IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", + "name": "IR_[CRM]_[DataPoints1]_13ADA5F354E9E14A983B", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "Unused", + "validSince": "2017-03-01T14:38:05Z", + "lastRefresh": "2017-03-01T14:38:05Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-03-23T14:14:35Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-03-23T14:14:35Z", + "score": 1, + "implementationDetails": { + "method": "TSql", + "script": "DROP INDEX [IX_FF] ON [CRM].[DataPoints1]" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "ActionDuration", + "unit": "Seconds", + "absoluteValue": 645.0 + }, + { + "dimensionName": "SpaceChange", + "unit": "Megabytes", + "absoluteValue": 342.0 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "indexName": "IX_FF", + "originalIndexName": "IX_COM_SKU_SKUDepartmentID", + "indexType": "NONCLUSTERED", + "schema": "[CRM]", + "table": "[DataPoints1]", + "indexColumns": "[Protocol],[SessionId]", + "includedColumns": "[Apple]", + "databaseName": "IndexAdvisor_test_3" + } + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "GA", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization/recommendedActions/ForceDbParameterization", + "name": "ForceDbParameterization", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "", + "validSince": "2017-03-01T14:37:44Z", + "lastRefresh": "2017-03-01T14:37:44Z", + "state": { + "currentValue": "Pending", + "actionInitiatedBy": "System", + "lastModified": "2017-05-11T15:08:31Z" + }, + "isExecutableAction": true, + "isRevertableAction": true, + "isArchivedAction": false, + "executeActionInitiatedBy": "System", + "executeActionInitiatedTime": "2017-05-11T15:08:31Z", + "score": 3, + "implementationDetails": { + "method": "TSql", + "script": "ALTER DATABASE [IndexAdvisor_test_3] SET PARAMETERIZATION FORCED" + }, + "errorDetails": {}, + "estimatedImpact": [ + { + "dimensionName": "CpuSavings", + "unit": "Percent", + "changeValueAbsolute": 22.5613696939135 + }, + { + "dimensionName": "QueryDurationDecrease", + "unit": "secs", + "changeValueAbsolute": 0.701823681806341 + } + ], + "observedImpact": [], + "timeSeries": [], + "details": { + "databaseName": "IndexAdvisor_test_3" + } + } + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue", + "name": "SchemaIssue", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PublicPreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendedActions": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/SchemaIssue/recommendedActions/SchemaProblem_1A258C5714A7410C9D23", + "name": "SchemaProblem_1A258C5714A7410C9D23", + "type": "Microsoft.Sql/servers/advisors/recommendedActions", + "location": "East Asia", + "kind": "", + "properties": { + "recommendationReason": "SchemaProblem", + "validSince": "2017-03-01T14:37:48Z", + "lastRefresh": "2017-06-07T22:19:53Z", + "state": { + "currentValue": "Active", + "lastModified": "2017-03-01T14:37:48Z" + }, + "isExecutableAction": false, + "isRevertableAction": false, + "isArchivedAction": false, + "score": 3, + "implementationDetails": {}, + "errorDetails": {}, + "estimatedImpact": [], + "observedImpact": [], + "timeSeries": [], + "details": { + "sqlErrorNumber": 208, + "sqlErrorMessage": "Invalid object name 'dbo.Companies'.", + "sqlErrorCount": 342482, + "databaseName": "IndexAdvisor_test_3" + } } + } ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/advisors", + "location": "East Asia", + "kind": "", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteStatus": "Disabled", + "autoExecuteStatusInheritedFrom": "Default", + "recommendedActions": [] + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMax.json index e49fc127294b..0df67afe1759 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMax.json @@ -39,4 +39,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMin.json index f1d6971479a2..ed6885769e72 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerUpdateMin.json @@ -33,4 +33,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageGet.json index 2a1a92cb6eaa..ff8475496a91 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageGet.json @@ -1,30 +1,23 @@ { - "parameters": - { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "WestUS", - "usageName": "ServerQuota", - "api-version": "2015-05-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "WestUS", + "usageName": "ServerQuota", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "Regional Server Quota for West US", + "currentValue": 1.0, + "limit": 20.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", + "name": "ServerQuota", + "type": "Microsoft.Sql/locations/usages" + } } - , - "responses": - { - "200": - { - "body": - { - "properties": - { - "displayName": "Regional Server Quota for West US", - "currentValue": 1.0, - "limit": 20.0, - "unit": "Count" - } - , - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", - "name": "ServerQuota", - "type": "Microsoft.Sql/locations/usages" - } - } - } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageListByLocation.json index c4933a612680..92ea1b8c7259 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SubscriptionUsageListByLocation.json @@ -1,44 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "WestUS", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "properties": { - "displayName": "Regional Server Quota for West US", - "currentValue": 1.0, - "limit": 20.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", - "name": "ServerQuota", - "type": "Microsoft.Sql/locations/usages" - }, { - "properties": { - "displayName": "Free Database Count per Subscription for West US", - "currentValue": 0.0, - "limit": 1.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseCount", - "name": "SubscriptionFreeDatabaseCount", - "type": "Microsoft.Sql/locations/usages" - }, { - "properties": { - "displayName": "Free to Basic Database Upgrade count-down in West US", - "currentValue": 365.0, - "limit": 365.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseDaysLeft", - "name": "SubscriptionFreeDatabaseDaysLeft", - "type": "Microsoft.Sql/locations/usages" - }] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "WestUS", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "Regional Server Quota for West US", + "currentValue": 1.0, + "limit": 20.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", + "name": "ServerQuota", + "type": "Microsoft.Sql/locations/usages" + }, + { + "properties": { + "displayName": "Free Database Count per Subscription for West US", + "currentValue": 0.0, + "limit": 1.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseCount", + "name": "SubscriptionFreeDatabaseCount", + "type": "Microsoft.Sql/locations/usages" + }, + { + "properties": { + "displayName": "Free to Basic Database Upgrade count-down in West US", + "currentValue": 365.0, + "limit": 365.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseDaysLeft", + "name": "SubscriptionFreeDatabaseDaysLeft", + "type": "Microsoft.Sql/locations/usages" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json index 35a9bb835ddc..495bace0df8d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json @@ -1,47 +1,47 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "201": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "201": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json index 35a9bb835ddc..495bace0df8d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json @@ -1,47 +1,47 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "201": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "201": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json index d352f0116a17..9e69538042b9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json @@ -1,21 +1,20 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": { + "body": "" + }, + "204": { + "body": "" } + } } - diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGenerateKey.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGenerateKey.json index d5abe59b8df2..8323e16bd9d4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGenerateKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGenerateKey.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "syncAgentKey": "865f9998-6dae-4214-bbb1-4796b7c76ca0:0Axt2fR1GSYDQPcSbS72bYH9jzWus2Kbm1phxvCvwpH=:fU5mbtZLp387bUK8z4qOTUewbP7MuFUXoWr09xlbUCwguFCkjWWuXw6yoSCKxWRAKbB=" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "syncAgentKey": "865f9998-6dae-4214-bbb1-4796b7c76ca0:0Axt2fR1GSYDQPcSbS72bYH9jzWus2Kbm1phxvCvwpH=:fU5mbtZLp387bUK8z4qOTUewbP7MuFUXoWr09xlbUCwguFCkjWWuXw6yoSCKxWRAKbB=" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGet.json index 6285b037f57c..d14fe5a1eeb5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json index 003ff274aabe..c71885ec946e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "databaseType": "SqlServerDatabase", - "databaseId": "55555555-6666-7777-8888-999999999999", - "description": "", - "serverName": "DummySqlServer", - "databaseName": "DummySqlServerDb", - "userName": "DummyUser" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187/linkedDatabases/55555555-6666-7777-8888-999999999999" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "databaseType": "SqlServerDatabase", + "databaseId": "55555555-6666-7777-8888-999999999999", + "description": "", + "serverName": "DummySqlServer", + "databaseName": "DummySqlServerDb", + "userName": "DummyUser" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187/linkedDatabases/55555555-6666-7777-8888-999999999999" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentListByServer.json index 1d16aceda674..197bf8ee04fa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentListByServer.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json index 35a9bb835ddc..495bace0df8d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json @@ -1,47 +1,47 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncagentcrud-65440", + "serverName": "syncagentcrud-8475", + "syncAgentName": "syncagentcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncagentcrud-65440", - "serverName": "syncagentcrud-8475", - "syncAgentName": "syncagentcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "201": { - "body": { - "properties": { - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", - "state": "NeverConnected", - "isUpToDate": true, - "expiryTime": "9999-12-31T23:59:59.9999999Z", - "version": "4.2.0.0" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", - "name": "syncagent", - "type": "Microsoft.Sql/servers/syncAgents" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "201": { + "body": { + "properties": { + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/databases/sync", + "state": "NeverConnected", + "isUpToDate": true, + "expiryTime": "9999-12-31T23:59:59.9999999Z", + "version": "4.2.0.0" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/syncagentcrud-8475/syncAgents/syncagentcrud-3187", + "name": "syncagent", + "type": "Microsoft.Sql/servers/syncAgents" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCancelSync.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCancelSync.json index ea12e4ef2804..14b9f783a4f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCancelSync.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCancelSync.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json index 87c283049ae5..effe921ae286 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "201": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "201": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json index 87c283049ae5..effe921ae286 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "201": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "201": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json index 1dadeb070eda..238ffe162c60 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": { + "body": "" + }, + "204": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGet.json index 96c329cdb494..b2103eb956d5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetHubSchema.json index 95e3ee2026bd..5c162fd9eebb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetHubSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetHubSchema.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "tables": [ - { - "columns": [ - { - "dataSize": "4", - "dataType": "int", - "hasError": false, - "isPrimaryKey": false, - "name": "intField", - "quotedName": "[intField]" - }, - { - "dataSize": "100", - "dataType": "nvarchar", - "hasError": false, - "isPrimaryKey": false, - "name": "charField", - "quotedName": "[charField]" - } - ], - "errorId": "Schema_TableHasNoPrimaryKey", - "hasError": true, - "name": "dbo.myTable", - "quotedName": "[dbo].[myTable]" - } - ], - "lastUpdateTime": "2017-05-30T07:16:08.21Z" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tables": [ + { + "columns": [ + { + "dataSize": "4", + "dataType": "int", + "hasError": false, + "isPrimaryKey": false, + "name": "intField", + "quotedName": "[intField]" + }, + { + "dataSize": "100", + "dataType": "nvarchar", + "hasError": false, + "isPrimaryKey": false, + "name": "charField", + "quotedName": "[charField]" + } + ], + "errorId": "Schema_TableHasNoPrimaryKey", + "hasError": true, + "name": "dbo.myTable", + "quotedName": "[dbo].[myTable]" + } + ], + "lastUpdateTime": "2017-05-30T07:16:08.21Z" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetLog.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetLog.json index 57977785b1eb..661e80db3c6d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetLog.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetLog.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "startTime": "2017-01-01T00:00:00", - "endTime": "2017-12-31T00:00:00", - "type": "All", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timestamp": "2017-05-30T07:16:08.25Z", - "type": "Success", - "source": "syncgroupcrud-8475.database.windows.net/hub", - "details": "Schema information obtained successfully.", - "tracingId": "c0480c8e-6269-424e-9404-b00efce0ebae", - "operationStatus": "SchemaRefreshSuccess" - }, - { - "timestamp": "2017-05-30T07:03:37.5733333Z", - "type": "Error", - "source": "syncgroupcrud-8475.database.windows.net/member", - "details": "Getting schema information for the database failed with the exception \"Failed to connect to server .\nInner exception: SqlException Error Code: -2146232060 - SqlError Number:53, Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) \nInner exception: The network path was not found\n For more information, provide tracing ID ‘cd3aa28c-0c31-471f-8a77-f1b21c908cbd’ to customer support.\"", - "tracingId": "cd3aa28c-0c31-471f-8a77-f1b21c908cbd", - "operationStatus": "SchemaRefreshFailure" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "startTime": "2017-01-01T00:00:00", + "endTime": "2017-12-31T00:00:00", + "type": "All", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timestamp": "2017-05-30T07:16:08.25Z", + "type": "Success", + "source": "syncgroupcrud-8475.database.windows.net/hub", + "details": "Schema information obtained successfully.", + "tracingId": "c0480c8e-6269-424e-9404-b00efce0ebae", + "operationStatus": "SchemaRefreshSuccess" + }, + { + "timestamp": "2017-05-30T07:03:37.5733333Z", + "type": "Error", + "source": "syncgroupcrud-8475.database.windows.net/member", + "details": "Getting schema information for the database failed with the exception \"Failed to connect to server .\nInner exception: SqlException Error Code: -2146232060 - SqlError Number:53, Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) \nInner exception: The network path was not found\n For more information, provide tracing ID ‘cd3aa28c-0c31-471f-8a77-f1b21c908cbd’ to customer support.\"", + "tracingId": "cd3aa28c-0c31-471f-8a77-f1b21c908cbd", + "operationStatus": "SchemaRefreshFailure" + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json index d67991ef5937..72b077f559b8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "westus", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "westus", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328" + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupListByDatabase.json index de9ea8599ae9..c72084023a04 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupListByDatabase.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - }, - { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-5374", - "name": "syncgroupcrud-5374", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + }, + { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-5374", + "name": "syncgroupcrud-5374", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json index 2fdb149db237..df336358a198 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json @@ -1,40 +1,40 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "hubDatabasePassword": "hubPassword" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroup", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "hubDatabasePassword": "hubPassword" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroup", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json index 05b1992fb350..747eb50d734f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json @@ -1,15 +1,14 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { }, - "202": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } } - diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupTriggerSync.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupTriggerSync.json index ea12e4ef2804..14b9f783a4f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupTriggerSync.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupTriggerSync.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json index 87c283049ae5..effe921ae286 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "201": { - "body": { - "properties": { - "interval": -1, - "lastSyncTime": "0001-01-01T08:00:00Z", - "conflictResolutionPolicy": "HubWin", - "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", - "hubDatabaseUserName": "hubUser", - "syncState": "NotReady" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", - "name": "syncgroupcrud-3187", - "type": "Microsoft.Sql/servers/databases/syncGroups" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "201": { + "body": { + "properties": { + "interval": -1, + "lastSyncTime": "0001-01-01T08:00:00Z", + "conflictResolutionPolicy": "HubWin", + "syncDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328", + "hubDatabaseUserName": "hubUser", + "syncState": "NotReady" }, - "202": { - "body": "" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-3521/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187", + "name": "syncgroupcrud-3187", + "type": "Microsoft.Sql/servers/databases/syncGroups" + } + }, + "202": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreate.json index 11cf6bdf8aa7..9fda57b47f65 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "201": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "201": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "202": {} - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json index 11cf6bdf8aa7..9fda57b47f65 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "201": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "201": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "202": {} - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json index 685cda3f376d..e4202edea494 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGet.json index 78a1dd7cb07d..ffd7eb45d996 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGetSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGetSchema.json index 13f52aae6770..b5ab949f3c2f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGetSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberGetSchema.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "tables": [ - { - "columns": [ - { - "dataSize": "4", - "dataType": "int", - "hasError": false, - "isPrimaryKey": false, - "name": "intField", - "quotedName": "[intField]" - }, - { - "dataSize": "100", - "dataType": "nvarchar", - "hasError": false, - "isPrimaryKey": false, - "name": "charField", - "quotedName": "[charField]" - } - ], - "errorId": "Schema_TableHasNoPrimaryKey", - "hasError": true, - "name": "dbo.myTable", - "quotedName": "[dbo].[myTable]" - } - ], - "lastUpdateTime": "2017-05-30T07:16:08.21Z" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tables": [ + { + "columns": [ + { + "dataSize": "4", + "dataType": "int", + "hasError": false, + "isPrimaryKey": false, + "name": "intField", + "quotedName": "[intField]" + }, + { + "dataSize": "100", + "dataType": "nvarchar", + "hasError": false, + "isPrimaryKey": false, + "name": "charField", + "quotedName": "[charField]" + } + ], + "errorId": "Schema_TableHasNoPrimaryKey", + "hasError": true, + "name": "dbo.myTable", + "quotedName": "[dbo].[myTable]" + } + ], + "lastUpdateTime": "2017-05-30T07:16:08.21Z" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json index 8c927884ad7f..47c9cbeb312f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberPatch.json index dae69b194609..261342aacbea 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberPatch.json @@ -1,39 +1,39 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } - }, - "202": {} + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + } } + }, + "responses": { + "200": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberRefreshSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberRefreshSchema.json index b5400a1667fe..4a606be9f911 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberRefreshSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberRefreshSchema.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { }, - "202": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberUpdate.json index 11cf6bdf8aa7..9fda57b47f65 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberUpdate.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "syncgroupcrud-65440", + "serverName": "syncgroupcrud-8475", + "databaseName": "syncgroupcrud-4328", + "syncGroupName": "syncgroupcrud-3187", + "syncMemberName": "syncgroupcrud-4879", + "api-version": "2015-05-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "syncgroupcrud-65440", - "serverName": "syncgroupcrud-8475", - "databaseName": "syncgroupcrud-4328", - "syncGroupName": "syncgroupcrud-3187", - "syncMemberName": "syncgroupcrud-4879", - "api-version": "2015-05-01-preview", - "parameters": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "201": { - "body": { - "properties": { - "databaseType": "AzureSqlDatabase", - "serverName": "syncgroupcrud-3379.database.windows.net", - "databaseName": "syncgroupcrud-7421", - "userName": "myUser", - "syncDirection": "Bidirectional", - "syncState": "UnProvisioned" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", - "name": "syncgroupcrud-4879", - "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "201": { + "body": { + "properties": { + "databaseType": "AzureSqlDatabase", + "serverName": "syncgroupcrud-3379.database.windows.net", + "databaseName": "syncgroupcrud-7421", + "userName": "myUser", + "syncDirection": "Bidirectional", + "syncState": "UnProvisioned" }, - "202": {} - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncgroupcrud-4879", + "name": "syncgroupcrud-4879", + "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json index 3f42e93cfa03..a74d86bebcd1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", - "resourceGroupName": "testrg", - "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "api-version": "2015-05-01-preview" + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName": "testrg", + "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses" : { - "200" : { - "body" : "" - }, - "202" : {}, - "204" : { - "body" : "" - } + "202": {}, + "204": { + "body": "" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json index db15c5f86827..0ecd2b9c0ea1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", - "resourceGroupName": "testrg", - "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "family": "Gen4", - "childResources": [ - "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1", - "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2" - ] - }, - "location": "westeurope", - "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "type": "Microsoft.Sql/virtualClusters" - } - } + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName": "testrg", + "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "family": "Gen4", + "childResources": [ + "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1", + "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2" + ] + }, + "location": "westeurope", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "type": "Microsoft.Sql/virtualClusters" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json index f0a6716337b5..761f92f9c717 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json @@ -1,37 +1,39 @@ { - "parameters" : { - "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", - "api-version" : "2015-05-01-preview" + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "api-version": "2015-05-01-preview" }, - "responses" : { - "200" : { - "body" : { - "value" : [{ - "properties" : { + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", "family": "Gen4", - "childResources" : [ + "childResources": [ "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1", "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2" ] }, - "location" : "westeurope", - "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "name" : "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "type" : "Microsoft.Sql/virtualClusters" - }, { - "properties" : { + "location": "westeurope", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "type": "Microsoft.Sql/virtualClusters" + }, + { + "properties": { "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", "family": "Gen5", - "childResources" : [ + "childResources": [ "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance3", "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance4" ] }, - "location" : "westeurope", + "location": "westeurope", "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", - "name" : "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", - "type" : "Microsoft.Sql/virtualClusters" + "name": "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", + "type": "Microsoft.Sql/virtualClusters" } ] } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json index 09c91aaad600..f855ba32614c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json @@ -1,38 +1,40 @@ { - "parameters" : { - "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", - "resourceGroupName" : "testrg", - "api-version" : "2015-05-01-preview" + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName": "testrg", + "api-version": "2015-05-01-preview" }, - "responses" : { - "200" : { - "body" : { - "value" : [{ - "properties" : { + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", "family": "Gen4", - "childResources" : [ + "childResources": [ "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1", "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2" ] }, - "location" : "westeurope", - "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "name" : "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", - "type" : "Microsoft.Sql/virtualClusters" - }, { - "properties" : { + "location": "westeurope", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2", + "type": "Microsoft.Sql/virtualClusters" + }, + { + "properties": { "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", "family": "Gen4", - "childResources" : [ + "childResources": [ "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance3", "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance4" ] }, - "location" : "westeurope", - "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", - "name" : "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", - "type" : "Microsoft.Sql/virtualClusters" + "location": "westeurope", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", + "name": "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16", + "type": "Microsoft.Sql/virtualClusters" } ] } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json index ca3bb3311102..d96b651bbffa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json @@ -31,4 +31,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json index 9a5a48c9db0f..cf3d8ca0b193 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2015-05-01-preview", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.Sql/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.Sql/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.Sql/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.Sql/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json index 2a8b48dd5594..2d286d52e7c8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesGet.json index 05c8cbd8f9fe..d27a47ec7447 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.Sql/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.Sql/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesList.json index 7b823b01651d..0d8cbc16e7da 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.Sql/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.Sql/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.Sql/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.Sql/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json index d7f263977af6..665da874d583 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json @@ -671,4 +671,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/firewallRules.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/firewallRules.json index 84c6984bc775..33d05daca8f3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/firewallRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/firewallRules.json @@ -438,4 +438,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/operations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/operations.json index 321227b07447..f88d4ef6e03f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/operations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/operations.json @@ -199,4 +199,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json index 9bb9a5bf3e96..0b5fce2f1b7f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json @@ -354,4 +354,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/servers.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/servers.json index a0a386c83c18..6b0a93e10d67 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/servers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/servers.json @@ -444,4 +444,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncAgents.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncAgents.json index fb223eb22bc2..c4b17aff90e0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncAgents.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncAgents.json @@ -569,4 +569,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json index aeffda81a886..17c59eea5683 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json @@ -1072,4 +1072,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json index 419a1b9835d4..0d1dc1e26313 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json @@ -763,4 +763,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/usages.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/usages.json index 9508cd8d5489..117d2fbb9cfe 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/usages.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/usages.json @@ -257,4 +257,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json index c220bbf2fca3..0636163c2904 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json @@ -371,4 +371,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json index 2a0b9b040157..b7cdcc5dcc4d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json @@ -450,4 +450,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedBackupShortTermRetention.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedBackupShortTermRetention.json index 4c45ce963829..2be97f2395f5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedBackupShortTermRetention.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedBackupShortTermRetention.json @@ -428,4 +428,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json index d2689712b89b..a53d44f96e12 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json @@ -406,4 +406,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedRestorableDroppedDatabaseBackupShortTermRetenion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedRestorableDroppedDatabaseBackupShortTermRetenion.json index 0c60a68988ee..ff9e4d00883a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedRestorableDroppedDatabaseBackupShortTermRetenion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedRestorableDroppedDatabaseBackupShortTermRetenion.json @@ -440,4 +440,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json index 24664c4631eb..eb8c8e3bbef4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json @@ -371,4 +371,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json index 8db4117553d7..2dccfe7db6d6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json @@ -838,4 +838,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/cancelOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/cancelOperations.json index 7af807867dbf..4f0e0b5b98de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/cancelOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/cancelOperations.json @@ -335,4 +335,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/dataWarehouseUserActivities.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/dataWarehouseUserActivities.json index ccd361e0df59..81fed9409b2c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/dataWarehouseUserActivities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/dataWarehouseUserActivities.json @@ -199,4 +199,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json index 2fb99ff46b5a..b4e0d88f6557 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json @@ -411,4 +411,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json index 8a97f00afc0c..725c54f4dde6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json @@ -449,4 +449,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databases.json index 63cca91c8cbf..738d9589c329 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databases.json @@ -978,4 +978,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json index 884b2b396790..0ed12e4708b8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelJobExecution.json index 0fcc35717d61..2bf4fef8ed0c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelJobExecution.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelDelete.json index d696fb91ed5e..c718e2921d3c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelDelete.json @@ -1,17 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelGet.json index c887c51473ac..e80432f59b71 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ColumnSensitivityLabelGet.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CompleteManagedRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CompleteManagedRestore.json index 404be24e99b4..af4192e8f44b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CompleteManagedRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CompleteManagedRestore.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "southeastasia", - "operationId": "111111111-2222-8888-5555-777777777777/completeRestore", - "api-version": "2017-03-01-preview", - "parameters": { - "lastBackupName": "testdb1_log4" - } - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "southeastasia", + "operationId": "111111111-2222-8888-5555-777777777777/completeRestore", + "api-version": "2017-03-01-preview", + "parameters": { + "lastBackupName": "testdb1_log4" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseCopyMode.json index c888714f0480..71d59de32294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseCopyMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseCopyMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbcopy", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbcopy", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Copy", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Copy", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseDefaultMode.json index b8736ea03a02..ba5deae797c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseDefaultMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseDefaultMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Default", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824 - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Default", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824 + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } -} \ No newline at end of file + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseMin.json index 871367c58ee5..e790ea99765b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseMin.json @@ -1,61 +1,61 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia" - } + "location": "southeastasia" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabasePITRMode.json index cad9460c0e21..ac1df30711b7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabasePITRMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabasePITRMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbpitr", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbpitr", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "PointInTimeRestore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "restorePointInTime": "2017-07-14T05:35:31.503Z" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "PointInTimeRestore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "restorePointInTime": "2017-07-14T05:35:31.503Z" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", + "name": "dbpitr", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", - "name": "dbpitr", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", - "name": "dbpitr", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", + "name": "dbpitr", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRecoveryMode.json index 2d02dcf5926d..a4f8cee34bc7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRecoveryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRecoveryMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbrestore", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbrestore", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Restore", - "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Restore", + "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode.json index 5be22c3fb50e..93a6d13ce5db 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbrestore", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbrestore", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Restore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Restore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode2.json index 1d68ff631a3e..71d59de32294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode2.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseRestoreMode2.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbcopy", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbcopy", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Copy", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Copy", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } -} \ No newline at end of file + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseSecondaryMode.json index b7f18f6e0ac5..e9b2a0ce6a61 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseSecondaryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateDatabaseSecondaryMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Secondary", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Secondary", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateJobExecution.json index 33bd949cbf77..80321fa3785f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateJobExecution.json @@ -26,4 +26,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgent.json index 6995dde1d0d0..2122d3d3549e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgent.json @@ -1,40 +1,40 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview", - "parameters":{ - "location":"southeastasia", - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview", + "parameters": { + "location": "southeastasia", + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location":"southeastasia", - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location":"southeastasia", - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - } - }, - "202":{ } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + } + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMax.json index d10eabe8ce18..88c95a486ba3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMax.json @@ -1,61 +1,61 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version": "2017-03-01-preview", - "parameters":{ - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - }, - "tags": { - "octopus": "agent" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview", + "parameters": { + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + }, + "tags": { + "octopus": "agent" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + }, + "tags": { + "octopus": "agent" } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - }, - "tags": { - "octopus": "agent" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - }, - "tags": { - "octopus": "agent" - } - } + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" }, - "202":{ } - } -} \ No newline at end of file + "tags": { + "octopus": "agent" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMin.json index ecdef5bbcadc..c20c41630f08 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobAgentMin.json @@ -1,48 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "group1", - "serverName": "server1", - "jobAgentName": "agent1", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } + "location": "southeastasia", + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name": "agent1", - "type": "Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name": "agent1", - "type": "Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties": { - "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 }, - "202": { } - } -} \ No newline at end of file + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobCredential.json index 59fd0c72e315..107e6d996bf8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobCredential.json @@ -1,38 +1,38 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "credentialName":"cred1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "username":"myuser", - "password":"" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "credentialName": "cred1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "username": "myuser", + "password": "" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "name": "cred1", + "type": "Microsoft.Sql/servers/jobAccounts/credentials", + "properties": { + "username": "myuser" } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "name":"cred1", - "type":"Microsoft.Sql/servers/jobAccounts/credentials", - "properties":{ - "username":"myuser" - } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "name":"cred1", - "type":"Microsoft.Sql/servers/jobAccounts/credentials", - "properties":{ - "username":"myuser" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "name": "cred1", + "type": "Microsoft.Sql/servers/jobAccounts/credentials", + "properties": { + "username": "myuser" } + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobExecution.json index ebda400ac79d..03a79336f39b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobExecution.json @@ -43,4 +43,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMax.json index 47ccbb14a422..51e71dcbbc1c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMax.json @@ -1,60 +1,60 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "description":"my favourite job", - "schedule":{ - "startTime":"2015-09-24T18:30:01Z", - "endTime":"2015-09-24T23:59:59Z", - "type":"Recurring", - "interval":"PT5M", - "enabled":true - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "description": "my favourite job", + "schedule": { + "startTime": "2015-09-24T18:30:01Z", + "endTime": "2015-09-24T23:59:59Z", + "type": "Recurring", + "interval": "PT5M", + "enabled": true } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "my favourite job", + "version": 0, + "schedule": { + "startTime": "2015-09-24T18:30:01Z", + "endTime": "2015-09-24T23:59:59Z", + "type": "Recurring", + "interval": "PT5M", + "enabled": true + } + } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"my favourite job", - "version":0, - "schedule":{ - "startTime":"2015-09-24T18:30:01Z", - "endTime":"2015-09-24T23:59:59Z", - "type":"Recurring", - "interval":"PT5M", - "enabled":true - } - } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"my favourite job", - "version":0, - "schedule":{ - "startTime":"2015-09-24T18:30:01Z", - "endTime":"2015-09-24T23:59:59Z", - "type":"Recurring", - "interval":"PT5M", - "enabled":true - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "my favourite job", + "version": 0, + "schedule": { + "startTime": "2015-09-24T18:30:01Z", + "endTime": "2015-09-24T23:59:59Z", + "type": "Recurring", + "interval": "PT5M", + "enabled": true + } } + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMin.json index 6e54f084af4f..28ff9ea4b0f4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobMin.json @@ -1,47 +1,47 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview", - "parameters":{ } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview", + "parameters": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "", + "version": 0, + "schedule": { + "startTime": "0001-01-01T00:00:00Z", + "endTime": "9999-12-31T11:59:59Z", + "type": "Once", + "enabled": false + } + } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"", - "version":0, - "schedule":{ - "startTime":"0001-01-01T00:00:00Z", - "endTime":"9999-12-31T11:59:59Z", - "type":"Once", - "enabled":false - } - } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"", - "version":0, - "schedule":{ - "startTime":"0001-01-01T00:00:00Z", - "endTime":"9999-12-31T11:59:59Z", - "type":"Once", - "enabled":false - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "", + "version": 0, + "schedule": { + "startTime": "0001-01-01T00:00:00Z", + "endTime": "9999-12-31T11:59:59Z", + "type": "Once", + "enabled": false + } } + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMax.json index 1c2cc554d055..77dc2f335409 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMax.json @@ -1,110 +1,110 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "stepName":"step1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "stepName": "step1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type": "SqlDatabase", - "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName": "group3", - "serverName": "server3", - "databaseName": "database3", - "schemaName": "myschema1234", - "tableName": "mytable5678", - "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } + "201": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } }, - "201":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type": "SqlDatabase", - "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName": "group3", - "serverName": "server3", - "databaseName": "database3", - "schemaName": "myschema1234", - "tableName": "mytable5678", - "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMin.json index 63a3c89525dc..81efbf05cb7e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobStepMin.json @@ -1,70 +1,70 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "stepName":"step1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", - "action":{ - "value":"select 1" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "stepName": "step1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", + "action": { + "value": "select 1" } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 1" + }, + "executionOptions": { + "timeoutSeconds": 43200, + "retryAttempts": 10, + "initialRetryIntervalSeconds": 1, + "maximumRetryIntervalSeconds": 120, + "retryIntervalBackoffMultiplier": 2.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 1" - }, - "executionOptions":{ - "timeoutSeconds":43200, - "retryAttempts":10, - "initialRetryIntervalSeconds":1, - "maximumRetryIntervalSeconds":120, - "retryIntervalBackoffMultiplier":2.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } + "201": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 1" + }, + "executionOptions": { + "timeoutSeconds": 43200, + "retryAttempts": 10, + "initialRetryIntervalSeconds": 1, + "maximumRetryIntervalSeconds": 120, + "retryIntervalBackoffMultiplier": 2.0 + } }, - "201":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup0", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 1" - }, - "executionOptions":{ - "timeoutSeconds":43200, - "retryAttempts":10, - "initialRetryIntervalSeconds":1, - "maximumRetryIntervalSeconds":120, - "retryIntervalBackoffMultiplier":2.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json index 7913341cb690..c387e9ff832b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json @@ -1,121 +1,121 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "targetGroupName":"targetGroup1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "members":[ - { - "membershipType":"Exclude", - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - }, - { - "membershipType":"Include", - "type":"SqlServer", - "serverName":"server1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlElasticPool", - "serverName":"server2", - "elasticPoolName":"pool1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlShardMap", - "serverName":"server3", - "shardMapName":"shardMap1", - "databaseName":"database1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "targetGroupName": "targetGroup1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "members": [ + { + "membershipType": "Exclude", + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + }, + { + "membershipType": "Include", + "type": "SqlServer", + "serverName": "server1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlElasticPool", + "serverName": "server2", + "elasticPoolName": "pool1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlShardMap", + "serverName": "server3", + "shardMapName": "shardMap1", + "databaseName": "database1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "members": [ + { + "membershipType": "Exclude", + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + }, + { + "membershipType": "Include", + "type": "SqlServer", + "serverName": "server1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlElasticPool", + "serverName": "server2", + "elasticPoolName": "pool1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlShardMap", + "serverName": "server3", + "shardMapName": "shardMap1", + "databaseName": "database1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" } - } + ] + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "members":[ - { - "membershipType":"Exclude", - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - }, - { - "membershipType":"Include", - "type":"SqlServer", - "serverName":"server1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlElasticPool", - "serverName":"server2", - "elasticPoolName":"pool1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlShardMap", - "serverName":"server3", - "shardMapName":"shardMap1", - "databaseName":"database1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - } - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" + "201": { + "body": { + "properties": { + "members": [ + { + "membershipType": "Exclude", + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + }, + { + "membershipType": "Include", + "type": "SqlServer", + "serverName": "server1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlElasticPool", + "serverName": "server2", + "elasticPoolName": "pool1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlShardMap", + "serverName": "server3", + "shardMapName": "shardMap1", + "databaseName": "database1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" } + ] }, - "201":{ - "body":{ - "properties":{ - "members":[ - { - "membershipType":"Exclude", - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - }, - { - "membershipType":"Include", - "type":"SqlServer", - "serverName":"server1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlElasticPool", - "serverName":"server2", - "elasticPoolName":"pool1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlShardMap", - "serverName":"server3", - "shardMapName":"shardMap1", - "databaseName":"database1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - } - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" - } - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json index 91cebdfb494c..bfe7f79e776f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json @@ -1,40 +1,37 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "targetGroupName":"targetGroup1", - "api-version":"2017-03-01-preview", - "parameters":{ - "properties":{ - "members":[ - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "targetGroupName": "targetGroup1", + "api-version": "2017-03-01-preview", + "parameters": { + "properties": { + "members": [] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "members": [] + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "members":[ - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" - } + "201": { + "body": { + "properties": { + "members": [] }, - "201":{ - "body":{ - "properties":{ - "members":[ - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" - } - } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsGet.json index 539a3c876321..589ae075c29c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "restorePointName": "131546477590000000", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "restorePointName": "131546477590000000", + "location": "japaneast", + "serverName": "testserver", + "databaseName": "testDatabase", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", + "name": "131546477590000000", + "type": "Microsoft.Sql/servers/databases/restorePoints", "location": "japaneast", - "serverName": "testserver", - "databaseName": "testDatabase", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel" - } - } + "properties": { + "restorePointType": "DISCRETE", + "restorePointCreationDate": "2017-03-10T08:00:00.000Z", + "restorePointLabel": "mylabel" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsListByDatabase.json index c31110212b1d..014cc23197e3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DataWarehouseRestorePointsListByDatabase.json @@ -1,50 +1,50 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "location": "japaneast", - "serverName": "testserver", - "databaseName": "testDatabase", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel1" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131553636140000000", - "name": "131553636140000000", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-11-17T03:40:14Z", - "restorePointLabel": "mylabel2" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131553619750000000", - "name": "131553619750000000", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-11-17T03:12:55Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "location": "japaneast", + "serverName": "testserver", + "databaseName": "testDatabase", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", + "name": "131546477590000000", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "location": "japaneast", + "properties": { + "restorePointType": "DISCRETE", + "restorePointCreationDate": "2017-03-10T08:00:00.000Z", + "restorePointLabel": "mylabel1" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131553636140000000", + "name": "131553636140000000", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "location": "japaneast", + "properties": { + "restorePointType": "DISCRETE", + "restorePointCreationDate": "2017-11-17T03:40:14Z", + "restorePointLabel": "mylabel2" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131553619750000000", + "name": "131553619750000000", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "location": "japaneast", + "properties": { + "restorePointType": "DISCRETE", + "restorePointCreationDate": "2017-11-17T03:12:55Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json index 2d4883bd79ed..ae0dcecf831f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -8,8 +8,8 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "IsAzureMonitorTargetEnabled": true + "state": "Enabled", + "IsAzureMonitorTargetEnabled": true } } }, @@ -20,14 +20,18 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "isAzureMonitorTargetEnabled": true, - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } }, @@ -37,16 +41,20 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "isAzureMonitorTargetEnabled": true, - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "properties": { + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMax.json index 194627f146a2..7bfa3b938cce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMax.json @@ -8,14 +8,18 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["DATABASE_LOGOUT_GROUP","DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public"], - "isAzureMonitorTargetEnabled": true + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } }, @@ -26,15 +30,19 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": ["DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public"], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } }, @@ -44,17 +52,21 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public" ], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "isAzureMonitorTargetEnabled": true } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMin.json index e609623afef2..a33e1aeaadea 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingCreateMin.json @@ -8,9 +8,9 @@ "api-version": "2015-05-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, @@ -21,15 +21,19 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": true } } }, @@ -39,17 +43,21 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/auditingSettings", "kind": "V12", - "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "storageAccountAccessKey": "", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": true + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "storageAccountAccessKey": "", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": true } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingGet.json index 7e5d6e712101..0c5a321a808b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseBlobAuditingGet.json @@ -9,21 +9,21 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/servers/databases/auditingSettings", - "kind": "V12", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": true - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/servers/databases/auditingSettings", + "kind": "V12", + "properties": { + "state": "Disabled", + "storageEndpoint": "", + "retentionDays": 0, + "auditActionsAndGroups": [], + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "isAzureMonitorTargetEnabled": true } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsDelete.json index 8e8c4a46a4fa..69a0c2a954e2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "restorePointName": "131546477590000000", - "location": "japaneast", - "serverName": "testserver", - "databaseName": "testDatabase", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "restorePointName": "131546477590000000", + "location": "japaneast", + "serverName": "testserver", + "databaseName": "testDatabase", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsGet.json index 831adeef822f..cdd592b3b860 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "restorePointName": "131546477590000000", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "restorePointName": "131546477590000000", + "location": "japaneast", + "serverName": "testserver", + "databaseName": "testDatabase", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/ContinuousRestorePoint", + "name": "ContinuousRestorePoint", + "type": "Microsoft.Sql/servers/databases/restorePoints", "location": "japaneast", - "serverName": "testserver", - "databaseName": "testDatabase", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/ContinuousRestorePoint", - "name": "ContinuousRestorePoint", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "CONTINUOUS", - "earliestRestoreDate": "2017-03-10T08:00:00.000Z" - } - } + "properties": { + "restorePointType": "CONTINUOUS", + "earliestRestoreDate": "2017-03-10T08:00:00.000Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsListByDatabase.json index d2f9abda921b..0d4870074574 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsListByDatabase.json @@ -1,27 +1,27 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6730", - "serverName":"sqlcrudtest-9007", - "databaseName":"3481", - "api-version":"2017-03-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6730", + "serverName": "sqlcrudtest-9007", + "databaseName": "3481", + "api-version": "2017-03-01-preview" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/sqlcrudtest-9007/databases/3481/restorepoints/ContinuousRestorePoint", - "name":"ContinuousRestorePoint", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"CONTINUOUS", - "earliestRestoreDate":"2017-06-12T00:00:00Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/sqlcrudtest-9007/databases/3481/restorepoints/ContinuousRestorePoint", + "name": "ContinuousRestorePoint", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "CONTINUOUS", + "earliestRestoreDate": "2017-06-12T00:00:00Z" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json index 078430371eae..76b88edfcafa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json @@ -1,28 +1,28 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "location": "japaneast", + "serverName": "testserver", + "databaseName": "testDatabase", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", + "restorePointLabel": "mylabel" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", + "name": "131546477590000000", + "type": "Microsoft.Sql/servers/databases/restorePoints", "location": "japaneast", - "serverName": "testserver", - "databaseName": "testDatabase", - "api-version": "2017-03-01-preview", - "parameters": { - "restorePointLabel":"mylabel" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Sql/servers/databases/restorePoints", - "location": "japaneast", - "properties" : { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel" - } - } + "properties": { + "restorePointType": "DISCRETE", + "restorePointCreationDate": "2017-03-10T08:00:00.000Z", + "restorePointLabel": "mylabel" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json index 121ad41dc081..f965b7069e44 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json index 75862b1e65c3..581f3981b2e6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json @@ -10,11 +10,14 @@ "properties": { "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -30,7 +33,10 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -45,10 +51,13 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json index 30ee42d4206c..6c9d4029348d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentDelete.json index b6cfa2303d4e..7e258a5fc00c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentDelete.json @@ -1,14 +1,13 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json index 2c583ee4a055..cbd6d36f31bb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json @@ -1,27 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentListByDatabase.json index c70a2a22b9a6..a64d095a5982 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentListByDatabase.json @@ -1,31 +1,34 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" ] + } } - } + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json index fccb1034117b..3b8be60300d0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -12,13 +12,23 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } @@ -33,17 +43,27 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json index 157beb7fcb9c..fb4f53e70895 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -10,7 +10,6 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json index 1602407dad65..84f44738539e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -18,17 +18,27 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteDatabase.json index ed35085e9ec4..c70d7532b66e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteDatabase.json @@ -1,14 +1,14 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { }, - "204": { }, - "202": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {}, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJob.json index b924799c02bd..a61cd9d5098b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJob.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ }, - "204":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobAgent.json index 621272a80253..29c012426cba 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobAgent.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ }, - "202":{ }, - "204":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobCredential.json index 9de9c1a375c0..bf81940c06df 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobCredential.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "credentialName":"cred1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ }, - "204":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "credentialName": "cred1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobStep.json index dee50fcd08fa..2cde1f5e3c81 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobStep.json @@ -1,15 +1,15 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "stepName":"step1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ }, - "204":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "stepName": "step1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobTargetGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobTargetGroup.json index b93e3f88e032..c841f2b02a49 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobTargetGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DeleteJobTargetGroup.json @@ -1,14 +1,14 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "targetGroupName":"targetGroup1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ }, - "204":{ } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "targetGroupName": "targetGroup1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExportDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExportDatabase.json index 6d6e5567030d..f6580629df21 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExportDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExportDatabase.json @@ -1,37 +1,37 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "storageKeyType": "StorageAccessKey", - "storageKey": "+Ce9Tn6QktcX1kFGHUg5sdh54654678bpsE3OM95q5sdfsdfsdyIUu7sdYtR456hgcsRSbFBoH64qB7MA==", - "storageUri": "https://test.blob.core.windows.net/test.bacpac", - "administratorLogin": "login", - "administratorLoginPassword": "password", - "authenticationType": "Sql" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "requestId": "9d9a794a-5cec-4f23-af70-d29511b522a4", - "requestType": "Export", - "queuedTime": "7/13/2017 8:33:27 PM", - "lastModifiedTime": "7/13/2017 8:34:47 PM", - "blobUri": "https://test.blob.core.windows.net/test.bacpac", - "serverName": "testsvr.database.windows.net", - "databaseName": "testdb", - "status": "Completed" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/importExportOperationResults/9d9a794a-5cec-4f23-af70-d29511b522a4", - "name": "9d9a794a-5cec-4f23-af70-d29511b522a4", - "type": "Microsoft.Sql/servers/databases/importExportOperationResults" - } - }, - "202": {} + "storageKeyType": "StorageAccessKey", + "storageKey": "+Ce9Tn6QktcX1kFGHUg5sdh54654678bpsE3OM95q5sdfsdfsdyIUu7sdYtR456hgcsRSbFBoH64qB7MA==", + "storageUri": "https://test.blob.core.windows.net/test.bacpac", + "administratorLogin": "login", + "administratorLoginPassword": "password", + "authenticationType": "Sql" } + }, + "responses": { + "200": { + "body": { + "properties": { + "requestId": "9d9a794a-5cec-4f23-af70-d29511b522a4", + "requestType": "Export", + "queuedTime": "7/13/2017 8:33:27 PM", + "lastModifiedTime": "7/13/2017 8:34:47 PM", + "blobUri": "https://test.blob.core.windows.net/test.bacpac", + "serverName": "testsvr.database.windows.net", + "databaseName": "testdb", + "status": "Completed" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/importExportOperationResults/9d9a794a-5cec-4f23-af70-d29511b522a4", + "name": "9d9a794a-5cec-4f23-af70-d29511b522a4", + "type": "Microsoft.Sql/servers/databases/importExportOperationResults" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json index 14d01b0281a1..3c31571b6545 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json @@ -20,12 +20,16 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state": "Enabled", - "isAzureMonitorTargetEnabled": true, - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } }, @@ -35,14 +39,18 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state": "Enabled", - "isAzureMonitorTargetEnabled": true, - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups":["SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP","FAILED_DATABASE_AUTHENTICATION_GROUP","BATCH_COMPLETED_GROUP"] + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json index 880fdabb023b..229fc8d69795 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json @@ -8,15 +8,19 @@ "api-version": "2017-03-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public" ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "predicateExpression": "statement = 'select 1'", + "isAzureMonitorTargetEnabled": true } } }, @@ -27,14 +31,18 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public" ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "predicateExpression": "statement = 'select 1'", + "isAzureMonitorTargetEnabled": true } } }, @@ -44,16 +52,20 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "DATABASE_LOGOUT_GROUP", "DATABASE_ROLE_MEMBER_CHANGE_GROUP", "UPDATE on database::TestDatabaseName by public" ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "DATABASE_LOGOUT_GROUP", + "DATABASE_ROLE_MEMBER_CHANGE_GROUP", + "UPDATE on database::TestDatabaseName by public" + ], + "predicateExpression": "statement = 'select 1'", + "isAzureMonitorTargetEnabled": true } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json index c45b3514c1d3..af1a8b0e97d7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json @@ -8,9 +8,9 @@ "api-version": "2017-03-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, @@ -21,13 +21,17 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": false + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": false } } }, @@ -37,15 +41,19 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", "properties": { - "state":"Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": false + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 0, + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": false } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json index 1b5a16828782..6b5ac989be3f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json @@ -9,21 +9,21 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": false - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/servers/databases/extendedAuditingSettings", + "properties": { + "state": "Disabled", + "storageEndpoint": "", + "retentionDays": 0, + "auditActionsAndGroups": [], + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "predicateExpression": "statement = 'select 1'", + "isAzureMonitorTargetEnabled": false } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json index 53bc860a3920..2b5ab9c1ccb1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json @@ -1,45 +1,53 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-4799", + "serverName": "blobauditingtest-6440", + "blobAuditingPolicyName": "default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "serverName": "blobauditingtest-6440", - "blobAuditingPolicyName": "default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": true - } + "properties": { + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "predicateExpression": "object_name = 'SensitiveData'", + "isAzureMonitorTargetEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/extendedAuditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/extendedAuditingSettings", + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "predicateExpression": "object_name = 'SensitiveData'", + "isAzureMonitorTargetEnabled": true } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": true - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } + "202": { + "startTime": "2017-11-22T09:34:54.72Z", + "operation": "UpsertServerEngineAuditingPolicy" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json index e95c459688bb..0666af4b48ea 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json @@ -1,38 +1,42 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-4799", + "serverName": "blobauditingtest-6440", + "blobAuditingPolicyName": "default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "serverName": "blobauditingtest-6440", - "blobAuditingPolicyName": "default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/extendedAuditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/extendedAuditingSettings", + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": false } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": false - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } + "202": { + "startTime": "2017-11-22T09:34:54.72Z", + "operation": "UpsertServerEngineAuditingPolicy" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingGet.json index fe470ca3be68..6b0e4ee7e98d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ExtendedServerBlobAuditingGet.json @@ -8,21 +8,21 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": false - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/extendedAuditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/extendedAuditingSettings", + "properties": { + "state": "Disabled", + "storageEndpoint": "", + "retentionDays": 0, + "auditActionsAndGroups": [], + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "predicateExpression": "object_name = 'SensitiveData'", + "isAzureMonitorTargetEnabled": false } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDataWarehouseUserActivities.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDataWarehouseUserActivities.json index a0f45d02041c..30faf4f2971e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDataWarehouseUserActivities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDataWarehouseUserActivities.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "dataWarehouseUserActivityName": "current" - }, - "responses": { - "200": { - "body": { - "properties":{ - "activeQueriesCount":0 - }, - "id":"subscriptions/326affc3-21f4-4471-a545-e37430b70113/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/testsvr/databases/dwdb01/dataWarehouseUserActivities/current", - "name":"current", - "type":"Microsoft.Sql/servers/databases/dataWarehouseUserActivities" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", + "dataWarehouseUserActivityName": "current" + }, + "responses": { + "200": { + "body": { + "properties": { + "activeQueriesCount": 0 + }, + "id": "subscriptions/326affc3-21f4-4471-a545-e37430b70113/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/testsvr/databases/dwdb01/dataWarehouseUserActivities/current", + "name": "current", + "type": "Microsoft.Sql/servers/databases/dataWarehouseUserActivities" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDatabase.json index 70e9298d0244..8d643600cda9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetDatabase.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJob.json index 577437a4fb07..bdd765f78994 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJob.json @@ -1,29 +1,29 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"my favourite job", - "version":0, - "schedule":{ - "startTime":"2015-09-24T18:30:01Z", - "endTime":"2015-09-24T23:59:59Z", - "type":"Once", - "enabled":true - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "my favourite job", + "version": 0, + "schedule": { + "startTime": "2015-09-24T18:30:01Z", + "endTime": "2015-09-24T23:59:59Z", + "type": "Once", + "enabled": true + } } + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobAgent.json index b98c93872916..bffd13c28b3f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobAgent.json @@ -1,26 +1,26 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobCredential.json index 69798a51034e..25f444031182 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobCredential.json @@ -1,22 +1,22 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "credentialName":"cred1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "name":"cred1", - "type":"Microsoft.Sql/servers/jobAccounts/credentials", - "properties":{ - "username":"myuser" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "credentialName": "cred1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "name": "cred1", + "type": "Microsoft.Sql/servers/jobAccounts/credentials", + "properties": { + "username": "myuser" } + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecution.json index 1779769b1655..d07fe3797e9d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecution.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionStep.json index f0490f13d46f..9ad65d6cd1d3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionStep.json @@ -1,35 +1,35 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "stepName":"step1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "jobVersion":1, - "stepName":"step1", - "stepId":1, - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "lifecycle":"Succeeded", - "provisioningState":"Succeeded", - "createTime":"2017-12-27T04:33:15.7189151Z", - "startTime":"2017-12-27T04:33:16.176937Z", - "endTime":"2017-12-27T04:33:19.0600862Z", - "currentAttempts":1, - "currentAttemptStartTime":"2017-12-27T04:33:17.4840068Z", - "lastMessage":"Step 1 succeeded." - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/executions/steps" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "stepName": "step1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "jobVersion": 1, + "stepName": "step1", + "stepId": 1, + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "lifecycle": "Succeeded", + "provisioningState": "Succeeded", + "createTime": "2017-12-27T04:33:15.7189151Z", + "startTime": "2017-12-27T04:33:16.176937Z", + "endTime": "2017-12-27T04:33:19.0600862Z", + "currentAttempts": 1, + "currentAttemptStartTime": "2017-12-27T04:33:17.4840068Z", + "lastMessage": "Step 1 succeeded." + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/executions/steps" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionTarget.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionTarget.json index 0e373fb91bcc..94d957f71541 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionTarget.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobExecutionTarget.json @@ -1,41 +1,41 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "stepName":"step1", - "targetId":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "jobVersion":1, - "stepName":"step1", - "stepId":1, - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "lifecycle":"Succeeded", - "provisioningState":"Succeeded", - "createTime":"2017-11-05T04:33:17.5133333Z", - "startTime":"2017-11-05T04:33:18.1230403Z", - "endTime":"2017-11-05T04:33:18.7031029Z", - "currentAttempts":1, - "currentAttemptStartTime":"2017-11-05T04:33:18.2391013Z", - "lastMessage":"Step 1 succeeded execution on target (server 'server1', database 'database1').", - "target":{ - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "name":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "type":"Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "stepName": "step1", + "targetId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "jobVersion": 1, + "stepName": "step1", + "stepId": 1, + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "lifecycle": "Succeeded", + "provisioningState": "Succeeded", + "createTime": "2017-11-05T04:33:17.5133333Z", + "startTime": "2017-11-05T04:33:18.1230403Z", + "endTime": "2017-11-05T04:33:18.7031029Z", + "currentAttempts": 1, + "currentAttemptStartTime": "2017-11-05T04:33:18.2391013Z", + "lastMessage": "Step 1 succeeded execution on target (server 'server1', database 'database1').", + "target": { + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "type": "Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByJob.json index 331fc0690c64..cf4aeb03baf1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByJob.json @@ -1,47 +1,47 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "stepName":"step1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "stepName": "step1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByVersion.json index 4b5a5b272c58..449deeaa08f4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobStepByVersion.json @@ -1,48 +1,48 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobVersion":"1", - "stepName":"step1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions/steps" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobVersion": "1", + "stepName": "step1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions/steps" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobTargetGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobTargetGroup.json index e79a3037415c..cf554d1cd657 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobTargetGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobTargetGroup.json @@ -1,50 +1,50 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "targetGroupName":"targetGroup1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "members":[ - { - "membershipType":"Exclude", - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - }, - { - "membershipType":"Include", - "type":"SqlServer", - "serverName":"server1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlElasticPool", - "serverName":"server2", - "elasticPoolName":"pool1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlShardMap", - "serverName":"server3", - "shardMapName":"shardMap1", - "databaseName":"database1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - } - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "targetGroupName": "targetGroup1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "members": [ + { + "membershipType": "Exclude", + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + }, + { + "membershipType": "Include", + "type": "SqlServer", + "serverName": "server1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlElasticPool", + "serverName": "server2", + "elasticPoolName": "pool1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlShardMap", + "serverName": "server3", + "shardMapName": "shardMap1", + "databaseName": "database1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" } - } + ] + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobVersion.json index 56143c2846b6..4d0b82cad566 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetJobVersion.json @@ -1,20 +1,20 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobVersion":"1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1", - "name":"1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobVersion": "1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1", + "name": "1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicy.json index 0c6e8f5f9f8d..874c7f63b767 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicy.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicyRestorableDropped.json index 35f09cae6cfc..17813b508e39 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetListManagedShortTermRetentionPolicyRestorableDropped.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "testsvr", - "restorableDroppedDatabaseId": "testdb,131403269876900000", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "testsvr", + "restorableDroppedDatabaseId": "testdb,131403269876900000", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicy.json index 6f2e17aaa06a..f42700edba01 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "testsvr", - "databaseName": "testdb", - "policyName": "default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "testsvr", + "databaseName": "testdb", + "policyName": "default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json index 02d39ec2858f..a7e0ecb2f360 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "testsvr", - "restorableDroppedDatabaseId": "testdb,131403269876900000", - "policyName": "default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "testsvr", + "restorableDroppedDatabaseId": "testdb,131403269876900000", + "policyName": "default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetRestorableDroppedManagedDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetRestorableDroppedManagedDatabase.json index 3c68f0f2d4e8..0de3fa5714d4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetRestorableDroppedManagedDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/GetRestorableDroppedManagedDatabase.json @@ -15,8 +15,7 @@ "deletionDate": "2017-05-27T02:49:47.690Z" }, "location": "southeastasia", - "id": - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb,131403269876900000", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb,131403269876900000", "name": "testdb,131403269876900000", "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases" } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabaseOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabaseOperations.json index aa63a9bef18a..5727d8a96595 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabaseOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabaseOperations.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "serverName": "sqlcrudtest-4645", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/11111111-1111-1111-1111-111111111111", - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Sql/servers/databases/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 100, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T09:10:08.10Z", - "state": "Succeeded", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/55555555-5555-5555-5555-555555555555", - "name": "55555555-5555-5555-5555-555555555555", - "type": "Microsoft.Sql/servers/databases/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 19, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T10:10:08.10Z", - "state": "InProgress", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": true - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.Sql/servers/databases/operations", + "properties": { + "databaseName": "testdb", + "operation": "UpdateLogicalDatabase", + "operationFriendlyName": "ALTER DATABASE", + "percentComplete": 100, + "serverName": "sqlcrudtest-4645", + "startTime": "2017-06-01T09:10:08.10Z", + "state": "Succeeded", + "estimatedCompletionTime": "2017-06-01T13:10:10Z", + "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", + "isCancellable": false } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/55555555-5555-5555-5555-555555555555", + "name": "55555555-5555-5555-5555-555555555555", + "type": "Microsoft.Sql/servers/databases/operations", + "properties": { + "databaseName": "testdb", + "operation": "UpdateLogicalDatabase", + "operationFriendlyName": "ALTER DATABASE", + "percentComplete": 19, + "serverName": "sqlcrudtest-4645", + "startTime": "2017-06-01T10:10:08.10Z", + "state": "InProgress", + "estimatedCompletionTime": "2017-06-01T13:10:10Z", + "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", + "isCancellable": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByElasticPool.json index 8d7b94a8caa8..80fd7a64f5c8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByElasticPool.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByServer.json index b487148a6635..b3b18214c8f7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListDatabasesByServer.json @@ -1,56 +1,58 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - }, - { - "sku": { - "name": "System0", - "tier": "System" - }, - "kind": "v12.0,system", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 32212254720, - "status": "Online", - "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", - "creationDate": "2017-06-07T04:23:42.537Z", - "currentServiceObjectiveName": "System0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", - "name": "master", - "type": "Microsoft.Sql/servers/databases" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + }, + { + "sku": { + "name": "System0", + "tier": "System" + }, + "kind": "v12.0,system", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 32212254720, + "status": "Online", + "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", + "creationDate": "2017-06-07T04:23:42.537Z", + "currentServiceObjectiveName": "System0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", + "name": "master", + "type": "Microsoft.Sql/servers/databases" + } + ] + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobAgentsByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobAgentsByServer.json index 4195da329cf2..9aadb216f493 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobAgentsByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobAgentsByServer.json @@ -1,42 +1,42 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - } - }, - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/jobAgent2", - "name":"jobAgent2", - "type":"Microsoft.Sql/servers/jobAgents", - "location": "southeastasia", - "sku": { - "name": "Agent", - "capacity": 100 - }, - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db12" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/jobAgent2", + "name": "jobAgent2", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "sku": { + "name": "Agent", + "capacity": 100 + }, + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db12" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobCredentialsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobCredentialsByAgent.json index 76c5ebf69cdd..fe44828f4923 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobCredentialsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobCredentialsByAgent.json @@ -1,33 +1,33 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "name":"cred1", - "type":"Microsoft.Sql/servers/jobAccounts/credentials", - "properties":{ - "username":"myuser" - } - }, - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred2", - "name":"cred2", - "type":"Microsoft.Sql/servers/jobAccounts/credentials", - "properties":{ - "username":"anotherUser" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "name": "cred1", + "type": "Microsoft.Sql/servers/jobAccounts/credentials", + "properties": { + "username": "myuser" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred2", + "name": "cred2", + "type": "Microsoft.Sql/servers/jobAccounts/credentials", + "properties": { + "username": "anotherUser" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionSteps.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionSteps.json index defd1ce5ce9f..87845eb55de8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionSteps.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionSteps.json @@ -1,38 +1,38 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "jobVersion":1, - "stepName":"step1", - "stepId":1, - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "lifecycle":"Succeeded", - "provisioningState":"Succeeded", - "createTime":"2017-12-03T04:33:15.7189151Z", - "startTime":"2017-12-03T04:33:16.176937Z", - "endTime":"2017-12-03T04:33:19.0600862Z", - "currentAttempts":1, - "currentAttemptStartTime":"2017-12-03T04:33:17.4840068Z", - "lastMessage":"Step 1 succeeded." - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/executions/steps" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "jobVersion": 1, + "stepName": "step1", + "stepId": 1, + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "lifecycle": "Succeeded", + "provisioningState": "Succeeded", + "createTime": "2017-12-03T04:33:15.7189151Z", + "startTime": "2017-12-03T04:33:16.176937Z", + "endTime": "2017-12-03T04:33:19.0600862Z", + "currentAttempts": 1, + "currentAttemptStartTime": "2017-12-03T04:33:17.4840068Z", + "lastMessage": "Step 1 succeeded." + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/executions/steps" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByExecution.json index d634cb871d32..4ed060f14e64 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByExecution.json @@ -1,43 +1,43 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "jobVersion":1, - "stepName":"step1", - "stepId":1, - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "lifecycle":"Succeeded", - "provisioningState":"Succeeded", - "createTime":"2017-07-01T04:33:17.5133333Z", - "startTime":"2017-07-01T04:33:18.1230403Z", - "endTime":"2017-07-01T04:33:18.7031029Z", - "currentAttempts":1, - "currentAttemptStartTime":"2017-07-01T04:33:18.2391013Z", - "lastMessage":"Step 1 succeeded execution on target (server 'server1', database 'database1').", - "target":{ - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "name":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "type":"Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "jobVersion": 1, + "stepName": "step1", + "stepId": 1, + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "lifecycle": "Succeeded", + "provisioningState": "Succeeded", + "createTime": "2017-07-01T04:33:17.5133333Z", + "startTime": "2017-07-01T04:33:18.1230403Z", + "endTime": "2017-07-01T04:33:18.7031029Z", + "currentAttempts": 1, + "currentAttemptStartTime": "2017-07-01T04:33:18.2391013Z", + "lastMessage": "Step 1 succeeded execution on target (server 'server1', database 'database1').", + "target": { + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "type": "Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByStep.json index 95f44e988623..e4e80d494188 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionTargetsByStep.json @@ -1,44 +1,44 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "stepName":"step1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "jobVersion":1, - "stepName":"step1", - "stepId":1, - "jobExecutionId":"5555-6666-7777-8888-999999999999", - "lifecycle":"Succeeded", - "provisioningState":"Succeeded", - "createTime":"2017-07-01T04:33:17.5133333Z", - "startTime":"2017-07-01T04:33:18.1230403Z", - "endTime":"2017-07-01T04:33:18.7031029Z", - "currentAttempts":1, - "currentAttemptStartTime":"2017-07-01T04:33:18.2391013Z", - "lastMessage":"Step 1 succeeded execution on target (server 'server1', database 'database1').", - "target":{ - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "name":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "type":"Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "stepName": "step1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "jobVersion": 1, + "stepName": "step1", + "stepId": 1, + "jobExecutionId": "5555-6666-7777-8888-999999999999", + "lifecycle": "Succeeded", + "provisioningState": "Succeeded", + "createTime": "2017-07-01T04:33:17.5133333Z", + "startTime": "2017-07-01T04:33:18.1230403Z", + "endTime": "2017-07-01T04:33:18.7031029Z", + "currentAttempts": 1, + "currentAttemptStartTime": "2017-07-01T04:33:18.2391013Z", + "lastMessage": "Step 1 succeeded execution on target (server 'server1', database 'database1').", + "target": { + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999/steps/step1/targets/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "type": "Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgent.json index 9b65b5748331..7557da9c44fa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgent.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgentWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgentWithFilter.json index 0131420f4ecd..b7eac210266d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgentWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByAgentWithFilter.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByJob.json index 2e2d7e15e89b..0745ccdaa076 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobExecutionsByJob.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByJob.json index 59d4f6a77aa9..3b097784360a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByJob.json @@ -1,82 +1,82 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - }, - { - "properties":{ - "stepId":2, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step2", - "name":"step2", - "type":"Microsoft.Sql/servers/jobAgents/jobs/steps" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + }, + { + "properties": { + "stepId": 2, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/steps/step2", + "name": "step2", + "type": "Microsoft.Sql/servers/jobAgents/jobs/steps" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByVersion.json index f112a3802d00..83db1a850471 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobStepsByVersion.json @@ -1,83 +1,83 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "jobVersion":"1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "stepId":1, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step1", - "name":"step1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions/steps" - }, - { - "properties":{ - "stepId":2, - "targetGroup":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", - "action":{ - "type":"TSql", - "source":"Inline", - "value":"select 2" - }, - "output":{ - "type":"SqlDatabase", - "subscriptionId":"3501b905-a848-4b5d-96e8-b253f62d735a", - "resourceGroupName":"group3", - "serverName":"server3", - "databaseName":"database3", - "schemaName":"myschema1234", - "tableName":"mytable5678", - "credential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" - }, - "executionOptions":{ - "timeoutSeconds":1234, - "retryAttempts":42, - "initialRetryIntervalSeconds":11, - "maximumRetryIntervalSeconds":222, - "retryIntervalBackoffMultiplier":3.0 - } - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step2", - "name":"step2", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions/steps" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "jobVersion": "1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "stepId": 1, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step1", + "name": "step1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions/steps" + }, + { + "properties": { + "stepId": 2, + "targetGroup": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred1", + "action": { + "type": "TSql", + "source": "Inline", + "value": "select 2" + }, + "output": { + "type": "SqlDatabase", + "subscriptionId": "3501b905-a848-4b5d-96e8-b253f62d735a", + "resourceGroupName": "group3", + "serverName": "server3", + "databaseName": "database3", + "schemaName": "myschema1234", + "tableName": "mytable5678", + "credential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/cred0" + }, + "executionOptions": { + "timeoutSeconds": 1234, + "retryAttempts": 42, + "initialRetryIntervalSeconds": 11, + "maximumRetryIntervalSeconds": 222, + "retryIntervalBackoffMultiplier": 3.0 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1/steps/step2", + "name": "step2", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions/steps" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobTargetGroups.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobTargetGroups.json index d951f67bbc24..67dcfa22e24a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobTargetGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobTargetGroups.json @@ -1,53 +1,53 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "members":[ - { - "membershipType":"Exclude", - "type":"SqlDatabase", - "serverName":"server1", - "databaseName":"database1" - }, - { - "membershipType":"Include", - "type":"SqlServer", - "serverName":"server1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlElasticPool", - "serverName":"server2", - "elasticPoolName":"pool1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - }, - { - "membershipType":"Include", - "type":"SqlShardMap", - "serverName":"server3", - "shardMapName":"shardMap1", - "databaseName":"database1", - "refreshCredential":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" - } - ] - }, - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", - "name":"targetGroup1", - "type":"Microsoft.Sql/servers/jobAgents/targetGroups" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "members": [ + { + "membershipType": "Exclude", + "type": "SqlDatabase", + "serverName": "server1", + "databaseName": "database1" + }, + { + "membershipType": "Include", + "type": "SqlServer", + "serverName": "server1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlElasticPool", + "serverName": "server2", + "elasticPoolName": "pool1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + }, + { + "membershipType": "Include", + "type": "SqlShardMap", + "serverName": "server3", + "shardMapName": "shardMap1", + "databaseName": "database1", + "refreshCredential": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/credentials/testCredential" + } + ] + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/targetGroups/targetGroup1", + "name": "targetGroup1", + "type": "Microsoft.Sql/servers/jobAgents/targetGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobVersions.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobVersions.json index 61224a8b7ae0..8636c86d3ebf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobVersions.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobVersions.json @@ -1,29 +1,28 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "jobName":"job1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value": - [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1", - "name":"1", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions" - }, - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/2", - "name":"2", - "type":"Microsoft.Sql/servers/jobAgents/jobs/versions" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "jobName": "job1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/1", + "name": "1", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions" + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/versions/2", + "name": "2", + "type": "Microsoft.Sql/servers/jobAgents/jobs/versions" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobsByAgent.json index 95222e79bf43..87274fcc4514 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ListJobsByAgent.json @@ -1,63 +1,63 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", - "name":"job1", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"my favourite job", - "version":0, - "schedule":{ - "startTime":"2015-09-24T18:30:01Z", - "endTime":"2015-09-24T23:59:59Z", - "type":"Recurring", - "interval":"PT5M", - "enabled":true - } - } - }, - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job3", - "name":"job3", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"this job will be scheduled once", - "version":1, - "schedule":{ - "startTime":"2017-07-01T03:45:00Z", - "endTime":"2017-12-27T06:00:00Z", - "type":"Once", - "enabled":true - } - } - }, - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job2", - "name":"job2", - "type":"Microsoft.Sql/servers/jobAccounts/jobs", - "properties":{ - "description":"this job will never be automatically scheduled", - "version":1, - "schedule":{ - "startTime":"2017-07-01T03:45:00Z", - "endTime":"2017-12-27T06:00:00Z", - "type":"Once", - "enabled":false - } - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1", + "name": "job1", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "my favourite job", + "version": 0, + "schedule": { + "startTime": "2015-09-24T18:30:01Z", + "endTime": "2015-09-24T23:59:59Z", + "type": "Recurring", + "interval": "PT5M", + "enabled": true + } } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job3", + "name": "job3", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "this job will be scheduled once", + "version": 1, + "schedule": { + "startTime": "2017-07-01T03:45:00Z", + "endTime": "2017-12-27T06:00:00Z", + "type": "Once", + "enabled": true + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job2", + "name": "job2", + "type": "Microsoft.Sql/servers/jobAccounts/jobs", + "properties": { + "description": "this job will never be automatically scheduled", + "version": 1, + "schedule": { + "startTime": "2017-07-01T03:45:00Z", + "endTime": "2017-12-27T06:00:00Z", + "type": "Once", + "enabled": false + } + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json index e38f7abb3a8c..17bc649b28ba 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { }, - "202": { - "body": "" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "202": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupGet.json index e74374a5935b..c0c8c57e8309 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z", - "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties" : { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z", + "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByDatabase.json index ad875a085557..5571099425ff 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByDatabase.json @@ -1,53 +1,53 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131657960820000000", - "name": "55555555-6666-7777-8888-999999999999;131657960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000", - "name": "55555555-6666-7777-8888-999999999999;131677960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": "2017-09-07T08:00:00.000Z", - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131657960820000000", + "name": "55555555-6666-7777-8888-999999999999;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000", + "name": "55555555-6666-7777-8888-999999999999;131677960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": "2017-09-07T08:00:00.000Z", + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByLocation.json index 3fcc93dfd4e4..ff4c14b997fe 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByLocation.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "japaneast", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;2017-08-23T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver1", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase1", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", - "name": "12341234-1234-1234-1234-123123123123;2017-08-30T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver2", - "serverCreateTime": "2017-04-10T08:00:00.000Z", - "databaseName": "testDatabase2", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver3/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", - "name": "43214321-4321-4321-4321-321321321321;2017-09-06T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver3", - "serverCreateTime": "2017-05-10T08:00:00.000Z", - "databaseName": "testDatabase3", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "japaneast", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;2017-08-23T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver1", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;2017-08-30T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver2", + "serverCreateTime": "2017-04-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver3/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;2017-09-06T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver3", + "serverCreateTime": "2017-05-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByServer.json index f094573aafdd..925678839f2e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupListByServer.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase1", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", - "name": "12341234-1234-1234-1234-123123123123;131657960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase2", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", - "name": "43214321-4321-4321-4321-321321321321;131667960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase3", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;131667960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json index a2a864789a16..3869fcb0671e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup", + "serverName": "testserver", + "databaseName": "testDatabase", + "policyName": "default", + "api-version": "2017-03-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup", - "serverName": "testserver", - "databaseName": "testDatabase", - "policyName" : "default", - "api-version": "2017-03-01", - "parameters": { - "properties" : { - "weeklyRetention": "P1M", - "monthlyRetention": "P1Y", - "yearlyRetention": "P5Y", - "weekOfYear": 5 - } + "properties": { + "weeklyRetention": "P1M", + "monthlyRetention": "P1Y", + "yearlyRetention": "P5Y", + "weekOfYear": 5 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testserver/databases/testDatabase/backupLongTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/resourceGroups/servers/databases/backupLongTermRetentionPolicies", + "properties": { + "weeklyRetention": "P1M", + "monthlyRetention": "P1Y", + "yearlyRetention": "P5Y", + "weekOfYear": 5 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testserver/databases/testDatabase/backupLongTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/resourceGroups/servers/databases/backupLongTermRetentionPolicies", - "properties" : { - "weeklyRetention": "P1M", - "monthlyRetention": "P1Y", - "yearlyRetention": "P5Y", - "weekOfYear": 5 - } - } - }, - "202": { } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyGet.json index a594362f0d21..6d30b00b1d0e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup", - "serverName": "testserver", - "databaseName": "testDatabase", - "policyName" : "default", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testserver/databases/testDatabase/backupLongTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/resourceGroups/servers/databases/backupLongTermRetentionPolicies", - "properties" : { - "weeklyRetention": "P1M", - "monthlyRetention": "P1Y", - "yearlyRetention": "P5Y", - "weekOfYear": 5 - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup", + "serverName": "testserver", + "databaseName": "testDatabase", + "policyName": "default", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testserver/databases/testDatabase/backupLongTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/resourceGroups/servers/databases/backupLongTermRetentionPolicies", + "properties": { + "weeklyRetention": "P1M", + "monthlyRetention": "P1Y", + "yearlyRetention": "P5Y", + "weekOfYear": 5 } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMax.json index 65706e3c02c8..9ba4bd59efcf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMax.json @@ -1,52 +1,52 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2017-03-01-preview", - "parameters": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia" - } + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia" + } + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" + }, + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "tags": { + "tagKey1": "TagValue1" }, - "201": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", - "name": "testdb2", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", + "name": "testdb2", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" }, - "202": {} - } -} \ No newline at end of file + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMin.json index 4143d1c4dfee..b3ba76ef4749 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateMin.json @@ -1,43 +1,43 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia" - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "location": "southeastasia" + } + }, + "responses": { + "200": { + "body": { + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" }, - "201": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", - "name": "testdb2", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "type": "Microsoft.Sql/servers/databases" + } + }, + "201": { + "body": { + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", + "name": "testdb2", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" }, - "202": {} - } + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json index 2f950088217f..3d25a35068e4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "properties": { - "createMode": "PointInTimeRestore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb", - "restorePointInTime": "2017-07-14T05:35:31.503Z" - } - } + "location": "southeastasia", + "properties": { + "createMode": "PointInTimeRestore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb", + "restorePointInTime": "2017-07-14T05:35:31.503Z" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" + }, + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "tags": { + "tagKey1": "TagValue1" }, - "201": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", - "name": "testdb2", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", + "name": "testdb2", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" }, - "202": { } - } -} \ No newline at end of file + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRecovery.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRecovery.json index 58c99c26f59a..129a700d2087 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRecovery.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRecovery.json @@ -1,51 +1,51 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "server1", + "databaseName": "testdb_recovered", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "server1", - "databaseName": "testdb_recovered", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "properties": { - "createMode": "Recovery", - "RecoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb" - } - } + "location": "southeastasia", + "properties": { + "createMode": "Recovery", + "RecoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered", + "name": "testdb_recovered", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2018-11-07T04:41:33.937Z" + }, + "type": "Microsoft.Sql/managedInstances/databases" + } }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered", - "name": "testdb_recovered", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2018-11-07T04:41:33.937Z" - }, - "type": "Microsoft.Sql/managedInstances/databases" - } + "201": { + "body": { + "tags": { + "tagKey1": "TagValue1" }, - "201": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered", - "name": "testdb_recovered", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2018-11-07T04:41:33.937Z" - }, - "type": "Microsoft.Sql/managedInstances/databases" - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered", + "name": "testdb_recovered", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2018-11-07T04:41:33.937Z" }, - "202": { } - } -} \ No newline at end of file + "type": "Microsoft.Sql/managedInstances/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json index c95c4f12808e..3b1ae16660de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json @@ -1,55 +1,55 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "createMode": "RestoreExternalBackup", - "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups", - "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234", - "collation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia" - } + "properties": { + "createMode": "RestoreExternalBackup", + "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups", + "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234", + "collation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia" + } + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" + }, + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "tags": { + "tagKey1": "TagValue1" }, - "201": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", - "name": "testdb2", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe" - }, - "type": "Microsoft.Sql/servers/databases" - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2", + "name": "testdb2", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe" }, - "202": { } - } -} \ No newline at end of file + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json index 6b85d94aee22..03792a5bc52b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": {}, - "204": { - "body": "" - } + "202": {}, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseGet.json index 6f1addb900ce..96645d91a368 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Test1", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1", - "location": "southeastasia", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-08-04T15:00:17.73Z", - "defaultSecondaryLocation": "North Europe", - "status": "Online" - }, - "type": "Microsoft.Sql/managedInstances/databases" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Test1", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1", + "location": "southeastasia", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-08-04T15:00:17.73Z", + "defaultSecondaryLocation": "North Europe", + "status": "Online" + }, + "type": "Microsoft.Sql/managedInstances/databases" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseListByManagedInstance.json index 1d4f9899720a..4ff33c21639e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseListByManagedInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseListByManagedInstance.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Test1", - "managedInstanceName": "managedInstance", - "databaseName": "managedDatabase", - "api-version": "2015-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1", - "location": "southeastasia", - "name": "testdb1", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-08-04T15:00:17.73Z", - "defaultSecondaryLocation": "North Europe", - "status": "Online" - }, - "type": "Microsoft.Sql/managedInstances/databases" - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2", - "location": "southeastasia", - "name": "testdb2", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-08-04T15:00:17.73Z", - "defaultSecondaryLocation": "North Europe", - "status": "Online" - }, - "type": "Microsoft.Sql/managedInstances/databases" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Test1", + "managedInstanceName": "managedInstance", + "databaseName": "managedDatabase", + "api-version": "2015-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1", + "location": "southeastasia", + "name": "testdb1", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-08-04T15:00:17.73Z", + "defaultSecondaryLocation": "North Europe", + "status": "Online" + }, + "type": "Microsoft.Sql/managedInstances/databases" + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2", + "location": "southeastasia", + "name": "testdb2", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-08-04T15:00:17.73Z", + "defaultSecondaryLocation": "North Europe", + "status": "Online" + }, + "type": "Microsoft.Sql/managedInstances/databases" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json index 0e03bb50718d..fa32fce558f9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json @@ -7,18 +7,23 @@ "securityAlertPolicyName": "default", "api-version": "2017-03-01-preview", "databaseSecurityAlertPolicyResource": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Sql_Injection","Usage_Anomaly"], - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Sql_Injection", + "Usage_Anomaly" + ], + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } } }, - "responses": { "200": { "body": { @@ -27,17 +32,22 @@ "type": "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Sql_Injection","Usage_Anomaly"], - "retentionDays": 6, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Sql_Injection", + "Usage_Anomaly" + ], + "retentionDays": 6, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, - "201": { "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440/databases/testdb", @@ -45,16 +55,22 @@ "type": "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Disabled" + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Disabled" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json index eecb95676bdd..ac22edd70215 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json @@ -12,7 +12,6 @@ } } }, - "responses": { "200": { "body": { @@ -20,34 +19,33 @@ "name": "default", "type": "Microsoft.Sql/managedInstance/databases/securityAlertPolicies", "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" + "properties": { + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "" } } }, - "201": { "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440/databases/testdb", "name": "default", "type": "Microsoft.Sql/managedInstance/databases/securityAlertPolicies", "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" + "properties": { + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertGet.json index bfe957f75f57..93d01a3ab6c4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertGet.json @@ -9,20 +9,25 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/managedInstances/securityalert-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Usage_Anomaly"], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/managedInstances/securityalert-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Usage_Anomaly" + ], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "" } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json index 82930bce8189..bd8d7b310efe 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json @@ -19,8 +19,13 @@ "properties": { "state": "Enabled", "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Usage_Anomaly"], + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Usage_Anomaly" + ], "retentionDays": 0, "storageAccountAccessKey": "", "storageEndpoint": "" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMax.json index fea44768a241..342311fd20a0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMax.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "tags": { - "tagKey1": "TagValue1" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb" - }, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe", - "type": "Microsoft.Sql/servers/databases" - } - }, - "202": { } + "tags": { + "tagKey1": "TagValue1" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb" + }, + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMin.json index fea44768a241..342311fd20a0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseUpdateMin.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "tags": { - "tagKey1": "TagValue1" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb" - }, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "status": "Online", - "creationDate": "2017-06-07T04:41:33.937Z", - "defaultSecondaryLocation": "North Europe", - "type": "Microsoft.Sql/servers/databases" - } - }, - "202": { } + "tags": { + "tagKey1": "TagValue1" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb" + }, + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "status": "Online", + "creationDate": "2017-06-07T04:41:33.937Z", + "defaultSecondaryLocation": "North Europe", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json index 1cdca2d08572..9ba28b304bba 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json @@ -1,48 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "administratorName": "ActiveDirectory", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "administratorName": "ActiveDirectory", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } + "type": "Microsoft.Sql/managedInstances/administrators" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" }, - "202": {} - } -} \ No newline at end of file + "type": "Microsoft.Sql/managedInstances/administrators" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json index 528536cb9116..c558dc3d001e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "administratorName": "ActiveDirectory", - "api-version": "2017-03-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "administratorName": "ActiveDirectory", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses" : { - "200" : { - "body" : "" - }, - "202" : {} - } + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json index 1fe81559ed4d..b4874c326b52 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "administratorName": "ActiveDirectory", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "administratorName": "ActiveDirectory", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" + }, + "type": "Microsoft.Sql/managedInstances/administrators" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json index c67a4ba6478c..5170d55e2d88 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" + }, + "type": "Microsoft.Sql/managedInstances/administrators" + } + ] + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json index 1cdca2d08572..9ba28b304bba 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json @@ -1,48 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "managedInstanceName": "managedInstance", + "administratorName": "ActiveDirectory", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "managedInstanceName": "managedInstance", - "administratorName": "ActiveDirectory", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", - "location": "southeastasia", - "name": "ActiveDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "44444444-3333-2222-1111-000000000000", - "tenantId": "55555555-4444-3333-2222-111111111111" - }, - "type": "Microsoft.Sql/managedInstances/administrators" - } + "type": "Microsoft.Sql/managedInstances/administrators" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory", + "location": "southeastasia", + "name": "ActiveDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "44444444-3333-2222-1111-000000000000", + "tenantId": "55555555-4444-3333-2222-111111111111" }, - "202": {} - } -} \ No newline at end of file + "type": "Microsoft.Sql/managedInstances/administrators" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMax.json index 01db47d66248..18e7364bae5e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMax.json @@ -1,40 +1,49 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "managedInstanceName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "managedInstanceName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", + "name": "Default", + "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", - "name": "Default", - "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMin.json index d04d11b02c85..f439168f61c9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertCreateMin.json @@ -1,36 +1,35 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "managedInstanceName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "managedInstanceName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", + "name": "Default", + "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", - "name": "Default", - "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertGet.json index 789e680e1bec..569dcbd0bf76 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertGet.json @@ -1,27 +1,31 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "managedInstanceName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", - "name": "Default", - "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "managedInstanceName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440", + "name": "Default", + "type": "Microsoft.Sql/managedInstances/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json index ebc42072d9d9..fa996922cfdf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json @@ -16,8 +16,12 @@ "properties": { "state": "Disabled", "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], "retentionDays": 0, "storageAccountAccessKey": "", "storageEndpoint": "" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PatchDatabase.json index ecc2460ce7e9..8abff3098570 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PatchDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PatchDatabase.json @@ -1,45 +1,45 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824 - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S1", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S1", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - }, - "202": {} + "sku": { + "name": "S1", + "tier": "Standard" + }, + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824 + } } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S1", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S1", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PauseDatabase.json index 1759dd2d0a25..b976ac432c04 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PauseDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/PauseDatabase.json @@ -9,9 +9,7 @@ "responses": { "200": { "body": { - "sku": { - - }, + "sku": {}, "kind": "v12.0,user,datawarehouse", "properties": { "collation": "SQL_Latin1_General_CP1_CI_AS", @@ -31,4 +29,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json index 752baa5d065b..5ca26fc49294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json index 752baa5d065b..5ca26fc49294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RenameDatabase.json index 2a5a534d8d02..963ff8794aad 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RenameDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RenameDatabase.json @@ -1,15 +1,15 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb" - } - }, - "responses": { - "200": { } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RestorableDroppedManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RestorableDroppedManagedDatabaseListByManagedInstance.json index eede52de3e56..917f0b3a2eaa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RestorableDroppedManagedDatabaseListByManagedInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/RestorableDroppedManagedDatabaseListByManagedInstance.json @@ -1,38 +1,38 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Test1", - "managedInstanceName": "managedInstance", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "databaseName": "testdb", - "creationDate": "2017-05-07T04:41:33.937Z", - "deletionDate": "2017-05-27T02:49:47.690Z" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb,131403269876900000", - "name": "testdb,131403269876900000", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases" - }, - { - "properties": { - "databaseName": "testdb2", - "creationDate": "2017-05-07T04:41:33.937Z", - "deletionDate": "2017-05-27T02:49:47.690Z" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb2,131403269876900000", - "name": "testdb2,131403269876900000", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Test1", + "managedInstanceName": "managedInstance", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "databaseName": "testdb", + "creationDate": "2017-05-07T04:41:33.937Z", + "deletionDate": "2017-05-27T02:49:47.690Z" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb,131403269876900000", + "name": "testdb,131403269876900000", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases" + }, + { + "properties": { + "databaseName": "testdb2", + "creationDate": "2017-05-07T04:41:33.937Z", + "deletionDate": "2017-05-27T02:49:47.690Z" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb2,131403269876900000", + "name": "testdb2,131403269876900000", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResumeDatabase.json index 20cf7dc71a28..26cb94e67626 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResumeDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResumeDatabase.json @@ -9,9 +9,7 @@ "responses": { "200": { "body": { - "sku": { - - }, + "sku": {}, "kind": "v12.0,user,datawarehouse", "properties": { "collation": "SQL_Latin1_General_CP1_CI_AS", @@ -31,4 +29,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json index bcfc14c94d9b..166ce399e74e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json index ffdde26ff8e9..04405480e334 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningGet.json index a2360e5ecf6e..651bbd896921 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningGet.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMax.json index e84ef6c8a833..8f17622bcaba 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMax.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMin.json index 7dcc72bee660..152505aa50ce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerAutomaticTuningUpdateMin.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMax.json index f40d22cc4dc8..2cdb03719134 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMax.json @@ -1,43 +1,51 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-4799", + "serverName": "blobauditingtest-6440", + "blobAuditingPolicyName": "default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "serverName": "blobauditingtest-6440", - "blobAuditingPolicyName": "default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": true - } + "properties": { + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/auditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/auditingSettings", + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": true } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/auditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/auditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": true - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } + "202": { + "startTime": "2017-11-22T09:34:54.72Z", + "operation": "UpsertServerEngineAuditingPolicy" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMin.json index 41ae652c5dbb..0123254a8c73 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingCreateMin.json @@ -7,32 +7,36 @@ "api-version": "2017-03-01-preview", "parameters": { "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/auditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/auditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP", "BATCH_COMPLETED_GROUP" ], - "isAzureMonitorTargetEnabled": false - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Sql/servers/blobauditingtest-6440/auditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/auditingSettings", + "properties": { + "state": "Enabled", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "retentionDays": 6, + "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", + "isStorageSecondaryKeyInUse": false, + "auditActionsAndGroups": [ + "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", + "FAILED_DATABASE_AUTHENTICATION_GROUP", + "BATCH_COMPLETED_GROUP" + ], + "isAzureMonitorTargetEnabled": false } + } + }, + "202": { + "startTime": "2017-11-22T09:34:54.72Z", + "operation": "UpsertServerEngineAuditingPolicy" } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingGet.json index f7b40e033649..f857b9e9c561 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerBlobAuditingGet.json @@ -8,20 +8,20 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/auditingSettings/default", - "name": "default", - "type": "Microsoft.Sql/servers/auditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": false - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/auditingSettings/default", + "name": "default", + "type": "Microsoft.Sql/servers/auditingSettings", + "properties": { + "state": "Disabled", + "storageEndpoint": "", + "retentionDays": 0, + "auditActionsAndGroups": [], + "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", + "isStorageSecondaryKeyInUse": false, + "isAzureMonitorTargetEnabled": false } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasAcquire.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasAcquire.json index cf1d70ff6266..6c0f87949b4d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasAcquire.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasAcquire.json @@ -6,20 +6,20 @@ "dnsAliasName": "dns-alias-name-1", "api-version": "2017-03-01-preview", "parameters": { - "oldServerDnsAliasId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-old-server/dnsAliases/dns-alias-name-1" + "oldServerDnsAliasId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-old-server/dnsAliases/dns-alias-name-1" } }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-new-server/dnsAliases/dns-alias-name-1", - "name": "server-dns-alias-name-1", - "type": "Microsoft.Sql/servers/dnsAliases", - "properties": { - "azureDnsRecord": "dns-alias-name-1.database.windows.net" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-new-server/dnsAliases/dns-alias-name-1", + "name": "server-dns-alias-name-1", + "type": "Microsoft.Sql/servers/dnsAliases", + "properties": { + "azureDnsRecord": "dns-alias-name-1.database.windows.net" } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasCreateOrUpdate.json index 93cb1edada21..322796345adc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasCreateOrUpdate.json @@ -5,30 +5,29 @@ "serverName": "dns-alias-server", "dnsAliasName": "dns-alias-name-1", "api-version": "2017-03-01-preview", - "parameters": { - } + "parameters": {} }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", - "name": "dns-alias-name-1", - "type": "Microsoft.Sql/servers/dnsAliases", - "properties": { - "azureDnsRecord": "dns-alias-name-1.database.windows.net" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", + "name": "dns-alias-name-1", + "type": "Microsoft.Sql/servers/dnsAliases", + "properties": { + "azureDnsRecord": "dns-alias-name-1.database.windows.net" } + } }, "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", - "name": "dns-alias-name-1", - "type": "Microsoft.Sql/servers/dnsAliases", - "properties": { - "azureDnsRecord": "dns-alias-name-1.database.windows.net" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", + "name": "dns-alias-name-1", + "type": "Microsoft.Sql/servers/dnsAliases", + "properties": { + "azureDnsRecord": "dns-alias-name-1.database.windows.net" } + } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json index e77d43485452..7cc5e64fb2d5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasGet.json index d6dc4e58476b..956ff3baa2d1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasGet.json @@ -5,19 +5,18 @@ "serverName": "dns-alias-server", "dnsAliasName": "dns-alias-name-1", "api-version": "2017-03-01-preview", - "parameters": { - } + "parameters": {} }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", - "name": "dns-alias-name-1", - "type": "Microsoft.Sql/servers/dnsAliases", - "properties": { - "azureDnsRecord": "dns-alias-name-1.database.windows.net" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/dns-alias-server/dnsAliases/dns-alias-name-1", + "name": "dns-alias-name-1", + "type": "Microsoft.Sql/servers/dnsAliases", + "properties": { + "azureDnsRecord": "dns-alias-name-1.database.windows.net" } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasList.json index 55efa6f657b5..50d744f46c38 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasList.json @@ -4,8 +4,7 @@ "resourceGroupName": "Default", "serverName": "dns-alias-server", "api-version": "2017-03-01-preview", - "parameters": { - } + "parameters": {} }, "responses": { "200": { @@ -31,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMax.json index 0ee9a5edfffe..9337c95f94dc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -1,40 +1,49 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.Sql/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.Sql/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMin.json index 48cc23daeadb..956ec4096fcd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsCreateMin.json @@ -1,37 +1,40 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.Sql/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "" + ], + "disabledAlerts": [ + "" + ], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.Sql/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [""], - "disabledAlerts": [""], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsGet.json index c3029f8c4319..6b90412d60ac 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsGet.json @@ -1,27 +1,31 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.Sql/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.Sql/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json index cdf9e82f845e..9fb3f4cd779a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json @@ -16,8 +16,12 @@ "properties": { "state": "Disabled", "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], "retentionDays": 0, "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateJobAgent.json index 8d96b1e2658a..4b6ccb8e4c7b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateJobAgent.json @@ -1,31 +1,31 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"server1", - "jobAgentName":"agent1", - "api-version":"2017-03-01-preview", - "parameters":{ - "tags": { - "mytag1": "myvalue1" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "server1", + "jobAgentName": "agent1", + "api-version": "2017-03-01-preview", + "parameters": { + "tags": { + "mytag1": "myvalue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", + "name": "agent1", + "type": "Microsoft.Sql/servers/jobAgents", + "location": "southeastasia", + "properties": { + "databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" + }, + "tags": { + "mytag1": "myvalue1" } + } }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1", - "name":"agent1", - "type":"Microsoft.Sql/servers/jobAgents", - "location":"southeastasia", - "properties":{ - "databaseId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1" - }, - "tags": { - "mytag1": "myvalue1" - } - } - }, - "202":{ } - } + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json index d359fe738faa..d1b3e5a292d9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json @@ -1,27 +1,26 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup", + "managedInstanceName": "testsvr", + "databaseName": "testdb", + "policyName": "default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup", - "managedInstanceName": "testsvr", - "databaseName": "testdb", - "policyName": "default", - "api-version": "2017-03-01-preview", - "parameters": { - "retentionDays": 14 + "retentionDays": 14 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/managedInstance/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/managedInstance/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json index a11cd4705fcc..866811753f4c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json @@ -1,27 +1,26 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup", + "managedInstanceName": "testsvr", + "restorableDroppedDatabaseId": "testdb,131403269876900000", + "policyName": "default", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup", - "managedInstanceName": "testsvr", - "restorableDroppedDatabaseId": "testdb,131403269876900000", - "policyName": "default", - "api-version": "2017-03-01-preview", - "parameters": { - "retentionDays": 14 + "retentionDays": 14 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/managedInstance/testsvr/restorableDroppedDatabases/testdb,131403269876900000/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/jobs.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/jobs.json index c27e441a95d2..0b434c2886f1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/jobs.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/jobs.json @@ -3244,4 +3244,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json index c120d0466cf0..088991be2557 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json @@ -712,4 +712,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedDatabases.json index 4a74e5ba7e99..537063615c5c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedDatabases.json @@ -674,4 +674,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json index ece76ba2418a..11bbcfa10e89 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json @@ -417,4 +417,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/renameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/renameDatabase.json index 3ed526cd057f..3f0f2316b04a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/renameDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/renameDatabase.json @@ -1,172 +1,172 @@ { - "swagger":"2.0", - "info":{ - "version":"2017-03-01-preview", - "title":"SqlManagementClient", - "description":"The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move":{ - "post":{ - "tags":[ - "Databases" - ], - "description":"Renames a database.", - "operationId":"Databases_Rename", - "parameters":[ - { - "$ref":"#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "description":"The name of the database to rename.", - "required":true, - "type":"string" - }, - { - "name":"parameters", - "in":"body", - "description":"The resource move definition for renaming this database.", - "required":true, - "schema":{ - "$ref":"#/definitions/ResourceMoveDefinition" - } - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"#/parameters/ApiVersionParameter" - } - ], - "responses":{ - "200":{ - "description":"Successfully renamed the database." - }, - "default":{ - "description":"*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SourceDatabaseNotFound - The source database does not exist." - } - }, - "x-ms-examples":{ - "Renames a database.":{ - "$ref":"./examples/RenameDatabase.json" - } - } + "swagger": "2.0", + "info": { + "version": "2017-03-01-preview", + "title": "SqlManagementClient", + "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move": { + "post": { + "tags": [ + "Databases" + ], + "description": "Renames a database.", + "operationId": "Databases_Rename", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "description": "The name of the database to rename.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The resource move definition for renaming this database.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceMoveDefinition" } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully renamed the database." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SourceDatabaseNotFound - The source database does not exist." + } + }, + "x-ms-examples": { + "Renames a database.": { + "$ref": "./examples/RenameDatabase.json" + } } - }, - "definitions":{ - "ResourceMoveDefinition":{ - "description":"Contains the information necessary to perform a resource move (rename).", - "required":[ - "id" - ], - "type":"object", - "properties":{ - "id":{ - "description":"The target ID for the resource", - "type":"string" - } - } + } + } + }, + "definitions": { + "ResourceMoveDefinition": { + "description": "Contains the information necessary to perform a resource move (rename).", + "required": [ + "id" + ], + "type": "object", + "properties": { + "id": { + "description": "The target ID for the resource", + "type": "string" } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" }, - "parameters":{ - "SubscriptionIdParameter":{ - "name":"subscriptionId", - "in":"path", - "description":"The subscription ID that identifies an Azure subscription.", - "required":true, - "type":"string", - "x-ms-parameter-location":"client" - }, - "ApiVersionParameter":{ - "name":"api-version", - "in":"query", - "description":"The API version to use for the request.", - "required":true, - "type":"string", - "x-ms-parameter-location":"client" - }, - "ResourceGroupParameter":{ - "name":"resourceGroupName", - "in":"path", - "description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "description":"The name of the server.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "ManagedInstanceNameParameter":{ - "name":"managedInstanceName", - "in":"path", - "description":"The name of the managed instance.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "DatabaseNameParameter":{ - "name":"databaseName", - "in":"path", - "description":"The name of the database.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "SqlVirtualMachineInstanceNameParameter":{ - "name":"sqlVirtualMachineInstanceName", - "in":"path", - "description":"The name of the SqlVirtualMachineInstance.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "SqlVirtualMachineContainerNameParameter":{ - "name":"sqlVirtualMachineContainerName", - "in":"path", - "description":"The name of the SqlVirtualMachineContainer.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - }, - "VirtualClusterNameParameter":{ - "name":"virtualClusterName", - "in":"path", - "description":"The name of the virtual cluster.", - "required":true, - "type":"string", - "x-ms-parameter-location":"method" - } + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedInstanceNameParameter": { + "name": "managedInstanceName", + "in": "path", + "description": "The name of the managed instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "description": "The name of the database.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineInstanceNameParameter": { + "name": "sqlVirtualMachineInstanceName", + "in": "path", + "description": "The name of the SqlVirtualMachineInstance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineContainerNameParameter": { + "name": "sqlVirtualMachineContainerName", + "in": "path", + "description": "The name of the SqlVirtualMachineContainer.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VirtualClusterNameParameter": { + "name": "virtualClusterName", + "in": "path", + "description": "The name of the virtual cluster.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorableDroppedManagedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorableDroppedManagedDatabases.json index ecfbd76e9214..062b1895f73c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorableDroppedManagedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorableDroppedManagedDatabases.json @@ -320,4 +320,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorePoints.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorePoints.json index 9e95b51b6419..f5fec05b43f5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorePoints.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/restorePoints.json @@ -407,4 +407,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverAutomaticTuning.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverAutomaticTuning.json index 740943a3b7ff..ed682d346ad4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverAutomaticTuning.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverAutomaticTuning.json @@ -300,4 +300,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverDnsAliases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverDnsAliases.json index 43519c53e7e1..7703e7d4c1fc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverDnsAliases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverDnsAliases.json @@ -393,4 +393,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json index a04d538ba5fe..dc012c95b7bc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json @@ -371,4 +371,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceEncryptionProtectors.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceEncryptionProtectors.json index 9146c4594679..6c2388153be7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceEncryptionProtectors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceEncryptionProtectors.json @@ -352,4 +352,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceKeys.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceKeys.json index d3c06b106570..18f1f9d2ef8b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceKeys.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceKeys.json @@ -403,4 +403,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceTdeCertificates.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceTdeCertificates.json index d5d71a3ce365..d98833d12763 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceTdeCertificates.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/ManagedInstanceTdeCertificates.json @@ -205,4 +205,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/TdeCertificates.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/TdeCertificates.json index 19d1b0ca11d8..885641b18425 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/TdeCertificates.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/TdeCertificates.json @@ -205,4 +205,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json index 3660b8b99208..4cdfe825fa3b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelOperations.json @@ -335,4 +335,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json index 5a8b41c0c48c..d8dc938b4595 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/cancelPoolOperations.json @@ -329,4 +329,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/capabilities.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/capabilities.json index db057acb2985..02b98fc1f3c6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/capabilities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/capabilities.json @@ -66,7 +66,9 @@ } }, "x-ms-examples": { - "Get location capabilities": { "$ref": "./examples/CapabilitiesList.json" } + "Get location capabilities": { + "$ref": "./examples/CapabilitiesList.json" + } } } } @@ -919,4 +921,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json index f7a244ea8ef9..3246423df7af 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json @@ -522,4 +522,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databases.json index 93d701e5d5d4..a7177910725b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databases.json @@ -971,4 +971,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json index ed2ed2d0f9bc..897ad7b2065e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/elasticPools.json @@ -550,4 +550,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json index 884b2b396790..0ed12e4708b8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json index 10ca9fd4c0dd..02c93e53a1de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CapabilitiesList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CapabilitiesList.json index ac68e6df4a57..cfa703eb983c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CapabilitiesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CapabilitiesList.json @@ -33233,4 +33233,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseCopyMode.json index c888714f0480..71d59de32294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseCopyMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseCopyMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbcopy", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbcopy", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Copy", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Copy", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseDefaultMode.json index b8736ea03a02..ba5deae797c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseDefaultMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseDefaultMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Default", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824 - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Default", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824 + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } -} \ No newline at end of file + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseMin.json index 871367c58ee5..e790ea99765b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseMin.json @@ -1,61 +1,61 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia" - } + "location": "southeastasia" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabasePITRMode.json index cad9460c0e21..ac1df30711b7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabasePITRMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabasePITRMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbpitr", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbpitr", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "PointInTimeRestore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "restorePointInTime": "2017-07-14T05:35:31.503Z" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "PointInTimeRestore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "restorePointInTime": "2017-07-14T05:35:31.503Z" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", + "name": "dbpitr", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", - "name": "dbpitr", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", - "name": "dbpitr", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr", + "name": "dbpitr", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRecoveryMode.json index 2d02dcf5926d..a4f8cee34bc7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRecoveryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRecoveryMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbrestore", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbrestore", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Restore", - "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Restore", + "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode.json index 5be22c3fb50e..93a6d13ce5db 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode.json @@ -1,70 +1,70 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbrestore", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbrestore", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Restore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Restore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", - "name": "dbrestore", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore", + "name": "dbrestore", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode2.json index 1d68ff631a3e..71d59de32294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode2.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseRestoreMode2.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "dbcopy", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "dbcopy", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Copy", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Copy", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", - "name": "dbcopy", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } -} \ No newline at end of file + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy", + "name": "dbcopy", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseSecondaryMode.json index b7f18f6e0ac5..e9b2a0ce6a61 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseSecondaryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDatabaseSecondaryMode.json @@ -1,69 +1,69 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "location": "southeastasia", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "properties": { - "createMode": "Secondary", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb" - } - } + "location": "southeastasia", + "sku": { + "name": "S0", + "tier": "Standard" + }, + "properties": { + "createMode": "Secondary", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "201": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" }, - "201": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" }, - "202": { } - } + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDwDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDwDatabaseByServiceObjective.json index 50a3936c30f7..044a492679b7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDwDatabaseByServiceObjective.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDwDatabaseByServiceObjective.json @@ -77,4 +77,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json index 43fb529b314e..b06fbe8550a7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json @@ -37,8 +37,7 @@ "maxLogSizeBytes": 104857600 }, "location": "southeastasia", - "id": - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", "name": "testdb", "type": "Microsoft.Sql/servers/databases" } @@ -65,12 +64,11 @@ "maxLogSizeBytes": 104857600 }, "location": "southeastasia", - "id": - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", "name": "testdb", "type": "Microsoft.Sql/servers/databases" } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json index a9e499e9f466..9a6aa83a7e9f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json @@ -70,4 +70,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanExport.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanExport.json index 5b5ffd4ccb08..b3bcabb08df9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanExport.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "vulnerabilityassessmenttest-4799", - "serverName": "vulnerabilityassessmenttest-6440", + "serverName": "vulnerabilityassessmenttest-6440", "databaseName": "testdb", "vulnerabilityAssessmentName": "default", "scanId": "scan001", @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json index 5f4ea1475233..2d91c6b183bf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "vulnerabilityassessmenttest-4711", - "serverName": "vulnerabilityassessmenttest-6411", + "serverName": "vulnerabilityassessmenttest-6411", "databaseName": "testdb", "vulnerabilityAssessmentName": "default", "scanId": "scan001", @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json index 53bf324c67d8..c73ef7fac7e8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -1,68 +1,68 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4711", - "serverName": "vulnerabilityassessmenttest-6411", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan001", - "name": "scan001", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan001", - "triggerType": "OnDemand", - "state": "Passed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan002", - "name": "scan002", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan002", - "triggerType": "Recurring", - "state": "Failed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan003", - "name": "scan003", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan003", - "triggerType": "Recurring", - "state": "FailedToRun", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ - { - "code": "StorageNotFound", - "message": "Storage not found" - } - ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 0 - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityassessmenttest-4711", + "serverName": "vulnerabilityassessmenttest-6411", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan001", + "name": "scan001", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan001", + "triggerType": "OnDemand", + "state": "Passed", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 9 } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan002", + "name": "scan002", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan002", + "triggerType": "Recurring", + "state": "Failed", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 9 + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan003", + "name": "scan003", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan003", + "triggerType": "Recurring", + "state": "FailedToRun", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [ + { + "code": "StorageNotFound", + "message": "Storage not found" + } + ], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 0 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScansExecute.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScansExecute.json index adbd6eb90e53..12401a88722f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScansExecute.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DatabaseVulnerabilityAssessmentScansExecute.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DeleteDatabase.json index ed35085e9ec4..c70d7532b66e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DeleteDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/DeleteDatabase.json @@ -1,14 +1,14 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { }, - "204": { }, - "202": { } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "204": {}, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMax.json index b9bebd074c12..ba7e28028aac 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMax.json @@ -69,4 +69,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMin.json index bb0e9bb14263..25f84bcd695a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolCreateOrUpdateMin.json @@ -58,4 +58,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json index 0ecccfbdb9c2..43158545cdee 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json @@ -10,9 +10,9 @@ "200": { "body": "" }, - "202": { }, + "202": {}, "204": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolGet.json index c6054e374a6a..ed310b1d1455 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolGet.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolListByServer.json index e72fa7cb748d..e0c9401d5e4a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolListByServer.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMax.json index a69b84226a38..058aef24d6da 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMax.json @@ -49,4 +49,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMin.json index b2b9c5679c96..798ef7b5c92e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolUpdateMin.json @@ -5,8 +5,7 @@ "serverName": "sqlcrudtest-8069", "elasticPoolName": "sqlcrudtest-8102", "api-version": "2017-10-01", - "parameters": { - } + "parameters": {} }, "responses": { "200": { @@ -34,4 +33,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ExportDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ExportDatabase.json index 6d6e5567030d..f6580629df21 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ExportDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ExportDatabase.json @@ -1,37 +1,37 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "storageKeyType": "StorageAccessKey", - "storageKey": "+Ce9Tn6QktcX1kFGHUg5sdh54654678bpsE3OM95q5sdfsdfsdyIUu7sdYtR456hgcsRSbFBoH64qB7MA==", - "storageUri": "https://test.blob.core.windows.net/test.bacpac", - "administratorLogin": "login", - "administratorLoginPassword": "password", - "authenticationType": "Sql" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "requestId": "9d9a794a-5cec-4f23-af70-d29511b522a4", - "requestType": "Export", - "queuedTime": "7/13/2017 8:33:27 PM", - "lastModifiedTime": "7/13/2017 8:34:47 PM", - "blobUri": "https://test.blob.core.windows.net/test.bacpac", - "serverName": "testsvr.database.windows.net", - "databaseName": "testdb", - "status": "Completed" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/importExportOperationResults/9d9a794a-5cec-4f23-af70-d29511b522a4", - "name": "9d9a794a-5cec-4f23-af70-d29511b522a4", - "type": "Microsoft.Sql/servers/databases/importExportOperationResults" - } - }, - "202": {} + "storageKeyType": "StorageAccessKey", + "storageKey": "+Ce9Tn6QktcX1kFGHUg5sdh54654678bpsE3OM95q5sdfsdfsdyIUu7sdYtR456hgcsRSbFBoH64qB7MA==", + "storageUri": "https://test.blob.core.windows.net/test.bacpac", + "administratorLogin": "login", + "administratorLoginPassword": "password", + "authenticationType": "Sql" } + }, + "responses": { + "200": { + "body": { + "properties": { + "requestId": "9d9a794a-5cec-4f23-af70-d29511b522a4", + "requestType": "Export", + "queuedTime": "7/13/2017 8:33:27 PM", + "lastModifiedTime": "7/13/2017 8:34:47 PM", + "blobUri": "https://test.blob.core.windows.net/test.bacpac", + "serverName": "testsvr.database.windows.net", + "databaseName": "testdb", + "status": "Completed" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/importExportOperationResults/9d9a794a-5cec-4f23-af70-d29511b522a4", + "name": "9d9a794a-5cec-4f23-af70-d29511b522a4", + "type": "Microsoft.Sql/servers/databases/importExportOperationResults" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetDatabase.json index 70e9298d0244..8d643600cda9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetDatabase.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetRecoverableManagedDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetRecoverableManagedDatabase.json index 8e4906b09671..cb474a52d4d3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetRecoverableManagedDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetRecoverableManagedDatabase.json @@ -12,8 +12,7 @@ "properties": { "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z" }, - "id": - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb", "name": "testdb", "type": "Microsoft.Sql/managedInstances/recoverableDatabases" } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetShortTermRetentionPolicy.json index 089f7b6ad2f7..eb8340e76a3b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetShortTermRetentionPolicy.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "policyName": "default", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays": 14 - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "policyName": "default", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetVCoreDatabase.json index c035868d1692..6e18e7339fc9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetVCoreDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/GetVCoreDatabase.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "BC_Gen4_2", - "tier": "BusinessCritical", - "capacity": 2 - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "BC_Gen4_2", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", - "licenseType": "LicenseIncluded", - "maxLogSizeBytes": 104857600 - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "BC_Gen4_2", + "tier": "BusinessCritical", + "capacity": 2 + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "BC_Gen4_2", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "LicenseIncluded", + "maxLogSizeBytes": 104857600 + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json index ca59f0e5900d..f3263408ff1f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json @@ -1,94 +1,94 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan East", + "failoverGroupName": "failover-group-test-3", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan East", - "failoverGroupName": "failover-group-test-3", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "partnerRegions": [ - { - "location":"Japan West" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" - } - ] + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "partnerRegions": [ + { + "location": "Japan West" + } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" + } + ] } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" - } - ] - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan West", + "replicationRole": "Secondary" } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" - } - ] - } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" } - }, - "202": {} - } -} \ No newline at end of file + ] + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json index d5c77c058c0f..718773a895de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan East", - "failoverGroupName": "failover-group-test-1", - "api-version": "2017-10-01-preview" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan East", + "failoverGroupName": "failover-group-test-1", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupFailover.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupFailover.json index 61298189c56e..b0b5f34087f6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupFailover.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan West", - "failoverGroupName": "failover-group-test-3", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanWest/instanceFailoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan East", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance" - } - ] - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan West", + "failoverGroupName": "failover-group-test-3", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanWest/instanceFailoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan East", + "replicationRole": "Secondary" + } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance" } - }, - "202": {} - } -} \ No newline at end of file + ] + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupForceFailoverAllowDataLoss.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupForceFailoverAllowDataLoss.json index 61298189c56e..b0b5f34087f6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupForceFailoverAllowDataLoss.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupForceFailoverAllowDataLoss.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan West", - "failoverGroupName": "failover-group-test-3", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanWest/instanceFailoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan East", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance" - } - ] - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan West", + "failoverGroupName": "failover-group-test-3", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanWest/instanceFailoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan East", + "replicationRole": "Secondary" + } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance" } - }, - "202": {} - } -} \ No newline at end of file + ] + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupGet.json index a9c7a90f0173..11390817d4cd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupGet.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan East", - "failoverGroupName": "failover-group-test", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", - "name": "failover-group-test-3", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" - } - ] - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan East", + "failoverGroupName": "failover-group-test", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-3", + "name": "failover-group-test-3", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan West", + "replicationRole": "Secondary" } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupList.json index 709267dc08df..08efb9a0cea5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupList.json @@ -1,72 +1,72 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default", - "locationName": "Japan East", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default", + "locationName": "Japan East", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test", + "name": "failover-group-test", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test", - "name": "failover-group-test", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" - } - ] - } - }, + "location": "Japan West", + "replicationRole": "Secondary" + } + ], + "managedInstancePairs": [ + { + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance" + } + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-1", + "name": "failover-group-test-1", + "type": "Microsoft.Sql/locations/failoverGroups", + "properties": { + "readWriteEndpoint": { + "failoverPolicy": "Automatic", + "failoverWithDataLossGracePeriodMinutes": 480 + }, + "readOnlyEndpoint": { + "failoverPolicy": "Disabled" + }, + "replicationRole": "Primary", + "replicationState": "CATCH_UP", + "partnerRegions": [ + { + "location": "Japan West", + "replicationRole": "Secondary" + } + ], + "managedInstancePairs": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/JapanEast/instanceFailoverGroups/failover-group-test-1", - "name": "failover-group-test-1", - "type": "Microsoft.Sql/locations/failoverGroups", - "properties": { - "readWriteEndpoint": { - "failoverPolicy": "Automatic", - "failoverWithDataLossGracePeriodMinutes": 480 - }, - "readOnlyEndpoint": { - "failoverPolicy": "Disabled" - }, - "replicationRole": "Primary", - "replicationState": "CATCH_UP", - "partnerRegions": [ - { - "location":"Japan West", - "replicationRole":"Secondary" - } - ], - "managedInstancePairs": [ - { - "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance-1", - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance-1" - } - ] - } + "primaryManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-primary-mngdInstance-1", + "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/failover-group-secondary-mngdInstance-1" } - ] + ] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabaseOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabaseOperations.json index aa63a9bef18a..5727d8a96595 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabaseOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabaseOperations.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "serverName": "sqlcrudtest-4645", - "databaseName": "testdb", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/11111111-1111-1111-1111-111111111111", - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Sql/servers/databases/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 100, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T09:10:08.10Z", - "state": "Succeeded", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/55555555-5555-5555-5555-555555555555", - "name": "55555555-5555-5555-5555-555555555555", - "type": "Microsoft.Sql/servers/databases/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 19, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T10:10:08.10Z", - "state": "InProgress", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": true - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "databaseName": "testdb", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.Sql/servers/databases/operations", + "properties": { + "databaseName": "testdb", + "operation": "UpdateLogicalDatabase", + "operationFriendlyName": "ALTER DATABASE", + "percentComplete": 100, + "serverName": "sqlcrudtest-4645", + "startTime": "2017-06-01T09:10:08.10Z", + "state": "Succeeded", + "estimatedCompletionTime": "2017-06-01T13:10:10Z", + "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", + "isCancellable": false } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/databases/testdb/operations/55555555-5555-5555-5555-555555555555", + "name": "55555555-5555-5555-5555-555555555555", + "type": "Microsoft.Sql/servers/databases/operations", + "properties": { + "databaseName": "testdb", + "operation": "UpdateLogicalDatabase", + "operationFriendlyName": "ALTER DATABASE", + "percentComplete": 19, + "serverName": "sqlcrudtest-4645", + "startTime": "2017-06-01T10:10:08.10Z", + "state": "InProgress", + "estimatedCompletionTime": "2017-06-01T13:10:10Z", + "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", + "isCancellable": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByElasticPool.json index 8d7b94a8caa8..80fd7a64f5c8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByElasticPool.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByServer.json index b487148a6635..b3b18214c8f7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListDatabasesByServer.json @@ -1,56 +1,58 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "sku": { - "name": "S0", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - }, - { - "sku": { - "name": "System0", - "tier": "System" - }, - "kind": "v12.0,system", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 32212254720, - "status": "Online", - "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", - "creationDate": "2017-06-07T04:23:42.537Z", - "currentServiceObjectiveName": "System0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", - "name": "master", - "type": "Microsoft.Sql/servers/databases" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "S0", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + }, + { + "sku": { + "name": "System0", + "tier": "System" + }, + "kind": "v12.0,system", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 32212254720, + "status": "Online", + "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", + "creationDate": "2017-06-07T04:23:42.537Z", + "currentServiceObjectiveName": "System0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", + "name": "master", + "type": "Microsoft.Sql/servers/databases" + } + ] + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListElasticPoolOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListElasticPoolOperations.json index c4b5ba23fd36..2480abe39f32 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListElasticPoolOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListElasticPoolOperations.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtestgroup", - "serverName": "sqlcrudtestserver", - "elasticPoolName": "testpool", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/11111111-1111-1111-1111-111111111111", - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Sql/servers/elasticPools/operations", - "properties": { - "elasticPoolName": "testpool", - "operation": "UPDATE", - "operationFriendlyName": "UPDATE", - "percentComplete": 100, - "serverName": "sqlcrudtestserver", - "startTime": "2017-10-30T09:10:08.10Z", - "state": "COMPLETED", - "estimatedCompletionTime": "2017-10-30T13:10:10Z", - "description": "UpdateLogicalResourcePool on pool 'testpool', target Edition 'Standard', target pool DTU 300", - "isCancellable": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/55555555-5555-5555-5555-555555555555", - "name": "55555555-5555-5555-5555-555555555555", - "type": "Microsoft.Sql/servers/elasticPools/operations", - "properties": { - "elasticPoolName": "testpool", - "operation": "UPDATE", - "operationFriendlyName": "UPDATE", - "percentComplete": 0, - "serverName": "sqlcrudtestserver", - "startTime": "2017-10-30T10:10:08.10Z", - "state": "IN_PROGRESS", - "estimatedCompletionTime": "2017-10-31T09:10:10Z", - "description": "UpdateLogicalResourcePool on pool 'testpool', target Edition 'Standard', target pool DTU 300", - "isCancellable": true - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtestgroup", + "serverName": "sqlcrudtestserver", + "elasticPoolName": "testpool", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.Sql/servers/elasticPools/operations", + "properties": { + "elasticPoolName": "testpool", + "operation": "UPDATE", + "operationFriendlyName": "UPDATE", + "percentComplete": 100, + "serverName": "sqlcrudtestserver", + "startTime": "2017-10-30T09:10:08.10Z", + "state": "COMPLETED", + "estimatedCompletionTime": "2017-10-30T13:10:10Z", + "description": "UpdateLogicalResourcePool on pool 'testpool', target Edition 'Standard', target pool DTU 300", + "isCancellable": false } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/55555555-5555-5555-5555-555555555555", + "name": "55555555-5555-5555-5555-555555555555", + "type": "Microsoft.Sql/servers/elasticPools/operations", + "properties": { + "elasticPoolName": "testpool", + "operation": "UPDATE", + "operationFriendlyName": "UPDATE", + "percentComplete": 0, + "serverName": "sqlcrudtestserver", + "startTime": "2017-10-30T10:10:08.10Z", + "state": "IN_PROGRESS", + "estimatedCompletionTime": "2017-10-31T09:10:10Z", + "description": "UpdateLogicalResourcePool on pool 'testpool', target Edition 'Standard', target pool DTU 300", + "isCancellable": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListRecoverableManagedDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListRecoverableManagedDatabasesByServer.json index f07adaf412c1..0d3f9eb235fd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListRecoverableManagedDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListRecoverableManagedDatabasesByServer.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Test1", - "managedInstanceName": "managedInstance", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/managedInstances/recoverableDaatabases" - }, - { - "properties": { - "lastAvailableBackupDate": "2018-04-26T02:17:23.44Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb2", - "name": "testdb2", - "type": "Microsoft.Sql/managedInstances/recoverableDaatabases" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Test1", + "managedInstanceName": "managedInstance", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/managedInstances/recoverableDaatabases" + }, + { + "properties": { + "lastAvailableBackupDate": "2018-04-26T02:17:23.44Z" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb2", + "name": "testdb2", + "type": "Microsoft.Sql/managedInstances/recoverableDaatabases" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListShortTermRetentionPoliciesByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListShortTermRetentionPoliciesByDatabase.json index 959605e97c7c..b54fe8673060 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListShortTermRetentionPoliciesByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListShortTermRetentionPoliciesByDatabase.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "policyName": "default", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", - "properties": { - "retentionDays":14 - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "policyName": "default", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } - } - } -} \ No newline at end of file + } + ] + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListVCoreDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListVCoreDatabasesByServer.json index 08a5b0da6854..179abb83f3b8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListVCoreDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ListVCoreDatabasesByServer.json @@ -1,61 +1,61 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "sku": { - "name": "BC_Gen4_2", - "tier": "BusinessCritical", - "capacity": 2 - }, - "kind": "v12.0,user,vcore", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "BC_Gen4_2", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", - "licenseType": "LicenseIncluded", - "maxLogSizeBytes": 104857600 - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - }, - { - "sku": { - "name": "System0", - "tier": "System" - }, - "kind": "v12.0,system", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 32212254720, - "status": "Online", - "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", - "creationDate": "2017-06-07T04:23:42.537Z", - "currentServiceObjectiveName": "System0", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", - "name": "master", - "type": "Microsoft.Sql/servers/databases" - } - ] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "BC_Gen4_2", + "tier": "BusinessCritical", + "capacity": 2 + }, + "kind": "v12.0,user,vcore", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 268435456000, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "BC_Gen4_2", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "LicenseIncluded", + "maxLogSizeBytes": 104857600 + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + }, + { + "sku": { + "name": "System0", + "tier": "System" + }, + "kind": "v12.0,system", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 32212254720, + "status": "Online", + "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0", + "creationDate": "2017-06-07T04:23:42.537Z", + "currentServiceObjectiveName": "System0", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master", + "name": "master", + "type": "Microsoft.Sql/servers/databases" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json index f028be63d685..2c5a4c81900f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json @@ -13,7 +13,10 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -29,7 +32,10 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -44,10 +50,13 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json index ace54ecf7ca1..ca094dfda1d8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentDelete.json index 6815fcdb5093..6bad663e337e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentDelete.json @@ -8,7 +8,6 @@ "api-version": "2017-10-01-preview" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json index f88ef60d2c6a..a57f0c4f60a0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -1,27 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "managedInstanceName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "managedInstanceName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json index 16e8c272f3a1..381c6bf66b47 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json @@ -1,31 +1,34 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "managedInstanceName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "managedInstanceName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" ] + } } - } + } + ] + } } - } \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json index 7f22f8124ff4..a072d8e98dc2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -12,13 +12,23 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } @@ -33,17 +43,27 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json index a3397b7e03a8..ee8551929e73 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -10,7 +10,6 @@ "api-version": "2017-10-01-preview" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json index 0e58fd7df92c..116642da830e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -18,17 +18,27 @@ "properties": { "baselineResults": [ { - "result": [ "userA", "SELECT" ] + "result": [ + "userA", + "SELECT" + ] }, { - "result": [ "userB", "SELECT" ] + "result": [ + "userB", + "SELECT" + ] }, { - "result": [ "userC", "SELECT", "tableId_4" ] + "result": [ + "userC", + "SELECT", + "tableId_4" + ] } ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanExport.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanExport.json index 4c6006bc7481..62df661dcd9b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanExport.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json index d4f740690099..675234a8141e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json index a2c9cdf21839..0a5f878f3c40 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -1,68 +1,68 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4711", - "managedInstanceName": "vulnerabilityassessmenttest-6411", - "databaseName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2017-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan001", - "name": "scan001", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan001", - "triggerType": "OnDemand", - "state": "Passed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan002", - "name": "scan002", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan002", - "triggerType": "Recurring", - "state": "Failed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan003", - "name": "scan003", - "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan003", - "triggerType": "Recurring", - "state": "FailedToRun", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ - { - "code": "StorageNotFound", - "message": "Storage not found" - } - ], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 0 - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityassessmenttest-4711", + "managedInstanceName": "vulnerabilityassessmenttest-6411", + "databaseName": "testdb", + "vulnerabilityAssessmentName": "default", + "api-version": "2017-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan001", + "name": "scan001", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan001", + "triggerType": "OnDemand", + "state": "Passed", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 9 } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan002", + "name": "scan002", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan002", + "triggerType": "Recurring", + "state": "Failed", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 9 + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityassessmenttest-6440/databases/testdb/vulnerabilityAssessments/default/scans/scan003", + "name": "scan003", + "type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans", + "properties": { + "scanId": "scan003", + "triggerType": "Recurring", + "state": "FailedToRun", + "startTime": "2017-12-12T17:45:06Z", + "endTime": "2017-12-12T17:47:06Z", + "errors": [ + { + "code": "StorageNotFound", + "message": "Storage not found" + } + ], + "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", + "numberOfFailedSecurityChecks": 0 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScansExecute.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScansExecute.json index 2781fc04dd5e..c5c6cb0c9bd5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScansExecute.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScansExecute.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json index 69d7a47c1af8..912cc290f3f1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "managedInstanceName": "sqlcrudtest-4645", + "encryptionProtectorName": "current", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "managedInstanceName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "serverKeyType": "AzureKeyVault", - "serverKeyName": "someVault_someKey_01234567890123456789012345678901" - } + "properties": { + "serverKeyType": "AzureKeyVault", + "serverKeyName": "someVault_someKey_01234567890123456789012345678901" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/encryptionProtector/current", + "name": "current", + "type": "Microsoft.Sql/managedInstances/encryptionProtector", + "kind": "azurekeyvault", + "properties": { + "serverKeyName": "someVault_someKey_01234567890123456789012345678901", + "serverKeyType": "AzureKeyVault" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Sql/managedInstances/encryptionProtector", - "kind": "azurekeyvault", - "properties": { - "serverKeyName": "someVault_someKey_01234567890123456789012345678901", - "serverKeyType": "AzureKeyVault" - } - } - }, - "202": { } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json index d9cd27a2ed2b..fe71804ea37f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "managedInstanceName": "sqlcrudtest-4645", + "encryptionProtectorName": "current", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "managedInstanceName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "serverKeyType": "ServiceManaged", - "serverKeyName": "ServiceManaged" - } + "properties": { + "serverKeyType": "ServiceManaged", + "serverKeyName": "ServiceManaged" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/encryptionProtector/current", + "name": "current", + "type": "Microsoft.Sql/managedInstances/encryptionProtector", + "kind": "servicemanaged", + "properties": { + "serverKeyName": "ServiceManaged", + "serverKeyType": "ServiceManaged" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Sql/managedInstances/encryptionProtector", - "kind": "servicemanaged", - "properties": { - "serverKeyName": "ServiceManaged", - "serverKeyType": "ServiceManaged" - } - } - }, - "202": { } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json index 55f142d6b549..2088ab9e9ab3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "sqlcrudtest-7398", "managedInstanceName": "sqlcrudtest-4645", - "encryptionProtectorName": "current", + "encryptionProtectorName": "current", "api-version": "2017-10-01-preview" }, "responses": { @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorList.json index c4b7cdce93d7..f591c75fbcc8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceEncryptionProtectorList.json @@ -20,8 +20,8 @@ "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" } } - ] + ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json index 1be1b7cee0d5..be1cf85c04ca 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json @@ -1,46 +1,46 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "managedInstanceName": "sqlcrudtest-4645", + "keyName": "someVault_someKey_01234567890123456789012345678901", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "managedInstanceName": "sqlcrudtest-4645", - "keyName": "someVault_someKey_01234567890123456789012345678901", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" - } + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/managedInstances/keys", + "kind": "azurekeyvault", + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", + "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", + "creationDate": "2017-05-01T00:00:00.0Z" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", - "name": "sqlcrudtest-4645", - "type": "Microsoft.Sql/managedInstances/keys", - "kind": "azurekeyvault", - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", - "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", - "creationDate": "2017-05-01T00:00:00.0Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", - "name": "sqlcrudtest-4645", - "type": "Microsoft.Sql/managedInstances/keys", - "kind": "azurekeyvault", - "properties": { - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", - "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", - "creationDate": "2017-05-01T00:00:00.0Z" - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/keys/someVault_someKey_01234567890123456789012345678901", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/managedInstances/keys", + "kind": "azurekeyvault", + "properties": { + "serverKeyType": "AzureKeyVault", + "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901", + "thumbprint": "00112233445566778899AABBCCDDEEFFAABBCCDD", + "creationDate": "2017-05-01T00:00:00.0Z" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json index d4364ec4dd72..a748fd8b799d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyGet.json index 24f4871074d1..07975387f667 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyList.json index 04314f0fe719..35ba68ca1e44 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyList.json @@ -42,8 +42,8 @@ "serverKeyType": "ServiceManaged" } } - ] + ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json index 762693cb8dd9..daa4452eb004 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json @@ -1,18 +1,18 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "testtdecert", + "managedInstanceName": "testtdecert", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000001", - "resourceGroupName": "testtdecert", - "managedInstanceName": "testtdecert", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", - "password" : "password" - } - } - }, - "responses": { - "200": { }, - "202": { } + "properties": { + "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", + "password": "password" + } } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchDatabase.json index ecc2460ce7e9..8abff3098570 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchDatabase.json @@ -1,45 +1,45 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824 - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "S1", - "tier": "Standard" - }, - "kind": "v12.0,user", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "S1", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - }, - "202": {} + "sku": { + "name": "S1", + "tier": "Standard" + }, + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824 + } } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "S1", + "tier": "Standard" + }, + "kind": "v12.0,user", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "S1", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchVCoreDatabase.json index b0b211816a51..b7cadca93aa5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchVCoreDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PatchVCoreDatabase.json @@ -1,47 +1,47 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "sku": { - "name": "BC_Gen4_4" - }, - "properties": { - "maxSizeBytes": 1073741824, - "licenseType": "LicenseIncluded" - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "BC_Gen4_4", - "tier": "BusinessCritical", - "capacity": 4 - }, - "kind": "v12.0,user,vcore", - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 1073741824, - "status": "Online", - "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", - "creationDate": "2017-06-07T04:41:33.937Z", - "currentServiceObjectiveName": "BC_Gen4_4", - "defaultSecondaryLocation": "North Europe", - "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", - "licenseType": "LicenseIncluded", - "maxLogSizeBytes": 104857600 - }, - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases" - } - }, - "202": {} + "sku": { + "name": "BC_Gen4_4" + }, + "properties": { + "maxSizeBytes": 1073741824, + "licenseType": "LicenseIncluded" + } } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "BC_Gen4_4", + "tier": "BusinessCritical", + "capacity": 4 + }, + "kind": "v12.0,user,vcore", + "properties": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": 1073741824, + "status": "Online", + "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", + "creationDate": "2017-06-07T04:41:33.937Z", + "currentServiceObjectiveName": "BC_Gen4_4", + "defaultSecondaryLocation": "North Europe", + "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "LicenseIncluded", + "maxLogSizeBytes": 104857600 + }, + "location": "southeastasia", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases" + } + }, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PauseDatabase.json index 16115b015d5e..a7f821de6f2b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PauseDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/PauseDatabase.json @@ -10,8 +10,8 @@ "200": { "body": { "sku": { - "name": "DW100", - "tier": "DataWarehouse" + "name": "DW100", + "tier": "DataWarehouse" }, "kind": "v12.0,user,datawarehouse", "properties": { @@ -32,4 +32,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/RenameDatabase.json index 2a5a534d8d02..963ff8794aad 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/RenameDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/RenameDatabase.json @@ -1,15 +1,15 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "Default-SQL-SouthEastAsia", + "serverName": "testsvr", + "databaseName": "testdb", + "api-version": "2017-03-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "serverName": "testsvr", - "databaseName": "testdb", - "api-version": "2017-03-01-preview", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb" - } - }, - "responses": { - "200": { } + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ResumeDatabase.json index 436dffd24975..304203893b24 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ResumeDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ResumeDatabase.json @@ -10,8 +10,8 @@ "200": { "body": { "sku": { - "name": "DW100", - "tier": "DataWarehouse" + "name": "DW100", + "tier": "DataWarehouse" }, "kind": "v12.0,user,datawarehouse", "properties": { @@ -32,4 +32,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json index d5d0dcffb2b9..112fe6492946 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json @@ -1,19 +1,19 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "testtdecert", + "serverName": "testtdecert", + "tdeCertName": "current", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000001", - "resourceGroupName": "testtdecert", - "serverName": "testtdecert", - "tdeCertName": "current", - "api-version": "2017-10-01-preview", - "parameters": { - "properties": { - "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", - "password" : "password" - } - } - }, - "responses": { - "200": { }, - "202": { } + "properties": { + "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", + "password": "password" + } } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpdateShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpdateShortTermRetentionPolicy.json index 263395ca6808..213d4384a01c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpdateShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpdateShortTermRetentionPolicy.json @@ -1,28 +1,28 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup", + "serverName": "testsvr", + "databaseName": "testdb", + "policyName": "default", + "api-version": "2017-10-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup", - "serverName": "testsvr", - "databaseName": "testdb", - "policyName" : "default", - "api-version": "2017-10-01-preview", - "parameters": { - "properties" : { - "retentionDays": 14 - } + "properties": { + "retentionDays": 14 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testsvr/databases/testdb/backupLongTermRetentionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", + "properties": { + "retentionDays": 14 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testsvr/databases/testdb/backupLongTermRetentionPolicies/default", - "name": "default", - "type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies", - "properties" : { - "retentionDays": 14 - } - } - }, - "202": {} - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpgradeDataWarehouse.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpgradeDataWarehouse.json index 499aafe92cc7..76aed8cca6eb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpgradeDataWarehouse.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpgradeDataWarehouse.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/instanceFailoverGroups.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/instanceFailoverGroups.json index 188855b33c45..fcbb71db578a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/instanceFailoverGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/instanceFailoverGroups.json @@ -609,4 +609,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssesmentRuleBaselines.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssesmentRuleBaselines.json index 2cdce03b6ccb..3ca948dad879 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssesmentRuleBaselines.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssesmentRuleBaselines.json @@ -423,4 +423,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessmentScans.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessmentScans.json index 63dac3d431eb..3ef467f1f28b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessmentScans.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessmentScans.json @@ -538,4 +538,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessments.json index f7891dbc7934..35978d9eb823 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessments.json @@ -462,4 +462,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/recoverableManagedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/recoverableManagedDatabases.json index 73a2e0c1f616..b9c84541ffe9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/recoverableManagedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/recoverableManagedDatabases.json @@ -280,4 +280,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPolicies.json index 92a4dccef42b..ee428b5c056f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPolicies.json @@ -396,4 +396,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSchema.json index 1e17d06c2434..7a9f86196fd9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSchema.json @@ -565,7 +565,7 @@ "type": "string", "x-ms-parameter-location": "method" }, - "ServerNameParameter": { + "ServerNameParameter": { "name": "serverName", "in": "path", "description": "The name of the server.", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedDatabaseSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedDatabaseSchema.json index f7ccb564bb5c..75396a60e8a7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedDatabaseSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedDatabaseSchema.json @@ -27,7 +27,7 @@ { "$ref": "#/parameters/ResourceGroupParameter" }, - { + { "$ref": "#/parameters/ManagedInstanceNameParameter" }, { @@ -619,4 +619,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json index 9b77dcfdced9..b52d83999096 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json @@ -308,7 +308,7 @@ } } }, - "ManagedInstanceVulnerabilityAssessment": { + "ManagedInstanceVulnerabilityAssessment": { "description": "A managed instance vulnerability assessment.", "type": "object", "allOf": [ @@ -440,4 +440,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json index b05480ee6b35..b611d4007a4a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json @@ -436,4 +436,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json index f89c6c4a9c2b..a08720eb5cd7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json @@ -6,10 +6,10 @@ "api-version": "2018-06-01-preview", "parameters": { "sku": { - "name": "GP_Gen5", - "tier": "GeneralPurpose", - "family": "Gen5" - }, + "name": "GP_Gen5", + "tier": "GeneralPurpose", + "family": "Gen5" + }, "properties": { "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1", "vCores": 8, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnGet.json index 3d1998116a6a..5eed6d6188aa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnGet.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnListByTable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnListByTable.json index b6aeda63db3a..afcfa1f9b97c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnListByTable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseColumnListByTable.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json index 56720e8b38d7..c736b806d367 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json @@ -10,8 +10,14 @@ "properties": { "state": "Enabled", "emailAccountAdmins": "true", - "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" ], - "disabledAlerts": [ "Sql_Injection", "Usage_Anomaly" ], + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Sql_Injection", + "Usage_Anomaly" + ], "retentionDays": 6, "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", "storageEndpoint": "https://mystorage.blob.core.windows.net" @@ -26,13 +32,19 @@ "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Sql_Injection","Usage_Anomaly"], - "retentionDays": 6, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Sql_Injection", + "Usage_Anomaly" + ], + "retentionDays": 6, + "storageAccountAccessKey": "", + "storageEndpoint": "https://mystorage.blob.core.windows.net" } } }, @@ -43,14 +55,20 @@ "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Disabled" + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Disabled" } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json index 8105ddfadfce..9df02f18e3fd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json @@ -19,14 +19,14 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" + "properties": { + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json index 0fb4bbc6fb1f..b0708e14a15f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json @@ -9,22 +9,27 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", - "location": "Japan East", - "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Usage_Anomaly"], - "retentionDays": 0, - "storageAccountAccessKey": "", - "creationTime": "10/8/2018 12:00:00 AM" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", + "location": "Japan East", + "kind": "V12", + "properties": { + "state": "Enabled", + "emailAccountAdmins": "true", + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Usage_Anomaly" + ], + "retentionDays": 0, + "storageAccountAccessKey": "", + "creationTime": "10/8/2018 12:00:00 AM" } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json index 43269f16c807..38c7002c4d6b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json @@ -19,8 +19,13 @@ "properties": { "state": "Enabled", "emailAccountAdmins": "true", - "emailAddresses": ["test@microsoft.com","user@microsoft.com"], - "disabledAlerts": ["Usage_Anomaly"], + "emailAddresses": [ + "test@microsoft.com", + "user@microsoft.com" + ], + "disabledAlerts": [ + "Usage_Anomaly" + ], "retentionDays": 0, "storageAccountAccessKey": "", "creationTime": "10/8/2018 12:00:00 AM" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json index ac2aa9603066..c002cde6bfd0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json index 3f67d1f95f1f..bb96edb57f64 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json index 1d0bc444bbd4..af06c06ff819 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json index f39f18416b1a..15a58f186434 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnGet.json index 85400b1cd4c1..352f84d70384 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnGet.json @@ -16,9 +16,9 @@ "name": "column1", "type": "Microsoft.Sql/managedInstances/databases/schemas/tables/columns", "properties": { - "columnType": "bit" + "columnType": "bit" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnListByTable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnListByTable.json index 65a52a30e428..f5903c5fab25 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnListByTable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnListByTable.json @@ -17,7 +17,7 @@ "name": "col1", "type": "Microsoft.Sql/managedInstances/databases/schemas/tables/columns", "properties": { - "columnType": "nvarchar" + "columnType": "nvarchar" } }, { @@ -25,11 +25,11 @@ "name": "col2", "type": "Microsoft.Sql/managedInstances/databases/schemas/tables/columns", "properties": { - "columnType": "bit" + "columnType": "bit" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json index 09b08ac16172..1be414bfc806 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json index a9e514f87326..0518716ffdef 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json @@ -1,17 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json index d0c83b702eb9..8e5fd223ce4d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json index 7c5ee1962808..3a9e473f9b7a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json index 7c5ee1962808..3a9e473f9b7a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json index 1b203ff437ab..7002891faa74 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json index 09aca312887d..4cb8a6efe4b4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json index 734446acb9f4..ac4a539f2a03 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json index dfafc5136e83..0e66b49a8faf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json @@ -9,11 +9,14 @@ "properties": { "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -29,7 +32,10 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -44,10 +50,13 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json index 9f9bf693499c..d0e06927fe51 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentDelete.json index cea35165541e..2d8fe4f04e3b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentDelete.json @@ -1,13 +1,12 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "managedInstanceName": "vulnerabilityaseessmenttest-6440", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "managedInstanceName": "vulnerabilityaseessmenttest-6440", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json index f422631ceb9a..3ed8a7aa3bf8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json @@ -1,26 +1,29 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "managedInstanceName": "vulnerabilityaseessmenttest-6440", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "managedInstanceName": "vulnerabilityaseessmenttest-6440", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentListByInstance.json index 1a3462f5a36a..15a5365e9ea6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceVulnerabilityAssessmentListByInstance.json @@ -1,29 +1,32 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "managedInstanceName": "vulnerabilityaseessmenttest-6440", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "managedInstanceName": "vulnerabilityaseessmenttest-6440", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/managedInstances/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json index ec3deec20cfe..829c960f6655 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json @@ -34,4 +34,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json index ed21559eb50f..f34dbd72fd4b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json index 34b897fda7d3..3db174104427 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json @@ -9,11 +9,14 @@ "properties": { "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -29,7 +32,10 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } @@ -44,10 +50,13 @@ "recurringScans": { "isEnabled": true, "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] } } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json index f40528c3dc0f..3cf4125e617c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentDelete.json index 5029aea6d7a2..c09bd93253c9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentDelete.json @@ -1,13 +1,12 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentGet.json index bb89e411cdba..a1f68ce66327 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentGet.json @@ -1,26 +1,29 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "vulnerabilityAssessmentName": "default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "vulnerabilityAssessmentName": "default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentListByServer.json index 64ecaa819995..2ed5fff302a8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ServerVulnerabilityAssessmentListByServer.json @@ -1,30 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "serverName": "vulnerabilityaseessmenttest-6440", - "databaseName": "testdb", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Sql/servers/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ "email1@mail.com", "email2@mail.com" ] - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "vulnerabilityaseessmenttest-4799", + "serverName": "vulnerabilityaseessmenttest-6440", + "databaseName": "testdb", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/vulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Sql/servers/vulnerabilityAssessments", + "properties": { + "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", + "recurringScans": { + "isEnabled": true, + "emailSubscriptionAdmins": true, + "emails": [ + "email1@mail.com", + "email2@mail.com" ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json index 05a14f92609d..84ccd6223fa4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json @@ -494,4 +494,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json index 5b06a8876a12..91220fae3e78 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json @@ -674,4 +674,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/advisors.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/advisors.json index aabd5b99f36b..b31b6093bac3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/advisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/advisors.json @@ -460,4 +460,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionPolicies.json index eb32aab790d8..63699e0d02b9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionPolicies.json @@ -1,274 +1,279 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database Backup Long Term Retention Policy", - "description": "Provides read and update functionality for Azure SQL Database backup long term retention policy", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{backupLongTermRetentionPolicyName}": { - "get": { - "tags": [ - "BackupLongTermRetentionPolicies" - ], - "operationId": "BackupLongTermRetentionPolicies_Get", - "description": "Returns a database backup long term retention policy", - "x-ms-examples": { - "Get backup long term retention policy": { - "$ref": "./examples/BackupLongTermRetentionPolicyGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database." - }, - { - "name": "backupLongTermRetentionPolicyName", - "in": "path", - "description": "The name of the backup long term retention policy", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "name": "BackupLongTermRetentionPolicyName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionPolicy" - } - } - } - }, - "put": { - "tags": [ - "BackupLongTermRetentionPolicies" - ], - "operationId": "BackupLongTermRetentionPolicies_CreateOrUpdate", - "description": "Creates or updates a database backup long term retention policy", - "x-ms-examples": { - "Update backup long term retention policy": { - "$ref": "./examples/BackupLongTermRetentionPolicyUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database" - }, - { - "name": "backupLongTermRetentionPolicyName", - "in": "path", - "description": "The name of the backup long term retention policy", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "name": "BackupLongTermRetentionPolicyName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionPolicy" - }, - "description": "The required parameters to update a backup long term retention policy" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionPolicy" - } - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-long-running-operation": true - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database Backup Long Term Retention Policy", + "description": "Provides read and update functionality for Azure SQL Database backup long term retention policy", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{backupLongTermRetentionPolicyName}": { + "get": { + "tags": [ + "BackupLongTermRetentionPolicies" + ], + "operationId": "BackupLongTermRetentionPolicies_Get", + "description": "Returns a database backup long term retention policy", + "x-ms-examples": { + "Get backup long term retention policy": { + "$ref": "./examples/BackupLongTermRetentionPolicyGet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies": { - "get": { - "tags": [ - "BackupLongTermRetentionPolicies" - ], - "operationId": "BackupLongTermRetentionPolicies_ListByDatabase", - "description": "Returns a database backup long term retention policy", - "x-ms-examples": { - "Get backup long term retention policy": { - "$ref": "./examples/BackupLongTermRetentionPolicyList.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionPolicyListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database." + }, + { + "name": "backupLongTermRetentionPolicyName", + "in": "path", + "description": "The name of the backup long term retention policy", + "required": true, + "type": "string", + "enum": [ + "Default" + ], + "x-ms-enum": { + "name": "BackupLongTermRetentionPolicyName", + "modelAsString": true } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionPolicy" + } + } } - }, - "definitions": { - "BackupLongTermRetentionPolicyProperties": { - "properties": { - "state": { - "type": "string", - "description": "The status of the backup long term retention policy", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "BackupLongTermRetentionPolicyState" - } - }, - "recoveryServicesBackupPolicyResourceId": { - "type": "string", - "description": "The azure recovery services backup protection policy resource id" - } - }, - "required": ["state", "recoveryServicesBackupPolicyResourceId"], - "description": "The properties of a backup long term retention policy" + }, + "put": { + "tags": [ + "BackupLongTermRetentionPolicies" + ], + "operationId": "BackupLongTermRetentionPolicies_CreateOrUpdate", + "description": "Creates or updates a database backup long term retention policy", + "x-ms-examples": { + "Update backup long term retention policy": { + "$ref": "./examples/BackupLongTermRetentionPolicyUpdate.json" + } }, - "BackupLongTermRetentionPolicy": { - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "The geo-location where the resource lives" - }, - "properties": { - "$ref": "#/definitions/BackupLongTermRetentionPolicyProperties", - "description": "The properties of the backup long term retention policy", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database" + }, + { + "name": "backupLongTermRetentionPolicyName", + "in": "path", + "description": "The name of the backup long term retention policy", + "required": true, + "type": "string", + "enum": [ + "Default" ], - "description": "A backup long term retention policy" - }, - "BackupLongTermRetentionPolicyListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BackupLongTermRetentionPolicy" - }, - "description": "The list of long-term retention policies in the database." - } + "x-ms-enum": { + "name": "BackupLongTermRetentionPolicyName", + "modelAsString": true + } + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionPolicy" }, - "required": ["value"], - "description": "Represents the response to a list long-term retention policies request." - } + "description": "The required parameters to update a backup long term retention policy" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionPolicy" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + } }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies": { + "get": { + "tags": [ + "BackupLongTermRetentionPolicies" + ], + "operationId": "BackupLongTermRetentionPolicies_ListByDatabase", + "description": "Returns a database backup long term retention policy", + "x-ms-examples": { + "Get backup long term retention policy": { + "$ref": "./examples/BackupLongTermRetentionPolicyList.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", "in": "path", "required": true, "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "description": "The name of the database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionPolicyListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null } + } + } + }, + "definitions": { + "BackupLongTermRetentionPolicyProperties": { + "properties": { + "state": { + "type": "string", + "description": "The status of the backup long term retention policy", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "BackupLongTermRetentionPolicyState" + } + }, + "recoveryServicesBackupPolicyResourceId": { + "type": "string", + "description": "The azure recovery services backup protection policy resource id" + } + }, + "required": [ + "state", + "recoveryServicesBackupPolicyResourceId" + ], + "description": "The properties of a backup long term retention policy" }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "BackupLongTermRetentionPolicy": { + "properties": { + "location": { + "type": "string", + "readOnly": true, + "description": "The geo-location where the resource lives" + }, + "properties": { + "$ref": "#/definitions/BackupLongTermRetentionPolicyProperties", + "description": "The properties of the backup long term retention policy", + "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "A backup long term retention policy" + }, + "BackupLongTermRetentionPolicyListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BackupLongTermRetentionPolicy" + }, + "description": "The list of long-term retention policies in the database." + } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list long-term retention policies request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionVaults.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionVaults.json index 0734f5b879f6..f99b9020d32c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionVaults.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backupLongTermRetentionVaults.json @@ -1,242 +1,246 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Server Backup Long Term Retention Vault", - "description": "Provides read and update functionality for Azure SQL Server backup long term retention vault", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/backupLongTermRetentionVaults/{backupLongTermRetentionVaultName}": { - "get": { - "tags": [ - "BackupLongTermRetentionVaults" - ], - "operationId": "BackupLongTermRetentionVaults_Get", - "description": "Gets a server backup long term retention vault", - "x-ms-examples": { - "Get backup long term retention vault": { - "$ref": "./examples/BackupLongTermRetentionVaultGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "backupLongTermRetentionVaultName", - "in": "path", - "description": "The name of the Azure SQL Server backup LongTermRetention vault", - "required": true, - "type": "string", - "enum": [ - "RegisteredVault" - ], - "x-ms-enum": { - "name": "BackupLongTermRetentionVaultName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionVault" - } - } - } - }, - "put": { - "tags": [ - "BackupLongTermRetentionVaults" - ], - "operationId": "BackupLongTermRetentionVaults_CreateOrUpdate", - "description": "Updates a server backup long term retention vault", - "x-ms-examples": { - "Update backup long term retention vault": { - "$ref": "./examples/BackupLongTermRetentionVaultUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "backupLongTermRetentionVaultName", - "in": "path", - "description": "The name of the backup long term retention vault", - "required": true, - "type": "string", - "enum": [ - "RegisteredVault" - ], - "x-ms-enum": { - "name": "BackupLongTermRetentionVaultName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionVault" - }, - "description": "The required parameters to update a backup long term retention vault" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionVault" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionVault" - } - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-long-running-operation": true - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Server Backup Long Term Retention Vault", + "description": "Provides read and update functionality for Azure SQL Server backup long term retention vault", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/backupLongTermRetentionVaults/{backupLongTermRetentionVaultName}": { + "get": { + "tags": [ + "BackupLongTermRetentionVaults" + ], + "operationId": "BackupLongTermRetentionVaults_Get", + "description": "Gets a server backup long term retention vault", + "x-ms-examples": { + "Get backup long term retention vault": { + "$ref": "./examples/BackupLongTermRetentionVaultGet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/backupLongTermRetentionVaults": { - "get": { - "tags": [ - "BackupLongTermRetentionVaults" - ], - "operationId": "BackupLongTermRetentionVaults_ListByServer", - "description": "Gets server backup long term retention vaults in a server", - "x-ms-examples": { - "Get backup long term retention vault": { - "$ref": "./examples/BackupLongTermRetentionVaultList.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupLongTermRetentionVaultListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "backupLongTermRetentionVaultName", + "in": "path", + "description": "The name of the Azure SQL Server backup LongTermRetention vault", + "required": true, + "type": "string", + "enum": [ + "RegisteredVault" + ], + "x-ms-enum": { + "name": "BackupLongTermRetentionVaultName", + "modelAsString": true } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionVault" + } + } } - }, - "definitions": { - "BackupLongTermRetentionVaultProperties": { - "properties": { - "recoveryServicesVaultResourceId": { - "type": "string", - "description": "The azure recovery services vault resource id" - } - }, - "required": ["recoveryServicesVaultResourceId"], - "description": "The properties of a backup long term retention vault." + }, + "put": { + "tags": [ + "BackupLongTermRetentionVaults" + ], + "operationId": "BackupLongTermRetentionVaults_CreateOrUpdate", + "description": "Updates a server backup long term retention vault", + "x-ms-examples": { + "Update backup long term retention vault": { + "$ref": "./examples/BackupLongTermRetentionVaultUpdate.json" + } }, - "BackupLongTermRetentionVault": { - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "The geo-location where the resource lives" - }, - "properties": { - "$ref": "#/definitions/BackupLongTermRetentionVaultProperties", - "description": "The properties of the backup long term retention vault", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "backupLongTermRetentionVaultName", + "in": "path", + "description": "The name of the backup long term retention vault", + "required": true, + "type": "string", + "enum": [ + "RegisteredVault" ], - "description": "A backup long term retention vault" - }, - "BackupLongTermRetentionVaultListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BackupLongTermRetentionVault" - }, - "description": "The list of vaults in the server." - } + "x-ms-enum": { + "name": "BackupLongTermRetentionVaultName", + "modelAsString": true + } + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionVault" }, - "required": ["value"], - "description": "Represents the response to a list vaults request." + "description": "The required parameters to update a backup long term retention vault" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionVault" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionVault" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/backupLongTermRetentionVaults": { + "get": { + "tags": [ + "BackupLongTermRetentionVaults" + ], + "operationId": "BackupLongTermRetentionVaults_ListByServer", + "description": "Gets server backup long term retention vaults in a server", + "x-ms-examples": { + "Get backup long term retention vault": { + "$ref": "./examples/BackupLongTermRetentionVaultList.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupLongTermRetentionVaultListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "BackupLongTermRetentionVaultProperties": { + "properties": { + "recoveryServicesVaultResourceId": { + "type": "string", + "description": "The azure recovery services vault resource id" } + }, + "required": [ + "recoveryServicesVaultResourceId" + ], + "description": "The properties of a backup long term retention vault." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "BackupLongTermRetentionVault": { + "properties": { + "location": { + "type": "string", + "readOnly": true, + "description": "The geo-location where the resource lives" + }, + "properties": { + "$ref": "#/definitions/BackupLongTermRetentionVaultProperties", + "description": "The properties of the backup long term retention vault", + "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "A backup long term retention vault" }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "BackupLongTermRetentionVaultListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BackupLongTermRetentionVault" + }, + "description": "The list of vaults in the server." } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list vaults request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backups.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backups.json index 05cc6ba1c558..8fed8dbdf7b1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backups.json @@ -1,350 +1,354 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database Backup", - "description": "Provides read functionality for Azure SQL Database Backups", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases/{databaseName}": { - "get": { - "tags": [ - "RecoverableDatabases" - ], - "operationId": "RecoverableDatabases_Get", - "description": "Gets a recoverable database, which is a resource representing a database's geo backup", - "x-ms-examples": { - "Get a recoverable database": { - "$ref": "./examples/RecoverableDatabaseGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecoverableDatabase" - } - } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database Backup", + "description": "Provides read functionality for Azure SQL Database Backups", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases/{databaseName}": { + "get": { + "tags": [ + "RecoverableDatabases" + ], + "operationId": "RecoverableDatabases_Get", + "description": "Gets a recoverable database, which is a resource representing a database's geo backup", + "x-ms-examples": { + "Get a recoverable database": { + "$ref": "./examples/RecoverableDatabaseGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoverableDatabase" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases": { + "get": { + "tags": [ + "RecoverableDatabases" + ], + "operationId": "RecoverableDatabases_ListByServer", + "description": "Gets a list of recoverable databases", + "x-ms-examples": { + "Get list of restorable dropped databases": { + "$ref": "./examples/RecoverableDatabaseList.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases": { - "get": { - "tags": [ - "RecoverableDatabases" - ], - "operationId": "RecoverableDatabases_ListByServer", - "description": "Gets a list of recoverable databases", - "x-ms-examples": { - "Get list of restorable dropped databases": { - "$ref": "./examples/RecoverableDatabaseList.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecoverableDatabaseListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoverableDatabaseListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppededDatabaseId}": { + "get": { + "tags": [ + "RestorableDroppedDatabases" + ], + "operationId": "RestorableDroppedDatabases_Get", + "description": "Gets a deleted database that can be restored", + "x-ms-examples": { + "Get a restorable dropped database": { + "$ref": "./examples/RestorableDroppedDatabaseGet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppededDatabaseId}": { - "get": { - "tags": [ - "RestorableDroppedDatabases" - ], - "operationId": "RestorableDroppedDatabases_Get", - "description": "Gets a deleted database that can be restored", - "x-ms-examples": { - "Get a restorable dropped database": { - "$ref": "./examples/RestorableDroppedDatabaseGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "restorableDroppededDatabaseId", - "in": "path", - "required": true, - "type": "string", - "description": "The id of the deleted database in the form of databaseName,deletionTimeInFileTimeFormat" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestorableDroppedDatabase" - } - } - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "restorableDroppededDatabaseId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the deleted database in the form of databaseName,deletionTimeInFileTimeFormat" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RestorableDroppedDatabase" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases": { + "get": { + "tags": [ + "RestorableDroppedDatabases" + ], + "operationId": "RestorableDroppedDatabases_ListByServer", + "description": "Gets a list of deleted databases that can be restored", + "x-ms-examples": { + "Get list of restorable dropped databases": { + "$ref": "./examples/RestorableDroppedDatabaseList.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases": { - "get": { - "tags": [ - "RestorableDroppedDatabases" - ], - "operationId": "RestorableDroppedDatabases_ListByServer", - "description": "Gets a list of deleted databases that can be restored", - "x-ms-examples": { - "Get list of restorable dropped databases": { - "$ref": "./examples/RestorableDroppedDatabaseList.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestorableDroppedDatabaseListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RestorableDroppedDatabaseListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null } + } + } + }, + "definitions": { + "RecoverableDatabaseProperties": { + "properties": { + "edition": { + "readOnly": true, + "type": "string", + "description": "The edition of the database" + }, + "serviceLevelObjective": { + "readOnly": true, + "type": "string", + "description": "The service level objective name of the database" + }, + "elasticPoolName": { + "readOnly": true, + "type": "string", + "description": "The elastic pool name of the database" + }, + "lastAvailableBackupDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The last available backup date of the database (ISO8601 format)" + } + }, + "description": "The properties of a recoverable database" + }, + "RecoverableDatabase": { + "properties": { + "properties": { + "$ref": "#/definitions/RecoverableDatabaseProperties", + "description": "The properties of a recoverable database", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "A recoverable database" }, - "definitions": { - "RecoverableDatabaseProperties": { - "properties": { - "edition": { - "readOnly": true, - "type": "string", - "description": "The edition of the database" - }, - "serviceLevelObjective": { - "readOnly": true, - "type": "string", - "description": "The service level objective name of the database" - }, - "elasticPoolName": { - "readOnly": true, - "type": "string", - "description": "The elastic pool name of the database" - }, - "lastAvailableBackupDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The last available backup date of the database (ISO8601 format)" - } - }, - "description": "The properties of a recoverable database" + "RecoverableDatabaseListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecoverableDatabase" + }, + "description": "A list of recoverable databases" + } + }, + "required": [ + "value" + ], + "description": "The response to a list recoverable databases request" + }, + "RestorableDroppedDatabaseProperties": { + "properties": { + "databaseName": { + "readOnly": true, + "type": "string", + "description": "The name of the database" + }, + "edition": { + "readOnly": true, + "type": "string", + "description": "The edition of the database" + }, + "maxSizeBytes": { + "readOnly": true, + "type": "string", + "description": "The max size in bytes of the database" }, - "RecoverableDatabase": { - "properties": { - "properties": { - "$ref": "#/definitions/RecoverableDatabaseProperties", - "description": "The properties of a recoverable database", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "A recoverable database" + "serviceLevelObjective": { + "readOnly": true, + "type": "string", + "description": "The service level objective name of the database" }, - "RecoverableDatabaseListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecoverableDatabase" - }, - "description": "A list of recoverable databases" - } - }, - "required": [ "value" ], - "description": "The response to a list recoverable databases request" + "elasticPoolName": { + "readOnly": true, + "type": "string", + "description": "The elastic pool name of the database" }, - "RestorableDroppedDatabaseProperties": { - "properties": { - "databaseName": { - "readOnly": true, - "type": "string", - "description": "The name of the database" - }, - "edition": { - "readOnly": true, - "type": "string", - "description": "The edition of the database" - }, - "maxSizeBytes": { - "readOnly": true, - "type": "string", - "description": "The max size in bytes of the database" - }, - "serviceLevelObjective": { - "readOnly": true, - "type": "string", - "description": "The service level objective name of the database" - }, - "elasticPoolName": { - "readOnly": true, - "type": "string", - "description": "The elastic pool name of the database" - }, - "creationDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The creation date of the database (ISO8601 format)" - }, - "deletionDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The deletion date of the database (ISO8601 format)" - }, - "earliestRestoreDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The earliest restore date of the database (ISO8601 format)" - } - }, - "description": "The properties of a restorable dropped database" + "creationDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The creation date of the database (ISO8601 format)" }, - "RestorableDroppedDatabase": { - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "The geo-location where the resource lives" - }, - "properties": { - "$ref": "#/definitions/RestorableDroppedDatabaseProperties", - "description": "The properties of a restorable dropped database", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "A restorable dropped database" + "deletionDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The deletion date of the database (ISO8601 format)" }, - "RestorableDroppedDatabaseListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RestorableDroppedDatabase" - }, - "description": "A list of restorable dropped databases" - } - }, - "required": [ "value" ], - "description": "The response to a list restorable dropped databases request" + "earliestRestoreDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The earliest restore date of the database (ISO8601 format)" } + }, + "description": "The properties of a restorable dropped database" }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "RestorableDroppedDatabase": { + "properties": { + "location": { + "type": "string", + "readOnly": true, + "description": "The geo-location where the resource lives" }, - "DatabaseExpandParameter": { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location": "method" + "properties": { + "$ref": "#/definitions/RestorableDroppedDatabaseProperties", + "description": "The properties of a restorable dropped database", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" } + ], + "description": "A restorable dropped database" }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "RestorableDroppedDatabaseListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RestorableDroppedDatabase" + }, + "description": "A list of restorable dropped databases" } + }, + "required": [ + "value" + ], + "description": "The response to a list restorable dropped databases request" + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/capabilities.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/capabilities.json index e4df346db4b4..2d5bf9e1e224 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/capabilities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/capabilities.json @@ -1,382 +1,384 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database capabilities", - "description": "Describes the Azure SQL capabilities available to a subscription for a given location.", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationId}/capabilities": { - "get": { - "tags": [ - "Capabilities" - ], - "operationId": "Capabilities_ListByLocation", - "description": "Gets the capabilities available for the specified location.", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "locationId", - "in": "path", - "required": true, - "type": "string", - "description": "The location id whose capabilities are retrieved." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/LocationCapabilities" - } - } - }, - "x-ms-examples": { - "Get location capabilities": { "$ref": "./examples/CapabilitiesList.json" } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database capabilities", + "description": "Describes the Azure SQL capabilities available to a subscription for a given location.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationId}/capabilities": { + "get": { + "tags": [ + "Capabilities" + ], + "operationId": "Capabilities_ListByLocation", + "description": "Gets the capabilities available for the specified location.", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "locationId", + "in": "path", + "required": true, + "type": "string", + "description": "The location id whose capabilities are retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LocationCapabilities" } + } + }, + "x-ms-examples": { + "Get location capabilities": { + "$ref": "./examples/CapabilitiesList.json" + } } + } + } + }, + "definitions": { + "CapabilityStatus": { + "type": "string", + "description": "The availability status of the capability", + "enum": [ + "Visible", + "Available", + "Default", + "Disabled" + ], + "x-ms-enum": { + "name": "CapabilityStatus" + } }, - "definitions": { - "CapabilityStatus": { - "type": "string", - "description": "The availability status of the capability", - "enum": [ - "Visible", - "Available", - "Default", - "Disabled" - ], - "x-ms-enum": { - "name": "CapabilityStatus" - } + "MaxSizeCapability": { + "properties": { + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum size of the database (see 'unit' for the units).", + "x-nullable": false }, - "MaxSizeCapability": { - "properties": { - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum size of the database (see 'unit' for the units).", - "x-nullable": false - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "The units that the limit is expressed in.", - "enum": [ - "Megabytes", - "Gigabytes", - "Terabytes", - "Petabytes" - ], - "x-ms-enum": { - "name": "MaxSizeUnits" - } - }, - "status": { - "readOnly": true, - "description": "The status of the maximum size capability.", - "$ref": "#/definitions/CapabilityStatus" - } - }, - "description": "The maximum size limits for a database." + "unit": { + "readOnly": true, + "type": "string", + "description": "The units that the limit is expressed in.", + "enum": [ + "Megabytes", + "Gigabytes", + "Terabytes", + "Petabytes" + ], + "x-ms-enum": { + "name": "MaxSizeUnits" + } }, - "ServiceObjectiveCapability": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The service objective name." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the service objective.", - "$ref": "#/definitions/CapabilityStatus" - }, - "performanceLevel": { - "readOnly": true, - "$ref": "#/definitions/PerformanceLevel", - "description": "The performance level of the service objective capability.", - "x-ms-client-flatten": true - }, - "id": { - "readOnly": true, - "type": "string", - "format": "uuid", - "description": "The unique ID of the service objective.", - "x-nullable": false - }, - "supportedMaxSizes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/MaxSizeCapability" - }, - "description": "The list of supported maximum database sizes for this service objective." - }, - "includedMaxSize": { - "readOnly": true, - "$ref": "#/definitions/MaxSizeCapability", - "description": "The included (free) max size for this service level objective." - } - }, - "description": "The service objectives capability." + "status": { + "readOnly": true, + "description": "The status of the maximum size capability.", + "$ref": "#/definitions/CapabilityStatus" + } + }, + "description": "The maximum size limits for a database." + }, + "ServiceObjectiveCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The service objective name." }, - "PerformanceLevel": { - "description": "A possible performance level of a service objective capability.", - "properties": { - "unit": { - "type": "string", - "readOnly": true, - "description": "Unit type used to measure service objective performance level.", - "enum": [ - "DTU" - ], - "x-ms-enum": { - "name": "PerformanceLevelUnit" - } - }, - "value": { - "type": "integer", - "readOnly": true, - "description": "Performance level value." - } - } + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the service objective.", + "$ref": "#/definitions/CapabilityStatus" }, - "EditionCapability": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The edition name." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the edition.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedServiceLevelObjectives": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ServiceObjectiveCapability" - }, - "description": "The list of supported service objectives for the edition." - }, - "zoneRedundant": { - "description": "Whether or not zone redundancy is supported for the edition.", - "type": "boolean", - "readOnly": true - } - }, - "description": "The database edition capabilities." + "performanceLevel": { + "readOnly": true, + "$ref": "#/definitions/PerformanceLevel", + "description": "The performance level of the service objective capability.", + "x-ms-client-flatten": true }, - "ServerVersionCapability": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The server version name." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the server version.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedEditions": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/EditionCapability" - }, - "description": "The list of supported database editions." - }, - "supportedElasticPoolEditions": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ElasticPoolEditionCapability" - }, - "description": "The list of supported elastic pool editions." - } - }, - "description": "The server capabilities." + "id": { + "readOnly": true, + "type": "string", + "format": "uuid", + "description": "The unique ID of the service objective.", + "x-nullable": false }, - "LocationCapabilities": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The location name." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "Azure SQL Database's status for the location.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedServerVersions": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "description": "The list of supported server versions." - } - }, - "description": "The capabilities for a location." + "supportedMaxSizes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MaxSizeCapability" + }, + "description": "The list of supported maximum database sizes for this service objective." }, - "ElasticPoolEditionCapability": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The elastic pool edition name." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the elastic pool edition.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedElasticPoolDtus": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ElasticPoolDtuCapability" - }, - "description": "The list of supported elastic pool DTU levels for the edition." - }, - "zoneRedundant": { - "description": "Whether or not zone redundancy is supported for the edition.", - "type": "boolean", - "readOnly": true - } - }, - "description": "The elastic pool edition capabilities." + "includedMaxSize": { + "readOnly": true, + "$ref": "#/definitions/MaxSizeCapability", + "description": "The included (free) max size for this service level objective." + } + }, + "description": "The service objectives capability." + }, + "PerformanceLevel": { + "description": "A possible performance level of a service objective capability.", + "properties": { + "unit": { + "type": "string", + "readOnly": true, + "description": "Unit type used to measure service objective performance level.", + "enum": [ + "DTU" + ], + "x-ms-enum": { + "name": "PerformanceLevelUnit" + } + }, + "value": { + "type": "integer", + "readOnly": true, + "description": "Performance level value." + } + } + }, + "EditionCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The edition name." }, - "ElasticPoolDtuCapability": { - "properties": { - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum size of the database (see 'unit' for the units)." - }, - "maxDatabaseCount": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum number of databases supported." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the capability.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedMaxSizes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/MaxSizeCapability" - }, - "description": "The list of supported max sizes." - }, - "includedMaxSize": { - "readOnly": true, - "$ref": "#/definitions/MaxSizeCapability", - "description": "The included (free) max size for this service level objective." - }, - "supportedPerDatabaseMaxSizes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/MaxSizeCapability" - }, - "description": "The list of supported max database sizes." - }, - "supportedPerDatabaseMaxDtus": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ElasticPoolPerDatabaseMaxDtuCapability" - }, - "description": "The list of supported max database DTUs." - } - }, - "description": "The Elastic Pool DTU capability." + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the edition.", + "$ref": "#/definitions/CapabilityStatus" }, - "ElasticPoolPerDatabaseMaxDtuCapability": { - "properties": { - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum DTUs per database." - }, - "status": { - "readOnly": true, - "description": "The status of the capability.", - "$ref": "#/definitions/CapabilityStatus" - }, - "supportedPerDatabaseMinDtus": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ElasticPoolPerDatabaseMinDtuCapability" - }, - "description": "The list of supported min database DTUs." - } - }, - "description": "The max per-database DTU capability." + "supportedServiceLevelObjectives": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ServiceObjectiveCapability" + }, + "description": "The list of supported service objectives for the edition." }, - "ElasticPoolPerDatabaseMinDtuCapability": { - "properties": { - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum DTUs per database." - }, - "status": { - "readOnly": true, - "description": "The status of the capability.", - "$ref": "#/definitions/CapabilityStatus" - } - }, - "description": "The minimum per-database DTU capability." + "zoneRedundant": { + "description": "Whether or not zone redundancy is supported for the edition.", + "type": "boolean", + "readOnly": true } + }, + "description": "The database edition capabilities." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "ServerVersionCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The server version name." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the server version.", + "$ref": "#/definitions/CapabilityStatus" + }, + "supportedEditions": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/EditionCapability" + }, + "description": "The list of supported database editions." + }, + "supportedElasticPoolEditions": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ElasticPoolEditionCapability" + }, + "description": "The list of supported elastic pool editions." } + }, + "description": "The server capabilities." }, + "LocationCapabilities": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The location name." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "Azure SQL Database's status for the location.", + "$ref": "#/definitions/CapabilityStatus" + }, + "supportedServerVersions": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "description": "The list of supported server versions." + } + }, + "description": "The capabilities for a location." + }, + "ElasticPoolEditionCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The elastic pool edition name." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the elastic pool edition.", + "$ref": "#/definitions/CapabilityStatus" + }, + "supportedElasticPoolDtus": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ElasticPoolDtuCapability" + }, + "description": "The list of supported elastic pool DTU levels for the edition." + }, + "zoneRedundant": { + "description": "Whether or not zone redundancy is supported for the edition.", + "type": "boolean", + "readOnly": true + } + }, + "description": "The elastic pool edition capabilities." + }, + "ElasticPoolDtuCapability": { + "properties": { + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum size of the database (see 'unit' for the units)." + }, + "maxDatabaseCount": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum number of databases supported." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the capability.", + "$ref": "#/definitions/CapabilityStatus" + }, + "supportedMaxSizes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MaxSizeCapability" + }, + "description": "The list of supported max sizes." + }, + "includedMaxSize": { + "readOnly": true, + "$ref": "#/definitions/MaxSizeCapability", + "description": "The included (free) max size for this service level objective." + }, + "supportedPerDatabaseMaxSizes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MaxSizeCapability" + }, + "description": "The list of supported max database sizes." + }, + "supportedPerDatabaseMaxDtus": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ElasticPoolPerDatabaseMaxDtuCapability" + }, + "description": "The list of supported max database DTUs." + } + }, + "description": "The Elastic Pool DTU capability." + }, + "ElasticPoolPerDatabaseMaxDtuCapability": { + "properties": { + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum DTUs per database." + }, + "status": { + "readOnly": true, + "description": "The status of the capability.", + "$ref": "#/definitions/CapabilityStatus" + }, + "supportedPerDatabaseMinDtus": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ElasticPoolPerDatabaseMinDtuCapability" + }, + "description": "The list of supported min database DTUs." + } + }, + "description": "The max per-database DTU capability." + }, + "ElasticPoolPerDatabaseMinDtuCapability": { + "properties": { + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum DTUs per database." + }, + "status": { + "readOnly": true, + "description": "The status of the capability.", + "$ref": "#/definitions/CapabilityStatus" + } + }, + "description": "The minimum per-database DTU capability." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", @@ -389,4 +391,3 @@ } } } - diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/checkNameAvailability.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/checkNameAvailability.json index 1e14f15cfcb7..0aac1e9cfb62 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/checkNameAvailability.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/checkNameAvailability.json @@ -1,168 +1,168 @@ { - "swagger":"2.0", - "info":{ - "title":"Azure SQL Database", - "description":"Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, and operations.", - "version":"2014-04-01" - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "paths":{ - "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability":{ - "post":{ - "tags":[ - "Servers" - ], - "operationId":"Servers_CheckNameAvailability", - "description":"Determines whether a resource can be created with the specified name.", - "x-ms-examples":{ - "Check for a server name that is available":{ - "$ref":"./examples/CheckNameAvailabilityServerAvailable.json" - }, - "Check for a server name that already exists":{ - "$ref":"./examples/CheckNameAvailabilityServerAlreadyExists.json" - }, - "Check for a server name that is invalid":{ - "$ref":"./examples/CheckNameAvailabilityServerInvalid.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/CheckNameAvailabilityRequest" - }, - "description":"The parameters to request for name availability." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/CheckNameAvailabilityResponse" - } - } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, and operations.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability": { + "post": { + "tags": [ + "Servers" + ], + "operationId": "Servers_CheckNameAvailability", + "description": "Determines whether a resource can be created with the specified name.", + "x-ms-examples": { + "Check for a server name that is available": { + "$ref": "./examples/CheckNameAvailabilityServerAvailable.json" + }, + "Check for a server name that already exists": { + "$ref": "./examples/CheckNameAvailabilityServerAlreadyExists.json" + }, + "Check for a server name that is invalid": { + "$ref": "./examples/CheckNameAvailabilityServerInvalid.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityRequest" + }, + "description": "The parameters to request for name availability." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResponse" } + } } - }, - "definitions":{ - "CheckNameAvailabilityRequest":{ - "properties":{ - "name":{ - "type":"string", - "description":"The name whose availability is to be checked." - }, - "type":{ - "type":"string", - "description":"The type of resource that is used as the scope of the availability check.", - "enum":[ - "Microsoft.Sql/servers" - ], - "x-ms-enum":{ - "name":"CheckNameAvailabilityResourceType", - "modelAsString":false - } - } - }, - "required":[ - "name", - "type" - ], - "description":"A request to check whether the specified name for a resource is available." + } + } + }, + "definitions": { + "CheckNameAvailabilityRequest": { + "properties": { + "name": { + "type": "string", + "description": "The name whose availability is to be checked." }, - "CheckNameAvailabilityResponse":{ - "properties":{ - "available":{ - "type":"boolean", - "description":"True if the name is available, otherwise false.", - "readOnly":true - }, - "message":{ - "type":"string", - "description":"A message explaining why the name is unavailable. Will be null if the name is available.", - "readOnly":true - }, - "name":{ - "type":"string", - "description":"The name whose availability was checked.", - "readOnly":true - }, - "reason":{ - "type":"string", - "description":"The reason code explaining why the name is unavailable. Will be null if the name is available.", - "enum":[ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum":{ - "name":"CheckNameAvailabilityReason", - "modelAsString":false - }, - "readOnly":true - } - }, - "description":"A response indicating whether the specified name for a resource is available." + "type": { + "type": "string", + "description": "The type of resource that is used as the scope of the availability check.", + "enum": [ + "Microsoft.Sql/servers" + ], + "x-ms-enum": { + "name": "CheckNameAvailabilityResourceType", + "modelAsString": false + } } + }, + "required": [ + "name", + "type" + ], + "description": "A request to check whether the specified name for a resource is available." }, - "parameters":{ - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the server.", - "x-ms-parameter-location":"method" + "CheckNameAvailabilityResponse": { + "properties": { + "available": { + "type": "boolean", + "description": "True if the name is available, otherwise false.", + "readOnly": true }, - "DatabaseExpandParameter":{ - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location":"method" + "message": { + "type": "string", + "description": "A message explaining why the name is unavailable. Will be null if the name is available.", + "readOnly": true }, - "TransparentDataEncryptionNameParameter":{ - "name":"transparentDataEncryptionName", - "in":"path", - "required":true, - "type":"string", - "enum":[ - "current" - ], - "description":"The name of the transparent data encryption configuration.", - "x-ms-enum":{ - "modelAsString":true, - "name":"TransparentDataEncryptionName" - }, - "x-ms-parameter-location":"method" + "name": { + "type": "string", + "description": "The name whose availability was checked.", + "readOnly": true + }, + "reason": { + "type": "string", + "description": "The reason code explaining why the name is unavailable. Will be null if the name is available.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "CheckNameAvailabilityReason", + "modelAsString": false + }, + "readOnly": true } + }, + "description": "A response indicating whether the specified name for a resource is available." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + }, + "TransparentDataEncryptionNameParameter": { + "name": "transparentDataEncryptionName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the transparent data encryption configuration.", + "x-ms-enum": { + "modelAsString": true, + "name": "TransparentDataEncryptionName" + }, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/connectionPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/connectionPolicies.json index 1b6f6199449f..c1edc8baf4dd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/connectionPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/connectionPolicies.json @@ -24,7 +24,9 @@ "operationId": "ServerConnectionPolicies_CreateOrUpdate", "description": "Creates or updates the server's connection policy.", "x-ms-examples": { - "Create or update a server's secure connection policy": { "$ref": "./examples/ServerConnectionPolicyCreateOrUpdate.json" } + "Create or update a server's secure connection policy": { + "$ref": "./examples/ServerConnectionPolicyCreateOrUpdate.json" + } }, "parameters": [ { @@ -74,7 +76,9 @@ "operationId": "ServerConnectionPolicies_Get", "description": "Gets the server's secure connection policy.", "x-ms-examples": { - "Get a server's secure connection policy": { "$ref": "./examples/ServerConnectionPolicyGet.json" } + "Get a server's secure connection policy": { + "$ref": "./examples/ServerConnectionPolicyGet.json" + } }, "parameters": [ { @@ -120,7 +124,9 @@ } } }, - "required": [ "connectionType" ], + "required": [ + "connectionType" + ], "description": "The properties of a server secure connection policy." }, "ServerConnectionPolicy": { @@ -130,9 +136,9 @@ "type": "string", "description": "Metadata used for the Azure portal experience." }, - "location":{ - "type":"string", - "description":"Resource location.", + "location": { + "type": "string", + "description": "Resource location.", "readOnly": true }, "properties": { @@ -163,7 +169,9 @@ "in": "path", "required": true, "type": "string", - "enum": ["default"], + "enum": [ + "default" + ], "description": "The name of the connection policy.", "x-ms-enum": { "modelAsString": true, @@ -183,4 +191,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/dataMasking.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/dataMasking.json index 5a37b54f312a..ceea5b156dee 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/dataMasking.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/dataMasking.json @@ -1,438 +1,454 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database Datamasking Policies and Rules", - "description": "Provides create, read, update and delete functionality for Azure SQL Database datamasking policies and rules.", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}": { - "put": { - "tags": [ - "DataMaskingPolicies" - ], - "operationId": "DataMaskingPolicies_CreateOrUpdate", - "description": "Creates or updates a database data masking policy", - "x-ms-examples": { - "Create or update data masking policy max": { "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMax.json" }, - "Create or update data masking policy min": { "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMin.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - }, - "description": "Parameters for creating or updating a data masking policy." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - } - } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database Datamasking Policies and Rules", + "description": "Provides create, read, update and delete functionality for Azure SQL Database datamasking policies and rules.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}": { + "put": { + "tags": [ + "DataMaskingPolicies" + ], + "operationId": "DataMaskingPolicies_CreateOrUpdate", + "description": "Creates or updates a database data masking policy", + "x-ms-examples": { + "Create or update data masking policy max": { + "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMax.json" + }, + "Create or update data masking policy min": { + "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMin.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "#/parameters/DataMaskingPolicyNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataMaskingPolicy" }, - "get": { - "tags": [ - "DataMaskingPolicies" - ], - "operationId": "DataMaskingPolicies_Get", - "description": "Gets a database data masking policy.", - "x-ms-examples": { - "Get data masking policy": { "$ref": "./examples/DataMaskingPolicyGet.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - } - } - } + "description": "Parameters for creating or updating a data masking policy." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataMaskingPolicy" } + } + } + }, + "get": { + "tags": [ + "DataMaskingPolicies" + ], + "operationId": "DataMaskingPolicies_Get", + "description": "Gets a database data masking policy.", + "x-ms-examples": { + "Get data masking policy": { + "$ref": "./examples/DataMaskingPolicyGet.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}": { - "put": { - "tags": [ - "DataMaskingRules" - ], - "operationId": "DataMaskingRules_CreateOrUpdate", - "description": "Creates or updates a database data masking rule.", - "x-ms-examples": { - "Create/Update data masking rule for text": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateText.json" }, - "Create/Update data masking rule for numbers": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateNumber.json" }, - "Create/Update data masking rule for default min": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMin.json" }, - "Create/Update data masking rule for default max": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMax.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - }, - { - "name": "dataMaskingRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the data masking rule." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataMaskingRule" - }, - "description": "The required parameters for creating or updating a data masking rule." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataMaskingRule" - } - } - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "#/parameters/DataMaskingPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataMaskingPolicy" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}": { + "put": { + "tags": [ + "DataMaskingRules" + ], + "operationId": "DataMaskingRules_CreateOrUpdate", + "description": "Creates or updates a database data masking rule.", + "x-ms-examples": { + "Create/Update data masking rule for text": { + "$ref": "./examples/DataMaskingRuleCreateOrUpdateText.json" + }, + "Create/Update data masking rule for numbers": { + "$ref": "./examples/DataMaskingRuleCreateOrUpdateNumber.json" + }, + "Create/Update data masking rule for default min": { + "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMin.json" + }, + "Create/Update data masking rule for default max": { + "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMax.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules": { - "get": { - "tags": [ - "DataMaskingRules" - ], - "operationId": "DataMaskingRules_ListByDatabase", - "description": "Gets a list of database data masking rules.", - "x-ms-examples": { - "List data masking rules": { "$ref": "./examples/DataMaskingRuleList.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingRuleListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "#/parameters/DataMaskingPolicyNameParameter" + }, + { + "name": "dataMaskingRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the data masking rule." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataMaskingRule" + }, + "description": "The required parameters for creating or updating a data masking rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataMaskingRule" } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataMaskingRule" + } + } } + } }, - "definitions": { - "DataMaskingPolicyProperties": { - "properties": { - "dataMaskingState": { - "type": "string", - "description": "The state of the data masking policy.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingState" - } - }, - "exemptPrincipals": { - "type": "string", - "description": "The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries." - }, - "applicationPrincipals": { - "type": "string", - "description": "The list of the application principals. This is a legacy parameter and is no longer used.", - "readOnly": true - }, - "maskingLevel": { - "type": "string", - "description": "The masking level. This is a legacy parameter and is no longer used.", - "readOnly": true - } - }, - "required": [ - "dataMaskingState" - ], - "description": "The properties of a database data masking policy." + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules": { + "get": { + "tags": [ + "DataMaskingRules" + ], + "operationId": "DataMaskingRules_ListByDatabase", + "description": "Gets a list of database data masking rules.", + "x-ms-examples": { + "List data masking rules": { + "$ref": "./examples/DataMaskingRuleList.json" + } }, - "DataMaskingPolicy": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DataMaskingPolicyProperties", - "description": "The properties of the data masking policy." - }, - "location": { - "type": "string", - "readOnly": true, - "description": "The location of the data masking policy." - }, - "kind": { - "type": "string", - "readOnly": true, - "description": "The kind of data masking policy. Metadata, used for Azure portal." - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a database data masking policy." + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "#/parameters/DataMaskingPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataMaskingRuleListResult" + } + } }, - "DataMaskingRuleProperties": { - "properties": { - "id": { - "type": "string", - "description": "The rule Id.", - "readOnly": true - }, - "aliasName": { - "type": "string", - "description": "The alias name. This is a legacy parameter and is no longer used." - }, - "ruleState": { - "type": "string", - "description": "The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingRuleState" - } - }, - "schemaName": { - "type": "string", - "description": "The schema name on which the data masking rule is applied." - }, - "tableName": { - "type": "string", - "description": "The table name on which the data masking rule is applied." - }, - "columnName": { - "type": "string", - "description": "The column name on which the data masking rule is applied." - }, - "maskingFunction": { - "type": "string", - "description": "The masking function that is used for the data masking rule.", - "enum": [ - "Default", - "CCN", - "Email", - "Number", - "SSN", - "Text" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingFunction" - } - }, - "numberFrom": { - "type": "string", - "description": "The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." - }, - "numberTo": { - "type": "string", - "description": "The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." - }, - "prefixSize": { - "type": "string", - "description": "If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored." - }, - "suffixSize": { - "type": "string", - "description": "If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored." - }, - "replacementString": { - "type": "string", - "description": "If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored." - } - }, - "required": [ - "maskingFunction", - "schemaName", - "tableName", - "columnName" - ], - "description": "The properties of a database data masking rule." + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "DataMaskingPolicyProperties": { + "properties": { + "dataMaskingState": { + "type": "string", + "description": "The state of the data masking policy.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DataMaskingState" + } }, - "DataMaskingRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DataMaskingRuleProperties", - "description": "The properties of the resource." - }, - "location": { - "type": "string", - "readOnly": true, - "description": "The location of the data masking rule." - }, - "kind": { - "type": "string", - "readOnly": true, - "description": "The kind of Data Masking Rule. Metadata, used for Azure portal." - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a database data masking rule." + "exemptPrincipals": { + "type": "string", + "description": "The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries." }, - "DataMaskingRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataMaskingRule" - }, - "description": "The list of database data masking rules." - } - }, - "description": "The response to a list data masking rules request." + "applicationPrincipals": { + "type": "string", + "description": "The list of the application principals. This is a legacy parameter and is no longer used.", + "readOnly": true + }, + "maskingLevel": { + "type": "string", + "description": "The masking level. This is a legacy parameter and is no longer used.", + "readOnly": true } + }, + "required": [ + "dataMaskingState" + ], + "description": "The properties of a database data masking policy." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "DataMaskingPolicy": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DataMaskingPolicyProperties", + "description": "The properties of the data masking policy." }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the data masking policy." }, - "DataMaskingPolicyNameParameter": { - "name": "dataMaskingPolicyName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingPolicyName" - }, - "description": "The name of the database for which the data masking rule applies.", - "x-ms-parameter-location": "method" + "kind": { + "type": "string", + "readOnly": true, + "description": "The kind of data masking policy. Metadata, used for Azure portal." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" } + ], + "description": "Represents a database data masking policy." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "DataMaskingRuleProperties": { + "properties": { + "id": { + "type": "string", + "description": "The rule Id.", + "readOnly": true + }, + "aliasName": { + "type": "string", + "description": "The alias name. This is a legacy parameter and is no longer used." + }, + "ruleState": { + "type": "string", + "description": "The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DataMaskingRuleState" + } + }, + "schemaName": { + "type": "string", + "description": "The schema name on which the data masking rule is applied." + }, + "tableName": { + "type": "string", + "description": "The table name on which the data masking rule is applied." + }, + "columnName": { + "type": "string", + "description": "The column name on which the data masking rule is applied." + }, + "maskingFunction": { + "type": "string", + "description": "The masking function that is used for the data masking rule.", + "enum": [ + "Default", + "CCN", + "Email", + "Number", + "SSN", + "Text" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DataMaskingFunction" + } + }, + "numberFrom": { + "type": "string", + "description": "The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." + }, + "numberTo": { + "type": "string", + "description": "The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." + }, + "prefixSize": { + "type": "string", + "description": "If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored." + }, + "suffixSize": { + "type": "string", + "description": "If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored." + }, + "replacementString": { + "type": "string", + "description": "If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored." + } + }, + "required": [ + "maskingFunction", + "schemaName", + "tableName", + "columnName" + ], + "description": "The properties of a database data masking rule." + }, + "DataMaskingRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DataMaskingRuleProperties", + "description": "The properties of the resource." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the data masking rule." + }, + "kind": { + "type": "string", + "readOnly": true, + "description": "The kind of Data Masking Rule. Metadata, used for Azure portal." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" } + ], + "description": "Represents a database data masking rule." + }, + "DataMaskingRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DataMaskingRule" + }, + "description": "The list of database data masking rules." + } + }, + "description": "The response to a list data masking rules request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" + }, + "DataMaskingPolicyNameParameter": { + "name": "dataMaskingPolicyName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "Default" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DataMaskingPolicyName" + }, + "description": "The name of the database for which the data masking rule applies.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databaseSecurityAlertPolicies.json index ecc158ac354c..781ee851799d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databaseSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databaseSecurityAlertPolicies.json @@ -24,7 +24,9 @@ "description": "Gets a database's threat detection policy.", "operationId": "DatabaseThreatDetectionPolicies_Get", "x-ms-examples": { - "Get database security alert policy": { "$ref": "./examples/DatabaseSecurityAlertGet.json" } + "Get database security alert policy": { + "$ref": "./examples/DatabaseSecurityAlertGet.json" + } }, "parameters": [ { @@ -48,7 +50,9 @@ "in": "path", "required": true, "type": "string", - "enum": ["default"], + "enum": [ + "default" + ], "description": "The name of the security alert policy.", "x-ms-enum": { "modelAsString": true, @@ -78,8 +82,12 @@ "description": "Creates or updates a database's threat detection policy.", "operationId": "DatabaseThreatDetectionPolicies_CreateOrUpdate", "x-ms-examples": { - "Create database security alert policy min": { "$ref": "./examples/DatabaseSecurityAlertCreateMin.json" }, - "Create database security alert policy max": { "$ref": "./examples/DatabaseSecurityAlertCreateMax.json" } + "Create database security alert policy min": { + "$ref": "./examples/DatabaseSecurityAlertCreateMin.json" + }, + "Create database security alert policy max": { + "$ref": "./examples/DatabaseSecurityAlertCreateMax.json" + } }, "parameters": [ { @@ -103,7 +111,9 @@ "in": "path", "required": true, "type": "string", - "enum": ["default"], + "enum": [ + "default" + ], "description": "The name of the security alert policy.", "x-ms-enum": { "modelAsString": true, @@ -148,13 +158,13 @@ "description": "Contains information about a database Threat Detection policy.", "type": "object", "properties": { - "location":{ - "type":"string", - "x-ms-mutability":[ + "location": { + "type": "string", + "x-ms-mutability": [ "read", "create" ], - "description":"The geo-location where the resource lives" + "description": "The geo-location where the resource lives" }, "kind": { "readOnly": true, @@ -216,7 +226,8 @@ "description": "Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.", "type": "string", "x-ms-mutability": [ - "create", "update" + "create", + "update" ] }, "retentionDays": { @@ -236,7 +247,9 @@ } } }, - "required": [ "state" ] + "required": [ + "state" + ] } }, "parameters": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databases.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databases.json index 87bf517c82db..c5749361373a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/databases.json @@ -1,1042 +1,1042 @@ { - "swagger":"2.0", - "info":{ - "title":"Azure SQL Database", - "description":"Provides create, read, update and delete functionality for Azure SQL Databases.", - "version":"2014-04-01" + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Databases.", + "version": "2014-04-01" }, - "host":"management.azure.com", - "schemes":[ - "https" + "host": "management.azure.com", + "schemes": [ + "https" ], - "consumes":[ - "application/json" + "consumes": [ + "application/json" ], - "produces":[ - "application/json" + "produces": [ + "application/json" ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause":{ - "post":{ - "tags":[ - "DatabaseActivation" - ], - "operationId":"Databases_Pause", - "description":"Pauses a data warehouse.", - "x-ms-examples":{ - "Pause a data warehouse":{ - "$ref":"./examples/DatabasePause.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the data warehouse to pause." - } - ], - "responses":{ - "200":{ - "description":"OK" - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-long-running-operation":true + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause": { + "post": { + "tags": [ + "DatabaseActivation" + ], + "operationId": "Databases_Pause", + "description": "Pauses a data warehouse.", + "x-ms-examples": { + "Pause a data warehouse": { + "$ref": "./examples/DatabasePause.json" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume":{ - "post":{ - "tags":[ - "DatabaseActivation" - ], - "operationId":"Databases_Resume", - "description":"Resumes a data warehouse.", - "x-ms-examples":{ - "Resume a data warehouse":{ - "$ref":"./examples/DatabaseResume.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the data warehouse to resume." - } - ], - "responses":{ - "202":{ - "description":"Accepted" - }, - "200":{ - "description":"OK" - } - }, - "x-ms-long-running-operation":true + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the data warehouse to pause." } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}":{ - "put":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_CreateOrUpdate", - "description":"Creates a new database or updates an existing database.", - "x-ms-examples":{ - "Create a database min":{ - "$ref":"./examples/DatabaseCreateOrUpdateMin.json" - }, - "Create a database max":{ - "$ref":"./examples/DatabaseCreateMax.json" - }, - "Create a database as a copy":{ - "$ref":"./examples/DatabaseCreateCopy.json" - }, - "Create a database as an online secondary":{ - "$ref":"./examples/DatabaseCreateOnlineSecondary.json" - }, - "Create a database as a non-readable secondary":{ - "$ref":"./examples/DatabaseCreateNonReadableSecondary.json" - }, - "Create a database as a point in time restore":{ - "$ref":"./examples/DatabaseCreatePointInTimeRestore.json" - }, - "Create a database as a dropped database restore to deletion time":{ - "$ref":"./examples/DatabaseCreateDroppedDatabaseRestore.json" - }, - "Create a database as a dropped database restore to a specific point in time":{ - "$ref":"./examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json" - }, - "Create a database as a geo restore":{ - "$ref":"./examples/DatabaseCreateGeoRestore.json" - }, - "Create a database from a long term retention backup":{ - "$ref":"./examples/DatabaseCreateLongTermRetentionRestore.json" - }, - "Update a database's elastic pool'":{ - "$ref":"./examples/DatabaseUpdateElasticPool.json" - }, - "Update a database max":{ - "$ref":"./examples/DatabaseUpdateMaxPut.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be operated on (updated or created)." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/Database" - }, - "description":"The required parameters for creating or updating a database." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - }, - "201":{ - "description":"Created", - "schema":{ - "$ref":"#/definitions/Database" - } - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-long-running-operation":true - }, - "patch":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_Update", - "description":"Updates an existing database.", - "x-ms-examples":{ - "Update a database max":{ - "$ref":"./examples/DatabaseUpdateMaxPatch.json" - }, - "Update a database min":{ - "$ref":"./examples/DatabaseUpdateMin.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be updated." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/DatabaseUpdate" - }, - "description":"The required parameters for updating a database." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-long-running-operation":true - }, - "delete":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_Delete", - "description":"Deletes a database.", - "x-ms-examples":{ - "Delete a database":{ - "$ref":"./examples/DatabaseDelete.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be deleted." - } - ], - "responses":{ - "200":{ - "description":"OK" - }, - "204":{ - "description":"NoContent" - } - } - }, - "get":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_Get", - "description":"Gets a database.", - "x-ms-examples":{ - "Get a database":{ - "$ref":"./examples/DatabaseGet.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be retrieved." - }, - { - "$ref":"#/parameters/DatabaseExpandParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - } - } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases":{ - "get":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_ListByServer", - "description":"Returns a list of databases in a server.", - "x-ms-examples":{ - "List databases by server":{ - "$ref":"./examples/DatabaseList.json" - }, - "List databases by server with filter":{ - "$ref":"./examples/DatabaseListWithFilter.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "$ref":"#/parameters/DatabaseExpandParameter" - }, - { - "name":"$filter", - "in":"query", - "required":false, - "type":"string", - "description":"An OData filter expression that describes a subset of databases to return." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume": { + "post": { + "tags": [ + "DatabaseActivation" + ], + "operationId": "Databases_Resume", + "description": "Resumes a data warehouse.", + "x-ms-examples": { + "Resume a data warehouse": { + "$ref": "./examples/DatabaseResume.json" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases/{databaseName}":{ - "get":{ - "tags":[ - "ElasticPools" - ], - "operationId":"Databases_GetByElasticPool", - "description":"Gets a database inside of an elastic pool.", - "x-ms-examples":{ - "Get a database in an elastic pool":{ - "$ref":"./examples/DatabaseGetByElasticPool.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be retrieved." - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be retrieved." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - } - } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the data warehouse to resume." + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK" } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}": { + "put": { + "tags": [ + "Databases" + ], + "operationId": "Databases_CreateOrUpdate", + "description": "Creates a new database or updates an existing database.", + "x-ms-examples": { + "Create a database min": { + "$ref": "./examples/DatabaseCreateOrUpdateMin.json" + }, + "Create a database max": { + "$ref": "./examples/DatabaseCreateMax.json" + }, + "Create a database as a copy": { + "$ref": "./examples/DatabaseCreateCopy.json" + }, + "Create a database as an online secondary": { + "$ref": "./examples/DatabaseCreateOnlineSecondary.json" + }, + "Create a database as a non-readable secondary": { + "$ref": "./examples/DatabaseCreateNonReadableSecondary.json" + }, + "Create a database as a point in time restore": { + "$ref": "./examples/DatabaseCreatePointInTimeRestore.json" + }, + "Create a database as a dropped database restore to deletion time": { + "$ref": "./examples/DatabaseCreateDroppedDatabaseRestore.json" + }, + "Create a database as a dropped database restore to a specific point in time": { + "$ref": "./examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json" + }, + "Create a database as a geo restore": { + "$ref": "./examples/DatabaseCreateGeoRestore.json" + }, + "Create a database from a long term retention backup": { + "$ref": "./examples/DatabaseCreateLongTermRetentionRestore.json" + }, + "Update a database's elastic pool'": { + "$ref": "./examples/DatabaseUpdateElasticPool.json" + }, + "Update a database max": { + "$ref": "./examples/DatabaseUpdateMaxPut.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be operated on (updated or created)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Database" + }, + "description": "The required parameters for creating or updating a database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases":{ - "get":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_ListByElasticPool", - "description":"Returns a list of databases in an elastic pool.", - "x-ms-examples":{ - "Gets databases in an elastic pool":{ - "$ref":"./examples/DatabaseListByElasticPool.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be retrieved." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + "patch": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Update", + "description": "Updates an existing database.", + "x-ms-examples": { + "Update a database max": { + "$ref": "./examples/DatabaseUpdateMaxPatch.json" + }, + "Update a database min": { + "$ref": "./examples/DatabaseUpdateMin.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be updated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DatabaseUpdate" + }, + "description": "The required parameters for updating a database." } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases/{databaseName}":{ - "get":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_GetByRecommendedElasticPool", - "description":"Gets a database inside of a recommended elastic pool.", - "x-ms-examples":{ - "Get a database in a recommended elastic pool":{ - "$ref":"./examples/DatabaseGetByRecommendedElasticPool.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"recommendedElasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be retrieved." - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to be retrieved." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - } - } + "delete": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Delete", + "description": "Deletes a database.", + "x-ms-examples": { + "Delete a database": { + "$ref": "./examples/DatabaseDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be deleted." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases":{ - "get":{ - "tags":[ - "Databases" - ], - "operationId":"Databases_ListByRecommendedElasticPool", - "description":"Returns a list of databases inside a recommended elastic pool.", - "x-ms-examples":{ - "Gets databases in an elastic pool":{ - "$ref":"./examples/DatabaseListByRecommendedElasticPool.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"recommendedElasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the recommended elastic pool to be retrieved." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Get", + "description": "Gets a database.", + "x-ms-examples": { + "Get a database": { + "$ref": "./examples/DatabaseGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be retrieved." + }, + { + "$ref": "#/parameters/DatabaseExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByServer", + "description": "Returns a list of databases in a server.", + "x-ms-examples": { + "List databases by server": { + "$ref": "./examples/DatabaseList.json" + }, + "List databases by server with filter": { + "$ref": "./examples/DatabaseListWithFilter.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseExpandParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData filter expression that describes a subset of databases to return." } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases/{databaseName}": { + "get": { + "tags": [ + "ElasticPools" + ], + "operationId": "Databases_GetByElasticPool", + "description": "Gets a database inside of an elastic pool.", + "x-ms-examples": { + "Get a database in an elastic pool": { + "$ref": "./examples/DatabaseGetByElasticPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be retrieved." + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByElasticPool", + "description": "Returns a list of databases in an elastic pool.", + "x-ms-examples": { + "Gets databases in an elastic pool": { + "$ref": "./examples/DatabaseListByElasticPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases/{databaseName}": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_GetByRecommendedElasticPool", + "description": "Gets a database inside of a recommended elastic pool.", + "x-ms-examples": { + "Get a database in a recommended elastic pool": { + "$ref": "./examples/DatabaseGetByRecommendedElasticPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be retrieved." + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByRecommendedElasticPool", + "description": "Returns a list of databases inside a recommended elastic pool.", + "x-ms-examples": { + "Gets databases in an elastic pool": { + "$ref": "./examples/DatabaseListByRecommendedElasticPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the recommended elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } }, - "definitions":{ - "DatabaseProperties":{ - "properties":{ - "collation":{ - "type":"string", - "description":"The collation of the database. If createMode is not Default, this value is ignored.", - "x-ms-mutability":[ - "create", - "read" - ] - }, - "creationDate":{ - "readOnly":true, - "type":"string", - "format":"date-time", - "description":"The creation date of the database (ISO8601 format)." - }, - "containmentState":{ - "readOnly":true, - "type":"integer", - "format":"int64", - "description":"The containment state of the database." - }, - "currentServiceObjectiveId":{ - "readOnly":true, - "type":"string", - "format":"uuid", - "description":"The current service level objective ID of the database. This is the ID of the service level objective that is currently active." - }, - "databaseId":{ - "readOnly":true, - "type":"string", - "format":"uuid", - "description":"The ID of the database." - }, - "earliestRestoreDate":{ - "readOnly":true, - "type":"string", - "format":"date-time", - "description":"This records the earliest start date and time that restore is available for this database (ISO8601 format)." - }, - "createMode":{ - "type":"string", - "description":"Specifies the mode of database creation.\n\nDefault: regular database creation.\n\nCopy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.\n\nOnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.\n\nPointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.\n\nRecovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.\n\nRestore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.\n\nRestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.\n\nCopy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.", - "enum":[ - "Copy", - "Default", - "NonReadableSecondary", - "OnlineSecondary", - "PointInTimeRestore", - "Recovery", - "Restore", - "RestoreLongTermRetentionBackup" - ], - "x-ms-enum":{ - "name":"CreateMode", - "modelAsString":true - }, - "x-ms-mutability":[ - "create" - ] - }, - "sourceDatabaseId":{ - "type":"string", - "description":"Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.", - "x-ms-mutability":[ - "create" - ] - }, - "sourceDatabaseDeletionDate":{ - "type":"string", - "format":"date-time", - "description":"Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.", - "x-ms-mutability":[ - "create" - ] - }, - "restorePointInTime":{ - "type":"string", - "format":"date-time", - "description":"Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.", - "x-ms-mutability":[ - "create" - ] - }, - "recoveryServicesRecoveryPointResourceId":{ - "type":"string", - "description":"Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.", - "x-ms-mutability":[ - "create" - ] - }, - "edition":{ - "type":"string", - "description":"The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n", - "enum":[ - "Web", - "Business", - "Basic", - "Standard", - "Premium", - "PremiumRS", - "Free", - "Stretch", - "DataWarehouse", - "System", - "System2", - "GeneralPurpose", - "BusinessCritical", - "Hyperscale" - ], - "x-ms-enum":{ - "name":"DatabaseEdition", - "modelAsString":true - } - }, - "maxSizeBytes":{ - "type":"string", - "description":"The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: \"Capabilities_ListByLocation.\"" - }, - "requestedServiceObjectiveId":{ - "type":"string", - "format":"uuid", - "description":"The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API." - }, - "requestedServiceObjectiveName":{ - "type":"string", - "enum":[ - "System", - "System0", - "System1", - "System2", - "System3", - "System4", - "System2L", - "System3L", - "System4L", - "Free", - "Basic", - "S0", - "S1", - "S2", - "S3", - "S4", - "S6", - "S7", - "S9", - "S12", - "P1", - "P2", - "P3", - "P4", - "P6", - "P11", - "P15", - "PRS1", - "PRS2", - "PRS4", - "PRS6", - "DW100", - "DW200", - "DW300", - "DW400", - "DW500", - "DW600", - "DW1000", - "DW1200", - "DW1000c", - "DW1500", - "DW1500c", - "DW2000", - "DW2000c", - "DW3000", - "DW2500c", - "DW3000c", - "DW6000", - "DW5000c", - "DW6000c", - "DW7500c", - "DW10000c", - "DW15000c", - "DW30000c", - "DS100", - "DS200", - "DS300", - "DS400", - "DS500", - "DS600", - "DS1000", - "DS1200", - "DS1500", - "DS2000", - "ElasticPool" - ], - "x-ms-enum":{ - "modelAsString":true, - "name":"ServiceObjectiveName" - }, - "description":"The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. \r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n" - }, - "serviceLevelObjective":{ - "readOnly":true, - "type":"string", - "enum":[ - "System", - "System0", - "System1", - "System2", - "System3", - "System4", - "System2L", - "System3L", - "System4L", - "Free", - "Basic", - "S0", - "S1", - "S2", - "S3", - "S4", - "S6", - "S7", - "S9", - "S12", - "P1", - "P2", - "P3", - "P4", - "P6", - "P11", - "P15", - "PRS1", - "PRS2", - "PRS4", - "PRS6", - "DW100", - "DW200", - "DW300", - "DW400", - "DW500", - "DW600", - "DW1000", - "DW1200", - "DW1000c", - "DW1500", - "DW1500c", - "DW2000", - "DW2000c", - "DW3000", - "DW2500c", - "DW3000c", - "DW6000", - "DW5000c", - "DW6000c", - "DW7500c", - "DW10000c", - "DW15000c", - "DW30000c", - "DS100", - "DS200", - "DS300", - "DS400", - "DS500", - "DS600", - "DS1000", - "DS1200", - "DS1500", - "DS2000", - "ElasticPool" - ], - "x-ms-enum":{ - "modelAsString":true, - "name":"ServiceObjectiveName" - }, - "description":"The current service level objective of the database." - }, - "status":{ - "readOnly":true, - "type":"string", - "description":"The status of the database." - }, - "elasticPoolName":{ - "type":"string", - "description":"The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition." - }, - "defaultSecondaryLocation":{ - "readOnly":true, - "type":"string", - "description":"The default secondary region for this database." - }, - "serviceTierAdvisors":{ - "readOnly":true, - "type":"array", - "items":{ - "$ref":"./sql.core.json#/definitions/ServiceTierAdvisor" - }, - "description":"The list of service tier advisors for this database. Expanded property" - }, - "transparentDataEncryption":{ - "readOnly":true, - "type":"array", - "items":{ - "$ref":"./sql.core.json#/definitions/TransparentDataEncryption" - }, - "description":"The transparent data encryption info for this database." - }, - "recommendedIndex":{ - "readOnly":true, - "type":"array", - "items":{ - "$ref":"./sql.core.json#/definitions/RecommendedIndex" - }, - "description":"The recommended indices for this database." - }, - "failoverGroupId":{ - "readOnly":true, - "type":"string", - "description":"The resource identifier of the failover group containing this database." - }, - "readScale":{ - "type":"string", - "enum":[ - "Enabled", - "Disabled" - ], - "description":"Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.", - "x-ms-enum":{ - "name":"ReadScale" - } - }, - "sampleName":{ - "type":"string", - "enum":[ - "AdventureWorksLT" - ], - "description":"Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.", - "x-ms-enum":{ - "modelAsString":true, - "name":"SampleName" - }, - "x-ms-mutability":[ - "create" - ] - }, - "zoneRedundant":{ - "description":"Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.", - "type":"boolean" - } - }, - "description":"Represents the properties of a database." - }, - "Database":{ - "properties":{ - "kind":{ - "readOnly":true, - "type":"string", - "description":"Kind of database. This is metadata used for the Azure portal experience." - }, - "properties":{ - "$ref":"#/definitions/DatabaseProperties", - "description":"The properties representing the resource.", - "x-ms-client-flatten":true - } - }, - "allOf":[ - { - "$ref":"../../../common/v1/types.json#/definitions/TrackedResource" - } + "definitions": { + "DatabaseProperties": { + "properties": { + "collation": { + "type": "string", + "description": "The collation of the database. If createMode is not Default, this value is ignored.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "creationDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The creation date of the database (ISO8601 format)." + }, + "containmentState": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The containment state of the database." + }, + "currentServiceObjectiveId": { + "readOnly": true, + "type": "string", + "format": "uuid", + "description": "The current service level objective ID of the database. This is the ID of the service level objective that is currently active." + }, + "databaseId": { + "readOnly": true, + "type": "string", + "format": "uuid", + "description": "The ID of the database." + }, + "earliestRestoreDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "This records the earliest start date and time that restore is available for this database (ISO8601 format)." + }, + "createMode": { + "type": "string", + "description": "Specifies the mode of database creation.\n\nDefault: regular database creation.\n\nCopy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.\n\nOnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.\n\nPointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.\n\nRecovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.\n\nRestore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.\n\nRestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.\n\nCopy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.", + "enum": [ + "Copy", + "Default", + "NonReadableSecondary", + "OnlineSecondary", + "PointInTimeRestore", + "Recovery", + "Restore", + "RestoreLongTermRetentionBackup" ], - "description":"Represents a database." - }, - "DatabaseUpdate":{ - "properties":{ - "tags":{ - "type":"object", - "additionalProperties":{ - "type":"string" - }, - "description":"Resource tags." - }, - "properties":{ - "$ref":"#/definitions/DatabaseProperties", - "description":"The properties representing the resource.", - "x-ms-client-flatten":true - } - }, - "allOf":[ - { - "$ref":"../../../common/v1/types.json#/definitions/Resource" - } + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create" + ] + }, + "sourceDatabaseId": { + "type": "string", + "description": "Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created.", + "x-ms-mutability": [ + "create" + ] + }, + "sourceDatabaseDeletionDate": { + "type": "string", + "format": "date-time", + "description": "Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted.", + "x-ms-mutability": [ + "create" + ] + }, + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value.", + "x-ms-mutability": [ + "create" + ] + }, + "recoveryServicesRecoveryPointResourceId": { + "type": "string", + "description": "Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from.", + "x-ms-mutability": [ + "create" + ] + }, + "edition": { + "type": "string", + "description": "The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n", + "enum": [ + "Web", + "Business", + "Basic", + "Standard", + "Premium", + "PremiumRS", + "Free", + "Stretch", + "DataWarehouse", + "System", + "System2", + "GeneralPurpose", + "BusinessCritical", + "Hyperscale" ], - "description":"Represents a database update." - }, - "DatabaseListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/Database" - }, - "description":"The list of databases housed in the server." - } - }, - "required":[ - "value" + "x-ms-enum": { + "name": "DatabaseEdition", + "modelAsString": true + } + }, + "maxSizeBytes": { + "type": "string", + "description": "The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: \"Capabilities_ListByLocation.\"" + }, + "requestedServiceObjectiveId": { + "type": "string", + "format": "uuid", + "description": "The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API." + }, + "requestedServiceObjectiveName": { + "type": "string", + "enum": [ + "System", + "System0", + "System1", + "System2", + "System3", + "System4", + "System2L", + "System3L", + "System4L", + "Free", + "Basic", + "S0", + "S1", + "S2", + "S3", + "S4", + "S6", + "S7", + "S9", + "S12", + "P1", + "P2", + "P3", + "P4", + "P6", + "P11", + "P15", + "PRS1", + "PRS2", + "PRS4", + "PRS6", + "DW100", + "DW200", + "DW300", + "DW400", + "DW500", + "DW600", + "DW1000", + "DW1200", + "DW1000c", + "DW1500", + "DW1500c", + "DW2000", + "DW2000c", + "DW3000", + "DW2500c", + "DW3000c", + "DW6000", + "DW5000c", + "DW6000c", + "DW7500c", + "DW10000c", + "DW15000c", + "DW30000c", + "DS100", + "DS200", + "DS300", + "DS400", + "DS500", + "DS600", + "DS1000", + "DS1200", + "DS1500", + "DS2000", + "ElasticPool" ], - "description":"Represents the response to a list database request." - } - }, - "parameters":{ - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the server.", - "x-ms-parameter-location":"method" + "x-ms-enum": { + "modelAsString": true, + "name": "ServiceObjectiveName" + }, + "description": "The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. \r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n" + }, + "serviceLevelObjective": { + "readOnly": true, + "type": "string", + "enum": [ + "System", + "System0", + "System1", + "System2", + "System3", + "System4", + "System2L", + "System3L", + "System4L", + "Free", + "Basic", + "S0", + "S1", + "S2", + "S3", + "S4", + "S6", + "S7", + "S9", + "S12", + "P1", + "P2", + "P3", + "P4", + "P6", + "P11", + "P15", + "PRS1", + "PRS2", + "PRS4", + "PRS6", + "DW100", + "DW200", + "DW300", + "DW400", + "DW500", + "DW600", + "DW1000", + "DW1200", + "DW1000c", + "DW1500", + "DW1500c", + "DW2000", + "DW2000c", + "DW3000", + "DW2500c", + "DW3000c", + "DW6000", + "DW5000c", + "DW6000c", + "DW7500c", + "DW10000c", + "DW15000c", + "DW30000c", + "DS100", + "DS200", + "DS300", + "DS400", + "DS500", + "DS600", + "DS1000", + "DS1200", + "DS1500", + "DS2000", + "ElasticPool" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "ServiceObjectiveName" + }, + "description": "The current service level objective of the database." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the database." + }, + "elasticPoolName": { + "type": "string", + "description": "The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition." + }, + "defaultSecondaryLocation": { + "readOnly": true, + "type": "string", + "description": "The default secondary region for this database." + }, + "serviceTierAdvisors": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./sql.core.json#/definitions/ServiceTierAdvisor" + }, + "description": "The list of service tier advisors for this database. Expanded property" + }, + "transparentDataEncryption": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./sql.core.json#/definitions/TransparentDataEncryption" + }, + "description": "The transparent data encryption info for this database." + }, + "recommendedIndex": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./sql.core.json#/definitions/RecommendedIndex" + }, + "description": "The recommended indices for this database." + }, + "failoverGroupId": { + "readOnly": true, + "type": "string", + "description": "The resource identifier of the failover group containing this database." + }, + "readScale": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "description": "Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition.", + "x-ms-enum": { + "name": "ReadScale" + } + }, + "sampleName": { + "type": "string", + "enum": [ + "AdventureWorksLT" + ], + "description": "Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition.", + "x-ms-enum": { + "modelAsString": true, + "name": "SampleName" + }, + "x-ms-mutability": [ + "create" + ] + }, + "zoneRedundant": { + "description": "Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.", + "type": "boolean" + } }, - "DatabaseExpandParameter":{ - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location":"method" + "description": "Represents the properties of a database." + }, + "Database": { + "properties": { + "kind": { + "readOnly": true, + "type": "string", + "description": "Kind of database. This is metadata used for the Azure portal experience." + }, + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "description": "The properties representing the resource.", + "x-ms-client-flatten": true + } }, - "TransparentDataEncryptionNameParameter":{ - "name":"transparentDataEncryptionName", - "in":"path", - "required":true, - "type":"string", - "enum":[ - "current" - ], - "description":"The name of the transparent data encryption configuration.", - "x-ms-enum":{ - "modelAsString":true, - "name":"TransparentDataEncryptionName" + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a database." + }, + "DatabaseUpdate": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "x-ms-parameter-location":"method" - } + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "description": "The properties representing the resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ], + "description": "Represents a database update." + }, + "DatabaseListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "The list of databases housed in the server." + } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list database request." + } }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + }, + "TransparentDataEncryptionNameParameter": { + "name": "transparentDataEncryptionName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the transparent data encryption configuration.", + "x-ms-enum": { + "modelAsString": true, + "name": "TransparentDataEncryptionName" + }, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" } + } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/deprecated.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/deprecated.json index 495703f4dc95..4ea0fd4d4311 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/deprecated.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/deprecated.json @@ -1,165 +1,163 @@ { - "swagger":"2.0", - "info":{ - "title":"Azure SQL Database", - "description":"Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, and operations.", - "version":"2014-04-01" + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, and operations.", + "version": "2014-04-01" }, - "host":"management.azure.com", - "schemes":[ - "https" + "host": "management.azure.com", + "schemes": [ + "https" ], - "consumes":[ - "application/json" + "consumes": [ + "application/json" ], - "produces":[ - "application/json" + "produces": [ + "application/json" ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption":{ - "get":{ - "tags":[ - "TransparentDataEncryption" - ], - "operationId":"TransparentDataEncryptionConfigurations_ListByDatabase", - "description":"Gets a list of a database's transparent data encryption configurations. There is only ever one element, named 'current', so GetTransparentDataEncryptionConfiguration should be used instead.", - "deprecated":true, - "x-ms-examples":{ - "Get a list of transparent data encryption configurations":{ - "$ref":"./examples/DatabaseTransparentDataEncryptionList.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database for which the transparent data encryption applies." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/TransparentDataEncryptionListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption": { + "get": { + "tags": [ + "TransparentDataEncryption" + ], + "operationId": "TransparentDataEncryptionConfigurations_ListByDatabase", + "description": "Gets a list of a database's transparent data encryption configurations. There is only ever one element, named 'current', so GetTransparentDataEncryptionConfiguration should be used instead.", + "deprecated": true, + "x-ms-examples": { + "Get a list of transparent data encryption configurations": { + "$ref": "./examples/DatabaseTransparentDataEncryptionList.json" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions":{ - "get":{ - "tags":[ - "ImportExport" - ], - "operationId":"Extensions_ListByDatabase", - "description":"Gets database extensions.", - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"databaseName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the database to import into" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ExtensionListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database for which the transparent data encryption applies." } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TransparentDataEncryptionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } } - }, - "definitions":{ - "TransparentDataEncryptionListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"./sql.core.json#/definitions/TransparentDataEncryption" - }, - "description":"The list of transparent data encryption configurations." - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions": { + "get": { + "tags": [ + "ImportExport" + ], + "operationId": "Extensions_ListByDatabase", + "description": "Gets database extensions.", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" }, - "description":"Represents the response to a list transparent data encryption configurations request." - }, - "ExtensionListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "properties":{ - - } - }, - "description":"The list of extensions." - } + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" }, - "description":"Represents the response to a list extensions request." + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to import into" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } } + } }, - "parameters":{ - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the server.", - "x-ms-parameter-location":"method" + "definitions": { + "TransparentDataEncryptionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "./sql.core.json#/definitions/TransparentDataEncryption" + }, + "description": "The list of transparent data encryption configurations." + } }, - "DatabaseExpandParameter":{ - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location":"method" - } + "description": "Represents the response to a list transparent data encryption configurations request." + }, + "ExtensionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "properties": {} + }, + "description": "The list of extensions." + } + }, + "description": "Represents the response to a list extensions request." + } }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" } + } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/disasterRecoveryConfigurations.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/disasterRecoveryConfigurations.json index dc304a46be0f..ba9dd037a2de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/disasterRecoveryConfigurations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/disasterRecoveryConfigurations.json @@ -17,41 +17,43 @@ ], "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/disasterRecoveryConfiguration": { - "get": { - "tags": [ - "DisasterRecoveryConfigurations" - ], - "operationId": "DisasterRecoveryConfigurations_List", - "description": "Lists a server's disaster recovery configuration.", - "x-ms-examples": { - "List Replication links": { "$ref": "./examples/DisasterRecoveryConfigurationList.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DisasterRecoveryConfigurationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null + "get": { + "tags": [ + "DisasterRecoveryConfigurations" + ], + "operationId": "DisasterRecoveryConfigurations_List", + "description": "Lists a server's disaster recovery configuration.", + "x-ms-examples": { + "List Replication links": { + "$ref": "./examples/DisasterRecoveryConfigurationList.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DisasterRecoveryConfigurationListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/disasterRecoveryConfiguration/{disasterRecoveryConfigurationName}": { "delete": { @@ -62,7 +64,9 @@ "description": "Deletes a disaster recovery configuration.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete a disaster recovery configuration": { "$ref": "./examples/DisasterRecoveryConfigurationDelete.json" } + "Delete a disaster recovery configuration": { + "$ref": "./examples/DisasterRecoveryConfigurationDelete.json" + } }, "parameters": [ { @@ -105,7 +109,9 @@ "description": "Creates or updates a disaster recovery configuration.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Update a disaster recovery configuration": { "$ref": "./examples/DisasterRecoveryConfigurationCreateOrUpdate.json" } + "Update a disaster recovery configuration": { + "$ref": "./examples/DisasterRecoveryConfigurationCreateOrUpdate.json" + } }, "parameters": [ { @@ -156,7 +162,9 @@ "operationId": "DisasterRecoveryConfigurations_Get", "description": "Gets a disaster recovery configuration.", "x-ms-examples": { - "Get a disaster recovery configuration": { "$ref": "./examples/DisasterRecoveryConfigurationGet.json" } + "Get a disaster recovery configuration": { + "$ref": "./examples/DisasterRecoveryConfigurationGet.json" + } }, "parameters": [ { @@ -197,7 +205,9 @@ "operationId": "DisasterRecoveryConfigurations_Failover", "description": "Fails over from the current primary server to this server.", "x-ms-examples": { - "Failover a disaster recovery configuration": { "$ref": "./examples/DisasterRecoveryConfigurationFailover.json" } + "Failover a disaster recovery configuration": { + "$ref": "./examples/DisasterRecoveryConfigurationFailover.json" + } }, "parameters": [ { @@ -239,7 +249,9 @@ "operationId": "DisasterRecoveryConfigurations_FailoverAllowDataLoss", "description": "Fails over from the current primary server to this server. This operation might result in data loss.", "x-ms-examples": { - "Failover a disaster recovery configuration": { "$ref": "./examples/DisasterRecoveryConfigurationFailover.json" } + "Failover a disaster recovery configuration": { + "$ref": "./examples/DisasterRecoveryConfigurationFailover.json" + } }, "parameters": [ { @@ -281,7 +293,12 @@ "readOnly": true, "type": "string", "description": "The status of the disaster recovery configuration.", - "enum": ["Creating", "Ready", "FailingOver", "Dropping"], + "enum": [ + "Creating", + "Ready", + "FailingOver", + "Dropping" + ], "x-ms-enum": { "modelAsString": true, "name": "DisasterRecoveryConfigurationStatus" @@ -290,7 +307,10 @@ "autoFailover": { "type": "string", "description": "Whether or not failover can be done automatically.", - "enum": ["Off", "On"], + "enum": [ + "Off", + "On" + ], "x-ms-enum": { "modelAsString": true, "name": "DisasterRecoveryConfigurationAutoFailover" @@ -299,7 +319,10 @@ "failoverPolicy": { "type": "string", "description": "How aggressive the automatic failover should be.", - "enum": ["Manual", "Automatic"], + "enum": [ + "Manual", + "Automatic" + ], "x-ms-enum": { "modelAsString": true, "name": "DisasterRecoveryConfigurationFailoverPolicy" @@ -323,14 +346,22 @@ "readOnly": true, "type": "string", "description": "The role of the current server in the disaster recovery configuration.", - "enum": ["None", "Primary", "Secondary"], + "enum": [ + "None", + "Primary", + "Secondary" + ], "x-ms-enum": { "modelAsString": true, "name": "DisasterRecoveryConfigurationRole" } } }, - "required": ["autoFailover", "failoverPolicy", "partnerServerId"], + "required": [ + "autoFailover", + "failoverPolicy", + "partnerServerId" + ], "description": "Represents the properties of a disaster recovery configuration." }, "DisasterRecoveryConfiguration": { @@ -403,4 +434,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/elasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/elasticPools.json index f7e983f98a9f..45a56f231dc3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/elasticPools.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/elasticPools.json @@ -1,434 +1,434 @@ { - "swagger":"2.0", - "info":{ - "title":"Azure SQL Database", - "description":"Provides create, read, update and delete functionality for Azure SQL Database elastic pools.", - "version":"2014-04-01" - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}":{ - "put":{ - "tags":[ - "ElasticPools" - ], - "operationId":"ElasticPools_CreateOrUpdate", - "description":"Creates a new elastic pool or updates an existing elastic pool.", - "x-ms-examples":{ - "Create elastic pool max":{ - "$ref":"./examples/ElasticPoolCreateOrUpdateMax.json" - }, - "Create elastic pool min":{ - "$ref":"./examples/ElasticPoolCreateOrUpdateMin.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be operated on (updated or created)." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/ElasticPool" - }, - "description":"The required parameters for creating or updating an elastic pool." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ElasticPool" - } - }, - "201":{ - "description":"Created", - "schema":{ - "$ref":"#/definitions/ElasticPool" - } - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-long-running-operation":true - }, - "patch":{ - "tags":[ - "ElasticPools" - ], - "operationId":"ElasticPools_Update", - "description":"Updates an existing elastic pool.", - "x-ms-examples":{ - "Update elastic pool max":{ - "$ref":"./examples/ElasticPoolUpdateMax.json" - }, - "Update elastic pool min":{ - "$ref":"./examples/ElasticPoolUpdateMin.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be updated." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/ElasticPoolUpdate" - }, - "description":"The required parameters for updating an elastic pool." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ElasticPool" - } - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-long-running-operation":true + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Database elastic pools.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}": { + "put": { + "tags": [ + "ElasticPools" + ], + "operationId": "ElasticPools_CreateOrUpdate", + "description": "Creates a new elastic pool or updates an existing elastic pool.", + "x-ms-examples": { + "Create elastic pool max": { + "$ref": "./examples/ElasticPoolCreateOrUpdateMax.json" + }, + "Create elastic pool min": { + "$ref": "./examples/ElasticPoolCreateOrUpdateMin.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be operated on (updated or created)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticPool" }, - "delete":{ - "tags":[ - "ElasticPools" - ], - "operationId":"ElasticPools_Delete", - "description":"Deletes the elastic pool.", - "x-ms-examples":{ - "Delete elastic pool":{ - "$ref":"./examples/ElasticPoolDelete.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be deleted." - } - ], - "responses":{ - "200":{ - "description":"OK" - }, - "204":{ - "description":"Accepted" - } - } + "description": "The required parameters for creating or updating an elastic pool." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ElasticPool" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ElasticPool" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "ElasticPools" + ], + "operationId": "ElasticPools_Update", + "description": "Updates an existing elastic pool.", + "x-ms-examples": { + "Update elastic pool max": { + "$ref": "./examples/ElasticPoolUpdateMax.json" + }, + "Update elastic pool min": { + "$ref": "./examples/ElasticPoolUpdateMin.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be updated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticPoolUpdate" }, - "get":{ - "tags":[ - "ElasticPools" - ], - "operationId":"ElasticPools_Get", - "description":"Gets an elastic pool.", - "x-ms-examples":{ - "Get elastic pool":{ - "$ref":"./examples/ElasticPoolGet.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "name":"elasticPoolName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the elastic pool to be retrieved." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ElasticPool" - } - } - } + "description": "The required parameters for updating an elastic pool." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ElasticPool" } + }, + "202": { + "description": "Accepted" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools":{ - "get":{ - "tags":[ - "ElasticPools" - ], - "operationId":"ElasticPools_ListByServer", - "description":"Returns a list of elastic pools in a server.", - "x-ms-examples":{ - "List elastic pools":{ - "$ref":"./examples/ElasticPoolList.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ElasticPoolListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "ElasticPools" + ], + "operationId": "ElasticPools_Delete", + "description": "Deletes the elastic pool.", + "x-ms-examples": { + "Delete elastic pool": { + "$ref": "./examples/ElasticPoolDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be deleted." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Accepted" + } + } + }, + "get": { + "tags": [ + "ElasticPools" + ], + "operationId": "ElasticPools_Get", + "description": "Gets an elastic pool.", + "x-ms-examples": { + "Get elastic pool": { + "$ref": "./examples/ElasticPoolGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ElasticPool" } + } } + } }, - "definitions":{ - "ElasticPoolProperties":{ - "properties":{ - "creationDate":{ - "readOnly":true, - "type":"string", - "format":"date-time", - "description":"The creation date of the elastic pool (ISO8601 format)." - }, - "state":{ - "readOnly":true, - "type":"string", - "enum":[ - "Creating", - "Ready", - "Disabled" - ], - "description":"The state of the elastic pool.", - "x-ms-enum":{ - "modelAsString":true, - "name":"ElasticPoolState" - } - }, - "edition":{ - "type":"string", - "description":"The edition of the elastic pool.", - "enum":[ - "Basic", - "Standard", - "Premium", - "GeneralPurpose", - "BusinessCritical" - ], - "x-ms-enum":{ - "name":"ElasticPoolEdition", - "modelAsString":true - }, - "x-ms-mutability":[ - "create", - "read" - ] - }, - "dtu":{ - "type":"integer", - "format":"int32", - "description":"The total shared DTU for the database elastic pool." - }, - "databaseDtuMax":{ - "type":"integer", - "format":"int32", - "description":"The maximum DTU any one database can consume." - }, - "databaseDtuMin":{ - "type":"integer", - "format":"int32", - "description":"The minimum DTU all databases are guaranteed." - }, - "storageMB":{ - "type":"integer", - "format":"int32", - "description":"Gets storage limit for the database elastic pool in MB." - }, - "zoneRedundant":{ - "description":"Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.", - "type":"boolean" - } - }, - "description":"Represents the properties of an elastic pool." + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools": { + "get": { + "tags": [ + "ElasticPools" + ], + "operationId": "ElasticPools_ListByServer", + "description": "Returns a list of elastic pools in a server.", + "x-ms-examples": { + "List elastic pools": { + "$ref": "./examples/ElasticPoolList.json" + } }, - "ElasticPool":{ - "properties":{ - "properties":{ - "$ref":"#/definitions/ElasticPoolProperties", - "description":"The properties representing the resource.", - "x-ms-client-flatten":true - }, - "kind":{ - "readOnly":true, - "type":"string", - "description":"Kind of elastic pool. This is metadata used for the Azure portal experience." - } - }, - "allOf":[ - { - "$ref":"../../../common/v1/types.json#/definitions/TrackedResource" - } - ], - "description":"Represents a database elastic pool." + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ElasticPoolListResult" + } + } }, - "ElasticPoolUpdate":{ - "properties":{ - "tags":{ - "type":"object", - "additionalProperties":{ - "type":"string" - }, - "description":"Resource tags." - }, - "properties":{ - "$ref":"#/definitions/ElasticPoolProperties", - "description":"The properties representing the resource.", - "x-ms-client-flatten":true - } - }, - "allOf":[ - { - "$ref":"../../../common/v1/types.json#/definitions/Resource" - } - ], - "description":"Represents an elastic pool update." + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "ElasticPoolProperties": { + "properties": { + "creationDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The creation date of the elastic pool (ISO8601 format)." }, - "ElasticPoolListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/ElasticPool" - }, - "description":"The list of elastic pools hosted in the server." - } - }, - "required":[ - "value" - ], - "description":"Represents the response to a list elastic pool request." + "state": { + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Ready", + "Disabled" + ], + "description": "The state of the elastic pool.", + "x-ms-enum": { + "modelAsString": true, + "name": "ElasticPoolState" + } + }, + "edition": { + "type": "string", + "description": "The edition of the elastic pool.", + "enum": [ + "Basic", + "Standard", + "Premium", + "GeneralPurpose", + "BusinessCritical" + ], + "x-ms-enum": { + "name": "ElasticPoolEdition", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "dtu": { + "type": "integer", + "format": "int32", + "description": "The total shared DTU for the database elastic pool." + }, + "databaseDtuMax": { + "type": "integer", + "format": "int32", + "description": "The maximum DTU any one database can consume." + }, + "databaseDtuMin": { + "type": "integer", + "format": "int32", + "description": "The minimum DTU all databases are guaranteed." + }, + "storageMB": { + "type": "integer", + "format": "int32", + "description": "Gets storage limit for the database elastic pool in MB." + }, + "zoneRedundant": { + "description": "Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.", + "type": "boolean" } + }, + "description": "Represents the properties of an elastic pool." }, - "parameters":{ - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the server.", - "x-ms-parameter-location":"method" + "ElasticPool": { + "properties": { + "properties": { + "$ref": "#/definitions/ElasticPoolProperties", + "description": "The properties representing the resource.", + "x-ms-client-flatten": true }, - "DatabaseExpandParameter":{ - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location":"method" + "kind": { + "readOnly": true, + "type": "string", + "description": "Kind of elastic pool. This is metadata used for the Azure portal experience." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "Represents a database elastic pool." + }, + "ElasticPoolUpdate": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." }, - "TransparentDataEncryptionNameParameter":{ - "name":"transparentDataEncryptionName", - "in":"path", - "required":true, - "type":"string", - "enum":[ - "current" - ], - "description":"The name of the transparent data encryption configuration.", - "x-ms-enum":{ - "modelAsString":true, - "name":"TransparentDataEncryptionName" - }, - "x-ms-parameter-location":"method" + "properties": { + "$ref": "#/definitions/ElasticPoolProperties", + "description": "The properties representing the resource.", + "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ], + "description": "Represents an elastic pool update." }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } + "ElasticPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ElasticPool" + }, + "description": "The list of elastic pools hosted in the server." } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list elastic pool request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + }, + "TransparentDataEncryptionNameParameter": { + "name": "transparentDataEncryptionName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the transparent data encryption configuration.", + "x-ms-enum": { + "modelAsString": true, + "name": "TransparentDataEncryptionName" + }, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json index a398c6a8f960..93363b068510 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "databaseName": "longtermretentiontest-9012", - "backupLongTermRetentionPolicyName": "Default", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", - "location": "Japan East", - "properties": { - "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", - "state": "Enabled" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "databaseName": "longtermretentiontest-9012", + "backupLongTermRetentionPolicyName": "Default", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", + "location": "Japan East", + "properties": { + "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", + "state": "Enabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyList.json index e9c9e3901106..28f8c70d6fd4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyList.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "databaseName": "longtermretentiontest-9012", - "backupLongTermRetentionPolicyName": "Default", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", - "location": "Japan East", - "properties": { - "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", - "state": "Enabled" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "databaseName": "longtermretentiontest-9012", + "backupLongTermRetentionPolicyName": "Default", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", + "location": "Japan East", + "properties": { + "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", + "state": "Enabled" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json index 586ef2143289..de1cf5233a3a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "databaseName": "longtermretentiontest-9012", + "backupLongTermRetentionPolicyName": "Default", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "databaseName": "longtermretentiontest-9012", - "backupLongTermRetentionPolicyName": "Default", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", - "state": "Enabled" - }, - "location": "Japan East" + "properties": { + "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", + "state": "Enabled" + }, + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", + "location": "Japan East", + "properties": { + "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", + "state": "Enabled" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", - "location": "Japan East", - "properties": { - "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", - "state": "Enabled" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", - "location": "Japan East", - "properties": { - "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", - "state": "Enabled" - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/databases/longtermretentiontest-9012/backupLongTermRetentionPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", + "location": "Japan East", + "properties": { + "recoveryServicesBackupPolicyResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc/backupPolicies/testPolicyxyz", + "state": "Enabled" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultGet.json index 5928345708c6..71d522217d44 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultGet.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "backupLongTermRetentionVaultName": "RegisteredVault", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", - "name": "RegisteredVault", - "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", - "location": "Japan East", - "properties": { - "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "backupLongTermRetentionVaultName": "RegisteredVault", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", + "name": "RegisteredVault", + "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", + "location": "Japan East", + "properties": { + "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultList.json index f09feead621d..309ca317552c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultList.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", - "name": "RegisteredVault", - "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", - "location": "Japan East", - "properties": { - "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", + "name": "RegisteredVault", + "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", + "location": "Japan East", + "properties": { + "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json index 393d269ab54c..f6c1aadd3e9b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json @@ -1,40 +1,40 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "longtermretentiontest-1234", + "serverName": "longtermretentiontest-5678", + "backupLongTermRetentionVaultName": "RegisteredVault", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "longtermretentiontest-1234", - "serverName": "longtermretentiontest-5678", - "backupLongTermRetentionVaultName": "RegisteredVault", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-5678/providers/Microsoft.RecoveryServices/vaults/testVaultabc" - }, - "location": "Japan East" + "properties": { + "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-5678/providers/Microsoft.RecoveryServices/vaults/testVaultabc" + }, + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", + "name": "RegisteredVault", + "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", + "location": "Japan East", + "properties": { + "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", - "name": "RegisteredVault", - "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", - "location": "Japan East", - "properties": { - "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", - "name": "RegisteredVault", - "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", - "location": "Japan East", - "properties": { - "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentiontest-1234/providers/Microsoft.Sql/servers/longtermretentiontest-5678/backupLongTermRetentionVaults/RegisteredVault", + "name": "RegisteredVault", + "type": "Microsoft.Sql/servers/backupLongTermRetentionVaults", + "location": "Japan East", + "properties": { + "recoveryServicesVaultResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/longtermretentionvaulttest-1234/providers/Microsoft.RecoveryServices/vaults/testVaultabc" + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CapabilitiesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CapabilitiesList.json index b154e81320a3..d75dd599a808 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CapabilitiesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CapabilitiesList.json @@ -10360,4 +10360,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json index 4c96a2342219..e78eed70c5b3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json @@ -10,11 +10,11 @@ "responses": { "200": { "body": { - "name":"server1", - "available":false, - "reason":"AlreadyExists", - "message":"Specified server name is already used" + "name": "server1", + "available": false, + "reason": "AlreadyExists", + "message": "Specified server name is already used" } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json index c3b0824f0d42..1cedb2a7a38c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json @@ -10,11 +10,11 @@ "responses": { "200": { "body": { - "name":"server1", - "available":true, - "reason":null, - "message":null + "name": "server1", + "available": true, + "reason": null, + "message": null } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json index d02368586cb8..3e7e9788ca6c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json @@ -10,10 +10,11 @@ "responses": { "200": { "body": { - "name":"SERVER1", - "available":false, - "reason":"Invalid", - "message":"Specified server name contains unsupported characters or is too long. Server name must be no longer than 63 characters long, contain only lower-case characters or digits, cannot contain \u0027.\u0027 or \u0027_\u0027 characters and can\u0027t start or end with \u0027-\u0027 character."} + "name": "SERVER1", + "available": false, + "reason": "Invalid", + "message": "Specified server name contains unsupported characters or is too long. Server name must be no longer than 63 characters long, contain only lower-case characters or digits, cannot contain \u0027.\u0027 or \u0027_\u0027 characters and can\u0027t start or end with \u0027-\u0027 character." + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json index 267c27e4de33..4cb352a6a5d6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "dataMaskingState": "Enabled", - "exemptPrincipals": "testuser;" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "parameters": { + "properties": { + "dataMaskingState": "Enabled", + "exemptPrincipals": "testuser;" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "testuser;", - "maskingLevel": "" - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", + "location": "Central US", + "kind": null, + "properties": { + "dataMaskingState": "Enabled", + "applicationPrincipals": "", + "exemptPrincipals": "testuser;", + "maskingLevel": "" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json index f0be99de4c05..586ab63514f0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "dataMaskingState": "Enabled" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "parameters": { + "properties": { + "dataMaskingState": "Enabled" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "", - "maskingLevel": "" - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", + "location": "Central US", + "kind": null, + "properties": { + "dataMaskingState": "Enabled", + "applicationPrincipals": "", + "exemptPrincipals": "", + "maskingLevel": "" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyGet.json index c672e9ecd6af..d5e675b69c31 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "", - "maskingLevel": "" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies", + "location": "Central US", + "kind": null, + "properties": { + "dataMaskingState": "Enabled", + "applicationPrincipals": "", + "exemptPrincipals": "", + "maskingLevel": "" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json index 28a2a693947a..1b7618eea5a3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json @@ -1,69 +1,69 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "aliasName": "nickname", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Default", - "ruleState": "Enabled" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "dataMaskingRuleName": "rule1", + "parameters": { + "properties": { + "aliasName": "nickname", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "maskingFunction": "Default", + "ruleState": "Enabled" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": "nickname", - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": "nickname", - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": "nickname", + "maskingFunction": "Default", + "numberFrom": null, + "numberTo": null, + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } } - } -} \ No newline at end of file + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": "nickname", + "maskingFunction": "Default", + "numberFrom": null, + "numberTo": null, + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json index 1410994693bc..e42c521fe254 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json @@ -1,67 +1,67 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Default" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "dataMaskingRuleName": "rule1", + "parameters": { + "properties": { + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "maskingFunction": "Default" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Default", + "numberFrom": null, + "numberTo": null, + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } } - } -} \ No newline at end of file + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Default", + "numberFrom": null, + "numberTo": null, + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json index 1d5367391dfd..0f3116e41cef 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json @@ -1,69 +1,69 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "dataMaskingRuleName": "rule1", + "parameters": { + "properties": { + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "maskingFunction": "Number", + "numberFrom": "0", + "numberTo": "2" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Number", + "numberFrom": "0", + "numberTo": "2", + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } } - } -} \ No newline at end of file + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Number", + "numberFrom": "0", + "numberTo": "2", + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json index 7bba32611921..a109322d6460 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json @@ -1,70 +1,70 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Text", - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01", + "dataMaskingRuleName": "rule1", + "parameters": { + "properties": { + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "maskingFunction": "Text", + "prefixSize": "1", + "suffixSize": "0", + "replacementString": "asdf" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Text", + "numberFrom": null, + "numberTo": null, + "prefixSize": "1", + "suffixSize": "0", + "replacementString": "asdf" + } } - } -} \ No newline at end of file + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Text", + "numberFrom": null, + "numberTo": null, + "prefixSize": "1", + "suffixSize": "0", + "replacementString": "asdf" + } + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleList.json index 96de2c77b0fe..408c96f926d7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleList.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "serverName": "sqlcrudtest-2080", - "databaseName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - ] - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-331", + "dataMaskingPolicyName": "Default", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Text", + "numberFrom": null, + "numberTo": null, + "prefixSize": "1", + "suffixSize": "0", + "replacementString": "asdf" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-6852/databases/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", + "name": null, + "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules", + "location": "Central US", + "kind": null, + "properties": { + "id": "dbo_Table_1_test1", + "ruleState": "Enabled", + "schemaName": "dbo", + "tableName": "Table_1", + "columnName": "test1", + "aliasName": null, + "maskingFunction": "Number", + "numberFrom": "0", + "numberTo": "2", + "prefixSize": null, + "suffixSize": null, + "replacementString": null + } + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataWarehouseRestorePointsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataWarehouseRestorePointsList.json index 8b8590d6b0d2..41af179bdc20 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataWarehouseRestorePointsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataWarehouseRestorePointsList.json @@ -1,61 +1,61 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6730", - "serverName":"sqlcrudtest-9007", - "databaseName":"3481", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6730", + "serverName": "sqlcrudtest-9007", + "databaseName": "3481", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448209670000000", - "name":"131448209670000000", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"DISCRETE", - "earliestRestoreDate":null, - "restorePointCreationDate":"2017-07-18T03:09:27Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448209670000000", + "name": "131448209670000000", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "DISCRETE", + "earliestRestoreDate": null, + "restorePointCreationDate": "2017-07-18T03:09:27Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448353660000000", - "name":"131448353660000000", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"DISCRETE", - "earliestRestoreDate":null, - "restorePointCreationDate":"2017-07-18T07:09:26Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448353660000000", + "name": "131448353660000000", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "DISCRETE", + "earliestRestoreDate": null, + "restorePointCreationDate": "2017-07-18T07:09:26Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448497660000000", - "name":"131448497660000000", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"DISCRETE", - "earliestRestoreDate":null, - "restorePointCreationDate":"2017-07-18T11:09:26Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448497660000000", + "name": "131448497660000000", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "DISCRETE", + "earliestRestoreDate": null, + "restorePointCreationDate": "2017-07-18T11:09:26Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448641650000000", - "name":"131448641650000000", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"DISCRETE", - "earliestRestoreDate":null, - "restorePointCreationDate":"2017-07-18T15:09:25Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/9007/databases/3481/restorepoints/131448641650000000", + "name": "131448641650000000", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "DISCRETE", + "earliestRestoreDate": null, + "restorePointCreationDate": "2017-07-18T15:09:25Z" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json index f29ef1f9f868..3c58eada84f2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "databaseName": "IndexAdvisor_test_3", - "advisorName": "CreateIndex", - "api-version": "2014-04-01", - "parameters": { - "properties" : { - "autoExecuteValue" : "Disabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/databases/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled", - "recommendationsStatus": "Ok", - "lastChecked": "2017-06-20T00:24:39Z" - } - } + "properties": { + "autoExecuteValue": "Disabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled", + "recommendationsStatus": "Ok", + "lastChecked": "2017-06-20T00:24:39Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorGet.json index 09010e322192..cfcbd40e2eed 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorGet.json @@ -1,25 +1,25 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"workloadinsight-demos", - "serverName":"misosisvr", - "databaseName":"IndexAdvisor_test_3", - "advisorName":"CreateIndex", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "advisorName": "CreateIndex", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name":"CreateIndex", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"GA", - "autoExecuteValue":"Enabled", - "recommendationsStatus":"LowActivity", - "lastChecked":"2017-07-04T13:17:13Z" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Enabled", + "recommendationsStatus": "LowActivity", + "lastChecked": "2017-07-04T13:17:13Z" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorList.json index 076887590c7c..f43d6d508310 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseAdvisorList.json @@ -1,72 +1,72 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"workloadinsight-demos", - "serverName":"misosisvr", - "databaseName":"IndexAdvisor_test_3", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "databaseName": "IndexAdvisor_test_3", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", - "name":"CreateIndex", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"GA", - "autoExecuteValue":"Enabled", - "recommendationsStatus":"LowActivity", - "lastChecked":"2017-07-04T13:17:13Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Enabled", + "recommendationsStatus": "LowActivity", + "lastChecked": "2017-07-04T13:17:13Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", - "name":"DropIndex", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"GA", - "autoExecuteValue":"Enabled", - "recommendationsStatus":"DbSeemsTuned", - "lastChecked":"2017-07-03T16:26:28Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Enabled", + "recommendationsStatus": "DbSeemsTuned", + "lastChecked": "2017-07-03T16:26:28Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", - "name":"DbParameterization", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"GA", - "autoExecuteValue":"Disabled", - "recommendationsStatus":"NoDbParameterizationIssue", - "lastChecked":"2017-07-03T15:31:27Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled", + "recommendationsStatus": "NoDbParameterizationIssue", + "lastChecked": "2017-07-03T15:31:27Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", - "name":"SchemaIssue", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"PublicPreview", - "autoExecuteValue":"Disabled", - "recommendationsStatus":"SchemaIsConsistent", - "lastChecked":"2017-07-04T17:45:37Z" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/SchemaIssue", + "name": "SchemaIssue", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "PublicPreview", + "autoExecuteValue": "Disabled", + "recommendationsStatus": "SchemaIsConsistent", + "lastChecked": "2017-07-04T17:45:37Z" } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", - "name":"ForceLastGoodPlan", - "type":"Microsoft.Sql/servers/databases/advisors", - "properties":{ - "advisorStatus":"PrivatePreview", - "autoExecuteValue":"Disabled", - "recommendationsStatus":null, - "lastChecked":null + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/databases/IndexAdvisor_test_3/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/databases/advisors", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteValue": "Disabled", + "recommendationsStatus": null, + "lastChecked": null } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyCreateOrUpdate.json index daaf40701c85..824b491e6608 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyCreateOrUpdate.json @@ -1,31 +1,31 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "databaseName":"testdb", - "connectionPolicyName":"default", - "parameters": { }, - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "databaseName": "testdb", + "connectionPolicyName": "default", + "parameters": {}, + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/servers/databases/connectionPolicies", - "location":"West US", - "kind":null, - "properties":{ - "securityEnabledAccess":"Optional", - "proxyDnsName":"blobauditingtest-2080.database.secure.windows.net", - "proxyPort":"1433", - "visibility":"Visible", - "useServerDefault":"Enabled", - "redirectionState":"Disabled", - "state":"New" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/connectionPolicies", + "location": "West US", + "kind": null, + "properties": { + "securityEnabledAccess": "Optional", + "proxyDnsName": "blobauditingtest-2080.database.secure.windows.net", + "proxyPort": "1433", + "visibility": "Visible", + "useServerDefault": "Enabled", + "redirectionState": "Disabled", + "state": "New" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyGet.json index 9aa1fda08e9c..3661378f702b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseConnectionPolicyGet.json @@ -1,30 +1,30 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "databaseName":"testdb", - "connectionPolicyName":"default", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "databaseName": "testdb", + "connectionPolicyName": "default", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/servers/databases/connectionPolicies", - "location":"West US", - "kind":null, - "properties":{ - "securityEnabledAccess":"Optional", - "proxyDnsName":"blobauditingtest-2080.database.secure.windows.net", - "proxyPort":"1433", - "visibility":"Visible", - "useServerDefault":"Enabled", - "redirectionState":"Disabled", - "state":"New" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/servers/databases/connectionPolicies", + "location": "West US", + "kind": null, + "properties": { + "securityEnabledAccess": "Optional", + "proxyDnsName": "blobauditingtest-2080.database.secure.windows.net", + "proxyPort": "1433", + "visibility": "Visible", + "useServerDefault": "Enabled", + "redirectionState": "Disabled", + "state": "New" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateCopy.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateCopy.json index fea176ccb31d..36caddeadced 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateCopy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateCopy.json @@ -6,10 +6,10 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "location": "Japan East", + "location": "Japan East", "properties": { - "createMode": "Copy", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" + "createMode": "Copy", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" } } }, @@ -70,4 +70,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json index d8a6477a1920..2b6f1ef7cf14 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json @@ -1,74 +1,74 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444 ", + "resourceGroupName": "sqlcrudtest-8412", + "serverName": "sqlcrudtest-3584", + "databaseName": "testdb", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444 ", - "resourceGroupName": "sqlcrudtest-8412", - "serverName": "sqlcrudtest-3584", - "databaseName": "testdb", - "api-version": "2014-04-01", - "parameters": { - "location": "Japan East", - "properties": { - "createMode": "Restore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/sourcedb", - "sourceDatabaseDeletionDate": "2017-05-27T02:49:47.69Z" - } + "location": "Japan East", + "properties": { + "createMode": "Restore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/sourcedb", + "sourceDatabaseDeletionDate": "2017-05-27T02:49:47.69Z" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json index 8c6c5717b87e..1504f7b9cdb3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json @@ -1,74 +1,74 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444 ", + "resourceGroupName": "sqlcrudtest-8412", + "serverName": "sqlcrudtest-3584", + "databaseName": "testdb", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444 ", - "resourceGroupName": "sqlcrudtest-8412", - "serverName": "sqlcrudtest-3584", - "databaseName": "testdb", - "api-version": "2014-04-01", - "parameters": { - "location": "Japan East", - "properties": { - "createMode": "Restore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/restorableDroppedDatabases/sourcedb,131403269876900000", - "restorePointInTime": "2017-05-20T21:24:37.467Z" - } + "location": "Japan East", + "properties": { + "createMode": "Restore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/restorableDroppedDatabases/sourcedb,131403269876900000", + "restorePointInTime": "2017-05-20T21:24:37.467Z" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateGeoRestore.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateGeoRestore.json index 8c1b5508f7db..a2d7dc784747 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateGeoRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateGeoRestore.json @@ -1,73 +1,73 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444 ", + "resourceGroupName": "sqlcrudtest-8412", + "serverName": "sqlcrudtest-3584", + "databaseName": "testdb", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444 ", - "resourceGroupName": "sqlcrudtest-8412", - "serverName": "sqlcrudtest-3584", - "databaseName": "testdb", - "api-version": "2014-04-01", - "parameters": { - "location": "Japan East", - "properties": { - "createMode": "Recovery", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/recoverableDatabases/sourcedb" - } + "location": "Japan East", + "properties": { + "createMode": "Recovery", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/recoverableDatabases/sourcedb" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json index 7bcd521c04df..ae29da51c4d6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json @@ -5,37 +5,37 @@ "serverName": "sqlcrudtest-5961", "api-version": "2014-04-01", "parameters": { - "databaseName":"TestDbImport", - "edition":"Basic", - "serviceObjectiveName":"Basic", - "maxSizeBytes":"2147483648", - "storageKeyType":"SharedAccessKey", + "databaseName": "TestDbImport", + "edition": "Basic", + "serviceObjectiveName": "Basic", + "maxSizeBytes": "2147483648", + "storageKeyType": "SharedAccessKey", "storageKey": "?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=sdfsdfklsdjflSLIFJLSIEJFLKSDJFDd/%2wdfskdjf3%3D&sv=2015-07-08", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", - "administratorLogin":"dummyLogin", - "administratorLoginPassword":"Un53cuRE!", - "authenticationType":"SQL" + "administratorLogin": "dummyLogin", + "administratorLoginPassword": "Un53cuRE!", + "authenticationType": "SQL" } }, "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json index e7d8b999acdc..39f352e6a664 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json @@ -5,37 +5,37 @@ "serverName": "sqlcrudtest-5961", "api-version": "2014-04-01", "parameters": { - "databaseName":"TestDbImport", - "edition":"Basic", - "serviceObjectiveName":"Basic", - "maxSizeBytes":"2147483648", - "storageKeyType":"StorageAccessKey", + "databaseName": "TestDbImport", + "edition": "Basic", + "serviceObjectiveName": "Basic", + "maxSizeBytes": "2147483648", + "storageKeyType": "StorageAccessKey", "storageKey": "sdlfkjdsf+sdlfkjsdlkfsjdfLDKFJSDLKFDFKLjsdfksjdflsdkfD2342309432849328479324/3RSD==", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", - "administratorLogin":"dummyLogin", - "administratorLoginPassword":"Un53cuRE!", - "authenticationType":"SQL" + "administratorLogin": "dummyLogin", + "administratorLoginPassword": "Un53cuRE!", + "authenticationType": "SQL" } }, "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinSasKey.json index 32fcf7899c87..3770568296df 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinSasKey.json @@ -5,36 +5,36 @@ "serverName": "sqlcrudtest-5961", "api-version": "2014-04-01", "parameters": { - "databaseName":"TestDbImport", - "edition":"Basic", - "serviceObjectiveName":"Basic", - "maxSizeBytes":"2147483648", - "storageKeyType":"SharedAccessKey", + "databaseName": "TestDbImport", + "edition": "Basic", + "serviceObjectiveName": "Basic", + "maxSizeBytes": "2147483648", + "storageKeyType": "SharedAccessKey", "storageKey": "?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=sdfsdfklsdjflSLIFJLSIEJFLKSDJFDd/%2wdfskdjf3%3D&sv=2015-07-08", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", - "administratorLogin":"dummyLogin", - "administratorLoginPassword":"Un53cuRE!" + "administratorLogin": "dummyLogin", + "administratorLoginPassword": "Un53cuRE!" } }, "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json index adbfd19b4545..15235cf1d90c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json @@ -5,36 +5,36 @@ "serverName": "sqlcrudtest-5961", "api-version": "2014-04-01", "parameters": { - "databaseName":"TestDbImport", - "edition":"Basic", - "serviceObjectiveName":"Basic", - "maxSizeBytes":"2147483648", - "storageKeyType":"StorageAccessKey", + "databaseName": "TestDbImport", + "edition": "Basic", + "serviceObjectiveName": "Basic", + "maxSizeBytes": "2147483648", + "storageKeyType": "StorageAccessKey", "storageKey": "sdlfkjdsf+sdlfkjsdlkfsjdfLDKFJSDLKFDFKLjsdfksjdflsdkfD2342309432849328479324/3RSD==", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", - "administratorLogin":"dummyLogin", - "administratorLoginPassword":"Un53cuRE!" + "administratorLogin": "dummyLogin", + "administratorLoginPassword": "Un53cuRE!" } }, "responses": { "200": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json index 50318a5c6b78..c2e5325789aa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json @@ -1,73 +1,73 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444 ", + "resourceGroupName": "sqlcrudtest-8412", + "serverName": "sqlcrudtest-3584", + "databaseName": "testdb", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444 ", - "resourceGroupName": "sqlcrudtest-8412", - "serverName": "sqlcrudtest-3584", - "databaseName": "testdb", - "api-version": "2014-04-01", - "parameters": { - "location": "Japan East", - "properties": { - "createMode": "RestoreLongTermRetentionBackup", - "recoveryServicesRecoveryPointResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/AzureSqlContainer;Sql;sqlcrudtest-8412;testsvr/protectedItems/AzureSqlDb;dsName;testdb;9dafcc99-7c84-4727-88ee-1a4fdb89afd7/RecoveryPoints/16043455089734" - } + "location": "Japan East", + "properties": { + "createMode": "RestoreLongTermRetentionBackup", + "recoveryServicesRecoveryPointResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.RecoveryServices/vaults/testVault/backupFabrics/Azure/protectionContainers/AzureSqlContainer;Sql;sqlcrudtest-8412;testsvr/protectedItems/AzureSqlDb;dsName;testdb;9dafcc99-7c84-4727-88ee-1a4fdb89afd7/RecoveryPoints/16043455089734" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "edition": "Standard", - "status": "Online", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "creationDate": "2017-05-30T22:39:46.547Z", - "maxSizeBytes": "268435456000", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-05-30T22:50:46.547Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } - } - }, - "202": { } - } -} \ No newline at end of file + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-05-30T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-05-30T22:50:46.547Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMax.json index 6ccc14114e0e..1599f1836ac7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMax.json @@ -6,8 +6,36 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "location": "Japan East", + "location": "Japan East", "properties": { + "databaseId": "816c5f7e-0e36-4eec-9c51-eee7a276c14c", + "edition": "Standard", + "status": "Online", + "createMode": "Default", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": "268435456000", + "creationDate": "2017-02-10T01:37:18.847Z", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:48:08.237Z", + "containmentState": 2, + "readScale": "Disabled", + "sampleName": "AdventureWorksLT" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-8931/providers/Microsoft.Sql/servers/sqlcrudtest-1932/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { "databaseId": "816c5f7e-0e36-4eec-9c51-eee7a276c14c", "edition": "Standard", "status": "Online", @@ -19,42 +47,14 @@ "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", "requestedServiceObjectiveName": "S0", + "sampleName": null, + "sourceDatabaseId": null, "defaultSecondaryLocation": "Japan West", "earliestRestoreDate": "2017-02-10T01:48:08.237Z", + "elasticPoolName": null, "containmentState": 2, "readScale": "Disabled", - "sampleName": "AdventureWorksLT" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-8931/providers/Microsoft.Sql/servers/sqlcrudtest-1932/databases/testdb", - "name": "testdb", - "type": "Microsoft.Sql/servers/databases", - "location": "Japan East", - "kind": "v12.0,user", - "properties": { - "databaseId": "816c5f7e-0e36-4eec-9c51-eee7a276c14c", - "edition": "Standard", - "status": "Online", - "createMode": "Default", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": "268435456000", - "creationDate": "2017-02-10T01:37:18.847Z", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "sourceDatabaseId": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-02-10T01:48:08.237Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null + "failoverGroupId": null } } }, @@ -65,29 +65,29 @@ "type": "Microsoft.Sql/servers/databases", "location": "Japan East", "kind": "v12.0,user", - "properties": { - "databaseId": "816c5f7e-0e36-4eec-9c51-eee7a276c14c", - "edition": "Standard", - "status": "Online", - "createMode": "Default", - "serviceLevelObjective": "S0", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": "268435456000", - "creationDate": "2017-02-10T01:37:18.847Z", - "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "requestedServiceObjectiveName": "S0", - "sampleName": null, - "sourceDatabaseId": null, - "defaultSecondaryLocation": "Japan West", - "earliestRestoreDate": "2017-02-10T01:48:08.237Z", - "elasticPoolName": null, - "containmentState": 2, - "readScale": "Disabled", - "failoverGroupId": null - } + "properties": { + "databaseId": "816c5f7e-0e36-4eec-9c51-eee7a276c14c", + "edition": "Standard", + "status": "Online", + "createMode": "Default", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": "268435456000", + "creationDate": "2017-02-10T01:37:18.847Z", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "sourceDatabaseId": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:48:08.237Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMin.json index 5986645454ae..9406eb7c4365 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateMin.json @@ -66,4 +66,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json index 1a74b5093799..4aee16e4db00 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json @@ -6,10 +6,10 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "location": "Japan East", + "location": "Japan East", "properties": { - "createMode": "NonReadableSecondary", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" + "createMode": "NonReadableSecondary", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" } } }, @@ -70,4 +70,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOnlineSecondary.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOnlineSecondary.json index c913482568f9..5d10425dc333 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOnlineSecondary.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOnlineSecondary.json @@ -6,10 +6,10 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "location": "Japan East", + "location": "Japan East", "properties": { - "createMode": "OnlineSecondary", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" + "createMode": "OnlineSecondary", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb" } } }, @@ -70,4 +70,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOrUpdateMin.json index 5986645454ae..9406eb7c4365 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreateOrUpdateMin.json @@ -66,4 +66,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json index ea681d075680..94ff5fb8c770 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json @@ -6,11 +6,11 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "location": "Japan East", + "location": "Japan East", "properties": { - "createMode": "PointInTimeRestore", - "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", - "restorePointInTime": "2017-02-16T21:24:37.467Z" + "createMode": "PointInTimeRestore", + "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444 /resourceGroups/sqlcrudtest-8412/providers/Microsoft.Sql/servers/sqlcrudtest-3782/databases/testdb", + "restorePointInTime": "2017-02-16T21:24:37.467Z" } } }, @@ -71,4 +71,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json index 875964938a23..7303a40a620e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json index edeca0c7b448..cced7d291c92 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json @@ -6,7 +6,7 @@ "databaseName": "testdb", "api-version": "2014-04-01", "parameters": { - "storageKeyType":"SharedAccessKey", + "storageKeyType": "SharedAccessKey", "storageKey": "?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=sdfsdfklsdjflSLIFJLSIEJFLKSDJFDd/%2wdfskdjf3%3D&sv=2015-07-08", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", "administratorLogin": "dummyLogin", @@ -15,22 +15,22 @@ } }, "responses": { - "200":{ + "200": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Export", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Export", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json index 9efc8dc75d80..8de83c9443e1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json @@ -15,22 +15,22 @@ } }, "responses": { - "200":{ + "200": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Export", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Export", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGet.json index adae2c92c872..1701ecb16efa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByElasticPool.json index 615574a6f58e..78fdb21ce58c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByElasticPool.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByRecommendedElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByRecommendedElasticPool.json index 173a07dd48d0..ee83728303aa 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByRecommendedElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseGetByRecommendedElasticPool.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseList.json index 2af0e12c1782..0b70e9a9e671 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseList.json @@ -143,4 +143,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByElasticPool.json index 0b722d270f22..d9b13cbac3bf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByElasticPool.json @@ -144,4 +144,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByRecommendedElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByRecommendedElasticPool.json index 470517fecccb..cd2f4775fecc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByRecommendedElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListByRecommendedElasticPool.json @@ -144,4 +144,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListWithFilter.json index fc41a2f6d3e3..e94b0d44bc6a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseListWithFilter.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsDefinitionsList.json index 5f8a52170030..c5dc94e03034 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsDefinitionsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsDefinitionsList.json @@ -11,393 +11,393 @@ "200": { "body": { "value": [ - { - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + { + "name": { + "value": "cpu_percent", + "localizedValue": "CPU percentage" }, - { - "name": { - "value": "physical_data_read_percent", - "localizedValue": "Data IO percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "physical_data_read_percent", + "localizedValue": "Data IO percentage" }, - { - "name": { - "value": "log_write_percent", - "localizedValue": "Log IO percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "log_write_percent", + "localizedValue": "Log IO percentage" }, - { - "name": { - "value": "dtu_consumption_percent", - "localizedValue": "DTU percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_consumption_percent", + "localizedValue": "DTU percentage" }, - { - "name": { - "value": "storage", - "localizedValue": "Total database size" - }, - "unit": "Bytes", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Maximum", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "storage", + "localizedValue": "Total database size" }, - { - "name": { - "value": "xtp_storage_percent", - "localizedValue": "In-Memory OLTP storage percent" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Bytes", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Maximum", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "xtp_storage_percent", + "localizedValue": "In-Memory OLTP storage percent" }, - { - "name": { - "value": "workers_percent", - "localizedValue": "Workers percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "workers_percent", + "localizedValue": "Workers percentage" }, - { - "name": { - "value": "sessions_percent", - "localizedValue": "Sessions percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "sessions_percent", + "localizedValue": "Sessions percentage" + }, + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_limit", + "localizedValue": "DTU limit" }, - { - "name": { - "value": "dtu_limit", - "localizedValue": "DTU limit" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_used", + "localizedValue": "DTU used" }, - { - "name": { - "value": "dtu_used", - "localizedValue": "DTU used" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "connection_successful", + "localizedValue": "Successful Connections" }, - { - "name": { - "value": "connection_successful", - "localizedValue": "Successful Connections" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "connection_failed", + "localizedValue": "Failed Connections" }, - { - "name": { - "value": "connection_failed", - "localizedValue": "Failed Connections" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "blocked_by_firewall", + "localizedValue": "Blocked by Firewall" }, - { - "name": { - "value": "blocked_by_firewall", - "localizedValue": "Blocked by Firewall" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "deadlock", + "localizedValue": "Deadlocks" }, - { - "name": { - "value": "deadlock", - "localizedValue": "Deadlocks" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "storage_percent", + "localizedValue": "Database size percentage" }, - { - "name": { - "value": "storage_percent", - "localizedValue": "Database size percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Maximum", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] - } + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Maximum", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsListWithFilter.json index cdb79af0aae1..b612d0a06985 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsListWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsListWithFilter.json @@ -11,44 +11,44 @@ "200": { "body": { "value": [ - { - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percentage" + { + "name": { + "value": "cpu_percent", + "localizedValue": "CPU percentage" + }, + "unit": "percent", + "timeGrain": "00:10:00", + "startTime": "2017-06-02T18:35:00Z", + "endTime": "2017-06-02T18:55:00Z", + "metricValues": [ + { + "timestamp": "2017-06-02T18:30:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 }, - "unit": "percent", - "timeGrain": "00:10:00", - "startTime": "2017-06-02T18:35:00Z", - "endTime": "2017-06-02T18:55:00Z", - "metricValues": [ - { - "timestamp": "2017-06-02T18:30:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - }, - { - "timestamp": "2017-06-02T18:40:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - }, - { - "timestamp": "2017-06-02T18:50:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - } - ] - } + { + "timestamp": "2017-06-02T18:40:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 + }, + { + "timestamp": "2017-06-02T18:50:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 + } + ] + } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabasePause.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabasePause.json index e478bb40abed..b8c8d3d0e1b3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabasePause.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabasePause.json @@ -7,9 +7,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - }, - "202": { - } + "200": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseRestorePointsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseRestorePointsList.json index 823fc44c78b9..fe6e1fe1db6a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseRestorePointsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseRestorePointsList.json @@ -1,28 +1,28 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6730", - "serverName":"sqlcrudtest-9007", - "databaseName":"3481", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6730", + "serverName": "sqlcrudtest-9007", + "databaseName": "3481", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/sqlcrudtest-9007/databases/3481/restorepoints/ContinuousRestorePoint", - "name":"ContinuousRestorePoint", - "location":"West US", - "type":"Microsoft.Sql/servers/databases/restorePoints", - "properties":{ - "restorePointType":"CONTINUOUS", - "earliestRestoreDate":"2017-06-12T00:00:00Z", - "restorePointCreationDate":null + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6730/providers/Microsoft.Sql/servers/sqlcrudtest-9007/databases/3481/restorepoints/ContinuousRestorePoint", + "name": "ContinuousRestorePoint", + "location": "West US", + "type": "Microsoft.Sql/servers/databases/restorePoints", + "properties": { + "restorePointType": "CONTINUOUS", + "earliestRestoreDate": "2017-06-12T00:00:00Z", + "restorePointCreationDate": null } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseResume.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseResume.json index e478bb40abed..b8c8d3d0e1b3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseResume.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseResume.json @@ -7,9 +7,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - }, - "202": { - } + "200": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json index a929ffd7ffc8..f400fc890107 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json @@ -7,16 +7,16 @@ "securityAlertPolicyName": "default", "api-version": "2014-04-01", "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "test@microsoft.com;user@microsoft.com", - "disabledAlerts": "Sql_Injection;Usage_Anomaly;", - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Enabled" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "test@microsoft.com;user@microsoft.com", + "disabledAlerts": "Sql_Injection;Usage_Anomaly;", + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Enabled" + } } }, "responses": { @@ -27,14 +27,14 @@ "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "test@microsoft.com;user@microsoft.com", - "disabledAlerts": "Sql_Injection;Usage_Anomaly", - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Enabled" + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "test@microsoft.com;user@microsoft.com", + "disabledAlerts": "Sql_Injection;Usage_Anomaly", + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Enabled" } } }, @@ -45,16 +45,16 @@ "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "test@microsoft.com;user@microsoft.com", - "disabledAlerts": "Access_Anomaly;Usage_Anomaly", - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Enabled" + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "test@microsoft.com;user@microsoft.com", + "disabledAlerts": "Access_Anomaly;Usage_Anomaly", + "retentionDays": 6, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Enabled" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json index e12a7fd98bbd..a090696a831d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json @@ -21,15 +21,15 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "", - "disabledAlerts": "", - "retentionDays": 0, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Enabled" + "properties": { + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "", + "disabledAlerts": "", + "retentionDays": 0, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Enabled" } } }, @@ -39,17 +39,17 @@ "name": "default", "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "", - "disabledAlerts": "", - "retentionDays": 0, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "useServerDefault": "Enabled" + "properties": { + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "", + "disabledAlerts": "", + "retentionDays": 0, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net", + "useServerDefault": "Enabled" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertGet.json index 06978579a18f..2b705fb24bda 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseSecurityAlertGet.json @@ -9,23 +9,23 @@ }, "responses": { "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb", - "name": "default", - "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", - "location": "Japan East", - "kind": "V12", - "properties": { - "state": "Enabled", - "emailAccountAdmins": "Enabled", - "emailAddresses": "test@microsoft.com;user@microsoft.com", - "disabledAlerts": "Usage_Anomaly", - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "", - "useServerDefault": "Enabled" - } + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb", + "name": "default", + "type": "Microsoft.Sql/servers/databases/securityAlertPolicies", + "location": "Japan East", + "kind": "V12", + "properties": { + "state": "Enabled", + "emailAccountAdmins": "Enabled", + "emailAddresses": "test@microsoft.com;user@microsoft.com", + "disabledAlerts": "Usage_Anomaly", + "retentionDays": 0, + "storageAccountAccessKey": "", + "storageEndpoint": "", + "useServerDefault": "Enabled" } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyCreateOrUpdate.json index 05e8a743d163..0f8d7ea2c801 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyCreateOrUpdate.json @@ -1,36 +1,36 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "databaseName":"testdb", - "tableAuditingPolicyName":"default", - "parameters": { }, - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "databaseName": "testdb", + "tableAuditingPolicyName": "default", + "parameters": {}, + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "useServerDefault":"Enabled", - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080Testdb", - "auditLogsTableName":"Blobauditingtest2080Testdb", - "retentionDays":"0" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "useServerDefault": "Enabled", + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080Testdb", + "auditLogsTableName": "Blobauditingtest2080Testdb", + "retentionDays": "0" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyGet.json index 53d165153706..829772eeae89 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyGet.json @@ -1,35 +1,35 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "databaseName":"testdb", - "tableAuditingPolicyName":"default", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "databaseName": "testdb", + "tableAuditingPolicyName": "default", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "useServerDefault":"Enabled", - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080Testdb", - "auditLogsTableName":"Blobauditingtest2080Testdb", - "retentionDays":"0" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "useServerDefault": "Enabled", + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080Testdb", + "auditLogsTableName": "Blobauditingtest2080Testdb", + "retentionDays": "0" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyList.json index 24ed1d9dad99..9fcc8e81438f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTableAuditingPolicyList.json @@ -1,39 +1,39 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "databaseName":"testdb", - "tableAuditingPolicyName":"default", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "databaseName": "testdb", + "tableAuditingPolicyName": "default", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "useServerDefault":"Enabled", - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080Testdb", - "auditLogsTableName":"Blobauditingtest2080Testdb", - "retentionDays":"0" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "useServerDefault": "Enabled", + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080Testdb", + "auditLogsTableName": "Blobauditingtest2080Testdb", + "retentionDays": "0" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionActivityList.json index 423631f213f0..54993dacf6c7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionActivityList.json @@ -1,28 +1,28 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "databaseName":"sqlcrudtest-9187", - "transparentDataEncryptionName":"current", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-9187", + "transparentDataEncryptionName": "current", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "properties":{ - "status":"Encrypting", - "percentComplete":100 + "properties": { + "status": "Encrypting", + "percentComplete": 100 }, - "name":"current", - "location":"West US", - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current/operationResults/current", - "type":"Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults" + "name": "current", + "location": "West US", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current/operationResults/current", + "type": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults" } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json index 690796976cab..86ac32fe594b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json @@ -15,25 +15,25 @@ "responses": { "200": { "body": { - "name" : "current", - "location" : "North Europe", - "id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", - "type" : "Microsoft.Sql/servers/databases/transparentDataEncryption", - "properties" : { - "status" : "Enabled" + "name": "current", + "location": "North Europe", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", + "type": "Microsoft.Sql/servers/databases/transparentDataEncryption", + "properties": { + "status": "Enabled" } } }, "201": { "body": { - "name" : "current", - "location" : "North Europe", - "id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", - "type" : "Microsoft.Sql/servers/databases/transparentDataEncryption", - "properties" : { - "status" : "Enabled" + "name": "current", + "location": "North Europe", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", + "type": "Microsoft.Sql/servers/databases/transparentDataEncryption", + "properties": { + "status": "Enabled" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json index 689f2959d3e9..3097c2bdeffb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json @@ -10,14 +10,14 @@ "responses": { "200": { "body": { - "name" : "current", - "location" : "North Europe", - "id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", - "type" : "Microsoft.Sql/servers/databases/transparentDataEncryption", - "properties" : { - "status" : "Enabled" + "name": "current", + "location": "North Europe", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", + "type": "Microsoft.Sql/servers/databases/transparentDataEncryption", + "properties": { + "status": "Enabled" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json index 42ec4fd77613..4687df27d5cc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json @@ -11,16 +11,16 @@ "body": { "value": [ { - "name" : "current", - "location" : "North Europe", - "id" : "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", - "type" : "Microsoft.Sql/servers/databases/transparentDataEncryption", - "properties" : { - "status" : "Enabled" + "name": "current", + "location": "North Europe", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current", + "type": "Microsoft.Sql/servers/databases/transparentDataEncryption", + "properties": { + "status": "Enabled" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateElasticPool.json index 04289daea9bf..76f4d16f02f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateElasticPool.json @@ -67,4 +67,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json index 032335ee9e75..07a4271a93d0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json @@ -11,7 +11,7 @@ "type": "Microsoft.Sql/servers/databases/extensions", "properties": { "operationMode": "Import", - "storageKeyType":"SharedAccessKey", + "storageKeyType": "SharedAccessKey", "storageKey": "?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=sdfsdfklsdjflSLIFJLSIEJFLKSDJFDd/%2wdfskdjf3%3D&sv=2015-07-08", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", "administratorLogin": "dummyLogin", @@ -22,23 +22,23 @@ }, "responses": { "201": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json index 0f2dd94966c3..4faa1a150fd5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json @@ -22,23 +22,23 @@ }, "responses": { "201": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json index fb1a1c9e2c33..18e2c5290860 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json @@ -9,7 +9,7 @@ "parameters": { "properties": { "operationMode": "Import", - "storageKeyType":"SharedAccessKey", + "storageKeyType": "SharedAccessKey", "storageKey": "?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=sdfsdfklsdjflSLIFJLSIEJFLKSDJFDd/%2wdfskdjf3%3D&sv=2015-07-08", "storageUri": "https://test.blob.core.windows.net/bacpacs/testbacpac.bacpac", "administratorLogin": "dummyLogin", @@ -19,23 +19,23 @@ }, "responses": { "201": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json index c82911133d94..8efbcbfb5a73 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json @@ -19,23 +19,23 @@ }, "responses": { "201": { - "body":{ + "body": { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", "type": "Microsoft.Sql/servers/importExportOperationResults", "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Import", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Import", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPatch.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPatch.json index 7dddd026e5f1..2e38cf2acf99 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPatch.json @@ -53,4 +53,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPut.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPut.json index 4e3068a48a8e..5a6e5984c735 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPut.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMaxPut.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMin.json index 62d2a39a2417..58263dbf189a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUpdateMin.json @@ -5,8 +5,7 @@ "serverName": "sqlcrudtest-5961", "databaseName": "testdb", "api-version": "2014-04-01", - "parameters": { - } + "parameters": {} }, "responses": { "200": { @@ -38,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUsageMetricsList.json index c45bdda650a0..2910a552d25f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUsageMetricsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseUsageMetricsList.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationCreateOrUpdate.json index 957ea0790f97..f2e95da3592a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationCreateOrUpdate.json @@ -19,15 +19,15 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdw/geoBackupPolicies/Default", "name": "Default", "location": "West US", - "type":"Microsoft.Sql/servers/disasterRecoveryConfigurations", + "type": "Microsoft.Sql/servers/disasterRecoveryConfigurations", "properties": { - "status": "Ready", - "autoFailover": "On", - "failoverPolicy": "Automatic", - "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", - "logicalServerName": "sqlcrudtest-5961", - "partnerLogicalServerName": "sqlcrudtest-5962", - "role": "Primary" + "status": "Ready", + "autoFailover": "On", + "failoverPolicy": "Automatic", + "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", + "logicalServerName": "sqlcrudtest-5961", + "partnerLogicalServerName": "sqlcrudtest-5962", + "role": "Primary" } } }, @@ -36,15 +36,15 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdw/geoBackupPolicies/Default", "name": "Default", "location": "West US", - "type":"Microsoft.Sql/servers/disasterRecoveryConfigurations", + "type": "Microsoft.Sql/servers/disasterRecoveryConfigurations", "properties": { - "status": "Ready", - "autoFailover": "On", - "failoverPolicy": "Automatic", - "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", - "logicalServerName": "sqlcrudtest-5961", - "partnerLogicalServerName": "sqlcrudtest-5962", - "role": "Primary" + "status": "Ready", + "autoFailover": "On", + "failoverPolicy": "Automatic", + "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", + "logicalServerName": "sqlcrudtest-5961", + "partnerLogicalServerName": "sqlcrudtest-5962", + "role": "Primary" } } }, @@ -53,17 +53,17 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdw/geoBackupPolicies/Default", "name": "Default", "location": "West US", - "type":"Microsoft.Sql/servers/disasterRecoveryConfigurations", + "type": "Microsoft.Sql/servers/disasterRecoveryConfigurations", "properties": { - "status": "Ready", - "autoFailover": "On", - "failoverPolicy": "Automatic", - "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", - "logicalServerName": "sqlcrudtest-5961", - "partnerLogicalServerName": "sqlcrudtest-5962", - "role": "Primary" + "status": "Ready", + "autoFailover": "On", + "failoverPolicy": "Automatic", + "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", + "logicalServerName": "sqlcrudtest-5961", + "partnerLogicalServerName": "sqlcrudtest-5962", + "role": "Primary" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json index 3604d9acb1c5..654e3b83e5df 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationFailover.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationFailover.json index e38206e733f3..41c30aa89798 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationFailover.json @@ -8,6 +8,6 @@ }, "responses": { "202": {}, - "204":{} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationGet.json index eb891a289db7..39c6665af7fd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationGet.json @@ -12,17 +12,17 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdw/geoBackupPolicies/Default", "name": "Default", "location": "West US", - "type":"Microsoft.Sql/servers/disasterRecoveryConfigurations", + "type": "Microsoft.Sql/servers/disasterRecoveryConfigurations", "properties": { - "status": "Ready", - "autoFailover": "On", - "failoverPolicy": "Automatic", - "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", - "logicalServerName": "sqlcrudtest-5961", - "partnerLogicalServerName": "sqlcrudtest-5962", - "role": "Primary" + "status": "Ready", + "autoFailover": "On", + "failoverPolicy": "Automatic", + "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", + "logicalServerName": "sqlcrudtest-5961", + "partnerLogicalServerName": "sqlcrudtest-5962", + "role": "Primary" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationList.json index 3b2e38ff42b3..d4fb0321ee60 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationList.json @@ -14,19 +14,19 @@ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdw/geoBackupPolicies/Default", "name": "Default", "location": "West US", - "type":"Microsoft.Sql/servers/disasterRecoveryConfigurations", + "type": "Microsoft.Sql/servers/disasterRecoveryConfigurations", "properties": { - "status": "Ready", - "autoFailover": "On", - "failoverPolicy": "Automatic", - "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", - "logicalServerName": "sqlcrudtest-5961", - "partnerLogicalServerName": "sqlcrudtest-5962", - "role": "Primary" + "status": "Ready", + "autoFailover": "On", + "failoverPolicy": "Automatic", + "partnerServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5962", + "logicalServerName": "sqlcrudtest-5961", + "partnerLogicalServerName": "sqlcrudtest-5962", + "role": "Primary" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolActivityList.json index 5d455ae22061..152c4d54ca0d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolActivityList.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMax.json index e921e47be0f4..65a7d7768693 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMax.json @@ -57,4 +57,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMin.json index 7cccc57336aa..e92c75fac58f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateMin.json @@ -48,4 +48,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json index e921e47be0f4..65a7d7768693 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json @@ -57,4 +57,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json index 7cccc57336aa..e92c75fac58f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json @@ -48,4 +48,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDatabaseActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDatabaseActivityList.json index 2e3d15e1694b..15abc8d9de56 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDatabaseActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDatabaseActivityList.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json index d3edd853cb5d..38d6232f13c0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolGet.json index 51b5b83459a8..9c4ba598cbd0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolGet.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolList.json index 9cb5801fa126..11e26884a548 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolList.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json index 3335f3c85c20..220545139a5b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json @@ -11,393 +11,393 @@ "200": { "body": { "value": [ - { - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + { + "name": { + "value": "cpu_percent", + "localizedValue": "CPU percentage" }, - { - "name": { - "value": "physical_data_read_percent", - "localizedValue": "Data IO percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "physical_data_read_percent", + "localizedValue": "Data IO percentage" }, - { - "name": { - "value": "log_write_percent", - "localizedValue": "Log IO percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "log_write_percent", + "localizedValue": "Log IO percentage" }, - { - "name": { - "value": "dtu_consumption_percent", - "localizedValue": "DTU percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_consumption_percent", + "localizedValue": "DTU percentage" }, - { - "name": { - "value": "storage", - "localizedValue": "Total database size" - }, - "unit": "Bytes", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Maximum", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "storage", + "localizedValue": "Total database size" }, - { - "name": { - "value": "xtp_storage_percent", - "localizedValue": "In-Memory OLTP storage percent" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT15S", - "retention": "PT1H" - }, - { - "timeGrain": "PT60S", - "retention": "PT1H" - }, - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Bytes", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Maximum", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "xtp_storage_percent", + "localizedValue": "In-Memory OLTP storage percent" }, - { - "name": { - "value": "workers_percent", - "localizedValue": "Workers percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT15S", + "retention": "PT1H" + }, + { + "timeGrain": "PT60S", + "retention": "PT1H" + }, + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "workers_percent", + "localizedValue": "Workers percentage" }, - { - "name": { - "value": "sessions_percent", - "localizedValue": "Sessions percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "sessions_percent", + "localizedValue": "Sessions percentage" + }, + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_limit", + "localizedValue": "DTU limit" }, - { - "name": { - "value": "dtu_limit", - "localizedValue": "DTU limit" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "dtu_used", + "localizedValue": "DTU used" }, - { - "name": { - "value": "dtu_used", - "localizedValue": "DTU used" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Average", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "connection_successful", + "localizedValue": "Successful Connections" }, - { - "name": { - "value": "connection_successful", - "localizedValue": "Successful Connections" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "connection_failed", + "localizedValue": "Failed Connections" }, - { - "name": { - "value": "connection_failed", - "localizedValue": "Failed Connections" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "blocked_by_firewall", + "localizedValue": "Blocked by Firewall" }, - { - "name": { - "value": "blocked_by_firewall", - "localizedValue": "Blocked by Firewall" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "deadlock", + "localizedValue": "Deadlocks" }, - { - "name": { - "value": "deadlock", - "localizedValue": "Deadlocks" - }, - "unit": "Count", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Total", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] + "unit": "Count", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + }, + { + "name": { + "value": "storage_percent", + "localizedValue": "Database size percentage" }, - { - "name": { - "value": "storage_percent", - "localizedValue": "Database size percentage" - }, - "unit": "Percent", - "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", - "primaryAggregationType": "Maximum", - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P14D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P14D" - } - ] - } + "unit": "Percent", + "resourceUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/databases/db1", + "primaryAggregationType": "Maximum", + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P14D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P14D" + } + ] + } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json index f3a670bd798d..d4f460c4d7b8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json @@ -11,44 +11,44 @@ "200": { "body": { "value": [ - { - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percentage" + { + "name": { + "value": "cpu_percent", + "localizedValue": "CPU percentage" + }, + "unit": "percent", + "timeGrain": "00:10:00", + "startTime": "2017-06-02T18:35:00Z", + "endTime": "2017-06-02T18:55:00Z", + "metricValues": [ + { + "timestamp": "2017-06-02T18:30:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 }, - "unit": "percent", - "timeGrain": "00:10:00", - "startTime": "2017-06-02T18:35:00Z", - "endTime": "2017-06-02T18:55:00Z", - "metricValues": [ - { - "timestamp": "2017-06-02T18:30:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - }, - { - "timestamp": "2017-06-02T18:40:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - }, - { - "timestamp": "2017-06-02T18:50:01Z", - "average": 0, - "minimum": 0, - "maximum": 0, - "total": 0, - "count": 1 - } - ] - } + { + "timestamp": "2017-06-02T18:40:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 + }, + { + "timestamp": "2017-06-02T18:50:01Z", + "average": 0, + "minimum": 0, + "maximum": 0, + "total": 0, + "count": 1 + } + ] + } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMax.json index 4bfa9ab16c7e..3e749fab97a6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMax.json @@ -38,4 +38,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMin.json index 48237ecbf04b..6e6e3bd0f761 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolUpdateMin.json @@ -5,8 +5,7 @@ "serverName": "sqlcrudtest-8069", "elasticPoolName": "sqlcrudtest-8102", "api-version": "2014-04-01", - "parameters": { - } + "parameters": {} }, "responses": { "200": { @@ -29,4 +28,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleCreate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleCreate.json index 013c284d09de..ac3fe7a49061 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleCreate.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json index ecd892fb9fcc..9e9dfec3ea10 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleGet.json index 64d0aa854341..5d5e9b05ca9c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleGet.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleList.json index 39618f867038..c5aba08c7bd9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleList.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleUpdate.json index c28a0bab1701..0cc5f7e6ef43 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleUpdate.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json index aa8ffdd7a4a4..de7ae5370d7c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json @@ -21,8 +21,8 @@ "location": null, "kind": null, "properties": { - "state": "Enabled", - "storageType": null + "state": "Enabled", + "storageType": null } } }, @@ -34,10 +34,10 @@ "location": null, "kind": null, "properties": { - "state": "Enabled", - "storageType": null + "state": "Enabled", + "storageType": null } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json index f4cabccb9e3b..dc3fa063be42 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json @@ -16,10 +16,10 @@ "location": "Central US", "kind": null, "properties": { - "state": "Enabled", - "storageType": "Premium" + "state": "Enabled", + "storageType": "Premium" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesList.json index 53ac1fd6f448..d858c6a23dd7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesList.json @@ -17,12 +17,12 @@ "location": "Central US", "kind": null, "properties": { - "state": "Enabled", - "storageType": "Premium" + "state": "Enabled", + "storageType": "Premium" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json index 7aff4dc79813..339eb067af4a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json @@ -1,1268 +1,1268 @@ { - "parameters": { - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "value": [ - { - "name": "Microsoft.Sql/servers/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Get server details", - "description": "Return a list of servers in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Create new or update existing server", - "description": "Create a new server or modify properties of existing server in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Delete existing server", - "description": "Delete a server and all contained databases and elastic pools" - } - }, - { - "name": "Microsoft.Sql/servers/import/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Create new database from DacPac", - "description": "Create a new database on the server and deploy schema and data from a DacPac package" - } - }, - { - "name": "Microsoft.Sql/servers/upgrade/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Upgrade server version", - "description": "Enable new functionality available on the latest version of server and specify databases edition conversion map" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Get server firewall rules", - "description": "Retrieve server firewall rule details" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Create new or update existing server firewall rule", - "description": "Create or update server firewall rule that controls IP address range allowed to connect to the server" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Delete server firewall rule", - "description": "Delete firewall rule from the server" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Get server administrator", - "description": "Retrieve server administrator details" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Create new or update existing server administrator", - "description": "Create or update server administrator" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Delete server administrator", - "description": "Delete server administrator from the server" - } - }, - { - "name": "Microsoft.Sql/servers/administratorOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator operation results", - "operation": "Get server administrator operation results", - "description": "Retrieve server administrator operation results" - } - }, - { - "name": "Microsoft.Sql/servers/serviceObjectives/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Service Level Objective", - "operation": "Get service level objectives", - "description": "Retrieve list of service level objectives (also known as performance tiers) available on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Restorable Dropped Database", - "operation": "Get list of restorable dropped databases", - "description": "Retrieve a list of databases that were dropped on a given server that are still within retention policy. This operation returns a list of databases and associated metadata, like date of deletion." - } - }, - { - "name": "Microsoft.Sql/servers/recoverableDatabases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recoverable Database", - "operation": "Get the last known database recovery point", - "description": "This operation is used for disaster recovery of live database to restore database to last-known good backup point. It returns information about the last good backup but it doesn't actually restore the database." - } - }, - { - "name": "Microsoft.Sql/servers/importExportOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Database Import Operation Result", - "operation": "Get details about database import operation on the server", - "description": "Return the list with details for database import operations from storage account on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Upgrade Operation Result", - "operation": "Get status of server upgrade operation", - "description": "Operation is used to track progress of server upgrade from lower version to higher" - } - }, - { - "name": "Microsoft.Sql/servers/operationResults/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Upgrade Operation Result", - "operation": "Cancel server upgrade", - "description": "Abort server version upgrade in progress" - } - }, - { - "name": "Microsoft.Sql/servers/usages/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Usage", - "operation": "Get server usage details", - "description": "Return server DTU quota and current DTU consumption by all databases within the server" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Database Pool", - "operation": "Get recommended elastic database pools", - "description": "Retrieve recommendation for elastic database pools to reduce cost or improve performance based on historical resource utilization" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Pool Databases", - "operation": "Get recommended elastic pools databases", - "description": "Retrieve databases that should be added into recommended elastic database pools for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Database Pool Metrics", - "operation": "Get recommended elastic database pools metrics", - "description": "Retrieve metrics for recommended elastic database pools for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Disaster Recovery Configuration Operation Results", - "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration", - "description": "Get Disaster Recovery Configuration Operation Results" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server advisor", - "operation": "Get advisors for a server", - "description": "Returns list of advisors available for the server" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server advisor", - "operation": "Update auto-execute status of a server advisor", - "description": "Updates auto-execute status of an advisor on server level." - } - }, - { - "name": "Microsoft.Sql/servers/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Returns list of recommended actions of specified advisor for the server", - "operation": "Get recommended actions of a server", - "description": "Returns list of recommended actions of specified advisor for the server" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Returns list of recommended actions of specified advisor for the server", - "operation": "Update server recommended action state.", - "description": "Apply the recommended action on the server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPoolEstimates/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool estimate", - "operation": "Get elastic pool estimates of a server", - "description": "Returns list of elastic pool estimates already created for this server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPoolEstimates/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool estimate", - "operation": "Create an elastic pool estimate.", - "description": "Creates new elastic pool estimate for list of databases provided" - } - }, - { - "name": "Microsoft.Sql/servers/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Get server details", - "description": "Return a list of servers in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/databases/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Create new or update existing server", - "description": "Create a new server or modify properties of existing server in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/databases/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Delete existing server", - "description": "Delete a server and all contained databases and elastic pools" - } - }, - { - "name": "Microsoft.Sql/servers/databases/export/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Create new database from DacPac", - "description": "Create a new database on the server and deploy schema and data from a DacPac package" - } - }, - { - "name": "Microsoft.Sql/servers/databases/usages/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Usage", - "operation": "Get database usage details", - "description": "Return database maximum size that can be reached and current size occupied by data" - } - }, - { - "name": "Microsoft.Sql/servers/databases/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Operation Result", - "operation": "Get status of database operation", - "description": "Operation is used to track progress of long running database operation, such as scale." - } - }, - { - "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Import/Export Operation Result", - "operation": "Get details about database import or export operation on the server", - "description": "Return details about database import or export operation from DacPac located in storage account" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Get database replication links", - "description": "Return details about replication links established for a particular database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Force-terminate the replication relationship", - "description": "Terminate the replication relationship forcefully and with potential data loss" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Terminate the replication relationship", - "description": "Terminate the replication relationship forcefully or after synchronizing with the partner" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Failover replication relationship after synchronizing", - "description": "Failover after synchronizing all changes from the primary, making this database into the replication relationship's primary and making the remote primary into a secondary" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Failover replication relationship immediately", - "description": "Failover immediately with potential data loss, making this database into the replication relationship's primary and making the remote primary into a secondary" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Update replication mode for link", - "description": "Update replication mode for link to synchronous or asynchronous mode" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Replication Link Operation Result", - "operation": "Get status of replication link operations", - "description": "Get status of long-running operations on database replication links" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Metric Definition", - "operation": "Get database metric definitions", - "description": "Return types of metrics that are available for databases" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "cpu_percent", - "displayName": "CPU percentage", - "displayDescription": "CPU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "physical_data_read_percent", - "displayName": "Data IO percentage", - "displayDescription": "Data IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "log_write_percent", - "displayName": "Log IO percentage", - "displayDescription": "Log IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dtu_consumption_percent", - "displayName": "DTU percentage", - "displayDescription": "DTU percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "storage", - "displayName": "Total database size", - "displayDescription": "Total database size", - "unit": "Bytes", - "aggregationType": "Maximum" - }, - { - "name": "connection_successful", - "displayName": "Successful Connections", - "displayDescription": "Successful Connections", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "connection_failed", - "displayName": "Failed Connections", - "displayDescription": "Failed Connections", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "blocked_by_firewall", - "displayName": "Blocked by Firewall", - "displayDescription": "Blocked by Firewall", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "deadlock", - "displayName": "Deadlocks", - "displayDescription": "Deadlocks", - "unit": "Count", - "aggregationType": "Total", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "storage_percent", - "displayName": "Database size percentage", - "displayDescription": "Database size percentage", - "unit": "Percent", - "aggregationType": "Maximum", - "metricFilterPattern": "^((?!datawarehouse).)*$" - }, - { - "name": "xtp_storage_percent", - "displayName": "In-Memory OLTP storage percent", - "displayDescription": "In-Memory OLTP storage percent", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "workers_percent", - "displayName": "Workers percentage", - "displayDescription": "Workers percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "sessions_percent", - "displayName": "Sessions percentage", - "displayDescription": "Sessions percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dtu_limit", - "displayName": "DTU Limit", - "displayDescription": "DTU Limit", - "unit": "Count", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$" - }, - { - "name": "dtu_used", - "displayName": "DTU used", - "displayDescription": "DTU used", - "unit": "Count", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dwu_limit", - "displayName": "DWU limit", - "displayDescription": "DWU limit", - "unit": "Count", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$" - }, - { - "name": "dwu_consumption_percent", - "displayName": "DWU percentage", - "displayDescription": "DWU percentage", - "unit": "Percent", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$", - "fillGapWithZero": true - }, - { - "name": "dwu_used", - "displayName": "DWU used", - "displayDescription": "DWU used", - "unit": "Count", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$", - "fillGapWithZero": true - } - ] - } - } - }, - { - "name": "Microsoft.Sql/servers/databases/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Metric", - "operation": "Get database resource consumption metrics", - "description": "Return database resource utilization metrics" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Diagnostic Settings", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Diagnostic Settings", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The log definition of databases", - "operation": "Read databases log definitions", - "description": "Gets the available logs for databases" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "QueryStore", - "displayName": "Query Store", - "blobDuration": "PT1H" - } - ] - } - } - }, - { - "name": "Microsoft.Sql/servers/databases/missingindexes/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Index Advisor", - "operation": "Get recommended database indexes", - "description": "Return suggestions about database indexes to create, modify or delete in order to improve query performance" - } - }, - { - "name": "Microsoft.Sql/servers/databases/missingindexes/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Index Advisor", - "operation": "Apply recommended database index", - "description": "Use database index recommendation in a particular database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Index", - "operation": "Get list of index recommendations", - "description": "Retrieve list of index recommendations on a database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Index", - "operation": "Update Recommended Index State", - "description": "Apply index recommendation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database table column", - "operation": "Get columns", - "description": "Retrieve list of columns of a table" - } - }, - { - "name": "Microsoft.Sql/servers/databases/queryStore/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Query Store settings", - "operation": "Get Query Store settings", - "description": "Returns current values of Query Store settings for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/queryStore/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Query Store settings", - "operation": "Update Query Store settings", - "description": "Updates Query Store setting for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries", - "operation": "Get Top Queries for the database", - "description": "Returns aggregated runtime statistics for selected query in selected time period" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries Statistics", - "operation": "Get Database Top Queries statistics", - "description": "Returns aggregated runtime statistics for selected query in selected time period" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries query text", - "operation": "Get Database Top Queries query text", - "description": "Returns the Transact-SQL text for selected query ID" - } - }, - { - "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Service Tier Advisor", - "operation": "Get recommended database performance level", - "description": "Return suggestion about scaling database up or down based on query execution statistics to improve performance or reduce cost" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Get database transparent data encryption details", - "description": "Retrieve status and details of transparent data encryption security feature for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Change transparent data encryption state", - "description": "Enable or disable transparent data encryption for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Get database transparent data encryption details", - "description": "Retrieve status and details of transparent data encryption security feature for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Table Auditing Policy", - "operation": "Get database table auditing policy", - "description": "Retrieve details of the table auditing policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Table Auditing Policy", - "operation": "Set database table auditing policy", - "description": "Change the table auditing policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/auditingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Default Server Table Auditing Policy", - "operation": "Get default server table auditing policy", - "description": "Retrieve details of the default server table auditing policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Default Server Table Auditing Policy", - "operation": "Set default server table auditing policy", - "description": "Change the default server table auditing for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Auditing Policy", - "operation": "Get database blob auditing policy", - "description": "Retrieve details of the blob auditing policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Auditing Policy", - "operation": "Set database blob auditing policy", - "description": "Change the blob auditing policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Policy", - "operation": "Get server blob auditing policy", - "description": "Retrieve details of the server blob auditing policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Policy", - "operation": "Set server blob auditing policy", - "description": "Change the server blob auditing for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Operation Results", - "operation": "Get server blob auditing operation results", - "description": "Retrieve result of the server blob auditing policy Set operation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditRecords/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Audit Records", - "operation": "Get database blob audit records", - "description": "Retrieve the database blob audit records" - } - }, - { - "name": "Microsoft.Sql/servers/databases/connectionPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Connection Policy", - "operation": "Get database connection policy", - "description": "Retrieve details of the connection policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/connectionPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Connection Policy", - "operation": "Set database connection policy", - "description": "Change connection policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy", - "operation": "Get database data masking policy", - "description": "Retrieve details of the data masking policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy", - "operation": "Set database data masking policy", - "description": "Change data masking policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy Rule", - "operation": "Get database data masking policy rule", - "description": "Retrieve details of the data masking policy rule configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy Rule", - "operation": "Set database data masking policy rule", - "description": "Change data masking policy rule for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Threat Detection Policy", - "operation": "Get database threat detection policy", - "description": "Retrieve details of the threat detection policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Threat Detection Policy", - "operation": "Set threat detection auditing policy", - "description": "Change the threat detection policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Policy", - "operation": "Get server threat detection policy", - "description": "Retrieve details of the server threat detection policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Policy", - "operation": "Set server threat detection policy", - "description": "Change the server threat detection for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Operation Results", - "operation": "Get server Threat Detection operation results", - "description": "Retrieve results of the server Threat Detection policy Set operation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Vulnerability Assessment Database Scan", - "operation": "Execute vulnerability assessment database scan", - "description": "Execute vulnerability assessment database scan." - } - }, - { - "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Vulnerability Assessment Server Scan", - "operation": "Execute vulnerability assessment server scan", - "description": "Execute vulnerability assessment server scan" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database advisor", - "operation": "Get advisors for a database", - "description": "Returns list of advisors available for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database advisor", - "operation": "Update auto-execute status of a database advisor", - "description": "Update auto-execute status of an advisor on database level." - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database recommended action", - "operation": "Get recommended actions for a database", - "description": "Returns list of recommended actions of specified advisor for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database recommended action", - "operation": "Update database recommended action state.", - "description": "Apply the recommended action on the database" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Get elastic database pool details", - "description": "Retrieve details of elastic database pool on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Create new or update existing elastic database pool", - "description": "Create a new or change properties of existing elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Delete elastic database pool", - "description": "Delete existing elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Get elastic pool databases", - "description": "Retrieve list and details of databases that are part of elastic database pool on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Activity", - "operation": "Get elastic database pool activity", - "description": "Retrieve activities and details on a given elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Pool Database Activity", - "operation": "Get elastic pool database activity", - "description": "Retrieve activities and details on a given database that is part of elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Metric Definition", - "operation": "Get elastic pool metric definitions", - "description": "Return types of metrics that are available for elastic database pools" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "cpu_percent", - "displayName": "CPU percentage", - "displayDescription": "CPU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "physical_data_read_percent", - "displayName": "Data IO percentage", - "displayDescription": "Data IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "log_write_percent", - "displayName": "Log IO percentage", - "displayDescription": "Log IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "dtu_consumption_percent", - "displayName": "DTU percentage", - "displayDescription": "DTU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "storage_percent", - "displayName": "Storage percentage", - "displayDescription": "Storage percentage", - "unit": "Percent", - "aggregationType": "Average" - }, - { - "name": "workers_percent", - "displayName": "Workers percentage", - "displayDescription": "Workers percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "sessions_percent", - "displayName": "Sessions percentage", - "displayDescription": "Sessions percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "eDTU_limit", - "displayName": "eDTU limit", - "displayDescription": "eDTU limit", - "unit": "Count", - "aggregationType": "Average" - }, - { - "name": "storage_limit", - "displayName": "Storage limit", - "displayDescription": "Storage limit", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "eDTU_used", - "displayName": "eDTU used", - "displayDescription": "eDTU used", - "unit": "Count", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "storage_used", - "displayName": "Storage used", - "displayDescription": "Storage used", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "xtp_storage_percent", - "displayName": "In-Memory OLTP storage percent", - "displayDescription": "In-Memory OLTP storage percent", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - } - ] - } - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Metric", - "operation": "Get elastic pool resource consumption metrics", - "description": "Return elastic database pool resource utilization metrics" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Operation Result", - "operation": "Get elastic database pool operation result", - "description": "Retrieve details on a given elastic database pool operation" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool advisor", - "operation": "Get advisors for an elastic pool", - "description": "Returns list of advisors available for the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool advisor", - "operation": "Update auto-execute status of a elastic pool advisor", - "description": "Update auto-execute status of an advisor on elastic pool level." - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool recommended action", - "operation": "Get recommended actions for an elastic pool", - "description": "Returns list of recommended actions of specified advisor for the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool recommended action", - "operation": "Update elastic pool recommended action state.", - "description": "Apply the recommended action on the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Diagnostic Settings", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Diagnostic Settings", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/pause/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Pause a database", - "description": "Pause a DataWarehouse edition database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/resume/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Resume a database", - "description": "Resume a DataWarehouse edition database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Data Warehouse Query", - "operation": "Get details about data warehouse query", - "description": "Returns the data warehouse distribution query information for selected query ID" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Data Warehouse Query Step", - "operation": "Get details about data warehouse query step", - "description": "Returns the distributed query step information of data warehouse query for selected step ID" - } - }, - { - "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "A backup long term retention vault", - "operation": "Read a backup long term retention vault", - "description": "This operation is used to get a backup long term retention vault. It returns information about the vault registered to this server." - } - }, - { - "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "A backup long term retention vault", - "operation": "This operation is used to register a backup long term retention vault to a server.", - "description": "Register a backup long term retention vault" - } + "parameters": { + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "value": [ + { + "name": "Microsoft.Sql/servers/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Get server details", + "description": "Return a list of servers in a resource group on a subscription" + } + }, + { + "name": "Microsoft.Sql/servers/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Create new or update existing server", + "description": "Create a new server or modify properties of existing server in a resource group on a subscription" + } + }, + { + "name": "Microsoft.Sql/servers/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Delete existing server", + "description": "Delete a server and all contained databases and elastic pools" + } + }, + { + "name": "Microsoft.Sql/servers/import/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Create new database from DacPac", + "description": "Create a new database on the server and deploy schema and data from a DacPac package" + } + }, + { + "name": "Microsoft.Sql/servers/upgrade/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Upgrade server version", + "description": "Enable new functionality available on the latest version of server and specify databases edition conversion map" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Get server firewall rules", + "description": "Retrieve server firewall rule details" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Create new or update existing server firewall rule", + "description": "Create or update server firewall rule that controls IP address range allowed to connect to the server" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Delete server firewall rule", + "description": "Delete firewall rule from the server" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Get server administrator", + "description": "Retrieve server administrator details" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Create new or update existing server administrator", + "description": "Create or update server administrator" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Delete server administrator", + "description": "Delete server administrator from the server" + } + }, + { + "name": "Microsoft.Sql/servers/administratorOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator operation results", + "operation": "Get server administrator operation results", + "description": "Retrieve server administrator operation results" + } + }, + { + "name": "Microsoft.Sql/servers/serviceObjectives/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Service Level Objective", + "operation": "Get service level objectives", + "description": "Retrieve list of service level objectives (also known as performance tiers) available on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Restorable Dropped Database", + "operation": "Get list of restorable dropped databases", + "description": "Retrieve a list of databases that were dropped on a given server that are still within retention policy. This operation returns a list of databases and associated metadata, like date of deletion." + } + }, + { + "name": "Microsoft.Sql/servers/recoverableDatabases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recoverable Database", + "operation": "Get the last known database recovery point", + "description": "This operation is used for disaster recovery of live database to restore database to last-known good backup point. It returns information about the last good backup but it doesn't actually restore the database." + } + }, + { + "name": "Microsoft.Sql/servers/importExportOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Database Import Operation Result", + "operation": "Get details about database import operation on the server", + "description": "Return the list with details for database import operations from storage account on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Upgrade Operation Result", + "operation": "Get status of server upgrade operation", + "description": "Operation is used to track progress of server upgrade from lower version to higher" + } + }, + { + "name": "Microsoft.Sql/servers/operationResults/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Upgrade Operation Result", + "operation": "Cancel server upgrade", + "description": "Abort server version upgrade in progress" + } + }, + { + "name": "Microsoft.Sql/servers/usages/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Usage", + "operation": "Get server usage details", + "description": "Return server DTU quota and current DTU consumption by all databases within the server" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Database Pool", + "operation": "Get recommended elastic database pools", + "description": "Retrieve recommendation for elastic database pools to reduce cost or improve performance based on historical resource utilization" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Pool Databases", + "operation": "Get recommended elastic pools databases", + "description": "Retrieve databases that should be added into recommended elastic database pools for a given server" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Database Pool Metrics", + "operation": "Get recommended elastic database pools metrics", + "description": "Retrieve metrics for recommended elastic database pools for a given server" + } + }, + { + "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Disaster Recovery Configuration Operation Results", + "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration", + "description": "Get Disaster Recovery Configuration Operation Results" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server advisor", + "operation": "Get advisors for a server", + "description": "Returns list of advisors available for the server" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server advisor", + "operation": "Update auto-execute status of a server advisor", + "description": "Updates auto-execute status of an advisor on server level." + } + }, + { + "name": "Microsoft.Sql/servers/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Returns list of recommended actions of specified advisor for the server", + "operation": "Get recommended actions of a server", + "description": "Returns list of recommended actions of specified advisor for the server" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Returns list of recommended actions of specified advisor for the server", + "operation": "Update server recommended action state.", + "description": "Apply the recommended action on the server" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPoolEstimates/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool estimate", + "operation": "Get elastic pool estimates of a server", + "description": "Returns list of elastic pool estimates already created for this server" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPoolEstimates/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool estimate", + "operation": "Create an elastic pool estimate.", + "description": "Creates new elastic pool estimate for list of databases provided" + } + }, + { + "name": "Microsoft.Sql/servers/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Get server details", + "description": "Return a list of servers in a resource group on a subscription" + } + }, + { + "name": "Microsoft.Sql/servers/databases/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Create new or update existing server", + "description": "Create a new server or modify properties of existing server in a resource group on a subscription" + } + }, + { + "name": "Microsoft.Sql/servers/databases/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Delete existing server", + "description": "Delete a server and all contained databases and elastic pools" + } + }, + { + "name": "Microsoft.Sql/servers/databases/export/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Create new database from DacPac", + "description": "Create a new database on the server and deploy schema and data from a DacPac package" + } + }, + { + "name": "Microsoft.Sql/servers/databases/usages/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Usage", + "operation": "Get database usage details", + "description": "Return database maximum size that can be reached and current size occupied by data" + } + }, + { + "name": "Microsoft.Sql/servers/databases/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Operation Result", + "operation": "Get status of database operation", + "description": "Operation is used to track progress of long running database operation, such as scale." + } + }, + { + "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Import/Export Operation Result", + "operation": "Get details about database import or export operation on the server", + "description": "Return details about database import or export operation from DacPac located in storage account" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Get database replication links", + "description": "Return details about replication links established for a particular database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Force-terminate the replication relationship", + "description": "Terminate the replication relationship forcefully and with potential data loss" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Terminate the replication relationship", + "description": "Terminate the replication relationship forcefully or after synchronizing with the partner" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Failover replication relationship after synchronizing", + "description": "Failover after synchronizing all changes from the primary, making this database into the replication relationship's primary and making the remote primary into a secondary" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Failover replication relationship immediately", + "description": "Failover immediately with potential data loss, making this database into the replication relationship's primary and making the remote primary into a secondary" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Update replication mode for link", + "description": "Update replication mode for link to synchronous or asynchronous mode" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Replication Link Operation Result", + "operation": "Get status of replication link operations", + "description": "Get status of long-running operations on database replication links" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Metric Definition", + "operation": "Get database metric definitions", + "description": "Return types of metrics that are available for databases" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percentage", + "displayDescription": "CPU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "physical_data_read_percent", + "displayName": "Data IO percentage", + "displayDescription": "Data IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "log_write_percent", + "displayName": "Log IO percentage", + "displayDescription": "Log IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dtu_consumption_percent", + "displayName": "DTU percentage", + "displayDescription": "DTU percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "storage", + "displayName": "Total database size", + "displayDescription": "Total database size", + "unit": "Bytes", + "aggregationType": "Maximum" + }, + { + "name": "connection_successful", + "displayName": "Successful Connections", + "displayDescription": "Successful Connections", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "connection_failed", + "displayName": "Failed Connections", + "displayDescription": "Failed Connections", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "blocked_by_firewall", + "displayName": "Blocked by Firewall", + "displayDescription": "Blocked by Firewall", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "deadlock", + "displayName": "Deadlocks", + "displayDescription": "Deadlocks", + "unit": "Count", + "aggregationType": "Total", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Database size percentage", + "displayDescription": "Database size percentage", + "unit": "Percent", + "aggregationType": "Maximum", + "metricFilterPattern": "^((?!datawarehouse).)*$" + }, + { + "name": "xtp_storage_percent", + "displayName": "In-Memory OLTP storage percent", + "displayDescription": "In-Memory OLTP storage percent", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "workers_percent", + "displayName": "Workers percentage", + "displayDescription": "Workers percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "sessions_percent", + "displayName": "Sessions percentage", + "displayDescription": "Sessions percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dtu_limit", + "displayName": "DTU Limit", + "displayDescription": "DTU Limit", + "unit": "Count", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$" + }, + { + "name": "dtu_used", + "displayName": "DTU used", + "displayDescription": "DTU used", + "unit": "Count", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dwu_limit", + "displayName": "DWU limit", + "displayDescription": "DWU limit", + "unit": "Count", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$" + }, + { + "name": "dwu_consumption_percent", + "displayName": "DWU percentage", + "displayDescription": "DWU percentage", + "unit": "Percent", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$", + "fillGapWithZero": true + }, + { + "name": "dwu_used", + "displayName": "DWU used", + "displayDescription": "DWU used", + "unit": "Count", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$", + "fillGapWithZero": true + } + ] } - ] - } - } -} \ No newline at end of file + } + }, + { + "name": "Microsoft.Sql/servers/databases/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Metric", + "operation": "Get database resource consumption metrics", + "description": "Return database resource utilization metrics" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Diagnostic Settings", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Diagnostic Settings", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The log definition of databases", + "operation": "Read databases log definitions", + "description": "Gets the available logs for databases" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "QueryStore", + "displayName": "Query Store", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Sql/servers/databases/missingindexes/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Index Advisor", + "operation": "Get recommended database indexes", + "description": "Return suggestions about database indexes to create, modify or delete in order to improve query performance" + } + }, + { + "name": "Microsoft.Sql/servers/databases/missingindexes/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Index Advisor", + "operation": "Apply recommended database index", + "description": "Use database index recommendation in a particular database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Index", + "operation": "Get list of index recommendations", + "description": "Retrieve list of index recommendations on a database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Index", + "operation": "Update Recommended Index State", + "description": "Apply index recommendation" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database table column", + "operation": "Get columns", + "description": "Retrieve list of columns of a table" + } + }, + { + "name": "Microsoft.Sql/servers/databases/queryStore/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Query Store settings", + "operation": "Get Query Store settings", + "description": "Returns current values of Query Store settings for the database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/queryStore/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Query Store settings", + "operation": "Update Query Store settings", + "description": "Updates Query Store setting for the database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries", + "operation": "Get Top Queries for the database", + "description": "Returns aggregated runtime statistics for selected query in selected time period" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries Statistics", + "operation": "Get Database Top Queries statistics", + "description": "Returns aggregated runtime statistics for selected query in selected time period" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries query text", + "operation": "Get Database Top Queries query text", + "description": "Returns the Transact-SQL text for selected query ID" + } + }, + { + "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Service Tier Advisor", + "operation": "Get recommended database performance level", + "description": "Return suggestion about scaling database up or down based on query execution statistics to improve performance or reduce cost" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Get database transparent data encryption details", + "description": "Retrieve status and details of transparent data encryption security feature for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Change transparent data encryption state", + "description": "Enable or disable transparent data encryption for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Get database transparent data encryption details", + "description": "Retrieve status and details of transparent data encryption security feature for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Table Auditing Policy", + "operation": "Get database table auditing policy", + "description": "Retrieve details of the table auditing policy configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Table Auditing Policy", + "operation": "Set database table auditing policy", + "description": "Change the table auditing policy for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/auditingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Default Server Table Auditing Policy", + "operation": "Get default server table auditing policy", + "description": "Retrieve details of the default server table auditing policy configured on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/auditingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Default Server Table Auditing Policy", + "operation": "Set default server table auditing policy", + "description": "Change the default server table auditing for a given server" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Auditing Policy", + "operation": "Get database blob auditing policy", + "description": "Retrieve details of the blob auditing policy configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Auditing Policy", + "operation": "Set database blob auditing policy", + "description": "Change the blob auditing policy for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Policy", + "operation": "Get server blob auditing policy", + "description": "Retrieve details of the server blob auditing policy configured on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Policy", + "operation": "Set server blob auditing policy", + "description": "Change the server blob auditing for a given server" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Operation Results", + "operation": "Get server blob auditing operation results", + "description": "Retrieve result of the server blob auditing policy Set operation" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditRecords/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Audit Records", + "operation": "Get database blob audit records", + "description": "Retrieve the database blob audit records" + } + }, + { + "name": "Microsoft.Sql/servers/databases/connectionPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Connection Policy", + "operation": "Get database connection policy", + "description": "Retrieve details of the connection policy configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/connectionPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Connection Policy", + "operation": "Set database connection policy", + "description": "Change connection policy for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy", + "operation": "Get database data masking policy", + "description": "Retrieve details of the data masking policy configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy", + "operation": "Set database data masking policy", + "description": "Change data masking policy for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy Rule", + "operation": "Get database data masking policy rule", + "description": "Retrieve details of the data masking policy rule configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy Rule", + "operation": "Set database data masking policy rule", + "description": "Change data masking policy rule for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Threat Detection Policy", + "operation": "Get database threat detection policy", + "description": "Retrieve details of the threat detection policy configured on a given database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Threat Detection Policy", + "operation": "Set threat detection auditing policy", + "description": "Change the threat detection policy for a given database" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Policy", + "operation": "Get server threat detection policy", + "description": "Retrieve details of the server threat detection policy configured on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Policy", + "operation": "Set server threat detection policy", + "description": "Change the server threat detection for a given server" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Operation Results", + "operation": "Get server Threat Detection operation results", + "description": "Retrieve results of the server Threat Detection policy Set operation" + } + }, + { + "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Vulnerability Assessment Database Scan", + "operation": "Execute vulnerability assessment database scan", + "description": "Execute vulnerability assessment database scan." + } + }, + { + "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Vulnerability Assessment Server Scan", + "operation": "Execute vulnerability assessment server scan", + "description": "Execute vulnerability assessment server scan" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database advisor", + "operation": "Get advisors for a database", + "description": "Returns list of advisors available for the database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database advisor", + "operation": "Update auto-execute status of a database advisor", + "description": "Update auto-execute status of an advisor on database level." + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database recommended action", + "operation": "Get recommended actions for a database", + "description": "Returns list of recommended actions of specified advisor for the database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database recommended action", + "operation": "Update database recommended action state.", + "description": "Apply the recommended action on the database" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Get elastic database pool details", + "description": "Retrieve details of elastic database pool on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Create new or update existing elastic database pool", + "description": "Create a new or change properties of existing elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Delete elastic database pool", + "description": "Delete existing elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Get elastic pool databases", + "description": "Retrieve list and details of databases that are part of elastic database pool on a given server" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Activity", + "operation": "Get elastic database pool activity", + "description": "Retrieve activities and details on a given elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Pool Database Activity", + "operation": "Get elastic pool database activity", + "description": "Retrieve activities and details on a given database that is part of elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Metric Definition", + "operation": "Get elastic pool metric definitions", + "description": "Return types of metrics that are available for elastic database pools" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percentage", + "displayDescription": "CPU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "physical_data_read_percent", + "displayName": "Data IO percentage", + "displayDescription": "Data IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "log_write_percent", + "displayName": "Log IO percentage", + "displayDescription": "Log IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "dtu_consumption_percent", + "displayName": "DTU percentage", + "displayDescription": "DTU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Storage percentage", + "displayDescription": "Storage percentage", + "unit": "Percent", + "aggregationType": "Average" + }, + { + "name": "workers_percent", + "displayName": "Workers percentage", + "displayDescription": "Workers percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "sessions_percent", + "displayName": "Sessions percentage", + "displayDescription": "Sessions percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "eDTU_limit", + "displayName": "eDTU limit", + "displayDescription": "eDTU limit", + "unit": "Count", + "aggregationType": "Average" + }, + { + "name": "storage_limit", + "displayName": "Storage limit", + "displayDescription": "Storage limit", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "eDTU_used", + "displayName": "eDTU used", + "displayDescription": "eDTU used", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_used", + "displayName": "Storage used", + "displayDescription": "Storage used", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "xtp_storage_percent", + "displayName": "In-Memory OLTP storage percent", + "displayDescription": "In-Memory OLTP storage percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + } + ] + } + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Metric", + "operation": "Get elastic pool resource consumption metrics", + "description": "Return elastic database pool resource utilization metrics" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Operation Result", + "operation": "Get elastic database pool operation result", + "description": "Retrieve details on a given elastic database pool operation" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool advisor", + "operation": "Get advisors for an elastic pool", + "description": "Returns list of advisors available for the elastic pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool advisor", + "operation": "Update auto-execute status of a elastic pool advisor", + "description": "Update auto-execute status of an advisor on elastic pool level." + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool recommended action", + "operation": "Get recommended actions for an elastic pool", + "description": "Returns list of recommended actions of specified advisor for the elastic pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool recommended action", + "operation": "Update elastic pool recommended action state.", + "description": "Apply the recommended action on the elastic pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Diagnostic Settings", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Diagnostic Settings", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + } + }, + { + "name": "Microsoft.Sql/servers/databases/pause/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Pause a database", + "description": "Pause a DataWarehouse edition database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/resume/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Resume a database", + "description": "Resume a DataWarehouse edition database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Data Warehouse Query", + "operation": "Get details about data warehouse query", + "description": "Returns the data warehouse distribution query information for selected query ID" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Data Warehouse Query Step", + "operation": "Get details about data warehouse query step", + "description": "Returns the distributed query step information of data warehouse query for selected step ID" + } + }, + { + "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "A backup long term retention vault", + "operation": "Read a backup long term retention vault", + "description": "This operation is used to get a backup long term retention vault. It returns information about the vault registered to this server." + } + }, + { + "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "A backup long term retention vault", + "operation": "This operation is used to register a backup long term retention vault to a server.", + "description": "Register a backup long term retention vault" + } + } + ] + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json index 97bdd4c1f703..6e2a1d6b3da8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json @@ -1,60 +1,60 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"sqlcrudtest", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "sqlcrudtest", "databaseName": "db1", - "api-version":"2014-04-01" + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "value":[ + "responses": { + "200": { + "value": [ { - "type":"Microsoft.Sql/servers/databases/topQueries", - "numberOfTopQueries":1, - "aggregationFunction":"sum", - "executionType":"any", - "observedMetric":"cpu", - "observationStartTime":"2017-07-11T16:21:54.0916567Z", - "observationEndTime":"2017-07-12T16:21:54.0916567Z", - "intervalType":"PT1H", - "queries":[ + "type": "Microsoft.Sql/servers/databases/topQueries", + "numberOfTopQueries": 1, + "aggregationFunction": "sum", + "executionType": "any", + "observedMetric": "cpu", + "observationStartTime": "2017-07-11T16:21:54.0916567Z", + "observationEndTime": "2017-07-12T16:21:54.0916567Z", + "intervalType": "PT1H", + "queries": [ { - "queryId":"19", - "intervals":[ + "queryId": "19", + "intervals": [ { - "intervalStartTime":"2017-07-11T16:00:00", - "executionCount":12, - "metrics":[ + "intervalStartTime": "2017-07-11T16:00:00", + "executionCount": 12, + "metrics": [ { - "name":"cpu", - "displayName":"Cpu", - "unit":"percentage", - "value":0.000763888888888889 + "name": "cpu", + "displayName": "Cpu", + "unit": "percentage", + "value": 0.000763888888888889 }, { - "name":"io", - "displayName":"Physical Io Reads", - "unit":"percentage", - "value":0.0 + "name": "io", + "displayName": "Physical Io Reads", + "unit": "percentage", + "value": 0.0 }, { - "name":"logIo", - "displayName":"Log Writes", - "unit":"percentage", - "value":0.0 + "name": "logIo", + "displayName": "Log Writes", + "unit": "percentage", + "value": 0.0 }, { - "name":"memory", - "displayName":"Memory consumption", - "unit":"KB", - "value":0.0 + "name": "memory", + "displayName": "Memory consumption", + "unit": "KB", + "value": 0.0 }, { - "name":"duration", - "displayName":"Query duration", - "unit":"microseconds", - "value":3308.0 + "name": "duration", + "displayName": "Query duration", + "unit": "microseconds", + "value": 3308.0 } ] } @@ -65,4 +65,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json index f7cfeb5a4eb7..d9d9174294a2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json @@ -1,51 +1,51 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"sqlcrudtest", - "databaseName":"db1", - "queryId":"19", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "sqlcrudtest", + "databaseName": "db1", + "queryId": "19", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "value":[ + "responses": { + "200": { + "value": [ { - "queryId":"19", - "intervals":[ + "queryId": "19", + "intervals": [ { - "intervalStartTime":"2017-07-11T16:00:00", - "executionCount":12, - "metrics":[ + "intervalStartTime": "2017-07-11T16:00:00", + "executionCount": 12, + "metrics": [ { - "name":"cpu", - "displayName":"Cpu", - "unit":"percentage", - "value":0.000763888888888889 + "name": "cpu", + "displayName": "Cpu", + "unit": "percentage", + "value": 0.000763888888888889 }, { - "name":"io", - "displayName":"Physical Io Reads", - "unit":"percentage", - "value":0.0 + "name": "io", + "displayName": "Physical Io Reads", + "unit": "percentage", + "value": 0.0 }, { - "name":"logIo", - "displayName":"Log Writes", - "unit":"percentage", - "value":0.0 + "name": "logIo", + "displayName": "Log Writes", + "unit": "percentage", + "value": 0.0 }, { - "name":"memory", - "displayName":"Memory consumption", - "unit":"KB", - "value":0.0 + "name": "memory", + "displayName": "Memory consumption", + "unit": "KB", + "value": 0.0 }, { - "name":"duration", - "displayName":"Query duration", - "unit":"microseconds", - "value":3308.0 + "name": "duration", + "displayName": "Query duration", + "unit": "microseconds", + "value": 3308.0 } ] } @@ -54,4 +54,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json index f7589086e232..2b3f3dca7bee 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json @@ -1,21 +1,21 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"group1", - "serverName":"sqlcrudtest", - "databaseName":"db1", - "queryId":"19", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "sqlcrudtest", + "databaseName": "db1", + "queryId": "19", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "value":[ + "responses": { + "200": { + "value": [ { - "name":"current", - "queryText":"select 1", - "type":"Microsoft.Sql/servers/databases/topQueries/queryText" + "name": "current", + "queryText": "select 1", + "type": "Microsoft.Sql/servers/databases/topQueries/queryText" } ] } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolGet.json index 6e48b00be876..1df27a2ecb93 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolGet.json @@ -1,49 +1,47 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "recommendedElasticPoolName":"ElasticPool1", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "recommendedElasticPoolName": "ElasticPool1", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", - "name":"ElasticPool1", - "type":"Microsoft.Sql/servers/recommendedElasticPools", - "properties":{ - "databaseEdition":"Standard", - "dtu":1000.0, - "databaseDtuMin":100.6, - "databaseDtuMax":200.5, - "storageMB":1000.3, - "observationPeriodStart":"2014-11-01T00:00:00Z", - "observationPeriodEnd":"2014-11-15T00:00:00Z", - "maxObservedDtu":900.2, - "maxObservedStorageMB":350.0, - "databases":[ - - ], - "metrics":[ + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", + "name": "ElasticPool1", + "type": "Microsoft.Sql/servers/recommendedElasticPools", + "properties": { + "databaseEdition": "Standard", + "dtu": 1000.0, + "databaseDtuMin": 100.6, + "databaseDtuMax": 200.5, + "storageMB": 1000.3, + "observationPeriodStart": "2014-11-01T00:00:00Z", + "observationPeriodEnd": "2014-11-15T00:00:00Z", + "maxObservedDtu": 900.2, + "maxObservedStorageMB": 350.0, + "databases": [], + "metrics": [ { - "dateTime":"2015-04-01T00:00:00Z", - "dtu":100.5, - "sizeGB":15.4 + "dateTime": "2015-04-01T00:00:00Z", + "dtu": 100.5, + "sizeGB": 15.4 }, { - "dateTime":"2015-04-02T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-02T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 }, { - "dateTime":"2015-04-03T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-03T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 } ] } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolList.json index 44e84738e5e4..e5b2ddddf922 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolList.json @@ -1,87 +1,85 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", - "name":"ElasticPool1", - "type":"Microsoft.Sql/servers/recommendedElasticPools", - "properties":{ - "databaseEdition":"Standard", - "dtu":1000.0, - "databaseDtuMin":100.6, - "databaseDtuMax":200.5, - "storageMB":1000.3, - "observationPeriodStart":"2014-11-01T00:00:00Z", - "observationPeriodEnd":"2014-11-15T00:00:00Z", - "maxObservedDtu":900.2, - "maxObservedStorageMB":350.0, - "databases":[ - - ], - "metrics":[ + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", + "name": "ElasticPool1", + "type": "Microsoft.Sql/servers/recommendedElasticPools", + "properties": { + "databaseEdition": "Standard", + "dtu": 1000.0, + "databaseDtuMin": 100.6, + "databaseDtuMax": 200.5, + "storageMB": 1000.3, + "observationPeriodStart": "2014-11-01T00:00:00Z", + "observationPeriodEnd": "2014-11-15T00:00:00Z", + "maxObservedDtu": 900.2, + "maxObservedStorageMB": 350.0, + "databases": [], + "metrics": [ { - "dateTime":"2015-04-01T00:00:00Z", - "dtu":100.5, - "sizeGB":15.4 + "dateTime": "2015-04-01T00:00:00Z", + "dtu": 100.5, + "sizeGB": 15.4 }, { - "dateTime":"2015-04-02T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-02T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 }, { - "dateTime":"2015-04-03T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-03T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 } ] } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool2", - "name":"ElasticPool2", - "type":"Microsoft.Sql/servers/recommendedElasticPools", - "properties":{ - "databaseEdition":"Standard", - "dtu":1000.0, - "databaseDtuMin":100.0, - "databaseDtuMax":200.0, - "storageMB":1000.0, - "observationPeriodStart":"2014-11-01T00:00:00Z", - "observationPeriodEnd":"2014-11-15T00:00:00Z", - "maxObservedDtu":450.0, - "maxObservedStorageMB":900.0, - "databases":[ + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool2", + "name": "ElasticPool2", + "type": "Microsoft.Sql/servers/recommendedElasticPools", + "properties": { + "databaseEdition": "Standard", + "dtu": 1000.0, + "databaseDtuMin": 100.0, + "databaseDtuMax": 200.0, + "storageMB": 1000.0, + "observationPeriodStart": "2014-11-01T00:00:00Z", + "observationPeriodEnd": "2014-11-15T00:00:00Z", + "maxObservedDtu": 450.0, + "maxObservedStorageMB": 900.0, + "databases": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/master", - "name":"master", - "type":"Microsoft.Sql/servers/databases", - "location":"Southeast Asia", - "properties":{ - "databaseId":"28acaef5-d228-4660-bb67-546ec8482496", - "edition":"System", - "status":"Online", - "serviceLevelObjective":"System2", - "collation":"SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes":"5368709120", - "creationDate":"2015-04-17T08:36:48.237Z", - "currentServiceObjectiveId":"620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "requestedServiceObjectiveId":"620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "requestedServiceObjectiveName":null, - "createMode":null, - "sourceDatabaseId":null, - "defaultSecondaryLocation":"Japan East", - "earliestRestoreDate":null, - "restorePointInTime":null, - "sourceDatabaseDeletionDate":null + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/master", + "name": "master", + "type": "Microsoft.Sql/servers/databases", + "location": "Southeast Asia", + "properties": { + "databaseId": "28acaef5-d228-4660-bb67-546ec8482496", + "edition": "System", + "status": "Online", + "serviceLevelObjective": "System2", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": "5368709120", + "creationDate": "2015-04-17T08:36:48.237Z", + "currentServiceObjectiveId": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "requestedServiceObjectiveId": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "requestedServiceObjectiveName": null, + "createMode": null, + "sourceDatabaseId": null, + "defaultSecondaryLocation": "Japan East", + "earliestRestoreDate": null, + "restorePointInTime": null, + "sourceDatabaseDeletionDate": null } } ] @@ -91,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListDecoupled.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListDecoupled.json index 6927e13acc3c..8cd8a09a88ff 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListDecoupled.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListDecoupled.json @@ -1,70 +1,68 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", - "name":"ElasticPool1", - "type":"Microsoft.Sql/servers/recommendedElasticPools", - "properties":{ - "databaseEdition":"Standard", - "dtu":1000.0, - "databaseDtuMin":100.6, - "databaseDtuMax":200.5, - "storageMB":1000.3, - "observationPeriodStart":"2014-11-01T00:00:00Z", - "observationPeriodEnd":"2014-11-15T00:00:00Z", - "maxObservedDtu":900.2, - "maxObservedStorageMB":350.0, - "databases":[ - - ], - "metrics":[ + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool1", + "name": "ElasticPool1", + "type": "Microsoft.Sql/servers/recommendedElasticPools", + "properties": { + "databaseEdition": "Standard", + "dtu": 1000.0, + "databaseDtuMin": 100.6, + "databaseDtuMax": 200.5, + "storageMB": 1000.3, + "observationPeriodStart": "2014-11-01T00:00:00Z", + "observationPeriodEnd": "2014-11-15T00:00:00Z", + "maxObservedDtu": 900.2, + "maxObservedStorageMB": 350.0, + "databases": [], + "metrics": [ { - "dateTime":"2015-04-01T00:00:00Z", - "dtu":100.5, - "sizeGB":15.4 + "dateTime": "2015-04-01T00:00:00Z", + "dtu": 100.5, + "sizeGB": 15.4 }, { - "dateTime":"2015-04-02T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-02T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 }, { - "dateTime":"2015-04-03T00:00:00Z", - "dtu":135.0, - "sizeGB":12.754 + "dateTime": "2015-04-03T00:00:00Z", + "dtu": 135.0, + "sizeGB": 12.754 } ] } }, { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool2", - "name":"ElasticPool2", - "type":"Microsoft.Sql/servers/recommendedElasticPools", - "properties":{ - "databaseEdition":"Standard", - "dtu":1000.0, - "databaseDtuMin":100.0, - "databaseDtuMax":200.0, - "storageMB":1000.0, - "observationPeriodStart":"2014-11-01T00:00:00Z", - "observationPeriodEnd":"2014-11-15T00:00:00Z", - "maxObservedDtu":450.0, - "maxObservedStorageMB":900.0, - "databases":[ + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/recommendedElasticPools/ElasticPool2", + "name": "ElasticPool2", + "type": "Microsoft.Sql/servers/recommendedElasticPools", + "properties": { + "databaseEdition": "Standard", + "dtu": 1000.0, + "databaseDtuMin": 100.0, + "databaseDtuMax": 200.0, + "storageMB": 1000.0, + "observationPeriodStart": "2014-11-01T00:00:00Z", + "observationPeriodEnd": "2014-11-15T00:00:00Z", + "maxObservedDtu": 450.0, + "maxObservedStorageMB": 900.0, + "databases": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/master", - "name":"master", - "type":"Microsoft.Sql/servers/databases", - "location":"Southeast Asia" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/master", + "name": "master", + "type": "Microsoft.Sql/servers/databases", + "location": "Southeast Asia" } ] } @@ -73,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListMetrics.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListMetrics.json index 25241688f844..abcb08b44168 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListMetrics.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecommendedElasticPoolListMetrics.json @@ -1,27 +1,27 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "recommendedElasticPoolName":"sqlcrudtest-2080_pool1", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "recommendedElasticPoolName": "sqlcrudtest-2080_pool1", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "dateTime":"2017-07-24T12:00:00Z", - "dtu":0.017588245576265669, - "sizeGB":0.921875 + "dateTime": "2017-07-24T12:00:00Z", + "dtu": 0.017588245576265669, + "sizeGB": 0.921875 }, { - "dateTime":"2017-07-25T12:00:00Z", - "dtu":0.018937532104510685, - "sizeGB":0.921875 + "dateTime": "2017-07-25T12:00:00Z", + "dtu": 0.018937532104510685, + "sizeGB": 0.921875 } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseGet.json index 8070c65a0547..8f1a7a46ef51 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseGet.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "recoverabledatabasetest-6852", - "serverName": "recoverabledatabasetest-2080", - "databaseName": "recoverabledatabasetest-9187", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-6852/providers/Microsoft.Sql/servers/recoverabledatabasetest-2080/recoverabledatabases/recoverabledatabasetest-9187", - "name": "recoverabledatabasetest-9187", - "type": "Microsoft.Sql/servers/recoverabledatabases", - "properties": { - "edition": "Basic", - "serviceLevelObjective": "Basic", - "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", - "elasticPoolName": null - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "recoverabledatabasetest-6852", + "serverName": "recoverabledatabasetest-2080", + "databaseName": "recoverabledatabasetest-9187", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-6852/providers/Microsoft.Sql/servers/recoverabledatabasetest-2080/recoverabledatabases/recoverabledatabasetest-9187", + "name": "recoverabledatabasetest-9187", + "type": "Microsoft.Sql/servers/recoverabledatabases", + "properties": { + "edition": "Basic", + "serviceLevelObjective": "Basic", + "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", + "elasticPoolName": null } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseList.json index 788340156196..be64c202b1be 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RecoverableDatabaseList.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "recoverabledatabasetest-1234", - "serverName": "recoverabledatabasetest-7177", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-1235", - "name": "recoverabledatabasetest-1235", - "type": "Microsoft.Sql/servers/recoverabledatabases", - "properties": { - "edition": "Standard", - "serviceLevelObjective": "S0", - "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", - "elasticPoolName": null - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-9231", - "name": "recoverabledatabasetest-9231", - "type": "Microsoft.Sql/servers/recoverabledatabases", - "properties": { - "edition": "Premium", - "serviceLevelObjective": "P1", - "lastAvailableBackupDate": "2017-05-26T03:20:31.78Z", - "elasticPoolName": null - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-0342", - "name": "recoverabledatabasetest-0342", - "type": "Microsoft.Sql/servers/recoverabledatabases", - "properties": { - "edition": "Basic", - "serviceLevelObjective": "Basic", - "lastAvailableBackupDate": "2017-05-24T02:06:18.78Z", - "elasticPoolName": null - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "recoverabledatabasetest-1234", + "serverName": "recoverabledatabasetest-7177", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-1235", + "name": "recoverabledatabasetest-1235", + "type": "Microsoft.Sql/servers/recoverabledatabases", + "properties": { + "edition": "Standard", + "serviceLevelObjective": "S0", + "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", + "elasticPoolName": null } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-9231", + "name": "recoverabledatabasetest-9231", + "type": "Microsoft.Sql/servers/recoverabledatabases", + "properties": { + "edition": "Premium", + "serviceLevelObjective": "P1", + "lastAvailableBackupDate": "2017-05-26T03:20:31.78Z", + "elasticPoolName": null + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-0342", + "name": "recoverabledatabasetest-0342", + "type": "Microsoft.Sql/servers/recoverabledatabases", + "properties": { + "edition": "Basic", + "serviceLevelObjective": "Basic", + "lastAvailableBackupDate": "2017-05-24T02:06:18.78Z", + "elasticPoolName": null + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json index 579bd631adea..8d5937450a40 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkFailover.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkFailover.json index bba2acedff38..ce5ed3665178 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkFailover.json @@ -9,6 +9,6 @@ }, "responses": { "202": {}, - "204":{} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkGet.json index e0c12c819fb3..e70d68ebbc93 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkGet.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkList.json index 6211146c4698..735e01de7257 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseGet.json index 5f94301a0018..bb5851883b1b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseGet.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "restorabledroppeddatabasetest-1257", - "serverName": "restorabledroppeddatabasetest-2389", - "restorableDroppededDatabaseId": "restorabledroppeddatabasetest-7654,131403269876900000", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1257/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-2389/restorableDroppedDatabases/restorabledroppeddatabasetest-7654,131403269876900000", - "name": "restorabledroppeddatabasetest-7654,131403269876900000", - "type": "Microsoft.Sql/servers/restorableDroppedDatabases", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-7654", - "edition": "Basic", - "maxSizeBytes": "2147483648", - "serviceLevelObjective": "Basic", - "elasticPoolName": null, - "creationDate": "2017-02-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:49:47.69Z", - "earliestRestoreDate": "2017-05-20T02:49:47.69Z" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "restorabledroppeddatabasetest-1257", + "serverName": "restorabledroppeddatabasetest-2389", + "restorableDroppededDatabaseId": "restorabledroppeddatabasetest-7654,131403269876900000", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1257/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-2389/restorableDroppedDatabases/restorabledroppeddatabasetest-7654,131403269876900000", + "name": "restorabledroppeddatabasetest-7654,131403269876900000", + "type": "Microsoft.Sql/servers/restorableDroppedDatabases", + "location": "Japan East", + "properties": { + "databaseName": "restorabledroppeddatabasetest-7654", + "edition": "Basic", + "maxSizeBytes": "2147483648", + "serviceLevelObjective": "Basic", + "elasticPoolName": null, + "creationDate": "2017-02-10T00:56:19.2Z", + "deletionDate": "2017-05-27T02:49:47.69Z", + "earliestRestoreDate": "2017-05-20T02:49:47.69Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseList.json index 4f310294ceef..c5ae170d15b6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/RestorableDroppedDatabaseList.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "restorabledroppeddatabasetest-1349", - "serverName": "restorabledroppeddatabasetest-1840", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-1840/restorableDroppedDatabases/restorabledroppeddatabasetest-1345,131403269876900000", - "name": "restorabledroppeddatabasetest-1345,131403269876900000", - "type": "Microsoft.Sql/servers/restorableDroppedDatabases", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-1345", - "edition": "Basic", - "maxSizeBytes": "2147483648", - "serviceLevelObjective": "Basic", - "elasticPoolName": null, - "creationDate": "2017-02-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:49:47.69Z", - "earliestRestoreDate": "2017-05-20T02:49:47.69Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-1840/restorableDroppedDatabases/restorabledroppeddatabasetest-2764,131403249684030000", - "name": "restorabledroppeddatabasetest-2764,131403249684030000", - "type": "Microsoft.Sql/servers/restorableDroppedDatabases", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-2764", - "edition": "Standard", - "maxSizeBytes": "268435456000", - "serviceLevelObjective": "S0", - "elasticPoolName": null, - "creationDate": "2016-05-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:16:08.403Z", - "earliestRestoreDate": "2017-04-21T02:49:47.69Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "restorabledroppeddatabasetest-1349", + "serverName": "restorabledroppeddatabasetest-1840", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-1840/restorableDroppedDatabases/restorabledroppeddatabasetest-1345,131403269876900000", + "name": "restorabledroppeddatabasetest-1345,131403269876900000", + "type": "Microsoft.Sql/servers/restorableDroppedDatabases", + "location": "Japan East", + "properties": { + "databaseName": "restorabledroppeddatabasetest-1345", + "edition": "Basic", + "maxSizeBytes": "2147483648", + "serviceLevelObjective": "Basic", + "elasticPoolName": null, + "creationDate": "2017-02-10T00:56:19.2Z", + "deletionDate": "2017-05-27T02:49:47.69Z", + "earliestRestoreDate": "2017-05-20T02:49:47.69Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Sql/servers/restorabledroppeddatabasetest-1840/restorableDroppedDatabases/restorabledroppeddatabasetest-2764,131403249684030000", + "name": "restorabledroppeddatabasetest-2764,131403249684030000", + "type": "Microsoft.Sql/servers/restorableDroppedDatabases", + "location": "Japan East", + "properties": { + "databaseName": "restorabledroppeddatabasetest-2764", + "edition": "Standard", + "maxSizeBytes": "268435456000", + "serviceLevelObjective": "S0", + "elasticPoolName": null, + "creationDate": "2016-05-10T00:56:19.2Z", + "deletionDate": "2017-05-27T02:16:08.403Z", + "earliestRestoreDate": "2017-04-21T02:49:47.69Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminCreateUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminCreateUpdate.json index 692c6c60d9cc..03a3edcadb99 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminCreateUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminCreateUpdate.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "serverName": "sqlcrudtest-6440", - "administratorName": "activeDirectory", - "api-version": "2014-04-01", - "properties": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - }, - "201": { - "body": "Created" - }, - "202": { - "body": "Accepted" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-4799", + "serverName": "sqlcrudtest-6440", + "administratorName": "activeDirectory", + "api-version": "2014-04-01", + "properties": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", + "name": "activeDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", + "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", + "name": "activeDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", + "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" + } + } + }, + "201": { + "body": "Created" + }, + "202": { + "body": "Accepted" + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminDelete.json index 4404d34132d1..dfe1c958a22d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminDelete.json @@ -2,19 +2,19 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "sqlcrudtest-4799", - "serverName": "sqlcrudtest-6440", - "administratorName": "activeDirectory", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": "OK" - }, - "202": { - "body": "Accepted" - }, - "204": { - "body": "No Content" - } - } + "serverName": "sqlcrudtest-6440", + "administratorName": "activeDirectory", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": "OK" + }, + "202": { + "body": "Accepted" + }, + "204": { + "body": "No Content" + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminGet.json index a039d842259e..64c6647f119e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdminGet.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "serverName": "sqlcrudtest-6440", - "administratorName": "activeDirectory", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-4799", + "serverName": "sqlcrudtest-6440", + "administratorName": "activeDirectory", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/activeDirectory", + "name": "activeDirectory", + "properties": { + "administratorType": "ActiveDirectory", + "login": "bob@contoso.com", + "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", + "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" + } + } + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorCreateOrUpdate.json index b7f33d9f1f3a..b2ca7be0f020 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorCreateOrUpdate.json @@ -1,27 +1,27 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "advisorName": "CreateIndex", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "advisorName": "CreateIndex", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "autoExecuteValue": "Disabled" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors" - } - } + "properties": { + "autoExecuteValue": "Disabled" + } } + }, + "responses": { + "200": { + "body": { + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors" + } + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorGet.json index 26644a541240..653cc50dd117 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorGet.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "advisorName": "CreateIndex", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "advisorName": "CreateIndex", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorList.json index 4a43205a0512..6dff76a83559 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorList.json @@ -1,50 +1,50 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", - "name": "DropIndex", - "type": "Microsoft.Sql/servers/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", - "name": "DbParameterization", - "type": "Microsoft.Sql/servers/advisors", - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", - "name": "ForceLastGoodPlan", - "type": "Microsoft.Sql/servers/advisors", - "properties": { - "advisorStatus": "PrivatePreview", - "autoExecuteValue": "Disabled" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DropIndex", + "name": "DropIndex", + "type": "Microsoft.Sql/servers/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/DbParameterization", + "name": "DbParameterization", + "type": "Microsoft.Sql/servers/advisors", + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/ForceLastGoodPlan", + "name": "ForceLastGoodPlan", + "type": "Microsoft.Sql/servers/advisors", + "properties": { + "advisorStatus": "PrivatePreview", + "autoExecuteValue": "Disabled" + } } + ] } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorUpdate.json index b7f33d9f1f3a..b2ca7be0f020 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerAdvisorUpdate.json @@ -1,27 +1,27 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workloadinsight-demos", + "serverName": "misosisvr", + "advisorName": "CreateIndex", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workloadinsight-demos", - "serverName": "misosisvr", - "advisorName": "CreateIndex", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "autoExecuteValue": "Disabled" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "advisorStatus": "GA", - "autoExecuteValue": "Disabled" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", - "name": "CreateIndex", - "type": "Microsoft.Sql/servers/advisors" - } - } + "properties": { + "autoExecuteValue": "Disabled" + } } + }, + "responses": { + "200": { + "body": { + "properties": { + "advisorStatus": "GA", + "autoExecuteValue": "Disabled" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workloadinsight-demos/providers/Microsoft.Sql/servers/misosisvr/advisors/CreateIndex", + "name": "CreateIndex", + "type": "Microsoft.Sql/servers/advisors" + } + } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json index 447fbb01e54c..f88e22eff8f2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json @@ -6,8 +6,8 @@ "communicationLinkName": "link1", "api-version": "2014-04-01", "parameters": { - "properties":{ - "partnerServer":"sqldcrudtest-test" + "properties": { + "partnerServer": "sqldcrudtest-test" } } }, @@ -20,11 +20,11 @@ "location": "Central US", "kind": null, "properties": { - "state": "Ready", - "partnerServer": "sqlcrudtest-test" + "state": "Ready", + "partnerServer": "sqlcrudtest-test" } } }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkDelete.json index 3facd12cd177..7653d0b280ac 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkDelete.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json index 423c68535edd..cb3aa9ad4a0a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json @@ -15,10 +15,10 @@ "location": "Central US", "kind": null, "properties": { - "state": "Ready", - "partnerServer": "sqlcrudtest-test" + "state": "Ready", + "partnerServer": "sqlcrudtest-test" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkList.json index 1f66ffc2fb7b..d3609726f2fe 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkList.json @@ -9,19 +9,19 @@ "200": { "body": { "value": [ - { + { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/communicationLinks/link1", "name": "link1", "type": "Microsoft.Sql/servers/communicationLinks", "location": "Central US", "kind": null, "properties": { - "state": "Ready", - "partnerServer": "sqlcrudtest-test" + "state": "Ready", + "partnerServer": "sqlcrudtest-test" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json index 1c5fa8ef0791..c1eb19586deb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json @@ -1,40 +1,40 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-1234", + "serverName": "test-5678", + "connectionPolicyName": "default", + "api-version": "2014-04-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-1234", - "serverName": "test-5678", - "connectionPolicyName": "default", - "api-version": "2014-04-01", - "parameters": { - "properties": { - "connectionType":"Proxy" - } + "properties": { + "connectionType": "Proxy" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/servers/connectionPolicies", + "location": "West US", + "kind": null, + "properties": { + "connectionType": "Proxy" } + } }, - "responses": { - "200": { - "body": { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/servers/connectionPolicies", - "location":"West US", - "kind":null, - "properties": { - "connectionType":"Proxy" - } - } - }, - "201": { - "body": { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/servers/connectionPolicies", - "location":"West US", - "kind":null, - "properties": { - "connectionType":"Proxy" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/servers/connectionPolicies", + "location": "West US", + "kind": null, + "properties": { + "connectionType": "Proxy" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyGet.json index b64ec3730a55..8a2f1b0a6f0a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerConnectionPolicyGet.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-1234", - "serverName": "test-5678", - "connectionPolicyName": "default", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "body": { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", - "name":"default", - "type":"Microsoft.Sql/servers/connectionPolicies", - "location":"West US", - "kind":null, - "properties": { - "connectionType":"Default" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-1234", + "serverName": "test-5678", + "connectionPolicyName": "default", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default", + "name": "default", + "type": "Microsoft.Sql/servers/connectionPolicies", + "location": "West US", + "kind": null, + "properties": { + "connectionType": "Default" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMax.json index 59d04db72226..0aa9a485433a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMax.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMin.json index 791e4d3cfd6e..0285f9aca82e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateMin.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMax.json index 59d04db72226..0aa9a485433a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMax.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMin.json index 791e4d3cfd6e..0285f9aca82e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCreateOrUpdateMin.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json index fe7ecc54225e..e4708fd7cd82 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerGet.json index 30315275af52..5b2f4b86723d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerList.json index 4636fd2655a2..375a6e60dfcd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerList.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerListByResourceGroup.json index ab78156a6763..558178759d05 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerListByResourceGroup.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyCreateOrUpdate.json index 4ed8dc18950a..d3b4a8525ebd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyCreateOrUpdate.json @@ -1,34 +1,34 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "tableAuditingPolicyName":"default", - "properties": { }, - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "tableAuditingPolicyName": "default", + "properties": {}, + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080", - "auditLogsTableName":"Blobauditingtest2080", - "retentionDays":"0" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080", + "auditLogsTableName": "Blobauditingtest2080", + "retentionDays": "0" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyGet.json index 002638540733..8ae064c4ecaf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyGet.json @@ -1,33 +1,33 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "tableAuditingPolicyName":"default", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "tableAuditingPolicyName": "default", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080", - "auditLogsTableName":"Blobauditingtest2080", - "retentionDays":"0" + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080", + "auditLogsTableName": "Blobauditingtest2080", + "retentionDays": "0" } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyList.json index 5acbe52d4803..a9138eb4b11d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerTableAuditingPolicyList.json @@ -1,36 +1,36 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"blobauditingtest-6852", - "serverName":"blobauditingtest-2080", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "blobauditingtest-6852", + "serverName": "blobauditingtest-2080", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ + "responses": { + "200": { + "body": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", - "name":"Default", - "type":"Microsoft.Sql/servers/databases/auditingPolicies", - "location":"West US", - "kind":null, - "properties":{ - "auditingState":"New", - "eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", - "storageAccountName":null, - "storageAccountKey":null, - "storageAccountSecondaryKey":null, - "storageTableEndpoint":null, - "storageAccountResourceGroupName":null, - "storageAccountSubscriptionId":null, - "fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080", - "auditLogsTableName":"Blobauditingtest2080", - "retentionDays":"0" + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default", + "name": "Default", + "type": "Microsoft.Sql/servers/databases/auditingPolicies", + "location": "West US", + "kind": null, + "properties": { + "auditingState": "New", + "eventTypesToAudit": "PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure", + "storageAccountName": null, + "storageAccountKey": null, + "storageAccountSecondaryKey": null, + "storageTableEndpoint": null, + "storageAccountResourceGroupName": null, + "storageAccountSubscriptionId": null, + "fullAuditLogsTableName": "SQLDBAuditLogsBlobauditingtest2080", + "auditLogsTableName": "Blobauditingtest2080", + "retentionDays": "0" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMax.json index 11e4bd96d0cc..7b7a0561e11d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMax.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMin.json index d5e3f6bd0fa5..08856a20cc6b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUpdateMin.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUsageMetricsList.json index b659e33053a7..03c7454a71ff 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUsageMetricsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerUsageMetricsList.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json index f591bf343179..fd75558833e9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json @@ -8,17 +8,17 @@ }, "responses": { "200": { - "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", - "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System0", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - } + "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", + "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System0", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json index 54af66fc7032..937dc017b5e5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json @@ -1,638 +1,638 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "group1", - "serverName": "sqlcrudtest", - "api-version": "2014-04-01" - }, - "responses": { - "200": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7", - "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", - "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System0", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12", - "name": "c99ac918-dbea-463f-a475-16ec020fdc12", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System1", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System2", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4", - "name": "33d0db1f-6893-4210-99f9-463fb9b496a4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System3", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4", - "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System4", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", - "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System2L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248", - "name": "e79cd55c-689f-48d9-bffa-0dd12c772248", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System3L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490", - "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System4L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", - "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "Free", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "Basic", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b", - "name": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S0", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928", - "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S1", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7", - "name": "455330e1-00cd-488b-b5fa-177c226f28b7", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40", - "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S3", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d", - "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P1", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", - "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", - "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P4", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa", - "name": "43940481-9191-475a-9dba-6b505615b9aa", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P6", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288", - "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P11", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", - "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P15", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8", - "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS1", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb", - "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024", - "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS4", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f", - "name": "1e8da92e-efcd-4682-9140-bf6582120d1f", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS6", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618", - "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW100", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153", - "name": "99e78a92-d724-4e1b-857b-2be661f3d153", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea", - "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW300", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af", - "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW400", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", - "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885", - "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW600", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", - "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47", - "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557", - "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370", - "name": "99165ede-a5ab-4b52-b317-e391d92ec370", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW2000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff", - "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW3000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4", - "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW6000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0", - "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS100", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449", - "name": "053407ef-f01c-46f4-b829-96e01a14f449", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce", - "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS300", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c", - "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS400", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea", - "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", - "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS600", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b", - "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1", - "name": "07479569-6d70-47a5-8db6-0af55d34f2c1", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e", - "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", - "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS2000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419", - "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "ElasticPool", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - } - ] - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "sqlcrudtest", + "api-version": "2014-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7", + "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", + "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System0", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12", + "name": "c99ac918-dbea-463f-a475-16ec020fdc12", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System1", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System2", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4", + "name": "33d0db1f-6893-4210-99f9-463fb9b496a4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System3", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4", + "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System4", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", + "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System2L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248", + "name": "e79cd55c-689f-48d9-bffa-0dd12c772248", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System3L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490", + "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System4L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", + "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "Free", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "Basic", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b", + "name": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S0", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928", + "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S1", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7", + "name": "455330e1-00cd-488b-b5fa-177c226f28b7", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40", + "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S3", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d", + "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P1", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", + "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", + "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P4", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa", + "name": "43940481-9191-475a-9dba-6b505615b9aa", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P6", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288", + "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P11", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", + "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P15", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8", + "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS1", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb", + "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024", + "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS4", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f", + "name": "1e8da92e-efcd-4682-9140-bf6582120d1f", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS6", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618", + "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW100", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153", + "name": "99e78a92-d724-4e1b-857b-2be661f3d153", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea", + "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW300", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af", + "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW400", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", + "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885", + "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW600", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", + "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47", + "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557", + "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370", + "name": "99165ede-a5ab-4b52-b317-e391d92ec370", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW2000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff", + "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW3000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4", + "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW6000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0", + "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS100", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449", + "name": "053407ef-f01c-46f4-b829-96e01a14f449", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce", + "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS300", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c", + "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS400", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea", + "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", + "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS600", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b", + "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1", + "name": "07479569-6d70-47a5-8db6-0af55d34f2c1", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e", + "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", + "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS2000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419", + "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "ElasticPool", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + } + ] + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorGet.json index db5d1d134c8a..6e793b63dac8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorGet.json @@ -1,46 +1,46 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "databaseName":"sqlcrudtest-9187", - "serviceTierAdvisorName":"Current", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-9187", + "serviceTierAdvisorName": "Current", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", - "name":"Current", - "type":"Microsoft.Sql/servers/databases/serviceTierAdvisors", - "properties":{ - "observationPeriodStart":"2017-07-12T12:00:00Z", - "observationPeriodEnd":"2017-07-26T13:00:00Z", - "activeTimeRatio":0.0, - "minDtu":0.0, - "avgDtu":0.0, - "maxDtu":0.0, - "maxSizeInGB":0.0234375, - "serviceLevelObjectiveUsageMetrics":[ + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", + "name": "Current", + "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors", + "properties": { + "observationPeriodStart": "2017-07-12T12:00:00Z", + "observationPeriodEnd": "2017-07-26T13:00:00Z", + "activeTimeRatio": 0.0, + "minDtu": 0.0, + "avgDtu": 0.0, + "maxDtu": 0.0, + "maxSizeInGB": 0.0234375, + "serviceLevelObjectiveUsageMetrics": [ { - "serviceLevelObjective":"Basic", - "serviceLevelObjectiveId":"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "inRangeTimeRatio":1.0 + "serviceLevelObjective": "Basic", + "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "inRangeTimeRatio": 1.0 } ], - "currentServiceLevelObjective":"S0", - "currentServiceLevelObjectiveId":"f1173c43-91bd-4aaa-973c-54e79e15235b", - "usageBasedRecommendationServiceLevelObjective":null, - "usageBasedRecommendationServiceLevelObjectiveId":null, - "databaseSizeBasedRecommendationServiceLevelObjective":null, - "databaseSizeBasedRecommendationServiceLevelObjectiveId":null, - "disasterPlanBasedRecommendationServiceLevelObjective":null, - "disasterPlanBasedRecommendationServiceLevelObjectiveId":null, - "overallRecommendationServiceLevelObjective":null, - "overallRecommendationServiceLevelObjectiveId":null, - "confidence":1.0 + "currentServiceLevelObjective": "S0", + "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "usageBasedRecommendationServiceLevelObjective": null, + "usageBasedRecommendationServiceLevelObjectiveId": null, + "databaseSizeBasedRecommendationServiceLevelObjective": null, + "databaseSizeBasedRecommendationServiceLevelObjectiveId": null, + "disasterPlanBasedRecommendationServiceLevelObjective": null, + "disasterPlanBasedRecommendationServiceLevelObjectiveId": null, + "overallRecommendationServiceLevelObjective": null, + "overallRecommendationServiceLevelObjectiveId": null, + "confidence": 1.0 } } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json index 412db69a16e8..efcbfe6166c9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json @@ -1,47 +1,47 @@ { - "parameters":{ - "subscriptionId":"00000000-1111-2222-3333-444444444444", - "resourceGroupName":"sqlcrudtest-6852", - "serverName":"sqlcrudtest-2080", - "databaseName":"sqlcrudtest-9187", - "api-version":"2014-04-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-6852", + "serverName": "sqlcrudtest-2080", + "databaseName": "sqlcrudtest-9187", + "api-version": "2014-04-01" }, - "responses":{ - "200":{ - "value":[ + "responses": { + "200": { + "value": [ { - "id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", - "name":"Current", - "type":"Microsoft.Sql/servers/databases/serviceTierAdvisors", - "properties":{ - "observationPeriodStart":"2017-07-12T12:00:00Z", - "observationPeriodEnd":"2017-07-26T13:00:00Z", - "activeTimeRatio":0.0, - "minDtu":0.0, - "avgDtu":0.0, - "maxDtu":0.0, - "maxSizeInGB":0.0234375, - "serviceLevelObjectiveUsageMetrics":[ + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", + "name": "Current", + "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors", + "properties": { + "observationPeriodStart": "2017-07-12T12:00:00Z", + "observationPeriodEnd": "2017-07-26T13:00:00Z", + "activeTimeRatio": 0.0, + "minDtu": 0.0, + "avgDtu": 0.0, + "maxDtu": 0.0, + "maxSizeInGB": 0.0234375, + "serviceLevelObjectiveUsageMetrics": [ { - "serviceLevelObjective":"Basic", - "serviceLevelObjectiveId":"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "inRangeTimeRatio":1.0 + "serviceLevelObjective": "Basic", + "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "inRangeTimeRatio": 1.0 } ], - "currentServiceLevelObjective":"S0", - "currentServiceLevelObjectiveId":"f1173c43-91bd-4aaa-973c-54e79e15235b", - "usageBasedRecommendationServiceLevelObjective":null, - "usageBasedRecommendationServiceLevelObjectiveId":null, - "databaseSizeBasedRecommendationServiceLevelObjective":null, - "databaseSizeBasedRecommendationServiceLevelObjectiveId":null, - "disasterPlanBasedRecommendationServiceLevelObjective":null, - "disasterPlanBasedRecommendationServiceLevelObjectiveId":null, - "overallRecommendationServiceLevelObjective":null, - "overallRecommendationServiceLevelObjectiveId":null, - "confidence":1.0 + "currentServiceLevelObjective": "S0", + "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "usageBasedRecommendationServiceLevelObjective": null, + "usageBasedRecommendationServiceLevelObjectiveId": null, + "databaseSizeBasedRecommendationServiceLevelObjective": null, + "databaseSizeBasedRecommendationServiceLevelObjectiveId": null, + "disasterPlanBasedRecommendationServiceLevelObjective": null, + "disasterPlanBasedRecommendationServiceLevelObjectiveId": null, + "overallRecommendationServiceLevelObjective": null, + "overallRecommendationServiceLevelObjectiveId": null, + "confidence": 1.0 } } ] } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/firewallRules.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/firewallRules.json index b19be7fd3962..e544dbdca38e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/firewallRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/firewallRules.json @@ -24,8 +24,12 @@ "operationId": "FirewallRules_CreateOrUpdate", "description": "Creates or updates a firewall rule.", "x-ms-examples": { - "Create a firewall rule max/min": { "$ref": "./examples/FirewallRuleCreate.json" }, - "Update a firewall rule max/min": { "$ref": "./examples/FirewallRuleUpdate.json" } + "Create a firewall rule max/min": { + "$ref": "./examples/FirewallRuleCreate.json" + }, + "Update a firewall rule max/min": { + "$ref": "./examples/FirewallRuleUpdate.json" + } }, "parameters": [ { @@ -79,7 +83,9 @@ "operationId": "FirewallRules_Delete", "description": "Deletes a firewall rule.", "x-ms-examples": { - "Delete a firewall rule": { "$ref": "./examples/FirewallRuleDelete.json" } + "Delete a firewall rule": { + "$ref": "./examples/FirewallRuleDelete.json" + } }, "parameters": [ { @@ -118,7 +124,9 @@ "operationId": "FirewallRules_Get", "description": "Gets a firewall rule.", "x-ms-examples": { - "Get Firewall Rule": { "$ref": "./examples/FirewallRuleGet.json" } + "Get Firewall Rule": { + "$ref": "./examples/FirewallRuleGet.json" + } }, "parameters": [ { @@ -159,7 +167,9 @@ "operationId": "FirewallRules_ListByServer", "description": "Returns a list of firewall rules.", "x-ms-examples": { - "List Firewall Rules": { "$ref": "./examples/FirewallRuleList.json" } + "List Firewall Rules": { + "$ref": "./examples/FirewallRuleList.json" + } }, "parameters": [ { @@ -201,7 +211,10 @@ "description": "The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses." } }, - "required": ["startIpAddress", "endIpAddress"], + "required": [ + "startIpAddress", + "endIpAddress" + ], "description": "Represents the properties of a server firewall rule." }, "FirewallRule": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json index 5ff460891215..bad075f8c496 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json @@ -24,7 +24,9 @@ "operationId": "GeoBackupPolicies_CreateOrUpdate", "description": "Updates a database geo backup policy.", "x-ms-examples": { - "Update geo backup policy": { "$ref": "./examples/GeoBackupPoliciesCreateOrUpdate.json" } + "Update geo backup policy": { + "$ref": "./examples/GeoBackupPoliciesCreateOrUpdate.json" + } }, "parameters": [ { @@ -81,7 +83,9 @@ "operationId": "GeoBackupPolicies_Get", "description": "Gets a geo backup policy.", "x-ms-examples": { - "Get geo backup policy": { "$ref": "./examples/GeoBackupPoliciesGet.json" } + "Get geo backup policy": { + "$ref": "./examples/GeoBackupPoliciesGet.json" + } }, "parameters": [ { @@ -125,7 +129,9 @@ "operationId": "GeoBackupPolicies_ListByDatabase", "description": "Returns a list of geo backup policies.", "x-ms-examples": { - "List geo backup policies": { "$ref": "./examples/GeoBackupPoliciesList.json" } + "List geo backup policies": { + "$ref": "./examples/GeoBackupPoliciesList.json" + } }, "parameters": [ { @@ -168,7 +174,10 @@ "state": { "type": "string", "description": "The state of the geo backup policy.", - "enum": ["Disabled", "Enabled"], + "enum": [ + "Disabled", + "Enabled" + ], "x-ms-enum": { "modelAsString": false, "name": "GeoBackupPolicyState" @@ -180,7 +189,9 @@ "readOnly": true } }, - "required": ["state"], + "required": [ + "state" + ], "description": "The properties of the geo backup policy." }, "GeoBackupPolicy": { @@ -195,10 +206,10 @@ "type": "string", "description": "Kind of geo backup policy. This is metadata used for the Azure portal experience." }, - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Backup policy location." + "description": "Backup policy location." } }, "required": [ @@ -238,9 +249,11 @@ "in": "path", "required": true, "type": "string", - "enum": ["Default"], + "enum": [ + "Default" + ], "description": "The name of the geo backup policy.", - "x-ms-enum":{ + "x-ms-enum": { "modelAsString": true, "name": "GeoBackupPolicyName" }, @@ -258,4 +271,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/importExport.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/importExport.json index a235297f079f..35f55f49b321 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/importExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/importExport.json @@ -1,469 +1,511 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database Import/Export spec", - "description": "Provides create and read functionality for Import/Export operations on Azure SQL databases.", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import": { - "post": { - "tags": [ - "ImportExport" - ], - "operationId": "Databases_Import", - "description": "Imports a bacpac into a new database. ", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportRequest" - }, - "description": "The required parameters for importing a Bacpac into a database." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ImportExportResponse" - } - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-examples": { - "Import bacpac into new database Max with storage key": { "$ref": "./examples/DatabaseCreateImportMaxStorageKey.json" }, - "Import bacpac into new database Min with storage key": { "$ref": "./examples/DatabaseCreateImportMinStorageKey.json" }, - "Import bacpac into new database Max with SAS key": { "$ref": "./examples/DatabaseCreateImportMaxSasKey.json" }, - "Import bacpac into new database Min with SAS key": { "$ref": "./examples/DatabaseCreateImportMinSasKey.json" } - }, - "x-ms-long-running-operation": true + "swagger": "2.0", + "info": { + "title": "Azure SQL Database Import/Export spec", + "description": "Provides create and read functionality for Import/Export operations on Azure SQL databases.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import": { + "post": { + "tags": [ + "ImportExport" + ], + "operationId": "Databases_Import", + "description": "Imports a bacpac into a new database. ", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportRequest" + }, + "description": "The required parameters for importing a Bacpac into a database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ImportExportResponse" } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-examples": { + "Import bacpac into new database Max with storage key": { + "$ref": "./examples/DatabaseCreateImportMaxStorageKey.json" + }, + "Import bacpac into new database Min with storage key": { + "$ref": "./examples/DatabaseCreateImportMinStorageKey.json" + }, + "Import bacpac into new database Max with SAS key": { + "$ref": "./examples/DatabaseCreateImportMaxSasKey.json" + }, + "Import bacpac into new database Min with SAS key": { + "$ref": "./examples/DatabaseCreateImportMinSasKey.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}": { - "put": { - "tags": [ - "ImportExport" - ], - "operationId": "Databases_CreateImportOperation", - "description": "Creates an import operation that imports a bacpac into an existing database. The existing database must be empty.", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database to import into" - }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the operation to perform", - "enum": [ - "import" - ], - "x-ms-enum": { - "name": "ExtensionName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportExtensionRequest" - }, - "description": "The required parameters for importing a Bacpac into a database." - } - ], - "responses": { - "201": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ImportExportResponse" - } - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-examples": { - "Import bacpac into an existing database Max with storage key": { "$ref": "./examples/DatabaseUpdateImportMaxStorageKey.json" }, - "Import bacpac into an existing database Min with storage key": { "$ref": "./examples/DatabaseUpdateImportMinStorageKey.json" }, - "Import bacpac into an existing database Max with SAS key": { "$ref": "./examples/DatabaseUpdateImportMaxSasKey.json" }, - "Import bacpac into an existing database Min with SAS key": { "$ref": "./examples/DatabaseUpdateImportMinSasKey.json" } - }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}": { + "put": { + "tags": [ + "ImportExport" + ], + "operationId": "Databases_CreateImportOperation", + "description": "Creates an import operation that imports a bacpac into an existing database. The existing database must be empty.", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to import into" + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the operation to perform", + "enum": [ + "import" + ], + "x-ms-enum": { + "name": "ExtensionName", + "modelAsString": true + } + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportExtensionRequest" + }, + "description": "The required parameters for importing a Bacpac into a database." + } + ], + "responses": { + "201": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ImportExportResponse" } + }, + "202": { + "description": "Accepted" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export": { - "post": { - "tags": [ - "ImportExport" - ], - "operationId": "Databases_Export", - "description": "Exports a database to a bacpac.", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database to be exported." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExportRequest" - }, - "description": "The required parameters for exporting a database." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ImportExportResponse" - } - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-examples": { - "Export a database into a new bacpac file with storage key": { "$ref": "./examples/DatabaseExportStorageKey.json" }, - "Export a database into a new bacpac file with SAS key": { "$ref": "./examples/DatabaseExportSasKey.json" } - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "Import bacpac into an existing database Max with storage key": { + "$ref": "./examples/DatabaseUpdateImportMaxStorageKey.json" + }, + "Import bacpac into an existing database Min with storage key": { + "$ref": "./examples/DatabaseUpdateImportMinStorageKey.json" + }, + "Import bacpac into an existing database Max with SAS key": { + "$ref": "./examples/DatabaseUpdateImportMaxSasKey.json" + }, + "Import bacpac into an existing database Min with SAS key": { + "$ref": "./examples/DatabaseUpdateImportMinSasKey.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export": { + "post": { + "tags": [ + "ImportExport" + ], + "operationId": "Databases_Export", + "description": "Exports a database to a bacpac.", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to be exported." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportRequest" + }, + "description": "The required parameters for exporting a database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ImportExportResponse" } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-examples": { + "Export a database into a new bacpac file with storage key": { + "$ref": "./examples/DatabaseExportStorageKey.json" + }, + "Export a database into a new bacpac file with SAS key": { + "$ref": "./examples/DatabaseExportSasKey.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ImportExtensionProperties": { + "properties": { + "operationMode": { + "type": "string", + "description": "The type of import operation being performed. This is always Import.", + "enum": [ + "Import" + ], + "x-ms-enum": { + "name": "ImportOperationMode" + } } + }, + "required": [ + "operationMode" + ], + "allOf": [ + { + "$ref": "#/definitions/ExportRequest" + } + ], + "description": "Represents the properties for an import operation" }, - "definitions": { - "ImportExtensionProperties": { - "properties": { - "operationMode": { - "type": "string", - "description": "The type of import operation being performed. This is always Import.", - "enum": ["Import"], - "x-ms-enum":{ - "name": "ImportOperationMode" - } - } - }, - "required": ["operationMode"], - "allOf": [ - { - "$ref": "#/definitions/ExportRequest" - } - ], - "description": "Represents the properties for an import operation" + "ImportExtensionRequest": { + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." }, - "ImportExtensionRequest": { - "properties": { - "name": { - "type": "string", - "description": "The name of the extension." - }, - "type": { - "type": "string", - "description": "The type of the extension." - }, - "properties": { - "$ref": "#/definitions/ImportExtensionProperties", - "x-ms-client-flatten": true, - "description": "Represents the properties of the resource." - } - }, - "description": "Import database parameters." + "type": { + "type": "string", + "description": "The type of the extension." }, - "ImportExportResponse": { - "properties": { - "properties": - { - "$ref": "#/definitions/ImportExportResponseProperties", - "x-ms-client-flatten": true, - "description": "The import/export operation properties." - } - }, - "allOf": [{ - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - }], - "description": "Response for Import/Export Get operation." + "properties": { + "$ref": "#/definitions/ImportExtensionProperties", + "x-ms-client-flatten": true, + "description": "Represents the properties of the resource." + } + }, + "description": "Import database parameters." + }, + "ImportExportResponse": { + "properties": { + "properties": { + "$ref": "#/definitions/ImportExportResponseProperties", + "x-ms-client-flatten": true, + "description": "The import/export operation properties." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Response for Import/Export Get operation." + }, + "ImportExportResponseProperties": { + "properties": { + "requestType": { + "type": "string", + "readOnly": true, + "description": "The request type of the operation." }, - "ImportExportResponseProperties": { - "properties": { - "requestType": { - "type": "string", - "readOnly": true, - "description": "The request type of the operation." - }, - "requestId": { - "type": "string", - "format": "uuid", - "readOnly": true, - "description": "The request type of the operation." - }, - "serverName": { - "type": "string", - "readOnly": true, - "description": "The name of the server." - }, - "databaseName": { - "type": "string", - "readOnly": true, - "description": "The name of the database." - }, - "status": { - "type": "string", - "readOnly": true, - "description": "The status message returned from the server." - }, - "lastModifiedTime": { - "type": "string", - "readOnly": true, - "description": "The operation status last modified time." - }, - "queuedTime": { - "type": "string", - "readOnly": true, - "description": "The operation queued time." - }, - "blobUri": { - "type": "string", - "readOnly": true, - "description": "The blob uri." - }, - "errorMessage": { - "type": "string", - "readOnly": true, - "description": "The error message returned from the server." - } - }, - "description": "Response for Import/Export Status operation." + "requestId": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "The request type of the operation." }, - "ImportRequest": { - "properties": { - "databaseName": { - "type": "string", - "description": "The name of the database to import." - }, - "edition": { - "type": "string", - "description": "The edition for the database being created.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n", - "enum": [ - "Web", - "Business", - "Basic", - "Standard", - "Premium", - "PremiumRS", - "Free", - "Stretch", - "DataWarehouse", - "System", - "System2", - "GeneralPurpose", - "BusinessCritical", - "Hyperscale" - ], - "x-ms-enum": { - "name": "DatabaseEdition", - "modelAsString": true - } - }, - "serviceObjectiveName": { - "type": "string", - "description": "The name of the service objective to assign to the database.", - "enum": [ - "System", - "System0", - "System1", - "System2", - "System3", - "System4", - "System2L", - "System3L", - "System4L", - "Free", - "Basic", - "S0", - "S1", - "S2", - "S3", - "S4", - "S6", - "S7", - "S9", - "S12", - "P1", - "P2", - "P3", - "P4", - "P6", - "P11", - "P15", - "PRS1", - "PRS2", - "PRS4", - "PRS6", - "DW100", - "DW200", - "DW300", - "DW400", - "DW500", - "DW600", - "DW1000", - "DW1200", - "DW1000c", - "DW1500", - "DW1500c", - "DW2000", - "DW2000c", - "DW3000", - "DW2500c", - "DW3000c", - "DW6000", - "DW5000c", - "DW6000c", - "DW7500c", - "DW10000c", - "DW15000c", - "DW30000c", - "DS100", - "DS200", - "DS300", - "DS400", - "DS500", - "DS600", - "DS1000", - "DS1200", - "DS1500", - "DS2000", - "ElasticPool" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "ServiceObjectiveName" - } - }, - "maxSizeBytes": { - "type": "string", - "description": "The maximum size for the newly imported database." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ExportRequest" - } - ], - "required":["databaseName","edition","serviceObjectiveName","maxSizeBytes"], - "description": "Import database parameters." + "serverName": { + "type": "string", + "readOnly": true, + "description": "The name of the server." }, - "ExportRequest": { - "properties": { - "storageKeyType": { - "type": "string", - "description": "The type of the storage key to use.", - "enum": ["StorageAccessKey","SharedAccessKey"], - "x-ms-enum":{ - "name": "StorageKeyType" - } - }, - "storageKey": { - "type": "string", - "description": "The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a \"?.\"" - }, - "storageUri": { - "type": "string", - "description": "The storage uri to use." - }, - "administratorLogin": { - "type": "string", - "description": "The name of the SQL administrator." - }, - "administratorLoginPassword": { - "type": "string", - "description": "The password of the SQL administrator." - }, - "authenticationType": { - "type": "string", - "description": "The authentication type.", - "enum": ["SQL","ADPassword"], - "x-ms-enum":{ - "name": "AuthenticationType" - }, - "default": "SQL" - } - }, - "required":["storageKeyType","storageKey","storageUri","administratorLogin","administratorLoginPassword"], - "description": "Export database parameters." + "databaseName": { + "type": "string", + "readOnly": true, + "description": "The name of the database." + }, + "status": { + "type": "string", + "readOnly": true, + "description": "The status message returned from the server." + }, + "lastModifiedTime": { + "type": "string", + "readOnly": true, + "description": "The operation status last modified time." + }, + "queuedTime": { + "type": "string", + "readOnly": true, + "description": "The operation queued time." + }, + "blobUri": { + "type": "string", + "readOnly": true, + "description": "The blob uri." + }, + "errorMessage": { + "type": "string", + "readOnly": true, + "description": "The error message returned from the server." } + }, + "description": "Response for Import/Export Status operation." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "ImportRequest": { + "properties": { + "databaseName": { + "type": "string", + "description": "The name of the database to import." + }, + "edition": { + "type": "string", + "description": "The edition for the database being created.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n", + "enum": [ + "Web", + "Business", + "Basic", + "Standard", + "Premium", + "PremiumRS", + "Free", + "Stretch", + "DataWarehouse", + "System", + "System2", + "GeneralPurpose", + "BusinessCritical", + "Hyperscale" + ], + "x-ms-enum": { + "name": "DatabaseEdition", + "modelAsString": true + } + }, + "serviceObjectiveName": { + "type": "string", + "description": "The name of the service objective to assign to the database.", + "enum": [ + "System", + "System0", + "System1", + "System2", + "System3", + "System4", + "System2L", + "System3L", + "System4L", + "Free", + "Basic", + "S0", + "S1", + "S2", + "S3", + "S4", + "S6", + "S7", + "S9", + "S12", + "P1", + "P2", + "P3", + "P4", + "P6", + "P11", + "P15", + "PRS1", + "PRS2", + "PRS4", + "PRS6", + "DW100", + "DW200", + "DW300", + "DW400", + "DW500", + "DW600", + "DW1000", + "DW1200", + "DW1000c", + "DW1500", + "DW1500c", + "DW2000", + "DW2000c", + "DW3000", + "DW2500c", + "DW3000c", + "DW6000", + "DW5000c", + "DW6000c", + "DW7500c", + "DW10000c", + "DW15000c", + "DW30000c", + "DS100", + "DS200", + "DS300", + "DS400", + "DS500", + "DS600", + "DS1000", + "DS1200", + "DS1500", + "DS2000", + "ElasticPool" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "ServiceObjectiveName" + } + }, + "maxSizeBytes": { + "type": "string", + "description": "The maximum size for the newly imported database." } + }, + "allOf": [ + { + "$ref": "#/definitions/ExportRequest" + } + ], + "required": [ + "databaseName", + "edition", + "serviceObjectiveName", + "maxSizeBytes" + ], + "description": "Import database parameters." }, + "ExportRequest": { + "properties": { + "storageKeyType": { + "type": "string", + "description": "The type of the storage key to use.", + "enum": [ + "StorageAccessKey", + "SharedAccessKey" + ], + "x-ms-enum": { + "name": "StorageKeyType" + } + }, + "storageKey": { + "type": "string", + "description": "The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a \"?.\"" + }, + "storageUri": { + "type": "string", + "description": "The storage uri to use." + }, + "administratorLogin": { + "type": "string", + "description": "The name of the SQL administrator." + }, + "administratorLoginPassword": { + "type": "string", + "description": "The password of the SQL administrator." + }, + "authenticationType": { + "type": "string", + "description": "The authentication type.", + "enum": [ + "SQL", + "ADPassword" + ], + "x-ms-enum": { + "name": "AuthenticationType" + }, + "default": "SQL" + } + }, + "required": [ + "storageKeyType", + "storageKey", + "storageUri", + "administratorLogin", + "administratorLoginPassword" + ], + "description": "Export database parameters." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json index 220a9dd2fa09..44ae2196ea68 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json @@ -24,7 +24,9 @@ "operationId": "Databases_ListMetrics", "description": "Returns database metrics.", "x-ms-examples": { - "List database usage metrics": { "$ref": "./examples/DatabaseMetricsListWithFilter.json" } + "List database usage metrics": { + "$ref": "./examples/DatabaseMetricsListWithFilter.json" + } }, "parameters": [ { @@ -75,7 +77,9 @@ "operationId": "Databases_ListMetricDefinitions", "description": "Returns database metric definitions.", "x-ms-examples": { - "List database usage metrics": { "$ref": "./examples/DatabaseMetricsDefinitionsList.json" } + "List database usage metrics": { + "$ref": "./examples/DatabaseMetricsDefinitionsList.json" + } }, "parameters": [ { @@ -119,7 +123,9 @@ "operationId": "ElasticPools_ListMetrics", "description": "Returns elastic pool metrics.", "x-ms-examples": { - "List database usage metrics": { "$ref": "./examples/ElasticPoolMetricsListWithFilter.json" } + "List database usage metrics": { + "$ref": "./examples/ElasticPoolMetricsListWithFilter.json" + } }, "parameters": [ { @@ -170,7 +176,9 @@ "operationId": "ElasticPools_ListMetricDefinitions", "description": "Returns elastic pool metric definitions.", "x-ms-examples": { - "List database usage metrics": { "$ref": "./examples/ElasticPoolMetricsDefinitionsList.json" } + "List database usage metrics": { + "$ref": "./examples/ElasticPoolMetricsDefinitionsList.json" + } }, "parameters": [ { @@ -287,7 +295,14 @@ "readOnly": true, "type": "string", "description": "The unit of the metric.", - "enum": ["count", "bytes", "seconds", "percent", "countPerSecond", "bytesPerSecond"], + "enum": [ + "count", + "bytes", + "seconds", + "percent", + "countPerSecond", + "bytesPerSecond" + ], "x-ms-enum": { "modelAsString": true, "name": "UnitType" @@ -319,7 +334,9 @@ "description": "The list of metrics for the database." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "The response to a list database metrics request." }, "MetricAvailability": { @@ -348,7 +365,14 @@ "readOnly": true, "type": "string", "description": "The primary aggregation type defining how metric values are displayed.", - "enum": ["None", "Average", "Count", "Minimum", "Maximum", "Total"], + "enum": [ + "None", + "Average", + "Count", + "Minimum", + "Maximum", + "Total" + ], "x-ms-enum": { "modelAsString": true, "name": "PrimaryAggregationType" @@ -363,7 +387,14 @@ "readOnly": true, "type": "string", "description": "The unit of the metric.", - "enum": ["Count", "Bytes", "Seconds", "Percent", "CountPerSecond", "BytesPerSecond"], + "enum": [ + "Count", + "Bytes", + "Seconds", + "Percent", + "CountPerSecond", + "BytesPerSecond" + ], "x-ms-enum": { "modelAsString": true, "name": "UnitDefinitionType" @@ -390,7 +421,9 @@ "description": "The list of metric definitions for the database." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "The response to a list database metric definitions request." } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/operations.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/operations.json index d2a88c87c591..dfe7288e8fb0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/operations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/operations.json @@ -24,7 +24,9 @@ "description": "Lists all of the available SQL Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { - "Get a list of operations for a resource provider": { "$ref": "./examples/OperationList.json" } + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } }, "parameters": [ { @@ -44,7 +46,7 @@ }, "definitions": { "OperationListResult": { - "description": "Result of the request to list SQL operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list SQL operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", @@ -87,8 +89,7 @@ } } }, - "parameters": { - }, + "parameters": {}, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/queries.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/queries.json index 371278a2b83d..15a8675aa157 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/queries.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/queries.json @@ -23,8 +23,10 @@ ], "operationId": "Queries_ListByDatabase", "description": "Gets a list of top queries by database.", - "x-ms-examples":{ - "List top queries": { "$ref": "./examples/QueriesList.json" } + "x-ms-examples": { + "List top queries": { + "$ref": "./examples/QueriesList.json" + } }, "parameters": [ { @@ -63,8 +65,10 @@ ], "operationId": "QueryStatistics_ListByQuery", "description": "Lists a query's statistics.", - "x-ms-examples":{ - "Get a query": { "$ref": "./examples/QueryStatisticsList.json" } + "x-ms-examples": { + "Get a query": { + "$ref": "./examples/QueryStatisticsList.json" + } }, "parameters": [ { @@ -110,8 +114,10 @@ ], "operationId": "QueryTexts_ListByQuery", "description": "Gets a query's text.", - "x-ms-examples":{ - "Get a query": { "$ref": "./examples/QueryTextsList.json" } + "x-ms-examples": { + "Get a query": { + "$ref": "./examples/QueryTextsList.json" + } }, "parameters": [ { @@ -157,7 +163,7 @@ "aggregationFunction": { "description": "The function that is used to aggregate each query's metrics.", "type": "string", - "enum":[ + "enum": [ "min", "max", "avg", @@ -179,7 +185,7 @@ "aborted", "exception" ], - "x-ms-enum":{ + "x-ms-enum": { "name": "QueryExecutionType", "modelAsString": false }, @@ -211,7 +217,7 @@ "observedMetric": { "description": "The type of metric to use for ordering the top metrics.", "type": "string", - "enum":[ + "enum": [ "cpu", "io", "logio", @@ -323,7 +329,9 @@ "description": "The list of top queries." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a get top queries request." }, "QueryStatisticListResult": { @@ -336,25 +344,27 @@ "description": "The query." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a get query request." }, "QueryText": { "properties": { "name": { - "readOnly":true, - "type":"string", - "description":"Resource name." + "readOnly": true, + "type": "string", + "description": "Resource name." }, "type": { - "readOnly":true, - "type":"string", - "description":"Resource type." + "readOnly": true, + "type": "string", + "description": "Resource type." }, "queryText": { - "readOnly":true, - "type":"string", - "description":"Query text." + "readOnly": true, + "type": "string", + "description": "Query text." } } }, @@ -368,7 +378,9 @@ "description": "The query text." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a get query text request." } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPools.json index ce478290ff11..c646b720456c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPools.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPools.json @@ -1,317 +1,317 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database", - "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including recommendations and operations.", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_Get", - "description": "Gets a recommended elastic pool.", - "x-ms-examples": { - "Get a recommended elastic pool": { - "$ref": "./examples/RecommendedElasticPoolGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "recommendedElasticPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the recommended elastic pool to be retrieved." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPool" - } - } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including recommendations and operations.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_Get", + "description": "Gets a recommended elastic pool.", + "x-ms-examples": { + "Get a recommended elastic pool": { + "$ref": "./examples/RecommendedElasticPoolGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the recommended elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPool" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_ListByServer", + "description": "Returns recommended elastic pools.", + "x-ms-examples": { + "List recommended elastic pools": { + "$ref": "./examples/RecommendedElasticPoolList.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_ListByServer", - "description": "Returns recommended elastic pools.", - "x-ms-examples": { - "List recommended elastic pools": { - "$ref": "./examples/RecommendedElasticPoolList.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPoolListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPoolListResult" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_ListMetrics", - "description": "Returns recommended elastic pool metrics.", - "x-ms-examples": { - "Get recommended elastic pool metrics": { - "$ref": "./examples/RecommendedElasticPoolListMetrics.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "recommendedElasticPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the recommended elastic pool to be retrieved." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPoolListMetricsResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_ListMetrics", + "description": "Returns recommended elastic pool metrics.", + "x-ms-examples": { + "Get recommended elastic pool metrics": { + "$ref": "./examples/RecommendedElasticPoolListMetrics.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the recommended elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPoolListMetricsResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null } + } + } + }, + "definitions": { + "RecommendedElasticPoolMetric": { + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "The time of metric (ISO8601 format)." + }, + "dtu": { + "type": "number", + "format": "double", + "description": "Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/" + }, + "sizeGB": { + "type": "number", + "format": "double", + "description": "Gets or sets size in gigabytes." + } + }, + "description": "Represents recommended elastic pool metric." }, - "definitions": { - "RecommendedElasticPoolMetric": { - "properties": { - "dateTime": { - "type": "string", - "format": "date-time", - "description": "The time of metric (ISO8601 format)." - }, - "dtu": { - "type": "number", - "format": "double", - "description": "Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/" - }, - "sizeGB": { - "type": "number", - "format": "double", - "description": "Gets or sets size in gigabytes." - } - }, - "description": "Represents recommended elastic pool metric." + "RecommendedElasticPoolProperties": { + "properties": { + "databaseEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions.", + "enum": [ + "Basic", + "Standard", + "Premium", + "GeneralPurpose", + "BusinessCritical" + ], + "x-ms-enum": { + "name": "ElasticPoolEdition", + "modelAsString": true + } + }, + "dtu": { + "type": "number", + "format": "double", + "description": "The DTU for the recommended elastic pool." + }, + "databaseDtuMin": { + "type": "number", + "format": "double", + "description": "The minimum DTU for the database." + }, + "databaseDtuMax": { + "type": "number", + "format": "double", + "description": "The maximum DTU for the database." }, - "RecommendedElasticPoolProperties": { - "properties": { - "databaseEdition": { - "readOnly": true, - "type": "string", - "description": "The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions.", - "enum": [ - "Basic", - "Standard", - "Premium", - "GeneralPurpose", - "BusinessCritical" - ], - "x-ms-enum": { - "name": "ElasticPoolEdition", - "modelAsString": true - } - }, - "dtu": { - "type": "number", - "format": "double", - "description": "The DTU for the recommended elastic pool." - }, - "databaseDtuMin": { - "type": "number", - "format": "double", - "description": "The minimum DTU for the database." - }, - "databaseDtuMax": { - "type": "number", - "format": "double", - "description": "The maximum DTU for the database." - }, - "storageMB": { - "type": "number", - "format": "double", - "description": "Gets storage size in megabytes." - }, - "observationPeriodStart": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The observation period start (ISO8601 format)." - }, - "observationPeriodEnd": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The observation period start (ISO8601 format)." - }, - "maxObservedDtu": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "Gets maximum observed DTU." - }, - "maxObservedStorageMB": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "Gets maximum observed storage in megabytes." - }, - "databases": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "./databases.json#/definitions/Database" - }, - "description": "The list of databases in this pool. Expanded property" - }, - "metrics": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPoolMetric" - }, - "description": "The list of databases housed in the server. Expanded property" - } - }, - "description": "Represents the properties of a recommended elastic pool." + "storageMB": { + "type": "number", + "format": "double", + "description": "Gets storage size in megabytes." }, - "RecommendedElasticPool": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RecommendedElasticPoolProperties", - "description": "The properties representing the resource." - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a recommended elastic pool." + "observationPeriodStart": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The observation period start (ISO8601 format)." }, - "RecommendedElasticPoolListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPool" - }, - "description": "The list of recommended elastic pools hosted in the server." - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a list recommended elastic pool request." + "observationPeriodEnd": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The observation period start (ISO8601 format)." }, - "RecommendedElasticPoolListMetricsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPoolMetric" - }, - "description": "The list of recommended elastic pools metrics." - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a list recommended elastic pool metrics request." + "maxObservedDtu": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets maximum observed DTU." + }, + "maxObservedStorageMB": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets maximum observed storage in megabytes." + }, + "databases": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./databases.json#/definitions/Database" + }, + "description": "The list of databases in this pool. Expanded property" + }, + "metrics": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPoolMetric" + }, + "description": "The list of databases housed in the server. Expanded property" } + }, + "description": "Represents the properties of a recommended elastic pool." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "RecommendedElasticPool": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RecommendedElasticPoolProperties", + "description": "The properties representing the resource." } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a recommended elastic pool." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "RecommendedElasticPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPool" + }, + "description": "The list of recommended elastic pools hosted in the server." } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list recommended elastic pool request." + }, + "RecommendedElasticPoolListMetricsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPoolMetric" + }, + "description": "The list of recommended elastic pools metrics." + } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list recommended elastic pool metrics request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPoolsDecoupled.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPoolsDecoupled.json index 060588a9c56d..f1ea1263a5e0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPoolsDecoupled.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/recommendedElasticPoolsDecoupled.json @@ -1,317 +1,317 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database", - "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including recommendations and operations.", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_Get", - "description": "Gets a recommended elastic pool.", - "x-ms-examples": { - "Get a recommended elastic pool": { - "$ref": "./examples/RecommendedElasticPoolGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "recommendedElasticPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the recommended elastic pool to be retrieved." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPool" - } - } - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database", + "description": "Provides create, read, update and delete functionality for Azure SQL Database resources including recommendations and operations.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_Get", + "description": "Gets a recommended elastic pool.", + "x-ms-examples": { + "Get a recommended elastic pool": { + "$ref": "./examples/RecommendedElasticPoolGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the recommended elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPool" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_ListByServer", + "description": "Returns recommended elastic pools.", + "x-ms-examples": { + "List recommended elastic pools": { + "$ref": "./examples/RecommendedElasticPoolListDecoupled.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_ListByServer", - "description": "Returns recommended elastic pools.", - "x-ms-examples": { - "List recommended elastic pools": { - "$ref": "./examples/RecommendedElasticPoolListDecoupled.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPoolListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPoolListResult" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics": { - "get": { - "tags": [ - "RecommendedElasticPools" - ], - "operationId": "RecommendedElasticPools_ListMetrics", - "description": "Returns recommended elastic pool metrics.", - "x-ms-examples": { - "Get recommended elastic pool metrics": { - "$ref": "./examples/RecommendedElasticPoolListMetrics.json" - } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "recommendedElasticPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the recommended elastic pool to be retrieved." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendedElasticPoolListMetricsResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics": { + "get": { + "tags": [ + "RecommendedElasticPools" + ], + "operationId": "RecommendedElasticPools_ListMetrics", + "description": "Returns recommended elastic pool metrics.", + "x-ms-examples": { + "Get recommended elastic pool metrics": { + "$ref": "./examples/RecommendedElasticPoolListMetrics.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "recommendedElasticPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the recommended elastic pool to be retrieved." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecommendedElasticPoolListMetricsResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null } + } + } + }, + "definitions": { + "RecommendedElasticPoolMetric": { + "properties": { + "dateTime": { + "type": "string", + "format": "date-time", + "description": "The time of metric (ISO8601 format)." + }, + "dtu": { + "type": "number", + "format": "double", + "description": "Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/" + }, + "sizeGB": { + "type": "number", + "format": "double", + "description": "Gets or sets size in gigabytes." + } + }, + "description": "Represents recommended elastic pool metric." }, - "definitions": { - "RecommendedElasticPoolMetric": { - "properties": { - "dateTime": { - "type": "string", - "format": "date-time", - "description": "The time of metric (ISO8601 format)." - }, - "dtu": { - "type": "number", - "format": "double", - "description": "Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/" - }, - "sizeGB": { - "type": "number", - "format": "double", - "description": "Gets or sets size in gigabytes." - } - }, - "description": "Represents recommended elastic pool metric." + "RecommendedElasticPoolProperties": { + "properties": { + "databaseEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions.", + "enum": [ + "Basic", + "Standard", + "Premium", + "GeneralPurpose", + "BusinessCritical" + ], + "x-ms-enum": { + "name": "ElasticPoolEdition", + "modelAsString": true + } + }, + "dtu": { + "type": "number", + "format": "double", + "description": "The DTU for the recommended elastic pool." + }, + "databaseDtuMin": { + "type": "number", + "format": "double", + "description": "The minimum DTU for the database." + }, + "databaseDtuMax": { + "type": "number", + "format": "double", + "description": "The maximum DTU for the database." }, - "RecommendedElasticPoolProperties": { - "properties": { - "databaseEdition": { - "readOnly": true, - "type": "string", - "description": "The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions.", - "enum": [ - "Basic", - "Standard", - "Premium", - "GeneralPurpose", - "BusinessCritical" - ], - "x-ms-enum": { - "name": "ElasticPoolEdition", - "modelAsString": true - } - }, - "dtu": { - "type": "number", - "format": "double", - "description": "The DTU for the recommended elastic pool." - }, - "databaseDtuMin": { - "type": "number", - "format": "double", - "description": "The minimum DTU for the database." - }, - "databaseDtuMax": { - "type": "number", - "format": "double", - "description": "The maximum DTU for the database." - }, - "storageMB": { - "type": "number", - "format": "double", - "description": "Gets storage size in megabytes." - }, - "observationPeriodStart": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The observation period start (ISO8601 format)." - }, - "observationPeriodEnd": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The observation period start (ISO8601 format)." - }, - "maxObservedDtu": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "Gets maximum observed DTU." - }, - "maxObservedStorageMB": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "Gets maximum observed storage in megabytes." - }, - "databases": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "../../../common/v1/types.json#/definitions/TrackedResource" - }, - "description": "The list of databases in this pool. Expanded property" - }, - "metrics": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPoolMetric" - }, - "description": "The list of databases housed in the server. Expanded property" - } - }, - "description": "Represents the properties of a recommended elastic pool." + "storageMB": { + "type": "number", + "format": "double", + "description": "Gets storage size in megabytes." }, - "RecommendedElasticPool": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RecommendedElasticPoolProperties", - "description": "The properties representing the resource." - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a recommended elastic pool." + "observationPeriodStart": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The observation period start (ISO8601 format)." }, - "RecommendedElasticPoolListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPool" - }, - "description": "The list of recommended elastic pools hosted in the server." - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a list recommended elastic pool request." + "observationPeriodEnd": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The observation period start (ISO8601 format)." }, - "RecommendedElasticPoolListMetricsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedElasticPoolMetric" - }, - "description": "The list of recommended elastic pools metrics." - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a list recommended elastic pool metrics request." + "maxObservedDtu": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets maximum observed DTU." + }, + "maxObservedStorageMB": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets maximum observed storage in megabytes." + }, + "databases": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../common/v1/types.json#/definitions/TrackedResource" + }, + "description": "The list of databases in this pool. Expanded property" + }, + "metrics": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPoolMetric" + }, + "description": "The list of databases housed in the server. Expanded property" } + }, + "description": "Represents the properties of a recommended elastic pool." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" + "RecommendedElasticPool": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RecommendedElasticPoolProperties", + "description": "The properties representing the resource." } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a recommended elastic pool." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "RecommendedElasticPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPool" + }, + "description": "The list of recommended elastic pools hosted in the server." } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list recommended elastic pool request." + }, + "RecommendedElasticPoolListMetricsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecommendedElasticPoolMetric" + }, + "description": "The list of recommended elastic pools metrics." + } + }, + "required": [ + "value" + ], + "description": "Represents the response to a list recommended elastic pool metrics request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/replicationLinks.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/replicationLinks.json index e92ac8ce0825..c80d3c7743f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/replicationLinks.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/replicationLinks.json @@ -24,7 +24,9 @@ "operationId": "ReplicationLinks_Delete", "description": "Deletes a database replication link. Cannot be done during failover.", "x-ms-examples": { - "Delete a replication link": { "$ref": "./examples/ReplicationLinkDelete.json" } + "Delete a replication link": { + "$ref": "./examples/ReplicationLinkDelete.json" + } }, "parameters": [ { @@ -70,7 +72,9 @@ "operationId": "ReplicationLinks_Get", "description": "Gets a database replication link.", "x-ms-examples": { - "Get a replication link": { "$ref": "./examples/ReplicationLinkGet.json" } + "Get a replication link": { + "$ref": "./examples/ReplicationLinkGet.json" + } }, "parameters": [ { @@ -118,7 +122,9 @@ "operationId": "ReplicationLinks_Failover", "description": "Sets which replica database is primary by failing over from the current primary replica database.", "x-ms-examples": { - "Failover a replication link": { "$ref": "./examples/ReplicationLinkFailover.json" } + "Failover a replication link": { + "$ref": "./examples/ReplicationLinkFailover.json" + } }, "parameters": [ { @@ -167,7 +173,9 @@ "operationId": "ReplicationLinks_FailoverAllowDataLoss", "description": "Sets which replica database is primary by failing over from the current primary replica database. This operation might result in data loss.", "x-ms-examples": { - "Failover a replication link": { "$ref": "./examples/ReplicationLinkFailover.json" } + "Failover a replication link": { + "$ref": "./examples/ReplicationLinkFailover.json" + } }, "parameters": [ { @@ -216,7 +224,9 @@ "operationId": "ReplicationLinks_ListByDatabase", "description": "Lists a database's replication links.", "x-ms-examples": { - "List Replication links": { "$ref": "./examples/ReplicationLinkList.json" } + "List Replication links": { + "$ref": "./examples/ReplicationLinkList.json" + } }, "parameters": [ { diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/restorePoints.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/restorePoints.json index 530b472a5b92..d9f6e0d0f04b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/restorePoints.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/restorePoints.json @@ -1,153 +1,159 @@ { - "swagger": "2.0", - "info": { - "title": "Azure SQL Database Backup", - "description": "Provides read functionality for Azure SQL Database Backups", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints": { - "get": { - "tags": [ - "DatabaseBackup" - ], - "operationId": "RestorePoints_ListByDatabase", - "description": "Gets a list of database restore points.", - "x-ms-examples": { - "Get a database's restore points" : { "$ref": "./examples/DatabaseRestorePointsList.json" }, - "Get a data warehouse's restore points" : { "$ref": "./examples/DataWarehouseRestorePointsList.json" } - }, - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ServerNameParameter" - }, - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database to get available restore points." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestorePointListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database Backup", + "description": "Provides read functionality for Azure SQL Database Backups", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints": { + "get": { + "tags": [ + "DatabaseBackup" + ], + "operationId": "RestorePoints_ListByDatabase", + "description": "Gets a list of database restore points.", + "x-ms-examples": { + "Get a database's restore points": { + "$ref": "./examples/DatabaseRestorePointsList.json" + }, + "Get a data warehouse's restore points": { + "$ref": "./examples/DataWarehouseRestorePointsList.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database to get available restore points." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RestorePointListResult" } + } + }, + "x-ms-pageable": { + "nextLinkName": null } - }, - "definitions": { - "RestorePointProperties": { - "properties": { - "restorePointType": { - "readOnly": true, - "type": "string", - "description": "The restore point type of the database restore point.", - "enum": [ - "DISCRETE", - "CONTINUOUS" - ], - "x-ms-enum": { - "name": "RestorePointType" - } - }, - "restorePointCreationDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null otherwise." - }, - "earliestRestoreDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise." - } - }, - "description": "Represents the properties of a database restore point." + } + } + }, + "definitions": { + "RestorePointProperties": { + "properties": { + "restorePointType": { + "readOnly": true, + "type": "string", + "description": "The restore point type of the database restore point.", + "enum": [ + "DISCRETE", + "CONTINUOUS" + ], + "x-ms-enum": { + "name": "RestorePointType" + } }, - "RestorePoint": { - "properties": { - "properties": { - "$ref": "#/definitions/RestorePointProperties", - "description": "The properties of the restore point.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "A database restore point." + "restorePointCreationDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null otherwise." }, - "RestorePointListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RestorePoint" - }, - "description": "The list of database restore points." - } - }, - "required": [ "value" ], - "description": "The response to a list database restore points request." + "earliestRestoreDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise." } + }, + "description": "Represents the properties of a database restore point." }, - "parameters": { - "ServerNameParameter": { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the server.", - "x-ms-parameter-location": "method" - }, - "DatabaseExpandParameter": { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location": "method" + "RestorePoint": { + "properties": { + "properties": { + "$ref": "#/definitions/RestorePointProperties", + "description": "The properties of the restore point.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" } + ], + "description": "A database restore point." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "RestorePointListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RestorePoint" + }, + "description": "The list of database restore points." } + }, + "required": [ + "value" + ], + "description": "The response to a list database restore points request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } } + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json index 2be702e77e02..97bdd63a54ef 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json @@ -1,314 +1,314 @@ { - "swagger":"2.0", - "info":{ - "title":"Azure SQL Database API spec", - "description":"The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your external server administrators.", - "version":"2014-04-01" - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "consumes":[ - "application/json" - ], - "produces":[ - "application/json" - ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}":{ - "put":{ - "tags":[ - "ServerAdministrators" - ], - "operationId":"ServerAzureADAdministrators_CreateOrUpdate", - "description":"Creates a new Server Active Directory Administrator or updates an existing server Active Directory Administrator.", - "x-ms-examples":{ - "Create/Update a server administrator":{ - "$ref":"./examples/ServerAdminCreateUpdate.json" - } + "swagger": "2.0", + "info": { + "title": "Azure SQL Database API spec", + "description": "The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your external server administrators.", + "version": "2014-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}": { + "put": { + "tags": [ + "ServerAdministrators" + ], + "operationId": "ServerAzureADAdministrators_CreateOrUpdate", + "description": "Creates a new Server Active Directory Administrator or updates an existing server Active Directory Administrator.", + "x-ms-examples": { + "Create/Update a server administrator": { + "$ref": "./examples/ServerAdminCreateUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/AdministratorNameParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "$ref":"#/parameters/AdministratorNameParameter" - }, - { - "name":"properties", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - }, - "description":"The required parameters for creating or updating an Active Directory Administrator." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - }, - "201":{ - "description":"Created", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - }, - "202":{ - "description":"Accepted", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - } - }, - "x-ms-long-running-operation":true - }, - "delete":{ - "tags":[ - "ServerAdministrators" - ], - "operationId":"ServerAzureADAdministrators_Delete", - "description":"Deletes an existing server Active Directory Administrator.", - "x-ms-examples":{ - "Delete a server administrator":{ - "$ref":"./examples/ServerAdminDelete.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "$ref":"#/parameters/AdministratorNameParameter" - } - ], - "responses":{ - "202":{ - "description":"Accepted", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - }, - "204":{ - "description":"No Content", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - }, - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - } - }, - "x-ms-long-running-operation":true - }, - "get":{ - "tags":[ - "ServerAdministrators" - ], - "operationId":"ServerAzureADAdministrators_Get", - "description":"Returns an server Administrator.", - "x-ms-examples":{ - "Get the Active Directory Administrator":{ - "$ref":"./examples/ServerAdminGet.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - }, - { - "$ref":"#/parameters/AdministratorNameParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - } - } + "description": "The required parameters for creating or updating an Active Directory Administrator." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators":{ - "get":{ - "tags":[ - "ServerAdministrators" - ], - "operationId":"ServerAzureADAdministrators_ListByServer", - "description":"Returns a list of server Administrators.", - "x-ms-examples":{ - "get a list of server administrators":{ - "$ref":"./examples/ServerAdminList.json" - } - }, - "parameters":[ - { - "$ref":"../../../common/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref":"../../../common/v1/types.json#/parameters/ResourceGroupParameter" - }, - { - "$ref":"#/parameters/ServerNameParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/ServerAdministratorListResult" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" } - } - } - }, - "definitions":{ - "ServerAdministratorProperties":{ - "properties":{ - "administratorType":{ - "type":"string", - "description":"The type of administrator.", - "enum":[ - "ActiveDirectory" - ], - "x-ms-enum":{ - "name":"AdministratorType" - } - }, - "login":{ - "type":"string", - "description":"The server administrator login value." - }, - "sid":{ - "type":"string", - "description":"The server administrator Sid (Secure ID).", - "format":"uuid" - }, - "tenantId":{ - "type":"string", - "description":"The server Active Directory Administrator tenant id.", - "format":"uuid" + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" } - }, - "required":[ - "tenantId", - "administratorType", - "login", - "sid" - ], - "description":"The properties of an server Administrator." + } + }, + "x-ms-long-running-operation": true }, - "ServerAzureADAdministrator":{ - "properties":{ - "properties":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/ServerAdministratorProperties", - "description":"The properties of the resource." + "delete": { + "tags": [ + "ServerAdministrators" + ], + "operationId": "ServerAzureADAdministrators_Delete", + "description": "Deletes an existing server Active Directory Administrator.", + "x-ms-examples": { + "Delete a server administrator": { + "$ref": "./examples/ServerAdminDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/AdministratorNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" } - }, - "allOf":[ - { - "$ref":"../../../common/v1/types.json#/definitions/ProxyResource" + }, + "204": { + "description": "No Content", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" } - ], - "description":"An server Active Directory Administrator." + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" + } + } + }, + "x-ms-long-running-operation": true }, - "ServerAdministratorListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/ServerAzureADAdministrator" - }, - "description":"The list of server Active Directory Administrators for the server." + "get": { + "tags": [ + "ServerAdministrators" + ], + "operationId": "ServerAzureADAdministrators_Get", + "description": "Returns an server Administrator.", + "x-ms-examples": { + "Get the Active Directory Administrator": { + "$ref": "./examples/ServerAdminGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/AdministratorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerAzureADAdministrator" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators": { + "get": { + "tags": [ + "ServerAdministrators" + ], + "operationId": "ServerAzureADAdministrators_ListByServer", + "description": "Returns a list of server Administrators.", + "x-ms-examples": { + "get a list of server administrators": { + "$ref": "./examples/ServerAdminList.json" + } + }, + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerAdministratorListResult" } - }, - "description":"The response to a list Active Directory Administrators request." + } + }, + "x-ms-pageable": { + "nextLinkName": null + } } - }, - "parameters":{ - "ServerNameParameter":{ - "name":"serverName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the server.", - "x-ms-parameter-location":"method" + } + }, + "definitions": { + "ServerAdministratorProperties": { + "properties": { + "administratorType": { + "type": "string", + "description": "The type of administrator.", + "enum": [ + "ActiveDirectory" + ], + "x-ms-enum": { + "name": "AdministratorType" + } + }, + "login": { + "type": "string", + "description": "The server administrator login value." + }, + "sid": { + "type": "string", + "description": "The server administrator Sid (Secure ID).", + "format": "uuid" + }, + "tenantId": { + "type": "string", + "description": "The server Active Directory Administrator tenant id.", + "format": "uuid" + } }, - "DatabaseExpandParameter":{ - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", - "x-ms-parameter-location":"method" + "required": [ + "tenantId", + "administratorType", + "login", + "sid" + ], + "description": "The properties of an server Administrator." + }, + "ServerAzureADAdministrator": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerAdministratorProperties", + "description": "The properties of the resource." + } }, - "AdministratorNameParameter":{ - "name":"administratorName", - "in":"path", - "description":"Name of the server administrator resource.", - "required":true, - "type":"string", - "enum":[ - "activeDirectory" - ], - "x-ms-enum":{ - "name":"ServerAdministratorName" - }, - "x-ms-parameter-location":"method" - } - }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "description":"Azure Active Directory OAuth2 Flow", - "flow":"implicit", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "scopes":{ - "user_impersonation":"impersonate your user account" - } + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "An server Active Directory Administrator." + }, + "ServerAdministratorListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerAzureADAdministrator" + }, + "description": "The list of server Active Directory Administrators for the server." + } + }, + "description": "The response to a list Active Directory Administrators request." + } + }, + "parameters": { + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the server.", + "x-ms-parameter-location": "method" + }, + "DatabaseExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", + "x-ms-parameter-location": "method" + }, + "AdministratorNameParameter": { + "name": "administratorName", + "in": "path", + "description": "Name of the server administrator resource.", + "required": true, + "type": "string", + "enum": [ + "activeDirectory" + ], + "x-ms-enum": { + "name": "ServerAdministratorName" + }, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json index 090b650f4008..4f56f027abd8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json @@ -24,7 +24,9 @@ "operationId": "ServerCommunicationLinks_Delete", "description": "Deletes a server communication link.", "x-ms-examples": { - "Delete a server communication link": { "$ref": "./examples/ServerCommunicationLinkDelete.json" } + "Delete a server communication link": { + "$ref": "./examples/ServerCommunicationLinkDelete.json" + } }, "parameters": [ { @@ -60,7 +62,9 @@ "operationId": "ServerCommunicationLinks_Get", "description": "Returns a server communication link.", "x-ms-examples": { - "Get a server communication link": { "$ref": "./examples/ServerCommunicationLinkGet.json" } + "Get a server communication link": { + "$ref": "./examples/ServerCommunicationLinkGet.json" + } }, "parameters": [ { @@ -99,7 +103,9 @@ "operationId": "ServerCommunicationLinks_CreateOrUpdate", "description": "Creates a server communication link.", "x-ms-examples": { - "Create a server communication link": { "$ref": "./examples/ServerCommunicationLinkCreateOrUpdate.json" } + "Create a server communication link": { + "$ref": "./examples/ServerCommunicationLinkCreateOrUpdate.json" + } }, "parameters": [ { @@ -153,7 +159,9 @@ "operationId": "ServerCommunicationLinks_ListByServer", "description": "Gets a list of server communication links.", "x-ms-examples": { - "List server communication links": { "$ref": "./examples/ServerCommunicationLinkList.json" } + "List server communication links": { + "$ref": "./examples/ServerCommunicationLinkList.json" + } }, "parameters": [ { @@ -200,7 +208,9 @@ "description": "The name of the partner server." } }, - "required": ["partnerServer"], + "required": [ + "partnerServer" + ], "description": "The properties of a server communication link." }, "ServerCommunicationLink": { @@ -210,13 +220,13 @@ "description": "The properties of resource.", "x-ms-client-flatten": true }, - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Communication link location." + "description": "Communication link location." }, - "kind":{ - "type":"string", + "kind": { + "type": "string", "readOnly": true, "description": "Communication link kind. This property is used for Azure Portal metadata." } @@ -262,4 +272,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/servers.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/servers.json index c4b9d983a12f..2b81a1c1095b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/servers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/servers.json @@ -24,7 +24,9 @@ "operationId": "Servers_List", "description": "Returns a list of servers.", "x-ms-examples": { - "List servers": { "$ref": "./examples/ServerList.json" } + "List servers": { + "$ref": "./examples/ServerList.json" + } }, "parameters": [ { @@ -55,8 +57,12 @@ "operationId": "Servers_CreateOrUpdate", "description": "Creates or updates a new server.", "x-ms-examples": { - "Create server min": { "$ref": "./examples/ServerCreateOrUpdateMin.json" }, - "Create server max": { "$ref": "./examples/ServerCreateOrUpdateMax.json" } + "Create server min": { + "$ref": "./examples/ServerCreateOrUpdateMin.json" + }, + "Create server max": { + "$ref": "./examples/ServerCreateOrUpdateMax.json" + } }, "parameters": [ { @@ -103,8 +109,12 @@ "operationId": "Servers_Update", "description": "Updates an existing server.", "x-ms-examples": { - "Create server min": { "$ref": "./examples/ServerUpdateMin.json" }, - "Create server max": { "$ref": "./examples/ServerUpdateMax.json" } + "Create server min": { + "$ref": "./examples/ServerUpdateMin.json" + }, + "Create server max": { + "$ref": "./examples/ServerUpdateMax.json" + } }, "parameters": [ { @@ -145,7 +155,9 @@ "operationId": "Servers_Delete", "description": "Deletes a SQL server.", "x-ms-examples": { - "Delete SQL Server": { "$ref": "./examples/ServerDelete.json" } + "Delete SQL Server": { + "$ref": "./examples/ServerDelete.json" + } }, "parameters": [ { @@ -177,7 +189,9 @@ "operationId": "Servers_Get", "description": "Gets a server.", "x-ms-examples": { - "Get Server": { "$ref": "./examples/ServerGet.json" } + "Get Server": { + "$ref": "./examples/ServerGet.json" + } }, "parameters": [ { @@ -211,7 +225,9 @@ "operationId": "Servers_ListByResourceGroup", "description": "Returns a list of servers in a resource group.", "x-ms-examples": { - "List servers by resource group": { "$ref": "./examples/ServerListByResourceGroup.json" } + "List servers by resource group": { + "$ref": "./examples/ServerListByResourceGroup.json" + } }, "parameters": [ { @@ -248,22 +264,31 @@ }, "version": { "type": "string", - "enum": ["2.0", "12.0"], + "enum": [ + "2.0", + "12.0" + ], "description": "The version of the server.", "x-ms-enum": { - "name": "ServerVersion", - "modelAsString": true + "name": "ServerVersion", + "modelAsString": true } }, "administratorLogin": { "type": "string", "description": "Administrator username for the server. Can only be specified when the server is being created (and is required for creation).", - "x-ms-mutability": [ "create", "read" ] + "x-ms-mutability": [ + "create", + "read" + ] }, "administratorLoginPassword": { "type": "string", "description": "The administrator login password (required for server creation).", - "x-ms-mutability": [ "create", "update" ] + "x-ms-mutability": [ + "create", + "update" + ] }, "externalAdministratorSid": { "readOnly": true, @@ -280,9 +305,12 @@ "readOnly": true, "type": "string", "description": "The state of the server.", - "enum": ["Ready", "Disabled"], + "enum": [ + "Ready", + "Disabled" + ], "x-ms-enum": { - "name": "ServerState" + "name": "ServerState" } } }, @@ -310,12 +338,12 @@ }, "ServerUpdate": { "properties": { - "tags":{ - "type":"object", - "additionalProperties":{ - "type":"string" + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "description":"Resource tags." + "description": "Resource tags." }, "properties": { "$ref": "#/definitions/ServerProperties", @@ -340,7 +368,9 @@ "description": "The list of servers." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a get server request." } }, @@ -374,4 +404,3 @@ } } } - diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serviceObjectives.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serviceObjectives.json index 7c091d8d1b9c..e1d158ac109f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serviceObjectives.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/serviceObjectives.json @@ -16,15 +16,17 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}": { "get": { "tags": [ "ServiceObjectives" ], "operationId": "ServiceObjectives_Get", "description": "Gets a database service objective.", - "x-ms-examples":{ - "Get a service objective": { "$ref": "./examples/ServiceObjectiveGet.json" } + "x-ms-examples": { + "Get a service objective": { + "$ref": "./examples/ServiceObjectiveGet.json" + } }, "parameters": [ { @@ -64,8 +66,10 @@ ], "operationId": "ServiceObjectives_ListByServer", "description": "Returns database service objectives.", - "x-ms-examples":{ - "List service objectives": { "$ref": "./examples/ServiceObjectiveList.json" } + "x-ms-examples": { + "List service objectives": { + "$ref": "./examples/ServiceObjectiveList.json" + } }, "parameters": [ { @@ -154,7 +158,9 @@ "description": "The list of database service objectives." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a get database service objectives request." } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/sql.core.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/sql.core.json index 158c3b44e95c..e8d19a325420 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/sql.core.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/sql.core.json @@ -23,8 +23,10 @@ ], "operationId": "ElasticPoolActivities_ListByElasticPool", "description": "Returns elastic pool activities.", - "x-ms-examples":{ - "List Elastic pool activity": { "$ref": "./examples/ElasticPoolActivityList.json" } + "x-ms-examples": { + "List Elastic pool activity": { + "$ref": "./examples/ElasticPoolActivityList.json" + } }, "parameters": [ { @@ -67,8 +69,10 @@ ], "operationId": "ElasticPoolDatabaseActivities_ListByElasticPool", "description": "Returns activity on databases inside of an elastic pool.", - "x-ms-examples":{ - "List elastic pool database activity": { "$ref": "./examples/ElasticPoolDatabaseActivityList.json" } + "x-ms-examples": { + "List elastic pool database activity": { + "$ref": "./examples/ElasticPoolDatabaseActivityList.json" + } }, "parameters": [ { @@ -112,7 +116,9 @@ "operationId": "ServiceTierAdvisors_Get", "description": "Gets a service tier advisor.", "x-ms-examples": { - "Get a service tier advisor": { "$ref": "./examples/ServiceTierAdvisorGet.json" } + "Get a service tier advisor": { + "$ref": "./examples/ServiceTierAdvisorGet.json" + } }, "parameters": [ { @@ -160,7 +166,9 @@ "operationId": "ServiceTierAdvisors_ListByDatabase", "description": "Returns service tier advisors for specified database.", "x-ms-examples": { - "Get a list of a service tier advisors": { "$ref": "./examples/ServiceTierAdvisorList.json" } + "Get a list of a service tier advisors": { + "$ref": "./examples/ServiceTierAdvisorList.json" + } }, "parameters": [ { @@ -204,7 +212,9 @@ "operationId": "TransparentDataEncryptions_CreateOrUpdate", "description": "Creates or updates a database's transparent data encryption configuration.", "x-ms-examples": { - "Create or update a database's transparent data encryption configuration": { "$ref": "./examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json" } + "Create or update a database's transparent data encryption configuration": { + "$ref": "./examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json" + } }, "parameters": [ { @@ -261,7 +271,9 @@ "operationId": "TransparentDataEncryptions_Get", "description": "Gets a database's transparent data encryption configuration.", "x-ms-examples": { - "Get a database's transparent data encryption configuration": { "$ref": "./examples/DatabaseTransparentDataEncryptionGet.json" } + "Get a database's transparent data encryption configuration": { + "$ref": "./examples/DatabaseTransparentDataEncryptionGet.json" + } }, "parameters": [ { @@ -305,7 +317,9 @@ "operationId": "TransparentDataEncryptionActivities_ListByConfiguration", "description": "Returns a database's transparent data encryption operation result.", "x-ms-examples": { - "List a database's transparent data encryption activities": { "$ref": "./examples/DatabaseTransparentDataEncryptionActivityList.json" } + "List a database's transparent data encryption activities": { + "$ref": "./examples/DatabaseTransparentDataEncryptionActivityList.json" + } }, "parameters": [ { @@ -468,13 +482,13 @@ }, "ElasticPoolActivity": { "properties": { - "location":{ - "type":"string", - "x-ms-mutability":[ + "location": { + "type": "string", + "x-ms-mutability": [ "read", "create" ], - "description":"The geo-location where the resource lives" + "description": "The geo-location where the resource lives" }, "properties": { "$ref": "#/definitions/ElasticPoolActivityProperties", @@ -499,7 +513,9 @@ "description": "The list of elastic pool activities." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list elastic pool activity request." }, "ElasticPoolDatabaseActivityProperties": { @@ -591,13 +607,13 @@ }, "ElasticPoolDatabaseActivity": { "properties": { - "location":{ - "type":"string", - "x-ms-mutability":[ + "location": { + "type": "string", + "x-ms-mutability": [ "read", "create" ], - "description":"The geo-location where the resource lives" + "description": "The geo-location where the resource lives" }, "properties": { "$ref": "#/definitions/ElasticPoolDatabaseActivityProperties", @@ -622,7 +638,9 @@ "description": "The list of elastic pool database activities." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list elastic pool database activity request." }, "RecommendedIndexProperties": { @@ -637,7 +655,7 @@ ], "description": "The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.", "x-ms-enum": { - "name": "RecommendedIndexAction" + "name": "RecommendedIndexAction" } }, "state": { @@ -658,7 +676,7 @@ "type": "string", "description": "The current recommendation state.", "x-ms-enum": { - "name": "RecommendedIndexState" + "name": "RecommendedIndexState" } }, "created": { @@ -684,7 +702,7 @@ "type": "string", "description": "The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)", "x-ms-enum": { - "name": "RecommendedIndexType" + "name": "RecommendedIndexType" } }, "schema": { @@ -772,9 +790,9 @@ "TransparentDataEncryption": { "properties": { "location": { - "type":"string", + "type": "string", "readOnly": true, - "description":"Resource location." + "description": "Resource location." }, "properties": { "x-ms-client-flatten": true, @@ -993,10 +1011,10 @@ "DS1500", "DS2000", "ElasticPool" - ], + ], "x-ms-enum": { - "modelAsString": true, - "name": "ServiceObjectiveName" + "modelAsString": true, + "name": "ServiceObjectiveName" }, "readOnly": true }, @@ -1054,7 +1072,9 @@ "description": "The list of service tier advisors for specified database." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list service tier advisor request." }, "TransparentDataEncryptionActivityProperties": { @@ -1083,10 +1103,10 @@ }, "TransparentDataEncryptionActivity": { "properties": { - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Resource location." + "description": "Resource location." }, "properties": { "x-ms-client-flatten": true, @@ -1111,7 +1131,9 @@ "description": "The list of database transparent data encryption activities." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list database transparent data encryption activity request." } }, @@ -1137,9 +1159,11 @@ "in": "path", "required": true, "type": "string", - "enum": ["current"], + "enum": [ + "current" + ], "description": "The name of the transparent data encryption configuration.", - "x-ms-enum":{ + "x-ms-enum": { "modelAsString": true, "name": "TransparentDataEncryptionName" }, @@ -1158,4 +1182,3 @@ } } } - diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/tableAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/tableAuditing.json index bf0bc4b3382e..0e55fd776be8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/tableAuditing.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/tableAuditing.json @@ -25,7 +25,9 @@ "deprecated": true, "operationId": "ServerTableAuditingPolicies_Get", "x-ms-examples": { - "Get server table auditing policy": { "$ref": "./examples/ServerTableAuditingPolicyGet.json" } + "Get server table auditing policy": { + "$ref": "./examples/ServerTableAuditingPolicyGet.json" + } }, "parameters": [ { @@ -61,7 +63,9 @@ "deprecated": true, "operationId": "ServerTableAuditingPolicies_CreateOrUpdate", "x-ms-examples": { - "Create or update server table auditing policy": { "$ref": "./examples/ServerTableAuditingPolicyCreateOrUpdate.json" } + "Create or update server table auditing policy": { + "$ref": "./examples/ServerTableAuditingPolicyCreateOrUpdate.json" + } }, "parameters": [ { @@ -114,7 +118,9 @@ "deprecated": true, "operationId": "ServerTableAuditingPolicies_ListByServer", "x-ms-examples": { - "List server table auditing policy": { "$ref": "./examples/ServerTableAuditingPolicyList.json" } + "List server table auditing policy": { + "$ref": "./examples/ServerTableAuditingPolicyList.json" + } }, "parameters": [ { @@ -149,7 +155,9 @@ "deprecated": true, "operationId": "DatabaseTableAuditingPolicies_Get", "x-ms-examples": { - "Get database table auditing policy": { "$ref": "./examples/DatabaseTableAuditingPolicyGet.json" } + "Get database table auditing policy": { + "$ref": "./examples/DatabaseTableAuditingPolicyGet.json" + } }, "parameters": [ { @@ -192,7 +200,9 @@ "deprecated": true, "operationId": "DatabaseTableAuditingPolicies_CreateOrUpdate", "x-ms-examples": { - "Create or update database table auditing policy": { "$ref": "./examples/DatabaseTableAuditingPolicyCreateOrUpdate.json" } + "Create or update database table auditing policy": { + "$ref": "./examples/DatabaseTableAuditingPolicyCreateOrUpdate.json" + } }, "parameters": [ { @@ -252,7 +262,9 @@ "deprecated": true, "operationId": "DatabaseTableAuditingPolicies_ListByDatabase", "x-ms-examples": { - "Get database table auditing policy": { "$ref": "./examples/DatabaseTableAuditingPolicyGet.json" } + "Get database table auditing policy": { + "$ref": "./examples/DatabaseTableAuditingPolicyGet.json" + } }, "parameters": [ { @@ -294,7 +306,9 @@ "deprecated": true, "operationId": "DatabaseConnectionPolicies_Get", "x-ms-examples": { - "Get database table auditing policy": { "$ref": "./examples/DatabaseConnectionPolicyGet.json" } + "Get database table auditing policy": { + "$ref": "./examples/DatabaseConnectionPolicyGet.json" + } }, "parameters": [ { @@ -337,7 +351,9 @@ "deprecated": true, "operationId": "DatabaseConnectionPolicies_CreateOrUpdate", "x-ms-examples": { - "Create or update database connection policy": { "$ref": "./examples/DatabaseConnectionPolicyCreateOrUpdate.json" } + "Create or update database connection policy": { + "$ref": "./examples/DatabaseConnectionPolicyCreateOrUpdate.json" + } }, "parameters": [ { @@ -443,7 +459,7 @@ }, "DatabaseTableAuditingPolicyProperties": { "description": "Properties of a database table auditing policy.", - "properties":{ + "properties": { "useServerDefault": { "description": "Whether server default is enabled or disabled.", "type": "string" @@ -511,10 +527,10 @@ "type": "string", "readOnly": true }, - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Resource location." + "description": "Resource location." }, "properties": { "$ref": "#/definitions/DatabaseConnectionPolicyProperties", @@ -537,10 +553,10 @@ "type": "string", "readOnly": true }, - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Resource location." + "description": "Resource location." }, "properties": { "$ref": "#/definitions/DatabaseTableAuditingPolicyProperties", @@ -563,10 +579,10 @@ "type": "string", "readOnly": true }, - "location":{ - "type":"string", + "location": { + "type": "string", "readOnly": true, - "description":"Resource location." + "description": "Resource location." }, "properties": { "$ref": "#/definitions/ServerTableAuditingPolicyProperties", @@ -585,7 +601,9 @@ "description": "The list of database table auditing policies." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list database table auditing policies request." }, "ServerTableAuditingPolicyListResult": { @@ -598,7 +616,9 @@ "description": "The list of server table auditing policies." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list server table auditing policies request." } }, @@ -661,4 +681,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/usages.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/usages.json index 45cb444a751a..ec91f5abd6d8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/usages.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/usages.json @@ -16,15 +16,17 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages": { "get": { "tags": [ "Servers" ], "operationId": "ServerUsages_ListByServer", "description": "Returns server usages.", - "x-ms-examples":{ - "List servers usages": { "$ref": "./examples/ServerUsageMetricsList.json" } + "x-ms-examples": { + "List servers usages": { + "$ref": "./examples/ServerUsageMetricsList.json" + } }, "parameters": [ { @@ -61,7 +63,9 @@ "operationId": "DatabaseUsages_ListByDatabase", "description": "Returns database usages.", "x-ms-examples": { - "List database usage metrics": { "$ref": "./examples/DatabaseUsageMetricsList.json" } + "List database usage metrics": { + "$ref": "./examples/DatabaseUsageMetricsList.json" + } }, "parameters": [ { @@ -152,7 +156,9 @@ "description": "The list of server metrics for the server." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents the response to a list server metrics request." }, "DatabaseUsage": { @@ -208,7 +214,9 @@ "description": "The list of database usages for the database." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "The response to a list database metrics request." } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/capabilities.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/capabilities.json index 5326358b5bbe..265f8a349f74 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/capabilities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/capabilities.json @@ -548,4 +548,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/LocationCapabilityListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/LocationCapabilityListByLocation.json index b6a941e0310c..cacab8b2e541 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/LocationCapabilityListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/LocationCapabilityListByLocation.json @@ -10,17716 +10,17716 @@ "name": "East US 2 EUAP", "status": "Available", "supportedServerVersions": [ - { + { "name": "12.0", "supportedEditions": [ - { + { "name": "System", "supportedServiceLevelObjectives": [ - { + { "id": "26e021db-f1f9-4c98-84c6-92af8ef433d7", "name": "System", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "29dd7459-4a7c-4e56-be22-f0adda49440d", "name": "System0", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "c99ac918-dbea-463f-a475-16ec020fdc12", "name": "System1", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", "name": "System2", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "33d0db1f-6893-4210-99f9-463fb9b496a4", "name": "System3", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4", "name": "System4", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", "name": "System2L", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "e79cd55c-689f-48d9-bffa-0dd12c772248", "name": "System3L", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "id": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490", "name": "System4L", "supportedMaxSizes": [ - { + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "performanceLevel": { - "value": 0, - "unit": "DTU" + "value": 0, + "unit": "DTU" }, "includedMaxSize": { - "limit": 30720, - "unit": "Megabytes", - "status": "Available" + "limit": 30720, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - } + } ], "status": "Visible", "reason": "'System' is not a valid database edition in this version of SQL Server." - }, - { + }, + { "name": "Free", "supportedServiceLevelObjectives": [ - { + { "id": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", "name": "Free", "supportedMaxSizes": [ - { + { "limit": 32, "unit": "Megabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 5, - "unit": "DTU" + "value": 5, + "unit": "DTU" }, "includedMaxSize": { - "limit": 32, - "unit": "Megabytes", - "status": "Available" + "limit": 32, + "unit": "Megabytes", + "status": "Available" }, "status": "Default" - } + } ], "status": "Available" - }, - { + }, + { "name": "Basic", "supportedServiceLevelObjectives": [ - { + { "id": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", "name": "Basic", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 5, - "unit": "DTU" + "value": 5, + "unit": "DTU" }, "includedMaxSize": { - "limit": 2048, - "unit": "Megabytes", - "status": "Available" + "limit": 2048, + "unit": "Megabytes", + "status": "Available" }, "status": "Default" - } + } ], "status": "Available" - }, - { + }, + { "name": "Standard", "supportedServiceLevelObjectives": [ - { + { "id": "f1173c43-91bd-4aaa-973c-54e79e15235b", "name": "S0", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 10, - "unit": "DTU" + "value": 10, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Default" - }, - { + }, + { "id": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928", "name": "S1", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 20, - "unit": "DTU" + "value": 20, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "455330e1-00cd-488b-b5fa-177c226f28b7", "name": "S2", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 50, - "unit": "DTU" + "value": 50, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "789681b8-ca10-4eb0-bdf2-e0b050601b40", "name": "S3", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - } + } ], "performanceLevel": { - "value": 100, - "unit": "DTU" + "value": 100, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "3cf14e1a-0a5d-408c-bbc7-f63c5282f735", "name": "S4", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 200, - "unit": "DTU" + "value": 200, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "ab69b4e3-d7cc-4aa5-87a6-f8b50615a03c", "name": "S6", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 400, - "unit": "DTU" + "value": 400, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "b6ca0894-d2f0-4e40-99f5-0f8a93cc2437", "name": "S7", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 800, - "unit": "DTU" + "value": 800, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "0efa88e9-99ff-4e36-a148-8c4b20c0826c", "name": "S9", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 1600, - "unit": "DTU" + "value": 1600, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "98100e8b-2f8a-4a81-9eb5-4d1e675c5a29", "name": "S12", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 3000, - "unit": "DTU" + "value": 3000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Default" - }, - { + }, + { "name": "Premium", "supportedServiceLevelObjectives": [ - { + { "id": "7203483a-c4fb-4304-9e9f-17c71c904f5d", "name": "P1", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 125, - "unit": "DTU" + "value": 125, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", "name": "P2", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 250, - "unit": "DTU" + "value": 250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", "name": "P4", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 500, - "unit": "DTU" + "value": 500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "43940481-9191-475a-9dba-6b505615b9aa", "name": "P6", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 1000, - "unit": "DTU" + "value": 1000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "dd00d544-bbc0-4f61-ba60-cdce0c410288", "name": "P11", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 1750, - "unit": "DTU" + "value": 1750, + "unit": "DTU" }, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", "name": "P15", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 4000, - "unit": "DTU" + "value": 4000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "name": "PremiumRS", "supportedServiceLevelObjectives": [ - { + { "id": "dfdc102c-ed02-4349-9756-e227f0e43bb8", "name": "PRS1", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 125, - "unit": "DTU" + "value": 125, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "a089506e-b47a-4f42-8a32-cc19af4c86fb", "name": "PRS2", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 250, - "unit": "DTU" + "value": 250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "39cb8faf-cba8-4b1b-b580-1e1202f2a024", "name": "PRS4", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 500, - "unit": "DTU" + "value": 500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "1e8da92e-efcd-4682-9140-bf6582120d1f", "name": "PRS6", "supportedMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 1000, - "unit": "DTU" + "value": 1000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "name": "DataWarehouse", "supportedServiceLevelObjectives": [ - { + { "id": "4e63cb0e-91b9-46fd-b05c-51fdd2367618", "name": "DW100", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 750, - "unit": "DTU" + "value": 750, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Default" - }, - { + }, + { "id": "99e78a92-d724-4e1b-857b-2be661f3d153", "name": "DW200", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 1500, - "unit": "DTU" + "value": 1500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea", "name": "DW300", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 2250, - "unit": "DTU" + "value": 2250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af", "name": "DW400", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Default" - } + } ], "performanceLevel": { - "value": 3000, - "unit": "DTU" + "value": 3000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Available" - }, - { + }, + { "id": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", "name": "DW500", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 3750, - "unit": "DTU" + "value": 3750, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "efd65c5b-af7b-4389-9109-f6a69d6a3885", "name": "DW600", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 4500, - "unit": "DTU" + "value": 4500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", "name": "DW1000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 7500, - "unit": "DTU" + "value": 7500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "9a7a374e-b95c-4fd5-a68e-131d60796c47", "name": "DW1200", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 9000, - "unit": "DTU" + "value": 9000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "b930f58e-86b5-43e0-a2da-d8bf8769c557", "name": "DW1500", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 11250, - "unit": "DTU" + "value": 11250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "99165ede-a5ab-4b52-b317-e391d92ec370", "name": "DW2000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 15000, - "unit": "DTU" + "value": 15000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff", "name": "DW3000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 22500, - "unit": "DTU" + "value": 22500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "87835a29-f934-4b57-b40a-4224aec6f207", "name": "DW9000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 22500, - "unit": "DTU" + "value": 22500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4", "name": "DW6000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 45000, - "unit": "DTU" + "value": 45000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "20a07e2c-fd93-4c65-886e-c9bb9f6df331", "name": "DW18000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 45000, - "unit": "DTU" + "value": 45000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Available" - }, - { + }, + { "name": "Stretch", "supportedServiceLevelObjectives": [ - { + { "id": "9cfc850f-d57f-4760-b5a6-bb640d268bf0", "name": "DS100", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 750, - "unit": "DTU" + "value": 750, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "053407ef-f01c-46f4-b829-96e01a14f449", "name": "DS200", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 1500, - "unit": "DTU" + "value": 1500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "013a9e10-cafc-45a8-8fcf-93095655d2ce", "name": "DS300", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 2250, - "unit": "DTU" + "value": 2250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "79f61db4-8c10-46ba-a93a-d7d02dddd61c", "name": "DS400", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 3000, - "unit": "DTU" + "value": 3000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "44eaac33-df00-4ef4-a2bb-f7ff87899eea", "name": "DS500", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 3750, - "unit": "DTU" + "value": 3750, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", "name": "DS600", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 4500, - "unit": "DTU" + "value": 4500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "b9ed8f51-a414-42dc-8348-e4a1de25e12b", "name": "DS1000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 7500, - "unit": "DTU" + "value": 7500, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "07479569-6d70-47a5-8db6-0af55d34f2c1", "name": "DS1200", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 9000, - "unit": "DTU" + "value": 9000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "2d79baec-2879-46d5-9f5d-fb70eb004c4e", "name": "DS1500", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 11250, - "unit": "DTU" + "value": 11250, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "id": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", "name": "DS2000", "supportedMaxSizes": [ - { + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5120, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10240, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20480, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30720, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40960, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 51200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 61440, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 71680, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 81920, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 92160, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 245760, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "performanceLevel": { - "value": 15000, - "unit": "DTU" + "value": 15000, + "unit": "DTU" }, "includedMaxSize": { - "limit": 251658240, - "unit": "Megabytes", - "status": "Available" + "limit": 251658240, + "unit": "Megabytes", + "status": "Available" }, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedElasticPoolEditions": [ - { + { "name": "Standard", "supportedElasticPoolDtus": [ - { + { "limit": 50, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 51200, - "unit": "Megabytes", - "status": "Available" + "limit": 51200, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Default" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Available" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - } + } ], "status": "Available" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - }, - { + }, + { "limit": 20, "status": "Available" - } + } ], "status": "Available" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - }, - { + }, + { "limit": 20, "status": "Available" - }, - { + }, + { "limit": 50, "status": "Available" - } + } ], "status": "Default" - } + } ], "status": "Available" - }, - { + }, + { "limit": 100, "maxDatabaseCount": 200, "includedMaxSize": { - "limit": 102400, - "unit": "Megabytes", - "status": "Available" + "limit": 102400, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Default" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Available" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Default" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Available" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - } + } ], "status": "Available" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - }, - { + }, + { "limit": 20, "status": "Available" - } + } ], "status": "Available" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - }, - { + }, + { "limit": 20, "status": "Available" - }, - { + }, + { "limit": 50, "status": "Available" - } + } ], "status": "Available" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 10, "status": "Available" - }, - { + }, + { "limit": 20, "status": "Available" - }, - { + }, + { "limit": 50, "status": "Available" - }, - { + }, + { "limit": 100, "status": "Available" - } + } ], "status": "Default" - } + } ], "status": "Default" - }, - { + }, + { "limit": 200, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 204800, - "unit": "Megabytes", - "status": "Available" + "limit": 204800, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 307200, - "unit": "Megabytes", - "status": "Available" + "limit": 307200, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 409600, - "unit": "Megabytes", - "status": "Available" + "limit": 409600, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 819200, - "unit": "Megabytes", - "status": "Available" + "limit": 819200, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 1228800, - "unit": "Megabytes", - "status": "Available" + "limit": 1228800, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2359296, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2560000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2621440, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 1638400, - "unit": "Megabytes", - "status": "Available" + "limit": 1638400, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2359296, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2560000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2621440, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2883584, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3072000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3145728, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 2048000, - "unit": "Megabytes", - "status": "Available" + "limit": 2048000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2359296, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2560000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2621440, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2883584, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3072000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3145728, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3407872, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3670016, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 2560000, - "unit": "Megabytes", - "status": "Available" + "limit": 2560000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2359296, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2560000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2621440, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2883584, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3072000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3145728, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3407872, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3670016, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3932160, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 4194304, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3000, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 3072000, - "unit": "Megabytes", - "status": "Available" + "limit": 3072000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1228800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1310720, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1572864, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1638400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1835008, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2048000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2097152, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2359296, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2560000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2621440, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2883584, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3072000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3145728, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3407872, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3670016, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3932160, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 4194304, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 10, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Default" - }, - { + }, + { "name": "Premium", "supportedElasticPoolDtus": [ - { + { "limit": 125, "maxDatabaseCount": 50, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 768000, - "unit": "Megabytes", - "status": "Available" + "limit": 768000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1500, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2000, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2500, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3000, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 3500, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 4000, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 4000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1750, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 4000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "name": "Basic", "supportedElasticPoolDtus": [ - { + { "limit": 50, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 5000, - "unit": "Megabytes", - "status": "Available" + "limit": 5000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 5000, "unit": "Megabytes", "status": "Default" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Default" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 5, "status": "Available" - } + } ], "status": "Default" - } + } ], "status": "Default" - }, - { + }, + { "limit": 100, "maxDatabaseCount": 200, "includedMaxSize": { - "limit": 10000, - "unit": "Megabytes", - "status": "Available" + "limit": 10000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 10000, "unit": "Megabytes", "status": "Default" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Available" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Available" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Default" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Default" - }, - { + }, + { "limit": 5, "status": "Available" - } + } ], "status": "Default" - } + } ], "status": "Available" - }, - { + }, + { "limit": 200, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 20000, - "unit": "Megabytes", - "status": "Available" + "limit": 20000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 20000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 30000, - "unit": "Megabytes", - "status": "Available" + "limit": 30000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 30000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 40000, - "unit": "Megabytes", - "status": "Available" + "limit": 40000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 40000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 800, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 80000, - "unit": "Megabytes", - "status": "Available" + "limit": 80000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 80000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1200, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 120000, - "unit": "Megabytes", - "status": "Available" + "limit": 120000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 120000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1600, "maxDatabaseCount": 500, "includedMaxSize": { - "limit": 160000, - "unit": "Megabytes", - "status": "Available" + "limit": 160000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 160000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 5, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Available" - }, - { + }, + { "name": "PremiumRS", "supportedElasticPoolDtus": [ - { + { "limit": 125, "maxDatabaseCount": 50, "includedMaxSize": { - "limit": 256000, - "unit": "Megabytes", - "status": "Available" + "limit": 256000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 512000, - "unit": "Megabytes", - "status": "Available" + "limit": 512000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 768000, - "unit": "Megabytes", - "status": "Available" + "limit": 768000, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "maxDatabaseCount": 100, "includedMaxSize": { - "limit": 1048576, - "unit": "Megabytes", - "status": "Available" + "limit": 1048576, + "unit": "Megabytes", + "status": "Available" }, "supportedMaxSizes": [ - { + { "limit": 51200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 102400, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 153600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 204800, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 256000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 307200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 409600, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 512000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 768000, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 819200, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1048576, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxSizes": [ - { + { "limit": 100, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Megabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 2, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 5, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 10, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 20, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 30, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 40, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 100, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 150, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 200, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 300, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 400, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 750, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1024, "unit": "Gigabytes", "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "supportedPerDatabaseMaxDtus": [ - { + { "limit": 25, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "supportedPerDatabaseMinDtus": [ - { + { "limit": 0, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 25, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 50, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 75, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 125, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 250, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 500, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - }, - { + }, + { "limit": 1000, "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Visible", "reason": "Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses" - } + } ], "status": "Default" - } + } ] - } + } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageGet.json index 087d030032e5..e5a91cbee0bf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageGet.json @@ -1,30 +1,23 @@ { - "parameters": - { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "WestUS", - "usageName": "ServerQuota", - "api-version": "2015-05-01" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "WestUS", + "usageName": "ServerQuota", + "api-version": "2015-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "Regional Server Quota for West US", + "currentValue": 1.0, + "limit": 20.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", + "name": "ServerQuota", + "type": "Microsoft.Sql/locations/usages" + } } - , - "responses": - { - "200": - { - "body": - { - "properties": - { - "displayName": "Regional Server Quota for West US", - "currentValue": 1.0, - "limit": 20.0, - "unit": "Count" - } - , - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", - "name": "ServerQuota", - "type": "Microsoft.Sql/locations/usages" - } - } - } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageListByLocation.json index 88a778ecc534..b04f85d4874f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/examples/SubscriptionUsageListByLocation.json @@ -1,44 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "locationName": "WestUS", - "api-version": "2015-05-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "properties": { - "displayName": "Regional Server Quota for West US", - "currentValue": 1.0, - "limit": 20.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", - "name": "ServerQuota", - "type": "Microsoft.Sql/locations/usages" - }, { - "properties": { - "displayName": "Free Database Count per Subscription for West US", - "currentValue": 0.0, - "limit": 1.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseCount", - "name": "SubscriptionFreeDatabaseCount", - "type": "Microsoft.Sql/locations/usages" - }, { - "properties": { - "displayName": "Free to Basic Database Upgrade count-down in West US", - "currentValue": 365.0, - "limit": 365.0, - "unit": "Count" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseDaysLeft", - "name": "SubscriptionFreeDatabaseDaysLeft", - "type": "Microsoft.Sql/locations/usages" - }] - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "locationName": "WestUS", + "api-version": "2015-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "Regional Server Quota for West US", + "currentValue": 1.0, + "limit": 20.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/ServerQuota", + "name": "ServerQuota", + "type": "Microsoft.Sql/locations/usages" + }, + { + "properties": { + "displayName": "Free Database Count per Subscription for West US", + "currentValue": 0.0, + "limit": 1.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseCount", + "name": "SubscriptionFreeDatabaseCount", + "type": "Microsoft.Sql/locations/usages" + }, + { + "properties": { + "displayName": "Free to Basic Database Upgrade count-down in West US", + "currentValue": 365.0, + "limit": 365.0, + "unit": "Count" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/Onebox/usages/SubscriptionFreeDatabaseDaysLeft", + "name": "SubscriptionFreeDatabaseDaysLeft", + "type": "Microsoft.Sql/locations/usages" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/usages.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/usages.json index 2cded2b4cee1..03ce7493d5a4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/usages.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2015-05-01/usages.json @@ -257,4 +257,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/common/v1/types.json b/specification/sql/resource-manager/common/v1/types.json index fae061037f0f..61912dda86a3 100644 --- a/specification/sql/resource-manager/common/v1/types.json +++ b/specification/sql/resource-manager/common/v1/types.json @@ -1,159 +1,155 @@ { - "swagger":"2.0", - "info":{ - "version":"1.0", - "title":"Common types" + "swagger": "2.0", + "info": { + "version": "1.0", + "title": "Common types" + }, + "paths": {}, + "definitions": { + "Resource": { + "description": "ARM resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true }, - "paths":{ - + "ProxyResource": { + "description": "ARM proxy resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": {} }, - "definitions":{ - "Resource":{ - "description":"ARM resource.", - "type":"object", - "properties":{ - "id":{ - "description":"Resource ID.", - "type":"string", - "readOnly":true - }, - "name":{ - "description":"Resource name.", - "type":"string", - "readOnly":true - }, - "type":{ - "description":"Resource type.", - "type":"string", - "readOnly":true - } - }, - "x-ms-azure-resource":true - }, - "ProxyResource":{ - "description":"ARM proxy resource.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/Resource" - } - ], - "properties":{ - - } - }, - "TrackedResource":{ - "description":"ARM tracked top level resource.", - "required":[ - "location" - ], - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/Resource" - } - ], - "properties":{ - "location":{ - "description":"Resource location.", - "type":"string", - "x-ms-mutability":[ - "read", - "create" - ] - }, - "tags":{ - "description":"Resource tags.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "Sku":{ - "description":"The resource model definition representing SKU", - "properties":{ - "name":{ - "type":"string", - "description":"The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "tier":{ - "type":"string", - "description":"This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - }, - "size":{ - "type":"string", - "description":"The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "family":{ - "type":"string", - "description":"If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "capacity":{ - "type":"integer", - "format":"int32", - "description":"If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - } - }, - "required":[ - "name" + "TrackedResource": { + "description": "ARM tracked top level resource.", + "required": [ + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "description": "Resource location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" ] - }, - "ResourceIdentity":{ - "description":"Azure Active Directory identity configuration for a resource.", - "type":"object", - "properties":{ - "principalId":{ - "format":"uuid", - "description":"The Azure Active Directory principal id.", - "type":"string", - "readOnly":true - }, - "type":{ - "description":"The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.", - "enum":[ - "SystemAssigned" - ], - "type":"string", - "x-ms-enum":{ - "name":"IdentityType", - "modelAsString":true - } - }, - "tenantId":{ - "format":"uuid", - "description":"The Azure Active Directory tenant id.", - "type":"string", - "readOnly":true - } + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" } - } + } + } }, - "parameters":{ - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription ID that identifies an Azure subscription.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "The API version to use for the request.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "Sku": { + "description": "The resource model definition representing SKU", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" + }, + "tier": { + "type": "string", + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + } + }, + "required": [ + "name" + ] + }, + "ResourceIdentity": { + "description": "Azure Active Directory identity configuration for a resource.", + "type": "object", + "properties": { + "principalId": { + "format": "uuid", + "description": "The Azure Active Directory principal id.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.", + "enum": [ + "SystemAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true } + }, + "tenantId": { + "format": "uuid", + "description": "The Azure Active Directory tenant id.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" } - } \ No newline at end of file + } +} From 5cd2b731b16632419358fbb7f20433c8f05049ed Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:04:31 -0400 Subject: [PATCH 088/495] chore: jsonfmt storSimple1200Series (#6264) Ran `jsonfmt -w "specification/storSimple1200Series/**/*.json"` --- .../stable/2016-10-01/StorSimple.json | 2 +- .../AccessControlRecordsCreateOrUpdate.json | 2 +- .../examples/AccessControlRecordsDelete.json | 2 +- .../examples/AccessControlRecordsGet.json | 2 +- .../AccessControlRecordsListByManager.json | 2 +- .../2016-10-01/examples/AlertsClear.json | 2 +- .../examples/AlertsListByManager.json | 2 +- .../examples/AlertsSendTestEmail.json | 2 +- ...lableProviderOperationsCreateOrUpdate.json | 41 ++++++++++++++++--- .../BackupScheduleGroupsCreateOrUpdate.json | 2 +- .../examples/BackupScheduleGroupsDelete.json | 2 +- .../examples/BackupScheduleGroupsGet.json | 2 +- .../BackupScheduleGroupsListByDevice.json | 2 +- .../2016-10-01/examples/BackupsClone.json | 2 +- .../2016-10-01/examples/BackupsDelete.json | 2 +- .../examples/BackupsListByDevice.json | 2 +- .../examples/BackupsListByManager.json | 2 +- .../examples/ChapSettingsCreateOrUpdate.json | 2 +- .../examples/ChapSettingsDelete.json | 2 +- .../2016-10-01/examples/ChapSettingsGet.json | 2 +- .../examples/ChapSettingsListByDevice.json | 2 +- .../DevicesCreateOrUpdateAlertSettings.json | 2 +- ...DevicesCreateOrUpdateSecuritySettings.json | 2 +- .../examples/DevicesDeactivate.json | 2 +- .../2016-10-01/examples/DevicesDelete.json | 2 +- .../examples/DevicesDownloadUpdates.json | 2 +- .../2016-10-01/examples/DevicesFailover.json | 2 +- .../2016-10-01/examples/DevicesGet.json | 2 +- .../examples/DevicesGetAlertSettings.json | 2 +- .../examples/DevicesGetNetworkSettings.json | 2 +- .../examples/DevicesGetTimeSettings.json | 2 +- .../examples/DevicesGetUpdateSummary.json | 2 +- .../examples/DevicesInstallUpdates.json | 2 +- .../examples/DevicesListByManager.json | 2 +- .../examples/DevicesListFailoverTarget.json | 2 +- .../examples/DevicesListMetricDefinition.json | 2 +- .../examples/DevicesListMetrics.json | 2 +- .../2016-10-01/examples/DevicesPatch.json | 2 +- .../examples/DevicesScanForUpdates.json | 3 +- .../examples/FileServersBackupNow.json | 2 +- .../examples/FileServersCreateOrUpdate.json | 2 +- .../examples/FileServersDelete.json | 2 +- .../2016-10-01/examples/FileServersGet.json | 2 +- .../examples/FileServersListByDevice.json | 2 +- .../examples/FileServersListByManager.json | 2 +- .../FileServersListMetricDefinition.json | 2 +- .../examples/FileServersListMetrics.json | 2 +- .../examples/FileSharesCreateOrUpdate.json | 2 +- .../2016-10-01/examples/FileSharesDelete.json | 2 +- .../2016-10-01/examples/FileSharesGet.json | 2 +- .../examples/FileSharesListByDevice.json | 2 +- .../examples/FileSharesListByFileServer.json | 2 +- .../FileSharesListMetricDefinition.json | 2 +- .../examples/FileSharesListMetrics.json | 2 +- .../examples/IscsiDisksCreateOrUpdate.json | 2 +- .../2016-10-01/examples/IscsiDisksDelete.json | 2 +- .../2016-10-01/examples/IscsiDisksGet.json | 2 +- .../examples/IscsiDisksListByDevice.json | 2 +- .../examples/IscsiDisksListByIscsiServer.json | 2 +- .../IscsiDisksListMetricDefinition.json | 2 +- .../examples/IscsiDisksListMetrics.json | 2 +- .../examples/IscsiServersBackupNow.json | 2 +- .../examples/IscsiServersCreateOrUpdate.json | 2 +- .../examples/IscsiServersDelete.json | 2 +- .../2016-10-01/examples/IscsiServersGet.json | 2 +- .../examples/IscsiServersListByDevice.json | 2 +- .../examples/IscsiServersListByManager.json | 2 +- .../IscsiServersListMetricDefinition.json | 2 +- .../examples/IscsiServersListMetrics.json | 2 +- .../stable/2016-10-01/examples/JobsGet.json | 2 +- .../2016-10-01/examples/JobsListByDevice.json | 2 +- .../examples/JobsListByManager.json | 2 +- .../examples/ManagersCreateExtendedInfo.json | 2 +- .../examples/ManagersCreateOrUpdate.json | 2 +- .../2016-10-01/examples/ManagersDelete.json | 2 +- .../examples/ManagersDeleteExtendedInfo.json | 2 +- .../2016-10-01/examples/ManagersGet.json | 2 +- .../ManagersGetEncryptionSettings.json | 2 +- .../examples/ManagersGetExtendedInfo.json | 2 +- .../2016-10-01/examples/ManagersList.json | 4 +- .../examples/ManagersListByResourceGroup.json | 2 +- .../ManagersListMetricDefinition.json | 2 +- .../examples/ManagersListMetrics.json | 2 +- .../2016-10-01/examples/ManagersUpdate.json | 2 +- .../examples/ManagersUpdateExtendedInfo.json | 2 +- ...ManagersUploadRegistrationCertificate.json | 2 +- .../2016-10-01/examples/OperationsList.json | 2 - ...orageAccountCredentialsCreateOrUpdate.json | 2 +- .../StorageAccountCredentialsDelete.json | 2 +- .../StorageAccountCredentialsGet.json | 2 +- ...torageAccountCredentialsListByManager.json | 2 +- .../StorageDomainsCreateOrUpdate.json | 2 +- .../examples/StorageDomainsDelete.json | 2 +- .../examples/StorageDomainsGet.json | 2 +- .../examples/StorageDomainsListByManager.json | 2 +- 95 files changed, 130 insertions(+), 102 deletions(-) diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/StorSimple.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/StorSimple.json index 206bde7a5430..932f6b905cae 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/StorSimple.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/StorSimple.json @@ -9000,4 +9000,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json index 89ec99c76313..2d061e53b8c8 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -52,4 +52,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json index b3d2eb8a0fd2..bc16eaf2aa23 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json @@ -22,4 +22,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json index a8ee5d6f196e..125c2c5e9779 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json index 72bc7c71953f..b19ee7875ff9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json index cd94f47a01b4..a89870bfcfc2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json @@ -33,4 +33,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json index af2dbc9ec04f..626937dbfbb7 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json index e28e38219945..41e10692706d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json @@ -34,4 +34,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AvailableProviderOperationsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AvailableProviderOperationsCreateOrUpdate.json index 4f53fb71b836..296c84e4dfff 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AvailableProviderOperationsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AvailableProviderOperationsCreateOrUpdate.json @@ -10,16 +10,47 @@ "resourceTypes": [ { "resourceType": "managers", - "locations": [ "West US", "East US", "North Europe", "West Europe", "Brazil South", "East Asia", "West Central US", "Japan East", "Japan West", "Australia East", "Australia Southeast", "Southeast Asia", "East US 2 EUAP", "Central US EUAP" ], - "apiVersions": [ "2017-06-01", "2017-05-15", "2017-01-01", "2016-10-01", "2016-06-01", "2015-03-15", "2014-09-01" ] + "locations": [ + "West US", + "East US", + "North Europe", + "West Europe", + "Brazil South", + "East Asia", + "West Central US", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "Southeast Asia", + "East US 2 EUAP", + "Central US EUAP" + ], + "apiVersions": [ + "2017-06-01", + "2017-05-15", + "2017-01-01", + "2016-10-01", + "2016-06-01", + "2015-03-15", + "2014-09-01" + ] }, { "resourceType": "operations", - "locations": [ "West Central US", "Southeast Asia" ], - "apiVersions": [ "2016-10-01", "2016-06-01", "2015-03-15", "2014-09-01" ] + "locations": [ + "West Central US", + "Southeast Asia" + ], + "apiVersions": [ + "2016-10-01", + "2016-06-01", + "2015-03-15", + "2014-09-01" + ] } ], "registrationState": "Registered" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json index d0967df11948..c7d173b4a935 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json @@ -59,4 +59,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json index 0f5765877460..0dfb75402c8a 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json index 953561388a21..eb5c168af9e3 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json index 0b2d3d312932..32f6c881026d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json index bcf78d15670a..5aa5a38c12cc 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json @@ -60,4 +60,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json index e39ab87b9841..928ccb9ef2bb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json @@ -24,4 +24,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json index a833818fef07..e47b6934d9dd 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json index 0725551c3c3b..0abf6ab26b2d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json @@ -198,4 +198,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json index 4da916b3c910..e2ac7d0f0763 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json @@ -61,4 +61,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json index 51d75e891be0..2a49f6b662e9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json @@ -25,4 +25,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json index 71404c8e92ff..c235ab22508d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json index 6e90471b6659..44321bd52db2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json index 9b44d2138ffd..e8848ea7ffd7 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json @@ -53,4 +53,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json index ead3f1c0c8e2..b64d90ac61b6 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json @@ -23,4 +23,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json index f00312413751..8f1583571bb2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json index f00312413751..8f1583571bb2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json index e562f839a344..75eb768074e4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json index 3ecaf2462088..7847602ec1dc 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json @@ -23,4 +23,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json index d0f8cd1b3b32..ec2576d7600f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json index 87f1f43ca2f1..ef25fac04e3d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json index 9f422c31928b..497d995bc104 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json index 0bc5017f6ef4..0f7cb4f3acc5 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json index 33e2163043e5..a52983ac5142 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json index e562f839a344..75eb768074e4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json index 32418f545253..ea96b818b589 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json index 2557329c6b26..2cae414c570b 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json index 456676c4486a..59b89ba16818 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json @@ -100,4 +100,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json index 7b192a1a4f48..dc400c3b59de 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json index 82b399ad4578..4533d3cbb157 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json @@ -38,4 +38,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json index 69defe20536f..d3ca658cdb5b 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json @@ -23,6 +23,5 @@ "204": { "body": "" } - } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json index 53c48166be4b..626c6cb198b9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json index 720d0ce4d009..ca67541a5c4c 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json @@ -59,4 +59,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json index 5e34f0f32982..4d88975ec22e 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json index 676356d9a94a..3c420c0e3003 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json index f4023d48d0f0..1e8423c3beb9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json index dde0a2a8932e..a1f1b0e9d450 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json index 204b7d0835a1..83e4f7b380d0 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json index 86054e0c0aa1..82f203fadf9c 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json index a7ea37f539a4..934f819e383d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json @@ -66,4 +66,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json index acf5e446c7e3..321633dbccf6 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json @@ -24,4 +24,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json index d24e58127126..7c0ac21b2456 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json index 66be356ded51..38f8d832e674 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json index 37adc061078c..6da4c0512115 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json index 4da89f23934c..620874b2721d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json index 5714397daf15..c5bd3976d181 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json index b19b29b37580..ca4db292a6e6 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json @@ -66,4 +66,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json index afb366b64ea1..e9887ffdacfb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json @@ -24,4 +24,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json index f484d6c6b137..e202865d807a 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json index 02a62d13bcd8..2e794ae7ac43 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json index 49b08e7d58d3..f3628f9cd9e3 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json index 802f773e0d12..a85e6b0974d0 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json index 6f879c04da56..1f1e6eb647f2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json index 3afee190aad3..eefa7e45f1c9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json index f16a2634077d..deb51e92be5a 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json @@ -61,4 +61,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json index 2da3f10d0c9a..dbab611876b2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json index 51bbd364b49b..e7713fc401e5 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json index 51aa95124b94..e3ba826af67d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json index f14cf7628514..39971933a354 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json index 551f7db3f1b2..53ff60ce0e5d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json index 74f9e4ccbf04..a2125e9535e9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json index bd18c36a0d0a..afb792b5f832 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json index 4798a4979e72..be4a0a98d4a0 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json @@ -217,4 +217,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json index 1094e47d414b..c17dc3c2f9d2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json @@ -235,4 +235,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json index 238b95ae24b1..e20532ea32f9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json index ef8ec35e87de..55bb00da6304 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json index 484431fce595..4371a7be4ca2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json @@ -11,4 +11,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json index b602e6005358..21809246b735 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json index df510a09d7a9..c1e56a2dac0c 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json index f90a7a3a0032..daa6e0dbfbe5 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json index 63b7a9b6339d..0300728c4a69 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json index aaf395c7ced1..e29065c13ba9 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json @@ -49,8 +49,8 @@ "id": "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/GroupForArmAutomation/providers/Microsoft.StorSimple/Managers/GAuTosumanths-pc10227181824221", "type": "Microsoft.StorSimple/Managers" } - ] + ] } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json index 7e84da626b4b..53ba12fc2fb2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json index 44bf7f62613e..ad28714ad525 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json index cb4ed9df45d2..9db3035a1042 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json @@ -146,4 +146,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json index c18a39a93615..31ae5bee7b3f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json index 8ad43f802435..a39b16364880 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json index 6e40d58e34ee..8184705ef6af 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json index 5f3b732e257e..6a3e99eef092 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json @@ -1282,5 +1282,3 @@ } } } - - diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json index 880c300915a0..ed9a737cb881 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -65,4 +65,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json index feed4bfa19b2..feff0636054a 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json @@ -22,4 +22,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json index 092aee24d034..6a1409bc2852 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json index 2bd9c210ba93..587783c08264 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json index 5c8f5f92f282..8737f10beb67 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json @@ -58,4 +58,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json index 6e9dbc3366ff..01ee96e13103 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json @@ -22,4 +22,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json index 8e744ac0457f..5df1a133444b 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json index a86736574fbc..1835c819d983 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} From 7979db9a527d8fe7598f052d967e1df8d0ee56cd Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:05:14 -0400 Subject: [PATCH 089/495] chore: jsonfmt storsimple8000series (#6265) Ran `jsonfmt -w "specification/storsimple8000series/**/*.json"` --- .../examples/AccessControlRecordsCreateOrUpdate.json | 2 +- .../2017-06-01/examples/AccessControlRecordsDelete.json | 2 +- .../stable/2017-06-01/examples/AccessControlRecordsGet.json | 2 +- .../examples/AccessControlRecordsListByManager.json | 2 +- .../stable/2017-06-01/examples/AlertsClear.json | 2 +- .../stable/2017-06-01/examples/AlertsListByManager.json | 2 +- .../stable/2017-06-01/examples/AlertsSendTestEmail.json | 2 +- .../stable/2017-06-01/examples/BackupPoliciesBackupNow.json | 2 +- .../2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | 2 +- .../stable/2017-06-01/examples/BackupPoliciesDelete.json | 2 +- .../stable/2017-06-01/examples/BackupPoliciesGet.json | 2 +- .../2017-06-01/examples/BackupPoliciesListByDevice.json | 2 +- .../2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | 2 +- .../stable/2017-06-01/examples/BackupSchedulesDelete.json | 2 +- .../stable/2017-06-01/examples/BackupSchedulesGet.json | 2 +- .../examples/BackupSchedulesListByBackupPolicy.json | 2 +- .../stable/2017-06-01/examples/BackupsClone.json | 2 +- .../stable/2017-06-01/examples/BackupsDelete.json | 2 +- .../stable/2017-06-01/examples/BackupsListByDevice.json | 2 +- .../stable/2017-06-01/examples/BackupsRestore.json | 4 ++-- .../2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | 2 +- .../stable/2017-06-01/examples/BandwidthSettingsDelete.json | 2 +- .../stable/2017-06-01/examples/BandwidthSettingsGet.json | 2 +- .../2017-06-01/examples/BandwidthSettingsListByManager.json | 2 +- .../examples/CloudAppliancesListSupportedConfigurations.json | 2 +- .../stable/2017-06-01/examples/CloudAppliancesProvision.json | 2 +- .../examples/DeviceSettingsCreateOrUpdateAlertSettings.json | 2 +- .../examples/DeviceSettingsCreateOrUpdateTimeSettings.json | 2 +- .../2017-06-01/examples/DeviceSettingsGetAlertSettings.json | 2 +- .../2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | 2 +- .../examples/DeviceSettingsGetSecuritySettings.json | 2 +- .../2017-06-01/examples/DeviceSettingsGetTimeSettings.json | 2 +- .../DeviceSettingsSyncRemotemanagementCertificate.json | 2 +- .../examples/DeviceSettingsUpdateNetworkSettings.json | 2 +- .../examples/DeviceSettingsUpdateSecuritySettings.json | 2 +- .../DevicesAuthorizeForServiceEncryptionKeyRollover.json | 2 +- .../stable/2017-06-01/examples/DevicesConfigure.json | 2 +- .../stable/2017-06-01/examples/DevicesDeactivate.json | 2 +- .../stable/2017-06-01/examples/DevicesDelete.json | 2 +- .../stable/2017-06-01/examples/DevicesFailover.json | 2 +- .../stable/2017-06-01/examples/DevicesGet.json | 2 +- .../stable/2017-06-01/examples/DevicesGetUpdateSummary.json | 2 +- .../stable/2017-06-01/examples/DevicesInstallUpdates.json | 2 +- .../stable/2017-06-01/examples/DevicesListByManager.json | 2 +- .../stable/2017-06-01/examples/DevicesListFailoverSets.json | 2 +- .../2017-06-01/examples/DevicesListFailoverTargets.json | 2 +- .../2017-06-01/examples/DevicesListMetricDefinition.json | 2 +- .../stable/2017-06-01/examples/DevicesListMetrics.json | 2 +- .../stable/2017-06-01/examples/DevicesScanForUpdates.json | 2 +- .../stable/2017-06-01/examples/DevicesUpdate.json | 2 +- .../HardwareComponentGroupsChangeControllerPowerState.json | 2 +- .../examples/HardwareComponentGroupsListByDevice.json | 2 +- .../stable/2017-06-01/examples/JobsCancel.json | 2 +- .../stable/2017-06-01/examples/JobsGet.json | 2 +- .../stable/2017-06-01/examples/JobsListByDevice.json | 2 +- .../stable/2017-06-01/examples/JobsListByManager.json | 2 +- .../2017-06-01/examples/ManagersCreateExtendedInfo.json | 2 +- .../stable/2017-06-01/examples/ManagersCreateOrUpdate.json | 4 ++-- .../stable/2017-06-01/examples/ManagersDelete.json | 2 +- .../2017-06-01/examples/ManagersDeleteExtendedInfo.json | 2 +- .../stable/2017-06-01/examples/ManagersGet.json | 2 +- .../stable/2017-06-01/examples/ManagersGetActivationKey.json | 2 +- .../examples/ManagersGetDevicePublicEncryptionKey.json | 2 +- .../2017-06-01/examples/ManagersGetEncryptionSettings.json | 2 +- .../stable/2017-06-01/examples/ManagersGetExtendedInfo.json | 2 +- .../2017-06-01/examples/ManagersGetPublicEncryptionKey.json | 2 +- .../stable/2017-06-01/examples/ManagersList.json | 2 +- .../2017-06-01/examples/ManagersListByResourceGroup.json | 2 +- .../2017-06-01/examples/ManagersListFeatureSupportStatus.json | 2 +- .../2017-06-01/examples/ManagersListMetricDefinition.json | 2 +- .../stable/2017-06-01/examples/ManagersListMetrics.json | 2 +- .../2017-06-01/examples/ManagersRegenerateActivationKey.json | 2 +- .../stable/2017-06-01/examples/ManagersUpdate.json | 2 +- .../2017-06-01/examples/ManagersUpdateExtendedInfo.json | 2 +- .../stable/2017-06-01/examples/OperationsList.json | 2 -- .../examples/StorageAccountCredentialsCreateOrUpdate.json | 2 +- .../2017-06-01/examples/StorageAccountCredentialsDelete.json | 2 +- .../2017-06-01/examples/StorageAccountCredentialsGet.json | 2 +- .../examples/StorageAccountCredentialsListByManager.json | 2 +- .../2017-06-01/examples/VolumeContainersCreateOrUpdate.json | 2 +- .../stable/2017-06-01/examples/VolumeContainersDelete.json | 2 +- .../stable/2017-06-01/examples/VolumeContainersGet.json | 2 +- .../2017-06-01/examples/VolumeContainersListByDevice.json | 2 +- .../examples/VolumeContainersListMetricDefinition.json | 2 +- .../2017-06-01/examples/VolumeContainersListMetrics.json | 2 +- .../stable/2017-06-01/examples/VolumesCreateOrUpdate.json | 2 +- .../stable/2017-06-01/examples/VolumesDelete.json | 2 +- .../stable/2017-06-01/examples/VolumesGet.json | 2 +- .../stable/2017-06-01/examples/VolumesListByDevice.json | 2 +- .../2017-06-01/examples/VolumesListByVolumeContainer.json | 2 +- .../2017-06-01/examples/VolumesListMetricDefinition.json | 2 +- .../stable/2017-06-01/examples/VolumesListMetrics.json | 2 +- .../Microsoft.StorSimple/stable/2017-06-01/storsimple.json | 2 +- 93 files changed, 94 insertions(+), 96 deletions(-) diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json index 50b0761d0816..fd59bf61e70e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json index 37dc32272c47..1f1271cef74b 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json index c3d70c512832..a6aca38e8279 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json index 5402d3312556..12b801a6ab4d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json index 82ca7d973a2f..7290889ffb84 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json index ea388ee04d39..b5614778206f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json index e105c0584627..d8bb0e07573d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json index 0295fcf21edc..d594466be58c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json index 023995f3704e..ef960fc14488 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json index e53816e4de6f..92fa702dbb94 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json index a1ac42a7fdbe..d8af077bcd15 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json index 99330d1bac13..0d12120cef42 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json index c78de59d29db..e4e5e8662b9f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json @@ -34,4 +34,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json index 714ef0ca6aba..c2e7b139a0a1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json @@ -16,4 +16,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json index cc2568512d61..c56a8a45f8df 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json index 09c9f72ef8cd..6a98185eea25 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json index 39665ab50cd3..2107f54d211f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json @@ -34,4 +34,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json index 2826be6790a0..2962b76cbccc 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json index 023a40e697cb..c37954a36eec 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json index 1a3a24b6864b..3bafa725ff54 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json @@ -11,10 +11,10 @@ }, "responses": { "200": { - "body": "" + "body": "" }, "202": { "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json index b68c2940ca95..2850d62d632c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json @@ -37,4 +37,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json index 51793c2d04d9..fb88d0cce62e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json index a34cbc6cd000..bbd0d01cc40e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json index de3086052385..8c21d6eb655d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json @@ -113,4 +113,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json index 67e0847ef45f..49f10bda433c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json index 22a20eff912a..b5aa86efb7f6 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json index a7b5960aae39..cbce44eef9f7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json @@ -22,4 +22,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json index a58874039193..9b7bc9761b89 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json @@ -23,4 +23,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json index e4690adff858..ab7f321c1d0a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json index cf0fb50c5846..1bf665ab2e7b 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json index 79f11677a01b..9139ec2ff966 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json index bc9a5b3d48fb..888cbe67ad5a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json index ad9a503f34ea..5516e8326847 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json index 385227cac169..f60139eed9f1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json index 294daaf81efa..7cc7b56dbbec 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json @@ -45,4 +45,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json index 3362993d148b..f1cdbab261a4 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json index a49e6ea95b85..9bbeed98eda1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json @@ -23,4 +23,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json index c7edd2ef0b50..11d2e83ca85b 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json index 8958d2728313..4df17eaa164d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json index d6fe60c65200..3d881a921a04 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json @@ -18,4 +18,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json index 553af98b83c6..d51559ea910e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json index f04bba597b42..f4d1bed015e6 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json index e562f839a344..75eb768074e4 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json index e152d502dc2e..53501603df1b 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json index 45861eb7092c..5f29b6591b8e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json index 8f7656f666e2..2fc1b48706c1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json index 3354294ece07..708b30cdf8bc 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json @@ -895,4 +895,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json index 8b9a8b9c6797..27fb4c09355a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json index e562f839a344..75eb768074e4 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json index f1287b51e3b4..a2a40b90d127 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json index 750a9cf72bcc..36040718b062 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json @@ -21,4 +21,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json index f227662ef1e8..91d769a2e2d9 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json index 51c84a7a7545..16762e269a93 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json index 906c7ab407c5..0f52cd4b4be3 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json index 8e0a19b7e396..68fc7fcf63fe 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json index 1775178c884a..23c3528a40dd 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json @@ -182,4 +182,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json index 9faa8b9acc49..35a6e9e6ae68 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json index 4e796a190221..d8986c558e92 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json @@ -52,6 +52,6 @@ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/ManagerForSDKTest2", "type": "Microsoft.StorSimple/Managers" } - } + } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json index 484431fce595..4371a7be4ca2 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json @@ -11,4 +11,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json index 6ae2f3d6181e..85f50b3d9e61 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json index f06bb9bec573..52e712db2100 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json index f1fc415f34a2..bb7159770c61 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json index 4b82cf55f773..706993f80903 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json index f0f0606c09e2..1d882582cf84 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json index 6b9a17194663..fb3437c4f9c0 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json index 93277aa6dfce..0f55aaef4092 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json index 7b021b399ffc..19f8976d3bab 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json index 625171969887..931eac32da66 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json index e462521886ab..2c94ee3f6e9a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json index 6457cfd0e7b1..68f89fbd6d87 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json @@ -130,4 +130,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json index 391c82980a67..a5ad1f3fc595 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json index 9af6bc872805..18bee3ffeb1b 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json index 95026a0b83ec..ed227588cef8 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json index 637c60916d66..02139dc2234e 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json index c3319c030ff0..43e14054ac4c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json @@ -1281,5 +1281,3 @@ } } } - - diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json index a98e99a9ff51..95bafa9e8c62 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -25,4 +25,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json index 174085749cc7..2f9d0e62f46f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json @@ -12,4 +12,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json index a67c7479a110..25ec7e0e07a5 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json index ca021fe25504..2eacc965b48c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json index a2393c0a1c4e..1872809b3e4c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json index a1336ee27a51..2203b40dbe2a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json index 4fcf64bc4aca..b6920ff0cf47 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json index 2d5191d54142..c02569a6e309 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json index 71722480bfcb..e13005f34921 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json @@ -361,4 +361,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json index d9bd7a2ba348..bda358463597 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json index 42d9211572a9..393b74f3ea4c 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json index a5f5d9513778..df3dc3612386 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json index 15e72e58e874..f87c325bbf49 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json index 8eaa8c2150d9..4a5f0420a7e4 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json @@ -81,4 +81,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json index 4cf435741ba7..c03a06fb7ff4 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json index 84e7d0c21beb..86ed2f1f2709 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json @@ -397,4 +397,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json index ccb1571737cf..3cf78147df2f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/storsimple.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/storsimple.json index ecbb6d852729..757f160e77aa 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/storsimple.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/storsimple.json @@ -8900,4 +8900,4 @@ ] } ] -} \ No newline at end of file +} From a03508f020d0cc08f42d7a640149b6ffb1981593 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:06:15 -0400 Subject: [PATCH 090/495] chore: jsonfmt trafficmanager (#6269) Ran `jsonfmt -w "specification/trafficmanager/**/*.json"` --- .../HeatMap-GET-With-Null-Values.json | 84 +++++----- .../HeatMap-GET-With-TopLeft-BotRight.json | 96 ++++++------ .../examples/HeatMap-GET.json | 86 +++++----- .../TrafficManagerUserMetricsKeys-DELETE.json | 2 +- .../TrafficManagerUserMetricsKeys-GET.json | 2 +- .../TrafficManagerUserMetricsKeys-PUT.json | 2 +- .../trafficmanageranalytics.json | 80 +++++----- .../stable/2015-11-01/trafficmanager.json | 94 +++++------ .../stable/2017-03-01/trafficmanager.json | 148 ++++++++++-------- .../examples/Endpoint-DELETE-External.json | 2 +- .../Endpoint-GET-External-WithGeoMapping.json | 2 +- .../Endpoint-GET-External-WithLocation.json | 2 +- .../Endpoint-PATCH-External-Target.json | 2 +- .../Endpoint-PUT-External-WithGeoMapping.json | 2 +- .../Endpoint-PUT-External-WithLocation.json | 2 +- .../GeographicHierarchy-GET-default.json | 2 +- ...ityTest_NameAvailable-POST-example-21.json | 2 +- ...Test_NameNotAvailable-POST-example-23.json | 2 +- .../2017-05-01/examples/Profile-DELETE.json | 2 +- .../examples/Profile-GET-ByResourceGroup.json | 2 +- .../examples/Profile-GET-BySubscription.json | 2 +- .../examples/Profile-GET-WithEndpoints.json | 2 +- .../examples/Profile-PATCH-MonitorConfig.json | 2 +- .../examples/Profile-PUT-NoEndpoints.json | 2 +- .../examples/Profile-PUT-WithEndpoints.json | 2 +- .../stable/2017-05-01/trafficmanager.json | 2 +- .../examples/Endpoint-DELETE-External.json | 2 +- .../Endpoint-GET-External-WithGeoMapping.json | 2 +- .../Endpoint-GET-External-WithLocation.json | 2 +- .../Endpoint-PATCH-External-Target.json | 2 +- .../Endpoint-PUT-External-WithGeoMapping.json | 2 +- .../Endpoint-PUT-External-WithLocation.json | 2 +- .../GeographicHierarchy-GET-default.json | 2 +- ...ityTest_NameAvailable-POST-example-21.json | 2 +- ...Test_NameNotAvailable-POST-example-23.json | 2 +- .../2018-02-01/examples/Profile-DELETE.json | 2 +- .../examples/Profile-GET-ByResourceGroup.json | 2 +- .../examples/Profile-GET-BySubscription.json | 2 +- .../examples/Profile-GET-WithEndpoints.json | 2 +- .../Profile-GET-WithTrafficViewEnabled.json | 2 +- .../examples/Profile-PATCH-MonitorConfig.json | 2 +- .../examples/Profile-PUT-NoEndpoints.json | 2 +- .../examples/Profile-PUT-WithEndpoints.json | 2 +- .../stable/2018-02-01/trafficmanager.json | 2 +- .../examples/Endpoint-DELETE-External.json | 2 +- .../Endpoint-GET-External-WithGeoMapping.json | 2 +- .../Endpoint-GET-External-WithLocation.json | 2 +- .../Endpoint-PATCH-External-Target.json | 2 +- ...dpoint-PUT-External-WithCustomHeaders.json | 35 ++++- .../Endpoint-PUT-External-WithGeoMapping.json | 2 +- .../Endpoint-PUT-External-WithLocation.json | 2 +- .../GeographicHierarchy-GET-default.json | 2 +- .../HeatMap-GET-With-Null-Values.json | 84 +++++----- .../HeatMap-GET-With-TopLeft-BotRight.json | 96 ++++++------ .../2018-03-01/examples/HeatMap-GET.json | 86 +++++----- ...ityTest_NameAvailable-POST-example-21.json | 2 +- ...Test_NameNotAvailable-POST-example-23.json | 2 +- .../2018-03-01/examples/Profile-DELETE.json | 2 +- .../examples/Profile-GET-ByResourceGroup.json | 2 +- .../examples/Profile-GET-BySubscription.json | 2 +- .../examples/Profile-GET-WithEndpoints.json | 2 +- .../Profile-GET-WithTrafficViewDisabled.json | 2 +- .../Profile-GET-WithTrafficViewEnabled.json | 2 +- .../examples/Profile-PATCH-MonitorConfig.json | 24 ++- .../examples/Profile-PUT-NoEndpoints.json | 2 +- .../examples/Profile-PUT-WithAliasing.json | 50 +++++- .../Profile-PUT-WithCustomHeaders.json | 67 +++++++- .../examples/Profile-PUT-WithEndpoints.json | 2 +- .../stable/2018-03-01/trafficmanager.json | 68 ++++---- .../examples/Endpoint-DELETE-External.json | 2 +- .../Endpoint-GET-External-WithGeoMapping.json | 2 +- .../Endpoint-GET-External-WithLocation.json | 2 +- ...dpoint-GET-External-WithSubnetMapping.json | 4 +- .../Endpoint-PATCH-External-Target.json | 2 +- ...dpoint-PUT-External-WithCustomHeaders.json | 35 ++++- .../Endpoint-PUT-External-WithGeoMapping.json | 2 +- .../Endpoint-PUT-External-WithLocation.json | 2 +- ...dpoint-PUT-External-WithSubnetMapping.json | 8 +- .../GeographicHierarchy-GET-default.json | 2 +- .../HeatMap-GET-With-Null-Values.json | 84 +++++----- .../HeatMap-GET-With-TopLeft-BotRight.json | 96 ++++++------ .../2018-04-01/examples/HeatMap-GET.json | 86 +++++----- ...ityTest_NameAvailable-POST-example-21.json | 2 +- ...Test_NameNotAvailable-POST-example-23.json | 2 +- .../2018-04-01/examples/Profile-DELETE.json | 2 +- .../examples/Profile-GET-ByResourceGroup.json | 2 +- .../examples/Profile-GET-BySubscription.json | 2 +- .../examples/Profile-GET-WithEndpoints.json | 2 +- .../Profile-GET-WithTrafficViewDisabled.json | 2 +- .../Profile-GET-WithTrafficViewEnabled.json | 2 +- .../examples/Profile-PATCH-MonitorConfig.json | 24 ++- .../examples/Profile-PUT-MultiValue.json | 2 +- .../examples/Profile-PUT-NoEndpoints.json | 2 +- .../examples/Profile-PUT-WithAliasing.json | 50 +++++- .../Profile-PUT-WithCustomHeaders.json | 67 +++++++- .../examples/Profile-PUT-WithEndpoints.json | 2 +- .../TrafficManagerUserMetricsKeys-DELETE.json | 2 +- .../TrafficManagerUserMetricsKeys-GET.json | 2 +- .../TrafficManagerUserMetricsKeys-PUT.json | 2 +- .../stable/2018-04-01/trafficmanager.json | 68 ++++---- 100 files changed, 1032 insertions(+), 740 deletions(-) diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-Null-Values.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-Null-Values.json index a0bbcbd25901..1e516a44b885 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-Null-Values.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-Null-Values.json @@ -16,52 +16,52 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 0, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 1, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 0, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 1, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "latency": 99, - "queryCount": 1000000 - }, - { - "endpointId": 1, - "latency": 1, - "queryCount": 1 - } - ] - }, - { - "latitude": 1.11, - "longitude": -2.35, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "queryCount": 100 - }, - { - "endpointId": 1, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "latency": 99, + "queryCount": 1000000 + }, + { + "endpointId": 1, + "latency": 1, + "queryCount": 1 + } + ] + }, + { + "latitude": 1.11, + "longitude": -2.35, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "queryCount": 100 + }, + { + "endpointId": 1, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json index 104e577dfc9d..de9ada96eaec 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -4,8 +4,14 @@ "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", "profileName": "azuresdkfornetautoresttrafficmanager3880", "heatMapType": "default", - "topLeft": [10.000,50.001], - "botRight": [-50.001,80.000], + "topLeft": [ + 10.000, + 50.001 + ], + "botRight": [ + -50.001, + 80.000 + ], "api-version": "2017-09-01-preview" }, "responses": { @@ -18,53 +24,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 9.99, - "longitude": 75.01, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -49.99, - "longitude": 51.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 9.99, + "longitude": 75.01, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -49.99, + "longitude": 51.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET.json index 43ef96d21449..09f9fb65d169 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/HeatMap-GET.json @@ -16,53 +16,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -99.99, - "longitude": 1.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -99.99, + "longitude": 1.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-DELETE.json index 9b10e4184296..4b7686c4e13e 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-DELETE.json @@ -8,4 +8,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-GET.json index 929499650e67..338818607503 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-GET.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-PUT.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-PUT.json index 850d1a825b9b..9e98035d9279 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-PUT.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/examples/TrafficManagerUserMetricsKeys-PUT.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/trafficmanageranalytics.json b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/trafficmanageranalytics.json index 961ee9351626..2cf73db0d653 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/trafficmanageranalytics.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/preview/2017-09-01-preview/trafficmanageranalytics.json @@ -45,7 +45,9 @@ "in": "path", "required": true, "type": "string", - "enum": [ "default" ], + "enum": [ + "default" + ], "description": "The type of HeatMap for the Traffic Manager profile." }, { @@ -366,19 +368,19 @@ }, "QueryExperience": { "properties": { - "endpointId": { - "type": "integer", - "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." - }, - "queryCount": { - "type": "integer", - "description": "The number of queries originating from this location." - }, - "latency": { - "type": "number", - "format": "double", - "description": "The latency experienced by queries originating from this location." - } + "endpointId": { + "type": "integer", + "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." + }, + "queryCount": { + "type": "integer", + "description": "The number of queries originating from this location." + }, + "latency": { + "type": "number", + "format": "double", + "description": "The latency experienced by queries originating from this location." + } }, "required": [ "endpointId", @@ -388,27 +390,27 @@ }, "TrafficFlow": { "properties": { - "sourceIp": { - "type": "string", - "description": "The IP address that this query experience originated from." - }, - "latitude": { - "type": "number", - "format": "double", - "description": "The approximate latitude that these queries originated from." - }, - "longitude": { - "type": "number", - "format": "double", - "description": "The approximate longitude that these queries originated from." - }, - "queryExperiences": { - "type": "array", - "description": "The query experiences produced in this HeatMap calculation.", - "items": { - "$ref": "#/definitions/QueryExperience" - } + "sourceIp": { + "type": "string", + "description": "The IP address that this query experience originated from." + }, + "latitude": { + "type": "number", + "format": "double", + "description": "The approximate latitude that these queries originated from." + }, + "longitude": { + "type": "number", + "format": "double", + "description": "The approximate longitude that these queries originated from." + }, + "queryExperiences": { + "type": "array", + "description": "The query experiences produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/QueryExperience" } + } }, "description": "Class representing a Traffic Manager HeatMap traffic flow properties." }, @@ -430,19 +432,19 @@ "TrafficManagerUserMetricsKeyModel": { "properties": { "id": { - "type" : "string", + "type": "string", "description": "Fully qualified resource Id for the resource. Ex - /providers/Microsoft.Network/trafficManagerUserMetricsKeys" }, "name": { - "type" : "string", + "type": "string", "description": "The word default." }, "type": { - "type" : "string", + "type": "string", "description": "The type of the resource. Ex- Microsoft.Network/trafficManagerUserMetricsKeys." }, "key": { - "type" : "string", + "type": "string", "description": "The key returned by the Real User Metrics operation." } }, @@ -488,4 +490,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2015-11-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2015-11-01/trafficmanager.json index 62593906011a..c69c150cdd4f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2015-11-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2015-11-01/trafficmanager.json @@ -71,10 +71,10 @@ ], "responses": { "200": { - "description": "The updated Traffic Manager endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The updated Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } } } }, @@ -122,10 +122,10 @@ ], "responses": { "200": { - "description": "The Traffic Manager endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } } } }, @@ -182,16 +182,16 @@ ], "responses": { "200": { - "description": "The created or updated Endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } }, "201": { - "description": "The created or updated Endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } } } }, @@ -239,10 +239,10 @@ ], "responses": { "200": { - "description": "" + "description": "" }, "204": { - "description": "" + "description": "" } } } @@ -270,10 +270,10 @@ ], "responses": { "200": { - "description": "", - "schema": { - "$ref": "#/definitions/TrafficManagerNameAvailability" - } + "description": "", + "schema": { + "$ref": "#/definitions/TrafficManagerNameAvailability" + } } } } @@ -305,9 +305,9 @@ ], "responses": { "200": { - "description": "", - "schema": { - "$ref": "#/definitions/ProfileListResult" + "description": "", + "schema": { + "$ref": "#/definitions/ProfileListResult" } } } @@ -333,9 +333,9 @@ ], "responses": { "200": { - "description": "", - "schema": { - "$ref": "#/definitions/ProfileListResult" + "description": "", + "schema": { + "$ref": "#/definitions/ProfileListResult" } } } @@ -372,10 +372,10 @@ ], "responses": { "200": { - "description": "The Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } } } }, @@ -418,16 +418,16 @@ ], "responses": { "200": { - "description": "The created or updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } }, "201": { - "description": "The created or updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } } } }, @@ -461,10 +461,10 @@ ], "responses": { "200": { - "description": "" + "description": "" }, "204": { - "description": "" + "description": "" } } }, @@ -507,10 +507,10 @@ ], "responses": { "200": { - "description": "The updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } } } } @@ -767,4 +767,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-03-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-03-01/trafficmanager.json index ac253634265d..ff689b736613 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-03-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-03-01/trafficmanager.json @@ -69,10 +69,10 @@ ], "responses": { "200": { - "description": "The updated Traffic Manager endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The updated Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -126,10 +126,10 @@ ], "responses": { "200": { - "description": "The Traffic Manager endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -192,16 +192,16 @@ ], "responses": { "200": { - "description": "The created or updated Endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } }, "201": { - "description": "The created or updated Endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -255,16 +255,16 @@ ], "responses": { "200": { - "description": "The Traffic Manager Endpoint was deleted successfully.", - "schema": { - "$ref": "#/definitions/DeleteOperationResult" - } + "description": "The Traffic Manager Endpoint was deleted successfully.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } }, "204": { - "description": "The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request.", - "schema": { - "$ref": "#/definitions/DeleteOperationResult" - } + "description": "The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -298,10 +298,10 @@ ], "responses": { "200": { - "description": "The Traffic Manager Name Availability.", - "schema": { - "$ref": "#/definitions/TrafficManagerNameAvailability" - } + "description": "The Traffic Manager Name Availability.", + "schema": { + "$ref": "#/definitions/TrafficManagerNameAvailability" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -339,9 +339,9 @@ ], "responses": { "200": { - "description": "The list of Traffic Manager profiles.", - "schema": { - "$ref": "#/definitions/ProfileListResult" + "description": "The list of Traffic Manager profiles.", + "schema": { + "$ref": "#/definitions/ProfileListResult" } }, "default": { @@ -373,9 +373,9 @@ ], "responses": { "200": { - "description": "The list of Traffic Manager profiles.", - "schema": { - "$ref": "#/definitions/ProfileListResult" + "description": "The list of Traffic Manager profiles.", + "schema": { + "$ref": "#/definitions/ProfileListResult" } }, "default": { @@ -418,10 +418,10 @@ ], "responses": { "200": { - "description": "The Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -470,16 +470,16 @@ ], "responses": { "200": { - "description": "The created or updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } }, "201": { - "description": "The created or updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -519,16 +519,16 @@ ], "responses": { "200": { - "description": "The Traffic Manager Profile was deleted successfully.", - "schema": { - "$ref": "#/definitions/DeleteOperationResult" - } + "description": "The Traffic Manager Profile was deleted successfully.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } }, "204": { - "description": "The profile does not exist. It could have been deleted on a previous request.", - "schema": { - "$ref": "#/definitions/DeleteOperationResult" - } + "description": "The profile does not exist. It could have been deleted on a previous request.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -577,10 +577,10 @@ ], "responses": { "200": { - "description": "The updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } + "description": "The updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -605,10 +605,10 @@ ], "responses": { "200": { - "description": "The default Geographic Hierarchy.", - "schema": { - "$ref": "#/definitions/TrafficManagerGeographicHierarchy" - } + "description": "The default Geographic Hierarchy.", + "schema": { + "$ref": "#/definitions/TrafficManagerGeographicHierarchy" + } }, "default": { "description": "Default response. It will be deserialized as per the Error definition.", @@ -918,18 +918,30 @@ }, "CloudError": { "type": "object", - "properties": { "error": { "$ref": "#/definitions/CloudErrorBody" } }, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody" + } + }, "x-ms-external": true }, "CloudErrorBody": { "type": "object", "properties": { - "code": { "type": "string" }, - "message": { "type": "string" }, - "target": { "type": "string" }, + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + }, "details": { "type": "array", - "items": { "$ref": "#/definitions/CloudErrorBody" } + "items": { + "$ref": "#/definitions/CloudErrorBody" + } } }, "x-ms-external": true @@ -951,4 +963,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-DELETE-External.json index 9143454a9126..6e3ec4ce8109 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-DELETE-External.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-DELETE-External.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json index a70078bf3634..5efc62ee6d3d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithLocation.json index 53ff508ad1c9..7ad9b523d9fd 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-GET-External-WithLocation.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PATCH-External-Target.json index 0aca89f118e0..46545abe0fff 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PATCH-External-Target.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PATCH-External-Target.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json index 1cbe461a0f39..8e130e64d3d0 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json index 32d7d5ed530a..fe4656c9fe68 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/GeographicHierarchy-GET-default.json index 061d9b63134c..366593479093 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/GeographicHierarchy-GET-default.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/GeographicHierarchy-GET-default.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json index ee69c6d3a24a..1785688a3844 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json index c94d59401ab6..c76ce8bd1432 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-DELETE.json index 71f1ca52ba03..cdeb6884165f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-DELETE.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-ByResourceGroup.json index 4c09c9413014..b914da5a5953 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-ByResourceGroup.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-ByResourceGroup.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-BySubscription.json index 4a82cb5e7e67..8b4cbba731fb 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-BySubscription.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-BySubscription.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-WithEndpoints.json index 49844f988a53..b9ed7bf7cb6d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-GET-WithEndpoints.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PATCH-MonitorConfig.json index e9fb28dc0d25..e81be9576a43 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PATCH-MonitorConfig.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PATCH-MonitorConfig.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-NoEndpoints.json index ae79c6653f34..d842fa7a1758 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-NoEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-NoEndpoints.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-WithEndpoints.json index a5fb579a2f8f..1405a9ec564d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/examples/Profile-PUT-WithEndpoints.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/trafficmanager.json index 88ff6ca507b9..36a8c32dda02 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2017-05-01/trafficmanager.json @@ -1142,4 +1142,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-DELETE-External.json index cf9a541ea7d3..322e37ce3b33 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-DELETE-External.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-DELETE-External.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithGeoMapping.json index 45d0ecc6d06a..af25faaf8112 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithLocation.json index 2a9bbf47f297..978a888037a1 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-GET-External-WithLocation.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PATCH-External-Target.json index 90fff205164d..db09153b3c78 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PATCH-External-Target.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PATCH-External-Target.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithGeoMapping.json index d830e528140c..b476f95e4f71 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithLocation.json index 1275f5b23f2e..408e0ba34104 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Endpoint-PUT-External-WithLocation.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/GeographicHierarchy-GET-default.json index 785c1b6a6118..c8b156ef9684 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/GeographicHierarchy-GET-default.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/GeographicHierarchy-GET-default.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json index a106b8727712..872d6b873f30 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json index 183452fbf631..730a0b470b0f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-DELETE.json index bedfca67b180..00c9878643a1 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-DELETE.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-ByResourceGroup.json index 106a9f4f1ebb..e1015385e5da 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-ByResourceGroup.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-ByResourceGroup.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-BySubscription.json index f0a05fa4bc3b..65da2caafa3f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-BySubscription.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-BySubscription.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithEndpoints.json index b1bcfde63a56..6d8aa6b5e91a 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithEndpoints.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithTrafficViewEnabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithTrafficViewEnabled.json index 4d10dfea66dc..42dd56399745 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithTrafficViewEnabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PATCH-MonitorConfig.json index 5e2d44cda189..0576067d3ee7 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PATCH-MonitorConfig.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PATCH-MonitorConfig.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-NoEndpoints.json index 13120a065bf7..1be093373553 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-NoEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-NoEndpoints.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-WithEndpoints.json index 20ae44cafba6..20fd95d0b65c 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/examples/Profile-PUT-WithEndpoints.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/trafficmanager.json index 7da99e4bf151..325b69f73f1d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-02-01/trafficmanager.json @@ -1154,4 +1154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-DELETE-External.json index 9143454a9126..6e3ec4ce8109 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-DELETE-External.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-DELETE-External.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithGeoMapping.json index a70078bf3634..5efc62ee6d3d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithLocation.json index 53ff508ad1c9..7ad9b523d9fd 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-GET-External-WithLocation.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PATCH-External-Target.json index 0aca89f118e0..46545abe0fff 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PATCH-External-Target.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PATCH-External-Target.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithCustomHeaders.json index 0bed49febc02..194ca426f6b0 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithCustomHeaders.json @@ -14,7 +14,16 @@ "endpointStatus": "Enabled", "endpointLocation": "North Europe", "trafficViewEnrollmentStatus": "Disabled", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } }, @@ -32,7 +41,16 @@ "priority": 1, "endpointLocation": "North Europe", "trafficViewEnrollmentStatus": "Disabled", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } }, @@ -49,9 +67,18 @@ "priority": 1, "endpointLocation": "North Europe", "trafficViewEnrollmentStatus": "Disabled", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithGeoMapping.json index 1cbe461a0f39..8e130e64d3d0 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithLocation.json index 32d7d5ed530a..fe4656c9fe68 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Endpoint-PUT-External-WithLocation.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/GeographicHierarchy-GET-default.json index 061d9b63134c..366593479093 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/GeographicHierarchy-GET-default.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/GeographicHierarchy-GET-default.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-Null-Values.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-Null-Values.json index a0bbcbd25901..1e516a44b885 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-Null-Values.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-Null-Values.json @@ -16,52 +16,52 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 0, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 1, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 0, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 1, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "latency": 99, - "queryCount": 1000000 - }, - { - "endpointId": 1, - "latency": 1, - "queryCount": 1 - } - ] - }, - { - "latitude": 1.11, - "longitude": -2.35, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "queryCount": 100 - }, - { - "endpointId": 1, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "latency": 99, + "queryCount": 1000000 + }, + { + "endpointId": 1, + "latency": 1, + "queryCount": 1 + } + ] + }, + { + "latitude": 1.11, + "longitude": -2.35, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "queryCount": 100 + }, + { + "endpointId": 1, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-TopLeft-BotRight.json index 104e577dfc9d..de9ada96eaec 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-TopLeft-BotRight.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -4,8 +4,14 @@ "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", "profileName": "azuresdkfornetautoresttrafficmanager3880", "heatMapType": "default", - "topLeft": [10.000,50.001], - "botRight": [-50.001,80.000], + "topLeft": [ + 10.000, + 50.001 + ], + "botRight": [ + -50.001, + 80.000 + ], "api-version": "2017-09-01-preview" }, "responses": { @@ -18,53 +24,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 9.99, - "longitude": 75.01, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -49.99, - "longitude": 51.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 9.99, + "longitude": 75.01, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -49.99, + "longitude": 51.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET.json index 43ef96d21449..09f9fb65d169 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/HeatMap-GET.json @@ -16,53 +16,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -99.99, - "longitude": 1.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -99.99, + "longitude": 1.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json index ee69c6d3a24a..1785688a3844 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json index c94d59401ab6..c76ce8bd1432 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-DELETE.json index 71f1ca52ba03..cdeb6884165f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-DELETE.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-ByResourceGroup.json index 4c09c9413014..b914da5a5953 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-ByResourceGroup.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-ByResourceGroup.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-BySubscription.json index 4a82cb5e7e67..8b4cbba731fb 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-BySubscription.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-BySubscription.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithEndpoints.json index 49844f988a53..b9ed7bf7cb6d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithEndpoints.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewDisabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewDisabled.json index 8a22dd795b61..a8d0d433dee0 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewDisabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewEnabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewEnabled.json index b17abf6c6dc0..b652fe627472 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewEnabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PATCH-MonitorConfig.json index 3316009739d0..683d98d1b446 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PATCH-MonitorConfig.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PATCH-MonitorConfig.json @@ -13,7 +13,16 @@ "intervalInSeconds": 30, "timeoutInSeconds": 6, "toleratedNumberOfFailures": 4, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } } @@ -42,7 +51,16 @@ "intervalInSeconds": 30, "toleratedNumberOfFailures": 4, "timeoutInSeconds": 6, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "endpoints": [ { @@ -63,4 +81,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-NoEndpoints.json index ae79c6653f34..d842fa7a1758 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-NoEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-NoEndpoints.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithAliasing.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithAliasing.json index ff5478ed8cfa..06211eb3c0cc 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithAliasing.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithAliasing.json @@ -20,7 +20,9 @@ "timeoutInSeconds": 5, "toleratedNumberOfFailures": 2 }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "name": "My external endpoint", @@ -59,9 +61,20 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", @@ -74,7 +87,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -103,9 +121,20 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", @@ -118,7 +147,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -126,4 +160,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithCustomHeaders.json index 652d2b5f4191..520964a2977a 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithCustomHeaders.json @@ -19,8 +19,26 @@ "intervalInSeconds": 10, "timeoutInSeconds": 5, "toleratedNumberOfFailures": 2, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}], - "expectedStatusCodeRanges" : [{"min":200, "max":205},{"min":400, "max":410}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "expectedStatusCodeRanges": [ + { + "min": 200, + "max": 205 + }, + { + "min": 400, + "max": 410 + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -31,7 +49,12 @@ "target": "foobar.contoso.com", "endpointStatus": "Enabled", "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -62,7 +85,16 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -77,7 +109,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -106,7 +143,16 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -121,7 +167,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -129,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithEndpoints.json index a5fb579a2f8f..1405a9ec564d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/examples/Profile-PUT-WithEndpoints.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/trafficmanager.json index b08443d2ee96..2491b8972e3a 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-03-01/trafficmanager.json @@ -902,19 +902,19 @@ }, "QueryExperience": { "properties": { - "endpointId": { - "type": "integer", - "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." - }, - "queryCount": { - "type": "integer", - "description": "The number of queries originating from this location." - }, - "latency": { - "type": "number", - "format": "double", - "description": "The latency experienced by queries originating from this location." - } + "endpointId": { + "type": "integer", + "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." + }, + "queryCount": { + "type": "integer", + "description": "The number of queries originating from this location." + }, + "latency": { + "type": "number", + "format": "double", + "description": "The latency experienced by queries originating from this location." + } }, "required": [ "endpointId", @@ -924,27 +924,27 @@ }, "TrafficFlow": { "properties": { - "sourceIp": { - "type": "string", - "description": "The IP address that this query experience originated from." - }, - "latitude": { - "type": "number", - "format": "double", - "description": "The approximate latitude that these queries originated from." - }, - "longitude": { - "type": "number", - "format": "double", - "description": "The approximate longitude that these queries originated from." - }, - "queryExperiences": { - "type": "array", - "description": "The query experiences produced in this HeatMap calculation.", - "items": { - "$ref": "#/definitions/QueryExperience" - } + "sourceIp": { + "type": "string", + "description": "The IP address that this query experience originated from." + }, + "latitude": { + "type": "number", + "format": "double", + "description": "The approximate latitude that these queries originated from." + }, + "longitude": { + "type": "number", + "format": "double", + "description": "The approximate longitude that these queries originated from." + }, + "queryExperiences": { + "type": "array", + "description": "The query experiences produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/QueryExperience" } + } }, "description": "Class representing a Traffic Manager HeatMap traffic flow properties." }, @@ -1412,4 +1412,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-DELETE-External.json index 84d5fc671d4f..016e19299949 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-DELETE-External.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-DELETE-External.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithGeoMapping.json index 4d4c52e14a35..733d0cc383e6 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithLocation.json index 9efe77ed65c4..f5818ea2e3ca 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json index 50af08bca284..740c4bc4e099 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -26,11 +26,11 @@ }, { "first": "25.26.27.28", - "last":"29.30.31.32" + "last": "29.30.31.32" } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PATCH-External-Target.json index 5c3c1158c3c4..0b0fae6b550a 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PATCH-External-Target.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PATCH-External-Target.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json index b69892fddea5..14bf2faba14d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json @@ -13,7 +13,16 @@ "target": "foobar.contoso.com", "endpointStatus": "Enabled", "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } }, @@ -30,7 +39,16 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } }, @@ -46,9 +64,18 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json index dab7a7a0a663..87e023137b94 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithLocation.json index 89ffcf8b3c6b..44ebf2cda5ef 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithLocation.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json index 2ac78d46d183..d67acd04bb5f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json @@ -19,7 +19,7 @@ }, { "first": "25.26.27.28", - "last":"29.30.31.32" + "last": "29.30.31.32" } ] } @@ -44,7 +44,7 @@ }, { "first": "25.26.27.28", - "last":"29.30.31.32" + "last": "29.30.31.32" } ] } @@ -68,11 +68,11 @@ }, { "first": "25.26.27.28", - "last":"29.30.31.32" + "last": "29.30.31.32" } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/GeographicHierarchy-GET-default.json index 8626483a26df..5bfeb8b9bbd4 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/GeographicHierarchy-GET-default.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/GeographicHierarchy-GET-default.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-Null-Values.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-Null-Values.json index e18faf87ffa2..d75b7716c4b8 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-Null-Values.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -16,52 +16,52 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 0, - "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 1, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 0, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 1, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "latency": 99, - "queryCount": 1000000 - }, - { - "endpointId": 1, - "latency": 1, - "queryCount": 1 - } - ] - }, - { - "latitude": 1.11, - "longitude": -2.35, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 0, - "queryCount": 100 - }, - { - "endpointId": 1, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "latency": 99, + "queryCount": 1000000 + }, + { + "endpointId": 1, + "latency": 1, + "queryCount": 1 + } + ] + }, + { + "latitude": 1.11, + "longitude": -2.35, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 0, + "queryCount": 100 + }, + { + "endpointId": 1, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json index b19dddf0f4d0..7f449944e6af 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -4,8 +4,14 @@ "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", "profileName": "azuresdkfornetautoresttrafficmanager3880", "heatMapType": "default", - "topLeft": [10.000,50.001], - "botRight": [-50.001,80.000], + "topLeft": [ + 10.000, + 50.001 + ], + "botRight": [ + -50.001, + 80.000 + ], "api-version": "2018-04-01" }, "responses": { @@ -18,53 +24,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 9.99, - "longitude": 75.01, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -49.99, - "longitude": 51.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 9.99, + "longitude": 75.01, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -49.99, + "longitude": 51.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET.json index 32419992b78d..0bf80535f13b 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HeatMap-GET.json @@ -16,53 +16,53 @@ "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ - { - "endpointId": 1, - "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" - }, - { - "endpointId": 2, - "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" - } + { + "endpointId": 1, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } ], "trafficFlows": [ - { - "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 99.222, - "queryCount": 1000000 - }, - { - "endpointId": 2, - "latency": 1.222, - "queryCount": 1 - } - ] - }, - { - "latitude": -99.99, - "longitude": 1.00, - "sourceIp": "2.255.1.1", - "queryExperiences": [ - { - "endpointId": 1, - "latency": 96.222, - "queryCount": 100 - }, - { - "endpointId": 2, - "latency": 4.222, - "queryCount": 500 - } - ] - } + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -99.99, + "longitude": 1.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } ] } } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json index 0e51da526d6f..a93539864b31 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json index 4a3ff028ab19..731268468825 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-DELETE.json index d81efc536936..bc40ff7e4787 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-DELETE.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-ByResourceGroup.json index 5476fec0da14..cd6dcc036659 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-ByResourceGroup.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-ByResourceGroup.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-BySubscription.json index 91a4627e4262..ac73a1d8be85 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-BySubscription.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-BySubscription.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithEndpoints.json index ef798bb44456..46939d168692 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithEndpoints.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewDisabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewDisabled.json index 33689840aefd..f33d2cd2b550 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewDisabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewEnabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewEnabled.json index 5d0ee32134be..6cbbdb652c68 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewEnabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PATCH-MonitorConfig.json index 5b83a6ae9694..3135c41dac37 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PATCH-MonitorConfig.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PATCH-MonitorConfig.json @@ -13,7 +13,16 @@ "intervalInSeconds": 30, "timeoutInSeconds": 6, "toleratedNumberOfFailures": 4, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] } } } @@ -42,7 +51,16 @@ "intervalInSeconds": 30, "toleratedNumberOfFailures": 4, "timeoutInSeconds": 6, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "endpoints": [ { @@ -63,4 +81,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-MultiValue.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-MultiValue.json index 79580fe6e72d..a4023542ad22 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-MultiValue.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-MultiValue.json @@ -83,4 +83,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-NoEndpoints.json index 191dc9d22cca..3fb1c0503814 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-NoEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-NoEndpoints.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithAliasing.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithAliasing.json index cdfe025865a6..11d6045c1bf2 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithAliasing.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithAliasing.json @@ -20,7 +20,9 @@ "timeoutInSeconds": 5, "toleratedNumberOfFailures": 2 }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "name": "My external endpoint", @@ -59,9 +61,20 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", @@ -74,7 +87,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -103,9 +121,20 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, - "allowedEndpointRecordTypes": ["DomainName"], + "allowedEndpointRecordTypes": [ + "DomainName" + ], "endpoints": [ { "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", @@ -118,7 +147,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -126,4 +160,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithCustomHeaders.json index 5d69ea98b659..0cc0c9e352e9 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithCustomHeaders.json @@ -19,8 +19,26 @@ "intervalInSeconds": 10, "timeoutInSeconds": 5, "toleratedNumberOfFailures": 2, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}], - "expectedStatusCodeRanges" : [{"min":200, "max":205},{"min":400, "max":410}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "expectedStatusCodeRanges": [ + { + "min": 200, + "max": 205 + }, + { + "min": 400, + "max": 410 + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -31,7 +49,12 @@ "target": "foobar.contoso.com", "endpointStatus": "Enabled", "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -62,7 +85,16 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -77,7 +109,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -106,7 +143,16 @@ "intervalInSeconds": 10, "toleratedNumberOfFailures": 2, "timeoutInSeconds": 5, - "customHeaders" : [{"name":"header-1", "value":"value-1"},{"name":"header-2", "value":"value-2"}] + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ] }, "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ @@ -121,7 +167,12 @@ "weight": 1, "priority": 1, "endpointLocation": "North Europe", - "customHeaders" : [{"name":"header-2", "value":"value-2-overridden"}] + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ] } } ] @@ -129,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithEndpoints.json index 725ceb58ae0c..0d7112968c1f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/Profile-PUT-WithEndpoints.json @@ -119,4 +119,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json index 5b2257eb820b..25460516b991 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json @@ -8,4 +8,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-GET.json index 8ac2b43365b5..7b8197c90fca 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-GET.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json index 13942c7d9a05..2b13e9398231 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/trafficmanager.json index 811e3679bf75..5f0ab4c10fb5 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-04-01/trafficmanager.json @@ -1049,19 +1049,19 @@ }, "QueryExperience": { "properties": { - "endpointId": { - "type": "integer", - "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." - }, - "queryCount": { - "type": "integer", - "description": "The number of queries originating from this location." - }, - "latency": { - "type": "number", - "format": "double", - "description": "The latency experienced by queries originating from this location." - } + "endpointId": { + "type": "integer", + "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." + }, + "queryCount": { + "type": "integer", + "description": "The number of queries originating from this location." + }, + "latency": { + "type": "number", + "format": "double", + "description": "The latency experienced by queries originating from this location." + } }, "required": [ "endpointId", @@ -1071,27 +1071,27 @@ }, "TrafficFlow": { "properties": { - "sourceIp": { - "type": "string", - "description": "The IP address that this query experience originated from." - }, - "latitude": { - "type": "number", - "format": "double", - "description": "The approximate latitude that these queries originated from." - }, - "longitude": { - "type": "number", - "format": "double", - "description": "The approximate longitude that these queries originated from." - }, - "queryExperiences": { - "type": "array", - "description": "The query experiences produced in this HeatMap calculation.", - "items": { - "$ref": "#/definitions/QueryExperience" - } + "sourceIp": { + "type": "string", + "description": "The IP address that this query experience originated from." + }, + "latitude": { + "type": "number", + "format": "double", + "description": "The approximate latitude that these queries originated from." + }, + "longitude": { + "type": "number", + "format": "double", + "description": "The approximate longitude that these queries originated from." + }, + "queryExperiences": { + "type": "array", + "description": "The query experiences produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/QueryExperience" } + } }, "description": "Class representing a Traffic Manager HeatMap traffic flow properties." }, @@ -1441,7 +1441,7 @@ "UserMetricsProperties": { "properties": { "key": { - "type" : "string", + "type": "string", "description": "The key returned by the User Metrics operation." } }, From a0ff8cb6633156cddfe66e77944e3aba99a005be Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:07:32 -0400 Subject: [PATCH 091/495] chore: jsonfmt web (#6271) * chore: jsonfmt web Ran `sonfmt -w "specification/web/**/*.json"` * fix: camelCase example parameter name --- .../CertificateRegistrationProvider.json | 2 +- .../2015-08-01/examples/ListOperations.json | 364 +- .../AppServiceCertificateOrders.json | 2 +- .../CertificateRegistrationProvider.json | 2 +- .../2018-02-01/examples/ListOperations.json | 364 +- .../DomainRegistrationProvider.json | 2 +- .../stable/2015-04-01/Domains.json | 2 +- .../examples/GetTopLevelDomain.json | 38 +- .../2015-04-01/examples/ListOperations.json | 204 +- .../ListTopLevelDomainAgreements.json | 52 +- .../examples/ListTopLevelDomains.json | 204 +- .../2015-04-01/examples/RenewDomain.json | 22 +- .../DomainRegistrationProvider.json | 2 +- .../stable/2018-02-01/Domains.json | 2 +- .../stable/2018-02-01/TopLevelDomains.json | 2 +- .../examples/GetTopLevelDomain.json | 36 +- .../2018-02-01/examples/ListOperations.json | 204 +- .../ListTopLevelDomainAgreements.json | 60 +- .../examples/ListTopLevelDomains.json | 186 +- .../2018-02-01/examples/RenewDomain.json | 22 +- .../logicAppsManagementClient.json | 53 +- .../stable/2015-08-01/service.json | 2 +- .../stable/2016-03-01/CommonDefinitions.json | 5448 ++++---- .../stable/2016-03-01/DeletedWebApps.json | 2 +- .../stable/2016-03-01/Diagnostics.json | 26 +- .../stable/2016-03-01/Provider.json | 2 +- .../stable/2016-03-01/Recommendations.json | 2 +- .../2016-03-01/ResourceHealthMetadata.json | 2 +- .../examples/CreateOrUpdateCertificate.json | 90 +- .../examples/DeleteCertificate.json | 22 +- .../Diagnostics_ExecuteSiteAnalysis.json | 262 +- .../Diagnostics_ExecuteSiteAnalysisSlot.json | 264 +- .../Diagnostics_ExecuteSiteDetector.json | 262 +- .../Diagnostics_ExecuteSiteDetectorSlot.json | 264 +- ...GetHostingEnvironmentDetectorResponse.json | 264 +- .../examples/Diagnostics_GetSiteAnalysis.json | 42 +- .../Diagnostics_GetSiteAnalysisSlot.json | 42 +- .../examples/Diagnostics_GetSiteDetector.json | 50 +- .../Diagnostics_GetSiteDetectorResponse.json | 264 +- ...agnostics_GetSiteDetectorResponseSlot.json | 266 +- .../Diagnostics_GetSiteDetectorSlot.json | 52 +- ...Diagnostics_GetSiteDiagnosticCategory.json | 40 +- ...nostics_GetSiteDiagnosticCategorySlot.json | 42 +- ...stHostingEnvironmentDetectorResponses.json | 53 +- .../Diagnostics_ListSiteAnalyses.json | 108 +- .../Diagnostics_ListSiteAnalysesSlot.json | 110 +- ...Diagnostics_ListSiteDetectorResponses.json | 53 +- ...nostics_ListSiteDetectorResponsesSlot.json | 55 +- .../Diagnostics_ListSiteDetectors.json | 462 +- .../Diagnostics_ListSiteDetectorsSlot.json | 126 +- ...gnostics_ListSiteDiagnosticCategories.json | 42 +- ...tics_ListSiteDiagnosticCategoriesSlot.json | 44 +- .../2016-03-01/examples/GetCertificate.json | 54 +- .../GetResourceHealthMetadataBySite.json | 42 +- .../examples/ListBillingMeters.json | 2 +- .../2016-03-01/examples/ListCertificates.json | 96 +- .../ListCertificatesByResourceGroup.json | 98 +- .../2016-03-01/examples/ListOperations.json | 11554 ++++++++-------- ...ResourceHealthMetadataByResourceGroup.json | 46 +- .../ListResourceHealthMetadataBySite.json | 50 +- ...tResourceHealthMetadataBySubscription.json | 44 +- .../2016-03-01/examples/PatchCertificate.json | 70 +- .../VerifyHostingEnvironmentVnet.json | 20 +- .../connectionGatewayInstallationsGet.json | 2 +- .../connectionGatewayInstallationsList.json | 2 +- .../connectionGatewaysCreateOrUpdate.json | 2 +- .../examples/connectionGatewaysDelete.json | 2 +- .../examples/connectionGatewaysGet.json | 2 +- .../examples/connectionGatewaysList.json | 2 +- ...connectionGatewaysListByResourceGroup.json | 2 +- .../examples/connectionGatewaysUpdate.json | 2 +- .../connectionsConfirmConsentCode.json | 2 +- .../examples/connectionsCreateOrUpdate.json | 2 +- .../examples/connectionsDelete.json | 2 +- .../2016-06-01/examples/connectionsGet.json | 2 +- .../2016-06-01/examples/connectionsList.json | 2 +- .../examples/connectionsListConsentLinks.json | 2 +- .../examples/connectionsUpdate.json | 2 +- .../examples/customApisCreateOrUpdate.json | 2 +- .../2016-06-01/examples/customApisDelete.json | 2 +- ...ustomApisExtractApiDefinitionFromWsdl.json | 2 +- .../2016-06-01/examples/customApisGet.json | 2 +- .../2016-06-01/examples/customApisList.json | 2 +- .../customApisListByResourceGroup.json | 14 +- .../customApisListWsdlInterfaces.json | 2 +- .../2016-06-01/examples/customApisMove.json | 2 +- .../2016-06-01/examples/customApisUpdate.json | 2 +- .../2016-06-01/examples/managedApisGet.json | 2 +- .../2016-06-01/examples/managedApisList.json | 2 +- .../2016-06-01/logicAppsManagementClient.json | 4124 +++--- .../stable/2016-08-01/WebApps.json | 2 - .../CreateOrUpdateAppServicePlan.json | 242 +- .../examples/DeleteAppServicePlan.json | 22 +- .../examples/GetAppServicePlan.json | 86 +- .../examples/ListAppServicePlans.json | 152 +- .../ListAppServicePlansByResourceGroup.json | 154 +- .../examples/PatchAppServicePlan.json | 164 +- .../stable/2018-02-01/Certificates.json | 2 +- .../stable/2018-02-01/DeletedWebApps.json | 2 +- .../stable/2018-02-01/Diagnostics.json | 2 +- .../2018-02-01/ResourceHealthMetadata.json | 2 +- .../CreateOrUpdateAppServicePlan.json | 242 +- .../examples/CreateOrUpdateCertificate.json | 90 +- .../examples/DeleteAppServicePlan.json | 22 +- .../examples/DeleteCertificate.json | 22 +- .../Diagnostics_ExecuteSiteAnalysis.json | 262 +- .../Diagnostics_ExecuteSiteAnalysisSlot.json | 264 +- .../Diagnostics_ExecuteSiteDetector.json | 262 +- .../Diagnostics_ExecuteSiteDetectorSlot.json | 264 +- ...GetHostingEnvironmentDetectorResponse.json | 264 +- .../examples/Diagnostics_GetSiteAnalysis.json | 42 +- .../Diagnostics_GetSiteAnalysisSlot.json | 42 +- .../examples/Diagnostics_GetSiteDetector.json | 50 +- .../Diagnostics_GetSiteDetectorResponse.json | 264 +- ...agnostics_GetSiteDetectorResponseSlot.json | 266 +- .../Diagnostics_GetSiteDetectorSlot.json | 52 +- ...Diagnostics_GetSiteDiagnosticCategory.json | 40 +- ...nostics_GetSiteDiagnosticCategorySlot.json | 42 +- ...stHostingEnvironmentDetectorResponses.json | 53 +- .../Diagnostics_ListSiteAnalyses.json | 108 +- .../Diagnostics_ListSiteAnalysesSlot.json | 110 +- ...Diagnostics_ListSiteDetectorResponses.json | 53 +- ...nostics_ListSiteDetectorResponsesSlot.json | 55 +- .../Diagnostics_ListSiteDetectors.json | 462 +- .../Diagnostics_ListSiteDetectorsSlot.json | 126 +- ...gnostics_ListSiteDiagnosticCategories.json | 42 +- ...tics_ListSiteDiagnosticCategoriesSlot.json | 44 +- .../examples/GetAppServicePlan.json | 86 +- .../2018-02-01/examples/GetCertificate.json | 54 +- .../examples/GetDeletedWebAppByLocation.json | 48 +- ...etInboundNetworkDependenciesEndpoints.json | 154 +- ...tOutboundNetworkDependenciesEndpoints.json | 1600 +-- .../GetResourceHealthMetadataBySite.json | 42 +- .../GetWebSiteNetworkTraceOperation.json | 62 +- .../examples/GetWebSiteNetworkTraces.json | 38 +- .../examples/ListAppServicePlans.json | 152 +- .../ListAppServicePlansByResourceGroup.json | 154 +- .../2018-02-01/examples/ListCertificates.json | 96 +- .../ListCertificatesByResourceGroup.json | 98 +- .../ListDeletedWebAppsByLocation.json | 56 +- .../2018-02-01/examples/ListOperations.json | 11554 ++++++++-------- ...ResourceHealthMetadataByResourceGroup.json | 46 +- .../ListResourceHealthMetadataBySite.json | 50 +- ...tResourceHealthMetadataBySubscription.json | 44 +- .../examples/PatchAppServicePlan.json | 164 +- .../2018-02-01/examples/PatchCertificate.json | 70 +- .../StartWebSiteNetworkTraceOperation.json | 62 +- .../examples/StopWebSiteNetworkTrace.json | 24 +- .../VerifyHostingEnvironmentVnet.json | 20 +- .../stable/2018-11-01/Certificates.json | 2 +- .../examples/CreateOrUpdateCertificate.json | 90 +- .../examples/DeleteCertificate.json | 22 +- .../2018-11-01/examples/GetCertificate.json | 54 +- .../GetWebSiteNetworkTraceOperation.json | 62 +- .../examples/GetWebSiteNetworkTraces.json | 38 +- .../2018-11-01/examples/ListCertificates.json | 96 +- .../ListCertificatesByResourceGroup.json | 98 +- .../2018-11-01/examples/PatchCertificate.json | 70 +- .../StartWebSiteNetworkTraceOperation.json | 62 +- .../examples/StopWebSiteNetworkTrace.json | 24 +- 160 files changed, 23272 insertions(+), 23245 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/CertificateRegistrationProvider.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/CertificateRegistrationProvider.json index 09cbda1a685f..4ed12ead6646 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/CertificateRegistrationProvider.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/CertificateRegistrationProvider.json @@ -82,4 +82,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/examples/ListOperations.json index 545747ce4314..a8a600bde59c 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2015-08-01/examples/ListOperations.json @@ -1,184 +1,184 @@ { - "parameters": { - "api-version": "2015-08-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Add or Update Certificate", - "description": "Add a new certificate or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Write", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Add or Update AppServiceCertificate", - "description": "Add a new certificateOrder or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Delete Certificate", - "description": "Delete an existing certificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Delete", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Delete AppServiceCertificate", - "description": "Delete an existing AppServiceCertificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Read", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Get CertificateOrders", - "description": "Get the list of CertificateOrders" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Get Certificates", - "description": "Get the list of certificates" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Reissue certificateorder", - "description": "Reissue an existing certificateorder" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Renew certificateorder", - "description": "Renew an existing certificateorder" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificateorder actions", - "description": "Retrieve the list of certificate actions" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificateorder email history", - "description": "Retrieve certificate email history" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Resend Certificateorder email", - "description": "Resend certificate email" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Verify domain ownership", - "description": "Verify domain ownership" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Resend request emails to another email address", - "description": "Resend request emails to another email address" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Retrieve site seal for an issued App Service Certificate", - "description": "Retrieve site seal for an issued App Service Certificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Provision service principal", - "description": "Provision service principal for service app principal" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificate Purchase Info Validation", - "description": "Validate certificate purchase object without submitting it" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/register/action", - "display": { - "provider": "Microsoft Certificates", - "resource": "Microsoft Certificates resource provider", - "operation": "Register Microsoft Certificates resource provider", - "description": "Register the Microsoft Certificates resource provider for the subscription" - }, - "origin": "user,system" - } - ] - } - } + "parameters": { + "api-version": "2015-08-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Add or Update Certificate", + "description": "Add a new certificate or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Write", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Add or Update AppServiceCertificate", + "description": "Add a new certificateOrder or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Delete Certificate", + "description": "Delete an existing certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Delete", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Delete AppServiceCertificate", + "description": "Delete an existing AppServiceCertificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Read", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Get CertificateOrders", + "description": "Get the list of CertificateOrders" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Get Certificates", + "description": "Get the list of certificates" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Reissue certificateorder", + "description": "Reissue an existing certificateorder" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Renew certificateorder", + "description": "Renew an existing certificateorder" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificateorder actions", + "description": "Retrieve the list of certificate actions" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificateorder email history", + "description": "Retrieve certificate email history" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Resend Certificateorder email", + "description": "Resend certificate email" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Verify domain ownership", + "description": "Verify domain ownership" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Resend request emails to another email address", + "description": "Resend request emails to another email address" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Retrieve site seal for an issued App Service Certificate", + "description": "Retrieve site seal for an issued App Service Certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Provision service principal", + "description": "Provision service principal for service app principal" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificate Purchase Info Validation", + "description": "Validate certificate purchase object without submitting it" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/register/action", + "display": { + "provider": "Microsoft Certificates", + "resource": "Microsoft Certificates resource provider", + "operation": "Register Microsoft Certificates resource provider", + "description": "Register the Microsoft Certificates resource provider for the subscription" + }, + "origin": "user,system" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/AppServiceCertificateOrders.json index cfe50dee347c..c51936a83831 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/AppServiceCertificateOrders.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/AppServiceCertificateOrders.json @@ -1647,4 +1647,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/CertificateRegistrationProvider.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/CertificateRegistrationProvider.json index 32a903547902..7bde35c0976e 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/CertificateRegistrationProvider.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/CertificateRegistrationProvider.json @@ -88,4 +88,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/examples/ListOperations.json index d9bf71e92ace..996ae614f7ec 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2018-02-01/examples/ListOperations.json @@ -1,184 +1,184 @@ { - "parameters": { - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Add or Update Certificate", - "description": "Add a new certificate or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Write", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Add or Update AppServiceCertificate", - "description": "Add a new certificateOrder or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Delete Certificate", - "description": "Delete an existing certificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Delete", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Delete AppServiceCertificate", - "description": "Delete an existing AppServiceCertificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/Read", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Get CertificateOrders", - "description": "Get the list of CertificateOrders" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read", - "display": { - "provider": "Microsoft Certificates", - "resource": "Certificate", - "operation": "Get Certificates", - "description": "Get the list of certificates" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Reissue certificateorder", - "description": "Reissue an existing certificateorder" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Renew certificateorder", - "description": "Renew an existing certificateorder" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificateorder actions", - "description": "Retrieve the list of certificate actions" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificateorder email history", - "description": "Retrieve certificate email history" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Resend Certificateorder email", - "description": "Resend certificate email" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Verify domain ownership", - "description": "Verify domain ownership" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Resend request emails to another email address", - "description": "Resend request emails to another email address" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Retrieve site seal for an issued App Service Certificate", - "description": "Retrieve site seal for an issued App Service Certificate" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Provision service principal", - "description": "Provision service principal for service app principal" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action", - "display": { - "provider": "Microsoft Certificates", - "resource": "AppServiceCertificate", - "operation": "Certificate Purchase Info Validation", - "description": "Validate certificate purchase object without submitting it" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.CertificateRegistration/register/action", - "display": { - "provider": "Microsoft Certificates", - "resource": "Microsoft Certificates resource provider", - "operation": "Register Microsoft Certificates resource provider", - "description": "Register the Microsoft Certificates resource provider for the subscription" - }, - "origin": "user,system" - } - ] - } - } + "parameters": { + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Add or Update Certificate", + "description": "Add a new certificate or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Write", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Add or Update AppServiceCertificate", + "description": "Add a new certificateOrder or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Delete Certificate", + "description": "Delete an existing certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Delete", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Delete AppServiceCertificate", + "description": "Delete an existing AppServiceCertificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/Read", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Get CertificateOrders", + "description": "Get the list of CertificateOrders" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read", + "display": { + "provider": "Microsoft Certificates", + "resource": "Certificate", + "operation": "Get Certificates", + "description": "Get the list of certificates" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Reissue certificateorder", + "description": "Reissue an existing certificateorder" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Renew certificateorder", + "description": "Renew an existing certificateorder" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificateorder actions", + "description": "Retrieve the list of certificate actions" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificateorder email history", + "description": "Retrieve certificate email history" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Resend Certificateorder email", + "description": "Resend certificate email" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Verify domain ownership", + "description": "Verify domain ownership" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Resend request emails to another email address", + "description": "Resend request emails to another email address" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Retrieve site seal for an issued App Service Certificate", + "description": "Retrieve site seal for an issued App Service Certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Provision service principal", + "description": "Provision service principal for service app principal" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action", + "display": { + "provider": "Microsoft Certificates", + "resource": "AppServiceCertificate", + "operation": "Certificate Purchase Info Validation", + "description": "Validate certificate purchase object without submitting it" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.CertificateRegistration/register/action", + "display": { + "provider": "Microsoft Certificates", + "resource": "Microsoft Certificates resource provider", + "operation": "Register Microsoft Certificates resource provider", + "description": "Register the Microsoft Certificates resource provider for the subscription" + }, + "origin": "user,system" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/DomainRegistrationProvider.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/DomainRegistrationProvider.json index ab1c4240f2f1..9946500ccabb 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/DomainRegistrationProvider.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/DomainRegistrationProvider.json @@ -82,4 +82,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/Domains.json index ec768049c2c8..d9f25cbd56c9 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/Domains.json @@ -1402,4 +1402,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/GetTopLevelDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/GetTopLevelDomain.json index d534fef13d60..7720473e022e 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/GetTopLevelDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/GetTopLevelDomain.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2015-04-01", - "name": "com" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", - "name": "com", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "com", - "privacy": true - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2015-04-01", + "name": "com" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", + "name": "com", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "com", + "privacy": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListOperations.json index 669b6a6dc1e2..6a3b39b7c7d8 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListOperations.json @@ -1,104 +1,104 @@ { - "parameters": { - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.DomainRegistration/domains/Read", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Get Domains", - "description": "Get the list of domains" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/Write", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Add or Update Domain", - "description": "Add a new Domain or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/Delete", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Delete Domain", - "description": "Delete an existing domain." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/operationresults/Read", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain operation", - "operation": "Get Domain Operation", - "description": "Get a domain operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/generateSsoRequest/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Control Center Single Sign On Request", - "operation": "Generate Domain Control Center Single Sign On Request", - "description": "Generate a request for signing into domain control center." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/validateDomainRegistrationInformation/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Validation", - "operation": "Domain Purchase Info Validation", - "description": "Validate domain purchase object without submitting it" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/checkDomainAvailability/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Availability Result", - "operation": "Check Domain Availability", - "description": "Check if a domain is available for purchase" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/listDomainRecommendations/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Recommendations", - "operation": "Retrieve Domain Recommendations", - "description": "Retrieve the list domain recommendations based on keywords" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/register/action", - "display": { - "provider": "Microsoft Domains", - "resource": "Microsoft Domains resource provider", - "operation": "Register Microsoft Domains resource provider", - "description": "Register the Microsoft Domains resource provider for the subscription" - }, - "origin": "user,system" - } - ] - } - } + "parameters": { + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.DomainRegistration/domains/Read", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Get Domains", + "description": "Get the list of domains" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/Write", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Add or Update Domain", + "description": "Add a new Domain or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/Delete", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Delete Domain", + "description": "Delete an existing domain." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/operationresults/Read", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain operation", + "operation": "Get Domain Operation", + "description": "Get a domain operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/generateSsoRequest/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Control Center Single Sign On Request", + "operation": "Generate Domain Control Center Single Sign On Request", + "description": "Generate a request for signing into domain control center." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/validateDomainRegistrationInformation/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Validation", + "operation": "Domain Purchase Info Validation", + "description": "Validate domain purchase object without submitting it" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/checkDomainAvailability/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Availability Result", + "operation": "Check Domain Availability", + "description": "Check if a domain is available for purchase" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/listDomainRecommendations/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Recommendations", + "operation": "Retrieve Domain Recommendations", + "description": "Retrieve the list domain recommendations based on keywords" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/register/action", + "display": { + "provider": "Microsoft Domains", + "resource": "Microsoft Domains resource provider", + "operation": "Register Microsoft Domains resource provider", + "description": "Register the Microsoft Domains resource provider for the subscription" + }, + "origin": "user,system" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomainAgreements.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomainAgreements.json index fc377af99e72..81471b97aca3 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomainAgreements.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomainAgreements.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "in", - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "agreementKey": "DNRA", - "title": "Domain Name Registration Agreement", - "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Registration Agreement\n
\n

Last Revised: October 6, 2017

\n

PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.

\r\n

1. OVERVIEW

\r\n

This Domain Name Registration Agreement (this \"Agreement\") is entered into by and between 510456, an individual (\"Azure\") and you, and is made effective as of the date of electronic acceptance.  This Agreement sets forth the terms and conditions of your use of Azure's Domain Name Registration services (the \"Domain Name Registration Services\" or the \"Services\"). The terms \"we\", \"us\" or \"our\" shall refer to Azure.  The terms \"you\", \"your\", \"User\" or \"customer\" shall refer to any individual or entity who accepts this Agreement.  Unless otherwise specified, nothing in this Agreement shall be deemed to confer any third-party rights or benefits.

\r\n

Your electronic acceptance of this Agreement signifies that you have read, understand, acknowledge and agree to be bound by this Agreement, which incorporates by reference each of (i) Azure’s Universal Terms of Service Agreement (\"UTOS\"), (ii) all agreements, guidelines, policies, practices, procedures, registration requirements or operational standards of the top-level domain (\"TLD\") in which you register any domain (“Registry Policies”), and (iii) any plan limits, product disclaimers or other restrictions presented to you on the Domain Name Registration Services landing page of the Azure website (this “Site”). 

\r\n

TO LINK TO AND REVIEW THE REGISTRY POLICIES FOR THE TLD IN WHICH YOU WISH TO REGISTER A DOMAIN NAME, PLEASE CLICK HERE   

\r\n

You acknowledge and agree that (i) Azure, in its sole and absolute discretion, may change or modify this Agreement, and any policies or agreements which are incorporated herein, at any time, and such changes or modifications shall be effective immediately upon posting to this Site, and (ii) your use of this Site or the Services found at this Site after such changes or modifications have been made shall constitute your acceptance of this Agreement as last revised.  If you do not agree to be bound by this Agreement as last revised, do not use (or continue to use) this Site or the Services found at this Site.  In addition, Azure may occasionally notify you of changes or modifications to this Agreement by email.  It is therefore very important that you keep your shopper account (“Shopper Account”) information, including your email address, current.  Azure assumes no liability or responsibility for your failure to receive an email notification if such failure results from an inaccurate or out-of-date email address.    Azure is not an Internet Corporation for Assigned Names and Numbers (\"ICANN\") accredited registrar; it is an authorized reseller of domain name registration services.  Accordingly, you acknowledge and agree that Azure may modify this Agreement in order to comply with any terms and conditions set forth by (i) the sponsoring registrar, (ii) ICANN, and/or (iii) the registry applicable to the TLD or country code top level domain (\"ccTLD\") in question.  As used herein, the terms \"registry\", \"Registry\", \"registry operator\" or \"Registry Operator\" shall refer to the registry applicable to the TLD or ccTLD in question.  To identify the sponsoring registrar, click here

\r\n

2. PROVISIONS SPECIFIC TO ALL REGISTRATIONS

\r\n

Unless otherwise noted, the provisions below in this Section 2 are generally applicable to all TLDs that we offer.  Special provisions specific to any TLD or ccTLD (those in addition to posted Registry Policies) are identified elsewhere below in this Agreement. 

\r\n
    \r\n
  1. \r\n
    Registry Policies. You agree to be bound by all Registry Policies (defined above in this Agreement) applicable to your domain name registration (at any level). IT IS YOUR RESPONSIBILITY TO VISIT THE APPLICABLE TLD SITE AND READ AND REVIEW ALL APPLICABLE REGISTRY POLICIES PRIOR TO YOUR REGISTRATION IN THE TLD.  REGISTRY POLICIES FOR EACH TLD CAN BE FOUND BY VISITING THE CORRESPONDING TLD LINK LISTED HERE.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator of the TLD in which the domain name registration is made is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the respective TLD. The third party beneficiary rights of the Registry Operator will survive any termination of this Agreement.    
    \r\n
  2. \r\n
  3. \r\n
    Registration Requirements.  To the extent any TLD or ccTLD requires you meet eligibility (e.g., residency for .JP, .EU, etc.), validation (e.g., DNS validation) or other authentication requirements as a condition to registering a domain name in the TLD, you agree that by submitting an application or registering or renewing your domain name, you represent and warrant that: (a) all information provided to register or renew the domain name (including all supporting documents, if any) is true, complete and correct, and is not misleading in any way, and the application is made in good faith; (b) you meet, and will continue to meet, the eligibility criteria prescribed in the Registry Policies for the applicable TLD for the duration of the domain name registration; (c) you have not previously submitted an application for the domain name with another registrar using the same eligibility criteria, and the other registrar has rejected the application (if applicable); (d) you acknowledge and agree that even if the domain name is accepted for registration, your entitlement to register the domain name may be challenged by others who claim to have an entitlement to the domain name; and (e) you acknowledge and agree that the Registry or the registrar can cancel the registration of the domain name if any of the warranties required are found to be untrue, incomplete, incorrect or misleading.
    \r\n
  4. \r\n
  5. \r\n
    Ownership.  You acknowledge and agree that registration of a domain name does not create any proprietary right for you, the registrar, or any other person in the name used as a domain name or the domain name registration and that the entry of a domain name in the Registry shall not be construed as evidence or ownership of the domain name registered as a domain name. You shall not in any way transfer or purport to transfer a proprietary right in any domain name registration or grant or purport to grant as security or in any other manner encumber or purport to encumber a domain name registration.
    \r\n
  6. \r\n
  7. \r\n
    ICANN Requirements. You agree to comply with the ICANN requirements, standards, policies, procedures, and practices for which each applicable Registry Operator has monitoring responsibility in accordance with the Registry Agreement between ICANN and itself or any other arrangement with ICANN.
    \r\n
  8. \r\n
  9. \r\n
    Indemnification of Registry.  You agree to indemnify, defend and hold harmless (within 30 days of demand) the Registry Operator and Registry Service Provider and their subcontractors, subsidiaries, affiliates, divisions, shareholders, directors, officers, employees, accountants, attorneys, insurers, agents, predecessors, successors and assigns, from and against any and all claims, demands, damages, losses, costs, expenses, causes of action or other liabilities of any kind, whether known or unknown, including reasonable legal and attorney’s fees and expenses, in any way arising out of, relating to, or otherwise in connection with the your domain name registration, including, without limitation, the use, registration, extension, renewal, deletion, and/or transfer thereof and/or the violation of any applicable terms or conditions governing the registration. You shall not enter into any settlement or compromise of any such indemnifiable claim without Registrar’s or Registry Operator’s prior written consent, which consent shall not be unreasonably withheld, and you agree that these indemnification obligations shall survive the termination or expiration of the Agreement for any reason.  IN NO EVENT SHALL THE REGISTRY OPERATOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFIT OR GOODWILL, FOR ANY MATTER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTIES, EITHER EXPRESS OR IMPLIED, ANY BREACH OF THIS AGREEMENT OR ITS INCORPORATED AGREEMENTS AND POLICIES YOUR INABILITY TO USE THE DOMAIN NAME, YOUR LOSS OF DATA OR FILES OR OTHERWISE, EVEN IF THE REGISTRY OPERATOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    \r\n
  10. \r\n
  11. \r\n
    Regulated TLDs.   For domain name registration in any “Regulated” TLD, you acknowledge and agree your registration is subject to the following additional requirements: (a) comply with all applicable laws, including those that relate to privacy, data collection, consumer protection (including in relation to misleading and deceptive conduct), fair lending, debt collection, organic farming, disclosure of data, and financial disclosures; (b) if you collect and maintain sensitive health and financial data you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  Regulated TLDs include: .games, .juegos, .school, .schule, .toys, .eco, .care, .diet, .fitness, .health, .clinic, .dental, .healthcare, .capital, .cash, .broker, .claims, .exchange, .finance, .financial, .fund, .investments, .lease, .loans, .market, .money, .trading, .credit, .insure, .tax, .mortgage, .degree, .mba, .audio, .book, .broadway, .film, .movie, .music, .software, .fashion, .video, .app, .art, .band, .cloud, .data, .digital, .fan, .free, .gratis, .discount, .sale, .media, .news, .online, .pictures, .radio, .show, .theater, .tours, .accountants, .architect, .associates, .broker, .legal, .realty, .vet, .engineering, .law, .limited, .show; .theater; .town, .city, .reise, and .reisen
    \r\n
  12. \r\n
  13. \r\n
    Highly Regulated TLDs. In addition to the requirements for Regulated TLDs, domain name registration in any Highly-Regulated TLD is subject to the following requirements: (a) you will provide administrative contact information, which must be kept up‐to‐date, for the notification of complaints or reports of registration abuse, as well as the contact details of the relevant regulatory, or Industry self‐regulatory, bodies in their main place of business; (b) you represent that you possess any necessary authorizations, charters, licenses and/or other related credentials for participation in the sector associated with such Highly‐regulated TLD; and (c) you will report any material changes to the validity of you authorizations, charters, licenses and/or other related credentials for participation in the sector associated with the Highly‐regulated TLD to ensure you continue to conform to the appropriate regulations and licensing requirements and generally conduct your activities in the interests of the consumers they serve.  Highly Regulated TLDs include: .abogado, .attorney, .bank, .bet, .bingo, .casino .charity (and IDN equivalent xn--30rr7y), .cpa, .corp, creditcard, .creditunion .dds, .dentist, .doctor, .fail, .gmbh, .gripe, .hospital, .inc, .insurance, .lawyer, .lifeinsurance, .llc, .llp, .ltda, .medical, .mutuelle, .pharmacy, .poker, .university, .sarl, .spreadbetting, .srl, .sucks, .surgery .university, .vermogensberater, .vesicherung,  and .wtf.  For .doctor, registrants who hold themselves out to be licensed medical practitioners must be able to demonstrate to the Registrar and Registry, upon request, that they hold the applicable license.
    \r\n
  14. \r\n
  15. \r\n
    Special Safeguard TLDs.  In addition to the requirements for Regulated and Highly-Regulated TLDs, by registering a domain name in any “Special-Safeguard” TLD, you agree to take reasonable steps to avoid misrepresenting or falsely implying that you or your business is affiliated with, sponsored or endorsed by one or more country's or government's military forces if such affiliation, sponsorship or endorsement does not exist.  Special Safeguard TLDs include:  .army, .navy, .airforce
    \r\n
  16. \r\n
  17. \r\n
    Third Party Beneficiary.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator for any TLD in which your register a domain name is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the TLD. Third party beneficiary rights of the Registry Operator shall survive any termination of this Agreement.
    \r\n
  18. \r\n
  19. \r\n
    Variable and Non-Uniform Pricing.  You acknowledge, understand and agree that certain domain names in certain TLDs are established by Registry Policies to be variably priced (i.e., standard v. premium names) and/or may have non-uniform renewal registration pricing (such that the Fee for a domain name registration renewal may differ from other domain names in the same TLD, e.g., renewal registration for one domain may be $100.00 and $33.00 for a different domain name).
    \r\n
  20. \r\n
  21. \r\n
    Restriction on Availability of Privacy or Proxy.  You acknowledge and agree that, as dictated by the Registry Policies, for certain TLDs you may not be permitted to purchase private or proxy TLD registrations. In such case, you must register for any and all TLD registrations using your personal information, which information you represent and warrant is current, accurate and complete.
    \r\n
  22. \r\n
\r\n

3. FEES AND PAYMENTS

\r\n

(A) GENERAL TERMS, INCLUDING AUTOMATIC RENEWAL TERMS

\r\n

You agree to pay any and all prices and fees due for Services purchased or obtained at this Site at the time you order the Services.  Azure expressly reserves the right to change or modify its prices and fees at any time, and such changes or modifications shall be posted online at this Site and effective immediately without need for further notice to you.  If you have purchased or obtained Services for a period of months or years, changes or modifications in prices and fees shall be effective when the Services in question come up for renewal as further described below. 

\r\n

Unless otherwise specifically noted (for reasons such as those highlighted in Section 2(x) above), the renewal price for any domain name in any TLD will be the same as the list (non-sale) price shown when you search for and select a domain, and again in the cart prior to purchase.  For example, if the list price is $9.99, and a different renewal price is not specifically identified, then the renewal price is also $9.99.  Likewise, if a domain name has a sale price of $8.99, with the list (non-sale) price shown (as a strike-through) at $9.99, the renewal price will be $9.99*.  

\r\n

*Renewal price subject to change prior to actual date of renewal. 

\r\n

For all other terms and conditions relating to fees, payment, refund and billing, etc. applicable to the Services offered under the scope of this Agreement, please refer to the “Fees and Payments” section of our UTOS

\r\n

(B) DOMAIN NAME RENEWAL TERMS

\r\n

When you register a domain name, you will have two renewal options: (i) \"Automatic Renewal\" (ii) \"Extended Automatic Renewal\", and (iii) \"Manual Renewal\": 

\r\n
    \r\n
  1. Automatic Renewal.  Automatic Renewal is the default setting. Therefore, unless you select Extended Automatic Renewal, Azure will enroll you in Automatic Renewal.  Domain names will automatically renew, for a period equivalent to the length of your original domain name registration, any domain name that is up for renewal and will take payment from the Payment Method you have on file with Azure, at Azure's then current rates. Thus, if you have chosen to register your domain name for one (1) year, Azure will automatically renew it for one (1) year. If you have chosen to register your domain name for two (2) years, Azure will automatically renew it for two (2) years, and so on.
  2. \r\n
  3. Extended Automatic Renewal.  If you enroll in the Extended Automatic Renewal plan, Azure will automatically renew any domain name that is up for renewal for an additional one-year period on each and every anniversary of your domain name registration, so the initial registration period will always remain intact.  Thus, if you have chosen to register your domain name for two (2) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your two (2) year registration period will always remain intact. If you have chosen to register your domain name for five (5) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your five (5) year registration period will always remain intact, and so on.  Azure will take payment from the Payment Method you have on file with Azure, at Azure's then current one-year domain name registration rate.
  4. \r\n
  5. Manual Renewal.  If you have elected to turn off automatic renewal and cancel the product (i.e., cancel the domain name registration) effective at expiration of the then current term, you may nonetheless elect to manually renew the domain name at anytime prior to its expiration date by logging into your Account Manager and manually implementing the renewal or by calling customer service (should you in fact want the domain name to be renewed). If you fail to manually implement the renewal before the expiration date, the domain name will be cancelled and you will no longer have use of that name.
  6. \r\n
\r\n

All renewals will be subject to the terms of this Agreement, as it may be amended from time to time, and you acknowledge and agree to be bound by the terms of this Agreement (as amended) for all renewed domains.  Domain name renewals will be non-refundable. In the event that we are unable to automatically renew your domain name for the renewal option selected for any reason, we may automatically renew your domain name for a period less than your original registration period to the extent necessary for the transaction to succeed. If for any reason Azure is not able to take the payment from the Payment Method you have on file, and you fail to respond to our notices, your domain name registration will expire. It is your responsibility to keep your Payment Method information current, which includes the expiration date if you are using a credit card.

\r\n

For certain ccTLDs (.am, .at, .be, .br, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal billing will occur on the first day of the month prior to the month of expiration.

\r\n

For certain ccTLDs (.am, .at, .be, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal will occur, or must occur manually if the product was previously cancelled, no later than the 20th of the month prior to the expiration date, or your domain name will be placed in non-renewal status. For some ccTLDs (.es) renewal must be processed no later than seven days before the expiration date, or your domain name will be placed in non-renewal status.  When the domain name is in non-renewal status, you can renew the domain name only by calling Azure and requesting that the domain name be renewed. You cannot renew the domain name through your Account Manager. If you fail to manually implement the renewal of any cancelled product before the expiration date, the domain name will be cancelled and you will no longer have use of that name.

\r\n

You agree that Azure will not be responsible for cancelled domain names that you fail to renew in the timeframes indicated in this Agreement. In any case, if you fail to renew your domain name in a timely fashion, additional charges may apply. If you signed up for privacy services, protected registration, or any other similar service, with your domain name registration, these services will automatically be renewed when your domain name registration is up for renewal, and you will incur the applicable additional renewal fee unless you cancel in advance. 

\r\n

If you fail to renew your domain name in the timeframes indicated in this Agreement, you agree that Azure may, in its sole discretion, renew your expired domain name on your behalf. If Azure decides to renew your expired domain name on your behalf, you will have a Renewal Grace Period during which you may reimburse Azure for the renewal and keep your domain name. The Renewal Grace Period is currently twelve (12) days but subject to change under the terms of this Agreement. For certain ccTLDs (.am, .at, .be, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg) there is no Renewal Grace Period after the expiration date of the domain name. If you do not reimburse Azure for the renewal during the Renewal Grace Period your domain name will be placed on Hold and flagged for deletion after which you will have a 30-day redemption period during which you may pay Azure a Redemption fee and redeem your domain name. The Redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the 30-day redemption period Azure may, in its sole discretion, delete your domain name or transfer it to another registrant on your behalf.  During the redemption period your domain name may be parked. 

\r\n

If your domain name is deleted, the Registry also provides a 30-day Redemption Grace Period during which you may pay Azure a redemption fee and redeem your domain name. The redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the Registry's Redemption Grace Period the Registry will release your name and it will become available for registration on a first-come-first-served basis.

\r\n

Renewal Grace Periods and Redemption Grace Periods vary for different ccTLDs. Please refer to the specific terms for the applicable TLD. In the event there is a conflict between the provisions of this paragraph and the ccTLD terms, the ccTLD terms shall control.

\r\n

\r\n

Our registration expiration notification policy and associated fees are described here.

\r\n

\r\n

\r\n

(C) FREE PRODUCT TERMS

\r\n

In the event you are provided with free products with the registration of a domain name, you acknowledge and agree that such free products will only be available with a valid purchase and may be terminated in the event the domain name is deleted or cancelled.  For free domain names, you acknowledge and agree that you may not change the account associated with such free domain for the first five (5) days after registration.  In the event a free domain name is offered with the registration of another domain and if the paid domain name registered fails, then we may, in its sole discretion, either delete the registration of the free domain or refund the difference between the amount paid and the value of the free domain.  Failed registrations associated with promotionals offers may result in the deletion of the free or discounted item or an adjustment between the registered domain price and the value of the discounted item, in our sole discretion.

\r\n

4. TERM OF AGREEMENT; TRANSFERS; DOMAIN TASTING

\r\n

The term of this Agreement shall continue in full force and effect as long as you have any domain name registered through Azure.

\r\n

You agree that you will not transfer any domain name registered through Azure to another domain name registrar during the first sixty (60) days after its initial registration date.  You agree that you may not transfer any domain name for ten (10) days after a Change of Account.

\r\n

You further agree that you will not engage in \"domain tasting\" by using the five (5) day grace period in which a registrant may choose to cancel a domain name and get a full refund of the registration fee as a vehicle to test the marketability or viability of a domain name.  If Azure determines (which determination shall be made by Azure in its sole and absolute discretion) that you have been engaging in \"domain tasting\", then Azure reserves the right to (a) charge you a small fee (which fee shall be deducted from any refund issued) or (b) refuse your cancellation/refund request altogether. Azure will not charge you a fee if Azure cancels your domain name during the five (5) day grace period due to fraud or other activity outside of your control. The five (5) day grace period does not apply to Premium Domains, which are non-refundable.

\r\n

You agree that Azure shall not be bound by (i) any representations made by third parties who you may use to purchase services from Azure, or (ii) any statements of a general nature, which may be posted on Azure's website or contained in Azure's promotional materials.

\r\n

5. UP TO DATE INFORMATION; USE OF INFORMATION AND EXPIRATION

\r\n

You agree to notify Azure within five (5) business days when any of the information you provided as part of the application and/or registration process changes. It is your responsibility to keep this information in a current and accurate status. Failure by you, for whatever reason, to provide Azure with accurate and reliable information on an initial and continual basis, shall be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. Failure by you, for whatever reason, to respond within five (5) business days to any inquiries made by Azure to determine the validity of information provided by you, shall also be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. You agree to retain a copy for your record of the receipt for purchase of your domain name.

\r\n

You agree that for each domain name registered by you, the following contact data is required: postal address, email address, telephone number, and if available, a facsimile number for the Registered Name Holder and, if different from the Registered Name Holder, the same contact information for, a technical contact, an administrative contact and a billing contact.

\r\n

You acknowledge and agree that domain name registration requires that this contact information, in whole or in part, be shared with the registry operator, for their use, copying, distribution, publication, modification and other processing  for (among other uses in accordance with our Privacy Policy) the purpose of administration of the domain name registration, which may require such information be transferred back and forth across international borders, to and from the U.S. to the EU, for example. As required by ICANN, this information must also be made publicly available by means of Whois, and that the registry operator may also be required to make this information publicly available by Whois. Both Azure and the registry operator may be required to archive this information with a third-party escrow service. You hereby consent and give permission for all such requirements and disclosures. Further, you represent and warrant that, if you are providing information about a third party, you have notified the third party of the disclosure and the purpose for the disclosure and you have obtained the third party's consent to such disclosure.  Registrar will not process data in a way that is incompatible with this Agreement.  Registrar will take reasonable precautions to protect data from loss or misuse.

\r\n

You agree that for each domain name registered by you the following information will be made publicly available in the Whois directory as determined by ICANN Policy and may be sold in bulk as set forth in the ICANN agreement:

\r\n
    \r\n
  • The domain name;
  • \r\n
  • Your name and postal address;
  • \r\n
  • The name, email address, postal address, voice and fax numbers for technical and administrative contacts;
  • \r\n
  • The Internet protocol numbers for the primary and secondary name servers;
  • \r\n
  • The corresponding names of the name servers; and
  • \r\n
  • The original date of registration and expiration date.
  • \r\n
  • Name of primary name server and secondary name server.
  • \r\n
  • Identity of the registrar.
  • \r\n
\r\n

You agree that, to the extent permitted by ICANN, Azure may make use of the publicly available information you provided during the registration process. If you engage in the reselling of domain names you agree to provide any individuals whose personal information you've obtained, information about the possible uses of their personal information pursuant to ICANN policy. You also agree to obtain consent, and evidence of consent, from those individuals for such use of the personal information they provide.

\r\n

You agree that Azure has the right to make public and share with third parties certain information in connection with the sale or purchase of domain names on the website, including but not limited to (a) the name of the domain name sold or purchased, (b) the sale or purchase price of the domain name sold or purchased, and (c) information relating to the timing of the sale or purchase.

\r\n

\r\n

In order for us to comply with any current or future rules and policies for domain name systems including any rules or policies established by the CIRA or any provincial or federal government or by other organization having control or authority to establish rules or policies, you hereby grant to us the right to disclose to third parties through an interactive publicly accessible registration database the following information that you are required to provide when applying for a domain name:

\r\n
    \r\n
  1. The domain or sub-domain name(s) registered by you;
  2. \r\n
  3. Your organization name, type and postal address;
  4. \r\n
  5. The name(s), position(s), postal address(es), e-mail address(es), voice telephone number(s) and where available the fax number(s) of the technical and administrative contacts for your domain or sub-domain name(s);
  6. \r\n
  7. The full hostnames and Internet protocol (IP) addresses of at least two (2) name server hosts (one primary and at least one secondary) for your domain or sub-domain name. Up to six (6) name servers may be specified. If a host has more than one (1) IP address, use a comma-separated list;
  8. \r\n
  9. The corresponding names of those name servers;
  10. \r\n
  11. The original creation date of the registration; and
  12. \r\n
  13. The expiration date of the registration.
  14. \r\n
\r\n

We may be required to make this information available in bulk form to third parties. We may also transfer or assign this information to CIRA or such other third party as we may decide, in our sole discretion.

\r\n

6. DISPUTE RESOLUTION POLICY

\r\n

You agree to be bound by our current Dispute Resolution Policy. This policy is incorporated herein and made a part of this Agreement. You can view the Uniform Domain Name Dispute Resolution Policy online. You agree that Azure may from time to time modify its Dispute Resolution Policy. Azure will post any changes to its Dispute Resolution Policy at least thirty (30) days before they become effective. You agree that by maintaining your domain name registrations with Azure after the updated policy becomes effective that you agree to the Dispute Resolution policy as amended. You agree to review Azure's website periodically to determine if changes have been made to the Dispute Resolution Policy. If you cancel or terminate your Services with Azure as a result of the modified Dispute Resolution policy, no fees will be refunded to you. You also agree to submit to proceedings commenced under ICANN's Uniform Rapid Suspension System, if applicable. 

\r\n

You agree that if a dispute arises as a result of one (1) or more domain names you have registered using Azure, you will indemnify, defend and hold Azure harmless as provided for in this Agreement. You also agree that if Azure is notified that a complaint has been filed with a governmental, administrative or judicial body, regarding a domain name registered by you using Azure, that Azure, in its sole discretion, may take whatever action Azure deems necessary regarding further modification, assignment of and/or control of the domain name deemed necessary to comply with the actions or requirements of the governmental, administrative or judicial body until such time as the dispute is settled. In this event you agree to hold Azure harmless for any action taken by Azure.

\r\n

You agree to submit, without prejudice to other potentially applicable jurisdictions, to the jurisdiction of the courts (1) of your domicile, (2) where registrar is located or (3) where the registry operator is located (e.g., China for .CN, Columbia for .CO, UK for .EU, etc.).

\r\n

\r\n

In the case of .ca domain names, you agree that, if your use of the service or the registration of a .ca domain name is challenged by a third party, you will be subject to the provisions specified by CIRA in their dispute resolution policy, in effect at the time of the dispute.

\r\n

\r\n

7. TRANSFER OF DOMAIN NAMES; RESALE PRACTICES

\r\n

If you transfer any domain name, you agree to provide the information required by, and to abide by, the procedures and conditions set forth in our Domain Name Transfer Agreement and Change of Registrant Agreement. You may view the latest versions of our Domain Name Transfer Agreement and Change of Registrant Agreementonline. In order to further protect your domain name, any domain name registered with Azure or transferred to Azure shall be placed on lock status, unless an opted-out has occurred as defined in our Change of Registrant Agreement or Domain Name Proxy Agreement. The domain name must be placed on unlock status in order to initiate a transfer of the domain name away from Azure to a new Registrar. You may log into your account with Azure at any time after your domain name has been successfully transferred to Azure, and change the status to unlock.

\r\n

In the event you are purchasing a domain name on behalf of a third party, you agree to inform any customer of yours, who may be acquiring a domain name through you using Azure's registration services, that they are in fact registering their domain name through Azure and that Azure or its licensor is an accredited registrar with ICANN. You agree not to represent that you are an ICANN-accredited registrar or that you are in any way providing superior access to the ICANN Domain Name Registry. You also agree not to use the ICANN trademark logo in any of your promotional materials including your website.

\r\n

You agree to obtain each of your customers' acceptances to the then current version of this Agreement, and to retain evidence of their acceptance for a period of not less than three (3) years. Should you require that your customers accept additional terms and conditions that are not required by Azure, you agree that such additional terms and conditions shall not conflict with this Agreement and the policies and procedures adopted by ICANN.

\r\n

You agree that Azure is not lending you access to its registrar connections or its registry access, nor will you be deemed to be a registrar in your own right. Furthermore, you agree you will not attempt to gain access to Azure's registrar connections or registry access. You agree to provide complete, accurate and current data for each registrant to be added to a registry in accordance with ICANN requirements for inclusion in the Whois database.

\r\n

You agree to provide your customers with adequate customer support, and to maintain contact with them with regard to providing a medium for them to communicate changes in the information they provided as part of the domain name registration process. Upon receiving corrected or updated information you will, within five (5) business days, provide such information to Azure so Azure may update its registration records. You will retain copies of all communications between you and your customers and will upon request provide Azure copies of same.

\r\n

8. YOUR OBLIGATIONS; SUSPENSION OF SERVICES; BREACH OF AGREEMENT

\r\n

You represent and warrant to the best of your knowledge that, neither the registration of the domain nor the manner it is directly or indirectly used, infringes the legal rights of any third party.  You will comply with all applicable laws, including, but not limited to those relating to privacy, data collection, consumer protection, fair lending, debt collection, organic farming, and disclosure of data and financial disclosures.  If you collect and maintain sensitive health and financial data, you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  You represent that you possess any necessary authorization, charter, license, and/or other related credential for participation in the sector associated with the associated registry tld string.  You will report any material changes to the validity of your authorization, charter, license, and/or other related credential. You will indemnify and hold harmless the registrar and registry operator, and their directors, officers, employees and agents, from and against any and all claims, damages, liabilities, costs and expenses (including reasonable legal fees and expenses) arising out of or related to the domain name registration.  This obligation shall survive expiration or termination of this Agreement or the domain name registration.

\r\n

You agree that, in addition to other events set forth in this Agreement:

\r\n
    \r\n
  1. Your ability to use any of the services provided by Azure is subject to cancellation or suspension in the event there is an unresolved breach of this Agreement and/or suspension or cancellation is required by any policy now in effect or adopted later by ICANN;
  2. \r\n
  3. Your registration of any domain names shall be subject to suspension, cancellation or transfer pursuant to any ICANN adopted specification or policy, or pursuant to any Azure procedure not inconsistent with an ICANN adopted specification or policy (a) to correct mistakes by Azure or the registry operator in registering any domain name; or (b) for the resolution of disputes concerning any domain name.
  4. \r\n
\r\n

You acknowledge and agree that Azure and registry reserve the right to deny, cancel or transfer any registration or transaction, or place any domain name(s) on registry lock, hold or similar status, as either deems necessary, in the unlimited and sole discretion of either Azure or the registry: (i) to comply with specifications adopted by any industry group generally recognized as authoritative with respect to the Internet (e.g., RFCs), (ii) to correct mistakes made by registry or any registrar in connection with a domain name registration, (iii) for the non-payment of fees to registry, (iv) to protect the integrity and stability of the registry, (v) to comply with any applicable court orders, laws, government rules or requirements, requests of law enforcement, or any dispute resolution process, (vi) to comply with any applicable ICANN rules or regulations, including without limitation, the registry agreement, (vii) to avoid any liability, civil or criminal, on the part of registry operator, as well as its affiliates, subsidiaries, officers, directors, and employees, (viii) per the terms of this Agreement, (ix) following an occurrence of any of the prohibited activities described in Section 8 below, or (x) during the resolution of a dispute.

\r\n

You agree that your failure to comply completely with the terms and conditions of this Agreement and any Azure rule or policy may be considered by Azure to be a material breach of this Agreement and Azure may provide you with notice of such breach either in writing or electronically (i.e. email). In the event you do not provide Azure with material evidence that you have not breached your obligations to Azure within ten (10) business days, Azure may terminate its relationship with you and take any remedial action available to Azure under the applicable laws. Such remedial action may be implemented without notice to you and may include, but is not limited to, cancelling the registration of any of your domain names and discontinuing any services provided by Azure to you. No fees will be refunded to you should your Services be cancelled or terminated because of a breach.

\r\n

Azure's failure to act upon or notify you of any event, which may constitute a breach, shall not relieve you from or excuse you of the fact that you have committed a breach.

\r\n

9. RESTRICTION OF SERVICES; RIGHT OF REFUSAL

\r\n

You agree not to use the services provided by Azure, or to allow or enable others, to use the services provided by Azure for the purposes of:

\r\n
    \r\n
  • The transmission of unsolicited email (Spam); and
  • \r\n
  • Repetitive, high volume inquires into any of the services provided by Azure (i.e. domain name availability, etc.).
  • \r\n
\r\n

You acknowledge and agree that you are prohibited from distributing malware, abusively operating botnets, phishing, piracy, trademark or copyright infringement, fraudulent or deceptive practices, counterfeiting or otherwise engaging in activity contrary to applicable law, and you acknowledge and agree that the consequences for such activities include suspension of the domain name.

\r\n

If you are hosting your domain name system (“DNS”) on Azure’s servers, or are using our systems to forward a domain name, URL, or otherwise to a system or site hosted elsewhere, or if you have your domain name registered with Azure, you are responsible for ensuring there is no excessive overloading on Azure’s servers. You may not use Azure’s servers and your domain name as a source, intermediary, reply to address, or destination address for mail bombs, Internet packet flooding, packet corruption, or other abusive attack. Server hacking or other perpetration of security breaches is prohibited. You agree that Azure reserves the right to deactivate your domain name from its DNS if Azure deems it is the recipient of activities caused by your site that threaten the stability of its network.

\r\n

You agree that Azure, in its sole discretion and without liability to you, may refuse to accept the registration of any domain name. Azure also may in its sole discretion and without liability to you delete the registration of any domain name during the first thirty (30) days after registration has taken place. Azure may also cancel the registration of a domain name, after thirty (30) days, if that name is being used, as determined by Azure in its sole discretion, in association with spam or morally objectionable activities. Morally objectionable activities will include, but not be limited to:

\r\n
    \r\n
  • Activities prohibited by the laws of the United States and/or foreign territories in which you conduct business;
  • \r\n
  • Activities designed to encourage unlawful behavior by others, such as hate crimes, terrorism and child pornography; and
  • \r\n
  • Activities designed to harm or use unethically minors in any way.
  • \r\n
\r\n

In the event Azure refuses a registration or deletes an existing registration during the first thirty (30) days after registration, you will receive a refund of any fees paid to Azure in connection with the registration either being cancelled or refused. In the event Azure deletes the registration of a domain name being used in association with spam or morally objectionable activities, no refund will be issued.

\r\n

10. DEFAULT SETTINGS; PARKED PAGE

\r\n

Choosing Your Domain Name Settings.  When you register a domain name with Azure, you will be prompted to choose your domain name settings during the checkout process.  If you plan on using another provider for your website or hosting needs, then you should enter the name servers of such provider when you choose your domain name settings.  This will direct your domain name away from Azure’s name servers.  If you are an existing Azure customer and have already set up a customer profile designating your domain name settings for new domain name registrations, you will not need to complete this step again during the checkout process.   

\r\n

Azure’s Default Settings.  If you do not direct your domain name away from Azure’s name servers as described above, Azure will direct your domain name to a “Parked Page” (“Default Setting”).  You acknowledge and agree that Azure has the right to set the Default Setting. 

\r\n

Parked Page Default Setting.  Azure’s Parked Page service is an online domain monetization system designed to generate revenue (through the use of pay per click advertising) from domain names that are not actively being used as websites.  If your domain name is directed to a Parked Page, you acknowledge and agree that Azure may display both (a) in-house advertising (which includes links to Azure products and services) and (b) third-party advertising (which includes links to third-party products and services) on your Parked Page through the use of pop-up or pop-under browser windows, banner advertisements, audio or video streams, or any other advertising means, and we may aggregate for our own use, related usage data by means of cookies and other similar means.  In addition, you acknowledge and agree that all in-house and third-party advertising will be selected by Azure and its advertising partners, as appropriate, and you will not be permitted to customize the advertising, or entitled to any compensation in exchange therefor.  Please note that the third-party advertising displayed on Azure’s Parked Pages may contain content offensive to you, including but not limited to links to adult content.  Azure makes no effort to edit, control, monitor, or restrict the content and third-party advertising displayed on Azure’s Parked Pages, and expressly disclaims any liability or responsibility to you or any third party in connection therewith.

\r\n

Changing Azure’s Default Settings.  You may change Azure’s Default Settings at any time during the term of your domain name registration.

\r\n
    \r\n
  1. Content Displaying On Your Parked Page.  You can not modify the content displaying on your Parked Page.  You may select one of the other options listed below.
  2. \r\n
  3. Participating In Domain Name Monetization.  If you wish to participate in the domain monetization potential presented by Azure’s Parked Page service, please review and consider purchasing our CashParking® service.   
  4. \r\n
  5. No Content.  If the options listed above are not acceptable to you, please contact customer support to learn what other options might be available to you.
  6. \r\n
\r\n

Return To Parked Page Default Setting Upon Domain Name Expiration.  Upon domain name expiration, and regardless of how you use your domain name during the term of your domain name registration, your domain name will automatically return to the Parked Page Default Setting described above.  As used in this paragraph, “expiration” is deemed to include any “renewal period” or “redemption period” immediately after the domain name expires, but before the domain name is returned to the registry.  Once your domain name has returned to the Parked Page Default Setting described above, the only way to opt out of the Parked Page service is to renew, redeem, or re-register your domain name in accordance with Section 2(B), Domain Name Renewal Terms, of this Agreement.   

\r\n

11. DOMAIN ADD-ONS

\r\n

Business Registration:  Business registration allows You to display additional information about the business that is the basis of Your domain name, including, but not limited to, such information as Your fax number, street address, and hours of operation.

\r\n

Certified Domains.  The certified domain service generally allow You to: (i) put a Certified Domain Validation seal on Your website; and (ii) have Your domain name listed as \"Certified\", in WHOIS lookups on our website.   The Certified Domain Validation seal renews independently of Your domain. When You renew Your domain, You must also, when necessary, separately renew Your Certified Validation seal. However, the Certified Domain Validation seal can be cancelled independently of Your domain. If the domain is cancelled, the Certified Domain associated with the cancelled domain will automatically cancel.  The Certified Domain seal is a trademark and is protected by copyright, trademark and other intellectual property laws. You may use the Certified Domain seal only in conjunction with the purchase of the Services set forth in the Agreement, and subject to the terms and conditions hereof. Other than provided for in this Agreement, You may not otherwise use, reproduce, or modify the mark for any additional promotional use, without our prior written approval. Your right to the use of the Certified Domain seal is immediately terminated upon expiration or termination of this Agreement.

\r\n

Expiration Consolidation.  You understand and acknowledge the expiration consolidation service may only be used to consolidate the expiration of .com and .net domain names. The service may not be used to consolidate domains that are on Registrar HOLD, Registry HOLD, or pending Transfer status. You acknowledge the service may only be used to push the expiration date of Your domains forward in time, at least one (1) month forward and no more than ten (10) years forward, and then, only for a period lasting less than twelve (12) months. Once the service has been used to consolidate domains, the new expiration date may not be reversed. To ensure the service is not abused or used as an alternative to renewals, you may only use the service on each domain once in any 12-month period. The service may only be used on domain names that have not passed their expiration date. In order to change the expiration date again, You will be required to renew the domain name first.  You further understand and acknowledge the service may only be used to coordinate domains where we are the registrar of record. Domains not registered with us must be transferred before we can perform the Service. 

\r\n

\r\n

Backordering/Monitoring.  You agree a domain name that has expired shall be subject first to a grace period of twelve (12) days, followed by the ICANN-mandated redemption grace period of thirty (30) days. During this period of time, the current domain name registrant may renew the domain name and retain ownership. We do not guarantee your backorder will result in you obtaining the domain name and expressly reserves the right to (a) refuse additional backorders or (b) cancel existing backorders at any time for any reason.  If your backorder is refused or cancelled, we agree to promptly refund any fees paid for such domain name backorder. The domain name may also be placed in a secondary market for resale through the Auctions® service.  After your first year of Auctions membership, you agree that unless otherwise advised, we will automatically renew your Auctions membership using the payment method you have on file for so long as your backorder credit is active. You may learn more about Auctions by visiting the Auctions website. The domain name may also be subject to a drop pool process before it is available for purchasing. You understand we and our registrar affiliates use our services, including backordering.  Therefore, the domain name may be registered with a different registrar, but can be managed through your account.  By using the Services, you will be able to, among other things:

\r\n
    \r\n
  1. Backorder any domain name under the top level domains .COM, .NET, .US, .BIZ, .INFO, .ORG, .MOBI. A backorder for a domain name will include the price of up to a one-year domain name registration. Should you successfully backorder any domain name, you will be subject to the terms and conditions of the Domain Name Registration and related agreements, which are incorporated herein by reference.
  2. \r\n
  3. Change your backorder until you obtain a domain name. You will have the opportunity to change the credit to a different domain name until you successfully capture one. After three (3) years, if the credit is not used, we reserves the right to remove the credit.
  4. \r\n
  5. Subscribe monthly to an expiring domain name list. You may also choose to purchase a subscription to a list of domain names expiring within the next five (5) days. If you subscribe to the expiring domain name list, you agree the payment method you have on file may be charged on a monthly subscription basis for the term of the Services you purchase.
  6. \r\n
  7. Select domain names off the expiring domain name list you would like to register. Each domain name you attempt to backorder will include the price of up to a one-year domain name registration, as set forth in subsection (i) above.
  8. \r\n
  9. Monitor your currently registered domain names for changes in registrar, status, expiration date or name servers at no additional cost.
  10. \r\n
  11. Subscribe to Domain Alert Pro or monitoring, which enables you to monitor any currently registered domain name, regardless of registrar, for historical tracking of status changes and designation of multiple email notification addresses.
  12. \r\n
\r\n

\r\n

\r\n

Transfer Validation. The transfer validation service is provided to help You keep Your domain name secure. By choosing to use the service, You are making an explicit and voluntary request to us to deny all attempts to transfer Your domain name to another registrar, or to move Your domain name to another account, unless You verify each request as described herein. You will provide us with a contact name, phone number and PIN for domain transfer validations. You will be contacted by us when a domain transfer is requested for a domain name in Your account. When we receive a transfer request, we will call You to verify the transfer request. If we cannot reach You with seventy-two (72) hours of receipt of the transfer request, the transfer will be denied. If You do not provide the proper PIN, the transfer will be denied. When we receive a change of account request, we will call You to verify the change request. If we cannot reach You with seventy-two (72) hours of receipt of the change request, the change will be denied. If You do not provide the proper PIN, the change will be denied. Availability of Services are subject to the terms and conditions of this Agreement and each of our policies and procedures. We shall use commercially reasonable efforts to attempt to provide certain portions of the Services on a twenty-four (24) hours a day, seven (7) days a week basis throughout the term of this Agreement and other portions of the service, during normal business hours. You acknowledge and agree that from time to time the Services may be inaccessible or inoperable for any reason, including, without limitation: (i) equipment malfunctions; (ii) periodic maintenance procedures or repairs that we may undertake from time to time; or (iii) causes beyond the reasonable control of us or that are not reasonably foreseeable by us, including, without limitation, interruption or failure of telecommunication or digital transmission links, hostile network attacks, network congestion or other failures. You acknowledge and agree that we has no control over the availability of the service on a continuous or uninterrupted basis.

\r\n

\r\n

12. PRE-REGISTRATIONS

\r\n

If you submit an application for pre-registration of a domain name, Azure does not guarantee that the name will be secured for you, or that you will have immediate access to the domain name if secured.  Azure may use third-party service providers for the pre-registration services.

\r\n

13. PROVISIONS SPECIFIC TO .BIZ REGISTRATIONS

\r\n

Domain Name Dispute Policy.  If you reserved or registered a .BIZ domain name through us, in addition to our Dispute Resolution Policy, you hereby acknowledge that you have read and understood and agree to be bound by the terms and conditions of the Restrictions Dispute Resolution Policy applicable to the .biz TLD.

\r\n

The RDRP sets forth the terms under which any allegation that a domain name is not used primarily for business or commercial purposes shall be enforced on a case-by-case basis by an independent ICANN-accredited dispute provider. Registry Operator will not review, monitor, or otherwise verify that any particular domain name is being used primarily for business or commercial purposes or that a domain name is being used in compliance with the SUDRP or UDRP processes.

\r\n

One Year Registration.  If you are registering a .BIZ domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .BIZ domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .BIZ domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

\r\n

14. PROVISIONS SPECIFIC TO .INFO REGISTRATIONS 

\r\n

One Year Registration.  If you are registering a .INFO domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .INFO domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .INFO domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

15. PROVISIONS SPECIFIC TO .MOBI REGISTRATIONS 

\r\n

Instant Mobilizer. You are hereby granted a personal, revocable, non-exclusive, non-transferable, non-assignable, non-sublicensable license to use the Instant Mobilizer service (“Service”), provided, however, You abide by the terms and conditions set forth. You shall not alter, modify, adapt or translate the whole or part of the Service in any way whatsoever. You may not create derivative works based on the Service. You may not rent, lease, assign, dispose of, novate, sub-license or otherwise transfer any of its rights to use the Service to any third party.  In the event that the volume of traffic to You from Your use of the Service is sufficient so as to jeopardize the provision of Service for other end users, we and our licensors reserve the right to, at its sole discretion, permanently or temporarily, discontinue Your use of the Service. For the avoidance of doubt, the volume of traffic generated by You should not exceed two thousand (2,000) page views per day.  You acknowledge and agree the text \"Instant Mobilizer from dotMobi\" or equivalent, will be inserted at the footer of Your site.  In the event a dotMobi domain to which the Service is being provided is transferred to another domain name registrar, the Service will be interrupted on that dotMobi domain, and Service will not be restored if the new registrar does not offer the Service. 

\r\n

\r\n

16. PROVISIONS SPECIFIC TO .NAME REGISTRATIONS 

\r\n

\r\n

17. PROVISIONS SPECIFIC TO .REISE REGISTRATIONS

\r\n

Domain Names registered in .REISE should be used for purposes dedicated to travel topics within six months following initial Registration, e.g. utilized on the Internet or otherwise used to perform a function.

\r\n

18. PROVISIONS SPECIFIC TO .SEXY REGISTRATIONS

\r\n

You shall not permit content unsuitable for viewing by a minor to be viewed from the main or top-level directory of a .SEXY domain name. For purposes of clarity, content viewed at the main or top-level directory of a .SEXY domain name is the content immediately visible if a user navigates to http://example.sexy or http://www.example.sexy. No restrictions apply to the content at any other page or subdirectory addressed by a .SEXY Registered Name. 

\r\n

19. COUNTRY CODE TOP LEVEL DOMAINS

\r\n

You represent and warrant that you meet the eligibility requirements of each ccTLD you apply for. You further agree to be bound by any registry rules, policies, and agreements for that particular ccTLD. These may include, but are not limited to, agreeing to indemnify the ccTLD provider, limiting the liability of the ccTLD provider, and requirements that any disputes be resolved under that particular country's laws.

\r\n

(A) PROVISIONS SPECIFIC TO .AU REGISTRATIONS 

\r\n

.au Registrations (to include com.au, net.au and org.au) are governed by the following additional terms and conditions:

\r\n

auDA. auDA means .au Domain Administration Limited ACN 079 009 340, the .au domain names administrator.  The Registrar acts as agent for auDA for the sole purpose, but only to the extent necessary, to enable auDA to receive the benefit of rights and covenants conferred to it under this Agreement. auDA is an intended third party beneficiary of this agreement.

\r\n

auDA Published Policy.  auDA Published Policies means those specifications and policies established and published by auDA from time to time at http://www.auda.org.au.  You must comply with all auDA Published Policies, as if they were incorporated into, and form part of, this Agreement. In the event of any inconsistency between any auDA Published Policy and this Agreement, then the auDA Published Policy will prevail to the extent of such inconsistency.  You acknowledge that under the auDA Published Policies: (1) there are mandatory terms and conditions that apply to all domain names; (2) licences, and such terms and conditions are incorporated into, and form part of, this Agreement; (3) You are bound by, and must submit to, the .au Dispute Resolution Policy; and (4) auDA may delete or cancel the registration of a .au domain name. 

\r\n

auDA's Liabilities and Indemnity.  To the fullest extent permitted by law, auDA will not be liable to Registrant for any direct, indirect, consequential, special, punitive or exemplary losses or damages of any kind (including, without limitation, loss of use, loss or profit, loss or corruption of data, business interruption or indirect costs) suffered by Registrant arising from, as a result of, or otherwise in connection with, any act or omission whatsoever of auDA, its employees, agents or contractors. Registrant agrees to indemnify, keep indemnified and hold auDA, its employees, agents and contractors harmless from all and any claims or liabilities, arising from, as a result of, or otherwise in connection with, Registrant's registration or use of its .au domain name. Nothing in this document is intended to exclude the operation of Trade Practices Act 1974.

\r\n

(B) PROVISIONS SPECIFIC TO .CA REGISTRATIONS

\r\n

You acknowledge and agree that registration of your selected domain name in your first application to CIRA shall not be effective until you have entered into and agreed to be bound by CIRA's Registrant Agreement.

\r\n

CIRA Certified Registrar.  The registrar shall immediately give notice to you in the event that it is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated, or the Registrar Agreement between CIRA and the Registrar is terminated or expires. CIRA may post notice of such suspension, termination, or expiry on its website and may, if CIRA deems appropriate, give notice to the registrants thereof. In the event that the registrar is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated or in the event the Registrar Agreement between CIRA and the Registrar is terminated or expires, you shall be responsible for changing your Registrar of Record to a new CIRA Certified Registrar within thirty (30) days of the earlier of notice thereof being given to you by (i) the Registrar or (ii) CIRA in accordance with CIRA's then current Registry PRP; provided, however, that if any of your domain name registrations are scheduled to expire within thirty (30) days of the giving of such notice, then you shall have thirty (30) days from the anniversary date of the registration(s), to register with a new CIRA certified registrar and to renew such domain name registration(s) in accordance with the Registry PRP.

\r\n

You acknowledge and agree that should there be insufficient funds prepaid by the registrar in the CIRA Deposit Account to be applied in payment of any fees, CIRA may in its sole discretion stop accepting applications for domain name registrations from the registrar, stop effecting registrations of domain names and transfers, renewals, modifications, and cancellations requested by the registrar and stop performing other billable transactions requested by the registrar not paid in full and CIRA may terminate the Registrar Agreement between CIRA and the Registrar.

\r\n

.CA ASCII and IDN domain variants are bundled and reserved for a single registrant.  Registrants are not required to register all variants in a bundle, but all registered variants must be registered and managed at a single registrar. Each variant registered will incur a registration fee.  In addition, when registering multiple .CA domain (ASCII and IDN) variants in a bundle, your registrant information must be identical.  If variants are registered at other registrars or if registrant information does not match, it may result in an \"unavailable\" search result, delayed or failed registration. If information does not match, validation is required and may take up to seven business days and delay availability of domain. 

\r\n

(C) PROVISIONS SPECIFIC TO .CN REGISTRATIONS 

\r\n

.CN is a restricted TLD – applications are subject to both a domain name check and real name verification as required by the People’s Republic of China.  Registrations in .CN are therefore subject to the following additional terms:

\r\n

Verification, Registration and Activation.  If a domain name is not permitted to be registered by the Chinese government, as determined by us, the Registry Operator and/or a 3rd party provider utilized for such services and determinations, in either party’s discretion, the application for registration will not be successful.  In such event, the name will be deleted and you will be eligible for a refund as further described below.

\r\n

If permitted, then the Registration may proceed, but a .CN domain name may not be activated (i.e., it will not resolve in the Internet) unless and until you have submitted (via the process described during registration) valid documents required of us and the Registry to perform real name verification.  The following are acceptable forms of documents for the purpose of verification:

\r\n
    \r\n
  • China: Resident ID, temporary resident ID, business license or organization code certificate
  • \r\n
  • Hong Kong/Macau: Resident ID, driver’s license, passport or business license
  • \r\n
  • Singapore: Driver’s license, passport or business license
  • \r\n
  • Taiwan: Resident ID, driver’s license or business license
  • \r\n
  • Other Countries/Regions: Driver’s license or passport
  • \r\n
\r\n

Documents submitted to us are used by us and shared with the Registry solely for the purpose of real name verification, and are otherwise subject to our Privacy Policy.  By registering a .CN domain, you expressly agree that your data may be stored on servers in the U.S., or otherwise outside of the People's Republic of China.

\r\n

Refunds.  Refunds for .CN Registrations will only be allowed where (i) registration of the applied for domain name is not permitted by the Chinese government; or (ii) you notify us of your intent to cancel for any reason within the first five (5) days after the Registration (i.e., after it is deemed permissible by the Chinese government).  For the avoidance of doubt, refunds will not be permitted under any circumstances after five (5) days from the date of Registration, including, for example, in the event real name verification is not successful or if the Chinese government determines after Registration that the domain name should not have been registered (and directs us to delete).

\r\n

(D) PROVISIONS SPECIFIC TO .JP REGISTRATIONS

\r\n

Registration Restrictions.  You represent and warrant that you have a local presence in Japan with a home or office address. You agree that certain domain names are reserved and can only be registered by certain parties. These include: (i) TLDs, other than ccTLDs, as determined by ICANN; (ii) geographical-type .JP domain names that are defined as metropolitan, prefectural, and municipal labels; (iii) names of primary and secondary educational organizations; (iv) names of organizations related to Internet management; (v) names required for .JP domain name operations; and (vi) character strings which may be confused with ASCII-converted Japanese domain names. The complete list of .JP Reserved Domains is available here

\r\n

20. ENGLISH LANGUAGE CONTROLS

\r\n

This Agreement, along with all policies and the applicable product agreements identified above and incorporated herein by reference (collectively, the “Agreement”), is executed in the English language. To the extent any translation is provided to you, it is provided for convenience purposes only, and in the event of any conflict between the English and translated version, where permitted by law, the English version will control and prevail. Where the translated version is required to be provided to you and is to be considered binding by law (i) both language versions shall have equal validity, (ii) each party acknowledges that it has reviewed both language versions and that they are substantially the same in all material respects, and (iii) in the event of any discrepancy between these two versions, the translated version may prevail, provided that the intent of the Parties has been fully taken into consideration. 

\n
\n
\n\nRevised: 10/6/17
\nCopyright © 2000-2017 All Rights Reserved.\n
\n
\n
", - "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=reg_sa&pl_id=510456" - }, - { - "agreementKey": "DNPA", - "title": "Domain Name Proxy Agreement", - "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Proxy Agreement\n
\n

Last Revised: October 25, 2017

\n

Please read this Domain Name Proxy Agreement (\"Agreement\") carefully. By using the Services and/or website of Domains By Proxy, LLC, a Delaware limited liability company (\"DBP\"), You (as defined below) agree to all the terms and conditions set forth both herein and in the DBP privacy policy, which is incorporated by reference and can be found by clicking here.  You acknowledge that DBP may amend this Agreement at any time upon posting the amended terms on its website, and that any new, different or additional features changing the services provided by DBP will automatically be subject to this Agreement. If You do not agree to be bound by, or if You object to, the terms and conditions of this Agreement and any amendments hereto, do not use or access DBP's services. Continued use of DBP's services and its website after any such changes to this Agreement have been posted, constitutes Your acceptance of those changes.

\r\n

This Agreement is by and between DBP and you, your heirs, assigns, agents and contractors (\"You\") and is made effective as of the date of electronic execution. This Agreement sets forth the terms and conditions of Your relationship with DBP and Your use of DBP's services and represents the entire Agreement between You and DBP. By using DBP's Services, You acknowledge that You have read, understand and agree to be bound by all the terms and conditions of this Agreement, and You further agree to be bound by the terms of this Agreement for transactions entered into by:

\r\n
    \r\n
  1. You on Your behalf;
  2. \r\n
  3. Anyone acting as Your agent; and
  4. \r\n
  5. Anyone who uses the account You have established with DBP, whether or not the transactions were on Your behalf and/or authorized by You.
  6. \r\n
\r\n

You agree You will be bound by representations made by third parties acting on Your behalf, which either use or purchase services from DBP. You further agree that DBP will not be bound by statements of a general nature on DBP's website or DBP promotional materials. You further agree to abide by the terms and conditions promulgated by the Internet Corporation for Assigned Names and Numbers (\"ICANN\") (including the Uniform Domain Name Dispute Resolution Policy (\"Dispute Resolution Policy\") and Your Registrar (i.e., the ICANN-accredited person or entity through which You register a domain name).

\r\n

1. description of DBP's private registration services

\r\n

When You subscribe to DBP's private registration service through a DBP-affiliated Registrar, DBP will display its contact information in the publicly available \"Whois\" directory in place of Your information. DBP shall keep Your name, postal address, email address, phone and fax numbers confidential, subject to Section 4 of this Agreement. The following information (and not Your personal information) will be made publicly available in the \"Whois\" directory as determined by ICANN policy:

\r\n
    \r\n
  1. DBP's name as the proxy Registrant of the domain name and a proxy email address, phone number and postal address for the proxy Registrant's contact information;
  2. \r\n
  3. A proxy postal address and phone number for the domain name registration's technical contact;
  4. \r\n
  5. A proxy email address, postal address and phone number for the domain name registration's administrative contact;
  6. \r\n
  7. A proxy email address, postal address and phone number for the domain's name registration's billing contact;
  8. \r\n
  9. The primary and secondary domain name servers You designate for the domain name;
  10. \r\n
  11. The domain name's original date of registration and expiration date of the registration; and
  12. \r\n
  13. The identity of the Registrar.
  14. \r\n
\r\n

2. full benefits of domain registration retained by you

\r\n

Although DBP will show in the \"Whois\" directory as the Registrant of each domain name registration You designate, You will retain the full benefits of domain name registration with respect to each such domain name registration, including, subject to Section 4 below:

\r\n
    \r\n
  1. The right to sell, transfer or assign each domain name registration, which shall require cancellation of the DBP services associated with each such domain name registration;
  2. \r\n
  3. The right to control the use of each domain name registration, including designating the primary and secondary domain name servers to which each domain name points;
  4. \r\n
  5. The right to cancel each domain name registration;
  6. \r\n
  7. The right to cancel the DBP services associated with each domain name registration and/or Your privacy services with DBP so that Your contract information is listed in the \"Whois\" directory; and
  8. \r\n
  9. The right to renew each domain name registration upon its expiration, subject to Your Registrar's applicable rules and policies.
  10. \r\n
\r\n

3. PERSONAL INFORMATION AND your notification obligations; representation and warranties; ACCOUNT SECURITY

\r\n

Personal Information and Your Notification Obligations 

\r\n

You agree that for each domain name for which you use DBP services, You will provide accurate and current information as to:

\r\n
    \r\n
  1. Your name, the email address, postal address, phone and fax numbers for the domain name registration's Registrant contact;
  2. \r\n
  3. The email address, postal address, phone and fax numbers for the domain name registration's technical contact;
  4. \r\n
  5. The email address, postal address, phone and fax numbers for the domain name registration's administrative contact;
  6. \r\n
  7. The email address, postal address, phone and fax numbers for the domain name registration's billing contact; and
  8. \r\n
  9. You agree to provide government issued photo identification and/or government issued business identification as required for verification of identity when requested.
  10. \r\n
\r\n

You agree to:

\r\n
    \r\n
  1. Notify DBP within three (3) calendar days when any of the personal information You provided upon subscribing to DBP's services, changes;
  2. \r\n
  3. Respond within three (3) calendar days to any inquiries made by DBP to determine the validity of personal information provided by You; and
  4. \r\n
  5. Timely respond to email messages DBP sends to You regarding correspondence DBP has received that is either addressed to or involves You and/or Your domain name registration, as more fully set forth in Section 5(c) below.
  6. \r\n
  7. To allow DBP to act as your Designated Agent (as that term is defined below) in instances when DBP services are added to or cancelled from your domain name and for the purpose of facilitating a change of registrant request (as further described below). 
  8. \r\n
\r\n

It is Your responsibility to keep Your personal information current and accurate at all times.

\r\n

Renewals

\r\n

You agree DBP will arrange for Your Registrar to charge the credit card You have on file with the Registrar, at the Registrar's then current rates.

\r\n

If for any reason DBP and/or the Registrar for Your domain name is unable to charge Your credit card for the full amount of the service provided, or if DBP and/or the Registrar is charged back for any fee it previously charged to the credit card You provided, You agree that DBP and/or the Registrar may, without notice to You, pursue all available remedies in order to obtain payment, including but not limited to immediate cancellation of all services DBP provides to You.

\r\n

Representations and Warranties

\r\n

You warrant that all information provided by You to DBP is truthful, complete, current and accurate. You also warrant that You are using DBP's private registration services in good faith and You have no knowledge of Your domain name infringing upon or conflicting with the legal rights of a third party or a third party's trademark or trade name. You also warrant the domain name being registered by DBP on Your behalf will not be used in connection with any illegal activity, or in connection with the transmission of Spam, or that contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable or, disrupting, damaging or limiting the functionality of any software or hardware.

\r\n

Account Security

\r\n

You agree You are entirely responsible for maintaining the confidentiality of Your customer number/login ID and password (\"Account Access Information\").  You agree to notify DBP immediately of any unauthorized use of Your account or any other breach of security.  You agree DBP will not be liable for any loss that You may incur as a result of someone else using Your Account Access Information, either with or without Your knowledge.  You further agree You could be held liable for losses incurred by DBP or another party due to someone else using Your Account Access Information.  For security purposes, You should keep Account Access Information in a secure location and take precautions to prevent others from gaining access to Your Account Access Information.  You agree that You are entirely responsible for all activity in Your account, whether initiated by You, or by others.  DBP specifically disclaims liability for any activity in Your account, regardless of whether You authorized the activity.

\r\n

Designated Agency and Change of Registrant Information

\r\n

“DESIGNATED AGENT” MEANS AN INDIVIDUAL OR ENTITY THAT THE PRIOR REGISTRANT OR NEW REGISTRANT EXPLICITLY AUTHORIZES TO APPROVE A CHANGE OF REGISTRANT REQUEST ON ITS BEHALF.  IN THE CASE OF DBP SERVICES, A CHANGE OF REGISTRANT REQUEST MAY ALSO ARISE DUE TO INSTANCES WHERE DBP SERVICES ARE ADDED, OR REMOVED, FROM A DOMAIN NAME.  FOR THE PURPOSE OF FACILITATING ANY SUCH CHANGE REQUEST, AND IN ACCORDANCE WITH ICANN'S CHANGE OF REGISTRANT POLICY, YOU AGREE TO APPOINT DBP AS YOUR DESIGNATED AGENT FOR THE SOLE PURPOSE OF EXPLICITLY CONSENTING TO MATERIAL CHANGES OF REGISTRATION CONTACT INFORMATION ON YOUR BEHALF.

\r\n

4. DBP's rights to deny, suspend, terminate service and to disclose your personal information

\r\n

You understand and agree that DBP has the absolute right and power, in its sole discretion and without any liability to You whatsoever, to:

\r\n
    \r\n
  1. Cancel the privacy service (which means that Your information will be available in the \"Whois\" directory) and/or reveal Your name and personal information that You provided to DBP:  
    A. When required by law, in the good faith belief that such action is necessary in order to conform to the edicts of the law or in the interest of public safety;
    B. To comply with legal process served upon DBP or in response to a reasonable threat of litigation against DBP (as determined by DBP in its sole and absolute discretion); or
    C. To comply with ICANN rules, policies, or procedures.
  2. \r\n
  3. Resolve any and all third party claims, whether threatened or made, arising out of Your use of a domain name for which DBP is the registrant listed in the \"Whois\" directory on Your behalf; or
  4. \r\n
  5. Take any other action DBP deems necessary:
    A. In the event you breach any provision of this Agreement or the DBP Anti-Spam Policy;
    B. To protect the integrity and stability of, and to comply with registration requirements, terms, conditions and policies of, the applicable domain name Registry and/or Registry Provider;
        C. To comply with any applicable laws, government rules or requirements, subpoenas, court orders or requests of law enforcement; 
    D. To comply with ICANN's Dispute Resolution Policy or ICANN's Change of Registrant Policy;
    E. To avoid any financial loss or legal liability (civil or criminal) on the part of DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, officers, directors and employees;
    F. If the domain name for which DBP is the registrant on Your behalf violates or infringes a third party's trademark, trade name or other legal rights; and
    G. If it comes to DBP's attention that You are using DBP's services in a manner (as determined by DBP in its sole and absolute discretion) that:
  6. \r\n
\r\n
\r\n
    \r\n
  • Is illegal, or promotes or encourages illegal activity;
  • \r\n
  • Promotes, encourages or engages in child pornography or the exploitation of children;
  • \r\n
  • Promotes, encourages or engages in terrorism, violence against people, animals, or property;
  • \r\n
  • Promotes, encourages or engages in any spam or other unsolicited bulk email, or computer or network hacking or cracking;
  • \r\n
  • Violates the Ryan Haight Online Pharmacy Consumer Protection Act of 2008 or similar legislation, or promotes, encourages or engages in the sale or distribution of prescription medication without a valid prescription;  
  • \r\n
  • Infringes on the intellectual property rights of another User or any other person or entity;
  • \r\n
  • Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity;
  • \r\n
  • Interferes with the operation of DBP services;
  • \r\n
  • Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; or
  • \r\n
  • Contains false or deceptive language, or unsubstantiated or comparative claims, regarding DBP or its services.
  • \r\n
\r\n
\r\n

You further understand and agree that if DBP is named as a defendant in, or investigated in anticipation of, any legal or administrative proceeding arising out of Your domain name registration or Your use of DBP's services, Your private registration service may be canceled, which means the domain name registration will revert back to You and Your identity will therefore be revealed in the Whois directory as Registrant.

\r\n

In the event:

\r\n
    \r\n
  1. DBP takes any of the actions set forth in subsection i, ii, or iii above or section 5; and/or
  2. \r\n
  3. You elect to cancel DBP's services for any reason --
  4. \r\n
\r\n

Neither DBP nor your Registrar will refund any fees paid by You whatsoever.

\r\n

5. communications forwarding

\r\n

a. Correspondence Forwarding

\r\n

Inasmuch as DBP's name, postal address and phone number will be listed in the Whois directory, You agree DBP will review and forward communications addressed to Your domain name that are received via email, certified or traceable courier mail (such as UPS, FedEx, or DHL), or first class U.S. postal mail. You specifically acknowledge DBP will not forward to You first class postal mail (other than legal notices), \"junk\" mail or other unsolicited communications (whether delivered through email, fax, postal mail or telephone), and You further authorize DBP to either discard all such communications or return all such communications to sender unopened. You agree to waive any and all claims arising from Your failure to receive communications directed to Your domain name but not forwarded to You by DBP.

\r\n

b. Email Forwarding

\r\n

The Whois directory requires an email address for every purchased domain name registration. When You purchase a private domain registration, DBP creates a private email address for that domain name, \"@domainsbyproxy.com\". Thereafter, when messages are sent to that private email address, DBP handles them according to the email preference You selected for that particular domain name. You have three (3) email preferences from which to choose. You can elect to:

\r\n
    \r\n
  1. Have all of the messages forwarded;
  2. \r\n
  3. Have all of the messages filtered for Spam and then forwarded; or
  4. \r\n
  5. Have none of the messages forwarded.
  6. \r\n
\r\n

As with all communications, You agree to waive any and all claims arising from Your failure to receive email directed to Your domain name but not forwarded to You by DBP.

\r\n

c. Notifications Regarding Correspondence and Your Obligation to Respond

\r\n

When DBP receives certified or traceable courier mail or legal notices addressed to Your domain name, in most cases, DBP will attempt to forward the mail to you via email. If You do not respond to the DBP email and/or the correspondence DBP has received regarding Your domain name registration concerns a dispute of any kind or otherwise requires immediate disposition, DBP may immediately reveal Your identity and/or cancel the DBP private registration service regarding either the domain name registration(s) in question. This means the Whois directory will revert to displaying Your name, postal address, email address and phone number that you provided to DBP.

\r\n

d. Additional Administrative Fees

\r\n

DBP reserves the right to charge You reasonable \"administrative fees\" or \"processing fees\" for (i)  tasks DBP may perform outside the normal scope of its Services, (ii) additional time and/or costs DBP may incur in providing its Services, and/or (iii) Your non-compliance with the Agreement (as determined by DBP in its sole and absolute discretion). Typical administrative or processing fee scenarios include, but are not limited to, (i) customer service issues that require additional personal time and attention; (ii) disputes that require accounting or legal services, whether performed by DBP staff or by outside firms retained by DBP; (iii) recouping any and all costs and fees, including the cost of Services, incurred by DBP as the result of chargebacks or other payment disputes brought by You, Your bank or Payment Method processor.  These administrative fees or processing fees will be billed to the Payment Method You have on file with Your Registrar.

\r\n

You agree to waive the right to trial by jury in any proceeding that takes place relating to or arising out of this Agreement.

\r\n

6. limitations of liability

\r\n

UNDER NO CIRCUMSTANCES SHALL DBP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER RELATED TO THIS AGREEMENT, YOUR DOMAIN NAME REGISTRATION, DBP'S SERVICES, USE OR INABILITY TO USE THE DBP WEBSITE OR THE MATERIALS AND CONTENT OF THE WEBSITE OR ANY OTHER WEBSITES LINKED TO THE DBP WEBSITE OR YOUR PROVISION OF ANY PERSONALLY IDENTIFIABLE INFORMATION TO DBP OR ANY THIRD PARTY. THIS LIMITATION APPLIES REGARDLESS OF WHETHER THE ALLEGED LIABILITY IS BASED ON CONTRACT, TORT, WARRANTY, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER BASIS, EVEN IF DBP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR SUCH DAMAGES WERE REASONABLY FORESEEABLE. BECAUSE CERTAIN JURISDICTIONS DO NOT PERMIT THE LIMITATION OR ELIMINATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, DBP'S LIABILITY IN SUCH JURISDICTIONS SHALL BE LIMITED TO THE SMALLEST AMOUNT PERMITTED BY LAW.

\r\n

YOU FURTHER UNDERSTAND AND AGREE THAT DBP DISCLAIMS ANY LOSS OR LIABILITY RESULTING FROM:

\r\n
    \r\n
  1. THE INADVERTENT DISCLOSURE OR THEFT OF YOUR PERSONAL INFORMATION;
  2. \r\n
  3. ACCESS DELAYS OR INTERRUPTIONS TO OUR WEBSITE OR THE WEBSITES OF OUR AFFILIATED REGISTRARS;
  4. \r\n
  5. DATA NON-DELIVERY OF MIS-DELIVERY BETWEEN YOU AND DBP;
  6. \r\n
  7. THE FAILURE FOR WHATEVER REASON TO RENEW A PRIVATE DOMAIN NAME REGISTRATION;
  8. \r\n
  9. THE UNAUTHORIZED USE OF YOUR DBP ACCOUNT OR ANY OF DBP'S SERVICES;
  10. \r\n
  11. ERRORS, OMISSIONS OR MISSTATEMENTS BY DBP;
  12. \r\n
  13. DELETION OF, FAILURE TO STORE, FAILURE TO PROCESS OR ACT UPON EMAIL MESSAGES FORWARDED TO EITHER YOU OR YOUR PRIVATE DOMAIN NAME REGISTRATION;
  14. \r\n
  15. PROCESSING OF UPDATED INFORMATION REGARDING YOUR DBP ACCOUNT; AND/OR
  16. \r\n
  17. ANY ACT OR OMISSION CAUSED BY YOU OR YOUR AGENTS (WHETHER AUTHORIZED BY YOU OR NOT).
  18. \r\n
\r\n

7. indemnity

\r\n

You agree to release, defend, indemnify and hold harmless DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, directors, officers and employees and Your Registrar, from and against any and all claims, demands, liabilities, losses, damages or costs, including reasonable attorneys' fees, arising out of or related in any way to this Agreement, the services provided hereunder by DBP, the DBP website, Your account with DBP, Your use of Your domain name registration, and/or disputes arising in connection with the dispute policy.

\r\n

8. DBP warranty disclaimer

\r\n

DBP, ITS PARENT COMPANIES, SUBSIDIARIES, AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, OFFICERS, AND EMPLOYEES EXPRESSLY DISCLAIM ALL REPRESENTATIONS AND WARRANTIES OF ANY KIND IN CONNECTION WITH THIS AGREEMENT, THE SERVICE PROVIDED HEREUNDER, THE DBP WEBSITE OR ANY WEBSITES LINKED TO THE DBP WEBSITE, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL DBP SERVICES, AS WELL AS THE DBP WEBSITE, ARE PROVIDED \"AS IS\". YOUR SUBSCRIPTION TO AND USE OF DBP'S SERVICES AND ITS WEBSITE ARE ENTIRELY AT YOUR RISK. SOME JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES, IN WHICH EVENT THE FOREGOING DISCLAIMER MAY NOT APPLY TO YOU.

\r\n

9. copyright and trademark

\r\n

You understand and agree that all content and materials contained in this Agreement, the Privacy Policy and the DBP website found here , are protected by the various copyright, patent, trademark, service mark and trade secret laws of the United States, as well as any other applicable proprietary rights and laws, and that DBP expressly reserves its rights in and to all such content and materials.

\r\n

You further understand and agree You are prohibited from using, in any manner whatsoever, any of the afore-described content and materials without the express written permission of DBP. No license or right under any copyright, patent, trademark, service mark or other proprietary right or license is granted to You or conferred upon You by this Agreement or otherwise.

\r\n

10. miscellaneous provisions

\r\n

a. Severability; Construction; Entire Agreement

\r\n

If any part of this Agreement shall be held to be illegal, unenforceable or invalid, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, enforceable and valid, and the legality, enforceability and validity of the remaining provisions of this Agreement shall not be affected or impaired. The headings herein will not be considered a part of this Agreement. You agree this Agreement, including the policies it incorporates by reference, constitute the complete and only Agreement between You and DBP regarding the services contemplated herein.

\r\n

b. Governing Law; Venue; Waiver Of Trial By Jury

\r\n

This Agreement shall be governed in all respects by the laws and judicial decisions of Maricopa County, Arizona, excluding its conflicts of laws rules. Except as provided immediately below, You agree that any action relating to or arising out of this Agreement, shall be brought exclusively in the courts of Maricopa County, Arizona. For the adjudication of domain name registration disputes, you agree to submit to the exclusive jurisdiction and venue of the U.S. District Court for the District of Arizona located in Phoenix, Arizona. You agree to waive the right to trial by jury in any proceeding, regardless of venue, that takes place relating to or arising out of this Agreement.

\r\n

c. Notices

\r\n

All notices from DBP to You will be sent to the email address You provided to DBP. Notices by email shall be deemed effective twenty-four (24) hours after the email is sent by DBP, unless DBP receives notice that the email address is invalid, in which event DBP may give You notice via first class or certified mail, return receipt requested. All notices from You to DBP shall be sent via certified mail, return receipt requested or traceable courier to:

\r\n
      Domains By Proxy, LLC
      Attn: General Counsel
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

Notices sent via certified mail or traceable courier shall be deemed effective five (5) days after the date of mailing.

\r\n

d. Insurance

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's negligent actions (and absent fraud or other negligent or willful misconduct committed by a third party), You may be insured against such loss through DBP's Professional Liability Insurance Policy, which is currently underwritten by American International Insurance Company. Of course, every claim is subject to the then-carrier's investigation into the facts and circumstances surrounding such claim. In the event You have reason to believe that circumstances exist which warrant the filing of an insurance claim, please send a written notice (specifying the basis for such claim), via certified mail, return receipt requested, to:

\r\n
      Domains By Proxy, LLC
      Attn: Insurance Claims
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

e. Indemnification

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's willful misconduct, Your Registrar (the \"Indemnifying Party\") will indemnify and hold You harmless against any losses, damages or costs (including reasonable attorneys' fees) resulting from any claim, action, proceeding, suit or demand arising out of or related to the loss of Your domain name registration. Such indemnification obligations under this Section 10(e) are conditioned upon the following:

\r\n
    \r\n
  1. That You promptly give both DBP and the Indemnifying Party written notice of the claim, demand, or action and provide reasonable assistance to the Indemnifying Party, at its cost and expense, in connection therewith, and
  2. \r\n
  3. That the Indemnifying Party has the right, at its option, to control and direct the defense to any settlement of such claim, demand, or action.
  4. \r\n
\r\n

Any notice concerning indemnification shall, with respect to DBP, be sent in accordance with Section 10(c) of this Agreement. With respect to Your Registrar, notices regarding indemnification should be sent in accordance with the notification provisions contained in Your Registrar's Domain Name Registration Agreement.

\r\n

f. Term of Agreement; Survival

\r\n

The terms of this Agreement shall continue in full force and effect as long as DBP is the Registrant for any domain name on Your behalf. Sections 5 (Communications Forwarding), 6 (Limitation of Liability), 7 (Indemnity), 8 (Warranty Disclaimer) and 10 (Miscellaneous Provisions) shall survive any termination or expiration of this Agreement.

\n
\n
\n\nRevised: 10/25/17
\nCopyright © 2003-2017 All Rights Reserved.\n
\n
\n
", - "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=domain_nameproxy&pl_id=510456" - } - ] - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "in", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "agreementKey": "DNRA", + "title": "Domain Name Registration Agreement", + "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Registration Agreement\n
\n

Last Revised: October 6, 2017

\n

PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.

\r\n

1. OVERVIEW

\r\n

This Domain Name Registration Agreement (this \"Agreement\") is entered into by and between 510456, an individual (\"Azure\") and you, and is made effective as of the date of electronic acceptance.  This Agreement sets forth the terms and conditions of your use of Azure's Domain Name Registration services (the \"Domain Name Registration Services\" or the \"Services\"). The terms \"we\", \"us\" or \"our\" shall refer to Azure.  The terms \"you\", \"your\", \"User\" or \"customer\" shall refer to any individual or entity who accepts this Agreement.  Unless otherwise specified, nothing in this Agreement shall be deemed to confer any third-party rights or benefits.

\r\n

Your electronic acceptance of this Agreement signifies that you have read, understand, acknowledge and agree to be bound by this Agreement, which incorporates by reference each of (i) Azure’s Universal Terms of Service Agreement (\"UTOS\"), (ii) all agreements, guidelines, policies, practices, procedures, registration requirements or operational standards of the top-level domain (\"TLD\") in which you register any domain (“Registry Policies”), and (iii) any plan limits, product disclaimers or other restrictions presented to you on the Domain Name Registration Services landing page of the Azure website (this “Site”). 

\r\n

TO LINK TO AND REVIEW THE REGISTRY POLICIES FOR THE TLD IN WHICH YOU WISH TO REGISTER A DOMAIN NAME, PLEASE CLICK HERE   

\r\n

You acknowledge and agree that (i) Azure, in its sole and absolute discretion, may change or modify this Agreement, and any policies or agreements which are incorporated herein, at any time, and such changes or modifications shall be effective immediately upon posting to this Site, and (ii) your use of this Site or the Services found at this Site after such changes or modifications have been made shall constitute your acceptance of this Agreement as last revised.  If you do not agree to be bound by this Agreement as last revised, do not use (or continue to use) this Site or the Services found at this Site.  In addition, Azure may occasionally notify you of changes or modifications to this Agreement by email.  It is therefore very important that you keep your shopper account (“Shopper Account”) information, including your email address, current.  Azure assumes no liability or responsibility for your failure to receive an email notification if such failure results from an inaccurate or out-of-date email address.    Azure is not an Internet Corporation for Assigned Names and Numbers (\"ICANN\") accredited registrar; it is an authorized reseller of domain name registration services.  Accordingly, you acknowledge and agree that Azure may modify this Agreement in order to comply with any terms and conditions set forth by (i) the sponsoring registrar, (ii) ICANN, and/or (iii) the registry applicable to the TLD or country code top level domain (\"ccTLD\") in question.  As used herein, the terms \"registry\", \"Registry\", \"registry operator\" or \"Registry Operator\" shall refer to the registry applicable to the TLD or ccTLD in question.  To identify the sponsoring registrar, click here

\r\n

2. PROVISIONS SPECIFIC TO ALL REGISTRATIONS

\r\n

Unless otherwise noted, the provisions below in this Section 2 are generally applicable to all TLDs that we offer.  Special provisions specific to any TLD or ccTLD (those in addition to posted Registry Policies) are identified elsewhere below in this Agreement. 

\r\n
    \r\n
  1. \r\n
    Registry Policies. You agree to be bound by all Registry Policies (defined above in this Agreement) applicable to your domain name registration (at any level). IT IS YOUR RESPONSIBILITY TO VISIT THE APPLICABLE TLD SITE AND READ AND REVIEW ALL APPLICABLE REGISTRY POLICIES PRIOR TO YOUR REGISTRATION IN THE TLD.  REGISTRY POLICIES FOR EACH TLD CAN BE FOUND BY VISITING THE CORRESPONDING TLD LINK LISTED HERE.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator of the TLD in which the domain name registration is made is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the respective TLD. The third party beneficiary rights of the Registry Operator will survive any termination of this Agreement.    
    \r\n
  2. \r\n
  3. \r\n
    Registration Requirements.  To the extent any TLD or ccTLD requires you meet eligibility (e.g., residency for .JP, .EU, etc.), validation (e.g., DNS validation) or other authentication requirements as a condition to registering a domain name in the TLD, you agree that by submitting an application or registering or renewing your domain name, you represent and warrant that: (a) all information provided to register or renew the domain name (including all supporting documents, if any) is true, complete and correct, and is not misleading in any way, and the application is made in good faith; (b) you meet, and will continue to meet, the eligibility criteria prescribed in the Registry Policies for the applicable TLD for the duration of the domain name registration; (c) you have not previously submitted an application for the domain name with another registrar using the same eligibility criteria, and the other registrar has rejected the application (if applicable); (d) you acknowledge and agree that even if the domain name is accepted for registration, your entitlement to register the domain name may be challenged by others who claim to have an entitlement to the domain name; and (e) you acknowledge and agree that the Registry or the registrar can cancel the registration of the domain name if any of the warranties required are found to be untrue, incomplete, incorrect or misleading.
    \r\n
  4. \r\n
  5. \r\n
    Ownership.  You acknowledge and agree that registration of a domain name does not create any proprietary right for you, the registrar, or any other person in the name used as a domain name or the domain name registration and that the entry of a domain name in the Registry shall not be construed as evidence or ownership of the domain name registered as a domain name. You shall not in any way transfer or purport to transfer a proprietary right in any domain name registration or grant or purport to grant as security or in any other manner encumber or purport to encumber a domain name registration.
    \r\n
  6. \r\n
  7. \r\n
    ICANN Requirements. You agree to comply with the ICANN requirements, standards, policies, procedures, and practices for which each applicable Registry Operator has monitoring responsibility in accordance with the Registry Agreement between ICANN and itself or any other arrangement with ICANN.
    \r\n
  8. \r\n
  9. \r\n
    Indemnification of Registry.  You agree to indemnify, defend and hold harmless (within 30 days of demand) the Registry Operator and Registry Service Provider and their subcontractors, subsidiaries, affiliates, divisions, shareholders, directors, officers, employees, accountants, attorneys, insurers, agents, predecessors, successors and assigns, from and against any and all claims, demands, damages, losses, costs, expenses, causes of action or other liabilities of any kind, whether known or unknown, including reasonable legal and attorney’s fees and expenses, in any way arising out of, relating to, or otherwise in connection with the your domain name registration, including, without limitation, the use, registration, extension, renewal, deletion, and/or transfer thereof and/or the violation of any applicable terms or conditions governing the registration. You shall not enter into any settlement or compromise of any such indemnifiable claim without Registrar’s or Registry Operator’s prior written consent, which consent shall not be unreasonably withheld, and you agree that these indemnification obligations shall survive the termination or expiration of the Agreement for any reason.  IN NO EVENT SHALL THE REGISTRY OPERATOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFIT OR GOODWILL, FOR ANY MATTER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTIES, EITHER EXPRESS OR IMPLIED, ANY BREACH OF THIS AGREEMENT OR ITS INCORPORATED AGREEMENTS AND POLICIES YOUR INABILITY TO USE THE DOMAIN NAME, YOUR LOSS OF DATA OR FILES OR OTHERWISE, EVEN IF THE REGISTRY OPERATOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    \r\n
  10. \r\n
  11. \r\n
    Regulated TLDs.   For domain name registration in any “Regulated” TLD, you acknowledge and agree your registration is subject to the following additional requirements: (a) comply with all applicable laws, including those that relate to privacy, data collection, consumer protection (including in relation to misleading and deceptive conduct), fair lending, debt collection, organic farming, disclosure of data, and financial disclosures; (b) if you collect and maintain sensitive health and financial data you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  Regulated TLDs include: .games, .juegos, .school, .schule, .toys, .eco, .care, .diet, .fitness, .health, .clinic, .dental, .healthcare, .capital, .cash, .broker, .claims, .exchange, .finance, .financial, .fund, .investments, .lease, .loans, .market, .money, .trading, .credit, .insure, .tax, .mortgage, .degree, .mba, .audio, .book, .broadway, .film, .movie, .music, .software, .fashion, .video, .app, .art, .band, .cloud, .data, .digital, .fan, .free, .gratis, .discount, .sale, .media, .news, .online, .pictures, .radio, .show, .theater, .tours, .accountants, .architect, .associates, .broker, .legal, .realty, .vet, .engineering, .law, .limited, .show; .theater; .town, .city, .reise, and .reisen
    \r\n
  12. \r\n
  13. \r\n
    Highly Regulated TLDs. In addition to the requirements for Regulated TLDs, domain name registration in any Highly-Regulated TLD is subject to the following requirements: (a) you will provide administrative contact information, which must be kept up‐to‐date, for the notification of complaints or reports of registration abuse, as well as the contact details of the relevant regulatory, or Industry self‐regulatory, bodies in their main place of business; (b) you represent that you possess any necessary authorizations, charters, licenses and/or other related credentials for participation in the sector associated with such Highly‐regulated TLD; and (c) you will report any material changes to the validity of you authorizations, charters, licenses and/or other related credentials for participation in the sector associated with the Highly‐regulated TLD to ensure you continue to conform to the appropriate regulations and licensing requirements and generally conduct your activities in the interests of the consumers they serve.  Highly Regulated TLDs include: .abogado, .attorney, .bank, .bet, .bingo, .casino .charity (and IDN equivalent xn--30rr7y), .cpa, .corp, creditcard, .creditunion .dds, .dentist, .doctor, .fail, .gmbh, .gripe, .hospital, .inc, .insurance, .lawyer, .lifeinsurance, .llc, .llp, .ltda, .medical, .mutuelle, .pharmacy, .poker, .university, .sarl, .spreadbetting, .srl, .sucks, .surgery .university, .vermogensberater, .vesicherung,  and .wtf.  For .doctor, registrants who hold themselves out to be licensed medical practitioners must be able to demonstrate to the Registrar and Registry, upon request, that they hold the applicable license.
    \r\n
  14. \r\n
  15. \r\n
    Special Safeguard TLDs.  In addition to the requirements for Regulated and Highly-Regulated TLDs, by registering a domain name in any “Special-Safeguard” TLD, you agree to take reasonable steps to avoid misrepresenting or falsely implying that you or your business is affiliated with, sponsored or endorsed by one or more country's or government's military forces if such affiliation, sponsorship or endorsement does not exist.  Special Safeguard TLDs include:  .army, .navy, .airforce
    \r\n
  16. \r\n
  17. \r\n
    Third Party Beneficiary.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator for any TLD in which your register a domain name is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the TLD. Third party beneficiary rights of the Registry Operator shall survive any termination of this Agreement.
    \r\n
  18. \r\n
  19. \r\n
    Variable and Non-Uniform Pricing.  You acknowledge, understand and agree that certain domain names in certain TLDs are established by Registry Policies to be variably priced (i.e., standard v. premium names) and/or may have non-uniform renewal registration pricing (such that the Fee for a domain name registration renewal may differ from other domain names in the same TLD, e.g., renewal registration for one domain may be $100.00 and $33.00 for a different domain name).
    \r\n
  20. \r\n
  21. \r\n
    Restriction on Availability of Privacy or Proxy.  You acknowledge and agree that, as dictated by the Registry Policies, for certain TLDs you may not be permitted to purchase private or proxy TLD registrations. In such case, you must register for any and all TLD registrations using your personal information, which information you represent and warrant is current, accurate and complete.
    \r\n
  22. \r\n
\r\n

3. FEES AND PAYMENTS

\r\n

(A) GENERAL TERMS, INCLUDING AUTOMATIC RENEWAL TERMS

\r\n

You agree to pay any and all prices and fees due for Services purchased or obtained at this Site at the time you order the Services.  Azure expressly reserves the right to change or modify its prices and fees at any time, and such changes or modifications shall be posted online at this Site and effective immediately without need for further notice to you.  If you have purchased or obtained Services for a period of months or years, changes or modifications in prices and fees shall be effective when the Services in question come up for renewal as further described below. 

\r\n

Unless otherwise specifically noted (for reasons such as those highlighted in Section 2(x) above), the renewal price for any domain name in any TLD will be the same as the list (non-sale) price shown when you search for and select a domain, and again in the cart prior to purchase.  For example, if the list price is $9.99, and a different renewal price is not specifically identified, then the renewal price is also $9.99.  Likewise, if a domain name has a sale price of $8.99, with the list (non-sale) price shown (as a strike-through) at $9.99, the renewal price will be $9.99*.  

\r\n

*Renewal price subject to change prior to actual date of renewal. 

\r\n

For all other terms and conditions relating to fees, payment, refund and billing, etc. applicable to the Services offered under the scope of this Agreement, please refer to the “Fees and Payments” section of our UTOS

\r\n

(B) DOMAIN NAME RENEWAL TERMS

\r\n

When you register a domain name, you will have two renewal options: (i) \"Automatic Renewal\" (ii) \"Extended Automatic Renewal\", and (iii) \"Manual Renewal\": 

\r\n
    \r\n
  1. Automatic Renewal.  Automatic Renewal is the default setting. Therefore, unless you select Extended Automatic Renewal, Azure will enroll you in Automatic Renewal.  Domain names will automatically renew, for a period equivalent to the length of your original domain name registration, any domain name that is up for renewal and will take payment from the Payment Method you have on file with Azure, at Azure's then current rates. Thus, if you have chosen to register your domain name for one (1) year, Azure will automatically renew it for one (1) year. If you have chosen to register your domain name for two (2) years, Azure will automatically renew it for two (2) years, and so on.
  2. \r\n
  3. Extended Automatic Renewal.  If you enroll in the Extended Automatic Renewal plan, Azure will automatically renew any domain name that is up for renewal for an additional one-year period on each and every anniversary of your domain name registration, so the initial registration period will always remain intact.  Thus, if you have chosen to register your domain name for two (2) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your two (2) year registration period will always remain intact. If you have chosen to register your domain name for five (5) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your five (5) year registration period will always remain intact, and so on.  Azure will take payment from the Payment Method you have on file with Azure, at Azure's then current one-year domain name registration rate.
  4. \r\n
  5. Manual Renewal.  If you have elected to turn off automatic renewal and cancel the product (i.e., cancel the domain name registration) effective at expiration of the then current term, you may nonetheless elect to manually renew the domain name at anytime prior to its expiration date by logging into your Account Manager and manually implementing the renewal or by calling customer service (should you in fact want the domain name to be renewed). If you fail to manually implement the renewal before the expiration date, the domain name will be cancelled and you will no longer have use of that name.
  6. \r\n
\r\n

All renewals will be subject to the terms of this Agreement, as it may be amended from time to time, and you acknowledge and agree to be bound by the terms of this Agreement (as amended) for all renewed domains.  Domain name renewals will be non-refundable. In the event that we are unable to automatically renew your domain name for the renewal option selected for any reason, we may automatically renew your domain name for a period less than your original registration period to the extent necessary for the transaction to succeed. If for any reason Azure is not able to take the payment from the Payment Method you have on file, and you fail to respond to our notices, your domain name registration will expire. It is your responsibility to keep your Payment Method information current, which includes the expiration date if you are using a credit card.

\r\n

For certain ccTLDs (.am, .at, .be, .br, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal billing will occur on the first day of the month prior to the month of expiration.

\r\n

For certain ccTLDs (.am, .at, .be, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal will occur, or must occur manually if the product was previously cancelled, no later than the 20th of the month prior to the expiration date, or your domain name will be placed in non-renewal status. For some ccTLDs (.es) renewal must be processed no later than seven days before the expiration date, or your domain name will be placed in non-renewal status.  When the domain name is in non-renewal status, you can renew the domain name only by calling Azure and requesting that the domain name be renewed. You cannot renew the domain name through your Account Manager. If you fail to manually implement the renewal of any cancelled product before the expiration date, the domain name will be cancelled and you will no longer have use of that name.

\r\n

You agree that Azure will not be responsible for cancelled domain names that you fail to renew in the timeframes indicated in this Agreement. In any case, if you fail to renew your domain name in a timely fashion, additional charges may apply. If you signed up for privacy services, protected registration, or any other similar service, with your domain name registration, these services will automatically be renewed when your domain name registration is up for renewal, and you will incur the applicable additional renewal fee unless you cancel in advance. 

\r\n

If you fail to renew your domain name in the timeframes indicated in this Agreement, you agree that Azure may, in its sole discretion, renew your expired domain name on your behalf. If Azure decides to renew your expired domain name on your behalf, you will have a Renewal Grace Period during which you may reimburse Azure for the renewal and keep your domain name. The Renewal Grace Period is currently twelve (12) days but subject to change under the terms of this Agreement. For certain ccTLDs (.am, .at, .be, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg) there is no Renewal Grace Period after the expiration date of the domain name. If you do not reimburse Azure for the renewal during the Renewal Grace Period your domain name will be placed on Hold and flagged for deletion after which you will have a 30-day redemption period during which you may pay Azure a Redemption fee and redeem your domain name. The Redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the 30-day redemption period Azure may, in its sole discretion, delete your domain name or transfer it to another registrant on your behalf.  During the redemption period your domain name may be parked. 

\r\n

If your domain name is deleted, the Registry also provides a 30-day Redemption Grace Period during which you may pay Azure a redemption fee and redeem your domain name. The redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the Registry's Redemption Grace Period the Registry will release your name and it will become available for registration on a first-come-first-served basis.

\r\n

Renewal Grace Periods and Redemption Grace Periods vary for different ccTLDs. Please refer to the specific terms for the applicable TLD. In the event there is a conflict between the provisions of this paragraph and the ccTLD terms, the ccTLD terms shall control.

\r\n

\r\n

Our registration expiration notification policy and associated fees are described here.

\r\n

\r\n

\r\n

(C) FREE PRODUCT TERMS

\r\n

In the event you are provided with free products with the registration of a domain name, you acknowledge and agree that such free products will only be available with a valid purchase and may be terminated in the event the domain name is deleted or cancelled.  For free domain names, you acknowledge and agree that you may not change the account associated with such free domain for the first five (5) days after registration.  In the event a free domain name is offered with the registration of another domain and if the paid domain name registered fails, then we may, in its sole discretion, either delete the registration of the free domain or refund the difference between the amount paid and the value of the free domain.  Failed registrations associated with promotionals offers may result in the deletion of the free or discounted item or an adjustment between the registered domain price and the value of the discounted item, in our sole discretion.

\r\n

4. TERM OF AGREEMENT; TRANSFERS; DOMAIN TASTING

\r\n

The term of this Agreement shall continue in full force and effect as long as you have any domain name registered through Azure.

\r\n

You agree that you will not transfer any domain name registered through Azure to another domain name registrar during the first sixty (60) days after its initial registration date.  You agree that you may not transfer any domain name for ten (10) days after a Change of Account.

\r\n

You further agree that you will not engage in \"domain tasting\" by using the five (5) day grace period in which a registrant may choose to cancel a domain name and get a full refund of the registration fee as a vehicle to test the marketability or viability of a domain name.  If Azure determines (which determination shall be made by Azure in its sole and absolute discretion) that you have been engaging in \"domain tasting\", then Azure reserves the right to (a) charge you a small fee (which fee shall be deducted from any refund issued) or (b) refuse your cancellation/refund request altogether. Azure will not charge you a fee if Azure cancels your domain name during the five (5) day grace period due to fraud or other activity outside of your control. The five (5) day grace period does not apply to Premium Domains, which are non-refundable.

\r\n

You agree that Azure shall not be bound by (i) any representations made by third parties who you may use to purchase services from Azure, or (ii) any statements of a general nature, which may be posted on Azure's website or contained in Azure's promotional materials.

\r\n

5. UP TO DATE INFORMATION; USE OF INFORMATION AND EXPIRATION

\r\n

You agree to notify Azure within five (5) business days when any of the information you provided as part of the application and/or registration process changes. It is your responsibility to keep this information in a current and accurate status. Failure by you, for whatever reason, to provide Azure with accurate and reliable information on an initial and continual basis, shall be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. Failure by you, for whatever reason, to respond within five (5) business days to any inquiries made by Azure to determine the validity of information provided by you, shall also be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. You agree to retain a copy for your record of the receipt for purchase of your domain name.

\r\n

You agree that for each domain name registered by you, the following contact data is required: postal address, email address, telephone number, and if available, a facsimile number for the Registered Name Holder and, if different from the Registered Name Holder, the same contact information for, a technical contact, an administrative contact and a billing contact.

\r\n

You acknowledge and agree that domain name registration requires that this contact information, in whole or in part, be shared with the registry operator, for their use, copying, distribution, publication, modification and other processing  for (among other uses in accordance with our Privacy Policy) the purpose of administration of the domain name registration, which may require such information be transferred back and forth across international borders, to and from the U.S. to the EU, for example. As required by ICANN, this information must also be made publicly available by means of Whois, and that the registry operator may also be required to make this information publicly available by Whois. Both Azure and the registry operator may be required to archive this information with a third-party escrow service. You hereby consent and give permission for all such requirements and disclosures. Further, you represent and warrant that, if you are providing information about a third party, you have notified the third party of the disclosure and the purpose for the disclosure and you have obtained the third party's consent to such disclosure.  Registrar will not process data in a way that is incompatible with this Agreement.  Registrar will take reasonable precautions to protect data from loss or misuse.

\r\n

You agree that for each domain name registered by you the following information will be made publicly available in the Whois directory as determined by ICANN Policy and may be sold in bulk as set forth in the ICANN agreement:

\r\n
    \r\n
  • The domain name;
  • \r\n
  • Your name and postal address;
  • \r\n
  • The name, email address, postal address, voice and fax numbers for technical and administrative contacts;
  • \r\n
  • The Internet protocol numbers for the primary and secondary name servers;
  • \r\n
  • The corresponding names of the name servers; and
  • \r\n
  • The original date of registration and expiration date.
  • \r\n
  • Name of primary name server and secondary name server.
  • \r\n
  • Identity of the registrar.
  • \r\n
\r\n

You agree that, to the extent permitted by ICANN, Azure may make use of the publicly available information you provided during the registration process. If you engage in the reselling of domain names you agree to provide any individuals whose personal information you've obtained, information about the possible uses of their personal information pursuant to ICANN policy. You also agree to obtain consent, and evidence of consent, from those individuals for such use of the personal information they provide.

\r\n

You agree that Azure has the right to make public and share with third parties certain information in connection with the sale or purchase of domain names on the website, including but not limited to (a) the name of the domain name sold or purchased, (b) the sale or purchase price of the domain name sold or purchased, and (c) information relating to the timing of the sale or purchase.

\r\n

\r\n

In order for us to comply with any current or future rules and policies for domain name systems including any rules or policies established by the CIRA or any provincial or federal government or by other organization having control or authority to establish rules or policies, you hereby grant to us the right to disclose to third parties through an interactive publicly accessible registration database the following information that you are required to provide when applying for a domain name:

\r\n
    \r\n
  1. The domain or sub-domain name(s) registered by you;
  2. \r\n
  3. Your organization name, type and postal address;
  4. \r\n
  5. The name(s), position(s), postal address(es), e-mail address(es), voice telephone number(s) and where available the fax number(s) of the technical and administrative contacts for your domain or sub-domain name(s);
  6. \r\n
  7. The full hostnames and Internet protocol (IP) addresses of at least two (2) name server hosts (one primary and at least one secondary) for your domain or sub-domain name. Up to six (6) name servers may be specified. If a host has more than one (1) IP address, use a comma-separated list;
  8. \r\n
  9. The corresponding names of those name servers;
  10. \r\n
  11. The original creation date of the registration; and
  12. \r\n
  13. The expiration date of the registration.
  14. \r\n
\r\n

We may be required to make this information available in bulk form to third parties. We may also transfer or assign this information to CIRA or such other third party as we may decide, in our sole discretion.

\r\n

6. DISPUTE RESOLUTION POLICY

\r\n

You agree to be bound by our current Dispute Resolution Policy. This policy is incorporated herein and made a part of this Agreement. You can view the Uniform Domain Name Dispute Resolution Policy online. You agree that Azure may from time to time modify its Dispute Resolution Policy. Azure will post any changes to its Dispute Resolution Policy at least thirty (30) days before they become effective. You agree that by maintaining your domain name registrations with Azure after the updated policy becomes effective that you agree to the Dispute Resolution policy as amended. You agree to review Azure's website periodically to determine if changes have been made to the Dispute Resolution Policy. If you cancel or terminate your Services with Azure as a result of the modified Dispute Resolution policy, no fees will be refunded to you. You also agree to submit to proceedings commenced under ICANN's Uniform Rapid Suspension System, if applicable. 

\r\n

You agree that if a dispute arises as a result of one (1) or more domain names you have registered using Azure, you will indemnify, defend and hold Azure harmless as provided for in this Agreement. You also agree that if Azure is notified that a complaint has been filed with a governmental, administrative or judicial body, regarding a domain name registered by you using Azure, that Azure, in its sole discretion, may take whatever action Azure deems necessary regarding further modification, assignment of and/or control of the domain name deemed necessary to comply with the actions or requirements of the governmental, administrative or judicial body until such time as the dispute is settled. In this event you agree to hold Azure harmless for any action taken by Azure.

\r\n

You agree to submit, without prejudice to other potentially applicable jurisdictions, to the jurisdiction of the courts (1) of your domicile, (2) where registrar is located or (3) where the registry operator is located (e.g., China for .CN, Columbia for .CO, UK for .EU, etc.).

\r\n

\r\n

In the case of .ca domain names, you agree that, if your use of the service or the registration of a .ca domain name is challenged by a third party, you will be subject to the provisions specified by CIRA in their dispute resolution policy, in effect at the time of the dispute.

\r\n

\r\n

7. TRANSFER OF DOMAIN NAMES; RESALE PRACTICES

\r\n

If you transfer any domain name, you agree to provide the information required by, and to abide by, the procedures and conditions set forth in our Domain Name Transfer Agreement and Change of Registrant Agreement. You may view the latest versions of our Domain Name Transfer Agreement and Change of Registrant Agreementonline. In order to further protect your domain name, any domain name registered with Azure or transferred to Azure shall be placed on lock status, unless an opted-out has occurred as defined in our Change of Registrant Agreement or Domain Name Proxy Agreement. The domain name must be placed on unlock status in order to initiate a transfer of the domain name away from Azure to a new Registrar. You may log into your account with Azure at any time after your domain name has been successfully transferred to Azure, and change the status to unlock.

\r\n

In the event you are purchasing a domain name on behalf of a third party, you agree to inform any customer of yours, who may be acquiring a domain name through you using Azure's registration services, that they are in fact registering their domain name through Azure and that Azure or its licensor is an accredited registrar with ICANN. You agree not to represent that you are an ICANN-accredited registrar or that you are in any way providing superior access to the ICANN Domain Name Registry. You also agree not to use the ICANN trademark logo in any of your promotional materials including your website.

\r\n

You agree to obtain each of your customers' acceptances to the then current version of this Agreement, and to retain evidence of their acceptance for a period of not less than three (3) years. Should you require that your customers accept additional terms and conditions that are not required by Azure, you agree that such additional terms and conditions shall not conflict with this Agreement and the policies and procedures adopted by ICANN.

\r\n

You agree that Azure is not lending you access to its registrar connections or its registry access, nor will you be deemed to be a registrar in your own right. Furthermore, you agree you will not attempt to gain access to Azure's registrar connections or registry access. You agree to provide complete, accurate and current data for each registrant to be added to a registry in accordance with ICANN requirements for inclusion in the Whois database.

\r\n

You agree to provide your customers with adequate customer support, and to maintain contact with them with regard to providing a medium for them to communicate changes in the information they provided as part of the domain name registration process. Upon receiving corrected or updated information you will, within five (5) business days, provide such information to Azure so Azure may update its registration records. You will retain copies of all communications between you and your customers and will upon request provide Azure copies of same.

\r\n

8. YOUR OBLIGATIONS; SUSPENSION OF SERVICES; BREACH OF AGREEMENT

\r\n

You represent and warrant to the best of your knowledge that, neither the registration of the domain nor the manner it is directly or indirectly used, infringes the legal rights of any third party.  You will comply with all applicable laws, including, but not limited to those relating to privacy, data collection, consumer protection, fair lending, debt collection, organic farming, and disclosure of data and financial disclosures.  If you collect and maintain sensitive health and financial data, you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  You represent that you possess any necessary authorization, charter, license, and/or other related credential for participation in the sector associated with the associated registry tld string.  You will report any material changes to the validity of your authorization, charter, license, and/or other related credential. You will indemnify and hold harmless the registrar and registry operator, and their directors, officers, employees and agents, from and against any and all claims, damages, liabilities, costs and expenses (including reasonable legal fees and expenses) arising out of or related to the domain name registration.  This obligation shall survive expiration or termination of this Agreement or the domain name registration.

\r\n

You agree that, in addition to other events set forth in this Agreement:

\r\n
    \r\n
  1. Your ability to use any of the services provided by Azure is subject to cancellation or suspension in the event there is an unresolved breach of this Agreement and/or suspension or cancellation is required by any policy now in effect or adopted later by ICANN;
  2. \r\n
  3. Your registration of any domain names shall be subject to suspension, cancellation or transfer pursuant to any ICANN adopted specification or policy, or pursuant to any Azure procedure not inconsistent with an ICANN adopted specification or policy (a) to correct mistakes by Azure or the registry operator in registering any domain name; or (b) for the resolution of disputes concerning any domain name.
  4. \r\n
\r\n

You acknowledge and agree that Azure and registry reserve the right to deny, cancel or transfer any registration or transaction, or place any domain name(s) on registry lock, hold or similar status, as either deems necessary, in the unlimited and sole discretion of either Azure or the registry: (i) to comply with specifications adopted by any industry group generally recognized as authoritative with respect to the Internet (e.g., RFCs), (ii) to correct mistakes made by registry or any registrar in connection with a domain name registration, (iii) for the non-payment of fees to registry, (iv) to protect the integrity and stability of the registry, (v) to comply with any applicable court orders, laws, government rules or requirements, requests of law enforcement, or any dispute resolution process, (vi) to comply with any applicable ICANN rules or regulations, including without limitation, the registry agreement, (vii) to avoid any liability, civil or criminal, on the part of registry operator, as well as its affiliates, subsidiaries, officers, directors, and employees, (viii) per the terms of this Agreement, (ix) following an occurrence of any of the prohibited activities described in Section 8 below, or (x) during the resolution of a dispute.

\r\n

You agree that your failure to comply completely with the terms and conditions of this Agreement and any Azure rule or policy may be considered by Azure to be a material breach of this Agreement and Azure may provide you with notice of such breach either in writing or electronically (i.e. email). In the event you do not provide Azure with material evidence that you have not breached your obligations to Azure within ten (10) business days, Azure may terminate its relationship with you and take any remedial action available to Azure under the applicable laws. Such remedial action may be implemented without notice to you and may include, but is not limited to, cancelling the registration of any of your domain names and discontinuing any services provided by Azure to you. No fees will be refunded to you should your Services be cancelled or terminated because of a breach.

\r\n

Azure's failure to act upon or notify you of any event, which may constitute a breach, shall not relieve you from or excuse you of the fact that you have committed a breach.

\r\n

9. RESTRICTION OF SERVICES; RIGHT OF REFUSAL

\r\n

You agree not to use the services provided by Azure, or to allow or enable others, to use the services provided by Azure for the purposes of:

\r\n
    \r\n
  • The transmission of unsolicited email (Spam); and
  • \r\n
  • Repetitive, high volume inquires into any of the services provided by Azure (i.e. domain name availability, etc.).
  • \r\n
\r\n

You acknowledge and agree that you are prohibited from distributing malware, abusively operating botnets, phishing, piracy, trademark or copyright infringement, fraudulent or deceptive practices, counterfeiting or otherwise engaging in activity contrary to applicable law, and you acknowledge and agree that the consequences for such activities include suspension of the domain name.

\r\n

If you are hosting your domain name system (“DNS”) on Azure’s servers, or are using our systems to forward a domain name, URL, or otherwise to a system or site hosted elsewhere, or if you have your domain name registered with Azure, you are responsible for ensuring there is no excessive overloading on Azure’s servers. You may not use Azure’s servers and your domain name as a source, intermediary, reply to address, or destination address for mail bombs, Internet packet flooding, packet corruption, or other abusive attack. Server hacking or other perpetration of security breaches is prohibited. You agree that Azure reserves the right to deactivate your domain name from its DNS if Azure deems it is the recipient of activities caused by your site that threaten the stability of its network.

\r\n

You agree that Azure, in its sole discretion and without liability to you, may refuse to accept the registration of any domain name. Azure also may in its sole discretion and without liability to you delete the registration of any domain name during the first thirty (30) days after registration has taken place. Azure may also cancel the registration of a domain name, after thirty (30) days, if that name is being used, as determined by Azure in its sole discretion, in association with spam or morally objectionable activities. Morally objectionable activities will include, but not be limited to:

\r\n
    \r\n
  • Activities prohibited by the laws of the United States and/or foreign territories in which you conduct business;
  • \r\n
  • Activities designed to encourage unlawful behavior by others, such as hate crimes, terrorism and child pornography; and
  • \r\n
  • Activities designed to harm or use unethically minors in any way.
  • \r\n
\r\n

In the event Azure refuses a registration or deletes an existing registration during the first thirty (30) days after registration, you will receive a refund of any fees paid to Azure in connection with the registration either being cancelled or refused. In the event Azure deletes the registration of a domain name being used in association with spam or morally objectionable activities, no refund will be issued.

\r\n

10. DEFAULT SETTINGS; PARKED PAGE

\r\n

Choosing Your Domain Name Settings.  When you register a domain name with Azure, you will be prompted to choose your domain name settings during the checkout process.  If you plan on using another provider for your website or hosting needs, then you should enter the name servers of such provider when you choose your domain name settings.  This will direct your domain name away from Azure’s name servers.  If you are an existing Azure customer and have already set up a customer profile designating your domain name settings for new domain name registrations, you will not need to complete this step again during the checkout process.   

\r\n

Azure’s Default Settings.  If you do not direct your domain name away from Azure’s name servers as described above, Azure will direct your domain name to a “Parked Page” (“Default Setting”).  You acknowledge and agree that Azure has the right to set the Default Setting. 

\r\n

Parked Page Default Setting.  Azure’s Parked Page service is an online domain monetization system designed to generate revenue (through the use of pay per click advertising) from domain names that are not actively being used as websites.  If your domain name is directed to a Parked Page, you acknowledge and agree that Azure may display both (a) in-house advertising (which includes links to Azure products and services) and (b) third-party advertising (which includes links to third-party products and services) on your Parked Page through the use of pop-up or pop-under browser windows, banner advertisements, audio or video streams, or any other advertising means, and we may aggregate for our own use, related usage data by means of cookies and other similar means.  In addition, you acknowledge and agree that all in-house and third-party advertising will be selected by Azure and its advertising partners, as appropriate, and you will not be permitted to customize the advertising, or entitled to any compensation in exchange therefor.  Please note that the third-party advertising displayed on Azure’s Parked Pages may contain content offensive to you, including but not limited to links to adult content.  Azure makes no effort to edit, control, monitor, or restrict the content and third-party advertising displayed on Azure’s Parked Pages, and expressly disclaims any liability or responsibility to you or any third party in connection therewith.

\r\n

Changing Azure’s Default Settings.  You may change Azure’s Default Settings at any time during the term of your domain name registration.

\r\n
    \r\n
  1. Content Displaying On Your Parked Page.  You can not modify the content displaying on your Parked Page.  You may select one of the other options listed below.
  2. \r\n
  3. Participating In Domain Name Monetization.  If you wish to participate in the domain monetization potential presented by Azure’s Parked Page service, please review and consider purchasing our CashParking® service.   
  4. \r\n
  5. No Content.  If the options listed above are not acceptable to you, please contact customer support to learn what other options might be available to you.
  6. \r\n
\r\n

Return To Parked Page Default Setting Upon Domain Name Expiration.  Upon domain name expiration, and regardless of how you use your domain name during the term of your domain name registration, your domain name will automatically return to the Parked Page Default Setting described above.  As used in this paragraph, “expiration” is deemed to include any “renewal period” or “redemption period” immediately after the domain name expires, but before the domain name is returned to the registry.  Once your domain name has returned to the Parked Page Default Setting described above, the only way to opt out of the Parked Page service is to renew, redeem, or re-register your domain name in accordance with Section 2(B), Domain Name Renewal Terms, of this Agreement.   

\r\n

11. DOMAIN ADD-ONS

\r\n

Business Registration:  Business registration allows You to display additional information about the business that is the basis of Your domain name, including, but not limited to, such information as Your fax number, street address, and hours of operation.

\r\n

Certified Domains.  The certified domain service generally allow You to: (i) put a Certified Domain Validation seal on Your website; and (ii) have Your domain name listed as \"Certified\", in WHOIS lookups on our website.   The Certified Domain Validation seal renews independently of Your domain. When You renew Your domain, You must also, when necessary, separately renew Your Certified Validation seal. However, the Certified Domain Validation seal can be cancelled independently of Your domain. If the domain is cancelled, the Certified Domain associated with the cancelled domain will automatically cancel.  The Certified Domain seal is a trademark and is protected by copyright, trademark and other intellectual property laws. You may use the Certified Domain seal only in conjunction with the purchase of the Services set forth in the Agreement, and subject to the terms and conditions hereof. Other than provided for in this Agreement, You may not otherwise use, reproduce, or modify the mark for any additional promotional use, without our prior written approval. Your right to the use of the Certified Domain seal is immediately terminated upon expiration or termination of this Agreement.

\r\n

Expiration Consolidation.  You understand and acknowledge the expiration consolidation service may only be used to consolidate the expiration of .com and .net domain names. The service may not be used to consolidate domains that are on Registrar HOLD, Registry HOLD, or pending Transfer status. You acknowledge the service may only be used to push the expiration date of Your domains forward in time, at least one (1) month forward and no more than ten (10) years forward, and then, only for a period lasting less than twelve (12) months. Once the service has been used to consolidate domains, the new expiration date may not be reversed. To ensure the service is not abused or used as an alternative to renewals, you may only use the service on each domain once in any 12-month period. The service may only be used on domain names that have not passed their expiration date. In order to change the expiration date again, You will be required to renew the domain name first.  You further understand and acknowledge the service may only be used to coordinate domains where we are the registrar of record. Domains not registered with us must be transferred before we can perform the Service. 

\r\n

\r\n

Backordering/Monitoring.  You agree a domain name that has expired shall be subject first to a grace period of twelve (12) days, followed by the ICANN-mandated redemption grace period of thirty (30) days. During this period of time, the current domain name registrant may renew the domain name and retain ownership. We do not guarantee your backorder will result in you obtaining the domain name and expressly reserves the right to (a) refuse additional backorders or (b) cancel existing backorders at any time for any reason.  If your backorder is refused or cancelled, we agree to promptly refund any fees paid for such domain name backorder. The domain name may also be placed in a secondary market for resale through the Auctions® service.  After your first year of Auctions membership, you agree that unless otherwise advised, we will automatically renew your Auctions membership using the payment method you have on file for so long as your backorder credit is active. You may learn more about Auctions by visiting the Auctions website. The domain name may also be subject to a drop pool process before it is available for purchasing. You understand we and our registrar affiliates use our services, including backordering.  Therefore, the domain name may be registered with a different registrar, but can be managed through your account.  By using the Services, you will be able to, among other things:

\r\n
    \r\n
  1. Backorder any domain name under the top level domains .COM, .NET, .US, .BIZ, .INFO, .ORG, .MOBI. A backorder for a domain name will include the price of up to a one-year domain name registration. Should you successfully backorder any domain name, you will be subject to the terms and conditions of the Domain Name Registration and related agreements, which are incorporated herein by reference.
  2. \r\n
  3. Change your backorder until you obtain a domain name. You will have the opportunity to change the credit to a different domain name until you successfully capture one. After three (3) years, if the credit is not used, we reserves the right to remove the credit.
  4. \r\n
  5. Subscribe monthly to an expiring domain name list. You may also choose to purchase a subscription to a list of domain names expiring within the next five (5) days. If you subscribe to the expiring domain name list, you agree the payment method you have on file may be charged on a monthly subscription basis for the term of the Services you purchase.
  6. \r\n
  7. Select domain names off the expiring domain name list you would like to register. Each domain name you attempt to backorder will include the price of up to a one-year domain name registration, as set forth in subsection (i) above.
  8. \r\n
  9. Monitor your currently registered domain names for changes in registrar, status, expiration date or name servers at no additional cost.
  10. \r\n
  11. Subscribe to Domain Alert Pro or monitoring, which enables you to monitor any currently registered domain name, regardless of registrar, for historical tracking of status changes and designation of multiple email notification addresses.
  12. \r\n
\r\n

\r\n

\r\n

Transfer Validation. The transfer validation service is provided to help You keep Your domain name secure. By choosing to use the service, You are making an explicit and voluntary request to us to deny all attempts to transfer Your domain name to another registrar, or to move Your domain name to another account, unless You verify each request as described herein. You will provide us with a contact name, phone number and PIN for domain transfer validations. You will be contacted by us when a domain transfer is requested for a domain name in Your account. When we receive a transfer request, we will call You to verify the transfer request. If we cannot reach You with seventy-two (72) hours of receipt of the transfer request, the transfer will be denied. If You do not provide the proper PIN, the transfer will be denied. When we receive a change of account request, we will call You to verify the change request. If we cannot reach You with seventy-two (72) hours of receipt of the change request, the change will be denied. If You do not provide the proper PIN, the change will be denied. Availability of Services are subject to the terms and conditions of this Agreement and each of our policies and procedures. We shall use commercially reasonable efforts to attempt to provide certain portions of the Services on a twenty-four (24) hours a day, seven (7) days a week basis throughout the term of this Agreement and other portions of the service, during normal business hours. You acknowledge and agree that from time to time the Services may be inaccessible or inoperable for any reason, including, without limitation: (i) equipment malfunctions; (ii) periodic maintenance procedures or repairs that we may undertake from time to time; or (iii) causes beyond the reasonable control of us or that are not reasonably foreseeable by us, including, without limitation, interruption or failure of telecommunication or digital transmission links, hostile network attacks, network congestion or other failures. You acknowledge and agree that we has no control over the availability of the service on a continuous or uninterrupted basis.

\r\n

\r\n

12. PRE-REGISTRATIONS

\r\n

If you submit an application for pre-registration of a domain name, Azure does not guarantee that the name will be secured for you, or that you will have immediate access to the domain name if secured.  Azure may use third-party service providers for the pre-registration services.

\r\n

13. PROVISIONS SPECIFIC TO .BIZ REGISTRATIONS

\r\n

Domain Name Dispute Policy.  If you reserved or registered a .BIZ domain name through us, in addition to our Dispute Resolution Policy, you hereby acknowledge that you have read and understood and agree to be bound by the terms and conditions of the Restrictions Dispute Resolution Policy applicable to the .biz TLD.

\r\n

The RDRP sets forth the terms under which any allegation that a domain name is not used primarily for business or commercial purposes shall be enforced on a case-by-case basis by an independent ICANN-accredited dispute provider. Registry Operator will not review, monitor, or otherwise verify that any particular domain name is being used primarily for business or commercial purposes or that a domain name is being used in compliance with the SUDRP or UDRP processes.

\r\n

One Year Registration.  If you are registering a .BIZ domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .BIZ domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .BIZ domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

\r\n

14. PROVISIONS SPECIFIC TO .INFO REGISTRATIONS 

\r\n

One Year Registration.  If you are registering a .INFO domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .INFO domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .INFO domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

15. PROVISIONS SPECIFIC TO .MOBI REGISTRATIONS 

\r\n

Instant Mobilizer. You are hereby granted a personal, revocable, non-exclusive, non-transferable, non-assignable, non-sublicensable license to use the Instant Mobilizer service (“Service”), provided, however, You abide by the terms and conditions set forth. You shall not alter, modify, adapt or translate the whole or part of the Service in any way whatsoever. You may not create derivative works based on the Service. You may not rent, lease, assign, dispose of, novate, sub-license or otherwise transfer any of its rights to use the Service to any third party.  In the event that the volume of traffic to You from Your use of the Service is sufficient so as to jeopardize the provision of Service for other end users, we and our licensors reserve the right to, at its sole discretion, permanently or temporarily, discontinue Your use of the Service. For the avoidance of doubt, the volume of traffic generated by You should not exceed two thousand (2,000) page views per day.  You acknowledge and agree the text \"Instant Mobilizer from dotMobi\" or equivalent, will be inserted at the footer of Your site.  In the event a dotMobi domain to which the Service is being provided is transferred to another domain name registrar, the Service will be interrupted on that dotMobi domain, and Service will not be restored if the new registrar does not offer the Service. 

\r\n

\r\n

16. PROVISIONS SPECIFIC TO .NAME REGISTRATIONS 

\r\n

\r\n

17. PROVISIONS SPECIFIC TO .REISE REGISTRATIONS

\r\n

Domain Names registered in .REISE should be used for purposes dedicated to travel topics within six months following initial Registration, e.g. utilized on the Internet or otherwise used to perform a function.

\r\n

18. PROVISIONS SPECIFIC TO .SEXY REGISTRATIONS

\r\n

You shall not permit content unsuitable for viewing by a minor to be viewed from the main or top-level directory of a .SEXY domain name. For purposes of clarity, content viewed at the main or top-level directory of a .SEXY domain name is the content immediately visible if a user navigates to http://example.sexy or http://www.example.sexy. No restrictions apply to the content at any other page or subdirectory addressed by a .SEXY Registered Name. 

\r\n

19. COUNTRY CODE TOP LEVEL DOMAINS

\r\n

You represent and warrant that you meet the eligibility requirements of each ccTLD you apply for. You further agree to be bound by any registry rules, policies, and agreements for that particular ccTLD. These may include, but are not limited to, agreeing to indemnify the ccTLD provider, limiting the liability of the ccTLD provider, and requirements that any disputes be resolved under that particular country's laws.

\r\n

(A) PROVISIONS SPECIFIC TO .AU REGISTRATIONS 

\r\n

.au Registrations (to include com.au, net.au and org.au) are governed by the following additional terms and conditions:

\r\n

auDA. auDA means .au Domain Administration Limited ACN 079 009 340, the .au domain names administrator.  The Registrar acts as agent for auDA for the sole purpose, but only to the extent necessary, to enable auDA to receive the benefit of rights and covenants conferred to it under this Agreement. auDA is an intended third party beneficiary of this agreement.

\r\n

auDA Published Policy.  auDA Published Policies means those specifications and policies established and published by auDA from time to time at http://www.auda.org.au.  You must comply with all auDA Published Policies, as if they were incorporated into, and form part of, this Agreement. In the event of any inconsistency between any auDA Published Policy and this Agreement, then the auDA Published Policy will prevail to the extent of such inconsistency.  You acknowledge that under the auDA Published Policies: (1) there are mandatory terms and conditions that apply to all domain names; (2) licences, and such terms and conditions are incorporated into, and form part of, this Agreement; (3) You are bound by, and must submit to, the .au Dispute Resolution Policy; and (4) auDA may delete or cancel the registration of a .au domain name. 

\r\n

auDA's Liabilities and Indemnity.  To the fullest extent permitted by law, auDA will not be liable to Registrant for any direct, indirect, consequential, special, punitive or exemplary losses or damages of any kind (including, without limitation, loss of use, loss or profit, loss or corruption of data, business interruption or indirect costs) suffered by Registrant arising from, as a result of, or otherwise in connection with, any act or omission whatsoever of auDA, its employees, agents or contractors. Registrant agrees to indemnify, keep indemnified and hold auDA, its employees, agents and contractors harmless from all and any claims or liabilities, arising from, as a result of, or otherwise in connection with, Registrant's registration or use of its .au domain name. Nothing in this document is intended to exclude the operation of Trade Practices Act 1974.

\r\n

(B) PROVISIONS SPECIFIC TO .CA REGISTRATIONS

\r\n

You acknowledge and agree that registration of your selected domain name in your first application to CIRA shall not be effective until you have entered into and agreed to be bound by CIRA's Registrant Agreement.

\r\n

CIRA Certified Registrar.  The registrar shall immediately give notice to you in the event that it is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated, or the Registrar Agreement between CIRA and the Registrar is terminated or expires. CIRA may post notice of such suspension, termination, or expiry on its website and may, if CIRA deems appropriate, give notice to the registrants thereof. In the event that the registrar is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated or in the event the Registrar Agreement between CIRA and the Registrar is terminated or expires, you shall be responsible for changing your Registrar of Record to a new CIRA Certified Registrar within thirty (30) days of the earlier of notice thereof being given to you by (i) the Registrar or (ii) CIRA in accordance with CIRA's then current Registry PRP; provided, however, that if any of your domain name registrations are scheduled to expire within thirty (30) days of the giving of such notice, then you shall have thirty (30) days from the anniversary date of the registration(s), to register with a new CIRA certified registrar and to renew such domain name registration(s) in accordance with the Registry PRP.

\r\n

You acknowledge and agree that should there be insufficient funds prepaid by the registrar in the CIRA Deposit Account to be applied in payment of any fees, CIRA may in its sole discretion stop accepting applications for domain name registrations from the registrar, stop effecting registrations of domain names and transfers, renewals, modifications, and cancellations requested by the registrar and stop performing other billable transactions requested by the registrar not paid in full and CIRA may terminate the Registrar Agreement between CIRA and the Registrar.

\r\n

.CA ASCII and IDN domain variants are bundled and reserved for a single registrant.  Registrants are not required to register all variants in a bundle, but all registered variants must be registered and managed at a single registrar. Each variant registered will incur a registration fee.  In addition, when registering multiple .CA domain (ASCII and IDN) variants in a bundle, your registrant information must be identical.  If variants are registered at other registrars or if registrant information does not match, it may result in an \"unavailable\" search result, delayed or failed registration. If information does not match, validation is required and may take up to seven business days and delay availability of domain. 

\r\n

(C) PROVISIONS SPECIFIC TO .CN REGISTRATIONS 

\r\n

.CN is a restricted TLD – applications are subject to both a domain name check and real name verification as required by the People’s Republic of China.  Registrations in .CN are therefore subject to the following additional terms:

\r\n

Verification, Registration and Activation.  If a domain name is not permitted to be registered by the Chinese government, as determined by us, the Registry Operator and/or a 3rd party provider utilized for such services and determinations, in either party’s discretion, the application for registration will not be successful.  In such event, the name will be deleted and you will be eligible for a refund as further described below.

\r\n

If permitted, then the Registration may proceed, but a .CN domain name may not be activated (i.e., it will not resolve in the Internet) unless and until you have submitted (via the process described during registration) valid documents required of us and the Registry to perform real name verification.  The following are acceptable forms of documents for the purpose of verification:

\r\n
    \r\n
  • China: Resident ID, temporary resident ID, business license or organization code certificate
  • \r\n
  • Hong Kong/Macau: Resident ID, driver’s license, passport or business license
  • \r\n
  • Singapore: Driver’s license, passport or business license
  • \r\n
  • Taiwan: Resident ID, driver’s license or business license
  • \r\n
  • Other Countries/Regions: Driver’s license or passport
  • \r\n
\r\n

Documents submitted to us are used by us and shared with the Registry solely for the purpose of real name verification, and are otherwise subject to our Privacy Policy.  By registering a .CN domain, you expressly agree that your data may be stored on servers in the U.S., or otherwise outside of the People's Republic of China.

\r\n

Refunds.  Refunds for .CN Registrations will only be allowed where (i) registration of the applied for domain name is not permitted by the Chinese government; or (ii) you notify us of your intent to cancel for any reason within the first five (5) days after the Registration (i.e., after it is deemed permissible by the Chinese government).  For the avoidance of doubt, refunds will not be permitted under any circumstances after five (5) days from the date of Registration, including, for example, in the event real name verification is not successful or if the Chinese government determines after Registration that the domain name should not have been registered (and directs us to delete).

\r\n

(D) PROVISIONS SPECIFIC TO .JP REGISTRATIONS

\r\n

Registration Restrictions.  You represent and warrant that you have a local presence in Japan with a home or office address. You agree that certain domain names are reserved and can only be registered by certain parties. These include: (i) TLDs, other than ccTLDs, as determined by ICANN; (ii) geographical-type .JP domain names that are defined as metropolitan, prefectural, and municipal labels; (iii) names of primary and secondary educational organizations; (iv) names of organizations related to Internet management; (v) names required for .JP domain name operations; and (vi) character strings which may be confused with ASCII-converted Japanese domain names. The complete list of .JP Reserved Domains is available here

\r\n

20. ENGLISH LANGUAGE CONTROLS

\r\n

This Agreement, along with all policies and the applicable product agreements identified above and incorporated herein by reference (collectively, the “Agreement”), is executed in the English language. To the extent any translation is provided to you, it is provided for convenience purposes only, and in the event of any conflict between the English and translated version, where permitted by law, the English version will control and prevail. Where the translated version is required to be provided to you and is to be considered binding by law (i) both language versions shall have equal validity, (ii) each party acknowledges that it has reviewed both language versions and that they are substantially the same in all material respects, and (iii) in the event of any discrepancy between these two versions, the translated version may prevail, provided that the intent of the Parties has been fully taken into consideration. 

\n
\n
\n\nRevised: 10/6/17
\nCopyright © 2000-2017 All Rights Reserved.\n
\n
\n
", + "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=reg_sa&pl_id=510456" + }, + { + "agreementKey": "DNPA", + "title": "Domain Name Proxy Agreement", + "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Proxy Agreement\n
\n

Last Revised: October 25, 2017

\n

Please read this Domain Name Proxy Agreement (\"Agreement\") carefully. By using the Services and/or website of Domains By Proxy, LLC, a Delaware limited liability company (\"DBP\"), You (as defined below) agree to all the terms and conditions set forth both herein and in the DBP privacy policy, which is incorporated by reference and can be found by clicking here.  You acknowledge that DBP may amend this Agreement at any time upon posting the amended terms on its website, and that any new, different or additional features changing the services provided by DBP will automatically be subject to this Agreement. If You do not agree to be bound by, or if You object to, the terms and conditions of this Agreement and any amendments hereto, do not use or access DBP's services. Continued use of DBP's services and its website after any such changes to this Agreement have been posted, constitutes Your acceptance of those changes.

\r\n

This Agreement is by and between DBP and you, your heirs, assigns, agents and contractors (\"You\") and is made effective as of the date of electronic execution. This Agreement sets forth the terms and conditions of Your relationship with DBP and Your use of DBP's services and represents the entire Agreement between You and DBP. By using DBP's Services, You acknowledge that You have read, understand and agree to be bound by all the terms and conditions of this Agreement, and You further agree to be bound by the terms of this Agreement for transactions entered into by:

\r\n
    \r\n
  1. You on Your behalf;
  2. \r\n
  3. Anyone acting as Your agent; and
  4. \r\n
  5. Anyone who uses the account You have established with DBP, whether or not the transactions were on Your behalf and/or authorized by You.
  6. \r\n
\r\n

You agree You will be bound by representations made by third parties acting on Your behalf, which either use or purchase services from DBP. You further agree that DBP will not be bound by statements of a general nature on DBP's website or DBP promotional materials. You further agree to abide by the terms and conditions promulgated by the Internet Corporation for Assigned Names and Numbers (\"ICANN\") (including the Uniform Domain Name Dispute Resolution Policy (\"Dispute Resolution Policy\") and Your Registrar (i.e., the ICANN-accredited person or entity through which You register a domain name).

\r\n

1. description of DBP's private registration services

\r\n

When You subscribe to DBP's private registration service through a DBP-affiliated Registrar, DBP will display its contact information in the publicly available \"Whois\" directory in place of Your information. DBP shall keep Your name, postal address, email address, phone and fax numbers confidential, subject to Section 4 of this Agreement. The following information (and not Your personal information) will be made publicly available in the \"Whois\" directory as determined by ICANN policy:

\r\n
    \r\n
  1. DBP's name as the proxy Registrant of the domain name and a proxy email address, phone number and postal address for the proxy Registrant's contact information;
  2. \r\n
  3. A proxy postal address and phone number for the domain name registration's technical contact;
  4. \r\n
  5. A proxy email address, postal address and phone number for the domain name registration's administrative contact;
  6. \r\n
  7. A proxy email address, postal address and phone number for the domain's name registration's billing contact;
  8. \r\n
  9. The primary and secondary domain name servers You designate for the domain name;
  10. \r\n
  11. The domain name's original date of registration and expiration date of the registration; and
  12. \r\n
  13. The identity of the Registrar.
  14. \r\n
\r\n

2. full benefits of domain registration retained by you

\r\n

Although DBP will show in the \"Whois\" directory as the Registrant of each domain name registration You designate, You will retain the full benefits of domain name registration with respect to each such domain name registration, including, subject to Section 4 below:

\r\n
    \r\n
  1. The right to sell, transfer or assign each domain name registration, which shall require cancellation of the DBP services associated with each such domain name registration;
  2. \r\n
  3. The right to control the use of each domain name registration, including designating the primary and secondary domain name servers to which each domain name points;
  4. \r\n
  5. The right to cancel each domain name registration;
  6. \r\n
  7. The right to cancel the DBP services associated with each domain name registration and/or Your privacy services with DBP so that Your contract information is listed in the \"Whois\" directory; and
  8. \r\n
  9. The right to renew each domain name registration upon its expiration, subject to Your Registrar's applicable rules and policies.
  10. \r\n
\r\n

3. PERSONAL INFORMATION AND your notification obligations; representation and warranties; ACCOUNT SECURITY

\r\n

Personal Information and Your Notification Obligations 

\r\n

You agree that for each domain name for which you use DBP services, You will provide accurate and current information as to:

\r\n
    \r\n
  1. Your name, the email address, postal address, phone and fax numbers for the domain name registration's Registrant contact;
  2. \r\n
  3. The email address, postal address, phone and fax numbers for the domain name registration's technical contact;
  4. \r\n
  5. The email address, postal address, phone and fax numbers for the domain name registration's administrative contact;
  6. \r\n
  7. The email address, postal address, phone and fax numbers for the domain name registration's billing contact; and
  8. \r\n
  9. You agree to provide government issued photo identification and/or government issued business identification as required for verification of identity when requested.
  10. \r\n
\r\n

You agree to:

\r\n
    \r\n
  1. Notify DBP within three (3) calendar days when any of the personal information You provided upon subscribing to DBP's services, changes;
  2. \r\n
  3. Respond within three (3) calendar days to any inquiries made by DBP to determine the validity of personal information provided by You; and
  4. \r\n
  5. Timely respond to email messages DBP sends to You regarding correspondence DBP has received that is either addressed to or involves You and/or Your domain name registration, as more fully set forth in Section 5(c) below.
  6. \r\n
  7. To allow DBP to act as your Designated Agent (as that term is defined below) in instances when DBP services are added to or cancelled from your domain name and for the purpose of facilitating a change of registrant request (as further described below). 
  8. \r\n
\r\n

It is Your responsibility to keep Your personal information current and accurate at all times.

\r\n

Renewals

\r\n

You agree DBP will arrange for Your Registrar to charge the credit card You have on file with the Registrar, at the Registrar's then current rates.

\r\n

If for any reason DBP and/or the Registrar for Your domain name is unable to charge Your credit card for the full amount of the service provided, or if DBP and/or the Registrar is charged back for any fee it previously charged to the credit card You provided, You agree that DBP and/or the Registrar may, without notice to You, pursue all available remedies in order to obtain payment, including but not limited to immediate cancellation of all services DBP provides to You.

\r\n

Representations and Warranties

\r\n

You warrant that all information provided by You to DBP is truthful, complete, current and accurate. You also warrant that You are using DBP's private registration services in good faith and You have no knowledge of Your domain name infringing upon or conflicting with the legal rights of a third party or a third party's trademark or trade name. You also warrant the domain name being registered by DBP on Your behalf will not be used in connection with any illegal activity, or in connection with the transmission of Spam, or that contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable or, disrupting, damaging or limiting the functionality of any software or hardware.

\r\n

Account Security

\r\n

You agree You are entirely responsible for maintaining the confidentiality of Your customer number/login ID and password (\"Account Access Information\").  You agree to notify DBP immediately of any unauthorized use of Your account or any other breach of security.  You agree DBP will not be liable for any loss that You may incur as a result of someone else using Your Account Access Information, either with or without Your knowledge.  You further agree You could be held liable for losses incurred by DBP or another party due to someone else using Your Account Access Information.  For security purposes, You should keep Account Access Information in a secure location and take precautions to prevent others from gaining access to Your Account Access Information.  You agree that You are entirely responsible for all activity in Your account, whether initiated by You, or by others.  DBP specifically disclaims liability for any activity in Your account, regardless of whether You authorized the activity.

\r\n

Designated Agency and Change of Registrant Information

\r\n

“DESIGNATED AGENT” MEANS AN INDIVIDUAL OR ENTITY THAT THE PRIOR REGISTRANT OR NEW REGISTRANT EXPLICITLY AUTHORIZES TO APPROVE A CHANGE OF REGISTRANT REQUEST ON ITS BEHALF.  IN THE CASE OF DBP SERVICES, A CHANGE OF REGISTRANT REQUEST MAY ALSO ARISE DUE TO INSTANCES WHERE DBP SERVICES ARE ADDED, OR REMOVED, FROM A DOMAIN NAME.  FOR THE PURPOSE OF FACILITATING ANY SUCH CHANGE REQUEST, AND IN ACCORDANCE WITH ICANN'S CHANGE OF REGISTRANT POLICY, YOU AGREE TO APPOINT DBP AS YOUR DESIGNATED AGENT FOR THE SOLE PURPOSE OF EXPLICITLY CONSENTING TO MATERIAL CHANGES OF REGISTRATION CONTACT INFORMATION ON YOUR BEHALF.

\r\n

4. DBP's rights to deny, suspend, terminate service and to disclose your personal information

\r\n

You understand and agree that DBP has the absolute right and power, in its sole discretion and without any liability to You whatsoever, to:

\r\n
    \r\n
  1. Cancel the privacy service (which means that Your information will be available in the \"Whois\" directory) and/or reveal Your name and personal information that You provided to DBP:  
    A. When required by law, in the good faith belief that such action is necessary in order to conform to the edicts of the law or in the interest of public safety;
    B. To comply with legal process served upon DBP or in response to a reasonable threat of litigation against DBP (as determined by DBP in its sole and absolute discretion); or
    C. To comply with ICANN rules, policies, or procedures.
  2. \r\n
  3. Resolve any and all third party claims, whether threatened or made, arising out of Your use of a domain name for which DBP is the registrant listed in the \"Whois\" directory on Your behalf; or
  4. \r\n
  5. Take any other action DBP deems necessary:
    A. In the event you breach any provision of this Agreement or the DBP Anti-Spam Policy;
    B. To protect the integrity and stability of, and to comply with registration requirements, terms, conditions and policies of, the applicable domain name Registry and/or Registry Provider;
        C. To comply with any applicable laws, government rules or requirements, subpoenas, court orders or requests of law enforcement; 
    D. To comply with ICANN's Dispute Resolution Policy or ICANN's Change of Registrant Policy;
    E. To avoid any financial loss or legal liability (civil or criminal) on the part of DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, officers, directors and employees;
    F. If the domain name for which DBP is the registrant on Your behalf violates or infringes a third party's trademark, trade name or other legal rights; and
    G. If it comes to DBP's attention that You are using DBP's services in a manner (as determined by DBP in its sole and absolute discretion) that:
  6. \r\n
\r\n
\r\n
    \r\n
  • Is illegal, or promotes or encourages illegal activity;
  • \r\n
  • Promotes, encourages or engages in child pornography or the exploitation of children;
  • \r\n
  • Promotes, encourages or engages in terrorism, violence against people, animals, or property;
  • \r\n
  • Promotes, encourages or engages in any spam or other unsolicited bulk email, or computer or network hacking or cracking;
  • \r\n
  • Violates the Ryan Haight Online Pharmacy Consumer Protection Act of 2008 or similar legislation, or promotes, encourages or engages in the sale or distribution of prescription medication without a valid prescription;  
  • \r\n
  • Infringes on the intellectual property rights of another User or any other person or entity;
  • \r\n
  • Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity;
  • \r\n
  • Interferes with the operation of DBP services;
  • \r\n
  • Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; or
  • \r\n
  • Contains false or deceptive language, or unsubstantiated or comparative claims, regarding DBP or its services.
  • \r\n
\r\n
\r\n

You further understand and agree that if DBP is named as a defendant in, or investigated in anticipation of, any legal or administrative proceeding arising out of Your domain name registration or Your use of DBP's services, Your private registration service may be canceled, which means the domain name registration will revert back to You and Your identity will therefore be revealed in the Whois directory as Registrant.

\r\n

In the event:

\r\n
    \r\n
  1. DBP takes any of the actions set forth in subsection i, ii, or iii above or section 5; and/or
  2. \r\n
  3. You elect to cancel DBP's services for any reason --
  4. \r\n
\r\n

Neither DBP nor your Registrar will refund any fees paid by You whatsoever.

\r\n

5. communications forwarding

\r\n

a. Correspondence Forwarding

\r\n

Inasmuch as DBP's name, postal address and phone number will be listed in the Whois directory, You agree DBP will review and forward communications addressed to Your domain name that are received via email, certified or traceable courier mail (such as UPS, FedEx, or DHL), or first class U.S. postal mail. You specifically acknowledge DBP will not forward to You first class postal mail (other than legal notices), \"junk\" mail or other unsolicited communications (whether delivered through email, fax, postal mail or telephone), and You further authorize DBP to either discard all such communications or return all such communications to sender unopened. You agree to waive any and all claims arising from Your failure to receive communications directed to Your domain name but not forwarded to You by DBP.

\r\n

b. Email Forwarding

\r\n

The Whois directory requires an email address for every purchased domain name registration. When You purchase a private domain registration, DBP creates a private email address for that domain name, \"@domainsbyproxy.com\". Thereafter, when messages are sent to that private email address, DBP handles them according to the email preference You selected for that particular domain name. You have three (3) email preferences from which to choose. You can elect to:

\r\n
    \r\n
  1. Have all of the messages forwarded;
  2. \r\n
  3. Have all of the messages filtered for Spam and then forwarded; or
  4. \r\n
  5. Have none of the messages forwarded.
  6. \r\n
\r\n

As with all communications, You agree to waive any and all claims arising from Your failure to receive email directed to Your domain name but not forwarded to You by DBP.

\r\n

c. Notifications Regarding Correspondence and Your Obligation to Respond

\r\n

When DBP receives certified or traceable courier mail or legal notices addressed to Your domain name, in most cases, DBP will attempt to forward the mail to you via email. If You do not respond to the DBP email and/or the correspondence DBP has received regarding Your domain name registration concerns a dispute of any kind or otherwise requires immediate disposition, DBP may immediately reveal Your identity and/or cancel the DBP private registration service regarding either the domain name registration(s) in question. This means the Whois directory will revert to displaying Your name, postal address, email address and phone number that you provided to DBP.

\r\n

d. Additional Administrative Fees

\r\n

DBP reserves the right to charge You reasonable \"administrative fees\" or \"processing fees\" for (i)  tasks DBP may perform outside the normal scope of its Services, (ii) additional time and/or costs DBP may incur in providing its Services, and/or (iii) Your non-compliance with the Agreement (as determined by DBP in its sole and absolute discretion). Typical administrative or processing fee scenarios include, but are not limited to, (i) customer service issues that require additional personal time and attention; (ii) disputes that require accounting or legal services, whether performed by DBP staff or by outside firms retained by DBP; (iii) recouping any and all costs and fees, including the cost of Services, incurred by DBP as the result of chargebacks or other payment disputes brought by You, Your bank or Payment Method processor.  These administrative fees or processing fees will be billed to the Payment Method You have on file with Your Registrar.

\r\n

You agree to waive the right to trial by jury in any proceeding that takes place relating to or arising out of this Agreement.

\r\n

6. limitations of liability

\r\n

UNDER NO CIRCUMSTANCES SHALL DBP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER RELATED TO THIS AGREEMENT, YOUR DOMAIN NAME REGISTRATION, DBP'S SERVICES, USE OR INABILITY TO USE THE DBP WEBSITE OR THE MATERIALS AND CONTENT OF THE WEBSITE OR ANY OTHER WEBSITES LINKED TO THE DBP WEBSITE OR YOUR PROVISION OF ANY PERSONALLY IDENTIFIABLE INFORMATION TO DBP OR ANY THIRD PARTY. THIS LIMITATION APPLIES REGARDLESS OF WHETHER THE ALLEGED LIABILITY IS BASED ON CONTRACT, TORT, WARRANTY, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER BASIS, EVEN IF DBP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR SUCH DAMAGES WERE REASONABLY FORESEEABLE. BECAUSE CERTAIN JURISDICTIONS DO NOT PERMIT THE LIMITATION OR ELIMINATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, DBP'S LIABILITY IN SUCH JURISDICTIONS SHALL BE LIMITED TO THE SMALLEST AMOUNT PERMITTED BY LAW.

\r\n

YOU FURTHER UNDERSTAND AND AGREE THAT DBP DISCLAIMS ANY LOSS OR LIABILITY RESULTING FROM:

\r\n
    \r\n
  1. THE INADVERTENT DISCLOSURE OR THEFT OF YOUR PERSONAL INFORMATION;
  2. \r\n
  3. ACCESS DELAYS OR INTERRUPTIONS TO OUR WEBSITE OR THE WEBSITES OF OUR AFFILIATED REGISTRARS;
  4. \r\n
  5. DATA NON-DELIVERY OF MIS-DELIVERY BETWEEN YOU AND DBP;
  6. \r\n
  7. THE FAILURE FOR WHATEVER REASON TO RENEW A PRIVATE DOMAIN NAME REGISTRATION;
  8. \r\n
  9. THE UNAUTHORIZED USE OF YOUR DBP ACCOUNT OR ANY OF DBP'S SERVICES;
  10. \r\n
  11. ERRORS, OMISSIONS OR MISSTATEMENTS BY DBP;
  12. \r\n
  13. DELETION OF, FAILURE TO STORE, FAILURE TO PROCESS OR ACT UPON EMAIL MESSAGES FORWARDED TO EITHER YOU OR YOUR PRIVATE DOMAIN NAME REGISTRATION;
  14. \r\n
  15. PROCESSING OF UPDATED INFORMATION REGARDING YOUR DBP ACCOUNT; AND/OR
  16. \r\n
  17. ANY ACT OR OMISSION CAUSED BY YOU OR YOUR AGENTS (WHETHER AUTHORIZED BY YOU OR NOT).
  18. \r\n
\r\n

7. indemnity

\r\n

You agree to release, defend, indemnify and hold harmless DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, directors, officers and employees and Your Registrar, from and against any and all claims, demands, liabilities, losses, damages or costs, including reasonable attorneys' fees, arising out of or related in any way to this Agreement, the services provided hereunder by DBP, the DBP website, Your account with DBP, Your use of Your domain name registration, and/or disputes arising in connection with the dispute policy.

\r\n

8. DBP warranty disclaimer

\r\n

DBP, ITS PARENT COMPANIES, SUBSIDIARIES, AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, OFFICERS, AND EMPLOYEES EXPRESSLY DISCLAIM ALL REPRESENTATIONS AND WARRANTIES OF ANY KIND IN CONNECTION WITH THIS AGREEMENT, THE SERVICE PROVIDED HEREUNDER, THE DBP WEBSITE OR ANY WEBSITES LINKED TO THE DBP WEBSITE, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL DBP SERVICES, AS WELL AS THE DBP WEBSITE, ARE PROVIDED \"AS IS\". YOUR SUBSCRIPTION TO AND USE OF DBP'S SERVICES AND ITS WEBSITE ARE ENTIRELY AT YOUR RISK. SOME JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES, IN WHICH EVENT THE FOREGOING DISCLAIMER MAY NOT APPLY TO YOU.

\r\n

9. copyright and trademark

\r\n

You understand and agree that all content and materials contained in this Agreement, the Privacy Policy and the DBP website found here , are protected by the various copyright, patent, trademark, service mark and trade secret laws of the United States, as well as any other applicable proprietary rights and laws, and that DBP expressly reserves its rights in and to all such content and materials.

\r\n

You further understand and agree You are prohibited from using, in any manner whatsoever, any of the afore-described content and materials without the express written permission of DBP. No license or right under any copyright, patent, trademark, service mark or other proprietary right or license is granted to You or conferred upon You by this Agreement or otherwise.

\r\n

10. miscellaneous provisions

\r\n

a. Severability; Construction; Entire Agreement

\r\n

If any part of this Agreement shall be held to be illegal, unenforceable or invalid, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, enforceable and valid, and the legality, enforceability and validity of the remaining provisions of this Agreement shall not be affected or impaired. The headings herein will not be considered a part of this Agreement. You agree this Agreement, including the policies it incorporates by reference, constitute the complete and only Agreement between You and DBP regarding the services contemplated herein.

\r\n

b. Governing Law; Venue; Waiver Of Trial By Jury

\r\n

This Agreement shall be governed in all respects by the laws and judicial decisions of Maricopa County, Arizona, excluding its conflicts of laws rules. Except as provided immediately below, You agree that any action relating to or arising out of this Agreement, shall be brought exclusively in the courts of Maricopa County, Arizona. For the adjudication of domain name registration disputes, you agree to submit to the exclusive jurisdiction and venue of the U.S. District Court for the District of Arizona located in Phoenix, Arizona. You agree to waive the right to trial by jury in any proceeding, regardless of venue, that takes place relating to or arising out of this Agreement.

\r\n

c. Notices

\r\n

All notices from DBP to You will be sent to the email address You provided to DBP. Notices by email shall be deemed effective twenty-four (24) hours after the email is sent by DBP, unless DBP receives notice that the email address is invalid, in which event DBP may give You notice via first class or certified mail, return receipt requested. All notices from You to DBP shall be sent via certified mail, return receipt requested or traceable courier to:

\r\n
      Domains By Proxy, LLC
      Attn: General Counsel
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

Notices sent via certified mail or traceable courier shall be deemed effective five (5) days after the date of mailing.

\r\n

d. Insurance

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's negligent actions (and absent fraud or other negligent or willful misconduct committed by a third party), You may be insured against such loss through DBP's Professional Liability Insurance Policy, which is currently underwritten by American International Insurance Company. Of course, every claim is subject to the then-carrier's investigation into the facts and circumstances surrounding such claim. In the event You have reason to believe that circumstances exist which warrant the filing of an insurance claim, please send a written notice (specifying the basis for such claim), via certified mail, return receipt requested, to:

\r\n
      Domains By Proxy, LLC
      Attn: Insurance Claims
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

e. Indemnification

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's willful misconduct, Your Registrar (the \"Indemnifying Party\") will indemnify and hold You harmless against any losses, damages or costs (including reasonable attorneys' fees) resulting from any claim, action, proceeding, suit or demand arising out of or related to the loss of Your domain name registration. Such indemnification obligations under this Section 10(e) are conditioned upon the following:

\r\n
    \r\n
  1. That You promptly give both DBP and the Indemnifying Party written notice of the claim, demand, or action and provide reasonable assistance to the Indemnifying Party, at its cost and expense, in connection therewith, and
  2. \r\n
  3. That the Indemnifying Party has the right, at its option, to control and direct the defense to any settlement of such claim, demand, or action.
  4. \r\n
\r\n

Any notice concerning indemnification shall, with respect to DBP, be sent in accordance with Section 10(c) of this Agreement. With respect to Your Registrar, notices regarding indemnification should be sent in accordance with the notification provisions contained in Your Registrar's Domain Name Registration Agreement.

\r\n

f. Term of Agreement; Survival

\r\n

The terms of this Agreement shall continue in full force and effect as long as DBP is the Registrant for any domain name on Your behalf. Sections 5 (Communications Forwarding), 6 (Limitation of Liability), 7 (Indemnity), 8 (Warranty Disclaimer) and 10 (Miscellaneous Provisions) shall survive any termination or expiration of this Agreement.

\n
\n
\n\nRevised: 10/25/17
\nCopyright © 2003-2017 All Rights Reserved.\n
\n
\n
", + "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=domain_nameproxy&pl_id=510456" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomains.json index b1ef323ac80f..aaf7653cf7b4 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/ListTopLevelDomains.json @@ -1,105 +1,105 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", - "name": "com", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "com", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/net", - "name": "net", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "net", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.uk", - "name": "co.uk", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "co.uk", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org", - "name": "org", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "org", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/nl", - "name": "nl", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "nl", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/in", - "name": "in", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "in", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/biz", - "name": "biz", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "biz", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org.uk", - "name": "org.uk", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "org.uk", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.in", - "name": "co.in", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "location": "global", - "properties": { - "name": "co.in", - "privacy": false - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", + "name": "com", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "com", + "privacy": true } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/net", + "name": "net", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "net", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.uk", + "name": "co.uk", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "co.uk", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org", + "name": "org", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "org", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/nl", + "name": "nl", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "nl", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/in", + "name": "in", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "in", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/biz", + "name": "biz", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "biz", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org.uk", + "name": "org.uk", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "org.uk", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.in", + "name": "co.in", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "location": "global", + "properties": { + "name": "co.in", + "privacy": false + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/RenewDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/RenewDomain.json index a202171c0e01..7dd7d38a541c 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/RenewDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/examples/RenewDomain.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2015-04-01", - "subscriptionId": "3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545", - "resourceGroupName": "RG", - "domainName": "example.com" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "api-version": "2015-04-01", + "subscriptionId": "3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545", + "resourceGroupName": "RG", + "domainName": "example.com" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/DomainRegistrationProvider.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/DomainRegistrationProvider.json index 468f07256569..2f7b35bfe6d2 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/DomainRegistrationProvider.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/DomainRegistrationProvider.json @@ -88,4 +88,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/Domains.json index 4510c3098001..1dc28f373b90 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/Domains.json @@ -1456,4 +1456,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/TopLevelDomains.json index ea3b1ce3199b..6ba678761fa6 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/TopLevelDomains.json @@ -296,4 +296,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/GetTopLevelDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/GetTopLevelDomain.json index cb0184d4d6fc..321b4f98e46a 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/GetTopLevelDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/GetTopLevelDomain.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2018-02-01", - "name": "com" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", - "name": "com", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "com", - "privacy": true - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-02-01", + "name": "com" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", + "name": "com", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "com", + "privacy": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListOperations.json index 28a72da606b5..63aaf7cdb3d5 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListOperations.json @@ -1,104 +1,104 @@ { - "parameters": { - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.DomainRegistration/domains/Read", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Get Domains", - "description": "Get the list of domains" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/Write", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Add or Update Domain", - "description": "Add a new Domain or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/Delete", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain", - "operation": "Delete Domain", - "description": "Delete an existing domain." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/domains/operationresults/Read", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain operation", - "operation": "Get Domain Operation", - "description": "Get a domain operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/generateSsoRequest/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Control Center Single Sign On Request", - "operation": "Generate Domain Control Center Single Sign On Request", - "description": "Generate a request for signing into domain control center." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/validateDomainRegistrationInformation/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Validation", - "operation": "Domain Purchase Info Validation", - "description": "Validate domain purchase object without submitting it" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/checkDomainAvailability/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Availability Result", - "operation": "Check Domain Availability", - "description": "Check if a domain is available for purchase" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/listDomainRecommendations/Action", - "display": { - "provider": "Microsoft Domains", - "resource": "Domain Recommendations", - "operation": "Retrieve Domain Recommendations", - "description": "Retrieve the list domain recommendations based on keywords" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.DomainRegistration/register/action", - "display": { - "provider": "Microsoft Domains", - "resource": "Microsoft Domains resource provider", - "operation": "Register Microsoft Domains resource provider", - "description": "Register the Microsoft Domains resource provider for the subscription" - }, - "origin": "user,system" - } - ] - } - } + "parameters": { + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.DomainRegistration/domains/Read", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Get Domains", + "description": "Get the list of domains" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/Write", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Add or Update Domain", + "description": "Add a new Domain or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/Delete", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain", + "operation": "Delete Domain", + "description": "Delete an existing domain." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/domains/operationresults/Read", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain operation", + "operation": "Get Domain Operation", + "description": "Get a domain operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/generateSsoRequest/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Control Center Single Sign On Request", + "operation": "Generate Domain Control Center Single Sign On Request", + "description": "Generate a request for signing into domain control center." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/validateDomainRegistrationInformation/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Validation", + "operation": "Domain Purchase Info Validation", + "description": "Validate domain purchase object without submitting it" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/checkDomainAvailability/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Availability Result", + "operation": "Check Domain Availability", + "description": "Check if a domain is available for purchase" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/listDomainRecommendations/Action", + "display": { + "provider": "Microsoft Domains", + "resource": "Domain Recommendations", + "operation": "Retrieve Domain Recommendations", + "description": "Retrieve the list domain recommendations based on keywords" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.DomainRegistration/register/action", + "display": { + "provider": "Microsoft Domains", + "resource": "Microsoft Domains resource provider", + "operation": "Register Microsoft Domains resource provider", + "description": "Register the Microsoft Domains resource provider for the subscription" + }, + "origin": "user,system" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomainAgreements.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomainAgreements.json index 16f23f16ee94..e9288745c9b1 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomainAgreements.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomainAgreements.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "in", - "api-version": "2018-02-01", - "agreementOption": { - "IncludePrivacy" : true, - "ForTransfer": false - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "agreementKey": "DNRA", - "title": "Domain Name Registration Agreement", - "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Registration Agreement\n
\n

Last Revised: October 6, 2017

\n

PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.

\r\n

1. OVERVIEW

\r\n

This Domain Name Registration Agreement (this \"Agreement\") is entered into by and between 510456, an individual (\"Azure\") and you, and is made effective as of the date of electronic acceptance.  This Agreement sets forth the terms and conditions of your use of Azure's Domain Name Registration services (the \"Domain Name Registration Services\" or the \"Services\"). The terms \"we\", \"us\" or \"our\" shall refer to Azure.  The terms \"you\", \"your\", \"User\" or \"customer\" shall refer to any individual or entity who accepts this Agreement.  Unless otherwise specified, nothing in this Agreement shall be deemed to confer any third-party rights or benefits.

\r\n

Your electronic acceptance of this Agreement signifies that you have read, understand, acknowledge and agree to be bound by this Agreement, which incorporates by reference each of (i) Azure’s Universal Terms of Service Agreement (\"UTOS\"), (ii) all agreements, guidelines, policies, practices, procedures, registration requirements or operational standards of the top-level domain (\"TLD\") in which you register any domain (“Registry Policies”), and (iii) any plan limits, product disclaimers or other restrictions presented to you on the Domain Name Registration Services landing page of the Azure website (this “Site”). 

\r\n

TO LINK TO AND REVIEW THE REGISTRY POLICIES FOR THE TLD IN WHICH YOU WISH TO REGISTER A DOMAIN NAME, PLEASE CLICK HERE   

\r\n

You acknowledge and agree that (i) Azure, in its sole and absolute discretion, may change or modify this Agreement, and any policies or agreements which are incorporated herein, at any time, and such changes or modifications shall be effective immediately upon posting to this Site, and (ii) your use of this Site or the Services found at this Site after such changes or modifications have been made shall constitute your acceptance of this Agreement as last revised.  If you do not agree to be bound by this Agreement as last revised, do not use (or continue to use) this Site or the Services found at this Site.  In addition, Azure may occasionally notify you of changes or modifications to this Agreement by email.  It is therefore very important that you keep your shopper account (“Shopper Account”) information, including your email address, current.  Azure assumes no liability or responsibility for your failure to receive an email notification if such failure results from an inaccurate or out-of-date email address.    Azure is not an Internet Corporation for Assigned Names and Numbers (\"ICANN\") accredited registrar; it is an authorized reseller of domain name registration services.  Accordingly, you acknowledge and agree that Azure may modify this Agreement in order to comply with any terms and conditions set forth by (i) the sponsoring registrar, (ii) ICANN, and/or (iii) the registry applicable to the TLD or country code top level domain (\"ccTLD\") in question.  As used herein, the terms \"registry\", \"Registry\", \"registry operator\" or \"Registry Operator\" shall refer to the registry applicable to the TLD or ccTLD in question.  To identify the sponsoring registrar, click here

\r\n

2. PROVISIONS SPECIFIC TO ALL REGISTRATIONS

\r\n

Unless otherwise noted, the provisions below in this Section 2 are generally applicable to all TLDs that we offer.  Special provisions specific to any TLD or ccTLD (those in addition to posted Registry Policies) are identified elsewhere below in this Agreement. 

\r\n
    \r\n
  1. \r\n
    Registry Policies. You agree to be bound by all Registry Policies (defined above in this Agreement) applicable to your domain name registration (at any level). IT IS YOUR RESPONSIBILITY TO VISIT THE APPLICABLE TLD SITE AND READ AND REVIEW ALL APPLICABLE REGISTRY POLICIES PRIOR TO YOUR REGISTRATION IN THE TLD.  REGISTRY POLICIES FOR EACH TLD CAN BE FOUND BY VISITING THE CORRESPONDING TLD LINK LISTED HERE.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator of the TLD in which the domain name registration is made is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the respective TLD. The third party beneficiary rights of the Registry Operator will survive any termination of this Agreement.    
    \r\n
  2. \r\n
  3. \r\n
    Registration Requirements.  To the extent any TLD or ccTLD requires you meet eligibility (e.g., residency for .JP, .EU, etc.), validation (e.g., DNS validation) or other authentication requirements as a condition to registering a domain name in the TLD, you agree that by submitting an application or registering or renewing your domain name, you represent and warrant that: (a) all information provided to register or renew the domain name (including all supporting documents, if any) is true, complete and correct, and is not misleading in any way, and the application is made in good faith; (b) you meet, and will continue to meet, the eligibility criteria prescribed in the Registry Policies for the applicable TLD for the duration of the domain name registration; (c) you have not previously submitted an application for the domain name with another registrar using the same eligibility criteria, and the other registrar has rejected the application (if applicable); (d) you acknowledge and agree that even if the domain name is accepted for registration, your entitlement to register the domain name may be challenged by others who claim to have an entitlement to the domain name; and (e) you acknowledge and agree that the Registry or the registrar can cancel the registration of the domain name if any of the warranties required are found to be untrue, incomplete, incorrect or misleading.
    \r\n
  4. \r\n
  5. \r\n
    Ownership.  You acknowledge and agree that registration of a domain name does not create any proprietary right for you, the registrar, or any other person in the name used as a domain name or the domain name registration and that the entry of a domain name in the Registry shall not be construed as evidence or ownership of the domain name registered as a domain name. You shall not in any way transfer or purport to transfer a proprietary right in any domain name registration or grant or purport to grant as security or in any other manner encumber or purport to encumber a domain name registration.
    \r\n
  6. \r\n
  7. \r\n
    ICANN Requirements. You agree to comply with the ICANN requirements, standards, policies, procedures, and practices for which each applicable Registry Operator has monitoring responsibility in accordance with the Registry Agreement between ICANN and itself or any other arrangement with ICANN.
    \r\n
  8. \r\n
  9. \r\n
    Indemnification of Registry.  You agree to indemnify, defend and hold harmless (within 30 days of demand) the Registry Operator and Registry Service Provider and their subcontractors, subsidiaries, affiliates, divisions, shareholders, directors, officers, employees, accountants, attorneys, insurers, agents, predecessors, successors and assigns, from and against any and all claims, demands, damages, losses, costs, expenses, causes of action or other liabilities of any kind, whether known or unknown, including reasonable legal and attorney’s fees and expenses, in any way arising out of, relating to, or otherwise in connection with the your domain name registration, including, without limitation, the use, registration, extension, renewal, deletion, and/or transfer thereof and/or the violation of any applicable terms or conditions governing the registration. You shall not enter into any settlement or compromise of any such indemnifiable claim without Registrar’s or Registry Operator’s prior written consent, which consent shall not be unreasonably withheld, and you agree that these indemnification obligations shall survive the termination or expiration of the Agreement for any reason.  IN NO EVENT SHALL THE REGISTRY OPERATOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFIT OR GOODWILL, FOR ANY MATTER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTIES, EITHER EXPRESS OR IMPLIED, ANY BREACH OF THIS AGREEMENT OR ITS INCORPORATED AGREEMENTS AND POLICIES YOUR INABILITY TO USE THE DOMAIN NAME, YOUR LOSS OF DATA OR FILES OR OTHERWISE, EVEN IF THE REGISTRY OPERATOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    \r\n
  10. \r\n
  11. \r\n
    Regulated TLDs.   For domain name registration in any “Regulated” TLD, you acknowledge and agree your registration is subject to the following additional requirements: (a) comply with all applicable laws, including those that relate to privacy, data collection, consumer protection (including in relation to misleading and deceptive conduct), fair lending, debt collection, organic farming, disclosure of data, and financial disclosures; (b) if you collect and maintain sensitive health and financial data you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  Regulated TLDs include: .games, .juegos, .school, .schule, .toys, .eco, .care, .diet, .fitness, .health, .clinic, .dental, .healthcare, .capital, .cash, .broker, .claims, .exchange, .finance, .financial, .fund, .investments, .lease, .loans, .market, .money, .trading, .credit, .insure, .tax, .mortgage, .degree, .mba, .audio, .book, .broadway, .film, .movie, .music, .software, .fashion, .video, .app, .art, .band, .cloud, .data, .digital, .fan, .free, .gratis, .discount, .sale, .media, .news, .online, .pictures, .radio, .show, .theater, .tours, .accountants, .architect, .associates, .broker, .legal, .realty, .vet, .engineering, .law, .limited, .show; .theater; .town, .city, .reise, and .reisen
    \r\n
  12. \r\n
  13. \r\n
    Highly Regulated TLDs. In addition to the requirements for Regulated TLDs, domain name registration in any Highly-Regulated TLD is subject to the following requirements: (a) you will provide administrative contact information, which must be kept up‐to‐date, for the notification of complaints or reports of registration abuse, as well as the contact details of the relevant regulatory, or Industry self‐regulatory, bodies in their main place of business; (b) you represent that you possess any necessary authorizations, charters, licenses and/or other related credentials for participation in the sector associated with such Highly‐regulated TLD; and (c) you will report any material changes to the validity of you authorizations, charters, licenses and/or other related credentials for participation in the sector associated with the Highly‐regulated TLD to ensure you continue to conform to the appropriate regulations and licensing requirements and generally conduct your activities in the interests of the consumers they serve.  Highly Regulated TLDs include: .abogado, .attorney, .bank, .bet, .bingo, .casino .charity (and IDN equivalent xn--30rr7y), .cpa, .corp, creditcard, .creditunion .dds, .dentist, .doctor, .fail, .gmbh, .gripe, .hospital, .inc, .insurance, .lawyer, .lifeinsurance, .llc, .llp, .ltda, .medical, .mutuelle, .pharmacy, .poker, .university, .sarl, .spreadbetting, .srl, .sucks, .surgery .university, .vermogensberater, .vesicherung,  and .wtf.  For .doctor, registrants who hold themselves out to be licensed medical practitioners must be able to demonstrate to the Registrar and Registry, upon request, that they hold the applicable license.
    \r\n
  14. \r\n
  15. \r\n
    Special Safeguard TLDs.  In addition to the requirements for Regulated and Highly-Regulated TLDs, by registering a domain name in any “Special-Safeguard” TLD, you agree to take reasonable steps to avoid misrepresenting or falsely implying that you or your business is affiliated with, sponsored or endorsed by one or more country's or government's military forces if such affiliation, sponsorship or endorsement does not exist.  Special Safeguard TLDs include:  .army, .navy, .airforce
    \r\n
  16. \r\n
  17. \r\n
    Third Party Beneficiary.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator for any TLD in which your register a domain name is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the TLD. Third party beneficiary rights of the Registry Operator shall survive any termination of this Agreement.
    \r\n
  18. \r\n
  19. \r\n
    Variable and Non-Uniform Pricing.  You acknowledge, understand and agree that certain domain names in certain TLDs are established by Registry Policies to be variably priced (i.e., standard v. premium names) and/or may have non-uniform renewal registration pricing (such that the Fee for a domain name registration renewal may differ from other domain names in the same TLD, e.g., renewal registration for one domain may be $100.00 and $33.00 for a different domain name).
    \r\n
  20. \r\n
  21. \r\n
    Restriction on Availability of Privacy or Proxy.  You acknowledge and agree that, as dictated by the Registry Policies, for certain TLDs you may not be permitted to purchase private or proxy TLD registrations. In such case, you must register for any and all TLD registrations using your personal information, which information you represent and warrant is current, accurate and complete.
    \r\n
  22. \r\n
\r\n

3. FEES AND PAYMENTS

\r\n

(A) GENERAL TERMS, INCLUDING AUTOMATIC RENEWAL TERMS

\r\n

You agree to pay any and all prices and fees due for Services purchased or obtained at this Site at the time you order the Services.  Azure expressly reserves the right to change or modify its prices and fees at any time, and such changes or modifications shall be posted online at this Site and effective immediately without need for further notice to you.  If you have purchased or obtained Services for a period of months or years, changes or modifications in prices and fees shall be effective when the Services in question come up for renewal as further described below. 

\r\n

Unless otherwise specifically noted (for reasons such as those highlighted in Section 2(x) above), the renewal price for any domain name in any TLD will be the same as the list (non-sale) price shown when you search for and select a domain, and again in the cart prior to purchase.  For example, if the list price is $9.99, and a different renewal price is not specifically identified, then the renewal price is also $9.99.  Likewise, if a domain name has a sale price of $8.99, with the list (non-sale) price shown (as a strike-through) at $9.99, the renewal price will be $9.99*.  

\r\n

*Renewal price subject to change prior to actual date of renewal. 

\r\n

For all other terms and conditions relating to fees, payment, refund and billing, etc. applicable to the Services offered under the scope of this Agreement, please refer to the “Fees and Payments” section of our UTOS

\r\n

(B) DOMAIN NAME RENEWAL TERMS

\r\n

When you register a domain name, you will have two renewal options: (i) \"Automatic Renewal\" (ii) \"Extended Automatic Renewal\", and (iii) \"Manual Renewal\": 

\r\n
    \r\n
  1. Automatic Renewal.  Automatic Renewal is the default setting. Therefore, unless you select Extended Automatic Renewal, Azure will enroll you in Automatic Renewal.  Domain names will automatically renew, for a period equivalent to the length of your original domain name registration, any domain name that is up for renewal and will take payment from the Payment Method you have on file with Azure, at Azure's then current rates. Thus, if you have chosen to register your domain name for one (1) year, Azure will automatically renew it for one (1) year. If you have chosen to register your domain name for two (2) years, Azure will automatically renew it for two (2) years, and so on.
  2. \r\n
  3. Extended Automatic Renewal.  If you enroll in the Extended Automatic Renewal plan, Azure will automatically renew any domain name that is up for renewal for an additional one-year period on each and every anniversary of your domain name registration, so the initial registration period will always remain intact.  Thus, if you have chosen to register your domain name for two (2) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your two (2) year registration period will always remain intact. If you have chosen to register your domain name for five (5) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your five (5) year registration period will always remain intact, and so on.  Azure will take payment from the Payment Method you have on file with Azure, at Azure's then current one-year domain name registration rate.
  4. \r\n
  5. Manual Renewal.  If you have elected to turn off automatic renewal and cancel the product (i.e., cancel the domain name registration) effective at expiration of the then current term, you may nonetheless elect to manually renew the domain name at anytime prior to its expiration date by logging into your Account Manager and manually implementing the renewal or by calling customer service (should you in fact want the domain name to be renewed). If you fail to manually implement the renewal before the expiration date, the domain name will be cancelled and you will no longer have use of that name.
  6. \r\n
\r\n

All renewals will be subject to the terms of this Agreement, as it may be amended from time to time, and you acknowledge and agree to be bound by the terms of this Agreement (as amended) for all renewed domains.  Domain name renewals will be non-refundable. In the event that we are unable to automatically renew your domain name for the renewal option selected for any reason, we may automatically renew your domain name for a period less than your original registration period to the extent necessary for the transaction to succeed. If for any reason Azure is not able to take the payment from the Payment Method you have on file, and you fail to respond to our notices, your domain name registration will expire. It is your responsibility to keep your Payment Method information current, which includes the expiration date if you are using a credit card.

\r\n

For certain ccTLDs (.am, .at, .be, .br, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal billing will occur on the first day of the month prior to the month of expiration.

\r\n

For certain ccTLDs (.am, .at, .be, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal will occur, or must occur manually if the product was previously cancelled, no later than the 20th of the month prior to the expiration date, or your domain name will be placed in non-renewal status. For some ccTLDs (.es) renewal must be processed no later than seven days before the expiration date, or your domain name will be placed in non-renewal status.  When the domain name is in non-renewal status, you can renew the domain name only by calling Azure and requesting that the domain name be renewed. You cannot renew the domain name through your Account Manager. If you fail to manually implement the renewal of any cancelled product before the expiration date, the domain name will be cancelled and you will no longer have use of that name.

\r\n

You agree that Azure will not be responsible for cancelled domain names that you fail to renew in the timeframes indicated in this Agreement. In any case, if you fail to renew your domain name in a timely fashion, additional charges may apply. If you signed up for privacy services, protected registration, or any other similar service, with your domain name registration, these services will automatically be renewed when your domain name registration is up for renewal, and you will incur the applicable additional renewal fee unless you cancel in advance. 

\r\n

If you fail to renew your domain name in the timeframes indicated in this Agreement, you agree that Azure may, in its sole discretion, renew your expired domain name on your behalf. If Azure decides to renew your expired domain name on your behalf, you will have a Renewal Grace Period during which you may reimburse Azure for the renewal and keep your domain name. The Renewal Grace Period is currently twelve (12) days but subject to change under the terms of this Agreement. For certain ccTLDs (.am, .at, .be, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg) there is no Renewal Grace Period after the expiration date of the domain name. If you do not reimburse Azure for the renewal during the Renewal Grace Period your domain name will be placed on Hold and flagged for deletion after which you will have a 30-day redemption period during which you may pay Azure a Redemption fee and redeem your domain name. The Redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the 30-day redemption period Azure may, in its sole discretion, delete your domain name or transfer it to another registrant on your behalf.  During the redemption period your domain name may be parked. 

\r\n

If your domain name is deleted, the Registry also provides a 30-day Redemption Grace Period during which you may pay Azure a redemption fee and redeem your domain name. The redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the Registry's Redemption Grace Period the Registry will release your name and it will become available for registration on a first-come-first-served basis.

\r\n

Renewal Grace Periods and Redemption Grace Periods vary for different ccTLDs. Please refer to the specific terms for the applicable TLD. In the event there is a conflict between the provisions of this paragraph and the ccTLD terms, the ccTLD terms shall control.

\r\n

\r\n

Our registration expiration notification policy and associated fees are described here.

\r\n

\r\n

\r\n

(C) FREE PRODUCT TERMS

\r\n

In the event you are provided with free products with the registration of a domain name, you acknowledge and agree that such free products will only be available with a valid purchase and may be terminated in the event the domain name is deleted or cancelled.  For free domain names, you acknowledge and agree that you may not change the account associated with such free domain for the first five (5) days after registration.  In the event a free domain name is offered with the registration of another domain and if the paid domain name registered fails, then we may, in its sole discretion, either delete the registration of the free domain or refund the difference between the amount paid and the value of the free domain.  Failed registrations associated with promotionals offers may result in the deletion of the free or discounted item or an adjustment between the registered domain price and the value of the discounted item, in our sole discretion.

\r\n

4. TERM OF AGREEMENT; TRANSFERS; DOMAIN TASTING

\r\n

The term of this Agreement shall continue in full force and effect as long as you have any domain name registered through Azure.

\r\n

You agree that you will not transfer any domain name registered through Azure to another domain name registrar during the first sixty (60) days after its initial registration date.  You agree that you may not transfer any domain name for ten (10) days after a Change of Account.

\r\n

You further agree that you will not engage in \"domain tasting\" by using the five (5) day grace period in which a registrant may choose to cancel a domain name and get a full refund of the registration fee as a vehicle to test the marketability or viability of a domain name.  If Azure determines (which determination shall be made by Azure in its sole and absolute discretion) that you have been engaging in \"domain tasting\", then Azure reserves the right to (a) charge you a small fee (which fee shall be deducted from any refund issued) or (b) refuse your cancellation/refund request altogether. Azure will not charge you a fee if Azure cancels your domain name during the five (5) day grace period due to fraud or other activity outside of your control. The five (5) day grace period does not apply to Premium Domains, which are non-refundable.

\r\n

You agree that Azure shall not be bound by (i) any representations made by third parties who you may use to purchase services from Azure, or (ii) any statements of a general nature, which may be posted on Azure's website or contained in Azure's promotional materials.

\r\n

5. UP TO DATE INFORMATION; USE OF INFORMATION AND EXPIRATION

\r\n

You agree to notify Azure within five (5) business days when any of the information you provided as part of the application and/or registration process changes. It is your responsibility to keep this information in a current and accurate status. Failure by you, for whatever reason, to provide Azure with accurate and reliable information on an initial and continual basis, shall be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. Failure by you, for whatever reason, to respond within five (5) business days to any inquiries made by Azure to determine the validity of information provided by you, shall also be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. You agree to retain a copy for your record of the receipt for purchase of your domain name.

\r\n

You agree that for each domain name registered by you, the following contact data is required: postal address, email address, telephone number, and if available, a facsimile number for the Registered Name Holder and, if different from the Registered Name Holder, the same contact information for, a technical contact, an administrative contact and a billing contact.

\r\n

You acknowledge and agree that domain name registration requires that this contact information, in whole or in part, be shared with the registry operator, for their use, copying, distribution, publication, modification and other processing  for (among other uses in accordance with our Privacy Policy) the purpose of administration of the domain name registration, which may require such information be transferred back and forth across international borders, to and from the U.S. to the EU, for example. As required by ICANN, this information must also be made publicly available by means of Whois, and that the registry operator may also be required to make this information publicly available by Whois. Both Azure and the registry operator may be required to archive this information with a third-party escrow service. You hereby consent and give permission for all such requirements and disclosures. Further, you represent and warrant that, if you are providing information about a third party, you have notified the third party of the disclosure and the purpose for the disclosure and you have obtained the third party's consent to such disclosure.  Registrar will not process data in a way that is incompatible with this Agreement.  Registrar will take reasonable precautions to protect data from loss or misuse.

\r\n

You agree that for each domain name registered by you the following information will be made publicly available in the Whois directory as determined by ICANN Policy and may be sold in bulk as set forth in the ICANN agreement:

\r\n
    \r\n
  • The domain name;
  • \r\n
  • Your name and postal address;
  • \r\n
  • The name, email address, postal address, voice and fax numbers for technical and administrative contacts;
  • \r\n
  • The Internet protocol numbers for the primary and secondary name servers;
  • \r\n
  • The corresponding names of the name servers; and
  • \r\n
  • The original date of registration and expiration date.
  • \r\n
  • Name of primary name server and secondary name server.
  • \r\n
  • Identity of the registrar.
  • \r\n
\r\n

You agree that, to the extent permitted by ICANN, Azure may make use of the publicly available information you provided during the registration process. If you engage in the reselling of domain names you agree to provide any individuals whose personal information you've obtained, information about the possible uses of their personal information pursuant to ICANN policy. You also agree to obtain consent, and evidence of consent, from those individuals for such use of the personal information they provide.

\r\n

You agree that Azure has the right to make public and share with third parties certain information in connection with the sale or purchase of domain names on the website, including but not limited to (a) the name of the domain name sold or purchased, (b) the sale or purchase price of the domain name sold or purchased, and (c) information relating to the timing of the sale or purchase.

\r\n

\r\n

In order for us to comply with any current or future rules and policies for domain name systems including any rules or policies established by the CIRA or any provincial or federal government or by other organization having control or authority to establish rules or policies, you hereby grant to us the right to disclose to third parties through an interactive publicly accessible registration database the following information that you are required to provide when applying for a domain name:

\r\n
    \r\n
  1. The domain or sub-domain name(s) registered by you;
  2. \r\n
  3. Your organization name, type and postal address;
  4. \r\n
  5. The name(s), position(s), postal address(es), e-mail address(es), voice telephone number(s) and where available the fax number(s) of the technical and administrative contacts for your domain or sub-domain name(s);
  6. \r\n
  7. The full hostnames and Internet protocol (IP) addresses of at least two (2) name server hosts (one primary and at least one secondary) for your domain or sub-domain name. Up to six (6) name servers may be specified. If a host has more than one (1) IP address, use a comma-separated list;
  8. \r\n
  9. The corresponding names of those name servers;
  10. \r\n
  11. The original creation date of the registration; and
  12. \r\n
  13. The expiration date of the registration.
  14. \r\n
\r\n

We may be required to make this information available in bulk form to third parties. We may also transfer or assign this information to CIRA or such other third party as we may decide, in our sole discretion.

\r\n

6. DISPUTE RESOLUTION POLICY

\r\n

You agree to be bound by our current Dispute Resolution Policy. This policy is incorporated herein and made a part of this Agreement. You can view the Uniform Domain Name Dispute Resolution Policy online. You agree that Azure may from time to time modify its Dispute Resolution Policy. Azure will post any changes to its Dispute Resolution Policy at least thirty (30) days before they become effective. You agree that by maintaining your domain name registrations with Azure after the updated policy becomes effective that you agree to the Dispute Resolution policy as amended. You agree to review Azure's website periodically to determine if changes have been made to the Dispute Resolution Policy. If you cancel or terminate your Services with Azure as a result of the modified Dispute Resolution policy, no fees will be refunded to you. You also agree to submit to proceedings commenced under ICANN's Uniform Rapid Suspension System, if applicable. 

\r\n

You agree that if a dispute arises as a result of one (1) or more domain names you have registered using Azure, you will indemnify, defend and hold Azure harmless as provided for in this Agreement. You also agree that if Azure is notified that a complaint has been filed with a governmental, administrative or judicial body, regarding a domain name registered by you using Azure, that Azure, in its sole discretion, may take whatever action Azure deems necessary regarding further modification, assignment of and/or control of the domain name deemed necessary to comply with the actions or requirements of the governmental, administrative or judicial body until such time as the dispute is settled. In this event you agree to hold Azure harmless for any action taken by Azure.

\r\n

You agree to submit, without prejudice to other potentially applicable jurisdictions, to the jurisdiction of the courts (1) of your domicile, (2) where registrar is located or (3) where the registry operator is located (e.g., China for .CN, Columbia for .CO, UK for .EU, etc.).

\r\n

\r\n

In the case of .ca domain names, you agree that, if your use of the service or the registration of a .ca domain name is challenged by a third party, you will be subject to the provisions specified by CIRA in their dispute resolution policy, in effect at the time of the dispute.

\r\n

\r\n

7. TRANSFER OF DOMAIN NAMES; RESALE PRACTICES

\r\n

If you transfer any domain name, you agree to provide the information required by, and to abide by, the procedures and conditions set forth in our Domain Name Transfer Agreement and Change of Registrant Agreement. You may view the latest versions of our Domain Name Transfer Agreement and Change of Registrant Agreementonline. In order to further protect your domain name, any domain name registered with Azure or transferred to Azure shall be placed on lock status, unless an opted-out has occurred as defined in our Change of Registrant Agreement or Domain Name Proxy Agreement. The domain name must be placed on unlock status in order to initiate a transfer of the domain name away from Azure to a new Registrar. You may log into your account with Azure at any time after your domain name has been successfully transferred to Azure, and change the status to unlock.

\r\n

In the event you are purchasing a domain name on behalf of a third party, you agree to inform any customer of yours, who may be acquiring a domain name through you using Azure's registration services, that they are in fact registering their domain name through Azure and that Azure or its licensor is an accredited registrar with ICANN. You agree not to represent that you are an ICANN-accredited registrar or that you are in any way providing superior access to the ICANN Domain Name Registry. You also agree not to use the ICANN trademark logo in any of your promotional materials including your website.

\r\n

You agree to obtain each of your customers' acceptances to the then current version of this Agreement, and to retain evidence of their acceptance for a period of not less than three (3) years. Should you require that your customers accept additional terms and conditions that are not required by Azure, you agree that such additional terms and conditions shall not conflict with this Agreement and the policies and procedures adopted by ICANN.

\r\n

You agree that Azure is not lending you access to its registrar connections or its registry access, nor will you be deemed to be a registrar in your own right. Furthermore, you agree you will not attempt to gain access to Azure's registrar connections or registry access. You agree to provide complete, accurate and current data for each registrant to be added to a registry in accordance with ICANN requirements for inclusion in the Whois database.

\r\n

You agree to provide your customers with adequate customer support, and to maintain contact with them with regard to providing a medium for them to communicate changes in the information they provided as part of the domain name registration process. Upon receiving corrected or updated information you will, within five (5) business days, provide such information to Azure so Azure may update its registration records. You will retain copies of all communications between you and your customers and will upon request provide Azure copies of same.

\r\n

8. YOUR OBLIGATIONS; SUSPENSION OF SERVICES; BREACH OF AGREEMENT

\r\n

You represent and warrant to the best of your knowledge that, neither the registration of the domain nor the manner it is directly or indirectly used, infringes the legal rights of any third party.  You will comply with all applicable laws, including, but not limited to those relating to privacy, data collection, consumer protection, fair lending, debt collection, organic farming, and disclosure of data and financial disclosures.  If you collect and maintain sensitive health and financial data, you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  You represent that you possess any necessary authorization, charter, license, and/or other related credential for participation in the sector associated with the associated registry tld string.  You will report any material changes to the validity of your authorization, charter, license, and/or other related credential. You will indemnify and hold harmless the registrar and registry operator, and their directors, officers, employees and agents, from and against any and all claims, damages, liabilities, costs and expenses (including reasonable legal fees and expenses) arising out of or related to the domain name registration.  This obligation shall survive expiration or termination of this Agreement or the domain name registration.

\r\n

You agree that, in addition to other events set forth in this Agreement:

\r\n
    \r\n
  1. Your ability to use any of the services provided by Azure is subject to cancellation or suspension in the event there is an unresolved breach of this Agreement and/or suspension or cancellation is required by any policy now in effect or adopted later by ICANN;
  2. \r\n
  3. Your registration of any domain names shall be subject to suspension, cancellation or transfer pursuant to any ICANN adopted specification or policy, or pursuant to any Azure procedure not inconsistent with an ICANN adopted specification or policy (a) to correct mistakes by Azure or the registry operator in registering any domain name; or (b) for the resolution of disputes concerning any domain name.
  4. \r\n
\r\n

You acknowledge and agree that Azure and registry reserve the right to deny, cancel or transfer any registration or transaction, or place any domain name(s) on registry lock, hold or similar status, as either deems necessary, in the unlimited and sole discretion of either Azure or the registry: (i) to comply with specifications adopted by any industry group generally recognized as authoritative with respect to the Internet (e.g., RFCs), (ii) to correct mistakes made by registry or any registrar in connection with a domain name registration, (iii) for the non-payment of fees to registry, (iv) to protect the integrity and stability of the registry, (v) to comply with any applicable court orders, laws, government rules or requirements, requests of law enforcement, or any dispute resolution process, (vi) to comply with any applicable ICANN rules or regulations, including without limitation, the registry agreement, (vii) to avoid any liability, civil or criminal, on the part of registry operator, as well as its affiliates, subsidiaries, officers, directors, and employees, (viii) per the terms of this Agreement, (ix) following an occurrence of any of the prohibited activities described in Section 8 below, or (x) during the resolution of a dispute.

\r\n

You agree that your failure to comply completely with the terms and conditions of this Agreement and any Azure rule or policy may be considered by Azure to be a material breach of this Agreement and Azure may provide you with notice of such breach either in writing or electronically (i.e. email). In the event you do not provide Azure with material evidence that you have not breached your obligations to Azure within ten (10) business days, Azure may terminate its relationship with you and take any remedial action available to Azure under the applicable laws. Such remedial action may be implemented without notice to you and may include, but is not limited to, cancelling the registration of any of your domain names and discontinuing any services provided by Azure to you. No fees will be refunded to you should your Services be cancelled or terminated because of a breach.

\r\n

Azure's failure to act upon or notify you of any event, which may constitute a breach, shall not relieve you from or excuse you of the fact that you have committed a breach.

\r\n

9. RESTRICTION OF SERVICES; RIGHT OF REFUSAL

\r\n

You agree not to use the services provided by Azure, or to allow or enable others, to use the services provided by Azure for the purposes of:

\r\n
    \r\n
  • The transmission of unsolicited email (Spam); and
  • \r\n
  • Repetitive, high volume inquires into any of the services provided by Azure (i.e. domain name availability, etc.).
  • \r\n
\r\n

You acknowledge and agree that you are prohibited from distributing malware, abusively operating botnets, phishing, piracy, trademark or copyright infringement, fraudulent or deceptive practices, counterfeiting or otherwise engaging in activity contrary to applicable law, and you acknowledge and agree that the consequences for such activities include suspension of the domain name.

\r\n

If you are hosting your domain name system (“DNS”) on Azure’s servers, or are using our systems to forward a domain name, URL, or otherwise to a system or site hosted elsewhere, or if you have your domain name registered with Azure, you are responsible for ensuring there is no excessive overloading on Azure’s servers. You may not use Azure’s servers and your domain name as a source, intermediary, reply to address, or destination address for mail bombs, Internet packet flooding, packet corruption, or other abusive attack. Server hacking or other perpetration of security breaches is prohibited. You agree that Azure reserves the right to deactivate your domain name from its DNS if Azure deems it is the recipient of activities caused by your site that threaten the stability of its network.

\r\n

You agree that Azure, in its sole discretion and without liability to you, may refuse to accept the registration of any domain name. Azure also may in its sole discretion and without liability to you delete the registration of any domain name during the first thirty (30) days after registration has taken place. Azure may also cancel the registration of a domain name, after thirty (30) days, if that name is being used, as determined by Azure in its sole discretion, in association with spam or morally objectionable activities. Morally objectionable activities will include, but not be limited to:

\r\n
    \r\n
  • Activities prohibited by the laws of the United States and/or foreign territories in which you conduct business;
  • \r\n
  • Activities designed to encourage unlawful behavior by others, such as hate crimes, terrorism and child pornography; and
  • \r\n
  • Activities designed to harm or use unethically minors in any way.
  • \r\n
\r\n

In the event Azure refuses a registration or deletes an existing registration during the first thirty (30) days after registration, you will receive a refund of any fees paid to Azure in connection with the registration either being cancelled or refused. In the event Azure deletes the registration of a domain name being used in association with spam or morally objectionable activities, no refund will be issued.

\r\n

10. DEFAULT SETTINGS; PARKED PAGE

\r\n

Choosing Your Domain Name Settings.  When you register a domain name with Azure, you will be prompted to choose your domain name settings during the checkout process.  If you plan on using another provider for your website or hosting needs, then you should enter the name servers of such provider when you choose your domain name settings.  This will direct your domain name away from Azure’s name servers.  If you are an existing Azure customer and have already set up a customer profile designating your domain name settings for new domain name registrations, you will not need to complete this step again during the checkout process.   

\r\n

Azure’s Default Settings.  If you do not direct your domain name away from Azure’s name servers as described above, Azure will direct your domain name to a “Parked Page” (“Default Setting”).  You acknowledge and agree that Azure has the right to set the Default Setting. 

\r\n

Parked Page Default Setting.  Azure’s Parked Page service is an online domain monetization system designed to generate revenue (through the use of pay per click advertising) from domain names that are not actively being used as websites.  If your domain name is directed to a Parked Page, you acknowledge and agree that Azure may display both (a) in-house advertising (which includes links to Azure products and services) and (b) third-party advertising (which includes links to third-party products and services) on your Parked Page through the use of pop-up or pop-under browser windows, banner advertisements, audio or video streams, or any other advertising means, and we may aggregate for our own use, related usage data by means of cookies and other similar means.  In addition, you acknowledge and agree that all in-house and third-party advertising will be selected by Azure and its advertising partners, as appropriate, and you will not be permitted to customize the advertising, or entitled to any compensation in exchange therefor.  Please note that the third-party advertising displayed on Azure’s Parked Pages may contain content offensive to you, including but not limited to links to adult content.  Azure makes no effort to edit, control, monitor, or restrict the content and third-party advertising displayed on Azure’s Parked Pages, and expressly disclaims any liability or responsibility to you or any third party in connection therewith.

\r\n

Changing Azure’s Default Settings.  You may change Azure’s Default Settings at any time during the term of your domain name registration.

\r\n
    \r\n
  1. Content Displaying On Your Parked Page.  You can not modify the content displaying on your Parked Page.  You may select one of the other options listed below.
  2. \r\n
  3. Participating In Domain Name Monetization.  If you wish to participate in the domain monetization potential presented by Azure’s Parked Page service, please review and consider purchasing our CashParking® service.   
  4. \r\n
  5. No Content.  If the options listed above are not acceptable to you, please contact customer support to learn what other options might be available to you.
  6. \r\n
\r\n

Return To Parked Page Default Setting Upon Domain Name Expiration.  Upon domain name expiration, and regardless of how you use your domain name during the term of your domain name registration, your domain name will automatically return to the Parked Page Default Setting described above.  As used in this paragraph, “expiration” is deemed to include any “renewal period” or “redemption period” immediately after the domain name expires, but before the domain name is returned to the registry.  Once your domain name has returned to the Parked Page Default Setting described above, the only way to opt out of the Parked Page service is to renew, redeem, or re-register your domain name in accordance with Section 2(B), Domain Name Renewal Terms, of this Agreement.   

\r\n

11. DOMAIN ADD-ONS

\r\n

Business Registration:  Business registration allows You to display additional information about the business that is the basis of Your domain name, including, but not limited to, such information as Your fax number, street address, and hours of operation.

\r\n

Certified Domains.  The certified domain service generally allow You to: (i) put a Certified Domain Validation seal on Your website; and (ii) have Your domain name listed as \"Certified\", in WHOIS lookups on our website.   The Certified Domain Validation seal renews independently of Your domain. When You renew Your domain, You must also, when necessary, separately renew Your Certified Validation seal. However, the Certified Domain Validation seal can be cancelled independently of Your domain. If the domain is cancelled, the Certified Domain associated with the cancelled domain will automatically cancel.  The Certified Domain seal is a trademark and is protected by copyright, trademark and other intellectual property laws. You may use the Certified Domain seal only in conjunction with the purchase of the Services set forth in the Agreement, and subject to the terms and conditions hereof. Other than provided for in this Agreement, You may not otherwise use, reproduce, or modify the mark for any additional promotional use, without our prior written approval. Your right to the use of the Certified Domain seal is immediately terminated upon expiration or termination of this Agreement.

\r\n

Expiration Consolidation.  You understand and acknowledge the expiration consolidation service may only be used to consolidate the expiration of .com and .net domain names. The service may not be used to consolidate domains that are on Registrar HOLD, Registry HOLD, or pending Transfer status. You acknowledge the service may only be used to push the expiration date of Your domains forward in time, at least one (1) month forward and no more than ten (10) years forward, and then, only for a period lasting less than twelve (12) months. Once the service has been used to consolidate domains, the new expiration date may not be reversed. To ensure the service is not abused or used as an alternative to renewals, you may only use the service on each domain once in any 12-month period. The service may only be used on domain names that have not passed their expiration date. In order to change the expiration date again, You will be required to renew the domain name first.  You further understand and acknowledge the service may only be used to coordinate domains where we are the registrar of record. Domains not registered with us must be transferred before we can perform the Service. 

\r\n

\r\n

Backordering/Monitoring.  You agree a domain name that has expired shall be subject first to a grace period of twelve (12) days, followed by the ICANN-mandated redemption grace period of thirty (30) days. During this period of time, the current domain name registrant may renew the domain name and retain ownership. We do not guarantee your backorder will result in you obtaining the domain name and expressly reserves the right to (a) refuse additional backorders or (b) cancel existing backorders at any time for any reason.  If your backorder is refused or cancelled, we agree to promptly refund any fees paid for such domain name backorder. The domain name may also be placed in a secondary market for resale through the Auctions® service.  After your first year of Auctions membership, you agree that unless otherwise advised, we will automatically renew your Auctions membership using the payment method you have on file for so long as your backorder credit is active. You may learn more about Auctions by visiting the Auctions website. The domain name may also be subject to a drop pool process before it is available for purchasing. You understand we and our registrar affiliates use our services, including backordering.  Therefore, the domain name may be registered with a different registrar, but can be managed through your account.  By using the Services, you will be able to, among other things:

\r\n
    \r\n
  1. Backorder any domain name under the top level domains .COM, .NET, .US, .BIZ, .INFO, .ORG, .MOBI. A backorder for a domain name will include the price of up to a one-year domain name registration. Should you successfully backorder any domain name, you will be subject to the terms and conditions of the Domain Name Registration and related agreements, which are incorporated herein by reference.
  2. \r\n
  3. Change your backorder until you obtain a domain name. You will have the opportunity to change the credit to a different domain name until you successfully capture one. After three (3) years, if the credit is not used, we reserves the right to remove the credit.
  4. \r\n
  5. Subscribe monthly to an expiring domain name list. You may also choose to purchase a subscription to a list of domain names expiring within the next five (5) days. If you subscribe to the expiring domain name list, you agree the payment method you have on file may be charged on a monthly subscription basis for the term of the Services you purchase.
  6. \r\n
  7. Select domain names off the expiring domain name list you would like to register. Each domain name you attempt to backorder will include the price of up to a one-year domain name registration, as set forth in subsection (i) above.
  8. \r\n
  9. Monitor your currently registered domain names for changes in registrar, status, expiration date or name servers at no additional cost.
  10. \r\n
  11. Subscribe to Domain Alert Pro or monitoring, which enables you to monitor any currently registered domain name, regardless of registrar, for historical tracking of status changes and designation of multiple email notification addresses.
  12. \r\n
\r\n

\r\n

\r\n

Transfer Validation. The transfer validation service is provided to help You keep Your domain name secure. By choosing to use the service, You are making an explicit and voluntary request to us to deny all attempts to transfer Your domain name to another registrar, or to move Your domain name to another account, unless You verify each request as described herein. You will provide us with a contact name, phone number and PIN for domain transfer validations. You will be contacted by us when a domain transfer is requested for a domain name in Your account. When we receive a transfer request, we will call You to verify the transfer request. If we cannot reach You with seventy-two (72) hours of receipt of the transfer request, the transfer will be denied. If You do not provide the proper PIN, the transfer will be denied. When we receive a change of account request, we will call You to verify the change request. If we cannot reach You with seventy-two (72) hours of receipt of the change request, the change will be denied. If You do not provide the proper PIN, the change will be denied. Availability of Services are subject to the terms and conditions of this Agreement and each of our policies and procedures. We shall use commercially reasonable efforts to attempt to provide certain portions of the Services on a twenty-four (24) hours a day, seven (7) days a week basis throughout the term of this Agreement and other portions of the service, during normal business hours. You acknowledge and agree that from time to time the Services may be inaccessible or inoperable for any reason, including, without limitation: (i) equipment malfunctions; (ii) periodic maintenance procedures or repairs that we may undertake from time to time; or (iii) causes beyond the reasonable control of us or that are not reasonably foreseeable by us, including, without limitation, interruption or failure of telecommunication or digital transmission links, hostile network attacks, network congestion or other failures. You acknowledge and agree that we has no control over the availability of the service on a continuous or uninterrupted basis.

\r\n

\r\n

12. PRE-REGISTRATIONS

\r\n

If you submit an application for pre-registration of a domain name, Azure does not guarantee that the name will be secured for you, or that you will have immediate access to the domain name if secured.  Azure may use third-party service providers for the pre-registration services.

\r\n

13. PROVISIONS SPECIFIC TO .BIZ REGISTRATIONS

\r\n

Domain Name Dispute Policy.  If you reserved or registered a .BIZ domain name through us, in addition to our Dispute Resolution Policy, you hereby acknowledge that you have read and understood and agree to be bound by the terms and conditions of the Restrictions Dispute Resolution Policy applicable to the .biz TLD.

\r\n

The RDRP sets forth the terms under which any allegation that a domain name is not used primarily for business or commercial purposes shall be enforced on a case-by-case basis by an independent ICANN-accredited dispute provider. Registry Operator will not review, monitor, or otherwise verify that any particular domain name is being used primarily for business or commercial purposes or that a domain name is being used in compliance with the SUDRP or UDRP processes.

\r\n

One Year Registration.  If you are registering a .BIZ domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .BIZ domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .BIZ domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

\r\n

14. PROVISIONS SPECIFIC TO .INFO REGISTRATIONS 

\r\n

One Year Registration.  If you are registering a .INFO domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .INFO domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .INFO domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

15. PROVISIONS SPECIFIC TO .MOBI REGISTRATIONS 

\r\n

Instant Mobilizer. You are hereby granted a personal, revocable, non-exclusive, non-transferable, non-assignable, non-sublicensable license to use the Instant Mobilizer service (“Service”), provided, however, You abide by the terms and conditions set forth. You shall not alter, modify, adapt or translate the whole or part of the Service in any way whatsoever. You may not create derivative works based on the Service. You may not rent, lease, assign, dispose of, novate, sub-license or otherwise transfer any of its rights to use the Service to any third party.  In the event that the volume of traffic to You from Your use of the Service is sufficient so as to jeopardize the provision of Service for other end users, we and our licensors reserve the right to, at its sole discretion, permanently or temporarily, discontinue Your use of the Service. For the avoidance of doubt, the volume of traffic generated by You should not exceed two thousand (2,000) page views per day.  You acknowledge and agree the text \"Instant Mobilizer from dotMobi\" or equivalent, will be inserted at the footer of Your site.  In the event a dotMobi domain to which the Service is being provided is transferred to another domain name registrar, the Service will be interrupted on that dotMobi domain, and Service will not be restored if the new registrar does not offer the Service. 

\r\n

\r\n

16. PROVISIONS SPECIFIC TO .NAME REGISTRATIONS 

\r\n

\r\n

17. PROVISIONS SPECIFIC TO .REISE REGISTRATIONS

\r\n

Domain Names registered in .REISE should be used for purposes dedicated to travel topics within six months following initial Registration, e.g. utilized on the Internet or otherwise used to perform a function.

\r\n

18. PROVISIONS SPECIFIC TO .SEXY REGISTRATIONS

\r\n

You shall not permit content unsuitable for viewing by a minor to be viewed from the main or top-level directory of a .SEXY domain name. For purposes of clarity, content viewed at the main or top-level directory of a .SEXY domain name is the content immediately visible if a user navigates to http://example.sexy or http://www.example.sexy. No restrictions apply to the content at any other page or subdirectory addressed by a .SEXY Registered Name. 

\r\n

19. COUNTRY CODE TOP LEVEL DOMAINS

\r\n

You represent and warrant that you meet the eligibility requirements of each ccTLD you apply for. You further agree to be bound by any registry rules, policies, and agreements for that particular ccTLD. These may include, but are not limited to, agreeing to indemnify the ccTLD provider, limiting the liability of the ccTLD provider, and requirements that any disputes be resolved under that particular country's laws.

\r\n

(A) PROVISIONS SPECIFIC TO .AU REGISTRATIONS 

\r\n

.au Registrations (to include com.au, net.au and org.au) are governed by the following additional terms and conditions:

\r\n

auDA. auDA means .au Domain Administration Limited ACN 079 009 340, the .au domain names administrator.  The Registrar acts as agent for auDA for the sole purpose, but only to the extent necessary, to enable auDA to receive the benefit of rights and covenants conferred to it under this Agreement. auDA is an intended third party beneficiary of this agreement.

\r\n

auDA Published Policy.  auDA Published Policies means those specifications and policies established and published by auDA from time to time at http://www.auda.org.au.  You must comply with all auDA Published Policies, as if they were incorporated into, and form part of, this Agreement. In the event of any inconsistency between any auDA Published Policy and this Agreement, then the auDA Published Policy will prevail to the extent of such inconsistency.  You acknowledge that under the auDA Published Policies: (1) there are mandatory terms and conditions that apply to all domain names; (2) licences, and such terms and conditions are incorporated into, and form part of, this Agreement; (3) You are bound by, and must submit to, the .au Dispute Resolution Policy; and (4) auDA may delete or cancel the registration of a .au domain name. 

\r\n

auDA's Liabilities and Indemnity.  To the fullest extent permitted by law, auDA will not be liable to Registrant for any direct, indirect, consequential, special, punitive or exemplary losses or damages of any kind (including, without limitation, loss of use, loss or profit, loss or corruption of data, business interruption or indirect costs) suffered by Registrant arising from, as a result of, or otherwise in connection with, any act or omission whatsoever of auDA, its employees, agents or contractors. Registrant agrees to indemnify, keep indemnified and hold auDA, its employees, agents and contractors harmless from all and any claims or liabilities, arising from, as a result of, or otherwise in connection with, Registrant's registration or use of its .au domain name. Nothing in this document is intended to exclude the operation of Trade Practices Act 1974.

\r\n

(B) PROVISIONS SPECIFIC TO .CA REGISTRATIONS

\r\n

You acknowledge and agree that registration of your selected domain name in your first application to CIRA shall not be effective until you have entered into and agreed to be bound by CIRA's Registrant Agreement.

\r\n

CIRA Certified Registrar.  The registrar shall immediately give notice to you in the event that it is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated, or the Registrar Agreement between CIRA and the Registrar is terminated or expires. CIRA may post notice of such suspension, termination, or expiry on its website and may, if CIRA deems appropriate, give notice to the registrants thereof. In the event that the registrar is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated or in the event the Registrar Agreement between CIRA and the Registrar is terminated or expires, you shall be responsible for changing your Registrar of Record to a new CIRA Certified Registrar within thirty (30) days of the earlier of notice thereof being given to you by (i) the Registrar or (ii) CIRA in accordance with CIRA's then current Registry PRP; provided, however, that if any of your domain name registrations are scheduled to expire within thirty (30) days of the giving of such notice, then you shall have thirty (30) days from the anniversary date of the registration(s), to register with a new CIRA certified registrar and to renew such domain name registration(s) in accordance with the Registry PRP.

\r\n

You acknowledge and agree that should there be insufficient funds prepaid by the registrar in the CIRA Deposit Account to be applied in payment of any fees, CIRA may in its sole discretion stop accepting applications for domain name registrations from the registrar, stop effecting registrations of domain names and transfers, renewals, modifications, and cancellations requested by the registrar and stop performing other billable transactions requested by the registrar not paid in full and CIRA may terminate the Registrar Agreement between CIRA and the Registrar.

\r\n

.CA ASCII and IDN domain variants are bundled and reserved for a single registrant.  Registrants are not required to register all variants in a bundle, but all registered variants must be registered and managed at a single registrar. Each variant registered will incur a registration fee.  In addition, when registering multiple .CA domain (ASCII and IDN) variants in a bundle, your registrant information must be identical.  If variants are registered at other registrars or if registrant information does not match, it may result in an \"unavailable\" search result, delayed or failed registration. If information does not match, validation is required and may take up to seven business days and delay availability of domain. 

\r\n

(C) PROVISIONS SPECIFIC TO .CN REGISTRATIONS 

\r\n

.CN is a restricted TLD – applications are subject to both a domain name check and real name verification as required by the People’s Republic of China.  Registrations in .CN are therefore subject to the following additional terms:

\r\n

Verification, Registration and Activation.  If a domain name is not permitted to be registered by the Chinese government, as determined by us, the Registry Operator and/or a 3rd party provider utilized for such services and determinations, in either party’s discretion, the application for registration will not be successful.  In such event, the name will be deleted and you will be eligible for a refund as further described below.

\r\n

If permitted, then the Registration may proceed, but a .CN domain name may not be activated (i.e., it will not resolve in the Internet) unless and until you have submitted (via the process described during registration) valid documents required of us and the Registry to perform real name verification.  The following are acceptable forms of documents for the purpose of verification:

\r\n
    \r\n
  • China: Resident ID, temporary resident ID, business license or organization code certificate
  • \r\n
  • Hong Kong/Macau: Resident ID, driver’s license, passport or business license
  • \r\n
  • Singapore: Driver’s license, passport or business license
  • \r\n
  • Taiwan: Resident ID, driver’s license or business license
  • \r\n
  • Other Countries/Regions: Driver’s license or passport
  • \r\n
\r\n

Documents submitted to us are used by us and shared with the Registry solely for the purpose of real name verification, and are otherwise subject to our Privacy Policy.  By registering a .CN domain, you expressly agree that your data may be stored on servers in the U.S., or otherwise outside of the People's Republic of China.

\r\n

Refunds.  Refunds for .CN Registrations will only be allowed where (i) registration of the applied for domain name is not permitted by the Chinese government; or (ii) you notify us of your intent to cancel for any reason within the first five (5) days after the Registration (i.e., after it is deemed permissible by the Chinese government).  For the avoidance of doubt, refunds will not be permitted under any circumstances after five (5) days from the date of Registration, including, for example, in the event real name verification is not successful or if the Chinese government determines after Registration that the domain name should not have been registered (and directs us to delete).

\r\n

(D) PROVISIONS SPECIFIC TO .JP REGISTRATIONS

\r\n

Registration Restrictions.  You represent and warrant that you have a local presence in Japan with a home or office address. You agree that certain domain names are reserved and can only be registered by certain parties. These include: (i) TLDs, other than ccTLDs, as determined by ICANN; (ii) geographical-type .JP domain names that are defined as metropolitan, prefectural, and municipal labels; (iii) names of primary and secondary educational organizations; (iv) names of organizations related to Internet management; (v) names required for .JP domain name operations; and (vi) character strings which may be confused with ASCII-converted Japanese domain names. The complete list of .JP Reserved Domains is available here

\r\n

20. ENGLISH LANGUAGE CONTROLS

\r\n

This Agreement, along with all policies and the applicable product agreements identified above and incorporated herein by reference (collectively, the “Agreement”), is executed in the English language. To the extent any translation is provided to you, it is provided for convenience purposes only, and in the event of any conflict between the English and translated version, where permitted by law, the English version will control and prevail. Where the translated version is required to be provided to you and is to be considered binding by law (i) both language versions shall have equal validity, (ii) each party acknowledges that it has reviewed both language versions and that they are substantially the same in all material respects, and (iii) in the event of any discrepancy between these two versions, the translated version may prevail, provided that the intent of the Parties has been fully taken into consideration. 

\n
\n
\n\nRevised: 10/6/17
\nCopyright © 2000-2017 All Rights Reserved.\n
\n
\n
", - "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=reg_sa&pl_id=510456" - }, - { - "agreementKey": "DNPA", - "title": "Domain Name Proxy Agreement", - "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Proxy Agreement\n
\n

Last Revised: October 25, 2017

\n

Please read this Domain Name Proxy Agreement (\"Agreement\") carefully. By using the Services and/or website of Domains By Proxy, LLC, a Delaware limited liability company (\"DBP\"), You (as defined below) agree to all the terms and conditions set forth both herein and in the DBP privacy policy, which is incorporated by reference and can be found by clicking here.  You acknowledge that DBP may amend this Agreement at any time upon posting the amended terms on its website, and that any new, different or additional features changing the services provided by DBP will automatically be subject to this Agreement. If You do not agree to be bound by, or if You object to, the terms and conditions of this Agreement and any amendments hereto, do not use or access DBP's services. Continued use of DBP's services and its website after any such changes to this Agreement have been posted, constitutes Your acceptance of those changes.

\r\n

This Agreement is by and between DBP and you, your heirs, assigns, agents and contractors (\"You\") and is made effective as of the date of electronic execution. This Agreement sets forth the terms and conditions of Your relationship with DBP and Your use of DBP's services and represents the entire Agreement between You and DBP. By using DBP's Services, You acknowledge that You have read, understand and agree to be bound by all the terms and conditions of this Agreement, and You further agree to be bound by the terms of this Agreement for transactions entered into by:

\r\n
    \r\n
  1. You on Your behalf;
  2. \r\n
  3. Anyone acting as Your agent; and
  4. \r\n
  5. Anyone who uses the account You have established with DBP, whether or not the transactions were on Your behalf and/or authorized by You.
  6. \r\n
\r\n

You agree You will be bound by representations made by third parties acting on Your behalf, which either use or purchase services from DBP. You further agree that DBP will not be bound by statements of a general nature on DBP's website or DBP promotional materials. You further agree to abide by the terms and conditions promulgated by the Internet Corporation for Assigned Names and Numbers (\"ICANN\") (including the Uniform Domain Name Dispute Resolution Policy (\"Dispute Resolution Policy\") and Your Registrar (i.e., the ICANN-accredited person or entity through which You register a domain name).

\r\n

1. description of DBP's private registration services

\r\n

When You subscribe to DBP's private registration service through a DBP-affiliated Registrar, DBP will display its contact information in the publicly available \"Whois\" directory in place of Your information. DBP shall keep Your name, postal address, email address, phone and fax numbers confidential, subject to Section 4 of this Agreement. The following information (and not Your personal information) will be made publicly available in the \"Whois\" directory as determined by ICANN policy:

\r\n
    \r\n
  1. DBP's name as the proxy Registrant of the domain name and a proxy email address, phone number and postal address for the proxy Registrant's contact information;
  2. \r\n
  3. A proxy postal address and phone number for the domain name registration's technical contact;
  4. \r\n
  5. A proxy email address, postal address and phone number for the domain name registration's administrative contact;
  6. \r\n
  7. A proxy email address, postal address and phone number for the domain's name registration's billing contact;
  8. \r\n
  9. The primary and secondary domain name servers You designate for the domain name;
  10. \r\n
  11. The domain name's original date of registration and expiration date of the registration; and
  12. \r\n
  13. The identity of the Registrar.
  14. \r\n
\r\n

2. full benefits of domain registration retained by you

\r\n

Although DBP will show in the \"Whois\" directory as the Registrant of each domain name registration You designate, You will retain the full benefits of domain name registration with respect to each such domain name registration, including, subject to Section 4 below:

\r\n
    \r\n
  1. The right to sell, transfer or assign each domain name registration, which shall require cancellation of the DBP services associated with each such domain name registration;
  2. \r\n
  3. The right to control the use of each domain name registration, including designating the primary and secondary domain name servers to which each domain name points;
  4. \r\n
  5. The right to cancel each domain name registration;
  6. \r\n
  7. The right to cancel the DBP services associated with each domain name registration and/or Your privacy services with DBP so that Your contract information is listed in the \"Whois\" directory; and
  8. \r\n
  9. The right to renew each domain name registration upon its expiration, subject to Your Registrar's applicable rules and policies.
  10. \r\n
\r\n

3. PERSONAL INFORMATION AND your notification obligations; representation and warranties; ACCOUNT SECURITY

\r\n

Personal Information and Your Notification Obligations 

\r\n

You agree that for each domain name for which you use DBP services, You will provide accurate and current information as to:

\r\n
    \r\n
  1. Your name, the email address, postal address, phone and fax numbers for the domain name registration's Registrant contact;
  2. \r\n
  3. The email address, postal address, phone and fax numbers for the domain name registration's technical contact;
  4. \r\n
  5. The email address, postal address, phone and fax numbers for the domain name registration's administrative contact;
  6. \r\n
  7. The email address, postal address, phone and fax numbers for the domain name registration's billing contact; and
  8. \r\n
  9. You agree to provide government issued photo identification and/or government issued business identification as required for verification of identity when requested.
  10. \r\n
\r\n

You agree to:

\r\n
    \r\n
  1. Notify DBP within three (3) calendar days when any of the personal information You provided upon subscribing to DBP's services, changes;
  2. \r\n
  3. Respond within three (3) calendar days to any inquiries made by DBP to determine the validity of personal information provided by You; and
  4. \r\n
  5. Timely respond to email messages DBP sends to You regarding correspondence DBP has received that is either addressed to or involves You and/or Your domain name registration, as more fully set forth in Section 5(c) below.
  6. \r\n
  7. To allow DBP to act as your Designated Agent (as that term is defined below) in instances when DBP services are added to or cancelled from your domain name and for the purpose of facilitating a change of registrant request (as further described below). 
  8. \r\n
\r\n

It is Your responsibility to keep Your personal information current and accurate at all times.

\r\n

Renewals

\r\n

You agree DBP will arrange for Your Registrar to charge the credit card You have on file with the Registrar, at the Registrar's then current rates.

\r\n

If for any reason DBP and/or the Registrar for Your domain name is unable to charge Your credit card for the full amount of the service provided, or if DBP and/or the Registrar is charged back for any fee it previously charged to the credit card You provided, You agree that DBP and/or the Registrar may, without notice to You, pursue all available remedies in order to obtain payment, including but not limited to immediate cancellation of all services DBP provides to You.

\r\n

Representations and Warranties

\r\n

You warrant that all information provided by You to DBP is truthful, complete, current and accurate. You also warrant that You are using DBP's private registration services in good faith and You have no knowledge of Your domain name infringing upon or conflicting with the legal rights of a third party or a third party's trademark or trade name. You also warrant the domain name being registered by DBP on Your behalf will not be used in connection with any illegal activity, or in connection with the transmission of Spam, or that contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable or, disrupting, damaging or limiting the functionality of any software or hardware.

\r\n

Account Security

\r\n

You agree You are entirely responsible for maintaining the confidentiality of Your customer number/login ID and password (\"Account Access Information\").  You agree to notify DBP immediately of any unauthorized use of Your account or any other breach of security.  You agree DBP will not be liable for any loss that You may incur as a result of someone else using Your Account Access Information, either with or without Your knowledge.  You further agree You could be held liable for losses incurred by DBP or another party due to someone else using Your Account Access Information.  For security purposes, You should keep Account Access Information in a secure location and take precautions to prevent others from gaining access to Your Account Access Information.  You agree that You are entirely responsible for all activity in Your account, whether initiated by You, or by others.  DBP specifically disclaims liability for any activity in Your account, regardless of whether You authorized the activity.

\r\n

Designated Agency and Change of Registrant Information

\r\n

“DESIGNATED AGENT” MEANS AN INDIVIDUAL OR ENTITY THAT THE PRIOR REGISTRANT OR NEW REGISTRANT EXPLICITLY AUTHORIZES TO APPROVE A CHANGE OF REGISTRANT REQUEST ON ITS BEHALF.  IN THE CASE OF DBP SERVICES, A CHANGE OF REGISTRANT REQUEST MAY ALSO ARISE DUE TO INSTANCES WHERE DBP SERVICES ARE ADDED, OR REMOVED, FROM A DOMAIN NAME.  FOR THE PURPOSE OF FACILITATING ANY SUCH CHANGE REQUEST, AND IN ACCORDANCE WITH ICANN'S CHANGE OF REGISTRANT POLICY, YOU AGREE TO APPOINT DBP AS YOUR DESIGNATED AGENT FOR THE SOLE PURPOSE OF EXPLICITLY CONSENTING TO MATERIAL CHANGES OF REGISTRATION CONTACT INFORMATION ON YOUR BEHALF.

\r\n

4. DBP's rights to deny, suspend, terminate service and to disclose your personal information

\r\n

You understand and agree that DBP has the absolute right and power, in its sole discretion and without any liability to You whatsoever, to:

\r\n
    \r\n
  1. Cancel the privacy service (which means that Your information will be available in the \"Whois\" directory) and/or reveal Your name and personal information that You provided to DBP:  
    A. When required by law, in the good faith belief that such action is necessary in order to conform to the edicts of the law or in the interest of public safety;
    B. To comply with legal process served upon DBP or in response to a reasonable threat of litigation against DBP (as determined by DBP in its sole and absolute discretion); or
    C. To comply with ICANN rules, policies, or procedures.
  2. \r\n
  3. Resolve any and all third party claims, whether threatened or made, arising out of Your use of a domain name for which DBP is the registrant listed in the \"Whois\" directory on Your behalf; or
  4. \r\n
  5. Take any other action DBP deems necessary:
    A. In the event you breach any provision of this Agreement or the DBP Anti-Spam Policy;
    B. To protect the integrity and stability of, and to comply with registration requirements, terms, conditions and policies of, the applicable domain name Registry and/or Registry Provider;
        C. To comply with any applicable laws, government rules or requirements, subpoenas, court orders or requests of law enforcement; 
    D. To comply with ICANN's Dispute Resolution Policy or ICANN's Change of Registrant Policy;
    E. To avoid any financial loss or legal liability (civil or criminal) on the part of DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, officers, directors and employees;
    F. If the domain name for which DBP is the registrant on Your behalf violates or infringes a third party's trademark, trade name or other legal rights; and
    G. If it comes to DBP's attention that You are using DBP's services in a manner (as determined by DBP in its sole and absolute discretion) that:
  6. \r\n
\r\n
\r\n
    \r\n
  • Is illegal, or promotes or encourages illegal activity;
  • \r\n
  • Promotes, encourages or engages in child pornography or the exploitation of children;
  • \r\n
  • Promotes, encourages or engages in terrorism, violence against people, animals, or property;
  • \r\n
  • Promotes, encourages or engages in any spam or other unsolicited bulk email, or computer or network hacking or cracking;
  • \r\n
  • Violates the Ryan Haight Online Pharmacy Consumer Protection Act of 2008 or similar legislation, or promotes, encourages or engages in the sale or distribution of prescription medication without a valid prescription;  
  • \r\n
  • Infringes on the intellectual property rights of another User or any other person or entity;
  • \r\n
  • Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity;
  • \r\n
  • Interferes with the operation of DBP services;
  • \r\n
  • Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; or
  • \r\n
  • Contains false or deceptive language, or unsubstantiated or comparative claims, regarding DBP or its services.
  • \r\n
\r\n
\r\n

You further understand and agree that if DBP is named as a defendant in, or investigated in anticipation of, any legal or administrative proceeding arising out of Your domain name registration or Your use of DBP's services, Your private registration service may be canceled, which means the domain name registration will revert back to You and Your identity will therefore be revealed in the Whois directory as Registrant.

\r\n

In the event:

\r\n
    \r\n
  1. DBP takes any of the actions set forth in subsection i, ii, or iii above or section 5; and/or
  2. \r\n
  3. You elect to cancel DBP's services for any reason --
  4. \r\n
\r\n

Neither DBP nor your Registrar will refund any fees paid by You whatsoever.

\r\n

5. communications forwarding

\r\n

a. Correspondence Forwarding

\r\n

Inasmuch as DBP's name, postal address and phone number will be listed in the Whois directory, You agree DBP will review and forward communications addressed to Your domain name that are received via email, certified or traceable courier mail (such as UPS, FedEx, or DHL), or first class U.S. postal mail. You specifically acknowledge DBP will not forward to You first class postal mail (other than legal notices), \"junk\" mail or other unsolicited communications (whether delivered through email, fax, postal mail or telephone), and You further authorize DBP to either discard all such communications or return all such communications to sender unopened. You agree to waive any and all claims arising from Your failure to receive communications directed to Your domain name but not forwarded to You by DBP.

\r\n

b. Email Forwarding

\r\n

The Whois directory requires an email address for every purchased domain name registration. When You purchase a private domain registration, DBP creates a private email address for that domain name, \"@domainsbyproxy.com\". Thereafter, when messages are sent to that private email address, DBP handles them according to the email preference You selected for that particular domain name. You have three (3) email preferences from which to choose. You can elect to:

\r\n
    \r\n
  1. Have all of the messages forwarded;
  2. \r\n
  3. Have all of the messages filtered for Spam and then forwarded; or
  4. \r\n
  5. Have none of the messages forwarded.
  6. \r\n
\r\n

As with all communications, You agree to waive any and all claims arising from Your failure to receive email directed to Your domain name but not forwarded to You by DBP.

\r\n

c. Notifications Regarding Correspondence and Your Obligation to Respond

\r\n

When DBP receives certified or traceable courier mail or legal notices addressed to Your domain name, in most cases, DBP will attempt to forward the mail to you via email. If You do not respond to the DBP email and/or the correspondence DBP has received regarding Your domain name registration concerns a dispute of any kind or otherwise requires immediate disposition, DBP may immediately reveal Your identity and/or cancel the DBP private registration service regarding either the domain name registration(s) in question. This means the Whois directory will revert to displaying Your name, postal address, email address and phone number that you provided to DBP.

\r\n

d. Additional Administrative Fees

\r\n

DBP reserves the right to charge You reasonable \"administrative fees\" or \"processing fees\" for (i)  tasks DBP may perform outside the normal scope of its Services, (ii) additional time and/or costs DBP may incur in providing its Services, and/or (iii) Your non-compliance with the Agreement (as determined by DBP in its sole and absolute discretion). Typical administrative or processing fee scenarios include, but are not limited to, (i) customer service issues that require additional personal time and attention; (ii) disputes that require accounting or legal services, whether performed by DBP staff or by outside firms retained by DBP; (iii) recouping any and all costs and fees, including the cost of Services, incurred by DBP as the result of chargebacks or other payment disputes brought by You, Your bank or Payment Method processor.  These administrative fees or processing fees will be billed to the Payment Method You have on file with Your Registrar.

\r\n

You agree to waive the right to trial by jury in any proceeding that takes place relating to or arising out of this Agreement.

\r\n

6. limitations of liability

\r\n

UNDER NO CIRCUMSTANCES SHALL DBP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER RELATED TO THIS AGREEMENT, YOUR DOMAIN NAME REGISTRATION, DBP'S SERVICES, USE OR INABILITY TO USE THE DBP WEBSITE OR THE MATERIALS AND CONTENT OF THE WEBSITE OR ANY OTHER WEBSITES LINKED TO THE DBP WEBSITE OR YOUR PROVISION OF ANY PERSONALLY IDENTIFIABLE INFORMATION TO DBP OR ANY THIRD PARTY. THIS LIMITATION APPLIES REGARDLESS OF WHETHER THE ALLEGED LIABILITY IS BASED ON CONTRACT, TORT, WARRANTY, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER BASIS, EVEN IF DBP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR SUCH DAMAGES WERE REASONABLY FORESEEABLE. BECAUSE CERTAIN JURISDICTIONS DO NOT PERMIT THE LIMITATION OR ELIMINATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, DBP'S LIABILITY IN SUCH JURISDICTIONS SHALL BE LIMITED TO THE SMALLEST AMOUNT PERMITTED BY LAW.

\r\n

YOU FURTHER UNDERSTAND AND AGREE THAT DBP DISCLAIMS ANY LOSS OR LIABILITY RESULTING FROM:

\r\n
    \r\n
  1. THE INADVERTENT DISCLOSURE OR THEFT OF YOUR PERSONAL INFORMATION;
  2. \r\n
  3. ACCESS DELAYS OR INTERRUPTIONS TO OUR WEBSITE OR THE WEBSITES OF OUR AFFILIATED REGISTRARS;
  4. \r\n
  5. DATA NON-DELIVERY OF MIS-DELIVERY BETWEEN YOU AND DBP;
  6. \r\n
  7. THE FAILURE FOR WHATEVER REASON TO RENEW A PRIVATE DOMAIN NAME REGISTRATION;
  8. \r\n
  9. THE UNAUTHORIZED USE OF YOUR DBP ACCOUNT OR ANY OF DBP'S SERVICES;
  10. \r\n
  11. ERRORS, OMISSIONS OR MISSTATEMENTS BY DBP;
  12. \r\n
  13. DELETION OF, FAILURE TO STORE, FAILURE TO PROCESS OR ACT UPON EMAIL MESSAGES FORWARDED TO EITHER YOU OR YOUR PRIVATE DOMAIN NAME REGISTRATION;
  14. \r\n
  15. PROCESSING OF UPDATED INFORMATION REGARDING YOUR DBP ACCOUNT; AND/OR
  16. \r\n
  17. ANY ACT OR OMISSION CAUSED BY YOU OR YOUR AGENTS (WHETHER AUTHORIZED BY YOU OR NOT).
  18. \r\n
\r\n

7. indemnity

\r\n

You agree to release, defend, indemnify and hold harmless DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, directors, officers and employees and Your Registrar, from and against any and all claims, demands, liabilities, losses, damages or costs, including reasonable attorneys' fees, arising out of or related in any way to this Agreement, the services provided hereunder by DBP, the DBP website, Your account with DBP, Your use of Your domain name registration, and/or disputes arising in connection with the dispute policy.

\r\n

8. DBP warranty disclaimer

\r\n

DBP, ITS PARENT COMPANIES, SUBSIDIARIES, AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, OFFICERS, AND EMPLOYEES EXPRESSLY DISCLAIM ALL REPRESENTATIONS AND WARRANTIES OF ANY KIND IN CONNECTION WITH THIS AGREEMENT, THE SERVICE PROVIDED HEREUNDER, THE DBP WEBSITE OR ANY WEBSITES LINKED TO THE DBP WEBSITE, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL DBP SERVICES, AS WELL AS THE DBP WEBSITE, ARE PROVIDED \"AS IS\". YOUR SUBSCRIPTION TO AND USE OF DBP'S SERVICES AND ITS WEBSITE ARE ENTIRELY AT YOUR RISK. SOME JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES, IN WHICH EVENT THE FOREGOING DISCLAIMER MAY NOT APPLY TO YOU.

\r\n

9. copyright and trademark

\r\n

You understand and agree that all content and materials contained in this Agreement, the Privacy Policy and the DBP website found here , are protected by the various copyright, patent, trademark, service mark and trade secret laws of the United States, as well as any other applicable proprietary rights and laws, and that DBP expressly reserves its rights in and to all such content and materials.

\r\n

You further understand and agree You are prohibited from using, in any manner whatsoever, any of the afore-described content and materials without the express written permission of DBP. No license or right under any copyright, patent, trademark, service mark or other proprietary right or license is granted to You or conferred upon You by this Agreement or otherwise.

\r\n

10. miscellaneous provisions

\r\n

a. Severability; Construction; Entire Agreement

\r\n

If any part of this Agreement shall be held to be illegal, unenforceable or invalid, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, enforceable and valid, and the legality, enforceability and validity of the remaining provisions of this Agreement shall not be affected or impaired. The headings herein will not be considered a part of this Agreement. You agree this Agreement, including the policies it incorporates by reference, constitute the complete and only Agreement between You and DBP regarding the services contemplated herein.

\r\n

b. Governing Law; Venue; Waiver Of Trial By Jury

\r\n

This Agreement shall be governed in all respects by the laws and judicial decisions of Maricopa County, Arizona, excluding its conflicts of laws rules. Except as provided immediately below, You agree that any action relating to or arising out of this Agreement, shall be brought exclusively in the courts of Maricopa County, Arizona. For the adjudication of domain name registration disputes, you agree to submit to the exclusive jurisdiction and venue of the U.S. District Court for the District of Arizona located in Phoenix, Arizona. You agree to waive the right to trial by jury in any proceeding, regardless of venue, that takes place relating to or arising out of this Agreement.

\r\n

c. Notices

\r\n

All notices from DBP to You will be sent to the email address You provided to DBP. Notices by email shall be deemed effective twenty-four (24) hours after the email is sent by DBP, unless DBP receives notice that the email address is invalid, in which event DBP may give You notice via first class or certified mail, return receipt requested. All notices from You to DBP shall be sent via certified mail, return receipt requested or traceable courier to:

\r\n
      Domains By Proxy, LLC
      Attn: General Counsel
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

Notices sent via certified mail or traceable courier shall be deemed effective five (5) days after the date of mailing.

\r\n

d. Insurance

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's negligent actions (and absent fraud or other negligent or willful misconduct committed by a third party), You may be insured against such loss through DBP's Professional Liability Insurance Policy, which is currently underwritten by American International Insurance Company. Of course, every claim is subject to the then-carrier's investigation into the facts and circumstances surrounding such claim. In the event You have reason to believe that circumstances exist which warrant the filing of an insurance claim, please send a written notice (specifying the basis for such claim), via certified mail, return receipt requested, to:

\r\n
      Domains By Proxy, LLC
      Attn: Insurance Claims
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

e. Indemnification

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's willful misconduct, Your Registrar (the \"Indemnifying Party\") will indemnify and hold You harmless against any losses, damages or costs (including reasonable attorneys' fees) resulting from any claim, action, proceeding, suit or demand arising out of or related to the loss of Your domain name registration. Such indemnification obligations under this Section 10(e) are conditioned upon the following:

\r\n
    \r\n
  1. That You promptly give both DBP and the Indemnifying Party written notice of the claim, demand, or action and provide reasonable assistance to the Indemnifying Party, at its cost and expense, in connection therewith, and
  2. \r\n
  3. That the Indemnifying Party has the right, at its option, to control and direct the defense to any settlement of such claim, demand, or action.
  4. \r\n
\r\n

Any notice concerning indemnification shall, with respect to DBP, be sent in accordance with Section 10(c) of this Agreement. With respect to Your Registrar, notices regarding indemnification should be sent in accordance with the notification provisions contained in Your Registrar's Domain Name Registration Agreement.

\r\n

f. Term of Agreement; Survival

\r\n

The terms of this Agreement shall continue in full force and effect as long as DBP is the Registrant for any domain name on Your behalf. Sections 5 (Communications Forwarding), 6 (Limitation of Liability), 7 (Indemnity), 8 (Warranty Disclaimer) and 10 (Miscellaneous Provisions) shall survive any termination or expiration of this Agreement.

\n
\n
\n\nRevised: 10/25/17
\nCopyright © 2003-2017 All Rights Reserved.\n
\n
\n
", - "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=domain_nameproxy&pl_id=510456" - } - ] - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "in", + "api-version": "2018-02-01", + "agreementOption": { + "includePrivacy": true, + "forTransfer": false } -} \ No newline at end of file + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "agreementKey": "DNRA", + "title": "Domain Name Registration Agreement", + "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Registration Agreement\n
\n

Last Revised: October 6, 2017

\n

PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.

\r\n

1. OVERVIEW

\r\n

This Domain Name Registration Agreement (this \"Agreement\") is entered into by and between 510456, an individual (\"Azure\") and you, and is made effective as of the date of electronic acceptance.  This Agreement sets forth the terms and conditions of your use of Azure's Domain Name Registration services (the \"Domain Name Registration Services\" or the \"Services\"). The terms \"we\", \"us\" or \"our\" shall refer to Azure.  The terms \"you\", \"your\", \"User\" or \"customer\" shall refer to any individual or entity who accepts this Agreement.  Unless otherwise specified, nothing in this Agreement shall be deemed to confer any third-party rights or benefits.

\r\n

Your electronic acceptance of this Agreement signifies that you have read, understand, acknowledge and agree to be bound by this Agreement, which incorporates by reference each of (i) Azure’s Universal Terms of Service Agreement (\"UTOS\"), (ii) all agreements, guidelines, policies, practices, procedures, registration requirements or operational standards of the top-level domain (\"TLD\") in which you register any domain (“Registry Policies”), and (iii) any plan limits, product disclaimers or other restrictions presented to you on the Domain Name Registration Services landing page of the Azure website (this “Site”). 

\r\n

TO LINK TO AND REVIEW THE REGISTRY POLICIES FOR THE TLD IN WHICH YOU WISH TO REGISTER A DOMAIN NAME, PLEASE CLICK HERE   

\r\n

You acknowledge and agree that (i) Azure, in its sole and absolute discretion, may change or modify this Agreement, and any policies or agreements which are incorporated herein, at any time, and such changes or modifications shall be effective immediately upon posting to this Site, and (ii) your use of this Site or the Services found at this Site after such changes or modifications have been made shall constitute your acceptance of this Agreement as last revised.  If you do not agree to be bound by this Agreement as last revised, do not use (or continue to use) this Site or the Services found at this Site.  In addition, Azure may occasionally notify you of changes or modifications to this Agreement by email.  It is therefore very important that you keep your shopper account (“Shopper Account”) information, including your email address, current.  Azure assumes no liability or responsibility for your failure to receive an email notification if such failure results from an inaccurate or out-of-date email address.    Azure is not an Internet Corporation for Assigned Names and Numbers (\"ICANN\") accredited registrar; it is an authorized reseller of domain name registration services.  Accordingly, you acknowledge and agree that Azure may modify this Agreement in order to comply with any terms and conditions set forth by (i) the sponsoring registrar, (ii) ICANN, and/or (iii) the registry applicable to the TLD or country code top level domain (\"ccTLD\") in question.  As used herein, the terms \"registry\", \"Registry\", \"registry operator\" or \"Registry Operator\" shall refer to the registry applicable to the TLD or ccTLD in question.  To identify the sponsoring registrar, click here

\r\n

2. PROVISIONS SPECIFIC TO ALL REGISTRATIONS

\r\n

Unless otherwise noted, the provisions below in this Section 2 are generally applicable to all TLDs that we offer.  Special provisions specific to any TLD or ccTLD (those in addition to posted Registry Policies) are identified elsewhere below in this Agreement. 

\r\n
    \r\n
  1. \r\n
    Registry Policies. You agree to be bound by all Registry Policies (defined above in this Agreement) applicable to your domain name registration (at any level). IT IS YOUR RESPONSIBILITY TO VISIT THE APPLICABLE TLD SITE AND READ AND REVIEW ALL APPLICABLE REGISTRY POLICIES PRIOR TO YOUR REGISTRATION IN THE TLD.  REGISTRY POLICIES FOR EACH TLD CAN BE FOUND BY VISITING THE CORRESPONDING TLD LINK LISTED HERE.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator of the TLD in which the domain name registration is made is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the respective TLD. The third party beneficiary rights of the Registry Operator will survive any termination of this Agreement.    
    \r\n
  2. \r\n
  3. \r\n
    Registration Requirements.  To the extent any TLD or ccTLD requires you meet eligibility (e.g., residency for .JP, .EU, etc.), validation (e.g., DNS validation) or other authentication requirements as a condition to registering a domain name in the TLD, you agree that by submitting an application or registering or renewing your domain name, you represent and warrant that: (a) all information provided to register or renew the domain name (including all supporting documents, if any) is true, complete and correct, and is not misleading in any way, and the application is made in good faith; (b) you meet, and will continue to meet, the eligibility criteria prescribed in the Registry Policies for the applicable TLD for the duration of the domain name registration; (c) you have not previously submitted an application for the domain name with another registrar using the same eligibility criteria, and the other registrar has rejected the application (if applicable); (d) you acknowledge and agree that even if the domain name is accepted for registration, your entitlement to register the domain name may be challenged by others who claim to have an entitlement to the domain name; and (e) you acknowledge and agree that the Registry or the registrar can cancel the registration of the domain name if any of the warranties required are found to be untrue, incomplete, incorrect or misleading.
    \r\n
  4. \r\n
  5. \r\n
    Ownership.  You acknowledge and agree that registration of a domain name does not create any proprietary right for you, the registrar, or any other person in the name used as a domain name or the domain name registration and that the entry of a domain name in the Registry shall not be construed as evidence or ownership of the domain name registered as a domain name. You shall not in any way transfer or purport to transfer a proprietary right in any domain name registration or grant or purport to grant as security or in any other manner encumber or purport to encumber a domain name registration.
    \r\n
  6. \r\n
  7. \r\n
    ICANN Requirements. You agree to comply with the ICANN requirements, standards, policies, procedures, and practices for which each applicable Registry Operator has monitoring responsibility in accordance with the Registry Agreement between ICANN and itself or any other arrangement with ICANN.
    \r\n
  8. \r\n
  9. \r\n
    Indemnification of Registry.  You agree to indemnify, defend and hold harmless (within 30 days of demand) the Registry Operator and Registry Service Provider and their subcontractors, subsidiaries, affiliates, divisions, shareholders, directors, officers, employees, accountants, attorneys, insurers, agents, predecessors, successors and assigns, from and against any and all claims, demands, damages, losses, costs, expenses, causes of action or other liabilities of any kind, whether known or unknown, including reasonable legal and attorney’s fees and expenses, in any way arising out of, relating to, or otherwise in connection with the your domain name registration, including, without limitation, the use, registration, extension, renewal, deletion, and/or transfer thereof and/or the violation of any applicable terms or conditions governing the registration. You shall not enter into any settlement or compromise of any such indemnifiable claim without Registrar’s or Registry Operator’s prior written consent, which consent shall not be unreasonably withheld, and you agree that these indemnification obligations shall survive the termination or expiration of the Agreement for any reason.  IN NO EVENT SHALL THE REGISTRY OPERATOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFIT OR GOODWILL, FOR ANY MATTER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTIES, EITHER EXPRESS OR IMPLIED, ANY BREACH OF THIS AGREEMENT OR ITS INCORPORATED AGREEMENTS AND POLICIES YOUR INABILITY TO USE THE DOMAIN NAME, YOUR LOSS OF DATA OR FILES OR OTHERWISE, EVEN IF THE REGISTRY OPERATOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    \r\n
  10. \r\n
  11. \r\n
    Regulated TLDs.   For domain name registration in any “Regulated” TLD, you acknowledge and agree your registration is subject to the following additional requirements: (a) comply with all applicable laws, including those that relate to privacy, data collection, consumer protection (including in relation to misleading and deceptive conduct), fair lending, debt collection, organic farming, disclosure of data, and financial disclosures; (b) if you collect and maintain sensitive health and financial data you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  Regulated TLDs include: .games, .juegos, .school, .schule, .toys, .eco, .care, .diet, .fitness, .health, .clinic, .dental, .healthcare, .capital, .cash, .broker, .claims, .exchange, .finance, .financial, .fund, .investments, .lease, .loans, .market, .money, .trading, .credit, .insure, .tax, .mortgage, .degree, .mba, .audio, .book, .broadway, .film, .movie, .music, .software, .fashion, .video, .app, .art, .band, .cloud, .data, .digital, .fan, .free, .gratis, .discount, .sale, .media, .news, .online, .pictures, .radio, .show, .theater, .tours, .accountants, .architect, .associates, .broker, .legal, .realty, .vet, .engineering, .law, .limited, .show; .theater; .town, .city, .reise, and .reisen
    \r\n
  12. \r\n
  13. \r\n
    Highly Regulated TLDs. In addition to the requirements for Regulated TLDs, domain name registration in any Highly-Regulated TLD is subject to the following requirements: (a) you will provide administrative contact information, which must be kept up‐to‐date, for the notification of complaints or reports of registration abuse, as well as the contact details of the relevant regulatory, or Industry self‐regulatory, bodies in their main place of business; (b) you represent that you possess any necessary authorizations, charters, licenses and/or other related credentials for participation in the sector associated with such Highly‐regulated TLD; and (c) you will report any material changes to the validity of you authorizations, charters, licenses and/or other related credentials for participation in the sector associated with the Highly‐regulated TLD to ensure you continue to conform to the appropriate regulations and licensing requirements and generally conduct your activities in the interests of the consumers they serve.  Highly Regulated TLDs include: .abogado, .attorney, .bank, .bet, .bingo, .casino .charity (and IDN equivalent xn--30rr7y), .cpa, .corp, creditcard, .creditunion .dds, .dentist, .doctor, .fail, .gmbh, .gripe, .hospital, .inc, .insurance, .lawyer, .lifeinsurance, .llc, .llp, .ltda, .medical, .mutuelle, .pharmacy, .poker, .university, .sarl, .spreadbetting, .srl, .sucks, .surgery .university, .vermogensberater, .vesicherung,  and .wtf.  For .doctor, registrants who hold themselves out to be licensed medical practitioners must be able to demonstrate to the Registrar and Registry, upon request, that they hold the applicable license.
    \r\n
  14. \r\n
  15. \r\n
    Special Safeguard TLDs.  In addition to the requirements for Regulated and Highly-Regulated TLDs, by registering a domain name in any “Special-Safeguard” TLD, you agree to take reasonable steps to avoid misrepresenting or falsely implying that you or your business is affiliated with, sponsored or endorsed by one or more country's or government's military forces if such affiliation, sponsorship or endorsement does not exist.  Special Safeguard TLDs include:  .army, .navy, .airforce
    \r\n
  16. \r\n
  17. \r\n
    Third Party Beneficiary.  Notwithstanding anything in this Agreement to the contrary, the Registry Operator for any TLD in which your register a domain name is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the TLD. Third party beneficiary rights of the Registry Operator shall survive any termination of this Agreement.
    \r\n
  18. \r\n
  19. \r\n
    Variable and Non-Uniform Pricing.  You acknowledge, understand and agree that certain domain names in certain TLDs are established by Registry Policies to be variably priced (i.e., standard v. premium names) and/or may have non-uniform renewal registration pricing (such that the Fee for a domain name registration renewal may differ from other domain names in the same TLD, e.g., renewal registration for one domain may be $100.00 and $33.00 for a different domain name).
    \r\n
  20. \r\n
  21. \r\n
    Restriction on Availability of Privacy or Proxy.  You acknowledge and agree that, as dictated by the Registry Policies, for certain TLDs you may not be permitted to purchase private or proxy TLD registrations. In such case, you must register for any and all TLD registrations using your personal information, which information you represent and warrant is current, accurate and complete.
    \r\n
  22. \r\n
\r\n

3. FEES AND PAYMENTS

\r\n

(A) GENERAL TERMS, INCLUDING AUTOMATIC RENEWAL TERMS

\r\n

You agree to pay any and all prices and fees due for Services purchased or obtained at this Site at the time you order the Services.  Azure expressly reserves the right to change or modify its prices and fees at any time, and such changes or modifications shall be posted online at this Site and effective immediately without need for further notice to you.  If you have purchased or obtained Services for a period of months or years, changes or modifications in prices and fees shall be effective when the Services in question come up for renewal as further described below. 

\r\n

Unless otherwise specifically noted (for reasons such as those highlighted in Section 2(x) above), the renewal price for any domain name in any TLD will be the same as the list (non-sale) price shown when you search for and select a domain, and again in the cart prior to purchase.  For example, if the list price is $9.99, and a different renewal price is not specifically identified, then the renewal price is also $9.99.  Likewise, if a domain name has a sale price of $8.99, with the list (non-sale) price shown (as a strike-through) at $9.99, the renewal price will be $9.99*.  

\r\n

*Renewal price subject to change prior to actual date of renewal. 

\r\n

For all other terms and conditions relating to fees, payment, refund and billing, etc. applicable to the Services offered under the scope of this Agreement, please refer to the “Fees and Payments” section of our UTOS

\r\n

(B) DOMAIN NAME RENEWAL TERMS

\r\n

When you register a domain name, you will have two renewal options: (i) \"Automatic Renewal\" (ii) \"Extended Automatic Renewal\", and (iii) \"Manual Renewal\": 

\r\n
    \r\n
  1. Automatic Renewal.  Automatic Renewal is the default setting. Therefore, unless you select Extended Automatic Renewal, Azure will enroll you in Automatic Renewal.  Domain names will automatically renew, for a period equivalent to the length of your original domain name registration, any domain name that is up for renewal and will take payment from the Payment Method you have on file with Azure, at Azure's then current rates. Thus, if you have chosen to register your domain name for one (1) year, Azure will automatically renew it for one (1) year. If you have chosen to register your domain name for two (2) years, Azure will automatically renew it for two (2) years, and so on.
  2. \r\n
  3. Extended Automatic Renewal.  If you enroll in the Extended Automatic Renewal plan, Azure will automatically renew any domain name that is up for renewal for an additional one-year period on each and every anniversary of your domain name registration, so the initial registration period will always remain intact.  Thus, if you have chosen to register your domain name for two (2) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your two (2) year registration period will always remain intact. If you have chosen to register your domain name for five (5) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your five (5) year registration period will always remain intact, and so on.  Azure will take payment from the Payment Method you have on file with Azure, at Azure's then current one-year domain name registration rate.
  4. \r\n
  5. Manual Renewal.  If you have elected to turn off automatic renewal and cancel the product (i.e., cancel the domain name registration) effective at expiration of the then current term, you may nonetheless elect to manually renew the domain name at anytime prior to its expiration date by logging into your Account Manager and manually implementing the renewal or by calling customer service (should you in fact want the domain name to be renewed). If you fail to manually implement the renewal before the expiration date, the domain name will be cancelled and you will no longer have use of that name.
  6. \r\n
\r\n

All renewals will be subject to the terms of this Agreement, as it may be amended from time to time, and you acknowledge and agree to be bound by the terms of this Agreement (as amended) for all renewed domains.  Domain name renewals will be non-refundable. In the event that we are unable to automatically renew your domain name for the renewal option selected for any reason, we may automatically renew your domain name for a period less than your original registration period to the extent necessary for the transaction to succeed. If for any reason Azure is not able to take the payment from the Payment Method you have on file, and you fail to respond to our notices, your domain name registration will expire. It is your responsibility to keep your Payment Method information current, which includes the expiration date if you are using a credit card.

\r\n

For certain ccTLDs (.am, .at, .be, .br, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal billing will occur on the first day of the month prior to the month of expiration.

\r\n

For certain ccTLDs (.am, .at, .be, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg), renewal will occur, or must occur manually if the product was previously cancelled, no later than the 20th of the month prior to the expiration date, or your domain name will be placed in non-renewal status. For some ccTLDs (.es) renewal must be processed no later than seven days before the expiration date, or your domain name will be placed in non-renewal status.  When the domain name is in non-renewal status, you can renew the domain name only by calling Azure and requesting that the domain name be renewed. You cannot renew the domain name through your Account Manager. If you fail to manually implement the renewal of any cancelled product before the expiration date, the domain name will be cancelled and you will no longer have use of that name.

\r\n

You agree that Azure will not be responsible for cancelled domain names that you fail to renew in the timeframes indicated in this Agreement. In any case, if you fail to renew your domain name in a timely fashion, additional charges may apply. If you signed up for privacy services, protected registration, or any other similar service, with your domain name registration, these services will automatically be renewed when your domain name registration is up for renewal, and you will incur the applicable additional renewal fee unless you cancel in advance. 

\r\n

If you fail to renew your domain name in the timeframes indicated in this Agreement, you agree that Azure may, in its sole discretion, renew your expired domain name on your behalf. If Azure decides to renew your expired domain name on your behalf, you will have a Renewal Grace Period during which you may reimburse Azure for the renewal and keep your domain name. The Renewal Grace Period is currently twelve (12) days but subject to change under the terms of this Agreement. For certain ccTLDs (.am, .at, .be, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk, and .vg) there is no Renewal Grace Period after the expiration date of the domain name. If you do not reimburse Azure for the renewal during the Renewal Grace Period your domain name will be placed on Hold and flagged for deletion after which you will have a 30-day redemption period during which you may pay Azure a Redemption fee and redeem your domain name. The Redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the 30-day redemption period Azure may, in its sole discretion, delete your domain name or transfer it to another registrant on your behalf.  During the redemption period your domain name may be parked. 

\r\n

If your domain name is deleted, the Registry also provides a 30-day Redemption Grace Period during which you may pay Azure a redemption fee and redeem your domain name. The redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the Registry's Redemption Grace Period the Registry will release your name and it will become available for registration on a first-come-first-served basis.

\r\n

Renewal Grace Periods and Redemption Grace Periods vary for different ccTLDs. Please refer to the specific terms for the applicable TLD. In the event there is a conflict between the provisions of this paragraph and the ccTLD terms, the ccTLD terms shall control.

\r\n

\r\n

Our registration expiration notification policy and associated fees are described here.

\r\n

\r\n

\r\n

(C) FREE PRODUCT TERMS

\r\n

In the event you are provided with free products with the registration of a domain name, you acknowledge and agree that such free products will only be available with a valid purchase and may be terminated in the event the domain name is deleted or cancelled.  For free domain names, you acknowledge and agree that you may not change the account associated with such free domain for the first five (5) days after registration.  In the event a free domain name is offered with the registration of another domain and if the paid domain name registered fails, then we may, in its sole discretion, either delete the registration of the free domain or refund the difference between the amount paid and the value of the free domain.  Failed registrations associated with promotionals offers may result in the deletion of the free or discounted item or an adjustment between the registered domain price and the value of the discounted item, in our sole discretion.

\r\n

4. TERM OF AGREEMENT; TRANSFERS; DOMAIN TASTING

\r\n

The term of this Agreement shall continue in full force and effect as long as you have any domain name registered through Azure.

\r\n

You agree that you will not transfer any domain name registered through Azure to another domain name registrar during the first sixty (60) days after its initial registration date.  You agree that you may not transfer any domain name for ten (10) days after a Change of Account.

\r\n

You further agree that you will not engage in \"domain tasting\" by using the five (5) day grace period in which a registrant may choose to cancel a domain name and get a full refund of the registration fee as a vehicle to test the marketability or viability of a domain name.  If Azure determines (which determination shall be made by Azure in its sole and absolute discretion) that you have been engaging in \"domain tasting\", then Azure reserves the right to (a) charge you a small fee (which fee shall be deducted from any refund issued) or (b) refuse your cancellation/refund request altogether. Azure will not charge you a fee if Azure cancels your domain name during the five (5) day grace period due to fraud or other activity outside of your control. The five (5) day grace period does not apply to Premium Domains, which are non-refundable.

\r\n

You agree that Azure shall not be bound by (i) any representations made by third parties who you may use to purchase services from Azure, or (ii) any statements of a general nature, which may be posted on Azure's website or contained in Azure's promotional materials.

\r\n

5. UP TO DATE INFORMATION; USE OF INFORMATION AND EXPIRATION

\r\n

You agree to notify Azure within five (5) business days when any of the information you provided as part of the application and/or registration process changes. It is your responsibility to keep this information in a current and accurate status. Failure by you, for whatever reason, to provide Azure with accurate and reliable information on an initial and continual basis, shall be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. Failure by you, for whatever reason, to respond within five (5) business days to any inquiries made by Azure to determine the validity of information provided by you, shall also be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. You agree to retain a copy for your record of the receipt for purchase of your domain name.

\r\n

You agree that for each domain name registered by you, the following contact data is required: postal address, email address, telephone number, and if available, a facsimile number for the Registered Name Holder and, if different from the Registered Name Holder, the same contact information for, a technical contact, an administrative contact and a billing contact.

\r\n

You acknowledge and agree that domain name registration requires that this contact information, in whole or in part, be shared with the registry operator, for their use, copying, distribution, publication, modification and other processing  for (among other uses in accordance with our Privacy Policy) the purpose of administration of the domain name registration, which may require such information be transferred back and forth across international borders, to and from the U.S. to the EU, for example. As required by ICANN, this information must also be made publicly available by means of Whois, and that the registry operator may also be required to make this information publicly available by Whois. Both Azure and the registry operator may be required to archive this information with a third-party escrow service. You hereby consent and give permission for all such requirements and disclosures. Further, you represent and warrant that, if you are providing information about a third party, you have notified the third party of the disclosure and the purpose for the disclosure and you have obtained the third party's consent to such disclosure.  Registrar will not process data in a way that is incompatible with this Agreement.  Registrar will take reasonable precautions to protect data from loss or misuse.

\r\n

You agree that for each domain name registered by you the following information will be made publicly available in the Whois directory as determined by ICANN Policy and may be sold in bulk as set forth in the ICANN agreement:

\r\n
    \r\n
  • The domain name;
  • \r\n
  • Your name and postal address;
  • \r\n
  • The name, email address, postal address, voice and fax numbers for technical and administrative contacts;
  • \r\n
  • The Internet protocol numbers for the primary and secondary name servers;
  • \r\n
  • The corresponding names of the name servers; and
  • \r\n
  • The original date of registration and expiration date.
  • \r\n
  • Name of primary name server and secondary name server.
  • \r\n
  • Identity of the registrar.
  • \r\n
\r\n

You agree that, to the extent permitted by ICANN, Azure may make use of the publicly available information you provided during the registration process. If you engage in the reselling of domain names you agree to provide any individuals whose personal information you've obtained, information about the possible uses of their personal information pursuant to ICANN policy. You also agree to obtain consent, and evidence of consent, from those individuals for such use of the personal information they provide.

\r\n

You agree that Azure has the right to make public and share with third parties certain information in connection with the sale or purchase of domain names on the website, including but not limited to (a) the name of the domain name sold or purchased, (b) the sale or purchase price of the domain name sold or purchased, and (c) information relating to the timing of the sale or purchase.

\r\n

\r\n

In order for us to comply with any current or future rules and policies for domain name systems including any rules or policies established by the CIRA or any provincial or federal government or by other organization having control or authority to establish rules or policies, you hereby grant to us the right to disclose to third parties through an interactive publicly accessible registration database the following information that you are required to provide when applying for a domain name:

\r\n
    \r\n
  1. The domain or sub-domain name(s) registered by you;
  2. \r\n
  3. Your organization name, type and postal address;
  4. \r\n
  5. The name(s), position(s), postal address(es), e-mail address(es), voice telephone number(s) and where available the fax number(s) of the technical and administrative contacts for your domain or sub-domain name(s);
  6. \r\n
  7. The full hostnames and Internet protocol (IP) addresses of at least two (2) name server hosts (one primary and at least one secondary) for your domain or sub-domain name. Up to six (6) name servers may be specified. If a host has more than one (1) IP address, use a comma-separated list;
  8. \r\n
  9. The corresponding names of those name servers;
  10. \r\n
  11. The original creation date of the registration; and
  12. \r\n
  13. The expiration date of the registration.
  14. \r\n
\r\n

We may be required to make this information available in bulk form to third parties. We may also transfer or assign this information to CIRA or such other third party as we may decide, in our sole discretion.

\r\n

6. DISPUTE RESOLUTION POLICY

\r\n

You agree to be bound by our current Dispute Resolution Policy. This policy is incorporated herein and made a part of this Agreement. You can view the Uniform Domain Name Dispute Resolution Policy online. You agree that Azure may from time to time modify its Dispute Resolution Policy. Azure will post any changes to its Dispute Resolution Policy at least thirty (30) days before they become effective. You agree that by maintaining your domain name registrations with Azure after the updated policy becomes effective that you agree to the Dispute Resolution policy as amended. You agree to review Azure's website periodically to determine if changes have been made to the Dispute Resolution Policy. If you cancel or terminate your Services with Azure as a result of the modified Dispute Resolution policy, no fees will be refunded to you. You also agree to submit to proceedings commenced under ICANN's Uniform Rapid Suspension System, if applicable. 

\r\n

You agree that if a dispute arises as a result of one (1) or more domain names you have registered using Azure, you will indemnify, defend and hold Azure harmless as provided for in this Agreement. You also agree that if Azure is notified that a complaint has been filed with a governmental, administrative or judicial body, regarding a domain name registered by you using Azure, that Azure, in its sole discretion, may take whatever action Azure deems necessary regarding further modification, assignment of and/or control of the domain name deemed necessary to comply with the actions or requirements of the governmental, administrative or judicial body until such time as the dispute is settled. In this event you agree to hold Azure harmless for any action taken by Azure.

\r\n

You agree to submit, without prejudice to other potentially applicable jurisdictions, to the jurisdiction of the courts (1) of your domicile, (2) where registrar is located or (3) where the registry operator is located (e.g., China for .CN, Columbia for .CO, UK for .EU, etc.).

\r\n

\r\n

In the case of .ca domain names, you agree that, if your use of the service or the registration of a .ca domain name is challenged by a third party, you will be subject to the provisions specified by CIRA in their dispute resolution policy, in effect at the time of the dispute.

\r\n

\r\n

7. TRANSFER OF DOMAIN NAMES; RESALE PRACTICES

\r\n

If you transfer any domain name, you agree to provide the information required by, and to abide by, the procedures and conditions set forth in our Domain Name Transfer Agreement and Change of Registrant Agreement. You may view the latest versions of our Domain Name Transfer Agreement and Change of Registrant Agreementonline. In order to further protect your domain name, any domain name registered with Azure or transferred to Azure shall be placed on lock status, unless an opted-out has occurred as defined in our Change of Registrant Agreement or Domain Name Proxy Agreement. The domain name must be placed on unlock status in order to initiate a transfer of the domain name away from Azure to a new Registrar. You may log into your account with Azure at any time after your domain name has been successfully transferred to Azure, and change the status to unlock.

\r\n

In the event you are purchasing a domain name on behalf of a third party, you agree to inform any customer of yours, who may be acquiring a domain name through you using Azure's registration services, that they are in fact registering their domain name through Azure and that Azure or its licensor is an accredited registrar with ICANN. You agree not to represent that you are an ICANN-accredited registrar or that you are in any way providing superior access to the ICANN Domain Name Registry. You also agree not to use the ICANN trademark logo in any of your promotional materials including your website.

\r\n

You agree to obtain each of your customers' acceptances to the then current version of this Agreement, and to retain evidence of their acceptance for a period of not less than three (3) years. Should you require that your customers accept additional terms and conditions that are not required by Azure, you agree that such additional terms and conditions shall not conflict with this Agreement and the policies and procedures adopted by ICANN.

\r\n

You agree that Azure is not lending you access to its registrar connections or its registry access, nor will you be deemed to be a registrar in your own right. Furthermore, you agree you will not attempt to gain access to Azure's registrar connections or registry access. You agree to provide complete, accurate and current data for each registrant to be added to a registry in accordance with ICANN requirements for inclusion in the Whois database.

\r\n

You agree to provide your customers with adequate customer support, and to maintain contact with them with regard to providing a medium for them to communicate changes in the information they provided as part of the domain name registration process. Upon receiving corrected or updated information you will, within five (5) business days, provide such information to Azure so Azure may update its registration records. You will retain copies of all communications between you and your customers and will upon request provide Azure copies of same.

\r\n

8. YOUR OBLIGATIONS; SUSPENSION OF SERVICES; BREACH OF AGREEMENT

\r\n

You represent and warrant to the best of your knowledge that, neither the registration of the domain nor the manner it is directly or indirectly used, infringes the legal rights of any third party.  You will comply with all applicable laws, including, but not limited to those relating to privacy, data collection, consumer protection, fair lending, debt collection, organic farming, and disclosure of data and financial disclosures.  If you collect and maintain sensitive health and financial data, you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.  You represent that you possess any necessary authorization, charter, license, and/or other related credential for participation in the sector associated with the associated registry tld string.  You will report any material changes to the validity of your authorization, charter, license, and/or other related credential. You will indemnify and hold harmless the registrar and registry operator, and their directors, officers, employees and agents, from and against any and all claims, damages, liabilities, costs and expenses (including reasonable legal fees and expenses) arising out of or related to the domain name registration.  This obligation shall survive expiration or termination of this Agreement or the domain name registration.

\r\n

You agree that, in addition to other events set forth in this Agreement:

\r\n
    \r\n
  1. Your ability to use any of the services provided by Azure is subject to cancellation or suspension in the event there is an unresolved breach of this Agreement and/or suspension or cancellation is required by any policy now in effect or adopted later by ICANN;
  2. \r\n
  3. Your registration of any domain names shall be subject to suspension, cancellation or transfer pursuant to any ICANN adopted specification or policy, or pursuant to any Azure procedure not inconsistent with an ICANN adopted specification or policy (a) to correct mistakes by Azure or the registry operator in registering any domain name; or (b) for the resolution of disputes concerning any domain name.
  4. \r\n
\r\n

You acknowledge and agree that Azure and registry reserve the right to deny, cancel or transfer any registration or transaction, or place any domain name(s) on registry lock, hold or similar status, as either deems necessary, in the unlimited and sole discretion of either Azure or the registry: (i) to comply with specifications adopted by any industry group generally recognized as authoritative with respect to the Internet (e.g., RFCs), (ii) to correct mistakes made by registry or any registrar in connection with a domain name registration, (iii) for the non-payment of fees to registry, (iv) to protect the integrity and stability of the registry, (v) to comply with any applicable court orders, laws, government rules or requirements, requests of law enforcement, or any dispute resolution process, (vi) to comply with any applicable ICANN rules or regulations, including without limitation, the registry agreement, (vii) to avoid any liability, civil or criminal, on the part of registry operator, as well as its affiliates, subsidiaries, officers, directors, and employees, (viii) per the terms of this Agreement, (ix) following an occurrence of any of the prohibited activities described in Section 8 below, or (x) during the resolution of a dispute.

\r\n

You agree that your failure to comply completely with the terms and conditions of this Agreement and any Azure rule or policy may be considered by Azure to be a material breach of this Agreement and Azure may provide you with notice of such breach either in writing or electronically (i.e. email). In the event you do not provide Azure with material evidence that you have not breached your obligations to Azure within ten (10) business days, Azure may terminate its relationship with you and take any remedial action available to Azure under the applicable laws. Such remedial action may be implemented without notice to you and may include, but is not limited to, cancelling the registration of any of your domain names and discontinuing any services provided by Azure to you. No fees will be refunded to you should your Services be cancelled or terminated because of a breach.

\r\n

Azure's failure to act upon or notify you of any event, which may constitute a breach, shall not relieve you from or excuse you of the fact that you have committed a breach.

\r\n

9. RESTRICTION OF SERVICES; RIGHT OF REFUSAL

\r\n

You agree not to use the services provided by Azure, or to allow or enable others, to use the services provided by Azure for the purposes of:

\r\n
    \r\n
  • The transmission of unsolicited email (Spam); and
  • \r\n
  • Repetitive, high volume inquires into any of the services provided by Azure (i.e. domain name availability, etc.).
  • \r\n
\r\n

You acknowledge and agree that you are prohibited from distributing malware, abusively operating botnets, phishing, piracy, trademark or copyright infringement, fraudulent or deceptive practices, counterfeiting or otherwise engaging in activity contrary to applicable law, and you acknowledge and agree that the consequences for such activities include suspension of the domain name.

\r\n

If you are hosting your domain name system (“DNS”) on Azure’s servers, or are using our systems to forward a domain name, URL, or otherwise to a system or site hosted elsewhere, or if you have your domain name registered with Azure, you are responsible for ensuring there is no excessive overloading on Azure’s servers. You may not use Azure’s servers and your domain name as a source, intermediary, reply to address, or destination address for mail bombs, Internet packet flooding, packet corruption, or other abusive attack. Server hacking or other perpetration of security breaches is prohibited. You agree that Azure reserves the right to deactivate your domain name from its DNS if Azure deems it is the recipient of activities caused by your site that threaten the stability of its network.

\r\n

You agree that Azure, in its sole discretion and without liability to you, may refuse to accept the registration of any domain name. Azure also may in its sole discretion and without liability to you delete the registration of any domain name during the first thirty (30) days after registration has taken place. Azure may also cancel the registration of a domain name, after thirty (30) days, if that name is being used, as determined by Azure in its sole discretion, in association with spam or morally objectionable activities. Morally objectionable activities will include, but not be limited to:

\r\n
    \r\n
  • Activities prohibited by the laws of the United States and/or foreign territories in which you conduct business;
  • \r\n
  • Activities designed to encourage unlawful behavior by others, such as hate crimes, terrorism and child pornography; and
  • \r\n
  • Activities designed to harm or use unethically minors in any way.
  • \r\n
\r\n

In the event Azure refuses a registration or deletes an existing registration during the first thirty (30) days after registration, you will receive a refund of any fees paid to Azure in connection with the registration either being cancelled or refused. In the event Azure deletes the registration of a domain name being used in association with spam or morally objectionable activities, no refund will be issued.

\r\n

10. DEFAULT SETTINGS; PARKED PAGE

\r\n

Choosing Your Domain Name Settings.  When you register a domain name with Azure, you will be prompted to choose your domain name settings during the checkout process.  If you plan on using another provider for your website or hosting needs, then you should enter the name servers of such provider when you choose your domain name settings.  This will direct your domain name away from Azure’s name servers.  If you are an existing Azure customer and have already set up a customer profile designating your domain name settings for new domain name registrations, you will not need to complete this step again during the checkout process.   

\r\n

Azure’s Default Settings.  If you do not direct your domain name away from Azure’s name servers as described above, Azure will direct your domain name to a “Parked Page” (“Default Setting”).  You acknowledge and agree that Azure has the right to set the Default Setting. 

\r\n

Parked Page Default Setting.  Azure’s Parked Page service is an online domain monetization system designed to generate revenue (through the use of pay per click advertising) from domain names that are not actively being used as websites.  If your domain name is directed to a Parked Page, you acknowledge and agree that Azure may display both (a) in-house advertising (which includes links to Azure products and services) and (b) third-party advertising (which includes links to third-party products and services) on your Parked Page through the use of pop-up or pop-under browser windows, banner advertisements, audio or video streams, or any other advertising means, and we may aggregate for our own use, related usage data by means of cookies and other similar means.  In addition, you acknowledge and agree that all in-house and third-party advertising will be selected by Azure and its advertising partners, as appropriate, and you will not be permitted to customize the advertising, or entitled to any compensation in exchange therefor.  Please note that the third-party advertising displayed on Azure’s Parked Pages may contain content offensive to you, including but not limited to links to adult content.  Azure makes no effort to edit, control, monitor, or restrict the content and third-party advertising displayed on Azure’s Parked Pages, and expressly disclaims any liability or responsibility to you or any third party in connection therewith.

\r\n

Changing Azure’s Default Settings.  You may change Azure’s Default Settings at any time during the term of your domain name registration.

\r\n
    \r\n
  1. Content Displaying On Your Parked Page.  You can not modify the content displaying on your Parked Page.  You may select one of the other options listed below.
  2. \r\n
  3. Participating In Domain Name Monetization.  If you wish to participate in the domain monetization potential presented by Azure’s Parked Page service, please review and consider purchasing our CashParking® service.   
  4. \r\n
  5. No Content.  If the options listed above are not acceptable to you, please contact customer support to learn what other options might be available to you.
  6. \r\n
\r\n

Return To Parked Page Default Setting Upon Domain Name Expiration.  Upon domain name expiration, and regardless of how you use your domain name during the term of your domain name registration, your domain name will automatically return to the Parked Page Default Setting described above.  As used in this paragraph, “expiration” is deemed to include any “renewal period” or “redemption period” immediately after the domain name expires, but before the domain name is returned to the registry.  Once your domain name has returned to the Parked Page Default Setting described above, the only way to opt out of the Parked Page service is to renew, redeem, or re-register your domain name in accordance with Section 2(B), Domain Name Renewal Terms, of this Agreement.   

\r\n

11. DOMAIN ADD-ONS

\r\n

Business Registration:  Business registration allows You to display additional information about the business that is the basis of Your domain name, including, but not limited to, such information as Your fax number, street address, and hours of operation.

\r\n

Certified Domains.  The certified domain service generally allow You to: (i) put a Certified Domain Validation seal on Your website; and (ii) have Your domain name listed as \"Certified\", in WHOIS lookups on our website.   The Certified Domain Validation seal renews independently of Your domain. When You renew Your domain, You must also, when necessary, separately renew Your Certified Validation seal. However, the Certified Domain Validation seal can be cancelled independently of Your domain. If the domain is cancelled, the Certified Domain associated with the cancelled domain will automatically cancel.  The Certified Domain seal is a trademark and is protected by copyright, trademark and other intellectual property laws. You may use the Certified Domain seal only in conjunction with the purchase of the Services set forth in the Agreement, and subject to the terms and conditions hereof. Other than provided for in this Agreement, You may not otherwise use, reproduce, or modify the mark for any additional promotional use, without our prior written approval. Your right to the use of the Certified Domain seal is immediately terminated upon expiration or termination of this Agreement.

\r\n

Expiration Consolidation.  You understand and acknowledge the expiration consolidation service may only be used to consolidate the expiration of .com and .net domain names. The service may not be used to consolidate domains that are on Registrar HOLD, Registry HOLD, or pending Transfer status. You acknowledge the service may only be used to push the expiration date of Your domains forward in time, at least one (1) month forward and no more than ten (10) years forward, and then, only for a period lasting less than twelve (12) months. Once the service has been used to consolidate domains, the new expiration date may not be reversed. To ensure the service is not abused or used as an alternative to renewals, you may only use the service on each domain once in any 12-month period. The service may only be used on domain names that have not passed their expiration date. In order to change the expiration date again, You will be required to renew the domain name first.  You further understand and acknowledge the service may only be used to coordinate domains where we are the registrar of record. Domains not registered with us must be transferred before we can perform the Service. 

\r\n

\r\n

Backordering/Monitoring.  You agree a domain name that has expired shall be subject first to a grace period of twelve (12) days, followed by the ICANN-mandated redemption grace period of thirty (30) days. During this period of time, the current domain name registrant may renew the domain name and retain ownership. We do not guarantee your backorder will result in you obtaining the domain name and expressly reserves the right to (a) refuse additional backorders or (b) cancel existing backorders at any time for any reason.  If your backorder is refused or cancelled, we agree to promptly refund any fees paid for such domain name backorder. The domain name may also be placed in a secondary market for resale through the Auctions® service.  After your first year of Auctions membership, you agree that unless otherwise advised, we will automatically renew your Auctions membership using the payment method you have on file for so long as your backorder credit is active. You may learn more about Auctions by visiting the Auctions website. The domain name may also be subject to a drop pool process before it is available for purchasing. You understand we and our registrar affiliates use our services, including backordering.  Therefore, the domain name may be registered with a different registrar, but can be managed through your account.  By using the Services, you will be able to, among other things:

\r\n
    \r\n
  1. Backorder any domain name under the top level domains .COM, .NET, .US, .BIZ, .INFO, .ORG, .MOBI. A backorder for a domain name will include the price of up to a one-year domain name registration. Should you successfully backorder any domain name, you will be subject to the terms and conditions of the Domain Name Registration and related agreements, which are incorporated herein by reference.
  2. \r\n
  3. Change your backorder until you obtain a domain name. You will have the opportunity to change the credit to a different domain name until you successfully capture one. After three (3) years, if the credit is not used, we reserves the right to remove the credit.
  4. \r\n
  5. Subscribe monthly to an expiring domain name list. You may also choose to purchase a subscription to a list of domain names expiring within the next five (5) days. If you subscribe to the expiring domain name list, you agree the payment method you have on file may be charged on a monthly subscription basis for the term of the Services you purchase.
  6. \r\n
  7. Select domain names off the expiring domain name list you would like to register. Each domain name you attempt to backorder will include the price of up to a one-year domain name registration, as set forth in subsection (i) above.
  8. \r\n
  9. Monitor your currently registered domain names for changes in registrar, status, expiration date or name servers at no additional cost.
  10. \r\n
  11. Subscribe to Domain Alert Pro or monitoring, which enables you to monitor any currently registered domain name, regardless of registrar, for historical tracking of status changes and designation of multiple email notification addresses.
  12. \r\n
\r\n

\r\n

\r\n

Transfer Validation. The transfer validation service is provided to help You keep Your domain name secure. By choosing to use the service, You are making an explicit and voluntary request to us to deny all attempts to transfer Your domain name to another registrar, or to move Your domain name to another account, unless You verify each request as described herein. You will provide us with a contact name, phone number and PIN for domain transfer validations. You will be contacted by us when a domain transfer is requested for a domain name in Your account. When we receive a transfer request, we will call You to verify the transfer request. If we cannot reach You with seventy-two (72) hours of receipt of the transfer request, the transfer will be denied. If You do not provide the proper PIN, the transfer will be denied. When we receive a change of account request, we will call You to verify the change request. If we cannot reach You with seventy-two (72) hours of receipt of the change request, the change will be denied. If You do not provide the proper PIN, the change will be denied. Availability of Services are subject to the terms and conditions of this Agreement and each of our policies and procedures. We shall use commercially reasonable efforts to attempt to provide certain portions of the Services on a twenty-four (24) hours a day, seven (7) days a week basis throughout the term of this Agreement and other portions of the service, during normal business hours. You acknowledge and agree that from time to time the Services may be inaccessible or inoperable for any reason, including, without limitation: (i) equipment malfunctions; (ii) periodic maintenance procedures or repairs that we may undertake from time to time; or (iii) causes beyond the reasonable control of us or that are not reasonably foreseeable by us, including, without limitation, interruption or failure of telecommunication or digital transmission links, hostile network attacks, network congestion or other failures. You acknowledge and agree that we has no control over the availability of the service on a continuous or uninterrupted basis.

\r\n

\r\n

12. PRE-REGISTRATIONS

\r\n

If you submit an application for pre-registration of a domain name, Azure does not guarantee that the name will be secured for you, or that you will have immediate access to the domain name if secured.  Azure may use third-party service providers for the pre-registration services.

\r\n

13. PROVISIONS SPECIFIC TO .BIZ REGISTRATIONS

\r\n

Domain Name Dispute Policy.  If you reserved or registered a .BIZ domain name through us, in addition to our Dispute Resolution Policy, you hereby acknowledge that you have read and understood and agree to be bound by the terms and conditions of the Restrictions Dispute Resolution Policy applicable to the .biz TLD.

\r\n

The RDRP sets forth the terms under which any allegation that a domain name is not used primarily for business or commercial purposes shall be enforced on a case-by-case basis by an independent ICANN-accredited dispute provider. Registry Operator will not review, monitor, or otherwise verify that any particular domain name is being used primarily for business or commercial purposes or that a domain name is being used in compliance with the SUDRP or UDRP processes.

\r\n

One Year Registration.  If you are registering a .BIZ domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .BIZ domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .BIZ domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

\r\n

14. PROVISIONS SPECIFIC TO .INFO REGISTRATIONS 

\r\n

One Year Registration.  If you are registering a .INFO domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .INFO domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .INFO domain name during the first year, you will automatically be charged the second year renewal fees.

\r\n

15. PROVISIONS SPECIFIC TO .MOBI REGISTRATIONS 

\r\n

Instant Mobilizer. You are hereby granted a personal, revocable, non-exclusive, non-transferable, non-assignable, non-sublicensable license to use the Instant Mobilizer service (“Service”), provided, however, You abide by the terms and conditions set forth. You shall not alter, modify, adapt or translate the whole or part of the Service in any way whatsoever. You may not create derivative works based on the Service. You may not rent, lease, assign, dispose of, novate, sub-license or otherwise transfer any of its rights to use the Service to any third party.  In the event that the volume of traffic to You from Your use of the Service is sufficient so as to jeopardize the provision of Service for other end users, we and our licensors reserve the right to, at its sole discretion, permanently or temporarily, discontinue Your use of the Service. For the avoidance of doubt, the volume of traffic generated by You should not exceed two thousand (2,000) page views per day.  You acknowledge and agree the text \"Instant Mobilizer from dotMobi\" or equivalent, will be inserted at the footer of Your site.  In the event a dotMobi domain to which the Service is being provided is transferred to another domain name registrar, the Service will be interrupted on that dotMobi domain, and Service will not be restored if the new registrar does not offer the Service. 

\r\n

\r\n

16. PROVISIONS SPECIFIC TO .NAME REGISTRATIONS 

\r\n

\r\n

17. PROVISIONS SPECIFIC TO .REISE REGISTRATIONS

\r\n

Domain Names registered in .REISE should be used for purposes dedicated to travel topics within six months following initial Registration, e.g. utilized on the Internet or otherwise used to perform a function.

\r\n

18. PROVISIONS SPECIFIC TO .SEXY REGISTRATIONS

\r\n

You shall not permit content unsuitable for viewing by a minor to be viewed from the main or top-level directory of a .SEXY domain name. For purposes of clarity, content viewed at the main or top-level directory of a .SEXY domain name is the content immediately visible if a user navigates to http://example.sexy or http://www.example.sexy. No restrictions apply to the content at any other page or subdirectory addressed by a .SEXY Registered Name. 

\r\n

19. COUNTRY CODE TOP LEVEL DOMAINS

\r\n

You represent and warrant that you meet the eligibility requirements of each ccTLD you apply for. You further agree to be bound by any registry rules, policies, and agreements for that particular ccTLD. These may include, but are not limited to, agreeing to indemnify the ccTLD provider, limiting the liability of the ccTLD provider, and requirements that any disputes be resolved under that particular country's laws.

\r\n

(A) PROVISIONS SPECIFIC TO .AU REGISTRATIONS 

\r\n

.au Registrations (to include com.au, net.au and org.au) are governed by the following additional terms and conditions:

\r\n

auDA. auDA means .au Domain Administration Limited ACN 079 009 340, the .au domain names administrator.  The Registrar acts as agent for auDA for the sole purpose, but only to the extent necessary, to enable auDA to receive the benefit of rights and covenants conferred to it under this Agreement. auDA is an intended third party beneficiary of this agreement.

\r\n

auDA Published Policy.  auDA Published Policies means those specifications and policies established and published by auDA from time to time at http://www.auda.org.au.  You must comply with all auDA Published Policies, as if they were incorporated into, and form part of, this Agreement. In the event of any inconsistency between any auDA Published Policy and this Agreement, then the auDA Published Policy will prevail to the extent of such inconsistency.  You acknowledge that under the auDA Published Policies: (1) there are mandatory terms and conditions that apply to all domain names; (2) licences, and such terms and conditions are incorporated into, and form part of, this Agreement; (3) You are bound by, and must submit to, the .au Dispute Resolution Policy; and (4) auDA may delete or cancel the registration of a .au domain name. 

\r\n

auDA's Liabilities and Indemnity.  To the fullest extent permitted by law, auDA will not be liable to Registrant for any direct, indirect, consequential, special, punitive or exemplary losses or damages of any kind (including, without limitation, loss of use, loss or profit, loss or corruption of data, business interruption or indirect costs) suffered by Registrant arising from, as a result of, or otherwise in connection with, any act or omission whatsoever of auDA, its employees, agents or contractors. Registrant agrees to indemnify, keep indemnified and hold auDA, its employees, agents and contractors harmless from all and any claims or liabilities, arising from, as a result of, or otherwise in connection with, Registrant's registration or use of its .au domain name. Nothing in this document is intended to exclude the operation of Trade Practices Act 1974.

\r\n

(B) PROVISIONS SPECIFIC TO .CA REGISTRATIONS

\r\n

You acknowledge and agree that registration of your selected domain name in your first application to CIRA shall not be effective until you have entered into and agreed to be bound by CIRA's Registrant Agreement.

\r\n

CIRA Certified Registrar.  The registrar shall immediately give notice to you in the event that it is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated, or the Registrar Agreement between CIRA and the Registrar is terminated or expires. CIRA may post notice of such suspension, termination, or expiry on its website and may, if CIRA deems appropriate, give notice to the registrants thereof. In the event that the registrar is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated or in the event the Registrar Agreement between CIRA and the Registrar is terminated or expires, you shall be responsible for changing your Registrar of Record to a new CIRA Certified Registrar within thirty (30) days of the earlier of notice thereof being given to you by (i) the Registrar or (ii) CIRA in accordance with CIRA's then current Registry PRP; provided, however, that if any of your domain name registrations are scheduled to expire within thirty (30) days of the giving of such notice, then you shall have thirty (30) days from the anniversary date of the registration(s), to register with a new CIRA certified registrar and to renew such domain name registration(s) in accordance with the Registry PRP.

\r\n

You acknowledge and agree that should there be insufficient funds prepaid by the registrar in the CIRA Deposit Account to be applied in payment of any fees, CIRA may in its sole discretion stop accepting applications for domain name registrations from the registrar, stop effecting registrations of domain names and transfers, renewals, modifications, and cancellations requested by the registrar and stop performing other billable transactions requested by the registrar not paid in full and CIRA may terminate the Registrar Agreement between CIRA and the Registrar.

\r\n

.CA ASCII and IDN domain variants are bundled and reserved for a single registrant.  Registrants are not required to register all variants in a bundle, but all registered variants must be registered and managed at a single registrar. Each variant registered will incur a registration fee.  In addition, when registering multiple .CA domain (ASCII and IDN) variants in a bundle, your registrant information must be identical.  If variants are registered at other registrars or if registrant information does not match, it may result in an \"unavailable\" search result, delayed or failed registration. If information does not match, validation is required and may take up to seven business days and delay availability of domain. 

\r\n

(C) PROVISIONS SPECIFIC TO .CN REGISTRATIONS 

\r\n

.CN is a restricted TLD – applications are subject to both a domain name check and real name verification as required by the People’s Republic of China.  Registrations in .CN are therefore subject to the following additional terms:

\r\n

Verification, Registration and Activation.  If a domain name is not permitted to be registered by the Chinese government, as determined by us, the Registry Operator and/or a 3rd party provider utilized for such services and determinations, in either party’s discretion, the application for registration will not be successful.  In such event, the name will be deleted and you will be eligible for a refund as further described below.

\r\n

If permitted, then the Registration may proceed, but a .CN domain name may not be activated (i.e., it will not resolve in the Internet) unless and until you have submitted (via the process described during registration) valid documents required of us and the Registry to perform real name verification.  The following are acceptable forms of documents for the purpose of verification:

\r\n
    \r\n
  • China: Resident ID, temporary resident ID, business license or organization code certificate
  • \r\n
  • Hong Kong/Macau: Resident ID, driver’s license, passport or business license
  • \r\n
  • Singapore: Driver’s license, passport or business license
  • \r\n
  • Taiwan: Resident ID, driver’s license or business license
  • \r\n
  • Other Countries/Regions: Driver’s license or passport
  • \r\n
\r\n

Documents submitted to us are used by us and shared with the Registry solely for the purpose of real name verification, and are otherwise subject to our Privacy Policy.  By registering a .CN domain, you expressly agree that your data may be stored on servers in the U.S., or otherwise outside of the People's Republic of China.

\r\n

Refunds.  Refunds for .CN Registrations will only be allowed where (i) registration of the applied for domain name is not permitted by the Chinese government; or (ii) you notify us of your intent to cancel for any reason within the first five (5) days after the Registration (i.e., after it is deemed permissible by the Chinese government).  For the avoidance of doubt, refunds will not be permitted under any circumstances after five (5) days from the date of Registration, including, for example, in the event real name verification is not successful or if the Chinese government determines after Registration that the domain name should not have been registered (and directs us to delete).

\r\n

(D) PROVISIONS SPECIFIC TO .JP REGISTRATIONS

\r\n

Registration Restrictions.  You represent and warrant that you have a local presence in Japan with a home or office address. You agree that certain domain names are reserved and can only be registered by certain parties. These include: (i) TLDs, other than ccTLDs, as determined by ICANN; (ii) geographical-type .JP domain names that are defined as metropolitan, prefectural, and municipal labels; (iii) names of primary and secondary educational organizations; (iv) names of organizations related to Internet management; (v) names required for .JP domain name operations; and (vi) character strings which may be confused with ASCII-converted Japanese domain names. The complete list of .JP Reserved Domains is available here

\r\n

20. ENGLISH LANGUAGE CONTROLS

\r\n

This Agreement, along with all policies and the applicable product agreements identified above and incorporated herein by reference (collectively, the “Agreement”), is executed in the English language. To the extent any translation is provided to you, it is provided for convenience purposes only, and in the event of any conflict between the English and translated version, where permitted by law, the English version will control and prevail. Where the translated version is required to be provided to you and is to be considered binding by law (i) both language versions shall have equal validity, (ii) each party acknowledges that it has reviewed both language versions and that they are substantially the same in all material respects, and (iii) in the event of any discrepancy between these two versions, the translated version may prevail, provided that the intent of the Parties has been fully taken into consideration. 

\n
\n
\n\nRevised: 10/6/17
\nCopyright © 2000-2017 All Rights Reserved.\n
\n
\n
", + "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=reg_sa&pl_id=510456" + }, + { + "agreementKey": "DNPA", + "title": "Domain Name Proxy Agreement", + "content": "\n\n\n\n\n
\n\n\n\n\n\n\n
\nDomain Name Proxy Agreement\n
\n

Last Revised: October 25, 2017

\n

Please read this Domain Name Proxy Agreement (\"Agreement\") carefully. By using the Services and/or website of Domains By Proxy, LLC, a Delaware limited liability company (\"DBP\"), You (as defined below) agree to all the terms and conditions set forth both herein and in the DBP privacy policy, which is incorporated by reference and can be found by clicking here.  You acknowledge that DBP may amend this Agreement at any time upon posting the amended terms on its website, and that any new, different or additional features changing the services provided by DBP will automatically be subject to this Agreement. If You do not agree to be bound by, or if You object to, the terms and conditions of this Agreement and any amendments hereto, do not use or access DBP's services. Continued use of DBP's services and its website after any such changes to this Agreement have been posted, constitutes Your acceptance of those changes.

\r\n

This Agreement is by and between DBP and you, your heirs, assigns, agents and contractors (\"You\") and is made effective as of the date of electronic execution. This Agreement sets forth the terms and conditions of Your relationship with DBP and Your use of DBP's services and represents the entire Agreement between You and DBP. By using DBP's Services, You acknowledge that You have read, understand and agree to be bound by all the terms and conditions of this Agreement, and You further agree to be bound by the terms of this Agreement for transactions entered into by:

\r\n
    \r\n
  1. You on Your behalf;
  2. \r\n
  3. Anyone acting as Your agent; and
  4. \r\n
  5. Anyone who uses the account You have established with DBP, whether or not the transactions were on Your behalf and/or authorized by You.
  6. \r\n
\r\n

You agree You will be bound by representations made by third parties acting on Your behalf, which either use or purchase services from DBP. You further agree that DBP will not be bound by statements of a general nature on DBP's website or DBP promotional materials. You further agree to abide by the terms and conditions promulgated by the Internet Corporation for Assigned Names and Numbers (\"ICANN\") (including the Uniform Domain Name Dispute Resolution Policy (\"Dispute Resolution Policy\") and Your Registrar (i.e., the ICANN-accredited person or entity through which You register a domain name).

\r\n

1. description of DBP's private registration services

\r\n

When You subscribe to DBP's private registration service through a DBP-affiliated Registrar, DBP will display its contact information in the publicly available \"Whois\" directory in place of Your information. DBP shall keep Your name, postal address, email address, phone and fax numbers confidential, subject to Section 4 of this Agreement. The following information (and not Your personal information) will be made publicly available in the \"Whois\" directory as determined by ICANN policy:

\r\n
    \r\n
  1. DBP's name as the proxy Registrant of the domain name and a proxy email address, phone number and postal address for the proxy Registrant's contact information;
  2. \r\n
  3. A proxy postal address and phone number for the domain name registration's technical contact;
  4. \r\n
  5. A proxy email address, postal address and phone number for the domain name registration's administrative contact;
  6. \r\n
  7. A proxy email address, postal address and phone number for the domain's name registration's billing contact;
  8. \r\n
  9. The primary and secondary domain name servers You designate for the domain name;
  10. \r\n
  11. The domain name's original date of registration and expiration date of the registration; and
  12. \r\n
  13. The identity of the Registrar.
  14. \r\n
\r\n

2. full benefits of domain registration retained by you

\r\n

Although DBP will show in the \"Whois\" directory as the Registrant of each domain name registration You designate, You will retain the full benefits of domain name registration with respect to each such domain name registration, including, subject to Section 4 below:

\r\n
    \r\n
  1. The right to sell, transfer or assign each domain name registration, which shall require cancellation of the DBP services associated with each such domain name registration;
  2. \r\n
  3. The right to control the use of each domain name registration, including designating the primary and secondary domain name servers to which each domain name points;
  4. \r\n
  5. The right to cancel each domain name registration;
  6. \r\n
  7. The right to cancel the DBP services associated with each domain name registration and/or Your privacy services with DBP so that Your contract information is listed in the \"Whois\" directory; and
  8. \r\n
  9. The right to renew each domain name registration upon its expiration, subject to Your Registrar's applicable rules and policies.
  10. \r\n
\r\n

3. PERSONAL INFORMATION AND your notification obligations; representation and warranties; ACCOUNT SECURITY

\r\n

Personal Information and Your Notification Obligations 

\r\n

You agree that for each domain name for which you use DBP services, You will provide accurate and current information as to:

\r\n
    \r\n
  1. Your name, the email address, postal address, phone and fax numbers for the domain name registration's Registrant contact;
  2. \r\n
  3. The email address, postal address, phone and fax numbers for the domain name registration's technical contact;
  4. \r\n
  5. The email address, postal address, phone and fax numbers for the domain name registration's administrative contact;
  6. \r\n
  7. The email address, postal address, phone and fax numbers for the domain name registration's billing contact; and
  8. \r\n
  9. You agree to provide government issued photo identification and/or government issued business identification as required for verification of identity when requested.
  10. \r\n
\r\n

You agree to:

\r\n
    \r\n
  1. Notify DBP within three (3) calendar days when any of the personal information You provided upon subscribing to DBP's services, changes;
  2. \r\n
  3. Respond within three (3) calendar days to any inquiries made by DBP to determine the validity of personal information provided by You; and
  4. \r\n
  5. Timely respond to email messages DBP sends to You regarding correspondence DBP has received that is either addressed to or involves You and/or Your domain name registration, as more fully set forth in Section 5(c) below.
  6. \r\n
  7. To allow DBP to act as your Designated Agent (as that term is defined below) in instances when DBP services are added to or cancelled from your domain name and for the purpose of facilitating a change of registrant request (as further described below). 
  8. \r\n
\r\n

It is Your responsibility to keep Your personal information current and accurate at all times.

\r\n

Renewals

\r\n

You agree DBP will arrange for Your Registrar to charge the credit card You have on file with the Registrar, at the Registrar's then current rates.

\r\n

If for any reason DBP and/or the Registrar for Your domain name is unable to charge Your credit card for the full amount of the service provided, or if DBP and/or the Registrar is charged back for any fee it previously charged to the credit card You provided, You agree that DBP and/or the Registrar may, without notice to You, pursue all available remedies in order to obtain payment, including but not limited to immediate cancellation of all services DBP provides to You.

\r\n

Representations and Warranties

\r\n

You warrant that all information provided by You to DBP is truthful, complete, current and accurate. You also warrant that You are using DBP's private registration services in good faith and You have no knowledge of Your domain name infringing upon or conflicting with the legal rights of a third party or a third party's trademark or trade name. You also warrant the domain name being registered by DBP on Your behalf will not be used in connection with any illegal activity, or in connection with the transmission of Spam, or that contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable or, disrupting, damaging or limiting the functionality of any software or hardware.

\r\n

Account Security

\r\n

You agree You are entirely responsible for maintaining the confidentiality of Your customer number/login ID and password (\"Account Access Information\").  You agree to notify DBP immediately of any unauthorized use of Your account or any other breach of security.  You agree DBP will not be liable for any loss that You may incur as a result of someone else using Your Account Access Information, either with or without Your knowledge.  You further agree You could be held liable for losses incurred by DBP or another party due to someone else using Your Account Access Information.  For security purposes, You should keep Account Access Information in a secure location and take precautions to prevent others from gaining access to Your Account Access Information.  You agree that You are entirely responsible for all activity in Your account, whether initiated by You, or by others.  DBP specifically disclaims liability for any activity in Your account, regardless of whether You authorized the activity.

\r\n

Designated Agency and Change of Registrant Information

\r\n

“DESIGNATED AGENT” MEANS AN INDIVIDUAL OR ENTITY THAT THE PRIOR REGISTRANT OR NEW REGISTRANT EXPLICITLY AUTHORIZES TO APPROVE A CHANGE OF REGISTRANT REQUEST ON ITS BEHALF.  IN THE CASE OF DBP SERVICES, A CHANGE OF REGISTRANT REQUEST MAY ALSO ARISE DUE TO INSTANCES WHERE DBP SERVICES ARE ADDED, OR REMOVED, FROM A DOMAIN NAME.  FOR THE PURPOSE OF FACILITATING ANY SUCH CHANGE REQUEST, AND IN ACCORDANCE WITH ICANN'S CHANGE OF REGISTRANT POLICY, YOU AGREE TO APPOINT DBP AS YOUR DESIGNATED AGENT FOR THE SOLE PURPOSE OF EXPLICITLY CONSENTING TO MATERIAL CHANGES OF REGISTRATION CONTACT INFORMATION ON YOUR BEHALF.

\r\n

4. DBP's rights to deny, suspend, terminate service and to disclose your personal information

\r\n

You understand and agree that DBP has the absolute right and power, in its sole discretion and without any liability to You whatsoever, to:

\r\n
    \r\n
  1. Cancel the privacy service (which means that Your information will be available in the \"Whois\" directory) and/or reveal Your name and personal information that You provided to DBP:  
    A. When required by law, in the good faith belief that such action is necessary in order to conform to the edicts of the law or in the interest of public safety;
    B. To comply with legal process served upon DBP or in response to a reasonable threat of litigation against DBP (as determined by DBP in its sole and absolute discretion); or
    C. To comply with ICANN rules, policies, or procedures.
  2. \r\n
  3. Resolve any and all third party claims, whether threatened or made, arising out of Your use of a domain name for which DBP is the registrant listed in the \"Whois\" directory on Your behalf; or
  4. \r\n
  5. Take any other action DBP deems necessary:
    A. In the event you breach any provision of this Agreement or the DBP Anti-Spam Policy;
    B. To protect the integrity and stability of, and to comply with registration requirements, terms, conditions and policies of, the applicable domain name Registry and/or Registry Provider;
        C. To comply with any applicable laws, government rules or requirements, subpoenas, court orders or requests of law enforcement; 
    D. To comply with ICANN's Dispute Resolution Policy or ICANN's Change of Registrant Policy;
    E. To avoid any financial loss or legal liability (civil or criminal) on the part of DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, officers, directors and employees;
    F. If the domain name for which DBP is the registrant on Your behalf violates or infringes a third party's trademark, trade name or other legal rights; and
    G. If it comes to DBP's attention that You are using DBP's services in a manner (as determined by DBP in its sole and absolute discretion) that:
  6. \r\n
\r\n
\r\n
    \r\n
  • Is illegal, or promotes or encourages illegal activity;
  • \r\n
  • Promotes, encourages or engages in child pornography or the exploitation of children;
  • \r\n
  • Promotes, encourages or engages in terrorism, violence against people, animals, or property;
  • \r\n
  • Promotes, encourages or engages in any spam or other unsolicited bulk email, or computer or network hacking or cracking;
  • \r\n
  • Violates the Ryan Haight Online Pharmacy Consumer Protection Act of 2008 or similar legislation, or promotes, encourages or engages in the sale or distribution of prescription medication without a valid prescription;  
  • \r\n
  • Infringes on the intellectual property rights of another User or any other person or entity;
  • \r\n
  • Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity;
  • \r\n
  • Interferes with the operation of DBP services;
  • \r\n
  • Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; or
  • \r\n
  • Contains false or deceptive language, or unsubstantiated or comparative claims, regarding DBP or its services.
  • \r\n
\r\n
\r\n

You further understand and agree that if DBP is named as a defendant in, or investigated in anticipation of, any legal or administrative proceeding arising out of Your domain name registration or Your use of DBP's services, Your private registration service may be canceled, which means the domain name registration will revert back to You and Your identity will therefore be revealed in the Whois directory as Registrant.

\r\n

In the event:

\r\n
    \r\n
  1. DBP takes any of the actions set forth in subsection i, ii, or iii above or section 5; and/or
  2. \r\n
  3. You elect to cancel DBP's services for any reason --
  4. \r\n
\r\n

Neither DBP nor your Registrar will refund any fees paid by You whatsoever.

\r\n

5. communications forwarding

\r\n

a. Correspondence Forwarding

\r\n

Inasmuch as DBP's name, postal address and phone number will be listed in the Whois directory, You agree DBP will review and forward communications addressed to Your domain name that are received via email, certified or traceable courier mail (such as UPS, FedEx, or DHL), or first class U.S. postal mail. You specifically acknowledge DBP will not forward to You first class postal mail (other than legal notices), \"junk\" mail or other unsolicited communications (whether delivered through email, fax, postal mail or telephone), and You further authorize DBP to either discard all such communications or return all such communications to sender unopened. You agree to waive any and all claims arising from Your failure to receive communications directed to Your domain name but not forwarded to You by DBP.

\r\n

b. Email Forwarding

\r\n

The Whois directory requires an email address for every purchased domain name registration. When You purchase a private domain registration, DBP creates a private email address for that domain name, \"@domainsbyproxy.com\". Thereafter, when messages are sent to that private email address, DBP handles them according to the email preference You selected for that particular domain name. You have three (3) email preferences from which to choose. You can elect to:

\r\n
    \r\n
  1. Have all of the messages forwarded;
  2. \r\n
  3. Have all of the messages filtered for Spam and then forwarded; or
  4. \r\n
  5. Have none of the messages forwarded.
  6. \r\n
\r\n

As with all communications, You agree to waive any and all claims arising from Your failure to receive email directed to Your domain name but not forwarded to You by DBP.

\r\n

c. Notifications Regarding Correspondence and Your Obligation to Respond

\r\n

When DBP receives certified or traceable courier mail or legal notices addressed to Your domain name, in most cases, DBP will attempt to forward the mail to you via email. If You do not respond to the DBP email and/or the correspondence DBP has received regarding Your domain name registration concerns a dispute of any kind or otherwise requires immediate disposition, DBP may immediately reveal Your identity and/or cancel the DBP private registration service regarding either the domain name registration(s) in question. This means the Whois directory will revert to displaying Your name, postal address, email address and phone number that you provided to DBP.

\r\n

d. Additional Administrative Fees

\r\n

DBP reserves the right to charge You reasonable \"administrative fees\" or \"processing fees\" for (i)  tasks DBP may perform outside the normal scope of its Services, (ii) additional time and/or costs DBP may incur in providing its Services, and/or (iii) Your non-compliance with the Agreement (as determined by DBP in its sole and absolute discretion). Typical administrative or processing fee scenarios include, but are not limited to, (i) customer service issues that require additional personal time and attention; (ii) disputes that require accounting or legal services, whether performed by DBP staff or by outside firms retained by DBP; (iii) recouping any and all costs and fees, including the cost of Services, incurred by DBP as the result of chargebacks or other payment disputes brought by You, Your bank or Payment Method processor.  These administrative fees or processing fees will be billed to the Payment Method You have on file with Your Registrar.

\r\n

You agree to waive the right to trial by jury in any proceeding that takes place relating to or arising out of this Agreement.

\r\n

6. limitations of liability

\r\n

UNDER NO CIRCUMSTANCES SHALL DBP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER RELATED TO THIS AGREEMENT, YOUR DOMAIN NAME REGISTRATION, DBP'S SERVICES, USE OR INABILITY TO USE THE DBP WEBSITE OR THE MATERIALS AND CONTENT OF THE WEBSITE OR ANY OTHER WEBSITES LINKED TO THE DBP WEBSITE OR YOUR PROVISION OF ANY PERSONALLY IDENTIFIABLE INFORMATION TO DBP OR ANY THIRD PARTY. THIS LIMITATION APPLIES REGARDLESS OF WHETHER THE ALLEGED LIABILITY IS BASED ON CONTRACT, TORT, WARRANTY, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER BASIS, EVEN IF DBP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR SUCH DAMAGES WERE REASONABLY FORESEEABLE. BECAUSE CERTAIN JURISDICTIONS DO NOT PERMIT THE LIMITATION OR ELIMINATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, DBP'S LIABILITY IN SUCH JURISDICTIONS SHALL BE LIMITED TO THE SMALLEST AMOUNT PERMITTED BY LAW.

\r\n

YOU FURTHER UNDERSTAND AND AGREE THAT DBP DISCLAIMS ANY LOSS OR LIABILITY RESULTING FROM:

\r\n
    \r\n
  1. THE INADVERTENT DISCLOSURE OR THEFT OF YOUR PERSONAL INFORMATION;
  2. \r\n
  3. ACCESS DELAYS OR INTERRUPTIONS TO OUR WEBSITE OR THE WEBSITES OF OUR AFFILIATED REGISTRARS;
  4. \r\n
  5. DATA NON-DELIVERY OF MIS-DELIVERY BETWEEN YOU AND DBP;
  6. \r\n
  7. THE FAILURE FOR WHATEVER REASON TO RENEW A PRIVATE DOMAIN NAME REGISTRATION;
  8. \r\n
  9. THE UNAUTHORIZED USE OF YOUR DBP ACCOUNT OR ANY OF DBP'S SERVICES;
  10. \r\n
  11. ERRORS, OMISSIONS OR MISSTATEMENTS BY DBP;
  12. \r\n
  13. DELETION OF, FAILURE TO STORE, FAILURE TO PROCESS OR ACT UPON EMAIL MESSAGES FORWARDED TO EITHER YOU OR YOUR PRIVATE DOMAIN NAME REGISTRATION;
  14. \r\n
  15. PROCESSING OF UPDATED INFORMATION REGARDING YOUR DBP ACCOUNT; AND/OR
  16. \r\n
  17. ANY ACT OR OMISSION CAUSED BY YOU OR YOUR AGENTS (WHETHER AUTHORIZED BY YOU OR NOT).
  18. \r\n
\r\n

7. indemnity

\r\n

You agree to release, defend, indemnify and hold harmless DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, directors, officers and employees and Your Registrar, from and against any and all claims, demands, liabilities, losses, damages or costs, including reasonable attorneys' fees, arising out of or related in any way to this Agreement, the services provided hereunder by DBP, the DBP website, Your account with DBP, Your use of Your domain name registration, and/or disputes arising in connection with the dispute policy.

\r\n

8. DBP warranty disclaimer

\r\n

DBP, ITS PARENT COMPANIES, SUBSIDIARIES, AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, OFFICERS, AND EMPLOYEES EXPRESSLY DISCLAIM ALL REPRESENTATIONS AND WARRANTIES OF ANY KIND IN CONNECTION WITH THIS AGREEMENT, THE SERVICE PROVIDED HEREUNDER, THE DBP WEBSITE OR ANY WEBSITES LINKED TO THE DBP WEBSITE, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL DBP SERVICES, AS WELL AS THE DBP WEBSITE, ARE PROVIDED \"AS IS\". YOUR SUBSCRIPTION TO AND USE OF DBP'S SERVICES AND ITS WEBSITE ARE ENTIRELY AT YOUR RISK. SOME JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES, IN WHICH EVENT THE FOREGOING DISCLAIMER MAY NOT APPLY TO YOU.

\r\n

9. copyright and trademark

\r\n

You understand and agree that all content and materials contained in this Agreement, the Privacy Policy and the DBP website found here , are protected by the various copyright, patent, trademark, service mark and trade secret laws of the United States, as well as any other applicable proprietary rights and laws, and that DBP expressly reserves its rights in and to all such content and materials.

\r\n

You further understand and agree You are prohibited from using, in any manner whatsoever, any of the afore-described content and materials without the express written permission of DBP. No license or right under any copyright, patent, trademark, service mark or other proprietary right or license is granted to You or conferred upon You by this Agreement or otherwise.

\r\n

10. miscellaneous provisions

\r\n

a. Severability; Construction; Entire Agreement

\r\n

If any part of this Agreement shall be held to be illegal, unenforceable or invalid, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, enforceable and valid, and the legality, enforceability and validity of the remaining provisions of this Agreement shall not be affected or impaired. The headings herein will not be considered a part of this Agreement. You agree this Agreement, including the policies it incorporates by reference, constitute the complete and only Agreement between You and DBP regarding the services contemplated herein.

\r\n

b. Governing Law; Venue; Waiver Of Trial By Jury

\r\n

This Agreement shall be governed in all respects by the laws and judicial decisions of Maricopa County, Arizona, excluding its conflicts of laws rules. Except as provided immediately below, You agree that any action relating to or arising out of this Agreement, shall be brought exclusively in the courts of Maricopa County, Arizona. For the adjudication of domain name registration disputes, you agree to submit to the exclusive jurisdiction and venue of the U.S. District Court for the District of Arizona located in Phoenix, Arizona. You agree to waive the right to trial by jury in any proceeding, regardless of venue, that takes place relating to or arising out of this Agreement.

\r\n

c. Notices

\r\n

All notices from DBP to You will be sent to the email address You provided to DBP. Notices by email shall be deemed effective twenty-four (24) hours after the email is sent by DBP, unless DBP receives notice that the email address is invalid, in which event DBP may give You notice via first class or certified mail, return receipt requested. All notices from You to DBP shall be sent via certified mail, return receipt requested or traceable courier to:

\r\n
      Domains By Proxy, LLC
      Attn: General Counsel
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

Notices sent via certified mail or traceable courier shall be deemed effective five (5) days after the date of mailing.

\r\n

d. Insurance

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's negligent actions (and absent fraud or other negligent or willful misconduct committed by a third party), You may be insured against such loss through DBP's Professional Liability Insurance Policy, which is currently underwritten by American International Insurance Company. Of course, every claim is subject to the then-carrier's investigation into the facts and circumstances surrounding such claim. In the event You have reason to believe that circumstances exist which warrant the filing of an insurance claim, please send a written notice (specifying the basis for such claim), via certified mail, return receipt requested, to:

\r\n
      Domains By Proxy, LLC
      Attn: Insurance Claims
      14455 North Hayden Rd.
      Suite 219
      Scottsdale, AZ 85260
\r\n

e. Indemnification

\r\n

In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's willful misconduct, Your Registrar (the \"Indemnifying Party\") will indemnify and hold You harmless against any losses, damages or costs (including reasonable attorneys' fees) resulting from any claim, action, proceeding, suit or demand arising out of or related to the loss of Your domain name registration. Such indemnification obligations under this Section 10(e) are conditioned upon the following:

\r\n
    \r\n
  1. That You promptly give both DBP and the Indemnifying Party written notice of the claim, demand, or action and provide reasonable assistance to the Indemnifying Party, at its cost and expense, in connection therewith, and
  2. \r\n
  3. That the Indemnifying Party has the right, at its option, to control and direct the defense to any settlement of such claim, demand, or action.
  4. \r\n
\r\n

Any notice concerning indemnification shall, with respect to DBP, be sent in accordance with Section 10(c) of this Agreement. With respect to Your Registrar, notices regarding indemnification should be sent in accordance with the notification provisions contained in Your Registrar's Domain Name Registration Agreement.

\r\n

f. Term of Agreement; Survival

\r\n

The terms of this Agreement shall continue in full force and effect as long as DBP is the Registrant for any domain name on Your behalf. Sections 5 (Communications Forwarding), 6 (Limitation of Liability), 7 (Indemnity), 8 (Warranty Disclaimer) and 10 (Miscellaneous Provisions) shall survive any termination or expiration of this Agreement.

\n
\n
\n\nRevised: 10/25/17
\nCopyright © 2003-2017 All Rights Reserved.\n
\n
\n
", + "url": "http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=domain_nameproxy&pl_id=510456" + } + ] + } + } + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomains.json index d4c6b522ef00..218c0510f5de 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/ListTopLevelDomains.json @@ -1,96 +1,96 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", - "name": "com", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "com", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/net", - "name": "net", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "net", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.uk", - "name": "co.uk", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "co.uk", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org", - "name": "org", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "org", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/nl", - "name": "nl", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "nl", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/in", - "name": "in", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "in", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/biz", - "name": "biz", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "biz", - "privacy": true - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org.uk", - "name": "org.uk", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "org.uk", - "privacy": false - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.in", - "name": "co.in", - "type": "Microsoft.DomainRegistration/topLevelDomains", - "properties": { - "name": "co.in", - "privacy": false - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com", + "name": "com", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "com", + "privacy": true } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/net", + "name": "net", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "net", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.uk", + "name": "co.uk", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "co.uk", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org", + "name": "org", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "org", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/nl", + "name": "nl", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "nl", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/in", + "name": "in", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "in", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/biz", + "name": "biz", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "biz", + "privacy": true + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org.uk", + "name": "org.uk", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "org.uk", + "privacy": false + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.in", + "name": "co.in", + "type": "Microsoft.DomainRegistration/topLevelDomains", + "properties": { + "name": "co.in", + "privacy": false + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/RenewDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/RenewDomain.json index 10d1dcea2e42..75a66905bce8 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/RenewDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/examples/RenewDomain.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2018-02-01", - "subscriptionId": "3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545", - "resourceGroupName": "RG", - "domainName": "example.com" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "api-version": "2018-02-01", + "subscriptionId": "3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545", + "resourceGroupName": "RG", + "domainName": "example.com" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/web/resource-manager/Microsoft.Web/preview/2015-08-01-preview/logicAppsManagementClient.json b/specification/web/resource-manager/Microsoft.Web/preview/2015-08-01-preview/logicAppsManagementClient.json index 4350aaa2fd16..9f37522edf55 100644 --- a/specification/web/resource-manager/Microsoft.Web/preview/2015-08-01-preview/logicAppsManagementClient.json +++ b/specification/web/resource-manager/Microsoft.Web/preview/2015-08-01-preview/logicAppsManagementClient.json @@ -5,7 +5,9 @@ "version": "2015-08-01-preview" }, "host": "management.azure.com", - "schemes": [ "https" ], + "schemes": [ + "https" + ], "consumes": [ "application/json", "text/json" @@ -17,7 +19,9 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis": { "get": { - "tags": [ "Managed Apis" ], + "tags": [ + "Managed Apis" + ], "summary": "List managed Apis", "operationId": "ManagedApis_List", "description": "Gets a list of managed APIs.", @@ -52,7 +56,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis/{apiName}": { "get": { - "tags": [ "Managed Apis" ], + "tags": [ + "Managed Apis" + ], "summary": "Get managed API", "operationId": "ManagedApis_Get", "description": "Gets a managed API.", @@ -97,7 +103,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections": { "get": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "summary": "Get Connections", "operationId": "Connections_List", "description": "Gets a list of connections.", @@ -147,7 +155,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}": { "get": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_Get", "description": "Gets a connection.", "parameters": [ @@ -182,7 +192,9 @@ } }, "put": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_CreateOrUpdate", "description": "Creates or updates a connection.", "parameters": [ @@ -232,7 +244,9 @@ } }, "delete": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_Delete", "description": "Deletes a connection.", "parameters": [ @@ -269,7 +283,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConsentLinks": { "post": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_ListConsentLinks", "description": "Lists consent links of a connection.", "parameters": [ @@ -315,7 +331,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/confirmConsentCode": { "post": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_ConfirmConsentCode", "description": "Confirms consent code of a connection.", "parameters": [ @@ -361,7 +379,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConnectionKeys": { "post": { - "tags": [ "Connections" ], + "tags": [ + "Connections" + ], "operationId": "Connections_ListConnectionKeys", "description": "Lists connection keys.", "parameters": [ @@ -595,8 +615,7 @@ }, "Object": { "type": "object", - "properties": { - } + "properties": {} }, "ConnectionParameter": { "description": "connection provider parameters", @@ -1212,7 +1231,9 @@ } }, "Resource": { - "required": [ "location" ], + "required": [ + "location" + ], "properties": { "id": { "description": "Resource Id", @@ -1274,7 +1295,9 @@ }, "security": [ { - "azure_auth": [ "user_impersonation" ] + "azure_auth": [ + "user_impersonation" + ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json b/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json index a2d3ecc68f6c..c02a1f56715c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json @@ -21741,4 +21741,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json index 5569718a588b..c2855a55661a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json @@ -1,612 +1,387 @@ { - "swagger": "2.0", - "info": { - "version": "2016-03-01", - "title": "Common Definitions" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "paths": {}, - "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "name", - "location", - "virtualNetwork", - "workerPools" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment, e.g. \"West US\".", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "vnetName": { - "description": "Name of the Virtual Network for the App Service Environment.", - "type": "string" - }, - "vnetResourceGroupName": { - "description": "Resource group of the Virtual Network.", - "type": "string" - }, - "vnetSubnetName": { - "description": "Subnet of the Virtual Network.", - "type": "string" - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "InternalLoadBalancingMode", - "modelAsString": false - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer" - }, - "workerPools": { - "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPool" - } - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "databaseEdition": { - "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", - "type": "string", - "readOnly": true - }, - "databaseServiceObjective": { - "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", - "type": "string", - "readOnly": true - }, - "upgradeDomains": { - "format": "int32", - "description": "Number of upgrade domains of the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "lastAction": { - "description": "Last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "lastActionResult": { - "description": "Result of the last deployment action on the App Service Environment.", - "type": "string", - "readOnly": true - }, - "allowedMultiSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", - "type": "string", - "readOnly": true - }, - "allowedWorkerSizes": { - "description": "List of comma separated strings describing which VM sizes are allowed for workers.", - "type": "string", - "readOnly": true - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "vipMappings": { - "description": "Description of IP SSL mapping for the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "readOnly": true - }, - "environmentCapacities": { - "description": "Current total, used, and available worker capacities.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "readOnly": true - }, - "networkAccessControlList": { - "description": "Access control list for controlling traffic to the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkAccessControlEntry" - } - }, - "environmentIsHealthy": { - "description": "True/false indicating whether the App Service Environment is healthy.", - "type": "boolean", - "readOnly": true - }, - "environmentStatus": { - "description": "Detailed message about with results of the last check of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "Resource group of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "defaultFrontEndScaleFactor": { - "format": "int32", - "description": "Default Scale Factor for FrontEnds.", - "type": "integer", - "readOnly": true - }, - "apiManagementAccountId": { - "description": "API Management Account associated with the App Service Environment.", - "type": "string" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "dynamicCacheEnabled": { - "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", - "type": "boolean" - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "Name for the App Service plan.", - "type": "string" - }, - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "adminSiteName": { - "description": "App Service plan administration site.", - "type": "string" - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "If Linux app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - } - } - }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string" - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } + "swagger": "2.0", + "info": { + "version": "2016-03-01", + "title": "Common Definitions" }, - "CsmOperationCollection": { - "description": "Collection of Azure resource manager operation metadata.", + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": {}, + "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "AppServiceEnvironment": { + "description": "Description of an App Service Environment.", + "required": [ + "name", + "location", + "virtualNetwork", + "workerPools" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the App Service Environment.", + "type": "string" + }, + "location": { + "description": "Location of the App Service Environment, e.g. \"West US\".", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "status": { + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "vnetName": { + "description": "Name of the Virtual Network for the App Service Environment.", + "type": "string" + }, + "vnetResourceGroupName": { + "description": "Resource group of the Virtual Network.", + "type": "string" + }, + "vnetSubnetName": { + "description": "Subnet of the Virtual Network.", + "type": "string" + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing" + ], + "type": "string", + "x-ms-enum": { + "name": "InternalLoadBalancingMode", + "modelAsString": false + } + }, + "multiSize": { + "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", + "type": "string" + }, + "multiRoleCount": { + "format": "int32", + "description": "Number of front-end instances.", + "type": "integer" + }, + "workerPools": { + "description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkerPool" + } + }, + "ipsslAddressCount": { + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment.", + "type": "integer" + }, + "databaseEdition": { + "description": "Edition of the metadata database for the App Service Environment, e.g. \"Standard\".", + "type": "string", + "readOnly": true + }, + "databaseServiceObjective": { + "description": "Service objective of the metadata database for the App Service Environment, e.g. \"S0\".", + "type": "string", + "readOnly": true + }, + "upgradeDomains": { + "format": "int32", + "description": "Number of upgrade domains of the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "description": "DNS suffix of the App Service Environment.", + "type": "string" + }, + "lastAction": { + "description": "Last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "lastActionResult": { + "description": "Result of the last deployment action on the App Service Environment.", + "type": "string", + "readOnly": true + }, + "allowedMultiSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for front-ends.", + "type": "string", + "readOnly": true + }, + "allowedWorkerSizes": { + "description": "List of comma separated strings describing which VM sizes are allowed for workers.", + "type": "string", + "readOnly": true + }, + "maximumNumberOfMachines": { + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "type": "integer", + "readOnly": true + }, + "vipMappings": { + "description": "Description of IP SSL mapping for the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "readOnly": true + }, + "environmentCapacities": { + "description": "Current total, used, and available worker capacities.", + "type": "array", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "readOnly": true + }, + "networkAccessControlList": { + "description": "Access control list for controlling traffic to the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkAccessControlEntry" + } + }, + "environmentIsHealthy": { + "description": "True/false indicating whether the App Service Environment is healthy.", + "type": "boolean", + "readOnly": true + }, + "environmentStatus": { + "description": "Detailed message about with results of the last check of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "frontEndScaleFactor": { + "format": "int32", + "description": "Scale factor for front-ends.", + "type": "integer" + }, + "defaultFrontEndScaleFactor": { + "format": "int32", + "description": "Default Scale Factor for FrontEnds.", + "type": "integer", + "readOnly": true + }, + "apiManagementAccountId": { + "description": "API Management Account associated with the App Service Environment.", + "type": "string" + }, + "suspended": { + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "dynamicCacheEnabled": { + "description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "type": "boolean" + }, + "clusterSettings": { + "description": "Custom settings for changing the behavior of the App Service Environment.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "userWhitelistedIpRanges": { + "description": "User added ip ranges to whitelist on ASE db", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AppServicePlan": { + "description": "App Service plan.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "AppServicePlan resource specific properties", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name for the App Service plan.", + "type": "string" + }, + "workerTierName": { + "description": "Target worker tier assigned to the App Service plan.", + "type": "string" + }, + "status": { + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "subscription": { + "description": "App Service plan subscription.", + "type": "string", + "readOnly": true + }, + "adminSiteName": { + "description": "App Service plan administration site.", + "type": "string" + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maximumNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "geoRegion": { + "description": "Geographical location for the App Service plan.", + "type": "string", + "readOnly": true + }, + "perSiteScaling": { + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false, + "type": "boolean" + }, + "numberOfSites": { + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "type": "integer", + "readOnly": true + }, + "isSpot": { + "description": "If true, this App Service Plan owns spot instances.", + "type": "boolean" + }, + "spotExpirationTime": { + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of the App Service plan.", + "type": "string", + "readOnly": true + }, + "reserved": { + "description": "If Linux app service plan true, false otherwise.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "targetWorkerCount": { + "format": "int32", + "description": "Scaling worker count.", + "type": "integer" + }, + "targetWorkerSizeId": { + "format": "int32", + "description": "Scaling worker size ID.", + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state of the App Service Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + } + }, + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription" + } + } + }, + "AppServicePlanCollection": { + "description": "Collection of App Service plans.", "required": [ "value" ], @@ -616,407 +391,2338 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/CsmOperationDescription" + "$ref": "#/definitions/AppServicePlan" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "AutoHealActions": { + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "type": "object", + "properties": { + "actionType": { + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "description": "Minimum time the process must execute\nbefore taking the action", + "type": "string" + } + } + }, + "AutoHealCustomAction": { + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "type": "object", + "properties": { + "exe": { + "description": "Executable to be run.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the executable.", + "type": "string" + } + } + }, + "AutoHealRules": { + "description": "Rules that can be defined for auto-heal.", + "type": "object", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "description": "Triggers for auto-heal.", + "type": "object", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "format": "int32", + "description": "A rule based on private bytes.", + "type": "integer" + }, + "statusCodes": { + "description": "A rule based on status codes.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + } + } + }, + "Capability": { + "description": "Describes the capabilities/features allowed for a specific SKU.", + "type": "object", + "properties": { + "name": { + "description": "Name of the SKU capability.", + "type": "string" + }, + "value": { + "description": "Value of the SKU capability.", + "type": "string" + }, + "reason": { + "description": "Reason of the SKU capability.", + "type": "string" + } + } + }, + "CloningInfo": { + "description": "Information needed for cloning operation.", + "required": [ + "sourceWebAppId" + ], + "type": "object", + "properties": { + "correlationId": { + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + }, + "overwrite": { + "description": "true to overwrite destination app; otherwise, false.", + "type": "boolean" + }, + "cloneCustomHostNames": { + "description": "true to clone custom hostnames from source app; otherwise, false.", + "type": "boolean" + }, + "cloneSourceControl": { + "description": "true to clone source control from source app; otherwise, false.", + "type": "boolean" + }, + "sourceWebAppId": { + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + }, + "hostingEnvironment": { + "description": "App Service Environment.", + "type": "string" + }, + "appSettingsOverrides": { + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "description": "true to configure load balancing for source and destination app.", + "type": "boolean" + }, + "trafficManagerProfileId": { + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", + "type": "string" + }, + "trafficManagerProfileName": { + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", + "type": "string" + }, + "ignoreQuotas": { + "description": "true if quotas should be ignored; otherwise, false.", + "type": "boolean" + } + } + }, + "ConnStringInfo": { + "description": "Database connection string information.", + "type": "object", + "properties": { + "name": { + "description": "Name of connection string.", + "type": "string" + }, + "connectionString": { + "description": "Connection string value.", + "type": "string" + }, + "type": { + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + } + } + }, + "CorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CsmOperationCollection": { + "description": "Collection of Azure resource manager operation metadata.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmOperationDescription" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "CsmOperationDescription": { + "description": "Description of an operation available for Microsoft.Web resource provider.", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/CsmOperationDisplay" + }, + "origin": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/CsmOperationDescriptionProperties" + } + } + }, + "CsmOperationDescriptionProperties": { + "description": "Properties available for a Microsoft.Web resource provider operation.", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification" + } + } + }, + "CsmOperationDisplay": { + "description": "Meta data about operation used for display in portal.", + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "CsmUsageQuota": { + "description": "Usage of the quota resource.", + "type": "object", + "properties": { + "unit": { + "description": "Units of measurement for the quota resource.", + "type": "string" + }, + "nextResetTime": { + "format": "date-time", + "description": "Next reset time for the resource counter.", + "type": "string" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the resource counter.", + "type": "integer" + }, + "limit": { + "format": "int64", + "description": "The resource limit.", + "type": "integer" + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "description": "Collection of CSM usage quotas.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "Dimension": { + "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "internalName": { + "type": "string" + }, + "toBeExportedForShoebox": { + "type": "boolean" + } + } + }, + "ErrorEntity": { + "description": "Body of the error response returned from the API.", + "type": "object", + "properties": { + "extendedCode": { + "description": "Type of error.", + "type": "string" + }, + "messageTemplate": { + "description": "Message template.", + "type": "string" + }, + "parameters": { + "description": "Parameters for the template.", + "type": "array", + "items": { + "type": "string" + } + }, + "innerErrors": { + "description": "Inner errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "code": { + "description": "Basic error code.", + "type": "string" + }, + "message": { + "description": "Any details of the error.", + "type": "string" + } + } + }, + "DefaultErrorResponse": { + "description": "App Service error response.", + "type": "object", + "properties": { + "error": { + "description": "Error model.", + "type": "object", + "properties": { + "code": { + "description": "Standardized string to programmatically identify the error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Detailed error description and debugging information.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Detailed error description and debugging information.", + "type": "string", + "readOnly": true + }, + "details": { + "type": "array", + "items": { + "description": "Detailed errors.", + "properties": { + "code": { + "description": "Standardized string to programmatically identify the error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Detailed error description and debugging information.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Detailed error description and debugging information.", + "type": "string", + "readOnly": true + } + }, + "readOnly": true + } + }, + "innererror": { + "description": "More information to debug error.", + "type": "string", + "readOnly": true + } + }, + "readOnly": true + } + } + }, + "Experiments": { + "description": "Routing rules in production experiments.", + "type": "object", + "properties": { + "rampUpRules": { + "description": "List of ramp-up rules.", + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + } + } + }, + "HandlerMapping": { + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "type": "object", + "properties": { + "extension": { + "description": "Requests with this extension will be handled using the specified FastCGI application.", + "type": "string" + }, + "scriptProcessor": { + "description": "The absolute path to the FastCGI application.", + "type": "string" + }, + "arguments": { + "description": "Command-line arguments to be passed to the script processor.", + "type": "string" + } + } + }, + "HostNameSslState": { + "description": "SSL-enabled hostname.", + "type": "object", + "properties": { + "name": { + "description": "Hostname.", + "type": "string" + }, + "sslState": { + "description": "SSL type.", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "virtualIP": { + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "type": "string" + }, + "thumbprint": { + "description": "SSL certificate thumbprint.", + "type": "string" + }, + "toUpdate": { + "description": "Set to true to update existing hostname.", + "type": "boolean" + }, + "hostType": { + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "type": "string", + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + } + } + }, + "HostingEnvironmentProfile": { + "description": "Specification for an App Service Environment to use for this resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource ID of the App Service Environment.", + "type": "string" + }, + "name": { + "description": "Name of the App Service Environment.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the App Service Environment.", + "type": "string", + "readOnly": true + } + } + }, + "HybridConnection": { + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "description": "The name of the Service Bus namespace.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayName": { + "description": "The name of the Service Bus relay.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "relayArmUri": { + "description": "The ARM URI to the Service Bus relay.", + "type": "string" + }, + "hostname": { + "description": "The hostname of the endpoint.", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port of the endpoint.", + "type": "integer" + }, + "sendKeyName": { + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", + "type": "string" + }, + "sendKeyValue": { + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", + "type": "string" + }, + "serviceBusSuffix": { + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "HybridConnectionKey": { + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "description": "The name of the send key.", + "type": "string", + "readOnly": true + }, + "sendKeyValue": { + "description": "The value of the send key.", + "type": "string", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "Identifier": { + "description": "A domain specific resource identifier.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "Identifier resource specific properties", + "properties": { + "id": { + "description": "String representation of the identity.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "IdentifierCollection": { + "description": "Collection of identifiers.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Identifier" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "IpSecurityRestriction": { + "description": "IP security restriction on an app.", + "required": [ + "ipAddress" + ], + "type": "object", + "properties": { + "ipAddress": { + "description": "IP address the security restriction is valid for.", + "type": "string" + }, + "subnetMask": { + "description": "Subnet mask for the range of IP addresses the restriction is valid for.", + "type": "string" + } + } + }, + "LocalizableString": { + "description": "Localizable string object containing the name and a localized value.", + "type": "object", + "properties": { + "value": { + "description": "Non-localized name.", + "type": "string" + }, + "localizedValue": { + "description": "Localized name.", + "type": "string" + } + } + }, + "ManagedServiceIdentity": { + "description": "Managed service identity.", + "type": "object", + "properties": { + "type": { + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "tenantId": { + "description": "Tenant of managed service identity.", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "Principal Id of managed service identity.", + "type": "string", + "readOnly": true + } + } + }, + "MetricAvailability": { + "description": "Retention policy of a resource metric.", + "type": "object", + "properties": { + "timeGrain": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "MetricSpecification": { + "description": "Definition of a single resource metric.", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "supportsInstanceLevelAggregation": { + "type": "boolean" + }, + "enableRegionalMdmAccount": { + "type": "boolean" + }, + "sourceMdmAccount": { + "type": "string" + }, + "sourceMdmNamespace": { + "type": "string" + }, + "metricFilterPattern": { + "type": "string" + }, + "fillGapWithZero": { + "type": "boolean" + }, + "isInternal": { + "type": "boolean" + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "category": { + "type": "string" + }, + "availabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailability" + } + } + } + }, + "NameIdentifier": { + "description": "Identifies an object.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string" + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkAccessControlEntry": { + "description": "Network access control entry.", + "type": "object", + "properties": { + "action": { + "description": "Action object.", + "enum": [ + "Permit", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "AccessControlEntryAction", + "modelAsString": false + } + }, + "description": { + "description": "Description of network access control entry.", + "type": "string" + }, + "order": { + "format": "int32", + "description": "Order of precedence.", + "type": "integer" + }, + "remoteSubnet": { + "description": "Remote subnet.", + "type": "string" + } + } + }, + "Operation": { + "description": "An operation on a resource.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "format": "uuid", + "description": "Applicable only for stamp operation ids.", + "type": "string", + "example": "00000000-0000-0000-0000-000000000000" + } + } + }, + "ProxyOnlyResource": { + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PushSettings": { + "description": "Push settings for the App.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "PushSettings resource specific properties", + "required": [ + "isPushEnabled" + ], + "properties": { + "isPushEnabled": { + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", + "type": "boolean" + }, + "tagWhitelistJson": { + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", + "type": "string" + }, + "tagsRequiringAuth": { + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", + "type": "string" + }, + "dynamicTagsJson": { + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "RampUpRule": { + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "type": "object", + "properties": { + "actionHostName": { + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", + "type": "string" + }, + "reroutePercentage": { + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName.", + "type": "number" + }, + "changeStep": { + "format": "double", + "description": "In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", + "type": "number" + }, + "changeIntervalInMinutes": { + "format": "int32", + "description": "Specifies interval in minutes to reevaluate ReroutePercentage.", + "type": "integer" + }, + "minReroutePercentage": { + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay.", + "type": "number" + }, + "maxReroutePercentage": { + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay.", + "type": "number" + }, + "changeDecisionCallbackUrl": { + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", + "type": "string" + }, + "name": { + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", + "type": "string" + } + } + }, + "RequestsBasedTrigger": { + "description": "Trigger based on total requests.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Request Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } + }, + "Resource": { + "description": "Azure resource. This resource is tracked in Azure Resource Manager", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "kind": { + "description": "Kind of resource.", + "type": "string" + }, + "location": { + "description": "Resource Location.", + "type": "string" + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ResourceMetric": { + "description": "Object representing a metric for any resource .", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of metric.", + "readOnly": true + }, + "unit": { + "description": "Metric unit.", + "type": "string", + "readOnly": true + }, + "timeGrain": { + "description": "Metric granularity. E.g PT1H, PT5M, P1D", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Metric start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Metric end time.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Metric resource Id.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource Id.", + "type": "string", + "readOnly": true + }, + "metricValues": { + "description": "Metric values.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricValue" + }, + "readOnly": true + }, + "properties": { + "description": "Resource metric properties collection.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ResourceMetricAvailability": { + "description": "Metrics availability and retention.", + "type": "object", + "properties": { + "timeGrain": { + "description": "Time grain .", + "type": "string", + "readOnly": true + }, + "retention": { + "description": "Retention period for the current time grain.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricCollection": { + "description": "Collection of metric responses.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetric" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricDefinition": { + "description": "Metadata for the metrics.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "name": { + "$ref": "#/definitions/ResourceMetricName", + "description": "Name of the metric.", + "readOnly": true + }, + "unit": { + "description": "Unit of the metric.", + "type": "string", + "readOnly": true + }, + "primaryAggregationType": { + "description": "Primary aggregation type.", + "type": "string", + "readOnly": true + }, + "metricAvailabilities": { + "description": "List of time grains supported for the metric together with retention period.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true + }, + "resourceUri": { + "description": "Resource URI.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Resource ID.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Resource metric definition properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "ResourceMetricDefinitionCollection": { + "description": "Collection of metric definitions.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricName": { + "description": "Name of a metric for any resource .", + "type": "object", + "properties": { + "value": { + "description": "metric name value.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Localized metric name value.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceMetricProperty": { + "description": "Resource metric property.", + "type": "object", + "properties": { + "key": { + "description": "Key for resource metric property.", + "type": "string" + }, + "value": { + "description": "Value of pair.", + "type": "string" + } + } + }, + "ResourceMetricValue": { + "description": "Value of resource metric.", + "type": "object", + "properties": { + "timestamp": { + "description": "Value timestamp.", + "type": "string", + "readOnly": true + }, + "average": { + "format": "float", + "description": "Value average.", + "type": "number", + "readOnly": true + }, + "minimum": { + "format": "float", + "description": "Value minimum.", + "type": "number", + "readOnly": true + }, + "maximum": { + "format": "float", + "description": "Value maximum.", + "type": "number", + "readOnly": true + }, + "total": { + "format": "float", + "description": "Value total.", + "type": "number", + "readOnly": true + }, + "count": { + "format": "float", + "description": "Value count.", + "type": "number", + "readOnly": true + }, + "properties": { + "description": "Resource metric properties collection.", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceMetricProperty" + }, + "readOnly": true + } + } + }, + "ServiceSpecification": { + "description": "Resource metrics service provided by Microsoft.Insights resource provider.", + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "Site": { + "description": "A web app, a mobile app backend, or an API app.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Site resource specific properties", + "properties": { + "state": { + "description": "Current state of the app.", + "type": "string", + "readOnly": true + }, + "hostNames": { + "description": "Hostnames associated with the app.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "repositorySiteName": { + "description": "Name of the repository site.", + "type": "string", + "readOnly": true + }, + "usageState": { + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "enabled": { + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", + "type": "boolean" + }, + "enabledHostNames": { + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availabilityState": { + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "hostNameSslStates": { + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + "serverFarmId": { + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", + "type": "string" + }, + "reserved": { + "description": "true if reserved; otherwise, false.", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "lastModifiedTimeUtc": { + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "type": "string", + "readOnly": true + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "scmSiteAlsoStopped": { + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false, + "type": "boolean" + }, + "targetSwapSlot": { + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "type": "string", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "clientAffinityEnabled": { + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", + "type": "boolean" + }, + "clientCertEnabled": { + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", + "type": "boolean" + }, + "hostNamesDisabled": { + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", + "type": "boolean" + }, + "outboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", + "type": "string", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", + "type": "string", + "readOnly": true + }, + "containerSize": { + "format": "int32", + "description": "Size of the function container.", + "type": "integer" + }, + "dailyMemoryTimeQuota": { + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", + "type": "integer" + }, + "suspendedTill": { + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "type": "string", + "readOnly": true + }, + "maxNumberOfWorkers": { + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "type": "integer", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "description": "Name of the resource group the app belongs to. Read-only.", + "type": "string", + "readOnly": true + }, + "isDefaultContainer": { + "description": "true if the app is a default container; otherwise, false.", + "type": "boolean", + "readOnly": true + }, + "defaultHostName": { + "description": "Default hostname of the app. Read-only.", + "type": "string", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity" + } + } + }, + "SiteConfig": { + "description": "Configuration of an App Service app.", + "type": "object", + "properties": { + "numberOfWorkers": { + "format": "int32", + "description": "Number of workers.", + "type": "integer" + }, + "defaultDocuments": { + "description": "Default documents.", + "type": "array", + "items": { + "type": "string" + } + }, + "netFrameworkVersion": { + "description": ".NET Framework version.", + "default": "v4.6", + "type": "string" + }, + "phpVersion": { + "description": "Version of PHP.", + "type": "string" + }, + "pythonVersion": { + "description": "Version of Python.", + "type": "string" + }, + "nodeVersion": { + "description": "Version of Node.js.", + "type": "string" + }, + "linuxFxVersion": { + "description": "Linux App Framework and version", + "type": "string" + }, + "requestTracingEnabled": { + "description": "true if request tracing is enabled; otherwise, false.", + "type": "boolean" + }, + "requestTracingExpirationTime": { + "format": "date-time", + "description": "Request tracing expiration time.", + "type": "string" + }, + "remoteDebuggingEnabled": { + "description": "true if remote debugging is enabled; otherwise, false.", + "type": "boolean" + }, + "remoteDebuggingVersion": { + "description": "Remote debugging version.", + "type": "string" + }, + "httpLoggingEnabled": { + "description": "true if HTTP logging is enabled; otherwise, false.", + "type": "boolean" + }, + "logsDirectorySizeLimit": { + "format": "int32", + "description": "HTTP logs directory size limit.", + "type": "integer" + }, + "detailedErrorLoggingEnabled": { + "description": "true if detailed error logging is enabled; otherwise, false.", + "type": "boolean" + }, + "publishingUsername": { + "description": "Publishing user name.", + "type": "string" + }, + "appSettings": { + "description": "Application settings.", + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "connectionStrings": { + "description": "Connection strings.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "description": "Handler mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + "documentRoot": { + "description": "Document root.", + "type": "string" + }, + "scmType": { + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO" + ], + "type": "string", + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true + } + }, + "use32BitWorkerProcess": { + "description": "true to use 32-bit worker process; otherwise, false.", + "type": "boolean" + }, + "webSocketsEnabled": { + "description": "true if WebSocket is enabled; otherwise, false.", + "type": "boolean" + }, + "alwaysOn": { + "description": "true if Always On is enabled; otherwise, false.", + "type": "boolean" + }, + "javaVersion": { + "description": "Java version.", + "type": "string" + }, + "javaContainer": { + "description": "Java container.", + "type": "string" + }, + "javaContainerVersion": { + "description": "Java container version.", + "type": "string" + }, + "appCommandLine": { + "description": "App command line to launch.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "virtualApplications": { + "description": "Virtual applications.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + "loadBalancing": { + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymorphic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "description": "true if Auto Heal is enabled; otherwise, false.", + "type": "boolean" + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "description": "Tracing options.", + "type": "string" + }, + "vnetName": { + "description": "Virtual Network name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "autoSwapSlotName": { + "description": "Auto-swap slot name.", + "type": "string" + }, + "localMySqlEnabled": { + "description": "true to enable local MySQL; otherwise, false.", + "default": false, + "type": "boolean" + }, + "ipSecurityRestrictions": { + "description": "IP security restrictions.", + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + }, + "http20Enabled": { + "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0", + "default": true, + "type": "boolean" + }, + "minTlsVersion": { + "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "type": "string", + "x-ms-enum": { + "name": "SupportedTlsVersions", + "modelAsString": true + } + } + } + }, + "SiteLimits": { + "description": "Metric limits set on an app.", + "type": "object", + "properties": { + "maxPercentageCpu": { + "format": "double", + "description": "Maximum allowed CPU usage percentage.", + "type": "number" + }, + "maxMemoryInMb": { + "format": "int64", + "description": "Maximum allowed memory usage in MB.", + "type": "integer" + }, + "maxDiskSizeInMb": { + "format": "int64", + "description": "Maximum allowed disk size usage in MB.", + "type": "integer" + } + } + }, + "SiteMachineKey": { + "description": "MachineKey of an app.", + "type": "object", + "properties": { + "validation": { + "description": "MachineKey validation.", + "type": "string" + }, + "validationKey": { + "description": "Validation key.", + "type": "string" + }, + "decryption": { + "description": "Algorithm used for decryption.", + "type": "string" + }, + "decryptionKey": { + "description": "Decryption key.", + "type": "string" + } + } + }, + "SkuCapacity": { + "description": "Description of the App Service plan scale options.", + "type": "object", + "properties": { + "minimum": { + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Default number of workers for this App Service plan SKU.", + "type": "integer" + }, + "scaleType": { + "description": "Available scale configurations for an App Service plan.", + "type": "string" + } + } + }, + "SkuDescription": { + "description": "Description of a SKU for a scalable resource.", + "type": "object", + "properties": { + "name": { + "description": "Name of the resource SKU.", + "type": "string" + }, + "tier": { + "description": "Service tier of the resource SKU.", + "type": "string" + }, + "size": { + "description": "Size specifier of the resource SKU.", + "type": "string" + }, + "family": { + "description": "Family code of the resource SKU.", + "type": "string" + }, + "capacity": { + "format": "int32", + "description": "Current number of instances assigned to the resource.", + "type": "integer" + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "description": "Locations of the SKU.", + "type": "array", + "items": { + "type": "string" } }, - "nextLink": { - "description": "Link to next page of resources.", + "capabilities": { + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + } + }, + "SlotSwapStatus": { + "description": "The status of the last successful slot swap operation.", + "type": "object", + "properties": { + "timestampUtc": { + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "type": "string", + "readOnly": true + }, + "sourceSlotName": { + "description": "The source slot of the last swap operation.", + "type": "string", + "readOnly": true + }, + "destinationSlotName": { + "description": "The destination slot of the last swap operation.", "type": "string", "readOnly": true } } }, - "CsmOperationDescription": { - "description": "Description of an operation available for Microsoft.Web resource provider.", + "SlowRequestsBasedTrigger": { + "description": "Trigger based on request execution time.", "type": "object", "properties": { - "name": { + "timeTaken": { + "description": "Time taken.", "type": "string" }, - "display": { - "$ref": "#/definitions/CsmOperationDisplay" + "count": { + "format": "int32", + "description": "Request Count.", + "type": "integer" }, - "origin": { + "timeInterval": { + "description": "Time interval.", "type": "string" - }, - "properties": { - "$ref": "#/definitions/CsmOperationDescriptionProperties" } } }, - "CsmOperationDescriptionProperties": { - "description": "Properties available for a Microsoft.Web resource provider operation.", + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification" + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true } } }, - "CsmOperationDisplay": { - "description": "Meta data about operation used for display in portal.", + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", "type": "object", "properties": { - "provider": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", "type": "string" }, - "resource": { + "id": { + "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, + "StampCapacity": { + "description": "Stamp capacity information.", + "type": "object", + "properties": { + "name": { + "description": "Name of the stamp.", "type": "string" }, - "operation": { + "availableCapacity": { + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "totalCapacity": { + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...).", + "type": "integer" + }, + "unit": { + "description": "Name of the unit.", "type": "string" }, - "description": { + "computeMode": { + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "workerSize": { + "description": "Size of the machines.", + "enum": [ + "Default", + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "workerSizeId": { + "format": "int32", + "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", + "type": "integer" + }, + "excludeFromCapacityAllocation": { + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", + "type": "boolean" + }, + "isApplicableForAllComputeModes": { + "description": "true if capacity is applicable for all apps; otherwise, false.", + "type": "boolean" + }, + "siteMode": { + "description": "Shared or Dedicated.", "type": "string" } } }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resource.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" + "StatusCodesBasedTrigger": { + "description": "Trigger based on status code.", + "type": "object", + "properties": { + "status": { + "format": "int32", + "description": "HTTP status code.", + "type": "integer" + }, + "subStatus": { + "format": "int32", + "description": "Request Sub Status.", + "type": "integer" + }, + "win32Status": { + "format": "int32", + "description": "Win32 error code.", + "type": "integer" + }, + "count": { + "format": "int32", + "description": "Request Count.", + "type": "integer" + }, + "timeInterval": { + "description": "Time interval.", + "type": "string" + } + } }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true + "User": { + "description": "User credentials used for publishing activity.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "User resource specific properties", + "required": [ + "publishingUserName" + ], + "properties": { + "name": { + "description": "Username", + "type": "string", + "x-ms-client-name": "UserName" + }, + "publishingUserName": { + "description": "Username used for publishing.", + "type": "string" + }, + "publishingPassword": { + "format": "password", + "description": "Password used for publishing.", + "type": "string" + }, + "publishingPasswordHash": { + "format": "password", + "description": "Password hash used for publishing.", + "type": "string" + }, + "publishingPasswordHashSalt": { + "format": "password", + "description": "Password hash salt used for publishing.", + "type": "string" + } + }, + "x-ms-client-flatten": true } } }, - "Dimension": { - "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request", + "VirtualApplication": { + "description": "Virtual application in an app.", "type": "object", "properties": { - "name": { + "virtualPath": { + "description": "Virtual path.", "type": "string" }, - "displayName": { + "physicalPath": { + "description": "Physical path.", "type": "string" }, - "internalName": { + "preloadEnabled": { + "description": "true if preloading is enabled; otherwise, false.", + "type": "boolean" + }, + "virtualDirectories": { + "description": "Virtual directories for virtual application.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + } + } + }, + "VirtualDirectory": { + "description": "Directory for virtual application.", + "type": "object", + "properties": { + "virtualPath": { + "description": "Path to virtual application.", "type": "string" }, - "toBeExportedForShoebox": { + "physicalPath": { + "description": "Physical path.", + "type": "string" + } + } + }, + "VirtualIPMapping": { + "description": "Virtual IP mapping.", + "type": "object", + "properties": { + "virtualIP": { + "description": "Virtual IP address.", + "type": "string" + }, + "internalHttpPort": { + "format": "int32", + "description": "Internal HTTP port.", + "type": "integer" + }, + "internalHttpsPort": { + "format": "int32", + "description": "Internal HTTPS port.", + "type": "integer" + }, + "inUse": { + "description": "Is virtual IP mapping in use.", "type": "boolean" - } - } - }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "DefaultErrorResponse": { - "description": "App Service error response.", + } + } + }, + "VirtualNetworkProfile": { + "description": "Specification for using a Virtual Network.", "type": "object", "properties": { - "error": { - "description": "Error model.", - "type": "object", + "id": { + "description": "Resource id of the Virtual Network.", + "type": "string" + }, + "name": { + "description": "Name of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type of the Virtual Network (read-only).", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Subnet within the Virtual Network.", + "type": "string" + } + } + }, + "VnetGateway": { + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetGateway resource specific properties", + "required": [ + "vpnPackageUri" + ], "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", + "vnetName": { + "description": "The Virtual Network name.", "type": "string", - "readOnly": true + "x-ms-mutability": [ + "create", + "read" + ] }, - "message": { - "description": "Detailed error description and debugging information.", + "vpnPackageUri": { + "description": "The URI where the VPN package can be downloaded.", "type": "string", - "readOnly": true + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "x-ms-client-flatten": true + } + } + }, + "VnetInfo": { + "description": "Virtual Network information contract.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "VnetInfo resource specific properties", + "properties": { + "vnetResourceId": { + "description": "The Virtual Network's resource ID.", + "type": "string" }, - "target": { - "description": "Detailed error description and debugging information.", + "certThumbprint": { + "description": "The client certificate thumbprint.", "type": "string", "readOnly": true }, - "details": { + "certBlob": { + "format": "byte", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", + "type": "string" + }, + "routes": { + "description": "The routes that this Virtual Network connection uses.", "type": "array", "items": { - "description": "Detailed errors.", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - } + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true }, - "innererror": { - "description": "More information to debug error.", - "type": "string", + "resyncRequired": { + "description": "true if a resync is required; otherwise, false.", + "type": "boolean", "readOnly": true + }, + "dnsServers": { + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", + "type": "string" } }, - "readOnly": true - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnection resource specific properties", - "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true + "x-ms-client-flatten": true + } } - }, - "x-ms-client-flatten": true - } - } - }, - "Identifier": { - "description": "A domain specific resource identifier.", + }, + "VnetRoute": { + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", "type": "object", "allOf": [ { @@ -1025,19 +2731,45 @@ ], "properties": { "properties": { - "description": "Identifier resource specific properties", + "description": "VnetRoute resource specific properties", "properties": { - "id": { - "description": "String representation of the identity.", + "name": { + "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-client-name": "vnetRouteName" + }, + "startAddress": { + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", + "type": "string" + }, + "endAddress": { + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", "type": "string" + }, + "routeType": { + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "type": "string", + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true + } } }, "x-ms-client-flatten": true } } }, - "IdentifierCollection": { - "description": "Collection of identifiers.", + "WebAppCollection": { + "description": "Collection of App Service apps.", "required": [ "value" ], @@ -1047,7 +2779,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/Site" } }, "nextLink": { @@ -1057,1796 +2789,64 @@ } } }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - } - } - }, - "MetricAvailability": { - "description": "Retention policy of a resource metric.", - "type": "object", - "properties": { - "timeGrain": { - "type": "string" - }, - "blobDuration": { - "type": "string" - } - } - }, - "MetricSpecification": { - "description": "Definition of a single resource metric.", + "WorkerPool": { + "description": "Worker pool of an App Service Environment.", "type": "object", "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "displayDescription": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "aggregationType": { - "type": "string" - }, - "supportsInstanceLevelAggregation": { - "type": "boolean" - }, - "enableRegionalMdmAccount": { - "type": "boolean" - }, - "sourceMdmAccount": { - "type": "string" - }, - "sourceMdmNamespace": { - "type": "string" - }, - "metricFilterPattern": { - "type": "string" - }, - "fillGapWithZero": { - "type": "boolean" + "workerSizeId": { + "format": "int32", + "description": "Worker size ID for referencing this worker pool.", + "type": "integer" }, - "isInternal": { - "type": "boolean" - }, - "dimensions": { - "type": "array", - "items": { - "$ref": "#/definitions/Dimension" + "computeMode": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false } }, - "category": { + "workerSize": { + "description": "VM size of the worker pool instances.", "type": "string" }, - "availabilities": { + "workerCount": { + "format": "int32", + "description": "Number of instances in the worker pool.", + "type": "integer" + }, + "instanceNames": { + "description": "Names of all instances in the worker pool (read only).", "type": "array", "items": { - "$ref": "#/definitions/MetricAvailability" - } - } - } - }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkAccessControlEntry": { - "description": "Network access control entry.", - "type": "object", - "properties": { - "action": { - "description": "Action object.", - "enum": [ - "Permit", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessControlEntryAction", - "modelAsString": false - } - }, - "description": { - "description": "Description of network access control entry.", - "type": "string" - }, - "order": { - "format": "int32", - "description": "Order of precedence.", - "type": "integer" - }, - "remoteSubnet": { - "description": "Remote subnet.", - "type": "string" - } - } - }, - "Operation": { - "description": "An operation on a resource.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in minutes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "ResourceMetric": { - "description": "Object representing a metric for any resource .", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of metric.", - "readOnly": true - }, - "unit": { - "description": "Metric unit.", - "type": "string", - "readOnly": true - }, - "timeGrain": { - "description": "Metric granularity. E.g PT1H, PT5M, P1D", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "Metric start time.", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "Metric end time.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Metric resource Id.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "metricValues": { - "description": "Metric values.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricValue" - }, - "readOnly": true - }, - "properties": { - "description": "Resource metric properties collection.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricCollection": { - "description": "Collection of metric responses.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetric" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "properties": { - "name": { - "$ref": "#/definitions/ResourceMetricName", - "description": "Name of the metric.", - "readOnly": true - }, - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Resource ID.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Resource metric definition properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", + "type": "string" + }, "readOnly": true - } - } - }, - "ResourceMetricName": { - "description": "Name of a metric for any resource .", - "type": "object", - "properties": { - "value": { - "description": "metric name value.", - "type": "string", - "readOnly": true - }, - "localizedValue": { - "description": "Localized metric name value.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricProperty": { - "description": "Resource metric property.", - "type": "object", - "properties": { - "key": { - "description": "Key for resource metric property.", - "type": "string" - }, - "value": { - "description": "Value of pair.", - "type": "string" - } - } - }, - "ResourceMetricValue": { - "description": "Value of resource metric.", - "type": "object", - "properties": { - "timestamp": { - "description": "Value timestamp.", - "type": "string", - "readOnly": true - }, - "average": { - "format": "float", - "description": "Value average.", - "type": "number", - "readOnly": true - }, - "minimum": { - "format": "float", - "description": "Value minimum.", - "type": "number", - "readOnly": true - }, - "maximum": { - "format": "float", - "description": "Value maximum.", - "type": "number", - "readOnly": true - }, - "total": { - "format": "float", - "description": "Value total.", - "type": "number", - "readOnly": true - }, - "count": { - "format": "float", - "description": "Value count.", - "type": "number", - "readOnly": true - }, - "properties": { - "description": "Resource metric properties collection.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricProperty" - }, - "readOnly": true - } - } - }, - "ServiceSpecification": { - "description": "Resource metrics service provided by Microsoft.Insights resource provider.", - "type": "object", - "properties": { - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - } } } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "snapshotInfo": { - "$ref": "#/definitions/SnapshotRecoveryRequest", - "description": "If specified during app creation, the app is created from a previous snapshot.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymorphic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - }, - "http20Enabled": { - "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0", - "default": true, - "type": "boolean" - }, - "minTlsVersion": { - "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests", - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string", - "x-ms-enum": { - "name": "SupportedTlsVersions", - "modelAsString": true - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Algorithm used for decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Description of a SKU for a scalable resource.", - "type": "object", - "properties": { - "name": { - "description": "Name of the resource SKU.", - "type": "string" - }, - "tier": { - "description": "Service tier of the resource SKU.", - "type": "string" - }, - "size": { - "description": "Size specifier of the resource SKU.", - "type": "string" - }, - "family": { - "description": "Family code of the resource SKU.", - "type": "string" - }, - "capacity": { - "format": "int32", - "description": "Current number of instances assigned to the resource.", - "type": "integer" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successful slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "SnapshotRecoveryRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRecoveryRequest resource specific properties", - "required": [ - "overwrite" - ], - "properties": { - "snapshotTime": { - "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", - "type": "string" - }, - "recoveryTarget": { - "$ref": "#/definitions/SnapshotRecoveryTarget", - "description": "Specifies the web app that snapshot contents will be written to." - }, - "overwrite": { - "description": "If true the recovery operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SnapshotRecoveryTarget": { - "description": "Specifies the web app that snapshot contents will be written to.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the target app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Default", - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "Request Sub Status.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "User": { - "description": "User credentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "properties": { - "name": { - "description": "Username", - "type": "string", - "x-ms-client-name": "UserName" - }, - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" } - } }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetInfo resource specific properties", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "format": "byte", - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "x-ms-client-flatten": true } - } }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ + "security": [ { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "properties": { - "name": { - "description": "The name of this route. This is only returned by the server and does not need to be set by the client.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-client-name": "vnetRouteName" - }, - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true + "azure_auth": [ + "user_impersonation" + ] } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + ] } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/DeletedWebApps.json index 82527ae38071..7d46a1413612 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/DeletedWebApps.json @@ -138,4 +138,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Diagnostics.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Diagnostics.json index 012d365b5389..326d2d98e838 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Diagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Diagnostics.json @@ -23,7 +23,9 @@ "summary": "List Hosting Environment Detector Responses", "description": "List Hosting Environment Detector Responses", "x-ms-examples": { - "List App Service Environment Detector Responses": { "$ref": "./examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json" } + "List App Service Environment Detector Responses": { + "$ref": "./examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json" + } }, "operationId": "Diagnostics_ListHostingEnvironmentDetectorResponses", "parameters": [ @@ -65,7 +67,9 @@ "summary": "Get Hosting Environment Detector Response", "description": "Get Hosting Environment Detector Response", "x-ms-examples": { - "Get App Service Environment Detector Response": { "$ref": "./examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json" } + "Get App Service Environment Detector Response": { + "$ref": "./examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json" + } }, "operationId": "Diagnostics_GetHostingEnvironmentDetectorResponse", "parameters": [ @@ -132,7 +136,9 @@ "summary": "List Site Detector Responses", "description": "List Site Detector Responses", "x-ms-examples": { - "List App Detector Responses": { "$ref": "./examples/Diagnostics_ListSiteDetectorResponses.json" } + "List App Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponses.json" + } }, "operationId": "Diagnostics_ListSiteDetectorResponses", "parameters": [ @@ -174,7 +180,9 @@ "summary": "Get site detector response", "description": "Get site detector response", "x-ms-examples": { - "Get App Detector Response": { "$ref": "./examples/Diagnostics_GetSiteDetectorResponse.json" } + "Get App Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponse.json" + } }, "operationId": "Diagnostics_GetSiteDetectorResponse", "parameters": [ @@ -660,7 +668,9 @@ "summary": "List Site Detector Responses", "description": "List Site Detector Responses", "x-ms-examples": { - "List App Slot Detector Responses": { "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot.json" } + "List App Slot Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot.json" + } }, "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", "parameters": [ @@ -709,7 +719,9 @@ "summary": "Get site detector response", "description": "Get site detector response", "x-ms-examples": { - "Get App Slot Detector Response": { "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot.json" } + "Get App Slot Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot.json" + } }, "operationId": "Diagnostics_GetSiteDetectorResponseSlot", "parameters": [ @@ -2000,4 +2012,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Provider.json index c428bc8939c5..cf79366c55b1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Provider.json @@ -252,4 +252,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Recommendations.json index 7b7e016f91f5..3d8b7dc5166c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Recommendations.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/Recommendations.json @@ -676,4 +676,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/ResourceHealthMetadata.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/ResourceHealthMetadata.json index 9d9da720c819..aff94595cf5c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/ResourceHealthMetadata.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/ResourceHealthMetadata.json @@ -400,4 +400,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/CreateOrUpdateCertificate.json index b5996e8cde6d..495be5c2e126 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/CreateOrUpdateCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/CreateOrUpdateCertificate.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2016-03-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2016-03-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/DeleteCertificate.json index bdc80d142de6..63e0023bbec8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/DeleteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/DeleteCertificate.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "testc6282", - "api-version": "2016-03-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2016-03-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json index bfe0b5863140..478d1c4784ad 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json @@ -1,134 +1,134 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "analysisName": "apprestartanalyses", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json index 39da3d171541..4f396a3037e4 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json @@ -1,135 +1,135 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "analysisName": "apprestartanalyses", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetector.json index 2811ddf2d30b..11e94e9a65b8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetector.json @@ -1,134 +1,134 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json index 217248f4e521..3f5d55441f52 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json @@ -1,135 +1,135 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json index 45433e2a7526..2b157ffa145f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -1,136 +1,136 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAppServiceEnvironment", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes all the requests to all applications running on this app service environment.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAppServiceEnvironment", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysis.json index 29b55f62fac5..228541eb759e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysis.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "analysisName": "appanalysis", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "analysisName": "appanalysis", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json index 8177226432f1..80afb644ba1b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "analysisName": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "analysisName": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetector.json index 0b494949a246..95f8035dbd71 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetector.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponse.json index df95673505bc..707988a50737 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -1,136 +1,136 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "Web App Down", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "Web App Down", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your app received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json index c8942612ca76..b9fbd793a4e3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -1,137 +1,137 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "Web App Down", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "Web App Down", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your app received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorSlot.json index 50b4630b4c3d..29987ad06af0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json index 58e691169e5b..2fa8a328e462 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json index b3f9d6326af9..9d6c50408f5a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json index b9bc21ae1030..0161800ab593 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -1,30 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAppServiceEnvironment", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes all the requests to all applications running on this app service environment.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAppServiceEnvironment", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalyses.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalyses.json index dbdacf78c78d..a93b1abfdd68 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalyses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalyses.json @@ -1,57 +1,57 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "name": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", - "name": "memoryanalysis", - "properties": { - "name": "memoryanalysis", - "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", - "name": "tcpconnectionsanalysis", - "properties": { - "name": "tcpconnectionsanalysis", - "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", - "name": "perfanalysis", - "properties": { - "name": "perfanalysis", - "description": "Determine causes of performance degredation as well as solutions for these problems" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "name": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", + "name": "memoryanalysis", + "properties": { + "name": "memoryanalysis", + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", + "name": "tcpconnectionsanalysis", + "properties": { + "name": "tcpconnectionsanalysis", + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", + "name": "perfanalysis", + "properties": { + "name": "perfanalysis", + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json index 9c5ea32f0cff..33fe52dfdaf9 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -1,58 +1,58 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "name": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", - "name": "memoryanalysis", - "properties": { - "name": "memoryanalysis", - "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", - "name": "tcpconnectionsanalysis", - "properties": { - "name": "tcpconnectionsanalysis", - "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", - "name": "perfanalysis", - "properties": { - "name": "perfanalysis", - "description": "Determine causes of performance degredation as well as solutions for these problems" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "name": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", + "name": "memoryanalysis", + "properties": { + "name": "memoryanalysis", + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", + "name": "tcpconnectionsanalysis", + "properties": { + "name": "tcpconnectionsanalysis", + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", + "name": "perfanalysis", + "properties": { + "name": "perfanalysis", + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponses.json index 6af6c89b8d6e..5e2e145a2811 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -1,30 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json index dd2bc3d39cf7..ee97f2052943 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -1,31 +1,30 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectors.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectors.json index 405e79ba05ae..af438b7fd807 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectors.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectors.json @@ -1,233 +1,233 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", - "name": "servicehealth", - "location": "West US", - "properties": { - "name": "servicehealth", - "displayName": "Service Health", - "description": null, - "rank": 1, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", - "name": "siteswap", - "location": "West US", - "properties": { - "name": "siteswap", - "displayName": "Site Swap Operations", - "description": null, - "rank": 8, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", - "name": "deployment", - "location": "West US", - "properties": { - "name": "deployment", - "displayName": "Site Deployments", - "description": null, - "rank": 7, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", - "name": "sitecpuanalysis", - "location": "West US", - "properties": { - "name": "sitecpuanalysis", - "displayName": "CPU Analysis", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", - "name": "sitememoryanalysis", - "location": "West US", - "properties": { - "name": "sitememoryanalysis", - "displayName": "Physical Memory Analysis", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", - "name": "committedmemoryusage", - "location": "West US", - "properties": { - "name": "committedmemoryusage", - "displayName": "Committed Memory Usage", - "description": null, - "rank": 7, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", - "name": "pagefileoperations", - "location": "West US", - "properties": { - "name": "pagefileoperations", - "displayName": "Page File Operations", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", - "name": "siterestartuserinitiated", - "location": "West US", - "properties": { - "name": "siterestartuserinitiated", - "displayName": "User Initiated Site Restarts", - "description": null, - "rank": 14, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", - "name": "siterestartsettingupdate", - "location": "West US", - "properties": { - "name": "siterestartsettingupdate", - "displayName": "Config Update Site Restarts", - "description": null, - "rank": 12, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", - "name": "frebanalysis", - "location": "West US", - "properties": { - "name": "frebanalysis", - "displayName": "Freb Logs Analysis", - "description": null, - "rank": 6, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", - "name": "workeravailability", - "location": "West US", - "properties": { - "name": "workeravailability", - "displayName": "Worker Availability", - "description": null, - "rank": 11, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", - "name": "sitelatency", - "location": "West US", - "properties": { - "name": "sitelatency", - "displayName": "Site Latency", - "description": null, - "rank": 1005, - "isEnabled": false - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", - "name": "threadcount", - "location": "West US", - "properties": { - "name": "threadcount", - "displayName": "Thread Count", - "description": null, - "rank": 23, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", - "name": "failedrequestsperuri", - "location": "West US", - "properties": { - "name": "failedrequestsperuri", - "displayName": "Failed Requests Per URI", - "description": null, - "rank": 998, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", - "name": "autoheal", - "location": "West US", - "properties": { - "name": "autoheal", - "displayName": "AutoHeal", - "description": null, - "rank": 21, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", - "name": "loganalyzer", - "location": "West US", - "properties": { - "name": "loganalyzer", - "displayName": "PHP Log Analyzer", - "description": null, - "rank": 26, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", - "name": "aspnetcore", - "location": "West US", - "properties": { - "name": "aspnetcore", - "displayName": "ASP.NET Core", - "description": null, - "rank": 5, - "isEnabled": true - } - } - ] - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", + "name": "servicehealth", + "location": "West US", + "properties": { + "name": "servicehealth", + "displayName": "Service Health", + "description": null, + "rank": 1, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", + "name": "siteswap", + "location": "West US", + "properties": { + "name": "siteswap", + "displayName": "Site Swap Operations", + "description": null, + "rank": 8, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", + "name": "deployment", + "location": "West US", + "properties": { + "name": "deployment", + "displayName": "Site Deployments", + "description": null, + "rank": 7, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", + "name": "sitecpuanalysis", + "location": "West US", + "properties": { + "name": "sitecpuanalysis", + "displayName": "CPU Analysis", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", + "name": "sitememoryanalysis", + "location": "West US", + "properties": { + "name": "sitememoryanalysis", + "displayName": "Physical Memory Analysis", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", + "name": "committedmemoryusage", + "location": "West US", + "properties": { + "name": "committedmemoryusage", + "displayName": "Committed Memory Usage", + "description": null, + "rank": 7, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", + "name": "pagefileoperations", + "location": "West US", + "properties": { + "name": "pagefileoperations", + "displayName": "Page File Operations", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", + "name": "siterestartuserinitiated", + "location": "West US", + "properties": { + "name": "siterestartuserinitiated", + "displayName": "User Initiated Site Restarts", + "description": null, + "rank": 14, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", + "name": "siterestartsettingupdate", + "location": "West US", + "properties": { + "name": "siterestartsettingupdate", + "displayName": "Config Update Site Restarts", + "description": null, + "rank": 12, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", + "name": "frebanalysis", + "location": "West US", + "properties": { + "name": "frebanalysis", + "displayName": "Freb Logs Analysis", + "description": null, + "rank": 6, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", + "name": "workeravailability", + "location": "West US", + "properties": { + "name": "workeravailability", + "displayName": "Worker Availability", + "description": null, + "rank": 11, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", + "name": "sitelatency", + "location": "West US", + "properties": { + "name": "sitelatency", + "displayName": "Site Latency", + "description": null, + "rank": 1005, + "isEnabled": false + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", + "name": "threadcount", + "location": "West US", + "properties": { + "name": "threadcount", + "displayName": "Thread Count", + "description": null, + "rank": 23, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", + "name": "failedrequestsperuri", + "location": "West US", + "properties": { + "name": "failedrequestsperuri", + "displayName": "Failed Requests Per URI", + "description": null, + "rank": 998, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", + "name": "autoheal", + "location": "West US", + "properties": { + "name": "autoheal", + "displayName": "AutoHeal", + "description": null, + "rank": 21, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", + "name": "loganalyzer", + "location": "West US", + "properties": { + "name": "loganalyzer", + "displayName": "PHP Log Analyzer", + "description": null, + "rank": 26, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", + "name": "aspnetcore", + "location": "West US", + "properties": { + "name": "aspnetcore", + "displayName": "ASP.NET Core", + "description": null, + "rank": 5, + "isEnabled": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json index 99e2dd415ec8..ffc2c1461e95 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -1,66 +1,66 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", - "name": "servicehealth", - "location": "West US", - "properties": { - "name": "servicehealth", - "displayName": "Service Health", - "description": null, - "rank": 1, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", - "name": "siteswap", - "location": "West US", - "properties": { - "name": "siteswap", - "displayName": "Site Swap Operations", - "description": null, - "rank": 8, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", - "name": "deployment", - "location": "West US", - "properties": { - "name": "deployment", - "displayName": "Site Deployments", - "description": null, - "rank": 7, - "isEnabled": true - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", + "name": "servicehealth", + "location": "West US", + "properties": { + "name": "servicehealth", + "displayName": "Service Health", + "description": null, + "rank": 1, + "isEnabled": true } - } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", + "name": "siteswap", + "location": "West US", + "properties": { + "name": "siteswap", + "displayName": "Site Swap Operations", + "description": null, + "rank": 8, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", + "name": "deployment", + "location": "West US", + "properties": { + "name": "deployment", + "displayName": "Site Deployments", + "description": null, + "rank": 7, + "isEnabled": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json index d549c600e0a6..37d4cf57ed38 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json index 4900d0b61557..60b18ca59bd2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetCertificate.json index 773aa7a4c2b6..9d6a36be9738 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetCertificate.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetResourceHealthMetadataBySite.json index 85faf72f552d..72b8ef56365d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/GetResourceHealthMetadataBySite.json @@ -1,23 +1,23 @@ { - "parameters":{ - "api-version":"2016-03-01", - "name":"newsiteinnewASE-NCUS", - "slot":"Production", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38", - "metadataName":"default" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } + "parameters": { + "api-version": "2016-03-01", + "name": "newsiteinnewASE-NCUS", + "slot": "Production", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListBillingMeters.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListBillingMeters.json index 2189bce49603..65d868fb6bca 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListBillingMeters.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListBillingMeters.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificates.json index daca2ef70a6a..b4d5fde49b7d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificates.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificatesByResourceGroup.json index 6a13af0f3518..92c01993aa2a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListCertificatesByResourceGroup.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListOperations.json index 77db300aef66..570138179c3e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListOperations.json @@ -1,5781 +1,5781 @@ { - "parameters": { - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.Web/sites/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App", - "description": "Get the properties of a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Create or Update Web App", - "description": "Create a new Web App or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Create or Update Web App Slot", - "description": "Create a new Web App Slot or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Delete Web App", - "description": "Delete an existing Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Delete Web App Slot", - "description": "Delete an existing Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Configuration", - "description": "Get Web App Slot's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Configuration", - "description": "Get Web App configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/list/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "List Web App Security Sensitive Settings", - "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/list/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "List Web App Slot Security Sensitive Settings", - "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Update Web App Configuration", - "description": "Update Web App's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Update Web App Slot Configuration", - "description": "Update Web App Slot's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Source Control Configuration", - "description": "Get Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Source Control Configuration", - "description": "Get Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Update Web App Source Control Configuration", - "description": "Update Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Update Web App Slot Source Control Configuration", - "description": "Update Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Delete Web App Source Control Configuration", - "description": "Delete Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Delete Web App Slot Source Control Configuration", - "description": "Delete Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/backup/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Create Web App Backup", - "description": "Create a new web app backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/backup/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Create Web App Slot Backup", - "description": "Create new Web App Slot backup." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/backups/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Backup", - "description": "Get the properties of a web app's backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/backups/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "List Web App Slot Backups", - "description": "Get the properties of a web app slots' backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/publishxml/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Publishing Profile", - "description": "Get publishing profile xml for a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/publishxml/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Publishing Profile", - "description": "Get publishing profile xml for Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/publish/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Publish Web App", - "description": "Publish a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/publish/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Publish Web App Slot", - "description": "Publish a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/restart/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Restart Web App", - "description": "Restart a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/restart/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Restart Web App Slot", - "description": "Restart a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/start/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Start Web App", - "description": "Start a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/start/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Start Web App Slot", - "description": "Start a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/stop/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Stop Web App", - "description": "Stop a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/stop/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Stop Web App Slot", - "description": "Stop a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slotsswap/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/slotsswap/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slotsdiffs/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/applySlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Apply Web App Configuration", - "description": "Apply web app slot configuration from target slot to the current web app" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Apply Web App Slot Configuration", - "description": "Apply web app slot configuration from target slot to the current slot." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/resetSlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Reset Web App Configuration", - "description": "Reset web app configuration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Reset Web App Slot Configuration", - "description": "Reset web app slot configuration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Deployment Slot", - "description": "Get the properties of a Web App deployment slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Get App Service Plan", - "description": "Get the properties on an App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Create or Update App Service Plan", - "description": "Create a new App Service Plan or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Delete App Service Plan", - "description": "Delete an existing App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/restartSites/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Restart Web Apps", - "description": "Restart all Web Apps in an App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Get Certificates", - "description": "Get the list of certificates." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Add or Update Certificate", - "description": "Add a new certificate or update an existing one." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Delete Certificate", - "description": "Delete an existing certificate." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/geoRegions/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Geo Region", - "operation": "Get Geo Regions", - "description": "Get the list of Geo regions." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/listSitesAssignedToHostName/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Site Name", - "operation": "Get sites assigned to hostname", - "description": "Get names of sites assigned to hostname." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Get App Service Environment", - "description": "Get the properties of an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Create or Update App Service Environment", - "description": "Create a new App Service Environment or update existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Delete App Service Environment", - "description": "Delete an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/reboot/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Reboot an App Service Environment", - "description": "Reboot all machines in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", - "operation": "Get FrontEnd Pool", - "description": "Get the properties of a FrontEnd Pool in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", - "operation": "Create or Update FrontEnd Pool", - "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", - "operation": "Get Worker Pool", - "description": "Get the properties of a Worker Pool in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", - "operation": "Create or Update Worker Pool", - "description": "Create a new Worker Pool in an App Service Environment or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Get Connections", - "description": "Get the list of Connections." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Add or Update Connection", - "description": "Creates or updates a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Delete Connection", - "description": "Deletes a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Join/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Join Connection", - "description": "Joins a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Get Connection Gateways", - "description": "Get the list of Connection Gateways." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Add or Update Connection Gateways", - "description": "Creates or updates a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Delete Connection Gateway", - "description": "Deletes a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Join/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Join Connection Gateway", - "description": "Joins a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/recommendations/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", - "operation": "Get recommendations", - "description": "Get the list of recommendations for subscriptions." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/recommendations/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", - "operation": "Get recommendations for web app", - "description": "Get the list of recommendations for web app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/availablestacks/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Available Stacks", - "operation": "Get Available Stacks", - "description": "Get Available Stacks." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/checknameavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Check Name Availability", - "operation": "Get Check Name Availability", - "description": "Check if resource name is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/classicmobileservices/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Classic Mobile Services", - "operation": "Get Classic Mobile Services", - "description": "Get Classic Mobile Services." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connections/confirmconsentcode/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Confirm Connections Consent Code", - "description": "Confirm Connections Consent Code." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connections/listconsentlinks/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "List Consent Links for Connections", - "description": "List Consent Links for Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/deploymentlocations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Deployment Locations", - "operation": "Get Deployment Locations", - "description": "Get Deployment Locations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/capacities/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Capacities", - "operation": "Get Hosting Environments Capacities", - "description": "Get Hosting Environments Capacities." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Diagnostics", - "operation": "Get Hosting Environments Diagnostics", - "description": "Get Hosting Environments Diagnostics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Metric Definitions", - "operation": "Get Hosting Environments Metric Definitions", - "description": "Get Hosting Environments Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metric Definitions", - "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", - "description": "Get Hosting Environments MultiRole Pools Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metrics", - "operation": "Get Hosting Environments MultiRole Pools Metrics", - "description": "Get Hosting Environments MultiRole Pools Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools SKUs", - "operation": "Get Hosting Environments MultiRole Pools SKUs", - "description": "Get Hosting Environments MultiRole Pools SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Usages", - "operation": "Get Hosting Environments MultiRole Pools Usages", - "description": "Get Hosting Environments MultiRole Pools Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Operations", - "operation": "Get Hosting Environments Operations", - "description": "Get Hosting Environments Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/resume/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", - "operation": "Resume Hosting Environments", - "description": "Resume Hosting Environments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/serverfarms/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments App Service Plans", - "operation": "Get Hosting Environments App Service Plans", - "description": "Get Hosting Environments App Service Plans." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Web Apps", - "operation": "Get Hosting Environments Web Apps", - "description": "Get Hosting Environments Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/suspend/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", - "operation": "Suspend Hosting Environments", - "description": "Suspend Hosting Environments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Usages", - "operation": "Get Hosting Environments Usages", - "description": "Get Hosting Environments Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metric Definitions", - "operation": "Get Hosting Environments Workerpools Metric Definitions", - "description": "Get Hosting Environments Workerpools Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metrics", - "operation": "Get Hosting Environments Workerpools Metrics", - "description": "Get Hosting Environments Workerpools Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools SKUs", - "operation": "Get Hosting Environments Workerpools SKUs", - "description": "Get Hosting Environments Workerpools SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Usages", - "operation": "Get Hosting Environments Workerpools Usages", - "description": "Get Hosting Environments Workerpools Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/ishostingenvironmentnameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environment Name", - "operation": "Check if Hosting Environment Name is available", - "description": "Get if Hosting Environment Name is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/ishostnameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hostname", - "operation": "Check if Hostname is Available", - "description": "Check if Hostname is Available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/isusernameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Username", - "operation": "Check if Username is available", - "description": "Check if Username is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/apioperations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations API Operations", - "operation": "Get Locations API Operations", - "description": "Get Locations API Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/connectiongatewayinstallations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Connection Gateway Installations", - "operation": "Get Locations Connection Gateway Installations", - "description": "Get Locations Connection Gateway Installations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/managedapis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Managed APIs", - "operation": "Get Locations Managed APIs", - "description": "Get Locations Managed APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Operations", - "operation": "Get Operations", - "description": "Get Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/publishingusers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", - "operation": "Get Publishing Users", - "description": "Get Publishing Users." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/publishingusers/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", - "operation": "Update Publishing Users", - "description": "Update Publishing Users." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/capabilities/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Capabilities", - "operation": "Get App Service Plans Capabilities", - "description": "Get App Service Plans Capabilities." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Delete App Service Plans First Party Apps Settings", - "description": "Delete App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Get App Service Plans First Party Apps Settings", - "description": "Get App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Update App Service Plans First Party Apps Settings", - "description": "Update App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps", - "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Plan Limits", - "operation": "Get App Service Plans Hybrid Connection Plan Limits", - "description": "Get App Service Plans Hybrid Connection Plan Limits." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Relays", - "operation": "Get App Service Plans Hybrid Connection Relays", - "description": "Get App Service Plans Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metric Definitions", - "operation": "Get App Service Plans Metric Definitions", - "description": "Get App Service Plans Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metrics", - "operation": "Get App Service Plans Metrics", - "description": "Get App Service Plans Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Operation Results", - "operation": "Get App Service Plans Operation Results", - "description": "Get App Service Plans Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Web Apps", - "operation": "Get App Service Plans Web Apps", - "description": "Get App Service Plans Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans SKUs", - "operation": "Get App Service Plans SKUs", - "description": "Get App Service Plans SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Usages", - "operation": "Get App Service Plans Usages", - "description": "Get App Service Plans Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Gateways", - "operation": "Update App Service Plans Virtual Network Connections Gateways", - "description": "Update App Service Plans Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections", - "operation": "Get App Service Plans Virtual Network Connections", - "description": "Get App Service Plans Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Delete App Service Plans Virtual Network Connections Routes", - "description": "Delete App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Get App Service Plans Virtual Network Connections Routes", - "description": "Get App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Update App Service Plans Virtual Network Connections Routes", - "description": "Update App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/workers/reboot/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Workers", - "operation": "Reboot App Service Plans Workers", - "description": "Reboot App Service Plans Workers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/analyzecustomhostname/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom Hostname", - "operation": "Analyze Custom Hostname", - "description": "Analyze Custom Hostname." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backup/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", - "operation": "Get Web Apps Backup", - "description": "Get Web Apps Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backup/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", - "operation": "Update Web Apps Backup", - "description": "Update Web Apps Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/list/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "List Web Apps Backups", - "description": "List Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/restore/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "Restore Web Apps Backups", - "description": "Restore Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/config/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Config", - "operation": "Delete Web Apps Config", - "description": "Delete Web Apps Config." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Delete Web Apps Continuous Web Jobs", - "description": "Delete Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Get Web Apps Continuous Web Jobs", - "description": "Get Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/start/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Start Web Apps Continuous Web Jobs", - "description": "Start Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/stop/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Stop Web Apps Continuous Web Jobs", - "description": "Stop Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Delete Web Apps Deployments", - "description": "Delete Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments Log", - "operation": "Get Web Apps Deployments Log", - "description": "Get Web Apps Deployments Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Get Web Apps Deployments", - "description": "Get Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Update Web Apps Deployments", - "description": "Update Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/frebanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics FREB Analysis", - "operation": "Get Web Apps Diagnostics FREB Analysis", - "description": "Get Web Apps Diagnostics FREB Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics FREB Analysis", - "operation": "Get Web Apps Slots Diagnostics FREB Analysis", - "description": "Get Web Apps Slots Diagnostics FREB Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Category", - "operation": "Get Web Apps Diagnostics Category", - "description": "Get Web Apps Diagnostics Categories." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Runtime Availability", - "operation": "Get Web Apps Diagnostics Runtime Availability", - "description": "Get Web Apps Diagnostics Runtime Availability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/servicehealth/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Service Health", - "operation": "Get Web Apps Diagnostics Service Health", - "description": "Get Web Apps Diagnostics Service Health." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/workeravailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Workeravailability", - "operation": "Get Web Apps Diagnostics Workeravailability", - "description": "Get Web Apps Diagnostics Workeravailability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Workeravailability", - "operation": "Get Web Apps Slots Diagnostics Workeravailability", - "description": "Get Web Apps Slots Diagnostics Workeravailability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Worker Process Recycle", - "operation": "Get Web Apps Diagnostics Worker Process Recycle", - "description": "Get Web Apps Diagnostics Worker Process Recycle." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Worker Process Recycle", - "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", - "description": "Get Web Apps Slots Diagnostics Worker Process Recycle." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/aspnetcore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics ASP.NET Core", - "operation": "Get Web Apps Diagnostics ASP.NET Core", - "description": "Get Web Apps Diagnostics for ASP.NET Core app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics ASP.NET Core", - "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", - "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/domainownershipidentifiers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", - "operation": "Get Web Apps Domain Ownership Identifiers", - "description": "Get Web Apps Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/domainownershipidentifiers/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", - "operation": "Update Web Apps Domain Ownership Identifiers", - "description": "Update Web Apps Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Functions Web Apps", - "description": "Functions Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Delete Web Apps Functions", - "description": "Delete Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/listsecrets/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "List Secrets Web Apps Functions", - "description": "List Secrets Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Get Web Apps Functions", - "description": "Get Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Update Web Apps Functions", - "description": "Update Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Delete Web Apps Hostname Bindings", - "description": "Delete Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Get Web Apps Hostname Bindings", - "description": "Get Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Update Web Apps Hostname Bindings", - "description": "Update Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Delete Web Apps Hybrid Connection", - "description": "Delete Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Get Web Apps Hybrid Connection", - "description": "Get Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Update Web Apps Hybrid Connection", - "description": "Update Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Relays", - "operation": "Get Web Apps Hybrid Connection Relays", - "description": "Get Web Apps Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", - "operation": "Get Web Apps Instances Deployments", - "description": "Get Web Apps Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/processes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", - "operation": "Delete Web Apps Instances Processes", - "description": "Delete Web Apps Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", - "operation": "Get Web Apps Instances Processes", - "description": "Get Web Apps Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances", - "operation": "Get Web Apps Instances", - "description": "Get Web Apps Instances." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "List Sync Function Trigger Status Web Apps", - "description": "List Sync Function Trigger Status Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metric Definitions", - "operation": "Get Web Apps Metric Definitions", - "description": "Get Web Apps Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics", - "operation": "Get Web Apps Metrics", - "description": "Get Web Apps Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/networktrace/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Network Trace Web Apps", - "description": "Network Trace Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/newpassword/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Newpassword Web Apps", - "description": "Newpassword Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operation Results", - "operation": "Get Web Apps Operation Results", - "description": "Get Web Apps Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/perfcounters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Performance Counters", - "operation": "Get Web Apps Performance Counters", - "description": "Get Web Apps Performance Counters." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Delete Web Apps Premier Addons", - "description": "Delete Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Get Web Apps Premier Addons", - "description": "Get Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Update Web Apps Premier Addons", - "description": "Update Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publishxml/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Publishing XML", - "operation": "Get Web Apps Publishing XML", - "description": "Get Web Apps Publishing XML." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recommendationhistory/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendation History", - "operation": "Get Web Apps Recommendation History", - "description": "Get Web Apps Recommendation History." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recommendations/disable/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendations", - "operation": "Disable Web Apps Recommendations", - "description": "Disable Web Apps Recommendations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/restore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Restore", - "operation": "Get Web Apps Restore", - "description": "Get Web Apps Restore." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/analyzecustomhostname/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Analyze Custom Hostname", - "operation": "Get Web Apps Slots Analyze Custom Hostname", - "description": "Get Web Apps Slots Analyze Custom Hostname." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backup/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", - "operation": "Update Web Apps Slots Backup", - "description": "Update Web Apps Slots Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/list/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "List Web Apps Slots Backups", - "description": "List Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/restore/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "Restore Web Apps Slots Backups", - "description": "Restore Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/config/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Config", - "operation": "Delete Web Apps Slots Config", - "description": "Delete Web Apps Slots Config." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Delete Web Apps Slots Continuous Web Jobs", - "description": "Delete Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Get Web Apps Slots Continuous Web Jobs", - "description": "Get Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Start Web Apps Slots Continuous Web Jobs", - "description": "Start Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Stop Web Apps Slots Continuous Web Jobs", - "description": "Stop Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Delete Web Apps Slots Deployments", - "description": "Delete Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments Log", - "operation": "Get Web Apps Slots Deployments Log", - "description": "Get Web Apps Slots Deployments Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Get Web Apps Slots Deployments", - "description": "Get Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Update Web Apps Slots Deployments", - "description": "Update Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Delete Web Apps Slots Hostname Bindings", - "description": "Delete Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Get Web Apps Slots Hostname Bindings", - "description": "Get Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Update Web Apps Slots Hostname Bindings", - "description": "Update Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Delete Web Apps Slots Hybrid Connection", - "description": "Delete Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Get Web Apps Slots Hybrid Connection", - "description": "Get Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Update Web Apps Slots Hybrid Connection", - "description": "Update Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Deployments", - "operation": "Get Web Apps Slots Instances Deployments", - "description": "Get Web Apps Slots Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", - "operation": "Get Web Apps Slots Instances Processes", - "description": "Get Web Apps Slots Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances", - "operation": "Get Web Apps Slots Instances", - "description": "Get Web Apps Slots Instances." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metric Definitions", - "operation": "Get Web Apps Slots Metric Definitions", - "description": "Get Web Apps Slots Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metrics", - "operation": "Get Web Apps Slots Metrics", - "description": "Get Web Apps Slots Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/newpassword/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Newpassword Web Apps Slots", - "description": "Newpassword Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operation Results", - "operation": "Get Web Apps Slots Operation Results", - "description": "Get Web Apps Slots Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/phplogging/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Phplogging", - "operation": "Get Web Apps Slots Phplogging", - "description": "Get Web Apps Slots Phplogging." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Delete Web Apps Slots Premier Addons", - "description": "Delete Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Get Web Apps Slots Premier Addons", - "description": "Get Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Update Web Apps Slots Premier Addons", - "description": "Update Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/restore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Restore", - "operation": "Get Web Apps Slots Restore", - "description": "Get Web Apps Slots Restore." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/sync/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Sync Web Apps Slots", - "description": "Sync Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Delete Web Apps Slots Triggered WebJobs", - "description": "Delete Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Get Web Apps Slots Triggered WebJobs", - "description": "Get Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Run Web Apps Slots Triggered WebJobs", - "description": "Run Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Usages", - "operation": "Get Web Apps Slots Usages", - "description": "Get Web Apps Slots Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Delete Web Apps Slots Virtual Network Connections", - "description": "Delete Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections Gateways", - "operation": "Update Web Apps Slots Virtual Network Connections Gateways", - "description": "Update Web Apps Slots Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Get Web Apps Slots Virtual Network Connections", - "description": "Get Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Update Web Apps Slots Virtual Network Connections", - "description": "Update Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/webjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots WebJobs", - "operation": "Get Web Apps Slots WebJobs", - "description": "Get Web Apps Slots WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/snapshots/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Snapshots", - "operation": "Get Web Apps Snapshots", - "description": "Get Web Apps Snapshots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/sync/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Sync Web Apps", - "description": "Sync Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Delete Web Apps Triggered WebJobs", - "description": "Delete Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Get Web Apps Triggered WebJobs", - "description": "Get Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/run/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Run Web Apps Triggered WebJobs", - "description": "Run Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Usages", - "operation": "Get Web Apps Usages", - "description": "Get Web Apps Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Delete Web Apps Virtual Network Connections", - "description": "Delete Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", - "operation": "Get Web Apps Virtual Network Connections Gateways", - "description": "Get Web Apps Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", - "operation": "Update Web Apps Virtual Network Connections Gateways", - "description": "Update Web Apps Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Get Web Apps Virtual Network Connections", - "description": "Get Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Update Web Apps Virtual Network Connections", - "description": "Update Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/webjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps WebJobs", - "operation": "Get Web Apps WebJobs", - "description": "Get Web Apps WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "SKUs", - "operation": "Get SKUs", - "description": "Get SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sourcecontrols/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", - "operation": "Get Source Controls", - "description": "Get Source Controls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sourcecontrols/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", - "operation": "Update Source Controls", - "description": "Update Source Controls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/unregister/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", - "operation": "Unregister Microsoft.Web resource provider", - "description": "Unregister Microsoft.Web resource provider for the subscription." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/validate/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "", - "operation": "Validate ", - "description": "Validate ." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/register/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", - "operation": "Register Microsoft.Web resource provider", - "description": "Register Microsoft.Web resource provider for the subscription." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", - "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "Delete Web Apps Backups", - "description": "Delete Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", - "description": "List Keys Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Update Web Apps Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metricsdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics Definitions", - "operation": "Get Web Apps Metrics Definitions", - "description": "Get Web Apps Metrics Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/migratemysql/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Migrate MySql Web Apps", - "description": "Migrate MySql Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/migratemysql/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Migrate MySql", - "operation": "Get Web Apps Migrate MySql", - "description": "Get Web Apps Migrate MySql." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recover/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Recover Web Apps", - "description": "Recover Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Delete Web Apps Site Extensions", - "description": "Delete Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Get Web Apps Site Extensions", - "description": "Get Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Update Web Apps Site Extensions", - "description": "Update Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backup/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", - "operation": "Get Web Apps Slots Backup", - "description": "Get Web Apps Slots Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Relays", - "operation": "Get Web Apps Slots Hybrid Connection Relays", - "description": "Get Web Apps Slots Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Delete Web Apps Slots Site Extensions", - "description": "Delete Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Get Web Apps Slots Site Extensions", - "description": "Get Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Update Web Apps Slots Site Extensions", - "description": "Update Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/snapshots/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Snapshots", - "operation": "Get Web Apps Slots Snapshots", - "description": "Get Web Apps Slots Snapshots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/syncfunctiontriggers/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Sync Function Triggers for Web Apps", - "description": "Sync Function Triggers for Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/history/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs History", - "operation": "Get Web Apps Triggered WebJobs History", - "description": "Get Web Apps Triggered WebJobs History." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connectiongateways/liststatus/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "List Status Connection Gateways", - "description": "List Status Connection Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", - "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", - "description": "Delete App Service Plans Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/deployment/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployment", - "operation": "Get Web Apps Diagnostics Deployment", - "description": "Get Web Apps Diagnostics Deployment." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site CPU Analysis", - "operation": "Get Web Apps Diagnostics Site CPU Analysis", - "description": "Get Web Apps Diagnostics Site CPU Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Latency", - "operation": "Get Web Apps Diagnostics Site Latency", - "description": "Get Web Apps Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Memory Analysis", - "operation": "Get Web Apps Diagnostics Site Memory Analysis", - "description": "Get Web Apps Diagnostics Site Memory Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/threadcount/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Thread Count", - "operation": "Get Web Apps Diagnostics Thread Count", - "description": "Get Web Apps Diagnostics Thread Count." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/deployment/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployment", - "operation": "Get Web Apps Slots Diagnostics Deployment", - "description": "Get Web Apps Slots Diagnostics Deployment." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site CPU Analysis", - "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", - "description": "Get Web Apps Slots Diagnostics Site CPU Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", - "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Memory Analysis", - "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", - "description": "Get Web Apps Slots Diagnostics Site Memory Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Thread Count", - "operation": "Get Web Apps Slots Diagnostics Thread Count", - "description": "Get Web Apps Slots Diagnostics Thread Count." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/masterkey/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Masterkey", - "operation": "Get Web Apps Functions Masterkey", - "description": "Get Web Apps Functions Masterkey." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Get Web Apps Hybrid Connection Namespaces Relays", - "description": "Get Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/extensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions", - "operation": "Get Web Apps Instances Extensions", - "description": "Get Web Apps Instances Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operations", - "operation": "Get Web Apps Operations", - "description": "Get Web Apps Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/resourcehealthmetadata/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Resource Health Metadata", - "operation": "Get Web Apps Resource Health Metadata", - "description": "Get Web Apps Resource Health Metadata." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "Delete Web Apps Slots Backups", - "description": "Delete Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Domain Ownership Identifiers", - "operation": "Get Web Apps Slots Domain Ownership Identifiers", - "description": "Get Web Apps Slots Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", - "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", - "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operations", - "operation": "Get Web Apps Slots Operations", - "description": "Get Web Apps Slots Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/perfcounters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Performance Counters", - "operation": "Get Web Apps Slots Performance Counters", - "description": "Get Web Apps Slots Performance Counters." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Resource Health Metadata", - "operation": "Get Web Apps Slots Resource Health Metadata", - "description": "Get Web Apps Slots Resource Health Metadata." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apiacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Apiacls", - "operation": "Get Api Management Accounts Apiacls", - "description": "Get Api Management Accounts Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Get Api Management Accounts APIs Connections", - "description": "Get Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Get Api Management Accounts APIs", - "description": "Get Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Connectionacls", - "operation": "Get Api Management Accounts Connectionacls", - "description": "Get Api Management Accounts Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Delete Api Management Accounts APIs Apiacls", - "description": "Delete Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Get Api Management Accounts APIs Apiacls", - "description": "Get Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Update Api Management Accounts APIs Apiacls", - "description": "Update Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connectionacls", - "operation": "Get Api Management Accounts APIs Connectionacls", - "description": "Get Api Management Accounts APIs Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Confirm Consent Code Api Management Accounts APIs Connections", - "description": "Confirm Consent Code Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Delete Api Management Accounts APIs Connections Connectionacls", - "description": "Delete Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Get Api Management Accounts APIs Connections Connectionacls", - "description": "Get Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Update Api Management Accounts APIs Connections Connectionacls", - "description": "Update Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Delete Api Management Accounts APIs Connections", - "description": "Delete Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Get Consent Links for Api Management Accounts APIs Connections", - "description": "Get Consent Links for Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Update Api Management Accounts APIs Connections", - "description": "Update Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Delete Api Management Accounts APIs", - "description": "Delete Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Delete Api Management Accounts APIs Localized Definitions", - "description": "Delete Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Get Api Management Accounts APIs Localized Definitions", - "description": "Get Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Update Api Management Accounts APIs Localized Definitions", - "description": "Update Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Update Api Management Accounts APIs", - "description": "Update Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "List Connection Keys Api Management Accounts APIs Connections", - "description": "List Connection Keys Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "List Secrets Api Management Accounts APIs Connections", - "description": "List Secrets Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployments", - "operation": "Get Web Apps Diagnostics Deployments", - "description": "Get Web Apps Diagnostics Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployments", - "operation": "Get Web Apps Slots Diagnostics Deployments", - "description": "Get Web Apps Slots Diagnostics Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/loganalyzer/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Log Analyzer", - "operation": "Get Web Apps Diagnostics Log Analyzer", - "description": "Get Web Apps Diagnostics Log Analyzer." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Log Analyzer", - "operation": "Get Web Apps Slots Diagnostics Log Analyzer", - "description": "Get Web Apps Slots Diagnostics Log Analyzer." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitecrashes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Crashes", - "operation": "Get Web Apps Diagnostics Site Crashes", - "description": "Get Web Apps Diagnostics Site Crashes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Crashes", - "operation": "Get Web Apps Slots Diagnostics Site Crashes", - "description": "Get Web Apps Slots Diagnostics Site Crashes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart Setting Update", - "operation": "Get Web Apps Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Diagnostics Site Restart Setting Update." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart Setting Update", - "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart User Initiated", - "operation": "Get Web Apps Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Diagnostics Site Restart User Initiated." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart User Initiated", - "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siteswap/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Swap", - "operation": "Get Web Apps Diagnostics Site Swap", - "description": "Get Web Apps Diagnostics Site Swap." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Swap", - "operation": "Get Web Apps Slots Diagnostics Site Swap", - "description": "Get Web Apps Slots Diagnostics Site Swap." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/token/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Token", - "operation": "Get Web Apps Functions Token", - "description": "Get Web Apps Functions Token." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", - "operation": "Delete Web Apps Instances Deployments", - "description": "Delete Web Apps Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Processes", - "operation": "Get Web Apps Processes", - "description": "Get Web Apps Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Delete Web Apps Public Certificates", - "description": "Delete Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Get Web Apps Public Certificates", - "description": "Get Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Update Web Apps Public Certificates", - "description": "Update Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/networktrace/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Network Trace Web Apps Slots", - "description": "Network Trace Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/autoheal/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Autoheal", - "operation": "Get Web Apps Diagnostics Autoheal", - "description": "Get Web Apps Diagnostics Autoheal." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Autoheal", - "operation": "Get Web Apps Slots Diagnostics Autoheal", - "description": "Get Web Apps Slots Diagnostics Autoheal." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics", - "operation": "Get Web Apps Slots Diagnostics", - "description": "Get Web Apps Slots Diagnostics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Runtime Availability", - "operation": "Get Web Apps Slots Diagnostics Runtime Availability", - "description": "Get Web Apps Slots Diagnostics Runtime Availability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Service Health", - "operation": "Get Web Apps Slots Diagnostics Service Health", - "description": "Get Web Apps Slots Diagnostics Service Health." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", - "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/migratemysql/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Migrate MySql", - "operation": "Get Web Apps Slots Migrate MySql", - "description": "Get Web Apps Slots Migrate MySql." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/billingmeters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Billing meters for Microsoft Web Apps", - "operation": "Read billing meters", - "description": "Get list of billing meters." - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/instances/processes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", - "operation": "Delete Web Apps Slots Instances Processes", - "description": "Delete Web Apps Slots Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/restore/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Restore Web Apps", - "description": "Restore Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/extensions/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions Log", - "operation": "Get Web Apps Instances Extensions Log", - "description": "Get Web Apps Instances Extensions Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/customapis/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", - "operation": "Update Custom APIs", - "description": "Update Custom APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/customapis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", - "operation": "Get Custom APIs", - "description": "Get Custom APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Failed Requests Per Uri", - "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", - "description": "Get Web Apps Diagnostics Failed Requests Per Uri." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/restore/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Restore Web Apps Slots", - "description": "Restore Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/detectors/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", - "operation": "Get Web Apps Diagnostics Detector", - "description": "Get Web Apps Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/analyses/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", - "operation": "Get Web Apps Diagnostics Analysis", - "description": "Get Web Apps Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/analyses/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", - "operation": "Get Web Apps Slots Diagnostics Analysis", - "description": "Get Web Apps Slots Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/detectors/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", - "operation": "Get Web Apps Slots Diagnostics Detector", - "description": "Get Web Apps Slots Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", - "operation": "Run Web Apps Diagnostics Analysis", - "description": "Run Web Apps Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", - "operation": "Run Web Apps Diagnostics Detector", - "description": "Run Web Apps Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", - "operation": "Run Web Apps Slots Diagnostics Analysis", - "description": "Run Web Apps Slots Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", - "operation": "Run Web Apps Slots Diagnostics Detector", - "description": "Run Web Apps Slots Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Plan", - "operation": "Read App Service Plan metric definitions", - "description": "Gets the available metrics for App Service Plan" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App", - "operation": "Read Web App metric definitions", - "description": "Gets the available metrics for Web App" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App Slot", - "operation": "Read Web App Slot metric definitions", - "description": "Gets the available metrics for Web App Slot" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment MultiRole", - "operation": "Read App Service Environment MultiRole metric definitions", - "description": "Gets the available metrics for App Service Environment MultiRole" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "ActiveRequests", - "displayName": "Active Requests", - "displayDescription": "Active Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "TotalFrontEnds", - "displayName": "Total Front Ends", - "displayDescription": "Total Front Ends", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "SmallAppServicePlanInstances", - "displayName": "Small App Service Plan Workers", - "displayDescription": "Small App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MediumAppServicePlanInstances", - "displayName": "Medium App Service Plan Workers", - "displayDescription": "Medium App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "LargeAppServicePlanInstances", - "displayName": "Large App Service Plan Workers", - "displayDescription": "Large App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment WorkerPool", - "operation": "Read App Service Environment WorkerPool metric definitions", - "description": "Gets the available metrics for App Service Environment WorkerPool" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "WorkersTotal", - "displayName": "Total Workers", - "displayDescription": "Total Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "WorkersAvailable", - "displayName": "Available Workers", - "displayDescription": "Available Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "WorkersUsed", - "displayName": "Used Workers", - "displayDescription": "Used Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } + "parameters": { + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.Web/sites/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App", + "description": "Get the properties of a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Create or Update Web App", + "description": "Create a new Web App or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Create or Update Web App Slot", + "description": "Create a new Web App Slot or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Delete Web App", + "description": "Delete an existing Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Delete Web App Slot", + "description": "Delete an existing Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Configuration", + "description": "Get Web App Slot's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Configuration", + "description": "Get Web App configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/list/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "List Web App Security Sensitive Settings", + "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/list/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "List Web App Slot Security Sensitive Settings", + "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Update Web App Configuration", + "description": "Update Web App's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Update Web App Slot Configuration", + "description": "Update Web App Slot's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Source Control Configuration", + "description": "Get Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Source Control Configuration", + "description": "Get Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Update Web App Source Control Configuration", + "description": "Update Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Update Web App Slot Source Control Configuration", + "description": "Update Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Delete Web App Source Control Configuration", + "description": "Delete Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Delete Web App Slot Source Control Configuration", + "description": "Delete Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backup/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Create Web App Backup", + "description": "Create a new web app backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backup/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Create Web App Slot Backup", + "description": "Create new Web App Slot backup." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backups/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Backup", + "description": "Get the properties of a web app's backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backups/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "List Web App Slot Backups", + "description": "Get the properties of a web app slots' backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publishxml/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Publishing Profile", + "description": "Get publishing profile xml for a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publishxml/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Publishing Profile", + "description": "Get publishing profile xml for Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publish/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Publish Web App", + "description": "Publish a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publish/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Publish Web App Slot", + "description": "Publish a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/restart/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Restart Web App", + "description": "Restart a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/restart/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Restart Web App Slot", + "description": "Restart a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/start/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Start Web App", + "description": "Start a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/start/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Start Web App Slot", + "description": "Start a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/stop/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Stop Web App", + "description": "Stop a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/stop/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Stop Web App Slot", + "description": "Stop a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsswap/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Swap Web App Slots", + "description": "Swap Web App deployment slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsswap/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Swap Web App Slots", + "description": "Swap Web App deployment slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsdiffs/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Slots Differences", + "description": "Get differences in configuration between web app and slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slots Differences", + "description": "Get differences in configuration between web app and slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/applySlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Apply Web App Configuration", + "description": "Apply web app slot configuration from target slot to the current web app" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Apply Web App Slot Configuration", + "description": "Apply web app slot configuration from target slot to the current slot." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/resetSlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Reset Web App Configuration", + "description": "Reset web app configuration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Reset Web App Slot Configuration", + "description": "Reset web app slot configuration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Deployment Slot", + "description": "Get the properties of a Web App deployment slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Get App Service Plan", + "description": "Get the properties on an App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Create or Update App Service Plan", + "description": "Create a new App Service Plan or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Delete App Service Plan", + "description": "Delete an existing App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/restartSites/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Restart Web Apps", + "description": "Restart all Web Apps in an App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Get Certificates", + "description": "Get the list of certificates." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Add or Update Certificate", + "description": "Add a new certificate or update an existing one." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Delete Certificate", + "description": "Delete an existing certificate." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/geoRegions/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Geo Region", + "operation": "Get Geo Regions", + "description": "Get the list of Geo regions." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/listSitesAssignedToHostName/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Site Name", + "operation": "Get sites assigned to hostname", + "description": "Get names of sites assigned to hostname." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Get App Service Environment", + "description": "Get the properties of an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Create or Update App Service Environment", + "description": "Create a new App Service Environment or update existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Delete App Service Environment", + "description": "Delete an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/reboot/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Reboot an App Service Environment", + "description": "Reboot all machines in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool", + "operation": "Get FrontEnd Pool", + "description": "Get the properties of a FrontEnd Pool in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool", + "operation": "Create or Update FrontEnd Pool", + "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool", + "operation": "Get Worker Pool", + "description": "Get the properties of a Worker Pool in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool", + "operation": "Create or Update Worker Pool", + "description": "Create a new Worker Pool in an App Service Environment or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Get Connections", + "description": "Get the list of Connections." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Add or Update Connection", + "description": "Creates or updates a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Delete Connection", + "description": "Deletes a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Join/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Join Connection", + "description": "Joins a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Get Connection Gateways", + "description": "Get the list of Connection Gateways." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Add or Update Connection Gateways", + "description": "Creates or updates a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Delete Connection Gateway", + "description": "Deletes a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Join/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Join Connection Gateway", + "description": "Joins a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/recommendations/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Recommendation", + "operation": "Get recommendations", + "description": "Get the list of recommendations for subscriptions." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/recommendations/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Recommendation", + "operation": "Get recommendations for web app", + "description": "Get the list of recommendations for web app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/availablestacks/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Available Stacks", + "operation": "Get Available Stacks", + "description": "Get Available Stacks." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/checknameavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Check Name Availability", + "operation": "Get Check Name Availability", + "description": "Check if resource name is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/classicmobileservices/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Classic Mobile Services", + "operation": "Get Classic Mobile Services", + "description": "Get Classic Mobile Services." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/confirmconsentcode/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Confirm Connections Consent Code", + "description": "Confirm Connections Consent Code." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/listconsentlinks/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "List Consent Links for Connections", + "description": "List Consent Links for Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/deploymentlocations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Deployment Locations", + "operation": "Get Deployment Locations", + "description": "Get Deployment Locations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/capacities/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Capacities", + "operation": "Get Hosting Environments Capacities", + "description": "Get Hosting Environments Capacities." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Diagnostics", + "operation": "Get Hosting Environments Diagnostics", + "description": "Get Hosting Environments Diagnostics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Metric Definitions", + "operation": "Get Hosting Environments Metric Definitions", + "description": "Get Hosting Environments Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metric Definitions", + "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", + "description": "Get Hosting Environments MultiRole Pools Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metrics", + "operation": "Get Hosting Environments MultiRole Pools Metrics", + "description": "Get Hosting Environments MultiRole Pools Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools SKUs", + "operation": "Get Hosting Environments MultiRole Pools SKUs", + "description": "Get Hosting Environments MultiRole Pools SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Usages", + "operation": "Get Hosting Environments MultiRole Pools Usages", + "description": "Get Hosting Environments MultiRole Pools Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Operations", + "operation": "Get Hosting Environments Operations", + "description": "Get Hosting Environments Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/resume/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments", + "operation": "Resume Hosting Environments", + "description": "Resume Hosting Environments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/serverfarms/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments App Service Plans", + "operation": "Get Hosting Environments App Service Plans", + "description": "Get Hosting Environments App Service Plans." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Web Apps", + "operation": "Get Hosting Environments Web Apps", + "description": "Get Hosting Environments Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/suspend/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments", + "operation": "Suspend Hosting Environments", + "description": "Suspend Hosting Environments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Usages", + "operation": "Get Hosting Environments Usages", + "description": "Get Hosting Environments Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metric Definitions", + "operation": "Get Hosting Environments Workerpools Metric Definitions", + "description": "Get Hosting Environments Workerpools Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metrics", + "operation": "Get Hosting Environments Workerpools Metrics", + "description": "Get Hosting Environments Workerpools Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools SKUs", + "operation": "Get Hosting Environments Workerpools SKUs", + "description": "Get Hosting Environments Workerpools SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Usages", + "operation": "Get Hosting Environments Workerpools Usages", + "description": "Get Hosting Environments Workerpools Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostingenvironmentnameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environment Name", + "operation": "Check if Hosting Environment Name is available", + "description": "Get if Hosting Environment Name is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostnameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hostname", + "operation": "Check if Hostname is Available", + "description": "Check if Hostname is Available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/isusernameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Username", + "operation": "Check if Username is available", + "description": "Check if Username is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/apioperations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations API Operations", + "operation": "Get Locations API Operations", + "description": "Get Locations API Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/connectiongatewayinstallations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations Connection Gateway Installations", + "operation": "Get Locations Connection Gateway Installations", + "description": "Get Locations Connection Gateway Installations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/managedapis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations Managed APIs", + "operation": "Get Locations Managed APIs", + "description": "Get Locations Managed APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Operations", + "operation": "Get Operations", + "description": "Get Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Publishing Users", + "operation": "Get Publishing Users", + "description": "Get Publishing Users." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Publishing Users", + "operation": "Update Publishing Users", + "description": "Update Publishing Users." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/capabilities/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Capabilities", + "operation": "Get App Service Plans Capabilities", + "description": "Get App Service Plans Capabilities." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Delete App Service Plans First Party Apps Settings", + "description": "Delete App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Get App Service Plans First Party Apps Settings", + "description": "Get App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Update App Service Plans First Party Apps Settings", + "description": "Update App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Plan Limits", + "operation": "Get App Service Plans Hybrid Connection Plan Limits", + "description": "Get App Service Plans Hybrid Connection Plan Limits." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Relays", + "operation": "Get App Service Plans Hybrid Connection Relays", + "description": "Get App Service Plans Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metric Definitions", + "operation": "Get App Service Plans Metric Definitions", + "description": "Get App Service Plans Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metrics", + "operation": "Get App Service Plans Metrics", + "description": "Get App Service Plans Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Operation Results", + "operation": "Get App Service Plans Operation Results", + "description": "Get App Service Plans Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Web Apps", + "operation": "Get App Service Plans Web Apps", + "description": "Get App Service Plans Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans SKUs", + "operation": "Get App Service Plans SKUs", + "description": "Get App Service Plans SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Usages", + "operation": "Get App Service Plans Usages", + "description": "Get App Service Plans Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Gateways", + "operation": "Update App Service Plans Virtual Network Connections Gateways", + "description": "Update App Service Plans Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections", + "operation": "Get App Service Plans Virtual Network Connections", + "description": "Get App Service Plans Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Delete App Service Plans Virtual Network Connections Routes", + "description": "Delete App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Get App Service Plans Virtual Network Connections Routes", + "description": "Get App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Update App Service Plans Virtual Network Connections Routes", + "description": "Update App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/workers/reboot/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Workers", + "operation": "Reboot App Service Plans Workers", + "description": "Reboot App Service Plans Workers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/analyzecustomhostname/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom Hostname", + "operation": "Analyze Custom Hostname", + "description": "Analyze Custom Hostname." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup", + "operation": "Get Web Apps Backup", + "description": "Get Web Apps Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup", + "operation": "Update Web Apps Backup", + "description": "Update Web Apps Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/list/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "List Web Apps Backups", + "description": "List Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/restore/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "Restore Web Apps Backups", + "description": "Restore Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/config/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Config", + "operation": "Delete Web Apps Config", + "description": "Delete Web Apps Config." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Delete Web Apps Continuous Web Jobs", + "description": "Delete Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Get Web Apps Continuous Web Jobs", + "description": "Get Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/start/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Start Web Apps Continuous Web Jobs", + "description": "Start Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/stop/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Stop Web Apps Continuous Web Jobs", + "description": "Stop Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Delete Web Apps Deployments", + "description": "Delete Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments Log", + "operation": "Get Web Apps Deployments Log", + "description": "Get Web Apps Deployments Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Get Web Apps Deployments", + "description": "Get Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Update Web Apps Deployments", + "description": "Update Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/frebanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics FREB Analysis", + "operation": "Get Web Apps Diagnostics FREB Analysis", + "description": "Get Web Apps Diagnostics FREB Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics FREB Analysis", + "operation": "Get Web Apps Slots Diagnostics FREB Analysis", + "description": "Get Web Apps Slots Diagnostics FREB Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Category", + "operation": "Get Web Apps Diagnostics Category", + "description": "Get Web Apps Diagnostics Categories." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Runtime Availability", + "operation": "Get Web Apps Diagnostics Runtime Availability", + "description": "Get Web Apps Diagnostics Runtime Availability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/servicehealth/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Service Health", + "operation": "Get Web Apps Diagnostics Service Health", + "description": "Get Web Apps Diagnostics Service Health." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workeravailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Workeravailability", + "operation": "Get Web Apps Diagnostics Workeravailability", + "description": "Get Web Apps Diagnostics Workeravailability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Workeravailability", + "operation": "Get Web Apps Slots Diagnostics Workeravailability", + "description": "Get Web Apps Slots Diagnostics Workeravailability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Worker Process Recycle", + "operation": "Get Web Apps Diagnostics Worker Process Recycle", + "description": "Get Web Apps Diagnostics Worker Process Recycle." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Worker Process Recycle", + "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", + "description": "Get Web Apps Slots Diagnostics Worker Process Recycle." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/aspnetcore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics ASP.NET Core", + "operation": "Get Web Apps Diagnostics ASP.NET Core", + "description": "Get Web Apps Diagnostics for ASP.NET Core app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics ASP.NET Core", + "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", + "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers", + "operation": "Get Web Apps Domain Ownership Identifiers", + "description": "Get Web Apps Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers", + "operation": "Update Web Apps Domain Ownership Identifiers", + "description": "Update Web Apps Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Functions Web Apps", + "description": "Functions Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Delete Web Apps Functions", + "description": "Delete Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/listsecrets/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "List Secrets Web Apps Functions", + "description": "List Secrets Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Get Web Apps Functions", + "description": "Get Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Update Web Apps Functions", + "description": "Update Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Delete Web Apps Hostname Bindings", + "description": "Delete Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Get Web Apps Hostname Bindings", + "description": "Get Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Update Web Apps Hostname Bindings", + "description": "Update Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Delete Web Apps Hybrid Connection", + "description": "Delete Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Get Web Apps Hybrid Connection", + "description": "Get Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Update Web Apps Hybrid Connection", + "description": "Update Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Relays", + "operation": "Get Web Apps Hybrid Connection Relays", + "description": "Get Web Apps Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments", + "operation": "Get Web Apps Instances Deployments", + "description": "Get Web Apps Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes", + "operation": "Delete Web Apps Instances Processes", + "description": "Delete Web Apps Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes", + "operation": "Get Web Apps Instances Processes", + "description": "Get Web Apps Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances", + "operation": "Get Web Apps Instances", + "description": "Get Web Apps Instances." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "List Sync Function Trigger Status Web Apps", + "description": "List Sync Function Trigger Status Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metric Definitions", + "operation": "Get Web Apps Metric Definitions", + "description": "Get Web Apps Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics", + "operation": "Get Web Apps Metrics", + "description": "Get Web Apps Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/networktrace/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Network Trace Web Apps", + "description": "Network Trace Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/newpassword/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Newpassword Web Apps", + "description": "Newpassword Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operation Results", + "operation": "Get Web Apps Operation Results", + "description": "Get Web Apps Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/perfcounters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Performance Counters", + "operation": "Get Web Apps Performance Counters", + "description": "Get Web Apps Performance Counters." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Delete Web Apps Premier Addons", + "description": "Delete Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Get Web Apps Premier Addons", + "description": "Get Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Update Web Apps Premier Addons", + "description": "Update Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publishxml/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Publishing XML", + "operation": "Get Web Apps Publishing XML", + "description": "Get Web Apps Publishing XML." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendationhistory/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendation History", + "operation": "Get Web Apps Recommendation History", + "description": "Get Web Apps Recommendation History." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendations/disable/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendations", + "operation": "Disable Web Apps Recommendations", + "description": "Disable Web Apps Recommendations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Restore", + "operation": "Get Web Apps Restore", + "description": "Get Web Apps Restore." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/analyzecustomhostname/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Analyze Custom Hostname", + "operation": "Get Web Apps Slots Analyze Custom Hostname", + "description": "Get Web Apps Slots Analyze Custom Hostname." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup", + "operation": "Update Web Apps Slots Backup", + "description": "Update Web Apps Slots Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/list/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "List Web Apps Slots Backups", + "description": "List Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/restore/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "Restore Web Apps Slots Backups", + "description": "Restore Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/config/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Config", + "operation": "Delete Web Apps Slots Config", + "description": "Delete Web Apps Slots Config." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Delete Web Apps Slots Continuous Web Jobs", + "description": "Delete Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Get Web Apps Slots Continuous Web Jobs", + "description": "Get Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Start Web Apps Slots Continuous Web Jobs", + "description": "Start Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Stop Web Apps Slots Continuous Web Jobs", + "description": "Stop Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Delete Web Apps Slots Deployments", + "description": "Delete Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments Log", + "operation": "Get Web Apps Slots Deployments Log", + "description": "Get Web Apps Slots Deployments Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Get Web Apps Slots Deployments", + "description": "Get Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Update Web Apps Slots Deployments", + "description": "Update Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Delete Web Apps Slots Hostname Bindings", + "description": "Delete Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Get Web Apps Slots Hostname Bindings", + "description": "Get Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Update Web Apps Slots Hostname Bindings", + "description": "Update Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Delete Web Apps Slots Hybrid Connection", + "description": "Delete Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Get Web Apps Slots Hybrid Connection", + "description": "Get Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Update Web Apps Slots Hybrid Connection", + "description": "Update Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Deployments", + "operation": "Get Web Apps Slots Instances Deployments", + "description": "Get Web Apps Slots Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes", + "operation": "Get Web Apps Slots Instances Processes", + "description": "Get Web Apps Slots Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances", + "operation": "Get Web Apps Slots Instances", + "description": "Get Web Apps Slots Instances." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metric Definitions", + "operation": "Get Web Apps Slots Metric Definitions", + "description": "Get Web Apps Slots Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metrics", + "operation": "Get Web Apps Slots Metrics", + "description": "Get Web Apps Slots Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/newpassword/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Newpassword Web Apps Slots", + "description": "Newpassword Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operation Results", + "operation": "Get Web Apps Slots Operation Results", + "description": "Get Web Apps Slots Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/phplogging/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Phplogging", + "operation": "Get Web Apps Slots Phplogging", + "description": "Get Web Apps Slots Phplogging." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Delete Web Apps Slots Premier Addons", + "description": "Delete Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Get Web Apps Slots Premier Addons", + "description": "Get Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Update Web Apps Slots Premier Addons", + "description": "Update Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Restore", + "operation": "Get Web Apps Slots Restore", + "description": "Get Web Apps Slots Restore." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/sync/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Sync Web Apps Slots", + "description": "Sync Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Delete Web Apps Slots Triggered WebJobs", + "description": "Delete Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Get Web Apps Slots Triggered WebJobs", + "description": "Get Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Run Web Apps Slots Triggered WebJobs", + "description": "Run Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Usages", + "operation": "Get Web Apps Slots Usages", + "description": "Get Web Apps Slots Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Delete Web Apps Slots Virtual Network Connections", + "description": "Delete Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections Gateways", + "operation": "Update Web Apps Slots Virtual Network Connections Gateways", + "description": "Update Web Apps Slots Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Get Web Apps Slots Virtual Network Connections", + "description": "Get Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Update Web Apps Slots Virtual Network Connections", + "description": "Update Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/webjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots WebJobs", + "operation": "Get Web Apps Slots WebJobs", + "description": "Get Web Apps Slots WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/snapshots/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Snapshots", + "operation": "Get Web Apps Snapshots", + "description": "Get Web Apps Snapshots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/sync/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Sync Web Apps", + "description": "Sync Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Delete Web Apps Triggered WebJobs", + "description": "Delete Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Get Web Apps Triggered WebJobs", + "description": "Get Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/run/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Run Web Apps Triggered WebJobs", + "description": "Run Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Usages", + "operation": "Get Web Apps Usages", + "description": "Get Web Apps Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Delete Web Apps Virtual Network Connections", + "description": "Delete Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways", + "operation": "Get Web Apps Virtual Network Connections Gateways", + "description": "Get Web Apps Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways", + "operation": "Update Web Apps Virtual Network Connections Gateways", + "description": "Update Web Apps Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Get Web Apps Virtual Network Connections", + "description": "Get Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Update Web Apps Virtual Network Connections", + "description": "Update Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/webjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps WebJobs", + "operation": "Get Web Apps WebJobs", + "description": "Get Web Apps WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "SKUs", + "operation": "Get SKUs", + "description": "Get SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Source Controls", + "operation": "Get Source Controls", + "description": "Get Source Controls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Source Controls", + "operation": "Update Source Controls", + "description": "Update Source Controls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/unregister/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider", + "operation": "Unregister Microsoft.Web resource provider", + "description": "Unregister Microsoft.Web resource provider for the subscription." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/validate/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "", + "operation": "Validate ", + "description": "Validate ." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/register/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider", + "operation": "Register Microsoft.Web resource provider", + "description": "Register Microsoft.Web resource provider for the subscription." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "Delete Web Apps Backups", + "description": "Delete Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", + "description": "List Keys Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Update Web Apps Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricsdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics Definitions", + "operation": "Get Web Apps Metrics Definitions", + "description": "Get Web Apps Metrics Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Migrate MySql Web Apps", + "description": "Migrate MySql Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Migrate MySql", + "operation": "Get Web Apps Migrate MySql", + "description": "Get Web Apps Migrate MySql." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recover/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Recover Web Apps", + "description": "Recover Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Delete Web Apps Site Extensions", + "description": "Delete Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Get Web Apps Site Extensions", + "description": "Get Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Update Web Apps Site Extensions", + "description": "Update Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup", + "operation": "Get Web Apps Slots Backup", + "description": "Get Web Apps Slots Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Relays", + "operation": "Get Web Apps Slots Hybrid Connection Relays", + "description": "Get Web Apps Slots Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Delete Web Apps Slots Site Extensions", + "description": "Delete Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Get Web Apps Slots Site Extensions", + "description": "Get Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Update Web Apps Slots Site Extensions", + "description": "Update Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/snapshots/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Snapshots", + "operation": "Get Web Apps Slots Snapshots", + "description": "Get Web Apps Slots Snapshots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/syncfunctiontriggers/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Sync Function Triggers for Web Apps", + "description": "Sync Function Triggers for Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/history/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs History", + "operation": "Get Web Apps Triggered WebJobs History", + "description": "Get Web Apps Triggered WebJobs History." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connectiongateways/liststatus/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "List Status Connection Gateways", + "description": "List Status Connection Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", + "description": "Delete App Service Plans Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployment/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployment", + "operation": "Get Web Apps Diagnostics Deployment", + "description": "Get Web Apps Diagnostics Deployment." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site CPU Analysis", + "operation": "Get Web Apps Diagnostics Site CPU Analysis", + "description": "Get Web Apps Diagnostics Site CPU Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Latency", + "operation": "Get Web Apps Diagnostics Site Latency", + "description": "Get Web Apps Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Memory Analysis", + "operation": "Get Web Apps Diagnostics Site Memory Analysis", + "description": "Get Web Apps Diagnostics Site Memory Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/threadcount/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Thread Count", + "operation": "Get Web Apps Diagnostics Thread Count", + "description": "Get Web Apps Diagnostics Thread Count." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployment/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployment", + "operation": "Get Web Apps Slots Diagnostics Deployment", + "description": "Get Web Apps Slots Diagnostics Deployment." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site CPU Analysis", + "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", + "description": "Get Web Apps Slots Diagnostics Site CPU Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Memory Analysis", + "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", + "description": "Get Web Apps Slots Diagnostics Site Memory Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Thread Count", + "operation": "Get Web Apps Slots Diagnostics Thread Count", + "description": "Get Web Apps Slots Diagnostics Thread Count." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/masterkey/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Masterkey", + "operation": "Get Web Apps Functions Masterkey", + "description": "Get Web Apps Functions Masterkey." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Get Web Apps Hybrid Connection Namespaces Relays", + "description": "Get Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions", + "operation": "Get Web Apps Instances Extensions", + "description": "Get Web Apps Instances Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operations", + "operation": "Get Web Apps Operations", + "description": "Get Web Apps Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/resourcehealthmetadata/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Resource Health Metadata", + "operation": "Get Web Apps Resource Health Metadata", + "description": "Get Web Apps Resource Health Metadata." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "Delete Web Apps Slots Backups", + "description": "Delete Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Domain Ownership Identifiers", + "operation": "Get Web Apps Slots Domain Ownership Identifiers", + "description": "Get Web Apps Slots Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operations", + "operation": "Get Web Apps Slots Operations", + "description": "Get Web Apps Slots Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/perfcounters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Performance Counters", + "operation": "Get Web Apps Slots Performance Counters", + "description": "Get Web Apps Slots Performance Counters." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Resource Health Metadata", + "operation": "Get Web Apps Slots Resource Health Metadata", + "description": "Get Web Apps Slots Resource Health Metadata." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apiacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Apiacls", + "operation": "Get Api Management Accounts Apiacls", + "description": "Get Api Management Accounts Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Get Api Management Accounts APIs Connections", + "description": "Get Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Get Api Management Accounts APIs", + "description": "Get Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Connectionacls", + "operation": "Get Api Management Accounts Connectionacls", + "description": "Get Api Management Accounts Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Delete Api Management Accounts APIs Apiacls", + "description": "Delete Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Get Api Management Accounts APIs Apiacls", + "description": "Get Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Update Api Management Accounts APIs Apiacls", + "description": "Update Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connectionacls", + "operation": "Get Api Management Accounts APIs Connectionacls", + "description": "Get Api Management Accounts APIs Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Confirm Consent Code Api Management Accounts APIs Connections", + "description": "Confirm Consent Code Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Delete Api Management Accounts APIs Connections Connectionacls", + "description": "Delete Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Get Api Management Accounts APIs Connections Connectionacls", + "description": "Get Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Update Api Management Accounts APIs Connections Connectionacls", + "description": "Update Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Delete Api Management Accounts APIs Connections", + "description": "Delete Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Get Consent Links for Api Management Accounts APIs Connections", + "description": "Get Consent Links for Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Update Api Management Accounts APIs Connections", + "description": "Update Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Delete Api Management Accounts APIs", + "description": "Delete Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Delete Api Management Accounts APIs Localized Definitions", + "description": "Delete Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Get Api Management Accounts APIs Localized Definitions", + "description": "Get Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Update Api Management Accounts APIs Localized Definitions", + "description": "Update Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Update Api Management Accounts APIs", + "description": "Update Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "List Connection Keys Api Management Accounts APIs Connections", + "description": "List Connection Keys Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "List Secrets Api Management Accounts APIs Connections", + "description": "List Secrets Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployments", + "operation": "Get Web Apps Diagnostics Deployments", + "description": "Get Web Apps Diagnostics Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployments", + "operation": "Get Web Apps Slots Diagnostics Deployments", + "description": "Get Web Apps Slots Diagnostics Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/loganalyzer/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Log Analyzer", + "operation": "Get Web Apps Diagnostics Log Analyzer", + "description": "Get Web Apps Diagnostics Log Analyzer." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Log Analyzer", + "operation": "Get Web Apps Slots Diagnostics Log Analyzer", + "description": "Get Web Apps Slots Diagnostics Log Analyzer." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecrashes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Crashes", + "operation": "Get Web Apps Diagnostics Site Crashes", + "description": "Get Web Apps Diagnostics Site Crashes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Crashes", + "operation": "Get Web Apps Slots Diagnostics Site Crashes", + "description": "Get Web Apps Slots Diagnostics Site Crashes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart Setting Update", + "operation": "Get Web Apps Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Diagnostics Site Restart Setting Update." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart Setting Update", + "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart User Initiated", + "operation": "Get Web Apps Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Diagnostics Site Restart User Initiated." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart User Initiated", + "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siteswap/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Swap", + "operation": "Get Web Apps Diagnostics Site Swap", + "description": "Get Web Apps Diagnostics Site Swap." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Swap", + "operation": "Get Web Apps Slots Diagnostics Site Swap", + "description": "Get Web Apps Slots Diagnostics Site Swap." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/token/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Token", + "operation": "Get Web Apps Functions Token", + "description": "Get Web Apps Functions Token." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments", + "operation": "Delete Web Apps Instances Deployments", + "description": "Delete Web Apps Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Processes", + "operation": "Get Web Apps Processes", + "description": "Get Web Apps Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Delete Web Apps Public Certificates", + "description": "Delete Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Get Web Apps Public Certificates", + "description": "Get Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Update Web Apps Public Certificates", + "description": "Update Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/networktrace/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Network Trace Web Apps Slots", + "description": "Network Trace Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/autoheal/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Autoheal", + "operation": "Get Web Apps Diagnostics Autoheal", + "description": "Get Web Apps Diagnostics Autoheal." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Autoheal", + "operation": "Get Web Apps Slots Diagnostics Autoheal", + "description": "Get Web Apps Slots Diagnostics Autoheal." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics", + "operation": "Get Web Apps Slots Diagnostics", + "description": "Get Web Apps Slots Diagnostics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Runtime Availability", + "operation": "Get Web Apps Slots Diagnostics Runtime Availability", + "description": "Get Web Apps Slots Diagnostics Runtime Availability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Service Health", + "operation": "Get Web Apps Slots Diagnostics Service Health", + "description": "Get Web Apps Slots Diagnostics Service Health." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/migratemysql/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Migrate MySql", + "operation": "Get Web Apps Slots Migrate MySql", + "description": "Get Web Apps Slots Migrate MySql." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/billingmeters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Billing meters for Microsoft Web Apps", + "operation": "Read billing meters", + "description": "Get list of billing meters." + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes", + "operation": "Delete Web Apps Slots Instances Processes", + "description": "Delete Web Apps Slots Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Restore Web Apps", + "description": "Restore Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions Log", + "operation": "Get Web Apps Instances Extensions Log", + "description": "Get Web Apps Instances Extensions Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom APIs", + "operation": "Update Custom APIs", + "description": "Update Custom APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom APIs", + "operation": "Get Custom APIs", + "description": "Get Custom APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Failed Requests Per Uri", + "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", + "description": "Get Web Apps Diagnostics Failed Requests Per Uri." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Restore Web Apps Slots", + "description": "Restore Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector", + "operation": "Get Web Apps Diagnostics Detector", + "description": "Get Web Apps Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis", + "operation": "Get Web Apps Diagnostics Analysis", + "description": "Get Web Apps Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis", + "operation": "Get Web Apps Slots Diagnostics Analysis", + "description": "Get Web Apps Slots Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector", + "operation": "Get Web Apps Slots Diagnostics Detector", + "description": "Get Web Apps Slots Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis", + "operation": "Run Web Apps Diagnostics Analysis", + "description": "Run Web Apps Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector", + "operation": "Run Web Apps Diagnostics Detector", + "description": "Run Web Apps Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis", + "operation": "Run Web Apps Slots Diagnostics Analysis", + "description": "Run Web Apps Slots Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector", + "operation": "Run Web Apps Slots Diagnostics Detector", + "description": "Run Web Apps Slots Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Plan", + "operation": "Read App Service Plan metric definitions", + "description": "Gets the available metrics for App Service Plan" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuPercentage", + "displayName": "CPU Percentage", + "displayDescription": "CPU Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true } - ] + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryPercentage", + "displayName": "Memory Percentage", + "displayDescription": "Memory Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "DiskQueueLength", + "displayName": "Disk Queue Length", + "displayDescription": "Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "HttpQueueLength", + "displayName": "Http Queue Length", + "displayDescription": "Http Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App", + "operation": "Read Web App metric definitions", + "description": "Gets the available metrics for Web App" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "displayName": "CPU Time", + "displayDescription": "CPU Time", + "unit": "Seconds", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryWorkingSet", + "displayName": "Memory working set", + "displayDescription": "Memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageMemoryWorkingSet", + "displayName": "Average memory working set", + "displayDescription": "Average memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionUnits", + "displayName": "Function Execution Units", + "displayDescription": "Function Execution Units", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionCount", + "displayName": "Function Execution Count", + "displayDescription": "Function Execution Count", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App Slot", + "operation": "Read Web App Slot metric definitions", + "description": "Gets the available metrics for Web App Slot" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "displayName": "CPU Time", + "displayDescription": "CPU Time", + "unit": "Seconds", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryWorkingSet", + "displayName": "Memory working set", + "displayDescription": "Memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageMemoryWorkingSet", + "displayName": "Average memory working set", + "displayDescription": "Average memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionUnits", + "displayName": "Function Execution Units", + "displayDescription": "Function Execution Units", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionCount", + "displayName": "Function Execution Count", + "displayDescription": "Function Execution Count", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment MultiRole", + "operation": "Read App Service Environment MultiRole metric definitions", + "description": "Gets the available metrics for App Service Environment MultiRole" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "CpuPercentage", + "displayName": "CPU Percentage", + "displayDescription": "CPU Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryPercentage", + "displayName": "Memory Percentage", + "displayDescription": "Memory Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "DiskQueueLength", + "displayName": "Disk Queue Length", + "displayDescription": "Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "HttpQueueLength", + "displayName": "Http Queue Length", + "displayDescription": "Http Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "ActiveRequests", + "displayName": "Active Requests", + "displayDescription": "Active Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "TotalFrontEnds", + "displayName": "Total Front Ends", + "displayDescription": "Total Front Ends", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "SmallAppServicePlanInstances", + "displayName": "Small App Service Plan Workers", + "displayDescription": "Small App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MediumAppServicePlanInstances", + "displayName": "Medium App Service Plan Workers", + "displayDescription": "Medium App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "LargeAppServicePlanInstances", + "displayName": "Large App Service Plan Workers", + "displayDescription": "Large App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment WorkerPool", + "operation": "Read App Service Environment WorkerPool metric definitions", + "description": "Gets the available metrics for App Service Environment WorkerPool" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "WorkersTotal", + "displayName": "Total Workers", + "displayDescription": "Total Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "WorkersAvailable", + "displayName": "Available Workers", + "displayDescription": "Available Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "WorkersUsed", + "displayName": "Used Workers", + "displayDescription": "Used Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataByResourceGroup.json index f918ec97db44..2ab791aaa4e3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataByResourceGroup.json @@ -1,25 +1,25 @@ { - "parameters":{ - "api-version":"2016-03-01", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2016-03-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySite.json index 5b38c908efcf..de50d22576da 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySite.json @@ -1,27 +1,27 @@ { - "parameters":{ - "api-version":"2016-03-01", - "name":"newsiteinnewASE-NCUS", - "slot":"Production", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2016-03-01", + "name": "newsiteinnewASE-NCUS", + "slot": "Production", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySubscription.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySubscription.json index ec2d153e3a73..dd7663a8193c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/ListResourceHealthMetadataBySubscription.json @@ -1,24 +1,24 @@ { - "parameters":{ - "api-version":"2016-03-01", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/PatchCertificate.json index b3e4d26e8e47..50d1c9d3a1ee 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/PatchCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/PatchCertificate.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2016-03-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "properties": { + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2016-03-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "properties": { - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/VerifyHostingEnvironmentVnet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/VerifyHostingEnvironmentVnet.json index 817e4a00bab6..77971ac6a30b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/VerifyHostingEnvironmentVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/examples/VerifyHostingEnvironmentVnet.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2016-03-01", - "parameters": { - "properties": { - "vnetResourceGroup": "vNet123rg", - "vnetName": "vNet123", - "vnetSubnetName": "vNet123SubNet" - } + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2016-03-01", + "parameters": { + "properties": { + "vnetResourceGroup": "vNet123rg", + "vnetName": "vNet123", + "vnetSubnetName": "vNet123SubNet" } - }, + } + }, "responses": { "200": { "body": { @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsGet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsGet.json index 160dc96862f1..433d43fe18f6 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsGet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsList.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsList.json index e1af7aa22e45..0e445f7163da 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewayInstallationsList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysCreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysCreateOrUpdate.json index 98dee012d333..d9b7015b4d64 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysCreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysCreateOrUpdate.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysDelete.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysDelete.json index 691016fefce3..4a86ee9d26f8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysDelete.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysDelete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysGet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysGet.json index 5268ba8a73fc..6f3fc1950095 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysGet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysList.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysList.json index b335b80fbab1..3f60b6b4b206 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysListByResourceGroup.json index 08bcbe0327c6..67ab2677b700 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysListByResourceGroup.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysUpdate.json index 61bbfee1c4da..4145a97399d4 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionGatewaysUpdate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsConfirmConsentCode.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsConfirmConsentCode.json index 6a93679214de..90f64048dc04 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsConfirmConsentCode.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsConfirmConsentCode.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsCreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsCreateOrUpdate.json index df56c240207a..5e219bfb9c8b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsCreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsCreateOrUpdate.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsDelete.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsDelete.json index 0cc410140aa2..d6f293009fef 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsDelete.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsDelete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsGet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsGet.json index f614884287f5..0f4892263faa 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsGet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsGet.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsList.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsList.json index 2fe47eb82bd4..2d89913a4674 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsList.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsListConsentLinks.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsListConsentLinks.json index c6e18bc5a163..a80dda3b8d38 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsListConsentLinks.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsListConsentLinks.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsUpdate.json index 311739b17261..5f3de6f31c47 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/connectionsUpdate.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisCreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisCreateOrUpdate.json index 6076af3beea4..e860b0c97f62 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisCreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisCreateOrUpdate.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisDelete.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisDelete.json index b78c5a1de7dc..c21768be54d0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisDelete.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisDelete.json @@ -14,4 +14,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisExtractApiDefinitionFromWsdl.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisExtractApiDefinitionFromWsdl.json index aca023144c1d..f4a6b3722eb6 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisExtractApiDefinitionFromWsdl.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisExtractApiDefinitionFromWsdl.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisGet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisGet.json index 1a84281154b8..e8a200d11b9c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisGet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisGet.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisList.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisList.json index baa77a59577b..23cbb9103602 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListByResourceGroup.json index ea6498a6c4e8..911f4ff2c1d2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListByResourceGroup.json @@ -46,14 +46,14 @@ "apiType": "Soap", "wsdlDefinition": { "service": { - "qualifiedName": "http://tempuri.org/testSoapCustomApi", - "endpointQualifiedNames": [ - "http://tempuri.org/basic", - "http://tempuri.org/ws" - ] + "qualifiedName": "http://tempuri.org/testSoapCustomApi", + "endpointQualifiedNames": [ + "http://tempuri.org/basic", + "http://tempuri.org/ws" + ] }, "importMethod": "SoapToRest" - } + } }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/customApis/testSoapCustomApi", "name": "testCustomApi", @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListWsdlInterfaces.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListWsdlInterfaces.json index 45796f6eeaf1..194cb0c3f3f0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListWsdlInterfaces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisListWsdlInterfaces.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisMove.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisMove.json index a698167b5f35..12d7eb4ff658 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisMove.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisMove.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisUpdate.json index c28165ec7f87..941b13008fc1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/customApisUpdate.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisGet.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisGet.json index b26b879ed8ac..f9ffc3e40f2a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisGet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisGet.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisList.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisList.json index 3d9e95860a94..5cc54a5ec4b4 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/examples/managedApisList.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json index 758d407fa995..bdbe775d8372 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json @@ -1,2119 +1,2119 @@ { - "swagger": "2.0", - "info": { - "title": "LogicAppsManagementClient", - "version": "2016-06-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/connectionGateways": { - "get": { - "tags": [ - "Connection Gateways" - ], - "summary": "Lists all of the connection gateways", - "operationId": "ConnectionGateways_List", - "description": "Gets a list of gateways under a subscription", - "x-ms-examples": { - "List all connection gateways": { - "$ref": "./examples/connectionGatewaysList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway definitions", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinitionCollection" - } - } - } + "swagger": "2.0", + "info": { + "title": "LogicAppsManagementClient", + "version": "2016-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/connectionGateways": { + "get": { + "tags": [ + "Connection Gateways" + ], + "summary": "Lists all of the connection gateways", + "operationId": "ConnectionGateways_List", + "description": "Gets a list of gateways under a subscription", + "x-ms-examples": { + "List all connection gateways": { + "$ref": "./examples/connectionGatewaysList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway definitions", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways": { - "get": { - "tags": [ - "Connection Gateways" - ], - "summary": "Lists all of the connection gateways", - "operationId": "ConnectionGateways_ListByResourceGroup", - "description": "Gets a list of gateways under a subscription and in a specific resource group", - "x-ms-examples": { - "List all connection gateways": { - "$ref": "./examples/connectionGatewaysListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway definitions", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinitionCollection" - } - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways": { + "get": { + "tags": [ + "Connection Gateways" + ], + "summary": "Lists all of the connection gateways", + "operationId": "ConnectionGateways_ListByResourceGroup", + "description": "Gets a list of gateways under a subscription and in a specific resource group", + "x-ms-examples": { + "List all connection gateways": { + "$ref": "./examples/connectionGatewaysListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway definitions", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}": { - "get": { - "tags": [ - "Connection Gateways" - ], - "summary": "Gets a specific gateway", - "operationId": "ConnectionGateways_Get", - "description": "Gets a specific gateway under a subscription and in a specific resource group", - "x-ms-examples": { - "Get the connection gateway definition": { - "$ref": "./examples/connectionGatewaysGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway definition", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - } - } - } - }, - "put": { - "tags": [ - "Connection Gateways" - ], - "summary": "Replaces a specific gateway", - "operationId": "ConnectionGateways_CreateOrUpdate", - "description": "Creates or updates a specific gateway for under a subscription and in a specific resource group", - "x-ms-examples": { - "Replace a connection gateway definition": { - "$ref": "./examples/connectionGatewaysCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayBodyParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The updated gateway definition", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - } - }, - "201": { - "description": "The newly created gateway definition", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - } - } - } - }, - "patch": { - "tags": [ - "Connection Gateways" - ], - "summary": "Updates a specific gateway", - "operationId": "ConnectionGateways_Update", - "description": "Updates a connection gateway's tags", - "x-ms-examples": { - "Update a connection gateway's tags": { - "$ref": "./examples/connectionGatewaysUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayBodyParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway definition", - "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - } - } - } - }, - "delete": { - "tags": [ - "Connection Gateways" - ], - "summary": "Deletes a specific gateway", - "operationId": "ConnectionGateways_Delete", - "description": "Deletes a specific gateway for under a subscription and in a specific resource group", - "x-ms-examples": { - "Delete a connection gateway definition": { - "$ref": "./examples/connectionGatewaysDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionGatewayNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the connection gateway" - }, - "204": { - "description": "No connection gateway to delete" - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}": { + "get": { + "tags": [ + "Connection Gateways" + ], + "summary": "Gets a specific gateway", + "operationId": "ConnectionGateways_Get", + "description": "Gets a specific gateway under a subscription and in a specific resource group", + "x-ms-examples": { + "Get the connection gateway definition": { + "$ref": "./examples/connectionGatewaysGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway definition", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinition" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations": { - "get": { - "tags": [ - "Connection Gateways" - ], - "summary": "Gets a list of installed gateways that the user is an admin of", - "operationId": "ConnectionGatewayInstallations_List", - "description": "Gets a list of installed gateways that the user is an admin of, in a specific subscription and at a certain location", - "x-ms-examples": { - "List all installations in a region": { - "$ref": "./examples/connectionGatewayInstallationsList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway installations", - "schema": { - "$ref": "#/definitions/ConnectionGatewayInstallationDefinitionCollection" - } - } - } + } + } + }, + "put": { + "tags": [ + "Connection Gateways" + ], + "summary": "Replaces a specific gateway", + "operationId": "ConnectionGateways_CreateOrUpdate", + "description": "Creates or updates a specific gateway for under a subscription and in a specific resource group", + "x-ms-examples": { + "Replace a connection gateway definition": { + "$ref": "./examples/connectionGatewaysCreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayBodyParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The updated gateway definition", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinition" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations/{gatewayId}": { - "get": { - "tags": [ - "Connection Gateways" - ], - "summary": "Gets an installed gateway that the user is an admin of", - "operationId": "ConnectionGatewayInstallations_Get", - "description": "Get a specific installed gateway that the user is an admin of, in a specific subscription and at a certain location", - "x-ms-examples": { - "Get a specific gateway installation": { - "$ref": "./examples/connectionGatewayInstallationsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/gatewayIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The gateway installation", - "schema": { - "$ref": "#/definitions/ConnectionGatewayInstallationDefinition" - } - } - } + }, + "201": { + "description": "The newly created gateway definition", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinition" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customApis": { - "get": { - "tags": [ - "Custom APIs" - ], - "summary": "List of custom APIs", - "operationId": "CustomApis_List", - "description": "Gets a list of all custom APIs for a subscription id", - "x-ms-examples": { - "List all custom APIs": { - "$ref": "./examples/customApisList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "$ref": "#/parameters/pageSizeParameter" - }, - { - "$ref": "#/parameters/skipTokenParameter" - } - ], - "responses": { - "200": { - "description": "A list of custom APIs", - "schema": { - "$ref": "#/definitions/CustomApiDefinitionCollection" - } - } - } + } + } + }, + "patch": { + "tags": [ + "Connection Gateways" + ], + "summary": "Updates a specific gateway", + "operationId": "ConnectionGateways_Update", + "description": "Updates a connection gateway's tags", + "x-ms-examples": { + "Update a connection gateway's tags": { + "$ref": "./examples/connectionGatewaysUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayBodyParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway definition", + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinition" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis": { - "get": { - "tags": [ - "Custom APIs" - ], - "summary": "List of custom APIs", - "operationId": "CustomApis_ListByResourceGroup", - "description": "Gets a list of all custom APIs in a subscription for a specific resource group", - "x-ms-examples": { - "List all custom APIs": { - "$ref": "./examples/customApisListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "$ref": "#/parameters/pageSizeParameter" - }, - { - "$ref": "#/parameters/skipTokenParameter" - } - ], - "responses": { - "200": { - "description": "A list of custom APIs", - "schema": { - "$ref": "#/definitions/CustomApiDefinitionCollection" - } - } - } + } + } + }, + "delete": { + "tags": [ + "Connection Gateways" + ], + "summary": "Deletes a specific gateway", + "operationId": "ConnectionGateways_Delete", + "description": "Deletes a specific gateway for under a subscription and in a specific resource group", + "x-ms-examples": { + "Delete a connection gateway definition": { + "$ref": "./examples/connectionGatewaysDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionGatewayNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the connection gateway" + }, + "204": { + "description": "No connection gateway to delete" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations": { + "get": { + "tags": [ + "Connection Gateways" + ], + "summary": "Gets a list of installed gateways that the user is an admin of", + "operationId": "ConnectionGatewayInstallations_List", + "description": "Gets a list of installed gateways that the user is an admin of, in a specific subscription and at a certain location", + "x-ms-examples": { + "List all installations in a region": { + "$ref": "./examples/connectionGatewayInstallationsList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway installations", + "schema": { + "$ref": "#/definitions/ConnectionGatewayInstallationDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}": { - "get": { - "tags": [ - "Custom APIs" - ], - "summary": "Get a custom API", - "operationId": "CustomApis_Get", - "description": "Gets a custom API by name for a specific subscription and resource group", - "x-ms-examples": { - "Get a custom API": { - "$ref": "./examples/customApisGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A custom API", - "schema": { - "$ref": "#/definitions/CustomApiDefinition" - } - } - } - }, - "put": { - "tags": [ - "Custom APIs" - ], - "summary": "Replaces an existing custom API", - "operationId": "CustomApis_CreateOrUpdate", - "description": "Creates or updates an existing custom API", - "x-ms-examples": { - "Replace a custom API": { - "$ref": "./examples/customApisCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/customApiParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The replacing custom API", - "schema": { - "$ref": "#/definitions/CustomApiDefinition" - } - } - } - }, - "patch": { - "tags": [ - "Custom APIs" - ], - "summary": "Update an existing custom API", - "operationId": "CustomApis_Update", - "description": "Updates an existing custom API's tags", - "x-ms-examples": { - "Update a custom API's tags": { - "$ref": "./examples/customApisUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/customApiParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The updated custom API", - "schema": { - "$ref": "#/definitions/CustomApiDefinition" - } - } - } - }, - "delete": { - "tags": [ - "Custom APIs" - ], - "summary": "Delete a custom API", - "operationId": "CustomApis_Delete", - "description": "Deletes a custom API from the resource group", - "x-ms-examples": { - "Delete a custom API": { - "$ref": "./examples/customApisDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the custom API" - }, - "204": { - "description": "No custom API to delete" - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations/{gatewayId}": { + "get": { + "tags": [ + "Connection Gateways" + ], + "summary": "Gets an installed gateway that the user is an admin of", + "operationId": "ConnectionGatewayInstallations_Get", + "description": "Get a specific installed gateway that the user is an admin of, in a specific subscription and at a certain location", + "x-ms-examples": { + "Get a specific gateway installation": { + "$ref": "./examples/connectionGatewayInstallationsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/gatewayIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The gateway installation", + "schema": { + "$ref": "#/definitions/ConnectionGatewayInstallationDefinition" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}/move": { - "post": { - "tags": [ - "Custom APIs" - ], - "summary": "Moves the custom API", - "operationId": "CustomApis_Move", - "description": "Moves a specific custom API", - "x-ms-examples": { - "Move a custom API": { - "$ref": "./examples/customApisMove.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/customApiReferenceParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "custom API successfully moved" - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customApis": { + "get": { + "tags": [ + "Custom APIs" + ], + "summary": "List of custom APIs", + "operationId": "CustomApis_List", + "description": "Gets a list of all custom APIs for a subscription id", + "x-ms-examples": { + "List all custom APIs": { + "$ref": "./examples/customApisList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/pageSizeParameter" + }, + { + "$ref": "#/parameters/skipTokenParameter" + } + ], + "responses": { + "200": { + "description": "A list of custom APIs", + "schema": { + "$ref": "#/definitions/CustomApiDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/listWsdlInterfaces": { - "post": { - "tags": [ - "Custom APIs" - ], - "summary": "Lists WSDL interfaces", - "operationId": "CustomApis_ListWsdlInterfaces", - "description": "This returns the list of interfaces in the WSDL", - "x-ms-examples": { - "List the WSDL interfaces": { - "$ref": "./examples/customApisListWsdlInterfaces.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/wsdlDefinitionParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list of interfaces", - "schema": { - "$ref": "#/definitions/WsdlServiceCollection" - } - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis": { + "get": { + "tags": [ + "Custom APIs" + ], + "summary": "List of custom APIs", + "operationId": "CustomApis_ListByResourceGroup", + "description": "Gets a list of all custom APIs in a subscription for a specific resource group", + "x-ms-examples": { + "List all custom APIs": { + "$ref": "./examples/customApisListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/pageSizeParameter" + }, + { + "$ref": "#/parameters/skipTokenParameter" + } + ], + "responses": { + "200": { + "description": "A list of custom APIs", + "schema": { + "$ref": "#/definitions/CustomApiDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/extractApiDefinitionFromWsdl": { - "post": { - "tags": [ - "Custom APIs" - ], - "summary": "Returns API definition from WSDL", - "operationId": "CustomApis_ExtractApiDefinitionFromWsdl", - "description": "Parses the specified WSDL and extracts the API definition", - "x-ms-examples": { - "Extract definition from WSDL": { - "$ref": "./examples/customApisExtractApiDefinitionFromWsdl.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/wsdlDefinitionParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Swagger of the API extracted from the WSDL", - "schema": {} - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}": { + "get": { + "tags": [ + "Custom APIs" + ], + "summary": "Get a custom API", + "operationId": "CustomApis_Get", + "description": "Gets a custom API by name for a specific subscription and resource group", + "x-ms-examples": { + "Get a custom API": { + "$ref": "./examples/customApisGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A custom API", + "schema": { + "$ref": "#/definitions/CustomApiDefinition" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis": { - "get": { - "tags": [ - "Managed APIs" - ], - "summary": "Lists managed APIs", - "operationId": "ManagedApis_List", - "description": "Gets a list of managed APIs", - "x-ms-examples": { - "List all managed APIs": { - "$ref": "./examples/managedApisList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list of managed APIs", - "schema": { - "$ref": "#/definitions/ManagedApiDefinitionCollection" - } - } - } + } + } + }, + "put": { + "tags": [ + "Custom APIs" + ], + "summary": "Replaces an existing custom API", + "operationId": "CustomApis_CreateOrUpdate", + "description": "Creates or updates an existing custom API", + "x-ms-examples": { + "Replace a custom API": { + "$ref": "./examples/customApisCreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/customApiParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The replacing custom API", + "schema": { + "$ref": "#/definitions/CustomApiDefinition" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis/{apiName}": { - "get": { - "tags": [ - "Managed APIs" - ], - "summary": "Gets managed API", - "operationId": "ManagedApis_Get", - "description": "Gets a managed API", - "x-ms-examples": { - "Get a managed API": { - "$ref": "./examples/managedApisGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/locationParameter" - }, - { - "$ref": "#/parameters/apiNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A managed API definition", - "schema": { - "$ref": "#/definitions/ManagedApiDefinition" - } - } - } + } + } + }, + "patch": { + "tags": [ + "Custom APIs" + ], + "summary": "Update an existing custom API", + "operationId": "CustomApis_Update", + "description": "Updates an existing custom API's tags", + "x-ms-examples": { + "Update a custom API's tags": { + "$ref": "./examples/customApisUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/customApiParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The updated custom API", + "schema": { + "$ref": "#/definitions/CustomApiDefinition" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections": { - "get": { - "tags": [ - "Connections" - ], - "summary": "Get all connections", - "operationId": "Connections_List", - "description": "Gets a list of connections", - "x-ms-examples": { - "List all connections": { - "$ref": "./examples/connectionsList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/pageSizeParameter" - }, - { - "$ref": "#/parameters/filterParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list of API connection", - "schema": { - "$ref": "#/definitions/ApiConnectionDefinitionCollection" - } - } - } + } + } + }, + "delete": { + "tags": [ + "Custom APIs" + ], + "summary": "Delete a custom API", + "operationId": "CustomApis_Delete", + "description": "Deletes a custom API from the resource group", + "x-ms-examples": { + "Delete a custom API": { + "$ref": "./examples/customApisDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the custom API" + }, + "204": { + "description": "No custom API to delete" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}/move": { + "post": { + "tags": [ + "Custom APIs" + ], + "summary": "Moves the custom API", + "operationId": "CustomApis_Move", + "description": "Moves a specific custom API", + "x-ms-examples": { + "Move a custom API": { + "$ref": "./examples/customApisMove.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/customApiReferenceParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "custom API successfully moved" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/listWsdlInterfaces": { + "post": { + "tags": [ + "Custom APIs" + ], + "summary": "Lists WSDL interfaces", + "operationId": "CustomApis_ListWsdlInterfaces", + "description": "This returns the list of interfaces in the WSDL", + "x-ms-examples": { + "List the WSDL interfaces": { + "$ref": "./examples/customApisListWsdlInterfaces.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/wsdlDefinitionParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list of interfaces", + "schema": { + "$ref": "#/definitions/WsdlServiceCollection" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}": { - "get": { - "tags": [ - "Connections" - ], - "summary": "Get a connection", - "operationId": "Connections_Get", - "description": "Get a specific connection", - "x-ms-examples": { - "Get a connection": { - "$ref": "./examples/connectionsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An API connection", - "schema": { - "$ref": "#/definitions/ApiConnectionDefinition" - } - } - } - }, - "put": { - "tags": [ - "Connections" - ], - "summary": "Replace an existing connection", - "operationId": "Connections_CreateOrUpdate", - "description": "Creates or updates a connection", - "x-ms-examples": { - "Replace a connection": { - "$ref": "./examples/connectionsCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/apiConnectionParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "New API connection created", - "schema": { - "$ref": "#/definitions/ApiConnectionDefinition" - } - }, - "201": { - "description": "Already existing API connection updated", - "schema": { - "$ref": "#/definitions/ApiConnectionDefinition" - } - } - } - }, - "patch": { - "tags": [ - "Connections" - ], - "summary": "Update an existing connection", - "operationId": "Connections_Update", - "description": "Updates a connection's tags", - "x-ms-examples": { - "Update a connection's tags": { - "$ref": "./examples/connectionsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/apiConnectionParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "API connection updated", - "schema": { - "$ref": "#/definitions/ApiConnectionDefinition" - } - } - } - }, - "delete": { - "tags": [ - "Connections" - ], - "summary": "Delete an existing connection", - "operationId": "Connections_Delete", - "description": "Deletes a connection", - "x-ms-examples": { - "Delete a connection": { - "$ref": "./examples/connectionsDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the connection" - }, - "204": { - "description": "No connection to delete" - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/extractApiDefinitionFromWsdl": { + "post": { + "tags": [ + "Custom APIs" + ], + "summary": "Returns API definition from WSDL", + "operationId": "CustomApis_ExtractApiDefinitionFromWsdl", + "description": "Parses the specified WSDL and extracts the API definition", + "x-ms-examples": { + "Extract definition from WSDL": { + "$ref": "./examples/customApisExtractApiDefinitionFromWsdl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/wsdlDefinitionParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Swagger of the API extracted from the WSDL", + "schema": {} + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis": { + "get": { + "tags": [ + "Managed APIs" + ], + "summary": "Lists managed APIs", + "operationId": "ManagedApis_List", + "description": "Gets a list of managed APIs", + "x-ms-examples": { + "List all managed APIs": { + "$ref": "./examples/managedApisList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list of managed APIs", + "schema": { + "$ref": "#/definitions/ManagedApiDefinitionCollection" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConsentLinks": { - "post": { - "tags": [ - "Connections" - ], - "summary": "Lists consent links for a connection", - "operationId": "Connections_ListConsentLinks", - "description": "Lists the consent links of a connection", - "x-ms-examples": { - "List consent links": { - "$ref": "./examples/connectionsListConsentLinks.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/listConsentLinkParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "A list of the consent links", - "schema": { - "$ref": "#/definitions/ConsentLinkCollection" - } - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis/{apiName}": { + "get": { + "tags": [ + "Managed APIs" + ], + "summary": "Gets managed API", + "operationId": "ManagedApis_Get", + "description": "Gets a managed API", + "x-ms-examples": { + "Get a managed API": { + "$ref": "./examples/managedApisGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationParameter" + }, + { + "$ref": "#/parameters/apiNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A managed API definition", + "schema": { + "$ref": "#/definitions/ManagedApiDefinition" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/confirmConsentCode": { - "post": { - "tags": [ - "Connections" - ], - "summary": "Confirms the consent code for a connection", - "operationId": "Connections_ConfirmConsentCode", - "description": "Confirms consent code of a connection", - "x-ms-examples": { - "Confirm consent code": { - "$ref": "./examples/connectionsConfirmConsentCode.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/connectionNameParameter" - }, - { - "$ref": "#/parameters/confirmConsentCodeParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Confirmation of the consent code", - "schema": { - "$ref": "#/definitions/ConfirmConsentCodeDefinition" - } - } - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections": { + "get": { + "tags": [ + "Connections" + ], + "summary": "Get all connections", + "operationId": "Connections_List", + "description": "Gets a list of connections", + "x-ms-examples": { + "List all connections": { + "$ref": "./examples/connectionsList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/pageSizeParameter" + }, + { + "$ref": "#/parameters/filterParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list of API connection", + "schema": { + "$ref": "#/definitions/ApiConnectionDefinitionCollection" } + } } + } }, - "parameters": { - "apiConnectionParameter": { - "name": "connection", - "description": "The connection", - "in": "body", - "required": true, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}": { + "get": { + "tags": [ + "Connections" + ], + "summary": "Get a connection", + "operationId": "Connections_Get", + "description": "Get a specific connection", + "x-ms-examples": { + "Get a connection": { + "$ref": "./examples/connectionsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An API connection", "schema": { - "$ref": "#/definitions/ApiConnectionDefinition" - }, - "x-ms-parameter-location": "method" - }, - "apiNameParameter": { - "type": "string", - "name": "apiName", - "description": "API name", - "in": "path", - "required": true, - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "confirmConsentCodeParameter": { - "name": "confirmConsentCode", - "description": "The consent code confirmation", - "in": "body", - "required": true, + "$ref": "#/definitions/ApiConnectionDefinition" + } + } + } + }, + "put": { + "tags": [ + "Connections" + ], + "summary": "Replace an existing connection", + "operationId": "Connections_CreateOrUpdate", + "description": "Creates or updates a connection", + "x-ms-examples": { + "Replace a connection": { + "$ref": "./examples/connectionsCreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/apiConnectionParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "New API connection created", "schema": { - "$ref": "#/definitions/ConfirmConsentCodeDefinition" - }, - "x-ms-parameter-location": "method" - }, - "connectionGatewayBodyParameter": { - "name": "connectionGateway", - "description": "The connection gateway", - "in": "body", - "required": true, + "$ref": "#/definitions/ApiConnectionDefinition" + } + }, + "201": { + "description": "Already existing API connection updated", "schema": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - }, - "x-ms-parameter-location": "method" - }, - "connectionGatewayNameParameter": { - "name": "connectionGatewayName", - "description": "The connection gateway name", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "connectionNameParameter": { - "type": "string", - "name": "connectionName", - "description": "Connection name", - "in": "path", - "required": true, - "x-ms-parameter-location": "method" - }, - "customApiParameter": { - "name": "customApi", - "description": "The custom API", - "in": "body", - "required": true, + "$ref": "#/definitions/ApiConnectionDefinition" + } + } + } + }, + "patch": { + "tags": [ + "Connections" + ], + "summary": "Update an existing connection", + "operationId": "Connections_Update", + "description": "Updates a connection's tags", + "x-ms-examples": { + "Update a connection's tags": { + "$ref": "./examples/connectionsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/apiConnectionParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "API connection updated", "schema": { - "$ref": "#/definitions/CustomApiDefinition" - }, - "x-ms-parameter-location": "method" - }, - "customApiReferenceParameter": { - "name": "customApiReference", - "description": "The custom API reference", - "in": "body", - "required": true, + "$ref": "#/definitions/ApiConnectionDefinition" + } + } + } + }, + "delete": { + "tags": [ + "Connections" + ], + "summary": "Delete an existing connection", + "operationId": "Connections_Delete", + "description": "Deletes a connection", + "x-ms-examples": { + "Delete a connection": { + "$ref": "./examples/connectionsDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the connection" + }, + "204": { + "description": "No connection to delete" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConsentLinks": { + "post": { + "tags": [ + "Connections" + ], + "summary": "Lists consent links for a connection", + "operationId": "Connections_ListConsentLinks", + "description": "Lists the consent links of a connection", + "x-ms-examples": { + "List consent links": { + "$ref": "./examples/connectionsListConsentLinks.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/listConsentLinkParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "A list of the consent links", "schema": { - "$ref": "#/definitions/CustomApiReference" - }, - "x-ms-parameter-location": "method" - }, - "filterParameter": { - "name": "$filter", - "description": "The filter to apply on the operation", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "gatewayIdParameter": { - "type": "string", - "name": "gatewayId", - "description": "Gateway ID", - "in": "path", - "required": true, - "x-ms-parameter-location": "method" - }, - "listConnectionKeysParameter": { - "name": "listConnectionKeys", - "description": "The connection keys to list", - "in": "body", - "required": true, + "$ref": "#/definitions/ConsentLinkCollection" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/confirmConsentCode": { + "post": { + "tags": [ + "Connections" + ], + "summary": "Confirms the consent code for a connection", + "operationId": "Connections_ConfirmConsentCode", + "description": "Confirms consent code of a connection", + "x-ms-examples": { + "Confirm consent code": { + "$ref": "./examples/connectionsConfirmConsentCode.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/connectionNameParameter" + }, + { + "$ref": "#/parameters/confirmConsentCodeParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Confirmation of the consent code", "schema": { - "$ref": "#/definitions/ListConnectionKeysDefinition" + "$ref": "#/definitions/ConfirmConsentCodeDefinition" + } + } + } + } + } + }, + "parameters": { + "apiConnectionParameter": { + "name": "connection", + "description": "The connection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApiConnectionDefinition" + }, + "x-ms-parameter-location": "method" + }, + "apiNameParameter": { + "type": "string", + "name": "apiName", + "description": "API name", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "API Version", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "confirmConsentCodeParameter": { + "name": "confirmConsentCode", + "description": "The consent code confirmation", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConfirmConsentCodeDefinition" + }, + "x-ms-parameter-location": "method" + }, + "connectionGatewayBodyParameter": { + "name": "connectionGateway", + "description": "The connection gateway", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionGatewayDefinition" + }, + "x-ms-parameter-location": "method" + }, + "connectionGatewayNameParameter": { + "name": "connectionGatewayName", + "description": "The connection gateway name", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "connectionNameParameter": { + "type": "string", + "name": "connectionName", + "description": "Connection name", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + }, + "customApiParameter": { + "name": "customApi", + "description": "The custom API", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CustomApiDefinition" + }, + "x-ms-parameter-location": "method" + }, + "customApiReferenceParameter": { + "name": "customApiReference", + "description": "The custom API reference", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CustomApiReference" + }, + "x-ms-parameter-location": "method" + }, + "filterParameter": { + "name": "$filter", + "description": "The filter to apply on the operation", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "gatewayIdParameter": { + "type": "string", + "name": "gatewayId", + "description": "Gateway ID", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + }, + "listConnectionKeysParameter": { + "name": "listConnectionKeys", + "description": "The connection keys to list", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ListConnectionKeysDefinition" + }, + "x-ms-parameter-location": "method" + }, + "listConsentLinkParameter": { + "name": "listConsentLink", + "description": "The consent links", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ListConsentLinksDefinition" + }, + "x-ms-parameter-location": "method" + }, + "locationParameter": { + "name": "location", + "description": "The location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "pageSizeParameter": { + "name": "$top", + "description": "The number of items to be included in the result", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "The resource group", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "skipTokenParameter": { + "type": "string", + "name": "skiptoken", + "description": "Skip Token", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription Id", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "wsdlDefinitionParameter": { + "name": "wsdlDefinition", + "description": "WSDL definition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WsdlDefinition" + }, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "ApiConnectionDefinitionCollection": { + "description": "A list of API connection definitions", + "type": "object", + "properties": { + "value": { + "description": "Collection of API connections", + "type": "array", + "items": { + "$ref": "#/definitions/ApiConnectionDefinition" + } + } + } + }, + "ManagedApiDefinitionCollection": { + "description": "A list of managed API definitions", + "type": "object", + "properties": { + "value": { + "description": "Collection of managed APIs", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedApiDefinition" + } + } + } + }, + "WsdlServiceCollection": { + "description": "A list of custom API WSDL interfaces", + "type": "object", + "properties": { + "value": { + "description": "Collection of WSDL interfaces", + "type": "array", + "items": { + "$ref": "#/definitions/WsdlService" + } + } + } + }, + "CustomApiDefinitionCollection": { + "description": "A list of custom API definitions", + "type": "object", + "properties": { + "value": { + "description": "Collection of custom APIs", + "type": "array", + "items": { + "$ref": "#/definitions/CustomApiDefinition" + } + } + } + }, + "ConnectionGatewayInstallationDefinitionCollection": { + "description": "A list of connection gateway installation definitions", + "type": "object", + "properties": { + "value": { + "description": "Collection of connection gateway installations", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionGatewayInstallationDefinition" + } + } + } + }, + "ConnectionGatewayDefinitionCollection": { + "description": "A list of connection gateway definitions", + "type": "object", + "properties": { + "value": { + "description": "Collection of connection gateways", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionGatewayDefinition" + } + } + } + }, + "ConnectionGatewayDefinition": { + "description": "The gateway definition", + "type": "object", + "additionalProperties": false, + "properties": { + "properties": { + "properties": { + "connectionGatewayInstallation": { + "$ref": "#/definitions/ConnectionGatewayReference" }, - "x-ms-parameter-location": "method" - }, - "listConsentLinkParameter": { - "name": "listConsentLink", - "description": "The consent links", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ListConsentLinksDefinition" + "contactInformation": { + "description": "The gateway admin", + "type": "array", + "items": { + "type": "string" + } }, - "x-ms-parameter-location": "method" - }, - "locationParameter": { - "name": "location", - "description": "The location", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "pageSizeParameter": { - "name": "$top", - "description": "The number of items to be included in the result", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "x-ms-parameter-location": "method" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "description": "The resource group", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "skipTokenParameter": { - "type": "string", - "name": "skiptoken", - "description": "Skip Token", - "in": "query", - "required": false, - "x-ms-parameter-location": "method" - }, - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Subscription Id", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "wsdlDefinitionParameter": { - "name": "wsdlDefinition", - "description": "WSDL definition", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WsdlDefinition" + "displayName": { + "description": "The gateway display name", + "type": "string" }, - "x-ms-parameter-location": "method" - } - }, - "definitions": { - "ApiConnectionDefinitionCollection": { - "description": "A list of API connection definitions", - "type": "object", - "properties": { - "value": { - "description": "Collection of API connections", - "type": "array", - "items": { - "$ref": "#/definitions/ApiConnectionDefinition" - } - } - } - }, - "ManagedApiDefinitionCollection": { - "description": "A list of managed API definitions", - "type": "object", - "properties": { - "value": { - "description": "Collection of managed APIs", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedApiDefinition" - } - } - } - }, - "WsdlServiceCollection": { - "description": "A list of custom API WSDL interfaces", - "type": "object", - "properties": { - "value": { - "description": "Collection of WSDL interfaces", - "type": "array", - "items": { - "$ref": "#/definitions/WsdlService" - } - } - } - }, - "CustomApiDefinitionCollection": { - "description": "A list of custom API definitions", - "type": "object", - "properties": { - "value": { - "description": "Collection of custom APIs", - "type": "array", - "items": { - "$ref": "#/definitions/CustomApiDefinition" - } - } - } - }, - "ConnectionGatewayInstallationDefinitionCollection": { - "description": "A list of connection gateway installation definitions", - "type": "object", - "properties": { - "value": { - "description": "Collection of connection gateway installations", - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionGatewayInstallationDefinition" - } - } - } - }, - "ConnectionGatewayDefinitionCollection": { - "description": "A list of connection gateway definitions", - "type": "object", - "properties": { - "value": { - "description": "Collection of connection gateways", - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionGatewayDefinition" - } - } - } - }, - "ConnectionGatewayDefinition": { - "description": "The gateway definition", - "type": "object", - "additionalProperties": false, - "properties": { - "properties": { - "properties": { - "connectionGatewayInstallation": { - "$ref": "#/definitions/ConnectionGatewayReference" - }, - "contactInformation": { - "description": "The gateway admin", - "type": "array", - "items": { - "type": "string" - } - }, - "displayName": { - "description": "The gateway display name", - "type": "string" - }, - "description": { - "description": "The gateway description", - "type": "string" - }, - "machineName": { - "description": "The machine name of the gateway", - "type": "string" - }, - "status": { - "description": "The gateway status", - "type": "object" - }, - "backendUri": { - "description": "The URI of the backend", - "type": "string" - } - } - } + "description": { + "description": "The gateway description", + "type": "string" }, - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ] - }, - "ConnectionGatewayReference": { - "description": "The gateway installation reference", - "type": "object", - "properties": { - "location": { - "description": "Resource reference location", - "type": "string" - }, - "name": { - "description": "Resource reference name", - "type": "string" - } + "machineName": { + "description": "The machine name of the gateway", + "type": "string" }, - "allOf": [ - { - "$ref": "#/definitions/ResourceReference" - } - ] - }, - "ResourceReference": { - "type": "object", - "x-abstract": true, - "additionalProperties": false, - "properties": { - "id": { - "description": "Resource reference id", - "type": "string" - }, - "type": { - "description": "Resource reference type", - "type": "string" - } + "status": { + "description": "The gateway status", + "type": "object" + }, + "backendUri": { + "description": "The URI of the backend", + "type": "string" } - }, - "ResourceDefinition": { - "description": "A resource", - "type": "object", - "additionalProperties": false, - "properties": { - "id": { - "description": "Resource id", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type", - "type": "string", - "readOnly": true - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "etag": { - "description": "Resource ETag", - "type": "string" - }, - "tags": { - "$ref": "#/definitions/TagsDictionary" - } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ] + }, + "ConnectionGatewayReference": { + "description": "The gateway installation reference", + "type": "object", + "properties": { + "location": { + "description": "Resource reference location", + "type": "string" + }, + "name": { + "description": "Resource reference name", + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceReference" + } + ] + }, + "ResourceReference": { + "type": "object", + "x-abstract": true, + "additionalProperties": false, + "properties": { + "id": { + "description": "Resource reference id", + "type": "string" + }, + "type": { + "description": "Resource reference type", + "type": "string" + } + } + }, + "ResourceDefinition": { + "description": "A resource", + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "description": "Resource id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Resource location", + "type": "string" + }, + "etag": { + "description": "Resource ETag", + "type": "string" + }, + "tags": { + "$ref": "#/definitions/TagsDictionary" + } + }, + "x-ms-azure-resource": true + }, + "ConnectionGatewayInstallationDefinition": { + "description": "The gateway installation", + "type": "object", + "additionalProperties": false, + "properties": { + "properties": { + "properties": { + "connectionGateway": { + "$ref": "#/definitions/ConnectionGatewayReference" }, - "x-ms-azure-resource": true - }, - "ConnectionGatewayInstallationDefinition": { - "description": "The gateway installation", - "type": "object", - "additionalProperties": false, - "properties": { - "properties": { - "properties": { - "connectionGateway": { - "$ref": "#/definitions/ConnectionGatewayReference" - }, - "contactInformation": { - "description": "The gateway admin", - "type": "array", - "items": { - "type": "string" - } - }, - "displayName": { - "description": "The gateway display name", - "type": "string" - }, - "description": { - "description": "The gateway description", - "type": "string" - }, - "machineName": { - "description": "The machine name of the gateway", - "type": "string" - }, - "status": { - "description": "The gateway status", - "type": "object" - }, - "backendUri": { - "description": "The URI of the backend", - "type": "string" - } - } - } + "contactInformation": { + "description": "The gateway admin", + "type": "array", + "items": { + "type": "string" + } }, - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ] - }, - "CustomApiDefinition": { - "type": "object", - "description": "A custom API", - "additionalProperties": false, - "properties": { - "properties": { - "$ref": "#/definitions/CustomApiPropertiesDefinition" - } + "displayName": { + "description": "The gateway display name", + "type": "string" }, - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ] - }, - "CustomApiPropertiesDefinition": { - "type": "object", - "description": "Custom API properties", - "additionalProperties": false, - "properties": { - "connectionParameters": { - "description": "Connection parameters", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ConnectionParameter" - } - }, - "runtimeUrls": { - "type": "array", - "description": "Runtime URLs", - "items": { - "type": "string" - } - }, - "capabilities": { - "type": "array", - "description": "The custom API capabilities", - "items": { - "type": "string" - } - }, - "swagger": { - "type": "object", - "description": "The JSON representation of the swagger" - }, - "brandColor": { - "type": "string", - "description": "Brand color" - }, - "description": { - "type": "string", - "description": "The custom API description" - }, - "displayName": { - "type": "string", - "description": "The display name" - }, - "iconUri": { - "type": "string", - "description": "The icon URI" - }, - "backendService": { - "$ref": "#/definitions/ApiResourceBackendService" - }, - "apiDefinitions": { - "$ref": "#/definitions/ApiResourceDefinitions" - }, - "apiType": { - "$ref": "#/definitions/ApiType" - }, - "wsdlDefinition": { - "$ref": "#/definitions/WsdlDefinition" - } - } - }, - "ConnectionParameter": { - "description": "Connection provider parameters", - "type": "object", - "properties": { - "type": { - "description": "Type of the parameter", - "enum": [ - "string", - "securestring", - "secureobject", - "int", - "bool", - "object", - "array", - "oauthSetting", - "connection" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionParameterType", - "modelAsString": false - } - }, - "oAuthSettings": { - "$ref": "#/definitions/ApiOAuthSettings" - } - } - }, - "ApiOAuthSettings": { - "description": "OAuth settings for the connection provider", - "type": "object", - "properties": { - "identityProvider": { - "description": "Identity provider", - "type": "string" - }, - "clientId": { - "description": "Resource provider client id", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret needed for OAuth", - "type": "string" - }, - "scopes": { - "description": "OAuth scopes", - "type": "array", - "items": { - "type": "string" - } - }, - "redirectUrl": { - "description": "Url", - "type": "string" - }, - "properties": { - "type": "object", - "description": "Read only properties for this oauth setting." - }, - "customParameters": { - "description": "OAuth parameters key is the name of parameter", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ApiOAuthSettingsParameter" - } - } - } - }, - "ApiOAuthSettingsParameter": { - "description": "OAuth settings for the API", - "type": "object", - "properties": { - "value": { - "description": "Value of the setting", - "type": "string" - }, - "options": { - "type": "object", - "description": "Options available to this parameter" - }, - "uiDefinition": { - "type": "object", - "description": "UI definitions per culture as caller can specify the culture" - } + "description": { + "description": "The gateway description", + "type": "string" + }, + "machineName": { + "description": "The machine name of the gateway", + "type": "string" + }, + "status": { + "description": "The gateway status", + "type": "object" + }, + "backendUri": { + "description": "The URI of the backend", + "type": "string" } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ] + }, + "CustomApiDefinition": { + "type": "object", + "description": "A custom API", + "additionalProperties": false, + "properties": { + "properties": { + "$ref": "#/definitions/CustomApiPropertiesDefinition" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ] + }, + "CustomApiPropertiesDefinition": { + "type": "object", + "description": "Custom API properties", + "additionalProperties": false, + "properties": { + "connectionParameters": { + "description": "Connection parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionParameter" + } + }, + "runtimeUrls": { + "type": "array", + "description": "Runtime URLs", + "items": { + "type": "string" + } + }, + "capabilities": { + "type": "array", + "description": "The custom API capabilities", + "items": { + "type": "string" + } + }, + "swagger": { + "type": "object", + "description": "The JSON representation of the swagger" + }, + "brandColor": { + "type": "string", + "description": "Brand color" + }, + "description": { + "type": "string", + "description": "The custom API description" + }, + "displayName": { + "type": "string", + "description": "The display name" + }, + "iconUri": { + "type": "string", + "description": "The icon URI" + }, + "backendService": { + "$ref": "#/definitions/ApiResourceBackendService" + }, + "apiDefinitions": { + "$ref": "#/definitions/ApiResourceDefinitions" + }, + "apiType": { + "$ref": "#/definitions/ApiType" + }, + "wsdlDefinition": { + "$ref": "#/definitions/WsdlDefinition" + } + } + }, + "ConnectionParameter": { + "description": "Connection provider parameters", + "type": "object", + "properties": { + "type": { + "description": "Type of the parameter", + "enum": [ + "string", + "securestring", + "secureobject", + "int", + "bool", + "object", + "array", + "oauthSetting", + "connection" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionParameterType", + "modelAsString": false + } + }, + "oAuthSettings": { + "$ref": "#/definitions/ApiOAuthSettings" + } + } + }, + "ApiOAuthSettings": { + "description": "OAuth settings for the connection provider", + "type": "object", + "properties": { + "identityProvider": { + "description": "Identity provider", + "type": "string" + }, + "clientId": { + "description": "Resource provider client id", + "type": "string" + }, + "clientSecret": { + "description": "Client Secret needed for OAuth", + "type": "string" + }, + "scopes": { + "description": "OAuth scopes", + "type": "array", + "items": { + "type": "string" + } + }, + "redirectUrl": { + "description": "Url", + "type": "string" + }, + "properties": { + "type": "object", + "description": "Read only properties for this oauth setting." + }, + "customParameters": { + "description": "OAuth parameters key is the name of parameter", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ApiOAuthSettingsParameter" + } + } + } + }, + "ApiOAuthSettingsParameter": { + "description": "OAuth settings for the API", + "type": "object", + "properties": { + "value": { + "description": "Value of the setting", + "type": "string" + }, + "options": { + "type": "object", + "description": "Options available to this parameter" + }, + "uiDefinition": { + "type": "object", + "description": "UI definitions per culture as caller can specify the culture" + } + } + }, + "ApiResourceBackendService": { + "type": "object", + "description": "The API backend service", + "additionalProperties": false, + "properties": { + "serviceUrl": { + "type": "string", + "description": "The service URL" + } + } + }, + "ApiResourceDefinitions": { + "type": "object", + "description": "API Definitions", + "additionalProperties": false, + "properties": { + "originalSwaggerUrl": { + "type": "string", + "description": "The original swagger URL" + }, + "modifiedSwaggerUrl": { + "type": "string", + "description": "The modified swagger URL" + } + } + }, + "ApiType": { + "type": "string", + "description": "The API type", + "enum": [ + "NotSpecified", + "Rest", + "Soap" + ], + "x-ms-enum": { + "name": "ApiType", + "modelAsString": true + } + }, + "WsdlDefinition": { + "type": "object", + "description": "The WSDL definition", + "additionalProperties": false, + "properties": { + "url": { + "type": "string", + "description": "The WSDL URL" + }, + "content": { + "type": "string", + "description": "The WSDL content" + }, + "service": { + "$ref": "#/definitions/WsdlService" + }, + "importMethod": { + "$ref": "#/definitions/WsdlImportMethod" + } + } + }, + "WsdlService": { + "type": "object", + "description": "The service with name and endpoint names", + "additionalProperties": false, + "required": [ + "qualifiedName" + ], + "properties": { + "qualifiedName": { + "description": "The service's qualified name", + "type": "string" + }, + "endpointQualifiedNames": { + "type": "array", + "description": "List of the endpoints' qualified names", + "items": { + "type": "string" + } + } + } + }, + "WsdlImportMethod": { + "type": "string", + "description": "The WSDL import method", + "enum": [ + "NotSpecified", + "SoapToRest", + "SoapPassThrough" + ], + "x-ms-enum": { + "name": "WsdlImportMethod", + "modelAsString": true + } + }, + "CustomApiReference": { + "type": "object", + "description": "The custom API reference", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ApiReference" + } + ] + }, + "ApiReference": { + "type": "object", + "x-abstract": true, + "additionalProperties": false, + "properties": { + "swagger": { + "type": "object", + "description": "The JSON representation of the swagger" + }, + "brandColor": { + "type": "string", + "description": "Brand color" + }, + "description": { + "type": "string", + "description": "The custom API description" + }, + "displayName": { + "type": "string", + "description": "The display name" + }, + "iconUri": { + "type": "string", + "description": "The icon URI" + }, + "name": { + "type": "string", + "description": "The name of the API" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceReference" + } + ] + }, + "ManagedApiDefinition": { + "type": "object", + "description": "A managed API definition", + "additionalProperties": false, + "properties": { + "properties": { + "$ref": "#/definitions/ApiResourceProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ] + }, + "ApiResourceProperties": { + "type": "object", + "description": "API resource properties", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "connectionParameters": { + "description": "Connection parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionParameter" + } + }, + "metadata": { + "$ref": "#/definitions/ApiResourceMetadata" + }, + "runtimeUrls": { + "type": "array", + "description": "Runtime URLs", + "items": { + "type": "string" + } + }, + "generalInformation": { + "$ref": "#/definitions/ApiResourceGeneralInformation" + }, + "capabilities": { + "type": "array", + "description": "The managed API capabilities", + "items": { + "type": "string" + } + }, + "swagger": { + "type": "object", + "description": "The JSON representation of the swagger" + }, + "backendService": { + "$ref": "#/definitions/ApiResourceBackendService" + }, + "policies": { + "$ref": "#/definitions/ApiResourcePolicies" + }, + "apiDefinitionUrl": { + "type": "string", + "description": "URL where the swagger can be downloaded from" + }, + "apiDefinitions": { + "$ref": "#/definitions/ApiResourceDefinitions" + } + } + }, + "ApiResourceMetadata": { + "type": "object", + "additionalProperties": false, + "properties": { + "source": { + "type": "string", + "description": "The source" }, - "ApiResourceBackendService": { - "type": "object", - "description": "The API backend service", - "additionalProperties": false, - "properties": { - "serviceUrl": { - "type": "string", - "description": "The service URL" - } - } + "brandColor": { + "type": "string", + "description": "Brand color" }, - "ApiResourceDefinitions": { - "type": "object", - "description": "API Definitions", - "additionalProperties": false, - "properties": { - "originalSwaggerUrl": { - "type": "string", - "description": "The original swagger URL" - }, - "modifiedSwaggerUrl": { - "type": "string", - "description": "The modified swagger URL" - } - } + "hideKey": { + "type": "string", + "description": "Hide key" }, - "ApiType": { - "type": "string", - "description": "The API type", - "enum": [ - "NotSpecified", - "Rest", - "Soap" - ], - "x-ms-enum": { - "name": "ApiType", - "modelAsString": true - } + "tags": { + "$ref": "#/definitions/TagsDictionary" }, - "WsdlDefinition": { - "type": "object", - "description": "The WSDL definition", - "additionalProperties": false, - "properties": { - "url": { - "type": "string", - "description": "The WSDL URL" - }, - "content": { - "type": "string", - "description": "The WSDL content" - }, - "service": { - "$ref": "#/definitions/WsdlService" - }, - "importMethod": { - "$ref": "#/definitions/WsdlImportMethod" - } - } + "apiType": { + "$ref": "#/definitions/ApiType" }, - "WsdlService": { - "type": "object", - "description": "The service with name and endpoint names", - "additionalProperties": false, - "required": [ - "qualifiedName" - ], - "properties": { - "qualifiedName": { - "description": "The service's qualified name", - "type": "string" - }, - "endpointQualifiedNames": { - "type": "array", - "description": "List of the endpoints' qualified names", - "items": { - "type": "string" - } - } - } + "wsdlService": { + "$ref": "#/definitions/WsdlService" }, - "WsdlImportMethod": { - "type": "string", - "description": "The WSDL import method", - "enum": [ - "NotSpecified", - "SoapToRest", - "SoapPassThrough" - ], - "x-ms-enum": { - "name": "WsdlImportMethod", - "modelAsString": true - } + "wsdlImportMethod": { + "$ref": "#/definitions/WsdlImportMethod" }, - "CustomApiReference": { - "type": "object", - "description": "The custom API reference", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } + "connectionType": { + "type": "string", + "description": "The connection type" + } + } + }, + "TagsDictionary": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + }, + "example": { + "SampleTagName": "SampleTagValue" + } + }, + "ApiResourceGeneralInformation": { + "type": "object", + "description": "General information about the API", + "additionalProperties": false, + "properties": { + "iconUrl": { + "type": "string", + "description": "The icon URL" + }, + "displayName": { + "type": "string", + "description": "Display name" + }, + "description": { + "type": "string", + "description": "The API description" + }, + "termsOfUseUrl": { + "type": "string", + "description": "URL to the Terms of Use" + }, + "releaseTag": { + "type": "string", + "description": "Release tag" + } + } + }, + "ApiResourcePolicies": { + "type": "object", + "description": "Describes the API policies either as embedded content or as a link to uploaded content", + "additionalProperties": false, + "properties": { + "content": { + "type": "string", + "description": "API level policies as XML" + }, + "contentLink": { + "type": "string", + "description": "Link to the JSON of the policies" + } + } + }, + "ApiConnectionDefinition": { + "description": "API connection", + "type": "object", + "additionalProperties": false, + "properties": { + "properties": { + "properties": { + "displayName": { + "description": "Display name", + "type": "string" }, - "allOf": [ - { - "$ref": "#/definitions/ApiReference" - } - ] - }, - "ApiReference": { - "type": "object", - "x-abstract": true, - "additionalProperties": false, - "properties": { - "swagger": { - "type": "object", - "description": "The JSON representation of the swagger" - }, - "brandColor": { - "type": "string", - "description": "Brand color" - }, - "description": { - "type": "string", - "description": "The custom API description" - }, - "displayName": { - "type": "string", - "description": "The display name" - }, - "iconUri": { - "type": "string", - "description": "The icon URI" - }, - "name": { - "type": "string", - "description": "The name of the API" - } + "statuses": { + "description": "Status of the connection", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionStatusDefinition" + } }, - "allOf": [ - { - "$ref": "#/definitions/ResourceReference" - } - ] - }, - "ManagedApiDefinition": { - "type": "object", - "description": "A managed API definition", - "additionalProperties": false, - "properties": { - "properties": { - "$ref": "#/definitions/ApiResourceProperties" - } + "parameterValues": { + "description": "Dictionary of parameter values", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ] - }, - "ApiResourceProperties": { - "type": "object", - "description": "API resource properties", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "connectionParameters": { - "description": "Connection parameters", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ConnectionParameter" - } - }, - "metadata": { - "$ref": "#/definitions/ApiResourceMetadata" - }, - "runtimeUrls": { - "type": "array", - "description": "Runtime URLs", - "items": { - "type": "string" - } - }, - "generalInformation": { - "$ref": "#/definitions/ApiResourceGeneralInformation" - }, - "capabilities": { - "type": "array", - "description": "The managed API capabilities", - "items": { - "type": "string" - } - }, - "swagger": { - "type": "object", - "description": "The JSON representation of the swagger" - }, - "backendService": { - "$ref": "#/definitions/ApiResourceBackendService" - }, - "policies": { - "$ref": "#/definitions/ApiResourcePolicies" - }, - "apiDefinitionUrl": { - "type": "string", - "description": "URL where the swagger can be downloaded from" - }, - "apiDefinitions": { - "$ref": "#/definitions/ApiResourceDefinitions" - } - } - }, - "ApiResourceMetadata": { - "type": "object", - "additionalProperties": false, - "properties": { - "source": { - "type": "string", - "description": "The source" - }, - "brandColor": { - "type": "string", - "description": "Brand color" - }, - "hideKey": { - "type": "string", - "description": "Hide key" - }, - "tags": { - "$ref": "#/definitions/TagsDictionary" - }, - "apiType": { - "$ref": "#/definitions/ApiType" - }, - "wsdlService": { - "$ref": "#/definitions/WsdlService" - }, - "wsdlImportMethod": { - "$ref": "#/definitions/WsdlImportMethod" - }, - "connectionType": { - "type": "string", - "description": "The connection type" - } - } - }, - "TagsDictionary": { - "type": "object", - "description": "Resource tags", - "additionalProperties": { + "customParameterValues": { + "description": "Dictionary of custom parameter values", + "type": "object", + "additionalProperties": { "type": "string" + } }, - "example": { - "SampleTagName": "SampleTagValue" - } - }, - "ApiResourceGeneralInformation": { - "type": "object", - "description": "General information about the API", - "additionalProperties": false, - "properties": { - "iconUrl": { - "type": "string", - "description": "The icon URL" - }, - "displayName": { - "type": "string", - "description": "Display name" - }, - "description": { - "type": "string", - "description": "The API description" - }, - "termsOfUseUrl": { - "type": "string", - "description": "URL to the Terms of Use" - }, - "releaseTag": { - "type": "string", - "description": "Release tag" - } - } - }, - "ApiResourcePolicies": { - "type": "object", - "description": "Describes the API policies either as embedded content or as a link to uploaded content", - "additionalProperties": false, - "properties": { - "content": { - "type": "string", - "description": "API level policies as XML" - }, - "contentLink": { - "type": "string", - "description": "Link to the JSON of the policies" - } - } - }, - "ApiConnectionDefinition": { - "description": "API connection", - "type": "object", - "additionalProperties": false, - "properties": { - "properties": { - "properties": { - "displayName": { - "description": "Display name", - "type": "string" - }, - "statuses": { - "description": "Status of the connection", - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionStatusDefinition" - } - }, - "parameterValues": { - "description": "Dictionary of parameter values", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "customParameterValues": { - "description": "Dictionary of custom parameter values", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "nonSecretParameterValues": { - "description": "Dictionary of nonsecret parameter values", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "createdTime": { - "format": "date-time", - "description": "Timestamp of the connection creation", - "type": "string" - }, - "changedTime": { - "format": "date-time", - "description": "Timestamp of last connection change", - "type": "string" - }, - "api": { - "$ref": "#/definitions/ApiReference" - }, - "testLinks": { - "description": "Links to test the API connection", - "type": "array", - "items": { - "$ref": "#/definitions/ApiConnectionTestLink" - } - } - } - } + "nonSecretParameterValues": { + "description": "Dictionary of nonsecret parameter values", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ] - }, - "ApiConnectionTestLink": { - "description": "API connection properties", - "type": "object", - "additionalProperties": false, - "properties": { - "requestUri": { - "description": "Test link request URI", - "type": "string" - }, - "method": { - "description": "HTTP Method", - "type": "string" - } - } - }, - "ListConsentLinksDefinition": { - "description": "Request for a list of consent links", - "type": "object", - "properties": { - "parameters": { - "description": "Collection of resources", - "type": "array", - "items": { - "$ref": "#/definitions/ConsentLinkParameterDefinition" - } - } - } - }, - "ConsentLinkParameterDefinition": { - "description": "Consent link definition", - "type": "object", - "properties": { - "parameterName": { - "description": "Name of the parameter in the connection provider's OAuth settings", - "type": "string" - }, - "redirectUrl": { - "description": "Name of the parameter in the connection provider's OAuth settings", - "type": "string" - }, - "objectId": { - "description": "AAD OID (user or group) if the principal type is ActiveDirectory. MSA PUID if the principal type is MicrosoftAccount", - "type": "string" - }, - "tenantId": { - "description": "The tenant id", - "type": "string" - } - } - }, - "ConsentLinkCollection": { - "description": "Collection of consent links", - "type": "object", - "properties": { - "value": { - "description": "Collection of resources", - "type": "array", - "items": { - "$ref": "#/definitions/ConsentLinkDefinition" - } - } - } - }, - "ConsentLinkDefinition": { - "description": "A consent link", - "type": "object", - "properties": { - "link": { - "description": "URI for the consent link", - "type": "string" - }, - "firstPartyLoginUri": { - "description": "URI for first party login", - "type": "string" - }, - "displayName": { - "description": "Display name of the parameter in the connection provider's OAuth settings", - "type": "string" - }, - "status": { - "description": "Status of the link", - "enum": [ - "Unauthenticated", - "Authenticated", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "LinkState", - "modelAsString": true - } - } - } - }, - "ConfirmConsentCodeDefinition": { - "description": "Confirm consent code request", - "type": "object", - "properties": { - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "objectId": { - "description": "AAD object ID. This is userId", - "type": "string" - }, - "code": { - "description": "Code that was returned during consent flow", - "type": "string" - } - } - }, - "ListConnectionKeysDefinition": { - "description": "List connection keys", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ], - "properties": { - "properties": { - "properties": { - "validityTimeSpan": { - "description": "Time span for how long the keys will be valid", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ConnectionStatusDefinition": { - "description": "Connection status", - "type": "object", - "properties": { - "status": { - "description": "The gateway status", - "type": "string" - }, - "target": { - "description": "Target of the error", - "type": "string" - }, - "error": { - "$ref": "#/definitions/ConnectionError" - } - } - }, - "ConnectionError": { - "description": "Connection error", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceDefinition" - } - ], - "properties": { - "properties": { - "properties": { - "code": { - "description": "Code of the status", - "type": "string" - }, - "message": { - "description": "Description of the status", - "type": "string" - } - }, - "x-ms-client-flatten": true - } + "createdTime": { + "format": "date-time", + "description": "Timestamp of the connection creation", + "type": "string" + }, + "changedTime": { + "format": "date-time", + "description": "Timestamp of last connection change", + "type": "string" + }, + "api": { + "$ref": "#/definitions/ApiReference" + }, + "testLinks": { + "description": "Links to test the API connection", + "type": "array", + "items": { + "$ref": "#/definitions/ApiConnectionTestLink" + } } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ] + }, + "ApiConnectionTestLink": { + "description": "API connection properties", + "type": "object", + "additionalProperties": false, + "properties": { + "requestUri": { + "description": "Test link request URI", + "type": "string" + }, + "method": { + "description": "HTTP Method", + "type": "string" } + } }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate a user account" + "ListConsentLinksDefinition": { + "description": "Request for a list of consent links", + "type": "object", + "properties": { + "parameters": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/ConsentLinkParameterDefinition" + } + } + } + }, + "ConsentLinkParameterDefinition": { + "description": "Consent link definition", + "type": "object", + "properties": { + "parameterName": { + "description": "Name of the parameter in the connection provider's OAuth settings", + "type": "string" + }, + "redirectUrl": { + "description": "Name of the parameter in the connection provider's OAuth settings", + "type": "string" + }, + "objectId": { + "description": "AAD OID (user or group) if the principal type is ActiveDirectory. MSA PUID if the principal type is MicrosoftAccount", + "type": "string" + }, + "tenantId": { + "description": "The tenant id", + "type": "string" + } + } + }, + "ConsentLinkCollection": { + "description": "Collection of consent links", + "type": "object", + "properties": { + "value": { + "description": "Collection of resources", + "type": "array", + "items": { + "$ref": "#/definitions/ConsentLinkDefinition" + } + } + } + }, + "ConsentLinkDefinition": { + "description": "A consent link", + "type": "object", + "properties": { + "link": { + "description": "URI for the consent link", + "type": "string" + }, + "firstPartyLoginUri": { + "description": "URI for first party login", + "type": "string" + }, + "displayName": { + "description": "Display name of the parameter in the connection provider's OAuth settings", + "type": "string" + }, + "status": { + "description": "Status of the link", + "enum": [ + "Unauthenticated", + "Authenticated", + "Error" + ], + "type": "string", + "x-ms-enum": { + "name": "LinkState", + "modelAsString": true + } + } + } + }, + "ConfirmConsentCodeDefinition": { + "description": "Confirm consent code request", + "type": "object", + "properties": { + "tenantId": { + "description": "Tenant Id", + "type": "string" + }, + "objectId": { + "description": "AAD object ID. This is userId", + "type": "string" + }, + "code": { + "description": "Code that was returned during consent flow", + "type": "string" + } + } + }, + "ListConnectionKeysDefinition": { + "description": "List connection keys", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceDefinition" + } + ], + "properties": { + "properties": { + "properties": { + "validityTimeSpan": { + "description": "Time span for how long the keys will be valid", + "type": "string" } + }, + "x-ms-client-flatten": true + } + } + }, + "ConnectionStatusDefinition": { + "description": "Connection status", + "type": "object", + "properties": { + "status": { + "description": "The gateway status", + "type": "string" + }, + "target": { + "description": "Target of the error", + "type": "string" + }, + "error": { + "$ref": "#/definitions/ConnectionError" } + } }, - "security": [ + "ConnectionError": { + "description": "Connection error", + "type": "object", + "allOf": [ { - "azure_auth": [ - "user_impersonation" - ] + "$ref": "#/definitions/ResourceDefinition" + } + ], + "properties": { + "properties": { + "properties": { + "code": { + "description": "Code of the status", + "type": "string" + }, + "message": { + "description": "Description of the status", + "type": "string" + } + }, + "x-ms-client-flatten": true } - ] -} \ No newline at end of file + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate a user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json index ec314f07e90b..57d66198784e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json @@ -12336,7 +12336,6 @@ "schema": { "$ref": "#/definitions/SiteSourceControl" } - } } }, @@ -13749,7 +13748,6 @@ "schema": { "$ref": "#/definitions/SiteSourceControl" } - } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json index fde6cba7089f..52e4bf2e08e2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/CreateOrUpdateAppServicePlan.json @@ -1,130 +1,130 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01", + "appServicePlan": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01", - "appServicePlan": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name" : "testsf6141" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + }, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } } + } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/DeleteAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/DeleteAppServicePlan.json index 2842f6196196..c1546cd8bdee 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/DeleteAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/DeleteAppServicePlan.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "testsf6141", - "api-version": "2016-09-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/GetAppServicePlan.json index 19a6219abf82..0be529e2586a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/GetAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/GetAppServicePlan.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "404": {} - } -} \ No newline at end of file + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "404": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlans.json index c2c89ef1170e..56d2fc25f593 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlans.json @@ -1,79 +1,79 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", - "name": "testsf7252", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf7252", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_5680", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf7252", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_5680", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlansByResourceGroup.json index 24e8b4b9ee1c..7f31c84083d1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlansByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/ListAppServicePlansByResourceGroup.json @@ -1,80 +1,80 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", - "name": "testsf7252", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf7252", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_5680", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf7252", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_5680", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/PatchAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/PatchAppServicePlan.json index f5194919f0f5..660b50ce2151 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/PatchAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/examples/PatchAppServicePlan.json @@ -1,89 +1,89 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01", + "appServicePlan": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "properties": { + "name": "testsf6141" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01", - "appServicePlan": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "properties": { - "name" : "testsf6141" - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + }, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Certificates.json index c310e8fb81c5..329f6a0d8a89 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Certificates.json @@ -633,4 +633,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json index 48cba3ea56bc..4404350050c1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json @@ -204,4 +204,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Diagnostics.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Diagnostics.json index d0543f2bd1e8..dd28f9400c3e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Diagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Diagnostics.json @@ -2156,4 +2156,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceHealthMetadata.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceHealthMetadata.json index 70306f81285e..17d5e7e8a2d3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceHealthMetadata.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceHealthMetadata.json @@ -400,4 +400,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json index fde6cba7089f..52e4bf2e08e2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateAppServicePlan.json @@ -1,130 +1,130 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01", + "appServicePlan": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01", - "appServicePlan": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name" : "testsf6141" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + }, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } } + } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateCertificate.json index ed39b60acdb8..1b0774007c31 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/CreateOrUpdateCertificate.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteAppServicePlan.json index 2842f6196196..c1546cd8bdee 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteAppServicePlan.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "testsf6141", - "api-version": "2016-09-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteCertificate.json index 169358dcf88d..4a9880fec94e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/DeleteCertificate.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "testc6282", - "api-version": "2018-02-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysis.json index 8a92c1510c75..67c3ccba3972 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysis.json @@ -1,134 +1,134 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "analysisName": "apprestartanalyses", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json index fc3161055f49..2e2cf8d95f7d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json @@ -1,135 +1,135 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "analysisName": "apprestartanalyses", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetector.json index 790fad1bbef8..efdd2da6927b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetector.json @@ -1,134 +1,134 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json index 286ddbc20e98..30b767875891 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json @@ -1,135 +1,135 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "abnormalTimePeriods": [ - { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "events": [ - { - "startTime": "2017-11-06T22:21:50Z", - "endTime": "2017-11-06T22:21:48Z", - "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, - "metaData": [ - [ - { - "name": "feature", - "value": "auditlogs" - }, - { - "name": "displayedName", - "value": "Check Audit Logs" - } - ] - ], - "type": "ServiceIncident", - "solutions": [] - } - ], - "solutions": [] - } - ], - "payload": [ - { - "source": "workerprocessrecycle", - "detectorDefinition": { - "name": "workerprocessrecycle", - "displayName": "Worker Process Recycle Events", - "description": null, - "rank": 20, - "isEnabled": true - }, - "metrics": [ - { - "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T00:00:00Z", - "roleInstance": "RD00155D3C15BE", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3C15C1", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "roleInstance": "RD00155D3BE0FB", - "total": 2 - }, - { - "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true - } - ] - }, - { - "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", - "timeGrain": "00:05:00", - "values": [ - { - "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C09FC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C2ADC", - "total": 1 - }, - { - "timestamp": "2017-11-06T22:20:00Z", - "roleInstance": "RD00155D3C214E", - "total": 1 - } - ] - } - ], - "data": [], - "detectorMetaData": null - } - ], - "nonCorrelatedDetectors": [] - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "properties": { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "abnormalTimePeriods": [ + { + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "startTime": "2017-11-06T22:21:50Z", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "source": null, + "priority": 0, + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "type": "ServiceIncident", + "solutions": [] + } + ], + "solutions": [] + } + ], + "payload": [ + { + "source": "workerprocessrecycle", + "detectorDefinition": { + "name": "workerprocessrecycle", + "displayName": "Worker Process Recycle Events", + "description": null, + "rank": 20, + "isEnabled": true + }, + "metrics": [ + { + "name": "All Application Stop Events", + "unit": null, + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T00:00:00Z", + "roleInstance": "RD00155D3C15BE", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:00:00Z", + "total": 2, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3C15C1", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "roleInstance": "RD00155D3BE0FB", + "total": 2 + }, + { + "timestamp": "2017-11-06T00:10:00Z", + "total": 4, + "isAggregated": true + } + ] + }, + { + "name": "User Events", + "unit": "", + "startTime": "2017-11-05T22:50:00Z", + "endTime": "2017-11-06T22:50:00Z", + "timeGrain": "00:05:00", + "values": [ + { + "timestamp": "2017-11-06T22:20:00Z", + "total": 3, + "isAggregated": true + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C09FC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C2ADC", + "total": 1 + }, + { + "timestamp": "2017-11-06T22:20:00Z", + "roleInstance": "RD00155D3C214E", + "total": 1 + } + ] + } + ], + "data": [], + "detectorMetaData": null + } + ], + "nonCorrelatedDetectors": [] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json index 45433e2a7526..2b157ffa145f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -1,136 +1,136 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAppServiceEnvironment", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes all the requests to all applications running on this app service environment.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAppServiceEnvironment", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysis.json index 180064484a38..a81c6bcc73d2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysis.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "analysisName": "appanalysis", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "analysisName": "appanalysis", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysisSlot.json index f39ec2dfa74f..cdf926c20188 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "analysisName": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "analysisName": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetector.json index c765b0918ff3..22cb9543ee90 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetector.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponse.json index df95673505bc..707988a50737 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -1,136 +1,136 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "Web App Down", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "Web App Down", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your app received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json index c8942612ca76..b9fbd793a4e3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -1,137 +1,137 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "detectorName": "runtimeavailability", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "Web App Down", - "supportTopicId": "" - }, - "dataset": [ - { - "table": { - "tableName": "Table_0", - "columns": [ - { - "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" - }, - { - "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" - }, - { - "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" - } - ], - "rows": [ - [ - "2018-03-27T00:25:00Z", - "772705", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:30:00Z", - "787069", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:35:00Z", - "781627", - "0", - "1", - "0" - ], - [ - "2018-03-27T00:40:00Z", - "785017", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:45:00Z", - "783518", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:50:00Z", - "785783", - "0", - "0", - "0" - ], - [ - "2018-03-27T00:55:00Z", - "772874", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:00:00Z", - "787162", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:05:00Z", - "782036", - "0", - "0", - "0" - ], - [ - "2018-03-27T01:10:00Z", - "784642", - "0", - "0", - "0" - ] - ] - }, - "renderingProperties": { - "renderingType": "TimeSeries", - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." - } - } - ] - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "detectorName": "runtimeavailability", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "Web App Down", + "supportTopicId": "" + }, + "dataset": [ + { + "table": { + "tableName": "Table_0", + "columns": [ + { + "columnName": "PreciseTimeStamp", + "dataType": "DateTime", + "columnType": "datetime" + }, + { + "columnName": "count_Http2xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http3xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http4xx", + "dataType": "Int64", + "columnType": "long" + }, + { + "columnName": "count_Http5xx", + "dataType": "Int64", + "columnType": "long" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ] + }, + "renderingProperties": { + "renderingType": "TimeSeries", + "title": "Requests by Status Code", + "description": "This detector breaks down the number of requests that your app received for each status code." + } } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorSlot.json index d2071b4eb0cc..75d02c61c7fe 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "detectorName": "sitecrashes", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategory.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategory.json index 01845e80e710..c16648575c1b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategory.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -1,23 +1,23 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json index 29e267ede0f4..b0404926d2aa 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json index b9bc21ae1030..0161800ab593 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -1,30 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAppServiceEnvironment", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes all the requests to all applications running on this app service environment.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAppServiceEnvironment", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalyses.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalyses.json index 90ceb06c6a8b..cf93f0630f59 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalyses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalyses.json @@ -1,57 +1,57 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "name": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", - "name": "memoryanalysis", - "properties": { - "name": "memoryanalysis", - "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", - "name": "tcpconnectionsanalysis", - "properties": { - "name": "tcpconnectionsanalysis", - "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", - "name": "perfanalysis", - "properties": { - "name": "perfanalysis", - "description": "Determine causes of performance degredation as well as solutions for these problems" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "name": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", + "name": "memoryanalysis", + "properties": { + "name": "memoryanalysis", + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", + "name": "tcpconnectionsanalysis", + "properties": { + "name": "tcpconnectionsanalysis", + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", + "name": "perfanalysis", + "properties": { + "name": "perfanalysis", + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalysesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalysesSlot.json index 0a8dbd07c5f0..cd93bffd289a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalysesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -1,58 +1,58 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", - "name": "appanalysis", - "properties": { - "analysisName": "appanalysis", - "description": "Determine causes of availability loss as well as solutions for these problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", - "name": "apprestartanalysis", - "properties": { - "name": "apprestartanalysis", - "description": "Find the reasons that your app restarted" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", - "name": "memoryanalysis", - "properties": { - "name": "memoryanalysis", - "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", - "name": "tcpconnectionsanalysis", - "properties": { - "name": "tcpconnectionsanalysis", - "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", - "name": "perfanalysis", - "properties": { - "name": "perfanalysis", - "description": "Determine causes of performance degredation as well as solutions for these problems" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "name": "appanalysis", + "properties": { + "analysisName": "appanalysis", + "description": "Determine causes of availability loss as well as solutions for these problems" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "name": "apprestartanalysis", + "properties": { + "name": "apprestartanalysis", + "description": "Find the reasons that your app restarted" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", + "name": "memoryanalysis", + "properties": { + "name": "memoryanalysis", + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", + "name": "tcpconnectionsanalysis", + "properties": { + "name": "tcpconnectionsanalysis", + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", + "name": "perfanalysis", + "properties": { + "name": "perfanalysis", + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponses.json index 6af6c89b8d6e..5e2e145a2811 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -1,30 +1,29 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json index dd2bc3d39cf7..ee97f2052943 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -1,31 +1,30 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", - "name": "runtimeavailability", - "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance", - "subCategory": "App Availability", - "supportTopicId": "" - }, - "dataset": [ - ] - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", + "name": "runtimeavailability", + "properties": { + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance", + "subCategory": "App Availability", + "supportTopicId": "" + }, + "dataset": [] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectors.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectors.json index 82dcc8b8117c..7fa203daf891 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectors.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectors.json @@ -1,233 +1,233 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", - "name": "servicehealth", - "location": "West US", - "properties": { - "name": "servicehealth", - "displayName": "Service Health", - "description": null, - "rank": 1, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", - "name": "siteswap", - "location": "West US", - "properties": { - "name": "siteswap", - "displayName": "Site Swap Operations", - "description": null, - "rank": 8, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", - "name": "deployment", - "location": "West US", - "properties": { - "name": "deployment", - "displayName": "Site Deployments", - "description": null, - "rank": 7, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", - "name": "sitecpuanalysis", - "location": "West US", - "properties": { - "name": "sitecpuanalysis", - "displayName": "CPU Analysis", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", - "name": "sitememoryanalysis", - "location": "West US", - "properties": { - "name": "sitememoryanalysis", - "displayName": "Physical Memory Analysis", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", - "name": "committedmemoryusage", - "location": "West US", - "properties": { - "name": "committedmemoryusage", - "displayName": "Committed Memory Usage", - "description": null, - "rank": 7, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", - "name": "pagefileoperations", - "location": "West US", - "properties": { - "name": "pagefileoperations", - "displayName": "Page File Operations", - "description": null, - "rank": 3, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", - "name": "siterestartuserinitiated", - "location": "West US", - "properties": { - "name": "siterestartuserinitiated", - "displayName": "User Initiated Site Restarts", - "description": null, - "rank": 14, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", - "name": "siterestartsettingupdate", - "location": "West US", - "properties": { - "name": "siterestartsettingupdate", - "displayName": "Config Update Site Restarts", - "description": null, - "rank": 12, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", - "name": "frebanalysis", - "location": "West US", - "properties": { - "name": "frebanalysis", - "displayName": "Freb Logs Analysis", - "description": null, - "rank": 6, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", - "name": "workeravailability", - "location": "West US", - "properties": { - "name": "workeravailability", - "displayName": "Worker Availability", - "description": null, - "rank": 11, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", - "name": "sitelatency", - "location": "West US", - "properties": { - "name": "sitelatency", - "displayName": "Site Latency", - "description": null, - "rank": 1005, - "isEnabled": false - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", - "name": "threadcount", - "location": "West US", - "properties": { - "name": "threadcount", - "displayName": "Thread Count", - "description": null, - "rank": 23, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", - "name": "failedrequestsperuri", - "location": "West US", - "properties": { - "name": "failedrequestsperuri", - "displayName": "Failed Requests Per URI", - "description": null, - "rank": 998, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", - "name": "autoheal", - "location": "West US", - "properties": { - "name": "autoheal", - "displayName": "AutoHeal", - "description": null, - "rank": 21, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", - "name": "loganalyzer", - "location": "West US", - "properties": { - "name": "loganalyzer", - "displayName": "PHP Log Analyzer", - "description": null, - "rank": 26, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", - "name": "aspnetcore", - "location": "West US", - "properties": { - "name": "aspnetcore", - "displayName": "ASP.NET Core", - "description": null, - "rank": 5, - "isEnabled": true - } - } - ] - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", + "name": "servicehealth", + "location": "West US", + "properties": { + "name": "servicehealth", + "displayName": "Service Health", + "description": null, + "rank": 1, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", + "name": "siteswap", + "location": "West US", + "properties": { + "name": "siteswap", + "displayName": "Site Swap Operations", + "description": null, + "rank": 8, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", + "name": "deployment", + "location": "West US", + "properties": { + "name": "deployment", + "displayName": "Site Deployments", + "description": null, + "rank": 7, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", + "name": "sitecpuanalysis", + "location": "West US", + "properties": { + "name": "sitecpuanalysis", + "displayName": "CPU Analysis", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", + "name": "sitememoryanalysis", + "location": "West US", + "properties": { + "name": "sitememoryanalysis", + "displayName": "Physical Memory Analysis", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", + "name": "committedmemoryusage", + "location": "West US", + "properties": { + "name": "committedmemoryusage", + "displayName": "Committed Memory Usage", + "description": null, + "rank": 7, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", + "name": "pagefileoperations", + "location": "West US", + "properties": { + "name": "pagefileoperations", + "displayName": "Page File Operations", + "description": null, + "rank": 3, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", + "name": "siterestartuserinitiated", + "location": "West US", + "properties": { + "name": "siterestartuserinitiated", + "displayName": "User Initiated Site Restarts", + "description": null, + "rank": 14, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", + "name": "siterestartsettingupdate", + "location": "West US", + "properties": { + "name": "siterestartsettingupdate", + "displayName": "Config Update Site Restarts", + "description": null, + "rank": 12, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", + "name": "frebanalysis", + "location": "West US", + "properties": { + "name": "frebanalysis", + "displayName": "Freb Logs Analysis", + "description": null, + "rank": 6, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", + "name": "workeravailability", + "location": "West US", + "properties": { + "name": "workeravailability", + "displayName": "Worker Availability", + "description": null, + "rank": 11, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", + "name": "sitelatency", + "location": "West US", + "properties": { + "name": "sitelatency", + "displayName": "Site Latency", + "description": null, + "rank": 1005, + "isEnabled": false + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", + "name": "threadcount", + "location": "West US", + "properties": { + "name": "threadcount", + "displayName": "Thread Count", + "description": null, + "rank": 23, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", + "name": "failedrequestsperuri", + "location": "West US", + "properties": { + "name": "failedrequestsperuri", + "displayName": "Failed Requests Per URI", + "description": null, + "rank": 998, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", + "name": "autoheal", + "location": "West US", + "properties": { + "name": "autoheal", + "displayName": "AutoHeal", + "description": null, + "rank": 21, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", + "name": "loganalyzer", + "location": "West US", + "properties": { + "name": "loganalyzer", + "displayName": "PHP Log Analyzer", + "description": null, + "rank": 26, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", + "name": "aspnetcore", + "location": "West US", + "properties": { + "name": "aspnetcore", + "displayName": "ASP.NET Core", + "description": null, + "rank": 5, + "isEnabled": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorsSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorsSlot.json index 1bce6772c5b5..6f51d97e78f2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -1,66 +1,66 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", - "name": "servicehealth", - "location": "West US", - "properties": { - "name": "servicehealth", - "displayName": "Service Health", - "description": null, - "rank": 1, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", - "name": "siteswap", - "location": "West US", - "properties": { - "name": "siteswap", - "displayName": "Site Swap Operations", - "description": null, - "rank": 8, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", - "name": "sitecrashes", - "location": "West US", - "properties": { - "name": "sitecrashes", - "displayName": "Site Crash Events", - "description": null, - "rank": 9, - "isEnabled": true - } - }, - { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", - "name": "deployment", - "location": "West US", - "properties": { - "name": "deployment", - "displayName": "Site Deployments", - "description": null, - "rank": 7, - "isEnabled": true - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "diagnosticCategory": "availability", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", + "name": "servicehealth", + "location": "West US", + "properties": { + "name": "servicehealth", + "displayName": "Service Health", + "description": null, + "rank": 1, + "isEnabled": true } - } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", + "name": "siteswap", + "location": "West US", + "properties": { + "name": "siteswap", + "displayName": "Site Swap Operations", + "description": null, + "rank": 8, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "name": "sitecrashes", + "location": "West US", + "properties": { + "name": "sitecrashes", + "displayName": "Site Crash Events", + "description": null, + "rank": 9, + "isEnabled": true + } + }, + { + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", + "name": "deployment", + "location": "West US", + "properties": { + "name": "deployment", + "displayName": "Site Deployments", + "description": null, + "rank": 7, + "isEnabled": true + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategories.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategories.json index 35405e4d1b6a..7f136bdad9f5 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategories.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategories.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json index 83ce75a2b42c..7b74fa509ffa 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "siteName": "SampleApp", - "slot": "staging", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", - "name": "availability", - "properties": { - "identifier": "availability", - "description": "Availability and Perfomance Diagnostics" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "name": "availability", + "properties": { + "identifier": "availability", + "description": "Availability and Perfomance Diagnostics" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetAppServicePlan.json index 19a6219abf82..0be529e2586a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetAppServicePlan.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "404": {} - } -} \ No newline at end of file + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + }, + "404": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetCertificate.json index b4b7e23152ea..ff9c72ff4e39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetCertificate.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetDeletedWebAppByLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetDeletedWebAppByLocation.json index 0f2997f9d2c3..da0e92452a5b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetDeletedWebAppByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetDeletedWebAppByLocation.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "West US 2", - "deletedSiteId": "9", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "name": "wussite6", - "type": "Microsoft.Web/locations/deletedSites", - "properties": { - "deletedSiteId": 9, - "deletedTimestamp": "2019-05-09T22:29:05.1337007", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroup": "rg1", - "deletedSiteName": "wussite6", - "slot": "Production", - "kind": "app", - "geoRegionName": "West US 2" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "location": "West US 2", + "deletedSiteId": "9", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "wussite6", + "type": "Microsoft.Web/locations/deletedSites", + "properties": { + "deletedSiteId": 9, + "deletedTimestamp": "2019-05-09T22:29:05.1337007", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroup": "rg1", + "deletedSiteName": "wussite6", + "slot": "Production", + "kind": "app", + "geoRegionName": "West US 2" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json index 5b085c34022f..94ac54b7e85c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json @@ -1,80 +1,80 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAse", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "description": "App Service management", - "endpoints": [ - "70.37.57.58/32", - "157.55.208.185/32", - "23.102.188.65/32", - "191.236.154.88/32", - "52.174.22.21/32", - "13.94.149.179/32", - "13.94.143.126/32", - "13.94.141.115/32", - "52.178.195.197/32", - "52.178.190.65/32", - "52.178.184.149/32", - "52.178.177.147/32", - "13.75.127.117/32", - "40.83.125.161/32", - "40.83.121.56/32", - "40.83.120.64/32", - "52.187.56.50/32", - "52.187.63.37/32", - "52.187.59.251/32", - "52.187.63.19/32", - "52.165.158.140/32", - "52.165.152.214/32", - "52.165.154.193/32", - "52.165.153.122/32", - "104.44.129.255/32", - "104.44.134.255/32", - "104.44.129.243/32", - "104.44.129.141/32", - "65.52.193.203/32", - "70.37.89.222/32", - "13.64.115.203/32", - "52.225.177.153/32", - "65.52.172.237/32" - ], - "ports": [ - "454", - "455" - ] - }, - { - "description": "App Service Environment VIP", - "endpoints": [ - "52.247.209.18/32" - ], - "ports": [ - "454", - "455", - "16001" - ] - }, - { - "description": "App Service Environment subnet", - "endpoints": [ - "192.168.250.0/24" - ], - "ports": [ - "All" - ] - } - ], - "nextLink": null, - "id": null - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAse", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "description": "App Service management", + "endpoints": [ + "70.37.57.58/32", + "157.55.208.185/32", + "23.102.188.65/32", + "191.236.154.88/32", + "52.174.22.21/32", + "13.94.149.179/32", + "13.94.143.126/32", + "13.94.141.115/32", + "52.178.195.197/32", + "52.178.190.65/32", + "52.178.184.149/32", + "52.178.177.147/32", + "13.75.127.117/32", + "40.83.125.161/32", + "40.83.121.56/32", + "40.83.120.64/32", + "52.187.56.50/32", + "52.187.63.37/32", + "52.187.59.251/32", + "52.187.63.19/32", + "52.165.158.140/32", + "52.165.152.214/32", + "52.165.154.193/32", + "52.165.153.122/32", + "104.44.129.255/32", + "104.44.134.255/32", + "104.44.129.243/32", + "104.44.129.141/32", + "65.52.193.203/32", + "70.37.89.222/32", + "13.64.115.203/32", + "52.225.177.153/32", + "65.52.172.237/32" + ], + "ports": [ + "454", + "455" + ] + }, + { + "description": "App Service Environment VIP", + "endpoints": [ + "52.247.209.18/32" + ], + "ports": [ + "454", + "455", + "16001" + ] + }, + { + "description": "App Service Environment subnet", + "endpoints": [ + "192.168.250.0/24" + ], + "ports": [ + "All" + ] + } + ], + "nextLink": null, + "id": null + } } + } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json index 6ff7e6f0c857..83a3ba248491 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json @@ -1,803 +1,803 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", - "name": "SampleAse", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "category": "Azure Storage", - "endpoints": [ - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "52.183.104.36", - "port": 80, - "latency": 42.0469, - "isAccessable": true - }, - { - "ipAddress": "52.183.104.36", - "port": 443, - "latency": 41.7038, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "52.183.104.25", - "port": 80, - "latency": 37.326, - "isAccessable": true - }, - { - "ipAddress": "52.183.104.25", - "port": 443, - "latency": 37.513600000000004, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "52.183.104.26", - "port": 80, - "latency": 32.789, - "isAccessable": true - }, - { - "ipAddress": "52.183.104.26", - "port": 443, - "latency": 1.8702, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "52.183.104.28", - "port": 80, - "latency": 36.7378, - "isAccessable": true - }, - { - "ipAddress": "52.183.104.28", - "port": 443, - "latency": 36.7108, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.64", - "port": 80, - "latency": 4.0261000000000005, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.64", - "port": 443, - "latency": 3.8264, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.73", - "port": 80, - "latency": 40.8523, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.73", - "port": 443, - "latency": 40.7501, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.74", - "port": 80, - "latency": 1.2071, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.74", - "port": 443, - "latency": 38.2975, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.76", - "port": 80, - "latency": 59.383700000000005, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.76", - "port": 443, - "latency": 60.0775, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.64", - "port": 80, - "latency": 3.5512, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.64", - "port": 443, - "latency": 2.6777, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.73", - "port": 80, - "latency": 3.5204, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.73", - "port": 443, - "latency": 2.8193, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.74", - "port": 80, - "latency": 3.2720000000000002, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.74", - "port": 443, - "latency": 3.0147, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.76", - "port": 80, - "latency": 3.2387, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.76", - "port": 443, - "latency": 3.2804, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.66.176.16", - "port": 80, - "latency": 43.025200000000005, - "isAccessable": true - }, - { - "ipAddress": "13.66.176.16", - "port": 443, - "latency": 43.1683, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.66.176.25", - "port": 80, - "latency": 41.8598, - "isAccessable": true - }, - { - "ipAddress": "13.66.176.25", - "port": 443, - "latency": 41.9805, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.66.176.26", - "port": 80, - "latency": 30.542900000000003, - "isAccessable": true - }, - { - "ipAddress": "13.66.176.26", - "port": 443, - "latency": 0.98320000000000007, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.66.176.28", - "port": 80, - "latency": 35.9562, - "isAccessable": true - }, - { - "ipAddress": "13.66.176.28", - "port": 443, - "latency": 36.0643, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.64", - "port": 80, - "latency": 3.2829, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.64", - "port": 443, - "latency": 2.3393, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.73", - "port": 80, - "latency": 3.4103000000000003, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.73", - "port": 443, - "latency": 4.1032, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.74", - "port": 80, - "latency": 3.1141, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.74", - "port": 443, - "latency": 3.0247, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.76", - "port": 80, - "latency": 2.834, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.76", - "port": 443, - "latency": 2.8198000000000003, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.64", - "port": 80, - "latency": 1.3855000000000002, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.64", - "port": 443, - "latency": 1.0594000000000001, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.73", - "port": 80, - "latency": 2.4717000000000002, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.73", - "port": 443, - "latency": 2.4827, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.74", - "port": 80, - "latency": 3.395, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.74", - "port": 443, - "latency": 3.1701, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.76", - "port": 80, - "latency": 1.4308, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.76", - "port": 443, - "latency": 22.5866, - "isAccessable": true - } - ] - }, - { - "domainName": "blob.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.64", - "port": 80, - "latency": 2.5372, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.64", - "port": 443, - "latency": 2.4626, - "isAccessable": true - } - ] - }, - { - "domainName": "queue.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.73", - "port": 80, - "latency": 3.7873, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.73", - "port": 443, - "latency": 4.1911000000000005, - "isAccessable": true - } - ] - }, - { - "domainName": "table.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.74", - "port": 80, - "latency": 2.9162000000000003, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.74", - "port": 443, - "latency": 2.7896, - "isAccessable": true - } - ] - }, - { - "domainName": "file.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.77.184.76", - "port": 80, - "latency": 26.723100000000002, - "isAccessable": true - }, - { - "ipAddress": "13.77.184.76", - "port": 443, - "latency": 26.735200000000003, - "isAccessable": true - } - ] - } - ] - }, - { - "category": "Azure SQL Database", - "endpoints": [ - { - "domainName": "database.windows.net", - "endpointDetails": [ - { - "ipAddress": "13.66.226.202", - "port": 1433, - "latency": 1.5964, - "isAccessable": true - } - ] - } - ] - }, - { - "category": "Azure Management", - "endpoints": [ - { - "domainName": "management.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "23.102.135.246", - "port": 443, - "latency": 46.5764, - "isAccessable": true - } - ] - }, - { - "domainName": "admin.core.windows.net", - "endpointDetails": [ - { - "ipAddress": "23.102.135.247", - "port": 443, - "latency": 47.408, - "isAccessable": true - } - ] - }, - { - "domainName": "management.azure.com", - "endpointDetails": [ - { - "ipAddress": "52.151.25.45", - "port": 443, - "latency": 3.9529, - "isAccessable": true - } - ] - } - ] - }, - { - "category": "Azure Active Directory", - "endpoints": [ - { - "domainName": "graph.windows.net", - "endpointDetails": [ - { - "ipAddress": "20.190.133.83", - "port": 443, - "latency": 3.2264, - "isAccessable": true - }, - { - "ipAddress": "20.190.133.81", - "port": 443, - "latency": 3.2264, - "isAccessable": true - }, - { - "ipAddress": "20.190.133.67", - "port": 443, - "latency": 3.2264, - "isAccessable": true - }, - { - "ipAddress": "40.126.5.34", - "port": 443, - "latency": 3.2264, - "isAccessable": true - } - ] - } - ] - }, - { - "category": "Regional Service", - "endpoints": [ - { - "domainName": "gr-prod-mwh.cloudapp.net", - "endpointDetails": [ - { - "ipAddress": "13.66.225.188", - "port": 443, - "latency": 3.3826, - "isAccessable": true - } - ] - }, - { - "domainName": "az-prod.metrics.nsatc.net", - "endpointDetails": [ - { - "ipAddress": "40.77.24.27", - "port": 443, - "latency": 38.5647, - "isAccessable": true - } - ] - } - ] - }, - { - "category": "SSL Certificate Verification", - "endpoints": [ - { - "domainName": "ocsp.msocsp.com", - "endpointDetails": [ - { - "ipAddress": "104.18.25.243", - "port": 80, - "latency": 6.0651, - "isAccessable": true - }, - { - "ipAddress": "104.18.25.243", - "port": 443, - "latency": 12.888, - "isAccessable": true - }, - { - "ipAddress": "104.18.24.243", - "port": 80, - "latency": 6.0651, - "isAccessable": true - }, - { - "ipAddress": "104.18.24.243", - "port": 443, - "latency": 12.888, - "isAccessable": true - } - ] - }, - { - "domainName": "mscrl.microsoft.com", - "endpointDetails": [ - { - "ipAddress": "152.199.4.33", - "port": 80, - "latency": 6.7429000000000006, - "isAccessable": true - }, - { - "ipAddress": "152.199.4.33", - "port": 443, - "latency": 7.4361000000000006, - "isAccessable": true - } - ] - }, - { - "domainName": "crl.microsoft.com", - "endpointDetails": [ - { - "ipAddress": "23.215.102.10", - "port": 80, - "latency": 25.136200000000002, - "isAccessable": true - }, - { - "ipAddress": "23.215.102.10", - "port": 443, - "latency": 25.0085, - "isAccessable": true - }, - { - "ipAddress": "23.215.102.42", - "port": 80, - "latency": 25.136200000000002, - "isAccessable": true - }, - { - "ipAddress": "23.215.102.42", - "port": 443, - "latency": 25.0085, - "isAccessable": true - } - ] - }, - { - "domainName": "www.microsoft.com", - "endpointDetails": [ - { - "ipAddress": "23.49.13.56", - "port": 80, - "latency": 7.9229, - "isAccessable": true - }, - { - "ipAddress": "23.49.13.56", - "port": 443, - "latency": 8.4871, - "isAccessable": true - } - ] - }, - { - "domainName": "crl3.digicert.com", - "endpointDetails": [ - { - "ipAddress": "72.21.91.29", - "port": 80, - "latency": 5.4074, - "isAccessable": true - }, - { - "ipAddress": "72.21.91.29", - "port": 443, - "latency": 5.577, - "isAccessable": true - } - ] - }, - { - "domainName": "ocsp.digicert.com", - "endpointDetails": [ - { - "ipAddress": "72.21.91.29", - "port": 80, - "latency": 6.8989, - "isAccessable": true - }, - { - "ipAddress": "72.21.91.29", - "port": 443, - "latency": 5.6674000000000007, - "isAccessable": true - } - ] - }, - { - "domainName": "cacerts.digicert.com", - "endpointDetails": [ - { - "ipAddress": "104.18.11.39", - "port": 80, - "latency": 10.772400000000001, - "isAccessable": true - }, - { - "ipAddress": "104.18.11.39", - "port": 443, - "latency": 10.7705, - "isAccessable": true - }, - { - "ipAddress": "104.18.10.39", - "port": 80, - "latency": 10.772400000000001, - "isAccessable": true - }, - { - "ipAddress": "104.18.10.39", - "port": 443, - "latency": 10.7705, - "isAccessable": true - } - ] - }, - { - "domainName": "www.thawte.com", - "endpointDetails": [ - { - "ipAddress": "54.69.98.161", - "port": 80, - "latency": 47.532900000000005, - "isAccessable": true - }, - { - "ipAddress": "54.69.98.161", - "port": 443, - "latency": 48.5362, - "isAccessable": true - }, - { - "ipAddress": "35.167.62.148", - "port": 80, - "latency": 47.532900000000005, - "isAccessable": true - }, - { - "ipAddress": "35.167.62.148", - "port": 443, - "latency": 48.5362, - "isAccessable": true - } - ] - } - ] - } - ], - "nextLink": null, - "id": null - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "Sample-WestUSResourceGroup", + "name": "SampleAse", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "category": "Azure Storage", + "endpoints": [ + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.36", + "port": 80, + "latency": 42.0469, + "isAccessable": true + }, + { + "ipAddress": "52.183.104.36", + "port": 443, + "latency": 41.7038, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.25", + "port": 80, + "latency": 37.326, + "isAccessable": true + }, + { + "ipAddress": "52.183.104.25", + "port": 443, + "latency": 37.513600000000004, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.26", + "port": 80, + "latency": 32.789, + "isAccessable": true + }, + { + "ipAddress": "52.183.104.26", + "port": 443, + "latency": 1.8702, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.28", + "port": 80, + "latency": 36.7378, + "isAccessable": true + }, + { + "ipAddress": "52.183.104.28", + "port": 443, + "latency": 36.7108, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "port": 80, + "latency": 4.0261000000000005, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.64", + "port": 443, + "latency": 3.8264, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "port": 80, + "latency": 40.8523, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.73", + "port": 443, + "latency": 40.7501, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "port": 80, + "latency": 1.2071, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.74", + "port": 443, + "latency": 38.2975, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "port": 80, + "latency": 59.383700000000005, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.76", + "port": 443, + "latency": 60.0775, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "port": 80, + "latency": 3.5512, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.64", + "port": 443, + "latency": 2.6777, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "port": 80, + "latency": 3.5204, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.73", + "port": 443, + "latency": 2.8193, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "port": 80, + "latency": 3.2720000000000002, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.74", + "port": 443, + "latency": 3.0147, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "port": 80, + "latency": 3.2387, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.76", + "port": 443, + "latency": 3.2804, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.16", + "port": 80, + "latency": 43.025200000000005, + "isAccessable": true + }, + { + "ipAddress": "13.66.176.16", + "port": 443, + "latency": 43.1683, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.25", + "port": 80, + "latency": 41.8598, + "isAccessable": true + }, + { + "ipAddress": "13.66.176.25", + "port": 443, + "latency": 41.9805, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.26", + "port": 80, + "latency": 30.542900000000003, + "isAccessable": true + }, + { + "ipAddress": "13.66.176.26", + "port": 443, + "latency": 0.98320000000000007, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.28", + "port": 80, + "latency": 35.9562, + "isAccessable": true + }, + { + "ipAddress": "13.66.176.28", + "port": 443, + "latency": 36.0643, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "port": 80, + "latency": 3.2829, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.64", + "port": 443, + "latency": 2.3393, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "port": 80, + "latency": 3.4103000000000003, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.73", + "port": 443, + "latency": 4.1032, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "port": 80, + "latency": 3.1141, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.74", + "port": 443, + "latency": 3.0247, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "port": 80, + "latency": 2.834, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.76", + "port": 443, + "latency": 2.8198000000000003, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "port": 80, + "latency": 1.3855000000000002, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.64", + "port": 443, + "latency": 1.0594000000000001, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "port": 80, + "latency": 2.4717000000000002, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.73", + "port": 443, + "latency": 2.4827, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "port": 80, + "latency": 3.395, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.74", + "port": 443, + "latency": 3.1701, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "port": 80, + "latency": 1.4308, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.76", + "port": 443, + "latency": 22.5866, + "isAccessable": true + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "port": 80, + "latency": 2.5372, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.64", + "port": 443, + "latency": 2.4626, + "isAccessable": true + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "port": 80, + "latency": 3.7873, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.73", + "port": 443, + "latency": 4.1911000000000005, + "isAccessable": true + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "port": 80, + "latency": 2.9162000000000003, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.74", + "port": 443, + "latency": 2.7896, + "isAccessable": true + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "port": 80, + "latency": 26.723100000000002, + "isAccessable": true + }, + { + "ipAddress": "13.77.184.76", + "port": 443, + "latency": 26.735200000000003, + "isAccessable": true + } + ] + } + ] + }, + { + "category": "Azure SQL Database", + "endpoints": [ + { + "domainName": "database.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.226.202", + "port": 1433, + "latency": 1.5964, + "isAccessable": true + } + ] + } + ] + }, + { + "category": "Azure Management", + "endpoints": [ + { + "domainName": "management.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "23.102.135.246", + "port": 443, + "latency": 46.5764, + "isAccessable": true + } + ] + }, + { + "domainName": "admin.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "23.102.135.247", + "port": 443, + "latency": 47.408, + "isAccessable": true + } + ] + }, + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "ipAddress": "52.151.25.45", + "port": 443, + "latency": 3.9529, + "isAccessable": true + } + ] + } + ] + }, + { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "graph.windows.net", + "endpointDetails": [ + { + "ipAddress": "20.190.133.83", + "port": 443, + "latency": 3.2264, + "isAccessable": true + }, + { + "ipAddress": "20.190.133.81", + "port": 443, + "latency": 3.2264, + "isAccessable": true + }, + { + "ipAddress": "20.190.133.67", + "port": 443, + "latency": 3.2264, + "isAccessable": true + }, + { + "ipAddress": "40.126.5.34", + "port": 443, + "latency": 3.2264, + "isAccessable": true + } + ] + } + ] + }, + { + "category": "Regional Service", + "endpoints": [ + { + "domainName": "gr-prod-mwh.cloudapp.net", + "endpointDetails": [ + { + "ipAddress": "13.66.225.188", + "port": 443, + "latency": 3.3826, + "isAccessable": true + } + ] + }, + { + "domainName": "az-prod.metrics.nsatc.net", + "endpointDetails": [ + { + "ipAddress": "40.77.24.27", + "port": 443, + "latency": 38.5647, + "isAccessable": true + } + ] + } + ] + }, + { + "category": "SSL Certificate Verification", + "endpoints": [ + { + "domainName": "ocsp.msocsp.com", + "endpointDetails": [ + { + "ipAddress": "104.18.25.243", + "port": 80, + "latency": 6.0651, + "isAccessable": true + }, + { + "ipAddress": "104.18.25.243", + "port": 443, + "latency": 12.888, + "isAccessable": true + }, + { + "ipAddress": "104.18.24.243", + "port": 80, + "latency": 6.0651, + "isAccessable": true + }, + { + "ipAddress": "104.18.24.243", + "port": 443, + "latency": 12.888, + "isAccessable": true + } + ] + }, + { + "domainName": "mscrl.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "152.199.4.33", + "port": 80, + "latency": 6.7429000000000006, + "isAccessable": true + }, + { + "ipAddress": "152.199.4.33", + "port": 443, + "latency": 7.4361000000000006, + "isAccessable": true + } + ] + }, + { + "domainName": "crl.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "23.215.102.10", + "port": 80, + "latency": 25.136200000000002, + "isAccessable": true + }, + { + "ipAddress": "23.215.102.10", + "port": 443, + "latency": 25.0085, + "isAccessable": true + }, + { + "ipAddress": "23.215.102.42", + "port": 80, + "latency": 25.136200000000002, + "isAccessable": true + }, + { + "ipAddress": "23.215.102.42", + "port": 443, + "latency": 25.0085, + "isAccessable": true + } + ] + }, + { + "domainName": "www.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "23.49.13.56", + "port": 80, + "latency": 7.9229, + "isAccessable": true + }, + { + "ipAddress": "23.49.13.56", + "port": 443, + "latency": 8.4871, + "isAccessable": true + } + ] + }, + { + "domainName": "crl3.digicert.com", + "endpointDetails": [ + { + "ipAddress": "72.21.91.29", + "port": 80, + "latency": 5.4074, + "isAccessable": true + }, + { + "ipAddress": "72.21.91.29", + "port": 443, + "latency": 5.577, + "isAccessable": true + } + ] + }, + { + "domainName": "ocsp.digicert.com", + "endpointDetails": [ + { + "ipAddress": "72.21.91.29", + "port": 80, + "latency": 6.8989, + "isAccessable": true + }, + { + "ipAddress": "72.21.91.29", + "port": 443, + "latency": 5.6674000000000007, + "isAccessable": true + } + ] + }, + { + "domainName": "cacerts.digicert.com", + "endpointDetails": [ + { + "ipAddress": "104.18.11.39", + "port": 80, + "latency": 10.772400000000001, + "isAccessable": true + }, + { + "ipAddress": "104.18.11.39", + "port": 443, + "latency": 10.7705, + "isAccessable": true + }, + { + "ipAddress": "104.18.10.39", + "port": 80, + "latency": 10.772400000000001, + "isAccessable": true + }, + { + "ipAddress": "104.18.10.39", + "port": 443, + "latency": 10.7705, + "isAccessable": true + } + ] + }, + { + "domainName": "www.thawte.com", + "endpointDetails": [ + { + "ipAddress": "54.69.98.161", + "port": 80, + "latency": 47.532900000000005, + "isAccessable": true + }, + { + "ipAddress": "54.69.98.161", + "port": 443, + "latency": 48.5362, + "isAccessable": true + }, + { + "ipAddress": "35.167.62.148", + "port": 80, + "latency": 47.532900000000005, + "isAccessable": true + }, + { + "ipAddress": "35.167.62.148", + "port": 443, + "latency": 48.5362, + "isAccessable": true + } + ] + } + ] + } + ], + "nextLink": null, + "id": null + } } + } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetResourceHealthMetadataBySite.json index a4601006a30f..637c64cd02b1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetResourceHealthMetadataBySite.json @@ -1,23 +1,23 @@ { - "parameters":{ - "api-version":"2018-02-01", - "name":"newsiteinnewASE-NCUS", - "slot":"Production", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38", - "metadataName":"default" - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } + "parameters": { + "api-version": "2018-02-01", + "name": "newsiteinnewASE-NCUS", + "slot": "Production", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraceOperation.json index cce0885ef8af..7c703f36ff32 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraceOperation.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2018-02-01" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + } + ] }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + }, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraces.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraces.json index 9632f83b3b4f..7c3b26d920f5 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetWebSiteNetworkTraces.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlans.json index c2c89ef1170e..56d2fc25f593 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlans.json @@ -1,79 +1,79 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", - "name": "testsf7252", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf7252", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_5680", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf7252", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_5680", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlansByResourceGroup.json index 24e8b4b9ee1c..7f31c84083d1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlansByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListAppServicePlansByResourceGroup.json @@ -1,80 +1,80 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "api-version": "2016-09-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", - "name": "testsf7252", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf7252", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "kind": "app", - "reserved": false, - "mdmId": "waws-prod-blu-033_5680", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf7252", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "kind": "app", + "reserved": false, + "mdmId": "waws-prod-blu-033_5680", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificates.json index 42971748ee2d..b2d10a34cbf8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificates.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificatesByResourceGroup.json index 3c890a111948..e7eae6f3f626 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListCertificatesByResourceGroup.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListDeletedWebAppsByLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListDeletedWebAppsByLocation.json index 5bf67b152a92..d758a980b56e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListDeletedWebAppsByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListDeletedWebAppsByLocation.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "West US 2", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "wussite6", - "type": "Microsoft.Web/locations/deletedSites", - "properties": { - "deletedSiteId": 9, - "deletedTimestamp": "2019-05-09T22:29:05.1337007", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroup": "rg1", - "deletedSiteName": "wussite6", - "slot": "Production", - "kind": "app", - "geoRegionName": "West US 2" - } - } - ], - "nextLink": null + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "location": "West US 2", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "wussite6", + "type": "Microsoft.Web/locations/deletedSites", + "properties": { + "deletedSiteId": 9, + "deletedTimestamp": "2019-05-09T22:29:05.1337007", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroup": "rg1", + "deletedSiteName": "wussite6", + "slot": "Production", + "kind": "app", + "geoRegionName": "West US 2" } - } + } + ], + "nextLink": null + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListOperations.json index 8fcb64da4ede..8fda0a9c507d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListOperations.json @@ -1,5781 +1,5781 @@ { - "parameters": { - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Microsoft.Web/sites/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App", - "description": "Get the properties of a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Create or Update Web App", - "description": "Create a new Web App or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Create or Update Web App Slot", - "description": "Create a new Web App Slot or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Delete Web App", - "description": "Delete an existing Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Delete Web App Slot", - "description": "Delete an existing Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Configuration", - "description": "Get Web App Slot's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Configuration", - "description": "Get Web App configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/list/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "List Web App Security Sensitive Settings", - "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/list/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "List Web App Slot Security Sensitive Settings", - "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/config/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Update Web App Configuration", - "description": "Update Web App's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/config/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Update Web App Slot Configuration", - "description": "Update Web App Slot's configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Source Control Configuration", - "description": "Get Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Source Control Configuration", - "description": "Get Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Update Web App Source Control Configuration", - "description": "Update Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Update Web App Slot Source Control Configuration", - "description": "Update Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/sourcecontrols/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Delete Web App Source Control Configuration", - "description": "Delete Web App's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Delete Web App Slot Source Control Configuration", - "description": "Delete Web App Slot's source control configuration settings" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/backup/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Create Web App Backup", - "description": "Create a new web app backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/backup/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Create Web App Slot Backup", - "description": "Create new Web App Slot backup." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/backups/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Backup", - "description": "Get the properties of a web app's backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/backups/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "List Web App Slot Backups", - "description": "Get the properties of a web app slots' backup" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/publishxml/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Publishing Profile", - "description": "Get publishing profile xml for a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/publishxml/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slot Publishing Profile", - "description": "Get publishing profile xml for Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/publish/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Publish Web App", - "description": "Publish a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/publish/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Publish Web App Slot", - "description": "Publish a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/restart/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Restart Web App", - "description": "Restart a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/restart/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Restart Web App Slot", - "description": "Restart a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/start/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Start Web App", - "description": "Start a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/start/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Start Web App Slot", - "description": "Start a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/stop/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Stop Web App", - "description": "Stop a Web App" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/stop/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Stop Web App Slot", - "description": "Stop a Web App Slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slotsswap/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/slotsswap/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slotsdiffs/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/applySlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Apply Web App Configuration", - "description": "Apply web app slot configuration from target slot to the current web app" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Apply Web App Slot Configuration", - "description": "Apply web app slot configuration from target slot to the current slot." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/resetSlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", - "operation": "Reset Web App Configuration", - "description": "Reset web app configuration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Reset Web App Slot Configuration", - "description": "Reset web app slot configuration" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/slots/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", - "operation": "Get Web App Deployment Slot", - "description": "Get the properties of a Web App deployment slot" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Get App Service Plan", - "description": "Get the properties on an App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Create or Update App Service Plan", - "description": "Create a new App Service Plan or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Delete App Service Plan", - "description": "Delete an existing App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/restartSites/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", - "operation": "Restart Web Apps", - "description": "Restart all Web Apps in an App Service Plan" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Get Certificates", - "description": "Get the list of certificates." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Add or Update Certificate", - "description": "Add a new certificate or update an existing one." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/certificates/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", - "operation": "Delete Certificate", - "description": "Delete an existing certificate." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/geoRegions/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Geo Region", - "operation": "Get Geo Regions", - "description": "Get the list of Geo regions." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/listSitesAssignedToHostName/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Site Name", - "operation": "Get sites assigned to hostname", - "description": "Get names of sites assigned to hostname." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Get App Service Environment", - "description": "Get the properties of an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Create or Update App Service Environment", - "description": "Create a new App Service Environment or update existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Delete App Service Environment", - "description": "Delete an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/reboot/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", - "operation": "Reboot an App Service Environment", - "description": "Reboot all machines in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", - "operation": "Get FrontEnd Pool", - "description": "Get the properties of a FrontEnd Pool in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", - "operation": "Create or Update FrontEnd Pool", - "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", - "operation": "Get Worker Pool", - "description": "Get the properties of a Worker Pool in an App Service Environment" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", - "operation": "Create or Update Worker Pool", - "description": "Create a new Worker Pool in an App Service Environment or update an existing one" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Get Connections", - "description": "Get the list of Connections." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Add or Update Connection", - "description": "Creates or updates a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Delete Connection", - "description": "Deletes a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connections/Join/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Join Connection", - "description": "Joins a Connection." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Get Connection Gateways", - "description": "Get the list of Connection Gateways." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Add or Update Connection Gateways", - "description": "Creates or updates a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Delete Connection Gateway", - "description": "Deletes a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/connectionGateways/Join/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "Join Connection Gateway", - "description": "Joins a Connection Gateway." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/recommendations/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", - "operation": "Get recommendations", - "description": "Get the list of recommendations for subscriptions." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/sites/recommendations/Read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", - "operation": "Get recommendations for web app", - "description": "Get the list of recommendations for web app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/availablestacks/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Available Stacks", - "operation": "Get Available Stacks", - "description": "Get Available Stacks." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/checknameavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Check Name Availability", - "operation": "Get Check Name Availability", - "description": "Check if resource name is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/classicmobileservices/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Classic Mobile Services", - "operation": "Get Classic Mobile Services", - "description": "Get Classic Mobile Services." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connections/confirmconsentcode/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "Confirm Connections Consent Code", - "description": "Confirm Connections Consent Code." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connections/listconsentlinks/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", - "operation": "List Consent Links for Connections", - "description": "List Consent Links for Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/deploymentlocations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Deployment Locations", - "operation": "Get Deployment Locations", - "description": "Get Deployment Locations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/capacities/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Capacities", - "operation": "Get Hosting Environments Capacities", - "description": "Get Hosting Environments Capacities." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Diagnostics", - "operation": "Get Hosting Environments Diagnostics", - "description": "Get Hosting Environments Diagnostics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Metric Definitions", - "operation": "Get Hosting Environments Metric Definitions", - "description": "Get Hosting Environments Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metric Definitions", - "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", - "description": "Get Hosting Environments MultiRole Pools Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metrics", - "operation": "Get Hosting Environments MultiRole Pools Metrics", - "description": "Get Hosting Environments MultiRole Pools Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools SKUs", - "operation": "Get Hosting Environments MultiRole Pools SKUs", - "description": "Get Hosting Environments MultiRole Pools SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Usages", - "operation": "Get Hosting Environments MultiRole Pools Usages", - "description": "Get Hosting Environments MultiRole Pools Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Operations", - "operation": "Get Hosting Environments Operations", - "description": "Get Hosting Environments Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/resume/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", - "operation": "Resume Hosting Environments", - "description": "Resume Hosting Environments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/serverfarms/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments App Service Plans", - "operation": "Get Hosting Environments App Service Plans", - "description": "Get Hosting Environments App Service Plans." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Web Apps", - "operation": "Get Hosting Environments Web Apps", - "description": "Get Hosting Environments Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/suspend/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", - "operation": "Suspend Hosting Environments", - "description": "Suspend Hosting Environments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Usages", - "operation": "Get Hosting Environments Usages", - "description": "Get Hosting Environments Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metric Definitions", - "operation": "Get Hosting Environments Workerpools Metric Definitions", - "description": "Get Hosting Environments Workerpools Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metrics", - "operation": "Get Hosting Environments Workerpools Metrics", - "description": "Get Hosting Environments Workerpools Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools SKUs", - "operation": "Get Hosting Environments Workerpools SKUs", - "description": "Get Hosting Environments Workerpools SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/hostingenvironments/workerpools/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Usages", - "operation": "Get Hosting Environments Workerpools Usages", - "description": "Get Hosting Environments Workerpools Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/ishostingenvironmentnameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environment Name", - "operation": "Check if Hosting Environment Name is available", - "description": "Get if Hosting Environment Name is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/ishostnameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Hostname", - "operation": "Check if Hostname is Available", - "description": "Check if Hostname is Available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/isusernameavailable/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Username", - "operation": "Check if Username is available", - "description": "Check if Username is available." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/apioperations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations API Operations", - "operation": "Get Locations API Operations", - "description": "Get Locations API Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/connectiongatewayinstallations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Connection Gateway Installations", - "operation": "Get Locations Connection Gateway Installations", - "description": "Get Locations Connection Gateway Installations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/locations/managedapis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Managed APIs", - "operation": "Get Locations Managed APIs", - "description": "Get Locations Managed APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Operations", - "operation": "Get Operations", - "description": "Get Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/publishingusers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", - "operation": "Get Publishing Users", - "description": "Get Publishing Users." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/publishingusers/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", - "operation": "Update Publishing Users", - "description": "Update Publishing Users." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/capabilities/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Capabilities", - "operation": "Get App Service Plans Capabilities", - "description": "Get App Service Plans Capabilities." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Delete App Service Plans First Party Apps Settings", - "description": "Delete App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Get App Service Plans First Party Apps Settings", - "description": "Get App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", - "operation": "Update App Service Plans First Party Apps Settings", - "description": "Update App Service Plans First Party Apps Settings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps", - "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Plan Limits", - "operation": "Get App Service Plans Hybrid Connection Plan Limits", - "description": "Get App Service Plans Hybrid Connection Plan Limits." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Relays", - "operation": "Get App Service Plans Hybrid Connection Relays", - "description": "Get App Service Plans Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metric Definitions", - "operation": "Get App Service Plans Metric Definitions", - "description": "Get App Service Plans Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metrics", - "operation": "Get App Service Plans Metrics", - "description": "Get App Service Plans Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Operation Results", - "operation": "Get App Service Plans Operation Results", - "description": "Get App Service Plans Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/sites/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Web Apps", - "operation": "Get App Service Plans Web Apps", - "description": "Get App Service Plans Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans SKUs", - "operation": "Get App Service Plans SKUs", - "description": "Get App Service Plans SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Usages", - "operation": "Get App Service Plans Usages", - "description": "Get App Service Plans Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Gateways", - "operation": "Update App Service Plans Virtual Network Connections Gateways", - "description": "Update App Service Plans Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections", - "operation": "Get App Service Plans Virtual Network Connections", - "description": "Get App Service Plans Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Delete App Service Plans Virtual Network Connections Routes", - "description": "Delete App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Get App Service Plans Virtual Network Connections Routes", - "description": "Get App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", - "operation": "Update App Service Plans Virtual Network Connections Routes", - "description": "Update App Service Plans Virtual Network Connections Routes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/workers/reboot/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Workers", - "operation": "Reboot App Service Plans Workers", - "description": "Reboot App Service Plans Workers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/analyzecustomhostname/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom Hostname", - "operation": "Analyze Custom Hostname", - "description": "Analyze Custom Hostname." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backup/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", - "operation": "Get Web Apps Backup", - "description": "Get Web Apps Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backup/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", - "operation": "Update Web Apps Backup", - "description": "Update Web Apps Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/list/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "List Web Apps Backups", - "description": "List Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/restore/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "Restore Web Apps Backups", - "description": "Restore Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/config/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Config", - "operation": "Delete Web Apps Config", - "description": "Delete Web Apps Config." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Delete Web Apps Continuous Web Jobs", - "description": "Delete Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Get Web Apps Continuous Web Jobs", - "description": "Get Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/start/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Start Web Apps Continuous Web Jobs", - "description": "Start Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/continuouswebjobs/stop/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", - "operation": "Stop Web Apps Continuous Web Jobs", - "description": "Stop Web Apps Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Delete Web Apps Deployments", - "description": "Delete Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments Log", - "operation": "Get Web Apps Deployments Log", - "description": "Get Web Apps Deployments Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Get Web Apps Deployments", - "description": "Get Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/deployments/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", - "operation": "Update Web Apps Deployments", - "description": "Update Web Apps Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/frebanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics FREB Analysis", - "operation": "Get Web Apps Diagnostics FREB Analysis", - "description": "Get Web Apps Diagnostics FREB Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics FREB Analysis", - "operation": "Get Web Apps Slots Diagnostics FREB Analysis", - "description": "Get Web Apps Slots Diagnostics FREB Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Category", - "operation": "Get Web Apps Diagnostics Category", - "description": "Get Web Apps Diagnostics Categories." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Runtime Availability", - "operation": "Get Web Apps Diagnostics Runtime Availability", - "description": "Get Web Apps Diagnostics Runtime Availability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/servicehealth/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Service Health", - "operation": "Get Web Apps Diagnostics Service Health", - "description": "Get Web Apps Diagnostics Service Health." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/workeravailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Workeravailability", - "operation": "Get Web Apps Diagnostics Workeravailability", - "description": "Get Web Apps Diagnostics Workeravailability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Workeravailability", - "operation": "Get Web Apps Slots Diagnostics Workeravailability", - "description": "Get Web Apps Slots Diagnostics Workeravailability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Worker Process Recycle", - "operation": "Get Web Apps Diagnostics Worker Process Recycle", - "description": "Get Web Apps Diagnostics Worker Process Recycle." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Worker Process Recycle", - "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", - "description": "Get Web Apps Slots Diagnostics Worker Process Recycle." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/aspnetcore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics ASP.NET Core", - "operation": "Get Web Apps Diagnostics ASP.NET Core", - "description": "Get Web Apps Diagnostics for ASP.NET Core app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics ASP.NET Core", - "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", - "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/domainownershipidentifiers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", - "operation": "Get Web Apps Domain Ownership Identifiers", - "description": "Get Web Apps Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/domainownershipidentifiers/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", - "operation": "Update Web Apps Domain Ownership Identifiers", - "description": "Update Web Apps Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Functions Web Apps", - "description": "Functions Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Delete Web Apps Functions", - "description": "Delete Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/listsecrets/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "List Secrets Web Apps Functions", - "description": "List Secrets Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Get Web Apps Functions", - "description": "Get Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", - "operation": "Update Web Apps Functions", - "description": "Update Web Apps Functions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Delete Web Apps Hostname Bindings", - "description": "Delete Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Get Web Apps Hostname Bindings", - "description": "Get Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hostnamebindings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", - "operation": "Update Web Apps Hostname Bindings", - "description": "Update Web Apps Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Delete Web Apps Hybrid Connection", - "description": "Delete Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Get Web Apps Hybrid Connection", - "description": "Get Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnection/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", - "operation": "Update Web Apps Hybrid Connection", - "description": "Update Web Apps Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Relays", - "operation": "Get Web Apps Hybrid Connection Relays", - "description": "Get Web Apps Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", - "operation": "Get Web Apps Instances Deployments", - "description": "Get Web Apps Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/processes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", - "operation": "Delete Web Apps Instances Processes", - "description": "Delete Web Apps Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", - "operation": "Get Web Apps Instances Processes", - "description": "Get Web Apps Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances", - "operation": "Get Web Apps Instances", - "description": "Get Web Apps Instances." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "List Sync Function Trigger Status Web Apps", - "description": "List Sync Function Trigger Status Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metric Definitions", - "operation": "Get Web Apps Metric Definitions", - "description": "Get Web Apps Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics", - "operation": "Get Web Apps Metrics", - "description": "Get Web Apps Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/networktrace/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Network Trace Web Apps", - "description": "Network Trace Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/newpassword/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Newpassword Web Apps", - "description": "Newpassword Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operation Results", - "operation": "Get Web Apps Operation Results", - "description": "Get Web Apps Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/perfcounters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Performance Counters", - "operation": "Get Web Apps Performance Counters", - "description": "Get Web Apps Performance Counters." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Delete Web Apps Premier Addons", - "description": "Delete Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Get Web Apps Premier Addons", - "description": "Get Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/premieraddons/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", - "operation": "Update Web Apps Premier Addons", - "description": "Update Web Apps Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publishxml/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Publishing XML", - "operation": "Get Web Apps Publishing XML", - "description": "Get Web Apps Publishing XML." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recommendationhistory/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendation History", - "operation": "Get Web Apps Recommendation History", - "description": "Get Web Apps Recommendation History." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recommendations/disable/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendations", - "operation": "Disable Web Apps Recommendations", - "description": "Disable Web Apps Recommendations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/restore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Restore", - "operation": "Get Web Apps Restore", - "description": "Get Web Apps Restore." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/analyzecustomhostname/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Analyze Custom Hostname", - "operation": "Get Web Apps Slots Analyze Custom Hostname", - "description": "Get Web Apps Slots Analyze Custom Hostname." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backup/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", - "operation": "Update Web Apps Slots Backup", - "description": "Update Web Apps Slots Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/list/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "List Web Apps Slots Backups", - "description": "List Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/restore/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "Restore Web Apps Slots Backups", - "description": "Restore Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/config/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Config", - "operation": "Delete Web Apps Slots Config", - "description": "Delete Web Apps Slots Config." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Delete Web Apps Slots Continuous Web Jobs", - "description": "Delete Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Get Web Apps Slots Continuous Web Jobs", - "description": "Get Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Start Web Apps Slots Continuous Web Jobs", - "description": "Start Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", - "operation": "Stop Web Apps Slots Continuous Web Jobs", - "description": "Stop Web Apps Slots Continuous Web Jobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Delete Web Apps Slots Deployments", - "description": "Delete Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments Log", - "operation": "Get Web Apps Slots Deployments Log", - "description": "Get Web Apps Slots Deployments Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Get Web Apps Slots Deployments", - "description": "Get Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/deployments/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", - "operation": "Update Web Apps Slots Deployments", - "description": "Update Web Apps Slots Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Delete Web Apps Slots Hostname Bindings", - "description": "Delete Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Get Web Apps Slots Hostname Bindings", - "description": "Get Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hostnamebindings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", - "operation": "Update Web Apps Slots Hostname Bindings", - "description": "Update Web Apps Slots Hostname Bindings." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Delete Web Apps Slots Hybrid Connection", - "description": "Delete Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Get Web Apps Slots Hybrid Connection", - "description": "Get Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnection/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", - "operation": "Update Web Apps Slots Hybrid Connection", - "description": "Update Web Apps Slots Hybrid Connection." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Deployments", - "operation": "Get Web Apps Slots Instances Deployments", - "description": "Get Web Apps Slots Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", - "operation": "Get Web Apps Slots Instances Processes", - "description": "Get Web Apps Slots Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/instances/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances", - "operation": "Get Web Apps Slots Instances", - "description": "Get Web Apps Slots Instances." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/metricdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metric Definitions", - "operation": "Get Web Apps Slots Metric Definitions", - "description": "Get Web Apps Slots Metric Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/metrics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metrics", - "operation": "Get Web Apps Slots Metrics", - "description": "Get Web Apps Slots Metrics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/newpassword/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Newpassword Web Apps Slots", - "description": "Newpassword Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/operationresults/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operation Results", - "operation": "Get Web Apps Slots Operation Results", - "description": "Get Web Apps Slots Operation Results." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/phplogging/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Phplogging", - "operation": "Get Web Apps Slots Phplogging", - "description": "Get Web Apps Slots Phplogging." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Delete Web Apps Slots Premier Addons", - "description": "Delete Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Get Web Apps Slots Premier Addons", - "description": "Get Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/premieraddons/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", - "operation": "Update Web Apps Slots Premier Addons", - "description": "Update Web Apps Slots Premier Addons." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/restore/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Restore", - "operation": "Get Web Apps Slots Restore", - "description": "Get Web Apps Slots Restore." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/sync/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Sync Web Apps Slots", - "description": "Sync Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Delete Web Apps Slots Triggered WebJobs", - "description": "Delete Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Get Web Apps Slots Triggered WebJobs", - "description": "Get Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", - "operation": "Run Web Apps Slots Triggered WebJobs", - "description": "Run Web Apps Slots Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Usages", - "operation": "Get Web Apps Slots Usages", - "description": "Get Web Apps Slots Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Delete Web Apps Slots Virtual Network Connections", - "description": "Delete Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections Gateways", - "operation": "Update Web Apps Slots Virtual Network Connections Gateways", - "description": "Update Web Apps Slots Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Get Web Apps Slots Virtual Network Connections", - "description": "Get Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", - "operation": "Update Web Apps Slots Virtual Network Connections", - "description": "Update Web Apps Slots Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/webjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots WebJobs", - "operation": "Get Web Apps Slots WebJobs", - "description": "Get Web Apps Slots WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/snapshots/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Snapshots", - "operation": "Get Web Apps Snapshots", - "description": "Get Web Apps Snapshots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/sync/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Sync Web Apps", - "description": "Sync Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Delete Web Apps Triggered WebJobs", - "description": "Delete Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Get Web Apps Triggered WebJobs", - "description": "Get Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/run/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", - "operation": "Run Web Apps Triggered WebJobs", - "description": "Run Web Apps Triggered WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/usages/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Usages", - "operation": "Get Web Apps Usages", - "description": "Get Web Apps Usages." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Delete Web Apps Virtual Network Connections", - "description": "Delete Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", - "operation": "Get Web Apps Virtual Network Connections Gateways", - "description": "Get Web Apps Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", - "operation": "Update Web Apps Virtual Network Connections Gateways", - "description": "Update Web Apps Virtual Network Connections Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Get Web Apps Virtual Network Connections", - "description": "Get Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/virtualnetworkconnections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", - "operation": "Update Web Apps Virtual Network Connections", - "description": "Update Web Apps Virtual Network Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/webjobs/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps WebJobs", - "operation": "Get Web Apps WebJobs", - "description": "Get Web Apps WebJobs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/skus/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "SKUs", - "operation": "Get SKUs", - "description": "Get SKUs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sourcecontrols/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", - "operation": "Get Source Controls", - "description": "Get Source Controls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sourcecontrols/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", - "operation": "Update Source Controls", - "description": "Update Source Controls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/unregister/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", - "operation": "Unregister Microsoft.Web resource provider", - "description": "Unregister Microsoft.Web resource provider for the subscription." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/validate/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "", - "operation": "Validate ", - "description": "Validate ." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/register/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", - "operation": "Register Microsoft.Web resource provider", - "description": "Register Microsoft.Web resource provider for the subscription." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", - "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/backups/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", - "operation": "Delete Web Apps Backups", - "description": "Delete Web Apps Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", - "description": "List Keys Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Update Web Apps Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/metricsdefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics Definitions", - "operation": "Get Web Apps Metrics Definitions", - "description": "Get Web Apps Metrics Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/migratemysql/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Migrate MySql Web Apps", - "description": "Migrate MySql Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/migratemysql/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Migrate MySql", - "operation": "Get Web Apps Migrate MySql", - "description": "Get Web Apps Migrate MySql." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/recover/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Recover Web Apps", - "description": "Recover Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Delete Web Apps Site Extensions", - "description": "Delete Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Get Web Apps Site Extensions", - "description": "Get Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/siteextensions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", - "operation": "Update Web Apps Site Extensions", - "description": "Update Web Apps Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backup/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", - "operation": "Get Web Apps Slots Backup", - "description": "Get Web Apps Slots Backup." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Relays", - "operation": "Get Web Apps Slots Hybrid Connection Relays", - "description": "Get Web Apps Slots Hybrid Connection Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Delete Web Apps Slots Site Extensions", - "description": "Delete Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Get Web Apps Slots Site Extensions", - "description": "Get Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/siteextensions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", - "operation": "Update Web Apps Slots Site Extensions", - "description": "Update Web Apps Slots Site Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/snapshots/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Snapshots", - "operation": "Get Web Apps Slots Snapshots", - "description": "Get Web Apps Slots Snapshots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/syncfunctiontriggers/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Sync Function Triggers for Web Apps", - "description": "Sync Function Triggers for Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/triggeredwebjobs/history/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs History", - "operation": "Get Web Apps Triggered WebJobs History", - "description": "Get Web Apps Triggered WebJobs History." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/connectiongateways/liststatus/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", - "operation": "List Status Connection Gateways", - "description": "List Status Connection Gateways." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", - "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", - "description": "Delete App Service Plans Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/deployment/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployment", - "operation": "Get Web Apps Diagnostics Deployment", - "description": "Get Web Apps Diagnostics Deployment." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site CPU Analysis", - "operation": "Get Web Apps Diagnostics Site CPU Analysis", - "description": "Get Web Apps Diagnostics Site CPU Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Latency", - "operation": "Get Web Apps Diagnostics Site Latency", - "description": "Get Web Apps Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Memory Analysis", - "operation": "Get Web Apps Diagnostics Site Memory Analysis", - "description": "Get Web Apps Diagnostics Site Memory Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/threadcount/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Thread Count", - "operation": "Get Web Apps Diagnostics Thread Count", - "description": "Get Web Apps Diagnostics Thread Count." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/deployment/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployment", - "operation": "Get Web Apps Slots Diagnostics Deployment", - "description": "Get Web Apps Slots Diagnostics Deployment." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site CPU Analysis", - "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", - "description": "Get Web Apps Slots Diagnostics Site CPU Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", - "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Memory Analysis", - "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", - "description": "Get Web Apps Slots Diagnostics Site Memory Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Thread Count", - "operation": "Get Web Apps Slots Diagnostics Thread Count", - "description": "Get Web Apps Slots Diagnostics Thread Count." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/masterkey/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Masterkey", - "operation": "Get Web Apps Functions Masterkey", - "description": "Get Web Apps Functions Masterkey." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", - "operation": "Get Web Apps Hybrid Connection Namespaces Relays", - "description": "Get Web Apps Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/extensions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions", - "operation": "Get Web Apps Instances Extensions", - "description": "Get Web Apps Instances Extensions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operations", - "operation": "Get Web Apps Operations", - "description": "Get Web Apps Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/resourcehealthmetadata/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Resource Health Metadata", - "operation": "Get Web Apps Resource Health Metadata", - "description": "Get Web Apps Resource Health Metadata." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/backups/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", - "operation": "Delete Web Apps Slots Backups", - "description": "Delete Web Apps Slots Backups." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Domain Ownership Identifiers", - "operation": "Get Web Apps Slots Domain Ownership Identifiers", - "description": "Get Web Apps Slots Domain Ownership Identifiers." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", - "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", - "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/operations/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operations", - "operation": "Get Web Apps Slots Operations", - "description": "Get Web Apps Slots Operations." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/perfcounters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Performance Counters", - "operation": "Get Web Apps Slots Performance Counters", - "description": "Get Web Apps Slots Performance Counters." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Resource Health Metadata", - "operation": "Get Web Apps Slots Resource Health Metadata", - "description": "Get Web Apps Slots Resource Health Metadata." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apiacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Apiacls", - "operation": "Get Api Management Accounts Apiacls", - "description": "Get Api Management Accounts Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Get Api Management Accounts APIs Connections", - "description": "Get Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Get Api Management Accounts APIs", - "description": "Get Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Connectionacls", - "operation": "Get Api Management Accounts Connectionacls", - "description": "Get Api Management Accounts Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Delete Api Management Accounts APIs Apiacls", - "description": "Delete Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Get Api Management Accounts APIs Apiacls", - "description": "Get Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", - "operation": "Update Api Management Accounts APIs Apiacls", - "description": "Update Api Management Accounts APIs Apiacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connectionacls", - "operation": "Get Api Management Accounts APIs Connectionacls", - "description": "Get Api Management Accounts APIs Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Confirm Consent Code Api Management Accounts APIs Connections", - "description": "Confirm Consent Code Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Delete Api Management Accounts APIs Connections Connectionacls", - "description": "Delete Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Get Api Management Accounts APIs Connections Connectionacls", - "description": "Get Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", - "operation": "Update Api Management Accounts APIs Connections Connectionacls", - "description": "Update Api Management Accounts APIs Connections Connectionacls." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Delete Api Management Accounts APIs Connections", - "description": "Delete Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Get Consent Links for Api Management Accounts APIs Connections", - "description": "Get Consent Links for Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "Update Api Management Accounts APIs Connections", - "description": "Update Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Delete Api Management Accounts APIs", - "description": "Delete Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Delete Api Management Accounts APIs Localized Definitions", - "description": "Delete Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Get Api Management Accounts APIs Localized Definitions", - "description": "Get Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", - "operation": "Update Api Management Accounts APIs Localized Definitions", - "description": "Update Api Management Accounts APIs Localized Definitions." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", - "operation": "Update Api Management Accounts APIs", - "description": "Update Api Management Accounts APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "List Connection Keys Api Management Accounts APIs Connections", - "description": "List Connection Keys Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", - "operation": "List Secrets Api Management Accounts APIs Connections", - "description": "List Secrets Api Management Accounts APIs Connections." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployments", - "operation": "Get Web Apps Diagnostics Deployments", - "description": "Get Web Apps Diagnostics Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/deployments/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployments", - "operation": "Get Web Apps Slots Diagnostics Deployments", - "description": "Get Web Apps Slots Diagnostics Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/loganalyzer/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Log Analyzer", - "operation": "Get Web Apps Diagnostics Log Analyzer", - "description": "Get Web Apps Diagnostics Log Analyzer." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Log Analyzer", - "operation": "Get Web Apps Slots Diagnostics Log Analyzer", - "description": "Get Web Apps Slots Diagnostics Log Analyzer." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/sitecrashes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Crashes", - "operation": "Get Web Apps Diagnostics Site Crashes", - "description": "Get Web Apps Diagnostics Site Crashes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Crashes", - "operation": "Get Web Apps Slots Diagnostics Site Crashes", - "description": "Get Web Apps Slots Diagnostics Site Crashes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart Setting Update", - "operation": "Get Web Apps Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Diagnostics Site Restart Setting Update." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart Setting Update", - "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart User Initiated", - "operation": "Get Web Apps Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Diagnostics Site Restart User Initiated." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart User Initiated", - "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/siteswap/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Swap", - "operation": "Get Web Apps Diagnostics Site Swap", - "description": "Get Web Apps Diagnostics Site Swap." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Swap", - "operation": "Get Web Apps Slots Diagnostics Site Swap", - "description": "Get Web Apps Slots Diagnostics Site Swap." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/functions/token/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Token", - "operation": "Get Web Apps Functions Token", - "description": "Get Web Apps Functions Token." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/deployments/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", - "operation": "Delete Web Apps Instances Deployments", - "description": "Delete Web Apps Instances Deployments." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/processes/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Processes", - "operation": "Get Web Apps Processes", - "description": "Get Web Apps Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Delete Web Apps Public Certificates", - "description": "Delete Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Get Web Apps Public Certificates", - "description": "Get Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/publiccertificates/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", - "operation": "Update Web Apps Public Certificates", - "description": "Update Web Apps Public Certificates." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/networktrace/action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Network Trace Web Apps Slots", - "description": "Network Trace Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/autoheal/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Autoheal", - "operation": "Get Web Apps Diagnostics Autoheal", - "description": "Get Web Apps Diagnostics Autoheal." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Autoheal", - "operation": "Get Web Apps Slots Diagnostics Autoheal", - "description": "Get Web Apps Slots Diagnostics Autoheal." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics", - "operation": "Get Web Apps Slots Diagnostics", - "description": "Get Web Apps Slots Diagnostics." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Runtime Availability", - "operation": "Get Web Apps Slots Diagnostics Runtime Availability", - "description": "Get Web Apps Slots Diagnostics Runtime Availability." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Service Health", - "operation": "Get Web Apps Slots Diagnostics Service Health", - "description": "Get Web Apps Slots Diagnostics Service Health." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", - "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/migratemysql/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Migrate MySql", - "operation": "Get Web Apps Slots Migrate MySql", - "description": "Get Web Apps Slots Migrate MySql." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "microsoft.web/billingmeters/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Billing meters for Microsoft Web Apps", - "operation": "Read billing meters", - "description": "Get list of billing meters." - }, - "origin": "system" - }, - { - "name": "microsoft.web/sites/slots/instances/processes/delete", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", - "operation": "Delete Web Apps Slots Instances Processes", - "description": "Delete Web Apps Slots Instances Processes." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/restore/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", - "operation": "Restore Web Apps", - "description": "Restore Web Apps." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/instances/extensions/log/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions Log", - "operation": "Get Web Apps Instances Extensions Log", - "description": "Get Web Apps Instances Extensions Log." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/customapis/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", - "operation": "Update Custom APIs", - "description": "Update Custom APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/customapis/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", - "operation": "Get Custom APIs", - "description": "Get Custom APIs." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Failed Requests Per Uri", - "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", - "description": "Get Web Apps Diagnostics Failed Requests Per Uri." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/restore/write", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", - "operation": "Restore Web Apps Slots", - "description": "Restore Web Apps Slots." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/detectors/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", - "operation": "Get Web Apps Diagnostics Detector", - "description": "Get Web Apps Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/analyses/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", - "operation": "Get Web Apps Diagnostics Analysis", - "description": "Get Web Apps Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/analyses/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", - "operation": "Get Web Apps Slots Diagnostics Analysis", - "description": "Get Web Apps Slots Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/detectors/read", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", - "operation": "Get Web Apps Slots Diagnostics Detector", - "description": "Get Web Apps Slots Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", - "operation": "Run Web Apps Diagnostics Analysis", - "description": "Run Web Apps Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", - "operation": "Run Web Apps Diagnostics Detector", - "description": "Run Web Apps Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", - "operation": "Run Web Apps Slots Diagnostics Analysis", - "description": "Run Web Apps Slots Diagnostics Analysis." - }, - "origin": "user,system" - }, - { - "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", - "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", - "operation": "Run Web Apps Slots Diagnostics Detector", - "description": "Run Web Apps Slots Diagnostics Detector." - }, - "origin": "user,system" - }, - { - "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Plan", - "operation": "Read App Service Plan metric definitions", - "description": "Gets the available metrics for App Service Plan" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App", - "operation": "Read Web App metric definitions", - "description": "Gets the available metrics for Web App" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App Slot", - "operation": "Read Web App Slot metric definitions", - "description": "Gets the available metrics for Web App Slot" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment MultiRole", - "operation": "Read App Service Environment MultiRole metric definitions", - "description": "Gets the available metrics for App Service Environment MultiRole" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "ActiveRequests", - "displayName": "Active Requests", - "displayDescription": "Active Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "TotalFrontEnds", - "displayName": "Total Front Ends", - "displayDescription": "Total Front Ends", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "SmallAppServicePlanInstances", - "displayName": "Small App Service Plan Workers", - "displayDescription": "Small App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "MediumAppServicePlanInstances", - "displayName": "Medium App Service Plan Workers", - "displayDescription": "Medium App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "LargeAppServicePlanInstances", - "displayName": "Large App Service Plan Workers", - "displayDescription": "Large App Service Plan Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", - "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment WorkerPool", - "operation": "Read App Service Environment WorkerPool metric definitions", - "description": "Gets the available metrics for App Service Environment WorkerPool" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "WorkersTotal", - "displayName": "Total Workers", - "displayDescription": "Total Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "WorkersAvailable", - "displayName": "Available Workers", - "displayDescription": "Available Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "WorkersUsed", - "displayName": "Used Workers", - "displayDescription": "Used Workers", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - } - ] - } - } + "parameters": { + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.Web/sites/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App", + "description": "Get the properties of a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Create or Update Web App", + "description": "Create a new Web App or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Create or Update Web App Slot", + "description": "Create a new Web App Slot or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Delete Web App", + "description": "Delete an existing Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Delete Web App Slot", + "description": "Delete an existing Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Configuration", + "description": "Get Web App Slot's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Configuration", + "description": "Get Web App configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/list/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "List Web App Security Sensitive Settings", + "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/list/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "List Web App Slot Security Sensitive Settings", + "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Update Web App Configuration", + "description": "Update Web App's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Update Web App Slot Configuration", + "description": "Update Web App Slot's configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Source Control Configuration", + "description": "Get Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Source Control Configuration", + "description": "Get Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Update Web App Source Control Configuration", + "description": "Update Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Update Web App Slot Source Control Configuration", + "description": "Update Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Delete Web App Source Control Configuration", + "description": "Delete Web App's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Delete Web App Slot Source Control Configuration", + "description": "Delete Web App Slot's source control configuration settings" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backup/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Create Web App Backup", + "description": "Create a new web app backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backup/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Create Web App Slot Backup", + "description": "Create new Web App Slot backup." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backups/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Backup", + "description": "Get the properties of a web app's backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backups/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "List Web App Slot Backups", + "description": "Get the properties of a web app slots' backup" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publishxml/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Publishing Profile", + "description": "Get publishing profile xml for a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publishxml/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slot Publishing Profile", + "description": "Get publishing profile xml for Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publish/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Publish Web App", + "description": "Publish a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publish/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Publish Web App Slot", + "description": "Publish a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/restart/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Restart Web App", + "description": "Restart a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/restart/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Restart Web App Slot", + "description": "Restart a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/start/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Start Web App", + "description": "Start a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/start/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Start Web App Slot", + "description": "Start a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/stop/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Stop Web App", + "description": "Stop a Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/stop/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Stop Web App Slot", + "description": "Stop a Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsswap/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Swap Web App Slots", + "description": "Swap Web App deployment slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsswap/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Swap Web App Slots", + "description": "Swap Web App deployment slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsdiffs/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Get Web App Slots Differences", + "description": "Get differences in configuration between web app and slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Slots Differences", + "description": "Get differences in configuration between web app and slots" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/applySlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Apply Web App Configuration", + "description": "Apply web app slot configuration from target slot to the current web app" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Apply Web App Slot Configuration", + "description": "Apply web app slot configuration from target slot to the current slot." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/resetSlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App", + "operation": "Reset Web App Configuration", + "description": "Reset web app configuration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Reset Web App Slot Configuration", + "description": "Reset web app slot configuration" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web App Slot", + "operation": "Get Web App Deployment Slot", + "description": "Get the properties of a Web App deployment slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Get App Service Plan", + "description": "Get the properties on an App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Create or Update App Service Plan", + "description": "Create a new App Service Plan or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Delete App Service Plan", + "description": "Delete an existing App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/restartSites/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plan", + "operation": "Restart Web Apps", + "description": "Restart all Web Apps in an App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Get Certificates", + "description": "Get the list of certificates." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Add or Update Certificate", + "description": "Add a new certificate or update an existing one." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Certificate", + "operation": "Delete Certificate", + "description": "Delete an existing certificate." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/geoRegions/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Geo Region", + "operation": "Get Geo Regions", + "description": "Get the list of Geo regions." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/listSitesAssignedToHostName/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Site Name", + "operation": "Get sites assigned to hostname", + "description": "Get names of sites assigned to hostname." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Get App Service Environment", + "description": "Get the properties of an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Create or Update App Service Environment", + "description": "Create a new App Service Environment or update existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Delete App Service Environment", + "description": "Delete an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/reboot/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment", + "operation": "Reboot an App Service Environment", + "description": "Reboot all machines in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool", + "operation": "Get FrontEnd Pool", + "description": "Get the properties of a FrontEnd Pool in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool", + "operation": "Create or Update FrontEnd Pool", + "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool", + "operation": "Get Worker Pool", + "description": "Get the properties of a Worker Pool in an App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool", + "operation": "Create or Update Worker Pool", + "description": "Create a new Worker Pool in an App Service Environment or update an existing one" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Get Connections", + "description": "Get the list of Connections." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Add or Update Connection", + "description": "Creates or updates a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Delete Connection", + "description": "Deletes a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Join/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Join Connection", + "description": "Joins a Connection." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Get Connection Gateways", + "description": "Get the list of Connection Gateways." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Add or Update Connection Gateways", + "description": "Creates or updates a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Delete Connection Gateway", + "description": "Deletes a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Join/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "Join Connection Gateway", + "description": "Joins a Connection Gateway." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/recommendations/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Recommendation", + "operation": "Get recommendations", + "description": "Get the list of recommendations for subscriptions." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/recommendations/Read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Recommendation", + "operation": "Get recommendations for web app", + "description": "Get the list of recommendations for web app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/availablestacks/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Available Stacks", + "operation": "Get Available Stacks", + "description": "Get Available Stacks." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/checknameavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Check Name Availability", + "operation": "Get Check Name Availability", + "description": "Check if resource name is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/classicmobileservices/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Classic Mobile Services", + "operation": "Get Classic Mobile Services", + "description": "Get Classic Mobile Services." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/confirmconsentcode/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "Confirm Connections Consent Code", + "description": "Confirm Connections Consent Code." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/listconsentlinks/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connections", + "operation": "List Consent Links for Connections", + "description": "List Consent Links for Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/deploymentlocations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Deployment Locations", + "operation": "Get Deployment Locations", + "description": "Get Deployment Locations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/capacities/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Capacities", + "operation": "Get Hosting Environments Capacities", + "description": "Get Hosting Environments Capacities." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Diagnostics", + "operation": "Get Hosting Environments Diagnostics", + "description": "Get Hosting Environments Diagnostics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Metric Definitions", + "operation": "Get Hosting Environments Metric Definitions", + "description": "Get Hosting Environments Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metric Definitions", + "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", + "description": "Get Hosting Environments MultiRole Pools Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metrics", + "operation": "Get Hosting Environments MultiRole Pools Metrics", + "description": "Get Hosting Environments MultiRole Pools Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools SKUs", + "operation": "Get Hosting Environments MultiRole Pools SKUs", + "description": "Get Hosting Environments MultiRole Pools SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Usages", + "operation": "Get Hosting Environments MultiRole Pools Usages", + "description": "Get Hosting Environments MultiRole Pools Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Operations", + "operation": "Get Hosting Environments Operations", + "description": "Get Hosting Environments Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/resume/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments", + "operation": "Resume Hosting Environments", + "description": "Resume Hosting Environments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/serverfarms/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments App Service Plans", + "operation": "Get Hosting Environments App Service Plans", + "description": "Get Hosting Environments App Service Plans." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Web Apps", + "operation": "Get Hosting Environments Web Apps", + "description": "Get Hosting Environments Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/suspend/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments", + "operation": "Suspend Hosting Environments", + "description": "Suspend Hosting Environments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Usages", + "operation": "Get Hosting Environments Usages", + "description": "Get Hosting Environments Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metric Definitions", + "operation": "Get Hosting Environments Workerpools Metric Definitions", + "description": "Get Hosting Environments Workerpools Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metrics", + "operation": "Get Hosting Environments Workerpools Metrics", + "description": "Get Hosting Environments Workerpools Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools SKUs", + "operation": "Get Hosting Environments Workerpools SKUs", + "description": "Get Hosting Environments Workerpools SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Usages", + "operation": "Get Hosting Environments Workerpools Usages", + "description": "Get Hosting Environments Workerpools Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostingenvironmentnameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hosting Environment Name", + "operation": "Check if Hosting Environment Name is available", + "description": "Get if Hosting Environment Name is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostnameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Hostname", + "operation": "Check if Hostname is Available", + "description": "Check if Hostname is Available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/isusernameavailable/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Username", + "operation": "Check if Username is available", + "description": "Check if Username is available." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/apioperations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations API Operations", + "operation": "Get Locations API Operations", + "description": "Get Locations API Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/connectiongatewayinstallations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations Connection Gateway Installations", + "operation": "Get Locations Connection Gateway Installations", + "description": "Get Locations Connection Gateway Installations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/managedapis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Locations Managed APIs", + "operation": "Get Locations Managed APIs", + "description": "Get Locations Managed APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Operations", + "operation": "Get Operations", + "description": "Get Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Publishing Users", + "operation": "Get Publishing Users", + "description": "Get Publishing Users." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Publishing Users", + "operation": "Update Publishing Users", + "description": "Update Publishing Users." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/capabilities/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Capabilities", + "operation": "Get App Service Plans Capabilities", + "description": "Get App Service Plans Capabilities." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Delete App Service Plans First Party Apps Settings", + "description": "Delete App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Get App Service Plans First Party Apps Settings", + "description": "Get App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings", + "operation": "Update App Service Plans First Party Apps Settings", + "description": "Update App Service Plans First Party Apps Settings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Plan Limits", + "operation": "Get App Service Plans Hybrid Connection Plan Limits", + "description": "Get App Service Plans Hybrid Connection Plan Limits." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Relays", + "operation": "Get App Service Plans Hybrid Connection Relays", + "description": "Get App Service Plans Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metric Definitions", + "operation": "Get App Service Plans Metric Definitions", + "description": "Get App Service Plans Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metrics", + "operation": "Get App Service Plans Metrics", + "description": "Get App Service Plans Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Operation Results", + "operation": "Get App Service Plans Operation Results", + "description": "Get App Service Plans Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/sites/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Web Apps", + "operation": "Get App Service Plans Web Apps", + "description": "Get App Service Plans Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans SKUs", + "operation": "Get App Service Plans SKUs", + "description": "Get App Service Plans SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Usages", + "operation": "Get App Service Plans Usages", + "description": "Get App Service Plans Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Gateways", + "operation": "Update App Service Plans Virtual Network Connections Gateways", + "description": "Update App Service Plans Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections", + "operation": "Get App Service Plans Virtual Network Connections", + "description": "Get App Service Plans Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Delete App Service Plans Virtual Network Connections Routes", + "description": "Delete App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Get App Service Plans Virtual Network Connections Routes", + "description": "Get App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes", + "operation": "Update App Service Plans Virtual Network Connections Routes", + "description": "Update App Service Plans Virtual Network Connections Routes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/workers/reboot/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Workers", + "operation": "Reboot App Service Plans Workers", + "description": "Reboot App Service Plans Workers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/analyzecustomhostname/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom Hostname", + "operation": "Analyze Custom Hostname", + "description": "Analyze Custom Hostname." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup", + "operation": "Get Web Apps Backup", + "description": "Get Web Apps Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup", + "operation": "Update Web Apps Backup", + "description": "Update Web Apps Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/list/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "List Web Apps Backups", + "description": "List Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/restore/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "Restore Web Apps Backups", + "description": "Restore Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/config/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Config", + "operation": "Delete Web Apps Config", + "description": "Delete Web Apps Config." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Delete Web Apps Continuous Web Jobs", + "description": "Delete Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Get Web Apps Continuous Web Jobs", + "description": "Get Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/start/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Start Web Apps Continuous Web Jobs", + "description": "Start Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/stop/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs", + "operation": "Stop Web Apps Continuous Web Jobs", + "description": "Stop Web Apps Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Delete Web Apps Deployments", + "description": "Delete Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments Log", + "operation": "Get Web Apps Deployments Log", + "description": "Get Web Apps Deployments Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Get Web Apps Deployments", + "description": "Get Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments", + "operation": "Update Web Apps Deployments", + "description": "Update Web Apps Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/frebanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics FREB Analysis", + "operation": "Get Web Apps Diagnostics FREB Analysis", + "description": "Get Web Apps Diagnostics FREB Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics FREB Analysis", + "operation": "Get Web Apps Slots Diagnostics FREB Analysis", + "description": "Get Web Apps Slots Diagnostics FREB Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Category", + "operation": "Get Web Apps Diagnostics Category", + "description": "Get Web Apps Diagnostics Categories." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Runtime Availability", + "operation": "Get Web Apps Diagnostics Runtime Availability", + "description": "Get Web Apps Diagnostics Runtime Availability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/servicehealth/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Service Health", + "operation": "Get Web Apps Diagnostics Service Health", + "description": "Get Web Apps Diagnostics Service Health." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workeravailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Workeravailability", + "operation": "Get Web Apps Diagnostics Workeravailability", + "description": "Get Web Apps Diagnostics Workeravailability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Workeravailability", + "operation": "Get Web Apps Slots Diagnostics Workeravailability", + "description": "Get Web Apps Slots Diagnostics Workeravailability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Worker Process Recycle", + "operation": "Get Web Apps Diagnostics Worker Process Recycle", + "description": "Get Web Apps Diagnostics Worker Process Recycle." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Worker Process Recycle", + "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", + "description": "Get Web Apps Slots Diagnostics Worker Process Recycle." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/aspnetcore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics ASP.NET Core", + "operation": "Get Web Apps Diagnostics ASP.NET Core", + "description": "Get Web Apps Diagnostics for ASP.NET Core app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics ASP.NET Core", + "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", + "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers", + "operation": "Get Web Apps Domain Ownership Identifiers", + "description": "Get Web Apps Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers", + "operation": "Update Web Apps Domain Ownership Identifiers", + "description": "Update Web Apps Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Functions Web Apps", + "description": "Functions Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Delete Web Apps Functions", + "description": "Delete Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/listsecrets/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "List Secrets Web Apps Functions", + "description": "List Secrets Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Get Web Apps Functions", + "description": "Get Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions", + "operation": "Update Web Apps Functions", + "description": "Update Web Apps Functions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Delete Web Apps Hostname Bindings", + "description": "Delete Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Get Web Apps Hostname Bindings", + "description": "Get Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings", + "operation": "Update Web Apps Hostname Bindings", + "description": "Update Web Apps Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Delete Web Apps Hybrid Connection", + "description": "Delete Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Get Web Apps Hybrid Connection", + "description": "Get Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection", + "operation": "Update Web Apps Hybrid Connection", + "description": "Update Web Apps Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Relays", + "operation": "Get Web Apps Hybrid Connection Relays", + "description": "Get Web Apps Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments", + "operation": "Get Web Apps Instances Deployments", + "description": "Get Web Apps Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes", + "operation": "Delete Web Apps Instances Processes", + "description": "Delete Web Apps Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes", + "operation": "Get Web Apps Instances Processes", + "description": "Get Web Apps Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances", + "operation": "Get Web Apps Instances", + "description": "Get Web Apps Instances." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "List Sync Function Trigger Status Web Apps", + "description": "List Sync Function Trigger Status Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metric Definitions", + "operation": "Get Web Apps Metric Definitions", + "description": "Get Web Apps Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics", + "operation": "Get Web Apps Metrics", + "description": "Get Web Apps Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/networktrace/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Network Trace Web Apps", + "description": "Network Trace Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/newpassword/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Newpassword Web Apps", + "description": "Newpassword Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operation Results", + "operation": "Get Web Apps Operation Results", + "description": "Get Web Apps Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/perfcounters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Performance Counters", + "operation": "Get Web Apps Performance Counters", + "description": "Get Web Apps Performance Counters." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Delete Web Apps Premier Addons", + "description": "Delete Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Get Web Apps Premier Addons", + "description": "Get Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons", + "operation": "Update Web Apps Premier Addons", + "description": "Update Web Apps Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publishxml/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Publishing XML", + "operation": "Get Web Apps Publishing XML", + "description": "Get Web Apps Publishing XML." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendationhistory/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendation History", + "operation": "Get Web Apps Recommendation History", + "description": "Get Web Apps Recommendation History." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendations/disable/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendations", + "operation": "Disable Web Apps Recommendations", + "description": "Disable Web Apps Recommendations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Restore", + "operation": "Get Web Apps Restore", + "description": "Get Web Apps Restore." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/analyzecustomhostname/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Analyze Custom Hostname", + "operation": "Get Web Apps Slots Analyze Custom Hostname", + "description": "Get Web Apps Slots Analyze Custom Hostname." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup", + "operation": "Update Web Apps Slots Backup", + "description": "Update Web Apps Slots Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/list/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "List Web Apps Slots Backups", + "description": "List Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/restore/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "Restore Web Apps Slots Backups", + "description": "Restore Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/config/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Config", + "operation": "Delete Web Apps Slots Config", + "description": "Delete Web Apps Slots Config." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Delete Web Apps Slots Continuous Web Jobs", + "description": "Delete Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Get Web Apps Slots Continuous Web Jobs", + "description": "Get Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Start Web Apps Slots Continuous Web Jobs", + "description": "Start Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs", + "operation": "Stop Web Apps Slots Continuous Web Jobs", + "description": "Stop Web Apps Slots Continuous Web Jobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Delete Web Apps Slots Deployments", + "description": "Delete Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments Log", + "operation": "Get Web Apps Slots Deployments Log", + "description": "Get Web Apps Slots Deployments Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Get Web Apps Slots Deployments", + "description": "Get Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments", + "operation": "Update Web Apps Slots Deployments", + "description": "Update Web Apps Slots Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Delete Web Apps Slots Hostname Bindings", + "description": "Delete Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Get Web Apps Slots Hostname Bindings", + "description": "Get Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings", + "operation": "Update Web Apps Slots Hostname Bindings", + "description": "Update Web Apps Slots Hostname Bindings." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Delete Web Apps Slots Hybrid Connection", + "description": "Delete Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Get Web Apps Slots Hybrid Connection", + "description": "Get Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection", + "operation": "Update Web Apps Slots Hybrid Connection", + "description": "Update Web Apps Slots Hybrid Connection." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Deployments", + "operation": "Get Web Apps Slots Instances Deployments", + "description": "Get Web Apps Slots Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes", + "operation": "Get Web Apps Slots Instances Processes", + "description": "Get Web Apps Slots Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances", + "operation": "Get Web Apps Slots Instances", + "description": "Get Web Apps Slots Instances." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metricdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metric Definitions", + "operation": "Get Web Apps Slots Metric Definitions", + "description": "Get Web Apps Slots Metric Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metrics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metrics", + "operation": "Get Web Apps Slots Metrics", + "description": "Get Web Apps Slots Metrics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/newpassword/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Newpassword Web Apps Slots", + "description": "Newpassword Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operationresults/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operation Results", + "operation": "Get Web Apps Slots Operation Results", + "description": "Get Web Apps Slots Operation Results." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/phplogging/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Phplogging", + "operation": "Get Web Apps Slots Phplogging", + "description": "Get Web Apps Slots Phplogging." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Delete Web Apps Slots Premier Addons", + "description": "Delete Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Get Web Apps Slots Premier Addons", + "description": "Get Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons", + "operation": "Update Web Apps Slots Premier Addons", + "description": "Update Web Apps Slots Premier Addons." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Restore", + "operation": "Get Web Apps Slots Restore", + "description": "Get Web Apps Slots Restore." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/sync/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Sync Web Apps Slots", + "description": "Sync Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Delete Web Apps Slots Triggered WebJobs", + "description": "Delete Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Get Web Apps Slots Triggered WebJobs", + "description": "Get Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs", + "operation": "Run Web Apps Slots Triggered WebJobs", + "description": "Run Web Apps Slots Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Usages", + "operation": "Get Web Apps Slots Usages", + "description": "Get Web Apps Slots Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Delete Web Apps Slots Virtual Network Connections", + "description": "Delete Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections Gateways", + "operation": "Update Web Apps Slots Virtual Network Connections Gateways", + "description": "Update Web Apps Slots Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Get Web Apps Slots Virtual Network Connections", + "description": "Get Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections", + "operation": "Update Web Apps Slots Virtual Network Connections", + "description": "Update Web Apps Slots Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/webjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots WebJobs", + "operation": "Get Web Apps Slots WebJobs", + "description": "Get Web Apps Slots WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/snapshots/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Snapshots", + "operation": "Get Web Apps Snapshots", + "description": "Get Web Apps Snapshots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/sync/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Sync Web Apps", + "description": "Sync Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Delete Web Apps Triggered WebJobs", + "description": "Delete Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Get Web Apps Triggered WebJobs", + "description": "Get Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/run/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs", + "operation": "Run Web Apps Triggered WebJobs", + "description": "Run Web Apps Triggered WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/usages/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Usages", + "operation": "Get Web Apps Usages", + "description": "Get Web Apps Usages." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Delete Web Apps Virtual Network Connections", + "description": "Delete Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways", + "operation": "Get Web Apps Virtual Network Connections Gateways", + "description": "Get Web Apps Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways", + "operation": "Update Web Apps Virtual Network Connections Gateways", + "description": "Update Web Apps Virtual Network Connections Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Get Web Apps Virtual Network Connections", + "description": "Get Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections", + "operation": "Update Web Apps Virtual Network Connections", + "description": "Update Web Apps Virtual Network Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/webjobs/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps WebJobs", + "operation": "Get Web Apps WebJobs", + "description": "Get Web Apps WebJobs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/skus/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "SKUs", + "operation": "Get SKUs", + "description": "Get SKUs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Source Controls", + "operation": "Get Source Controls", + "description": "Get Source Controls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Source Controls", + "operation": "Update Source Controls", + "description": "Update Source Controls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/unregister/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider", + "operation": "Unregister Microsoft.Web resource provider", + "description": "Unregister Microsoft.Web resource provider for the subscription." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/validate/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "", + "operation": "Validate ", + "description": "Validate ." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/register/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider", + "operation": "Register Microsoft.Web resource provider", + "description": "Register Microsoft.Web resource provider for the subscription." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups", + "operation": "Delete Web Apps Backups", + "description": "Delete Web Apps Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", + "description": "List Keys Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Update Web Apps Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricsdefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics Definitions", + "operation": "Get Web Apps Metrics Definitions", + "description": "Get Web Apps Metrics Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Migrate MySql Web Apps", + "description": "Migrate MySql Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Migrate MySql", + "operation": "Get Web Apps Migrate MySql", + "description": "Get Web Apps Migrate MySql." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recover/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Recover Web Apps", + "description": "Recover Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Delete Web Apps Site Extensions", + "description": "Delete Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Get Web Apps Site Extensions", + "description": "Get Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions", + "operation": "Update Web Apps Site Extensions", + "description": "Update Web Apps Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup", + "operation": "Get Web Apps Slots Backup", + "description": "Get Web Apps Slots Backup." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Relays", + "operation": "Get Web Apps Slots Hybrid Connection Relays", + "description": "Get Web Apps Slots Hybrid Connection Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Delete Web Apps Slots Site Extensions", + "description": "Delete Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Get Web Apps Slots Site Extensions", + "description": "Get Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions", + "operation": "Update Web Apps Slots Site Extensions", + "description": "Update Web Apps Slots Site Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/snapshots/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Snapshots", + "operation": "Get Web Apps Slots Snapshots", + "description": "Get Web Apps Slots Snapshots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/syncfunctiontriggers/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Sync Function Triggers for Web Apps", + "description": "Sync Function Triggers for Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/history/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs History", + "operation": "Get Web Apps Triggered WebJobs History", + "description": "Get Web Apps Triggered WebJobs History." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connectiongateways/liststatus/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways", + "operation": "List Status Connection Gateways", + "description": "List Status Connection Gateways." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", + "description": "Delete App Service Plans Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployment/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployment", + "operation": "Get Web Apps Diagnostics Deployment", + "description": "Get Web Apps Diagnostics Deployment." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site CPU Analysis", + "operation": "Get Web Apps Diagnostics Site CPU Analysis", + "description": "Get Web Apps Diagnostics Site CPU Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Latency", + "operation": "Get Web Apps Diagnostics Site Latency", + "description": "Get Web Apps Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Memory Analysis", + "operation": "Get Web Apps Diagnostics Site Memory Analysis", + "description": "Get Web Apps Diagnostics Site Memory Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/threadcount/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Thread Count", + "operation": "Get Web Apps Diagnostics Thread Count", + "description": "Get Web Apps Diagnostics Thread Count." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployment/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployment", + "operation": "Get Web Apps Slots Diagnostics Deployment", + "description": "Get Web Apps Slots Diagnostics Deployment." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site CPU Analysis", + "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", + "description": "Get Web Apps Slots Diagnostics Site CPU Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Memory Analysis", + "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", + "description": "Get Web Apps Slots Diagnostics Site Memory Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Thread Count", + "operation": "Get Web Apps Slots Diagnostics Thread Count", + "description": "Get Web Apps Slots Diagnostics Thread Count." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/masterkey/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Masterkey", + "operation": "Get Web Apps Functions Masterkey", + "description": "Get Web Apps Functions Masterkey." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays", + "operation": "Get Web Apps Hybrid Connection Namespaces Relays", + "description": "Get Web Apps Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions", + "operation": "Get Web Apps Instances Extensions", + "description": "Get Web Apps Instances Extensions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operations", + "operation": "Get Web Apps Operations", + "description": "Get Web Apps Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/resourcehealthmetadata/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Resource Health Metadata", + "operation": "Get Web Apps Resource Health Metadata", + "description": "Get Web Apps Resource Health Metadata." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups", + "operation": "Delete Web Apps Slots Backups", + "description": "Delete Web Apps Slots Backups." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Domain Ownership Identifiers", + "operation": "Get Web Apps Slots Domain Ownership Identifiers", + "description": "Get Web Apps Slots Domain Ownership Identifiers." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operations/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operations", + "operation": "Get Web Apps Slots Operations", + "description": "Get Web Apps Slots Operations." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/perfcounters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Performance Counters", + "operation": "Get Web Apps Slots Performance Counters", + "description": "Get Web Apps Slots Performance Counters." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Resource Health Metadata", + "operation": "Get Web Apps Slots Resource Health Metadata", + "description": "Get Web Apps Slots Resource Health Metadata." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apiacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Apiacls", + "operation": "Get Api Management Accounts Apiacls", + "description": "Get Api Management Accounts Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Get Api Management Accounts APIs Connections", + "description": "Get Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Get Api Management Accounts APIs", + "description": "Get Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Connectionacls", + "operation": "Get Api Management Accounts Connectionacls", + "description": "Get Api Management Accounts Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Delete Api Management Accounts APIs Apiacls", + "description": "Delete Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Get Api Management Accounts APIs Apiacls", + "description": "Get Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls", + "operation": "Update Api Management Accounts APIs Apiacls", + "description": "Update Api Management Accounts APIs Apiacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connectionacls", + "operation": "Get Api Management Accounts APIs Connectionacls", + "description": "Get Api Management Accounts APIs Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Confirm Consent Code Api Management Accounts APIs Connections", + "description": "Confirm Consent Code Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Delete Api Management Accounts APIs Connections Connectionacls", + "description": "Delete Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Get Api Management Accounts APIs Connections Connectionacls", + "description": "Get Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls", + "operation": "Update Api Management Accounts APIs Connections Connectionacls", + "description": "Update Api Management Accounts APIs Connections Connectionacls." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Delete Api Management Accounts APIs Connections", + "description": "Delete Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Get Consent Links for Api Management Accounts APIs Connections", + "description": "Get Consent Links for Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "Update Api Management Accounts APIs Connections", + "description": "Update Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Delete Api Management Accounts APIs", + "description": "Delete Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Delete Api Management Accounts APIs Localized Definitions", + "description": "Delete Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Get Api Management Accounts APIs Localized Definitions", + "description": "Get Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions", + "operation": "Update Api Management Accounts APIs Localized Definitions", + "description": "Update Api Management Accounts APIs Localized Definitions." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs", + "operation": "Update Api Management Accounts APIs", + "description": "Update Api Management Accounts APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "List Connection Keys Api Management Accounts APIs Connections", + "description": "List Connection Keys Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections", + "operation": "List Secrets Api Management Accounts APIs Connections", + "description": "List Secrets Api Management Accounts APIs Connections." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployments", + "operation": "Get Web Apps Diagnostics Deployments", + "description": "Get Web Apps Diagnostics Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployments/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployments", + "operation": "Get Web Apps Slots Diagnostics Deployments", + "description": "Get Web Apps Slots Diagnostics Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/loganalyzer/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Log Analyzer", + "operation": "Get Web Apps Diagnostics Log Analyzer", + "description": "Get Web Apps Diagnostics Log Analyzer." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Log Analyzer", + "operation": "Get Web Apps Slots Diagnostics Log Analyzer", + "description": "Get Web Apps Slots Diagnostics Log Analyzer." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecrashes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Crashes", + "operation": "Get Web Apps Diagnostics Site Crashes", + "description": "Get Web Apps Diagnostics Site Crashes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Crashes", + "operation": "Get Web Apps Slots Diagnostics Site Crashes", + "description": "Get Web Apps Slots Diagnostics Site Crashes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart Setting Update", + "operation": "Get Web Apps Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Diagnostics Site Restart Setting Update." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart Setting Update", + "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart User Initiated", + "operation": "Get Web Apps Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Diagnostics Site Restart User Initiated." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart User Initiated", + "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siteswap/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Swap", + "operation": "Get Web Apps Diagnostics Site Swap", + "description": "Get Web Apps Diagnostics Site Swap." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Swap", + "operation": "Get Web Apps Slots Diagnostics Site Swap", + "description": "Get Web Apps Slots Diagnostics Site Swap." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/token/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Token", + "operation": "Get Web Apps Functions Token", + "description": "Get Web Apps Functions Token." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments", + "operation": "Delete Web Apps Instances Deployments", + "description": "Delete Web Apps Instances Deployments." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/processes/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Processes", + "operation": "Get Web Apps Processes", + "description": "Get Web Apps Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Delete Web Apps Public Certificates", + "description": "Delete Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Get Web Apps Public Certificates", + "description": "Get Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates", + "operation": "Update Web Apps Public Certificates", + "description": "Update Web Apps Public Certificates." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/networktrace/action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Network Trace Web Apps Slots", + "description": "Network Trace Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/autoheal/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Autoheal", + "operation": "Get Web Apps Diagnostics Autoheal", + "description": "Get Web Apps Diagnostics Autoheal." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Autoheal", + "operation": "Get Web Apps Slots Diagnostics Autoheal", + "description": "Get Web Apps Slots Diagnostics Autoheal." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics", + "operation": "Get Web Apps Slots Diagnostics", + "description": "Get Web Apps Slots Diagnostics." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Runtime Availability", + "operation": "Get Web Apps Slots Diagnostics Runtime Availability", + "description": "Get Web Apps Slots Diagnostics Runtime Availability." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Service Health", + "operation": "Get Web Apps Slots Diagnostics Service Health", + "description": "Get Web Apps Slots Diagnostics Service Health." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/migratemysql/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Migrate MySql", + "operation": "Get Web Apps Slots Migrate MySql", + "description": "Get Web Apps Slots Migrate MySql." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "microsoft.web/billingmeters/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Billing meters for Microsoft Web Apps", + "operation": "Read billing meters", + "description": "Get list of billing meters." + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/delete", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes", + "operation": "Delete Web Apps Slots Instances Processes", + "description": "Delete Web Apps Slots Instances Processes." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps", + "operation": "Restore Web Apps", + "description": "Restore Web Apps." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/log/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions Log", + "operation": "Get Web Apps Instances Extensions Log", + "description": "Get Web Apps Instances Extensions Log." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom APIs", + "operation": "Update Custom APIs", + "description": "Update Custom APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Custom APIs", + "operation": "Get Custom APIs", + "description": "Get Custom APIs." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Failed Requests Per Uri", + "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", + "description": "Get Web Apps Diagnostics Failed Requests Per Uri." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/write", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots", + "operation": "Restore Web Apps Slots", + "description": "Restore Web Apps Slots." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector", + "operation": "Get Web Apps Diagnostics Detector", + "description": "Get Web Apps Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis", + "operation": "Get Web Apps Diagnostics Analysis", + "description": "Get Web Apps Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis", + "operation": "Get Web Apps Slots Diagnostics Analysis", + "description": "Get Web Apps Slots Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/read", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector", + "operation": "Get Web Apps Slots Diagnostics Detector", + "description": "Get Web Apps Slots Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis", + "operation": "Run Web Apps Diagnostics Analysis", + "description": "Run Web Apps Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector", + "operation": "Run Web Apps Diagnostics Detector", + "description": "Run Web Apps Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis", + "operation": "Run Web Apps Slots Diagnostics Analysis", + "description": "Run Web Apps Slots Diagnostics Analysis." + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", + "display": { + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector", + "operation": "Run Web Apps Slots Diagnostics Detector", + "description": "Run Web Apps Slots Diagnostics Detector." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Plan", + "operation": "Read App Service Plan metric definitions", + "description": "Gets the available metrics for App Service Plan" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuPercentage", + "displayName": "CPU Percentage", + "displayDescription": "CPU Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true } - ] + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryPercentage", + "displayName": "Memory Percentage", + "displayDescription": "Memory Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "DiskQueueLength", + "displayName": "Disk Queue Length", + "displayDescription": "Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "HttpQueueLength", + "displayName": "Http Queue Length", + "displayDescription": "Http Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App", + "operation": "Read Web App metric definitions", + "description": "Gets the available metrics for Web App" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "displayName": "CPU Time", + "displayDescription": "CPU Time", + "unit": "Seconds", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryWorkingSet", + "displayName": "Memory working set", + "displayDescription": "Memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageMemoryWorkingSet", + "displayName": "Average memory working set", + "displayDescription": "Average memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionUnits", + "displayName": "Function Execution Units", + "displayDescription": "Function Execution Units", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionCount", + "displayName": "Function Execution Count", + "displayDescription": "Function Execution Count", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App Slot", + "operation": "Read Web App Slot metric definitions", + "description": "Gets the available metrics for Web App Slot" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "displayName": "CPU Time", + "displayDescription": "CPU Time", + "unit": "Seconds", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryWorkingSet", + "displayName": "Memory working set", + "displayDescription": "Memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageMemoryWorkingSet", + "displayName": "Average memory working set", + "displayDescription": "Average memory working set", + "unit": "Bytes", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^(?!functionapp).*$", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionUnits", + "displayName": "Function Execution Units", + "displayDescription": "Function Execution Units", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "FunctionExecutionCount", + "displayName": "Function Execution Count", + "displayDescription": "Function Execution Count", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "metricFilterPattern": "(?i:functionapp)", + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment MultiRole", + "operation": "Read App Service Environment MultiRole metric definitions", + "description": "Gets the available metrics for App Service Environment MultiRole" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Requests", + "displayName": "Requests", + "displayDescription": "Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesReceived", + "displayName": "Data In", + "displayDescription": "Data In", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "BytesSent", + "displayName": "Data Out", + "displayDescription": "Data Out", + "unit": "Bytes", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http101", + "displayName": "Http 101", + "displayDescription": "Http 101", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http2xx", + "displayName": "Http 2xx", + "displayDescription": "Http 2xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http3xx", + "displayName": "Http 3xx", + "displayDescription": "Http 3xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http401", + "displayName": "Http 401", + "displayDescription": "Http 401", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http403", + "displayName": "Http 403", + "displayDescription": "Http 403", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http404", + "displayName": "Http 404", + "displayDescription": "Http 404", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http406", + "displayName": "Http 406", + "displayDescription": "Http 406", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http4xx", + "displayName": "Http 4xx", + "displayDescription": "Http 4xx", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "Http5xx", + "displayName": "Http Server Errors", + "displayDescription": "Http Server Errors", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "AverageResponseTime", + "displayName": "Average Response Time", + "displayDescription": "Average Response Time", + "unit": "Seconds", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "CpuPercentage", + "displayName": "CPU Percentage", + "displayDescription": "CPU Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MemoryPercentage", + "displayName": "Memory Percentage", + "displayDescription": "Memory Percentage", + "unit": "Percent", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "DiskQueueLength", + "displayName": "Disk Queue Length", + "displayDescription": "Disk Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "HttpQueueLength", + "displayName": "Http Queue Length", + "displayDescription": "Http Queue Length", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "ActiveRequests", + "displayName": "Active Requests", + "displayDescription": "Active Requests", + "unit": "Count", + "aggregationType": "Total", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "TotalFrontEnds", + "displayName": "Total Front Ends", + "displayDescription": "Total Front Ends", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "SmallAppServicePlanInstances", + "displayName": "Small App Service Plan Workers", + "displayDescription": "Small App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "MediumAppServicePlanInstances", + "displayName": "Medium App Service Plan Workers", + "displayDescription": "Medium App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "LargeAppServicePlanInstances", + "displayName": "Large App Service Plan Workers", + "displayDescription": "Large App Service Plan Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment WorkerPool", + "operation": "Read App Service Environment WorkerPool metric definitions", + "description": "Gets the available metrics for App Service Environment WorkerPool" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "WorkersTotal", + "displayName": "Total Workers", + "displayDescription": "Total Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "WorkersAvailable", + "displayName": "Available Workers", + "displayDescription": "Available Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + }, + { + "name": "WorkersUsed", + "displayName": "Used Workers", + "displayDescription": "Used Workers", + "unit": "Count", + "aggregationType": "Average", + "supportsInstanceLevelAggregation": false, + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P2D" + }, + { + "timeGrain": "PT1H", + "blobDuration": "P30D" + }, + { + "timeGrain": "P1D", + "blobDuration": "P90D" + } + ] + } + ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataByResourceGroup.json index 8e86757c78d8..f1f7a8c7e5e1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataByResourceGroup.json @@ -1,25 +1,25 @@ { - "parameters":{ - "api-version":"2018-02-01", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2018-02-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySite.json index d7f4425f99a5..f846499d079a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySite.json @@ -1,27 +1,27 @@ { - "parameters":{ - "api-version":"2018-02-01", - "name":"newsiteinnewASE-NCUS", - "slot":"Production", - "resourceGroupName":"Default-Web-NorthCentralUS", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2018-02-01", + "name": "newsiteinnewASE-NCUS", + "slot": "Production", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySubscription.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySubscription.json index 5178f47ed1f1..3618bb55ecee 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/ListResourceHealthMetadataBySubscription.json @@ -1,24 +1,24 @@ { - "parameters":{ - "api-version":"2018-02-01", - "subscriptionId":"4adb32ad-8327-4cbb-b775-b84b4465bb38" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "properties":{ - "category":"Shared", - "signalAvailability":true - }, - "id":"/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name":"default", - "type":"Microsoft.Web/sites/resourceHealthMetadata" - } - ], - "nextLink":"" - } + "parameters": { + "api-version": "2018-02-01", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Shared", + "signalAvailability": true + }, + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata" + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchAppServicePlan.json index f5194919f0f5..660b50ce2151 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchAppServicePlan.json @@ -1,89 +1,89 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testsf6141", + "api-version": "2016-09-01", + "appServicePlan": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "properties": { + "name": "testsf6141" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", - "api-version": "2016-09-01", - "appServicePlan": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "properties": { - "name" : "testsf6141" - } + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + }, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "kind": "app", + "location": "East US", + "properties": { + "name": "testsf6141", + "workerSize": "Default", + "numberOfWorkers": 1, + "currentWorkerSize": "Default", + "currentNumberOfWorkers": 1, + "status": "Ready", + "maximumNumberOfWorkers": 20, + "geoRegion": "East US", + "numberOfSites": 4, + "isSpot": false, + "reserved": false, + "mdmId": "waws-prod-blu-033_4740", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0, + "provisioningState": "Succeeded" }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", - "name": "testsf6141", - "type": "Microsoft.Web/serverfarms", - "kind": "app", - "location": "East US", - "properties": { - "name": "testsf6141", - "workerSize": "Default", - "numberOfWorkers": 1, - "currentWorkerSize": "Default", - "currentNumberOfWorkers": 1, - "status": "Ready", - "maximumNumberOfWorkers": 20, - "geoRegion": "East US", - "numberOfSites": 4, - "isSpot": false, - "reserved": false, - "mdmId": "waws-prod-blu-033_4740", - "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" - }, - "sku": { - "name": "P1", - "tier": "Premium", - "size": "P1", - "family": "P", - "capacity": 1 - } - } + "sku": { + "name": "P1", + "tier": "Premium", + "size": "P1", + "family": "P", + "capacity": 1 } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchCertificate.json index e416ef6824b1..7651f0e55d39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/PatchCertificate.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "properties": { + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "properties": { - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StartWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StartWebSiteNetworkTraceOperation.json index 24465b2d26ee..f3c4bdf32918 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StartWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StartWebSiteNetworkTraceOperation.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "durationInSeconds": 60, - "api-version": "2018-02-01" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "durationInSeconds": 60, + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + } + ] }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + }, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StopWebSiteNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StopWebSiteNetworkTrace.json index d01dd784dae1..794e4d2d8a07 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StopWebSiteNetworkTrace.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/StopWebSiteNetworkTrace.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "api-version": "2018-02-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "api-version": "2018-02-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/VerifyHostingEnvironmentVnet.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/VerifyHostingEnvironmentVnet.json index 0d2e5951c60d..444a4a3e95bb 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/VerifyHostingEnvironmentVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/VerifyHostingEnvironmentVnet.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2018-02-01", - "parameters": { - "properties": { - "vnetResourceGroup": "vNet123rg", - "vnetName": "vNet123", - "vnetSubnetName": "vNet123SubNet" - } + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-02-01", + "parameters": { + "properties": { + "vnetResourceGroup": "vNet123rg", + "vnetName": "vNet123", + "vnetSubnetName": "vNet123SubNet" } - }, + } + }, "responses": { "200": { "body": { @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/Certificates.json index bbabb17bffce..f65a92201a8d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/Certificates.json @@ -633,4 +633,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/CreateOrUpdateCertificate.json index ed39b60acdb8..1b0774007c31 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/CreateOrUpdateCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/CreateOrUpdateCertificate.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/DeleteCertificate.json index 169358dcf88d..4a9880fec94e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/DeleteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/DeleteCertificate.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "testc6282", - "api-version": "2018-02-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetCertificate.json index b4b7e23152ea..ff9c72ff4e39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetCertificate.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraceOperation.json index 8c57b1ef4153..1b4604871ca2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraceOperation.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2018-11-01" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2018-11-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + } + ] }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + }, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraces.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraces.json index 6d8f23845310..76c118863ba0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/GetWebSiteNetworkTraces.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2018-11-01" - }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2018-11-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificates.json index 42971748ee2d..b2d10a34cbf8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificates.json @@ -1,51 +1,51 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificatesByResourceGroup.json index 3c890a111948..e7eae6f3f626 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/ListCertificatesByResourceGroup.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "api-version": "2018-02-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", - "name": "testc4912", - "type": "Microsoft.Web/certificates", - "location": "West US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert2", - "hostNames": [ - "ServerCert2" - ], - "issuer": "CACert", - "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - ] + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "api-version": "2018-02-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "location": "West US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert2", + "hostNames": [ + "ServerCert2" + ], + "issuer": "CACert", + "issueDate": "2015-12-12T23:40:25+00:00", + "expirationDate": "2040-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/PatchCertificate.json index e416ef6824b1..7651f0e55d39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/PatchCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/PatchCertificate.json @@ -1,39 +1,39 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "testc6282", + "api-version": "2018-02-01", + "certificateEnvelope": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "properties": { + "password": "SWsSsd__233$Sdsds#%Sd!" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", - "api-version": "2018-02-01", - "certificateEnvelope": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "properties": { - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", - "name": "testc6282", - "type": "Microsoft.Web/certificates", - "location": "East US", - "properties": { - "friendlyName": "", - "subjectName": "ServerCert", - "hostNames": [ - "ServerCert" - ], - "issuer": "CACert", - "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "password": "SWsSsd__233$Sdsds#%Sd!" - } - } + "type": "Microsoft.Web/certificates", + "location": "East US", + "properties": { + "friendlyName": "", + "subjectName": "ServerCert", + "hostNames": [ + "ServerCert" + ], + "issuer": "CACert", + "issueDate": "2015-11-12T23:40:25+00:00", + "expirationDate": "2039-12-31T23:59:59+00:00", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", + "password": "SWsSsd__233$Sdsds#%Sd!" } + } } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StartWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StartWebSiteNetworkTraceOperation.json index 41e531434cb1..352203344062 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StartWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StartWebSiteNetworkTraceOperation.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "durationInSeconds": 60, - "api-version": "2018-11-01" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "durationInSeconds": 60, + "api-version": "2018-11-01" + }, + "responses": { + "200": { + "headers": {}, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + } + ] }, - "responses": { - "200": { - "headers": {}, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, - "body": [ - { - "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" - } - ] + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + }, + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" } + ] } -} \ No newline at end of file + } +} diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StopWebSiteNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StopWebSiteNetworkTrace.json index ad70cfc59011..dd62974f4450 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StopWebSiteNetworkTrace.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/examples/StopWebSiteNetworkTrace.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "name": "SampleApp", - "slot": "Production", - "api-version": "2018-11-01" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "SampleApp", + "slot": "Production", + "api-version": "2018-11-01" + }, + "responses": { + "200": {}, + "204": {} + } +} From f458880ef162d5953875a6ba64ec1857216cf5a5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:08:05 -0400 Subject: [PATCH 092/495] chore: jsonfmt windowsiot (#6273) Ran `jsonfmt -w "specification/windowsiot/**/*.json"` --- .../preview/2018-02-16-preview/WindowsIotServices.json | 2 +- .../preview/2018-02-16-preview/examples/OperationsList.json | 2 +- .../examples/Service_CheckNameAvailability.json | 2 +- .../preview/2018-02-16-preview/examples/Service_Create.json | 2 +- .../preview/2018-02-16-preview/examples/Service_Delete.json | 2 +- .../2018-02-16-preview/examples/Service_GetProperties.json | 4 ++-- .../preview/2018-02-16-preview/examples/Service_List.json | 2 +- .../examples/Service_ListByResourceGroup.json | 2 +- .../preview/2018-02-16-preview/examples/Service_Update.json | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json index 1f2ed9feabea..ddcee0b9e0b0 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json @@ -677,4 +677,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/OperationsList.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/OperationsList.json index bd7fbb7da7a7..bcbcefb01fda 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/OperationsList.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/OperationsList.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_CheckNameAvailability.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_CheckNameAvailability.json index 5e262a63b387..e82fd835bdc5 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_CheckNameAvailability.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_CheckNameAvailability.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Create.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Create.json index c91d9ff160eb..26d342519635 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Create.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Create.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Delete.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Delete.json index 854d399ca3a0..58615f33f2b4 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Delete.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Delete.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_GetProperties.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_GetProperties.json index 432bbd85ed8e..eed9c682f8de 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_GetProperties.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_GetProperties.json @@ -10,7 +10,7 @@ "body": { "id": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/res9407/providers/Microsoft.WindowsIoT/Services/service8596", "name": "service8596", - "location": "westus", + "location": "westus", "properties": { "billingDomainName": "a.b.c", "adminDomainName": "d.e.f", @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_List.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_List.json index 877b619f071e..af9c462af19b 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_List.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_List.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_ListByResourceGroup.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_ListByResourceGroup.json index 0e4ce008ab1e..756d3abb6901 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_ListByResourceGroup.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_ListByResourceGroup.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Update.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Update.json index b93d6efcd79f..62d74f11b286 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Update.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_Update.json @@ -20,9 +20,9 @@ "startDate": "2018-01-01T12:00:00000Z", "quantity": 1000000 }, - "location": "westus", + "location": "westus", "type": "Microsoft.WindowsIoT/Services" } } } -} \ No newline at end of file +} From b116b8a589e9771b05736c07c8caaa17c1eabfa6 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:08:40 -0400 Subject: [PATCH 093/495] chore: jsonfmt azsadmin (#6306) Ran `jsonfmt -w "specification/azsadmin/**/*.json"` --- .../preview/2016-05-01/ScaleUnit.json | 6 +- .../examples/ScaleUnit/CreateFromJson.json | 72 +++++++++++-------- 2 files changed, 44 insertions(+), 34 deletions(-) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json index 05ffb72c81d6..33d362fa0e25 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json @@ -340,14 +340,14 @@ "description": "The subnet IP mask in the example format 10.0.0.0/25.", "type": "array", "items": { - "type": "string" + "type": "string" } }, "vlanId": { "description": "The Vlan ID of the subnet.", "type": "array", "items": { - "type": "string" + "type": "string" } } } @@ -394,7 +394,7 @@ "description": "The list of IP addresses used for TOR communication.", "type": "array", "items": { - "type": "string" + "type": "string" } }, "infrastructureNetwork": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json index 28c29905b580..2be04a76e8f2 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json @@ -1,34 +1,44 @@ { - "parameters": { - "api-version": "2016-05-01", - "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", - "resourceGroupName": "System.local", - "location": "local", - "scaleUnit": "cluster", - "creationData": { - "clusterName": "cluster", - "physicalNodes": [{ - "name": "machine", - "bmcIPAddress": "192.0.0.1" - }], - "torSwitchBgpAsn": "64703", - "softwareBgpAsn": "64703", - "torSwitchBgpPeerIp": [ - "10.0.0.1" - ], - "InfrastructureNetwork": { - "Subnet": ["10.0.0.1/24"], - "VlanId": ["0"] - }, - "StorageNetwork": { - "Subnet": ["10.0.0.1/24"], - "VlanId": ["0"] - }, - "NetQosPriority": 1 + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "System.local", + "location": "local", + "scaleUnit": "cluster", + "creationData": { + "clusterName": "cluster", + "physicalNodes": [ + { + "name": "machine", + "bmcIPAddress": "192.0.0.1" } - }, - "responses": { - "200": {}, - "202": {} + ], + "torSwitchBgpAsn": "64703", + "softwareBgpAsn": "64703", + "torSwitchBgpPeerIp": [ + "10.0.0.1" + ], + "InfrastructureNetwork": { + "Subnet": [ + "10.0.0.1/24" + ], + "VlanId": [ + "0" + ] + }, + "StorageNetwork": { + "Subnet": [ + "10.0.0.1/24" + ], + "VlanId": [ + "0" + ] + }, + "NetQosPriority": 1 } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} From 09dafcc049b3bce0aca6fc72fb6fc62831584d1a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:09:23 -0400 Subject: [PATCH 094/495] chore: jsonfmt containerregistry (#6317) Ran `jsonfmt -w "specification/containerregistry/**/*.json"` --- .../containerregistry_scopemap.json | 2 +- .../examples/RegistryGenerateCredentials.json | 60 ++++---- .../examples/ScopeMapCreate.json | 94 ++++++------ .../examples/ScopeMapDelete.json | 26 ++-- .../examples/ScopeMapGet.json | 48 +++---- .../examples/ScopeMapList.json | 54 +++---- .../examples/ScopeMapUpdate.json | 94 ++++++------ .../examples/TokenCreate.json | 126 ++++++++-------- .../examples/TokenDelete.json | 26 ++-- .../2019-05-01-preview/examples/TokenGet.json | 42 +++--- .../examples/TokenList.json | 48 +++---- .../examples/TokenUpdate.json | 120 ++++++++-------- .../2019-04-01/containerregistry_build.json | 4 +- .../examples/ImportImageByManifestDigest.json | 44 +++--- .../2019-05-01/examples/ImportImageByTag.json | 44 +++--- .../ImportImageFromPublicRegistry.json | 44 +++--- .../examples/RegistryCheckNameAvailable.json | 30 ++-- .../RegistryCheckNameNotAvailable.json | 34 ++--- .../2019-05-01/examples/RegistryCreate.json | 136 +++++++++--------- .../2019-05-01/examples/RegistryDelete.json | 24 ++-- .../2019-05-01/examples/RegistryGet.json | 66 ++++----- .../2019-05-01/examples/RegistryList.json | 70 ++++----- .../examples/RegistryListByResourceGroup.json | 72 +++++----- .../examples/RegistryListCredentials.json | 46 +++--- .../examples/RegistryListUsages.json | 52 +++---- .../RegistryRegenerateCredential.json | 52 +++---- .../2019-05-01/examples/RegistryUpdate.json | 134 ++++++++--------- .../examples/ReplicationCreate.json | 98 ++++++------- .../examples/ReplicationDelete.json | 26 ++-- .../2019-05-01/examples/ReplicationGet.json | 54 +++---- .../2019-05-01/examples/ReplicationList.json | 60 ++++---- .../examples/ReplicationUpdate.json | 96 ++++++------- .../2019-05-01/examples/WebhookCreate.json | 120 ++++++++-------- .../2019-05-01/examples/WebhookDelete.json | 26 ++-- .../2019-05-01/examples/WebhookGet.json | 54 +++---- .../examples/WebhookGetCallbackConfig.json | 32 ++--- .../2019-05-01/examples/WebhookList.json | 60 ++++---- .../examples/WebhookListEvents.json | 120 ++++++++-------- .../2019-05-01/examples/WebhookPing.json | 28 ++-- .../2019-05-01/examples/WebhookUpdate.json | 118 +++++++-------- 40 files changed, 1242 insertions(+), 1242 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json index e9e84199b40f..d6b9e854eb3e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json @@ -972,4 +972,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json index 0065a3d5f394..1a7c8cb8e0cb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json @@ -1,32 +1,32 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "generateCredentialsParameters": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "expiry": "2020-12-31T15:59:59.0707808Z" - } - }, - "responses": { - "200": { - "body": { - "username": "myToken", - "passwords": [ - { - "expiry": "2020-12-31T15:59:59.0707808Z", - "name": "password1", - "value": "00000000000000000000000000000000" - }, - { - "expiry": "2020-12-31T15:59:59.0707808Z", - "name": "password2", - "value": "00000000000000000000000000000000" - } - ] - } - }, - "202": {} + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "generateCredentialsParameters": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "expiry": "2020-12-31T15:59:59.0707808Z" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "username": "myToken", + "passwords": [ + { + "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password1", + "value": "00000000000000000000000000000000" + }, + { + "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json index 943f0c70cc6f..af105d443b7a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json @@ -1,52 +1,52 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "scopeMapName": "myScopeMap", - "scopeMapCreateParameters": { - "properties": { - "description": "Developer Scopes", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ] - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", + "scopeMapCreateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "provisioningState": "Succeeded" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json index 37c19232e25d..4383cfa7308e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "scopeMapName": "myScopeMap" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json index 87e29454892c..a4c9936c1443 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "scopeMapName": "myScopeMap" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "provisioningState": "Succeeded" - } - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json index ad075f5d99c9..33368ccd6f24 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "provisioningState": "Succeeded" - } - } - ] + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json index 1d7251182953..970a48998836 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json @@ -1,52 +1,52 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "scopeMapName": "myScopeMap", - "scopeMapUpdateParameters": { - "properties": { - "description": "Developer Scopes", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ] - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", + "scopeMapUpdateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "provisioningState": "Succeeded" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ], - "provisioningState": "Succeeded" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json index 0167853f3d3e..ab71b8bbe14a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json @@ -1,69 +1,69 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "tokenName": "myToken", - "tokenCreateParameters": { - "properties": { - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", + "tokenCreateParameters": { + "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } + ] } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" + } + ] + } + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "disabled", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "thumbprint":"feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", - "expiry":"2020-12-04T15:32:48.0707808Z" - } - ] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "disabled", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "thumbprint":"feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", - "expiry":"2020-12-04T15:32:48.0707808Z" - } - ] - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" + } + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json index 16a75c5c98a3..73187182a3c9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "tokenName": "myToken" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json index cdc64b423794..46ee35e9719c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json @@ -1,24 +1,24 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "tokenName": "myToken" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "enabled" - } - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "enabled" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json index 4ac04229390d..5427d8764cea 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json @@ -1,27 +1,27 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "enabled" - } - } - ] + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "enabled" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json index 915edaa9fe19..613f35f8a7fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json @@ -1,66 +1,66 @@ { - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "tokenName": "myToken", - "tokenUpdateParameters": { - "properties": { - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - } + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", + "tokenUpdateParameters": { + "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } + ] } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "provisioningState": "Succeeded", - "status": "enabled", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "provisioningState": "Succeeded", - "status": "enabled", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json index e5058fb8c3f3..117f409b1b66 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json @@ -228,7 +228,7 @@ }, "Runs_Get_WithTimerTrigger": { "$ref": "./examples/RunsGet_WithTimerTrigger.json" - } + } } }, "patch": { @@ -2559,4 +2559,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json index ec649f51a16a..8fb58f959c71 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json @@ -1,25 +1,25 @@ { + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "parameters": { - "source": { - "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", - "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ], - "mode": "Force" - } - }, - "responses": { - "200": {}, - "202": {} + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json index 0dd0bfa0bd2d..670ea3ad7868 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json @@ -1,25 +1,25 @@ { + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "parameters": { - "source": { - "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", - "sourceImage": "sourceRepository:sourceTag" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ], - "mode": "Force" - } - }, - "responses": { - "200": {}, - "202": {} + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository:sourceTag" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json index 28af584fe5c6..cf238912668d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json @@ -1,25 +1,25 @@ { + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "parameters": { - "source": { - "registryUri": "registry.hub.docker.com", - "sourceImage":"library/hello-world" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ], - "mode": "Force" - } - }, - "responses": { - "200": {}, - "202": {} + "source": { + "registryUri": "registry.hub.docker.com", + "sourceImage": "library/hello-world" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" } -} \ No newline at end of file + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json index ad298cef632c..d7190c1848e8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json @@ -1,17 +1,17 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "registryNameCheckRequest": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json index 0e37ea5b913c..862323839355 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json @@ -1,19 +1,19 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "registryNameCheckRequest": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "The registry myRegistry is already in use." - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "The registry myRegistry is already in use." + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json index 9603d0895614..fbc63f844933 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json @@ -1,74 +1,74 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "registry": { - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard" - }, - "properties": { - "adminUserEnabled": true - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registry": { + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "adminUserEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The registry is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The registry is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Creating", - "status": { - "displayStatus": "Provisioning", - "message": "The registry is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Creating", + "status": { + "displayStatus": "Provisioning", + "message": "The registry is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json index e5ac6a1503dc..323c7928bad7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json index bf200514f342..d68238abd360 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json @@ -1,36 +1,36 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The registry is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The registry is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json index 8bf9da0812b0..cfdd1c1ebf56 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json @@ -1,38 +1,38 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The registry is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } - ] + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The registry is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json index 7cf5bd248328..10207c29d4c5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json @@ -1,39 +1,39 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The registry is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } - ] + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The registry is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json index 4cdd541af9e8..544697dfe180 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json @@ -1,25 +1,25 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "username": "myRegistry", - "passwords": [ - { - "name": "password", - "value": "00000000000000000000000000000000" - }, - { - "name": "password2", - "value": "00000000000000000000000000000000" - } - ] - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "username": "myRegistry", + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json index c0af4318b531..14afdc63e930 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json @@ -1,28 +1,28 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Size", - "limit": 107374182400, - "currentValue": 12345678, - "unit": "Bytes" - }, - { - "name": "Webhooks", - "limit": 10, - "currentValue": 2, - "unit": "Count" - } - ] - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Size", + "limit": 107374182400, + "currentValue": 12345678, + "unit": "Bytes" + }, + { + "name": "Webhooks", + "limit": 10, + "currentValue": 2, + "unit": "Count" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json index 424711d9d97e..9eadc9e2938d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json @@ -1,28 +1,28 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "regenerateCredentialParameters": { - "name": "password" - } - }, - "responses": { - "200": { - "body": { - "username": "myRegistry", - "passwords": [ - { - "name": "password", - "value": "00000000000000000000000000000000" - }, - { - "name": "password2", - "value": "00000000000000000000000000000000" - } - ] - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "regenerateCredentialParameters": { + "name": "password" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "username": "myRegistry", + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json index a602000be9c6..72641187057f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json @@ -1,73 +1,73 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "registryUpdateParameters": { - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard" - }, - "properties": { - "adminUserEnabled": true - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registryUpdateParameters": { + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "adminUserEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The registry is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The registry is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "properties": { - "loginServer": "myregistry.azurecr.io", - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Updating", - "status": { - "displayStatus": "Provisioning", - "message": "The registry is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "adminUserEnabled": true - } - } + "properties": { + "loginServer": "myregistry.azurecr.io", + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Updating", + "status": { + "displayStatus": "Provisioning", + "message": "The registry is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "adminUserEnabled": true } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json index 8b691b02dbf8..97a64ae171ca 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json @@ -1,55 +1,55 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "replicationName": "myReplication", - "replication": { - "location": "eastus", - "tags": { - "key": "value" - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replication": { + "location": "eastus", + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Creating", - "status": { - "displayStatus": "Provisioning", - "message": "The replication is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } + "properties": { + "provisioningState": "Creating", + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json index 290be3489404..3f854c0cf3f3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "replicationName": "myReplication" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json index 86ff0864fc73..abcd2a356b3f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "replicationName": "myReplication" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json index 10a6b9050d97..11fb205b06fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json @@ -1,33 +1,33 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } - ] + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json index 2d8b5d797fb7..5fc8147ce36f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json @@ -1,54 +1,54 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "replicationName": "myReplication", - "replicationUpdateParameters": { - "tags": { - "key": "value" - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replicationUpdateParameters": { + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "location": "eastus", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Updating", - "status": { - "displayStatus": "Provisioning", - "message": "The replication is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - } - } - } + "properties": { + "provisioningState": "Updating", + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json index 26db9e36f611..7594d809ac47 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json @@ -1,66 +1,66 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook", - "webhookCreateParameters": { - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "serviceUri": "http://myservice.com", - "customHeaders": { - "Authorization": "Basic 000000000000000000000000000000000000000000000000000" - }, - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ] - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", + "webhookCreateParameters": { + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "Basic 000000000000000000000000000000000000000000000000000" + }, + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Succeeded" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Creating" - } - } + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Creating" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json index a38e8a439f52..d9b0af73c561 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json index 85d93fae47d5..b7c3e74ed61c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json @@ -1,30 +1,30 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Succeeded" - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json index 15a80e75ced1..6b2e413ebfe5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json @@ -1,19 +1,19 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "serviceUri": "http://myservice.com", - "customHeaders": { - "Authorization": "Basic 000000000000000000000000000000000000000000000000000" - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "Basic 000000000000000000000000000000000000000000000000000" } + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json index 3ae308d41b93..57b8c6237c1c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json @@ -1,33 +1,33 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Succeeded" - } - } - ] + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json index 5d0cf2d5a9b3..3647332ac821 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json @@ -1,63 +1,63 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "00000000-0000-0000-0000-000000000000", - "eventRequestMessage": { - "content": { - "id": "00000000-0000-0000-0000-000000000000", - "timestamp": "2017-03-01T23:14:37.0707808Z", - "action": "push", - "target": { - "mediaType": "application/vnd.docker.distribution.manifest.v2+json", - "size": 708, - "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", - "length": 708, - "repository": "hello-world", - "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", - "tag": "latest" - }, - "request": { - "id": "00000000-0000-0000-0000-000000000000", - "addr": "192.168.64.11:42961", - "host": "192.168.100.227:5000", - "method": "GET", - "useragent": "curl/7.38.0" - }, - "actor": {}, - "source": { - "addr": "xtal.local:5000", - "instanceID": "00000000-0000-0000-0000-000000000000" - } - }, - "headers": { - "Content-Type": "application/json", - "Content-Length": "719", - "Authorization": "******" - }, - "method": "POST", - "requestUri": "http://myservice.com", - "version": "1.1" - }, - "eventResponseMessage": { - "headers": { - "Content-Length": "0" - }, - "statusCode": "200", - "version": "1.1" - } - } - ] + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "eventRequestMessage": { + "content": { + "id": "00000000-0000-0000-0000-000000000000", + "timestamp": "2017-03-01T23:14:37.0707808Z", + "action": "push", + "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "size": 708, + "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "length": 708, + "repository": "hello-world", + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "tag": "latest" + }, + "request": { + "id": "00000000-0000-0000-0000-000000000000", + "addr": "192.168.64.11:42961", + "host": "192.168.100.227:5000", + "method": "GET", + "useragent": "curl/7.38.0" + }, + "actor": {}, + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" + } + }, + "headers": { + "Content-Type": "application/json", + "Content-Length": "719", + "Authorization": "******" + }, + "method": "POST", + "requestUri": "http://myservice.com", + "version": "1.1" + }, + "eventResponseMessage": { + "headers": { + "Content-Length": "0" + }, + "statusCode": "200", + "version": "1.1" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json index 61db2c63803d..a3ce1406b29a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json @@ -1,16 +1,16 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "id": "00000000-0000-0000-0000-000000000000" - } - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000" + } } -} \ No newline at end of file + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json index 06c7f3cc7a3e..89a4118a2134 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json @@ -1,65 +1,65 @@ { - "parameters": { - "api-version": "2019-05-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "webhookName": "myWebhook", - "webhookUpdateParameters": { - "tags": { - "key": "value" - }, - "properties": { - "serviceUri": "http://myservice.com", - "customHeaders": { - "Authorization": "Basic 000000000000000000000000000000000000000000000000000" - }, - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ] - } + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", + "webhookUpdateParameters": { + "tags": { + "key": "value" + }, + "properties": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "Basic 000000000000000000000000000000000000000000000000000" + }, + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Succeeded" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "status": "enabled", - "scope": "myRepository", - "actions": [ - "push" - ], - "provisioningState": "Updating" - } - } + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Updating" } + } } -} \ No newline at end of file + } +} From 6ccd23197f12c0481261b1137e04c75f588dede0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:09:51 -0400 Subject: [PATCH 095/495] chore: jsonfmt cognitiveservices (#6318) Ran `jsonfmt -w "specification/cognitiveservices/**/*.json"` --- .../preview/v1.0/FormRecognizer.json | 30 +++++++++---------- .../preview/v1.0/FormRecognizerReceipt.json | 2 +- .../v1.0/FormRecognizerReceiptOcr.json | 11 ++++--- .../SuccessfulBatchReadReceiptWithStream.json | 2 +- .../SuccessfulBatchReadReceiptWithUrl.json | 2 +- .../examples/SuccessfulReadReceiptResult.json | 2 +- .../QnAMaker/stable/v4.0/QnAMaker.json | 2 +- .../QnAMaker/stable/v4.0/QnAMakerRuntime.json | 6 ++-- .../v4.0/examples/SuccessfulGenAns.json | 2 +- .../examples/SuccessfulGetEpSettings.json | 2 +- .../examples/SuccessfulSetEpSettings.json | 2 +- .../stable/v4.0/examples/SuccessfulTrain.json | 2 +- .../stable/2017-04-18/cognitiveservices.json | 2 +- 13 files changed, 33 insertions(+), 34 deletions(-) diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json index ae94b69a285d..0ab2832894b9 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json @@ -300,25 +300,25 @@ "minLength": 0, "type": "string" }, - "sourceFilter":{ - "$ref":"#/definitions/TrainSourceFilter", - "description":"Get or set filter to further search the\r\nsource path for content." + "sourceFilter": { + "$ref": "#/definitions/TrainSourceFilter", + "description": "Get or set filter to further search the\r\nsource path for content." } } }, - "TrainSourceFilter":{ - "description":"Filters to be applied when traversing a data source.", - "type":"object", - "properties":{ - "prefix":{ - "description":"A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.", - "maxLength":128, - "minLength":0, - "type":"string" + "TrainSourceFilter": { + "description": "Filters to be applied when traversing a data source.", + "type": "object", + "properties": { + "prefix": { + "description": "A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.", + "maxLength": 128, + "minLength": 0, + "type": "string" }, - "includeSubFolders":{ - "description":"A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.", - "type":"boolean" + "includeSubFolders": { + "description": "A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.", + "type": "boolean" } } }, diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json index 2c4ecaf82db7..8db7ac356f97 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json @@ -174,7 +174,7 @@ } }, "understandingResult": { - "description" : "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.", + "description": "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.", "properties": { "pages": { "description": "List of pages where the document is found.", diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json index 4d0e1010ae01..4039f523e2f9 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json @@ -20,7 +20,7 @@ "modelAsString": false }, "x-nullable": false - }, + }, "TextRecognitionResult": { "description": "An object representing a recognized text region", "type": "object", @@ -36,7 +36,7 @@ "description": "The orientation of the image in degrees in the clockwise direction. Range between [0, 360).", "type": "number" }, - "width": { + "width": { "description": "The width of the image in pixels or the PDF in inches.", "type": "number" }, @@ -44,7 +44,7 @@ "description": "The height of the image in pixels or the PDF in inches.", "type": "number" }, - "unit": { + "unit": { "description": "The unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'.", "type": "string", "enum": [ @@ -218,6 +218,5 @@ "x-ms-skip-url-encoding": true } }, - "paths": { - } -} \ No newline at end of file + "paths": {} +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json index b4d0bd13f769..7a7a35ec623f 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json index 168d816944f3..e8816ded9af6 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json index 73fb2a085147..5d6a27860d97 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json @@ -2942,4 +2942,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json index d6d231e026c5..9d93cd4ef960 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json @@ -1453,4 +1453,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json index 0afe61bcd387..480a5eb4ec37 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -390,7 +390,7 @@ "type": "array", "description": "Represents Search Result list.", "items": { - "$ref": "#/definitions/QnASearchResult" + "$ref": "#/definitions/QnASearchResult" } } } @@ -428,8 +428,8 @@ "type": "array", "description": "List of metadata.", "items": { - "$ref": "#/definitions/MetadataDTO" - } + "$ref": "#/definitions/MetadataDTO" + } }, "context": { "type": "object", diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json index c586a2934a32..63e0a9556c49 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json @@ -29,7 +29,7 @@ "answer": "There is no direct integration of LUIS with QnA Maker. But, in your bot code, you can use LUIS and QnA Maker together.", "source": "Custom Editorial", "questions": [ - "How can I integrate LUIS with QnA Maker?" + "How can I integrate LUIS with QnA Maker?" ], "metadata": [ { diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json index 5262a630924c..97cc7fcac360 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json @@ -8,7 +8,7 @@ "200": { "headers": {}, "body": { - "activeLearning":{ + "activeLearning": { "enable": "True" } } diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json index 1b42c44652b1..a12bd163bd89 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json @@ -4,7 +4,7 @@ "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "{API key}", "endpointSettingsPayload": { - "activeLearning":{ + "activeLearning": { "enable": "True" } } diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json index b4443bccde50..3448a4009b3d 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json @@ -17,4 +17,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json index 3e8277ac0e1c..de9845f17678 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json @@ -1378,7 +1378,7 @@ ], "description": "The Get Skus operation response." }, - "NetworkRuleSet": { + "NetworkRuleSet": { "properties": { "bypass": { "type": "string", From 09d5bc0f70631f65e432b48e6485facb9e3aca8c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:10:38 -0400 Subject: [PATCH 096/495] chore: jsonfmt cost-management (#6321) Ran `jsonfmt -w "specification/cost-management/**/*.json" --- .../ExternalBillingAccountForecast.json | 2 +- .../examples/ShowbackRuleGet.json | 4 +- .../examples/ShowbackRulePut.json | 8 ++- .../examples/ShowbackRulesList.json | 4 +- .../2019-04-01-preview/costmanagement.json | 61 ++++++++++++----- .../2019-04-01-preview/examples/Budget.json | 22 +++++-- .../examples/BudgetsList.json | 44 ++++++++++--- .../examples/CreateOrUpdateBudget.json | 66 ++++++++++++++----- .../examples/DeleteBudget.json | 8 +-- .../examples/PrivateView.json | 4 +- .../examples/PrivateViewCreateOrUpdate.json | 6 +- .../examples/PrivateViewDelete.json | 8 +-- .../examples/PrivateViewList.json | 2 +- .../examples/ViewByResourceGroup.json | 4 +- .../ViewCreateOrUpdateByResourceGroup.json | 6 +- .../examples/ViewDeleteByResourceGroup.json | 8 +-- .../examples/ViewListByResourceGroup.json | 2 +- 17 files changed, 182 insertions(+), 77 deletions(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json index 1d863cba74b1..6de290d23a14 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json @@ -125,4 +125,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json index f843a9ed4cd8..c5b6f5444c38 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json @@ -21,7 +21,9 @@ "scopes": null, "details": { "pricesheet": "Pay-As-You-Go (0003P)", - "benefits": ["None"], + "benefits": [ + "None" + ], "markups": null } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json index f2dacd00423c..010f490e8cea 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json @@ -18,7 +18,9 @@ ], "details": { "pricesheet": "Pay-As-You-Go (0003P)", - "benefits": ["None"], + "benefits": [ + "None" + ], "markups": [ { "percentage": "1.1" @@ -45,7 +47,9 @@ "scopes": null, "details": { "pricesheet": "Pay-As-You-Go (0003P)", - "benefits": ["None"], + "benefits": [ + "None" + ], "markups": [ { "percentage": "1.1" diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json index 1e5451776912..96e0fdf81b92 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json @@ -22,7 +22,9 @@ "scopes": null, "details": { "pricesheet": "Pay-As-You-Go (0003P)", - "benefits": ["None"], + "benefits": [ + "None" + ], "markups": null } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json index 397b890a02ae..6ee1ded63ee5 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json @@ -32,7 +32,7 @@ } } }, - "paths": { + "paths": { "/providers/Microsoft.CostManagement/views": { "get": { "tags": [ @@ -378,10 +378,12 @@ } } } - }, + }, "/{scope}/providers/Microsoft.CostManagement/budgets": { "get": { - "tags": ["Budgets"], + "tags": [ + "Budgets" + ], "operationId": "Budgets_List", "description": "Lists all budgets for the defined scope.", "externalDocs": { @@ -421,7 +423,9 @@ }, "/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}": { "get": { - "tags": ["Budgets"], + "tags": [ + "Budgets" + ], "operationId": "Budget_Get", "description": "Gets the budget for the scope by budget name.", "externalDocs": { @@ -459,7 +463,9 @@ } }, "put": { - "tags": ["Budgets"], + "tags": [ + "Budgets" + ], "operationId": "Budget_CreateOrUpdate", "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", "externalDocs": { @@ -512,7 +518,9 @@ } }, "delete": { - "tags": ["Budgets"], + "tags": [ + "Budgets" + ], "operationId": "Budget_Delete", "description": "The operation to delete a budget.", "externalDocs": { @@ -1136,14 +1144,14 @@ "type": "array", "items": { "$ref": "#/definitions/KpiProperties" - } + } }, "pivots": { "description": "Configuration of 3 sub-views in the Cost Analysis UI.", "type": "array", "items": { "$ref": "#/definitions/PivotProperties" - } + } } } }, @@ -1234,7 +1242,10 @@ "category": { "description": "The category of the budget, whether the budget tracks cost or usage.", "type": "string", - "enum": ["Cost", "Usage"], + "enum": [ + "Cost", + "Usage" + ], "x-ms-enum": { "name": "CategoryType", "modelAsString": true @@ -1248,7 +1259,11 @@ "timeGrain": { "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.", "type": "string", - "enum": ["Monthly", "Quarterly", "Annually"], + "enum": [ + "Monthly", + "Quarterly", + "Annually" + ], "x-ms-enum": { "name": "TimeGrainType", "modelAsString": true @@ -1278,7 +1293,12 @@ "maxItems": 5 } }, - "required": ["category", "amount", "timeGrain", "timePeriod"] + "required": [ + "category", + "amount", + "timeGrain", + "timePeriod" + ] }, "BudgetTimePeriod": { "description": "The start and end date for a budget.", @@ -1294,7 +1314,9 @@ "format": "date-time" } }, - "required": ["startDate"] + "required": [ + "startDate" + ] }, "CurrentSpend": { "description": "The current amount of cost which is being tracked for a budget.", @@ -1322,7 +1344,11 @@ "operator": { "description": "The comparison operator.", "type": "string", - "enum": ["EqualTo", "GreaterThan", "GreaterThanOrEqualTo"], + "enum": [ + "EqualTo", + "GreaterThan", + "GreaterThanOrEqualTo" + ], "x-ms-enum": { "name": "NotificationOperatorType", "modelAsString": true @@ -1359,7 +1385,12 @@ "maxItems": 50 } }, - "required": ["enabled", "operator", "threshold", "contactEmails"] + "required": [ + "enabled", + "operator", + "threshold", + "contactEmails" + ] } }, "parameters": { @@ -1451,4 +1482,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json index c50ca3a07656..fd2bacba9ef7 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json @@ -27,7 +27,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -44,14 +46,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -65,8 +71,14 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, - "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"], - "contactRoles": ["Contributor", "Reader"], + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json index b7f50ea34103..805e150c0edf 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json @@ -28,7 +28,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -45,14 +47,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -70,7 +76,10 @@ "johndoe@contoso.com", "janesmith@contoso.com" ], - "contactRoles": ["Contributor", "Reader"] + "contactRoles": [ + "Contributor", + "Reader" + ] }, "Actual_GreaterThanOrEqualTo_90_Percent": { "enabled": true, @@ -80,7 +89,10 @@ "johndoe@contoso.com", "janesmith@contoso.com" ], - "contactRoles": ["Contributor", "Reader"], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] @@ -107,7 +119,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -124,14 +138,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -149,7 +167,10 @@ "johndoe@contoso.com", "janesmith@contoso.com" ], - "contactRoles": ["Contributor", "Reader"] + "contactRoles": [ + "Contributor", + "Reader" + ] }, "Actual_GreaterThanOrEqualTo_60_Percent": { "enabled": true, @@ -159,7 +180,10 @@ "johndoe@contoso.com", "janesmith@contoso.com" ], - "contactRoles": ["Contributor", "Reader"], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json index 0b7f288364e0..e71edf730de5 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json @@ -21,7 +21,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -38,14 +40,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -55,8 +61,14 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, - "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"], - "contactRoles": ["Contributor", "Reader"], + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] @@ -86,7 +98,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -103,14 +117,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -124,8 +142,14 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, - "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"], - "contactRoles": ["Contributor", "Reader"], + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] @@ -154,7 +178,9 @@ "dimension": { "name": "ResourceGroupName", "operator": "In", - "values": ["MYDEVTESTRG"] + "values": [ + "MYDEVTESTRG" + ] } }, { @@ -171,14 +197,18 @@ "dimension": { "name": "Meter", "operator": "In", - "values": ["00000000-0000-0000-0000-000000000000"] + "values": [ + "00000000-0000-0000-0000-000000000000" + ] } }, { "tag": { "name": "Dev", "operator": "In", - "values": ["engineering"] + "values": [ + "engineering" + ] } } ] @@ -192,8 +222,14 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, - "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"], - "contactRoles": ["Contributor", "Reader"], + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], "contactGroups": [ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" ] diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json index 7eb6ba84133e..53d0c16c522f 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json @@ -7,9 +7,7 @@ "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json index e0ac14277f1f..e96ebb9fdf7c 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json @@ -62,8 +62,8 @@ "name": "swaggerTagKey" } ] - } + } } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json index d75cd493745e..85d18a6d302d 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json @@ -117,7 +117,7 @@ "name": "swaggerTagKey" } ] - } + } } }, "200": { @@ -178,8 +178,8 @@ "name": "swaggerTagKey" } ] - } + } } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json index 6098335e58e9..12a0239b9dc5 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json @@ -4,9 +4,7 @@ "viewName": "TestView" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json index 1657fec91760..86eb6ee3b68b 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json index 3bac24905b23..4a76a9b898a0 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json @@ -63,8 +63,8 @@ "name": "swaggerTagKey" } ] - } + } } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json index 7956c8df6773..1edc69822cad 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json @@ -118,7 +118,7 @@ "name": "swaggerTagKey" } ] - } + } } }, "200": { @@ -179,8 +179,8 @@ "name": "swaggerTagKey" } ] - } + } } } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json index be29fdb7591c..3a9f210abf3e 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json @@ -5,9 +5,7 @@ "viewName": "TestView" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json index 736a3a074cdb..39edbdffbdea 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json @@ -129,4 +129,4 @@ } } } -} \ No newline at end of file +} From 655e790b3272ca76974ff4cf41b271a5abd4a353 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:11:10 -0400 Subject: [PATCH 097/495] chore: jsonfmt datamigration (#6324) Ran `jsonfmt -w "specification/datamigration/**/*.json"` --- .../2018-07-15-preview/datamigration.json | 24 ++++++++++++++----- .../examples/ServiceTasks_CreateOrUpdate.json | 2 +- .../examples/ServiceTasks_Delete.json | 2 +- .../examples/ServiceTasks_Get.json | 2 +- .../examples/ServiceTasks_Update.json | 2 +- 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json index cfd3ddd118c0..8a9fbc8f3730 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json @@ -494,7 +494,9 @@ ], "operationId": "ServiceTasks_List", "x-ms-examples": { - "ServiceTasks_List": { "$ref": "./examples/ServiceTasks_List.json" } + "ServiceTasks_List": { + "$ref": "./examples/ServiceTasks_List.json" + } }, "parameters": [ { @@ -862,7 +864,9 @@ ], "operationId": "ServiceTasks_CreateOrUpdate", "x-ms-examples": { - "Tasks_CreateOrUpdate": { "$ref": "./examples/ServiceTasks_CreateOrUpdate.json" } + "Tasks_CreateOrUpdate": { + "$ref": "./examples/ServiceTasks_CreateOrUpdate.json" + } }, "parameters": [ { @@ -900,7 +904,9 @@ ], "operationId": "ServiceTasks_Get", "x-ms-examples": { - "Tasks_Get": { "$ref": "./examples/ServiceTasks_Get.json" } + "Tasks_Get": { + "$ref": "./examples/ServiceTasks_Get.json" + } }, "parameters": [ { @@ -941,7 +947,9 @@ ], "operationId": "ServiceTasks_Delete", "x-ms-examples": { - "Tasks_Delete": { "$ref": "./examples/ServiceTasks_Delete.json" } + "Tasks_Delete": { + "$ref": "./examples/ServiceTasks_Delete.json" + } }, "responses": { "200": { @@ -968,7 +976,9 @@ ], "operationId": "ServiceTasks_Update", "x-ms-examples": { - "Tasks_Update": { "$ref": "./examples/ServiceTasks_Update.json" } + "Tasks_Update": { + "$ref": "./examples/ServiceTasks_Update.json" + } }, "parameters": [ { @@ -1053,7 +1063,9 @@ ], "operationId": "ServiceTasks_Cancel", "x-ms-examples": { - "Tasks_Cancel": { "$ref": "./examples/ServiceTasks_Cancel.json" } + "Tasks_Cancel": { + "$ref": "./examples/ServiceTasks_Cancel.json" + } }, "parameters": [ { diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json index 461998e7c40a..33319569713c 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json index 2b59a6d1bb67..7c5fd00999e2 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json index 5be1987f46da..87b48c5ea309 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json index 70e07b99a66b..5253cc8aacdd 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} From ce7b7ca4d2dcaa5f1855e348b30f1420fe9fc0d5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:11:52 -0400 Subject: [PATCH 098/495] chore: jsonfmt attestation (#6364) Ran `jsonfmt -w "specification/attestation/**/*.json"` --- .../2018-09-01-preview/attestation.json | 932 +++++++++--------- .../examples/Create_AttestationProvider.json | 58 +- .../examples/Delete_AttestationProvider.json | 32 +- .../examples/Get_AttestationProvider.json | 34 +- .../Get_AttestationProvidersList.json | 54 +- ...testationProvidersListByResourceGroup.json | 56 +- .../examples/Operations_List.json | 70 +- 7 files changed, 618 insertions(+), 618 deletions(-) diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json index e5b630c58f63..ad290370de96 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json @@ -1,498 +1,498 @@ - { - "swagger": "2.0", - "info": { - "title": "AttestationManagementClient", - "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", - "version": "2018-09-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Attestation/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists all of the available Azure attestation operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - } +{ + "swagger": "2.0", + "info": { + "title": "AttestationManagementClient", + "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", + "version": "2018-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Attestation/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Azure attestation operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { - "get": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Get", - "description": "Get the status of Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Get": { - "$ref": "./examples/Get_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Get the status of attestation Provider", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - }, - "put": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Create", - "description": "Creates or updates the Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Create": { - "$ref": "./examples/Create_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "creationParams", - "in": "body", - "description": "Client supplied parameters.", - "schema": { - "$ref": "#/definitions/AttestationServiceCreationParams" - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "201": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - }, - "delete": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Delete", - "description": "Delete Attestation Service.", - "x-ms-examples": { - "AttestationProviders_Delete": { - "$ref": "./examples/Delete_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Request accepted for deletion of attestation service" - }, - "200": { - "description": "Resource exists and was deleted successfully" - }, - "204": { - "description": "Resource does not exist" - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_List", - "description": "Returns a list of attestation providers in a subscription.", - "x-ms-examples": { - "AttestationProviders_List": { - "$ref": "./examples/Get_AttestationProvidersList.json" + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { + "get": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Get", + "description": "Get the status of Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Get": { + "$ref": "./examples/Get_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Get the status of attestation Provider", + "schema": { + "$ref": "#/definitions/AttestationProvider" } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } } + }, + "put": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Create", + "description": "Creates or updates the Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Create": { + "$ref": "./examples/Create_AttestationProvider.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_ListByResourceGroup", - "description": "Returns attestation providers list in a resource group.", - "x-ms-examples": { - "AttestationProviders_ListByResourceGroup": { - "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "creationParams", + "in": "body", + "description": "Client supplied parameters.", + "schema": { + "$ref": "#/definitions/AttestationServiceCreationParams" }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" } - ], - "x-ms-pageable": { - "nextLinkName": null, - "itemName": "keys" - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } + }, + "201": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } } - } - }, - "definitions": { - "OperationList": { - "properties": { - "value": { - "type": "array", - "description": "List of supported operations.", - "items": { - "$ref": "#/definitions/OperationsDefinition" - } - } - }, - "description": "List of supported operations." + }, + "delete": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Delete", + "description": "Delete Attestation Service.", + "x-ms-examples": { + "AttestationProviders_Delete": { + "$ref": "./examples/Delete_AttestationProvider.json" + } }, - "OperationsDefinition": { - "type": "object", - "description": "Definition object with the name and properties of an operation.", - "properties": { - "name": { - "type": "string", - "description": "Name of the operation." - }, - "display": { - "$ref": "#/definitions/OperationsDisplayDefinition", - "description": "Display object with properties of the operation." - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" + }, + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_List", + "description": "Returns a list of attestation providers in a subscription.", + "x-ms-examples": { + "AttestationProviders_List": { + "$ref": "./examples/Get_AttestationProvidersList.json" + } }, - "OperationsDisplayDefinition": { - "type": "object", - "description": "Display object with properties of the operation.", - "properties": { - "provider": { - "type": "string", - "description": "Resource provider of the operation." - }, - "resource": { - "type": "string", - "description": "Resource for the operation." - }, - "operation": { - "type": "string", - "description": "Short description of the operation." - }, - "description": { - "type": "string", - "description": "Description of the operation." - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null }, - "AttestationProvider": { - "description": "Attestation service response message.", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/StatusResult", - "description": "Describes Attestation service status.", - "x-ms-client-flatten": true - } + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" } - }, - "StatusResult": { - "type": "object", - "description": "Status of attestation service.", - "required": [ - "status" - ], - "properties": { - "status": { - "type": "string", - "description": "Status of attestation service.", - "enum": [ - "Ready", - "NotReady", - "Error" - ], - "x-ms-enum": { - "name": "AttestationServiceStatus", - "modelAsString": true - } - }, - "attestUri": { - "type": "string", - "description": "Gets the uri of attestation service" - } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_ListByResourceGroup", + "description": "Returns attestation providers list in a resource group.", + "x-ms-examples": { + "AttestationProviders_ListByResourceGroup": { + "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" + } }, - "ErrorResult": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "properties": { - "error": { - "type": "object", - "description": "Error object.", - "$ref": "#/definitions/ErrorResponseBody" - } - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "keys" }, - "ErrorResponseBody": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "required": [ - "message", - "code" - ], - "properties": { - "message": { - "type": "string", - "description": "Description of the error." - }, - "code": { - "type": "string", - "description": "Service specific error code" - } + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" } - }, - "ErrorResponse": { - "type": "object", - "description": "Error response", - "properties": { - "error": { - "type": "object", - "description":"Error response", - "properties": { - "code": { - "type": "string", - "description": "Description of the error." - }, - "message": { - "type": "string", - "description": "Service specific error code." - } - } - } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + } + }, + "definitions": { + "OperationList": { + "properties": { + "value": { + "type": "array", + "description": "List of supported operations.", + "items": { + "$ref": "#/definitions/OperationsDefinition" + } + } + }, + "description": "List of supported operations." + }, + "OperationsDefinition": { + "type": "object", + "description": "Definition object with the name and properties of an operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." }, - "AttestationProviderListResult": { - "description": "Attestation Providers List.", - "properties": { - "value": { - "type": "array", - "description": "Attestation Provider array.", - "items": { - "$ref": "#/definitions/AttestationProvider" - } - } - } + "display": { + "$ref": "#/definitions/OperationsDisplayDefinition", + "description": "Display object with properties of the operation." + } + } + }, + "OperationsDisplayDefinition": { + "type": "object", + "description": "Display object with properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Resource provider of the operation." }, - "AttestationServiceCreationParams": { - "description": "Client supplied parameters passed to attestation service.", - "properties": { - "attestationPolicy": { - "type": "string", - "description":"Name of attestation policy." - } - } + "resource": { + "type": "string", + "description": "Resource for the operation." + }, + "operation": { + "type": "string", + "description": "Short description of the operation." + }, + "description": { + "type": "string", + "description": "Description of the operation." } + } }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" + "AttestationProvider": { + "description": "Attestation service response message.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "type": "object", + "$ref": "#/definitions/StatusResult", + "description": "Describes Attestation service status.", + "x-ms-client-flatten": true + } + } + }, + "StatusResult": { + "type": "object", + "description": "Status of attestation service.", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "description": "Status of attestation service.", + "enum": [ + "Ready", + "NotReady", + "Error" + ], + "x-ms-enum": { + "name": "AttestationServiceStatus", + "modelAsString": true + } }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + "attestUri": { + "type": "string", + "description": "Gets the uri of attestation service" + } + } + }, + "ErrorResult": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "properties": { + "error": { + "type": "object", + "description": "Error object.", + "$ref": "#/definitions/ErrorResponseBody" + } + } + }, + "ErrorResponseBody": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "required": [ + "message", + "code" + ], + "properties": { + "message": { + "type": "string", + "description": "Description of the error." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." + "code": { + "type": "string", + "description": "Service specific error code" } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response", + "properties": { + "error": { + "type": "object", + "description": "Error response", + "properties": { + "code": { + "type": "string", + "description": "Description of the error." + }, + "message": { + "type": "string", + "description": "Service specific error code." + } + } + } + } + }, + "AttestationProviderListResult": { + "description": "Attestation Providers List.", + "properties": { + "value": { + "type": "array", + "description": "Attestation Provider array.", + "items": { + "$ref": "#/definitions/AttestationProvider" + } + } + } + }, + "AttestationServiceCreationParams": { + "description": "Client supplied parameters passed to attestation service.", + "properties": { + "attestationPolicy": { + "type": "string", + "description": "Name of attestation policy." + } + } + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." } } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json index 888e7373b0d4..a9b3bd30b942 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json @@ -1,34 +1,34 @@ { - "parameters": { - "resourceGroupName": "sample-resource-group", - "serviceName": "sampleservicename", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview", - "providerName": "providerName1", - "creationParams": "test" + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1", + "creationParams": "test" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready", + "attestUri": "https://sample-attestation.attestation.azure.net" + } + } }, - "responses": { - "200": { - "body": { - "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready", - "attestUri": "https://sample-attestation.attestation.azure.net" - } - } - }, - "201": { - "body": { - "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready", - "attestUri": "https://sample-attestation.attestation.azure.net" - } - } + "201": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready", + "attestUri": "https://sample-attestation.attestation.azure.net" } + } } + } } diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json index 795e261eb948..f6a081df3cc1 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json @@ -1,20 +1,20 @@ { - "parameters": { - "resourceGroupName": "sample-resource-group", - "serviceName": "sampleservicename", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview", - "providerName": "providerName1" + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1" + }, + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" }, - "responses": { - "202": { - "description": "Request accepted for deletion of attestation service" - }, - "200": { - "description": "Resource exists and was deleted successfully" - }, - "204": { - "description": "Resource does not exist" - } + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" } + } } diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json index a91ba4b458b8..6aae3c0f8e0a 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json @@ -1,21 +1,21 @@ { - "parameters": { - "resourceGroupName": "sample-resource-group", - "serviceName": "sampleservicename", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview", - "providerName": "providerName1" - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - } + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providerName1" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" } + } } + } } diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json index 2751eaf20e85..f1ebf8dc62e3 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json @@ -1,30 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - }, - { - "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2", - "name": "codes2", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - } - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" } - } + }, + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2", + "name": "codes2", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json index c901537506bd..de5c9261b48d 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json @@ -1,31 +1,31 @@ { - "parameters": { - "resourceGroupName": "testrg1", - "subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915", - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - }, - { - "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2", - "name": "codes2", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - } - ] + "parameters": { + "resourceGroupName": "testrg1", + "subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915", + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" } - } + }, + { + "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2", + "name": "codes2", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json index 4e92f79336b0..110db087ae8c 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json @@ -1,38 +1,38 @@ { - "parameters": { - "api-version": "2018-09-01-preview" - }, - "responses": { - "200": { - "body": [ - { - "name": "Microsoft.Attestation/attestationProviders/attestation/read", - "display": { - "provider": "Microsoft Azure Attestation", - "resource": "Attestation", - "operation": "Get status of attestation service", - "description": "Get status of attestation service." - } - }, - { - "name": "Microsoft.Attestation/attestationProviders/attestation/write", - "display": { - "provider": "Microsoft Azure Attestation", - "resource": "Attestation", - "operation": "Adds attestation service.", - "description": "Adds attestation service." - } - }, - { - "name": "Microsoft.Attestation/attestationProviders/attestation/delete", - "display": { - "provider": "Microsoft Azure Attestation", - "resource": "Attestation", - "operation": "Removes attestation service", - "description": "Removes attestation service" - } - } - ] + "parameters": { + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": [ + { + "name": "Microsoft.Attestation/attestationProviders/attestation/read", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Get status of attestation service", + "description": "Get status of attestation service." + } + }, + { + "name": "Microsoft.Attestation/attestationProviders/attestation/write", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Adds attestation service.", + "description": "Adds attestation service." + } + }, + { + "name": "Microsoft.Attestation/attestationProviders/attestation/delete", + "display": { + "provider": "Microsoft Azure Attestation", + "resource": "Attestation", + "operation": "Removes attestation service", + "description": "Removes attestation service" + } } + ] } -} \ No newline at end of file + } +} From 1164f97386615ff518995f4e3b5934bf2ab4f93b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 17:13:07 -0400 Subject: [PATCH 099/495] chore: Remove Travis-CI badge (#6282) --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 786c0ad791d0..77431492859a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Repo Status](http://img.shields.io/travis/Azure/azure-rest-api-specs/master.svg?style=flat-square&label=repo-status)](https://travis-ci.org/Azure/azure-rest-api-specs) - # Azure REST API Specifications ## Description From f5e4b39972d63b2036dc9ae8179533a454249e63 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 18 Jun 2019 20:41:39 -0400 Subject: [PATCH 100/495] chore: Remove duplicate preproduction pipeline job (#6377) Before it was testing a newer version of the scripts. Looks like the package is updated so they aren't needed now --- preproduction-azure-pipelines.yml | 87 ------------------------------- 1 file changed, 87 deletions(-) diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml index 44566a98844a..eea3c45fb761 100644 --- a/preproduction-azure-pipelines.yml +++ b/preproduction-azure-pipelines.yml @@ -21,93 +21,6 @@ jobs: - script: '>&2 echo "the branch is protected"' failOnStderr: true -- job: "Syntax" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - script: | - echo TRAVIS: $(TRAVIS) - echo TRAVIS_BRANCH: $(TRAVIS_BRANCH) - echo TRAVIS_REPO_SLUG: $(TRAVIS_REPO_SLUG) - echo TRAVIS_PULL_REQUEST: $(TRAVIS_PULL_REQUEST) - echo TRAVIS_PULL_REQUEST_SLUG: $(TRAVIS_PULL_REQUEST_SLUG) - echo TRAVIS_PULL_REQUEST_SHA: $(TRAVIS_PULL_REQUEST_SHA) - echo PR_ONLY: $(PR_ONLY) - displayName: "Info" - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9' - - script: 'npm test -- test/syntax.js' - displayName: 'Syntax validation' - -- job: "Semantic" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9' - - script: 'npm run tsc && node scripts/semanticValidation.js' - displayName: 'Semantic Validation' - -- job: "ModelValidation" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9' - - script: 'npm run tsc && node scripts/modelValidation.js' - displayName: 'Model Validation' - -- job: "Avocado" - pool: - vmImage: 'Ubuntu 16.04' - continueOnError: true - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: './node_modules/.bin/avocado' - displayName: 'Avocado' - -- job: "BreakingChange" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - script: 'scripts/install-dotnet.sh' - displayName: 'Install .Net' - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9' - - script: 'npm run tsc && node scripts/breaking-change.js' - displayName: 'Breaking Changes' - -- job: "LintDiff" - variables: - NODE_OPTIONS: '--max-old-space-size=8192' - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'scripts/install-dotnet.sh' - displayName: 'install .Net' - - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9' - - script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' - displayName: 'LintDiff' - - job: "Spellcheck" condition: "not(variables['PRIVATE'])" variables: From 916cc80ef4d246d5af4ba4573ea49b5a33055dd2 Mon Sep 17 00:00:00 2001 From: Xiaofang Zhang Date: Wed, 19 Jun 2019 10:31:27 -0700 Subject: [PATCH 101/495] ContainerService 2019-06-01 API (#6284) * Adds base for updating Microsoft.ContainerService from version stable/2019-04-01 to version 2019-06-01 * Updates readme * Updates API version in new specs and examples * agent pool get-versions and get-upgrades API * adding nodetains and low priority vmss properties * update SDK generation files * fix spelling error * adding node public IP property * fixing sdk versions files * fixing node tains description per PM request * add taints examples --- .../examples/AgentPoolsCreate_Update.json | 64 + .../2019-06-01/examples/AgentPoolsDelete.json | 13 + .../2019-06-01/examples/AgentPoolsGet.json | 25 + ...entPoolsGetAgentPoolAvailableVersions.json | 33 + .../examples/AgentPoolsGetUpgradeProfile.json | 27 + .../2019-06-01/examples/AgentPoolsList.json | 28 + .../ContainerServiceListOrchestrators.json | 207 ++ .../ManagedClustersCreate_Update.json | 187 ++ .../examples/ManagedClustersDelete.json | 12 + .../examples/ManagedClustersGet.json | 67 + .../ManagedClustersGetAccessProfile.json | 22 + .../ManagedClustersGetUpgradeProfile.json | 49 + .../examples/ManagedClustersList.json | 64 + .../ManagedClustersListByResourceGroup.json | 65 + ...edClustersListClusterCredentialResult.json | 20 + .../ManagedClustersResetAADProfile.json | 18 + ...dClustersResetServicePrincipalProfile.json | 16 + .../examples/ManagedClustersUpdateTags.json | 67 + .../stable/2019-06-01/location.json | 206 ++ .../stable/2019-06-01/managedClusters.json | 2235 +++++++++++++++++ .../resource-manager/readme.go.md | 11 + .../resource-manager/readme.md | 28 +- .../resource-manager/readme.python.md | 12 + 23 files changed, 3473 insertions(+), 3 deletions(-) create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ContainerServiceListOrchestrators.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersCreate_Update.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersDelete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetAccessProfile.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetUpgradeProfile.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersList.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListByResourceGroup.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListClusterCredentialResult.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetAADProfile.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetServicePrincipalProfile.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersUpdateTags.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/location.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json new file mode 100644 index 000000000000..2cb01def266e --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName":"agentpool1", + "parameters": { + "properties": { + "orchestratorVersion": "", + "count": 3, + "vmSize": "Standard_DS1_v2", + "osType": "Linux", + "nodeTaints": [ + "Key1=Value1:NoSchedule" + ], + "scaleSetPriority": "Low", + "scaleSetEvictionPolicy": "Delete" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "type": "Microsoft.ContainerService/managedClusters/agentPools", + "name": "agentpool1", + "properties": { + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "nodeTaints": [ + "Key1=Value1:NoSchedule" + ], + "scaleSetPriority": "Low", + "scaleSetEvictionPolicy": "Delete" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "type": "Microsoft.ContainerService/managedClusters/agentPools", + "name": "agentpool1", + "properties": { + "provisioningState": "Creating", + "orchestratorVersion": "1.9.6", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "nodeTaints": [ + "Key1=Value1:NoSchedule" + ], + "scaleSetPriority": "Low", + "scaleSetEvictionPolicy": "Delete" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json new file mode 100644 index 000000000000..2bd7f519abc1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName":"agentpool1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json new file mode 100644 index 000000000000..17bc9d67d3d2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName":"agentpool1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "name": "agentpool1", + "properties": { + "provisioningState": "Succeeded", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "orchestratorVersion": "1.9.6" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json new file mode 100644 index 000000000000..27220319beee --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName":"agentpool1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/availableAgentpoolVersions", + "name": "default", + "properties": { + "agentPoolVersions": [ + { + "kubernetesVersion": "1.12.7" + }, + { + "kubernetesVersion": "1.12.8" + }, + { + "default": true, + "kubernetesVersion": "1.13.5", + "isPreview": true + } + ] + }, + "type": "Microsoft.ContainerService/managedClusters/availableAgentpoolVersions" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json new file mode 100644 index 000000000000..1f67a6e12d52 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName":"agentpool1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/upgradeprofiles/default", + "name": "default", + "properties": { + "kubernetesVersion": "1.12.8", + "osType": "Linux", + "upgrades": [ + { + "kubernetesVersion": "1.13.5" + } + ] + }, + "type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json new file mode 100644 index 000000000000..cbecadc66478 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "name": "agentpool1", + "properties": { + "provisioningState": "Succeeded", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "orchestratorVersion": "1.9.6" + } + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ContainerServiceListOrchestrators.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ContainerServiceListOrchestrators.json new file mode 100644 index 000000000000..e41f77714733 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ContainerServiceListOrchestrators.json @@ -0,0 +1,207 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "location": "location1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/locations/location1/orchestrators", + "name": "default", + "type": "Microsoft.ContainerService/locations/orchestrators", + "properties": { + "orchestrators": [ + { + "orchestratorType": "DCOS", + "orchestratorVersion": "1.10.0" + }, + { + "orchestratorType": "DCOS", + "orchestratorVersion": "1.9.0" + }, + { + "orchestratorType": "DCOS", + "orchestratorVersion": "1.8.8" + }, + { + "orchestratorType": "Swarm", + "orchestratorVersion": "swarm:1.1.0" + }, + { + "orchestratorType": "DockerCE", + "orchestratorVersion": "17.03.*" + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.8.1", + "upgrades": [ + { + "orchestratorVersion": "1.8.4" + }, + { + "orchestratorVersion": "1.8.2" + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.9.10", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.9.11", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.10.12", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.10.13", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.9.11", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.10.12", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.10.13", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.10.12", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.10.13", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.11.8", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.11.9", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.10.13", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.11.8", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.11.9", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.11.8", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.11.9", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.12.6", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.12.7", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.11.9", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.12.6", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.12.7", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.12.6", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.12.7", + "isPreview": false + }, + { + "orchestratorType": "", + "orchestratorVersion": "1.13.5", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.12.7", + "default": true, + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.13.5", + "isPreview": false + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.13.5", + "upgrades": [ + { + "orchestratorType": "", + "orchestratorVersion": "1.14.0", + "isPreview": true + } + ] + }, + { + "orchestratorType": "Kubernetes", + "orchestratorVersion": "1.14.0", + "isPreview": true + } + ] + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersCreate_Update.json new file mode 100644 index 000000000000..d837b22c3c10 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersCreate_Update.json @@ -0,0 +1,187 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "location": "location1", + "tags": { + "tier": "production", + "archv2": "" + }, + "properties": { + "kubernetesVersion": "", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "osType": "Linux", + "type": "VirtualMachineScaleSets", + "availabilityZones": [ + "1", + "2", + "3" + ], + "enableNodePublicIP": true + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "networkProfile": { + "loadBalancerSku": "basic" + }, + "windowsProfile": { + "adminUsername": "azureuser", + "adminPassword": "replacePassword1234$" + }, + "servicePrincipalProfile": { + "clientId": "clientid", + "secret": "secret" + }, + "addonProfiles": {}, + "enableRBAC": true, + "enablePodSecurityPolicy": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "maxAgentPools": 1, + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6", + "type": "VirtualMachineScaleSets", + "availabilityZones": [ + "1", + "2", + "3" + ], + "enableNodePublicIP": true + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "windowsProfile": { + "adminUsername": "azureuser" + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": true, + "enablePodSecurityPolicy": true, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "loadBalancerSku": "basic", + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Creating", + "maxAgentPools": 1, + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Creating", + "orchestratorVersion": "1.9.6", + "type": "VirtualMachineScaleSets", + "availabilityZones": [ + "1", + "2", + "3" + ], + "enableNodePublicIP": true + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "windowsProfile": { + "adminUsername": "azureuser" + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": true, + "enablePodSecurityPolicy": true, + "networkProfile": { + "loadBalancerSku": "basic", + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersDelete.json new file mode 100644 index 000000000000..e0bd066f9e19 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGet.json new file mode 100644 index 000000000000..7afba92c7e69 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGet.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "maxAgentPools": 1, + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6", + "availabilityZones": [ + "1", + "2", + "3" + ] + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetAccessProfile.json new file mode 100644 index 000000000000..82eb17825105 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetAccessProfile.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "roleName": "clusterUser" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser", + "location": "location1", + "name": "clusterUser", + "properties": { + "kubeConfig": "kubeConfig1" + }, + "type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetUpgradeProfile.json new file mode 100644 index 000000000000..f9de5042c241 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersGetUpgradeProfile.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default", + "name": "default", + "properties": { + "agentPoolProfiles": [ + { + "kubernetesVersion": "1.7.7", + "name": "agent", + "osType": "Linux", + "upgrades": [ + { + "kubernetesVersion": "1.7.9" + }, + { + "kubernetesVersion": "1.7.11", + "isPreview": true + } + ] + } + ], + "controlPlaneProfile": { + "kubernetesVersion": "1.7.7", + "name": "master", + "osType": "Linux", + "upgrades": [ + { + "kubernetesVersion": "1.7.9", + "isPreview": true + }, + { + "kubernetesVersion": "1.7.11" + } + ] + } + }, + "type": "Microsoft.ContainerService/managedClusters/upgradeprofiles" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersList.json new file mode 100644 index 000000000000..099dba10a36e --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "maxAgentPools": 1, + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListByResourceGroup.json new file mode 100644 index 000000000000..aef70096cc59 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "maxAgentPools": 1, + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListClusterCredentialResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListClusterCredentialResult.json new file mode 100644 index 000000000000..56c45a476853 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersListClusterCredentialResult.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1" + }, + "responses": { + "200": { + "body": { + "kubeconfigs": [ + { + "name": "credentialName1", + "value": "credentialValue1" + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetAADProfile.json new file mode 100644 index 000000000000..6e1353fb18fe --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetAADProfile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "clientAppID": "clientappid", + "serverAppID": "serverappid", + "serverAppSecret": "serverappsecret", + "tenantID": "tenantid" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetServicePrincipalProfile.json new file mode 100644 index 000000000000..a944a2fdce98 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersResetServicePrincipalProfile.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "clientId": "clientid", + "secret": "secret" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersUpdateTags.json new file mode 100644 index 000000000000..7010d94a4fdb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/ManagedClustersUpdateTags.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "tags": { + "tier": "testing", + "archv3": "" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv3": "", + "tier": "testing" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "provisioningState": "Succeeded", + "orchestratorVersion": "1.9.6" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/location.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/location.json new file mode 100644 index 000000000000..9ea4e02ddcd4 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/location.json @@ -0,0 +1,206 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerServiceClient", + "description": "The Container Service Client.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/orchestrators": { + "get": { + "tags": [ + "ContainerServices" + ], + "operationId": "ContainerServices_ListOrchestrators", + "summary": "Gets a list of supported orchestrators in the specified subscription.", + "description": "Gets a list of supported orchestrators in the specified subscription. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ResourceTypeParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OrchestratorVersionProfileListResult" + } + } + }, + "x-ms-examples": { + "List Container Service Orchestrators": { + "$ref": "./examples/ContainerServiceListOrchestrators.json" + } + } + } + } + }, + "definitions": { + "OrchestratorProfile": { + "properties": { + "orchestratorType": { + "type": "string", + "description": "Orchestrator type." + }, + "orchestratorVersion": { + "type": "string", + "description": "Orchestrator version (major, minor, patch)." + }, + "isPreview": { + "type": "boolean", + "description": "Whether Kubernetes version is currently in preview." + } + }, + "required": [ + "orchestratorVersion" + ], + "description": "Contains information about orchestrator." + }, + "OrchestratorVersionProfile": { + "properties": { + "orchestratorType": { + "type": "string", + "description": "Orchestrator type." + }, + "orchestratorVersion": { + "type": "string", + "description": "Orchestrator version (major, minor, patch)." + }, + "default": { + "type": "boolean", + "description": "Installed by default if version is not specified." + }, + "isPreview": { + "type": "boolean", + "description": "Whether Kubernetes version is currently in preview." + }, + "upgrades": { + "type": "array", + "items": { + "$ref": "#/definitions/OrchestratorProfile" + }, + "description": "The list of available upgrade versions." + } + }, + "required": [ + "orchestratorVersion", + "orchestratorType" + ], + "description": "The profile of an orchestrator and its available versions." + }, + "OrchestratorVersionProfileProperties": { + "properties": { + "orchestrators": { + "type": "array", + "items": { + "$ref": "#/definitions/OrchestratorVersionProfile" + }, + "description": "List of orchestrator version profiles." + } + }, + "required": [ + "orchestrators" + ], + "description": "The properties of an orchestrator version profile." + }, + "OrchestratorVersionProfileListResult": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Id of the orchestrator version profile list result." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the orchestrator version profile list result." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the orchestrator version profile list result." + }, + "properties": { + "$ref": "#/definitions/OrchestratorVersionProfileProperties", + "description": "The properties of an orchestrator version profile.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "description": "The list of versions for supported orchestrators." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version.", + "x-ms-parameter-location": "client" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The name of a supported Azure region.", + "x-ms-parameter-location": "method" + }, + "ResourceTypeParameter": { + "name": "resource-type", + "in": "query", + "required": false, + "type": "string", + "description": "resource type for which the list of orchestrators needs to be returned", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json new file mode 100644 index 000000000000..41b3a7f9d3bc --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json @@ -0,0 +1,2235 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerServiceClient", + "description": "The Container Service Client.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.ContainerService/operations": { + "get": { + "tags": [ + "managedClusters" + ], + "operationId": "Operations_List", + "description": "Gets a list of compute operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": { + "get": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_List", + "summary": "Gets a list of managed clusters in the specified subscription.", + "description": "Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedClusterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Managed Clusters": { + "$ref": "./examples/ManagedClustersList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": { + "get": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ListByResourceGroup", + "summary": "Lists managed clusters in the specified subscription and resource group.", + "description": "Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedClusterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Managed Clusters by Resource Group": { + "$ref": "./examples/ManagedClustersListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": { + "get": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_GetUpgradeProfile", + "summary": "Gets upgrade profile for a managed cluster.", + "description": "Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedClusterUpgradeProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Upgrade Profile for Managed Cluster": { + "$ref": "./examples/ManagedClustersGetUpgradeProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential": { + "post": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_GetAccessProfile", + "summary": "Gets an access profile of a managed cluster.", + "description": "Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "roleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the role for managed cluster accessProfile resource." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedClusterAccessProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Managed Cluster": { + "$ref": "./examples/ManagedClustersGetAccessProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential": { + "post": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ListClusterAdminCredentials", + "summary": "Gets cluster admin credential of a managed cluster.", + "description": "Gets cluster admin credential of the managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CredentialResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Managed Cluster": { + "$ref": "./examples/ManagedClustersListClusterCredentialResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential": { + "post": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ListClusterUserCredentials", + "summary": "Gets cluster user credential of a managed cluster.", + "description": "Gets cluster user credential of the managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CredentialResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Managed Cluster": { + "$ref": "./examples/ManagedClustersListClusterCredentialResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": { + "get": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_Get", + "summary": "Gets a managed cluster.", + "description": "Gets the details of the managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Managed Cluster": { + "$ref": "./examples/ManagedClustersGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_CreateOrUpdate", + "summary": "Creates or updates a managed cluster.", + "description": "Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "description": "Parameters supplied to the Create or Update a Managed Cluster operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create/Update Managed Cluster": { + "$ref": "./examples/ManagedClustersCreate_Update.json" + } + } + }, + "patch": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_UpdateTags", + "summary": "Updates tags on a managed cluster.", + "description": "Updates a managed cluster with the specified tags.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsObject" + }, + "description": "Parameters supplied to the Update Managed Cluster Tags operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update Managed Cluster Tags": { + "$ref": "./examples/ManagedClustersUpdateTags.json" + } + } + }, + "delete": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_Delete", + "summary": "Deletes a managed cluster.", + "description": "Deletes the managed cluster with a specified resource group and name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Managed Cluster": { + "$ref": "./examples/ManagedClustersDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools": { + "get": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_List", + "summary": "Gets a list of agent pools in the specified managed cluster.", + "description": "Gets a list of agent pools in the specified managed cluster. The operation returns properties of each agent pool.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentPoolListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Agent Pools by Managed Cluster": { + "$ref": "./examples/AgentPoolsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}": { + "get": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_Get", + "summary": "Gets the agent pool.", + "description": "Gets the details of the agent pool by managed cluster and resource group.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the agent pool." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Agent Pool": { + "$ref": "./examples/AgentPoolsGet.json" + } + } + }, + "put": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_CreateOrUpdate", + "summary": "Creates or updates an agent pool.", + "description": "Creates or updates an agent pool in the specified managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the agent pool." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AgentPool" + }, + "description": "Parameters supplied to the Create or Update an agent pool operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create/Update Agent Pool": { + "$ref": "./examples/AgentPoolsCreate_Update.json" + } + } + }, + "delete": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_Delete", + "summary": "Deletes an agent pool.", + "description": "Deletes the agent pool in the specified managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the agent pool." + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Agent Pool": { + "$ref": "./examples/AgentPoolsDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default": { + "get": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_GetUpgradeProfile", + "summary": "Gets upgrade profile for an agent pool.", + "description": "Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the agent pool." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentPoolUpgradeProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Upgrade Profile for Agent Pool": { + "$ref": "./examples/AgentPoolsGetUpgradeProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/availableAgentPoolVersions": { + "get": { + "tags": [ + "AgentPools" + ], + "operationId": "AgentPools_GetAvailableAgentPoolVersions", + "summary": "Gets a list of supported versions for the specified agent pool.", + "description": "Gets a list of supported versions for the specified agent pool.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the agent pool." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentPoolAvailableVersions" + } + } + }, + "x-ms-examples": { + "Get available versions for agent pool": { + "$ref": "./examples/AgentPoolsGetAgentPoolAvailableVersions.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": { + "post": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetServicePrincipalProfile", + "summary": "Reset Service Principal Profile of a managed cluster.", + "description": "Update the service principal Profile for a managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile" + }, + "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reset Service Principal Profile": { + "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": { + "post": { + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetAADProfile", + "summary": "Reset AAD Profile of a managed cluster.", + "description": "Update the AAD Profile for a managed cluster.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterAADProfile" + }, + "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reset AAD Profile": { + "$ref": "./examples/ManagedClustersResetAADProfile.json" + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationValue" + }, + "description": "The list of compute operations" + } + }, + "description": "The List Compute Operation operation response." + }, + "OperationValue": { + "properties": { + "origin": { + "type": "string", + "readOnly": true, + "description": "The origin of the compute operation." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the compute operation." + }, + "display": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationValueDisplay", + "description": "Describes the properties of a Compute Operation Value Display." + } + }, + "description": "Describes the properties of a Compute Operation value." + }, + "OperationValueDisplay": { + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "The display name of the compute operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "The display name of the resource the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "The description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "The resource provider for the operation." + } + }, + "description": "Describes the properties of a Compute Operation Value Display." + }, + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true + }, + "SubResource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "ContainerServiceOSDisk": { + "type": "integer", + "format": "int32", + "maximum": 1023, + "minimum": 0, + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "ContainerServiceStorageProfile": { + "type": "string", + "x-ms-enum": { + "name": "ContainerServiceStorageProfileTypes", + "modelAsString": true + }, + "enum": [ + "StorageAccount", + "ManagedDisks" + ], + "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice." + }, + "ContainerServiceVnetSubnetID": { + "type": "string", + "description": "VNet SubnetID specifies the VNet's subnet identifier." + }, + "ContainerServiceVMSize": { + "type": "string", + "x-ms-enum": { + "name": "ContainerServiceVMSizeTypes", + "modelAsString": true + }, + "description": "Size of agent VMs.", + "enum": [ + "Standard_A1", + "Standard_A10", + "Standard_A11", + "Standard_A1_v2", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_B2ms", + "Standard_B2s", + "Standard_B4ms", + "Standard_B8ms", + "Standard_D1", + "Standard_D11", + "Standard_D11_v2", + "Standard_D11_v2_Promo", + "Standard_D12", + "Standard_D12_v2", + "Standard_D12_v2_Promo", + "Standard_D13", + "Standard_D13_v2", + "Standard_D13_v2_Promo", + "Standard_D14", + "Standard_D14_v2", + "Standard_D14_v2_Promo", + "Standard_D15_v2", + "Standard_D16_v3", + "Standard_D16s_v3", + "Standard_D1_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D2_v2_Promo", + "Standard_D2_v3", + "Standard_D2s_v3", + "Standard_D3", + "Standard_D32_v3", + "Standard_D32s_v3", + "Standard_D3_v2", + "Standard_D3_v2_Promo", + "Standard_D4", + "Standard_D4_v2", + "Standard_D4_v2_Promo", + "Standard_D4_v3", + "Standard_D4s_v3", + "Standard_D5_v2", + "Standard_D5_v2_Promo", + "Standard_D64_v3", + "Standard_D64s_v3", + "Standard_D8_v3", + "Standard_D8s_v3", + "Standard_DS1", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS11_v2_Promo", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS12_v2_Promo", + "Standard_DS13", + "Standard_DS13-2_v2", + "Standard_DS13-4_v2", + "Standard_DS13_v2", + "Standard_DS13_v2_Promo", + "Standard_DS14", + "Standard_DS14-4_v2", + "Standard_DS14-8_v2", + "Standard_DS14_v2", + "Standard_DS14_v2_Promo", + "Standard_DS15_v2", + "Standard_DS1_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS2_v2_Promo", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS3_v2_Promo", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS4_v2_Promo", + "Standard_DS5_v2", + "Standard_DS5_v2_Promo", + "Standard_E16_v3", + "Standard_E16s_v3", + "Standard_E2_v3", + "Standard_E2s_v3", + "Standard_E32-16s_v3", + "Standard_E32-8s_v3", + "Standard_E32_v3", + "Standard_E32s_v3", + "Standard_E4_v3", + "Standard_E4s_v3", + "Standard_E64-16s_v3", + "Standard_E64-32s_v3", + "Standard_E64_v3", + "Standard_E64s_v3", + "Standard_E8_v3", + "Standard_E8s_v3", + "Standard_F1", + "Standard_F16", + "Standard_F16s", + "Standard_F16s_v2", + "Standard_F1s", + "Standard_F2", + "Standard_F2s", + "Standard_F2s_v2", + "Standard_F32s_v2", + "Standard_F4", + "Standard_F4s", + "Standard_F4s_v2", + "Standard_F64s_v2", + "Standard_F72s_v2", + "Standard_F8", + "Standard_F8s", + "Standard_F8s_v2", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS4-4", + "Standard_GS4-8", + "Standard_GS5", + "Standard_GS5-16", + "Standard_GS5-8", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_L16s", + "Standard_L32s", + "Standard_L4s", + "Standard_L8s", + "Standard_M128-32ms", + "Standard_M128-64ms", + "Standard_M128ms", + "Standard_M128s", + "Standard_M64-16ms", + "Standard_M64-32ms", + "Standard_M64ms", + "Standard_M64s", + "Standard_NC12", + "Standard_NC12s_v2", + "Standard_NC12s_v3", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC24rs_v2", + "Standard_NC24rs_v3", + "Standard_NC24s_v2", + "Standard_NC24s_v3", + "Standard_NC6", + "Standard_NC6s_v2", + "Standard_NC6s_v3", + "Standard_ND12s", + "Standard_ND24rs", + "Standard_ND24s", + "Standard_ND6s", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ] + }, + "ManagedClusterServicePrincipalProfile": { + "properties": { + "clientId": { + "type": "string", + "description": "The ID for the service principal." + }, + "secret": { + "type": "string", + "description": "The secret password associated with the service principal in plain text." + } + }, + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs.", + "required": [ + "clientId" + ] + }, + "ContainerServiceMasterProfile": { + "properties": { + "count": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 3, + 5 + ], + "x-ms-enum": { + "name": "Count", + "modelAsString": false + }, + "description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.", + "default": 1 + }, + "dnsPrefix": { + "type": "string", + "description": "DNS prefix to be used to create the FQDN for the master pool." + }, + "vmSize": { + "$ref": "#/definitions/ContainerServiceVMSize", + "description": "Size of agent VMs." + }, + "osDiskSizeGB": { + "$ref": "#/definitions/ContainerServiceOSDisk", + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "vnetSubnetID": { + "$ref": "#/definitions/ContainerServiceVnetSubnetID", + "description": "VNet SubnetID specifies the VNet's subnet identifier." + }, + "firstConsecutiveStaticIP": { + "type": "string", + "description": "FirstConsecutiveStaticIP used to specify the first static ip of masters.", + "default": "10.240.255.5" + }, + "storageProfile": { + "$ref": "#/definitions/ContainerServiceStorageProfile", + "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice." + }, + "fqdn": { + "readOnly": true, + "type": "string", + "description": "FQDN for the master pool." + } + }, + "required": [ + "dnsPrefix", + "vmSize" + ], + "description": "Profile for the container service master." + }, + "ManagedClusterAgentPoolProfileProperties": { + "properties": { + "count": { + "type": "integer", + "format": "int32", + "maximum": 100, + "minimum": 1, + "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ", + "default": 1 + }, + "vmSize": { + "$ref": "#/definitions/ContainerServiceVMSize", + "description": "Size of agent VMs." + }, + "osDiskSizeGB": { + "$ref": "#/definitions/ContainerServiceOSDisk", + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "vnetSubnetID": { + "$ref": "#/definitions/ContainerServiceVnetSubnetID", + "description": "VNet SubnetID specifies the VNet's subnet identifier." + }, + "maxPods": { + "type": "integer", + "format": "int32", + "description": "Maximum number of pods that can run on a node." + }, + "osType": { + "$ref": "#/definitions/OSType", + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "maxCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of nodes for auto-scaling" + }, + "minCount": { + "type": "integer", + "format": "int32", + "description": "Minimum number of nodes for auto-scaling" + }, + "enableAutoScaling": { + "type": "boolean", + "description": "Whether to enable auto-scaler" + }, + "type": { + "$ref": "#/definitions/AgentPoolType", + "description": "AgentPoolType represents types of an agent pool" + }, + "orchestratorVersion": { + "type": "string", + "description": "Version of orchestrator specified when creating the managed cluster." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + }, + "availabilityZones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType." + }, + "enableNodePublicIP": { + "type": "boolean", + "description": "Enable public IP for nodes" + }, + "scaleSetPriority": { + "$ref": "#/definitions/ScaleSetPriority", + "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular." + }, + "scaleSetEvictionPolicy": { + "$ref": "#/definitions/ScaleSetEvictionPolicy", + "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete." + }, + "nodeTaints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + } + }, + "required": [ + "vmSize", + "count" + ], + "description": "Properties for the container service agent pool profile." + }, + "ManagedClusterAgentPoolProfile": { + "allOf": [ + { + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties" + }, + { + "properties": { + "name": { + "type": "string", + "description": "Unique name of the agent pool profile in the context of the subscription and resource group.", + "pattern": "^[a-z][a-z0-9]{0,11}$" + } + } + } + ], + "required": [ + "name" + ], + "description": "Profile for the container service agent pool." + }, + "AgentPoolType": { + "type": "string", + "enum": [ + "VirtualMachineScaleSets", + "AvailabilitySet" + ], + "x-ms-enum": { + "name": "AgentPoolType", + "modelAsString": true + }, + "description": "AgentPoolType represents types of an agent pool. VirtualMachineScaleSets type is still in PREVIEW." + }, + "AgentPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AgentPool" + }, + "description": "The list of agent pools." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of agent pool results.", + "readOnly": true + } + }, + "description": "The response from the List Agent Pools operation." + }, + "AgentPool": { + "allOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "properties": { + "properties": { + "description": "Properties of an agent pool.", + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties", + "x-ms-client-flatten": true + } + } + } + ], + "description": "Agent Pool." + }, + "ManagedClusterWindowsProfile": { + "properties": { + "adminUsername": { + "type": "string", + "description": "The administrator username to use for Windows VMs.", + "pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$" + }, + "adminPassword": { + "type": "string", + "description": "The administrator password to use for Windows VMs.", + "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$" + } + }, + "required": [ + "adminUsername" + ], + "description": "Profile for Windows VMs in the container service cluster." + }, + "ContainerServiceLinuxProfile": { + "properties": { + "adminUsername": { + "type": "string", + "description": "The administrator username to use for Linux VMs.", + "pattern": "^[A-Za-z][-A-Za-z0-9_]*$" + }, + "ssh": { + "$ref": "#/definitions/ContainerServiceSshConfiguration", + "description": "SSH configuration for Linux-based VMs running on Azure." + } + }, + "required": [ + "adminUsername", + "ssh" + ], + "description": "Profile for Linux VMs in the container service cluster." + }, + "ContainerServiceNetworkProfile": { + "properties": { + "networkPlugin": { + "type": "string", + "enum": [ + "azure", + "kubenet" + ], + "default": "kubenet", + "x-ms-enum": { + "name": "NetworkPlugin", + "modelAsString": true + }, + "description": "Network plugin used for building Kubernetes network." + }, + "networkPolicy": { + "type": "string", + "enum": [ + "calico", + "azure" + ], + "x-ms-enum": { + "name": "NetworkPolicy", + "modelAsString": true + }, + "description": "Network policy used for building Kubernetes network." + }, + "podCidr": { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.244.0.0/16", + "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used." + }, + "serviceCidr": { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.0.0.0/16", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + }, + "dnsServiceIP": { + "type": "string", + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "default": "10.0.0.10", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "172.17.0.1/16", + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "loadBalancerSku": { + "type": "string", + "enum": [ + "standard", + "basic" + ], + "x-ms-enum": { + "name": "loadBalancerSku", + "modelAsString": true + }, + "description": "The load balancer sku for the managed cluster." + } + }, + "description": "Profile of network configuration." + }, + "ContainerServiceSshConfiguration": { + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerServiceSshPublicKey" + }, + "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified." + } + }, + "description": "SSH configuration for Linux-based VMs running on Azure.", + "required": [ + "publicKeys" + ] + }, + "ContainerServiceSshPublicKey": { + "properties": { + "keyData": { + "type": "string", + "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers." + } + }, + "required": [ + "keyData" + ], + "description": "Contains information about SSH certificate public key data." + }, + "ContainerServiceDiagnosticsProfile": { + "properties": { + "vmDiagnostics": { + "$ref": "#/definitions/ContainerServiceVMDiagnostics", + "description": "Profile for diagnostics on the container service VMs." + } + }, + "description": "Profile for diagnostics on the container service cluster.", + "required": [ + "vmDiagnostics" + ] + }, + "ContainerServiceVMDiagnostics": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the VM diagnostic agent is provisioned on the VM." + }, + "storageUri": { + "readOnly": true, + "type": "string", + "description": "The URI of the storage account where diagnostics are stored." + } + }, + "description": "Profile for diagnostics on the container service VMs.", + "required": [ + "enabled" + ] + }, + "ManagedClusterListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedCluster" + }, + "description": "The list of managed clusters." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of managed cluster results.", + "readOnly": true + } + }, + "description": "The response from the List Managed Clusters operation." + }, + "ManagedCluster": { + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "properties": { + "properties": { + "description": "Properties of a managed cluster.", + "$ref": "#/definitions/ManagedClusterProperties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedClusterIdentity", + "description": "The identity of the managed cluster, if configured." + } + } + } + ], + "description": "Managed cluster." + }, + "ManagedClusterProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + }, + "maxAgentPools": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The max number of agent pools for the managed cluster." + }, + "kubernetesVersion": { + "type": "string", + "description": "Version of Kubernetes specified when creating the managed cluster." + }, + "dnsPrefix": { + "type": "string", + "description": "DNS prefix specified when creating the managed cluster." + }, + "fqdn": { + "readOnly": true, + "type": "string", + "description": "FQDN for the master pool." + }, + "agentPoolProfiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterAgentPoolProfile" + }, + "description": "Properties of the agent pool." + }, + "linuxProfile": { + "$ref": "#/definitions/ContainerServiceLinuxProfile", + "description": "Profile for Linux VMs in the container service cluster." + }, + "windowsProfile": { + "$ref": "#/definitions/ManagedClusterWindowsProfile", + "description": "Profile for Windows VMs in the container service cluster." + }, + "servicePrincipalProfile": { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile", + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs." + }, + "addonProfiles": { + "additionalProperties": { + "$ref": "#/definitions/ManagedClusterAddonProfile" + }, + "description": "Profile of managed cluster add-on." + }, + "nodeResourceGroup": { + "type": "string", + "description": "Name of the resource group containing agent pool nodes." + }, + "enableRBAC": { + "type": "boolean", + "description": "Whether to enable Kubernetes Role-Based Access Control." + }, + "enablePodSecurityPolicy": { + "type": "boolean", + "description": "(PREVIEW) Whether to enable Kubernetes Pod security policy." + }, + "networkProfile": { + "$ref": "#/definitions/ContainerServiceNetworkProfile", + "description": "Profile of network configuration." + }, + "aadProfile": { + "$ref": "#/definitions/ManagedClusterAADProfile", + "description": "Profile of Azure Active Directory configuration." + }, + "apiServerAuthorizedIPRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(PREVIEW) Authorized IP Ranges to kubernetes API server." + } + }, + "description": "Properties of the managed cluster." + }, + "ManagedClusterIdentity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of the system assigned identity which is used by master components." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id of the system assigned identity which is used by master components." + }, + "type": { + "type": "string", + "description": "The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead.", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } + }, + "description": "Identity for the managed cluster." + }, + "ManagedClusterAccessProfile": { + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "properties": { + "properties": { + "description": "AccessProfile of a managed cluster.", + "$ref": "#/definitions/AccessProfile", + "x-ms-client-flatten": true + } + } + } + ], + "description": "Managed cluster Access Profile.", + "x-ms-azure-resource": false + }, + "AccessProfile": { + "type": "object", + "properties": { + "kubeConfig": { + "type": "string", + "format": "byte", + "description": "Base64-encoded Kubernetes configuration file." + } + }, + "description": "Profile for enabling a user to access a managed cluster." + }, + "ManagedClusterPoolUpgradeProfile": { + "properties": { + "kubernetesVersion": { + "type": "string", + "description": "Kubernetes version (major, minor, patch)." + }, + "name": { + "type": "string", + "description": "Pool name." + }, + "osType": { + "$ref": "#/definitions/OSType", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "ContainerServiceOSTypes", + "modelAsString": true + }, + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "upgrades": { + "type": "array", + "items": { + "type": "object", + "properties": { + "kubernetesVersion": { + "type": "string", + "description": "Kubernetes version (major, minor, patch)." + }, + "isPreview": { + "type": "boolean", + "description": "Whether Kubernetes version is currently in preview." + } + } + }, + "description": "List of orchestrator types and versions available for upgrade." + } + }, + "required": [ + "kubernetesVersion", + "osType" + ], + "description": "The list of available upgrade versions." + }, + "ManagedClusterUpgradeProfileProperties": { + "properties": { + "controlPlaneProfile": { + "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile", + "description": "The list of available upgrade versions for the control plane." + }, + "agentPoolProfiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile" + }, + "description": "The list of available upgrade versions for agent pools." + } + }, + "required": [ + "controlPlaneProfile", + "agentPoolProfiles" + ], + "description": "Control plane and agent pool upgrade profiles." + }, + "ManagedClusterAADProfile": { + "properties": { + "clientAppID": { + "type": "string", + "description": "The client AAD application ID." + }, + "serverAppID": { + "type": "string", + "description": "The server AAD application ID." + }, + "serverAppSecret": { + "type": "string", + "description": "The server AAD application secret." + }, + "tenantID": { + "type": "string", + "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription." + } + }, + "required": [ + "clientAppID", + "serverAppID" + ], + "description": "AADProfile specifies attributes for Azure Active Directory integration." + }, + "ManagedClusterAddonProfile": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the add-on is enabled or not." + }, + "config": { + "additionalProperties": { + "type": "string" + }, + "description": "Key-value pairs for configuring an add-on." + } + }, + "required": [ + "enabled" + ], + "description": "A Kubernetes add-on profile for a managed cluster." + }, + "ManagedClusterUpgradeProfile": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Id of upgrade profile." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of upgrade profile." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of upgrade profile." + }, + "properties": { + "$ref": "#/definitions/ManagedClusterUpgradeProfileProperties", + "description": "Properties of upgrade profile.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "description": "The list of available upgrades for compute pools." + }, + "AgentPoolUpgradeProfile": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Id of the agent pool upgrade profile." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the agent pool upgrade profile." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the agent pool upgrade profile." + }, + "properties": { + "$ref": "#/definitions/AgentPoolUpgradeProfileProperties", + "description": "Properties of agent pool upgrade profile.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "description": "The list of available upgrades for an agent pool." + }, + "AgentPoolUpgradeProfileProperties": { + "properties": { + "kubernetesVersion": { + "type": "string", + "description": "Kubernetes version (major, minor, patch)." + }, + "osType": { + "$ref": "#/definitions/OSType", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "ContainerServiceOSTypes", + "modelAsString": true + }, + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "upgrades": { + "type": "array", + "items": { + "type": "object", + "properties": { + "kubernetesVersion": { + "type": "string", + "description": "Kubernetes version (major, minor, patch)." + }, + "isPreview": { + "type": "boolean", + "description": "Whether Kubernetes version is currently in preview." + } + } + }, + "description": "List of orchestrator types and versions available for upgrade." + } + }, + "required": [ + "kubernetesVersion", + "osType" + ], + "description": "The list of available upgrade versions." + }, + "AgentPoolAvailableVersions":{ + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Id of the agent pool available versions." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the agent pool available versions." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the agent pool available versions." + }, + "properties": { + "$ref": "#/definitions/AgentPoolAvailableVersionsProperties", + "description": "Properties of agent pool available versions.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "description": "The list of available versions for an agent pool." + }, + "AgentPoolAvailableVersionsProperties": { + "properties": { + "agentPoolVersions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "default":{ + "type": "boolean", + "description": "Whether this version is the default agent pool version." + }, + "kubernetesVersion": { + "type": "string", + "description": "Kubernetes version (major, minor, patch)." + }, + "isPreview": { + "type": "boolean", + "description": "Whether Kubernetes version is currently in preview." + } + } + }, + "description": "List of versions available for agent pool." + } + }, + "description": "The list of available agent pool versions." + }, + "OSType": { + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": true + }, + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "ScaleSetPriority": { + "type": "string", + "default": "Regular", + "enum": [ + "Low", + "Regular" + ], + "x-ms-enum": { + "name": "ScaleSetPriority", + "modelAsString": true + }, + "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular." + }, + "ScaleSetEvictionPolicy": { + "type": "string", + "default": "Delete", + "enum": [ + "Delete", + "Deallocate" + ], + "x-ms-enum": { + "name": "ScaleSetEvictionPolicy", + "modelAsString": true + }, + "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete." + }, + "CredentialResults": { + "properties": { + "kubeconfigs": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CredentialResult" + }, + "description": "Base64-encoded Kubernetes configuration file." + } + }, + "description": "The list of credential result response." + }, + "CredentialResult": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the credential." + }, + "value": { + "type": "string", + "format": "byte", + "readOnly": true, + "description": "Base64-encoded Kubernetes configuration file." + } + }, + "description": "The credential result response." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Details about the error." + } + }, + "description": "An error response from the Container service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Container service." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version.", + "x-ms-parameter-location": "client" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "minLength": 1, + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$", + "description": "The name of the managed cluster resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md index 374b4a7f9ba0..cd3fe39070d2 100644 --- a/specification/containerservice/resource-manager/readme.go.md +++ b/specification/containerservice/resource-manager/readme.go.md @@ -12,6 +12,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-09-30-preview @@ -22,6 +23,16 @@ batch: - tag: package-2017-07 ``` +### Tag: package-2019-06 and go + +These settings apply only when `--package-2019-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2019-06' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace) +``` + ### Tag: package-2019-04 and go These settings apply only when `--package-2019-04 --go` is specified on the command line. diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md index a175cd52b33e..7dd13f349048 100644 --- a/specification/containerservice/resource-manager/readme.md +++ b/specification/containerservice/resource-manager/readme.md @@ -34,7 +34,20 @@ These are the global settings for the ContainerServices API. ``` yaml openapi-type: arm -tag: package-2019-04 +tag: package-2019-06 +``` + + +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json + - Microsoft.ContainerService/stable/2017-07-01/containerService.json + - Microsoft.ContainerService/stable/2019-06-01/location.json + - Microsoft.ContainerService/stable/2019-06-01/managedClusters.json ``` ### Tag: package-2019-04 @@ -126,11 +139,20 @@ input-file: - Microsoft.ContainerService/stable/2017-07-01/containerService.json ``` +### Tag: package-2019-06-01-only + +These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-01-only' +input-file: +- Microsoft.ContainerService/stable/2019-06-01/managedClusters.json +``` + ### Tag: package-2019-04-30-only These settings apply only when `--tag=package-2019-04-30-only` is specified on the command line. -```yaml $(tag) == 'package-2019-04-30-only' +``` yaml $(tag) == 'package-2019-04-30-only' input-file: - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json ``` @@ -139,7 +161,7 @@ input-file: These settings apply only when `--tag=package-2019-04-01-only` is specified on the command line. -```yaml $(tag) == 'package-2019-04-01-only' +``` yaml $(tag) == 'package-2019-04-01-only' input-file: - Microsoft.ContainerService/stable/2019-04-01/managedClusters.json ``` diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md index 2bc6bd783221..1b10b8c9525f 100644 --- a/specification/containerservice/resource-manager/readme.python.md +++ b/specification/containerservice/resource-manager/readme.python.md @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2019-06-01-only - tag: package-2019-04-30-only - tag: package-2019-04-01-only - tag: package-2019-02-only @@ -27,6 +28,17 @@ batch: - tag: package-2017-07-only-extended ``` +### Tag: package-2019-06-01-only and python + +These settings apply only when `--tag=package-2019-06-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-only' && $(python) +python: + namespace: azure.mgmt.containerservice.v2019_06_01 + output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01 +``` + ### Tag: package-2019-04-30-only and python These settings apply only when `--tag=package-2019-04-30-only --python` is specified on the command line. From bf6d88fcd8f8c16ff2034015f887d5c7b4a2629a Mon Sep 17 00:00:00 2001 From: Rich Franklin Date: Wed, 19 Jun 2019 18:00:15 +0000 Subject: [PATCH 102/495] IMDS Swagger for 2019-03-11 and 2019-06-01 (#6356) * IMDS Swagger for 2019-02-01 * -Added IMDS version 2019-03-11 -Added IMDS version 2019-06-01 * Removed old examples * Tabs to spaces * More tabs to spaces * Fix spellcheck errors --- .../2019-03-11/examples/GetAttestedData.json | 15 + .../2019-03-11/examples/GetIdentityInfo.json | 13 + .../2019-03-11/examples/GetIdentityToken.json | 20 + .../examples/GetInstanceMetadata.json | 49 + .../stable/2019-03-11/imds.json | 629 ++++++++++++ .../2019-06-01/examples/GetAttestedData.json | 15 + .../examples/GetGalleryApplication.json | 12 + .../2019-06-01/examples/GetIdentityInfo.json | 13 + .../2019-06-01/examples/GetIdentityToken.json | 20 + .../examples/GetInstanceMetadata.json | 98 ++ .../examples/ListGalleryApplications.json | 23 + .../stable/2019-06-01/imds.json | 952 ++++++++++++++++++ specification/imds/data-plane/readme.md | 50 + 13 files changed, 1909 insertions(+) create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json new file mode 100644 index 000000000000..2e082d30492b --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-03-11", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json new file mode 100644 index 000000000000..b56684ee5d5a --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json new file mode 100644 index 000000000000..ec9675f9af06 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json new file mode 100644 index 000000000000..0c71578aea36 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" + } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" + } + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json new file mode 100644 index 000000000000..5a3793bc1f8f --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json @@ -0,0 +1,629 @@ +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-03-11" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } + } + } + }, + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } + } + } + }, + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." + }, + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." + }, + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." + }, + "name": { + "type": "string", + "description": "This is the name of the VM." + }, + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." + }, + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." + }, + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." + }, + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type":"string", + "description":"This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type":"array", + "description": "This contains data about the network interface.", + "items": { + "type": "object", + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type":"object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref":"#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type":"array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } + } + } + }, + "ipv6": { + "type":"object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref":"#/definitions/Ipv6Properties" + } + } + } + }, + "macAddress": { + "type":"string", + "description":"This is the MAC address of the interface." + } + } + }, + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." + }, + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type":"string", + "description":"This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type":"string", + "description":"This is the address range of the subnet." + }, + "prefix": { + "type":"string", + "description":"This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json new file mode 100644 index 000000000000..a9f823b2ea49 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json new file mode 100644 index 000000000000..7b1df3bd36b2 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true", + "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd" + }, + "responses": { + "200": { + "body": "{application binary package}" + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json new file mode 100644 index 000000000000..8d537551fdb4 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json new file mode 100644 index 000000000000..ef14f423756f --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json new file mode 100644 index 000000000000..5ae40dcfe56b --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AZUREPUBLICCLOUD", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" + } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "storageProfile": { + "dataDisks": [ + { + "caching": "None", + "createOption": "Empty", + "diskSizeGB": "1024", + "image": { + "uri": "" + }, + "lun": "0", + "managedDisk": { + "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname", + "storageAccountType": "Standard_LRS" + }, + "name": "exampledatadiskname", + "vhd": { + "uri": "" + }, + "writeAcceleratorEnabled": "false" + } + ], + "imageReference": { + "id": "", + "offer": "UbuntuServer", + "publisher": "Canonical", + "sku": "16.04.0-LTS", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "diskSizeGB": "30", + "encryptionSettings": { + "enabled": "false" + }, + "image": { + "uri": "" + }, + "managedDisk": { + "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname", + "storageAccountType": "Standard_LRS" + }, + "name": "exampleosdiskname", + "osType": "Linux", + "vhd": { + "uri": "" + }, + "writeAcceleratorEnabled": "false" + } + }, + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" + } + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json new file mode 100644 index 000000000000..07f249760571 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "applications": [{ + "tags": "0", + "enableHealthCheck": true, + "packageFile": { + "contentType": "zip", + "fileName": "myapp.zip", + "id": "/subscriptions/12345678-65F4-4A5A-839F-E7CFB49F1541/resourceGroups/rgName/providers/Microsoft.Compute/galleries/msit-certified/applications/application/versions/1.0", + "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd" + } + } + ] + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json new file mode 100644 index 000000000000..8c8f8d8ea130 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json @@ -0,0 +1,952 @@ +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-06-01" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/applications": { + "get": { + "operationId": "GalleryApplications_List", + "description": "Get list of the gallery applications.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplications" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get list of the gallery applications": { + "$ref": "./examples/ListGalleryApplications.json" + } + } + } + }, + "/applications/app": { + "get": { + "operationId": "GalleryApplication_Get", + "description": "Get application package.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "incarnationId", + "in": "query", + "required": true, + "type": "string", + "description": "Incarnation Id of the gallery application" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplicationResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get gallery application package": { + "$ref": "./examples/GetGalleryApplication.json" + } + } + } + }, + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } + } + } + }, + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } + } + } + }, + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." + }, + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." + }, + "name": { + "type": "string", + "description": "This is the name of the VM." + }, + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." + }, + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." + }, + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." + }, + "storageProfile": { + "type": "object", + "description": "This contains the data about the storage disks associated with the VM.", + "$ref": "#/definitions/StorageProfile" + }, + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type":"string", + "description":"This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type":"array", + "description": "This contains data about the network interface.", + "items": { + "type": "object", + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type":"object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref":"#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type":"array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } + } + } + }, + "ipv6": { + "type":"object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref":"#/definitions/Ipv6Properties" + } + } + } + }, + "macAddress": { + "type":"string", + "description":"This is the MAC address of the interface." + } + } + }, + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." + }, + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type":"string", + "description":"This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type":"string", + "description":"This is the address range of the subnet." + }, + "prefix": { + "type":"string", + "description":"This is the prefix of the subnet." + } + } + }, + "StorageProfile": { + "type": "object", + "description": "This contains the data about the storage disks associated with the VM.", + "properties": { + "imageReference": { + "type": "object", + "$ref": "#/definitions/ImageReference", + "description": "Image information" + }, + "osDisk": { + "type": "object", + "$ref": "#/definitions/OsDisk", + "description": "OS disk information" + }, + "dataDisks": { + "type":"array", + "description": "Data disk information", + "items": { + "type": "object", + "description": "This contains information about the data disk.", + "$ref": "#/definitions/DataDisk" + } + } + } + }, + "ImageReference": { + "type": "object", + "description": "This contains information about the OS image.", + "properties": { + "id": { + "type": "string", + "description": "This is the resource ID." + }, + "offer": { + "type": "string", + "description": "This is the offer of the platform or marketplace image." + }, + "publisher": { + "type": "string", + "description": "This is the image publisher." + }, + "sku": { + "type": "string", + "description": "This is the image SKU." + }, + "version": { + "type": "string", + "description": "This is the version of the platform or marketplace image." + } + } + }, + "OsDisk": { + "type": "object", + "description": "This contains information about the OS disk used by the VM.", + "properties": { + "caching": { + "type": "string", + "description": "This is the the caching requirements." + }, + "createOption": { + "type": "string", + "description": "This is information about how the VM was created." + }, + "diskSizeGB": { + "type": "string", + "description": "This is the size of the disk in GB." + }, + "encryptionSettings": { + "type": "object", + "description": "This is the encryption settings for the disk.", + "$ref": "#/definitions/EncryptionSettings" + }, + "image": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "$ref": "#/definitions/DiskImage" + }, + "managedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "$ref": "#/definitions/ManagedDisk" + }, + "name": { + "type": "string", + "description": "This is the disk name." + }, + "osType": { + "type": "string", + "description": "This is the type of OS included in the disk." + }, + "vhd": { + "type": "object", + "description": "This is the virtual hard disk.", + "$ref": "#/definitions/VirtualHardDisk" + }, + "writeAcceleratorEnabled": { + "type": "string", + "description": "This specifies whether or not writeAccelerator is enabled on the disk." + } + } + }, + "DataDisk": { + "type": "object", + "description": "This contains information about the data disk.", + "properties": { + "caching": { + "type": "string", + "description": "This is the the caching requirements." + }, + "createOption": { + "type": "string", + "description": "This is information about how the VM was created." + }, + "diskSizeGB": { + "type": "string", + "description": "This is the size of the disk in GB." + }, + "image": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "$ref": "#/definitions/DiskImage" + }, + "lun": { + "type": "string", + "description": "This is the logical unit number of the disk." + }, + "managedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "$ref": "#/definitions/ManagedDisk" + }, + "name": { + "type": "string", + "description": "This is the disk name." + }, + "vhd": { + "type": "object", + "description": "This is the virtual hard disk.", + "$ref": "#/definitions/VirtualHardDisk" + }, + "writeAcceleratorEnabled": { + "type": "string", + "description": "This specifies whether or not writeAccelerator is enabled on the disk." + } + } + }, + "EncryptionSettings": { + "type": "object", + "description": "This is the encryption settings for the disk.", + "properties": { + "enabled": { + "type": "string", + "description": "This specifies whether or not disk encryption is enabled on the VM." + } + } + }, + "DiskImage": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "properties": { + "uri": { + "type": "string", + "description": "This is the uri of the virtual hard disk." + } + } + }, + "ManagedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "properties": { + "id": { + "type": "string", + "description": "This is the resource ID." + }, + "storageAccountType": { + "type": "string", + "description": "This is the storage account type for the managed disk." + } + } + }, + "VirtualHardDisk": { + "type": "object", + "description": "This is the virtual hard disk.", + "properties": { + "uri": { + "type": "string", + "description": "This is the uri of the virtual hard disk." + } + } + }, + "ApplicationResponse": { + "type": "string", + "description": "This is a binary string containing the application." + }, + "GalleryApplications": { + "type": "object", + "description": "This is the response from the GalleryApplications_List operation.", + "properties": { + "applications": { + "type":"array", + "description": "List of gallery applications", + "items": { + "type": "object", + "description": "This contains information about the gallery application.", + "$ref": "#/definitions/GalleryApplication" + } + } + } + }, + "GalleryApplication": { + "type": "object", + "description": "This contains information about the gallery application.", + "properties": { + "tags": { + "type": "string", + "description": "Optional attribute to passthrough value for more generic context" + }, + "enableHealthCheck": { + "type": "boolean", + "description": "It indicates if this application reports health status" + }, + "packageFile": { + "$ref": "#/definitions/PackageFile", + "description": "Package properties of the gallery application" + } + } + }, + "PackageFile": { + "type": "object", + "description": "Package properties of the gallery application.", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the gallery application" + }, + "incarnationId": { + "type": "string", + "description": "Unique identifier for this particular application instance" + }, + "fileName": { + "type": "string", + "description": "Application package file name" + }, + "contentType": { + "type": "string", + "description": "Application package type" + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md index 3edf0a3ddfbb..a16713027481 100644 --- a/specification/imds/data-plane/readme.md +++ b/specification/imds/data-plane/readme.md @@ -44,6 +44,24 @@ input-file: - Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json ``` +### Tag: package-2019-03-11 + +These settings apply only when `--tag=package-2019-03-11` is specified on the command line. + +```yaml $(tag) == 'package-2019-03-11' +input-file: +- Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json +``` + +### Tag: package-2019-06-01 + +These settings apply only when `--tag=package-2019-06-01` is specified on the command line. + +```yaml $(tag) == 'package-2019-06-01' +input-file: +- Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json +``` + ## Suppression ``` yaml directive: @@ -66,6 +84,38 @@ input-file: - suppress: DefinitionsPropertiesNamesCamelCase reason: The following properties follow the Oath2 spec, which does not use camelCase. from: Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json + where: + - $.definitions.IdentityTokenResponse.properties.access_token + - $.definitions.IdentityTokenResponse.properties.expires_in + - $.definitions.IdentityTokenResponse.properties.expires_on + - $.definitions.IdentityTokenResponse.properties.ext_expires_in + - $.definitions.IdentityTokenResponse.properties.not_before + - $.definitions.IdentityTokenResponse.properties.resource + - $.definitions.IdentityTokenResponse.properties.token_type + - $.definitions.IdentityTokenResponse.properties.client_id + - $.definitions.IdentityTokenResponse.properties.object_id + - $.definitions.IdentityTokenResponse.properties.msi_res_id + - $.definitions.IdentityErrorResponse.properties.error_description + + - suppress: DefinitionsPropertiesNamesCamelCase + reason: The following properties follow the Oath2 spec, which does not use camelCase. + from: Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json + where: + - $.definitions.IdentityTokenResponse.properties.access_token + - $.definitions.IdentityTokenResponse.properties.expires_in + - $.definitions.IdentityTokenResponse.properties.expires_on + - $.definitions.IdentityTokenResponse.properties.ext_expires_in + - $.definitions.IdentityTokenResponse.properties.not_before + - $.definitions.IdentityTokenResponse.properties.resource + - $.definitions.IdentityTokenResponse.properties.token_type + - $.definitions.IdentityTokenResponse.properties.client_id + - $.definitions.IdentityTokenResponse.properties.object_id + - $.definitions.IdentityTokenResponse.properties.msi_res_id + - $.definitions.IdentityErrorResponse.properties.error_description + + - suppress: DefinitionsPropertiesNamesCamelCase + reason: The following properties follow the Oath2 spec, which does not use camelCase. + from: Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json where: - $.definitions.IdentityTokenResponse.properties.access_token - $.definitions.IdentityTokenResponse.properties.expires_in From ffa09e0db0181011deca68642ef73a3c1011e722 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 19 Jun 2019 14:01:23 -0400 Subject: [PATCH 103/495] fix: machinelearning model validation (#6376) * typo: GraphParameters -> graphParameters * typo: Edges -> edges * typo: Nodes -> nodes * typo: Parameters -> parameters * typo: AssetId -> assetId * typo: InputId -> inputId * typo: OutputId -> outputId * typo: TargetPortId -> targetPortId * typo: TargetNodeId -> targetNodeId * typo: SourceNodeId -> sourceNodeId * typo: SourcePortId -> sourcePortId * typo: CertificateThumbprint -> certificateThumbprint * typo: Value -> value --- .../2017-01-01/examples/getWebService.json | 62 +++--- .../2017-01-01/examples/patchWebService.json | 62 +++--- .../2017-01-01/examples/putWebService.json | 186 +++++++++--------- 3 files changed, 155 insertions(+), 155 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json index 95274f6d6373..384cf602287e 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json @@ -102,67 +102,67 @@ } }, "package": { - "Nodes": { + "nodes": { "node1": { - "AssetId": "asset1", - "Parameters": { + "assetId": "asset1", + "parameters": { "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" + "value": "The R Script", + "certificateThumbprint": "" }, "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" + "value": "CRAN R 3.1.0", + "certificateThumbprint": "" } } }, "node2": { - "AssetId": "asset2", - "Parameters": { + "assetId": "asset2", + "parameters": { "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" + "value": "AzureBlobStorage", + "certificateThumbprint": "" }, "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" + "value": "Account", + "certificateThumbprint": "" }, "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" + "value": "accountName", + "certificateThumbprint": "" }, "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" + "value": "Encrypted Key", + "certificateThumbprint": "TheThumbprint" } } }, "node3": { - "InputId": "input1" + "inputId": "input1" }, "node4": { - "OutputId": "output1" + "outputId": "output1" } }, - "Edges": [ + "edges": [ { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" + "sourceNodeId": "node2", + "sourcePortId": "Results dataset", + "targetNodeId": "node1", + "targetPortId": "Dataset2" }, { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" + "sourceNodeId": "node3", + "targetNodeId": "node1", + "targetPortId": "Dataset1" }, { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" + "sourceNodeId": "node1", + "sourcePortId": "Result Dataset", + "targetNodeId": "node4" } ], - "GraphParameters": {} + "graphParameters": {} }, "exampleRequest": { "inputs": { diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json index f39ac13175df..95f890eac1cb 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json @@ -112,67 +112,67 @@ } }, "package": { - "Nodes": { + "nodes": { "node1": { - "AssetId": "asset1", - "Parameters": { + "assetId": "asset1", + "parameters": { "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" + "value": "The R Script", + "certificateThumbprint": "" }, "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" + "value": "CRAN R 3.1.0", + "certificateThumbprint": "" } } }, "node2": { - "AssetId": "asset2", - "Parameters": { + "assetId": "asset2", + "parameters": { "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" + "value": "AzureBlobStorage", + "certificateThumbprint": "" }, "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" + "value": "Account", + "certificateThumbprint": "" }, "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" + "value": "accountName", + "certificateThumbprint": "" }, "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" + "value": "Encrypted Key", + "certificateThumbprint": "TheThumbprint" } } }, "node3": { - "InputId": "input1" + "inputId": "input1" }, "node4": { - "OutputId": "output1" + "outputId": "output1" } }, - "Edges": [ + "edges": [ { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" + "sourceNodeId": "node2", + "sourcePortId": "Results dataset", + "targetNodeId": "node1", + "targetPortId": "Dataset2" }, { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" + "sourceNodeId": "node3", + "targetNodeId": "node1", + "targetPortId": "Dataset1" }, { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" + "sourceNodeId": "node1", + "sourcePortId": "Result Dataset", + "targetNodeId": "node4" } ], - "GraphParameters": {} + "graphParameters": {} }, "exampleRequest": { "inputs": { diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json index a780004fa25b..61026523d6e1 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json @@ -94,67 +94,67 @@ } }, "package": { - "Nodes": { + "nodes": { "node1": { - "AssetId": "asset1", - "Parameters": { + "assetId": "asset1", + "parameters": { "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" + "value": "The R Script", + "certificateThumbprint": "" }, "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" + "value": "CRAN R 3.1.0", + "certificateThumbprint": "" } } }, "node2": { - "AssetId": "asset2", - "Parameters": { + "assetId": "asset2", + "parameters": { "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" + "value": "AzureBlobStorage", + "certificateThumbprint": "" }, "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" + "value": "Account", + "certificateThumbprint": "" }, "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" + "value": "accountName", + "certificateThumbprint": "" }, "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" + "value": "Encrypted Key", + "certificateThumbprint": "TheThumbprint" } } }, "node3": { - "InputId": "input1" + "inputId": "input1" }, "node4": { - "OutputId": "output1" + "outputId": "output1" } }, - "Edges": [ + "edges": [ { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" + "sourceNodeId": "node2", + "sourcePortId": "Results dataset", + "targetNodeId": "node1", + "targetPortId": "Dataset2" }, { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" + "sourceNodeId": "node3", + "targetNodeId": "node1", + "targetPortId": "Dataset1" }, { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" + "sourceNodeId": "node1", + "sourcePortId": "Result Dataset", + "targetNodeId": "node4" } ], - "GraphParameters": {} + "graphParameters": {} }, "exampleRequest": { "inputs": { @@ -280,67 +280,67 @@ } }, "package": { - "Nodes": { + "nodes": { "node1": { - "AssetId": "asset1", - "Parameters": { + "assetId": "asset1", + "parameters": { "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" + "value": "The R Script", + "certificateThumbprint": "" }, "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" + "value": "CRAN R 3.1.0", + "certificateThumbprint": "" } } }, "node2": { - "AssetId": "asset2", - "Parameters": { + "assetId": "asset2", + "parameters": { "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" + "value": "AzureBlobStorage", + "certificateThumbprint": "" }, "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" + "value": "Account", + "certificateThumbprint": "" }, "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" + "value": "accountName", + "certificateThumbprint": "" }, "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" + "value": "Encrypted Key", + "certificateThumbprint": "TheThumbprint" } } }, "node3": { - "InputId": "input1" + "inputId": "input1" }, "node4": { - "OutputId": "output1" + "outputId": "output1" } }, - "Edges": [ + "edges": [ { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" + "sourceNodeId": "node2", + "sourcePortId": "Results dataset", + "targetNodeId": "node1", + "targetPortId": "Dataset2" }, { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" + "sourceNodeId": "node3", + "targetNodeId": "node1", + "targetPortId": "Dataset1" }, { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" + "sourceNodeId": "node1", + "sourcePortId": "Result Dataset", + "targetNodeId": "node4" } ], - "GraphParameters": {} + "graphParameters": {} }, "exampleRequest": { "inputs": { @@ -465,67 +465,67 @@ } }, "package": { - "Nodes": { + "nodes": { "node1": { - "AssetId": "asset1", - "Parameters": { + "assetId": "asset1", + "parameters": { "R Script": { - "Value": "The R Script", - "CertificateThumbprint": "" + "value": "The R Script", + "certificateThumbprint": "" }, "R Version": { - "Value": "CRAN R 3.1.0", - "CertificateThumbprint": "" + "value": "CRAN R 3.1.0", + "certificateThumbprint": "" } } }, "node2": { - "AssetId": "asset2", - "Parameters": { + "assetId": "asset2", + "parameters": { "Please Specify Data Source": { - "Value": "AzureBlobStorage", - "CertificateThumbprint": "" + "value": "AzureBlobStorage", + "certificateThumbprint": "" }, "Please Specify Authentication Type": { - "Value": "Account", - "CertificateThumbprint": "" + "value": "Account", + "certificateThumbprint": "" }, "Account Name": { - "Value": "accountName", - "CertificateThumbprint": "" + "value": "accountName", + "certificateThumbprint": "" }, "Account Key": { - "Value": "Encrypted Key", - "CertificateThumbprint": "TheThumbprint" + "value": "Encrypted Key", + "certificateThumbprint": "TheThumbprint" } } }, "node3": { - "InputId": "input1" + "inputId": "input1" }, "node4": { - "OutputId": "output1" + "outputId": "output1" } }, - "Edges": [ + "edges": [ { - "SourceNodeId": "node2", - "SourcePortId": "Results dataset", - "TargetNodeId": "node1", - "TargetPortId": "Dataset2" + "sourceNodeId": "node2", + "sourcePortId": "Results dataset", + "targetNodeId": "node1", + "targetPortId": "Dataset2" }, { - "SourceNodeId": "node3", - "TargetNodeId": "node1", - "TargetPortId": "Dataset1" + "sourceNodeId": "node3", + "targetNodeId": "node1", + "targetPortId": "Dataset1" }, { - "SourceNodeId": "node1", - "SourcePortId": "Result Dataset", - "TargetNodeId": "node4" + "sourceNodeId": "node1", + "sourcePortId": "Result Dataset", + "targetNodeId": "node4" } ], - "GraphParameters": {} + "graphParameters": {} }, "exampleRequest": { "inputs": { From 1529f8b9e7824b3115530352a5fdbf69bb26190a Mon Sep 17 00:00:00 2001 From: Scott Phibbs Date: Wed, 19 Jun 2019 13:23:34 -0700 Subject: [PATCH 104/495] Update 2019-07-01-profile.json (#6388) Fixing info / name to the correct name. --- profile/2019-07-01-profile.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile/2019-07-01-profile.json b/profile/2019-07-01-profile.json index e835adb03cd7..9e8054633e58 100644 --- a/profile/2019-07-01-profile.json +++ b/profile/2019-07-01-profile.json @@ -1,6 +1,6 @@ { "info": { - "name": "2019-06-01-profile", + "name": "2019-07-01-profile", "description": "Profile definition targeted for hybrid applications that could run on azure gov general availability version and azure cloud" }, "resourcemanager": { @@ -2739,4 +2739,4 @@ } } } -} \ No newline at end of file +} From d65e90c92c886ef56197100ee0d7e593297ef24a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 19 Jun 2019 17:11:03 -0400 Subject: [PATCH 105/495] chore: jsonfmt logic (#6128) Ran `jsonfmt -w "specification/logic/**/*.json"` --- .../preview/2015-02-01-preview/logic.json | 4 +- .../preview/2015-08-01-preview/logic.json | 7308 ++++++++--------- ...ationAccountAgreements_CreateOrUpdate.json | 2 +- .../IntegrationAccountAgreements_Delete.json | 2 +- .../IntegrationAccountAgreements_Get.json | 2 +- .../IntegrationAccountAgreements_List.json | 2 +- ...ountAgreements_ListContentCallbackUrl.json | 2 +- ...ationAccountAssemblies_CreateOrUpdate.json | 2 +- .../IntegrationAccountAssemblies_Delete.json | 2 +- .../IntegrationAccountAssemblies_Get.json | 2 +- .../IntegrationAccountAssemblies_List.json | 2 +- ...ountAssemblies_ListContentCallbackUrl.json | 2 +- ...untBatchConfigurations_CreateOrUpdate.json | 2 +- ...tionAccountBatchConfigurations_Delete.json | 2 +- ...grationAccountBatchConfigurations_Get.json | 2 +- ...rationAccountBatchConfigurations_List.json | 2 +- ...ionAccountCertificates_CreateOrUpdate.json | 2 +- ...IntegrationAccountCertificates_Delete.json | 2 +- .../IntegrationAccountCertificates_Get.json | 2 +- .../IntegrationAccountCertificates_List.json | 2 +- ...IntegrationAccountMaps_CreateOrUpdate.json | 2 +- .../IntegrationAccountMaps_Delete.json | 2 +- .../examples/IntegrationAccountMaps_Get.json | 2 +- .../examples/IntegrationAccountMaps_List.json | 2 +- ...ionAccountMaps_ListContentCallbackUrl.json | 2 +- ...grationAccountPartners_CreateOrUpdate.json | 2 +- .../IntegrationAccountPartners_Delete.json | 2 +- .../IntegrationAccountPartners_Get.json | 2 +- .../IntegrationAccountPartners_List.json | 2 +- ...ccountPartners_ListContentCallbackUrl.json | 2 +- ...egrationAccountSchemas_CreateOrUpdate.json | 2 +- .../IntegrationAccountSchemas_Delete.json | 2 +- .../IntegrationAccountSchemas_Get.json | 2 +- .../IntegrationAccountSchemas_List.json | 2 +- ...AccountSchemas_ListContentCallbackUrl.json | 2 +- ...grationAccountSessions_CreateOrUpdate.json | 2 +- .../IntegrationAccountSessions_Delete.json | 2 +- .../IntegrationAccountSessions_Get.json | 2 +- .../IntegrationAccountSessions_List.json | 2 +- .../IntegrationAccounts_CreateOrUpdate.json | 2 +- .../examples/IntegrationAccounts_Delete.json | 2 +- .../examples/IntegrationAccounts_Get.json | 2 +- ...tegrationAccounts_ListByResourceGroup.json | 2 +- ...ntegrationAccounts_ListBySubscription.json | 2 +- .../IntegrationAccounts_ListCallbackUrl.json | 2 +- .../IntegrationAccounts_ListKeyVaultKeys.json | 2 +- ...IntegrationAccounts_LogTrackingEvents.json | 2 +- ...tegrationAccounts_RegenerateAccessKey.json | 2 +- .../examples/IntegrationAccounts_Update.json | 2 +- ...vironmentManagedApiApiOperations_List.json | 2 +- ...tionServiceEnvironmentManagedApis_Get.json | 2 +- ...ionServiceEnvironmentManagedApis_List.json | 2 +- ...IntegrationServiceEnvironments_Delete.json | 2 +- .../IntegrationServiceEnvironments_Get.json | 2 +- ...rviceEnvironments_ListByResourceGroup.json | 2 +- ...erviceEnvironments_ListBySubscription.json | 2 +- .../examples/Operations_List.json | 2 +- ...ActionRepetitionsRequestHistories_Get.json | 2 +- ...ctionRepetitionsRequestHistories_List.json | 2 +- .../WorkflowRunActionRepetitions_Get.json | 2 +- .../WorkflowRunActionRepetitions_List.json | 2 +- ...ctionRepetitions_ListExpressionTraces.json | 2 +- ...WorkflowRunActionRequestHistories_Get.json | 2 +- ...orkflowRunActionRequestHistories_List.json | 2 +- ...WorkflowRunActionScopeRepetitions_Get.json | 2 +- ...orkflowRunActionScopeRepetitions_List.json | 2 +- .../examples/WorkflowRunActions_Get.json | 2 +- .../examples/WorkflowRunActions_List.json | 2 +- ...rkflowRunActions_ListExpressionTraces.json | 2 +- .../examples/WorkflowRunOperations_Get.json | 2 +- .../examples/WorkflowRuns_Cancel.json | 2 +- .../examples/WorkflowRuns_Get.json | 2 +- .../examples/WorkflowRuns_List.json | 2 +- .../WorkflowTriggerHistories_Get.json | 2 +- .../WorkflowTriggerHistories_List.json | 2 +- .../WorkflowTriggerHistories_Resubmit.json | 2 +- .../examples/WorkflowTriggers_Get.json | 2 +- .../WorkflowTriggers_GetSchemaJson.json | 2 +- .../examples/WorkflowTriggers_List.json | 2 +- .../WorkflowTriggers_ListCallbackUrl.json | 2 +- .../examples/WorkflowTriggers_Reset.json | 2 +- .../examples/WorkflowTriggers_Run.json | 2 +- .../examples/WorkflowTriggers_SetState.json | 2 +- ...rkflowVersionTriggers_ListCallbackUrl.json | 2 +- .../examples/WorkflowVersions_Get.json | 2 +- .../examples/WorkflowVersions_List.json | 2 +- .../examples/Workflows_CreateOrUpdate.json | 2 +- .../examples/Workflows_Delete.json | 2 +- .../examples/Workflows_Disable.json | 2 +- .../examples/Workflows_Enable.json | 2 +- .../Workflows_GenerateUpgradedDefinition.json | 2 +- .../examples/Workflows_Get.json | 2 +- .../Workflows_ListByResourceGroup.json | 2 +- .../Workflows_ListBySubscription.json | 2 +- .../examples/Workflows_ListCallbackUrl.json | 2 +- .../examples/Workflows_ListSwagger.json | 2 +- .../examples/Workflows_Move.json | 2 +- .../Workflows_RegenerateAccessKey.json | 2 +- .../examples/Workflows_Update.json | 2 +- .../Workflows_ValidateByLocation.json | 2 +- .../Workflows_ValidateByResourceGroup.json | 2 +- .../preview/2018-07-01-preview/logic.json | 2 +- .../examples/AgreementsCreateOrUpdate.json | 2 +- .../2016-06-01/examples/AgreementsDelete.json | 2 +- .../2016-06-01/examples/AgreementsGet.json | 2 +- .../2016-06-01/examples/AgreementsList.json | 2 +- .../AgreementsListContentCallbackUrl.json | 2 +- .../examples/CertificatesCreateOrUpdate.json | 2 +- .../examples/CertificatesDelete.json | 2 +- .../2016-06-01/examples/CertificatesGet.json | 2 +- .../2016-06-01/examples/CertificatesList.json | 2 +- ...rationAccountAssembliesCreateOrUpdate.json | 2 +- .../IntegrationAccountAssembliesDelete.json | 2 +- .../IntegrationAccountAssembliesGet.json | 2 +- .../IntegrationAccountAssembliesList.json | 2 +- ...countAssembliesListContentCallbackUrl.json | 2 +- ...ountBatchConfigurationsCreateOrUpdate.json | 2 +- ...ationAccountBatchConfigurationsDelete.json | 2 +- ...egrationAccountBatchConfigurationsGet.json | 2 +- ...grationAccountBatchConfigurationsList.json | 2 +- .../IntegrationAccountsCreateOrUpdate.json | 2 +- .../examples/IntegrationAccountsDelete.json | 2 +- .../examples/IntegrationAccountsGet.json | 2 +- .../IntegrationAccountsGetCallbackUrl.json | 2 +- ...ntegrationAccountsListByResourceGroup.json | 2 +- ...IntegrationAccountsListBySubscription.json | 2 +- .../IntegrationAccountsListKeyVaultKeys.json | 2 +- .../IntegrationAccountsLogTrackingEvent.json | 2 +- ...ntegrationAccountsRegenerateAccessKey.json | 2 +- .../examples/IntegrationAccountsUpdate.json | 2 +- .../examples/MapsCreateOrUpdate.json | 2 +- .../2016-06-01/examples/MapsDelete.json | 2 +- .../stable/2016-06-01/examples/MapsGet.json | 2 +- .../stable/2016-06-01/examples/MapsList.json | 2 +- .../examples/MapsListContentCallbackUrl.json | 2 +- .../2016-06-01/examples/OperationsList.json | 2 +- .../examples/PartnersCreateOrUpdate.json | 2 +- .../2016-06-01/examples/PartnersDelete.json | 2 +- .../2016-06-01/examples/PartnersGet.json | 2 +- .../2016-06-01/examples/PartnersList.json | 2 +- .../PartnersListContentCallbackUrl.json | 2 +- .../examples/SchemasCreateOrUpdate.json | 2 +- .../2016-06-01/examples/SchemasDelete.json | 2 +- .../2016-06-01/examples/SchemasGet.json | 2 +- .../2016-06-01/examples/SchemasList.json | 2 +- .../SchemasListContentCallbackUrl.json | 2 +- .../examples/SessionsCreateOrUpdate.json | 2 +- .../2016-06-01/examples/SessionsDelete.json | 2 +- .../2016-06-01/examples/SessionsGet.json | 2 +- .../2016-06-01/examples/SessionsList.json | 2 +- .../WorkflowRunActionRepetitionsGet.json | 2 +- .../WorkflowRunActionRepetitionsList.json | 2 +- ...ActionRepetitionsListExpressionTraces.json | 2 +- ...ActionRepetitionsRequestHistories_Get.json | 2 +- ...ctionRepetitionsRequestHistories_List.json | 2 +- ...WorkflowRunActionRequestHistories_Get.json | 2 +- ...orkflowRunActionRequestHistories_List.json | 2 +- .../WorkflowRunActionScopeRepetitionsGet.json | 2 +- ...WorkflowRunActionScopeRepetitionsList.json | 2 +- .../examples/WorkflowRunActionsGet.json | 2 +- .../examples/WorkflowRunActionsList.json | 2 +- ...orkflowRunActionsListExpressionTraces.json | 2 +- .../examples/WorkflowRunOperationsGet.json | 2 +- .../examples/WorkflowRunsCancel.json | 2 +- .../2016-06-01/examples/WorkflowRunsGet.json | 2 +- .../2016-06-01/examples/WorkflowRunsList.json | 2 +- .../examples/WorkflowTriggerHistoriesGet.json | 2 +- .../WorkflowTriggerHistoriesList.json | 2 +- .../WorkflowTriggerHistoriesResubmit.json | 2 +- .../examples/WorkflowTriggersGet.json | 2 +- .../WorkflowTriggersGetSchemaJson.json | 2 +- .../examples/WorkflowTriggersList.json | 2 +- .../WorkflowTriggersListCallbackUrl.json | 2 +- .../examples/WorkflowTriggersReset.json | 2 +- .../examples/WorkflowTriggersRun.json | 2 +- .../examples/WorkflowTriggersSetState.json | 2 +- .../examples/WorkflowVersionsGet.json | 2 +- .../examples/WorkflowVersionsList.json | 2 +- ...rkflowVersionsTriggersListCallbackUrl.json | 2 +- .../examples/WorkflowsCreateOrUpdate.json | 2 +- .../2016-06-01/examples/WorkflowsDelete.json | 2 +- .../2016-06-01/examples/WorkflowsDisable.json | 2 +- .../2016-06-01/examples/WorkflowsEnable.json | 2 +- .../WorkflowsGenerateUpgradedDefinition.json | 2 +- .../2016-06-01/examples/WorkflowsGet.json | 2 +- .../WorkflowsListByResourceGroup.json | 2 +- .../examples/WorkflowsListBySubscription.json | 2 +- .../examples/WorkflowsListCallbackUrl.json | 2 +- .../examples/WorkflowsListSwagger.json | 2 +- .../2016-06-01/examples/WorkflowsMove.json | 2 +- .../WorkflowsRegenerateAccessKey.json | 2 +- .../2016-06-01/examples/WorkflowsUpdate.json | 2 +- .../examples/WorkflowsValidateByLocation.json | 2 +- .../WorkflowsValidateByResourceGroup.json | 2 +- .../stable/2016-06-01/logic.json | 2 +- 195 files changed, 3844 insertions(+), 3854 deletions(-) diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json index c96c55860d0a..6c275897383e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "LogicManagementClient", - "description":"REST API for Azure Logic Apps.", + "description": "REST API for Azure Logic Apps.", "version": "2015-02-01-preview" }, "host": "management.azure.com", @@ -1388,7 +1388,7 @@ }, "Object": { "type": "object", - "properties": { } + "properties": {} }, "ResourceReference": { "type": "object", diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json index 5e7722b0701c..5d02033be523 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json @@ -1,3684 +1,3674 @@ { - "swagger": "2.0", - "info": { - "title": "LogicManagementClient", - "description":"REST API for Azure Logic Apps.", - "version": "2015-08-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts": { - "get": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_ListBySubscription", - "description": "Gets a list of integration accounts by subscription.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts": { - "get": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_ListByResourceGroup", - "description": "Gets a list of integration accounts by resource group.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}": { - "get": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_Get", - "description": "Gets an integration account.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_CreateOrUpdate", - "description": "Creates or updates an integration account.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "integrationAccount", - "description": "The integration account.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - } - } - }, - "patch": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_Update", - "description": "Updates an integration account.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "integrationAccount", - "description": "The integration account.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccount" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_Delete", - "description": "Deletes an integration account.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl": { - "post": { - "tags": [ - "IntegrationAccounts" - ], - "operationId": "IntegrationAccounts_ListCallbackUrl", - "description": "Lists the integration account callback URL.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "parameters", - "description": "The callback URL parameters.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ListCallbackUrlParameters" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CallbackUrl" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas": { - "get": { - "tags": [ - "IntegrationAccountSchemas" - ], - "operationId": "IntegrationAccountSchemas_List", - "description": "Gets a list of integration account schemas.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountSchemaListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/IntegrationAccountSchemaFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}": { - "get": { - "tags": [ - "IntegrationAccountSchemas" - ], - "operationId": "IntegrationAccountSchemas_Get", - "description": "Gets an integration account schema.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "schemaName", - "description": "The integration account schema name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountSchema" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccountSchemas" - ], - "operationId": "IntegrationAccountSchemas_CreateOrUpdate", - "description": "Creates or updates an integration account schema.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "schemaName", - "description": "The integration account schema name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "schema", - "description": "The integration account schema.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccountSchema" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccountSchema" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccountSchemas" - ], - "operationId": "IntegrationAccountSchemas_Delete", - "description": "Deletes an integration account schema.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "schemaName", - "description": "The integration account schema name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps": { - "get": { - "tags": [ - "IntegrationAccountMaps" - ], - "operationId": "IntegrationAccountMaps_List", - "description": "Gets a list of integration account maps.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountMapListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/IntegrationAccountMapFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}": { - "get": { - "tags": [ - "IntegrationAccountMaps" - ], - "operationId": "IntegrationAccountMaps_Get", - "description": "Gets an integration account map.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "mapName", - "description": "The integration account map name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountMap" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccountMaps" - ], - "operationId": "IntegrationAccountMaps_CreateOrUpdate", - "description": "Creates or updates an integration account map.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "mapName", - "description": "The integration account map name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "map", - "description": "The integration account map.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccountMap" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountMap" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccountMap" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccountMaps" - ], - "operationId": "IntegrationAccountMaps_Delete", - "description": "Deletes an integration account map.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "mapName", - "description": "The integration account map name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners": { - "get": { - "tags": [ - "IntegrationAccountPartners" - ], - "operationId": "IntegrationAccountPartners_List", - "description": "Gets a list of integration account partners.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountPartnerListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/IntegrationAccountPartnerFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}": { - "get": { - "tags": [ - "IntegrationAccountPartners" - ], - "operationId": "IntegrationAccountPartners_Get", - "description": "Gets an integration account partner.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "partnerName", - "description": "The integration account partner name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountPartner" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccountPartners" - ], - "operationId": "IntegrationAccountPartners_CreateOrUpdate", - "description": "Creates or updates an integration account partner.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "partnerName", - "description": "The integration account partner name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "partner", - "description": "The integration account partner.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccountPartner" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountPartner" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccountPartner" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccountPartners" - ], - "operationId": "IntegrationAccountPartners_Delete", - "description": "Deletes an integration account partner.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "partnerName", - "description": "The integration account partner name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements": { - "get": { - "tags": [ - "IntegrationAccountAgreements" - ], - "operationId": "IntegrationAccountAgreements_List", - "description": "Gets a list of integration account agreements.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountAgreementListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/IntegrationAccountAgreementFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}": { - "get": { - "tags": [ - "IntegrationAccountAgreements" - ], - "operationId": "IntegrationAccountAgreements_Get", - "description": "Gets an integration account agreement.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "agreementName", - "description": "The integration account agreement name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountAgreement" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccountAgreements" - ], - "operationId": "IntegrationAccountAgreements_CreateOrUpdate", - "description": "Creates or updates an integration account agreement.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "agreementName", - "description": "The integration account agreement name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "agreement", - "description": "The integration account agreement.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccountAgreement" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountAgreement" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccountAgreement" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccountAgreements" - ], - "operationId": "IntegrationAccountAgreements_Delete", - "description": "Deletes an integration account agreement.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "agreementName", - "description": "The integration account agreement name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates": { - "get": { - "tags": [ - "IntegrationAccountCertificates" - ], - "operationId": "IntegrationAccountCertificates_List", - "description": "Gets a list of integration account certificates.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountCertificateListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}": { - "get": { - "tags": [ - "IntegrationAccountCertificates" - ], - "operationId": "IntegrationAccountCertificates_Get", - "description": "Gets an integration account certificate.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "description": "The integration account certificate name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountCertificate" - } - } - } - }, - "put": { - "tags": [ - "IntegrationAccountCertificates" - ], - "operationId": "IntegrationAccountCertificates_CreateOrUpdate", - "description": "Creates or updates an integration account certificate.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "description": "The integration account certificate name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "certificate", - "description": "The integration account certificate.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationAccountCertificate" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/IntegrationAccountCertificate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/IntegrationAccountCertificate" - } - } - } - }, - "delete": { - "tags": [ - "IntegrationAccountCertificates" - ], - "operationId": "IntegrationAccountCertificates_Delete", - "description": "Deletes an integration account certificate.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "name": "resourceGroupName", - "description": "The resource group name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "integrationAccountName", - "description": "The integration account name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "description": "The integration account certificate name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content" - } - } - } + "swagger": "2.0", + "info": { + "title": "LogicManagementClient", + "description": "REST API for Azure Logic Apps.", + "version": "2015-08-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListBySubscription", + "description": "Gets a list of integration accounts by subscription.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } + } }, - "definitions": { - "IntegrationAccountResource": { - "properties": { - "id": { - "type": "string", - "description": "The resource id." - }, - "name": { - "type": "string", - "description": "The resource name." - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "location": { - "type": "string", - "description": "The resource location." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The resource tags." - } - }, - "x-ms-azure-resource": true - }, - "IntegrationAccountSkuName": { - "type": "string", - "enum": [ - "NotSpecified", - "Free", - "Shared", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": false - } - }, - "IntegrationAccountContentLink": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "description": "The content link URI." - }, - "contentVersion": { - "type": "string", - "description": "The content version." - }, - "contentSize": { - "type": "integer", - "format": "int64", - "description": "The content size." - }, - "contentHash": { - "$ref": "#/definitions/IntegrationAccountContentHash", - "description": "The content hash." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - } - } - }, - "IntegrationAccountContentHash": { - "type": "object", - "properties": { - "algorithm": { - "type": "string", - "description": "The content hash algorithm." - }, - "value": { - "type": "string", - "description": "The content hash value." - } - } - }, - "IntegrationAccount": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountProperties", - "description": "The integration account properties." - }, - "sku": { - "$ref": "#/definitions/IntegrationAccountSku", - "description": "The sku." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountProperties": { - "type": "object" - }, - "IntegrationAccountListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccount" - }, - "description": "The list of integration accounts." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "ListCallbackUrlParameters": { - "type": "object", - "properties": { - "NotAfter": { - "type": "string", - "format": "date-time", - "description": "The expiry time." - } - } - }, - "CallbackUrl": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "The URL value." - } - } - }, - "IntegrationAccountSchema": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountSchemaProperties", - "description": "The integration account schema properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountSchemaProperties": { - "type": "object", - "properties": { - "schemaType": { - "$ref": "#/definitions/SchemaType", - "description": "The schema type." - }, - "targetNamespace": { - "type": "string", - "description": "The target namespace." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The changed time." - }, - "content": { - "type": "object", - "description": "The content.", - "properties": { - } - }, - "contentType": { - "type": "string", - "description": "The content type." - }, - "contentLink": { - "$ref": "#/definitions/IntegrationAccountContentLink", - "readOnly": true, - "description": "The content link." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - } - } - }, - "IntegrationAccountSchemaListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccountSchema" - }, - "description": "The list of integration account schemas." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "IntegrationAccountSchemaFilter": { - "type": "object", - "properties": { - "schemaType": { - "$ref": "#/definitions/SchemaType", - "description": "The schema type of integration account schema." - } - } - }, - "SchemaType": { - "type": "string", - "enum": [ - "NotSpecified", - "Xml" - ], - "x-ms-enum": { - "name": "SchemaType", - "modelAsString": false - } - }, - "IntegrationAccountMap": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountMapProperties", - "description": "The integration account map properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountMapProperties": { - "type": "object", - "properties": { - "mapType": { - "$ref": "#/definitions/MapType", - "description": "The map type." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The changed time." - }, - "content": { - "type": "object", - "description": "The content.", - "properties": { - } - }, - "contentType": { - "type": "string", - "description": "The content type." - }, - "contentLink": { - "$ref": "#/definitions/IntegrationAccountContentLink", - "readOnly": true, - "description": "The content link." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - } - } - }, - "IntegrationAccountMapListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccountMap" - }, - "description": "The list of integration account maps." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "IntegrationAccountMapFilter": { - "type": "object", - "properties": { - "schemaType": { - "$ref": "#/definitions/MapType", - "description": "The map type of integration account map." - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListByResourceGroup", + "description": "Gets a list of integration accounts by resource group.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Get", + "description": "Gets an integration account.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_CreateOrUpdate", + "description": "Creates or updates an integration account.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "integrationAccount", + "description": "The integration account.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "patch": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Update", + "description": "Updates an integration account.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "integrationAccount", + "description": "The integration account.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Delete", + "description": "Deletes an integration account.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListCallbackUrl", + "description": "Lists the integration account callback URL.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "description": "The callback URL parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ListCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas": { + "get": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_List", + "description": "Gets a list of integration account schemas.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchemaListResult" } + } }, - "MapType": { - "type": "string", - "enum": [ - "NotSpecified", - "Xslt" - ], - "x-ms-enum": { - "name": "MapType", - "modelAsString": false - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "IntegrationAccountSku": { - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/IntegrationAccountSkuName", - "description": "The sku name." - } + "x-ms-odata": "#/definitions/IntegrationAccountSchemaFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}": { + "get": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_Get", + "description": "Gets an integration account schema.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_CreateOrUpdate", + "description": "Creates or updates an integration account schema.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "schema", + "description": "The integration account schema.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_Delete", + "description": "Deletes an integration account schema.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps": { + "get": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_List", + "description": "Gets a list of integration account maps.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMapListResult" } + } }, - "IntegrationAccountPartnerListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccountPartner" - }, - "description": "The list of integration account partners." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "IntegrationAccountPartnerFilter": { - "type": "object", - "properties": { - "partnerType": { - "$ref": "#/definitions/PartnerType", - "description": "The partner type of integration account partner." - } + "x-ms-odata": "#/definitions/IntegrationAccountMapFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}": { + "get": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_Get", + "description": "Gets an integration account map.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_CreateOrUpdate", + "description": "Creates or updates an integration account map.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "map", + "description": "The integration account map.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_Delete", + "description": "Deletes an integration account map.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners": { + "get": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_List", + "description": "Gets a list of integration account partners.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartnerListResult" } + } }, - "IntegrationAccountPartner": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountPartnerProperties", - "description": "The integration account partner properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountPartnerProperties": { - "type": "object", - "properties": { - "partnerType": { - "$ref": "#/definitions/PartnerType", - "description": "The partner type." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The changed time." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - }, - "content": { - "$ref": "#/definitions/PartnerContent", - "description": "The partner content." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "PartnerType": { - "type": "string", - "enum": [ - "NotSpecified", - "B2B" - ], - "x-ms-enum": { - "name": "PartnerType", - "modelAsString": false + "x-ms-odata": "#/definitions/IntegrationAccountPartnerFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}": { + "get": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_Get", + "description": "Gets an integration account partner.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_CreateOrUpdate", + "description": "Creates or updates an integration account partner.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "partner", + "description": "The integration account partner.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_Delete", + "description": "Deletes an integration account partner.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements": { + "get": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_List", + "description": "Gets a list of integration account agreements.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreementListResult" } + } }, - "PartnerContent": { - "type": "object", - "properties": { - "b2b": { - "$ref": "#/definitions/B2BPartnerContent", - "description": "The B2B partner content." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "B2BPartnerContent": { - "type": "object", - "properties": { - "businessIdentities": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessIdentity" - }, - "description": "The list of partner business identities." - } - } - }, - "BusinessIdentity": { - "type": "object", - "properties": { - "Qualifier": { - "type": "string", - "description": "The business identity qualifier." - }, - "Value": { - "type": "string", - "description": "The business identity value." - } - } - }, - "IntegrationAccountAgreementListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccountAgreement" - }, - "description": "The list of integration account agreements." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "IntegrationAccountAgreementFilter": { - "type": "object", - "properties": { - "agreementType": { - "$ref": "#/definitions/AgreementType", - "description": "The agreement type of integration account agreement." - } - } - }, - "IntegrationAccountAgreement": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountAgreementProperties", - "description": "The integration account agreement properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountAgreementProperties": { - "type": "object", - "properties": { - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The changed time." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - }, - "agreementType": { - "$ref": "#/definitions/AgreementType", - "description": "The agreement type." - }, - "hostPartner": { - "type": "string", - "description": "The host partner." - }, - "guestPartner": { - "type": "string", - "description": "The guest partner." - }, - "hostIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The host identity." - }, - "guestIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The guest identity." - }, - "content": { - "$ref": "#/definitions/AgreementContent", - "description": "The agreement content." - } - } - }, - "AgreementType": { - "type": "string", - "enum": [ - "NotSpecified", - "AS2", - "X12", - "Edifact" - ], - "x-ms-enum": { - "name": "AgreementType", - "modelAsString": false - } - }, - "AgreementContent": { - "type": "object", - "properties": { - "AS2": { - "$ref": "#/definitions/AS2AgreementContent", - "description": "The AS2 agreement content." - }, - "X12": { - "$ref": "#/definitions/X12AgreementContent", - "description": "The X12 agreement content." - }, - "Edifact": { - "$ref": "#/definitions/EdifactAgreementContent", - "description": "The EDIFACT agreement content." - } - } - }, - "AS2AgreementContent": { - "type": "object", - "properties": { - "receiveAgreement": { - "$ref": "#/definitions/AS2OneWayAgreement", - "description": "The AS2 one-way receive agreement." - }, - "sendAgreement": { - "$ref": "#/definitions/AS2OneWayAgreement", - "description": "The AS2 one-way send agreement." - } - } - }, - "AS2OneWayAgreement": { - "type": "object", - "properties": { - "senderBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The sender business identity" - }, - "receiverBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The receiver business identity" - }, - "protocolSettings": { - "$ref": "#/definitions/AS2ProtocolSettings", - "description": "The AS2 protocol settings." - } - } - }, - "AS2ProtocolSettings": { - "type": "object", - "properties": { - "messageConnectionSettings": { - "$ref": "#/definitions/AS2MessageConnectionSettings", - "description": "The message connection settings." - }, - "acknowledgementConnectionSettings": { - "$ref": "#/definitions/AS2AcknowledgementConnectionSettings", - "description": "The acknowledgement connection settings." - }, - "mdnSettings": { - "$ref": "#/definitions/AS2MdnSettings", - "description": "The MDN settings." - }, - "securitySettings": { - "$ref": "#/definitions/AS2SecuritySettings", - "description": "The security settings." - }, - "validationSettings": { - "$ref": "#/definitions/AS2ValidationSettings", - "description": "The validation settings." - }, - "envelopeSettings": { - "$ref": "#/definitions/AS2EnvelopeSettings", - "description": "The envelope settings." - }, - "errorSettings": { - "$ref": "#/definitions/AS2ErrorSettings", - "description": "The error settings." - } - } - }, - "AS2AcknowledgementConnectionSettings": { - "type": "object", - "properties": { - "ignoreCertificateNameMismatch": { - "type": "boolean", - "description": "The value indicating whether to ignore mismatch in certificate name." - }, - "supportHttpStatusCodeContinue": { - "type": "boolean", - "description": "The value indicating whether to support HTTP status code 'CONTINUE'." - }, - "keepHttpConnectionAlive": { - "type": "boolean", - "description": "The value indicating whether to keep the connection alive." - }, - "unfoldHttpHeaders": { - "type": "boolean", - "description": "The value indicating whether to unfold the HTTP headers." - } - } - }, - "AS2MessageConnectionSettings": { - "type": "object", - "properties": { - "ignoreCertificateNameMismatch": { - "type": "boolean", - "description": "The value indicating whether to ignore mismatch in certificate name." - }, - "supportHttpStatusCodeContinue": { - "type": "boolean", - "description": "The value indicating whether to support HTTP status code 'CONTINUE'." - }, - "keepHttpConnectionAlive": { - "type": "boolean", - "description": "The value indicating whether to keep the connection alive." - }, - "unfoldHttpHeaders": { - "type": "boolean", - "description": "The value indicating whether to unfold the HTTP headers." - } - } - }, - "AS2MdnSettings": { - "type": "object", - "properties": { - "needMdn": { - "type": "boolean", - "description": "The value indicating whether to send or request a MDN." - }, - "signMdn": { - "type": "boolean", - "description": "The value indicating whether the MDN needs to be signed or not." - }, - "sendMdnAsynchronously": { - "type": "boolean", - "description": "The value indicating whether to send the asynchronous MDN." - }, - "receiptDeliveryUrl": { - "type": "string", - "description": "The receipt delivery URL." - }, - "dispositionNotificationTo": { - "type": "string", - "description": "The disposition notification to header value." - }, - "signOutboundMdnIfOptional": { - "type": "boolean", - "description": "The value indicating whether to sign the outbound MDN if optional." - }, - "mdnText": { - "type": "string", - "description": "The MDN text." - }, - "sendInboundMdnToMessageBox": { - "type": "boolean", - "description": "The value indicating whether to send inbound MDN to message box." - }, - "micHashingAlgorithm": { - "$ref": "#/definitions/HashingAlgorithm", - "description": "The signing or hashing algorithm." - } - } - }, - "AS2SecuritySettings": { - "type": "object", - "properties": { - "overrideGroupSigningCertificate": { - "type": "boolean", - "description": "The value indicating whether to send or request a MDN." - }, - "signingCertificateName": { - "type": "string", - "description": "The name of the signing certificate." - }, - "encryptionCertificateName": { - "type": "string", - "description": "The name of the encryption certificate." - }, - "enableNrrForInboundEncodedMessages": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for inbound encoded messages." - }, - "enableNrrForInboundDecodedMessages": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for inbound decoded messages." - }, - "enableNrrForOutboundMdn": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for outbound MDN." - }, - "enableNrrForOutboundEncodedMessages": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for outbound encoded messages." - }, - "enableNrrForOutboundDecodedMessages": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for outbound decoded messages." - }, - "enableNrrForInboundMdn": { - "type": "boolean", - "description": "The value indicating whether to enable NRR for inbound MDN." - } - } - }, - "AS2ValidationSettings": { - "type": "object", - "properties": { - "overrideMessageProperties": { - "type": "boolean", - "description": "The value indicating whether to override incoming message properties with those in agreement." - }, - "encryptMessage": { - "type": "boolean", - "description": "The value indicating whether the message has to be encrypted." - }, - "signMessage": { - "type": "boolean", - "description": "The value indicating whether the message has to be signed." - }, - "compressMessage": { - "type": "boolean", - "description": "The value indicating whether the message has to be compressed." - }, - "checkDuplicateMessage": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate message." - }, - "interchangeDuplicatesValidityDays": { - "type": "integer", - "format": "int32", - "description": "The number of days to look back for duplicate interchange." - }, - "checkCertificateRevocationListOnSend": { - "type": "boolean", - "description": "The value indicating whether to check for certificate revocation list on send." - }, - "checkCertificateRevocationListOnReceive": { - "type": "boolean", - "description": "The value indicating whether to check for certificate revocation list on receive." - }, - "encryptionAlgorithm": { - "$ref": "#/definitions/EncryptionAlgorithm", - "description": "The encryption algorithm." - } - } - }, - "AS2EnvelopeSettings": { - "type": "object", - "properties": { - "messageContentType": { - "type": "string", - "description": "The message content type." - }, - "transmitFileNameInMimeHeader": { - "type": "boolean", - "description": "The value indicating whether to transmit file name in mime header." - }, - "fileNameTemplate": { - "type": "string", - "description": "The template for file name." - }, - "SuspendMessageOnFileNameGenerationError": { - "type": "boolean", - "description": "The value indicating whether to suspend message on file name generation error." - }, - "AutogenerateFileName": { - "type": "boolean", - "description": "The value indicating whether to auto generate file name." - } - } - }, - "AS2ErrorSettings": { - "type": "object", - "properties": { - "SuspendDuplicateMessage": { - "type": "boolean", - "description": "The value indicating whether to suspend duplicate message." - }, - "ResendIfMdnNotReceived": { - "type": "boolean", - "description": "The value indicating whether to resend message If MDN is not received." - } - } - }, - "X12AgreementContent": { - "type": "object", - "properties": { - "receiveAgreement": { - "$ref": "#/definitions/X12OneWayAgreement", - "description": "The X12 one-way receive agreement." - }, - "sendAgreement": { - "$ref": "#/definitions/X12OneWayAgreement", - "description": "The X12 one-way send agreement." - } - } - }, - "X12OneWayAgreement": { - "type": "object", - "properties": { - "senderBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The sender business identity" - }, - "receiverBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The receiver business identity" - }, - "protocolSettings": { - "$ref": "#/definitions/X12ProtocolSettings", - "description": "The X12 protocol settings." - } - } - }, - "X12ProtocolSettings": { - "type": "object", - "properties": { - "validationSettings": { - "$ref": "#/definitions/X12ValidationSettings", - "description": "The X12 validation settings." - }, - "framingSettings": { - "$ref": "#/definitions/X12FramingSettings", - "description": "The X12 framing settings." - }, - "envelopeSettings": { - "$ref": "#/definitions/X12EnvelopeSettings", - "description": "The X12 envelope settings." - }, - "acknowledgementSettings": { - "$ref": "#/definitions/X12AcknowledgementSettings", - "description": "The X12 acknowledgment settings." - }, - "messageFilter": { - "$ref": "#/definitions/X12MessageFilter", - "description": "The X12 message filter." - }, - "securitySettings": { - "$ref": "#/definitions/X12SecuritySettings", - "description": "The X12 security settings." - }, - "processingSettings": { - "$ref": "#/definitions/X12ProcessingSettings", - "description": "The X12 processing settings." - }, - "envelopeOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/X12EnvelopeOverride" - }, - "description": "The X12 envelope override settings." - }, - "validationOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/X12ValidationOverride" - }, - "description": "The X12 validation override settings." - }, - "messageFilterList": { - "type": "array", - "items": { - "$ref": "#/definitions/X12MessageIdentifier" - }, - "description": "The X12 message filter list." - }, - "schemaReferences": { - "type": "array", - "items": { - "$ref": "#/definitions/X12SchemaReference" - }, - "description": "The X12 schema references." - }, - "x12DelimiterOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/X12DelimiterOverrides" - }, - "description": "The X12 delimiter override settings." - } - } - }, - "X12ValidationSettings": { - "type": "object", - "properties": { - "validateCharacterSet": { - "type": "boolean", - "description": "The value indicating whether to validate character set in the message." - }, - "checkDuplicateInterchangeControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate interchange control number." - }, - "interchangeControlNumberValidityDays": { - "type": "integer", - "format": "int32", - "description": "The validity period of interchange control number." - }, - "checkDuplicateGroupControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate group control number." - }, - "checkDuplicateTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate transaction set control number." - }, - "validateEDITypes": { - "type": "boolean", - "description": "The value indicating whether to Whether to validate EDI types." - }, - "validateXSDTypes": { - "type": "boolean", - "description": "The value indicating whether to Whether to validate XSD types." - }, - "allowLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to allow leading and trailing spaces and zeroes." - }, - "trimLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to trim leading and trailing spaces and zeroes." - }, - "trailingSeparatorPolicy": { - "$ref": "#/definitions/TrailingSeparatorPolicy", - "description": "The trailing separator policy." - } - } - }, - "X12FramingSettings": { - "type": "object", - "properties": { - "dataElementSeparator": { - "type": "integer", - "format": "int32", - "description": "The data element separator." - }, - "componentSeparator": { - "type": "integer", - "format": "int32", - "description": "The component separator." - }, - "replaceSeparatorsInPayload": { - "type": "boolean", - "description": "The value indicating whether to replace separators in payload." - }, - "replaceCharacter": { - "type": "integer", - "format": "int32", - "description": "The replacement character." - }, - "segmentTerminator": { - "type": "integer", - "format": "int32", - "description": "The segment terminator." - }, - "characterSet": { - "$ref": "#/definitions/X12CharacterSet", - "description": "The X12 character set." - }, - "segmentTerminatorSuffix": { - "$ref": "#/definitions/SegmentTerminatorSuffix", - "description": "The segment terminator suffix." - } - - } - }, - "X12EnvelopeSettings": { - "type": "object", - "properties": { - "controlStandardsId": { - "type": "integer", - "format": "int32", - "description": "The controls standards id." - }, - "useControlStandardsIdAsRepetitionCharacter": { - "type": "boolean", - "description": "The value indicating whether to use control standards id as repetition character." - }, - "senderApplicationId": { - "type": "string", - "description": "The sender application id." - }, - "receiverApplicationId": { - "type": "string", - "description": "The receiver application id." - }, - "controlVersionNumber": { - "type": "string", - "description": "The control version number." - }, - "interchangeControlNumberLowerBound": { - "type": "integer", - "format": "int32", - "description": "The interchange control number lower bound." - }, - "interchangeControlNumberUpperBound": { - "type": "integer", - "format": "int32", - "description": "The interchange control number upper bound." - }, - "rolloverInterchangeControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover interchange control number." - }, - "enableDefaultGroupHeaders": { - "type": "boolean", - "description": "The value indicating whether to enable default group headers." - }, - "functionalGroupId": { - "type": "string", - "description": "The functional group id." - }, - "groupControlNumberLowerBound": { - "type": "integer", - "format": "int32", - "description": "The group control number lower bound." - }, - "groupControlNumberUpperBound": { - "type": "integer", - "format": "int32", - "description": "The group control number upper bound." - }, - "rolloverGroupControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover group control number." - }, - "groupHeaderAgencyCode": { - "type": "string", - "description": "The group header agency code." - }, - "groupHeaderVersion": { - "type": "string", - "description": "The group header version." - }, - "transactionSetControlNumberLowerBound": { - "type": "integer", - "format": "int32", - "description": "The transaction set control number lower bound." - }, - "transactionSetControlNumberUpperBound": { - "type": "integer", - "format": "int32", - "description": "The transaction set control number upper bound." - }, - "rolloverTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover transaction set control number." - }, - "transactionSetControlNumberPrefix": { - "type": "string", - "description": "The transaction set control number prefix." - }, - "transactionSetControlNumberSuffix": { - "type": "string", - "description": "The transaction set control number suffix." - }, - "overwriteExistingTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to overwrite existing transaction set control number." - }, - "groupHeaderDateFormat": { - "$ref": "#/definitions/X12DateFormat", - "description": "The group header date format." - }, - "groupHeaderTimeFormat": { - "$ref": "#/definitions/X12TimeFormat", - "description": "The group header time format." - }, - "usageIndicator": { - "$ref": "#/definitions/UsageIndicator", - "description": "The usage indicator." - } - } - }, - "X12AcknowledgementSettings": { - "type": "object", - "properties": { - "needTechnicalAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether technical acknowledgement is needed." - }, - "batchTechnicalAcknowledgements": { - "type": "boolean", - "description": "The value indicating whether to batch the technical acknowledgements." - }, - "needFunctionalAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether functional acknowledgement is needed." - }, - "functionalAcknowledgementVersion": { - "type": "string", - "description": "The functional acknowledgement version." - }, - "batchFunctionalAcknowledgements": { - "type": "boolean", - "description": "The value indicating whether to batch functional acknowledgements." - }, - "needImplementationAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether implementation acknowledgement is needed." - }, - "implementationAcknowledgementVersion": { - "type": "string", - "description": "The implementation acknowledgement version." - }, - "batchImplementationAcknowledgements": { - "type": "boolean", - "description": "The value indicating whether to batch implementation acknowledgements." - }, - "needLoopForValidMessages": { - "type": "boolean", - "description": "The value indicating whether a loop is needed for valid messages." - }, - "sendSynchronousAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether to send synchronous acknowledgement." - }, - "acknowledgementControlNumberPrefix": { - "type": "string", - "description": "The acknowledgement control number prefix." - }, - "acknowledgementControlNumberSuffix": { - "type": "string", - "description": "The acknowledgement control number suffix." - }, - "acknowledgementControlNumberLowerBound": { - "type": "integer", - "format": "int32", - "description": "The acknowledgement control number lower bound." - }, - "acknowledgementControlNumberUpperBound": { - "type": "integer", - "format": "int32", - "description": "The acknowledgement control number upper bound." - }, - "rolloverAcknowledgementControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover acknowledgement control number." - } - } - }, - "X12MessageFilter": { - "type": "object", - "properties": { - "messageFilterType": { - "$ref": "#/definitions/MessageFilterType", - "description": "The message filter type." - } - } - }, - "X12SecuritySettings": { - "type": "object", - "properties": { - "authorizationQualifier": { - "type": "string", - "description": "The authorization qualifier." - }, - "authorizationValue": { - "type": "string", - "description": "The authorization value." - }, - "securityQualifier": { - "type": "string", - "description": "The security qualifier." - }, - "passwordValue": { - "type": "string", - "description": "The password value." - } - } - }, - "X12ProcessingSettings": { - "type": "object", - "properties": { - "maskSecurityInfo": { - "type": "boolean", - "description": "The value indicating whether to mask security information." - }, - "convertImpliedDecimal": { - "type": "boolean", - "description": "The value indicating whether to convert numerical type to implied decimal." - }, - "preserveInterchange": { - "type": "boolean", - "description": "The value indicating whether to preserve interchange." - }, - "suspendInterchangeOnError": { - "type": "boolean", - "description": "The value indicating whether to suspend interchange on error." - }, - "createEmptyXmlTagsForTrailingSeparators": { - "type": "boolean", - "description": "The value indicating whether to create empty xml tags for trailing separators." - }, - "useDotAsDecimalSeparator": { - "type": "boolean", - "description": "The value indicating whether to use dot as decimal separator." - } - } - }, - "X12EnvelopeOverride": { - "type": "object", - "properties": { - "targetNamespace": { - "type": "string", - "description": "The target namespace on which this envelope settings has to be applied." - }, - "protocolVersion": { - "type": "string", - "description": "The protocol version on which this envelope settings has to be applied." - }, - "messageId": { - "type": "string", - "description": "The message id on which this envelope settings has to be applied." - }, - "responsibleAgencyCode": { - "type": "integer", - "format": "int32", - "description": "The responsible agency code." - }, - "headerVersion": { - "type": "string", - "description": "The header version." - }, - "senderApplicationId": { - "type": "string", - "description": "The sender application id." - }, - "receiverApplicationId": { - "type": "string", - "description": "The receiver application id." - }, - "functionalIdentifierCode": { - "type": "string", - "description": "The functional identifier code." - }, - "dateFormat": { - "$ref": "#/definitions/X12DateFormat", - "description": "The date format." - }, - "timeFormat": { - "$ref": "#/definitions/X12TimeFormat", - "description": "The time format." - } - } - }, - "X12ValidationOverride": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id on which the validation settings has to be applied." - }, - "validateEDITypes": { - "type": "boolean", - "description": "The value indicating whether to validate EDI types." - }, - "validateXSDTypes": { - "type": "boolean", - "description": "The value indicating whether to validate XSD types." - }, - "allowLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to allow leading and trailing spaces and zeroes." - }, - "validateCharacterSet": { - "type": "boolean", - "description": "The value indicating whether to validate character Set." - }, - "trimLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to trim leading and trailing spaces and zeroes." - }, - "trailingSeparatorPolicy": { - "$ref": "#/definitions/TrailingSeparatorPolicy", - "description": "The trailing separator policy." - } - } - }, - "X12MessageIdentifier": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id." - } - } - }, - "X12SchemaReference": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id." - }, - "senderApplicationId": { - "type": "string", - "description": "The sender application id." - }, - "schemaVersion": { - "type": "string", - "description": "The schema version." - }, - "schemaName": { - "type": "string", - "description": "The schema name." - } - } - }, - "X12DelimiterOverrides": { - "type": "object", - "properties": { - "protocolVersion": { - "type": "string", - "description": "The protocol version." - }, - "messageId": { - "type": "string", - "description": "The message id." - }, - "dataElementSeparator": { - "type": "integer", - "format": "int32", - "description": "The data element separator." - }, - "componentSeparator": { - "type": "integer", - "format": "int32", - "description": "The component separator." - }, - "segmentTerminator": { - "type": "integer", - "format": "int32", - "description": "The segment terminator." - }, - "segmentTerminatorSuffix": { - "$ref": "#/definitions/SegmentTerminatorSuffix", - "description": "The segment terminator suffix." - }, - "replaceCharacter": { - "type": "integer", - "format": "int32", - "description": "The replacement character." - }, - "replaceSeparatorsInPayload": { - "type": "boolean", - "description": "The value indicating whether to replace separators in payload." - }, - "targetNamespace": { - "type": "string", - "description": "The target namespace on which this delimiter settings has to be applied." - } - } - }, - "X12CharacterSet": { - "type": "string", - "enum": [ - "NotSpecified", - "Basic", - "Extended", - "UTF8" - ], - "x-ms-enum": { - "name": "X12CharacterSet", - "modelAsString": false - } - }, - "SegmentTerminatorSuffix": { - "type": "string", - "enum": [ - "NotSpecified", - "None", - "CR", - "LF", - "CRLF" - ], - "x-ms-enum": { - "name": "SegmentTerminatorSuffix", - "modelAsString": false - } - }, - "X12DateFormat": { - "type": "string", - "enum": [ - "NotSpecified", - "CCYYMMDD", - "YYMMDD" - ], - "x-ms-enum": { - "name": "X12DateFormat", - "modelAsString": false - } - }, - "X12TimeFormat": { - "type": "string", - "enum": [ - "NotSpecified", - "HHMM", - "HHMMSS", - "HHMMSSdd", - "HHMMSSd" - ], - "x-ms-enum": { - "name": "X12TimeFormat", - "modelAsString": false - } - }, - "UsageIndicator": { - "type": "string", - "enum": [ - "NotSpecified", - "Test", - "Information", - "Production" - ], - "x-ms-enum": { - "name": "UsageIndicator", - "modelAsString": false - } - }, - "MessageFilterType": { - "type": "string", - "enum": [ - "NotSpecified", - "Include", - "Exclude" - ], - "x-ms-enum": { - "name": "MessageFilterType", - "modelAsString": false - } - }, - "HashingAlgorithm": { - "type": "string", - "enum": [ - "NotSpecified", - "None", - "SHA2256", - "SHA2384", - "SHA2512" - ], - "x-ms-enum": { - "name": "HashingAlgorithm", - "modelAsString": false - } - }, - "EncryptionAlgorithm": { - "type": "string", - "enum": [ - "NotSpecified", - "None", - "DES3", - "RC2", - "AES128", - "AES192", - "AES256" - ], - "x-ms-enum": { - "name": "EncryptionAlgorithm", - "modelAsString": false - } - }, - "TrailingSeparatorPolicy": { - "type": "string", - "enum": [ - "NotSpecified", - "NotAllowed", - "Optional", - "Mandatory" - ], - "x-ms-enum": { - "name": "TrailingSeparatorPolicy", - "modelAsString": false - } - }, - "EdifactAgreementContent": { - "type": "object", - "properties": { - "receiveAgreement": { - "$ref": "#/definitions/EdifactOneWayAgreement", - "description": "The EDIFACT one-way receive agreement." - }, - "sendAgreement": { - "$ref": "#/definitions/EdifactOneWayAgreement", - "description": "The EDIFACT one-way send agreement." - } - } - }, - "EdifactOneWayAgreement": { - "type": "object", - "properties": { - "senderBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The sender business identity" - }, - "receiverBusinessIdentity": { - "$ref": "#/definitions/BusinessIdentity", - "description": "The receiver business identity" - }, - "protocolSettings": { - "$ref": "#/definitions/EdifactProtocolSettings", - "description": "The EDIFACT protocol settings." - } - } - }, - "EdifactProtocolSettings": { - "type": "object", - "properties": { - "validationSettings": { - "$ref": "#/definitions/EdifactValidationSettings", - "description": "The EDIFACT validation settings." - }, - "framingSettings": { - "$ref": "#/definitions/EdifactFramingSettings", - "description": "The EDIFACT framing settings." - }, - "envelopeSettings": { - "$ref": "#/definitions/EdifactEnvelopeSettings", - "description": "The EDIFACT envelope settings." - }, - "acknowledgementSettings": { - "$ref": "#/definitions/EdifactAcknowledgementSettings", - "description": "The EDIFACT acknowledgement settings." - }, - "messageFilter": { - "$ref": "#/definitions/EdifactMessageFilter", - "description": "The EDIFACT message filter." - }, - "processingSettings": { - "$ref": "#/definitions/EdifactProcessingSettings", - "description": "The EDIFACT processing Settings." - }, - "envelopeOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/EdifactEnvelopeOverride" - }, - "description": "The EDIFACT envelope override settings." - }, - "messageFilterList": { - "type": "array", - "items": { - "$ref": "#/definitions/EdifactMessageIdentifier" - }, - "description": "The EDIFACT message filter list." - }, - "schemaReferences": { - "type": "array", - "items": { - "$ref": "#/definitions/EdifactSchemaReference" - }, - "description": "The EDIFACT schema references." - }, - "validationOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/EdifactValidationOverride" - }, - "description": "The EDIFACT validation override settings." - }, - "edifactDelimiterOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/EdifactDelimiterOverride" - }, - "description": "The EDIFACT delimiter override settings." - } - } - }, - "EdifactValidationSettings": { - "type": "object", - "properties": { - "validateCharacterSet": { - "type": "boolean", - "description": "The value indicating whether to validate character set in the message." - }, - "checkDuplicateInterchangeControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate interchange control number." - }, - "interchangeControlNumberValidityDays": { - "type": "integer", - "format": "int32", - "description": "The validity period of interchange control number." - }, - "checkDuplicateGroupControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate group control number." - }, - "checkDuplicateTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to check for duplicate transaction set control number." - }, - "validateEDITypes": { - "type": "boolean", - "description": "The value indicating whether to Whether to validate EDI types." - }, - "validateXSDTypes": { - "type": "boolean", - "description": "The value indicating whether to Whether to validate XSD types." - }, - "allowLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to allow leading and trailing spaces and zeroes." - }, - "trimLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to trim leading and trailing spaces and zeroes." - }, - "trailingSeparatorPolicy": { - "$ref": "#/definitions/TrailingSeparatorPolicy", - "description": "The trailing separator policy." - } - } - }, - "EdifactFramingSettings": { - "type": "object", - "properties": { - "serviceCodeListDirectoryVersion": { - "type": "string", - "description": "The service code list directory version." - }, - "characterEncoding": { - "type": "string", - "description": "The character encoding." - }, - "protocolVersion": { - "type": "integer", - "format": "int32", - "description": "The protocol version." - }, - "dataElementSeparator": { - "type": "integer", - "format": "int32", - "description": "The data element separator." - }, - "componentSeparator": { - "type": "integer", - "format": "int32", - "description": "The component separator." - }, - "segmentTerminator": { - "type": "integer", - "format": "int32", - "description": "The segment terminator." - }, - "releaseIndicator": { - "type": "integer", - "format": "int32", - "description": "The release indicator." - }, - "repetitionSeparator": { - "type": "integer", - "format": "int32", - "description": "The repetition separator." - }, - "characterSet": { - "$ref": "#/definitions/EdifactCharacterSet", - "description": "The EDIFACT frame setting characterSet." - }, - "decimalPointIndicator": { - "$ref": "#/definitions/EdifactDecimalIndicator", - "description": "The EDIFACT frame setting decimal indicator." - }, - "segmentTerminatorSuffix": { - "$ref": "#/definitions/SegmentTerminatorSuffix", - "description": "The EDIFACT frame setting segment terminator suffix." - } - } - }, - "EdifactEnvelopeSettings": { - "type": "object", - "properties": { - "groupAssociationAssignedCode": { - "type": "string", - "description": "The group association assigned code." - }, - "communicationAgreementId": { - "type": "string", - "description": "The communication agreement id." - }, - "applyDelimiterStringAdvice": { - "type": "boolean", - "description": "The value indicating whether to apply delimiter string advice." - }, - "createGroupingSegments": { - "type": "boolean", - "description": "The value indicating whether to create grouping segments." - }, - "enableDefaultGroupHeaders": { - "type": "boolean", - "description": "The value indicating whether to enable default group headers." - }, - "recipientReferencePasswordValue": { - "type": "string", - "description": "The recipient reference password value." - }, - "recipientReferencePasswordQualifier": { - "type": "string", - "description": "The recipient reference password qualifier." - }, - "applicationReferenceId": { - "type": "string", - "description": "The application reference id." - }, - "processingPriorityCode": { - "type": "string", - "description": "The processing priority code." - }, - "interchangeControlNumberLowerBound": { - "type": "integer", - "format": "int64", - "description": "The interchange control number lower bound." - }, - "interchangeControlNumberUpperBound": { - "type": "integer", - "format": "int64", - "description": "The interchange control number upper bound." - }, - "rolloverInterchangeControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover interchange control number." - }, - "interchangeControlNumberPrefix": { - "type": "string", - "description": "The interchange control number prefix." - }, - "interchangeControlNumberSuffix": { - "type": "string", - "description": "The interchange control number suffix." - }, - "senderReverseRoutingAddress": { - "type": "string", - "description": "The sender reverse routing address." - }, - "receiverReverseRoutingAddress": { - "type": "string", - "description": "The receiver reverse routing address." - }, - "functionalGroupId": { - "type": "string", - "description": "The functional group id." - }, - "groupControllingAgencyCode": { - "type": "string", - "description": "The group controlling agency code." - }, - "groupMessageVersion": { - "type": "string", - "description": "The group message version." - }, - "groupMessageRelease": { - "type": "string", - "description": "The group message release." - }, - "groupControlNumberLowerBound": { - "type": "integer", - "format": "int64", - "description": "The group control number lower bound." - }, - "groupControlNumberUpperBound": { - "type": "integer", - "format": "int64", - "description": "The group control number upper bound." - }, - "rolloverGroupControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover group control number." - }, - "groupControlNumberPrefix": { - "type": "string", - "description": "The group control number prefix." - }, - "groupControlNumberSuffix": { - "type": "string", - "description": "The group control number suffix." - }, - "groupApplicationReceiverQualifier": { - "type": "string", - "description": "The group application receiver qualifier." - }, - "groupApplicationReceiverId": { - "type": "string", - "description": "The group application receiver id." - }, - "groupApplicationSenderQualifier": { - "type": "string", - "description": "The group application sender qualifier." - }, - "groupApplicationSenderId": { - "type": "string", - "description": "The group application sender id." - }, - "groupApplicationPassword": { - "type": "string", - "description": "The group application password." - }, - "overwriteExistingTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to overwrite existing transaction set control number." - }, - "transactionSetControlNumberPrefix": { - "type": "string", - "description": "The transaction set control number prefix." - }, - "transactionSetControlNumberSuffix": { - "type": "string", - "description": "The transaction set control number suffix." - }, - "transactionSetControlNumberLowerBound": { - "type": "integer", - "format": "int64", - "description": "The transaction set control number lower bound." - }, - "transactionSetControlNumberUpperBound": { - "type": "integer", - "format": "int64", - "description": "The transaction set control number upper bound." - }, - "rolloverTransactionSetControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover transaction set control number." - }, - "isTestInterchange": { - "type": "boolean", - "description": "The value indicating whether the message is a test interchange." - }, - "senderInternalIdentification": { - "type": "string", - "description": "The sender internal identification." - }, - "senderInternalSubIdentification": { - "type": "string", - "description": "The sender internal sub identification." - }, - "receiverInternalIdentification": { - "type": "string", - "description": "The receiver internal identification." - }, - "receiverInternalSubIdentification": { - "type": "string", - "description": "The receiver internal sub identification." - } - } - }, - "EdifactAcknowledgementSettings": { - "type": "object", - "properties": { - "needTechnicalAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether technical acknowledgement is needed." - }, - "batchTechnicalAcknowledgements": { - "type": "boolean", - "description": "The value indicating whether to batch the technical acknowledgements." - }, - "needFunctionalAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether functional acknowledgement is needed." - }, - "batchFunctionalAcknowledgements": { - "type": "boolean", - "description": "The value indicating whether to batch functional acknowledgements." - }, - "needLoopForValidMessages": { - "type": "boolean", - "description": "The value indicating whether a loop is needed for valid messages." - }, - "sendSynchronousAcknowledgement": { - "type": "boolean", - "description": "The value indicating whether to send synchronous acknowledgement." - }, - "acknowledgementControlNumberPrefix": { - "type": "string", - "description": "The acknowledgement control number prefix." - }, - "acknowledgementControlNumberSuffix": { - "type": "string", - "description": "The acknowledgement control number suffix." - }, - "acknowledgementControlNumberLowerBound": { - "type": "integer", - "format": "int32", - "description": "The acknowledgement control number lower bound." - }, - "acknowledgementControlNumberUpperBound": { - "type": "integer", - "format": "int32", - "description": "The acknowledgement control number upper bound." - }, - "rolloverAcknowledgementControlNumber": { - "type": "boolean", - "description": "The value indicating whether to rollover acknowledgement control number." - } - } - }, - "EdifactMessageFilter": { - "type": "object", - "properties": { - "messageFilterType": { - "$ref": "#/definitions/MessageFilterType", - "description": "The message filter type." - } - } - }, - "EdifactProcessingSettings": { - "type": "object", - "properties": { - "maskSecurityInfo": { - "type": "boolean", - "description": "The value indicating whether to mask security information." - }, - "preserveInterchange": { - "type": "boolean", - "description": "The value indicating whether to preserve interchange." - }, - "suspendInterchangeOnError": { - "type": "boolean", - "description": "The value indicating whether to suspend interchange on error." - }, - "createEmptyXmlTagsForTrailingSeparators": { - "type": "boolean", - "description": "The value indicating whether to create empty xml tags for trailing separators." - }, - "useDotAsDecimalSeparator": { - "type": "boolean", - "description": "The value indicating whether to use dot as decimal separator." - } - } - }, - "EdifactEnvelopeOverride": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id on which this envelope settings has to be applied." - }, - "messageVersion": { - "type": "string", - "description": "The message version on which this envelope settings has to be applied." - }, - "messageRelease": { - "type": "string", - "description": "The message release version on which this envelope settings has to be applied." - }, - "messageAssociationAssignedCode": { - "type": "string", - "description": "The message association assigned code." - }, - "targetNamespace": { - "type": "string", - "description": "The target namespace on which this envelope settings has to be applied." - }, - "functionalGroupId": { - "type": "string", - "description": "The functional group id." - }, - "senderApplicationQualifier": { - "type": "string", - "description": "The sender application qualifier." - }, - "senderApplicationId": { - "type": "string", - "description": "The sender application id." - }, - "receiverApplicationQualifier": { - "type": "string", - "description": "The receiver application qualifier." - - }, - "receiverApplicationId": { - "type": "string", - "description": "The receiver application id." - }, - "controllingAgencyCode": { - "type": "string", - "description": "The controlling agency code." - }, - "groupHeaderMessageVersion": { - "type": "string", - "description": "The group header message version." - }, - "groupHeaderMessageRelease": { - "type": "string", - "description": "The group header message release." - }, - "associationAssignedCode": { - "type": "string", - "description": "The association assigned code." - }, - "applicationPassword": { - "type": "string", - "description": "The application password." - } - } - }, - "EdifactMessageIdentifier": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id on which this envelope settings has to be applied." - } - } - }, - "EdifactSchemaReference": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id." - }, - "messageVersion": { - "type": "string", - "description": "The message version." - }, - "messageRelease": { - "type": "string", - "description": "The message release version." - }, - "senderApplicationId": { - "type": "string", - "description": "The sender application id." - }, - "senderApplicationQualifier": { - "type": "string", - "description": "The sender application qualifier." - }, - "associationAssignedCode": { - "type": "string", - "description": "The association assigned code." - }, - "schemaName": { - "type": "string", - "description": "The schema name." - } - } - }, - "EdifactValidationOverride": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id on which the validation settings has to be applied." - }, - "enforceCharacterSet": { - "type": "boolean", - "description": "The value indicating whether to validate character Set." - }, - "validateEDITypes": { - "type": "boolean", - "description": "The value indicating whether to validate EDI types." - }, - "validateXSDTypes": { - "type": "boolean", - "description": "The value indicating whether to validate XSD types." - }, - "allowLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to allow leading and trailing spaces and zeroes." - }, - "trailingSeparatorPolicy": { - "$ref": "#/definitions/TrailingSeparatorPolicy", - "description": "The trailing separator policy." - }, - "trimLeadingAndTrailingSpacesAndZeroes": { - "type": "boolean", - "description": "The value indicating whether to trim leading and trailing spaces and zeroes." - } - } - }, - "EdifactDelimiterOverride": { - "type": "object", - "properties": { - "messageId": { - "type": "string", - "description": "The message id." - }, - "messageVersion": { - "type": "string", - "description": "The message version." - }, - "messageRelease": { - "type": "string", - "description": "The message release version." - }, - "dataElementSeparator": { - "type": "integer", - "format": "int32", - "description": "The data element separator." - }, - "componentSeparator": { - "type": "integer", - "format": "int32", - "description": "The component separator." - }, - "segmentTerminator": { - "type": "integer", - "format": "int32", - "description": "The segment terminator." - }, - "repetitionSeparator": { - "type": "integer", - "format": "int32", - "description": "The repetition separator." - }, - "segmentTerminatorSuffix": { - "$ref": "#/definitions/SegmentTerminatorSuffix", - "description": "The segment terminator suffix." - }, - "decimalPointIndicator": { - "$ref": "#/definitions/EdifactDecimalIndicator", - "description": "The decimal point indicator." - }, - "releaseIndicator": { - "type": "integer", - "format": "int32", - "description": "The release indicator." - }, - "messageAssociationAssignedCode": { - "type": "string", - "description": "The message association assigned code." - }, - "targetNamespace": { - "type": "string", - "description": "The target namespace on which this delimiter settings has to be applied." - } - } - }, - "EdifactCharacterSet": { - "type": "string", - "enum": [ - "NotSpecified", - "UNOB", - "UNOA", - "UNOC", - "UNOD", - "UNOE", - "UNOF", - "UNOG", - "UNOH", - "UNOI", - "UNOJ", - "UNOK", - "UNOX", - "UNOY", - "KECA" - ], - "x-ms-enum": { - "name": "EdifactCharacterSet", - "modelAsString": false - } - }, - "EdifactDecimalIndicator": { - "type": "string", - "enum": [ - "NotSpecified", - "Comma", - "Decimal" - ], - "x-ms-enum": { - "name": "EdifactDecimalIndicator", - "modelAsString": false - } - }, - "IntegrationAccountCertificateListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationAccountCertificate" - }, - "description": "The list of integration account certificates." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } - }, - "IntegrationAccountCertificate": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IntegrationAccountCertificateProperties", - "description": "The integration account certificate properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/IntegrationAccountResource" - } - ] - }, - "IntegrationAccountCertificateProperties": { - "type": "object", - "properties": { - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The changed time." - }, - "metadata": { - "type": "object", - "description": "The metadata.", - "properties": { - } - }, - "key": { - "$ref": "#/definitions/KeyVaultKeyReference", - "description": "The key details in the key vault." - }, - "publicCertificate": { - "type": "string", - "description": "The public certificate." - } - } - }, - "KeyVaultKeyReference": { - "type": "object", - "properties": { - "keyVault": { - "type": "object", - "description": "The key vault reference.", - "properties": { - "id": { - "type": "string", - "description": "The resource id." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The resource name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The resource type." - } - } - }, - "keyName": { - "type": "string", - "description": "The private key name in key vault." - }, - "keyVersion": { - "type": "string", - "description": "The private key version in key vault." - } - } + "x-ms-odata": "#/definitions/IntegrationAccountAgreementFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}": { + "get": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_Get", + "description": "Gets an integration account agreement.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } } + }, + "put": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_CreateOrUpdate", + "description": "Creates or updates an integration account agreement.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "agreement", + "description": "The integration account agreement.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_Delete", + "description": "Deletes an integration account agreement.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "description": "The subscription id.", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates": { + "get": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_List", + "description": "Gets a list of integration account certificates.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", "in": "path", "required": true, "type": "string" - }, - "api-version": { - "name": "api-version", - "description": "The API version.", + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificateListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}": { + "get": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_Get", + "description": "Gets an integration account certificate.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_CreateOrUpdate", + "description": "Creates or updates an integration account certificate.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "certificate", + "description": "The integration account certificate.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_Delete", + "description": "Deletes an integration account certificate.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", "required": true, "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + } + }, + "definitions": { + "IntegrationAccountResource": { + "properties": { + "id": { + "type": "string", + "description": "The resource id." + }, + "name": { + "type": "string", + "description": "The resource name." + }, + "type": { + "type": "string", + "description": "The resource type." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + } + }, + "x-ms-azure-resource": true + }, + "IntegrationAccountSkuName": { + "type": "string", + "enum": [ + "NotSpecified", + "Free", + "Shared", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": false + } + }, + "IntegrationAccountContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The content link URI." + }, + "contentVersion": { + "type": "string", + "description": "The content version." + }, + "contentSize": { + "type": "integer", + "format": "int64", + "description": "The content size." + }, + "contentHash": { + "$ref": "#/definitions/IntegrationAccountContentHash", + "description": "The content hash." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + } + } + }, + "IntegrationAccountContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "The content hash algorithm." + }, + "value": { + "type": "string", + "description": "The content hash value." + } + } + }, + "IntegrationAccount": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountProperties", + "description": "The integration account properties." + }, + "sku": { + "$ref": "#/definitions/IntegrationAccountSku", + "description": "The sku." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountProperties": { + "type": "object" + }, + "IntegrationAccountListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccount" + }, + "description": "The list of integration accounts." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ListCallbackUrlParameters": { + "type": "object", + "properties": { + "NotAfter": { + "type": "string", + "format": "date-time", + "description": "The expiry time." + } + } + }, + "CallbackUrl": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "The URL value." + } + } + }, + "IntegrationAccountSchema": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountSchemaProperties", + "description": "The integration account schema properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountSchemaProperties": { + "type": "object", + "properties": { + "schemaType": { + "$ref": "#/definitions/SchemaType", + "description": "The schema type." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "content": { + "type": "object", + "description": "The content.", + "properties": {} + }, + "contentType": { + "type": "string", + "description": "The content type." + }, + "contentLink": { + "$ref": "#/definitions/IntegrationAccountContentLink", + "readOnly": true, + "description": "The content link." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + } + } + }, + "IntegrationAccountSchemaListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountSchema" + }, + "description": "The list of integration account schemas." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "IntegrationAccountSchemaFilter": { + "type": "object", + "properties": { + "schemaType": { + "$ref": "#/definitions/SchemaType", + "description": "The schema type of integration account schema." + } + } + }, + "SchemaType": { + "type": "string", + "enum": [ + "NotSpecified", + "Xml" + ], + "x-ms-enum": { + "name": "SchemaType", + "modelAsString": false + } + }, + "IntegrationAccountMap": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountMapProperties", + "description": "The integration account map properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountMapProperties": { + "type": "object", + "properties": { + "mapType": { + "$ref": "#/definitions/MapType", + "description": "The map type." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "content": { + "type": "object", + "description": "The content.", + "properties": {} + }, + "contentType": { + "type": "string", + "description": "The content type." + }, + "contentLink": { + "$ref": "#/definitions/IntegrationAccountContentLink", + "readOnly": true, + "description": "The content link." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + } + } + }, + "IntegrationAccountMapListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountMap" + }, + "description": "The list of integration account maps." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "IntegrationAccountMapFilter": { + "type": "object", + "properties": { + "schemaType": { + "$ref": "#/definitions/MapType", + "description": "The map type of integration account map." + } + } + }, + "MapType": { + "type": "string", + "enum": [ + "NotSpecified", + "Xslt" + ], + "x-ms-enum": { + "name": "MapType", + "modelAsString": false + } + }, + "IntegrationAccountSku": { + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/IntegrationAccountSkuName", + "description": "The sku name." + } + } + }, + "IntegrationAccountPartnerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountPartner" + }, + "description": "The list of integration account partners." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "IntegrationAccountPartnerFilter": { + "type": "object", + "properties": { + "partnerType": { + "$ref": "#/definitions/PartnerType", + "description": "The partner type of integration account partner." + } + } + }, + "IntegrationAccountPartner": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountPartnerProperties", + "description": "The integration account partner properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountPartnerProperties": { + "type": "object", + "properties": { + "partnerType": { + "$ref": "#/definitions/PartnerType", + "description": "The partner type." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "content": { + "$ref": "#/definitions/PartnerContent", + "description": "The partner content." + } + } + }, + "PartnerType": { + "type": "string", + "enum": [ + "NotSpecified", + "B2B" + ], + "x-ms-enum": { + "name": "PartnerType", + "modelAsString": false + } + }, + "PartnerContent": { + "type": "object", + "properties": { + "b2b": { + "$ref": "#/definitions/B2BPartnerContent", + "description": "The B2B partner content." + } + } + }, + "B2BPartnerContent": { + "type": "object", + "properties": { + "businessIdentities": { + "type": "array", + "items": { + "$ref": "#/definitions/BusinessIdentity" + }, + "description": "The list of partner business identities." + } + } + }, + "BusinessIdentity": { + "type": "object", + "properties": { + "Qualifier": { + "type": "string", + "description": "The business identity qualifier." + }, + "Value": { + "type": "string", + "description": "The business identity value." + } + } + }, + "IntegrationAccountAgreementListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountAgreement" + }, + "description": "The list of integration account agreements." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "IntegrationAccountAgreementFilter": { + "type": "object", + "properties": { + "agreementType": { + "$ref": "#/definitions/AgreementType", + "description": "The agreement type of integration account agreement." + } + } + }, + "IntegrationAccountAgreement": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountAgreementProperties", + "description": "The integration account agreement properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountAgreementProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "agreementType": { + "$ref": "#/definitions/AgreementType", + "description": "The agreement type." + }, + "hostPartner": { + "type": "string", + "description": "The host partner." + }, + "guestPartner": { + "type": "string", + "description": "The guest partner." + }, + "hostIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The host identity." + }, + "guestIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The guest identity." + }, + "content": { + "$ref": "#/definitions/AgreementContent", + "description": "The agreement content." + } + } + }, + "AgreementType": { + "type": "string", + "enum": [ + "NotSpecified", + "AS2", + "X12", + "Edifact" + ], + "x-ms-enum": { + "name": "AgreementType", + "modelAsString": false + } + }, + "AgreementContent": { + "type": "object", + "properties": { + "AS2": { + "$ref": "#/definitions/AS2AgreementContent", + "description": "The AS2 agreement content." + }, + "X12": { + "$ref": "#/definitions/X12AgreementContent", + "description": "The X12 agreement content." + }, + "Edifact": { + "$ref": "#/definitions/EdifactAgreementContent", + "description": "The EDIFACT agreement content." + } + } + }, + "AS2AgreementContent": { + "type": "object", + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/AS2OneWayAgreement", + "description": "The AS2 one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/AS2OneWayAgreement", + "description": "The AS2 one-way send agreement." + } + } + }, + "AS2OneWayAgreement": { + "type": "object", + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/AS2ProtocolSettings", + "description": "The AS2 protocol settings." + } + } + }, + "AS2ProtocolSettings": { + "type": "object", + "properties": { + "messageConnectionSettings": { + "$ref": "#/definitions/AS2MessageConnectionSettings", + "description": "The message connection settings." + }, + "acknowledgementConnectionSettings": { + "$ref": "#/definitions/AS2AcknowledgementConnectionSettings", + "description": "The acknowledgement connection settings." + }, + "mdnSettings": { + "$ref": "#/definitions/AS2MdnSettings", + "description": "The MDN settings." + }, + "securitySettings": { + "$ref": "#/definitions/AS2SecuritySettings", + "description": "The security settings." + }, + "validationSettings": { + "$ref": "#/definitions/AS2ValidationSettings", + "description": "The validation settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/AS2EnvelopeSettings", + "description": "The envelope settings." + }, + "errorSettings": { + "$ref": "#/definitions/AS2ErrorSettings", + "description": "The error settings." + } + } + }, + "AS2AcknowledgementConnectionSettings": { + "type": "object", + "properties": { + "ignoreCertificateNameMismatch": { + "type": "boolean", + "description": "The value indicating whether to ignore mismatch in certificate name." + }, + "supportHttpStatusCodeContinue": { + "type": "boolean", + "description": "The value indicating whether to support HTTP status code 'CONTINUE'." + }, + "keepHttpConnectionAlive": { + "type": "boolean", + "description": "The value indicating whether to keep the connection alive." + }, + "unfoldHttpHeaders": { + "type": "boolean", + "description": "The value indicating whether to unfold the HTTP headers." + } + } + }, + "AS2MessageConnectionSettings": { + "type": "object", + "properties": { + "ignoreCertificateNameMismatch": { + "type": "boolean", + "description": "The value indicating whether to ignore mismatch in certificate name." + }, + "supportHttpStatusCodeContinue": { + "type": "boolean", + "description": "The value indicating whether to support HTTP status code 'CONTINUE'." + }, + "keepHttpConnectionAlive": { + "type": "boolean", + "description": "The value indicating whether to keep the connection alive." + }, + "unfoldHttpHeaders": { + "type": "boolean", + "description": "The value indicating whether to unfold the HTTP headers." + } + } + }, + "AS2MdnSettings": { + "type": "object", + "properties": { + "needMdn": { + "type": "boolean", + "description": "The value indicating whether to send or request a MDN." + }, + "signMdn": { + "type": "boolean", + "description": "The value indicating whether the MDN needs to be signed or not." + }, + "sendMdnAsynchronously": { + "type": "boolean", + "description": "The value indicating whether to send the asynchronous MDN." + }, + "receiptDeliveryUrl": { + "type": "string", + "description": "The receipt delivery URL." + }, + "dispositionNotificationTo": { + "type": "string", + "description": "The disposition notification to header value." + }, + "signOutboundMdnIfOptional": { + "type": "boolean", + "description": "The value indicating whether to sign the outbound MDN if optional." + }, + "mdnText": { + "type": "string", + "description": "The MDN text." + }, + "sendInboundMdnToMessageBox": { + "type": "boolean", + "description": "The value indicating whether to send inbound MDN to message box." + }, + "micHashingAlgorithm": { + "$ref": "#/definitions/HashingAlgorithm", + "description": "The signing or hashing algorithm." + } + } + }, + "AS2SecuritySettings": { + "type": "object", + "properties": { + "overrideGroupSigningCertificate": { + "type": "boolean", + "description": "The value indicating whether to send or request a MDN." + }, + "signingCertificateName": { + "type": "string", + "description": "The name of the signing certificate." + }, + "encryptionCertificateName": { + "type": "string", + "description": "The name of the encryption certificate." + }, + "enableNrrForInboundEncodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound encoded messages." + }, + "enableNrrForInboundDecodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound decoded messages." + }, + "enableNrrForOutboundMdn": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound MDN." + }, + "enableNrrForOutboundEncodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound encoded messages." + }, + "enableNrrForOutboundDecodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound decoded messages." + }, + "enableNrrForInboundMdn": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound MDN." + } + } + }, + "AS2ValidationSettings": { + "type": "object", + "properties": { + "overrideMessageProperties": { + "type": "boolean", + "description": "The value indicating whether to override incoming message properties with those in agreement." + }, + "encryptMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be encrypted." + }, + "signMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be signed." + }, + "compressMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be compressed." + }, + "checkDuplicateMessage": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate message." + }, + "interchangeDuplicatesValidityDays": { + "type": "integer", + "format": "int32", + "description": "The number of days to look back for duplicate interchange." + }, + "checkCertificateRevocationListOnSend": { + "type": "boolean", + "description": "The value indicating whether to check for certificate revocation list on send." + }, + "checkCertificateRevocationListOnReceive": { + "type": "boolean", + "description": "The value indicating whether to check for certificate revocation list on receive." + }, + "encryptionAlgorithm": { + "$ref": "#/definitions/EncryptionAlgorithm", + "description": "The encryption algorithm." } + } + }, + "AS2EnvelopeSettings": { + "type": "object", + "properties": { + "messageContentType": { + "type": "string", + "description": "The message content type." + }, + "transmitFileNameInMimeHeader": { + "type": "boolean", + "description": "The value indicating whether to transmit file name in mime header." + }, + "fileNameTemplate": { + "type": "string", + "description": "The template for file name." + }, + "SuspendMessageOnFileNameGenerationError": { + "type": "boolean", + "description": "The value indicating whether to suspend message on file name generation error." + }, + "AutogenerateFileName": { + "type": "boolean", + "description": "The value indicating whether to auto generate file name." + } + } + }, + "AS2ErrorSettings": { + "type": "object", + "properties": { + "SuspendDuplicateMessage": { + "type": "boolean", + "description": "The value indicating whether to suspend duplicate message." + }, + "ResendIfMdnNotReceived": { + "type": "boolean", + "description": "The value indicating whether to resend message If MDN is not received." + } + } + }, + "X12AgreementContent": { + "type": "object", + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/X12OneWayAgreement", + "description": "The X12 one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/X12OneWayAgreement", + "description": "The X12 one-way send agreement." + } + } + }, + "X12OneWayAgreement": { + "type": "object", + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/X12ProtocolSettings", + "description": "The X12 protocol settings." + } + } + }, + "X12ProtocolSettings": { + "type": "object", + "properties": { + "validationSettings": { + "$ref": "#/definitions/X12ValidationSettings", + "description": "The X12 validation settings." + }, + "framingSettings": { + "$ref": "#/definitions/X12FramingSettings", + "description": "The X12 framing settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/X12EnvelopeSettings", + "description": "The X12 envelope settings." + }, + "acknowledgementSettings": { + "$ref": "#/definitions/X12AcknowledgementSettings", + "description": "The X12 acknowledgment settings." + }, + "messageFilter": { + "$ref": "#/definitions/X12MessageFilter", + "description": "The X12 message filter." + }, + "securitySettings": { + "$ref": "#/definitions/X12SecuritySettings", + "description": "The X12 security settings." + }, + "processingSettings": { + "$ref": "#/definitions/X12ProcessingSettings", + "description": "The X12 processing settings." + }, + "envelopeOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12EnvelopeOverride" + }, + "description": "The X12 envelope override settings." + }, + "validationOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12ValidationOverride" + }, + "description": "The X12 validation override settings." + }, + "messageFilterList": { + "type": "array", + "items": { + "$ref": "#/definitions/X12MessageIdentifier" + }, + "description": "The X12 message filter list." + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/X12SchemaReference" + }, + "description": "The X12 schema references." + }, + "x12DelimiterOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12DelimiterOverrides" + }, + "description": "The X12 delimiter override settings." + } + } + }, + "X12ValidationSettings": { + "type": "object", + "properties": { + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character set in the message." + }, + "checkDuplicateInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate interchange control number." + }, + "interchangeControlNumberValidityDays": { + "type": "integer", + "format": "int32", + "description": "The validity period of interchange control number." + }, + "checkDuplicateGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate group control number." + }, + "checkDuplicateTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate transaction set control number." + }, + "validateEDITypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate EDI types." + }, + "validateXSDTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + } + }, + "X12FramingSettings": { + "type": "object", + "properties": { + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "replaceSeparatorsInPayload": { + "type": "boolean", + "description": "The value indicating whether to replace separators in payload." + }, + "replaceCharacter": { + "type": "integer", + "format": "int32", + "description": "The replacement character." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "characterSet": { + "$ref": "#/definitions/X12CharacterSet", + "description": "The X12 character set." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + } + } + }, + "X12EnvelopeSettings": { + "type": "object", + "properties": { + "controlStandardsId": { + "type": "integer", + "format": "int32", + "description": "The controls standards id." + }, + "useControlStandardsIdAsRepetitionCharacter": { + "type": "boolean", + "description": "The value indicating whether to use control standards id as repetition character." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "controlVersionNumber": { + "type": "string", + "description": "The control version number." + }, + "interchangeControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The interchange control number lower bound." + }, + "interchangeControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The interchange control number upper bound." + }, + "rolloverInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover interchange control number." + }, + "enableDefaultGroupHeaders": { + "type": "boolean", + "description": "The value indicating whether to enable default group headers." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "groupControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The group control number lower bound." + }, + "groupControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The group control number upper bound." + }, + "rolloverGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover group control number." + }, + "groupHeaderAgencyCode": { + "type": "string", + "description": "The group header agency code." + }, + "groupHeaderVersion": { + "type": "string", + "description": "The group header version." + }, + "transactionSetControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The transaction set control number lower bound." + }, + "transactionSetControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The transaction set control number upper bound." + }, + "rolloverTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover transaction set control number." + }, + "transactionSetControlNumberPrefix": { + "type": "string", + "description": "The transaction set control number prefix." + }, + "transactionSetControlNumberSuffix": { + "type": "string", + "description": "The transaction set control number suffix." + }, + "overwriteExistingTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to overwrite existing transaction set control number." + }, + "groupHeaderDateFormat": { + "$ref": "#/definitions/X12DateFormat", + "description": "The group header date format." + }, + "groupHeaderTimeFormat": { + "$ref": "#/definitions/X12TimeFormat", + "description": "The group header time format." + }, + "usageIndicator": { + "$ref": "#/definitions/UsageIndicator", + "description": "The usage indicator." + } + } + }, + "X12AcknowledgementSettings": { + "type": "object", + "properties": { + "needTechnicalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether technical acknowledgement is needed." + }, + "batchTechnicalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch the technical acknowledgements." + }, + "needFunctionalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether functional acknowledgement is needed." + }, + "functionalAcknowledgementVersion": { + "type": "string", + "description": "The functional acknowledgement version." + }, + "batchFunctionalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch functional acknowledgements." + }, + "needImplementationAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether implementation acknowledgement is needed." + }, + "implementationAcknowledgementVersion": { + "type": "string", + "description": "The implementation acknowledgement version." + }, + "batchImplementationAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch implementation acknowledgements." + }, + "needLoopForValidMessages": { + "type": "boolean", + "description": "The value indicating whether a loop is needed for valid messages." + }, + "sendSynchronousAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether to send synchronous acknowledgement." + }, + "acknowledgementControlNumberPrefix": { + "type": "string", + "description": "The acknowledgement control number prefix." + }, + "acknowledgementControlNumberSuffix": { + "type": "string", + "description": "The acknowledgement control number suffix." + }, + "acknowledgementControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number lower bound." + }, + "acknowledgementControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number upper bound." + }, + "rolloverAcknowledgementControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover acknowledgement control number." + } + } + }, + "X12MessageFilter": { + "type": "object", + "properties": { + "messageFilterType": { + "$ref": "#/definitions/MessageFilterType", + "description": "The message filter type." + } + } + }, + "X12SecuritySettings": { + "type": "object", + "properties": { + "authorizationQualifier": { + "type": "string", + "description": "The authorization qualifier." + }, + "authorizationValue": { + "type": "string", + "description": "The authorization value." + }, + "securityQualifier": { + "type": "string", + "description": "The security qualifier." + }, + "passwordValue": { + "type": "string", + "description": "The password value." + } + } + }, + "X12ProcessingSettings": { + "type": "object", + "properties": { + "maskSecurityInfo": { + "type": "boolean", + "description": "The value indicating whether to mask security information." + }, + "convertImpliedDecimal": { + "type": "boolean", + "description": "The value indicating whether to convert numerical type to implied decimal." + }, + "preserveInterchange": { + "type": "boolean", + "description": "The value indicating whether to preserve interchange." + }, + "suspendInterchangeOnError": { + "type": "boolean", + "description": "The value indicating whether to suspend interchange on error." + }, + "createEmptyXmlTagsForTrailingSeparators": { + "type": "boolean", + "description": "The value indicating whether to create empty xml tags for trailing separators." + }, + "useDotAsDecimalSeparator": { + "type": "boolean", + "description": "The value indicating whether to use dot as decimal separator." + } + } + }, + "X12EnvelopeOverride": { + "type": "object", + "properties": { + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this envelope settings has to be applied." + }, + "protocolVersion": { + "type": "string", + "description": "The protocol version on which this envelope settings has to be applied." + }, + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + }, + "responsibleAgencyCode": { + "type": "integer", + "format": "int32", + "description": "The responsible agency code." + }, + "headerVersion": { + "type": "string", + "description": "The header version." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "functionalIdentifierCode": { + "type": "string", + "description": "The functional identifier code." + }, + "dateFormat": { + "$ref": "#/definitions/X12DateFormat", + "description": "The date format." + }, + "timeFormat": { + "$ref": "#/definitions/X12TimeFormat", + "description": "The time format." + } + } + }, + "X12ValidationOverride": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which the validation settings has to be applied." + }, + "validateEDITypes": { + "type": "boolean", + "description": "The value indicating whether to validate EDI types." + }, + "validateXSDTypes": { + "type": "boolean", + "description": "The value indicating whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character Set." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + } + }, + "X12MessageIdentifier": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + } + } + }, + "X12SchemaReference": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "schemaVersion": { + "type": "string", + "description": "The schema version." + }, + "schemaName": { + "type": "string", + "description": "The schema name." + } + } + }, + "X12DelimiterOverrides": { + "type": "object", + "properties": { + "protocolVersion": { + "type": "string", + "description": "The protocol version." + }, + "messageId": { + "type": "string", + "description": "The message id." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + }, + "replaceCharacter": { + "type": "integer", + "format": "int32", + "description": "The replacement character." + }, + "replaceSeparatorsInPayload": { + "type": "boolean", + "description": "The value indicating whether to replace separators in payload." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this delimiter settings has to be applied." + } + } + }, + "X12CharacterSet": { + "type": "string", + "enum": [ + "NotSpecified", + "Basic", + "Extended", + "UTF8" + ], + "x-ms-enum": { + "name": "X12CharacterSet", + "modelAsString": false + } + }, + "SegmentTerminatorSuffix": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ], + "x-ms-enum": { + "name": "SegmentTerminatorSuffix", + "modelAsString": false + } + }, + "X12DateFormat": { + "type": "string", + "enum": [ + "NotSpecified", + "CCYYMMDD", + "YYMMDD" + ], + "x-ms-enum": { + "name": "X12DateFormat", + "modelAsString": false + } + }, + "X12TimeFormat": { + "type": "string", + "enum": [ + "NotSpecified", + "HHMM", + "HHMMSS", + "HHMMSSdd", + "HHMMSSd" + ], + "x-ms-enum": { + "name": "X12TimeFormat", + "modelAsString": false + } + }, + "UsageIndicator": { + "type": "string", + "enum": [ + "NotSpecified", + "Test", + "Information", + "Production" + ], + "x-ms-enum": { + "name": "UsageIndicator", + "modelAsString": false + } + }, + "MessageFilterType": { + "type": "string", + "enum": [ + "NotSpecified", + "Include", + "Exclude" + ], + "x-ms-enum": { + "name": "MessageFilterType", + "modelAsString": false + } + }, + "HashingAlgorithm": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "SHA2256", + "SHA2384", + "SHA2512" + ], + "x-ms-enum": { + "name": "HashingAlgorithm", + "modelAsString": false + } + }, + "EncryptionAlgorithm": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "DES3", + "RC2", + "AES128", + "AES192", + "AES256" + ], + "x-ms-enum": { + "name": "EncryptionAlgorithm", + "modelAsString": false + } + }, + "TrailingSeparatorPolicy": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAllowed", + "Optional", + "Mandatory" + ], + "x-ms-enum": { + "name": "TrailingSeparatorPolicy", + "modelAsString": false + } + }, + "EdifactAgreementContent": { + "type": "object", + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/EdifactOneWayAgreement", + "description": "The EDIFACT one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/EdifactOneWayAgreement", + "description": "The EDIFACT one-way send agreement." + } + } + }, + "EdifactOneWayAgreement": { + "type": "object", + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/EdifactProtocolSettings", + "description": "The EDIFACT protocol settings." + } + } + }, + "EdifactProtocolSettings": { + "type": "object", + "properties": { + "validationSettings": { + "$ref": "#/definitions/EdifactValidationSettings", + "description": "The EDIFACT validation settings." + }, + "framingSettings": { + "$ref": "#/definitions/EdifactFramingSettings", + "description": "The EDIFACT framing settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/EdifactEnvelopeSettings", + "description": "The EDIFACT envelope settings." + }, + "acknowledgementSettings": { + "$ref": "#/definitions/EdifactAcknowledgementSettings", + "description": "The EDIFACT acknowledgement settings." + }, + "messageFilter": { + "$ref": "#/definitions/EdifactMessageFilter", + "description": "The EDIFACT message filter." + }, + "processingSettings": { + "$ref": "#/definitions/EdifactProcessingSettings", + "description": "The EDIFACT processing Settings." + }, + "envelopeOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactEnvelopeOverride" + }, + "description": "The EDIFACT envelope override settings." + }, + "messageFilterList": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactMessageIdentifier" + }, + "description": "The EDIFACT message filter list." + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactSchemaReference" + }, + "description": "The EDIFACT schema references." + }, + "validationOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactValidationOverride" + }, + "description": "The EDIFACT validation override settings." + }, + "edifactDelimiterOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactDelimiterOverride" + }, + "description": "The EDIFACT delimiter override settings." + } + } + }, + "EdifactValidationSettings": { + "type": "object", + "properties": { + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character set in the message." + }, + "checkDuplicateInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate interchange control number." + }, + "interchangeControlNumberValidityDays": { + "type": "integer", + "format": "int32", + "description": "The validity period of interchange control number." + }, + "checkDuplicateGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate group control number." + }, + "checkDuplicateTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate transaction set control number." + }, + "validateEDITypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate EDI types." + }, + "validateXSDTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + } + }, + "EdifactFramingSettings": { + "type": "object", + "properties": { + "serviceCodeListDirectoryVersion": { + "type": "string", + "description": "The service code list directory version." + }, + "characterEncoding": { + "type": "string", + "description": "The character encoding." + }, + "protocolVersion": { + "type": "integer", + "format": "int32", + "description": "The protocol version." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "releaseIndicator": { + "type": "integer", + "format": "int32", + "description": "The release indicator." + }, + "repetitionSeparator": { + "type": "integer", + "format": "int32", + "description": "The repetition separator." + }, + "characterSet": { + "$ref": "#/definitions/EdifactCharacterSet", + "description": "The EDIFACT frame setting characterSet." + }, + "decimalPointIndicator": { + "$ref": "#/definitions/EdifactDecimalIndicator", + "description": "The EDIFACT frame setting decimal indicator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The EDIFACT frame setting segment terminator suffix." + } + } + }, + "EdifactEnvelopeSettings": { + "type": "object", + "properties": { + "groupAssociationAssignedCode": { + "type": "string", + "description": "The group association assigned code." + }, + "communicationAgreementId": { + "type": "string", + "description": "The communication agreement id." + }, + "applyDelimiterStringAdvice": { + "type": "boolean", + "description": "The value indicating whether to apply delimiter string advice." + }, + "createGroupingSegments": { + "type": "boolean", + "description": "The value indicating whether to create grouping segments." + }, + "enableDefaultGroupHeaders": { + "type": "boolean", + "description": "The value indicating whether to enable default group headers." + }, + "recipientReferencePasswordValue": { + "type": "string", + "description": "The recipient reference password value." + }, + "recipientReferencePasswordQualifier": { + "type": "string", + "description": "The recipient reference password qualifier." + }, + "applicationReferenceId": { + "type": "string", + "description": "The application reference id." + }, + "processingPriorityCode": { + "type": "string", + "description": "The processing priority code." + }, + "interchangeControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The interchange control number lower bound." + }, + "interchangeControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The interchange control number upper bound." + }, + "rolloverInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover interchange control number." + }, + "interchangeControlNumberPrefix": { + "type": "string", + "description": "The interchange control number prefix." + }, + "interchangeControlNumberSuffix": { + "type": "string", + "description": "The interchange control number suffix." + }, + "senderReverseRoutingAddress": { + "type": "string", + "description": "The sender reverse routing address." + }, + "receiverReverseRoutingAddress": { + "type": "string", + "description": "The receiver reverse routing address." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "groupControllingAgencyCode": { + "type": "string", + "description": "The group controlling agency code." + }, + "groupMessageVersion": { + "type": "string", + "description": "The group message version." + }, + "groupMessageRelease": { + "type": "string", + "description": "The group message release." + }, + "groupControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The group control number lower bound." + }, + "groupControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The group control number upper bound." + }, + "rolloverGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover group control number." + }, + "groupControlNumberPrefix": { + "type": "string", + "description": "The group control number prefix." + }, + "groupControlNumberSuffix": { + "type": "string", + "description": "The group control number suffix." + }, + "groupApplicationReceiverQualifier": { + "type": "string", + "description": "The group application receiver qualifier." + }, + "groupApplicationReceiverId": { + "type": "string", + "description": "The group application receiver id." + }, + "groupApplicationSenderQualifier": { + "type": "string", + "description": "The group application sender qualifier." + }, + "groupApplicationSenderId": { + "type": "string", + "description": "The group application sender id." + }, + "groupApplicationPassword": { + "type": "string", + "description": "The group application password." + }, + "overwriteExistingTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to overwrite existing transaction set control number." + }, + "transactionSetControlNumberPrefix": { + "type": "string", + "description": "The transaction set control number prefix." + }, + "transactionSetControlNumberSuffix": { + "type": "string", + "description": "The transaction set control number suffix." + }, + "transactionSetControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The transaction set control number lower bound." + }, + "transactionSetControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The transaction set control number upper bound." + }, + "rolloverTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover transaction set control number." + }, + "isTestInterchange": { + "type": "boolean", + "description": "The value indicating whether the message is a test interchange." + }, + "senderInternalIdentification": { + "type": "string", + "description": "The sender internal identification." + }, + "senderInternalSubIdentification": { + "type": "string", + "description": "The sender internal sub identification." + }, + "receiverInternalIdentification": { + "type": "string", + "description": "The receiver internal identification." + }, + "receiverInternalSubIdentification": { + "type": "string", + "description": "The receiver internal sub identification." + } + } + }, + "EdifactAcknowledgementSettings": { + "type": "object", + "properties": { + "needTechnicalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether technical acknowledgement is needed." + }, + "batchTechnicalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch the technical acknowledgements." + }, + "needFunctionalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether functional acknowledgement is needed." + }, + "batchFunctionalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch functional acknowledgements." + }, + "needLoopForValidMessages": { + "type": "boolean", + "description": "The value indicating whether a loop is needed for valid messages." + }, + "sendSynchronousAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether to send synchronous acknowledgement." + }, + "acknowledgementControlNumberPrefix": { + "type": "string", + "description": "The acknowledgement control number prefix." + }, + "acknowledgementControlNumberSuffix": { + "type": "string", + "description": "The acknowledgement control number suffix." + }, + "acknowledgementControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number lower bound." + }, + "acknowledgementControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number upper bound." + }, + "rolloverAcknowledgementControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover acknowledgement control number." + } + } + }, + "EdifactMessageFilter": { + "type": "object", + "properties": { + "messageFilterType": { + "$ref": "#/definitions/MessageFilterType", + "description": "The message filter type." + } + } + }, + "EdifactProcessingSettings": { + "type": "object", + "properties": { + "maskSecurityInfo": { + "type": "boolean", + "description": "The value indicating whether to mask security information." + }, + "preserveInterchange": { + "type": "boolean", + "description": "The value indicating whether to preserve interchange." + }, + "suspendInterchangeOnError": { + "type": "boolean", + "description": "The value indicating whether to suspend interchange on error." + }, + "createEmptyXmlTagsForTrailingSeparators": { + "type": "boolean", + "description": "The value indicating whether to create empty xml tags for trailing separators." + }, + "useDotAsDecimalSeparator": { + "type": "boolean", + "description": "The value indicating whether to use dot as decimal separator." + } + } + }, + "EdifactEnvelopeOverride": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + }, + "messageVersion": { + "type": "string", + "description": "The message version on which this envelope settings has to be applied." + }, + "messageRelease": { + "type": "string", + "description": "The message release version on which this envelope settings has to be applied." + }, + "messageAssociationAssignedCode": { + "type": "string", + "description": "The message association assigned code." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this envelope settings has to be applied." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "senderApplicationQualifier": { + "type": "string", + "description": "The sender application qualifier." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationQualifier": { + "type": "string", + "description": "The receiver application qualifier." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "controllingAgencyCode": { + "type": "string", + "description": "The controlling agency code." + }, + "groupHeaderMessageVersion": { + "type": "string", + "description": "The group header message version." + }, + "groupHeaderMessageRelease": { + "type": "string", + "description": "The group header message release." + }, + "associationAssignedCode": { + "type": "string", + "description": "The association assigned code." + }, + "applicationPassword": { + "type": "string", + "description": "The application password." + } + } + }, + "EdifactMessageIdentifier": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + } + } + }, + "EdifactSchemaReference": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "messageVersion": { + "type": "string", + "description": "The message version." + }, + "messageRelease": { + "type": "string", + "description": "The message release version." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "senderApplicationQualifier": { + "type": "string", + "description": "The sender application qualifier." + }, + "associationAssignedCode": { + "type": "string", + "description": "The association assigned code." + }, + "schemaName": { + "type": "string", + "description": "The schema name." + } + } + }, + "EdifactValidationOverride": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which the validation settings has to be applied." + }, + "enforceCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character Set." + }, + "validateEDITypes": { + "type": "boolean", + "description": "The value indicating whether to validate EDI types." + }, + "validateXSDTypes": { + "type": "boolean", + "description": "The value indicating whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + } + } + }, + "EdifactDelimiterOverride": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "messageVersion": { + "type": "string", + "description": "The message version." + }, + "messageRelease": { + "type": "string", + "description": "The message release version." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "repetitionSeparator": { + "type": "integer", + "format": "int32", + "description": "The repetition separator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + }, + "decimalPointIndicator": { + "$ref": "#/definitions/EdifactDecimalIndicator", + "description": "The decimal point indicator." + }, + "releaseIndicator": { + "type": "integer", + "format": "int32", + "description": "The release indicator." + }, + "messageAssociationAssignedCode": { + "type": "string", + "description": "The message association assigned code." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this delimiter settings has to be applied." + } + } + }, + "EdifactCharacterSet": { + "type": "string", + "enum": [ + "NotSpecified", + "UNOB", + "UNOA", + "UNOC", + "UNOD", + "UNOE", + "UNOF", + "UNOG", + "UNOH", + "UNOI", + "UNOJ", + "UNOK", + "UNOX", + "UNOY", + "KECA" + ], + "x-ms-enum": { + "name": "EdifactCharacterSet", + "modelAsString": false + } + }, + "EdifactDecimalIndicator": { + "type": "string", + "enum": [ + "NotSpecified", + "Comma", + "Decimal" + ], + "x-ms-enum": { + "name": "EdifactDecimalIndicator", + "modelAsString": false + } + }, + "IntegrationAccountCertificateListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountCertificate" + }, + "description": "The list of integration account certificates." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "IntegrationAccountCertificate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountCertificateProperties", + "description": "The integration account certificate properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/IntegrationAccountResource" + } + ] + }, + "IntegrationAccountCertificateProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "key": { + "$ref": "#/definitions/KeyVaultKeyReference", + "description": "The key details in the key vault." + }, + "publicCertificate": { + "type": "string", + "description": "The public certificate." + } + } + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyVault": { + "type": "object", + "description": "The key vault reference.", + "properties": { + "id": { + "type": "string", + "description": "The resource id." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type." + } + } + }, + "keyName": { + "type": "string", + "description": "The private key name in key vault." + }, + "keyVersion": { + "type": "string", + "description": "The private key version in key vault." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "description": "The subscription id.", + "in": "path", + "required": true, + "type": "string" + }, + "api-version": { + "name": "api-version", + "description": "The API version.", + "in": "query", + "required": true, + "type": "string" } -} \ No newline at end of file + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json index 4a9cba6b9e51..a9ddf1f535ef 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json @@ -482,4 +482,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json index 7370ee946a49..af2fb7da3f5e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json index 8d1048b35fb4..3ab34a12b988 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json index b846b64a0dcd..19f62a0b95d4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json @@ -595,4 +595,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json index 8a20a322d403..793219e611f0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json index 1540af5978e1..f51838538f8f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json index ff7cef029e43..46b9b5817548 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json index 686b9e165072..719be6f5c4da 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json index 5ab3d785b34b..96d39b9d374c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json index 7f45cd32e4d1..318d21320132 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json index 1371671cb47d..117b15e0b0d4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json index 6c3fa83a06e6..af82162d9608 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json index cd8558f6cbfb..9851ed918d99 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json index 4b7730575f41..0923a89360b5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json index c14f44af91cc..c1af8daaba05 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json index 25c61d5bffc3..d304c0decbf6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json index 5aebf464fdd9..20e5bf7cf2f2 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json index 9dbc85729115..082eb1e9ccf1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json index d852355c5d3e..c04a5031957f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json index 931ac76dc436..60768e86e9d4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json index 4dbd60b4d9db..e685790d2cf0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json index 5cbf34e9385d..b2ecb62b36b9 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json index 17e754a767d7..d209463349ad 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json index dcdb12f1b17a..d1c4ef7141ba 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json index 27730f0769f0..5bfce3fe4e59 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json index a765a94c5a78..53ffd5fff4d0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json index 7332c84bed76..aed4c89bb312 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json index d2f387f76a6f..e35b16724886 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json index fbd94da5890d..013e23804c76 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json index 3d97c07bab66..8d05d8e47016 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json index 814753c54c1b..9fa9587ba018 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json index 1d039ddf613d..92b651247b60 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json index a65312d25165..b008e6953a16 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json index 6a0ff8120ba8..75e216e29e76 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json index ca8986f09f20..598ca26c236d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json index 45c3ef54b125..7befaa3b7df4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json index 5e1e50d41f08..3f3a82ada89c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json index 5280a15eb221..d18cd13e37b0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json index 057e1c062812..d5112bd319e3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json index 1c4b761fa9ff..ef94f3a1b879 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json index ef95351e238a..28448d9a2155 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json index f68b1bdc329e..c82fa5794a6f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json index 380249728ef9..d1264dff4c9f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json index 1d0726cbdb32..21f6bd71c7bf 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json index 02cfa29956b9..4f74193c217d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json @@ -56,4 +56,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json index 739972b5f3cf..20a6b4448528 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json index 0f4499002462..da2684a9b0dc 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json index 2369377ab4c6..3b534cf7c7fd 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json @@ -44,4 +44,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json index fe600bef1ba8..e955e8633e71 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json @@ -52,4 +52,4 @@ "location": "brazilsouth" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json index 2da2bc0a6ed4..7e52eed47cb0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json @@ -55,4 +55,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json index bc5d08394e95..e59fbda7aa18 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json @@ -9,4 +9,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json index 518b89a8c9f4..3eb6ea4f5dbe 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json @@ -24,4 +24,4 @@ "location": "brazilsouth" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json index 484cfb0cb89e..ae48bff0d1a1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json @@ -27,4 +27,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json index 50c3db652aff..305824048c94 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json @@ -26,4 +26,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json index 795d67394033..6c24d2e9b220 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json @@ -1348,4 +1348,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json index 5b06c98ac5bf..de766490ecac 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json index 72adfc688a82..f733dc07f2b5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json index ce935b634aac..831e2c067f80 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json index 96d0f071723b..113c5b6390ad 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json index 6ab0922e56c4..1ee7aece6afa 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json index a39cfc2daa86..39a4802d26f6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json index e2177e2559a4..459964a049df 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json index f08ee5960839..c06e0afe6cb9 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json index 880c4868d67e..53e32709b4a6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json index 80e875d55f2e..97580408f4fe 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json @@ -42,4 +42,4 @@ "type": "Microsoft.Logic/workflows/runs/actions" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json index a1db5925519b..2fded69b8506 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json @@ -45,4 +45,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json index 2653e137264a..fdb5405fd0b9 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json index 49c739e06f33..01c508c39bd6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json index 28d6b086f68e..77711bf7cadb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json index d80db8882239..3321ed1e8ce5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json @@ -39,4 +39,4 @@ "type": "Microsoft.Logic/workflows/runs" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json index 78369c18147c..983bb890cca0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json @@ -42,4 +42,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json index f3507095e5be..11daf6435e39 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json index 5e278cffedb3..7d7d56ce1518 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json @@ -33,4 +33,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json index 6ea7bc093117..9bcd990642c7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json @@ -10,4 +10,4 @@ "responses": { "202": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json index 137a55d3a11e..e5ce86368b32 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json @@ -24,4 +24,4 @@ "type": "Microsoft.Logic/workflows/triggers" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json index a9c726cf6231..275e166749e1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json index bdfdcb07f611..bdfb38ce41ed 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json @@ -27,4 +27,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json index a9919d035630..18db606a8127 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json index 2ca5d88cafc6..7ebf089676fc 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json index 5d9d83a06365..388aa5eb3ad7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json @@ -9,4 +9,4 @@ "responses": { "default": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json index 87aab5373b16..c965847f2466 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json @@ -14,4 +14,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json index a3dc915c5c47..b564fe57071a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json index bf979fb5cfe9..8582e730d11a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json @@ -71,4 +71,4 @@ "tags": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json index c6e1294f18c3..db0ac1e2a457 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json @@ -74,4 +74,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json index 77914c99b60d..aab93945cbb5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json @@ -122,4 +122,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json index 074b0856a0fc..1481bb2a0f9f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json index 2f0d9337774d..097eb81b222c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json index 2f0d9337774d..097eb81b222c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json index 3900cc695146..c2c6b1b45499 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json @@ -23,4 +23,4 @@ "outputs": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json index d4543c548e83..ab6341d47595 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json @@ -70,4 +70,4 @@ "tags": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json index cc400b578148..bbe4fe2d03de 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json @@ -73,4 +73,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json index 5aa89e41cc07..5d18a2201856 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json @@ -72,4 +72,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json index 0c686b5b2855..258a876f63d3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json index fd3f5480014a..0f6caf3c881c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json index f0aac548afcb..88c7d97f4e5f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json index 369bdae4a828..407dc794b9b7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json index 77914c99b60d..aab93945cbb5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json @@ -122,4 +122,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json index 3e0a30091f96..40f17679ffe7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json @@ -30,4 +30,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json index ffc82989ea63..a373654ad0a2 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json @@ -30,4 +30,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json index 8ed24880fc15..eeb28994adaf 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json @@ -10045,4 +10045,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json index 283e9b65b359..0c7905635e50 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json @@ -482,4 +482,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json index ad1e9a1788c7..44197061d5fa 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json index 20ba8e5cb95b..b8a14c7cd5cd 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json index bb0a8abbcb1c..3cf0f670a14d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json @@ -595,4 +595,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json index 58029a4619fa..d5d6bf2cf6a7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json index d738be2cbc85..898e78f1c1eb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json index cb164901e351..14b3e32212be 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json index b800699878ae..e41993785b8c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json index decfda80d8cd..99166c797fb3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json index b9d4617037ad..a2d097029428 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json index 7724d4c45959..dbfcb324e607 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json index c4ff6eeaf470..7c019af3c2cb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json index 364a8dc15c45..521b53c94102 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json index 70fc6b810cf1..03da1d058e32 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json index d90909e8e1c7..4edb3b10ab55 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json index b6a0db5f1b0d..dad0e951f40d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json index 569b275766f9..890b26bb0d6d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json index a673e8adb3f1..b891afbd3828 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json index 3173331c60fd..7c53a5530716 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json index c01d1c1a6024..316b1ccb643b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json index 529d8d3bb6f7..393cc41f1003 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json index 87253f73ddc9..5d31487816ea 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json index 6d6d97bec930..e0b58f10f5c1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json index d67f9891614d..04b2a03169db 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json index 0bcda03a220b..7350ef83e347 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json index 0d1ab9b75b7c..8b6c7da94fe3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json @@ -56,4 +56,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json index 50f8d244e8af..10ad9281b58d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json index 9b9f43561c7b..1e0cf1356955 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json index dc257e403b4e..f6a3d3f1adff 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json index 3478ce4d46c3..09dc50ef71db 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json index 162fc3057cf1..eddb68f0b8c1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json index 3efe1781081c..d2f156935ddc 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json index 1bc62ce40c21..0d344627a4db 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json index cf25ee4fdaa1..21f8bc57f4c6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json @@ -1348,4 +1348,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json index f7cd4009b41e..dbb733d5ef5f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json index 3da0e53fda27..31d68da9b93a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json index 84124ab698d3..7a97420f879f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json index d1a10bbfb0d2..67d54064fc3b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json index c283a3c523c3..52183566bd8e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json index 2b69a68fd9f6..177d64859d68 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json index a5849bf97bb9..7191ea5a2ca4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json index 759cdbba6320..387a054b8289 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json index a7fb699daef7..48bf6fea5b41 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json index 164f81c819df..5eb9ffe21ac1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json index 2c0e08993096..3ebdfc07e5b2 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json index 8b680068bb7c..c4dbe1f9c433 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json index 8f51e78c451c..906e291c6451 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json index ebf589f11796..92606118f4df 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json index c39357e542cc..90ad77d6288e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json index 7501fd2beeb7..f4bc83fe7642 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json index f3bf713296fe..6328527bd86d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json index 5b06c98ac5bf..de766490ecac 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json index 72adfc688a82..f733dc07f2b5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json index a39cfc2daa86..39a4802d26f6 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json index e2177e2559a4..459964a049df 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json index abb051738459..992ce812f8cb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json index d6f94735aa90..96e43b1081aa 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json index 25b0bbd62ccc..79c49a98d260 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json @@ -42,4 +42,4 @@ "type": "Microsoft.Logic/workflows/runs/actions" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json index c428a0d857c3..65e48ec70a79 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json @@ -45,4 +45,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json index 347d8d3beeb9..2ec7c5b18818 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json index f984164dbdc2..57beec741980 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json index 5ad071d00167..ae7cf7002edc 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json index 940a0f986c9d..e2aac39d7dee 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json @@ -39,4 +39,4 @@ "type": "Microsoft.Logic/workflows/runs" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json index 9d84df605cc0..a0051eb43519 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json @@ -42,4 +42,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json index f28d5b17c967..62075f31e66f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json index 1907963cb9fe..0a5a49364185 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json @@ -33,4 +33,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json index 4089dfb37c4a..dea1de8a0e30 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json @@ -10,4 +10,4 @@ "responses": { "202": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json index f88b136623db..cad2208e14f5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json @@ -24,4 +24,4 @@ "type": "Microsoft.Logic/workflows/triggers" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json index f88b136623db..cad2208e14f5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json @@ -24,4 +24,4 @@ "type": "Microsoft.Logic/workflows/triggers" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json index 51a8a287edc8..b7b460a1337c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json @@ -27,4 +27,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json index e168ec217618..b616985df406 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json index f3d5ef689136..5f9b9486396e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json @@ -9,4 +9,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json index dc31ffeb5956..cccbaa5b4b43 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json @@ -9,4 +9,4 @@ "responses": { "default": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json index ae4d178e5837..5403d91ae704 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json @@ -14,4 +14,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json index 98161f5dae2d..f4e3b1edf5a1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json @@ -71,4 +71,4 @@ "tags": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json index c562959c68c3..a44b38d1e452 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json @@ -74,4 +74,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json index 3deaeabfbb27..6ceeab9c2346 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json index 32c4ebf451a7..776e94be8767 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json @@ -180,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json index 584368d8cfec..d734f98f381d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json index fa2962180244..4e1dc873e061 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json index fa2962180244..4e1dc873e061 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json index 4253a1150516..0e1dbdff506c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json @@ -23,4 +23,4 @@ "outputs": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json index 24911e5f48af..8ec69b492675 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json @@ -70,4 +70,4 @@ "tags": {} } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json index ca6857d4ac41..f45331bbcadb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json @@ -73,4 +73,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json index 82ad92c5bafb..911ddf497f30 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json @@ -72,4 +72,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json index e047718048bd..30d0d8d8dbf0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json index 39f1ac94bfbe..e152fc6bc466 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json index 46a587c0df85..d0ddd1d86533 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json index e1b25e484914..72cd4506c01a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json index 9715a45041ba..e41aec2e6d3e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json @@ -122,4 +122,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json index dcf2be9c50e8..a1ad978dc8c7 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json @@ -30,4 +30,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json index 85df6a8554e8..de320d2784ec 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json @@ -30,4 +30,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json index 88be3b519f46..5f0b844762c9 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json @@ -10091,4 +10091,4 @@ "type": "string" } } -} \ No newline at end of file +} From f33c32d458cf16b4e09342c9ca4bc3b0f10218a0 Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Wed, 19 Jun 2019 15:28:23 -0700 Subject: [PATCH 106/495] Remove SDK JS generation (#6391) --- azure-pipelines.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fdc2e18fd8e7..3869c64185d8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -112,9 +112,6 @@ jobs: java: AZURE_SDK_REPO: azure-sdk-for-java AZURE_SDK_PARAMS: '' - javascript: - AZURE_SDK_REPO: azure-sdk-for-js - AZURE_SDK_PARAMS: '' node: AZURE_SDK_REPO: azure-sdk-for-node AZURE_SDK_PARAMS: '' From 38de98df81b68c8598f940c695c36456f190885f Mon Sep 17 00:00:00 2001 From: MichalHel <51286657+MichalHel@users.noreply.github.com> Date: Thu, 20 Jun 2019 04:19:29 +0300 Subject: [PATCH 107/495] changed enum name ruleType to RecommendationType in IoTSecuritySolution RP (#6361) --- .../preview/2017-08-01-preview/iotSecuritySolutions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index e5315fff54b9..35a31a5a3a0e 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -495,7 +495,7 @@ "EnableDiagnosticsLog " ], "x-ms-enum": { - "name": "ruleType", + "name": "RecommendationType", "modelAsString": true, "values": [ { From 7a5e16829df47efe0b7c45413ce42f0e1b8f1703 Mon Sep 17 00:00:00 2001 From: YiLiu <48115265+Yiliu-microsoft@users.noreply.github.com> Date: Thu, 20 Jun 2019 11:19:00 +0800 Subject: [PATCH 108/495] (Public swagger update) Add TeradataSource,TeradataPartitionSettings,TeradataTableDataset,TeradataTableDatasetTypeProperties (#6346) * Modify the public swagger by reference to private swagger * add TerdateTableDataset,TeradataSource * modify specified --- .../2018-06-01/entityTypes/Dataset.json | 30 +++++++++++ .../2018-06-01/entityTypes/LinkedService.json | 9 ++-- .../2018-06-01/entityTypes/Pipeline.json | 50 +++++++++++++++++++ 3 files changed, 85 insertions(+), 4 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 95e57e75352a..2b872d64d788 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1182,6 +1182,36 @@ } } }, + "TeradataTableDatasetTypeProperties": { + "description": "Teradata dataset properties.", + "properties": { + "database": { + "type": "object", + "description": "The database name of Teradata. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The table name of Teradata. Type: string (or Expression with resultType string)." + } + } + }, + "TeradataTableDataset": { + "x-ms-discriminator-value": "TeradataTable", + "description": "The Teradata database dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Teradata dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TeradataTableDatasetTypeProperties" + } + } + }, "AzureMySqlTableDataset": { "x-ms-discriminator-value": "AzureMySqlTable", "description": "The Azure MySQL database dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index 020981bc9dda..bb72a07710f7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -937,6 +937,10 @@ "TeradataLinkedServiceTypeProperties": { "description": "Teradata linked service properties.", "properties": { + "connectionString": { + "description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, "server": { "type": "object", "description": "Server name for connection. Type: string (or Expression with resultType string)." @@ -965,10 +969,7 @@ "type": "object", "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." } - }, - "required": [ - "server" - ] + } }, "AzureMLLinkedService": { "x-ms-discriminator-value": "AzureML", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index bb458397a52c..0db420e5ad13 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1373,6 +1373,56 @@ } } }, + "TeradataSource": { + "description": "A copy activity Teradata source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Teradata query. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for teradata read in parallel.", + "type": "object", + "enum": [ + "None", + "Hash", + "DynamicRange" + ], + "x-ms-enum": { + "name": "TabularPartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for teradata source partitioning.", + "$ref": "#/definitions/TeradataPartitionSettings" + } + } + }, + "TeradataPartitionSettings": { + "description": "The settings that will be leveraged for teradata source partitioning.", + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "description": "The name of the column in integer type that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + } + } + }, "WebSource": { "description": "A copy activity source for web page table.", "type": "object", From 0f1ce2ab8f12d278a3c666d880bbbee0e40dd29e Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Thu, 20 Jun 2019 10:10:36 -0700 Subject: [PATCH 109/495] Update CDN output-folder property for azure-sdk-for-net (#6390) --- specification/cdn/resource-manager/readme.csharp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/readme.csharp.md b/specification/cdn/resource-manager/readme.csharp.md index dbbdf8af0dbd..365b552b1107 100644 --- a/specification/cdn/resource-manager/readme.csharp.md +++ b/specification/cdn/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Cdn payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/cdn/Management.Cdn/Generated + output-folder: $(csharp-sdks-folder)/cdn/Microsoft.Azure.Management.Cdn/src/Generated clear-output-folder: true ``` From b0aa13bb95e70a606029376c20f387d5de0e1460 Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik <41709775+kpajdzik@users.noreply.github.com> Date: Thu, 20 Jun 2019 10:24:11 -0700 Subject: [PATCH 110/495] Add TypeScript arm-appconfiguration readme (#6387) --- .../resource-manager/readme.typescript.md | 12 ++++++++++++ .../resource-manager/readme.typescript.md | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 specification/appconfiguration/resource-manager/readme.typescript.md diff --git a/specification/appconfiguration/resource-manager/readme.typescript.md b/specification/appconfiguration/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..e578f75f4f50 --- /dev/null +++ b/specification/appconfiguration/resource-manager/readme.typescript.md @@ -0,0 +1,12 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-appconfiguration" + output-folder: "$(typescript-sdks-folder)/sdk/appconfiguration/arm-appconfiguration" + generate-metadata: true +``` diff --git a/specification/healthcareapis/resource-manager/readme.typescript.md b/specification/healthcareapis/resource-manager/readme.typescript.md index 55bd3c06bde8..3dbe1c766327 100644 --- a/specification/healthcareapis/resource-manager/readme.typescript.md +++ b/specification/healthcareapis/resource-manager/readme.typescript.md @@ -7,6 +7,6 @@ Please also specify `--typescript-sdks-folder= Date: Thu, 20 Jun 2019 10:26:23 -0700 Subject: [PATCH 111/495] Remove azure-sdk-for-node from pipeline (#6397) --- azure-pipelines.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3869c64185d8..c751cfedb794 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -112,9 +112,6 @@ jobs: java: AZURE_SDK_REPO: azure-sdk-for-java AZURE_SDK_PARAMS: '' - node: - AZURE_SDK_REPO: azure-sdk-for-node - AZURE_SDK_PARAMS: '' python: AZURE_SDK_REPO: azure-sdk-for-python AZURE_SDK_PARAMS: '' From 2c11d7d60b79a3f5baeb04c34b6b5c9d447e1b4c Mon Sep 17 00:00:00 2001 From: LeiZhao Date: Thu, 20 Jun 2019 11:37:18 -0700 Subject: [PATCH 112/495] [READY TO MERGE ] Migrate version to 2019-05-01 in new folder and Adding usages by VM family support (#6220) * just migrate to verion 2019-05-01, no content update * update readme files for adding new verion 2019-05-01 * fix name from 2018-11-19-preview to 2018-11-19 * add usages by VM family changes * rename the readme.go.md namespace and change the tags order to desc * fix tag name for 2018-11-19 * remove not referenced example files * switch backt to package-2018-03-preview * fix go SDK issue not related to this feature * fix go SDK issue not related to this feature * fix model validation error and sdk error * change the response code to 200 --- .../examples/ListVMSizesResult.json | 455 ++++ .../2018-11-19/examples/patchAmlCompute.json | 62 +- .../2018-11-19/machineLearningServices.json | 11 +- .../2019-05-01/examples/ListUsages.json | 400 +++ .../examples/ListVMSizesResult.json | 455 ++++ .../examples/amlComputeListNodes.json | 29 + .../examples/createBasicAKSCompute.json | 44 + .../examples/createBasicAmlCompute.json | 53 + .../createBasicDataFactoryCompute.json | 44 + .../2019-05-01/examples/createWorkspace.json | 57 + .../2019-05-01/examples/deleteCompute.json | 19 + .../2019-05-01/examples/deleteWorkspace.json | 12 + .../2019-05-01/examples/getAKSCompute.json | 25 + .../2019-05-01/examples/getAmlCompute.json | 48 + .../2019-05-01/examples/getComputes.json | 41 + .../2019-05-01/examples/getWorkspace.json | 28 + .../getWorkspacesByResourceGroup.json | 48 + .../examples/getWorkspacesBySubscription.json | 47 + .../examples/listKeysAKSCompute.json | 19 + .../examples/listWorkspaceKeys.json | 32 + .../2019-05-01/examples/patchAmlCompute.json | 36 + .../examples/resyncWorkspaceKeys.json | 13 + .../2019-05-01/examples/updateAKSCompute.json | 54 + .../2019-05-01/examples/updateAmlCompute.json | 57 + .../2019-05-01/examples/updateWorkspace.json | 34 + .../2019-05-01/machineLearningServices.json | 2192 +++++++++++++++++ .../resource-manager/readme.go.md | 24 +- .../resource-manager/readme.md | 51 +- 28 files changed, 4347 insertions(+), 43 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json new file mode 100644 index 000000000000..a5220ca132a4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json @@ -0,0 +1,455 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-11-19", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "amlCompute": [ + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F4s_v2", + "family": "standardFSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 32768, + "memoryGB": 8.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F8s_v2", + "family": "standardFSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 65536, + "memoryGB": 16.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F16s_v2", + "family": "standardFSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 131072, + "memoryGB": 32.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F32s_v2", + "family": "standardFSv2Family", + "vCPUs": 32, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 262144, + "memoryGB": 64.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F64s_v2", + "family": "standardFSv2Family", + "vCPUs": 64, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 524288, + "memoryGB": 128.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F72s_v2", + "family": "standardFSv2Family", + "vCPUs": 72, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 589824, + "memoryGB": 144.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D3_v2", + "family": "standardDv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 204800, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D4_v2", + "family": "standardDv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 409600, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D12_v2", + "family": "standardDv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 204800, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D13_v2", + "family": "standardDv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 409600, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D14_v2", + "family": "standardDv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 819200, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS2_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 14336, + "memoryGB": 7.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS3_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS4_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS5_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS11_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS12_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS13_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS14_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 229376, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS15_v2", + "family": "standardDSv2Family", + "vCPUs": 20, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 286720, + "memoryGB": 140.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6s_v2", + "family": "standardNCSv2Family", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC12s_v2", + "family": "standardNCSv2Family", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24rs_v2", + "family": "standardNCSv2Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24s_v2", + "family": "standardNCSv2Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6s_v3", + "family": "standardNCSv3Family", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC12s_v3", + "family": "standardNCSv3Family", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24rs_v3", + "family": "standardNCSv3Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24s_v3", + "family": "standardNCSv3Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC12", + "family": "standardNCFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 696320, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC24", + "family": "standardNCFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC24r", + "family": "standardNCFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV12", + "family": "standardNVFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 696320, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV24", + "family": "standardNVFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND12s", + "family": "standardNDSFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND24rs", + "family": "standardNDSFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND24s", + "family": "standardNDSFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json index 75e344b65ee1..0c03d1d86d02 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json @@ -1,38 +1,36 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", "parameters": { - "properties": { - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } } - } - } - }, - "responses": { - "202": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } } - } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json index f1aec5f6f590..844d8039e251 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json @@ -449,8 +449,10 @@ } } }, - "x-ms-pageable": { - "nextLinkName": null + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/ListVMSizesResult.json" + } } } }, @@ -705,7 +707,7 @@ } ], "responses": { - "202": { + "200": { "description": "Compute update initiated.", "schema": { "$ref": "#/definitions/ComputeResource" @@ -806,7 +808,7 @@ "200": { "description": "The operation was successful. The response contains the list of IP addresses.", "schema": { - "$ref": "#/definitions/ComputeNodesInformation" + "$ref": "#/definitions/AmlComputeNodesInformation" } }, "default": { @@ -1140,6 +1142,7 @@ "description": "The Usage Names." }, "Usage": { + "type":"object", "properties": { "unit": { "readOnly": true, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json new file mode 100644 index 000000000000..967f44e20f9b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster2_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluser1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster2_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster3_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json new file mode 100644 index 000000000000..a5220ca132a4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json @@ -0,0 +1,455 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2018-11-19", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "amlCompute": [ + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F4s_v2", + "family": "standardFSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 32768, + "memoryGB": 8.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F8s_v2", + "family": "standardFSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 65536, + "memoryGB": 16.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F16s_v2", + "family": "standardFSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 131072, + "memoryGB": 32.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F32s_v2", + "family": "standardFSv2Family", + "vCPUs": 32, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 262144, + "memoryGB": 64.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F64s_v2", + "family": "standardFSv2Family", + "vCPUs": 64, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 524288, + "memoryGB": 128.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_F72s_v2", + "family": "standardFSv2Family", + "vCPUs": 72, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 589824, + "memoryGB": 144.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D3_v2", + "family": "standardDv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 204800, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D4_v2", + "family": "standardDv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 409600, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D12_v2", + "family": "standardDv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 204800, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D13_v2", + "family": "standardDv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 409600, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_D14_v2", + "family": "standardDv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 819200, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS2_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 14336, + "memoryGB": 7.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS3_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS4_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS5_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS11_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS12_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS13_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS14_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 229376, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_DS15_v2", + "family": "standardDSv2Family", + "vCPUs": 20, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 286720, + "memoryGB": 140.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6s_v2", + "family": "standardNCSv2Family", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC12s_v2", + "family": "standardNCSv2Family", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24rs_v2", + "family": "standardNCSv2Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24s_v2", + "family": "standardNCSv2Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6s_v3", + "family": "standardNCSv3Family", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC12s_v3", + "family": "standardNCSv3Family", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24rs_v3", + "family": "standardNCSv3Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC24s_v3", + "family": "standardNCSv3Family", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC12", + "family": "standardNCFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 696320, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC24", + "family": "standardNCFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NC24r", + "family": "standardNCFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV12", + "family": "standardNVFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 696320, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_NV24", + "family": "standardNVFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1474560, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": false + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND12s", + "family": "standardNDSFamily", + "vCPUs": 12, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 688128, + "memoryGB": 224.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND24rs", + "family": "standardNDSFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + }, + { + "name": "Standard_ND24s", + "family": "standardNDSFamily", + "vCPUs": 24, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1376256, + "memoryGB": 448.0, + "lowPriorityCapable": true, + "premiumIO": true + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json new file mode 100644 index 000000000000..f50a1639fd17 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AmlCompute", + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "ipAddress": "13.84.190.124", + "port": 50000 + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "ipAddress": "13.84.190.124", + "port": 50001 + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json new file mode 100644 index 000000000000..152922e0b3ce --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json new file mode 100644 index 000000000000..f5d3e81e7272 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json new file mode 100644 index 000000000000..fce2f7e27857 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json new file mode 100644 index 000000000000..850b79a91c09 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json new file mode 100644 index 000000000000..dddf6bb5a28f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json new file mode 100644 index 000000000000..d80ac27c824d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json new file mode 100644 index 000000000000..85fc45b5a2fa --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json new file mode 100644 index 000000000000..17af049850b9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "createdOn": "2017-09-26T22:28:08.327Z", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json new file mode 100644 index 000000000000..cefbea43cf28 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json new file mode 100644 index 000000000000..975aaf2127d9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json new file mode 100644 index 000000000000..f7795d415bb3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json new file mode 100644 index 000000000000..19b842664298 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json new file mode 100644 index 000000000000..f8ea09f00174 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json new file mode 100644 index 000000000000..4605c2b7285e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": + { + "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json new file mode 100644 index 000000000000..a94b47b24dd1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json new file mode 100644 index 000000000000..1435064d9874 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json new file mode 100644 index 000000000000..581bd410245d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "id": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json new file mode 100644 index 000000000000..6f014c0e5c6e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json new file mode 100644 index 000000000000..b3c61f6b0910 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01", + "parameters": { + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "New friendly name", + "description": "new description" + } + } + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json new file mode 100644 index 000000000000..21694eeadb20 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json @@ -0,0 +1,2192 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2019-05-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { "$ref": "./examples/getWorkspace.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-examples": { + "Create Workspace": { "$ref": "./examples/createWorkspace.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "required": true, + "schema": { + "$ref": "#/definitions/Workspace" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "204": { + "description": "The machine learning workspace does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { "$ref": "./examples/updateWorkspace.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", + "operationId": "Workspaces_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListWorkspaceKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", + "operationId": "Workspaces_ResyncKeys", + "x-ms-examples": { + "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/ListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/ListVMSizesResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningCompute_ListByWorkspace", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { "$ref": "./examples/getComputes.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.", + "schema": { + "$ref": "#/definitions/PaginatedComputeResourcesList" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Get", + "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.", + "x-ms-examples": { + "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" }, + "Get a AML Compute": { "$ref": "./examples/getAmlCompute.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_CreateOrUpdate", + "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { "$ref": "./examples/createBasicAmlCompute.json" }, + "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" }, + "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" }, + "Update a AML Compute": { "$ref": "./examples/updateAmlCompute.json" }, + "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/ComputeDefinitionParameter" + } + ], + "responses": { + "200": { + "description": "Compute creation or update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "201": { + "description": "Compute creation or update initiated.", + "headers": { + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { "$ref": "./examples/patchAmlCompute.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { "$ref": "./examples/deleteCompute.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/UnderlyingResourceActionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "Compute deletion initiated.", + "headers": { + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "The operation was successful. The response contains the list of IP addresses.", + "schema": { + "$ref": "#/definitions/AmlComputeNodesInformation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/amlComputeListNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeSecrets" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "description": "Azure subscription identifier.", + "in": "path", + "type": "string", + "required": true + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "Name of the resource group in which workspace is located.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "APIVersionParameter": { + "in": "query", + "name": "api-version", + "type": "string", + "description": "Version of Azure Machine Learning resource provider API.", + "required": true + }, + "PaginationParameter": { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" +} + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "type": "string" + }, + "friendlyName": { + "description": "The friendly name for this workspace. This name in mutable", + "type": "string" + }, + "creationTime": { + "format": "date-time", + "description": "The creation time of the machine learning workspace in ISO8601 format.", + "type": "string", + "readOnly": true + }, + "keyVault": { + "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "applicationInsights": { + "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "containerRegistry": { + "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "WorkspacePropertiesUpdateParameters": { + "description": "The parameters for updating the properties of a machine learning workspace.", + "properties": { + "description": { + "description": "The description of this workspace.", + "type": "string" + }, + "friendlyName": { + "description": "The friendly name for this workspace.", + "type": "string" + } + } + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type":"object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + } + }, + "description": "Describes the properties of a VM size." + }, + "VirtualMachineSizeListResult": { + "properties": { + "amlCompute": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "value": { + "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } + }, + "description": "Identity for the resource." + }, + "Resource": { + "description": "Azure Resource Manager resource envelope.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Specifies the resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Specifies the name of the resource.", + "type": "string", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "readOnly": true, + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "type": { + "description": "Specifies the type of the resource.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string" + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string" + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties":{ + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ] + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "createdOn": { + "type": "string", + "description": "The date and time when the compute was created.", + "format": "date-time", + "readOnly": true + }, + "modifiedOn": { + "type": "string", + "description": "The date and time when the compute was last modified.", + "format": "date-time", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.", + "readOnly": true + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "minimum": 1 + }, + "agentVMSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "AML Compute properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.", + "enum": [ + "Steady", + "Resizing" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute" + } + }, + "required": [ + "maxNodeCount" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings.", + "description": "Desired scale settings for the amlCompute." + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "ComputeNodesInformation": { + "type": "object", + "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + }, + "required": [ + "computeType" + ] + }, + "AmlComputeNodesInformation": { + "description": "Compute node information related to a AmlCompute.", + "allOf": [ + { + "$ref": "#/definitions/ComputeNodesInformation" + }, + { + "type": "object", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "ipAddress": { + "readOnly": true, + "type": "string", + "title": "IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + } + }, + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "AmlCompute", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "MachineLearningServiceError": { + "type": "object", + "description": "Wrapper for error response to follow ARM guidelines.", + "properties": { + "error": { + "description": "The error response.", + "$ref": "#/definitions/ErrorResponse", + "readOnly": true + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response information.", + "properties": { + "code": { + "type": "string", + "description": "Error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Error message.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "An array of error detail objects.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "readOnly": true + } + } + }, + "ErrorDetail": { + "type": "object", + "description": "Error detail information.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "required": [ + "code", + "message" + ] + } + } +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md index d28844d890f9..83595d1a65eb 100644 --- a/specification/machinelearningservices/resource-manager/readme.go.md +++ b/specification/machinelearningservices/resource-manager/readme.go.md @@ -6,21 +6,41 @@ These settings apply only when `--go` is specified on the command line. go: license-header: MICROSOFT_APACHE_NO_VERSION clear-output-folder: true - namespace: services + namespace: machinelearningservices ``` ### Go multi-api ```yaml $(go) && $(multiapi) batch: + - tag: package-2019-05-01 + - tag: package-2018-11-19 - tag: package-2018-03-preview ``` +### Tag: package-2019-05-01 and go + +These settings apply only when `--tag=package-2019-05-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2019-05-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-05-01/$(namespace) +``` + +### Tag: package-2018-11-19 and go + +These settings apply only when `--tag=package-2018-11-19 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2018-11-19' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-11-19/$(namespace) +``` + ### Tag: package-2018-03-preview and go These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. ```yaml $(tag)=='package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2018-03-01-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-01-preview/$(namespace) ``` diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index ddf600ebad0a..9206e90cea44 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -19,16 +19,31 @@ To see additional help and options, run: ## Configuration - - ### Basic Information These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2018-03-preview +tag: package-2019-05-01 +``` + +### Tag: package-2019-05-01 + +These settings apply only when `--tag=package-2019-05-01` is specified on the command line. + +``` yaml $(tag) == 'package-2019-05-01' +input-file: +- Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json ``` +### Tag: package-2018-11-19 + +These settings apply only when `--tag=package-2018-11-19` is specified on the command line. + +``` yaml $(tag) == 'package-2018-11-19' +input-file: +- Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json +``` ### Tag: package-2018-03-preview @@ -121,9 +136,37 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser ``` yaml $(java) && $(multiapi) batch: + - tag: package-2019-05-01 + - tag: package-2018-11-19 - tag: package-2018-03-preview ``` +### Tag: package-2019-05-01 and java + +These settings apply only when `--tag=package-2019-05-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-05-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2019_05_01 + output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2019_05_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-11-19 and java + +These settings apply only when `--tag=package-2018-11-19 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-11-19' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2018_11_19 + output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2018_11_19 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2018-03-preview and java These settings apply only when `--tag=package-2018-03-preview --java` is specified on the command line. @@ -136,5 +179,3 @@ java: regenerate-manager: true generate-interface: true ``` - - From b115123d14bf24ae029b21352e66e8dddb874b75 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 20 Jun 2019 16:01:14 -0400 Subject: [PATCH 113/495] fix: Some model validation issues from logic API examples (#6389) * typo: eventlevel -> eventLevel * typo: KeyType -> keyType * typo: sendMdnAsynchronously -> sendMDNAsynchronously Mis-cased in the preview spec * typo: signMDN -> signMdn Mis-cased in preview spec * typo: needMdn -> needMDN Mis-cased in preview spec * typo: enableNrrForInboundMdn -> enableNrrForInboundMDN Mis-cased in preview spec * typo: enableNrrForOutboundDecodedMessages -> enableNRRForOutboundDecodedMessages Mis-cased for preview spec * typo: enableNrrForOutboundEncodedMessages -> enableNRRForOutboundEncodedMessages Mis-cased in preview API * typo: enableNrrForOutboundMdn -> enableNRRForOutboundMDN * typo: enableNrrForInboundDecodedMessages -> enableNRRForInboundDecodedMessages * typo: enableNrrForInboundEncodedMessages -> enableNRRForInboundEncodedMessages * typo: enableNrrForInboundMDN -> enableNRRForInboundMDN * typo: resendIfMdnNotReceived -> resendIfMDNNotReceived * typo: signMdn -> signMDN --- ...ationAccountAgreements_CreateOrUpdate.json | 120 +++++++++--------- .../IntegrationAccountAgreements_Get.json | 40 +++--- .../IntegrationAccountAgreements_List.json | 40 +++--- ...IntegrationAccounts_LogTrackingEvents.json | 2 +- ...tegrationAccounts_RegenerateAccessKey.json | 2 +- .../IntegrationAccountsLogTrackingEvent.json | 2 +- ...ntegrationAccountsRegenerateAccessKey.json | 2 +- 7 files changed, 104 insertions(+), 104 deletions(-) diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json index a9ddf1f535ef..9320d27ebeeb 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json @@ -36,9 +36,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -48,12 +48,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -75,7 +75,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -102,9 +102,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -114,12 +114,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -141,7 +141,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -194,9 +194,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -206,12 +206,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -233,7 +233,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -260,9 +260,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -272,12 +272,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -299,7 +299,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -353,9 +353,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -365,12 +365,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -392,7 +392,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -419,9 +419,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -431,12 +431,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -458,7 +458,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json index 3ab34a12b988..ea476007e128 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json @@ -38,9 +38,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -50,12 +50,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -77,7 +77,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -104,9 +104,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -116,12 +116,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -143,7 +143,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json index 19f62a0b95d4..a1adff3dc391 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json @@ -237,9 +237,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -249,12 +249,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -276,7 +276,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { @@ -303,9 +303,9 @@ "unfoldHttpHeaders": true }, "mdnSettings": { - "needMdn": true, - "signMdn": true, - "sendMdnAsynchronously": true, + "needMDN": true, + "signMDN": true, + "sendMDNAsynchronously": true, "receiptDeliveryUrl": "http://tempuri.org", "dispositionNotificationTo": "http://tempuri.org", "signOutboundMdnIfOptional": true, @@ -315,12 +315,12 @@ }, "securitySettings": { "overrideGroupSigningCertificate": false, - "enableNrrForInboundEncodedMessages": true, - "enableNrrForInboundDecodedMessages": true, - "enableNrrForOutboundMdn": true, - "enableNrrForOutboundEncodedMessages": true, - "enableNrrForOutboundDecodedMessages": true, - "enableNrrForInboundMdn": true + "enableNRRForInboundEncodedMessages": true, + "enableNRRForInboundDecodedMessages": true, + "enableNRRForOutboundMDN": true, + "enableNRRForOutboundEncodedMessages": true, + "enableNRRForOutboundDecodedMessages": true, + "enableNRRForInboundMDN": true }, "validationSettings": { "overrideMessageProperties": true, @@ -342,7 +342,7 @@ }, "errorSettings": { "suspendDuplicateMessage": true, - "resendIfMdnNotReceived": true + "resendIfMDNNotReceived": true } }, "senderBusinessIdentity": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json index 4f74193c217d..c220d8126e5e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json @@ -19,7 +19,7 @@ }, "events": [ { - "eventlevel": "Informational", + "eventLevel": "Informational", "eventTime": "2016-08-05T01:54:49.505567Z", "recordType": "AS2Message", "record": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json index 20a6b4448528..fe7b32dd157d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json @@ -5,7 +5,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "integrationAccountName": "testIntegrationAccount", "regenerateAccessKey": { - "KeyType": "Primary" + "keyType": "Primary" } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json index 8b6c7da94fe3..86ec41230460 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json @@ -19,7 +19,7 @@ }, "events": [ { - "eventlevel": "Informational", + "eventLevel": "Informational", "eventTime": "2016-08-05T01:54:49.505567Z", "recordType": "AS2Message", "record": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json index 10ad9281b58d..5eaa86bc22e0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json @@ -5,7 +5,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "integrationAccountName": "testIntegrationAccount", "regenerateAccessKey": { - "KeyType": "Primary" + "keyType": "Primary" } }, "responses": { From 2f48d306ba63a7ea3c19bd122a274dc465a84e4c Mon Sep 17 00:00:00 2001 From: Filiz Topatan Date: Thu, 20 Jun 2019 13:51:47 -0700 Subject: [PATCH 114/495] [Blueprints] Add a new example file for using user-assigned MSI (#6297) * Update rest API examples with a user-assigned MSI request/response example * flatten the example structure * while there, update the subscriptionIds to generic subIds * one escaped --- .../examples/BlueprintAssignment_Create.json | 4 +- .../examples/BlueprintAssignment_Delete.json | 4 +- .../examples/BlueprintAssignment_Get.json | 4 +- .../examples/BlueprintAssignment_List.json | 4 +- .../blueprintAssignment.json | 5 +- .../BlueprintAssignmentOperation_Get.json | 6 +- .../BlueprintAssignmentOperation_List.json | 6 +- ...tAssignment_Create_SystemAssignedMSI.json} | 4 +- ...rintAssignment_Create_UserAssignedMSI.json | 85 +++++++++++++++++++ .../examples/BlueprintAssignment_Delete.json | 4 +- .../examples/BlueprintAssignment_Get.json | 4 +- .../examples/BlueprintAssignment_List.json | 4 +- .../examples/WhoIsBlueprint_Action.json | 4 +- .../ARMTemplateArtifact_Create.json | 4 +- .../ARMTemplateArtifact_Delete.json | 4 +- .../ARMTemplateArtifact_Get.json | 4 +- .../subscriptionBPDef/Artifact_List.json | 8 +- .../subscriptionBPDef/Blueprint_Create.json | 4 +- .../subscriptionBPDef/Blueprint_Delete.json | 4 +- .../subscriptionBPDef/Blueprint_Get.json | 4 +- .../subscriptionBPDef/Blueprint_List.json | 4 +- .../PolicyAssignmentArtifact_Create.json | 4 +- .../PolicyAssignmentArtifact_Delete.json | 4 +- .../PolicyAssignmentArtifact_Get.json | 4 +- .../RoleAssignmentArtifact_Create.json | 4 +- .../RoleAssignmentArtifact_Delete.json | 4 +- .../RoleAssignmentArtifact_Get.json | 4 +- .../SealedARMTemplateArtifact_Get.json | 4 +- .../SealedArtifact_List.json | 8 +- .../SealedBlueprint_Delete.json | 4 +- .../SealedBlueprint_Get.json | 4 +- .../SealedBlueprint_List.json | 4 +- .../SealedBlueprint_Publish.json | 4 +- .../SealedPolicyAssignmentArtifact_Get.json | 4 +- .../SealedRoleAssignmentArtifact_Get.json | 4 +- 35 files changed, 159 insertions(+), 75 deletions(-) rename specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/{BlueprintAssignment_Create.json => BlueprintAssignment_Create_SystemAssignedMSI.json} (92%) create mode 100644 specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json index d93f01b4c46f..dd2f483ea9f2 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint", "assignment": { "identity": { @@ -68,7 +68,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json index 6830819f6813..fccd5bb5bf95 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { @@ -38,7 +38,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json index d09214f9589a..188524014a12 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { @@ -38,7 +38,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json index ad2810ea8ac6..97c466cd83dc 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -39,7 +39,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json index 6c9ab4b8c4d7..854a5822aec2 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json @@ -42,9 +42,8 @@ "operationId": "Assignments_CreateOrUpdate", "description": "Create or update a blueprint assignment.", "x-ms-examples": { - "Assignment": { - "$ref": "./examples/BlueprintAssignment_Create.json" - } + "Assignment with system-assigned managed identity": { "$ref": "./examples/BlueprintAssignment_Create_SystemAssignedMSI.json" }, + "Assignment with user-assigned managed identity": { "$ref": "./examples/BlueprintAssignment_Create_UserAssignedMSI.json" } }, "parameters": [ { diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json index d8c4a3e967d0..cb42f431c849 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json @@ -1,14 +1,14 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint", "assignmentOperationName": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f" }, "responses": { "200": { "body": { - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", "type": "microsoft.blueprint/blueprintAssignments/operations", "name": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", "properties": { @@ -22,7 +22,7 @@ "kind": "azureResource", "action": "put", "jobState": "succeeded", - "requestUri": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e", + "requestUri": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e", "result": { "resources": [ { diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json index 9fa030384d02..a3d4fb4b30ee 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { @@ -9,7 +9,7 @@ "body": { "value": [ { - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", "type": "microsoft.blueprint/blueprintAssignments/operations", "name": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f", "properties": { @@ -23,7 +23,7 @@ "kind": "azureResource", "action": "put", "jobState": "succeeded", - "requestUri": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e", + "requestUri": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e", "result": { "resources": [ { diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json similarity index 92% rename from specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json rename to specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json index ade7563a545d..2dc11e18a338 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint", "assignment": { "identity": { @@ -68,7 +68,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json new file mode 100644 index 000000000000..6497fe67f172 --- /dev/null +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2017-11-11-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "assignmentName": "assignSimpleBlueprint", + "assignment": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {} + } + }, + "location": "eastus", + "properties": { + "description": "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.", + "blueprintId": "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "parameters": { + "storageAccountType": { + "value": "Standard_LRS" + }, + "costCenter": { + "value": "Contoso/Online/Shopping/Production" + }, + "owners": { + "value": [ + "johnDoe@contoso.com", + "johnsteam@contoso.com" + ] + } + }, + "resourceGroups": { + "storageRG": { + "name": "defaultRG", + "location": "eastus" + } + } + } + } + }, + "responses": { + "201": { + "body": { + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "eastus", + "properties": { + "description": "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.", + "provisioningState": "creating", + "blueprintId": "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "parameters": { + "storageAccountType": { + "value": "Standard_LRS" + }, + "costCenter": { + "value": "Contoso/Online/Shopping/Production" + }, + "owners": { + "value": [ + "johnDoe@contoso.com", + "johnsteam@contoso.com" + ] + } + }, + "resourceGroups": { + "storageRG": { + "name": "defaultRG", + "location": "eastus" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "type": "Microsoft.Blueprint/Assignment", + "name": "assignSimpleBlueprint" + } + } + } +} diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json index d5fb232acd5e..568e545f415e 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { @@ -38,7 +38,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json index ea529aed1146..ef3250634460 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { @@ -38,7 +38,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json index ac555717d394..81fe7ebf605d 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2017-11-11-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -39,7 +39,7 @@ } } }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint", "type": "Microsoft.Blueprint/Assignment", "name": "assignSimpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json index af091e60df7e..fd2e25a7f01b 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json @@ -1,13 +1,13 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/{subscriptionId}", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "assignmentName": "assignSimpleBlueprint" }, "responses": { "200": { "body": { - "objectId": "00000000-0000-0000-0000-000000000000" + "objectId": "00000000-1111-0000-1111-000000000000" } } } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json index cb090cf3a347..def3d466c6ae 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "storageTemplate", "artifact": { @@ -108,7 +108,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json index 049caa06d20d..3eefc0672afb 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "storageTemplate" }, @@ -57,7 +57,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json index 73a05618dc6b..ff695f3f6e27 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "storageTemplate" }, @@ -57,7 +57,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json index cca70d10d24b..55f9878c3a5b 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint" }, "responses": { @@ -15,7 +15,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "ownerAssignment" }, @@ -33,7 +33,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "costCenterPolicy" }, @@ -87,7 +87,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json index 26b221200fa7..7a542fd89bb1 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "blueprint": { "properties": { @@ -76,7 +76,7 @@ }, "targetScope": "subscription" }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints", "name": "simpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json index 1a2357c6be83..98f304e7d4af 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint" }, "responses": { @@ -40,7 +40,7 @@ "targetScope": "subscription", "status": null }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints", "name": "simpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json index 8539596063a7..50ad976f4c97 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint" }, "responses": { @@ -40,7 +40,7 @@ "targetScope": "subscription", "status": null }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints", "name": "simpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json index ebb99045b996..224c5bec5995 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -41,7 +41,7 @@ "targetScope": "subscription", "status": null }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints", "name": "simpleBlueprint" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json index c5d64f13d1a3..a90feb52b569 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "costCenterPolicy", "artifact": { @@ -36,7 +36,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "costCenterPolicy" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json index e2833bc396a2..321f8b6effe3 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "costCenterPolicy" }, @@ -21,7 +21,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "costCenterPolicy" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json index 2aa9b4603626..0bbc3884b739 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "costCenterPolicy" }, @@ -21,7 +21,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "costCenterPolicy" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json index aa09e4cd4004..c77a092f5527 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "ownerAssignment", "artifact": { @@ -22,7 +22,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "ownerAssignment" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json index ba2a47907d1c..6aba11d6ece4 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "ownerAssignment" }, @@ -14,7 +14,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "ownerAssignment" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json index dc6499d168c4..f0fdb61156cc 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "artifactName": "ownerAssignment" }, @@ -14,7 +14,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/artifacts", "name": "ownerAssignment" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json index 32d5da5af37b..2777ac4c7eda 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "V2", "artifactName": "storageTemplate" @@ -58,7 +58,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json index ed1f23bf8939..bd4173bf98e5 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "V2" }, @@ -16,7 +16,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "ownerAssignment" }, @@ -34,7 +34,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "costCenterPolicy" }, @@ -88,7 +88,7 @@ } }, "kind": "template", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "storageTemplate" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json index 97114fa52d15..d0f2e039078e 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "v2" }, @@ -44,7 +44,7 @@ }, "targetScope": "subscription" }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints/versions", "name": "v2" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json index 05dbf10757e6..e309c8668768 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "v2" }, @@ -44,7 +44,7 @@ }, "targetScope": "subscription" }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints/versions", "name": "v2" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json index a4897d774699..b5919a43c693 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint" }, "responses": { @@ -43,7 +43,7 @@ "targetScope": "subscription", "status": null }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/v1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/v1", "type": "Microsoft.Blueprint/blueprints/versions", "name": "v1" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json index f232cca9cb7a..bb6bc58acf87 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "v2" }, @@ -44,7 +44,7 @@ }, "targetScope": "subscription" }, - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint", "type": "Microsoft.Blueprint/blueprints/versions", "name": "v2" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json index 34e8377d08de..4858a53e6511 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "V2", "artifactName": "costCenterPolicy" @@ -22,7 +22,7 @@ } }, "kind": "policyAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "costCenterPolicy" } diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json index 4b224b7d40ea..a769b3c81d24 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2018-11-01-preview", - "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "blueprintName": "simpleBlueprint", "versionId": "V2", "artifactName": "ownerAssignment" @@ -15,7 +15,7 @@ "principalIds": "[parameters('owners')]" }, "kind": "roleAssignment", - "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment", "type": "Microsoft.Blueprint/blueprints/versions/artifacts", "name": "ownerAssignment" } From f90d70f7b5b35328160b0bc110e5af9f936fc880 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 20 Jun 2019 17:14:22 -0400 Subject: [PATCH 115/495] typo: Microsoft.ServiceFabric (#4529) - specificed -> specified - sucessful -> successful - resturns -> returns - commited -> committed - dataloss -> data loss - Double word "with" - applciation -> application - ABRIC -> FABRIC - resouce -> resource - mininum -> minimum - Double word "maximum" - revent -> prevent - empheral -> ephemeral - exmaple -> example - assgined -> assigned - carefull -> careful - primay -> primary - Dispaly -> Display - skus -> SKUs --- cSpell.json | 52 ------------------- .../2017-07-01-preview/application.json | 2 +- .../2017-07-01-preview/servicefabric.json | 8 +-- ...ListByResourceGroupOperation_example.json} | 0 ...son => ClusterPatchOperation_example.json} | 0 ...n => ClusterPutOperation_example_max.json} | 0 ...n => ClusterPutOperation_example_min.json} | 0 .../stable/2016-09-01/servicefabric.json | 26 +++++----- .../stable/2018-02-01/cluster.json | 10 ++-- 9 files changed, 23 insertions(+), 75 deletions(-) rename specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/{ClusterListByResourceGroupOperation_exmaple.json => ClusterListByResourceGroupOperation_example.json} (100%) rename specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/{ClusterPatchOperation_exmaple.json => ClusterPatchOperation_example.json} (100%) rename specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/{ClusterPutOperation_exmaple_max.json => ClusterPutOperation_example_max.json} (100%) rename specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/{ClusterPutOperation_exmaple_min.json => ClusterPutOperation_example_min.json} (100%) diff --git a/cSpell.json b/cSpell.json index 040a4af808d0..0449342c92e0 100644 --- a/cSpell.json +++ b/cSpell.json @@ -596,33 +596,6 @@ "Conditon" ] }, - { - "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2016-09-01-preview/servicefabric.json", - "words": [ - "resouce", - "mininum", - "revent", - "empheral" - ] - }, - { - "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json", - "words": [ - "resouce", - "mininum", - "revent", - "empheral" - ] - }, - { - "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json", - "words": [ - "resouce", - "mininum", - "revent", - "empheral" - ] - }, { "filename": "**/specification/relay/resource-manager/Microsoft.Relay/stable/2016-07-01/relay.json", "words": [ @@ -650,31 +623,6 @@ "reponse" ] }, - { - "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json", - "words": [ - "mininum", - "resouce", - "revent", - "empheral" - ] - }, - { - "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json", - "words": [ - "exmaple", - "Nodetype", - "assgined", - "carefull", - "primay", - "nodetypes", - "Dispaly", - "resouce", - "mininum", - "revent", - "empheral" - ] - }, { "filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json", "words": [ diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json index 30690491c9e2..5bbfab222559 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json @@ -539,7 +539,7 @@ } ], "x-ms-examples": { - "Put an application with mininum parameters": { + "Put an application with minimum parameters": { "$ref": "./examples/ApplicationPutOperation_example_min.json" }, "Put an application with maximum parameters": { diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json index 3e8c042e4309..7c9b51fb0f45 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json @@ -468,7 +468,7 @@ { "name": "api-version", "in": "query", - "description": "The version of the ServiceFabric resouce provider api", + "description": "The version of the ServiceFabric resource provider api", "required": true, "type": "string" } @@ -624,7 +624,7 @@ }, "MaxPercentUnhealthyServices": { "type": "integer", - "description": "The maximum maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero.\n", + "description": "The maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero.\n", "default": 0 } } @@ -1751,7 +1751,7 @@ }, "upgradeReplicaSetCheckTimeout": { "type": "string", - "description": "The maximum amount of time to block processing of an upgrade domain and revent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." }, "healthCheckWaitDuration": { "type": "string", @@ -1908,7 +1908,7 @@ "$ref": "#/definitions/EndpointRangeDescription" }, "ephemeralPorts": { - "description": "The range of empheral ports that nodes in this node type should be configured with.", + "description": "The range of ephemeral ports that nodes in this node type should be configured with.", "$ref": "#/definitions/EndpointRangeDescription" }, "isPrimary": { diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json similarity index 100% rename from specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_exmaple.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json similarity index 100% rename from specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_exmaple.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_exmaple_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json similarity index 100% rename from specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_exmaple_max.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_exmaple_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json similarity index 100% rename from specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_exmaple_min.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json index f6b1f6238710..965757e11b8a 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json @@ -43,7 +43,7 @@ "description": "Update cluster configuration", "x-ms-examples": { "Patch a cluster": { - "$ref": "./examples/ClusterPatchOperation_exmaple.json" + "$ref": "./examples/ClusterPatchOperation_example.json" } }, "produces": [ @@ -145,10 +145,10 @@ "description": "Create cluster resource", "x-ms-examples": { "Put a cluster with min parameter": { - "$ref": "./examples/ClusterPutOperation_exmaple_min.json" + "$ref": "./examples/ClusterPutOperation_example_min.json" }, "Put a cluster with max parameter": { - "$ref": "./examples/ClusterPutOperation_exmaple_max.json" + "$ref": "./examples/ClusterPutOperation_example_max.json" } }, "produces": [ @@ -248,7 +248,7 @@ "description": "List cluster resource by resource group", "x-ms-examples": { "List cluster by resource group": { - "$ref": "./examples/ClusterListByResourceGroupOperation_exmaple.json" + "$ref": "./examples/ClusterListByResourceGroupOperation_example.json" } }, "produces": [ @@ -681,7 +681,7 @@ "type": "integer" }, "durabilityLevel": { - "description": "Nodetype durability Level", + "description": "Node type durability Level", "type": "string", "enum": [ "Bronze", @@ -694,7 +694,7 @@ "$ref": "#/definitions/EndpointRangeDescription" }, "ephemeralPorts": { - "description": "System assgined application ports", + "description": "System assigned application ports", "$ref": "#/definitions/EndpointRangeDescription" }, "isPrimary": { @@ -745,7 +745,7 @@ "description": "Is this certificate used for admin access from the client, if false , it is used or query only access" }, "certificateCommonName": { - "description": "Certificate common name to be granted access; be carefull using wild card common names", + "description": "Certificate common name to be granted access; be careful using wild card common names", "type": "string" }, "certificateIssuerThumbprint": { @@ -940,7 +940,7 @@ "type": "string" }, "certificate": { - "description": "This primay certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client, the certificate should exist in the virtual machine scale sets or Azure key vault, before you add it. It will override original value", + "description": "This primary certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client, the certificate should exist in the virtual machine scale sets or Azure key vault, before you add it. It will override original value", "$ref": "#/definitions/CertificateDescription" }, "clientCertificateThumbprints": { @@ -969,7 +969,7 @@ "$ref": "#/definitions/CertificateDescription" }, "nodeTypes": { - "description": "The list of nodetypes that make up the cluster, it will override", + "description": "The list of node types that make up the cluster, it will override", "type": "array", "items": { "$ref": "#/definitions/NodeTypeDescription" @@ -1024,7 +1024,7 @@ "type": "string" }, "certificate": { - "description": "This primay certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client", + "description": "This primary certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client", "$ref": "#/definitions/CertificateDescription" }, "reliabilityLevel": { @@ -1075,7 +1075,7 @@ "type": "string" }, "nodeTypes": { - "description": "The list of nodetypes that make up the cluster", + "description": "The list of node types that make up the cluster", "type": "array", "items": { "$ref": "#/definitions/NodeTypeDescription" @@ -1192,7 +1192,7 @@ "type": "string" }, "display": { - "description": "Dispaly of the result", + "description": "Display of the result", "$ref": "#/definitions/AvailableOperationDisplay" }, "origin": { @@ -1288,7 +1288,7 @@ "api-version": { "type": "string", "name": "api-version", - "description": "The version of the ServiceFabric resouce provider api", + "description": "The version of the ServiceFabric resource provider api", "in": "query", "required": true }, diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json index 5d0db11d74cc..7d46d7cd8769 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json @@ -108,7 +108,7 @@ } ], "x-ms-examples": { - "Put a cluster with mininum parameters": { + "Put a cluster with minimum parameters": { "$ref": "./examples/ClusterPutOperation_example_min.json" }, "Put a cluster with maximum parameters": { @@ -1035,7 +1035,7 @@ }, "upgradeReplicaSetCheckTimeout": { "type": "string", - "description": "The maximum amount of time to block processing of an upgrade domain and revent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." }, "healthCheckWaitDuration": { "type": "string", @@ -1119,7 +1119,7 @@ }, "DurabilityLevel": { "type": "string", - "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n", + "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n", "enum": [ "Bronze", "Silver", @@ -1182,7 +1182,7 @@ }, "durabilityLevel": { "$ref": "#/definitions/DurabilityLevel", - "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n" + "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n" }, "applicationPorts": { "$ref": "#/definitions/EndpointRangeDescription", @@ -1190,7 +1190,7 @@ }, "ephemeralPorts": { "$ref": "#/definitions/EndpointRangeDescription", - "description": "The range of empheral ports that nodes in this node type should be configured with." + "description": "The range of ephemeral ports that nodes in this node type should be configured with." }, "isPrimary": { "type": "boolean", From bd1689e97e3a6df60eaec048eda32548b8e96c35 Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Fri, 21 Jun 2019 01:22:41 +0300 Subject: [PATCH 116/495] [Hub Generated] Review request for Microsoft.VMwareCloudSimple to add version stable/2019-04-01 (#6196) * New Readme Config File * New Go Language Readme Config File * New Typescript Language Readme Config File * New Python Language Readme Config File * New C# Language Readme Config File * New Ruby Language Readme Config File * New Swagger Spec File * New Swagger Example Spec File * [VMwareCloudSimple] initial spec * [VMwareCloudSimple] clean-up examples, spellcheck * [VMwareCloudSimple] return 202 for long-running vm stop/start * [VMwareCloudSimple] address PR comments - change case of paths - add readOnly to created property - remove 404 - remove MoveBody model * update readme.me and readme.typescript.md. Fix output path, add azure-sdk-for-net * update readme.go.md * update readme.python.md * update readme.ruby.md * update readme.csharp.md * readme.ruby.md wrap namespace with quotes * remove x-ms-log-running-operation from get * happy spellchecker * happy spellchecker. fix typos * update readme.python.md * add readme.java.md * update readme.python.md change output-folder --- custom-words.txt | 15 + .../examples/CreateDedicatedCloudNode.json | 48 + .../examples/CreateDedicatedCloudService.json | 27 + .../examples/CreateVirtualMachine.json | 127 + .../examples/DeleteDedicatedCloudNode.json | 11 + .../examples/DeleteDedicatedCloudService.json | 11 + .../examples/DeleteVirtualMachine.json | 13 + .../examples/GetDedicatedCloudNode.json | 36 + .../examples/GetDedicatedCloudService.json | 29 + .../examples/GetFailedOperationResult.json | 24 + .../examples/GetOperationResult.json | 20 + .../2019-04-01/examples/GetPrivateCloud.json | 154 + .../2019-04-01/examples/GetResourcePool.json | 21 + .../examples/GetVirtualMachine.json | 81 + .../examples/GetVirtualMachineTemplate.json | 58 + .../examples/GetVirtualNetwork.json | 21 + .../examples/ListAvailabilities.json | 31 + .../examples/ListDedicatedCloudNodes.json | 60 + .../examples/ListDedicatedCloudServices.json | 34 + .../2019-04-01/examples/ListOperations.json | 22 + .../examples/ListPrivateCloudInLocation.json | 44 + .../examples/ListRGDedicatedCloudNodes.json | 91 + .../ListRGDedicatedCloudServices.json | 35 + .../examples/ListRGVirtualMachines.json | 120 + .../examples/ListResourcePools.json | 24 + .../2019-04-01/examples/ListUsages.json | 33 + .../examples/ListVirtualMachineTemplates.json | 62 + .../examples/ListVirtualMachines.json | 172 + .../examples/ListVirtualNetworks.json | 65 + .../examples/PatchDedicatedCloudNode.json | 36 + .../examples/PatchDedicatedService.json | 29 + .../examples/PatchVirtualMachine.json | 69 + .../examples/StartVirtualMachine.json | 14 + .../examples/StopInBodyVirtualMachine.json | 15 + .../examples/StopInQueryVirtualMachine.json | 15 + .../stable/2019-04-01/vmwarecloudsimple.json | 3469 +++++++++++++++++ .../resource-manager/readme.csharp.md | 14 + .../resource-manager/readme.go.md | 25 + .../resource-manager/readme.java.md | 34 + .../resource-manager/readme.md | 82 + .../resource-manager/readme.python.md | 27 + .../resource-manager/readme.ruby.md | 26 + .../resource-manager/readme.typescript.md | 13 + 43 files changed, 5357 insertions(+) create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.csharp.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.go.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.java.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.python.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.ruby.md create mode 100644 specification/vmwarecloudsimple/resource-manager/readme.typescript.md diff --git a/custom-words.txt b/custom-words.txt index d46bb0e490dc..50d86bbebe3e 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -244,6 +244,7 @@ Cloneable closedlist closedlists cloudapp +cloudsimple clustermonitoring cmdlet CMMI @@ -289,6 +290,7 @@ createorupdate credativ crossdomain csname +CSRP csrs currentbillingfeatures currentuser @@ -343,6 +345,7 @@ deadlettered deallocate deallocated Deallocates +deallocating Deallocation debugsend decodable @@ -381,6 +384,7 @@ devtestlab devtestlabs dhcp diagnosticcontext +DIMM disableautoscale disablescheduling disambiguated @@ -390,6 +394,7 @@ diskoperations Distcp DMTS Dnat +dnsname dnszones docx Domainful @@ -908,6 +913,7 @@ overridable OWASP oxxm pageable +PARAVIRTUAL Passthrough patternanyentities patternrule @@ -915,6 +921,7 @@ patternrules PAYG Paypal PBIE +PCNET peerings Pendingissuance Pendingrevocation @@ -954,6 +961,7 @@ postrestore powerbi powerbidedicated powerbiembedded +poweredoff poweroff prebackup prebackupvalidation @@ -1032,6 +1040,7 @@ rediscache rediscachemanagement Redshift Reenabled +Refid regen regeneratekey regexentities @@ -1412,6 +1421,7 @@ vaultconfig Vaultsecret vaultstorageconfig vaultusages +vcenter Vcore Vcores Vertica @@ -1439,6 +1449,8 @@ vmsizes VMSS VMSSVM vmware +vmwaretools +VMXNET vnet vnetid Vnets @@ -1446,6 +1458,8 @@ Vpnclient vpnconfiguration vpndeviceconfigurationscript vray +Vrops +vsphere VSTS VXLAN waagent @@ -1490,6 +1504,7 @@ wrapkey WSFC WTGCTBG XBing +Xeon Xero XSMB YYMMDD diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json new file mode 100644 index 000000000000..4acc5c19f2e4 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudNodeRequest": { + "location": "westus", + "properties": { + "skuDescription": { + "id":"general", + "name": "CS28-Node" + }, + "placementGroupId": "n1", + "availabilityZoneId": "az1", + "nodesCount":1, + "purchaseId":"56acbd46-3d36-4bbf-9b08-57c30fdf6932" + }, + "sku":{ + "name": "VMware_CloudSimple_CS28" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "provisioningState": "Accepted", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json new file mode 100644 index 000000000000..96e73e402255 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudServiceRequest": { + "location": "westus", + "properties": { + "gatewaySubnet": "10.0.0.0" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json new file mode 100644 index 000000000000..f3ed9e6704a3 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "virtualMachineRequest": { + "location": "westus2", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "numberOfCores": 2, + "amountOfRam": 4096, + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000" + } + ], + "resourcePool":{ + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000" + } + ] + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + "201": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json new file mode 100644 index 000000000000..ba2300f3cd7f --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01" + }, + "responses": { + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json new file mode 100644 index 000000000000..730af16c8a4c --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01" + }, + "responses": { + "204": {} + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json new file mode 100644 index 000000000000..19153b5546fb --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json new file mode 100644 index 000000000000..b5122e4a41fb --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "dedicatedCloudNodeName": "myNode" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json new file mode 100644 index 000000000000..2b43e7fa9e2d --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "dedicatedCloudServiceRequest": { + "location": "westus", + "properties": { + "gatewaySubnet": "10.0.0.0" + }, + "name": "myService" + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded", + "nodes": 1, + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json new file mode 100644 index 000000000000..441b5f623293 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "operationId": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "regionId": "westus2", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": { + "endTime": "2019-05-23T12:11:00.655Z", + "error": { + "code": "InternalError", + "message": "Internal Service error" + }, + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", + "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "startTime": "2019-05-23T12:10:54.012Z", + "status": "Failed" + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json new file mode 100644 index 000000000000..e73daa081f1c --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "operationId": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "regionId": "westus2", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": { + "endTime": "2019-05-23T12:05:55.660Z", + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "startTime": "2019-05-23T12:04:52.784Z", + "status": "Succeeded" + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json new file mode 100644 index 000000000000..808c0156a68e --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json @@ -0,0 +1,154 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01", + "pcName": "myPrivateCloud" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "location": "westus2", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-22T09:55:36.627Z", + "dnsServers": [ + "100.0.0.8", + "100.0.0.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "privateCloudId": "{pc-id}", + "resourcePools": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ], + "state": "operational", + "totalCpuCores": 28, + "totalNodes": 1, + "totalRam": 256, + "totalStorage": 5.625, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", + "vcenterRefid": "100.0.0.6", + "virtualMachineTemplates": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ], + "virtualNetworks": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json new file mode 100644 index 000000000000..de16018048f5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName" : "myPrivateCloud", + "resourcePoolName": "resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json new file mode 100644 index 000000000000..ab6f290b2f76 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "folder": "Datacenter/Workload VMs", + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + }, + "status": "running", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json new file mode 100644 index 000000000000..58b7621a494a --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "virtualMachineTemplateName": "vm-34", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json new file mode 100644 index 000000000000..de92e109e3e4 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "virtualNetworkName" : "dvportgroup-19", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json new file mode 100644 index 000000000000..d2a7eff5eeec --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "currentValue": 1, + "limit": 5, + "name": { + "localizedValue": "CS28-Node", + "value": "general" + }, + "unit": "Count" + }, + { + "currentValue": 0, + "limit": 5, + "name": { + "localizedValue": "CS36-Node", + "value": "large" + }, + "unit": "Count" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json new file mode 100644 index 000000000000..c4433be9a7bc --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", + "location": "westus2", + "name": "node-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", + "location": "westus2", + "name": "node1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "created": "2019-05-22T11:57:43.891Z", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json new file mode 100644 index 000000000000..5ee83c8aa9f6 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json new file mode 100644 index 000000000000..d46811a6007b --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "display": { + "description": "Creates a new dedicated cloud node", + "operation": "Create Dedicated Cloud Node", + "provider": "VMware Solution by CloudSimple", + "resource": "Dedicated Cloud Nodes" + }, + "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", + "origin": "user,system" + } + ], + "nextLink": "string" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json new file mode 100644 index 000000000000..4934df60f221 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "eastus", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", + "location": "eastus", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-21T07:32:59.491Z", + "dnsServers": [ + "100.100.100.8", + "100.100.100.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private-cloud-id", + "state": "operational", + "totalCpuCores": 84, + "totalNodes": 3, + "totalRam": 768, + "totalStorage": 16.875, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", + "vcenterRefid": "100.100.100.6" + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json new file mode 100644 index 000000000000..ae6f85564983 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", + "location": "eastus", + "name": "node-east-1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private_cloud_id", + "privateCloudName": "private_cloud_name", + "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", + "location": "eastus", + "name": "node-east-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-08T09:35:47.961Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "myPrivateCloud", + "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json new file mode 100644 index 000000000000..99b365a135b9 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json new file mode 100644 index 000000000000..dda1209ab888 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json new file mode 100644 index 000000000000..f8aa95124427 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName" : "myPrivateCloud", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json new file mode 100644 index 000000000000..b1e74a09b298 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "general", + "skuName": "CS28-Node" + }, + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "large", + "skuName": "CS36-Node" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json new file mode 100644 index 000000000000..e776dab00b7b --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "resourcePoolName": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json new file mode 100644 index 000000000000..c1cbf7bc16a3 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", + "location": "westus2", + "name": "virtualMachine-1", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json new file mode 100644 index 000000000000..8c5d040a2a43 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "resourcePoolName": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json new file mode 100644 index 000000000000..a520f55f9132 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudNodeRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json new file mode 100644 index 000000000000..dd6458be3758 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "dedicatedCloudServiceRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus2", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json new file mode 100644 index 000000000000..b1c1f7953d10 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "virtualMachineRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "status": "running", + "vSphereNetworks": null, + "vmId": "vm-106", + "vmwaretools": "10309" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json new file mode 100644 index 000000000000..0b6eca925fd9 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json new file mode 100644 index 000000000000..2071ca85570a --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "m": "shutdown", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json new file mode 100644 index 000000000000..3e9dac3aa9d5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "mode": "suspend", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json new file mode 100644 index 000000000000..28b13c457e1d --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json @@ -0,0 +1,3469 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-04-01", + "title": "VMwareCloudSimple", + "description": "Description of the new service", + "x-ms-code-generation-settings": { + "name": "VMwareCloudSimpleClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.VMwareCloudSimple/operations": { + "get": { + "description": "Return list of operations", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "operations" + ], + "summary": "Implements list of available operations", + "operationId": "availableOperations_List", + "parameters": [ + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AvailableOperationsListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes": { + "get": { + "description": "Returns list of dedicate cloud nodes within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements list of dedicated cloud nodes within subscription method", + "operationId": "dedicatedCloudNode_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNodeListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListDedicatedCloudNodes": { + "$ref": "./examples/ListDedicatedCloudNodes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices": { + "get": { + "description": "Returns list of dedicated cloud service within within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements list of dedicatedCloudService objects within subscription method", + "operationId": "dedicatedCloudService_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudServiceListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListDedicatedCloudServices": { + "$ref": "./examples/ListDedicatedCloudServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/availabilities": { + "get": { + "description": "Returns list of available resources in region", + "produces": [ + "application/json" + ], + "tags": [ + "availability-usage" + ], + "summary": "Implements SkuAvailability List method", + "operationId": "skusAvailabilityWithinRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "sku id, if no sku is passed availability for all skus will be returned", + "name": "skuId", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SkuAvailabilityListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListAvailabilities": { + "$ref": "./examples/ListAvailabilities.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/operationResults/{operationId}": { + "get": { + "description": "Return an async operation", + "tags": [ + "operation" + ], + "summary": "Implements get of async operation", + "operationId": "getOperationResultByRegion", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "operation id", + "name": "operationId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/OperationResource" + } + }, + "202": { + "description": "Operation is still running", + "headers": { + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "GetFailedOperationResult": { + "$ref": "./examples/GetFailedOperationResult.json" + }, + "GetOperationResult": { + "$ref": "./examples/GetOperationResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds": { + "get": { + "description": "Returns list of private clouds in particular region", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "privateCloud" + ], + "summary": "Implements private cloud list GET method", + "operationId": "PrivateCloudByRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListPrivateCloudInLocation": { + "$ref": "./examples/ListPrivateCloudInLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}": { + "get": { + "description": "Returns private cloud by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "privateCloud" + ], + "summary": "Implements private cloud GET method", + "operationId": "getPrivateCloud", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetPrivateCloud": { + "$ref": "./examples/GetPrivateCloud.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools": { + "get": { + "description": "Returns list of resource pools in region for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "resourcePool" + ], + "summary": "Implements get of resource pools list", + "operationId": "resourcePoolsByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ResourcePoolsListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListResourcePools": { + "$ref": "./examples/ListResourcePools.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools/{resourcePoolName}": { + "get": { + "description": "Returns resource pool templates by its name", + "produces": [ + "application/json" + ], + "tags": [ + "resourcePool" + ], + "summary": "Implements get of resource pool", + "operationId": "resourcePoolByPC_get", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "resource pool id (vsphereId)", + "name": "resourcePoolName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ResourcePool" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetResourcePool": { + "$ref": "./examples/GetResourcePool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates": { + "get": { + "description": "Returns list of virtual machine templates in region for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachineTemplate" + ], + "summary": "Implements list of available VM templates", + "operationId": "virtualMachineTemplatesByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "Resource pool used to derive vSphere cluster which contains VM templates", + "name": "resourcePoolName", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualMachineTemplates": { + "$ref": "./examples/ListVirtualMachineTemplates.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates/{virtualMachineTemplateName}": { + "get": { + "description": "Returns virtual machine templates by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachineTemplate" + ], + "summary": "Implements virtual machine template GET method", + "operationId": "virtualMachineTemplateByPC_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "virtual machine template id (vsphereId)", + "name": "virtualMachineTemplateName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualMachineTemplate": { + "$ref": "./examples/GetVirtualMachineTemplate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks": { + "get": { + "description": "Return list of virtual networks in location for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "virtualNetwork" + ], + "summary": "Implements list available virtual networks within a subscription method", + "operationId": "virtualNetworksByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "Resource pool used to derive vSphere cluster which contains virtual networks", + "name": "resourcePoolName", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworks": { + "$ref": "./examples/ListVirtualNetworks.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks/{virtualNetworkName}": { + "get": { + "description": "Return virtual network by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualNetwork" + ], + "summary": "Implements virtual network GET method", + "operationId": "virtualNetworkByPC_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "virtual network id (vsphereId)", + "name": "virtualNetworkName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetwork": { + "$ref": "./examples/GetVirtualNetwork.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/usages": { + "get": { + "description": "Returns list of usage in region", + "produces": [ + "application/json" + ], + "tags": [ + "availability-usage" + ], + "summary": "Implements Usages List method", + "operationId": "UsagesWithinRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx'", + "name": "$filter", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/UsageListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListUsages": { + "$ref": "./examples/ListUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/virtualMachines": { + "get": { + "description": "Returns list virtual machine within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements list virtual machine within subscription method", + "operationId": "virtualMachine_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualMachines": { + "$ref": "./examples/ListVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes": { + "get": { + "description": "Returns list of dedicate cloud nodes within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements list of dedicated cloud nodes within RG method", + "operationId": "dedicatedCloudNode_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNodeListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGDedicatedCloudNodes": { + "$ref": "./examples/ListRGDedicatedCloudNodes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}": { + "get": { + "description": "Returns dedicated cloud node", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node GET method", + "operationId": "dedicatedCloudNode_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetDedicatedCloudNode": { + "$ref": "./examples/GetDedicatedCloudNode.json" + } + } + }, + "put": { + "description": "Returns dedicated cloud node by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node PUT method", + "operationId": "dedicatedCloudNode_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "description": "Create Dedicated Cloud Node request", + "name": "dedicatedCloudNodeRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateDedicatedCloudNode": { + "$ref": "./examples/CreateDedicatedCloudNode.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "description": "Delete dedicated cloud node", + "consumes": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node DELETE method", + "operationId": "dedicatedCloudNode_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteDedicatedCloudNode": { + "$ref": "./examples/DeleteDedicatedCloudNode.json" + } + } + }, + "patch": { + "description": "Patches dedicated node properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node PATCH method", + "operationId": "dedicatedCloudNode_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "description": "Patch Dedicated Cloud Node request", + "name": "dedicatedCloudNodeRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchDedicatedCloudNode": { + "$ref": "./examples/PatchDedicatedCloudNode.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices": { + "get": { + "description": "Returns list of dedicated cloud service within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements list of dedicatedCloudService objects within RG method", + "operationId": "dedicatedCloudService_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudServiceListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGDedicatedCloudServices": { + "$ref": "./examples/ListRGDedicatedCloudServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}": { + "get": { + "description": "Returns Dedicate Cloud Service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService GET method", + "operationId": "dedicatedCloudService_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud Service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetDedicatedCloudService": { + "$ref": "./examples/GetDedicatedCloudService.json" + } + } + }, + "put": { + "description": "Create dedicate cloud service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicated cloud service PUT method", + "operationId": "dedicatedCloudService_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud Service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "description": "Create Dedicated Cloud Service request", + "name": "dedicatedCloudServiceRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateDedicatedCloudService": { + "$ref": "./examples/CreateDedicatedCloudService.json" + } + } + }, + "delete": { + "description": "Delete dedicate cloud service", + "consumes": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService DELETE method", + "operationId": "dedicatedCloudService_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteDedicatedCloudService": { + "$ref": "./examples/DeleteDedicatedCloudService.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "description": "Patch dedicated cloud service's properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService PATCH method", + "operationId": "dedicatedCloudService_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "description": "Patch Dedicated Cloud Service request", + "name": "dedicatedCloudServiceRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchDedicatedService": { + "$ref": "./examples/PatchDedicatedService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines": { + "get": { + "description": "Returns list of virtual machine within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements list virtual machine within RG method", + "operationId": "virtualMachine_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGVirtualMachines": { + "$ref": "./examples/ListRGVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}": { + "get": { + "description": "Get virtual machine", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine GET method", + "operationId": "virtualMachine_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualMachine": { + "$ref": "./examples/GetVirtualMachine.json" + } + } + }, + "put": { + "description": "Create Or Update Virtual Machine", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine PUT method", + "operationId": "virtualMachine_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "Create or Update Virtual Machine request", + "name": "virtualMachineRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/VirtualMachine" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "201": { + "description": "If resource is created or updated successfully, 201 should be returned. provisionedState would of VirtualMachineProperties object would reflect the state of the resource", + "schema": { + "$ref": "#/definitions/VirtualMachine" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateVirtualMachine": { + "$ref": "./examples/CreateVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "description": "Delete virtual machine", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine DELETE method", + "operationId": "virtualMachine_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteVirtualMachine": { + "$ref": "./examples/DeleteVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "description": "Patch virtual machine properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine PATCH method", + "operationId": "virtualMachine_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "Patch virtual machine request", + "name": "virtualMachineRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchVirtualMachine": { + "$ref": "./examples/PatchVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/start": { + "post": { + "description": "Power on virtual machine", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements a start method for a virtual machine", + "operationId": "virtualMachine_Start", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "StartVirtualMachine": { + "$ref": "./examples/StartVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/stop": { + "post": { + "description": "Power off virtual machine, options: shutdown, poweroff, and suspend", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements shutdown, poweroff, and suspend method for a virtual machine", + "operationId": "virtualMachine_Stop", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "body stop mode parameter (reboot, shutdown, etc...)", + "name": "m", + "in": "body", + "schema": { + "$ref": "#/definitions/VirtualMachineStopMode" + } + }, + { + "enum": [ + "reboot", + "suspend", + "shutdown", + "poweroff" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": false, + "name": "StopMode" + }, + "description": "query stop mode parameter (reboot, shutdown, etc...)", + "name": "mode", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "StopInBodyVirtualMachine": { + "$ref": "./examples/StopInBodyVirtualMachine.json" + }, + "StopInQueryVirtualMachine": { + "$ref": "./examples/StopInQueryVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AvailableOperation": { + "description": "Resource provider available operation model", + "properties": { + "display": { + "description": "The list of operations", + "$ref": "#/definitions/AvailableOperationDisplay" + }, + "isDataAction": { + "description": "Indicating whether the operation is a data action or not", + "type": "boolean", + "default": false + }, + "name": { + "description": "{resourceProviderNamespace}/{resourceType}/{read|write|delete|action}", + "type": "string" + }, + "origin": { + "description": "The origin of operation", + "type": "string", + "enum": [ + "user", + "system", + "user,system" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OperationOrigin" + } + }, + "properties": { + "description": "The list of operation properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecification" + } + } + }, + "AvailableOperationDisplay": { + "description": "Resource provider available operation display model", + "type": "object", + "properties": { + "description": { + "description": "Description of the operation for display purposes", + "type": "string" + }, + "operation": { + "description": "Name of the operation for display purposes", + "type": "string" + }, + "provider": { + "description": "Name of the provider for display purposes", + "type": "string" + }, + "resource": { + "description": "Name of the resource type for display purposes", + "type": "string" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecification": { + "description": "Available operation display property service specification model", + "properties": { + "serviceSpecification": { + "description": "The list of specification's service metrics", + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecificationMetricsList" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecificationMetricsItem": { + "description": "Available operation display property service specification metrics item", + "required": [ + "name", + "displayName", + "displayDescription", + "unit", + "aggregationType" + ], + "properties": { + "aggregationType": { + "description": "Metric's aggregation type for e.g. (Average, Total)", + "type": "string", + "enum": [ + "Average", + "Total" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "AggregationType" + } + }, + "displayDescription": { + "description": "Metric's description", + "type": "string", + "example": "Average disk throughput due to read operations over the sample period." + }, + "displayName": { + "description": "Human readable metric's name", + "type": "string", + "example": "Disk Read Bytes/Sec" + }, + "name": { + "description": "Metric's name/id", + "type": "string", + "example": "DiskReadBytesPerSecond" + }, + "unit": { + "description": "Metric's unit", + "type": "string", + "example": "BytePerSecond" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecificationMetricsList": { + "description": "List of available operation display property service specification metrics", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation", + "type": "array", + "items": { + "description": "The list of specification's metrics", + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecificationMetricsItem" + } + } + } + }, + "AvailableOperationsListResponse": { + "description": "List of available operations", + "properties": { + "nextLink": { + "description": "Link for next list of available operations", + "type": "string" + }, + "value": { + "description": "Returns a list of available operations", + "type": "array", + "items": { + "$ref": "#/definitions/AvailableOperation" + } + } + } + }, + "CSRPError": { + "description": "General error model", + "properties": { + "error": { + "description": "Error's body", + "$ref": "#/definitions/CSRPErrorBody" + } + } + }, + "CSRPErrorBody": { + "description": "Error properties", + "properties": { + "code": { + "description": "Error's code", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Error's details", + "type": "array", + "items": { + "$ref": "#/definitions/CSRPErrorBody" + }, + "readOnly": true + }, + "message": { + "description": "Error's message", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Error's target", + "type": "string" + } + } + }, + "DedicatedCloudNode": { + "description": "Dedicated cloud node model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{dedicatedCloudNodeName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "Dedicated Cloud Nodes properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedCloudNodeProperties" + }, + "sku": { + "description": "Dedicated Cloud Nodes SKU", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Dedicated Cloud Nodes tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "DedicatedCloudNodeListResponse": { + "description": "List of dedicated nodes response model", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedCloudNode list", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedCloudNode" + } + } + } + }, + "DedicatedCloudNodeProperties": { + "description": "Properties of dedicated cloud node", + "required": [ + "placementGroupId", + "availabilityZoneId", + "purchaseId", + "nodesCount" + ], + "properties": { + "availabilityZoneId": { + "description": "Availability Zone id, e.g. \"az1\"", + "type": "string" + }, + "availabilityZoneName": { + "description": "Availability Zone name, e.g. \"Availability Zone 1\"", + "type": "string", + "readOnly": true + }, + "cloudRackName": { + "description": "VMWare Cloud Rack Name", + "type": "string", + "readOnly": true + }, + "created": { + "description": "date time the resource was created", + "format": "date-time", + "readOnly": true + }, + "nodesCount": { + "description": "count of nodes to create", + "type": "integer" + }, + "placementGroupId": { + "description": "Placement Group id, e.g. \"n1\"", + "type": "string" + }, + "placementGroupName": { + "description": "Placement Name, e.g. \"Placement Group 1\"", + "type": "string", + "readOnly": true + }, + "privateCloudId": { + "description": "Private Cloud Id", + "type": "string", + "readOnly": true + }, + "privateCloudName": { + "description": "Resource Pool Name", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning status of the resource", + "type": "string", + "readOnly": true + }, + "purchaseId": { + "description": "purchase id", + "type": "string", + "format": "uuid" + }, + "skuDescription": { + "description": "Dedicated Cloud Nodes SKU's description", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SkuDescription" + }, + "status": { + "description": "Node status, indicates is private cloud set up on this node or not", + "type": "string", + "enum": [ + "unused", + "used" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "NodeStatus" + }, + "readOnly": true + }, + "vmwareClusterName": { + "description": "VMWare Cluster Name", + "type": "string", + "readOnly": true + } + } + }, + "DedicatedCloudService": { + "description": "Dedicated cloud service model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{dedicatedCloudServiceName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "The properties of Dedicated Node Service", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedCloudServiceProperties" + }, + "tags": { + "description": "The list of tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "DedicatedCloudServiceListResponse": { + "description": "List of dedicated cloud services", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedCloudService list", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedCloudService" + } + } + } + }, + "DedicatedCloudServiceProperties": { + "description": "Properties of dedicated cloud service", + "required": [ + "gatewaySubnet" + ], + "properties": { + "gatewaySubnet": { + "description": "gateway Subnet for the account. It will collect the subnet address and always treat it as /28", + "type": "string" + }, + "isAccountOnboarded": { + "description": "indicates whether account onboarded or not in a given region", + "type": "string", + "enum": [ + "notOnBoarded", + "onBoarded", + "onBoardingFailed", + "onBoarding" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OnboardingStatus" + }, + "readOnly": true + }, + "nodes": { + "description": "total nodes purchased", + "type": "integer" + }, + "serviceURL": { + "description": "link to a service management web portal", + "type": "string" + } + } + }, + "OperationError": { + "description": "Operation error model", + "properties": { + "code": { + "description": "Error's code", + "type": "string" + }, + "message": { + "description": "Error's message", + "type": "string" + } + } + }, + "OperationResource": { + "description": "Operation status response", + "properties": { + "endTime": { + "description": "End time of the operation", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "error": { + "description": "Error Message if operation failed", + "$ref": "#/definitions/OperationError" + }, + "id": { + "description": "Operation Id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Operation ID", + "type": "string", + "readOnly": true + }, + "startTime": { + "description": "Start time of the operation", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "description": "Operation status", + "type": "string", + "readOnly": true + } + } + }, + "PatchPayload": { + "description": "General patch payload modal", + "properties": { + "tags": { + "description": "The tags key:value pairs", + "$ref": "#/definitions/Tags" + } + } + }, + "PrivateCloud": { + "description": "Private cloud model", + "properties": { + "id": { + "description": "Azure Id, e.g. \"/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123\"", + "type": "string" + }, + "location": { + "description": "Location where private cloud created, e.g \"westus\"", + "type": "string" + }, + "name": { + "description": "Private cloud name", + "type": "string" + }, + "properties": { + "description": "Private cloud properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateCloudProperties" + }, + "type": { + "description": "Azure Resource type", + "type": "string", + "enum": [ + "Microsoft.VMwareCloudSimple/privateClouds" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "PrivateCloudResourceType" + } + } + } + }, + "PrivateCloudList": { + "description": "List of private clouds", + "properties": { + "nextLink": { + "description": "Link for next list of Private Clouds", + "type": "string" + }, + "value": { + "description": "the list of private clouds", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateCloud" + } + } + } + }, + "PrivateCloudProperties": { + "description": "Properties of private", + "properties": { + "availabilityZoneId": { + "description": "Availability Zone id, e.g. \"az1\"", + "type": "string" + }, + "availabilityZoneName": { + "description": "Availability Zone name, e.g. \"Availability Zone 1\"", + "type": "string" + }, + "clustersNumber": { + "description": "Number of clusters", + "type": "integer" + }, + "createdBy": { + "description": "User's emails who created cloud", + "type": "string" + }, + "createdOn": { + "description": "When private cloud was created", + "type": "string", + "format": "date-time" + }, + "dnsServers": { + "description": "Array of DNS servers", + "type": "array", + "items": { + "type": "string" + } + }, + "expires": { + "description": "Expiration date of PC", + "type": "string" + }, + "nsxType": { + "description": "Nsx Type, e.g. \"Advanced\"", + "type": "string" + }, + "placementGroupId": { + "description": "Placement Group id, e.g. \"n1\"", + "type": "string" + }, + "placementGroupName": { + "description": "Placement Group name", + "type": "string" + }, + "privateCloudId": { + "description": "Id of a private cloud", + "type": "string", + "format": "uuid" + }, + "resourcePools": { + "description": "The list of Resource Pools", + "type": "array", + "items": { + "$ref": "#/definitions/ResourcePool" + } + }, + "state": { + "description": "Private Cloud state, e.g. \"operational\"", + "type": "string" + }, + "totalCpuCores": { + "description": "Number of cores", + "type": "integer" + }, + "totalNodes": { + "description": "Number of nodes", + "type": "integer" + }, + "totalRam": { + "description": "Memory size", + "type": "integer" + }, + "totalStorage": { + "description": "Disk space in TB", + "type": "number" + }, + "type": { + "description": "Virtualization type e.g. \"vSphere\"", + "type": "string" + }, + "vSphereVersion": { + "description": "e.g. \"6.5u2\"", + "type": "string" + }, + "vcenterFqdn": { + "description": "FQDN for vcenter access", + "type": "string" + }, + "vcenterRefid": { + "description": "Vcenter ip address", + "type": "string" + }, + "virtualMachineTemplates": { + "description": "The list of Virtual Machine Templates", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "virtualNetworks": { + "description": "The list of Virtual Networks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "vrOpsEnabled": { + "description": "Is Vrops enabled/disabled", + "type": "boolean" + } + } + }, + "ResourcePool": { + "description": "Resource pool model", + "required": [ + "id" + ], + "properties": { + "id": { + "description": "resource pool id (privateCloudId:vsphereId)", + "type": "string" + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{ResourcePoolName}", + "type": "string", + "readOnly": true + }, + "privateCloudId": { + "description": "The Private Cloud Id", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Resource pool properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ResourcePoolProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "ResourcePoolProperties": { + "description": "Properties of resource pool", + "properties": { + "fullName": { + "description": "Hierarchical resource pool name", + "type": "string", + "readOnly": true + } + } + }, + "ResourcePoolsListResponse": { + "description": "List of resource pools response model", + "properties": { + "nextLink": { + "description": "Link for next list of ResourcePoolsList", + "type": "string" + }, + "value": { + "description": "Results of the Resource pools list", + "type": "array", + "items": { + "$ref": "#/definitions/ResourcePool" + } + } + } + }, + "Sku": { + "description": "The purchase SKU for CloudSimple paid resources", + "required": [ + "name" + ], + "properties": { + "capacity": { + "description": "The capacity of the SKU", + "type": "string" + }, + "description": { + "description": "dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...", + "type": "string" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here", + "type": "string" + }, + "name": { + "description": "The name of the SKU for VMWare CloudSimple Node", + "type": "string" + }, + "tier": { + "description": "The tier of the SKU", + "type": "string" + } + } + }, + "SkuAvailability": { + "description": "SKU availability model", + "required": [ + "limit" + ], + "properties": { + "dedicatedAvailabilityZoneId": { + "description": "CloudSimple Availability Zone id", + "type": "string" + }, + "dedicatedAvailabilityZoneName": { + "description": "CloudSimple Availability Zone Name", + "type": "string" + }, + "dedicatedPlacementGroupId": { + "description": "CloudSimple Placement Group Id", + "type": "string" + }, + "dedicatedPlacementGroupName": { + "description": "CloudSimple Placement Group name", + "type": "string" + }, + "limit": { + "description": "indicates how many resources of a given SKU is available in a AZ-\u003ePG", + "type": "integer" + }, + "resourceType": { + "description": "resource type e.g. DedicatedCloudNodes", + "type": "string" + }, + "skuId": { + "description": "sku id", + "type": "string" + }, + "skuName": { + "description": "sku name", + "type": "string" + } + } + }, + "SkuAvailabilityListResponse": { + "description": "List of SKU availabilities", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedPlacementGroupSkuAvailability list", + "type": "array", + "items": { + "$ref": "#/definitions/SkuAvailability" + } + } + } + }, + "SkuDescription": { + "description": "The purchase SKU for CloudSimple paid resources", + "required": [ + "name", + "id" + ], + "properties": { + "id": { + "description": "SKU's id", + "type": "string" + }, + "name": { + "description": "SKU's name", + "type": "string" + } + } + }, + "Tags": { + "description": "Tags model", + "additionalProperties": { + "type": "string" + } + }, + "Usage": { + "description": "Usage model", + "required": [ + "currentValue", + "limit" + ], + "properties": { + "currentValue": { + "description": "The current usage value", + "type": "integer", + "default": 0 + }, + "limit": { + "description": "limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1", + "type": "integer", + "default": 0 + }, + "name": { + "description": "Usage name value and localized name", + "$ref": "#/definitions/UsageName" + }, + "unit": { + "description": "The usages' unit", + "type": "string", + "enum": [ + "Count", + "Bytes", + "Seconds", + "Percent", + "CountPerSecond", + "BytesPerSecond" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "UsageCount" + } + } + } + }, + "UsageListResponse": { + "description": "List of usages", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "The list of usages", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "readOnly": true + } + } + }, + "UsageName": { + "description": "User name model", + "properties": { + "localizedValue": { + "description": "e.g. \"Virtual Machines\"", + "type": "string" + }, + "value": { + "description": "resource type or resource type sku name, e.g. virtualMachines", + "type": "string" + } + } + }, + "VirtualDisk": { + "description": "Virtual disk model", + "required": [ + "totalSize", + "independenceMode", + "controllerId" + ], + "properties": { + "controllerId": { + "description": "Disk's Controller id", + "type": "string" + }, + "independenceMode": { + "description": "Disk's independence mode type", + "type": "string", + "enum": [ + "persistent", + "independent_persistent", + "independent_nonpersistent" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DiskIndependenceMode" + } + }, + "totalSize": { + "description": "Disk's total size", + "type": "integer" + }, + "virtualDiskId": { + "description": "Disk's id", + "type": "string" + }, + "virtualDiskName": { + "description": "Disk's display name", + "type": "string", + "readOnly": true + } + } + }, + "VirtualDiskController": { + "description": "Virtual disk controller model", + "properties": { + "id": { + "description": "Controller's id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The display name of Controller", + "type": "string", + "readOnly": true + }, + "subType": { + "description": "dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)", + "type": "string", + "readOnly": true + }, + "type": { + "description": "disk controller type (SCSI)", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachine": { + "description": "Virtual machine model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{virtualMachineName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "Virtual machine properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualMachineProperties" + }, + "tags": { + "description": "The list of tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "VirtualMachineListResponse": { + "description": "List of virtual machines", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualMachines", + "type": "string" + }, + "value": { + "description": "Results of the VirtualMachine list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + } + } + }, + "VirtualMachineProperties": { + "description": "Properties of virtual machine", + "required": [ + "numberOfCores", + "amountOfRam", + "privateCloudId", + "guestOS", + "guestOSType" + ], + "properties": { + "amountOfRam": { + "description": "The amount of memory", + "type": "integer" + }, + "controllers": { + "description": "The list of Virtual Disks' Controllers", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDiskController" + }, + "readOnly": true + }, + "disks": { + "description": "The list of Virtual Disks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDisk" + } + }, + "dnsname": { + "description": "The DNS name of Virtual Machine in VCenter", + "type": "string", + "readOnly": true + }, + "exposeToGuestVM": { + "description": "Expose Guest OS or not", + "type": "boolean" + }, + "folder": { + "description": "The path to virtual machine folder in VCenter", + "type": "string", + "readOnly": true + }, + "guestOS": { + "description": "The name of Guest OS", + "type": "string" + }, + "guestOSType": { + "description": "The Guest OS type", + "type": "string", + "enum": [ + "linux", + "windows", + "other" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "GuestOSType" + } + }, + "nics": { + "description": "The list of Virtual NICs", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNic" + } + }, + "numberOfCores": { + "description": "The number of CPU cores", + "type": "integer" + }, + "password": { + "description": "Password for login", + "type": "string" + }, + "privateCloudId": { + "description": "Private Cloud Id", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning status of the resource", + "type": "string", + "readOnly": true + }, + "publicIP": { + "description": "The public ip of Virtual Machine", + "type": "string", + "readOnly": true + }, + "resourcePool": { + "description": "Virtual Machines Resource Pool", + "$ref": "#/definitions/ResourcePool" + }, + "status": { + "description": "The status of Virtual machine", + "type": "string", + "enum": [ + "running", + "suspended", + "poweredoff", + "updating", + "deallocating", + "deleting" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "VirtualMachineStatus" + }, + "readOnly": true + }, + "templateId": { + "description": "Virtual Machine Template Id", + "type": "string" + }, + "username": { + "description": "Username for login", + "type": "string" + }, + "vSphereNetworks": { + "description": "The list of Virtual VSphere Networks", + "type": "array", + "items": { + "type": "string" + } + }, + "vmId": { + "description": "The internal id of Virtual Machine in VCenter", + "type": "string", + "readOnly": true + }, + "vmwaretools": { + "description": "VMware tools version", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineStopMode": { + "description": "List of virtual machine stop modes", + "properties": { + "mode": { + "description": "mode indicates a type of stop operation - reboot, suspend, shutdown or power-off", + "type": "string", + "enum": [ + "reboot", + "suspend", + "shutdown", + "poweroff" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "StopMode" + } + } + } + }, + "VirtualMachineTemplate": { + "description": "Virtual machine template model", + "properties": { + "id": { + "description": "virtual machine template id (privateCloudId:vsphereId)", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{virtualMachineTemplateName}", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "The Virtual Machine Template properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualMachineTemplateProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineTemplateListResponse": { + "description": "List of virtual machine templates", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualMachineTemplate", + "type": "string" + }, + "value": { + "description": "Results of the VM template list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + } + } + }, + "VirtualMachineTemplateProperties": { + "description": "Properties of virtual machine template", + "required": [ + "privateCloudId", + "guestOS", + "guestOSType" + ], + "properties": { + "amountOfRam": { + "description": "The amount of memory", + "type": "integer" + }, + "controllers": { + "description": "The list of Virtual Disk Controllers", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDiskController" + } + }, + "description": { + "description": "The description of Virtual Machine Template", + "type": "string" + }, + "disks": { + "description": "The list of Virtual Disks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDisk" + } + }, + "exposeToGuestVM": { + "description": "Expose Guest OS or not", + "type": "boolean" + }, + "guestOS": { + "description": "The Guest OS", + "type": "string" + }, + "guestOSType": { + "description": "The Guest OS types", + "type": "string" + }, + "nics": { + "description": "The list of Virtual NICs", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNic" + } + }, + "numberOfCores": { + "description": "The number of CPU cores", + "type": "integer" + }, + "path": { + "description": "path to folder", + "type": "string", + "example": "Datacenter/Workload VMs" + }, + "privateCloudId": { + "description": "The Private Cloud Id", + "type": "string" + }, + "vSphereNetworks": { + "description": "The list of VSphere networks", + "type": "array", + "items": { + "type": "string" + } + }, + "vSphereTags": { + "description": "The tags from VSphere", + "type": "array", + "items": { + "type": "string" + } + }, + "vmwaretools": { + "description": "The VMware tools version", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetwork": { + "description": "Virtual network model", + "required": [ + "id" + ], + "properties": { + "assignable": { + "description": "can be used in vm creation/deletion", + "type": "boolean", + "readOnly": true + }, + "id": { + "description": "virtual network id (privateCloudId:vsphereId)", + "type": "string" + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{VirtualNetworkName}", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Virtual Network properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetworkListResponse": { + "description": "List of virtual networks", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualNetwork", + "type": "string" + }, + "value": { + "description": "Results of the VirtualNetwork list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } + } + } + }, + "VirtualNetworkProperties": { + "description": "Properties of virtual network", + "properties": { + "privateCloudId": { + "description": "The Private Cloud id", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNic": { + "description": "Virtual NIC model", + "required": [ + "nicType" + ], + "properties": { + "ipAddresses": { + "description": "NIC ip address", + "type": "array", + "items": { + "type": "string" + } + }, + "macAddress": { + "description": "NIC MAC address", + "type": "string" + }, + "network": { + "description": "The list of Virtual Networks", + "$ref": "#/definitions/VirtualNetwork" + }, + "nicType": { + "description": "NIC type", + "type": "string", + "enum": [ + "E1000", + "E1000E", + "PCNET32", + "VMXNET", + "VMXNET2", + "VMXNET3" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "NICType" + } + }, + "powerOnBoot": { + "description": "Is NIC powered on/off on boot", + "type": "boolean" + }, + "virtualNicId": { + "description": "NIC id", + "type": "string" + }, + "virtualNicName": { + "description": "NIC name", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "api-version": { + "type": "string", + "description": "Client API version.", + "name": "api-version", + "in": "query", + "required": true + }, + "pcName": { + "type": "string", + "x-ms-parameter-location": "method", + "description": "The private cloud name", + "name": "pcName", + "in": "path", + "required": true + }, + "referer": { + "type": "string", + "x-ms-parameter-location": "client", + "description": "referer url", + "name": "Referer", + "in": "header", + "required": true + }, + "regionId": { + "type": "string", + "x-ms-parameter-location": "client", + "description": "The region Id (westus, eastus)", + "name": "regionId", + "in": "path", + "required": true + }, + "resourceGroupName": { + "type": "string", + "x-ms-parameter-location": "method", + "description": "The name of the resource group", + "name": "resourceGroupName", + "in": "path", + "required": true + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID.", + "name": "subscriptionId", + "in": "path", + "required": true + } + }, + "tags": [ + { + "description": "Subscription life cycle", + "name": "subscription" + }, + { + "description": "Virtual machine resource operations", + "name": "virtualMachine" + }, + { + "description": "Virtual networks functions", + "name": "virtualNetwork" + }, + { + "description": "VM templates functions", + "name": "virtualMachineTemplate" + }, + { + "description": "available operations function", + "name": "operations" + }, + { + "description": "Resource pools operations", + "name": "resourcePool" + }, + { + "description": "dedicated cloud nodes operations", + "name": "dedicatedCloudNode" + }, + { + "description": "Azure Service object operations", + "name": "azureService" + }, + { + "description": "operations related to availability and usage", + "name": "availability-usage" + } + ] +} diff --git a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..d06cf426d2d5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md @@ -0,0 +1,14 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + clear-output-folder: true + namespace: Microsoft.Azure.Management.VMwareCloudSimple + output-folder: $(csharp-sdks-folder)/VMwareCloudSimple/Management.VMwareCloudSimple/Generated +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.go.md b/specification/vmwarecloudsimple/resource-manager/readme.go.md new file mode 100644 index 000000000000..19b043e45387 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.go.md @@ -0,0 +1,25 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: vmwarecloudsimple + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and go + +These settings apply only when `--tag=package-2019-04-01 --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2019-04-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace) +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.java.md b/specification/vmwarecloudsimple/resource-manager/readme.java.md new file mode 100644 index 000000000000..88f31bb04cb1 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.java.md @@ -0,0 +1,34 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.vmwarecloudsimple +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-vmwarecloudsimple +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and java + +These settings apply only when `--tag=package-2019-04-01 --java` is specified on the command line. + +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-04-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01 + output-folder: $(azure-libraries-for-java-folder)/vmwarecloudsimple/resource-manager/v2019_04_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.md b/specification/vmwarecloudsimple/resource-manager/readme.md new file mode 100644 index 000000000000..70cbf02c71d1 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.md @@ -0,0 +1,82 @@ +# vmwarecloudsimple + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for vmwarecloudsimple. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the vmwarecloudsimple. + +```yaml +openapi-type: arm +tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 + +These settings apply only when `--tag=package-2019-04-01` is specified on the command line. + +```yaml $(tag) == 'package-2019-04-01' +input-file: + - Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + - repo: azure-sdk-for-net +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.python.md b/specification/vmwarecloudsimple/resource-manager/readme.python.md new file mode 100644 index 000000000000..821a0f01d7ce --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +```yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.vmwarecloudsimple + package-name: azure-mgmt-vmwarecloudsimple + package-version: 0.1.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/compute/azure-mgmt-vmwarecloudsimple +``` \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.ruby.md b/specification/vmwarecloudsimple/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..602250be2641 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.ruby.md @@ -0,0 +1,26 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_vmwarecloudsimple +package-version: 2019-04-01 +azure-arm: true +``` + +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and ruby + +These settings apply only when `--tag=package-2019-04-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2019-04-01' && $(ruby) +namespace: "Azure::VMwareCloudSimple::Mgmt::V2019-04-01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_vmwarecloudsimple/lib +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.typescript.md b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..b5fe660b9203 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-vmwarecloudsimple" + output-folder: "$(typescript-sdks-folder)/sdk/vmwarecloudsimple/arm-vmwarecloudsimple" + payload-flattening-threshold: 1 + generate-metadata: true +``` From f7dba37c7d06f6da2dc92e2c4547118ec7aa5233 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 20 Jun 2019 18:35:04 -0400 Subject: [PATCH 117/495] chore: jsonfmt servicefabric (#6398) Ran `jsonfmt -w "specification/servicefabric/**/*.json"` --- .../6.2/examples/BackupPartition-1.json | 3 +- .../6.2/examples/BackupPartition-2.json | 7 +- .../6.2/examples/BackupPartition-3.json | 7 +- .../6.2/examples/CreateApplication-1.json | 3 +- .../6.2/examples/CreateBackupPolicy-1.json | 11 +- .../6.2/examples/CreateBackupPolicy-2.json | 7 +- .../stable/6.2/examples/CreateName-1.json | 3 +- .../stable/6.2/examples/CreateService-1.json | 38 +-- .../stable/6.2/examples/CreateService-2.json | 42 +-- .../stable/6.2/examples/CreateService-3.json | 88 ++--- .../stable/6.2/examples/CreateService-4.json | 84 ++--- .../6.2/examples/DeleteBackupPolicy.json | 5 +- .../examples/DisableApplicationBackup.json | 5 +- .../6.2/examples/DisablePartitionBackup.json | 5 +- .../6.2/examples/DisableServiceBackup.json | 5 +- .../6.2/examples/EnableApplicationBackup.json | 5 +- .../6.2/examples/EnablePartitionBackup.json | 5 +- .../6.2/examples/EnableServiceBackup.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-1.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-2.json | 5 +- ...tApplicationBackupConfigurationInfo-1.json | 5 +- ...tApplicationBackupConfigurationInfo-2.json | 5 +- .../examples/GetApplicationBackupList-1.json | 5 +- .../examples/GetApplicationBackupList-2.json | 5 +- .../examples/GetApplicationBackupList-3.json | 5 +- .../examples/GetApplicationBackupList-4.json | 5 +- .../6.2/examples/GetApplicationEventList.json | 3 +- .../examples/GetApplicationInfoList-1.json | 5 +- .../examples/GetApplicationInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-1.json | 3 +- .../GetApplicationTypeInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-3.json | 17 +- .../examples/GetApplicationsEventList.json | 3 +- .../6.2/examples/GetBackupPolicyByName.json | 5 +- .../6.2/examples/GetBackupPolicyList-1.json | 5 +- .../6.2/examples/GetBackupPolicyList-2.json | 5 +- .../GetBackupsFromBackupLocation-1.json | 5 +- .../GetBackupsFromBackupLocation-2.json | 5 +- .../stable/6.2/examples/GetChaosEvents.json | 3 +- .../6.2/examples/GetClusterEventList.json | 3 +- .../GetContainerLogsDeployedOnNode-1.json | 5 +- .../GetContainerLogsDeployedOnNode-2.json | 5 +- .../GetContainerLogsDeployedOnNode-3.json | 5 +- .../examples/GetDataLossProgress-Running.json | 5 +- .../6.2/examples/GetDataLossProgress.json | 5 +- .../GetDeployedApplicationInfoByName-1.json | 2 +- .../GetDeployedApplicationInfoList-1.json | 3 +- .../GetDeployedApplicationInfoList-2.json | 19 +- .../GetDeployedApplicationInfoList-3.json | 3 +- .../6.2/examples/GetFaultOperationList.json | 78 +++-- .../6.2/examples/GetImageStoreContent.json | 3 +- .../stable/6.2/examples/GetNodeEventList.json | 3 +- .../stable/6.2/examples/GetNodeInfoList.json | 315 +++++++++--------- .../GetNodeTransitionProgress-Running.json | 5 +- .../examples/GetNodeTransitionProgress.json | 5 +- .../6.2/examples/GetNodesEventList.json | 3 +- .../GetPartitionBackupConfigurationInfo.json | 3 +- .../examples/GetPartitionBackupList-1.json | 5 +- .../examples/GetPartitionBackupList-2.json | 5 +- .../examples/GetPartitionBackupList-3.json | 5 +- .../examples/GetPartitionBackupList-4.json | 5 +- .../examples/GetPartitionBackupProgress.json | 5 +- .../6.2/examples/GetPartitionEventList.json | 3 +- .../examples/GetPartitionRestartProgress.json | 5 +- .../examples/GetPartitionRestoreProgress.json | 5 +- .../6.2/examples/GetPartitionsEventList.json | 3 +- .../6.2/examples/GetPropertyInfo-1.json | 3 +- .../6.2/examples/GetPropertyInfoList-1.json | 4 +- .../6.2/examples/GetPropertyInfoList-2.json | 11 +- .../6.2/examples/GetPropertyInfoList-3.json | 3 +- .../GetQuorumLossProgress-Running.json | 5 +- .../6.2/examples/GetQuorumLossProgress.json | 5 +- .../6.2/examples/GetReplicaEventList.json | 3 +- .../6.2/examples/GetReplicasEventList.json | 3 +- .../GetServiceBackupConfigurationInfo-1.json | 5 +- .../GetServiceBackupConfigurationInfo-2.json | 5 +- .../6.2/examples/GetServiceBackupList-1.json | 5 +- .../6.2/examples/GetServiceBackupList-2.json | 5 +- .../6.2/examples/GetServiceBackupList-3.json | 5 +- .../6.2/examples/GetServiceBackupList-4.json | 5 +- .../6.2/examples/GetServiceEventList.json | 3 +- .../6.2/examples/GetServicesEventList.json | 3 +- .../6.2/examples/GetSubNameInfoList-1.json | 3 +- .../6.2/examples/GetSubNameInfoList-2.json | 3 +- .../6.2/examples/GetSubNameInfoList-3.json | 3 +- .../6.2/examples/GetUploadSessionById.json | 3 +- .../6.2/examples/GetUploadSessionByPath.json | 3 +- .../6.2/examples/InvokeContainerApi.json | 48 +-- .../6.2/examples/InvokeContainerApi_Post.json | 2 +- .../stable/6.2/examples/PutProperty-1.json | 12 +- .../stable/6.2/examples/PutProperty-2.json | 3 +- .../stable/6.2/examples/RestorePartition.json | 5 +- .../6.2/examples/ResumeApplicationBackup.json | 5 +- .../6.2/examples/ResumePartitionBackup.json | 5 +- .../6.2/examples/ResumeServiceBackup.json | 5 +- .../6.2/examples/SubmitPropertyBatch-1.json | 14 +- .../examples/SuspendApplicationBackup.json | 5 +- .../6.2/examples/SuspendPartitionBackup.json | 5 +- .../6.2/examples/SuspendServiceBackup.json | 5 +- .../6.2/examples/UpdateBackupPolicy.json | 11 +- .../stable/6.2/examples/UpdateService-1.json | 62 ++-- .../stable/6.2/examples/UpdateService-2.json | 30 +- .../6.3/examples/BackupPartition-1.json | 3 +- .../6.3/examples/BackupPartition-2.json | 7 +- .../6.3/examples/BackupPartition-3.json | 7 +- .../6.3/examples/CreateApplication-1.json | 3 +- .../6.3/examples/CreateBackupPolicy-1.json | 11 +- .../6.3/examples/CreateBackupPolicy-2.json | 7 +- .../stable/6.3/examples/CreateName-1.json | 3 +- .../stable/6.3/examples/CreateService-1.json | 38 +-- .../stable/6.3/examples/CreateService-2.json | 42 +-- .../stable/6.3/examples/CreateService-3.json | 88 ++--- .../stable/6.3/examples/CreateService-4.json | 84 ++--- .../6.3/examples/DeleteBackupPolicy.json | 5 +- .../examples/DisableApplicationBackup.json | 5 +- .../6.3/examples/DisablePartitionBackup.json | 5 +- .../6.3/examples/DisableServiceBackup.json | 5 +- .../6.3/examples/EnableApplicationBackup.json | 5 +- .../6.3/examples/EnablePartitionBackup.json | 5 +- .../6.3/examples/EnableServiceBackup.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-1.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-2.json | 5 +- ...tApplicationBackupConfigurationInfo-1.json | 5 +- ...tApplicationBackupConfigurationInfo-2.json | 5 +- .../examples/GetApplicationBackupList-1.json | 5 +- .../examples/GetApplicationBackupList-2.json | 5 +- .../examples/GetApplicationBackupList-3.json | 5 +- .../examples/GetApplicationBackupList-4.json | 5 +- .../6.3/examples/GetApplicationEventList.json | 3 +- .../examples/GetApplicationInfoList-1.json | 5 +- .../examples/GetApplicationInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-1.json | 3 +- .../GetApplicationTypeInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-3.json | 17 +- .../examples/GetApplicationsEventList.json | 3 +- .../6.3/examples/GetBackupPolicyByName.json | 5 +- .../6.3/examples/GetBackupPolicyList-1.json | 5 +- .../6.3/examples/GetBackupPolicyList-2.json | 5 +- .../GetBackupsFromBackupLocation-1.json | 5 +- .../GetBackupsFromBackupLocation-2.json | 5 +- .../stable/6.3/examples/GetChaosEvents.json | 3 +- .../6.3/examples/GetClusterEventList.json | 3 +- .../GetContainerLogsDeployedOnNode-1.json | 5 +- .../GetContainerLogsDeployedOnNode-2.json | 5 +- .../GetContainerLogsDeployedOnNode-3.json | 5 +- .../examples/GetDataLossProgress-Running.json | 5 +- .../6.3/examples/GetDataLossProgress.json | 5 +- .../GetDeployedApplicationInfoByName-1.json | 2 +- .../GetDeployedApplicationInfoList-1.json | 3 +- .../GetDeployedApplicationInfoList-2.json | 19 +- .../GetDeployedApplicationInfoList-3.json | 3 +- .../6.3/examples/GetFaultOperationList.json | 78 +++-- .../6.3/examples/GetImageStoreContent.json | 3 +- .../stable/6.3/examples/GetNodeEventList.json | 3 +- .../6.3/examples/GetNodeInfoList-1.json | 141 ++++---- .../6.3/examples/GetNodeInfoList-2.json | 195 ++++++----- .../stable/6.3/examples/GetNodeInfoList.json | 301 +++++++++-------- .../GetNodeTransitionProgress-Running.json | 5 +- .../examples/GetNodeTransitionProgress.json | 5 +- .../6.3/examples/GetNodesEventList.json | 3 +- .../GetPartitionBackupConfigurationInfo.json | 3 +- .../examples/GetPartitionBackupList-1.json | 5 +- .../examples/GetPartitionBackupList-2.json | 5 +- .../examples/GetPartitionBackupList-3.json | 5 +- .../examples/GetPartitionBackupList-4.json | 5 +- .../examples/GetPartitionBackupProgress.json | 5 +- .../6.3/examples/GetPartitionEventList.json | 3 +- .../examples/GetPartitionRestartProgress.json | 5 +- .../examples/GetPartitionRestoreProgress.json | 5 +- .../6.3/examples/GetPartitionsEventList.json | 3 +- .../6.3/examples/GetPropertyInfo-1.json | 3 +- .../6.3/examples/GetPropertyInfoList-1.json | 4 +- .../6.3/examples/GetPropertyInfoList-2.json | 11 +- .../6.3/examples/GetPropertyInfoList-3.json | 3 +- .../GetQuorumLossProgress-Running.json | 5 +- .../6.3/examples/GetQuorumLossProgress.json | 5 +- .../6.3/examples/GetReplicaEventList.json | 3 +- .../6.3/examples/GetReplicasEventList.json | 3 +- .../GetServiceBackupConfigurationInfo-1.json | 5 +- .../GetServiceBackupConfigurationInfo-2.json | 5 +- .../6.3/examples/GetServiceBackupList-1.json | 5 +- .../6.3/examples/GetServiceBackupList-2.json | 5 +- .../6.3/examples/GetServiceBackupList-3.json | 5 +- .../6.3/examples/GetServiceBackupList-4.json | 5 +- .../6.3/examples/GetServiceEventList.json | 3 +- .../6.3/examples/GetServicesEventList.json | 3 +- .../6.3/examples/GetSubNameInfoList-1.json | 3 +- .../6.3/examples/GetSubNameInfoList-2.json | 3 +- .../6.3/examples/GetSubNameInfoList-3.json | 3 +- .../6.3/examples/GetUploadSessionById.json | 3 +- .../6.3/examples/GetUploadSessionByPath.json | 3 +- .../6.3/examples/InvokeContainerApi.json | 48 +-- .../6.3/examples/InvokeContainerApi_Post.json | 2 +- .../stable/6.3/examples/PutProperty-1.json | 12 +- .../stable/6.3/examples/PutProperty-2.json | 3 +- .../CreateOrUpdateApplicationResource.json | 2 +- .../CreateOrUpdateVolumeResource.json | 2 +- .../Resource/DeleteApplicationResource.json | 2 +- .../Resource/DeleteVolumeResource.json | 24 +- .../Resource/GetApplicationResource.json | 2 +- .../6.3/examples/Resource/GetReplica.json | 2 +- .../6.3/examples/Resource/GetReplicas.json | 144 ++++---- .../6.3/examples/Resource/GetService.json | 2 +- .../6.3/examples/Resource/GetServices.json | 2 +- .../examples/Resource/GetVolumeResource.json | 2 +- .../stable/6.3/examples/RestorePartition.json | 5 +- .../6.3/examples/ResumeApplicationBackup.json | 5 +- .../6.3/examples/ResumePartitionBackup.json | 5 +- .../6.3/examples/ResumeServiceBackup.json | 5 +- .../StartClusterConfigurationUpgrade-1.json | 4 +- .../6.3/examples/SubmitPropertyBatch-1.json | 14 +- .../examples/SuspendApplicationBackup.json | 5 +- .../6.3/examples/SuspendPartitionBackup.json | 5 +- .../6.3/examples/SuspendServiceBackup.json | 5 +- .../6.3/examples/UpdateBackupPolicy.json | 11 +- .../stable/6.3/examples/UpdateService-1.json | 62 ++-- .../stable/6.3/examples/UpdateService-2.json | 30 +- .../stable/6.3/servicefabric.json | 2 +- .../6.4/examples/BackupPartition-1.json | 3 +- .../6.4/examples/BackupPartition-2.json | 7 +- .../6.4/examples/BackupPartition-3.json | 7 +- .../6.4/examples/CreateApplication-1.json | 3 +- .../6.4/examples/CreateBackupPolicy-1.json | 7 +- .../6.4/examples/CreateBackupPolicy-2.json | 5 +- .../stable/6.4/examples/CreateName-1.json | 3 +- .../stable/6.4/examples/CreateService-1.json | 38 +-- .../stable/6.4/examples/CreateService-2.json | 42 +-- .../stable/6.4/examples/CreateService-3.json | 88 ++--- .../stable/6.4/examples/CreateService-4.json | 84 ++--- .../6.4/examples/DeleteBackupPolicy.json | 5 +- .../examples/DisableApplicationBackup.json | 5 +- .../6.4/examples/DisablePartitionBackup.json | 5 +- .../6.4/examples/DisableServiceBackup.json | 5 +- .../6.4/examples/EnableApplicationBackup.json | 5 +- .../6.4/examples/EnablePartitionBackup.json | 5 +- .../6.4/examples/EnableServiceBackup.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-1.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-2.json | 5 +- ...tApplicationBackupConfigurationInfo-1.json | 5 +- ...tApplicationBackupConfigurationInfo-2.json | 5 +- .../examples/GetApplicationBackupList-1.json | 5 +- .../examples/GetApplicationBackupList-2.json | 3 +- .../examples/GetApplicationBackupList-3.json | 3 +- .../examples/GetApplicationBackupList-4.json | 3 +- .../6.4/examples/GetApplicationEventList.json | 3 +- .../examples/GetApplicationInfoList-1.json | 5 +- .../examples/GetApplicationInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-1.json | 3 +- .../GetApplicationTypeInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-3.json | 17 +- .../examples/GetApplicationsEventList.json | 3 +- .../6.4/examples/GetBackupPolicyByName.json | 5 +- .../6.4/examples/GetBackupPolicyList-1.json | 3 +- .../6.4/examples/GetBackupPolicyList-2.json | 3 +- .../GetBackupsFromBackupLocation-1.json | 3 +- .../GetBackupsFromBackupLocation-2.json | 3 +- .../stable/6.4/examples/GetChaosEvents.json | 3 +- .../6.4/examples/GetClusterEventList.json | 3 +- .../6.4/examples/GetClusterVersion-1.json | 3 +- .../GetContainerLogsDeployedOnNode-1.json | 5 +- .../GetContainerLogsDeployedOnNode-2.json | 5 +- .../GetContainerLogsDeployedOnNode-3.json | 3 +- .../examples/GetDataLossProgress-Running.json | 5 +- .../6.4/examples/GetDataLossProgress.json | 5 +- .../GetDeployedApplicationInfoList-1.json | 3 +- .../GetDeployedApplicationInfoList-2.json | 19 +- .../GetDeployedApplicationInfoList-3.json | 3 +- .../6.4/examples/GetFaultOperationList.json | 78 +++-- .../6.4/examples/GetImageStoreContent.json | 3 +- .../stable/6.4/examples/GetNodeEventList.json | 3 +- .../6.4/examples/GetNodeInfoList-1.json | 141 ++++---- .../6.4/examples/GetNodeInfoList-2.json | 195 ++++++----- .../stable/6.4/examples/GetNodeInfoList.json | 300 ++++++++--------- .../GetNodeTransitionProgress-Running.json | 5 +- .../examples/GetNodeTransitionProgress.json | 5 +- .../6.4/examples/GetNodesEventList.json | 3 +- .../GetPartitionBackupConfigurationInfo.json | 3 +- .../examples/GetPartitionBackupList-1.json | 3 +- .../examples/GetPartitionBackupList-2.json | 3 +- .../examples/GetPartitionBackupList-3.json | 3 +- .../examples/GetPartitionBackupList-4.json | 3 +- .../examples/GetPartitionBackupProgress.json | 5 +- .../6.4/examples/GetPartitionEventList.json | 3 +- .../examples/GetPartitionRestartProgress.json | 5 +- .../examples/GetPartitionRestoreProgress.json | 5 +- .../6.4/examples/GetPartitionsEventList.json | 3 +- .../6.4/examples/GetPropertyInfo-1.json | 3 +- .../6.4/examples/GetPropertyInfoList-1.json | 4 +- .../6.4/examples/GetPropertyInfoList-2.json | 11 +- .../6.4/examples/GetPropertyInfoList-3.json | 3 +- .../GetQuorumLossProgress-Running.json | 5 +- .../6.4/examples/GetQuorumLossProgress.json | 5 +- .../6.4/examples/GetReplicaEventList.json | 3 +- .../6.4/examples/GetReplicasEventList.json | 3 +- .../GetServiceBackupConfigurationInfo-1.json | 5 +- .../GetServiceBackupConfigurationInfo-2.json | 5 +- .../6.4/examples/GetServiceBackupList-1.json | 3 +- .../6.4/examples/GetServiceBackupList-2.json | 3 +- .../6.4/examples/GetServiceBackupList-3.json | 3 +- .../6.4/examples/GetServiceBackupList-4.json | 3 +- .../6.4/examples/GetServiceEventList.json | 3 +- .../6.4/examples/GetServicesEventList.json | 3 +- .../6.4/examples/GetSubNameInfoList-1.json | 3 +- .../6.4/examples/GetSubNameInfoList-2.json | 3 +- .../6.4/examples/GetSubNameInfoList-3.json | 3 +- .../6.4/examples/GetUploadSessionById.json | 3 +- .../6.4/examples/GetUploadSessionByPath.json | 3 +- .../6.4/examples/InvokeContainerApi.json | 48 +-- .../6.4/examples/InvokeContainerApi_Post.json | 2 +- .../stable/6.4/examples/PutProperty-1.json | 12 +- .../stable/6.4/examples/PutProperty-2.json | 3 +- .../Applications/Services/Replicas/get.json | 2 +- .../Applications/Services/Replicas/list.json | 2 +- .../Resources/Applications/Services/get.json | 2 +- .../Resources/Applications/Services/list.json | 2 +- .../Resources/Applications/create_update.json | 2 +- .../Resources/Applications/delete.json | 2 +- .../examples/Resources/Applications/get.json | 2 +- .../examples/Resources/Applications/list.json | 2 +- .../Resources/Gateways/create_update.json | 4 +- .../examples/Resources/Gateways/delete.json | 2 +- .../Resources/Networks/create_update.json | 2 +- .../examples/Resources/Networks/delete.json | 2 +- .../6.4/examples/Resources/Networks/get.json | 2 +- .../6.4/examples/Resources/Networks/list.json | 2 +- .../6.4/examples/Resources/Secrets/list.json | 2 +- .../Resources/Secrets/values/create.json | 4 +- .../Resources/Secrets/values/delete.json | 3 +- .../Resources/Secrets/values/get.json | 5 +- .../Resources/Volumes/create_update.json | 2 +- .../examples/Resources/Volumes/delete.json | 2 +- .../6.4/examples/Resources/Volumes/get.json | 2 +- .../6.4/examples/Resources/Volumes/list.json | 2 +- .../stable/6.4/examples/RestorePartition.json | 5 +- .../6.4/examples/ResumeApplicationBackup.json | 5 +- .../6.4/examples/ResumePartitionBackup.json | 5 +- .../6.4/examples/ResumeServiceBackup.json | 5 +- .../StartClusterConfigurationUpgrade-1.json | 4 +- .../6.4/examples/SubmitPropertyBatch-1.json | 14 +- .../examples/SuspendApplicationBackup.json | 5 +- .../6.4/examples/SuspendPartitionBackup.json | 5 +- .../6.4/examples/SuspendServiceBackup.json | 5 +- .../6.4/examples/UpdateBackupPolicy.json | 9 +- .../stable/6.4/examples/UpdateService-1.json | 62 ++-- .../stable/6.4/examples/UpdateService-2.json | 30 +- .../6.5/examples/BackupPartition-1.json | 3 +- .../6.5/examples/BackupPartition-2.json | 7 +- .../6.5/examples/BackupPartition-3.json | 7 +- .../6.5/examples/CreateApplication-1.json | 3 +- .../6.5/examples/CreateBackupPolicy-1.json | 7 +- .../6.5/examples/CreateBackupPolicy-2.json | 5 +- .../stable/6.5/examples/CreateName-1.json | 3 +- .../stable/6.5/examples/CreateService-1.json | 38 +-- .../stable/6.5/examples/CreateService-2.json | 42 +-- .../stable/6.5/examples/CreateService-3.json | 88 ++--- .../stable/6.5/examples/CreateService-4.json | 84 ++--- .../6.5/examples/DeleteBackupPolicy.json | 5 +- .../examples/DisableApplicationBackup.json | 5 +- .../6.5/examples/DisablePartitionBackup.json | 5 +- .../6.5/examples/DisableServiceBackup.json | 5 +- .../6.5/examples/EnableApplicationBackup.json | 5 +- .../6.5/examples/EnablePartitionBackup.json | 5 +- .../6.5/examples/EnableServiceBackup.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-1.json | 5 +- .../GetAllEntitiesBackedUpByPolicy-2.json | 5 +- ...tApplicationBackupConfigurationInfo-1.json | 5 +- ...tApplicationBackupConfigurationInfo-2.json | 5 +- .../examples/GetApplicationBackupList-1.json | 5 +- .../examples/GetApplicationBackupList-2.json | 3 +- .../examples/GetApplicationBackupList-3.json | 3 +- .../examples/GetApplicationBackupList-4.json | 3 +- .../6.5/examples/GetApplicationEventList.json | 3 +- .../examples/GetApplicationInfoList-1.json | 5 +- .../examples/GetApplicationInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-1.json | 3 +- .../GetApplicationTypeInfoList-2.json | 3 +- .../GetApplicationTypeInfoList-3.json | 17 +- .../examples/GetApplicationsEventList.json | 3 +- .../6.5/examples/GetBackupPolicyByName.json | 5 +- .../6.5/examples/GetBackupPolicyList-1.json | 3 +- .../6.5/examples/GetBackupPolicyList-2.json | 3 +- .../GetBackupsFromBackupLocation-1.json | 3 +- .../GetBackupsFromBackupLocation-2.json | 3 +- .../stable/6.5/examples/GetChaosEvents.json | 3 +- .../6.5/examples/GetClusterEventList.json | 3 +- .../6.5/examples/GetClusterVersion-1.json | 3 +- .../GetContainerLogsDeployedOnNode-1.json | 5 +- .../GetContainerLogsDeployedOnNode-2.json | 5 +- .../GetContainerLogsDeployedOnNode-3.json | 3 +- .../examples/GetDataLossProgress-Running.json | 5 +- .../6.5/examples/GetDataLossProgress.json | 5 +- .../GetDeployedApplicationInfoList-1.json | 3 +- .../GetDeployedApplicationInfoList-2.json | 19 +- .../GetDeployedApplicationInfoList-3.json | 3 +- .../6.5/examples/GetFaultOperationList.json | 78 +++-- .../6.5/examples/GetImageStoreContent.json | 3 +- .../stable/6.5/examples/GetNodeEventList.json | 3 +- .../6.5/examples/GetNodeInfoList-1.json | 141 ++++---- .../6.5/examples/GetNodeInfoList-2.json | 195 ++++++----- .../stable/6.5/examples/GetNodeInfoList.json | 300 ++++++++--------- .../GetNodeTransitionProgress-Running.json | 5 +- .../examples/GetNodeTransitionProgress.json | 5 +- .../6.5/examples/GetNodesEventList.json | 3 +- .../GetPartitionBackupConfigurationInfo.json | 3 +- .../examples/GetPartitionBackupList-1.json | 3 +- .../examples/GetPartitionBackupList-2.json | 3 +- .../examples/GetPartitionBackupList-3.json | 3 +- .../examples/GetPartitionBackupList-4.json | 3 +- .../examples/GetPartitionBackupProgress.json | 5 +- .../6.5/examples/GetPartitionEventList.json | 3 +- .../examples/GetPartitionRestartProgress.json | 5 +- .../examples/GetPartitionRestoreProgress.json | 5 +- .../6.5/examples/GetPartitionsEventList.json | 3 +- .../6.5/examples/GetPropertyInfo-1.json | 3 +- .../6.5/examples/GetPropertyInfoList-1.json | 4 +- .../6.5/examples/GetPropertyInfoList-2.json | 11 +- .../6.5/examples/GetPropertyInfoList-3.json | 3 +- .../GetQuorumLossProgress-Running.json | 5 +- .../6.5/examples/GetQuorumLossProgress.json | 5 +- .../6.5/examples/GetReplicaEventList.json | 3 +- .../6.5/examples/GetReplicasEventList.json | 3 +- .../GetServiceBackupConfigurationInfo-1.json | 5 +- .../GetServiceBackupConfigurationInfo-2.json | 5 +- .../6.5/examples/GetServiceBackupList-1.json | 3 +- .../6.5/examples/GetServiceBackupList-2.json | 3 +- .../6.5/examples/GetServiceBackupList-3.json | 3 +- .../6.5/examples/GetServiceBackupList-4.json | 3 +- .../6.5/examples/GetServiceEventList.json | 3 +- .../6.5/examples/GetServicesEventList.json | 3 +- .../6.5/examples/GetSubNameInfoList-1.json | 3 +- .../6.5/examples/GetSubNameInfoList-2.json | 3 +- .../6.5/examples/GetSubNameInfoList-3.json | 3 +- .../6.5/examples/GetUploadSessionById.json | 3 +- .../6.5/examples/GetUploadSessionByPath.json | 3 +- .../6.5/examples/InvokeContainerApi.json | 48 +-- .../6.5/examples/InvokeContainerApi_Post.json | 2 +- .../stable/6.5/examples/PutProperty-1.json | 12 +- .../stable/6.5/examples/PutProperty-2.json | 3 +- .../Applications/Services/Replicas/get.json | 2 +- .../Applications/Services/Replicas/list.json | 2 +- .../Resources/Applications/Services/get.json | 2 +- .../Resources/Applications/Services/list.json | 2 +- .../Resources/Applications/create_update.json | 4 +- .../Resources/Applications/delete.json | 2 +- .../examples/Resources/Applications/get.json | 2 +- .../examples/Resources/Applications/list.json | 2 +- .../Resources/Gateways/create_update.json | 4 +- .../examples/Resources/Gateways/delete.json | 2 +- .../Resources/Networks/create_update.json | 2 +- .../examples/Resources/Networks/delete.json | 2 +- .../6.5/examples/Resources/Networks/get.json | 2 +- .../6.5/examples/Resources/Networks/list.json | 2 +- .../6.5/examples/Resources/Secrets/list.json | 2 +- .../Resources/Secrets/values/create.json | 4 +- .../Resources/Secrets/values/delete.json | 3 +- .../Resources/Secrets/values/get.json | 5 +- .../Resources/Volumes/create_update.json | 2 +- .../examples/Resources/Volumes/delete.json | 2 +- .../6.5/examples/Resources/Volumes/get.json | 2 +- .../6.5/examples/Resources/Volumes/list.json | 2 +- .../stable/6.5/examples/RestorePartition.json | 5 +- .../6.5/examples/ResumeApplicationBackup.json | 5 +- .../6.5/examples/ResumePartitionBackup.json | 5 +- .../6.5/examples/ResumeServiceBackup.json | 5 +- .../StartClusterConfigurationUpgrade-1.json | 4 +- .../6.5/examples/SubmitPropertyBatch-1.json | 14 +- .../examples/SuspendApplicationBackup.json | 5 +- .../6.5/examples/SuspendPartitionBackup.json | 5 +- .../6.5/examples/SuspendServiceBackup.json | 5 +- .../6.5/examples/UpdateBackupPolicy.json | 9 +- .../stable/6.5/examples/UpdateService-1.json | 62 ++-- .../stable/6.5/examples/UpdateService-2.json | 30 +- .../stable/6.5/servicefabric.json | 2 +- .../2017-07-01-preview/application.json | 2 +- .../2017-07-01-preview/servicefabric.json | 2 +- .../2019-03-01-preview/application.json | 2 +- .../preview/2019-03-01-preview/cluster.json | 2 +- .../ClusterPutOperation_example_max.json | 2 +- .../ClusterDeleteOperation_example.json | 4 +- .../examples/ClusterGetOperation_example.json | 2 +- ...rListByResourceGroupOperation_example.json | 2 +- .../ClusterListOperation_example.json | 2 +- .../ClusterPatchOperation_example.json | 4 +- .../ClusterPutOperation_example_max.json | 2 +- .../ClusterPutOperation_example_min.json | 4 +- .../examples/ClusterVersionsGet_example.json | 14 +- ...sterVersionsListByEnvironment_example.json | 2 +- .../ClusterVersionsListByVersion_example.json | 2 +- .../examples/ClusterVersionsList_example.json | 2 +- .../stable/2018-02-01/cluster.json | 2 +- .../ClusterPutOperation_example_max.json | 2 +- 491 files changed, 2961 insertions(+), 3281 deletions(-) diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-1.json index dc2775e07732..8745ed2793a7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-1.json @@ -7,7 +7,6 @@ "BackupPartitionDescription": {} }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-2.json index 48e257f80657..d859b271ef43 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-2.json @@ -10,10 +10,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-3.json index c827d97d6c81..871358b05e5c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/BackupPartition-3.json @@ -11,10 +11,9 @@ "PrimaryUserName": "mydomain\\backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateApplication-1.json index bccda97daa0e..815b59ce3e50 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateApplication-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateApplication-1.json @@ -10,7 +10,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-1.json index e12077c344f5..d303c4a734f2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-1.json @@ -11,8 +11,8 @@ "ScheduleKind": "TimeBased", "ScheduleFrequencyType": "Daily", "RunTimes": [ - "0001-01-01T09:00:00Z", - "0001-01-01T17:00:00Z" + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" ] }, "Storage": { @@ -21,10 +21,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-2.json index 8d6b8c0b2f65..92069091d80d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateBackupPolicy-2.json @@ -18,10 +18,9 @@ "PrimaryUserName": "backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateName-1.json index bde8440d7677..39588770e334 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateName-1.json @@ -8,7 +8,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json index c6186d87241b..88c214abd88c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json @@ -1,21 +1,21 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateless Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 4 - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateless Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 4 } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json index 8549e33566a4..b909e6c58b05 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json @@ -1,23 +1,23 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateful Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize": 2, - "HasPersistedState": false - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateful Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": false } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json index 5d7ea2bbafed..74461b9b5eef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json @@ -1,47 +1,47 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 2, - "PlacementConstraints": "Color==Blue", - "CorrelationScheme": [], - "ServiceLoadMetrics": [], - "ServicePlacementPolicies": [], - "DefaultMoveCost": "Low", - "IsDefaultMoveCostSpecified": true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ServiceDnsName": "test1.test", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.300000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 1, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 2, + "PlacementConstraints": "Color==Blue", + "CorrelationScheme": [], + "ServiceLoadMetrics": [], + "ServicePlacementPolicies": [], + "DefaultMoveCost": "Low", + "IsDefaultMoveCostSpecified": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ServiceDnsName": "test1.test", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.300000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 1, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json index 6201d55060d9..a83ca1445d09 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json @@ -1,44 +1,46 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "NamedPartitionSchemeDescription", - "Count" : 1, - "Names" : ["0"] - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize" : 2, - "HasPersistedState" : true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", - "LowerLoadThreshold": 500, - "UpperLoadThreshold": 900, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "AddRemoveIncrementalNamedPartition", - "MinPartitionCount": 1, - "MaxPartitionCount": 3, - "ScaleIncrement": 1 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "NamedPartitionSchemeDescription", + "Count": 1, + "Names": [ + "0" + ] + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AverageServiceLoad", + "MetricName": "servicefabric:\/_MemoryInMB", + "LowerLoadThreshold": 500, + "UpperLoadThreshold": 900, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "AddRemoveIncrementalNamedPartition", + "MinPartitionCount": 1, + "MaxPartitionCount": 3, + "ScaleIncrement": 1 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DeleteBackupPolicy.json index bb4a059aca02..26f33f04c56c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DeleteBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DeleteBackupPolicy.json @@ -6,7 +6,6 @@ "backupPolicyName": "SampleBackupPolicy" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableApplicationBackup.json index 9c3f79dfcc49..273a1951e664 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisablePartitionBackup.json index d28c57331359..3cf33b6209a3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisablePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableServiceBackup.json index a8d579114a69..48b9cc0cb1f3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/DisableServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableApplicationBackup.json index 32d2aebf9790..a6b43cb6e308 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnablePartitionBackup.json index 681f1a34a1c5..f2a9b189f12f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableServiceBackup.json index a70aabb7eccc..d42a6ff9b16e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/EnableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-1.json index cdc5bde7b7fd..742d46154ca4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/DemoApp", - "Items": [ + "Items": [ { "EntityKind": "Application", "ApplicationName": "fabric:/CalcApp" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-2.json index a40150e05c98..553a958b0072 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetAllEntitiesBackedUpByPolicy-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "EntityKind": "Service", "ServiceName": "fabric:/VotingApp/VotingActorService" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-1.json index 2cc70dd82d79..ad9642ceb0d0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService", - "Items": [ + "Items": [ { "Kind": "Application", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-2.json index f1620fd55a75..f8ec47d1f9d3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-1.json index 7cee9f28ad86..501297608aa0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-2.json index b0973826caf5..67598e40b07d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-3.json index f2c47a889359..e0e56db4aee1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-4.json index 0a79fb01b512..363c1fd07f6f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationEventList.json index bd67cca12878..85c202a77007 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-1.json index df1f287e4104..2ca46b64e3a4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-1.json @@ -7,11 +7,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", - "Items": [ + "Items": [ { "Id": "samples~CalculatorApp", "Name": "fabric:/samples/CalculatorApp", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-2.json index 7b5ab210e830..c0755d26e14b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-1.json index a230d74d2b54..bcb6a4e5e3b7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueApp+2.0", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-2.json index c02bd96ace75..a7c38cdedbe7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-3.json index 325dc1b5ca6d..473565e56c6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationTypeInfoList-3.json @@ -7,51 +7,50 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { "Name": "CalculatorApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "CalculatorApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "GatewayApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" } ] diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationsEventList.json index 3e7ec703a345..d6f2b74664c0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyByName.json index d48c65c8ed6a..c2246344e4d6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyByName.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyByName.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, @@ -29,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-1.json index b18863fab4d7..0e123390e2cf 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-1.json @@ -7,12 +7,11 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "FileShare10MinBackupPolicy", "Items": [ - { + { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, "MaxIncrementalBackups": 3, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-2.json index 3895a2315c81..f864ffb69169 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupPolicyList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "AutoRestoreOnDataLoss": false, "Name": "SampleBackupPolicy", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-1.json index 8b1acfc03d76..44cc073d35e9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-1.json @@ -18,11 +18,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-2.json index b435bfc2fc58..23c31a7784a0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetBackupsFromBackupLocation-2.json @@ -19,11 +19,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetChaosEvents.json index 3a486b6fe298..4e5d7bb0b4e3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetChaosEvents.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetChaosEvents.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "History": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetClusterEventList.json index b3eaef4069de..a65e32512638 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetClusterEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetClusterEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ClusterUpgradeStart", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-1.json index 49a23ee30dc4..1be29fb8e6ef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-1.json @@ -10,11 +10,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "HTTP Server started listening on port 8080\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json index 0b1aec4546b8..669943a0d4cb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-3.json index 68b1c3fff841..2ca6cad4f774 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-3.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress-Running.json index c303852becce..90590fff4f2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress.json index 429c33c8f7b6..89d341f05c26 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDataLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeDataLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json index dad6050c027e..87c8485a607c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-1.json index 452ac7b15380..c19d4e2a841c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-2.json index 4bdb8b879f78..7f6320e69e6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-2.json @@ -8,20 +8,19 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { - "Id": "samples~VQueueApp1", - "Name": "fabric:/samples/VQueueApp1", - "TypeName": "VolatileQueueApp", - "Status": "Active", - "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", - "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", - "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", - "HealthState": "Unknown" + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Unknown" } ] } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-3.json index 0d1b40c1148a..01cad866d3c1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetFaultOperationList.json index 692f55108319..c7194dad614a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetFaultOperationList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetFaultOperationList.json @@ -8,46 +8,44 @@ }, "responses": { "200": { - "headers": { - }, - "body": - [ - { - "OperationId": "00000000-0000-0000-0000-000000000010", - "State": "Completed", - "Type": "PartitionDataLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000020", - "State": "Completed", - "Type": "PartitionQuorumLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000030", - "State": "Completed", - "Type": "PartitionRestart" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000500", - "State": "Faulted", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000700", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000710", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", - "State": "Completed", - "Type": "PartitionRestart" - } - ] + "headers": {}, + "body": [ + { + "OperationId": "00000000-0000-0000-0000-000000000010", + "State": "Completed", + "Type": "PartitionDataLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000020", + "State": "Completed", + "Type": "PartitionQuorumLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000030", + "State": "Completed", + "Type": "PartitionRestart" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000500", + "State": "Faulted", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000700", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000710", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", + "State": "Completed", + "Type": "PartitionRestart" + } + ] } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetImageStoreContent.json index 457cfd7986aa..7e912c407a79 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetImageStoreContent.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetImageStoreContent.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "StoreFiles": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeEventList.json index a21108addcbb..f143ad167be8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpening", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeInfoList.json index 3169bff0fae6..512558ee8320 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeInfoList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeInfoList.json @@ -6,170 +6,169 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { - "ContinuationToken": "", - "Items": [ - { - "Name": "_Node_4", - "IpAddressOrFQDN": "localhost", - "Type": "NodeType4", - "CodeVersion": "5.6.135.9494", - "ConfigVersion": "1.0", - "NodeStatus": "Up", - "NodeUpTimeInSeconds": "526996", - "HealthState": "Ok", - "IsSeedNode": false, - "UpgradeDomain": "4", - "FaultDomain": "fd:/4", - "Id": { - "Id": "4f4e3698a196896b5efe8156cc4e1351" - }, - "InstanceId": "131353697443064929", - "NodeDeactivationInfo": { - "NodeDeactivationIntent": "Invalid", - "NodeDeactivationStatus": "None", - "NodeDeactivationTask": [], - "PendingSafetyChecks": [] - }, - "IsStopped": false, - "NodeDownTimeInSeconds": "0", - "NodeUpAt": "2018-01-10T19:10:59.812Z", - "NodeDownAt": "0001-01-01T00:00:00.000Z" + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_4", + "IpAddressOrFQDN": "localhost", + "Type": "NodeType4", + "CodeVersion": "5.6.135.9494", + "ConfigVersion": "1.0", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "526996", + "HealthState": "Ok", + "IsSeedNode": false, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "4f4e3698a196896b5efe8156cc4e1351" }, - { - "Name": "_Node_3", - "IpAddressOrFQDN": "localhost", - "Type": "NodeType3", - "CodeVersion": "5.6.135.9494", - "ConfigVersion": "1.0", - "NodeStatus": "Up", - "NodeUpTimeInSeconds": "526954", - "HealthState": "Ok", - "IsSeedNode": false, - "UpgradeDomain": "3", - "FaultDomain": "fd:/3", - "Id": { - "Id": "6b5c3db003a0bd126f7b8a86fc3916a4" - }, - "InstanceId": "131353697864903666", - "NodeDeactivationInfo": { - "NodeDeactivationIntent": "Invalid", - "NodeDeactivationStatus": "None", - "NodeDeactivationTask": [], - "PendingSafetyChecks": [] - }, - "IsStopped": false, - "NodeDownTimeInSeconds": "0", - "NodeUpAt": "2018-01-10T19:10:59.812Z", - "NodeDownAt": "0001-01-01T00:00:00.000Z" + "InstanceId": "131353697443064929", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] }, - { - "Name": "_Node_2", - "IpAddressOrFQDN": "localhost", - "Type": "NodeType2", - "CodeVersion": "5.6.135.9494", - "ConfigVersion": "1.0", - "NodeStatus": "Disabled", - "NodeUpTimeInSeconds": "1710571", - "HealthState": "Ok", - "IsSeedNode": true, - "UpgradeDomain": "2", - "FaultDomain": "fd:/2", - "Id": { - "Id": "876a44d9185bf9416336b22e5d37cde8" - }, - "InstanceId": "131341861291227632", - "NodeDeactivationInfo": { - "NodeDeactivationIntent": "Pause", - "NodeDeactivationStatus": "Completed", - "NodeDeactivationTask": [ - { - "NodeDeactivationTaskId": { - "Id": "876a44d9185bf9416336b22e5d37cde8", - "NodeDeactivationTaskType": "Client" - }, - "NodeDeactivationIntent": "Pause" - } - ], - "PendingSafetyChecks": [] - }, - "IsStopped": false, - "NodeDownTimeInSeconds": "0", - "NodeUpAt": "2018-01-10T19:10:59.812Z", - "NodeDownAt": "0001-01-01T00:00:00.000Z" + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-01-10T19:10:59.812Z", + "NodeDownAt": "0001-01-01T00:00:00.000Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "localhost", + "Type": "NodeType3", + "CodeVersion": "5.6.135.9494", + "ConfigVersion": "1.0", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "526954", + "HealthState": "Ok", + "IsSeedNode": false, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "6b5c3db003a0bd126f7b8a86fc3916a4" }, - { - "Name": "_Node_1", - "IpAddressOrFQDN": "localhost", - "Type": "NodeType1", - "CodeVersion": "5.6.135.9494", - "ConfigVersion": "1.0", - "NodeStatus": "Disabling", - "NodeUpTimeInSeconds": "1710571", - "HealthState": "Ok", - "IsSeedNode": true, - "UpgradeDomain": "1", - "FaultDomain": "fd:/1", - "Id": { - "Id": "a3784be1d81710242ed0a9632647b4f7" - }, - "InstanceId": "131341861290236579", - "NodeDeactivationInfo": { - "NodeDeactivationIntent": "Pause", - "NodeDeactivationStatus": "SafetyCheckInProgress", - "NodeDeactivationTask": [ - { - "NodeDeactivationTaskId": { - "Id": "a3784be1d81710242ed0a9632647b4f7", - "NodeDeactivationTaskType": "Client" - }, - "NodeDeactivationIntent": "Pause" - } - ], - "PendingSafetyChecks": [ - { - "SafetyCheck": { - "Kind": "EnsureSeedNodeQuorum" - } + "InstanceId": "131353697864903666", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-01-10T19:10:59.812Z", + "NodeDownAt": "0001-01-01T00:00:00.000Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "localhost", + "Type": "NodeType2", + "CodeVersion": "5.6.135.9494", + "ConfigVersion": "1.0", + "NodeStatus": "Disabled", + "NodeUpTimeInSeconds": "1710571", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "876a44d9185bf9416336b22e5d37cde8" + }, + "InstanceId": "131341861291227632", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Pause", + "NodeDeactivationStatus": "Completed", + "NodeDeactivationTask": [ + { + "NodeDeactivationTaskId": { + "Id": "876a44d9185bf9416336b22e5d37cde8", + "NodeDeactivationTaskType": "Client" + }, + "NodeDeactivationIntent": "Pause" + } + ], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-01-10T19:10:59.812Z", + "NodeDownAt": "0001-01-01T00:00:00.000Z" + }, + { + "Name": "_Node_1", + "IpAddressOrFQDN": "localhost", + "Type": "NodeType1", + "CodeVersion": "5.6.135.9494", + "ConfigVersion": "1.0", + "NodeStatus": "Disabling", + "NodeUpTimeInSeconds": "1710571", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "a3784be1d81710242ed0a9632647b4f7" + }, + "InstanceId": "131341861290236579", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Pause", + "NodeDeactivationStatus": "SafetyCheckInProgress", + "NodeDeactivationTask": [ + { + "NodeDeactivationTaskId": { + "Id": "a3784be1d81710242ed0a9632647b4f7", + "NodeDeactivationTaskType": "Client" + }, + "NodeDeactivationIntent": "Pause" + } + ], + "PendingSafetyChecks": [ + { + "SafetyCheck": { + "Kind": "EnsureSeedNodeQuorum" } - ] - }, - "IsStopped": false, - "NodeDownTimeInSeconds": "0", - "NodeUpAt": "2018-01-10T19:10:59.812Z", - "NodeDownAt": "0001-01-01T00:00:00.000Z" + } + ] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-01-10T19:10:59.812Z", + "NodeDownAt": "0001-01-01T00:00:00.000Z" + }, + { + "Name": "_Node_0", + "IpAddressOrFQDN": "localhost", + "Type": "NodeType0", + "CodeVersion": "5.6.135.9494", + "ConfigVersion": "1.0", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "1710571", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "bf865279ba277deb864a976fbf4c200e" + }, + "InstanceId": "131341861289826291", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] }, - { - "Name": "_Node_0", - "IpAddressOrFQDN": "localhost", - "Type": "NodeType0", - "CodeVersion": "5.6.135.9494", - "ConfigVersion": "1.0", - "NodeStatus": "Up", - "NodeUpTimeInSeconds": "1710571", - "HealthState": "Ok", - "IsSeedNode": true, - "UpgradeDomain": "0", - "FaultDomain": "fd:/0", - "Id": { - "Id": "bf865279ba277deb864a976fbf4c200e" - }, - "InstanceId": "131341861289826291", - "NodeDeactivationInfo": { - "NodeDeactivationIntent": "Invalid", - "NodeDeactivationStatus": "None", - "NodeDeactivationTask": [], - "PendingSafetyChecks": [] - }, - "IsStopped": false, - "NodeDownTimeInSeconds": "0", - "NodeUpAt": "2018-01-10T19:10:59.812Z", - "NodeDownAt": "0001-01-01T00:00:00.000Z" - } - ] - } + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-01-10T19:10:59.812Z", + "NodeDownAt": "0001-01-01T00:00:00.000Z" + } + ] + } } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress-Running.json index 64d4642700ea..62ad5c37ec58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress-Running.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress.json index 5ee8818ce76a..474ab826b8df 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodeTransitionProgress.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "NodeTransitionResult": { @@ -22,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodesEventList.json index aae5dea1cc1c..4355d9961558 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetNodesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpening", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupConfigurationInfo.json index 48ffda64fa66..c7e119b0e7a7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupConfigurationInfo.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupConfigurationInfo.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-1.json index 95228d16752f..6f6c7931f845 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-2.json index a8b808b8db3d..8d56fd96a576 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-3.json index 607b42eaa2cb..45a0dbe1568d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-4.json index 0444cd5e8266..9ac35bb79efd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupProgress.json index 9e0b2545db60..3b9b131b8afd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionBackupProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "BackupState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionEventList.json index aae33c4b1e00..59e619f72f17 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigurationCompleted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestartProgress.json index 4453caa242d6..074289b470a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestartProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestartProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "RestartPartitionResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestoreProgress.json index cd6099ad4d61..62e13304aa16 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestoreProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionRestoreProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "RestoreState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -21,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionsEventList.json index dd7f4311823f..7d500da4e26f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPartitionsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigurationCompleted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfo-1.json index fd0e63e316bf..ca5def4be2fb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfo-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "CalculatorAppData", "Value": { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-1.json index 9d4f74b46e80..5729c6a4e4a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -36,7 +35,6 @@ } } ] - } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-2.json index 405aeca605ff..6a172f23f09a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -33,7 +32,13 @@ "Name": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [6, 7, 8, 9, 10] + "Data": [ + 6, + 7, + 8, + 9, + 10 + ] }, "Metadata": { "TypeId": "Binary", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-3.json index 51a4fcb919b4..ce12465b6ce6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetPropertyInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress-Running.json index 059c51840fc9..203fb157db03 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress.json index 3e848d89bc8d..c86fd0d2b31d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetQuorumLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeQuorumLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicaEventList.json index a89b8578ab44..37455c6cbf93 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicaEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicaEventList.json @@ -10,8 +10,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaHealthReportCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicasEventList.json index 793b6d201db5..9dd8bfcefce5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicasEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetReplicasEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaHealthReportCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-1.json index 9e7a54d9b89f..63026d5e9432 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d", - "Items": [ + "Items": [ { "Kind": "Service", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-2.json index 126c01ad5d60..a9bf85884db2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-1.json index cb0c6c85b6a5..3291f1a1a943 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-2.json index 03d20cfcca7e..d8b8c99093b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-3.json index 3e0d3827a229..1b5870db7131 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-4.json index 15482f3db270..a4bc56a73369 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceEventList.json index ae7adcc98ecf..eb2f04b29fdb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServicesEventList.json index bd4b7353165e..4b759f1352da 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServicesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServicesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-1.json index 3d315a557a9f..282319140d86 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-2.json index 6dbd9309980a..15391854f370 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-3.json index 3265fc8a3c13..bf07c9c58bc4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetSubNameInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionById.json index 21ce39b90dd9..c565a13cfcbc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionById.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionById.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionByPath.json index 82743551c7cb..8dc66b6d107d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionByPath.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetUploadSessionByPath.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi.json index cdaf407acf69..bfe285758eec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi.json @@ -1,27 +1,27 @@ { - "operationId": "InvokeContainerApi", - "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", - "parameters": { - "api-version": "6.2", - "nodeName": "Node01", - "applicationId": "samples/winnodejs", - "ServiceManifestName": "NodeServicePackage", - "CodePackageName": "NodeService.Code", - "CodePackageInstanceId": "131668159770315380", - "ContainerApiRequestBody": { - "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "ContainerApiResult": { - "Status": 200, - "Content-Type": "text/plain; charset=utf-8", - "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" - } - } + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "Node01", + "applicationId": "samples/winnodejs", + "ServiceManifestName": "NodeServicePackage", + "CodePackageName": "NodeService.Code", + "CodePackageInstanceId": "131668159770315380", + "ContainerApiRequestBody": { + "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "text/plain; charset=utf-8", + "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi_Post.json index 1af58111eb46..0042fd341de0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi_Post.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/InvokeContainerApi_Post.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-1.json index f2e3d3252d09..8eee209e7c7b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-1.json @@ -8,12 +8,18 @@ "PropertyName": "AppData", "Value": { "Kind": "Binary", - "Data": [0, 1, 2, 3, 4, 5] + "Data": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] } } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-2.json index 85713723d090..5db6a9ad77f7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/PutProperty-2.json @@ -14,7 +14,6 @@ } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/RestorePartition.json index 2517de87856f..bcf0866b5cfa 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/RestorePartition.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/RestorePartition.json @@ -15,7 +15,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeApplicationBackup.json index c2c11c4f9d0a..3786ff3d7b54 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumePartitionBackup.json index f902b478d32e..1ce9278a4639 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeServiceBackup.json index 69ea5b861c11..c97f824b47e1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/ResumeServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SubmitPropertyBatch-1.json index af100a680c95..da4ac83317d4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SubmitPropertyBatch-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SubmitPropertyBatch-1.json @@ -21,7 +21,13 @@ "PropertyName": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [1, 2, 3, 4, 5] + "Data": [ + 1, + 2, + 3, + 4, + 5 + ] }, "CustomTypeId": "InitializationData" }, @@ -35,8 +41,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Successful", "Properties": { @@ -55,8 +60,7 @@ } }, "409": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Failed", "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendApplicationBackup.json index 862c3b5387d8..9bb3da5e03aa 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendPartitionBackup.json index 74e24683205a..e34dfbeeead2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendPartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendPartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendServiceBackup.json index f39d03482610..212b0345344d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/SuspendServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateBackupPolicy.json index 5421b431a968..aed3191828a9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateBackupPolicy.json @@ -12,8 +12,8 @@ "ScheduleKind": "TimeBased", "ScheduleFrequencyType": "Daily", "RunTimes": [ - "0001-01-01T09:00:00Z", - "0001-01-01T17:00:00Z" + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" ] }, "Storage": { @@ -22,10 +22,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json index 3a748e8e3e20..6d14c7ebe614 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json @@ -1,34 +1,34 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", - "parameters": { - "serviceId": "test~test1", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateless", - "Flags": "1568", - "PlacementConstraints": "Color==Red", - "DefaultMoveCost": "High", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.500000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 900 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 4, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", + "parameters": { + "serviceId": "test~test1", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateless", + "Flags": "1568", + "PlacementConstraints": "Color==Red", + "DefaultMoveCost": "High", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.500000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 900 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 4, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "200": {} + ] } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-2.json index 4329ddddf400..cdb1368dbdd6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-2.json @@ -1,17 +1,17 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", - "parameters": { - "serviceId": "test~test2", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateful", - "Flags": "40", - "PlacementConstraints": "Color==Green", - "StandByReplicaKeepDurationSeconds": "1000" - } - }, - "responses": { - "200": {} + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", + "parameters": { + "serviceId": "test~test2", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateful", + "Flags": "40", + "PlacementConstraints": "Color==Green", + "StandByReplicaKeepDurationSeconds": "1000" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-1.json index dc2775e07732..8745ed2793a7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-1.json @@ -7,7 +7,6 @@ "BackupPartitionDescription": {} }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-2.json index 48e257f80657..d859b271ef43 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-2.json @@ -10,10 +10,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-3.json index c827d97d6c81..871358b05e5c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/BackupPartition-3.json @@ -11,10 +11,9 @@ "PrimaryUserName": "mydomain\\backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateApplication-1.json index bccda97daa0e..815b59ce3e50 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateApplication-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateApplication-1.json @@ -10,7 +10,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-1.json index e12077c344f5..d303c4a734f2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-1.json @@ -11,8 +11,8 @@ "ScheduleKind": "TimeBased", "ScheduleFrequencyType": "Daily", "RunTimes": [ - "0001-01-01T09:00:00Z", - "0001-01-01T17:00:00Z" + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" ] }, "Storage": { @@ -21,10 +21,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-2.json index 8d6b8c0b2f65..92069091d80d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateBackupPolicy-2.json @@ -18,10 +18,9 @@ "PrimaryUserName": "backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateName-1.json index bde8440d7677..39588770e334 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateName-1.json @@ -8,7 +8,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json index c6186d87241b..88c214abd88c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json @@ -1,21 +1,21 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateless Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 4 - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateless Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 4 } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json index 8549e33566a4..b909e6c58b05 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json @@ -1,23 +1,23 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateful Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize": 2, - "HasPersistedState": false - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateful Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": false } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json index 5d7ea2bbafed..74461b9b5eef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json @@ -1,47 +1,47 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 2, - "PlacementConstraints": "Color==Blue", - "CorrelationScheme": [], - "ServiceLoadMetrics": [], - "ServicePlacementPolicies": [], - "DefaultMoveCost": "Low", - "IsDefaultMoveCostSpecified": true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ServiceDnsName": "test1.test", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.300000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 1, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 2, + "PlacementConstraints": "Color==Blue", + "CorrelationScheme": [], + "ServiceLoadMetrics": [], + "ServicePlacementPolicies": [], + "DefaultMoveCost": "Low", + "IsDefaultMoveCostSpecified": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ServiceDnsName": "test1.test", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.300000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 1, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json index 6201d55060d9..a83ca1445d09 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json @@ -1,44 +1,46 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "NamedPartitionSchemeDescription", - "Count" : 1, - "Names" : ["0"] - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize" : 2, - "HasPersistedState" : true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", - "LowerLoadThreshold": 500, - "UpperLoadThreshold": 900, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "AddRemoveIncrementalNamedPartition", - "MinPartitionCount": 1, - "MaxPartitionCount": 3, - "ScaleIncrement": 1 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "NamedPartitionSchemeDescription", + "Count": 1, + "Names": [ + "0" + ] + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AverageServiceLoad", + "MetricName": "servicefabric:\/_MemoryInMB", + "LowerLoadThreshold": 500, + "UpperLoadThreshold": 900, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "AddRemoveIncrementalNamedPartition", + "MinPartitionCount": 1, + "MaxPartitionCount": 3, + "ScaleIncrement": 1 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DeleteBackupPolicy.json index bb4a059aca02..26f33f04c56c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DeleteBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DeleteBackupPolicy.json @@ -6,7 +6,6 @@ "backupPolicyName": "SampleBackupPolicy" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableApplicationBackup.json index 9c3f79dfcc49..273a1951e664 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisablePartitionBackup.json index d28c57331359..3cf33b6209a3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisablePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableServiceBackup.json index a8d579114a69..48b9cc0cb1f3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/DisableServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableApplicationBackup.json index 32d2aebf9790..a6b43cb6e308 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnablePartitionBackup.json index 681f1a34a1c5..f2a9b189f12f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableServiceBackup.json index a70aabb7eccc..d42a6ff9b16e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/EnableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-1.json index cdc5bde7b7fd..742d46154ca4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/DemoApp", - "Items": [ + "Items": [ { "EntityKind": "Application", "ApplicationName": "fabric:/CalcApp" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-2.json index a40150e05c98..553a958b0072 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetAllEntitiesBackedUpByPolicy-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "EntityKind": "Service", "ServiceName": "fabric:/VotingApp/VotingActorService" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-1.json index 2cc70dd82d79..ad9642ceb0d0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService", - "Items": [ + "Items": [ { "Kind": "Application", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-2.json index f1620fd55a75..f8ec47d1f9d3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-1.json index 7cee9f28ad86..501297608aa0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-2.json index b0973826caf5..67598e40b07d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-3.json index f2c47a889359..e0e56db4aee1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-4.json index 0a79fb01b512..363c1fd07f6f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationEventList.json index bd67cca12878..85c202a77007 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-1.json index df1f287e4104..2ca46b64e3a4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-1.json @@ -7,11 +7,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", - "Items": [ + "Items": [ { "Id": "samples~CalculatorApp", "Name": "fabric:/samples/CalculatorApp", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-2.json index 7b5ab210e830..c0755d26e14b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-1.json index a230d74d2b54..bcb6a4e5e3b7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueApp+2.0", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-2.json index c02bd96ace75..a7c38cdedbe7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-3.json index 325dc1b5ca6d..473565e56c6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationTypeInfoList-3.json @@ -7,51 +7,50 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { "Name": "CalculatorApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "CalculatorApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "GatewayApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" } ] diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationsEventList.json index 3e7ec703a345..d6f2b74664c0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetApplicationsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyByName.json index d48c65c8ed6a..c2246344e4d6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyByName.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyByName.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, @@ -29,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-1.json index b18863fab4d7..0e123390e2cf 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-1.json @@ -7,12 +7,11 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "FileShare10MinBackupPolicy", "Items": [ - { + { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, "MaxIncrementalBackups": 3, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-2.json index 3895a2315c81..f864ffb69169 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupPolicyList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "AutoRestoreOnDataLoss": false, "Name": "SampleBackupPolicy", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-1.json index 8b1acfc03d76..44cc073d35e9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-1.json @@ -18,11 +18,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-2.json index b435bfc2fc58..23c31a7784a0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetBackupsFromBackupLocation-2.json @@ -19,11 +19,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetChaosEvents.json index 3a486b6fe298..4e5d7bb0b4e3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetChaosEvents.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetChaosEvents.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "History": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetClusterEventList.json index b3eaef4069de..a65e32512638 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetClusterEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetClusterEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ClusterUpgradeStart", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-1.json index 49a23ee30dc4..1be29fb8e6ef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-1.json @@ -10,11 +10,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "HTTP Server started listening on port 8080\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json index 0b1aec4546b8..669943a0d4cb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-3.json index 68b1c3fff841..2ca6cad4f774 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-3.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress-Running.json index c303852becce..90590fff4f2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress.json index 429c33c8f7b6..89d341f05c26 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDataLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeDataLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoByName-1.json index dad6050c027e..87c8485a607c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoByName-1.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-1.json index 452ac7b15380..c19d4e2a841c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-2.json index 4bdb8b879f78..7f6320e69e6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-2.json @@ -8,20 +8,19 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { - "Id": "samples~VQueueApp1", - "Name": "fabric:/samples/VQueueApp1", - "TypeName": "VolatileQueueApp", - "Status": "Active", - "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", - "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", - "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", - "HealthState": "Unknown" + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Unknown" } ] } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-3.json index 0d1b40c1148a..01cad866d3c1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetDeployedApplicationInfoList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetFaultOperationList.json index 692f55108319..c7194dad614a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetFaultOperationList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetFaultOperationList.json @@ -8,46 +8,44 @@ }, "responses": { "200": { - "headers": { - }, - "body": - [ - { - "OperationId": "00000000-0000-0000-0000-000000000010", - "State": "Completed", - "Type": "PartitionDataLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000020", - "State": "Completed", - "Type": "PartitionQuorumLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000030", - "State": "Completed", - "Type": "PartitionRestart" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000500", - "State": "Faulted", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000700", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000710", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", - "State": "Completed", - "Type": "PartitionRestart" - } - ] + "headers": {}, + "body": [ + { + "OperationId": "00000000-0000-0000-0000-000000000010", + "State": "Completed", + "Type": "PartitionDataLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000020", + "State": "Completed", + "Type": "PartitionQuorumLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000030", + "State": "Completed", + "Type": "PartitionRestart" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000500", + "State": "Faulted", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000700", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000710", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", + "State": "Completed", + "Type": "PartitionRestart" + } + ] } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetImageStoreContent.json index 457cfd7986aa..7e912c407a79 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetImageStoreContent.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetImageStoreContent.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "StoreFiles": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeEventList.json index a21108addcbb..f143ad167be8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpening", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-1.json index be0a9a5d9509..c494bff622c5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-1.json @@ -1,73 +1,72 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", - "parameters":{ - "api-version":"6.3", - "MaxResults":2 - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326", - "Items":[ - { - "Name":"_testnode_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"102016", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_testnode_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"105483", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", + "parameters": { + "api-version": "6.3", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326", + "Items": [ + { + "Name": "_testnode_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "102016", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_testnode_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "105483", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-2.json index fb689851f34d..79bbd1bf1af7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList-2.json @@ -1,100 +1,99 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3", - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326" - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101547", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15615", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19819", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", + "parameters": { + "api-version": "6.3", + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101547", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15615", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19819", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList.json index 6e19eaa4d9a3..d38a618440a9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeInfoList.json @@ -1,153 +1,152 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3" - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15275", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_Node_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"18742", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - }, - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101168", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15236", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19440", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", + "parameters": { + "api-version": "6.3" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15275", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_Node_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "18742", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + }, + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101168", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15236", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19440", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress-Running.json index 64d4642700ea..62ad5c37ec58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress-Running.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress.json index 5ee8818ce76a..474ab826b8df 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodeTransitionProgress.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "NodeTransitionResult": { @@ -22,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodesEventList.json index aae5dea1cc1c..4355d9961558 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetNodesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpening", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupConfigurationInfo.json index 48ffda64fa66..c7e119b0e7a7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupConfigurationInfo.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupConfigurationInfo.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-1.json index 95228d16752f..6f6c7931f845 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-2.json index a8b808b8db3d..8d56fd96a576 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-3.json index 607b42eaa2cb..45a0dbe1568d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-4.json index 0444cd5e8266..9ac35bb79efd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "be06a49c-be67-4eb1-a602-b983605be862", "BackupChainId": "be06a49c-be67-4eb1-a602-b983605be862", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupProgress.json index 9e0b2545db60..3b9b131b8afd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionBackupProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "BackupState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionEventList.json index aae33c4b1e00..59e619f72f17 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigurationCompleted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestartProgress.json index 4453caa242d6..074289b470a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestartProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestartProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "RestartPartitionResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestoreProgress.json index cd6099ad4d61..62e13304aa16 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestoreProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionRestoreProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "RestoreState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -21,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionsEventList.json index dd7f4311823f..7d500da4e26f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPartitionsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigurationCompleted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfo-1.json index fd0e63e316bf..ca5def4be2fb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfo-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "CalculatorAppData", "Value": { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-1.json index 9d4f74b46e80..5729c6a4e4a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -36,7 +35,6 @@ } } ] - } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-2.json index 405aeca605ff..6a172f23f09a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -33,7 +32,13 @@ "Name": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [6, 7, 8, 9, 10] + "Data": [ + 6, + 7, + 8, + 9, + 10 + ] }, "Metadata": { "TypeId": "Binary", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-3.json index 51a4fcb919b4..ce12465b6ce6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetPropertyInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress-Running.json index 059c51840fc9..203fb157db03 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress.json index 3e848d89bc8d..c86fd0d2b31d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetQuorumLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeQuorumLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicaEventList.json index a89b8578ab44..37455c6cbf93 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicaEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicaEventList.json @@ -10,8 +10,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaHealthReportCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicasEventList.json index 793b6d201db5..9dd8bfcefce5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicasEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetReplicasEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaHealthReportCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-1.json index 9e7a54d9b89f..63026d5e9432 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d", - "Items": [ + "Items": [ { "Kind": "Service", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-2.json index 126c01ad5d60..a9bf85884db2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-1.json index cb0c6c85b6a5..3291f1a1a943 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-1.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-2.json index 03d20cfcca7e..d8b8c99093b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-2.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-3.json index 3e0d3827a229..1b5870db7131 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-3.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", - "Items": [ + "Items": [ { "BackupId": "3a056ac9-7206-43c3-8424-6f6103003eba", "BackupChainId": "3a056ac9-7206-43c3-8424-6f6103003eba", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-4.json index 15482f3db270..a4bc56a73369 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceBackupList-4.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "BackupId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", "BackupChainId": "0ff4fdbe-131c-4dfb-8249-7b4029ddc014", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceEventList.json index ae7adcc98ecf..eb2f04b29fdb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServiceEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServicesEventList.json index bd4b7353165e..4b759f1352da 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServicesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetServicesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-1.json index 3d315a557a9f..282319140d86 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-2.json index 6dbd9309980a..15391854f370 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-3.json index 3265fc8a3c13..bf07c9c58bc4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetSubNameInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionById.json index 21ce39b90dd9..c565a13cfcbc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionById.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionById.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionByPath.json index 82743551c7cb..8dc66b6d107d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionByPath.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetUploadSessionByPath.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi.json index cdaf407acf69..bfe285758eec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi.json @@ -1,27 +1,27 @@ { - "operationId": "InvokeContainerApi", - "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", - "parameters": { - "api-version": "6.2", - "nodeName": "Node01", - "applicationId": "samples/winnodejs", - "ServiceManifestName": "NodeServicePackage", - "CodePackageName": "NodeService.Code", - "CodePackageInstanceId": "131668159770315380", - "ContainerApiRequestBody": { - "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "ContainerApiResult": { - "Status": 200, - "Content-Type": "text/plain; charset=utf-8", - "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" - } - } + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "Node01", + "applicationId": "samples/winnodejs", + "ServiceManifestName": "NodeServicePackage", + "CodePackageName": "NodeService.Code", + "CodePackageInstanceId": "131668159770315380", + "ContainerApiRequestBody": { + "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "text/plain; charset=utf-8", + "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi_Post.json index 1af58111eb46..0042fd341de0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi_Post.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/InvokeContainerApi_Post.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-1.json index f2e3d3252d09..8eee209e7c7b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-1.json @@ -8,12 +8,18 @@ "PropertyName": "AppData", "Value": { "Kind": "Binary", - "Data": [0, 1, 2, 3, 4, 5] + "Data": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] } } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-2.json index 85713723d090..5db6a9ad77f7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/PutProperty-2.json @@ -14,7 +14,6 @@ } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateApplicationResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateApplicationResource.json index 3450bd4503a7..458048b6298d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateApplicationResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateApplicationResource.json @@ -43,4 +43,4 @@ "201": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateVolumeResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateVolumeResource.json index d447312a9818..a656c31cca11 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateVolumeResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/CreateOrUpdateVolumeResource.json @@ -21,4 +21,4 @@ "201": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteApplicationResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteApplicationResource.json index 4b2156c02a4e..a7dd835dead1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteApplicationResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteApplicationResource.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteVolumeResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteVolumeResource.json index f981f61405f9..66515e1b1d2e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteVolumeResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/DeleteVolumeResource.json @@ -1,13 +1,13 @@ { - "operationId": "DeleteVolumeResource", - "description": "This example shows how to delete an existing volume resource. If the volume resource does not exit, an empty response with 204 status code is returned.", - "parameters": { - "volumeResourceName": "meshDemoVolume", - "api-version": "6.3-preview" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "operationId": "DeleteVolumeResource", + "description": "This example shows how to delete an existing volume resource. If the volume resource does not exit, an empty response with 204 status code is returned.", + "parameters": { + "volumeResourceName": "meshDemoVolume", + "api-version": "6.3-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetApplicationResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetApplicationResource.json index e36748d07114..996803abe6e2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetApplicationResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetApplicationResource.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplica.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplica.json index e60ba88bef4e..ee34b33d7e50 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplica.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplica.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplicas.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplicas.json index f59de11738d8..a1629876b72f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplicas.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetReplicas.json @@ -1,86 +1,86 @@ { "operationId": "GetReplica", "description": "This example shows how to get the information about all replicas of a given service of an application..", - "parameters": { - "api-version": "6.3-preview", + "parameters": { + "api-version": "6.3-preview", "applicationResourceName": "helloWorldApp", "serviceResourceName": "helloWorldService" - }, - "responses": { - "200": { - "body": { - "ContinuationToken": "", + }, + "responses": { + "200": { + "body": { + "ContinuationToken": "", "Items": [ - { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" - } + "previousState": { + "state": "NotSpecified", + "exitCode": "0" } } - ], - "networkRefs": [], - "replicaName": "1" - }, - { - "osType": "Linux", - "codePackages": [ - { - "name": "helloWorldCode", - "image": "seabreeze/sbz-helloworld:1.0-alpine", - "endpoints": [ - { - "name": "helloWorldListener", - "port": 80 - } - ], - "resources": { - "requests": { - "memoryInGB": 1, - "cpu": 1 - } + } + ], + "networkRefs": [], + "replicaName": "1" + }, + { + "osType": "Linux", + "codePackages": [ + { + "name": "helloWorldCode", + "image": "seabreeze/sbz-helloworld:1.0-alpine", + "endpoints": [ + { + "name": "helloWorldListener", + "port": 80 + } + ], + "resources": { + "requests": { + "memoryInGB": 1, + "cpu": 1 + } + }, + "instanceView": { + "restartCount": 1, + "currentState": { + "state": "Running", + "exitCode": "0" }, - "instanceView": { - "restartCount": 1, - "currentState": { - "state": "Running", - "exitCode": "0" - }, - "previousState": { - "state": "NotSpecified", - "exitCode": "0" - } + "previousState": { + "state": "NotSpecified", + "exitCode": "0" } } - ], - "networkRefs": [], - "replicaName": "0" - } - ] - } + } + ], + "networkRefs": [], + "replicaName": "0" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetService.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetService.json index 52b7d883b774..0b26f3e40347 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetService.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetService.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetServices.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetServices.json index d8967583f096..0b6783d9e0b0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetServices.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetServices.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetVolumeResource.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetVolumeResource.json index c2aa93b5bff7..872cac09f158 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetVolumeResource.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/Resource/GetVolumeResource.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/RestorePartition.json index 2517de87856f..bcf0866b5cfa 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/RestorePartition.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/RestorePartition.json @@ -15,7 +15,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeApplicationBackup.json index c2c11c4f9d0a..3786ff3d7b54 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumePartitionBackup.json index f902b478d32e..1ce9278a4639 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeServiceBackup.json index 69ea5b861c11..c97f824b47e1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/ResumeServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/StartClusterConfigurationUpgrade-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/StartClusterConfigurationUpgrade-1.json index bbb6034fc8e4..2f8fd59a474e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/StartClusterConfigurationUpgrade-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/StartClusterConfigurationUpgrade-1.json @@ -32,11 +32,9 @@ } ] } - } }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SubmitPropertyBatch-1.json index af100a680c95..da4ac83317d4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SubmitPropertyBatch-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SubmitPropertyBatch-1.json @@ -21,7 +21,13 @@ "PropertyName": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [1, 2, 3, 4, 5] + "Data": [ + 1, + 2, + 3, + 4, + 5 + ] }, "CustomTypeId": "InitializationData" }, @@ -35,8 +41,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Successful", "Properties": { @@ -55,8 +60,7 @@ } }, "409": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Failed", "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendApplicationBackup.json index 862c3b5387d8..9bb3da5e03aa 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendPartitionBackup.json index 74e24683205a..e34dfbeeead2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendPartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendPartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendServiceBackup.json index f39d03482610..212b0345344d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/SuspendServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateBackupPolicy.json index 5421b431a968..aed3191828a9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateBackupPolicy.json @@ -12,8 +12,8 @@ "ScheduleKind": "TimeBased", "ScheduleFrequencyType": "Daily", "RunTimes": [ - "0001-01-01T09:00:00Z", - "0001-01-01T17:00:00Z" + "0001-01-01T09:00:00Z", + "0001-01-01T17:00:00Z" ] }, "Storage": { @@ -22,10 +22,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json index 3a748e8e3e20..6d14c7ebe614 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json @@ -1,34 +1,34 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", - "parameters": { - "serviceId": "test~test1", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateless", - "Flags": "1568", - "PlacementConstraints": "Color==Red", - "DefaultMoveCost": "High", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.500000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 900 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 4, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", + "parameters": { + "serviceId": "test~test1", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateless", + "Flags": "1568", + "PlacementConstraints": "Color==Red", + "DefaultMoveCost": "High", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.500000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 900 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 4, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "200": {} + ] } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-2.json index 4329ddddf400..cdb1368dbdd6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-2.json @@ -1,17 +1,17 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", - "parameters": { - "serviceId": "test~test2", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateful", - "Flags": "40", - "PlacementConstraints": "Color==Green", - "StandByReplicaKeepDurationSeconds": "1000" - } - }, - "responses": { - "200": {} + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", + "parameters": { + "serviceId": "test~test2", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateful", + "Flags": "40", + "PlacementConstraints": "Color==Green", + "StandByReplicaKeepDurationSeconds": "1000" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json index 50671d0c5bc7..3838da5fbcfc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json @@ -25884,4 +25884,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-1.json index 83a821cf558d..2a7638588821 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-1.json @@ -7,7 +7,6 @@ "BackupPartitionDescription": {} }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-2.json index 0c5e27edc6d6..9aa037a4d490 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-2.json @@ -10,10 +10,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-3.json index 2e3c6d010b83..3d9ef05b08e4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/BackupPartition-3.json @@ -11,10 +11,9 @@ "PrimaryUserName": "mydomain\\backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateApplication-1.json index bccda97daa0e..815b59ce3e50 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateApplication-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateApplication-1.json @@ -10,7 +10,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-1.json index b2210fff6b8b..a2bb056ee6d0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-1.json @@ -26,10 +26,9 @@ "MinimumNumberOfBackups": 20, "RetentionDuration": "P3M" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-2.json index af61f734902c..f688def9e59e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateBackupPolicy-2.json @@ -26,7 +26,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateName-1.json index bde8440d7677..39588770e334 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateName-1.json @@ -8,7 +8,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json index c6186d87241b..88c214abd88c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json @@ -1,21 +1,21 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateless Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 4 - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateless Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 4 } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json index 8549e33566a4..b909e6c58b05 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json @@ -1,23 +1,23 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateful Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize": 2, - "HasPersistedState": false - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateful Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": false } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json index 5d7ea2bbafed..74461b9b5eef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json @@ -1,47 +1,47 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 2, - "PlacementConstraints": "Color==Blue", - "CorrelationScheme": [], - "ServiceLoadMetrics": [], - "ServicePlacementPolicies": [], - "DefaultMoveCost": "Low", - "IsDefaultMoveCostSpecified": true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ServiceDnsName": "test1.test", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.300000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 1, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 2, + "PlacementConstraints": "Color==Blue", + "CorrelationScheme": [], + "ServiceLoadMetrics": [], + "ServicePlacementPolicies": [], + "DefaultMoveCost": "Low", + "IsDefaultMoveCostSpecified": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ServiceDnsName": "test1.test", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.300000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 1, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json index 6201d55060d9..a83ca1445d09 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json @@ -1,44 +1,46 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "NamedPartitionSchemeDescription", - "Count" : 1, - "Names" : ["0"] - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize" : 2, - "HasPersistedState" : true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", - "LowerLoadThreshold": 500, - "UpperLoadThreshold": 900, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "AddRemoveIncrementalNamedPartition", - "MinPartitionCount": 1, - "MaxPartitionCount": 3, - "ScaleIncrement": 1 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "NamedPartitionSchemeDescription", + "Count": 1, + "Names": [ + "0" + ] + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AverageServiceLoad", + "MetricName": "servicefabric:\/_MemoryInMB", + "LowerLoadThreshold": 500, + "UpperLoadThreshold": 900, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "AddRemoveIncrementalNamedPartition", + "MinPartitionCount": 1, + "MaxPartitionCount": 3, + "ScaleIncrement": 1 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DeleteBackupPolicy.json index 734395ce32b1..d4796b5ede08 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DeleteBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DeleteBackupPolicy.json @@ -6,7 +6,6 @@ "backupPolicyName": "SampleBackupPolicy" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableApplicationBackup.json index bd8540b36fee..964fdaa8c3f3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisablePartitionBackup.json index b623b3e43f27..1f6cc6b32ed3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableServiceBackup.json index fe100058077b..14ca9acf4e25 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/DisableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableApplicationBackup.json index 2cd0f437db33..b0e24cd35f67 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnablePartitionBackup.json index 3daf064a898d..739bd06ce60e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableServiceBackup.json index bebbe3f6f9f6..0fe38fd714bc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/EnableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-1.json index 8141cd283aef..9f4e37d7fdf9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/DemoApp", - "Items": [ + "Items": [ { "EntityKind": "Application", "ApplicationName": "fabric:/CalcApp" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-2.json index b7fc80ecf216..18f3467fc9ed 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetAllEntitiesBackedUpByPolicy-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "EntityKind": "Service", "ServiceName": "fabric:/VotingApp/VotingActorService" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-1.json index 56a5d760f94a..3d396dbf082d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService", - "Items": [ + "Items": [ { "Kind": "Application", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-2.json index 506f8ec3cbc8..1ca86bee1983 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-1.json index df8b305698a5..bc89f402c6bd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ @@ -27,7 +26,7 @@ }, "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", "BackupType": "Full", - "ServiceManifestVersion":"1.0.0", + "ServiceManifestVersion": "1.0.0", "EpochOfLastBackupRecord": { "DataLossVersion": "131462452931584510", "ConfigurationVersion": "8589934592" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-2.json index 4bb4eb8152a0..adb11bc306b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-3.json index b21f672bf8e1..189ba7d18cbf 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-4.json index 49839d6d22d1..537af235a0e2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationEventList.json index f7be3e08c391..32bca288ae42 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-1.json index df1f287e4104..2ca46b64e3a4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-1.json @@ -7,11 +7,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", - "Items": [ + "Items": [ { "Id": "samples~CalculatorApp", "Name": "fabric:/samples/CalculatorApp", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-2.json index 7b5ab210e830..c0755d26e14b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-1.json index a230d74d2b54..bcb6a4e5e3b7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueApp+2.0", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-2.json index c02bd96ace75..a7c38cdedbe7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-3.json index 325dc1b5ca6d..473565e56c6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationTypeInfoList-3.json @@ -7,51 +7,50 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { "Name": "CalculatorApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "CalculatorApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "GatewayApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" } ] diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationsEventList.json index d21ba988e49c..fa65ec159120 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetApplicationsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyByName.json index 3b9df80414d6..411b836109b2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyByName.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyByName.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, @@ -34,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-1.json index c98bf5102ced..d4ac30f0658a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "FileShare10MinBackupPolicy", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-2.json index c0346ecc51fa..ad0e9a860ae4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupPolicyList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-1.json index 2bd4583d415f..6925de02aeb5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-1.json @@ -18,8 +18,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-2.json index f123c428fff8..190f318797ab 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetBackupsFromBackupLocation-2.json @@ -19,8 +19,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetChaosEvents.json index 3a486b6fe298..4e5d7bb0b4e3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetChaosEvents.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetChaosEvents.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "History": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterEventList.json index 78918cf57d29..3a122bb8aec0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ClusterUpgradeStarted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterVersion-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterVersion-1.json index 7d6eda2a23a6..fd3b6fbf55b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterVersion-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetClusterVersion-1.json @@ -6,8 +6,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Version": "6.4.514.9494" } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-1.json index 49a23ee30dc4..1be29fb8e6ef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-1.json @@ -10,11 +10,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "HTTP Server started listening on port 8080\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json index 0b1aec4546b8..669943a0d4cb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-3.json index 9809a8a2d740..2ca6cad4f774 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-3.json @@ -11,8 +11,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n" } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress-Running.json index c303852becce..90590fff4f2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress.json index 429c33c8f7b6..89d341f05c26 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDataLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeDataLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-1.json index 452ac7b15380..c19d4e2a841c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-2.json index 4bdb8b879f78..7f6320e69e6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-2.json @@ -8,20 +8,19 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { - "Id": "samples~VQueueApp1", - "Name": "fabric:/samples/VQueueApp1", - "TypeName": "VolatileQueueApp", - "Status": "Active", - "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", - "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", - "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", - "HealthState": "Unknown" + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Unknown" } ] } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-3.json index 0d1b40c1148a..01cad866d3c1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetDeployedApplicationInfoList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetFaultOperationList.json index 692f55108319..c7194dad614a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetFaultOperationList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetFaultOperationList.json @@ -8,46 +8,44 @@ }, "responses": { "200": { - "headers": { - }, - "body": - [ - { - "OperationId": "00000000-0000-0000-0000-000000000010", - "State": "Completed", - "Type": "PartitionDataLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000020", - "State": "Completed", - "Type": "PartitionQuorumLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000030", - "State": "Completed", - "Type": "PartitionRestart" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000500", - "State": "Faulted", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000700", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000710", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", - "State": "Completed", - "Type": "PartitionRestart" - } - ] + "headers": {}, + "body": [ + { + "OperationId": "00000000-0000-0000-0000-000000000010", + "State": "Completed", + "Type": "PartitionDataLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000020", + "State": "Completed", + "Type": "PartitionQuorumLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000030", + "State": "Completed", + "Type": "PartitionRestart" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000500", + "State": "Faulted", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000700", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000710", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", + "State": "Completed", + "Type": "PartitionRestart" + } + ] } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetImageStoreContent.json index 457cfd7986aa..7e912c407a79 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetImageStoreContent.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetImageStoreContent.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "StoreFiles": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeEventList.json index 73f1e60e4e3c..4368ae718d58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpenSucceeded", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-1.json index be0a9a5d9509..c494bff622c5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-1.json @@ -1,73 +1,72 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", - "parameters":{ - "api-version":"6.3", - "MaxResults":2 - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326", - "Items":[ - { - "Name":"_testnode_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"102016", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_testnode_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"105483", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", + "parameters": { + "api-version": "6.3", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326", + "Items": [ + { + "Name": "_testnode_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "102016", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_testnode_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "105483", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-2.json index fb689851f34d..79bbd1bf1af7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList-2.json @@ -1,100 +1,99 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3", - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326" - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101547", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15615", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19819", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", + "parameters": { + "api-version": "6.3", + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101547", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15615", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19819", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList.json index 4b6353a74314..d38a618440a9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeInfoList.json @@ -1,152 +1,152 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3" - }, - "responses":{ - "200":{ - "headers":{}, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15275", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_Node_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"18742", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - }, - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101168", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15236", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19440", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", + "parameters": { + "api-version": "6.3" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15275", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_Node_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "18742", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + }, + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101168", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15236", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19440", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress-Running.json index 64d4642700ea..62ad5c37ec58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress-Running.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress.json index 5ee8818ce76a..474ab826b8df 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodeTransitionProgress.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "NodeTransitionResult": { @@ -22,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodesEventList.json index 3445e66b19e1..7aed70b97f31 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetNodesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpenSucceeded", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupConfigurationInfo.json index 4ba53f251e26..dd97740de85f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupConfigurationInfo.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupConfigurationInfo.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-1.json index 84881cf2c134..2c5fb63a2bc3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-2.json index af84f7ccced2..cc627b382457 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-3.json index 7958dd62abdb..2cddad80321f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-4.json index 59d6333c7abd..c73aaece09c8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupProgress.json index f51653dcd2f7..9d0df23312a6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionBackupProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "BackupState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionEventList.json index dd72d489d8e5..bbfca06712e9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigured", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestartProgress.json index 4453caa242d6..074289b470a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestartProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestartProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "RestartPartitionResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestoreProgress.json index 4d15204cfe9c..da52d1a100b9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestoreProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionRestoreProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "RestoreState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -21,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionsEventList.json index 4e515bf4e57f..e49c5e402b00 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPartitionsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigured", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfo-1.json index fd0e63e316bf..ca5def4be2fb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfo-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "CalculatorAppData", "Value": { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-1.json index 9d4f74b46e80..5729c6a4e4a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -36,7 +35,6 @@ } } ] - } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-2.json index 405aeca605ff..6a172f23f09a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -33,7 +32,13 @@ "Name": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [6, 7, 8, 9, 10] + "Data": [ + 6, + 7, + 8, + 9, + 10 + ] }, "Metadata": { "TypeId": "Binary", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-3.json index 51a4fcb919b4..ce12465b6ce6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetPropertyInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress-Running.json index 059c51840fc9..203fb157db03 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress.json index 3e848d89bc8d..c86fd0d2b31d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetQuorumLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeQuorumLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicaEventList.json index 9f292eb30588..a3b517117bac 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicaEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicaEventList.json @@ -10,8 +10,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaNewHealthReport", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicasEventList.json index 9ec7e03e34ee..1d2e9212dfcc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicasEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetReplicasEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaNewHealthReport", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-1.json index 974a8131aef9..ab37c65b803f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d", - "Items": [ + "Items": [ { "Kind": "Service", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-2.json index 28c3db9277d0..76e7e948550d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-1.json index 6959a0cd07b8..b561b1b20f84 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-2.json index 375b4e105cab..df570db76649 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-3.json index 558040128c8f..5b162231a889 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-4.json index e756ddb87b80..7420d61aca49 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceEventList.json index b38adb0693d1..fdaa115873cd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServiceEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServicesEventList.json index 0b7046bc888e..2d5863180a5a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServicesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetServicesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-1.json index 3d315a557a9f..282319140d86 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-2.json index 6dbd9309980a..15391854f370 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-3.json index 3265fc8a3c13..bf07c9c58bc4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetSubNameInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionById.json index 21ce39b90dd9..c565a13cfcbc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionById.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionById.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionByPath.json index 82743551c7cb..8dc66b6d107d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionByPath.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetUploadSessionByPath.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi.json index cdaf407acf69..bfe285758eec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi.json @@ -1,27 +1,27 @@ { - "operationId": "InvokeContainerApi", - "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", - "parameters": { - "api-version": "6.2", - "nodeName": "Node01", - "applicationId": "samples/winnodejs", - "ServiceManifestName": "NodeServicePackage", - "CodePackageName": "NodeService.Code", - "CodePackageInstanceId": "131668159770315380", - "ContainerApiRequestBody": { - "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "ContainerApiResult": { - "Status": 200, - "Content-Type": "text/plain; charset=utf-8", - "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" - } - } + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "Node01", + "applicationId": "samples/winnodejs", + "ServiceManifestName": "NodeServicePackage", + "CodePackageName": "NodeService.Code", + "CodePackageInstanceId": "131668159770315380", + "ContainerApiRequestBody": { + "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "text/plain; charset=utf-8", + "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi_Post.json index 1af58111eb46..0042fd341de0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi_Post.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/InvokeContainerApi_Post.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-1.json index f2e3d3252d09..8eee209e7c7b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-1.json @@ -8,12 +8,18 @@ "PropertyName": "AppData", "Value": { "Kind": "Binary", - "Data": [0, 1, 2, 3, 4, 5] + "Data": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] } } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-2.json index 85713723d090..5db6a9ad77f7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/PutProperty-2.json @@ -14,7 +14,6 @@ } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/get.json index 312e3792ca45..bb373e90c328 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/get.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/list.json index 6d965820ecec..1fe9b30fb836 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/Replicas/list.json @@ -102,4 +102,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/get.json index f75d8fe37ce6..45224d3a66f8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/get.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/list.json index b819af670bf6..3df5e396c764 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/Services/list.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/create_update.json index 0f9fcd229229..576e23b9b8f8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/create_update.json @@ -78,4 +78,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/delete.json index a548ef13b131..b51511b0865d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/get.json index b9829b2b3cfb..09c0d7e15897 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/get.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/list.json index 7266fa64a8e9..77e1b1852a9b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Applications/list.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/create_update.json index 70174652dcf6..2ded194ec7cc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/create_update.json @@ -5,7 +5,7 @@ "api-version": "6.4-preview", "gatewayResourceName": "sampleGateway", "gatewayResourceDescription": { - "name": "sampleGateway", + "name": "sampleGateway", "properties": { "description": "Service Fabric Mesh sample gateway.", "sourceNetwork": { @@ -184,7 +184,7 @@ } ], "status": "Creating", - "ipAddress": "" + "ipAddress": "" } } }, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/delete.json index 4970189b8334..63ed69926752 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Gateways/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/create_update.json index 5d3c5fa5fd4a..faf2a3960b48 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/create_update.json @@ -38,4 +38,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/delete.json index 279ef9c5e465..aea2170b7316 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/get.json index 1e6810b720f7..1afaee298e7d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/get.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/list.json index 17f1be739309..6cf521d8582c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Networks/list.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/list.json index 3ea55d35b2b9..b46d7f8ff341 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/list.json @@ -16,7 +16,7 @@ "kind": "inlinedValue", "contentType": "text/plain", "description": "Mongo DB connection string for backend database!", - "status": "Ready" + "status": "Ready" } }, { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/create.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/create.json index fdc732de74b1..8cd0824452fd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/create.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/create.json @@ -29,8 +29,6 @@ } } }, - "202": { - } + "202": {} } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/delete.json index 19d0b8e234ac..ad4b3ef9540b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/delete.json @@ -1,6 +1,6 @@ { "operationId": "MeshSecretValue_Delete", - "description":"This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", + "description": "This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", "parameters": { "api-version": "6.4-preview", "secretResourceName": "dbConnectionString", @@ -12,4 +12,3 @@ "204": {} } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/get.json index cf221a2399db..a6491634ef44 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Secrets/values/get.json @@ -1,6 +1,6 @@ { "operationId": "MeshSecretValue_Get", - "description":"This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", + "description": "This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", "parameters": { "api-version": "6.4-preview", "secretResourceName": "dbConnectionString", @@ -11,10 +11,9 @@ "body": { "name": "v1", "properties": { - "value": null + "value": null } } } } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/create_update.json index 38f7e21cfe2f..a8dabbef9064 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/create_update.json @@ -49,4 +49,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/delete.json index cbe91046c7d2..efaa1f836ae1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/get.json index a14338981ff6..9d08f3b00a82 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/get.json @@ -16,7 +16,7 @@ "accountName": "sbzdemoaccount", "accountKey": null, "shareName": "sharel" - }, + }, "status": "Ready" } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/list.json index d780c41fe274..3bf83798904b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/Resources/Volumes/list.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/RestorePartition.json index 75eb2f15bbdc..1e97e0557113 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/RestorePartition.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/RestorePartition.json @@ -15,7 +15,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeApplicationBackup.json index 9bd11e91b899..b25a7ac545ec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumePartitionBackup.json index 50bfbdff95f4..feb701118438 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeServiceBackup.json index daa0878df285..9037dfa23d9e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/ResumeServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/StartClusterConfigurationUpgrade-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/StartClusterConfigurationUpgrade-1.json index bbb6034fc8e4..2f8fd59a474e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/StartClusterConfigurationUpgrade-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/StartClusterConfigurationUpgrade-1.json @@ -32,11 +32,9 @@ } ] } - } }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SubmitPropertyBatch-1.json index af100a680c95..da4ac83317d4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SubmitPropertyBatch-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SubmitPropertyBatch-1.json @@ -21,7 +21,13 @@ "PropertyName": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [1, 2, 3, 4, 5] + "Data": [ + 1, + 2, + 3, + 4, + 5 + ] }, "CustomTypeId": "InitializationData" }, @@ -35,8 +41,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Successful", "Properties": { @@ -55,8 +60,7 @@ } }, "409": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Failed", "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendApplicationBackup.json index 271b8ab320ef..75bdad71a95e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendPartitionBackup.json index 817ec8ff3960..b14619dd6fe8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendPartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendPartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendServiceBackup.json index b4df0c95acac..14d0575c509e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/SuspendServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateBackupPolicy.json index febfc611cfba..3129817ddb68 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateBackupPolicy.json @@ -24,13 +24,12 @@ }, "RetentionPolicy": { "RetentionPolicyType": "Basic", - "MinimumNumberOfBackups": 60, + "MinimumNumberOfBackups": 60, "RetentionDuration": "P30D" } - } + } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json index 3a748e8e3e20..6d14c7ebe614 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json @@ -1,34 +1,34 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", - "parameters": { - "serviceId": "test~test1", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateless", - "Flags": "1568", - "PlacementConstraints": "Color==Red", - "DefaultMoveCost": "High", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.500000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 900 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 4, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", + "parameters": { + "serviceId": "test~test1", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateless", + "Flags": "1568", + "PlacementConstraints": "Color==Red", + "DefaultMoveCost": "High", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.500000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 900 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 4, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "200": {} + ] } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-2.json index 4329ddddf400..cdb1368dbdd6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-2.json @@ -1,17 +1,17 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", - "parameters": { - "serviceId": "test~test2", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateful", - "Flags": "40", - "PlacementConstraints": "Color==Green", - "StandByReplicaKeepDurationSeconds": "1000" - } - }, - "responses": { - "200": {} + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", + "parameters": { + "serviceId": "test~test2", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateful", + "Flags": "40", + "PlacementConstraints": "Color==Green", + "StandByReplicaKeepDurationSeconds": "1000" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json index 83a821cf558d..2a7638588821 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-1.json @@ -7,7 +7,6 @@ "BackupPartitionDescription": {} }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json index 0c5e27edc6d6..9aa037a4d490 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-2.json @@ -10,10 +10,9 @@ "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "ContainerName": "BackupContainer" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json index 2e3c6d010b83..3d9ef05b08e4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/BackupPartition-3.json @@ -11,10 +11,9 @@ "PrimaryUserName": "mydomain\\backupaccount", "PrimaryPassword": "abcd1234" } - } + } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json index bccda97daa0e..815b59ce3e50 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateApplication-1.json @@ -10,7 +10,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json index b2210fff6b8b..a2bb056ee6d0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-1.json @@ -26,10 +26,9 @@ "MinimumNumberOfBackups": 20, "RetentionDuration": "P3M" } - } + } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json index af61f734902c..f688def9e59e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateBackupPolicy-2.json @@ -26,7 +26,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json index bde8440d7677..39588770e334 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateName-1.json @@ -8,7 +8,6 @@ } }, "responses": { - "201": { - } + "201": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json index c6186d87241b..88c214abd88c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json @@ -1,21 +1,21 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateless Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 4 - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateless Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 4 } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json index 8549e33566a4..b909e6c58b05 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json @@ -1,23 +1,23 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a basic stateful Service Fabric service.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize": 2, - "HasPersistedState": false - } - }, - "responses": { - "202": {} + "operationId": "CreateService", + "description": "This example shows how to create a basic stateful Service Fabric service.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": false } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json index 5d7ea2bbafed..74461b9b5eef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json @@ -1,47 +1,47 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", - "ServiceTypeName": "StatelessFrontendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "Singleton" - }, - "InstanceCount": 2, - "PlacementConstraints": "Color==Blue", - "CorrelationScheme": [], - "ServiceLoadMetrics": [], - "ServicePlacementPolicies": [], - "DefaultMoveCost": "Low", - "IsDefaultMoveCostSpecified": true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ServiceDnsName": "test1.test", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.300000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 1, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateless Service Fabric service with a dns name definied and auto scaling based on cpu usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateless", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test1", + "ServiceTypeName": "StatelessFrontendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "Singleton" + }, + "InstanceCount": 2, + "PlacementConstraints": "Color==Blue", + "CorrelationScheme": [], + "ServiceLoadMetrics": [], + "ServicePlacementPolicies": [], + "DefaultMoveCost": "Low", + "IsDefaultMoveCostSpecified": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ServiceDnsName": "test1.test", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.300000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 1, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json index 6201d55060d9..a83ca1445d09 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json @@ -1,44 +1,46 @@ { - "operationId": "CreateService", - "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", - "parameters": { - "applicationId": "test", - "api-version": "6.0", - "ServiceDescription": { - "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", - "ServiceTypeName": "StatefulBackendService", - "InitializationData": [], - "PartitionDescription": { - "PartitionScheme": "NamedPartitionSchemeDescription", - "Count" : 1, - "Names" : ["0"] - }, - "TargetReplicaSetSize": 3, - "MinReplicaSetSize" : 2, - "HasPersistedState" : true, - "ServicePackageActivationMode": "ExclusiveProcess", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", - "LowerLoadThreshold": 500, - "UpperLoadThreshold": 900, - "ScaleIntervalInSeconds": 600 - }, - "ScalingMechanism": { - "Kind": "AddRemoveIncrementalNamedPartition", - "MinPartitionCount": 1, - "MaxPartitionCount": 3, - "ScaleIncrement": 1 - } - } - ] + "operationId": "CreateService", + "description": "This example shows how to create a stateful Service Fabric service with named partitions and scaling enabled based on memory usage.", + "parameters": { + "applicationId": "test", + "api-version": "6.0", + "ServiceDescription": { + "ServiceKind": "Stateful", + "ApplicationName": "fabric:\/test", + "ServiceName": "fabric:\/test\/test2", + "ServiceTypeName": "StatefulBackendService", + "InitializationData": [], + "PartitionDescription": { + "PartitionScheme": "NamedPartitionSchemeDescription", + "Count": 1, + "Names": [ + "0" + ] + }, + "TargetReplicaSetSize": 3, + "MinReplicaSetSize": 2, + "HasPersistedState": true, + "ServicePackageActivationMode": "ExclusiveProcess", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AverageServiceLoad", + "MetricName": "servicefabric:\/_MemoryInMB", + "LowerLoadThreshold": 500, + "UpperLoadThreshold": 900, + "ScaleIntervalInSeconds": 600 + }, + "ScalingMechanism": { + "Kind": "AddRemoveIncrementalNamedPartition", + "MinPartitionCount": 1, + "MaxPartitionCount": 3, + "ScaleIncrement": 1 + } } - }, - "responses": { - "202": {} + ] } -} \ No newline at end of file + }, + "responses": { + "202": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json index 734395ce32b1..d4796b5ede08 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DeleteBackupPolicy.json @@ -6,7 +6,6 @@ "backupPolicyName": "SampleBackupPolicy" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json index bd8540b36fee..964fdaa8c3f3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json index b623b3e43f27..1f6cc6b32ed3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json index fe100058077b..14ca9acf4e25 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/DisableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json index 2cd0f437db33..b0e24cd35f67 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableApplicationBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json index 3daf064a898d..739bd06ce60e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnablePartitionBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json index bebbe3f6f9f6..0fe38fd714bc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/EnableServiceBackup.json @@ -9,7 +9,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json index 8141cd283aef..9f4e37d7fdf9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/DemoApp", - "Items": [ + "Items": [ { "EntityKind": "Application", "ApplicationName": "fabric:/CalcApp" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json index b7fc80ecf216..18f3467fc9ed 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetAllEntitiesBackedUpByPolicy-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "EntityKind": "Service", "ServiceName": "fabric:/VotingApp/VotingActorService" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json index 56a5d760f94a..3d396dbf082d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService", - "Items": [ + "Items": [ { "Kind": "Application", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json index 506f8ec3cbc8..1ca86bee1983 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json index df8b305698a5..bc89f402c6bd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ @@ -27,7 +26,7 @@ }, "BackupLocation": "CalcApp\\CalcService\\1daae3f5-7fd6-42e9-b1ba-8c05f873994d\\2018-01-01 09.00.55.zip", "BackupType": "Full", - "ServiceManifestVersion":"1.0.0", + "ServiceManifestVersion": "1.0.0", "EpochOfLastBackupRecord": { "DataLossVersion": "131462452931584510", "ConfigurationVersion": "8589934592" diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json index 4bb4eb8152a0..adb11bc306b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json index b21f672bf8e1..189ba7d18cbf 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json index 49839d6d22d1..537af235a0e2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json index f7be3e08c391..32bca288ae42 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json index df1f287e4104..2ca46b64e3a4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-1.json @@ -7,11 +7,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", - "Items": [ + "Items": [ { "Id": "samples~CalculatorApp", "Name": "fabric:/samples/CalculatorApp", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json index 7b5ab210e830..c0755d26e14b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json index a230d74d2b54..bcb6a4e5e3b7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueApp+2.0", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json index c02bd96ace75..a7c38cdedbe7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json index 325dc1b5ca6d..473565e56c6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationTypeInfoList-3.json @@ -7,51 +7,50 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { "Name": "CalculatorApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "CalculatorApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "GatewayApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "PersistentQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "1.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" }, { "Name": "VolatileQueueApp", "Version": "2.0", - "DefaultParameterList": [ ], + "DefaultParameterList": [], "Status": "Available" } ] diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json index d21ba988e49c..fa65ec159120 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetApplicationsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ApplicationCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json index 3b9df80414d6..411b836109b2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyByName.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "DailyAzureBackupPolicy", "AutoRestoreOnDataLoss": false, @@ -34,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json index c98bf5102ced..d4ac30f0658a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "FileShare10MinBackupPolicy", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json index c0346ecc51fa..ad0e9a860ae4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupPolicyList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json index 2bd4583d415f..6925de02aeb5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-1.json @@ -18,8 +18,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json index f123c428fff8..190f318797ab 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetBackupsFromBackupLocation-2.json @@ -19,8 +19,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json index 3a486b6fe298..4e5d7bb0b4e3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetChaosEvents.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "History": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json index 78918cf57d29..3a122bb8aec0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ClusterUpgradeStarted", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json index 7d6eda2a23a6..fd3b6fbf55b8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetClusterVersion-1.json @@ -6,8 +6,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Version": "6.4.514.9494" } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json index 49a23ee30dc4..1be29fb8e6ef 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-1.json @@ -10,11 +10,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "HTTP Server started listening on port 8080\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json index 0b1aec4546b8..669943a0d4cb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json @@ -11,11 +11,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json index 9809a8a2d740..2ca6cad4f774 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-3.json @@ -11,8 +11,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Content": "Exception encountered: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).\r\n\tat System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n" } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json index c303852becce..90590fff4f2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json index 429c33c8f7b6..89d341f05c26 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDataLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeDataLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json index 452ac7b15380..c19d4e2a841c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/samples/PQueueApp1", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json index 4bdb8b879f78..7f6320e69e6d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-2.json @@ -8,20 +8,19 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ { - "Id": "samples~VQueueApp1", - "Name": "fabric:/samples/VQueueApp1", - "TypeName": "VolatileQueueApp", - "Status": "Active", - "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", - "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", - "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", - "HealthState": "Unknown" + "Id": "samples~VQueueApp1", + "Name": "fabric:/samples/VQueueApp1", + "TypeName": "VolatileQueueApp", + "Status": "Active", + "WorkDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\work", + "LogDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\log", + "TempDirectory": "C:\\SfDevCluster\\Data\\_App\\_Node_0\\VolatileQueueApp_App2\\temp", + "HealthState": "Unknown" } ] } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json index 0d1b40c1148a..01cad866d3c1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetDeployedApplicationInfoList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json index 692f55108319..c7194dad614a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetFaultOperationList.json @@ -8,46 +8,44 @@ }, "responses": { "200": { - "headers": { - }, - "body": - [ - { - "OperationId": "00000000-0000-0000-0000-000000000010", - "State": "Completed", - "Type": "PartitionDataLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000020", - "State": "Completed", - "Type": "PartitionQuorumLoss" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000030", - "State": "Completed", - "Type": "PartitionRestart" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000500", - "State": "Faulted", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000700", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "00000000-0000-0000-0000-000000000710", - "State": "Completed", - "Type": "NodeTransition" - }, - { - "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", - "State": "Completed", - "Type": "PartitionRestart" - } - ] + "headers": {}, + "body": [ + { + "OperationId": "00000000-0000-0000-0000-000000000010", + "State": "Completed", + "Type": "PartitionDataLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000020", + "State": "Completed", + "Type": "PartitionQuorumLoss" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000030", + "State": "Completed", + "Type": "PartitionRestart" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000500", + "State": "Faulted", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000700", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "00000000-0000-0000-0000-000000000710", + "State": "Completed", + "Type": "NodeTransition" + }, + { + "OperationId": "88ef90f9-0b94-46b0-b817-a6ea20c07f8a", + "State": "Completed", + "Type": "PartitionRestart" + } + ] } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json index 457cfd7986aa..7e912c407a79 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetImageStoreContent.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "StoreFiles": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json index 73f1e60e4e3c..4368ae718d58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpenSucceeded", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json index be0a9a5d9509..c494bff622c5 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-1.json @@ -1,73 +1,72 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", - "parameters":{ - "api-version":"6.3", - "MaxResults":2 - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326", - "Items":[ - { - "Name":"_testnode_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"102016", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_testnode_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"105483", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about the nodes in the cluster when the number of results returned is limited by the MaxResults parameter.", + "parameters": { + "api-version": "6.3", + "MaxResults": 2 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326", + "Items": [ + { + "Name": "_testnode_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "102016", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_testnode_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "105483", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json index fb689851f34d..79bbd1bf1af7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList-2.json @@ -1,100 +1,99 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3", - "ContinuationToken":"2acb9f55540659b1c95f27cc128ab326" - }, - "responses":{ - "200":{ - "headers":{ - }, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101547", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15615", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19819", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about nodes in the cluster which appear on a sequential page, by using the ContinuationToken parameter.", + "parameters": { + "api-version": "6.3", + "ContinuationToken": "2acb9f55540659b1c95f27cc128ab326" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101547", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15615", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19819", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json index 4b6353a74314..d38a618440a9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeInfoList.json @@ -1,152 +1,152 @@ { - "operationId":"GetNodeInfoList", - "description":"This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", - "parameters":{ - "api-version":"6.3" - }, - "responses":{ - "200":{ - "headers":{}, - "body":{ - "ContinuationToken":"", - "Items":[ - { - "Name":"_Node_1", - "IpAddressOrFQDN":"10.0.0.5", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15275", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"1", - "FaultDomain":"fd:/1", - "Id":{ - "Id":"ebd986a1134b3643a8117fb41b259bf" - }, - "InstanceId":"131738274982501335", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:31:39.842Z", - "NodeDownAt":"2018-06-18T20:31:37.374Z" - }, - { - "Name":"_Node_0", - "IpAddressOrFQDN":"10.0.0.4", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"18742", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"0", - "FaultDomain":"fd:/0", - "Id":{ - "Id":"2acb9f55540659b1c95f27cc128ab326" - }, - "InstanceId":"131738240209152398", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:33:52.944Z", - "NodeDownAt":"2018-06-18T19:33:39.514Z" - }, - { - "Name":"_Node_4", - "IpAddressOrFQDN":"10.0.0.8", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"101168", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"4", - "FaultDomain":"fd:/4", - "Id":{ - "Id":"ba9383d728221add7fa996bf67b757fb" - }, - "InstanceId":"131737415865259763", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-17T20:40:07.378Z", - "NodeDownAt":"2018-06-17T20:33:11.877Z" - }, - { - "Name":"_Node_3", - "IpAddressOrFQDN":"10.0.0.7", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"15236", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"3", - "FaultDomain":"fd:/3", - "Id":{ - "Id":"d6a18a0935a3e39aeae2a049eb97255d" - }, - "InstanceId":"131738275300526952", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T20:32:18.884Z", - "NodeDownAt":"2018-06-18T20:31:59.128Z" - }, - { - "Name":"_Node_2", - "IpAddressOrFQDN":"10.0.0.6", - "Type":"testnode", - "CodeVersion":"6.3.139.9494", - "ConfigVersion":"5", - "NodeStatus":"Up", - "NodeUpTimeInSeconds":"19440", - "HealthState":"Ok", - "IsSeedNode":true, - "UpgradeDomain":"2", - "FaultDomain":"fd:/2", - "Id":{ - "Id":"f2af91e5e9c8254dedb75b1424a9e3fc" - }, - "InstanceId":"131738233282843485", - "NodeDeactivationInfo":{ - "NodeDeactivationIntent":"Invalid", - "NodeDeactivationStatus":"None", - "NodeDeactivationTask":[], - "PendingSafetyChecks":[] - }, - "IsStopped":false, - "NodeDownTimeInSeconds":"0", - "NodeUpAt":"2018-06-18T19:22:15.272Z", - "NodeDownAt":"2018-06-18T19:22:02.740Z" - } - ] - } + "operationId": "GetNodeInfoList", + "description": "This example shows how to get information about all the nodes in the cluster when the information fits in a single response message without the need for paging through ContinuationToken parameter.", + "parameters": { + "api-version": "6.3" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContinuationToken": "", + "Items": [ + { + "Name": "_Node_1", + "IpAddressOrFQDN": "10.0.0.5", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15275", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "1", + "FaultDomain": "fd:/1", + "Id": { + "Id": "ebd986a1134b3643a8117fb41b259bf" + }, + "InstanceId": "131738274982501335", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:31:39.842Z", + "NodeDownAt": "2018-06-18T20:31:37.374Z" + }, + { + "Name": "_Node_0", + "IpAddressOrFQDN": "10.0.0.4", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "18742", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "0", + "FaultDomain": "fd:/0", + "Id": { + "Id": "2acb9f55540659b1c95f27cc128ab326" + }, + "InstanceId": "131738240209152398", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:33:52.944Z", + "NodeDownAt": "2018-06-18T19:33:39.514Z" + }, + { + "Name": "_Node_4", + "IpAddressOrFQDN": "10.0.0.8", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "101168", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "4", + "FaultDomain": "fd:/4", + "Id": { + "Id": "ba9383d728221add7fa996bf67b757fb" + }, + "InstanceId": "131737415865259763", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-17T20:40:07.378Z", + "NodeDownAt": "2018-06-17T20:33:11.877Z" + }, + { + "Name": "_Node_3", + "IpAddressOrFQDN": "10.0.0.7", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "15236", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "3", + "FaultDomain": "fd:/3", + "Id": { + "Id": "d6a18a0935a3e39aeae2a049eb97255d" + }, + "InstanceId": "131738275300526952", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T20:32:18.884Z", + "NodeDownAt": "2018-06-18T20:31:59.128Z" + }, + { + "Name": "_Node_2", + "IpAddressOrFQDN": "10.0.0.6", + "Type": "testnode", + "CodeVersion": "6.3.139.9494", + "ConfigVersion": "5", + "NodeStatus": "Up", + "NodeUpTimeInSeconds": "19440", + "HealthState": "Ok", + "IsSeedNode": true, + "UpgradeDomain": "2", + "FaultDomain": "fd:/2", + "Id": { + "Id": "f2af91e5e9c8254dedb75b1424a9e3fc" + }, + "InstanceId": "131738233282843485", + "NodeDeactivationInfo": { + "NodeDeactivationIntent": "Invalid", + "NodeDeactivationStatus": "None", + "NodeDeactivationTask": [], + "PendingSafetyChecks": [] + }, + "IsStopped": false, + "NodeDownTimeInSeconds": "0", + "NodeUpAt": "2018-06-18T19:22:15.272Z", + "NodeDownAt": "2018-06-18T19:22:02.740Z" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json index 64d4642700ea..62ad5c37ec58 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress-Running.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json index 5ee8818ce76a..474ab826b8df 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodeTransitionProgress.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "NodeTransitionResult": { @@ -22,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json index 3445e66b19e1..7aed70b97f31 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetNodesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "NodeOpenSucceeded", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json index 4ba53f251e26..dd97740de85f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupConfigurationInfo.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Partition", "PolicyName": "BackupPolicy2", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json index 84881cf2c134..2c5fb63a2bc3 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json index af84f7ccced2..cc627b382457 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json index 7958dd62abdb..2cddad80321f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json index 59d6333c7abd..c73aaece09c8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json index f51653dcd2f7..9d0df23312a6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionBackupProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "BackupState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json index dd72d489d8e5..bbfca06712e9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigured", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json index 4453caa242d6..074289b470a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestartProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "RestartPartitionResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json index 4d15204cfe9c..da52d1a100b9 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionRestoreProgress.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "RestoreState": "Success", "TimeStampUtc": "2018-01-01T09:00:55Z", @@ -21,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json index 4e515bf4e57f..e49c5e402b00 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPartitionsEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "PartitionReconfigured", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json index fd0e63e316bf..ca5def4be2fb 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfo-1.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Name": "CalculatorAppData", "Value": { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json index 9d4f74b46e80..5729c6a4e4a2 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -36,7 +35,6 @@ } } ] - } } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json index 405aeca605ff..6a172f23f09a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "PersistentQueueAppData$131439231986491349", "IsConsistent": true, @@ -33,7 +32,13 @@ "Name": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [6, 7, 8, 9, 10] + "Data": [ + 6, + 7, + 8, + 9, + 10 + ] }, "Metadata": { "TypeId": "Binary", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json index 51a4fcb919b4..ce12465b6ce6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetPropertyInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json index 059c51840fc9..203fb157db03 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress-Running.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Running" } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json index 3e848d89bc8d..c86fd0d2b31d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetQuorumLossProgress.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "State": "Completed", "InvokeQuorumLossResult": { @@ -23,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json index 9f292eb30588..a3b517117bac 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicaEventList.json @@ -10,8 +10,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaNewHealthReport", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json index 9ec7e03e34ee..1d2e9212dfcc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetReplicasEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "StatefulReplicaNewHealthReport", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json index 974a8131aef9..ab37c65b803f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-1.json @@ -8,11 +8,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d", - "Items": [ + "Items": [ { "Kind": "Service", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json index 28c3db9277d0..76e7e948550d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupConfigurationInfo-2.json @@ -9,11 +9,10 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", - "Items": [ + "Items": [ { "Kind": "Partition", "PolicyName": "BackupPolicy1", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json index 6959a0cd07b8..b561b1b20f84 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-1.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json index 375b4e105cab..df570db76649 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json index 558040128c8f..5b162231a889 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-3.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "fabric:/CalcApp/CalcService#1daae3f5-7fd6-42e9-b1ba-8c05f873994d#7903dc2a-228d-44b0-b7c8-a13a6c9b46bd", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json index e756ddb87b80..7420d61aca49 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceBackupList-4.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "Items": [ diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json index b38adb0693d1..fdaa115873cd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServiceEventList.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json index 0b7046bc888e..2d5863180a5a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetServicesEventList.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": [ { "Kind": "ServiceCreated", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json index 3d315a557a9f..282319140d86 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-1.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json index 6dbd9309980a..15391854f370 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-2.json @@ -8,8 +8,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json index 3265fc8a3c13..bf07c9c58bc4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetSubNameInfoList-3.json @@ -9,8 +9,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "ContinuationToken": "", "IsConsistent": true, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json index 21ce39b90dd9..c565a13cfcbc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionById.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json index 82743551c7cb..8dc66b6d107d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetUploadSessionByPath.json @@ -7,8 +7,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "UploadSessions": [ { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json index cdaf407acf69..bfe285758eec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi.json @@ -1,27 +1,27 @@ { - "operationId": "InvokeContainerApi", - "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", - "parameters": { - "api-version": "6.2", - "nodeName": "Node01", - "applicationId": "samples/winnodejs", - "ServiceManifestName": "NodeServicePackage", - "CodePackageName": "NodeService.Code", - "CodePackageInstanceId": "131668159770315380", - "ContainerApiRequestBody": { - "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "ContainerApiResult": { - "Status": 200, - "Content-Type": "text/plain; charset=utf-8", - "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" - } - } + "operationId": "InvokeContainerApi", + "description": "This example shows how to call container API with HTTP GET for a code package deployed on a node.", + "parameters": { + "api-version": "6.2", + "nodeName": "Node01", + "applicationId": "samples/winnodejs", + "ServiceManifestName": "NodeServicePackage", + "CodePackageName": "NodeService.Code", + "CodePackageInstanceId": "131668159770315380", + "ContainerApiRequestBody": { + "UriPath": "/containers/{id}/logs?stdout=true&stderr=true" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "ContainerApiResult": { + "Status": 200, + "Content-Type": "text/plain; charset=utf-8", + "Body": "vEthernet (Container NIC ec5c19b2) 172.17.201.44\n" } + } } -} \ No newline at end of file + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json index 1af58111eb46..0042fd341de0 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/InvokeContainerApi_Post.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json index f2e3d3252d09..8eee209e7c7b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-1.json @@ -8,12 +8,18 @@ "PropertyName": "AppData", "Value": { "Kind": "Binary", - "Data": [0, 1, 2, 3, 4, 5] + "Data": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] } } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json index 85713723d090..5db6a9ad77f7 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/PutProperty-2.json @@ -14,7 +14,6 @@ } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json index 312e3792ca45..bb373e90c328 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/get.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json index 6d965820ecec..1fe9b30fb836 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/Replicas/list.json @@ -102,4 +102,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json index f75d8fe37ce6..45224d3a66f8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/get.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json index b819af670bf6..3df5e396c764 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/Services/list.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json index 70ba7139bddb..0314b476a55a 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/create_update.json @@ -134,6 +134,6 @@ } } }, - "202": { } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json index a548ef13b131..b51511b0865d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json index 8d7ec34cf29a..208ccd280bbd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/get.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json index 87535e0f53a9..2f34f40e3488 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Applications/list.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json index 70174652dcf6..2ded194ec7cc 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/create_update.json @@ -5,7 +5,7 @@ "api-version": "6.4-preview", "gatewayResourceName": "sampleGateway", "gatewayResourceDescription": { - "name": "sampleGateway", + "name": "sampleGateway", "properties": { "description": "Service Fabric Mesh sample gateway.", "sourceNetwork": { @@ -184,7 +184,7 @@ } ], "status": "Creating", - "ipAddress": "" + "ipAddress": "" } } }, diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json index 4970189b8334..63ed69926752 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Gateways/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json index 5d3c5fa5fd4a..faf2a3960b48 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/create_update.json @@ -38,4 +38,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json index 279ef9c5e465..aea2170b7316 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json index 1e6810b720f7..1afaee298e7d 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/get.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json index 17f1be739309..6cf521d8582c 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Networks/list.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json index 3ea55d35b2b9..b46d7f8ff341 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/list.json @@ -16,7 +16,7 @@ "kind": "inlinedValue", "contentType": "text/plain", "description": "Mongo DB connection string for backend database!", - "status": "Ready" + "status": "Ready" } }, { diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json index fdc732de74b1..8cd0824452fd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/create.json @@ -29,8 +29,6 @@ } } }, - "202": { - } + "202": {} } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json index 19d0b8e234ac..ad4b3ef9540b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/delete.json @@ -1,6 +1,6 @@ { "operationId": "MeshSecretValue_Delete", - "description":"This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", + "description": "This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", "parameters": { "api-version": "6.4-preview", "secretResourceName": "dbConnectionString", @@ -12,4 +12,3 @@ "204": {} } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json index cf221a2399db..a6491634ef44 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Secrets/values/get.json @@ -1,6 +1,6 @@ { "operationId": "MeshSecretValue_Get", - "description":"This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", + "description": "This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use ListMeshSecretValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", "parameters": { "api-version": "6.4-preview", "secretResourceName": "dbConnectionString", @@ -11,10 +11,9 @@ "body": { "name": "v1", "properties": { - "value": null + "value": null } } } } } - diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json index 38f7e21cfe2f..a8dabbef9064 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/create_update.json @@ -49,4 +49,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json index cbe91046c7d2..efaa1f836ae1 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/delete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json index a14338981ff6..9d08f3b00a82 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/get.json @@ -16,7 +16,7 @@ "accountName": "sbzdemoaccount", "accountKey": null, "shareName": "sharel" - }, + }, "status": "Ready" } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json index d780c41fe274..3bf83798904b 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/Resources/Volumes/list.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json index 75eb2f15bbdc..1e97e0557113 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/RestorePartition.json @@ -15,7 +15,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json index 9bd11e91b899..b25a7ac545ec 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json index 50bfbdff95f4..feb701118438 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumePartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json index daa0878df285..9037dfa23d9e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/ResumeServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json index bbb6034fc8e4..2f8fd59a474e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/StartClusterConfigurationUpgrade-1.json @@ -32,11 +32,9 @@ } ] } - } }, "responses": { - "202": { - } + "202": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json index af100a680c95..da4ac83317d4 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SubmitPropertyBatch-1.json @@ -21,7 +21,13 @@ "PropertyName": "PersistentQueueAppData", "Value": { "Kind": "Binary", - "Data": [1, 2, 3, 4, 5] + "Data": [ + 1, + 2, + 3, + 4, + 5 + ] }, "CustomTypeId": "InitializationData" }, @@ -35,8 +41,7 @@ }, "responses": { "200": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Successful", "Properties": { @@ -55,8 +60,7 @@ } }, "409": { - "headers": { - }, + "headers": {}, "body": { "Kind": "Failed", "ErrorMessage": "FABRIC_E_PROPERTY_CHECK_FAILED", diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json index 271b8ab320ef..75bdad71a95e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendApplicationBackup.json @@ -6,7 +6,6 @@ "applicationId": "CalcApp" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json index 817ec8ff3960..b14619dd6fe8 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendPartitionBackup.json @@ -6,7 +6,6 @@ "partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json index b4df0c95acac..14d0575c509e 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/SuspendServiceBackup.json @@ -6,7 +6,6 @@ "serviceId": "CalcApp/CalcService" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json index febfc611cfba..3129817ddb68 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateBackupPolicy.json @@ -24,13 +24,12 @@ }, "RetentionPolicy": { "RetentionPolicyType": "Basic", - "MinimumNumberOfBackups": 60, + "MinimumNumberOfBackups": 60, "RetentionDuration": "P30D" } - } + } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json index 3a748e8e3e20..6d14c7ebe614 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json @@ -1,34 +1,34 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", - "parameters": { - "serviceId": "test~test1", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateless", - "Flags": "1568", - "PlacementConstraints": "Color==Red", - "DefaultMoveCost": "High", - "ScalingPolicies": [ - { - "ScalingTrigger": { - "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", - "LowerLoadThreshold": 0.500000, - "UpperLoadThreshold": 0.800000, - "ScaleIntervalInSeconds": 900 - }, - "ScalingMechanism": { - "Kind": "PartitionInstanceCount", - "MinInstanceCount": 4, - "MaxInstanceCount": 6, - "ScaleIncrement": 2 - } - } - ] + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateless Service Fabric service.", + "parameters": { + "serviceId": "test~test1", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateless", + "Flags": "1568", + "PlacementConstraints": "Color==Red", + "DefaultMoveCost": "High", + "ScalingPolicies": [ + { + "ScalingTrigger": { + "Kind": "AveragePartitionLoad", + "MetricName": "servicefabric:\/_CpuCores", + "LowerLoadThreshold": 0.500000, + "UpperLoadThreshold": 0.800000, + "ScaleIntervalInSeconds": 900 + }, + "ScalingMechanism": { + "Kind": "PartitionInstanceCount", + "MinInstanceCount": 4, + "MaxInstanceCount": 6, + "ScaleIncrement": 2 + } } - }, - "responses": { - "200": {} + ] } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json index 4329ddddf400..cdb1368dbdd6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-2.json @@ -1,17 +1,17 @@ { - "operationId": "UpdateService", - "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", - "parameters": { - "serviceId": "test~test2", - "api-version": "6.0", - "ServiceUpdateDescription": { - "ServiceKind": "Stateful", - "Flags": "40", - "PlacementConstraints": "Color==Green", - "StandByReplicaKeepDurationSeconds": "1000" - } - }, - "responses": { - "200": {} + "operationId": "UpdateService", + "description": "This example shows how to update placement and load balancing related settings of a stateful Service Fabric service.", + "parameters": { + "serviceId": "test~test2", + "api-version": "6.0", + "ServiceUpdateDescription": { + "ServiceKind": "Stateful", + "Flags": "40", + "PlacementConstraints": "Color==Green", + "StandByReplicaKeepDurationSeconds": "1000" } -} \ No newline at end of file + }, + "responses": { + "200": {} + } +} diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json index 4c88efaa8a5d..44be8a3e50c6 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/servicefabric.json @@ -27499,4 +27499,4 @@ "description": "The identity of the gateway." } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json index 5bbfab222559..606b0aa6df7a 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json @@ -2138,4 +2138,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json index 7c9b51fb0f45..22fc362e1fe9 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json @@ -2254,4 +2254,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json index bde45d8c7bd2..d2d8c769a12e 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json @@ -2196,4 +2196,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json index 881f3e53fab2..e674cfcc9652 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json @@ -1531,4 +1531,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/examples/ClusterPutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/examples/ClusterPutOperation_example_max.json index f360edb30a13..c44bb8c331f9 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/examples/ClusterPutOperation_example_max.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/examples/ClusterPutOperation_example_max.json @@ -448,4 +448,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterDeleteOperation_example.json index 43b4e50c4489..2275f5070f8d 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterDeleteOperation_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterDeleteOperation_example.json @@ -7,6 +7,6 @@ }, "responses": { "200": {}, - "204":{} + "204": {} } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterGetOperation_example.json index 8dec6391d607..a27c8d9eec22 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterGetOperation_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterGetOperation_example.json @@ -164,4 +164,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json index 479f2e87b2ca..e1e369001876 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListByResourceGroupOperation_example.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListOperation_example.json index c1dcfbad779a..6a2a5b096e7c 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListOperation_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterListOperation_example.json @@ -241,4 +241,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json index 428c84350920..cb5974e0161e 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPatchOperation_example.json @@ -29,7 +29,7 @@ } }, "responses": { - "202":{}, + "202": {}, "200": { "headers": {}, "body": { @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json index 66e218bc6f1a..d96cb06897b5 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_max.json @@ -268,4 +268,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json index f497e005e9a9..f276e5ac1531 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterPutOperation_example_min.json @@ -46,7 +46,7 @@ } }, "responses": { - "202":{}, + "202": {}, "200": { "headers": {}, "body": { @@ -195,4 +195,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsGet_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsGet_example.json index c627e2e657fc..2844084881d8 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsGet_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsGet_example.json @@ -10,13 +10,13 @@ "200": { "headers": {}, "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/westus/environments/Windows/clusterVersions/5.6.210.9494", - "name": "5.6.210.9494", - "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", - "properties": { - "codeVersion": "5.6.210.9494", - "supportExpiryUtc": "9999-12-31T23:59:59.9999999", - "environment": "Windows" + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/westus/environments/Windows/clusterVersions/5.6.210.9494", + "name": "5.6.210.9494", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "5.6.210.9494", + "supportExpiryUtc": "9999-12-31T23:59:59.9999999", + "environment": "Windows" } } } diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByEnvironment_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByEnvironment_example.json index 3071a9975a0e..478a87b58694 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByEnvironment_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByEnvironment_example.json @@ -94,4 +94,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByVersion_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByVersion_example.json index c37fa62c35d9..da41071dade5 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByVersion_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsListByVersion_example.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsList_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsList_example.json index ffa714bef00d..474656856650 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsList_example.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/examples/ClusterVersionsList_example.json @@ -143,4 +143,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json index 7d46d7cd8769..effe1214dbed 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json @@ -1518,4 +1518,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/examples/ClusterPutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/examples/ClusterPutOperation_example_max.json index dfef2314dceb..6d9a22da548f 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/examples/ClusterPutOperation_example_max.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/examples/ClusterPutOperation_example_max.json @@ -443,4 +443,4 @@ } } } -} \ No newline at end of file +} From 5711e644986f30111f19a3bf51a74d25f50916ac Mon Sep 17 00:00:00 2001 From: srvar <51214439+srvar@users.noreply.github.com> Date: Thu, 20 Jun 2019 16:35:31 -0700 Subject: [PATCH 118/495] Update compute.json to include hyperVGeneration property for VirtualMachineInstanceView (#6367) Adds hyperVGeneration which displays what HyperVisor Generation the VM Boots in, via the VirtualMachineInstanceView. --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 51d4f34f7ce6..fab6b534f1e8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -6410,6 +6410,18 @@ "type": "string", "description": "The version of Operating System running on the virtual machine." }, + "hyperVGeneration": { + "type": "string", + "description": "Specifies the HyperVGeneration Type associated with a resource", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "HyperVGenerationType", + "modelAsString": true + } + }, "rdpThumbPrint": { "type": "string", "description": "The Remote desktop certificate thumbprint." From f349d1c91fa265937f7d3138c87f5d88f7eb6240 Mon Sep 17 00:00:00 2001 From: gautam714 Date: Thu, 20 Jun 2019 17:09:26 -0700 Subject: [PATCH 119/495] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2018-06-01 (#6368) * Task 4669505: RI renewal: ARM swagger update. * FW: Fixed unnecessary required field on renew property * FW: Fixes based on comments * FW: Fixes based on comments * FW: Fix for the validator * FW: Fixed validator issue * FW: Update on RI-auto renewal * Fixed for 2 space indentation --- .../examples/GetReservationDetails.json | 27 +++++++- .../2019-04-01/examples/GetReservations.json | 8 +++ .../examples/MergeReservations.json | 6 ++ .../examples/PurchaseReservationOrder.json | 3 +- .../2019-04-01/examples/SplitReservation.json | 6 ++ .../examples/UpdateReservation.json | 2 + .../preview/2019-04-01/reservations.json | 69 ++++++++++++++++++- 7 files changed, 118 insertions(+), 3 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json index 52d4ce3be960..595ff8bff4b5 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json @@ -2,7 +2,8 @@ "parameters": { "api-version": "2019-04-01", "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", - "reservationId": "6ef59113-3482-40da-8d79-787f823e34bc" + "reservationId": "6ef59113-3482-40da-8d79-787f823e34bc", + "expand": "renewProperties" }, "responses": { "200": { @@ -19,6 +20,10 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "renewSource": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7", + "renewDestination": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7", + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 3, "provisioningState": "Succeeded", @@ -34,6 +39,26 @@ "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7", "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/e0e4b4f5-77ea-4984-9ee4-6bf9850ee6de" ] + }, + "renewProperties": { + "purchaseProperties": { + "sku": { + "name": "Standard_D1" + }, + "location": "westus", + "properties": { + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", + "term": "P1Y", + "quantity": 2, + "displayName": "Renew_Test_0618", + "appliedScopeType": "Shared", + "reservedResourceType": "VirtualMachines", + "reservedResourceProperties": { + "instanceFlexibility": "On" + }, + "renew": false + } + } } } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json index 5745858df555..7d4e8a335f80 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json @@ -20,6 +20,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 3, "provisioningState": "Cancelled", @@ -55,6 +57,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 1, "provisioningState": "Cancelled", @@ -90,6 +94,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 2, "provisioningState": "Cancelled", @@ -125,6 +131,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 3, "provisioningState": "Succeeded", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json index ea78ed11b968..80f863f7311b 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json @@ -27,6 +27,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 1, "provisioningState": "Cancelled", @@ -62,6 +64,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 2, "provisioningState": "Cancelled", @@ -97,6 +101,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 3, "provisioningState": "Succeeded", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json index c13d39b127c2..7ca424b72af8 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json @@ -17,7 +17,8 @@ "appliedScopeType": "Shared", "reservedResourceProperties": { "instanceFlexibility": "On" - } + }, + "renew": false } } }, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json index 281a964f20fe..84d3c0db51ae 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json @@ -28,6 +28,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 1, "provisioningState": "Succeeded", @@ -56,6 +58,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 2, "provisioningState": "Succeeded", @@ -84,6 +88,8 @@ "appliedScopes": [ "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3" ], + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", "quantity": 3, "provisioningState": "Cancelled", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json index 5e6625876ed0..4a9084369241 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json @@ -23,6 +23,8 @@ "location": "eastus", "properties": { "appliedScopeType": "Shared", + "renew": false, + "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "quantity": 3, "provisioningState": "Succeeded", "expiryDate": "2018-09-22", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index e4e14bdfd8c3..29e1fe8faed0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -421,10 +421,13 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ExpandRenewPropertiesParameter" } ], "tags": [ - "Reservation" + "Reservation" ], "responses": { "200": { @@ -853,6 +856,26 @@ } } }, + "RenewPropertiesResponse": { + "type": "object", + "properties": { + "purchaseProperties": { + "$ref": "#/definitions/PurchaseRequest" + }, + "lockedPriceTotal": { + "type": "object", + "description": "Locked currency & amount for new reservation purchase at the time of renewal. Price is locked 30 days before expiry date time if renew is true.", + "properties": { + "currencyCode": { + "type": "string" + }, + "amount": { + "type": "string" + } + } + } + } + }, "CalculatePriceResponse": { "type": "object", "properties": { @@ -960,6 +983,23 @@ }, "mergeProperties": { "$ref": "#/definitions/ReservationMergeProperties" + }, + "billingScopeId": { + "$ref": "#/definitions/BillingScopeId" + }, + "renew": { + "$ref": "#/definitions/Renew" + }, + "renewSource": { + "type": "string", + "description": "Reservation Id of the reservation from which this reservation is renewed. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}." + }, + "renewDestination": { + "type": "string", + "description": "Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}." + }, + "renewProperties": { + "$ref": "#/definitions/RenewPropertiesResponse" } } }, @@ -1020,6 +1060,9 @@ "appliedScopes": { "$ref": "#/definitions/AppliedScopes" }, + "renew": { + "$ref": "#/definitions/Renew" + }, "reservedResourceProperties": { "type": "object", "description": "Properties specific to each reserved resource type. Not required if not applicable.", @@ -1046,6 +1089,17 @@ "name": { "type": "string", "description": "Name of the Reservation" + }, + "renew": { + "$ref": "#/definitions/Renew" + }, + "renewProperties": { + "type": "object", + "properties": { + "purchaseProperties": { + "$ref": "#/definitions/PurchaseRequest" + } + } } } }, @@ -1314,6 +1368,11 @@ "type": "string", "description": "Subscription that will be charged for purchasing Reservation" }, + "Renew": { + "type": "boolean", + "default": false, + "description": "Setting this to true will automatically purchase a new reservation on the expiration date time." + }, "ReservationQuantity": { "type": "integer", "format": "int32", @@ -1390,6 +1449,14 @@ "required": true, "type": "string" }, + "ExpandRenewPropertiesParameter": { + "name": "expand", + "x-ms-parameter-location": "method", + "in": "query", + "description": "Supported value of this query is renewProperties", + "required": false, + "type": "string" + }, "SubscriptionIdParameter": { "name": "subscriptionId", "x-ms-parameter-location": "method", From 3a65700c5945a564651e06e4bfe0094b4497d211 Mon Sep 17 00:00:00 2001 From: peetlotla <31408193+peetlotla@users.noreply.github.com> Date: Fri, 21 Jun 2019 11:40:42 +0530 Subject: [PATCH 120/495] Update custom-words.txt (#6386) Adding new words to get the spell check test passed. --- custom-words.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 50d86bbebe3e..5593ebb98436 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1512,4 +1512,11 @@ Zabbix Zilla ziplist Zoho -zset \ No newline at end of file +zset +Annotatable +ISVs +Cloudamize +Turbonomic +Zerto +Corent +Carbonite From 4df94e4b17ddb266e580b961fbaebc25c157f7fe Mon Sep 17 00:00:00 2001 From: shleiAmy <50385461+shleiAmy@users.noreply.github.com> Date: Thu, 20 Jun 2019 23:13:24 -0700 Subject: [PATCH 121/495] Update attestation provider swagger (#6401) * Update attestation provider swagger * Revert "Update attestation provider swagger" This reverts commit 057bf2cb6021403f1c8a7d0b3b938e1de812bf2f. * update attestation swagger * resolve the confilct --- .../2018-09-01-preview/attestation.json | 933 +++++++++--------- .../examples/Get_AttestationProvider.json | 34 +- 2 files changed, 484 insertions(+), 483 deletions(-) diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json index ad290370de96..2798ecbb976e 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json @@ -1,498 +1,499 @@ -{ - "swagger": "2.0", - "info": { - "title": "AttestationManagementClient", - "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", - "version": "2018-09-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Attestation/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists all of the available Azure attestation operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" + { + "swagger": "2.0", + "info": { + "title": "AttestationManagementClient", + "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", + "version": "2018-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - } } - } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { - "get": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Get", - "description": "Get the status of Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Get": { - "$ref": "./examples/Get_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Get the status of attestation Provider", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" + "paths": { + "/providers/Microsoft.Attestation/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Azure attestation operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } } - } - } - }, - "put": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Create", - "description": "Creates or updates the Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Create": { - "$ref": "./examples/Create_AttestationProvider.json" - } }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "creationParams", - "in": "body", - "description": "Client supplied parameters.", - "schema": { - "$ref": "#/definitions/AttestationServiceCreationParams" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { + "get": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Get", + "description": "Get the status of Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Get": { + "$ref": "./examples/Get_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z0-9]{3,24}$", + "description": "Name of the attestation service instance" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The status of the specified attestation service instance", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" + "put": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Create", + "description": "Creates or updates the Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Create": { + "$ref": "./examples/Create_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "creationParams", + "in": "body", + "description": "Client supplied parameters.", + "schema": { + "$ref": "#/definitions/AttestationServiceCreationParams" + }, + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "201": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" + } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + }, + "delete": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Delete", + "description": "Delete Attestation Service.", + "x-ms-examples": { + "AttestationProviders_Delete": { + "$ref": "./examples/Delete_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" + }, + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_List", + "description": "Returns a list of attestation providers in a subscription.", + "x-ms-examples": { + "AttestationProviders_List": { + "$ref": "./examples/Get_AttestationProvidersList.json" } - }, - "201": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } } - } - } - }, - "delete": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Delete", - "description": "Delete Attestation Service.", - "x-ms-examples": { - "AttestationProviders_Delete": { - "$ref": "./examples/Delete_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Request accepted for deletion of attestation service" - }, - "200": { - "description": "Resource exists and was deleted successfully" - }, - "204": { - "description": "Resource does not exist" - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" } - } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_List", - "description": "Returns a list of attestation providers in a subscription.", - "x-ms-examples": { - "AttestationProviders_List": { - "$ref": "./examples/Get_AttestationProvidersList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "x-ms-pageable": { - "nextLinkName": null }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_ListByResourceGroup", + "description": "Returns attestation providers list in a resource group.", + "x-ms-examples": { + "AttestationProviders_ListByResourceGroup": { + "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "keys" + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" + } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" + } } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" } - } } - } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_ListByResourceGroup", - "description": "Returns attestation providers list in a resource group.", - "x-ms-examples": { - "AttestationProviders_ListByResourceGroup": { - "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" - } + "definitions": { + "OperationList": { + "properties": { + "value": { + "type": "array", + "description": "List of supported operations.", + "items": { + "$ref": "#/definitions/OperationsDefinition" + } + } + }, + "description": "List of supported operations." }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "x-ms-pageable": { - "nextLinkName": null, - "itemName": "keys" + "OperationsDefinition": { + "type": "object", + "description": "Definition object with the name and properties of an operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." + }, + "display": { + "$ref": "#/definitions/OperationsDisplayDefinition", + "description": "Display object with properties of the operation." + } + } }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" + "OperationsDisplayDefinition": { + "type": "object", + "description": "Display object with properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Resource provider of the operation." + }, + "resource": { + "type": "string", + "description": "Resource for the operation." + }, + "operation": { + "type": "string", + "description": "Short description of the operation." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" + }, + "AttestationProvider": { + "description": "Attestation service response message.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "type": "object", + "$ref": "#/definitions/StatusResult", + "description": "Describes Attestation service status.", + "x-ms-client-flatten": true + } } - } - } - } - } - }, - "definitions": { - "OperationList": { - "properties": { - "value": { - "type": "array", - "description": "List of supported operations.", - "items": { - "$ref": "#/definitions/OperationsDefinition" - } - } - }, - "description": "List of supported operations." - }, - "OperationsDefinition": { - "type": "object", - "description": "Definition object with the name and properties of an operation.", - "properties": { - "name": { - "type": "string", - "description": "Name of the operation." }, - "display": { - "$ref": "#/definitions/OperationsDisplayDefinition", - "description": "Display object with properties of the operation." - } - } - }, - "OperationsDisplayDefinition": { - "type": "object", - "description": "Display object with properties of the operation.", - "properties": { - "provider": { - "type": "string", - "description": "Resource provider of the operation." + "StatusResult": { + "type": "object", + "description": "Status of attestation service.", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "description": "Status of attestation service.", + "enum": [ + "Ready", + "NotReady", + "Error" + ], + "x-ms-enum": { + "name": "AttestationServiceStatus", + "modelAsString": true + } + }, + "attestUri": { + "type": "string", + "description": "Gets the uri of attestation service" + } + } }, - "resource": { - "type": "string", - "description": "Resource for the operation." + "ErrorResult": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "properties": { + "error": { + "type": "object", + "description": "Error object.", + "$ref": "#/definitions/ErrorResponseBody" + } + } }, - "operation": { - "type": "string", - "description": "Short description of the operation." + "ErrorResponseBody": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "required": [ + "message", + "code" + ], + "properties": { + "message": { + "type": "string", + "description": "Description of the error." + }, + "code": { + "type": "string", + "description": "Service specific error code" + } + } }, - "description": { - "type": "string", - "description": "Description of the operation." - } - } - }, - "AttestationProvider": { - "description": "Attestation service response message.", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/StatusResult", - "description": "Describes Attestation service status.", - "x-ms-client-flatten": true - } - } - }, - "StatusResult": { - "type": "object", - "description": "Status of attestation service.", - "required": [ - "status" - ], - "properties": { - "status": { - "type": "string", - "description": "Status of attestation service.", - "enum": [ - "Ready", - "NotReady", - "Error" - ], - "x-ms-enum": { - "name": "AttestationServiceStatus", - "modelAsString": true - } + "ErrorResponse": { + "type": "object", + "description": "Error response", + "properties": { + "error": { + "type": "object", + "description":"Error response", + "properties": { + "code": { + "type": "string", + "description": "Description of the error." + }, + "message": { + "type": "string", + "description": "Service specific error code." + } + } + } + } }, - "attestUri": { - "type": "string", - "description": "Gets the uri of attestation service" - } - } - }, - "ErrorResult": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "properties": { - "error": { - "type": "object", - "description": "Error object.", - "$ref": "#/definitions/ErrorResponseBody" - } - } - }, - "ErrorResponseBody": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "required": [ - "message", - "code" - ], - "properties": { - "message": { - "type": "string", - "description": "Description of the error." + "AttestationProviderListResult": { + "description": "Attestation Providers List.", + "properties": { + "value": { + "type": "array", + "description": "Attestation Provider array.", + "items": { + "$ref": "#/definitions/AttestationProvider" + } + } + } }, - "code": { - "type": "string", - "description": "Service specific error code" - } - } - }, - "ErrorResponse": { - "type": "object", - "description": "Error response", - "properties": { - "error": { - "type": "object", - "description": "Error response", - "properties": { - "code": { - "type": "string", - "description": "Description of the error." - }, - "message": { - "type": "string", - "description": "Service specific error code." + "AttestationServiceCreationParams": { + "description": "Client supplied parameters passed to attestation service.", + "properties": { + "attestationPolicy": { + "type": "string", + "description":"Name of attestation policy." + } } - } - } - } - }, - "AttestationProviderListResult": { - "description": "Attestation Providers List.", - "properties": { - "value": { - "type": "array", - "description": "Attestation Provider array.", - "items": { - "$ref": "#/definitions/AttestationProvider" - } } - } }, - "AttestationServiceCreationParams": { - "description": "Client supplied parameters passed to attestation service.", - "properties": { - "attestationPolicy": { - "type": "string", - "description": "Name of attestation policy." + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version.", + "enum": ["2018-09-01-preview"] } - } - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." } } -} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json index 6aae3c0f8e0a..64bb0f15dc35 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json @@ -1,21 +1,21 @@ { - "parameters": { - "resourceGroupName": "sample-resource-group", - "serviceName": "sampleservicename", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview", - "providerName": "providerName1" - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providername1" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" + } + } } - } } - } } From 15b21849041318bc15408f578aa27bf9d28411cc Mon Sep 17 00:00:00 2001 From: Chenyang Liu Date: Fri, 21 Jun 2019 16:10:57 +0800 Subject: [PATCH 122/495] Update a property name of SignalRService (#6345) * Add signalr service data definition * Update readme * Fix the format of date-time * Make a change to the properties --- .../stable/2018-01-01/SignalRService.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json index 0d2582a667dc..b84735e9dc70 100644 --- a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json +++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json @@ -16,7 +16,7 @@ "format": "date-time", "type": "string" }, - "hub": { + "hubName": { "description": "The hub of connected client connection.", "type": "string" }, @@ -39,7 +39,7 @@ "format": "date-time", "type": "string" }, - "hub": { + "hubName": { "description": "The hub of connected client connection.", "type": "string" }, From ecb759f2df72e236dbc97b9c2dba5142ecb690fa Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 21 Jun 2019 12:48:38 -0400 Subject: [PATCH 123/495] chore: jsonfmt batch (#5914) * chore: jsonfmt batch Ran `jsonfmt -w "specification/batch/**/*.json"` * chore: Renormalize line endings --- .../stable/2015-12-01.2.2/BatchService.json | 393 +++++++-- .../stable/2016-02-01.3.0/BatchService.json | 432 ++++++++-- .../stable/2016-07-01.3.1/BatchService.json | 538 ++++++++++--- .../stable/2017-01-01.4.0/BatchService.json | 595 +++++++++++--- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2017-01-01.4.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2017-01-01.4.0/examples/JobDisable.json | 2 +- .../2017-01-01.4.0/examples/JobEnable.json | 2 +- .../2017-01-01.4.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../2017-01-01.4.0/examples/JobList.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2017-01-01.4.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2017-01-01.4.0/examples/JobTerminate.json | 2 +- .../2017-01-01.4.0/examples/JobUpdate.json | 10 +- .../2017-01-01.4.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2017-01-01.4.0/examples/NodeList.json | 8 +- .../2017-01-01.4.0/examples/NodeReboot.json | 2 +- .../2017-01-01.4.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../PoolAdd_CloudServiceConfiguration.json | 24 +- .../PoolAdd_VirtualMachineConfiguration.json | 24 +- .../2017-01-01.4.0/examples/PoolDelete.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../examples/PoolRemoveNodes.json | 2 +- .../2017-01-01.4.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2017-01-01.4.0/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2017-01-01.4.0/examples/TaskDelete.json | 2 +- .../2017-01-01.4.0/examples/TaskGet.json | 4 +- .../2017-01-01.4.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2017-01-01.4.0/examples/TaskUpdate.json | 8 +- .../stable/2017-05-01.5.0/BatchService.json | 613 ++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2017-05-01.5.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2017-05-01.5.0/examples/JobDisable.json | 2 +- .../2017-05-01.5.0/examples/JobEnable.json | 2 +- .../2017-05-01.5.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../2017-05-01.5.0/examples/JobList.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2017-05-01.5.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2017-05-01.5.0/examples/JobTerminate.json | 2 +- .../2017-05-01.5.0/examples/JobUpdate.json | 10 +- .../2017-05-01.5.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2017-05-01.5.0/examples/NodeList.json | 8 +- .../2017-05-01.5.0/examples/NodeReboot.json | 2 +- .../2017-05-01.5.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../PoolAdd_CloudServiceConfiguration.json | 24 +- .../PoolAdd_VirtualMachineConfiguration.json | 24 +- .../2017-05-01.5.0/examples/PoolDelete.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../examples/PoolRemoveNodes.json | 2 +- .../2017-05-01.5.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2017-05-01.5.0/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2017-05-01.5.0/examples/TaskDelete.json | 2 +- .../2017-05-01.5.0/examples/TaskGet.json | 4 +- .../2017-05-01.5.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2017-05-01.5.0/examples/TaskUpdate.json | 8 +- .../stable/2017-06-01.5.1/BatchService.json | 662 ++++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2017-06-01.5.1/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2017-06-01.5.1/examples/JobDisable.json | 2 +- .../2017-06-01.5.1/examples/JobEnable.json | 2 +- .../2017-06-01.5.1/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2017-06-01.5.1/examples/JobList.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2017-06-01.5.1/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2017-06-01.5.1/examples/JobTerminate.json | 2 +- .../2017-06-01.5.1/examples/JobUpdate.json | 10 +- .../2017-06-01.5.1/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2017-06-01.5.1/examples/NodeList.json | 8 +- .../2017-06-01.5.1/examples/NodeReboot.json | 2 +- .../2017-06-01.5.1/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- .../2017-06-01.5.1/examples/PoolDelete.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../examples/PoolRemoveNodes.json | 2 +- .../2017-06-01.5.1/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2017-06-01.5.1/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2017-06-01.5.1/examples/TaskDelete.json | 2 +- .../2017-06-01.5.1/examples/TaskGet.json | 4 +- .../2017-06-01.5.1/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2017-06-01.5.1/examples/TaskUpdate.json | 8 +- .../stable/2017-09-01.6.0/BatchService.json | 672 ++++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2017-09-01.6.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2017-09-01.6.0/examples/JobDisable.json | 2 +- .../2017-09-01.6.0/examples/JobEnable.json | 2 +- .../2017-09-01.6.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2017-09-01.6.0/examples/JobList.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2017-09-01.6.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2017-09-01.6.0/examples/JobTerminate.json | 2 +- .../2017-09-01.6.0/examples/JobUpdate.json | 10 +- .../2017-09-01.6.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2017-09-01.6.0/examples/NodeList.json | 8 +- .../2017-09-01.6.0/examples/NodeReboot.json | 2 +- .../2017-09-01.6.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- ...ualMachineConfigurationWithContainers.json | 14 +- .../2017-09-01.6.0/examples/PoolDelete.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../examples/PoolRemoveNodes.json | 2 +- .../2017-09-01.6.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2017-09-01.6.0/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ContainerSettings.json | 4 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2017-09-01.6.0/examples/TaskDelete.json | 2 +- .../2017-09-01.6.0/examples/TaskGet.json | 4 +- .../2017-09-01.6.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2017-09-01.6.0/examples/TaskUpdate.json | 8 +- .../stable/2018-03-01.6.1/BatchService.json | 740 +++++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/AccountListPoolNodeCounts.json | 2 +- .../examples/ApplicationGet.json | 12 +- .../examples/ApplicationList.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetFromNode.json | 2 +- .../examples/FileGetFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2018-03-01.6.1/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2018-03-01.6.1/examples/JobDelete.json | 2 +- .../2018-03-01.6.1/examples/JobDisable.json | 2 +- .../2018-03-01.6.1/examples/JobEnable.json | 2 +- .../2018-03-01.6.1/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2018-03-01.6.1/examples/JobList.json | 2 +- .../examples/JobListFromJobSchedule.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2018-03-01.6.1/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleExists.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2018-03-01.6.1/examples/JobTerminate.json | 2 +- .../2018-03-01.6.1/examples/JobUpdate.json | 10 +- .../2018-03-01.6.1/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteDesktop.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2018-03-01.6.1/examples/NodeList.json | 8 +- .../2018-03-01.6.1/examples/NodeReboot.json | 2 +- .../2018-03-01.6.1/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../examples/NodeUploadBatchServiceLogs.json | 6 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- ...ualMachineConfigurationWithContainers.json | 14 +- .../2018-03-01.6.1/examples/PoolDelete.json | 2 +- .../examples/PoolDisableAutoScale.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../2018-03-01.6.1/examples/PoolExists.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../2018-03-01.6.1/examples/PoolPatch.json | 2 +- .../examples/PoolRemoveNodes.json | 2 +- .../2018-03-01.6.1/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2018-03-01.6.1/examples/PoolUpdate.json | 2 +- .../examples/PoolUpgradeOS.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ContainerSettings.json | 4 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2018-03-01.6.1/examples/TaskDelete.json | 2 +- .../2018-03-01.6.1/examples/TaskGet.json | 4 +- .../2018-03-01.6.1/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2018-03-01.6.1/examples/TaskUpdate.json | 8 +- .../stable/2018-08-01.7.0/BatchService.json | 750 ++++++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/AccountListPoolNodeCounts.json | 2 +- .../examples/ApplicationGet.json | 12 +- .../examples/ApplicationList.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetFromNode.json | 2 +- .../examples/FileGetFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2018-08-01.7.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2018-08-01.7.0/examples/JobDelete.json | 2 +- .../2018-08-01.7.0/examples/JobDisable.json | 2 +- .../2018-08-01.7.0/examples/JobEnable.json | 2 +- .../2018-08-01.7.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2018-08-01.7.0/examples/JobList.json | 2 +- .../examples/JobListFromJobSchedule.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2018-08-01.7.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleExists.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2018-08-01.7.0/examples/JobTerminate.json | 2 +- .../2018-08-01.7.0/examples/JobUpdate.json | 10 +- .../2018-08-01.7.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteDesktop.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2018-08-01.7.0/examples/NodeList.json | 8 +- .../2018-08-01.7.0/examples/NodeReboot.json | 2 +- .../2018-08-01.7.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../examples/NodeUploadBatchServiceLogs.json | 6 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- ...ualMachineConfigurationWithContainers.json | 14 +- .../2018-08-01.7.0/examples/PoolDelete.json | 2 +- .../examples/PoolDisableAutoScale.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../2018-08-01.7.0/examples/PoolExists.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../2018-08-01.7.0/examples/PoolPatch.json | 2 +- .../examples/PoolRemoveNodes.json | 2 +- .../2018-08-01.7.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2018-08-01.7.0/examples/PoolUpdate.json | 2 +- .../examples/PoolUpgradeOS.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ContainerSettings.json | 4 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2018-08-01.7.0/examples/TaskDelete.json | 2 +- .../2018-08-01.7.0/examples/TaskGet.json | 4 +- .../2018-08-01.7.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2018-08-01.7.0/examples/TaskUpdate.json | 8 +- .../stable/2018-12-01.8.0/BatchService.json | 715 +++++++++++++---- .../examples/AccountListNodeAgentSkus.json | 2 +- .../examples/AccountListPoolNodeCounts.json | 2 +- .../examples/ApplicationGet.json | 12 +- .../examples/ApplicationList.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetFromNode.json | 2 +- .../examples/FileGetFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2018-12-01.8.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2018-12-01.8.0/examples/JobDelete.json | 2 +- .../2018-12-01.8.0/examples/JobDisable.json | 2 +- .../2018-12-01.8.0/examples/JobEnable.json | 2 +- .../2018-12-01.8.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2018-12-01.8.0/examples/JobList.json | 2 +- .../examples/JobListFromJobSchedule.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2018-12-01.8.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleExists.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2018-12-01.8.0/examples/JobTerminate.json | 2 +- .../2018-12-01.8.0/examples/JobUpdate.json | 10 +- .../2018-12-01.8.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteDesktop.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2018-12-01.8.0/examples/NodeList.json | 8 +- .../2018-12-01.8.0/examples/NodeReboot.json | 2 +- .../2018-12-01.8.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../examples/NodeUploadBatchServiceLogs.json | 6 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- ...ualMachineConfigurationWithContainers.json | 14 +- .../2018-12-01.8.0/examples/PoolDelete.json | 2 +- .../examples/PoolDisableAutoScale.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../2018-12-01.8.0/examples/PoolExists.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../2018-12-01.8.0/examples/PoolPatch.json | 2 +- .../examples/PoolRemoveNodes.json | 2 +- .../2018-12-01.8.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2018-12-01.8.0/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ContainerSettings.json | 4 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2018-12-01.8.0/examples/TaskDelete.json | 2 +- .../2018-12-01.8.0/examples/TaskGet.json | 4 +- .../2018-12-01.8.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2018-12-01.8.0/examples/TaskUpdate.json | 8 +- .../stable/2019-06-01.9.0/BatchService.json | 722 +++++++++++++---- .../examples/AccountListPoolNodeCounts.json | 2 +- .../examples/AccountListSupportedImages.json | 2 +- .../examples/ApplicationGet.json | 12 +- .../examples/ApplicationList.json | 2 +- .../examples/CertificateAdd.json | 12 +- .../examples/CertificateCancelDelete.json | 2 +- .../examples/CertificateDelete.json | 2 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 2 +- .../examples/FileDeleteFromTask.json | 2 +- .../examples/FileGetFromNode.json | 2 +- .../examples/FileGetFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../2019-06-01.9.0/examples/JobAdd_Basic.json | 2 +- .../examples/JobAdd_Complex.json | 6 +- .../2019-06-01.9.0/examples/JobDelete.json | 2 +- .../2019-06-01.9.0/examples/JobDisable.json | 2 +- .../2019-06-01.9.0/examples/JobEnable.json | 2 +- .../2019-06-01.9.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2019-06-01.9.0/examples/JobList.json | 2 +- .../examples/JobListFromJobSchedule.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2019-06-01.9.0/examples/JobPatch.json | 10 +- .../examples/JobScheduleAdd_Basic.json | 4 +- .../examples/JobScheduleAdd_Complex.json | 2 +- .../examples/JobScheduleDelete.json | 2 +- .../examples/JobScheduleDisable.json | 2 +- .../examples/JobScheduleEnable.json | 2 +- .../examples/JobScheduleExists.json | 2 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 2 +- .../examples/JobScheduleTerminate.json | 2 +- .../examples/JobScheduleUpdate.json | 2 +- .../2019-06-01.9.0/examples/JobTerminate.json | 2 +- .../2019-06-01.9.0/examples/JobUpdate.json | 10 +- .../2019-06-01.9.0/examples/NodeAddUser.json | 2 +- .../examples/NodeDeleteUser.json | 2 +- .../examples/NodeDisableScheduling.json | 2 +- .../examples/NodeEnableScheduling.json | 2 +- .../examples/NodeGetRemoteDesktop.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2019-06-01.9.0/examples/NodeList.json | 8 +- .../2019-06-01.9.0/examples/NodeReboot.json | 2 +- .../2019-06-01.9.0/examples/NodeReimage.json | 2 +- .../examples/NodeUpdateUser.json | 2 +- .../examples/NodeUploadBatchServiceLogs.json | 6 +- .../PoolAdd_CloudServiceConfiguration.json | 26 +- .../PoolAdd_VirtualMachineConfiguration.json | 26 +- ...ualMachineConfigurationWithContainers.json | 14 +- .../2019-06-01.9.0/examples/PoolDelete.json | 2 +- .../examples/PoolDisableAutoScale.json | 2 +- .../examples/PoolEnableAutoscale.json | 2 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../2019-06-01.9.0/examples/PoolExists.json | 2 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../2019-06-01.9.0/examples/PoolPatch.json | 2 +- .../examples/PoolRemoveNodes.json | 2 +- .../2019-06-01.9.0/examples/PoolResize.json | 2 +- .../examples/PoolStopResize.json | 2 +- .../2019-06-01.9.0/examples/PoolUpdate.json | 2 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 2 +- .../examples/TaskAdd_ContainerSettings.json | 4 +- .../examples/TaskAdd_ExitConditions.json | 4 +- .../2019-06-01.9.0/examples/TaskDelete.json | 2 +- .../2019-06-01.9.0/examples/TaskGet.json | 4 +- .../2019-06-01.9.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 2 +- .../examples/TaskTerminate.json | 2 +- .../2019-06-01.9.0/examples/TaskUpdate.json | 8 +- .../stable/2015-12-01/BatchManagement.json | 6 +- .../stable/2017-01-01/BatchManagement.json | 16 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2017-01-01/examples/BatchAccountGet.json | 2 +- .../stable/2017-05-01/BatchManagement.json | 58 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2017-05-01/examples/BatchAccountGet.json | 2 +- .../examples/BatchAccountGetKeys.json | 2 +- .../2017-05-01/examples/BatchAccountList.json | 2 +- .../BatchAccountListByResourceGroup.json | 2 +- .../examples/BatchAccountRegenerateKey.json | 2 +- .../examples/BatchAccountUpdate.json | 2 +- ...onCheckNameAvailability_AlreadyExists.json | 2 +- ...cationCheckNameAvailability_Available.json | 2 +- .../examples/LocationGetQuotas.json | 2 +- .../stable/2017-09-01/BatchManagement.json | 279 +++++-- .../examples/ApplicationCreate.json | 2 +- .../examples/ApplicationDelete.json | 2 +- .../2017-09-01/examples/ApplicationGet.json | 4 +- .../2017-09-01/examples/ApplicationList.json | 2 +- .../examples/ApplicationPackageActivate.json | 2 +- .../examples/ApplicationPackageCreate.json | 2 +- .../examples/ApplicationPackageDelete.json | 2 +- .../examples/ApplicationPackageGet.json | 4 +- .../examples/ApplicationUpdate.json | 2 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2017-09-01/examples/BatchAccountGet.json | 2 +- .../examples/BatchAccountGetKeys.json | 2 +- .../2017-09-01/examples/BatchAccountList.json | 2 +- .../BatchAccountListByResourceGroup.json | 2 +- .../examples/BatchAccountRegenerateKey.json | 2 +- ...atchAccountSynchronizeAutoStorageKeys.json | 2 +- .../examples/BatchAccountUpdate.json | 2 +- .../examples/CertificateCancelDeletion.json | 12 +- .../examples/CertificateCreate_Full.json | 22 +- .../examples/CertificateCreate_Minimal.json | 18 +- .../CertificateCreate_MinimalCer.json | 16 +- .../examples/CertificateDelete.json | 6 +- .../2017-09-01/examples/CertificateGet.json | 14 +- .../CertificateGetWithDeletionError.json | 16 +- .../2017-09-01/examples/CertificateList.json | 14 +- .../examples/CertificateListWithFilter.json | 10 +- .../examples/CertificateUpdate.json | 18 +- ...onCheckNameAvailability_AlreadyExists.json | 2 +- ...cationCheckNameAvailability_Available.json | 2 +- .../examples/LocationGetQuotas.json | 2 +- .../examples/PoolCreate_CustomImage.json | 2 +- .../examples/PoolCreate_FullExample.json | 2 +- ...eate_MinimalCloudServiceConfiguration.json | 2 +- ...te_MinimalVirtualMachineConfiguration.json | 2 +- ...oolCreate_VirtualMachineConfiguration.json | 2 +- .../2017-09-01/examples/PoolDelete.json | 6 +- .../examples/PoolDisableAutoScale.json | 2 +- .../stable/2017-09-01/examples/PoolGet.json | 2 +- .../stable/2017-09-01/examples/PoolList.json | 2 +- .../examples/PoolListWithFilter.json | 2 +- .../2017-09-01/examples/PoolStopResize.json | 2 +- .../examples/PoolUpdate_EnableAutoScale.json | 2 +- .../examples/PoolUpdate_OtherProperties.json | 2 +- .../examples/PoolUpdate_RemoveStartTask.json | 2 +- .../examples/PoolUpdate_ResizePool.json | 2 +- .../stable/2018-12-01/BatchManagement.json | 289 +++++-- .../examples/ApplicationCreate.json | 2 +- .../examples/ApplicationDelete.json | 2 +- .../2018-12-01/examples/ApplicationGet.json | 2 +- .../2018-12-01/examples/ApplicationList.json | 2 +- .../examples/ApplicationPackageActivate.json | 4 +- .../examples/ApplicationPackageCreate.json | 2 +- .../examples/ApplicationPackageDelete.json | 2 +- .../examples/ApplicationPackageGet.json | 4 +- .../examples/ApplicationPackageList.json | 4 +- .../examples/ApplicationUpdate.json | 2 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2018-12-01/examples/BatchAccountGet.json | 2 +- .../examples/BatchAccountGetKeys.json | 2 +- .../2018-12-01/examples/BatchAccountList.json | 2 +- .../BatchAccountListByResourceGroup.json | 2 +- .../examples/BatchAccountRegenerateKey.json | 2 +- ...atchAccountSynchronizeAutoStorageKeys.json | 2 +- .../examples/BatchAccountUpdate.json | 2 +- .../examples/CertificateCancelDeletion.json | 12 +- .../examples/CertificateCreate_Full.json | 22 +- .../examples/CertificateCreate_Minimal.json | 18 +- .../CertificateCreate_MinimalCer.json | 16 +- .../examples/CertificateDelete.json | 6 +- .../2018-12-01/examples/CertificateGet.json | 14 +- .../CertificateGetWithDeletionError.json | 16 +- .../2018-12-01/examples/CertificateList.json | 14 +- .../examples/CertificateListWithFilter.json | 10 +- .../examples/CertificateUpdate.json | 18 +- ...onCheckNameAvailability_AlreadyExists.json | 2 +- ...cationCheckNameAvailability_Available.json | 2 +- .../examples/LocationGetQuotas.json | 2 +- .../examples/PoolCreate_CustomImage.json | 2 +- .../examples/PoolCreate_FullExample.json | 2 +- ...eate_MinimalCloudServiceConfiguration.json | 2 +- ...te_MinimalVirtualMachineConfiguration.json | 2 +- ...oolCreate_VirtualMachineConfiguration.json | 2 +- .../2018-12-01/examples/PoolDelete.json | 6 +- .../examples/PoolDisableAutoScale.json | 2 +- .../stable/2018-12-01/examples/PoolGet.json | 2 +- .../stable/2018-12-01/examples/PoolList.json | 2 +- .../examples/PoolListWithFilter.json | 2 +- .../2018-12-01/examples/PoolStopResize.json | 2 +- .../examples/PoolUpdate_EnableAutoScale.json | 2 +- .../examples/PoolUpdate_OtherProperties.json | 2 +- .../examples/PoolUpdate_RemoveStartTask.json | 2 +- .../examples/PoolUpdate_ResizePool.json | 2 +- .../stable/2019-04-01/BatchManagement.json | 289 +++++-- .../examples/ApplicationCreate.json | 2 +- .../examples/ApplicationDelete.json | 2 +- .../2019-04-01/examples/ApplicationGet.json | 2 +- .../2019-04-01/examples/ApplicationList.json | 2 +- .../examples/ApplicationPackageActivate.json | 4 +- .../examples/ApplicationPackageCreate.json | 2 +- .../examples/ApplicationPackageDelete.json | 2 +- .../examples/ApplicationPackageGet.json | 4 +- .../examples/ApplicationPackageList.json | 4 +- .../examples/ApplicationUpdate.json | 2 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2019-04-01/examples/BatchAccountGet.json | 2 +- .../examples/BatchAccountGetKeys.json | 2 +- .../2019-04-01/examples/BatchAccountList.json | 2 +- .../BatchAccountListByResourceGroup.json | 2 +- .../examples/BatchAccountRegenerateKey.json | 2 +- ...atchAccountSynchronizeAutoStorageKeys.json | 2 +- .../examples/BatchAccountUpdate.json | 2 +- .../examples/CertificateCancelDeletion.json | 12 +- .../examples/CertificateCreate_Full.json | 22 +- .../examples/CertificateCreate_Minimal.json | 18 +- .../CertificateCreate_MinimalCer.json | 16 +- .../examples/CertificateDelete.json | 6 +- .../2019-04-01/examples/CertificateGet.json | 14 +- .../CertificateGetWithDeletionError.json | 16 +- .../2019-04-01/examples/CertificateList.json | 14 +- .../examples/CertificateListWithFilter.json | 10 +- .../examples/CertificateUpdate.json | 18 +- ...onCheckNameAvailability_AlreadyExists.json | 2 +- ...cationCheckNameAvailability_Available.json | 2 +- .../examples/LocationGetQuotas.json | 2 +- .../examples/PoolCreate_CustomImage.json | 2 +- .../examples/PoolCreate_FullExample.json | 2 +- ...eate_MinimalCloudServiceConfiguration.json | 2 +- ...te_MinimalVirtualMachineConfiguration.json | 2 +- ...oolCreate_VirtualMachineConfiguration.json | 2 +- .../2019-04-01/examples/PoolDelete.json | 6 +- .../examples/PoolDisableAutoScale.json | 2 +- .../stable/2019-04-01/examples/PoolGet.json | 2 +- .../stable/2019-04-01/examples/PoolList.json | 2 +- .../examples/PoolListWithFilter.json | 2 +- .../2019-04-01/examples/PoolStopResize.json | 2 +- .../examples/PoolUpdate_EnableAutoScale.json | 2 +- .../examples/PoolUpdate_OtherProperties.json | 2 +- .../examples/PoolUpdate_RemoveStartTask.json | 2 +- .../examples/PoolUpdate_ResizePool.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 46 +- .../examples/BlobContainersLease_Break.json | 46 +- 784 files changed, 7631 insertions(+), 3164 deletions(-) diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json index 009f63beeb0a..500f854fe1b9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json @@ -1147,7 +1147,7 @@ "default": 30, "description": "Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", "x-ms-parameter-grouping": { - "postfix": "Options" + "postfix": "Options" } }, { @@ -8554,7 +8554,7 @@ "description": "Gets the OData id of the resource to which the request applied.", "type": "string" } - }, + }, "description": "" }, "default": { @@ -9183,7 +9183,15 @@ "description": "Gets or sets the cross data center network egress in GiB from the pool during this interval." } }, - "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "description": "Usage metrics for a pool across an aggregation interval." }, "PoolListPoolUsageMetricsResult": { @@ -9220,7 +9228,11 @@ "description": "Gets or sets the aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": ["startTime","lastUpdateTime","dedicatedCoreTime"], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "description": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -9291,7 +9303,21 @@ "description": "Gets or sets the total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "description": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -9319,7 +9345,11 @@ "description": "Gets or sets statistics related to resource consumption by compute nodes in the pool." } }, - "required": ["url","startTime","lastUpdateTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "description": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -9394,7 +9424,22 @@ "description": "Gets or sets the total wait time of all the tasks in the job. The wait time for a task is defined as the elapsed time between the creation of the task creation and the start of task execution. This value is reported only in the account lifetime statistics; it is not included in individual job statistics." } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "description": "Resource usage statistics for a job." }, "NameValuePair": { @@ -9452,7 +9497,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": {"name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -9467,7 +9515,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": { "name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -9496,7 +9547,9 @@ "description": "Gets or sets the application package version. If not specified, the default is used." } }, - "required": ["applicationId"], + "required": [ + "applicationId" + ], "description": "A reference to an application package to be installed on compute nodes in a pool." }, "ApplicationSummary": { @@ -9516,7 +9569,11 @@ } } }, - "required": ["id", "displayName", "versions"], + "required": [ + "id", + "displayName", + "versions" + ], "description": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -9541,14 +9598,21 @@ "cer", "unmapped" ], - "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateFormat", + "modelAsString": false + } }, "password": { "type": "string", "description": "Gets or sets the password to access the certificate's private key. This property is not populated by the Get Certificate operation." } }, - "required": ["thumbprint", "thumbprintAlgorithm", "data"], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "description": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -9589,7 +9653,10 @@ "description": "Gets or sets the content type of the file." } }, - "required": ["lastModified","contentLength"], + "required": [ + "lastModified", + "contentLength" + ], "description": "The properties of a file on a compute node." }, "NodeFile": { @@ -9856,10 +9923,15 @@ "pack", "unmapped" ], - "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeFillType", + "modelAsString": false + } } }, - "required": ["nodeFillType"], + "required": [ + "nodeFillType" + ], "description": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -9916,7 +9988,10 @@ "localmachine", "unmapped" ], - "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateStoreLocation", + "modelAsString": false + } }, "storeName": { "type": "string", @@ -9927,7 +10002,10 @@ "description": "Gets or sets which user accounts on the compute node should have access to the private data of the certificate. This may be any subset of the values 'starttask', 'task' and 'rdp', separated by commas. The default is all accounts, corresponding to the string 'starttask,task,rdp'." } }, - "required": ["thumbprint", "thumbprintAlgorithm"], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "description": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -10039,7 +10117,10 @@ "job", "unmapped" ], - "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false } + "x-ms-enum": { + "name": "PoolLifetimeOption", + "modelAsString": false + } }, "keepAlive": { "type": "boolean", @@ -10050,7 +10131,9 @@ "description": "Gets or sets the pool specification for the auto pool." } }, - "required": ["poolLifetimeOption"], + "required": [ + "poolLifetimeOption" + ], "description": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool, run all the tasks for the job on it, and will delete the pool once the job has completed." }, "PoolInformation": { @@ -10222,7 +10305,22 @@ "description": "Gets or sets the total wait time of all the tasks in jobs created under the schedule." } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "description": "The lifetime resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -10263,7 +10361,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10280,7 +10381,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -10339,7 +10443,11 @@ "description": "Gets or sets a list of name-value pairs associated with the schedule as metadata." } }, - "required": ["id", "schedule", "jobSpecification"], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "description": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -10368,7 +10476,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -10386,7 +10497,9 @@ "description": "Gets or sets a list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "description": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -10414,7 +10527,9 @@ "description": "Gets or sets a string describing the reason the job ended." } }, - "required": ["startTime"], + "required": [ + "startTime" + ], "description": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -10461,7 +10576,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10480,7 +10598,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -10591,7 +10712,10 @@ "description": "Gets or sets the flag that determines if this job will use tasks with dependencies." } }, - "required": ["id", "poolInfo"], + "required": [ + "id", + "poolInfo" + ], "description": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -10620,7 +10744,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -10638,7 +10765,9 @@ "description": "Gets or sets the list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "description": "Information about an error when scheduling a task." }, "JobPreparationTaskExecutionInformation": { @@ -10660,7 +10789,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobPreparationTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -10690,7 +10822,11 @@ "description": "Gets or sets the most recent time at which a retry of the Job Preparation task started running. This property is set only if the task was retried (i.e. retryCount is nonzero)." } }, - "required": ["startTime","retryCount","state"], + "required": [ + "startTime", + "retryCount", + "state" + ], "description": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -10712,7 +10848,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobReleaseTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -10732,7 +10871,10 @@ "description": "Gets or sets any error starting the Job Release task." } }, - "required": ["startTime","state"], + "required": [ + "startTime", + "state" + ], "description": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -10812,7 +10954,9 @@ "description": "Gets or sets details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": ["timestamp"], + "required": [ + "timestamp" + ], "description": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -10871,7 +11015,10 @@ "deleting", "upgrading" ], - "x-ms-enum": { "name": "PoolState", "modelAsString": false } + "x-ms-enum": { + "name": "PoolState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10886,7 +11033,10 @@ "resizing", "stopping" ], - "x-ms-enum": { "name": "AllocationState", "modelAsString": false } + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": false + } }, "allocationStateTransitionTime": { "type": "string", @@ -11074,7 +11224,11 @@ "description": "Gets or sets a list of name-value pairs associated with the pool as metadata." } }, - "required": ["id", "vmSize", "osFamily"], + "required": [ + "id", + "vmSize", + "osFamily" + ], "description": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -11160,7 +11314,10 @@ "description": "Gets or sets the most recent time at which the task has been requeued by the Batch service as the result of a user request." } }, - "required": ["requeueCount","retryCount"], + "required": [ + "requeueCount", + "retryCount" + ], "description": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -11211,7 +11368,9 @@ "description": "Gets or sets a list of files that Batch will download on all subtasks." } }, - "required": ["numberOfInstances"], + "required": [ + "numberOfInstances" + ], "description": "Information about the settings required for multi-instance task." }, "TaskStatistics": { @@ -11271,7 +11430,19 @@ "description": "Gets or sets the elapsed time between the creation of the task and the start of task execution." } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "description": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -11306,7 +11477,10 @@ "description": "Gets or sets the last task id in the range." } }, - "required": ["start", "end"] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -11345,7 +11519,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11361,7 +11538,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -11470,7 +11650,10 @@ "description": "Gets or sets any dependencies this task has." } }, - "required": ["id", "commandLine"], + "required": [ + "id", + "commandLine" + ], "description": "An Azure Batch task to add." }, "SubtaskInformation": { @@ -11512,7 +11695,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11528,7 +11714,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -11594,14 +11783,19 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "executionInfo": { "$ref": "#/definitions/TaskExecutionInformation", "description": "Gets or sets information about the execution of the task." } }, - "required": ["taskState"], + "required": [ + "taskState" + ], "description": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -11613,7 +11807,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "StartTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "StartTaskState", + "modelAsString": false + } }, "startTime": { "type": "string", @@ -11645,7 +11842,11 @@ "description": "Gets or sets the most recent time at which a retry of the task started running." } }, - "required": ["state","startTime","retryCount"], + "required": [ + "state", + "startTime", + "retryCount" + ], "description": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -11695,7 +11896,10 @@ "leavingpool", "offline" ], - "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeState", + "modelAsString": false + } }, "schedulingState": { "type": "string", @@ -11704,7 +11908,10 @@ "enabled", "disabled" ], - "x-ms-enum": { "name": "SchedulingState", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11806,7 +12013,10 @@ "description": "Gets or sets the password of the account." } }, - "required": ["name", "password"], + "required": [ + "name", + "password" + ], "description": "An user account on a compute node." }, "JobSchedulePatchParameter": { @@ -11847,7 +12057,10 @@ "description": "Sets a list of name-value pairs associated with the job schedule as metadata. If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": ["schedule", "jobSpecification"], + "required": [ + "schedule", + "jobSpecification" + ], "description": "Parameters for a CloudJobScheduleOperations.Update request." }, "JobDisableParameter": { @@ -11860,10 +12073,15 @@ "terminate", "wait" ], - "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableJobOption", + "modelAsString": false + } } }, - "required": ["disableTasks"], + "required": [ + "disableTasks" + ], "description": "Parameters for a CloudJobOperations.Disable request." }, "JobTerminateParameter": { @@ -11923,7 +12141,9 @@ "description": "Sets a list of name-value pairs associated with the job as metadata. If omitted, the existing job metadata is left unchanged." } }, - "required": ["poolInfo"], + "required": [ + "poolInfo" + ], "description": "Parameters for a CloudJobOperations.Update request." }, "PoolEnableAutoScaleParameter": { @@ -11947,7 +12167,9 @@ "description": "Sets a formula for the desired number of compute nodes in the pool." } }, - "required": ["autoScaleFormula"], + "required": [ + "autoScaleFormula" + ], "description": "Parameters for a CloudJobOperations.EvaluateAutoScale request." }, "PoolResizeParameter": { @@ -11971,10 +12193,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["targetDedicated"], + "required": [ + "targetDedicated" + ], "description": "Parameters for a CloudPoolOperations.Resize request." }, "PoolUpdatePropertiesParameter": { @@ -12005,7 +12232,11 @@ "description": "Sets a list of name-value pairs associated with the pool as metadata. If you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": ["certificateReferences", "metadata", "applicationPackageReferences"], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "description": "Parameters for a CloudPoolOperations.UpdateProperties request." }, "PoolUpgradeOSParameter": { @@ -12015,7 +12246,9 @@ "description": "Sets the Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": ["targetOSVersion"], + "required": [ + "targetOSVersion" + ], "description": "Parameters for a CloudPoolOperations.UpgradeOS request." }, "PoolPatchParameter": { @@ -12069,7 +12302,9 @@ "description": "Sets the time at which the account should expire. If omitted, the default is 1 day from the current time." } }, - "required": ["password"], + "required": [ + "password" + ], "description": "Parameters for a ComputeNodeOperations.UpdateUser request." }, "NodeRebootParameter": { @@ -12083,7 +12318,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeRebootOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.Reboot request." @@ -12099,7 +12337,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeReimageOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.Reimage request." @@ -12114,7 +12355,10 @@ "terminate", "taskcompletion" ], - "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableComputeNodeSchedulingOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.DisableScheduling request." @@ -12142,10 +12386,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["nodeList"], + "required": [ + "nodeList" + ], "description": "Parameters for a ComputeNodeOperations.Remove request." }, "ErrorMessage": { @@ -12204,4 +12453,4 @@ "description": "Client API Version." } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json index 85a34cb906bf..af2457930937 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json @@ -1264,7 +1264,7 @@ "default": 30, "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", "x-ms-parameter-grouping": { - "postfix": "Options" + "postfix": "Options" } }, { @@ -8063,7 +8063,7 @@ "post": { "tags": [ "Tasks" - ], + ], "operationId": "Task_Terminate", "description": "Terminates the specified task.", "x-ms-request-id": "request-id", @@ -8766,7 +8766,7 @@ "description": "The OData id of the resource to which the request applied.", "type": "string" } - }, + }, "description": "" }, "default": { @@ -9501,7 +9501,15 @@ "description": "The cross data center network egress in GiB from the pool during this interval." } }, - "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "description": "Usage metrics for a pool across an aggregation interval." }, "PoolListPoolUsageMetricsResult": { @@ -9541,7 +9549,10 @@ "windows", "unmapped" ], - "x-ms-enum": {"name": "OSType", "modelAsString": false } + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } } }, "description": "A node agent SKU supported by the Batch service. The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems." @@ -9580,7 +9591,11 @@ "description": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": ["startTime","lastUpdateTime","dedicatedCoreTime"], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "description": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -9651,7 +9666,21 @@ "description": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "description": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -9679,7 +9708,11 @@ "description": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": ["url","startTime","lastUpdateTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "description": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -9754,7 +9787,22 @@ "description": "The total wait time of all tasks in the job. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "description": "Resource usage statistics for a job." }, "NameValuePair": { @@ -9812,7 +9860,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": {"name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -9827,7 +9878,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": { "name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -9856,7 +9910,9 @@ "description": "The version of the application to install. If omitted, the default version is installed." } }, - "required": ["applicationId"], + "required": [ + "applicationId" + ], "description": "A reference to an application package to be installed on compute nodes in a pool." }, "ApplicationSummary": { @@ -9876,7 +9932,11 @@ } } }, - "required": ["id", "displayName", "versions"], + "required": [ + "id", + "displayName", + "versions" + ], "description": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -9901,14 +9961,21 @@ "cer", "unmapped" ], - "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateFormat", + "modelAsString": false + } }, "password": { "type": "string", "description": "The password to access the certificate's private key." } }, - "required": ["thumbprint", "thumbprintAlgorithm", "data"], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "description": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -9953,7 +10020,10 @@ "description": "The file mode attribute in octal format. This property will be returned only from a Linux compute node." } }, - "required": ["lastModified","contentLength"], + "required": [ + "lastModified", + "contentLength" + ], "description": "The properties of a file on a compute node." }, "NodeFile": { @@ -10224,10 +10294,15 @@ "pack", "unmapped" ], - "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeFillType", + "modelAsString": false + } } }, - "required": ["nodeFillType"], + "required": [ + "nodeFillType" + ], "description": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -10284,7 +10359,10 @@ "localmachine", "unmapped" ], - "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateStoreLocation", + "modelAsString": false + } }, "storeName": { "type": "string", @@ -10300,12 +10378,18 @@ "remoteuser", "unmapped" ], - "x-ms-enum": { "name": "CertificateVisibility", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateVisibility", + "modelAsString": false + } }, "description": "Which user accounts on the compute node should have access to the private data of the certificate. This may be any subset of the values 'starttask', 'task' and 'remoteuser', separated by commas. The default is all accounts, corresponding to the string 'starttask,task,remoteuser'." } }, - "required": ["thumbprint", "thumbprintAlgorithm"], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "description": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -10417,7 +10501,10 @@ "job", "unmapped" ], - "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false } + "x-ms-enum": { + "name": "PoolLifetimeOption", + "modelAsString": false + } }, "keepAlive": { "type": "boolean", @@ -10428,7 +10515,9 @@ "description": "The pool specification for the auto pool." } }, - "required": ["poolLifetimeOption"], + "required": [ + "poolLifetimeOption" + ], "description": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool, run all the tasks for the job on it, and will delete the pool once the job has completed." }, "PoolInformation": { @@ -10600,7 +10689,22 @@ "description": "The total wait time of all tasks in all jobs created under the schedule. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "description": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -10641,7 +10745,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10658,7 +10765,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -10717,7 +10827,11 @@ "description": "A list of name-value pairs associated with the schedule as metadata." } }, - "required": ["id", "schedule", "jobSpecification"], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "description": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -10746,7 +10860,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -10764,7 +10881,9 @@ "description": "A list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "description": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -10792,7 +10911,9 @@ "description": "A string describing the reason the job ended." } }, - "required": ["startTime"], + "required": [ + "startTime" + ], "description": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -10839,7 +10960,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10858,7 +10982,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -10969,7 +11096,10 @@ "description": "The flag that determines if this job will use tasks with dependencies." } }, - "required": ["id", "poolInfo"], + "required": [ + "id", + "poolInfo" + ], "description": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -10998,7 +11128,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -11016,7 +11149,9 @@ "description": "The list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "description": "Information about an error when scheduling a task." }, "JobPreparationTaskExecutionInformation": { @@ -11038,7 +11173,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobPreparationTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -11068,7 +11206,11 @@ "description": "The most recent time at which a retry of the Job Preparation task started running. This property is set only if the task was retried (i.e. retryCount is nonzero)." } }, - "required": ["startTime","retryCount","state"], + "required": [ + "startTime", + "retryCount", + "state" + ], "description": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -11090,7 +11232,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobReleaseTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -11110,7 +11255,10 @@ "description": "The scheduling error encountered by the Batch service when starting the task." } }, - "required": ["startTime","state"], + "required": [ + "startTime", + "state" + ], "description": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -11190,7 +11338,9 @@ "description": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": ["timestamp"], + "required": [ + "timestamp" + ], "description": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -11228,7 +11378,9 @@ "description": "The Azure Guest OS Version currently installed on the virtual machines in the pool. This may differ from TargetOSVersion if the pool state is Upgrading." } }, - "required": ["osFamily"], + "required": [ + "osFamily" + ], "description": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -11250,7 +11402,11 @@ "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." } }, - "required": ["publisher", "offer", "sku"], + "required": [ + "publisher", + "offer", + "sku" + ], "description": "A reference to an Azure Virtual Machines Marketplace image." }, "WindowsConfiguration": { @@ -11277,7 +11433,10 @@ "description": "Windows operating system settings on the virtual machine. This property must not be specified if the ImageReference property specifies a Linux OS image." } }, - "required": ["imageReference", "nodeAgentSKUId"], + "required": [ + "imageReference", + "nodeAgentSKUId" + ], "description": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "CloudPool": { @@ -11316,7 +11475,10 @@ "deleting", "upgrading" ], - "x-ms-enum": { "name": "PoolState", "modelAsString": false } + "x-ms-enum": { + "name": "PoolState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11331,7 +11493,10 @@ "resizing", "stopping" ], - "x-ms-enum": { "name": "AllocationState", "modelAsString": false } + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": false + } }, "allocationStateTransitionTime": { "type": "string", @@ -11515,7 +11680,10 @@ "description": "A list of name-value pairs associated with the pool as metadata." } }, - "required": ["id", "vmSize"], + "required": [ + "id", + "vmSize" + ], "description": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -11601,7 +11769,10 @@ "description": "The most recent time at which the task has been requeued by the Batch service as the result of a user request." } }, - "required": ["requeueCount","retryCount"], + "required": [ + "requeueCount", + "retryCount" + ], "description": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -11652,7 +11823,9 @@ "description": "A list of files that the Batch service will download before running the coordination command line. The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary." } }, - "required": ["numberOfInstances"], + "required": [ + "numberOfInstances" + ], "description": "Settings which specify how to run a multi-instance task. Multi-instance tasks are commonly used to support MPI tasks." }, "TaskStatistics": { @@ -11712,7 +11885,19 @@ "description": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "description": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -11748,7 +11933,10 @@ } }, "description": "A range of task ids that a task can depend on. All tasks with ids in the range must complete successfully before the dependent task can be scheduled.", - "required": ["start", "end"] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -11787,7 +11975,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11803,7 +11994,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -11912,7 +12106,10 @@ "description": "Any other tasks that this task depends on." } }, - "required": ["id", "commandLine"], + "required": [ + "id", + "commandLine" + ], "description": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -11925,7 +12122,9 @@ "description": "The collection of tasks to add." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -11939,7 +12138,9 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "TaskAddStatus" } + "x-ms-enum": { + "name": "TaskAddStatus" + } }, "taskId": { "type": "string", @@ -11963,7 +12164,10 @@ "description": "The error encountered while attempting to add the task." } }, - "required": ["status","taskId"], + "required": [ + "status", + "taskId" + ], "description": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -12017,7 +12221,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -12033,7 +12240,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -12099,14 +12309,19 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "executionInfo": { "$ref": "#/definitions/TaskExecutionInformation", "description": "Information about the execution of the task." } }, - "required": ["taskState"], + "required": [ + "taskState" + ], "description": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -12118,7 +12333,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "StartTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "StartTaskState", + "modelAsString": false + } }, "startTime": { "type": "string", @@ -12150,7 +12368,11 @@ "description": "The most recent time at which a retry of the task started running." } }, - "required": ["state","startTime","retryCount"], + "required": [ + "state", + "startTime", + "retryCount" + ], "description": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -12200,7 +12422,10 @@ "leavingpool", "offline" ], - "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeState", + "modelAsString": false + } }, "schedulingState": { "type": "string", @@ -12209,7 +12434,10 @@ "enabled", "disabled" ], - "x-ms-enum": { "name": "SchedulingState", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -12325,7 +12553,9 @@ "description": "The SSH public key that can be used for remote login to the compute node." } }, - "required": ["name"], + "required": [ + "name" + ], "description": "An user account on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -12340,7 +12570,10 @@ "description": "The port used for remote login to the compute node." } }, - "required": ["remoteLoginIPAddress","remoteLoginPort"], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "description": "Response to a ComputeNodeOperation.GetRemoteLoginSettings request." }, "JobSchedulePatchParameter": { @@ -12381,7 +12614,10 @@ "description": "A list of name-value pairs associated with the job schedule as metadata. If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": ["schedule", "jobSpecification"], + "required": [ + "schedule", + "jobSpecification" + ], "description": "Parameters for a CloudJobScheduleOperations.Update request." }, "JobDisableParameter": { @@ -12394,10 +12630,15 @@ "terminate", "wait" ], - "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableJobOption", + "modelAsString": false + } } }, - "required": ["disableTasks"], + "required": [ + "disableTasks" + ], "description": "Parameters for a CloudJobOperations.Disable request." }, "JobTerminateParameter": { @@ -12457,7 +12698,9 @@ "description": "A list of name-value pairs associated with the job as metadata. If omitted, the existing job metadata is left unchanged." } }, - "required": ["poolInfo"], + "required": [ + "poolInfo" + ], "description": "Parameters for a CloudJobOperations.Update request." }, "PoolEnableAutoScaleParameter": { @@ -12481,7 +12724,9 @@ "description": "A formula for the desired number of compute nodes in the pool." } }, - "required": ["autoScaleFormula"], + "required": [ + "autoScaleFormula" + ], "description": "Parameters for a CloudJobOperations.EvaluateAutoScale request." }, "PoolResizeParameter": { @@ -12505,10 +12750,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["targetDedicated"], + "required": [ + "targetDedicated" + ], "description": "Parameters for a CloudPoolOperations.Resize request." }, "PoolUpdatePropertiesParameter": { @@ -12539,7 +12789,11 @@ "description": "A list of name-value pairs associated with the pool as metadata. If you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": ["certificateReferences", "metadata", "applicationPackageReferences"], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "description": "Parameters for a CloudPoolOperations.UpdateProperties request." }, "PoolUpgradeOSParameter": { @@ -12549,7 +12803,9 @@ "description": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": ["targetOSVersion"], + "required": [ + "targetOSVersion" + ], "description": "Parameters for a CloudPoolOperations.UpgradeOS request." }, "PoolPatchParameter": { @@ -12620,7 +12876,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeRebootOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.Reboot request." @@ -12636,7 +12895,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeReimageOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.Reimage request." @@ -12651,7 +12913,10 @@ "terminate", "taskcompletion" ], - "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableComputeNodeSchedulingOption", + "modelAsString": false + } } }, "description": "Parameters for a ComputeNodeOperations.DisableScheduling request." @@ -12679,10 +12944,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["nodeList"], + "required": [ + "nodeList" + ], "description": "Parameters for a ComputeNodeOperations.Remove request." }, "ErrorMessage": { @@ -12741,4 +13011,4 @@ "description": "Client API Version." } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json index d87ed82be381..7803cde748d0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json @@ -1293,7 +1293,7 @@ "default": 30, "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", "x-ms-parameter-grouping": { - "postfix": "Options" + "postfix": "Options" } }, { @@ -8235,7 +8235,7 @@ "post": { "tags": [ "Tasks" - ], + ], "operationId": "Task_Terminate", "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -9100,7 +9100,7 @@ "description": "The OData ID of the resource to which the request applied.", "type": "string" } - }, + }, "description": "The request to the Batch service was successful." }, "default": { @@ -9848,7 +9848,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListPoolUsageMetricsResult": { @@ -9889,7 +9897,10 @@ "windows", "unmapped" ], - "x-ms-enum": {"name": "OSType", "modelAsString": false } + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } } }, "title": "A node agent SKU supported by the Batch service.", @@ -9929,7 +9940,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": ["startTime","lastUpdateTime","dedicatedCoreTime"], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10000,7 +10015,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10028,7 +10057,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": ["url","startTime","lastUpdateTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10106,7 +10139,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10165,7 +10213,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": {"name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -10181,7 +10232,10 @@ "deleting", "deletefailed" ], - "x-ms-enum": { "name": "CertificateState", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -10213,7 +10267,9 @@ "description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409." } }, - "required": ["applicationId"], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10234,7 +10290,11 @@ } } }, - "required": ["id", "displayName", "versions"], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10259,7 +10319,10 @@ "cer", "unmapped" ], - "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateFormat", + "modelAsString": false + } }, "password": { "type": "string", @@ -10267,7 +10330,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": ["thumbprint", "thumbprintAlgorithm", "data"], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -10314,7 +10381,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": ["lastModified","contentLength"], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -10417,7 +10487,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": ["blobSource", "filePath"], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -10431,10 +10504,12 @@ "title": "The value of the environment variable." } }, - "required": ["name"], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, - "ExitConditions": { + "ExitConditions": { "properties": { "exitCodes": { "type": "array", @@ -10475,7 +10550,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": ["code","exitOptions"] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -10495,8 +10573,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": ["start", "end","exitOptions"] - + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -10509,8 +10590,11 @@ "disable", "terminate" ], - "x-ms-enum": { "name": "JobAction", "modelAsString": false } - } + "x-ms-enum": { + "name": "JobAction", + "modelAsString": false + } + } }, "title": "How the Batch service should respond to a particular exit condition." }, @@ -10596,7 +10680,10 @@ "description": "Application packages are downloaded and deployed to a shared directory, not the task directory. Therefore, if a referenced package is already on the compute node, and is up to date, then it is not re-downloaded; the existing copy on the compute node is used. If a referenced application package cannot be installed, for example because the package has been deleted or because download failed, the task fails with a scheduling error. This property is currently not supported on jobs running on pools created using the virtualMachineConfiguration (IaaS) property. If a task specifying applicationPackageReferences runs on such a pool, it fails with a scheduling error with code TaskSchedulingConstraintFailed." } }, - "required": ["id", "commandLine"], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task." }, "JobPreparationTask": { @@ -10645,7 +10732,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": ["commandLine"], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node." }, "JobReleaseTask": { @@ -10692,7 +10781,9 @@ "description": "The default value is false." } }, - "required": ["commandLine"], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run." }, "TaskSchedulingPolicy": { @@ -10705,10 +10796,15 @@ "pack", "unmapped" ], - "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeFillType", + "modelAsString": false + } } }, - "required": ["nodeFillType"], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -10748,7 +10844,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": ["commandLine"], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged." }, "CertificateReference": { @@ -10770,7 +10868,10 @@ "localmachine", "unmapped" ], - "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateStoreLocation", + "modelAsString": false + } }, "storeName": { "type": "string", @@ -10787,13 +10888,19 @@ "remoteuser", "unmapped" ], - "x-ms-enum": { "name": "CertificateVisibility", "modelAsString": false } + "x-ms-enum": { + "name": "CertificateVisibility", + "modelAsString": false + } }, "title": "Which user accounts on the compute node should have access to the private data of the certificate.", "description": "The default is all accounts." } }, - "required": ["thumbprint", "thumbprintAlgorithm"], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -10807,7 +10914,10 @@ "title": "The value of the metadata item." } }, - "required": ["name", "value"], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -10909,7 +11019,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": ["vmSize"], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -10928,7 +11040,10 @@ "job", "unmapped" ], - "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false } + "x-ms-enum": { + "name": "PoolLifetimeOption", + "modelAsString": false + } }, "keepAlive": { "type": "boolean", @@ -10940,7 +11055,9 @@ "title": "The pool specification for the auto pool." } }, - "required": ["poolLifetimeOption"], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -10983,7 +11100,10 @@ "noAction", "terminateJob" ], - "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false } + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false + } }, "onTaskFailure": { "type": "string", @@ -10993,7 +11113,10 @@ "noAction", "performExitOptionsJobAction" ], - "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false } + "x-ms-enum": { + "name": "OnTaskFailure", + "modelAsString": false + } }, "constraints": { "$ref": "#/definitions/JobConstraints", @@ -11035,7 +11158,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": ["poolInfo"], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -11147,7 +11272,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -11191,7 +11331,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11209,7 +11352,10 @@ "terminating", "deleting" ], - "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false } + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -11273,7 +11419,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": ["id", "schedule", "jobSpecification"], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -11302,7 +11452,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -11320,7 +11473,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -11353,7 +11508,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete – the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry – the job reached its maxWallClockTime constraint. TerminateJobSchedule – the job ran as part of a schedule, and the schedule terminated. AllTasksComplete – the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed – the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": ["startTime"], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -11403,7 +11560,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11423,7 +11583,10 @@ "completed", "deleting" ], - "x-ms-enum": { "name": "JobState", "modelAsString": false } + "x-ms-enum": { + "name": "JobState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -11474,7 +11637,10 @@ "noAction", "terminateJob" ], - "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false } + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false + } }, "onTaskFailure": { "type": "string", @@ -11484,7 +11650,10 @@ "noAction", "performExitOptionsJobAction" ], - "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false } + "x-ms-enum": { + "name": "OnTaskFailure", + "modelAsString": false + } }, "metadata": { "type": "array", @@ -11561,7 +11730,10 @@ "noAction", "terminateJob" ], - "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false } + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false + } }, "onTaskFailure": { "type": "string", @@ -11571,7 +11743,10 @@ "noAction", "performExitOptionsJobAction" ], - "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false } + "x-ms-enum": { + "name": "OnTaskFailure", + "modelAsString": false + } }, "metadata": { "type": "array", @@ -11586,7 +11761,10 @@ "title": "The flag that determines if this job will use tasks with dependencies." } }, - "required": ["id", "poolInfo"], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -11615,7 +11793,10 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingErrorCategory", + "modelAsString": false + } }, "code": { "type": "string", @@ -11633,7 +11814,9 @@ "title": "The list of additional error details related to the scheduling error." } }, - "required": ["category"], + "required": [ + "category" + ], "title": "Information about an error when scheduling a task." }, "JobPreparationTaskExecutionInformation": { @@ -11658,7 +11841,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobPreparationTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -11690,7 +11876,11 @@ "description": "This property is set only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." } }, - "required": ["startTime","retryCount","state"], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -11714,7 +11904,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "JobReleaseTaskState", + "modelAsString": false + } }, "taskRootDirectory": { "type": "string", @@ -11735,7 +11928,10 @@ "title": "The error encountered by the Batch service when starting the task." } }, - "required": ["startTime","state"], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -11817,7 +12013,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": ["timestamp"], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -11858,7 +12056,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": ["osFamily"], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -11884,7 +12084,11 @@ "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." } }, - "required": ["publisher", "offer", "sku"], + "required": [ + "publisher", + "offer", + "sku" + ], "title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation." }, "WindowsConfiguration": { @@ -11914,7 +12118,10 @@ "description": "This property must not be specified if the imageReference property specifies a Linux OS image." } }, - "required": ["imageReference", "nodeAgentSKUId"], + "required": [ + "imageReference", + "nodeAgentSKUId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "NetworkConfiguration": { @@ -11972,7 +12179,10 @@ "deleting", "upgrading" ], - "x-ms-enum": { "name": "PoolState", "modelAsString": false } + "x-ms-enum": { + "name": "PoolState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -11988,7 +12198,10 @@ "resizing", "stopping" ], - "x-ms-enum": { "name": "AllocationState", "modelAsString": false } + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": false + } }, "allocationStateTransitionTime": { "type": "string", @@ -12179,7 +12392,7 @@ "$ref": "#/definitions/CertificateReference" }, "title": "The list of certificates to be installed on each compute node in the pool.", - "description": "For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home//certs) where certificates are placed." + "description": "For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home//certs) where certificates are placed." }, "applicationPackageReferences": { "type": "array", @@ -12208,7 +12421,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": ["id", "vmSize"], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -12251,7 +12467,9 @@ "description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task." } }, - "required": ["affinityId"], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -12304,7 +12522,10 @@ "description": "This property is set only if the requeueCount is nonzero." } }, - "required": ["requeueCount","retryCount"], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -12357,7 +12578,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary." } }, - "required": ["numberOfInstances"], + "required": [ + "numberOfInstances" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -12419,7 +12642,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -12456,7 +12691,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": ["start", "end"] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -12502,7 +12740,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -12519,7 +12760,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -12657,7 +12901,10 @@ "title": "A list of application packages that the Batch service will deploy to the compute node before running the command line." } }, - "required": ["id", "commandLine"], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -12671,7 +12918,9 @@ "title": "The collection of tasks to add." } }, - "required": ["value"], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -12685,7 +12934,9 @@ "servererror", "unmapped" ], - "x-ms-enum": { "name": "TaskAddStatus" } + "x-ms-enum": { + "name": "TaskAddStatus" + } }, "taskId": { "type": "string", @@ -12709,7 +12960,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": ["status","taskId"], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -12765,7 +13019,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -12782,7 +13039,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "previousStateTransitionTime": { "type": "string", @@ -12849,14 +13109,19 @@ "running", "completed" ], - "x-ms-enum": { "name": "TaskState", "modelAsString": false } + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false + } }, "executionInfo": { "$ref": "#/definitions/TaskExecutionInformation", "title": "Information about the execution of the task." } }, - "required": ["taskState"], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -12869,7 +13134,10 @@ "running", "completed" ], - "x-ms-enum": { "name": "StartTaskState", "modelAsString": false } + "x-ms-enum": { + "name": "StartTaskState", + "modelAsString": false + } }, "startTime": { "type": "string", @@ -12906,7 +13174,11 @@ "description": "This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." } }, - "required": ["state","startTime","retryCount"], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -12957,7 +13229,10 @@ "leavingpool", "offline" ], - "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeState", + "modelAsString": false + } }, "schedulingState": { "type": "string", @@ -12967,7 +13242,10 @@ "enabled", "disabled" ], - "x-ms-enum": { "name": "SchedulingState", "modelAsString": false } + "x-ms-enum": { + "name": "SchedulingState", + "modelAsString": false + } }, "stateTransitionTime": { "type": "string", @@ -13091,7 +13369,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": ["name"], + "required": [ + "name" + ], "title": "An user account on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -13106,7 +13386,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": ["remoteLoginIPAddress","remoteLoginPort"], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -13153,7 +13436,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": ["schedule", "jobSpecification"], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -13167,10 +13453,15 @@ "terminate", "wait" ], - "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableJobOption", + "modelAsString": false + } } }, - "required": ["disableTasks"], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -13198,7 +13489,10 @@ "noAction", "terminateJob" ], - "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false } + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false + } }, "constraints": { "$ref": "#/definitions/JobConstraints", @@ -13255,10 +13549,15 @@ "noAction", "terminateJob" ], - "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false } + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false + } } }, - "required": ["poolInfo"], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -13285,7 +13584,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": ["autoScaleFormula"], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -13311,10 +13612,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["targetDedicated"], + "required": [ + "targetDedicated" + ], "title": "Options for changing the size of a pool." }, "PoolUpdatePropertiesParameter": { @@ -13349,7 +13655,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": ["certificateReferences", "metadata", "applicationPackageReferences"], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -13359,7 +13669,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": ["targetOSVersion"], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -13439,7 +13751,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeRebootOption", + "modelAsString": false + } } }, "title": "Options for rebooting a compute node." @@ -13456,7 +13771,10 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeReimageOption", + "modelAsString": false + } } }, "title": "Options for reimaging a compute node." @@ -13472,7 +13790,10 @@ "terminate", "taskcompletion" ], - "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false } + "x-ms-enum": { + "name": "DisableComputeNodeSchedulingOption", + "modelAsString": false + } } }, "title": "Options for disabling scheduling on a compute node." @@ -13503,10 +13824,15 @@ "taskcompletion", "retaineddata" ], - "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false } + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false + } } }, - "required": ["nodeList"], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "ErrorMessage": { @@ -13565,4 +13891,4 @@ "description": "Client API Version." } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json index af327c849ccd..809b32de34f2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json @@ -247,7 +247,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.", @@ -399,7 +401,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -523,7 +527,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -623,7 +629,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -723,7 +731,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -833,7 +843,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -967,7 +979,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1082,7 +1096,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1191,7 +1207,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1314,7 +1332,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1598,7 +1618,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1763,7 +1785,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified task file from the compute node.", "x-ms-request-id": "request-id", @@ -2047,7 +2071,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2215,7 +2241,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2363,7 +2391,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2651,7 +2681,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2784,7 +2816,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2950,7 +2984,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3107,7 +3143,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3266,7 +3304,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3416,7 +3456,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3565,7 +3607,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3714,8 +3758,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3825,7 +3873,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4099,7 +4149,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4265,7 +4317,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4422,7 +4476,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4581,7 +4637,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4740,7 +4798,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4890,7 +4950,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5049,8 +5111,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5161,7 +5227,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5459,7 +5527,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ", @@ -5601,8 +5671,12 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5713,7 +5787,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5857,7 +5933,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6133,7 +6211,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6559,7 +6639,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6718,7 +6800,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.", @@ -6838,7 +6922,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -6997,7 +7083,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7147,7 +7235,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7420,7 +7510,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7579,8 +7671,12 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7697,7 +7793,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7849,8 +7947,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.", @@ -7955,7 +8057,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8095,7 +8199,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8273,7 +8379,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8438,7 +8546,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8562,7 +8672,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8719,7 +8831,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates the specified task.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).", @@ -8876,7 +8990,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9000,7 +9116,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9105,7 +9223,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password or expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9236,7 +9356,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9359,7 +9481,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9483,7 +9607,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9607,7 +9733,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9730,7 +9858,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9844,7 +9974,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.", @@ -10072,7 +10204,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10245,7 +10379,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10349,7 +10491,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10420,7 +10566,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10448,7 +10608,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10526,7 +10690,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10621,7 +10800,9 @@ "description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10642,7 +10823,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10678,7 +10863,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -10725,7 +10914,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -10828,7 +11020,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -10842,7 +11037,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -10886,7 +11083,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -10906,7 +11106,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11001,7 +11205,10 @@ "description": "The SSH private key establishes password-less SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true. This property will be ignored in a Windows pool." } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user on an Azure Batch node." }, "TaskConstraints": { @@ -11092,7 +11299,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task." }, "JobPreparationTask": { @@ -11142,7 +11352,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node." }, "JobReleaseTask": { @@ -11189,7 +11401,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run." }, "TaskSchedulingPolicy": { @@ -11208,7 +11422,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11249,7 +11465,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged." }, "CertificateReference": { @@ -11300,7 +11518,10 @@ "description": "The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11314,7 +11535,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11423,7 +11647,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -11457,7 +11683,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -11542,7 +11770,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -11654,7 +11884,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -11764,7 +12009,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -11805,7 +12054,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -11838,7 +12089,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12031,7 +12284,10 @@ "title": "The flag that determines if this job will use tasks with dependencies." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12072,7 +12328,9 @@ "title": "The list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about an error when scheduling a task." }, "JobPreparationTaskExecutionInformation": { @@ -12132,7 +12390,11 @@ "description": "This property is set only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12180,7 +12442,10 @@ "title": "The error encountered by the Batch service when starting the task." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12262,7 +12527,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12303,7 +12570,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -12329,7 +12598,11 @@ "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." } }, - "required": [ "publisher", "offer", "sku" ], + "required": [ + "publisher", + "offer", + "sku" + ], "title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation." }, "OSDisk": { @@ -12357,7 +12630,9 @@ } } }, - "required": [ "imageUris" ], + "required": [ + "imageUris" + ], "title": "A reference to an OS disk image." }, "WindowsConfiguration": { @@ -12393,7 +12668,9 @@ "description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image." } }, - "required": [ "nodeAgentSKUId" ], + "required": [ + "nodeAgentSKUId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "NetworkConfiguration": { @@ -12707,7 +12984,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -12750,7 +13030,9 @@ "description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -12803,7 +13085,10 @@ "description": "This property is set only if the requeueCount is nonzero." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -12856,7 +13141,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary." } }, - "required": [ "numberOfInstances" ], + "required": [ + "numberOfInstances" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -12918,7 +13205,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -12955,7 +13254,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -13153,7 +13455,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -13167,7 +13472,9 @@ "title": "The collection of tasks to add." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -13181,7 +13488,9 @@ "serverError", "unmapped" ], - "x-ms-enum": { "name": "TaskAddStatus" } + "x-ms-enum": { + "name": "TaskAddStatus" + } }, "taskId": { "type": "string", @@ -13205,7 +13514,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -13331,7 +13643,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -13384,7 +13698,11 @@ "description": "This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -13575,7 +13893,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -13590,7 +13910,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -13637,7 +13960,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -13657,7 +13983,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -13735,7 +14063,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -13762,7 +14092,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -13784,7 +14116,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "targetDedicated" ], + "required": [ + "targetDedicated" + ], "title": "Options for changing the size of a pool." }, "PoolUpdatePropertiesParameter": { @@ -13819,7 +14153,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -13829,7 +14167,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -13978,7 +14318,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "ErrorMessage": { @@ -14176,4 +14518,3 @@ } } } - diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json index f12b72b9e370..042031a1127e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json index a98b75c12ff5..b731e046c9b7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json index 26c5f96c87bf..82509a1f35ff 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json index a46d4e70e9a2..eb0343a86bca 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json index 9b9d12765743..19ea59bd4651 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json index bd6542ba5782..41cfaff8b603 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json index aa2ec6062bd5..5b0e350c153c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json index 7d14815da786..16708cb6b080 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json index 8e72bb4399a6..1597a89e6de8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json index 8942e96948a8..6e8aa5ebae66 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json index 1496110130ea..12f0121b18f5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json index 94fd190468af..96ef570fa654 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json index 8b47aff3c30f..0ba59d2a0f7f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json index 68040f9b5529..b30d94c4e79a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -75,7 +75,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -117,4 +117,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json index d72a06c54d37..0172e5d1cda0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json index c39f4a225edd..467c5b0074d2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json index 0bae4ebd131d..e41523ad29b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json index 931d167134ad..3eecc86a1d63 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json index d46127d23d13..6f9ec3a867e8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json index a73a1ed98003..69f291f29610 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json index 74eb40fdb399..633b03e3b45e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json index 287a8aa9b03c..f20faf293f53 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json index b831d5cd634a..7254a08778b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json @@ -125,4 +125,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json index 4286e8936fd9..70503e2dca8a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json index bd838eed45cc..ab1feb6aba32 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json index bd838eed45cc..ab1feb6aba32 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json index 4eb145e6c1b5..b9ba874c54b9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json index 73b0a141db00..b47ff0accdb6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json index 71c677593b57..d7daaf19e003 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json index 4286e8936fd9..70503e2dca8a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json index 6a26f335736f..b80e1cab27a7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json index 858bdcbb7518..157911e56b18 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json index 0984430be61d..b7b2b4c0b137 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json index 2b99a1feae5d..20a552c3cc97 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json index 8b2594aa20df..2c63260fecee 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json index ba6f824d4010..f2742df1646b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json index 6b80e4ce452d..aac71e40143d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json index 75ef488d233f..1eb45beab923 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json index fd8f31449915..f8ed81fd4681 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json @@ -24,7 +24,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json index eef743916ec2..34a9090297cb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json @@ -25,7 +25,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -58,7 +58,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -91,7 +91,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json index b6f7a4c8247f..48f35fc4219f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json index ecf2fbd08dcb..1be0d177c9ed 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json index b8133e62e607..299837ef534c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json index d63b5503d867..7cb72a72373a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,18 +9,20 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicated":5, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicated": 5, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -30,4 +32,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json index 37d68f070561..71dcf4ad34a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,18 +14,20 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicated":5, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicated": 5, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -35,4 +37,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json index 291ec9d4c156..8bebb0e32786 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json index ad4f5ab36c4a..3874f8fce8e2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json index f349a11851d4..aa523e32d335 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json index 66a6f825a84e..8280444a7bf9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json index de9588a32e5a..355f38b506af 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json @@ -25,7 +25,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json index edb909a0ed4d..d3601e6f89e3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json index 3a0c9d4d46ed..c8e8b2a29519 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json @@ -26,7 +26,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json index 39e38639f343..4e63e864e6cd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json index d950ce2f5a92..eafb8c809157 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json index 291ec9d4c156..8bebb0e32786 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json index 0cd0554faba0..a171cde43df9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json index 831eee286aa7..dc9557b7597a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json index b9e50d5209b1..0da43c0d194c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json index 31020aaa3660..7258c9dc1891 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json index 06a461d670a3..2527fdce6a87 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json index dcc6788d32af..3cd0fe6a8510 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json index 48b4cb0389ad..d8c82f4ca69c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json index 1dd23be937e2..057b4dce1513 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json index ead6fef7c89c..2a3e6fae74a6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json index 37cd57df63b5..20e993bd5b6a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json index 37cd57df63b5..20e993bd5b6a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json index 1698e7578413..846bbab3760d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json index 9afeb9d464e9..0d79120f866c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json @@ -247,7 +247,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.", @@ -399,7 +401,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -523,7 +527,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -623,7 +629,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -723,7 +731,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -833,7 +843,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -967,7 +979,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1082,7 +1096,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1191,7 +1207,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1314,7 +1332,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1598,7 +1618,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1763,7 +1785,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2047,7 +2071,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2215,7 +2241,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2363,7 +2391,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2651,7 +2681,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2784,7 +2816,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2950,7 +2984,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3107,7 +3143,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3266,7 +3304,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3416,7 +3456,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3565,7 +3607,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3714,8 +3758,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3825,7 +3873,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4099,7 +4149,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4265,7 +4317,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4422,7 +4476,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4581,7 +4637,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4740,7 +4798,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4890,7 +4950,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5049,8 +5111,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5161,7 +5227,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5459,7 +5527,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ", @@ -5601,8 +5671,12 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5713,7 +5787,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5857,7 +5933,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6133,7 +6211,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6559,7 +6639,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6718,7 +6800,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.", @@ -6838,7 +6922,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -6997,7 +7083,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7147,7 +7235,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7420,7 +7510,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7579,8 +7671,12 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7697,7 +7793,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7849,8 +7947,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.", @@ -7955,7 +8057,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8095,7 +8199,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8273,7 +8379,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8438,7 +8546,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8562,7 +8672,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8719,7 +8831,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates the specified task.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).", @@ -8876,7 +8990,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9000,7 +9116,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9105,7 +9223,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password or expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9236,7 +9356,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9359,7 +9481,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9483,7 +9607,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9607,7 +9733,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9730,7 +9858,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9844,7 +9974,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.", @@ -10072,7 +10204,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10245,7 +10379,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10349,7 +10491,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10420,7 +10566,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10448,7 +10608,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10526,7 +10690,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10621,7 +10800,9 @@ "description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10642,7 +10823,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10677,7 +10862,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -10724,7 +10913,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -10827,7 +11019,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -10841,7 +11036,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -10890,7 +11087,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -10910,7 +11110,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11027,7 +11231,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11078,7 +11285,7 @@ "title": "A list of files that the Batch service will download to the compute node before running the command line.", "description": "Files listed under this element are located in the task's working directory." }, - "outputFiles": { + "outputFiles": { "type": "array", "items": { "$ref": "#/definitions/OutputFile" @@ -11130,7 +11337,10 @@ "description": "The default value is false." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task." }, "JobPreparationTask": { @@ -11180,7 +11390,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node." }, "JobReleaseTask": { @@ -11227,7 +11439,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run." }, "TaskSchedulingPolicy": { @@ -11245,7 +11459,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11286,7 +11502,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged." }, "CertificateReference": { @@ -11336,7 +11554,10 @@ "description": "The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11350,7 +11571,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11453,7 +11677,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -11473,7 +11697,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -11506,7 +11732,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -11591,7 +11819,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -11703,7 +11933,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -11813,7 +12058,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -11854,7 +12103,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -11887,7 +12138,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12080,7 +12333,10 @@ "title": "The flag that determines if this job will use tasks with dependencies." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12121,7 +12377,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12187,7 +12445,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12241,7 +12503,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12323,7 +12588,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12364,7 +12631,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -12390,7 +12659,11 @@ "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." } }, - "required": [ "publisher", "offer", "sku" ], + "required": [ + "publisher", + "offer", + "sku" + ], "title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation." }, "OSDisk": { @@ -12418,7 +12691,9 @@ } } }, - "required": [ "imageUris" ], + "required": [ + "imageUris" + ], "title": "A reference to an OS disk image." }, "WindowsConfiguration": { @@ -12454,7 +12729,9 @@ "description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image." } }, - "required": [ "nodeAgentSKUId" ], + "required": [ + "nodeAgentSKUId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "NetworkConfiguration": { @@ -12644,7 +12921,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -12773,7 +13050,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -12803,7 +13080,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -12846,7 +13126,9 @@ "description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -12904,7 +13186,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -12957,7 +13242,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary." } }, - "required": [ "numberOfInstances" ], + "required": [ + "numberOfInstances" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -13019,7 +13306,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13056,7 +13355,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -13270,7 +13572,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -13284,7 +13589,9 @@ "title": "The collection of tasks to add." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -13297,7 +13604,9 @@ "clientError", "serverError" ], - "x-ms-enum": { "name": "TaskAddStatus" } + "x-ms-enum": { + "name": "TaskAddStatus" + } }, "taskId": { "type": "string", @@ -13321,7 +13630,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -13453,7 +13765,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -13512,7 +13826,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -13708,7 +14026,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -13723,7 +14043,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -13770,7 +14093,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -13790,7 +14116,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -13868,7 +14196,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -13895,7 +14225,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -13956,7 +14288,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -13966,7 +14302,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -14115,7 +14453,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -14134,7 +14474,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -14159,7 +14503,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -14170,7 +14516,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { @@ -14394,4 +14742,3 @@ } } } - diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json index f12b72b9e370..042031a1127e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json index a98b75c12ff5..b731e046c9b7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json index 26c5f96c87bf..82509a1f35ff 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json index a46d4e70e9a2..eb0343a86bca 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json index 9b9d12765743..19ea59bd4651 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json index bd6542ba5782..41cfaff8b603 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json index aa2ec6062bd5..5b0e350c153c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json index 7d14815da786..16708cb6b080 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json index 8e72bb4399a6..1597a89e6de8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json index 8942e96948a8..6e8aa5ebae66 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json index 1496110130ea..12f0121b18f5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json index 94fd190468af..96ef570fa654 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json index 8b47aff3c30f..0ba59d2a0f7f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json index 68040f9b5529..b30d94c4e79a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -75,7 +75,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -117,4 +117,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json index d72a06c54d37..0172e5d1cda0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json index c39f4a225edd..467c5b0074d2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json index 0bae4ebd131d..e41523ad29b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json index 931d167134ad..3eecc86a1d63 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json index d46127d23d13..6f9ec3a867e8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json index a73a1ed98003..69f291f29610 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json index 74eb40fdb399..633b03e3b45e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json index 287a8aa9b03c..f20faf293f53 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json index b831d5cd634a..7254a08778b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json @@ -125,4 +125,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json index 4286e8936fd9..70503e2dca8a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json index bd838eed45cc..ab1feb6aba32 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json index bd838eed45cc..ab1feb6aba32 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json index 4eb145e6c1b5..b9ba874c54b9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json index 73b0a141db00..b47ff0accdb6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json index 71c677593b57..d7daaf19e003 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json index 4286e8936fd9..70503e2dca8a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json index 6a26f335736f..b80e1cab27a7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json index 858bdcbb7518..157911e56b18 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json index 0984430be61d..b7b2b4c0b137 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json index 2b99a1feae5d..20a552c3cc97 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json index 8b2594aa20df..2c63260fecee 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json index ba6f824d4010..f2742df1646b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json index 6b80e4ce452d..aac71e40143d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json index 75ef488d233f..1eb45beab923 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json index fd8f31449915..f8ed81fd4681 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json @@ -24,7 +24,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json index eef743916ec2..34a9090297cb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json @@ -25,7 +25,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -58,7 +58,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -91,7 +91,7 @@ "runningTasksCount": 0, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json index b6f7a4c8247f..48f35fc4219f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json index ecf2fbd08dcb..1be0d177c9ed 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json index b8133e62e607..299837ef534c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json index d63b5503d867..7cb72a72373a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,18 +9,20 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicated":5, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicated": 5, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -30,4 +32,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json index 37d68f070561..71dcf4ad34a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,18 +14,20 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicated":5, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicated": 5, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -35,4 +37,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json index 291ec9d4c156..8bebb0e32786 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json index ad4f5ab36c4a..3874f8fce8e2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json index f349a11851d4..aa523e32d335 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json index 66a6f825a84e..8280444a7bf9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json index de9588a32e5a..355f38b506af 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json @@ -25,7 +25,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json index edb909a0ed4d..d3601e6f89e3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json index 3a0c9d4d46ed..c8e8b2a29519 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json @@ -26,7 +26,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json index 39e38639f343..4e63e864e6cd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json index d950ce2f5a92..eafb8c809157 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json index 291ec9d4c156..8bebb0e32786 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json index 0cd0554faba0..a171cde43df9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json index 831eee286aa7..dc9557b7597a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json index b9e50d5209b1..0da43c0d194c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json index 31020aaa3660..7258c9dc1891 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json index 06a461d670a3..2527fdce6a87 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json index dcc6788d32af..3cd0fe6a8510 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json index 48b4cb0389ad..d8c82f4ca69c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json index 1dd23be937e2..057b4dce1513 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json index ead6fef7c89c..2a3e6fae74a6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json index 37cd57df63b5..20e993bd5b6a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json index 37cd57df63b5..20e993bd5b6a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json index 1698e7578413..846bbab3760d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json index 823c8d6bcec3..1e6093ac0f7e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json @@ -248,7 +248,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -400,7 +402,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -524,7 +528,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -624,7 +630,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -724,7 +732,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -834,7 +844,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -968,7 +980,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1083,7 +1097,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1192,7 +1208,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1315,7 +1333,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1599,7 +1619,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1764,7 +1786,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2048,7 +2072,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2216,7 +2242,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2364,7 +2392,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2652,7 +2682,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2785,7 +2817,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2951,7 +2985,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3108,7 +3144,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3267,7 +3305,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3417,7 +3457,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3566,7 +3608,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3715,8 +3759,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3826,7 +3874,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4100,7 +4150,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4266,7 +4318,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4423,7 +4477,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4582,7 +4638,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4741,7 +4799,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4891,7 +4951,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5050,8 +5112,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5162,7 +5228,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5460,7 +5528,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5602,7 +5672,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the task counts for the specified job.", "description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.", @@ -5700,8 +5772,12 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5812,7 +5888,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5956,7 +6034,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6232,7 +6312,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6658,7 +6740,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6817,7 +6901,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.", @@ -6937,7 +7023,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -7096,7 +7184,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7246,7 +7336,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7519,7 +7611,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7678,8 +7772,12 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7796,7 +7894,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7948,8 +8048,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt.", @@ -8054,7 +8158,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8194,7 +8300,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8372,7 +8480,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8537,7 +8647,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8661,7 +8773,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8818,7 +8932,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).", @@ -8975,7 +9091,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9099,7 +9217,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9204,7 +9324,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9335,7 +9457,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9458,7 +9582,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9582,7 +9708,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9706,7 +9834,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "description": "You can disable task scheduling on a node only if its current scheduling state is enabled.", @@ -9830,7 +9960,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "description": "You can enable task scheduling on a node only if its current scheduling state is disabled", @@ -9945,7 +10077,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10173,7 +10307,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10346,7 +10482,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10450,7 +10594,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10521,7 +10669,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10549,7 +10711,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10628,7 +10794,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10723,7 +10904,9 @@ "description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10744,7 +10927,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10779,7 +10966,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -10826,7 +11017,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -10929,7 +11123,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -10943,7 +11140,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -10992,7 +11191,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11012,7 +11214,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11129,7 +11335,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11180,7 +11389,7 @@ "title": "A list of files that the Batch service will download to the compute node before running the command line.", "description": "Files listed under this element are located in the task's working directory." }, - "outputFiles": { + "outputFiles": { "type": "array", "items": { "$ref": "#/definitions/OutputFile" @@ -11233,7 +11442,10 @@ "description": "The default value is false." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task.", "description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job." }, @@ -11284,7 +11496,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node.", "description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job." }, @@ -11332,7 +11546,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run.", "description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool." }, @@ -11351,7 +11567,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11393,7 +11611,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged." }, "CertificateReference": { @@ -11443,7 +11663,10 @@ "description": "Values are:\n\n starttask - The user account under which the start task is run.\n task - The accounts under which job tasks are run.\n remoteuser - The accounts under which users remotely access the node.\n\n You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11457,7 +11680,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11559,7 +11785,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -11579,7 +11805,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -11612,7 +11840,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -11697,7 +11927,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -11809,7 +12041,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -11918,7 +12165,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -11959,7 +12210,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -11992,7 +12245,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12187,7 +12442,10 @@ "title": "Whether tasks in the job can define dependencies on each other. The default is false." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12228,7 +12486,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12295,7 +12555,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12350,7 +12614,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12436,7 +12703,14 @@ } } }, - "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed", + "validationStatus" + ], "title": "The task counts for a job." }, "AutoScaleRunError": { @@ -12476,7 +12750,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12517,7 +12793,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -12543,7 +12821,11 @@ "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." } }, - "required": [ "publisher", "offer", "sku" ], + "required": [ + "publisher", + "offer", + "sku" + ], "title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation." }, "OSDisk": { @@ -12571,7 +12853,9 @@ } } }, - "required": [ "imageUris" ], + "required": [ + "imageUris" + ], "title": "A reference to an OS disk image." }, "WindowsConfiguration": { @@ -12607,7 +12891,9 @@ "description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image." } }, - "required": [ "nodeAgentSKUId" ], + "required": [ + "nodeAgentSKUId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "NetworkConfiguration": { @@ -12622,9 +12908,9 @@ } }, "endpointConfiguration": { - "$ref": "#/definitions/PoolEndpointConfiguration", - "title": "The configuration for endpoints on compute nodes in the Batch pool.", - "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." + "$ref": "#/definitions/PoolEndpointConfiguration", + "title": "The configuration for endpoints on compute nodes in the Batch pool.", + "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." } }, "description": "The network configuration for a pool." @@ -12802,7 +13088,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -12930,7 +13216,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -12960,7 +13246,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13003,7 +13292,9 @@ "description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -13061,7 +13352,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -13114,7 +13408,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory)." } }, - "required": [ "numberOfInstances" ], + "required": [ + "numberOfInstances" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -13176,7 +13472,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13214,7 +13522,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -13430,7 +13741,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -13445,7 +13759,9 @@ "description": "The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -13459,7 +13775,9 @@ "clientError", "serverError" ], - "x-ms-enum": { "name": "TaskAddStatus" } + "x-ms-enum": { + "name": "TaskAddStatus" + } }, "taskId": { "type": "string", @@ -13484,7 +13802,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -13616,7 +13937,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -13675,7 +13998,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -13845,7 +14172,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNATPool": { @@ -13894,7 +14223,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -13923,7 +14258,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -13936,7 +14275,9 @@ "title": "The list of inbound endpoints that are accessible on the compute node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the compute node." }, "InboundEndpoint": { @@ -13976,7 +14317,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a compute node." }, "ComputeNodeListResult": { @@ -14023,7 +14371,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14038,7 +14388,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -14085,7 +14438,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -14105,7 +14461,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -14183,7 +14541,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -14210,7 +14570,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -14271,7 +14633,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -14281,7 +14647,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -14430,7 +14798,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -14449,7 +14819,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -14474,7 +14848,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -14485,7 +14861,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json index 17cbbe0bacf9..83a5f89a721c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json index 683a76407c7d..7d5aa07ff917 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json index 9ed7d05abcda..be743fb2cf22 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json index 756f1bb432be..46ca139fa8b7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json index 2e33874c0e89..ffc5f1c90785 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json index 71e3773922c6..18fe3101524f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json index 1a710342cb40..89c6345c39d6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json index fe4baac39883..cef625002e8e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json index 43f34562136e..16d0112682bd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json index 994a5123fa7b..c2dadf3db636 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json index 34c99a065c8a..9a9a9d0b1bb6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json index b17abfd7614d..77a8a0857d58 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json index 1a809900a053..1fdbc95cf020 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json index 50a0193bb865..d072d2b9168a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -76,7 +76,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -118,4 +118,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json index 12fcdd69de68..4442d8d08625 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json index ed8f0408bda1..a4e3dd9a5dcb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json index 1c095c75885f..40cdbab8ba8f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json index 9cd74795291a..ecbe995d249f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json index cb3797c8ba04..1586afad376e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json index 48664ea49eb5..f5710efe8324 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json index eec1fc016da8..f9a778b3c294 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json index 56db71cac040..fec76a09deeb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json index 678dfbcc423b..03362dd0b4f1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json index e206235ee1ef..c8b1bc97f9a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json @@ -126,4 +126,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json index 7f7d21df96f8..52fab8751454 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json index 414bb95cfa5a..c8f79ac1b45e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json index 414bb95cfa5a..c8f79ac1b45e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json index fa98aac1edea..b26c8b434de8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json index 8d5d6ff09998..3c9f51e06b9f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json index fe6bc4b89ebc..8e232a37faa4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json index 7f7d21df96f8..52fab8751454 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json index 82f077c04065..b65f811c3a5c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json index 74ea5cd90acb..ad6ece79affb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json index 7cb21a300aa6..1f3fa0a7db28 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json index 8860918eef6d..7186d56e1ae6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json index 822d3ebbc078..a2a007258f5f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json index 346ba2d1ab96..13645eb72987 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json index cef34a36e8a5..773256183f72 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json index 9079188f8040..f254ed73d1fa 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json index 6b1b3314ccbc..a9582d3adbbc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json @@ -25,7 +25,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json index 95de94bfcbcf..d93ac50ccb63 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -60,7 +60,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -94,7 +94,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json index 0374915155aa..c3938018ad64 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json index f18aa559eb07..e027289cef94 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json index b07740b17ceb..5bfe0ff417d0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json index ee46f121442b..bcfb5c9e745f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,19 +9,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -31,4 +33,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json index bd64ee9eccbb..1829efc16f19 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,19 +14,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -36,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json index 5b7ec5a827c8..1c9b94412d6b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json index 17bc7458394a..434dee72fc0c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json index 15cc3e56758d..624d04967a10 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json index c492fdb39795..baa327e21d54 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json index c8f16fe7a07e..87d536c17c28 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json @@ -27,7 +27,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json index 5bdae4038083..085ad02dc2cc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json index dd699e25d75d..d11374eb98d0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json index ce9f843dd546..f66c6a837211 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json index ebb2d9d3f829..55fb61af5b2b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json index 5b7ec5a827c8..1c9b94412d6b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json index 0906621460eb..3e1c70926221 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json index 7817ab7b563a..8dcd93f60666 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json index ea5767ef69cd..e7467d89566f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json index 59b02dbb93ef..572ad5ae03ba 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json index 66c970f7e8fb..0f0321696936 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json index 24a217b1d6a4..58d9059022e9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json index 22d9bcc6d58c..ee1f008bb3e4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json index 4f7a357c4b21..5ed3e977582c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonAdmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json index 042770246117..8290081fbc48 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json index e9c2e1cc4466..b8f90a6e62e8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json index e9c2e1cc4466..b8f90a6e62e8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json index 7c2ead1a2d27..ca2196dd7ce7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json index f8e8f0bdbaf6..71519910b415 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json @@ -248,7 +248,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -400,7 +402,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -524,7 +528,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -624,7 +630,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -724,7 +732,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -834,7 +844,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -968,7 +980,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1083,7 +1097,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1192,7 +1208,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1315,7 +1333,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1599,7 +1619,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1764,7 +1786,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2048,7 +2072,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2216,7 +2242,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2364,7 +2392,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2652,7 +2682,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2785,7 +2817,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2951,7 +2985,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3108,7 +3144,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3267,7 +3305,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3417,7 +3457,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3566,7 +3608,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3715,8 +3759,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3826,7 +3874,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4100,7 +4150,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4266,7 +4318,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4423,7 +4477,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4582,7 +4638,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4741,7 +4799,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4891,7 +4951,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5050,8 +5112,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5162,7 +5228,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5460,7 +5528,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5602,7 +5672,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the task counts for the specified job.", "description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.", @@ -5700,9 +5772,15 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }, - "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5813,7 +5891,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5957,7 +6037,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6233,7 +6315,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6659,7 +6743,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6818,7 +6904,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.", @@ -6938,7 +7026,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -7097,7 +7187,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7247,7 +7339,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7520,7 +7614,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7679,9 +7775,15 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }, - "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } }, "summary": "Adds a task to the specified job.", "description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -7799,7 +7901,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7951,8 +8055,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -8057,7 +8165,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8197,7 +8307,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8375,7 +8487,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8540,7 +8654,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8664,7 +8780,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8821,7 +8939,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).", @@ -8978,7 +9098,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9102,7 +9224,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9207,7 +9331,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9338,7 +9464,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9461,7 +9589,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9585,7 +9715,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9709,7 +9841,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "description": "You can disable task scheduling on a node only if its current scheduling state is enabled.", @@ -9833,7 +9967,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "description": "You can enable task scheduling on a node only if its current scheduling state is disabled", @@ -9948,7 +10084,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10176,7 +10314,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10349,7 +10489,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10469,7 +10617,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10540,7 +10692,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10568,7 +10734,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10647,7 +10817,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10742,7 +10927,9 @@ "description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10763,7 +10950,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10808,7 +10999,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -10855,7 +11050,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -10959,7 +11157,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -10979,7 +11179,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -10993,7 +11196,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -11042,7 +11247,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11062,7 +11270,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11213,7 +11425,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11269,7 +11484,7 @@ "title": "A list of files that the Batch service will download to the compute node before running the command line.", "description": "Files listed under this element are located in the task's working directory." }, - "outputFiles": { + "outputFiles": { "type": "array", "items": { "$ref": "#/definitions/OutputFile" @@ -11322,7 +11537,10 @@ "description": "The default value is false." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task.", "description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job." }, @@ -11378,7 +11596,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node.", "description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job." }, @@ -11431,7 +11651,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run.", "description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool." }, @@ -11460,7 +11682,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11507,7 +11731,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged." }, "CertificateReference": { @@ -11585,7 +11811,10 @@ "description": "You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11599,7 +11828,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11701,7 +11933,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -11721,7 +11953,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -11764,7 +11998,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -11849,7 +12085,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -11961,7 +12199,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -12070,7 +12323,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -12111,7 +12368,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -12144,7 +12403,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12339,7 +12600,10 @@ "title": "Whether tasks in the job can define dependencies on each other. The default is false." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12399,7 +12663,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12480,7 +12746,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12549,7 +12819,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12644,7 +12917,14 @@ } } }, - "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed", + "validationStatus" + ], "title": "The task counts for a job." }, "AutoScaleRunError": { @@ -12684,7 +12964,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12726,7 +13008,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -12854,7 +13138,7 @@ "value": "readonly", "description": "The caching mode for the disk is read only.", "name": "readOnly" - }, + }, { "value": "readwrite", "description": "The caching mode for the disk is read and write.", @@ -12902,7 +13186,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "nodeAgentSKUId", "imageReference" ], + "required": [ + "nodeAgentSKUId", + "imageReference" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -12922,7 +13209,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -12961,7 +13251,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "NetworkConfiguration": { @@ -12976,9 +13268,9 @@ } }, "endpointConfiguration": { - "$ref": "#/definitions/PoolEndpointConfiguration", - "title": "The configuration for endpoints on compute nodes in the Batch pool.", - "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." + "$ref": "#/definitions/PoolEndpointConfiguration", + "title": "The configuration for endpoints on compute nodes in the Batch pool.", + "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." } }, "description": "The network configuration for a pool." @@ -13182,7 +13474,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13310,7 +13602,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13340,7 +13632,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13383,7 +13678,9 @@ "description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -13446,7 +13743,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -13500,7 +13800,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory)." } }, - "required": [ "coordinationCommandLine" ], + "required": [ + "coordinationCommandLine" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -13562,7 +13864,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13600,7 +13914,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -13826,7 +14143,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add." }, "TaskAddCollectionParameter": { @@ -13841,7 +14161,9 @@ "description": "The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -13898,7 +14220,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -14035,7 +14360,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -14108,7 +14435,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -14344,7 +14675,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNATPool": { @@ -14385,7 +14718,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -14424,7 +14763,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -14437,7 +14780,9 @@ "title": "The list of inbound endpoints that are accessible on the compute node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the compute node." }, "InboundEndpoint": { @@ -14469,7 +14814,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a compute node." }, "ComputeNodeListResult": { @@ -14516,7 +14868,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14531,7 +14885,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -14578,7 +14935,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -14611,7 +14971,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -14689,7 +15051,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -14716,7 +15080,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -14777,7 +15143,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -14787,7 +15157,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -14991,7 +15363,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -15010,7 +15384,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -15035,7 +15413,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -15046,7 +15426,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json index fc98266f54ab..f58e98ad3264 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json index 885811994024..1a4dec4dd23c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json index a6412602279a..6a84c6111fb1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json index f93cfbe8ccb5..6969ede615fe 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json index 67568b3c318d..383a6c7a8207 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json index fbd427639159..90af0de38710 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json index fdcf42097bce..289252e910cb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json index 5b4d1332fb79..731a21bcc541 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json index 14e2ca1699a7..6c9dd6f614c5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json index 5a680c7de05d..92fcc3a03861 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json index 02c28a2d0fda..440fdccea40e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json index 0de368bafc18..fa4d76b1a1d8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json index 6f3c35e0db13..d03e72458a60 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json index 770bdd8c2ece..d97380ae2546 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -76,7 +76,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -118,4 +118,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json index 323a7c34e6b4..38d54dfba494 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json index dc3e024a0827..2e07e3125432 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json index 9a1504f6c9f0..7f6e434aeeeb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json index 451e5e9df7ef..ec049896f0ef 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json index 25e1d21e0701..2e8964e9cad5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json index 3d418a5dbb5b..66275d80c457 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json index a70771fa0f2a..d070063c1bb9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json index bcdafc07c998..871ed8260af7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json index 6b402fd2a0f3..30d141fa4f29 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json index 5963c206ac88..4be3690231f1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json @@ -126,4 +126,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json index 1c86cf8d62a0..62a5353f5dd8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json index 137407f9b0cb..5ccbdb9aac80 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json index 137407f9b0cb..5ccbdb9aac80 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json index 990d879d4d20..2413da3c4df3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json index 807886be4ef1..28661b557cbe 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json index c79c662e5a68..71f4ccb4ba3d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json index 1c86cf8d62a0..62a5353f5dd8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json index 95951b03ad93..3e77fd33b63c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json index b5042be41ec5..f1e2951f1b06 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json index 06215fd01e60..8d1d2332086f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json index f0c58a6475b7..84bc6531b6ff 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json index b70f2d5713ad..4d176dd914c2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json index 6f669310747b..7285f80f6a93 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json index 6927f35cea43..4ade4e0fdc61 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json index f41651a1ff0a..39e83c24354d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json index 9f77641967f7..832e19312f1a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json @@ -25,7 +25,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json index a6d8d4cd4013..7d22af75ef4b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -60,7 +60,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -94,7 +94,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json index 35d18931f4bc..19ac6abebd30 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json index 20a17fb06c88..bb013be1bd02 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json index fd44545cf1d0..1c620a92f683 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json index d01059b31523..94e7d00b82a1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,19 +9,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -31,4 +33,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json index 81fc4105413f..191abb547d18 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,19 +14,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -36,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index a7ef487caf75..dce9b6a73ed7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -20,14 +20,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -37,4 +37,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json index 35765a598ea6..384cebc53ee2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json index 0b1fe11102be..37a025056c4a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json index 88b4ff682142..960e2c4aa447 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json index 83421b3cfd32..6d985c0e68c1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json index 8a97f2c53081..e8240100ae5b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json @@ -27,7 +27,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json index 7587908fd13f..f15351e1f78d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json index abf1070bba6f..6045e184aa9a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json index e1cd368a7f32..1dcd87d4af30 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json index 9c72e8006879..e62c24b1e042 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json index 35765a598ea6..384cebc53ee2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json index a1db09d15604..d55b735972a7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json index 3326616fbb4e..48b7ddf6c587 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json index 9df418c50ac1..4e8f229eec2c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json index 70a373fa577c..09a00a4f0579 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json index a0c773ea8e26..5575a5456509 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json @@ -11,7 +11,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json index e8f13b7be097..5774510152ac 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json index 069af11edb9c..cb359edcdd37 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json index 02fecd7ae8a4..3527f1d26642 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json index 7aadb36bd7b8..080d7b5d77de 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json index 6a49b717698f..dff38dd76473 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json index e0e33f761e46..3368081bc902 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json index e0e33f761e46..3368081bc902 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json index 87263b5fcfad..a3922dd42bd9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json index 0cced72aa042..1d0091986067 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json @@ -29,7 +29,9 @@ }, "operationId": "Application_List", "x-ms-examples": { - "List applications": { "$ref": "./examples/ApplicationList.json" } + "List applications": { + "$ref": "./examples/ApplicationList.json" + } }, "summary": "Lists all of the applications available in the specified account.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -144,7 +146,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "Get applications": { "$ref": "./examples/ApplicationGet.json" } + "Get applications": { + "$ref": "./examples/ApplicationGet.json" + } }, "summary": "Gets information about the specified application.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -254,7 +258,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -406,7 +412,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -534,7 +542,9 @@ "operationId": "Account_ListPoolNodeCounts", "description": "Gets the number of nodes in each state, grouped by pool.", "x-ms-examples": { - "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" } + "NodeCountsPayload": { + "$ref": "./examples/AccountListPoolNodeCounts.json" + } }, "parameters": [ { @@ -647,7 +657,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -747,7 +759,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -847,7 +861,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -957,7 +973,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -1091,7 +1109,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1206,7 +1226,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1315,7 +1337,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1438,7 +1462,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1549,7 +1575,9 @@ ], "operationId": "File_GetFromTask", "x-ms-examples": { - "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" } + "Get File From Task": { + "$ref": "./examples/FileGetFromTask.json" + } }, "description": "Returns the content of the specified task file.", "x-ms-request-id": "request-id", @@ -1729,7 +1757,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1894,7 +1924,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2005,7 +2037,9 @@ ], "operationId": "File_GetFromComputeNode", "x-ms-examples": { - "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" } + "Get File From Compute Node": { + "$ref": "./examples/FileGetFromNode.json" + } }, "description": "Returns the content of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2185,7 +2219,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2353,7 +2389,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2501,7 +2539,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2646,7 +2686,9 @@ ], "operationId": "JobSchedule_Exists", "x-ms-examples": { - "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" } + "Check Job Schedule Exists": { + "$ref": "./examples/JobScheduleExists.json" + } }, "summary": "Checks the specified job schedule exists.", "x-ms-request-id": "request-id", @@ -2792,7 +2834,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2925,7 +2969,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -3091,7 +3137,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3248,7 +3296,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3407,7 +3457,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3557,7 +3609,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3706,7 +3760,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3855,8 +3911,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3966,7 +4026,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4110,7 +4172,9 @@ ], "operationId": "Job_Delete", "x-ms-examples": { - "Delete Job": { "$ref": "./examples/JobDelete.json" } + "Delete Job": { + "$ref": "./examples/JobDelete.json" + } }, "summary": "Deletes a job.", "description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.", @@ -4243,7 +4307,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4409,7 +4475,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4566,7 +4634,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4725,7 +4795,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4884,7 +4956,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -5034,7 +5108,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.", @@ -5193,8 +5269,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5305,7 +5385,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5451,7 +5533,9 @@ "nextLinkName": "odata.nextLink" }, "x-ms-examples": { - "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" } + "List Job Under Job Schedule": { + "$ref": "./examples/JobListFromJobSchedule.json" + } }, "operationId": "Job_ListFromJobSchedule", "summary": "Lists the jobs that have been created under the specified job schedule.", @@ -5606,7 +5690,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5748,7 +5834,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the task counts for the specified job.", "description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.", @@ -5846,9 +5934,15 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }, - "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5959,7 +6053,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -6103,7 +6199,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6236,7 +6334,9 @@ ], "operationId": "Pool_Exists", "x-ms-examples": { - "Check Pool Exists": { "$ref": "./examples/PoolExists.json" } + "Check Pool Exists": { + "$ref": "./examples/PoolExists.json" + } }, "description": "Gets basic properties of a pool.", "x-ms-request-id": "request-id", @@ -6382,7 +6482,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6548,7 +6650,9 @@ ], "operationId": "Pool_Patch", "x-ms-examples": { - "Patch the Pool": { "$ref": "./examples/PoolPatch.json" } + "Patch the Pool": { + "$ref": "./examples/PoolPatch.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.", @@ -6707,7 +6811,9 @@ ], "operationId": "Pool_DisableAutoScale", "x-ms-examples": { - "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable pool autoscale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "summary": "Disables automatic scaling for a pool.", "x-ms-request-id": "request-id", @@ -6814,7 +6920,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6973,7 +7081,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.", @@ -7093,7 +7203,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -7252,7 +7364,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7402,7 +7516,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7519,7 +7635,9 @@ ], "operationId": "Pool_UpgradeOS", "x-ms-examples": { - "Upgrade OS of the pool": { "$ref": "./examples/PoolUpgradeOS.json" } + "Upgrade OS of the pool": { + "$ref": "./examples/PoolUpgradeOS.json" + } }, "summary": "Upgrades the operating system of the specified pool.", "description": "During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node is chosen for upgrade, any tasks running on that node are removed from the node and returned to the queue to be rerun later (or on a different compute node). The node will be unavailable until the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all compute nodes at the same time, it does not guarantee to do this (particularly on small pools); therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state returns to active. While the upgrade is in progress, the pool's currentOSVersion reflects the OS version that nodes are upgrading from, and targetOSVersion reflects the OS version that nodes are upgrading to. Once the upgrade is complete, currentOSVersion is updated to reflect the OS version now running on all nodes. This operation can only be invoked on pools created with the cloudServiceConfiguration property.", @@ -7678,7 +7796,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7837,9 +7957,15 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }, - "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } }, "summary": "Adds a task to the specified job.", "description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -7957,7 +8083,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8109,8 +8237,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -8215,7 +8347,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8355,7 +8489,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8533,7 +8669,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8698,7 +8836,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8822,7 +8962,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8979,7 +9121,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).", @@ -9136,7 +9280,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9260,7 +9406,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9365,7 +9513,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9496,7 +9646,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9619,7 +9771,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9743,7 +9897,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9867,7 +10023,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "description": "You can disable task scheduling on a node only if its current scheduling state is enabled.", @@ -9991,7 +10149,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "description": "You can enable task scheduling on a node only if its current scheduling state is disabled", @@ -10106,7 +10266,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10220,7 +10382,9 @@ ], "operationId": "ComputeNode_GetRemoteDesktop", "x-ms-examples": { - "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" } + "Get RDP file of the compute node": { + "$ref": "./examples/NodeGetRemoteDesktop.json" + } }, "summary": "Gets the Remote Desktop Protocol file for the specified compute node.", "description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.", @@ -10340,7 +10504,9 @@ "summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.", "description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.", "x-ms-examples": { - "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" } + "Upload BatchService Logs": { + "$ref": "./examples/NodeUploadBatchServiceLogs.json" + } }, "x-ms-request-id": "request-id", "parameters": [ @@ -10434,7 +10600,7 @@ "description": "The request to the Batch service was successful.", "schema": { "$ref": "#/definitions/UploadBatchServiceLogsResult" - } + } }, "default": { "description": "The error from the Batch service.", @@ -10455,7 +10621,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10628,7 +10796,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10748,7 +10924,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10819,7 +10999,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10847,7 +11041,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10926,7 +11124,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -11021,7 +11234,9 @@ "description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -11042,7 +11257,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -11087,7 +11306,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -11134,7 +11357,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -11238,7 +11464,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -11258,7 +11486,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -11272,7 +11503,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -11321,7 +11554,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11341,7 +11577,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11492,7 +11732,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11548,7 +11791,7 @@ "title": "A list of files that the Batch service will download to the compute node before running the command line.", "description": "Files listed under this element are located in the task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." }, - "outputFiles": { + "outputFiles": { "type": "array", "items": { "$ref": "#/definitions/OutputFile" @@ -11601,7 +11844,10 @@ "description": "The default value is true." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task.", "description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11657,7 +11903,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node.", "description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11710,7 +11958,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run.", "description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool." }, @@ -11739,7 +11989,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11786,7 +12038,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11865,7 +12119,10 @@ "description": "You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11879,7 +12136,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11981,7 +12241,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -12001,7 +12261,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -12044,7 +12306,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -12129,7 +12393,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -12241,7 +12507,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -12350,7 +12631,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -12391,7 +12676,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -12424,7 +12711,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12619,7 +12908,10 @@ "title": "Whether tasks in the job can define dependencies on each other. The default is false." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12679,7 +12971,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12760,7 +13054,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12829,7 +13127,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12924,7 +13225,14 @@ } } }, - "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed", + "validationStatus" + ], "title": "The task counts for a job." }, "AutoScaleRunError": { @@ -12964,7 +13272,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -13006,7 +13316,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -13134,7 +13446,7 @@ "value": "readonly", "description": "The caching mode for the disk is read only.", "name": "readOnly" - }, + }, { "value": "readwrite", "description": "The caching mode for the disk is read and write.", @@ -13182,7 +13494,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "nodeAgentSKUId", "imageReference" ], + "required": [ + "nodeAgentSKUId", + "imageReference" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -13202,7 +13517,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -13241,7 +13559,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "NetworkConfiguration": { @@ -13256,9 +13576,9 @@ } }, "endpointConfiguration": { - "$ref": "#/definitions/PoolEndpointConfiguration", - "title": "The configuration for endpoints on compute nodes in the Batch pool.", - "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." + "$ref": "#/definitions/PoolEndpointConfiguration", + "title": "The configuration for endpoints on compute nodes in the Batch pool.", + "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." } }, "description": "The network configuration for a pool." @@ -13462,7 +13782,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13590,7 +13910,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13620,7 +13940,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13663,7 +13986,9 @@ "description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -13726,7 +14051,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -13780,7 +14108,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." } }, - "required": [ "coordinationCommandLine" ], + "required": [ + "coordinationCommandLine" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -13842,7 +14172,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13880,7 +14222,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -14107,7 +14452,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -14123,7 +14471,9 @@ "description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -14180,7 +14530,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -14317,7 +14670,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -14390,7 +14745,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -14626,7 +14985,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNATPool": { @@ -14667,7 +15028,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -14706,7 +15073,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -14719,7 +15090,9 @@ "title": "The list of inbound endpoints that are accessible on the compute node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the compute node." }, "InboundEndpoint": { @@ -14751,7 +15124,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a compute node." }, "ComputeNodeListResult": { @@ -14798,7 +15178,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14813,7 +15195,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -14860,7 +15245,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -14893,7 +15281,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -14971,7 +15361,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -14998,7 +15390,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -15059,7 +15453,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -15069,7 +15467,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -15273,7 +15673,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -15292,7 +15694,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -15317,7 +15723,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -15328,7 +15736,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { @@ -15777,7 +16187,10 @@ "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime." } }, - "required": [ "containerUrl", "startTime" ], + "required": [ + "containerUrl", + "startTime" + ], "title": "The Azure Batch service log files upload configuration for a compute node." }, "UploadBatchServiceLogsResult": { @@ -15793,7 +16206,10 @@ "title": "The number of log files which will be uploaded." } }, - "required": ["virtualDirectoryName", "numberOfFilesUploaded"], + "required": [ + "virtualDirectoryName", + "numberOfFilesUploaded" + ], "title": "The result of uploading Batch service log files from a specific compute node." }, "PoolNodeCountsListResult": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json index bb933a1972f3..2fcf949f1eb6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json index 1e7c4371b0bb..04e1578d9764 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json index 53b87cb78b15..40ebabf8864e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json @@ -8,12 +8,12 @@ "responses": { "200": { "body": { - "id": "my_application_id", - "versions": [ - "v1.0" - ], - "displayName": "my_display_name" + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json index c61f845a3b9f..7fb0996dc826 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json index b92489ec936b..9254b3d4f7b4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json index d7cc675afcd8..2822389d404d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json index 8ab72b7ff199..27ce8b78c776 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json index c5ded986307b..83c16ba407e2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json index 9c4dee480d85..04f15e9b0043 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json index 1dbad9f1795b..224b686c73e0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json index a4e8cbfb8633..44678152c1b7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json index ce3d8e6e081b..ca79c4895762 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json @@ -17,4 +17,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json index e5e82c8492a1..9c0216219425 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json @@ -17,4 +17,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json index 55982f2b88c6..e0838d3409fd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json index 84dcb6d15457..c224b77c626f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json index 5791cfda91c1..c81db379979b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json index 8d884f98a2bd..e2ef96a96684 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json index f149e8fffb9b..fa70f682ed07 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json index fee6435cc74f..88a3b1866ecf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -76,7 +76,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -118,4 +118,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json index 8e02f7686faf..d41359103cb0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json index 8eaafc21a608..b40d44141a56 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json index 8e02f7686faf..d41359103cb0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json index d5086fb34ac7..3c3189ba25bc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json index ff53de0067a1..2f8a4635f86d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json index 66d8447220f6..8dbad588e431 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json index 953d3f7d0e12..3ef7de336112 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json index eaefff3b865a..c2b82cbf0503 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json index 17ecc61bb281..d7c084af7b46 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json index e658a182c2c4..3f05b4a73efe 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json index 95a44125645a..a434899a079f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json index 041985629310..38d355b11114 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json @@ -126,4 +126,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json index 7408cdd90f59..632902a588a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json index ec33b1914469..54e98e15f5c4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json index ec33b1914469..54e98e15f5c4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json index eb9e6a454a02..776c4019a9e8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json index 2dade9fbc322..9665f482d4ea 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json index 201bc6c3c3e2..7ad1ba24e2f1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json index 4840b235ca73..be3b49d26586 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json index 7408cdd90f59..632902a588a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json index 80d8ca0cd182..669e82de464e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json index 9879d272935f..f1f705abe3a9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json index bb8efbb0c186..a35013bdd654 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json index 271564220174..5d7b93a9e100 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json index 6e0a2dbe1226..5220e24c768d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json index 3926338b83af..6a703090b0d7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json index f9d1607169ab..7232c5181886 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json index 84f7954819fa..47c6208378db 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json @@ -11,4 +11,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json index 068c699c3de4..ad3bcb1da15c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json index d30f2f86979d..227b230fa725 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json @@ -25,7 +25,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json index e9f776af3117..4d8b0694a52c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -60,7 +60,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -94,7 +94,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json index 094a82107962..cfd55bafa547 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json index b5a3a4f8b97b..218bceb5df5d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json index 028c6a3b779d..2bdfad30a7c0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json index c0600c31ce46..34a370cd606b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json @@ -13,9 +13,9 @@ "responses": { "200": { "body": { - "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", - "numberOfFilesUploaded": 8 + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json index bc016dc5d9dc..37323f269ae1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,19 +9,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -31,4 +33,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json index 1402b959ae80..68f607bc9d21 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,19 +14,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -36,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index 23274234f5e9..5e793c1490f3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -20,14 +20,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -37,4 +37,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json index 7500702af431..7e06f7b26330 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json index 7b653552b417..9dcfcd944951 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json index e58e34bed2cc..309825ab5b48 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json index 38d6173b6b84..e3697e4e1fd7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json index 947ef17c2d15..edebe5272275 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json index b1542db842af..8783baf85c40 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json index accd6a7ece74..80775705a2db 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json @@ -27,7 +27,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json index 1123eb981554..75cab527b021 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json index cdbace7ce36f..445745598f3b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json index 16223b75f16f..3130b6c78d48 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json index 23eb37df5aec..df9b92894ffa 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json index 8b9fb30fb734..fe061bb747da 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json index 7500702af431..7e06f7b26330 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json index b0af85dcf205..7af75ad466e3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json index f2a417c79add..b9be2405b5d8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json index acc8f87da7f4..02f6798ec25e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json index 9fb6476f0f64..d46dbcc2f94d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json index 9571a6e655ca..85db85e9347c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json index d428c906e5e9..4c4350ccf6c9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json @@ -11,7 +11,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json index 1e97fb568908..f4df23bcdeb9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json index 3b8458331555..7b9b3c181585 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json index 346f009e7ed0..936a4cb32e73 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json index 23356a9d6c11..4d710ecadfbc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json index 2c060543cc74..c6b1df47c93d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json index b17934cd0ed8..63ef1f9b6388 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json index b17934cd0ed8..63ef1f9b6388 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json index 0d7568ffdcea..fa258bcf8b52 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json index d642e24b6a04..c1fab650cae8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json @@ -29,7 +29,9 @@ }, "operationId": "Application_List", "x-ms-examples": { - "List applications": { "$ref": "./examples/ApplicationList.json" } + "List applications": { + "$ref": "./examples/ApplicationList.json" + } }, "summary": "Lists all of the applications available in the specified account.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -144,7 +146,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "Get applications": { "$ref": "./examples/ApplicationGet.json" } + "Get applications": { + "$ref": "./examples/ApplicationGet.json" + } }, "summary": "Gets information about the specified application.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -254,7 +258,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -406,7 +412,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -534,7 +542,9 @@ "operationId": "Account_ListPoolNodeCounts", "description": "Gets the number of nodes in each state, grouped by pool.", "x-ms-examples": { - "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" } + "NodeCountsPayload": { + "$ref": "./examples/AccountListPoolNodeCounts.json" + } }, "parameters": [ { @@ -647,7 +657,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -747,7 +759,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -847,7 +861,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -957,7 +973,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -1091,7 +1109,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1206,7 +1226,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1315,7 +1337,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1438,7 +1462,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1549,7 +1575,9 @@ ], "operationId": "File_GetFromTask", "x-ms-examples": { - "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" } + "Get File From Task": { + "$ref": "./examples/FileGetFromTask.json" + } }, "description": "Returns the content of the specified task file.", "x-ms-request-id": "request-id", @@ -1730,7 +1758,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1895,7 +1925,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2006,7 +2038,9 @@ ], "operationId": "File_GetFromComputeNode", "x-ms-examples": { - "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" } + "Get File From Compute Node": { + "$ref": "./examples/FileGetFromNode.json" + } }, "description": "Returns the content of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2187,7 +2221,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2355,7 +2391,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2503,7 +2541,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2648,7 +2688,9 @@ ], "operationId": "JobSchedule_Exists", "x-ms-examples": { - "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" } + "Check Job Schedule Exists": { + "$ref": "./examples/JobScheduleExists.json" + } }, "summary": "Checks the specified job schedule exists.", "x-ms-request-id": "request-id", @@ -2794,7 +2836,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2927,7 +2971,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -3093,7 +3139,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3250,7 +3298,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3409,7 +3459,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3559,7 +3611,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3708,7 +3762,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3857,8 +3913,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3968,7 +4028,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4112,7 +4174,9 @@ ], "operationId": "Job_Delete", "x-ms-examples": { - "Delete Job": { "$ref": "./examples/JobDelete.json" } + "Delete Job": { + "$ref": "./examples/JobDelete.json" + } }, "summary": "Deletes a job.", "description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.", @@ -4245,7 +4309,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4411,7 +4477,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4568,7 +4636,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4727,7 +4797,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4886,7 +4958,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -5036,7 +5110,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.", @@ -5195,8 +5271,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5307,7 +5387,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5453,7 +5535,9 @@ "nextLinkName": "odata.nextLink" }, "x-ms-examples": { - "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" } + "List Job Under Job Schedule": { + "$ref": "./examples/JobListFromJobSchedule.json" + } }, "operationId": "Job_ListFromJobSchedule", "summary": "Lists the jobs that have been created under the specified job schedule.", @@ -5608,7 +5692,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5750,7 +5836,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the task counts for the specified job.", "description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running.", @@ -5848,9 +5936,15 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }, - "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5961,7 +6055,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -6105,7 +6201,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6238,7 +6336,9 @@ ], "operationId": "Pool_Exists", "x-ms-examples": { - "Check Pool Exists": { "$ref": "./examples/PoolExists.json" } + "Check Pool Exists": { + "$ref": "./examples/PoolExists.json" + } }, "description": "Gets basic properties of a pool.", "x-ms-request-id": "request-id", @@ -6384,7 +6484,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6550,7 +6652,9 @@ ], "operationId": "Pool_Patch", "x-ms-examples": { - "Patch the Pool": { "$ref": "./examples/PoolPatch.json" } + "Patch the Pool": { + "$ref": "./examples/PoolPatch.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.", @@ -6709,7 +6813,9 @@ ], "operationId": "Pool_DisableAutoScale", "x-ms-examples": { - "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable pool autoscale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "summary": "Disables automatic scaling for a pool.", "x-ms-request-id": "request-id", @@ -6816,7 +6922,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6975,7 +7083,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.", @@ -7095,7 +7205,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -7254,7 +7366,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7404,7 +7518,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7521,7 +7637,9 @@ ], "operationId": "Pool_UpgradeOS", "x-ms-examples": { - "Upgrade OS of the pool": { "$ref": "./examples/PoolUpgradeOS.json" } + "Upgrade OS of the pool": { + "$ref": "./examples/PoolUpgradeOS.json" + } }, "summary": "Upgrades the operating system of the specified pool.", "description": "During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node is chosen for upgrade, any tasks running on that node are removed from the node and returned to the queue to be rerun later (or on a different compute node). The node will be unavailable until the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all compute nodes at the same time, it does not guarantee to do this (particularly on small pools); therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state returns to active. While the upgrade is in progress, the pool's currentOSVersion reflects the OS version that nodes are upgrading from, and targetOSVersion reflects the OS version that nodes are upgrading to. Once the upgrade is complete, currentOSVersion is updated to reflect the OS version now running on all nodes. This operation can only be invoked on pools created with the cloudServiceConfiguration property.", @@ -7680,7 +7798,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7839,9 +7959,15 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }, - "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } }, "summary": "Adds a task to the specified job.", "description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -7959,7 +8085,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8111,8 +8239,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -8217,7 +8349,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8357,7 +8491,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8535,7 +8671,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8700,7 +8838,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8824,7 +8964,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8981,7 +9123,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).", @@ -9138,7 +9282,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9262,7 +9408,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9367,7 +9515,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9498,7 +9648,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9621,7 +9773,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9745,7 +9899,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9869,7 +10025,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "description": "You can disable task scheduling on a node only if its current scheduling state is enabled.", @@ -9993,7 +10151,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "description": "You can enable task scheduling on a node only if its current scheduling state is disabled", @@ -10108,7 +10268,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10222,7 +10384,9 @@ ], "operationId": "ComputeNode_GetRemoteDesktop", "x-ms-examples": { - "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" } + "Get RDP file of the compute node": { + "$ref": "./examples/NodeGetRemoteDesktop.json" + } }, "summary": "Gets the Remote Desktop Protocol file for the specified compute node.", "description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.", @@ -10343,7 +10507,9 @@ "summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.", "description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.", "x-ms-examples": { - "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" } + "Upload BatchService Logs": { + "$ref": "./examples/NodeUploadBatchServiceLogs.json" + } }, "x-ms-request-id": "request-id", "parameters": [ @@ -10437,7 +10603,7 @@ "description": "The request to the Batch service was successful.", "schema": { "$ref": "#/definitions/UploadBatchServiceLogsResult" - } + } }, "default": { "description": "The error from the Batch service.", @@ -10458,7 +10624,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10631,7 +10799,15 @@ "title": "The cross data center network egress from the pool during this interval, in GiB." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours", + "dataIngressGiB", + "dataEgressGiB" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10751,7 +10927,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10822,7 +11002,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10850,7 +11044,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10929,7 +11127,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -11024,7 +11237,9 @@ "description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -11045,7 +11260,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -11090,7 +11309,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -11137,7 +11360,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -11241,7 +11467,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -11261,7 +11489,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -11275,7 +11506,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -11324,7 +11557,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11344,7 +11580,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11495,7 +11735,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11551,7 +11794,7 @@ "title": "A list of files that the Batch service will download to the compute node before running the command line.", "description": "Files listed under this element are located in the task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." }, - "outputFiles": { + "outputFiles": { "type": "array", "items": { "$ref": "#/definitions/OutputFile" @@ -11604,7 +11847,10 @@ "description": "The default value is true." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task.", "description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11660,7 +11906,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node.", "description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11713,7 +11961,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run.", "description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool." }, @@ -11742,7 +11992,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11789,7 +12041,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11868,7 +12122,10 @@ "description": "You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11882,7 +12139,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11984,7 +12244,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail. The permitted licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge applies for each application license added to the pool." }, @@ -12004,7 +12264,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -12047,7 +12309,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -12132,7 +12396,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -12244,7 +12510,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -12353,7 +12634,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -12394,7 +12679,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -12427,7 +12714,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12622,7 +12911,10 @@ "title": "Whether tasks in the job can define dependencies on each other. The default is false." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12682,7 +12974,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12763,7 +13057,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12832,7 +13130,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12905,7 +13206,13 @@ "title": "The number of tasks which failed. A task fails if its result (found in the executionInfo property) is 'failure'." } }, - "required": [ "active", "running", "completed", "succeeded", "failed" ], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed" + ], "title": "The task counts for a job." }, "AutoScaleRunError": { @@ -12945,7 +13252,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12987,7 +13296,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -13115,7 +13426,7 @@ "value": "readonly", "description": "The caching mode for the disk is read only.", "name": "readOnly" - }, + }, { "value": "readwrite", "description": "The caching mode for the disk is read and write.", @@ -13163,7 +13474,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "nodeAgentSKUId", "imageReference" ], + "required": [ + "nodeAgentSKUId", + "imageReference" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -13183,7 +13497,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -13222,7 +13539,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "NetworkConfiguration": { @@ -13237,9 +13556,9 @@ } }, "endpointConfiguration": { - "$ref": "#/definitions/PoolEndpointConfiguration", - "title": "The configuration for endpoints on compute nodes in the Batch pool.", - "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." + "$ref": "#/definitions/PoolEndpointConfiguration", + "title": "The configuration for endpoints on compute nodes in the Batch pool.", + "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." } }, "description": "The network configuration for a pool." @@ -13443,7 +13762,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13571,7 +13890,7 @@ "type": "array", "items": { "type": "string" - }, + }, "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." }, @@ -13601,7 +13920,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13644,7 +13966,9 @@ "description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -13707,7 +14031,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -13743,8 +14070,8 @@ "properties": { "version": { "type": "string", - "title":"The version of the Batch node agent running on the compute node.", - "description":"This version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md." + "title": "The version of the Batch node agent running on the compute node.", + "description": "This version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md." }, "lastUpdateTime": { "type": "string", @@ -13753,7 +14080,10 @@ "description": "This is the most recent time that the node agent was updated to a new version." } }, - "required": [ "version", "lastUpdateTime" ], + "required": [ + "version", + "lastUpdateTime" + ], "title": "Information about the node agent.", "description": "The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the compute node." }, @@ -13779,7 +14109,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." } }, - "required": [ "coordinationCommandLine" ], + "required": [ + "coordinationCommandLine" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks." }, @@ -13841,7 +14173,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13879,7 +14223,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -14106,7 +14453,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -14122,7 +14472,9 @@ "description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -14179,7 +14531,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -14316,7 +14671,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -14389,7 +14746,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -14612,7 +14973,7 @@ "title": "The endpoint configuration for the compute node." }, "nodeAgentInfo": { - "$ref":"#/definitions/NodeAgentInformation", + "$ref": "#/definitions/NodeAgentInformation", "title": "Information about the node agent version and the time the node upgraded to a new version." } }, @@ -14629,7 +14990,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNATPool": { @@ -14670,7 +15033,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -14709,7 +15078,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -14722,7 +15095,9 @@ "title": "The list of inbound endpoints that are accessible on the compute node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the compute node." }, "InboundEndpoint": { @@ -14754,7 +15129,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a compute node." }, "ComputeNodeListResult": { @@ -14801,7 +15183,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14816,7 +15200,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -14863,7 +15250,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -14896,7 +15286,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -14974,7 +15366,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -15001,7 +15395,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -15062,7 +15458,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolUpgradeOSParameter": { @@ -15072,7 +15472,9 @@ "title": "The Azure Guest OS version to be installed on the virtual machines in the pool." } }, - "required": [ "targetOSVersion" ], + "required": [ + "targetOSVersion" + ], "title": "Options for upgrading the operating system of compute nodes in a pool." }, "PoolPatchParameter": { @@ -15276,7 +15678,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -15295,7 +15699,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -15320,7 +15728,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -15331,7 +15741,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { @@ -15780,7 +16192,10 @@ "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime." } }, - "required": [ "containerUrl", "startTime" ], + "required": [ + "containerUrl", + "startTime" + ], "title": "The Azure Batch service log files upload configuration for a compute node." }, "UploadBatchServiceLogsResult": { @@ -15796,7 +16211,10 @@ "title": "The number of log files which will be uploaded." } }, - "required": ["virtualDirectoryName", "numberOfFilesUploaded"], + "required": [ + "virtualDirectoryName", + "numberOfFilesUploaded" + ], "title": "The result of uploading Batch service log files from a specific compute node." }, "PoolNodeCountsListResult": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json index b1cdb2c90084..92930103fc5f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json index 613f83a56ba7..95896a08705e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json index 6550fe0cd41a..b0deede224ae 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json @@ -8,12 +8,12 @@ "responses": { "200": { "body": { - "id": "my_application_id", - "versions": [ - "v1.0" - ], - "displayName": "my_display_name" + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json index 009a24829dda..ce7c279267b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json index 9f250e316a2a..afd9efa29d3f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json @@ -4,11 +4,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json index 877d865df1e6..62ac4eb35d2f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json index d863ac2f5095..9e7ae01d854d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json index 00a2270ea83c..37c8190b540c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json index ad23c5e62350..09e0c72cb452 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json index b4577b451581..56c8f8079142 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json index fe86aa9f790b..601563b7d6f5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json index 0416de2d51bc..4854a9d67c34 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json @@ -17,4 +17,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json index 12c8ebddc814..3fc6d9526b92 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json @@ -17,4 +17,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json index 012637909aab..2435f5ba64bf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json index 39f150b281f7..74eb327430c8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json index 61ea39ad8bfc..017b88cb51d5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json index 070d4706c87a..00e80b0e8a95 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json index 9ff37a09e3fe..2a4f75d2bd43 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json index 80e8f70d0bae..d38b8def8429 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json @@ -35,7 +35,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -76,7 +76,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -118,4 +118,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json index 1799f7f0d51e..3a4ef7ecad07 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json index eab70814a6f2..aba2098c813b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json index 1799f7f0d51e..3a4ef7ecad07 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json index add3cbea1005..e97eafb560c0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json index e3839ce1aca0..86f1cbb63bbf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json index 7e48fbcf04d7..92bc97ce7d0f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json index 8b5ff9e1b487..35ce90b18f6e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json index 8566421809e0..193b7e3a73de 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json index 0e21f1c70cb7..f6e957d7d663 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json index 3cf875e74343..16f8829b5cca 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json index 8c8ce82de6ed..1c2d609bc387 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json @@ -6,7 +6,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json index fd4f1e7afc91..2c48f68c8d45 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json @@ -126,4 +126,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json index 4838b0dd8ba8..e585d7495400 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json index e5c082cf5020..114cffc5d56d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json index e5c082cf5020..114cffc5d56d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json index 91116f11e0e6..94005b212e32 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json index 5146f7cd7d9b..1b18fdac3638 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json index cb8798b1c379..721214d1aba1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json index 00dff4f5e37d..d730f8e56af6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json index 4838b0dd8ba8..e585d7495400 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json index c7dcb4dc99a2..d4787be48f85 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json @@ -26,4 +26,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json index 928dae270df1..dfe33d630b92 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json index 295732b684a8..8f68673cb74c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json @@ -5,13 +5,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -20,4 +20,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json index 00b0450b6bd5..e9709898351e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json index 00c658269503..8cd87dbc9305 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json index 252b66a08b7b..d42419b1513c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json index b919777643a8..b132e9ce2d60 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json index ae802b746e1d..6d24863531d1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json @@ -11,4 +11,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json index b93ccf2e5972..f6a6b564ffdc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json index 7c689202a04d..6b2d12bf5392 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json @@ -25,7 +25,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json index de74e7c76a46..648f17eba528 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -64,7 +64,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -102,7 +102,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json index 851054b7cfef..5bb3d54364c6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json index 7890ded26eaa..8d0eee3dcd99 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json index 6c3ff1a690b2..39783fbbf601 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json index 2f78008cc759..57d9a48e11cc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json @@ -13,9 +13,9 @@ "responses": { "200": { "body": { - "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", - "numberOfFilesUploaded": 8 + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json index 4ca91b80ff92..60acf2106850 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -9,19 +9,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -31,4 +33,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json index 801784379119..94c427f7c73c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -14,19 +14,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -36,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index 27680af3d253..583b04fce0ae 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -20,14 +20,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -37,4 +37,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json index a882613bfccf..a6811632dc06 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json index 3ca02c40c202..5745de52d919 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json index e5de4f519f47..fd8c47c65bfd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json index 3d9aa9802c1e..1c67e6d08341 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json index df564b7fef25..3337fdbbe2d9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json index 3cf8b4c493ed..047ad8ca6ad1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json index 3a99c44f8c8c..a568a9697d7c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json @@ -27,7 +27,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -52,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json index 6793cbd9afd6..92f64e34c1c5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json index d35a77b11af2..e1f8b55fcd8e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json index 506f39f9526e..236359f6e7c8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json index d488ad2616d8..6c08b257518e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json index be49e131d937..39e775bb8d1e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json index a882613bfccf..a6811632dc06 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json @@ -10,4 +10,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json index 085f384e8a6c..ccb342cfac22 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json index bfb641c7dca1..86763d1c9723 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json index 25da173ff7f0..133a2f9e7c8b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json index b3e4d09f2c9d..9031c18af727 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json index 0baced1103b9..71c2d01ba8c7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json index 94362efda14f..e8111012b7df 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json @@ -11,7 +11,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -24,4 +24,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json index 6836485b5244..599f14285152 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json @@ -18,7 +18,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -31,4 +31,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json index 10d6d57516ea..1c95c964b39e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json index 6f8a4d629473..52460c8cc3a2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json @@ -17,7 +17,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json index c2910d5edccc..9a7c20cdb633 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -43,7 +43,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json index 948f9de200df..75ebd1457aca 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json index d3b19cdc94fb..f0e2ed23b285 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json index d3b19cdc94fb..f0e2ed23b285 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json index 560d10f042a6..2ebbee801c7e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json @@ -7,9 +7,9 @@ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json index 55aca92ce685..a36011b28e24 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json @@ -63,7 +63,9 @@ }, "operationId": "Application_List", "x-ms-examples": { - "List applications": { "$ref": "./examples/ApplicationList.json" } + "List applications": { + "$ref": "./examples/ApplicationList.json" + } }, "summary": "Lists all of the applications available in the specified account.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -178,7 +180,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "Get applications": { "$ref": "./examples/ApplicationGet.json" } + "Get applications": { + "$ref": "./examples/ApplicationGet.json" + } }, "summary": "Gets information about the specified application.", "description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.", @@ -288,7 +292,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -440,7 +446,9 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListNodeAgentSkus.json" + } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -568,7 +576,9 @@ "operationId": "Account_ListPoolNodeCounts", "description": "Gets the number of nodes in each state, grouped by pool.", "x-ms-examples": { - "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" } + "NodeCountsPayload": { + "$ref": "./examples/AccountListPoolNodeCounts.json" + } }, "parameters": [ { @@ -681,7 +691,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -781,7 +793,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -881,7 +895,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -991,7 +1007,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -1125,7 +1143,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1240,7 +1260,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1349,7 +1371,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1472,7 +1496,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1583,7 +1609,9 @@ ], "operationId": "File_GetFromTask", "x-ms-examples": { - "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" } + "Get File From Task": { + "$ref": "./examples/FileGetFromTask.json" + } }, "description": "Returns the content of the specified task file.", "x-ms-request-id": "request-id", @@ -1764,7 +1792,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1929,7 +1959,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2040,7 +2072,9 @@ ], "operationId": "File_GetFromComputeNode", "x-ms-examples": { - "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" } + "Get File From Compute Node": { + "$ref": "./examples/FileGetFromNode.json" + } }, "description": "Returns the content of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2221,7 +2255,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2389,7 +2425,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2537,7 +2575,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2682,7 +2722,9 @@ ], "operationId": "JobSchedule_Exists", "x-ms-examples": { - "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" } + "Check Job Schedule Exists": { + "$ref": "./examples/JobScheduleExists.json" + } }, "summary": "Checks the specified job schedule exists.", "x-ms-request-id": "request-id", @@ -2828,7 +2870,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2961,7 +3005,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -3127,7 +3173,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3284,7 +3332,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3443,7 +3493,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3593,7 +3645,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3742,7 +3796,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3891,8 +3947,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -4002,7 +4062,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4146,7 +4208,9 @@ ], "operationId": "Job_Delete", "x-ms-examples": { - "Delete Job": { "$ref": "./examples/JobDelete.json" } + "Delete Job": { + "$ref": "./examples/JobDelete.json" + } }, "summary": "Deletes a job.", "description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.", @@ -4279,7 +4343,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4445,7 +4511,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4602,7 +4670,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4761,7 +4831,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4920,7 +4992,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 180 days. Therefore, if you enable a job containing active tasks which were added more than 180 days ago, those tasks will not run.", @@ -5070,7 +5144,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.", @@ -5229,8 +5305,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5341,7 +5421,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5487,7 +5569,9 @@ "nextLinkName": "odata.nextLink" }, "x-ms-examples": { - "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" } + "List Job Under Job Schedule": { + "$ref": "./examples/JobListFromJobSchedule.json" + } }, "operationId": "Job_ListFromJobSchedule", "summary": "Lists the jobs that have been created under the specified job schedule.", @@ -5642,7 +5726,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5784,7 +5870,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the task counts for the specified job.", "description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running.", @@ -5882,9 +5970,15 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }, - "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5995,7 +6089,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -6139,7 +6235,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6272,7 +6370,9 @@ ], "operationId": "Pool_Exists", "x-ms-examples": { - "Check Pool Exists": { "$ref": "./examples/PoolExists.json" } + "Check Pool Exists": { + "$ref": "./examples/PoolExists.json" + } }, "description": "Gets basic properties of a pool.", "x-ms-request-id": "request-id", @@ -6418,7 +6518,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6584,7 +6686,9 @@ ], "operationId": "Pool_Patch", "x-ms-examples": { - "Patch the Pool": { "$ref": "./examples/PoolPatch.json" } + "Patch the Pool": { + "$ref": "./examples/PoolPatch.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.", @@ -6743,7 +6847,9 @@ ], "operationId": "Pool_DisableAutoScale", "x-ms-examples": { - "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable pool autoscale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "summary": "Disables automatic scaling for a pool.", "x-ms-request-id": "request-id", @@ -6850,7 +6956,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -7009,7 +7117,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.", @@ -7129,7 +7239,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -7288,7 +7400,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7438,7 +7552,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7555,7 +7671,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7714,9 +7832,15 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }, - "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } }, "summary": "Adds a task to the specified job.", "description": "The maximum lifetime of a task from addition to completion is 180 days. If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -7834,7 +7958,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7986,8 +8112,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 180 days. If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -8092,7 +8222,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8232,7 +8364,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8410,7 +8544,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8575,7 +8711,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8699,7 +8837,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8856,7 +8996,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).", @@ -9013,7 +9155,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9137,7 +9281,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9242,7 +9388,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9373,7 +9521,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9496,7 +9646,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9620,7 +9772,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9744,7 +9898,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables task scheduling on the specified compute node.", "description": "You can disable task scheduling on a node only if its current scheduling state is enabled.", @@ -9868,7 +10024,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables task scheduling on the specified compute node.", "description": "You can enable task scheduling on a node only if its current scheduling state is disabled", @@ -9983,7 +10141,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10097,7 +10257,9 @@ ], "operationId": "ComputeNode_GetRemoteDesktop", "x-ms-examples": { - "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" } + "Get RDP file of the compute node": { + "$ref": "./examples/NodeGetRemoteDesktop.json" + } }, "summary": "Gets the Remote Desktop Protocol file for the specified compute node.", "description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.", @@ -10218,7 +10380,9 @@ "summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.", "description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.", "x-ms-examples": { - "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" } + "Upload BatchService Logs": { + "$ref": "./examples/NodeUploadBatchServiceLogs.json" + } }, "x-ms-request-id": "request-id", "parameters": [ @@ -10333,7 +10497,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -10496,7 +10662,13 @@ "title": "The total core hours used in the pool during this aggregation interval." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours" + ], "title": "Usage metrics for a pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10616,7 +10788,11 @@ "title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to pool usage information." }, "ResourceStatistics": { @@ -10687,7 +10863,21 @@ "title": "The total amount of data in GiB of network writes across all nodes in the pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by compute nodes in a pool." }, "PoolStatistics": { @@ -10715,7 +10905,11 @@ "title": "Statistics related to resource consumption by compute nodes in the pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a pool." }, "JobStatistics": { @@ -10794,7 +10988,22 @@ "description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job." }, "NameValuePair": { @@ -10889,7 +11098,9 @@ "description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an application package to be deployed to compute nodes." }, "ApplicationSummary": { @@ -10910,7 +11121,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch account." }, "CertificateAddParameter": { @@ -10955,7 +11170,11 @@ "description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -11002,7 +11221,10 @@ "description": "The file mode is returned only for files on Linux compute nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a compute node." }, "NodeFile": { @@ -11096,7 +11318,9 @@ "description": "This is only supported for jobs running on VirtualMachineConfiguration pools. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes which will run tasks from the job. For more details, see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration." } }, - "required": [ "subnetId" ], + "required": [ + "subnetId" + ], "title": "The network configuration for the job." }, "TaskContainerSettings": { @@ -11117,7 +11341,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -11166,7 +11392,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "ExitConditions": { @@ -11215,7 +11443,10 @@ } }, "title": "How the Batch service should respond if a task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11235,7 +11466,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11419,7 +11654,10 @@ "$ref": "#/definitions/WindowsUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute tasks on an Azure Batch node." }, "TaskConstraints": { @@ -11528,7 +11766,10 @@ "description": "The default value is true." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager task.", "description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11584,7 +11825,9 @@ "description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation task to run before any tasks of the job on any given compute node.", "description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -11637,7 +11880,9 @@ "description": "If omitted, the task runs as a non-administrative user unique to the task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release task to run on job completion on any compute node where the job has run.", "description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool." }, @@ -11666,7 +11911,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "StartTask": { @@ -11713,7 +11960,9 @@ "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing. In some cases the start task may be re-run even though the node was not rebooted. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task." }, @@ -11792,7 +12041,10 @@ "description": "You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool." }, "MetadataItem": { @@ -11806,7 +12058,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11930,7 +12185,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new pool." }, "AutoPoolSpecification": { @@ -11973,7 +12230,9 @@ "title": "The pool specification for the auto pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted." }, "PoolInformation": { @@ -12062,7 +12321,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the jobs to be created on a schedule." }, "RecentJob": { @@ -12174,7 +12435,22 @@ "description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a job schedule." }, "CloudJobSchedule": { @@ -12283,7 +12559,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job." }, "CloudJobScheduleListResult": { @@ -12324,7 +12604,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a job." }, "JobExecutionInformation": { @@ -12357,7 +12639,9 @@ "description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a job in the Azure Batch service." }, "CloudJob": { @@ -12561,7 +12845,10 @@ "title": "The network configuration for the job." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch job to add." }, "CloudJobListResult": { @@ -12621,7 +12908,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12702,7 +12991,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation task on a compute node." }, "JobReleaseTaskExecutionInformation": { @@ -12771,7 +13064,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release task on a compute node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12844,7 +13140,13 @@ "title": "The number of tasks which failed. A task fails if its result (found in the executionInfo property) is 'failure'." } }, - "required": [ "active", "running", "completed", "succeeded", "failed" ], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed" + ], "title": "The task counts for a job." }, "AutoScaleRunError": { @@ -12884,7 +13186,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "ResizeError": { @@ -12920,7 +13224,9 @@ "description": "The default value is * which specifies the latest operating system version for the specified OS family." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -13082,7 +13388,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "nodeAgentSKUId", "imageReference" ], + "required": [ + "nodeAgentSKUId", + "imageReference" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -13102,7 +13411,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -13141,7 +13453,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "NetworkConfiguration": { @@ -13539,7 +13853,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13582,7 +13899,9 @@ "description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task." }, "TaskExecutionInformation": { @@ -13645,7 +13964,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a task." }, "ComputeNodeInformation": { @@ -13691,7 +14013,10 @@ "description": "This is the most recent time that the node agent was updated to a new version." } }, - "required": [ "version", "lastUpdateTime" ], + "required": [ + "version", + "lastUpdateTime" + ], "title": "Information about the node agent.", "description": "The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the compute node." }, @@ -13717,7 +14042,9 @@ "description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." } }, - "required": [ "coordinationCommandLine" ], + "required": [ + "coordinationCommandLine" + ], "title": "Settings which specify how to run a multi-instance task.", "description": "Multi-instance tasks are commonly used to support MPI tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance task fails. The multi-instance task is then terminated and retried, up to its retry limit." }, @@ -13779,7 +14106,19 @@ "title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a task." }, "TaskDependencies": { @@ -13817,7 +14156,10 @@ }, "title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -14044,7 +14386,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch task to add.", "description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing." }, @@ -14060,7 +14405,9 @@ "description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch tasks to add." }, "TaskAddResult": { @@ -14117,7 +14464,10 @@ "title": "The error encountered while attempting to add the task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single task added as part of an add task collection operation." }, "TaskAddCollectionResult": { @@ -14254,7 +14604,9 @@ "title": "Information about the execution of the task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a task running on a compute node." }, "StartTaskInformation": { @@ -14327,7 +14679,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start task running on a compute node." }, "ComputeNodeError": { @@ -14568,7 +14924,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNATPool": { @@ -14609,7 +14967,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -14648,7 +15012,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -14661,7 +15029,9 @@ "title": "The list of inbound endpoints that are accessible on the compute node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the compute node." }, "InboundEndpoint": { @@ -14693,7 +15063,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a compute node." }, "ComputeNodeListResult": { @@ -14740,7 +15117,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user account for RDP or SSH access on a compute node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14755,7 +15134,10 @@ "title": "The port used for remote login to the compute node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a compute node." }, "JobSchedulePatchParameter": { @@ -14802,7 +15184,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a job schedule." }, "JobDisableParameter": { @@ -14835,7 +15220,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a job." }, "JobTerminateParameter": { @@ -14913,7 +15300,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a job." }, "PoolEnableAutoScaleParameter": { @@ -14940,7 +15329,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a pool." }, "PoolResizeParameter": { @@ -15001,7 +15392,11 @@ "description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a pool." }, "PoolPatchParameter": { @@ -15205,7 +15600,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing compute nodes from a pool." }, "OutputFile": { @@ -15224,7 +15621,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process." }, "OutputFileDestination": { @@ -15249,7 +15650,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -15260,7 +15663,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { @@ -15709,7 +16114,10 @@ "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime." } }, - "required": [ "containerUrl", "startTime" ], + "required": [ + "containerUrl", + "startTime" + ], "title": "The Azure Batch service log files upload configuration for a compute node." }, "UploadBatchServiceLogsResult": { @@ -15725,7 +16133,10 @@ "title": "The number of log files which will be uploaded." } }, - "required": [ "virtualDirectoryName", "numberOfFilesUploaded" ], + "required": [ + "virtualDirectoryName", + "numberOfFilesUploaded" + ], "title": "The result of uploading Batch service log files from a specific compute node." }, "PoolNodeCountsListResult": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json index d59100fda47b..612b8ada888f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json index 13ddd4d2ad30..f8fb3fbc8750 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json @@ -118,4 +118,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json index 404e317182fd..b9b725b902e0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json @@ -9,12 +9,12 @@ "responses": { "200": { "body": { - "id": "my_application_id", - "versions": [ - "v1.0" - ], - "displayName": "my_display_name" + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json index 8faa2407818a..968c9ae24180 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json index d52b5da92f0e..f0adb7c462ab 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json @@ -5,11 +5,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json index 3a8f6699a6e9..7c8b0448ca94 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json index dec2a177db34..8551e628f7f2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json index 6c70d78421fe..bd73dc47f117 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json index d7e848f92ede..91a6ab0f5152 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json index df2e9429ea9a..16573010b4e7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json index 24f0c8761a9b..e5437a6bba04 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json index 3a1eb00168be..f807ff0cb44a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json index 4e3749693306..a3fda8f1278e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json index d7fe29cb7014..24b4a603d7bd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json index a824b9d99ae8..d6205d5cd400 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json index 344d20111976..0f30ffabe6da 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json index ffa1051f4e0c..f5808c841123 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json index f42ede825346..ed594e660895 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json index 3e418a47ab9e..68c8bf942e4f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json @@ -36,7 +36,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -77,7 +77,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -119,4 +119,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json index 551d0c72d70d..adf191d9e5c7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json index 3001e7497cc1..0eef299bd733 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json index 551d0c72d70d..adf191d9e5c7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json index 020a36ae8968..30334948bc64 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json index 370281b57dc2..1ca8d2a56229 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json index 69eeb39bad46..418da2bd06d1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json index 5f2bf2115d0a..78de7117410f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json index 4a581dd0be9d..5f88a5f1fcab 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json index 69807d33f286..10489d6da296 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json index 96d7455768f8..2e852869eea3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json @@ -6,13 +6,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json index 5e5021633b5a..fab90a6697ae 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json @@ -7,7 +7,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json index 15147f8fdcd3..9f80ffea4a74 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json @@ -127,4 +127,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json index f4995ff15e9b..c6298f9aaa58 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json index 2d1fed498e83..65bf4b4f2a39 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json index 2d1fed498e83..65bf4b4f2a39 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json index 1c7929b0e2bd..df075c3ce296 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json index 249b2ea312a8..308289f63217 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json index 85f00683ab50..4b4e826a14ec 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json index 974ad4b96ff9..c775219fe8c7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json index f4995ff15e9b..c6298f9aaa58 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json index 1d7b07d7c499..20cb033a18f7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json index 386f3683ca7d..a8577cac67c1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json index bd529af60161..812c60ab67c2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json @@ -6,13 +6,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json index 9b066c59156a..8bb209308120 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json index 38d4f051ae4d..ac6a838487a9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json index 281e098ac108..1a6755557731 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json index c93e791f91bb..74959df00762 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json index 6d261e4b03d5..0738f7dccced 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json @@ -12,4 +12,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json index 9f0abc48ddd3..cb53ef78fffd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json index fe55ea7bf40c..3b5efa06a66d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json index e5ea20fbfeb3..5ccff585826f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json @@ -27,7 +27,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -65,7 +65,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -103,7 +103,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json index 8fc2fd8cd55d..4cc09a265ee7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json index 1dc0643c784b..c875a9fa650c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json index 0bc124036dcf..97275cf59124 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json index 700bb57fc89f..b20cd97f8cac 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", - "numberOfFilesUploaded": 8 + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json index a93e282d0024..ba50407e79c8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -10,19 +10,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -32,4 +34,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json index b26fce77be20..0190b072510c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -15,19 +15,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -37,4 +39,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index 04ed1c84b96b..dbecab5466d5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -21,14 +21,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -38,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json index b21c340c7a42..4fff5aedb71f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json index 04670de95ac3..41e6a48a6dd0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json index 9c9a4d2d4b8f..de939967f609 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json index c1ec9c21b633..17889505bc62 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json index 385984444d75..5a1b5e527439 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json index 55e39373893a..57781f1f1463 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json index 9d8f7f83e19c..d0aaf3aaac18 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json index e05af7a849b2..f7fc2135825f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json index b81487f337b8..b0e4f443cbc2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json @@ -29,7 +29,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json index a1475eeb5410..c2879074626b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json index c0bbf983e5cd..29e927deeccc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json index 2779f892863a..579087a2af53 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json index b21c340c7a42..4fff5aedb71f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json index 69fe12dd6ff3..aeb6cf04e505 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json index e162a318b08d..ae160f27f485 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json index c56d31718e5d..7b4a84ee2ae4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json index 23a8189702d6..5b06eba92726 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json index 47f35697248f..ef5ff9f2aa43 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json @@ -12,7 +12,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -25,4 +25,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json index 90a0999d2166..7296e3cdecf8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json @@ -19,7 +19,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -32,4 +32,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json index 591d3dc05279..7a2b1dc9aed6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json index bf9d9fc092e0..16ee12da0a2b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json index ec9b85595b4b..a11c0d1c26ba 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json @@ -19,7 +19,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -44,7 +44,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json index 54eddbdb91f6..309f66590252 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json index 6c07e145e137..e88c12121a9c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json index 6c07e145e137..e88c12121a9c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json index bcf451b6bc0c..7bddd743c7d9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json @@ -8,9 +8,9 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json index 7393d7c5c856..4d310bdb3d47 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json @@ -63,7 +63,9 @@ }, "operationId": "Application_List", "x-ms-examples": { - "List applications": { "$ref": "./examples/ApplicationList.json" } + "List applications": { + "$ref": "./examples/ApplicationList.json" + } }, "summary": "Lists all of the applications available in the specified Account.", "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.", @@ -178,7 +180,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "Get applications": { "$ref": "./examples/ApplicationGet.json" } + "Get applications": { + "$ref": "./examples/ApplicationGet.json" + } }, "summary": "Gets information about the specified Application.", "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Compute Nodes, use the Azure portal or the Azure Resource Manager API.", @@ -288,7 +292,9 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } }, "summary": "Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", @@ -440,7 +446,9 @@ }, "operationId": "Account_ListSupportedImages", "x-ms-examples": { - "Account list node agent skus": { "$ref": "./examples/AccountListSupportedImages.json" } + "Account list node agent skus": { + "$ref": "./examples/AccountListSupportedImages.json" + } }, "summary": "Lists all Virtual Machine Images supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -568,7 +576,9 @@ "operationId": "Account_ListPoolNodeCounts", "description": "Gets the number of Compute Nodes in each state, grouped by Pool.", "x-ms-examples": { - "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" } + "NodeCountsPayload": { + "$ref": "./examples/AccountListPoolNodeCounts.json" + } }, "parameters": [ { @@ -681,7 +691,9 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the Pools in the specified Account.", "description": "Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -781,7 +793,9 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } }, "summary": "Gets lifetime summary statistics for all of the Jobs in the specified Account.", "description": "Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", @@ -881,7 +895,9 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "./examples/CertificateAdd.json" } + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } }, "summary": "Adds a Certificate to the specified Account.", "x-ms-request-id": "request-id", @@ -991,7 +1007,9 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "./examples/CertificateList.json" } + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } }, "summary": "Lists all of the Certificates that have been added to the specified Account.", "x-ms-request-id": "request-id", @@ -1125,7 +1143,9 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } }, "summary": "Cancels a failed deletion of a Certificate from the specified Account.", "description": "If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.", @@ -1240,7 +1260,9 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } }, "summary": "Deletes a Certificate from the specified Account.", "description": "You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.", @@ -1349,7 +1371,9 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "./examples/CertificateGet.json" } + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } }, "description": "Gets information about the specified Certificate.", "x-ms-request-id": "request-id", @@ -1472,7 +1496,9 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } }, "summary": "Deletes the specified Task file from the Compute Node where the Task ran.", "x-ms-request-id": "request-id", @@ -1583,7 +1609,9 @@ ], "operationId": "File_GetFromTask", "x-ms-examples": { - "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" } + "Get File From Task": { + "$ref": "./examples/FileGetFromTask.json" + } }, "description": "Returns the content of the specified Task file.", "x-ms-request-id": "request-id", @@ -1764,7 +1792,9 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } }, "description": "Gets the properties of the specified Task file.", "x-ms-request-id": "request-id", @@ -1929,7 +1959,9 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } }, "summary": "Deletes the specified file from the Compute Node.", "x-ms-request-id": "request-id", @@ -2040,7 +2072,9 @@ ], "operationId": "File_GetFromComputeNode", "x-ms-examples": { - "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" } + "Get File From Compute Node": { + "$ref": "./examples/FileGetFromNode.json" + } }, "description": "Returns the content of the specified Compute Node file.", "x-ms-request-id": "request-id", @@ -2221,7 +2255,9 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } }, "description": "Gets the properties of the specified Compute Node file.", "x-ms-request-id": "request-id", @@ -2389,7 +2425,9 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "./examples/FileListFromTask.json" } + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } }, "summary": "Lists the files in a Task's directory on its Compute Node.", "x-ms-request-id": "request-id", @@ -2537,7 +2575,9 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "./examples/FileListFromNode.json" } + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } }, "summary": "Lists all of the files in Task directories on the specified Compute Node.", "x-ms-request-id": "request-id", @@ -2682,7 +2722,9 @@ ], "operationId": "JobSchedule_Exists", "x-ms-examples": { - "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" } + "Check Job Schedule Exists": { + "$ref": "./examples/JobScheduleExists.json" + } }, "summary": "Checks the specified Job Schedule exists.", "x-ms-request-id": "request-id", @@ -2828,7 +2870,9 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } }, "summary": "Deletes a Job Schedule from the specified Account.", "description": "When you delete a Job Schedule, this also deletes all Jobs and Tasks under that schedule. When Tasks are deleted, all the files in their working directories on the Compute Nodes are also deleted (the retention period is ignored). The Job Schedule statistics are no longer accessible once the Job Schedule is deleted, though they are still counted towards Account lifetime statistics.", @@ -2961,7 +3005,9 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } }, "description": "Gets information about the specified Job Schedule.", "x-ms-request-id": "request-id", @@ -3127,7 +3173,9 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } }, "summary": "Updates the properties of the specified Job Schedule.", "description": "This replaces only the Job Schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.", @@ -3284,7 +3332,9 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } }, "summary": "Updates the properties of the specified Job Schedule.", "description": "This fully replaces all the updatable properties of the Job Schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.", @@ -3443,7 +3493,9 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } }, "summary": "Disables a Job Schedule.", "description": "No new Jobs will be created until the Job Schedule is enabled again.", @@ -3593,7 +3645,9 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } }, "summary": "Enables a Job Schedule.", "x-ms-request-id": "request-id", @@ -3742,7 +3796,9 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } }, "summary": "Terminates a Job Schedule.", "x-ms-request-id": "request-id", @@ -3891,8 +3947,12 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } }, "summary": "Adds a Job Schedule to the specified Account.", "x-ms-request-id": "request-id", @@ -4002,7 +4062,9 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } }, "summary": "Lists all of the Job Schedules in the specified Account.", "x-ms-request-id": "request-id", @@ -4146,7 +4208,9 @@ ], "operationId": "Job_Delete", "x-ms-examples": { - "Delete Job": { "$ref": "./examples/JobDelete.json" } + "Delete Job": { + "$ref": "./examples/JobDelete.json" + } }, "summary": "Deletes a Job.", "description": "Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.", @@ -4279,7 +4343,9 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "./examples/JobGet.json" } + "Job get": { + "$ref": "./examples/JobGet.json" + } }, "summary": "Gets information about the specified Job.", "x-ms-request-id": "request-id", @@ -4445,7 +4511,9 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "./examples/JobPatch.json" } + "Job patch": { + "$ref": "./examples/JobPatch.json" + } }, "summary": "Updates the properties of the specified Job.", "description": "This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.", @@ -4602,7 +4670,9 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "./examples/JobUpdate.json" } + "Job update": { + "$ref": "./examples/JobUpdate.json" + } }, "summary": "Updates the properties of the specified Job.", "description": "This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4761,7 +4831,9 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "./examples/JobDisable.json" } + "Job disable": { + "$ref": "./examples/JobDisable.json" + } }, "summary": "Disables the specified Job, preventing new Tasks from running.", "description": "The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4920,7 +4992,9 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "./examples/JobEnable.json" } + "Job enable": { + "$ref": "./examples/JobEnable.json" + } }, "summary": "Enables the specified Job, allowing new Tasks to run.", "description": "When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.", @@ -5070,7 +5144,9 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "./examples/JobTerminate.json" } + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } }, "summary": "Terminates the specified Job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.", @@ -5229,8 +5305,12 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } }, "summary": "Adds a Job to the specified Account.", "description": "The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5341,7 +5421,9 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "./examples/JobList.json" } + "Job list": { + "$ref": "./examples/JobList.json" + } }, "summary": "Lists all of the Jobs in the specified Account.", "x-ms-request-id": "request-id", @@ -5487,7 +5569,9 @@ "nextLinkName": "odata.nextLink" }, "x-ms-examples": { - "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" } + "List Job Under Job Schedule": { + "$ref": "./examples/JobListFromJobSchedule.json" + } }, "operationId": "Job_ListFromJobSchedule", "summary": "Lists the Jobs that have been created under the specified Job Schedule.", @@ -5642,7 +5726,9 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } }, "summary": "Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.", "description": "This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", @@ -5784,7 +5870,9 @@ ], "operationId": "Job_GetTaskCounts", "x-ms-examples": { - "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" } + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } }, "summary": "Gets the Task counts for the specified Job.", "description": "Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running.", @@ -5882,9 +5970,15 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }, - "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" } + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + } }, "summary": "Adds a Pool to the specified Account.", "description": "When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5995,7 +6089,9 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "./examples/PoolList_Basic.json" } + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } }, "summary": "Lists all of the Pools in the specified Account.", "x-ms-request-id": "request-id", @@ -6139,7 +6235,9 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "./examples/PoolDelete.json" } + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } }, "summary": "Deletes a Pool from the specified Account.", "description": "When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6272,7 +6370,9 @@ ], "operationId": "Pool_Exists", "x-ms-examples": { - "Check Pool Exists": { "$ref": "./examples/PoolExists.json" } + "Check Pool Exists": { + "$ref": "./examples/PoolExists.json" + } }, "description": "Gets basic properties of a Pool.", "x-ms-request-id": "request-id", @@ -6418,7 +6518,9 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } }, "description": "Gets information about the specified Pool.", "x-ms-request-id": "request-id", @@ -6584,7 +6686,9 @@ ], "operationId": "Pool_Patch", "x-ms-examples": { - "Patch the Pool": { "$ref": "./examples/PoolPatch.json" } + "Patch the Pool": { + "$ref": "./examples/PoolPatch.json" + } }, "summary": "Updates the properties of the specified Pool.", "description": "This only replaces the Pool properties specified in the request. For example, if the Pool has a start Task associated with it, and a request does not specify a start Task element, then the Pool keeps the existing start Task.", @@ -6743,7 +6847,9 @@ ], "operationId": "Pool_DisableAutoScale", "x-ms-examples": { - "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable pool autoscale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "summary": "Disables automatic scaling for a Pool.", "x-ms-request-id": "request-id", @@ -6850,7 +6956,9 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } }, "summary": "Enables automatic scaling for a Pool.", "description": "You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.", @@ -7009,7 +7117,9 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } }, "summary": "Gets the result of evaluating an automatic scaling formula on the Pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.", @@ -7129,7 +7239,9 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "./examples/PoolResize.json" } + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } }, "summary": "Changes the number of Compute Nodes that are assigned to a Pool.", "description": "You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.", @@ -7288,7 +7400,9 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } }, "summary": "Stops an ongoing resize operation on the Pool.", "description": "This does not restore the Pool to its previous state before the resize operation: it only stops any further changes being made, and the Pool maintains its current state. After stopping, the Pool stabilizes at the number of Compute Nodes it was at when the stop operation was done. During the stop operation, the Pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize Pool request; this API can also be used to halt the initial sizing of the Pool when it is created.", @@ -7438,7 +7552,9 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "./examples/PoolUpdate.json" } + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } }, "summary": "Updates the properties of the specified Pool.", "description": "This fully replaces all the updatable properties of the Pool. For example, if the Pool has a start Task associated with it and if start Task is not specified with this request, then the Batch service will remove the existing start Task.", @@ -7555,7 +7671,9 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } }, "summary": "Removes Compute Nodes from the specified Pool.", "description": "This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7714,9 +7832,15 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }, - "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" } + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } }, "summary": "Adds a Task to the specified Job.", "description": "The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -7834,7 +7958,9 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "./examples/TaskList.json" } + "Task list": { + "$ref": "./examples/TaskList.json" + } }, "summary": "Lists all of the Tasks that are associated with the specified Job.", "description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.", @@ -7986,8 +8112,12 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } }, "summary": "Adds a collection of Tasks to the specified Job.", "description": "Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", @@ -8092,7 +8222,9 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "./examples/TaskDelete.json" } + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } }, "summary": "Deletes a Task from the specified Job.", "description": "When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8232,7 +8364,9 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "./examples/TaskGet.json" } + "Task get": { + "$ref": "./examples/TaskGet.json" + } }, "summary": "Gets information about the specified Task.", "description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.", @@ -8410,7 +8544,9 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "./examples/TaskUpdate.json" } + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } }, "description": "Updates the properties of the specified Task.", "x-ms-request-id": "request-id", @@ -8575,7 +8711,9 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance Task.", "description": "If the Task is not a multi-instance Task then this returns an empty collection.", @@ -8699,7 +8837,9 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "./examples/TaskTerminate.json" } + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } }, "summary": "Terminates the specified Task.", "description": "When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8856,7 +8996,9 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } }, "summary": "Reactivates a Task, allowing it to run again even if its retry count has been exhausted.", "description": "Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).", @@ -9013,7 +9155,9 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "./examples/NodeAddUser.json" } + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } }, "summary": "Adds a user Account to the specified Compute Node.", "description": "You can add a user Account to a Compute Node only when it is in the idle or running state.", @@ -9137,7 +9281,9 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } }, "summary": "Deletes a user Account from the specified Compute Node.", "description": "You can delete a user Account to a Compute Node only when it is in the idle or running state.", @@ -9242,7 +9388,9 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } }, "summary": "Updates the password and expiration time of a user Account on the specified Compute Node.", "description": "This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.", @@ -9373,7 +9521,9 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "./examples/NodeGet_Basic.json" } + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } }, "summary": "Gets information about the specified Compute Node.", "x-ms-request-id": "request-id", @@ -9496,7 +9646,9 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "./examples/NodeReboot.json" } + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } }, "summary": "Restarts the specified Compute Node.", "description": "You can restart a Compute Node only if it is in an idle or running state.", @@ -9620,7 +9772,9 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "./examples/NodeReimage.json" } + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } }, "summary": "Reinstalls the operating system on the specified Compute Node.", "description": "You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.", @@ -9744,7 +9898,9 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } }, "summary": "Disables Task scheduling on the specified Compute Node.", "description": "You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.", @@ -9868,7 +10024,9 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } }, "summary": "Enables Task scheduling on the specified Compute Node.", "description": "You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled", @@ -9983,7 +10141,9 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } }, "summary": "Gets the settings required for remote login to a Compute Node.", "description": "Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.", @@ -10097,7 +10257,9 @@ ], "operationId": "ComputeNode_GetRemoteDesktop", "x-ms-examples": { - "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" } + "Get RDP file of the compute node": { + "$ref": "./examples/NodeGetRemoteDesktop.json" + } }, "summary": "Gets the Remote Desktop Protocol file for the specified Compute Node.", "description": "Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.", @@ -10218,7 +10380,9 @@ "summary": "Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage.", "description": "This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.", "x-ms-examples": { - "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" } + "Upload BatchService Logs": { + "$ref": "./examples/NodeUploadBatchServiceLogs.json" + } }, "x-ms-request-id": "request-id", "parameters": [ @@ -10333,7 +10497,9 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "./examples/NodeList.json" } + "Node list": { + "$ref": "./examples/NodeList.json" + } }, "summary": "Lists the Compute Nodes in the specified Pool.", "x-ms-request-id": "request-id", @@ -10496,7 +10662,13 @@ "title": "The total core hours used in the Pool during this aggregation interval." } }, - "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours" ], + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours" + ], "title": "Usage metrics for a Pool across an aggregation interval." }, "PoolListUsageMetricsResult": { @@ -10583,7 +10755,12 @@ } } }, - "required": [ "imageReference", "verificationType", "osType", "nodeAgentSKUId" ], + "required": [ + "imageReference", + "verificationType", + "osType", + "nodeAgentSKUId" + ], "title": "A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image." }, "AuthenticationTokenSettings": { @@ -10647,7 +10824,11 @@ "title": "The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool." } }, - "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ], + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], "title": "Statistics related to Pool usage information." }, "ResourceStatistics": { @@ -10718,7 +10899,21 @@ "title": "The total amount of data in GiB of network writes across all Compute Nodes in the Pool." } }, - "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ], + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], "title": "Statistics related to resource consumption by Compute Nodes in a Pool." }, "PoolStatistics": { @@ -10746,7 +10941,11 @@ "title": "Statistics related to resource consumption by Compute Nodes in the Pool." } }, - "required": [ "url", "startTime", "lastUpdateTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], "title": "Contains utilization and resource usage statistics for the lifetime of a Pool." }, "JobStatistics": { @@ -10825,7 +11024,22 @@ "description": "The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.) This value is only reported in the Account lifetime statistics; it is not included in the Job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a Job." }, "NameValuePair": { @@ -10920,7 +11134,9 @@ "description": "If this is omitted on a Pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a Task, and no default version is specified for this application, the Task fails with a pre-processing error." } }, - "required": [ "applicationId" ], + "required": [ + "applicationId" + ], "title": "A reference to an Package to be deployed to Compute Nodes." }, "ApplicationSummary": { @@ -10941,7 +11157,11 @@ } } }, - "required": [ "id", "displayName", "versions" ], + "required": [ + "id", + "displayName", + "versions" + ], "title": "Contains information about an application in an Azure Batch Account." }, "CertificateAddParameter": { @@ -10986,7 +11206,11 @@ "description": "This is required if the Certificate format is pfx. It should be omitted if the Certificate format is cer." } }, - "required": [ "thumbprint", "thumbprintAlgorithm", "data" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], "title": "A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine." }, "CertificateListResult": { @@ -11033,7 +11257,10 @@ "description": "The file mode is returned only for files on Linux Compute Nodes." } }, - "required": [ "lastModified", "contentLength" ], + "required": [ + "lastModified", + "contentLength" + ], "title": "The properties of a file on a Compute Node." }, "NodeFile": { @@ -11131,7 +11358,9 @@ } } }, - "required": [ "subnetId" ], + "required": [ + "subnetId" + ], "title": "The network configuration for the Job." }, "TaskContainerSettings": { @@ -11175,7 +11404,9 @@ } } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a Task." }, "ResourceFile": { @@ -11224,7 +11455,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a Task process." }, "ExitConditions": { @@ -11273,7 +11506,10 @@ } }, "title": "How the Batch service should respond if a Task exits with a particular exit code.", - "required": [ "code", "exitOptions" ] + "required": [ + "code", + "exitOptions" + ] }, "ExitCodeRangeMapping": { "properties": { @@ -11293,7 +11529,11 @@ } }, "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", - "required": [ "start", "end", "exitOptions" ] + "required": [ + "start", + "end", + "exitOptions" + ] }, "ExitOptions": { "properties": { @@ -11477,7 +11717,10 @@ "$ref": "#/definitions/WindowsUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node." }, "TaskConstraints": { @@ -11586,7 +11829,10 @@ "description": "The default value is true." } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "Specifies details of a Job Manager Task.", "description": "The Job Manager Task is automatically started when the Job is created. The Batch service tries to schedule the Job Manager Task before any other Tasks in the Job. When shrinking a Pool, the Batch service tries to preserve Nodes where Job Manager Tasks are running for as long as possible (that is, Compute Nodes running 'normal' Tasks are removed before Compute Nodes running Job Manager Tasks). When a Job Manager Task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle Compute Nodes available, the system may terminate one of the running Tasks in the Pool and return it to the queue in order to make room for the Job Manager Task to restart. Note that a Job Manager Task in one Job does not have priority over Tasks in other Jobs. Across Jobs, only Job level priorities are observed. For example, if a Job Manager in a priority 0 Job needs to be restarted, it will not displace Tasks of a priority 1 Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." }, @@ -11642,7 +11888,9 @@ "description": "The Job Preparation Task is always rerun if a Compute Node is reimaged, or if the Job Preparation Task did not complete (e.g. because the reboot occurred while the Task was running). Therefore, you should always write a Job Preparation Task to be idempotent and to behave correctly if run multiple times. The default value is true." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Preparation Task to run before any Tasks of the Job on any given Compute Node.", "description": "You can use Job Preparation to prepare a Node to run Tasks for the Job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the Tasks in the Job. The Job Preparation Task can download these common resource files to the shared location on the Node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the Node so that all Tasks of that Job can communicate with it. If the Job Preparation Task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run Tasks of this Job on the Node. The Compute Node remains ineligible to run Tasks of this Job until it is reimaged. The Compute Node remains active and can be used for other Jobs. The Job Preparation Task can run multiple times on the same Node. Therefore, you should write the Job Preparation Task to handle re-execution. If the Node is rebooted, the Job Preparation Task is run again on the Compute Node before scheduling any other Task of the Job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation Task did not previously complete. If the Node is reimaged, the Job Preparation Task is run again before scheduling any Task of the Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." }, @@ -11695,7 +11943,9 @@ "description": "If omitted, the Task runs as a non-administrative user unique to the Task." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Job Release Task to run on Job completion on any Compute Node where the Job has run.", "description": "The Job Release Task runs when the Job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the Job is still active, the Job's maximum wall clock time constraint is reached, and the Job is still active, or the Job's Job Manager Task completed, and the Job is configured to terminate when the Job Manager completes. The Job Release Task runs on each Node where Tasks of the Job have run and the Job Preparation Task ran and completed. If you reimage a Node after it has run the Job Preparation Task, and the Job ends without any further Tasks of the Job running on that Node (and hence the Job Preparation Task does not re-run), then the Job Release Task does not run on that Compute Node. If a Node reboots while the Job Release Task is still running, the Job Release Task runs again when the Compute Node starts up. The Job is not marked as complete until all Job Release Tasks have completed. The Job Release Task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the Pool." }, @@ -11725,7 +11975,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how Tasks should be distributed across Compute Nodes." }, "StartTask": { @@ -11772,7 +12024,9 @@ "description": "If true and the start Task fails on a Node, the Batch service retries the start Task up to its maximum retry count (maxTaskRetryCount). If the Task has still not completed successfully after all retries, then the Batch service marks the Node unusable, and will not schedule Tasks to it. This condition can be detected via the Compute Node state and failure info details. If false, the Batch service will not wait for the start Task to complete. In this case, other Tasks can start executing on the Compute Node while the start Task is still running; and even if the start Task fails, new Tasks will continue to be scheduled on the Compute Node. The default is false." } }, - "required": [ "commandLine" ], + "required": [ + "commandLine" + ], "title": "A Task which is run when a Node joins a Pool in the Azure Batch service, or when the Compute Node is rebooted or reimaged.", "description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing. In some cases the start Task may be re-run even though the Compute Node was not rebooted. Special care should be taken to avoid start Tasks which create breakaway process or install/launch services from the start Task working directory, as this will block Batch from being able to re-run the start Task." }, @@ -11851,7 +12105,10 @@ "description": "You can specify more than one visibility in this collection. The default is all Accounts." } }, - "required": [ "thumbprint", "thumbprintAlgorithm" ], + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], "title": "A reference to a Certificate to be installed on Compute Nodes in a Pool." }, "MetadataItem": { @@ -11865,7 +12122,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -11989,7 +12249,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "vmSize" ], + "required": [ + "vmSize" + ], "title": "Specification for creating a new Pool." }, "AutoPoolSpecification": { @@ -12032,7 +12294,9 @@ "title": "The Pool specification for the auto Pool." } }, - "required": [ "poolLifetimeOption" ], + "required": [ + "poolLifetimeOption" + ], "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted." }, "PoolInformation": { @@ -12121,7 +12385,9 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "Specifies details of the Jobs to be created on a schedule." }, "RecentJob": { @@ -12233,7 +12499,22 @@ "description": "This value is only reported in the Account lifetime statistics; it is not included in the Job statistics." } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], "title": "Resource usage statistics for a Job Schedule." }, "CloudJobSchedule": { @@ -12342,7 +12623,11 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "schedule", "jobSpecification" ], + "required": [ + "id", + "schedule", + "jobSpecification" + ], "title": "A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job." }, "CloudJobScheduleListResult": { @@ -12383,7 +12668,9 @@ "title": "A list of additional error details related to the scheduling error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "An error encountered by the Batch service when scheduling a Job." }, "JobExecutionInformation": { @@ -12416,7 +12703,9 @@ "description": "This property is set only if the Job is in the completed state. If the Batch service terminates the Job, it sets the reason as follows: JMComplete - the Job Manager Task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the Job reached its maxWallClockTime constraint. TerminateJobSchedule - the Job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the Job's onAllTasksComplete attribute is set to terminatejob, and all Tasks in the Job are complete. TaskFailed - the Job's onTaskFailure attribute is set to performExitOptionsJobAction, and a Task in the Job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a Job' operation." } }, - "required": [ "startTime" ], + "required": [ + "startTime" + ], "title": "Contains information about the execution of a Job in the Azure Batch service." }, "CloudJob": { @@ -12620,7 +12909,10 @@ "title": "The network configuration for the Job." } }, - "required": [ "id", "poolInfo" ], + "required": [ + "id", + "poolInfo" + ], "title": "An Azure Batch Job to add." }, "CloudJobListResult": { @@ -12680,7 +12972,9 @@ "title": "A list of additional details related to the error." } }, - "required": [ "category" ], + "required": [ + "category" + ], "title": "Information about a Task failure." }, "JobPreparationTaskExecutionInformation": { @@ -12761,7 +13055,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "retryCount", "state" ], + "required": [ + "startTime", + "retryCount", + "state" + ], "title": "Contains information about the execution of a Job Preparation Task on a Compute Node." }, "JobReleaseTaskExecutionInformation": { @@ -12830,7 +13128,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "startTime", "state" ], + "required": [ + "startTime", + "state" + ], "title": "Contains information about the execution of a Job Release Task on a Compute Node." }, "JobPreparationAndReleaseTaskExecutionInformation": { @@ -12903,7 +13204,13 @@ "title": "The number of Tasks which failed. A Task fails if its result (found in the executionInfo property) is 'failure'." } }, - "required": [ "active", "running", "completed", "succeeded", "failed" ], + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed" + ], "title": "The Task counts for a Job." }, "AutoScaleRunError": { @@ -12943,7 +13250,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful." } }, - "required": [ "timestamp" ], + "required": [ + "timestamp" + ], "title": "The results and errors from an execution of a Pool autoscale formula." }, "ResizeError": { @@ -12979,7 +13288,9 @@ "description": "The default value is * which specifies the latest operating system version for the specified OS family." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for Compute Nodes in a Pool based on the Azure Cloud Services platform." }, "ImageReference": { @@ -13141,7 +13452,10 @@ "description": "If specified, setup is performed on each Compute Node in the Pool to allow Tasks to run in containers. All regular Tasks and Job manager Tasks run on this Pool must specify the containerSettings property, and all other Tasks may specify it." } }, - "required": [ "nodeAgentSKUId", "imageReference" ], + "required": [ + "nodeAgentSKUId", + "imageReference" + ], "title": "The configuration for Compute Nodes in a Pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -13161,7 +13475,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -13200,7 +13517,9 @@ "description": "If any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled Pools." }, "NetworkConfiguration": { @@ -13602,7 +13921,10 @@ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." } }, - "required": [ "id", "vmSize" ], + "required": [ + "id", + "vmSize" + ], "title": "A Pool in the Azure Batch service to add." }, "ApplicationListResult": { @@ -13645,7 +13967,9 @@ "description": "You can pass the affinityId of a Node to indicate that this Task needs to run on that Compute Node. Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere." } }, - "required": [ "affinityId" ], + "required": [ + "affinityId" + ], "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task." }, "TaskExecutionInformation": { @@ -13708,7 +14032,10 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "requeueCount", "retryCount" ], + "required": [ + "requeueCount", + "retryCount" + ], "title": "Information about the execution of a Task." }, "ComputeNodeInformation": { @@ -13754,7 +14081,10 @@ "description": "This is the most recent time that the Compute Node agent was updated to a new version." } }, - "required": [ "version", "lastUpdateTime" ], + "required": [ + "version", + "lastUpdateTime" + ], "title": "Information about the Compute Node agent.", "description": "The Batch Compute Node agent is a program that runs on each Compute Node in the Pool and provides Batch capability on the Compute Node." }, @@ -13780,7 +14110,9 @@ "description": "The difference between common resource files and Task resource files is that common resource files are downloaded for all subtasks including the primary, whereas Task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the Task working directory, but instead are downloaded to the Task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." } }, - "required": [ "coordinationCommandLine" ], + "required": [ + "coordinationCommandLine" + ], "title": "Settings which specify how to run a multi-instance Task.", "description": "Multi-instance Tasks are commonly used to support MPI Tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance Task fails. The multi-instance Task is then terminated and retried, up to its retry limit." }, @@ -13842,7 +14174,19 @@ "title": "The total wait time of the Task. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.)" } }, - "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ], + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], "title": "Resource usage statistics for a Task." }, "TaskDependencies": { @@ -13880,7 +14224,10 @@ }, "title": "A range of Task IDs that a Task can depend on. All Tasks with IDs in the range must complete successfully before the dependent Task can be scheduled.", "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.", - "required": [ "start", "end" ] + "required": [ + "start", + "end" + ] }, "CloudTask": { "properties": { @@ -14107,7 +14454,10 @@ "$ref": "#/definitions/AuthenticationTokenSettings" } }, - "required": [ "id", "commandLine" ], + "required": [ + "id", + "commandLine" + ], "title": "An Azure Batch Task to add.", "description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." }, @@ -14123,7 +14473,9 @@ "description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks." } }, - "required": [ "value" ], + "required": [ + "value" + ], "title": "A collection of Azure Batch Tasks to add." }, "TaskAddResult": { @@ -14180,7 +14532,10 @@ "title": "The error encountered while attempting to add the Task." } }, - "required": [ "status", "taskId" ], + "required": [ + "status", + "taskId" + ], "title": "Result for a single Task added as part of an add Task collection operation." }, "TaskAddCollectionResult": { @@ -14317,7 +14672,9 @@ "title": "Information about the execution of the Task." } }, - "required": [ "taskState" ], + "required": [ + "taskState" + ], "title": "Information about a Task running on a Compute Node." }, "StartTaskInformation": { @@ -14390,7 +14747,11 @@ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." } }, - "required": [ "state", "startTime", "retryCount" ], + "required": [ + "state", + "startTime", + "retryCount" + ], "title": "Information about a start Task running on a Compute Node." }, "ComputeNodeError": { @@ -14631,7 +14992,9 @@ "description": "The maximum number of inbound NAT Pools per Batch Pool is 5. If the maximum number of inbound NAT Pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNATPools" ], + "required": [ + "inboundNATPools" + ], "title": "The endpoint configuration for a Pool." }, "InboundNATPool": { @@ -14672,7 +15035,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT Pool that can be used to address specific ports on Compute Nodes in a Batch Pool externally." }, "NetworkSecurityGroupRule": { @@ -14719,7 +15088,11 @@ "description": "Valid values are '*' (for all ports 0 - 65535), a specific port (i.e. 22), or a port range (i.e. 100-200). The ports must be in the range of 0 to 65535. Each entry in this collection must not overlap any other entry (either a range or an individual port). If any other values are provided the request fails with HTTP status code 400. The default value is '*'." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ComputeNodeEndpointConfiguration": { @@ -14732,7 +15105,9 @@ "title": "The list of inbound endpoints that are accessible on the Compute Node." } }, - "required": [ "inboundEndpoints" ], + "required": [ + "inboundEndpoints" + ], "title": "The endpoint configuration for the Compute Node." }, "InboundEndpoint": { @@ -14764,7 +15139,14 @@ "title": "The backend port number of the endpoint." } }, - "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ], + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], "title": "An inbound endpoint on a Compute Node." }, "ComputeNodeListResult": { @@ -14811,7 +15193,9 @@ "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "A user Account for RDP or SSH access on a Compute Node." }, "ComputeNodeGetRemoteLoginSettingsResult": { @@ -14826,7 +15210,10 @@ "title": "The port used for remote login to the Compute Node." } }, - "required": [ "remoteLoginIPAddress", "remoteLoginPort" ], + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], "title": "The remote login settings for a Compute Node." }, "JobSchedulePatchParameter": { @@ -14873,7 +15260,10 @@ "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." } }, - "required": [ "schedule", "jobSpecification" ], + "required": [ + "schedule", + "jobSpecification" + ], "title": "The set of changes to be made to a Job Schedule." }, "JobDisableParameter": { @@ -14906,7 +15296,9 @@ } } }, - "required": [ "disableTasks" ], + "required": [ + "disableTasks" + ], "title": "Options when disabling a Job." }, "JobTerminateParameter": { @@ -14984,7 +15376,9 @@ "$ref": "#/definitions/OnAllTasksComplete" } }, - "required": [ "poolInfo" ], + "required": [ + "poolInfo" + ], "title": "The set of changes to be made to a Job." }, "PoolEnableAutoScaleParameter": { @@ -15011,7 +15405,9 @@ "description": "The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." } }, - "required": [ "autoScaleFormula" ], + "required": [ + "autoScaleFormula" + ], "title": "Options for evaluating an automatic scaling formula on a Pool." }, "PoolResizeParameter": { @@ -15072,7 +15468,11 @@ "description": "This list replaces any existing metadata configured on the Pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the Pool." } }, - "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ], + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], "title": "The set of changes to be made to a Pool." }, "PoolPatchParameter": { @@ -15276,7 +15676,9 @@ "$ref": "#/definitions/ComputeNodeDeallocationOption" } }, - "required": [ "nodeList" ], + "required": [ + "nodeList" + ], "title": "Options for removing Compute Nodes from a Pool." }, "OutputFile": { @@ -15295,7 +15697,11 @@ "$ref": "#/definitions/OutputFileUploadOptions" } }, - "required": [ "filePattern", "destination", "uploadOptions" ], + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], "title": "A specification for uploading files from an Azure Batch Compute Node to another location after the Batch service has finished executing the Task process." }, "OutputFileDestination": { @@ -15320,7 +15726,9 @@ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." } }, - "required": [ "containerUrl" ], + "required": [ + "containerUrl" + ], "title": "Specifies a file upload destination within an Azure blob storage container." }, "OutputFileUploadOptions": { @@ -15331,7 +15739,9 @@ "$ref": "#/definitions/OutputFileUploadCondition" } }, - "required": [ "uploadCondition" ], + "required": [ + "uploadCondition" + ], "title": "Details about an output file upload operation, including under what conditions to perform the upload." }, "ErrorMessage": { @@ -15780,7 +16190,10 @@ "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime." } }, - "required": [ "containerUrl", "startTime" ], + "required": [ + "containerUrl", + "startTime" + ], "title": "The Azure Batch service log files upload configuration for a Compute Node." }, "UploadBatchServiceLogsResult": { @@ -15796,7 +16209,10 @@ "title": "The number of log files which will be uploaded." } }, - "required": [ "virtualDirectoryName", "numberOfFilesUploaded" ], + "required": [ + "virtualDirectoryName", + "numberOfFilesUploaded" + ], "title": "The result of uploading Batch service log files from a specific Compute Node." }, "PoolNodeCountsListResult": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json index e5c0701bf562..7908df333e56 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json @@ -118,4 +118,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json index d29c3b2b526c..15b2216c2ca3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json index eb911811b8e2..2567c848bf60 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json @@ -9,12 +9,12 @@ "responses": { "200": { "body": { - "id": "my_application_id", - "versions": [ - "v1.0" - ], - "displayName": "my_display_name" + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json index 3284b07fb957..f89b1d0207c4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json index d3205f4b3093..e6240ec22ca3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json @@ -5,11 +5,11 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json index 4b560f6943e8..7f0f7de8827e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json index a8c2dc7f815b..6b912afaab24 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json index b26c3da7adcb..cebf6209c0c5 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json index a9879b71f144..8be49adf2740 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json index b24b13a6273e..e47775c115a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json index f7b8168aa4e5..397777a0e788 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json index 88c5efbc2199..be45aa475e3b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json index 0c0357200759..2cd2538cb030 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json index c288aac6f936..c9c8fd4490ba 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json index 67afdc700b58..4de9848b1b68 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json index 4a6f4653c3d7..ecaf1e795404 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json index 9db91ee11e99..3f27c84a8167 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json index c4b180849a6c..2b92c321b360 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json index 3ce77106f3e9..ccfd2defd8b1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json @@ -36,7 +36,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -77,7 +77,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -119,4 +119,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json index 195af6003972..e0dca52fd8b8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json index 893572f83e0d..547b449f0d83 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json index 195af6003972..e0dca52fd8b8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json index 07e99da8bb55..8e5e624b4769 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json index 85ca98194004..eb39fdb867b7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json index 673348fe36ac..dff27f89c129 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json index 4aa7bc3f765d..ff159ab5ce2b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json index 5ed8941f2850..a5721761fada 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json index 8c30d468df26..caaa1c2e8f03 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json index 9186a99eb208..cd7b8c3e746c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json @@ -6,13 +6,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json index 060432614ae4..d7e55126cce8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json @@ -7,7 +7,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json index 2a9db507460e..6f858e2d8bc2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json @@ -127,4 +127,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json index b4d4163f03e3..86589d7a3c08 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json index 6f6837c30f82..7744cf2a9928 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json index 6f6837c30f82..7744cf2a9928 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json index 0273954f790b..18943ed19b7f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json index cf803fe831fe..daadeeb96849 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json index cb4f38b93e26..29d17dc117ad 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json index 240c02634460..6294172fc3e3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json index b4d4163f03e3..86589d7a3c08 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json index 5a93b214b45e..b58158542758 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json @@ -27,4 +27,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json index cdbc905f55c6..6d7af0e96849 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json index ccc269c3f5aa..9a5cc9953560 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json @@ -6,13 +6,13 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, @@ -21,4 +21,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json index 301acc8bda81..ba3776b4a0d1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json @@ -18,4 +18,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json index 1f4748dd1ebf..efbff676cc5b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json @@ -13,4 +13,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json index 92758d8a1270..646658e26e96 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json index 431f98c74d0c..d4d56b7f36d6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json index a10bd7b39dcd..65f3de3c1e45 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json @@ -12,4 +12,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json index 7017b29190af..b6fbd97c8687 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json index 66ded2865e78..3c4e723f9c3d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json index 1271434a8a29..1d9a1ad780b6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json @@ -27,7 +27,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -65,7 +65,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -103,7 +103,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json index 12d98b92b160..ba1a02254d67 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json index 2bd8e9591f77..f176f74ce1ad 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json index 9e339b50ae91..04bfa6f28747 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json index ab8ac725e3a1..5935d43526dd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", - "numberOfFilesUploaded": 8 + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json index 20fcf4d11eab..e00c16cfa6a2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -10,19 +10,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -32,4 +34,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json index b1c0f534a9ad..4202caceabe0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -15,19 +15,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -37,4 +39,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index 7aee5400dba7..e95ec3c93660 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -21,14 +21,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -38,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json index d702f0043779..ff643c4540d9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json index 75710ee0b32f..28eab2d0df99 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json index a13b1ded3e45..8668711129a6 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json index 1e60ec6235c4..6e75947cbf7e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json index d287ca753f25..d6378baa7a71 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json index 7269c1ec701c..2f58faa4406f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json index 82c4186934e2..d0817e8681b3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json index b56637082efa..fa7d0be48b1f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json index 4280822cc03e..cb275eb3d16b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json @@ -29,7 +29,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json index 066aff4650b6..a0486b7f1cd7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json @@ -16,4 +16,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json index 2ab4f7ace56c..81e45b7c6085 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json @@ -17,4 +17,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json index 9fac0a0ea3e5..c37e835f3d28 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json index d702f0043779..ff643c4540d9 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json @@ -11,4 +11,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json index 757c3fb26f6c..07ebf46abd1a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json index c1c48dfe4b40..1403dcd9dda0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json index c4ba526ccb19..b57c15a91dfd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json index f4d85676fb3f..aad7bafdf277 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json index 0d0defeb465b..113309626104 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json @@ -12,7 +12,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -25,4 +25,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json index 34e4c3e73258..107258def44d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json @@ -19,7 +19,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -32,4 +32,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json index ee980baf06b6..5cf7b99e97cd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json index 9313dc107d13..48c0ddbbe54b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json index 7661f785a4c6..48c51a2a54bd 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json @@ -19,7 +19,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -44,7 +44,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json index 95e13e29f647..06bb1738a049 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json index 0a41a8e6356e..e028e9bda240 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json index 0a41a8e6356e..e028e9bda240 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json @@ -12,4 +12,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json index 1bfcc5f4df2d..50f8e9f8f973 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json @@ -8,9 +8,9 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json index bbd229260801..c59da2b7c3e1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json @@ -1448,7 +1448,7 @@ "x-ms-azure-resource": true }, "CloudError": { - "x-ms-external" : true, + "x-ms-external": true, "properties": { "code": { "type": "string", @@ -1480,7 +1480,7 @@ "required": true, "type": "string", "description": "A unique identifier of a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, + }, "ApiVersionParameter": { "name": "api-version", "in": "query", @@ -1489,4 +1489,4 @@ "description": "The API version to be used with the HTTP request." } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json index 6e41d31d955a..75ea247cd86e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json @@ -43,8 +43,12 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { + "$ref": "./examples/BatchAccountCreate_Default.json" + }, + "BatchAccountCreate_BYOS": { + "$ref": "./examples/BatchAccountCreate_BYOS.json" + } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -174,7 +178,9 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } + "BatchAccountDelete": { + "$ref": "./examples/BatchAccountDelete.json" + } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -236,7 +242,9 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } + "BatchAccountGet": { + "$ref": "./examples/BatchAccountGet.json" + } }, "description": "Gets information about the specified Batch account.", "parameters": [ diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json index 64f64b0de20e..3defd1fa06eb 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json index ed46494d435b..12946a50293d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json index 23aaea5ca59d..0c3b19688460 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json @@ -9,4 +9,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json index af2c0d101525..3078a08e3520 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json index 4b95189fa3d9..038d69370f86 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json @@ -43,8 +43,12 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { + "$ref": "./examples/BatchAccountCreate_Default.json" + }, + "BatchAccountCreate_BYOS": { + "$ref": "./examples/BatchAccountCreate_BYOS.json" + } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -113,7 +117,9 @@ ], "operationId": "BatchAccount_Update", "x-ms-examples": { - "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" } + "BatchAccountUpdate": { + "$ref": "./examples/BatchAccountUpdate.json" + } }, "description": "Updates the properties of an existing Batch account.", "parameters": [ @@ -160,7 +166,9 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } + "BatchAccountDelete": { + "$ref": "./examples/BatchAccountDelete.json" + } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -213,7 +221,9 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } + "BatchAccountGet": { + "$ref": "./examples/BatchAccountGet.json" + } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -253,7 +263,9 @@ ], "operationId": "BatchAccount_List", "x-ms-examples": { - "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" } + "BatchAccountList": { + "$ref": "./examples/BatchAccountList.json" + } }, "description": "Gets information about the Batch accounts associated with the subscription.", "parameters": [ @@ -290,7 +302,9 @@ ], "operationId": "BatchAccount_ListByResourceGroup", "x-ms-examples": { - "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" } + "BatchAccountListByResourceGroup": { + "$ref": "./examples/BatchAccountListByResourceGroup.json" + } }, "description": "Gets information about the Batch accounts associated with the specified resource group.", "parameters": [ @@ -364,7 +378,9 @@ ], "operationId": "BatchAccount_RegenerateKey", "x-ms-examples": { - "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" } + "BatchAccountRegenerateKey": { + "$ref": "./examples/BatchAccountRegenerateKey.json" + } }, "description": "Regenerates the specified account key for the Batch account.", "parameters": [ @@ -413,7 +429,9 @@ ], "operationId": "BatchAccount_GetKeys", "x-ms-examples": { - "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" } + "BatchAccountGetKeys": { + "$ref": "./examples/BatchAccountGetKeys.json" + } }, "summary": "Gets the account keys for the specified Batch account.", "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", @@ -887,7 +905,9 @@ ], "operationId": "Location_GetQuotas", "x-ms-examples": { - "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" } + "LocationGetQuotas": { + "$ref": "./examples/LocationGetQuotas.json" + } }, "description": "Gets the Batch service quotas for the specified subscription at the given location.", "parameters": [ @@ -930,7 +950,7 @@ "description": "Lists available operations for the Microsoft.Batch provider", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -957,8 +977,12 @@ "operationId": "Location_CheckNameAvailability", "description": "Checks whether the Batch account name is available in the specified region.", "x-ms-examples": { - "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" }, - "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" } + "LocationCheckNameAvailability_Available": { + "$ref": "./examples/LocationCheckNameAvailability_Available.json" + }, + "LocationCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" + } }, "parameters": [ { @@ -1530,7 +1554,7 @@ } }, "OperationListResult": { - "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", + "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", "properties": { "value": { "type": "array", @@ -1553,7 +1577,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Batch/batchAccounts" ], + "enum": [ + "Microsoft.Batch/batchAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false @@ -1610,7 +1636,7 @@ "required": true, "type": "string", "description": "The API version to be used with the HTTP request." - }, + }, "ResourceGroupNameParameter": { "name": "resourceGroupName", "in": "path", diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json index 184c1983f33f..b792d762f1b4 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json index d40b7dc0e4f5..71e54cb6e7f3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json index 96b4054b31ba..9587bf4acee7 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json index 04449e59170c..4090b92fb131 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json index 96115b5df174..d6f83265bdb5 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json index c58fed22cbe7..c3e9ed29f21f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json index 1ebffb0dd020..7734501b03b1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json index a0ee4ba665a3..7438e8272d61 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json index 6b9a967554c0..3ec92d8f2179 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json index 94eb5ce5e42e..2de4c0ce7acd 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json index c1dbd40f565c..9db9c7979263 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json index 591e38a9b0c5..39bd69be968b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json index 8973929eee8b..18743ad61765 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json @@ -43,8 +43,12 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { + "$ref": "./examples/BatchAccountCreate_Default.json" + }, + "BatchAccountCreate_BYOS": { + "$ref": "./examples/BatchAccountCreate_BYOS.json" + } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -113,7 +117,9 @@ ], "operationId": "BatchAccount_Update", "x-ms-examples": { - "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" } + "BatchAccountUpdate": { + "$ref": "./examples/BatchAccountUpdate.json" + } }, "description": "Updates the properties of an existing Batch account.", "parameters": [ @@ -160,7 +166,9 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } + "BatchAccountDelete": { + "$ref": "./examples/BatchAccountDelete.json" + } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -213,7 +221,9 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } + "BatchAccountGet": { + "$ref": "./examples/BatchAccountGet.json" + } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -253,7 +263,9 @@ ], "operationId": "BatchAccount_List", "x-ms-examples": { - "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" } + "BatchAccountList": { + "$ref": "./examples/BatchAccountList.json" + } }, "description": "Gets information about the Batch accounts associated with the subscription.", "parameters": [ @@ -290,7 +302,9 @@ ], "operationId": "BatchAccount_ListByResourceGroup", "x-ms-examples": { - "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" } + "BatchAccountListByResourceGroup": { + "$ref": "./examples/BatchAccountListByResourceGroup.json" + } }, "description": "Gets information about the Batch accounts associated with the specified resource group.", "parameters": [ @@ -330,7 +344,9 @@ ], "operationId": "BatchAccount_SynchronizeAutoStorageKeys", "x-ms-examples": { - "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" } + "BatchAccountSynchronizeAutoStorageKeys": { + "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" + } }, "description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.", "parameters": [ @@ -367,7 +383,9 @@ ], "operationId": "BatchAccount_RegenerateKey", "x-ms-examples": { - "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" } + "BatchAccountRegenerateKey": { + "$ref": "./examples/BatchAccountRegenerateKey.json" + } }, "description": "Regenerates the specified account key for the Batch account.", "parameters": [ @@ -416,7 +434,9 @@ ], "operationId": "BatchAccount_GetKeys", "x-ms-examples": { - "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" } + "BatchAccountGetKeys": { + "$ref": "./examples/BatchAccountGetKeys.json" + } }, "summary": "Gets the account keys for the specified Batch account.", "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", @@ -457,7 +477,9 @@ ], "operationId": "ApplicationPackage_Activate", "x-ms-examples": { - "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" } + "ApplicationPackageActivate": { + "$ref": "./examples/ApplicationPackageActivate.json" + } }, "description": "Activates the specified application package.", "parameters": [ @@ -517,7 +539,9 @@ ], "operationId": "Application_Create", "x-ms-examples": { - "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" } + "ApplicationCreate": { + "$ref": "./examples/ApplicationCreate.json" + } }, "description": "Adds an application to the specified Batch account.", "parameters": [ @@ -571,7 +595,9 @@ ], "operationId": "Application_Delete", "x-ms-examples": { - "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" } + "ApplicationDelete": { + "$ref": "./examples/ApplicationDelete.json" + } }, "description": "Deletes an application.", "parameters": [ @@ -613,7 +639,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" } + "ApplicationGet": { + "$ref": "./examples/ApplicationGet.json" + } }, "description": "Gets information about the specified application.", "parameters": [ @@ -658,7 +686,9 @@ ], "operationId": "Application_Update", "x-ms-examples": { - "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" } + "ApplicationUpdate": { + "$ref": "./examples/ApplicationUpdate.json" + } }, "description": "Updates settings for the specified application.", "parameters": [ @@ -711,7 +741,9 @@ ], "operationId": "ApplicationPackage_Create", "x-ms-examples": { - "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" } + "ApplicationPackageCreate": { + "$ref": "./examples/ApplicationPackageCreate.json" + } }, "description": "Creates an application package record.", "parameters": [ @@ -763,7 +795,9 @@ ], "operationId": "ApplicationPackage_Delete", "x-ms-examples": { - "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" } + "ApplicationPackageDelete": { + "$ref": "./examples/ApplicationPackageDelete.json" + } }, "description": "Deletes an application package record and its associated binary file.", "parameters": [ @@ -812,7 +846,9 @@ ], "operationId": "ApplicationPackage_Get", "x-ms-examples": { - "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" } + "ApplicationPackageGet": { + "$ref": "./examples/ApplicationPackageGet.json" + } }, "description": "Gets information about the specified application package.", "parameters": [ @@ -866,7 +902,9 @@ ], "operationId": "Application_List", "x-ms-examples": { - "ApplicationList": { "$ref": "./examples/ApplicationList.json" } + "ApplicationList": { + "$ref": "./examples/ApplicationList.json" + } }, "description": "Lists all of the applications in the specified account.", "parameters": [ @@ -917,7 +955,9 @@ ], "operationId": "Location_GetQuotas", "x-ms-examples": { - "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" } + "LocationGetQuotas": { + "$ref": "./examples/LocationGetQuotas.json" + } }, "description": "Gets the Batch service quotas for the specified subscription at the given location.", "parameters": [ @@ -987,8 +1027,12 @@ "operationId": "Location_CheckNameAvailability", "description": "Checks whether the Batch account name is available in the specified region.", "x-ms-examples": { - "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" }, - "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" } + "LocationCheckNameAvailability_Available": { + "$ref": "./examples/LocationCheckNameAvailability_Available.json" + }, + "LocationCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" + } }, "parameters": [ { @@ -1038,8 +1082,12 @@ "operationId": "Certificate_ListByBatchAccount", "description": "Lists all of the certificates in the specified account.", "x-ms-examples": { - "ListCertificates": { "$ref": "./examples/CertificateList.json" }, - "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" } + "ListCertificates": { + "$ref": "./examples/CertificateList.json" + }, + "ListCertificates - Filter and Select": { + "$ref": "./examples/CertificateListWithFilter.json" + } }, "parameters": [ { @@ -1104,9 +1152,15 @@ "operationId": "Certificate_Create", "description": "Creates a new certificate inside the specified account.", "x-ms-examples": { - "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" }, - "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" }, - "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" } + "CreateCertificate - Minimal Pfx": { + "$ref": "./examples/CertificateCreate_Minimal.json" + }, + "CreateCertificate - Minimal Cer": { + "$ref": "./examples/CertificateCreate_MinimalCer.json" + }, + "CreateCertificate - Full": { + "$ref": "./examples/CertificateCreate_Full.json" + } }, "parameters": [ { @@ -1177,7 +1231,9 @@ "operationId": "Certificate_Update", "description": "Updates the properties of an existing certificate.", "x-ms-examples": { - "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" } + "UpdateCertificate": { + "$ref": "./examples/CertificateUpdate.json" + } }, "parameters": [ { @@ -1240,7 +1296,9 @@ "operationId": "Certificate_Delete", "description": "Deletes the specified certificate.", "x-ms-examples": { - "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" } + "CertificateDelete": { + "$ref": "./examples/CertificateDelete.json" + } }, "parameters": [ { @@ -1296,8 +1354,12 @@ "operationId": "Certificate_Get", "description": "Gets information about the specified certificate.", "x-ms-examples": { - "Get Certificate": { "$ref": "./examples/CertificateGet.json" }, - "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" } + "Get Certificate": { + "$ref": "./examples/CertificateGet.json" + }, + "Get Certificate with Deletion Error": { + "$ref": "./examples/CertificateGetWithDeletionError.json" + } }, "parameters": [ { @@ -1347,7 +1409,9 @@ "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", "x-ms-examples": { - "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" } + "CertificateCancelDeletion": { + "$ref": "./examples/CertificateCancelDeletion.json" + } }, "parameters": [ { @@ -1396,8 +1460,12 @@ "operationId": "Pool_ListByBatchAccount", "description": "Lists all of the pools in the specified account.", "x-ms-examples": { - "ListPool": { "$ref": "./examples/PoolList.json" }, - "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" } + "ListPool": { + "$ref": "./examples/PoolList.json" + }, + "ListPoolWithFilter": { + "$ref": "./examples/PoolListWithFilter.json" + } }, "parameters": [ { @@ -1462,11 +1530,21 @@ "operationId": "Pool_Create", "description": "Creates a new pool inside the specified account.", "x-ms-examples": { - "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" }, - "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" }, - "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" }, - "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" }, - "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" } + "CreatePool - Minimal CloudServiceConfiguration": { + "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" + }, + "CreatePool - Minimal VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" + }, + "CreatePool - Full Example": { + "$ref": "./examples/PoolCreate_FullExample.json" + }, + "CreatePool - Custom Image": { + "$ref": "./examples/PoolCreate_CustomImage.json" + }, + "CreatePool - Full VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" + } }, "parameters": [ { @@ -1537,10 +1615,18 @@ "operationId": "Pool_Update", "description": "Updates the properties of an existing pool.", "x-ms-examples": { - "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" }, - "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" }, - "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" }, - "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" } + "UpdatePool - Resize Pool": { + "$ref": "./examples/PoolUpdate_ResizePool.json" + }, + "UpdatePool - Enable Autoscale": { + "$ref": "./examples/PoolUpdate_EnableAutoScale.json" + }, + "UpdatePool - Remove Start Task": { + "$ref": "./examples/PoolUpdate_RemoveStartTask.json" + }, + "UpdatePool - Other Properties": { + "$ref": "./examples/PoolUpdate_OtherProperties.json" + } }, "parameters": [ { @@ -1603,7 +1689,9 @@ "operationId": "Pool_Delete", "description": "Deletes the specified pool.", "x-ms-examples": { - "DeletePool": { "$ref": "./examples/PoolDelete.json" } + "DeletePool": { + "$ref": "./examples/PoolDelete.json" + } }, "parameters": [ { @@ -1659,7 +1747,9 @@ "operationId": "Pool_Get", "description": "Gets information about the specified pool.", "x-ms-examples": { - "GetPool": { "$ref": "./examples/PoolGet.json" } + "GetPool": { + "$ref": "./examples/PoolGet.json" + } }, "parameters": [ { @@ -1708,7 +1798,9 @@ "operationId": "Pool_DisableAutoScale", "description": "Disables automatic scaling for a pool.", "x-ms-examples": { - "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable AutoScale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "parameters": [ { @@ -1758,7 +1850,9 @@ "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", "x-ms-examples": { - "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" } + "StopPoolResize": { + "$ref": "./examples/PoolStopResize.json" + } }, "parameters": [ { @@ -2284,7 +2378,7 @@ "thumbprintAlgorithm": { "type": "string", "title": "The algorithm of the certificate thumbprint", - "description": "This must match the first portion of the certificate name. Currently required to be 'SHA1'." + "description": "This must match the first portion of the certificate name. Currently required to be 'SHA1'." }, "thumbprint": { "type": "string", @@ -2389,7 +2483,9 @@ } }, "description": "Certificate properties for create operations", - "required": [ "data" ] + "required": [ + "data" + ] }, "Certificate": { "properties": { @@ -2459,7 +2555,10 @@ "description": "A list of additional details about the error." } }, - "required": [ "code", "message" ], + "required": [ + "code", + "message" + ], "description": "An error response from the Batch service." }, "Pool": { @@ -2696,7 +2795,9 @@ "description": "If omitted, the default value is 15 minutes (PT15M)." } }, - "required": [ "formula" ], + "required": [ + "formula" + ], "title": "AutoScale settings for the pool." }, "FixedScaleSettings": { @@ -2785,7 +2886,9 @@ "description": "Values are:\n\n starttask - The user account under which the start task is run.\n task - The accounts under which job tasks are run.\n remoteuser - The accounts under which users remotely access the node.\n\n You can specify more than one visibility in this collection. The default is all accounts." } }, - "required": [ "id" ], + "required": [ + "id" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool." }, "ApplicationPackageReference": { @@ -2801,7 +2904,9 @@ } }, "title": "Link to an application package inside the batch account", - "required": [ "id" ] + "required": [ + "id" + ] }, "ResizeError": { "properties": { @@ -2822,7 +2927,10 @@ } }, "title": "An error that occurred when resizing a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRunError": { "properties": { @@ -2843,7 +2951,10 @@ } }, "title": "An error that occurred when autoscaling a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRun": { "properties": { @@ -2862,7 +2973,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "evaluationTime" ], + "required": [ + "evaluationTime" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "VirtualMachineConfiguration": { @@ -2899,7 +3012,10 @@ "description": "This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:\n\n Windows_Server - The on-premises license is for Windows Server.\n Windows_Client - The on-premises license is for Windows Client.\n" } }, - "required": [ "imageReference", "nodeAgentSkuId" ], + "required": [ + "imageReference", + "nodeAgentSkuId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "WindowsConfiguration": { @@ -2987,7 +3103,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "LinuxUserConfiguration": { @@ -3033,7 +3151,10 @@ "$ref": "#/definitions/LinuxUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user on an Azure Batch node." }, "StartTask": { @@ -3093,7 +3214,10 @@ "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." } }, - "required": [ "blobSource", "filePath" ], + "required": [ + "blobSource", + "filePath" + ], "title": "A file to be downloaded from Azure blob storage to a compute node." }, "EnvironmentSetting": { @@ -3107,7 +3231,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "UserIdentity": { @@ -3235,7 +3361,9 @@ "description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "MetadataItem": { @@ -3249,7 +3377,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -3304,7 +3435,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNatPools" ], + "required": [ + "inboundNatPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNatPool": { @@ -3353,7 +3486,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -3382,7 +3521,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ListPoolsResult": { @@ -3500,7 +3643,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Batch/batchAccounts" ], + "enum": [ + "Microsoft.Batch/batchAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json index 12e25c7bc563..2b87440d8ab4 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json @@ -18,4 +18,4 @@ "allowUpdates": false } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json index 2c21f73e798d..82924b6330fd 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json @@ -9,4 +9,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json index afa72b016685..8fce07113859 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json @@ -16,11 +16,11 @@ "version": "1", "state": "active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } ], "allowUpdates": false, "defaultVersion": "1" } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json index 5505aeb74487..5de3779857ae 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json @@ -39,4 +39,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json index 2929df616eb5..3d6500dd6758 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json @@ -13,4 +13,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json index 3da70733fda3..00377b4a8d2d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json @@ -17,4 +17,4 @@ "storageUrlExpiry": "2017-06-27T18:48:09.9330991Z" } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json index 64594e7fc59b..75cd8efdbb4f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json @@ -10,4 +10,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json index 4ece56880d3d..a5c2e055a230 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json @@ -13,7 +13,7 @@ "version": "1", "state": "active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json index 154da2b40d7e..e7b3bbd17373 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json @@ -14,4 +14,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json index 2bf50c19d1e5..f2e6257554e0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json index 8bdde90c6f9c..e4cdf627d50f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json index 4b9d997298d8..02bafa442b43 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json index 1af41189517e..7e5cb7498a9d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json index e1dc77d861a3..f54644dbcbca 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json index ebf8216233a7..1dcb90c4469f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json index 994e6b7ae695..fdc8e497e8ac 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json index fca4f55fe934..685f9afbf911 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json index e9b2f050e728..7b76ca7d348a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json index 2a232c7c8521..6dcffbed10af 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json index 59af619c03b6..3f8f77d2104f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json @@ -14,19 +14,19 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", + "type": "Microsoft.Batch/batchAccounts/certificates", "etag": "W/\"0x8D4EDD513C3EDBB\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Failed", "previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json index 6752b3613c9d..a541545442c6 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json @@ -7,10 +7,10 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e...", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e...", "format": "Pfx" } } @@ -23,17 +23,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json index 4928a822e97f..644603f7f333 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json index ae46d24c4d72..95095926ad69 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json @@ -7,7 +7,7 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIICrjCCAZagAwI...", + "data": "MIICrjCCAZagAwI...", "format": "Cer" } } @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Cer", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json index 051d2b0cda0b..688dee7de179 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json @@ -7,13 +7,13 @@ "api-version": "2017-09-01" }, "responses": { - "200": { }, + "200": {}, "202": { "headers": { "Retry-After": "15", "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2017-09-01" } }, - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json index b3b56ed62b3a..17a44fe5f517 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json index 2b9467c4814e..2702cb6fe2c8 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Failed", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Deleting", - "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z", + "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI...", + "publicData": "MIICrjCCAZagAwI...", "deleteCertificateError": { "code": "NodesReferencingCertificate", "message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z", @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json index 5ed27118a56d..3940d6d4bafa 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json @@ -13,15 +13,15 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } ], @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json index 8a52c0ea3045..4f5ec5ba6a0b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json @@ -14,8 +14,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { "provisioningState": "Failed", "format": "Pfx" @@ -24,8 +24,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", "name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118572E0\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118572E0\"", "properties": { "provisioningState": "Failed", "format": "Cer" @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json index 4928a822e97f..644603f7f333 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json index 76c0749a47fe..e62651d58f64 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json index 752806f214ad..ffd5ebacdc30 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json index 42168a1c8f5a..c487baf09cce 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json index bef78e507aff..12151738c65c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json index 6be6e453d602..3e5930304835 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json @@ -256,4 +256,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json index 7570fb64e068..48771811a628 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json index 0904eda8ec0c..b4f1056355c0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json index 21bd7033c0b6..bd10af725d2d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json @@ -166,4 +166,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json index 294395a43e2b..1cac8719908b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json @@ -7,8 +7,8 @@ "api-version": "2017-09-01" }, "responses": { - "200": { }, - "204": { }, + "200": {}, + "204": {}, "202": { "headers": { "Retry-After": "15", @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json index e91cf7009a55..d1a8271f1af3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json index 0a42c6ff3a21..477ca57b02aa 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json @@ -145,4 +145,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json index db973fbde6fd..ed40c108a9dd 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json @@ -152,4 +152,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json index b702caa5e36c..392848caac4b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json index 3e776ba1b4a6..662af874fbd3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json index 032ebdfcbaf2..b373553cccb0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json index 41eb6f0b70f8..a18dae4a21bd 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json index 07e0c6b576ad..8dfd20d1b02a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json index 6d756bb998a1..c9b3cf179f10 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json index 1a537f8648b6..8d707a32e74e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json @@ -43,8 +43,12 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { + "$ref": "./examples/BatchAccountCreate_Default.json" + }, + "BatchAccountCreate_BYOS": { + "$ref": "./examples/BatchAccountCreate_BYOS.json" + } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -113,7 +117,9 @@ ], "operationId": "BatchAccount_Update", "x-ms-examples": { - "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" } + "BatchAccountUpdate": { + "$ref": "./examples/BatchAccountUpdate.json" + } }, "description": "Updates the properties of an existing Batch account.", "parameters": [ @@ -160,7 +166,9 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } + "BatchAccountDelete": { + "$ref": "./examples/BatchAccountDelete.json" + } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -213,7 +221,9 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } + "BatchAccountGet": { + "$ref": "./examples/BatchAccountGet.json" + } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -253,7 +263,9 @@ ], "operationId": "BatchAccount_List", "x-ms-examples": { - "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" } + "BatchAccountList": { + "$ref": "./examples/BatchAccountList.json" + } }, "description": "Gets information about the Batch accounts associated with the subscription.", "parameters": [ @@ -290,7 +302,9 @@ ], "operationId": "BatchAccount_ListByResourceGroup", "x-ms-examples": { - "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" } + "BatchAccountListByResourceGroup": { + "$ref": "./examples/BatchAccountListByResourceGroup.json" + } }, "description": "Gets information about the Batch accounts associated with the specified resource group.", "parameters": [ @@ -330,7 +344,9 @@ ], "operationId": "BatchAccount_SynchronizeAutoStorageKeys", "x-ms-examples": { - "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" } + "BatchAccountSynchronizeAutoStorageKeys": { + "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" + } }, "description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.", "parameters": [ @@ -367,7 +383,9 @@ ], "operationId": "BatchAccount_RegenerateKey", "x-ms-examples": { - "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" } + "BatchAccountRegenerateKey": { + "$ref": "./examples/BatchAccountRegenerateKey.json" + } }, "description": "Regenerates the specified account key for the Batch account.", "parameters": [ @@ -416,7 +434,9 @@ ], "operationId": "BatchAccount_GetKeys", "x-ms-examples": { - "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" } + "BatchAccountGetKeys": { + "$ref": "./examples/BatchAccountGetKeys.json" + } }, "summary": "Gets the account keys for the specified Batch account.", "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", @@ -457,7 +477,9 @@ ], "operationId": "ApplicationPackage_Activate", "x-ms-examples": { - "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" } + "ApplicationPackageActivate": { + "$ref": "./examples/ApplicationPackageActivate.json" + } }, "description": "Activates the specified application package.", "parameters": [ @@ -512,7 +534,9 @@ ], "operationId": "Application_Create", "x-ms-examples": { - "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" } + "ApplicationCreate": { + "$ref": "./examples/ApplicationCreate.json" + } }, "description": "Adds an application to the specified Batch account.", "parameters": [ @@ -562,7 +586,9 @@ ], "operationId": "Application_Delete", "x-ms-examples": { - "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" } + "ApplicationDelete": { + "$ref": "./examples/ApplicationDelete.json" + } }, "description": "Deletes an application.", "parameters": [ @@ -603,7 +629,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" } + "ApplicationGet": { + "$ref": "./examples/ApplicationGet.json" + } }, "description": "Gets information about the specified application.", "parameters": [ @@ -644,7 +672,9 @@ ], "operationId": "Application_Update", "x-ms-examples": { - "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" } + "ApplicationUpdate": { + "$ref": "./examples/ApplicationUpdate.json" + } }, "description": "Updates settings for the specified application.", "parameters": [ @@ -696,7 +726,9 @@ ], "operationId": "ApplicationPackage_Create", "x-ms-examples": { - "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" } + "ApplicationPackageCreate": { + "$ref": "./examples/ApplicationPackageCreate.json" + } }, "description": "Creates an application package record.", "parameters": [ @@ -749,7 +781,9 @@ ], "operationId": "ApplicationPackage_Delete", "x-ms-examples": { - "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" } + "ApplicationPackageDelete": { + "$ref": "./examples/ApplicationPackageDelete.json" + } }, "description": "Deletes an application package record and its associated binary file.", "parameters": [ @@ -793,7 +827,9 @@ ], "operationId": "ApplicationPackage_Get", "x-ms-examples": { - "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" } + "ApplicationPackageGet": { + "$ref": "./examples/ApplicationPackageGet.json" + } }, "description": "Gets information about the specified application package.", "parameters": [ @@ -839,7 +875,9 @@ ], "operationId": "Application_List", "x-ms-examples": { - "ApplicationList": { "$ref": "./examples/ApplicationList.json" } + "ApplicationList": { + "$ref": "./examples/ApplicationList.json" + } }, "description": "Lists all of the applications in the specified account.", "parameters": [ @@ -890,7 +928,9 @@ ], "operationId": "ApplicationPackage_List", "x-ms-examples": { - "ApplicationList": { "$ref": "./examples/ApplicationPackageList.json" } + "ApplicationList": { + "$ref": "./examples/ApplicationPackageList.json" + } }, "description": "Lists all of the application packages in the specified application.", "parameters": [ @@ -944,7 +984,9 @@ ], "operationId": "Location_GetQuotas", "x-ms-examples": { - "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" } + "LocationGetQuotas": { + "$ref": "./examples/LocationGetQuotas.json" + } }, "description": "Gets the Batch service quotas for the specified subscription at the given location.", "parameters": [ @@ -1014,8 +1056,12 @@ "operationId": "Location_CheckNameAvailability", "description": "Checks whether the Batch account name is available in the specified region.", "x-ms-examples": { - "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" }, - "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" } + "LocationCheckNameAvailability_Available": { + "$ref": "./examples/LocationCheckNameAvailability_Available.json" + }, + "LocationCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" + } }, "parameters": [ { @@ -1065,8 +1111,12 @@ "operationId": "Certificate_ListByBatchAccount", "description": "Lists all of the certificates in the specified account.", "x-ms-examples": { - "ListCertificates": { "$ref": "./examples/CertificateList.json" }, - "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" } + "ListCertificates": { + "$ref": "./examples/CertificateList.json" + }, + "ListCertificates - Filter and Select": { + "$ref": "./examples/CertificateListWithFilter.json" + } }, "parameters": [ { @@ -1131,9 +1181,15 @@ "operationId": "Certificate_Create", "description": "Creates a new certificate inside the specified account.", "x-ms-examples": { - "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" }, - "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" }, - "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" } + "CreateCertificate - Minimal Pfx": { + "$ref": "./examples/CertificateCreate_Minimal.json" + }, + "CreateCertificate - Minimal Cer": { + "$ref": "./examples/CertificateCreate_MinimalCer.json" + }, + "CreateCertificate - Full": { + "$ref": "./examples/CertificateCreate_Full.json" + } }, "parameters": [ { @@ -1204,7 +1260,9 @@ "operationId": "Certificate_Update", "description": "Updates the properties of an existing certificate.", "x-ms-examples": { - "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" } + "UpdateCertificate": { + "$ref": "./examples/CertificateUpdate.json" + } }, "parameters": [ { @@ -1267,7 +1325,9 @@ "operationId": "Certificate_Delete", "description": "Deletes the specified certificate.", "x-ms-examples": { - "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" } + "CertificateDelete": { + "$ref": "./examples/CertificateDelete.json" + } }, "parameters": [ { @@ -1323,8 +1383,12 @@ "operationId": "Certificate_Get", "description": "Gets information about the specified certificate.", "x-ms-examples": { - "Get Certificate": { "$ref": "./examples/CertificateGet.json" }, - "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" } + "Get Certificate": { + "$ref": "./examples/CertificateGet.json" + }, + "Get Certificate with Deletion Error": { + "$ref": "./examples/CertificateGetWithDeletionError.json" + } }, "parameters": [ { @@ -1374,7 +1438,9 @@ "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", "x-ms-examples": { - "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" } + "CertificateCancelDeletion": { + "$ref": "./examples/CertificateCancelDeletion.json" + } }, "parameters": [ { @@ -1423,8 +1489,12 @@ "operationId": "Pool_ListByBatchAccount", "description": "Lists all of the pools in the specified account.", "x-ms-examples": { - "ListPool": { "$ref": "./examples/PoolList.json" }, - "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" } + "ListPool": { + "$ref": "./examples/PoolList.json" + }, + "ListPoolWithFilter": { + "$ref": "./examples/PoolListWithFilter.json" + } }, "parameters": [ { @@ -1489,11 +1559,21 @@ "operationId": "Pool_Create", "description": "Creates a new pool inside the specified account.", "x-ms-examples": { - "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" }, - "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" }, - "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" }, - "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" }, - "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" } + "CreatePool - Minimal CloudServiceConfiguration": { + "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" + }, + "CreatePool - Minimal VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" + }, + "CreatePool - Full Example": { + "$ref": "./examples/PoolCreate_FullExample.json" + }, + "CreatePool - Custom Image": { + "$ref": "./examples/PoolCreate_CustomImage.json" + }, + "CreatePool - Full VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" + } }, "parameters": [ { @@ -1564,10 +1644,18 @@ "operationId": "Pool_Update", "description": "Updates the properties of an existing pool.", "x-ms-examples": { - "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" }, - "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" }, - "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" }, - "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" } + "UpdatePool - Resize Pool": { + "$ref": "./examples/PoolUpdate_ResizePool.json" + }, + "UpdatePool - Enable Autoscale": { + "$ref": "./examples/PoolUpdate_EnableAutoScale.json" + }, + "UpdatePool - Remove Start Task": { + "$ref": "./examples/PoolUpdate_RemoveStartTask.json" + }, + "UpdatePool - Other Properties": { + "$ref": "./examples/PoolUpdate_OtherProperties.json" + } }, "parameters": [ { @@ -1630,7 +1718,9 @@ "operationId": "Pool_Delete", "description": "Deletes the specified pool.", "x-ms-examples": { - "DeletePool": { "$ref": "./examples/PoolDelete.json" } + "DeletePool": { + "$ref": "./examples/PoolDelete.json" + } }, "parameters": [ { @@ -1686,7 +1776,9 @@ "operationId": "Pool_Get", "description": "Gets information about the specified pool.", "x-ms-examples": { - "GetPool": { "$ref": "./examples/PoolGet.json" } + "GetPool": { + "$ref": "./examples/PoolGet.json" + } }, "parameters": [ { @@ -1735,7 +1827,9 @@ "operationId": "Pool_DisableAutoScale", "description": "Disables automatic scaling for a pool.", "x-ms-examples": { - "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable AutoScale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "parameters": [ { @@ -1785,7 +1879,9 @@ "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", "x-ms-examples": { - "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" } + "StopPoolResize": { + "$ref": "./examples/PoolStopResize.json" + } }, "parameters": [ { @@ -2503,7 +2599,9 @@ } }, "description": "Certificate properties for create operations", - "required": [ "data" ] + "required": [ + "data" + ] }, "Certificate": { "properties": { @@ -2573,7 +2671,10 @@ "description": "A list of additional details about the error." } }, - "required": [ "code", "message" ], + "required": [ + "code", + "message" + ], "description": "An error response from the Batch service." }, "Pool": { @@ -2842,7 +2943,9 @@ "description": "If omitted, the default value is 15 minutes (PT15M)." } }, - "required": [ "formula" ], + "required": [ + "formula" + ], "title": "AutoScale settings for the pool." }, "FixedScaleSettings": { @@ -2971,7 +3074,9 @@ "title": "Which user accounts on the compute node should have access to the private data of the certificate." } }, - "required": [ "id" ], + "required": [ + "id" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool." }, "ApplicationPackageReference": { @@ -2987,7 +3092,9 @@ } }, "title": "Link to an application package inside the batch account", - "required": [ "id" ] + "required": [ + "id" + ] }, "ResizeError": { "properties": { @@ -3008,7 +3115,10 @@ } }, "title": "An error that occurred when resizing a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRunError": { "properties": { @@ -3029,7 +3139,10 @@ } }, "title": "An error that occurred when autoscaling a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRun": { "properties": { @@ -3048,7 +3161,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "evaluationTime" ], + "required": [ + "evaluationTime" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "VirtualMachineConfiguration": { @@ -3086,7 +3201,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "imageReference", "nodeAgentSkuId" ], + "required": [ + "imageReference", + "nodeAgentSkuId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -3106,7 +3224,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -3145,7 +3266,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "WindowsConfiguration": { @@ -3243,7 +3366,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "LinuxUserConfiguration": { @@ -3322,7 +3447,10 @@ "$ref": "#/definitions/WindowsUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user on an Azure Batch node." }, "StartTask": { @@ -3388,7 +3516,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -3437,7 +3567,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "UserIdentity": { @@ -3592,7 +3724,9 @@ "description": "The default value is * which specifies the latest operating system version for the specified OS family." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "MetadataItem": { @@ -3606,7 +3740,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -3661,7 +3798,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNatPools" ], + "required": [ + "inboundNatPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNatPool": { @@ -3720,7 +3859,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -3759,7 +3904,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ListPoolsResult": { @@ -3877,7 +4026,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Batch/batchAccounts" ], + "enum": [ + "Microsoft.Batch/batchAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false, diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json index 0c1047f0b948..c2945c6ffe5e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json index 5e440c03da85..054cfce5d90d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json index aec413231def..701ad1146ed5 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json index 231fd196cddf..b8f80d28dd2a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json @@ -32,4 +32,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json index d8bc48c2f823..9ce018c47008 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json @@ -23,9 +23,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json index 8be9b15da357..79ee980403c9 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json index 76181969de38..eae758eed6f3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json index 40253cbe68e2..eea81371c8e1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json @@ -20,9 +20,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json index f4ef7ba4189b..7de526067116 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json @@ -26,10 +26,10 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } ] } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json index c9355a114953..3396b1999e1d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json index b5b305cdc8e9..599eed0d2b2e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json index c0b7541190f7..ead7005292a2 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json index 7d32947fb5a2..699314908db8 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json index 3e9b561e4383..fc0c7feb5718 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json index ffb9a92b7bb0..5c4595f51571 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json index 7f366d7f2ae6..26b6661fad16 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json index 889e7753d5b2..3611b0ba9676 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json index d867fd3eed63..1c962e8d2e08 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json index 0bfc652df0cb..fd2a4d596509 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json index 35470243a9c7..6757f93a22b1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json index 710568d78965..29f4785e4480 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json @@ -14,19 +14,19 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", + "type": "Microsoft.Batch/batchAccounts/certificates", "etag": "W/\"0x8D4EDD513C3EDBB\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Failed", "previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json index 0a3c2b332054..cb090fdb6233 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json @@ -7,10 +7,10 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e...", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e...", "format": "Pfx" } } @@ -23,17 +23,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json index bd3b1ff2b93f..fe91a8a843e1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json index ee9b9fb0526f..5654a0161a28 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json @@ -7,7 +7,7 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIICrjCCAZagAwI...", + "data": "MIICrjCCAZagAwI...", "format": "Cer" } } @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Cer", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json index d7404dfd2977..4eaaef4ec17f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json @@ -7,13 +7,13 @@ "api-version": "2018-12-01" }, "responses": { - "200": { }, + "200": {}, "202": { "headers": { "Retry-After": "15", "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2018-12-01" } }, - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json index d22d85bb10e2..96a61de7339b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json index 979e1d11ea25..73ab9686ecb3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Failed", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Deleting", - "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z", + "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI...", + "publicData": "MIICrjCCAZagAwI...", "deleteCertificateError": { "code": "NodesReferencingCertificate", "message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z", @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json index ca246d74904a..1a233918834f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json @@ -13,15 +13,15 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } ], @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json index 9e5431fba385..edc90ffa57e9 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json @@ -14,8 +14,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { "provisioningState": "Failed", "format": "Pfx" @@ -24,8 +24,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", "name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118572E0\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118572E0\"", "properties": { "provisioningState": "Failed", "format": "Cer" @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json index bd3b1ff2b93f..fe91a8a843e1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json index 08ef61ee753e..1277426222e3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json index b591ebafbb81..383b87164112 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json index 4a47f4fb34fd..ae689ac81e0e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json index 325b22b75b60..be50503bb422 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json index 4f44add3995b..112a54a3174b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json @@ -256,4 +256,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json index 67cebc4b7d31..ed9ececdeb0c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json index 38a823508f17..4ff398030c01 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json index 1f87a33b867d..19d0d64e4ac7 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json @@ -160,4 +160,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json index f5543c64c4c9..fd5e1fc583eb 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json @@ -7,8 +7,8 @@ "api-version": "2018-12-01" }, "responses": { - "200": { }, - "204": { }, + "200": {}, + "204": {}, "202": { "headers": { "Retry-After": "15", @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json index 6d9a91938ae2..2cb89984b882 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json index e672b1ac68e7..78ef8f3a17f1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json @@ -145,4 +145,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json index bc0871c46074..a1de84b03dd2 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json @@ -152,4 +152,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json index c378f2bf4f76..378263207fe8 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json index e61b3f7db192..ff08cf3a641d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json index aa8194d9e9a1..404fd8176528 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json index 952e920f3a3b..258b37682526 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json index 4ecbed138f9a..a34719194a29 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json index 34ca20e96fda..b3a6ef0a3dfa 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json index 212b5bd1e955..317c5da8b95f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json @@ -43,8 +43,12 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { + "$ref": "./examples/BatchAccountCreate_Default.json" + }, + "BatchAccountCreate_BYOS": { + "$ref": "./examples/BatchAccountCreate_BYOS.json" + } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -113,7 +117,9 @@ ], "operationId": "BatchAccount_Update", "x-ms-examples": { - "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" } + "BatchAccountUpdate": { + "$ref": "./examples/BatchAccountUpdate.json" + } }, "description": "Updates the properties of an existing Batch account.", "parameters": [ @@ -160,7 +166,9 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } + "BatchAccountDelete": { + "$ref": "./examples/BatchAccountDelete.json" + } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -213,7 +221,9 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } + "BatchAccountGet": { + "$ref": "./examples/BatchAccountGet.json" + } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -253,7 +263,9 @@ ], "operationId": "BatchAccount_List", "x-ms-examples": { - "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" } + "BatchAccountList": { + "$ref": "./examples/BatchAccountList.json" + } }, "description": "Gets information about the Batch accounts associated with the subscription.", "parameters": [ @@ -290,7 +302,9 @@ ], "operationId": "BatchAccount_ListByResourceGroup", "x-ms-examples": { - "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" } + "BatchAccountListByResourceGroup": { + "$ref": "./examples/BatchAccountListByResourceGroup.json" + } }, "description": "Gets information about the Batch accounts associated with the specified resource group.", "parameters": [ @@ -330,7 +344,9 @@ ], "operationId": "BatchAccount_SynchronizeAutoStorageKeys", "x-ms-examples": { - "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" } + "BatchAccountSynchronizeAutoStorageKeys": { + "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" + } }, "description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.", "parameters": [ @@ -367,7 +383,9 @@ ], "operationId": "BatchAccount_RegenerateKey", "x-ms-examples": { - "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" } + "BatchAccountRegenerateKey": { + "$ref": "./examples/BatchAccountRegenerateKey.json" + } }, "description": "Regenerates the specified account key for the Batch account.", "parameters": [ @@ -416,7 +434,9 @@ ], "operationId": "BatchAccount_GetKeys", "x-ms-examples": { - "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" } + "BatchAccountGetKeys": { + "$ref": "./examples/BatchAccountGetKeys.json" + } }, "summary": "Gets the account keys for the specified Batch account.", "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", @@ -457,7 +477,9 @@ ], "operationId": "ApplicationPackage_Activate", "x-ms-examples": { - "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" } + "ApplicationPackageActivate": { + "$ref": "./examples/ApplicationPackageActivate.json" + } }, "description": "Activates the specified application package.", "parameters": [ @@ -512,7 +534,9 @@ ], "operationId": "Application_Create", "x-ms-examples": { - "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" } + "ApplicationCreate": { + "$ref": "./examples/ApplicationCreate.json" + } }, "description": "Adds an application to the specified Batch account.", "parameters": [ @@ -562,7 +586,9 @@ ], "operationId": "Application_Delete", "x-ms-examples": { - "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" } + "ApplicationDelete": { + "$ref": "./examples/ApplicationDelete.json" + } }, "description": "Deletes an application.", "parameters": [ @@ -603,7 +629,9 @@ ], "operationId": "Application_Get", "x-ms-examples": { - "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" } + "ApplicationGet": { + "$ref": "./examples/ApplicationGet.json" + } }, "description": "Gets information about the specified application.", "parameters": [ @@ -644,7 +672,9 @@ ], "operationId": "Application_Update", "x-ms-examples": { - "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" } + "ApplicationUpdate": { + "$ref": "./examples/ApplicationUpdate.json" + } }, "description": "Updates settings for the specified application.", "parameters": [ @@ -696,7 +726,9 @@ ], "operationId": "ApplicationPackage_Create", "x-ms-examples": { - "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" } + "ApplicationPackageCreate": { + "$ref": "./examples/ApplicationPackageCreate.json" + } }, "description": "Creates an application package record.", "parameters": [ @@ -749,7 +781,9 @@ ], "operationId": "ApplicationPackage_Delete", "x-ms-examples": { - "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" } + "ApplicationPackageDelete": { + "$ref": "./examples/ApplicationPackageDelete.json" + } }, "description": "Deletes an application package record and its associated binary file.", "parameters": [ @@ -793,7 +827,9 @@ ], "operationId": "ApplicationPackage_Get", "x-ms-examples": { - "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" } + "ApplicationPackageGet": { + "$ref": "./examples/ApplicationPackageGet.json" + } }, "description": "Gets information about the specified application package.", "parameters": [ @@ -839,7 +875,9 @@ ], "operationId": "Application_List", "x-ms-examples": { - "ApplicationList": { "$ref": "./examples/ApplicationList.json" } + "ApplicationList": { + "$ref": "./examples/ApplicationList.json" + } }, "description": "Lists all of the applications in the specified account.", "parameters": [ @@ -890,7 +928,9 @@ ], "operationId": "ApplicationPackage_List", "x-ms-examples": { - "ApplicationList": { "$ref": "./examples/ApplicationPackageList.json" } + "ApplicationList": { + "$ref": "./examples/ApplicationPackageList.json" + } }, "description": "Lists all of the application packages in the specified application.", "parameters": [ @@ -944,7 +984,9 @@ ], "operationId": "Location_GetQuotas", "x-ms-examples": { - "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" } + "LocationGetQuotas": { + "$ref": "./examples/LocationGetQuotas.json" + } }, "description": "Gets the Batch service quotas for the specified subscription at the given location.", "parameters": [ @@ -1014,8 +1056,12 @@ "operationId": "Location_CheckNameAvailability", "description": "Checks whether the Batch account name is available in the specified region.", "x-ms-examples": { - "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" }, - "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" } + "LocationCheckNameAvailability_Available": { + "$ref": "./examples/LocationCheckNameAvailability_Available.json" + }, + "LocationCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" + } }, "parameters": [ { @@ -1065,8 +1111,12 @@ "operationId": "Certificate_ListByBatchAccount", "description": "Lists all of the certificates in the specified account.", "x-ms-examples": { - "ListCertificates": { "$ref": "./examples/CertificateList.json" }, - "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" } + "ListCertificates": { + "$ref": "./examples/CertificateList.json" + }, + "ListCertificates - Filter and Select": { + "$ref": "./examples/CertificateListWithFilter.json" + } }, "parameters": [ { @@ -1131,9 +1181,15 @@ "operationId": "Certificate_Create", "description": "Creates a new certificate inside the specified account.", "x-ms-examples": { - "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" }, - "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" }, - "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" } + "CreateCertificate - Minimal Pfx": { + "$ref": "./examples/CertificateCreate_Minimal.json" + }, + "CreateCertificate - Minimal Cer": { + "$ref": "./examples/CertificateCreate_MinimalCer.json" + }, + "CreateCertificate - Full": { + "$ref": "./examples/CertificateCreate_Full.json" + } }, "parameters": [ { @@ -1204,7 +1260,9 @@ "operationId": "Certificate_Update", "description": "Updates the properties of an existing certificate.", "x-ms-examples": { - "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" } + "UpdateCertificate": { + "$ref": "./examples/CertificateUpdate.json" + } }, "parameters": [ { @@ -1267,7 +1325,9 @@ "operationId": "Certificate_Delete", "description": "Deletes the specified certificate.", "x-ms-examples": { - "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" } + "CertificateDelete": { + "$ref": "./examples/CertificateDelete.json" + } }, "parameters": [ { @@ -1323,8 +1383,12 @@ "operationId": "Certificate_Get", "description": "Gets information about the specified certificate.", "x-ms-examples": { - "Get Certificate": { "$ref": "./examples/CertificateGet.json" }, - "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" } + "Get Certificate": { + "$ref": "./examples/CertificateGet.json" + }, + "Get Certificate with Deletion Error": { + "$ref": "./examples/CertificateGetWithDeletionError.json" + } }, "parameters": [ { @@ -1374,7 +1438,9 @@ "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", "x-ms-examples": { - "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" } + "CertificateCancelDeletion": { + "$ref": "./examples/CertificateCancelDeletion.json" + } }, "parameters": [ { @@ -1423,8 +1489,12 @@ "operationId": "Pool_ListByBatchAccount", "description": "Lists all of the pools in the specified account.", "x-ms-examples": { - "ListPool": { "$ref": "./examples/PoolList.json" }, - "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" } + "ListPool": { + "$ref": "./examples/PoolList.json" + }, + "ListPoolWithFilter": { + "$ref": "./examples/PoolListWithFilter.json" + } }, "parameters": [ { @@ -1489,11 +1559,21 @@ "operationId": "Pool_Create", "description": "Creates a new pool inside the specified account.", "x-ms-examples": { - "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" }, - "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" }, - "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" }, - "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" }, - "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" } + "CreatePool - Minimal CloudServiceConfiguration": { + "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" + }, + "CreatePool - Minimal VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" + }, + "CreatePool - Full Example": { + "$ref": "./examples/PoolCreate_FullExample.json" + }, + "CreatePool - Custom Image": { + "$ref": "./examples/PoolCreate_CustomImage.json" + }, + "CreatePool - Full VirtualMachineConfiguration": { + "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" + } }, "parameters": [ { @@ -1564,10 +1644,18 @@ "operationId": "Pool_Update", "description": "Updates the properties of an existing pool.", "x-ms-examples": { - "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" }, - "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" }, - "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" }, - "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" } + "UpdatePool - Resize Pool": { + "$ref": "./examples/PoolUpdate_ResizePool.json" + }, + "UpdatePool - Enable Autoscale": { + "$ref": "./examples/PoolUpdate_EnableAutoScale.json" + }, + "UpdatePool - Remove Start Task": { + "$ref": "./examples/PoolUpdate_RemoveStartTask.json" + }, + "UpdatePool - Other Properties": { + "$ref": "./examples/PoolUpdate_OtherProperties.json" + } }, "parameters": [ { @@ -1630,7 +1718,9 @@ "operationId": "Pool_Delete", "description": "Deletes the specified pool.", "x-ms-examples": { - "DeletePool": { "$ref": "./examples/PoolDelete.json" } + "DeletePool": { + "$ref": "./examples/PoolDelete.json" + } }, "parameters": [ { @@ -1686,7 +1776,9 @@ "operationId": "Pool_Get", "description": "Gets information about the specified pool.", "x-ms-examples": { - "GetPool": { "$ref": "./examples/PoolGet.json" } + "GetPool": { + "$ref": "./examples/PoolGet.json" + } }, "parameters": [ { @@ -1735,7 +1827,9 @@ "operationId": "Pool_DisableAutoScale", "description": "Disables automatic scaling for a pool.", "x-ms-examples": { - "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" } + "Disable AutoScale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } }, "parameters": [ { @@ -1785,7 +1879,9 @@ "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", "x-ms-examples": { - "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" } + "StopPoolResize": { + "$ref": "./examples/PoolStopResize.json" + } }, "parameters": [ { @@ -2539,7 +2635,9 @@ } }, "description": "Certificate properties for create operations", - "required": [ "data" ] + "required": [ + "data" + ] }, "Certificate": { "properties": { @@ -2609,7 +2707,10 @@ "description": "A list of additional details about the error." } }, - "required": [ "code", "message" ], + "required": [ + "code", + "message" + ], "description": "An error response from the Batch service." }, "Pool": { @@ -2880,7 +2981,9 @@ "description": "If omitted, the default value is 15 minutes (PT15M)." } }, - "required": [ "formula" ], + "required": [ + "formula" + ], "title": "AutoScale settings for the pool." }, "FixedScaleSettings": { @@ -3009,7 +3112,9 @@ "title": "Which user accounts on the compute node should have access to the private data of the certificate." } }, - "required": [ "id" ], + "required": [ + "id" + ], "title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool." }, "ApplicationPackageReference": { @@ -3025,7 +3130,9 @@ } }, "title": "Link to an application package inside the batch account", - "required": [ "id" ] + "required": [ + "id" + ] }, "ResizeError": { "properties": { @@ -3046,7 +3153,10 @@ } }, "title": "An error that occurred when resizing a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRunError": { "properties": { @@ -3067,7 +3177,10 @@ } }, "title": "An error that occurred when autoscaling a pool.", - "required": [ "code", "message" ] + "required": [ + "code", + "message" + ] }, "AutoScaleRun": { "properties": { @@ -3086,7 +3199,9 @@ "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." } }, - "required": [ "evaluationTime" ], + "required": [ + "evaluationTime" + ], "title": "The results and errors from an execution of a pool autoscale formula." }, "VirtualMachineConfiguration": { @@ -3124,7 +3239,10 @@ "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." } }, - "required": [ "imageReference", "nodeAgentSkuId" ], + "required": [ + "imageReference", + "nodeAgentSkuId" + ], "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." }, "ContainerRegistry": { @@ -3144,7 +3262,10 @@ "title": "The password to log into the registry server." } }, - "required": [ "username", "password" ], + "required": [ + "username", + "password" + ], "title": "A private container registry." }, "ContainerConfiguration": { @@ -3183,7 +3304,9 @@ "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." } }, - "required": [ "type" ], + "required": [ + "type" + ], "title": "The configuration for container-enabled pools." }, "WindowsConfiguration": { @@ -3281,7 +3404,9 @@ } } }, - "required": [ "nodeFillType" ], + "required": [ + "nodeFillType" + ], "title": "Specifies how tasks should be distributed across compute nodes." }, "LinuxUserConfiguration": { @@ -3360,7 +3485,10 @@ "$ref": "#/definitions/WindowsUserConfiguration" } }, - "required": [ "name", "password" ], + "required": [ + "name", + "password" + ], "title": "Properties used to create a user on an Azure Batch node." }, "StartTask": { @@ -3427,7 +3555,9 @@ "description": "This setting can be omitted if was already provided at pool creation." } }, - "required": [ "imageName" ], + "required": [ + "imageName" + ], "title": "The container settings for a task." }, "ResourceFile": { @@ -3476,7 +3606,9 @@ "title": "The value of the environment variable." } }, - "required": [ "name" ], + "required": [ + "name" + ], "title": "An environment variable to be set on a task process." }, "UserIdentity": { @@ -3631,7 +3763,9 @@ "description": "The default value is * which specifies the latest operating system version for the specified OS family." } }, - "required": [ "osFamily" ], + "required": [ + "osFamily" + ], "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." }, "MetadataItem": { @@ -3645,7 +3779,10 @@ "title": "The value of the metadata item." } }, - "required": [ "name", "value" ], + "required": [ + "name", + "value" + ], "title": "A name-value pair associated with a Batch service resource.", "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." }, @@ -3700,7 +3837,9 @@ "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." } }, - "required": [ "inboundNatPools" ], + "required": [ + "inboundNatPools" + ], "title": "The endpoint configuration for a pool." }, "InboundNatPool": { @@ -3759,7 +3898,13 @@ } } }, - "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ], + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." }, "NetworkSecurityGroupRule": { @@ -3798,7 +3943,11 @@ "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." } }, - "required": [ "priority", "access", "sourceAddressPrefix" ], + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], "title": "A network security group rule to apply to an inbound endpoint." }, "ListPoolsResult": { @@ -3916,7 +4065,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Batch/batchAccounts" ], + "enum": [ + "Microsoft.Batch/batchAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false, diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json index 70de9cb2f13c..eed441c19009 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json index e6e0ae8308a1..3829a45f104a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json index 00bd42058ec9..2bb409983944 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json index 9109aefee6e7..069f28aa4a9f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json @@ -32,4 +32,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json index a6873b466bf9..bbe9236cf8de 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json @@ -23,9 +23,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json index 0394faf46bf2..3590ef8d5b63 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json index 6c3ebee76f05..0a051c88011f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json index a86aed77eca8..0fdf50d3e0a2 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json @@ -20,9 +20,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json index aec2bea6d3a1..fd3c2b8921f8 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json @@ -26,10 +26,10 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } ] } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json index 6704c85ee742..d321b0e97836 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json index 7a24326935cb..bfb63f39428a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json index 54043239b837..dbb4cf4d1079 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json index 4bb2c6fca09c..f9ca3455a667 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json index b42e0d49e357..dcb50e93f523 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json index 36d4f080c340..6eb47d2ab77a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json index 0aa75dba68f2..f45623f0f080 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json index c1124a5170f7..6a557fb1050f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json index f87ad16770f0..f5a4cdef2ba3 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json index bff4cd15a9f8..f958dcd17841 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json index bcf2a9c6c00e..ef5ed5de429b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json index f27b86ab9f48..4b93a00a8dd1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json @@ -14,19 +14,19 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", + "type": "Microsoft.Batch/batchAccounts/certificates", "etag": "W/\"0x8D4EDD513C3EDBB\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Failed", "previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json index fd362745568c..7799e0ffb12b 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json @@ -7,10 +7,10 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e...", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e...", "format": "Pfx" } } @@ -23,17 +23,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json index 54fb1b1a371b..c14a4815b336 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json index 0ab8aa69872e..6a3b1e913466 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json @@ -7,7 +7,7 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIICrjCCAZagAwI...", + "data": "MIICrjCCAZagAwI...", "format": "Cer" } } @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Cer", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json index adfc3e648fe1..db5d0de0a0be 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json @@ -7,13 +7,13 @@ "api-version": "2019-04-01" }, "responses": { - "200": { }, + "200": {}, "202": { "headers": { "Retry-After": "15", "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2019-04-01" } }, - "204": { } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json index c0782c09f975..689eb0a795ea 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json index d58071509964..f495c5dc3900 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Failed", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Deleting", - "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z", + "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI...", + "publicData": "MIICrjCCAZagAwI...", "deleteCertificateError": { "code": "NodesReferencingCertificate", "message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z", @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json index c142bbbc13a6..7efbea1caef9 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json @@ -13,15 +13,15 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } ], @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json index 51da953c4115..42b58cd95a67 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json @@ -14,8 +14,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { "provisioningState": "Failed", "format": "Pfx" @@ -24,8 +24,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", "name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118572E0\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118572E0\"", "properties": { "provisioningState": "Failed", "format": "Cer" @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json index 54fb1b1a371b..c14a4815b336 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json @@ -7,8 +7,8 @@ "certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,17 +20,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"SHA1", - "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", + "thumbprintAlgorithm": "SHA1", + "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json index fbd5ed25251f..538aa4a72ca0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json index 6a3e9d770b5e..eab309be5075 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json index 37d2e3e7c878..79d91ef60668 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json index 43b079492fc9..d5b0c67fccb5 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json index ba07e157d8c8..dde5b7fd1a77 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json @@ -256,4 +256,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json index 2d1aec7986b8..f7f4108090db 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json index 69cac7dbea42..2b9ccb4e784c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json index 342cf9f4e564..8ecd8802f18e 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json @@ -160,4 +160,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json index 0380c99118ce..8465ce0e73d9 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json @@ -7,8 +7,8 @@ "api-version": "2019-04-01" }, "responses": { - "200": { }, - "204": { }, + "200": {}, + "204": {}, "202": { "headers": { "Retry-After": "15", @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json index 11ff186d1dd0..be1451c0812c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json index be1358781450..adbedc659a99 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json @@ -145,4 +145,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json index 90fced05afd1..cebf3715317d 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json @@ -152,4 +152,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json index 7e9b8cc6c911..4c47e72abe33 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json index c852f6993164..c829191550fa 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json index 6c6e19f2223a..2edc9459c904 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json index d375c024b7c4..be86d8a6295c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json index 9843589aa33f..5077985338ad 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json index bc1f7a0f6520..a179a891ffd7 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json index b12570e9ef7f..0319d8360771 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", - "accountName": "sto328", - "containerName": "container6185", - "api-version": "2019-04-01", - "monitor": "true", - "parameters": { - "action": "Acquire", - "leaseId": null, - "breakPeriod": null, - "leaseDuration": -1, - "proposedLeaseId": null - } - }, - "responses": { - "200": { - "body": { - "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" - } - } - } +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res3376", + "accountName": "sto328", + "containerName": "container6185", + "api-version": "2019-04-01", + "monitor": "true", + "parameters": { + "action": "Acquire", + "leaseId": null, + "breakPeriod": null, + "leaseDuration": -1, + "proposedLeaseId": null + } + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + } } \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json index 4a786add7ec4..6bb05733ea97 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", - "accountName": "sto328", - "containerName": "container6185", - "api-version": "2019-04-01", - "monitor": "true", - "parameters": { - "action": "Break", - "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", - "breakPeriod": null, - "leaseDuration": null, - "proposedLeaseId": null - } - }, - "responses": { - "200": { - "body": { - "leaseTimeSeconds": "0" - } - } - } +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res3376", + "accountName": "sto328", + "containerName": "container6185", + "api-version": "2019-04-01", + "monitor": "true", + "parameters": { + "action": "Break", + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "breakPeriod": null, + "leaseDuration": null, + "proposedLeaseId": null + } + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + } } \ No newline at end of file From b466a45dc324393e16f67ba8ec018099c7658235 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 21 Jun 2019 13:54:26 -0400 Subject: [PATCH 124/495] chore: jsonfmt vmwarecloudsimple (#6405) Ran `jsonfmt -w "specification/vmwarecloudsimple/**/*.json"` --- .../2019-04-01/examples/CreateDedicatedCloudNode.json | 10 +++++----- .../examples/CreateDedicatedCloudService.json | 2 +- .../2019-04-01/examples/CreateVirtualMachine.json | 4 ++-- .../2019-04-01/examples/DeleteDedicatedCloudNode.json | 2 +- .../2019-04-01/examples/DeleteVirtualMachine.json | 2 +- .../2019-04-01/examples/GetDedicatedCloudNode.json | 2 +- .../2019-04-01/examples/GetDedicatedCloudService.json | 2 +- .../2019-04-01/examples/GetFailedOperationResult.json | 2 +- .../stable/2019-04-01/examples/GetOperationResult.json | 2 +- .../stable/2019-04-01/examples/GetPrivateCloud.json | 2 +- .../stable/2019-04-01/examples/GetResourcePool.json | 4 ++-- .../2019-04-01/examples/GetVirtualMachineTemplate.json | 2 +- .../stable/2019-04-01/examples/GetVirtualNetwork.json | 4 ++-- .../stable/2019-04-01/examples/ListAvailabilities.json | 2 +- .../2019-04-01/examples/ListDedicatedCloudNodes.json | 2 +- .../examples/ListDedicatedCloudServices.json | 2 +- .../stable/2019-04-01/examples/ListOperations.json | 2 +- .../examples/ListPrivateCloudInLocation.json | 2 +- .../2019-04-01/examples/ListRGDedicatedCloudNodes.json | 2 +- .../examples/ListRGDedicatedCloudServices.json | 2 +- .../stable/2019-04-01/examples/ListResourcePools.json | 4 ++-- .../stable/2019-04-01/examples/ListUsages.json | 2 +- .../examples/ListVirtualMachineTemplates.json | 2 +- .../2019-04-01/examples/ListVirtualNetworks.json | 2 +- .../2019-04-01/examples/PatchDedicatedCloudNode.json | 2 +- .../2019-04-01/examples/PatchDedicatedService.json | 2 +- .../2019-04-01/examples/PatchVirtualMachine.json | 2 +- .../2019-04-01/examples/StartVirtualMachine.json | 2 +- .../2019-04-01/examples/StopInBodyVirtualMachine.json | 2 +- .../2019-04-01/examples/StopInQueryVirtualMachine.json | 2 +- 30 files changed, 38 insertions(+), 38 deletions(-) diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json index 4acc5c19f2e4..46f16322e94e 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json @@ -9,15 +9,15 @@ "location": "westus", "properties": { "skuDescription": { - "id":"general", + "id": "general", "name": "CS28-Node" }, "placementGroupId": "n1", "availabilityZoneId": "az1", - "nodesCount":1, - "purchaseId":"56acbd46-3d36-4bbf-9b08-57c30fdf6932" + "nodesCount": 1, + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932" }, - "sku":{ + "sku": { "name": "VMware_CloudSimple_CS28" } } @@ -45,4 +45,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json index 96e73e402255..ec6466d149b3 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json @@ -24,4 +24,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json index f3ed9e6704a3..e0c6ef6f5ca7 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json @@ -20,7 +20,7 @@ "virtualDiskId": "2000" } ], - "resourcePool":{ + "resourcePool": { "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" }, "guestOS": "Other (32-bit)", @@ -124,4 +124,4 @@ "type": "Microsoft.VMwareCloudSimple/virtualMachines" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json index ba2300f3cd7f..c4958e3e093c 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json index 19153b5546fb..bb55a06b18c9 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json index b5122e4a41fb..91f9d61b2646 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json @@ -33,4 +33,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json index 2b43e7fa9e2d..28c6f4296be8 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json @@ -26,4 +26,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json index 441b5f623293..53ab4cdf951d 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json @@ -21,4 +21,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json index e73daa081f1c..d5f49aea1a72 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json @@ -17,4 +17,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json index 808c0156a68e..22c2f7cc19d1 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json @@ -151,4 +151,4 @@ "type": "Microsoft.VMwareCloudSimple/privateClouds" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json index de16018048f5..3f65b289ae62 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "regionId": "westus2", - "pcName" : "myPrivateCloud", + "pcName": "myPrivateCloud", "resourcePoolName": "resgroup-26", "api-version": "2019-04-01" }, @@ -18,4 +18,4 @@ "type": "Microsoft.VMwareCloudSimple/resourcePools" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json index 58b7621a494a..e8cb9d861c28 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json @@ -55,4 +55,4 @@ "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json index de92e109e3e4..813bab5216f2 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "regionId": "westus2", "pcName": "myPrivateCloud", - "virtualNetworkName" : "dvportgroup-19", + "virtualNetworkName": "dvportgroup-19", "api-version": "2019-04-01" }, "responses": { @@ -18,4 +18,4 @@ "type": "Microsoft.VMwareCloudSimple/virtualNetworks" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json index d2a7eff5eeec..cf9f858fcd9c 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json @@ -28,4 +28,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json index c4433be9a7bc..c2c89fd7e519 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json @@ -57,4 +57,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json index 5ee83c8aa9f6..de5e97b063ce 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json @@ -31,4 +31,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json index d46811a6007b..b0377ee9ab23 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json @@ -19,4 +19,4 @@ "nextLink": "string" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json index 4934df60f221..6aa9ed249884 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json @@ -41,4 +41,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json index ae6f85564983..85c6f171ffed 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json @@ -88,4 +88,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json index 99b365a135b9..e372353fa11d 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json @@ -32,4 +32,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json index f8aa95124427..a2437cb10bca 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "regionId": "westus2", - "pcName" : "myPrivateCloud", + "pcName": "myPrivateCloud", "api-version": "2019-04-01" }, "responses": { @@ -21,4 +21,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json index b1e74a09b298..f6dc86b4ead7 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json @@ -30,4 +30,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json index e776dab00b7b..19357f08d7d7 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json @@ -59,4 +59,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json index 8c5d040a2a43..91e316b2aa52 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json @@ -62,4 +62,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json index a520f55f9132..53d199fdd1ee 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json @@ -33,4 +33,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json index dd6458be3758..03f073c728ba 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json @@ -26,4 +26,4 @@ "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json index b1c1f7953d10..886743192ec3 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json @@ -66,4 +66,4 @@ "type": "Microsoft.VMwareCloudSimple/virtualMachines" } } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json index 0b6eca925fd9..1fd1d371b5c0 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json @@ -11,4 +11,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json index 2071ca85570a..bab1631a13de 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json index 3e9dac3aa9d5..9181a30a7352 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json @@ -12,4 +12,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} From b352267a33be97e0904b90a8d55a651e0edbce5a Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 21 Jun 2019 15:29:08 -0700 Subject: [PATCH 125/495] Monitor Python multi-api (#6410) * Monitor Python multi-api * Missing multi-api script * Ouuups, fix broken Readme --- ...uestDiagnosticSettingsAssociation_API.json | 26 +- .../monitor/resource-manager/readme.md | 180 ++++++++++---- .../monitor/resource-manager/readme.python.md | 223 +++++++++++++++++- 3 files changed, 362 insertions(+), 67 deletions(-) diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json index 80487b3dc64d..75f829203b94 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json @@ -43,7 +43,7 @@ "tags": [ "GuestDiagnosticsSettingsAssociation" ], - "operationId": "guestDiagnosticsSettingsAssociation_CreateOrUpdate", + "operationId": "GuestDiagnosticsSettingsAssociation_CreateOrUpdate", "x-ms-examples": { "Create or update an guest diagnostic settings association": { "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json" @@ -94,13 +94,13 @@ } } } - }, + }, "get": { "description": "Gets guest diagnostics association settings.", "tags": [ "GuestDiagnosticsSettingsAssociation" ], - "operationId": "guestDiagnosticsSettingsAssociation_Get", + "operationId": "GuestDiagnosticsSettingsAssociation_Get", "x-ms-examples": { "Create or update an guest diagnostic settings association": { "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json" @@ -147,7 +147,7 @@ "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json" } }, - "operationId": "GuestDiagnosticsSettingsAssociation_Delete", + "operationId": "GuestDiagnosticsSettingsAssociation_Delete", "parameters": [ { "name": "resourceUri", @@ -181,7 +181,7 @@ }, "patch": { "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method", - "operationId": "guestDiagnosticsSettingsAssociation_Update", + "operationId": "GuestDiagnosticsSettingsAssociation_Update", "parameters": [ { "name": "resourceUri", @@ -229,7 +229,7 @@ "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { "get": { "description": "Get a list of all guest diagnostic settings association in a subscription.", - "operationId": "guestDiagnosticsSettingsAssociation_List", + "operationId": "GuestDiagnosticsSettingsAssociation_List", "x-ms-pageable": { "nextLinkName": null }, @@ -260,7 +260,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { "get": { "description": "Get a list of all guest diagnostic settings association in a resource group.", - "operationId": "guestDiagnosticsSettingsAssociation_ListByResourceGroup", + "operationId": "GuestDiagnosticsSettingsAssociation_ListByResourceGroup", "x-ms-pageable": { "nextLinkName": null }, @@ -291,7 +291,7 @@ } } } - }, + }, "definitions": { "ErrorResponse": { "description": "Describes the format of Error response.", @@ -343,11 +343,11 @@ "description": "A guest diagnostic settings association.", "properties": { "guestDiagnosticSettingsName": { - "type": "string", + "type": "string", "description": "The guest diagnostic settings name." - } + } }, - "required": [ + "required": [ "guestDiagnosticSettingsName" ] }, @@ -407,7 +407,7 @@ ], "x-ms-azure-resource": true, "description": "An azure resource object" - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -439,6 +439,6 @@ "required": true, "type": "string", "description": "Client Api Version." - } + } } } \ No newline at end of file diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 855d4c4e0ec3..9be937e9e92f 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -261,100 +261,192 @@ input-file: - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json ``` -### Tag: package-2018-01-01-only +### Tag: package-2019-06-01-only -These settings apply only when `--tag=package-2018-01-01-only` is specified on the command line. +These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-01-01-only' +```yaml $(tag) == 'package-2019-06-01-only' input-file: -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json +- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json ``` -### Tag: package-2018-03-01-only -These settings apply only when `--tag=package-2018-03-01-only` is specified on the command line. +### Tag: package-2019-03-01-only -``` yaml $(tag) == 'package-2018-03-01-only' +These settings apply only when `--tag=package-2019-03-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-03-01-only' input-file: -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json +- Microsoft.Insights/stable/2019-03-01/actionGroups_API.json +- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json ``` + +### Tag: package-2018-11-27-preview-only + +These settings apply only when `--tag=package-2018-11-27-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2018-11-27-preview-only' +input-file: +- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +``` + + +### Tag: package-2018-09-01-only + +These settings apply only when `--tag=package-2018-09-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2018-09-01-only' +input-file: +- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json +- Microsoft.Insights/stable/2018-09-01/baseline_API.json +- Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json +``` + + +### Tag: package-2018-06-01-preview-only + +These settings apply only when `--tag=package-2018-06-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2018-06-01-preview-only' +input-file: +- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json +- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json +``` + + ### Tag: package-2018-04-16-only These settings apply only when `--tag=package-2018-04-16-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-04-16-only' +```yaml $(tag) == 'package-2018-04-16-only' input-file: - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json ``` -### Tag: package-2015-04-01-only -These settings apply only when `--tag=package-2015-04-01-only` is specified on the command line. +### Tag: package-2018-03-01-only + +These settings apply only when `--tag=package-2018-03-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2015-04-01-only' +```yaml $(tag) == 'package-2018-03-01-only' input-file: -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json +- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json +- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json ``` -### Tag: package-2016-03-01-only -These settings apply only when `--tag=package-2016-03-01-only` is specified on the command line. +### Tag: package-2018-01-01-only + +These settings apply only when `--tag=package-2018-01-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2016-03-01-only' +```yaml $(tag) == 'package-2018-01-01-only' input-file: -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json +- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json +- Microsoft.Insights/stable/2018-01-01/metrics_API.json ``` -### Tag: package-2016-09-01-only -These settings apply only when `--tag=package-2016-09-01-only` is specified on the command line. +### Tag: package-2017-12-01-preview-only -``` yaml $(tag) == 'package-2016-09-01-only' +These settings apply only when `--tag=package-2017-12-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-12-01-preview-only' input-file: -- Microsoft.Insights/stable/2016-09-01/metrics_API.json -- Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json +- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json ``` -### Tag: package-2017-04-01-only -These settings apply only when `--tag=package-2017-04-01-only` is specified on the command line. +### Tag: package-2017-11-01-preview-only -``` yaml $(tag) == 'package-2017-04-01-only' +These settings apply only when `--tag=package-2017-11-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-11-01-preview-only' input-file: -- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json +- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json +- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json ``` + ### Tag: package-2017-05-01-preview-only These settings apply only when `--tag=package-2017-05-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-05-01-preview-only' +```yaml $(tag) == 'package-2017-05-01-preview-only' input-file: -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json +- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json - Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json - Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json ``` -### Tag: package-2017-11-01-preview-only -These settings apply only when `--tag=package-2017-11-01-preview-only` is specified on the command line. +### Tag: package-2017-04-01-only + +These settings apply only when `--tag=package-2017-04-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-11-01-preview-only' +```yaml $(tag) == 'package-2017-04-01-only' input-file: -- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json -- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json +- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json +- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json +``` + + +### Tag: package-2017-03-01-preview-only + +These settings apply only when `--tag=package-2017-03-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-03-01-preview-only' +input-file: +- Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json +``` + + +### Tag: package-2016-09-01-only + +These settings apply only when `--tag=package-2016-09-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2016-09-01-only' +input-file: +- Microsoft.Insights/stable/2016-09-01/metrics_API.json +- Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json +``` + + +### Tag: package-2016-03-01-only + +These settings apply only when `--tag=package-2016-03-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2016-03-01-only' +input-file: +- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json +- Microsoft.Insights/stable/2016-03-01/alertRules_API.json +- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json +- Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json +``` + + +### Tag: package-2015-07-01-only + +These settings apply only when `--tag=package-2015-07-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2015-07-01-only' +input-file: +- Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json +``` + + +### Tag: package-2015-04-01-only + +These settings apply only when `--tag=package-2015-04-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2015-04-01-only' +input-file: +- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json +- Microsoft.Insights/stable/2015-04-01/autoscale_API.json +- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json +- Microsoft.Insights/stable/2015-04-01/operations_API.json +- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json ``` --- @@ -369,6 +461,8 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python + after_scripts: + - python ./scripts/multiapi_init_gen.py azure-mgmt-monitor - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md index 3958eb44b2d3..753cfc0a5965 100644 --- a/specification/monitor/resource-manager/readme.python.md +++ b/specification/monitor/resource-manager/readme.python.md @@ -1,27 +1,228 @@ ## Python These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. ``` yaml $(python) -python-mode: create python: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 - namespace: azure.mgmt.monitor package-name: azure-mgmt-monitor - package-version: 0.6.0 clear-output-folder: true + no-namespace-folders: true + python-base-folder: monitor/azure-mgmt-monitor/azure/mgmt/monitor + python-base-namespace: azure.mgmt.monitor ``` -``` yaml $(python) && $(python-mode) == 'update' + +### Python multi-api + +Generate all API versions currently shipped for this package + +```yaml $(python) && $(multiapi) +batch: + - tag: package-2019-06-01-only + - tag: package-2019-03-01-only + - tag: package-2018-11-27-preview-only + - tag: package-2018-09-01-only + - tag: package-2018-06-01-preview-only + - tag: package-2018-04-16-only + - tag: package-2018-03-01-only + - tag: package-2018-01-01-only + - tag: package-2017-12-01-preview-only + - tag: package-2017-11-01-preview-only + - tag: package-2017-05-01-preview-only + - tag: package-2017-04-01-only + - tag: package-2017-03-01-preview-only + - tag: package-2016-09-01-only + - tag: package-2016-03-01-only + - tag: package-2015-07-01-only + - tag: package-2015-04-01-only +``` + + +### Tag: package-2019-06-01-only and python + +These settings apply only when `--tag=package-2019-06-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-only' && $(python) python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor + namespace: $(python-base-namespace).v2019_06_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_06_01 ``` -``` yaml $(python) && $(python-mode) == 'create' + +### Tag: package-2019-03-01-only and python + +These settings apply only when `--tag=package-2019-03-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-03-01-only' && $(python) python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor + namespace: $(python-base-namespace).v2019_03_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_03_01 ``` + +### Tag: package-2018-11-27-preview-only and python + +These settings apply only when `--tag=package-2018-11-27-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-11-27-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_11_27_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_11_27_preview +``` + +### Tag: package-2018-09-01-only and python + +These settings apply only when `--tag=package-2018-09-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_09_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_09_01 +``` + +### Tag: package-2018-06-01-preview-only and python + +These settings apply only when `--tag=package-2018-06-01-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_06_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_06_01_preview +``` + +### Tag: package-2018-04-16-only and python + +These settings apply only when `--tag=package-2018-04-16-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-04-16-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_04_16 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_04_16 +``` + +### Tag: package-2018-03-01-only and python + +These settings apply only when `--tag=package-2018-03-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_03_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_03_01 +``` + +### Tag: package-2018-01-01-only and python + +These settings apply only when `--tag=package-2018-01-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-01-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2018_01_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_01_01 +``` + +### Tag: package-2017-12-01-preview-only and python + +These settings apply only when `--tag=package-2017-12-01-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2017_12_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_12_01_preview +``` + +### Tag: package-2017-11-01-preview-only and python + +These settings apply only when `--tag=package-2017-11-01-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-11-01-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2017_11_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_11_01_preview +``` + +### Tag: package-2017-05-01-preview-only and python + +These settings apply only when `--tag=package-2017-05-01-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-05-01-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2017_05_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_05_01_preview +``` + +### Tag: package-2017-04-01-only and python + +These settings apply only when `--tag=package-2017-04-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-04-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2017_04_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_04_01 +``` + +### Tag: package-2017-03-01-preview-only and python + +These settings apply only when `--tag=package-2017-03-01-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-03-01-preview-only' && $(python) +python: + namespace: $(python-base-namespace).v2017_03_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_03_01_preview +``` + +### Tag: package-2016-09-01-only and python + +These settings apply only when `--tag=package-2016-09-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-09-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2016_09_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_09_01 +``` + +### Tag: package-2016-03-01-only and python + +These settings apply only when `--tag=package-2016-03-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-03-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2016_03_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_03_01 +``` + +### Tag: package-2015-07-01-only and python + +These settings apply only when `--tag=package-2015-07-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2015-07-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2015_07_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_07_01 +``` + +### Tag: package-2015-04-01-only and python + +These settings apply only when `--tag=package-2015-04-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2015-04-01-only' && $(python) +python: + namespace: $(python-base-namespace).v2015_04_01 + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_04_01 +``` \ No newline at end of file From 4f49e7302411fb12fcd45946e3595f520e073ee4 Mon Sep 17 00:00:00 2001 From: Ajay Sainy Date: Fri, 21 Jun 2019 15:32:49 -0700 Subject: [PATCH 126/495] [Hub Generated] Review request for Microsoft.ManagedServices to add version stable/2019-06-01 (#6406) * Adds base for updating Microsoft.ManagedServices from version preview/2019-04-01-preview to version 2019-06-01 * Updates readme * Updates API version in new specs and examples --- .../DeleteRegistrationAssignment.json | 12 + .../DeleteRegistrationDefinition.json | 11 + .../2019-06-01/examples/GetOperations.json | 22 + .../examples/GetRegistrationAssignment.json | 47 + .../examples/GetRegistrationAssignments.json | 49 + .../examples/GetRegistrationDefinition.json | 35 + .../examples/GetRegistrationDefinitions.json | 38 + .../examples/PutRegistrationAssignment.json | 36 + .../examples/PutRegistrationDefinition.json | 80 ++ .../stable/2019-06-01/managedservices.json | 847 ++++++++++++++++++ .../resource-manager/readme.md | 24 +- 11 files changed, 1193 insertions(+), 8 deletions(-) create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json new file mode 100644 index 000000000000..bf296dd20764 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01" + }, + "responses": { + "200": {}, + "204": {}, + "202": {} + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json new file mode 100644 index 000000000000..e49cd019a9f7 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json new file mode 100644 index 000000000000..56d89bd46400 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedServices/registrationDefinitions/read", + "display": { + "provider": "Microsoft Managed Services", + "resource": "Managed Services Registration Definition", + "operation": "List Managed Services Registration Definitions", + "description": "Retrieves a list of Managed Services registration definitions." + } + } + ] + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json new file mode 100644 index 000000000000..37b79850b164 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "provisioningState": "Succeeded", + "registrationDefinition": { + "properties": { + "description": "Test", + "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", + "registrationDefinitionName": "DefinitionName", + "authorizations": [ + { + "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854", + "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm", + "managedByTenantName": "Contoso Corp." + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2" + } + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", + "type": "Microsoft.ManagedServices/registrationAssignments", + "name": "484a7d5f-9729-4b87-bc9b-26610985a013" + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json new file mode 100644 index 000000000000..f3355d221f1f --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "provisioningState": "Succeeded", + "registrationDefinition": { + "properties": { + "description": "Test", + "registrationDefinitionName": "DefinitionName", + "authorizations": [ + { + "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854", + "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm", + "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", + "managedByTenantName": "Contoso Corp." + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2" + } + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", + "type": "Microsoft.ManagedServices/registrationAssignments", + "name": "484a7d5f-9729-4b87-bc9b-26610985a013" + } + ] + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json new file mode 100644 index 000000000000..a772ff5161d3 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Test", + "registrationDefinitionName": "DefinitionName", + "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", + "authorizations": [ + { + "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "managedByTenantName": "Test Tenant" + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2" + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json new file mode 100644 index 000000000000..dbf8cc57fb18 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Test", + "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", + "registrationDefinitionName": "DefinitionName", + "authorizations": [ + { + "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "managedByTenantName": "Test Tenant" + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2" + } + ] + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json new file mode 100644 index 000000000000..db26691b85b0 --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01", + "requestBody": { + "properties": { + "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", + "type": "Microsoft.ManagedServices/registrationAssignments", + "name": "484a7d5f-9729-4b87-bc9b-26610985a013" + } + }, + "201": { + "body": { + "properties": { + "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", + "type": "Microsoft.ManagedServices/registrationAssignments", + "name": "484a7d5f-9729-4b87-bc9b-26610985a013" + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json new file mode 100644 index 000000000000..5c5fde7daceb --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", + "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", + "api-version": "2019-06-01", + "requestBody": { + "properties": { + "registrationDefinitionName": "DefinitionName", + "description": "Tes1t", + "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", + "authorizations": [ + { + "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ] + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Test", + "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", + "registrationDefinitionName": "DefinitionName", + "authorizations": [ + { + "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "managedByTenantName": "Test Tenant" + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2" + } + }, + "201": { + "body": { + "properties": { + "description": "Test", + "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", + "registrationDefinitionName": "DefinitionName", + "authorizations": [ + { + "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", + "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" + } + ], + "provisioningState": "Succeeded", + "managedByTenantName": "Test Tenant" + }, + "plan": { + "name": "addesai-plan", + "product": "test", + "publisher": "marketplace-test", + "version": "1.0.0" + }, + "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2", + "type": "Microsoft.ManagedServices/registrationDefinitions", + "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2" + } + } + } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json new file mode 100644 index 000000000000..76e52bdf361e --- /dev/null +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json @@ -0,0 +1,847 @@ +{ + "swagger": "2.0", + "info": { + "title": "ManagedServicesClient", + "version": "2019-06-01", + "description": "Specification for ManagedServices." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}": { + "get": { + "tags": [ + "RegistrationDefinitions" + ], + "operationId": "RegistrationDefinitions_Get", + "description": "Gets the registration definition details.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/registrationDefinitionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the complete registration definition with plan details.", + "schema": { + "$ref": "#/definitions/RegistrationDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registration Definition": { + "$ref": "./examples/GetRegistrationDefinition.json" + } + } + }, + "delete": { + "tags": [ + "RegistrationDefinitions" + ], + "operationId": "RegistrationDefinitions_Delete", + "description": "Deletes the registration definition.", + "parameters": [ + { + "$ref": "#/parameters/registrationDefinitionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeParameter" + } + ], + "responses": { + "200": { + "description": "OK - The registration definition is deleted." + }, + "204": { + "description": "No Content- The registration definition does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Registration Definition": { + "$ref": "./examples/DeleteRegistrationDefinition.json" + } + } + }, + "put": { + "tags": [ + "RegistrationDefinitions" + ], + "operationId": "RegistrationDefinitions_CreateOrUpdate", + "x-ms-long-running-operation": true, + "description": "Creates or updates a registration definition.", + "parameters": [ + { + "$ref": "#/parameters/registrationDefinitionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "name": "requestBody", + "in": "body", + "required": true, + "description": "The parameters required to create new registration definition.", + "schema": { + "$ref": "#/definitions/RegistrationDefinition" + } + } + ], + "responses": { + "200": { + "description": "Ok - Returns information about the updated registration definition.", + "schema": { + "$ref": "#/definitions/RegistrationDefinition" + } + }, + "201": { + "description": "Created - Returns information about the created registration definition.", + "schema": { + "$ref": "#/definitions/RegistrationDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Registration Definition": { + "$ref": "./examples/PutRegistrationDefinition.json" + } + } + } + }, + "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}": { + "get": { + "tags": [ + "RegistrationAssignments" + ], + "operationId": "RegistrationAssignments_Get", + "description": "Gets the details of specified registration assignment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/RegistrationAssignmentIdParameter" + }, + { + "$ref": "#/parameters/ExpandRegistrationDefinition" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the registration assignment.", + "schema": { + "$ref": "#/definitions/RegistrationAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registration Assignment": { + "$ref": "./examples/GetRegistrationAssignment.json" + } + } + }, + "delete": { + "tags": [ + "RegistrationAssignments" + ], + "operationId": "RegistrationAssignments_Delete", + "x-ms-long-running-operation": true, + "description": "Deletes the specified registration assignment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/RegistrationAssignmentIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - The registration assignment is deleted." + }, + "202": { + "description": "Accepted - The registration assignment deletion operation is accepted." + }, + "204": { + "description": "No Content- The registration assignment does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Registration Assignment": { + "$ref": "./examples/DeleteRegistrationAssignment.json" + } + } + }, + "put": { + "tags": [ + "RegistrationAssignments" + ], + "operationId": "RegistrationAssignments_CreateOrUpdate", + "x-ms-long-running-operation": true, + "description": "Creates or updates a registration assignment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/RegistrationAssignmentIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "requestBody", + "in": "body", + "required": true, + "description": "The parameters required to create new registration assignment.", + "schema": { + "$ref": "#/definitions/RegistrationAssignment" + } + } + ], + "responses": { + "200": { + "description": "Ok - Returns information about the updated registration assignment.", + "schema": { + "$ref": "#/definitions/RegistrationAssignment" + } + }, + "201": { + "description": "Created - Returns information about the created registration assignment.", + "schema": { + "$ref": "#/definitions/RegistrationAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Registration Assignment": { + "$ref": "./examples/PutRegistrationAssignment.json" + } + } + } + }, + "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions": { + "get": { + "tags": [ + "RegistrationDefinitions" + ], + "operationId": "RegistrationDefinitions_List", + "description": "Gets a list of the registration definitions.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of the registration definitions.", + "schema": { + "$ref": "#/definitions/RegistrationDefinitionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Registration Definitions": { + "$ref": "./examples/GetRegistrationDefinitions.json" + } + } + } + }, + "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments": { + "get": { + "tags": [ + "RegistrationAssignments" + ], + "operationId": "RegistrationAssignments_List", + "description": "Gets a list of the registration assignments.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ExpandRegistrationDefinition" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of the registration assignments.", + "schema": { + "$ref": "#/definitions/RegistrationAssignmentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Registration Assignments": { + "$ref": "./examples/GetRegistrationAssignments.json" + } + } + } + }, + "/providers/Microsoft.ManagedServices/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of the operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registration Operations": { + "$ref": "./examples/GetOperations.json" + } + } + } + } + }, + "definitions": { + "RegistrationDefinition": { + "properties": { + "properties": { + "description": "Properties of a registration definition.", + "$ref": "#/definitions/RegistrationDefinitionProperties" + }, + "plan": { + "description": "Plan details for the managed services.", + "$ref": "#/definitions/Plan" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified path of the registration definition." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the registration definition." + } + }, + "x-ms-azure-resource": true, + "type": "object", + "description": "Registration definition." + }, + "RegistrationDefinitionProperties": { + "properties": { + "description": { + "type": "string", + "description": "Description of the registration definition." + }, + "authorizations": { + "type": "array", + "items": { + "$ref": "#/definitions/Authorization" + }, + "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role." + }, + "registrationDefinitionName": { + "type": "string", + "description": "Name of the registration definition." + }, + "managedByTenantId": { + "type": "string", + "description": "Id of the managedBy tenant." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Current state of the registration definition.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "managedByTenantName": { + "readOnly": true, + "type": "string", + "description": "Name of the managedBy tenant." + } + }, + "required": [ + "managedByTenantId", + "authorizations" + ], + "type": "object", + "description": "Properties of a registration definition." + }, + "RegistrationDefinitionList": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/RegistrationDefinition" + }, + "description": "List of registration definitions." + }, + "nextLink": { + "description": "Link to next page of registration definitions.", + "type": "string", + "readOnly": true + } + }, + "description": "List of registration definitions." + }, + "RegistrationAssignment": { + "properties": { + "properties": { + "description": "Properties of a registration assignment.", + "$ref": "#/definitions/RegistrationAssignmentProperties" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified path of the registration assignment." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the registration assignment." + } + }, + "x-ms-azure-resource": true, + "type": "object", + "description": "Registration assignment." + }, + "RegistrationAssignmentProperties": { + "properties": { + "registrationDefinitionId": { + "type": "string", + "description": "Fully qualified path of the registration definition." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Current state of the registration assignment.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "registrationDefinition": { + "readOnly": true, + "properties": { + "properties": { + "properties": { + "description": { + "type": "string", + "description": "Description of the registration definition." + }, + "authorizations": { + "type": "array", + "items": { + "$ref": "#/definitions/Authorization" + }, + "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role." + }, + "registrationDefinitionName": { + "type": "string", + "description": "Name of the registration definition." + }, + "provisioningState": { + "type": "string", + "description": "Current state of the registration definition.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "manageeTenantId": { + "type": "string", + "description": "Id of the home tenant." + }, + "manageeTenantName": { + "type": "string", + "description": "Name of the home tenant." + }, + "managedByTenantId": { + "type": "string", + "description": "Id of the managedBy tenant." + }, + "managedByTenantName": { + "type": "string", + "description": "Name of the managedBy tenant." + } + }, + "description": "Properties of registration definition inside registration assignment." + }, + "plan": { + "description": "Plan details for the managed services.", + "$ref": "#/definitions/Plan" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified path of the registration definition." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource (Microsoft.ManagedServices/registrationDefinitions)." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the registration definition." + } + }, + "type": "object", + "description": "Registration definition inside registration assignment." + } + }, + "required": [ + "registrationDefinitionId" + ], + "type": "object", + "description": "Properties of a registration assignment." + }, + "RegistrationAssignmentList": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RegistrationAssignment" + }, + "description": "List of registration assignments." + }, + "nextLink": { + "description": "Link to next page of registration assignments.", + "type": "string", + "readOnly": true + } + }, + "description": "List of registration assignments." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "The plan name." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + }, + "product": { + "type": "string", + "description": "The product code." + }, + "version": { + "type": "string", + "description": "The plan's version." + } + }, + "required": [ + "name", + "publisher", + "product", + "version" + ], + "type": "object", + "description": "Plan details for the managed services." + }, + "Operation": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "readOnly": true, + "description": "The object that represents the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft.ManagedServices" + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed: Registration definition, registration assignment etc." + }, + "operation": { + "type": "string", + "description": "Operation type: Read, write, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + } + }, + "type": "object", + "description": "Object that describes a single Microsoft.ManagedServices operation." + }, + "OperationList": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.ManagedServices operations." + } + }, + "type": "object", + "description": "List of the operations." + }, + "Authorization": { + "properties": { + "principalId": { + "type": "string", + "description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription" + }, + "roleDefinitionId": { + "type": "string", + "description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role." + } + }, + "required": [ + "principalId", + "roleDefinitionId" + ], + "type": "object", + "description": "Authorization tuple containing principal Id (of user/service principal/security group) and role definition id." + }, + "ErrorResponse": { + "properties": { + "error": { + "readOnly": true, + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + }, + "required": [ + "code", + "message" + ], + "type": "object", + "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message." + } + }, + "description": "Error response." + } + }, + "parameters": { + "ScopeParameter": { + "name": "scope", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true, + "type": "string", + "description": "Scope of the resource." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "x-ms-parameter-location": "method", + "type": "string", + "description": "The API version to use for this operation." + }, + "RegistrationAssignmentIdParameter": { + "name": "registrationAssignmentId", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "type": "string", + "description": "Guid of the registration assignment." + }, + "registrationDefinitionIdParameter": { + "name": "registrationDefinitionId", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "type": "string", + "description": "Guid of the registration definition." + }, + "ExpandRegistrationDefinition": { + "name": "$expandRegistrationDefinition", + "in": "query", + "x-ms-parameter-location": "method", + "type": "boolean", + "description": "Tells whether to return registration definition details also along with registration assignment details." + } + } +} diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md index 88855e90cd10..75fb7c43e243 100644 --- a/specification/managedservices/resource-manager/readme.md +++ b/specification/managedservices/resource-manager/readme.md @@ -4,10 +4,10 @@ This is the AutoRest configuration file for Managed Services. - - --- + ## Getting Started + To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -15,20 +15,29 @@ To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/a To see additional help and options, run: > `autorest --help` + --- ## Configuration - - ### Basic Information + These are the global settings for the ManagedServices API. ``` yaml openapi-type: arm -tag: package-2019-04-preview +tag: package-2019-06 ``` + +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.ManagedServices/stable/2019-06-01/managedservices.json +``` ### Tag: package-2019-04-preview These settings apply only when `--tag=package-2019-04-preview` is specified on the command line. @@ -48,8 +57,8 @@ input-file: ``` --- -# Code Generation +# Code Generation ## Swagger to SDK @@ -68,7 +77,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_billing'] ``` - ## C# These settings apply only when `--csharp` is specified on the command line. @@ -85,4 +93,4 @@ csharp: ## Go -See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) From 724c8cc36785a0a34d0ba5b6a48d1d7855be5ffb Mon Sep 17 00:00:00 2001 From: Ajit Navasare Date: Sun, 23 Jun 2019 18:47:43 -0700 Subject: [PATCH 127/495] Eventhub: fixed typo in 2015 API version swagger (#6407) * fixed typo in 2015 API version swagger * removed the suppression --- cSpell.json | 6 ------ .../Microsoft.EventHub/stable/2015-08-01/EventHub.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cSpell.json b/cSpell.json index 0449342c92e0..5f81eefce4f6 100644 --- a/cSpell.json +++ b/cSpell.json @@ -402,12 +402,6 @@ "Availabilily" ] }, - { - "filename": "**/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json", - "words": [ - "Postt" - ] - }, { "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json", "words": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json index cf1f9218496d..c9c13c235a16 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json @@ -920,7 +920,7 @@ "tags": [ "EventHubs" ], - "operationId": "EventHubs_PosttAuthorizationRule", + "operationId": "EventHubs_PostAuthorizationRule", "x-ms-examples": { "EventHubAuthorizationRuleGet": { "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" From d28b9f3f08f318b4f4f0165623c0ebd403d91ca6 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 11:26:56 -0400 Subject: [PATCH 128/495] typo: notificationhubs (#6420) Stuck together list of region names --- .../stable/2014-09-01/notificationhubs.json | 2 +- .../stable/2016-03-01/notificationhubs.json | 2 +- .../stable/2017-04-01/notificationhubs.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json index 576988c34dbd..6c4d4957efa0 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json @@ -1180,7 +1180,7 @@ "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx" }, "type": "string", - "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia EastAustralia SoutheastCentral USEast USEast US 2West USNorth Central USSouth Central USEast AsiaSoutheast AsiaBrazil SouthJapan EastJapan WestNorth EuropeWest Europe" + "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe" }, "status": { "externalDocs": { diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2016-03-01/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2016-03-01/notificationhubs.json index 3d5ecb386502..2e98547125cc 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2016-03-01/notificationhubs.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2016-03-01/notificationhubs.json @@ -1316,7 +1316,7 @@ "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx" }, "type": "string", - "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia EastAustralia SoutheastCentral USEast USEast US 2West USNorth Central USSouth Central USEast AsiaSoutheast AsiaBrazil SouthJapan EastJapan WestNorth EuropeWest Europe" + "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe" }, "status": { "externalDocs": { diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json index 2236a73aff12..b80cda4121ea 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json @@ -1625,7 +1625,7 @@ "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx" }, "type": "string", - "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia EastAustralia SoutheastCentral USEast USEast US 2West USNorth Central USSouth Central USEast AsiaSoutheast AsiaBrazil SouthJapan EastJapan WestNorth EuropeWest Europe" + "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe" }, "metricId": { "readOnly": true, From 2553a701b8d7d2c0ac70ffbde90807ffa86001a9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 11:38:07 -0400 Subject: [PATCH 129/495] typo: CDN (#6417) Double word "use" --- .../Microsoft.Cdn/preview/2019-06-15-preview/cdn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json index f5137d463e36..3080deedf48a 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json @@ -3228,7 +3228,7 @@ "type": "string" }, "customHostname": { - "description": "Host to redirect. Leave empty to use use the incoming host as the destination host.", + "description": "Host to redirect. Leave empty to use the incoming host as the destination host.", "type": "string" }, "customQueryString": { From 8f2e7ec4ef1bc91636956ae1588f1d6721b8c51f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 12:18:30 -0400 Subject: [PATCH 130/495] chore: jsonfmt imds (#6416) * typo: IMDS * chore: jsonfmt imds Ran `jsonfmt -w specification/imds/**/*.json` --- .../2019-02-01/examples/GetAttestedData.json | 24 +- .../2019-02-01/examples/GetIdentityInfo.json | 20 +- .../2019-02-01/examples/GetIdentityToken.json | 34 +- .../examples/GetInstanceMetadata.json | 86 +- .../stable/2019-02-01/imds.json | 1188 +++++------ .../2019-03-11/examples/GetAttestedData.json | 26 +- .../2019-03-11/examples/GetIdentityInfo.json | 22 +- .../2019-03-11/examples/GetIdentityToken.json | 36 +- .../examples/GetInstanceMetadata.json | 88 +- .../stable/2019-03-11/imds.json | 1196 +++++------ .../2019-06-01/examples/GetAttestedData.json | 26 +- .../examples/GetGalleryApplication.json | 6 +- .../2019-06-01/examples/GetIdentityInfo.json | 22 +- .../2019-06-01/examples/GetIdentityToken.json | 36 +- .../examples/GetInstanceMetadata.json | 188 +- .../examples/ListGalleryApplications.json | 3 +- .../stable/2019-06-01/imds.json | 1802 ++++++++--------- 17 files changed, 2402 insertions(+), 2401 deletions(-) diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json index 597d9e79b9d7..3b15168f97e4 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-02-01", - "nonce": "abcde12345", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "encoding": "pkcs7", - "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" - } - } + "parameters": { + "api-version": "2019-02-01", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json index 7fd6121556fb..7d0e667f65c1 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-02-01", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" - } - } + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json index a5cd62828a19..ce910c826abd 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-02-01", - "Metadata": "true", - "resource": "https://vault.azure.net" - }, - "responses": { - "200": { - "body": { - "access_token": "dummytoken", - "client_id": "be5947ed-3560-4afe-9504-59967a63f810", - "expires_in": "3599", - "expires_on": "1541705014", - "ext_expires_in": "262800", - "not_before": "1508961830", - "resource": "https://va" - } - } + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json index 243881799100..a32b1daecdac 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json @@ -1,48 +1,48 @@ { - "parameters": { - "api-version": "2019-02-01", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "customData": "TXkgY3VzdG9tIGRhdGEu", - "location": "westus", - "name": "examplevmname", - "offer": "Windows", - "osType": "linux", - "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", - "plan": { - "name": "planName", - "product": "planProduct", - "publisher": "planPublisher" - }, - "platformFaultDomain": "36", - "platformUpdateDomain": "42", - "publicKeys": [ - { - "keyData": "ssh-rsa 0", - "path": "/home/user/.ssh/authorized_keys0" - }, - { - "keyData": "ssh-rsa 1", - "path": "/home/user/.ssh/authorized_keys1" - } - ], - "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", - "resourceGroupName": "macikgo-test-may-23", - "sku": "Windows-Server-2012-R2-Datacenter", - "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", - "tags": "baz:bash;foo:bar", - "version": "15.05.22", - "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", - "vmScaleSetName": "crpteste9vflji9", - "vmSize": "Standard_A3", - "zone": "" - } + "parameters": { + "api-version": "2019-02-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" } + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json index 99d3fb3418e3..90dd72ef448d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json @@ -1,625 +1,625 @@ -{ - "swagger": "2.0", - "info": { - "title": "InstanceMetadataClient", - "description": "The Azure Instance Metadata Client", - "version": "2019-02-01" - }, - "host": "169.254.169.254", - "basePath": "/metadata", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-02-01" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } } + } }, - "paths": { - "/instance": { - "get": { - "operationId": "Instances_GetMetadata", - "description": "Get Instance Metadata for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Instance" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Instance Metadata for the VM": { - "$ref": "./examples/GetInstanceMetadata.json" - } - } + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" } - }, - "/attested/document": { - "get": { - "operationId": "Attested_GetDocument", - "description": "Get Attested Data for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "nonce", - "in": "query", - "required": false, - "type": "string", - "description": "This is a string of up to 32 random alphanumeric characters." - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestedData" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Attested Data for the VM": { - "$ref": "./examples/GetAttestedData.json" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/identity/oauth2/token": { - "get": { - "tags": [ - "Get token" - ], - "description": "Get a Token from Azure AD", - "operationId": "Identity_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "resource", - "in": "query", - "type": "string", - "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", - "required": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "client_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", - "required": false - }, - { - "name": "object_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", - "required": false - }, - { - "name": "msi_res_id", - "in": "query", - "type": "string", - "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", - "required": false - }, - { - "name": "authority", - "in": "query", - "type": "string", - "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", - "required": false - }, - { - "name": "bypass_cache", - "in": "query", - "type": "string", - "enum": [ - "true" - ], - "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", - "required": false, - "x-ms-enum": { - "name": "BypassCache", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityTokenResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Token for the VM": { - "$ref": "./examples/GetIdentityToken.json" - } - } + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true } - }, - "/identity/info": { - "get": { - "tags": [ - "Get metadata information" - ], - "description": "Get information about AAD Metadata", - "operationId": "Identity_GetInfo", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityInfoResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Info for the VM": { - "$ref": "./examples/GetIdentityInfo.json" - } - } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } } + } }, - "definitions": { - "Compute": { - "type": "object", - "properties": { - "azEnvironment": { - "type": "string", - "description": "This is the name of the environment in which the VM is running." - }, - "customData": { - "type": "string", - "description": "This is the base64 encoded custom data for the running VM." - }, - "location": { - "type": "string", - "description": "This is the Azure Region in which the VM is running." - }, - "name": { - "type": "string", - "description": "This is the name of the VM." - }, - "offer": { - "type": "string", - "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." - }, - "osType": { - "type": "string", - "description": "This value indicates the type of OS the VM is running, either Linux or Windows." - }, - "placementGroupId": { - "type": "string", - "description": "This is the placement group of your Virtual Machine Scale Set." - }, - "plan": { - "type": "object", - "description": "This contains the data about the plan.", - "$ref": "#/definitions/PlanProperties" - }, - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicKeysProperties" - }, - "description": "This is information about the SSH certificate" - }, - "platformFaultDomain": { - "type": "string", - "description": "This is the fault domain in which the VM." - }, - "platformUpdateDomain": { - "type": "string", - "description": "This is the update domain in which the VM." - }, - "provider": { - "type": "string", - "description": "This is the provider of the VM." - }, - "publisher": { - "type": "string", - "description": "This is the publisher of the VM image." - }, - "resourceGroupName": { - "type": "string", - "description": "This is the resource group for the VM." - }, - "sku": { - "type": "string", - "description": "This is the specific SKU for the VM image." - }, - "subscriptionId": { - "type": "string", - "description": "This is the Azure subscription for the VM." - }, - "tags": { - "type": "string", - "description": "This is the list of tags for your VM." - }, - "version": { - "type": "string", - "description": "This is the version of the VM image." - }, - "vmId": { - "type": "string", - "description": "This is the unique identifier for the VM." - }, - "vmScaleSetName": { - "type": "string", - "description": "This is the resource name of the VMSS." - }, - "vmSize": { - "type": "string", - "description": "This is the size of the VM." - }, - "zone": { - "type":"string", - "description":"This is the availability zone of the VM." - } - }, - "description": "Compute Metadata" - }, - "Network": { - "type": "object", - "properties": { - "interface": { - "type":"array", - "description": "This contains data about the network interface.", - "items": { - "type": "object", - "$ref": "#/definitions/NetworkInterface" - } - } - }, - "description": "Network Metadata" - }, - "NetworkInterface": { - "type": "object", - "description": "This contains data about the network interface.", - "properties": { - "ipv4": { - "type":"object", - "description": "This contains the IPv4 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv4 properties.", - "$ref":"#/definitions/Ipv4Properties" - } - }, - "subnet": { - "type":"array", - "description": "This is the subnet", - "items": { - "type": "object", - "description": "This contains the subnet properties.", - "$ref": "#/definitions/SubnetProperties" - } - } - } - }, - "ipv6": { - "type":"object", - "description": "This contains the IPv6 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv6 properties.", - "$ref":"#/definitions/Ipv6Properties" - } - } - } - }, - "macAddress": { - "type":"string", - "description":"This is the MAC address of the interface." - } + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" } - }, - "PlanProperties": { - "type": "object", - "description": "This contains the data about the plan.", - "properties": { - "name": { - "type": "string", - "description": "This is the Plan ID." - }, - "publisher": { - "type": "string", - "description": "This is the publisher ID." - }, - "product": { - "type": "string", - "description": "This is the product of the image from the Marketplace." - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } }, - "PublicKeysProperties": { - "type": "object", - "description": "This contains the data about the public key.", - "properties": { - "path": { - "type": "string", - "description": "This specifies the full path on the VM where the SSH public key is stored." - }, - "keyData": { - "type": "string", - "description": "This is the SSH public key certificate used to authenticate with the VM." - } - } + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." }, - "Ipv4Properties": { - "type": "object", - "description": "This contains the IPv4 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IP address assigned to the interface." - }, - "publicIpAddress": { - "type":"string", - "description":"This is the public IP address assigned to the interface." - } - } + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." }, - "Ipv6Properties": { - "type": "object", - "description": "This contains the IPv6 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IPv6 address assigned to the interface." - } - } + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." }, - "SubnetProperties": { - "type": "object", - "description": "This contains the properties of the subnet.", - "properties": { - "address": { - "type":"string", - "description":"This is the address range of the subnet." - }, - "prefix": { - "type":"string", - "description":"This is the prefix of the subnet." - } - } + "name": { + "type": "string", + "description": "This is the name of the VM." }, - "Instance": { - "type": "object", - "description": "This is the response from the Instance_GetMetadata operation.", - "properties": { - "compute": { - "$ref": "#/definitions/Compute", - "description": "Compute Metadata" - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network Metadata" - } - } + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." }, - "AttestedData": { - "type": "object", - "description": "This is the response from the Attested_GetDocument operation.", - "properties": { - "signature": { - "type": "string", - "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." - }, - "encoding": { - "type": "string", - "description": "This is the encoding scheme of the signature." - } - } + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." }, - "ErrorResponse": { - "description": "This is the response from an operation in the case an error occurs.", - "type": "object", - "properties": { - "error": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." }, - "IdentityErrorResponse": { + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type": "string", + "description": "This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type": "array", + "description": "This contains data about the network interface.", + "items": { "type": "object", - "description": "This is the response from an Identity operation in the case an error occurs.", - "properties": { - "error": { - "type": "string", - "description": "Error code", - "enum": [ - "invalid_request", - "unauthorized_client", - "access_denied", - "unsupported_response_type", - "invalid_scope", - "server_error", - "service_unavailable", - "bad_request", - "forbidden", - "not_found", - "method_not_allowed", - "too_many_requests" - ], - "x-ms-enum": { - "name": "Error", - "modelAsString": true - } - }, - "error_description": { - "type": "string", - "description": "Error message indicating why the operation failed." - } + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type": "object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref": "#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type": "array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } } + } }, - "IdentityTokenResponse": { - "type": "object", - "description": "This is the response from the Identity_GetToken operation.", - "properties": { - "access_token": { - "type": "string", - "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." - }, - "expires_in": { - "type": "string", - "description": "This is how long the access token is valid (in seconds)." - }, - "expires_on": { - "type": "string", - "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." - }, - "ext_expires_in": { - "type": "string", - "description": "This indicates the extended lifetime of the token (in seconds)." - }, - "not_before": { - "type": "string", - "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." - }, - "resource": { - "type": "string", - "description": "This is the app ID URI of the sink resource." - }, - "token_type": { - "type": "string", - "description": "This indicates the token type value." - }, - "client_id": { - "type": "string", - "description": "This is the client_id specified in the request, if any." - }, - "object_id": { - "type": "string", - "description": "This is the object_id specified in the request, if any." - }, - "msi_res_id": { - "type": "string", - "description": "This is the msi_res_id specified in the request, if any." - } + "ipv6": { + "type": "object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref": "#/definitions/Ipv6Properties" + } } + } }, - "IdentityInfoResponse": { - "type": "object", - "description": "This is the response from the Identity_GetInfo operation.", - "properties": { - "tenantId": { - "type": "string", - "description": "This is the AAD tenantId of the identity of the caller." - } - } + "macAddress": { + "type": "string", + "description": "This is the MAC address of the interface." } + } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "type": "string", - "enum": [ - "2018-10-01" - ], - "description": "This is the API version to use.", - "required": true, - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." }, - "MetadataParameter": { - "name": "Metadata", - "in": "header", - "type": "string", - "enum": [ - "true" - ], - "description": "This must be set to 'true'.", - "required": true, - "x-ms-parameter-location": "method" + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type": "string", + "description": "This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type": "string", + "description": "This is the address range of the subnet." + }, + "prefix": { + "type": "string", + "description": "This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json index 2e082d30492b..36e3818f7480 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-03-11", - "nonce": "abcde12345", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "encoding": "pkcs7", - "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" - } - } + "parameters": { + "api-version": "2019-03-11", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json index b56684ee5d5a..048e49b1e32d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-03-11", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" - } - } + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json index ec9675f9af06..dbf77249f7f7 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-03-11", - "Metadata": "true", - "resource": "https://vault.azure.net" - }, - "responses": { - "200": { - "body": { - "access_token": "dummytoken", - "client_id": "be5947ed-3560-4afe-9504-59967a63f810", - "expires_in": "3599", - "expires_on": "1541705014", - "ext_expires_in": "262800", - "not_before": "1508961830", - "resource": "https://va" - } - } + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json index 0c71578aea36..38759b72e88f 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json @@ -1,49 +1,49 @@ { - "parameters": { - "api-version": "2019-03-11", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "customData": "TXkgY3VzdG9tIGRhdGEu", - "location": "westus", - "name": "examplevmname", - "offer": "Windows", - "osType": "linux", - "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", - "plan": { - "name": "planName", - "product": "planProduct", - "publisher": "planPublisher" - }, - "platformFaultDomain": "36", - "platformUpdateDomain": "42", - "publicKeys": [ - { - "keyData": "ssh-rsa 0", - "path": "/home/user/.ssh/authorized_keys0" - }, - { - "keyData": "ssh-rsa 1", - "path": "/home/user/.ssh/authorized_keys1" - } - ], - "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", - "resourceGroupName": "macikgo-test-may-23", - "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", - "sku": "Windows-Server-2012-R2-Datacenter", - "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", - "tags": "baz:bash;foo:bar", - "version": "15.05.22", - "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", - "vmScaleSetName": "crpteste9vflji9", - "vmSize": "Standard_A3", - "zone": "" - } + "parameters": { + "api-version": "2019-03-11", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" } + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json index 5a3793bc1f8f..3373177fe43a 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json @@ -1,629 +1,629 @@ -{ - "swagger": "2.0", - "info": { - "title": "InstanceMetadataClient", - "description": "The Azure Instance Metadata Client", - "version": "2019-03-11" - }, - "host": "169.254.169.254", - "basePath": "/metadata", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-03-11" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } } + } }, - "paths": { - "/instance": { - "get": { - "operationId": "Instances_GetMetadata", - "description": "Get Instance Metadata for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Instance" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Instance Metadata for the VM": { - "$ref": "./examples/GetInstanceMetadata.json" - } - } + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" } - }, - "/attested/document": { - "get": { - "operationId": "Attested_GetDocument", - "description": "Get Attested Data for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "nonce", - "in": "query", - "required": false, - "type": "string", - "description": "This is a string of up to 32 random alphanumeric characters." - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestedData" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Attested Data for the VM": { - "$ref": "./examples/GetAttestedData.json" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/identity/oauth2/token": { - "get": { - "tags": [ - "Get token" - ], - "description": "Get a Token from Azure AD", - "operationId": "Identity_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "resource", - "in": "query", - "type": "string", - "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", - "required": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "client_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", - "required": false - }, - { - "name": "object_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", - "required": false - }, - { - "name": "msi_res_id", - "in": "query", - "type": "string", - "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", - "required": false - }, - { - "name": "authority", - "in": "query", - "type": "string", - "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", - "required": false - }, - { - "name": "bypass_cache", - "in": "query", - "type": "string", - "enum": [ - "true" - ], - "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", - "required": false, - "x-ms-enum": { - "name": "BypassCache", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityTokenResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Token for the VM": { - "$ref": "./examples/GetIdentityToken.json" - } - } + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true } - }, - "/identity/info": { - "get": { - "tags": [ - "Get metadata information" - ], - "description": "Get information about AAD Metadata", - "operationId": "Identity_GetInfo", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityInfoResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Info for the VM": { - "$ref": "./examples/GetIdentityInfo.json" - } - } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } } + } }, - "definitions": { - "Compute": { - "type": "object", - "properties": { - "azEnvironment": { - "type": "string", - "description": "This is the name of the environment in which the VM is running." - }, - "customData": { - "type": "string", - "description": "This is the base64 encoded custom data for the running VM." - }, - "location": { - "type": "string", - "description": "This is the Azure Region in which the VM is running." - }, - "name": { - "type": "string", - "description": "This is the name of the VM." - }, - "offer": { - "type": "string", - "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." - }, - "osType": { - "type": "string", - "description": "This value indicates the type of OS the VM is running, either Linux or Windows." - }, - "placementGroupId": { - "type": "string", - "description": "This is the placement group of your Virtual Machine Scale Set." - }, - "plan": { - "type": "object", - "description": "This contains the data about the plan.", - "$ref": "#/definitions/PlanProperties" - }, - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicKeysProperties" - }, - "description": "This is information about the SSH certificate" - }, - "platformFaultDomain": { - "type": "string", - "description": "This is the fault domain in which the VM." - }, - "platformUpdateDomain": { - "type": "string", - "description": "This is the update domain in which the VM." - }, - "provider": { - "type": "string", - "description": "This is the provider of the VM." - }, - "publisher": { - "type": "string", - "description": "This is the publisher of the VM image." - }, - "resourceGroupName": { - "type": "string", - "description": "This is the resource group for the VM." - }, - "resourceId": { - "type": "string", - "description": "This is the fully qualified ID for the VM." - }, - "sku": { - "type": "string", - "description": "This is the specific SKU for the VM image." - }, - "subscriptionId": { - "type": "string", - "description": "This is the Azure subscription for the VM." - }, - "tags": { - "type": "string", - "description": "This is the list of tags for your VM." - }, - "version": { - "type": "string", - "description": "This is the version of the VM image." - }, - "vmId": { - "type": "string", - "description": "This is the unique identifier for the VM." - }, - "vmScaleSetName": { - "type": "string", - "description": "This is the resource name of the VMSS." - }, - "vmSize": { - "type": "string", - "description": "This is the size of the VM." - }, - "zone": { - "type":"string", - "description":"This is the availability zone of the VM." - } - }, - "description": "Compute Metadata" - }, - "Network": { - "type": "object", - "properties": { - "interface": { - "type":"array", - "description": "This contains data about the network interface.", - "items": { - "type": "object", - "$ref": "#/definitions/NetworkInterface" - } - } - }, - "description": "Network Metadata" - }, - "NetworkInterface": { - "type": "object", - "description": "This contains data about the network interface.", - "properties": { - "ipv4": { - "type":"object", - "description": "This contains the IPv4 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv4 properties.", - "$ref":"#/definitions/Ipv4Properties" - } - }, - "subnet": { - "type":"array", - "description": "This is the subnet", - "items": { - "type": "object", - "description": "This contains the subnet properties.", - "$ref": "#/definitions/SubnetProperties" - } - } - } - }, - "ipv6": { - "type":"object", - "description": "This contains the IPv6 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv6 properties.", - "$ref":"#/definitions/Ipv6Properties" - } - } - } - }, - "macAddress": { - "type":"string", - "description":"This is the MAC address of the interface." - } + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" } - }, - "PlanProperties": { - "type": "object", - "description": "This contains the data about the plan.", - "properties": { - "name": { - "type": "string", - "description": "This is the Plan ID." - }, - "publisher": { - "type": "string", - "description": "This is the publisher ID." - }, - "product": { - "type": "string", - "description": "This is the product of the image from the Marketplace." - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } }, - "PublicKeysProperties": { - "type": "object", - "description": "This contains the data about the public key.", - "properties": { - "path": { - "type": "string", - "description": "This specifies the full path on the VM where the SSH public key is stored." - }, - "keyData": { - "type": "string", - "description": "This is the SSH public key certificate used to authenticate with the VM." - } - } + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." }, - "Ipv4Properties": { - "type": "object", - "description": "This contains the IPv4 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IP address assigned to the interface." - }, - "publicIpAddress": { - "type":"string", - "description":"This is the public IP address assigned to the interface." - } - } + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." }, - "Ipv6Properties": { - "type": "object", - "description": "This contains the IPv6 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IPv6 address assigned to the interface." - } - } + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." }, - "SubnetProperties": { - "type": "object", - "description": "This contains the properties of the subnet.", - "properties": { - "address": { - "type":"string", - "description":"This is the address range of the subnet." - }, - "prefix": { - "type":"string", - "description":"This is the prefix of the subnet." - } - } + "name": { + "type": "string", + "description": "This is the name of the VM." }, - "Instance": { - "type": "object", - "description": "This is the response from the Instance_GetMetadata operation.", - "properties": { - "compute": { - "$ref": "#/definitions/Compute", - "description": "Compute Metadata" - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network Metadata" - } - } + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." }, - "AttestedData": { - "type": "object", - "description": "This is the response from the Attested_GetDocument operation.", - "properties": { - "signature": { - "type": "string", - "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." - }, - "encoding": { - "type": "string", - "description": "This is the encoding scheme of the signature." - } - } + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." }, - "ErrorResponse": { - "description": "This is the response from an operation in the case an error occurs.", - "type": "object", - "properties": { - "error": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." }, - "IdentityErrorResponse": { + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type": "string", + "description": "This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type": "array", + "description": "This contains data about the network interface.", + "items": { "type": "object", - "description": "This is the response from an Identity operation in the case an error occurs.", - "properties": { - "error": { - "type": "string", - "description": "Error code", - "enum": [ - "invalid_request", - "unauthorized_client", - "access_denied", - "unsupported_response_type", - "invalid_scope", - "server_error", - "service_unavailable", - "bad_request", - "forbidden", - "not_found", - "method_not_allowed", - "too_many_requests" - ], - "x-ms-enum": { - "name": "Error", - "modelAsString": true - } - }, - "error_description": { - "type": "string", - "description": "Error message indicating why the operation failed." - } + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type": "object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref": "#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type": "array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } } + } }, - "IdentityTokenResponse": { - "type": "object", - "description": "This is the response from the Identity_GetToken operation.", - "properties": { - "access_token": { - "type": "string", - "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." - }, - "expires_in": { - "type": "string", - "description": "This is how long the access token is valid (in seconds)." - }, - "expires_on": { - "type": "string", - "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." - }, - "ext_expires_in": { - "type": "string", - "description": "This indicates the extended lifetime of the token (in seconds)." - }, - "not_before": { - "type": "string", - "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." - }, - "resource": { - "type": "string", - "description": "This is the app ID URI of the sink resource." - }, - "token_type": { - "type": "string", - "description": "This indicates the token type value." - }, - "client_id": { - "type": "string", - "description": "This is the client_id specified in the request, if any." - }, - "object_id": { - "type": "string", - "description": "This is the object_id specified in the request, if any." - }, - "msi_res_id": { - "type": "string", - "description": "This is the msi_res_id specified in the request, if any." - } + "ipv6": { + "type": "object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref": "#/definitions/Ipv6Properties" + } } + } }, - "IdentityInfoResponse": { - "type": "object", - "description": "This is the response from the Identity_GetInfo operation.", - "properties": { - "tenantId": { - "type": "string", - "description": "This is the AAD tenantId of the identity of the caller." - } - } + "macAddress": { + "type": "string", + "description": "This is the MAC address of the interface." } + } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "type": "string", - "enum": [ - "2018-10-01" - ], - "description": "This is the API version to use.", - "required": true, - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." }, - "MetadataParameter": { - "name": "Metadata", - "in": "header", - "type": "string", - "enum": [ - "true" - ], - "description": "This must be set to 'true'.", - "required": true, - "x-ms-parameter-location": "method" + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type": "string", + "description": "This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type": "string", + "description": "This is the address range of the subnet." + }, + "prefix": { + "type": "string", + "description": "This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json index a9f823b2ea49..7d05c49f745b 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-06-01", - "nonce": "abcde12345", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "encoding": "pkcs7", - "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" - } - } + "parameters": { + "api-version": "2019-06-01", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json index 7b1df3bd36b2..c024f176b44a 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json @@ -5,8 +5,8 @@ "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd" }, "responses": { - "200": { - "body": "{application binary package}" - } + "200": { + "body": "{application binary package}" } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json index 8d537551fdb4..cac60ad51eb9 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-06-01", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" - } - } + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json index ef14f423756f..da14b3f93c6c 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-06-01", - "Metadata": "true", - "resource": "https://vault.azure.net" - }, - "responses": { - "200": { - "body": { - "access_token": "dummytoken", - "client_id": "be5947ed-3560-4afe-9504-59967a63f810", - "expires_in": "3599", - "expires_on": "1541705014", - "ext_expires_in": "262800", - "not_before": "1508961830", - "resource": "https://va" - } - } + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json index 5ae40dcfe56b..ff0e2b31a7f7 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json @@ -1,98 +1,98 @@ { - "parameters": { - "api-version": "2019-06-01", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "compute": { - "azEnvironment": "AZUREPUBLICCLOUD", - "location": "westus", - "name": "examplevmname", - "offer": "Windows", - "osType": "linux", - "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", - "plan": { - "name": "planName", - "product": "planProduct", - "publisher": "planPublisher" - }, - "platformFaultDomain": "36", - "platformUpdateDomain": "42", - "publicKeys": [ - { - "keyData": "ssh-rsa 0", - "path": "/home/user/.ssh/authorized_keys0" - }, - { - "keyData": "ssh-rsa 1", - "path": "/home/user/.ssh/authorized_keys1" - } - ], - "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", - "resourceGroupName": "macikgo-test-may-23", - "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", - "sku": "Windows-Server-2012-R2-Datacenter", - "storageProfile": { - "dataDisks": [ - { - "caching": "None", - "createOption": "Empty", - "diskSizeGB": "1024", - "image": { - "uri": "" - }, - "lun": "0", - "managedDisk": { - "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname", - "storageAccountType": "Standard_LRS" - }, - "name": "exampledatadiskname", - "vhd": { - "uri": "" - }, - "writeAcceleratorEnabled": "false" - } - ], - "imageReference": { - "id": "", - "offer": "UbuntuServer", - "publisher": "Canonical", - "sku": "16.04.0-LTS", - "version": "latest" - }, - "osDisk": { - "caching": "ReadWrite", - "createOption": "FromImage", - "diskSizeGB": "30", - "encryptionSettings": { - "enabled": "false" - }, - "image": { - "uri": "" - }, - "managedDisk": { - "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname", - "storageAccountType": "Standard_LRS" - }, - "name": "exampleosdiskname", - "osType": "Linux", - "vhd": { - "uri": "" - }, - "writeAcceleratorEnabled": "false" - } - }, - "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", - "tags": "baz:bash;foo:bar", - "version": "15.05.22", - "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", - "vmScaleSetName": "crpteste9vflji9", - "vmSize": "Standard_A3", - "zone": "" - } + "parameters": { + "api-version": "2019-06-01", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AZUREPUBLICCLOUD", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "storageProfile": { + "dataDisks": [ + { + "caching": "None", + "createOption": "Empty", + "diskSizeGB": "1024", + "image": { + "uri": "" + }, + "lun": "0", + "managedDisk": { + "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname", + "storageAccountType": "Standard_LRS" + }, + "name": "exampledatadiskname", + "vhd": { + "uri": "" + }, + "writeAcceleratorEnabled": "false" + } + ], + "imageReference": { + "id": "", + "offer": "UbuntuServer", + "publisher": "Canonical", + "sku": "16.04.0-LTS", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "diskSizeGB": "30", + "encryptionSettings": { + "enabled": "false" + }, + "image": { + "uri": "" + }, + "managedDisk": { + "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname", + "storageAccountType": "Standard_LRS" + }, + "name": "exampleosdiskname", + "osType": "Linux", + "vhd": { + "uri": "" + }, + "writeAcceleratorEnabled": "false" + } + }, + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" } + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json index 07f249760571..ba6b9ddc0240 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json @@ -6,7 +6,8 @@ "responses": { "200": { "body": { - "applications": [{ + "applications": [ + { "tags": "0", "enableHealthCheck": true, "packageFile": { diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json index 8c8f8d8ea130..e92d7dc35f7a 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json @@ -1,952 +1,952 @@ -{ - "swagger": "2.0", - "info": { - "title": "InstanceMetadataClient", - "description": "The Azure Instance Metadata Client", - "version": "2019-06-01" - }, - "host": "169.254.169.254", - "basePath": "/metadata", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-06-01" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/applications": { + "get": { + "operationId": "GalleryApplications_List", + "description": "Get list of the gallery applications.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplications" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "Get list of the gallery applications": { + "$ref": "./examples/ListGalleryApplications.json" + } } + } }, - "paths": { - "/applications": { - "get": { - "operationId": "GalleryApplications_List", - "description": "Get list of the gallery applications.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplications" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get list of the gallery applications": { - "$ref": "./examples/ListGalleryApplications.json" - } - } + "/applications/app": { + "get": { + "operationId": "GalleryApplication_Get", + "description": "Get application package.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "incarnationId", + "in": "query", + "required": true, + "type": "string", + "description": "Incarnation Id of the gallery application" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplicationResponse" } - }, - "/applications/app": { - "get": { - "operationId": "GalleryApplication_Get", - "description": "Get application package.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "incarnationId", - "in": "query", - "required": true, - "type": "string", - "description": "Incarnation Id of the gallery application" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApplicationResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get gallery application package": { - "$ref": "./examples/GetGalleryApplication.json" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/instance": { - "get": { - "operationId": "Instances_GetMetadata", - "description": "Get Instance Metadata for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Instance" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Instance Metadata for the VM": { - "$ref": "./examples/GetInstanceMetadata.json" - } - } + "x-ms-examples": { + "Get gallery application package": { + "$ref": "./examples/GetGalleryApplication.json" + } + } + } + }, + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } }, - "/attested/document": { - "get": { - "operationId": "Attested_GetDocument", - "description": "Get Attested Data for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "nonce", - "in": "query", - "required": false, - "type": "string", - "description": "This is a string of up to 32 random alphanumeric characters." - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestedData" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Attested Data for the VM": { - "$ref": "./examples/GetAttestedData.json" - } - } + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } + } + } + }, + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/identity/oauth2/token": { - "get": { - "tags": [ - "Get token" - ], - "description": "Get a Token from Azure AD", - "operationId": "Identity_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "resource", - "in": "query", - "type": "string", - "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", - "required": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "client_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", - "required": false - }, - { - "name": "object_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", - "required": false - }, - { - "name": "msi_res_id", - "in": "query", - "type": "string", - "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", - "required": false - }, - { - "name": "authority", - "in": "query", - "type": "string", - "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", - "required": false - }, - { - "name": "bypass_cache", - "in": "query", - "type": "string", - "enum": [ - "true" - ], - "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", - "required": false, - "x-ms-enum": { - "name": "BypassCache", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityTokenResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Token for the VM": { - "$ref": "./examples/GetIdentityToken.json" - } - } + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } }, - "/identity/info": { - "get": { - "tags": [ - "Get metadata information" - ], - "description": "Get information about AAD Metadata", - "operationId": "Identity_GetInfo", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityInfoResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Info for the VM": { - "$ref": "./examples/GetIdentityInfo.json" - } - } + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } + } + } + }, + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." + }, + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." + }, + "name": { + "type": "string", + "description": "This is the name of the VM." + }, + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." + }, + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." + }, + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." + }, + "storageProfile": { + "type": "object", + "description": "This contains the data about the storage disks associated with the VM.", + "$ref": "#/definitions/StorageProfile" + }, + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type": "string", + "description": "This is the availability zone of the VM." } + }, + "description": "Compute Metadata" }, - "definitions": { - "Compute": { - "type": "object", - "properties": { - "azEnvironment": { - "type": "string", - "description": "This is the name of the environment in which the VM is running." - }, - "location": { - "type": "string", - "description": "This is the Azure Region in which the VM is running." - }, - "name": { - "type": "string", - "description": "This is the name of the VM." - }, - "offer": { - "type": "string", - "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." - }, - "osType": { - "type": "string", - "description": "This value indicates the type of OS the VM is running, either Linux or Windows." - }, - "placementGroupId": { - "type": "string", - "description": "This is the placement group of your Virtual Machine Scale Set." - }, - "plan": { - "type": "object", - "description": "This contains the data about the plan.", - "$ref": "#/definitions/PlanProperties" - }, - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicKeysProperties" - }, - "description": "This is information about the SSH certificate" - }, - "platformFaultDomain": { - "type": "string", - "description": "This is the fault domain in which the VM." - }, - "platformUpdateDomain": { - "type": "string", - "description": "This is the update domain in which the VM." - }, - "provider": { - "type": "string", - "description": "This is the provider of the VM." - }, - "publisher": { - "type": "string", - "description": "This is the publisher of the VM image." - }, - "resourceGroupName": { - "type": "string", - "description": "This is the resource group for the VM." - }, - "resourceId": { - "type": "string", - "description": "This is the fully qualified ID for the VM." - }, - "sku": { - "type": "string", - "description": "This is the specific SKU for the VM image." - }, - "storageProfile": { - "type": "object", - "description": "This contains the data about the storage disks associated with the VM.", - "$ref": "#/definitions/StorageProfile" - }, - "subscriptionId": { - "type": "string", - "description": "This is the Azure subscription for the VM." - }, - "tags": { - "type": "string", - "description": "This is the list of tags for your VM." - }, - "version": { - "type": "string", - "description": "This is the version of the VM image." - }, - "vmId": { - "type": "string", - "description": "This is the unique identifier for the VM." - }, - "vmScaleSetName": { - "type": "string", - "description": "This is the resource name of the VMSS." - }, - "vmSize": { - "type": "string", - "description": "This is the size of the VM." - }, - "zone": { - "type":"string", - "description":"This is the availability zone of the VM." - } - }, - "description": "Compute Metadata" - }, - "Network": { + "Network": { + "type": "object", + "properties": { + "interface": { + "type": "array", + "description": "This contains data about the network interface.", + "items": { "type": "object", - "properties": { - "interface": { - "type":"array", - "description": "This contains data about the network interface.", - "items": { - "type": "object", - "$ref": "#/definitions/NetworkInterface" - } - } + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type": "object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref": "#/definitions/Ipv4Properties" + } }, - "description": "Network Metadata" - }, - "NetworkInterface": { - "type": "object", - "description": "This contains data about the network interface.", - "properties": { - "ipv4": { - "type":"object", - "description": "This contains the IPv4 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv4 properties.", - "$ref":"#/definitions/Ipv4Properties" - } - }, - "subnet": { - "type":"array", - "description": "This is the subnet", - "items": { - "type": "object", - "description": "This contains the subnet properties.", - "$ref": "#/definitions/SubnetProperties" - } - } - } - }, - "ipv6": { - "type":"object", - "description": "This contains the IPv6 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv6 properties.", - "$ref":"#/definitions/Ipv6Properties" - } - } - } - }, - "macAddress": { - "type":"string", - "description":"This is the MAC address of the interface." - } + "subnet": { + "type": "array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } } + } }, - "PlanProperties": { - "type": "object", - "description": "This contains the data about the plan.", - "properties": { - "name": { - "type": "string", - "description": "This is the Plan ID." - }, - "publisher": { - "type": "string", - "description": "This is the publisher ID." - }, - "product": { - "type": "string", - "description": "This is the product of the image from the Marketplace." - } + "ipv6": { + "type": "object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref": "#/definitions/Ipv6Properties" + } } + } }, - "PublicKeysProperties": { - "type": "object", - "description": "This contains the data about the public key.", - "properties": { - "path": { - "type": "string", - "description": "This specifies the full path on the VM where the SSH public key is stored." - }, - "keyData": { - "type": "string", - "description": "This is the SSH public key certificate used to authenticate with the VM." - } - } + "macAddress": { + "type": "string", + "description": "This is the MAC address of the interface." + } + } + }, + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." }, - "Ipv4Properties": { - "type": "object", - "description": "This contains the IPv4 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IP address assigned to the interface." - }, - "publicIpAddress": { - "type":"string", - "description":"This is the public IP address assigned to the interface." - } - } + "publisher": { + "type": "string", + "description": "This is the publisher ID." }, - "Ipv6Properties": { - "type": "object", - "description": "This contains the IPv6 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IPv6 address assigned to the interface." - } - } + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." }, - "SubnetProperties": { - "type": "object", - "description": "This contains the properties of the subnet.", - "properties": { - "address": { - "type":"string", - "description":"This is the address range of the subnet." - }, - "prefix": { - "type":"string", - "description":"This is the prefix of the subnet." - } - } + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IP address assigned to the interface." }, - "StorageProfile": { - "type": "object", - "description": "This contains the data about the storage disks associated with the VM.", - "properties": { - "imageReference": { - "type": "object", - "$ref": "#/definitions/ImageReference", - "description": "Image information" - }, - "osDisk": { - "type": "object", - "$ref": "#/definitions/OsDisk", - "description": "OS disk information" - }, - "dataDisks": { - "type":"array", - "description": "Data disk information", - "items": { - "type": "object", - "description": "This contains information about the data disk.", - "$ref": "#/definitions/DataDisk" - } - } - } + "publicIpAddress": { + "type": "string", + "description": "This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type": "string", + "description": "This is the address range of the subnet." }, - "ImageReference": { - "type": "object", - "description": "This contains information about the OS image.", - "properties": { - "id": { - "type": "string", - "description": "This is the resource ID." - }, - "offer": { - "type": "string", - "description": "This is the offer of the platform or marketplace image." - }, - "publisher": { - "type": "string", - "description": "This is the image publisher." - }, - "sku": { - "type": "string", - "description": "This is the image SKU." - }, - "version": { - "type": "string", - "description": "This is the version of the platform or marketplace image." - } - } + "prefix": { + "type": "string", + "description": "This is the prefix of the subnet." + } + } + }, + "StorageProfile": { + "type": "object", + "description": "This contains the data about the storage disks associated with the VM.", + "properties": { + "imageReference": { + "type": "object", + "$ref": "#/definitions/ImageReference", + "description": "Image information" }, - "OsDisk": { - "type": "object", - "description": "This contains information about the OS disk used by the VM.", - "properties": { - "caching": { - "type": "string", - "description": "This is the the caching requirements." - }, - "createOption": { - "type": "string", - "description": "This is information about how the VM was created." - }, - "diskSizeGB": { - "type": "string", - "description": "This is the size of the disk in GB." - }, - "encryptionSettings": { - "type": "object", - "description": "This is the encryption settings for the disk.", - "$ref": "#/definitions/EncryptionSettings" - }, - "image": { - "type": "object", - "description": "This is the source user image virtual hard disk.", - "$ref": "#/definitions/DiskImage" - }, - "managedDisk": { - "type": "object", - "description": "This is managed disk parameters.", - "$ref": "#/definitions/ManagedDisk" - }, - "name": { - "type": "string", - "description": "This is the disk name." - }, - "osType": { - "type": "string", - "description": "This is the type of OS included in the disk." - }, - "vhd": { - "type": "object", - "description": "This is the virtual hard disk.", - "$ref": "#/definitions/VirtualHardDisk" - }, - "writeAcceleratorEnabled": { - "type": "string", - "description": "This specifies whether or not writeAccelerator is enabled on the disk." - } - } + "osDisk": { + "type": "object", + "$ref": "#/definitions/OsDisk", + "description": "OS disk information" }, - "DataDisk": { + "dataDisks": { + "type": "array", + "description": "Data disk information", + "items": { "type": "object", "description": "This contains information about the data disk.", - "properties": { - "caching": { - "type": "string", - "description": "This is the the caching requirements." - }, - "createOption": { - "type": "string", - "description": "This is information about how the VM was created." - }, - "diskSizeGB": { - "type": "string", - "description": "This is the size of the disk in GB." - }, - "image": { - "type": "object", - "description": "This is the source user image virtual hard disk.", - "$ref": "#/definitions/DiskImage" - }, - "lun": { - "type": "string", - "description": "This is the logical unit number of the disk." - }, - "managedDisk": { - "type": "object", - "description": "This is managed disk parameters.", - "$ref": "#/definitions/ManagedDisk" - }, - "name": { - "type": "string", - "description": "This is the disk name." - }, - "vhd": { - "type": "object", - "description": "This is the virtual hard disk.", - "$ref": "#/definitions/VirtualHardDisk" - }, - "writeAcceleratorEnabled": { - "type": "string", - "description": "This specifies whether or not writeAccelerator is enabled on the disk." - } - } + "$ref": "#/definitions/DataDisk" + } + } + } + }, + "ImageReference": { + "type": "object", + "description": "This contains information about the OS image.", + "properties": { + "id": { + "type": "string", + "description": "This is the resource ID." }, - "EncryptionSettings": { - "type": "object", - "description": "This is the encryption settings for the disk.", - "properties": { - "enabled": { - "type": "string", - "description": "This specifies whether or not disk encryption is enabled on the VM." - } - } + "offer": { + "type": "string", + "description": "This is the offer of the platform or marketplace image." }, - "DiskImage": { - "type": "object", - "description": "This is the source user image virtual hard disk.", - "properties": { - "uri": { - "type": "string", - "description": "This is the uri of the virtual hard disk." - } - } + "publisher": { + "type": "string", + "description": "This is the image publisher." }, - "ManagedDisk": { - "type": "object", - "description": "This is managed disk parameters.", - "properties": { - "id": { - "type": "string", - "description": "This is the resource ID." - }, - "storageAccountType": { - "type": "string", - "description": "This is the storage account type for the managed disk." - } - } + "sku": { + "type": "string", + "description": "This is the image SKU." }, - "VirtualHardDisk": { - "type": "object", - "description": "This is the virtual hard disk.", - "properties": { - "uri": { - "type": "string", - "description": "This is the uri of the virtual hard disk." - } - } + "version": { + "type": "string", + "description": "This is the version of the platform or marketplace image." + } + } + }, + "OsDisk": { + "type": "object", + "description": "This contains information about the OS disk used by the VM.", + "properties": { + "caching": { + "type": "string", + "description": "This is the caching requirements." }, - "ApplicationResponse": { - "type": "string", - "description": "This is a binary string containing the application." + "createOption": { + "type": "string", + "description": "This is information about how the VM was created." }, - "GalleryApplications": { - "type": "object", - "description": "This is the response from the GalleryApplications_List operation.", - "properties": { - "applications": { - "type":"array", - "description": "List of gallery applications", - "items": { - "type": "object", - "description": "This contains information about the gallery application.", - "$ref": "#/definitions/GalleryApplication" - } - } - } + "diskSizeGB": { + "type": "string", + "description": "This is the size of the disk in GB." + }, + "encryptionSettings": { + "type": "object", + "description": "This is the encryption settings for the disk.", + "$ref": "#/definitions/EncryptionSettings" + }, + "image": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "$ref": "#/definitions/DiskImage" + }, + "managedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "$ref": "#/definitions/ManagedDisk" + }, + "name": { + "type": "string", + "description": "This is the disk name." + }, + "osType": { + "type": "string", + "description": "This is the type of OS included in the disk." + }, + "vhd": { + "type": "object", + "description": "This is the virtual hard disk.", + "$ref": "#/definitions/VirtualHardDisk" + }, + "writeAcceleratorEnabled": { + "type": "string", + "description": "This specifies whether or not writeAccelerator is enabled on the disk." + } + } + }, + "DataDisk": { + "type": "object", + "description": "This contains information about the data disk.", + "properties": { + "caching": { + "type": "string", + "description": "This is the caching requirements." + }, + "createOption": { + "type": "string", + "description": "This is information about how the VM was created." + }, + "diskSizeGB": { + "type": "string", + "description": "This is the size of the disk in GB." + }, + "image": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "$ref": "#/definitions/DiskImage" + }, + "lun": { + "type": "string", + "description": "This is the logical unit number of the disk." + }, + "managedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "$ref": "#/definitions/ManagedDisk" + }, + "name": { + "type": "string", + "description": "This is the disk name." + }, + "vhd": { + "type": "object", + "description": "This is the virtual hard disk.", + "$ref": "#/definitions/VirtualHardDisk" + }, + "writeAcceleratorEnabled": { + "type": "string", + "description": "This specifies whether or not writeAccelerator is enabled on the disk." + } + } + }, + "EncryptionSettings": { + "type": "object", + "description": "This is the encryption settings for the disk.", + "properties": { + "enabled": { + "type": "string", + "description": "This specifies whether or not disk encryption is enabled on the VM." + } + } + }, + "DiskImage": { + "type": "object", + "description": "This is the source user image virtual hard disk.", + "properties": { + "uri": { + "type": "string", + "description": "This is the uri of the virtual hard disk." + } + } + }, + "ManagedDisk": { + "type": "object", + "description": "This is managed disk parameters.", + "properties": { + "id": { + "type": "string", + "description": "This is the resource ID." }, - "GalleryApplication": { + "storageAccountType": { + "type": "string", + "description": "This is the storage account type for the managed disk." + } + } + }, + "VirtualHardDisk": { + "type": "object", + "description": "This is the virtual hard disk.", + "properties": { + "uri": { + "type": "string", + "description": "This is the uri of the virtual hard disk." + } + } + }, + "ApplicationResponse": { + "type": "string", + "description": "This is a binary string containing the application." + }, + "GalleryApplications": { + "type": "object", + "description": "This is the response from the GalleryApplications_List operation.", + "properties": { + "applications": { + "type": "array", + "description": "List of gallery applications", + "items": { "type": "object", "description": "This contains information about the gallery application.", - "properties": { - "tags": { - "type": "string", - "description": "Optional attribute to passthrough value for more generic context" - }, - "enableHealthCheck": { - "type": "boolean", - "description": "It indicates if this application reports health status" - }, - "packageFile": { - "$ref": "#/definitions/PackageFile", - "description": "Package properties of the gallery application" - } - } + "$ref": "#/definitions/GalleryApplication" + } + } + } + }, + "GalleryApplication": { + "type": "object", + "description": "This contains information about the gallery application.", + "properties": { + "tags": { + "type": "string", + "description": "Optional attribute to passthrough value for more generic context" }, - "PackageFile": { - "type": "object", - "description": "Package properties of the gallery application.", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the gallery application" - }, - "incarnationId": { - "type": "string", - "description": "Unique identifier for this particular application instance" - }, - "fileName": { - "type": "string", - "description": "Application package file name" - }, - "contentType": { - "type": "string", - "description": "Application package type" - } - } + "enableHealthCheck": { + "type": "boolean", + "description": "It indicates if this application reports health status" }, - "Instance": { - "type": "object", - "description": "This is the response from the Instance_GetMetadata operation.", - "properties": { - "compute": { - "$ref": "#/definitions/Compute", - "description": "Compute Metadata" - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network Metadata" - } - } + "packageFile": { + "$ref": "#/definitions/PackageFile", + "description": "Package properties of the gallery application" + } + } + }, + "PackageFile": { + "type": "object", + "description": "Package properties of the gallery application.", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the gallery application" }, - "AttestedData": { - "type": "object", - "description": "This is the response from the Attested_GetDocument operation.", - "properties": { - "signature": { - "type": "string", - "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." - }, - "encoding": { - "type": "string", - "description": "This is the encoding scheme of the signature." - } - } + "incarnationId": { + "type": "string", + "description": "Unique identifier for this particular application instance" }, - "ErrorResponse": { - "description": "This is the response from an operation in the case an error occurs.", - "type": "object", - "properties": { - "error": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "fileName": { + "type": "string", + "description": "Application package file name" }, - "IdentityErrorResponse": { - "type": "object", - "description": "This is the response from an Identity operation in the case an error occurs.", - "properties": { - "error": { - "type": "string", - "description": "Error code", - "enum": [ - "invalid_request", - "unauthorized_client", - "access_denied", - "unsupported_response_type", - "invalid_scope", - "server_error", - "service_unavailable", - "bad_request", - "forbidden", - "not_found", - "method_not_allowed", - "too_many_requests" - ], - "x-ms-enum": { - "name": "Error", - "modelAsString": true - } - }, - "error_description": { - "type": "string", - "description": "Error message indicating why the operation failed." - } - } + "contentType": { + "type": "string", + "description": "Application package type" + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" }, - "IdentityTokenResponse": { - "type": "object", - "description": "This is the response from the Identity_GetToken operation.", - "properties": { - "access_token": { - "type": "string", - "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." - }, - "expires_in": { - "type": "string", - "description": "This is how long the access token is valid (in seconds)." - }, - "expires_on": { - "type": "string", - "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." - }, - "ext_expires_in": { - "type": "string", - "description": "This indicates the extended lifetime of the token (in seconds)." - }, - "not_before": { - "type": "string", - "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." - }, - "resource": { - "type": "string", - "description": "This is the app ID URI of the sink resource." - }, - "token_type": { - "type": "string", - "description": "This indicates the token type value." - }, - "client_id": { - "type": "string", - "description": "This is the client_id specified in the request, if any." - }, - "object_id": { - "type": "string", - "description": "This is the object_id specified in the request, if any." - }, - "msi_res_id": { - "type": "string", - "description": "This is the msi_res_id specified in the request, if any." - } - } + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." }, - "IdentityInfoResponse": { - "type": "object", - "description": "This is the response from the Identity_GetInfo operation.", - "properties": { - "tenantId": { - "type": "string", - "description": "This is the AAD tenantId of the identity of the caller." - } - } + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." } + } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "type": "string", - "enum": [ - "2018-10-01" - ], - "description": "This is the API version to use.", - "required": true, - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } }, - "MetadataParameter": { - "name": "Metadata", - "in": "header", - "type": "string", - "enum": [ - "true" - ], - "description": "This must be set to 'true'.", - "required": true, - "x-ms-parameter-location": "method" + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" } -} \ No newline at end of file + } +} From 0ef5935226878013bf9e11c81bd116372339a5c5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 13:14:23 -0400 Subject: [PATCH 131/495] fix: Casing for Microsoft.Kusto enums in examples (#6421) * fix: Casing of Microsoft.Kusto/clusters/databases in examples * fix: Casing for Microsoft.Kusto/Clusters in examples --- .../examples/KustoClustersCheckNameAvailability.json | 2 +- .../examples/KustoClustersCreateOrUpdate.json | 4 ++-- .../examples/KustoClustersGet.json | 4 ++-- .../examples/KustoClustersList.json | 8 ++++---- .../examples/KustoClustersListByResourceGroup.json | 8 ++++---- .../examples/KustoClustersUpdate.json | 4 ++-- .../examples/KustoDatabasesCheckNameAvailability.json | 2 +- .../examples/KustoDatabasesCreateOrUpdate.json | 4 ++-- .../examples/KustoDatabasesGet.json | 4 ++-- .../examples/KustoDatabasesListByCluster.json | 8 ++++---- .../examples/KustoDatabasesUpdate.json | 4 ++-- .../examples/KustoEventHubConnectionsCreateOrUpdate.json | 4 ++-- .../examples/KustoEventHubConnectionsGet.json | 4 ++-- .../examples/KustoEventHubConnectionsListByDatabase.json | 8 ++++---- .../examples/KustoEventHubConnectionsUpdate.json | 4 ++-- .../examples/KustoClustersCheckNameAvailability.json | 2 +- .../examples/KustoClustersCreateOrUpdate.json | 4 ++-- .../2018-09-07-preview/examples/KustoClustersGet.json | 4 ++-- .../2018-09-07-preview/examples/KustoClustersList.json | 8 ++++---- .../examples/KustoClustersListByResourceGroup.json | 8 ++++---- .../2018-09-07-preview/examples/KustoClustersUpdate.json | 4 ++-- .../examples/KustoDatabasesCheckNameAvailability.json | 2 +- .../examples/KustoDatabasesCreateOrUpdate.json | 4 ++-- .../2018-09-07-preview/examples/KustoDatabasesGet.json | 4 ++-- .../examples/KustoDatabasesListByCluster.json | 8 ++++---- .../2018-09-07-preview/examples/KustoDatabasesUpdate.json | 4 ++-- .../examples/KustoEventHubConnectionsCreateOrUpdate.json | 4 ++-- .../examples/KustoEventHubConnectionsGet.json | 4 ++-- .../examples/KustoEventHubConnectionsListByDatabase.json | 8 ++++---- .../examples/KustoEventHubConnectionsUpdate.json | 4 ++-- .../2019-01-21/examples/KustoClustersCreateOrUpdate.json | 8 ++++---- .../stable/2019-01-21/examples/KustoClustersGet.json | 4 ++-- .../stable/2019-01-21/examples/KustoClustersList.json | 8 ++++---- .../examples/KustoClustersListByResourceGroup.json | 8 ++++---- .../stable/2019-01-21/examples/KustoClustersUpdate.json | 8 ++++---- .../examples/KustoDataConnectionsCreateOrUpdate.json | 8 ++++---- .../2019-01-21/examples/KustoDataConnectionsGet.json | 4 ++-- .../examples/KustoDataConnectionsListByDatabase.json | 8 ++++---- .../2019-01-21/examples/KustoDataConnectionsUpdate.json | 8 ++++---- .../2019-01-21/examples/KustoDatabasesCreateOrUpdate.json | 4 ++-- .../stable/2019-01-21/examples/KustoDatabasesGet.json | 4 ++-- .../2019-01-21/examples/KustoDatabasesListByCluster.json | 8 ++++---- .../stable/2019-01-21/examples/KustoDatabasesUpdate.json | 4 ++-- 43 files changed, 114 insertions(+), 114 deletions(-) diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json index 18d4cc7c073c..c46dcb7d97d7 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json @@ -5,7 +5,7 @@ "location": "wus", "clusterName": { "name": "kuskusprod", - "type": "Microsoft.Kusto/Clusters" + "type": "Microsoft.Kusto/clusters" } }, "responses": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json index cafc6ad533c1..f684d5df26d4 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json @@ -16,9 +16,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json index 3fdc496deb15..020c68940af9 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json index b4b2efd9edcf..600dbbdd2207 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { @@ -23,9 +23,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json index 97803f52885c..18988de3e884 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { @@ -24,9 +24,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json index 6d845f8fc23f..f24c6bb7fcd4 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json @@ -11,9 +11,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json index 25ff09c0cd46..4ab6f23ccbce 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json @@ -6,7 +6,7 @@ "clusterName": "kustoProd", "databaseName": { "name": "kuskus", - "type": "Microsoft.Kusto/Clusters/Databases" + "type": "Microsoft.Kusto/clusters/databases" } }, "responses": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json index 15c8b52dce39..5d5f50d6e485 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json index 183fe12e851f..f72a5af6c06f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json index a889e0e1c7e8..e5cd6682c247 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9", "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json index 15c8b52dce39..5d5f50d6e485 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json index 3df4a048972a..4a7e3b1ca72a 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json index bc4e9a1fb06c..159dc85511f7 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json @@ -10,9 +10,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json index 77a94f3be0e3..5966eef922e3 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9", "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json index 3df4a048972a..4a7e3b1ca72a 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json index b84425227fe0..1a73906e3384 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json @@ -5,7 +5,7 @@ "location": "wus", "clusterName": { "name": "kuskusprod", - "type": "Microsoft.Kusto/Clusters" + "type": "Microsoft.Kusto/clusters" } }, "responses": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json index 20653d428693..0d2feed0ae5f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json @@ -16,9 +16,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json index 3f582ca5fa16..8aa7a942ac18 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json index e770d9c8c2c5..725fc4221a8c 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { @@ -23,9 +23,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json index 111e471756d4..6474e4515519 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { @@ -24,9 +24,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json index afe5fd15dcae..137644dbf281 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json @@ -11,9 +11,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json index 3e72751ba294..877cdb1b3828 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json @@ -6,7 +6,7 @@ "clusterName": "kustoProd", "databaseName": { "name": "kuskus", - "type": "Microsoft.Kusto/Clusters/Databases" + "type": "Microsoft.Kusto/clusters/databases" } }, "responses": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json index c0647daf3a26..e808235ec4fb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json index e0c4b92408bc..cc94b7ea6ea2 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json index 114f5497c717..18443ffc973b 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9", "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json index c0647daf3a26..e808235ec4fb 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"", "location": "westus", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json index d87b02e0255a..ae8c7c300f0e 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json index 638049ef0427..7dd7b07bb86f 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json @@ -10,9 +10,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json index a7fca93edc33..ee9fef19e03e 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", @@ -21,9 +21,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9", "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json index d87b02e0255a..ae8c7c300f0e 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json index 34ef6880d19b..d9b794cde0e6 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json @@ -16,9 +16,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" @@ -32,9 +32,9 @@ }, "201": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json index 3e3669843d83..09e4702b2c4a 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json @@ -8,9 +8,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json index 1f91d2103cdc..833e7cf6c9a0 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" @@ -22,9 +22,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json index d0bfb03fb5d1..2feb66591e81 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" @@ -23,9 +23,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3", "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json index 8f167399a7b9..9c184587ffad 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json @@ -11,9 +11,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" @@ -27,9 +27,9 @@ }, "201": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4", "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", + "type": "Microsoft.Kusto/clusters", "location": "westus", "properties": { "provisioningState": "Succeeded" diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json index af7fc2373b01..e611fe56efbd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json @@ -18,9 +18,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { @@ -31,9 +31,9 @@ }, "201": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json index e6924c512d1d..2d4f0fc2ac4c 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json @@ -10,9 +10,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json index 781dd363215f..291193134885 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { @@ -22,9 +22,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json index af7fc2373b01..e611fe56efbd 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json @@ -18,9 +18,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { @@ -31,9 +31,9 @@ }, "201": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", + "type": "Microsoft.Kusto/clusters/databases/DataConnections", "location": "westus", "kind": "EventHub", "properties": { diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json index cbb676c3d192..2997b7db0195 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "softDeletePeriod": "P1D", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json index 110854267c84..cc267d1b8ebc 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "softDeletePeriod": "P1D", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json index b586191048e0..ee0488105461 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "softDeletePeriod": "P1D", @@ -20,9 +20,9 @@ } }, { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9", "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "softDeletePeriod": "P1D", diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json index cbb676c3d192..2997b7db0195 100644 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json +++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json @@ -15,9 +15,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", + "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8", "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", + "type": "Microsoft.Kusto/clusters/databases", "location": "westus", "properties": { "softDeletePeriod": "P1D", From 915924cf10be0ce678d27a9a0817ceb3fdcccbb7 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 13:17:42 -0400 Subject: [PATCH 132/495] fix(billing): $top in examples to integer (#6413) --- .../preview/2017-02-27-preview/examples/InvoicesExpand.json | 2 +- .../preview/2017-04-24-preview/examples/InvoicesExpand.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json index 6c8bbfc5a30c..986377cc6b64 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2017-02-27", "subscriptionId": "subid", - "$top": "1", + "$top": 1, "$filter": "invoicePeriodStartDate le 2017-02-01", "$expand": "downloadUrl" }, diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json index e8dd72ba9303..0e33bd95ca03 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2017-04-24-preview", "subscriptionId": "subid", - "$top": "1", + "$top": 1, "$filter": "invoicePeriodEndDate le 2017-02-01", "$expand": "downloadUrl" }, From 3d442829ee4098d1981e53ad56ac96ae9d3ed812 Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com> Date: Mon, 24 Jun 2019 22:49:20 +0530 Subject: [PATCH 133/495] Update QnA Maker Create and Update KB examples + Operation Id of Runtime APIs (#6383) * Update Create and Update KB schemas * Update operation Id of Runtime APIs --- .../QnAMaker/stable/v4.0/QnAMakerRuntime.json | 4 +- .../v4.0/examples/SuccessfulCreateKb.json | 44 ++++++- .../stable/v4.0/examples/SuccessfulUpdKb.json | 122 +++++++++++++----- 3 files changed, 131 insertions(+), 39 deletions(-) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json index 480a5eb4ec37..2fd792ca1d99 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -33,7 +33,7 @@ "Knowledgebases" ], "summary": "GenerateAnswer call to query the knowledgebase.", - "operationId": "Knowledgebase_GenerateAnswer", + "operationId": "Runtime_GenerateAnswer", "parameters": [ { "$ref": "#/parameters/KbId" @@ -75,7 +75,7 @@ "Knowledgebases" ], "summary": "Train call to add suggestions to the knowledgebase.", - "operationId": "Knowledgebase_Train", + "operationId": "Runtime_Train", "parameters": [ { "$ref": "#/parameters/KbId" diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json index 58ae1825d372..2a81f64d88b8 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json @@ -17,17 +17,53 @@ }, { "id": 0, - "answer": "You can use our REST apis to manage your KB. See here for details: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa", + "answer": "You can use our REST apis to create a KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/create", "source": "Custom Editorial", "questions": [ - "How do I programmatically update my KB?" + "How do I programmatically create a KB?" ], "metadata": [ { "name": "category", "value": "api" } - ] + ], + "context": { + "isContextOnly": false, + "prompts": [ + { + "displayOrder": 1, + "displayText": "Update KB", + "qna": { + "answer": "You can use our REST apis to update your KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/update", + "questions": [ + "How do I programmatically update my KB?" + ], + "metadata": [ + { + "name": "category", + "value": "api" + } + ], + "context": { + "isContextOnly": false, + "prompts": [ + { + "displayOrder": 1, + "displayText": "Refresh Endpoint Keys", + "qna": { + "answer": "You can use our REST apis to refresh endpoint keys. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/endpointkeys/refreshkeys", + "questions": [ + "How do I programmatically refresh endpoint keys?" + ] + } + } + ] + } + } + } + ] + } } ], "urls": [ @@ -54,4 +90,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json index cfb8f1166c13..022fe04d4eea 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json @@ -15,24 +15,10 @@ "How can I change the default message from QnA Maker?" ], "metadata": [] - }, - { - "id": 0, - "answer": "You can use our REST apis to manage your KB. See here for details: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa", - "source": "Custom Editorial", - "questions": [ - "How do I programmatically update my KB?" - ], - "metadata": [ - { - "name": "category", - "value": "api" - } - ] } ], "urls": [ - "https://docs.microsoft.com/en-us/azure/cognitive-services/Emotion/FAQ" + "https://docs.microsoft.com/en-us/azure/cognitive-services/Emotion/FAQ" ], "files": [ { @@ -43,28 +29,86 @@ }, "delete": { "ids": [ - 4, - 13, - 35 - ], - "sources": [ - "Custom Editorial" + 13, + 35 ] }, "update": { - "name": "QnA Maker + Emotion API FAQ Bot", + "name": "QnA Maker FAQ Prompts Bot", "qnaList": [ { - "id": 30, - "answer": "Yes, you can use our REST APIs to manage a KB. Please check our documentation for details.", - "source": "Custom Q&A", + "id": 2, + "answer": "You can use our REST apis to create a KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/create", + "source": "Custom Editorial", "questions": { - "add": [ - "can I programmatically manage a KB?" + "add": [], + "delete": [] + }, + "metadata": { + "add": [], + "delete": [] + }, + "alternateQuestionClusters": { + "delete": [] + }, + "context": { + "isContextOnly": false, + "promptsToAdd": [ + { + "displayText": "Add Prompts", + "displayOrder": 0, + "qna": { + "id": 0, + "answer": "Click here to know more https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/multiturn-conversation", + "source": "Editorial", + "questions": [ + "How can I add prompts?" + ], + "metadata": [], + "alternateQuestionClusters": [], + "context": { + "isContextOnly": false, + "prompts": [] + } + }, + "qnaId": 0 + }, + { + "displayText": "Delete Prompts", + "displayOrder": 0, + "qna": { + "id": 0, + "answer": "Click here to know more https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/multiturn-conversation", + "source": "Editorial", + "questions": [ + "How can I delete delete prompts?" + ], + "metadata": [], + "alternateQuestionClusters": [], + "context": { + "isContextOnly": false, + "prompts": [] + } + }, + "qnaId": 0 + }, + { + "displayText": "Update Knowledgebase", + "displayOrder": 0, + "qna": null, + "qnaId": 3 + } ], - "delete": [ - "How do I programmatically update my KB?" - ] + "promptsToDelete": [ 3 ] + } + }, + { + "id": 3, + "answer": "You can use our REST apis to update your KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/update", + "source": "Custom Editorial", + "questions": { + "add": [], + "delete": [] }, "metadata": { "delete": [ @@ -79,11 +123,23 @@ "value": "programmatic" } ] + }, + "alternateQuestionClusters": { + "delete": [] + }, + "context": { + "isContextOnly": false, + "promptsToAdd": [ + { + "displayText": "Regenerate Endpoint keys", + "displayOrder": 1, + "qna": null, + "qnaId": 4 + } + ], + "promptsToDelete": [ 4 ] } } - ], - "urls": [ - "https://docs.microsoft.com/en-us/bot-framework/resources-bot-framework-faq" ] } } From 988c5f81b2ef1d7de07802e6676bb2703d600200 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 17:29:31 -0400 Subject: [PATCH 134/495] chore: jsonfmt storagesync (#6263) Ran `jsonfmt -w "specification/storagesync/**/*.json"` --- .../examples/CloudEndpoints_Create.json | 93 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 64 +- .../CloudEndpoints_ListBySyncGroup.json | 66 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 48 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- .../examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 100 +- .../examples/RegisteredServers_Delete.json | 52 +- .../examples/RegisteredServers_Get.json | 66 +- ...teredServers_ListByStorageSyncService.json | 68 +- .../examples/ServerEndpoints_Create.json | 92 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 82 +- .../ServerEndpoints_ListBySyncGroup.json | 137 +- .../examples/ServerEndpoints_Recall.json | 48 +- .../examples/ServerEndpoints_Update.json | 88 +- .../examples/StorageSyncServices_Create.json | 42 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 56 +- .../examples/SyncGroups_Create.json | 43 +- .../examples/SyncGroups_Delete.json | 33 +- .../examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../examples/Workflows_Abort.json | 30 +- .../examples/Workflows_Get.json | 54 +- .../2017-06-05-preview/storagesync.json | 6 +- .../examples/CloudEndpoints_Create.json | 91 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 62 +- .../CloudEndpoints_ListBySyncGroup.json | 64 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 48 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- .../2018-04-02/examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 116 +- .../examples/RegisteredServers_Delete.json | 52 +- .../examples/RegisteredServers_Get.json | 78 +- ...teredServers_ListByStorageSyncService.json | 80 +- .../examples/ServerEndpoints_Create.json | 130 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 98 +- .../ServerEndpoints_ListBySyncGroup.json | 169 +- .../examples/ServerEndpoints_Recall.json | 48 +- .../examples/ServerEndpoints_Update.json | 122 +- ...ceCheckNameAvailability_AlreadyExists.json | 2 +- ...erviceCheckNameAvailability_Available.json | 2 +- .../examples/StorageSyncServices_Create.json | 42 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 52 +- .../examples/SyncGroups_Create.json | 43 +- .../examples/SyncGroups_Delete.json | 33 +- .../2018-04-02/examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../2018-04-02/examples/Workflows_Abort.json | 30 +- .../2018-04-02/examples/Workflows_Get.json | 54 +- .../stable/2018-04-02/storagesync.json | 106 +- .../examples/CloudEndpoints_Create.json | 92 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 62 +- .../CloudEndpoints_ListBySyncGroup.json | 64 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 48 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- .../2018-07-01/examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 116 +- .../examples/RegisteredServers_Delete.json | 52 +- .../examples/RegisteredServers_Get.json | 78 +- ...teredServers_ListByStorageSyncService.json | 80 +- .../RegisteredServers_TriggerRollover.json | 50 +- .../examples/ServerEndpoints_Create.json | 134 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 100 +- .../ServerEndpoints_ListBySyncGroup.json | 169 +- .../examples/ServerEndpoints_Recall.json | 54 +- .../examples/ServerEndpoints_Update.json | 122 +- ...ceCheckNameAvailability_AlreadyExists.json | 2 +- ...erviceCheckNameAvailability_Available.json | 2 +- .../examples/StorageSyncServices_Create.json | 40 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 52 +- .../examples/SyncGroups_Create.json | 43 +- .../examples/SyncGroups_Delete.json | 33 +- .../2018-07-01/examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../2018-07-01/examples/Workflows_Abort.json | 30 +- .../2018-07-01/examples/Workflows_Get.json | 54 +- .../Workflows_ListByStorageSyncService.json | 56 +- .../stable/2018-07-01/storagesync.json | 7029 ++++++++------- .../examples/CloudEndpoints_Create.json | 96 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 62 +- .../CloudEndpoints_ListBySyncGroup.json | 64 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 46 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- .../2018-10-01/examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 114 +- .../examples/RegisteredServers_Delete.json | 51 +- .../examples/RegisteredServers_Get.json | 78 +- ...teredServers_ListByStorageSyncService.json | 80 +- .../RegisteredServers_TriggerRollover.json | 50 +- .../examples/ServerEndpoints_Create.json | 108 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 110 +- .../ServerEndpoints_ListBySyncGroup.json | 187 +- .../examples/ServerEndpoints_Recall.json | 54 +- .../examples/ServerEndpoints_Update.json | 138 +- ...ceCheckNameAvailability_AlreadyExists.json | 34 +- ...erviceCheckNameAvailability_Available.json | 30 +- .../examples/StorageSyncServices_Create.json | 40 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 52 +- .../examples/SyncGroups_Create.json | 42 +- .../examples/SyncGroups_Delete.json | 33 +- .../2018-10-01/examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../2018-10-01/examples/Workflows_Abort.json | 30 +- .../2018-10-01/examples/Workflows_Get.json | 54 +- .../Workflows_ListByStorageSyncService.json | 56 +- .../stable/2018-10-01/storagesync.json | 7363 +++++++-------- .../examples/CloudEndpoints_Create.json | 96 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 62 +- .../CloudEndpoints_ListBySyncGroup.json | 64 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 46 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- .../2019-02-01/examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 114 +- .../examples/RegisteredServers_Delete.json | 51 +- .../examples/RegisteredServers_Get.json | 78 +- ...teredServers_ListByStorageSyncService.json | 80 +- .../RegisteredServers_TriggerRollover.json | 50 +- .../examples/ServerEndpoints_Create.json | 108 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 156 +- .../ServerEndpoints_ListBySyncGroup.json | 237 +- .../examples/ServerEndpoints_Recall.json | 54 +- .../examples/ServerEndpoints_Update.json | 156 +- ...ceCheckNameAvailability_AlreadyExists.json | 34 +- ...erviceCheckNameAvailability_Available.json | 30 +- .../examples/StorageSyncServices_Create.json | 40 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 52 +- .../examples/SyncGroups_Create.json | 42 +- .../examples/SyncGroups_Delete.json | 33 +- .../2019-02-01/examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../2019-02-01/examples/Workflows_Abort.json | 30 +- .../2019-02-01/examples/Workflows_Get.json | 54 +- .../Workflows_ListByStorageSyncService.json | 56 +- .../stable/2019-02-01/storagesync.json | 7527 ++++++++-------- .../examples/CloudEndpoints_Create.json | 96 +- .../examples/CloudEndpoints_Delete.json | 54 +- .../examples/CloudEndpoints_Get.json | 62 +- .../CloudEndpoints_ListBySyncGroup.json | 64 +- .../examples/CloudEndpoints_PostBackup.json | 56 +- .../examples/CloudEndpoints_PostRestore.json | 83 +- .../examples/CloudEndpoints_PreBackup.json | 46 +- .../examples/CloudEndpoints_PreRestore.json | 81 +- .../CloudEndpoints_RestoreHeatbeat.json | 34 +- ...CloudEndpoints_TriggerChangeDetection.json | 50 +- .../examples/OperationStatus_Get.json | 46 +- .../2019-03-01/examples/Operations_List.json | 403 +- .../examples/RegisteredServers_Create.json | 112 +- .../examples/RegisteredServers_Delete.json | 51 +- .../examples/RegisteredServers_Get.json | 78 +- ...teredServers_ListByStorageSyncService.json | 80 +- .../RegisteredServers_TriggerRollover.json | 50 +- .../examples/ServerEndpoints_Create.json | 108 +- .../examples/ServerEndpoints_Delete.json | 48 +- .../examples/ServerEndpoints_Get.json | 156 +- .../ServerEndpoints_ListBySyncGroup.json | 237 +- .../examples/ServerEndpoints_Recall.json | 54 +- .../examples/ServerEndpoints_Update.json | 156 +- ...ceCheckNameAvailability_AlreadyExists.json | 34 +- ...erviceCheckNameAvailability_Available.json | 30 +- .../examples/StorageSyncServices_Create.json | 40 +- .../examples/StorageSyncServices_Delete.json | 24 +- .../examples/StorageSyncServices_Get.json | 52 +- ...orageSyncServices_ListByResourceGroup.json | 94 +- ...torageSyncServices_ListBySubscription.json | 92 +- .../examples/StorageSyncServices_Update.json | 52 +- .../examples/SyncGroups_Create.json | 42 +- .../examples/SyncGroups_Delete.json | 33 +- .../2019-03-01/examples/SyncGroups_Get.json | 48 +- .../SyncGroups_ListByStorageSyncService.json | 50 +- .../2019-03-01/examples/Workflows_Abort.json | 30 +- .../2019-03-01/examples/Workflows_Get.json | 54 +- .../Workflows_ListByStorageSyncService.json | 56 +- .../stable/2019-03-01/storagesync.json | 7937 +++++++++-------- 218 files changed, 23618 insertions(+), 22424 deletions(-) diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Create.json index a0b6154a71e1..ddeb70b2fdc6 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Create.json @@ -1,52 +1,51 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview", - "parameters": { - "properties": { - "provisioningState": "Created", - "storageAccountKey": "storageaccountkeyvalue", - "storageAccount": "https://storageaccounturl/SampleCloudEndpoint", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccount": "https://storageaccounturl/ankushbsubscriptionmgmtmab", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "provisioningState": "Created", + "storageAccountKey": "storageaccountkeyvalue", + "storageAccount": "https://storageaccounturl/SampleCloudEndpoint", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccount": "https://storageaccounturl/ankushbsubscriptionmgmtmab", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Delete.json index b5ccf6fdd067..6829b26b034c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Get.json index 552b04fb22ee..5a57fb828b8e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_Get.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountKey": "storageaccountkeyvalue", - "storageAccount": "https://storageaccounturl/SampleAzureFileShareName_1", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountKey": "storageaccountkeyvalue", + "storageAccount": "https://storageaccounturl/SampleAzureFileShareName_1", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_ListBySyncGroup.json index 2b400ac7211a..17f3f4c54900 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,35 +1,37 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountKey": "storageaccountKeyvalue", + "storageAccount": "https://storageaccounturl/SampleAzureFileShareName_1", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountKey": "storageaccountKeyvalue", - "storageAccount": "https://storageaccounturl/SampleAzureFileShareName_1", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostBackup.json index 46d1a3d72411..a1f390dc8450 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2017-06-05-preview" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2017-06-05-preview&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2017-06-05-preview&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostRestore.json index 3c0a8a0b2785..29b9d26c34d3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreBackup.json index f5b51ce9efc9..eaad9d7d9d86 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - } + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreRestore.json index dcaceabc240b..1451e84cc07b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2017-06-05-preview&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_RestoreHeatbeat.json index a0667d8f9a4b..254ec91f1bd7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json index 66da10fc7522..75342a96a6c7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Create.json index 66b144ae5a56..03fe764a81a6 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Create.json @@ -1,56 +1,56 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "provisioningState": "Created", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2017-06-05-preview" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "provisioningState": "Created", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "10.91.86.47/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "serverId": "\"530a0384-50ac-456d-8240-9d6621404151\"", - "serverRole": "Standalone", - "provisioningState": "Succeeded", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "lastHeartBeat": "\"2017-08-21T13:24:18.2641509-07:00\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.278.0", - "storageSyncServiceUid": "\"56cfb290-f846-4c96-abc4-ee338bd252e8\"", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/c36c3bcb-a72e-492a-b700-4ad74a8e3d69" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "10.91.86.47/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "serverId": "\"530a0384-50ac-456d-8240-9d6621404151\"", + "serverRole": "Standalone", + "provisioningState": "Succeeded", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "lastHeartBeat": "\"2017-08-21T13:24:18.2641509-07:00\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.278.0", + "storageSyncServiceUid": "\"56cfb290-f846-4c96-abc4-ee338bd252e8\"", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/c36c3bcb-a72e-492a-b700-4ad74a8e3d69" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Delete.json index 77ed370cdf85..e51b7eeab6fd 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Delete.json @@ -1,29 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2017-06-05-preview" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Get.json index 66239532fab2..2ba4820cde0e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_Get.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "serverRole": "Standalone", - "provisioningState": "Created", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652+00:00\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0", - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"", - "lastWorkflowId": "" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", + "serverRole": "Standalone", + "provisioningState": "Created", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652+00:00\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0", + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"", + "lastWorkflowId": "" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_ListByStorageSyncService.json index f3d52bde1aed..7b4587a53122 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,36 +1,38 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", + "serverRole": "Standalone", + "provisioningState": "Created", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652+00:00\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0", + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"", + "lastWorkflowId": "" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "serverRole": "Standalone", - "provisioningState": "Created", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652+00:00\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0", - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"", - "lastWorkflowId": "" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Create.json index 5010aaf781d2..b15d8267d393 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Create.json @@ -1,52 +1,52 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "provisioningState": "Created", - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100 - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2017-06-05-preview" + "properties": { + "provisioningState": "Created", + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100 + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/901054e8-d66f-4e2f-8266-f05a68dbfce4" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/901054e8-d66f-4e2f-8266-f05a68dbfce4" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Delete.json index a56776d040c6..e3401152fb6a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2017-06-05-preview" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Get.json index 3d53b79d8267..cb4363108fd2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Get.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "friendlyName": "SampleRegisteredServer-prod3.redmond.corp.microsoft.com", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/219c62f3-8507-4b87-a85b-ac676ad198d1", - "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", - "syncErrorState": "0", - "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", - "syncErrorDirection": "none", - "syncErrorContext": "", - "itemDownloadErrorCount": 0, - "itemUploadErrorCount": 0, - "currentProgressType": "none", - "itemProgressCount": 0, - "itemTotalCount": 0, - "byteProgress": 0 - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "friendlyName": "SampleRegisteredServer-prod3.redmond.corp.microsoft.com", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/219c62f3-8507-4b87-a85b-ac676ad198d1", + "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", + "syncErrorState": "0", + "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", + "syncErrorDirection": "none", + "syncErrorContext": "", + "itemDownloadErrorCount": 0, + "itemUploadErrorCount": 0, + "currentProgressType": "none", + "itemProgressCount": 0, + "itemTotalCount": 0, + "byteProgress": 0 + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_ListBySyncGroup.json index 174d19a1516f..24f1ade15619 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,70 +1,73 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/219c62f3-8507-4b87-a85b-ac676ad198d1", + "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", + "syncErrorState": "0", + "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", + "syncErrorDirection": "none", + "syncErrorContext": "", + "itemDownloadErrorCount": 0, + "itemUploadErrorCount": 0, + "currentProgressType": "none", + "itemProgressCount": 0, + "itemTotalCount": 0, + "byteProgress": 23, + "totalProgress": 23 }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/219c62f3-8507-4b87-a85b-ac676ad198d1", - "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", - "syncErrorState": "0", - "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", - "syncErrorDirection": "none", - "syncErrorContext": "", - "itemDownloadErrorCount": 0, - "itemUploadErrorCount": 0, - "currentProgressType": "none", - "itemProgressCount": 0, - "itemTotalCount": 0, - "byteProgress": 23, - "totalProgress": 23 - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "provisioningState": "Succeeded", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "serverLocalPath": "D:\\SampleServerEndpoint_2", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", - "syncErrorState": "0", - "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", - "syncErrorDirection": "none", - "syncErrorContext": "", - "itemDownloadErrorCount": 0, - "itemUploadErrorCount": 0, - "currentProgressType": "none", - "itemProgressCount": 0, - "itemTotalCount": 0, - "byteProgress": 0, - "totalProgress": 0 - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "provisioningState": "Succeeded", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "serverLocalPath": "D:\\SampleServerEndpoint_2", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "lastSyncSuccess": "2017-02-24T22:24:43.3216408Z", + "syncErrorState": "0", + "syncErrorStateTimestamp": "2017-02-24T22:24:43.3216408Z", + "syncErrorDirection": "none", + "syncErrorContext": "", + "itemDownloadErrorCount": 0, + "itemUploadErrorCount": 0, + "currentProgressType": "none", + "itemProgressCount": 0, + "itemTotalCount": 0, + "byteProgress": 0, + "totalProgress": 0 + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Recall.json index 1a114012c6de..14c6149408bc 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Recall.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2017-06-05-preview" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Update.json index 9d0e6b47f5b6..12f90b633db7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/ServerEndpoints_Update.json @@ -1,50 +1,50 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "provisioningState": "Created", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100 - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2017-06-05-preview" + "properties": { + "provisioningState": "Created", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100 + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/901054e8-d66f-4e2f-8266-f05a68dbfce4" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "ankushb-prod3.redmond.corp.microsoft.com", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/901054e8-d66f-4e2f-8266-f05a68dbfce4" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2017-06-05-preview", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2017-06-05-preview", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2017-06-05-preview", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2017-06-05-preview", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Create.json index 7fb1b01e89ff..e028041ce8ea 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Create.json @@ -1,26 +1,26 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices" - }, - "api-version": "2017-06-05-preview" + "location": "WestUS", + "tags": {}, + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices" }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Delete.json index 445b5af000e0..85d8fa7d3559 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Get.json index d0e22bc81ebe..5cc762435f26 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListByResourceGroup.json index de718cafeec6..3a8b1c0f8ff7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListBySubscription.json index 1fde371e12ec..0e6c25a3bb09 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Update.json index b0a22de445fe..6abeec41c5aa 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/StorageSyncServices_Update.json @@ -1,32 +1,32 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2017-06-05-preview", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2017-06-05-preview", - "parameters": { - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices" } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Create.json index b5272fd3a976..d6e3beed8d66 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Create.json @@ -1,26 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Delete.json index c6979666be76..88750ba17e7f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Get.json index dc72917fb604..8b7790151210 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_ListByStorageSyncService.json index c578ba8d0991..822a64fc051a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Abort.json index 7c93deca14c9..923eaf4dd565 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Get.json index 939c2b0200a7..b8443084ffec 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2017-06-05-preview" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2017-06-05-preview" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json index 636ed62c765d..f27ad2e35b2e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json @@ -4,9 +4,9 @@ "title": "Microsoft Storage Sync", "description": "Microsoft Storage Sync Service API", "version": "2017-06-05-preview", - "x-ms-code-generation-settings": { + "x-ms-code-generation-settings": { "name": "StorageSyncManagementClient" - } + } }, "host": "management.azure.com", "schemes": [ @@ -3235,4 +3235,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Create.json index 70e8bd4b6ec6..e0b6fc370575 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Create.json @@ -1,51 +1,50 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02", - "parameters": { - "properties": { - "provisioningState": "Created", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccount": "https://storageaccounturl/ankushbsubscriptionmgmtmab", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "provisioningState": "Created", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccount": "https://storageaccounturl/ankushbsubscriptionmgmtmab", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Delete.json index bb357e80adb6..8e380ddeafba 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Get.json index a5dfb698da4c..d9ac810b0123 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_ListBySyncGroup.json index ac1fac035799..28115de3c2fb 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,34 +1,36 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostBackup.json index b02c247ad93c..5f4ba0ad25bd 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2018-04-02" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-04-02&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-04-02&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostRestore.json index 39eb86009f41..a8663bdec0bf 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreBackup.json index 38b6847c8522..7ac9477ec757 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - } + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreRestore.json index 4a8edcaa8620..fe4b15f07196 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-04-02&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_RestoreHeatbeat.json index 17e5ddd29de7..c7a119754884 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json index 9665866fe371..7a9bc3dc46ea 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Create.json index 9fa6805a359b..9208aee2f6d0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Create.json @@ -1,63 +1,63 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "provisioningState": "Created", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2018-04-02" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "provisioningState": "Created", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "10.91.86.47/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "10.91.86.47/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Delete.json index f5679eb3cddf..373e8c1d0738 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Delete.json @@ -1,29 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2018-04-02" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Get.json index d41db95fe750..840cce0f1ac1 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_Get.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_ListByStorageSyncService.json index 15ba678f84c9..1833c7d0975b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,42 +1,44 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Create.json index e918206db1f7..dab60109e861 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Create.json @@ -1,72 +1,72 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "provisioningState": "Created", - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100 - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2018-04-02" + "properties": { + "provisioningState": "Created", + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100 + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Delete.json index 39bcc8d7dfc0..3c8081033471 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-04-02" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Get.json index 93417bf43543..072fe77791f2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Get.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_ListBySyncGroup.json index a86a511b3998..eb1f9d258c93 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,86 +1,89 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Recall.json index 8da18a1748f0..47de537f623d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Recall.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-04-02" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json index 62ed934c6136..67d415f3fbc7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json @@ -1,68 +1,68 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "cloudTiering": "off", - "volumeFreeSpacePercent": 100 - } - }, - "api-version": "2018-04-02" + "properties": { + "cloudTiering": "off", + "volumeFreeSpacePercent": 100 + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-04-02", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-04-02", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-04-02", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-04-02", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json index 930849f6c999..a237a4d47e67 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_Available.json index 42955183aee9..1a3c6c60b549 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_Available.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Create.json index 3831635b3628..0311d9e4ca65 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Create.json @@ -1,26 +1,26 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices" - }, - "api-version": "2018-04-02" + "location": "WestUS", + "tags": {}, + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices" }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Delete.json index 8d802d92523e..c56579e5e812 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Get.json index 977f6640c810..15ef2d24a99e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListByResourceGroup.json index fab2edda5756..cf28381c900d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListBySubscription.json index 7c7f5605b58d..b6d92f595007 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json index f41e41a621e7..4dfbebad0e5d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-04-02", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-04-02", - "parameters": { - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {} } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Create.json index 29177fb1a112..f1f1bc14b015 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Create.json @@ -1,26 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Delete.json index 32023ed74552..40b87dba2ad7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Get.json index 399f9b34aa24..aa35914165b5 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_ListByStorageSyncService.json index e18dd1c93732..0ab9bd5c6b8c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Abort.json index 163db5778d44..d7fe791da4f9 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Get.json index 9ebbb9904272..cdeac85cb881 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2018-04-02" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2018-04-02" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json index 8ac5a5e44017..27221020c1fc 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json @@ -4,9 +4,9 @@ "title": "Microsoft Storage Sync", "description": "Microsoft Storage Sync Service API", "version": "2018-04-02", - "x-ms-code-generation-settings": { + "x-ms-code-generation-settings": { "name": "StorageSyncManagementClient" - } + } }, "host": "management.azure.com", "schemes": [ @@ -74,12 +74,16 @@ ], "operationId": "StorageSyncServices_CheckNameAvailability", "x-ms-examples": { - "StorageSyncServiceCheckNameAvailability_Available": { "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" }, - "StorageSyncServiceCheckNameAvailability_AlreadyExists": { "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" } + "StorageSyncServiceCheckNameAvailability_Available": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" + }, + "StorageSyncServiceCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" + } }, "description": "Check the give namespace name availability.", "parameters": [ - { + { "name": "locationName", "in": "path", "required": true, @@ -2406,7 +2410,7 @@ "type": "object", "description": "Error type", "properties": { - "error": { + "error": { "$ref": "#/definitions/StorageSyncApiError", "description": "Error details of the given entry." }, @@ -2496,11 +2500,11 @@ } ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceProperties", - "description": "Storage Sync Service properties." - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceProperties", + "description": "Storage Sync Service properties." + } } }, "SyncGroup": { @@ -2510,13 +2514,13 @@ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], + ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupProperties", - "description": "SyncGroup properties." - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupProperties", + "description": "SyncGroup properties." + } } }, "CloudEndpoint": { @@ -2526,12 +2530,12 @@ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], + ], "properties": { "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointProperties", - "description": "Cloud Endpoint properties." + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointProperties", + "description": "Cloud Endpoint properties." } } }, @@ -2588,8 +2592,7 @@ "SyncGroupCreateParametersProperties": { "type": "object", "description": "Sync Group Create Properties object.", - "properties": { - } + "properties": {} }, "CloudEndpointCreateParameters": { "properties": { @@ -2616,16 +2619,16 @@ "description": "CloudEndpoint Properties object.", "properties": { "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" + "type": "string", + "description": "Storage Account Resource Id" }, "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" + "type": "string", + "description": "Storage Account Share name" }, "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" + "type": "string", + "description": "Storage Account Tenant Id" } } }, @@ -2763,13 +2766,13 @@ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], + ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointProperties", - "description": "Server Endpoint properties." - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointProperties", + "description": "Server Endpoint properties." + } } }, "RegisteredServer": { @@ -2779,13 +2782,13 @@ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], + ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerProperties", - "description": "RegisteredServer properties." - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerProperties", + "description": "RegisteredServer properties." + } } }, "ResourcesMoveInfo": { @@ -2812,13 +2815,13 @@ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], + ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "Workflow properties." - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "Workflow properties." + } } }, "OperationEntityListResult": { @@ -2908,7 +2911,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.StorageSync/storageSyncServices" ], + "enum": [ + "Microsoft.StorageSync/storageSyncServices" + ], "x-ms-enum": { "name": "Type", "modelAsString": false @@ -3187,8 +3192,7 @@ "StorageSyncServiceUpdateProperties": { "type": "object", "description": "Storage Sync Service Update Properties object.", - "properties": { - } + "properties": {} }, "StorageSyncServiceProperties": { "type": "object", @@ -3498,4 +3502,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Create.json index a590250f4ea0..b27e2e1a90dd 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Create.json @@ -1,51 +1,51 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01", - "parameters": { - "properties": { - "provisioningState": "Created", - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "provisioningState": "Created", + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/workflows/6fe524cf-5944-4e87-816f-e4a85a1f3533", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Delete.json index 69f04db152a7..7df63447e60a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Get.json index 8b7937271b20..b27b2e46f7b0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_ListBySyncGroup.json index efbe34179951..34dff7afc19a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,34 +1,36 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostBackup.json index d9696e57c2e3..0b82b2af5190 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2018-07-01" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-07-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-07-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostRestore.json index 65f8ddd0cac6..c3aa2d9b6175 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreBackup.json index cdf0d9c32694..09beacf326f7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - } + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreRestore.json index e674432ddab0..f8dc7d595760 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-07-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_RestoreHeatbeat.json index ea502c15f337..adbe77c1eea4 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json index 06584b89d825..fe29a5d1b330 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Create.json index af85f4dc4d17..6a258d11b7ec 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Create.json @@ -1,63 +1,63 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "provisioningState": "Created", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverManagementtErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2018-07-01" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "provisioningState": "Created", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverManagementtErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "10.91.86.47/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "10.91.86.47/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Delete.json index 99cf9e77b7ea..b8d46af72dc5 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Delete.json @@ -1,29 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2018-07-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Get.json index d05673fe045d..9d8186178b48 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_Get.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_ListByStorageSyncService.json index cd3481d9730f..17f2f0fd8350 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,42 +1,44 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementtErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementtErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_TriggerRollover.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_TriggerRollover.json index 0136bc789ffc..db147996a721 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_TriggerRollover.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/RegisteredServers_TriggerRollover.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "d166ca76-dad2-49df-b409-12345642d730", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "d166ca76-dad2-49df-b409-12345642d730", - "parameters": { - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" - }, - "api-version": "2018-07-01" + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Create.json index 46a5f9ca16ee..d2f14bb34554 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Create.json @@ -1,74 +1,74 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "provisioningState": "Created", - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays": 0 - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2018-07-01" + "properties": { + "provisioningState": "Created", + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncServer_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0 + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Delete.json index 406e8750f6be..70f4f06e7e0c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-07-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Get.json index 841c87231c30..a26baac37df3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Get.json @@ -1,53 +1,53 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_ListBySyncGroup.json index c249b2644b5f..fb99ebe0c32b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,86 +1,89 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Recall.json index e3df14383eb0..cc9227bd6b17 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Recall.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-07-01", - "parameters": { - "pattern": "", - "recallPath": "" - } + "pattern": "", + "recallPath": "" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Update.json index 56a8b939c5eb..fe6dc338a146 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/ServerEndpoints_Update.json @@ -1,68 +1,68 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "cloudTiering": "off", - "volumeFreeSpacePercent": 100 - } - }, - "api-version": "2018-07-01" + "properties": { + "cloudTiering": "off", + "volumeFreeSpacePercent": 100 + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null - } - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null + } }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-07-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-07-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/10.91.86.47/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "10.91.86.47/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-07-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-07-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json index eddb9c226ab0..0af887cb9722 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_Available.json index 528cbbe0319d..01ef07f1b8c8 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_Available.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Create.json index fadfd4c0cf4b..16c88caaccea 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {} - }, - "api-version": "2018-07-01" + "location": "WestUS", + "tags": {}, + "properties": {} }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Delete.json index be39f9b2193d..dca570138247 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Get.json index 44a42c2d4da4..9ba47ab25883 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListByResourceGroup.json index 98e01908a7ba..aadaeaa57262 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListBySubscription.json index b692ba14ebad..2f4c719a3afd 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Update.json index 38725183d6ce..1f7e4bffdef7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/StorageSyncServices_Update.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-07-01", - "parameters": { - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {} } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Create.json index fe748a0880e4..6e04604efabb 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Create.json @@ -1,26 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Delete.json index 0501688779ce..9cf49a9519ad 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Get.json index ac0272a4a29e..50408efa3dd2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_ListByStorageSyncService.json index fcfa4f9688ae..6e6f75c4db08 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] -} - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Abort.json index 84e34badbf83..826cd291bc12 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Get.json index 4d4d39648d21..2941db86d919 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_ListByStorageSyncService.json index c5f24afc125a..4ee92fd8f49f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Workflows_ListByStorageSyncService.json @@ -1,30 +1,32 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-07-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-07-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" }, - "body": { - "value": [{ - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/storagesync.json index 38cdc29d3f9e..c84fb2ad3145 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/storagesync.json @@ -1,3417 +1,3660 @@ { - "swagger": "2.0", - "info": { - "title": "Microsoft Storage Sync", - "description": "Microsoft Storage Sync Service API", - "version": "2018-07-01", - "x-ms-code-generation-settings": { - "name": "StorageSyncManagementClient" - } - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.StorageSync/operations": { - "get": { - "tags": [ - "ResourceProvider", - "Operations" - ], - "operationId": "Operations_List", - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "description": "Lists all of the available Storage Sync Rest API operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "responses": { - "200": { - "description": "Array of operations resources in the Resource Provider", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "deprecated": false, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { - "post": { - "tags": [ - "StorageSyncService" - ], - "operationId": "StorageSyncServices_CheckNameAvailability", - "x-ms-examples": { - "StorageSyncServiceCheckNameAvailability_Available": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" - }, - "StorageSyncServiceCheckNameAvailability_AlreadyExists": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" - } - }, - "description": "Check the give namespace name availability.", - "parameters": [{ - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region for the name check." - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - }, - "description": "Parameters to check availability of the given namespace name" - }], - "responses": { - "200": { - "description": "check availability returned successfully.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource name.", - "required": true, - "schema": { - "$ref": "#/definitions/StorageSyncServiceCreateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Create", - "description": "Create a new StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Create": { - "$ref": "./examples/StorageSyncServices_Create.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "swagger": "2.0", + "info": { + "title": "Microsoft Storage Sync", + "description": "Microsoft Storage Sync Service API", + "version": "2018-07-01", + "x-ms-code-generation-settings": { + "name": "StorageSyncManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.StorageSync/operations": { + "get": { + "tags": [ + "ResourceProvider", + "Operations" + ], + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "description": "Lists all of the available Storage Sync Rest API operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "responses": { + "200": { + "description": "Array of operations resources in the Resource Provider", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Get", - "description": "Get a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Get": { - "$ref": "./examples/StorageSyncServices_Get.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceUpdateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Update", - "description": "Patch a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Update": { - "$ref": "./examples/StorageSyncServices_Update.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Delete", - "description": "Delete a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Delete": { - "$ref": "./examples/StorageSyncServices_Delete.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object was deleted.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Storage Sync Service Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListByResourceGroup", - "description": "Get a StorageSyncService list by Resource group name.", - "x-ms-examples": { - "StorageSyncServices_ListByResourceGroup": { - "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the Resource Group", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListBySubscription", - "description": "Get a StorageSyncService list by subscription.", - "x-ms-examples": { - "StorageSyncServices_ListBySubscription": { - "$ref": "./examples/StorageSyncServices_ListBySubscription.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the subscription.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_ListByStorageSyncService", - "description": "Get a SyncGroup List.", - "x-ms-examples": { - "SyncGroups_ListByStorageSyncService": { - "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Sync Group resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/SyncGroupArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Sync Group Body", - "required": true, - "schema": { - "$ref": "#/definitions/SyncGroupCreateParameters" - } - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Create", - "description": "Create a new SyncGroup.", - "x-ms-examples": { - "SyncGroups_Create": { - "$ref": "./examples/SyncGroups_Create.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { + "post": { + "tags": [ + "StorageSyncService" + ], + "operationId": "StorageSyncServices_CheckNameAvailability", + "x-ms-examples": { + "StorageSyncServiceCheckNameAvailability_Available": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" + }, + "StorageSyncServiceCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" + } + }, + "description": "Check the give namespace name availability.", + "parameters": [ + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The desired region for the name check." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Get", - "description": "Get a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Get": { - "$ref": "./examples/SyncGroups_Get.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "description": "Parameters to check availability of the given namespace name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource name.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageSyncServiceCreateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Create", + "description": "Create a new StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Create": { + "$ref": "./examples/StorageSyncServices_Create.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Get", + "description": "Get a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Get": { + "$ref": "./examples/StorageSyncServices_Get.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Delete", - "description": "Delete a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Delete": { - "$ref": "./examples/SyncGroups_Delete.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object was deleted", - "headers": { - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint resource.", - "required": true, - "schema": { - "$ref": "#/definitions/CloudEndpointCreateParameters" - } - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Create", - "description": "Create a new CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Create": { - "$ref": "./examples/CloudEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceUpdateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Update", + "description": "Patch a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Update": { + "$ref": "./examples/StorageSyncServices_Update.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Get", - "description": "Get a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Get": { - "$ref": "./examples/CloudEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Delete", + "description": "Delete a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Delete": { + "$ref": "./examples/StorageSyncServices_Delete.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object was deleted.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Storage Sync Service Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListByResourceGroup", + "description": "Get a StorageSyncService list by Resource group name.", + "x-ms-examples": { + "StorageSyncServices_ListByResourceGroup": { + "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the Resource Group", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Delete", - "description": "Delete a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Delete": { - "$ref": "./examples/CloudEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_ListBySyncGroup", - "description": "Get a CloudEndpoint List.", - "x-ms-examples": { - "CloudEndpoints_ListBySyncGroup": { - "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Cloud Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/CloudEndpointArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreBackup", - "description": "Pre Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreBackup": { - "$ref": "./examples/CloudEndpoints_PreBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostBackup", - "description": "Post Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostBackup": { - "$ref": "./examples/CloudEndpoints_PostBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/PostBackupResponse" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PreRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreRestore", - "description": "Pre Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreRestore": { - "$ref": "./examples/CloudEndpoints_PreRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_restoreheartbeat", - "description": "Restore Heartbeat a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_restoreheartbeat": { - "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" - } - }, - "responses": { - "200": { - "description": "Restore Heartbeat Operation has ran successfully.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PostRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostRestore", - "description": "Post Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostRestore": { - "$ref": "./examples/CloudEndpoints_PostRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Server Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerEndpointCreateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Create", - "description": "Create a new ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Create": { - "$ref": "./examples/ServerEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListBySubscription", + "description": "Get a StorageSyncService list by subscription.", + "x-ms-examples": { + "StorageSyncServices_ListBySubscription": { + "$ref": "./examples/StorageSyncServices_ListBySubscription.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the subscription.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Any of the properties applicable in PUT request.", - "schema": { - "$ref": "#/definitions/ServerEndpointUpdateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Update", - "description": "Patch a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Update": { - "$ref": "./examples/ServerEndpoints_Update.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_ListByStorageSyncService", + "description": "Get a SyncGroup List.", + "x-ms-examples": { + "SyncGroups_ListByStorageSyncService": { + "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Sync Group resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/SyncGroupArray" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Get", - "description": "Get a ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Get": { - "$ref": "./examples/ServerEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Sync Group Body", + "required": true, + "schema": { + "$ref": "#/definitions/SyncGroupCreateParameters" + } + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Create", + "description": "Create a new SyncGroup.", + "x-ms-examples": { + "SyncGroups_Create": { + "$ref": "./examples/SyncGroups_Create.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Delete", - "description": "Delete a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Delete": { - "$ref": "./examples/ServerEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_ListBySyncGroup", - "description": "Get a ServerEndpoint list.", - "x-ms-examples": { - "ServerEndpoints_ListBySyncGroup": { - "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Server Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/ServerEndpointArray" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Recall Action object.", - "required": true, - "schema": { - "$ref": "#/definitions/RecallActionParameters" - } - }], - "tags": [ - "ServerEndpoint Resource", - "Actions" - ], - "operationId": "ServerEndpoints_recallAction", - "description": "Recall a server endpoint.", - "x-ms-examples": { - "ServerEndpoints_recallAction": { - "$ref": "./examples/ServerEndpoints_Recall.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_ListByStorageSyncService", - "description": "Get a given registered server list.", - "x-ms-examples": { - "RegisteredServers_ListByStorageSyncService": { - "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Registered Server resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/RegisteredServerArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Get", - "description": "Get a given registered server.", - "x-ms-examples": { - "RegisteredServers_Get": { - "$ref": "./examples/RegisteredServers_Get.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Get", + "description": "Get a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Get": { + "$ref": "./examples/SyncGroups_Get.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Registered Server object.", - "required": true, - "schema": { - "$ref": "#/definitions/RegisteredServerCreateParameters" - } - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Create", - "description": "Add a new registered server.", - "x-ms-examples": { - "RegisteredServers_Create": { - "$ref": "./examples/RegisteredServers_Create.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Delete", + "description": "Delete a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Delete": { + "$ref": "./examples/SyncGroups_Delete.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object was deleted", + "headers": { + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint resource.", + "required": true, + "schema": { + "$ref": "#/definitions/CloudEndpointCreateParameters" + } + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Create", + "description": "Create a new CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Create": { + "$ref": "./examples/CloudEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Delete", - "description": "Delete the given registered server.", - "x-ms-examples": { - "RegisteredServers_Delete": { - "$ref": "./examples/RegisteredServers_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "Server Id", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Trigger Rollover request.", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerRolloverRequest" - } - }], - "tags": [ - "RegisteredServer Resource", - "Actions" - ], - "operationId": "RegisteredServers_triggerRollover", - "description": "Triggers Server certificate rollover.", - "x-ms-examples": { - "RegisteredServers_triggerRollover": { - "$ref": "./examples/RegisteredServers_TriggerRollover.json" - } - }, - "responses": { - "200": { - "description": "Trigger Rollover success status", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_ListByStorageSyncService", - "description": "Get a Workflow List", - "x-ms-examples": { - "Workflows_ListByStorageSyncService": { - "$ref": "./examples/Workflows_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Workflow resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/WorkflowArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_Get", - "description": "Get Workflows resource", - "x-ms-examples": { - "Workflows_Get": { - "$ref": "./examples/Workflows_Get.json" - } - }, - "responses": { - "200": { - "description": "Workflow object", - "schema": { - "$ref": "#/definitions/Workflow" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource", - "Actions" - ], - "operationId": "Workflows_Abort", - "description": "Abort the given workflow.", - "x-ms-examples": { - "Workflows_Abort": { - "$ref": "./examples/Workflows_Abort.json" - } - }, - "responses": { - "200": { - "description": "success", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - } - }, - "definitions": { - "StorageSyncError": { - "type": "object", - "description": "Error type", - "properties": { - "error": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - }, - "innererror": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncApiError": { - "type": "object", - "description": "Error type", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given error entry." - }, - "details": { - "$ref": "#/definitions/StorageSyncErrorDetails", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncErrorDetails": { - "type": "object", - "description": "Error Details object.", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given entry." - } - } - }, - "SubscriptionState": { - "type": "object", - "description": "Subscription State object.", - "properties": { - "state": { - "type": "string", - "description": "State of Azure Subscription", - "enum": [ - "Registered", - "Unregistered", - "Warned", - "Suspended", - "Deleted" - ], - "x-ms-enum": { - "name": "Reason", - "modelAsString": true - } - }, - "istransitioning": { - "type": "boolean", - "description": "Is Transitioning", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SubscriptionStateProperties", - "description": "Subscription state properties." - } - } - }, - "StorageSyncService": { - "type": "object", - "description": "Storage Sync Service object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceProperties", - "description": "Storage Sync Service properties." - } - } - }, - "SyncGroup": { - "type": "object", - "description": "Sync Group object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupProperties", - "description": "SyncGroup properties." - } - } - }, - "CloudEndpoint": { - "type": "object", - "description": "Cloud Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointProperties", - "description": "Cloud Endpoint properties." - } - } - }, - "RecallActionParameters": { - "properties": { - "pattern": { - "type": "string", - "description": "Pattern of the files." - }, - "recallPath": { - "type": "string", - "description": "Recall path." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Get", + "description": "Get a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Get": { + "$ref": "./examples/CloudEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "description": "The parameters used when calling recall action on server endpoint." - }, - "StorageSyncServiceCreateParameters": { - "properties": { - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "properties": {} + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Delete", + "description": "Delete a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Delete": { + "$ref": "./examples/CloudEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_ListBySyncGroup", + "description": "Get a CloudEndpoint List.", + "x-ms-examples": { + "CloudEndpoints_ListBySyncGroup": { + "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Cloud Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/CloudEndpointArray" }, - "required": [ - "location" - ], - "description": "The parameters used when creating a storage sync service." - }, - "SyncGroupCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupCreateParametersProperties", - "description": "The parameters used to create the sync group" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreBackup", + "description": "Pre Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreBackup": { + "$ref": "./examples/CloudEndpoints_PreBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostBackup", + "description": "Post Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostBackup": { + "$ref": "./examples/CloudEndpoints_PostBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "schema": { + "$ref": "#/definitions/PostBackupResponse" }, - "description": "The parameters used when creating a sync group." - }, - "SyncGroupCreateParametersProperties": { - "type": "object", - "description": "Sync Group Create Properties object.", - "properties": {} - }, - "CloudEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointCreateParametersProperties", - "description": "The parameters used to create the cloud endpoint." - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PreRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreRestore", + "description": "Pre Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreRestore": { + "$ref": "./examples/CloudEndpoints_PreRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_restoreheartbeat", + "description": "Restore Heartbeat a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_restoreheartbeat": { + "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" + } + }, + "responses": { + "200": { + "description": "Restore Heartbeat Operation has ran successfully.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PostRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostRestore", + "description": "Post Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostRestore": { + "$ref": "./examples/CloudEndpoints_PostRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Server Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerEndpointCreateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Create", + "description": "Create a new ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Create": { + "$ref": "./examples/ServerEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a cloud endpoint." - }, - "CloudEndpointCreateParametersProperties": { - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - } - }, - "ServerEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointCreateParametersProperties", - "description": "The parameters used to create the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Any of the properties applicable in PUT request.", + "schema": { + "$ref": "#/definitions/ServerEndpointUpdateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Update", + "description": "Patch a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Update": { + "$ref": "./examples/ServerEndpoints_Update.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a server endpoint." - }, - "ServerEndpointCreateParametersProperties": { - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - } - } - }, - "TriggerRolloverRequest": { - "type": "object", - "description": "Trigger Rollover Request.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Certificate Data" - } - } - }, - "RegisteredServerCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerCreateParametersProperties", - "description": "The parameters used to create the registered server." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Get", + "description": "Get a ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Get": { + "$ref": "./examples/ServerEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a registered server." - }, - "RegisteredServerCreateParametersProperties": { - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - } - } - }, - "ServerEndpointUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointUpdateProperties", - "description": "The properties of the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Delete", + "description": "Delete a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Delete": { + "$ref": "./examples/ServerEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_ListBySyncGroup", + "description": "Get a ServerEndpoint list.", + "x-ms-examples": { + "ServerEndpoints_ListBySyncGroup": { + "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Server Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/ServerEndpointArray" }, - "description": "Parameters for updating an Server Endpoint." - }, - "ServerEndpoint": { - "type": "object", - "description": "Server Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointProperties", - "description": "Server Endpoint properties." - } - } - }, - "RegisteredServer": { - "type": "object", - "description": "Registered Server resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerProperties", - "description": "RegisteredServer properties." - } - } - }, - "ResourcesMoveInfo": { - "type": "object", - "description": "Resource Move Info.", - "properties": { - "targetResourceGroup": { - "type": "string", - "description": "Target resource group." - }, - "resources": { - "type": "array", - "description": "Collection of Resources.", - "items": { - "$ref": "#/definitions/ResourceId" - } - } - } - }, - "Workflow": { - "type": "object", - "description": "Workflow resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "Workflow properties." - } - } - }, - "OperationEntityListResult": { - "description": "The list of storage sync operations.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - }, - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - } - } - }, - "OperationEntity": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by storage sync." - }, - "origin": { - "type": "string", - "description": "The origin." - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Microsoft StorageSync.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "OperationDisplayResource": { - "type": "object", - "description": "Operation Display Resource object.", - "properties": { - "provider": { - "type": "string", - "description": "Operation Display Resource Provider." - }, - "resource": { - "type": "string", - "description": "Operation Display Resource." - }, - "operation": { - "type": "string", - "description": "Operation Display Resource Operation." - }, - "description": { - "type": "string", - "description": "Operation Display Resource Description." - } - } - }, - "CheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name to check for availability" - }, - "type": { - "type": "string", - "enum": ["Microsoft.StorageSync/storageSyncServices"], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Recall Action object.", + "required": true, + "schema": { + "$ref": "#/definitions/RecallActionParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource", + "Actions" + ], + "operationId": "ServerEndpoints_recallAction", + "description": "Recall a server endpoint.", + "x-ms-examples": { + "ServerEndpoints_recallAction": { + "$ref": "./examples/ServerEndpoints_Recall.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_ListByStorageSyncService", + "description": "Get a given registered server list.", + "x-ms-examples": { + "RegisteredServers_ListByStorageSyncService": { + "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Registered Server resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/RegisteredServerArray" }, - "required": [ - "name", - "type" - ], - "description": "Parameters for a check name availability request." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "NameAvailabilityReason", - "modelAsString": false - }, - "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Get", + "description": "Get a given registered server.", + "x-ms-examples": { + "RegisteredServers_Get": { + "$ref": "./examples/RegisteredServers_Get.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "description": "The CheckNameAvailability operation response." - }, - "PostRestoreRequest": { - "type": "object", - "description": "Post Restore Request", - "properties": { - "partition": { - "type": "string", - "description": "Post Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Post Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Post Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Post Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Post Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Post Restore Azure source azure file share uri." - }, - "failedFileList": { - "type": "string", - "description": "Post Restore Azure failed file list." - }, - "restoreFileSpec": { - "type": "array", - "description": "Post Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Post Restore restore file spec items array." - } - } - } - }, - "PreRestoreRequest": { - "type": "object", - "description": "Pre Restore request object.", - "properties": { - "partition": { - "type": "string", - "description": "Pre Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Pre Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Pre Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Pre Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure source azure file share uri." - }, - "backupMetadataPropertyBag": { - "type": "string", - "description": "Pre Restore backup metadata property bag." - }, - "restoreFileSpec": { - "type": "array", - "description": "Pre Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Pre Restore restore file spec items array." - } - }, - "pauseWaitForSyncDrainTimePeriodInSeconds": { - "type": "integer", - "description": "Pre Restore pause wait for sync drain time period in seconds." - } - } - }, - "BackupRequest": { - "type": "object", - "description": "Backup request", - "properties": { - "azureFileShare": { - "type": "string", - "description": "Azure File Share." - } - } - }, - "PostBackupResponse": { - "type": "object", - "description": "Post Backup Response", - "properties": { - "backupMetadata": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PostBackupResponseProperties", - "description": "Post Backup Response Properties" - } - } - }, - "RestoreFileSpec": { - "type": "object", - "description": "Restore file spec.", - "properties": { - "path": { - "type": "string", - "description": "Restore file spec path" - }, - "isdir": { - "type": "boolean", - "description": "Restore file spec isdir", - "readOnly": true - } - } - }, - "StorageSyncServiceArray": { - "type": "object", - "description": "Array of StorageSyncServices", - "properties": { - "value": { - "type": "array", - "description": "Collection of StorageSyncServices.", - "items": { - "$ref": "#/definitions/StorageSyncService" - } - } - } - }, - "SyncGroupArray": { - "type": "object", - "description": "Array of SyncGroup", - "properties": { - "value": { - "type": "array", - "description": "Collection of SyncGroup.", - "items": { - "$ref": "#/definitions/SyncGroup" - } - } - } - }, - "CloudEndpointArray": { - "type": "object", - "description": "Array of CloudEndpoint", - "properties": { - "value": { - "type": "array", - "description": "Collection of CloudEndpoint.", - "items": { - "$ref": "#/definitions/CloudEndpoint" - } - } - } - }, - "ServerEndpointArray": { - "description": "Array of ServerEndpoint", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of ServerEndpoint.", - "items": { - "$ref": "#/definitions/ServerEndpoint" - } - } - } - }, - "RegisteredServerArray": { - "description": "Array of RegisteredServer", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of Registered Server.", - "items": { - "$ref": "#/definitions/RegisteredServer" - } - } - } - }, - "WorkflowArray": { - "description": "Array of Workflow", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of workflow items.", - "items": { - "$ref": "#/definitions/Workflow" - } - } - } - }, - "SubscriptionStateProperties": { - "type": "object", - "description": "Subscription State properties." - }, - "PostBackupResponseProperties": { - "type": "object", - "description": "Post Backup Response Properties object.", - "properties": { - "cloudEndpointName": { - "type": "string", - "description": "cloud endpoint Name.", - "readOnly": true - } - } - }, - "StorageSyncServiceUpdateParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the storage sync service." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceUpdateProperties", - "description": "The properties of the storage sync service." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Registered Server object.", + "required": true, + "schema": { + "$ref": "#/definitions/RegisteredServerCreateParameters" + } + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Create", + "description": "Add a new registered server.", + "x-ms-examples": { + "RegisteredServers_Create": { + "$ref": "./examples/RegisteredServers_Create.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "description": "Parameters for updating an Storage sync service." - }, - "StorageSyncServiceUpdateProperties": { - "type": "object", - "description": "Storage Sync Service Update Properties object.", - "properties": {} - }, - "StorageSyncServiceProperties": { - "type": "object", - "description": "Storage Sync Service Properties object.", - "properties": { - "storageSyncServiceStatus": { - "type": "integer", - "description": "Storage Sync service status.", - "readOnly": true - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Storage Sync service Uid", - "readOnly": true - } - } - }, - "WorkflowProperties": { - "type": "object", - "description": "Workflow Properties object.", - "properties": { - "lastStepName": { - "type": "string", - "description": "last step name" - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "workflow status." - }, - "operation": { - "$ref": "#/definitions/OperationDirection", - "description": "operation direction." - }, - "steps": { - "type": "string", - "description": "workflow steps" - }, - "lastOperationId": { - "type": "string", - "description": "workflow last operation identifier." - } - } - }, - "SyncGroupProperties": { - "type": "object", - "description": "SyncGroup Properties object.", - "properties": { - "uniqueId": { - "type": "string", - "description": "Unique Id" - }, - "syncGroupStatus": { - "type": "string", - "description": "Sync group status", - "readOnly": true - } - } - }, - "RegisteredServerProperties": { - "type": "object", - "description": "RegisteredServer Properties object.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverManagementtErrorCode": { - "type": "integer", - "description": "Registered Server Management Error Code" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "provisioningState": { - "type": "string", - "description": "Registered Server Provisioning State" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Registered Server storageSyncServiceUid" - }, - "lastWorkflowId": { - "type": "string", - "description": "Registered Server lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "discoveryEndpointUri": { - "type": "string", - "description": "Resource discoveryEndpointUri" - }, - "resourceLocation": { - "type": "string", - "description": "Resource Location" - }, - "serviceLocation": { - "type": "string", - "description": "Service Location" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "managementEndpointUri": { - "type": "string", - "description": "Management Endpoint Uri" - }, - "monitoringConfiguration": { - "type": "string", - "description": "Monitoring Configuration" - } - } - }, - "CloudEndpointProperties": { - "type": "object", - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - }, - "partnershipId": { - "type": "string", - "description": "Partnership Id" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "backupEnabled": { - "type": "boolean", - "description": "Backup Enabled", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "description": "CloudEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "CloudEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - } - } - }, - "ServerEndpointUpdateProperties": { - "type": "object", - "description": "ServerEndpoint Update Properties object.", - "properties": { - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - } - } - }, - "ServerEndpointProperties": { - "type": "object", - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "provisioningState": { - "type": "string", - "description": "ServerEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "ServerEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "syncStatus": { - "type": "object", - "description": "Sync Health Status" - } - } - }, - "PhysicalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "ResourceId": { - "type": "string", - "description": "Arm resource identifier." + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Delete", + "description": "Delete the given registered server.", + "x-ms-examples": { + "RegisteredServers_Delete": { + "$ref": "./examples/RegisteredServers_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } }, - "TagsObject": { - "type": "object", - "description": "Tags object." + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "Server Id", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Trigger Rollover request.", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerRolloverRequest" + } + } + ], + "tags": [ + "RegisteredServer Resource", + "Actions" + ], + "operationId": "RegisteredServers_triggerRollover", + "description": "Triggers Server certificate rollover.", + "x-ms-examples": { + "RegisteredServers_triggerRollover": { + "$ref": "./examples/RegisteredServers_TriggerRollover.json" + } + }, + "responses": { + "200": { + "description": "Trigger Rollover success status", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } }, - "FeatureStatus": { - "type": "string", - "description": "Type of the Feature Status", - "enum": [ - "on", - "off" - ] + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_ListByStorageSyncService", + "description": "Get a Workflow List", + "x-ms-examples": { + "Workflows_ListByStorageSyncService": { + "$ref": "./examples/Workflows_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Workflow resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/WorkflowArray" + }, + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } }, - "WorkflowStatus": { - "type": "string", - "description": "Type of the Workflow Status", - "enum": [ - "active", - "expired", - "succeeded", - "aborted", - "failed" - ] - }, - "OperationDirection": { - "type": "string", - "description": "Type of the Operation Direction", - "enum": [ - "do", - "undo", - "cancel" - ] - }, - "ProgressType": { - "type": "string", - "description": "Type of the ProgressType", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }] -} \ No newline at end of file + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_Get", + "description": "Get Workflows resource", + "x-ms-examples": { + "Workflows_Get": { + "$ref": "./examples/Workflows_Get.json" + } + }, + "responses": { + "200": { + "description": "Workflow object", + "schema": { + "$ref": "#/definitions/Workflow" + }, + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource", + "Actions" + ], + "operationId": "Workflows_Abort", + "description": "Abort the given workflow.", + "x-ms-examples": { + "Workflows_Abort": { + "$ref": "./examples/Workflows_Abort.json" + } + }, + "responses": { + "200": { + "description": "success", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + } + }, + "definitions": { + "StorageSyncError": { + "type": "object", + "description": "Error type", + "properties": { + "error": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + }, + "innererror": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncApiError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + }, + "details": { + "$ref": "#/definitions/StorageSyncErrorDetails", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncErrorDetails": { + "type": "object", + "description": "Error Details object.", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given entry." + } + } + }, + "SubscriptionState": { + "type": "object", + "description": "Subscription State object.", + "properties": { + "state": { + "type": "string", + "description": "State of Azure Subscription", + "enum": [ + "Registered", + "Unregistered", + "Warned", + "Suspended", + "Deleted" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": true + } + }, + "istransitioning": { + "type": "boolean", + "description": "Is Transitioning", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionStateProperties", + "description": "Subscription state properties." + } + } + }, + "StorageSyncService": { + "type": "object", + "description": "Storage Sync Service object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceProperties", + "description": "Storage Sync Service properties." + } + } + }, + "SyncGroup": { + "type": "object", + "description": "Sync Group object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupProperties", + "description": "SyncGroup properties." + } + } + }, + "CloudEndpoint": { + "type": "object", + "description": "Cloud Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointProperties", + "description": "Cloud Endpoint properties." + } + } + }, + "RecallActionParameters": { + "properties": { + "pattern": { + "type": "string", + "description": "Pattern of the files." + }, + "recallPath": { + "type": "string", + "description": "Recall path." + } + }, + "description": "The parameters used when calling recall action on server endpoint." + }, + "StorageSyncServiceCreateParameters": { + "properties": { + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." + }, + "properties": {} + }, + "required": [ + "location" + ], + "description": "The parameters used when creating a storage sync service." + }, + "SyncGroupCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupCreateParametersProperties", + "description": "The parameters used to create the sync group" + } + }, + "description": "The parameters used when creating a sync group." + }, + "SyncGroupCreateParametersProperties": { + "type": "object", + "description": "Sync Group Create Properties object.", + "properties": {} + }, + "CloudEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointCreateParametersProperties", + "description": "The parameters used to create the cloud endpoint." + } + }, + "description": "The parameters used when creating a cloud endpoint." + }, + "CloudEndpointCreateParametersProperties": { + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "storageAccountShareName": { + "type": "string", + "description": "Storage Account Share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + } + } + }, + "ServerEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointCreateParametersProperties", + "description": "The parameters used to create the server endpoint." + } + }, + "description": "The parameters used when creating a server endpoint." + }, + "ServerEndpointCreateParametersProperties": { + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + } + } + }, + "TriggerRolloverRequest": { + "type": "object", + "description": "Trigger Rollover Request.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Certificate Data" + } + } + }, + "RegisteredServerCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerCreateParametersProperties", + "description": "The parameters used to create the registered server." + } + }, + "description": "The parameters used when creating a registered server." + }, + "RegisteredServerCreateParametersProperties": { + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + } + } + }, + "ServerEndpointUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointUpdateProperties", + "description": "The properties of the server endpoint." + } + }, + "description": "Parameters for updating an Server Endpoint." + }, + "ServerEndpoint": { + "type": "object", + "description": "Server Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointProperties", + "description": "Server Endpoint properties." + } + } + }, + "RegisteredServer": { + "type": "object", + "description": "Registered Server resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerProperties", + "description": "RegisteredServer properties." + } + } + }, + "ResourcesMoveInfo": { + "type": "object", + "description": "Resource Move Info.", + "properties": { + "targetResourceGroup": { + "type": "string", + "description": "Target resource group." + }, + "resources": { + "type": "array", + "description": "Collection of Resources.", + "items": { + "$ref": "#/definitions/ResourceId" + } + } + } + }, + "Workflow": { + "type": "object", + "description": "Workflow resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "Workflow properties." + } + } + }, + "OperationEntityListResult": { + "description": "The list of storage sync operations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + }, + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + } + } + }, + "OperationEntity": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by storage sync." + }, + "origin": { + "type": "string", + "description": "The origin." + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Microsoft StorageSync.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "OperationDisplayResource": { + "type": "object", + "description": "Operation Display Resource object.", + "properties": { + "provider": { + "type": "string", + "description": "Operation Display Resource Provider." + }, + "resource": { + "type": "string", + "description": "Operation Display Resource." + }, + "operation": { + "type": "string", + "description": "Operation Display Resource Operation." + }, + "description": { + "type": "string", + "description": "Operation Display Resource Description." + } + } + }, + "CheckNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string", + "description": "The name to check for availability" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageSync/storageSyncServices" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" + } + }, + "required": [ + "name", + "type" + ], + "description": "Parameters for a check name availability request." + }, + "CheckNameAvailabilityResult": { + "properties": { + "nameAvailable": { + "readOnly": true, + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." + }, + "reason": { + "readOnly": true, + "type": "string", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "NameAvailabilityReason", + "modelAsString": false + }, + "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail." + } + }, + "description": "The CheckNameAvailability operation response." + }, + "PostRestoreRequest": { + "type": "object", + "description": "Post Restore Request", + "properties": { + "partition": { + "type": "string", + "description": "Post Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Post Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Post Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Post Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Post Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Post Restore Azure source azure file share uri." + }, + "failedFileList": { + "type": "string", + "description": "Post Restore Azure failed file list." + }, + "restoreFileSpec": { + "type": "array", + "description": "Post Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Post Restore restore file spec items array." + } + } + } + }, + "PreRestoreRequest": { + "type": "object", + "description": "Pre Restore request object.", + "properties": { + "partition": { + "type": "string", + "description": "Pre Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Pre Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Pre Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Pre Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure source azure file share uri." + }, + "backupMetadataPropertyBag": { + "type": "string", + "description": "Pre Restore backup metadata property bag." + }, + "restoreFileSpec": { + "type": "array", + "description": "Pre Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Pre Restore restore file spec items array." + } + }, + "pauseWaitForSyncDrainTimePeriodInSeconds": { + "type": "integer", + "description": "Pre Restore pause wait for sync drain time period in seconds." + } + } + }, + "BackupRequest": { + "type": "object", + "description": "Backup request", + "properties": { + "azureFileShare": { + "type": "string", + "description": "Azure File Share." + } + } + }, + "PostBackupResponse": { + "type": "object", + "description": "Post Backup Response", + "properties": { + "backupMetadata": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PostBackupResponseProperties", + "description": "Post Backup Response Properties" + } + } + }, + "RestoreFileSpec": { + "type": "object", + "description": "Restore file spec.", + "properties": { + "path": { + "type": "string", + "description": "Restore file spec path" + }, + "isdir": { + "type": "boolean", + "description": "Restore file spec isdir", + "readOnly": true + } + } + }, + "StorageSyncServiceArray": { + "type": "object", + "description": "Array of StorageSyncServices", + "properties": { + "value": { + "type": "array", + "description": "Collection of StorageSyncServices.", + "items": { + "$ref": "#/definitions/StorageSyncService" + } + } + } + }, + "SyncGroupArray": { + "type": "object", + "description": "Array of SyncGroup", + "properties": { + "value": { + "type": "array", + "description": "Collection of SyncGroup.", + "items": { + "$ref": "#/definitions/SyncGroup" + } + } + } + }, + "CloudEndpointArray": { + "type": "object", + "description": "Array of CloudEndpoint", + "properties": { + "value": { + "type": "array", + "description": "Collection of CloudEndpoint.", + "items": { + "$ref": "#/definitions/CloudEndpoint" + } + } + } + }, + "ServerEndpointArray": { + "description": "Array of ServerEndpoint", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of ServerEndpoint.", + "items": { + "$ref": "#/definitions/ServerEndpoint" + } + } + } + }, + "RegisteredServerArray": { + "description": "Array of RegisteredServer", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of Registered Server.", + "items": { + "$ref": "#/definitions/RegisteredServer" + } + } + } + }, + "WorkflowArray": { + "description": "Array of Workflow", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of workflow items.", + "items": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "SubscriptionStateProperties": { + "type": "object", + "description": "Subscription State properties." + }, + "PostBackupResponseProperties": { + "type": "object", + "description": "Post Backup Response Properties object.", + "properties": { + "cloudEndpointName": { + "type": "string", + "description": "cloud endpoint Name.", + "readOnly": true + } + } + }, + "StorageSyncServiceUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the storage sync service." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceUpdateProperties", + "description": "The properties of the storage sync service." + } + }, + "description": "Parameters for updating an Storage sync service." + }, + "StorageSyncServiceUpdateProperties": { + "type": "object", + "description": "Storage Sync Service Update Properties object.", + "properties": {} + }, + "StorageSyncServiceProperties": { + "type": "object", + "description": "Storage Sync Service Properties object.", + "properties": { + "storageSyncServiceStatus": { + "type": "integer", + "description": "Storage Sync service status.", + "readOnly": true + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Storage Sync service Uid", + "readOnly": true + } + } + }, + "WorkflowProperties": { + "type": "object", + "description": "Workflow Properties object.", + "properties": { + "lastStepName": { + "type": "string", + "description": "last step name" + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "workflow status." + }, + "operation": { + "$ref": "#/definitions/OperationDirection", + "description": "operation direction." + }, + "steps": { + "type": "string", + "description": "workflow steps" + }, + "lastOperationId": { + "type": "string", + "description": "workflow last operation identifier." + } + } + }, + "SyncGroupProperties": { + "type": "object", + "description": "SyncGroup Properties object.", + "properties": { + "uniqueId": { + "type": "string", + "description": "Unique Id" + }, + "syncGroupStatus": { + "type": "string", + "description": "Sync group status", + "readOnly": true + } + } + }, + "RegisteredServerProperties": { + "type": "object", + "description": "RegisteredServer Properties object.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "serverManagementtErrorCode": { + "type": "integer", + "description": "Registered Server Management Error Code" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "provisioningState": { + "type": "string", + "description": "Registered Server Provisioning State" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Registered Server storageSyncServiceUid" + }, + "lastWorkflowId": { + "type": "string", + "description": "Registered Server lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "discoveryEndpointUri": { + "type": "string", + "description": "Resource discoveryEndpointUri" + }, + "resourceLocation": { + "type": "string", + "description": "Resource Location" + }, + "serviceLocation": { + "type": "string", + "description": "Service Location" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "managementEndpointUri": { + "type": "string", + "description": "Management Endpoint Uri" + }, + "monitoringConfiguration": { + "type": "string", + "description": "Monitoring Configuration" + } + } + }, + "CloudEndpointProperties": { + "type": "object", + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "storageAccountShareName": { + "type": "string", + "description": "Storage Account Share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + }, + "partnershipId": { + "type": "string", + "description": "Partnership Id" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "backupEnabled": { + "type": "boolean", + "description": "Backup Enabled", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "CloudEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "CloudEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + } + } + }, + "ServerEndpointUpdateProperties": { + "type": "object", + "description": "ServerEndpoint Update Properties object.", + "properties": { + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + } + } + }, + "ServerEndpointProperties": { + "type": "object", + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "provisioningState": { + "type": "string", + "description": "ServerEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "ServerEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "syncStatus": { + "type": "object", + "description": "Sync Health Status" + } + } + }, + "PhysicalPath": { + "type": "string", + "description": "Server folder used for data synchronization" + }, + "ResourceId": { + "type": "string", + "description": "Arm resource identifier." + }, + "TagsObject": { + "type": "object", + "description": "Tags object." + }, + "FeatureStatus": { + "type": "string", + "description": "Type of the Feature Status", + "enum": [ + "on", + "off" + ] + }, + "WorkflowStatus": { + "type": "string", + "description": "Type of the Workflow Status", + "enum": [ + "active", + "expired", + "succeeded", + "aborted", + "failed" + ] + }, + "OperationDirection": { + "type": "string", + "description": "Type of the Operation Direction", + "enum": [ + "do", + "undo", + "cancel" + ] + }, + "ProgressType": { + "type": "string", + "description": "Type of the ProgressType", + "enum": [ + "none", + "initialize", + "download", + "upload", + "recall" + ] + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Create.json index ee40a99d1ced..cd58d3ea2262 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Create.json @@ -1,52 +1,52 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-10-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-10-01", - "parameters": { - "properties": { - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "backupEnabled" : "false", - "provisioningState": "Succeeded", - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "backupEnabled": "false", + "provisioningState": "Succeeded", + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "storageAccountShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Delete.json index d8108a1e2628..70b5496af6f3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-10-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Get.json index e9c6a0210475..66b25efbdb43 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_ListBySyncGroup.json index 97e59243a4a3..be99dd1118d8 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,34 +1,36 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "storageAccountShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "storageAccountShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostBackup.json index f426b8a091eb..d168699bd921 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2018-10-01" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-10-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2018-10-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostRestore.json index 301f8b4c4626..c7e21dd7a377 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreBackup.json index 91c96e444650..335a18d93d6e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "api-version": "2018-10-01", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + "parameters": { + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreRestore.json index c9e86428f4db..d450193c3b47 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-10-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-10-01", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2018-10-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_RestoreHeatbeat.json index ed0fa8ad8438..449ec1d3cf59 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json index 1cd542994397..3a3f072b5685 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Create.json index 2f6dd2b5a4d5..edcf982b449f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Create.json @@ -1,62 +1,62 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverManagementErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2018-10-01" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverManagementErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Delete.json index 2aa6677150ca..a601f447a606 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Delete.json @@ -1,28 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2018-10-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Get.json index c10b6ac63643..a06934122f74 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_Get.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_ListByStorageSyncService.json index 4513ae03609d..091aced1639e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,42 +1,44 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_TriggerRollover.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_TriggerRollover.json index 741873ba1a59..a569e2737176 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_TriggerRollover.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/RegisteredServers_TriggerRollover.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "d166ca76-dad2-49df-b409-12345642d730", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "d166ca76-dad2-49df-b409-12345642d730", - "parameters": { - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" - }, - "api-version": "2018-10-01" + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Create.json index 3c873c5a91e1..77f73d17f004 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Create.json @@ -1,60 +1,60 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays": 0, - "offlineDataTransfer": "on", - "offlineDataTransferShareName": "myfileshare" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2018-10-01" + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "on", + "offlineDataTransferShareName": "myfileshare" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": null, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": null, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Delete.json index e98d72d2f7f4..4b5f7a2b5280 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-10-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Get.json index 1f4d3fcd3c08..b2df94b7449a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Get.json @@ -1,58 +1,58 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_ListBySyncGroup.json index 82ead36534fb..a014adb21b1d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,95 +1,98 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_2", - "cloudTiering": "on", - "volumeFreeSpacePercent": 80, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 5, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Healthy", - "combinedHealth": "Healthy", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "off" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_2", + "cloudTiering": "on", + "volumeFreeSpacePercent": 80, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 5, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Healthy", + "combinedHealth": "Healthy", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 + }, + "currentProgress": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "off" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Recall.json index 822648c210e1..25dc953d12a0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Recall.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2018-10-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2018-10-01", - "parameters": { - "pattern": "", - "recallPath": "" - } + "pattern": "", + "recallPath": "" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Update.json index 191dc27c285e..99b9a73eb539 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/ServerEndpoints_Update.json @@ -1,76 +1,76 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays" : 0, - "offlineDataTransfer": "off" - } - }, - "api-version": "2018-10-01" + "properties": { + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "off" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "tierFilesOlderThanDays": 0, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 69 + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0 }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "tierFilesOlderThanDays": 0, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 69 - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0 - }, - "currentProgress": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "off", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "currentProgress": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "off", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-10-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-10-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-10-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2018-10-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json index 4a6791d4eb02..f0788db8f892 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -1,20 +1,20 @@ { + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2018-10-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "An account named 'newstoragesyncservicename' is already in use." - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "An account named 'newstoragesyncservicename' is already in use." + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_Available.json index ebbb297ec612..be52b6cd7a73 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_Available.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -1,18 +1,18 @@ { + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2018-10-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Create.json index 7e1a3d40a951..2bdb1af39749 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {} - }, - "api-version": "2018-10-01" + "location": "WestUS", + "tags": {}, + "properties": {} }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Delete.json index 842ca3022ae4..2c75c0ec1597 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Get.json index ec7ad30699f4..b61c162863a0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListByResourceGroup.json index c8a4eed062ac..4b94adf9d5f8 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListBySubscription.json index 90a7c1889ad4..2994f67fc506 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Update.json index c87a5bdb26b3..9592bc2e1440 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/StorageSyncServices_Update.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-10-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-10-01", - "parameters": { - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {} } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Create.json index 6ed4695412b1..69e6f6b935de 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Delete.json index e38d69d301dd..32e0b2767a22 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Get.json index 88e3f9357511..6223843c2706 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_ListByStorageSyncService.json index d16112052d9c..85b2b278ee48 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Abort.json index 2325f07cd2cf..57e3d7fcba72 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Get.json index d58e5a85339d..6bdb4bc88634 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_ListByStorageSyncService.json index e31db2d79c0d..d5997551cc37 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Workflows_ListByStorageSyncService.json @@ -1,30 +1,32 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2018-10-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" }, - "body": { - "value": [{ - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/storagesync.json index 24d14b9204f9..114a64c8a422 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/storagesync.json @@ -1,3583 +1,3826 @@ { - "swagger": "2.0", - "info": { - "title": "Microsoft Storage Sync", - "description": "Microsoft Storage Sync Service API", - "version": "2018-10-01", - "x-ms-code-generation-settings": { - "name": "StorageSyncManagementClient" - } - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.StorageSync/operations": { - "get": { - "tags": [ - "ResourceProvider", - "Operations" - ], - "operationId": "Operations_List", - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "description": "Lists all of the available Storage Sync Rest API operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "responses": { - "200": { - "description": "Array of operations resources in the Resource Provider", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "deprecated": false, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { - "post": { - "tags": [ - "StorageSyncService" - ], - "operationId": "StorageSyncServices_CheckNameAvailability", - "x-ms-examples": { - "StorageSyncServiceCheckNameAvailability_Available": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" - }, - "StorageSyncServiceCheckNameAvailability_AlreadyExists": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" - } - }, - "description": "Check the give namespace name availability.", - "parameters": [{ - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region for the name check." - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - }, - "description": "Parameters to check availability of the given namespace name" - }], - "responses": { - "200": { - "description": "check availability returned successfully.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource name.", - "required": true, - "schema": { - "$ref": "#/definitions/StorageSyncServiceCreateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Create", - "description": "Create a new StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Create": { - "$ref": "./examples/StorageSyncServices_Create.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "swagger": "2.0", + "info": { + "title": "Microsoft Storage Sync", + "description": "Microsoft Storage Sync Service API", + "version": "2018-10-01", + "x-ms-code-generation-settings": { + "name": "StorageSyncManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.StorageSync/operations": { + "get": { + "tags": [ + "ResourceProvider", + "Operations" + ], + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "description": "Lists all of the available Storage Sync Rest API operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "responses": { + "200": { + "description": "Array of operations resources in the Resource Provider", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Get", - "description": "Get a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Get": { - "$ref": "./examples/StorageSyncServices_Get.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { + "post": { + "tags": [ + "StorageSyncService" + ], + "operationId": "StorageSyncServices_CheckNameAvailability", + "x-ms-examples": { + "StorageSyncServiceCheckNameAvailability_Available": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" + }, + "StorageSyncServiceCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" + } + }, + "description": "Check the give namespace name availability.", + "parameters": [ + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The desired region for the name check." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceUpdateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Update", - "description": "Patch a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Update": { - "$ref": "./examples/StorageSyncServices_Update.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "description": "Parameters to check availability of the given namespace name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource name.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageSyncServiceCreateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Create", + "description": "Create a new StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Create": { + "$ref": "./examples/StorageSyncServices_Create.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Get", + "description": "Get a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Get": { + "$ref": "./examples/StorageSyncServices_Get.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Delete", - "description": "Delete a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Delete": { - "$ref": "./examples/StorageSyncServices_Delete.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object was deleted.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Storage Sync Service Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListByResourceGroup", - "description": "Get a StorageSyncService list by Resource group name.", - "x-ms-examples": { - "StorageSyncServices_ListByResourceGroup": { - "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the Resource Group", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListBySubscription", - "description": "Get a StorageSyncService list by subscription.", - "x-ms-examples": { - "StorageSyncServices_ListBySubscription": { - "$ref": "./examples/StorageSyncServices_ListBySubscription.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the subscription.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_ListByStorageSyncService", - "description": "Get a SyncGroup List.", - "x-ms-examples": { - "SyncGroups_ListByStorageSyncService": { - "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Sync Group resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/SyncGroupArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Sync Group Body", - "required": true, - "schema": { - "$ref": "#/definitions/SyncGroupCreateParameters" - } - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Create", - "description": "Create a new SyncGroup.", - "x-ms-examples": { - "SyncGroups_Create": { - "$ref": "./examples/SyncGroups_Create.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceUpdateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Update", + "description": "Patch a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Update": { + "$ref": "./examples/StorageSyncServices_Update.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Get", - "description": "Get a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Get": { - "$ref": "./examples/SyncGroups_Get.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Delete", + "description": "Delete a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Delete": { + "$ref": "./examples/StorageSyncServices_Delete.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object was deleted.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Storage Sync Service Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListByResourceGroup", + "description": "Get a StorageSyncService list by Resource group name.", + "x-ms-examples": { + "StorageSyncServices_ListByResourceGroup": { + "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the Resource Group", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Delete", - "description": "Delete a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Delete": { - "$ref": "./examples/SyncGroups_Delete.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object was deleted", - "headers": { - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint resource.", - "required": true, - "schema": { - "$ref": "#/definitions/CloudEndpointCreateParameters" - } - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Create", - "description": "Create a new CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Create": { - "$ref": "./examples/CloudEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListBySubscription", + "description": "Get a StorageSyncService list by subscription.", + "x-ms-examples": { + "StorageSyncServices_ListBySubscription": { + "$ref": "./examples/StorageSyncServices_ListBySubscription.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the subscription.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Get", - "description": "Get a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Get": { - "$ref": "./examples/CloudEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_ListByStorageSyncService", + "description": "Get a SyncGroup List.", + "x-ms-examples": { + "SyncGroups_ListByStorageSyncService": { + "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Sync Group resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/SyncGroupArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Delete", - "description": "Delete a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Delete": { - "$ref": "./examples/CloudEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_ListBySyncGroup", - "description": "Get a CloudEndpoint List.", - "x-ms-examples": { - "CloudEndpoints_ListBySyncGroup": { - "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Cloud Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/CloudEndpointArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreBackup", - "description": "Pre Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreBackup": { - "$ref": "./examples/CloudEndpoints_PreBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostBackup", - "description": "Post Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostBackup": { - "$ref": "./examples/CloudEndpoints_PostBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/PostBackupResponse" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PreRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreRestore", - "description": "Pre Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreRestore": { - "$ref": "./examples/CloudEndpoints_PreRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_restoreheartbeat", - "description": "Restore Heartbeat a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_restoreheartbeat": { - "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" - } - }, - "responses": { - "200": { - "description": "Restore Heartbeat Operation has ran successfully.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PostRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostRestore", - "description": "Post Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostRestore": { - "$ref": "./examples/CloudEndpoints_PostRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Server Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerEndpointCreateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Create", - "description": "Create a new ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Create": { - "$ref": "./examples/ServerEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Sync Group Body", + "required": true, + "schema": { + "$ref": "#/definitions/SyncGroupCreateParameters" + } + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Create", + "description": "Create a new SyncGroup.", + "x-ms-examples": { + "SyncGroups_Create": { + "$ref": "./examples/SyncGroups_Create.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Any of the properties applicable in PUT request.", - "schema": { - "$ref": "#/definitions/ServerEndpointUpdateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Update", - "description": "Patch a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Update": { - "$ref": "./examples/ServerEndpoints_Update.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Get", + "description": "Get a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Get": { + "$ref": "./examples/SyncGroups_Get.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Get", - "description": "Get a ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Get": { - "$ref": "./examples/ServerEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Delete", + "description": "Delete a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Delete": { + "$ref": "./examples/SyncGroups_Delete.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object was deleted", + "headers": { + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint resource.", + "required": true, + "schema": { + "$ref": "#/definitions/CloudEndpointCreateParameters" + } + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Create", + "description": "Create a new CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Create": { + "$ref": "./examples/CloudEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Delete", - "description": "Delete a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Delete": { - "$ref": "./examples/ServerEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_ListBySyncGroup", - "description": "Get a ServerEndpoint list.", - "x-ms-examples": { - "ServerEndpoints_ListBySyncGroup": { - "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Server Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/ServerEndpointArray" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Recall Action object.", - "required": true, - "schema": { - "$ref": "#/definitions/RecallActionParameters" - } - }], - "tags": [ - "ServerEndpoint Resource", - "Actions" - ], - "operationId": "ServerEndpoints_recallAction", - "description": "Recall a server endpoint.", - "x-ms-examples": { - "ServerEndpoints_recallAction": { - "$ref": "./examples/ServerEndpoints_Recall.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_ListByStorageSyncService", - "description": "Get a given registered server list.", - "x-ms-examples": { - "RegisteredServers_ListByStorageSyncService": { - "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Registered Server resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/RegisteredServerArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Get", - "description": "Get a given registered server.", - "x-ms-examples": { - "RegisteredServers_Get": { - "$ref": "./examples/RegisteredServers_Get.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Get", + "description": "Get a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Get": { + "$ref": "./examples/CloudEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Registered Server object.", - "required": true, - "schema": { - "$ref": "#/definitions/RegisteredServerCreateParameters" - } - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Create", - "description": "Add a new registered server.", - "x-ms-examples": { - "RegisteredServers_Create": { - "$ref": "./examples/RegisteredServers_Create.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Delete", + "description": "Delete a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Delete": { + "$ref": "./examples/CloudEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_ListBySyncGroup", + "description": "Get a CloudEndpoint List.", + "x-ms-examples": { + "CloudEndpoints_ListBySyncGroup": { + "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Cloud Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/CloudEndpointArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Delete", - "description": "Delete the given registered server.", - "x-ms-examples": { - "RegisteredServers_Delete": { - "$ref": "./examples/RegisteredServers_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "Server Id", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Trigger Rollover request.", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerRolloverRequest" - } - }], - "tags": [ - "RegisteredServer Resource", - "Actions" - ], - "operationId": "RegisteredServers_triggerRollover", - "description": "Triggers Server certificate rollover.", - "x-ms-examples": { - "RegisteredServers_triggerRollover": { - "$ref": "./examples/RegisteredServers_TriggerRollover.json" - } - }, - "responses": { - "200": { - "description": "Trigger Rollover success status", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_ListByStorageSyncService", - "description": "Get a Workflow List", - "x-ms-examples": { - "Workflows_ListByStorageSyncService": { - "$ref": "./examples/Workflows_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Workflow resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/WorkflowArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_Get", - "description": "Get Workflows resource", - "x-ms-examples": { - "Workflows_Get": { - "$ref": "./examples/Workflows_Get.json" - } - }, - "responses": { - "200": { - "description": "Workflow object", - "schema": { - "$ref": "#/definitions/Workflow" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource", - "Actions" - ], - "operationId": "Workflows_Abort", - "description": "Abort the given workflow.", - "x-ms-examples": { - "Workflows_Abort": { - "$ref": "./examples/Workflows_Abort.json" - } - }, - "responses": { - "200": { - "description": "success", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - } - }, - "definitions": { - "StorageSyncError": { - "type": "object", - "description": "Error type", - "properties": { - "error": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - }, - "innererror": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncApiError": { - "type": "object", - "description": "Error type", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given error entry." - }, - "details": { - "$ref": "#/definitions/StorageSyncErrorDetails", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncErrorDetails": { - "type": "object", - "description": "Error Details object.", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given entry." - } - } - }, - "SubscriptionState": { - "type": "object", - "description": "Subscription State object.", - "properties": { - "state": { - "type": "string", - "description": "State of Azure Subscription", - "enum": [ - "Registered", - "Unregistered", - "Warned", - "Suspended", - "Deleted" - ], - "x-ms-enum": { - "name": "Reason", - "modelAsString": true - } - }, - "istransitioning": { - "type": "boolean", - "description": "Is Transitioning", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SubscriptionStateProperties", - "description": "Subscription state properties." - } - } - }, - "StorageSyncService": { - "type": "object", - "description": "Storage Sync Service object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceProperties", - "description": "Storage Sync Service properties." - } - } - }, - "SyncGroup": { - "type": "object", - "description": "Sync Group object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupProperties", - "description": "SyncGroup properties." - } - } - }, - "CloudEndpoint": { - "type": "object", - "description": "Cloud Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointProperties", - "description": "Cloud Endpoint properties." - } - } - }, - "RecallActionParameters": { - "properties": { - "pattern": { - "type": "string", - "description": "Pattern of the files." - }, - "recallPath": { - "type": "string", - "description": "Recall path." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreBackup", + "description": "Pre Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreBackup": { + "$ref": "./examples/CloudEndpoints_PreBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostBackup", + "description": "Post Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostBackup": { + "$ref": "./examples/CloudEndpoints_PostBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "schema": { + "$ref": "#/definitions/PostBackupResponse" }, - "description": "The parameters used when calling recall action on server endpoint." - }, - "StorageSyncServiceCreateParameters": { - "properties": { - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "properties": {} + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PreRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreRestore", + "description": "Pre Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreRestore": { + "$ref": "./examples/CloudEndpoints_PreRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_restoreheartbeat", + "description": "Restore Heartbeat a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_restoreheartbeat": { + "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" + } + }, + "responses": { + "200": { + "description": "Restore Heartbeat Operation has ran successfully.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PostRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostRestore", + "description": "Post Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostRestore": { + "$ref": "./examples/CloudEndpoints_PostRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Server Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerEndpointCreateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Create", + "description": "Create a new ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Create": { + "$ref": "./examples/ServerEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "required": [ - "location" - ], - "description": "The parameters used when creating a storage sync service." - }, - "SyncGroupCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupCreateParametersProperties", - "description": "The parameters used to create the sync group" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Any of the properties applicable in PUT request.", + "schema": { + "$ref": "#/definitions/ServerEndpointUpdateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Update", + "description": "Patch a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Update": { + "$ref": "./examples/ServerEndpoints_Update.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a sync group." - }, - "SyncGroupCreateParametersProperties": { - "type": "object", - "description": "Sync Group Create Properties object.", - "properties": {} - }, - "CloudEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointCreateParametersProperties", - "description": "The parameters used to create the cloud endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Get", + "description": "Get a ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Get": { + "$ref": "./examples/ServerEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a cloud endpoint." - }, - "CloudEndpointCreateParametersProperties": { - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - } - }, - "ServerEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointCreateParametersProperties", - "description": "The parameters used to create the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Delete", + "description": "Delete a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Delete": { + "$ref": "./examples/ServerEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_ListBySyncGroup", + "description": "Get a ServerEndpoint list.", + "x-ms-examples": { + "ServerEndpoints_ListBySyncGroup": { + "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Server Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/ServerEndpointArray" }, - "description": "The parameters used when creating a server endpoint." - }, - "ServerEndpointCreateParametersProperties": { - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "TriggerRolloverRequest": { - "type": "object", - "description": "Trigger Rollover Request.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Certificate Data" - } - } - }, - "RegisteredServerCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerCreateParametersProperties", - "description": "The parameters used to create the registered server." - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Recall Action object.", + "required": true, + "schema": { + "$ref": "#/definitions/RecallActionParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource", + "Actions" + ], + "operationId": "ServerEndpoints_recallAction", + "description": "Recall a server endpoint.", + "x-ms-examples": { + "ServerEndpoints_recallAction": { + "$ref": "./examples/ServerEndpoints_Recall.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_ListByStorageSyncService", + "description": "Get a given registered server list.", + "x-ms-examples": { + "RegisteredServers_ListByStorageSyncService": { + "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Registered Server resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/RegisteredServerArray" }, - "description": "The parameters used when creating a registered server." - }, - "RegisteredServerCreateParametersProperties": { - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - } - } - }, - "ServerEndpointUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointUpdateProperties", - "description": "The properties of the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Get", + "description": "Get a given registered server.", + "x-ms-examples": { + "RegisteredServers_Get": { + "$ref": "./examples/RegisteredServers_Get.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "description": "Parameters for updating an Server Endpoint." - }, - "ServerEndpoint": { - "type": "object", - "description": "Server Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointProperties", - "description": "Server Endpoint properties." - } - } - }, - "RegisteredServer": { - "type": "object", - "description": "Registered Server resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerProperties", - "description": "RegisteredServer properties." - } - } - }, - "ResourcesMoveInfo": { - "type": "object", - "description": "Resource Move Info.", - "properties": { - "targetResourceGroup": { - "type": "string", - "description": "Target resource group." - }, - "resources": { - "type": "array", - "description": "Collection of Resources.", - "items": { - "$ref": "#/definitions/ResourceId" - } - } - } - }, - "Workflow": { - "type": "object", - "description": "Workflow resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "Workflow properties." - } - } - }, - "OperationEntityListResult": { - "description": "The list of storage sync operations.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - }, - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - } - } - }, - "OperationEntity": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by storage sync." - }, - "origin": { - "type": "string", - "description": "The origin." - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Microsoft StorageSync.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "OperationDisplayResource": { - "type": "object", - "description": "Operation Display Resource object.", - "properties": { - "provider": { - "type": "string", - "description": "Operation Display Resource Provider." - }, - "resource": { - "type": "string", - "description": "Operation Display Resource." - }, - "operation": { - "type": "string", - "description": "Operation Display Resource Operation." - }, - "description": { - "type": "string", - "description": "Operation Display Resource Description." - } - } - }, - "CheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name to check for availability" - }, - "type": { - "type": "string", - "enum": ["Microsoft.StorageSync/storageSyncServices"], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Registered Server object.", + "required": true, + "schema": { + "$ref": "#/definitions/RegisteredServerCreateParameters" + } + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Create", + "description": "Add a new registered server.", + "x-ms-examples": { + "RegisteredServers_Create": { + "$ref": "./examples/RegisteredServers_Create.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "required": [ - "name", - "type" - ], - "description": "Parameters for a check name availability request." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "NameAvailabilityReason", - "modelAsString": false - }, - "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Delete", + "description": "Delete the given registered server.", + "x-ms-examples": { + "RegisteredServers_Delete": { + "$ref": "./examples/RegisteredServers_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "Server Id", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Trigger Rollover request.", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerRolloverRequest" + } + } + ], + "tags": [ + "RegisteredServer Resource", + "Actions" + ], + "operationId": "RegisteredServers_triggerRollover", + "description": "Triggers Server certificate rollover.", + "x-ms-examples": { + "RegisteredServers_triggerRollover": { + "$ref": "./examples/RegisteredServers_TriggerRollover.json" + } + }, + "responses": { + "200": { + "description": "Trigger Rollover success status", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_ListByStorageSyncService", + "description": "Get a Workflow List", + "x-ms-examples": { + "Workflows_ListByStorageSyncService": { + "$ref": "./examples/Workflows_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Workflow resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/WorkflowArray" }, - "description": "The CheckNameAvailability operation response." - }, - "PostRestoreRequest": { - "type": "object", - "description": "Post Restore Request", - "properties": { - "partition": { - "type": "string", - "description": "Post Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Post Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Post Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Post Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Post Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Post Restore Azure source azure file share uri." - }, - "failedFileList": { - "type": "string", - "description": "Post Restore Azure failed file list." - }, - "restoreFileSpec": { - "type": "array", - "description": "Post Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Post Restore restore file spec items array." - } - } - } - }, - "PreRestoreRequest": { - "type": "object", - "description": "Pre Restore request object.", - "properties": { - "partition": { - "type": "string", - "description": "Pre Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Pre Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Pre Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Pre Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure source azure file share uri." - }, - "backupMetadataPropertyBag": { - "type": "string", - "description": "Pre Restore backup metadata property bag." - }, - "restoreFileSpec": { - "type": "array", - "description": "Pre Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Pre Restore restore file spec items array." - } - }, - "pauseWaitForSyncDrainTimePeriodInSeconds": { - "type": "integer", - "description": "Pre Restore pause wait for sync drain time period in seconds." - } - } - }, - "BackupRequest": { - "type": "object", - "description": "Backup request", - "properties": { - "azureFileShare": { - "type": "string", - "description": "Azure File Share." - } - } - }, - "PostBackupResponse": { - "type": "object", - "description": "Post Backup Response", - "properties": { - "backupMetadata": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PostBackupResponseProperties", - "description": "Post Backup Response Properties" - } - } - }, - "RestoreFileSpec": { - "type": "object", - "description": "Restore file spec.", - "properties": { - "path": { - "type": "string", - "description": "Restore file spec path" - }, - "isdir": { - "type": "boolean", - "description": "Restore file spec isdir", - "readOnly": true - } - } - }, - "StorageSyncServiceArray": { - "type": "object", - "description": "Array of StorageSyncServices", - "properties": { - "value": { - "type": "array", - "description": "Collection of StorageSyncServices.", - "items": { - "$ref": "#/definitions/StorageSyncService" - } - } - } - }, - "SyncGroupArray": { - "type": "object", - "description": "Array of SyncGroup", - "properties": { - "value": { - "type": "array", - "description": "Collection of SyncGroup.", - "items": { - "$ref": "#/definitions/SyncGroup" - } - } - } - }, - "CloudEndpointArray": { - "type": "object", - "description": "Array of CloudEndpoint", - "properties": { - "value": { - "type": "array", - "description": "Collection of CloudEndpoint.", - "items": { - "$ref": "#/definitions/CloudEndpoint" - } - } - } - }, - "ServerEndpointArray": { - "description": "Array of ServerEndpoint", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of ServerEndpoint.", - "items": { - "$ref": "#/definitions/ServerEndpoint" - } - } - } - }, - "RegisteredServerArray": { - "description": "Array of RegisteredServer", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of Registered Server.", - "items": { - "$ref": "#/definitions/RegisteredServer" - } - } - } - }, - "WorkflowArray": { - "description": "Array of Workflow", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of workflow items.", - "items": { - "$ref": "#/definitions/Workflow" - } - } - } - }, - "SubscriptionStateProperties": { - "type": "object", - "description": "Subscription State properties." - }, - "PostBackupResponseProperties": { - "type": "object", - "description": "Post Backup Response Properties object.", - "properties": { - "cloudEndpointName": { - "type": "string", - "description": "cloud endpoint Name.", - "readOnly": true - } - } - }, - "StorageSyncServiceUpdateParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the storage sync service." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceUpdateProperties", - "description": "The properties of the storage sync service." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_Get", + "description": "Get Workflows resource", + "x-ms-examples": { + "Workflows_Get": { + "$ref": "./examples/Workflows_Get.json" + } + }, + "responses": { + "200": { + "description": "Workflow object", + "schema": { + "$ref": "#/definitions/Workflow" }, - "description": "Parameters for updating an Storage sync service." - }, - "StorageSyncServiceUpdateProperties": { - "type": "object", - "description": "Storage Sync Service Update Properties object.", - "properties": {} - }, - "StorageSyncServiceProperties": { - "type": "object", - "description": "Storage Sync Service Properties object.", - "properties": { - "storageSyncServiceStatus": { - "type": "integer", - "description": "Storage Sync service status.", - "readOnly": true - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Storage Sync service Uid", - "readOnly": true - } - } - }, - "WorkflowProperties": { - "type": "object", - "description": "Workflow Properties object.", - "properties": { - "lastStepName": { - "type": "string", - "description": "last step name" - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "workflow status." - }, - "operation": { - "$ref": "#/definitions/OperationDirection", - "description": "operation direction." - }, - "steps": { - "type": "string", - "description": "workflow steps" - }, - "lastOperationId": { - "type": "string", - "description": "workflow last operation identifier." - } - } - }, - "SyncGroupProperties": { - "type": "object", - "description": "SyncGroup Properties object.", - "properties": { - "uniqueId": { - "type": "string", - "description": "Unique Id" - }, - "syncGroupStatus": { - "type": "string", - "description": "Sync group status", - "readOnly": true - } - } - }, - "RegisteredServerProperties": { - "type": "object", - "description": "RegisteredServer Properties object.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverManagementErrorCode": { - "type": "integer", - "description": "Registered Server Management Error Code" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "provisioningState": { - "type": "string", - "description": "Registered Server Provisioning State" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Registered Server storageSyncServiceUid" - }, - "lastWorkflowId": { - "type": "string", - "description": "Registered Server lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "discoveryEndpointUri": { - "type": "string", - "description": "Resource discoveryEndpointUri" - }, - "resourceLocation": { - "type": "string", - "description": "Resource Location" - }, - "serviceLocation": { - "type": "string", - "description": "Service Location" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "managementEndpointUri": { - "type": "string", - "description": "Management Endpoint Uri" - }, - "monitoringConfiguration": { - "type": "string", - "description": "Monitoring Configuration" - } - } - }, - "CloudEndpointProperties": { - "type": "object", - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - }, - "partnershipId": { - "type": "string", - "description": "Partnership Id" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "backupEnabled": { - "type": "string", - "description": "Backup Enabled", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "description": "CloudEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "CloudEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - } - } - }, - "ServerEndpointUpdateProperties": { - "type": "object", - "description": "ServerEndpoint Update Properties object.", - "properties": { - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointProperties": { - "type": "object", - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "provisioningState": { - "type": "string", - "description": "ServerEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "ServerEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "syncStatus": { - "type": "object", - "$ref": "#/definitions/ServerEndpointHealth", - "description": "Server Endpoint properties." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferStorageAccountResourceId": { - "type": "string", - "description": "Offline data transfer storage account resource ID", - "readOnly": true - }, - "offlineDataTransferStorageAccountTenantId": { - "type": "string", - "description": "Offline data transfer storage account tenant ID", - "readOnly": true - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointHealth": { - "type": "object", - "description": "ServerEndpoint Health object.", - "properties": { - "downloadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Download Health Status." - }, - "uploadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Upload Health Status." - }, - "combinedHealth": { - "$ref": "#/definitions/HealthState", - "description": "Combined Health Status." - }, - "lastUpdatedTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last Updated Timestamp" - }, - "uploadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Upload Status" - }, - "downloadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Download Status" - }, - "currentProgress": { - "$ref": "#/definitions/SyncProgressStatus", - "description": "Current progress" - }, - "offlineDataTransferStatus": { - "$ref": "#/definitions/OfflineDataTransferState", - "description": "Offline Data Transfer State" - } - } - }, - "SyncSessionStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "lastSyncResult": { - "type": "integer", - "description": "Last sync status" - }, - "lastSyncTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync timestamp" - }, - "lastSyncSuccessTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync success timestamp" - }, - "lastSyncPerItemErrorCount": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Last sync per item error count." - } - } - }, - "SyncProgressStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "progressTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Progress timestamp" - }, - "syncDirection": { - "$ref": "#/definitions/ProgressType", - "description": "Sync direction." - }, - "perItemErrorCount": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Per item error count" - }, - "appliedItemCount": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Applied item count." - }, - "totalItemCount": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Total item count" - }, - "appliedBytes": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Applied bytes" - }, - "totalBytes": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Total bytes" - } - } - }, - "PhysicalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "ResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "TagsObject": { - "type": "object", - "description": "Tags object." - }, - "FeatureStatus": { - "type": "string", - "description": "Type of the Feature Status", - "enum": [ - "on", - "off" - ] - }, - "HealthState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "Healthy", - "Error", - "SyncBlockedForRestore", - "SyncBlockedForChangeDetectionPostRestore", - "NoActivity" - ] - }, - "OfflineDataTransferState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "InProgress", - "Stopping", - "NotRunning", - "Complete" - ] - }, - "WorkflowStatus": { - "type": "string", - "description": "Type of the Workflow Status", - "enum": [ - "active", - "expired", - "succeeded", - "aborted", - "failed" - ] - }, - "OperationDirection": { - "type": "string", - "description": "Type of the Operation Direction", - "enum": [ - "do", - "undo", - "cancel" - ] - }, - "ProgressType": { - "type": "string", - "description": "Type of the ProgressType", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }] -} \ No newline at end of file + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource", + "Actions" + ], + "operationId": "Workflows_Abort", + "description": "Abort the given workflow.", + "x-ms-examples": { + "Workflows_Abort": { + "$ref": "./examples/Workflows_Abort.json" + } + }, + "responses": { + "200": { + "description": "success", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + } + }, + "definitions": { + "StorageSyncError": { + "type": "object", + "description": "Error type", + "properties": { + "error": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + }, + "innererror": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncApiError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + }, + "details": { + "$ref": "#/definitions/StorageSyncErrorDetails", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncErrorDetails": { + "type": "object", + "description": "Error Details object.", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given entry." + } + } + }, + "SubscriptionState": { + "type": "object", + "description": "Subscription State object.", + "properties": { + "state": { + "type": "string", + "description": "State of Azure Subscription", + "enum": [ + "Registered", + "Unregistered", + "Warned", + "Suspended", + "Deleted" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": true + } + }, + "istransitioning": { + "type": "boolean", + "description": "Is Transitioning", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionStateProperties", + "description": "Subscription state properties." + } + } + }, + "StorageSyncService": { + "type": "object", + "description": "Storage Sync Service object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceProperties", + "description": "Storage Sync Service properties." + } + } + }, + "SyncGroup": { + "type": "object", + "description": "Sync Group object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupProperties", + "description": "SyncGroup properties." + } + } + }, + "CloudEndpoint": { + "type": "object", + "description": "Cloud Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointProperties", + "description": "Cloud Endpoint properties." + } + } + }, + "RecallActionParameters": { + "properties": { + "pattern": { + "type": "string", + "description": "Pattern of the files." + }, + "recallPath": { + "type": "string", + "description": "Recall path." + } + }, + "description": "The parameters used when calling recall action on server endpoint." + }, + "StorageSyncServiceCreateParameters": { + "properties": { + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." + }, + "properties": {} + }, + "required": [ + "location" + ], + "description": "The parameters used when creating a storage sync service." + }, + "SyncGroupCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupCreateParametersProperties", + "description": "The parameters used to create the sync group" + } + }, + "description": "The parameters used when creating a sync group." + }, + "SyncGroupCreateParametersProperties": { + "type": "object", + "description": "Sync Group Create Properties object.", + "properties": {} + }, + "CloudEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointCreateParametersProperties", + "description": "The parameters used to create the cloud endpoint." + } + }, + "description": "The parameters used when creating a cloud endpoint." + }, + "CloudEndpointCreateParametersProperties": { + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "storageAccountShareName": { + "type": "string", + "description": "Storage Account Share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + } + } + }, + "ServerEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointCreateParametersProperties", + "description": "The parameters used to create the server endpoint." + } + }, + "description": "The parameters used when creating a server endpoint." + }, + "ServerEndpointCreateParametersProperties": { + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "TriggerRolloverRequest": { + "type": "object", + "description": "Trigger Rollover Request.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Certificate Data" + } + } + }, + "RegisteredServerCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerCreateParametersProperties", + "description": "The parameters used to create the registered server." + } + }, + "description": "The parameters used when creating a registered server." + }, + "RegisteredServerCreateParametersProperties": { + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + } + } + }, + "ServerEndpointUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointUpdateProperties", + "description": "The properties of the server endpoint." + } + }, + "description": "Parameters for updating an Server Endpoint." + }, + "ServerEndpoint": { + "type": "object", + "description": "Server Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointProperties", + "description": "Server Endpoint properties." + } + } + }, + "RegisteredServer": { + "type": "object", + "description": "Registered Server resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerProperties", + "description": "RegisteredServer properties." + } + } + }, + "ResourcesMoveInfo": { + "type": "object", + "description": "Resource Move Info.", + "properties": { + "targetResourceGroup": { + "type": "string", + "description": "Target resource group." + }, + "resources": { + "type": "array", + "description": "Collection of Resources.", + "items": { + "$ref": "#/definitions/ResourceId" + } + } + } + }, + "Workflow": { + "type": "object", + "description": "Workflow resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "Workflow properties." + } + } + }, + "OperationEntityListResult": { + "description": "The list of storage sync operations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + }, + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + } + } + }, + "OperationEntity": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by storage sync." + }, + "origin": { + "type": "string", + "description": "The origin." + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Microsoft StorageSync.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "OperationDisplayResource": { + "type": "object", + "description": "Operation Display Resource object.", + "properties": { + "provider": { + "type": "string", + "description": "Operation Display Resource Provider." + }, + "resource": { + "type": "string", + "description": "Operation Display Resource." + }, + "operation": { + "type": "string", + "description": "Operation Display Resource Operation." + }, + "description": { + "type": "string", + "description": "Operation Display Resource Description." + } + } + }, + "CheckNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string", + "description": "The name to check for availability" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageSync/storageSyncServices" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" + } + }, + "required": [ + "name", + "type" + ], + "description": "Parameters for a check name availability request." + }, + "CheckNameAvailabilityResult": { + "properties": { + "nameAvailable": { + "readOnly": true, + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." + }, + "reason": { + "readOnly": true, + "type": "string", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "NameAvailabilityReason", + "modelAsString": false + }, + "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail." + } + }, + "description": "The CheckNameAvailability operation response." + }, + "PostRestoreRequest": { + "type": "object", + "description": "Post Restore Request", + "properties": { + "partition": { + "type": "string", + "description": "Post Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Post Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Post Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Post Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Post Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Post Restore Azure source azure file share uri." + }, + "failedFileList": { + "type": "string", + "description": "Post Restore Azure failed file list." + }, + "restoreFileSpec": { + "type": "array", + "description": "Post Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Post Restore restore file spec items array." + } + } + } + }, + "PreRestoreRequest": { + "type": "object", + "description": "Pre Restore request object.", + "properties": { + "partition": { + "type": "string", + "description": "Pre Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Pre Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Pre Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Pre Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure source azure file share uri." + }, + "backupMetadataPropertyBag": { + "type": "string", + "description": "Pre Restore backup metadata property bag." + }, + "restoreFileSpec": { + "type": "array", + "description": "Pre Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Pre Restore restore file spec items array." + } + }, + "pauseWaitForSyncDrainTimePeriodInSeconds": { + "type": "integer", + "description": "Pre Restore pause wait for sync drain time period in seconds." + } + } + }, + "BackupRequest": { + "type": "object", + "description": "Backup request", + "properties": { + "azureFileShare": { + "type": "string", + "description": "Azure File Share." + } + } + }, + "PostBackupResponse": { + "type": "object", + "description": "Post Backup Response", + "properties": { + "backupMetadata": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PostBackupResponseProperties", + "description": "Post Backup Response Properties" + } + } + }, + "RestoreFileSpec": { + "type": "object", + "description": "Restore file spec.", + "properties": { + "path": { + "type": "string", + "description": "Restore file spec path" + }, + "isdir": { + "type": "boolean", + "description": "Restore file spec isdir", + "readOnly": true + } + } + }, + "StorageSyncServiceArray": { + "type": "object", + "description": "Array of StorageSyncServices", + "properties": { + "value": { + "type": "array", + "description": "Collection of StorageSyncServices.", + "items": { + "$ref": "#/definitions/StorageSyncService" + } + } + } + }, + "SyncGroupArray": { + "type": "object", + "description": "Array of SyncGroup", + "properties": { + "value": { + "type": "array", + "description": "Collection of SyncGroup.", + "items": { + "$ref": "#/definitions/SyncGroup" + } + } + } + }, + "CloudEndpointArray": { + "type": "object", + "description": "Array of CloudEndpoint", + "properties": { + "value": { + "type": "array", + "description": "Collection of CloudEndpoint.", + "items": { + "$ref": "#/definitions/CloudEndpoint" + } + } + } + }, + "ServerEndpointArray": { + "description": "Array of ServerEndpoint", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of ServerEndpoint.", + "items": { + "$ref": "#/definitions/ServerEndpoint" + } + } + } + }, + "RegisteredServerArray": { + "description": "Array of RegisteredServer", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of Registered Server.", + "items": { + "$ref": "#/definitions/RegisteredServer" + } + } + } + }, + "WorkflowArray": { + "description": "Array of Workflow", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of workflow items.", + "items": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "SubscriptionStateProperties": { + "type": "object", + "description": "Subscription State properties." + }, + "PostBackupResponseProperties": { + "type": "object", + "description": "Post Backup Response Properties object.", + "properties": { + "cloudEndpointName": { + "type": "string", + "description": "cloud endpoint Name.", + "readOnly": true + } + } + }, + "StorageSyncServiceUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the storage sync service." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceUpdateProperties", + "description": "The properties of the storage sync service." + } + }, + "description": "Parameters for updating an Storage sync service." + }, + "StorageSyncServiceUpdateProperties": { + "type": "object", + "description": "Storage Sync Service Update Properties object.", + "properties": {} + }, + "StorageSyncServiceProperties": { + "type": "object", + "description": "Storage Sync Service Properties object.", + "properties": { + "storageSyncServiceStatus": { + "type": "integer", + "description": "Storage Sync service status.", + "readOnly": true + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Storage Sync service Uid", + "readOnly": true + } + } + }, + "WorkflowProperties": { + "type": "object", + "description": "Workflow Properties object.", + "properties": { + "lastStepName": { + "type": "string", + "description": "last step name" + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "workflow status." + }, + "operation": { + "$ref": "#/definitions/OperationDirection", + "description": "operation direction." + }, + "steps": { + "type": "string", + "description": "workflow steps" + }, + "lastOperationId": { + "type": "string", + "description": "workflow last operation identifier." + } + } + }, + "SyncGroupProperties": { + "type": "object", + "description": "SyncGroup Properties object.", + "properties": { + "uniqueId": { + "type": "string", + "description": "Unique Id" + }, + "syncGroupStatus": { + "type": "string", + "description": "Sync group status", + "readOnly": true + } + } + }, + "RegisteredServerProperties": { + "type": "object", + "description": "RegisteredServer Properties object.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "serverManagementErrorCode": { + "type": "integer", + "description": "Registered Server Management Error Code" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "provisioningState": { + "type": "string", + "description": "Registered Server Provisioning State" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Registered Server storageSyncServiceUid" + }, + "lastWorkflowId": { + "type": "string", + "description": "Registered Server lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "discoveryEndpointUri": { + "type": "string", + "description": "Resource discoveryEndpointUri" + }, + "resourceLocation": { + "type": "string", + "description": "Resource Location" + }, + "serviceLocation": { + "type": "string", + "description": "Service Location" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "managementEndpointUri": { + "type": "string", + "description": "Management Endpoint Uri" + }, + "monitoringConfiguration": { + "type": "string", + "description": "Monitoring Configuration" + } + } + }, + "CloudEndpointProperties": { + "type": "object", + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "storageAccountShareName": { + "type": "string", + "description": "Storage Account Share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + }, + "partnershipId": { + "type": "string", + "description": "Partnership Id" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "backupEnabled": { + "type": "string", + "description": "Backup Enabled", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "CloudEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "CloudEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + } + } + }, + "ServerEndpointUpdateProperties": { + "type": "object", + "description": "ServerEndpoint Update Properties object.", + "properties": { + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointProperties": { + "type": "object", + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "provisioningState": { + "type": "string", + "description": "ServerEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "ServerEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "syncStatus": { + "type": "object", + "$ref": "#/definitions/ServerEndpointHealth", + "description": "Server Endpoint properties." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferStorageAccountResourceId": { + "type": "string", + "description": "Offline data transfer storage account resource ID", + "readOnly": true + }, + "offlineDataTransferStorageAccountTenantId": { + "type": "string", + "description": "Offline data transfer storage account tenant ID", + "readOnly": true + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointHealth": { + "type": "object", + "description": "ServerEndpoint Health object.", + "properties": { + "downloadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Download Health Status." + }, + "uploadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Upload Health Status." + }, + "combinedHealth": { + "$ref": "#/definitions/HealthState", + "description": "Combined Health Status." + }, + "lastUpdatedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last Updated Timestamp" + }, + "uploadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Upload Status" + }, + "downloadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Download Status" + }, + "currentProgress": { + "$ref": "#/definitions/SyncProgressStatus", + "description": "Current progress" + }, + "offlineDataTransferStatus": { + "$ref": "#/definitions/OfflineDataTransferState", + "description": "Offline Data Transfer State" + } + } + }, + "SyncSessionStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "lastSyncResult": { + "type": "integer", + "description": "Last sync status" + }, + "lastSyncTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync timestamp" + }, + "lastSyncSuccessTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync success timestamp" + }, + "lastSyncPerItemErrorCount": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Last sync per item error count." + } + } + }, + "SyncProgressStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "progressTimestamp": { + "type": "string", + "format": "date-time", + "description": "Progress timestamp" + }, + "syncDirection": { + "$ref": "#/definitions/ProgressType", + "description": "Sync direction." + }, + "perItemErrorCount": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Per item error count" + }, + "appliedItemCount": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Applied item count." + }, + "totalItemCount": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Total item count" + }, + "appliedBytes": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Applied bytes" + }, + "totalBytes": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Total bytes" + } + } + }, + "PhysicalPath": { + "type": "string", + "description": "Server folder used for data synchronization" + }, + "ResourceId": { + "type": "string", + "description": "Arm resource identifier." + }, + "TagsObject": { + "type": "object", + "description": "Tags object." + }, + "FeatureStatus": { + "type": "string", + "description": "Type of the Feature Status", + "enum": [ + "on", + "off" + ] + }, + "HealthState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "Healthy", + "Error", + "SyncBlockedForRestore", + "SyncBlockedForChangeDetectionPostRestore", + "NoActivity" + ] + }, + "OfflineDataTransferState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "InProgress", + "Stopping", + "NotRunning", + "Complete" + ] + }, + "WorkflowStatus": { + "type": "string", + "description": "Type of the Workflow Status", + "enum": [ + "active", + "expired", + "succeeded", + "aborted", + "failed" + ] + }, + "OperationDirection": { + "type": "string", + "description": "Type of the Operation Direction", + "enum": [ + "do", + "undo", + "cancel" + ] + }, + "ProgressType": { + "type": "string", + "description": "Type of the ProgressType", + "enum": [ + "none", + "initialize", + "download", + "upload", + "recall" + ] + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Create.json index 1287015d6f8c..63c233d8de3e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Create.json @@ -1,52 +1,52 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-02-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-02-01", - "parameters": { - "properties": { - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "backupEnabled" : "false", - "provisioningState": "Succeeded", - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "backupEnabled": "false", + "provisioningState": "Succeeded", + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Delete.json index cb1cf933e901..49172b9aea12 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-02-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Get.json index 807efadf4f0b..9a4e7114dbdd 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "azureFileShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "azureFileShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_ListBySyncGroup.json index 02f5dd8c79c6..89622a2d76fb 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,34 +1,36 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "azureFileShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "azureFileShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostBackup.json index 06bb9c6cc659..2ae3bb602809 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2019-02-01" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2019-02-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2019-02-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostRestore.json index 7700438fd610..a9fd067a6125 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreBackup.json index 7792f69b5a2c..5f99f4fb6eb3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "api-version": "2019-02-01", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + "parameters": { + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreRestore.json index b9528d41f5a5..c937e39600a1 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-02-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-02-01", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-02-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_RestoreHeatbeat.json index 212fe63abfad..372f40608683 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json index f599788d3ab8..959524472d3d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Create.json index 196cb4ffd9c3..4026af63f2c7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Create.json @@ -1,62 +1,62 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverManagementErrorCode": 0, - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2019-02-01" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverManagementErrorCode": 0, + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Delete.json index 5776d027ee3f..724a47f7522e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Delete.json @@ -1,28 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2019-02-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Get.json index 258c8755ea2b..f38b64472ac9 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_Get.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_ListByStorageSyncService.json index 377bfb3de692..56feba4a0d06 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,42 +1,44 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_TriggerRollover.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_TriggerRollover.json index 0d20aa0e00e2..54da920119bf 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_TriggerRollover.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/RegisteredServers_TriggerRollover.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "d166ca76-dad2-49df-b409-12345642d730", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "d166ca76-dad2-49df-b409-12345642d730", - "parameters": { - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" - }, - "api-version": "2019-02-01" + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Create.json index 6fd85275d12f..f3b32b66903b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Create.json @@ -1,60 +1,60 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays": 0, - "offlineDataTransfer": "on", - "offlineDataTransferShareName": "myfileshare" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2019-02-01" + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "on", + "offlineDataTransferShareName": "myfileshare" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": null, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": null, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Delete.json index 8ef90c939966..ad7820de11a0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-02-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Get.json index cc3519b73feb..ddf4ebbd0454 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Get.json @@ -1,81 +1,81 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": "UploadAndDownload", + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 1000, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": "UploadAndDownload", - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 1000, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 300, - "appliedItemCount": 1000, - "totalItemCount": 2300, - "appliedBytes": 57348983, - "totalBytes": 1958367412 - }, - "downloadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 0, - "appliedItemCount": 100, - "totalItemCount": 300, - "appliedBytes": 94805587, - "totalBytes": 19583674 - }, - "offlineDataTransferStatus": "InProgress" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 300, + "appliedItemCount": 1000, + "totalItemCount": 2300, + "appliedBytes": 57348983, + "totalBytes": 1958367412 + }, + "downloadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 0, + "appliedItemCount": 100, + "totalItemCount": 300, + "appliedBytes": 94805587, + "totalBytes": 19583674 + }, + "offlineDataTransferStatus": "InProgress" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_ListBySyncGroup.json index 3c50d77e7dce..cf6416a8e31a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,120 +1,123 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": null, + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 1000, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": null, + "downloadActivity": null, + "offlineDataTransferStatus": "Complete" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": null, - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 1000, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": null, - "downloadActivity": null, - "offlineDataTransferStatus": "Complete" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_2", - "cloudTiering": "on", - "volumeFreeSpacePercent": 80, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 5, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Healthy", - "combinedHealth": "Healthy", - "syncActivity": "Upload", - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 300, - "appliedItemCount": 1000, - "totalItemCount": 2300, - "appliedBytes": 57348983, - "totalBytes": 1958367412 - }, - "downloadActivity": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "off" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_2", + "cloudTiering": "on", + "volumeFreeSpacePercent": 80, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 5, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Healthy", + "combinedHealth": "Healthy", + "syncActivity": "Upload", + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 300, + "appliedItemCount": 1000, + "totalItemCount": 2300, + "appliedBytes": 57348983, + "totalBytes": 1958367412 + }, + "downloadActivity": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "off" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Recall.json index a70ad5b9b038..3bd57b52272b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Recall.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-02-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-02-01", - "parameters": { - "pattern": "", - "recallPath": "" - } + "pattern": "", + "recallPath": "" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Update.json index 7c3393f756ac..7132d087da0f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/ServerEndpoints_Update.json @@ -1,85 +1,85 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays" : 0, - "offlineDataTransfer": "off" - } - }, - "api-version": "2019-02-01" + "properties": { + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "off" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "tierFilesOlderThanDays": 0, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": null, + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "tierFilesOlderThanDays": 0, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": null, - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": null, - "downloadActivity": null, - "offlineDataTransferStatus": "Stopping" - }, - "offlineDataTransfer": "off", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "uploadActivity": null, + "downloadActivity": null, + "offlineDataTransferStatus": "Stopping" + }, + "offlineDataTransfer": "off", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-02-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-02-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-02-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-02-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json index 7cf15dcb428c..823c0dbcd714 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -1,20 +1,20 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "An account named 'newstoragesyncservicename' is already in use." - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "An account named 'newstoragesyncservicename' is already in use." + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_Available.json index 234f1df6aaad..0c03c7b76aa1 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_Available.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -1,18 +1,18 @@ { + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Create.json index 71a5b7e2ad9a..19328bd84d48 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {} - }, - "api-version": "2019-02-01" + "location": "WestUS", + "tags": {}, + "properties": {} }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Delete.json index 80648fc47cb5..ae25abfc0a96 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Get.json index fd397214a27c..c009eeb01590 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListByResourceGroup.json index 8cbd1d4dd661..aed8c0c11f0f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListBySubscription.json index e2cac9cbd7d4..c8b15ce024b5 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Update.json index 11b62d0163d5..5863bcd55828 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/StorageSyncServices_Update.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-02-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-02-01", - "parameters": { - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {} } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Create.json index 85e03c934180..ca4b28866323 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Delete.json index a607bde34b78..206726acc3ad 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Get.json index 99bf05d3206a..f985b5737505 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_ListByStorageSyncService.json index 929f8281a6ad..eb6ee35c1e57 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Abort.json index 385fea15878c..92198214fca2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Get.json index 895b9824bdb5..638345b052e9 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_ListByStorageSyncService.json index 81b504a64ff0..15c569a9cf3d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Workflows_ListByStorageSyncService.json @@ -1,30 +1,32 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-02-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-02-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" }, - "body": { - "value": [{ - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/storagesync.json index 3f3f71d5b716..f79519bcbe2f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/storagesync.json @@ -1,3665 +1,3908 @@ { - "swagger": "2.0", - "info": { - "title": "Microsoft Storage Sync", - "description": "Microsoft Storage Sync Service API", - "version": "2019-02-01", - "x-ms-code-generation-settings": { - "name": "StorageSyncManagementClient" - } - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.StorageSync/operations": { - "get": { - "tags": [ - "ResourceProvider", - "Operations" - ], - "operationId": "Operations_List", - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "description": "Lists all of the available Storage Sync Rest API operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "responses": { - "200": { - "description": "Array of operations resources in the Resource Provider", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "deprecated": false, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { - "post": { - "tags": [ - "StorageSyncService" - ], - "operationId": "StorageSyncServices_CheckNameAvailability", - "x-ms-examples": { - "StorageSyncServiceCheckNameAvailability_Available": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" - }, - "StorageSyncServiceCheckNameAvailability_AlreadyExists": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" - } - }, - "description": "Check the give namespace name availability.", - "parameters": [{ - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region for the name check." - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - }, - "description": "Parameters to check availability of the given namespace name" - }], - "responses": { - "200": { - "description": "check availability returned successfully.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource name.", - "required": true, - "schema": { - "$ref": "#/definitions/StorageSyncServiceCreateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Create", - "description": "Create a new StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Create": { - "$ref": "./examples/StorageSyncServices_Create.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "swagger": "2.0", + "info": { + "title": "Microsoft Storage Sync", + "description": "Microsoft Storage Sync Service API", + "version": "2019-02-01", + "x-ms-code-generation-settings": { + "name": "StorageSyncManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.StorageSync/operations": { + "get": { + "tags": [ + "ResourceProvider", + "Operations" + ], + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "description": "Lists all of the available Storage Sync Rest API operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "responses": { + "200": { + "description": "Array of operations resources in the Resource Provider", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Get", - "description": "Get a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Get": { - "$ref": "./examples/StorageSyncServices_Get.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { + "post": { + "tags": [ + "StorageSyncService" + ], + "operationId": "StorageSyncServices_CheckNameAvailability", + "x-ms-examples": { + "StorageSyncServiceCheckNameAvailability_Available": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" + }, + "StorageSyncServiceCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" + } + }, + "description": "Check the give namespace name availability.", + "parameters": [ + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The desired region for the name check." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceUpdateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Update", - "description": "Patch a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Update": { - "$ref": "./examples/StorageSyncServices_Update.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "description": "Parameters to check availability of the given namespace name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource name.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageSyncServiceCreateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Create", + "description": "Create a new StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Create": { + "$ref": "./examples/StorageSyncServices_Create.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Get", + "description": "Get a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Get": { + "$ref": "./examples/StorageSyncServices_Get.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Delete", - "description": "Delete a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Delete": { - "$ref": "./examples/StorageSyncServices_Delete.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object was deleted.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Storage Sync Service Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListByResourceGroup", - "description": "Get a StorageSyncService list by Resource group name.", - "x-ms-examples": { - "StorageSyncServices_ListByResourceGroup": { - "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the Resource Group", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListBySubscription", - "description": "Get a StorageSyncService list by subscription.", - "x-ms-examples": { - "StorageSyncServices_ListBySubscription": { - "$ref": "./examples/StorageSyncServices_ListBySubscription.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the subscription.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_ListByStorageSyncService", - "description": "Get a SyncGroup List.", - "x-ms-examples": { - "SyncGroups_ListByStorageSyncService": { - "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Sync Group resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/SyncGroupArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Sync Group Body", - "required": true, - "schema": { - "$ref": "#/definitions/SyncGroupCreateParameters" - } - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Create", - "description": "Create a new SyncGroup.", - "x-ms-examples": { - "SyncGroups_Create": { - "$ref": "./examples/SyncGroups_Create.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceUpdateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Update", + "description": "Patch a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Update": { + "$ref": "./examples/StorageSyncServices_Update.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Get", - "description": "Get a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Get": { - "$ref": "./examples/SyncGroups_Get.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Delete", + "description": "Delete a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Delete": { + "$ref": "./examples/StorageSyncServices_Delete.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object was deleted.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Storage Sync Service Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListByResourceGroup", + "description": "Get a StorageSyncService list by Resource group name.", + "x-ms-examples": { + "StorageSyncServices_ListByResourceGroup": { + "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the Resource Group", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Delete", - "description": "Delete a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Delete": { - "$ref": "./examples/SyncGroups_Delete.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object was deleted", - "headers": { - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint resource.", - "required": true, - "schema": { - "$ref": "#/definitions/CloudEndpointCreateParameters" - } - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Create", - "description": "Create a new CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Create": { - "$ref": "./examples/CloudEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListBySubscription", + "description": "Get a StorageSyncService list by subscription.", + "x-ms-examples": { + "StorageSyncServices_ListBySubscription": { + "$ref": "./examples/StorageSyncServices_ListBySubscription.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the subscription.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Get", - "description": "Get a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Get": { - "$ref": "./examples/CloudEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_ListByStorageSyncService", + "description": "Get a SyncGroup List.", + "x-ms-examples": { + "SyncGroups_ListByStorageSyncService": { + "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Sync Group resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/SyncGroupArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Delete", - "description": "Delete a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Delete": { - "$ref": "./examples/CloudEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_ListBySyncGroup", - "description": "Get a CloudEndpoint List.", - "x-ms-examples": { - "CloudEndpoints_ListBySyncGroup": { - "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Cloud Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/CloudEndpointArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreBackup", - "description": "Pre Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreBackup": { - "$ref": "./examples/CloudEndpoints_PreBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostBackup", - "description": "Post Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostBackup": { - "$ref": "./examples/CloudEndpoints_PostBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/PostBackupResponse" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PreRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreRestore", - "description": "Pre Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreRestore": { - "$ref": "./examples/CloudEndpoints_PreRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_restoreheartbeat", - "description": "Restore Heartbeat a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_restoreheartbeat": { - "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" - } - }, - "responses": { - "200": { - "description": "Restore Heartbeat Operation has ran successfully.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PostRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostRestore", - "description": "Post Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostRestore": { - "$ref": "./examples/CloudEndpoints_PostRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Server Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerEndpointCreateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Create", - "description": "Create a new ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Create": { - "$ref": "./examples/ServerEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Sync Group Body", + "required": true, + "schema": { + "$ref": "#/definitions/SyncGroupCreateParameters" + } + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Create", + "description": "Create a new SyncGroup.", + "x-ms-examples": { + "SyncGroups_Create": { + "$ref": "./examples/SyncGroups_Create.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Any of the properties applicable in PUT request.", - "schema": { - "$ref": "#/definitions/ServerEndpointUpdateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Update", - "description": "Patch a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Update": { - "$ref": "./examples/ServerEndpoints_Update.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Get", + "description": "Get a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Get": { + "$ref": "./examples/SyncGroups_Get.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Get", - "description": "Get a ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Get": { - "$ref": "./examples/ServerEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Delete", + "description": "Delete a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Delete": { + "$ref": "./examples/SyncGroups_Delete.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object was deleted", + "headers": { + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint resource.", + "required": true, + "schema": { + "$ref": "#/definitions/CloudEndpointCreateParameters" + } + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Create", + "description": "Create a new CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Create": { + "$ref": "./examples/CloudEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Delete", - "description": "Delete a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Delete": { - "$ref": "./examples/ServerEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_ListBySyncGroup", - "description": "Get a ServerEndpoint list.", - "x-ms-examples": { - "ServerEndpoints_ListBySyncGroup": { - "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Server Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/ServerEndpointArray" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Recall Action object.", - "required": true, - "schema": { - "$ref": "#/definitions/RecallActionParameters" - } - }], - "tags": [ - "ServerEndpoint Resource", - "Actions" - ], - "operationId": "ServerEndpoints_recallAction", - "description": "Recall a server endpoint.", - "x-ms-examples": { - "ServerEndpoints_recallAction": { - "$ref": "./examples/ServerEndpoints_Recall.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_ListByStorageSyncService", - "description": "Get a given registered server list.", - "x-ms-examples": { - "RegisteredServers_ListByStorageSyncService": { - "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Registered Server resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/RegisteredServerArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Get", - "description": "Get a given registered server.", - "x-ms-examples": { - "RegisteredServers_Get": { - "$ref": "./examples/RegisteredServers_Get.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Get", + "description": "Get a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Get": { + "$ref": "./examples/CloudEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Registered Server object.", - "required": true, - "schema": { - "$ref": "#/definitions/RegisteredServerCreateParameters" - } - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Create", - "description": "Add a new registered server.", - "x-ms-examples": { - "RegisteredServers_Create": { - "$ref": "./examples/RegisteredServers_Create.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Delete", + "description": "Delete a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Delete": { + "$ref": "./examples/CloudEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_ListBySyncGroup", + "description": "Get a CloudEndpoint List.", + "x-ms-examples": { + "CloudEndpoints_ListBySyncGroup": { + "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Cloud Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/CloudEndpointArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Delete", - "description": "Delete the given registered server.", - "x-ms-examples": { - "RegisteredServers_Delete": { - "$ref": "./examples/RegisteredServers_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "Server Id", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Trigger Rollover request.", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerRolloverRequest" - } - }], - "tags": [ - "RegisteredServer Resource", - "Actions" - ], - "operationId": "RegisteredServers_triggerRollover", - "description": "Triggers Server certificate rollover.", - "x-ms-examples": { - "RegisteredServers_triggerRollover": { - "$ref": "./examples/RegisteredServers_TriggerRollover.json" - } - }, - "responses": { - "200": { - "description": "Trigger Rollover success status", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_ListByStorageSyncService", - "description": "Get a Workflow List", - "x-ms-examples": { - "Workflows_ListByStorageSyncService": { - "$ref": "./examples/Workflows_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Workflow resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/WorkflowArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_Get", - "description": "Get Workflows resource", - "x-ms-examples": { - "Workflows_Get": { - "$ref": "./examples/Workflows_Get.json" - } - }, - "responses": { - "200": { - "description": "Workflow object", - "schema": { - "$ref": "#/definitions/Workflow" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource", - "Actions" - ], - "operationId": "Workflows_Abort", - "description": "Abort the given workflow.", - "x-ms-examples": { - "Workflows_Abort": { - "$ref": "./examples/Workflows_Abort.json" - } - }, - "responses": { - "200": { - "description": "success", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - } - }, - "definitions": { - "StorageSyncError": { - "type": "object", - "description": "Error type", - "properties": { - "error": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - }, - "innererror": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncApiError": { - "type": "object", - "description": "Error type", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given error entry." - }, - "details": { - "$ref": "#/definitions/StorageSyncErrorDetails", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncErrorDetails": { - "type": "object", - "description": "Error Details object.", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given entry." - } - } - }, - "SubscriptionState": { - "type": "object", - "description": "Subscription State object.", - "properties": { - "state": { - "type": "string", - "description": "State of Azure Subscription", - "enum": [ - "Registered", - "Unregistered", - "Warned", - "Suspended", - "Deleted" - ], - "x-ms-enum": { - "name": "Reason", - "modelAsString": true - } - }, - "istransitioning": { - "type": "boolean", - "description": "Is Transitioning", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SubscriptionStateProperties", - "description": "Subscription state properties." - } - } - }, - "StorageSyncService": { - "type": "object", - "description": "Storage Sync Service object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceProperties", - "description": "Storage Sync Service properties." - } - } - }, - "SyncGroup": { - "type": "object", - "description": "Sync Group object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupProperties", - "description": "SyncGroup properties." - } - } - }, - "CloudEndpoint": { - "type": "object", - "description": "Cloud Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointProperties", - "description": "Cloud Endpoint properties." - } - } - }, - "RecallActionParameters": { - "properties": { - "pattern": { - "type": "string", - "description": "Pattern of the files." - }, - "recallPath": { - "type": "string", - "description": "Recall path." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreBackup", + "description": "Pre Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreBackup": { + "$ref": "./examples/CloudEndpoints_PreBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostBackup", + "description": "Post Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostBackup": { + "$ref": "./examples/CloudEndpoints_PostBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "schema": { + "$ref": "#/definitions/PostBackupResponse" }, - "description": "The parameters used when calling recall action on server endpoint." - }, - "StorageSyncServiceCreateParameters": { - "properties": { - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "properties": {} + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PreRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreRestore", + "description": "Pre Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreRestore": { + "$ref": "./examples/CloudEndpoints_PreRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_restoreheartbeat", + "description": "Restore Heartbeat a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_restoreheartbeat": { + "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" + } + }, + "responses": { + "200": { + "description": "Restore Heartbeat Operation has ran successfully.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PostRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostRestore", + "description": "Post Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostRestore": { + "$ref": "./examples/CloudEndpoints_PostRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Server Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerEndpointCreateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Create", + "description": "Create a new ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Create": { + "$ref": "./examples/ServerEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "required": [ - "location" - ], - "description": "The parameters used when creating a storage sync service." - }, - "SyncGroupCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupCreateParametersProperties", - "description": "The parameters used to create the sync group" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Any of the properties applicable in PUT request.", + "schema": { + "$ref": "#/definitions/ServerEndpointUpdateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Update", + "description": "Patch a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Update": { + "$ref": "./examples/ServerEndpoints_Update.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a sync group." - }, - "SyncGroupCreateParametersProperties": { - "type": "object", - "description": "Sync Group Create Properties object.", - "properties": {} - }, - "CloudEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointCreateParametersProperties", - "description": "The parameters used to create the cloud endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Get", + "description": "Get a ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Get": { + "$ref": "./examples/ServerEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a cloud endpoint." - }, - "CloudEndpointCreateParametersProperties": { - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - } - }, - "ServerEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointCreateParametersProperties", - "description": "The parameters used to create the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Delete", + "description": "Delete a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Delete": { + "$ref": "./examples/ServerEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_ListBySyncGroup", + "description": "Get a ServerEndpoint list.", + "x-ms-examples": { + "ServerEndpoints_ListBySyncGroup": { + "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Server Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/ServerEndpointArray" }, - "description": "The parameters used when creating a server endpoint." - }, - "ServerEndpointCreateParametersProperties": { - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "TriggerRolloverRequest": { - "type": "object", - "description": "Trigger Rollover Request.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Certificate Data" - } - } - }, - "RegisteredServerCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerCreateParametersProperties", - "description": "The parameters used to create the registered server." - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Recall Action object.", + "required": true, + "schema": { + "$ref": "#/definitions/RecallActionParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource", + "Actions" + ], + "operationId": "ServerEndpoints_recallAction", + "description": "Recall a server endpoint.", + "x-ms-examples": { + "ServerEndpoints_recallAction": { + "$ref": "./examples/ServerEndpoints_Recall.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_ListByStorageSyncService", + "description": "Get a given registered server list.", + "x-ms-examples": { + "RegisteredServers_ListByStorageSyncService": { + "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Registered Server resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/RegisteredServerArray" }, - "description": "The parameters used when creating a registered server." - }, - "RegisteredServerCreateParametersProperties": { - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - } - } - }, - "ServerEndpointUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointUpdateProperties", - "description": "The properties of the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Get", + "description": "Get a given registered server.", + "x-ms-examples": { + "RegisteredServers_Get": { + "$ref": "./examples/RegisteredServers_Get.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "description": "Parameters for updating an Server Endpoint." - }, - "ServerEndpoint": { - "type": "object", - "description": "Server Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointProperties", - "description": "Server Endpoint properties." - } - } - }, - "RegisteredServer": { - "type": "object", - "description": "Registered Server resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerProperties", - "description": "RegisteredServer properties." - } - } - }, - "ResourcesMoveInfo": { - "type": "object", - "description": "Resource Move Info.", - "properties": { - "targetResourceGroup": { - "type": "string", - "description": "Target resource group." - }, - "resources": { - "type": "array", - "description": "Collection of Resources.", - "items": { - "$ref": "#/definitions/ResourceId" - } - } - } - }, - "Workflow": { - "type": "object", - "description": "Workflow resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "Workflow properties." - } - } - }, - "OperationEntityListResult": { - "description": "The list of storage sync operations.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - }, - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - } - } - }, - "OperationEntity": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by storage sync." - }, - "origin": { - "type": "string", - "description": "The origin." - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Microsoft StorageSync.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "OperationDisplayResource": { - "type": "object", - "description": "Operation Display Resource object.", - "properties": { - "provider": { - "type": "string", - "description": "Operation Display Resource Provider." - }, - "resource": { - "type": "string", - "description": "Operation Display Resource." - }, - "operation": { - "type": "string", - "description": "Operation Display Resource Operation." - }, - "description": { - "type": "string", - "description": "Operation Display Resource Description." - } - } - }, - "CheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name to check for availability" - }, - "type": { - "type": "string", - "enum": ["Microsoft.StorageSync/storageSyncServices"], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Registered Server object.", + "required": true, + "schema": { + "$ref": "#/definitions/RegisteredServerCreateParameters" + } + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Create", + "description": "Add a new registered server.", + "x-ms-examples": { + "RegisteredServers_Create": { + "$ref": "./examples/RegisteredServers_Create.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "required": [ - "name", - "type" - ], - "description": "Parameters for a check name availability request." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "NameAvailabilityReason", - "modelAsString": false - }, - "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Delete", + "description": "Delete the given registered server.", + "x-ms-examples": { + "RegisteredServers_Delete": { + "$ref": "./examples/RegisteredServers_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "Server Id", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Trigger Rollover request.", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerRolloverRequest" + } + } + ], + "tags": [ + "RegisteredServer Resource", + "Actions" + ], + "operationId": "RegisteredServers_triggerRollover", + "description": "Triggers Server certificate rollover.", + "x-ms-examples": { + "RegisteredServers_triggerRollover": { + "$ref": "./examples/RegisteredServers_TriggerRollover.json" + } + }, + "responses": { + "200": { + "description": "Trigger Rollover success status", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_ListByStorageSyncService", + "description": "Get a Workflow List", + "x-ms-examples": { + "Workflows_ListByStorageSyncService": { + "$ref": "./examples/Workflows_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Workflow resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/WorkflowArray" }, - "description": "The CheckNameAvailability operation response." - }, - "PostRestoreRequest": { - "type": "object", - "description": "Post Restore Request", - "properties": { - "partition": { - "type": "string", - "description": "Post Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Post Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Post Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Post Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Post Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Post Restore Azure source azure file share uri." - }, - "failedFileList": { - "type": "string", - "description": "Post Restore Azure failed file list." - }, - "restoreFileSpec": { - "type": "array", - "description": "Post Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Post Restore restore file spec items array." - } - } - } - }, - "PreRestoreRequest": { - "type": "object", - "description": "Pre Restore request object.", - "properties": { - "partition": { - "type": "string", - "description": "Pre Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Pre Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Pre Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Pre Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure source azure file share uri." - }, - "backupMetadataPropertyBag": { - "type": "string", - "description": "Pre Restore backup metadata property bag." - }, - "restoreFileSpec": { - "type": "array", - "description": "Pre Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Pre Restore restore file spec items array." - } - }, - "pauseWaitForSyncDrainTimePeriodInSeconds": { - "type": "integer", - "description": "Pre Restore pause wait for sync drain time period in seconds." - } - } - }, - "BackupRequest": { - "type": "object", - "description": "Backup request", - "properties": { - "azureFileShare": { - "type": "string", - "description": "Azure File Share." - } - } - }, - "PostBackupResponse": { - "type": "object", - "description": "Post Backup Response", - "properties": { - "backupMetadata": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PostBackupResponseProperties", - "description": "Post Backup Response Properties" - } - } - }, - "RestoreFileSpec": { - "type": "object", - "description": "Restore file spec.", - "properties": { - "path": { - "type": "string", - "description": "Restore file spec path" - }, - "isdir": { - "type": "boolean", - "description": "Restore file spec isdir", - "readOnly": true - } - } - }, - "StorageSyncServiceArray": { - "type": "object", - "description": "Array of StorageSyncServices", - "properties": { - "value": { - "type": "array", - "description": "Collection of StorageSyncServices.", - "items": { - "$ref": "#/definitions/StorageSyncService" - } - } - } - }, - "SyncGroupArray": { - "type": "object", - "description": "Array of SyncGroup", - "properties": { - "value": { - "type": "array", - "description": "Collection of SyncGroup.", - "items": { - "$ref": "#/definitions/SyncGroup" - } - } - } - }, - "CloudEndpointArray": { - "type": "object", - "description": "Array of CloudEndpoint", - "properties": { - "value": { - "type": "array", - "description": "Collection of CloudEndpoint.", - "items": { - "$ref": "#/definitions/CloudEndpoint" - } - } - } - }, - "ServerEndpointArray": { - "description": "Array of ServerEndpoint", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of ServerEndpoint.", - "items": { - "$ref": "#/definitions/ServerEndpoint" - } - } - } - }, - "RegisteredServerArray": { - "description": "Array of RegisteredServer", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of Registered Server.", - "items": { - "$ref": "#/definitions/RegisteredServer" - } - } - } - }, - "WorkflowArray": { - "description": "Array of Workflow", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of workflow items.", - "items": { - "$ref": "#/definitions/Workflow" - } - } - } - }, - "SubscriptionStateProperties": { - "type": "object", - "description": "Subscription State properties." - }, - "PostBackupResponseProperties": { - "type": "object", - "description": "Post Backup Response Properties object.", - "properties": { - "cloudEndpointName": { - "type": "string", - "description": "cloud endpoint Name.", - "readOnly": true - } - } - }, - "StorageSyncServiceUpdateParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the storage sync service." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceUpdateProperties", - "description": "The properties of the storage sync service." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_Get", + "description": "Get Workflows resource", + "x-ms-examples": { + "Workflows_Get": { + "$ref": "./examples/Workflows_Get.json" + } + }, + "responses": { + "200": { + "description": "Workflow object", + "schema": { + "$ref": "#/definitions/Workflow" }, - "description": "Parameters for updating an Storage sync service." - }, - "StorageSyncServiceUpdateProperties": { - "type": "object", - "description": "Storage Sync Service Update Properties object.", - "properties": {} - }, - "StorageSyncServiceProperties": { - "type": "object", - "description": "Storage Sync Service Properties object.", - "properties": { - "storageSyncServiceStatus": { - "type": "integer", - "description": "Storage Sync service status.", - "readOnly": true - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Storage Sync service Uid", - "readOnly": true - } - } - }, - "WorkflowProperties": { - "type": "object", - "description": "Workflow Properties object.", - "properties": { - "lastStepName": { - "type": "string", - "description": "last step name" - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "workflow status." - }, - "operation": { - "$ref": "#/definitions/OperationDirection", - "description": "operation direction." - }, - "steps": { - "type": "string", - "description": "workflow steps" - }, - "lastOperationId": { - "type": "string", - "description": "workflow last operation identifier." - } - } - }, - "SyncGroupProperties": { - "type": "object", - "description": "SyncGroup Properties object.", - "properties": { - "uniqueId": { - "type": "string", - "description": "Unique Id" - }, - "syncGroupStatus": { - "type": "string", - "description": "Sync group status", - "readOnly": true - } - } - }, - "RegisteredServerProperties": { - "type": "object", - "description": "RegisteredServer Properties object.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverManagementErrorCode": { - "type": "integer", - "description": "Registered Server Management Error Code" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "provisioningState": { - "type": "string", - "description": "Registered Server Provisioning State" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Registered Server storageSyncServiceUid" - }, - "lastWorkflowId": { - "type": "string", - "description": "Registered Server lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "discoveryEndpointUri": { - "type": "string", - "description": "Resource discoveryEndpointUri" - }, - "resourceLocation": { - "type": "string", - "description": "Resource Location" - }, - "serviceLocation": { - "type": "string", - "description": "Service Location" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "managementEndpointUri": { - "type": "string", - "description": "Management Endpoint Uri" - }, - "monitoringConfiguration": { - "type": "string", - "description": "Monitoring Configuration" - } - } - }, - "CloudEndpointProperties": { - "type": "object", - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - }, - "partnershipId": { - "type": "string", - "description": "Partnership Id" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "backupEnabled": { - "type": "string", - "description": "Backup Enabled", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "description": "CloudEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "CloudEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - } - } - }, - "ServerEndpointUpdateProperties": { - "type": "object", - "description": "ServerEndpoint Update Properties object.", - "properties": { - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointProperties": { - "type": "object", - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "provisioningState": { - "type": "string", - "description": "ServerEndpoint Provisioning State", - "readOnly": true - }, - "lastWorkflowId": { - "type": "string", - "description": "ServerEndpoint lastWorkflowId", - "readOnly": true - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name", - "readOnly": true - }, - "syncStatus": { - "type": "object", - "$ref": "#/definitions/ServerEndpointSyncStatus", - "description": "Server Endpoint sync status", - "readOnly": true - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferStorageAccountResourceId": { - "type": "string", - "description": "Offline data transfer storage account resource ID", - "readOnly": true - }, - "offlineDataTransferStorageAccountTenantId": { - "type": "string", - "description": "Offline data transfer storage account tenant ID", - "readOnly": true - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointSyncStatus": { - "type": "object", - "description": "Server Endpoint sync status", - "properties": { - "downloadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Download Health Status.", - "readOnly": true - }, - "uploadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Upload Health Status.", - "readOnly": true - }, - "combinedHealth": { - "$ref": "#/definitions/HealthState", - "description": "Combined Health Status.", - "readOnly": true - }, - "syncActivity": { - "$ref": "#/definitions/SyncActivityState", - "description": "Sync activity", - "readOnly": true - }, - "totalPersistentFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Total count of persistent files not syncing (combined upload + download). Reserved for future use.", - "readOnly": true - }, - "lastUpdatedTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last Updated Timestamp", - "readOnly": true - }, - "uploadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Upload Status", - "readOnly": true - }, - "downloadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Download Status", - "readOnly": true - }, - "uploadActivity": { - "$ref": "#/definitions/SyncActivityStatus", - "description": "Upload sync activity", - "readOnly": true - }, - "downloadActivity": { - "$ref": "#/definitions/SyncActivityStatus", - "description": "Download sync activity", - "readOnly": true - }, - "offlineDataTransferStatus": { - "$ref": "#/definitions/OfflineDataTransferState", - "description": "Offline Data Transfer State", - "readOnly": true - } - } - }, - "SyncSessionStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "lastSyncResult": { - "type": "integer", - "format": "int32", - "description": "Last sync result (HResult)", - "readOnly": true - }, - "lastSyncTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync timestamp", - "readOnly": true - }, - "lastSyncSuccessTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync success timestamp", - "readOnly": true - }, - "lastSyncPerItemErrorCount": { - "type": "integer", - "format": "int64", - "description": "Last sync per item error count.", - "readOnly": true - }, - "persistentFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Count of persistent files not syncing. Reserved for future use.", - "readOnly": true - }, - "transientFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Count of transient files not syncing. Reserved for future use.", - "readOnly": true - }, - "filesNotSyncingErrors": { - "type": "array", - "items": { - "$ref": "#/definitions/FilesNotSyncingError" - }, - "description": "Array of per-item errors coming from the last sync session. Reserved for future use.", - "readOnly": true - } - } - }, - "SyncActivityStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "timestamp": { - "type" : "string", - "format" : "date-time", - "description": "Timestamp when properties were updated", - "readOnly": true - }, - "perItemErrorCount": { - "type": "integer", - "format": "int64", - "description": "Per item error count", - "readOnly": true - }, - "appliedItemCount": { - "type": "integer", - "format": "int64", - "description": "Applied item count.", - "readOnly": true - }, - "totalItemCount": { - "type": "integer", - "format": "int64", - "description": "Total item count (if available)", - "readOnly": true - }, - "appliedBytes": { - "type": "integer", - "format": "int64", - "description": "Applied bytes", - "readOnly": true - }, - "totalBytes": { - "type": "integer", - "format": "int64", - "description": "Total bytes (if available)", - "readOnly": true - } - } - }, - "FilesNotSyncingError": { - "type": "object", - "description": "Files not syncing error object", - "properties": { - "errorCode": { - "type": "integer", - "format": "int32", - "description": "Error code (HResult)", - "readOnly": true - }, - "persistentCount": { - "type": "integer", - "format": "int64", - "description": "Count of persistent files not syncing with the specified error code", - "readOnly": true - }, - "transientCount": { - "type": "integer", - "format": "int64", - "description": "Count of transient files not syncing with the specified error code", - "readOnly": true - } - } - }, - "PhysicalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "ResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "TagsObject": { - "type": "object", - "description": "Tags object." - }, - "FeatureStatus": { - "type": "string", - "description": "Type of the Feature Status", - "enum": [ - "on", - "off" - ] - }, - "HealthState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "Healthy", - "Error", - "SyncBlockedForRestore", - "SyncBlockedForChangeDetectionPostRestore", - "NoActivity" - ] - }, - "SyncActivityState": { - "type": "string", - "description": "Type of the sync activity state", - "enum": [ - "Upload", - "Download", - "UploadAndDownload" - ] - }, - "OfflineDataTransferState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "InProgress", - "Stopping", - "NotRunning", - "Complete" - ] - }, - "WorkflowStatus": { - "type": "string", - "description": "Type of the Workflow Status", - "enum": [ - "active", - "expired", - "succeeded", - "aborted", - "failed" - ] - }, - "OperationDirection": { - "type": "string", - "description": "Type of the Operation Direction", - "enum": [ - "do", - "undo", - "cancel" - ] - }, - "ProgressType": { - "type": "string", - "description": "Type of the ProgressType", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }] -} \ No newline at end of file + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource", + "Actions" + ], + "operationId": "Workflows_Abort", + "description": "Abort the given workflow.", + "x-ms-examples": { + "Workflows_Abort": { + "$ref": "./examples/Workflows_Abort.json" + } + }, + "responses": { + "200": { + "description": "success", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + } + }, + "definitions": { + "StorageSyncError": { + "type": "object", + "description": "Error type", + "properties": { + "error": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + }, + "innererror": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncApiError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + }, + "details": { + "$ref": "#/definitions/StorageSyncErrorDetails", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncErrorDetails": { + "type": "object", + "description": "Error Details object.", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given entry." + } + } + }, + "SubscriptionState": { + "type": "object", + "description": "Subscription State object.", + "properties": { + "state": { + "type": "string", + "description": "State of Azure Subscription", + "enum": [ + "Registered", + "Unregistered", + "Warned", + "Suspended", + "Deleted" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": true + } + }, + "istransitioning": { + "type": "boolean", + "description": "Is Transitioning", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionStateProperties", + "description": "Subscription state properties." + } + } + }, + "StorageSyncService": { + "type": "object", + "description": "Storage Sync Service object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceProperties", + "description": "Storage Sync Service properties." + } + } + }, + "SyncGroup": { + "type": "object", + "description": "Sync Group object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupProperties", + "description": "SyncGroup properties." + } + } + }, + "CloudEndpoint": { + "type": "object", + "description": "Cloud Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointProperties", + "description": "Cloud Endpoint properties." + } + } + }, + "RecallActionParameters": { + "properties": { + "pattern": { + "type": "string", + "description": "Pattern of the files." + }, + "recallPath": { + "type": "string", + "description": "Recall path." + } + }, + "description": "The parameters used when calling recall action on server endpoint." + }, + "StorageSyncServiceCreateParameters": { + "properties": { + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." + }, + "properties": {} + }, + "required": [ + "location" + ], + "description": "The parameters used when creating a storage sync service." + }, + "SyncGroupCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupCreateParametersProperties", + "description": "The parameters used to create the sync group" + } + }, + "description": "The parameters used when creating a sync group." + }, + "SyncGroupCreateParametersProperties": { + "type": "object", + "description": "Sync Group Create Properties object.", + "properties": {} + }, + "CloudEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointCreateParametersProperties", + "description": "The parameters used to create the cloud endpoint." + } + }, + "description": "The parameters used when creating a cloud endpoint." + }, + "CloudEndpointCreateParametersProperties": { + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "azureFileShareName": { + "type": "string", + "description": "Azure file share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + } + } + }, + "ServerEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointCreateParametersProperties", + "description": "The parameters used to create the server endpoint." + } + }, + "description": "The parameters used when creating a server endpoint." + }, + "ServerEndpointCreateParametersProperties": { + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "TriggerRolloverRequest": { + "type": "object", + "description": "Trigger Rollover Request.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Certificate Data" + } + } + }, + "RegisteredServerCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerCreateParametersProperties", + "description": "The parameters used to create the registered server." + } + }, + "description": "The parameters used when creating a registered server." + }, + "RegisteredServerCreateParametersProperties": { + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + } + } + }, + "ServerEndpointUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointUpdateProperties", + "description": "The properties of the server endpoint." + } + }, + "description": "Parameters for updating an Server Endpoint." + }, + "ServerEndpoint": { + "type": "object", + "description": "Server Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointProperties", + "description": "Server Endpoint properties." + } + } + }, + "RegisteredServer": { + "type": "object", + "description": "Registered Server resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerProperties", + "description": "RegisteredServer properties." + } + } + }, + "ResourcesMoveInfo": { + "type": "object", + "description": "Resource Move Info.", + "properties": { + "targetResourceGroup": { + "type": "string", + "description": "Target resource group." + }, + "resources": { + "type": "array", + "description": "Collection of Resources.", + "items": { + "$ref": "#/definitions/ResourceId" + } + } + } + }, + "Workflow": { + "type": "object", + "description": "Workflow resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "Workflow properties." + } + } + }, + "OperationEntityListResult": { + "description": "The list of storage sync operations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + }, + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + } + } + }, + "OperationEntity": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by storage sync." + }, + "origin": { + "type": "string", + "description": "The origin." + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Microsoft StorageSync.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "OperationDisplayResource": { + "type": "object", + "description": "Operation Display Resource object.", + "properties": { + "provider": { + "type": "string", + "description": "Operation Display Resource Provider." + }, + "resource": { + "type": "string", + "description": "Operation Display Resource." + }, + "operation": { + "type": "string", + "description": "Operation Display Resource Operation." + }, + "description": { + "type": "string", + "description": "Operation Display Resource Description." + } + } + }, + "CheckNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string", + "description": "The name to check for availability" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageSync/storageSyncServices" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" + } + }, + "required": [ + "name", + "type" + ], + "description": "Parameters for a check name availability request." + }, + "CheckNameAvailabilityResult": { + "properties": { + "nameAvailable": { + "readOnly": true, + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." + }, + "reason": { + "readOnly": true, + "type": "string", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "NameAvailabilityReason", + "modelAsString": false + }, + "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail." + } + }, + "description": "The CheckNameAvailability operation response." + }, + "PostRestoreRequest": { + "type": "object", + "description": "Post Restore Request", + "properties": { + "partition": { + "type": "string", + "description": "Post Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Post Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Post Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Post Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Post Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Post Restore Azure source azure file share uri." + }, + "failedFileList": { + "type": "string", + "description": "Post Restore Azure failed file list." + }, + "restoreFileSpec": { + "type": "array", + "description": "Post Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Post Restore restore file spec items array." + } + } + } + }, + "PreRestoreRequest": { + "type": "object", + "description": "Pre Restore request object.", + "properties": { + "partition": { + "type": "string", + "description": "Pre Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Pre Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Pre Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Pre Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure source azure file share uri." + }, + "backupMetadataPropertyBag": { + "type": "string", + "description": "Pre Restore backup metadata property bag." + }, + "restoreFileSpec": { + "type": "array", + "description": "Pre Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Pre Restore restore file spec items array." + } + }, + "pauseWaitForSyncDrainTimePeriodInSeconds": { + "type": "integer", + "description": "Pre Restore pause wait for sync drain time period in seconds." + } + } + }, + "BackupRequest": { + "type": "object", + "description": "Backup request", + "properties": { + "azureFileShare": { + "type": "string", + "description": "Azure File Share." + } + } + }, + "PostBackupResponse": { + "type": "object", + "description": "Post Backup Response", + "properties": { + "backupMetadata": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PostBackupResponseProperties", + "description": "Post Backup Response Properties" + } + } + }, + "RestoreFileSpec": { + "type": "object", + "description": "Restore file spec.", + "properties": { + "path": { + "type": "string", + "description": "Restore file spec path" + }, + "isdir": { + "type": "boolean", + "description": "Restore file spec isdir", + "readOnly": true + } + } + }, + "StorageSyncServiceArray": { + "type": "object", + "description": "Array of StorageSyncServices", + "properties": { + "value": { + "type": "array", + "description": "Collection of StorageSyncServices.", + "items": { + "$ref": "#/definitions/StorageSyncService" + } + } + } + }, + "SyncGroupArray": { + "type": "object", + "description": "Array of SyncGroup", + "properties": { + "value": { + "type": "array", + "description": "Collection of SyncGroup.", + "items": { + "$ref": "#/definitions/SyncGroup" + } + } + } + }, + "CloudEndpointArray": { + "type": "object", + "description": "Array of CloudEndpoint", + "properties": { + "value": { + "type": "array", + "description": "Collection of CloudEndpoint.", + "items": { + "$ref": "#/definitions/CloudEndpoint" + } + } + } + }, + "ServerEndpointArray": { + "description": "Array of ServerEndpoint", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of ServerEndpoint.", + "items": { + "$ref": "#/definitions/ServerEndpoint" + } + } + } + }, + "RegisteredServerArray": { + "description": "Array of RegisteredServer", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of Registered Server.", + "items": { + "$ref": "#/definitions/RegisteredServer" + } + } + } + }, + "WorkflowArray": { + "description": "Array of Workflow", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of workflow items.", + "items": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "SubscriptionStateProperties": { + "type": "object", + "description": "Subscription State properties." + }, + "PostBackupResponseProperties": { + "type": "object", + "description": "Post Backup Response Properties object.", + "properties": { + "cloudEndpointName": { + "type": "string", + "description": "cloud endpoint Name.", + "readOnly": true + } + } + }, + "StorageSyncServiceUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the storage sync service." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceUpdateProperties", + "description": "The properties of the storage sync service." + } + }, + "description": "Parameters for updating an Storage sync service." + }, + "StorageSyncServiceUpdateProperties": { + "type": "object", + "description": "Storage Sync Service Update Properties object.", + "properties": {} + }, + "StorageSyncServiceProperties": { + "type": "object", + "description": "Storage Sync Service Properties object.", + "properties": { + "storageSyncServiceStatus": { + "type": "integer", + "description": "Storage Sync service status.", + "readOnly": true + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Storage Sync service Uid", + "readOnly": true + } + } + }, + "WorkflowProperties": { + "type": "object", + "description": "Workflow Properties object.", + "properties": { + "lastStepName": { + "type": "string", + "description": "last step name" + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "workflow status." + }, + "operation": { + "$ref": "#/definitions/OperationDirection", + "description": "operation direction." + }, + "steps": { + "type": "string", + "description": "workflow steps" + }, + "lastOperationId": { + "type": "string", + "description": "workflow last operation identifier." + } + } + }, + "SyncGroupProperties": { + "type": "object", + "description": "SyncGroup Properties object.", + "properties": { + "uniqueId": { + "type": "string", + "description": "Unique Id" + }, + "syncGroupStatus": { + "type": "string", + "description": "Sync group status", + "readOnly": true + } + } + }, + "RegisteredServerProperties": { + "type": "object", + "description": "RegisteredServer Properties object.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "serverManagementErrorCode": { + "type": "integer", + "description": "Registered Server Management Error Code" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "provisioningState": { + "type": "string", + "description": "Registered Server Provisioning State" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Registered Server storageSyncServiceUid" + }, + "lastWorkflowId": { + "type": "string", + "description": "Registered Server lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "discoveryEndpointUri": { + "type": "string", + "description": "Resource discoveryEndpointUri" + }, + "resourceLocation": { + "type": "string", + "description": "Resource Location" + }, + "serviceLocation": { + "type": "string", + "description": "Service Location" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "managementEndpointUri": { + "type": "string", + "description": "Management Endpoint Uri" + }, + "monitoringConfiguration": { + "type": "string", + "description": "Monitoring Configuration" + } + } + }, + "CloudEndpointProperties": { + "type": "object", + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "azureFileShareName": { + "type": "string", + "description": "Azure file share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + }, + "partnershipId": { + "type": "string", + "description": "Partnership Id" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "backupEnabled": { + "type": "string", + "description": "Backup Enabled", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "CloudEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "CloudEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + } + } + }, + "ServerEndpointUpdateProperties": { + "type": "object", + "description": "ServerEndpoint Update Properties object.", + "properties": { + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointProperties": { + "type": "object", + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "provisioningState": { + "type": "string", + "description": "ServerEndpoint Provisioning State", + "readOnly": true + }, + "lastWorkflowId": { + "type": "string", + "description": "ServerEndpoint lastWorkflowId", + "readOnly": true + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name", + "readOnly": true + }, + "syncStatus": { + "type": "object", + "$ref": "#/definitions/ServerEndpointSyncStatus", + "description": "Server Endpoint sync status", + "readOnly": true + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferStorageAccountResourceId": { + "type": "string", + "description": "Offline data transfer storage account resource ID", + "readOnly": true + }, + "offlineDataTransferStorageAccountTenantId": { + "type": "string", + "description": "Offline data transfer storage account tenant ID", + "readOnly": true + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointSyncStatus": { + "type": "object", + "description": "Server Endpoint sync status", + "properties": { + "downloadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Download Health Status.", + "readOnly": true + }, + "uploadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Upload Health Status.", + "readOnly": true + }, + "combinedHealth": { + "$ref": "#/definitions/HealthState", + "description": "Combined Health Status.", + "readOnly": true + }, + "syncActivity": { + "$ref": "#/definitions/SyncActivityState", + "description": "Sync activity", + "readOnly": true + }, + "totalPersistentFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Total count of persistent files not syncing (combined upload + download). Reserved for future use.", + "readOnly": true + }, + "lastUpdatedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last Updated Timestamp", + "readOnly": true + }, + "uploadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Upload Status", + "readOnly": true + }, + "downloadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Download Status", + "readOnly": true + }, + "uploadActivity": { + "$ref": "#/definitions/SyncActivityStatus", + "description": "Upload sync activity", + "readOnly": true + }, + "downloadActivity": { + "$ref": "#/definitions/SyncActivityStatus", + "description": "Download sync activity", + "readOnly": true + }, + "offlineDataTransferStatus": { + "$ref": "#/definitions/OfflineDataTransferState", + "description": "Offline Data Transfer State", + "readOnly": true + } + } + }, + "SyncSessionStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "lastSyncResult": { + "type": "integer", + "format": "int32", + "description": "Last sync result (HResult)", + "readOnly": true + }, + "lastSyncTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync timestamp", + "readOnly": true + }, + "lastSyncSuccessTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync success timestamp", + "readOnly": true + }, + "lastSyncPerItemErrorCount": { + "type": "integer", + "format": "int64", + "description": "Last sync per item error count.", + "readOnly": true + }, + "persistentFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Count of persistent files not syncing. Reserved for future use.", + "readOnly": true + }, + "transientFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Count of transient files not syncing. Reserved for future use.", + "readOnly": true + }, + "filesNotSyncingErrors": { + "type": "array", + "items": { + "$ref": "#/definitions/FilesNotSyncingError" + }, + "description": "Array of per-item errors coming from the last sync session. Reserved for future use.", + "readOnly": true + } + } + }, + "SyncActivityStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when properties were updated", + "readOnly": true + }, + "perItemErrorCount": { + "type": "integer", + "format": "int64", + "description": "Per item error count", + "readOnly": true + }, + "appliedItemCount": { + "type": "integer", + "format": "int64", + "description": "Applied item count.", + "readOnly": true + }, + "totalItemCount": { + "type": "integer", + "format": "int64", + "description": "Total item count (if available)", + "readOnly": true + }, + "appliedBytes": { + "type": "integer", + "format": "int64", + "description": "Applied bytes", + "readOnly": true + }, + "totalBytes": { + "type": "integer", + "format": "int64", + "description": "Total bytes (if available)", + "readOnly": true + } + } + }, + "FilesNotSyncingError": { + "type": "object", + "description": "Files not syncing error object", + "properties": { + "errorCode": { + "type": "integer", + "format": "int32", + "description": "Error code (HResult)", + "readOnly": true + }, + "persistentCount": { + "type": "integer", + "format": "int64", + "description": "Count of persistent files not syncing with the specified error code", + "readOnly": true + }, + "transientCount": { + "type": "integer", + "format": "int64", + "description": "Count of transient files not syncing with the specified error code", + "readOnly": true + } + } + }, + "PhysicalPath": { + "type": "string", + "description": "Server folder used for data synchronization" + }, + "ResourceId": { + "type": "string", + "description": "Arm resource identifier." + }, + "TagsObject": { + "type": "object", + "description": "Tags object." + }, + "FeatureStatus": { + "type": "string", + "description": "Type of the Feature Status", + "enum": [ + "on", + "off" + ] + }, + "HealthState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "Healthy", + "Error", + "SyncBlockedForRestore", + "SyncBlockedForChangeDetectionPostRestore", + "NoActivity" + ] + }, + "SyncActivityState": { + "type": "string", + "description": "Type of the sync activity state", + "enum": [ + "Upload", + "Download", + "UploadAndDownload" + ] + }, + "OfflineDataTransferState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "InProgress", + "Stopping", + "NotRunning", + "Complete" + ] + }, + "WorkflowStatus": { + "type": "string", + "description": "Type of the Workflow Status", + "enum": [ + "active", + "expired", + "succeeded", + "aborted", + "failed" + ] + }, + "OperationDirection": { + "type": "string", + "description": "Type of the Operation Direction", + "enum": [ + "do", + "undo", + "cancel" + ] + }, + "ProgressType": { + "type": "string", + "description": "Type of the ProgressType", + "enum": [ + "none", + "initialize", + "download", + "upload", + "recall" + ] + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Create.json index 444f6ee5b476..64401be66a5e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Create.json @@ -1,52 +1,52 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-03-01", - "parameters": { - "properties": { - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "backupEnabled" : "false", - "provisioningState": "Succeeded", - "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", - "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", - "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", - "friendlyName": "ankushbsubscriptionmgmtmab", - "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } + "properties": { + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "backupEnabled": "false", + "provisioningState": "Succeeded", + "storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", + "azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", + "storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", + "friendlyName": "ankushbsubscriptionmgmtmab", + "lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Delete.json index e5a3ae565b9e..63cdc3af666d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Delete.json @@ -1,30 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Get.json index 8f0164dc0038..0a99eb4b90d7 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleCloudEndpoint_1", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "azureFileShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleCloudEndpoint_1", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "azureFileShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_ListBySyncGroup.json index 3faa7f7d8748..4ae586f43ea3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -1,34 +1,36 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "CEP_Restore_08-08_Test112", + "properties": { + "provisioningState": "Succeeded", + "storageAccountResourceId": "", + "azureFileShareName": "", + "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", + "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", + "friendlyName": "SampleAzureFileShareName_1", + "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", + "lastOperationName": "ICreateCloudEndpointWorkflow" }, - "body": { - "value": [{ - "name": "CEP_Restore_08-08_Test112", - "properties": { - "provisioningState": "Succeeded", - "storageAccountResourceId": "", - "azureFileShareName": "", - "storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", - "lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", - "friendlyName": "SampleAzureFileShareName_1", - "partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", - "lastOperationName": "ICreateCloudEndpointWorkflow" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostBackup.json index 0178740a938b..cac0869824d8 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostBackup.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" - }, - "api-version": "2019-03-01" + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "backupMetadata": { - "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" - } - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2019-03-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "backupMetadata": { + "cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" } + } + }, + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2019-03-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostRestore.json index 2bf9f4591a30..8864542cc705 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PostRestore.json @@ -1,48 +1,49 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "status": "Succeeded", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "status": "Succeeded", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false }, - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir", + "isdir": true + }, + { + "path": "MyDir/SubDir", + "isdir": false }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + }, + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreBackup.json index a77233ac295c..58c600012986 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreBackup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreBackup.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "api-version": "2019-03-01", - "parameters" : { - "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" + "parameters": { + "azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "x-ms-location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreRestore.json index c137b73984b7..4979953efe0c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreRestore.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_PreRestore.json @@ -1,46 +1,47 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-03-01", - "parameters": { - "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", - "restoreFileSpec": [ - { - "path": "text1.txt", - "isdir" : false - }, - { - "path": "MyDir", - "isdir" : true - }, - { - "path": "MyDir/SubDir", - "isdir" : false - }, - { - "path": "MyDir/SubDir/File1.pdf", - "isdir" : false - }] - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", + "restoreFileSpec": [ + { + "path": "text1.txt", + "isdir": false + }, + { + "path": "MyDir", + "isdir": true }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + { + "path": "MyDir/SubDir", + "isdir": false + }, + { + "path": "MyDir/SubDir/File1.pdf", + "isdir": false } + ] + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_RestoreHeatbeat.json index 944c6e8337fd..4e7f4c83685d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_RestoreHeatbeat.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_RestoreHeatbeat.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": "" - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_TriggerChangeDetection.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_TriggerChangeDetection.json index 4cfbbd70877c..b11499da6fc6 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_TriggerChangeDetection.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/CloudEndpoints_TriggerChangeDetection.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "parameters": { - "directoryPath": "NewDirectory", - "changeDetectionMode": "Recursive" - }, - "api-version": "2019-03-01" + "directoryPath": "NewDirectory", + "changeDetectionMode": "Recursive" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "202": { + "headers": { + "x-ms-location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2019-03-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/OperationStatus_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/OperationStatus_Get.json index 4c456749470c..0e772ccbfb96 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/OperationStatus_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/OperationStatus_Get.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "locationName": "westus", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "operationId": "14b50e24-f68d-4b29-a882-38be9dfb8bd1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "14b50e24-f68d-4b29-a882-38be9dfb8bd1", - "status": "Succeeded", - "startTime": "2019-05-09T23:53:21.7328715Z", - "endTime": "2019-05-09T23:53:23.3735483Z", - "error": null - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "locationName": "westus", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "operationId": "14b50e24-f68d-4b29-a882-38be9dfb8bd1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "14b50e24-f68d-4b29-a882-38be9dfb8bd1", + "status": "Succeeded", + "startTime": "2019-05-09T23:53:21.7328715Z", + "endTime": "2019-05-09T23:53:23.3735483Z", + "error": null + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json index 16ba8f34fe0e..d027bda3e3d6 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json @@ -1,193 +1,214 @@ { - "parameters": { - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.StorageSync/storageSyncServices/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Read Storage Sync Services", - "description": "Read any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Create or Update Storage Sync Services", - "description": "Create or Update any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Storage Sync Services", - "operation": "Delete Storage Sync Services", - "description": "Delete any Storage Sync Services" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Read Sync Groups", - "description": "Read any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Create or Update Sync Groups", - "description": "Create or Update any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Sync Groups", - "operation": "Delete Sync Groups", - "description": "Delete any Sync Groups" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Read Cloud Endpoints", - "description": "Read any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Create or Update Cloud Endpoints", - "description": "Create or Update any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "Delete Cloud Endpoints", - "description": "Delete any Cloud Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prebackup", - "description": "Call this action before backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postbackup", - "description": "Call this action after backup" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "prerestore", - "description": "Call this action before restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Cloud Endpoints", - "operation": "postrestore", - "description": "Call this action after restore" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Read Server Endpoints", - "description": "Read any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Create or Update Server Endpoints", - "description": "Create or Update any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "Delete Server Endpoints", - "description": "Delete any Server Endpoints" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Server Endpoints", - "operation": "recallAction", - "description": "Call this action to recall files to a server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Read Registered Server", - "description": "Read any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Create or Update Registered Server", - "description": "Create or Update any Registered Server" - }, - "origin": "User" - }, { - "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", - "display": { - "provider": "Microsoft.StorageSync", - "resource": "Registered Server", - "operation": "Delete Registered Server", - "description": "Delete any Registered Server" - }, - "origin": "User" - }], - "nextLink": "" - } - } + "parameters": { + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageSync/storageSyncServices/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Read Storage Sync Services", + "description": "Read any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Create or Update Storage Sync Services", + "description": "Create or Update any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Storage Sync Services", + "operation": "Delete Storage Sync Services", + "description": "Delete any Storage Sync Services" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Read Sync Groups", + "description": "Read any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Create or Update Sync Groups", + "description": "Create or Update any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Sync Groups", + "operation": "Delete Sync Groups", + "description": "Delete any Sync Groups" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Read Cloud Endpoints", + "description": "Read any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Create or Update Cloud Endpoints", + "description": "Create or Update any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "Delete Cloud Endpoints", + "description": "Delete any Cloud Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prebackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prebackup", + "description": "Call this action before backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postbackup/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postbackup", + "description": "Call this action after backup" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/prerestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "prerestore", + "description": "Call this action before restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints/postrestore/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Cloud Endpoints", + "operation": "postrestore", + "description": "Call this action after restore" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Read Server Endpoints", + "description": "Read any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Create or Update Server Endpoints", + "description": "Create or Update any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "Delete Server Endpoints", + "description": "Delete any Server Endpoints" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints/recallAction/action", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Server Endpoints", + "operation": "recallAction", + "description": "Call this action to recall files to a server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/read", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Read Registered Server", + "description": "Read any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/write", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Create or Update Registered Server", + "description": "Create or Update any Registered Server" + }, + "origin": "User" + }, + { + "name": "Microsoft.StorageSync/storageSyncServices/registeredServers/delete", + "display": { + "provider": "Microsoft.StorageSync", + "resource": "Registered Server", + "operation": "Delete Registered Server", + "description": "Delete any Registered Server" + }, + "origin": "User" + } + ], + "nextLink": "" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Create.json index 4fd1d56982f1..8586245421c6 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Create.json @@ -1,61 +1,61 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"", - "parameters": { - "name": "SampleServer-prod3.redmond.corp.microsoft.com", - "properties": { - "serverRole": "Standalone", - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", - "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", - "serverOSVersion": "10.0.14393.0", - "agentVersion": "1.0.277.0" - }, - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "api-version": "2019-03-01" + "name": "SampleServer-prod3.redmond.corp.microsoft.com", + "properties": { + "serverRole": "Standalone", + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"", + "lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"", + "serverOSVersion": "10.0.14393.0", + "agentVersion": "1.0.277.0" + }, + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", - "name": "ankushb-prod3.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/530a0384-50ac-456d-8240-9d6621404151", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers", + "name": "ankushb-prod3.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Delete.json index 6041e210dab0..33571b131a5d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Delete.json @@ -1,28 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "41166691-ab03-43e9-ab3e-0330eda162ac", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operations/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } + }, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Get.json index a414b48efbe9..ad1016ce2dbe 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_Get.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_ListByStorageSyncService.json index 0d9090e9f1cc..368b07315fc9 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_ListByStorageSyncService.json @@ -1,42 +1,44 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", + "properties": { + "agentVersion": "3.1.5.0", + "serverOSVersion": "10.0.14393.0", + "serverManagementErrorCode": 0, + "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", + "provisioningState": "Succeeded", + "serverRole": "Standalone", + "clusterId": "\"00000000-0000-0000-0000-000000000000\"", + "clusterName": "", + "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", + "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", + "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", + "lastOperationName": "ICreateRegisteredServerWorkflow", + "friendlyName": "afscv-2304-139", + "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", + "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", + "resourceLocation": "westus", + "serviceLocation": "westus" }, - "body": { - "value": [{ - "name": "SampleRegisteredServer_1.redmond.corp.microsoft.com", - "properties": { - "agentVersion": "3.1.5.0", - "serverOSVersion": "10.0.14393.0", - "serverManagementErrorCode": 0, - "lastHeartBeat": "\"2018-06-11T21:50:40.5840543Z\"", - "provisioningState": "Succeeded", - "serverRole": "Standalone", - "clusterId": "\"00000000-0000-0000-0000-000000000000\"", - "clusterName": "", - "serverId": "\"3635ca8b-5cc8-4a5c-bd43-c2de5ad8dc64\"", - "storageSyncServiceUid": "\"4aa14534-1c61-483b-b6a6-9630a76f109a\"", - "lastWorkflowId": "storageSyncServices/CV_FileStore_F1D485AA/workflows/4eecfbcf-9537-4b61-8fee-aaa3ace11c44", - "lastOperationName": "ICreateRegisteredServerWorkflow", - "friendlyName": "afscv-2304-139", - "managementEndpointUri": "\"https://kailanitest99.one.microsoft.com:443/\"", - "discoveryEndpointUri": "\"https://kailanitest99.one.microsoft.com:443\"", - "resourceLocation": "westus", - "serviceLocation": "westus" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "type": "Microsoft.StorageSync/storageSyncServices/registeredServers" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_TriggerRollover.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_TriggerRollover.json index 20e5373752e0..1cd0c85fb40d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_TriggerRollover.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/RegisteredServers_TriggerRollover.json @@ -1,29 +1,29 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "serverId": "d166ca76-dad2-49df-b409-12345642d730", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "serverId": "d166ca76-dad2-49df-b409-12345642d730", - "parameters": { - "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" - }, - "api-version": "2019-03-01" + "serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47222", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d222" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Create.json index 5c6671c58678..a0144a3ae843 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Create.json @@ -1,60 +1,60 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters": { - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays": 0, - "offlineDataTransfer": "on", - "offlineDataTransferShareName": "myfileshare" - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "api-version": "2019-03-01" + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "on", + "offlineDataTransferShareName": "myfileshare" + }, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": null, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": null, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Delete.json index c41846b55853..55cffea74f82 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Delete.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operations/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/9122d971-147b-4dba-bada-1ceb7c9311e5/operationresults/6dce076b-1df5-4449-829b-69b24f38b5a1?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Get.json index 9fa2ebf16706..98f14d0f7a61 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Get.json @@ -1,81 +1,81 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": "UploadAndDownload", + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 1000, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": "UploadAndDownload", - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 1000, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 300, - "appliedItemCount": 1000, - "totalItemCount": 2300, - "appliedBytes": 57348983, - "totalBytes": 1958367412 - }, - "downloadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 0, - "appliedItemCount": 100, - "totalItemCount": 300, - "appliedBytes": 94805587, - "totalBytes": 19583674 - }, - "offlineDataTransferStatus": "InProgress" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 300, + "appliedItemCount": 1000, + "totalItemCount": 2300, + "appliedBytes": 57348983, + "totalBytes": 1958367412 + }, + "downloadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 0, + "appliedItemCount": 100, + "totalItemCount": 300, + "appliedBytes": 94805587, + "totalBytes": 19583674 + }, + "offlineDataTransferStatus": "InProgress" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_ListBySyncGroup.json index 21ab8e1969db..4f2c3938881a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -1,120 +1,123 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_1", + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "friendlyName": "somemachine.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 0, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": null, + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 1000, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": null, + "downloadActivity": null, + "offlineDataTransferStatus": "Complete" + }, + "offlineDataTransfer": "on", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "body": { - "value": [{ - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_1", - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "friendlyName": "somemachine.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 0, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": null, - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 1000, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": null, - "downloadActivity": null, - "offlineDataTransferStatus": "Complete" - }, - "offlineDataTransfer": "on", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, { - "name": "SampleServerEndpoint_2", - "properties": { - "serverLocalPath": "D:\\SampleServerEndpoint_2", - "cloudTiering": "on", - "volumeFreeSpacePercent": 80, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", - "lastOperationName": "ICreateServerEndpointWorkflow", - "tierFilesOlderThanDays" : 5, - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Healthy", - "combinedHealth": "Healthy", - "syncActivity": "Upload", - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": { - "timestamp": "2018-06-11T23:32:51.1057915Z", - "perItemErrorCount": 300, - "appliedItemCount": 1000, - "totalItemCount": 2300, - "appliedBytes": 57348983, - "totalBytes": 1958367412 - }, - "downloadActivity": null, - "offlineDataTransferStatus": "NotRunning" - }, - "offlineDataTransfer": "off" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }] - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + }, + { + "name": "SampleServerEndpoint_2", + "properties": { + "serverLocalPath": "D:\\SampleServerEndpoint_2", + "cloudTiering": "on", + "volumeFreeSpacePercent": 80, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/40b1dc00-d7d9-4721-a1e9-ab60139b830a", + "lastOperationName": "ICreateServerEndpointWorkflow", + "tierFilesOlderThanDays": 5, + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Healthy", + "combinedHealth": "Healthy", + "syncActivity": "Upload", + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "uploadActivity": { + "timestamp": "2018-06-11T23:32:51.1057915Z", + "perItemErrorCount": 300, + "appliedItemCount": 1000, + "totalItemCount": 2300, + "appliedBytes": 57348983, + "totalBytes": 1958367412 + }, + "downloadActivity": null, + "offlineDataTransferStatus": "NotRunning" + }, + "offlineDataTransfer": "off" + }, + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Recall.json index 79364fc29d3c..cde72b2b1a3e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Recall.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Recall.json @@ -1,31 +1,31 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "api-version": "2019-03-01", - "parameters": { - "pattern": "", - "recallPath": "" - } + "pattern": "", + "recallPath": "" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operations/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Update.json index 70e28357aaa8..1c4321796c94 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/ServerEndpoints_Update.json @@ -1,85 +1,85 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "syncGroupName": "SampleSyncGroup_1", + "serverEndpointName": "SampleServerEndpoint_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "cloudEndpointName": "SampleCloudEndpoint_1", - "syncGroupName": "SampleSyncGroup_1", - "serverEndpointName": "SampleServerEndpoint_1", - "parameters" : { - "properties": { - "cloudTiering": "off", - "volumeFreeSpacePercent": 100, - "tierFilesOlderThanDays" : 0, - "offlineDataTransfer": "off" - } - }, - "api-version": "2019-03-01" + "properties": { + "cloudTiering": "off", + "volumeFreeSpacePercent": 100, + "tierFilesOlderThanDays": 0, + "offlineDataTransfer": "off" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleServerEndpoint_1", + "properties": { + "serverLocalPath": "C:\\data_quota2", + "cloudTiering": "off", + "volumeFreeSpacePercent": 20, + "tierFilesOlderThanDays": 0, + "friendlyName": "somemachine2.redmond.corp.microsoft.com", + "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", + "provisioningState": "Succeeded", + "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", + "lastOperationName": "ICreateServerEndpointWorkflow", + "syncStatus": { + "downloadHealth": "Healthy", + "uploadHealth": "Error", + "combinedHealth": "Error", + "syncActivity": null, + "totalPersistentFilesNotSyncingCount": null, + "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", + "uploadStatus": { + "lastSyncResult": -2134351810, + "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", + "lastSyncSuccessTimestamp": null, + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null + }, + "downloadStatus": { + "lastSyncResult": 0, + "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", + "lastSyncPerItemErrorCount": 0, + "persistentFilesNotSyncingCount": null, + "transientFilesNotSyncingCount": null, + "filesNotSyncingErrors": null }, - "body": { - "name": "SampleServerEndpoint_1", - "properties": { - "serverLocalPath": "C:\\data_quota2", - "cloudTiering": "off", - "volumeFreeSpacePercent": 20, - "tierFilesOlderThanDays": 0, - "friendlyName": "somemachine2.redmond.corp.microsoft.com", - "serverResourceId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/anpintDemoRG/providers/kailanitest07.one.microsoft.com/storageSyncServices/healthdemo1/registeredServers/f94e2944-b48d-4e5b-bdc7-c48ab3712659", - "provisioningState": "Succeeded", - "lastWorkflowId": "storageSyncServices/healthDemo1/workflows/569afb5c-7172-4cf8-a8ea-d987f727f11b", - "lastOperationName": "ICreateServerEndpointWorkflow", - "syncStatus": { - "downloadHealth": "Healthy", - "uploadHealth": "Error", - "combinedHealth": "Error", - "syncActivity": null, - "totalPersistentFilesNotSyncingCount": null, - "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", - "uploadStatus": { - "lastSyncResult": -2134351810, - "lastSyncTimestamp": "2018-06-11T23:32:51.1057915Z", - "lastSyncSuccessTimestamp": null, - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "downloadStatus": { - "lastSyncResult": 0, - "lastSyncTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncSuccessTimestamp": "2018-06-11T23:28:33.9217334Z", - "lastSyncPerItemErrorCount": 0, - "persistentFilesNotSyncingCount": null, - "transientFilesNotSyncingCount": null, - "filesNotSyncingErrors": null - }, - "uploadActivity": null, - "downloadActivity": null, - "offlineDataTransferStatus": "Stopping" - }, - "offlineDataTransfer": "off", - "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", - "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "offlineDataTransferShareName": "myfileshare" - }, - "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } + "uploadActivity": null, + "downloadActivity": null, + "offlineDataTransferStatus": "Stopping" + }, + "offlineDataTransfer": "off", + "offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa", + "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "offlineDataTransferShareName": "myfileshare" }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-03-01", - "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-03-01", - "Retry-After": "10", - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operations/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-03-01", + "Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Swagger_08-09_Test212/workflows/3af798a9-26fd-44e7-a121-a4ad65f451bd/operationresults/ef2a30f4-9bb8-40e7-b403-5d6d3dc67a3c?api-version=2019-03-01", + "Retry-After": "10", + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json index 9bea7b871b5d..d92e7c82158e 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -1,20 +1,20 @@ { + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "An account named 'newstoragesyncservicename' is already in use." - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "An account named 'newstoragesyncservicename' is already in use." + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_Available.json index 8b13eb776604..917a8ff49ce8 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_Available.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -1,18 +1,18 @@ { + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", + "locationName": "westus", "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c", - "locationName": "westus", - "parameters": { - "name": "newstoragesyncservicename", - "type": "Microsoft.StorageSync/storageSyncServices" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true - } - } + "name": "newstoragesyncservicename", + "type": "Microsoft.StorageSync/storageSyncServices" } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Create.json index d2b8d22769f2..aef912cd9ad2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "parameters": { - "location": "WestUS", - "tags": {}, - "properties": {} - }, - "api-version": "2019-03-01" + "location": "WestUS", + "tags": {}, + "properties": {} }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Delete.json index b655a4a44651..485f32d41c6c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Delete.json @@ -1,14 +1,12 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Get.json index 5609cd409055..77f3c43be588 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Get.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListByResourceGroup.json index d4fc8c2635ba..a4ed4fb7e0ce 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListByResourceGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListByResourceGroup.json @@ -1,48 +1,52 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListBySubscription.json index a4bd85c6d612..81dc34dfee45 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListBySubscription.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_ListBySubscription.json @@ -1,47 +1,51 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" }, - "body": { - "value": [{ - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"3d1bf292-0f2a-4cc1-a3e1-60f35800e40c\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_2", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", - "type": "Microsoft.StorageSync/storageSyncServices" - }, { - "name": "SampleStorageSyncService_3", - "location": "WestUS", - "tags": {}, - "properties": { - "storageSyncServiceStatus": 0, - "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", - "type": "Microsoft.StorageSync/storageSyncServices" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_2", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"2de01144-72da-4d7f-9d0c-e858855114a8\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_2", + "type": "Microsoft.StorageSync/storageSyncServices" + }, + { + "name": "SampleStorageSyncService_3", + "location": "WestUS", + "tags": {}, + "properties": { + "storageSyncServiceStatus": 0, + "storageSyncServiceUid": "\"b2c58ee5-933e-462c-8a9e-b30f2bdd8fa3\"" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_3", + "type": "Microsoft.StorageSync/storageSyncServices" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Update.json index ce97565b223f..f8e5efe21a56 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/StorageSyncServices_Update.json @@ -1,30 +1,30 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-03-01", - "parameters": { - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "SampleStorageSyncService_1", - "location": "WestUS", - "tags": { - "Environment": "Test", - "Dept": "IT" - }, - "properties": {}, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", - "type": "Microsoft.StorageSync/storageSyncServices" - } - } + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {} } + }, + "responses": { + "200": { + "body": { + "name": "SampleStorageSyncService_1", + "location": "WestUS", + "tags": { + "Environment": "Test", + "Dept": "IT" + }, + "properties": {}, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1", + "type": "Microsoft.StorageSync/storageSyncServices" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Create.json index 87e5968e1df8..66279ce86dfc 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Create.json @@ -1,25 +1,25 @@ { + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01", "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01", - "parameters": { - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - }, - "responses": { - "200": { - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "properties": {}, + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" } + }, + "responses": { + "200": { + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "7868e4ee-8ddd-4a2d-941b-0041f6052a8a" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + } + } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Delete.json index c9711625b428..22fee2a1550b 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Delete.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Delete.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - }, - "204": { - } - } -} \ No newline at end of file + "204": {} + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Get.json index 44836ec3ad0a..b3f406e15fb3 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_Get.json @@ -1,26 +1,26 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "syncGroupName": "SampleSyncGroup_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_ListByStorageSyncService.json index 0f0c5960e1a7..5687f640851c 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/SyncGroups_ListByStorageSyncService.json @@ -1,27 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "SampleSyncGroup_1", + "properties": { + "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", + "syncGroupStatus": "0" }, - "body": { - "value": [{ - "name": "SampleSyncGroup_1", - "properties": { - "uniqueId": "191660cd-6a1a-4f8c-9787-a6bed206a1dd", - "syncGroupStatus": "0" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SSS_Restore_08-08_Test112/syncGroups/SampleSyncGroup_1", + "type": "Microsoft.StorageSync/storageSyncServices/syncGroups" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Abort.json index 812a719498ee..e90c5456a510 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Abort.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Abort.json @@ -1,17 +1,17 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "7ffd50b3-5574-478d-9ff2-9371bc42ce68", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Get.json index bdc26f686265..af1e57cb45eb 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_Get.json @@ -1,29 +1,29 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" - }, - "body": { - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - } - } + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "workflowId": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" + }, + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_ListByStorageSyncService.json index b2c769bc76a9..9eee8be702c2 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_ListByStorageSyncService.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Workflows_ListByStorageSyncService.json @@ -1,30 +1,32 @@ { - "parameters": { - "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", - "resourceGroupName": "SampleResourceGroup_1", - "storageSyncServiceName": "SampleStorageSyncService_1", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", - "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "value": [ + { + "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", + "properties": { + "status": "succeeded", + "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", + "operation": "do", + "lastStepName": "runServerJob", + "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" }, - "body": { - "value": [{ - "name": "828219ea-083e-48b5-89ea-8fd9991b2e75", - "properties": { - "status": "succeeded", - "lastOperationId": "\"fe680c98-5725-49c8-b0dc-5e29745f752b\"", - "operation": "do", - "lastStepName": "runServerJob", - "steps": "[{\"name\":\"validateInput\",\"friendlyName\":\"validateInput\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"newServerEndpoint\",\"friendlyName\":\"newServerEndpoint\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"updateReplicaGroupCertificates\",\"friendlyName\":\"updateReplicaGroupCertificates\",\"status\":\"Succeeded\",\"error\":null},{\"name\":\"runServerJob\",\"friendlyName\":\"runServerJob\",\"status\":\"Succeeded\",\"error\":null}]" - }, - "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", - "type": "Microsoft.StorageSync/storageSyncServices/workflows" - }] - } - } + "id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75", + "type": "Microsoft.StorageSync/storageSyncServices/workflows" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/storagesync.json index c0039fb505f2..4752aa4664a9 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/storagesync.json @@ -1,3872 +1,4129 @@ { - "swagger": "2.0", - "info": { - "title": "Microsoft Storage Sync", - "description": "Microsoft Storage Sync Service API", - "version": "2019-03-01", - "x-ms-code-generation-settings": { - "name": "StorageSyncManagementClient" - } - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.StorageSync/operations": { - "get": { - "tags": [ - "ResourceProvider", - "Operations" - ], - "operationId": "Operations_List", - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "description": "Lists all of the available Storage Sync Rest API operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "responses": { - "200": { - "description": "Array of operations resources in the Resource Provider", - "schema": { - "$ref": "#/definitions/OperationEntityListResult" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "deprecated": false, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { - "post": { - "tags": [ - "StorageSyncService" - ], - "operationId": "StorageSyncServices_CheckNameAvailability", - "x-ms-examples": { - "StorageSyncServiceCheckNameAvailability_Available": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" - }, - "StorageSyncServiceCheckNameAvailability_AlreadyExists": { - "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" - } - }, - "description": "Check the give namespace name availability.", - "parameters": [{ - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region for the name check." - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - }, - "description": "Parameters to check availability of the given namespace name" - }], - "responses": { - "200": { - "description": "check availability returned successfully.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource name.", - "required": true, - "schema": { - "$ref": "#/definitions/StorageSyncServiceCreateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Create", - "description": "Create a new StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Create": { - "$ref": "./examples/StorageSyncServices_Create.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Get", - "description": "Get a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Get": { - "$ref": "./examples/StorageSyncServices_Get.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Storage Sync Service resource.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceUpdateParameters" - } - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Update", - "description": "Patch a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Update": { - "$ref": "./examples/StorageSyncServices_Update.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object created/updated", - "schema": { - "$ref": "#/definitions/StorageSyncService" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "swagger": "2.0", + "info": { + "title": "Microsoft Storage Sync", + "description": "Microsoft Storage Sync Service API", + "version": "2019-03-01", + "x-ms-code-generation-settings": { + "name": "StorageSyncManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.StorageSync/operations": { + "get": { + "tags": [ + "ResourceProvider", + "Operations" + ], + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "description": "Lists all of the available Storage Sync Rest API operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "responses": { + "200": { + "description": "Array of operations resources in the Resource Provider", + "schema": { + "$ref": "#/definitions/OperationEntityListResult" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_Delete", - "description": "Delete a given StorageSyncService.", - "x-ms-examples": { - "StorageSyncServices_Delete": { - "$ref": "./examples/StorageSyncServices_Delete.json" - } - }, - "responses": { - "200": { - "description": "Storage Sync Service object was deleted.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Storage Sync Service Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListByResourceGroup", - "description": "Get a StorageSyncService list by Resource group name.", - "x-ms-examples": { - "StorageSyncServices_ListByResourceGroup": { - "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the Resource Group", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }], - "tags": [ - "StorageSyncServices Resource" - ], - "operationId": "StorageSyncServices_ListBySubscription", - "description": "Get a StorageSyncService list by subscription.", - "x-ms-examples": { - "StorageSyncServices_ListBySubscription": { - "$ref": "./examples/StorageSyncServices_ListBySubscription.json" - } - }, - "responses": { - "200": { - "description": "Array of registered Storage Sync Service resources in the subscription.", - "schema": { - "$ref": "#/definitions/StorageSyncServiceArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_ListByStorageSyncService", - "description": "Get a SyncGroup List.", - "x-ms-examples": { - "SyncGroups_ListByStorageSyncService": { - "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Sync Group resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/SyncGroupArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Sync Group Body", - "required": true, - "schema": { - "$ref": "#/definitions/SyncGroupCreateParameters" - } - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Create", - "description": "Create a new SyncGroup.", - "x-ms-examples": { - "SyncGroups_Create": { - "$ref": "./examples/SyncGroups_Create.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability": { + "post": { + "tags": [ + "StorageSyncService" + ], + "operationId": "StorageSyncServices_CheckNameAvailability", + "x-ms-examples": { + "StorageSyncServiceCheckNameAvailability_Available": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_Available.json" + }, + "StorageSyncServiceCheckNameAvailability_AlreadyExists": { + "$ref": "./examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json" + } + }, + "description": "Check the give namespace name availability.", + "parameters": [ + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The desired region for the name check." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Get", - "description": "Get a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Get": { - "$ref": "./examples/SyncGroups_Get.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object", - "schema": { - "$ref": "#/definitions/SyncGroup" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "description": "Parameters to check availability of the given namespace name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource name.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageSyncServiceCreateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Create", + "description": "Create a new StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Create": { + "$ref": "./examples/StorageSyncServices_Create.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Get", + "description": "Get a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Get": { + "$ref": "./examples/StorageSyncServices_Get.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "SyncGroup Resource" - ], - "operationId": "SyncGroups_Delete", - "description": "Delete a given SyncGroup.", - "x-ms-examples": { - "SyncGroups_Delete": { - "$ref": "./examples/SyncGroups_Delete.json" - } - }, - "responses": { - "200": { - "description": "Sync Group object was deleted", - "headers": { - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint resource.", - "required": true, - "schema": { - "$ref": "#/definitions/CloudEndpointCreateParameters" - } - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Create", - "description": "Create a new CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Create": { - "$ref": "./examples/CloudEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Storage Sync Service resource.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceUpdateParameters" + } + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Update", + "description": "Patch a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Update": { + "$ref": "./examples/StorageSyncServices_Update.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object created/updated", + "schema": { + "$ref": "#/definitions/StorageSyncService" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Get", - "description": "Get a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Get": { - "$ref": "./examples/CloudEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Cloud Endpoint object", - "schema": { - "$ref": "#/definitions/CloudEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_Delete", + "description": "Delete a given StorageSyncService.", + "x-ms-examples": { + "StorageSyncServices_Delete": { + "$ref": "./examples/StorageSyncServices_Delete.json" + } + }, + "responses": { + "200": { + "description": "Storage Sync Service object was deleted.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Storage Sync Service Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListByResourceGroup", + "description": "Get a StorageSyncService list by Resource group name.", + "x-ms-examples": { + "StorageSyncServices_ListByResourceGroup": { + "$ref": "./examples/StorageSyncServices_ListByResourceGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the Resource Group", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_Delete", - "description": "Delete a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_Delete": { - "$ref": "./examples/CloudEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Retry-After": { - "description": "Retry After", - "type": "string" - }, - "x-ms-request-id": { - "description": "Request id", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource" - ], - "operationId": "CloudEndpoints_ListBySyncGroup", - "description": "Get a CloudEndpoint List.", - "x-ms-examples": { - "CloudEndpoints_ListBySyncGroup": { - "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Cloud Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/CloudEndpointArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreBackup", - "description": "Pre Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreBackup": { - "$ref": "./examples/CloudEndpoints_PreBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostBackup", - "description": "Post Backup a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostBackup": { - "$ref": "./examples/CloudEndpoints_PostBackup.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/PostBackupResponse" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PreRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PreRestore", - "description": "Pre Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PreRestore": { - "$ref": "./examples/CloudEndpoints_PreRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_restoreheartbeat", - "description": "Restore Heartbeat a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_restoreheartbeat": { - "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" - } - }, - "responses": { - "200": { - "description": "Restore Heartbeat Operation has ran successfully.", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Cloud Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/PostRestoreRequest" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Backup Restore" - ], - "operationId": "CloudEndpoints_PostRestore", - "description": "Post Restore a given CloudEndpoint.", - "x-ms-examples": { - "CloudEndpoints_PostRestore": { - "$ref": "./examples/CloudEndpoints_PostRestore.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/triggerChangeDetection": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "cloudEndpointName", - "in": "path", - "description": "Name of Cloud Endpoint object.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "Trigger Change Detection Action parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerChangeDetectionParameters" - } - }], - "tags": [ - "CloudEndpoint Resource", - "Actions", - "Change Detection" - ], - "operationId": "CloudEndpoints_TriggerChangeDetection", - "description": "Triggers detection of changes performed on Azure File share connected to the specified Azure File Sync Cloud Endpoint.", - "x-ms-examples": { - "CloudEndpoints_TriggerChangeDetection": { - "$ref": "./examples/CloudEndpoints_TriggerChangeDetection.json" - } - }, - "responses": { - "200": { - "description": "Ok" - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Server Endpoint object.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerEndpointCreateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Create", - "description": "Create a new ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Create": { - "$ref": "./examples/ServerEndpoints_Create.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "StorageSyncServices Resource" + ], + "operationId": "StorageSyncServices_ListBySubscription", + "description": "Get a StorageSyncService list by subscription.", + "x-ms-examples": { + "StorageSyncServices_ListBySubscription": { + "$ref": "./examples/StorageSyncServices_ListBySubscription.json" + } + }, + "responses": { + "200": { + "description": "Array of registered Storage Sync Service resources in the subscription.", + "schema": { + "$ref": "#/definitions/StorageSyncServiceArray" }, - "patch": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Any of the properties applicable in PUT request.", - "schema": { - "$ref": "#/definitions/ServerEndpointUpdateParameters" - } - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Update", - "description": "Patch a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Update": { - "$ref": "./examples/ServerEndpoints_Update.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_ListByStorageSyncService", + "description": "Get a SyncGroup List.", + "x-ms-examples": { + "SyncGroups_ListByStorageSyncService": { + "$ref": "./examples/SyncGroups_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Sync Group resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/SyncGroupArray" }, - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Get", - "description": "Get a ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Get": { - "$ref": "./examples/ServerEndpoints_Get.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "schema": { - "$ref": "#/definitions/ServerEndpoint" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Sync Group Body", + "required": true, + "schema": { + "$ref": "#/definitions/SyncGroupCreateParameters" + } + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Create", + "description": "Create a new SyncGroup.", + "x-ms-examples": { + "SyncGroups_Create": { + "$ref": "./examples/SyncGroups_Create.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_Delete", - "description": "Delete a given ServerEndpoint.", - "x-ms-examples": { - "ServerEndpoints_Delete": { - "$ref": "./examples/ServerEndpoints_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }], - "tags": [ - "ServerEndpoint Resource" - ], - "operationId": "ServerEndpoints_ListBySyncGroup", - "description": "Get a ServerEndpoint list.", - "x-ms-examples": { - "ServerEndpoints_ListBySyncGroup": { - "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" - } - }, - "responses": { - "200": { - "description": "Array of Server Endpoint resources in Sync Group", - "schema": { - "$ref": "#/definitions/ServerEndpointArray" - }, - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "syncGroupName", - "in": "path", - "description": "Name of Sync Group resource.", - "required": true, - "type": "string" - }, { - "name": "serverEndpointName", - "in": "path", - "description": "Name of Server Endpoint object.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Recall Action object.", - "required": true, - "schema": { - "$ref": "#/definitions/RecallActionParameters" - } - }], - "tags": [ - "ServerEndpoint Resource", - "Actions" - ], - "operationId": "ServerEndpoints_recallAction", - "description": "Recall a server endpoint.", - "x-ms-examples": { - "ServerEndpoints_recallAction": { - "$ref": "./examples/ServerEndpoints_Recall.json" - } - }, - "responses": { - "200": { - "description": "Server Endpoint object", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_ListByStorageSyncService", - "description": "Get a given registered server list.", - "x-ms-examples": { - "RegisteredServers_ListByStorageSyncService": { - "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Registered Server resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/RegisteredServerArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Get", - "description": "Get a given registered server.", - "x-ms-examples": { - "RegisteredServers_Get": { - "$ref": "./examples/RegisteredServers_Get.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Get", + "description": "Get a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Get": { + "$ref": "./examples/SyncGroups_Get.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object", + "schema": { + "$ref": "#/definitions/SyncGroup" }, - "put": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Registered Server object.", - "required": true, - "schema": { - "$ref": "#/definitions/RegisteredServerCreateParameters" - } - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Create", - "description": "Add a new registered server.", - "x-ms-examples": { - "RegisteredServers_Create": { - "$ref": "./examples/RegisteredServers_Create.json" - } - }, - "responses": { - "200": { - "description": "Registered Server resources in Sync Group", - "schema": { - "$ref": "#/definitions/RegisteredServer" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Azure-AsyncOperation": { - "description": "Operation Status Location URI", - "type": "string" - }, - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "SyncGroup Resource" + ], + "operationId": "SyncGroups_Delete", + "description": "Delete a given SyncGroup.", + "x-ms-examples": { + "SyncGroups_Delete": { + "$ref": "./examples/SyncGroups_Delete.json" + } + }, + "responses": { + "200": { + "description": "Sync Group object was deleted", + "headers": { + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint resource.", + "required": true, + "schema": { + "$ref": "#/definitions/CloudEndpointCreateParameters" + } + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Create", + "description": "Create a new CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Create": { + "$ref": "./examples/CloudEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "delete": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "GUID identifying the on-premises server.", - "required": true, - "type": "string" - }], - "tags": [ - "RegisteredServer Resource" - ], - "operationId": "RegisteredServers_Delete", - "description": "Delete the given registered server.", - "x-ms-examples": { - "RegisteredServers_Delete": { - "$ref": "./examples/RegisteredServers_Delete.json" - } - }, - "responses": { - "200": { - "description": "Ok", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "204": { - "description": "Resource doesn't exist" - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "serverId", - "in": "path", - "description": "Server Id", - "required": true, - "type": "string" - }, { - "name": "parameters", - "in": "body", - "description": "Body of Trigger Rollover request.", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerRolloverRequest" - } - }], - "tags": [ - "RegisteredServer Resource", - "Actions" - ], - "operationId": "RegisteredServers_triggerRollover", - "description": "Triggers Server certificate rollover.", - "x-ms-examples": { - "RegisteredServers_triggerRollover": { - "$ref": "./examples/RegisteredServers_TriggerRollover.json" - } - }, - "responses": { - "200": { - "description": "Trigger Rollover success status", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "202": { - "description": "Asynchronous Operation Status Location", - "headers": { - "Location": { - "description": "Operation Status Location URI", - "type": "string" - }, - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_ListByStorageSyncService", - "description": "Get a Workflow List", - "x-ms-examples": { - "Workflows_ListByStorageSyncService": { - "$ref": "./examples/Workflows_ListByStorageSyncService.json" - } - }, - "responses": { - "200": { - "description": "Array of Workflow resources in Storage Sync Service", - "schema": { - "$ref": "#/definitions/WorkflowArray" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource" - ], - "operationId": "Workflows_Get", - "description": "Get Workflows resource", - "x-ms-examples": { - "Workflows_Get": { - "$ref": "./examples/Workflows_Get.json" - } - }, - "responses": { - "200": { - "description": "Workflow object", - "schema": { - "$ref": "#/definitions/Workflow" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { - "post": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "storageSyncServiceName", - "in": "path", - "description": "Name of Storage Sync Service resource.", - "required": true, - "type": "string" - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }], - "tags": [ - "Workflow Resource", - "Actions" - ], - "operationId": "Workflows_Abort", - "description": "Abort the given workflow.", - "x-ms-examples": { - "Workflows_Abort": { - "$ref": "./examples/Workflows_Abort.json" - } - }, - "responses": { - "200": { - "description": "success", - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}": { - "get": { - "parameters": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region to obtain information from." - }, { - "name": "workflowId", - "in": "path", - "description": "workflow Id", - "required": true, - "type": "string" - }, { - "name": "operationId", - "in": "path", - "description": "operation Id", - "required": true, - "type": "string" - }], - "tags": [ - "Operation Status" - ], - "operationId": "OperationStatus_Get", - "description": "Get Operation status", - "x-ms-examples": { - "Workflows_Get": { - "$ref": "./examples/OperationStatus_Get.json" - } - }, - "responses": { - "200": { - "description": "Operation Status", - "schema": { - "$ref": "#/definitions/OperationStatus" - }, - "headers": { - "x-ms-request-id": { - "description": "request id.", - "type": "string" - }, - "x-ms-correlation-request-id": { - "description": "correlation request id.", - "type": "string" - } - } - }, - "default": { - "description": "Error message indicating why the operation failed.", - "schema": { - "$ref": "#/definitions/StorageSyncError" - } - } - } - } - } - }, - "definitions": { - "StorageSyncError": { - "type": "object", - "description": "Error type", - "properties": { - "error": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - }, - "innererror": { - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncApiError": { - "type": "object", - "description": "Error type", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given error entry." - }, - "details": { - "$ref": "#/definitions/StorageSyncErrorDetails", - "description": "Error details of the given entry." - } - } - }, - "StorageSyncErrorDetails": { - "type": "object", - "description": "Error Details object.", - "properties": { - "code": { - "type": "string", - "description": "Error code of the given entry." - }, - "message": { - "type": "string", - "description": "Error message of the given entry." - }, - "target": { - "type": "string", - "description": "Target of the given entry." - } - } - }, - "SubscriptionState": { - "type": "object", - "description": "Subscription State object.", - "properties": { - "state": { - "type": "string", - "description": "State of Azure Subscription", - "enum": [ - "Registered", - "Unregistered", - "Warned", - "Suspended", - "Deleted" - ], - "x-ms-enum": { - "name": "Reason", - "modelAsString": true - } - }, - "istransitioning": { - "type": "boolean", - "description": "Is Transitioning", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SubscriptionStateProperties", - "description": "Subscription state properties." - } - } - }, - "StorageSyncService": { - "type": "object", - "description": "Storage Sync Service object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceProperties", - "description": "Storage Sync Service properties." - } - } - }, - "SyncGroup": { - "type": "object", - "description": "Sync Group object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupProperties", - "description": "SyncGroup properties." - } - } - }, - "CloudEndpoint": { - "type": "object", - "description": "Cloud Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointProperties", - "description": "Cloud Endpoint properties." - } - } - }, - "TriggerChangeDetectionParameters": { - "properties": { - "directoryPath": { - "type": "string", - "description": "Relative path to a directory Azure File share for which change detection is to be performed." - }, - "changeDetectionMode": { - "type": "string", - "description": "Change Detection Mode. Applies to a directory specified in directoryPath parameter.", - "enum": [ - "Default", - "Recursive" - ], - "x-ms-enum": { - "name": "changeDetectionMode", - "modelAsString": true - } - }, - "paths": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Get", + "description": "Get a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Get": { + "$ref": "./examples/CloudEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Cloud Endpoint object", + "schema": { + "$ref": "#/definitions/CloudEndpoint" }, - "description": "The parameters used when calling trigger change detection action on cloud endpoint." - }, - "RecallActionParameters": { - "properties": { - "pattern": { - "type": "string", - "description": "Pattern of the files." - }, - "recallPath": { - "type": "string", - "description": "Recall path." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_Delete", + "description": "Delete a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_Delete": { + "$ref": "./examples/CloudEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Retry-After": { + "description": "Retry After", + "type": "string" + }, + "x-ms-request-id": { + "description": "Request id", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource" + ], + "operationId": "CloudEndpoints_ListBySyncGroup", + "description": "Get a CloudEndpoint List.", + "x-ms-examples": { + "CloudEndpoints_ListBySyncGroup": { + "$ref": "./examples/CloudEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Cloud Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/CloudEndpointArray" }, - "description": "The parameters used when calling recall action on server endpoint." - }, - "StorageSyncServiceCreateParameters": { - "properties": { - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "properties": {} + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreBackup", + "description": "Pre Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreBackup": { + "$ref": "./examples/CloudEndpoints_PreBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostBackup", + "description": "Post Backup a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostBackup": { + "$ref": "./examples/CloudEndpoints_PostBackup.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "schema": { + "$ref": "#/definitions/PostBackupResponse" }, - "required": [ - "location" - ], - "description": "The parameters used when creating a storage sync service." - }, - "SyncGroupCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SyncGroupCreateParametersProperties", - "description": "The parameters used to create the sync group" - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PreRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PreRestore", + "description": "Pre Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PreRestore": { + "$ref": "./examples/CloudEndpoints_PreRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_restoreheartbeat", + "description": "Restore Heartbeat a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_restoreheartbeat": { + "$ref": "./examples/CloudEndpoints_RestoreHeatbeat.json" + } + }, + "responses": { + "200": { + "description": "Restore Heartbeat Operation has ran successfully.", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Cloud Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/PostRestoreRequest" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_PostRestore", + "description": "Post Restore a given CloudEndpoint.", + "x-ms-examples": { + "CloudEndpoints_PostRestore": { + "$ref": "./examples/CloudEndpoints_PostRestore.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/triggerChangeDetection": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Trigger Change Detection Action parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerChangeDetectionParameters" + } + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Change Detection" + ], + "operationId": "CloudEndpoints_TriggerChangeDetection", + "description": "Triggers detection of changes performed on Azure File share connected to the specified Azure File Sync Cloud Endpoint.", + "x-ms-examples": { + "CloudEndpoints_TriggerChangeDetection": { + "$ref": "./examples/CloudEndpoints_TriggerChangeDetection.json" + } + }, + "responses": { + "200": { + "description": "Ok" + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Server Endpoint object.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerEndpointCreateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Create", + "description": "Create a new ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Create": { + "$ref": "./examples/ServerEndpoints_Create.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a sync group." - }, - "SyncGroupCreateParametersProperties": { - "type": "object", - "description": "Sync Group Create Properties object.", - "properties": {} - }, - "CloudEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudEndpointCreateParametersProperties", - "description": "The parameters used to create the cloud endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Any of the properties applicable in PUT request.", + "schema": { + "$ref": "#/definitions/ServerEndpointUpdateParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Update", + "description": "Patch a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Update": { + "$ref": "./examples/ServerEndpoints_Update.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a cloud endpoint." - }, - "CloudEndpointCreateParametersProperties": { - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - } - } - }, - "ServerEndpointCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointCreateParametersProperties", - "description": "The parameters used to create the server endpoint." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Get", + "description": "Get a ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Get": { + "$ref": "./examples/ServerEndpoints_Get.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "schema": { + "$ref": "#/definitions/ServerEndpoint" }, - "description": "The parameters used when creating a server endpoint." - }, - "ServerEndpointCreateParametersProperties": { - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "TriggerRolloverRequest": { - "type": "object", - "description": "Trigger Rollover Request.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Certificate Data" - } - } - }, - "RegisteredServerCreateParameters": { - "type": "object", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerCreateParametersProperties", - "description": "The parameters used to create the registered server." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_Delete", + "description": "Delete a given ServerEndpoint.", + "x-ms-examples": { + "ServerEndpoints_Delete": { + "$ref": "./examples/ServerEndpoints_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "ServerEndpoint Resource" + ], + "operationId": "ServerEndpoints_ListBySyncGroup", + "description": "Get a ServerEndpoint list.", + "x-ms-examples": { + "ServerEndpoints_ListBySyncGroup": { + "$ref": "./examples/ServerEndpoints_ListBySyncGroup.json" + } + }, + "responses": { + "200": { + "description": "Array of Server Endpoint resources in Sync Group", + "schema": { + "$ref": "#/definitions/ServerEndpointArray" }, - "description": "The parameters used when creating a registered server." - }, - "RegisteredServerCreateParametersProperties": { - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - } - } - }, - "ServerEndpointUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointUpdateProperties", - "description": "The properties of the server endpoint." - } + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "serverEndpointName", + "in": "path", + "description": "Name of Server Endpoint object.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Recall Action object.", + "required": true, + "schema": { + "$ref": "#/definitions/RecallActionParameters" + } + } + ], + "tags": [ + "ServerEndpoint Resource", + "Actions" + ], + "operationId": "ServerEndpoints_recallAction", + "description": "Recall a server endpoint.", + "x-ms-examples": { + "ServerEndpoints_recallAction": { + "$ref": "./examples/ServerEndpoints_Recall.json" + } + }, + "responses": { + "200": { + "description": "Server Endpoint object", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_ListByStorageSyncService", + "description": "Get a given registered server list.", + "x-ms-examples": { + "RegisteredServers_ListByStorageSyncService": { + "$ref": "./examples/RegisteredServers_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Registered Server resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/RegisteredServerArray" }, - "description": "Parameters for updating an Server Endpoint." - }, - "ServerEndpoint": { - "type": "object", - "description": "Server Endpoint object.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerEndpointProperties", - "description": "Server Endpoint properties." - } - } - }, - "RegisteredServer": { - "type": "object", - "description": "Registered Server resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RegisteredServerProperties", - "description": "RegisteredServer properties." - } - } - }, - "ResourcesMoveInfo": { - "type": "object", - "description": "Resource Move Info.", - "properties": { - "targetResourceGroup": { - "type": "string", - "description": "Target resource group." - }, - "resources": { - "type": "array", - "description": "Collection of Resources.", - "items": { - "$ref": "#/definitions/ResourceId" - } - } - } - }, - "Workflow": { - "type": "object", - "description": "Workflow resource.", - "allOf": [{ - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - }], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "Workflow properties." - } - } - }, - "OperationEntityListResult": { - "description": "The list of storage sync operations.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - }, - "value": { - "description": "The list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationEntity" - } - } - } - }, - "OperationEntity": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayInfo", - "description": "The operation supported by storage sync." - }, - "origin": { - "type": "string", - "description": "The origin." - } - } - }, - "OperationDisplayInfo": { - "description": "The operation supported by storage sync.", - "type": "object", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string" - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string" - }, - "provider": { - "description": "Service provider: Microsoft StorageSync.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - } - } - }, - "OperationDisplayResource": { - "type": "object", - "description": "Operation Display Resource object.", - "properties": { - "provider": { - "type": "string", - "description": "Operation Display Resource Provider." - }, - "resource": { - "type": "string", - "description": "Operation Display Resource." - }, - "operation": { - "type": "string", - "description": "Operation Display Resource Operation." - }, - "description": { - "type": "string", - "description": "Operation Display Resource Description." - } - } - }, - "CheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name to check for availability" - }, - "type": { - "type": "string", - "enum": ["Microsoft.StorageSync/storageSyncServices"], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Get", + "description": "Get a given registered server.", + "x-ms-examples": { + "RegisteredServers_Get": { + "$ref": "./examples/RegisteredServers_Get.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "required": [ - "name", - "type" - ], - "description": "Parameters for a check name availability request." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "NameAvailabilityReason", - "modelAsString": false - }, - "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + }, + "put": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Registered Server object.", + "required": true, + "schema": { + "$ref": "#/definitions/RegisteredServerCreateParameters" + } + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Create", + "description": "Add a new registered server.", + "x-ms-examples": { + "RegisteredServers_Create": { + "$ref": "./examples/RegisteredServers_Create.json" + } + }, + "responses": { + "200": { + "description": "Registered Server resources in Sync Group", + "schema": { + "$ref": "#/definitions/RegisteredServer" }, - "description": "The CheckNameAvailability operation response." - }, - "PostRestoreRequest": { - "type": "object", - "description": "Post Restore Request", - "properties": { - "partition": { - "type": "string", - "description": "Post Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Post Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Post Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Post Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Post Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Post Restore Azure source azure file share uri." - }, - "failedFileList": { - "type": "string", - "description": "Post Restore Azure failed file list." - }, - "restoreFileSpec": { - "type": "array", - "description": "Post Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Post Restore restore file spec items array." - } - } - } - }, - "PreRestoreRequest": { - "type": "object", - "description": "Pre Restore request object.", - "properties": { - "partition": { - "type": "string", - "description": "Pre Restore partition." - }, - "replicaGroup": { - "type": "string", - "description": "Pre Restore replica group." - }, - "requestId": { - "type": "string", - "description": "Pre Restore request id." - }, - "azureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure file share uri." - }, - "status": { - "type": "string", - "description": "Pre Restore Azure status." - }, - "sourceAzureFileShareUri": { - "type": "string", - "description": "Pre Restore Azure source azure file share uri." - }, - "backupMetadataPropertyBag": { - "type": "string", - "description": "Pre Restore backup metadata property bag." - }, - "restoreFileSpec": { - "type": "array", - "description": "Pre Restore restore file spec array.", - "items": { - "$ref": "#/definitions/RestoreFileSpec", - "description": "Pre Restore restore file spec items array." - } - }, - "pauseWaitForSyncDrainTimePeriodInSeconds": { - "type": "integer", - "description": "Pre Restore pause wait for sync drain time period in seconds." - } - } - }, - "BackupRequest": { - "type": "object", - "description": "Backup request", - "properties": { - "azureFileShare": { - "type": "string", - "description": "Azure File Share." - } - } - }, - "PostBackupResponse": { - "type": "object", - "description": "Post Backup Response", - "properties": { - "backupMetadata": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PostBackupResponseProperties", - "description": "Post Backup Response Properties" - } - } - }, - "RestoreFileSpec": { - "type": "object", - "description": "Restore file spec.", - "properties": { - "path": { - "type": "string", - "description": "Restore file spec path" - }, - "isdir": { - "type": "boolean", - "description": "Restore file spec isdir", - "readOnly": true - } - } - }, - "StorageSyncServiceArray": { - "type": "object", - "description": "Array of StorageSyncServices", - "properties": { - "value": { - "type": "array", - "description": "Collection of StorageSyncServices.", - "items": { - "$ref": "#/definitions/StorageSyncService" - } - } - } - }, - "SyncGroupArray": { - "type": "object", - "description": "Array of SyncGroup", - "properties": { - "value": { - "type": "array", - "description": "Collection of SyncGroup.", - "items": { - "$ref": "#/definitions/SyncGroup" - } - } - } - }, - "CloudEndpointArray": { - "type": "object", - "description": "Array of CloudEndpoint", - "properties": { - "value": { - "type": "array", - "description": "Collection of CloudEndpoint.", - "items": { - "$ref": "#/definitions/CloudEndpoint" - } - } - } - }, - "ServerEndpointArray": { - "description": "Array of ServerEndpoint", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of ServerEndpoint.", - "items": { - "$ref": "#/definitions/ServerEndpoint" - } - } - } - }, - "RegisteredServerArray": { - "description": "Array of RegisteredServer", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of Registered Server.", - "items": { - "$ref": "#/definitions/RegisteredServer" - } - } - } - }, - "WorkflowArray": { - "description": "Array of Workflow", - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Collection of workflow items.", - "items": { - "$ref": "#/definitions/Workflow" - } - } - } - }, - "SubscriptionStateProperties": { - "type": "object", - "description": "Subscription State properties." - }, - "PostBackupResponseProperties": { - "type": "object", - "description": "Post Backup Response Properties object.", - "properties": { - "cloudEndpointName": { - "type": "string", - "description": "cloud endpoint Name.", - "readOnly": true - } - } - }, - "StorageSyncServiceUpdateParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the storage sync service." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageSyncServiceUpdateProperties", - "description": "The properties of the storage sync service." - } + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation Status Location URI", + "type": "string" + }, + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "GUID identifying the on-premises server.", + "required": true, + "type": "string" + } + ], + "tags": [ + "RegisteredServer Resource" + ], + "operationId": "RegisteredServers_Delete", + "description": "Delete the given registered server.", + "x-ms-examples": { + "RegisteredServers_Delete": { + "$ref": "./examples/RegisteredServers_Delete.json" + } + }, + "responses": { + "200": { + "description": "Ok", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "204": { + "description": "Resource doesn't exist" + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "serverId", + "in": "path", + "description": "Server Id", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Body of Trigger Rollover request.", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerRolloverRequest" + } + } + ], + "tags": [ + "RegisteredServer Resource", + "Actions" + ], + "operationId": "RegisteredServers_triggerRollover", + "description": "Triggers Server certificate rollover.", + "x-ms-examples": { + "RegisteredServers_triggerRollover": { + "$ref": "./examples/RegisteredServers_TriggerRollover.json" + } + }, + "responses": { + "200": { + "description": "Trigger Rollover success status", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "202": { + "description": "Asynchronous Operation Status Location", + "headers": { + "Location": { + "description": "Operation Status Location URI", + "type": "string" + }, + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_ListByStorageSyncService", + "description": "Get a Workflow List", + "x-ms-examples": { + "Workflows_ListByStorageSyncService": { + "$ref": "./examples/Workflows_ListByStorageSyncService.json" + } + }, + "responses": { + "200": { + "description": "Array of Workflow resources in Storage Sync Service", + "schema": { + "$ref": "#/definitions/WorkflowArray" }, - "description": "Parameters for updating an Storage sync service." - }, - "StorageSyncServiceUpdateProperties": { - "type": "object", - "description": "Storage Sync Service Update Properties object.", - "properties": {} - }, - "StorageSyncServiceProperties": { - "type": "object", - "description": "Storage Sync Service Properties object.", - "properties": { - "storageSyncServiceStatus": { - "type": "integer", - "description": "Storage Sync service status.", - "readOnly": true - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Storage Sync service Uid", - "readOnly": true - } - } - }, - "WorkflowProperties": { - "type": "object", - "description": "Workflow Properties object.", - "properties": { - "lastStepName": { - "type": "string", - "description": "last step name" - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "workflow status." - }, - "operation": { - "$ref": "#/definitions/OperationDirection", - "description": "operation direction." - }, - "steps": { - "type": "string", - "description": "workflow steps" - }, - "lastOperationId": { - "type": "string", - "description": "workflow last operation identifier." - } - } - }, - "SyncGroupProperties": { - "type": "object", - "description": "SyncGroup Properties object.", - "properties": { - "uniqueId": { - "type": "string", - "description": "Unique Id" - }, - "syncGroupStatus": { - "type": "string", - "description": "Sync group status", - "readOnly": true - } - } - }, - "RegisteredServerProperties": { - "type": "object", - "description": "RegisteredServer Properties object.", - "properties": { - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverManagementErrorCode": { - "type": "integer", - "description": "Registered Server Management Error Code" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "provisioningState": { - "type": "string", - "description": "Registered Server Provisioning State" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Registered Server storageSyncServiceUid" - }, - "lastWorkflowId": { - "type": "string", - "description": "Registered Server lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - }, - "discoveryEndpointUri": { - "type": "string", - "description": "Resource discoveryEndpointUri" - }, - "resourceLocation": { - "type": "string", - "description": "Resource Location" - }, - "serviceLocation": { - "type": "string", - "description": "Service Location" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "managementEndpointUri": { - "type": "string", - "description": "Management Endpoint Uri" - }, - "monitoringConfiguration": { - "type": "string", - "description": "Monitoring Configuration" - } - } - }, - "CloudEndpointProperties": { - "type": "object", - "description": "CloudEndpoint Properties object.", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - }, - "partnershipId": { - "type": "string", - "description": "Partnership Id" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "backupEnabled": { - "type": "string", - "description": "Backup Enabled", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "description": "CloudEndpoint Provisioning State" - }, - "lastWorkflowId": { - "type": "string", - "description": "CloudEndpoint lastWorkflowId" - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name" - } - } - }, - "ServerEndpointUpdateProperties": { - "type": "object", - "description": "ServerEndpoint Update Properties object.", - "properties": { - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointProperties": { - "type": "object", - "description": "ServerEndpoint Properties object.", - "properties": { - "serverLocalPath": { - "$ref": "#/definitions/PhysicalPath", - "description": "Server Local path." - }, - "cloudTiering": { - "$ref": "#/definitions/FeatureStatus", - "description": "Cloud Tiering." - }, - "volumeFreeSpacePercent": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - }, - "tierFilesOlderThanDays": { - "type": "integer", - "minimum": 0, - "maximum": 2147483647, - "description": "Tier files older than days." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverResourceId": { - "$ref": "#/definitions/ResourceId", - "description": "Server Resource Id." - }, - "provisioningState": { - "type": "string", - "description": "ServerEndpoint Provisioning State", - "readOnly": true - }, - "lastWorkflowId": { - "type": "string", - "description": "ServerEndpoint lastWorkflowId", - "readOnly": true - }, - "lastOperationName": { - "type": "string", - "description": "Resource Last Operation Name", - "readOnly": true - }, - "syncStatus": { - "type": "object", - "$ref": "#/definitions/ServerEndpointSyncStatus", - "description": "Server Endpoint sync status", - "readOnly": true - }, - "offlineDataTransfer": { - "$ref": "#/definitions/FeatureStatus", - "description": "Offline data transfer" - }, - "offlineDataTransferStorageAccountResourceId": { - "type": "string", - "description": "Offline data transfer storage account resource ID", - "readOnly": true - }, - "offlineDataTransferStorageAccountTenantId": { - "type": "string", - "description": "Offline data transfer storage account tenant ID", - "readOnly": true - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - } - } - }, - "ServerEndpointSyncStatus": { - "type": "object", - "description": "Server Endpoint sync status", - "properties": { - "downloadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Download Health Status.", - "readOnly": true - }, - "uploadHealth": { - "$ref": "#/definitions/HealthState", - "description": "Upload Health Status.", - "readOnly": true - }, - "combinedHealth": { - "$ref": "#/definitions/HealthState", - "description": "Combined Health Status.", - "readOnly": true - }, - "syncActivity": { - "$ref": "#/definitions/SyncActivityState", - "description": "Sync activity", - "readOnly": true - }, - "totalPersistentFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Total count of persistent files not syncing (combined upload + download). Reserved for future use.", - "readOnly": true - }, - "lastUpdatedTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last Updated Timestamp", - "readOnly": true - }, - "uploadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Upload Status", - "readOnly": true - }, - "downloadStatus": { - "$ref": "#/definitions/SyncSessionStatus", - "description": "Download Status", - "readOnly": true - }, - "uploadActivity": { - "$ref": "#/definitions/SyncActivityStatus", - "description": "Upload sync activity", - "readOnly": true - }, - "downloadActivity": { - "$ref": "#/definitions/SyncActivityStatus", - "description": "Download sync activity", - "readOnly": true - }, - "offlineDataTransferStatus": { - "$ref": "#/definitions/OfflineDataTransferState", - "description": "Offline Data Transfer State", - "readOnly": true - } - } - }, - "SyncSessionStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "lastSyncResult": { - "type": "integer", - "format": "int32", - "description": "Last sync result (HResult)", - "readOnly": true - }, - "lastSyncTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync timestamp", - "readOnly": true - }, - "lastSyncSuccessTimestamp": { - "type" : "string", - "format" : "date-time", - "description": "Last sync success timestamp", - "readOnly": true - }, - "lastSyncPerItemErrorCount": { - "type": "integer", - "format": "int64", - "description": "Last sync per item error count.", - "readOnly": true - }, - "persistentFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Count of persistent files not syncing. Reserved for future use.", - "readOnly": true - }, - "transientFilesNotSyncingCount": { - "type": "integer", - "format": "int64", - "description": "Count of transient files not syncing. Reserved for future use.", - "readOnly": true - }, - "filesNotSyncingErrors": { - "type": "array", - "items": { - "$ref": "#/definitions/FilesNotSyncingError" - }, - "description": "Array of per-item errors coming from the last sync session. Reserved for future use.", - "readOnly": true - } - } - }, - "SyncActivityStatus": { - "type": "object", - "description": "Sync Session status object.", - "properties": { - "timestamp": { - "type" : "string", - "format" : "date-time", - "description": "Timestamp when properties were updated", - "readOnly": true - }, - "perItemErrorCount": { - "type": "integer", - "format": "int64", - "description": "Per item error count", - "readOnly": true - }, - "appliedItemCount": { - "type": "integer", - "format": "int64", - "description": "Applied item count.", - "readOnly": true - }, - "totalItemCount": { - "type": "integer", - "format": "int64", - "description": "Total item count (if available)", - "readOnly": true - }, - "appliedBytes": { - "type": "integer", - "format": "int64", - "description": "Applied bytes", - "readOnly": true - }, - "totalBytes": { - "type": "integer", - "format": "int64", - "description": "Total bytes (if available)", - "readOnly": true - } - } - }, - "FilesNotSyncingError": { - "type": "object", - "description": "Files not syncing error object", - "properties": { - "errorCode": { - "type": "integer", - "format": "int32", - "description": "Error code (HResult)", - "readOnly": true - }, - "persistentCount": { - "type": "integer", - "format": "int64", - "description": "Count of persistent files not syncing with the specified error code", - "readOnly": true - }, - "transientCount": { - "type": "integer", - "format": "int64", - "description": "Count of transient files not syncing with the specified error code", - "readOnly": true - } - } - }, - "PhysicalPath": { - "type": "string", - "description": "Server folder used for data synchronization" + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } }, - "ResourceId": { - "type": "string", - "description": "Arm resource identifier." + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource" + ], + "operationId": "Workflows_Get", + "description": "Get Workflows resource", + "x-ms-examples": { + "Workflows_Get": { + "$ref": "./examples/Workflows_Get.json" + } }, - "TagsObject": { - "type": "object", - "description": "Tags object." + "responses": { + "200": { + "description": "Workflow object", + "schema": { + "$ref": "#/definitions/Workflow" + }, + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort": { + "post": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Workflow Resource", + "Actions" + ], + "operationId": "Workflows_Abort", + "description": "Abort the given workflow.", + "x-ms-examples": { + "Workflows_Abort": { + "$ref": "./examples/Workflows_Abort.json" + } }, - "FeatureStatus": { + "responses": { + "200": { + "description": "success", + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "locationName", + "in": "path", + "required": true, "type": "string", - "description": "Type of the Feature Status", - "enum": [ - "on", - "off" - ] + "description": "The desired region to obtain information from." + }, + { + "name": "workflowId", + "in": "path", + "description": "workflow Id", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "operation Id", + "required": true, + "type": "string" + } + ], + "tags": [ + "Operation Status" + ], + "operationId": "OperationStatus_Get", + "description": "Get Operation status", + "x-ms-examples": { + "Workflows_Get": { + "$ref": "./examples/OperationStatus_Get.json" + } }, - "HealthState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "Healthy", - "Error", - "SyncBlockedForRestore", - "SyncBlockedForChangeDetectionPostRestore", - "NoActivity" - ] - }, - "SyncActivityState": { - "type": "string", - "description": "Type of the sync activity state", - "enum": [ - "Upload", - "Download", - "UploadAndDownload" - ] - }, - "OfflineDataTransferState": { - "type": "string", - "description": "Type of the Health state", - "enum": [ - "InProgress", - "Stopping", - "NotRunning", - "Complete" - ] - }, - "WorkflowStatus": { - "type": "string", - "description": "Type of the Workflow Status", - "enum": [ - "active", - "expired", - "succeeded", - "aborted", - "failed" - ] - }, - "OperationDirection": { - "type": "string", - "description": "Type of the Operation Direction", - "enum": [ - "do", - "undo", - "cancel" - ] - }, - "ProgressType": { - "type": "string", - "description": "Type of the ProgressType", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - }, - "OperationStatus": { - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation Id" - }, - "status": { - "readOnly": true, - "type": "string", - "description": "Operation status" - }, - "startTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Start time of the operation" - }, - "endTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "End time of the operation" - }, - "error": { - "readOnly": true, - "$ref": "#/definitions/StorageSyncApiError", - "description": "Error details." - } + "responses": { + "200": { + "description": "Operation Status", + "schema": { + "$ref": "#/definitions/OperationStatus" }, - "description": "Operation status object" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" } + } + } + } + } + }, + "definitions": { + "StorageSyncError": { + "type": "object", + "description": "Error type", + "properties": { + "error": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + }, + "innererror": { + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncApiError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + }, + "details": { + "$ref": "#/definitions/StorageSyncErrorDetails", + "description": "Error details of the given entry." + } + } + }, + "StorageSyncErrorDetails": { + "type": "object", + "description": "Error Details object.", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given entry." + } + } + }, + "SubscriptionState": { + "type": "object", + "description": "Subscription State object.", + "properties": { + "state": { + "type": "string", + "description": "State of Azure Subscription", + "enum": [ + "Registered", + "Unregistered", + "Warned", + "Suspended", + "Deleted" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": true + } + }, + "istransitioning": { + "type": "boolean", + "description": "Is Transitioning", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionStateProperties", + "description": "Subscription state properties." + } + } + }, + "StorageSyncService": { + "type": "object", + "description": "Storage Sync Service object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceProperties", + "description": "Storage Sync Service properties." + } + } + }, + "SyncGroup": { + "type": "object", + "description": "Sync Group object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupProperties", + "description": "SyncGroup properties." + } + } + }, + "CloudEndpoint": { + "type": "object", + "description": "Cloud Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointProperties", + "description": "Cloud Endpoint properties." + } + } + }, + "TriggerChangeDetectionParameters": { + "properties": { + "directoryPath": { + "type": "string", + "description": "Relative path to a directory Azure File share for which change detection is to be performed." + }, + "changeDetectionMode": { + "type": "string", + "description": "Change Detection Mode. Applies to a directory specified in directoryPath parameter.", + "enum": [ + "Default", + "Recursive" + ], + "x-ms-enum": { + "name": "changeDetectionMode", + "modelAsString": true + } + }, + "paths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories." + } + }, + "description": "The parameters used when calling trigger change detection action on cloud endpoint." + }, + "RecallActionParameters": { + "properties": { + "pattern": { + "type": "string", + "description": "Pattern of the files." + }, + "recallPath": { + "type": "string", + "description": "Recall path." + } + }, + "description": "The parameters used when calling recall action on server endpoint." + }, + "StorageSyncServiceCreateParameters": { + "properties": { + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." + }, + "properties": {} + }, + "required": [ + "location" + ], + "description": "The parameters used when creating a storage sync service." + }, + "SyncGroupCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SyncGroupCreateParametersProperties", + "description": "The parameters used to create the sync group" + } + }, + "description": "The parameters used when creating a sync group." + }, + "SyncGroupCreateParametersProperties": { + "type": "object", + "description": "Sync Group Create Properties object.", + "properties": {} + }, + "CloudEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudEndpointCreateParametersProperties", + "description": "The parameters used to create the cloud endpoint." + } + }, + "description": "The parameters used when creating a cloud endpoint." + }, + "CloudEndpointCreateParametersProperties": { + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "azureFileShareName": { + "type": "string", + "description": "Azure file share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + } + } + }, + "ServerEndpointCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointCreateParametersProperties", + "description": "The parameters used to create the server endpoint." + } + }, + "description": "The parameters used when creating a server endpoint." + }, + "ServerEndpointCreateParametersProperties": { + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "TriggerRolloverRequest": { + "type": "object", + "description": "Trigger Rollover Request.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Certificate Data" + } + } + }, + "RegisteredServerCreateParameters": { + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerCreateParametersProperties", + "description": "The parameters used to create the registered server." + } + }, + "description": "The parameters used when creating a registered server." + }, + "RegisteredServerCreateParametersProperties": { + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + } + } + }, + "ServerEndpointUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointUpdateProperties", + "description": "The properties of the server endpoint." + } + }, + "description": "Parameters for updating an Server Endpoint." + }, + "ServerEndpoint": { + "type": "object", + "description": "Server Endpoint object.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointProperties", + "description": "Server Endpoint properties." + } + } + }, + "RegisteredServer": { + "type": "object", + "description": "Registered Server resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RegisteredServerProperties", + "description": "RegisteredServer properties." + } + } + }, + "ResourcesMoveInfo": { + "type": "object", + "description": "Resource Move Info.", + "properties": { + "targetResourceGroup": { + "type": "string", + "description": "Target resource group." + }, + "resources": { + "type": "array", + "description": "Collection of Resources.", + "items": { + "$ref": "#/definitions/ResourceId" + } + } + } + }, + "Workflow": { + "type": "object", + "description": "Workflow resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "Workflow properties." + } + } + }, + "OperationEntityListResult": { + "description": "The list of storage sync operations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + }, + "value": { + "description": "The list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationEntity" + } + } + } + }, + "OperationEntity": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by storage sync." + }, + "origin": { + "type": "string", + "description": "The origin." + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by storage sync.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Microsoft StorageSync.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "OperationDisplayResource": { + "type": "object", + "description": "Operation Display Resource object.", + "properties": { + "provider": { + "type": "string", + "description": "Operation Display Resource Provider." + }, + "resource": { + "type": "string", + "description": "Operation Display Resource." + }, + "operation": { + "type": "string", + "description": "Operation Display Resource Operation." + }, + "description": { + "type": "string", + "description": "Operation Display Resource Description." + } + } + }, + "CheckNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string", + "description": "The name to check for availability" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageSync/storageSyncServices" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The resource type. Must be set to Microsoft.StorageSync/storageSyncServices" + } + }, + "required": [ + "name", + "type" + ], + "description": "Parameters for a check name availability request." + }, + "CheckNameAvailabilityResult": { + "properties": { + "nameAvailable": { + "readOnly": true, + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." + }, + "reason": { + "readOnly": true, + "type": "string", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "NameAvailabilityReason", + "modelAsString": false + }, + "description": "Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail." + } + }, + "description": "The CheckNameAvailability operation response." + }, + "PostRestoreRequest": { + "type": "object", + "description": "Post Restore Request", + "properties": { + "partition": { + "type": "string", + "description": "Post Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Post Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Post Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Post Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Post Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Post Restore Azure source azure file share uri." + }, + "failedFileList": { + "type": "string", + "description": "Post Restore Azure failed file list." + }, + "restoreFileSpec": { + "type": "array", + "description": "Post Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Post Restore restore file spec items array." + } + } + } + }, + "PreRestoreRequest": { + "type": "object", + "description": "Pre Restore request object.", + "properties": { + "partition": { + "type": "string", + "description": "Pre Restore partition." + }, + "replicaGroup": { + "type": "string", + "description": "Pre Restore replica group." + }, + "requestId": { + "type": "string", + "description": "Pre Restore request id." + }, + "azureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure file share uri." + }, + "status": { + "type": "string", + "description": "Pre Restore Azure status." + }, + "sourceAzureFileShareUri": { + "type": "string", + "description": "Pre Restore Azure source azure file share uri." + }, + "backupMetadataPropertyBag": { + "type": "string", + "description": "Pre Restore backup metadata property bag." + }, + "restoreFileSpec": { + "type": "array", + "description": "Pre Restore restore file spec array.", + "items": { + "$ref": "#/definitions/RestoreFileSpec", + "description": "Pre Restore restore file spec items array." + } + }, + "pauseWaitForSyncDrainTimePeriodInSeconds": { + "type": "integer", + "description": "Pre Restore pause wait for sync drain time period in seconds." + } + } + }, + "BackupRequest": { + "type": "object", + "description": "Backup request", + "properties": { + "azureFileShare": { + "type": "string", + "description": "Azure File Share." + } + } + }, + "PostBackupResponse": { + "type": "object", + "description": "Post Backup Response", + "properties": { + "backupMetadata": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PostBackupResponseProperties", + "description": "Post Backup Response Properties" + } + } + }, + "RestoreFileSpec": { + "type": "object", + "description": "Restore file spec.", + "properties": { + "path": { + "type": "string", + "description": "Restore file spec path" + }, + "isdir": { + "type": "boolean", + "description": "Restore file spec isdir", + "readOnly": true + } + } + }, + "StorageSyncServiceArray": { + "type": "object", + "description": "Array of StorageSyncServices", + "properties": { + "value": { + "type": "array", + "description": "Collection of StorageSyncServices.", + "items": { + "$ref": "#/definitions/StorageSyncService" + } + } + } + }, + "SyncGroupArray": { + "type": "object", + "description": "Array of SyncGroup", + "properties": { + "value": { + "type": "array", + "description": "Collection of SyncGroup.", + "items": { + "$ref": "#/definitions/SyncGroup" + } + } + } + }, + "CloudEndpointArray": { + "type": "object", + "description": "Array of CloudEndpoint", + "properties": { + "value": { + "type": "array", + "description": "Collection of CloudEndpoint.", + "items": { + "$ref": "#/definitions/CloudEndpoint" + } + } + } + }, + "ServerEndpointArray": { + "description": "Array of ServerEndpoint", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of ServerEndpoint.", + "items": { + "$ref": "#/definitions/ServerEndpoint" + } + } + } + }, + "RegisteredServerArray": { + "description": "Array of RegisteredServer", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of Registered Server.", + "items": { + "$ref": "#/definitions/RegisteredServer" + } + } + } + }, + "WorkflowArray": { + "description": "Array of Workflow", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Collection of workflow items.", + "items": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "SubscriptionStateProperties": { + "type": "object", + "description": "Subscription State properties." + }, + "PostBackupResponseProperties": { + "type": "object", + "description": "Post Backup Response Properties object.", + "properties": { + "cloudEndpointName": { + "type": "string", + "description": "cloud endpoint Name.", + "readOnly": true + } + } + }, + "StorageSyncServiceUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the storage sync service." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceUpdateProperties", + "description": "The properties of the storage sync service." + } + }, + "description": "Parameters for updating an Storage sync service." + }, + "StorageSyncServiceUpdateProperties": { + "type": "object", + "description": "Storage Sync Service Update Properties object.", + "properties": {} + }, + "StorageSyncServiceProperties": { + "type": "object", + "description": "Storage Sync Service Properties object.", + "properties": { + "storageSyncServiceStatus": { + "type": "integer", + "description": "Storage Sync service status.", + "readOnly": true + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Storage Sync service Uid", + "readOnly": true + } + } + }, + "WorkflowProperties": { + "type": "object", + "description": "Workflow Properties object.", + "properties": { + "lastStepName": { + "type": "string", + "description": "last step name" + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "workflow status." + }, + "operation": { + "$ref": "#/definitions/OperationDirection", + "description": "operation direction." + }, + "steps": { + "type": "string", + "description": "workflow steps" + }, + "lastOperationId": { + "type": "string", + "description": "workflow last operation identifier." + } + } + }, + "SyncGroupProperties": { + "type": "object", + "description": "SyncGroup Properties object.", + "properties": { + "uniqueId": { + "type": "string", + "description": "Unique Id" + }, + "syncGroupStatus": { + "type": "string", + "description": "Sync group status", + "readOnly": true + } + } + }, + "RegisteredServerProperties": { + "type": "object", + "description": "RegisteredServer Properties object.", + "properties": { + "serverCertificate": { + "type": "string", + "description": "Registered Server Certificate" + }, + "agentVersion": { + "type": "string", + "description": "Registered Server Agent Version" + }, + "serverOSVersion": { + "type": "string", + "description": "Registered Server OS Version" + }, + "serverManagementErrorCode": { + "type": "integer", + "description": "Registered Server Management Error Code" + }, + "lastHeartBeat": { + "type": "string", + "description": "Registered Server last heart beat" + }, + "provisioningState": { + "type": "string", + "description": "Registered Server Provisioning State" + }, + "serverRole": { + "type": "string", + "description": "Registered Server serverRole" + }, + "clusterId": { + "type": "string", + "description": "Registered Server clusterId" + }, + "clusterName": { + "type": "string", + "description": "Registered Server clusterName" + }, + "serverId": { + "type": "string", + "description": "Registered Server serverId" + }, + "storageSyncServiceUid": { + "type": "string", + "description": "Registered Server storageSyncServiceUid" + }, + "lastWorkflowId": { + "type": "string", + "description": "Registered Server lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" + }, + "discoveryEndpointUri": { + "type": "string", + "description": "Resource discoveryEndpointUri" + }, + "resourceLocation": { + "type": "string", + "description": "Resource Location" + }, + "serviceLocation": { + "type": "string", + "description": "Service Location" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "managementEndpointUri": { + "type": "string", + "description": "Management Endpoint Uri" + }, + "monitoringConfiguration": { + "type": "string", + "description": "Monitoring Configuration" + } + } + }, + "CloudEndpointProperties": { + "type": "object", + "description": "CloudEndpoint Properties object.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Storage Account Resource Id" + }, + "azureFileShareName": { + "type": "string", + "description": "Azure file share name" + }, + "storageAccountTenantId": { + "type": "string", + "description": "Storage Account Tenant Id" + }, + "partnershipId": { + "type": "string", + "description": "Partnership Id" + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "backupEnabled": { + "type": "string", + "description": "Backup Enabled", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "CloudEndpoint Provisioning State" + }, + "lastWorkflowId": { + "type": "string", + "description": "CloudEndpoint lastWorkflowId" + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name" } + } }, - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }] + "ServerEndpointUpdateProperties": { + "type": "object", + "description": "ServerEndpoint Update Properties object.", + "properties": { + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointProperties": { + "type": "object", + "description": "ServerEndpoint Properties object.", + "properties": { + "serverLocalPath": { + "$ref": "#/definitions/PhysicalPath", + "description": "Server Local path." + }, + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + }, + "tierFilesOlderThanDays": { + "type": "integer", + "minimum": 0, + "maximum": 2147483647, + "description": "Tier files older than days." + }, + "friendlyName": { + "type": "string", + "description": "Friendly Name" + }, + "serverResourceId": { + "$ref": "#/definitions/ResourceId", + "description": "Server Resource Id." + }, + "provisioningState": { + "type": "string", + "description": "ServerEndpoint Provisioning State", + "readOnly": true + }, + "lastWorkflowId": { + "type": "string", + "description": "ServerEndpoint lastWorkflowId", + "readOnly": true + }, + "lastOperationName": { + "type": "string", + "description": "Resource Last Operation Name", + "readOnly": true + }, + "syncStatus": { + "type": "object", + "$ref": "#/definitions/ServerEndpointSyncStatus", + "description": "Server Endpoint sync status", + "readOnly": true + }, + "offlineDataTransfer": { + "$ref": "#/definitions/FeatureStatus", + "description": "Offline data transfer" + }, + "offlineDataTransferStorageAccountResourceId": { + "type": "string", + "description": "Offline data transfer storage account resource ID", + "readOnly": true + }, + "offlineDataTransferStorageAccountTenantId": { + "type": "string", + "description": "Offline data transfer storage account tenant ID", + "readOnly": true + }, + "offlineDataTransferShareName": { + "type": "string", + "description": "Offline data transfer share name" + } + } + }, + "ServerEndpointSyncStatus": { + "type": "object", + "description": "Server Endpoint sync status", + "properties": { + "downloadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Download Health Status.", + "readOnly": true + }, + "uploadHealth": { + "$ref": "#/definitions/HealthState", + "description": "Upload Health Status.", + "readOnly": true + }, + "combinedHealth": { + "$ref": "#/definitions/HealthState", + "description": "Combined Health Status.", + "readOnly": true + }, + "syncActivity": { + "$ref": "#/definitions/SyncActivityState", + "description": "Sync activity", + "readOnly": true + }, + "totalPersistentFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Total count of persistent files not syncing (combined upload + download). Reserved for future use.", + "readOnly": true + }, + "lastUpdatedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last Updated Timestamp", + "readOnly": true + }, + "uploadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Upload Status", + "readOnly": true + }, + "downloadStatus": { + "$ref": "#/definitions/SyncSessionStatus", + "description": "Download Status", + "readOnly": true + }, + "uploadActivity": { + "$ref": "#/definitions/SyncActivityStatus", + "description": "Upload sync activity", + "readOnly": true + }, + "downloadActivity": { + "$ref": "#/definitions/SyncActivityStatus", + "description": "Download sync activity", + "readOnly": true + }, + "offlineDataTransferStatus": { + "$ref": "#/definitions/OfflineDataTransferState", + "description": "Offline Data Transfer State", + "readOnly": true + } + } + }, + "SyncSessionStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "lastSyncResult": { + "type": "integer", + "format": "int32", + "description": "Last sync result (HResult)", + "readOnly": true + }, + "lastSyncTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync timestamp", + "readOnly": true + }, + "lastSyncSuccessTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last sync success timestamp", + "readOnly": true + }, + "lastSyncPerItemErrorCount": { + "type": "integer", + "format": "int64", + "description": "Last sync per item error count.", + "readOnly": true + }, + "persistentFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Count of persistent files not syncing. Reserved for future use.", + "readOnly": true + }, + "transientFilesNotSyncingCount": { + "type": "integer", + "format": "int64", + "description": "Count of transient files not syncing. Reserved for future use.", + "readOnly": true + }, + "filesNotSyncingErrors": { + "type": "array", + "items": { + "$ref": "#/definitions/FilesNotSyncingError" + }, + "description": "Array of per-item errors coming from the last sync session. Reserved for future use.", + "readOnly": true + } + } + }, + "SyncActivityStatus": { + "type": "object", + "description": "Sync Session status object.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when properties were updated", + "readOnly": true + }, + "perItemErrorCount": { + "type": "integer", + "format": "int64", + "description": "Per item error count", + "readOnly": true + }, + "appliedItemCount": { + "type": "integer", + "format": "int64", + "description": "Applied item count.", + "readOnly": true + }, + "totalItemCount": { + "type": "integer", + "format": "int64", + "description": "Total item count (if available)", + "readOnly": true + }, + "appliedBytes": { + "type": "integer", + "format": "int64", + "description": "Applied bytes", + "readOnly": true + }, + "totalBytes": { + "type": "integer", + "format": "int64", + "description": "Total bytes (if available)", + "readOnly": true + } + } + }, + "FilesNotSyncingError": { + "type": "object", + "description": "Files not syncing error object", + "properties": { + "errorCode": { + "type": "integer", + "format": "int32", + "description": "Error code (HResult)", + "readOnly": true + }, + "persistentCount": { + "type": "integer", + "format": "int64", + "description": "Count of persistent files not syncing with the specified error code", + "readOnly": true + }, + "transientCount": { + "type": "integer", + "format": "int64", + "description": "Count of transient files not syncing with the specified error code", + "readOnly": true + } + } + }, + "PhysicalPath": { + "type": "string", + "description": "Server folder used for data synchronization" + }, + "ResourceId": { + "type": "string", + "description": "Arm resource identifier." + }, + "TagsObject": { + "type": "object", + "description": "Tags object." + }, + "FeatureStatus": { + "type": "string", + "description": "Type of the Feature Status", + "enum": [ + "on", + "off" + ] + }, + "HealthState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "Healthy", + "Error", + "SyncBlockedForRestore", + "SyncBlockedForChangeDetectionPostRestore", + "NoActivity" + ] + }, + "SyncActivityState": { + "type": "string", + "description": "Type of the sync activity state", + "enum": [ + "Upload", + "Download", + "UploadAndDownload" + ] + }, + "OfflineDataTransferState": { + "type": "string", + "description": "Type of the Health state", + "enum": [ + "InProgress", + "Stopping", + "NotRunning", + "Complete" + ] + }, + "WorkflowStatus": { + "type": "string", + "description": "Type of the Workflow Status", + "enum": [ + "active", + "expired", + "succeeded", + "aborted", + "failed" + ] + }, + "OperationDirection": { + "type": "string", + "description": "Type of the Operation Direction", + "enum": [ + "do", + "undo", + "cancel" + ] + }, + "ProgressType": { + "type": "string", + "description": "Type of the ProgressType", + "enum": [ + "none", + "initialize", + "download", + "upload", + "recall" + ] + }, + "OperationStatus": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation Id" + }, + "status": { + "readOnly": true, + "type": "string", + "description": "Operation status" + }, + "startTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Start time of the operation" + }, + "endTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "End time of the operation" + }, + "error": { + "readOnly": true, + "$ref": "#/definitions/StorageSyncApiError", + "description": "Error details." + } + }, + "description": "Operation status object" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] } From 9658a60db0efaf98ebf823c4f3b8e90c3200aca8 Mon Sep 17 00:00:00 2001 From: Sornakumar Date: Mon, 24 Jun 2019 15:08:23 -0700 Subject: [PATCH 135/495] Adding swagger for Microsoft.SoftwarePlan RP. (#6439) --- .../examples/DeleteHybridUseBenefit.json | 11 + .../examples/GetAllHybridUseBenefits.json | 29 + .../GetHybridUseBenefitRevisions.json | 29 + .../examples/GetOperations.json | 68 +++ .../examples/GetSingleHybridUseBenefit.json | 25 + .../examples/PatchHybridUseBenefit.json | 31 + .../examples/PutHybridUseBenefit.json | 31 + .../examples/RegisterSubscription.json | 9 + .../2019-06-01-preview/softwareplan.json | 569 ++++++++++++++++++ .../resource-manager/readme.csharp.md | 15 + .../resource-manager/readme.go.md | 19 + .../softwareplan/resource-manager/readme.md | 89 +++ .../resource-manager/readme.python.md | 21 + .../resource-manager/readme.ruby.md | 19 + .../resource-manager/readme.typescript.md | 13 + 15 files changed, 978 insertions(+) create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json create mode 100644 specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json create mode 100644 specification/softwareplan/resource-manager/readme.csharp.md create mode 100644 specification/softwareplan/resource-manager/readme.go.md create mode 100644 specification/softwareplan/resource-manager/readme.md create mode 100644 specification/softwareplan/resource-manager/readme.python.md create mode 100644 specification/softwareplan/resource-manager/readme.ruby.md create mode 100644 specification/softwareplan/resource-manager/readme.typescript.md diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json new file mode 100644 index 000000000000..64b25a2ff50d --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json new file mode 100644 index 000000000000..855839b0ed97 --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "api-version": "2019-06-01-preview", + "$filter": "SQLBYOLEnterpriseForADH" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json new file mode 100644 index 000000000000..72a8f8ee5ddd --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json new file mode 100644 index 000000000000..c98c719e4ae3 --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/read", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Get hybrid use benefit", + "description": "Read all hybrid use benefits" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/write", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Create hybrid use benefit", + "description": "Create a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/action", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Update hybrid use benefit", + "description": "Update a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/delete", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Delete hybrid use benefit", + "description": "Delete a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/revisions/read", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Get hybrid use benefit", + "description": "Read all hybrid use benefit revisions" + } + }, + { + "name": "Microsoft.SoftwarePlan/register/action", + "display": { + "provider": "Microsoft Software Plan", + "resource": "SoftwarePlan", + "operation": "Registers the SoftwarePlan Resource Provider.", + "description": "Registers the SoftwarePlan resource provider and enables the creation of SoftwarePlan resources." + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json new file mode 100644 index 000000000000..8750e66b184c --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json new file mode 100644 index 000000000000..58f4f80806ca --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview", + "body": { + "type": "Microsoft.SoftwarePlan/hybridUseBenefits", + "sku": { + "name": "SQLBYOLStandardForADH" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLStandardForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json new file mode 100644 index 000000000000..325fa649ab0e --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview", + "body": { + "type": "Microsoft.SoftwarePlan/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json new file mode 100644 index 000000000000..874b96402373 --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "api-version": "2019-06-01-preview", + "subscriptionId": "98df3792-7962-4f18-8be2-d5576f122de3 " + }, + "responses": { + "204": {} + } +} \ No newline at end of file diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json new file mode 100644 index 000000000000..31ee6e114363 --- /dev/null +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json @@ -0,0 +1,569 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-01-preview", + "title": "Software Plan RP", + "description": "Azure software plans let users create and manage licenses for various software used in Azure.", + "x-ms-code-generation-settings": { + "name": "softwareplanClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SoftwarePlan/register": { + "post": { + "description": "Register to Microsoft.SoftwarePlan resource provider.", + "operationId": "SoftwarePlan_Register", + "tags": [ + "Software plan" + ], + "x-ms-examples": { + "HybridUseBenefitListResult": { + "$ref": "./examples/RegisterSubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "OK - Microsoft.SoftwarePlan is registered" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits": { + "get": { + "description": "Get all hybrid use benefits associated with an ARM resource.", + "operationId": "HybridUseBenefit_List", + "tags": [ + "Hybrid use benefits" + ], + "x-ms-examples": { + "HybridUseBenefitListResult": { + "$ref": "./examples/GetAllHybridUseBenefits.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "Supports applying filter on the type of SKU" + } + ], + "responses": { + "200": { + "description": "OK - returns an array of plans at that scope", + "schema": { + "$ref": "#/definitions/HybridUseBenefitListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}": { + "put": { + "description": "Create a new hybrid use benefit under a given scope", + "operationId": "HybridUseBenefit_Create", + "tags": [ + "Hybrid use benefit" + ], + "x-ms-examples": { + "HybridUseBenefit": { + "$ref": "./examples/PutHybridUseBenefit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/PlanIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PutBodyParameter" + } + ], + "responses": { + "200": { + "description": "OK - returns the plan that is created", + "schema": { + "$ref": "#/definitions/HybridUseBenefitModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + }, + "patch": { + "description": "Updates an existing hybrid use benefit", + "operationId": "HybridUseBenefit_Update", + "tags": [ + "Hybrid use benefit" + ], + "x-ms-examples": { + "HybridUseBenefit": { + "$ref": "./examples/PatchHybridUseBenefit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/PlanIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PutBodyParameter" + } + ], + "responses": { + "200": { + "description": "OK - successfully updated the given hybrid use benefit", + "schema": { + "$ref": "#/definitions/HybridUseBenefitModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + }, + "get": { + "description": "Gets a given plan ID", + "operationId": "HybridUseBenefit_Get", + "tags": [ + "Hybrid use benefit" + ], + "x-ms-examples": { + "HybridUseBenefit": { + "$ref": "./examples/GetSingleHybridUseBenefit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/PlanIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - returns the plan that is created", + "schema": { + "$ref": "#/definitions/HybridUseBenefitModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + }, + "delete": { + "description": "Deletes a given plan ID", + "operationId": "HybridUseBenefit_Delete", + "tags": [ + "Hybrid use benefit" + ], + "x-ms-examples": { + "HybridUseBenefit": { + "$ref": "./examples/DeleteHybridUseBenefit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/PlanIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - successfully deleted the given plan" + }, + "204": { + "description": "OK - there was no plan to delete" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions": { + "get": { + "description": "Gets the version history of a hybrid use benefit", + "operationId": "HybridUseBenefitRevision_List", + "tags": [ + "Hybrid use benefit revisions" + ], + "x-ms-examples": { + "HybridUseBenefitRevisionsResponse": { + "$ref": "./examples/GetHybridUseBenefitRevisions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/PlanIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - returns an array of plans ordered by revision", + "schema": { + "$ref": "#/definitions/HybridUseBenefitListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/{scope}/providers/Microsoft.SoftwarePlan/operations": { + "get": { + "summary": "Get operations.", + "description": "List all the operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Software plan operations" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + } + }, + "definitions": { + "Error": { + "type": "object", + "description": "Error object returned by the RP", + "properties": { + "code": { + "description": "Error code", + "$ref": "#/definitions/ErrorCode" + }, + "message": { + "type": "string", + "description": "A user readable error message. Localized based on x-ms-effective-locale header in the request" + } + } + }, + "ErrorCode": { + "type": "string", + "description": "Defined error codes to be returned to the client.", + "enum": [ + "InvalidRequestParameter", + "MissingRequestParameter" + ], + "x-ms-enum": { + "name": "ErrorCode", + "modelAsString": true + } + }, + "Sku": { + "type": "object", + "description": "The SKU to be applied for this resource", + "properties": { + "name": { + "type": "string", + "description": "Name of the SKU to be applied" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Represent the current state of the Reservation.", + "enum": [ + "Succeeded", + "Cancelled", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "HybridUseBenefitListResult": { + "description": "List of hybrid use benefits", + "properties": { + "value": { + "description": "List of hybrid use benefits", + "type": "array", + "items": { + "$ref": "#/definitions/HybridUseBenefitModel" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of items." + } + } + }, + "HybridUseBenefitModel": { + "description": "Response on GET of a hybrid use benefit", + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "sku": { + "description": "Hybrid use benefit SKU", + "$ref": "#/definitions/Sku" + }, + "etag": { + "type": "integer", + "format": "int32", + "description": "Indicates the revision of the hybrid use benefit", + "readOnly": true + }, + "properties": { + "description": "Property bag for a hybrid use benefit response", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HybridUseBenefitProperties" + } + } + }, + "HybridUseBenefitProperties": { + "description": "Hybrid use benefit properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Provisioning state", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "createdDate": { + "type": "string", + "description": "Created date", + "format": "date-time", + "readOnly": true + }, + "lastUpdatedDate": { + "type": "string", + "description": "Last Ureated date", + "format": "date-time", + "readOnly": true + } + } + }, + "OperationList": { + "type": "object", + "description": "List all the operations.", + "properties": { + "value": { + "type": "array", + "description": "List of all operations", + "items": { + "$ref": "#/definitions/OperationResponse" + } + }, + "nextLink": { + "type": "string", + "description": "Url to get the next page of items." + } + } + }, + "OperationResponse": { + "type": "object", + "description": "Operation response.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation" + }, + "display": { + "description": "Display properties for the operation", + "$ref": "#/definitions/OperationDisplay" + }, + "origin": { + "description": "Origin of the response", + "type": "string" + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display fields for an operation.", + "properties": { + "provider": { + "description": "Resource Provider name", + "type": "string" + }, + "resource": { + "description": "Resource that is acted upon", + "type": "string" + }, + "operation": { + "description": "Operation to be performed", + "type": "string" + }, + "description": { + "description": "Description of the operation", + "type": "string" + } + } + } + }, + "parameters": { + "ScopeParameter": { + "name": "scope", + "in": "path", + "x-ms-parameter-location": "method", + "required": true, + "type": "string", + "description": "The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now" + }, + "PutBodyParameter": { + "name": "body", + "in": "body", + "x-ms-parameter-location": "method", + "required": true, + "description": "Request body for creating a hybrid use benefit", + "schema": { + "$ref": "#/definitions/HybridUseBenefitModel" + } + }, + "PlanIdParameter": { + "name": "planId", + "in": "path", + "x-ms-parameter-location": "method", + "required": true, + "type": "string", + "description": "This is a unique identifier for a plan. Should be a guid." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "x-ms-parameter-location": "client", + "required": true, + "description": "The api-version to be used by the service", + "type": "string" + } + } +} diff --git a/specification/softwareplan/resource-manager/readme.csharp.md b/specification/softwareplan/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..08b9ce90303d --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.SoftwarePlan + output-folder: $(csharp-sdks-folder)/softwareplan/management/Microsoft.SoftwarePlan/GeneratedProtocol +``` diff --git a/specification/softwareplan/resource-manager/readme.go.md b/specification/softwareplan/resource-manager/readme.go.md new file mode 100644 index 000000000000..bef5d3527255 --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.go.md @@ -0,0 +1,19 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: softwareplan +``` + +### Tag: package-2019-06-01-preview and go + +These settings apply only when `--tag=package-2019-06-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2019-06-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-06-01-preview/$(namespace) +``` diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md new file mode 100644 index 000000000000..a85cdfbfae1f --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.md @@ -0,0 +1,89 @@ +# softwareplan + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for softwareplan. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the softwareplan. + +``` yaml +openapi-type: arm +tag: package-2019-06-01-preview +``` + +### Tag: package-2019-06-01-preview + +These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-01-preview' +input-file: + - Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_softwareplan'] +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) + +## Suppression + +``` yaml +directive: + - suppress: DescriptionAndTitleMissing + from: types.json + where: $.definitions.Resource + reason: This is an issue with the common resource definition. The properties in the resource definition actually has a title and description. +``` diff --git a/specification/softwareplan/resource-manager/readme.python.md b/specification/softwareplan/resource-manager/readme.python.md new file mode 100644 index 000000000000..f68a7109fb66 --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.SoftwarePlan + package-name: softwareplan + package-version: 2019-06-01-preview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/softwareplan +``` diff --git a/specification/softwareplan/resource-manager/readme.ruby.md b/specification/softwareplan/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..52724cb7a5a6 --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_softwareplan +package-version: 2019-06-01-preview +azure-arm: true +``` + +### Tag: package-2019-06-01-preview and ruby + +These settings apply only when `--tag=package-2019-06-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2019-06-01-preview' && $(ruby) +namespace: Microsoft.SoftwarePlan +output-folder: $(ruby-sdks-folder)/softwareplan +``` diff --git a/specification/softwareplan/resource-manager/readme.typescript.md b/specification/softwareplan/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..f6a9f0e7845a --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-softwareplan" + output-folder: "$(typescript-sdks-folder)/sdk/softwareplan/arm-softwareplan" + payload-flattening-threshold: 1 + generate-metadata: true +``` From a730739c8f0195045ba76ef6cae02b0e1e0e2834 Mon Sep 17 00:00:00 2001 From: mahakjain314 <50352900+mahakjain314@users.noreply.github.com> Date: Tue, 25 Jun 2019 04:12:21 +0530 Subject: [PATCH 136/495] Remove x-ms-azure-resource extension from ManagedResource (#6436) x-ms-azure-resource extension in ManagedResource definition was treating ManagedResource as azure resource and hence it was inheriting from IResource instead of Resource. This was causing issue while Autorest code generation for .NET SDK. --- .../preview/2019-05-05-preview/AlertsManagement.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index ed82beeed9b4..358d06d9bd2b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -1376,7 +1376,6 @@ } }, "ManagedResource": { - "x-ms-azure-resource": true, "description": "An azure managed resource object", "allOf": [ { From 0d78fa12264702fb55b84df3bbc5191890a07711 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 24 Jun 2019 16:10:22 -0700 Subject: [PATCH 137/495] fixed readme error, added java readme (#6429) --- .../resource-manager/readme.java.md | 46 +++++++++++++++++++ .../botservice/resource-manager/readme.md | 38 ++------------- 2 files changed, 50 insertions(+), 34 deletions(-) create mode 100644 specification/botservice/resource-manager/readme.java.md diff --git a/specification/botservice/resource-manager/readme.java.md b/specification/botservice/resource-manager/readme.java.md new file mode 100644 index 000000000000..7c13266e26db --- /dev/null +++ b/specification/botservice/resource-manager/readme.java.md @@ -0,0 +1,46 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.botservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-botservice +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-07-12 + - tag: package-2017-12-01 +``` + +### Tag: package-2018-07-12 and java + +These settings apply only when `--tag=package-2018-07-12 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-07-12' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.botservice.v2018_07_12 + output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2018_07_12 +regenerate-manager: true +generate-interface: true +``` +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.botservice.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index feddccaf1218..a0dfeda29e25 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -7,40 +7,6 @@ This is the AutoRest configuration file for BotService. --- - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-12-01 - - tag: package-2018-07-12 -``` - -### Tag: package-2018-07-12 and java - -These settings apply only when `--tag=package-2018-07-12 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-07-12' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.botservice.v2018-07-12 - output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2018-07-12 -regenerate-manager: true -generate-interface: true -``` -### Tag: package-2017-12-01 and java - -These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.botservice.v2017_12_01 - output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2017_12_01 -regenerate-manager: true -generate-interface: true -``` - ## Getting Started To build the SDK for BotService, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: @@ -138,6 +104,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## Java + +See configuration in [readme.java.md](./readme.java.md) + ## Python See readme.python.md file. From 7cd42930b031f5cc056efdf0adb42ccc7fe7f759 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 24 Jun 2019 19:38:42 -0400 Subject: [PATCH 138/495] typo: softwareplan (#6440) - Ureated -> updated - Ignore "softwareplan" --- custom-words.txt | 1 + .../preview/2019-06-01-preview/softwareplan.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 5593ebb98436..43854b816d59 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1211,6 +1211,7 @@ smallmoney SMBIOS snapshotsdr SNAT +softwareplan SOHSV solaris solr diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json index 31ee6e114363..995f8ac3a3b3 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json @@ -466,7 +466,7 @@ }, "lastUpdatedDate": { "type": "string", - "description": "Last Ureated date", + "description": "Last updated date", "format": "date-time", "readOnly": true } From 756efcaf6934616ed6870823328d36879613d28a Mon Sep 17 00:00:00 2001 From: Kaisheng Xu Date: Tue, 25 Jun 2019 11:29:10 +0800 Subject: [PATCH 139/495] Support single role restore for Azure Stack infrastructure backup (#6315) * add role name to restore * camelCase style * remove "-" * ref example json --- .../preview/2018-09-01/Backups.json | 7 +++++++ .../examples/Backups/SingleRepoRestore.json | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json index dd53222fec97..81107ff2f113 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json @@ -99,6 +99,9 @@ "x-ms-examples": { "Restore a backup.": { "$ref": "./examples/Backups/Restore.json" + }, + "Restore a single role from backup.": { + "$ref": "./examples/Backups/SingleRepoRestore.json" } }, "description": "Restore a backup.", @@ -275,6 +278,10 @@ "RestoreOptions": { "description": "Properties for restore options.", "properties": { + "roleName": { + "description": "The Azure Stack role name for restore, set it to empty for all infrastructure role", + "type": "string" + }, "decryptionCertBase64": { "description": "The certificate file raw data in Base64 string. This should be the .pfx file with the private key.", "type": "string" diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json new file mode 100644 index 000000000000..20be3535ee2b --- /dev/null +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "11111111-2222-3333-4444-555555555555", + "resourceGroupName": "System.local", + "location": "local", + "backup": "64e8625a-8dc0-49df-a195-932901b4be81", + "restoreOptions": { + "roleName": "fakerp", + "decryptionCertBase64": "decryptionCert", + "decryptionCertPassword": "decryptionCertPassword" + }, + "api-version": "2018-09-01" + }, + "responses": { + "200": {}, + "202": {} + } + } + \ No newline at end of file From 5bc978635bc9024d4189433b792a1f74888fc3dc Mon Sep 17 00:00:00 2001 From: Filiz Topatan Date: Mon, 24 Jun 2019 21:58:44 -0700 Subject: [PATCH 140/495] Add published blueprint object to the payload to support change notes (#6399) --- .../preview/2018-11-01-preview/blueprintDefinition.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json index c0fa224da67f..8e438d1ceedd 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json @@ -416,6 +416,15 @@ }, { "$ref": "#/parameters/PublishedBlueprintVersionIdParameter" + }, + { + "name": "publishedBlueprint", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/PublishedBlueprint" + }, + "description": "Published Blueprint to create or update." } ], "responses": { From b1d2f12eb40f5f92e0362a4edd415fb859f3bf0d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 25 Jun 2019 11:03:31 -0400 Subject: [PATCH 141/495] chore: jsonfmt datalake-analytics (#6018) Ran `jsonfmt -w "specification/datalake-analytics/**/*.json"` --- .../preview/2015-10-01-preview/catalog.json | 2 +- .../preview/2015-11-01-preview/job.json | 2 +- .../preview/2016-03-20-preview/job.json | 17 +- .../examples/Job_Build.json | 168 +++--- .../examples/Job_Cancel.json | 25 +- .../examples/Job_Create.json | 198 +++---- .../2017-09-01-preview/examples/Job_Get.json | 156 +++--- .../examples/Job_GetDebugDataPath.json | 34 +- .../examples/Job_GetStatistics.json | 72 +-- .../2017-09-01-preview/examples/Job_List.json | 92 ++-- .../examples/Job_Update.json | 172 ++++--- .../examples/Job_Yield.json | 25 +- .../examples/Pipeline_Get.json | 64 +-- .../examples/Pipeline_List.json | 70 +-- .../examples/Recurrence_Get.json | 44 +- .../examples/Recurrence_List.json | 50 +- .../preview/2017-09-01-preview/job.json | 1 - .../2016-11-01/examples/Adla_Job_Build.json | 162 +++--- .../2016-11-01/examples/Adla_Job_Cancel.json | 19 +- .../2016-11-01/examples/Adla_Job_Create.json | 192 +++---- .../2016-11-01/examples/Adla_Job_Get.json | 150 +++--- .../examples/Adla_Job_GetDebugDataPath.json | 34 +- .../examples/Adla_Job_GetStatistics.json | 72 +-- .../2016-11-01/examples/Adla_Job_List.json | 86 ++-- .../examples/Adla_Pipeline_Get.json | 64 +-- .../examples/Adla_Pipeline_List.json | 70 +-- .../examples/Adla_Recurrence_Get.json | 44 +- .../examples/Adla_Recurrence_List.json | 50 +- .../examples/Catalog_CreateCredential.json | 27 +- .../examples/Catalog_CreateSecret.json | 25 +- .../examples/Catalog_DeleteAllSecrets.json | 19 +- .../examples/Catalog_DeleteCredential.json | 25 +- .../examples/Catalog_DeleteSecret.json | 21 +- .../examples/Catalog_GetAssembly.json | 70 +-- .../examples/Catalog_GetCredential.json | 28 +- .../examples/Catalog_GetDatabase.json | 26 +- .../Catalog_GetExternalDataSource.json | 40 +- .../examples/Catalog_GetPackage.json | 34 +- .../examples/Catalog_GetProcedure.json | 34 +- .../examples/Catalog_GetSchema.json | 28 +- .../examples/Catalog_GetSecret.json | 36 +- .../2016-11-01/examples/Catalog_GetTable.json | 150 +++--- .../examples/Catalog_GetTablePartition.json | 48 +- .../examples/Catalog_GetTableStatistic.json | 58 +-- .../examples/Catalog_GetTableType.json | 66 +-- .../Catalog_GetTableValuedFunction.json | 34 +- .../2016-11-01/examples/Catalog_GetView.json | 34 +- .../2016-11-01/examples/Catalog_GrantAcl.json | 25 +- .../examples/Catalog_GrantAclToDatabase.json | 27 +- .../2016-11-01/examples/Catalog_ListAcls.json | 46 +- .../examples/Catalog_ListAclsByDatabase.json | 48 +- .../examples/Catalog_ListAssemblies.json | 52 +- .../examples/Catalog_ListCredentials.json | 48 +- .../examples/Catalog_ListDatabases.json | 46 +- .../Catalog_ListExternalDataSources.json | 60 +-- .../examples/Catalog_ListPackages.json | 56 +- .../examples/Catalog_ListProcedures.json | 56 +- .../examples/Catalog_ListSchemas.json | 50 +- .../examples/Catalog_ListTableFragments.json | 50 +- .../examples/Catalog_ListTablePartitions.json | 70 +-- .../examples/Catalog_ListTableStatistics.json | 82 +-- ...Catalog_ListTableStatisticsByDatabase.json | 78 +-- ...istTableStatisticsByDatabaseAndSchema.json | 80 +-- .../examples/Catalog_ListTableTypes.json | 88 ++-- .../Catalog_ListTableValuedFunctions.json | 56 +- ...og_ListTableValuedFunctionsByDatabase.json | 54 +- .../examples/Catalog_ListTables.json | 176 ++++--- .../Catalog_ListTablesByDatabase.json | 174 ++++--- .../examples/Catalog_ListTypes.json | 78 +-- .../examples/Catalog_ListViews.json | 56 +- .../examples/Catalog_ListViewsByDatabase.json | 54 +- .../examples/Catalog_RevokeAcl.json | 23 +- .../Catalog_RevokeAclFromDatabase.json | 25 +- .../examples/Catalog_UpdateCredential.json | 29 +- .../examples/Catalog_UpdateSecret.json | 25 +- .../stable/2016-11-01/job.json | 46 +- .../Accounts_CheckNameAvailability.json | 32 +- .../2016-11-01/examples/Accounts_Create.json | 380 +++++++------- .../2016-11-01/examples/Accounts_Delete.json | 25 +- .../2016-11-01/examples/Accounts_Get.json | 152 +++--- .../2016-11-01/examples/Accounts_List.json | 66 +-- .../Accounts_ListByResourceGroup.json | 68 +-- .../2016-11-01/examples/Accounts_Update.json | 484 +++++++++--------- .../ComputePolicies_CreateOrUpdate.json | 50 +- .../examples/ComputePolicies_Delete.json | 24 +- .../examples/ComputePolicies_Get.json | 36 +- .../ComputePolicies_ListByAccount.json | 78 +-- .../examples/ComputePolicies_Update.json | 46 +- .../examples/DataLakeStoreAccounts_Add.json | 27 +- .../DataLakeStoreAccounts_Delete.json | 21 +- .../examples/DataLakeStoreAccounts_Get.json | 34 +- .../DataLakeStoreAccounts_ListByAccount.json | 52 +- .../FirewallRules_CreateOrUpdate.json | 46 +- .../examples/FirewallRules_Delete.json | 24 +- .../examples/FirewallRules_Get.json | 36 +- .../examples/FirewallRules_ListByAccount.json | 42 +- .../examples/FirewallRules_Update.json | 46 +- .../examples/Locations_GetCapability.json | 31 +- .../2016-11-01/examples/Operations_List.json | 36 +- .../examples/StorageAccounts_Add.json | 29 +- .../examples/StorageAccounts_Delete.json | 21 +- .../examples/StorageAccounts_Get.json | 34 +- .../StorageAccounts_GetStorageContainer.json | 36 +- .../StorageAccounts_ListByAccount.json | 52 +- .../StorageAccounts_ListSasTokens.json | 36 +- ...StorageAccounts_ListStorageContainers.json | 42 +- .../examples/StorageAccounts_Update.json | 29 +- 107 files changed, 3505 insertions(+), 3306 deletions(-) diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json index 95331d8e363d..4d377d679b65 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json @@ -2901,4 +2901,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json index 0d3a24a48e0a..7bf8ab43655e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json @@ -1023,4 +1023,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json index 0db2aa94ac9d..416404d9d156 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json @@ -536,7 +536,6 @@ "VertexResourceInUserFolder", "JobManagerResourceInUserFolder", "StatisticsResourceInUserFolder" - ], "x-ms-enum": { "name": "JobResourceType", @@ -690,32 +689,32 @@ }, "description": "The common Data Lake Analytics job properties." }, - "Diagnostics" : { + "Diagnostics": { "properties": { - "columnNumber" : { + "columnNumber": { "description": "the column where the error occurred.", "type": "integer", "format": "int32", "readOnly": true }, - "end" : { + "end": { "description": "the ending index of the error.", "type": "integer", "format": "int32", "readOnly": true }, - "lineNumber" : { + "lineNumber": { "description": "the line number the error occurred on.", "type": "integer", "format": "int32", "readOnly": true }, - "message" : { + "message": { "description": "the error message.", "type": "string", "readOnly": true }, - "severity" : { + "severity": { "description": "the severity of the error.", "readOnly": true, "type": "string", @@ -729,7 +728,7 @@ "modelAsString": false } }, - "start" : { + "start": { "description": "the starting index of the error.", "type": "integer", "format": "int32", @@ -1007,7 +1006,7 @@ "type": "array", "items": { "type": "string" - }, + }, "description": "the list of log file name patterns to find in the logFolder. '*' is the only matching character allowed. Example format: jobExecution*.log or *mylog*.txt" }, "stateAuditRecords": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json index 6ceeb3ab4b79..baa5e5b204e3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json @@ -1,88 +1,92 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "parameters": { - "type": "USql", - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" + "type": "USql", + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" + }, + "name": "test_name" + } + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "tags": { + "test_key": "test_value" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" }, - "name": "test_name" - } - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "tags": { - "test_key": "test_value" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json index 09f18758b1bc..0f6b9bfbcaea 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json @@ -1,16 +1,13 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - }, - "202": { - }, - "204": { - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json index e18aa9f2425a..74d84f3f66c3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json @@ -1,103 +1,107 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "parameters": { - "type": "USql", - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" + "type": "USql", + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" + }, + "name": "test_name", + "degreeOfParallelism": 1, + "priority": 1, + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + } + } + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "tags": { + "test_key": "test_value" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" }, - "name": "test_name", - "degreeOfParallelism": 1, - "priority": 1, - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - } - } - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "tags": { - "test_key": "test_value" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json index 9c71939c68ab..bcf9262e5433 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json @@ -1,80 +1,84 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "tags": { - "test_key": "test_value" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "tags": { + "test_key": "test_value" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" + }, + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json index 1dd27580aa29..7d1e0fe91660 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "command": "test_command", - "paths": [ - "test_path_1", - "test_path_2" - ] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "command": "test_command", + "paths": [ + "test_path_1", + "test_path_2" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json index 182690613ad8..7c254cf468fa 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json @@ -1,38 +1,40 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00", - "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00", - "stages": [{ - "dataRead": 1, - "dataReadCrossPod": 1, - "dataReadIntraPod": 1, - "dataToRead": 1, - "dataWritten": 1, - "duplicateDiscardCount": 1, - "failedCount": 1, - "maxVertexDataRead": 1, - "minVertexDataRead": 1, - "readFailureCount": 1, - "revocationCount": 1, - "runningCount": 1, - "scheduledCount": 1, - "stageName": "test_stage_name", - "succeededCount": 1, - "tempDataWritten": 1, - "totalCount": 1, - "totalFailedTime": "PT0S", - "totalProgress": 1, - "totalSucceededTime": "PT0S" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00", + "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00", + "stages": [ + { + "dataRead": 1, + "dataReadCrossPod": 1, + "dataReadIntraPod": 1, + "dataToRead": 1, + "dataWritten": 1, + "duplicateDiscardCount": 1, + "failedCount": 1, + "maxVertexDataRead": 1, + "minVertexDataRead": 1, + "readFailureCount": 1, + "revocationCount": 1, + "runningCount": 1, + "scheduledCount": 1, + "stageName": "test_stage_name", + "succeededCount": 1, + "tempDataWritten": 1, + "totalCount": 1, + "totalFailedTime": "PT0S", + "totalProgress": 1, + "totalSucceededTime": "PT0S" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json index 3d8689c9bb33..8ccd670d6930 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json @@ -1,49 +1,51 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "tags": { - "test_key": "test_value" - } - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "tags": { + "test_key": "test_value" } - } + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json index 54cd118c364e..41cad2d3a8de 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json @@ -1,91 +1,93 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "parameters": { - "degreeOfParallelism": 1, - "priority": 1, - "tags": { - "test_key": "test_value" - } - } - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "tags": { - "test_key": "test_value" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "Hive" - } - } + "degreeOfParallelism": 1, + "priority": 1, + "tags": { + "test_key": "test_value" + } + } + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" }, - "201": { + "tags": { + "test_key": "test_value" }, - "202": { + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" + }, + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "Hive" } - } + } + }, + "201": {}, + "202": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json index 09f18758b1bc..0f6b9bfbcaea 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json @@ -1,16 +1,13 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - }, - "202": { - }, - "204": { - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json index 76fddedb5fd2..83b65ea13fb5 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json @@ -1,34 +1,36 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", - "runs": [{ - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "recurrences": [ - "2ba01f6c-562d-4246-90ff-0b8c2d10e346", - "da8dc3de-2fd8-4641-8968-40dbbf11e95f" - ] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", + "runs": [ + { + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "recurrences": [ + "2ba01f6c-562d-4246-90ff-0b8c2d10e346", + "da8dc3de-2fd8-4641-8968-40dbbf11e95f" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json index 7803c038f2f0..a686098793b5 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json @@ -1,36 +1,40 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "value": [{ - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", - "runs": [{ - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "recurrences": [ - "2ba01f6c-562d-4246-90ff-0b8c2d10e346", - "da8dc3de-2fd8-4641-8968-40dbbf11e95f" - ] - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", + "runs": [ + { + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "recurrences": [ + "2ba01f6c-562d-4246-90ff-0b8c2d10e346", + "da8dc3de-2fd8-4641-8968-40dbbf11e95f" + ] + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json index 9f8e326cba38..83174744e93c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json @@ -1,25 +1,25 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "recurrenceName": "test_recurrence_name", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "recurrenceName": "test_recurrence_name", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json index f12dad78264f..6c85120742ea 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json @@ -1,27 +1,29 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaJobDnsSuffix": "azuredatalakeanalytics.net", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "value": [{ - "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "recurrenceName": "test_recurrence_name", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaJobDnsSuffix": "azuredatalakeanalytics.net", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "recurrenceName": "test_recurrence_name", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json index 911c3e76cd92..65f78c6aeb25 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json @@ -1890,7 +1890,6 @@ "description": "The recurring job relationship information properties." } }, - "description": "The parameters used to submit a new Data Lake Analytics job." }, "CreateScopeJobParameters": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json index 520955a36cb6..f3d02df1083d 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json @@ -1,85 +1,89 @@ { + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "parameters": { - "type": "USql", - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" + "type": "USql", + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" + }, + "name": "test_name" + } + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" }, - "name": "test_name" - } - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json index b7ae114a3b7d..c39750162dab 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json @@ -1,12 +1,11 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json index e2330dc879e9..f1c5fa864086 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json @@ -1,100 +1,104 @@ { + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "parameters": { - "type": "USql", - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" + "type": "USql", + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" + }, + "name": "test_name", + "degreeOfParallelism": 1, + "priority": 1, + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + } + } + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" }, - "name": "test_name", - "degreeOfParallelism": 1, - "priority": 1, - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - } - } - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json index f73037f5ce56..f2d0d0c690d1 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json @@ -1,77 +1,81 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - }, - "errorMessage": [{ - "description": "test_description", - "details": "test_details", - "endOffset": 1, - "errorId": "test_error_id", - "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "lineNumber": 1, - "message": "test_message", - "resolution": "test_resolution", - "innerError": { - "diagnosticCode": 1, - "severity": "Warning", - "details": "test_details", - "component": "test_component", - "errorId": "test_error_id", - "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", - "internalDiagnostics": "test_internal_diagnostics", - "message": "test_message", - "resolution": "test_resolution", - "source": "SYSTEM", - "description": "test_description" - }, - "severity": "Warning", - "source": "SYSTEM", - "startOffset": 1 - }], - "stateAuditRecords": [{ - "newState": "test_new_state", - "timeStamp": "2017-04-18T11:16:49.0748958-07:00", - "requestedByUser": "test_requested_by_user", - "details": "test_details" - }], - "properties": { - "runtimeVersion": "test_runtime_version", - "script": "test_script", - "type": "USql" - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" + }, + "errorMessage": [ + { + "description": "test_description", + "details": "test_details", + "endOffset": 1, + "errorId": "test_error_id", + "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "lineNumber": 1, + "message": "test_message", + "resolution": "test_resolution", + "innerError": { + "diagnosticCode": 1, + "severity": "Warning", + "details": "test_details", + "component": "test_component", + "errorId": "test_error_id", + "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/", + "internalDiagnostics": "test_internal_diagnostics", + "message": "test_message", + "resolution": "test_resolution", + "source": "SYSTEM", + "description": "test_description" + }, + "severity": "Warning", + "source": "SYSTEM", + "startOffset": 1 + } + ], + "stateAuditRecords": [ + { + "newState": "test_new_state", + "timeStamp": "2017-04-18T11:16:49.0748958-07:00", + "requestedByUser": "test_requested_by_user", + "details": "test_details" + } + ], + "properties": { + "runtimeVersion": "test_runtime_version", + "script": "test_script", + "type": "USql" } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json index 7726d97fdc90..d7839a080d13 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json @@ -1,20 +1,20 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "command": "test_command", - "paths": [ - "test_path_1", - "test_path_2" - ] - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "command": "test_command", + "paths": [ + "test_path_1", + "test_path_2" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json index 3b240a387852..3015262ac05f 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json @@ -1,38 +1,40 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" - }, - "responses": { - "200": { - "body": { - "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00", - "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00", - "stages": [{ - "dataRead": 1, - "dataReadCrossPod": 1, - "dataReadIntraPod": 1, - "dataToRead": 1, - "dataWritten": 1, - "duplicateDiscardCount": 1, - "failedCount": 1, - "maxVertexDataRead": 1, - "minVertexDataRead": 1, - "readFailureCount": 1, - "revocationCount": 1, - "runningCount": 1, - "scheduledCount": 1, - "stageName": "test_stage_name", - "succeededCount": 1, - "tempDataWritten": 1, - "totalCount": 1, - "totalFailedTime": "PT0S", - "totalProgress": 1, - "totalSucceededTime": "PT0S" - }] - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09" + }, + "responses": { + "200": { + "body": { + "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00", + "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00", + "stages": [ + { + "dataRead": 1, + "dataReadCrossPod": 1, + "dataReadIntraPod": 1, + "dataToRead": 1, + "dataWritten": 1, + "duplicateDiscardCount": 1, + "failedCount": 1, + "maxVertexDataRead": 1, + "minVertexDataRead": 1, + "readFailureCount": 1, + "revocationCount": 1, + "runningCount": 1, + "scheduledCount": 1, + "stageName": "test_stage_name", + "succeededCount": 1, + "tempDataWritten": 1, + "totalCount": 1, + "totalFailedTime": "PT0S", + "totalProgress": 1, + "totalSucceededTime": "PT0S" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json index c15f4d3a332c..8fd9f03ecba5 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json @@ -1,46 +1,48 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "name": "test_name", - "type": "USql", - "submitter": "test_submitter", - "degreeOfParallelism": 1, - "priority": 1, - "submitTime": "2017-04-18T11:16:49.0748958-07:00", - "startTime": "2017-04-18T11:16:49.0748958-07:00", - "endTime": "2017-04-18T11:16:49.0748958-07:00", - "state": "Accepted", - "result": "Succeeded", - "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", - "logFilePatterns": [ - "test_log_file_pattern_1", - "test_log_file_pattern_2" - ], - "related": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", - "recurrenceName": "test_recurrence_name" - } - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "name": "test_name", + "type": "USql", + "submitter": "test_submitter", + "degreeOfParallelism": 1, + "priority": 1, + "submitTime": "2017-04-18T11:16:49.0748958-07:00", + "startTime": "2017-04-18T11:16:49.0748958-07:00", + "endTime": "2017-04-18T11:16:49.0748958-07:00", + "state": "Accepted", + "result": "Succeeded", + "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/", + "logFilePatterns": [ + "test_log_file_pattern_1", + "test_log_file_pattern_2" + ], + "related": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d", + "recurrenceName": "test_recurrence_name" } - } + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json index d0969ab1dead..902807b48173 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json @@ -1,34 +1,36 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", - "runs": [{ - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "recurrences": [ - "2ba01f6c-562d-4246-90ff-0b8c2d10e346", - "da8dc3de-2fd8-4641-8968-40dbbf11e95f" - ] - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", + "runs": [ + { + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "recurrences": [ + "2ba01f6c-562d-4246-90ff-0b8c2d10e346", + "da8dc3de-2fd8-4641-8968-40dbbf11e95f" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json index bbaffcc35e5d..5a797c4b8f52 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json @@ -1,36 +1,40 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "value": [{ - "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "pipelineName": "test_pipeline_name", - "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", - "runs": [{ - "runId": "67034c12-b250-468e-992d-39fb978bde2c", - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "recurrences": [ - "2ba01f6c-562d-4246-90ff-0b8c2d10e346", - "da8dc3de-2fd8-4641-8968-40dbbf11e95f" - ] - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "pipelineName": "test_pipeline_name", + "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00", + "runs": [ + { + "runId": "67034c12-b250-468e-992d-39fb978bde2c", + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "recurrences": [ + "2ba01f6c-562d-4246-90ff-0b8c2d10e346", + "da8dc3de-2fd8-4641-8968-40dbbf11e95f" + ] + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json index 806b549a7c39..fcae5974bf10 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json @@ -1,25 +1,25 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "recurrenceName": "test_recurrence_name", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "recurrenceName": "test_recurrence_name", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json index 8ee7ee002381..427e1a6b1725 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json @@ -1,27 +1,29 @@ { - "parameters": { - "accountName": "account123", - "adlaJobDnsSuffix": "contosopipelineservice.com", - "api-version": "2016-11-01", - "startDateTime": "2017-04-18T11:16:49.0748958-07:00", - "endDateTime": "2017-04-18T11:16:49.0748958-07:00" - }, - "responses": { - "200": { - "body": { - "value": [{ - "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", - "recurrenceName": "test_recurrence_name", - "numJobsFailed": 1, - "numJobsCanceled": 1, - "numJobsSucceeded": 1, - "auHoursFailed": 1.0, - "auHoursCanceled": 1.0, - "auHoursSucceeded": 1.0, - "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" - }], - "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" - } - } + "parameters": { + "accountName": "account123", + "adlaJobDnsSuffix": "contosopipelineservice.com", + "api-version": "2016-11-01", + "startDateTime": "2017-04-18T11:16:49.0748958-07:00", + "endDateTime": "2017-04-18T11:16:49.0748958-07:00" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09", + "recurrenceName": "test_recurrence_name", + "numJobsFailed": 1, + "numJobsCanceled": 1, + "numJobsSucceeded": 1, + "auHoursFailed": 1.0, + "auHoursCanceled": 1.0, + "auHoursSucceeded": 1.0, + "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00" + } + ], + "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json index 3ecec8d20ed9..f8367c30e275 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json @@ -1,18 +1,17 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "credentialName": "test_credential_name", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "credentialName": "test_credential_name", - "parameters": { - "password": "test_password", - "uri": "test_host:8000", - "userId": "test_user_id" - } - }, - "responses": { - "200": { - } + "password": "test_password", + "uri": "test_host:8000", + "userId": "test_user_id" } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json index 610d09b19144..fc541925934e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json @@ -1,17 +1,16 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "secretName": "test_secret_name", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "secretName": "test_secret_name", - "parameters": { - "password": "test_password", - "uri": "test_host:8000" - } - }, - "responses": { - "200": { - } + "password": "test_password", + "uri": "test_host:8000" } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json index 9e8b91296054..67403b1fb40e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json @@ -1,12 +1,11 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master" - }, - "responses": { - "200": { - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json index 735406634a0c..ff464fb20a93 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json @@ -1,17 +1,16 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "credentialName": "test_credential_name", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "credentialName": "test_credential_name", - "parameters": { - "password": "test_password" - }, - "cascade": false + "password": "test_password" }, - "responses": { - "200": { - } - } + "cascade": false + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json index 62d68222eee3..6f27e947a052 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json @@ -1,13 +1,12 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "secretName": "test_secret_name" - }, - "responses": { - "200": { - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "secretName": "test_secret_name" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json index 821a7d192e6e..e583c97819ba 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json @@ -1,38 +1,42 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "assemblyName": "test_assembly_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", - "assemblyName": "test_assembly_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "assemblyName": "test_assembly_name", - "clrName": "test_clr_name", - "isVisible": false, - "isUserDefined": false, - "files": [{ - "type": "Assembly", - "originalPath": "test_original_path", - "contentPath": "test_content_path" - }], - "dependencies": [{ - "entityId": { - "name": { - "firstPart": "test_first_part", - "secondPart": "test_second_part", - "thirdPart": "test_third_part", - "server": "test_server" - }, - "version":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - } - }] + "assemblyName": "test_assembly_name", + "clrName": "test_clr_name", + "isVisible": false, + "isUserDefined": false, + "files": [ + { + "type": "Assembly", + "originalPath": "test_original_path", + "contentPath": "test_content_path" + } + ], + "dependencies": [ + { + "entityId": { + "name": { + "firstPart": "test_first_part", + "secondPart": "test_second_part", + "thirdPart": "test_third_part", + "server": "test_server" + }, + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" } - } + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json index ed310d3c0249..481038e559da 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json @@ -1,18 +1,18 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "credentialName": "test_credential_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "credentialName": "test_credential_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "credentialName": "test_credential_name" - } - } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json index ae7ce0caba76..af15531c676d 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json @@ -1,17 +1,17 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master" - } - } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json index 0109800c719a..4353518b82c1 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json @@ -1,24 +1,24 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "externalDataSourceName": "test_external_data_source_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", - "externalDataSourceName": "test_external_data_source_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "externalDataSourceName": "test_external_data_source_name", - "provider": "test_provider", - "providerString": "test_provider_string", - "pushdownTypes": [ - "test_pushdown_type" - ] - } - } + "externalDataSourceName": "test_external_data_source_name", + "provider": "test_provider", + "providerString": "test_provider_string", + "pushdownTypes": [ + "test_pushdown_type" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json index fb123d4c667d..c91926a60b87 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "packageName": "test_package_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "packageName": "test_package_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "packageName": "test_package_name", - "definition": "test_definition" - } - } + "packageName": "test_package_name", + "definition": "test_definition" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json index 1c4339bbc95d..c931fc1dbba6 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "procedureName": "test_procedure_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "procedureName": "test_procedure_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "procName": "test_proc_name", - "definition": "test_definition" - } - } + "procName": "test_proc_name", + "definition": "test_definition" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json index 66c62125e3e9..36c9a9693031 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json @@ -1,19 +1,19 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo" - } - } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json index 454a4557f4aa..a40c57830525 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "secretName": "test_secret_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", - "secretName": "test_secret_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "secretName": "test_secret_name", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "uri": "test_host:8000", - "password": "test_password" - } - } + "secretName": "test_secret_name", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "uri": "test_host:8000", + "password": "test_password" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json index 3914fa94a342..86e10aa2ed4e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json @@ -1,78 +1,88 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "tableName": "test_table_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "columnList": [{ - "name": "test_column_name", - "type": "test_type" - }], - "indexList": [{ - "name": "test_index_name", - "indexKeys": [{ - "name": "test_index_key", - "descending": false - }], - "columns": [ - "test_column" - ], - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 - }, - "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "partitionKeyList": [ - "test_partition_key" - ], - "streamNames": [ - "test_stream_name" - ], - "isColumnstore": false, - "indexId": 1, - "isUnique": false - }], - "partitionKeyList":[ - "test_partition_key" - ], - "externalTable": { - "tableName":"test_table_name", - "dataSource": { - "name": { - "firstPart": "test_first_part", - "secondPart": "test_second_part", - "thirdPart": "test_third_part", - "server": "test_server" - }, - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - } - }, - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 + "tableName": "test_table_name", + "columnList": [ + { + "name": "test_column_name", + "type": "test_type" + } + ], + "indexList": [ + { + "name": "test_index_name", + "indexKeys": [ + { + "name": "test_index_key", + "descending": false + } + ], + "columns": [ + "test_column" + ], + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false } + ], + "count": 1, + "dynamicCount": 1 + }, + "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "partitionKeyList": [ + "test_partition_key" + ], + "streamNames": [ + "test_stream_name" + ], + "isColumnstore": false, + "indexId": 1, + "isUnique": false + } + ], + "partitionKeyList": [ + "test_partition_key" + ], + "externalTable": { + "tableName": "test_table_name", + "dataSource": { + "name": { + "firstPart": "test_first_part", + "secondPart": "test_second_part", + "thirdPart": "test_third_part", + "server": "test_server" + }, + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + }, + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false } + ], + "count": 1, + "dynamicCount": 1 } + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json index e367e0e3d105..a288c553e3e3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json @@ -1,29 +1,29 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "partitionName": "test_partition_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "tableName": "test_table_name", - "partitionName": "test_partition_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "partitionName": "test_partition_name", - "parentName": "test_parent_name", - "indexId": 1, - "label": [ - "test_label_1", - "test_label_2" - ], - "createDate": "2017-04-14T13:21:56.6819037-07:00" - } - } + "partitionName": "test_partition_name", + "parentName": "test_parent_name", + "indexId": 1, + "label": [ + "test_label_1", + "test_label_2" + ], + "createDate": "2017-04-14T13:21:56.6819037-07:00" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json index 0b41a3b773e2..0a5f83294d82 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json @@ -1,35 +1,35 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "statisticsName": "test_statistics_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", "tableName": "test_table_name", - "statisticsName": "test_statistics_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "statisticsName": "test_statistics_name", - "userStatName": "test_user_stat_name", - "statDataPath": "test_stat_data_path", - "createTime": "2017-04-14T13:21:56.6819037-07:00", - "updateTime": "2017-04-14T13:21:56.6819037-07:00", - "isUserCreated": false, - "isAutoCreated": false, - "hasFilter": false, - "filterDefinition": "test_filter_definition", - "colNames": [ - "test_column_name_1", - "test_column_name_2" - ] - } - } + "statisticsName": "test_statistics_name", + "userStatName": "test_user_stat_name", + "statDataPath": "test_stat_data_path", + "createTime": "2017-04-14T13:21:56.6819037-07:00", + "updateTime": "2017-04-14T13:21:56.6819037-07:00", + "isUserCreated": false, + "isAutoCreated": false, + "hasFilter": false, + "filterDefinition": "test_filter_definition", + "colNames": [ + "test_column_name_1", + "test_column_name_2" + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json index 22b244d4c67c..1eff65de8aee 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json @@ -1,37 +1,39 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableTypeName": "test_table_type_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "tableTypeName": "test_table_type_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "typeName": "test_type_name", - "typeFamily": "test_type_family", - "cSharpName": "test_csharp_name", - "fullCSharpName": "test_full_csharp_name", - "systemTypeId": 1, - "userTypeId": 2, - "schemaId": 3, - "principalId": 4, - "isNullable": false, - "isUserDefined": false, - "isAssemblyType": false, - "isTableType": false, - "isComplexType": false, - "columns":[{ - "name": "test_column_name", - "type": "test_column_type" - }] - } - } + "typeName": "test_type_name", + "typeFamily": "test_type_family", + "cSharpName": "test_csharp_name", + "fullCSharpName": "test_full_csharp_name", + "systemTypeId": 1, + "userTypeId": 2, + "schemaId": 3, + "principalId": 4, + "isNullable": false, + "isUserDefined": false, + "isAssemblyType": false, + "isTableType": false, + "isComplexType": false, + "columns": [ + { + "name": "test_column_name", + "type": "test_column_type" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json index e50c8a3eeb7f..153f7dd218ad 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableValuedFunctionName": "test_table_valued_function_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "tableValuedFunctionName": "test_table_valued_function_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tvfName": "test_tvf_name", - "definition": "test_definition" - } - } + "tvfName": "test_tvf_name", + "definition": "test_definition" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json index d8e521763c0d..8cbb54a2b8a9 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "viewName": "test_view_name" + }, + "responses": { + "200": { + "body": { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "databaseName": "master", "schemaName": "dbo", - "viewName": "test_view_name" - }, - "responses": { - "200": { - "body": { - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "viewName": "test_view_name", - "definition": "test_definition" - } - } + "viewName": "test_view_name", + "definition": "test_definition" + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json index 527eab876111..b3a323473d5e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json @@ -1,17 +1,16 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "parameters": { - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "permission": "Use" - }, - "op": "GRANTACE" + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "permission": "Use" }, - "responses": { - "200": { - } - } + "op": "GRANTACE" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json index e1161b4d68b3..d4a3090912f1 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json @@ -1,18 +1,17 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "parameters": { - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "permission": "Use" - }, - "op": "GRANTACE" + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "permission": "Use" }, - "responses": { - "200": { - } - } + "op": "GRANTACE" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json index 3520a5c8814c..bd6e131eae46 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json @@ -1,25 +1,27 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "permission": "Use" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "permission": "Use" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json index ad3a6f9e928b..e6b3957b23e9 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json @@ -1,26 +1,28 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "permission": "Use" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "permission": "Use" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json index f29786e3e431..032cf60bbd11 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json @@ -1,28 +1,30 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "assemblyClrName": "test_assembly_clr_name", - "clrName": "test_clr_name" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "assemblyClrName": "test_assembly_clr_name", + "clrName": "test_clr_name" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json index 3666ea447370..0a8ffdf18fae 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json @@ -1,26 +1,28 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "credentialName": "test_credential_name" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "credentialName": "test_credential_name" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json index 8afb3c82c79e..28f7387f8967 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json @@ -1,25 +1,27 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json index cfff2b00bd17..8cbdc9aa261c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json @@ -1,32 +1,34 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "externalDataSourceName": "test_external_data_source_name", - "provider": "test_provider", - "providerString": "test_provider_string", - "pushdownTypes": [ - "test_pushdown_type" - ] - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "externalDataSourceName": "test_external_data_source_name", + "provider": "test_provider", + "providerString": "test_provider_string", + "pushdownTypes": [ + "test_pushdown_type" + ] + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json index db0b0831a2d3..6ae2c538ca6a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json @@ -1,30 +1,32 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "packageName": "test_package_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "packageName": "test_package_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json index 63711b33ff73..ebf232895732 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json @@ -1,30 +1,32 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "procName": "test_proc_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "procName": "test_proc_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json index 4e7662b58658..c36946981f01 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json @@ -1,27 +1,29 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json index f9404d635a04..77ddc357b11f 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json @@ -1,32 +1,34 @@ { "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false }, "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b", - "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7", - "indexId": 1, - "size": 33786, - "rowCount": 1, - "createDate": "2017-10-11T06:38:31.567-07:00", - "streamPath":"catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss" - }] + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b", + "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7", + "indexId": 1, + "size": 33786, + "rowCount": 1, + "createDate": "2017-10-11T06:38:31.567-07:00", + "streamPath": "catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss" } + ] } + } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json index bd2d66de562a..249a45c53d58 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json @@ -1,37 +1,39 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "partitionName": "test_partition_name", - "parentName": "test_parent_name", - "indexId": 1, - "label": [ - "test_label_1", - "test_label_2" - ], - "createDate": "2017-04-14T13:21:56.6819037-07:00" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "partitionName": "test_partition_name", + "parentName": "test_parent_name", + "indexId": 1, + "label": [ + "test_label_1", + "test_label_2" + ], + "createDate": "2017-04-14T13:21:56.6819037-07:00" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json index acd9670cb21e..391f98fa93d4 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json @@ -1,43 +1,45 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_view_name", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "statisticsName": "test_statistics_name", - "userStatName": "test_user_stat_name", - "statDataPath": "test_stat_data_path", - "createTime": "2017-04-14T13:21:56.6819037-07:00", - "updateTime": "2017-04-14T13:21:56.6819037-07:00", - "isUserCreated": false, - "isAutoCreated": false, - "hasFilter": false, - "filterDefinition": "test_filter_definition", - "colNames": [ - "test_column_name_1", - "test_column_name_2" - ] - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_view_name", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "statisticsName": "test_statistics_name", + "userStatName": "test_user_stat_name", + "statDataPath": "test_stat_data_path", + "createTime": "2017-04-14T13:21:56.6819037-07:00", + "updateTime": "2017-04-14T13:21:56.6819037-07:00", + "isUserCreated": false, + "isAutoCreated": false, + "hasFilter": false, + "filterDefinition": "test_filter_definition", + "colNames": [ + "test_column_name_1", + "test_column_name_2" + ] + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json index 4b61e4daafba..dcaf31d18e34 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json @@ -1,41 +1,43 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "statisticsName": "test_statistics_name", - "userStatName": "test_user_stat_name", - "statDataPath": "test_stat_data_path", - "createTime": "2017-04-14T13:21:56.6819037-07:00", - "updateTime": "2017-04-14T13:21:56.6819037-07:00", - "isUserCreated": false, - "isAutoCreated": false, - "hasFilter": false, - "filterDefinition": "test_filter_definition", - "colNames": [ - "test_column_name_1", - "test_column_name_2" - ] - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "statisticsName": "test_statistics_name", + "userStatName": "test_user_stat_name", + "statDataPath": "test_stat_data_path", + "createTime": "2017-04-14T13:21:56.6819037-07:00", + "updateTime": "2017-04-14T13:21:56.6819037-07:00", + "isUserCreated": false, + "isAutoCreated": false, + "hasFilter": false, + "filterDefinition": "test_filter_definition", + "colNames": [ + "test_column_name_1", + "test_column_name_2" + ] + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json index 5bc1acc5e772..e290189fce55 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json @@ -1,42 +1,44 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "statisticsName": "test_statistics_name", - "userStatName": "test_user_stat_name", - "statDataPath": "test_stat_data_path", - "createTime": "2017-04-14T13:21:56.6819037-07:00", - "updateTime": "2017-04-14T13:21:56.6819037-07:00", - "isUserCreated": false, - "isAutoCreated": false, - "hasFilter": false, - "filterDefinition": "test_filter_definition", - "colNames": [ - "test_column_name_1", - "test_column_name_2" - ] - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "statisticsName": "test_statistics_name", + "userStatName": "test_user_stat_name", + "statDataPath": "test_stat_data_path", + "createTime": "2017-04-14T13:21:56.6819037-07:00", + "updateTime": "2017-04-14T13:21:56.6819037-07:00", + "isUserCreated": false, + "isAutoCreated": false, + "hasFilter": false, + "filterDefinition": "test_filter_definition", + "colNames": [ + "test_column_name_1", + "test_column_name_2" + ] + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json index d6320995ae46..5b669d598e31 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json @@ -1,45 +1,49 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "typeName": "test_type_name", - "typeFamily": "test_type_family", - "cSharpName": "test_csharp_name", - "fullCSharpName": "test_full_csharp_name", - "systemTypeId": 1, - "userTypeId": 2, - "schemaId": 3, - "principalId": 4, - "isNullable": false, - "isUserDefined": false, - "isAssemblyType": false, - "isTableType": false, - "isComplexType": false, - "columns":[{ - "name": "test_column_name", - "type": "test_column_type" - }] - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "typeName": "test_type_name", + "typeFamily": "test_type_family", + "cSharpName": "test_csharp_name", + "fullCSharpName": "test_full_csharp_name", + "systemTypeId": 1, + "userTypeId": 2, + "schemaId": 3, + "principalId": 4, + "isNullable": false, + "isUserDefined": false, + "isAssemblyType": false, + "isTableType": false, + "isComplexType": false, + "columns": [ + { + "name": "test_column_name", + "type": "test_column_type" + } + ] + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json index 9a2cbc27567c..f41ad0d80d3e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json @@ -1,30 +1,32 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tvfName": "test_tvf_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tvfName": "test_tvf_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json index cc92fbd51b46..9deeee909f0a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json @@ -1,29 +1,31 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tvfName": "test_tvf_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tvfName": "test_tvf_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json index 8b09461b6b9e..6cc1ae432ff4 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json @@ -1,87 +1,99 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false, - "basic": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "columnList": [{ - "name": "test_column_name", - "type": "test_type" - }], - "indexList": [{ - "name": "test_index_name", - "indexKeys": [{ - "name": "test_index_key", - "descending": false - }], - "columns": [ - "test_column" - ], - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 - }, - "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "partitionKeyList": [ - "test_partition_key" - ], - "streamNames": [ - "test_stream_name" - ], - "isColumnstore": false, - "indexId": 1, - "isUnique": false - }], - "partitionKeyList":[ - "test_partition_key" - ], - "externalTable": { - "tableName":"test_table_name", - "dataSource": { - "name": { - "firstPart": "test_first_part", - "secondPart": "test_second_part", - "thirdPart": "test_third_part", - "server": "test_server" - }, - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - } - }, - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false, + "basic": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "columnList": [ + { + "name": "test_column_name", + "type": "test_type" + } + ], + "indexList": [ + { + "name": "test_index_name", + "indexKeys": [ + { + "name": "test_index_key", + "descending": false + } + ], + "columns": [ + "test_column" + ], + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false } - }] + ], + "count": 1, + "dynamicCount": 1 + }, + "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "partitionKeyList": [ + "test_partition_key" + ], + "streamNames": [ + "test_stream_name" + ], + "isColumnstore": false, + "indexId": 1, + "isUnique": false + } + ], + "partitionKeyList": [ + "test_partition_key" + ], + "externalTable": { + "tableName": "test_table_name", + "dataSource": { + "name": { + "firstPart": "test_first_part", + "secondPart": "test_second_part", + "thirdPart": "test_third_part", + "server": "test_server" + }, + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + }, + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false + } + ], + "count": 1, + "dynamicCount": 1 } - } + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json index 422319648d42..11be556867eb 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json @@ -1,86 +1,98 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false, - "basic": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "tableName": "test_table_name", - "columnList": [{ - "name": "test_column_name", - "type": "test_type" - }], - "indexList": [{ - "name": "test_index_name", - "indexKeys": [{ - "name": "test_index_key", - "descending": false - }], - "columns": [ - "test_column" - ], - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 - }, - "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "partitionKeyList": [ - "test_partition_key" - ], - "streamNames": [ - "test_stream_name" - ], - "isColumnstore": false, - "indexId": 1, - "isUnique": false - }], - "partitionKeyList":[ - "test_partition_key" - ], - "externalTable": { - "tableName":"test_table_name", - "dataSource": { - "name": { - "firstPart": "test_first_part", - "secondPart": "test_second_part", - "thirdPart": "test_third_part", - "server": "test_server" - }, - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - } - }, - "distributionInfo": { - "type": 1, - "keys": [{ - "name": "test_key", - "descending": false - }], - "count": 1, - "dynamicCount": 1 + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false, + "basic": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "tableName": "test_table_name", + "columnList": [ + { + "name": "test_column_name", + "type": "test_type" + } + ], + "indexList": [ + { + "name": "test_index_name", + "indexKeys": [ + { + "name": "test_index_key", + "descending": false + } + ], + "columns": [ + "test_column" + ], + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false } - }] + ], + "count": 1, + "dynamicCount": 1 + }, + "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "partitionKeyList": [ + "test_partition_key" + ], + "streamNames": [ + "test_stream_name" + ], + "isColumnstore": false, + "indexId": 1, + "isUnique": false + } + ], + "partitionKeyList": [ + "test_partition_key" + ], + "externalTable": { + "tableName": "test_table_name", + "dataSource": { + "name": { + "firstPart": "test_first_part", + "secondPart": "test_second_part", + "thirdPart": "test_third_part", + "server": "test_server" + }, + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + }, + "distributionInfo": { + "type": 1, + "keys": [ + { + "name": "test_key", + "descending": false + } + ], + "count": 1, + "dynamicCount": 1 } - } + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json index a12fd57d00fa..b991a45f0222 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json @@ -1,41 +1,43 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value": [{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "typeName": "test_type_name", - "typeFamily": "test_type_family", - "cSharpName": "test_csharp_name", - "fullCSharpName": "test_full_csharp_name", - "systemTypeId": 1, - "userTypeId": 2, - "schemaId": 3, - "principalId": 4, - "isNullable": false, - "isUserDefined": false, - "isAssemblyType": false, - "isTableType": false, - "isComplexType": false - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "typeName": "test_type_name", + "typeFamily": "test_type_family", + "cSharpName": "test_csharp_name", + "fullCSharpName": "test_full_csharp_name", + "systemTypeId": 1, + "userTypeId": 2, + "schemaId": 3, + "principalId": 4, + "isNullable": false, + "isUserDefined": false, + "isAssemblyType": false, + "isTableType": false, + "isComplexType": false + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json index 045583455676..19bff1292cd3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json @@ -1,30 +1,32 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "schemaName": "dbo", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "viewName": "test_view_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "schemaName": "dbo", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "viewName": "test_view_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json index f9558d85d6eb..9dd93b72804a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json @@ -1,29 +1,31 @@ { - "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", - "value":[{ - "computeAccountName": "contosoadla", - "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "databaseName": "master", - "schemaName": "dbo", - "viewName": "test_view_name", - "definition": "test_definition" - }] - } - } + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", + "value": [ + { + "computeAccountName": "contosoadla", + "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "databaseName": "master", + "schemaName": "dbo", + "viewName": "test_view_name", + "definition": "test_definition" + } + ] + } } + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json index c37b49068e35..7c22cb6fd567 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json @@ -1,16 +1,15 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "parameters": { - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - }, - "op": "REVOKEACE" + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, - "responses": { - "200": { - } - } + "op": "REVOKEACE" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json index 28ecb0f98ab9..c0efcc099e1c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json @@ -1,17 +1,16 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "parameters": { - "aceType": "User", - "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - }, - "op": "REVOKEACE" + "aceType": "User", + "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, - "responses": { - "200": { - } - } + "op": "REVOKEACE" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json index 2771e90ee959..94d512da1ecf 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json @@ -1,19 +1,18 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "credentialName": "test_credential_name", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "credentialName": "test_credential_name", - "parameters": { - "password": "test_password", - "newPassword": "test_new_password", - "uri": "test_host:8000", - "userId": "test_user_id" - } - }, - "responses": { - "200": { - } + "password": "test_password", + "newPassword": "test_new_password", + "uri": "test_host:8000", + "userId": "test_user_id" } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json index 610d09b19144..fc541925934e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json @@ -1,17 +1,16 @@ { + "parameters": { + "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", + "databaseName": "master", + "secretName": "test_secret_name", "parameters": { - "api-version": "2016-11-01", - "accountName": "contosoadla", - "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", - "databaseName": "master", - "secretName": "test_secret_name", - "parameters": { - "password": "test_password", - "uri": "test_host:8000" - } - }, - "responses": { - "200": { - } + "password": "test_password", + "uri": "test_host:8000" } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json index 128dc2377633..ab484fbbba3a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json @@ -43,7 +43,9 @@ "operationId": "Pipeline_List", "description": "Lists all pipelines.", "x-ms-examples": { - "Lists all pipelines": { "$ref": "./examples/Adla_Pipeline_List.json" } + "Lists all pipelines": { + "$ref": "./examples/Adla_Pipeline_List.json" + } }, "parameters": [ { @@ -87,7 +89,9 @@ "operationId": "Pipeline_Get", "description": "Gets the Pipeline information for the specified pipeline ID.", "x-ms-examples": { - "Gets the Pipeline information for the specified pipeline ID": { "$ref": "./examples/Adla_Pipeline_Get.json" } + "Gets the Pipeline information for the specified pipeline ID": { + "$ref": "./examples/Adla_Pipeline_Get.json" + } }, "parameters": [ { @@ -136,7 +140,9 @@ "operationId": "Recurrence_List", "description": "Lists all recurrences.", "x-ms-examples": { - "Lists all recurrences": { "$ref": "./examples/Adla_Recurrence_List.json" } + "Lists all recurrences": { + "$ref": "./examples/Adla_Recurrence_List.json" + } }, "parameters": [ { @@ -180,7 +186,9 @@ "operationId": "Recurrence_Get", "description": "Gets the recurrence information for the specified recurrence ID.", "x-ms-examples": { - "Gets the recurrence information for the specified recurrence ID": { "$ref": "./examples/Adla_Recurrence_Get.json" } + "Gets the recurrence information for the specified recurrence ID": { + "$ref": "./examples/Adla_Recurrence_Get.json" + } }, "parameters": [ { @@ -229,7 +237,9 @@ "operationId": "Job_GetStatistics", "description": "Gets statistics of the specified job.", "x-ms-examples": { - "Gets statistics of the specified job": { "$ref": "./examples/Adla_Job_GetStatistics.json" } + "Gets statistics of the specified job": { + "$ref": "./examples/Adla_Job_GetStatistics.json" + } }, "parameters": [ { @@ -262,7 +272,9 @@ "operationId": "Job_GetDebugDataPath", "description": "Gets the job debug data information specified by the job ID.", "x-ms-examples": { - "Gets the job debug data information specified by the job ID": { "$ref": "./examples/Adla_Job_GetDebugDataPath.json" } + "Gets the job debug data information specified by the job ID": { + "$ref": "./examples/Adla_Job_GetDebugDataPath.json" + } }, "parameters": [ { @@ -295,7 +307,9 @@ "operationId": "Job_Build", "description": "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation.", "x-ms-examples": { - "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": { "$ref": "./examples/Adla_Job_Build.json" } + "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": { + "$ref": "./examples/Adla_Job_Build.json" + } }, "parameters": [ { @@ -329,7 +343,9 @@ "operationId": "Job_Cancel", "description": "Cancels the running job specified by the job ID.", "x-ms-examples": { - "Cancels the running job specified by the job ID": { "$ref": "./examples/Adla_Job_Cancel.json" } + "Cancels the running job specified by the job ID": { + "$ref": "./examples/Adla_Job_Cancel.json" + } }, "parameters": [ { @@ -359,7 +375,9 @@ "operationId": "Job_Create", "description": "Submits a job to the specified Data Lake Analytics account.", "x-ms-examples": { - "Submits a job to the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_Create.json" } + "Submits a job to the specified Data Lake Analytics account": { + "$ref": "./examples/Adla_Job_Create.json" + } }, "parameters": [ { @@ -399,7 +417,9 @@ "operationId": "Job_Get", "description": "Gets the job information for the specified job ID.", "x-ms-examples": { - "Gets the job information for the specified job ID": { "$ref": "./examples/Adla_Job_Get.json" } + "Gets the job information for the specified job ID": { + "$ref": "./examples/Adla_Job_Get.json" + } }, "parameters": [ { @@ -432,7 +452,9 @@ "operationId": "Job_List", "description": "Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any.", "x-ms-examples": { - "Lists the jobs, if any, associated with the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_List.json" } + "Lists the jobs, if any, associated with the specified Data Lake Analytics account": { + "$ref": "./examples/Adla_Job_List.json" + } }, "parameters": [ { @@ -1655,7 +1677,7 @@ "default": "azuredatalakeanalytics.net", "x-ms-skip-url-encoding": true, "description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.", - "x-ms-parameter-location":"client" + "x-ms-parameter-location": "client" } } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json index 5f6b962a58d2..540b83710b8c 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json @@ -1,20 +1,20 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "location": "EastUS2", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "EastUS2", - "parameters": { - "name": "contosoadla", - "type": "Microsoft.DataLakeAnalytics/accounts" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "An account named 'abc' already exists." - } - } + "name": "contosoadla", + "type": "Microsoft.DataLakeAnalytics/accounts" } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "An account named 'abc' already exists." + } + } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json index c37a85108dbc..ed48cf8913f3 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json @@ -1,190 +1,214 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "parameters": { - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "name": "test_adls", "properties": { - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "name": "test_adls", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "name": "test_storage", - "properties": { - "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "name": "test_policy", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "name": "test_rule", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "maxJobCount": 3, - "maxDegreeOfParallelism": 30, + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "name": "test_storage", + "properties": { + "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "name": "test_policy", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "name": "test_rule", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "maxJobCount": 3, + "maxDegreeOfParallelism": 30, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 + "minPriorityPerJob": 1 + } } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json index 324b2630a98a..1a07094bb30b 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json @@ -1,16 +1,13 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla" - }, - "responses": { - "200": { - }, - "202": { - }, - "204": { - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json index a23b56e134bb..18c39e8c95bb 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json @@ -1,77 +1,85 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json index 35783421c127..f53524c11613 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json @@ -1,36 +1,38 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_account", - "type": "test_type", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_account", + "type": "test_type", + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json index ed943f7e8615..a016492f43b2 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json @@ -1,37 +1,39 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_account", - "type": "test_type", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_account", + "type": "test_type", + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json index 8c4cb32d43a6..5bb75f25eb15 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json @@ -1,242 +1,270 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "parameters": { - "tags": { - "test_key": "test_value" - }, + "tags": { + "test_key": "test_value" + }, + "properties": { + "computePolicies": [ + { + "name": "test_policy", "properties": { - "computePolicies": [{ - "name": "test_policy", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "name": "test_rule", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "maxJobCount": 1, - "maxDegreeOfParallelism": 1, + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "name": "test_rule", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "maxJobCount": 1, + "maxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" + }, + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 1 + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 + } + } + }, + "202": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", + "name": "test_account", + "type": "Microsoft.DataLakeAnalytics/accounts", + "location": "eastus2", + "tags": { + "test_key": "test_value" }, - "202": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", - "name": "test_account", - "type": "Microsoft.DataLakeAnalytics/accounts", - "location": "eastus2", - "tags": { - "test_key": "test_value" - }, - "properties": { - "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "provisioningState": "Succeeded", - "state": "Active", - "creationTime": "2017-04-14T13:21:56.6819037-07:00", - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", - "endpoint": "test_endpoint", - "defaultDataLakeStoreAccount": "test_adls", - "dataLakeStoreAccounts": [{ - "id": "test_adls_id", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "storageAccounts": [{ - "id": "test_storage_id", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "computePolicies": [{ - "id": "test_policy_id", - "name": "test_policy", - "type": "test_type", - "properties": { - "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1 - } - }], - "firewallRules": [{ - "id": "test_firewall_id", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "firewallState": "Enabled", - "firewallAllowAzureIps": "Enabled", - "newTier": "Consumption", - "currentTier": "Consumption", - "maxJobCount": 3, - "systemMaxJobCount": 1, - "maxDegreeOfParallelism": 30, - "systemMaxDegreeOfParallelism": 1, - "maxDegreeOfParallelismPerJob": 1, - "minPriorityPerJob": 1, - "queryStoreRetention": 30 - } + "properties": { + "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "provisioningState": "Succeeded", + "state": "Active", + "creationTime": "2017-04-14T13:21:56.6819037-07:00", + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", + "endpoint": "test_endpoint", + "defaultDataLakeStoreAccount": "test_adls", + "dataLakeStoreAccounts": [ + { + "id": "test_adls_id", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "storageAccounts": [ + { + "id": "test_storage_id", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" + } + } + ], + "computePolicies": [ + { + "id": "test_policy_id", + "name": "test_policy", + "type": "test_type", + "properties": { + "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1 + } + } + ], + "firewallRules": [ + { + "id": "test_firewall_id", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } } + ], + "firewallState": "Enabled", + "firewallAllowAzureIps": "Enabled", + "newTier": "Consumption", + "currentTier": "Consumption", + "maxJobCount": 3, + "systemMaxJobCount": 1, + "maxDegreeOfParallelism": 30, + "systemMaxDegreeOfParallelism": 1, + "maxDegreeOfParallelismPerJob": 1, + "minPriorityPerJob": 1, + "queryStoreRetention": 30 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json index 0c2a7f5e1964..a802a4462e77 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json @@ -1,30 +1,30 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "computePolicyName": "test_policy", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "computePolicyName": "test_policy", - "parameters": { - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da98", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 10, - "minPriorityPerJob": 30 - } - } - }, - "responses": { - "200": { - "body": { - "name": "test_policy", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da98", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 10, - "minPriorityPerJob": 30 - } - } + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da98", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 10, + "minPriorityPerJob": 30 + } + } + }, + "responses": { + "200": { + "body": { + "name": "test_policy", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da98", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 10, + "minPriorityPerJob": 30 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json index ef4331040ff4..e293c9e12322 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json @@ -1,15 +1,13 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "computePolicyName": "test_policy" - }, - "responses": { - "200": { - }, - "204": { - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "computePolicyName": "test_policy" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json index c5eba4e3f678..f7c98bb948c7 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "computePolicyName": "test_policy" - }, - "responses": { - "200": { - "body": { - "name": "test_policy", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da98", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 10, - "minPriorityPerJob": 30 - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "computePolicyName": "test_policy" + }, + "responses": { + "200": { + "body": { + "name": "test_policy", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da98", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 10, + "minPriorityPerJob": 30 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json index 84e157f00fff..f43cbe04636c 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json @@ -1,42 +1,44 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "test_policy", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da98", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 10, - "minPriorityPerJob": 30 - } - }, - { - "name": "test_policy1", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da99", - "objectType": "Group", - "maxDegreeOfParallelismPerJob": 5, - "minPriorityPerJob": 15 - } - }, - { - "name": "test_policy2", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da97", - "objectType": "ServicePrincipal", - "maxDegreeOfParallelismPerJob": 20, - "minPriorityPerJob": 60 - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test_policy", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da98", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 10, + "minPriorityPerJob": 30 } - } + }, + { + "name": "test_policy1", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da99", + "objectType": "Group", + "maxDegreeOfParallelismPerJob": 5, + "minPriorityPerJob": 15 + } + }, + { + "name": "test_policy2", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da97", + "objectType": "ServicePrincipal", + "maxDegreeOfParallelismPerJob": 20, + "minPriorityPerJob": 60 + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json index 96829136040b..24876110d2f5 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json @@ -1,28 +1,28 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "computePolicyName": "test_policy", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "computePolicyName": "test_policy", - "parameters": { - "properties": { - "maxDegreeOfParallelismPerJob": 11, - "minPriorityPerJob": 31 - } - } - }, - "responses": { - "200": { - "body": { - "name": "test_policy", - "properties": { - "objectId": "776b9091-8916-4638-87f7-9c989a38da98", - "objectType": "User", - "maxDegreeOfParallelismPerJob": 11, - "minPriorityPerJob": 31 - } - } + "properties": { + "maxDegreeOfParallelismPerJob": 11, + "minPriorityPerJob": 31 + } + } + }, + "responses": { + "200": { + "body": { + "name": "test_policy", + "properties": { + "objectId": "776b9091-8916-4638-87f7-9c989a38da98", + "objectType": "User", + "maxDegreeOfParallelismPerJob": 11, + "minPriorityPerJob": 31 } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json index a8bac50059fe..0dd76d13c698 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json @@ -1,18 +1,17 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "dataLakeStoreAccountName": "test_adls_account", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "dataLakeStoreAccountName": "test_adls_account", - "parameters": { - "properties": { - "suffix": "test_suffix" - } - } - }, - "responses": { - "200": { - } + "properties": { + "suffix": "test_suffix" + } } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json index d8df893ea83b..81ea00b35fcf 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json @@ -1,13 +1,12 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "dataLakeStoreAccountName": "test_adls_account" - }, - "responses": { - "200": { - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "dataLakeStoreAccountName": "test_adls_account" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json index 2e6a341cd68b..47994990a1c4 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json @@ -1,21 +1,21 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "dataLakeStoreAccountName": "test_adls_account" - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "dataLakeStoreAccountName": "test_adls_account" + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json index 75fc6588bd81..b5022bc391b8 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json @@ -1,29 +1,31 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_adls", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_adls", + "type": "test_type", + "properties": { + "suffix": "test_suffix" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json index 80e20e0cff4a..7c239fc53e9f 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json @@ -1,28 +1,28 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "firewallRuleName": "test_rule", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "firewallRuleName": "test_rule", - "parameters": { - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - } + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json index 53cac4aaabaf..5cec7e998778 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json @@ -1,15 +1,13 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "firewallRuleName": "test_rule" - }, - "responses": { - "200": { - }, - "204": { - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "firewallRuleName": "test_rule" + }, + "responses": { + "200": {}, + "204": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json index 137b32e4246d..03ba39bf887e 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "firewallRuleName": "test_rule" - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "firewallRuleName": "test_rule" + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json index 20bbfa6262fb..0fdb92c73190 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json @@ -1,24 +1,26 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json index 78b55e76537e..7c239fc53e9f 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json @@ -1,28 +1,28 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "firewallRuleName": "test_rule", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "firewallRuleName": "test_rule", - "parameters": { - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_rule", - "type": "test_type", - "properties": { - "startIpAddress": "1.1.1.1", - "endIpAddress": "2.2.2.2" - } - } + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_rule", + "type": "test_type", + "properties": { + "startIpAddress": "1.1.1.1", + "endIpAddress": "2.2.2.2" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json index c44d18cbfdcb..627c2d8e525f 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json @@ -1,20 +1,19 @@ { - "parameters": { - "api-version": "2016-11-01", + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "location": "EastUS2" + }, + "responses": { + "200": { + "body": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "EastUS2" + "state": "Registered", + "maxAccountCount": 150, + "accountCount": 100, + "migrationState": false + } }, - "responses": { - "200": { - "body": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "state": "Registered", - "maxAccountCount": 150, - "accountCount": 100, - "migrationState": false - } - }, - "404": { - } - } + "404": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json index c16b26ab7e22..5b1bc50fd2ea 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json @@ -1,21 +1,23 @@ { - "parameters": { - "api-version": "2016-11-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "Microsoft.DataLakeAnalytics/operations/read", - "display": { - "provider": "Microsoft DataLakeAnalytics", - "resource": "Available Operations", - "operation": "Get Available Operations", - "description": "Get available operations of DataLakeAnalytics." - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DataLakeAnalytics/operations/read", + "display": { + "provider": "Microsoft DataLakeAnalytics", + "resource": "Available Operations", + "operation": "Get Available Operations", + "description": "Get available operations of DataLakeAnalytics." } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json index 631c6f8fb1f3..536e2eebafee 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json @@ -1,19 +1,18 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage", - "parameters": { - "properties": { - "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "suffix": "test_suffix" - } - } - }, - "responses": { - "200": { - } + "properties": { + "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "suffix": "test_suffix" + } } + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json index 4bbfc5535080..9dcbca8c42dd 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json @@ -1,13 +1,12 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage" - }, - "responses": { - "200": { - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage" + }, + "responses": { + "200": {} + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json index 7108df56459a..910efe0766bb 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json @@ -1,21 +1,21 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage" - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage" + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json index 74715e0a2159..732b7d348498 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json @@ -1,22 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage", - "containerName": "test_container" - }, - "responses": { - "200": { - "body": { - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_storage", - "type": "test_type", - "properties": { - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00" - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage", + "containerName": "test_container" + }, + "responses": { + "200": { + "body": { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_storage", + "type": "test_type", + "properties": { + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00" } + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json index e86f81925843..7ec163bfb791 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json @@ -1,29 +1,31 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "$filter": "test_filter", - "$top": 1, - "$skip": 1, - "$select": "test_select", - "$orderby": "test_orderby", - "$count": false - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_storage", - "type": "test_type", - "properties": { - "suffix": "test_suffix" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "$filter": "test_filter", + "$top": 1, + "$skip": 1, + "$select": "test_select", + "$orderby": "test_orderby", + "$count": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_storage", + "type": "test_type", + "properties": { + "suffix": "test_suffix" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json index 7be802bcac66..6fe68e619157 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json @@ -1,20 +1,22 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage", - "containerName": "test_container" - }, - "responses": { - "200": { - "body": { - "value": [{ - "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346" - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" - } - } + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage", + "containerName": "test_container" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346" + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json index 573524d96bc4..2b24017f689b 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json @@ -1,24 +1,26 @@ { - "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test_storage", - "type": "test_type", - "properties": { - "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00" - } - }], - "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "name": "test_storage", + "type": "test_type", + "properties": { + "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00" } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=" + } } + } } diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json index 631c6f8fb1f3..536e2eebafee 100644 --- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json @@ -1,19 +1,18 @@ { + "parameters": { + "api-version": "2016-11-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "contosorg", + "accountName": "contosoadla", + "storageAccountName": "test_storage", "parameters": { - "api-version": "2016-11-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "contosorg", - "accountName": "contosoadla", - "storageAccountName": "test_storage", - "parameters": { - "properties": { - "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", - "suffix": "test_suffix" - } - } - }, - "responses": { - "200": { - } + "properties": { + "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", + "suffix": "test_suffix" + } } + }, + "responses": { + "200": {} + } } From c796d24dc2ed4445de13f063055e5805930db403 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Tue, 25 Jun 2019 09:05:32 -0700 Subject: [PATCH 142/495] Authorization cleaning (#6357) * Remove duplicated elevateAccess * Split preview/2015-07-01/authorization.json in two files * Split stable/2015-07-01 into preview/2015-07-01/authorization-RoleAssignmentsCalls.json * Remove useless tags * Consistent naming * Add missing examples * Killing misleading 2015-07-01 preview folder * Fix name typo ProviderOperationsCall-s * Fix classAdmin flattening * Update Python multi-api conf * Rename package-2015-07 to package-2015-07-01 --- .../examples/DeleteRoleDefinition.json | 32 - .../examples/GetAllProviderOperations.json | 27 - .../2015-07-01/examples/GetPermissions.json | 20 - .../examples/GetProviderOperationsRP.json | 24 - .../examples/GetResourcePermissions.json | 23 - .../examples/GetRoleDefinitionAtScope.json | 35 - .../examples/GetRoleDefinitionById.json | 31 - .../examples/GetRoleDefinitionByName.json | 32 - .../examples/PutRoleDefinition.json | 53 -- ...> authorization-RoleAssignmentsCalls.json} | 0 .../authorization-ClassicAdminCalls.json | 1 + .../authorization-ElevateAccessCalls.json | 0 ...authorization-ProviderOperationsCalls.json | 241 +++++++ ...> authorization-RoleAssignmentsCalls.json} | 650 +----------------- .../authorization-RoleDefinitionsCalls.json} | 311 ++------- .../2015-07-01/examples/ElevateAccess.json | 0 .../resource-manager/readme.csharp.md | 8 +- .../resource-manager/readme.go.md | 8 +- .../authorization/resource-manager/readme.md | 61 +- .../resource-manager/readme.python.md | 8 +- .../resource-manager/readme.ruby.md | 21 +- 21 files changed, 349 insertions(+), 1237 deletions(-) delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json delete mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json rename specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/{authorization-RACalls.json => authorization-RoleAssignmentsCalls.json} (100%) rename specification/authorization/resource-manager/Microsoft.Authorization/{preview => stable}/2015-07-01/authorization-ElevateAccessCalls.json (100%) create mode 100644 specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json rename specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/{authorization.json => authorization-RoleAssignmentsCalls.json} (50%) rename specification/authorization/resource-manager/Microsoft.Authorization/{preview/2015-07-01/authorization.json => stable/2015-07-01/authorization-RoleDefinitionsCalls.json} (73%) rename specification/authorization/resource-manager/Microsoft.Authorization/{preview => stable}/2015-07-01/examples/ElevateAccess.json (100%) diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json deleted file mode 100644 index 437345d2199c..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "scope": "scope", - "roleDefinitionId": "roleDefinitionId", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "roleName": "Role name", - "type": "roletype", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ] - }, - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json deleted file mode 100644 index df8754e45686..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "id", - "name": "name", - "type": "type", - "displayName": "displayName", - "resourceTypes": [ - { - "name": "name", - "displayName": "name", - "operations": [] - } - ], - "operations": [] - } - ] - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json deleted file mode 100644 index b4ab968baca9..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rgname", - "subscriptionId": "subID", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "actions": [], - "notActions": [] - } - ], - "nextLink": "nextlink" - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json deleted file mode 100644 index 37706378e9a7..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "resourceProviderNamespace": "resourceProviderNamespace", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "id": "id", - "name": "name", - "type": "type", - "displayName": "displayName", - "resourceTypes": [ - { - "name": "name", - "displayName": "name", - "operations": [] - } - ], - "operations": [] - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json deleted file mode 100644 index 7b2f534e9680..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subId", - "resourceGroupName": "rgname", - "resourceProviderNamespace": "rpnamespace", - "parentResourcePath": "parentResourcePath", - "resourceType": "resourceType", - "resourceName": "resourceName", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "actions": [], - "notActions": [] - } - ] - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json deleted file mode 100644 index 59169b055fea..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "scope": "scope", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "roleName": "Role name", - "type": "roletype", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ] - }, - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - ] - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json deleted file mode 100644 index 6100a19694a1..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "roleDefinitionId": "roleDefinitionId", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "roleName": "Role name", - "type": "roletype", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ] - }, - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json deleted file mode 100644 index 437345d2199c..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "scope": "scope", - "roleDefinitionId": "roleDefinitionId", - "api-version": "2015-07-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "roleName": "Role name", - "type": "roletype", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ] - }, - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json deleted file mode 100644 index d28a7ff36640..000000000000 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "scope": "scope", - "roleDefinitionId": "roleDefinitionId", - "roleDefinition": {}, - "body": { - "roleDefinition": { - "roleName": "Role name", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ], - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - }, - "api-version": "2015-07-01" - }, - "responses": { - "201": { - "body": { - "properties": { - "roleName": "Role name", - "type": "roletype", - "description": "Role description", - "assignableScopes": [ - "/subscriptions/subId" - ], - "permissions": [ - { - "actions": [ - "action" - ], - "notActions": [] - } - ] - }, - "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", - "type": "Microsoft.Authorization/roleDefinitions", - "name": "roleDefinitionId" - } - } - } -} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json similarity index 100% rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json rename to specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json index 901a6f0eea72..97b6bd2c41a6 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json @@ -103,6 +103,7 @@ "description": "The type of the administrator." }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/ClassicAdministratorProperties", "description": "Properties for the classic administrator." } diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json similarity index 100% rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json new file mode 100644 index 000000000000..b465e7e64ba4 --- /dev/null +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json @@ -0,0 +1,241 @@ +{ + "swagger": "2.0", + "info": { + "title": "AuthorizationManagementClient", + "version": "2015-07-01", + "description": "Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": { + "get": { + "tags": [ + "ProviderOperationsMetadata" + ], + "operationId": "ProviderOperationsMetadata_Get", + "description": "Gets provider operations metadata for the specified resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "default": "resourceTypes", + "description": "Specifies whether to expand the values." + } + ], + "responses": { + "200": { + "description": "OK - Returns the operations metadata.", + "schema": { + "$ref": "#/definitions/ProviderOperationsMetadata" + } + } + }, + "x-ms-examples": { + "GetConfigurations": { + "$ref": "./examples/GetProviderOperationsRP.json" + } + } + } + }, + "/providers/Microsoft.Authorization/providerOperations": { + "get": { + "tags": [ + "ProviderOperationsMetadata" + ], + "operationId": "ProviderOperationsMetadata_List", + "description": "Gets provider operations metadata for all resource providers.", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "default": "resourceTypes", + "description": "Specifies whether to expand the values." + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of the operations metadata.", + "schema": { + "$ref": "#/definitions/ProviderOperationsMetadataListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GetConfigurations": { + "$ref": "./examples/GetAllProviderOperations.json" + } + } + } + } + }, + "definitions": { + "ResourceType": { + "properties": { + "name": { + "type": "string", + "description": "The resource type name." + }, + "displayName": { + "type": "string", + "description": "The resource type display name." + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderOperation" + }, + "description": "The resource type operations." + } + }, + "description": "Resource Type" + }, + "ProviderOperation": { + "properties": { + "name": { + "type": "string", + "description": "The operation name." + }, + "displayName": { + "type": "string", + "description": "The operation display name." + }, + "description": { + "type": "string", + "description": "The operation description." + }, + "origin": { + "type": "string", + "description": "The operation origin." + }, + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "description": "The operation properties." + } + }, + "description": "Operation" + }, + "ProviderOperationsMetadata": { + "properties": { + "id": { + "type": "string", + "description": "The provider id." + }, + "name": { + "type": "string", + "description": "The provider name." + }, + "type": { + "type": "string", + "description": "The provider type." + }, + "displayName": { + "type": "string", + "description": "The provider display name." + }, + "resourceTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceType" + }, + "description": "The provider resource types" + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderOperation" + }, + "description": "The provider operations." + } + }, + "description": "Provider Operations metadata" + }, + "ProviderOperationsMetadataListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderOperationsMetadata" + }, + "description": "The list of providers." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "Provider operations metadata list" + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." + } + } +} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json similarity index 50% rename from specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json index ca45994ad60e..7a3c1a35944a 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json @@ -10,12 +10,10 @@ "https" ], "consumes": [ - "application/json", - "text/json" + "application/json" ], "produces": [ - "application/json", - "text/json" + "application/json" ], "security": [ { @@ -36,204 +34,6 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions": { - "get": { - "tags": [ - "Permissions" - ], - "operationId": "Permissions_ListForResourceGroup", - "description": "Gets all permissions the caller has for a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to get the permissions for. The name is case insensitive." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of permissions.", - "schema": { - "$ref": "#/definitions/PermissionGetResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetPermissions.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions": { - "get": { - "tags": [ - "Permissions" - ], - "operationId": "Permissions_ListForResource", - "description": "Gets all permissions the caller has for a resource.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group containing the resource. The name is case insensitive." - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type of the resource.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to get the permissions for." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of permissions.", - "schema": { - "$ref": "#/definitions/PermissionGetResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetResourcePermissions.json" - } - } - } - }, - "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": { - "get": { - "tags": [ - "ProviderOperationsMetadata" - ], - "operationId": "ProviderOperationsMetadata_Get", - "description": "Gets provider operations metadata for the specified resource provider.", - "parameters": [ - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "default": "resourceTypes", - "description": "Specifies whether to expand the values." - } - ], - "responses": { - "200": { - "description": "OK - Returns the operations metadata.", - "schema": { - "$ref": "#/definitions/ProviderOperationsMetadata" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetProviderOperationsRP.json" - } - } - } - }, - "/providers/Microsoft.Authorization/providerOperations": { - "get": { - "tags": [ - "ProviderOperationsMetadata" - ], - "operationId": "ProviderOperationsMetadata_List", - "description": "Gets provider operations metadata for all resource providers.", - "parameters": [ - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "default": "resourceTypes", - "description": "Specifies whether to expand the values." - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of the operations metadata.", - "schema": { - "$ref": "#/definitions/ProviderOperationsMetadataListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetAllProviderOperations.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments": { "get": { "tags": [ @@ -687,239 +487,6 @@ } } } - }, - "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}": { - "delete": { - "tags": [ - "RoleDefinitions" - ], - "operationId": "RoleDefinitions_Delete", - "description": "Deletes a role definition.", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The scope of the role definition.", - "x-ms-skip-url-encoding": true - }, - { - "name": "roleDefinitionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the role definition to delete." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the role definition.", - "schema": { - "$ref": "#/definitions/RoleDefinition" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/DeleteRoleDefinition.json" - } - } - }, - "get": { - "tags": [ - "RoleDefinitions" - ], - "operationId": "RoleDefinitions_Get", - "description": "Get role definition by name (GUID).", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The scope of the role definition.", - "x-ms-skip-url-encoding": true - }, - { - "name": "roleDefinitionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the role definition." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the role definition.", - "schema": { - "$ref": "#/definitions/RoleDefinition" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetRoleDefinitionByName.json" - } - } - }, - "put": { - "tags": [ - "RoleDefinitions" - ], - "operationId": "RoleDefinitions_CreateOrUpdate", - "description": "Creates or updates a role definition.", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The scope of the role definition.", - "x-ms-skip-url-encoding": true - }, - { - "name": "roleDefinitionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the role definition." - }, - { - "name": "roleDefinition", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RoleDefinition" - }, - "description": "The values for the role definition." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "OK - Returns information about the role definition.", - "schema": { - "$ref": "#/definitions/RoleDefinition" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/PutRoleDefinition.json" - } - } - } - }, - "/{scope}/providers/Microsoft.Authorization/roleDefinitions": { - "get": { - "tags": [ - "RoleDefinitions" - ], - "operationId": "RoleDefinitions_List", - "description": "Get all role definitions that are applicable at scope and above.", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The scope of the role definition.", - "x-ms-skip-url-encoding": true - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of role definitions.", - "schema": { - "$ref": "#/definitions/RoleDefinitionListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/RoleDefinitionFilter", - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetRoleDefinitionAtScope.json" - } - } - } - }, - "/providers/Microsoft.Authorization/elevateAccess": { - "post": { - "tags": [ - "ElevateAccess" - ], - "operationId": "ElevateAccess_Post", - "description": "Elevates access for a Global Administrator.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an HttpResponseMessage with HttpStatusCode 200." - } - } - } - } - }, - "x-ms-paths": { - "/{roleDefinitionId}?disambiguation_dummy": { - "get": { - "tags": [ - "RoleDefinitions" - ], - "operationId": "RoleDefinitions_GetById", - "description": "Gets a role definition by ID.", - "parameters": [ - { - "name": "roleDefinitionId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the role definition.", - "schema": { - "$ref": "#/definitions/RoleDefinition" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetRoleDefinitionById.json" - } - } - } } }, "definitions": { @@ -932,146 +499,6 @@ }, "description": "Role Assignments filter" }, - "RoleDefinitionFilter": { - "properties": { - "roleName": { - "type": "string", - "description": "Returns role definition with the specific name." - } - }, - "description": "Role Definitions filter" - }, - "Permission": { - "properties": { - "actions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Allowed actions." - }, - "notActions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Denied actions." - } - }, - "description": "Role definition permissions." - }, - "PermissionGetResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - }, - "description": "An array of permissions." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "Permissions information." - }, - "ProviderOperation": { - "properties": { - "name": { - "type": "string", - "description": "The operation name." - }, - "displayName": { - "type": "string", - "description": "The operation display name." - }, - "description": { - "type": "string", - "description": "The operation description." - }, - "origin": { - "type": "string", - "description": "The operation origin." - }, - "properties": { - "type": "object", - "description": "The operation properties." - } - }, - "description": "Operation" - }, - "ResourceType": { - "properties": { - "name": { - "type": "string", - "description": "The resource type name." - }, - "displayName": { - "type": "string", - "description": "The resource type display name." - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperation" - }, - "description": "The resource type operations." - } - }, - "description": "Resource Type" - }, - "ProviderOperationsMetadata": { - "properties": { - "id": { - "type": "string", - "description": "The provider id." - }, - "name": { - "type": "string", - "description": "The provider name." - }, - "type": { - "type": "string", - "description": "The provider type." - }, - "displayName": { - "type": "string", - "description": "The provider display name." - }, - "resourceTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceType" - }, - "description": "The provider resource types" - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperation" - }, - "description": "The provider operations." - } - }, - "description": "Provider Operations metadata" - }, - "ProviderOperationsMetadataListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperationsMetadata" - }, - "description": "The list of providers." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "Provider operations metadata list" - }, "RoleAssignmentPropertiesWithScope": { "properties": { "scope": { @@ -1157,77 +584,6 @@ "properties" ], "description": "Role assignment create parameters." - }, - "RoleDefinitionProperties": { - "properties": { - "roleName": { - "type": "string", - "description": "The role name." - }, - "description": { - "type": "string", - "description": "The role definition description." - }, - "type": { - "type": "string", - "description": "The role type." - }, - "permissions": { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - }, - "description": "Role definition permissions." - }, - "assignableScopes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Role definition assignable scopes." - } - }, - "description": "Role definition properties." - }, - "RoleDefinition": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The role definition ID." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "The role definition name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The role definition type." - }, - "properties": { - "$ref": "#/definitions/RoleDefinitionProperties", - "description": "Role definition properties." - } - }, - "description": "Role definition." - }, - "RoleDefinitionListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RoleDefinition" - }, - "description": "Role definition list." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "Role definition list operation result." } }, "parameters": { @@ -1246,4 +602,4 @@ "description": "The API version to use for this operation." } } -} +} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json similarity index 73% rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json index dad1d0c5175d..8638a84b6706 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json @@ -144,94 +144,6 @@ } } }, - "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": { - "get": { - "tags": [ - "ProviderOperationsMetadata" - ], - "operationId": "ProviderOperationsMetadata_Get", - "description": "Gets provider operations metadata for the specified resource provider.", - "parameters": [ - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "default": "resourceTypes", - "description": "Specifies whether to expand the values." - } - ], - "responses": { - "200": { - "description": "OK - Returns the operations metadata.", - "schema": { - "$ref": "#/definitions/ProviderOperationsMetadata" - } - } - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetProviderOperationsRP.json" - } - } - } - }, - "/providers/Microsoft.Authorization/providerOperations": { - "get": { - "tags": [ - "ProviderOperationsMetadata" - ], - "operationId": "ProviderOperationsMetadata_List", - "description": "Gets provider operations metadata for all resource providers.", - "parameters": [ - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "default": "resourceTypes", - "description": "Specifies whether to expand the values." - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of the operations metadata.", - "schema": { - "$ref": "#/definitions/ProviderOperationsMetadataListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "GetConfigurations": { - "$ref": "./examples/GetAllProviderOperations.json" - } - } - } - }, "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}": { "delete": { "tags": [ @@ -363,83 +275,83 @@ } } }, - "/{roleDefinitionId}": { + "/{scope}/providers/Microsoft.Authorization/roleDefinitions": { "get": { "tags": [ "RoleDefinitions" ], - "operationId": "RoleDefinitions_GetById", - "description": "Gets a role definition by ID.", + "operationId": "RoleDefinitions_List", + "description": "Get all role definitions that are applicable at scope and above.", "parameters": [ { - "name": "roleDefinitionId", + "name": "scope", "in": "path", "required": true, "type": "string", - "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.", + "description": "The scope of the role definition.", "x-ms-skip-url-encoding": true }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well." + }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - Returns information about the role definition.", + "description": "OK - Returns an array of role definitions.", "schema": { - "$ref": "#/definitions/RoleDefinition" + "$ref": "#/definitions/RoleDefinitionListResult" } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/RoleDefinitionFilter", "x-ms-examples": { "GetConfigurations": { - "$ref": "./examples/GetRoleDefinitionById.json" + "$ref": "./examples/GetRoleDefinitionAtScope.json" } } } }, - "/{scope}/providers/Microsoft.Authorization/roleDefinitions": { + "/{roleDefinitionId}": { "get": { "tags": [ "RoleDefinitions" ], - "operationId": "RoleDefinitions_List", - "description": "Get all role definitions that are applicable at scope and above.", + "operationId": "RoleDefinitions_GetById", + "description": "Gets a role definition by ID.", "parameters": [ { - "name": "scope", + "name": "roleDefinitionId", "in": "path", "required": true, "type": "string", - "description": "The scope of the role definition.", + "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.", "x-ms-skip-url-encoding": true }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well." - }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - Returns an array of role definitions.", + "description": "OK - Returns information about the role definition.", "schema": { - "$ref": "#/definitions/RoleDefinitionListResult" + "$ref": "#/definitions/RoleDefinition" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/RoleDefinitionFilter", "x-ms-examples": { "GetConfigurations": { - "$ref": "./examples/GetRoleDefinitionAtScope.json" + "$ref": "./examples/GetRoleDefinitionById.json" } } } @@ -455,138 +367,6 @@ }, "description": "Role Definitions filter" }, - "Permission": { - "properties": { - "actions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Allowed actions." - }, - "notActions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Denied actions." - } - }, - "description": "Role definition permissions." - }, - "PermissionGetResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - }, - "description": "An array of permissions." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "Permissions information." - }, - "ProviderOperation": { - "properties": { - "name": { - "type": "string", - "description": "The operation name." - }, - "displayName": { - "type": "string", - "description": "The operation display name." - }, - "description": { - "type": "string", - "description": "The operation description." - }, - "origin": { - "type": "string", - "description": "The operation origin." - }, - "properties": { - "type": "object", - "x-ms-client-flatten": true, - "description": "The operation properties." - } - }, - "description": "Operation" - }, - "ResourceType": { - "properties": { - "name": { - "type": "string", - "description": "The resource type name." - }, - "displayName": { - "type": "string", - "description": "The resource type display name." - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperation" - }, - "description": "The resource type operations." - } - }, - "description": "Resource Type" - }, - "ProviderOperationsMetadata": { - "properties": { - "id": { - "type": "string", - "description": "The provider id." - }, - "name": { - "type": "string", - "description": "The provider name." - }, - "type": { - "type": "string", - "description": "The provider type." - }, - "displayName": { - "type": "string", - "description": "The provider display name." - }, - "resourceTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceType" - }, - "description": "The provider resource types" - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperation" - }, - "description": "The provider operations." - } - }, - "description": "Provider Operations metadata" - }, - "ProviderOperationsMetadataListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderOperationsMetadata" - }, - "description": "The list of providers." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "Provider operations metadata list" - }, "RoleDefinitionProperties": { "properties": { "roleName": { @@ -659,6 +439,41 @@ } }, "description": "Role definition list operation result." + }, + "PermissionGetResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Permission" + }, + "description": "An array of permissions." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "Permissions information." + }, + "Permission": { + "properties": { + "actions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Allowed actions." + }, + "notActions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Denied actions." + } + }, + "description": "Role definition permissions." } }, "parameters": { @@ -677,4 +492,4 @@ "description": "The API version to use for this operation." } } -} +} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json similarity index 100% rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index dff04c86ccda..22fbd94c2bd8 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -11,7 +11,7 @@ Please also specify `--csharp-sdks-folder=`. -``` yaml $(tag) == 'package-2015-07' && $(go) +``` yaml $(tag) == 'package-2015-07-01' && $(go) output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2015-07-01/$(namespace) ``` diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 619c6cc0fa20..0273a3a234a4 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -39,25 +39,19 @@ directive: ``` -### Tag: package-2015-07 +### Tag: package-2015-07-01 -These settings apply only when `--tag=package-2015-07` is specified on the command line. +These settings apply only when `--tag=package-2015-07-01` is specified on the command line. -``` yaml $(tag) == 'package-2015-07' +``` yaml $(tag) == 'package-2015-07-01' input-file: -- Microsoft.Authorization/stable/2015-07-01/authorization.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json - Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json ``` -### Tag: package-2015-07-authorization-only - -These settings apply only when `--tag=package-2015-07-authorization-only` is specified on the command line. - -``` yaml $(tag) == 'package-2015-07-authorization-only' -input-file: -- Microsoft.Authorization/stable/2015-07-01/authorization.json -``` - ### Tag: package-2015-06-01-preview These settings apply only when `--tag=package-2015-06-01-preview` is specified on the command line. @@ -67,24 +61,13 @@ input-file: - Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json ``` -### Tag: package-2015-07-01-preview - -These settings apply only when `--tag=package-2015-07-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2015-07-01-preview' -input-file: -- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json -- Microsoft.Authorization/preview/2015-07-01/authorization.json -- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json -``` - ### Tag: package-2017-10-01-preview-only These settings apply only when `--tag=package-2017-10-01-preview-only` is specified on the command line. ``` yaml $(tag) == 'package-2017-10-01-preview-only' input-file: -- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json +- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json ``` ### Tag: package-2018-01-01-preview-only @@ -123,9 +106,10 @@ These settings apply only when `--tag=package-2017-10-01-preview` is specified o ``` yaml $(tag) == 'package-2017-10-01-preview' input-file: - Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json -- Microsoft.Authorization/preview/2015-07-01/authorization.json -- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json -- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json ``` ### Tag: package-2018-01-01-preview @@ -135,7 +119,7 @@ These settings apply only when `--tag=package-2018-01-01-preview` is specified o ``` yaml $(tag) == 'package-2018-01-01-preview' input-file: - Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json -- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleAssignmentsCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json @@ -148,7 +132,7 @@ These settings apply only when `--tag=package-2018-07-01-preview` is specified o ``` yaml $(tag) == 'package-2018-07-01-preview' input-file: - Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json -- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleAssignmentsCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json @@ -162,7 +146,7 @@ These settings apply only when `--tag=package-2018-09-01-preview` is specified o ``` yaml $(tag) == 'package-2018-09-01-preview' input-file: - Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json -- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json - Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleAssignmentsCalls.json - Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json @@ -182,7 +166,7 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-python after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization + - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization --default-api-version=2018-09-01-preview - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node @@ -214,7 +198,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization ``` yaml $(java) && $(multiapi) batch: - - tag: package-2015-07 + - tag: package-2015-07-01 - tag: package-2018-09-01-preview ``` @@ -231,12 +215,12 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-2015-07 and java +### Tag: package-2015-07-01 and java -These settings apply only when `--tag=package-2015-07 --java` is specified on he command line. +These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line. Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag) == 'package-2015-07' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.authorization.v2015_07_01 output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01 @@ -251,5 +235,8 @@ Creating this tag to pick proper resources from the hybrid profile. ``` yaml $(tag) == 'profile-hybrid-2019-03-01' input-file: -- Microsoft.Authorization/stable/2015-07-01/authorization.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json ``` diff --git a/specification/authorization/resource-manager/readme.python.md b/specification/authorization/resource-manager/readme.python.md index 3fdfabdc7960..70e14ea1a327 100644 --- a/specification/authorization/resource-manager/readme.python.md +++ b/specification/authorization/resource-manager/readme.python.md @@ -24,7 +24,7 @@ batch: - tag: package-2018-09-01-preview-only - tag: package-2018-07-01-preview-only - tag: package-2018-01-01-preview-only - - tag: package-2015-07-authorization-only + - tag: package-2015-07-01 - tag: package-2015-06-01-preview ``` @@ -58,11 +58,11 @@ python: output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_01_01_preview ``` -### Tag: package-2015-07-authorization-only and python +### Tag: package-2015-07-01 and python -These settings apply only when `--tag=package-2015-07-authorization-only --python` is specified on the command line. +These settings apply only when `--tag=package-2015-07-01 --python` is specified on the command line. -``` yaml $(tag) == 'package-2015-07-authorization-only' && $(python) +``` yaml $(tag) == 'package-2015-07-01' && $(python) python: namespace: azure.mgmt.authorization.v2015_07_01 output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_07_01 diff --git a/specification/authorization/resource-manager/readme.ruby.md b/specification/authorization/resource-manager/readme.ruby.md index 16581f69d962..f1c161b3d444 100644 --- a/specification/authorization/resource-manager/readme.ruby.md +++ b/specification/authorization/resource-manager/readme.ruby.md @@ -5,26 +5,25 @@ These settings apply only when `--ruby` is specified on the command line. ``` yaml package-name: azure_mgmt_authorization package-version: "0.17.0" -azure-arm: true +azure-arm: true ``` ### Ruby multi-api ``` yaml $(ruby) && $(multiapi) batch: - - tag: package-2015-07 + - tag: package-2015-07-01 - tag: package-2015-06-01-preview - - tag: package-2015-07-01-preview - tag: package-2017-10-01-preview-only - tag: package-2018-01-01-preview-only ``` -### Tag: package-2015-07 and ruby +### Tag: package-2015-07-01 and ruby -These settings apply only when `--tag=package-2015-07 --ruby` is specified on the command line. +These settings apply only when `--tag=package-2015-07-01 --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. -``` yaml $(tag) == 'package-2015-07' && $(ruby) +``` yaml $(tag) == 'package-2015-07-01' && $(ruby) namespace: "Azure::Authorization::Mgmt::V2015_07_01" output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib ``` @@ -39,16 +38,6 @@ namespace: "Azure::Authorization::Mgmt::V2015_06_01_preview" output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib ``` -### Tag: package-2015-07-01-preview and ruby - -These settings apply only when `--tag=package-2015-07-01-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2015-07-01-preview' && $(ruby) -namespace: "Azure::Authorization::Mgmt::V2015_07_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib -``` - ### Tag: package-2017-10-01-preview-only and ruby These settings apply only when `--tag=package-2017-10-01-preview-only --ruby` is specified on the command line. From 3fb56944f424963880d157ad1ec4cd4dd92d9449 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Tue, 25 Jun 2019 10:00:33 -0700 Subject: [PATCH 143/495] Forgot tiny clean-up (#6447) --- .../authorization-ClassicAdminCalls.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json index 97b6bd2c41a6..81315d28b12b 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json @@ -10,12 +10,10 @@ "https" ], "consumes": [ - "application/json", - "text/json" + "application/json" ], "produces": [ - "application/json", - "text/json" + "application/json" ], "security": [ { @@ -45,11 +43,7 @@ "description": "Gets service administrator, account administrator, and co-administrators for the subscription.", "parameters": [ { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation." + "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -134,6 +128,13 @@ "required": true, "type": "string", "description": "The ID of the target subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." } } } From 956e6097d5c389189cd1061e49ecf3262800d3d4 Mon Sep 17 00:00:00 2001 From: melmullen <50640763+melmullen@users.noreply.github.com> Date: Tue, 25 Jun 2019 10:19:48 -0700 Subject: [PATCH 144/495] Updated description for ExportDeliveryDestination (#6442) --- .../stable/2019-01-01/costmanagement.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json index b7dbe1c0dc05..254541ce9660 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json @@ -1224,7 +1224,7 @@ ] }, "ExportDeliveryDestination": { - "description": "The destination information for the delivery of the export.", + "description": "The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically. However, API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .", "properties": { "resourceId": { "description": "The resource id of the storage account where exports will be delivered.", From c4b606cff74c01a91f9c4b1d1e937cce223b98cd Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Tue, 25 Jun 2019 10:28:36 -0700 Subject: [PATCH 145/495] included package tag for java, added java readme (#6435) --- .../mysql/resource-manager/readme.java.md | 47 +++++++++++++++++++ .../mysql/resource-manager/readme.md | 32 +------------ 2 files changed, 48 insertions(+), 31 deletions(-) create mode 100644 specification/mysql/resource-manager/readme.java.md diff --git a/specification/mysql/resource-manager/readme.java.md b/specification/mysql/resource-manager/readme.java.md new file mode 100644 index 000000000000..d4a9a8036efe --- /dev/null +++ b/specification/mysql/resource-manager/readme.java.md @@ -0,0 +1,47 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.mysql +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-12-01-preview + - tag: package-2017-12-01 +``` + +### Tag: package-2017-12-01-preview and java + +These settings apply only when `--tag=package-2017-12-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.mysql.v2017_12_01_preview + output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.mysql.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index 8c9dcf968491..c80e920e00fb 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -127,34 +127,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.mysql -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-12-01 -``` - -### Tag: package-2017-12-01 and java - -These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.mysql.v2017_12_01 - output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) From 047450d3f4aedba9f588bf345d3f9b507acd9ffd Mon Sep 17 00:00:00 2001 From: gaoxiaoning Date: Wed, 26 Jun 2019 01:31:48 +0800 Subject: [PATCH 146/495] HDI add autoscale feature support (#6158) * change cluster json file to support the autoscale feature * add x-ms-examples for Autoscale * add x-ms-examples for Autoscale * fix valid error * fix valid error * Trigger notification --- .../preview/2015-03-01-preview/cluster.json | 92 +++++++++++++ ...teHDInsightClusterWithAutoscaleConfig.json | 123 ++++++++++++++++++ ...Clusters_UpdateGatewaySettings_Enable.json | 5 + .../stable/2018-06-01-preview/cluster.json | 92 +++++++++++++ ...teHDInsightClusterWithAutoscaleConfig.json | 123 ++++++++++++++++++ ...Clusters_UpdateGatewaySettings_Enable.json | 5 + 6 files changed, 440 insertions(+) create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index 263fc59b3384..ed54bb3b793d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -56,6 +56,9 @@ }, "Create Hadoop cluster with Azure Data Lake Storage Gen 2": { "$ref": "./examples/CreateLinuxHadoopAdlsGen2.json" + }, + "Create HDInsight cluster with Autoscale configuration": { + "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json" } }, "parameters": [ @@ -605,6 +608,90 @@ } } }, + "AutoscaleTimeAndCapacity": { + "properties": { + "time": { + "type": "string", + "description": "24-hour time in the form xx:xx" + }, + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The minimum instance count of the cluster" + }, + "maxInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The maximum instance count of the cluster" + } + }, + "description": "Time and capacity request parameters" + }, + "AutoscaleSchedule": { + "properties": { + "days": { + "type": "array", + "items": { + "type": "string", + "enum": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": false + } + }, + "description": "Days of the week for a schedule-based autoscale rule" + }, + "timeAndCapacity": { + "$ref": "#/definitions/AutoscaleTimeAndCapacity", + "description": "Time and capacity for a schedule-based autoscale rule" + } + }, + "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity" + }, + "AutoscaleCapacity": { + "properties": { + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The minimum instance count of the cluster" + }, + "maxInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The maximum instance count of the cluster" + } + }, + "description": "The load-based autoscale request parameters" + }, + "AutoscaleRecurrence": { + "properties": { + "timeZone": { + "type": "string", + "description": "The time zone for the autoscale schedule times" + }, + "schedule": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoscaleSchedule" + }, + "description": "Array of schedule-based autoscale rules" + } + }, + "description": "Schedule-based autoscale request parameters" + }, + "Autoscale": { + "properties": { + "capacity": { + "$ref": "#/definitions/AutoscaleCapacity", + "description": "Parameters for load-based autoscale" + }, + "recurrence": { + "$ref": "#/definitions/AutoscaleRecurrence", + "description": "Parameters for schedule-based autoscale" + } + }, + "description": "The autoscale request parameters" + }, "HardwareProfile": { "properties": { "vmSize": { @@ -710,6 +797,11 @@ "format": "int32", "description": "The instance count of the cluster." }, + "autoscale": { + "$ref": "#/definitions/Autoscale", + "x-ms-client-name": "autoscaleConfiguration", + "description": "The autoscale configurations." + }, "hardwareProfile": { "$ref": "#/definitions/HardwareProfile", "description": "The hardware profile." diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json new file mode 100644 index 000000000000..bd255b6f85cb --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "properties": { + "clusterVersion": "3.6", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "hadoop", + "componentVersion": { + "Hadoop": "2.7" + }, + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [ + { + "name": "mystorage.blob.core.windows.net", + "isDefault": true, + "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", + "key": "storagekey" + } + ] + }, + "computeProfile": { + "roles": [ + { + "autoscale": { + "capacity": null, + "recurrence": { + "timeZone": "China Standard Time", + "schedule": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 3, + "maxInstanceCount": 3 + } + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 6, + "maxInstanceCount": 6 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 2, + "maxInstanceCount": 2 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 4, + "maxInstanceCount": 4 + } + } + ] + } + }, + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + }, + "virtualNetworkProfile": null, + "scriptActions": [], + "dataDisksGroups": null + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index da62bfa19376..d29d32c8b776 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -15,6 +15,11 @@ "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } + }, + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json index fc18241a07fa..853c0ca854db 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json @@ -56,6 +56,9 @@ }, "Create Hadoop cluster with Azure Data Lake Storage Gen 2": { "$ref": "./examples/CreateLinuxHadoopAdlsGen2.json" + }, + "Create HDInsight cluster with Autoscale configuration": { + "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json" } }, "parameters": [ @@ -605,6 +608,90 @@ } } }, + "AutoscaleTimeAndCapacity": { + "properties": { + "time": { + "type": "string", + "description": "24-hour time in the form xx:xx" + }, + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The minimum instance count of the cluster" + }, + "maxInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The maximum instance count of the cluster" + } + }, + "description": "Time and capacity request parameters" + }, + "AutoscaleSchedule": { + "properties": { + "days": { + "type": "array", + "items": { + "type": "string", + "enum": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": false + } + }, + "description": "Days of the week for a schedule-based autoscale rule" + }, + "timeAndCapacity": { + "$ref": "#/definitions/AutoscaleTimeAndCapacity", + "description": "Time and capacity for a schedule-based autoscale rule" + } + }, + "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity" + }, + "AutoscaleCapacity": { + "properties": { + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The minimum instance count of the cluster" + }, + "maxInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The maximum instance count of the cluster" + } + }, + "description": "The load-based autoscale request parameters" + }, + "AutoscaleRecurrence": { + "properties": { + "timeZone": { + "type": "string", + "description": "The time zone for the autoscale schedule times" + }, + "schedule": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoscaleSchedule" + }, + "description": "Array of schedule-based autoscale rules" + } + }, + "description": "Schedule-based autoscale request parameters" + }, + "Autoscale": { + "properties": { + "capacity": { + "$ref": "#/definitions/AutoscaleCapacity", + "description": "Parameters for load-based autoscale" + }, + "recurrence": { + "$ref": "#/definitions/AutoscaleRecurrence", + "description": "Parameters for schedule-based autoscale" + } + }, + "description": "The autoscale request parameters" + }, "HardwareProfile": { "properties": { "vmSize": { @@ -710,6 +797,11 @@ "format": "int32", "description": "The instance count of the cluster." }, + "autoscale": { + "$ref": "#/definitions/Autoscale", + "x-ms-client-name": "autoscaleConfiguration", + "description": "The autoscale configurations." + }, "hardwareProfile": { "$ref": "#/definitions/HardwareProfile", "description": "The hardware profile." diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json new file mode 100644 index 000000000000..19a92e1154e3 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "parameters": { + "properties": { + "clusterVersion": "3.6", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "hadoop", + "componentVersion": { + "Hadoop": "2.7" + }, + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [ + { + "name": "mystorage.blob.core.windows.net", + "isDefault": true, + "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", + "key": "storagekey" + } + ] + }, + "computeProfile": { + "roles": [ + { + "autoscale": { + "capacity": null, + "recurrence": { + "timeZone": "China Standard Time", + "schedule": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 3, + "maxInstanceCount": 3 + } + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 6, + "maxInstanceCount": 6 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 2, + "maxInstanceCount": 2 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 4, + "maxInstanceCount": 4 + } + } + ] + } + }, + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + }, + "virtualNetworkProfile": null, + "scriptActions": [], + "dataDisksGroups": null + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index 306db252822e..23c05b00feca 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -15,6 +15,11 @@ "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } + }, + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } } } } From 0a666101aef61d1296d4f1315d523a82b2b8bac2 Mon Sep 17 00:00:00 2001 From: aspand <45955504+aspand@users.noreply.github.com> Date: Wed, 26 Jun 2019 00:07:43 +0530 Subject: [PATCH 147/495] Update ProximityPlacementGroupType description to scope out 'Ultra' from usage (#6404) * Merging https://github.com/Azure/azure-rest-api-specs-pr/pull/660 * Update the description to fix review comments * Added description to fix CI warning * Fix CI failure * Fix CI failure * Fixed examples * Modify Example to include 201 response code * Modified ProxmityPlacementGroupType description --- .../Microsoft.Compute/stable/2018-04-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-06-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-10-01/compute.json | 2 +- .../Microsoft.Compute/stable/2019-03-01/compute.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json index ec1852411a99..b0ad1015e966 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json @@ -4635,7 +4635,7 @@ "properties": { "proximityPlacementGroupType": { "type": "string", - "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use.", "enum": [ "Standard", "Ultra" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index ececa2dd3666..9d872a0199b0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -4766,7 +4766,7 @@ "properties": { "proximityPlacementGroupType": { "type": "string", - "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use.", "enum": [ "Standard", "Ultra" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index c86656e73fb7..82faabebd76c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -4766,7 +4766,7 @@ "properties": { "proximityPlacementGroupType": { "type": "string", - "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use.", "enum": [ "Standard", "Ultra" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index fab6b534f1e8..f3d83ab1d77d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -4849,7 +4849,7 @@ "properties": { "proximityPlacementGroupType": { "type": "string", - "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use.", "enum": [ "Standard", "Ultra" From b8c2291e5749246f08146a0f5183c3e2378eef35 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 25 Jun 2019 13:24:23 -0700 Subject: [PATCH 148/495] fix Go SDK codegen directory (#6450) --- specification/cdn/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/readme.go.md b/specification/cdn/resource-manager/readme.go.md index 1ab801621aad..2700f6d89157 100644 --- a/specification/cdn/resource-manager/readme.go.md +++ b/specification/cdn/resource-manager/readme.go.md @@ -28,7 +28,7 @@ These settings apply only when `--tag=package-2019-06 --go` is specified on the Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2019-06' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/preview/2019-06-15-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-06-15-preview/$(namespace) ``` ### Tag: package-2019-04 and go From 59971a41c18aa8d1e43d478ba4818eba717ef500 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 25 Jun 2019 13:31:28 -0700 Subject: [PATCH 149/495] fix item name for pageable collection (#6449) --- .../stable/2018-11-19/machineLearningServices.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json index 844d8039e251..684743fcb1ea 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json @@ -819,6 +819,7 @@ } }, "x-ms-pageable": { + "itemName": "nodes", "nextLinkName": "nextLink" }, "x-ms-examples": { From 5afe3f875b75a0e97520b97b3bebb405f0f7819a Mon Sep 17 00:00:00 2001 From: John Paul Kee Date: Tue, 25 Jun 2019 13:35:47 -0700 Subject: [PATCH 150/495] Add managed instances swagger to 2018-06-01-preview (#6441) * Add managed instances swagger to 2018-06-01-preview - update examples + readme.md * Update 2015-05-01 managedInstances.json * Remove maintenance window setting properties from managed instance swaggers --- .../2015-05-01-preview/managedInstances.json | 50 +- .../examples/ManagedInstanceCreateMax.json | 99 +++ .../examples/ManagedInstanceCreateMin.json | 86 +++ .../examples/ManagedInstanceDelete.json | 17 + .../examples/ManagedInstanceGet.json | 41 ++ .../examples/ManagedInstanceList.json | 64 ++ .../ManagedInstanceListByInstancePool.json | 2 +- .../ManagedInstanceListByResourceGroup.json | 65 ++ .../examples/ManagedInstanceUpdateMax.json | 62 ++ .../examples/ManagedInstanceUpdateMin.json | 47 ++ .../2018-06-01-preview/managedInstances.json | 640 ++++++++++++++++++ specification/sql/resource-manager/readme.md | 7 +- 12 files changed, 1128 insertions(+), 52 deletions(-) create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json rename specification/sql/resource-manager/Microsoft.Sql/preview/{2015-05-01-preview => 2018-06-01-preview}/examples/ManagedInstanceListByInstancePool.json (98%) create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByResourceGroup.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json index 111fb778f6a6..b50eb3ab1b62 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json @@ -130,7 +130,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 InvalidManagedServerDnsZonePartner - Invalid DNS zone partner resource id specified in properties.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 SubnetHasResourcesOfDifferentType - User tried to create MI in subnet that has resources of different type.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 InvalidManagedServerDnsZonePartner - Invalid DNS zone partner resource id specified in properties.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." }, "202": { "description": "Accepted" @@ -230,7 +230,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 SubnetHasResourcesOfDifferentType - User tried to create MI in subnet that has resources of different type.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." }, "202": { "description": "Accepted" @@ -247,52 +247,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances": { - "get": { - "tags": [ - "ManagedInstances" - ], - "description": "Gets a list of all managed instances in an instance pool.", - "operationId": "ManagedInstances_ListByInstancePool", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "instancePoolName", - "in": "path", - "description": "The instance pool name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of managed instances.", - "schema": { - "$ref": "#/definitions/ManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 InstancePoolNotFound - An instance pool cannot be found" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List managed instances by instance pool": { - "$ref": "./examples/ManagedInstanceListByInstancePool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances": { "get": { "tags": [ diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json new file mode 100644 index 000000000000..ebc90b3fe214 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json @@ -0,0 +1,99 @@ +{ + "parameters" : { + "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName" : "testrg", + "managedInstanceName" : "testinstance", + "api-version" : "2018-06-01-preview", + "parameters" : { + "tags" : { + "tagKey1" : "TagValue1" + }, + "location" : "Japan East", + "sku" : { + "name" : "GP_Gen5", + "tier" : "GeneralPurpose" + }, + "properties": { + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "dnsZonePartner": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "publicDataEndpointEnabled": false, + "proxyOverride": "Redirect", + "timezoneId": "UTC", + "instancePoolId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" + } + } + }, + "responses" : { + "200": { + "body": { + "sku": { + "name": "GP_Gen5", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen5" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Redirect", + "dnsZone": "1b4e2caff2530", + "timezoneId": "UTC", + "instancePoolId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" + }, + "location": "japaneast", + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + }, + "201" : { + "body": { + "sku": { + "name": "GP_Gen5", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen5" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Redirect", + "dnsZone": "1b4e2caff2530", + "timezoneId": "UTC", + "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" + }, + "location": "japaneast", + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + }, + "202" : {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json new file mode 100644 index 000000000000..fdad41d792e2 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2018-06-01-preview", + "parameters": { + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose" + }, + "properties": { + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded" + }, + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "1b4e2caff2530" + }, + "location": "japaneast", + "tags": { + + }, + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + }, + "201": { + "body": { + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Redirect", + "dnsZone": "1b4e2caff2530" + }, + "location": "japaneast", + "tags": { + + }, + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json new file mode 100644 index 000000000000..5c201e79220d --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json @@ -0,0 +1,17 @@ +{ + "parameters" : { + "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName" : "testrg", + "managedInstanceName" : "testinstance", + "api-version" : "2018-06-01-preview" + }, + "responses" : { + "200" : { + "body" : "" + }, + "202" : {}, + "204" : { + "body" : "" + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json new file mode 100644 index 000000000000..7f297064d6ec --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json @@ -0,0 +1,41 @@ +{ + "parameters" : { + "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName" : "testrg", + "managedInstanceName" : "testinstance", + "api-version" : "2018-06-01-preview" + }, + "responses" : { + "200" : { + "body": { + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "1b4e2caff2530", + "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/instancePool1" + }, + "location": "japaneast", + "tags": { + "key": "value" + }, + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json new file mode 100644 index 000000000000..529b6fdd1c81 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json @@ -0,0 +1,64 @@ +{ + "parameters" : { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "api-version" : "2018-06-01-preview" + }, + "responses" : { + "200" : { + "body" : { + "value": [ + { + "location": "japaneast", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance1", + "name": "testinstance1", + "type": "Microsoft.Sql/managedInstances", + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance1.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "1b4e2caff2530" + } + }, + { + "location": "japaneast", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance2", + "name": "testinstance2", + "type": "Microsoft.Sql/managedInstances", + "sku": { + "name": "BC_Gen5", + "tier": "BusinessCritical", + "capacity": 16, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance2.2c3d1bdae3412.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", + "state": "Ready", + "vCores": 16, + "storageSizeInGB": 1024, + "licenseType": "Full", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "2c3d1bdae3412" + } + } + ] + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByInstancePool.json similarity index 98% rename from specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json rename to specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByInstancePool.json index 6854701b04b7..313ef50fc116 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceListByInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByInstancePool.json @@ -3,7 +3,7 @@ "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", "resourceGroupName": "Test1", "instancePoolName": "pool1", - "api-version": "2015-05-01-preview" + "api-version": "2018-06-01-preview" }, "responses": { "200": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByResourceGroup.json new file mode 100644 index 000000000000..7ef8a934da16 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "Test1", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "japaneast", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance1", + "name": "testinstance1", + "type": "Microsoft.Sql/managedInstances", + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance1.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "1b4e2caff2530" + } + }, + { + "location": "japaneast", + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance2", + "name": "testinstance2", + "type": "Microsoft.Sql/managedInstances", + "sku": { + "name": "BC_Gen5", + "tier": "BusinessCritical", + "capacity": 16, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance2.2c3d1bdae3412.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", + "state": "Ready", + "vCores": 16, + "storageSizeInGB": 1024, + "licenseType": "Full", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "2c3d1bdae3412" + } + } + ] + } + } + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json new file mode 100644 index 000000000000..a9f060756e1c --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json @@ -0,0 +1,62 @@ +{ + "parameters" : { + "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName" : "testrg", + "managedInstanceName" : "testinstance", + "api-version" : "2018-06-01-preview", + "parameters" : { + "tags" : { + "tagKey1" : "TagValue1" + }, + "sku" : { + "name" : "GP_Gen4", + "tier" : "GeneralPurpose", + "capacity" : 8 + }, + "properties": { + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "proxyOverride": "Redirect", + "publicDataEndpointEnabled": false, + "licenseType": "BasePrice", + "vCores": 8, + "storageSizeInGB": 448, + "collation": "SQL_Latin1_General_CP1_CI_AS" + } + } + }, + "responses" : { + "200" : { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances", + "location": "japaneast", + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 448, + "licenseType": "BasePrice", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Redirect", + "dnsZone": "1b4e2caff2530", + "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/instancePool1" + } + } + }, + "202" : {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json new file mode 100644 index 000000000000..3e8be01f972a --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName" : "testrg", + "managedInstanceName" : "testinstance", + "api-version": "2018-06-01-preview", + "parameters": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8, + "family": "Gen4" + }, + "properties": { + "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", + "administratorLogin": "dummylogin", + "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "state": "Ready", + "vCores": 8, + "storageSizeInGB": 1024, + "licenseType": "LicenseIncluded", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "publicDataEndpointEnabled": false, + "proxyOverride": "Default", + "dnsZone": "1b4e2caff2530", + "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/instancePool1" + }, + "location": "japaneast", + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", + "name": "testinstance", + "type": "Microsoft.Sql/managedInstances" + } + }, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json new file mode 100644 index 000000000000..787250a313a2 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json @@ -0,0 +1,640 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-06-01-preview", + "title": "SqlManagementClient", + "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances": { + "get": { + "tags": [ + "ManagedInstances" + ], + "description": "Gets a list of all managed instances in an instance pool.", + "operationId": "ManagedInstances_ListByInstancePool", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "instancePoolName", + "in": "path", + "description": "The instance pool name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of managed instances.", + "schema": { + "$ref": "#/definitions/ManagedInstanceListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 404 InstancePoolNotFound - An instance pool cannot be found" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List managed instances by instance pool": { + "$ref": "./examples/ManagedInstanceListByInstancePool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances": { + "get": { + "tags": [ + "ManagedInstances" + ], + "description": "Gets a list of managed instances in a resource group.", + "operationId": "ManagedInstances_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of managed instances.", + "schema": { + "$ref": "#/definitions/ManagedInstanceListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List managed instances by resource group": { + "$ref": "./examples/ManagedInstanceListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}": { + "get": { + "tags": [ + "ManagedInstances" + ], + "description": "Gets a managed instance.", + "operationId": "ManagedInstances_Get", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ManagedInstanceNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the specified managed instance.", + "schema": { + "$ref": "#/definitions/ManagedInstance" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + } + }, + "x-ms-examples": { + "Get managed instance": { + "$ref": "./examples/ManagedInstanceGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedInstances" + ], + "description": "Creates or updates a managed instance.", + "operationId": "ManagedInstances_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ManagedInstanceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The requested managed instance resource state.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedInstance" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated the managed instance.", + "schema": { + "$ref": "#/definitions/ManagedInstance" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 SubnetHasResourcesOfDifferentType - User tried to create MI in subnet that has resources of different type.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 InvalidManagedServerDnsZonePartner - Invalid DNS zone partner resource id specified in properties.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + }, + "202": { + "description": "Accepted" + }, + "201": { + "description": "Successfully created the managed instance.", + "schema": { + "$ref": "#/definitions/ManagedInstance" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create managed instance with minimal properties": { + "$ref": "./examples/ManagedInstanceCreateMin.json" + }, + "Create managed instance with all properties": { + "$ref": "./examples/ManagedInstanceCreateMax.json" + } + } + }, + "delete": { + "tags": [ + "ManagedInstances" + ], + "description": "Deletes a managed instance.", + "operationId": "ManagedInstances_Delete", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ManagedInstanceNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the managed instance." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingManagedInstanceOperation - An operation is currently in progress for the managed instance.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "The specified managed instance does not exist." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete managed instance": { + "$ref": "./examples/ManagedInstanceDelete.json" + } + } + }, + "patch": { + "tags": [ + "ManagedInstances" + ], + "description": "Updates a managed instance.", + "operationId": "ManagedInstances_Update", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ManagedInstanceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The requested managed instance resource state.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedInstanceUpdate" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated the managed instance.", + "schema": { + "$ref": "#/definitions/ManagedInstance" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 HkCannotSwitchToInactive - The database cannot proceed with pricing-tier update as it has memory-optimized objects. Please drop such objects and try again.\n\n * 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - Invalid storage size: Storage size limit ({0} GB) is less that current storage used ({1} GB). Please specify higher storage size limit.\n\n * 400 InstanceTimezoneUpdateNotSupported - Instance timezone update not supported.\n\n * 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - Create Managed Instance with non-default timezone not supported.\n\n * 400 ManagedInstanceIpAddressRangeLimit - Cannot create a Managed Instance as there are not enough available ip addresses in the selected subnet\n\n * 400 VnetDelegationNotAllowed - User tried to inject Managed Server to subnet which is delegated.\n\n * 400 SubnetHasResourcesOfDifferentType - User tried to create MI in subnet that has resources of different type.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InstancePoolNotEnoughCapacity - An instance pool does not have enough vCore capacity\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ManagedInstanceSloUpdateFailed - SLO '{0}' operation cannot succeed as the memory usage of '{1}' exceeds the quota.\n\n * 400 ManagedInstanceLocalStorageUpdateSloDisabled - Update SLO for managed instances with local storage is not supported yet.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 GatewayInvalidEdition - '{0}' is not a valid database edition in this version of SQL Server.\n\n * 400 InvalidSubnetResourceId - The provided subnet resource ID for the managed instance create or update is invalid.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 VnetInWrongRegion - Virtual network is in wrong region.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 VnetAddressRangeError - Virtual network address range is invalid.\n\n * 400 VnetConfigIsNotAllowed - Virtual network configuration is not allowed.\n\n * 400 InvalidCollation - Invalid collation.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 ManagedInstanceClassicVnetNotSupported - Managed Instance cannot be joined to a classic virtual network.\n\n * 400 AlterDbDeactivatedNotSupported - Database Operation failed for Server '{0}', Database '{1}' due to unexpected delay. Please try again.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 VnetConfigHasNsg - User tried to inject Managed Server subnet with Network Security Groups.\n\n * 400 VnetConfigHasNoUdr - User tried to inject Managed Server subnet without default User Defined Route Table.\n\n * 400 VnetConfigHasInvalidUdr - User tried to inject Managed Server subnet with invalid User Defined Route Table.\n\n * 400 VnetConfigHasInvalidDns - User tried to inject Managed Server subnet with invalid custom DNS.\n\n * 400 VnetConfigHasServiceEndpoints - User tried to inject Managed Server subnet with service endpoints.\n\n * 400 VnetSubnetIsInUse - User tried to inject Managed Server subnet that is not empty.\n\n * 400 VnetSubnetIsLocked - User tried to inject Managed Server subnet that is in locked scope.\n\n * 400 VnetSubnetIsGateway - User tried to inject Managed Server subnet that is Gateway subnet.\n\n * 400 VnetSubnetIsUnknown - User tried to inject Managed Server subnet that does not exist.\n\n * 400 VnetSubnetConflictWithIntendedPolicy - User tried to inject Managed Server subnet that has a conflict with IntendedPolicy.\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ManagedInstanceInvalidEditionForSku - The specified edition {0} is not consistent with the specified SKU {1}.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ManagedInstanceInvalidLicenseType - The specified license type {0} is not valid.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 VnetResourceNotFound - Resource not found: '{0}'.\n\n * 400 InvalidTimezone - Invalid timezone.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 InstanceCollationUpdateNotSupported - User cannot change instance collation on Managed Instance.\n\n * 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - User can create a Managed Instance only with collation 'SQL_Latin1_General_CP1_CI_AS'.\n\n * 400 ManagedInstanceOperationInProgress - The operation could not be completed because {0} operation is in progress. Please wait for the operation in progress to complete and try again.\n\n * 400 ManagedInstanceExceedMaxAzureStorage - The operation could not be completed because total allocated storage size for General Purpose instance would exceed {0}. Please reduce the number of database files and retry operation.\n\n * 400 ManagedInstanceHasGeoReplica - The operation could not be completed because instance has configured geo replicated secondary instance.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 405 InvalidVcoreValue - vCore value {0} is not valid. Please specify a valid vCore value.\n\n * 405 InvalidHardwareGenerationValue - HardwareGeneration {0} is not valid. Please specify a valid HardwareGeneration value.\n\n * 405 InvalidStorageSizeValue - \"Invalid storage size: {0} GB. Storage size must be specified between {1} and {2} gigabytes, in increments of {3} GB.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerOverridePreconditionFailed - Failed to apply server override on category '{0}', because physical db or instance '{1}' in server '{2}' is currently not in 'Ready' or 'Deactivated' state.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ManagedInstanceIsBusy - The server '{0}' is currently busy. Please wait a few minutes before trying again.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 GatewayInternalServerError - The server encountered an unexpected exception.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update managed instance with minimal properties": { + "$ref": "./examples/ManagedInstanceUpdateMin.json" + }, + "Update managed instance with all properties": { + "$ref": "./examples/ManagedInstanceUpdateMax.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances": { + "get": { + "tags": [ + "ManagedInstances" + ], + "description": "Gets a list of all managed instances in the subscription.", + "operationId": "ManagedInstances_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of managed instances.", + "schema": { + "$ref": "#/definitions/ManagedInstanceListResult" + } + }, + "default": { + "description": "*** Error Responses: ***" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List managed instances": { + "$ref": "./examples/ManagedInstanceList.json" + } + } + } + } + }, + "definitions": { + "ManagedInstanceListResult": { + "description": "A list of managed instances.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedInstance" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ManagedInstanceProperties": { + "description": "The properties of a managed instance.", + "type": "object", + "properties": { + "managedInstanceCreateMode": { + "description": "Specifies the mode of database creation.\r\n\r\nDefault: Regular instance creation.\r\n\r\nRestore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and SourceManagedInstanceId must be specified.", + "enum": [ + "Default", + "PointInTimeRestore" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedServerCreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create" + ] + }, + "fullyQualifiedDomainName": { + "description": "The fully qualified domain name of the managed instance.", + "type": "string", + "readOnly": true + }, + "administratorLogin": { + "description": "Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation).", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "administratorLoginPassword": { + "description": "The administrator login password (required for managed instance creation).", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "subnetId": { + "description": "Subnet resource ID for the managed instance.", + "type": "string" + }, + "state": { + "description": "The state of the managed instance.", + "type": "string", + "readOnly": true + }, + "licenseType": { + "description": "The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses).", + "enum": [ + "LicenseIncluded", + "BasePrice" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedInstanceLicenseType", + "modelAsString": true + } + }, + "vCores": { + "format": "int32", + "description": "The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.", + "type": "integer" + }, + "storageSizeInGB": { + "format": "int32", + "description": "Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only.", + "type": "integer" + }, + "collation": { + "description": "Collation of the managed instance.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dnsZone": { + "description": "The Dns Zone that the managed instance is in.", + "type": "string", + "readOnly": true + }, + "dnsZonePartner": { + "description": "The resource id of another managed instance whose DNS zone this managed instance will share after creation.", + "type": "string", + "x-ms-mutability": [ + "create" + ] + }, + "publicDataEndpointEnabled": { + "description": "Whether or not the public data endpoint is enabled.", + "type": "boolean" + }, + "sourceManagedInstanceId": { + "description": "The resource identifier of the source managed instance associated with create operation of this instance.", + "type": "string", + "x-ms-mutability": [ + "create" + ] + }, + "restorePointInTime": { + "format": "date-time", + "description": "Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.", + "type": "string", + "x-ms-mutability": [ + "create" + ] + }, + "proxyOverride": { + "description": "Connection type used for connecting to the instance.", + "enum": [ + "Proxy", + "Redirect", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedInstanceProxyOverride", + "modelAsString": true + } + }, + "timezoneId": { + "description": "Id of the timezone. Allowed values are timezones supported by Windows.\r\nWindows keeps details on supported timezones, including the id, in registry under\r\nKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones.\r\nYou can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info.\r\nList of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.\r\nAn example of valid timezone id is \"Pacific Standard Time\" or \"W. Europe Standard Time\".", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "instancePoolId": { + "description": "The Id of the instance pool this managed server belongs to.", + "type": "string" + } + } + }, + "ManagedInstance": { + "description": "An Azure SQL managed instance.", + "required": [ + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "$ref": "../../../common/v1/types.json#/definitions/ResourceIdentity", + "description": "The Azure Active Directory identity of the managed instance.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sku": { + "$ref": "../../../common/v1/types.json#/definitions/Sku", + "description": "Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5" + }, + "properties": { + "$ref": "#/definitions/ManagedInstanceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + } + }, + "ManagedInstanceUpdate": { + "description": "An update request for an Azure SQL Database managed instance.", + "type": "object", + "properties": { + "sku": { + "$ref": "../../../common/v1/types.json#/definitions/Sku", + "description": "Managed instance sku" + }, + "properties": { + "$ref": "#/definitions/ManagedInstanceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedInstanceNameParameter": { + "name": "managedInstanceName", + "in": "path", + "description": "The name of the managed instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "description": "The name of the database.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "BlobAuditingPolicyNameParameter": { + "name": "blobAuditingPolicyName", + "in": "path", + "description": "The name of the blob auditing policy.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineInstanceNameParameter": { + "name": "sqlVirtualMachineInstanceName", + "in": "path", + "description": "The name of the SqlVirtualMachineInstance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineContainerNameParameter": { + "name": "sqlVirtualMachineContainerName", + "in": "path", + "description": "The name of the SqlVirtualMachineContainer.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VirtualClusterNameParameter": { + "name": "virtualClusterName", + "in": "path", + "description": "The name of the virtual cluster.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 2392da3460ac..0988ac15e0cd 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -73,7 +73,6 @@ input-file: - Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json - Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json - Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json -- Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json - Microsoft.Sql/preview/2015-05-01-preview/operations.json - Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json - Microsoft.Sql/preview/2015-05-01-preview/servers.json @@ -120,6 +119,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json +- Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json # Needed when there is more than one input file @@ -166,7 +166,6 @@ input-file: - Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json - Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json - Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json -- Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json - Microsoft.Sql/preview/2015-05-01-preview/operations.json - Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json - Microsoft.Sql/preview/2015-05-01-preview/servers.json @@ -211,6 +210,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json +- Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json # Needed when there is more than one input file override-info: @@ -251,7 +251,6 @@ input-file: - Microsoft.Sql/preview/2015-05-01-preview/databaseAutomaticTuning.json - Microsoft.Sql/preview/2015-05-01-preview/encryptionProtectors.json - Microsoft.Sql/preview/2015-05-01-preview/failoverGroups.json -- Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json - Microsoft.Sql/preview/2015-05-01-preview/operations.json - Microsoft.Sql/preview/2015-05-01-preview/serverKeys.json - Microsoft.Sql/preview/2015-05-01-preview/servers.json @@ -295,6 +294,7 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json +- Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json # Needed when there is more than one input file override-info: @@ -460,6 +460,7 @@ input-file: - ./Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json - ./Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - ./Microsoft.Sql/preview/2018-06-01-preview/usages.json + - ./Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json # Needed when there is more than one input file override-info: From 1f2d3f510f2e9dcf81ad87df29826c18f5214308 Mon Sep 17 00:00:00 2001 From: Yunge Zhu <37337818+yungezz@users.noreply.github.com> Date: Wed, 26 Jun 2019 15:10:36 +0800 Subject: [PATCH 151/495] update CODEROWNERS (#6443) --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 33a119211adb..8501ac8419c4 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -69,7 +69,7 @@ /specification/storagesync/ @ankushbindlish2 /specification/storsimple8000series/ @manaas-microsoft /specification/streamanalytics/ @atpham256 -/specification/subscriptions/ @stankovski +/specification/subscriptions/ @navysingla /specification/timeseriesinsights/ @sandshadow /specification/trafficmanager/ @allencal @hrkulkarmsft /specification/web/ @lukaszstem @naveedaz @nking92 From 0bc701c49de8ea0f3387c92b2e27a91719aa8826 Mon Sep 17 00:00:00 2001 From: Vipul Hattiwale <49791946+vipulha@users.noreply.github.com> Date: Wed, 26 Jun 2019 17:15:48 +0530 Subject: [PATCH 152/495] Add start & shutdown Hana APIs to swagger spec. (#6428) * Add Start & Shutdown APIs to HanaOnAzure Swagger spec. * Add Start & Shutdown APIs to HanaOnAzure Swagger spec. * Update the example description * Add default response. --- .../examples/HanaInstances_Shutdown.json | 12 ++ .../examples/HanaInstances_Start.json | 12 ++ .../2017-11-03-preview/hanaonazure.json | 104 ++++++++++++++++++ 3 files changed, 128 insertions(+) create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json new file mode 100644 index 000000000000..ecfa2c7e10c3 --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "hanaInstanceName": "myHanaInstance" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json new file mode 100644 index 000000000000..ecfa2c7e10c3 --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "hanaInstanceName": "myHanaInstance" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index 4937fc445a20..4c30a097377c 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -377,6 +377,110 @@ }, "202": { "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/start": { + "post": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "HanaInstances_Start", + "x-ms-long-running-operation": true, + "description": "The operation to start a SAP HANA instance.", + "x-ms-examples": { + "Start a HANA instance": { + "$ref": "./examples/HanaInstances_Start.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HanaInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/shutdown": { + "post": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "HanaInstances_Shutdown", + "x-ms-long-running-operation": true, + "description": "The operation to shutdown a SAP HANA instance.", + "x-ms-examples": { + "Shutdown a HANA instance": { + "$ref": "./examples/HanaInstances_Shutdown.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/HanaInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } From d8c749dac9e18521831a778dd524b0d9b96093f0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 26 Jun 2019 12:19:03 -0400 Subject: [PATCH 153/495] typo: vmwarecloudsimple (#6415) - Double word "within" --- .../stable/2019-04-01/vmwarecloudsimple.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json index 28b13c457e1d..55a04b7faf2c 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json @@ -147,7 +147,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices": { "get": { - "description": "Returns list of dedicated cloud service within within subscription", + "description": "Returns list of dedicated cloud services within a subscription", "consumes": [ "application/json" ], From 445b40363e54187778a7ffa1417844d308377106 Mon Sep 17 00:00:00 2001 From: BrianBlum Date: Wed, 26 Jun 2019 09:21:03 -0700 Subject: [PATCH 154/495] Update examples to reflect subnetPrefix values (#6433) --- .../stable/2018-07-01/examples/liveevent-create.json | 11 ++++++----- .../2018-07-01/examples/liveevent-list-all.json | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json index c820ed037742..165782848f48 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json @@ -18,7 +18,7 @@ "description": "test event 1", "input": { "streamingProtocol": "RTMP", - "keyFrameIntervalDuration": "PT2S" + "keyFrameIntervalDuration": "PT6S" }, "preview": { "accessControl": { @@ -26,7 +26,8 @@ "allow": [ { "name": "AllowAll", - "address": "0.0.0.0" + "address": "0.0.0.0", + "subnetPrefixLength": 0 } ] } @@ -69,7 +70,7 @@ { "name": "AllowAll", "address": "0.0.0.0", - "subnetPrefixLength": null + "subnetPrefixLength": 0 } ] } @@ -120,7 +121,7 @@ { "name": "AllowAll", "address": "0.0.0.0", - "subnetPrefixLength": null + "subnetPrefixLength": 0 } ] } @@ -139,4 +140,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json index 3b3e8efed9de..d37e2b9ecef1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json @@ -46,7 +46,7 @@ { "name": "AllowAll", "address": "0.0.0.0", - "subnetPrefixLength": null + "subnetPrefixLength": 0 } ] } @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} From 45bede9a2b15303bc3899a92c151b43821083a77 Mon Sep 17 00:00:00 2001 From: gucalder Date: Wed, 26 Jun 2019 09:32:45 -0700 Subject: [PATCH 155/495] Adding flag to support non-dynamic destination types while exporting to LogAnalytics. Adding new metric units. Fixing some documentation issues. (#6454) * [Monitor] Make all attributes of EventData class readonly (#2254) * [Monitor] Fixing issue with metricnamespace specification as client level argument #2565 * [Monitor] Fixing incorrect specification of top parameter for Metrics API (#2655) * Add two missing "by subscription" operations. * Remove "examples" nodes as requested since they are not used anymore. Adding documentation to reduce number of warnings in validation. * Add the serviceBusRuleId back into the DiagnosticSetting resource spec. * Fix some issues with the examples * [Monitor] Fix issue #3585: revert previous commit since it is a breaking change * Add unit "BitsPerSecond" to the metrics specs. * Fixing workspace Id documentation * Add the Log Analytics destination type flag to the Diagnostic Settings objects * Fix a typo in a description --- .../2017-05-01-preview/diagnosticsSettings_API.json | 10 +++++++--- .../examples/createOrUpdateDiagnosticSetting.json | 6 ++++-- .../stable/2018-01-01/metricDefinitions_API.json | 6 +++++- .../stable/2018-01-01/metrics_API.json | 6 +++++- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json index 2febaa3b9017..0609ed0a6cce 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json @@ -297,18 +297,22 @@ "items": { "$ref": "#/definitions/MetricSettings" }, - "description": "the list of metric settings." + "description": "The list of metric settings." }, "logs": { "type": "array", "items": { "$ref": "#/definitions/LogSettings" }, - "description": "the list of logs settings." + "description": "The list of logs settings." }, "workspaceId": { "type": "string", - "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2" + "description": "The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2" + }, + "logAnalyticsDestinationType": { + "type": "string", + "description": "A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)" } }, "description": "The diagnostic settings." diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json index 8335a4ec33e1..34289d3df8bd 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -28,7 +28,8 @@ "days":0 } } - ] + ], + "logAnalyticsDestinationType":"Dedicated" } } }, @@ -63,7 +64,8 @@ "days":0 } } - ] + ], + "logAnalyticsDestinationType":"Dedicated" } } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json index 8a13c0cb6a7f..009bfd6fcd11 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json @@ -119,7 +119,11 @@ "Percent", "MilliSeconds", "ByteSeconds", - "Unspecified" + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json index 2aba4142c955..c448a353472b 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json @@ -131,7 +131,11 @@ "Percent", "MilliSeconds", "ByteSeconds", - "Unspecified" + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", From 26df0a691d94445b2c96d348f5ecc31f6f9a2099 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 26 Jun 2019 12:38:19 -0400 Subject: [PATCH 156/495] chore: jsonfmt storage (#6261) * chore: jsonfmt storage Ran `jsonfmt -w "specification/storage/**/*.json"` * fix: Remove "description" for older API examples It is in the spec after the 2017 version * fix: camelCase example result properties --- .../stable/2018-11-09/DataLakeStorage.json | 2 +- .../preview/2015-05-01-preview/storage.json | 2 +- .../preview/2018-03-01-preview/blob.json | 1902 +++++++-------- .../BlobContainersClearLegalHold.json | 2 +- .../examples/BlobContainersDelete.json | 2 +- ...lobContainersExtendImmutabilityPolicy.json | 4 +- .../examples/BlobContainersGet.json | 2 +- .../BlobContainersGetImmutabilityPolicy.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 2 +- .../examples/BlobContainersLease_Break.json | 2 +- .../examples/BlobContainersList.json | 2 +- .../BlobContainersLockImmutabilityPolicy.json | 4 +- .../examples/BlobContainersPatch.json | 2 +- .../examples/BlobContainersPut.json | 2 +- .../BlobContainersPutImmutabilityPolicy.json | 2 +- .../examples/BlobContainersSetLegalHold.json | 2 +- .../examples/OperationsList.json | 2 +- .../2018-03-01-preview/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../StorageAccountDeleteManagementPolicy.json | 2 +- .../StorageAccountGetManagementPolicy.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 4 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListLocationUsage.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- .../StorageAccountSetManagementPolicy.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../examples/UsageList.json | 2 +- .../2018-03-01-preview/managementpolicy.json | 42 +- .../preview/2018-03-01-preview/storage.json | 56 +- .../stable/2015-06-15/storage.json | 4 +- .../stable/2016-01-01/storage.json | 14 +- .../stable/2016-05-01/storage.json | 16 +- .../stable/2016-12-01/storage.json | 16 +- .../2017-06-01/examples/OperationsList.json | 89 +- .../stable/2017-06-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2017-06-01/examples/UsageList.json | 2 +- .../stable/2017-06-01/storage.json | 167 +- .../2017-10-01/examples/OperationsList.json | 89 +- .../stable/2017-10-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2017-10-01/examples/UsageList.json | 2 +- .../stable/2017-10-01/storage.json | 167 +- .../stable/2018-02-01/blob.json | 1920 +++++++-------- .../BlobContainersClearLegalHold.json | 2 +- .../examples/BlobContainersDelete.json | 2 +- ...lobContainersExtendImmutabilityPolicy.json | 4 +- .../examples/BlobContainersGet.json | 2 +- .../BlobContainersGetImmutabilityPolicy.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 14 +- .../examples/BlobContainersLease_Break.json | 14 +- .../examples/BlobContainersList.json | 2 +- .../BlobContainersLockImmutabilityPolicy.json | 4 +- .../examples/BlobContainersPatch.json | 2 +- .../examples/BlobContainersPut.json | 2 +- .../BlobContainersPutImmutabilityPolicy.json | 2 +- .../examples/BlobContainersSetLegalHold.json | 2 +- .../2018-02-01/examples/OperationsList.json | 2 +- .../stable/2018-02-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListLocationUsage.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2018-02-01/examples/UsageList.json | 2 +- .../stable/2018-02-01/storage.json | 16 +- .../stable/2018-07-01/blob.json | 2076 ++++++++-------- .../BlobContainersClearLegalHold.json | 2 +- .../examples/BlobContainersDelete.json | 2 +- ...lobContainersExtendImmutabilityPolicy.json | 4 +- .../examples/BlobContainersGet.json | 2 +- .../BlobContainersGetImmutabilityPolicy.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 2 +- .../examples/BlobContainersLease_Break.json | 2 +- .../examples/BlobContainersList.json | 2 +- .../BlobContainersLockImmutabilityPolicy.json | 4 +- .../examples/BlobContainersPatch.json | 2 +- .../examples/BlobContainersPut.json | 2 +- .../BlobContainersPutImmutabilityPolicy.json | 2 +- .../examples/BlobContainersSetLegalHold.json | 2 +- .../2018-07-01/examples/BlobServicesGet.json | 3 +- .../2018-07-01/examples/BlobServicesPut.json | 8 +- .../2018-07-01/examples/OperationsList.json | 2 +- .../stable/2018-07-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../StorageAccountDeleteManagementPolicy.json | 2 +- .../examples/StorageAccountFailover.json | 2 +- .../StorageAccountGetManagementPolicy.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListLocationUsage.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- .../StorageAccountSetManagementPolicy.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2018-07-01/storage.json | 16 +- .../stable/2018-11-01/blob.json | 2070 ++++++++-------- .../BlobContainersClearLegalHold.json | 2 +- .../examples/BlobContainersDelete.json | 2 +- ...lobContainersExtendImmutabilityPolicy.json | 4 +- .../examples/BlobContainersGet.json | 2 +- .../BlobContainersGetImmutabilityPolicy.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 2 +- .../examples/BlobContainersLease_Break.json | 2 +- .../examples/BlobContainersList.json | 2 +- .../BlobContainersLockImmutabilityPolicy.json | 4 +- .../examples/BlobContainersPatch.json | 2 +- .../examples/BlobContainersPut.json | 2 +- .../BlobContainersPutImmutabilityPolicy.json | 2 +- .../examples/BlobContainersSetLegalHold.json | 2 +- .../2018-11-01/examples/BlobServicesGet.json | 3 +- .../2018-11-01/examples/BlobServicesPut.json | 8 +- .../2018-11-01/examples/OperationsList.json | 2 +- .../stable/2018-11-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../StorageAccountDeleteManagementPolicy.json | 2 +- .../examples/StorageAccountFailover.json | 2 +- .../StorageAccountGetManagementPolicy.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListLocationUsage.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- ...torageAccountRevokeUserDelegationKeys.json | 21 +- .../StorageAccountSetManagementPolicy.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2018-11-01/storage.json | 64 +- .../stable/2019-04-01/blob.json | 2122 +++++++++-------- .../BlobContainersClearLegalHold.json | 2 +- .../examples/BlobContainersDelete.json | 2 +- ...lobContainersExtendImmutabilityPolicy.json | 4 +- .../examples/BlobContainersGet.json | 2 +- .../BlobContainersGetImmutabilityPolicy.json | 2 +- .../examples/BlobContainersLease_Acquire.json | 2 +- .../examples/BlobContainersLease_Break.json | 2 +- .../examples/BlobContainersList.json | 2 +- .../BlobContainersLockImmutabilityPolicy.json | 4 +- .../examples/BlobContainersPatch.json | 2 +- .../examples/BlobContainersPut.json | 2 +- .../BlobContainersPutImmutabilityPolicy.json | 2 +- .../examples/BlobContainersSetLegalHold.json | 2 +- .../2019-04-01/examples/BlobServicesGet.json | 3 +- .../2019-04-01/examples/BlobServicesPut.json | 8 +- .../2019-04-01/examples/OperationsList.json | 2 +- .../stable/2019-04-01/examples/SKUList.json | 2 +- .../StorageAccountCheckNameAvailability.json | 2 +- .../examples/StorageAccountCreate.json | 2 +- .../examples/StorageAccountDelete.json | 2 +- .../StorageAccountDeleteManagementPolicy.json | 2 +- .../examples/StorageAccountFailover.json | 2 +- .../StorageAccountGetManagementPolicy.json | 2 +- .../examples/StorageAccountGetProperties.json | 2 +- .../examples/StorageAccountList.json | 2 +- .../StorageAccountListAccountSAS.json | 2 +- .../StorageAccountListByResourceGroup.json | 2 +- .../examples/StorageAccountListKeys.json | 2 +- .../StorageAccountListLocationUsage.json | 2 +- .../StorageAccountListServiceSAS.json | 2 +- .../examples/StorageAccountRegenerateKey.json | 2 +- ...torageAccountRevokeUserDelegationKeys.json | 21 +- .../StorageAccountSetManagementPolicy.json | 2 +- .../examples/StorageAccountUpdate.json | 2 +- .../stable/2019-04-01/storage.json | 68 +- 207 files changed, 5756 insertions(+), 5639 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json b/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json index 6a1a18e2a72c..62bed5b267ac 100644 --- a/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json +++ b/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json @@ -1911,4 +1911,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2015-05-01-preview/storage.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2015-05-01-preview/storage.json index aa2d63dbe442..51ec44d003f2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2015-05-01-preview/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2015-05-01-preview/storage.json @@ -818,4 +818,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/blob.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/blob.json index ad0759f162b9..42cf68510728 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/blob.json @@ -1,1061 +1,1061 @@ - { - "swagger": "2.0", - "info": { - "version": "2018-03-01-preview", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - } +{ + "swagger": "2.0", + "info": { + "version": "2018-03-01-preview", + "title": "StorageManagementClient", + "description": "The Azure Storage Management API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_List", + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + } + }, + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - } - }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Create", + "x-ms-examples": { + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" } }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } - } - } - }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } + "description": "Properties of the blob container to create." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created -- Create Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } + } + }, + "patch": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Update", + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" - } + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - "204": { - "description": "No Content -- The Container not exist." + "description": "Properties to update for the blob container." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Update Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer", + "description": "Properties of the updated blob container." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Get", + "x-ms-examples": { + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + }, + "description": "Gets properties of a specified container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Delete", + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + }, + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete Container operation completed successfully." + }, + "204": { + "description": "No Content -- The Container not exist." } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_SetLegalHold", + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + } + }, + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be set to a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Set legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ClearLegalHold", + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be clear from a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Clear legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_GetImmutabilityPolicy", + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + }, + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + }, + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" - }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_LockImmutabilityPolicy", + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + }, + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } } }, - "definitions": { - "ContainerProperties": { - "properties": { - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + }, + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." + { + "$ref": "#/parameters/ContainerName" }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ + "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." } ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." - }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + "responses": { + "200": { + "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" + } + } } - }, - "required": [ - "immutabilityPeriodSinceCreationInDays" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "tags": [ + "BlobContainers" ], - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." + "operationId": "BlobContainers_Lease", + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" } }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } - }, - "allOf": [ + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." + { + "$ref": "#/parameters/ContainerName" }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - } - }, - "description": "An update history of the ImmutabilityPolicy of a blob container." - }, - "LegalHoldProperties": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" }, - "description": "The list of LegalHold tags of a blob container." + "description": "Lease Container request body." + } + ], + "responses": { + "200": { + "description": "OK -- Lease Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } } + } + } + } + }, + "definitions": { + "ContainerProperties": { + "properties": { + "publicAccess": { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + }, + "description": "Specifies whether data in the container may be accessed publicly and the level of access." }, - "description": "The LegalHold property of a blob container." - }, - "TagProperty": { - "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the container was last modified." + }, + "leaseStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." + "description": "The lease status of the container." + }, + "leaseState": { + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." + "description": "Lease state of the container." + }, + "leaseDuration": { + "type": "string", + "readOnly": true, + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } + "description": "A name-value pair to associate with the container as metadata." }, - "description": "A tag of the LegalHold of a blob container." - }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - } + "immutabilityPolicy": { + "readOnly": true, + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "x-ms-client-name": "ImmutabilityPolicy", + "description": "The ImmutabilityPolicy property of the container." }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." + "legalHold": { + "readOnly": true, + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container." + }, + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "readOnly": true, + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." + } }, - "ListContainerItem": { + "description": "The properties of a container." + }, + "BlobContainer": { + "properties": { "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties", + "description": "Properties of the blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "Properties of the blob container, including Id, resource name, resource type, Etag." + }, + "ImmutabilityPolicyProperty": { + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true + }, + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + } }, - "ListContainerItems": { + "required": [ + "immutabilityPeriodSinceCreationInDays" + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicyProperties": { + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "The list of blob containers." - } + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." }, - "description": "The list of blob containers." + "etag": { + "type": "string", + "readOnly": true, + "description": "ImmutabilityPolicy Etag." + }, + "updateHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" + }, + "description": "The ImmutabilityPolicy update history of the blob container." + } }, - "LeaseContainerRequest": { + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicy": { + "properties": { "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "required": [ + "properties" + ], + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." + }, + "UpdateHistoryProperty": { + "properties": { + "update": { + "type": "string", + "readOnly": true, + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "readOnly": true, + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the ImmutabilityPolicy was updated." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." + } + }, + "description": "An update history of the ImmutabilityPolicy of a blob container." + }, + "LegalHoldProperties": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagProperty" }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } + "description": "The list of LegalHold tags of a blob container." + } + }, + "description": "The LegalHold property of a blob container." + }, + "TagProperty": { + "properties": { + "tag": { + "type": "string", + "readOnly": true, + "description": "The tag value." }, - "required": [ - "action" - ], - "description": "Lease Container request schema." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the tag was added." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who added the tag." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who added the tag." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who added the tag." + } }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { + "description": "A tag of the LegalHold of a blob container." + }, + "LegalHold": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + "maxLength": 23, + "minLength": 3 }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } - }, - "description": "Lease Container response schema." - } + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." + } + }, + "required": [ + "tags" + ], + "description": "The LegalHold property of a blob container." }, - "parameters": { - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" + "ListContainerItem": { + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "description": "The blob container properties be listed out." + } }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" - } + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The blob container properties be listed out." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "ListContainerItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "description": "The list of blob containers." } - } + }, + "description": "The list of blob containers." + }, + "LeaseContainerRequest": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } + }, + "required": [ + "action" + ], + "description": "Lease Container request schema." + }, + "LeaseContainerResponse": { + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." + } + }, + "description": "Lease Container response schema." + } + }, + "parameters": { + "ContainerName": { + "name": "containerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "maxLength": 63, + "minLength": 3, + "x-ms-parameter-location": "method" }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "ImmutabilityPolicyName": { + "name": "immutabilityPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ] - } \ No newline at end of file + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersClearLegalHold.json index ad6e6f5a6dcc..ac7aa7db783a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersClearLegalHold.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersDelete.json index c098454b4d7e..5938f831b9e9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersExtendImmutabilityPolicy.json index 1737f81188e4..f1736e188785 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersExtendImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res6238", "accountName": "sto232", "containerName": "container5023", - "If-Match": "\"8d59f830d0c3bf9\"", + "If-Match": "\"8d59f830d0c3bf9\"", "api-version": "2018-03-01-preview", "monitor": "true", "parameters": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGet.json index 3416d56e8b00..ade438b9f9c0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGet.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGetImmutabilityPolicy.json index b04a083fed46..bb0529d632ca 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersGetImmutabilityPolicy.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Acquire.json index bb8b046aa4d3..00792870eace 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Acquire.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Break.json index 418c63ed1bdb..8102ce6b0790 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLease_Break.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersList.json index 575296fcba50..cf162ef0dbbe 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersList.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLockImmutabilityPolicy.json index 7d8b4c13bd7d..88edd88bf6c3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersLockImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res2702", "accountName": "sto5009", "containerName": "container1631", - "If-Match": "\"8d59f825b721dd3\"", + "If-Match": "\"8d59f825b721dd3\"", "api-version": "2018-03-01-preview", "monitor": "true" }, @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPatch.json index 26a5f59b49cf..72c670432c4b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPatch.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPut.json index 4aa6ab2ab34c..32747804bba2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPut.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPutImmutabilityPolicy.json index 3357d65fcfd0..9fa5a241087a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersPutImmutabilityPolicy.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersSetLegalHold.json index d7c79aec0436..66ce4eac316a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/BlobContainersSetLegalHold.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/OperationsList.json index 19db1402e322..4232ccacaef8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/OperationsList.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/SKUList.json index 0644102e9121..02d8863f3b36 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCheckNameAvailability.json index f4ecc898104f..1ed71ec52f21 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCreate.json index 591f43ae0a54..2fa4a8c9a201 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountCreate.json @@ -78,4 +78,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDelete.json index dd8acf5b6ce1..53d1b3aa7c52 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDeleteManagementPolicy.json index cc09990ec8a3..72cd483cd07a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountDeleteManagementPolicy.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetManagementPolicy.json index 7b9f475ba388..157a1b36e277 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetManagementPolicy.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetProperties.json index 534b779c6138..efdff1296d60 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountGetProperties.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountList.json index be7f2ac9035c..32add044bbc9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountList.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { "sku": { "name": "Standard_LRS", @@ -109,4 +109,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListAccountSAS.json index 6c3ddad1ca3f..40eab2490a73 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListByResourceGroup.json index 795b3951548b..306631b25148 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListByResourceGroup.json @@ -114,4 +114,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListKeys.json index 3f78254bb4f9..67edcaf45514 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListLocationUsage.json index 34960a076c38..26e81f60c988 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListLocationUsage.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListServiceSAS.json index 5b923848c2b4..f87d81c86dc5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountRegenerateKey.json index 0e95b0e360da..edf2c55bd0bb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountSetManagementPolicy.json index 6e16eb2ac455..8bb3e99b622f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountSetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountSetManagementPolicy.json @@ -97,4 +97,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountUpdate.json index 7f8014a34169..1be85ca1c640 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/StorageAccountUpdate.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/UsageList.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/UsageList.json index 40eb7ab74774..fcb27e2908f6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/UsageList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/examples/UsageList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json index 5d03a3dfde97..6840eb1edeb0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json @@ -15,7 +15,7 @@ "produces": [ "application/json" ], - "paths": { + "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": { "get": { "tags": [ @@ -24,7 +24,9 @@ "operationId": "ManagementPolicies_Get", "description": "Gets the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountGetManagementPolicies": { "$ref": "./examples/StorageAccountGetManagementPolicy.json" } + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } }, "parameters": [ { @@ -40,7 +42,7 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" } ], "responses": { @@ -59,7 +61,9 @@ "operationId": "ManagementPolicies_CreateOrUpdate", "description": "Sets the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" } + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + } }, "parameters": [ { @@ -75,7 +79,7 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" }, { "name": "properties", @@ -103,7 +107,9 @@ "operationId": "ManagementPolicies_Delete", "description": "Deletes the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountDeleteManagementPolicies": { "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" } + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } }, "parameters": [ { @@ -119,13 +125,13 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" } ], "responses": { "200": { "description": "OK -- Delete management policies successfully." - }, + }, "204": { "description": "No Content -- The management policies does not exist." } @@ -142,7 +148,7 @@ "readOnly": true, "description": "Returns the Storage Account Data Policies Rules." } - }, + }, "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" @@ -158,7 +164,7 @@ "format": "date-time", "description": "Returns the date and time the ManagementPolicies was last modified." } - }, + }, "allOf": [ { "$ref": "#/definitions/ManagementPoliciesRules" @@ -178,10 +184,10 @@ }, "ManagementPoliciesRules": { "properties": { - "policy": { - "type": "object", - "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." - } + "policy": { + "type": "object", + "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + } }, "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } @@ -193,12 +199,12 @@ "required": true, "type": "string", "description": "The name of the Storage Account Management Policy. It should always be 'default'", - "enum":[ + "enum": [ "default" ], "x-ms-enum": { - "name": "ManagementPolicyName", - "modelAsString": true + "name": "ManagementPolicyName", + "modelAsString": true }, "x-ms-parameter-location": "method" } @@ -221,4 +227,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/storage.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/storage.json index 78381e8d4f4a..d1e1d7ad90b3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2018-03-01-preview/storage.json @@ -469,7 +469,9 @@ "operationId": "Usages_ListByLocation", "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"} + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } }, "parameters": [ { @@ -484,7 +486,7 @@ "required": true, "type": "string", "description": "The location of the Azure Storage resource." - } + } ], "responses": { "200": { @@ -588,7 +590,7 @@ } } } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": { "get": { "tags": [ @@ -597,7 +599,9 @@ "operationId": "StorageAccounts_GetManagementPolicies", "description": "Gets the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountGetManagementPolicies": { "$ref": "./examples/StorageAccountGetManagementPolicy.json" } + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } }, "parameters": [ { @@ -613,7 +617,7 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" } ], "responses": { @@ -632,7 +636,9 @@ "operationId": "StorageAccounts_CreateOrUpdateManagementPolicies", "description": "Sets the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" } + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + } }, "parameters": [ { @@ -648,7 +654,7 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" }, { "name": "properties", @@ -676,7 +682,9 @@ "operationId": "StorageAccounts_DeleteManagementPolicies", "description": "Deletes the data policy rules associated with the specified storage account.", "x-ms-examples": { - "StorageAccountDeleteManagementPolicies": { "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" } + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } }, "parameters": [ { @@ -692,13 +700,13 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ManagementPolicyName" + "$ref": "#/parameters/ManagementPolicyName" } ], "responses": { "200": { "description": "OK -- Delete management policies successfully." - }, + }, "204": { "description": "No Content -- The management policies does not exist." } @@ -1284,8 +1292,8 @@ "isHnsEnabled": { "type": "boolean", "default": false, - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." } }, "description": "The parameters used to create the storage account." @@ -1513,8 +1521,8 @@ "isHnsEnabled": { "type": "boolean", "default": false, - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." } }, "description": "Properties of the storage account." @@ -2015,7 +2023,7 @@ "readOnly": true, "description": "Returns the Storage Account Data Policies Rules." } - }, + }, "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" @@ -2031,7 +2039,7 @@ "format": "date-time", "description": "Returns the date and time the ManagementPolicies was last modified." } - }, + }, "allOf": [ { "$ref": "#/definitions/ManagementPoliciesRules" @@ -2051,10 +2059,10 @@ }, "ManagementPoliciesRules": { "properties": { - "policy": { - "type": "object", - "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." - } + "policy": { + "type": "object", + "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + } }, "description": "The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } @@ -2087,12 +2095,12 @@ "required": true, "type": "string", "description": "The name of the Storage Account Management Policy. It should always be 'default'", - "enum":[ + "enum": [ "default" ], "x-ms-enum": { - "name": "ManagementPolicyName", - "modelAsString": true + "name": "ManagementPolicyName", + "modelAsString": true }, "x-ms-parameter-location": "method" } @@ -2115,4 +2123,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2015-06-15/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2015-06-15/storage.json index 6a6c1f14d34c..2c6dcb8d9f78 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2015-06-15/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2015-06-15/storage.json @@ -237,7 +237,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { "get": { "tags": [ "StorageAccounts" @@ -837,4 +837,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json index 61424e2d5888..13d53c231ee2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json @@ -423,7 +423,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Storage/storageAccounts" ] + "enum": [ + "Microsoft.Storage/storageAccounts" + ] } }, "required": [ @@ -544,10 +546,14 @@ "keySource": { "type": "string", "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage", - "enum": [ "Microsoft.Storage" ] + "enum": [ + "Microsoft.Storage" + ] } }, - "required": [ "keySource" ], + "required": [ + "keySource" + ], "description": "The encryption settings on the storage account." }, "StorageAccountPropertiesCreateParameters": { @@ -993,4 +999,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-05-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-05-01/storage.json index 5aec59fef371..93bfb1ad0988 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-05-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-05-01/storage.json @@ -486,7 +486,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Storage/storageAccounts" ] + "enum": [ + "Microsoft.Storage/storageAccounts" + ] } }, "required": [ @@ -608,10 +610,14 @@ "keySource": { "type": "string", "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage", - "enum": [ "Microsoft.Storage" ] + "enum": [ + "Microsoft.Storage" + ] } }, - "required": [ "keySource" ], + "required": [ + "keySource" + ], "description": "The encryption settings on the storage account." }, "StorageAccountPropertiesCreateParameters": { @@ -1140,7 +1146,7 @@ "properties": { "canonicalizedResource": { "type": "string", - "description" : "The canonical path to the signed resource." + "description": "The canonical path to the signed resource." }, "signedResource": { "type": "string", @@ -1298,4 +1304,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-12-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-12-01/storage.json index 1b8af9e8daa8..5675ac9790fd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2016-12-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2016-12-01/storage.json @@ -489,7 +489,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Storage/storageAccounts" ] + "enum": [ + "Microsoft.Storage/storageAccounts" + ] } }, "required": [ @@ -625,10 +627,14 @@ "keySource": { "type": "string", "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage", - "enum": [ "Microsoft.Storage" ] + "enum": [ + "Microsoft.Storage" + ] } }, - "required": [ "keySource" ], + "required": [ + "keySource" + ], "description": "The encryption settings on the storage account." }, "StorageAccountPropertiesCreateParameters": { @@ -1175,7 +1181,7 @@ "properties": { "canonicalizedResource": { "type": "string", - "description" : "The canonical path to the signed resource." + "description": "The canonical path to the signed resource." }, "signedResource": { "type": "string", @@ -1333,4 +1339,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/OperationsList.json index 2cdc61400135..2bc8cb41393f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/OperationsList.json @@ -11,8 +11,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Create/Update Storage Account", - "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account." + "operation": "Create/Update Storage Account" } }, { @@ -20,8 +19,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Delete Storage Account", - "description": "Deletes an existing storage account." + "operation": "Delete Storage Account" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "List Storage Account Keys", - "description": "Returns the access keys for the specified storage account." + "operation": "List Storage Account Keys" } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Regenerate Storage Account Keys", - "description": "Regenerates the access keys for the specified storage account." + "operation": "Regenerate Storage Account Keys" } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Name Availability", - "operation": "Check Name Availability", - "description": "Checks that account name is valid and is not in use." + "operation": "Check Name Availability" } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "List/Get Storage Account(s)", - "description": "Returns the list of storage accounts or gets the properties for the specified storage account." + "operation": "List/Get Storage Account(s)" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Usage Metrics", - "operation": "Get Subscription Usages", - "description": "Returns the limit and the current usage count for resources in the specified subscription" + "operation": "Get Subscription Usages" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Account SAS Token", - "operation": "Returns Storage Account SAS Token", - "description": "Returns the Account SAS token for the specified storage account." + "operation": "Returns Storage Account SAS Token" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Returns the Service SAS token for the specified storage account.", - "operation": "Returns Storage Service SAS Token", - "description": "Storage Service SAS Token" + "operation": "Returns Storage Service SAS Token" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Location", - "operation": "Delete virtual network or subnets notifications", - "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted" + "operation": "Delete virtual network or subnets notifications" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Operations", - "operation": "Poll Asynchronous Operation", - "description": "Polls the status of an asynchronous operation." + "operation": "Poll Asynchronous Operation" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Resource Provider", - "operation": "Registers the Storage Resource Provider", - "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts." + "operation": "Registers the Storage Resource Provider" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Skus", - "operation": "List Skus", - "description": "Lists the Skus supported by Microsoft.Storage." + "operation": "List Skus" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Create/Update Diagnostic Settings", - "description": "Create/Update storage account diagnostic settings." + "operation": "Create/Update Diagnostic Settings" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -163,8 +148,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -173,8 +157,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -183,8 +166,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -253,8 +235,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -263,8 +244,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -273,8 +253,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -316,8 +295,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -326,8 +304,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -336,8 +313,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -379,8 +355,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -389,8 +364,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -399,8 +373,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -451,8 +424,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -461,8 +433,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" } @@ -470,4 +441,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/SKUList.json index 10660f595c38..8d58f46f7de6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCheckNameAvailability.json index c6a94951b41e..d65613f3ba6e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCreate.json index e97a2e97c171..d1de763c2439 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountCreate.json @@ -53,4 +53,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountDelete.json index d75995818b04..6de8f0698d4e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountGetProperties.json index b2085c201cf3..6d8c74463b91 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountGetProperties.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountList.json index eb405154d3aa..5a0069a8116e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountList.json @@ -177,4 +177,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListAccountSAS.json index fe84f0113e14..62b5af44c251 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListByResourceGroup.json index 39445dab54ee..dbb8707945bd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListByResourceGroup.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListKeys.json index 389f7f0e6631..d37b5512ea2a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListServiceSAS.json index 61a779c9c740..ad2b61ad24f1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountRegenerateKey.json index 48ec956a9995..1072115bcc7d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountUpdate.json index 53e55b4a345d..54748ecc1e9e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/StorageAccountUpdate.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/UsageList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/UsageList.json index bf0c485c93ee..60411bba602f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/UsageList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/examples/UsageList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/storage.json index 18764366ad22..1c9432aceb01 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-06-01/storage.json @@ -28,7 +28,9 @@ "description": "Lists all of the available Storage Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "./examples/OperationsList.json" } + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } }, "parameters": [ { @@ -56,7 +58,9 @@ "operationId": "Skus_List", "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", "x-ms-examples": { - "SkuList": { "$ref": "./examples/SKUList.json" } + "SkuList": { + "$ref": "./examples/SKUList.json" + } }, "parameters": [ { @@ -87,7 +91,9 @@ "operationId": "StorageAccounts_CheckNameAvailability", "description": "Checks that the storage account name is valid and is not already in use.", "x-ms-examples": { - "StorageAccountCheckNameAvailability": { "$ref": "./examples/StorageAccountCheckNameAvailability.json" } + "StorageAccountCheckNameAvailability": { + "$ref": "./examples/StorageAccountCheckNameAvailability.json" + } }, "parameters": [ { @@ -124,7 +130,9 @@ "operationId": "StorageAccounts_Create", "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", "x-ms-examples": { - "StorageAccountCreate": { "$ref": "./examples/StorageAccountCreate.json" } + "StorageAccountCreate": { + "$ref": "./examples/StorageAccountCreate.json" + } }, "parameters": [ { @@ -175,7 +183,9 @@ "operationId": "StorageAccounts_Delete", "description": "Deletes a storage account in Microsoft Azure.", "x-ms-examples": { - "StorageAccountDelete": { "$ref": "./examples/StorageAccountDelete.json" } + "StorageAccountDelete": { + "$ref": "./examples/StorageAccountDelete.json" + } }, "parameters": [ { @@ -213,7 +223,9 @@ "operationId": "StorageAccounts_GetProperties", "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.", "x-ms-examples": { - "StorageAccountGetProperties": { "$ref": "./examples/StorageAccountGetProperties.json" } + "StorageAccountGetProperties": { + "$ref": "./examples/StorageAccountGetProperties.json" + } }, "parameters": [ { @@ -251,7 +263,9 @@ "operationId": "StorageAccounts_Update", "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.", "x-ms-examples": { - "StorageAccountUpdate": { "$ref": "./examples/StorageAccountUpdate.json" } + "StorageAccountUpdate": { + "$ref": "./examples/StorageAccountUpdate.json" + } }, "parameters": [ { @@ -300,7 +314,9 @@ "operationId": "StorageAccounts_List", "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountList": { "$ref": "./examples/StorageAccountList.json" } + "StorageAccountList": { + "$ref": "./examples/StorageAccountList.json" + } }, "parameters": [ { @@ -331,7 +347,9 @@ "operationId": "StorageAccounts_ListByResourceGroup", "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountListByResourceGroup": { "$ref": "./examples/StorageAccountListByResourceGroup.json" } + "StorageAccountListByResourceGroup": { + "$ref": "./examples/StorageAccountListByResourceGroup.json" + } }, "parameters": [ { @@ -365,7 +383,9 @@ "operationId": "StorageAccounts_ListKeys", "description": "Lists the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountListKeys": { "$ref": "./examples/StorageAccountListKeys.json" } + "StorageAccountListKeys": { + "$ref": "./examples/StorageAccountListKeys.json" + } }, "parameters": [ { @@ -405,7 +425,9 @@ "operationId": "StorageAccounts_RegenerateKey", "description": "Regenerates one of the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountRegenerateKey": { "$ref": "./examples/StorageAccountRegenerateKey.json" } + "StorageAccountRegenerateKey": { + "$ref": "./examples/StorageAccountRegenerateKey.json" + } }, "parameters": [ { @@ -454,7 +476,9 @@ "operationId": "Usage_List", "description": "Gets the current usage count and the limit for the resources under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/UsageList.json" } + "UsageList": { + "$ref": "./examples/UsageList.json" + } }, "parameters": [ { @@ -485,7 +509,9 @@ "operationId": "StorageAccounts_ListAccountSAS", "description": "List SAS credentials of a storage account.", "x-ms-examples": { - "StorageAccountListAccountSAS": { "$ref": "./examples/StorageAccountListAccountSAS.json" } + "StorageAccountListAccountSAS": { + "$ref": "./examples/StorageAccountListAccountSAS.json" + } }, "parameters": [ { @@ -534,7 +560,9 @@ "operationId": "StorageAccounts_ListServiceSAS", "description": "List service SAS credentials of a specific resource.", "x-ms-examples": { - "StorageAccountListServiceSAS": { "$ref": "./examples/StorageAccountListServiceSAS.json" } + "StorageAccountListServiceSAS": { + "$ref": "./examples/StorageAccountListServiceSAS.json" + } }, "parameters": [ { @@ -578,7 +606,7 @@ }, "definitions": { "OperationListResult": { - "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", @@ -615,37 +643,34 @@ } }, "origin": { - "type" : "string", + "type": "string", "description": "The origin of operations." }, "properties": { "description": "Properties of operation, include metric specifications.", "x-ms-client-flatten": true, "x-ms-client-name": "OperationProperties", - "$ref" : "#/definitions/OperationProperties" + "$ref": "#/definitions/OperationProperties" } } }, - "OperationProperties": - { + "OperationProperties": { "description": "Properties of operation, include metric specifications.", "properties": { "serviceSpecification": { - "$ref" : "#/definitions/ServiceSpecification", + "$ref": "#/definitions/ServiceSpecification", "description": "One property of operation, include metric specifications." } } }, - "ServiceSpecification": - { + "ServiceSpecification": { "description": "One property of operation, include metric specifications.", "properties": { - "metricSpecifications": - { + "metricSpecifications": { "description": "Metric specifications of operation.", - "type":"array", + "type": "array", "items": { - "$ref" : "#/definitions/MetricSpecification" + "$ref": "#/definitions/MetricSpecification" } } } @@ -657,8 +682,7 @@ "type": "string", "description": "Name of metric specification." }, - "displayName": - { + "displayName": { "type": "string", "description": "Display name of metric specification." }, @@ -667,23 +691,22 @@ "description": "Display description of metric specification." }, "unit": { - "type" : "string", + "type": "string", "description": "Unit could be Bytes or Count." }, "dimensions": { "description": "Dimensions of blobs, including blob type and access tier.", - "type" : "array", + "type": "array", "items": { - "$ref" : "#/definitions/Dimension" + "$ref": "#/definitions/Dimension" } }, "aggregationType": { - "type" : "string", + "type": "string", "description": "Aggregation type could be Average." - } , - "fillGapWithZero": - { - "type" : "boolean", + }, + "fillGapWithZero": { + "type": "boolean", "description": "The property to decide fill gap with zero or not." }, "category": { @@ -699,12 +722,12 @@ "Dimension": { "description": "Dimension of blobs, possibly be blob type or access tier.", "properties": { - "name" : { - "type" : "string", + "name": { + "type": "string", "description": "Display name of dimension." }, - "displayName" : { - "type" : "string", + "displayName": { + "type": "string", "description": "Display name of dimension." } } @@ -717,7 +740,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Storage/storageAccounts" ], + "enum": [ + "Microsoft.Storage/storageAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false @@ -847,7 +872,7 @@ "modelAsString": false } }, - "resourceType":{ + "resourceType": { "readOnly": true, "type": "string", "description": "The type of the resource, usually it is 'storageAccounts'." @@ -951,21 +976,21 @@ "KeyVaultProperties": { "description": "Properties of key vault.", "properties": { - "keyname": { - "type": "string", - "description": "The name of KeyVault key.", - "x-ms-client-name": "KeyName" - }, - "keyversion": { - "type": "string", - "description": "The version of KeyVault key.", - "x-ms-client-name": "KeyVersion" - }, - "keyvaulturi": { - "type": "string", - "description": "The Uri of KeyVault.", - "x-ms-client-name": "KeyVaultUri" - } + "keyname": { + "type": "string", + "description": "The name of KeyVault key.", + "x-ms-client-name": "KeyName" + }, + "keyversion": { + "type": "string", + "description": "The version of KeyVault key.", + "x-ms-client-name": "KeyVersion" + }, + "keyvaulturi": { + "type": "string", + "description": "The Uri of KeyVault.", + "x-ms-client-name": "KeyVaultUri" + } } }, "Encryption": { @@ -985,7 +1010,7 @@ "name": "KeySource", "modelAsString": true }, - "default":"Microsoft.Storage" + "default": "Microsoft.Storage" }, "keyvaultproperties": { "$ref": "#/definitions/KeyVaultProperties", @@ -993,7 +1018,9 @@ "description": "Properties provided by key vault." } }, - "required": [ "keySource" ], + "required": [ + "keySource" + ], "description": "The encryption settings on the storage account." }, "VirtualNetworkRule": { @@ -1031,7 +1058,9 @@ "description": "Gets the state of virtual network rule." } }, - "required": [ "id" ], + "required": [ + "id" + ], "description": "Virtual Network rule." }, "IPRule": { @@ -1172,7 +1201,7 @@ } } }, - "required":[ + "required": [ "type" ], "description": "Identity for the resource." @@ -1729,7 +1758,7 @@ "properties": { "canonicalizedResource": { "type": "string", - "description" : "The canonical path to the signed resource." + "description": "The canonical path to the signed resource." }, "signedResource": { "type": "string", @@ -1897,13 +1926,13 @@ }, "securityDefinitions": { "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } } }, "security": [ diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/OperationsList.json index e81de6aa42af..13115d07c21e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/OperationsList.json @@ -11,8 +11,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Create/Update Storage Account", - "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account." + "operation": "Create/Update Storage Account" } }, { @@ -20,8 +19,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Delete Storage Account", - "description": "Deletes an existing storage account." + "operation": "Delete Storage Account" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "List Storage Account Keys", - "description": "Returns the access keys for the specified storage account." + "operation": "List Storage Account Keys" } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Regenerate Storage Account Keys", - "description": "Regenerates the access keys for the specified storage account." + "operation": "Regenerate Storage Account Keys" } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Name Availability", - "operation": "Check Name Availability", - "description": "Checks that account name is valid and is not in use." + "operation": "Check Name Availability" } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "List/Get Storage Account(s)", - "description": "Returns the list of storage accounts or gets the properties for the specified storage account." + "operation": "List/Get Storage Account(s)" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Usage Metrics", - "operation": "Get Subscription Usages", - "description": "Returns the limit and the current usage count for resources in the specified subscription" + "operation": "Get Subscription Usages" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Account SAS Token", - "operation": "Returns Storage Account SAS Token", - "description": "Returns the Account SAS token for the specified storage account." + "operation": "Returns Storage Account SAS Token" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Returns the Service SAS token for the specified storage account.", - "operation": "Returns Storage Service SAS Token", - "description": "Storage Service SAS Token" + "operation": "Returns Storage Service SAS Token" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Location", - "operation": "Delete virtual network or subnets notifications", - "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted" + "operation": "Delete virtual network or subnets notifications" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Operations", - "operation": "Poll Asynchronous Operation", - "description": "Polls the status of an asynchronous operation." + "operation": "Poll Asynchronous Operation" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Resource Provider", - "operation": "Registers the Storage Resource Provider", - "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts." + "operation": "Registers the Storage Resource Provider" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Skus", - "operation": "List Skus", - "description": "Lists the Skus supported by Microsoft.Storage." + "operation": "List Skus" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Create/Update Diagnostic Settings", - "description": "Create/Update storage account diagnostic settings." + "operation": "Create/Update Diagnostic Settings" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -163,8 +148,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -173,8 +157,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Storage Accounts", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -183,8 +166,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -253,8 +235,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -263,8 +244,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Blob service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -273,8 +253,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -316,8 +295,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -326,8 +304,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Table service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -336,8 +313,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -379,8 +355,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -389,8 +364,7 @@ "display": { "provider": "Microsoft Storage", "resource": "Queue service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" }, @@ -399,8 +373,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "operation": "Get list of Microsoft Storage Metrics definitions" }, "origin": "system", "properties": { @@ -451,8 +424,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "operation": "Read diagnostic setting" }, "origin": "system" }, @@ -461,8 +433,7 @@ "display": { "provider": "Microsoft Storage", "resource": "File service", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "operation": "Write diagnostic setting" }, "origin": "system" } @@ -470,4 +441,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/SKUList.json index fc14472c70c2..45d5fdc2c2d9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCheckNameAvailability.json index 32e1ee908bf1..34bf2322d933 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCreate.json index 8c93d5d5ee1b..29e18e20794b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountCreate.json @@ -53,4 +53,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountDelete.json index b4877626a2d1..d7e190f9f6a9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountGetProperties.json index 6e543e7d54ff..fa8d1e2619ea 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountGetProperties.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountList.json index 42f08815672c..b0c89703ffb7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountList.json @@ -177,4 +177,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListAccountSAS.json index c36ee2ba9549..596cd17ada3a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListByResourceGroup.json index 97b36aa8402f..b12955ed44bb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListByResourceGroup.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListKeys.json index 2b39cf260092..b267a39acda4 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListServiceSAS.json index 090d30afbbb5..6293bcfd2d99 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountRegenerateKey.json index 268fb59962e4..ac4d361bd0d8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountUpdate.json index 3a8215d95255..eb1c0de8db9f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/StorageAccountUpdate.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/UsageList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/UsageList.json index 985bb634e9b0..5a59a9f0cce8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/UsageList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/examples/UsageList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/storage.json index a8bd85c0490b..7eed015718ae 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2017-10-01/storage.json @@ -28,7 +28,9 @@ "description": "Lists all of the available Storage Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "./examples/OperationsList.json" } + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } }, "parameters": [ { @@ -56,7 +58,9 @@ "operationId": "Skus_List", "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", "x-ms-examples": { - "SkuList": { "$ref": "./examples/SKUList.json" } + "SkuList": { + "$ref": "./examples/SKUList.json" + } }, "parameters": [ { @@ -87,7 +91,9 @@ "operationId": "StorageAccounts_CheckNameAvailability", "description": "Checks that the storage account name is valid and is not already in use.", "x-ms-examples": { - "StorageAccountCheckNameAvailability": { "$ref": "./examples/StorageAccountCheckNameAvailability.json" } + "StorageAccountCheckNameAvailability": { + "$ref": "./examples/StorageAccountCheckNameAvailability.json" + } }, "parameters": [ { @@ -124,7 +130,9 @@ "operationId": "StorageAccounts_Create", "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", "x-ms-examples": { - "StorageAccountCreate": { "$ref": "./examples/StorageAccountCreate.json" } + "StorageAccountCreate": { + "$ref": "./examples/StorageAccountCreate.json" + } }, "parameters": [ { @@ -175,7 +183,9 @@ "operationId": "StorageAccounts_Delete", "description": "Deletes a storage account in Microsoft Azure.", "x-ms-examples": { - "StorageAccountDelete": { "$ref": "./examples/StorageAccountDelete.json" } + "StorageAccountDelete": { + "$ref": "./examples/StorageAccountDelete.json" + } }, "parameters": [ { @@ -213,7 +223,9 @@ "operationId": "StorageAccounts_GetProperties", "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.", "x-ms-examples": { - "StorageAccountGetProperties": { "$ref": "./examples/StorageAccountGetProperties.json" } + "StorageAccountGetProperties": { + "$ref": "./examples/StorageAccountGetProperties.json" + } }, "parameters": [ { @@ -251,7 +263,9 @@ "operationId": "StorageAccounts_Update", "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.", "x-ms-examples": { - "StorageAccountUpdate": { "$ref": "./examples/StorageAccountUpdate.json" } + "StorageAccountUpdate": { + "$ref": "./examples/StorageAccountUpdate.json" + } }, "parameters": [ { @@ -300,7 +314,9 @@ "operationId": "StorageAccounts_List", "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountList": { "$ref": "./examples/StorageAccountList.json" } + "StorageAccountList": { + "$ref": "./examples/StorageAccountList.json" + } }, "parameters": [ { @@ -331,7 +347,9 @@ "operationId": "StorageAccounts_ListByResourceGroup", "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountListByResourceGroup": { "$ref": "./examples/StorageAccountListByResourceGroup.json" } + "StorageAccountListByResourceGroup": { + "$ref": "./examples/StorageAccountListByResourceGroup.json" + } }, "parameters": [ { @@ -365,7 +383,9 @@ "operationId": "StorageAccounts_ListKeys", "description": "Lists the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountListKeys": { "$ref": "./examples/StorageAccountListKeys.json" } + "StorageAccountListKeys": { + "$ref": "./examples/StorageAccountListKeys.json" + } }, "parameters": [ { @@ -405,7 +425,9 @@ "operationId": "StorageAccounts_RegenerateKey", "description": "Regenerates one of the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountRegenerateKey": { "$ref": "./examples/StorageAccountRegenerateKey.json" } + "StorageAccountRegenerateKey": { + "$ref": "./examples/StorageAccountRegenerateKey.json" + } }, "parameters": [ { @@ -454,7 +476,9 @@ "operationId": "Usage_List", "description": "Gets the current usage count and the limit for the resources under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/UsageList.json" } + "UsageList": { + "$ref": "./examples/UsageList.json" + } }, "parameters": [ { @@ -485,7 +509,9 @@ "operationId": "StorageAccounts_ListAccountSAS", "description": "List SAS credentials of a storage account.", "x-ms-examples": { - "StorageAccountListAccountSAS": { "$ref": "./examples/StorageAccountListAccountSAS.json" } + "StorageAccountListAccountSAS": { + "$ref": "./examples/StorageAccountListAccountSAS.json" + } }, "parameters": [ { @@ -534,7 +560,9 @@ "operationId": "StorageAccounts_ListServiceSAS", "description": "List service SAS credentials of a specific resource.", "x-ms-examples": { - "StorageAccountListServiceSAS": { "$ref": "./examples/StorageAccountListServiceSAS.json" } + "StorageAccountListServiceSAS": { + "$ref": "./examples/StorageAccountListServiceSAS.json" + } }, "parameters": [ { @@ -578,7 +606,7 @@ }, "definitions": { "OperationListResult": { - "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", @@ -615,37 +643,34 @@ } }, "origin": { - "type" : "string", + "type": "string", "description": "The origin of operations." }, "properties": { "description": "Properties of operation, include metric specifications.", "x-ms-client-flatten": true, "x-ms-client-name": "OperationProperties", - "$ref" : "#/definitions/OperationProperties" + "$ref": "#/definitions/OperationProperties" } } }, - "OperationProperties": - { + "OperationProperties": { "description": "Properties of operation, include metric specifications.", "properties": { "serviceSpecification": { - "$ref" : "#/definitions/ServiceSpecification", + "$ref": "#/definitions/ServiceSpecification", "description": "One property of operation, include metric specifications." } } }, - "ServiceSpecification": - { + "ServiceSpecification": { "description": "One property of operation, include metric specifications.", "properties": { - "metricSpecifications": - { + "metricSpecifications": { "description": "Metric specifications of operation.", - "type":"array", + "type": "array", "items": { - "$ref" : "#/definitions/MetricSpecification" + "$ref": "#/definitions/MetricSpecification" } } } @@ -657,8 +682,7 @@ "type": "string", "description": "Name of metric specification." }, - "displayName": - { + "displayName": { "type": "string", "description": "Display name of metric specification." }, @@ -667,23 +691,22 @@ "description": "Display description of metric specification." }, "unit": { - "type" : "string", + "type": "string", "description": "Unit could be Bytes or Count." }, "dimensions": { "description": "Dimensions of blobs, including blob type and access tier.", - "type" : "array", + "type": "array", "items": { - "$ref" : "#/definitions/Dimension" + "$ref": "#/definitions/Dimension" } }, "aggregationType": { - "type" : "string", + "type": "string", "description": "Aggregation type could be Average." - } , - "fillGapWithZero": - { - "type" : "boolean", + }, + "fillGapWithZero": { + "type": "boolean", "description": "The property to decide fill gap with zero or not." }, "category": { @@ -699,12 +722,12 @@ "Dimension": { "description": "Dimension of blobs, possibly be blob type or access tier.", "properties": { - "name" : { - "type" : "string", + "name": { + "type": "string", "description": "Display name of dimension." }, - "displayName" : { - "type" : "string", + "displayName": { + "type": "string", "description": "Display name of dimension." } } @@ -717,7 +740,9 @@ }, "type": { "type": "string", - "enum": [ "Microsoft.Storage/storageAccounts" ], + "enum": [ + "Microsoft.Storage/storageAccounts" + ], "x-ms-enum": { "name": "Type", "modelAsString": false @@ -847,7 +872,7 @@ "modelAsString": false } }, - "resourceType":{ + "resourceType": { "readOnly": true, "type": "string", "description": "The type of the resource, usually it is 'storageAccounts'." @@ -952,21 +977,21 @@ "KeyVaultProperties": { "description": "Properties of key vault.", "properties": { - "keyname": { - "type": "string", - "description": "The name of KeyVault key.", - "x-ms-client-name": "KeyName" - }, - "keyversion": { - "type": "string", - "description": "The version of KeyVault key.", - "x-ms-client-name": "KeyVersion" - }, - "keyvaulturi": { - "type": "string", - "description": "The Uri of KeyVault.", - "x-ms-client-name": "KeyVaultUri" - } + "keyname": { + "type": "string", + "description": "The name of KeyVault key.", + "x-ms-client-name": "KeyName" + }, + "keyversion": { + "type": "string", + "description": "The version of KeyVault key.", + "x-ms-client-name": "KeyVersion" + }, + "keyvaulturi": { + "type": "string", + "description": "The Uri of KeyVault.", + "x-ms-client-name": "KeyVaultUri" + } } }, "Encryption": { @@ -986,7 +1011,7 @@ "name": "KeySource", "modelAsString": true }, - "default":"Microsoft.Storage" + "default": "Microsoft.Storage" }, "keyvaultproperties": { "$ref": "#/definitions/KeyVaultProperties", @@ -994,7 +1019,9 @@ "description": "Properties provided by key vault." } }, - "required": [ "keySource" ], + "required": [ + "keySource" + ], "description": "The encryption settings on the storage account." }, "VirtualNetworkRule": { @@ -1032,7 +1059,9 @@ "description": "Gets the state of virtual network rule." } }, - "required": [ "id" ], + "required": [ + "id" + ], "description": "Virtual Network rule." }, "IPRule": { @@ -1173,7 +1202,7 @@ } } }, - "required":[ + "required": [ "type" ], "description": "Identity for the resource." @@ -1745,7 +1774,7 @@ "properties": { "canonicalizedResource": { "type": "string", - "description" : "The canonical path to the signed resource." + "description": "The canonical path to the signed resource." }, "signedResource": { "type": "string", @@ -1913,13 +1942,13 @@ }, "securityDefinitions": { "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } } }, "security": [ diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/blob.json index 81fb16b4d0c8..8c529a3472c5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/blob.json @@ -1,1071 +1,1071 @@ - { - "swagger": "2.0", - "info": { - "version": "2018-02-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - } +{ + "swagger": "2.0", + "info": { + "version": "2018-02-01", + "title": "StorageManagementClient", + "description": "The Azure Storage Management API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_List", + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + } + }, + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - } - }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Create", + "x-ms-examples": { + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" } }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } - } - } - }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" - } + { + "$ref": "#/parameters/AccountName" }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } + "description": "Properties of the blob container to create." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created -- Create Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } + } + }, + "patch": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Update", + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" - } + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - "204": { - "description": "No Content -- The Container not exist." + "description": "Properties to update for the blob container." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Update Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer", + "description": "Properties of the updated blob container." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Get", + "x-ms-examples": { + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + }, + "description": "Gets properties of a specified container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Delete", + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + }, + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete Container operation completed successfully." + }, + "204": { + "description": "No Content -- The Container not exist." } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_SetLegalHold", + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + } + }, + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be set to a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Set legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ClearLegalHold", + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be clear from a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Clear legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_GetImmutabilityPolicy", + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + }, + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + }, + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" - }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_LockImmutabilityPolicy", + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + }, + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } } }, - "definitions": { - "ContainerProperties": { - "properties": { - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + }, + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." + { + "$ref": "#/parameters/AccountName" }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." + { + "$ref": "#/parameters/ContainerName" }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ + "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." } ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." - }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + "responses": { + "200": { + "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" + } + } } - }, - "required": [ - "immutabilityPeriodSinceCreationInDays" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "tags": [ + "BlobContainers" ], - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." + "operationId": "BlobContainers_Lease", + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" } }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } - }, - "allOf": [ + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." + { + "$ref": "#/parameters/AccountName" }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." + { + "$ref": "#/parameters/ContainerName" }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - } - }, - "description": "An update history of the ImmutabilityPolicy of a blob container." - }, - "LegalHoldProperties": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" }, - "description": "The list of LegalHold tags of a blob container." + "description": "Lease Container request body." + } + ], + "responses": { + "200": { + "description": "OK -- Lease Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } } + } + } + } + }, + "definitions": { + "ContainerProperties": { + "properties": { + "publicAccess": { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + }, + "description": "Specifies whether data in the container may be accessed publicly and the level of access." }, - "description": "The LegalHold property of a blob container." - }, - "TagProperty": { - "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the container was last modified." + }, + "leaseStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." + "description": "The lease status of the container." + }, + "leaseState": { + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." + "description": "Lease state of the container." + }, + "leaseDuration": { + "type": "string", + "readOnly": true, + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } + "description": "A name-value pair to associate with the container as metadata." }, - "description": "A tag of the LegalHold of a blob container." - }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - } + "immutabilityPolicy": { + "readOnly": true, + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "x-ms-client-name": "ImmutabilityPolicy", + "description": "The ImmutabilityPolicy property of the container." }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." + "legalHold": { + "readOnly": true, + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container." + }, + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "readOnly": true, + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." + } }, - "ListContainerItem": { + "description": "The properties of a container." + }, + "BlobContainer": { + "properties": { "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties", + "description": "Properties of the blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "Properties of the blob container, including Id, resource name, resource type, Etag." + }, + "ImmutabilityPolicyProperty": { + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true + }, + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + } }, - "ListContainerItems": { + "required": [ + "immutabilityPeriodSinceCreationInDays" + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicyProperties": { + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "The list of blob containers." - } + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." }, - "description": "The list of blob containers." + "etag": { + "type": "string", + "readOnly": true, + "description": "ImmutabilityPolicy Etag." + }, + "updateHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" + }, + "description": "The ImmutabilityPolicy update history of the blob container." + } }, - "LeaseContainerRequest": { + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicy": { + "properties": { "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "required": [ + "properties" + ], + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." + }, + "UpdateHistoryProperty": { + "properties": { + "update": { + "type": "string", + "readOnly": true, + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "readOnly": true, + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the ImmutabilityPolicy was updated." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." + } + }, + "description": "An update history of the ImmutabilityPolicy of a blob container." + }, + "LegalHoldProperties": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagProperty" }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } + "description": "The list of LegalHold tags of a blob container." + } + }, + "description": "The LegalHold property of a blob container." + }, + "TagProperty": { + "properties": { + "tag": { + "type": "string", + "readOnly": true, + "description": "The tag value." }, - "required": [ - "action" - ], - "description": "Lease Container request schema." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the tag was added." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who added the tag." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who added the tag." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who added the tag." + } }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { + "description": "A tag of the LegalHold of a blob container." + }, + "LegalHold": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + "maxLength": 23, + "minLength": 3 }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } - }, - "description": "Lease Container response schema." - } + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." + } + }, + "required": [ + "tags" + ], + "description": "The LegalHold property of a blob container." + }, + "ListContainerItem": { + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "description": "The blob container properties be listed out." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The blob container properties be listed out." }, - "parameters": { - "AccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" + "ListContainerItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "description": "The list of blob containers." + } }, - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" + "description": "The list of blob containers." + }, + "LeaseContainerRequest": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" - } + "required": [ + "action" + ], + "description": "Lease Container request schema." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "LeaseContainerResponse": { + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." } - } + }, + "description": "Lease Container response schema." + } + }, + "parameters": { + "AccountName": { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ContainerName": { + "name": "containerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "maxLength": 63, + "minLength": 3, + "x-ms-parameter-location": "method" }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "ImmutabilityPolicyName": { + "name": "immutabilityPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ] - } \ No newline at end of file + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersClearLegalHold.json index 7034d3fffe3c..d06c91922930 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersClearLegalHold.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersDelete.json index 8f3553566378..5c8cf55a654d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersExtendImmutabilityPolicy.json index de5928904dd3..a2780072ef05 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res6238", "accountName": "sto232", "containerName": "container5023", - "If-Match": "\"8d59f830d0c3bf9\"", + "If-Match": "\"8d59f830d0c3bf9\"", "api-version": "2018-02-01", "monitor": "true", "parameters": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGet.json index dfcdd715f1a1..0c2a79fe4a16 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGet.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGetImmutabilityPolicy.json index b4832e1a531b..c4c8c39c17d9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Acquire.json index 4d1e6f7613d0..1ac558f7081e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Acquire.json @@ -8,11 +8,11 @@ "monitor": "true", "parameters": { "properties": { - "Action": 0, - "LeaseId": null, - "BreakPeriod": null, - "LeaseDuration": -1, - "ProposedLeaseId": null + "action": 0, + "leaseId": null, + "breakPeriod": null, + "leaseDuration": -1, + "proposedLeaseId": null } } }, @@ -23,9 +23,9 @@ "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "properties": { - "LeaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" } } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Break.json index e14bdc92d3b3..47c8eda89d1c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLease_Break.json @@ -8,11 +8,11 @@ "monitor": "true", "parameters": { "properties": { - "Action": 4, - "LeaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", - "BreakPeriod": null, - "LeaseDuration": null, - "ProposedLeaseId": null + "action": 4, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "breakPeriod": null, + "leaseDuration": null, + "proposedLeaseId": null } } }, @@ -23,9 +23,9 @@ "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "properties": { - "LeaseTimeSeconds": "0" + "leaseTimeSeconds": "0" } } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersList.json index a37be2da97f0..1d3d7233ef7d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersList.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLockImmutabilityPolicy.json index bf2d99c923ee..d7f5b9d0df3d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res2702", "accountName": "sto5009", "containerName": "container1631", - "If-Match": "\"8d59f825b721dd3\"", + "If-Match": "\"8d59f825b721dd3\"", "api-version": "2018-02-01", "monitor": "true" }, @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPatch.json index 2b878d194e0d..d5685b3ef601 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPatch.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPut.json index 649e2422b75f..eda6ba19fe15 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPut.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPutImmutabilityPolicy.json index d11c06313f81..f2ea8e6a5891 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersSetLegalHold.json index f5a488a2e762..271963e4ceb5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/BlobContainersSetLegalHold.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/OperationsList.json index 687c60b969e4..d923f361f3fd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/OperationsList.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/SKUList.json index 855771666292..a994c9992dd6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCheckNameAvailability.json index e14b1b1b8a20..1cac26c79a66 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCreate.json index fb48db0af159..e1b195751561 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountCreate.json @@ -59,4 +59,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountDelete.json index 1611fc7a5a29..589a6bd99a85 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountGetProperties.json index 3a4e56baa292..9521e1fdceff 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountGetProperties.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountList.json index aaf1f6e7fe0f..78d650f5094e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountList.json @@ -180,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListAccountSAS.json index f518bb837e5b..20bffb1b36ad 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListByResourceGroup.json index af8bca6eb6b0..6906a6e474c1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListByResourceGroup.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListKeys.json index c5de65b7c404..e5334383697d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListLocationUsage.json index 100705deb0e1..2ffa71512bd5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListLocationUsage.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListServiceSAS.json index 3799ff56dca7..1fd3fe783eb6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountRegenerateKey.json index 35a883b764f8..08871e89bca2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountUpdate.json index 1d2b14b351a8..132a66e53fc1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/StorageAccountUpdate.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/UsageList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/UsageList.json index be75fae56bf8..ce2b65b1d603 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/UsageList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/examples/UsageList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/storage.json index f19ab5c57d4a..2e4520d20761 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-02-01/storage.json @@ -505,7 +505,9 @@ "operationId": "Usage_ListByLocation", "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"} + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } }, "parameters": [ { @@ -520,7 +522,7 @@ "required": true, "type": "string", "description": "The location of the Azure Storage resource." - } + } ], "responses": { "200": { @@ -1216,8 +1218,8 @@ "isHnsEnabled": { "type": "boolean", "default": false, - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." } }, "description": "The parameters used to create the storage account." @@ -1445,8 +1447,8 @@ "isHnsEnabled": { "type": "boolean", "default": false, - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." } }, "description": "Properties of the storage account." @@ -1971,4 +1973,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/blob.json index d87260e5fb17..bd12253a7603 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/blob.json @@ -1,25 +1,25 @@ - { - "swagger": "2.0", - "info": { - "version": "2018-07-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { - "put": { +{ + "swagger": "2.0", + "info": { + "version": "2018-07-01", + "title": "StorageManagementClient", + "description": "The Azure Storage Management API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { + "put": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_SetServiceProperties", "x-ms-examples": { @@ -42,30 +42,30 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/BlobServicesName" + "$ref": "#/parameters/BlobServicesName" }, { "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "$ref": "#/definitions/BlobServiceProperties" }, "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules." } ], "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - }, - "get": { + }, + "get": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_GetServiceProperties", "x-ms-examples": { @@ -88,976 +88,976 @@ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/BlobServicesName" + "$ref": "#/parameters/BlobServicesName" } ], "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Blob service.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- returned the properties of a storage account’s Blob service.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_List", + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + } + }, + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - } - }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Create", + "x-ms-examples": { + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" } }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } + "description": "Properties of the blob container to create." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created -- Create Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } + } + }, + "patch": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Update", + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" - } + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } + "description": "Properties to update for the blob container." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Update Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer", + "description": "Properties of the updated blob container." } } + } + }, + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Get", + "x-ms-examples": { + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" - } + "description": "Gets properties of a specified container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." - }, - "204": { - "description": "No Content -- The Container not exist." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Delete", + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + }, + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete Container operation completed successfully." + }, + "204": { + "description": "No Content -- The Container not exist." } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_SetLegalHold", + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + } + }, + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + "description": "The LegalHold property that will be set to a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Set legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ClearLegalHold", + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } + }, + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be clear from a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Clear legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } + } + }, + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_GetImmutabilityPolicy", + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + }, + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_LockImmutabilityPolicy", + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + }, + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" - }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + }, + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } } }, - "definitions": { - "ContainerProperties": { - "properties": { - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Lease", + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" + } + }, + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." + { + "$ref": "#/parameters/ContainerName" }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + "description": "Lease Container request body." } - }, - "required": [ - "immutabilityPeriodSinceCreationInDays" ], - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." + "responses": { + "200": { + "description": "OK -- Lease Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } } + } + } + } + }, + "definitions": { + "ContainerProperties": { + "properties": { + "publicAccess": { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + }, + "description": "Specifies whether data in the container may be accessed publicly and the level of access." }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the container was last modified." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." - }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "leaseStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." + "description": "The lease status of the container." + }, + "leaseState": { + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + "description": "Lease state of the container." + }, + "leaseDuration": { + "type": "string", + "readOnly": true, + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - } + "description": "A name-value pair to associate with the container as metadata." }, - "description": "An update history of the ImmutabilityPolicy of a blob container." - }, - "LegalHoldProperties": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" - }, - "description": "The list of LegalHold tags of a blob container." - } + "immutabilityPolicy": { + "readOnly": true, + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "x-ms-client-name": "ImmutabilityPolicy", + "description": "The ImmutabilityPolicy property of the container." }, - "description": "The LegalHold property of a blob container." + "legalHold": { + "readOnly": true, + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container." + }, + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "readOnly": true, + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." + } }, - "TagProperty": { - "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." + "description": "The properties of a container." + }, + "BlobContainer": { + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties", + "description": "Properties of the blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "Properties of the blob container, including Id, resource name, resource type, Etag." + }, + "ImmutabilityPolicyProperty": { + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + } + }, + "required": [ + "immutabilityPeriodSinceCreationInDays" + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicyProperties": { + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "ImmutabilityPolicy Etag." + }, + "updateHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." + "description": "The ImmutabilityPolicy update history of the blob container." + } + }, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicy": { + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "required": [ + "properties" + ], + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." + }, + "UpdateHistoryProperty": { + "properties": { + "update": { + "type": "string", + "readOnly": true, + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." }, - "description": "A tag of the LegalHold of a blob container." - }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - } + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "readOnly": true, + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the ImmutabilityPolicy was updated." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." + } }, - "ListContainerItem": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } + "description": "An update history of the ImmutabilityPolicy of a blob container." + }, + "LegalHoldProperties": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagProperty" + }, + "description": "The list of LegalHold tags of a blob container." + } }, - "ListContainerItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "The list of blob containers." - } + "description": "The LegalHold property of a blob container." + }, + "TagProperty": { + "properties": { + "tag": { + "type": "string", + "readOnly": true, + "description": "The tag value." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the tag was added." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who added the tag." }, - "description": "The list of blob containers." - }, - "BlobServiceProperties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who added the tag." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who added the tag." + } + }, + "description": "A tag of the LegalHold of a blob container." + }, + "LegalHold": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { + "type": "string", + "maxLength": 23, + "minLength": 3 + }, + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." + } + }, + "required": [ + "tags" + ], + "description": "The LegalHold property of a blob container." + }, + "ListContainerItem": { + "properties": { "properties": { + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "description": "The blob container properties be listed out." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The blob container properties be listed out." + }, + "ListContainerItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "description": "The list of blob containers." + } + }, + "description": "The list of blob containers." + }, + "BlobServiceProperties": { + "properties": { "properties": { "properties": { - "cors": { + "cors": { "$ref": "#/definitions/CorsRules", "description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service." }, @@ -1074,48 +1074,48 @@ "x-ms-client-name": "BlobServiceProperties", "description": "The properties of a storage account’s Blob service." } - }, - "allOf": [ + }, + "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], - "description": "The properties of a storage account’s Blob service." - }, - "DeleteRetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." - }, - "days": { - "type": "integer", - "minimum": 1, - "maximum": 365, - "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." - } - }, - "description": "The blob service properties for soft delete." - }, - "CorsRules": { - "properties": { - "corsRules": { - "type": "array", - "items": { - "description": "Specifies a CORS rule for the Blob service. ", - "$ref": "#/definitions/CorsRule" - }, - "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " - } + ], + "description": "The properties of a storage account’s Blob service." + }, + "DeleteRetentionPolicy": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." }, - "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + "days": { + "type": "integer", + "minimum": 1, + "maximum": 365, + "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." + } }, - "CorsRule": { - "properties": { + "description": "The blob service properties for soft delete." + }, + "CorsRules": { + "properties": { + "corsRules": { + "type": "array", + "items": { + "description": "Specifies a CORS rule for the Blob service. ", + "$ref": "#/definitions/CorsRule" + }, + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " + } + }, + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "CorsRule": { + "properties": { "allowedOrigins": { "type": "array", "items": { - "type": "string" + "type": "string" }, "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" }, @@ -1123,7 +1123,15 @@ "type": "array", "items": { "type": "string", - "enum": ["DELETE","GET","HEAD","MERGE","POST","OPTIONS","PUT"] + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT" + ] }, "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." }, @@ -1145,115 +1153,115 @@ }, "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." } - }, - "required": [ - "allowedOrigins", - "allowedMethods", - "maxAgeInSeconds", - "exposedHeaders", - "allowedHeaders" - ], - "description": "Specifies a CORS rule for the Blob service." }, - "LeaseContainerRequest": { - "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." - }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." - }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } + "required": [ + "allowedOrigins", + "allowedMethods", + "maxAgeInSeconds", + "exposedHeaders", + "allowedHeaders" + ], + "description": "Specifies a CORS rule for the Blob service." + }, + "LeaseContainerRequest": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "description": "Specifies the lease action. Can be one of the available actions." }, - "required": [ - "action" - ], - "description": "Lease Container request schema." - }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { - "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." - }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." }, - "description": "Lease Container response schema." - } - }, - "parameters": { - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" + "breakPeriod": { + "type": "integer", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } }, - "BlobServicesName": { - "name": "BlobServicesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" - } + "required": [ + "action" + ], + "description": "Lease Container request schema." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "LeaseContainerResponse": { + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." } - } + }, + "description": "Lease Container response schema." + } + }, + "parameters": { + "ContainerName": { + "name": "containerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "maxLength": 63, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ImmutabilityPolicyName": { + "name": "immutabilityPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "BlobServicesName": { + "name": "BlobServicesName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ] - } \ No newline at end of file + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersClearLegalHold.json index 213783caf38e..bf6691a16f7e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersClearLegalHold.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersDelete.json index 7b60db47f977..ea1c1d60f0e8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersExtendImmutabilityPolicy.json index 7432e0065076..cbbd2794d7ba 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res6238", "accountName": "sto232", "containerName": "container5023", - "If-Match": "\"8d59f830d0c3bf9\"", + "If-Match": "\"8d59f830d0c3bf9\"", "api-version": "2018-07-01", "monitor": "true", "parameters": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGet.json index 1be09b1b105d..4d0d1e165b0c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGet.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGetImmutabilityPolicy.json index c69dc9aa8457..ba4d4d170467 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Acquire.json index 03d7d9e857bf..bfeaa3e35561 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Acquire.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Break.json index d0a97bce588d..47a71c76f601 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLease_Break.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersList.json index 8e588163dc23..da4579268751 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersList.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLockImmutabilityPolicy.json index deb3a89d95ef..0c9aed602653 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res2702", "accountName": "sto5009", "containerName": "container1631", - "If-Match": "\"8d59f825b721dd3\"", + "If-Match": "\"8d59f825b721dd3\"", "api-version": "2018-07-01", "monitor": "true" }, @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPatch.json index 36342e866772..df41e48abc80 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPatch.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPut.json index 3caff82d3766..914aeadfc929 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPut.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPutImmutabilityPolicy.json index fe588eb1705d..f72c2f9e5835 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersSetLegalHold.json index 3d360f5aa9c0..ba7b8decad77 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobContainersSetLegalHold.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesGet.json index 9a6e3acd683e..5926ce330a6d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesGet.json @@ -15,7 +15,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesPut.json index 326e4bd06a8e..b1bc1ac15036 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/BlobServicesPut.json @@ -9,7 +9,8 @@ "parameters": { "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -84,7 +85,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -152,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/OperationsList.json index 34bff2451bf5..5298603e12fb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/OperationsList.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/SKUList.json index e25b3ffa73ca..1bcb2e63a12f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCheckNameAvailability.json index 2f909042d71d..41a0ce8672fd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCreate.json index 4d12a7f02ec8..edb2d1d541e3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountCreate.json @@ -61,4 +61,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDelete.json index 86b62b340374..d34b0292e2a9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDeleteManagementPolicy.json index cc09990ec8a3..72cd483cd07a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountDeleteManagementPolicy.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountFailover.json index 9f19caf35b0f..b3fc0173e511 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountFailover.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountFailover.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetManagementPolicy.json index 7b9f475ba388..157a1b36e277 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetManagementPolicy.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetProperties.json index 5a90b4563f5e..01248e2cbb7b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountGetProperties.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountList.json index 087c7c925f7e..be655149fcf7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountList.json @@ -181,4 +181,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListAccountSAS.json index de9a578d504c..e007d57f22af 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListByResourceGroup.json index 50a889430a6d..c1662f85615e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListByResourceGroup.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListKeys.json index 3dbc0d639cc2..fe8865872ed9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListLocationUsage.json index 4161b4dd5a78..3cffbd19aca0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListLocationUsage.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListServiceSAS.json index 6f9ac36d10e9..181ab6c3655f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountRegenerateKey.json index 3a5aafa74787..4022932a3661 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountSetManagementPolicy.json index 6e16eb2ac455..8bb3e99b622f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountSetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountSetManagementPolicy.json @@ -97,4 +97,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountUpdate.json index 238302224aa0..444fbb2ea194 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/examples/StorageAccountUpdate.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/storage.json index 19feac6e62cf..a3f5148d53c9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/storage.json @@ -450,7 +450,9 @@ "operationId": "Usages_ListByLocation", "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"} + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } }, "parameters": [ { @@ -465,7 +467,7 @@ "required": true, "type": "string", "description": "The location of the Azure Storage resource." - } + } ], "responses": { "200": { @@ -1195,8 +1197,8 @@ }, "isHnsEnabled": { "type": "boolean", - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." } }, "description": "The parameters used to create the storage account." @@ -1459,8 +1461,8 @@ }, "isHnsEnabled": { "type": "boolean", - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." + "x-ms-client-name": "IsHnsEnabled", + "description": "Account HierarchicalNamespace enabled if sets to true." }, "geoReplicationStats": { "$ref": "#/definitions/GeoReplicationStats", @@ -2015,4 +2017,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json index 786ef48f8132..c9b18897e42f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json @@ -1,25 +1,25 @@ - { - "swagger": "2.0", - "info": { - "version": "2018-11-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { - "put": { +{ + "swagger": "2.0", + "info": { + "version": "2018-11-01", + "title": "StorageManagementClient", + "description": "The Azure Storage Management API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { + "put": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_SetServiceProperties", "x-ms-examples": { @@ -49,23 +49,23 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "$ref": "#/definitions/BlobServiceProperties" }, "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules." } ], "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - }, - "get": { + }, + "get": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_GetServiceProperties", "x-ms-examples": { @@ -92,975 +92,975 @@ } ], "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Blob service.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- returned the properties of a storage account’s Blob service.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_List", + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + } + }, + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - } - }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - }, - "200": { - "description": "OK -- The Container is already created.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Create", + "x-ms-examples": { + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" } }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } - } + "description": "Properties of the blob container to create." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" } - }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" + ], + "responses": { + "201": { + "description": "Created -- Create Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } + "200": { + "description": "OK -- The Container is already created.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } + } + }, + "patch": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Update", + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" - } + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - "204": { - "description": "No Content -- The Container not exist." + "description": "Properties to update for the blob container." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Update Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer", + "description": "Properties of the updated blob container." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Get", + "x-ms-examples": { + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + }, + "description": "Gets properties of a specified container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Delete", + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + }, + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete Container operation completed successfully." + }, + "204": { + "description": "No Content -- The Container not exist." } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_SetLegalHold", + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + } + }, + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be set to a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Set legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ClearLegalHold", + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be clear from a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Clear legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_GetImmutabilityPolicy", + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + }, + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + }, + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_LockImmutabilityPolicy", + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + }, + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" + } } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + }, + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } } }, - "definitions": { - "ContainerProperties": { - "properties": { - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Lease", + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" + } + }, + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." + { + "$ref": "#/parameters/ContainerName" }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + "description": "Lease Container request body." } - }, - "required": [ - "immutabilityPeriodSinceCreationInDays" ], - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." + "responses": { + "200": { + "description": "OK -- Lease Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } } + } + } + } + }, + "definitions": { + "ContainerProperties": { + "properties": { + "publicAccess": { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + }, + "description": "Specifies whether data in the container may be accessed publicly and the level of access." }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the container was last modified." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." - }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "leaseStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." + "description": "The lease status of the container." + }, + "leaseState": { + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + "description": "Lease state of the container." + }, + "leaseDuration": { + "type": "string", + "readOnly": true, + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - } + "description": "A name-value pair to associate with the container as metadata." + }, + "immutabilityPolicy": { + "readOnly": true, + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "x-ms-client-name": "ImmutabilityPolicy", + "description": "The ImmutabilityPolicy property of the container." }, - "description": "An update history of the ImmutabilityPolicy of a blob container." + "legalHold": { + "readOnly": true, + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container." + }, + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "readOnly": true, + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." + } }, - "LegalHoldProperties": { + "description": "The properties of a container." + }, + "BlobContainer": { + "properties": { "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" - }, - "description": "The list of LegalHold tags of a blob container." - } + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties", + "description": "Properties of the blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "Properties of the blob container, including Id, resource name, resource type, Etag." + }, + "ImmutabilityPolicyProperty": { + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "description": "The LegalHold property of a blob container." + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true + }, + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + } }, - "TagProperty": { + "required": [ + "immutabilityPeriodSinceCreationInDays" + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicyProperties": { + "properties": { "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." - }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "ImmutabilityPolicy Etag." + }, + "updateHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." + "description": "The ImmutabilityPolicy update history of the blob container." + } + }, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicy": { + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "required": [ + "properties" + ], + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." + }, + "UpdateHistoryProperty": { + "properties": { + "update": { + "type": "string", + "readOnly": true, + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "readOnly": true, + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "description": "A tag of the LegalHold of a blob container." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the ImmutabilityPolicy was updated." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." + } }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - } + "description": "An update history of the ImmutabilityPolicy of a blob container." + }, + "LegalHoldProperties": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagProperty" + }, + "description": "The list of LegalHold tags of a blob container." + } }, - "ListContainerItem": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } + "description": "The LegalHold property of a blob container." + }, + "TagProperty": { + "properties": { + "tag": { + "type": "string", + "readOnly": true, + "description": "The tag value." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the tag was added." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who added the tag." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who added the tag." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who added the tag." + } }, - "ListContainerItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "The list of blob containers." - } + "description": "A tag of the LegalHold of a blob container." + }, + "LegalHold": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." }, - "description": "The list of blob containers." + "tags": { + "type": "array", + "items": { + "type": "string", + "maxLength": 23, + "minLength": 3 + }, + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." + } }, - "BlobServiceProperties": { + "required": [ + "tags" + ], + "description": "The LegalHold property of a blob container." + }, + "ListContainerItem": { + "properties": { "properties": { + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "description": "The blob container properties be listed out." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The blob container properties be listed out." + }, + "ListContainerItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "description": "The list of blob containers." + } + }, + "description": "The list of blob containers." + }, + "BlobServiceProperties": { + "properties": { "properties": { "properties": { "cors": { @@ -1080,48 +1080,48 @@ "x-ms-client-name": "BlobServiceProperties", "description": "The properties of a storage account’s Blob service." } - }, - "allOf": [ + }, + "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], - "description": "The properties of a storage account’s Blob service." - }, - "DeleteRetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." - }, - "days": { - "type": "integer", - "minimum": 1, - "maximum": 365, - "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." - } + ], + "description": "The properties of a storage account’s Blob service." + }, + "DeleteRetentionPolicy": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." }, - "description": "The blob service properties for soft delete." + "days": { + "type": "integer", + "minimum": 1, + "maximum": 365, + "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." + } }, - "CorsRules": { - "properties": { - "corsRules": { - "type": "array", - "items": { - "description": "Specifies a CORS rule for the Blob service. ", - "$ref": "#/definitions/CorsRule" - }, - "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " - } - }, - "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + "description": "The blob service properties for soft delete." + }, + "CorsRules": { + "properties": { + "corsRules": { + "type": "array", + "items": { + "description": "Specifies a CORS rule for the Blob service. ", + "$ref": "#/definitions/CorsRule" + }, + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " + } }, - "CorsRule": { - "properties": { + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "CorsRule": { + "properties": { "allowedOrigins": { "type": "array", "items": { - "type": "string" + "type": "string" }, "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" }, @@ -1129,7 +1129,15 @@ "type": "array", "items": { "type": "string", - "enum": ["DELETE","GET","HEAD","MERGE","POST","OPTIONS","PUT"] + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT" + ] }, "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." }, @@ -1151,115 +1159,115 @@ }, "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." } - }, - "required": [ - "allowedOrigins", - "allowedMethods", - "maxAgeInSeconds", - "exposedHeaders", - "allowedHeaders" - ], - "description": "Specifies a CORS rule for the Blob service." }, - "LeaseContainerRequest": { - "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." - }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." - }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } + "required": [ + "allowedOrigins", + "allowedMethods", + "maxAgeInSeconds", + "exposedHeaders", + "allowedHeaders" + ], + "description": "Specifies a CORS rule for the Blob service." + }, + "LeaseContainerRequest": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "description": "Specifies the lease action. Can be one of the available actions." }, - "required": [ - "action" - ], - "description": "Lease Container request schema." - }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { - "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." - }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." }, - "description": "Lease Container response schema." - } - }, - "parameters": { - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" + "breakPeriod": { + "type": "integer", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } }, - "BlobServicesName": { - "name": "BlobServicesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" - } + "required": [ + "action" + ], + "description": "Lease Container request schema." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "LeaseContainerResponse": { + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." } - } + }, + "description": "Lease Container response schema." + } + }, + "parameters": { + "ContainerName": { + "name": "containerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "maxLength": 63, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ImmutabilityPolicyName": { + "name": "immutabilityPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "BlobServicesName": { + "name": "BlobServicesName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ] - } \ No newline at end of file + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json index 7321d39a1a42..bdbe1984cdf9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json index 3c85d214edf3..fac6c65f70eb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json index ff22023adb8b..36299303b11a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res6238", "accountName": "sto232", "containerName": "container5023", - "If-Match": "\"8d59f830d0c3bf9\"", + "If-Match": "\"8d59f830d0c3bf9\"", "api-version": "2018-11-01", "monitor": "true", "parameters": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json index 25034a60c12e..66fcd7816837 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json index c20e1d46b025..e274d9b082e2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Acquire.json index a7d2e6b56976..bbcaa0758712 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Acquire.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Break.json index 54ef93b1f6e3..8c3fb2a8b77e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLease_Break.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json index ca77b15a674b..918040a39ce5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json index a23d9942e9f7..9c87757d255b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res2702", "accountName": "sto5009", "containerName": "container1631", - "If-Match": "\"8d59f825b721dd3\"", + "If-Match": "\"8d59f825b721dd3\"", "api-version": "2018-11-01", "monitor": "true" }, @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json index 3546dfdcbf0a..5369fc873df3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json index 90491ef9b7de..ed778614ed31 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json index 3d5fd50e80c4..73b2f4796c61 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json index e7c307faed58..701b30362e81 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json index ad8aa05f1a04..fdeada2f9e9f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json @@ -15,7 +15,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json index f3f25587065b..50c0a13cdb19 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json @@ -9,7 +9,8 @@ "parameters": { "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -84,7 +85,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -152,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json index 783b3da4a1a7..e1ad1c481f80 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json index fdae16487cb1..7e9bc9b99131 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json index dc0f8f08eeb4..85e257ef2b1c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json index f318cef23fa5..efb820e8982b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json @@ -61,4 +61,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json index 0c1cacc118a5..7f09d3f8e142 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json index 8d58ea35a4ef..95017465fd05 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json index 0692c44bbb6d..90714af45975 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json index 61ac5bc15cc7..e5cd3b2db8bc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json index e2dde7a3e15e..4e7b8ef3a975 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json index b7cdecd1b691..88e76ae16c42 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json @@ -181,4 +181,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json index d36038171133..fcba3070ca13 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json index b6724e0a3055..a20ec45730a9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json index 4985a252eaab..6797c1b9c9c7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json index 968a8b130938..a93494b4ab67 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json index 5c2edb036ba5..5489e1a3b34c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json index eb21a8d05093..3d2ea2945b69 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRevokeUserDelegationKeys.json index a25d564a2006..9f34dd1c12d5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRevokeUserDelegationKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRevokeUserDelegationKeys.json @@ -1,12 +1,11 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4167", - "accountName": "sto3539", - "api-version": "2018-11-01" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4167", + "accountName": "sto3539", + "api-version": "2018-11-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json index a762ef8ffc62..b139d4cd1f7a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json @@ -97,4 +97,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json index b871c1eef657..e24fab303572 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json index 7cbfca724e64..8f187ea9c8d5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json @@ -450,7 +450,9 @@ "operationId": "Usages_ListByLocation", "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"} + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } }, "parameters": [ { @@ -618,7 +620,9 @@ "operationId": "ManagementPolicies_Get", "description": "Gets the managementpolicy associated with the specified storage account.", "x-ms-examples": { - "StorageAccountGetManagementPolicies": { "$ref": "./examples/StorageAccountGetManagementPolicy.json" } + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } }, "parameters": [ { @@ -653,7 +657,9 @@ "operationId": "ManagementPolicies_CreateOrUpdate", "description": "Sets the managementpolicy to the specified storage account.", "x-ms-examples": { - "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" } + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + } }, "parameters": [ { @@ -697,7 +703,9 @@ "operationId": "ManagementPolicies_Delete", "description": "Deletes the managementpolicy associated with the specified storage account.", "x-ms-examples": { - "StorageAccountDeleteManagementPolicies": { "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" } + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } }, "parameters": [ { @@ -2153,14 +2161,16 @@ "description": "Returns the date and time the ManagementPolicies was last modified." }, "policy": { - "$ref": "#/definitions/ManagementPolicySchema", - "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + "$ref": "#/definitions/ManagementPolicySchema", + "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } }, - "required": ["policy"], + "required": [ + "policy" + ], "description": "The Storage Account ManagementPolicy properties." }, - "ManagementPolicySchema":{ + "ManagementPolicySchema": { "properties": { "rules": { "type": "array", @@ -2170,7 +2180,9 @@ "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } }, - "required": ["rules"], + "required": [ + "rules" + ], "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." }, "ManagementPolicyRule": { @@ -2199,7 +2211,11 @@ "description": "An object that defines the Lifecycle rule." } }, - "required": ["name", "type", "definition"], + "required": [ + "name", + "type", + "definition" + ], "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name." }, "ManagementPolicyDefinition": { @@ -2213,7 +2229,9 @@ "description": "An object that defines the filter set." } }, - "required": ["actions"], + "required": [ + "actions" + ], "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set." }, "ManagementPolicyFilter": { @@ -2233,7 +2251,9 @@ "description": "An array of predefined enum values. Only blockBlob is supported." } }, - "required": [ "blobTypes" ], + "required": [ + "blobTypes" + ], "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. " }, "ManagementPolicyAction": { @@ -2252,8 +2272,8 @@ "ManagementPolicyBaseBlob": { "properties": { "tierToCool": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to cool storage. Support blobs currently at Hot tier" + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cool storage. Support blobs currently at Hot tier" }, "tierToArchive": { "$ref": "#/definitions/DateAfterModification", @@ -2283,7 +2303,9 @@ "description": "Integer value indicating the age in days after last modification" } }, - "required": ["daysAfterModificationGreaterThan"], + "required": [ + "daysAfterModificationGreaterThan" + ], "description": "Object to define the number of days after last modification." }, "DateAfterCreation": { @@ -2294,7 +2316,9 @@ "description": "Integer value indicating the age in days after creation" } }, - "required": ["daysAfterCreationGreaterThan"], + "required": [ + "daysAfterCreationGreaterThan" + ], "description": "Object to define the number of days after creation." } }, @@ -2326,12 +2350,12 @@ "required": true, "type": "string", "description": "The name of the Storage Account Management Policy. It should always be 'default'", - "enum":[ + "enum": [ "default" ], "x-ms-enum": { - "name": "ManagementPolicyName", - "modelAsString": true + "name": "ManagementPolicyName", + "modelAsString": true }, "x-ms-parameter-location": "method" } @@ -2354,4 +2378,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json index d78534f3aa55..a32fd0690501 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json @@ -1,25 +1,25 @@ - { - "swagger": "2.0", - "info": { - "version": "2019-04-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { - "put": { +{ + "swagger": "2.0", + "info": { + "version": "2019-04-01", + "title": "StorageManagementClient", + "description": "The Azure Storage Management API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { + "put": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_SetServiceProperties", "x-ms-examples": { @@ -49,23 +49,23 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "$ref": "#/definitions/BlobServiceProperties" }, "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules." } ], "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - }, - "get": { + }, + "get": { "tags": [ - "BlobService" + "BlobService" ], "operationId": "BlobServices_GetServiceProperties", "x-ms-examples": { @@ -92,1002 +92,1002 @@ } ], "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Blob service.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" + "200": { + "description": "OK -- returned the properties of a storage account’s Blob service.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } } - } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_List", + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + } + }, + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$skipToken", - "in": "query", - "type": "string", - "description": "Optional. Continuation token for the list operation." - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "string", - "description": "Optional. Specified maximum number of containers that can be included in the list." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, only container names starting with the filter will be listed." - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - }, - "200": { - "description": "OK -- The Container is already created.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$skipToken", + "in": "query", + "type": "string", + "description": "Optional. Continuation token for the list operation." + }, + { + "name": "$maxpagesize", + "in": "query", + "type": "string", + "description": "Optional. Specified maximum number of containers that can be included in the list." + }, + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "Optional. When specified, only container names starting with the filter will be listed." + } + ], + "responses": { + "200": { + "description": "OK -- List Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" } } }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } - }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Create", + "x-ms-examples": { + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" - } + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } + "description": "Properties of the blob container to create." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" } - }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" + ], + "responses": { + "201": { + "description": "Created -- Create Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." - }, - "204": { - "description": "No Content -- The Container not exist." + "200": { + "description": "OK -- The Container is already created.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - } + "patch": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Update", + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } + }, + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "name": "blobContainer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + "description": "Properties to update for the blob container." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Update Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer", + "description": "Properties of the updated blob container." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Get", + "x-ms-examples": { + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + }, + "description": "Gets properties of a specified container. ", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Delete", + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + }, + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete Container operation completed successfully." + }, + "204": { + "description": "No Content -- The Container not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_SetLegalHold", + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + } + }, + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be set to a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Set legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ClearLegalHold", + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "LegalHold", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } + "description": "The LegalHold property that will be clear from a blob container." + } + ], + "responses": { + "200": { + "description": "OK -- Clear legal hold tags for Container completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" } } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { + "put": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + } }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } + "get": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_GetImmutabilityPolicy", + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + }, + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } + "delete": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + }, + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_LockImmutabilityPolicy", + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + }, + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" + } } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + }, + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "#/parameters/ContainerName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." + }, + { + "name": "If-Match", + "in": "header", + "required": true, + "type": "string", + "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied." + } + ], + "responses": { + "200": { + "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" + "headers": { + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", + "type": "string" } } } } } }, - "definitions": { - "ContainerProperties": { - "properties": { - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "tags": [ + "BlobContainers" + ], + "operationId": "BlobContainers_Lease", + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" + } + }, + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." + { + "$ref": "./storage.json#/parameters/StorageAccountName" }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." + { + "$ref": "#/parameters/ContainerName" }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + "description": "Lease Container request body." } - }, - "required": [ - "immutabilityPeriodSinceCreationInDays" ], - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." + "responses": { + "200": { + "description": "OK -- Lease Container operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } } + } + } + } + }, + "definitions": { + "ContainerProperties": { + "properties": { + "publicAccess": { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + }, + "description": "Specifies whether data in the container may be accessed publicly and the level of access." }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the container was last modified." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." - }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." + "leaseStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." + "description": "The lease status of the container." + }, + "leaseState": { + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + "description": "Lease state of the container." + }, + "leaseDuration": { + "type": "string", + "readOnly": true, + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - } + "description": "A name-value pair to associate with the container as metadata." + }, + "immutabilityPolicy": { + "readOnly": true, + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "x-ms-client-name": "ImmutabilityPolicy", + "description": "The ImmutabilityPolicy property of the container." + }, + "legalHold": { + "readOnly": true, + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container." + }, + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." }, - "description": "An update history of the ImmutabilityPolicy of a blob container." + "hasImmutabilityPolicy": { + "type": "boolean", + "readOnly": true, + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." + } }, - "LegalHoldProperties": { + "description": "The properties of a container." + }, + "BlobContainer": { + "properties": { "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" - }, - "description": "The list of LegalHold tags of a blob container." - } + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties", + "description": "Properties of the blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "Properties of the blob container, including Id, resource name, resource type, Etag." + }, + "ImmutabilityPolicyProperty": { + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "description": "The immutability period for the blobs in the container since the policy creation, in days." }, - "description": "The LegalHold property of a blob container." + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true + }, + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." + } }, - "TagProperty": { + "required": [ + "immutabilityPeriodSinceCreationInDays" + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicyProperties": { + "properties": { "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." - }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "ImmutabilityPolicy Etag." + }, + "updateHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." + "description": "The ImmutabilityPolicy update history of the blob container." + } + }, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutabilityPolicy": { + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "x-ms-client-flatten": true, + "description": "The properties of an ImmutabilityPolicy of a blob container." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "required": [ + "properties" + ], + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." + }, + "UpdateHistoryProperty": { + "properties": { + "update": { + "type": "string", + "readOnly": true, + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "readOnly": true, + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the ImmutabilityPolicy was updated." }, - "description": "A tag of the LegalHold of a blob container." + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." + } }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - } + "description": "An update history of the ImmutabilityPolicy of a blob container." + }, + "LegalHoldProperties": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/TagProperty" + }, + "description": "The list of LegalHold tags of a blob container." + } }, - "ListContainerItem": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } + "description": "The LegalHold property of a blob container." + }, + "TagProperty": { + "properties": { + "tag": { + "type": "string", + "readOnly": true, + "description": "The tag value." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Returns the date and time the tag was added." + }, + "objectIdentifier": { + "type": "string", + "readOnly": true, + "description": "Returns the Object ID of the user who added the tag." + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Returns the Tenant ID that issued the token for the user who added the tag." + }, + "upn": { + "type": "string", + "readOnly": true, + "description": "Returns the User Principal Name of the user who added the tag." + } }, - "ListContainerItems": { + "description": "A tag of the LegalHold of a blob container." + }, + "LegalHold": { + "properties": { + "hasLegalHold": { + "type": "boolean", + "readOnly": true, + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." + }, + "tags": { + "type": "array", + "items": { + "type": "string", + "maxLength": 23, + "minLength": 3 + }, + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." + } + }, + "required": [ + "tags" + ], + "description": "The LegalHold property of a blob container." + }, + "ListContainerItem": { + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "List of blobs containers returned.", - "readOnly": true + "$ref": "#/definitions/ContainerProperties", + "x-ms-client-flatten": true, + "description": "The blob container properties be listed out." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The blob container properties be listed out." + }, + "ListContainerItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ListContainerItem" }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", - "readOnly": true - } + "description": "List of blobs containers returned.", + "readOnly": true }, - "description": "Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers." + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } }, - "BlobServiceProperties": { - "properties": { + "description": "Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers." + }, + "BlobServiceProperties": { + "properties": { "properties": { "properties": { "cors": { @@ -1111,48 +1111,48 @@ "x-ms-client-name": "BlobServiceProperties", "description": "The properties of a storage account’s Blob service." } - }, - "allOf": [ + }, + "allOf": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } - ], - "description": "The properties of a storage account’s Blob service." - }, - "DeleteRetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." - }, - "days": { - "type": "integer", - "minimum": 1, - "maximum": 365, - "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." - } + ], + "description": "The properties of a storage account’s Blob service." + }, + "DeleteRetentionPolicy": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service." }, - "description": "The blob service properties for soft delete." + "days": { + "type": "integer", + "minimum": 1, + "maximum": 365, + "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365." + } }, - "CorsRules": { - "properties": { - "corsRules": { - "type": "array", - "items": { - "description": "Specifies a CORS rule for the Blob service. ", - "$ref": "#/definitions/CorsRule" - }, - "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " - } - }, - "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + "description": "The blob service properties for soft delete." + }, + "CorsRules": { + "properties": { + "corsRules": { + "type": "array", + "items": { + "description": "Specifies a CORS rule for the Blob service. ", + "$ref": "#/definitions/CorsRule" + }, + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " + } }, - "CorsRule": { - "properties": { + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "CorsRule": { + "properties": { "allowedOrigins": { "type": "array", "items": { - "type": "string" + "type": "string" }, "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" }, @@ -1160,7 +1160,15 @@ "type": "array", "items": { "type": "string", - "enum": ["DELETE","GET","HEAD","MERGE","POST","OPTIONS","PUT"] + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT" + ] }, "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." }, @@ -1182,115 +1190,115 @@ }, "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." } - }, - "required": [ - "allowedOrigins", - "allowedMethods", - "maxAgeInSeconds", - "exposedHeaders", - "allowedHeaders" - ], - "description": "Specifies a CORS rule for the Blob service." }, - "LeaseContainerRequest": { - "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." - }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." - }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } + "required": [ + "allowedOrigins", + "allowedMethods", + "maxAgeInSeconds", + "exposedHeaders", + "allowedHeaders" + ], + "description": "Specifies a CORS rule for the Blob service." + }, + "LeaseContainerRequest": { + "properties": { + "action": { + "type": "string", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "description": "Specifies the lease action. Can be one of the available actions." }, - "required": [ - "action" - ], - "description": "Lease Container request schema." - }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { - "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." - }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." }, - "description": "Lease Container response schema." - } - }, - "parameters": { - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" + "breakPeriod": { + "type": "integer", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } }, - "BlobServicesName": { - "name": "BlobServicesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", - "enum":[ - "default" - ], - "x-ms-parameter-location": "method" - } + "required": [ + "action" + ], + "description": "Lease Container request schema." }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "LeaseContainerResponse": { + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." } - } + }, + "description": "Lease Container response schema." + } + }, + "parameters": { + "ContainerName": { + "name": "containerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "maxLength": 63, + "minLength": 3, + "x-ms-parameter-location": "method" + }, + "ImmutabilityPolicyName": { + "name": "immutabilityPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "BlobServicesName": { + "name": "BlobServicesName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - ] - } \ No newline at end of file + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersClearLegalHold.json index b2570af57688..df3912099039 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersClearLegalHold.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json index 7dd0670a692d..154348285c9d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersExtendImmutabilityPolicy.json index 3ee0c02e4de7..d7d92460877b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res6238", "accountName": "sto232", "containerName": "container5023", - "If-Match": "\"8d59f830d0c3bf9\"", + "If-Match": "\"8d59f830d0c3bf9\"", "api-version": "2019-04-01", "monitor": "true", "parameters": { @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGet.json index 8439ef0032a0..bded3406a619 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGet.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGetImmutabilityPolicy.json index b426f1f91a54..34820f079670 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json index 0319d8360771..3ed6a8c894de 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json index 6bb05733ea97..d200272d1e46 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersList.json index 3cd0f27d6e19..4452819927df 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersList.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLockImmutabilityPolicy.json index daf6b9c98525..a1cce2fe16a2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -4,7 +4,7 @@ "resourceGroupName": "res2702", "accountName": "sto5009", "containerName": "container1631", - "If-Match": "\"8d59f825b721dd3\"", + "If-Match": "\"8d59f825b721dd3\"", "api-version": "2019-04-01", "monitor": "true" }, @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPatch.json index dde2ce096e94..e9d65c281902 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPatch.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPut.json index e1f4ec3a5730..eb8d409deaaf 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPut.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPutImmutabilityPolicy.json index c6446ccbcb41..1914972062fd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersSetLegalHold.json index b95902c7bcd7..85241d1e1bd6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersSetLegalHold.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesGet.json index 8b837c988559..9b03d54608e3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesGet.json @@ -15,7 +15,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesPut.json index 2cef4975700b..45231ea77eef 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesPut.json @@ -9,7 +9,8 @@ "parameters": { "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -85,7 +86,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -154,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/OperationsList.json index 8b1b070b4b37..71fc1443767e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/OperationsList.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/SKUList.json index e8071caa9efc..d686f6946cdd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/SKUList.json @@ -6451,4 +6451,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCheckNameAvailability.json index 56e20783b70c..a0383f8ad2da 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json index ffee24ff78e5..10e2766a98be 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json @@ -59,4 +59,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json index 0cf21b90e2fa..cb13f44a7518 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json index fe12a58b3d2e..1ea0398fbaa5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json @@ -15,4 +15,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json index 4413caa1f858..1e158037cd98 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json @@ -14,4 +14,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetManagementPolicy.json index b27bbdd903e4..7d86f343b632 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetManagementPolicy.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetProperties.json index 9124bb1f3fca..4ad6337bcbb3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountGetProperties.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountList.json index 3a5bf98c1a4f..3a597e96cd15 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountList.json @@ -180,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListAccountSAS.json index be42a4099b2e..ffabd4cac596 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListAccountSAS.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListByResourceGroup.json index 820c09ae4e73..1bb75e559d88 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListByResourceGroup.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListKeys.json index f30b49ee1c6f..df5d8ffd1b10 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListKeys.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListLocationUsage.json index cddef6ef4f8f..5419aabfdeb7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListLocationUsage.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListServiceSAS.json index fcad3f840e2e..0d80aba87c1c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountListServiceSAS.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRegenerateKey.json index 611e81de8418..1c5669cb105d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRegenerateKey.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRevokeUserDelegationKeys.json index 9d5dbe286b18..d518f1604cb6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRevokeUserDelegationKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountRevokeUserDelegationKeys.json @@ -1,12 +1,11 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4167", - "accountName": "sto3539", - "api-version": "2019-04-01" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4167", + "accountName": "sto3539", + "api-version": "2019-04-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountSetManagementPolicy.json index 74ea69042196..b8f00f58185e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountSetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountSetManagementPolicy.json @@ -97,4 +97,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountUpdate.json index 858b7ea4098a..bf295ad6ecca 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountUpdate.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json index 847880cdc5d3..90099aa87c85 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json @@ -450,7 +450,9 @@ "operationId": "Usages_ListByLocation", "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"} + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } }, "parameters": [ { @@ -618,7 +620,9 @@ "operationId": "ManagementPolicies_Get", "description": "Gets the managementpolicy associated with the specified storage account.", "x-ms-examples": { - "StorageAccountGetManagementPolicies": { "$ref": "./examples/StorageAccountGetManagementPolicy.json" } + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } }, "parameters": [ { @@ -653,7 +657,9 @@ "operationId": "ManagementPolicies_CreateOrUpdate", "description": "Sets the managementpolicy to the specified storage account.", "x-ms-examples": { - "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" } + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + } }, "parameters": [ { @@ -697,7 +703,9 @@ "operationId": "ManagementPolicies_Delete", "description": "Deletes the managementpolicy associated with the specified storage account.", "x-ms-examples": { - "StorageAccountDeleteManagementPolicies": { "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" } + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } }, "parameters": [ { @@ -1328,7 +1336,9 @@ } } }, - "required": ["directoryServiceOptions"], + "required": [ + "directoryServiceOptions" + ], "description": "Settings for Azure Files identity based authentication." }, "StorageAccountPropertiesCreateParameters": { @@ -2170,14 +2180,16 @@ "description": "Returns the date and time the ManagementPolicies was last modified." }, "policy": { - "$ref": "#/definitions/ManagementPolicySchema", - "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + "$ref": "#/definitions/ManagementPolicySchema", + "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } }, - "required": ["policy"], + "required": [ + "policy" + ], "description": "The Storage Account ManagementPolicy properties." }, - "ManagementPolicySchema":{ + "ManagementPolicySchema": { "properties": { "rules": { "type": "array", @@ -2187,7 +2199,9 @@ "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." } }, - "required": ["rules"], + "required": [ + "rules" + ], "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." }, "ManagementPolicyRule": { @@ -2216,7 +2230,11 @@ "description": "An object that defines the Lifecycle rule." } }, - "required": ["name", "type", "definition"], + "required": [ + "name", + "type", + "definition" + ], "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name." }, "ManagementPolicyDefinition": { @@ -2230,7 +2248,9 @@ "description": "An object that defines the filter set." } }, - "required": ["actions"], + "required": [ + "actions" + ], "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set." }, "ManagementPolicyFilter": { @@ -2250,7 +2270,9 @@ "description": "An array of predefined enum values. Only blockBlob is supported." } }, - "required": [ "blobTypes" ], + "required": [ + "blobTypes" + ], "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. " }, "ManagementPolicyAction": { @@ -2269,8 +2291,8 @@ "ManagementPolicyBaseBlob": { "properties": { "tierToCool": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to cool storage. Support blobs currently at Hot tier" + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cool storage. Support blobs currently at Hot tier" }, "tierToArchive": { "$ref": "#/definitions/DateAfterModification", @@ -2300,7 +2322,9 @@ "description": "Integer value indicating the age in days after last modification" } }, - "required": ["daysAfterModificationGreaterThan"], + "required": [ + "daysAfterModificationGreaterThan" + ], "description": "Object to define the number of days after last modification." }, "DateAfterCreation": { @@ -2311,7 +2335,9 @@ "description": "Integer value indicating the age in days after creation" } }, - "required": ["daysAfterCreationGreaterThan"], + "required": [ + "daysAfterCreationGreaterThan" + ], "description": "Object to define the number of days after creation." } }, @@ -2343,12 +2369,12 @@ "required": true, "type": "string", "description": "The name of the Storage Account Management Policy. It should always be 'default'", - "enum":[ + "enum": [ "default" ], "x-ms-enum": { - "name": "ManagementPolicyName", - "modelAsString": true + "name": "ManagementPolicyName", + "modelAsString": true }, "x-ms-parameter-location": "method" } @@ -2371,4 +2397,4 @@ ] } ] -} \ No newline at end of file +} From 792ae41c452487ba23d19e10a9e178de003df969 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 26 Jun 2019 12:39:02 -0400 Subject: [PATCH 157/495] chore: jsonfmt profile (#6458) Ran `jsonfmt -w "profile/*.json"` --- profile/2019-07-01-profile.json | 5470 +++++++++++++++---------------- 1 file changed, 2735 insertions(+), 2735 deletions(-) diff --git a/profile/2019-07-01-profile.json b/profile/2019-07-01-profile.json index 9e8054633e58..7e73f48c4980 100644 --- a/profile/2019-07-01-profile.json +++ b/profile/2019-07-01-profile.json @@ -1,2742 +1,2742 @@ { - "info": { - "name": "2019-07-01-profile", - "description": "Profile definition targeted for hybrid applications that could run on azure gov general availability version and azure cloud" + "info": { + "name": "2019-07-01-profile", + "description": "Profile definition targeted for hybrid applications that could run on azure gov general availability version and azure cloud" + }, + "resourcemanager": { + "Microsoft.ADHybridHealthService": { + "2014-01-01": { + "services": [ + "AzureGov" + ], + "addsservices": [ + "AzureGov" + ], + "configuration": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "agents": [ + "AzureGov" + ], + "aadsupportcases": [ + "AzureGov" + ], + "reports": [ + "AzureGov" + ], + "servicehealthmetrics": [ + "AzureGov" + ], + "logs": [ + "AzureGov" + ], + "anonymousapiusers": [ + "AzureGov" + ] + } }, - "resourcemanager": { - "Microsoft.ADHybridHealthService": { - "2014-01-01": { - "services": [ - "AzureGov" - ], - "addsservices": [ - "AzureGov" - ], - "configuration": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "agents": [ - "AzureGov" - ], - "aadsupportcases": [ - "AzureGov" - ], - "reports": [ - "AzureGov" - ], - "servicehealthmetrics": [ - "AzureGov" - ], - "logs": [ - "AzureGov" - ], - "anonymousapiusers": [ - "AzureGov" - ] - } + "Microsoft.Advisor": { + "2017-04-19": { + "suppressions": [ + "AzureGov", + "AzureChina" + ], + "configurations": [ + "AzureGov", + "AzureChina" + ], + "recommendations": [ + "AzureGov", + "AzureChina" + ], + "generateRecommendations": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.AlertsManagement": { + "2018-05-05-preview": { + "alerts": [ + "AzureGov", + "AzureChina" + ], + "alertsSummary": [ + "AzureGov", + "AzureChina" + ], + "smartGroups": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "Microsoft.AnalysisServices": { + "2017-08-01-beta": { + "servers": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/operationresults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationstatuses": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ApiManagement": { + "2019-01-01": { + "service": [ + "AzureGov", + "AzureChina" + ], + "validateServiceName": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "reportFeedback": [ + "AzureGov", + "AzureChina" + ], + "checkFeedbackRequired": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Authorization": { + "2018-07-01": { + "roleDefinitions": [ + "AzureGov", + "AzureChina" + ], + "permissions": [ + "AzureGov", + "AzureChina" + ], + "providerOperations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-06-01": { + "classicAdministrators": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-07-01-preview": { + "denyAssignments": [ + "AzureGov" + ] + }, + "2017-04-01": { + "locks": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-05-01": { + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-05-01": { + "policyDefinitions": [ + "AzureGov", + "AzureChina" + ], + "policySetDefinitions": [ + "AzureGov", + "AzureChina" + ], + "policyAssignments": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-01-preview": { + "checkAccess": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Automation": { + "2018-06-30": { + "automationAccounts": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/runbooks": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/configurations": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/webhooks": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "automationAccounts/softwareUpdateConfigurations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.AzureStack": { + "2017-06-01": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "registrations": [ + "AzureGov", + "AzureChina" + ], + "registrations/products": [ + "AzureGov", + "AzureChina" + ], + "registrations/customerSubscriptions": [ + "AzureGov" + ] + } + }, + "Microsoft.Batch": { + "2019-04-01": { + "batchAccounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/quotas": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/accountOperationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.BatchAI": { + "2018-03-01": { + "clusters": [ + "AzureGov" + ], + "jobs": [ + "AzureGov" + ], + "fileservers": [ + "AzureGov" + ] + }, + "2018-05-01": { + "workspaces": [ + "AzureGov" + ], + "workspaces/clusters": [ + "AzureGov" + ], + "workspaces/fileservers": [ + "AzureGov" + ], + "workspaces/experiments": [ + "AzureGov" + ], + "workspaces/experiments/jobs": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operationresults": [ + "AzureGov" + ], + "locations/operationstatuses": [ + "AzureGov" + ], + "locations/usages": [ + "AzureGov" + ] + } + }, + "Microsoft.BotService": { + "2018-07-12": { + "botServices": [ + "AzureGov" + ], + "botServices/channels": [ + "AzureGov" + ], + "botServices/connections": [ + "AzureGov" + ], + "listAuthServiceProviders": [ + "AzureGov" + ], + "checkNameAvailability": [ + "AzureGov" + ], + "languages": [ + "AzureGov" + ], + "templates": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ] + } + }, + "Microsoft.Cache": { + "2018-03-01": { + "Redis": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "RedisConfigDefinition": [ + "AzureChina" + ] + } + }, + "Microsoft.CognitiveServices": { + "2017-04-18": { + "accounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkSkuAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Compute": { + "2018-10-01": { + "availabilitySets": [ + "AzureGov", + "AzureChina" + ], + "virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "virtualMachines/extensions": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/extensions": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/vmSizes": [ + "AzureGov", + "AzureChina" + ], + "locations/runCommands": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/systemInfo": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualMachines": [ + "AzureGov", + "AzureChina" + ], + "locations/publishers": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "restorePointCollections": [ + "AzureGov", + "AzureChina" + ], + "restorePointCollections/restorePoints": [ + "AzureGov", + "AzureChina" + ], + "locations/capsoperations": [ + "AzureGov", + "AzureChina" + ], + "galleries": [ + "AzureGov", + "AzureChina" + ], + "galleries/images": [ + "AzureGov", + "AzureChina" + ], + "galleries/images/versions": [ + "AzureGov", + "AzureChina" + ], + "images": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/virtualMachines/networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "virtualMachineScaleSets/publicIPAddresses": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-15-preview": { + "sharedVMImages": [ + "AzureGov", + "AzureChina" + ], + "sharedVMImages/versions": [ + "AzureGov", + "AzureChina" + ], + "locations/artifactPublishers": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-30": { + "disks": [ + "AzureGov", + "AzureChina" + ], + "snapshots": [ + "AzureGov", + "AzureChina" + ], + "locations/diskoperations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Consumption": { + "2018-10-01": { + "CostTags": [ + "AzureGov" + ], + "products": [ + "AzureGov" + ] + }, + "2018-11-01-preview": { + "credits": [ + "AzureGov" + ], + "events": [ + "AzureGov" + ], + "lots": [ + "AzureGov" + ] + } + }, + "Microsoft.ContainerRegistry": { + "2017-10-01": { + "registries": [ + "AzureGov", + "AzureChina" + ], + "registries/importImage": [ + "AzureGov", + "AzureChina" + ], + "registries/replications": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/ping": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/getCallbackConfig": [ + "AzureGov", + "AzureChina" + ], + "registries/webhooks/listEvents": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "registries/listCredentials": [ + "AzureGov", + "AzureChina" + ], + "registries/regenerateCredential": [ + "AzureGov", + "AzureChina" + ], + "registries/listUsages": [ + "AzureGov", + "AzureChina" + ], + "registries/eventGridFilters": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "swagger": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-03-01": { + "registries/GetCredentials": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-06-27-preview": { + "registries/regenerateCredentials": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.CostManagement": { + "2018-05-31": { + "Reportconfigs": [ + "AzureGov" + ] + } + }, + "Microsoft.DataBox": { + "2018-01-01": { + "jobs": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/validateAddress": [ + "AzureGov" + ], + "locations/expresspods": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/operationresults": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations/serviceHealth": [ + "AzureGov" + ], + "locations/availableSkus": [ + "AzureGov" + ] + } + }, + "Microsoft.DataFactory": { + "2018-06-01": { + "factories": [ + "AzureGov", + "AzureChina" + ], + "factories/integrationRuntimes": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/configureFactoryRepo": [ + "AzureGov", + "AzureChina" + ], + "locations/getFeatureValue": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DataMigration": { + "2018-07-15-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "services": [ + "AzureGov", + "AzureChina" + ], + "services/projects": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationStatuses": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "slots": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DBforMySQL": { + "2017-12-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableServers": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/azureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/performanceTiers": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DBforPostgreSQL": { + "2017-12-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableServers": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/azureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/performanceTiers": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-12-01": { + "locations/securityAlertPoliciesAzureAsyncOperation": [ + "AzureGov" + ], + "locations/securityAlertPoliciesOperationResults": [ + "AzureGov" + ] + } + }, + "Microsoft.Devices": { + "2018-12-01-preview": { + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "usages": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ], + "IotHubs": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.DevTestLab": { + "2018-10-15-preview": { + "labs": [ + "AzureGov" + ], + "schedules": [ + "AzureGov" + ], + "labs/virtualMachines": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operations": [ + "AzureGov" + ] + } + }, + "Microsoft.EventHub": { + "2018-01-01-preview": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "clusters": [ + "AzureChina" + ] + }, + "2015-08-01": { + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-04-01": { + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "sku": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Features": { + "2015-12-01": { + "features": [ + "AzureGov", + "AzureChina" + ], + "providers": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ImportExport": { + "2016-11-01": { + "jobs": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "microsoft.insights": { + "2018-05-01-preview": { + "components": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-05-01": { + "webtests": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-04-16": { + "scheduledqueryrules": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01": { + "components/pricingPlans": [ + "AzureGov", + "AzureChina" + ], + "migrateToNewPricingModel": [ + "AzureGov", + "AzureChina" + ], + "rollbackToLegacyPricingModel": [ + "AzureGov", + "AzureChina" + ], + "listMigrationdate": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-03-01": { + "logprofiles": [ + "AzureGov", + "AzureChina" + ], + "alertrules": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-03-01": { + "metricalerts": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-04-01": { + "autoscalesettings": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "eventCategories": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-03-01-preview": { + "eventtypes": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-05-01-preview": { + "diagnosticSettings": [ + "AzureGov", + "AzureChina" + ], + "diagnosticSettingsCategories": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-01-01": { + "metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "metrics": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-07-01": { + "logDefinitions": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-09-01": { + "actiongroups": [ + "AzureGov", + "AzureChina" + ], + "baseline": [ + "AzureGov" + ], + "calculatebaseline": [ + "AzureGov" + ] + }, + "2017-04-01": { + "activityLogAlerts": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-06-17-preview": { + "workbooks": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-08-01-preview": { + "logs": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.KeyVault": { + "2018-02-14-preview": { + "vaults": [ + "AzureGov", + "AzureChina" + ], + "vaults/secrets": [ + "AzureGov", + "AzureChina" + ], + "vaults/accessPolicies": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "deletedVaults": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/deletedVaults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Logic": { + "2018-07-01-preview": { + "integrationAccounts": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.MarketplaceOrdering": { + "2015-06-01": { + "agreements": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "offertypes": [ + "AzureGov" + ] + } + }, + "Microsoft.Media": { + "2018-07-01": { + "mediaservices": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/assets": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/contentKeyPolicies": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingLocators": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingPolicies": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/transforms": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/transforms/jobs": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingEndpoints": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEvents": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEvents/liveOutputs": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/streamingEndpointOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveEventOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/liveOutputOperations": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/assets/assetFilters": [ + "AzureGov", + "AzureChina" + ], + "mediaservices/accountFilters": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-10-01": { + "checknameavailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Migrate": { + "2018-02-02": { + "projects": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/assessmentOptions": [ + "AzureGov" + ] + } + }, + "Microsoft.Network": { + "2019-02-01": { + "virtualNetworks": [ + "AzureGov", + "AzureChina" + ], + "publicIPAddresses": [ + "AzureGov", + "AzureChina" + ], + "networkInterfaces": [ + "AzureGov", + "AzureChina" + ], + "privateEndpoints": [ + "AzureGov", + "AzureChina" + ], + "loadBalancers": [ + "AzureGov", + "AzureChina" + ], + "networkSecurityGroups": [ + "AzureGov", + "AzureChina" + ], + "applicationSecurityGroups": [ + "AzureGov", + "AzureChina" + ], + "serviceEndpointPolicies": [ + "AzureGov", + "AzureChina" + ], + "networkIntentPolicies": [ + "AzureGov", + "AzureChina" + ], + "routeTables": [ + "AzureGov", + "AzureChina" + ], + "publicIPPrefixes": [ + "AzureGov", + "AzureChina" + ], + "ddosCustomPolicies": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers/connectionMonitors": [ + "AzureGov", + "AzureChina" + ], + "networkWatchers/pingMeshes": [ + "AzureGov", + "AzureChina" + ], + "virtualNetworkGateways": [ + "AzureGov", + "AzureChina" + ], + "localNetworkGateways": [ + "AzureGov", + "AzureChina" + ], + "connections": [ + "AzureGov", + "AzureChina" + ], + "applicationGateways": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayWebApplicationFirewallPolicies": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/CheckDnsNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkAvailableEndpointServices": [ + "AzureGov", + "AzureChina" + ], + "locations/availableDelegations": [ + "AzureGov", + "AzureChina" + ], + "locations/serviceTags": [ + "AzureGov", + "AzureChina" + ], + "locations/availablePrivateEndpointResources": [ + "AzureGov", + "AzureChina" + ], + "locations/supportedVirtualMachineSizes": [ + "AzureGov", + "AzureChina" + ], + "locations/checkAcceleratedNetworkingSupport": [ + "AzureGov", + "AzureChina" + ], + "locations/validateResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "locations/setResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "locations/effectiveResourceOwnership": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "expressRouteCircuits": [ + "AzureGov", + "AzureChina" + ], + "expressRouteCrossConnections": [ + "AzureGov", + "AzureChina" + ], + "expressRouteServiceProviders": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableWafRuleSets": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableSslOptions": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableServerVariables": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableRequestHeaders": [ + "AzureGov", + "AzureChina" + ], + "applicationGatewayAvailableResponseHeaders": [ + "AzureGov", + "AzureChina" + ], + "routeFilters": [ + "AzureGov", + "AzureChina" + ], + "bgpServiceCommunities": [ + "AzureGov", + "AzureChina" + ], + "azureFirewalls": [ + "AzureGov", + "AzureChina" + ], + "azureFirewallFqdnTags": [ + "AzureGov", + "AzureChina" + ], + "virtualNetworkTaps": [ + "AzureGov", + "AzureChina" + ], + "privateLinkServices": [ + "AzureGov", + "AzureChina" + ], + "ddosProtectionPlans": [ + "AzureGov", + "AzureChina" + ], + "networkProfiles": [ + "AzureGov", + "AzureChina" + ], + "locations/bareMetalTenants": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-05-01": { + "dnszones": [ + "AzureGov", + "AzureChina" + ], + "dnsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "dnsOperationStatuses": [ + "AzureGov", + "AzureChina" + ], + "getDnsResourceReference": [ + "AzureGov", + "AzureChina" + ], + "internalNotify": [ + "AzureGov", + "AzureChina" + ], + "dnszones/A": [ + "AzureGov", + "AzureChina" + ], + "dnszones/AAAA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/CNAME": [ + "AzureGov", + "AzureChina" + ], + "dnszones/PTR": [ + "AzureGov", + "AzureChina" + ], + "dnszones/MX": [ + "AzureGov", + "AzureChina" + ], + "dnszones/TXT": [ + "AzureGov", + "AzureChina" + ], + "dnszones/SRV": [ + "AzureGov", + "AzureChina" + ], + "dnszones/SOA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/NS": [ + "AzureGov", + "AzureChina" + ], + "dnszones/CAA": [ + "AzureGov", + "AzureChina" + ], + "dnszones/recordsets": [ + "AzureGov", + "AzureChina" + ], + "dnszones/all": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-08-01": { + "trafficmanagerprofiles": [ + "AzureGov", + "AzureChina" + ], + "checkTrafficManagerNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "trafficManagerGeographicHierarchies": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.NotificationHubs": { + "2017-04-01": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "namespaces/notificationHubs": [ + "AzureGov", + "AzureChina" + ], + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-03-01": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.OperationalInsights": { + "2015-03-20": { + "linkTargets": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.OperationsManagement": { + "2015-11-01-preview": { + "solutions": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-08-21-preview": { + "views": [ + "AzureChina" + ] + } + }, + "Microsoft.PolicyInsights": { + "2018-04-04": { + "policyEvents": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-07-01-preview": { + "policyStates": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "asyncOperationResults": [ + "AzureGov", + "AzureChina" + ], + "remediations": [ + "AzureGov", + "AzureChina" + ], + "policyTrackedResources": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Portal": { + "2018-10-01-preview": { + "dashboards": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-08-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.PowerBI": { + "2016-01-29": { + "workspaceCollections": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.PowerBIDedicated": { + "2017-10-01": { + "capacities": [ + "AzureGov", + "AzureChina" + ], + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "locations/operationresults": [ + "AzureGov", + "AzureChina" + ], + "locations/operationstatuses": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-01-01-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.RecoveryServices": { + "2016-08-10": { + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2016-06-01": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/backupStatus": [ + "AzureGov", + "AzureChina" + ], + "locations/allocatedStamp": [ + "AzureGov", + "AzureChina" + ], + "locations/allocateStamp": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-01-10": { + "locations/checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-07-01": { + "locations/backupValidateFeatures": [ + "AzureGov", + "AzureChina" + ], + "locations/backupPreValidateProtection": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Relay": { + "2017-04-01": { + "namespaces": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ResourceHealth": { + "2017-07-01": { + "availabilityStatuses": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-01-01": { + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Resources": { + "2016-09-01": { + "tenants": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "providers": [ + "AzureGov", + "AzureChina" + ], + "checkresourcename": [ + "AzureGov", + "AzureChina" + ], + "resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/providers": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/operationresults": [ + "AzureGov", + "AzureChina" + ], + "resourceGroups": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resourceGroups": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/resourcegroups/resources": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/locations": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/tagnames": [ + "AzureGov", + "AzureChina" + ], + "subscriptions/tagNames/tagValues": [ + "AzureGov", + "AzureChina" + ], + "deployments": [ + "AzureGov", + "AzureChina" + ], + "deployments/operations": [ + "AzureGov", + "AzureChina" + ], + "links": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Scheduler": { + "2016-03-01": { + "jobcollections": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "operationResults": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Search": { + "2015-08-19": { + "searchServices": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "resourceHealthMetadata": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-02-28": { + "checkServiceNameAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ServiceBus": { + "2018-01-01-preview": { + "namespaces": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-04-01": { + "namespaces/authorizationrules": [ + "AzureGov" + ], + "namespaces/queues": [ + "AzureGov" + ], + "namespaces/queues/authorizationrules": [ + "AzureGov" + ], + "namespaces/topics": [ + "AzureGov" + ], + "namespaces/topics/authorizationrules": [ + "AzureGov" + ], + "namespaces/topics/subscriptions": [ + "AzureGov" + ], + "namespaces/topics/subscriptions/rules": [ + "AzureGov" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "sku": [ + "AzureGov", + "AzureChina" + ], + "premiumMessagingRegions": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-08-01": { + "checkNamespaceAvailability": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.ServiceFabric": { + "2018-02-01": { + "clusters": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/clusterVersions": [ + "AzureGov", + "AzureChina" + ], + "locations/operations": [ + "AzureGov", + "AzureChina" + ], + "locations/operationResults": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Solutions": { + "2018-09-01-preview": { + "applications": [ + "AzureGov" + ], + "applicationDefinitions": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/operationstatuses": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ] + } + }, + "Microsoft.Sql": { + "2017-03-01-preview": { + "operations": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/backupLongTermRetentionPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/automaticTuning": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/automaticTuning": [ + "AzureGov", + "AzureChina" + ], + "servers/securityAlertPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/extendedAuditingSettings": [ + "AzureGov", + "AzureChina" + ], + "locations/extendedAuditingSettingsAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/extendedAuditingSettingsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents": [ + "AzureGov", + "AzureChina" + ], + "locations/jobAgentOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/jobAgentAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs/steps": [ + "AzureGov", + "AzureChina" + ], + "servers/jobAgents/jobs/executions": [ + "AzureGov", + "AzureChina" + ], + "servers/dnsAliases": [ + "AzureGov", + "AzureChina" + ], + "locations/dnsAliasAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/dnsAliasOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseRestoreAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessment": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/administrators": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/databases": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseRestoreAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedDatabaseRestoreOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedServerSecurityAlertPoliciesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedServerSecurityAlertPoliciesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/securityAlertPoliciesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/securityAlertPoliciesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/administratorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/administratorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionServers": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackups": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/longTermRetentionBackupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedShortTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedShortTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ] + }, + "2014-04-01-preview": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "servers/serviceObjectives": [ + "AzureGov", + "AzureChina" + ], + "servers/communicationLinks": [ + "AzureGov" + ], + "servers/administrators": [ + "AzureGov", + "AzureChina" + ], + "servers/administratorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/restorableDroppedDatabases": [ + "AzureGov", + "AzureChina" + ], + "servers/recoverableDatabases": [ + "AzureGov", + "AzureChina" + ], + "servers/import": [ + "AzureGov", + "AzureChina" + ], + "servers/importExportOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/operationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/databaseSecurityPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/auditingPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/recommendedElasticPools": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/auditingPolicies": [ + "AzureGov" + ], + "servers/databases/connectionPolicies": [ + "AzureGov" + ], + "servers/connectionPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/dataMaskingPolicies": [ + "AzureGov" + ], + "servers/databases/dataMaskingPolicies/rules": [ + "AzureGov" + ], + "servers/disasterRecoveryConfiguration": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/metrics": [ + "AzureGov", + "AzureChina" + ], + "servers/aggregatedDatabaseMetrics": [ + "AzureGov" + ], + "servers/elasticpools/metrics": [ + "AzureGov" + ], + "servers/elasticpools/metricdefinitions": [ + "AzureGov" + ], + "servers/databases/topQueries": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/topQueries/queryText": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/extensions": [ + "AzureGov", + "AzureChina" + ] + }, + "2018-06-01-preview": { + "locations/capabilities": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/databaseOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/serverKeyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverKeyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/keys": [ + "AzureGov", + "AzureChina" + ], + "servers/encryptionProtector": [ + "AzureGov", + "AzureChina" + ], + "locations/encryptionProtectorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/encryptionProtectorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/serverOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers": [ + "AzureGov", + "AzureChina" + ], + "servers/databases": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/transparentDataEncryption": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/securityAlertPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceOperationResults": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01-preview": { + "locations/managedInstanceKeyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceKeyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceEncryptionProtectorOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceEncryptionProtectorAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/tdeCertificates": [ + "AzureGov", + "AzureChina" + ], + "locations/tdeCertAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/tdeCertOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/elasticPoolAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/elasticPoolOperationResults": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticpools": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/databases/vulnerabilityAssessments": [ + "AzureGov", + "AzureChina" + ], + "locations/vulnerabilityAssessmentScanAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/vulnerabilityAssessmentScanOperationResults": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/recoverableDatabases": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/metrics": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/metricDefinitions": [ + "AzureGov", + "AzureChina" + ], + "managedInstances/tdeCertificates": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceTdeCertAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/managedInstanceTdeCertOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/shortTermRetentionPolicyOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/shortTermRetentionPolicyAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroups": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/instanceFailoverGroupOperationResults": [ + "AzureGov", + "AzureChina" + ] + }, + "2015-05-01-preview": { + "servers/databases/geoBackupPolicies": [ + "AzureGov", + "AzureChina" + ], + "servers/failoverGroups": [ + "AzureGov", + "AzureChina" + ], + "locations/failoverGroupAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/failoverGroupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "servers/virtualNetworkRules": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkRulesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/virtualNetworkRulesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnetsOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnetsAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ], + "servers/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticPools/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/advisors": [ + "AzureGov", + "AzureChina" + ], + "servers/elasticPoolEstimates": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/auditRecords": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessmentScans": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/VulnerabilityAssessmentSettings": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/syncGroups": [ + "AzureGov", + "AzureChina" + ], + "servers/databases/syncGroups/syncMembers": [ + "AzureGov", + "AzureChina" + ], + "servers/syncAgents": [ + "AzureGov", + "AzureChina" + ], + "virtualClusters": [ + "AzureGov", + "AzureChina" + ], + "locations/syncGroupOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncMemberOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncAgentOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/syncDatabaseIds": [ + "AzureGov", + "AzureChina" + ], + "locations/firewallRulesOperationResults": [ + "AzureGov", + "AzureChina" + ], + "locations/firewallRulesAzureAsyncOperation": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.Storage": { + "2019-04-01": { + "storageAccounts": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "locations/asyncoperations": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/listAccountSas": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/listServiceSas": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/blobServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/tableServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/queueServices": [ + "AzureGov", + "AzureChina" + ], + "storageAccounts/fileServices": [ + "AzureGov", + "AzureChina" + ], + "locations/usages": [ + "AzureGov", + "AzureChina" + ], + "locations/deleteVirtualNetworkOrSubnets": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ] + }, + "2017-10-01": { + "locations": [ + "AzureGov", + "AzureChina" + ], + "usages": [ + "AzureGov", + "AzureChina" + ] + } + }, + "Microsoft.StorageSync": { + "2019-02-01": { + "storageSyncServices": [ + "AzureGov" + ], + "storageSyncServices/syncGroups": [ + "AzureGov" + ], + "storageSyncServices/syncGroups/cloudEndpoints": [ + "AzureGov" + ], + "storageSyncServices/syncGroups/serverEndpoints": [ + "AzureGov" + ], + "storageSyncServices/registeredServers": [ + "AzureGov" + ], + "storageSyncServices/workflows": [ + "AzureGov" + ], + "operations": [ + "AzureGov" + ], + "locations": [ + "AzureGov" + ], + "locations/checkNameAvailability": [ + "AzureGov" + ], + "locations/workflows": [ + "AzureGov" + ] + } + }, + "Microsoft.Web": { + "2018-02-01": { + "publishingUsers": [ + "AzureGov", + "AzureChina" + ], + "ishostnameavailable": [ + "AzureGov", + "AzureChina" + ], + "isusernameavailable": [ + "AzureGov", + "AzureChina" + ], + "sourceControls": [ + "AzureGov", + "AzureChina" + ], + "availableStacks": [ + "AzureGov", + "AzureChina" + ], + "listSitesAssignedToHostName": [ + "AzureGov", + "AzureChina" + ], + "sites/hostNameBindings": [ + "AzureGov", + "AzureChina" + ], + "sites/slots/hostNameBindings": [ + "AzureGov", + "AzureChina" + ], + "operations": [ + "AzureGov", + "AzureChina" + ], + "serverFarms": [ + "AzureGov", + "AzureChina" + ], + "runtimes": [ + "AzureGov", + "AzureChina" + ], + "georegions": [ + "AzureGov", + "AzureChina" + ], + "sites/premieraddons": [ + "AzureGov", + "AzureChina" + ], + "deploymentLocations": [ + "AzureGov", + "AzureChina" + ], + "ishostingenvironmentnameavailable": [ + "AzureGov", + "AzureChina" + ], + "checkNameAvailability": [ + "AzureGov", + "AzureChina" + ], + "billingMeters": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments/multiRolePools": [ + "AzureGov", + "AzureChina" + ], + "hostingEnvironments/workerPools": [ + "AzureGov", + "AzureChina" + ] }, - "Microsoft.Advisor": { - "2017-04-19": { - "suppressions": [ - "AzureGov", - "AzureChina" - ], - "configurations": [ - "AzureGov", - "AzureChina" - ], - "recommendations": [ - "AzureGov", - "AzureChina" - ], - "generateRecommendations": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } + "2018-07-01-preview": { + "connections": [ + "AzureGov", + "AzureChina" + ], + "customApis": [ + "AzureGov", + "AzureChina" + ], + "locations": [ + "AzureGov", + "AzureChina" + ], + "locations/managedApis": [ + "AzureGov", + "AzureChina" + ], + "locations/apiOperations": [ + "AzureGov", + "AzureChina" + ] }, - "Microsoft.AlertsManagement": { - "2018-05-05-preview": { - "alerts": [ - "AzureGov", - "AzureChina" - ], - "alertsSummary": [ - "AzureGov", - "AzureChina" - ], - "smartGroups": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "Microsoft.AnalysisServices": { - "2017-08-01-beta": { - "servers": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations/operationresults": [ - "AzureGov", - "AzureChina" - ], - "locations/operationstatuses": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.ApiManagement": { - "2019-01-01": { - "service": [ - "AzureGov", - "AzureChina" - ], - "validateServiceName": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "reportFeedback": [ - "AzureGov", - "AzureChina" - ], - "checkFeedbackRequired": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Authorization": { - "2018-07-01": { - "roleDefinitions": [ - "AzureGov", - "AzureChina" - ], - "permissions": [ - "AzureGov", - "AzureChina" - ], - "providerOperations": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-06-01": { - "classicAdministrators": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-07-01-preview": { - "denyAssignments": [ - "AzureGov" - ] - }, - "2017-04-01": { - "locks": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-05-01": { - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-05-01": { - "policyDefinitions": [ - "AzureGov", - "AzureChina" - ], - "policySetDefinitions": [ - "AzureGov", - "AzureChina" - ], - "policyAssignments": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-09-01-preview": { - "checkAccess": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Automation": { - "2018-06-30": { - "automationAccounts": [ - "AzureGov", - "AzureChina" - ], - "automationAccounts/runbooks": [ - "AzureGov", - "AzureChina" - ], - "automationAccounts/configurations": [ - "AzureGov", - "AzureChina" - ], - "automationAccounts/webhooks": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "automationAccounts/softwareUpdateConfigurations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.AzureStack": { - "2017-06-01": { - "operations": [ - "AzureGov", - "AzureChina" - ], - "registrations": [ - "AzureGov", - "AzureChina" - ], - "registrations/products": [ - "AzureGov", - "AzureChina" - ], - "registrations/customerSubscriptions": [ - "AzureGov" - ] - } - }, - "Microsoft.Batch": { - "2019-04-01": { - "batchAccounts": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/quotas": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations/accountOperationResults": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.BatchAI": { - "2018-03-01": { - "clusters": [ - "AzureGov" - ], - "jobs": [ - "AzureGov" - ], - "fileservers": [ - "AzureGov" - ] - }, - "2018-05-01": { - "workspaces": [ - "AzureGov" - ], - "workspaces/clusters": [ - "AzureGov" - ], - "workspaces/fileservers": [ - "AzureGov" - ], - "workspaces/experiments": [ - "AzureGov" - ], - "workspaces/experiments/jobs": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/operationresults": [ - "AzureGov" - ], - "locations/operationstatuses": [ - "AzureGov" - ], - "locations/usages": [ - "AzureGov" - ] - } - }, - "Microsoft.BotService": { - "2018-07-12": { - "botServices": [ - "AzureGov" - ], - "botServices/channels": [ - "AzureGov" - ], - "botServices/connections": [ - "AzureGov" - ], - "listAuthServiceProviders": [ - "AzureGov" - ], - "checkNameAvailability": [ - "AzureGov" - ], - "languages": [ - "AzureGov" - ], - "templates": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ] - } - }, - "Microsoft.Cache": { - "2018-03-01": { - "Redis": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "RedisConfigDefinition": [ - "AzureChina" - ] - } - }, - "Microsoft.CognitiveServices": { - "2017-04-18": { - "accounts": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/checkSkuAvailability": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Compute": { - "2018-10-01": { - "availabilitySets": [ - "AzureGov", - "AzureChina" - ], - "virtualMachines": [ - "AzureGov", - "AzureChina" - ], - "virtualMachines/extensions": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets/extensions": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets/virtualMachines": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operations": [ - "AzureGov", - "AzureChina" - ], - "locations/vmSizes": [ - "AzureGov", - "AzureChina" - ], - "locations/runCommands": [ - "AzureGov", - "AzureChina" - ], - "locations/usages": [ - "AzureGov", - "AzureChina" - ], - "locations/systemInfo": [ - "AzureGov", - "AzureChina" - ], - "locations/virtualMachines": [ - "AzureGov", - "AzureChina" - ], - "locations/publishers": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "restorePointCollections": [ - "AzureGov", - "AzureChina" - ], - "restorePointCollections/restorePoints": [ - "AzureGov", - "AzureChina" - ], - "locations/capsoperations": [ - "AzureGov", - "AzureChina" - ], - "galleries": [ - "AzureGov", - "AzureChina" - ], - "galleries/images": [ - "AzureGov", - "AzureChina" - ], - "galleries/images/versions": [ - "AzureGov", - "AzureChina" - ], - "images": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets/networkInterfaces": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets/virtualMachines/networkInterfaces": [ - "AzureGov", - "AzureChina" - ], - "virtualMachineScaleSets/publicIPAddresses": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-10-15-preview": { - "sharedVMImages": [ - "AzureGov", - "AzureChina" - ], - "sharedVMImages/versions": [ - "AzureGov", - "AzureChina" - ], - "locations/artifactPublishers": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-09-30": { - "disks": [ - "AzureGov", - "AzureChina" - ], - "snapshots": [ - "AzureGov", - "AzureChina" - ], - "locations/diskoperations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Consumption": { - "2018-10-01": { - "CostTags": [ - "AzureGov" - ], - "products": [ - "AzureGov" - ] - }, - "2018-11-01-preview": { - "credits": [ - "AzureGov" - ], - "events": [ - "AzureGov" - ], - "lots": [ - "AzureGov" - ] - } - }, - "Microsoft.ContainerRegistry": { - "2017-10-01": { - "registries": [ - "AzureGov", - "AzureChina" - ], - "registries/importImage": [ - "AzureGov", - "AzureChina" - ], - "registries/replications": [ - "AzureGov", - "AzureChina" - ], - "registries/webhooks": [ - "AzureGov", - "AzureChina" - ], - "registries/webhooks/ping": [ - "AzureGov", - "AzureChina" - ], - "registries/webhooks/getCallbackConfig": [ - "AzureGov", - "AzureChina" - ], - "registries/webhooks/listEvents": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "registries/listCredentials": [ - "AzureGov", - "AzureChina" - ], - "registries/regenerateCredential": [ - "AzureGov", - "AzureChina" - ], - "registries/listUsages": [ - "AzureGov", - "AzureChina" - ], - "registries/eventGridFilters": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "swagger": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-03-01": { - "registries/GetCredentials": [ - "AzureGov", - "AzureChina" - ] - }, - "2016-06-27-preview": { - "registries/regenerateCredentials": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.CostManagement": { - "2018-05-31": { - "Reportconfigs": [ - "AzureGov" - ] - } - }, - "Microsoft.DataBox": { - "2018-01-01": { - "jobs": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/validateAddress": [ - "AzureGov" - ], - "locations/expresspods": [ - "AzureGov" - ], - "locations/checkNameAvailability": [ - "AzureGov" - ], - "locations/operationresults": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "locations/serviceHealth": [ - "AzureGov" - ], - "locations/availableSkus": [ - "AzureGov" - ] - } - }, - "Microsoft.DataFactory": { - "2018-06-01": { - "factories": [ - "AzureGov", - "AzureChina" - ], - "factories/integrationRuntimes": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/configureFactoryRepo": [ - "AzureGov", - "AzureChina" - ], - "locations/getFeatureValue": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.DataMigration": { - "2018-07-15-preview": { - "locations": [ - "AzureGov", - "AzureChina" - ], - "services": [ - "AzureGov", - "AzureChina" - ], - "services/projects": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/operationStatuses": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "slots": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.DBforMySQL": { - "2017-12-01-preview": { - "operations": [ - "AzureGov", - "AzureChina" - ], - "servers": [ - "AzureGov", - "AzureChina" - ], - "servers/recoverableServers": [ - "AzureGov", - "AzureChina" - ], - "servers/virtualNetworkRules": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/azureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/performanceTiers": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.DBforPostgreSQL": { - "2017-12-01-preview": { - "operations": [ - "AzureGov", - "AzureChina" - ], - "servers": [ - "AzureGov", - "AzureChina" - ], - "servers/recoverableServers": [ - "AzureGov", - "AzureChina" - ], - "servers/virtualNetworkRules": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/azureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/performanceTiers": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-12-01": { - "locations/securityAlertPoliciesAzureAsyncOperation": [ - "AzureGov" - ], - "locations/securityAlertPoliciesOperationResults": [ - "AzureGov" - ] - } - }, - "Microsoft.Devices": { - "2018-12-01-preview": { - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "usages": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "operationResults": [ - "AzureGov", - "AzureChina" - ], - "IotHubs": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.DevTestLab": { - "2018-10-15-preview": { - "labs": [ - "AzureGov" - ], - "schedules": [ - "AzureGov" - ], - "labs/virtualMachines": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/operations": [ - "AzureGov" - ] - } - }, - "Microsoft.EventHub": { - "2018-01-01-preview": { - "namespaces": [ - "AzureGov", - "AzureChina" - ], - "clusters": [ - "AzureChina" - ] - }, - "2015-08-01": { - "checkNamespaceAvailability": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-04-01": { - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "sku": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Features": { - "2015-12-01": { - "features": [ - "AzureGov", - "AzureChina" - ], - "providers": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.ImportExport": { - "2016-11-01": { - "jobs": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "microsoft.insights": { - "2018-05-01-preview": { - "components": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-05-01": { - "webtests": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-04-16": { - "scheduledqueryrules": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-10-01": { - "components/pricingPlans": [ - "AzureGov", - "AzureChina" - ], - "migrateToNewPricingModel": [ - "AzureGov", - "AzureChina" - ], - "rollbackToLegacyPricingModel": [ - "AzureGov", - "AzureChina" - ], - "listMigrationdate": [ - "AzureGov", - "AzureChina" - ] - }, - "2016-03-01": { - "logprofiles": [ - "AzureGov", - "AzureChina" - ], - "alertrules": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-03-01": { - "metricalerts": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-04-01": { - "autoscalesettings": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "eventCategories": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-03-01-preview": { - "eventtypes": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-05-01-preview": { - "diagnosticSettings": [ - "AzureGov", - "AzureChina" - ], - "diagnosticSettingsCategories": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-01-01": { - "metricDefinitions": [ - "AzureGov", - "AzureChina" - ], - "metrics": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-07-01": { - "logDefinitions": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-09-01": { - "actiongroups": [ - "AzureGov", - "AzureChina" - ], - "baseline": [ - "AzureGov" - ], - "calculatebaseline": [ - "AzureGov" - ] - }, - "2017-04-01": { - "activityLogAlerts": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-06-17-preview": { - "workbooks": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-08-01-preview": { - "logs": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.KeyVault": { - "2018-02-14-preview": { - "vaults": [ - "AzureGov", - "AzureChina" - ], - "vaults/secrets": [ - "AzureGov", - "AzureChina" - ], - "vaults/accessPolicies": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "deletedVaults": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/deletedVaults": [ - "AzureGov", - "AzureChina" - ], - "locations/deleteVirtualNetworkOrSubnets": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Logic": { - "2018-07-01-preview": { - "integrationAccounts": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.MarketplaceOrdering": { - "2015-06-01": { - "agreements": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "offertypes": [ - "AzureGov" - ] - } - }, - "Microsoft.Media": { - "2018-07-01": { - "mediaservices": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/assets": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/contentKeyPolicies": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/streamingLocators": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/streamingPolicies": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/transforms": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/transforms/jobs": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/streamingEndpoints": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/liveEvents": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/liveEvents/liveOutputs": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/streamingEndpointOperations": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/liveEventOperations": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/liveOutputOperations": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/assets/assetFilters": [ - "AzureGov", - "AzureChina" - ], - "mediaservices/accountFilters": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-10-01": { - "checknameavailability": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Migrate": { - "2018-02-02": { - "projects": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/checkNameAvailability": [ - "AzureGov" - ], - "locations/assessmentOptions": [ - "AzureGov" - ] - } - }, - "Microsoft.Network": { - "2019-02-01": { - "virtualNetworks": [ - "AzureGov", - "AzureChina" - ], - "publicIPAddresses": [ - "AzureGov", - "AzureChina" - ], - "networkInterfaces": [ - "AzureGov", - "AzureChina" - ], - "privateEndpoints": [ - "AzureGov", - "AzureChina" - ], - "loadBalancers": [ - "AzureGov", - "AzureChina" - ], - "networkSecurityGroups": [ - "AzureGov", - "AzureChina" - ], - "applicationSecurityGroups": [ - "AzureGov", - "AzureChina" - ], - "serviceEndpointPolicies": [ - "AzureGov", - "AzureChina" - ], - "networkIntentPolicies": [ - "AzureGov", - "AzureChina" - ], - "routeTables": [ - "AzureGov", - "AzureChina" - ], - "publicIPPrefixes": [ - "AzureGov", - "AzureChina" - ], - "ddosCustomPolicies": [ - "AzureGov", - "AzureChina" - ], - "networkWatchers": [ - "AzureGov", - "AzureChina" - ], - "networkWatchers/connectionMonitors": [ - "AzureGov", - "AzureChina" - ], - "networkWatchers/pingMeshes": [ - "AzureGov", - "AzureChina" - ], - "virtualNetworkGateways": [ - "AzureGov", - "AzureChina" - ], - "localNetworkGateways": [ - "AzureGov", - "AzureChina" - ], - "connections": [ - "AzureGov", - "AzureChina" - ], - "applicationGateways": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayWebApplicationFirewallPolicies": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/operations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/CheckDnsNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations/usages": [ - "AzureGov", - "AzureChina" - ], - "locations/virtualNetworkAvailableEndpointServices": [ - "AzureGov", - "AzureChina" - ], - "locations/availableDelegations": [ - "AzureGov", - "AzureChina" - ], - "locations/serviceTags": [ - "AzureGov", - "AzureChina" - ], - "locations/availablePrivateEndpointResources": [ - "AzureGov", - "AzureChina" - ], - "locations/supportedVirtualMachineSizes": [ - "AzureGov", - "AzureChina" - ], - "locations/checkAcceleratedNetworkingSupport": [ - "AzureGov", - "AzureChina" - ], - "locations/validateResourceOwnership": [ - "AzureGov", - "AzureChina" - ], - "locations/setResourceOwnership": [ - "AzureGov", - "AzureChina" - ], - "locations/effectiveResourceOwnership": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "expressRouteCircuits": [ - "AzureGov", - "AzureChina" - ], - "expressRouteCrossConnections": [ - "AzureGov", - "AzureChina" - ], - "expressRouteServiceProviders": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayAvailableWafRuleSets": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayAvailableSslOptions": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayAvailableServerVariables": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayAvailableRequestHeaders": [ - "AzureGov", - "AzureChina" - ], - "applicationGatewayAvailableResponseHeaders": [ - "AzureGov", - "AzureChina" - ], - "routeFilters": [ - "AzureGov", - "AzureChina" - ], - "bgpServiceCommunities": [ - "AzureGov", - "AzureChina" - ], - "azureFirewalls": [ - "AzureGov", - "AzureChina" - ], - "azureFirewallFqdnTags": [ - "AzureGov", - "AzureChina" - ], - "virtualNetworkTaps": [ - "AzureGov", - "AzureChina" - ], - "privateLinkServices": [ - "AzureGov", - "AzureChina" - ], - "ddosProtectionPlans": [ - "AzureGov", - "AzureChina" - ], - "networkProfiles": [ - "AzureGov", - "AzureChina" - ], - "locations/bareMetalTenants": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-05-01": { - "dnszones": [ - "AzureGov", - "AzureChina" - ], - "dnsOperationResults": [ - "AzureGov", - "AzureChina" - ], - "dnsOperationStatuses": [ - "AzureGov", - "AzureChina" - ], - "getDnsResourceReference": [ - "AzureGov", - "AzureChina" - ], - "internalNotify": [ - "AzureGov", - "AzureChina" - ], - "dnszones/A": [ - "AzureGov", - "AzureChina" - ], - "dnszones/AAAA": [ - "AzureGov", - "AzureChina" - ], - "dnszones/CNAME": [ - "AzureGov", - "AzureChina" - ], - "dnszones/PTR": [ - "AzureGov", - "AzureChina" - ], - "dnszones/MX": [ - "AzureGov", - "AzureChina" - ], - "dnszones/TXT": [ - "AzureGov", - "AzureChina" - ], - "dnszones/SRV": [ - "AzureGov", - "AzureChina" - ], - "dnszones/SOA": [ - "AzureGov", - "AzureChina" - ], - "dnszones/NS": [ - "AzureGov", - "AzureChina" - ], - "dnszones/CAA": [ - "AzureGov", - "AzureChina" - ], - "dnszones/recordsets": [ - "AzureGov", - "AzureChina" - ], - "dnszones/all": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-08-01": { - "trafficmanagerprofiles": [ - "AzureGov", - "AzureChina" - ], - "checkTrafficManagerNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "trafficManagerGeographicHierarchies": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.NotificationHubs": { - "2017-04-01": { - "namespaces": [ - "AzureGov", - "AzureChina" - ], - "namespaces/notificationHubs": [ - "AzureGov", - "AzureChina" - ], - "checkNamespaceAvailability": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ] - }, - "2016-03-01": { - "operations": [ - "AzureGov", - "AzureChina" - ], - "operationResults": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.OperationalInsights": { - "2015-03-20": { - "linkTargets": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.OperationsManagement": { - "2015-11-01-preview": { - "solutions": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-08-21-preview": { - "views": [ - "AzureChina" - ] - } - }, - "Microsoft.PolicyInsights": { - "2018-04-04": { - "policyEvents": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-07-01-preview": { - "policyStates": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "asyncOperationResults": [ - "AzureGov", - "AzureChina" - ], - "remediations": [ - "AzureGov", - "AzureChina" - ], - "policyTrackedResources": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Portal": { - "2018-10-01-preview": { - "dashboards": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-08-01-preview": { - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.PowerBI": { - "2016-01-29": { - "workspaceCollections": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.PowerBIDedicated": { - "2017-10-01": { - "capacities": [ - "AzureGov", - "AzureChina" - ], - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "locations/operationresults": [ - "AzureGov", - "AzureChina" - ], - "locations/operationstatuses": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-01-01-preview": { - "locations": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.RecoveryServices": { - "2016-08-10": { - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "2016-06-01": { - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/backupStatus": [ - "AzureGov", - "AzureChina" - ], - "locations/allocatedStamp": [ - "AzureGov", - "AzureChina" - ], - "locations/allocateStamp": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-01-10": { - "locations/checkNameAvailability": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-07-01": { - "locations/backupValidateFeatures": [ - "AzureGov", - "AzureChina" - ], - "locations/backupPreValidateProtection": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Relay": { - "2017-04-01": { - "namespaces": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.ResourceHealth": { - "2017-07-01": { - "availabilityStatuses": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-01-01": { - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Resources": { - "2016-09-01": { - "tenants": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "providers": [ - "AzureGov", - "AzureChina" - ], - "checkresourcename": [ - "AzureGov", - "AzureChina" - ], - "resources": [ - "AzureGov", - "AzureChina" - ], - "subscriptions": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/resources": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/providers": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/operationresults": [ - "AzureGov", - "AzureChina" - ], - "resourceGroups": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/resourceGroups": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/resourcegroups/resources": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/locations": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/tagnames": [ - "AzureGov", - "AzureChina" - ], - "subscriptions/tagNames/tagValues": [ - "AzureGov", - "AzureChina" - ], - "deployments": [ - "AzureGov", - "AzureChina" - ], - "deployments/operations": [ - "AzureGov", - "AzureChina" - ], - "links": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Scheduler": { - "2016-03-01": { - "jobcollections": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "operationResults": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Search": { - "2015-08-19": { - "searchServices": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "resourceHealthMetadata": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-02-28": { - "checkServiceNameAvailability": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.ServiceBus": { - "2018-01-01-preview": { - "namespaces": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-04-01": { - "namespaces/authorizationrules": [ - "AzureGov" - ], - "namespaces/queues": [ - "AzureGov" - ], - "namespaces/queues/authorizationrules": [ - "AzureGov" - ], - "namespaces/topics": [ - "AzureGov" - ], - "namespaces/topics/authorizationrules": [ - "AzureGov" - ], - "namespaces/topics/subscriptions": [ - "AzureGov" - ], - "namespaces/topics/subscriptions/rules": [ - "AzureGov" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "sku": [ - "AzureGov", - "AzureChina" - ], - "premiumMessagingRegions": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-08-01": { - "checkNamespaceAvailability": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.ServiceFabric": { - "2018-02-01": { - "clusters": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/clusterVersions": [ - "AzureGov", - "AzureChina" - ], - "locations/operations": [ - "AzureGov", - "AzureChina" - ], - "locations/operationResults": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Solutions": { - "2018-09-01-preview": { - "applications": [ - "AzureGov" - ], - "applicationDefinitions": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/operationstatuses": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ] - } - }, - "Microsoft.Sql": { - "2017-03-01-preview": { - "operations": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/backupLongTermRetentionPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/automaticTuning": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/automaticTuning": [ - "AzureGov", - "AzureChina" - ], - "servers/securityAlertPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/extendedAuditingSettings": [ - "AzureGov", - "AzureChina" - ], - "locations/extendedAuditingSettingsAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/extendedAuditingSettingsOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/jobAgents": [ - "AzureGov", - "AzureChina" - ], - "locations/jobAgentOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/jobAgentAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "servers/jobAgents/jobs": [ - "AzureGov", - "AzureChina" - ], - "servers/jobAgents/jobs/steps": [ - "AzureGov", - "AzureChina" - ], - "servers/jobAgents/jobs/executions": [ - "AzureGov", - "AzureChina" - ], - "servers/dnsAliases": [ - "AzureGov", - "AzureChina" - ], - "locations/dnsAliasAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/dnsAliasOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/databaseRestoreAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/VulnerabilityAssessment": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/administrators": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/databases": [ - "AzureGov", - "AzureChina" - ], - "locations/managedDatabaseAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedDatabaseOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/managedDatabaseRestoreAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedDatabaseRestoreOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/managedServerSecurityAlertPoliciesAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedServerSecurityAlertPoliciesOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/securityAlertPoliciesAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/securityAlertPoliciesOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/administratorAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/administratorOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionServers": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionBackups": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionPolicyOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionPolicyAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionBackupOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/longTermRetentionBackupAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedShortTermRetentionPolicyOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/managedShortTermRetentionPolicyAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ] - }, - "2014-04-01-preview": { - "locations": [ - "AzureGov", - "AzureChina" - ], - "servers/serviceObjectives": [ - "AzureGov", - "AzureChina" - ], - "servers/communicationLinks": [ - "AzureGov" - ], - "servers/administrators": [ - "AzureGov", - "AzureChina" - ], - "servers/administratorOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/restorableDroppedDatabases": [ - "AzureGov", - "AzureChina" - ], - "servers/recoverableDatabases": [ - "AzureGov", - "AzureChina" - ], - "servers/import": [ - "AzureGov", - "AzureChina" - ], - "servers/importExportOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/operationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/databaseSecurityPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/auditingPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/recommendedElasticPools": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/auditingPolicies": [ - "AzureGov" - ], - "servers/databases/connectionPolicies": [ - "AzureGov" - ], - "servers/connectionPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/dataMaskingPolicies": [ - "AzureGov" - ], - "servers/databases/dataMaskingPolicies/rules": [ - "AzureGov" - ], - "servers/disasterRecoveryConfiguration": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/metricDefinitions": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/metrics": [ - "AzureGov", - "AzureChina" - ], - "servers/aggregatedDatabaseMetrics": [ - "AzureGov" - ], - "servers/elasticpools/metrics": [ - "AzureGov" - ], - "servers/elasticpools/metricdefinitions": [ - "AzureGov" - ], - "servers/databases/topQueries": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/topQueries/queryText": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/extensions": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-06-01-preview": { - "locations/capabilities": [ - "AzureGov", - "AzureChina" - ], - "locations/databaseAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/databaseOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/serverKeyAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/serverKeyOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/keys": [ - "AzureGov", - "AzureChina" - ], - "servers/encryptionProtector": [ - "AzureGov", - "AzureChina" - ], - "locations/encryptionProtectorOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/encryptionProtectorAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/serverAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/serverOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers": [ - "AzureGov", - "AzureChina" - ], - "servers/databases": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/transparentDataEncryption": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/securityAlertPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/vulnerabilityAssessments": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/vulnerabilityAssessments": [ - "AzureGov", - "AzureChina" - ], - "managedInstances": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceOperationResults": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-10-01-preview": { - "locations/managedInstanceKeyAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceKeyOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceEncryptionProtectorOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceEncryptionProtectorAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "servers/tdeCertificates": [ - "AzureGov", - "AzureChina" - ], - "locations/tdeCertAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/tdeCertOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/elasticPoolAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/elasticPoolOperationResults": [ - "AzureGov", - "AzureChina" - ], - "servers/elasticpools": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/vulnerabilityAssessments": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/databases/vulnerabilityAssessments": [ - "AzureGov", - "AzureChina" - ], - "locations/vulnerabilityAssessmentScanAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/vulnerabilityAssessmentScanOperationResults": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/recoverableDatabases": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/metrics": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/metricDefinitions": [ - "AzureGov", - "AzureChina" - ], - "managedInstances/tdeCertificates": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceTdeCertAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/managedInstanceTdeCertOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/shortTermRetentionPolicyOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/shortTermRetentionPolicyAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/instanceFailoverGroups": [ - "AzureGov", - "AzureChina" - ], - "locations/instanceFailoverGroupAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/instanceFailoverGroupOperationResults": [ - "AzureGov", - "AzureChina" - ] - }, - "2015-05-01-preview": { - "servers/databases/geoBackupPolicies": [ - "AzureGov", - "AzureChina" - ], - "servers/failoverGroups": [ - "AzureGov", - "AzureChina" - ], - "locations/failoverGroupAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/failoverGroupOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/deleteVirtualNetworkOrSubnets": [ - "AzureGov", - "AzureChina" - ], - "servers/virtualNetworkRules": [ - "AzureGov", - "AzureChina" - ], - "locations/virtualNetworkRulesOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/virtualNetworkRulesAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "locations/deleteVirtualNetworkOrSubnetsOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/deleteVirtualNetworkOrSubnetsAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ], - "servers/advisors": [ - "AzureGov", - "AzureChina" - ], - "servers/elasticPools/advisors": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/advisors": [ - "AzureGov", - "AzureChina" - ], - "servers/elasticPoolEstimates": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/auditRecords": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/VulnerabilityAssessmentScans": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/VulnerabilityAssessmentSettings": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/syncGroups": [ - "AzureGov", - "AzureChina" - ], - "servers/databases/syncGroups/syncMembers": [ - "AzureGov", - "AzureChina" - ], - "servers/syncAgents": [ - "AzureGov", - "AzureChina" - ], - "virtualClusters": [ - "AzureGov", - "AzureChina" - ], - "locations/syncGroupOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/syncMemberOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/syncAgentOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/syncDatabaseIds": [ - "AzureGov", - "AzureChina" - ], - "locations/firewallRulesOperationResults": [ - "AzureGov", - "AzureChina" - ], - "locations/firewallRulesAzureAsyncOperation": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.Storage": { - "2019-04-01": { - "storageAccounts": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "locations/asyncoperations": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/listAccountSas": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/listServiceSas": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/blobServices": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/tableServices": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/queueServices": [ - "AzureGov", - "AzureChina" - ], - "storageAccounts/fileServices": [ - "AzureGov", - "AzureChina" - ], - "locations/usages": [ - "AzureGov", - "AzureChina" - ], - "locations/deleteVirtualNetworkOrSubnets": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ] - }, - "2017-10-01": { - "locations": [ - "AzureGov", - "AzureChina" - ], - "usages": [ - "AzureGov", - "AzureChina" - ] - } - }, - "Microsoft.StorageSync": { - "2019-02-01": { - "storageSyncServices": [ - "AzureGov" - ], - "storageSyncServices/syncGroups": [ - "AzureGov" - ], - "storageSyncServices/syncGroups/cloudEndpoints": [ - "AzureGov" - ], - "storageSyncServices/syncGroups/serverEndpoints": [ - "AzureGov" - ], - "storageSyncServices/registeredServers": [ - "AzureGov" - ], - "storageSyncServices/workflows": [ - "AzureGov" - ], - "operations": [ - "AzureGov" - ], - "locations": [ - "AzureGov" - ], - "locations/checkNameAvailability": [ - "AzureGov" - ], - "locations/workflows": [ - "AzureGov" - ] - } - }, - "Microsoft.Web": { - "2018-02-01": { - "publishingUsers": [ - "AzureGov", - "AzureChina" - ], - "ishostnameavailable": [ - "AzureGov", - "AzureChina" - ], - "isusernameavailable": [ - "AzureGov", - "AzureChina" - ], - "sourceControls": [ - "AzureGov", - "AzureChina" - ], - "availableStacks": [ - "AzureGov", - "AzureChina" - ], - "listSitesAssignedToHostName": [ - "AzureGov", - "AzureChina" - ], - "sites/hostNameBindings": [ - "AzureGov", - "AzureChina" - ], - "sites/slots/hostNameBindings": [ - "AzureGov", - "AzureChina" - ], - "operations": [ - "AzureGov", - "AzureChina" - ], - "serverFarms": [ - "AzureGov", - "AzureChina" - ], - "runtimes": [ - "AzureGov", - "AzureChina" - ], - "georegions": [ - "AzureGov", - "AzureChina" - ], - "sites/premieraddons": [ - "AzureGov", - "AzureChina" - ], - "deploymentLocations": [ - "AzureGov", - "AzureChina" - ], - "ishostingenvironmentnameavailable": [ - "AzureGov", - "AzureChina" - ], - "checkNameAvailability": [ - "AzureGov", - "AzureChina" - ], - "billingMeters": [ - "AzureGov", - "AzureChina" - ], - "hostingEnvironments": [ - "AzureGov", - "AzureChina" - ], - "hostingEnvironments/multiRolePools": [ - "AzureGov", - "AzureChina" - ], - "hostingEnvironments/workerPools": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-07-01-preview": { - "connections": [ - "AzureGov", - "AzureChina" - ], - "customApis": [ - "AzureGov", - "AzureChina" - ], - "locations": [ - "AzureGov", - "AzureChina" - ], - "locations/managedApis": [ - "AzureGov", - "AzureChina" - ], - "locations/apiOperations": [ - "AzureGov", - "AzureChina" - ] - }, - "2018-03-01-preview": { - "locations/listWsdlInterfaces": [ - "AzureGov", - "AzureChina" - ], - "locations/extractApiDefinitionFromWsdl": [ - "AzureGov", - "AzureChina" - ], - "locations/runtimes": [ - "AzureGov" - ], - "connectionGateways": [ - "AzureGov", - "AzureChina" - ], - "locations/connectionGatewayInstallations": [ - "AzureGov", - "AzureChina" - ] - } - } + "2018-03-01-preview": { + "locations/listWsdlInterfaces": [ + "AzureGov", + "AzureChina" + ], + "locations/extractApiDefinitionFromWsdl": [ + "AzureGov", + "AzureChina" + ], + "locations/runtimes": [ + "AzureGov" + ], + "connectionGateways": [ + "AzureGov", + "AzureChina" + ], + "locations/connectionGatewayInstallations": [ + "AzureGov", + "AzureChina" + ] } + } } + } } From eb9161979122a66fbb32ad15298a55a69a0bcc14 Mon Sep 17 00:00:00 2001 From: Donald Liu <32778916+PakDLiu@users.noreply.github.com> Date: Wed, 26 Jun 2019 11:36:17 -0700 Subject: [PATCH 158/495] Added SAP monitor resource type to HanaOnAzure RP (#6409) * Added new SAP Monitor resource * Added password field * fixed examples * fixed more examples * Added List, Patch, and Delete API * typo * more typos * added missing field * updated subnet field to be not read only --- .../examples/SapMonitors_Create.json | 66 ++++ .../examples/SapMonitors_Delete.json | 13 + .../examples/SapMonitors_Get.json | 29 ++ .../examples/SapMonitors_List.json | 48 +++ .../examples/SapMonitors_PatchTags.json | 34 ++ .../SapMonitors_PatchTags_Delete.json | 30 ++ .../2017-11-03-preview/hanaonazure.json | 325 ++++++++++++++++++ 7 files changed, 545 insertions(+) create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json create mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json new file mode 100644 index 000000000000..f12ecb2b5cde --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "sapMonitorName": "mySapMonitor", + "sapMonitorParameter": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "hanaDbPassword": "", + "provisioningState": "Succeeded" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", + "name": "myHanaInstance", + "type": "Microsoft.HanaOnAzure/hanaInstances", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", + "name": "myHanaInstance", + "type": "Microsoft.HanaOnAzure/hanaInstances", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json new file mode 100644 index 000000000000..4b82a98dfefc --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "sapMonitorName": "mySapMonitor" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json new file mode 100644 index 000000000000..c792b327b87f --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "sapMonitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json new file mode 100644 index 000000000000..79aeea9453ac --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor1", + "name": "mySapMonitor1", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor2", + "name": "mySapMonitor2", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json new file mode 100644 index 000000000000..591055ebc0cc --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "sapMonitorName": "mySapMonitor", + "tagsParameter": { + "tags": { + "testkey": "testvalue" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": { + "testkey": "testvalue" + }, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json new file mode 100644 index 000000000000..95496eafca2e --- /dev/null +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2017-11-03-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "sapMonitorName": "mySapMonitor", + "tagsParameter": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.HanaOnAzure/sapMonitors", + "location": "westus", + "tags": {}, + "properties": { + "hanaSubnet": "", + "hanaHostname": "", + "hanaDbName": "", + "hanaDbSqlPort": 1234, + "hanaDbUsername": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index 4c30a097377c..947a2844fce1 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -530,6 +530,235 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors": { + "get": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "SapMonitors_List", + "summary": "Gets a list of SAP monitors in the specified subscription.", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.", + "x-ms-examples": { + "List all SAP Monitors in a subscription": { + "$ref": "./examples/SapMonitors_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapMonitorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/sapMonitors/{sapMonitorName}": { + "get": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "SapMonitors_Get", + "summary": "Gets properties of a SAP monitor.", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Get properties of a SAP monitor": { + "$ref": "./examples/SapMonitors_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SapMonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "SapMonitors_Create", + "x-ms-long-running-operation": true, + "summary": "Creates a SAP monitor.", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Create a SAP Monitor": { + "$ref": "./examples/SapMonitors_Create.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SapMonitorNameParameter" + }, + { + "$ref": "#/parameters/SapMonitorParameter" + } + ], + "responses": { + "200": { + "description": "Created SapMonitor", + "schema": { + "$ref": "#/definitions/SapMonitor" + } + }, + "201": { + "description": "Creating SapMonitor", + "schema": { + "$ref": "#/definitions/SapMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "SapMonitors_Delete", + "x-ms-long-running-operation": true, + "summary": "Deletes a SAP monitor.", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name.", + "x-ms-examples": { + "Deletes a SAP monitor": { + "$ref": "./examples/SapMonitors_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SapMonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "Deleted SapMonitor" + }, + "202": { + "description": "Deleting SapMonitor" + }, + "204": { + "description": "No SapMonitor to delete" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "HanaOnAzure" + ], + "operationId": "SapMonitors_Update", + "summary": "Patches the Tags field of a SAP monitor.", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name.", + "x-ms-examples": { + "Update Tags field of a SAP monitor": { + "$ref": "./examples/SapMonitors_PatchTags.json" + }, + "Delete Tags field of a SAP monitor": { + "$ref": "./examples/SapMonitors_PatchTags_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SapMonitorNameParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } } }, "definitions": { @@ -925,6 +1154,84 @@ } }, "description": "Details needed to monitor a Hana Instance" + }, + "SapMonitorListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SapMonitor" + }, + "description": "The list of SAP monitors." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of SAP monitors." + } + }, + "description": "The response from the List SAP monitors operation." + }, + "SapMonitor": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SapMonitorProperties", + "description": "SAP monitor properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)" + }, + "SapMonitorProperties": { + "properties": { + "hanaSubnet": { + "type": "string", + "description": "Specifies the SAP monitor unique ID." + }, + "hanaHostname": { + "type": "string", + "description": "Hostname of the HANA instance." + }, + "hanaDbName": { + "type": "string", + "description": "Database name of the HANA instance." + }, + "hanaDbSqlPort": { + "type": "integer", + "description": "Database port of the HANA instance." + }, + "hanaDbUsername": { + "type": "string", + "description": "Database username of the HANA instance." + }, + "hanaDbPassword": { + "type": "string", + "description": "Database password of the HANA instance." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ], + "x-ms-enum": { + "name": "HanaProvisioningStatesEnum", + "modelAsString": true + }, + "description": "State of provisioning of the HanaInstance" + } + }, + "description": "Describes the properties of a SAP monitor." } }, "parameters": { @@ -951,6 +1258,14 @@ "description": "Name of the SAP HANA on Azure instance.", "x-ms-parameter-location": "method" }, + "SapMonitorNameParameter": { + "name": "sapMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the SAP monitor resource.", + "x-ms-parameter-location": "method" + }, "ApiVersionParameter": { "name": "api-version", "in": "query", @@ -987,6 +1302,16 @@ }, "description": "Request body representing a HanaInstance", "x-ms-parameter-location": "method" + }, + "SapMonitorParameter": { + "name": "sapMonitorParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SapMonitor" + }, + "description": "Request body representing a SAP Monitor", + "x-ms-parameter-location": "method" } } } From c52bdc7520120d2af9c91b5648319da7ffcfcb3b Mon Sep 17 00:00:00 2001 From: punit1396 <41612766+punit1396@users.noreply.github.com> Date: Wed, 26 Jun 2019 19:43:49 +0000 Subject: [PATCH 159/495] Updating service.json to add few properties to VMNicDetails and VMNicInputDetails (#6380) * Adding new nic level properties. * Resolving comments. --- .../stable/2018-07-10/service.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json index 2d995dc049cc..59fedb4a7090 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json @@ -16717,6 +16717,21 @@ "description": "IP allocation type for recovery VM.", "type": "string" }, + "recoveryPublicIpAddressId": { + "description": "The id of the public IP address resource associated with the NIC.", + "type": "string" + }, + "recoveryNetworkSecurityGroupId": { + "description": "The id of the NSG associated with the NIC.", + "type": "string" + }, + "recoveryLBBackendAddressPoolIds": { + "description": "The target backend address pools for the NIC.", + "type": "array", + "items": { + "type": "string" + } + }, "enableAcceleratedNetworkingOnRecovery": { "description": "A value indicating whether the NIC has accelerated networking enabled.", "type": "boolean" @@ -16743,6 +16758,21 @@ "description": "Selection type for failover.", "type": "string" }, + "recoveryPublicIpAddressId": { + "description": "The id of the public IP address resource associated with the NIC.", + "type": "string" + }, + "recoveryNetworkSecurityGroupId": { + "description": "The id of the NSG associated with the NIC.", + "type": "string" + }, + "recoveryLBBackendAddressPoolIds": { + "description": "The target backend address pools for the NIC.", + "type": "array", + "items": { + "type": "string" + } + }, "enableAcceleratedNetworkingOnRecovery": { "description": "Whether the NIC has accelerated networking enabled.", "type": "boolean" From 14343df74dd17d193ecfbe0a2bb5754673cebab8 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Wed, 26 Jun 2019 13:16:28 -0700 Subject: [PATCH 160/495] add network package-2019-04 to Go SDK (#6464) --- specification/network/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/network/resource-manager/readme.go.md b/specification/network/resource-manager/readme.go.md index 40aafff6266f..2c1c1590ee66 100644 --- a/specification/network/resource-manager/readme.go.md +++ b/specification/network/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-12 - tag: package-2018-11 @@ -37,6 +38,15 @@ batch: - tag: package-2015-05-preview ``` +### Tag: package-2019-04 and go + +These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace) +``` + ### Tag: package-2019-02 and go These settings apply only when `--tag=package-2019-02 --go` is specified on the command line. From a482e2111ef56519293f66e5e52e73219ac3455e Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 26 Jun 2019 14:02:34 -0700 Subject: [PATCH 161/495] added package tag for java, added java readme (#6467) --- .../resource-manager/readme.java.md | 47 +++++++++++++++++++ .../resource-manager/readme.md | 33 +------------ 2 files changed, 48 insertions(+), 32 deletions(-) create mode 100644 specification/recoveryservicesbackup/resource-manager/readme.java.md diff --git a/specification/recoveryservicesbackup/resource-manager/readme.java.md b/specification/recoveryservicesbackup/resource-manager/readme.java.md new file mode 100644 index 000000000000..7da910127609 --- /dev/null +++ b/specification/recoveryservicesbackup/resource-manager/readme.java.md @@ -0,0 +1,47 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.recoveryservicesbackup +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicesbackup +``` + + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-08 +``` + +### Tag: package-2016-08 and java + +These settings apply only when `--tag=package-2016-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.recoveryservices.backup.v2016_08_10 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices.backup/resource-manager/v2016_08_10 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-06 and java + +These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.recoveryservices.backup.v2016_06_01 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices.backup/resource-manager/v2016_06_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index cefb3f629212..5e354243ecd0 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -137,35 +137,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.recoveryservicesbackup -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicesbackup -``` - - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2016-06 -``` - -### Tag: package-2016-06 and java - -These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-06' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.recoveryservices.backup.v2016_06_01 - output-folder: $(azure-libraries-for-java-folder)/recoveryservices.backup/resource-manager/v2016_06_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 0364cbf7adad0565ed38e78cc1f35f29cb9d61bf Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 26 Jun 2019 14:02:59 -0700 Subject: [PATCH 162/495] added package tag in readme and added Java readme (#6451) --- .../keyvault/resource-manager/readme.java.md | 97 +++++++++++++++++++ .../keyvault/resource-manager/readme.md | 73 +++----------- 2 files changed, 110 insertions(+), 60 deletions(-) create mode 100644 specification/keyvault/resource-manager/readme.java.md diff --git a/specification/keyvault/resource-manager/readme.java.md b/specification/keyvault/resource-manager/readme.java.md new file mode 100644 index 000000000000..e79af082ec30 --- /dev/null +++ b/specification/keyvault/resource-manager/readme.java.md @@ -0,0 +1,97 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +namespace: com.microsoft.azure.management.keyvault +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: package-2018-02-14-preview + - tag: package-2016-10 + - tag: package-2015-06 +``` + +### Tag: package-2018-02-14-preview and java + +These settings apply only when `--tag=package-2018-02-14-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-02-14-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2018_02_14_preview + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2018_02_14_preview +regenerate-manager: true +generate-interface: true +directive: + from: keyvault.json + where: $.paths["/subscriptions/{subscriptionId}/resources"].get + transform: $['operationId'] = 'Vaults_ListResource' +``` + +### Tag: package-2016-10 and java + +These settings apply only when `--tag=package-2016-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2016_10_01 + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01 +regenerate-manager: true +generate-interface: true +directive: + from: keyvault.json + where: $.paths["/subscriptions/{subscriptionId}/resources"].get + transform: $['operationId'] = 'Vaults_ListResource' +``` + +### Tag: package-2016-10 and java + +These settings apply only when `--tag=package-2016-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2016_10_01 + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01 +regenerate-manager: true +generate-interface: true +directive: + from: keyvault.json + where: $.paths["/subscriptions/{subscriptionId}/resources"].get + transform: $['operationId'] = 'Vaults_ListResource' +``` + +### Tag: package-2015-06 and java + +These settings apply only when `--tag=package-2015-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2015_06_01 + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: profile-hybrid-2019-03-01 + +These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. +Creating this tag to pick proper resources from the hybrid profile. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' +input-file: +- Microsoft.KeyVault/stable/2016-10-01/providers.json +- Microsoft.KeyVault/stable/2016-10-01/keyvault.json +- Microsoft.KeyVault/stable/2016-10-01/secrets.json +``` diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index 77c0d24ebcb0..4084492bcbfc 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -30,6 +30,18 @@ tag: package-2018-02 ``` +### Tag: package-2018-02-14-preview + +These settings apply only when `--tag=package-2018-02-14-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-02-14-preview' +input-file: +- Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json +- Microsoft.KeyVault/preview/2018-02-14-preview/providers.json +- Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json +``` + + ### Tag: package-2018-02 These settings apply only when `--tag=package-2018-02` is specified on the command line. @@ -92,63 +104,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -namespace: com.microsoft.azure.management.keyvault -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault -``` - -### Java multi-api - -```yaml $(java) && $(multiapi) -batch: - - tag: package-2016-10 - - tag: package-2015-06 -``` - -### Tag: package-2016-10 and java - -These settings apply only when `--tag=package-2016-10 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.keyvault.v2016_10_01 - output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01 -regenerate-manager: true -generate-interface: true -directive: - from: keyvault.json - where: $.paths["/subscriptions/{subscriptionId}/resources"].get - transform: $['operationId'] = 'Vaults_ListResource' -``` - -### Tag: package-2015-06 and java - -These settings apply only when `--tag=package-2015-06 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.keyvault.v2015_06_01 - output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: profile-hybrid-2019-03-01 - -These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. -Creating this tag to pick proper resources from the hybrid profile. - -``` yaml $(tag) == 'profile-hybrid-2019-03-01' -input-file: -- Microsoft.KeyVault/stable/2016-10-01/providers.json -- Microsoft.KeyVault/stable/2016-10-01/keyvault.json -- Microsoft.KeyVault/stable/2016-10-01/secrets.json -``` +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 771f1f0c700027aa3e91aaba8ce11cd5503b6ea7 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Wed, 26 Jun 2019 14:10:46 -0700 Subject: [PATCH 163/495] add appconfiguration to Go SDK (#6465) --- .../resource-manager/readme.go.md | 26 +++++++++++++++++++ .../resource-manager/readme.md | 5 ++++ 2 files changed, 31 insertions(+) create mode 100644 specification/appconfiguration/resource-manager/readme.go.md diff --git a/specification/appconfiguration/resource-manager/readme.go.md b/specification/appconfiguration/resource-manager/readme.go.md new file mode 100644 index 000000000000..e68fddb79019 --- /dev/null +++ b/specification/appconfiguration/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: appconfiguration + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-02-01-preview +``` + +### Tag: package-2019-02-01-preview and go + +These settings apply only when `--tag=package-2019-02-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-02-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-01-preview/$(namespace) +``` diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 39faedc9455d..e85c4b186104 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -53,6 +53,7 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-net - repo: azure-sdk-for-js + - repo: azure-sdk-for-go - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_app_configuration'] @@ -70,6 +71,10 @@ See configuration in [readme.python.md](./readme.python.md) See configuration in [readme.java.md](./readme.java.md) +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Ruby See configuration in [readme.ruby.md](./readme.ruby.md) From a0dc416397dceb27fbe927cc793f413a494f9acd Mon Sep 17 00:00:00 2001 From: YiLiu <48115265+Yiliu-microsoft@users.noreply.github.com> Date: Thu, 27 Jun 2019 07:40:20 +0800 Subject: [PATCH 164/495] fix public swagger issues (#6396) * Modify the public swagger by reference to private swagger * modify swagger * Change XxxSetting to XxxSettings in private swagger --- .../2018-06-01/entityTypes/Dataset.json | 30 --- .../2018-06-01/entityTypes/LinkedService.json | 9 +- .../2018-06-01/entityTypes/Pipeline.json | 228 ++++-------------- 3 files changed, 51 insertions(+), 216 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 2b872d64d788..95e57e75352a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1182,36 +1182,6 @@ } } }, - "TeradataTableDatasetTypeProperties": { - "description": "Teradata dataset properties.", - "properties": { - "database": { - "type": "object", - "description": "The database name of Teradata. Type: string (or Expression with resultType string)." - }, - "table": { - "type": "object", - "description": "The table name of Teradata. Type: string (or Expression with resultType string)." - } - } - }, - "TeradataTableDataset": { - "x-ms-discriminator-value": "TeradataTable", - "description": "The Teradata database dataset.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Dataset" - } - ], - "properties": { - "typeProperties": { - "description": "Teradata dataset properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/TeradataTableDatasetTypeProperties" - } - } - }, "AzureMySqlTableDataset": { "x-ms-discriminator-value": "AzureMySqlTable", "description": "The Azure MySQL database dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index bb72a07710f7..020981bc9dda 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -937,10 +937,6 @@ "TeradataLinkedServiceTypeProperties": { "description": "Teradata linked service properties.", "properties": { - "connectionString": { - "description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", - "type": "object" - }, "server": { "type": "object", "description": "Server name for connection. Type: string (or Expression with resultType string)." @@ -969,7 +965,10 @@ "type": "object", "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." } - } + }, + "required": [ + "server" + ] }, "AzureMLLinkedService": { "x-ms-discriminator-value": "AzureML", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 0db420e5ad13..5020a659f27b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -205,7 +205,7 @@ "type": "object" } }, - "ConnectorReadSetting": { + "StoreReadSettings": { "description": "Connector read setting.", "type": "object", "properties": { @@ -225,12 +225,12 @@ "type" ] }, - "AzureBlobStorageReadSetting": { + "AzureBlobStorageReadSettings": { "description": "Azure blob read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -260,12 +260,12 @@ } } }, - "AzureBlobFSReadSetting": { + "AzureBlobFSReadSettings": { "description": "Azure blobFS read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -295,12 +295,12 @@ } } }, - "AzureDataLakeStoreReadSetting": { + "AzureDataLakeStoreReadSettings": { "description": "Azure data lake store read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -330,12 +330,12 @@ } } }, - "AmazonS3ReadSetting": { + "AmazonS3ReadSettings": { "description": "Azure data lake store read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -369,12 +369,12 @@ } } }, - "FileServerReadSetting": { + "FileServerReadSettings": { "description": "File server read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -404,12 +404,12 @@ } } }, - "FtpReadSetting": { + "FtpReadSettings": { "description": "Ftp read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -431,12 +431,12 @@ } } }, - "SftpReadSetting": { + "SftpReadSettings": { "description": "Sftp read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -462,12 +462,12 @@ } } }, - "HttpReadSetting": { + "HttpReadSettings": { "description": "Sftp read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -489,12 +489,12 @@ } } }, - "HdfsReadSetting": { + "HdfsReadSettings": { "description": "HDFS read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorReadSetting" + "$ref": "#/definitions/StoreReadSettings" } ], "properties": { @@ -528,7 +528,7 @@ } } }, - "ConnectorWriteSetting": { + "StoreWriteSettings": { "description": "Connector write settings.", "type": "object", "properties": { @@ -552,43 +552,43 @@ "type" ] }, - "AzureBlobStorageWriteSetting": { + "AzureBlobStorageWriteSettings": { "description": "Azure blob write settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorWriteSetting" + "$ref": "#/definitions/StoreWriteSettings" } ] }, - "AzureBlobFSWriteSetting": { + "AzureBlobFSWriteSettings": { "description": "Azure blobFS write settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorWriteSetting" + "$ref": "#/definitions/StoreWriteSettings" } ] }, - "AzureDataLakeStoreWriteSetting": { + "AzureDataLakeStoreWriteSettings": { "description": "Azure data lake store write settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorWriteSetting" + "$ref": "#/definitions/StoreWriteSettings" } ] }, - "FileServerWriteSetting": { + "FileServerWriteSettings": { "description": "File server write settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ConnectorWriteSetting" + "$ref": "#/definitions/StoreWriteSettings" } ] }, - "FormatReadSetting": { + "FormatReadSettings": { "description": "Format read settings.", "type": "object", "properties": { @@ -604,12 +604,12 @@ "type" ] }, - "DelimitedTextReadSetting": { + "DelimitedTextReadSettings": { "description": "Delimited text read settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/FormatReadSetting" + "$ref": "#/definitions/FormatReadSettings" } ], "properties": { @@ -619,7 +619,7 @@ } } }, - "FormatWriteSetting": { + "FormatWriteSettings": { "description": "Format write settings.", "type": "object", "properties": { @@ -635,12 +635,12 @@ "type" ] }, - "DelimitedTextWriteSetting": { + "DelimitedTextWriteSettings": { "description": "Delimited text write settings.", "type": "object", "allOf": [ { - "$ref": "#/definitions/FormatWriteSetting" + "$ref": "#/definitions/FormatWriteSettings" } ], "properties": { @@ -667,7 +667,7 @@ ], "properties": { "storeSettings": { - "$ref": "#/definitions/ConnectorReadSetting", + "$ref": "#/definitions/StoreReadSettings", "description": "Parquet store settings." } } @@ -682,11 +682,11 @@ ], "properties": { "storeSettings": { - "$ref": "#/definitions/ConnectorReadSetting", + "$ref": "#/definitions/StoreReadSettings", "description": "DelimitedText store settings." }, "formatSettings": { - "$ref": "#/definitions/DelimitedTextReadSetting", + "$ref": "#/definitions/DelimitedTextReadSettings", "description": "DelimitedText format settings." } } @@ -701,11 +701,11 @@ ], "properties": { "storeSettings": { - "$ref": "#/definitions/ConnectorWriteSetting", + "$ref": "#/definitions/StoreWriteSettings", "description": "DelimitedText store settings." }, "formatSettings": { - "$ref": "#/definitions/DelimitedTextWriteSetting", + "$ref": "#/definitions/DelimitedTextWriteSettings", "description": "DelimitedText format settings." } } @@ -939,7 +939,7 @@ }, "readBehavior": { "description": "The read behavior for the operation. Default is Query.", - "type": "object", + "type": "string", "enum": [ "Query", "QueryAll" @@ -1042,47 +1042,6 @@ "customRfcReadTableFunctionModule": { "type": "object", "description": "Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string)." - }, - "partitionOption": { - "description": "The partition mechanism that will be used for SAP table read in parallel.", - "type": "object", - "enum": [ - "None", - "PartitionOnInt", - "PartitionOnCalendarYear", - "PartitionOnCalendarMonth", - "PartitionOnCalendarDate" - ], - "x-ms-enum": { - "name": "TabularPartitionOption", - "modelAsString": true - } - }, - "partitionSettings": { - "description": "The settings that will be leveraged for SAP table source partitioning.", - "$ref": "#/definitions/SapTablePartitionSettings" - } - } - }, - "SapTablePartitionSettings": { - "description": "The settings that will be leveraged for SAP table source partitioning.", - "type": "object", - "properties": { - "partitionColumnName": { - "type": "object", - "description": "The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "partitionUpperBound": { - "type": "object", - "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "partitionLowerBound": { - "type": "object", - "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "maxPartitionsNumber": { - "type": "object", - "description": "The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string)." } } }, @@ -1327,99 +1286,6 @@ "queryTimeout": { "type": "object", "description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." - }, - "partitionOption": { - "description": "The partition mechanism that will be used for oracle read in parallel.", - "type": "object", - "enum": [ - "None", - "PhysicalPartitionsOfTable", - "DynamicRange" - ], - "x-ms-enum": { - "name": "TabularPartitionOption", - "modelAsString": true - } - }, - "partitionSettings": { - "description": "The settings that will be leveraged for oracle source partitioning.", - "$ref": "#/definitions/OraclePartitionSettings" - } - } - }, - "OraclePartitionSettings": { - "description": "The settings that will be leveraged for oracle source partitioning.", - "type": "object", - "properties": { - "partitionNames": { - "type": "object", - "items": { - "type": "object", - "description": "Type: string (or Expression with resultType string)." - }, - "description": "Names of the physical partitions of oracle table. " - }, - "partitionColumnName": { - "type": "object", - "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "partitionUpperBound": { - "type": "object", - "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "partitionLowerBound": { - "type": "object", - "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - } - } - }, - "TeradataSource": { - "description": "A copy activity Teradata source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CopySource" - } - ], - "properties": { - "query": { - "type": "object", - "description": "Teradata query. Type: string (or Expression with resultType string)." - }, - "partitionOption": { - "description": "The partition mechanism that will be used for teradata read in parallel.", - "type": "object", - "enum": [ - "None", - "Hash", - "DynamicRange" - ], - "x-ms-enum": { - "name": "TabularPartitionOption", - "modelAsString": true - } - }, - "partitionSettings": { - "description": "The settings that will be leveraged for teradata source partitioning.", - "$ref": "#/definitions/TeradataPartitionSettings" - } - } - }, - "TeradataPartitionSettings": { - "description": "The settings that will be leveraged for teradata source partitioning.", - "type": "object", - "properties": { - "partitionColumnName": { - "type": "object", - "description": "The name of the column in integer type that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)." - }, - "partitionUpperBound": { - "type": "object", - "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." - }, - "partitionLowerBound": { - "type": "object", - "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." } } }, @@ -1448,7 +1314,7 @@ }, "consistencyLevel": { "description": "The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.", - "type": "object", + "type": "string", "enum": [ "ALL", "EACH_QUORUM", @@ -2228,7 +2094,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is 'Insert'.", - "type": "object", + "type": "string", "enum": [ "Insert", "Update" @@ -2252,7 +2118,7 @@ }, "CopyBehaviorType": { "description": "All available types of copy behavior.", - "type": "object", + "type": "string", "enum": [ "PreserveHierarchy", "FlattenHierarchy", @@ -2300,7 +2166,7 @@ ], "properties": { "storeSettings": { - "$ref": "#/definitions/ConnectorWriteSetting", + "$ref": "#/definitions/StoreWriteSettings", "description": "Parquet store settings." } } @@ -2652,7 +2518,7 @@ "properties": { "writeBehavior": { "description": "Specify the write behavior when upserting documents into Azure Search Index.", - "type": "object", + "type": "string", "enum": [ "Merge", "Upload" @@ -2690,7 +2556,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation.", - "type": "object", + "type": "string", "enum": [ "Upsert" ], @@ -2742,7 +2608,7 @@ "properties": { "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", - "type": "object", + "type": "string", "enum": [ "Insert", "Upsert" From 4d9e98e4bd1c4d493537048742e3a73384190e2a Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Wed, 26 Jun 2019 17:31:15 -0700 Subject: [PATCH 165/495] Update CODEOWNERS --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 8501ac8419c4..53c2514c8363 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -64,7 +64,7 @@ /specification/servicebus/ @sazeesha @v-ajnava /specification/servicefabric/ @juhacket @samedder /specification/sql/ @dnayantara @jaredmoo @nathannfan -/specification/storage/ @jasonyang-msft @stankovski +/specification/storage/ @jasonyang-msft @xiaonlimsft /specification/storageimportexport/ @leoz-ms /specification/storagesync/ @ankushbindlish2 /specification/storsimple8000series/ @manaas-microsoft From d7b24925b9109fd9ae87595c8e3b312b6e96b75e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 27 Jun 2019 07:08:14 -0400 Subject: [PATCH 166/495] chore: jsonfmt machinelearningservices (#6477) Ran `jsonfmt -w "specification/machinelearningservices/**/*.json"` --- .../examples/ListVMSizesResult.json | 2 +- .../2018-11-19/examples/patchAmlCompute.json | 60 +++++------ .../2018-11-19/machineLearningServices.json | 2 +- .../examples/ListVMSizesResult.json | 2 +- .../examples/createBasicAKSCompute.json | 76 ++++++------- .../examples/createBasicAmlCompute.json | 94 ++++++++-------- .../createBasicDataFactoryCompute.json | 76 ++++++------- .../2019-05-01/examples/createWorkspace.json | 102 +++++++++--------- .../2019-05-01/examples/deleteCompute.json | 34 +++--- .../2019-05-01/examples/deleteWorkspace.json | 22 ++-- .../2019-05-01/examples/getAKSCompute.json | 44 ++++---- .../2019-05-01/examples/getAmlCompute.json | 88 +++++++-------- .../2019-05-01/examples/getComputes.json | 76 ++++++------- .../2019-05-01/examples/getWorkspace.json | 50 ++++----- .../getWorkspacesByResourceGroup.json | 90 ++++++++-------- .../examples/getWorkspacesBySubscription.json | 88 +++++++-------- .../examples/listKeysAKSCompute.json | 34 +++--- .../examples/listWorkspaceKeys.json | 53 +++++---- .../2019-05-01/examples/patchAmlCompute.json | 58 +++++----- .../examples/resyncWorkspaceKeys.json | 22 ++-- .../2019-05-01/examples/updateAKSCompute.json | 96 ++++++++--------- .../2019-05-01/examples/updateAmlCompute.json | 100 ++++++++--------- .../2019-05-01/examples/updateWorkspace.json | 60 +++++------ .../2019-05-01/machineLearningServices.json | 92 +++++++++++----- 24 files changed, 728 insertions(+), 693 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json index a5220ca132a4..cedabe460a02 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json @@ -452,4 +452,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json index 0c03d1d86d02..082d445ec9f9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json @@ -1,36 +1,36 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2018-11-19", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2018-11-19", - "parameters": { - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } + } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json index 684743fcb1ea..d7f0af3f304d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json @@ -1143,7 +1143,7 @@ "description": "The Usage Names." }, "Usage": { - "type":"object", + "type": "object", "properties": { "unit": { "readOnly": true, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json index a5220ca132a4..cedabe460a02 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json @@ -452,4 +452,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json index 152922e0b3ce..ee48dd333d17 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AKS" - } + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json index f5d3e81e7272..d6ba80c357d8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json @@ -1,53 +1,53 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json index fce2f7e27857..b201da715bed 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json @@ -1,44 +1,44 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "DataFactory" - } + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json index 850b79a91c09..1aab6c1ec2fb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json @@ -1,57 +1,57 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2019-05-01", - "parameters": { - "location": "eastus2euap", - "properties": { - "friendlyName": "HelloName", - "description": "test description", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" - } + "location": "eastus2euap", + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json index dddf6bb5a28f..54f2556dd473 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "underlyingResourceAction": "Delete" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json index d80ac27c824d..690c28f0d699 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json @@ -1,12 +1,12 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2019-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json index 85fc45b5a2fa..f934ecce5a6d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json index 17af049850b9..b90f0bc77352 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "createdOn": "2017-09-26T22:28:08.327Z", - "provisioningState": "Succeeded", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "subnet": "test-subnet-resource-id", - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - }, - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", - "errors": null, - "currentNodeCount": 0, - "targetNodeCount": 1, - "nodeStateCounts": { - "preparingNodeCount": 0, - "runningNodeCount": 0, - "idleNodeCount": 0, - "unusableNodeCount": 0, - "leavingNodeCount": 0, - "preemptedNodeCount": 0 - } - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "createdOn": "2017-09-26T22:28:08.327Z", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json index cefbea43cf28..d81e461cbd99 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute1234", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" } - } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json index 975aaf2127d9..1f337f997011 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json index f7795d415bb3..2372abce3514 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName 1", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json index 19b842664298..f5773ab7679b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "HelloName", - "description": "test description" - } - } - ], - "nextLink": "nextLink" + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json index f8ea09f00174..96829acd2c49 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json @@ -1,19 +1,19 @@ { - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "userKubeConfig": "user kube config...", - "adminKubeConfig": "admin kube config...", - "imagePullSecretName": "the image pull secret name" - } - } + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json index 4605c2b7285e..94825e385523 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json @@ -1,32 +1,31 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - "body": + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ { - "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==", - "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", - "appInsightsInstrumentationKey": null, - "containerRegistryCredentials": { - "location": null, - "username": "testdemoworkjmjmeykp", - "passwords": [ - { - "name": "password", - "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" - }, - { - "name": "password2", - "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" - } - ] - } + "name": "password", + "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json index a94b47b24dd1..b6a9b2c410bc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json @@ -1,36 +1,36 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } } + } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." } + } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json index 1435064d9874..67bcfb233275 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json @@ -1,13 +1,11 @@ { - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2019-05-01" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2019-05-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json index 581bd410245d..01f0f9684575 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json @@ -1,54 +1,54 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "id": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "properties": { - "agentCount": 4 - } - } + "id": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json index 6f014c0e5c6e..bcb7cf3c8c31 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json @@ -1,57 +1,57 @@ { + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2019-05-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" } + } } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } } -} \ No newline at end of file + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json index b3c61f6b0910..ed1f3b938cef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json @@ -1,34 +1,34 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2019-05-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2019-05-01", - "parameters": { - "properties": { - "friendlyName": "New friendly name", - "description": "new description" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "creationTime": "2017-03-01T23:14:37.0707808Z", - "friendlyName": "New friendly name", - "description": "new description" - } - } + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "New friendly name", + "description": "new description" } } -} \ No newline at end of file + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json index 21694eeadb20..94ad74157938 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json @@ -73,7 +73,9 @@ "description": "Gets the properties of the specified machine learning workspace.", "operationId": "Workspaces_Get", "x-ms-examples": { - "Get Workspace": { "$ref": "./examples/getWorkspace.json" } + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } }, "parameters": [ { @@ -111,7 +113,9 @@ "description": "Creates or updates a workspace with the specified parameters.", "operationId": "Workspaces_CreateOrUpdate", "x-ms-examples": { - "Create Workspace": { "$ref": "./examples/createWorkspace.json" } + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } }, "parameters": [ { @@ -164,7 +168,9 @@ "description": "Deletes a machine learning workspace.", "operationId": "Workspaces_Delete", "x-ms-examples": { - "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" } + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } }, "parameters": [ { @@ -202,7 +208,9 @@ "description": "Updates a machine learning workspace with the specified parameters.", "operationId": "Workspaces_Update", "x-ms-examples": { - "Update Workspace": { "$ref": "./examples/updateWorkspace.json" } + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } }, "parameters": [ { @@ -251,7 +259,9 @@ "description": "Lists all the available machine learning workspaces under the specified resource group.", "operationId": "Workspaces_ListByResourceGroup", "x-ms-examples": { - "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" } + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } }, "parameters": [ { @@ -294,7 +304,9 @@ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ListKeys", "x-ms-examples": { - "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" } + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } }, "parameters": [ { @@ -334,7 +346,9 @@ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry", "operationId": "Workspaces_ResyncKeys", "x-ms-examples": { - "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" } + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } }, "parameters": [ { @@ -450,7 +464,9 @@ "description": "Lists all the available machine learning workspaces under the specified subscription.", "operationId": "Workspaces_ListBySubscription", "x-ms-examples": { - "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" } + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } }, "parameters": [ { @@ -494,7 +510,9 @@ "operationId": "MachineLearningCompute_ListByWorkspace", "description": "Gets computes in specified workspace.", "x-ms-examples": { - "Get Computes": { "$ref": "./examples/getComputes.json" } + "Get Computes": { + "$ref": "./examples/getComputes.json" + } }, "parameters": [ { @@ -538,8 +556,12 @@ "operationId": "MachineLearningCompute_Get", "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.", "x-ms-examples": { - "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" }, - "Get a AML Compute": { "$ref": "./examples/getAmlCompute.json" } + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/getAmlCompute.json" + } }, "parameters": [ { @@ -582,11 +604,21 @@ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Create a AML Compute": { "$ref": "./examples/createBasicAmlCompute.json" }, - "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" }, - "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" }, - "Update a AML Compute": { "$ref": "./examples/updateAmlCompute.json" }, - "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" } + "Create a AML Compute": { + "$ref": "./examples/createBasicAmlCompute.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/updateAmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } }, "parameters": [ { @@ -644,7 +676,9 @@ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Update a AmlCompute Compute": { "$ref": "./examples/patchAmlCompute.json" } + "Update a AmlCompute Compute": { + "$ref": "./examples/patchAmlCompute.json" + } }, "parameters": [ { @@ -696,7 +730,9 @@ "description": "Deletes specified Machine Learning compute.", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete Compute": { "$ref": "./examples/deleteCompute.json" } + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } }, "parameters": [ { @@ -798,7 +834,9 @@ "operationId": "MachineLearningCompute_ListKeys", "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", "x-ms-examples": { - "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" } + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } }, "parameters": [ { @@ -930,7 +968,7 @@ "modelAsString": true }, "x-ms-parameter-location": "method" -} + } }, "definitions": { "Operation": { @@ -1101,7 +1139,7 @@ "description": "The Usage Names." }, "Usage": { - "type":"object", + "type": "object", "properties": { "id": { "readOnly": true, @@ -1403,7 +1441,7 @@ }, { "type": "object", - "properties":{ + "properties": { "properties": { "description": "Compute properties", "$ref": "#/definitions/Compute" @@ -1569,9 +1607,9 @@ "$ref": "#/definitions/UserAccountCredentials" }, "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" }, "allocationState": { "type": "string", @@ -1600,7 +1638,7 @@ "description": "Collection of errors encountered by various compute nodes during node setup.", "type": "array", "items": { - "$ref": "#/definitions/MachineLearningServiceError" + "$ref": "#/definitions/MachineLearningServiceError" } }, "currentNodeCount": { @@ -2189,4 +2227,4 @@ ] } } -} \ No newline at end of file +} From 2d502403052d96dc4b5f2ff2f3a9d85f924feee0 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 27 Jun 2019 07:34:47 -0700 Subject: [PATCH 167/495] fixed references to powerbi in java, added java readme (#6462) --- .../resource-manager/readme.java.md | 34 +++++++++++++++++++ .../resource-manager/readme.md | 34 +------------------ 2 files changed, 35 insertions(+), 33 deletions(-) create mode 100644 specification/powerbiembedded/resource-manager/readme.java.md diff --git a/specification/powerbiembedded/resource-manager/readme.java.md b/specification/powerbiembedded/resource-manager/readme.java.md new file mode 100644 index 000000000000..1ace3902ed16 --- /dev/null +++ b/specification/powerbiembedded/resource-manager/readme.java.md @@ -0,0 +1,34 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.powerbiembedded +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbiembedded +service-name: PowerBIEmbedded +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-01 +``` + +### Tag: package-2016-01 and java + +These settings apply only when `--tag=package-2016-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.powerbiembedded.v2016_01_29 + output-folder: $(azure-libraries-for-java-folder)/powerbiembedded/resource-manager/v2016_01_29 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 5db8440651bd..2ff6bf10e53a 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -110,36 +110,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.powerbiembedded -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbiembedded -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2016-01 -``` - -### Tag: package-2016-01 and java - -These settings apply only when `--tag=package-2016-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.powerbi.v2016_01_29 - output-folder: $(azure-libraries-for-java-folder)/powerbi/resource-manager/v2016_01_29 -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) From e188291b7730ebea7bf408e870f1054967929361 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 27 Jun 2019 11:12:43 -0700 Subject: [PATCH 168/495] Fix Python conf for MLS (#6452) --- .../resource-manager/readme.md | 27 ------------------- .../resource-manager/readme.pyhon.md | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/readme.pyhon.md diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 9206e90cea44..9f255bf53564 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -86,33 +86,6 @@ csharp: clear-output-folder: true ``` -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.machinelearningservices - package-name: azure-mgmt-machinelearningservices - package-version: 0.1.0 - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices -``` ## Go diff --git a/specification/machinelearningservices/resource-manager/readme.pyhon.md b/specification/machinelearningservices/resource-manager/readme.pyhon.md new file mode 100644 index 000000000000..1adbed6eb50e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/readme.pyhon.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.machinelearningservices + package-name: azure-mgmt-machinelearningservices + package-version: 0.1.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices +``` From f15cac4832c35fcf6c96f6c418c2293985b2ef2c Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 27 Jun 2019 11:23:54 -0700 Subject: [PATCH 169/495] Rename invalid file (#6484) --- .../resource-manager/{readme.pyhon.md => readme.python.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/machinelearningservices/resource-manager/{readme.pyhon.md => readme.python.md} (100%) diff --git a/specification/machinelearningservices/resource-manager/readme.pyhon.md b/specification/machinelearningservices/resource-manager/readme.python.md similarity index 100% rename from specification/machinelearningservices/resource-manager/readme.pyhon.md rename to specification/machinelearningservices/resource-manager/readme.python.md From bd36dbe35acc13bfafe8f2b0c5eda639a4d775d3 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 27 Jun 2019 11:27:08 -0700 Subject: [PATCH 170/495] added package tag, added java readme (#6483) --- .../resource-manager/readme.java.md | 61 +++++++++++++++++++ .../servicefabric/resource-manager/readme.md | 56 +++-------------- 2 files changed, 70 insertions(+), 47 deletions(-) create mode 100644 specification/servicefabric/resource-manager/readme.java.md diff --git a/specification/servicefabric/resource-manager/readme.java.md b/specification/servicefabric/resource-manager/readme.java.md new file mode 100644 index 000000000000..70508fbfe1aa --- /dev/null +++ b/specification/servicefabric/resource-manager/readme.java.md @@ -0,0 +1,61 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.servicefabric +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicefabric +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-02-only + - tag: package-2017-07 + - tag: package-2016-09 +``` + +### Tag: package-2018-02-only and java + +These settings apply only when `--tag=package-2018-02-only --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-02-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicefabric.v2018_02_01 + output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2018_02_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicefabric.v2017_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2017_07_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-09 and java + +These settings apply only when `--tag=package-2016-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicefabric.v2016_09_01 + output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2016_09_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 34fcb6f30eb4..1fecb39312a0 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -97,6 +97,14 @@ input-file: - Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json ``` +### Tag: package-2018-02-only + +These settings apply only when `--tag=package-2018-02-only` is specified on the command line. + +``` yaml $(tag) == 'package-2018-02-only' +input-file: +- Microsoft.ServiceFabric/stable/2018-02-01/cluster.json +``` --- # Code Generation @@ -141,50 +149,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.servicefabric -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicefabric -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-07 - - tag: package-2016-09 -``` - -### Tag: package-2017-07 and java - -These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.servicefabric.v2017_07_01_preview - output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2017_07_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2016-09 and java - -These settings apply only when `--tag=package-2016-09 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-09' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.servicefabric.v2016_09_01 - output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2016_09_01 -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From cf33826d06605cde127d2241e54dd6df55e9145f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 27 Jun 2019 15:38:39 -0400 Subject: [PATCH 171/495] chore: jsonfmt monitor (#6184) * chore: jsonfmt monitor Ran `jsonfmt -w "specification/monitor/**/*.json"` * fix: Remove "description" from example * fix: Remove "publisher" from example * fix: Remove "properties" from optionlist example * chore: Trim leading space in values * chore: Trim trailing space in values --- .../examples/AzureMetrics_IngestMetrics.json | 86 +- .../2018-09-01-preview/metricsCreate_API.json | 6 +- .../activityLogAlerts_API.json | 992 ++++----- .../createOrUpdateActivityLogAlert.json | 228 +- .../examples/deleteActivityLogAlert.json | 30 +- .../examples/getActivityLogAlert.json | 90 +- .../examples/listActivityLogAlerts.json | 152 +- .../examples/patchActivityLogAlert.json | 110 +- .../diagnosticsSettingsCategories_API.json | 13 +- .../diagnosticsSettings_API.json | 23 +- .../examples/GetMetric.json | 178 +- .../examples/GetMetricDefinitions.json | 825 +++---- .../examples/GetMetricMetadata.json | 106 +- .../createOrUpdateDiagnosticSetting.json | 54 +- .../examples/deleteDiagnosticSetting.json | 26 +- .../examples/getDiagnosticSetting.json | 56 +- .../getDiagnosticSettingsCategory.json | 24 +- .../examples/listDiagnosticSettings.json | 46 +- .../listDiagnosticSettingsCategories.json | 32 +- .../metricDefinitions_API.json | 52 +- .../2017-05-01-preview/metrics_API.json | 58 +- .../2017-11-01-preview/baseline_API.json | 586 ++--- .../calculateBaseline_API.json | 394 ++-- .../examples/CalculateBaseline.json | 84 +- .../examples/GetBaseline.json | 104 +- .../examples/GetBaselineMetadata.json | 68 +- .../examples/GetMetricNamespaces.json | 42 +- .../metricNamespaces_API.json | 14 +- ...createOrUpdateGuestDiagnosticSettings.json | 285 ++- ...ateGuestDiagnosticSettingsAssociation.json | 74 +- ...eteGuestDiagnosticSettingsAssociation.json | 28 +- .../examples/getGuestDiagnosticSettings.json | 316 ++- ...getGuestDiagnosticSettingsAssociation.json | 38 +- ...ateGuestDiagnosticSettingsAssociation.json | 48 +- ...uestDiagnosticSettingsAssociation_API.json | 842 ++++---- .../guestDiagnosticSettings_API.json | 1106 +++++----- .../getOnboardingStatusResourceGroup.json | 56 +- .../examples/getOnboardingStatusSingleVM.json | 56 +- .../getOnboardingStatusSingleVMUnknown.json | 40 +- .../getOnboardingStatusSubscription.json | 72 +- .../getOnboardingStatusVMScaleSet.json | 56 +- .../vmInsightsOnboarding_API.json | 468 ++-- .../stable/2015-04-01/activityLogs_API.json | 24 +- .../stable/2015-04-01/autoscale_API.json | 161 +- .../2015-04-01/eventCategories_API.json | 14 +- .../examples/GetActivityLogsFiltered.json | 164 +- .../GetActivityLogsFilteredAndSelected.json | 76 +- .../examples/GetActivityLogsNoParams.json | 162 +- .../examples/GetActivityLogsSelected.json | 74 +- .../examples/GetEventCategories.json | 38 +- .../GetTenantActivityLogsFiltered.json | 164 +- ...TenantActivityLogsFilteredAndSelected.json | 76 +- .../GetTenantActivityLogsNoParams.json | 162 +- .../GetTenantActivityLogsSelected.json | 74 +- .../2015-04-01/examples/OperationList.json | 1106 ++++------ .../createOrUpdateAutoscaleSetting.json | 654 +++--- .../examples/deleteAutoscaleSetting.json | 30 +- .../examples/getAutoscaleSetting.json | 304 +-- .../examples/listAutoscaleSetting.json | 295 +-- .../listAutoscaleSettingBySubscription.json | 293 +-- .../examples/patchAutoscaleSetting.json | 436 ++-- .../stable/2015-04-01/operations_API.json | 44 +- .../2015-04-01/tenantActivityLogs_API.json | 26 +- .../serviceDiagnosticsSettings_API.json | 82 +- .../2016-03-01/alertRulesIncidents_API.json | 10 +- .../stable/2016-03-01/alertRules_API.json | 223 +- .../examples/GetMetricDefinitions.json | 147 +- .../GetMetricDefinitionsFiltered.json | 109 +- .../examples/createOrUpdateAlertRule.json | 178 +- .../examples/createOrUpdateLogProfile.json | 96 +- .../2016-03-01/examples/deleteAlertRule.json | 30 +- .../2016-03-01/examples/deleteLogProfile.json | 22 +- .../2016-03-01/examples/getAlertRule.json | 77 +- .../examples/getAlertRuleIncident.json | 36 +- .../2016-03-01/examples/getLogProfile.json | 64 +- .../2016-03-01/examples/listAlertRule.json | 158 +- .../examples/listAlertRuleBySubscription.json | 156 +- .../examples/listAlertRuleIncidents.json | 44 +- .../2016-03-01/examples/listLogProfile.json | 116 +- .../2016-03-01/examples/patchAlertRule.json | 180 +- .../2016-03-01/examples/patchLogProfile.json | 104 +- .../stable/2016-03-01/logProfiles_API.json | 125 +- .../2016-03-01/metricDefinitions_API.json | 80 +- .../stable/2016-09-01/examples/GetMetric.json | 120 +- .../examples/GetMetricFiltered.json | 122 +- ...reateOrUpdateServiceDiagnosticSetting.json | 134 +- .../examples/getServiceDiagnosticSetting.json | 62 +- .../updateServiceDiagnosticSetting.json | 134 +- .../stable/2016-09-01/metrics_API.json | 64 +- .../serviceDiagnosticsSettings_API.json | 154 +- .../stable/2017-04-01/actionGroups_API.json | 1376 ++++++------ .../2017-04-01/activityLogAlerts_API.json | 994 ++++----- .../examples/createOrUpdateActionGroup.json | 410 ++-- .../createOrUpdateActivityLogAlert.json | 228 +- .../examples/deleteActionGroup.json | 30 +- .../examples/deleteActivityLogAlert.json | 30 +- .../2017-04-01/examples/enableReceiver.json | 36 +- .../2017-04-01/examples/getActionGroup.json | 104 +- .../examples/getActivityLogAlert.json | 90 +- .../2017-04-01/examples/listActionGroups.json | 166 +- .../examples/listActivityLogAlerts.json | 152 +- .../2017-04-01/examples/patchActionGroup.json | 120 +- .../examples/patchActivityLogAlert.json | 108 +- .../stable/2018-01-01/examples/GetMetric.json | 184 +- .../examples/GetMetricDefinitions.json | 1899 +++++++++-------- .../examples/GetMetricMetadata.json | 112 +- .../2018-01-01/metricDefinitions_API.json | 37 +- .../stable/2018-01-01/metrics_API.json | 31 +- .../stable/2018-03-01/actionGroups_API.json | 1560 +++++++------- .../examples/UpdateMetricAlert.json | 14 +- .../examples/createOrUpdateActionGroup.json | 542 ++--- ...ateDynamicMetricAlertMultipleResource.json | 130 +- ...pdateDynamicMetricAlertSingleResource.json | 132 +- ...teOrUpdateMetricAlertMultipleResource.json | 18 +- ...reateOrUpdateMetricAlertResourceGroup.json | 18 +- ...eateOrUpdateMetricAlertSingleResource.json | 10 +- ...createOrUpdateMetricAlertSubscription.json | 18 +- .../examples/deleteActionGroup.json | 30 +- .../examples/deleteMetricAlert.json | 2 +- .../2018-03-01/examples/enableReceiver.json | 36 +- .../2018-03-01/examples/getActionGroup.json | 104 +- ...getDynamicMetricAlertMultipleResource.json | 110 +- .../getDynamicMetricAlertSingleResource.json | 108 +- .../getMetricAlertMultipleResource.json | 9 +- .../examples/getMetricAlertResourceGroup.json | 9 +- .../getMetricAlertSingleResource.json | 7 +- .../examples/getMetricAlertStatus.json | 2 +- .../examples/getMetricAlertStatusByName.json | 2 +- .../examples/getMetricAlertSubscription.json | 9 +- .../2018-03-01/examples/listActionGroups.json | 166 +- .../2018-03-01/examples/listMetricAlert.json | 12 +- .../2018-03-01/examples/patchActionGroup.json | 120 +- .../stable/2018-03-01/metricAlert_API.json | 353 ++- ...eScheduledQueryRule-LogToMetricAction.json | 8 +- .../createOrUpdateScheduledQueryRules.json | 8 +- ...eScheduledQueryRuleswithCrossResource.json | 18 +- .../examples/deleteScheduledQueryRules.json | 2 +- .../examples/getScheduledQueryRules.json | 2 +- .../examples/listScheduledQueryRules.json | 4 +- .../2018-04-16/scheduledQueryRule_API.json | 54 +- .../stable/2018-09-01/actionGroups_API.json | 1610 +++++++------- .../stable/2018-09-01/baseline_API.json | 750 +++---- .../2018-09-01/calculateBaseline_API.json | 394 ++-- .../examples/CalculateBaseline.json | 84 +- .../2018-09-01/examples/GetBaseline.json | 104 +- .../examples/GetBaselineMetadata.json | 68 +- .../examples/createOrUpdateActionGroup.json | 578 ++--- .../examples/deleteActionGroup.json | 30 +- .../2018-09-01/examples/enableReceiver.json | 36 +- .../2018-09-01/examples/getActionGroup.json | 104 +- .../2018-09-01/examples/listActionGroups.json | 166 +- .../2018-09-01/examples/patchActionGroup.json | 120 +- .../stable/2019-03-01/actionGroups_API.json | 1670 +++++++-------- .../examples/createOrUpdateActionGroup.json | 620 +++--- .../examples/deleteActionGroup.json | 30 +- .../2019-03-01/examples/enableReceiver.json | 36 +- .../2019-03-01/examples/getActionGroup.json | 110 +- .../2019-03-01/examples/listActionGroups.json | 174 +- .../2019-03-01/examples/metricBaselines.json | 124 +- .../2019-03-01/examples/patchActionGroup.json | 126 +- .../2019-03-01/metricBaselines_API.json | 707 +++--- .../stable/2019-06-01/actionGroups_API.json | 1702 +++++++-------- .../examples/createOrUpdateActionGroup.json | 672 +++--- .../examples/deleteActionGroup.json | 28 +- .../2019-06-01/examples/enableReceiver.json | 34 +- .../2019-06-01/examples/getActionGroup.json | 140 +- .../2019-06-01/examples/listActionGroups.json | 218 +- .../2019-06-01/examples/patchActionGroup.json | 156 +- 168 files changed, 17962 insertions(+), 17521 deletions(-) diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json index 4c8dadb212e1..0f4ffddf4c84 100644 --- a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json +++ b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json @@ -1,47 +1,47 @@ { - "parameters": { - "api-version": "2018-09-01-preview", - "Content-Type": "application/json", - "Content-Length": 783, - "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"", - "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1", - "resourceGroupName": "CowsSeller", - "resourceProvider": "Microsoft.Storage", - "resourceTypeName": "storageAccounts", - "resourceName": "cowssellerstore", - "body": { - "time": "2018-08-24T 11:02:00-7:00", - "data": { - "baseData": { - "metric": "CowsSold", - "namespace": "Cows", - "dimNames": [ - "Breed", - "Color", - "Age" - ], - "series": [ - { - "dimValues": [ - "Angus", - "Blue", - "5" - ], - "min": 5, - "max": 20, - "sum": 30, - "count": 3 - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "statusCode": 200 + "parameters": { + "api-version": "2018-09-01-preview", + "Content-Type": "application/json", + "Content-Length": 783, + "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"", + "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1", + "resourceGroupName": "CowsSeller", + "resourceProvider": "Microsoft.Storage", + "resourceTypeName": "storageAccounts", + "resourceName": "cowssellerstore", + "body": { + "time": "2018-08-24T 11:02:00-7:00", + "data": { + "baseData": { + "metric": "CowsSold", + "namespace": "Cows", + "dimNames": [ + "Breed", + "Color", + "Age" + ], + "series": [ + { + "dimValues": [ + "Angus", + "Blue", + "5" + ], + "min": 5, + "max": 20, + "sum": 30, + "count": 3 } + ] } + } + } + }, + "responses": { + "200": { + "body": { + "statusCode": 200 + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json index 344ed08b867a..499c2dcdbfb5 100644 --- a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json +++ b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json @@ -176,7 +176,7 @@ } } }, - "required":[ + "required": [ "metric", "namespace", "series" @@ -213,7 +213,7 @@ "type": "integer" } }, - "required" : [ + "required": [ "min", "max", "sum", @@ -255,4 +255,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json index 8dbc8df139dd..5ff0bea9c06e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json @@ -1,527 +1,527 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Activity Log Alerts API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2017-03-01-preview" + "swagger": "2.0", + "info": { + "title": "Azure Activity Log Alerts API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2017-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": { + "put": { + "deprecated": true, + "description": "Create a new activity log alert or update an existing one.", + "operationId": "ActivityLogAlerts_CreateOrUpdate", + "x-ms-examples": { + "Create or update an activity log alert": { + "$ref": "./examples/createOrUpdateActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "activityLogAlert", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + }, + "description": "The activity log alert to create or use for the update." + } + ], + "responses": { + "200": { + "description": "An existing activity log alert was successfully updated.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + } + }, + "201": { + "description": "A new activity log alert was successfully created.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + } + }, + "default": { + "description": "An error occurred and the activity log alert could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "deprecated": true, + "description": "Get an activity log alert.", + "operationId": "ActivityLogAlerts_Get", + "x-ms-examples": { + "Get an activity log alert": { + "$ref": "./examples/getActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" } + }, + "default": { + "description": "An error occurred and the activity log alert could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": { - "put": { - "deprecated": true, - "description": "Create a new activity log alert or update an existing one.", - "operationId": "ActivityLogAlerts_CreateOrUpdate", - "x-ms-examples": { - "Create or update an activity log alert": { - "$ref": "./examples/createOrUpdateActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "activityLogAlert", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - }, - "description": "The activity log alert to create or use for the update." - } - ], - "responses": { - "200": { - "description": "An existing activity log alert was successfully updated.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "201": { - "description": "A new activity log alert was successfully created.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "default": { - "description": "An error occurred and the activity log alert could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "deprecated": true, - "description": "Get an activity log alert.", - "operationId": "ActivityLogAlerts_Get", - "x-ms-examples": { - "Get an activity log alert": { - "$ref": "./examples/getActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "default": { - "description": "An error occurred and the activity log alert could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "deprecated": true, - "description": "Delete an activity log alert.", - "operationId": "ActivityLogAlerts_Delete", - "x-ms-examples": { - "Delete an activity log alert": { - "$ref": "./examples/deleteActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The activity log alert was successfully deleted." - }, - "204": { - "description": "The activity log alert does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the activity log alert could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "deprecated": true, + "description": "Delete an activity log alert.", + "operationId": "ActivityLogAlerts_Delete", + "x-ms-examples": { + "Delete an activity log alert": { + "$ref": "./examples/deleteActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The activity log alert was successfully deleted." + }, + "204": { + "description": "The activity log alert does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the activity log alert could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "deprecated": true, + "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActivityLogAlerts_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "activityLogAlertPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActivityLogAlertResourcePatch" }, - "patch": { - "deprecated": true, - "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActivityLogAlerts_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "activityLogAlertPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActivityLogAlertResourcePatch" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing activity log alert was successfully updated.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - } - }, - "x-ms-examples": { - "Path an activity log alert": { - "$ref": "./examples/patchActivityLogAlert.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": { - "get": { - "deprecated": true, - "description": "Get a list of all activity log alerts in a subscription.", - "operationId": "ActivityLogAlerts_ListBySubscriptionId", - "x-ms-examples": { - "List activity log alerts": { - "$ref": "./examples/listActivityLogAlerts.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertList" - } - }, - "default": { - "description": "An error occurred and the list of activity log alerts could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing activity log alert was successfully updated.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": { - "get": { - "deprecated": true, - "description": "Get a list of all activity log alerts in a resource group.", - "operationId": "ActivityLogAlerts_ListByResourceGroup", - "x-ms-examples": { - "List activity log alerts": { - "$ref": "./examples/listActivityLogAlerts.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertList" - } - }, - "default": { - "description": "An error occurred and the list of activity log alerts could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Path an activity log alert": { + "$ref": "./examples/patchActivityLogAlert.json" + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" + "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": { + "get": { + "deprecated": true, + "description": "Get a list of all activity log alerts in a subscription.", + "operationId": "ActivityLogAlerts_ListBySubscriptionId", + "x-ms-examples": { + "List activity log alerts": { + "$ref": "./examples/listActivityLogAlerts.json" + } }, - "ActivityLogAlertResource": { - "description": "An activity log alert resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActivityLogAlert" - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertList" + } + }, + "default": { + "description": "An error occurred and the list of activity log alerts could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": { + "get": { + "deprecated": true, + "description": "Get a list of all activity log alerts in a resource group.", + "operationId": "ActivityLogAlerts_ListByResourceGroup", + "x-ms-examples": { + "List activity log alerts": { + "$ref": "./examples/listActivityLogAlerts.json" + } }, - "ActivityLogAlertList": { - "description": "A list of activity log alerts.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertResource" - }, - "description": "The list of activity log alerts." - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertList" + } + }, + "default": { + "description": "An error occurred and the list of activity log alerts could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActivityLogAlert": { - "description": "An Azure activity log alert.", - "properties": { - "scopes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." - }, - "condition": { - "$ref": "#/definitions/ActivityLogAlertAllOfCondition", - "description": "The condition that will cause this alert to activate." - }, - "actions": { - "$ref": "#/definitions/ActivityLogAlertActionList", - "description": "The actions that will activate when the condition is met." - }, - "description": { - "type": "string", - "description": "A description of this activity log alert." - } - }, - "required": [ - "scopes", - "condition", - "actions" - ] + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActivityLogAlertAllOfCondition": { - "properties": { - "allOf": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertLeafCondition" - }, - "description": "The list of activity log alert conditions." - } - }, - "description": "An Activity Log alert condition that is met when all its member conditions are met.", - "required": [ - "allOf" - ] + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" }, - "ActivityLogAlertLeafCondition": { - "properties": { - "field": { - "type": "string", - "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'." - }, - "equals": { - "type": "string", - "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met." - } - }, - "description": "An Activity Log alert condition that is met by comparing an activity log field and value.", - "required": [ - "field", - "equals" - ] + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] }, - "ActivityLogAlertActionList": { - "description": "A list of activity log alert actions.", - "properties": { - "actionGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertActionGroup" - }, - "description": "The list of activity log alerts." - } - } + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "ActivityLogAlertResource": { + "description": "An activity log alert resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActivityLogAlert" + } + } + }, + "ActivityLogAlertList": { + "description": "A list of activity log alerts.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertResource" + }, + "description": "The list of activity log alerts." + } + } + }, + "ActivityLogAlert": { + "description": "An Azure activity log alert.", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item." }, - "ActivityLogAlertActionGroup": { - "description": "A pointer to an Azure Action Group.", - "properties": { - "actionGroupId": { - "type": "string", - "description": "The resourceId of the action group. This cannot be null or empty." - }, - "webhookProperties": { - "additionalProperties": { - "type": "string" - }, - "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." - } - }, - "required": [ - "actionGroupId" - ] + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "condition": { + "$ref": "#/definitions/ActivityLogAlertAllOfCondition", + "description": "The condition that will cause this alert to activate." }, - "ActivityLogAlertResourcePatch": { - "description": "An activity log alert resource for patch operations.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActivityLogAlertPatch" - } - } + "actions": { + "$ref": "#/definitions/ActivityLogAlertActionList", + "description": "The actions that will activate when the condition is met." }, - "ActivityLogAlertPatch": { - "description": "An Azure activity log alert for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." - } - } + "description": { + "type": "string", + "description": "A description of this activity log alert." } + }, + "required": [ + "scopes", + "condition", + "actions" + ] }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActivityLogAlertAllOfCondition": { + "properties": { + "allOf": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertLeafCondition" + }, + "description": "The list of activity log alert conditions." + } + }, + "description": "An Activity Log alert condition that is met when all its member conditions are met.", + "required": [ + "allOf" + ] + }, + "ActivityLogAlertLeafCondition": { + "properties": { + "field": { + "type": "string", + "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "equals": { + "type": "string", + "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met." + } + }, + "description": "An Activity Log alert condition that is met by comparing an activity log field and value.", + "required": [ + "field", + "equals" + ] + }, + "ActivityLogAlertActionList": { + "description": "A list of activity log alert actions.", + "properties": { + "actionGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertActionGroup" + }, + "description": "The list of activity log alerts." + } + } + }, + "ActivityLogAlertActionGroup": { + "description": "A pointer to an Azure Action Group.", + "properties": { + "actionGroupId": { + "type": "string", + "description": "The resourceId of the action group. This cannot be null or empty." }, - "ActivityLogAlertNameParameter": { - "name": "activityLogAlertName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the activity log alert.", - "x-ms-parameter-location": "method" + "webhookProperties": { + "additionalProperties": { + "type": "string" + }, + "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." + } + }, + "required": [ + "actionGroupId" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" } + } + }, + "ActivityLogAlertResourcePatch": { + "description": "An activity log alert resource for patch operations.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActivityLogAlertPatch" + } + } + }, + "ActivityLogAlertPatch": { + "description": "An Azure activity log alert for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActivityLogAlertNameParameter": { + "name": "activityLogAlertName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the activity log alert.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json index 16d14631da06..713c7ca84d46 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json @@ -1,121 +1,121 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-03-01-preview", - "activityLogAlert": { - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-03-01-preview", + "activityLogAlert": { + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" - } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" + } } + ] }, - "201": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "description": "Sample activity log alert description" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" + } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json index 05fab8bcc4cd..f993e7b180a8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-03-01-preview" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json index 8af0493dc28c..85bd49638845 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json index 04507656ca2a..ad8d840dc9ad 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json @@ -1,81 +1,81 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert2", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { } - } - ] - } - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } + } + ] + }, + "description": "Sample activity log alert description" + } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert2", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": {} + } ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json index 4c592bc5a958..0ac423a4ad74 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json @@ -1,56 +1,62 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-03-01-preview", - "activityLogAlertPatch": { - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false - } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "scopes": [ - "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": false, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-03-01-preview", + "activityLogAlertPatch": { + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "scopes": [ + "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": false, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json index 84ce43832f26..7b5e3e1334a2 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json @@ -72,7 +72,7 @@ "Gets the diagnostic setting": { "$ref": "./examples/getDiagnosticSettingsCategory.json" } - } + } } }, "/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories": { @@ -108,7 +108,7 @@ "Gets the diagnostic setting": { "$ref": "./examples/listDiagnosticSettingsCategories.json" } - } + } } } }, @@ -137,10 +137,13 @@ "DiagnosticSettingsCategory": { "properties": { "categoryType": { - "enum": ["Metrics", "Logs"], + "enum": [ + "Metrics", + "Logs" + ], "type": "string", "x-ms-enum": { - "name": "categoryType" + "name": "categoryType" }, "x-nullable": false, "description": "The type of the diagnostic settings category." @@ -217,4 +220,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json index 0609ed0a6cce..b96db55196ca 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json @@ -72,7 +72,7 @@ "Gets the diagnostic setting": { "$ref": "./examples/getDiagnosticSetting.json" } - } + } }, "put": { "tags": [ @@ -118,7 +118,7 @@ "Creates or Updates the diagnostic setting": { "$ref": "./examples/createOrUpdateDiagnosticSetting.json" } - } + } }, "delete": { "tags": [ @@ -155,7 +155,7 @@ "Deletes the diagnostic setting": { "$ref": "./examples/deleteDiagnosticSetting.json" } - } + } } }, "/{resourceUri}/providers/microsoft.insights/diagnosticSettings": { @@ -191,7 +191,7 @@ "Gets the diagnostic setting": { "$ref": "./examples/listDiagnosticSettings.json" } - } + } } } }, @@ -230,7 +230,10 @@ "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." } }, - "required": [ "enabled", "days" ], + "required": [ + "enabled", + "days" + ], "description": "Specifies the retention policy for the log." }, "MetricSettings": { @@ -253,7 +256,9 @@ "description": "the retention policy for this category." } }, - "required": [ "enabled" ], + "required": [ + "enabled" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." }, "LogSettings": { @@ -271,7 +276,9 @@ "description": "the retention policy for this log." } }, - "required": [ "enabled" ], + "required": [ + "enabled" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." }, "DiagnosticSettings": { @@ -386,4 +393,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json index 14a12faa011b..07251092bf57 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json @@ -1,95 +1,95 @@ { - "parameters": { - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "parameters": { + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metric": "BlobCapacity", + "$filter": "BlobType eq '*'", + "top": "3", + "orderby": "Average asc", + "aggregation": "Average,count", + "interval": "PT1M", + "api-version": "2017-05-01-preview" + }, + "responses": { + "200": { + "body": { + "cost": 0, "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metric": "BlobCapacity", - "$filter": "BlobType eq '*'", - "top": "3", - "orderby": "Average asc", - "aggregation": "Average,count", "interval": "PT1M", - "api-version": "2017-05-01-preview" - }, - "responses": { - "200": { - "body": { - "cost": 0, - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "interval": "PT1M", - "value": [ - { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", - "type": "Microsoft.Insights/metrics", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" + "value": [ + { + "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "type": "Microsoft.Insights/metrics", + "name": { + "value": "BlobCapacity", + "localizedValue": "Blob Capacity" + }, + "unit": "Bytes", + "timeseries": [ + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "PageBlob" + } + ], + "data": [ + { + "timeStamp": "2017-04-14T02:20:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:21:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:22:00Z", + "count": 0.0 }, - "unit": "Bytes", - "timeseries": [ - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "PageBlob" - } - ], - "data": [ - { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 0.0 - } - ] + { + "timeStamp": "2017-04-14T02:23:00Z", + "count": 1.0, + "average": 0.0 + } + ] + }, + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" }, - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "BlockBlob" - } - ], - "data": [ - { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 245.0 - } - ] - } - ] - } - ] - } - } + "value": "BlockBlob" + } + ], + "data": [ + { + "timeStamp": "2017-04-14T02:20:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:21:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:22:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:23:00Z", + "count": 1.0, + "average": 245.0 + } + ] + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json index cf6d98975ea7..c92baff7bd0d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json @@ -1,383 +1,446 @@ { - "parameters": { - "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions", - "api-version": "2017-05-01-preview" - }, - "responses": { - "200": { - "body": - { - "value": [{ - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "CpuTime", - "localizedValue": "CPU Time" - }, - "isDimensionRequired": false, - "unit": "Seconds", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Requests", - "localizedValue": "Requests" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "BytesReceived", - "localizedValue": "Data In" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "BytesSent", - "localizedValue": "Data Out" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http101", - "localizedValue": "Http 101" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http2xx", - "localizedValue": "Http 2xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http3xx", - "localizedValue": "Http 3xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http401", - "localizedValue": "Http 401" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http403", - "localizedValue": "Http 403" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http404", - "localizedValue": "Http 404" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http406", - "localizedValue": "Http 406" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http4xx", - "localizedValue": "Http 4xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "Http5xx", - "localizedValue": "Http Server Errors" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "MemoryWorkingSet", - "localizedValue": "Memory working set" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Average", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "AverageMemoryWorkingSet", - "localizedValue": "Average memory working set" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Average", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "name": { - "value": "AverageResponseTime", - "localizedValue": "Average Response Time" - }, - "isDimensionRequired": false, - "unit": "Seconds", - "primaryAggregationType": "Average", - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P30D" - }, { - "timeGrain": "PT1H", - "retention": "P30D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions", + "api-version": "2017-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "CpuTime", + "localizedValue": "CPU Time" + }, + "isDimensionRequired": false, + "unit": "Seconds", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Requests", + "localizedValue": "Requests" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "BytesReceived", + "localizedValue": "Data In" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "BytesSent", + "localizedValue": "Data Out" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http101", + "localizedValue": "Http 101" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http2xx", + "localizedValue": "Http 2xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http3xx", + "localizedValue": "Http 3xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http401", + "localizedValue": "Http 401" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http403", + "localizedValue": "Http 403" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http404", + "localizedValue": "Http 404" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http406", + "localizedValue": "Http 406" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http4xx", + "localizedValue": "Http 4xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "Http5xx", + "localizedValue": "Http Server Errors" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "MemoryWorkingSet", + "localizedValue": "Memory working set" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "AverageMemoryWorkingSet", + "localizedValue": "Average memory working set" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "name": { + "value": "AverageResponseTime", + "localizedValue": "Average Response Time" + }, + "isDimensionRequired": false, + "unit": "Seconds", + "primaryAggregationType": "Average", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json index 105be64cb52c..23a9ca8877b0 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json @@ -1,56 +1,56 @@ { - "parameters": { + "parameters": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metric": "BlobCapacity", + "$filter": "BlobType eq '*'", + "top": "3", + "orderby": "Average asc", + "aggregation": "Average,count", + "interval": "PT1M", + "resulttype": "metadata", + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "api-version": "2017-05-01-preview" + }, + "responses": { + "200": { + "body": { "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metric": "BlobCapacity", - "$filter": "BlobType eq '*'", - "top": "3", - "orderby": "Average asc", - "aggregation": "Average,count", - "interval": "PT1M", - "resulttype": "metadata", - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", - "api-version": "2017-05-01-preview" - }, - "responses": { - "200": { - "body": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "value": [ - { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", - "type": "Microsoft.Insights/metrics", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" - }, - "unit": "Bytes", - "timeseries": [ - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "BlockBlob" - } - ] - }, - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "PageBlob" - } - ] - } - ] - } - ] - } - } + "value": [ + { + "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "type": "Microsoft.Insights/metrics", + "name": { + "value": "BlobCapacity", + "localizedValue": "Blob Capacity" + }, + "unit": "Bytes", + "timeseries": [ + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "BlockBlob" + } + ] + }, + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "PageBlob" + } + ] + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json index 34289d3df8bd..0454b66ec474 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -5,27 +5,27 @@ "api-version": "2017-05-01-preview", "parameters": { "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", "eventHubName": "myeventhub", "metrics": [ { - "category":"WorkflowMetrics", - "enabled":true, + "category": "WorkflowMetrics", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], @@ -35,33 +35,33 @@ }, "responses": { "200": { - "headers": { }, + "headers": {}, "body": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", - "type":"", - "name":"mysetting", + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type": "", + "name": "mysetting", "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", "eventHubName": "myeventhub", "metrics": [ { - "category":"WorkflowMetrics", - "enabled":true, + "category": "WorkflowMetrics", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json index c7468e7ff795..ade0a9a73841 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json @@ -1,17 +1,17 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", "name": "mysetting", - "api-version" : "2017-05-01-preview" + "api-version": "2017-05-01-preview" }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "responses": { + "200": { + "headers": {}, + "body": null + }, + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json index 03603e23f20d..50cf4c636646 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json @@ -1,35 +1,37 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", "name": "mysetting", - "api-version" : "2017-05-01-preview" + "api-version": "2017-05-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type" : "", - "name" : "mysetting", - "properties" : { - "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "workspaceId" : "", - "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics" : [{ - "category" : "WorkflowMetrics", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "mysetting", + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "category": "WorkflowMetrics", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } } ], - "logs" : [{ - "category" : "WorkflowRuntime", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } } ] @@ -37,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json index c8d94c67c36f..ae766e558bdc 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json @@ -1,20 +1,20 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", "name": "WorkflowRuntime", - "api-version" : "2017-05-01-preview" + "api-version": "2017-05-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", - "type":"microsoft.insights/diagnosticSettingsCategories", - "name":"WorkflowRuntime", + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type": "microsoft.insights/diagnosticSettingsCategories", + "name": "WorkflowRuntime", "properties": { - "categoryType":"Logs" + "categoryType": "Logs" } } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json index 3a54aca66177..50220bc82498 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json @@ -1,38 +1,38 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version" : "2017-05-01-preview" + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2017-05-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "value": [ + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", - "type":"microsoft.logic/workflows", - "name":"mysetting", + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type": "microsoft.logic/workflows", + "name": "mysetting", "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "eventHubAuthorizationRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", "metrics": [ { - "category":"WorkflowMetrics", - "enabled":true, + "category": "WorkflowMetrics", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json index 2b915de05f31..d7ea73b6638b 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json @@ -1,31 +1,31 @@ { - "parameters" : { - "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version" : "2017-05-01-preview" + "parameters": { + "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2017-05-01-preview" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { + "responses": { + "200": { + "headers": {}, + "body": { "value": [ { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", - "type":"microsoft.insights/diagnosticSettingsCategories", - "name":"WorkflowRuntime", + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type": "microsoft.insights/diagnosticSettingsCategories", + "name": "WorkflowRuntime", "properties": { - "categoryType":"Logs" + "categoryType": "Logs" } }, { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric", - "type":"microsoft.insights/diagnosticSettingsCategories", - "name":"WorkflowMetric", + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric", + "type": "microsoft.insights/diagnosticSettingsCategories", + "name": "WorkflowMetric", "properties": { - "categoryType":"Metrics" + "categoryType": "Metrics" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json index 6c4ab30c16cb..bf16c9cdee59 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json @@ -65,7 +65,8 @@ }, "examples": { "application/json": { - "value": [{ + "value": [ + { "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime", "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", "name": { @@ -75,20 +76,24 @@ "isDimensionRequired": false, "unit": "Seconds", "primaryAggregationType": "Total", - "metricAvailabilities": [{ + "metricAvailabilities": [ + { "timeGrain": "PT1M", "retention": "P30D" - }, { + }, + { "timeGrain": "PT1H", "retention": "P30D" } ], - "dimensions": [{ + "dimensions": [ + { "value": "Instance", "localizedValue": "Instance" } ] - }, { + }, + { "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet", "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", "name": { @@ -98,20 +103,24 @@ "isDimensionRequired": false, "unit": "Bytes", "primaryAggregationType": "Average", - "metricAvailabilities": [{ + "metricAvailabilities": [ + { "timeGrain": "PT1M", "retention": "P30D" - }, { + }, + { "timeGrain": "PT1H", "retention": "P30D" } ], - "dimensions": [{ + "dimensions": [ + { "value": "Instance", "localizedValue": "Instance" } ] - }, { + }, + { "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet", "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", "name": { @@ -121,22 +130,25 @@ "isDimensionRequired": false, "unit": "Bytes", "primaryAggregationType": "Average", - "metricAvailabilities": [{ + "metricAvailabilities": [ + { "timeGrain": "PT1M", "retention": "P30D" - }, { + }, + { "timeGrain": "PT1H", "retention": "P30D" } ], - "dimensions": [{ + "dimensions": [ + { "value": "Instance", "localizedValue": "Instance" } ] } ] - } + } } } }, @@ -144,14 +156,18 @@ "nextLinkName": null }, "x-ms-examples": { - "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" } + "Get Metric Definitions without filter": { + "$ref": "./examples/GetMetricDefinitions.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -263,7 +279,9 @@ "description": "the values for the metric definitions." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents collection of metric definitions." }, "ErrorResponse": { @@ -299,4 +317,4 @@ "x-ms-skip-url-encoding": true } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json index c02c2f86f83f..fbcde3c0e5ca 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json @@ -96,7 +96,8 @@ "cost": 0, "timespan": "2017-08-10T21:44:34Z/2017-08-10T22:44:34Z", "interval": "PT1M", - "value": [{ + "value": [ + { "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/Microsoft.Insights/metrics/CpuTime", "type": "Microsoft.Insights/metrics", "name": { @@ -104,27 +105,35 @@ "localizedValue": "CPU Time" }, "unit": "Seconds", - "timeseries": [{ + "timeseries": [ + { "metadatavalues": [], - "data": [{ + "data": [ + { "timeStamp": "2017-08-10T21:44:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:45:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:46:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:47:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:48:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:49:00Z", "total": 0.0 - }, { + }, + { "timeStamp": "2017-08-10T21:50:00Z", "total": 0.0 } @@ -139,15 +148,21 @@ }, "x-ms-odata": "#/definitions/MetadataValue", "x-ms-examples": { - "Get Metric for data": { "$ref": "./examples/GetMetric.json" }, - "Get Metric for metadata": { "$ref": "./examples/GetMetricMetadata.json" } + "Get Metric for data": { + "$ref": "./examples/GetMetric.json" + }, + "Get Metric for metadata": { + "$ref": "./examples/GetMetricMetadata.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -180,7 +195,9 @@ } }, "MetricValue": { - "required": [ "timeStamp" ], + "required": [ + "timeStamp" + ], "properties": { "timeStamp": { "type": "string", @@ -268,7 +285,10 @@ "description": "the value of the collection." } }, - "required": [ "timespan", "value" ], + "required": [ + "timespan", + "value" + ], "description": "The response to a metrics query." }, "Metric": { @@ -298,7 +318,13 @@ "description": "the time series returned when a data query is performed." } }, - "required": [ "id", "type", "name", "unit", "timeseries" ], + "required": [ + "id", + "type", + "name", + "unit", + "timeseries" + ], "description": "The result data of a query." }, "TimeSeriesElement": { @@ -406,4 +432,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json index caba765e16e5..4ba3123874d4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json @@ -1,316 +1,326 @@ { - "swagger": "2.0", - "info": { - "title": "MonitorManagementClient", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2017-11-01-preview" + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2017-11-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": { - "get": { - "tags": [ - "Baseline" - ], - "operationId": "MetricBaseline_Get", - "description": "**Gets the baseline values for a specific metric**.", - "parameters": [ - { - "$ref": "#/parameters/ExtendedResourceUriParameter" - }, - { - "$ref": "#/parameters/MetricNameParameter" - }, - { - "$ref": "#/parameters/TimespanParameter" - }, - { - "$ref": "#/parameters/IntervalParameter" - }, - { - "$ref": "#/parameters/AggregationParameter" - }, - { - "$ref": "#/parameters/SensitivitiesParameter" - }, - { - "$ref": "#/parameters/BaselineResultTypeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": { + "get": { + "tags": [ + "Baseline" + ], + "operationId": "MetricBaseline_Get", + "description": "**Gets the baseline values for a specific metric**.", + "parameters": [ + { + "$ref": "#/parameters/ExtendedResourceUriParameter" + }, + { + "$ref": "#/parameters/MetricNameParameter" + }, + { + "$ref": "#/parameters/TimespanParameter" + }, + { + "$ref": "#/parameters/IntervalParameter" + }, + { + "$ref": "#/parameters/AggregationParameter" + }, + { + "$ref": "#/parameters/SensitivitiesParameter" + }, + { + "$ref": "#/parameters/BaselineResultTypeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric values.", - "schema": { - "$ref": "#/definitions/BaselineResponse" - } + }, + "200": { + "description": "Successful request to get the list of metric values.", + "schema": { + "$ref": "#/definitions/BaselineResponse" } + } + }, + "x-ms-examples": { + "Get Metric for data": { + "$ref": "./examples/GetBaseline.json" }, - "x-ms-examples": { - "Get Metric for data": { "$ref": "./examples/GetBaseline.json" }, - "Get Metric for metadata": { "$ref": "./examples/GetBaselineMetadata.json" } + "Get Metric for metadata": { + "$ref": "./examples/GetBaselineMetadata.json" } } } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } + } + }, + "definitions": { + "LocalizableString": { + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "the invariant value." }, - "description": "The localizable string class." + "localizedValue": { + "type": "string", + "description": "the locale specific value." + } }, - "BaselineMetadataValue": { - "properties": { - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "the name of the metadata." - }, - "value": { - "type": "string", - "description": "the value of the metadata." - } + "description": "The localizable string class." + }, + "BaselineMetadataValue": { + "properties": { + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "the name of the metadata." }, - "description": "Represents a baseline metadata value." + "value": { + "type": "string", + "description": "the value of the metadata." + } }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", + "description": "Represents a baseline metadata value." + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "BaselineResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "the metric baseline Id." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "the resource type of the baseline resource." + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "readOnly": true, + "description": "the name and the display name of the metric, i.e. it is localizable string." + }, "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/BaselineProperties", + "description": "the properties of the baseline." } }, - "BaselineResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "the metric baseline Id." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "the resource type of the baseline resource." - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "readOnly": true, - "description": "the name and the display name of the metric, i.e. it is localizable string." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BaselineProperties", - "description": "the properties of the baseline." - } + "description": "The response to a baseline query." + }, + "BaselineProperties": { + "properties": { + "timespan": { + "type": "string", + "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." }, - "description": "The response to a baseline query." - }, - "BaselineProperties": { - "properties": { - "timespan": { - "type": "string", - "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." - }, - "interval": { - "type": "string", - "format": "duration", - "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." - }, - "aggregation": { + "interval": { + "type": "string", + "format": "duration", + "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." + }, + "aggregation": { + "type": "string", + "description": "The aggregation type of the metric." + }, + "timestamps": { + "type": "array", + "items": { "type": "string", - "description": "The aggregation type of the metric." + "format": "date-time", + "description": "the timestamp for the baseline value in ISO 8601 format." }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "the timestamp for the baseline value in ISO 8601 format." - }, - "description": "the array of timestamps of the baselines." - }, - "baseline": { - "type": "array", - "items": { - "$ref": "#/definitions/Baseline" - }, - "description": "the baseline values for each sensitivity." + "description": "the array of timestamps of the baselines." + }, + "baseline": { + "type": "array", + "items": { + "$ref": "#/definitions/Baseline" }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/BaselineMetadataValue" - }, - "description": "the baseline metadata values." - } + "description": "the baseline values for each sensitivity." }, - "description": "The baseline properties class." + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/BaselineMetadataValue" + }, + "description": "the baseline metadata values." + } }, - "Baseline": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ], - "x-ms-enum": { - "name": "Sensitivity", - "modelAsString": false - }, - "description": "the sensitivity of the baseline." + "description": "The baseline properties class." + }, + "Baseline": { + "type": "object", + "properties": { + "sensitivity": { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "Sensitivity", + "modelAsString": false }, - "lowThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single low threshold value." - }, - "description": "The low thresholds of the baseline." + "description": "the sensitivity of the baseline." + }, + "lowThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single low threshold value." }, - "highThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single high threshold value." - }, - "description": "The high thresholds of the baseline." - } + "description": "The low thresholds of the baseline." }, - "required": [ "sensitivity", "lowThresholds", "highThresholds" ], - "description": "The baseline values for a single sensitivity value." - } - }, - "parameters": { - "ExtendedResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - }, - "MetricNameParameter": { - "name": "metricName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the metric to retrieve the baseline for.", - "x-ms-parameter-location": "method" - }, - "TimespanParameter": { - "name": "timespan", - "in": "query", - "required": false, - "type": "string", - "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", - "x-ms-parameter-location": "method" - }, - "IntervalParameter": { - "name": "interval", - "in": "query", - "required": false, - "type": "string", - "format": "duration", - "description": "The interval (i.e. timegrain) of the query.", - "x-ms-parameter-location": "method" - }, - "AggregationParameter": { - "name": "aggregation", - "in": "query", - "required": false, - "type": "string", - "description": "The aggregation type of the metric to retrieve the baseline for.", - "x-ms-parameter-location": "method" - }, - "SensitivitiesParameter": { - "name": "sensitivities", - "in": "query", - "required": false, - "type": "string", - "description": "The list of sensitivities (comma separated) to retrieve.", - "x-ms-parameter-location": "method" + "highThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single high threshold value." + }, + "description": "The high thresholds of the baseline." + } }, - "BaselineResultTypeParameter": { - "name": "resultType", - "in": "query", - "type": "string", - "enum": [ - "Data", - "Metadata" - ], - "x-ms-enum": { - "name": "ResultType", - "modelAsString": false - }, - "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", - "x-ms-parameter-location": "method", - "required": false + "required": [ + "sensitivity", + "lowThresholds", + "highThresholds" + ], + "description": "The baseline values for a single sensitivity value." + } + }, + "parameters": { + "ExtendedResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "MetricNameParameter": { + "name": "metricName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the metric to retrieve the baseline for.", + "x-ms-parameter-location": "method" + }, + "TimespanParameter": { + "name": "timespan", + "in": "query", + "required": false, + "type": "string", + "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", + "x-ms-parameter-location": "method" + }, + "IntervalParameter": { + "name": "interval", + "in": "query", + "required": false, + "type": "string", + "format": "duration", + "description": "The interval (i.e. timegrain) of the query.", + "x-ms-parameter-location": "method" + }, + "AggregationParameter": { + "name": "aggregation", + "in": "query", + "required": false, + "type": "string", + "description": "The aggregation type of the metric to retrieve the baseline for.", + "x-ms-parameter-location": "method" + }, + "SensitivitiesParameter": { + "name": "sensitivities", + "in": "query", + "required": false, + "type": "string", + "description": "The list of sensitivities (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "BaselineResultTypeParameter": { + "name": "resultType", + "in": "query", + "type": "string", + "enum": [ + "Data", + "Metadata" + ], + "x-ms-enum": { + "name": "ResultType", + "modelAsString": false }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } + "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", + "x-ms-parameter-location": "method", + "required": false + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json index c2e9065d56f5..e1ce81ced40d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json @@ -1,214 +1,226 @@ { - "swagger": "2.0", - "info": { - "title": "MonitorManagementClient", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2017-11-01-preview" + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2017-11-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/calculatebaseline": { - "post": { - "tags": [ - "Baseline" - ], - "operationId": "MetricBaseline_CalculateBaseline", - "description": "**Lists the baseline values for a resource**.", - "parameters": [ - { - "$ref": "#/parameters/ExtendedResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "TimeSeriesInformation", - "description": "Information that need to be specified to calculate a baseline on a time series.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TimeSeriesInformation" - } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/calculatebaseline": { + "post": { + "tags": [ + "Baseline" + ], + "operationId": "MetricBaseline_CalculateBaseline", + "description": "**Lists the baseline values for a resource**.", + "parameters": [ + { + "$ref": "#/parameters/ExtendedResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "TimeSeriesInformation", + "description": "Information that need to be specified to calculate a baseline on a time series.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TimeSeriesInformation" } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric values.", - "schema": { - "$ref": "#/definitions/CalculateBaselineResponse" - } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } }, - "x-ms-examples": { - "Calculate baseline": { "$ref": "./examples/CalculateBaseline.json" } + "200": { + "description": "Successful request to get the list of metric values.", + "schema": { + "$ref": "#/definitions/CalculateBaselineResponse" + } + } + }, + "x-ms-examples": { + "Calculate baseline": { + "$ref": "./examples/CalculateBaseline.json" } } } - }, - "definitions": { - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" } - }, - "TimeSeriesInformation": { - "properties": { - "sensitivities": { - "type": "array", - "items": { - "type": "string", - "description": "the requested sensitivity for calculating the baseline." - }, - "description": "the list of sensitivities for calculating the baseline." + } + }, + "TimeSeriesInformation": { + "properties": { + "sensitivities": { + "type": "array", + "items": { + "type": "string", + "description": "the requested sensitivity for calculating the baseline." }, - "values": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single metric value." - }, - "description": "The metric values to calculate the baseline." + "description": "the list of sensitivities for calculating the baseline." + }, + "values": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single metric value." }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "the timestamp for the baseline value in ISO 8601 format." - }, - "description": "the array of timestamps of the baselines." - } + "description": "The metric values to calculate the baseline." }, - "required": [ "sensitivities", "values" ], - "description": "The time series info needed for calculating the baseline." - }, - "CalculateBaselineResponse": { - "type": "object", - "properties": { - "type": { + "timestamps": { + "type": "array", + "items": { "type": "string", - "description": "the resource type of the baseline resource." + "format": "date-time", + "description": "the timestamp for the baseline value in ISO 8601 format." }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "the timestamp for the baseline value in ISO 8601 format." - }, - "description": "the array of timestamps of the baselines." + "description": "the array of timestamps of the baselines." + } + }, + "required": [ + "sensitivities", + "values" + ], + "description": "The time series info needed for calculating the baseline." + }, + "CalculateBaselineResponse": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "the resource type of the baseline resource." + }, + "timestamps": { + "type": "array", + "items": { + "type": "string", + "format": "date-time", + "description": "the timestamp for the baseline value in ISO 8601 format." }, - "baseline": { - "type": "array", - "items": { - "$ref": "#/definitions/Baseline" - }, - "description": "the baseline values for each sensitivity." - } + "description": "the array of timestamps of the baselines." }, - "required": [ "type", "baseline" ], - "description": "The response to a calculate baseline call." + "baseline": { + "type": "array", + "items": { + "$ref": "#/definitions/Baseline" + }, + "description": "the baseline values for each sensitivity." + } }, - "Baseline": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ], - "x-ms-enum": { - "name": "Sensitivity", - "modelAsString": false - }, - "description": "the sensitivity of the baseline." + "required": [ + "type", + "baseline" + ], + "description": "The response to a calculate baseline call." + }, + "Baseline": { + "type": "object", + "properties": { + "sensitivity": { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "Sensitivity", + "modelAsString": false }, - "lowThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single low threshold value." - }, - "description": "The low thresholds of the baseline." + "description": "the sensitivity of the baseline." + }, + "lowThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single low threshold value." }, - "highThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single high threshold value." - }, - "description": "The high thresholds of the baseline." - } + "description": "The low thresholds of the baseline." }, - "required": [ "sensitivity", "lowThresholds", "highThresholds" ], - "description": "The baseline values for a single sensitivity value." - } - }, - "parameters": { - "ExtendedResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true + "highThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single high threshold value." + }, + "description": "The high thresholds of the baseline." + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } + "required": [ + "sensitivity", + "lowThresholds", + "highThresholds" + ], + "description": "The baseline values for a single sensitivity value." + } + }, + "parameters": { + "ExtendedResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json index 3b1a708a6c91..706ed919758c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json @@ -1,41 +1,47 @@ { - "parameters": { - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", - "api-version": "2017-11-01-preview", - "TimeSeriesInformation": { - "sensitivities": ["Low", "Medium"], - "values": [61.0, 62.0] - } - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.Insights/calculatebaseline", - "baseline": [ - { - "sensitivity": "Low", - "lowThresholds": [ - 30.0, - 31.1 - ], - "highThresholds": [ - 90.3453, - 91.3453 - ] - }, - { - "sensitivity": "Medium", - "lowThresholds": [ - 50.0, - 51.1 - ], - "highThresholds": [ - 70.3453, - 71.3453 - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "api-version": "2017-11-01-preview", + "TimeSeriesInformation": { + "sensitivities": [ + "Low", + "Medium" + ], + "values": [ + 61.0, + 62.0 + ] } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.Insights/calculatebaseline", + "baseline": [ + { + "sensitivity": "Low", + "lowThresholds": [ + 30.0, + 31.1 + ], + "highThresholds": [ + 90.3453, + 91.3453 + ] + }, + { + "sensitivity": "Medium", + "lowThresholds": [ + 50.0, + 51.1 + ], + "highThresholds": [ + 70.3453, + 71.3453 + ] + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json index e7b39ef4b363..2c84cad30ea4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metricName": "PercentageCpu", - "aggregation": "Average", - "interval": "PT1H", - "sensitivities": "Low,Medium", - "api-version": "2017-11-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", - "type": "Microsoft.Insights/baseline", - "name": { - "value": "PercentageCpu" - }, - "properties": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "aggregation": "Average", - "interval": "PT1H", - "timestamps": [ - "2017-04-14T02:20:00Z", - "2017-04-14T03:20:00Z" - ], - "baseline": [ - { - "sensitivity": "Low", - "lowThresholds": [ - 30.0, - 31.1 - ], - "highThresholds": [ - 90.3453, - 91.3453 - ] - }, - { - "sensitivity": "Medium", - "lowThresholds": [ - 50.0, - 51.1 - ], - "highThresholds": [ - 70.3453, - 71.3453 - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metricName": "PercentageCpu", + "aggregation": "Average", + "interval": "PT1H", + "sensitivities": "Low,Medium", + "api-version": "2017-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", + "type": "Microsoft.Insights/baseline", + "name": { + "value": "PercentageCpu" + }, + "properties": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "aggregation": "Average", + "interval": "PT1H", + "timestamps": [ + "2017-04-14T02:20:00Z", + "2017-04-14T03:20:00Z" + ], + "baseline": [ + { + "sensitivity": "Low", + "lowThresholds": [ + 30.0, + 31.1 + ], + "highThresholds": [ + 90.3453, + 91.3453 + ] + }, + { + "sensitivity": "Medium", + "lowThresholds": [ + 50.0, + 51.1 + ], + "highThresholds": [ + 70.3453, + 71.3453 + ] + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json index e3384a56ce4a..0f6ea5ff333d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json @@ -1,37 +1,37 @@ { - "parameters": { - "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metricName": "PercentageCpu", - "aggregation": "Average", - "interval": "PT1H", - "resulttype": "metadata", - "api-version": "2017-11-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", - "type": "Microsoft.Insights/baseline", - "name": { - "value": "PercentageCpu" - }, - "properties": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "aggregation": "Average", - "interval": "PT1H", - "metadata": [ - { - "name": "CurrentTrainingState", - "value": "Trained" - }, - { - "name": "SelectedModel", - "value": "AdjustedBoxplot" - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metricName": "PercentageCpu", + "aggregation": "Average", + "interval": "PT1H", + "resulttype": "metadata", + "api-version": "2017-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", + "type": "Microsoft.Insights/baseline", + "name": { + "value": "PercentageCpu" + }, + "properties": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "aggregation": "Average", + "interval": "PT1H", + "metadata": [ + { + "name": "CurrentTrainingState", + "value": "Trained" + }, + { + "name": "SelectedModel", + "value": "AdjustedBoxplot" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json index 46a037b1705e..1eff5dfacb69 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json @@ -1,23 +1,23 @@ { - "parameters": { - "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb", - "startTime": "2018-08-31T15:53:00Z", - "api-version": "2017-12-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts", - "name": "Microsoft.DocumentDB-databaseAccounts", - "type": "Microsoft.Insights/metricNamespaces", - "properties": { - "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts" - } - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb", + "startTime": "2018-08-31T15:53:00Z", + "api-version": "2017-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts", + "name": "Microsoft.DocumentDB-databaseAccounts", + "type": "Microsoft.Insights/metricNamespaces", + "properties": { + "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json index ba9d6a3e6c2c..85e1e0f5a63f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json @@ -72,7 +72,9 @@ "nextLinkName": null }, "x-ms-examples": { - "Get Metric Namespaces without filter": { "$ref": "./examples/GetMetricNamespaces.json" } + "Get Metric Namespaces without filter": { + "$ref": "./examples/GetMetricNamespaces.json" + } } } } @@ -102,7 +104,7 @@ "type": "string", "description": "The name of the namespace." }, - "properties": { + "properties": { "$ref": "#/definitions/MetricNamespaceName", "description": "Properties which include the fully qualified namespace name." } @@ -119,7 +121,9 @@ "description": "The values for the metric namespaces." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents collection of metric namespaces." }, "ErrorResponse": { @@ -154,7 +158,7 @@ "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true }, - "StartTimeParameter": { + "StartTimeParameter": { "name": "startTime", "in": "query", "required": false, @@ -163,4 +167,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json index e57cc6ec6235..19e93cdd1e9d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json @@ -1,153 +1,150 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ResourceGroup", - "diagnosticSettingsName": "SampleDiagSetting", - "api-version": "2018-06-01-preview", - "diagnosticSettings": { - "location": "Global", - "tags": {}, - "properties": { - "osType": "Windows", - "dataSources": [ - { - "kind": "PerformanceCounter", - "configuration": { - "perfCounters": [ - { - "name": "\\Process(_Total)\\%Processor Time", - "samplingPeriod": "PT1M" - }, - { - "name": "\\Process(_Total)\\Working Set", - "samplingPeriod": "PT1M" - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "ETWProviders", - "configuration": { - "providers": [ - { - "name": "AuditLog", - "id": 1, - "filter": "filter exp" - }, - { - "name": "TraceLog", - "id": 2 - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "WindowsEventLogs", - "configuration": { - "eventLogs": [ - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" - - }, - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" - } - - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - } - + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ResourceGroup", + "diagnosticSettingsName": "SampleDiagSetting", + "api-version": "2018-06-01-preview", + "diagnosticSettings": { + "location": "Global", + "tags": {}, + "properties": { + "osType": "Windows", + "dataSources": [ + { + "kind": "PerformanceCounter", + "configuration": { + "perfCounters": [ + { + "name": "\\Process(_Total)\\%Processor Time", + "samplingPeriod": "PT1M" + }, + { + "name": "\\Process(_Total)\\Working Set", + "samplingPeriod": "PT1M" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + }, + { + "kind": "ETWProviders", + "configuration": { + "providers": [ + { + "name": "AuditLog", + "id": 1, + "filter": "filter exp" + }, + { + "name": "TraceLog", + "id": 2 + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + }, + { + "kind": "WindowsEventLogs", + "configuration": { + "eventLogs": [ + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" + }, + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting", + "name": "productionMachineSetting", + "type": "Microsoft.Insights/guestDiagnosticSettings", + "location": "West US", + "tags": {}, + "properties": { + "osType": "Windows", + "dataSources": [ + { + "kind": "PerformanceCounter", + "configuration": { + "perfCounters": [ + { + "name": "\\Process(_Total)\\%Processor Time", + "samplingPeriod": "PT1M" + }, + { + "name": "\\Process(_Total)\\Working Set", + "samplingPeriod": "PT1M" + } ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting", - "name": "productionMachineSetting", - "type": "Microsoft.Insights/guestDiagnosticSettings", - "location": "West US", - "tags": {}, - "properties": { - "osType": "Windows", - "dataSources": [ - { - "kind": "PerformanceCounter", - "configuration": { - "perfCounters": [ - { - "name": "\\Process(_Total)\\%Processor Time", - "samplingPeriod": "PT1M" - }, - { - "name": "\\Process(_Total)\\Working Set", - "samplingPeriod": "PT1M" - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - } - ] - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting", - "name": "SampleDiagSetting", - "type": "Microsoft.Insights/guestDiagnosticSettings", - "location": "West US", - "tags": {}, - "properties": { - "osType": "Windows", - "dataSources": [ - { - "kind": "PerformanceCounter", - "configuration": { - "perfCounters": [ - { - "name": "\\Process(_Total)\\%Processor Time", - "samplingPeriod": "PT1M" - }, - { - "name": "\\Process(_Total)\\Working Set", - "samplingPeriod": "PT1M" - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - } - ] + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting", + "name": "SampleDiagSetting", + "type": "Microsoft.Insights/guestDiagnosticSettings", + "location": "West US", + "tags": {}, + "properties": { + "osType": "Windows", + "dataSources": [ + { + "kind": "PerformanceCounter", + "configuration": { + "perfCounters": [ + { + "name": "\\Process(_Total)\\%Processor Time", + "samplingPeriod": "PT1M" + }, + { + "name": "\\Process(_Total)\\Working Set", + "samplingPeriod": "PT1M" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" } + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json index c35cff6c5de2..633e67f69828 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json @@ -1,42 +1,42 @@ { - "parameters": { - "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", - "associationName": "healthSystemMachineConfigAssociation", - "api-version": "2018-06-01-preview", - "diagnosticSettingsAssociation": { - "location": "Global", - "tags": {}, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" - } + "parameters": { + "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", + "associationName": "healthSystemMachineConfigAssociation", + "api-version": "2018-06-01-preview", + "diagnosticSettingsAssociation": { + "location": "Global", + "tags": {}, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", + "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", + "name": "healthSystemMachineConfigAssociation", + "location": "Global", + "tags": {}, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", - "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", - "name": "healthSystemMachineConfigAssociation", - "location": "Global", - "tags": {}, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", - "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", - "name": "healthSystemMachineConfigAssociation", - "location": "Global", - "tags": {}, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" - } - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", + "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", + "name": "healthSystemMachineConfigAssociation", + "location": "Global", + "tags": {}, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json index 2de5c4bb50ef..4b1941830408 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json @@ -1,17 +1,17 @@ { - "parameters": { - "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", - "associationName": "healthSystemMachineConfigAssociation", - "api-version": "2018-06-01-preview" + "parameters": { + "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", + "associationName": "healthSystemMachineConfigAssociation", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json index 09a003c11131..b9a8f6faa1dd 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json @@ -1,168 +1,162 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ResourceGroup", - "diagnosticSettingsName": "productionMachineSetting", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting", - "name": "productionMachineSetting", - "type": "Microsoft.Insights/guestDiagnosticSettings", - "location": "West US", - "tags": {}, - "properties": { - "osType": "windows", - "dataSources": [ - { - "kind": "PerformanceCounter", - "configuration": { - "perfCounters": [ - { - "name": "\\Process(_Total)\\%Processor Time", - "samplingPeriod": "PT1M" - }, - { - "name": "\\Process(_Total)\\Working Set", - "samplingPeriod": "PT1M" - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "ETWProviders", - "configuration": { - "providers": [ - { - "name": "AuditLog", - "id": 1, - "filter": "filter exp" - }, - { - "name": "TraceLog", - "id": 2 - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "WindowsEventLogs", - "configuration": { - "eventLogs": [ - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" - - }, - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" - } - - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - } - - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ResourceGroup", + "diagnosticSettingsName": "productionMachineSetting", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting", + "name": "productionMachineSetting", + "type": "Microsoft.Insights/guestDiagnosticSettings", + "location": "West US", + "tags": {}, + "properties": { + "osType": "windows", + "dataSources": [ + { + "kind": "PerformanceCounter", + "configuration": { + "perfCounters": [ + { + "name": "\\Process(_Total)\\%Processor Time", + "samplingPeriod": "PT1M" + }, + { + "name": "\\Process(_Total)\\Working Set", + "samplingPeriod": "PT1M" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + }, + { + "kind": "ETWProviders", + "configuration": { + "providers": [ + { + "name": "AuditLog", + "id": 1, + "filter": "filter exp" + }, + { + "name": "TraceLog", + "id": 2 + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" } + ] + }, + { + "kind": "WindowsEventLogs", + "configuration": { + "eventLogs": [ + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" + }, + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] } - }, - "202": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting", - "name": "productionMachineSetting", - "type": "Microsoft.Insights/guestDiagnosticSettings", - "location": "West US", - "tags": {}, - "properties": { - "osType": "windows", - "dataSources": [ - { - "kind": "PerformanceCounter", - "configuration": { - "perfCounters": [ - { - "name": "\\Process(_Total)\\%Processor Time", - "samplingPeriod": "PT1M" - }, - { - "name": "\\Process(_Total)\\Working Set", - "samplingPeriod": "PT1M" - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "ETWProviders", - "configuration": { - "providers": [ - { - "name": "AuditLog", - "id": 1, - "filter": "filter exp" - }, - { - "name": "TraceLog", - "id": 2 - } - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - }, - { - "kind": "WindowsEventLogs", - "configuration": { - "eventLogs": [ - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" - - }, - { - "logName": "Application", - "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" - } - - ] - }, - "sinks": [ - { - "kind": "LogAnalytics" - } - ] - } - - ] + ] + } + } + }, + "202": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting", + "name": "productionMachineSetting", + "type": "Microsoft.Insights/guestDiagnosticSettings", + "location": "West US", + "tags": {}, + "properties": { + "osType": "windows", + "dataSources": [ + { + "kind": "PerformanceCounter", + "configuration": { + "perfCounters": [ + { + "name": "\\Process(_Total)\\%Processor Time", + "samplingPeriod": "PT1M" + }, + { + "name": "\\Process(_Total)\\Working Set", + "samplingPeriod": "PT1M" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + }, + { + "kind": "ETWProviders", + "configuration": { + "providers": [ + { + "name": "AuditLog", + "id": 1, + "filter": "filter exp" + }, + { + "name": "TraceLog", + "id": 2 + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" + } + ] + }, + { + "kind": "WindowsEventLogs", + "configuration": { + "eventLogs": [ + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"" + }, + { + "logName": "Application", + "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"" + } + ] + }, + "sinks": [ + { + "kind": "LogAnalytics" } + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json index 5ee3afd4ef02..5cd3f4ba672c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json @@ -1,22 +1,22 @@ { - "parameters": { - "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", - "associationName": "healthSystemMachineConfigAssociation", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", - "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", - "name": "healthSystemMachineConfigAssociation", - "location": "Global", - "tags": {}, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName" - } - } + "parameters": { + "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", + "associationName": "healthSystemMachineConfigAssociation", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", + "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", + "name": "healthSystemMachineConfigAssociation", + "location": "Global", + "tags": {}, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json index e33341549273..2cfc3cf55463 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json @@ -1,28 +1,28 @@ { + "parameters": { + "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", + "associationName": "healthSystemMachineConfigAssociation", + "api-version": "2018-06-01-preview", "parameters": { - "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai", - "associationName": "healthSystemMachineConfigAssociation", - "api-version": "2018-06-01-preview", - "parameters": { - "tags": null, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", - "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", - "name": "healthSystemMachineConfigAssociation", - "location": "Global", - "tags": null, - "properties": { - "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" - } - } + "tags": null, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation", + "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation", + "name": "healthSystemMachineConfigAssociation", + "location": "Global", + "tags": null, + "properties": { + "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json index 75f829203b94..ddcba6617e2d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json @@ -1,444 +1,446 @@ { - "swagger": "2.0", - "info": { - "title": "Guest Diagnostic Settings Association API", - "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-06-01-preview" + "swagger": "2.0", + "info": { + "title": "Guest Diagnostic Settings Association API", + "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2018-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": { - "put": { - "description": "Creates or updates guest diagnostics settings association.", - "tags": [ - "GuestDiagnosticsSettingsAssociation" - ], - "operationId": "GuestDiagnosticsSettingsAssociation_CreateOrUpdate", - "x-ms-examples": { - "Create or update an guest diagnostic settings association": { - "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json" - } - }, - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "diagnosticSettingsAssociation", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - }, - "description": "The diagnostic settings association to create or update." - } - ], - "responses": { - "200": { - "description": "An existing guest diagnostic settings association was successfully updated.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - } - }, - "201": { - "description": "A new guest diagnostic settings association was successfully created.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - } - }, - "default": { - "description": "An error occurred and the guest diagnostic settings association could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Gets guest diagnostics association settings.", - "tags": [ - "GuestDiagnosticsSettingsAssociation" - ], - "operationId": "GuestDiagnosticsSettingsAssociation_Get", - "x-ms-examples": { - "Create or update an guest diagnostic settings association": { - "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json" - } - }, - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - } - }, - "default": { - "description": "An error occurred and the diagnostic settings association could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete guest diagnostics association settings.", - "tags": [ - "GuestDiagnosticsSettingsAssociation" - ], - "x-ms-examples": { - "Create or update an guest diagnostic settings association": { - "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json" - } - }, - "operationId": "GuestDiagnosticsSettingsAssociation_Delete", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The diagnostic settings association was successfully deleted." - }, - "204": { - "description": "The diagnostic settings association does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the diagnostic settings association could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": { + "put": { + "description": "Creates or updates guest diagnostics settings association.", + "tags": [ + "GuestDiagnosticsSettingsAssociation" + ], + "operationId": "GuestDiagnosticsSettingsAssociation_CreateOrUpdate", + "x-ms-examples": { + "Create or update an guest diagnostic settings association": { + "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json" + } + }, + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "diagnosticSettingsAssociation", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" }, - "patch": { - "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method", - "operationId": "GuestDiagnosticsSettingsAssociation_Update", - "parameters": [ - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing guest diagnostics setting resource was successfully updated.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - } - } - }, - "x-ms-examples": { - "Update a service diagnostic setting": { "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json" } - } - } + "description": "The diagnostic settings association to create or update." + } + ], + "responses": { + "200": { + "description": "An existing guest diagnostic settings association was successfully updated.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" + } + }, + "201": { + "description": "A new guest diagnostic settings association was successfully created.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" + } + }, + "default": { + "description": "An error occurred and the guest diagnostic settings association could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "description": "Gets guest diagnostics association settings.", + "tags": [ + "GuestDiagnosticsSettingsAssociation" + ], + "operationId": "GuestDiagnosticsSettingsAssociation_Get", + "x-ms-examples": { + "Create or update an guest diagnostic settings association": { + "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json" + } }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { - "get": { - "description": "Get a list of all guest diagnostic settings association in a subscription.", - "operationId": "GuestDiagnosticsSettingsAssociation_List", - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList" - } - }, - "default": { - "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" + } + }, + "default": { + "description": "An error occurred and the diagnostic settings association could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + }, + "delete": { + "description": "Delete guest diagnostics association settings.", + "tags": [ + "GuestDiagnosticsSettingsAssociation" + ], + "x-ms-examples": { + "Create or update an guest diagnostic settings association": { + "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { - "get": { - "description": "Get a list of all guest diagnostic settings association in a resource group.", - "operationId": "GuestDiagnosticsSettingsAssociation_ListByResourceGroup", - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList" - } - }, - "default": { - "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "operationId": "GuestDiagnosticsSettingsAssociation_Delete", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The diagnostic settings association was successfully deleted." + }, + "204": { + "description": "The diagnostic settings association does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the diagnostic settings association could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "definitions": { - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + }, + "patch": { + "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method", + "operationId": "GuestDiagnosticsSettingsAssociation_Update", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch" + }, + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "An existing guest diagnostics setting resource was successfully updated.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" } + } }, - "GuestDiagnosticSettingsAssociationList": { - "description": "A list of guest diagnostic settings association.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" - }, - "description": "The list of guest diagnostic settings association." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "x-ms-examples": { + "Update a service diagnostic setting": { + "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { + "get": { + "description": "Get a list of all guest diagnostic settings association in a subscription.", + "operationId": "GuestDiagnosticsSettingsAssociation_List", + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList" + } + }, + "default": { + "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": { + "get": { + "description": "Get a list of all guest diagnostic settings association in a resource group.", + "operationId": "GuestDiagnosticsSettingsAssociation_ListByResourceGroup", + "x-ms-pageable": { + "nextLinkName": null }, - "GuestDiagnosticSettingsAssociationResourcePatch": { - "description": "Guest diagnostic setting resource for patch operations", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GuestDiagnosticSettingsAssociation", - "description": "The service diagnostics settings for an update operation." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList" } + }, + "default": { + "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" }, - "GuestDiagnosticSettingsAssociation": { - "description": "A guest diagnostic settings association.", - "properties": { - "guestDiagnosticSettingsName": { - "type": "string", - "description": "The guest diagnostic settings name." - } - }, - "required": [ - "guestDiagnosticSettingsName" - ] + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "GuestDiagnosticSettingsAssociationList": { + "description": "A list of guest diagnostic settings association.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource" + }, + "description": "The list of guest diagnostic settings association." }, - "GuestDiagnosticSettingsAssociationResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GuestDiagnosticSettingsAssociation", - "description": "The diagnostics settings associations of the resource." - } - }, - "description": "Virtual machine guest diagnostic settings resource." + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "GuestDiagnosticSettingsAssociationResourcePatch": { + "description": "Guest diagnostic setting resource for patch operations", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GuestDiagnosticSettingsAssociation", + "description": "The service diagnostics settings for an update operation." } + } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "GuestDiagnosticSettingsAssociation": { + "description": "A guest diagnostic settings association.", + "properties": { + "guestDiagnosticSettingsName": { + "type": "string", + "description": "The guest diagnostic settings name." + } + }, + "required": [ + "guestDiagnosticSettingsName" + ] + }, + "GuestDiagnosticSettingsAssociationResource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GuestDiagnosticSettingsAssociation", + "description": "The diagnostics settings associations of the resource." + } + }, + "description": "Virtual machine guest diagnostic settings resource." + }, + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "DiagnosticSettingsAssociationNameParameter": { - "name": "associationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the diagnostic settings association.", - "x-ms-parameter-location": "method" + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DiagnosticSettingsAssociationNameParameter": { + "name": "associationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the diagnostic settings association.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json index 092ba0613f6f..c82bcd2e139e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json @@ -1,580 +1,580 @@ { - "swagger": "2.0", - "info": { - "title": "Guest Diagnostic Settings API", - "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-06-01-preview" + "swagger": "2.0", + "info": { + "title": "Guest Diagnostic Settings API", + "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2018-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": { - "put": { - "description": "Creates or updates guest diagnostics settings.", - "tags": [ - "GuestDiagnosticsSettings" - ], - "operationId": "guestDiagnosticsSettings_CreateOrUpdate", - "x-ms-examples": { - "Create or update a guest diagnostic settings": { - "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DiagnosticSettingNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "diagnosticSettings", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - }, - "description": "The configuration to create or update." - } - ], - "responses": { - "200": { - "description": "An existing guest diagnostic settings was successfully updated.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - } - }, - "201": { - "description": "A new guest diagnostic settings was successfully created.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - } - }, - "default": { - "description": "An error occurred and the guest diagnostic settings could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Gets guest diagnostics settings.", - "tags": [ - "GuestDiagnosticsSettings" - ], - "operationId": "guestDiagnosticsSettings_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DiagnosticSettingNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - } - }, - "default": { - "description": "An error occurred and the diagnostic settings could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": { + "put": { + "description": "Creates or updates guest diagnostics settings.", + "tags": [ + "GuestDiagnosticsSettings" + ], + "operationId": "guestDiagnosticsSettings_CreateOrUpdate", + "x-ms-examples": { + "Create or update a guest diagnostic settings": { + "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DiagnosticSettingNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "diagnosticSettings", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" }, - "patch": { - "description": "Updates guest diagnostics settings.", - "operationId": "guestDiagnosticsSettings_Update", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DiagnosticSettingNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource" - }, - "description": "The configuration to patch." - } - ], - "responses": { - "200": { - "description": "An existing guest diagnostic settings was successfully updated.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - } - }, - "201": { - "description": "A new guest diagnostic settings was successfully created.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - } - }, - "default": { - "description": "An error occurred and the guest diagnostic settings could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete guest diagnostics settings.", - "tags": [ - "GuestDiagnosticsSettings" - ], - "operationId": "guestDiagnosticsSettings_Delete", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/DiagnosticSettingNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The diagnostic settings was successfully deleted." - }, - "204": { - "description": "The diagnostic settings does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the diagnostic settings could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "description": "The configuration to create or update." + } + ], + "responses": { + "200": { + "description": "An existing guest diagnostic settings was successfully updated.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": { - "get": { - "description": "Get a list of all guest diagnostic settings in a subscription.", - "operationId": "guestDiagnosticsSettings_List", - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsList" - } - }, - "default": { - "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "201": { + "description": "A new guest diagnostic settings was successfully created.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": { - "get": { - "description": "Get a list of all guest diagnostic settings in a resource group.", - "operationId": "guestDiagnosticsSettings_ListByResourceGroup", - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/GuestDiagnosticSettingsList" - } - }, - "default": { - "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "default": { + "description": "An error occurred and the guest diagnostic settings could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "definitions": { - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + }, + "get": { + "description": "Gets guest diagnostics settings.", + "tags": [ + "GuestDiagnosticsSettings" + ], + "operationId": "guestDiagnosticsSettings_Get", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DiagnosticSettingNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" } - }, - "GuestDiagnosticSettingsList": { - "description": "A list of guest diagnostic settings.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GuestDiagnosticSettingsResource" - }, - "description": "The list of guest diagnostic settings." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + }, + "default": { + "description": "An error occurred and the diagnostic settings could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "GuestDiagnosticSettingsResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GuestDiagnosticSettings", - "description": "The diagnostic settings to be applied to azure resources." - } + } + } + }, + "patch": { + "description": "Updates guest diagnostics settings.", + "operationId": "guestDiagnosticsSettings_Update", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DiagnosticSettingNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource" }, - "description": "Virtual machine guest diagnostics settings resource." - }, - "GuestDiagnosticSettings": { - "description": "Virtual machine diagnostic settings", - "properties": { - "osType": { - "type": "string", - "enum": [ - "Windows", - "Linux" - ], - "description" : "Operating system type for the configuration" - }, - "dataSources": { - "type": "array", - "items": { - "$ref": "#/definitions/DataSource" - }, - "description": "the array of data source object which are configured to collect and send data" - }, - "proxySetting": { - "type": "string" - } + "description": "The configuration to patch." + } + ], + "responses": { + "200": { + "description": "An existing guest diagnostic settings was successfully updated.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" } - }, - "GuestDiagnosticSettingsPatchResource": { - "description": "An diagnostic settings object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GuestDiagnosticSettings", - "description": "The diagnostic settings for an update operation." - } + }, + "201": { + "description": "A new guest diagnostic settings was successfully created.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" } - }, - "DataSource": { - "type": "object", - "required": [ - "kind", - "configuration", - "sinks" - ], - "properties": { - "kind": { - "type": "string", - "enum": [ - "PerformanceCounter", - "ETWProviders", - "WindowsEventLogs" - ], - "description": "Datasource kind" - }, - "configuration": { - "type": "object", - "$ref": "#/definitions/DataSourceConfiguration" - }, - "sinks": { - "type": "array", - "items": { - "$ref": "#/definitions/SinkConfiguration" - } - } - }, - "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to" - }, - "SinkConfiguration": { - "type": "object", - "required": [ - "kind" - ], - "properties": { - "kind": { - "type": "string", - "enum": [ - "EventHub", - "ApplicationInsights", - "LogAnalytics" - ] - } + }, + "default": { + "description": "An error occurred and the guest diagnostic settings could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "DataSourceConfiguration": { - "type": "object", - "properties": { - "providers": { - "type": "array", - "items": { - "$ref": "#/definitions/EtwProviderConfiguration" - }, - "description": "ETW providers configuration" - }, - "perfCounters": { - "type": "array", - "items": { - "$ref": "#/definitions/PerformanceCounterConfiguration" - }, - "description": "Performance counter configuration" - }, - "eventLogs": { - "type": "array", - "items": { - "$ref": "#/definitions/EventLogConfiguration" - }, - "description": "Windows event logs configuration." - } + } + } + }, + "delete": { + "description": "Delete guest diagnostics settings.", + "tags": [ + "GuestDiagnosticsSettings" + ], + "operationId": "guestDiagnosticsSettings_Delete", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DiagnosticSettingNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The diagnostic settings was successfully deleted." + }, + "204": { + "description": "The diagnostic settings does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the diagnostic settings could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": { + "get": { + "description": "Get a list of all guest diagnostic settings in a subscription.", + "operationId": "guestDiagnosticsSettings_List", + "x-ms-pageable": { + "nextLinkName": null }, - "EtwEventConfiguration": { - "type": "object", - "required": [ - "name", - "id" - ], - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "filter": { - "type": "string" - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsList" } - }, - "EtwProviderConfiguration": { - "type": "object", - "required": [ - "id", - "events" - ], - "properties": { - "id": { - "type": "string" - }, - "events": { - "type": "array", - "items": { - "$ref": "#/definitions/EtwEventConfiguration" - } - } + }, + "default": { + "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": { + "get": { + "description": "Get a list of all guest diagnostic settings in a resource group.", + "operationId": "guestDiagnosticsSettings_ListByResourceGroup", + "x-ms-pageable": { + "nextLinkName": null }, - "PerformanceCounterConfiguration": { - "type": "object", - "required": [ - "name", - "samplingPeriod" - ], - "properties": { - "name": { - "type": "string" - }, - "samplingPeriod": { - "type": "string" - }, - "instance": { - "type": "string" - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/GuestDiagnosticSettingsList" } - }, - "EventLogConfiguration": { - "type": "object", - "required": [ - "logName" - ], - "properties": { - "logName": { - "type": "string" - }, - "filter": { - "type": "string" - } + }, + "default": { + "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" }, - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - } + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "GuestDiagnosticSettingsList": { + "description": "A list of guest diagnostic settings.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GuestDiagnosticSettingsResource" + }, + "description": "The list of guest diagnostic settings." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "GuestDiagnosticSettingsResource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GuestDiagnosticSettings", + "description": "The diagnostic settings to be applied to azure resources." + } + }, + "description": "Virtual machine guest diagnostics settings resource." + }, + "GuestDiagnosticSettings": { + "description": "Virtual machine diagnostic settings", + "properties": { + "osType": { + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "description": "Operating system type for the configuration" }, - "DiagnosticSettingNameParameter": { - "name": "diagnosticSettingsName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the diagnostic setting.", - "x-ms-parameter-location": "method" + "dataSources": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSource" + }, + "description": "the array of data source object which are configured to collect and send data" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } + "proxySetting": { + "type": "string" + } + } + }, + "GuestDiagnosticSettingsPatchResource": { + "description": "An diagnostic settings object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GuestDiagnosticSettings", + "description": "The diagnostic settings for an update operation." + } + } + }, + "DataSource": { + "type": "object", + "required": [ + "kind", + "configuration", + "sinks" + ], + "properties": { + "kind": { + "type": "string", + "enum": [ + "PerformanceCounter", + "ETWProviders", + "WindowsEventLogs" + ], + "description": "Datasource kind" + }, + "configuration": { + "type": "object", + "$ref": "#/definitions/DataSourceConfiguration" + }, + "sinks": { + "type": "array", + "items": { + "$ref": "#/definitions/SinkConfiguration" + } + } + }, + "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to" + }, + "SinkConfiguration": { + "type": "object", + "required": [ + "kind" + ], + "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub", + "ApplicationInsights", + "LogAnalytics" + ] + } + } + }, + "DataSourceConfiguration": { + "type": "object", + "properties": { + "providers": { + "type": "array", + "items": { + "$ref": "#/definitions/EtwProviderConfiguration" + }, + "description": "ETW providers configuration" + }, + "perfCounters": { + "type": "array", + "items": { + "$ref": "#/definitions/PerformanceCounterConfiguration" + }, + "description": "Performance counter configuration" + }, + "eventLogs": { + "type": "array", + "items": { + "$ref": "#/definitions/EventLogConfiguration" + }, + "description": "Windows event logs configuration." + } + } + }, + "EtwEventConfiguration": { + "type": "object", + "required": [ + "name", + "id" + ], + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "filter": { + "type": "string" + } + } + }, + "EtwProviderConfiguration": { + "type": "object", + "required": [ + "id", + "events" + ], + "properties": { + "id": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/definitions/EtwEventConfiguration" + } + } + } + }, + "PerformanceCounterConfiguration": { + "type": "object", + "required": [ + "name", + "samplingPeriod" + ], + "properties": { + "name": { + "type": "string" + }, + "samplingPeriod": { + "type": "string" + }, + "instance": { + "type": "string" + } + } + }, + "EventLogConfiguration": { + "type": "object", + "required": [ + "logName" + ], + "properties": { + "logName": { + "type": "string" + }, + "filter": { + "type": "string" + } + } + }, + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DiagnosticSettingNameParameter": { + "name": "diagnosticSettingsName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the diagnostic setting.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json index 3500766bd62a..2e60687e3054 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json @@ -1,32 +1,32 @@ { - "parameters": { - "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms", - "api-version": "2018-11-27-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { + "parameters": { + "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms", + "api-version": "2018-11-27-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms", + "onboardingStatus": "onboarded", + "dataStatus": "present", + "data": [ + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", + "location": "eastus", "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms", - "onboardingStatus": "onboarded", - "dataStatus": "present", - "data": [ - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", - "location": "eastus", - "properties": { - "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" - } - } - } - ] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" + "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + } + } } - } + ] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json index 8fb2b0190191..59476d080e17 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json @@ -1,32 +1,32 @@ { - "parameters": { - "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", - "api-version": "2018-11-27-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { + "parameters": { + "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", + "api-version": "2018-11-27-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", + "onboardingStatus": "onboarded", + "dataStatus": "present", + "data": [ + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", + "location": "eastus", "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", - "onboardingStatus": "onboarded", - "dataStatus": "present", - "data": [ - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", - "location": "eastus", - "properties": { - "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" - } - } - } - ] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" + "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + } + } } - } + ] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json index 41d1f25fdf8d..203db7a7a12f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json @@ -1,22 +1,22 @@ { - "parameters": { - "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", - "api-version": "2018-11-27-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", - "onboardingStatus": "unknown", - "dataStatus": "notPresent", - "data": [] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" - } - } + "parameters": { + "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", + "api-version": "2018-11-27-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm", + "onboardingStatus": "unknown", + "dataStatus": "notPresent", + "data": [] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json index 57eb902d9b23..a18c08b8587d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json @@ -1,38 +1,38 @@ { - "parameters": { - "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", - "api-version": "2018-11-27-preview" - }, - "responses": { - "200": { - "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", - "onboardingStatus": "onboarded", - "dataStatus": "present", - "data": [ - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary", - "location": "eastus", - "properties": { - "customerId": "f096d163-206e-4abf-9db3-2c62af003d68" - } - } - }, - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", - "location": "eastus", - "properties": { - "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" - } - } - } - ] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" - } + "parameters": { + "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", + "api-version": "2018-11-27-preview" + }, + "responses": { + "200": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", + "onboardingStatus": "onboarded", + "dataStatus": "present", + "data": [ + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary", + "location": "eastus", + "properties": { + "customerId": "f096d163-206e-4abf-9db3-2c62af003d68" + } + } + }, + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", + "location": "eastus", + "properties": { + "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + } + } + } + ] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json index be3a9a8d3a61..1b0a85ec5ad2 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json @@ -1,32 +1,32 @@ { - "parameters": { - "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01", - "api-version": "2018-11-27-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { + "parameters": { + "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01", + "api-version": "2018-11-27-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01", + "onboardingStatus": "onboarded", + "dataStatus": "present", + "data": [ + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", + "location": "eastus", "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01", - "onboardingStatus": "onboarded", - "dataStatus": "present", - "data": [ - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", - "location": "eastus", - "properties": { - "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" - } - } - } - ] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" + "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + } + } } - } + ] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json index b6385a6437bd..a955bfa3fbdd 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json @@ -1,260 +1,260 @@ { - "swagger": "2.0", - "info": { - "title": "VM Insights Onboarding API", - "description": "API to manage VM Insights Onboarding", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-11-27-preview" + "swagger": "2.0", + "info": { + "title": "VM Insights Onboarding API", + "description": "API to manage VM Insights Onboarding", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2018-11-27-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": { - "get": { - "tags": [ - "VM Insights Onboarding" - ], - "operationId": "VMInsights_GetOnboardingStatus", - "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.", - "x-ms-examples": { - "Get status for a VM that has not yet reported data": { - "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json" - }, - "Get status for a VM that is actively reporting data": { - "$ref": "./examples/getOnboardingStatusSingleVM.json" - }, - "Get status for a VM scale set that is actively reporting data": { - "$ref": "./examples/getOnboardingStatusVMScaleSet.json" - }, - "Get status for a resource group that has at least one VM that is actively reporting data": { - "$ref": "./examples/getOnboardingStatusResourceGroup.json" - }, - "Get status for a subscription that has at least one VM that is actively reporting data": { - "$ref": "./examples/getOnboardingStatusSubscription.json" - } + } + }, + "paths": { + "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": { + "get": { + "tags": [ + "VM Insights Onboarding" + ], + "operationId": "VMInsights_GetOnboardingStatus", + "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.", + "x-ms-examples": { + "Get status for a VM that has not yet reported data": { + "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json" }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "The operation completed successfully.", - "schema": { - "$ref": "#/definitions/VMInsightsOnboardingStatus" - } - }, - "default": { - "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.", - "schema": { - "$ref": "#/definitions/ResponseWithError" - } - } + "Get status for a VM that is actively reporting data": { + "$ref": "./examples/getOnboardingStatusSingleVM.json" + }, + "Get status for a VM scale set that is actively reporting data": { + "$ref": "./examples/getOnboardingStatusVMScaleSet.json" + }, + "Get status for a resource group that has at least one VM that is actively reporting data": { + "$ref": "./examples/getOnboardingStatusResourceGroup.json" + }, + "Get status for a subscription that has at least one VM that is actively reporting data": { + "$ref": "./examples/getOnboardingStatusSubscription.json" } - } - } - }, - "definitions": { - "ProxyResource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "name": { + { + "name": "resourceUri", + "in": "path", + "required": true, "type": "string", - "readOnly": true, - "description": "Azure resource name" + "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMInsightsOnboardingStatus" + } }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" + "default": { + "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.", + "schema": { + "$ref": "#/definitions/ResponseWithError" + } } + } + } + } + }, + "definitions": { + "ProxyResource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ResponseWithError": { - "type": "object", - "description": "An error response from the API.", - "properties": { - "error": { - "$ref": "#/definitions/Error", - "description": "Error information." - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "required": [ - "error" - ] + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + } }, - "Error": { - "type": "object", - "description": "Error details.", - "properties": { - "code": { - "type": "string", - "description": "Error code identifying the specific error." - }, - "message": { - "type": "string", - "description": "Error message in the caller's locale." - } + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "ResponseWithError": { + "type": "object", + "description": "An error response from the API.", + "properties": { + "error": { + "$ref": "#/definitions/Error", + "description": "Error information." + } + }, + "required": [ + "error" + ] + }, + "Error": { + "type": "object", + "description": "Error details.", + "properties": { + "code": { + "type": "string", + "description": "Error code identifying the specific error." }, - "required": [ - "code" - ] + "message": { + "type": "string", + "description": "Error message in the caller's locale." + } }, - "WorkspaceInfo": { - "type": "object", - "description": "Information about a Log Analytics Workspace.", + "required": [ + "code" + ] + }, + "WorkspaceInfo": { + "type": "object", + "description": "Information about a Log Analytics Workspace.", + "properties": { + "id": { + "type": "string", + "description": "Azure Resource Manager identifier of the Log Analytics Workspace." + }, + "location": { + "type": "string", + "description": "Location of the Log Analytics workspace." + }, "properties": { - "id": { - "type": "string", - "description": "Azure Resource Manager identifier of the Log Analytics Workspace." - }, - "location": { - "type": "string", - "description": "Location of the Log Analytics workspace." - }, + "x-ms-client-flatten": true, + "type": "object", + "description": "Resource properties.", "properties": { - "x-ms-client-flatten": true, - "type": "object", - "description": "Resource properties.", - "properties": { - "customerId": { - "type": "string", - "description": "Log Analytics workspace identifier." - } - }, - "required": [ - "customerId" - ] - } - }, - "required": [ - "id", - "location", - "properties" - ] + "customerId": { + "type": "string", + "description": "Log Analytics workspace identifier." + } + }, + "required": [ + "customerId" + ] + } }, - "DataContainer": { - "type": "object", - "description": "Information about a container with data for a given resource.", - "properties": { - "workspace": { - "$ref": "#/definitions/WorkspaceInfo", - "description": "Log Analytics workspace information." - } - }, - "required": [ - "workspace" - ] + "required": [ + "id", + "location", + "properties" + ] + }, + "DataContainer": { + "type": "object", + "description": "Information about a container with data for a given resource.", + "properties": { + "workspace": { + "$ref": "#/definitions/WorkspaceInfo", + "description": "Log Analytics workspace information." + } }, - "VMInsightsOnboardingStatus": { - "description": "VM Insights onboarding status for a resource.", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "required": [ + "workspace" + ] + }, + "VMInsightsOnboardingStatus": { + "description": "VM Insights onboarding status for a resource.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { "properties": { + "x-ms-client-flatten": true, + "type": "object", + "description": "Resource properties.", "properties": { - "x-ms-client-flatten": true, - "type": "object", - "description": "Resource properties.", - "properties": { - "resourceId": { - "type": "string", - "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented." - }, - "onboardingStatus": { - "type": "string", - "enum": [ - "onboarded", - "notOnboarded", - "unknown" - ], - "x-ms-enum": { - "name": "OnboardingStatus", - "modelAsString": true - }, - "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded." + "resourceId": { + "type": "string", + "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented." + }, + "onboardingStatus": { + "type": "string", + "enum": [ + "onboarded", + "notOnboarded", + "unknown" + ], + "x-ms-enum": { + "name": "OnboardingStatus", + "modelAsString": true }, - "dataStatus": { - "type": "string", - "enum": [ - "present", - "notPresent" - ], - "x-ms-enum": { - "name": "DataStatus", - "modelAsString": true - }, - "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed." + "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded." + }, + "dataStatus": { + "type": "string", + "enum": [ + "present", + "notPresent" + ], + "x-ms-enum": { + "name": "DataStatus", + "modelAsString": true }, - "data": { - "type": "array", - "items": { - "$ref": "#/definitions/DataContainer" - }, - "description": "Containers that currently store VM Insights data for the specified resource." - } + "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed." }, - "required": [ - "resourceId", - "onboardingStatus", - "dataStatus" - ] - } + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/DataContainer" + }, + "description": "Containers that currently store VM Insights data for the specified resource." + } + }, + "required": [ + "resourceId", + "onboardingStatus", + "dataStatus" + ] } } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "API version." - } } - } \ No newline at end of file + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version." + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json index cccfc164c41b..9ce194198379 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json @@ -80,17 +80,27 @@ }, "x-ms-odata": "#/definitions/EventData", "x-ms-examples": { - "Get Activity Logs without filter or select": { "$ref": "./examples/GetActivityLogsNoParams.json" }, - "Get Activity Logs with filter": { "$ref": "./examples/GetActivityLogsFiltered.json" }, - "Get Activity Logs with select": { "$ref": "./examples/GetActivityLogsSelected.json" }, - "Get Activity Logs with filter and select": { "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" } + "Get Activity Logs without filter or select": { + "$ref": "./examples/GetActivityLogsNoParams.json" + }, + "Get Activity Logs with filter": { + "$ref": "./examples/GetActivityLogsFiltered.json" + }, + "Get Activity Logs with select": { + "$ref": "./examples/GetActivityLogsSelected.json" + }, + "Get Activity Logs with filter and select": { + "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -311,7 +321,9 @@ "description": "Provides the link to retrieve the next set of events." } }, - "required": [ "value" ], + "required": [ + "value" + ], "description": "Represents collection of events." }, "ErrorResponse": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json index bfc43dd3c7f4..857de7aa263c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json @@ -72,7 +72,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List autoscale settings": { "$ref": "./examples/listAutoscaleSetting.json" } + "List autoscale settings": { + "$ref": "./examples/listAutoscaleSetting.json" + } } } }, @@ -127,7 +129,9 @@ } }, "x-ms-examples": { - "Create or update an autoscale setting": { "$ref": "./examples/createOrUpdateAutoscaleSetting.json" } + "Create or update an autoscale setting": { + "$ref": "./examples/createOrUpdateAutoscaleSetting.json" + } } }, "delete": { @@ -165,7 +169,9 @@ } }, "x-ms-examples": { - "Delete an autoscale setting": { "$ref": "./examples/deleteAutoscaleSetting.json" } + "Delete an autoscale setting": { + "$ref": "./examples/deleteAutoscaleSetting.json" + } } }, "get": { @@ -203,52 +209,56 @@ } }, "x-ms-examples": { - "Get an autoscale setting": { "$ref": "./examples/getAutoscaleSetting.json" } + "Get an autoscale setting": { + "$ref": "./examples/getAutoscaleSetting.json" + } } }, "patch": { - "description": "Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.", - "operationId": "AutoscaleSettings_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AutoscaleSettingNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "autoscaleSettingResource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AutoscaleSettingResourcePatch" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing autoscale setting resource was successfully updated.", - "schema": { - "$ref": "#/definitions/AutoscaleSettingResource" - } - } - }, - "x-ms-examples": { - "Patch an autoscale setting": { "$ref": "./examples/patchAutoscaleSetting.json" } + "description": "Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.", + "operationId": "AutoscaleSettings_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AutoscaleSettingNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "autoscaleSettingResource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AutoscaleSettingResourcePatch" + }, + "description": "Parameters supplied to the operation." } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "An existing autoscale setting resource was successfully updated.", + "schema": { + "$ref": "#/definitions/AutoscaleSettingResource" + } + } + }, + "x-ms-examples": { + "Patch an autoscale setting": { + "$ref": "./examples/patchAutoscaleSetting.json" + } + } } }, "/subscriptions/{subscriptionId}/providers/microsoft.insights/autoscalesettings": { @@ -284,7 +294,9 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List autoscale settings": { "$ref": "./examples/listAutoscaleSettingBySubscription.json" } + "List autoscale settings": { + "$ref": "./examples/listAutoscaleSettingBySubscription.json" + } } } } @@ -311,8 +323,8 @@ "type": "string", "description": "Resource location", "x-ms-mutability": [ - "create", - "read" + "create", + "read" ] }, "tags": { @@ -351,7 +363,16 @@ "description": "The number of instances that can be used during this profile." }, "MetricTrigger": { - "required": ["metricName", "metricResourceUri", "timeGrain", "statistic", "timeWindow", "timeAggregation", "operator", "threshold"], + "required": [ + "metricName", + "metricResourceUri", + "timeGrain", + "statistic", + "timeWindow", + "timeAggregation", + "operator", + "threshold" + ], "properties": { "metricName": { "type": "string", @@ -473,7 +494,8 @@ }, "ScaleRule": { "required": [ - "scaleAction", "metricTrigger" + "scaleAction", + "metricTrigger" ], "properties": { "metricTrigger": { @@ -504,11 +526,19 @@ "description": "the end time for the profile in ISO 8601 format." } }, - "required": [ "start", "end" ], + "required": [ + "start", + "end" + ], "description": "A specific date-time for the profile." }, "RecurrentSchedule": { - "required": ["timeZone", "days", "hours", "minutes"], + "required": [ + "timeZone", + "days", + "hours", + "minutes" + ], "properties": { "timeZone": { "type": "string", @@ -541,7 +571,10 @@ "description": "The scheduling constraints for when the profile begins." }, "Recurrence": { - "required": ["frequency", "schedule"], + "required": [ + "frequency", + "schedule" + ], "properties": { "frequency": { "type": "string", @@ -569,7 +602,7 @@ "description": "The repeating times at which this profile begins. This element is not used if the FixedDate element is used." }, "AutoscaleProfile": { - "required":[ + "required": [ "rules", "name", "capacity" @@ -645,7 +678,9 @@ "operation": { "type": "string", "description": "the operation associated with the notification and its value must be \"scale\"", - "enum": ["Scale"], + "enum": [ + "Scale" + ], "x-ms-enum": { "name": "OperationType", "modelAsString": false @@ -666,7 +701,7 @@ "description": "Autoscale notification." }, "AutoscaleSetting": { - "required":[ + "required": [ "profiles" ], "properties": { @@ -705,7 +740,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/Resource" } ], "required": [ @@ -724,10 +759,10 @@ "description": "The autoscale setting object for patch operations.", "properties": { "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, "properties": { "x-ms-client-flatten": true, @@ -750,7 +785,9 @@ "description": "URL to get the next set of results." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents a collection of autoscale setting resources." }, "ErrorResponse": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json index 558f853ada92..7a3187374bb6 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json @@ -66,14 +66,18 @@ "nextLinkName": null }, "x-ms-examples": { - "Get event categories": { "$ref": "./examples/GetEventCategories.json" } + "Get event categories": { + "$ref": "./examples/GetEventCategories.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -96,7 +100,9 @@ "description": "the list that includes the Azure event categories." } }, - "required": [ "value" ], + "required": [ + "value" + ], "description": "A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy." }, "ErrorResponse": { @@ -123,4 +129,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json index d1240f00184b..a2a688f11a51 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json @@ -1,83 +1,85 @@ { - "parameters": { - "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "authorization": { + "action": "microsoft.support/supporttickets/write", + "role": "Subscription Admin", + "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" + }, + "caller": "admin@contoso.com", + "claims": { + "aud": "https://management.core.windows.net/", + "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", + "iat": "1421876371", + "nbf": "1421876371", + "exp": "1421880271", + "ver": "1.0", + "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", + "puid": "20030000801A118C", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", + "name": "John Smith", + "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com", + "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.microsoft.com/claims/authnclassreference": "1" + }, + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "description": "", + "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "httpRequest": { + "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", + "clientIpAddress": "192.168.35.115", + "method": "PUT" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "level": "Informational", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "properties": { + "statusCode": "Created" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "subStatus": { + "value": "Created", + "localizedValue": "Created (HTTP Status Code: 201)" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json index 3c521070179c..7c8fcf697066 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json @@ -1,39 +1,41 @@ { - "parameters": { - "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", - "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "level": "Informational" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", + "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "level": "Informational" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json index 9b7b95534d62..d9e4f31f4a37 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json @@ -1,82 +1,84 @@ { - "parameters": { - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "authorization": { + "action": "microsoft.support/supporttickets/write", + "role": "Subscription Admin", + "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" + }, + "caller": "admin@contoso.com", + "claims": { + "aud": "https://management.core.windows.net/", + "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", + "iat": "1421876371", + "nbf": "1421876371", + "exp": "1421880271", + "ver": "1.0", + "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", + "puid": "20030000801A118C", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", + "name": "John Smith", + "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com", + "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.microsoft.com/claims/authnclassreference": "1" + }, + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "description": "", + "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "httpRequest": { + "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", + "clientIpAddress": "192.168.35.115", + "method": "PUT" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "level": "Informational", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "properties": { + "statusCode": "Created" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "subStatus": { + "value": "Created", + "localizedValue": "Created (HTTP Status Code: 201)" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json index 3ebe725ae844..020bb6e7f15e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json @@ -1,38 +1,40 @@ { - "parameters": { - "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "level": "Informational" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "level": "Informational" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json index e90ca45e3f83..38dca0f27034 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json @@ -1,21 +1,21 @@ { - "parameters": { - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "value": "category1", - "localizedValue": "category1" - }, - { - "value": "category2", - "localizedValue": "category2" - } - ] - } - } + "parameters": { + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "value": "category1", + "localizedValue": "category1" + }, + { + "value": "category2", + "localizedValue": "category2" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json index d1240f00184b..a2a688f11a51 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json @@ -1,83 +1,85 @@ { - "parameters": { - "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "authorization": { + "action": "microsoft.support/supporttickets/write", + "role": "Subscription Admin", + "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" + }, + "caller": "admin@contoso.com", + "claims": { + "aud": "https://management.core.windows.net/", + "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", + "iat": "1421876371", + "nbf": "1421876371", + "exp": "1421880271", + "ver": "1.0", + "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", + "puid": "20030000801A118C", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", + "name": "John Smith", + "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com", + "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.microsoft.com/claims/authnclassreference": "1" + }, + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "description": "", + "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "httpRequest": { + "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", + "clientIpAddress": "192.168.35.115", + "method": "PUT" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "level": "Informational", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "properties": { + "statusCode": "Created" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "subStatus": { + "value": "Created", + "localizedValue": "Created (HTTP Status Code: 201)" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json index 3c521070179c..7c8fcf697066 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json @@ -1,39 +1,41 @@ { - "parameters": { - "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", - "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "level": "Informational" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'", + "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "level": "Informational" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json index 9b7b95534d62..d9e4f31f4a37 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json @@ -1,82 +1,84 @@ { - "parameters": { - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "authorization": { + "action": "microsoft.support/supporttickets/write", + "role": "Subscription Admin", + "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" + }, + "caller": "admin@contoso.com", + "claims": { + "aud": "https://management.core.windows.net/", + "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", + "iat": "1421876371", + "nbf": "1421876371", + "exp": "1421880271", + "ver": "1.0", + "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", + "puid": "20030000801A118C", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", + "name": "John Smith", + "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com", + "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.microsoft.com/claims/authnclassreference": "1" + }, + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "description": "", + "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "httpRequest": { + "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", + "clientIpAddress": "192.168.35.115", + "method": "PUT" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "level": "Informational", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "properties": { + "statusCode": "Created" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "subStatus": { + "value": "Created", + "localizedValue": "Created (HTTP Status Code: 201)" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json index 3ebe725ae844..020bb6e7f15e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json @@ -1,38 +1,40 @@ { - "parameters": { - "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ { - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "level": "Informational" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } + "parameters": { + "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", + "api-version": "2015-04-01", + "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", + "eventName": { + "value": "EndRequest", + "localizedValue": "End request" + }, + "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", + "resourceGroupName": "MSSupportGroup", + "resourceProviderName": { + "value": "microsoft.support", + "localizedValue": "microsoft.support" + }, + "operationName": { + "value": "microsoft.support/supporttickets/write", + "localizedValue": "microsoft.support/supporttickets/write" + }, + "status": { + "value": "Succeeded", + "localizedValue": "Succeeded" + }, + "eventTimestamp": "2015-01-21T22:14:26.9792776Z", + "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", + "level": "Informational" + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json index a9b7694da946..2d082e76b07c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json @@ -1,717 +1,405 @@ { - "parameters":{ - "api-version":"2015-04-01" + "parameters": { + "api-version": "2015-04-01" }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"Microsoft.Insights/Operations/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Operations", - "operation":"Operations read", - "description":"Reading operations" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/MetricDefinitions/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metric Definitions", - "operation":"Metric definitions read", - "description":"Read metric definitions" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Metrics/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metrics", - "operation":"Metrics read", - "description":"Read metrics" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule write", - "description":"Writing to an alert rule configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule delete", - "description":"Deleting an alert rule configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule read", - "description":"Reading an alert rule configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/MetricAlerts/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metric alerts", - "operation":"Metric alert write", - "description":"Writing a metric alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/MetricAlerts/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metric alerts", - "operation":"Metric alert delete", - "description":"Deleting a metric alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/MetricAlerts/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metric alerts", - "operation":"Metric alert read", - "description":"Reading a metric alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Autoscale", - "operation":"Autoscale Setting write", - "description":"Writing to an autoscale setting configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Autoscale", - "operation":"Autoscale Setting delete", - "description":"Deleting an autoscale setting configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Autoscale", - "operation":"Autoscale Setting read", - "description":"Reading an autoscale setting configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Incidents/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rule Incident resource", - "operation":"Alert Rule Incidents read", - "description":"Reading an alert rule incident configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/providers/Microsoft.Insights/MetricDefinitions/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Metric Definitions", - "operation":"Metric definitions read", - "description":"Read metric definitions" - }, - "properties":{ - "serviceSpecification":{ - "metricSpecifications":[ - { - "name":"ObservedMetricValue", - "displayName":"Observed Metric Value", - "displayDescription":"The value computed by autoscale when executed", - "unit":"Count", - "aggregationType":"Average", - "availabilities":null, - "fillGapWithZero":false, - "category":"Metric", - "dimensions":[ - { - "name":"MetricTriggerSource", - "displayName":"Metric Trigger Source", - "toBeExportedForShoebox":true - } - ] - }, - { - "name":"MetricThreshold", - "displayName":"Metric Threshold", - "displayDescription":"The configured autoscale threshold when autoscale ran.", - "unit":"Count", - "aggregationType":"Average", - "availabilities":null, - "fillGapWithZero":false, - "category":"Metric", - "dimensions":[ - { - "name":"MetricTriggerRule", - "displayName":"Metric Trigger Rule", - "toBeExportedForShoebox":true - } - ] - }, - { - "name":"ObservedCapacity", - "displayName":"Observed Capacity", - "displayDescription":"The capacity reported to autoscale when it executed.", - "unit":"Count", - "aggregationType":"Average", - "availabilities":null, - "fillGapWithZero":false, - "category":"ScaleAction", - "dimensions":null - }, - { - "name":"ScaleActionsInitiated", - "displayName":"Scale Actions Initiated", - "displayDescription":"The direction of the scale operation.", - "unit":"Count", - "aggregationType":"Total", - "availabilities":null, - "fillGapWithZero":true, - "category":"ScaleAction", - "dimensions":[ - { - "name":"ScaleDirection", - "displayName":"Scale Direction", - "toBeExportedForShoebox":true - } - ] - } - ], - "logSpecifications":null, - "legacyMetricSpecifications":null - } - } - }, - { - "name":"Microsoft.Insights/ActionGroups/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Action groups", - "operation":"Action group write", - "description":"Writing an action group" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActionGroups/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Action groups", - "operation":"Action group delete", - "description":"Deleting an action group" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActionGroups/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Action groups", - "operation":"Action group read", - "description":"Reading an action group" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActivityLogAlerts/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Activity log alert", - "operation":"Activity log alert read", - "description":"Reading an activity log alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActivityLogAlerts/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Activity log alert", - "operation":"Activity log alert delete", - "description":"Deleting an activity log alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActivityLogAlerts/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Activity log alert", - "operation":"Activity log alert read", - "description":"Reading an activity log alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ActivityLogAlerts/Activated/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Activity Log Alert", - "operation":"Activity Log Alert Activated", - "description":"Triggered the Activity Log Alert" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/EventCategories/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Event category", - "operation":"Event category read", - "description":"Reading an event category" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/eventtypes/values/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Events", - "operation":"Event types management values read", - "description":"Read management event type values" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/eventtypes/digestevents/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Digest events", - "operation":"Event types management digest read", - "description":"Read management event type digest" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/DiagnosticSettings/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Diagnostic settings", - "operation":"Diagnostic settings write", - "description":"Writing to diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/DiagnosticSettings/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Diagnostic settings", - "operation":"Diagnostic settings delete", - "description":"Deleting diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/DiagnosticSettings/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Diagnostic settings", - "operation":"Diagnostic settings read", - "description":"Reading a diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Extended Diagnostic settings", - "operation":"Extended Diagnostic settings write", - "description":"Writing to extended diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Extended Diagnostic settings", - "operation":"Extended Diagnostic settings delete", - "description":"Deleting extended diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Extended Diagnostic settings", - "operation":"Extended Diagnostic settings read", - "description":"Reading a extended diagnostic settings configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/LogProfiles/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Log Profiles", - "operation":"Log profile write", - "description":"Writing to a log profile configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/LogProfiles/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Log Profiles", - "operation":"Log profile delete", - "description":"Delete log profiles configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/LogProfiles/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Log Profiles", - "operation":"Log profile read", - "description":"Read log profiles" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/LogDefinitions/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Log Definitions", - "operation":"Log Definitions read", - "description":"Read log definitions" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/Scaleup/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Autoscale", - "operation":"Autoscale scale up operation", - "description":"Autoscale scale up operation" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AutoscaleSettings/Scaledown/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Autoscale", - "operation":"Autoscale scale down operation", - "description":"Autoscale scale down operation" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Activated/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule activated", - "description":"Alert Rule activated" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Resolved/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule resolved", - "description":"Alert Rule resolved" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/AlertRules/Throttled/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Alert Rules", - "operation":"Alert Rule throttled", - "description":"Alert rule is throttled" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Register/Action", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Microsoft.Insights", - "operation":"Register Microsoft.Insights", - "description":"Register the microsoft insights provider" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Components/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Application insights components", - "operation":"Application insights component write", - "description":"Writing to an application insights component configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Components/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Application insights components", - "operation":"Application insights component delete", - "description":"Deleting an application insights component configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Components/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Application insights components", - "operation":"Application insights component read", - "description":"Reading an application insights component configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Webtests/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Web tests", - "operation":"Webtest write", - "description":"Writing to a webtest configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Webtests/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Monitoring Insights", - "resource":"Web tests", - "operation":"Webtest delete", - "description":"Deleting a webtest configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Workbooks/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Application Insights", - "resource":"Workbooks", - "operation":"Workbooks read", - "description":"Reading a Workbooks configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Workbooks/Write", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Application Insights", - "resource":"Workbooks", - "operation":"Workbooks write", - "description":"Writing to a Workbooks configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Workbooks/Delete", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Application Insights", - "resource":"Workbooks", - "operation":"Workbooks delete", - "description":"Deleting a Workbooks configuration" - }, - "properties":{ - - } - }, - { - "name":"Microsoft.Insights/Workbooks/Read", - "display":{ - "publisher":"Microsoft", - "provider":"Microsoft Application Insights", - "resource":"Workbooks", - "operation":"Workbooks read", - "description":"Reading a Workbooks configuration" - }, - "properties":{ - + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Insights/Operations/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Operations", + "operation": "Operations read" + } + }, + { + "name": "Microsoft.Insights/MetricDefinitions/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metric Definitions", + "operation": "Metric definitions read" + } + }, + { + "name": "Microsoft.Insights/Metrics/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metrics", + "operation": "Metrics read" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule write" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule delete" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule read" + } + }, + { + "name": "Microsoft.Insights/MetricAlerts/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metric alerts", + "operation": "Metric alert write" + } + }, + { + "name": "Microsoft.Insights/MetricAlerts/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metric alerts", + "operation": "Metric alert delete" + } + }, + { + "name": "Microsoft.Insights/MetricAlerts/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metric alerts", + "operation": "Metric alert read" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Autoscale", + "operation": "Autoscale Setting write" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Autoscale", + "operation": "Autoscale Setting delete" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Autoscale", + "operation": "Autoscale Setting read" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Incidents/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rule Incident resource", + "operation": "Alert Rule Incidents read" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/providers/Microsoft.Insights/MetricDefinitions/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Metric Definitions", + "operation": "Metric definitions read" + } + }, + { + "name": "Microsoft.Insights/ActionGroups/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Action groups", + "operation": "Action group write" + } + }, + { + "name": "Microsoft.Insights/ActionGroups/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Action groups", + "operation": "Action group delete" + } + }, + { + "name": "Microsoft.Insights/ActionGroups/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Action groups", + "operation": "Action group read" + } + }, + { + "name": "Microsoft.Insights/ActivityLogAlerts/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Activity log alert", + "operation": "Activity log alert read" + } + }, + { + "name": "Microsoft.Insights/ActivityLogAlerts/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Activity log alert", + "operation": "Activity log alert delete" + } + }, + { + "name": "Microsoft.Insights/ActivityLogAlerts/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Activity log alert", + "operation": "Activity log alert read" + } + }, + { + "name": "Microsoft.Insights/ActivityLogAlerts/Activated/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Activity Log Alert", + "operation": "Activity Log Alert Activated" + } + }, + { + "name": "Microsoft.Insights/EventCategories/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Event category", + "operation": "Event category read" + } + }, + { + "name": "Microsoft.Insights/eventtypes/values/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Events", + "operation": "Event types management values read" + } + }, + { + "name": "Microsoft.Insights/eventtypes/digestevents/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Digest events", + "operation": "Event types management digest read" + } + }, + { + "name": "Microsoft.Insights/DiagnosticSettings/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Diagnostic settings", + "operation": "Diagnostic settings write" + } + }, + { + "name": "Microsoft.Insights/DiagnosticSettings/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Diagnostic settings", + "operation": "Diagnostic settings delete" + } + }, + { + "name": "Microsoft.Insights/DiagnosticSettings/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Diagnostic settings", + "operation": "Diagnostic settings read" + } + }, + { + "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Extended Diagnostic settings", + "operation": "Extended Diagnostic settings write" + } + }, + { + "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Extended Diagnostic settings", + "operation": "Extended Diagnostic settings delete" + } + }, + { + "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Extended Diagnostic settings", + "operation": "Extended Diagnostic settings read" + } + }, + { + "name": "Microsoft.Insights/LogProfiles/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Log Profiles", + "operation": "Log profile write" + } + }, + { + "name": "Microsoft.Insights/LogProfiles/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Log Profiles", + "operation": "Log profile delete" + } + }, + { + "name": "Microsoft.Insights/LogProfiles/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Log Profiles", + "operation": "Log profile read" + } + }, + { + "name": "Microsoft.Insights/LogDefinitions/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Log Definitions", + "operation": "Log Definitions read" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/Scaleup/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Autoscale", + "operation": "Autoscale scale up operation" + } + }, + { + "name": "Microsoft.Insights/AutoscaleSettings/Scaledown/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Autoscale", + "operation": "Autoscale scale down operation" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Activated/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule activated" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Resolved/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule resolved" + } + }, + { + "name": "Microsoft.Insights/AlertRules/Throttled/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Alert Rules", + "operation": "Alert Rule throttled" + } + }, + { + "name": "Microsoft.Insights/Register/Action", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Microsoft.Insights", + "operation": "Register Microsoft.Insights" + } + }, + { + "name": "Microsoft.Insights/Components/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Application insights components", + "operation": "Application insights component write" + } + }, + { + "name": "Microsoft.Insights/Components/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Application insights components", + "operation": "Application insights component delete" + } + }, + { + "name": "Microsoft.Insights/Components/Read", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Application insights components", + "operation": "Application insights component read" + } + }, + { + "name": "Microsoft.Insights/Webtests/Write", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Web tests", + "operation": "Webtest write" + } + }, + { + "name": "Microsoft.Insights/Webtests/Delete", + "display": { + "provider": "Microsoft Monitoring Insights", + "resource": "Web tests", + "operation": "Webtest delete" + } + }, + { + "name": "Microsoft.Insights/Workbooks/Read", + "display": { + "provider": "Microsoft Application Insights", + "resource": "Workbooks", + "operation": "Workbooks read" + } + }, + { + "name": "Microsoft.Insights/Workbooks/Write", + "display": { + "provider": "Microsoft Application Insights", + "resource": "Workbooks", + "operation": "Workbooks write" + } + }, + { + "name": "Microsoft.Insights/Workbooks/Delete", + "display": { + "provider": "Microsoft Application Insights", + "resource": "Workbooks", + "operation": "Workbooks delete" + } + }, + { + "name": "Microsoft.Insights/Workbooks/Read", + "display": { + "provider": "Microsoft Application Insights", + "resource": "Workbooks", + "operation": "Workbooks read" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json index 819bc4f6885d..4a429d060c9f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json @@ -1,136 +1,144 @@ { - "parameters" : { - "subscriptionId" : "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName" : "TestingMetricsScaleSet", - "autoscaleSettingName" : "MySetting", - "api-version" : "2015-04-01", - "parameters" : { - "location" : "West US", - "tags" : {}, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "TestingMetricsScaleSet", + "autoscaleSettingName": "MySetting", + "api-version": "2015-04-01", + "parameters": { + "location": "West US", + "tags": {}, + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : [ + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ "1" ], - "hours" : [ + "hours": [ 5 ], - "minutes" : [ + "minutes": [ 15 ] } } } ], - "enabled" : true, - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : [ + "enabled": true, + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ "gu@ms.com", "ge@ns.net" ] }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} } ] } @@ -138,142 +146,150 @@ } } }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : [ + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ "1" ], - "hours" : [ + "hours": [ 5 ], - "minutes" : [ + "minutes": [ 15 ] } } } ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : [ + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ "gu@ms.com", "ge@ns.net" ] }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} } ] } @@ -281,141 +297,149 @@ } } }, - "201" : { - "headers" : {}, - "body" : { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : [ + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ "1" ], - "hours" : [ + "hours": [ 5 ], - "minutes" : [ + "minutes": [ 15 ] } } } ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : [ + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ "gu@ms.com", "ge@ns.net" ] }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} } ] } @@ -424,4 +448,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json index 45e684316de4..f7aedfaea3cb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "TestingMetricsScaleSet", - "autoscaleSettingName": "MySetting", - "api-version": "2015-04-01" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "TestingMetricsScaleSet", + "autoscaleSettingName": "MySetting", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json index 7e359dd858c2..940fb7184382 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json @@ -1,160 +1,160 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "TestingMetricsScaleSet", - "autoscaleSettingName": "MySetting", - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name":"MySetting", - "type":"Microsoft.Insights/autoscaleSettings", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "TestingMetricsScaleSet", + "autoscaleSettingName": "MySetting", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + }, + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } }, - "properties": { - "profiles": [ - { - "name":"adios", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "fixedDate": { - "timeZone":"UTC", - "start":"2015-03-05T14:00:00Z", - "end":"2015-03-05T14:30:00Z" - } - }, - { - "name":"saludos", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "recurrence": { - "frequency":"Week", - "schedule": { - "timeZone":"UTC", - "days": [ - "1" - ], - "hours": [ - 5 - ], - "minutes": [ - 15 - ] - } - } - } + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" + } + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ + "1" ], - "enabled":true, - "name":"MySetting", - "targetResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications": [ - { - "operation":"Scale", - "email": { - "sendToSubscriptionAdministrator":true, - "sendToSubscriptionCoAdministrators":true, - "customEmails": [ - "gu@ms.com", - "ge@ns.net" - ] - }, - "webhooks": [ - { - "serviceUri":"http://myservice.com", - "properties":{} - } - ] - } + "hours": [ + 5 + ], + "minutes": [ + 15 ] } + } + } + ], + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ + "gu@ms.com", + "ge@ns.net" + ] + }, + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} + } + ] } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json index 909da7a9fb73..70ba238c9364 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json @@ -1,147 +1,164 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "TestingMetricsScaleSet", - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "TestingMetricsScaleSet", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + }, + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" - } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : ["1"], - "hours" : [5], - "minutes" : [15] - } - } - } + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" + } + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ + "1" + ], + "hours": [ + 5 ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : ["gu@ms.com", "ge@ns.net"] - }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} - } - ] - } + "minutes": [ + 15 ] } } - ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } + ], + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ + "gu@ms.com", + "ge@ns.net" + ] + }, + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} + } + ] + } + ] } - } + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json index 134f3ed6bb91..dddfc3df50e1 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json @@ -1,146 +1,163 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "api-version": "2015-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value" : [ - { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "api-version": "2015-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" + }, + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" - } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : ["1"], - "hours" : [5], - "minutes" : [15] - } - } - } + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" + } + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" + }, + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 + }, + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" + } + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 + }, + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" + } + } + ], + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ + "1" + ], + "hours": [ + 5 ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : ["gu@ms.com", "ge@ns.net"] - }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} - } - ] - } + "minutes": [ + 15 ] } } - ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } + ], + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ + "gu@ms.com", + "ge@ns.net" + ] + }, + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} + } + ] + } + ] } - } + } + ], + "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json index ef609f5e2646..3c80bd7a509f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json @@ -1,137 +1,145 @@ { - "parameters" : { - "subscriptionId" : "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName" : "TestingMetricsScaleSet", - "autoscaleSettingName" : "MySetting", - "api-version" : "2015-04-01", - "autoscaleSettingResource" : { - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "TestingMetricsScaleSet", + "autoscaleSettingName": "MySetting", + "api-version": "2015-04-01", + "autoscaleSettingResource": { + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : [ + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ "1" ], - "hours" : [ + "hours": [ 5 ], - "minutes" : [ + "minutes": [ 15 ] } } } ], - "enabled" : true, - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : [ + "enabled": true, + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ "gu@ms.com", "ge@ns.net" ] }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} } ] } @@ -139,142 +147,150 @@ } } }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", + "name": "MySetting", + "type": "Microsoft.Insights/autoscaleSettings", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + "properties": { + "profiles": [ + { + "name": "adios", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" + "fixedDate": { + "timeZone": "UTC", + "start": "2015-03-05T14:00:00Z", + "end": "2015-03-05T14:30:00Z" } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" + }, + { + "name": "saludos", + "capacity": { + "minimum": "1", + "maximum": "10", + "default": "1" }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 + "rules": [ + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT1M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 10.0 }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" + "scaleAction": { + "direction": "Increase", + "type": "ChangeCount", + "value": "1", + "cooldown": "PT5M" } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 + }, + { + "metricTrigger": { + "metricName": "Percentage CPU", + "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "timeGrain": "PT2M", + "statistic": "Average", + "timeWindow": "PT5M", + "timeAggregation": "Average", + "operator": "GreaterThan", + "threshold": 15.0 }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" + "scaleAction": { + "direction": "Decrease", + "type": "ChangeCount", + "value": "2", + "cooldown": "PT6M" } } ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : [ + "recurrence": { + "frequency": "Week", + "schedule": { + "timeZone": "UTC", + "days": [ "1" ], - "hours" : [ + "hours": [ 5 ], - "minutes" : [ + "minutes": [ 15 ] } } } ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : [ + "enabled": true, + "name": "MySetting", + "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", + "notifications": [ + { + "operation": "Scale", + "email": { + "sendToSubscriptionAdministrator": true, + "sendToSubscriptionCoAdministrators": true, + "customEmails": [ "gu@ms.com", "ge@ns.net" ] }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} + "webhooks": [ + { + "serviceUri": "http://myservice.com", + "properties": {} } ] } @@ -283,4 +299,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json index b45598268c67..9b684a8b01b1 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json @@ -36,35 +36,37 @@ } }, "paths": { - "/providers/microsoft.insights/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available operations from Microsoft.Insights provider.", - "operationId": "Operations_List", - "x-ms-examples": { - "Get a list of operations for a resource provider": { - "$ref": "./examples/OperationList.json" - } - }, - "parameters": [{ + "/providers/microsoft.insights/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available operations from Microsoft.Insights provider.", + "operationId": "Operations_List", + "x-ms-examples": { + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } + }, + "parameters": [ + { "$ref": "#/parameters/ApiVersionParameter" - }], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" } } } } + } }, "definitions": { "OperationListResult": { - "description": "Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json index 3a4bbdb55dc4..bfc830e14ef3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json @@ -77,17 +77,27 @@ }, "x-ms-odata": "#/definitions/EventData", "x-ms-examples": { - "Get Tenant Activity Logs without filter or select": { "$ref": "./examples/GetTenantActivityLogsNoParams.json" }, - "Get Tenant Activity Logs with filter": { "$ref": "./examples/GetTenantActivityLogsFiltered.json" }, - "Get Tenant Activity Logs with select": { "$ref": "./examples/GetTenantActivityLogsSelected.json" }, - "Get Tenant Activity Logs with filter and select": { "$ref": "./examples/GetTenantActivityLogsFilteredAndSelected.json" } + "Get Tenant Activity Logs without filter or select": { + "$ref": "./examples/GetTenantActivityLogsNoParams.json" + }, + "Get Tenant Activity Logs with filter": { + "$ref": "./examples/GetTenantActivityLogsFiltered.json" + }, + "Get Tenant Activity Logs with select": { + "$ref": "./examples/GetTenantActivityLogsSelected.json" + }, + "Get Tenant Activity Logs with filter and select": { + "$ref": "./examples/GetTenantActivityLogsFilteredAndSelected.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -308,7 +318,9 @@ "description": "Provides the link to retrieve the next set of events." } }, - "required": [ "value" ], + "required": [ + "value" + ], "description": "Represents collection of events." }, "ErrorResponse": { @@ -343,4 +355,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json index 28d3af6e0462..47d2cfd11f23 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json @@ -63,31 +63,32 @@ }, "examples": { "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", "metrics": [ { - "timeGrain":"PT1M", - "enabled":true, + "timeGrain": "PT1M", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -129,31 +130,32 @@ }, "examples": { "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", "metrics": [ { - "timeGrain":"PT1M", - "enabled":true, + "timeGrain": "PT1M", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -187,8 +189,8 @@ "type": "string", "description": "Resource location", "x-ms-mutability": [ - "create", - "read" + "create", + "read" ] }, "tags": { @@ -216,7 +218,10 @@ "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." } }, - "required": [ "enabled", "days" ], + "required": [ + "enabled", + "days" + ], "description": "Specifies the retention policy for the log." }, "MetricSettings": { @@ -235,7 +240,10 @@ "description": "the retention policy for this timegrain." } }, - "required": [ "enabled", "timeGrain" ], + "required": [ + "enabled", + "timeGrain" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." }, "LogSettings": { @@ -253,7 +261,9 @@ "description": "the retention policy for this log." } }, - "required": [ "enabled" ], + "required": [ + "enabled" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." }, "ServiceDiagnosticSettings": { @@ -334,4 +344,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json index 6ef19b51b0a8..732e28a28d68 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json @@ -79,7 +79,9 @@ } }, "x-ms-examples": { - "Get a single alert rule incident": { "$ref": "./examples/getAlertRuleIncident.json" } + "Get a single alert rule incident": { + "$ref": "./examples/getAlertRuleIncident.json" + } } } }, @@ -113,7 +115,9 @@ } }, "x-ms-examples": { - "List alert rule incidents": { "$ref": "./examples/listAlertRuleIncidents.json" } + "List alert rule incidents": { + "$ref": "./examples/listAlertRuleIncidents.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -213,4 +217,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json index c7d1732feece..f9d1e42c1f5e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json @@ -87,7 +87,9 @@ } }, "x-ms-examples": { - "Create or update an alert rule": { "$ref": "./examples/createOrUpdateAlertRule.json" } + "Create or update an alert rule": { + "$ref": "./examples/createOrUpdateAlertRule.json" + } } }, "delete": { @@ -119,7 +121,9 @@ } }, "x-ms-examples": { - "Delete an alert rule": { "$ref": "./examples/deleteAlertRule.json" } + "Delete an alert rule": { + "$ref": "./examples/deleteAlertRule.json" + } } }, "get": { @@ -151,58 +155,62 @@ } }, "x-ms-examples": { - "Get an alert rule": { "$ref": "./examples/getAlertRule.json" } + "Get an alert rule": { + "$ref": "./examples/getAlertRule.json" + } } }, "patch": { - "description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.", - "operationId": "AlertRules_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "alertRulesResource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AlertRuleResourcePatch" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to update an alert rule", - "schema": { - "$ref": "#/definitions/AlertRuleResource" - } - }, - "201": { - "description": "Successful request to update an alert rule that resulted in a creation of the alert rule", - "schema": { - "$ref": "#/definitions/AlertRuleResource" - } - } + "description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.", + "operationId": "AlertRules_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "alertRulesResource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AlertRuleResourcePatch" + }, + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } }, - "x-ms-examples": { - "Patch an alert rule": { "$ref": "./examples/patchAlertRule.json" } + "200": { + "description": "Successful request to update an alert rule", + "schema": { + "$ref": "#/definitions/AlertRuleResource" + } + }, + "201": { + "description": "Successful request to update an alert rule that resulted in a creation of the alert rule", + "schema": { + "$ref": "#/definitions/AlertRuleResource" + } + } + }, + "x-ms-examples": { + "Patch an alert rule": { + "$ref": "./examples/patchAlertRule.json" } + } } }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules": { @@ -235,7 +243,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List alert rules": { "$ref": "./examples/listAlertRule.json" } + "List alert rules": { + "$ref": "./examples/listAlertRule.json" + } } } }, @@ -266,7 +276,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List alert rules": { "$ref": "./examples/listAlertRuleBySubscription.json" } + "List alert rules": { + "$ref": "./examples/listAlertRuleBySubscription.json" + } } } } @@ -285,7 +297,9 @@ "description": "the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource." } }, - "required": [ "odata.type" ], + "required": [ + "odata.type" + ], "description": "The condition that results in the alert rule being activated." }, "RuleDataSource": { @@ -301,7 +315,9 @@ "description": "the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule." } }, - "required": [ "odata.type" ], + "required": [ + "odata.type" + ], "description": "The resource from which the rule collects its data." }, "RuleMetricDataSource": { @@ -334,7 +350,7 @@ "type": "object", "allOf": [ { - "$ref" : "#/definitions/RuleDataSource" + "$ref": "#/definitions/RuleDataSource" } ], "properties": { @@ -392,14 +408,14 @@ "description": "Operators allowed in the rule condition." }, "TimeAggregationOperator": { - "type": "string", - "enum": [ - "Average", - "Minimum", - "Maximum", - "Total", - "Last" - ], + "type": "string", + "enum": [ + "Average", + "Minimum", + "Maximum", + "Total", + "Last" + ], "x-ms-enum": { "name": "TimeAggregationOperator", "modelAsString": false @@ -411,10 +427,13 @@ "type": "object", "allOf": [ { - "$ref" : "#/definitions/RuleCondition" + "$ref": "#/definitions/RuleCondition" } ], - "required": [ "threshold", "operator" ], + "required": [ + "threshold", + "operator" + ], "properties": { "operator": { "$ref": "#/definitions/ConditionOperator", @@ -443,7 +462,7 @@ "type": "object", "allOf": [ { - "$ref" : "#/definitions/RuleCondition" + "$ref": "#/definitions/RuleCondition" } ], "properties": { @@ -459,20 +478,22 @@ "description": "the number of locations that must fail to activate the alert." } }, - "required": [ "failedLocationCount" ], + "required": [ + "failedLocationCount" + ], "description": "A rule condition based on a certain number of locations failing.", "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition\",\r\n\t\"dataSource\": {\r\n\t\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",\r\n\t\t\"resourceUri\": \"/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourcegroups/Default-Web-CentralUS/providers/microsoft.insights/webtests/homepagetest-newrelapp2\",r\n\t\t\"metricName\": \"GSMT_AvRaW\"\r\n\t},\r\n\t\"windowSize\": \"PT5M\",\r\n\t\"failedLocationCount\": 1\r\n}" }, "ManagementEventAggregationCondition": { "properties": { "operator": { - "$ref": "#/definitions/ConditionOperator", - "description": "the condition operator." + "$ref": "#/definitions/ConditionOperator", + "description": "the condition operator." }, "threshold": { - "type": "number", - "format": "double", - "description": "The threshold value that activates the alert." + "type": "number", + "format": "double", + "description": "The threshold value that activates the alert." }, "windowSize": { "type": "string", @@ -487,7 +508,7 @@ "type": "object", "allOf": [ { - "$ref" : "#/definitions/RuleCondition" + "$ref": "#/definitions/RuleCondition" } ], "properties": { @@ -508,7 +529,9 @@ "description": "specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction." } }, - "required": [ "odata.type" ], + "required": [ + "odata.type" + ], "description": "The action that is performed when the alert rule becomes active, and when an alert condition is resolved." }, "RuleEmailAction": { @@ -521,15 +544,15 @@ ], "properties": { "sendToServiceOwners": { - "type": "boolean", - "description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated." + "type": "boolean", + "description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated." }, "customEmails": { - "type": "array", - "items": { - "type" : "string" - }, - "description": "the list of administrator's custom email addresses to notify of the activation of the alert." + "type": "array", + "items": { + "type": "string" + }, + "description": "the list of administrator's custom email addresses to notify of the activation of the alert." } }, "description": "Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.", @@ -544,17 +567,17 @@ } ], "properties": { - "serviceUri": { - "type": "string", - "description": "the service uri to Post the notification when the alert activates or resolves." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." - } + "serviceUri": { + "type": "string", + "description": "the service uri to Post the notification when the alert activates or resolves." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." + } }, "description": "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.", "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction\",\r\n\t\"serviceUri\": \"http://contoso.com/\",\r\n\t\"properties\": { }\r\n}" @@ -619,8 +642,8 @@ "type": "string", "description": "Resource location", "x-ms-mutability": [ - "create", - "read" + "create", + "read" ] }, "tags": { @@ -639,9 +662,9 @@ "AlertRuleResource": { "type": "object", "allOf": [ - { - "$ref": "#/definitions/Resource" - } + { + "$ref": "#/definitions/Resource" + } ], "required": [ "properties" @@ -659,10 +682,10 @@ "description": "The alert rule object for patch operations.", "properties": { "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, "properties": { "x-ms-client-flatten": true, diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json index fda5f7bc6329..68fd82a7aa48 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json @@ -1,76 +1,75 @@ { - "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "api-version": "2016-03-01", - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" - }, - "responses": { - "200": { - "body": { - "value": - [ - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities":[ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" - }, - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsCompleted", - "localizedValue":"Runs Completed" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities": [ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted" - }, - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsSucceeded", - "localizedValue":"Runs Succeeded" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities": [ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" - } - ] - } - } + "parameters": { + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-03-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "name": { + "value": "RunsStarted", + "localizedValue": "Runs Started" + }, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" + }, + { + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "name": { + "value": "RunsCompleted", + "localizedValue": "Runs Completed" + }, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted" + }, + { + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "name": { + "value": "RunsSucceeded", + "localizedValue": "Runs Succeeded" + }, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json index ccbe7670ed6f..3362cc71a05a 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json @@ -1,57 +1,56 @@ { - "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "api-version": "2016-03-01", - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", - "$filter": "name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded'" - }, - "responses": { - "200": { - "body": { - "value": - [ - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities":[ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" - }, - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsSucceeded", - "localizedValue":"Runs Succeeded" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities": [ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" - } - ] - } - } + "parameters": { + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-03-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", + "$filter": "name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "name": { + "value": "RunsStarted", + "localizedValue": "Runs Started" + }, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" + }, + { + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "name": { + "value": "RunsSucceeded", + "localizedValue": "Runs Succeeded" + }, + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P30D" + }, + { + "timeGrain": "PT1H", + "retention": "P30D" + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json index 7c6eec0e5d36..50712ab18981 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json @@ -1,95 +1,97 @@ { + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "chiricutin", + "api-version": "2016-03-01", "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "ruleName": "chiricutin", - "api-version": "2016-03-01", - "parameters": { - "location": "West US", - "tags": { }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } + "location": "West US", + "tags": {}, + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", + "name": "chiricutin", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] } + } }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", + "name": "chiricutin", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" }, - "201": { - "headers": { }, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json index 437c9a43999e..a10cf81d6573 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json @@ -1,49 +1,55 @@ { + "parameters": { + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", + "logProfileName": "Rac46PostSwapRG", + "api-version": "2016-03-01", "parameters": { - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", - "logProfileName": "Rac46PostSwapRG", - "api-version": "2016-03-01", - "parameters": { - "location": "", - "tags": { }, - "properties": { - "locations": [ "global" ], - "categories": [ "Write", "Delete", "Action" ], - "retentionPolicy": { - "enabled": true, - "days": 3 - }, - "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId": "" - } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations":[ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - } + "location": "", + "tags": {}, + "properties": { + "locations": [ + "global" + ], + "categories": [ + "Write", + "Delete", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + }, + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", + "type": "", + "name": "default", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "", + "locations": [ + "global" + ], + "categories": [ + "Delete", + "Write", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json index 959c9be02353..e32256513b8f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "ruleName": "chiricutin", - "api-version": "2016-03-01" + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "chiricutin", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json index 1d8b3c9c57c4..15c210f6aafb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "logProfileName": "Rac46PostSwapRG", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": null - } + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "logProfileName": "Rac46PostSwapRG", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json index 16f5a1e5e0c8..f8b0c0165a9d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json @@ -1,41 +1,42 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "ruleName": "chiricutin", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "chiricutin", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", + "name": "chiricutin", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json index 5893da737f48..c09724c5d089 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "myRuleName", + "incidentName": "Website_started", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "Website_started", "ruleName": "myRuleName", - "incidentName": "Website_started", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "name": "Website_started", - "ruleName": "myRuleName", - "isActive": true, - "activatedTime": "2017-09-13T15:45:26.9792776Z", - "resolvedTime": "2017-09-13T22:14:28.9792776Z" - } - } + "isActive": true, + "activatedTime": "2017-09-13T15:45:26.9792776Z", + "resolvedTime": "2017-09-13T22:14:28.9792776Z" + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json index 8449a7b74678..739e5dea636f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", - "logProfileName": "default", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations": [ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - } + "parameters": { + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", + "logProfileName": "default", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", + "type": "", + "name": "default", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "", + "locations": [ + "global" + ], + "categories": [ + "Delete", + "Write", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json index fd6521f57989..fb531977b2a5 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json @@ -1,81 +1,83 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName", - "name":"myRuleName", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"myRuleName", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.0005255Z", - "actions": [ - { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleEmailAction", - "sendToServiceOwners":true, - "customEmails": [ - "gu@ms.com", - "su@ms.net" - ] - } - ] - } - }, - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", - "name":"chiricutin0", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin0", - "description":"Pura Vida 0", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z", - "actions":[] - } - } - ] + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName", + "name": "myRuleName", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "myRuleName", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 2.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-10T21:04:39.0005255Z", + "actions": [ + { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction", + "sendToServiceOwners": true, + "customEmails": [ + "gu@ms.com", + "su@ms.net" + ] + } + ] } - } + }, + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", + "name": "chiricutin0", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "chiricutin0", + "description": "Pura Vida 0", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 2.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-10T21:04:39.1082596Z", + "actions": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json index bd048421d8cc..78b6e018656a 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json @@ -1,80 +1,82 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName", - "name":"myRuleName", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"myRuleName", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.0005255Z", - "actions": [ - { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleEmailAction", - "sendToServiceOwners":true, - "customEmails": [ - "gu@ms.com", - "su@ms.net" - ] - } - ] - } - }, - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", - "name":"chiricutin0", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin0", - "description":"Pura Vida 0", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z", - "actions":[] - } - } - ] + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName", + "name": "myRuleName", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "myRuleName", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 2.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-10T21:04:39.0005255Z", + "actions": [ + { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction", + "sendToServiceOwners": true, + "customEmails": [ + "gu@ms.com", + "su@ms.net" + ] + } + ] } - } + }, + { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", + "name": "chiricutin0", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage", + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "name": "chiricutin0", + "description": "Pura Vida 0", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 2.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-10T21:04:39.1082596Z", + "actions": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json index ccd54a57d356..bdf0f5aaee03 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "ruleName": "myRuleName", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "Website_started", - "ruleName": "myRuleName", - "isActive": true, - "activatedTime": "2017-09-13T15:45:26.9792776Z", - "resolvedTime": "2017-09-13T22:14:28.9792776Z" - } - ] - } - } + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "myRuleName", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Website_started", + "ruleName": "myRuleName", + "isActive": true, + "activatedTime": "2017-09-13T15:45:26.9792776Z", + "resolvedTime": "2017-09-13T22:14:28.9792776Z" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json index e4c59ca65269..3b6886398973 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json @@ -1,61 +1,61 @@ { - "parameters": { - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", - "api-version": "2016-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations": [ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - }, - { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default2", - "type":"", - "name":"default2", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8165", - "serviceBusRuleId":"", - "locations": [ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":15 - } - } - } - ] + "parameters": { + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", + "api-version": "2016-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", + "type": "", + "name": "default", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "", + "locations": [ + "global" + ], + "categories": [ + "Delete", + "Write", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + } } - } + }, + { + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default2", + "type": "", + "name": "default2", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8165", + "serviceBusRuleId": "", + "locations": [ + "global" + ], + "categories": [ + "Delete", + "Write", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 15 + } + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json index 91122db11b8f..df5d714900ba 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json @@ -1,96 +1,96 @@ { - "parameters": { - "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", - "resourceGroupName": "Rac46PostSwapRG", - "ruleName": "chiricutin", - "api-version": "2016-03-01", - "alertRulesResource": { - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } + "parameters": { + "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3", + "resourceGroupName": "Rac46PostSwapRG", + "ruleName": "chiricutin", + "api-version": "2016-03-01", + "alertRulesResource": { + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" + }, + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", + "name": "chiricutin", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" + }, + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] } + } }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", + "name": "chiricutin", + "type": "Microsoft.Insights/alertRules", + "location": "West US", + "tags": { + "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" }, - "201": { - "headers": { }, - "body": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "operator":"GreaterThan", - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } + "properties": { + "name": "chiricutin", + "description": "Pura Vida", + "isEnabled": true, + "condition": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", + "dataSource": { + "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", + "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", + "metricName": "Requests" + }, + "operator": "GreaterThan", + "threshold": 3.0, + "windowSize": "PT5M", + "timeAggregation": "Total" + }, + "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z", + "actions": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json index 4e4a0a199d8c..6fc9bbb17e11 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json @@ -1,52 +1,58 @@ { - "parameters": { - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", - "logProfileName": "Rac46PostSwapRG", - "api-version": "2016-03-01", - "logProfilesResource": { - "tags": { - "key1": "value1" - }, - "properties": { - "locations": [ "global" ], - "categories": [ "Write", "Delete", "Action" ], - "retentionPolicy": { - "enabled": true, - "days": 3 - }, - "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId": "" - } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags": { - "key1": "value1" - }, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations":[ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - } + "parameters": { + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", + "logProfileName": "Rac46PostSwapRG", + "api-version": "2016-03-01", + "logProfilesResource": { + "tags": { + "key1": "value1" + }, + "properties": { + "locations": [ + "global" + ], + "categories": [ + "Write", + "Delete", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + }, + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", + "type": "", + "name": "default", + "location": "", + "tags": { + "key1": "value1" + }, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", + "serviceBusRuleId": "", + "locations": [ + "global" + ], + "categories": [ + "Delete", + "Write", + "Action" + ], + "retentionPolicy": { + "enabled": true, + "days": 3 + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json index b7a79b53ef2c..73c5d169e3d8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json @@ -60,7 +60,9 @@ } }, "x-ms-examples": { - "Delete log profile": { "$ref": "./examples/deleteLogProfile.json" } + "Delete log profile": { + "$ref": "./examples/deleteLogProfile.json" + } } }, "get": { @@ -95,7 +97,9 @@ } }, "x-ms-examples": { - "Get log profile": { "$ref": "./examples/getLogProfile.json" } + "Get log profile": { + "$ref": "./examples/getLogProfile.json" + } } }, "put": { @@ -133,49 +137,53 @@ } }, "x-ms-examples": { - "Create or update a log profile": { "$ref": "./examples/createOrUpdateLogProfile.json" } + "Create or update a log profile": { + "$ref": "./examples/createOrUpdateLogProfile.json" + } } }, "patch": { - "description": "Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.", - "operationId": "LogProfiles_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LogProfileNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "logProfilesResource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LogProfileResourcePatch" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing log profile was successfully updated.", - "schema": { - "$ref": "#/definitions/LogProfileResource" - } - } + "description": "Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.", + "operationId": "LogProfiles_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LogProfileNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "logProfilesResource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LogProfileResourcePatch" + }, + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } }, - "x-ms-examples": { - "Patch a log profile": { "$ref": "./examples/patchLogProfile.json" } + "200": { + "description": "An existing log profile was successfully updated.", + "schema": { + "$ref": "#/definitions/LogProfileResource" + } } + }, + "x-ms-examples": { + "Patch a log profile": { + "$ref": "./examples/patchLogProfile.json" + } + } } }, "/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles": { @@ -205,7 +213,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List log profiles": { "$ref": "./examples/listLogProfile.json" } + "List log profiles": { + "$ref": "./examples/listLogProfile.json" + } } } } @@ -232,8 +242,8 @@ "type": "string", "description": "Resource location", "x-ms-mutability": [ - "create", - "read" + "create", + "read" ] }, "tags": { @@ -262,11 +272,18 @@ "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." } }, - "required": [ "enabled", "days" ], + "required": [ + "enabled", + "days" + ], "description": "Specifies the retention policy for the log." }, "LogProfileProperties": { - "required": [ "locations", "categories", "retentionPolicy" ], + "required": [ + "locations", + "categories", + "retentionPolicy" + ], "properties": { "storageAccountId": { "type": "string", @@ -305,23 +322,25 @@ } ], "properties": { - "properties": { + "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/LogProfileProperties", "description": "The log profile properties of the resource." } }, - "required": ["properties"], + "required": [ + "properties" + ], "description": "The log profile resource." }, "LogProfileResourcePatch": { "description": "The log profile resource for patch operations.", "properties": { "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, "properties": { "x-ms-client-flatten": true, @@ -340,7 +359,9 @@ "description": "the values of the log profiles." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents a collection of log profiles." }, "ErrorResponse": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json index 035cc95f53e4..fcfaf112add0 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json @@ -69,66 +69,66 @@ }, "examples": { "application/json": { - "value":[ + "value": [ { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" + "value": "RunsStarted", + "localizedValue": "Runs Started" }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities":[ + "unit": "Count", + "primaryAggregationType": "Total", + "metricAvailabilities": [ { - "timeGrain":"PT1M", - "retention":"P30D" + "timeGrain": "PT1M", + "retention": "P30D" }, { - "timeGrain":"PT1H", - "retention":"P30D" + "timeGrain": "PT1H", + "retention": "P30D" } ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" }, { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "name": { - "value":"RunsCompleted", - "localizedValue":"Runs Completed" + "value": "RunsCompleted", + "localizedValue": "Runs Completed" }, - "unit":"Count", - "primaryAggregationType":"Total", + "unit": "Count", + "primaryAggregationType": "Total", "metricAvailabilities": [ { - "timeGrain":"PT1M", - "retention":"P30D" + "timeGrain": "PT1M", + "retention": "P30D" }, { - "timeGrain":"PT1H", - "retention":"P30D" + "timeGrain": "PT1H", + "retention": "P30D" } ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted" + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted" }, { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "name": { - "value":"RunsSucceeded", - "localizedValue":"Runs Succeeded" + "value": "RunsSucceeded", + "localizedValue": "Runs Succeeded" }, - "unit":"Count", - "primaryAggregationType":"Total", + "unit": "Count", + "primaryAggregationType": "Total", "metricAvailabilities": [ { - "timeGrain":"PT1M", - "retention":"P30D" + "timeGrain": "PT1M", + "retention": "P30D" }, { - "timeGrain":"PT1H", - "retention":"P30D" + "timeGrain": "PT1H", + "retention": "P30D" } ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" } ] } @@ -140,15 +140,21 @@ }, "x-ms-odata": "#/definitions/MetricDefinition", "x-ms-examples": { - "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" }, - "Get Metric Definitions with filter": { "$ref": "./examples/GetMetricDefinitionsFiltered.json" } + "Get Metric Definitions without filter": { + "$ref": "./examples/GetMetricDefinitions.json" + }, + "Get Metric Definitions with filter": { + "$ref": "./examples/GetMetricDefinitionsFiltered.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -247,7 +253,9 @@ "description": "the values for the metric definitions." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents collection of metric definitions." }, "ErrorResponse": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json index a1377c14f37b..fdc5de9cf6d7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json @@ -1,62 +1,62 @@ { - "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "api-version": "2016-09-01", - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "data": [ - { - "timeStamp":"2016-11-23T19:14:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:15:00Z" - }, - { - "timeStamp":"2016-11-23T19:16:00Z" - }, - { - "timeStamp":"2016-11-23T19:17:00Z" - }, - { - "timeStamp":"2016-11-23T19:18:00Z" - }, - { - "timeStamp":"2016-11-23T19:19:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:20:00Z" - }, - { - "timeStamp":"2016-11-23T19:21:00Z" - }, - { - "timeStamp":"2016-11-23T19:22:00Z" - }, - { - "timeStamp":"2016-11-23T19:23:00Z" - }, - { - "timeStamp":"2016-11-23T19:24:00Z", - "total":1.0 - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "type":"Microsoft.Insights/metrics", - "unit":"Count" - } - ] - } - } + "parameters": { + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-09-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "data": [ + { + "timeStamp": "2016-11-23T19:14:00Z", + "total": 1.0 + }, + { + "timeStamp": "2016-11-23T19:15:00Z" + }, + { + "timeStamp": "2016-11-23T19:16:00Z" + }, + { + "timeStamp": "2016-11-23T19:17:00Z" + }, + { + "timeStamp": "2016-11-23T19:18:00Z" + }, + { + "timeStamp": "2016-11-23T19:19:00Z", + "total": 1.0 + }, + { + "timeStamp": "2016-11-23T19:20:00Z" + }, + { + "timeStamp": "2016-11-23T19:21:00Z" + }, + { + "timeStamp": "2016-11-23T19:22:00Z" + }, + { + "timeStamp": "2016-11-23T19:23:00Z" + }, + { + "timeStamp": "2016-11-23T19:24:00Z", + "total": 1.0 + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", + "name": { + "value": "RunsStarted", + "localizedValue": "Runs Started" + }, + "type": "Microsoft.Insights/metrics", + "unit": "Count" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json index bece918b2b16..df50abd401b4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json @@ -1,63 +1,63 @@ { - "parameters": { - "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'", - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "api-version": "2016-09-01", - "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "data": [ - { - "timeStamp":"2016-11-23T19:14:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:15:00Z" - }, - { - "timeStamp":"2016-11-23T19:16:00Z" - }, - { - "timeStamp":"2016-11-23T19:17:00Z" - }, - { - "timeStamp":"2016-11-23T19:18:00Z" - }, - { - "timeStamp":"2016-11-23T19:19:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:20:00Z" - }, - { - "timeStamp":"2016-11-23T19:21:00Z" - }, - { - "timeStamp":"2016-11-23T19:22:00Z" - }, - { - "timeStamp":"2016-11-23T19:23:00Z" - }, - { - "timeStamp":"2016-11-23T19:24:00Z", - "total":1.0 - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "type":"Microsoft.Insights/metrics", - "unit":"Count" - } - ] - } - } + "parameters": { + "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'", + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-09-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "data": [ + { + "timeStamp": "2016-11-23T19:14:00Z", + "total": 1.0 + }, + { + "timeStamp": "2016-11-23T19:15:00Z" + }, + { + "timeStamp": "2016-11-23T19:16:00Z" + }, + { + "timeStamp": "2016-11-23T19:17:00Z" + }, + { + "timeStamp": "2016-11-23T19:18:00Z" + }, + { + "timeStamp": "2016-11-23T19:19:00Z", + "total": 1.0 + }, + { + "timeStamp": "2016-11-23T19:20:00Z" + }, + { + "timeStamp": "2016-11-23T19:21:00Z" + }, + { + "timeStamp": "2016-11-23T19:22:00Z" + }, + { + "timeStamp": "2016-11-23T19:23:00Z" + }, + { + "timeStamp": "2016-11-23T19:24:00Z", + "total": 1.0 + } + ], + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", + "name": { + "value": "RunsStarted", + "localizedValue": "Runs Started" + }, + "type": "Microsoft.Insights/metrics", + "unit": "Count" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json index 2257369319d9..b384e6adb9de 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json @@ -1,73 +1,73 @@ { + "parameters": { + "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2016-09-01", "parameters": { - "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version": "2016-09-01", - "parameters": { - "location": "", - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ] + "location": "", + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "timeGrain": "PT1M", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ] - } + } + ], + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 + } + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "timeGrain": "PT1M", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } + } + ], + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 + } + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json index 323f6938d9bd..a05370758b19 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json @@ -1,37 +1,39 @@ { - "parameters" : { - "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version" : "2016-09-01" + "parameters": { + "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2016-09-01" }, - "responses" : { - "200" : { - "headers" : {}, - "body" : { - "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type" : "", - "name" : "service", - "location" : "", - "tags" : null, - "properties" : { - "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId" : "", - "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics" : [{ - "timeGrain" : "PT1M", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "timeGrain": "PT1M", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } } ], - "logs" : [{ - "category" : "WorkflowRuntime", - "enabled" : true, - "retentionPolicy" : { - "enabled" : false, - "days" : 0 + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 0 } } ] @@ -39,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json index da047720e4ff..7d0bb0639f60 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json @@ -1,73 +1,73 @@ { + "parameters": { + "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2016-09-01", "parameters": { - "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", - "api-version": "2016-09-01", - "parameters": { - "tags": null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":3 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":5 - } - } - ] + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "timeGrain": "PT1M", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 3 } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":3 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":5 - } - } - ] - } + } + ], + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 5 + } + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, + "properties": { + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics": [ + { + "timeGrain": "PT1M", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 3 } + } + ], + "logs": [ + { + "category": "WorkflowRuntime", + "enabled": true, + "retentionPolicy": { + "enabled": false, + "days": 5 + } + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json index 061139f29e94..4191c1dd8b46 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json @@ -73,49 +73,49 @@ { "data": [ { - "timeStamp":"2016-11-23T19:14:00Z", - "total":1.0 + "timeStamp": "2016-11-23T19:14:00Z", + "total": 1.0 }, { - "timeStamp":"2016-11-23T19:15:00Z" + "timeStamp": "2016-11-23T19:15:00Z" }, { - "timeStamp":"2016-11-23T19:16:00Z" + "timeStamp": "2016-11-23T19:16:00Z" }, { - "timeStamp":"2016-11-23T19:17:00Z" + "timeStamp": "2016-11-23T19:17:00Z" }, { - "timeStamp":"2016-11-23T19:18:00Z" + "timeStamp": "2016-11-23T19:18:00Z" }, { - "timeStamp":"2016-11-23T19:19:00Z", - "total":1.0 + "timeStamp": "2016-11-23T19:19:00Z", + "total": 1.0 }, { - "timeStamp":"2016-11-23T19:20:00Z" + "timeStamp": "2016-11-23T19:20:00Z" }, { - "timeStamp":"2016-11-23T19:21:00Z" + "timeStamp": "2016-11-23T19:21:00Z" }, { - "timeStamp":"2016-11-23T19:22:00Z" + "timeStamp": "2016-11-23T19:22:00Z" }, { - "timeStamp":"2016-11-23T19:23:00Z" + "timeStamp": "2016-11-23T19:23:00Z" }, { - "timeStamp":"2016-11-23T19:24:00Z", - "total":1.0 + "timeStamp": "2016-11-23T19:24:00Z", + "total": 1.0 } ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", + "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" + "value": "RunsStarted", + "localizedValue": "Runs Started" }, - "type":"Microsoft.Insights/metrics", - "unit":"Count" + "type": "Microsoft.Insights/metrics", + "unit": "Count" } ] } @@ -127,15 +127,21 @@ }, "x-ms-odata": "#/definitions/Metric", "x-ms-examples": { - "Get Metric without filter": { "$ref": "./examples/GetMetric.json" }, - "Get Metric with filter": { "$ref": "./examples/GetMetricFiltered.json" } + "Get Metric without filter": { + "$ref": "./examples/GetMetric.json" + }, + "Get Metric with filter": { + "$ref": "./examples/GetMetricFiltered.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -166,7 +172,9 @@ } }, "MetricValue": { - "required": [ "timeStamp" ], + "required": [ + "timeStamp" + ], "properties": { "timeStamp": { "type": "string", @@ -202,7 +210,11 @@ "description": "Represents a metric value." }, "Metric": { - "required": [ "name", "unit", "data" ], + "required": [ + "name", + "unit", + "data" + ], "properties": { "id": { "type": "string", @@ -240,7 +252,9 @@ "description": "the value of the collection." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "The collection of metric value sets." }, "ErrorResponse": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json index 4918d221fd0f..bc1396b369c2 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json @@ -62,32 +62,32 @@ }, "examples": { "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", "metrics": [ { - "timeGrain":"PT1M", - "enabled":true, + "timeGrain": "PT1M", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -97,7 +97,9 @@ } }, "x-ms-examples": { - "Get service diagnostic setting": { "$ref": "./examples/getServiceDiagnosticSetting.json" } + "Get service diagnostic setting": { + "$ref": "./examples/getServiceDiagnosticSetting.json" + } } }, "put": { @@ -131,33 +133,33 @@ }, "examples": { "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, + "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type": "", + "name": "service", + "location": "", + "tags": null, "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", - "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/authorizationrules/myrule", + "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId": "", + "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/authorizationrules/myrule", "metrics": [ { - "timeGrain":"PT1M", - "enabled":true, + "timeGrain": "PT1M", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ], "logs": [ { - "category":"WorkflowRuntime", - "enabled":true, + "category": "WorkflowRuntime", + "enabled": true, "retentionPolicy": { - "enabled":false, - "days":0 + "enabled": false, + "days": 0 } } ] @@ -167,45 +169,49 @@ } }, "x-ms-examples": { - "Create or update a service diagnostic setting": { "$ref": "./examples/createOrUpdateServiceDiagnosticSetting.json" } + "Create or update a service diagnostic setting": { + "$ref": "./examples/createOrUpdateServiceDiagnosticSetting.json" + } } }, "patch": { "description": "Updates an existing ServiceDiagnosticSettingsResource. To update other fields use the CreateOrUpdate method. **WARNING**: This method will be deprecated in future releases.", "operationId": "ServiceDiagnosticSettings_Update", "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "serviceDiagnosticSettingsResource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceDiagnosticSettingsResourcePatch" }, - { - "name": "serviceDiagnosticSettingsResource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceDiagnosticSettingsResourcePatch" - }, - "description": "Parameters supplied to the operation." - } + "description": "Parameters supplied to the operation." + } ], "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing service diagnostics setting resource was successfully updated.", - "schema": { - "$ref": "#/definitions/ServiceDiagnosticSettingsResource" - } + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "An existing service diagnostics setting resource was successfully updated.", + "schema": { + "$ref": "#/definitions/ServiceDiagnosticSettingsResource" } + } }, "x-ms-examples": { - "Update a service diagnostic setting": { "$ref": "./examples/updateServiceDiagnosticSetting.json" } + "Update a service diagnostic setting": { + "$ref": "./examples/updateServiceDiagnosticSetting.json" + } } } } @@ -232,8 +238,8 @@ "type": "string", "description": "Resource location", "x-ms-mutability": [ - "create", - "read" + "create", + "read" ] }, "tags": { @@ -262,7 +268,10 @@ "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." } }, - "required": [ "enabled", "days" ], + "required": [ + "enabled", + "days" + ], "description": "Specifies the retention policy for the log." }, "MetricSettings": { @@ -281,7 +290,10 @@ "description": "the retention policy for this timegrain." } }, - "required": [ "enabled", "timeGrain" ], + "required": [ + "enabled", + "timeGrain" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." }, "LogSettings": { @@ -299,7 +311,9 @@ "description": "the retention policy for this log." } }, - "required": [ "enabled" ], + "required": [ + "enabled" + ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." }, "ServiceDiagnosticSettings": { @@ -357,10 +371,10 @@ "description": "Service diagnostic setting resource for patch operations", "properties": { "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" }, "properties": { "x-ms-client-flatten": true, diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json index b3d90206d892..c2f3163a2c36 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json @@ -1,716 +1,716 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Action Groups API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2017-04-01" + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2017-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { - "put": { - "description": "Create a new action group or update an existing one.", - "operationId": "ActionGroups_CreateOrUpdate", - "x-ms-examples": { - "Create or update an action group": { - "$ref": "./examples/createOrUpdateActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "actionGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The action group to create or use for the update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "201": { - "description": "A new action group was successfully created.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an action group.", - "operationId": "ActionGroups_Get", - "x-ms-examples": { - "Get an action group": { - "$ref": "./examples/getActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an action group.", - "operationId": "ActionGroups_Delete", - "x-ms-examples": { - "Delete an action group": { - "$ref": "./examples/deleteActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The action group was successfully deleted." - }, - "204": { - "description": "The action group does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the action group could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" }, - "patch": { - "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActionGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "actionGroupPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - } - }, - "x-ms-examples": { - "Patch an action group": { - "$ref": "./examples/patchActionGroup.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a subscription.", - "operationId": "ActionGroups_ListBySubscriptionId", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a resource group.", - "operationId": "ActionGroups_ListByResourceGroup", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { - "post": { - "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.", - "operationId": "ActionGroups_EnableReceiver", - "x-ms-examples": { - "Enable the receiver": { - "$ref": "./examples/enableReceiver.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "enableRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EnableRequest" - }, - "description": "The receiver to re-enable." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The receiver was successfully enabled." - }, - "409": { - "description": "The receiver is already enabled in the action group." - }, - "default": { - "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" + } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ActionGroupResource": { - "description": "An action group resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroup", - "description": "The action groups properties of the resource." - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "ActionGroupList": { - "description": "A list of action groups.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The list of action groups." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } }, - "ActionGroup": { - "description": "An Azure action group.", - "properties": { - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "emailReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - }, - "description": "The list of email receivers that are part of this action group." - }, - "smsReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - }, - "description": "The list of SMS receivers that are part of this action group." - }, - "webhookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - }, - "description": "The list of webhook receivers that are part of this action group." - }, - "itsmReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - }, - "description": "The list of ITSM receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - }, - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "automationRunbookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - }, - "description": "The list of AutomationRunbook receivers that are part of this action group." - } - }, - "required": [ - "groupShortName", - "enabled" - ] - }, - "EmailReceiver": { - "description": "An email receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The receiver status of the e-mail." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "SmsReceiver": { - "description": "An SMS receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The status of the receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "WebhookReceiver": { - "description": "A webhook receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "name", - "serviceUri" - ] - }, - "ItsmReceiver": { - "description": "An Itsm receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - }, - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - } - }, - "required": [ - "name", - "workspaceId", - "connectionId", - "ticketConfiguration", - "region" - ] - }, - "AzureAppPushReceiver": { - "description": "The Azure mobile App push notification receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "AutomationRunbookReceiver": { - "description": "The Azure Automation Runbook notification receiver.", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - }, - "isGlobalRunbook": { - "type": "boolean", - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "automationAccountId", - "runbookName", - "webhookResourceId", - "isGlobalRunbook" - ] - }, - "ReceiverStatus": { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ReceiverStatus", - "modelAsString": false - }, - "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." - }, - "EnableRequest": { - "description": "Describes a receiver that should be resubscribed.", - "properties": { - "receiverName": { - "type": "string", - "description": "The name of the receiver to resubscribe." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" }, - "required": [ - "receiverName" - ] - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActionGroupPatchBody": { - "description": "An action group object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroupPatch", - "description": "The action group settings for an update operation." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActionGroupPatch": { - "description": "An Azure action group for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." }, - "ActionGroupNameParameter": { - "name": "actionGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the action group.", - "x-ms-parameter-location": "method" + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + } + }, + "required": [ + "name", + "serviceUri" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json index 332e93e78a8c..1c8c0a5d5ae8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json @@ -1,528 +1,528 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Activity Log Alerts API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2017-04-01" + "swagger": "2.0", + "info": { + "title": "Azure Activity Log Alerts API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2017-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": { + "put": { + "description": "Create a new activity log alert or update an existing one.", + "operationId": "ActivityLogAlerts_CreateOrUpdate", + "x-ms-examples": { + "Create or update an activity log alert": { + "$ref": "./examples/createOrUpdateActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "activityLogAlert", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + }, + "description": "The activity log alert to create or use for the update." + } + ], + "responses": { + "200": { + "description": "An existing activity log alert was successfully updated.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + } + }, + "201": { + "description": "A new activity log alert was successfully created.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" + } + }, + "default": { + "description": "An error occurred and the activity log alert could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an activity log alert.", + "operationId": "ActivityLogAlerts_Get", + "x-ms-examples": { + "Get an activity log alert": { + "$ref": "./examples/getActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" } + }, + "default": { + "description": "An error occurred and the activity log alert could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": { - "put": { - "description": "Create a new activity log alert or update an existing one.", - "operationId": "ActivityLogAlerts_CreateOrUpdate", - "x-ms-examples": { - "Create or update an activity log alert": { - "$ref": "./examples/createOrUpdateActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "activityLogAlert", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - }, - "description": "The activity log alert to create or use for the update." - } - ], - "responses": { - "200": { - "description": "An existing activity log alert was successfully updated.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "201": { - "description": "A new activity log alert was successfully created.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "default": { - "description": "An error occurred and the activity log alert could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an activity log alert.", - "operationId": "ActivityLogAlerts_Get", - "x-ms-examples": { - "Get an activity log alert": { - "$ref": "./examples/getActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - }, - "default": { - "description": "An error occurred and the activity log alert could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an activity log alert.", - "operationId": "ActivityLogAlerts_Delete", - "x-ms-examples": { - "Delete an activity log alert": { - "$ref": "./examples/deleteActivityLogAlert.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The activity log alert was successfully deleted." - }, - "204": { - "description": "The activity log alert does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the activity log alert could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an activity log alert.", + "operationId": "ActivityLogAlerts_Delete", + "x-ms-examples": { + "Delete an activity log alert": { + "$ref": "./examples/deleteActivityLogAlert.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The activity log alert was successfully deleted." + }, + "204": { + "description": "The activity log alert does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the activity log alert could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActivityLogAlerts_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActivityLogAlertNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "activityLogAlertPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActivityLogAlertPatchBody" }, - "patch": { - "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActivityLogAlerts_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActivityLogAlertNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "activityLogAlertPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActivityLogAlertPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing activity log alert was successfully updated.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertResource" - } - } - }, - "x-ms-examples": { - "Patch an activity log alert": { - "$ref": "./examples/patchActivityLogAlert.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": { - "get": { - "description": "Get a list of all activity log alerts in a subscription.", - "operationId": "ActivityLogAlerts_ListBySubscriptionId", - "x-ms-examples": { - "List activity log alerts": { - "$ref": "./examples/listActivityLogAlerts.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertList" - } - }, - "default": { - "description": "An error occurred and the list of activity log alerts could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing activity log alert was successfully updated.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": { - "get": { - "description": "Get a list of all activity log alerts in a resource group.", - "operationId": "ActivityLogAlerts_ListByResourceGroup", - "x-ms-examples": { - "List activity log alerts": { - "$ref": "./examples/listActivityLogAlerts.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActivityLogAlertList" - } - }, - "default": { - "description": "An error occurred and the list of activity log alerts could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an activity log alert": { + "$ref": "./examples/patchActivityLogAlert.json" + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" + "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": { + "get": { + "description": "Get a list of all activity log alerts in a subscription.", + "operationId": "ActivityLogAlerts_ListBySubscriptionId", + "x-ms-examples": { + "List activity log alerts": { + "$ref": "./examples/listActivityLogAlerts.json" + } }, - "ActivityLogAlertResource": { - "description": "An activity log alert resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActivityLogAlert", - "description": "The activity log alert properties of the resource." - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertList" + } + }, + "default": { + "description": "An error occurred and the list of activity log alerts could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": { + "get": { + "description": "Get a list of all activity log alerts in a resource group.", + "operationId": "ActivityLogAlerts_ListByResourceGroup", + "x-ms-examples": { + "List activity log alerts": { + "$ref": "./examples/listActivityLogAlerts.json" + } }, - "ActivityLogAlertList": { - "description": "A list of activity log alerts.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertResource" - }, - "description": "The list of activity log alerts." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActivityLogAlertList" + } + }, + "default": { + "description": "An error occurred and the list of activity log alerts could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActivityLogAlert": { - "description": "An Azure activity log alert.", - "properties": { - "scopes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." - }, - "condition": { - "$ref": "#/definitions/ActivityLogAlertAllOfCondition", - "description": "The condition that will cause this alert to activate." - }, - "actions": { - "$ref": "#/definitions/ActivityLogAlertActionList", - "description": "The actions that will activate when the condition is met." - }, - "description": { - "type": "string", - "description": "A description of this activity log alert." - } - }, - "required": [ - "scopes", - "condition", - "actions" - ] + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActivityLogAlertAllOfCondition": { - "properties": { - "allOf": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertLeafCondition" - }, - "description": "The list of activity log alert conditions." - } - }, - "description": "An Activity Log alert condition that is met when all its member conditions are met.", - "required": [ - "allOf" - ] + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" }, - "ActivityLogAlertLeafCondition": { - "properties": { - "field": { - "type": "string", - "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'." - }, - "equals": { - "type": "string", - "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met." - } - }, - "description": "An Activity Log alert condition that is met by comparing an activity log field and value.", - "required": [ - "field", - "equals" - ] + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] }, - "ActivityLogAlertActionList": { - "description": "A list of activity log alert actions.", - "properties": { - "actionGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ActivityLogAlertActionGroup" - }, - "description": "The list of activity log alerts." - } - } + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "ActivityLogAlertResource": { + "description": "An activity log alert resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActivityLogAlert", + "description": "The activity log alert properties of the resource." + } + } + }, + "ActivityLogAlertList": { + "description": "A list of activity log alerts.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertResource" + }, + "description": "The list of activity log alerts." }, - "ActivityLogAlertActionGroup": { - "description": "A pointer to an Azure Action Group.", - "properties": { - "actionGroupId": { - "type": "string", - "description": "The resourceId of the action group. This cannot be null or empty." - }, - "webhookProperties": { - "additionalProperties": { - "type": "string" - }, - "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." - } - }, - "required": [ - "actionGroupId" - ] + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActivityLogAlert": { + "description": "An Azure activity log alert.", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item." }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." }, - "ActivityLogAlertPatchBody": { - "description": "An activity log alert object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActivityLogAlertPatch", - "description": "The activity log alert settings for an update operation." - } - } + "condition": { + "$ref": "#/definitions/ActivityLogAlertAllOfCondition", + "description": "The condition that will cause this alert to activate." }, - "ActivityLogAlertPatch": { - "description": "An Azure activity log alert for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." - } - } + "actions": { + "$ref": "#/definitions/ActivityLogAlertActionList", + "description": "The actions that will activate when the condition is met." + }, + "description": { + "type": "string", + "description": "A description of this activity log alert." } + }, + "required": [ + "scopes", + "condition", + "actions" + ] }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActivityLogAlertAllOfCondition": { + "properties": { + "allOf": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertLeafCondition" + }, + "description": "The list of activity log alert conditions." + } + }, + "description": "An Activity Log alert condition that is met when all its member conditions are met.", + "required": [ + "allOf" + ] + }, + "ActivityLogAlertLeafCondition": { + "properties": { + "field": { + "type": "string", + "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "equals": { + "type": "string", + "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met." + } + }, + "description": "An Activity Log alert condition that is met by comparing an activity log field and value.", + "required": [ + "field", + "equals" + ] + }, + "ActivityLogAlertActionList": { + "description": "A list of activity log alert actions.", + "properties": { + "actionGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityLogAlertActionGroup" + }, + "description": "The list of activity log alerts." + } + } + }, + "ActivityLogAlertActionGroup": { + "description": "A pointer to an Azure Action Group.", + "properties": { + "actionGroupId": { + "type": "string", + "description": "The resourceId of the action group. This cannot be null or empty." }, - "ActivityLogAlertNameParameter": { - "name": "activityLogAlertName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the activity log alert.", - "x-ms-parameter-location": "method" + "webhookProperties": { + "additionalProperties": { + "type": "string" + }, + "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." + } + }, + "required": [ + "actionGroupId" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" } + } + }, + "ActivityLogAlertPatchBody": { + "description": "An activity log alert object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActivityLogAlertPatch", + "description": "The activity log alert settings for an update operation." + } + } + }, + "ActivityLogAlertPatch": { + "description": "An Azure activity log alert for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActivityLogAlertNameParameter": { + "name": "activityLogAlertName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the activity log alert.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json index c061cee773df..a8de7b6b5531 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json @@ -1,213 +1,213 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2017-04-01", - "actionGroup": { - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2017-04-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ] - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ] - } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json index da116b2822ab..24993d51dde8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json @@ -1,121 +1,121 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-04-01", - "activityLogAlert": { - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-04-01", + "activityLogAlert": { + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" - } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" + } } + ] }, - "201": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { }, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "description": "Sample activity log alert description" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" + } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json index c6e835cb2895..87fc46039a3d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2017-04-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json index 7a3fbf91c0c6..23393ae26daa 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-04-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json index 65bd11c1c1fb..43802e8eb192 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2017-04-01", - "enableRequest": { - "receiverName": "John Doe's mobile" - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2017-04-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "409": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json index 1066a62661e5..cc56b291979e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json @@ -1,56 +1,56 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2017-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json index 7172f109e8fe..e468e240dbf4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json index c8e9e4901dd5..89044838c7fb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json @@ -1,86 +1,86 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "api-version": "2017-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup2", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample2", - "enabled": false, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - } - ], - "smsReceivers": [ - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [] - } - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } - } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json index ae53a7ca9351..3d92803d2bf4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json @@ -1,81 +1,81 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "api-version": "2017-04-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert2", - "location": "Global", - "tags": {}, - "properties": { - "scopes": [ - "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts" - ], - "enabled": true, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { } - } - ] - } - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "api-version": "2017-04-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } + } + ] + }, + "description": "Sample activity log alert description" + } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert2", + "location": "Global", + "tags": {}, + "properties": { + "scopes": [ + "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts" + ], + "enabled": true, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": {} + } ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json index 1175ff17126e..855c3ef1cb5f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json @@ -1,62 +1,68 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2017-04-01", - "actionGroupPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2017-04-01", + "actionGroupPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json index 96fada36985a..0b207b8ff409 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json @@ -1,55 +1,61 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-ActivityLogAlerts", - "activityLogAlertName": "SampleActivityLogAlert", - "api-version": "2017-03-01-preview", - "activityLogAlertPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false - } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", - "type": "Microsoft.Insights/ActivityLogAlerts", - "name": "SampleActivityLogAlert", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "scopes": [ - "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" - ], - "enabled": false, - "condition": { - "allOf": [ - { - "field": "Category", - "equals": "Administrative" - }, - { - "field": "Level", - "equals": "Error" - } - ] - }, - "actions": { - "actionGroups": [ - { - "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", - "webhookProperties": { - "sampleWebhookProperty": "samplePropertyValue" - } - } - ] - }, - "description": "Sample activity log alert description" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-ActivityLogAlerts", + "activityLogAlertName": "SampleActivityLogAlert", + "api-version": "2017-03-01-preview", + "activityLogAlertPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert", + "type": "Microsoft.Insights/ActivityLogAlerts", + "name": "SampleActivityLogAlert", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "scopes": [ + "/subscriptions/187f412d-1758-44d9-b052-169e2564721d" + ], + "enabled": false, + "condition": { + "allOf": [ + { + "field": "Category", + "equals": "Administrative" + }, + { + "field": "Level", + "equals": "Error" + } + ] + }, + "actions": { + "actionGroups": [ + { + "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup", + "webhookProperties": { + "sampleWebhookProperty": "samplePropertyValue" } - } + } + ] + }, + "description": "Sample activity log alert description" } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json index e4577210e0fa..4f9b0f06a527 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json @@ -1,98 +1,98 @@ { - "parameters": { - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "parameters": { + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metric": "BlobCapacity", + "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices", + "$filter": "BlobType eq '*'", + "top": 3, + "orderby": "Average asc", + "aggregation": "Average,count", + "interval": "PT1M", + "api-version": "2018-01-01" + }, + "responses": { + "200": { + "body": { + "cost": 0, "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metric": "BlobCapacity", - "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices", - "$filter": "BlobType eq '*'", - "top": 3, - "orderby": "Average asc", - "aggregation": "Average,count", "interval": "PT1M", - "api-version": "2018-01-01" - }, - "responses": { - "200": { - "body": { - "cost": 0, - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "interval": "PT1M", - "namespace": "Microsoft.Storage/storageAccounts/blobServices", - "resourceregion": "eastus2", - "value": [ - { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", - "type": "Microsoft.Insights/metrics", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" + "namespace": "Microsoft.Storage/storageAccounts/blobServices", + "resourceregion": "eastus2", + "value": [ + { + "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "type": "Microsoft.Insights/metrics", + "name": { + "value": "BlobCapacity", + "localizedValue": "Blob Capacity" + }, + "unit": "Bytes", + "timeseries": [ + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "PageBlob" + } + ], + "data": [ + { + "timeStamp": "2017-04-14T02:20:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:21:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:22:00Z", + "count": 0.0 }, - "unit": "Bytes", - "timeseries": [ - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "PageBlob" - } - ], - "data": [ - { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 0.0 - } - ] + { + "timeStamp": "2017-04-14T02:23:00Z", + "count": 1.0, + "average": 0.0 + } + ] + }, + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" }, - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "BlockBlob" - } - ], - "data": [ - { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 - }, - { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 245.0 - } - ] - } - ] - } - ] - } - } + "value": "BlockBlob" + } + ], + "data": [ + { + "timeStamp": "2017-04-14T02:20:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:21:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:22:00Z", + "count": 0.0 + }, + { + "timeStamp": "2017-04-14T02:23:00Z", + "count": 1.0, + "average": 245.0 + } + ] + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json index 5f49d369c758..6b07e32cb0c9 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json @@ -1,928 +1,975 @@ { - "parameters": { - "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions", - "api-version": "2018-01-01", - "metricnamespace": "Microsoft.Web/sites" - }, - "responses": { - "200": { - "body": - { - "value": [{ - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "CpuTime", - "localizedValue": "CPU Time" - }, - "isDimensionRequired": false, - "unit": "Seconds", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Requests", - "localizedValue": "Requests" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "BytesReceived", - "localizedValue": "Data In" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "BytesSent", - "localizedValue": "Data Out" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http101", - "localizedValue": "Http 101" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http2xx", - "localizedValue": "Http 2xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http3xx", - "localizedValue": "Http 3xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http401", - "localizedValue": "Http 401" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http403", - "localizedValue": "Http 403" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http404", - "localizedValue": "Http 404" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http406", - "localizedValue": "Http 406" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http4xx", - "localizedValue": "Http 4xx" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "Http5xx", - "localizedValue": "Http Server Errors" - }, - "isDimensionRequired": false, - "unit": "Count", - "primaryAggregationType": "Total", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "MemoryWorkingSet", - "localizedValue": "Memory working set" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Average", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "AverageMemoryWorkingSet", - "localizedValue": "Average memory working set" - }, - "isDimensionRequired": false, - "unit": "Bytes", - "primaryAggregationType": "Average", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - }, { - "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime", - "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", - "namespace": "Microsoft.Web/sites", - "name": { - "value": "AverageResponseTime", - "localizedValue": "Average Response Time" - }, - "isDimensionRequired": false, - "unit": "Seconds", - "primaryAggregationType": "Average", - "supportedAggregationTypes": [ - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "metricAvailabilities": [{ - "timeGrain": "PT1M", - "retention": "P93D" - }, - { - "timeGrain": "PT5M", - "retention": "P93D" - }, - { - "timeGrain": "PT15M", - "retention": "P93D" - }, - { - "timeGrain": "PT30M", - "retention": "P93D" - }, - { - "timeGrain": "PT1H", - "retention": "P93D" - }, - { - "timeGrain": "PT6H", - "retention": "P93D" - }, - { - "timeGrain": "PT12H", - "retention": "P93D" - }, - { - "timeGrain": "P1D", - "retention": "P93D" - } - ], - "dimensions": [{ - "value": "Instance", - "localizedValue": "Instance" - } - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions", + "api-version": "2018-01-01", + "metricnamespace": "Microsoft.Web/sites" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "CpuTime", + "localizedValue": "CPU Time" + }, + "isDimensionRequired": false, + "unit": "Seconds", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Requests", + "localizedValue": "Requests" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "BytesReceived", + "localizedValue": "Data In" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "BytesSent", + "localizedValue": "Data Out" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http101", + "localizedValue": "Http 101" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http2xx", + "localizedValue": "Http 2xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http3xx", + "localizedValue": "Http 3xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http401", + "localizedValue": "Http 401" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http403", + "localizedValue": "Http 403" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http404", + "localizedValue": "Http 404" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http406", + "localizedValue": "Http 406" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http4xx", + "localizedValue": "Http 4xx" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "Http5xx", + "localizedValue": "Http Server Errors" + }, + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Total", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "MemoryWorkingSet", + "localizedValue": "Memory working set" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "AverageMemoryWorkingSet", + "localizedValue": "Average memory working set" + }, + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + }, + { + "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime", + "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest", + "namespace": "Microsoft.Web/sites", + "name": { + "value": "AverageResponseTime", + "localizedValue": "Average Response Time" + }, + "isDimensionRequired": false, + "unit": "Seconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "Instance", + "localizedValue": "Instance" + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json index eb929a0ee350..2d8a21817013 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json @@ -1,59 +1,59 @@ { - "parameters": { + "parameters": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metric": "BlobCapacity", + "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices", + "$filter": "BlobType eq '*'", + "top": 3, + "orderby": "Average asc", + "aggregation": "Average,count", + "interval": "PT1M", + "resulttype": "metadata", + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "api-version": "2018-01-01" + }, + "responses": { + "200": { + "body": { "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metric": "BlobCapacity", - "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices", - "$filter": "BlobType eq '*'", - "top": 3, - "orderby": "Average asc", - "aggregation": "Average,count", - "interval": "PT1M", - "resulttype": "metadata", - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", - "api-version": "2018-01-01" - }, - "responses": { - "200": { - "body": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "namespace": "Microsoft.Storage/storageAccounts/blobServices", - "resourceregion": "eastus2", - "value": [ - { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", - "type": "Microsoft.Insights/metrics", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" - }, - "unit": "Bytes", - "timeseries": [ - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "BlockBlob" - } - ] - }, - { - "metadatavalues": [ - { - "name": { - "value": "blobtype", - "localizedValue": "blobtype" - }, - "value": "PageBlob" - } - ] - } - ] - } - ] - } - } + "namespace": "Microsoft.Storage/storageAccounts/blobServices", + "resourceregion": "eastus2", + "value": [ + { + "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "type": "Microsoft.Insights/metrics", + "name": { + "value": "BlobCapacity", + "localizedValue": "Blob Capacity" + }, + "unit": "Bytes", + "timeseries": [ + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "BlockBlob" + } + ] + }, + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "PageBlob" + } + ] + } + ] + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json index 009bfd6fcd11..853fae62c587 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json @@ -72,14 +72,18 @@ "nextLinkName": null }, "x-ms-examples": { - "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" } + "Get Metric Definitions without filter": { + "$ref": "./examples/GetMetricDefinitions.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -130,23 +134,22 @@ "modelAsString": false } }, - "AggregationType": - { + "AggregationType": { "type": "string", "description": "the aggregation type of the metric.", "enum": [ - "None", - "Average", - "Count", - "Minimum", - "Maximum", - "Total" + "None", + "Average", + "Count", + "Minimum", + "Maximum", + "Total" ], "x-ms-enum": { - "name": "AggregationType", - "modelAsString": false + "name": "AggregationType", + "modelAsString": false } - }, + }, "MetricDefinition": { "properties": { "isDimensionRequired": { @@ -173,7 +176,7 @@ "$ref": "#/definitions/AggregationType", "description": "the primary aggregation type value defining how to use the values for display." }, - "supportedAggregationTypes": { + "supportedAggregationTypes": { "type": "array", "items": { "$ref": "#/definitions/AggregationType" @@ -211,7 +214,9 @@ "description": "the values for the metric definitions." } }, - "required": ["value"], + "required": [ + "value" + ], "description": "Represents collection of metric definitions." }, "ErrorResponse": { @@ -255,4 +260,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json index c448a353472b..e6a7da49e527 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json @@ -98,15 +98,21 @@ }, "x-ms-odata": "#/definitions/MetadataValue", "x-ms-examples": { - "Get Metric for data": { "$ref": "./examples/GetMetric.json" }, - "Get Metric for metadata": { "$ref": "./examples/GetMetricMetadata.json" } + "Get Metric for data": { + "$ref": "./examples/GetMetric.json" + }, + "Get Metric for metadata": { + "$ref": "./examples/GetMetricMetadata.json" + } } } } }, "definitions": { "LocalizableString": { - "required": [ "value" ], + "required": [ + "value" + ], "properties": { "value": { "type": "string", @@ -143,7 +149,9 @@ } }, "MetricValue": { - "required": [ "timeStamp" ], + "required": [ + "timeStamp" + ], "properties": { "timeStamp": { "type": "string", @@ -239,7 +247,10 @@ "description": "the value of the collection." } }, - "required": [ "timespan", "value" ], + "required": [ + "timespan", + "value" + ], "description": "The response to a metrics query." }, "Metric": { @@ -269,7 +280,13 @@ "description": "the time series returned when a data query is performed." } }, - "required": [ "id", "type", "name", "unit", "timeseries" ], + "required": [ + "id", + "type", + "name", + "unit", + "timeseries" + ], "description": "The result data of a query." }, "TimeSeriesElement": { @@ -385,4 +402,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json index 78580130da79..d1966662068f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json @@ -1,808 +1,808 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Action Groups API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-03-01" + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2018-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { - "put": { - "description": "Create a new action group or update an existing one.", - "operationId": "ActionGroups_CreateOrUpdate", - "x-ms-examples": { - "Create or update an action group": { - "$ref": "./examples/createOrUpdateActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "actionGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The action group to create or use for the update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "201": { - "description": "A new action group was successfully created.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an action group.", - "operationId": "ActionGroups_Get", - "x-ms-examples": { - "Get an action group": { - "$ref": "./examples/getActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an action group.", - "operationId": "ActionGroups_Delete", - "x-ms-examples": { - "Delete an action group": { - "$ref": "./examples/deleteActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The action group was successfully deleted." - }, - "204": { - "description": "The action group does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the action group could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" }, - "patch": { - "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActionGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "actionGroupPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - } - }, - "x-ms-examples": { - "Patch an action group": { - "$ref": "./examples/patchActionGroup.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a subscription.", - "operationId": "ActionGroups_ListBySubscriptionId", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a resource group.", - "operationId": "ActionGroups_ListByResourceGroup", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { - "post": { - "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", - "operationId": "ActionGroups_EnableReceiver", - "x-ms-examples": { - "Enable the receiver": { - "$ref": "./examples/enableReceiver.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "enableRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EnableRequest" - }, - "description": "The receiver to re-enable." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The receiver was successfully enabled." - }, - "409": { - "description": "The receiver is already enabled in the action group." - }, - "default": { - "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ActionGroupResource": { - "description": "An action group resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroup", - "description": "The action groups properties of the resource." - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "ActionGroupList": { - "description": "A list of action groups.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The list of action groups." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } }, - "ActionGroup": { - "description": "An Azure action group.", - "properties": { - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "emailReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - }, - "description": "The list of email receivers that are part of this action group." - }, - "smsReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - }, - "description": "The list of SMS receivers that are part of this action group." - }, - "webhookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - }, - "description": "The list of webhook receivers that are part of this action group." - }, - "itsmReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - }, - "description": "The list of ITSM receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - }, - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "automationRunbookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - }, - "description": "The list of AutomationRunbook receivers that are part of this action group." - }, - "voiceReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/VoiceReceiver" - }, - "description": "The list of voice receivers that are part of this action group." - }, - "logicAppReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/LogicAppReceiver" - }, - "description": "The list of logic app receivers that are part of this action group." - }, - "azureFunctionReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureFunctionReceiver" - }, - "description": "The list of azure function receivers that are part of this action group." - } - }, - "required": [ - "groupShortName", - "enabled" - ] - }, - "EmailReceiver": { - "description": "An email receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The receiver status of the e-mail." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "SmsReceiver": { - "description": "An SMS receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The status of the receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "WebhookReceiver": { - "description": "A webhook receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "name", - "serviceUri" - ] - }, - "ItsmReceiver": { - "description": "An Itsm receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - }, - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - } - }, - "required": [ - "name", - "workspaceId", - "connectionId", - "ticketConfiguration", - "region" - ] - }, - "AzureAppPushReceiver": { - "description": "The Azure mobile App push notification receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "AutomationRunbookReceiver": { - "description": "The Azure Automation Runbook notification receiver.", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - }, - "isGlobalRunbook": { - "type": "boolean", - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "automationAccountId", - "runbookName", - "webhookResourceId", - "isGlobalRunbook" - ] - }, - "VoiceReceiver": { - "description": "A voice receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the voice receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the voice receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "LogicAppReceiver": { - "description": "A logic app receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." - }, - "resourceId": { - "type": "string", - "description": "The azure resource id of the logic app receiver." - }, - "callbackUrl": { - "type": "string", - "description": "The callback url where http request sent to." - } - }, - "required": [ - "name", - "resourceId", - "callbackUrl" - ] - }, - "AzureFunctionReceiver": { - "description": "An azure function receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." - }, - "functionAppResourceId": { - "type": "string", - "description": "The azure resource id of the function app." - }, - "functionName": { - "type": "string", - "description": "The function name in the function app." - }, - "httpTriggerUrl": { - "type": "string", - "description": "The http trigger url where http request sent to." - } - }, - "required": [ - "name", - "functionAppResourceId", - "functionName", - "httpTriggerUrl" - ] - }, - "ReceiverStatus": { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ReceiverStatus", - "modelAsString": false - }, - "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." - }, - "EnableRequest": { - "description": "Describes a receiver that should be resubscribed.", - "properties": { - "receiverName": { - "type": "string", - "description": "The name of the receiver to resubscribe." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" }, - "required": [ - "receiverName" - ] - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActionGroupPatchBody": { - "description": "An action group object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroupPatch", - "description": "The action group settings for an update operation." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActionGroupPatch": { - "description": "An Azure action group for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." }, - "ActionGroupNameParameter": { - "name": "actionGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the action group.", - "x-ms-parameter-location": "method" + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + }, + "voiceReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceReceiver" + }, + "description": "The list of voice receivers that are part of this action group." + }, + "logicAppReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/LogicAppReceiver" + }, + "description": "The list of logic app receivers that are part of this action group." + }, + "azureFunctionReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFunctionReceiver" + }, + "description": "The list of azure function receivers that are part of this action group." + } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + } + }, + "required": [ + "name", + "serviceUri" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" + } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook" + ] + }, + "VoiceReceiver": { + "description": "A voice receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the voice receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the voice receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "LogicAppReceiver": { + "description": "A logic app receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." + }, + "resourceId": { + "type": "string", + "description": "The azure resource id of the logic app receiver." + }, + "callbackUrl": { + "type": "string", + "description": "The callback url where http request sent to." + } + }, + "required": [ + "name", + "resourceId", + "callbackUrl" + ] + }, + "AzureFunctionReceiver": { + "description": "An azure function receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." + }, + "functionAppResourceId": { + "type": "string", + "description": "The azure resource id of the function app." + }, + "functionName": { + "type": "string", + "description": "The function name in the function app." + }, + "httpTriggerUrl": { + "type": "string", + "description": "The http trigger url where http request sent to." + } + }, + "required": [ + "name", + "functionAppResourceId", + "functionName", + "httpTriggerUrl" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json index 627786075af7..1688705d89ce 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json @@ -19,11 +19,10 @@ "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "allOf": [ { - "criterionType":"StaticThresholdCriterion", + "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -66,18 +65,17 @@ "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "allOf": [ { - "criterionType":"StaticThresholdCriterion", + "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" } ] }, - "autoMitigate":false, + "autoMitigate": false, "actions": [ { "actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", @@ -91,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json index 5fcb558496b9..da0f49efd6ab 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json @@ -1,279 +1,279 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-03-01", - "actionGroup": { - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-03-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" + } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ] - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ] - } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json index 35e8264e7de9..ee68510b86c7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json @@ -1,12 +1,66 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "gigtest", + "ruleName": "MetricAlertOnMultipleResources", + "api-version": "2018-03-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "gigtest", - "ruleName": "MetricAlertOnMultipleResources", - "api-version": "2018-03-01", - "parameters": { + "location": "global", + "tags": {}, + "properties": { + "description": "This is the description of the rule1", + "severity": 3, + "enabled": true, + "scopes": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2" + ], + "evaluationFrequency": "PT1M", + "windowSize": "PT15M", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", + "criteria": { + "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", + "allOf": [ + { + "criterionType": "DynamicThresholdCriterion", + "name": "High_CPU_80", + "metricName": "Percentage CPU", + "metricNamespace": "microsoft.compute/virtualmachines", + "operator": "GreaterOrLessThan", + "timeAggregation": "Average", + "dimensions": [], + "alertSensitivity": "Medium", + "failingPeriods": { + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 + } + } + ] + }, + "autoMitigate": false, + "actions": [ + { + "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", + "webhookProperties": { + "key11": "value11", + "key12": "value12" + } + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources", + "type": "Microsoft.Insights/metricAlerts", "location": "global", - "tags": {}, + "tags": { + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, "properties": { "description": "This is the description of the rule1", "severity": 3, @@ -17,8 +71,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -32,8 +86,8 @@ "dimensions": [], "alertSensitivity": "Medium", "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 } } ] @@ -50,60 +104,6 @@ ] } } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources", - "type": "Microsoft.Insights/metricAlerts", - "location": "global", - "tags": { - "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" - }, - "properties": { - "description": "This is the description of the rule1", - "severity": 3, - "enabled": true, - "scopes": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1", - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2" - ], - "evaluationFrequency": "PT1M", - "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", - "criteria": { - "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", - "allOf": [ - { - "criterionType": "DynamicThresholdCriterion", - "name": "High_CPU_80", - "metricName": "Percentage CPU", - "metricNamespace": "microsoft.compute/virtualmachines", - "operator": "GreaterOrLessThan", - "timeAggregation": "Average", - "dimensions": [], - "alertSensitivity": "Medium", - "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 - } - } - ] - }, - "autoMitigate":false, - "actions": [ - { - "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", - "webhookProperties": { - "key11": "value11", - "key12": "value12" - } - } - ] - } - } - } } } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json index 59765d180233..3fdd3df3ad4e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json @@ -1,12 +1,66 @@ { + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "gigtest", + "ruleName": "chiricutin", + "api-version": "2018-03-01", "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "gigtest", - "ruleName": "chiricutin", - "api-version": "2018-03-01", - "parameters": { + "location": "global", + "tags": {}, + "properties": { + "description": "This is the description of the rule1", + "severity": 3, + "enabled": true, + "scopes": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme" + ], + "evaluationFrequency": "PT1M", + "windowSize": "PT15M", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", + "criteria": { + "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", + "allOf": [ + { + "criterionType": "DynamicThresholdCriterion", + "name": "High_CPU_80", + "metricName": "Percentage CPU", + "metricNamespace": "microsoft.compute/virtualmachines", + "operator": "GreaterOrLessThan", + "timeAggregation": "Average", + "dimensions": [], + "alertSensitivity": "Medium", + "failingPeriods": { + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 + }, + "ignoreDataBefore": "2019-04-04T21:00:00.000Z" + } + ] + }, + "autoMitigate": false, + "actions": [ + { + "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", + "webhookProperties": { + "key11": "value11", + "key12": "value12" + } + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin", + "type": "Microsoft.Insights/metricAlerts", "location": "global", - "tags": {}, + "tags": { + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, "properties": { "description": "This is the description of the rule1", "severity": 3, @@ -16,8 +70,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -31,8 +85,8 @@ "dimensions": [], "alertSensitivity": "Medium", "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 }, "ignoreDataBefore": "2019-04-04T21:00:00.000Z" } @@ -50,60 +104,6 @@ ] } } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin", - "type": "Microsoft.Insights/metricAlerts", - "location": "global", - "tags": { - "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" - }, - "properties": { - "description": "This is the description of the rule1", - "severity": 3, - "enabled": true, - "scopes": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme" - ], - "evaluationFrequency": "PT1M", - "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", - "criteria": { - "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", - "allOf": [ - { - "criterionType": "DynamicThresholdCriterion", - "name": "High_CPU_80", - "metricName": "Percentage CPU", - "metricNamespace": "microsoft.compute/virtualmachines", - "operator": "GreaterOrLessThan", - "timeAggregation": "Average", - "dimensions": [], - "alertSensitivity": "Medium", - "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 - }, - "ignoreDataBefore": "2019-04-04T21:00:00.000Z" - } - ] - }, - "autoMitigate":false, - "actions": [ - { - "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", - "webhookProperties": { - "key11": "value11", - "key12": "value12" - } - } - ] - } - } - } } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json index fba5379d0fb2..50e3275420f9 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json @@ -17,8 +17,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -27,8 +27,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -68,8 +67,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -78,15 +77,14 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" } ] }, - "autoMitigate":false, + "autoMitigate": false, "actions": [ { "actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", @@ -100,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json index 907f73e9c2f8..7b2bb11cd113 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json @@ -17,8 +17,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -27,8 +27,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -68,8 +67,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -78,15 +77,14 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" } ] }, - "autoMitigate":false, + "autoMitigate": false, "actions": [ { "actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", @@ -100,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json index c7aa4f165acf..4065627efa3f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json @@ -23,8 +23,7 @@ "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -70,15 +69,14 @@ "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" } ] }, - "autoMitigate":false, + "autoMitigate": false, "actions": [ { "actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", @@ -92,4 +90,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json index 09c9cf710d19..918d07dd4620 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json @@ -16,8 +16,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -26,8 +26,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -66,8 +65,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -76,15 +75,14 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" } ] }, - "autoMitigate":false, + "autoMitigate": false, "actions": [ { "actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", @@ -98,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json index ff8db9749d27..f28ccba95fc6 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-03-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json index 79076b517119..86808cb7c95a 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json @@ -15,4 +15,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json index cb085170b440..768e38c7c9dd 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-03-01", - "enableRequest": { - "receiverName": "John Doe's mobile" - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-03-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "409": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json index a7573f481272..ccdf6dfa0e57 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json @@ -1,56 +1,56 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json index 5ac5532e4c23..8869f07a8571 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json @@ -1,63 +1,63 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "gigtest", - "ruleName": "MetricAlertOnMultipleResources", - "api-version": "2018-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources", - "type": "Microsoft.Insights/metricAlerts", - "location": "global", - "tags": { - "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" - }, - "properties": { - "description": "This is the description of the rule1", - "severity": 3, - "enabled": true, - "scopes": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1", - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2" - ], - "evaluationFrequency": "PT1M", - "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", - "criteria": { - "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", - "allOf": [ - { - "criterionType": "DynamicThresholdCriterion", - "name": "High_CPU_80", - "metricName": "Percentage CPU", - "metricNamespace": "microsoft.compute/virtualmachines", - "operator": "GreaterOrLessThan", - "timeAggregation": "Average", - "dimensions": [], - "alertSensitivity": "Medium", - "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 - } - } - ] - }, - "autoMitigate": false, - "actions": [ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "gigtest", + "ruleName": "MetricAlertOnMultipleResources", + "api-version": "2018-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources", + "type": "Microsoft.Insights/metricAlerts", + "location": "global", + "tags": { + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "description": "This is the description of the rule1", + "severity": 3, + "enabled": true, + "scopes": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2" + ], + "evaluationFrequency": "PT1M", + "windowSize": "PT15M", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", + "criteria": { + "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", + "allOf": [ { - "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", - "webhookProperties": { - "key11": "value11", - "key12": "value12" + "criterionType": "DynamicThresholdCriterion", + "name": "High_CPU_80", + "metricName": "Percentage CPU", + "metricNamespace": "microsoft.compute/virtualmachines", + "operator": "GreaterOrLessThan", + "timeAggregation": "Average", + "dimensions": [], + "alertSensitivity": "Medium", + "failingPeriods": { + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 } } ] - } + }, + "autoMitigate": false, + "actions": [ + { + "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", + "webhookProperties": { + "key11": "value11", + "key12": "value12" + } + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json index 3434c835ef0e..54d46d2c1ac8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json @@ -1,61 +1,61 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "gigtest", - "ruleName": "chiricutin", - "api-version": "2018-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin", - "type": "Microsoft.Insights/metricAlerts", - "location": "global", - "tags": { - "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" - }, - "properties": { - "description": "This is the description of the rule1", - "severity": 3, - "enabled": true, - "scopes": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme" - ], - "evaluationFrequency": "Pt1m", - "windowSize": "Pt15m", - "criteria": { - "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", - "allOf": [ - { - "criterionType": "DynamicThresholdCriterion", - "name": "High_CPU_80", - "metricName": "Percentage CPU", - "metricNamespace": "microsoft.compute/virtualmachines", - "operator": "GreaterOrLessThan", - "timeAggregation": "Average", - "dimensions": [], - "alertSensitivity": "Medium", - "failingPeriods": { - "numberOfEvaluationPeriods": 4, - "minFailingPeriodsToAlert": 4 - }, - "ignoreDataBefore": null - } - ] - }, - "autoMitigate": false, - "actions": [ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "gigtest", + "ruleName": "chiricutin", + "api-version": "2018-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin", + "type": "Microsoft.Insights/metricAlerts", + "location": "global", + "tags": { + "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource" + }, + "properties": { + "description": "This is the description of the rule1", + "severity": 3, + "enabled": true, + "scopes": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme" + ], + "evaluationFrequency": "Pt1m", + "windowSize": "Pt15m", + "criteria": { + "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", + "allOf": [ { - "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", - "webhookProperties": { - "key11": "value11", - "key12": "value12" - } + "criterionType": "DynamicThresholdCriterion", + "name": "High_CPU_80", + "metricName": "Percentage CPU", + "metricNamespace": "microsoft.compute/virtualmachines", + "operator": "GreaterOrLessThan", + "timeAggregation": "Average", + "dimensions": [], + "alertSensitivity": "Medium", + "failingPeriods": { + "numberOfEvaluationPeriods": 4, + "minFailingPeriodsToAlert": 4 + }, + "ignoreDataBefore": null } ] - } + }, + "autoMitigate": false, + "actions": [ + { + "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2", + "webhookProperties": { + "key11": "value11", + "key12": "value12" + } + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json index 789b5b34b10e..853015d49de3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json @@ -25,8 +25,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -35,8 +35,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -57,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json index 9ab3285b8179..00e5d33bd202 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json @@ -25,8 +25,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -35,8 +35,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -57,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json index 510dd835dfb5..c6ab3a033c42 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json @@ -28,11 +28,10 @@ "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "allOf": [ { - "criterionType":"StaticThresholdCriterion", + "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -53,4 +52,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json index a3d593e53669..cf2123868ab7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json index 7bd82721d5f6..92742ea3d426 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json index 1fb0e39afe36..9c323b96999c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json @@ -24,8 +24,8 @@ ], "evaluationFrequency": "PT1M", "windowSize": "PT15M", - "targetResourceType":"Microsoft.Compute/virtualMachines", - "targetResourceRegion":"southcentralus", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "targetResourceRegion": "southcentralus", "criteria": { "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "allOf": [ @@ -34,8 +34,7 @@ "name": "High_CPU_80", "metricName": "Percentage CPU", "metricNamespace": "microsoft.compute/virtualmachines", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -56,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json index ebc446f2bac6..5206b3234761 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json @@ -1,86 +1,86 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "api-version": "2018-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup2", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample2", - "enabled": false, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - } - ], - "smsReceivers": [ - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [] - } - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2018-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } - } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json index b8e115bae254..b2feab27f209 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json @@ -29,11 +29,10 @@ "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "allOf": [ { - "criterionType":"StaticThresholdCriterion", + "criterionType": "StaticThresholdCriterion", "name": "High_CPU_80", "metricName": "CustomMetric_\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 80.50, "timeAggregation": "Average" @@ -71,11 +70,10 @@ "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "allOf": [ { - "criterionType":"StaticThresholdCriterion", + "criterionType": "StaticThresholdCriterion", "name": "Medium_CPU_50", "metricName": "CustomMetric_\\Processor(_Total)\\% Processor Time", - "dimensions": [ - ], + "dimensions": [], "operator": "GreaterThan", "threshold": 50.50, "timeAggregation": "Average" @@ -97,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json index df0b9b2b99bb..3004ae6f5a38 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json @@ -1,62 +1,68 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-03-01", - "actionGroupPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-03-01", + "actionGroupPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json index 7c7c65bd8648..ca7fdba8a5a2 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json @@ -9,9 +9,15 @@ "description": "Azure Monitor client to create/update/delete metric based alerts." }, "host": "management.azure.com", - "schemes": [ "https" ], - "consumes": [ "application/json" ], - "produces": [ "application/json" ], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "security": [ { "azure_auth": [ @@ -33,12 +39,18 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts": { "get": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Retrieve alert rule definitions in a subscription.", "operationId": "MetricAlerts_ListBySubscription", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "200": { @@ -49,26 +61,38 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-pageable": { "nextLinkName": null }, "x-ms-examples": { - "List metric alert rules": { "$ref": "./examples/listMetricAlert.json" } + "List metric alert rules": { + "$ref": "./examples/listMetricAlert.json" + } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts": { "get": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Retrieve alert rule definitions in a resource group.", "operationId": "MetricAlerts_ListByResourceGroup", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "200": { @@ -79,27 +103,41 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-pageable": { "nextLinkName": null }, "x-ms-examples": { - "List metric alert rules": { "$ref": "./examples/listMetricAlert.json" } + "List metric alert rules": { + "$ref": "./examples/listMetricAlert.json" + } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}": { "get": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Retrieve an alert rule definition.", "operationId": "MetricAlerts_Get", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "200": { @@ -110,27 +148,51 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Get an alert rule for single resource": { "$ref": "./examples/getMetricAlertSingleResource.json" }, - "Get an alert rule for multiple resources": { "$ref": "./examples/getMetricAlertMultipleResource.json" }, - "Get an alert rule on resource group(s)": { "$ref": "./examples/getMetricAlertResourceGroup.json" }, - "Get an alert rule on subscription": { "$ref": "./examples/getMetricAlertSubscription.json" }, - "Get a dynamic alert rule for single resource": { "$ref": "./examples/getDynamicMetricAlertSingleResource.json" }, - "Get a dynamic alert rule for multiple resources": { "$ref": "./examples/getDynamicMetricAlertMultipleResource.json" } + "Get an alert rule for single resource": { + "$ref": "./examples/getMetricAlertSingleResource.json" + }, + "Get an alert rule for multiple resources": { + "$ref": "./examples/getMetricAlertMultipleResource.json" + }, + "Get an alert rule on resource group(s)": { + "$ref": "./examples/getMetricAlertResourceGroup.json" + }, + "Get an alert rule on subscription": { + "$ref": "./examples/getMetricAlertSubscription.json" + }, + "Get a dynamic alert rule for single resource": { + "$ref": "./examples/getDynamicMetricAlertSingleResource.json" + }, + "Get a dynamic alert rule for multiple resources": { + "$ref": "./examples/getDynamicMetricAlertMultipleResource.json" + } } }, "put": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Create or update an metric alert definition.", "operationId": "MetricAlerts_CreateOrUpdate", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, { "name": "parameters", "in": "body", @@ -150,27 +212,51 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Create or update an alert rule for Single Resource": { "$ref": "./examples/createOrUpdateMetricAlertSingleResource.json" }, - "Create or update an alert rule for Multiple Resource": { "$ref": "./examples/createOrUpdateMetricAlertMultipleResource.json" }, - "Create or update an alert rule on Resource group(s)": { "$ref": "./examples/createOrUpdateMetricAlertResourceGroup.json" }, - "Create or update an alert rule on Subscription ": { "$ref": "./examples/createOrUpdateMetricAlertSubscription.json" }, - "Create or update a dynamic alert rule for Single Resource": { "$ref": "./examples/createOrUpdateDynamicMetricAlertSingleResource.json" }, - "Create or update a dynamic alert rule for Multiple Resources": { "$ref": "./examples/createOrUpdateDynamicMetricAlertMultipleResource.json" } + "Create or update an alert rule for Single Resource": { + "$ref": "./examples/createOrUpdateMetricAlertSingleResource.json" + }, + "Create or update an alert rule for Multiple Resource": { + "$ref": "./examples/createOrUpdateMetricAlertMultipleResource.json" + }, + "Create or update an alert rule on Resource group(s)": { + "$ref": "./examples/createOrUpdateMetricAlertResourceGroup.json" + }, + "Create or update an alert rule on Subscription ": { + "$ref": "./examples/createOrUpdateMetricAlertSubscription.json" + }, + "Create or update a dynamic alert rule for Single Resource": { + "$ref": "./examples/createOrUpdateDynamicMetricAlertSingleResource.json" + }, + "Create or update a dynamic alert rule for Multiple Resources": { + "$ref": "./examples/createOrUpdateDynamicMetricAlertMultipleResource.json" + } } }, "patch": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Update an metric alert definition.", "operationId": "MetricAlerts_Update", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, { "name": "parameters", "in": "body", @@ -190,22 +276,36 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Create or update an alert rule": { "$ref": "./examples/UpdateMetricAlert.json" } + "Create or update an alert rule": { + "$ref": "./examples/UpdateMetricAlert.json" + } } }, "delete": { - "tags": [ "MetricAlerts" ], + "tags": [ + "MetricAlerts" + ], "description": "Delete an alert rule definition.", "operationId": "MetricAlerts_Delete", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "204": { @@ -216,20 +316,32 @@ } }, "x-ms-examples": { - "Delete an alert rule": { "$ref": "./examples/deleteMetricAlert.json" } + "Delete an alert rule": { + "$ref": "./examples/deleteMetricAlert.json" + } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status": { "get": { - "tags": [ "MetricAlertsStatus" ], + "tags": [ + "MetricAlertsStatus" + ], "description": "Retrieve an alert rule status.", "operationId": "MetricAlertsStatus_List", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "200": { @@ -240,25 +352,41 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Get an alert rule status": { "$ref": "./examples/getMetricAlertStatus.json" } + "Get an alert rule status": { + "$ref": "./examples/getMetricAlertStatus.json" + } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status/{statusName}": { "get": { - "tags": [ "MetricAlertsStatus" ], + "tags": [ + "MetricAlertsStatus" + ], "description": "Retrieve an alert rule status.", "operationId": "MetricAlertsStatus_ListByName", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/StatusNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/StatusNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } ], "responses": { "200": { @@ -269,11 +397,15 @@ }, "default": { "description": "BadRequest", - "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" } + "schema": { + "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Get an alert rule status": { "$ref": "./examples/getMetricAlertStatusByName.json" } + "Get an alert rule status": { + "$ref": "./examples/getMetricAlertStatusByName.json" + } } } } @@ -373,13 +505,13 @@ "format": "duration", "description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold." }, - "targetResourceType" :{ - "type" : "string", - "description" : "the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria." + "targetResourceType": { + "type": "string", + "description": "the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria." }, - "targetResourceRegion" : { - "type" : "string", - "description" : "the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria." + "targetResourceRegion": { + "type": "string", + "description": "the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria." }, "criteria": { "$ref": "#/definitions/MetricAlertCriteria", @@ -387,7 +519,7 @@ }, "autoMitigate": { "type": "boolean", - "description":"the flag that indicates whether the alert should be auto resolved or not." + "description": "the flag that indicates whether the alert should be auto resolved or not." }, "actions": { "type": "array", @@ -510,7 +642,7 @@ "MetricAlertCriteria": { "type": "object", "additionalProperties": { - "type": "object" + "type": "object" }, "discriminator": "odata.type", "properties": { @@ -526,7 +658,9 @@ "description": "specifies the type of the alert criteria." } }, - "required": [ "odata.type" ], + "required": [ + "odata.type" + ], "description": "The rule criteria that defines the conditions of the alert rule." }, "MetricAlertSingleResourceMultipleMetricCriteria": { @@ -556,7 +690,7 @@ "$ref": "#/definitions/MultiMetricCriteria" } ], - "required": [ + "required": [ "operator", "threshold" ], @@ -578,7 +712,7 @@ }, "threshold": { "type": "number", - "format": "double", + "format": "double", "description": "the criteria threshold value that activates the alert." } }, @@ -609,19 +743,19 @@ }, "description": "Specifies a metric dimension." }, - "MetricAlertMultipleResourceMultipleMetricCriteria":{ + "MetricAlertMultipleResourceMultipleMetricCriteria": { "x-ms-discriminator-value": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", "type": "object", - "allOf":[ + "allOf": [ { - "$ref":"#/definitions/MetricAlertCriteria" + "$ref": "#/definitions/MetricAlertCriteria" } ], - "properties":{ - "allOf":{ + "properties": { + "allOf": { "type": "array", - "items":{ - "$ref":"#/definitions/MultiMetricCriteria" + "items": { + "$ref": "#/definitions/MultiMetricCriteria" }, "description": "the list of multiple metric criteria for this 'all of' operation. " } @@ -633,18 +767,18 @@ "additionalProperties": { "type": "object" }, - "discriminator":"criterionType", - "properties":{ - "criterionType" : { - "enum":[ - "StaticThresholdCriterion", - "DynamicThresholdCriterion" + "discriminator": "criterionType", + "properties": { + "criterionType": { + "enum": [ + "StaticThresholdCriterion", + "DynamicThresholdCriterion" ], - "x-ms-enum" : { - "name" : "criterionType", + "x-ms-enum": { + "name": "criterionType", "modelAsString": true }, - "description":" Specifies the type of threshold criteria" + "description": "Specifies the type of threshold criteria" }, "name": { "type": "string", @@ -679,10 +813,15 @@ "description": "List of dimension conditions." } }, - "required": [ "criterionType", "name", "metricName", "timeAggregation" ], + "required": [ + "criterionType", + "name", + "metricName", + "timeAggregation" + ], "description": "The types of conditions for a multi resource alert." }, - "DynamicMetricCriteria" : { + "DynamicMetricCriteria": { "x-ms-discriminator-value": "DynamicThresholdCriterion", "type": "object", "allOf": [ @@ -690,7 +829,7 @@ "$ref": "#/definitions/MultiMetricCriteria" } ], - "required": [ + "required": [ "operator", "alertSensitivity", "failingPeriods" @@ -709,31 +848,31 @@ "description": "The operator used to compare the metric value against the threshold." }, "alertSensitivity": { - "enum" : [ + "enum": [ "Low", "Medium", "High" ], - "x-ms-enum" : { - "name" : "DynamicThresholdSensitivity", + "x-ms-enum": { + "name": "DynamicThresholdSensitivity", "modelAsString": true }, "description": "The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern." }, - "failingPeriods" : { - "type" : "object", - "$ref" : "#/definitions/DynamicThresholdFailingPeriods", - "description" : "The minimum number of violations required within the selected lookback time window required to raise an alert." + "failingPeriods": { + "type": "object", + "$ref": "#/definitions/DynamicThresholdFailingPeriods", + "description": "The minimum number of violations required within the selected lookback time window required to raise an alert." }, - "ignoreDataBefore" : { - "type" : "string", + "ignoreDataBefore": { + "type": "string", "format": "date-time", - "description" :"Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)" + "description": "Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)" } }, "description": "Criterion for dynamic threshold." }, - "DynamicThresholdFailingPeriods" : { + "DynamicThresholdFailingPeriods": { "required": [ "numberOfEvaluationPeriods", "minFailingPeriodsToAlert" diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json index 3c75479ee262..7d133e6c23b8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json @@ -6,7 +6,7 @@ "api-version": "2018-04-16", "parameters": { "location": "West Europe", - "tags": { }, + "tags": {}, "properties": { "description": "log to metric description", "enabled": "true", @@ -33,7 +33,7 @@ "name": "logtometricfoo", "type": "microsoft.insights/scheduledqueryrules", "location": "westeurope", - "tags": { }, + "tags": {}, "properties": { "description": "log to metric description", "displayName": "logtometricfoo", @@ -64,7 +64,7 @@ "name": "logtometricfoo", "type": "microsoft.insights/scheduledqueryrules", "location": "westeurope", - "tags": { }, + "tags": {}, "properties": { "description": "log to metric description", "enabled": "true", @@ -88,4 +88,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json index bd449c2b5479..da4ba2df9eb5 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json @@ -6,7 +6,7 @@ "api-version": "2018-04-16", "parameters": { "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "true", @@ -51,7 +51,7 @@ "name": "logalertfoo", "type": "Microsoft.Insights/scheduledQueryRules", "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "true", @@ -95,7 +95,7 @@ "name": "logalertfoo", "type": "Microsoft.Insights/scheduledQueryRules", "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "true", @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json index 464d745e7c53..4f39938e4eec 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json @@ -6,7 +6,7 @@ "api-version": "2018-04-16", "parameters": { "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "Sample Cross Resource alert", "enabled": "true", @@ -26,7 +26,9 @@ "action": { "severity": "3", "aznsAction": { - "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ], + "actionGroup": [ + "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" + ], "emailSubject": "Cross Resource Mail!!" }, "trigger": { @@ -46,7 +48,7 @@ "name": "SampleCrossResourceAlert", "type": "Microsoft.Insights/scheduledQueryRules", "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "Sample Cross Resource alert", "enabled": "true", @@ -68,7 +70,9 @@ "action": { "severity": "3", "aznsAction": { - "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ], + "actionGroup": [ + "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" + ], "emailSubject": "Cross Resource Mail!!" }, "trigger": { @@ -87,7 +91,7 @@ "name": "SampleCrossResourceAlert", "type": "Microsoft.Insights/scheduledQueryRules", "location": "eastus", - "tags": { }, + "tags": {}, "properties": { "description": "Sample Cross Resource alert", "enabled": "true", @@ -109,7 +113,9 @@ "action": { "severity": "3", "aznsAction": { - "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ], + "actionGroup": [ + "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" + ], "emailSubject": "Cross Resource Mail!!" }, "trigger": { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json index f9fba36800dd..a4c920963d87 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json @@ -15,4 +15,4 @@ "body": null } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json index 6209f950f657..ae3256f4e092 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json @@ -13,7 +13,7 @@ "name": "logalertfoo", "type": "Microsoft.Insights/scheduledQueryRules", "location": "West US", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "true", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json index d07a6c2a311a..28e33b126d63 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json @@ -14,7 +14,7 @@ "name": "logalertfoo", "type": "Microsoft.Insights/scheduledQueryRules", "location": "West US", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "false", @@ -55,7 +55,7 @@ "name": "logalertfoo", "type": "Microsoft.Insights/scheduledQueryRules", "location": "West US", - "tags": { }, + "tags": {}, "properties": { "description": "log alert description", "enabled": "true", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json index 57dad457a726..e39dca56bcb6 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json @@ -85,9 +85,15 @@ } }, "x-ms-examples": { - "Create or Update rule - AlertingAction": { "$ref": "./examples/createOrUpdateScheduledQueryRules.json" }, - "Create or Update rule - AlertingAction with Cross-Resource": { "$ref": "./examples/createOrUpdateScheduledQueryRuleswithCrossResource.json" }, - "Create or Update rule - LogToMetricAction": { "$ref": "./examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json" } + "Create or Update rule - AlertingAction": { + "$ref": "./examples/createOrUpdateScheduledQueryRules.json" + }, + "Create or Update rule - AlertingAction with Cross-Resource": { + "$ref": "./examples/createOrUpdateScheduledQueryRuleswithCrossResource.json" + }, + "Create or Update rule - LogToMetricAction": { + "$ref": "./examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json" + } } }, "get": { @@ -125,18 +131,30 @@ } }, "x-ms-examples": { - "Get rule": { "$ref": "./examples/getScheduledQueryRules.json" } + "Get rule": { + "$ref": "./examples/getScheduledQueryRules.json" + } } }, "patch": { - "tags": [ "scheduledQueryRules" ], + "tags": [ + "scheduledQueryRules" + ], "description": "Update log search Rule.", "operationId": "ScheduledQueryRules_Update", "parameters": [ - { "$ref": "#/parameters/SubscriptionIdParameter" }, - { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { "$ref": "#/parameters/RuleNameParameter" }, - { "$ref": "#/parameters/ApiVersionParameter" }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, { "name": "parameters", "in": "body", @@ -162,7 +180,9 @@ } }, "x-ms-examples": { - "Patch Log Search Rule": { "$ref": "./examples/patchScheduledQueryRules.json" } + "Patch Log Search Rule": { + "$ref": "./examples/patchScheduledQueryRules.json" + } } }, "delete": { @@ -200,7 +220,9 @@ } }, "x-ms-examples": { - "Delete rule": { "$ref": "./examples/deleteScheduledQueryRules.json" } + "Delete rule": { + "$ref": "./examples/deleteScheduledQueryRules.json" + } } } }, @@ -240,7 +262,9 @@ "nextLinkName": null }, "x-ms-examples": { - "List rules": { "$ref": "./examples/listScheduledQueryRules.json" } + "List rules": { + "$ref": "./examples/listScheduledQueryRules.json" + } }, "x-ms-odata": "#/definitions/LogSearchRuleResource" } @@ -284,14 +308,16 @@ "nextLinkName": null }, "x-ms-examples": { - "List rules": { "$ref": "./examples/listScheduledQueryRules.json" } + "List rules": { + "$ref": "./examples/listScheduledQueryRules.json" + } }, "x-ms-odata": "#/definitions/LogSearchRuleResource" } } }, "definitions": { - "Resource": { + "Resource": { "properties": { "id": { "type": "string", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json index 586975d5f55c..d997d59945fb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json @@ -1,832 +1,832 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Action Groups API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-09-01" + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2018-09-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { - "put": { - "description": "Create a new action group or update an existing one.", - "operationId": "ActionGroups_CreateOrUpdate", - "x-ms-examples": { - "Create or update an action group": { - "$ref": "./examples/createOrUpdateActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "actionGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The action group to create or use for the update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "201": { - "description": "A new action group was successfully created.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an action group.", - "operationId": "ActionGroups_Get", - "x-ms-examples": { - "Get an action group": { - "$ref": "./examples/getActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an action group.", - "operationId": "ActionGroups_Delete", - "x-ms-examples": { - "Delete an action group": { - "$ref": "./examples/deleteActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The action group was successfully deleted." - }, - "204": { - "description": "The action group does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the action group could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" }, - "patch": { - "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActionGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "actionGroupPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - } - }, - "x-ms-examples": { - "Patch an action group": { - "$ref": "./examples/patchActionGroup.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a subscription.", - "operationId": "ActionGroups_ListBySubscriptionId", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a resource group.", - "operationId": "ActionGroups_ListByResourceGroup", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { - "post": { - "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", - "operationId": "ActionGroups_EnableReceiver", - "x-ms-examples": { - "Enable the receiver": { - "$ref": "./examples/enableReceiver.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "enableRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EnableRequest" - }, - "description": "The receiver to re-enable." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The receiver was successfully enabled." - }, - "409": { - "description": "The receiver is already enabled in the action group." - }, - "default": { - "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ActionGroupResource": { - "description": "An action group resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroup", - "description": "The action groups properties of the resource." - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "ActionGroupList": { - "description": "A list of action groups.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The list of action groups." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } }, - "ActionGroup": { - "description": "An Azure action group.", - "properties": { - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "emailReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - }, - "description": "The list of email receivers that are part of this action group." - }, - "smsReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - }, - "description": "The list of SMS receivers that are part of this action group." - }, - "webhookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - }, - "description": "The list of webhook receivers that are part of this action group." - }, - "itsmReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - }, - "description": "The list of ITSM receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - }, - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "automationRunbookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - }, - "description": "The list of AutomationRunbook receivers that are part of this action group." - }, - "voiceReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/VoiceReceiver" - }, - "description": "The list of voice receivers that are part of this action group." - }, - "logicAppReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/LogicAppReceiver" - }, - "description": "The list of logic app receivers that are part of this action group." - }, - "azureFunctionReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureFunctionReceiver" - }, - "description": "The list of azure function receivers that are part of this action group." - }, - "armRoleReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ArmRoleReceiver" - }, - "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." - } - }, - "required": [ - "groupShortName", - "enabled" - ] - }, - "EmailReceiver": { - "description": "An email receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The receiver status of the e-mail." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "SmsReceiver": { - "description": "An SMS receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The status of the receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "WebhookReceiver": { - "description": "A webhook receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "name", - "serviceUri" - ] - }, - "ItsmReceiver": { - "description": "An Itsm receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - }, - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - } - }, - "required": [ - "name", - "workspaceId", - "connectionId", - "ticketConfiguration", - "region" - ] - }, - "AzureAppPushReceiver": { - "description": "The Azure mobile App push notification receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "AutomationRunbookReceiver": { - "description": "The Azure Automation Runbook notification receiver.", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - }, - "isGlobalRunbook": { - "type": "boolean", - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - } - }, - "required": [ - "automationAccountId", - "runbookName", - "webhookResourceId", - "isGlobalRunbook" - ] - }, - "VoiceReceiver": { - "description": "A voice receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the voice receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the voice receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "LogicAppReceiver": { - "description": "A logic app receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." - }, - "resourceId": { - "type": "string", - "description": "The azure resource id of the logic app receiver." - }, - "callbackUrl": { - "type": "string", - "description": "The callback url where http request sent to." - } - }, - "required": [ - "name", - "resourceId", - "callbackUrl" - ] - }, - "AzureFunctionReceiver": { - "description": "An azure function receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." - }, - "functionAppResourceId": { - "type": "string", - "description": "The azure resource id of the function app." - }, - "functionName": { - "type": "string", - "description": "The function name in the function app." - }, - "httpTriggerUrl": { - "type": "string", - "description": "The http trigger url where http request sent to." - } - }, - "required": [ - "name", - "functionAppResourceId", - "functionName", - "httpTriggerUrl" - ] - }, - "ArmRoleReceiver": { - "description": "An arm role receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." - }, - "roleId": { - "type": "string", - "description": "The arm role id." - } - }, - "required": [ - "name", - "roleId" - ] - }, - "ReceiverStatus": { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ReceiverStatus", - "modelAsString": false - }, - "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." - }, - "EnableRequest": { - "description": "Describes a receiver that should be resubscribed.", - "properties": { - "receiverName": { - "type": "string", - "description": "The name of the receiver to resubscribe." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" }, - "required": [ - "receiverName" - ] - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActionGroupPatchBody": { - "description": "An action group object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroupPatch", - "description": "The action group settings for an update operation." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActionGroupPatch": { - "description": "An Azure action group for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." }, - "ActionGroupNameParameter": { - "name": "actionGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the action group.", - "x-ms-parameter-location": "method" + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + }, + "voiceReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceReceiver" + }, + "description": "The list of voice receivers that are part of this action group." + }, + "logicAppReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/LogicAppReceiver" + }, + "description": "The list of logic app receivers that are part of this action group." + }, + "azureFunctionReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFunctionReceiver" + }, + "description": "The list of azure function receivers that are part of this action group." + }, + "armRoleReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ArmRoleReceiver" + }, + "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." + } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + } + }, + "required": [ + "name", + "serviceUri" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" + } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook" + ] + }, + "VoiceReceiver": { + "description": "A voice receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the voice receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the voice receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "LogicAppReceiver": { + "description": "A logic app receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." + }, + "resourceId": { + "type": "string", + "description": "The azure resource id of the logic app receiver." + }, + "callbackUrl": { + "type": "string", + "description": "The callback url where http request sent to." + } + }, + "required": [ + "name", + "resourceId", + "callbackUrl" + ] + }, + "AzureFunctionReceiver": { + "description": "An azure function receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." + }, + "functionAppResourceId": { + "type": "string", + "description": "The azure resource id of the function app." + }, + "functionName": { + "type": "string", + "description": "The function name in the function app." + }, + "httpTriggerUrl": { + "type": "string", + "description": "The http trigger url where http request sent to." + } + }, + "required": [ + "name", + "functionAppResourceId", + "functionName", + "httpTriggerUrl" + ] + }, + "ArmRoleReceiver": { + "description": "An arm role receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." + }, + "roleId": { + "type": "string", + "description": "The arm role id." + } + }, + "required": [ + "name", + "roleId" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json index fa616c4edb22..fbf213aaa465 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json @@ -1,404 +1,416 @@ { - "swagger": "2.0", - "info": { - "title": "MonitorManagementClient", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-09-01" + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2018-09-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": { - "get": { - "tags": [ - "Baseline" - ], - "operationId": "MetricBaseline_Get", - "description": "**Gets the baseline values for a specific metric**.", - "parameters": [ - { - "$ref": "#/parameters/ExtendedResourceUriParameter" - }, - { - "$ref": "#/parameters/MetricNameParameter" - }, - { - "$ref": "#/parameters/TimespanParameter" - }, - { - "$ref": "#/parameters/IntervalParameter" - }, - { - "$ref": "#/parameters/AggregationParameter" - }, - { - "$ref": "#/parameters/SensitivitiesParameter" - }, - { - "$ref": "#/parameters/BaselineResultTypeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetricNamespaceParameter" - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.", - "required": false - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric values.", - "schema": { - "$ref": "#/definitions/BaselineResponse" - } - } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": { + "get": { + "tags": [ + "Baseline" + ], + "operationId": "MetricBaseline_Get", + "description": "**Gets the baseline values for a specific metric**.", + "parameters": [ + { + "$ref": "#/parameters/ExtendedResourceUriParameter" }, - "x-ms-examples": { - "Get Metric for data": { "$ref": "./examples/GetBaseline.json" }, - "Get Metric for metadata": { "$ref": "./examples/GetBaselineMetadata.json" } - } - } - }, - "/{resourceUri}/providers/microsoft.insights/baseline": { - "get": { - "tags": [ - "Baseline" - ], - "operationId": "Baseline_Get", - "description": "**Gets the baseline values for a resource**.", - "parameters": [ - { - "$ref": "#/parameters/ExtendedResourceUriParameter" - }, - { - "$ref": "#/parameters/MetricNamesParameter" - }, - { - "$ref": "#/parameters/TimespanParameter" - }, - { - "$ref": "#/parameters/IntervalParameter" - }, - { - "$ref": "#/parameters/AggregationParameter" - }, - { - "$ref": "#/parameters/SensitivitiesParameter" - }, - { - "$ref": "#/parameters/BaselineResultTypeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetricNamespaceParameter" - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.", - "required": false - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric values.", - "schema": { - "$ref": "#/definitions/BaselineResponse" - } - } + { + "$ref": "#/parameters/MetricNameParameter" }, - "x-ms-examples": { - "Get Metric for data": { "$ref": "./examples/GetBaseline.json" } - } - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "The invariant value." + { + "$ref": "#/parameters/TimespanParameter" + }, + { + "$ref": "#/parameters/IntervalParameter" + }, + { + "$ref": "#/parameters/AggregationParameter" + }, + { + "$ref": "#/parameters/SensitivitiesParameter" + }, + { + "$ref": "#/parameters/BaselineResultTypeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, - "localizedValue": { + { + "$ref": "#/parameters/MetricNamespaceParameter" + }, + { + "name": "$filter", + "in": "query", "type": "string", - "description": "The locale specific value." + "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.", + "required": false } - }, - "description": "The localizable string class." - }, - "BaselineMetadataValue": { - "properties": { - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "The name of the metadata." + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } }, - "value": { - "type": "string", - "description": "The value of the metadata." + "200": { + "description": "Successful request to get the list of metric values.", + "schema": { + "$ref": "#/definitions/BaselineResponse" + } } }, - "description": "Represents a baseline metadata value." - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" + "x-ms-examples": { + "Get Metric for data": { + "$ref": "./examples/GetBaseline.json" }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" + "Get Metric for metadata": { + "$ref": "./examples/GetBaselineMetadata.json" } } - }, - "BaselineResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The metric baseline ID." + } + }, + "/{resourceUri}/providers/microsoft.insights/baseline": { + "get": { + "tags": [ + "Baseline" + ], + "operationId": "Baseline_Get", + "description": "**Gets the baseline values for a resource**.", + "parameters": [ + { + "$ref": "#/parameters/ExtendedResourceUriParameter" }, - "type": { - "type": "string", - "readOnly": true, - "description": "The resource type of the baseline resource." + { + "$ref": "#/parameters/MetricNamesParameter" }, - "name": { - "$ref": "#/definitions/LocalizableString", - "readOnly": true, - "description": "The name and the display name of the metric, i.e. it is localizable string." + { + "$ref": "#/parameters/TimespanParameter" }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BaselineProperties", - "description": "The properties of the baseline." - } - }, - "description": "The response to a baseline query." - }, - "BaselineProperties": { - "properties": { - "timespan": { - "type": "string", - "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." + { + "$ref": "#/parameters/IntervalParameter" }, - "interval": { - "type": "string", - "format": "duration", - "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." + { + "$ref": "#/parameters/AggregationParameter" }, - "aggregation": { - "type": "string", - "description": "The aggregation type of the metric." + { + "$ref": "#/parameters/SensitivitiesParameter" }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "The timestamp for the baseline value in ISO 8601 format." - }, - "description": "The array of timestamps of the baselines." + { + "$ref": "#/parameters/BaselineResultTypeParameter" }, - "baseline": { - "type": "array", - "items": { - "$ref": "#/definitions/Baseline" - }, - "description": "The baseline values for each sensitivity." + { + "$ref": "#/parameters/ApiVersionParameter" }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/BaselineMetadataValue" - }, - "description": "The baseline metadata values." - } - }, - "description": "The baseline properties class." - }, - "Baseline": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ], - "x-ms-enum": { - "name": "Sensitivity", - "modelAsString": false - }, - "description": "The sensitivity of the baseline." + { + "$ref": "#/parameters/MetricNamespaceParameter" }, - "lowThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single low threshold value." - }, - "description": "The low thresholds of the baseline." + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.", + "required": false + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } }, - "highThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single high threshold value." - }, - "description": "The high thresholds of the baseline." + "200": { + "description": "Successful request to get the list of metric values.", + "schema": { + "$ref": "#/definitions/BaselineResponse" + } } }, - "required": [ "sensitivity", "lowThresholds", "highThresholds" ], - "description": "The baseline values for a single sensitivity value." + "x-ms-examples": { + "Get Metric for data": { + "$ref": "./examples/GetBaseline.json" + } + } } - }, - "parameters": { - "ExtendedResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - }, - "MetricNameParameter": { - "name": "metricName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the metric to retrieve the baseline for.", - "x-ms-parameter-location": "method" - }, - "TimespanParameter": { - "name": "timespan", - "in": "query", - "required": false, - "type": "string", - "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", - "x-ms-parameter-location": "method" - }, - "IntervalParameter": { - "name": "interval", - "in": "query", - "required": false, - "type": "string", - "format": "duration", - "description": "The interval (i.e. timegrain) of the query.", - "x-ms-parameter-location": "method" + } + }, + "definitions": { + "LocalizableString": { + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The invariant value." + }, + "localizedValue": { + "type": "string", + "description": "The locale specific value." + } }, - "MetricNamesParameter": { - "name": "metricnames", - "in": "query", - "required": false, - "type": "string", - "description": "The names of the metrics (comma separated) to retrieve.", - "x-ms-parameter-location": "method" + "description": "The localizable string class." + }, + "BaselineMetadataValue": { + "properties": { + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "The name of the metadata." + }, + "value": { + "type": "string", + "description": "The value of the metadata." + } }, - "AggregationParameter": { - "name": "aggregation", - "in": "query", - "required": false, - "type": "string", - "description": "The aggregation type of the metric to retrieve the baseline for.", - "x-ms-parameter-location": "method" + "description": "Represents a baseline metadata value." + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "BaselineResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The metric baseline ID." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type of the baseline resource." + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "readOnly": true, + "description": "The name and the display name of the metric, i.e. it is localizable string." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BaselineProperties", + "description": "The properties of the baseline." + } }, - "SensitivitiesParameter": { - "name": "sensitivities", - "in": "query", - "required": false, - "type": "string", - "description": "The list of sensitivities (comma separated) to retrieve.", - "x-ms-parameter-location": "method" + "description": "The response to a baseline query." + }, + "BaselineProperties": { + "properties": { + "timespan": { + "type": "string", + "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." + }, + "interval": { + "type": "string", + "format": "duration", + "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." + }, + "aggregation": { + "type": "string", + "description": "The aggregation type of the metric." + }, + "timestamps": { + "type": "array", + "items": { + "type": "string", + "format": "date-time", + "description": "The timestamp for the baseline value in ISO 8601 format." + }, + "description": "The array of timestamps of the baselines." + }, + "baseline": { + "type": "array", + "items": { + "$ref": "#/definitions/Baseline" + }, + "description": "The baseline values for each sensitivity." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/BaselineMetadataValue" + }, + "description": "The baseline metadata values." + } }, - "BaselineResultTypeParameter": { - "name": "resultType", - "in": "query", - "type": "string", - "enum": [ - "Data", - "Metadata" - ], - "x-ms-enum": { - "name": "ResultType", - "modelAsString": false + "description": "The baseline properties class." + }, + "Baseline": { + "type": "object", + "properties": { + "sensitivity": { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "Sensitivity", + "modelAsString": false + }, + "description": "The sensitivity of the baseline." + }, + "lowThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single low threshold value." + }, + "description": "The low thresholds of the baseline." }, - "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", - "x-ms-parameter-location": "method", - "required": false + "highThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single high threshold value." + }, + "description": "The high thresholds of the baseline." + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "required": [ + "sensitivity", + "lowThresholds", + "highThresholds" + ], + "description": "The baseline values for a single sensitivity value." + } + }, + "parameters": { + "ExtendedResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "MetricNameParameter": { + "name": "metricName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the metric to retrieve the baseline for.", + "x-ms-parameter-location": "method" + }, + "TimespanParameter": { + "name": "timespan", + "in": "query", + "required": false, + "type": "string", + "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", + "x-ms-parameter-location": "method" + }, + "IntervalParameter": { + "name": "interval", + "in": "query", + "required": false, + "type": "string", + "format": "duration", + "description": "The interval (i.e. timegrain) of the query.", + "x-ms-parameter-location": "method" + }, + "MetricNamesParameter": { + "name": "metricnames", + "in": "query", + "required": false, + "type": "string", + "description": "The names of the metrics (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "AggregationParameter": { + "name": "aggregation", + "in": "query", + "required": false, + "type": "string", + "description": "The aggregation type of the metric to retrieve the baseline for.", + "x-ms-parameter-location": "method" + }, + "SensitivitiesParameter": { + "name": "sensitivities", + "in": "query", + "required": false, + "type": "string", + "description": "The list of sensitivities (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "BaselineResultTypeParameter": { + "name": "resultType", + "in": "query", + "type": "string", + "enum": [ + "Data", + "Metadata" + ], + "x-ms-enum": { + "name": "ResultType", + "modelAsString": false }, - "MetricNamespaceParameter": { - "name": "metricnamespace", - "in": "query", - "required": false, - "type": "string", - "description": "Metric namespace to query metric definitions for.", - "x-ms-parameter-location": "method" - } + "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", + "x-ms-parameter-location": "method", + "required": false + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "MetricNamespaceParameter": { + "name": "metricnamespace", + "in": "query", + "required": false, + "type": "string", + "description": "Metric namespace to query metric definitions for.", + "x-ms-parameter-location": "method" } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json index c6e0e614c5e5..39ba5120dd9e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json @@ -1,214 +1,226 @@ { - "swagger": "2.0", - "info": { - "title": "MonitorManagementClient", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2018-09-01" + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2018-09-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/calculatebaseline": { - "post": { - "tags": [ - "Baseline" - ], - "operationId": "MetricBaseline_CalculateBaseline", - "description": "**Lists the baseline values for a resource**.", - "parameters": [ - { - "$ref": "#/parameters/ExtendedResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "TimeSeriesInformation", - "description": "Information that need to be specified to calculate a baseline on a time series.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TimeSeriesInformation" - } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/calculatebaseline": { + "post": { + "tags": [ + "Baseline" + ], + "operationId": "MetricBaseline_CalculateBaseline", + "description": "**Lists the baseline values for a resource**.", + "parameters": [ + { + "$ref": "#/parameters/ExtendedResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "TimeSeriesInformation", + "description": "Information that need to be specified to calculate a baseline on a time series.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TimeSeriesInformation" } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric values.", - "schema": { - "$ref": "#/definitions/CalculateBaselineResponse" - } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } }, - "x-ms-examples": { - "Calculate baseline": { "$ref": "./examples/CalculateBaseline.json" } + "200": { + "description": "Successful request to get the list of metric values.", + "schema": { + "$ref": "#/definitions/CalculateBaselineResponse" + } + } + }, + "x-ms-examples": { + "Calculate baseline": { + "$ref": "./examples/CalculateBaseline.json" } } } - }, - "definitions": { - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" } - }, - "TimeSeriesInformation": { - "properties": { - "sensitivities": { - "type": "array", - "items": { - "type": "string", - "description": "The requested sensitivity for calculating the baseline." - }, - "description": "The list of sensitivities for calculating the baseline." + } + }, + "TimeSeriesInformation": { + "properties": { + "sensitivities": { + "type": "array", + "items": { + "type": "string", + "description": "The requested sensitivity for calculating the baseline." }, - "values": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single metric value." - }, - "description": "The metric values to calculate the baseline." + "description": "The list of sensitivities for calculating the baseline." + }, + "values": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single metric value." }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "The timestamp for the baseline value in ISO 8601 format." - }, - "description": "The array of timestamps of the baselines." - } + "description": "The metric values to calculate the baseline." }, - "required": [ "sensitivities", "values" ], - "description": "The time series info needed for calculating the baseline." - }, - "CalculateBaselineResponse": { - "type": "object", - "properties": { - "type": { + "timestamps": { + "type": "array", + "items": { "type": "string", - "description": "The resource type of the baseline resource." + "format": "date-time", + "description": "The timestamp for the baseline value in ISO 8601 format." }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "The timestamp for the baseline value in ISO 8601 format." - }, - "description": "The array of timestamps of the baselines." + "description": "The array of timestamps of the baselines." + } + }, + "required": [ + "sensitivities", + "values" + ], + "description": "The time series info needed for calculating the baseline." + }, + "CalculateBaselineResponse": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource type of the baseline resource." + }, + "timestamps": { + "type": "array", + "items": { + "type": "string", + "format": "date-time", + "description": "The timestamp for the baseline value in ISO 8601 format." }, - "baseline": { - "type": "array", - "items": { - "$ref": "#/definitions/Baseline" - }, - "description": "The baseline values for each sensitivity." - } + "description": "The array of timestamps of the baselines." }, - "required": [ "type", "baseline" ], - "description": "The response to a calculate baseline call." + "baseline": { + "type": "array", + "items": { + "$ref": "#/definitions/Baseline" + }, + "description": "The baseline values for each sensitivity." + } }, - "Baseline": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ], - "x-ms-enum": { - "name": "Sensitivity", - "modelAsString": false - }, - "description": "The sensitivity of the baseline." + "required": [ + "type", + "baseline" + ], + "description": "The response to a calculate baseline call." + }, + "Baseline": { + "type": "object", + "properties": { + "sensitivity": { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "Sensitivity", + "modelAsString": false }, - "lowThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single low threshold value." - }, - "description": "The low thresholds of the baseline." + "description": "The sensitivity of the baseline." + }, + "lowThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single low threshold value." }, - "highThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single high threshold value." - }, - "description": "The high thresholds of the baseline." - } + "description": "The low thresholds of the baseline." }, - "required": [ "sensitivity", "lowThresholds", "highThresholds" ], - "description": "The baseline values for a single sensitivity value." - } - }, - "parameters": { - "ExtendedResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true + "highThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single high threshold value." + }, + "description": "The high thresholds of the baseline." + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } + "required": [ + "sensitivity", + "lowThresholds", + "highThresholds" + ], + "description": "The baseline values for a single sensitivity value." + } + }, + "parameters": { + "ExtendedResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json index f2e6c8a3a683..904f1d3a3ef7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json @@ -1,41 +1,47 @@ { - "parameters": { - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", - "api-version": "2018-09-01", - "TimeSeriesInformation": { - "sensitivities": ["Low", "Medium"], - "values": [61.0, 62.0] - } - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.Insights/calculatebaseline", - "baseline": [ - { - "sensitivity": "Low", - "lowThresholds": [ - 30.0, - 31.1 - ], - "highThresholds": [ - 90.3453, - 91.3453 - ] - }, - { - "sensitivity": "Medium", - "lowThresholds": [ - 50.0, - 51.1 - ], - "highThresholds": [ - 70.3453, - 71.3453 - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "api-version": "2018-09-01", + "TimeSeriesInformation": { + "sensitivities": [ + "Low", + "Medium" + ], + "values": [ + 61.0, + 62.0 + ] } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.Insights/calculatebaseline", + "baseline": [ + { + "sensitivity": "Low", + "lowThresholds": [ + 30.0, + 31.1 + ], + "highThresholds": [ + 90.3453, + 91.3453 + ] + }, + { + "sensitivity": "Medium", + "lowThresholds": [ + 50.0, + 51.1 + ], + "highThresholds": [ + 70.3453, + 71.3453 + ] + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json index 05f072f096e4..326d00ba4e6b 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json @@ -1,55 +1,55 @@ { - "parameters": { - "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metricName": "PercentageCpu", - "aggregation": "Average", - "interval": "PT1H", - "sensitivities": "Low,Medium", - "api-version": "2018-09-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", - "type": "Microsoft.Insights/baseline", - "name": { - "value": "PercentageCpu" - }, - "properties": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "aggregation": "Average", - "interval": "PT1H", - "timestamps": [ - "2017-04-14T02:20:00Z", - "2017-04-14T03:20:00Z" - ], - "baseline": [ - { - "sensitivity": "Low", - "lowThresholds": [ - 30.0, - 31.1 - ], - "highThresholds": [ - 90.3453, - 91.3453 - ] - }, - { - "sensitivity": "Medium", - "lowThresholds": [ - 50.0, - 51.1 - ], - "highThresholds": [ - 70.3453, - 71.3453 - ] - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metricName": "PercentageCpu", + "aggregation": "Average", + "interval": "PT1H", + "sensitivities": "Low,Medium", + "api-version": "2018-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", + "type": "Microsoft.Insights/baseline", + "name": { + "value": "PercentageCpu" + }, + "properties": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "aggregation": "Average", + "interval": "PT1H", + "timestamps": [ + "2017-04-14T02:20:00Z", + "2017-04-14T03:20:00Z" + ], + "baseline": [ + { + "sensitivity": "Low", + "lowThresholds": [ + 30.0, + 31.1 + ], + "highThresholds": [ + 90.3453, + 91.3453 + ] + }, + { + "sensitivity": "Medium", + "lowThresholds": [ + 50.0, + 51.1 + ], + "highThresholds": [ + 70.3453, + 71.3453 + ] + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json index 25bdf1d01df2..1af52e4488a8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json @@ -1,37 +1,37 @@ { - "parameters": { - "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metricName": "PercentageCpu", - "aggregation": "Average", - "interval": "PT1H", - "resulttype": "metadata", - "api-version": "2018-09-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", - "type": "Microsoft.Insights/baseline", - "name": { - "value": "PercentageCpu" - }, - "properties": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "aggregation": "Average", - "interval": "PT1H", - "metadata": [ - { - "name": "CurrentTrainingState", - "value": "Trained" - }, - { - "name": "SelectedModel", - "value": "AdjustedBoxplot" - } - ] - } - } + "parameters": { + "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "metricName": "PercentageCpu", + "aggregation": "Average", + "interval": "PT1H", + "resulttype": "metadata", + "api-version": "2018-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu", + "type": "Microsoft.Insights/baseline", + "name": { + "value": "PercentageCpu" + }, + "properties": { + "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "aggregation": "Average", + "interval": "PT1H", + "metadata": [ + { + "name": "CurrentTrainingState", + "value": "Trained" + }, + { + "name": "SelectedModel", + "value": "AdjustedBoxplot" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json index 5d79f314d84b..741971c63b8c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json @@ -1,297 +1,297 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-09-01", - "actionGroup": { - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-09-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" + } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" - } - ] - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d" - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==" - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" - } - ] - } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json index 3d7edcf8ebb6..d61e90614bce 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-08-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-08-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json index c57300b58fe7..cdf572ea5acb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-08-01", - "enableRequest": { - "receiverName": "John Doe's mobile" - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-08-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "409": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json index 6aa11ec2bdfc..d0b3e8101891 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json @@ -1,56 +1,56 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-08-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-08-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json index cbce7c57b919..11fcec5d6097 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json @@ -1,86 +1,86 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "api-version": "2018-03801" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled" - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup2", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample2", - "enabled": false, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - } - ], - "smsReceivers": [ - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [] - } - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2018-03801" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled" + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" + } + ] } - } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json index fe9df4fec5f0..4f0cdf66c70e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json @@ -1,62 +1,68 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2018-08-01", - "actionGroupPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2018-08-01", + "actionGroupPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled" + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled" } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled" - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled" - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook" - } - ] - } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json index ff39155ebae6..0f37312be577 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json @@ -1,862 +1,862 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Action Groups API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2019-03-01" + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2019-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { - "put": { - "description": "Create a new action group or update an existing one.", - "operationId": "ActionGroups_CreateOrUpdate", - "x-ms-examples": { - "Create or update an action group": { - "$ref": "./examples/createOrUpdateActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "actionGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The action group to create or use for the update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "201": { - "description": "A new action group was successfully created.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an action group.", - "operationId": "ActionGroups_Get", - "x-ms-examples": { - "Get an action group": { - "$ref": "./examples/getActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an action group.", - "operationId": "ActionGroups_Delete", - "x-ms-examples": { - "Delete an action group": { - "$ref": "./examples/deleteActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The action group was successfully deleted." - }, - "204": { - "description": "The action group does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the action group could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" }, - "patch": { - "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActionGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "actionGroupPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - } - }, - "x-ms-examples": { - "Patch an action group": { - "$ref": "./examples/patchActionGroup.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a subscription.", - "operationId": "ActionGroups_ListBySubscriptionId", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a resource group.", - "operationId": "ActionGroups_ListByResourceGroup", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { - "post": { - "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", - "operationId": "ActionGroups_EnableReceiver", - "x-ms-examples": { - "Enable the receiver": { - "$ref": "./examples/enableReceiver.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "enableRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EnableRequest" - }, - "description": "The receiver to re-enable." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The receiver was successfully enabled." - }, - "409": { - "description": "The receiver is already enabled in the action group." - }, - "default": { - "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ActionGroupResource": { - "description": "An action group resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroup", - "description": "The action groups properties of the resource." - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null }, - "ActionGroupList": { - "description": "A list of action groups.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The list of action groups." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } }, - "ActionGroup": { - "description": "An Azure action group.", - "properties": { - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "emailReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - }, - "description": "The list of email receivers that are part of this action group." - }, - "smsReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - }, - "description": "The list of SMS receivers that are part of this action group." - }, - "webhookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - }, - "description": "The list of webhook receivers that are part of this action group." - }, - "itsmReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - }, - "description": "The list of ITSM receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - }, - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "automationRunbookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - }, - "description": "The list of AutomationRunbook receivers that are part of this action group." - }, - "voiceReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/VoiceReceiver" - }, - "description": "The list of voice receivers that are part of this action group." - }, - "logicAppReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/LogicAppReceiver" - }, - "description": "The list of logic app receivers that are part of this action group." - }, - "azureFunctionReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureFunctionReceiver" - }, - "description": "The list of azure function receivers that are part of this action group." - }, - "armRoleReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ArmRoleReceiver" - }, - "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." - } - }, - "required": [ - "groupShortName", - "enabled" - ] - }, - "EmailReceiver": { - "description": "An email receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The receiver status of the e-mail." - } - }, - "required": [ - "name", - "emailAddress", - "useCommonAlertSchema" - ] - }, - "SmsReceiver": { - "description": "An SMS receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The status of the receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "WebhookReceiver": { - "description": "A webhook receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "serviceUri", - "useCommonAlertSchema" - ] - }, - "ItsmReceiver": { - "description": "An Itsm receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - }, - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - } - }, - "required": [ - "name", - "workspaceId", - "connectionId", - "ticketConfiguration", - "region" - ] - }, - "AzureAppPushReceiver": { - "description": "The Azure mobile App push notification receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "AutomationRunbookReceiver": { - "description": "The Azure Automation Runbook notification receiver.", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - }, - "isGlobalRunbook": { - "type": "boolean", - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "automationAccountId", - "runbookName", - "webhookResourceId", - "isGlobalRunbook", - "useCommonAlertSchema" - ] - }, - "VoiceReceiver": { - "description": "A voice receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the voice receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the voice receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "LogicAppReceiver": { - "description": "A logic app receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." - }, - "resourceId": { - "type": "string", - "description": "The azure resource id of the logic app receiver." - }, - "callbackUrl": { - "type": "string", - "description": "The callback url where http request sent to." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "resourceId", - "callbackUrl", - "useCommonAlertSchema" - ] - }, - "AzureFunctionReceiver": { - "description": "An azure function receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." - }, - "functionAppResourceId": { - "type": "string", - "description": "The azure resource id of the function app." - }, - "functionName": { - "type": "string", - "description": "The function name in the function app." - }, - "httpTriggerUrl": { - "type": "string", - "description": "The http trigger url where http request sent to." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "functionAppResourceId", - "functionName", - "httpTriggerUrl", - "useCommonAlertSchema" - ] - }, - "ArmRoleReceiver": { - "description": "An arm role receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." - }, - "roleId": { - "type": "string", - "description": "The arm role id." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "roleId", - "useCommonAlertSchema" - ] - }, - "ReceiverStatus": { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ReceiverStatus", - "modelAsString": false - }, - "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." - }, - "EnableRequest": { - "description": "Describes a receiver that should be resubscribed.", - "properties": { - "receiverName": { - "type": "string", - "description": "The name of the receiver to resubscribe." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" }, - "required": [ - "receiverName" - ] - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActionGroupPatchBody": { - "description": "An action group object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroupPatch", - "description": "The action group settings for an update operation." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActionGroupPatch": { - "description": "An Azure action group for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." }, - "ActionGroupNameParameter": { - "name": "actionGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the action group.", - "x-ms-parameter-location": "method" + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + }, + "voiceReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceReceiver" + }, + "description": "The list of voice receivers that are part of this action group." + }, + "logicAppReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/LogicAppReceiver" + }, + "description": "The list of logic app receivers that are part of this action group." + }, + "azureFunctionReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFunctionReceiver" + }, + "description": "The list of azure function receivers that are part of this action group." + }, + "armRoleReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ArmRoleReceiver" + }, + "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." + } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress", + "useCommonAlertSchema" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "serviceUri", + "useCommonAlertSchema" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" + } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook", + "useCommonAlertSchema" + ] + }, + "VoiceReceiver": { + "description": "A voice receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the voice receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the voice receiver." } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "LogicAppReceiver": { + "description": "A logic app receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." + }, + "resourceId": { + "type": "string", + "description": "The azure resource id of the logic app receiver." + }, + "callbackUrl": { + "type": "string", + "description": "The callback url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "resourceId", + "callbackUrl", + "useCommonAlertSchema" + ] + }, + "AzureFunctionReceiver": { + "description": "An azure function receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." + }, + "functionAppResourceId": { + "type": "string", + "description": "The azure resource id of the function app." + }, + "functionName": { + "type": "string", + "description": "The function name in the function app." + }, + "httpTriggerUrl": { + "type": "string", + "description": "The http trigger url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "functionAppResourceId", + "functionName", + "httpTriggerUrl", + "useCommonAlertSchema" + ] + }, + "ArmRoleReceiver": { + "description": "An arm role receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." + }, + "roleId": { + "type": "string", + "description": "The arm role id." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "roleId", + "useCommonAlertSchema" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json index 775a40ca8790..f6204525c10f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json @@ -1,318 +1,318 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-03-01", - "actionGroup": { - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": true - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-03-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": true + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": true + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": true - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": true + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": true - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] - } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json index 3f5e257870b3..e35e083e4ebb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-03-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json index 460f6864c0eb..4fb78fcca51d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-03-01", - "enableRequest": { - "receiverName": "John Doe's mobile" - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-03-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "409": { + "headers": {}, + "body": null } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json index 2896dd13117d..538e192f52bf 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json @@ -1,59 +1,59 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - } - ] - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json index 30bec9bfa7ea..9058cf7afdf3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json @@ -1,90 +1,90 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - } - ] - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup2", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample2", - "enabled": false, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [] - } - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + } + ] } - } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json index 788b72e76039..b44b5b9bffbf 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json @@ -1,55 +1,73 @@ { - "parameters": { - "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", - "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z", - "metricName": "Percentage Cpu", - "aggregation": "average", - "interval": "PT1H", - "sensitivities": "Low,Medium", - "api-version": "2019-03-01" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/11aeb0ed-456b-4ca0-8df5-b9fbdc63d0d3/resourceGroups/SmartAnalytics-DEV-VM/providers/Microsoft.Compute/virtualMachines/DemoVM1/providers/microsoft.insights/metricBaselines/Percentage CPU", - "type": "microsoft.insights/metricBaselines", - "name": "Percentage CPU", - "properties": { - "interval": "PT1H", - "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z", - "namespace": "microsoft.compute/virtualmachines", - "baselines": [{ - "aggregation": "average", - "dimensions": [], - "metadata": [{ - "name": "ErrorType", - "value": "TooManyAnomalies" - }, - { - "name": "SeasonalityFrequency", - "value": "288" - }], - "timestamps": ["2019-03-12T11:00:00.000Z", - "2019-03-12T12:00:00.000Z"], - "data": [{ - "sensitivity": "Low", - "lowThresholds": [30.0, - 31.1], - "highThresholds": [90.3453, - 91.3453] - }, - { - "sensitivity": "Medium", - "lowThresholds": [50.0, - 51.1], - "highThresholds": [70.3453, - 71.3453] - }] - }] - } - }] - } - } + "parameters": { + "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1", + "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z", + "metricName": "Percentage Cpu", + "aggregation": "average", + "interval": "PT1H", + "sensitivities": "Low,Medium", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/11aeb0ed-456b-4ca0-8df5-b9fbdc63d0d3/resourceGroups/SmartAnalytics-DEV-VM/providers/Microsoft.Compute/virtualMachines/DemoVM1/providers/microsoft.insights/metricBaselines/Percentage CPU", + "type": "microsoft.insights/metricBaselines", + "name": "Percentage CPU", + "properties": { + "interval": "PT1H", + "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z", + "namespace": "microsoft.compute/virtualmachines", + "baselines": [ + { + "aggregation": "average", + "dimensions": [], + "metadata": [ + { + "name": "ErrorType", + "value": "TooManyAnomalies" + }, + { + "name": "SeasonalityFrequency", + "value": "288" + } + ], + "timestamps": [ + "2019-03-12T11:00:00.000Z", + "2019-03-12T12:00:00.000Z" + ], + "data": [ + { + "sensitivity": "Low", + "lowThresholds": [ + 30.0, + 31.1 + ], + "highThresholds": [ + 90.3453, + 91.3453 + ] + }, + { + "sensitivity": "Medium", + "lowThresholds": [ + 50.0, + 51.1 + ], + "highThresholds": [ + 70.3453, + 71.3453 + ] + } + ] + } + ] + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json index cea90dcf4195..ecfa69379297 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json @@ -1,65 +1,71 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-03-01", - "actionGroupPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-03-01", + "actionGroupPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - } - ] - } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json index 5f107a50da50..6d7f50245e2c 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json @@ -1,376 +1,399 @@ { - "swagger": "2.0", - "info": { - "title": "MonitorManagementClient", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2019-03-01" + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "version": "2019-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/{resourceUri}/providers/microsoft.insights/metricBaselines": { - "get": { - "tags": [ - "Baseline", - "Metric" - ], - "operationId": "Baselines_List", - "description": "**Lists the metric baseline values for a resource**.", - "x-ms-examples": { - "Get metric baselines": { - "$ref": "./examples/metricBaselines.json" - } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/metricBaselines": { + "get": { + "tags": [ + "Baseline", + "Metric" + ], + "operationId": "Baselines_List", + "description": "**Lists the metric baseline values for a resource**.", + "x-ms-examples": { + "Get metric baselines": { + "$ref": "./examples/metricBaselines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/MetricNamesParameter" + }, + { + "$ref": "#/parameters/MetricNamespaceParameter" }, - "x-ms-pageable": { - "nextLinkName": null + { + "$ref": "#/parameters/TimespanParameter" }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/MetricNamesParameter" - }, - { - "$ref": "#/parameters/MetricNamespaceParameter" - }, - { - "$ref": "#/parameters/TimespanParameter" - }, - { - "$ref": "#/parameters/IntervalParameter" - }, - { - "$ref": "#/parameters/AggregationsParameter" - }, - { - "$ref": "#/parameters/SensitivitiesParameter" - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.", - "required": false - }, - { - "$ref": "#/parameters/BaselineResultTypeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + { + "$ref": "#/parameters/IntervalParameter" + }, + { + "$ref": "#/parameters/AggregationsParameter" + }, + { + "$ref": "#/parameters/SensitivitiesParameter" + }, + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.", + "required": false + }, + { + "$ref": "#/parameters/BaselineResultTypeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request to get the list of metric baseline values.", - "schema": { - "$ref": "#/definitions/MetricBaselinesResponse" - } + }, + "200": { + "description": "Successful request to get the list of metric baseline values.", + "schema": { + "$ref": "#/definitions/MetricBaselinesResponse" } } } } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } }, - "definitions": { - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" + "MetricBaselinesResponse": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SingleMetricBaseline" }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The list of metric baselines." } }, - "MetricBaselinesResponse": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SingleMetricBaseline" - }, - "description": "The list of metric baselines." - } - }, - "description": "A list of metric baselines." - }, - "SingleMetricBaseline": { - "properties": { - "id": { - "type": "string", - "description": "The metric baseline Id." - }, - "type": { - "type": "string", - "description": "The resource type of the metric baseline resource." - }, - "name": { - "type": "string", - "description": "The name of the metric for which the baselines were retrieved." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MetricBaselinesProperties", - "description": "The metric baseline properties of the metric." - } + "description": "A list of metric baselines." + }, + "SingleMetricBaseline": { + "properties": { + "id": { + "type": "string", + "description": "The metric baseline Id." + }, + "type": { + "type": "string", + "description": "The resource type of the metric baseline resource." + }, + "name": { + "type": "string", + "description": "The name of the metric for which the baselines were retrieved." }, - "required": [ "id", "type", "name", "properties" ], - "description": "The baseline results of a single metric." - }, - "MetricBaselinesProperties": { - "type": "object", "properties": { - "timespan": { - "type": "string", - "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." - }, - "interval": { - "type": "string", - "format": "duration", - "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." + "x-ms-client-flatten": true, + "$ref": "#/definitions/MetricBaselinesProperties", + "description": "The metric baseline properties of the metric." + } + }, + "required": [ + "id", + "type", + "name", + "properties" + ], + "description": "The baseline results of a single metric." + }, + "MetricBaselinesProperties": { + "type": "object", + "properties": { + "timespan": { + "type": "string", + "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested." + }, + "interval": { + "type": "string", + "format": "duration", + "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made." + }, + "namespace": { + "type": "string", + "description": "The namespace of the metrics been queried." + }, + "baselines": { + "type": "array", + "items": { + "$ref": "#/definitions/TimeSeriesBaseline" }, - "namespace": { - "type": "string", - "description": "The namespace of the metrics been queried." + "description": "The baseline for each time series that was queried." + } + }, + "required": [ + "timespan", + "interval", + "baselines" + ], + "description": "The response to a metric baselines query." + }, + "TimeSeriesBaseline": { + "properties": { + "aggregation": { + "type": "string", + "description": "The aggregation type of the metric." + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSingleDimension" }, - "baselines": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeriesBaseline" - }, - "description": "The baseline for each time series that was queried." - } + "description": "The dimensions of this time series." }, - "required": [ "timespan", "interval", "baselines" ], - "description": "The response to a metric baselines query." - }, - "TimeSeriesBaseline": { - "properties": { - "aggregation": { + "timestamps": { + "type": "array", + "items": { "type": "string", - "description": "The aggregation type of the metric." - }, - "dimensions": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSingleDimension" - }, - "description": "The dimensions of this time series." - }, - "timestamps": { - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "The timestamp for the baseline value in ISO 8601 format." - }, - "description": "The list of timestamps of the baselines." + "format": "date-time", + "description": "The timestamp for the baseline value in ISO 8601 format." }, - "data": { - "type": "array", - "items": { - "$ref": "#/definitions/SingleBaseline" - }, - "description": "The baseline values for each sensitivity." + "description": "The list of timestamps of the baselines." + }, + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/SingleBaseline" }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/BaselineMetadata" - }, - "description": "The baseline metadata values." - } + "description": "The baseline values for each sensitivity." }, - "required": [ "aggregation", "timestamps", "data" ], - "description": "The baseline values for a single time series." - }, - "MetricSingleDimension": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the dimension." + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/BaselineMetadata" }, - "value": { - "type": "string", - "description": "Value of the dimension." - } + "description": "The baseline metadata values." + } + }, + "required": [ + "aggregation", + "timestamps", + "data" + ], + "description": "The baseline values for a single time series." + }, + "MetricSingleDimension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the dimension." }, - "required": [ "name", "value" ], - "description": "The metric dimension name and value." + "value": { + "type": "string", + "description": "Value of the dimension." + } }, - "SingleBaseline": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ], - "x-ms-enum": { - "name": "BaselineSensitivity", - "modelAsString": true - }, - "description": "the sensitivity of the baseline." - }, - "lowThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single low threshold value." - }, - "description": "The low thresholds of the baseline." + "required": [ + "name", + "value" + ], + "description": "The metric dimension name and value." + }, + "SingleBaseline": { + "type": "object", + "properties": { + "sensitivity": { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "BaselineSensitivity", + "modelAsString": true }, - "highThresholds": { - "type": "array", - "items": { - "type": "number", - "format": "double", - "description": "A single high threshold value." - }, - "description": "The high thresholds of the baseline." - } + "description": "the sensitivity of the baseline." }, - "required": [ "sensitivity", "lowThresholds", "highThresholds" ], - "description": "The baseline values for a single sensitivity value." - }, - "BaselineMetadata": { - "properties": { - "name": { - "type": "string", - "description": "Name of the baseline metadata." + "lowThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single low threshold value." }, - "value": { - "type": "string", - "description": "Value of the baseline metadata." - } + "description": "The low thresholds of the baseline." }, - "required": [ "name", "value" ], - "description": "Represents a baseline metadata value." - } - }, - "parameters": { - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - }, - "TimespanParameter": { - "name": "timespan", - "in": "query", - "required": false, - "type": "string", - "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", - "x-ms-parameter-location": "method" - }, - "IntervalParameter": { - "name": "interval", - "in": "query", - "required": false, - "type": "string", - "format": "duration", - "description": "The interval (i.e. timegrain) of the query.", - "x-ms-parameter-location": "method" - }, - "MetricNamesParameter": { - "name": "metricnames", - "in": "query", - "required": false, - "type": "string", - "description": "The names of the metrics (comma separated) to retrieve.", - "x-ms-parameter-location": "method" - }, - "MetricNamespaceParameter": { - "name": "metricnamespace", - "in": "query", - "required": false, - "type": "string", - "description": "Metric namespace to query metric definitions for.", - "x-ms-parameter-location": "method" - }, - "AggregationsParameter": { - "name": "aggregation", - "in": "query", - "required": false, - "type": "string", - "description": "The list of aggregation types (comma separated) to retrieve.", - "x-ms-parameter-location": "method" - }, - "SensitivitiesParameter": { - "name": "sensitivities", - "in": "query", - "required": false, - "type": "string", - "description": "The list of sensitivities (comma separated) to retrieve.", - "x-ms-parameter-location": "method" + "highThresholds": { + "type": "array", + "items": { + "type": "number", + "format": "double", + "description": "A single high threshold value." + }, + "description": "The high thresholds of the baseline." + } }, - "BaselineResultTypeParameter": { - "name": "resultType", - "in": "query", - "type": "string", - "enum": [ - "Data", - "Metadata" - ], - "x-ms-enum": { - "name": "ResultType", - "modelAsString": false + "required": [ + "sensitivity", + "lowThresholds", + "highThresholds" + ], + "description": "The baseline values for a single sensitivity value." + }, + "BaselineMetadata": { + "properties": { + "name": { + "type": "string", + "description": "Name of the baseline metadata." }, - "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", - "x-ms-parameter-location": "method", - "required": false + "value": { + "type": "string", + "description": "Value of the baseline metadata." + } }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } + "required": [ + "name", + "value" + ], + "description": "Represents a baseline metadata value." + } + }, + "parameters": { + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource.", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "TimespanParameter": { + "name": "timespan", + "in": "query", + "required": false, + "type": "string", + "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.", + "x-ms-parameter-location": "method" + }, + "IntervalParameter": { + "name": "interval", + "in": "query", + "required": false, + "type": "string", + "format": "duration", + "description": "The interval (i.e. timegrain) of the query.", + "x-ms-parameter-location": "method" + }, + "MetricNamesParameter": { + "name": "metricnames", + "in": "query", + "required": false, + "type": "string", + "description": "The names of the metrics (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "MetricNamespaceParameter": { + "name": "metricnamespace", + "in": "query", + "required": false, + "type": "string", + "description": "Metric namespace to query metric definitions for.", + "x-ms-parameter-location": "method" + }, + "AggregationsParameter": { + "name": "aggregation", + "in": "query", + "required": false, + "type": "string", + "description": "The list of aggregation types (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "SensitivitiesParameter": { + "name": "sensitivities", + "in": "query", + "required": false, + "type": "string", + "description": "The list of sensitivities (comma separated) to retrieve.", + "x-ms-parameter-location": "method" + }, + "BaselineResultTypeParameter": { + "name": "resultType", + "in": "query", + "type": "string", + "enum": [ + "Data", + "Metadata" + ], + "x-ms-enum": { + "name": "ResultType", + "modelAsString": false + }, + "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.", + "x-ms-parameter-location": "method", + "required": false + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } -} \ No newline at end of file + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json index 02911328fec6..fd6200e7e7d8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json @@ -1,879 +1,879 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Action Groups API", - "x-ms-code-generation-settings": { - "name": "MonitorManagementClient" - }, - "version": "2019-06-01" + "swagger": "2.0", + "info": { + "title": "Azure Action Groups API", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { + "put": { + "description": "Create a new action group or update an existing one.", + "operationId": "ActionGroups_CreateOrUpdate", + "x-ms-examples": { + "Create or update an action group": { + "$ref": "./examples/createOrUpdateActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "actionGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The action group to create or use for the update." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "201": { + "description": "A new action group was successfully created.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "get": { + "description": "Get an action group.", + "operationId": "ActionGroups_Get", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/getActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" + } + }, + "default": { + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": { - "put": { - "description": "Create a new action group or update an existing one.", - "operationId": "ActionGroups_CreateOrUpdate", - "x-ms-examples": { - "Create or update an action group": { - "$ref": "./examples/createOrUpdateActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "actionGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The action group to create or use for the update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "201": { - "description": "A new action group was successfully created.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be created or updated.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "description": "Get an action group.", - "operationId": "ActionGroups_Get", - "x-ms-examples": { - "Get an action group": { - "$ref": "./examples/getActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - }, - "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "description": "Delete an action group.", - "operationId": "ActionGroups_Delete", - "x-ms-examples": { - "Delete an action group": { - "$ref": "./examples/deleteActionGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The action group was successfully deleted." - }, - "204": { - "description": "The action group does not exist. It may have already been deleted." - }, - "default": { - "description": "An error occurred and the action group could not be deleted.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "delete": { + "description": "Delete an action group.", + "operationId": "ActionGroups_Delete", + "x-ms-examples": { + "Delete an action group": { + "$ref": "./examples/deleteActionGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The action group was successfully deleted." + }, + "204": { + "description": "The action group does not exist. It may have already been deleted." + }, + "default": { + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "ActionGroups_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "actionGroupPatch", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActionGroupPatchBody" }, - "patch": { - "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "ActionGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "actionGroupPatch", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActionGroupPatchBody" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An existing action group was successfully updated.", - "schema": { - "$ref": "#/definitions/ActionGroupResource" - } - } - }, - "x-ms-examples": { - "Patch an action group": { - "$ref": "./examples/patchActionGroup.json" - } - } + "description": "Parameters supplied to the operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a subscription.", - "operationId": "ActionGroups_ListBySubscriptionId", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + }, + "200": { + "description": "An existing action group was successfully updated.", + "schema": { + "$ref": "#/definitions/ActionGroupResource" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { - "get": { - "description": "Get a list of all action groups in a resource group.", - "operationId": "ActionGroups_ListByResourceGroup", - "x-ms-examples": { - "List action groups": { - "$ref": "./examples/listActionGroups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request succeeded.", - "schema": { - "$ref": "#/definitions/ActionGroupList" - } - }, - "default": { - "description": "An error occurred and the list of action groups could not be retrieved.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "x-ms-examples": { + "Patch an action group": { + "$ref": "./examples/patchActionGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a subscription.", + "operationId": "ActionGroups_ListBySubscriptionId", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { - "post": { - "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", - "operationId": "ActionGroups_EnableReceiver", - "x-ms-examples": { - "Enable the receiver": { - "$ref": "./examples/enableReceiver.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ActionGroupNameParameter" - }, - { - "name": "enableRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EnableRequest" - }, - "description": "The receiver to re-enable." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The receiver was successfully enabled." - }, - "409": { - "description": "The receiver is already enabled in the action group." - }, - "default": { - "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" + } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } } + } }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ActionGroupResource": { - "description": "An action group resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroup", - "description": "The action groups properties of the resource." - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": { + "get": { + "description": "Get a list of all action groups in a resource group.", + "operationId": "ActionGroups_ListByResourceGroup", + "x-ms-examples": { + "List action groups": { + "$ref": "./examples/listActionGroups.json" + } }, - "ActionGroupList": { - "description": "A list of action groups.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionGroupResource" - }, - "description": "The list of action groups." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrieve the next set of elements." - } + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request succeeded.", + "schema": { + "$ref": "#/definitions/ActionGroupList" + } + }, + "default": { + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": { + "post": { + "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.", + "operationId": "ActionGroups_EnableReceiver", + "x-ms-examples": { + "Enable the receiver": { + "$ref": "./examples/enableReceiver.json" + } }, - "ActionGroup": { - "description": "An Azure action group.", - "properties": { - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "emailReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - }, - "description": "The list of email receivers that are part of this action group." - }, - "smsReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - }, - "description": "The list of SMS receivers that are part of this action group." - }, - "webhookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - }, - "description": "The list of webhook receivers that are part of this action group." - }, - "itsmReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - }, - "description": "The list of ITSM receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - }, - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "automationRunbookReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - }, - "description": "The list of AutomationRunbook receivers that are part of this action group." - }, - "voiceReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/VoiceReceiver" - }, - "description": "The list of voice receivers that are part of this action group." - }, - "logicAppReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/LogicAppReceiver" - }, - "description": "The list of logic app receivers that are part of this action group." - }, - "azureFunctionReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureFunctionReceiver" - }, - "description": "The list of azure function receivers that are part of this action group." - }, - "armRoleReceivers": { - "type": "array", - "items": { - "$ref": "#/definitions/ArmRoleReceiver" - }, - "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." - } - }, - "required": [ - "groupShortName", - "enabled" - ] - }, - "EmailReceiver": { - "description": "An email receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The receiver status of the e-mail." - } - }, - "required": [ - "name", - "emailAddress", - "useCommonAlertSchema" - ] - }, - "SmsReceiver": { - "description": "An SMS receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - }, - "status": { - "readOnly": true, - "$ref": "#/definitions/ReceiverStatus", - "description": "The status of the receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "WebhookReceiver": { - "description": "A webhook receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - }, - "useAadAuth": { - "type": "boolean", - "default": false, - "description": "Indicates whether or not use AAD authentication." - }, - "objectId": { - "type": "string", - "description": "Indicates the webhook app object Id for aad auth." - }, - "identifierUri": { - "type": "string", - "description": "Indicates the identifier uri for aad auth." - }, - "tenantId": { - "type": "string", - "description": "Indicates the tenant id for aad auth." - } - }, - "required": [ - "name", - "serviceUri", - "useCommonAlertSchema" - ] - }, - "ItsmReceiver": { - "description": "An Itsm receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - }, - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - } - }, - "required": [ - "name", - "workspaceId", - "connectionId", - "ticketConfiguration", - "region" - ] - }, - "AzureAppPushReceiver": { - "description": "The Azure mobile App push notification receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - }, - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - } - }, - "required": [ - "name", - "emailAddress" - ] - }, - "AutomationRunbookReceiver": { - "description": "The Azure Automation Runbook notification receiver.", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - }, - "isGlobalRunbook": { - "type": "boolean", - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "automationAccountId", - "runbookName", - "webhookResourceId", - "isGlobalRunbook", - "useCommonAlertSchema" - ] - }, - "VoiceReceiver": { - "description": "A voice receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." - }, - "countryCode": { - "type": "string", - "description": "The country code of the voice receiver." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the voice receiver." - } - }, - "required": [ - "name", - "countryCode", - "phoneNumber" - ] - }, - "LogicAppReceiver": { - "description": "A logic app receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." - }, - "resourceId": { - "type": "string", - "description": "The azure resource id of the logic app receiver." - }, - "callbackUrl": { - "type": "string", - "description": "The callback url where http request sent to." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "resourceId", - "callbackUrl", - "useCommonAlertSchema" - ] - }, - "AzureFunctionReceiver": { - "description": "An azure function receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." - }, - "functionAppResourceId": { - "type": "string", - "description": "The azure resource id of the function app." - }, - "functionName": { - "type": "string", - "description": "The function name in the function app." - }, - "httpTriggerUrl": { - "type": "string", - "description": "The http trigger url where http request sent to." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "functionAppResourceId", - "functionName", - "httpTriggerUrl", - "useCommonAlertSchema" - ] - }, - "ArmRoleReceiver": { - "description": "An arm role receiver.", - "properties": { - "name": { - "type": "string", - "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." - }, - "roleId": { - "type": "string", - "description": "The arm role id." - }, - "useCommonAlertSchema": { - "type": "boolean", - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "roleId", - "useCommonAlertSchema" - ] - }, - "ReceiverStatus": { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ReceiverStatus", - "modelAsString": false - }, - "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." - }, - "EnableRequest": { - "description": "Describes a receiver that should be resubscribed.", - "properties": { - "receiverName": { - "type": "string", - "description": "The name of the receiver to resubscribe." - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "name": "enableRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EnableRequest" }, - "required": [ - "receiverName" - ] - }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } + "description": "The receiver to re-enable." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The receiver was successfully enabled." + }, + "409": { + "description": "The receiver is already enabled in the action group." + }, + "default": { + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" }, - "ActionGroupPatchBody": { - "description": "An action group object for the body of patch operations.", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ActionGroupPatch", - "description": "The action group settings for an update operation." - } - } + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" }, - "ActionGroupPatch": { - "description": "An Azure action group for patch operations.", - "properties": { - "enabled": { - "type": "boolean", - "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." - } - } + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." + "ActionGroupResource": { + "description": "An action group resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroup", + "description": "The action groups properties of the resource." + } + } + }, + "ActionGroupList": { + "description": "A list of action groups.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionGroupResource" + }, + "description": "The list of action groups." }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "nextLink": { + "type": "string", + "description": "Provides the link to retrieve the next set of elements." + } + } + }, + "ActionGroup": { + "description": "An Azure action group.", + "properties": { + "groupShortName": { + "type": "string", + "maxLength": 12, + "description": "The short name of the action group. This will be used in SMS messages." }, - "ActionGroupNameParameter": { - "name": "actionGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the action group.", - "x-ms-parameter-location": "method" + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." + "emailReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/EmailReceiver" + }, + "description": "The list of email receivers that are part of this action group." + }, + "smsReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/SmsReceiver" + }, + "description": "The list of SMS receivers that are part of this action group." + }, + "webhookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/WebhookReceiver" + }, + "description": "The list of webhook receivers that are part of this action group." + }, + "itsmReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ItsmReceiver" + }, + "description": "The list of ITSM receivers that are part of this action group." + }, + "azureAppPushReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureAppPushReceiver" + }, + "description": "The list of AzureAppPush receivers that are part of this action group." + }, + "automationRunbookReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationRunbookReceiver" + }, + "description": "The list of AutomationRunbook receivers that are part of this action group." + }, + "voiceReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceReceiver" + }, + "description": "The list of voice receivers that are part of this action group." + }, + "logicAppReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/LogicAppReceiver" + }, + "description": "The list of logic app receivers that are part of this action group." + }, + "azureFunctionReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFunctionReceiver" + }, + "description": "The list of azure function receivers that are part of this action group." + }, + "armRoleReceivers": { + "type": "array", + "items": { + "$ref": "#/definitions/ArmRoleReceiver" + }, + "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." } + }, + "required": [ + "groupShortName", + "enabled" + ] + }, + "EmailReceiver": { + "description": "An email receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the email receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address of this receiver." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The receiver status of the e-mail." + } + }, + "required": [ + "name", + "emailAddress", + "useCommonAlertSchema" + ] + }, + "SmsReceiver": { + "description": "An SMS receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the SMS receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the SMS receiver." + }, + "status": { + "readOnly": true, + "$ref": "#/definitions/ReceiverStatus", + "description": "The status of the receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "WebhookReceiver": { + "description": "A webhook receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + }, + "useAadAuth": { + "type": "boolean", + "default": false, + "description": "Indicates whether or not use AAD authentication." + }, + "objectId": { + "type": "string", + "description": "Indicates the webhook app object Id for aad auth." + }, + "identifierUri": { + "type": "string", + "description": "Indicates the identifier uri for aad auth." + }, + "tenantId": { + "type": "string", + "description": "Indicates the tenant id for aad auth." + } + }, + "required": [ + "name", + "serviceUri", + "useCommonAlertSchema" + ] + }, + "ItsmReceiver": { + "description": "An Itsm receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." + }, + "workspaceId": { + "type": "string", + "description": "OMS LA instance identifier." + }, + "connectionId": { + "type": "string", + "description": "Unique identification of ITSM connection among multiple defined in above workspace." + }, + "ticketConfiguration": { + "type": "string", + "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." + }, + "region": { + "type": "string", + "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" + } + }, + "required": [ + "name", + "workspaceId", + "connectionId", + "ticketConfiguration", + "region" + ] + }, + "AzureAppPushReceiver": { + "description": "The Azure mobile App push notification receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." + }, + "emailAddress": { + "type": "string", + "description": "The email address registered for the Azure mobile app." + } + }, + "required": [ + "name", + "emailAddress" + ] + }, + "AutomationRunbookReceiver": { + "description": "The Azure Automation Runbook notification receiver.", + "properties": { + "automationAccountId": { + "type": "string", + "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." + }, + "runbookName": { + "type": "string", + "description": "The name for this runbook." + }, + "webhookResourceId": { + "type": "string", + "description": "The resource id for webhook linked to this runbook." + }, + "isGlobalRunbook": { + "type": "boolean", + "description": "Indicates whether this instance is global runbook." + }, + "name": { + "type": "string", + "description": "Indicates name of the webhook." + }, + "serviceUri": { + "type": "string", + "description": "The URI where webhooks should be sent." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "automationAccountId", + "runbookName", + "webhookResourceId", + "isGlobalRunbook", + "useCommonAlertSchema" + ] + }, + "VoiceReceiver": { + "description": "A voice receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." + }, + "countryCode": { + "type": "string", + "description": "The country code of the voice receiver." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the voice receiver." + } + }, + "required": [ + "name", + "countryCode", + "phoneNumber" + ] + }, + "LogicAppReceiver": { + "description": "A logic app receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." + }, + "resourceId": { + "type": "string", + "description": "The azure resource id of the logic app receiver." + }, + "callbackUrl": { + "type": "string", + "description": "The callback url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "resourceId", + "callbackUrl", + "useCommonAlertSchema" + ] + }, + "AzureFunctionReceiver": { + "description": "An azure function receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." + }, + "functionAppResourceId": { + "type": "string", + "description": "The azure resource id of the function app." + }, + "functionName": { + "type": "string", + "description": "The function name in the function app." + }, + "httpTriggerUrl": { + "type": "string", + "description": "The http trigger url where http request sent to." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "functionAppResourceId", + "functionName", + "httpTriggerUrl", + "useCommonAlertSchema" + ] + }, + "ArmRoleReceiver": { + "description": "An arm role receiver.", + "properties": { + "name": { + "type": "string", + "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." + }, + "roleId": { + "type": "string", + "description": "The arm role id." + }, + "useCommonAlertSchema": { + "type": "boolean", + "description": "Indicates whether to use common alert schema." + } + }, + "required": [ + "name", + "roleId", + "useCommonAlertSchema" + ] + }, + "ReceiverStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ReceiverStatus", + "modelAsString": false + }, + "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." + }, + "EnableRequest": { + "description": "Describes a receiver that should be resubscribed.", + "properties": { + "receiverName": { + "type": "string", + "description": "The name of the receiver to resubscribe." + } + }, + "required": [ + "receiverName" + ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupPatchBody": { + "description": "An action group object for the body of patch operations.", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ActionGroupPatch", + "description": "The action group settings for an update operation." + } + } + }, + "ActionGroupPatch": { + "description": "An Azure action group for patch operations.", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription Id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json index 09c03d9fbefe..88867a138a2d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json @@ -1,345 +1,345 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-06-01", - "actionGroup": { - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook 1", - "serviceUri": "http://www.example.com/webhook1", - "useCommonAlertSchema": true - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "actionGroup": { + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true + } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true + } + ] } + } }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook 1", - "serviceUri": "http://www.example.com/webhook1", - "useCommonAlertSchema": true - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] - } + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": false + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook 1", + "serviceUri": "http://www.example.com/webhook1", + "useCommonAlertSchema": true + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [ + { + "name": "Sample itsm", + "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", + "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", + "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", + "region": "westcentralus" + } + ], + "azureAppPushReceivers": [ + { + "name": "Sample azureAppPush", + "emailAddress": "johndoe@email.com" + } + ], + "automationRunbookReceivers": [ + { + "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", + "runbookName": "Sample runbook", + "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", + "isGlobalRunbook": false, + "name": "testRunbook", + "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", + "useCommonAlertSchema": true + } + ], + "voiceReceivers": [ + { + "name": "Sample voice", + "countryCode": "1", + "phoneNumber": "1234567890" + } + ], + "logicAppReceivers": [ + { + "name": "Sample logicApp", + "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", + "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", + "useCommonAlertSchema": false + } + ], + "azureFunctionReceivers": [ + { + "name": "Sample azureFunction", + "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", + "functionName": "HttpTriggerCSharp1", + "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", + "useCommonAlertSchema": true } - }, - "201": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": false - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook 1", - "serviceUri": "http://www.example.com/webhook1", - "useCommonAlertSchema": true - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers": [ - { - "name": "Sample itsm", - "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c", - "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1", - "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}", - "region": "westcentralus" - } - ], - "azureAppPushReceivers": [ - { - "name": "Sample azureAppPush", - "emailAddress": "johndoe@email.com" - } - ], - "automationRunbookReceivers": [ - { - "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest", - "runbookName": "Sample runbook", - "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084", - "isGlobalRunbook": false, - "name": "testRunbook", - "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d", - "useCommonAlertSchema": true - } - ], - "voiceReceivers": [ - { - "name": "Sample voice", - "countryCode": "1", - "phoneNumber": "1234567890" - } - ], - "logicAppReceivers": [ - { - "name": "Sample logicApp", - "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp", - "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w", - "useCommonAlertSchema": false - } - ], - "azureFunctionReceivers": [ - { - "name": "Sample azureFunction", - "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp", - "functionName": "HttpTriggerCSharp1", - "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==", - "useCommonAlertSchema": true - } - ], - "armRoleReceivers": [ - { - "name": "Sample armRole", - "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", - "useCommonAlertSchema": true - } - ] - } + ], + "armRoleReceivers": [ + { + "name": "Sample armRole", + "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", + "useCommonAlertSchema": true } + ] } + } } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json index cf6a41e900f8..684daa169057 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json @@ -1,18 +1,18 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-06-01" + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "204": { + "headers": {}, + "body": null } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json index 6a0c9b03eb07..540e4e403ccc 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-06-01", - "enableRequest": { - "receiverName": "John Doe's mobile" - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "enableRequest": { + "receiverName": "John Doe's mobile" + } + }, + "responses": { + "200": { + "headers": {}, + "body": null }, - "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "409": { + "headers": {}, + "body": null } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json index 63ab4b532e2a..3403250360cb 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json @@ -1,75 +1,75 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-06-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers":[], - "azureAppPushReceivers":[], - "automationRunbookReceivers":[], - "voiceReceivers":[], - "logicAppReceivers":[], - "azureFunctionReceivers":[], - "armRoleReceivers":[] - } + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [], + "azureAppPushReceivers": [], + "automationRunbookReceivers": [], + "voiceReceivers": [], + "logicAppReceivers": [], + "azureFunctionReceivers": [], + "armRoleReceivers": [] } + } } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json index 07be8f8e68bf..6e5bc16598f4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json @@ -1,113 +1,113 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "api-version": "2019-06-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Disabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Disabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers":[], - "azureAppPushReceivers":[], - "automationRunbookReceivers":[], - "voiceReceivers":[], - "logicAppReceivers":[], - "azureFunctionReceivers":[], - "armRoleReceivers":[] - } - }, - { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup2", - "location": "Global", - "tags": {}, - "properties": { - "groupShortName": "sample2", - "enabled": false, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers": [ - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers": [], - "itsmReceivers":[], - "azureAppPushReceivers":[], - "automationRunbookReceivers":[], - "voiceReceivers":[], - "logicAppReceivers":[], - "azureFunctionReceivers":[], - "armRoleReceivers":[] - } - } - ] + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Disabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Disabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" + } + ], + "itsmReceivers": [], + "azureAppPushReceivers": [], + "automationRunbookReceivers": [], + "voiceReceivers": [], + "logicAppReceivers": [], + "azureFunctionReceivers": [], + "armRoleReceivers": [] } - } + }, + { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup2", + "location": "Global", + "tags": {}, + "properties": { + "groupShortName": "sample2", + "enabled": false, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + } + ], + "smsReceivers": [ + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [], + "itsmReceivers": [], + "azureAppPushReceivers": [], + "automationRunbookReceivers": [], + "voiceReceivers": [], + "logicAppReceivers": [], + "azureFunctionReceivers": [], + "armRoleReceivers": [] + } + } + ] + } } + } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json index 2becbca561eb..aa9a7207ceb9 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json @@ -1,81 +1,87 @@ { - "parameters": { - "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", - "resourceGroupName": "Default-NotificationRules", - "actionGroupName": "SampleActionGroup", - "api-version": "2019-06-01", - "actionGroupPatch": { - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "enabled": false + "parameters": { + "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", + "resourceGroupName": "Default-NotificationRules", + "actionGroupName": "SampleActionGroup", + "api-version": "2019-06-01", + "actionGroupPatch": { + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "enabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", + "type": "Microsoft.Insights/ActionGroups", + "name": "SampleActionGroup", + "location": "Global", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "groupShortName": "sample", + "enabled": true, + "emailReceivers": [ + { + "name": "John Doe's email", + "emailAddress": "johndoe@email.com", + "status": "Enabled", + "useCommonAlertSchema": true + }, + { + "name": "Jane Smith's email", + "emailAddress": "janesmith@email.com", + "status": "Enabled", + "useCommonAlertSchema": true } - } - }, - "responses": { - "200": { - "headers": { }, - "body": { - "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", - "type": "Microsoft.Insights/ActionGroups", - "name": "SampleActionGroup", - "location": "Global", - "tags": { "key1": "value1", "key2": "value2" }, - "properties": { - "groupShortName": "sample", - "enabled": true, - "emailReceivers": [ - { - "name": "John Doe's email", - "emailAddress": "johndoe@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - }, - { - "name": "Jane Smith's email", - "emailAddress": "janesmith@email.com", - "status": "Enabled", - "useCommonAlertSchema": true - } - ], - "smsReceivers":[ - { - "name": "John Doe's mobile", - "countryCode": "1", - "phoneNumber": "1234567890", - "status": "Enabled" - }, - { - "name": "Jane Smith's mobile", - "countryCode": "1", - "phoneNumber": "0987654321", - "status": "Enabled" - } - ], - "webhookReceivers":[ - { - "name": "Sample webhook", - "serviceUri": "http://www.example.com/webhook", - "useCommonAlertSchema": false - }, - { - "name": "Sample webhook 2", - "serviceUri": "http://www.example.com/webhook2", - "useCommonAlertSchema": true, - "useAadAuth": true, - "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", - "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", - "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" - } - ], - "itsmReceivers":[], - "azureAppPushReceivers":[], - "automationRunbookReceivers":[], - "voiceReceivers":[], - "logicAppReceivers":[], - "azureFunctionReceivers":[], - "armRoleReceivers":[] - } + ], + "smsReceivers": [ + { + "name": "John Doe's mobile", + "countryCode": "1", + "phoneNumber": "1234567890", + "status": "Enabled" + }, + { + "name": "Jane Smith's mobile", + "countryCode": "1", + "phoneNumber": "0987654321", + "status": "Enabled" + } + ], + "webhookReceivers": [ + { + "name": "Sample webhook", + "serviceUri": "http://www.example.com/webhook", + "useCommonAlertSchema": false + }, + { + "name": "Sample webhook 2", + "serviceUri": "http://www.example.com/webhook2", + "useCommonAlertSchema": true, + "useAadAuth": true, + "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808", + "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a", + "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84" } + ], + "itsmReceivers": [], + "azureAppPushReceivers": [], + "automationRunbookReceivers": [], + "voiceReceivers": [], + "logicAppReceivers": [], + "azureFunctionReceivers": [], + "armRoleReceivers": [] } + } } + } } From 1e01123ef0eb09778d21e70d9a62c271e6439d6b Mon Sep 17 00:00:00 2001 From: tomasm9 <50103009+tomasm9@users.noreply.github.com> Date: Thu, 27 Jun 2019 20:42:01 +0000 Subject: [PATCH 172/495] NetApp update swagger for R4.5 (#6395) * NFSAAS-2660 swagger update for R4.5 * NFSAAS-2660 delete swagger generated files * NFSAAS-2660 fixing model validation error * updated readme * fixing up the json * trying to fix serialization bug * Updating description for responses * Changing the protocolTypes example * Fix Swaggers to get the diff working * Reverting accidental netapp.json changes --- .../examples/Accounts_CreateOrUpdate.json | 30 + .../2019-06-01/examples/Accounts_Delete.json | 12 + .../2019-06-01/examples/Accounts_Get.json | 18 + .../2019-06-01/examples/Accounts_List.json | 21 + .../2019-06-01/examples/Accounts_Update.json | 20 + .../examples/CheckFilePathAvailability.json | 19 + .../examples/CheckNameAvailability.json | 19 + .../examples/MountTargets_List.json | 33 + .../examples/Pools_CreateOrUpdate.json | 41 + .../2019-06-01/examples/Pools_Delete.json | 13 + .../stable/2019-06-01/examples/Pools_Get.json | 22 + .../2019-06-01/examples/Pools_List.json | 25 + .../2019-06-01/examples/Pools_Update.json | 24 + .../2019-06-01/examples/Snapshots_Create.json | 28 + .../2019-06-01/examples/Snapshots_Delete.json | 16 + .../2019-06-01/examples/Snapshots_Get.json | 24 + .../2019-06-01/examples/Snapshots_List.json | 27 + .../2019-06-01/examples/Snapshots_Update.json | 26 + .../examples/Volumes_CreateOrUpdate.json | 48 + .../2019-06-01/examples/Volumes_Delete.json | 14 + .../2019-06-01/examples/Volumes_Get.json | 25 + .../2019-06-01/examples/Volumes_List.json | 28 + .../2019-06-01/examples/Volumes_Update.json | 27 + .../stable/2019-06-01/netapp.json | 2355 +++++++++++++++++ .../netapp/resource-manager/readme.md | 10 +- 25 files changed, 2924 insertions(+), 1 deletion(-) create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..f7e8185facac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01", + "body": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json new file mode 100644 index 000000000000..8968a51a5a99 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json new file mode 100644 index 000000000000..09d61b067dc0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json new file mode 100644 index 000000000000..4c8836049b95 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json new file mode 100644 index 000000000000..f4d5bf8d5031 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json new file mode 100644 index 000000000000..cf432f1c14d7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "location": "eastus", + "api-version": "2019-05-01", + "body": { + "name": "my-exact-filepth", + "type": "netAppAccount/capacityPools/volume", + "resourceGroup": "myrg" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..05afbf0db5d4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "location": "eastus", + "api-version": "2019-05-01", + "body": { + "name": "accName", + "type": "netAppAccount", + "resourceGroup": "myrg" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json new file mode 100644 index 000000000000..f3ee2188744e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "endIp": "1.2.3.4", + "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "startIp": "1.2.3.4", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnet": "1.2.3.4", + "netmask": "255.255.255.0", + "ipAddress": "1.2.3.4", + "gateway": "1.2.3.4", + "smbServerFqdn": "fullyqualified.domainname.com", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..9b7c0eac8a3d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-05-01", + "body": { + "location": "eastus", + "properties": { + "size": 4398046511104, + "serviceLevel": "Premium" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json new file mode 100644 index 000000000000..949559f94709 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-05-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json new file mode 100644 index 000000000000..a0994c4c9805 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json new file mode 100644 index 000000000000..101578bc6c93 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json new file mode 100644 index 000000000000..352fb9f2bff3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-05-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json new file mode 100644 index 000000000000..19a57beace0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-05-01", + "body": { + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json new file mode 100644 index 000000000000..b6f87582dda5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-05-01" + }, + "responses": { + "204": {}, + "202": {}, + "200": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json new file mode 100644 index 000000000000..762f230637d1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json new file mode 100644 index 000000000000..5bf9ef6dbc3e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json new file mode 100644 index 000000000000..626d011ca2ef --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-05-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..5d5d05bac956 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01", + "body": { + "location": "eastus", + "properties": { + "serviceLevel": "Premium", + "creationToken": "my-unique-file-path", + "usageThreshold": 107374182400, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json new file mode 100644 index 000000000000..c497f27bf6e8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json new file mode 100644 index 000000000000..fb6864c7e431 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json new file mode 100644 index 000000000000..e707fe00a83d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json new file mode 100644 index 000000000000..dd2c40ea4091 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-05-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json new file mode 100644 index 000000000000..25dcae543973 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -0,0 +1,2355 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft NetApp", + "description": "Microsoft NetApp Azure Resource Provider specification", + "version": "2019-06-01", + "x-ms-code-generation-settings": { + "name": "AzureNetAppFilesManagementClient" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.NetApp/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Describes the Resource Provider", + "description": "Lists all of the available Microsoft.NetApp Rest API operations", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": { + "post": { + "summary": "Check resource name availability", + "description": "Check if a resource name is available.", + "operationId": "CheckNameAvailability", + "parameters": [ + { + "name": "body", + "in": "body", + "description": "Name availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + }, + "x-ms-client-flatten": true + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/location" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "examples/CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": { + "post": { + "summary": "Check file path availability", + "description": "Check if a file path is available.", + "operationId": "CheckFilePathAvailability", + "parameters": [ + { + "name": "body", + "in": "body", + "description": "File path availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + }, + "x-ms-client-flatten": true + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/location" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "CheckFilePathAvailability": { + "$ref": "examples/CheckFilePathAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "summary": "Describe all NetApp Accounts in a resource group", + "description": "List and describe all NetApp accounts in the resource group", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccountList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "examples/Accounts_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { + "get": { + "summary": "Describe a NetApp Account", + "description": "Get the NetApp account", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "examples/Accounts_Get.json" + } + } + }, + "put": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_CreateOrUpdate", + "summary": "Create or update a NetApp account", + "description": "Create or update the specified NetApp account within the resource group", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - account updated", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "201": { + "description": "Account created", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_CreateOrUpdate": { + "$ref": "examples/Accounts_CreateOrUpdate.json" + } + } + }, + "delete": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Delete", + "summary": "Delete a NetApp account", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "Delete the specified NetApp account", + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "examples/Accounts_Delete.json" + } + } + }, + "patch": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Update", + "summary": "Update a NetApp account", + "description": "Patch the specified NetApp account", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccountPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - account updated", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "examples/Accounts_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { + "get": { + "summary": "Describe all Capacity Pools", + "description": "List all capacity pools in the NetApp Account", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPoolList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_List": { + "$ref": "examples/Pools_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { + "get": { + "summary": "Describe a Capacity Pool", + "description": "Get details of the specified capacity pool", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "examples/Pools_Get.json" + } + } + }, + "put": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_CreateOrUpdate", + "summary": "Create or Update the specified capacity pool within the resource group", + "description": "Create or Update a capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - pool updated", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "201": { + "description": "Pool created", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "examples/Pools_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Update", + "summary": "Update a capacity pool", + "description": "Patch the specified capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPoolPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "examples/Pools_Update.json" + } + } + }, + "delete": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Delete", + "summary": "Delete a capacity pool", + "description": "Delete the specified capacity pool", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "examples/Pools_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { + "get": { + "summary": "Describe all volumes", + "description": "List all volumes within the capacity pool", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Volumes" + ], + "operationId": "Volumes_List", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volumeList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_List": { + "$ref": "examples/Volumes_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { + "get": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Get", + "summary": "Describe a volume", + "description": "Get the details of the specified volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_Get": { + "$ref": "examples/Volumes_Get.json" + } + } + }, + "put": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_CreateOrUpdate", + "summary": "Create or Update a volume", + "description": "Create or update the specified volume within the capacity pool", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volume" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Ok - volume updated", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "201": { + "description": "Volume created", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_CreateOrUpdate": { + "$ref": "examples/Volumes_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Update", + "summary": "Update a volume", + "description": "Patch the specified volume", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volumePatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_Update": { + "$ref": "examples/Volumes_Update.json" + } + } + }, + "delete": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Delete", + "summary": "Delete a volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "Delete the specified volume", + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_Delete": { + "$ref": "examples/Volumes_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { + "get": { + "tags": [ + "MountTargets" + ], + "operationId": "MountTargets_List", + "summary": "Describe all mount targets", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "List all mount targets associated with the volume", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/mountTargetList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "MountTargets_List": { + "$ref": "examples/MountTargets_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_List", + "summary": "Describe all snapshots", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "List all snapshots associated with the volume", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshotsList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_List": { + "$ref": "examples/Snapshots_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Get", + "summary": "Describe a snapshot", + "description": "Get details of the specified snapshot", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "examples/Snapshots_Get.json" + } + } + }, + "put": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Create", + "summary": "Create a snapshot", + "description": "Create the specified snapshot within the given volume", + "parameters": [ + { + "name": "body", + "description": "Snapshot object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Snapshot created", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Snapshots_Create": { + "$ref": "examples/Snapshots_Create.json" + } + } + }, + "patch": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Update", + "summary": "Update a snapshot", + "description": "Patch a snapshot", + "parameters": [ + { + "name": "body", + "description": "Snapshot object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/snapshotPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_Update": { + "$ref": "examples/Snapshots_Update.json" + } + } + }, + "delete": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Delete", + "summary": "Delete a snapshot", + "description": "Delete snapshot", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Snapshots_Delete": { + "$ref": "examples/Snapshots_Delete.json" + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Storage operations supported by the Storage resource provider." + } + } + }, + "Operation": { + "description": "Microsoft.NetApp REST API operation definition.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft NetApp.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Operation description.", + "type": "string" + } + } + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true + } + } + }, + "OperationProperties": { + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "ServiceSpecification": { + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "MetricSpecification": { + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "description": "Dimensions of blobs, including blob type and access tier.", + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "Dimension": { + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "ResourceNameAvailability": { + "description": "Information regarding availability of a resource name.", + "type": "object", + "properties": { + "isAvailable": { + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.", + "type": "boolean" + }, + "reason": { + "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "x-ms-enum": { + "name": "InAvailabilityReasonType", + "modelAsString": true + } + }, + "message": { + "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.", + "type": "string" + } + } + }, + "ResourceNameAvailabilityRequest": { + "description": "Resource name availability request content.", + "required": [ + "name", + "type", + "resourceGroup" + ], + "type": "object", + "properties": { + "name": { + "description": "Resource name to verify.", + "type": "string" + }, + "type": { + "description": "Resource type used for verification.", + "enum": [ + "Microsoft.NetApp/netAppAccounts", + "Microsoft.NetApp/netAppAccounts/capacityPools", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + ], + "type": "string", + "x-ms-enum": { + "name": "CheckNameResourceTypes", + "modelAsString": true + } + }, + "resourceGroup": { + "description": "Resource group name.", + "type": "string" + } + } + }, + "netAppAccountList": { + "description": "List of NetApp account resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Multiple NetApp accounts", + "items": { + "$ref": "#/definitions/netAppAccount" + } + } + } + }, + "netAppAccount": { + "description": "NetApp account resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "NetApp Account properties", + "$ref": "#/definitions/accountProperties", + "x-ms-client-flatten": true + } + } + }, + "netAppAccountPatch": { + "description": "NetApp account patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "NetApp Account properties", + "$ref": "#/definitions/accountProperties", + "x-ms-client-flatten": true + } + } + }, + "accountProperties": { + "description": "NetApp account properties", + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + }, + "activeDirectories": { + "description": "Active Directories", + "type": "array", + "items": { + "$ref": "#/definitions/activeDirectory" + } + } + } + }, + "activeDirectory": { + "description": "Active Directory", + "type": "object", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory" + }, + "username": { + "type": "string", + "description": "Username of Active Directory domain administrator" + }, + "password": { + "type": "string", + "description": "Plain text password of Active Directory domain administrator" + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain" + }, + "dns": { + "type": "string", + "description": "Comma separated list of DNS server IP addresses for the Active Directory domain" + }, + "status": { + "type": "string", + "description": "Status of the Active Directory" + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes" + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory" + } + } + }, + "capacityPoolList": { + "description": "List of capacity pool resources", + "type": "object", + "properties": { + "value": { + "description": "List of Capacity pools", + "type": "array", + "items": { + "$ref": "#/definitions/capacityPool" + } + } + } + }, + "capacityPool": { + "description": "Capacity pool resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Capacity pool properties", + "$ref": "#/definitions/poolProperties", + "x-ms-client-flatten": true + } + } + }, + "poolProperties": { + "description": "Pool properties", + "type": "object", + "required": [ + "size", + "serviceLevel" + ], + "properties": { + "poolId": { + "title": "poolId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Pool", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "size": { + "title": "size", + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).", + "minimum": 4398046511104, + "maximum": 549755813888000 + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "capacityPoolPatch": { + "description": "Capacity pool patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Capacity pool properties", + "$ref": "#/definitions/poolPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "poolPatchProperties": { + "description": "Patchable pool properties", + "type": "object", + "properties": { + "size": { + "title": "size", + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).", + "minimum": 4398046511104, + "maximum": 549755813888000, + "default": 4398046511104 + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + } + } + }, + "volumeList": { + "description": "List of volume resources", + "type": "object", + "properties": { + "value": { + "description": "List of volumes", + "type": "array", + "items": { + "$ref": "#/definitions/volume" + } + } + } + }, + "volume": { + "description": "Volume resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Volume properties", + "$ref": "#/definitions/volumeProperties", + "x-ms-client-flatten": true + } + } + }, + "resourceTags": { + "description": "Resource tags", + "type": "object" + }, + "volumeProperties": { + "description": "Volume properties", + "type": "object", + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], + "properties": { + "fileSystemId": { + "title": "FileSystem ID", + "type": "string", + "readOnly": true, + "description": "Unique FileSystem Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "creationToken": { + "title": "Creation Token or File Path", + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets", + "minimum": 16, + "maximum": 40, + "example": "some-amazing-filepath" + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.", + "minimum": 107374182400, + "maximum": 109951162777600, + "default": 107374182400, + "example": 107374182400 + }, + "exportPolicy": { + "title": "exportPolicy", + "description": "Set of export policy rules", + "properties": { + "rules": { + "title": "Export policy rule", + "description": "Export policy rule", + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } + }, + "protocolTypes": { + "title": "protocolTypes", + "description": "Set of protocol types", + "type": "array", + "items": { + "type": "string" + }, + "example": ["NFSv3", "NFSv4"] + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + }, + "snapshotId": { + "title": "Snapshot ID", + "type": "string", + "description": "UUID v4 or resource identifier used to identify the Snapshot.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "baremetalTenantId": { + "title": "Baremetal Tenant ID", + "type": "string", + "readOnly": true, + "description": "Unique Baremetal Tenant Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779" + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "mountTargets": { + "title": "mountTargets", + "description": "List of mount targets", + "items": { + "$ref": "#/definitions/mountTargetList" + } + } + } + }, + "exportPolicyRule": { + "description": "Volume Export Policy Rule", + "type": "object", + "properties": { + "ruleIndex": { + "type": "integer", + "description": "Order index" + }, + "unixReadOnly": { + "type": "boolean", + "description": "Read only access" + }, + "unixReadWrite": { + "type": "boolean", + "description": "Read and write access" + }, + "cifs": { + "type": "boolean", + "description": "Allows CIFS protocol" + }, + "nfsv3": { + "type": "boolean", + "description": "Allows NFSv3 protocol" + }, + "nfsv4": { + "type": "boolean", + "description": "Allows NFSv4 protocol" + }, + "allowedClients": { + "type": "string", + "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names" + } + } + }, + "volumePatch": { + "description": "Volume patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Patchable volume properties", + "$ref": "#/definitions/volumePatchProperties", + "x-ms-client-flatten": true + } + } + }, + "volumePatchProperties": { + "description": "Patchable volume properties", + "type": "object", + "properties": { + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.", + "minimum": 107374182400, + "maximum": 109951162777600, + "default": 107374182400, + "example": 107374182400 + }, + "exportPolicy": { + "title": "exportPolicy", + "description": "Set of export policy rules", + "properties": { + "rules": { + "title": "Export policy rule", + "description": "Export policy rule", + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } + } + } + }, + "mountTargetList": { + "description": "List of Mount Targets", + "type": "object", + "properties": { + "value": { + "description": "A list of Mount targets", + "type": "array", + "items": { + "$ref": "#/definitions/mountTarget" + } + } + } + }, + "mountTarget": { + "description": "Mount Target", + "type": "object", + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Mount Target Properties", + "$ref": "#/definitions/mountTargetProperties", + "x-ms-client-flatten": true + } + } + }, + "mountTargetProperties": { + "description": "Mount target properties", + "type": "object", + "required": [ + "fileSystemId" + ], + "properties": { + "mountTargetId": { + "title": "mountTargetId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "ipAddress": { + "title": "ipAddress", + "description": "The mount target's IPv4 address", + "type": "string", + "readOnly": true, + "example": "1.2.3.4" + }, + "subnet": { + "title": "subnet", + "type": "string", + "description": "The subnet", + "example": "1.2.3.4" + }, + "startIp": { + "title": "startIp", + "description": "The start of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "endIp": { + "title": "endIp", + "description": "The end of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "gateway": { + "title": "gateway", + "description": "The gateway of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "netmask": { + "title": "netmask", + "description": "The netmask of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "255.255.255.0" + }, + "smbServerFqdn": { + "title": "smbServerFQDN", + "description": "The SMB server's Fully Qualified Domain Name, FQDN", + "type": "string", + "example": "fullyqualified.domainname.com" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "snapshotsList": { + "description": "List of Snapshots", + "type": "object", + "properties": { + "value": { + "description": "A list of Snapshots", + "type": "array", + "items": { + "$ref": "#/definitions/snapshot" + } + } + } + }, + "snapshot": { + "description": "Snapshot of a Volume", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Snapshot Properties", + "$ref": "#/definitions/snapshotProperties", + "x-ms-client-flatten": true + } + } + }, + "snapshotPatch": { + "description": "Snapshot patch", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + } + } + }, + "snapshotProperties": { + "description": "Snapshot properties", + "type": "object", + "properties": { + "snapshotId": { + "title": "snapshotId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Snapshot", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the FileSystem", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "creationDate": { + "title": "name", + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The creation date of the snapshot", + "example": "2017-08-15 13:23:33" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "location": { + "name": "location", + "description": "The location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroup": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "AccountName": { + "name": "accountName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the NetApp account", + "x-ms-parameter-location": "method" + }, + "PoolName": { + "name": "poolName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the capacity pool", + "x-ms-parameter-location": "method" + }, + "VolumeName": { + "name": "volumeName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the volume", + "x-ms-parameter-location": "method" + }, + "MountTargetName": { + "name": "mountTargetName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "SnapshotName": { + "name": "snapshotName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "description": "Version of the API to be used with the client request.", + "in": "query", + "type": "string", + "required": true, + "default": "2019-06-01" + } + } +} diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md index 324c8442f242..ab402e1cfb59 100644 --- a/specification/netapp/resource-manager/readme.md +++ b/specification/netapp/resource-manager/readme.md @@ -28,9 +28,17 @@ These are the global settings for the Azure NetApp Files API. title: NetAppManagementClient description: Microsoft NetApp Azure Resource Provider specification openapi-type: arm -tag: package-netapp-2019-05-01 +tag: package-netapp-2019-06-01 ``` +### Tag: package-netapp-2019-06-01 + +These settings apply only when `--tag=package-netapp-2019-06-01` is specified on the command line. + +``` yaml $(tag) == 'package-netapp-2019-06-01' +input-file: +- Microsoft.NetApp/stable/2019-06-01/netapp.json +``` ### Tag: package-netapp-2019-05-01 From 39880590c3e28468cb6aa6b760339382e5b3f61f Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 27 Jun 2019 14:27:03 -0700 Subject: [PATCH 173/495] got rid of operationalinsights references, added java readme (#6461) --- .../resource-manager/readme.java.md | 49 +++++++++++++++++++ .../resource-manager/readme.md | 48 +----------------- 2 files changed, 50 insertions(+), 47 deletions(-) create mode 100644 specification/operationalinsights/resource-manager/readme.java.md diff --git a/specification/operationalinsights/resource-manager/readme.java.md b/specification/operationalinsights/resource-manager/readme.java.md new file mode 100644 index 000000000000..8e697d7d8efb --- /dev/null +++ b/specification/operationalinsights/resource-manager/readme.java.md @@ -0,0 +1,49 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.loganalytics +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-loganalytics +service-name: LogAnalytics +``` + + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-03 + - tag: package-2015-11-preview +``` + +### Tag: package-2015-03 and java + +These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.loganalytics.v2015_03_20 + output-folder: $(azure-libraries-for-java-folder)/loganalytics/resource-manager/v2015_03_20 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-11-preview and java + +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.loganalytics.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/loganalytics/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index d77239330b8d..160d3222ce87 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -122,53 +122,7 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.operationalinsights -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights -``` - - - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-03 - - tag: package-2015-11-preview -``` - -### Tag: package-2015-03 and java - -These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-03' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.operationalinsights.v2015_03_20 - output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_03_20 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-11-preview and java - -These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.operationalinsights.v2015_11_01_preview - output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_11_01_preview -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) ## Suppression From 253ae6044158d8947d4f32e67529ac91cd15a63b Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 27 Jun 2019 14:27:33 -0700 Subject: [PATCH 174/495] added package tag for servicebus java, added java readme (#6482) --- .../resource-manager/readme.java.md | 66 +++++++++++++++++++ .../servicebus/resource-manager/readme.md | 53 +-------------- 2 files changed, 67 insertions(+), 52 deletions(-) create mode 100644 specification/servicebus/resource-manager/readme.java.md diff --git a/specification/servicebus/resource-manager/readme.java.md b/specification/servicebus/resource-manager/readme.java.md new file mode 100644 index 000000000000..51500a93632d --- /dev/null +++ b/specification/servicebus/resource-manager/readme.java.md @@ -0,0 +1,66 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.servicebus +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicebus +directive: + rename-model: + from: PremiumMessagingRegions + to: PremiumMessagingRegion + +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-08 + - tag: package-2017-04 + - tag: package-2018-01-preview +``` + +### Tag: package-2015-08 and java + +These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicebus.v2015_08_01 + output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2015_08_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-04 and java + +These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicebus.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01-preview and java + +These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicebus.v2018_01_01_preview + output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2018_01_01_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index fb1e5381521a..4db3698f8985 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -132,55 +132,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.servicebus -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicebus -directive: - rename-model: - from: PremiumMessagingRegions - to: PremiumMessagingRegion - -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-08 - - tag: package-2017-04 -``` - -### Tag: package-2015-08 and java - -These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.servicebus.v2015_08_01 - output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2015_08_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-04 and java - -These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.servicebus.v2017_04_01 - output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2017_04_01 -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 0737a4885a5e2e367458c99e4fa6c079fca7b35e Mon Sep 17 00:00:00 2001 From: Anthony Martin <38542602+antmarti-microsoft@users.noreply.github.com> Date: Thu, 27 Jun 2019 15:36:25 -0700 Subject: [PATCH 175/495] Update API version missed in https://github.com/Azure/azure-rest-api-specs/pull/6276 (#6481) --- .../examples/ExportResourceGroup.json | 63 +++++++++++++++++++ .../ExportResourceGroupWithFiltering.json | 41 ++++++++++++ .../stable/2019-05-01/resources.json | 12 +++- 3 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json new file mode 100644 index 000000000000..2f501f4d3d9c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-05-01", + "parameters": { + "resources": [ + "*" + ], + "options": "IncludeParameterDefaultValue,IncludeComments" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_name": { + "defaultValue": "myFirstResource", + "type": "String" + }, + "myResourceType_mySecondResource_name": { + "defaultValue": "mySecondResource", + "type": "String" + }, + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_myFirstResource_name')]", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + }, + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_mySecondResource_name')]", + "location": "West US", + "properties": { + "customProperty": "hello!" + } + } + ] + }, + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json new file mode 100644 index 000000000000..c73296b8f442 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-05-01", + "parameters": { + "resources": [ + "/subscriptions/eaee6a92-e973-4922-9471-3a0a6abf81cd/resourceGroups/myResourceGroup/providers/My.RP/myResourceType/myFirstResource" + ], + "options": "SkipResourceNameParameterization" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "myFirstResource", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json index ae27108aa775..fab6e1853213 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json @@ -1390,6 +1390,14 @@ "$ref": "#/parameters/SubscriptionIdParameter" } ], + "x-ms-examples": { + "Export a resource group": { + "$ref": "./examples/ExportResourceGroup.json" + }, + "Export a resource group with filtering": { + "$ref": "./examples/ExportResourceGroupWithFiltering.json" + } + }, "responses": { "200": { "description": "OK - Returns the result of the export.", @@ -3386,11 +3394,11 @@ "items": { "type": "string" }, - "description": "The IDs of the resources. The only supported string currently is '*' (all resources). Future updates will support exporting specific resources." + "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'." }, "options": { "type": "string", - "description": "The export template options. Supported values include 'IncludeParameterDefaultValue', 'IncludeComments' or 'IncludeParameterDefaultValue, IncludeComments" + "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'" } }, "description": "Export resource group template request parameters." From 70c5bd077965c4a8c334d7468000b3571847f76a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 27 Jun 2019 22:49:04 -0400 Subject: [PATCH 176/495] typo: batch (#6419) Double word "Compute" --- .../stable/2019-06-01.9.0/BatchService.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json index 4d310bdb3d47..692994b09f40 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json @@ -185,7 +185,7 @@ } }, "summary": "Gets information about the specified Application.", - "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Compute Nodes, use the Azure portal or the Azure Resource Manager API.", + "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.", "x-ms-request-id": "request-id", "parameters": [ { @@ -11815,8 +11815,8 @@ "items": { "$ref": "#/definitions/ApplicationPackageReference" }, - "title": "A list of Application Packages that the Batch service will deploy to the Compute Compute Node before running the command line.", - "description": "Application Packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced Application Package is already on the Compute Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Compute Node is used. If a referenced Application Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails." + "title": "A list of Application Packages that the Batch service will deploy to the Compute Node before running the command line.", + "description": "Application Packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced Application Package is already on the Compute Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced Application Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails." }, "authenticationTokenSettings": { "title": "The settings for an authentication token that the Task can use to perform Batch service operations.", @@ -11953,7 +11953,7 @@ "properties": { "nodeFillType": { "type": "string", - "title": "How Tasks are distributed across Compute Compute Nodes in a Pool.", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", "description": "If not specified, the default is spread.", "enum": [ "spread", @@ -12159,7 +12159,7 @@ }, "taskSchedulingPolicy": { "$ref": "#/definitions/TaskSchedulingPolicy", - "title": "How Tasks are distributed across Compute Compute Nodes in a Pool.", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", "description": "If not specified, the default is spread." }, "resizeTimeout": { @@ -15456,8 +15456,8 @@ "items": { "$ref": "#/definitions/ApplicationPackageReference" }, - "title": "The list of Application Packages to be installed on each Compute Compute Node in the Pool.", - "description": "The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool." + "title": "The list of Application Packages to be installed on each Compute Node in the Pool.", + "description": "The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool." }, "metadata": { "type": "array", From b9ae5aea122d58654f5920572a4d94ac69ab9277 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 27 Jun 2019 20:13:50 -0700 Subject: [PATCH 177/495] PostGreSql: added java readme (#6437) * added java readme and added package tag for java * Update readme.java.md --- .../resource-manager/readme.java.md | 47 +++++++++++++++++++ .../postgresql/resource-manager/readme.md | 32 +------------ 2 files changed, 48 insertions(+), 31 deletions(-) create mode 100644 specification/postgresql/resource-manager/readme.java.md diff --git a/specification/postgresql/resource-manager/readme.java.md b/specification/postgresql/resource-manager/readme.java.md new file mode 100644 index 000000000000..27e27dac9a66 --- /dev/null +++ b/specification/postgresql/resource-manager/readme.java.md @@ -0,0 +1,47 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.postgresql +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresql +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-12-01-preview + - tag: package-2017-12-01 +``` + +### Tag: package-2017-12-01-preview and java + +These settings apply only when `--tag=package-2017-12-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.postgresql.v2017_12_01_preview + output-folder: $(azure-libraries-for-java-folder)/postgresql/resource-manager/v2017_12_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.postgresql.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/postgresql/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index af68cd692f7a..2afd448086b8 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -117,34 +117,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.postgresql -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresql -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-12-01 -``` - -### Tag: package-2017-12-01 and java - -These settings apply only when `--tag=package-2016-12-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.postgresql.v2017_12_01 - output-folder: $(azure-libraries-for-java-folder)/postgresql/resource-manager/v2017_12_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 91c6342fadadc4f516b3c7def097d60199949eb0 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 28 Jun 2019 08:15:20 -0700 Subject: [PATCH 178/495] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#6038) * add 2019-06-01 api swagger with examples * add 2019-06-01 api swagger with examples * trigger new ci build * add arm64 enum * add includeTriggerMetadata * rename variables * add updateTriggerToken to run properties * move 2019-06-01 to preview * update examples * revert 'Resource' definition * update examples * address comments * remove readonly properties from request * remove readonly properties from request * remove readonly peoperty * remove readonly peoperty --- .../containerregistry_build.json | 2646 +++++++++++++++++ ...sksCreate_WithSystemAndUserIdentities.json | 248 ++ .../TasksCreate_WithSystemIdentity.json | 227 ++ .../TasksCreate_WithUserIdentities.json | 253 ++ ...sUpdate_WithKeyVaultCustomCredentials.json | 222 ++ .../TasksUpdate_WithMSICustomCredentials.json | 210 ++ .../RegistriesGetBuildSourceUploadUrl.json | 16 + .../examples/RegistriesScheduleRun.json | 54 + .../RegistriesScheduleRun_EncodedTaskRun.json | 47 + .../RegistriesScheduleRun_FileTaskRun.json | 48 + ...uleRun_FileTask_WithCustomCredentials.json | 60 + .../examples/RegistriesScheduleRun_Task.json | 57 + ...riesScheduleRun_WithCustomCredentials.json | 82 + .../examples/RunsCancel.json | 13 + .../2019-06-01-preview/examples/RunsGet.json | 57 + .../examples/RunsGetLogSasUrl.json | 16 + .../2019-06-01-preview/examples/RunsList.json | 62 + .../examples/RunsUpdate.json | 106 + .../examples/TasksCreate.json | 233 ++ .../examples/TasksDelete.json | 14 + .../2019-06-01-preview/examples/TasksGet.json | 92 + .../examples/TasksGetDetails.json | 106 + .../examples/TasksList.json | 95 + .../examples/TasksUpdate.json | 222 ++ ...sksUpdate_WithOpaqueCustomCredentials.json | 217 ++ .../resource-manager/readme.go.md | 10 + .../resource-manager/readme.java.md | 14 + .../resource-manager/readme.md | 12 +- .../resource-manager/readme.nodejs.md | 2 +- .../resource-manager/readme.python.md | 12 + .../resource-manager/readme.typescript.md | 2 +- 31 files changed, 5452 insertions(+), 3 deletions(-) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json new file mode 100644 index 000000000000..6fefb880910c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json @@ -0,0 +1,2646 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-01-preview", + "title": "ContainerRegistryManagementClient" + }, + "host": "management.azure.com", + "basePath": "/", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": { + "post": { + "tags": [ + "Registries" + ], + "description": "Schedules a new run based on the request parameters and add it to the run queue.", + "operationId": "Registries_ScheduleRun", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "runRequest", + "in": "body", + "description": "The parameters of a run that needs to scheduled.", + "required": true, + "schema": { + "$ref": "#/definitions/RunRequest" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "202": { + "description": "The request was successfully accepted; the operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Registries_ScheduleRun": { + "$ref": "./examples/RegistriesScheduleRun.json" + }, + "Registries_ScheduleRun_EncodedTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json" + }, + "Registries_ScheduleRun_FileTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json" + }, + "Registries_ScheduleRun_Task": { + "$ref": "./examples/RegistriesScheduleRun_Task.json" + }, + "Registries_ScheduleRun_Task_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json" + }, + "Registries_ScheduleRun_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": { + "post": { + "tags": [ + "Registries" + ], + "description": "Get the upload location for the user to be able to upload the source.", + "operationId": "Registries_GetBuildSourceUploadUrl", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SourceUploadDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-examples": { + "Registries_GetBuildSourceUploadUrl": { + "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs": { + "get": { + "tags": [ + "Runs" + ], + "description": "Gets all the runs for a registry.", + "operationId": "Runs_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "$top is supported for get list of runs, which limits the maximum number of runs to return.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RunListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-odata": "#/definitions/RunFilter", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Runs_List": { + "$ref": "./examples/RunsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}": { + "get": { + "tags": [ + "Runs" + ], + "description": "Gets the detailed information for a given run.", + "operationId": "Runs_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-examples": { + "Runs_Get": { + "$ref": "./examples/RunsGet.json" + } + } + }, + "patch": { + "tags": [ + "Runs" + ], + "description": "Patch the run properties.", + "operationId": "Runs_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + }, + { + "name": "runUpdateParameters", + "in": "body", + "description": "The run update properties.", + "required": true, + "schema": { + "$ref": "#/definitions/RunUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "201": { + "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Runs_Update": { + "$ref": "./examples/RunsUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl": { + "post": { + "tags": [ + "Runs" + ], + "description": "Gets a link to download the run logs.", + "operationId": "Runs_GetLogSasUrl", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RunGetLogResult" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-examples": { + "Runs_GetLogSasUrl": { + "$ref": "./examples/RunsGetLogSasUrl.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel": { + "post": { + "tags": [ + "Runs" + ], + "description": "Cancel an existing run.", + "operationId": "Runs_Cancel", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successfully accepted; the operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Runs_Cancel": { + "$ref": "./examples/RunsCancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks": { + "get": { + "tags": [ + "Tasks" + ], + "description": "Lists all the tasks for a specified container registry.", + "operationId": "Tasks_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/TaskListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Tasks_List": { + "$ref": "./examples/TasksList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}": { + "get": { + "tags": [ + "Tasks" + ], + "description": "Get the properties of a specified task.", + "operationId": "Tasks_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TaskNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-examples": { + "Tasks_Get": { + "$ref": "./examples/TasksGet.json" + } + } + }, + "put": { + "tags": [ + "Tasks" + ], + "description": "Creates a task for a container registry with the specified parameters.", + "operationId": "Tasks_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TaskNameParameter" + }, + { + "name": "taskCreateParameters", + "in": "body", + "description": "The parameters for creating a task.", + "required": true, + "schema": { + "$ref": "#/definitions/Task" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "201": { + "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Tasks_Create": { + "$ref": "./examples/TasksCreate.json" + }, + "Tasks_Create_WithSystemAndUserIdentities": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json" + }, + "Tasks_Create_WithUserIdentities_WithSystemIdentity": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json" + }, + "Tasks_Create_WithUserIdentities": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json" + } + } + }, + "delete": { + "tags": [ + "Tasks" + ], + "description": "Deletes a specified task.", + "operationId": "Tasks_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TaskNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successfully accepted; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Tasks_Delete": { + "$ref": "./examples/TasksDelete.json" + } + } + }, + "patch": { + "tags": [ + "Tasks" + ], + "description": "Updates a task with the specified parameters.", + "operationId": "Tasks_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TaskNameParameter" + }, + { + "name": "taskUpdateParameters", + "in": "body", + "description": "The parameters for updating a task.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "201": { + "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Tasks_Update": { + "$ref": "./examples/TasksUpdate.json" + }, + "Tasks_Update_WithKeyVaultCustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json" + }, + "Tasks_Update_WithMSICustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json" + }, + "Tasks_Update_WithOpaqueCustomCredentials": { + "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails": { + "post": { + "tags": [ + "Tasks" + ], + "description": "Returns a task with extended information that includes all secrets.", + "operationId": "Tasks_GetDetails", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TaskNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned." + } + }, + "x-ms-examples": { + "Tasks_GetDetails": { + "$ref": "./examples/TasksGetDetails.json" + } + } + } + } + }, + "definitions": { + "RunRequest": { + "description": "The request parameters for scheduling a run.", + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "description": "The type of the run request.", + "type": "string" + }, + "isArchiveEnabled": { + "description": "The value that indicates whether archiving is enabled for the run or not.", + "default": false, + "type": "boolean" + } + }, + "discriminator": "type" + }, + "Run": { + "description": "Run resource properties", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/RunProperties", + "description": "The properties of a run.", + "x-ms-client-flatten": true + } + } + }, + "RunProperties": { + "description": "The properties for a run.", + "type": "object", + "properties": { + "runId": { + "description": "The unique identifier for the run.", + "type": "string" + }, + "status": { + "description": "The current status of the run.", + "enum": [ + "Queued", + "Started", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Error", + "Timeout" + ], + "type": "string", + "x-ms-enum": { + "name": "RunStatus", + "modelAsString": true + } + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "The last updated time for the run.", + "type": "string" + }, + "runType": { + "description": "The type of run.", + "enum": [ + "QuickBuild", + "QuickRun", + "AutoBuild", + "AutoRun" + ], + "type": "string", + "x-ms-enum": { + "name": "RunType", + "modelAsString": true + } + }, + "createTime": { + "format": "date-time", + "description": "The time the run was scheduled.", + "type": "string" + }, + "startTime": { + "format": "date-time", + "description": "The time the run started.", + "type": "string" + }, + "finishTime": { + "format": "date-time", + "description": "The time the run finished.", + "type": "string" + }, + "outputImages": { + "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageDescriptor" + } + }, + "task": { + "description": "The task against which run was scheduled.", + "type": "string" + }, + "imageUpdateTrigger": { + "$ref": "#/definitions/ImageUpdateTrigger", + "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured." + }, + "sourceTrigger": { + "$ref": "#/definitions/SourceTriggerDescriptor", + "description": "The source trigger that caused the run." + }, + "timerTrigger": { + "$ref": "#/definitions/TimerTriggerDescriptor", + "description": "The timer trigger that caused the run." + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run will happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceRegistryAuth": { + "description": "The scope of the credentials that were used to login to the source registry during this run.", + "type": "string" + }, + "customRegistries": { + "description": "The list of custom registries that were logged in during this run.", + "type": "array", + "items": { + "type": "string" + } + }, + "runErrorMessage": { + "description": "The error message received from backend systems after the run is scheduled.", + "type": "string", + "readOnly": true + }, + "updateTriggerToken": { + "description": "The update trigger token passed for the Run.", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning state of a run.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "isArchiveEnabled": { + "description": "The value that indicates whether archiving is enabled or not.", + "default": false, + "type": "boolean" + } + } + }, + "ImageDescriptor": { + "description": "Properties for a registry image.", + "type": "object", + "properties": { + "registry": { + "description": "The registry login server.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "tag": { + "description": "The tag name.", + "type": "string" + }, + "digest": { + "description": "The sha256-based digest of the image manifest.", + "type": "string" + } + } + }, + "ImageUpdateTrigger": { + "description": "The image update trigger that caused a build.", + "type": "object", + "properties": { + "id": { + "description": "The unique ID of the trigger.", + "type": "string" + }, + "timestamp": { + "format": "date-time", + "description": "The timestamp when the image update happened.", + "type": "string" + }, + "images": { + "description": "The list of image updates that caused the build.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageDescriptor" + } + } + } + }, + "SourceTriggerDescriptor": { + "description": "The source trigger that caused a run.", + "type": "object", + "properties": { + "id": { + "description": "The unique ID of the trigger.", + "type": "string" + }, + "eventType": { + "description": "The event type of the trigger.", + "type": "string" + }, + "commitId": { + "description": "The unique ID that identifies a commit.", + "type": "string" + }, + "pullRequestId": { + "description": "The unique ID that identifies pull request.", + "type": "string" + }, + "repositoryUrl": { + "description": "The repository URL.", + "type": "string" + }, + "branchName": { + "description": "The branch name in the repository.", + "type": "string" + }, + "providerType": { + "description": "The source control provider type.", + "type": "string" + } + } + }, + "TimerTriggerDescriptor": { + "type": "object", + "properties": { + "timerTriggerName": { + "description": "The timer trigger name that caused the run.", + "type": "string" + }, + "scheduleOccurrence": { + "description": "The occurrence that triggered the run.", + "type": "string" + } + } + }, + "PlatformProperties": { + "description": "The platform properties against which the run has to happen.", + "required": [ + "os" + ], + "type": "object", + "properties": { + "os": { + "description": "The operating system type required for the run.", + "enum": [ + "Windows", + "Linux" + ], + "type": "string", + "x-ms-enum": { + "name": "OS", + "modelAsString": true + } + }, + "architecture": { + "description": "The OS architecture.", + "enum": [ + "amd64", + "x86", + "386", + "arm", + "arm64" + ], + "type": "string", + "x-ms-enum": { + "name": "Architecture", + "modelAsString": true + } + }, + "variant": { + "description": "Variant of the CPU.", + "enum": [ + "v6", + "v7", + "v8" + ], + "type": "string", + "x-ms-enum": { + "name": "Variant", + "modelAsString": true + } + } + } + }, + "AgentProperties": { + "description": "The properties that determine the run agent configuration.", + "type": "object", + "properties": { + "cpu": { + "format": "int32", + "description": "The CPU configuration in terms of number of cores required for the run.", + "type": "integer" + } + } + }, + "SourceUploadDefinition": { + "description": "The properties of a response to source upload request.", + "type": "object", + "properties": { + "uploadUrl": { + "description": "The URL where the client can upload the source.", + "type": "string" + }, + "relativePath": { + "description": "The relative path to the source. This is used to submit the subsequent queue build request.", + "type": "string" + } + } + }, + "RunListResult": { + "description": "Collection of runs.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/Run" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "RunFilter": { + "description": "Properties that are enabled for Odata querying on runs.", + "type": "object", + "properties": { + "runId": { + "description": "The unique identifier for the run.", + "type": "string" + }, + "runType": { + "description": "The type of run.", + "enum": [ + "QuickBuild", + "QuickRun", + "AutoBuild", + "AutoRun" + ], + "type": "string", + "x-ms-enum": { + "name": "RunType", + "modelAsString": true + } + }, + "status": { + "description": "The current status of the run.", + "enum": [ + "Queued", + "Started", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Error", + "Timeout" + ], + "type": "string", + "x-ms-enum": { + "name": "RunStatus", + "modelAsString": true + } + }, + "createTime": { + "format": "date-time", + "description": "The create time for a run.", + "type": "string" + }, + "finishTime": { + "format": "date-time", + "description": "The time the run finished.", + "type": "string" + }, + "outputImageManifests": { + "description": "The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of\r\nbuild type.", + "type": "string" + }, + "isArchiveEnabled": { + "description": "The value that indicates whether archiving is enabled or not.", + "type": "boolean" + }, + "taskName": { + "description": "The name of the task that the run corresponds to.", + "type": "string" + } + } + }, + "RunUpdateParameters": { + "description": "The set of run properties that can be updated.", + "type": "object", + "properties": { + "isArchiveEnabled": { + "description": "The value that indicates whether archiving is enabled or not.", + "type": "boolean" + } + } + }, + "RunGetLogResult": { + "description": "The result of get log link operation.", + "type": "object", + "properties": { + "logLink": { + "description": "The link to logs for a run on a azure container registry.", + "type": "string" + } + } + }, + "TaskListResult": { + "description": "The collection of tasks.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/Task" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "Task": { + "description": "The task that has the ARM resource and task properties. \r\nThe task will have all information to schedule a run against it.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "properties": { + "$ref": "#/definitions/TaskProperties", + "description": "The properties of a task.", + "x-ms-client-flatten": true + } + } + }, + "IdentityProperties": { + "description": "Managed identity for the resource.", + "type": "object", + "properties": { + "principalId": { + "description": "The principal ID of resource identity.", + "type": "string" + }, + "tenantId": { + "description": "The tenant ID of resource.", + "type": "string" + }, + "type": { + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "TaskProperties": { + "description": "The properties of a task.", + "required": [ + "platform", + "step" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the task.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of task.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The current status of task.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TaskStatus", + "modelAsString": true + } + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "timeout": { + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "maximum": 28800, + "minimum": 300, + "type": "integer" + }, + "step": { + "$ref": "#/definitions/TaskStepProperties", + "description": "The properties of a task step." + }, + "trigger": { + "$ref": "#/definitions/TriggerProperties", + "description": "The properties that describe all triggers for the task." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + } + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "description": "The principal id of user assigned identity.", + "type": "string" + }, + "clientId": { + "description": "The client id of user assigned identity.", + "type": "string" + } + } + }, + "TaskStepProperties": { + "description": "Base properties for any task step.", + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "description": "The type of the step.", + "enum": [ + "Docker", + "FileTask", + "EncodedTask" + ], + "type": "string", + "x-ms-enum": { + "name": "StepType", + "modelAsString": true + } + }, + "baseImageDependencies": { + "description": "List of base image dependencies for a step.", + "type": "array", + "items": { + "$ref": "#/definitions/BaseImageDependency" + }, + "readOnly": true + }, + "contextPath": { + "description": "The URL(absolute or relative) of the source context for the task step.", + "type": "string" + }, + "contextAccessToken": { + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.", + "type": "string" + } + }, + "discriminator": "type" + }, + "TriggerProperties": { + "description": "The properties of a trigger.", + "type": "object", + "properties": { + "timerTriggers": { + "description": "The collection of timer triggers.", + "type": "array", + "items": { + "$ref": "#/definitions/TimerTrigger" + } + }, + "sourceTriggers": { + "description": "The collection of triggers based on source code repository.", + "type": "array", + "items": { + "$ref": "#/definitions/SourceTrigger" + } + }, + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTrigger", + "description": "The trigger based on base image dependencies." + } + } + }, + "Credentials": { + "description": "The parameters that describes a set of credentials that will be used when a run is invoked.", + "type": "object", + "properties": { + "sourceRegistry": { + "$ref": "#/definitions/SourceRegistryCredentials", + "description": "Describes the credential parameters for accessing the source registry." + }, + "customRegistries": { + "description": "Describes the credential parameters for accessing other custom registries. The key\r\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\r\nthe value of the item will be the registry credentials for accessing the registry.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/CustomRegistryCredentials" + } + } + } + }, + "BaseImageDependency": { + "description": "Properties that describe a base image dependency.", + "type": "object", + "properties": { + "type": { + "description": "The type of the base image dependency.", + "enum": [ + "BuildTime", + "RunTime" + ], + "type": "string", + "x-ms-enum": { + "name": "BaseImageDependencyType", + "modelAsString": true + } + }, + "registry": { + "description": "The registry login server.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "tag": { + "description": "The tag name.", + "type": "string" + }, + "digest": { + "description": "The sha256-based digest of the image manifest.", + "type": "string" + } + } + }, + "TimerTrigger": { + "description": "The properties of a timer trigger.", + "required": [ + "schedule", + "name" + ], + "type": "object", + "properties": { + "schedule": { + "description": "The CRON expression for the task schedule", + "type": "string" + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "SourceTrigger": { + "description": "The properties of a source based trigger.", + "required": [ + "sourceRepository", + "sourceTriggerEvents", + "name" + ], + "type": "object", + "properties": { + "sourceRepository": { + "$ref": "#/definitions/SourceProperties", + "description": "The properties that describes the source(code) for the task." + }, + "sourceTriggerEvents": { + "description": "The source event corresponding to the trigger.", + "type": "array", + "items": { + "enum": [ + "commit", + "pullrequest" + ], + "type": "string", + "x-ms-enum": { + "name": "SourceTriggerEvent", + "modelAsString": true + } + } + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "BaseImageTrigger": { + "description": "The trigger based on base image dependency.", + "required": [ + "baseImageTriggerType", + "name" + ], + "type": "object", + "properties": { + "baseImageTriggerType": { + "description": "The type of the auto trigger for base image dependency updates.", + "enum": [ + "All", + "Runtime" + ], + "type": "string", + "x-ms-enum": { + "name": "BaseImageTriggerType", + "modelAsString": true + } + }, + "updateTriggerEndpoint": { + "description": "The endpoint URL for receiving update triggers.", + "type": "string" + }, + "updateTriggerPayloadType": { + "description": "Type of Payload body for Base image update triggers.", + "enum": [ + "Default", + "Token" + ], + "type": "string", + "x-ms-enum": { + "name": "UpdateTriggerPayloadType", + "modelAsString": true + } + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "SourceRegistryCredentials": { + "description": "Describes the credential parameters for accessing the source registry.", + "type": "object", + "properties": { + "loginMode": { + "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\r\nwill be generated using the given scope. These credentials will be used to login to\r\nthe source registry during the run.", + "enum": [ + "None", + "Default" + ], + "type": "string", + "x-ms-enum": { + "name": "SourceRegistryLoginMode", + "modelAsString": true + } + } + } + }, + "CustomRegistryCredentials": { + "description": "Describes the credentials that will be used to access a custom registry during a run.", + "type": "object", + "properties": { + "userName": { + "$ref": "#/definitions/SecretObject", + "description": "The username for logging into the custom registry." + }, + "password": { + "$ref": "#/definitions/SecretObject", + "description": "The password for logging into the custom registry. The password is a secret \r\nobject that allows multiple ways of providing the value for it." + }, + "identity": { + "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\r\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\r\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\r\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only \r\nsource of authentication used for accessing the registry.", + "type": "string" + } + } + }, + "SourceProperties": { + "description": "The properties of the source code repository.", + "required": [ + "sourceControlType", + "repositoryUrl" + ], + "type": "object", + "properties": { + "sourceControlType": { + "description": "The type of source control service.", + "enum": [ + "Github", + "VisualStudioTeamService" + ], + "type": "string", + "x-ms-enum": { + "name": "SourceControlType", + "modelAsString": true + } + }, + "repositoryUrl": { + "description": "The full URL to the source code repository", + "type": "string" + }, + "branch": { + "description": "The branch name of the source code.", + "type": "string" + }, + "sourceControlAuthProperties": { + "$ref": "#/definitions/AuthInfo", + "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications." + } + } + }, + "SecretObject": { + "description": "Describes the properties of a secret object value.", + "type": "object", + "properties": { + "value": { + "description": "The value of the secret. The format of this value will be determined\r\nbased on the type of the secret object. If the type is Opaque, the value will be\r\nused as is without any modification.", + "type": "string" + }, + "type": { + "description": "The type of the secret object which determines how the value of the secret object has to be\r\ninterpreted.", + "enum": [ + "Opaque", + "Vaultsecret" + ], + "type": "string", + "x-ms-enum": { + "name": "SecretObjectType", + "modelAsString": true + } + } + } + }, + "AuthInfo": { + "description": "The authorization properties for accessing the source code repository.", + "required": [ + "tokenType", + "token" + ], + "type": "object", + "properties": { + "tokenType": { + "description": "The type of Auth token.", + "enum": [ + "PAT", + "OAuth" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenType", + "modelAsString": true + } + }, + "token": { + "description": "The access token used to access the source control provider.", + "type": "string" + }, + "refreshToken": { + "description": "The refresh token used to refresh the access token.", + "type": "string" + }, + "scope": { + "description": "The scope of the access token.", + "type": "string" + }, + "expiresIn": { + "format": "int32", + "description": "Time in seconds that the token remains valid", + "type": "integer" + } + } + }, + "TaskUpdateParameters": { + "description": "The parameters for updating a task.", + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "properties": { + "$ref": "#/definitions/TaskPropertiesUpdateParameters", + "description": "The properties for updating a task.", + "x-ms-client-flatten": true + }, + "tags": { + "description": "The ARM resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TaskPropertiesUpdateParameters": { + "description": "The properties for updating a task.", + "type": "object", + "properties": { + "status": { + "description": "The current status of task.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TaskStatus", + "modelAsString": true + } + }, + "platform": { + "$ref": "#/definitions/PlatformUpdateParameters", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "timeout": { + "format": "int32", + "description": "Run timeout in seconds.", + "type": "integer" + }, + "step": { + "$ref": "#/definitions/TaskStepUpdateParameters", + "description": "The properties for updating a task step." + }, + "trigger": { + "$ref": "#/definitions/TriggerUpdateParameters", + "description": "The properties for updating trigger properties." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The parameters that describes a set of credentials that will be used when this run is invoked." + } + } + }, + "PlatformUpdateParameters": { + "description": "The properties for updating the platform configuration.", + "type": "object", + "properties": { + "os": { + "description": "The operating system type required for the run.", + "enum": [ + "Windows", + "Linux" + ], + "type": "string", + "x-ms-enum": { + "name": "OS", + "modelAsString": true + } + }, + "architecture": { + "description": "The OS architecture.", + "enum": [ + "amd64", + "x86", + "386", + "arm", + "arm64" + ], + "type": "string", + "x-ms-enum": { + "name": "Architecture", + "modelAsString": true + } + }, + "variant": { + "description": "Variant of the CPU.", + "enum": [ + "v6", + "v7", + "v8" + ], + "type": "string", + "x-ms-enum": { + "name": "Variant", + "modelAsString": true + } + } + } + }, + "TaskStepUpdateParameters": { + "description": "Base properties for updating any task step.", + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "description": "The type of the step.", + "enum": [ + "Docker", + "FileTask", + "EncodedTask" + ], + "type": "string", + "x-ms-enum": { + "name": "StepType", + "modelAsString": true + } + }, + "contextPath": { + "description": "The URL(absolute or relative) of the source context for the task step.", + "type": "string" + }, + "contextAccessToken": { + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.", + "type": "string" + } + }, + "discriminator": "type" + }, + "TriggerUpdateParameters": { + "description": "The properties for updating triggers.", + "type": "object", + "properties": { + "timerTriggers": { + "description": "The collection of timer triggers.", + "type": "array", + "items": { + "$ref": "#/definitions/TimerTriggerUpdateParameters" + } + }, + "sourceTriggers": { + "description": "The collection of triggers based on source code repository.", + "type": "array", + "items": { + "$ref": "#/definitions/SourceTriggerUpdateParameters" + } + }, + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTriggerUpdateParameters", + "description": "The trigger based on base image dependencies." + } + } + }, + "TimerTriggerUpdateParameters": { + "description": "The properties for updating a timer trigger.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "schedule": { + "description": "The CRON expression for the task schedule", + "type": "string" + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "SourceTriggerUpdateParameters": { + "description": "The properties for updating a source based trigger.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "sourceRepository": { + "$ref": "#/definitions/SourceUpdateParameters", + "description": "The properties that describes the source(code) for the task." + }, + "sourceTriggerEvents": { + "description": "The source event corresponding to the trigger.", + "type": "array", + "items": { + "enum": [ + "commit", + "pullrequest" + ], + "type": "string", + "x-ms-enum": { + "name": "SourceTriggerEvent", + "modelAsString": true + } + } + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "BaseImageTriggerUpdateParameters": { + "description": "The properties for updating base image dependency trigger.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "baseImageTriggerType": { + "description": "The type of the auto trigger for base image dependency updates.", + "enum": [ + "All", + "Runtime" + ], + "type": "string", + "x-ms-enum": { + "name": "BaseImageTriggerType", + "modelAsString": true + } + }, + "updateTriggerEndpoint": { + "description": "The endpoint URL for receiving update triggers.", + "type": "string" + }, + "updateTriggerPayloadType": { + "description": "Type of Payload body for Base image update triggers.", + "enum": [ + "Default", + "Token" + ], + "type": "string", + "x-ms-enum": { + "name": "UpdateTriggerPayloadType", + "modelAsString": true + } + }, + "status": { + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + }, + "name": { + "description": "The name of the trigger.", + "type": "string" + } + } + }, + "SourceUpdateParameters": { + "description": "The properties for updating the source code repository.", + "type": "object", + "properties": { + "sourceControlType": { + "description": "The type of source control service.", + "enum": [ + "Github", + "VisualStudioTeamService" + ], + "type": "string", + "x-ms-enum": { + "name": "SourceControlType", + "modelAsString": true + } + }, + "repositoryUrl": { + "description": "The full URL to the source code repository", + "type": "string" + }, + "branch": { + "description": "The branch name of the source code.", + "type": "string" + }, + "sourceControlAuthProperties": { + "$ref": "#/definitions/AuthInfoUpdateParameters", + "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications." + } + } + }, + "AuthInfoUpdateParameters": { + "description": "The authorization properties for accessing the source code repository.", + "type": "object", + "properties": { + "tokenType": { + "description": "The type of Auth token.", + "enum": [ + "PAT", + "OAuth" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenType", + "modelAsString": true + } + }, + "token": { + "description": "The access token used to access the source control provider.", + "type": "string" + }, + "refreshToken": { + "description": "The refresh token used to refresh the access token.", + "type": "string" + }, + "scope": { + "description": "The scope of the access token.", + "type": "string" + }, + "expiresIn": { + "format": "int32", + "description": "Time in seconds that the token remains valid", + "type": "integer" + } + } + }, + "Resource": { + "description": "An Azure resource.", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The location of the resource. This cannot be changed after the resource is created.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The tags of the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "DockerBuildRequest": { + "description": "The parameters for a docker quick build.", + "required": [ + "type", + "dockerFilePath", + "platform" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "properties": { + "imageNames": { + "description": "The fully qualified image names including the repository and tag.", + "type": "array", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true, + "type": "boolean" + }, + "noCache": { + "description": "The value of this property indicates whether the image cache is enabled or not.", + "default": false, + "type": "boolean" + }, + "dockerFilePath": { + "description": "The Docker file path relative to the source location.", + "type": "string" + }, + "target": { + "description": "The name of the target build stage for the docker build.", + "type": "string" + }, + "arguments": { + "description": "The collection of override arguments to be used when executing the run.", + "type": "array", + "items": { + "$ref": "#/definitions/Argument" + } + }, + "timeout": { + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "maximum": 28800, + "minimum": 300, + "type": "integer" + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "x-ms-discriminator-value": "DockerBuildRequest" + }, + "Argument": { + "description": "The properties of a run argument.", + "required": [ + "name", + "value" + ], + "type": "object", + "properties": { + "name": { + "description": "The name of the argument.", + "type": "string" + }, + "value": { + "description": "The value of the argument.", + "type": "string" + }, + "isSecret": { + "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.", + "default": false, + "type": "boolean" + } + } + }, + "FileTaskRunRequest": { + "description": "The request parameters for a scheduling run against a task file.", + "required": [ + "type", + "taskFilePath", + "platform" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "properties": { + "taskFilePath": { + "description": "The template/definition file path relative to the source.", + "type": "string" + }, + "valuesFilePath": { + "description": "The values/parameters file path relative to the source.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + }, + "timeout": { + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "maximum": 28800, + "minimum": 300, + "type": "integer" + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "x-ms-discriminator-value": "FileTaskRunRequest" + }, + "SetValue": { + "description": "The properties of a overridable value that can be passed to a task template.", + "required": [ + "name", + "value" + ], + "type": "object", + "properties": { + "name": { + "description": "The name of the overridable value.", + "type": "string" + }, + "value": { + "description": "The overridable value.", + "type": "string" + }, + "isSecret": { + "description": "Flag to indicate whether the value represents a secret or not.", + "default": false, + "type": "boolean" + } + } + }, + "TaskRunRequest": { + "description": "The parameters for a task run request.", + "required": [ + "type", + "taskId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "properties": { + "taskId": { + "description": "The resource ID of task against which run has to be queued.", + "type": "string" + }, + "overrideTaskStepProperties": { + "$ref": "#/definitions/OverrideTaskStepProperties", + "description": "Set of overridable parameters that can be passed when running a Task." + } + }, + "x-ms-discriminator-value": "TaskRunRequest" + }, + "OverrideTaskStepProperties": { + "type": "object", + "properties": { + "contextPath": { + "description": "The source context against which run has to be queued.", + "type": "string" + }, + "file": { + "description": "The file against which run has to be queued.", + "type": "string" + }, + "arguments": { + "description": "Gets or sets the collection of override arguments to be used when\r\nexecuting a build step.", + "type": "array", + "items": { + "$ref": "#/definitions/Argument" + } + }, + "target": { + "description": "The name of the target build stage for the docker build.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a Task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + }, + "updateTriggerToken": { + "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook.", + "type": "string" + } + } + }, + "EncodedTaskRunRequest": { + "description": "The parameters for a quick task run request.", + "required": [ + "type", + "encodedTaskContent", + "platform" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "properties": { + "encodedTaskContent": { + "description": "Base64 encoded value of the template/definition file content.", + "type": "string" + }, + "encodedValuesContent": { + "description": "Base64 encoded value of the parameters/values file content.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + }, + "timeout": { + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "maximum": 28800, + "minimum": 300, + "type": "integer" + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "x-ms-discriminator-value": "EncodedTaskRunRequest" + }, + "DockerBuildStep": { + "description": "The Docker build step.", + "required": [ + "dockerFilePath", + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "properties": { + "imageNames": { + "description": "The fully qualified image names including the repository and tag.", + "type": "array", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true, + "type": "boolean" + }, + "noCache": { + "description": "The value of this property indicates whether the image cache is enabled or not.", + "default": false, + "type": "boolean" + }, + "dockerFilePath": { + "description": "The Docker file path relative to the source context.", + "type": "string" + }, + "target": { + "description": "The name of the target build stage for the docker build.", + "type": "string" + }, + "arguments": { + "description": "The collection of override arguments to be used when executing this build step.", + "type": "array", + "items": { + "$ref": "#/definitions/Argument" + } + } + }, + "x-ms-discriminator-value": "Docker" + }, + "FileTaskStep": { + "description": "The properties of a task step.", + "required": [ + "taskFilePath", + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "properties": { + "taskFilePath": { + "description": "The task template/definition file path relative to the source context.", + "type": "string" + }, + "valuesFilePath": { + "description": "The task values/parameters file path relative to the source context.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + } + }, + "x-ms-discriminator-value": "FileTask" + }, + "EncodedTaskStep": { + "description": "The properties of a encoded task step.", + "required": [ + "encodedTaskContent", + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "properties": { + "encodedTaskContent": { + "description": "Base64 encoded value of the template/definition file content.", + "type": "string" + }, + "encodedValuesContent": { + "description": "Base64 encoded value of the parameters/values file content.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + } + }, + "x-ms-discriminator-value": "EncodedTask" + }, + "DockerBuildStepUpdateParameters": { + "description": "The properties for updating a docker build step.", + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "properties": { + "imageNames": { + "description": "The fully qualified image names including the repository and tag.", + "type": "array", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "type": "boolean" + }, + "noCache": { + "description": "The value of this property indicates whether the image cache is enabled or not.", + "type": "boolean" + }, + "dockerFilePath": { + "description": "The Docker file path relative to the source context.", + "type": "string" + }, + "arguments": { + "description": "The collection of override arguments to be used when executing this build step.", + "type": "array", + "items": { + "$ref": "#/definitions/Argument" + } + }, + "target": { + "description": "The name of the target build stage for the docker build.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Docker" + }, + "FileTaskStepUpdateParameters": { + "description": "The properties of updating a task step.", + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "properties": { + "taskFilePath": { + "description": "The task template/definition file path relative to the source context.", + "type": "string" + }, + "valuesFilePath": { + "description": "The values/parameters file path relative to the source context.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + } + }, + "x-ms-discriminator-value": "FileTask" + }, + "EncodedTaskStepUpdateParameters": { + "description": "The properties for updating encoded task step.", + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "properties": { + "encodedTaskContent": { + "description": "Base64 encoded value of the template/definition file content.", + "type": "string" + }, + "encodedValuesContent": { + "description": "Base64 encoded value of the parameters/values file content.", + "type": "string" + }, + "values": { + "description": "The collection of overridable values that can be passed when running a task.", + "type": "array", + "items": { + "$ref": "#/definitions/SetValue" + } + } + }, + "x-ms-discriminator-value": "EncodedTask" + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The Microsoft Azure subscription ID.", + "required": true, + "type": "string" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group to which the container registry belongs.", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "RegistryNameParameter": { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The client API version.", + "required": true, + "type": "string" + }, + "TaskNameParameter": { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-_]*$", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json new file mode 100644 index 000000000000..ab8c53aee6d4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -0,0 +1,248 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "mytTask", + "taskCreateParameters": { + "properties": { + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master", + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + } + } + }, + "location": "eastus", + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "tags": { + "testkey": "value" + } + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json new file mode 100644 index 000000000000..fb946c8ca8e9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -0,0 +1,227 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "mytTask", + "taskCreateParameters": { + "properties": { + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master", + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + } + } + }, + "location": "eastus", + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json new file mode 100644 index 000000000000..152dff6d11ca --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "mytTask", + "taskCreateParameters": { + "properties": { + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master", + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + } + } + }, + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "tags": { + "testkey": "value" + } + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json new file mode 100644 index 000000000000..51979538f9ee --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "status": "Enabled", + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile" + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + }, + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "identity": "[system]" + } + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json new file mode 100644 index 000000000000..9579fce603c4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -0,0 +1,210 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "status": "Enabled", + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile" + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]" + } + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json new file mode 100644 index 000000000000..8d1f2d03ff75 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz", + "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json new file mode 100644 index 000000000000..1b78da986259 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "DockerBuildRequest", + "isArchiveEnabled": true, + "imageNames": [ + "azurerest:testtag" + ], + "noCache": true, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "isPushEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "dockerFilePath": "DockerFile" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json new file mode 100644 index 000000000000..fb259c8ff7c9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "EncodedTaskRunRequest", + "values": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "platform": { + "os": "Linux" + }, + "agentConfiguration": { + "cpu": 2 + }, + "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", + "encodedValuesContent":"ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json new file mode 100644 index 000000000000..b0fb088d1771 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "FileTaskRunRequest", + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "values": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "platform": { + "os": "Linux" + }, + "agentConfiguration": { + "cpu": 2 + }, + "taskFilePath": "acb.yaml", + "valuesFilePath":"prod-values.yaml" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json new file mode 100644 index 000000000000..f155ed7142dd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "FileTaskRunRequest", + "values": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "platform": { + "os": "Linux" + }, + "taskFilePath": "acb.yaml", + "credentials": { + "sourceRegistry": { + "loginMode": "Default" + }, + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "reg1" + }, + "password": { + "type": "Opaque", + "value": "***" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json new file mode 100644 index 000000000000..1f8b5ccda777 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "TaskRunRequest", + "overrideTaskStepProperties": { + "file": "overriddenDockerfile", + "target": "build", + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "values": [ + { + "name": "mytestname", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestname", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "updateTriggerToken": "aGVsbG8gd29ybGQ=" + }, + "taskId": "myTask" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json new file mode 100644 index 000000000000..e97b7b27f146 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "DockerBuildRequest", + "isArchiveEnabled": true, + "imageNames": [ + "azurerest:testtag" + ], + "noCache": true, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "isPushEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "dockerFilePath": "DockerFile", + "target": "stage1", + "credentials": { + "sourceRegistry": { + "loginMode": "Default" + }, + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "reg1" + }, + "password": { + "type": "Opaque", + "value": "***" + } + }, + "myregistry2.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "reg2" + }, + "password": { + "type": "Opaque", + "value": "***" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json new file mode 100644 index 000000000000..5656a75a0c27 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json new file mode 100644 index 000000000000..11d510557912 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "runType": "AutoBuild", + "createTime": "2018-01-25T05:13:51.618Z", + "startTime": "2018-01-25T05:50:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "outputImages": [ + { + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ], + "task": "myTask", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "timestamp": "2018-01-25T05:13:51.618Z", + "images": [ + { + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ] + }, + "isArchiveEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs" + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json new file mode 100644 index 000000000000..eefbc2715f23 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + }, + "responses": { + "200": { + "body": { + "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json new file mode 100644 index 000000000000..b52f1c3a44e9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "$filter": "", + "$top": 10 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "runType": "AutoBuild", + "createTime": "2018-01-25T05:13:51.618Z", + "startTime": "2018-01-25T05:50:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "outputImages": [ + { + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ], + "task": "myTask", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "timestamp": "2018-01-25T05:13:51.618Z", + "images": [ + { + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ] + }, + "isArchiveEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json new file mode 100644 index 000000000000..ca13653ea18c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runUpdateParameters": { + "isArchiveEnabled": true + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "runType": "AutoBuild", + "createTime": "2018-01-25T05:13:51.618Z", + "startTime": "2018-01-25T05:50:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "outputImages": [ + { + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ], + "task": "myTask", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "timestamp": "2018-01-25T05:13:51.618Z", + "images": [ + { + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ] + }, + "isArchiveEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs" + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Updating", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "runType": "AutoBuild", + "createTime": "2018-01-25T05:13:51.618Z", + "startTime": "2018-01-25T05:50:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "outputImages": [ + { + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ], + "task": "myTask", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "timestamp": "2018-01-25T05:13:51.618Z", + "images": [ + { + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest", + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + } + ] + }, + "isArchiveEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs" + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json new file mode 100644 index 000000000000..ac275bba4447 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "mytTask", + "taskCreateParameters": { + "properties": { + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master", + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + } + } + }, + "location": "eastus", + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + } + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json new file mode 100644 index 000000000000..e85c481714d1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json new file mode 100644 index 000000000000..ccc391d654e6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json new file mode 100644 index 000000000000..db571714015d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "properties": { + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master", + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure-test.io": { + "userName": { + "type": "Opaque", + "value": "username" + }, + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + }, + "identity": "[system]" + } + }, + "sourceRegistry": null + } + }, + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json new file mode 100644 index 000000000000..59974a994edb --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + }, + "credentials": { + "customRegistries": { + "myRegistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json new file mode 100644 index 000000000000..ff4b99492229 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "status": "Enabled", + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile" + }, + "trigger":{ + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ] + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "username" + }, + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "identity": "[system]" + } + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger":{ + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents":[ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json new file mode 100644 index 000000000000..1a9b049ba128 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "status": "Enabled", + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile" + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "tokenType": "PAT", + "token": "xxxxx" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "username" + }, + "password": { + "type": "Opaque", + "value": "***" + } + } + } + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-01-25T06:54:23.536Z", + "status": "Enabled", + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 3 + }, + "step": { + "type": "Docker", + "imageNames": [ + "azurerest:testtag1" + ], + "dockerFilePath": "src/DockerFile", + "contextPath": "src", + "isPushEnabled": true, + "noCache": false, + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + } + ] + }, + "trigger": { + "timerTriggers": [ + { + "name": "myTimerTrigger", + "status": "Enabled", + "schedule": "30 9 * * 1-5" + } + ], + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "status": "Enabled", + "sourceRepository": { + "sourceControlType": "Github", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "branch": "master" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "status": "Enabled", + "baseImageTriggerType": "Runtime" + } + }, + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "location": "eastus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" + }, + "tags": { + "testkey": "value" + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/readme.go.md b/specification/containerregistry/resource-manager/readme.go.md index 5b94af21f1cc..85f4c0eb0e79 100644 --- a/specification/containerregistry/resource-manager/readme.go.md +++ b/specification/containerregistry/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-06-preview - tag: package-2019-05 - tag: package-2019-05-preview - tag: package-2019-04 @@ -24,6 +25,15 @@ batch: - tag: package-2016-06-preview ``` +### Tag: package-2019-06-preview and go + +These settings apply only when `--tag=package-2019-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01-preview/$(namespace) +``` + ### Tag: package-2018-05 and go These settings apply only when `--tag=package-2019-05 --go` is specified on the command line. diff --git a/specification/containerregistry/resource-manager/readme.java.md b/specification/containerregistry/resource-manager/readme.java.md index 5dde66ea9609..6ddd0127ddd7 100644 --- a/specification/containerregistry/resource-manager/readme.java.md +++ b/specification/containerregistry/resource-manager/readme.java.md @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry ``` yaml $(java) && $(multiapi) batch: + - tag: package-2019-06-preview - tag: package-2019-04-only - tag: package-2019-04 - tag: package-2018-09 @@ -26,6 +27,19 @@ batch: - tag: package-2016-06-preview ``` +### Tag: package-2019-06-preview and java + +These settings apply only when `--tag=package-2019-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2019_06_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_06_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2019-04-only and java These settings apply only when `--tag=package-2019-04-only --java` is specified on the command line. diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 0b21b2c74848..d0ab44d0e658 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -26,7 +26,17 @@ These are the global settings for the ContainerRegistry API. ``` yaml openapi-type: arm -tag: package-2019-05 +tag: package-2019-06-preview +``` + +### Tag: package-2019-06-preview + +These settings apply only when `--tag=package-2019-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-preview' +input-file: +- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json +- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json ``` ### Tag: package-2019-05 diff --git a/specification/containerregistry/resource-manager/readme.nodejs.md b/specification/containerregistry/resource-manager/readme.nodejs.md index 3a94e64e04ca..7ab8e1d2785e 100644 --- a/specification/containerregistry/resource-manager/readme.nodejs.md +++ b/specification/containerregistry/resource-manager/readme.nodejs.md @@ -13,6 +13,6 @@ nodejs: generate-readme-md: true input-file: - Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json -- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json +- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json - Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json ``` diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md index 8c14c4b13c47..8ff58f2a38c5 100644 --- a/specification/containerregistry/resource-manager/readme.python.md +++ b/specification/containerregistry/resource-manager/readme.python.md @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2019-06-preview - tag: package-2019-05 - tag: package-2019-05-preview - tag: package-2019-04 @@ -27,6 +28,17 @@ batch: - tag: package-2017-03 ``` +### Tag: package-2019-06-preview and python + +These settings apply only when `--tag=package-2019-06-preview --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(python) +python: + namespace: azure.mgmt.containerregistry.v2019_06_01_preview + output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview +``` + ### Tag: package-2019-05 and python These settings apply only when `--tag=package-2019-05 --python` is specified on the command line. diff --git a/specification/containerregistry/resource-manager/readme.typescript.md b/specification/containerregistry/resource-manager/readme.typescript.md index 5ad53f281574..b532cf90e05c 100644 --- a/specification/containerregistry/resource-manager/readme.typescript.md +++ b/specification/containerregistry/resource-manager/readme.typescript.md @@ -6,7 +6,7 @@ Please also specify `--typescript-sdks-folder= Date: Fri, 28 Jun 2019 11:26:33 -0400 Subject: [PATCH 179/495] chore: jsonfmt mediaservices (#6248) Ran `jsonfmt -w "specification/mediaservices/**/*.json"` --- .../preview/2018-03-30-preview/Accounts.json | 2 +- .../preview/2018-03-30-preview/Assets.json | 2 +- .../preview/2018-03-30-preview/Common.json | 2 +- .../ContentKeyPolicies.json | 2 +- .../preview/2018-03-30-preview/Encoding.json | 2 +- ...StreamingPoliciesAndStreamingLocators.json | 2 +- .../accounts-check-name-availability.json | 2 +- .../examples/accounts-create.json | 4 +- .../examples/accounts-delete.json | 2 +- .../examples/accounts-get-by-name.json | 2 +- .../examples/accounts-list-all-accounts.json | 2 +- .../accounts-subscription-get-by-name.json | 2 +- ...counts-subscription-list-all-accounts.json | 2 +- .../examples/accounts-sync-storage-keys.json | 2 +- .../examples/accounts-update.json | 2 +- .../examples/assets-create.json | 2 +- .../examples/assets-delete.json | 2 +- .../examples/assets-get-by-name.json | 2 +- .../examples/assets-get-encryption-keys.json | 2 +- .../examples/assets-list-all.json | 2 +- .../examples/assets-list-by-date.json | 2 +- .../examples/assets-list-in-date-range.json | 2 +- .../examples/assets-list-sas-urls.json | 2 +- .../examples/assets-update.json | 2 +- ...-key-policies-create-multiple-options.json | 2 +- ...ntent-key-policies-create-nodrm-token.json | 2 +- ...nt-key-policies-create-playready-open.json | 2 +- ...nt-key-policies-create-widevine-token.json | 2 +- .../examples/content-key-policies-delete.json | 2 +- .../content-key-policies-get-by-name.json | 2 +- ...content-key-policies-get-with-secrets.json | 2 +- .../content-key-policies-list-all.json | 2 +- ...ent-key-policies-list-by-lastModified.json | 2 +- ...ntent-key-policies-list-in-date-range.json | 2 +- .../examples/content-key-policies-update.json | 2 +- .../examples/jobs-cancel.json | 2 +- .../examples/jobs-create.json | 2 +- .../examples/jobs-delete.json | 2 +- .../examples/jobs-get-by-name.json | 2 +- .../examples/jobs-list-all.json | 2 +- .../examples/liveevent-create.json | 2 +- .../examples/liveevent-delete.json | 2 +- .../examples/liveevent-list-all.json | 2 +- .../examples/liveevent-list-by-name.json | 2 +- .../examples/liveevent-reset.json | 2 +- .../examples/liveevent-start.json | 2 +- .../examples/liveevent-stop.json | 2 +- .../examples/liveevent-update.json | 2 +- .../examples/liveoutput-create.json | 2 +- .../examples/liveoutput-delete.json | 2 +- .../examples/liveoutput-list-all.json | 2 +- .../examples/liveoutput-list-by-name.json | 2 +- .../examples/operations-list-all.json | 2 +- .../streaming-locators-create-clear.json | 2 +- ...-create-secure-userDefinedContentKeys.json | 2 +- .../streaming-locators-create-secure.json | 2 +- .../examples/streaming-locators-delete.json | 2 +- .../streaming-locators-get-by-name.json | 2 +- .../streaming-locators-list-content-keys.json | 2 +- ...ors-list-paths-streaming-and-download.json | 2 +- ...ng-locators-list-paths-streaming-only.json | 2 +- .../examples/streaming-locators-list.json | 2 +- .../streaming-policies-create-clear.json | 2 +- ...cies-create-commonEncryptionCbcs-only.json | 2 +- ...cies-create-commonEncryptionCenc-only.json | 2 +- ...licies-create-envelopeEncryption-only.json | 2 +- ...ming-policies-create-secure-streaming.json | 2 +- .../examples/streaming-policies-delete.json | 2 +- .../examples/streaming-policies-list.json | 2 +- .../streaming-policy-get-by-name.json | 2 +- .../examples/streamingendpoint-create.json | 2 +- .../examples/streamingendpoint-delete.json | 2 +- .../examples/streamingendpoint-list-all.json | 2 +- .../streamingendpoint-list-by-name.json | 2 +- .../examples/streamingendpoint-scale.json | 2 +- .../examples/streamingendpoint-start.json | 2 +- .../examples/streamingendpoint-stop.json | 2 +- .../examples/streamingendpoint-update.json | 2 +- .../examples/transforms-create.json | 2 +- .../examples/transforms-delete.json | 2 +- .../examples/transforms-get-by-name.json | 2 +- .../examples/transforms-list-all.json | 2 +- .../examples/transforms-update.json | 2 +- .../2018-03-30-preview/streamingservice.json | 21 ++- .../preview/2018-06-01-preview/Accounts.json | 2 +- .../preview/2018-06-01-preview/Assets.json | 2 +- .../preview/2018-06-01-preview/Common.json | 2 +- .../ContentKeyPolicies.json | 2 +- .../preview/2018-06-01-preview/Encoding.json | 2 +- ...StreamingPoliciesAndStreamingLocators.json | 2 +- .../accounts-check-name-availability.json | 2 +- .../examples/accounts-create.json | 4 +- .../examples/accounts-delete.json | 2 +- .../examples/accounts-get-by-name.json | 2 +- .../examples/accounts-list-all-accounts.json | 2 +- .../accounts-subscription-get-by-name.json | 2 +- ...counts-subscription-list-all-accounts.json | 2 +- .../examples/accounts-sync-storage-keys.json | 2 +- .../examples/accounts-update.json | 2 +- .../examples/assets-create.json | 2 +- .../examples/assets-delete.json | 2 +- .../examples/assets-get-by-name.json | 2 +- .../examples/assets-get-encryption-keys.json | 2 +- .../examples/assets-list-all.json | 2 +- .../examples/assets-list-by-date.json | 2 +- .../examples/assets-list-in-date-range.json | 2 +- .../examples/assets-list-sas-urls.json | 2 +- .../examples/assets-update.json | 2 +- ...-key-policies-create-multiple-options.json | 2 +- ...ntent-key-policies-create-nodrm-token.json | 2 +- ...nt-key-policies-create-playready-open.json | 2 +- ...nt-key-policies-create-widevine-token.json | 2 +- .../examples/content-key-policies-delete.json | 2 +- .../content-key-policies-get-by-name.json | 2 +- ...content-key-policies-get-with-secrets.json | 2 +- .../content-key-policies-list-all.json | 2 +- ...ent-key-policies-list-by-lastModified.json | 2 +- ...ntent-key-policies-list-in-date-range.json | 2 +- .../examples/content-key-policies-update.json | 2 +- .../examples/jobs-cancel.json | 2 +- .../examples/jobs-create.json | 2 +- .../examples/jobs-delete.json | 2 +- .../examples/jobs-get-by-name.json | 2 +- .../examples/jobs-list-all.json | 2 +- .../examples/liveevent-create.json | 2 +- .../examples/liveevent-delete.json | 2 +- .../examples/liveevent-list-all.json | 2 +- .../examples/liveevent-list-by-name.json | 2 +- .../examples/liveevent-reset.json | 2 +- .../examples/liveevent-start.json | 2 +- .../examples/liveevent-stop.json | 2 +- .../examples/liveevent-update.json | 2 +- .../examples/liveoutput-create.json | 2 +- .../examples/liveoutput-delete.json | 2 +- .../examples/liveoutput-list-all.json | 2 +- .../examples/liveoutput-list-by-name.json | 2 +- .../examples/operations-list-all.json | 2 +- .../streaming-locators-create-clear.json | 2 +- ...-create-secure-userDefinedContentKeys.json | 2 +- .../streaming-locators-create-secure.json | 2 +- .../examples/streaming-locators-delete.json | 2 +- .../streaming-locators-get-by-name.json | 2 +- .../streaming-locators-list-content-keys.json | 2 +- ...ors-list-paths-streaming-and-download.json | 2 +- ...ng-locators-list-paths-streaming-only.json | 2 +- .../examples/streaming-locators-list.json | 2 +- .../streaming-policies-create-clear.json | 2 +- ...cies-create-commonEncryptionCbcs-only.json | 2 +- ...cies-create-commonEncryptionCenc-only.json | 2 +- ...licies-create-envelopeEncryption-only.json | 2 +- ...ming-policies-create-secure-streaming.json | 2 +- .../examples/streaming-policies-delete.json | 2 +- .../examples/streaming-policies-list.json | 2 +- .../streaming-policy-get-by-name.json | 2 +- .../examples/streamingendpoint-create.json | 2 +- .../examples/streamingendpoint-delete.json | 2 +- .../examples/streamingendpoint-list-all.json | 2 +- .../streamingendpoint-list-by-name.json | 2 +- .../examples/streamingendpoint-scale.json | 2 +- .../examples/streamingendpoint-start.json | 2 +- .../examples/streamingendpoint-stop.json | 2 +- .../examples/streamingendpoint-update.json | 2 +- .../examples/transforms-create.json | 2 +- .../examples/transforms-delete.json | 2 +- .../examples/transforms-get-by-name.json | 2 +- .../examples/transforms-list-all.json | 2 +- .../examples/transforms-update.json | 2 +- .../2018-06-01-preview/streamingservice.json | 21 ++- .../2019-05-01-preview/AccountFilters.json | 2 +- .../preview/2019-05-01-preview/Accounts.json | 2 +- .../AssetsAndAssetFilters.json | 2 +- .../ContentKeyPolicies.json | 4 +- .../preview/2019-05-01-preview/Encoding.json | 2 +- ...StreamingPoliciesAndStreamingLocators.json | 2 +- ...-key-policies-create-multiple-options.json | 2 +- ...nt-key-policies-create-playready-open.json | 1 - ...-create-secure-userDefinedContentKeys.json | 2 +- .../streaming-locators-create-secure.json | 1 - .../examples/transforms-create.json | 2 +- .../examples/transforms-update.json | 2 +- .../2019-05-01-preview/streamingservice.json | 29 ++-- .../MediaServiceCheckNameAvailability.json | 2 +- .../examples/MediaServiceCreate.json | 7 +- .../examples/MediaServiceDelete.json | 1 - .../2015-10-01/examples/MediaServiceGet.json | 2 +- .../MediaServiceListByResourceGroup.json | 2 +- .../examples/MediaServiceListKeys.json | 2 +- .../examples/MediaServiceRegenerateKey.json | 5 +- .../examples/MediaServiceSyncStorageKeys.json | 3 +- .../examples/MediaServiceUpdate.json | 7 +- .../2015-10-01/examples/OperationsList.json | 2 +- .../stable/2015-10-01/media.json | 130 ++++++++++-------- .../stable/2018-07-01/AccountFilters.json | 2 +- .../stable/2018-07-01/Accounts.json | 2 +- .../2018-07-01/AssetsAndAssetFilters.json | 2 +- .../stable/2018-07-01/Common.json | 2 +- .../stable/2018-07-01/ContentKeyPolicies.json | 2 +- .../stable/2018-07-01/Encoding.json | 2 +- ...StreamingPoliciesAndStreamingLocators.json | 2 +- .../examples/accountFilters-create.json | 2 +- .../examples/accountFilters-delete.json | 2 +- .../examples/accountFilters-get-by-name.json | 2 +- .../examples/accountFilters-list-all.json | 2 +- .../examples/accountFilters-update.json | 2 +- .../accounts-check-name-availability.json | 2 +- .../2018-07-01/examples/accounts-create.json | 2 +- .../2018-07-01/examples/accounts-delete.json | 2 +- .../examples/accounts-get-by-name.json | 2 +- .../examples/accounts-list-all-accounts.json | 2 +- .../accounts-subscription-get-by-name.json | 2 +- ...counts-subscription-list-all-accounts.json | 2 +- .../examples/accounts-sync-storage-keys.json | 2 +- .../2018-07-01/examples/accounts-update.json | 2 +- .../examples/assetFilters-create.json | 2 +- .../examples/assetFilters-delete.json | 2 +- .../examples/assetFilters-get-by-name.json | 2 +- .../examples/assetFilters-list-all.json | 2 +- .../examples/assetFilters-update.json | 2 +- .../2018-07-01/examples/assets-create.json | 2 +- .../2018-07-01/examples/assets-delete.json | 2 +- .../examples/assets-get-by-name.json | 2 +- .../examples/assets-get-encryption-keys.json | 2 +- .../2018-07-01/examples/assets-list-all.json | 2 +- .../examples/assets-list-by-date.json | 2 +- .../examples/assets-list-in-date-range.json | 2 +- .../examples/assets-list-sas-urls.json | 2 +- .../assets-list-streaming-locators.json | 2 +- .../2018-07-01/examples/assets-update.json | 2 +- ...-key-policies-create-multiple-options.json | 4 +- ...ntent-key-policies-create-nodrm-token.json | 2 +- ...nt-key-policies-create-playready-open.json | 2 +- ...nt-key-policies-create-widevine-token.json | 2 +- .../examples/content-key-policies-delete.json | 2 +- .../content-key-policies-get-by-name.json | 2 +- ...content-key-policies-get-with-secrets.json | 2 +- .../content-key-policies-list-all.json | 2 +- ...ent-key-policies-list-by-lastModified.json | 2 +- ...ntent-key-policies-list-in-date-range.json | 2 +- .../examples/content-key-policies-update.json | 2 +- .../2018-07-01/examples/jobs-cancel.json | 2 +- .../2018-07-01/examples/jobs-create.json | 2 +- .../2018-07-01/examples/jobs-delete.json | 2 +- .../2018-07-01/examples/jobs-get-by-name.json | 2 +- .../jobs-list-all-filter-by-created.json | 2 +- .../jobs-list-all-filter-by-lastmodified.json | 2 +- ...obs-list-all-filter-by-name-and-state.json | 2 +- .../jobs-list-all-filter-by-name.json | 2 +- .../jobs-list-all-filter-by-state-eq.json | 2 +- .../jobs-list-all-filter-by-state-ne.json | 2 +- .../2018-07-01/examples/jobs-list-all.json | 2 +- .../2018-07-01/examples/jobs-update.json | 2 +- .../2018-07-01/examples/liveevent-create.json | 2 +- .../2018-07-01/examples/liveevent-delete.json | 2 +- .../examples/liveevent-list-by-name.json | 2 +- .../2018-07-01/examples/liveevent-reset.json | 2 +- .../2018-07-01/examples/liveevent-start.json | 2 +- .../2018-07-01/examples/liveevent-stop.json | 2 +- .../2018-07-01/examples/liveevent-update.json | 2 +- .../examples/liveoutput-create.json | 2 +- .../examples/liveoutput-delete.json | 2 +- .../examples/liveoutput-list-all.json | 2 +- .../examples/liveoutput-list-by-name.json | 2 +- .../examples/operations-list-all.json | 2 +- .../streaming-locators-create-clear.json | 2 +- ...-create-secure-userDefinedContentKeys.json | 2 +- .../streaming-locators-create-secure.json | 2 +- .../examples/streaming-locators-delete.json | 2 +- .../streaming-locators-get-by-name.json | 2 +- .../streaming-locators-list-content-keys.json | 2 +- ...ors-list-paths-streaming-and-download.json | 2 +- ...ng-locators-list-paths-streaming-only.json | 2 +- .../examples/streaming-locators-list.json | 2 +- .../streaming-policies-create-clear.json | 2 +- ...cies-create-commonEncryptionCbcs-only.json | 2 +- ...cies-create-commonEncryptionCenc-only.json | 2 +- ...licies-create-envelopeEncryption-only.json | 2 +- ...ming-policies-create-secure-streaming.json | 2 +- .../examples/streaming-policies-delete.json | 2 +- .../examples/streaming-policies-list.json | 2 +- .../streaming-policy-get-by-name.json | 2 +- .../examples/streamingendpoint-create.json | 2 +- .../examples/streamingendpoint-delete.json | 2 +- .../examples/streamingendpoint-list-all.json | 2 +- .../streamingendpoint-list-by-name.json | 2 +- .../examples/streamingendpoint-scale.json | 2 +- .../examples/streamingendpoint-start.json | 2 +- .../examples/streamingendpoint-stop.json | 2 +- .../examples/streamingendpoint-update.json | 2 +- .../examples/transforms-create.json | 2 +- .../examples/transforms-delete.json | 2 +- .../examples/transforms-get-by-name.json | 2 +- ...transforms-list-all-filter-by-created.json | 2 +- ...forms-list-all-filter-by-lastmodified.json | 2 +- .../transforms-list-all-filter-by-name.json | 2 +- .../examples/transforms-list-all.json | 2 +- .../examples/transforms-update.json | 2 +- .../stable/2018-07-01/streamingservice.json | 25 ++-- 297 files changed, 438 insertions(+), 391 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json index 3a1564f14a8d..d2a1187fcf79 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json @@ -741,4 +741,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json index 9ff8172d6c01..6e955254ba49 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json @@ -605,4 +605,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json index 32f0e829b2f9..3140d12d8964 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json @@ -77,4 +77,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json index 9b3c1a298ade..7f59d29e3915 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json @@ -1129,4 +1129,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json index 76c810446bcd..24c3bf6273bd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json @@ -2180,4 +2180,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json index 29e20f920731..55caec9a3de5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json @@ -1258,4 +1258,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json index 9aad81eaa24d..b7b88c5076da 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json index e45eecd0de39..91ad5f029386 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json @@ -62,6 +62,6 @@ ] } } - } + } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json index a593d19bc763..65a89864b63f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json index 0f3507993b5a..eb25d616000a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json index a2b39638396a..4206c3bc5bcd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json index 294acb38dda4..037780538a17 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json index 4e934468d15f..1aaaf1fb839f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json index 5cc591cd0c8e..fe0db4ce798d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json index 311521534af8..f92e6114dd39 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json index 6030d2cfaf61..cfdbf7c19b37 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json index f421538b2777..6f4be3e65868 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json index 559f24ed6e8d..23a4660c94c3 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json @@ -26,4 +26,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json index a37c1a437f7c..ef85de92474c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json index 02277422b47c..51c49a391036 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json index 5e2e5e25d6dc..a6d14025ce32 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json index 41346fb9dfec..1e5206367b70 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json index c76387b456da..c7fafa21dbb4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json index f364c58cad97..b3546014b743 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json index d28b0de1b976..be4d3ada5988 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json @@ -133,4 +133,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json index 0e549a219813..4b5aba3f9ac6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json @@ -101,4 +101,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json index 7ff95f2e2cc3..f7bc21f95e9b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json @@ -154,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json index 040b101db20a..e0afa11884b0 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json index 3a62484b13ce..5cd1a9391337 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json index 37ecf53dd233..d22bcc073e01 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json @@ -64,4 +64,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json index 72108574dc0a..52d8768ccbc9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json @@ -59,4 +59,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json index 376d4d470ebe..0a7167f59ed5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json index 1664dc22f8d8..5977b31209da 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json @@ -163,4 +163,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json index ed8ce398dad1..7ada7b7f9945 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json index b948d59eaac4..e0e1d710967b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json index 6c4837424e0e..d18100de323e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json @@ -10,4 +10,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json index 74d038f1e020..0c45eb221624 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json index a8953bb8464e..ef8e5b5d0d29 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json index fb2d9650f6dd..a564286d6b03 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json index 737ff0387a52..94b761c4bc83 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json @@ -113,4 +113,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json index 07d8578572d6..a771cb52b163 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json @@ -139,4 +139,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json index ccc70906235e..8aac6e6c3aae 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json @@ -59,4 +59,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json index 12a9f113030c..7dc4a3134198 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json index b17b37239b60..c7d09630c08f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json index f6bdc3bb200c..9a30f0878c16 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json index f6bdc3bb200c..9a30f0878c16 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json index 6f8396ac56d7..1465d38e4368 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json @@ -13,4 +13,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json index b88fe16c6755..114aecce95bd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json @@ -134,4 +134,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json index cc03b1310c27..6e57bce7b94b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json index 5de0349ad5d5..f475dbae1b86 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json @@ -12,4 +12,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json index 3545c1448292..90f002383c0e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json index 16a359f44592..8ccde48efc47 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json index 3a7ff0ba371a..cd98a866b0ef 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json @@ -282,4 +282,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json index 103434801d22..09c037882403 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json index 9de3dfdafc7c..554405c7c3e4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json index 9138dce3a7a6..1bbc01f4c89a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json index 712cafeac16c..9ef01ec206d4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json index f2c0f95e24d6..e276c06f488a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json @@ -26,4 +26,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json index dc3b9c0cc892..ae5038f19142 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json index 968c00a670ae..afddf2b64604 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json index 6f6ec79a6910..9ff02d37fb91 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json index 4a5d0b17ca6b..d2d88fd3a56e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json index 4623cd02a1ec..00d0aaa62e7f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json index 479bebc0c6b8..ca94fbcc66bd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json index a95e8ca8ecd7..37b9da320afc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json index ecacf2b9ad98..3f34dfb69945 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json index e4fd7183e756..d38f5725f9e5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json index c5ea443b34b1..9082340db923 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json index ecc90cd1fb0c..5b29cbb299a5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json @@ -231,4 +231,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json index 66380bf55ac3..da8e0b6575f1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json @@ -31,4 +31,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json index 93a632a26c56..94bdc07e92a6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json @@ -154,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json index e532a6ae1216..8a38da16da2f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json @@ -41,4 +41,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json index f60c33a79cde..1c1bfcdbf416 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json index a802c913a87f..f91aadf6a9d1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json index e273ce6e4363..b41181b3e87c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json @@ -13,4 +13,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json index 962923ef6cee..6bbdf333e387 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json index 962923ef6cee..6bbdf333e387 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json index c0e8fd319d63..b31956ab3f91 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json index 43271891927c..6cf758172436 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json index 35c7f090b821..61d0634926bc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json index 348878740740..43cb10cae8a2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json index 5dea1ab618ac..38c68e78c16e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json index 109314fe7765..21038d3bb833 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json index 7b8f3c334c1c..30b837f363eb 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json @@ -700,7 +700,7 @@ "List all StreamingEndpoints": { "$ref": "examples/streamingendpoint-list-all.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": { @@ -812,7 +812,7 @@ "Create a StreamingEndpoint": { "$ref": "examples/streamingendpoint-create.json" } - } + } }, "patch": { "tags": [ @@ -1046,7 +1046,7 @@ "description": "StreamingEndpoint scale parameters", "in": "body", "required": true, - "schema": { + "schema": { "$ref": "#/definitions/StreamingEntityScaleUnit" } } @@ -1054,7 +1054,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." }, @@ -1086,7 +1086,10 @@ "description": "The HLS configuration." }, "LiveOutputProperties": { - "required": ["assetName","archiveWindowLength"], + "required": [ + "assetName", + "archiveWindowLength" + ], "properties": { "description": { "type": "string", @@ -1200,7 +1203,9 @@ "description": "The Live Event endpoint." }, "LiveEventInput": { - "required": ["streamingProtocol"], + "required": [ + "streamingProtocol" + ], "properties": { "streamingProtocol": { "type": "string", @@ -1341,7 +1346,9 @@ "description": "The LiveEvent action input parameter definition." }, "LiveEventProperties": { - "required": ["input"], + "required": [ + "input" + ], "properties": { "description": { "type": "string", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json index 0571041d0296..a0504dd205c2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json @@ -777,4 +777,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json index 9026f24d46ad..9b121cbfffe2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json @@ -641,4 +641,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json index b5f79e9a09f1..8163d87ee174 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json @@ -77,4 +77,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json index fbd29107a954..bd5e75a8489e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json @@ -1165,4 +1165,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json index 9b89b0e92ca5..9da7a568fcf5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json @@ -2188,4 +2188,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json index 1732f0fa3e65..8f12d0b43965 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json @@ -1278,4 +1278,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json index c4d155d2e2d0..4854b4fa231c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json index a07945d423e8..fab4f55bf8a7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json @@ -62,6 +62,6 @@ ] } } - } + } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json index 013be2cb9959..b30b0511bb70 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json index e095ffaaeb46..237fd02f35dc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json index 1f3402d2111c..fa0263497644 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json index dcdb73b08a18..ac3469354d4a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json index 1589d46d80f1..01de2d995eb2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json index b7a116ae3766..6b0ca53a8b8f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json index 0beb3a4f9ad0..eb87fb24aea6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json index a61e1e8aac85..1ac2bb045cd9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json index 9911dace2279..cf58e37bd9cc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json index f1d65ce5bfe6..1e951cad5ef9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json @@ -26,4 +26,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json index 636528ef24de..3f9457b8de36 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json index 79e3aa6a38ec..992f1cf1c222 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json index 5e7189e5e1aa..c92a141c786d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json index 80afef55c969..5eda82aec2b3 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json index fbf0ccb18508..f8b262a1c7bc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json index d86cf01440d8..43204ab84872 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json index db98a8275870..529fe3b583fe 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json @@ -133,4 +133,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json index c4d93e6c4857..82c9ea28c525 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json @@ -101,4 +101,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json index 4a5c5ecc3e84..244ebd5a0718 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json @@ -154,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json index a749d7e2a053..f27d4a2e2c2b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json index 7a56da4ed983..25ee061d3780 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json index 006e7ff3d0a5..265a07bdb845 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json @@ -64,4 +64,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json index 3f71f2d56986..9c60480b911d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json @@ -59,4 +59,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json index 3a77fb2f317e..6368211a5bbf 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json index d5f52a4a9601..fc542affee4d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json @@ -163,4 +163,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json index a06a45cfa1f3..17bcbe59aca4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json index 4c46b1735b58..fa114e545910 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json index 7a80feb79c4b..9ce3cd1e845b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json @@ -10,4 +10,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json index 43b43b964fb1..2bb32ed6bd2c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json index 3abfca49aa8e..1f60565c8c24 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json index c9685745227e..b916dc8b42f5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json index 62c223520a2c..891fd89ec930 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json @@ -116,4 +116,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json index 2ecef28601e3..41e6b6c5cac9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json @@ -139,4 +139,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json index 4fa2565c2920..d4f7e8434704 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json @@ -59,4 +59,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json index 54d4d9242136..e79e94944d26 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json index 52d683ac3c20..d6adcd0782dd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json index 03df7fcc6963..2dda81cb0189 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json index 03df7fcc6963..2dda81cb0189 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json index 7d4f7edbb688..4a44932b9ece 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json @@ -13,4 +13,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json index 516aa9233361..9bface3db543 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json @@ -134,4 +134,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json index b9ddd9ceec43..17a7865f1317 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json index d95aec17f1b5..748f3ea3f5db 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json @@ -12,4 +12,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json index 36db1ae31638..812a52c1f1e9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json index 0f2f40e1f579..d50b7c253bc1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json index 26e68293f502..2ac2230b88f8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json @@ -498,4 +498,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json index 0e11d877520b..e6bcaa4a304a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json index 3cbab7cf9583..8dfe754e4595 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json index c98cae2f9386..bcf8663eb67c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json index 103ee8162976..0b0b93feb238 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json index 7cf317734fa0..297a80f7ba82 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json @@ -27,4 +27,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json index 3cea4f5a0e46..f9fa9e32c525 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json index e3ce4ad16047..180a24a42e6f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json index e598f984f93d..4001cdfc59a8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json index 3fe5359b9a4d..818a66cca260 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json index 3abecb479631..6023a1a392bd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json index d15e58b288eb..07c96dca1068 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json index f874620125b1..faa38a52d4e0 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -95,4 +95,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json index b300ca3fe7a6..0bcf3b1898a8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json index adab37a61e20..15bd4f179724 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json index 8fc0c1a0349a..7208ad95601d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json index 64d265289d93..53b9a43c944c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json @@ -232,4 +232,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json index b90bdad10ff2..497091d9dc6b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json @@ -31,4 +31,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json index d336524c9417..0dcd0fdadb19 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json @@ -154,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json index fc2f1ee3d946..9e2c6507b8bf 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json @@ -41,4 +41,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json index 85a9badc34a7..6133ddb6391f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json index 1f9dbdce3552..c53f4fc3bbe4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json index bb3194bc81a8..a175800afb0b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json @@ -13,4 +13,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json index b960e18206f5..4bdabc55baa2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json index b960e18206f5..4bdabc55baa2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json index a22f51b3657b..7359529c5d4c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json index cfb560f28e43..2a70fe190934 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json index 407300c86a51..51179fa69b98 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json index 1191595b52bb..e55f2a349995 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json index 87167e023f06..a13c5e01f038 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json index 0e244b8bf60c..2e6d19f48549 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json index 8de9f4a1b6bc..258578eb9c4e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json @@ -700,7 +700,7 @@ "List all StreamingEndpoints": { "$ref": "examples/streamingendpoint-list-all.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": { @@ -812,7 +812,7 @@ "Create a StreamingEndpoint": { "$ref": "examples/streamingendpoint-create.json" } - } + } }, "patch": { "tags": [ @@ -1046,7 +1046,7 @@ "description": "StreamingEndpoint scale parameters", "in": "body", "required": true, - "schema": { + "schema": { "$ref": "#/definitions/StreamingEntityScaleUnit" } } @@ -1054,7 +1054,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." }, @@ -1086,7 +1086,10 @@ "description": "The HLS configuration." }, "LiveOutputProperties": { - "required": ["assetName","archiveWindowLength"], + "required": [ + "assetName", + "archiveWindowLength" + ], "properties": { "description": { "type": "string", @@ -1200,7 +1203,9 @@ "description": "The Live Event endpoint." }, "LiveEventInput": { - "required": ["streamingProtocol"], + "required": [ + "streamingProtocol" + ], "properties": { "streamingProtocol": { "type": "string", @@ -1345,7 +1350,9 @@ "description": "The LiveEvent action input parameter definition." }, "LiveEventProperties": { - "required": ["input"], + "required": [ + "input" + ], "properties": { "description": { "type": "string", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json index 47d6c3492b06..8c9aa5b7f511 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json @@ -546,4 +546,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json index ed122a0cce52..6400418515d4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json @@ -920,4 +920,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json index d59d4c3a1951..eb9403081237 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json @@ -1270,4 +1270,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json index ad4c13194592..2df77971fd91 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json @@ -8,7 +8,7 @@ "description": "This Swagger was generated by the API Framework.", "version": "2018-07-01" }, - "host": "management.azure.com", + "host": "management.azure.com", "consumes": [ "application/json" ], @@ -1165,4 +1165,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json index a28c0a8abdb8..2e56502e0079 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json @@ -2398,4 +2398,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json index a2dafe7e44d4..a08ee4ec0a75 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json @@ -1286,4 +1286,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json index 6c16d2e0f75a..1106df0390d4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json @@ -128,7 +128,7 @@ } ] } - } + } } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json index d2177b3b804a..f3a08ef8e1b0 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json @@ -129,4 +129,3 @@ } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json index ead22b5064a0..d8740a7b20e7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json index a3d8d8279ccf..3d973264ab34 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json @@ -53,4 +53,3 @@ } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json index ef297c226a2e..5ea5b1612e7f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json index c816fe71ced2..8fd9e83f3250 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json index ac213c96b864..26c4772ce123 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json @@ -700,7 +700,7 @@ "List all StreamingEndpoints": { "$ref": "examples/streamingendpoint-list-all.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": { @@ -812,7 +812,7 @@ "Create a StreamingEndpoint": { "$ref": "examples/streamingendpoint-create.json" } - } + } }, "patch": { "tags": [ @@ -1046,7 +1046,7 @@ "description": "StreamingEndpoint scale parameters", "in": "body", "required": true, - "schema": { + "schema": { "$ref": "#/definitions/StreamingEntityScaleUnit" } } @@ -1054,7 +1054,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." }, @@ -1086,7 +1086,10 @@ "description": "The HLS configuration." }, "LiveOutputProperties": { - "required": [ "assetName", "archiveWindowLength" ], + "required": [ + "assetName", + "archiveWindowLength" + ], "properties": { "description": { "type": "string", @@ -1210,7 +1213,9 @@ "description": "The IP access control for Live Event Input." }, "LiveEventInput": { - "required": [ "streamingProtocol" ], + "required": [ + "streamingProtocol" + ], "properties": { "streamingProtocol": { "type": "string", @@ -1357,7 +1362,9 @@ "description": "A track selection condition." }, "LiveEventOutputTranscriptionTrack": { - "required": [ "trackName" ], + "required": [ + "trackName" + ], "properties": { "trackName": { "type": "string", @@ -1410,7 +1417,9 @@ "description": "The LiveEvent action input parameter definition." }, "LiveEventProperties": { - "required": [ "input" ], + "required": [ + "input" + ], "properties": { "description": { "type": "string", @@ -1591,7 +1600,9 @@ "description": "scale units definition" }, "StreamingEndpointProperties": { - "required": [ "scaleUnits" ], + "required": [ + "scaleUnits" + ], "properties": { "description": { "type": "string", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json index fd1064c21bc5..08dbdd4508df 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json index b859bba032f3..0831e46e7254 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json @@ -7,7 +7,7 @@ "parameters": { "location": "West US", "properties": { - "storageAccounts": [ + "storageAccounts": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore", "isPrimary": true @@ -15,13 +15,13 @@ ] } } - }, + }, "responses": { "201": { "body": { "location": "West US", "properties": { - "storageAccounts": [ + "storageAccounts": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore", "isPrimary": true @@ -32,4 +32,3 @@ } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json index 29e5ea14f3d3..bb5080f5eb93 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json @@ -14,4 +14,3 @@ } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json index 589d3618bc9f..cec683d9c8ff 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json index 5f1f3b9a468e..7fd21458833e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json index 111b60e1d127..9952ebf32be2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json index 65e2f4ef9fe5..2101656df90b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json @@ -7,13 +7,12 @@ "parameters": { "keyType": "Primary" } - }, + }, "responses": { "200": { "body": { - "key":"" + "key": "" } } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json index 1e8d17789fc8..4b8a55d1b4e4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json @@ -7,11 +7,10 @@ "parameters": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore" } - }, + }, "responses": { "200": { "body": "" } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json index 225fc4e84743..e09a1ff1182d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json @@ -7,7 +7,7 @@ "parameters": { "location": "West US", "properties": { - "storageAccounts": [ + "storageAccounts": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore", "isPrimary": true @@ -15,13 +15,13 @@ ] } } - }, + }, "responses": { "200": { "body": { "location": "West US", "properties": { - "storageAccounts": [ + "storageAccounts": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore", "isPrimary": true @@ -32,4 +32,3 @@ } } } - diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json index 275347bc21bc..37c0d04d1ba1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json index 0dd24421734d..c067803e10d5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json @@ -42,7 +42,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "OperationsList": { "$ref": "./examples/OperationsList.json" } + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } }, "parameters": [ { @@ -67,7 +69,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceCheckNameAvailability": { "$ref": "./examples/MediaServiceCheckNameAvailability.json" } + "MediaServiceCheckNameAvailability": { + "$ref": "./examples/MediaServiceCheckNameAvailability.json" + } }, "parameters": [ { @@ -92,12 +96,12 @@ "schema": { "$ref": "#/definitions/CheckNameAvailabilityOutput" }, - "examples": { + "examples": { "application/json": { "nameAvailable": false, "reason": "AlreadyExists", "message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use." - } + } } }, "default": { @@ -117,7 +121,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceListByResourceGroup": { "$ref": "./examples/MediaServiceListByResourceGroup.json" } + "MediaServiceListByResourceGroup": { + "$ref": "./examples/MediaServiceListByResourceGroup.json" + } }, "parameters": [ { @@ -129,7 +135,7 @@ { "$ref": "#/parameters/resourceGroupNameParameter" } - ], + ], "responses": { "200": { "description": "Success. Returns a list of all of the Media Services accounts in a resource group.", @@ -144,15 +150,15 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia", "type": "Microsoft.Media/mediaservices", "location": "West US", - "properties":{ - "apiEndpoints":[ - { + "properties": { + "apiEndpoints": [ + { "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/", "majorVersion": "2" } ], - "storageAccounts":[ - { + "storageAccounts": [ + { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia", "isPrimary": true } @@ -171,7 +177,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": null } } }, @@ -183,7 +189,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceGet": { "$ref": "./examples/MediaServiceGet.json" } + "MediaServiceGet": { + "$ref": "./examples/MediaServiceGet.json" + } }, "parameters": [ { @@ -205,27 +213,27 @@ "schema": { "$ref": "#/definitions/MediaService" }, - "examples" : { + "examples": { "application/json": { "name": "contosomedia", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia", "type": "Microsoft.Media/mediaservices", "location": "West US", - "properties":{ - "apiEndpoints":[ - { + "properties": { + "apiEndpoints": [ + { "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/", "majorVersion": "2" } ], - "storageAccounts":[ - { + "storageAccounts": [ + { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia", "isPrimary": true } ] } - } + } } }, "default": { @@ -243,7 +251,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceCreate": { "$ref": "./examples/MediaServiceCreate.json" } + "MediaServiceCreate": { + "$ref": "./examples/MediaServiceCreate.json" + } }, "parameters": [ { @@ -274,27 +284,27 @@ "schema": { "$ref": "#/definitions/MediaService" }, - "examples" : { + "examples": { "application/json": { "name": "contosomedia", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia", "type": "Microsoft.Media/mediaservices", "location": "West US", - "properties":{ - "apiEndpoints":[ - { + "properties": { + "apiEndpoints": [ + { "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/", "majorVersion": "2" } ], - "storageAccounts":[ - { + "storageAccounts": [ + { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia", "isPrimary": true } ] } - } + } } }, "default": { @@ -312,7 +322,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceDelete": { "$ref": "./examples/MediaServiceDelete.json" } + "MediaServiceDelete": { + "$ref": "./examples/MediaServiceDelete.json" + } }, "parameters": [ { @@ -350,7 +362,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceUpdate": { "$ref": "./examples/MediaServiceUpdate.json" } + "MediaServiceUpdate": { + "$ref": "./examples/MediaServiceUpdate.json" + } }, "parameters": [ { @@ -381,26 +395,26 @@ "schema": { "$ref": "#/definitions/MediaService" }, - "examples" : { + "examples": { "application/json": { "name": "contosomedia", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia", "type": "Microsoft.Media/mediaservices", "location": "West US", - "properties":{ - "apiEndpoints":[ - { + "properties": { + "apiEndpoints": [ + { "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/", "majorVersion": "2" } ], - "storageAccounts":[ - { + "storageAccounts": [ + { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia", "isPrimary": true } ] - } + } } } }, @@ -421,7 +435,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceRegenerateKey": { "$ref": "./examples/MediaServiceRegenerateKey.json" } + "MediaServiceRegenerateKey": { + "$ref": "./examples/MediaServiceRegenerateKey.json" + } }, "parameters": [ { @@ -455,7 +471,7 @@ "examples": { "application/json": { "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=" - } + } } }, "default": { @@ -475,7 +491,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceListKeys": { "$ref": "./examples/MediaServiceListKeys.json" } + "MediaServiceListKeys": { + "$ref": "./examples/MediaServiceListKeys.json" + } }, "parameters": [ { @@ -497,14 +515,14 @@ "schema": { "$ref": "#/definitions/ServiceKeys" }, - "examples":{ + "examples": { "application/json": { "primaryAuthEndpoint": "https://wamsprodglobal001acs.accesscontrol.windows.net/", "secondaryAuthEndpoint": "https://wamsprodglobal002acs.accesscontrol.windows.net/", "primaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=", "secondaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=", "scope": "urn:windowsazuremediaservices" - } + } } }, "default": { @@ -524,7 +542,9 @@ "url": "https://aka.ms/media-manage" }, "x-ms-examples": { - "MediaServiceSyncStorageKeys": { "$ref": "./examples/MediaServiceSyncStorageKeys.json" } + "MediaServiceSyncStorageKeys": { + "$ref": "./examples/MediaServiceSyncStorageKeys.json" + } }, "parameters": [ { @@ -566,9 +586,9 @@ "definitions": { "ApiEndpoint": { "description": "The properties for a Media Services REST API endpoint.", - "example": { - "endpoint":"https://wamsbayclus001rest-hs.cloudapp.net/api/", - "majorVersion":"2" + "example": { + "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/", + "majorVersion": "2" }, "properties": { "endpoint": { @@ -603,8 +623,8 @@ "CheckNameAvailabilityInput": { "description": "The request body for CheckNameAvailability API.", "example": { - "name":"contosomedia", - "type":"mediaservices" + "name": "contosomedia", + "type": "mediaservices" }, "required": [ "name", @@ -634,7 +654,7 @@ "name": "ResourceType", "modelAsString": false } - }, + }, "CheckNameAvailabilityOutput": { "description": "The response body for CheckNameAvailability API.", "properties": { @@ -653,7 +673,7 @@ "x-ms-enum": { "name": "EntityNameUnavailabilityReason", "modelAsString": false - } + } }, "message": { "description": "Specifies the detailed reason if the name is not available.", @@ -730,21 +750,21 @@ "type": "string", "enum": [ "Primary", - "Secondary" + "Secondary" ], "x-ms-enum": { "name": "KeyType", "modelAsString": false - } + } } }, "required": [ - "keyType" + "keyType" ] }, "RegenerateKeyOutput": { "description": "The response body for a RegenerateKey API.", - "example": { + "example": { "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=" }, "properties": { @@ -820,7 +840,7 @@ }, "StorageAccount": { "description": "The properties of a storage account associated with this resource.", - "example": { + "example": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia", "isPrimary": true }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json index 47d6c3492b06..8c9aa5b7f511 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json @@ -546,4 +546,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json index ed122a0cce52..6400418515d4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json @@ -920,4 +920,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json index d59d4c3a1951..eb9403081237 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json @@ -1270,4 +1270,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json index bea6dd7c7650..8ffd3bd1f71a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json @@ -77,4 +77,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json index 07fd4ab4bdb3..2df77971fd91 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json @@ -1165,4 +1165,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json index e2ec28beee5d..963de86b4961 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json @@ -2398,4 +2398,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json index a2dafe7e44d4..a08ee4ec0a75 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json @@ -1286,4 +1286,4 @@ "description": "The Version of the API to be used with the client request." } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json index a89bb51d57ef..198bf61098d8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json @@ -168,4 +168,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json index 793540fdf8ba..ad07ff6d257e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json index 3930e4f6ce69..693f7cbc5eea 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json @@ -53,4 +53,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json index edd40e995724..eacdfbbec53a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json index ff59b2d69427..d91cf8217184 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json index 8ac886e3a539..4ef7fa721199 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json index f15582ffd7a2..3451dc6b0572 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json index a20c9a79c353..c881a84854c0 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json @@ -8,4 +8,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json index b8ebb47bccd7..4ae9745f6b2a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json index bc61d392b902..2f59e9cae5ef 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json index d4a79fb8bd03..665c0edcd6bc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json index 633ec2d3a5e2..07e64ecaadba 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json index 14c63c725d94..ea9b54b7ffd8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json @@ -11,4 +11,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json index 0d5093206a74..0d4396b72abe 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json index 84dea565f6ba..9784120409d5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json @@ -169,4 +169,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json index e36fd253a836..3b890a6f7ccc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json index 6e6d6696391e..8eaed610e85d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json @@ -65,4 +65,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json index 8c2cd9a680c2..aa9981050b68 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json index 224f2cf3183a..42832ec0e80d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json index 7e9b78dea5b6..431c93bdb73e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json index 7988e4a683c1..3661cae3e441 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json index da24748b30f5..cc427282d0fa 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json @@ -25,4 +25,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json index c4a5e5a54004..c7c3f3fa0606 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json index ebb39fb6dfe1..714dd42b6137 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json @@ -98,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json index efb131fe71fb..a2a1cba3d82f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json @@ -99,4 +99,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json index 2363fe29859c..9cc1ef62ea2a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json index 07f2117528d4..f861fd39b54b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json index 242504bc435c..3646044598cc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json index e55650b58f63..aa8743214b59 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json index 94709fc604f6..1106df0390d4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json @@ -128,7 +128,7 @@ } ] } - } + } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json index 2aeafe202a08..7395f4a1b42e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json @@ -99,4 +99,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json index 93dad936400f..da7e946e3279 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json index b8d4a2930768..1df5682c7cef 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json @@ -121,4 +121,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json index c77275731aa7..7447440dc857 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json index ddd9eb76e54a..250a24b9d44e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json @@ -60,4 +60,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json index f11e2b4b8b9a..9143019cbbd5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json @@ -55,4 +55,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json index 3652532bf048..750d942f695b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json index 7348534d2def..3964906825e4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json @@ -141,4 +141,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json index 0339c941acca..00509549496e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json index 03266d7a7ba6..6ad18004d6f4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json index 9c132f7e0806..0ac966b8b75b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json @@ -10,4 +10,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json index b525731f8d4d..5d89c32c60fa 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json index 3ddeb219ab86..6294423759db 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json index bfbee0d5ce1c..377c1d76d265 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json index 395cecb25446..5edc04a19e36 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json index f62722d0e0be..0e9639af32a7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json index 95975da8908e..0c04098bed7c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json index 6b082f7e48d2..a1dce95541ee 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json @@ -78,4 +78,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json index f089816e8da7..72eabbf3f41b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json index 2fef3a6c39dd..fbcaef2d9ce2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json index 41acda6e73f8..a389ddb0ee9c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json index 36135ba39660..037037159cb4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json index 165782848f48..b3939b4c8121 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json @@ -26,7 +26,7 @@ "allow": [ { "name": "AllowAll", - "address": "0.0.0.0", + "address": "0.0.0.0", "subnetPrefixLength": 0 } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json index a17f0b85b17a..76f800375bfa 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json @@ -59,4 +59,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json index 5dd282da51d8..da80ef5d0805 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json index c31b9e1a601f..d5443a60b311 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json index c31b9e1a601f..d5443a60b311 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json index 97057f6a74ae..cdf6c800889b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json @@ -13,4 +13,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json index 39b447203ee7..29eecd3adf47 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json @@ -134,4 +134,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json index b2a5dc1bbe42..473fa7d65cd1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json index 855a0df3eff0..7ff08e04d878 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json @@ -12,4 +12,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json index dbfa020e3ce3..879d657299fe 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json index c8db5d2b2f20..46d56644799c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json index 7efcb833aba6..7426d00e6230 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json @@ -586,4 +586,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json index 381dffc87ad3..ad55ead6f9e8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json index 505cd08bc772..08233501a6b7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json index 351164c1b69a..977d843d2416 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json index e0ae87e60243..140630d47647 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json index 2d488f5e2d62..e66ccef9dc6a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json @@ -24,4 +24,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json index 4306466b4ced..7ef154ff54fd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json index feeb42a437c1..811f52ff50a7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json index 8dc70f7d3823..6dea46e058bd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json index 6f91901c68c6..98c6f76ef174 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json index 5532720ca129..cb5f6ccb065c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json index 2e4ed2ced08d..52fc0ae3126e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json index 5a391d0dda07..f4b39637fd31 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json index 6215adf0f6e3..dae05f33ecc1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json index c82e0156301a..ba379b251a62 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json @@ -161,4 +161,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json index 402f133656ea..f7c557b72159 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json index a80e669c9990..a9107e1e2bbd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json @@ -208,4 +208,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json index 525db8cc0c92..e1f4eb5d3fbb 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json @@ -27,4 +27,4 @@ }, "404": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json index 7988dffd74b1..d2aa1a2e4295 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json @@ -154,4 +154,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json index 632ca025edfd..b78b3322644f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json @@ -41,4 +41,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json index db370e9e4a10..bcbc02e5185a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json index f44064bf9904..d3194bf8ceca 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json index 6d8205f8145a..6a324b3b86b5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json @@ -13,4 +13,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json index cee5764636e4..0ace89511dc6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json index cee5764636e4..0ace89511dc6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json @@ -10,4 +10,4 @@ "202": {}, "200": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json index f83258256808..99d1524ebd94 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json index 8c492eae7dd7..b8efcf50fa76 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json index 75397d696f65..f7377895cc28 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json index 849d964221c6..aaa70d241f27 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json index cf729aa5a250..6e9fff4bb24f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json index 28153774e318..7a7c451a796b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json index 84a76f252fb5..73abc35d3eff 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json index 0b53d7c2160e..577b65d56e1d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json index f299ef02994f..8676dc1745b7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json index b30ff201a412..f48e5640a176 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json @@ -700,7 +700,7 @@ "List all StreamingEndpoints": { "$ref": "examples/streamingendpoint-list-all.json" } - } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": { @@ -812,7 +812,7 @@ "Create a StreamingEndpoint": { "$ref": "examples/streamingendpoint-create.json" } - } + } }, "patch": { "tags": [ @@ -1046,7 +1046,7 @@ "description": "StreamingEndpoint scale parameters", "in": "body", "required": true, - "schema": { + "schema": { "$ref": "#/definitions/StreamingEntityScaleUnit" } } @@ -1054,7 +1054,7 @@ "responses": { "200": { "description": "OK. The request has succeeded." - }, + }, "202": { "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations." }, @@ -1086,7 +1086,10 @@ "description": "The HLS configuration." }, "LiveOutputProperties": { - "required": ["assetName","archiveWindowLength"], + "required": [ + "assetName", + "archiveWindowLength" + ], "properties": { "description": { "type": "string", @@ -1210,7 +1213,9 @@ "description": "The IP access control for Live Event Input." }, "LiveEventInput": { - "required": ["streamingProtocol"], + "required": [ + "streamingProtocol" + ], "properties": { "streamingProtocol": { "type": "string", @@ -1362,7 +1367,9 @@ "description": "The LiveEvent action input parameter definition." }, "LiveEventProperties": { - "required": ["input"], + "required": [ + "input" + ], "properties": { "description": { "type": "string", @@ -1536,7 +1543,9 @@ "description": "scale units definition" }, "StreamingEndpointProperties": { - "required": ["scaleUnits"], + "required": [ + "scaleUnits" + ], "properties": { "description": { "type": "string", From 77ee3fec6b6ec15fd74cc8c09242d492151aa283 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 28 Jun 2019 11:27:10 -0400 Subject: [PATCH 180/495] chore: jsonfmt sql (#6480) Ran `jsonfmt -w "specification/sql/**/*.json"` --- .../examples/ListInstancePoolUsage.json | 2 +- .../ListInstancePoolUsageExpanded.json | 4 +-- .../examples/ManagedInstanceCreateMax.json | 30 +++++++++---------- .../examples/ManagedInstanceCreateMin.json | 8 ++--- .../examples/ManagedInstanceDelete.json | 22 +++++++------- .../examples/ManagedInstanceGet.json | 14 ++++----- .../examples/ManagedInstanceList.json | 10 +++---- .../examples/ManagedInstanceUpdateMax.json | 30 +++++++++---------- .../examples/ManagedInstanceUpdateMin.json | 6 ++-- .../preview/2018-06-01-preview/usages.json | 2 +- 10 files changed, 62 insertions(+), 66 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json index 2278bc8d0a55..51a7531d3331 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json index 86121df3a3bd..6d0e26cc8363 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "group1", "instancePoolName": "testIP", - "expandChildren": true, + "expandChildren": true, "api-version": "2018-06-01-preview" }, "responses": { @@ -122,4 +122,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json index ebc90b3fe214..cd3e090e3398 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2018-06-01-preview", - "parameters" : { - "tags" : { - "tagKey1" : "TagValue1" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2018-06-01-preview", + "parameters": { + "tags": { + "tagKey1": "TagValue1" }, - "location" : "Japan East", - "sku" : { - "name" : "GP_Gen5", - "tier" : "GeneralPurpose" + "location": "Japan East", + "sku": { + "name": "GP_Gen5", + "tier": "GeneralPurpose" }, "properties": { "administratorLogin": "dummylogin", @@ -29,7 +29,7 @@ } } }, - "responses" : { + "responses": { "200": { "body": { "sku": { @@ -62,7 +62,7 @@ "type": "Microsoft.Sql/managedInstances" } }, - "201" : { + "201": { "body": { "sku": { "name": "GP_Gen5", @@ -94,6 +94,6 @@ "type": "Microsoft.Sql/managedInstances" } }, - "202" : {} + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json index fdad41d792e2..5a64915a23de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json @@ -43,9 +43,7 @@ "dnsZone": "1b4e2caff2530" }, "location": "japaneast", - "tags": { - - }, + "tags": {}, "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", "name": "testinstance", "type": "Microsoft.Sql/managedInstances" @@ -73,9 +71,7 @@ "dnsZone": "1b4e2caff2530" }, "location": "japaneast", - "tags": { - - }, + "tags": {}, "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", "name": "testinstance", "type": "Microsoft.Sql/managedInstances" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json index 5c201e79220d..ce98e14cb0ae 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2018-06-01-preview" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2018-06-01-preview" }, - "responses" : { - "200" : { - "body" : "" + "responses": { + "200": { + "body": "" }, - "202" : {}, - "204" : { - "body" : "" + "202": {}, + "204": { + "body": "" } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json index 7f297064d6ec..9da73f2a4849 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json @@ -1,12 +1,12 @@ { - "parameters" : { - "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2018-06-01-preview" + "parameters": { + "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2018-06-01-preview" }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "sku": { "name": "GP_Gen4", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json index 529b6fdd1c81..4ff1240668ef 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json @@ -1,11 +1,11 @@ { - "parameters" : { + "parameters": { "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", - "api-version" : "2018-06-01-preview" + "api-version": "2018-06-01-preview" }, - "responses" : { - "200" : { - "body" : { + "responses": { + "200": { + "body": { "value": [ { "location": "japaneast", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json index a9f060756e1c..79d81c6aa48b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMax.json @@ -1,17 +1,17 @@ { - "parameters" : { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", - "api-version" : "2018-06-01-preview", - "parameters" : { - "tags" : { - "tagKey1" : "TagValue1" + "parameters": { + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", + "api-version": "2018-06-01-preview", + "parameters": { + "tags": { + "tagKey1": "TagValue1" }, - "sku" : { - "name" : "GP_Gen4", - "tier" : "GeneralPurpose", - "capacity" : 8 + "sku": { + "name": "GP_Gen4", + "tier": "GeneralPurpose", + "capacity": 8 }, "properties": { "administratorLogin": "dummylogin", @@ -25,8 +25,8 @@ } } }, - "responses" : { - "200" : { + "responses": { + "200": { "body": { "tags": { "tagKey1": "TagValue1" @@ -57,6 +57,6 @@ } } }, - "202" : {} + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json index 3e8be01f972a..7fa48928dee9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceUpdateMin.json @@ -1,8 +1,8 @@ { "parameters": { - "subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", - "resourceGroupName" : "testrg", - "managedInstanceName" : "testinstance", + "subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", + "resourceGroupName": "testrg", + "managedInstanceName": "testinstance", "api-version": "2018-06-01-preview", "parameters": { "tags": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json index 8fb9437babb8..1488395612b2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/usages.json @@ -248,4 +248,4 @@ } } } -} \ No newline at end of file +} From 2e0fceec380f7e3e3ce3ef1eabd3af9f1ac51706 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 28 Jun 2019 11:43:28 -0400 Subject: [PATCH 181/495] chore: jsonfmt botservice (#5925) * chore: jsonfmt botservice Ran `jsonfmt -w "specification/botservice/**/*.json"` * fix: EnterpriseChannelCheckNameAvailability model validation --- .../preview/2017-12-01/botservice.json | 28 ++-- .../examples/CheckNameAvailability.json | 2 +- .../2017-12-01/examples/CreateBot.json | 2 +- .../2017-12-01/examples/DeleteBot.json | 8 +- .../2017-12-01/examples/DeleteChannel.json | 26 ++-- .../2017-12-01/examples/DeleteConnection.json | 26 ++-- .../preview/2017-12-01/examples/GetBot.json | 2 +- .../2017-12-01/examples/GetChannel.json | 36 ++--- .../2017-12-01/examples/GetConnection.json | 64 ++++----- .../2017-12-01/examples/GetOperations.json | 2 +- .../examples/ListBotsByResourceGroup.json | 2 +- .../examples/ListBotsBySubscription.json | 2 +- .../2017-12-01/examples/ListChannel.json | 40 +++--- .../examples/ListChannelsByBotService.json | 76 +++++------ .../examples/ListConnectionsByBotService.json | 60 ++++---- .../examples/ListServiceProviders.json | 56 ++++---- .../2017-12-01/examples/PutChannel.json | 62 ++++----- .../2017-12-01/examples/PutConnection.json | 128 +++++++++--------- .../2017-12-01/examples/UpdateBot.json | 2 +- .../2017-12-01/examples/UpdateChannel.json | 62 ++++----- .../2017-12-01/examples/UpdateConnection.json | 120 ++++++++-------- .../preview/2018-07-12/botservice.json | 34 ++++- .../examples/CheckNameAvailability.json | 2 +- .../2018-07-12/examples/CreateBot.json | 2 +- .../examples/CreateEnterpriseChannel.json | 2 +- .../2018-07-12/examples/DeleteBot.json | 8 +- .../2018-07-12/examples/DeleteChannel.json | 26 ++-- .../2018-07-12/examples/DeleteConnection.json | 26 ++-- .../examples/DeleteEnterpriseChannel.json | 8 +- ...nterpriseChannelCheckNameAvailability.json | 5 +- .../preview/2018-07-12/examples/GetBot.json | 2 +- .../2018-07-12/examples/GetChannel.json | 36 ++--- .../2018-07-12/examples/GetConnection.json | 64 ++++----- .../examples/GetEnterpriseChannel.json | 2 +- .../2018-07-12/examples/GetOperations.json | 2 +- .../examples/ListBotsByResourceGroup.json | 2 +- .../examples/ListBotsBySubscription.json | 2 +- .../2018-07-12/examples/ListChannel.json | 40 +++--- .../examples/ListChannelsByBotService.json | 76 +++++------ .../examples/ListConnectionsByBotService.json | 60 ++++---- ...ListEnterpriseChannelsByResourceGroup.json | 2 +- .../examples/ListServiceProviders.json | 56 ++++---- .../2018-07-12/examples/PutChannel.json | 62 ++++----- .../2018-07-12/examples/PutConnection.json | 128 +++++++++--------- .../2018-07-12/examples/UpdateBot.json | 2 +- .../2018-07-12/examples/UpdateChannel.json | 62 ++++----- .../2018-07-12/examples/UpdateConnection.json | 120 ++++++++-------- .../examples/UpdateEnterpriseChannel.json | 2 +- 48 files changed, 823 insertions(+), 816 deletions(-) diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json index c4c0937d18bb..17d42ea04a8a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json @@ -762,7 +762,7 @@ } } } - } + } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}": { "put": { @@ -1904,7 +1904,7 @@ ], "properties": { "properties": { - "$ref": "#/definitions/ConnectionSettingProperties", + "$ref": "#/definitions/ConnectionSettingProperties", "description": "The set of properties specific to bot channel resource" } } @@ -1990,7 +1990,7 @@ "description": "Display Name of the Service Provider", "readOnly": true }, - "serviceProviderName": { + "serviceProviderName": { "type": "string", "description": "Display Name of the Service Provider", "readOnly": true @@ -2212,38 +2212,38 @@ "modelAsString": false, "values": [ { - "value": "FacebookChannel" + "value": "FacebookChannel" }, { - "value": "EmailChannel" + "value": "EmailChannel" }, { - "value": "KikChannel" + "value": "KikChannel" }, { - "value": "TelegramChannel" + "value": "TelegramChannel" }, { - "value": "SlackChannel" + "value": "SlackChannel" }, { - "value": "MsTeamsChannel" + "value": "MsTeamsChannel" }, { - "value": "SkypeChannel" + "value": "SkypeChannel" }, { - "value": "WebChatChannel" + "value": "WebChatChannel" }, { - "value": "DirectLineChannel" + "value": "DirectLineChannel" }, { - "value": "SmsChannel" + "value": "SmsChannel" } ] }, "description": "The name of the Channel resource." } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json index 76879ee47152..9fcfe64e34f5 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json index 93aef41e70a4..d996c2ff1856 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json @@ -105,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json index 08b09eeb7aaa..db0a9ac54feb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json @@ -6,9 +6,7 @@ "resourceName": "samplebotname" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json index 3ef121f395fe..e4d585042a4e 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json @@ -1,15 +1,13 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel" - }, - "responses": { - "200": { - }, - "204": { - } - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json index 7f11a36734a0..cbf6b1cbcae2 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json @@ -1,15 +1,13 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection" - }, - "responses": { - "200": { - }, - "204": { - } - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json index 2a350bd44f8c..2f10fc01f960 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json index b4d47e2ff7bd..347067a44c35 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel" - }, - "responses": { - "200": { - "body": { - "location": "global", + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel" + }, + "responses": { + "200": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json index c77afa08e4f4..68d996399fbb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json @@ -1,36 +1,36 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection" - }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection" + }, + "responses": { + "200": { + "body": { + "location": "global", + "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json index 1f4b66c26e48..69c51e28cc39 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json index 848588797bff..a4149dff51f7 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json index d67462778e86..e9b7512bea46 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json index e67f9a9991cc..9e40a9715f36 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json @@ -1,27 +1,27 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { - "location": "global" - } - }, - "responses": { - "200": { - "body": { - "location": "global", + "location": "global" + } + }, + "responses": { + "200": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json index 2f6126c6eef8..679c19597e75 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "resourceName": "samplebotname", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "global", + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "resourceName": "samplebotname", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } - }, - { - "location": "global", + } + }, + { + "location": "global", + "properties": { + "channelName": "FacebookChannel", "properties": { - "channelName": "FacebookChannel", - "properties":{ - "verifyToken": "othertoken", - "appId": "id", - "appSecret": "secret", - "callbackUrl": "appid", - "isEnabled": true, - "pages": [ - { - "accessToken": "token", - "id": "id" - } - ] - } + "verifyToken": "othertoken", + "appId": "id", + "appSecret": "secret", + "callbackUrl": "appid", + "isEnabled": true, + "pages": [ + { + "accessToken": "token", + "id": "id" + } + ] } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json index 49c377536a72..e43d92231c3a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" } - } - ] + ] + } + } + ] } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json index ff0c08f4bb8d..b74af64b98b1 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "id": "sampleId", - "displayName": "sample display name", - "serviceProviderName": "sampleServiceProvider", - "devPortalUrl": "sampleDevPortalUrl", - "iconUrl": "sampleIconUrl", - "parameters": [ - { - "name": "sampleParameterName", - "type": "sampleParameterType", - "displayName": "sampleDisplayName", - "description": "sampleDescription", - "helpUrl": "sampleHelpUrl", - "default": "sampleDefaultValue" - } - ] + "parameters": { + "subscriptionId": "subscription-id", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "id": "sampleId", + "displayName": "sample display name", + "serviceProviderName": "sampleServiceProvider", + "devPortalUrl": "sampleDevPortalUrl", + "iconUrl": "sampleIconUrl", + "parameters": [ + { + "name": "sampleParameterName", + "type": "sampleParameterType", + "displayName": "sampleDisplayName", + "description": "sampleDescription", + "helpUrl": "sampleHelpUrl", + "default": "sampleDefaultValue" } - } - ] + ] + } + } + ] } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json index e14c2fd30a52..7b9f1bb62567 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json @@ -1,15 +1,29 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { + "location": "global", + "properties": { + "channelName": "EmailChannel", + "properties": { + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true + } + } + } + }, + "responses": { + "200": { + "body": { "location": "global", "properties": { "channelName": "EmailChannel", - "properties":{ + "properties": { "emailAddress": "a@b.com", "password": "pwd", "isEnabled": true @@ -17,32 +31,18 @@ } } }, - "responses": { - "200": { - "body": { - "location": "global", - "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } - } - } - }, - "201": { - "body": { - "location": "global", + "201": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json index 513f1bd473c5..d010920c65a2 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json @@ -1,84 +1,84 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection", - "parameters": { - "location": "West US", - "etag": "etag1", - "name": "samplename", - "type": "sampletype", + "location": "West US", + "etag": "etag1", + "name": "samplename", + "type": "sampletype", + "id": "someid", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "location": "global", "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", "properties": { "clientId": "sampleclientid", "clientSecret": "samplesecret", "scopes": "samplescope", "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", "parameters": [ { - "key": "key1", - "value": "value1" + "key": "key1", + "value": "value1" }, { - "key": "key2", - "value": "value2" + "key": "key2", + "value": "value2" } ] } } }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } - } - }, - "201": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "201": { + "body": { + "location": "global", + "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } + } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json index 350fb4b8dd25..e43047d57cae 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json index e14c2fd30a52..7b9f1bb62567 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json @@ -1,15 +1,29 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { + "location": "global", + "properties": { + "channelName": "EmailChannel", + "properties": { + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true + } + } + } + }, + "responses": { + "200": { + "body": { "location": "global", "properties": { "channelName": "EmailChannel", - "properties":{ + "properties": { "emailAddress": "a@b.com", "password": "pwd", "isEnabled": true @@ -17,32 +31,18 @@ } } }, - "responses": { - "200": { - "body": { - "location": "global", - "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } - } - } - }, - "201": { - "body": { - "location": "global", + "201": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json index ed4550c1d27f..37bf4e7d4431 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json @@ -1,13 +1,38 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection", - "parameters": { + "location": "global", + "etag": "etag1", + "id": "someid", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] + } + } + }, + "responses": { + "200": { + "body": { "location": "global", - "etag": "etag1", "id": "someid", "name": "The Name of the Connection Setting", "properties": { @@ -18,66 +43,41 @@ "serviceProviderDisplayName": "serviceProviderDisplayName", "parameters": [ { - "key": "key1", - "value": "value1" + "key": "key1", + "value": "value1" }, { - "key": "key2", - "value": "value2" + "key": "key2", + "value": "value2" } ] } } }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } - } - }, - "201": { - "body": { - "location": "global", - "etag": "etag1", - "id": "someid", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "201": { + "body": { + "location": "global", + "etag": "etag1", + "id": "someid", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } + } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json index f49c370b5504..436bf13eb42a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json @@ -1105,7 +1105,7 @@ "description": "Creates an Enterprise Channel.", "operationId": "EnterpriseChannels_Create", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options" : { + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-examples": { @@ -1164,7 +1164,7 @@ "description": "Updates an Enterprise Channel.", "operationId": "EnterpriseChannels_Update", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options" : { + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-examples": { @@ -1224,7 +1224,7 @@ "description": "Deletes an Enterprise Channel from the resource group", "operationId": "EnterpriseChannels_Delete", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options" : { + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-examples": { @@ -2489,7 +2489,18 @@ "state": { "type": "string", "description": "The current state of the Enterprise Channel.", - "enum": ["Creating", "CreateFailed", "Started", "Starting", "StartFailed", "Stopped", "Stopping", "StopFailed", "Deleting", "DeleteFailed"], + "enum": [ + "Creating", + "CreateFailed", + "Started", + "Starting", + "StartFailed", + "Stopped", + "Stopping", + "StopFailed", + "Deleting", + "DeleteFailed" + ], "x-ms-enum": { "name": "EnterpriseChannelState", "modelAsString": true @@ -2518,7 +2529,18 @@ "state": { "type": "string", "description": "The current state of the Enterprise Channel Node.", - "enum": ["Creating", "CreateFailed", "Started", "Starting", "StartFailed", "Stopped", "Stopping", "StopFailed", "Deleting", "DeleteFailed"], + "enum": [ + "Creating", + "CreateFailed", + "Started", + "Starting", + "StartFailed", + "Stopped", + "Stopping", + "StopFailed", + "Deleting", + "DeleteFailed" + ], "x-ms-enum": { "name": "EnterpriseChannelNodeState", "modelAsString": true @@ -2650,4 +2672,4 @@ "description": "The name of the Channel resource." } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json index 28cf840c235e..b2cfc2eea323 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json index 93aef41e70a4..d996c2ff1856 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json @@ -105,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json index 85c333d8ee82..24158455c93a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json index 08b09eeb7aaa..db0a9ac54feb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json @@ -6,9 +6,7 @@ "resourceName": "samplebotname" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json index 3ef121f395fe..e4d585042a4e 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json @@ -1,15 +1,13 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel" - }, - "responses": { - "200": { - }, - "204": { - } - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json index 7f11a36734a0..cbf6b1cbcae2 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json @@ -1,15 +1,13 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection" - }, - "responses": { - "200": { - }, - "204": { - } - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json index 06808df3de3f..5c848da77dce 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json @@ -6,9 +6,7 @@ "resourceName": "contoso-dl" }, "responses": { - "200": { - }, - "204": { - } + "200": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json index a5f6c1221cd6..6718a287512b 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json @@ -2,8 +2,7 @@ "parameters": { "api-version": "2018-07-12", "parameters": { - "name": "enterpriseChannelName", - "type": "string" + "name": "enterpriseChannelName" } }, "responses": { @@ -14,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json index 2a350bd44f8c..2f10fc01f960 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json index b4d47e2ff7bd..347067a44c35 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json @@ -1,24 +1,24 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel" - }, - "responses": { - "200": { - "body": { - "location": "global", + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel" + }, + "responses": { + "200": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json index c77afa08e4f4..68d996399fbb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json @@ -1,36 +1,36 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection" - }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection" + }, + "responses": { + "200": { + "body": { + "location": "global", + "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json index 36160b0941fc..e75ee68f0148 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json index 1f4b66c26e48..69c51e28cc39 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json index 848588797bff..a4149dff51f7 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json index d67462778e86..e9b7512bea46 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json index e67f9a9991cc..9e40a9715f36 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json @@ -1,27 +1,27 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { - "location": "global" - } - }, - "responses": { - "200": { - "body": { - "location": "global", + "location": "global" + } + }, + "responses": { + "200": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json index 2f6126c6eef8..679c19597e75 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json @@ -1,46 +1,46 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "resourceName": "samplebotname", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "global", + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "resourceName": "samplebotname", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } - }, - { - "location": "global", + } + }, + { + "location": "global", + "properties": { + "channelName": "FacebookChannel", "properties": { - "channelName": "FacebookChannel", - "properties":{ - "verifyToken": "othertoken", - "appId": "id", - "appSecret": "secret", - "callbackUrl": "appid", - "isEnabled": true, - "pages": [ - { - "accessToken": "token", - "id": "id" - } - ] - } + "verifyToken": "othertoken", + "appId": "id", + "appSecret": "secret", + "callbackUrl": "appid", + "isEnabled": true, + "pages": [ + { + "accessToken": "token", + "id": "id" + } + ] } } - ] - } + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json index 49c377536a72..e43d92231c3a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" } - } - ] + ] + } + } + ] } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json index a3ec61874c53..efce8f37fc1a 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json index ff0c08f4bb8d..b74af64b98b1 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "subscription-id", - "api-version": "2017-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "id": "sampleId", - "displayName": "sample display name", - "serviceProviderName": "sampleServiceProvider", - "devPortalUrl": "sampleDevPortalUrl", - "iconUrl": "sampleIconUrl", - "parameters": [ - { - "name": "sampleParameterName", - "type": "sampleParameterType", - "displayName": "sampleDisplayName", - "description": "sampleDescription", - "helpUrl": "sampleHelpUrl", - "default": "sampleDefaultValue" - } - ] + "parameters": { + "subscriptionId": "subscription-id", + "api-version": "2017-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "id": "sampleId", + "displayName": "sample display name", + "serviceProviderName": "sampleServiceProvider", + "devPortalUrl": "sampleDevPortalUrl", + "iconUrl": "sampleIconUrl", + "parameters": [ + { + "name": "sampleParameterName", + "type": "sampleParameterType", + "displayName": "sampleDisplayName", + "description": "sampleDescription", + "helpUrl": "sampleHelpUrl", + "default": "sampleDefaultValue" } - } - ] + ] + } + } + ] } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json index e14c2fd30a52..7b9f1bb62567 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json @@ -1,15 +1,29 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { + "location": "global", + "properties": { + "channelName": "EmailChannel", + "properties": { + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true + } + } + } + }, + "responses": { + "200": { + "body": { "location": "global", "properties": { "channelName": "EmailChannel", - "properties":{ + "properties": { "emailAddress": "a@b.com", "password": "pwd", "isEnabled": true @@ -17,32 +31,18 @@ } } }, - "responses": { - "200": { - "body": { - "location": "global", - "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } - } - } - }, - "201": { - "body": { - "location": "global", + "201": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json index 513f1bd473c5..d010920c65a2 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json @@ -1,84 +1,84 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection", - "parameters": { - "location": "West US", - "etag": "etag1", - "name": "samplename", - "type": "sampletype", + "location": "West US", + "etag": "etag1", + "name": "samplename", + "type": "sampletype", + "id": "someid", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "location": "global", "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", "properties": { "clientId": "sampleclientid", "clientSecret": "samplesecret", "scopes": "samplescope", "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", "parameters": [ { - "key": "key1", - "value": "value1" + "key": "key1", + "value": "value1" }, { - "key": "key2", - "value": "value2" + "key": "key2", + "value": "value2" } ] } } }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } - } - }, - "201": { - "body": { - "location": "global", - "id": "someid", - "etag": "etag1", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "201": { + "body": { + "location": "global", + "id": "someid", + "etag": "etag1", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } + } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json index 350fb4b8dd25..e43047d57cae 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json @@ -107,4 +107,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json index e14c2fd30a52..7b9f1bb62567 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json @@ -1,15 +1,29 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "channelName": "EmailChannel", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "channelName": "EmailChannel", - "parameters": { + "location": "global", + "properties": { + "channelName": "EmailChannel", + "properties": { + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true + } + } + } + }, + "responses": { + "200": { + "body": { "location": "global", "properties": { "channelName": "EmailChannel", - "properties":{ + "properties": { "emailAddress": "a@b.com", "password": "pwd", "isEnabled": true @@ -17,32 +31,18 @@ } } }, - "responses": { - "200": { - "body": { - "location": "global", - "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } - } - } - }, - "201": { - "body": { - "location": "global", + "201": { + "body": { + "location": "global", + "properties": { + "channelName": "EmailChannel", "properties": { - "channelName": "EmailChannel", - "properties":{ - "emailAddress": "a@b.com", - "password": "pwd", - "isEnabled": true - } + "emailAddress": "a@b.com", + "password": "pwd", + "isEnabled": true } } } } - } \ No newline at end of file + } +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json index ed4550c1d27f..37bf4e7d4431 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json @@ -1,13 +1,38 @@ { + "parameters": { + "subscriptionId": "subscription-id", + "resourceGroupName": "OneResourceGroupName", + "api-version": "2017-01-01", + "resourceName": "samplebotname", + "connectionName": "sampleConnection", "parameters": { - "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", - "api-version": "2017-01-01", - "resourceName": "samplebotname", - "connectionName": "sampleConnection", - "parameters": { + "location": "global", + "etag": "etag1", + "id": "someid", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] + } + } + }, + "responses": { + "200": { + "body": { "location": "global", - "etag": "etag1", "id": "someid", "name": "The Name of the Connection Setting", "properties": { @@ -18,66 +43,41 @@ "serviceProviderDisplayName": "serviceProviderDisplayName", "parameters": [ { - "key": "key1", - "value": "value1" + "key": "key1", + "value": "value1" }, { - "key": "key2", - "value": "value2" + "key": "key2", + "value": "value2" } ] } } }, - "responses": { - "200": { - "body": { - "location": "global", - "id": "someid", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } - } - }, - "201": { - "body": { - "location": "global", - "etag": "etag1", - "id": "someid", - "name": "The Name of the Connection Setting", - "properties": { - "clientId": "sampleclientid", - "clientSecret": "samplesecret", - "scopes": "samplescope", - "serviceProviderId": "serviceproviderid", - "serviceProviderDisplayName": "serviceProviderDisplayName", - "parameters": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - } - ] - } + "201": { + "body": { + "location": "global", + "etag": "etag1", + "id": "someid", + "name": "The Name of the Connection Setting", + "properties": { + "clientId": "sampleclientid", + "clientSecret": "samplesecret", + "scopes": "samplescope", + "serviceProviderId": "serviceproviderid", + "serviceProviderDisplayName": "serviceProviderDisplayName", + "parameters": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } + } } } -} \ No newline at end of file +} diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json index 1481a2406a65..c3c9eb05a1a7 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} From fadea011d3243646cce8ac9811a32124e860da50 Mon Sep 17 00:00:00 2001 From: Bruce Johnston Date: Fri, 28 Jun 2019 11:07:00 -0700 Subject: [PATCH 182/495] [Azure Search] Update output paths for C# codegen (#6491) --- .../search/data-plane/Microsoft.Azure.Search.Data/readme.md | 2 +- .../search/data-plane/Microsoft.Azure.Search.Service/readme.md | 2 +- specification/search/resource-manager/readme.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md index 089c1d483221..5be96f74244a 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md +++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md @@ -108,7 +108,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Search clear-output-folder: true - output-folder: $(csharp-sdks-folder)/Search/DataPlane/Microsoft.Azure.Search.Data/Generated + output-folder: $(csharp-sdks-folder)/search/Microsoft.Azure.Search.Data/src/Generated ``` ### Tweak generated code diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md index ac62eea97986..35dc840073d0 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md @@ -109,7 +109,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Search clear-output-folder: true - output-folder: $(csharp-sdks-folder)/Search/DataPlane/Microsoft.Azure.Search.Service/Generated + output-folder: $(csharp-sdks-folder)/search/Microsoft.Azure.Search.Service/src/Generated directive: # TODO: Remove this workaround once AutoRest fixes the incorrect code generation when using a parameterized host and both client and operation groups paths. diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index 7aef06ddbdb3..2b422a1a9f22 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -81,7 +81,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Search - output-folder: $(csharp-sdks-folder)/Search/Management/Management.Search/Generated + output-folder: $(csharp-sdks-folder)/search/Microsoft.Azure.Management.Search/src/Generated clear-output-folder: true ``` From 49238f0b2917452311e71dd43c4164de70af3721 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 28 Jun 2019 14:22:21 -0400 Subject: [PATCH 183/495] chore: jsonfmt softwareplan (#6463) Ran `jsonfmt -w "specification/softwareplan/**/*.json"` --- .../examples/DeleteHybridUseBenefit.json | 20 +-- .../examples/GetAllHybridUseBenefits.json | 52 +++---- .../GetHybridUseBenefitRevisions.json | 52 +++---- .../examples/GetOperations.json | 130 +++++++++--------- .../examples/GetSingleHybridUseBenefit.json | 44 +++--- .../examples/PatchHybridUseBenefit.json | 56 ++++---- .../examples/PutHybridUseBenefit.json | 56 ++++---- .../examples/RegisterSubscription.json | 16 +-- .../2019-06-01-preview/softwareplan.json | 4 +- 9 files changed, 215 insertions(+), 215 deletions(-) diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json index 64b25a2ff50d..c5ff7f6241d7 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/DeleteHybridUseBenefit.json @@ -1,11 +1,11 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "planId": "94f46eda-45f8-493a-8425-251921463a89", - "api-version": "2019-06-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json index 855839b0ed97..11ce294cc36a 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json @@ -1,29 +1,29 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "api-version": "2019-06-01-preview", - "$filter": "SQLBYOLEnterpriseForADH" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", - "type": "Microsoft.SoftwarePlans/hybridUseBenefits", - "sku": { - "name": "SQLBYOLEnterpriseForADH" - }, - "etag": 1, - "properties": { - "provisioningState": "Succeeded", - "createdDate": "2019-06-05T21:50:07.846Z", - "lastUpdatedDate": "2019-06-05T21:50:07.846Z" - } - } - ] + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "api-version": "2019-06-01-preview", + "$filter": "SQLBYOLEnterpriseForADH" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json index 72a8f8ee5ddd..5a5bb43a8b8a 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json @@ -1,29 +1,29 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "planId": "94f46eda-45f8-493a-8425-251921463a89", - "api-version": "2019-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", - "type": "Microsoft.SoftwarePlans/hybridUseBenefits", - "sku": { - "name": "SQLBYOLEnterpriseForADH" - }, - "etag": 1, - "properties": { - "provisioningState": "Succeeded", - "createdDate": "2019-06-05T21:50:07.846Z", - "lastUpdatedDate": "2019-06-05T21:50:07.846Z" - } - } - ] + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json index c98c719e4ae3..f631d7432274 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetOperations.json @@ -1,68 +1,68 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "api-version": "2019-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.SoftwarePlan/hybridUseBenefits/read", - "display": { - "provider": "Microsoft Software Plan", - "resource": "hybridUseBenefits", - "operation": "Get hybrid use benefit", - "description": "Read all hybrid use benefits" - } - }, - { - "name": "Microsoft.SoftwarePlan/hybridUseBenefits/write", - "display": { - "provider": "Microsoft Software Plan", - "resource": "hybridUseBenefits", - "operation": "Create hybrid use benefit", - "description": "Create a hybrid use benefit" - } - }, - { - "name": "Microsoft.SoftwarePlan/hybridUseBenefits/action", - "display": { - "provider": "Microsoft Software Plan", - "resource": "hybridUseBenefits", - "operation": "Update hybrid use benefit", - "description": "Update a hybrid use benefit" - } - }, - { - "name": "Microsoft.SoftwarePlan/hybridUseBenefits/delete", - "display": { - "provider": "Microsoft Software Plan", - "resource": "hybridUseBenefits", - "operation": "Delete hybrid use benefit", - "description": "Delete a hybrid use benefit" - } - }, - { - "name": "Microsoft.SoftwarePlan/hybridUseBenefits/revisions/read", - "display": { - "provider": "Microsoft Software Plan", - "resource": "hybridUseBenefits", - "operation": "Get hybrid use benefit", - "description": "Read all hybrid use benefit revisions" - } - }, - { - "name": "Microsoft.SoftwarePlan/register/action", - "display": { - "provider": "Microsoft Software Plan", - "resource": "SoftwarePlan", - "operation": "Registers the SoftwarePlan Resource Provider.", - "description": "Registers the SoftwarePlan resource provider and enables the creation of SoftwarePlan resources." - } - } - ] + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/read", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Get hybrid use benefit", + "description": "Read all hybrid use benefits" } - } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/write", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Create hybrid use benefit", + "description": "Create a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/action", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Update hybrid use benefit", + "description": "Update a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/delete", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Delete hybrid use benefit", + "description": "Delete a hybrid use benefit" + } + }, + { + "name": "Microsoft.SoftwarePlan/hybridUseBenefits/revisions/read", + "display": { + "provider": "Microsoft Software Plan", + "resource": "hybridUseBenefits", + "operation": "Get hybrid use benefit", + "description": "Read all hybrid use benefit revisions" + } + }, + { + "name": "Microsoft.SoftwarePlan/register/action", + "display": { + "provider": "Microsoft Software Plan", + "resource": "SoftwarePlan", + "operation": "Registers the SoftwarePlan Resource Provider.", + "description": "Registers the SoftwarePlan resource provider and enables the creation of SoftwarePlan resources." + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json index 8750e66b184c..421f5f879e34 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json @@ -1,25 +1,25 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "planId": "94f46eda-45f8-493a-8425-251921463a89", - "api-version": "2019-06-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", - "type": "Microsoft.SoftwarePlans/hybridUseBenefits", - "sku": { - "name": "SQLBYOLEnterpriseForADH" - }, - "etag": 1, - "properties": { - "provisioningState": "Succeeded", - "createdDate": "2019-06-05T21:50:07.846Z", - "lastUpdatedDate": "2019-06-05T21:50:07.846Z" - } - } + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json index 58f4f80806ca..0c00bdfb88ce 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json @@ -1,31 +1,31 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "planId": "94f46eda-45f8-493a-8425-251921463a89", - "api-version": "2019-06-01-preview", - "body": { - "type": "Microsoft.SoftwarePlan/hybridUseBenefits", - "sku": { - "name": "SQLBYOLStandardForADH" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", - "type": "Microsoft.SoftwarePlans/hybridUseBenefits", - "sku": { - "name": "SQLBYOLStandardForADH" - }, - "etag": 1, - "properties": { - "provisioningState": "Succeeded", - "createdDate": "2019-06-05T21:50:07.846Z", - "lastUpdatedDate": "2019-06-05T21:50:07.846Z" - } - } + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview", + "body": { + "type": "Microsoft.SoftwarePlan/hybridUseBenefits", + "sku": { + "name": "SQLBYOLStandardForADH" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLStandardForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json index 325fa649ab0e..51eac8d275cb 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json @@ -1,31 +1,31 @@ { - "parameters": { - "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", - "planId": "94f46eda-45f8-493a-8425-251921463a89", - "api-version": "2019-06-01-preview", - "body": { - "type": "Microsoft.SoftwarePlan/hybridUseBenefits", - "sku": { - "name": "SQLBYOLEnterpriseForADH" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", - "type": "Microsoft.SoftwarePlans/hybridUseBenefits", - "sku": { - "name": "SQLBYOLEnterpriseForADH" - }, - "etag": 1, - "properties": { - "provisioningState": "Succeeded", - "createdDate": "2019-06-05T21:50:07.846Z", - "lastUpdatedDate": "2019-06-05T21:50:07.846Z" - } - } + "parameters": { + "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", + "planId": "94f46eda-45f8-493a-8425-251921463a89", + "api-version": "2019-06-01-preview", + "body": { + "type": "Microsoft.SoftwarePlan/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", + "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "type": "Microsoft.SoftwarePlans/hybridUseBenefits", + "sku": { + "name": "SQLBYOLEnterpriseForADH" + }, + "etag": 1, + "properties": { + "provisioningState": "Succeeded", + "createdDate": "2019-06-05T21:50:07.846Z", + "lastUpdatedDate": "2019-06-05T21:50:07.846Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json index 874b96402373..1afb85c906c3 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/RegisterSubscription.json @@ -1,9 +1,9 @@ { - "parameters": { - "api-version": "2019-06-01-preview", - "subscriptionId": "98df3792-7962-4f18-8be2-d5576f122de3 " - }, - "responses": { - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-06-01-preview", + "subscriptionId": "98df3792-7962-4f18-8be2-d5576f122de3 " + }, + "responses": { + "204": {} + } +} diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json index 995f8ac3a3b3..a0318a7406c3 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json @@ -73,7 +73,7 @@ "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits": { "get": { "description": "Get all hybrid use benefits associated with an ARM resource.", - "operationId": "HybridUseBenefit_List", + "operationId": "HybridUseBenefit_List", "tags": [ "Hybrid use benefits" ], @@ -275,7 +275,7 @@ "/{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions": { "get": { "description": "Gets the version history of a hybrid use benefit", - "operationId": "HybridUseBenefitRevision_List", + "operationId": "HybridUseBenefitRevision_List", "tags": [ "Hybrid use benefit revisions" ], From dba5adca7713d94aea126b94de46aaaa0d4d470f Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Fri, 28 Jun 2019 15:08:23 -0700 Subject: [PATCH 184/495] add authorization 2018-07-01 to Go SDK (#6501) --- .../authorization/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/authorization/resource-manager/readme.go.md b/specification/authorization/resource-manager/readme.go.md index 58b8ea694011..8af1776db4aa 100644 --- a/specification/authorization/resource-manager/readme.go.md +++ b/specification/authorization/resource-manager/readme.go.md @@ -16,6 +16,7 @@ batch: - tag: package-2015-07-01 - tag: package-2017-10-01-preview - tag: package-2018-01-01-preview + - tag: package-2018-07-01-preview - tag: package-2018-09-01-preview ``` @@ -46,6 +47,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-07-01-preview/$(namespace) +``` + ### Tag: package-2018-09-01-preview and go These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line. From c43e5ac8775469f90e5df292209457accdd2004c Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Fri, 28 Jun 2019 15:08:45 -0700 Subject: [PATCH 185/495] add batch 2019-04-01 to Go SDK (#6502) --- specification/batch/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/batch/resource-manager/readme.go.md b/specification/batch/resource-manager/readme.go.md index cae71e91ed56..0568d9c814d9 100644 --- a/specification/batch/resource-manager/readme.go.md +++ b/specification/batch/resource-manager/readme.go.md @@ -14,6 +14,7 @@ go: ### Go multi-api ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-04 - tag: package-2018-12 - tag: package-2017-09 - tag: package-2017-05 @@ -21,6 +22,15 @@ batch: - tag: package-2015-12 ``` +### Tag: package-2019-04 and go + +These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace) +``` + ### Tag: package-2018-12 and go These settings apply only when `--tag=package-2018-12 --go` is specified on the command line. From bb12977bcc06bceed67b4a82cca7093273af961c Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Fri, 28 Jun 2019 15:09:02 -0700 Subject: [PATCH 186/495] add missing alertsmanagement packages to Go SDK (#6503) --- .../resource-manager/readme.go.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/specification/alertsmanagement/resource-manager/readme.go.md b/specification/alertsmanagement/resource-manager/readme.go.md index b6a1cd3fb8e0..13f35726b3ee 100644 --- a/specification/alertsmanagement/resource-manager/readme.go.md +++ b/specification/alertsmanagement/resource-manager/readme.go.md @@ -13,7 +13,9 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-preview-2019-05 + - tag: package-2019-03 - tag: package-2018-05 + - tag: package-2018-05-preview ``` ### Tag: package-preview-2019-05 and go @@ -25,6 +27,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-03-01/$(namespace) +``` + ### Tag: package-2018-05 and go These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. @@ -33,3 +44,12 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-05-05-preview/$(namespace) +``` From db00be4465b9351e4db9d27eeb79fd238e151e1b Mon Sep 17 00:00:00 2001 From: aim-for-better <1253936411@qq.com> Date: Sat, 29 Jun 2019 07:00:31 +0800 Subject: [PATCH 187/495] [HDInsight] Add ListBillingSpecs API to HDInsight's stable and preview version (#6360) * Add ListBillingSpecs API to stable and preview version * Add enum for tier, osType and filtermode * Update HDI_Locations_ListBillingSpecs.json Fix model validation errors * Update HDI_Locations_ListBillingSpecs.json Fix model validation errors --- .../HDI_Locations_ListBillingSpecs.json | 63 ++++++ .../preview/2015-03-01-preview/locations.json | 204 ++++++++++++++++- .../HDI_Locations_ListBillingSpecs.json | 63 ++++++ .../stable/2018-06-01-preview/locations.json | 206 +++++++++++++++++- 4 files changed, 533 insertions(+), 3 deletions(-) create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json new file mode 100644 index 000000000000..de9a1182d869 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "location": "East US 2", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "vmSizes": [ + "A5", + "A6", + "A7" + ], + "vmSizeFilters": [ + { + "filterMode": "Exclude", + "regions": null, + "clusterFlavors": null, + "nodeTypes": null, + "clusterVersions": null, + "osType": null, + "vmSizes": null + } + ], + "billingResources": [ + { + "region": "East US 2", + "billingMeters": [], + "diskBillingMeters": [] + }, + { + "region": "default", + "billingMeters": [ + { + "meterParameter": "default", + "meter": "11111111-1111-1111-1111-111111111111", + "unit": "CoreHours" + }, + { + "meterParameter": "Kafka", + "meter": "11111111-1111-1111-1111-111111111111", + "unit": "CoreHours" + } + ], + "diskBillingMeters": [ + { + "diskRpMeter": "11111111-1111-1111-1111-111111111111", + "sku": "All", + "tier": "Standard" + }, + { + "diskRpMeter": "11111111-1111-1111-1111-111111111111", + "sku": "All", + "tier": "Standard" + } + ] + } + ] + } + } + } +} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index cb49fa0aedd1..613792593a21 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -111,6 +111,45 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Locations_ListBillingSpecs", + "description": "Lists the billingSpecs for the specified subscription and location.", + "x-ms-examples": { + "Get the subscription billingSpecs for the specified location": { + "$ref": "./examples/HDI_Locations_ListBillingSpecs.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/BillingResponseListResult" + } + } + } + } } }, "definitions": { @@ -338,6 +377,169 @@ } } } + }, + "BillingResponseListResult": { + "type": "object", + "description": "The response for the operation to get regional billingSpecs for a subscription.", + "properties": { + "vmSizes": { + "description": "The virtual machine sizes to include or exclude.", + "type": "array", + "items": { + "type": "string" + } + }, + "vmSizeFilters": { + "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.", + "type": "array", + "items": { + "$ref": "#/definitions/VmSizeCompatibilityFilterV2" + } + }, + "billingResources": { + "description": "The billing and managed disk billing resources for a region.", + "type": "array", + "items": { + "$ref": "#/definitions/BillingResources" + } + } + } + }, + "VmSizeCompatibilityFilterV2": { + "type": "object", + "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.", + "properties": { + "filterMode": { + "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.", + "type": "string", + "enum": [ + "Exclude", + "Include" + ], + "x-ms-enum": { + "name": "FilterMode", + "modelAsString": true + } + }, + "regions": { + "description": "The list of regions under the effect of the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "clusterFlavors": { + "description": "The list of cluster flavors under the effect of the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "nodeTypes": { + "description": "The list of node types affected by the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "clusterVersions": { + "description": "The list of cluster versions affected in Major.Minor format.", + "type": "array", + "items": { + "type": "string" + } + }, + "osType": { + "description": "The OSType affected, Windows or Linux.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } + } + }, + "vmSizes": { + "description": "The list of virtual machine sizes to include or exclude.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "BillingResources": { + "type": "object", + "description": "The billing resources.", + "properties": { + "region": { + "description": "The region or location.", + "type": "string" + }, + "billingMeters": { + "description": "The billing meter information.", + "type": "array", + "items": { + "$ref": "#/definitions/BillingMeters" + } + }, + "diskBillingMeters": { + "description": "The managed disk billing information.", + "type": "array", + "items": { + "$ref": "#/definitions/DiskBillingMeters" + } + } + } + }, + "BillingMeters": { + "type": "object", + "description": "The billing meters.", + "properties": { + "meterParameter": { + "description": "The virtual machine sizes.", + "type": "string" + }, + "meter": { + "description": "The HDInsight meter guid.", + "type": "string" + }, + "unit": { + "description": "The unit of meter, VMHours or CoreHours.", + "type": "string" + } + } + }, + "DiskBillingMeters": { + "type": "object", + "description": "The disk billing meters.", + "properties": { + "diskRpMeter": { + "description": "The managed disk meter guid.", + "type": "string" + }, + "sku": { + "description": "The managed disk billing sku, P30 or S30.", + "type": "string" + }, + "tier": { + "description": "The managed disk billing tier, Standard or Premium.", + "type": "string", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "Tier", + "modelAsString": false + } + } + } } }, "parameters": { @@ -353,7 +555,7 @@ "in": "path", "required": true, "type": "string", - "description": "The location.", + "description": "The Azure location (region) for which to make the request.", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json new file mode 100644 index 000000000000..2ff11cb94c13 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "location": "East US 2", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "vmSizes": [ + "A5", + "A6", + "A7" + ], + "vmSizeFilters": [ + { + "filterMode": "Exclude", + "regions": null, + "clusterFlavors": null, + "nodeTypes": null, + "clusterVersions": null, + "osType": null, + "vmSizes": null + } + ], + "billingResources": [ + { + "region": "East US 2", + "billingMeters": [], + "diskBillingMeters": [] + }, + { + "region": "default", + "billingMeters": [ + { + "meterParameter": "default", + "meter": "11111111-1111-1111-1111-111111111111", + "unit": "CoreHours" + }, + { + "meterParameter": "Kafka", + "meter": "11111111-1111-1111-1111-111111111111", + "unit": "CoreHours" + } + ], + "diskBillingMeters": [ + { + "diskRpMeter": "11111111-1111-1111-1111-111111111111", + "sku": "All", + "tier": "Standard" + }, + { + "diskRpMeter": "11111111-1111-1111-1111-111111111111", + "sku": "All", + "tier": "Standard" + } + ] + } + ] + } + } + } +} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json index efc0d5c7d043..3c701f7b6796 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json @@ -72,6 +72,45 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Locations_ListBillingSpecs", + "description": "Lists the billingSpecs for the specified subscription and location.", + "x-ms-examples": { + "Get the subscription billingSpecs for the specified location": { + "$ref": "./examples/HDI_Locations_ListBillingSpecs.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/BillingResponseListResult" + } + } + } + } } }, "definitions": { @@ -123,6 +162,169 @@ } }, "readOnly": true + }, + "BillingResponseListResult": { + "type": "object", + "description": "The response for the operation to get regional billingSpecs for a subscription.", + "properties": { + "vmSizes": { + "description": "The virtual machine sizes to include or exclude.", + "type": "array", + "items": { + "type": "string" + } + }, + "vmSizeFilters": { + "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.", + "type": "array", + "items": { + "$ref": "#/definitions/VmSizeCompatibilityFilterV2" + } + }, + "billingResources": { + "description": "The billing and managed disk billing resources for a region.", + "type": "array", + "items": { + "$ref": "#/definitions/BillingResources" + } + } + } + }, + "VmSizeCompatibilityFilterV2": { + "type": "object", + "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.", + "properties": { + "filterMode": { + "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.", + "type": "string", + "enum": [ + "Exclude", + "Include" + ], + "x-ms-enum": { + "name": "FilterMode", + "modelAsString": true + } + }, + "regions": { + "description": "The list of regions under the effect of the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "clusterFlavors": { + "description": "The list of cluster flavors under the effect of the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "nodeTypes": { + "description": "The list of node types affected by the filter.", + "type": "array", + "items": { + "type": "string" + } + }, + "clusterVersions": { + "description": "The list of cluster versions affected in Major.Minor format.", + "type": "array", + "items": { + "type": "string" + } + }, + "osType": { + "description": "The OSType affected, Windows or Linux.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } + } + }, + "vmSizes": { + "description": "The list of virtual machine sizes to include or exclude.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "BillingResources": { + "type": "object", + "description": "The billing resources.", + "properties": { + "region": { + "description": "The region or location.", + "type": "string" + }, + "billingMeters": { + "description": "The billing meter information.", + "type": "array", + "items": { + "$ref": "#/definitions/BillingMeters" + } + }, + "diskBillingMeters": { + "description": "The managed disk billing information.", + "type": "array", + "items": { + "$ref": "#/definitions/DiskBillingMeters" + } + } + } + }, + "BillingMeters": { + "type": "object", + "description": "The billing meters.", + "properties": { + "meterParameter": { + "description": "The virtual machine sizes.", + "type": "string" + }, + "meter": { + "description": "The HDInsight meter guid.", + "type": "string" + }, + "unit": { + "description": "The unit of meter, VMHours or CoreHours.", + "type": "string" + } + } + }, + "DiskBillingMeters": { + "type": "object", + "description": "The disk billing meters.", + "properties": { + "diskRpMeter": { + "description": "The managed disk meter guid.", + "type": "string" + }, + "sku": { + "description": "The managed disk billing sku, P30 or S30.", + "type": "string" + }, + "tier": { + "description": "The managed disk billing tier, Standard or Premium.", + "type": "string", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "Tier", + "modelAsString": false + } + } + } } }, "parameters": { @@ -138,7 +340,7 @@ "in": "path", "required": true, "type": "string", - "description": "The location to get capabilities for.", + "description": "The Azure location (region) for which to make the request.", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { @@ -149,4 +351,4 @@ "description": "The HDInsight client API Version." } } -} +} \ No newline at end of file From 61594829d746109706807c3d01e3cec22ef68b5b Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Fri, 28 Jun 2019 16:02:06 -0700 Subject: [PATCH 188/495] add netapp 2019-06-01 to Go SDK (#6495) --- specification/netapp/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md index 6d3fca2efc9f..63aad6e6522c 100644 --- a/specification/netapp/resource-manager/readme.go.md +++ b/specification/netapp/resource-manager/readme.go.md @@ -13,10 +13,20 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-netapp-2019-06-01 - tag: package-netapp-2019-05-01 - tag: package-2017-08-15 ``` +### Tag: package-netapp-2019-06-01 and go + +These settings apply only when `--tag=package-netapp-2019-06-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-06-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace) +``` + ### Tag: package-netapp-2019-05-01 and go These settings apply only when `--tag=package-netapp-2019-05-01 --go` is specified on the command line. From c6eb684e73cb8a2f6dd4ab31238f356e3f52a389 Mon Sep 17 00:00:00 2001 From: He Huang <47040595+hjhhh3000vitae@users.noreply.github.com> Date: Fri, 28 Jun 2019 16:56:50 -0700 Subject: [PATCH 189/495] Microsoft.Resources API update to 2019-05-10 (#6402) * Adds base for updating Microsoft.Resources from version stable/2019-05-01 to version 2019-05-10 * Updates readme * Updates API version in new specs and examples * Update readme * Revert unintentional change * Remove unwanted test * Add back all examples * Update description * Update API version --- .../examples/CreateResourceGroup.json | 32 + .../examples/ExportResourceGroup.json | 63 + .../ExportResourceGroupWithFiltering.json | 41 + .../PutDeploymentAtManagementGroup.json | 137 + ...ntWithOnErrorDeploymentLastSuccessful.json | 54 + ...thOnErrorDeploymentSpecificDeployment.json | 55 + .../stable/2019-05-10/resources.json | 3758 +++++++++++++++++ .../resource-manager/readme.csharp.md | 81 + .../resources/resource-manager/readme.md | 64 +- .../resource-manager/readme.python.md | 12 + 10 files changed, 4290 insertions(+), 7 deletions(-) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json new file mode 100644 index 000000000000..8efcf4cea1eb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-05-10", + "parameters": { + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup", + "name": "myResourceGroup", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup", + "name": "myResourceGroup", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json new file mode 100644 index 000000000000..a675b780024e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-05-10", + "parameters": { + "resources": [ + "*" + ], + "options": "IncludeParameterDefaultValue,IncludeComments" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_name": { + "defaultValue": "myFirstResource", + "type": "String" + }, + "myResourceType_mySecondResource_name": { + "defaultValue": "mySecondResource", + "type": "String" + }, + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_myFirstResource_name')]", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + }, + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_mySecondResource_name')]", + "location": "West US", + "properties": { + "customProperty": "hello!" + } + } + ] + }, + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json new file mode 100644 index 000000000000..a76ffd50f752 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-05-10", + "parameters": { + "resources": [ + "/subscriptions/eaee6a92-e973-4922-9471-3a0a6abf81cd/resourceGroups/myResourceGroup/providers/My.RP/myResourceType/myFirstResource" + ], + "options": "SkipResourceNameParameterization" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "myFirstResource", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentAtManagementGroup.json new file mode 100644 index 000000000000..0f052dc90618 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentAtManagementGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "groupId": "tiano-group1", + "deploymentName": "mg-dep01", + "api-version": "2019-05-10", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Incremental" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + }, + "201": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json new file mode 100644 index 000000000000..8804804c45ce --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "deploymentName": "exampleDeploymentName", + "api-version": "2019-05-10", + "parameters": { + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "{nameOfLastSuccesfulDeployment}" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "{nameOfLastSuccesfulDeployment}" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json new file mode 100644 index 000000000000..dc82d30a0a8f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "deploymentName": "exampleDeploymentName", + "api-version": "2019-05-10", + "parameters": { + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json new file mode 100644 index 000000000000..14b0133a0776 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json @@ -0,0 +1,3758 @@ +{ + "swagger": "2.0", + "info": { + "title": "ResourceManagementClient", + "version": "2019-05-10", + "description": "Provides operations for working with resources and resource groups." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Resources/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Microsoft.Resources REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtManagementGroupScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtManagementGroupScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtManagementGroupScope", + "summary": "Deploys resources at management group scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create deployment at management group scope.": { + "$ref": "./examples/PutDeploymentAtManagementGroup.json" + } + } + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtManagementGroupScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtManagementGroupScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtManagementGroupScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "400": { + "description": "Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtManagementGroupScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtManagementGroupScope", + "description": "Get all the deployments for a management group.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtSubscriptionScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtSubscriptionScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtSubscriptionScope", + "summary": "Deploys resources at subscription scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtSubscriptionScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtSubscriptionScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtSubscriptionScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "400": { + "description": "Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtSubscriptionScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtSubscriptionScope", + "description": "Get all the deployments for a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Delete", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployment to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistence", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployment to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdate", + "summary": "Deploys resources to a resource group.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + }, + "x-ms-examples": { + "Create a deployment that will redeploy the last successful deployment on failure": { + "$ref": "./examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json" + }, + "Create a deployment that will redeploy another deployment on failure": { + "$ref": "./examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Get", + "description": "Gets a deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Cancel", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Validate", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group the template will be deployed to. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "400": { + "description": "Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplate", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListByResourceGroup", + "description": "Get all the deployments for a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployments to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Unregister", + "description": "Unregisters a subscription from a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to unregister." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Register", + "description": "Registers a subscription with a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to register." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_List", + "description": "Gets all resource providers for a subscription.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all deployments." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Get", + "description": "Gets the specified resource provider.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "Resources_ListByResourceGroup", + "description": "Get all the resources for a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group with the resources to get.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. You can expand createdTime and changedTime. For example, to expand both properties, use $expand=changedTime,createdTime" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { + "head": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_CheckExistence", + "description": "Checks whether a resource group exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "put": { + "tags": [ + "ResourceGroups" + ], + "x-ms-examples": { + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } + }, + "operationId": "ResourceGroups_CreateOrUpdate", + "description": "Creates or updates a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "Parameters supplied to the create or update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "200": { + "description": "OK - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + } + } + }, + "delete": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Delete", + "summary": "Deletes a resource group.", + "description": "When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Get", + "description": "Gets a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + } + } + }, + "patch": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Update", + "summary": "Updates a resource group.", + "description": "Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to update. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroupPatchable" + }, + "description": "Parameters supplied to update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate": { + "post": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_ExportTemplate", + "description": "Captures the specified resource group as a template.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to export as a template.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportTemplateRequest" + }, + "description": "Parameters for exporting the template." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-examples": { + "Export a resource group": { + "$ref": "./examples/ExportResourceGroup.json" + }, + "Export a resource group with filtering": { + "$ref": "./examples/ExportResourceGroupWithFiltering.json" + } + }, + "responses": { + "200": { + "description": "OK - Returns the result of the export.", + "schema": { + "$ref": "#/definitions/ResourceGroupExportResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_List", + "description": "Gets all the resource groups for a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resource groups." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource groups.", + "schema": { + "$ref": "#/definitions/ResourceGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ResourceGroupFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_MoveResources", + "summary": "Moves resources from one resource group to another resource group.", + "description": "The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. ", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_ValidateMoveResources", + "summary": "Validates whether resources can be moved from one resource group to another resource group.", + "description": "This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to validate for move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "409": { + "description": "Conflict" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resources": { + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_List", + "description": "Get all the resources in a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. You can expand createdTime and changedTime. For example, to expand both properties, use $expand=changedTime,createdTime" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resource groups." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources.", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistence", + "description": "Checks whether a resource exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The resource provider of the resource to check." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to check whether it exists." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Delete", + "description": "Deletes a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group that contains the resource to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to delete." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdate", + "description": "Creates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to create.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to create." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for creating or updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Update", + "description": "Updates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to update.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to update." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Get", + "description": "Gets a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to get." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + } + } + } + }, + "/{resourceId}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistenceById", + "description": "Checks by ID whether a resource exists.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_DeleteById", + "description": "Deletes a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdateById", + "description": "Create a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Create or update resource parameters." + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_UpdateById", + "description": "Updates a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Update resource parameters." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_GetById", + "description": "Gets a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}": { + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_DeleteValue", + "description": "Deletes a tag value.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + }, + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdateValue", + "description": "Creates a tag value. The name of the tag must already exist.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "201": { + "description": "Created - Returns information about the tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}": { + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdate", + "summary": "Creates a tag in the subscription.", + "description": "The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the tag.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "201": { + "description": "Created - Returns information about the tag.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + } + } + }, + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Delete", + "summary": "Deletes a tag from the subscription.", + "description": "You must remove all values from a resource tag before you can delete it.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_List", + "description": "Gets the names and values of all resource tags that are defined in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of tag names and values.", + "schema": { + "$ref": "#/definitions/TagsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtManagementGroupScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtManagementGroupScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtSubscriptionScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtSubscriptionScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_Get", + "description": "Gets a deployments operation.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_List", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "tagname": { + "type": "string", + "description": "The tag name." + }, + "tagvalue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "The tag name." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource group filter." + }, + "TemplateLink": { + "properties": { + "uri": { + "type": "string", + "description": "The URI of the template to deploy." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "required": [ + "uri" + ], + "description": "Entity representing the reference to the template." + }, + "ParametersLink": { + "properties": { + "uri": { + "type": "string", + "description": "The URI of the parameters file." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "required": [ + "uri" + ], + "description": "Entity representing the reference to the deployment parameters." + }, + "DeploymentProperties": { + "properties": { + "template": { + "type": "object", + "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "The URI of the template. Use either the templateLink property or the template property, but not both." + }, + "parameters": { + "type": "object", + "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both." + }, + "mode": { + "type": "string", + "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.", + "enum": [ + "Incremental", + "Complete" + ], + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": false + } + }, + "debugSetting": { + "$ref": "#/definitions/DebugSetting", + "description": "The debug setting of the deployment." + }, + "onErrorDeployment": { + "$ref": "#/definitions/OnErrorDeployment", + "description": "The deployment on error behavior." + } + }, + "required": [ + "mode" + ], + "description": "Deployment properties." + }, + "DebugSetting": { + "properties": { + "detailLevel": { + "type": "string", + "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." + } + }, + "description": "The debug setting." + }, + "Deployment": { + "properties": { + "location": { + "type": "string", + "description": "The location to store the deployment data." + }, + "properties": { + "$ref": "#/definitions/DeploymentProperties", + "description": "The deployment properties." + } + }, + "required": [ + "properties" + ], + "description": "Deployment operation parameters." + }, + "DeploymentExportResult": { + "properties": { + "template": { + "type": "object", + "description": "The template content." + } + }, + "description": "The deployment export result. " + }, + "ResourceManagementErrorWithDetails": { + "properties": { + "code": { + "readOnly": true, + "type": "string", + "description": "The error code returned when exporting the template." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "The error message describing the export error." + }, + "target": { + "readOnly": true, + "type": "string", + "description": "The target of the error." + }, + "details": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceManagementErrorWithDetails" + }, + "description": "Validation error." + } + }, + "description": "The detailed error message of resource management." + }, + "AliasPathType": { + "properties": { + "path": { + "type": "string", + "description": "The path of an alias." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API versions." + } + }, + "description": "The type of the paths for alias. " + }, + "AliasType": { + "properties": { + "name": { + "type": "string", + "description": "The alias name." + }, + "paths": { + "type": "array", + "items": { + "$ref": "#/definitions/AliasPathType" + }, + "description": "The paths for an alias." + } + }, + "description": "The alias type. " + }, + "ProviderResourceType": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection of locations where this resource type can be created." + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/definitions/AliasType" + }, + "description": "The aliases that are supported by this resource type." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API version." + }, + "capabilities": { + "type": "string", + "description": "The additional capabilities offered by this resource type." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The properties." + } + }, + "description": "Resource type managed by the resource provider." + }, + "Provider": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The provider ID." + }, + "namespace": { + "type": "string", + "description": "The namespace of the resource provider." + }, + "registrationState": { + "readOnly": true, + "type": "string", + "description": "The registration state of the resource provider." + }, + "registrationPolicy": { + "readOnly": true, + "type": "string", + "description": "The registration policy of the resource provider." + }, + "resourceTypes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ProviderResourceType" + }, + "description": "The collection of provider resource types." + } + }, + "description": "Resource provider information." + }, + "BasicDependency": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "The dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "The dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "Dependency": { + "properties": { + "dependsOn": { + "type": "array", + "items": { + "$ref": "#/definitions/BasicDependency" + }, + "description": "The list of dependencies." + }, + "id": { + "type": "string", + "description": "The ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "The dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "The dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "DeploymentPropertiesExtended": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning." + }, + "correlationId": { + "readOnly": true, + "type": "string", + "description": "The correlation ID of the deployment." + }, + "timestamp": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp of the template deployment." + }, + "duration": { + "readOnly": true, + "type": "string", + "description": "The duration of the template deployment." + }, + "outputs": { + "type": "object", + "description": "Key/value pairs that represent deployment output." + }, + "providers": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "The list of resource providers needed for the deployment." + }, + "dependencies": { + "type": "array", + "items": { + "$ref": "#/definitions/Dependency" + }, + "description": "The list of deployment dependencies." + }, + "template": { + "type": "object", + "description": "The template content. Use only one of Template or TemplateLink." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "The URI referencing the template. Use only one of Template or TemplateLink." + }, + "parameters": { + "type": "object", + "description": "Deployment parameters. Use only one of Parameters or ParametersLink." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "The URI referencing the parameters. Use only one of Parameters or ParametersLink." + }, + "mode": { + "type": "string", + "description": "The deployment mode. Possible values are Incremental and Complete.", + "enum": [ + "Incremental", + "Complete" + ], + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": false + } + }, + "debugSetting": { + "$ref": "#/definitions/DebugSetting", + "description": "The debug setting of the deployment." + }, + "onErrorDeployment": { + "$ref": "#/definitions/OnErrorDeploymentExtended", + "description": "The deployment on error behavior." + } + }, + "description": "Deployment properties with additional details." + }, + "OnErrorDeployment": { + "properties": { + "type": { + "type": "string", + "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", + "enum": [ + "LastSuccessful", + "SpecificDeployment" + ], + "x-ms-enum": { + "name": "OnErrorDeploymentType", + "modelAsString": false + } + }, + "deploymentName": { + "type": "string", + "description": "The deployment to be used on error case." + } + }, + "description": "Deployment on error behavior." + }, + "OnErrorDeploymentExtended": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning for the on error deployment." + }, + "type": { + "type": "string", + "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", + "enum": [ + "LastSuccessful", + "SpecificDeployment" + ], + "x-ms-enum": { + "name": "OnErrorDeploymentType", + "modelAsString": false + } + }, + "deploymentName": { + "type": "string", + "description": "The deployment to be used on error case." + } + }, + "description": "Deployment on error behavior with additional details." + }, + "DeploymentValidateResult": { + "properties": { + "error": { + "$ref": "#/definitions/ResourceManagementErrorWithDetails", + "description": "Validation error." + }, + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "The template deployment properties." + } + }, + "description": "Information from validate template deployment response." + }, + "DeploymentExtended": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the deployment." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the deployment." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the deployment." + }, + "location": { + "type": "string", + "description": "the location of the deployment." + }, + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "Deployment properties." + } + }, + "x-ms-azure-resource": true, + "description": "Deployment information." + }, + "DeploymentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentExtended" + }, + "description": "An array of deployments." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of deployments." + }, + "ProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "An array of resource providers." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource providers." + }, + "GenericResource": { + "properties": { + "plan": { + "$ref": "#/definitions/Plan", + "description": "The plan of the resource." + }, + "properties": { + "type": "object", + "description": "The resource properties." + }, + "kind": { + "type": "string", + "description": "The kind of the resource.", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + "managedBy": { + "type": "string", + "description": "ID of the resource that manages this resource." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the resource." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Resource information." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + }, + "product": { + "type": "string", + "description": "The offer ID." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "version": { + "type": "string", + "description": "The plan's version." + } + }, + "description": "Plan for the resource." + }, + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "The SKU name." + }, + "tier": { + "type": "string", + "description": "The SKU tier." + }, + "size": { + "type": "string", + "description": "The SKU size." + }, + "family": { + "type": "string", + "description": "The SKU family." + }, + "model": { + "type": "string", + "description": "The SKU model." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The SKU capacity." + } + }, + "description": "SKU for the resource." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "ResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GenericResource" + }, + "description": "An array of resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourceGroup": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the resource group." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource group." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "location": { + "type": "string", + "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "Resource group information." + }, + "ResourceGroupPatchable": { + "properties": { + "name": { + "type": "string", + "description": "The name of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "description": "Resource group information." + }, + "ResourceGroupProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state. " + } + }, + "description": "The resource group properties." + }, + "ResourceGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "An array of resource groups." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourcesMoveInfo": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources." + }, + "targetResourceGroup": { + "type": "string", + "description": "The target resource group." + } + }, + "description": "Parameters of move resources." + }, + "ExportTemplateRequest": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'." + }, + "options": { + "type": "string", + "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'" + } + }, + "description": "Export resource group template request parameters." + }, + "TagCount": { + "properties": { + "type": { + "type": "string", + "description": "Type of count." + }, + "value": { + "type": "integer", + "description": "Value of count." + } + }, + "description": "Tag count." + }, + "TagValue": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag ID." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The tag value count." + } + }, + "x-ms-azure-resource": true, + "description": "Tag information." + }, + "TagDetails": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag ID." + }, + "tagName": { + "type": "string", + "description": "The tag name." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/TagValue" + }, + "description": "The list of tag values." + } + }, + "description": "Tag details." + }, + "TagsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagDetails" + }, + "description": "An array of tags." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of subscription tags." + }, + "TargetResource": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource." + }, + "resourceName": { + "type": "string", + "description": "The name of the resource." + }, + "resourceType": { + "type": "string", + "description": "The type of the resource." + } + }, + "description": "Target resource." + }, + "HttpMessage": { + "properties": { + "content": { + "type": "object", + "description": "HTTP message content." + } + }, + "description": "HTTP message." + }, + "DeploymentOperationProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning." + }, + "timestamp": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The date and time of the operation." + }, + "duration": { + "readOnly": true, + "type": "string", + "description": "The duration of the operation." + }, + "serviceRequestId": { + "readOnly": true, + "type": "string", + "description": "Deployment operation service request id." + }, + "statusCode": { + "readOnly": true, + "type": "string", + "description": "Operation status code." + }, + "statusMessage": { + "readOnly": true, + "type": "object", + "description": "Operation status message." + }, + "targetResource": { + "readOnly": true, + "$ref": "#/definitions/TargetResource", + "description": "The target resource." + }, + "request": { + "readOnly": true, + "$ref": "#/definitions/HttpMessage", + "description": "The HTTP request message." + }, + "response": { + "readOnly": true, + "$ref": "#/definitions/HttpMessage", + "description": "The HTTP response message." + } + }, + "description": "Deployment operation properties." + }, + "DeploymentOperation": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Full deployment operation ID." + }, + "operationId": { + "readOnly": true, + "type": "string", + "description": "Deployment operation ID." + }, + "properties": { + "$ref": "#/definitions/DeploymentOperationProperties", + "description": "Deployment properties." + } + }, + "description": "Deployment operation information." + }, + "DeploymentOperationsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentOperation" + }, + "description": "An array of deployment operations." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of deployment operations." + }, + "ResourceProviderOperationDisplayProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Operation description." + }, + "provider": { + "type": "string", + "description": "Operation provider." + }, + "resource": { + "type": "string", + "description": "Operation resource." + }, + "operation": { + "type": "string", + "description": "Resource provider operation." + }, + "description": { + "type": "string", + "description": "Operation description." + } + }, + "description": "Resource provider operation's display properties." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "Specified resource." + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID" + } + }, + "x-ms-azure-resource": true, + "description": "Sub-resource." + }, + "ResourceGroupExportResult": { + "properties": { + "template": { + "type": "object", + "description": "The template content." + }, + "error": { + "$ref": "#/definitions/ResourceManagementErrorWithDetails", + "description": "The error." + } + }, + "description": "Resource group export result." + }, + "Operation": { + "description": "Microsoft.Resources operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Resources", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.Resources operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "GroupIdParameter": { + "name": "groupId", + "in": "path", + "required": true, + "type": "string", + "description": "The management group ID.", + "x-ms-parameter-location": "method", + "minLength": 1, + "maxLength": 90 + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "DeploymentNameParameter": { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "x-ms-parameter-location": "method", + "minLength": 1, + "maxLength": 64, + "description": "The name of the deployment." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." + } + } +} diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index 25697ac44b64..bf4d6d5d5bdd 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -84,6 +84,19 @@ batch: ApiVersionName: Api2019_05_01 - policyD-2016-12-01: true ApiVersionName: Api2019_05_01 + + - resources-2019-05-10: true + ApiVersionName: Api2019_05_10 + - links-2016-09-01: true + ApiVersionName: Api2019_05_10 + - subscription-2016-06-01: true + ApiVersionName: Api2019_05_10 + - locks-2016-09-01: true + ApiVersionName: Api2019_05_10 + - policyA-2016-12-01: true + ApiVersionName: Api2019_05_10 + - policyD-2016-12-01: true + ApiVersionName: Api2019_05_10 ``` @@ -342,6 +355,74 @@ input-file: - Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json ``` +``` yaml $(Separator) +########################################################################### +########################################################################### +``` + + +``` yaml $(resources-2019-05-10) +tag: pkg-2019-0510-Az-res +``` + +``` yaml $(links-2016-09-01) +tag: pkg-2019-0510-Az-lnk +``` + +``` yaml $(subscription-2016-06-01) +tag: pkg-2019-0510-Az-sub +``` + +``` yaml $(locks-2016-09-01) +tag: pkg-2019-0510-Az-loc +``` + +``` yaml $(policyA-2016-12-01) +tag: pkg-2019-0510-Az-polA +``` + +``` yaml $(policyD-2016-12-01) +tag: pkg-2019-0510-Az-polD +``` + + +## Tag: Packages for Azure Stack +### 1) pkg-2019-0510-AzStk-res +``` yaml $(tag) == 'pkg-2019-0510-Az-res' +input-file: +- Microsoft.Resources/stable/2019-05-10/resources.json +``` + +### 2) pkg-2019-0510-AzStk-lnk +``` yaml $(tag) == 'pkg-2019-0510-Az-lnk' +input-file: +- Microsoft.Resources/stable/2016-09-01/links.json +``` + +### 3) pkg-2019-0510-AzStk-sub +``` yaml $(tag) == 'pkg-2019-0510-Az-sub' +input-file: +- Microsoft.Resources/stable/2016-06-01/subscriptions.json +``` + +### 4) pkg-2019-0510-AzStk-loc +``` yaml $(tag) == 'pkg-2019-0510-Az-loc' +input-file: +- Microsoft.Authorization/stable/2016-09-01/locks.json +``` + +### 5) pkg-2019-0510-AzStk-polA +``` yaml $(tag) == 'pkg-2019-0510-Az-polA' +input-file: +- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json +``` + +### 6) pkg-2019-0510-AzStk-polD +``` yaml $(tag) == 'pkg-2019-0510-Az-polD' +input-file: +- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json +``` + ### Profile: hybrid_2018_03_01 These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index a91452cb333d..6f50a27d2d06 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -4,10 +4,10 @@ This is the AutoRest configuration file for Resource. - - --- + ## Getting Started + To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -15,13 +15,13 @@ To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest To see additional help and options, run: > `autorest --help` + --- ## Configuration - - ### Basic Information + These are the global settings for the Resource API. ``` yaml @@ -41,7 +41,7 @@ tag: package-policy-2018-05 ``` ``` yaml $(package-resources) -tag: package-resources-2019-05 +tag: package-resources-2019-0510 ``` ``` yaml $(package-subscriptions) @@ -57,6 +57,7 @@ tag: package-managedapplications-2016-09 ``` ### Tag: package-features-2015-12 + These settings apply only when `--tag=package-features-2015-12` is specified on the command line. ``` yaml $(tag) == 'package-features-2015-12' @@ -65,6 +66,7 @@ input-file: ``` ### Tag: package-locks-2016-09 + These settings apply only when `--tag=package-locks-2016-09` is specified on the command line. ``` yaml $(tag) == 'package-locks-2016-09' @@ -73,6 +75,7 @@ input-file: ``` ### Tag: package-locks-2015-01 + These settings apply only when `--tag=package-locks-2015-01` is specified on the command line. ``` yaml $(tag) == 'package-locks-2015-01' @@ -81,6 +84,7 @@ input-file: ``` ### Tag: package-policy-2018-05 + These settings apply only when `--tag=package-policy-2018-05` is specified on the command line. ``` yaml $(tag) == 'package-policy-2018-05' @@ -95,6 +99,7 @@ override-info: ``` ### Tag: package-policy-2018-03 + These settings apply only when `--tag=package-policy-2018-03` is specified on the command line. ``` yaml $(tag) == 'package-policy-2018-03' @@ -109,6 +114,7 @@ override-info: ``` ### Tag: package-policy-2017-06 + These settings apply only when `--tag=package-policy-2017-06` is specified on the command line. ``` yaml $(tag) == 'package-policy-2017-06' @@ -123,6 +129,7 @@ override-info: ``` ### Tag: package-pure-policy-2017-06 + These settings apply only when `--tag=package-pure-policy-2017-06` is specified on the command line. ``` yaml $(tag) == 'package-pure-policy-2017-06' @@ -136,6 +143,7 @@ override-info: ``` ### Tag: package-policy-2016-12 + These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. ``` yaml $(tag) == 'package-policy-2016-12' @@ -149,6 +157,7 @@ override-info: ``` ### Tag: package-policy-2016-04 + These settings apply only when `--tag=package-policy-2016-04` is specified on the command line. ``` yaml $(tag) == 'package-policy-2016-04' @@ -157,6 +166,7 @@ input-file: ``` ### Tag: package-policy-2015-10 + These settings apply only when `--tag=package-policy-2015-10` is specified on the command line. ``` yaml $(tag) == 'package-policy-2015-10' @@ -165,6 +175,7 @@ input-file: ``` ### Tag: package-resources-2019-05 + These settings apply only when `--tag=package-resources-2019-05` is specified on the command line. ``` yaml $(tag) == 'package-resources-2019-05' @@ -172,7 +183,17 @@ input-file: - Microsoft.Resources/stable/2019-05-01/resources.json ``` +### Tag: package-resources-2019-0510 + +These settings apply only when `--tag=package-resources-2019-0510` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-0510' +input-file: +- Microsoft.Resources/stable/2019-05-10/resources.json +``` + ### Tag: package-resources-2019-03 + These settings apply only when `--tag=package-resources-2019-03` is specified on the command line. ``` yaml $(tag) == 'package-resources-2019-03' @@ -181,6 +202,7 @@ input-file: ``` ### Tag: package-resources-2018-05 + These settings apply only when `--tag=package-resources-2018-05` is specified on the command line. ``` yaml $(tag) == 'package-resources-2018-05' @@ -189,6 +211,7 @@ input-file: ``` ### Tag: package-resources-2018-02 + These settings apply only when `--tag=package-resources-2018-02` is specified on the command line. ``` yaml $(tag) == 'package-resources-2018-02' @@ -197,6 +220,7 @@ input-file: ``` ### Tag: package-resources-2017-05 + These settings apply only when `--tag=package-resources-2017-05` is specified on the command line. ``` yaml $(tag) == 'package-resources-2017-05' @@ -205,6 +229,7 @@ input-file: ``` ### Tag: package-resources-2016-09 + These settings apply only when `--tag=package-resources-2016-09` is specified on the command line. ``` yaml $(tag) == 'package-resources-2016-09' @@ -213,6 +238,7 @@ input-file: ``` ### Tag: package-resources-2016-07 + These settings apply only when `--tag=package-resources-2016-07` is specified on the command line. ``` yaml $(tag) == 'package-resources-2016-07' @@ -221,6 +247,7 @@ input-file: ``` ### Tag: package-resources-2016-02 + These settings apply only when `--tag=package-resources-2016-02` is specified on the command line. ``` yaml $(tag) == 'package-resources-2016-02' @@ -229,6 +256,7 @@ input-file: ``` ### Tag: package-resources-2015-11 + These settings apply only when `--tag=package-resources-2015-11` is specified on the command line. ``` yaml $(tag) == 'package-resources-2015-11' @@ -237,6 +265,7 @@ input-file: ``` ### Tag: package-subscriptions-2018-06 + These settings apply only when `--tag=package-subscriptions-2018-06` is specified on the command line. ``` yaml $(tag) == 'package-subscriptions-2018-06' @@ -245,6 +274,7 @@ input-file: ``` ### Tag: package-subscriptions-2016-06 + These settings apply only when `--tag=package-subscriptions-2016-06` is specified on the command line. ``` yaml $(tag) == 'package-subscriptions-2016-06' @@ -253,6 +283,7 @@ input-file: ``` ### Tag: package-subscriptions-2015-11 + These settings apply only when `--tag=package-subscriptions-2015-11` is specified on the command line. ``` yaml $(tag) == 'package-subscriptions-2015-11' @@ -261,6 +292,7 @@ input-file: ``` ### Tag: package-links-2016-09 + These settings apply only when `--tag=package-links-2016-09` is specified on the command line. ``` yaml $(tag) == 'package-links-2016-09' @@ -269,6 +301,7 @@ input-file: ``` ### Tag: package-managedapplications-2018-06 + These settings apply only when `--tag=package-managedapplications-2018-06` is specified on the command line. ``` yaml $(tag) == 'package-managedapplications-2018-06' @@ -277,6 +310,7 @@ input-file: ``` ### Tag: package-managedapplications-2017-09 + These settings apply only when `--tag=package-managedapplications-2017-09` is specified on the command line. ``` yaml $(tag) == 'package-managedapplications-2017-09' @@ -285,6 +319,7 @@ input-file: ``` ### Tag: package-managedapplications-2016-09 + These settings apply only when `--tag=package-managedapplications-2016-09` is specified on the command line. ``` yaml $(tag) == 'package-managedapplications-2016-09' @@ -293,6 +328,7 @@ input-file: ``` ## Suppression + ``` yaml directive: - suppress: UniqueResourcePaths @@ -362,8 +398,8 @@ directive: ``` --- -# Code Generation +# Code Generation ## Swagger to SDK @@ -408,13 +444,14 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources Generate all API versions currently shipped for this package -```yaml $(java) && $(multiapi) +``` yaml $(java) && $(multiapi) batch: - tag: package-features-2015-12 - tag: package-locks-2016-09 - tag: package-policy-2018-05 - tag: package-policy-2018-03 - tag: package-policy-2016-12 + - tag: package-resources-2019-0510 - tag: package-resources-2019-05 - tag: package-resources-2019-03 - tag: package-resources-2018-02 @@ -505,6 +542,19 @@ directive: transform: $['x-ms-client-name'] = 'scopeProperty' ``` +### Tag: package-resources-2019-0510 and java + +These settings apply only when `--tag=package-resources-2019-0510 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-resources-2019-0510' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resources.v2019_05_10 + output-folder: $(azure-libraries-for-java-folder)/resources/resource-manager/v2019_05_10 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-resources-2019-05 and java These settings apply only when `--tag=package-resources-2019-05 --java` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index bf295c58095b..29ce13c9e4f7 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -32,6 +32,7 @@ batch: - tag: package-policy-2016-12 - tag: package-policy-2016-04 - tag: package-policy-2015-10 + - tag: package-resources-2019-0510 - tag: package-resources-2019-05 - tag: package-resources-2019-03 - tag: package-resources-2018-05 @@ -175,6 +176,17 @@ python: output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2015_10_01_preview ``` +### Tag: package-resources-2019-0510 and python + +These settings apply only when `--tag=package-resources-2019-0510 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-0510' && $(python) +python: + namespace: azure.mgmt.resource.resources.v2019_05_10 + output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2019_05_10 +``` + ### Tag: package-resources-2019-05 and python These settings apply only when `--tag=package-resources-2019-05 --python` is specified on the command line. From 0becde3acad89fe625f554908f559174dcd5e728 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 30 Jun 2019 22:45:52 -0400 Subject: [PATCH 190/495] chore: jsonfmt containerregistry (#6494) Ran `jsonfmt -w "specification/containerregistry/**/*.json"` --- .../containerregistry_build.json | 2 +- ...sksCreate_WithSystemAndUserIdentities.json | 12 +- .../TasksCreate_WithSystemIdentity.json | 2 +- .../TasksCreate_WithUserIdentities.json | 12 +- ...sUpdate_WithKeyVaultCustomCredentials.json | 4 +- .../TasksUpdate_WithMSICustomCredentials.json | 2 +- .../RegistriesGetBuildSourceUploadUrl.json | 2 +- .../examples/RegistriesScheduleRun.json | 2 +- .../RegistriesScheduleRun_EncodedTaskRun.json | 4 +- .../RegistriesScheduleRun_FileTaskRun.json | 4 +- ...uleRun_FileTask_WithCustomCredentials.json | 2 +- .../examples/RegistriesScheduleRun_Task.json | 2 +- ...riesScheduleRun_WithCustomCredentials.json | 152 +++++++++--------- .../examples/RunsCancel.json | 2 +- .../2019-06-01-preview/examples/RunsGet.json | 2 +- .../examples/RunsGetLogSasUrl.json | 2 +- .../2019-06-01-preview/examples/RunsList.json | 2 +- .../examples/RunsUpdate.json | 2 +- .../examples/TasksCreate.json | 2 +- .../examples/TasksDelete.json | 2 +- .../2019-06-01-preview/examples/TasksGet.json | 2 +- .../examples/TasksGetDetails.json | 2 +- .../examples/TasksList.json | 2 +- .../examples/TasksUpdate.json | 16 +- ...sksUpdate_WithOpaqueCustomCredentials.json | 2 +- 25 files changed, 120 insertions(+), 120 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json index 6fefb880910c..f3362eb1fe81 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json @@ -2643,4 +2643,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json index ab8c53aee6d4..98a8d6b98259 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -37,7 +37,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -56,7 +56,7 @@ "token": "xxxxx" } }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -112,7 +112,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -129,7 +129,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -193,7 +193,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -210,7 +210,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json index fb946c8ca8e9..eeeb532c2556 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -224,4 +224,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json index 152dff6d11ca..06577bf137e2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -37,7 +37,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -56,7 +56,7 @@ "token": "xxxxx" } }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -113,7 +113,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -130,7 +130,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -196,7 +196,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -213,7 +213,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json index 51979538f9ee..edbd95c29df8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -45,7 +45,7 @@ "type": "Vaultsecret", "value": "https://myacbvault.vault.azure.net/secrets/password" }, - "identity": "[system]" + "identity": "[system]" } } } @@ -219,4 +219,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json index 9579fce603c4..fc5ca27f5bcd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -207,4 +207,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json index 8d1f2d03ff75..1c20d1f9e6d1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json index 1b78da986259..0c308e07a823 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json @@ -51,4 +51,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json index fb259c8ff7c9..785f9cb290f7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -25,7 +25,7 @@ "cpu": 2 }, "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", - "encodedValuesContent":"ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==" + "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==" } }, "responses": { @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json index b0fb088d1771..6decf05e3486 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -26,7 +26,7 @@ "cpu": 2 }, "taskFilePath": "acb.yaml", - "valuesFilePath":"prod-values.yaml" + "valuesFilePath": "prod-values.yaml" } }, "responses": { @@ -45,4 +45,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json index f155ed7142dd..1deef75f4cce 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -57,4 +57,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json index 1f8b5ccda777..574b28d7c3ff 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json @@ -54,4 +54,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json index e97b7b27f146..b5efffdaa698 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -1,82 +1,82 @@ { - "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "api-version": "2019-06-01-preview", - "runRequest": { - "type": "DockerBuildRequest", - "isArchiveEnabled": true, - "imageNames": [ - "azurerest:testtag" - ], - "noCache": true, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", - "arguments": [ - { - "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false - }, - { - "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true - } - ], - "isPushEnabled": true, - "platform": { - "os": "Linux", - "architecture": "amd64" + "parameters": { + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "api-version": "2019-06-01-preview", + "runRequest": { + "type": "DockerBuildRequest", + "isArchiveEnabled": true, + "imageNames": [ + "azurerest:testtag" + ], + "noCache": true, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "arguments": [ + { + "name": "mytestargument", + "value": "mytestvalue", + "isSecret": false + }, + { + "name": "mysecrettestargument", + "value": "mysecrettestvalue", + "isSecret": true + } + ], + "isPushEnabled": true, + "platform": { + "os": "Linux", + "architecture": "amd64" + }, + "agentConfiguration": { + "cpu": 2 + }, + "dockerFilePath": "DockerFile", + "target": "stage1", + "credentials": { + "sourceRegistry": { + "loginMode": "Default" + }, + "customRegistries": { + "myregistry.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "reg1" }, - "agentConfiguration": { - "cpu": 2 + "password": { + "type": "Opaque", + "value": "***" + } + }, + "myregistry2.azurecr.io": { + "userName": { + "type": "Opaque", + "value": "reg2" }, - "dockerFilePath": "DockerFile", - "target": "stage1", - "credentials": { - "sourceRegistry": { - "loginMode": "Default" - }, - "customRegistries": { - "myregistry.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "reg1" - }, - "password": { - "type": "Opaque", - "value": "***" - } - }, - "myregistry2.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "reg2" - }, - "password": { - "type": "Opaque", - "value": "***" - } - } - } + "password": { + "type": "Opaque", + "value": "***" } + } } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" - } - }, - "202": {} + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded", + "lastUpdatedTime": "2018-01-25T05:13:51.617Z" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run" + } + }, + "202": {} + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json index 5656a75a0c27..f996e9d12bcf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json index 11d510557912..cd6d56392ffd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json index eefbc2715f23..545fa7324b18 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json index b52f1c3a44e9..08cf3291f7c3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json index ca13653ea18c..67554f360bd5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json index ac275bba4447..6200b73c0b1e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json @@ -230,4 +230,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json index e85c481714d1..7d7f0ee06428 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json index ccc391d654e6..35233c27670d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -89,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json index db571714015d..a68531461844 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json index 59974a994edb..f76332bc0790 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json index ff4b99492229..fb0e6621cb2e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json @@ -18,7 +18,7 @@ ], "dockerFilePath": "src/DockerFile" }, - "trigger":{ + "trigger": { "sourceTriggers": [ { "name": "mySourceTrigger", @@ -28,7 +28,7 @@ "token": "xxxxx" } }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -45,7 +45,7 @@ "type": "Vaultsecret", "value": "https://myacbvault.vault.azure.net/secrets/password" }, - "identity": "[system]" + "identity": "[system]" } } } @@ -86,7 +86,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -103,7 +103,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -167,7 +167,7 @@ } ] }, - "trigger":{ + "trigger": { "timerTriggers": [ { "name": "myTimerTrigger", @@ -184,7 +184,7 @@ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master" }, - "sourceTriggerEvents":[ + "sourceTriggerEvents": [ "commit" ] } @@ -219,4 +219,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json index 1a9b049ba128..8072e5b19b6e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} From 727cef1d2b8e147e97c9ffc615de5b01af8926a7 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Sun, 30 Jun 2019 19:47:22 -0700 Subject: [PATCH 191/495] fixed datamigration readme, added java readme (#6434) --- .../resource-manager/readme.java.md | 61 ++++++++++++++++++ .../datamigration/resource-manager/readme.md | 62 +------------------ 2 files changed, 62 insertions(+), 61 deletions(-) create mode 100644 specification/datamigration/resource-manager/readme.java.md diff --git a/specification/datamigration/resource-manager/readme.java.md b/specification/datamigration/resource-manager/readme.java.md new file mode 100644 index 000000000000..a7aa7dec7a71 --- /dev/null +++ b/specification/datamigration/resource-manager/readme.java.md @@ -0,0 +1,61 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.datamigration +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-07-15-preview + - tag: package-2017-11-15-preview + - tag: package-2018-03-31-preview +``` + +### Tag: package-2018-07-15-preview and java + +These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datamigration.v2018_07_15_preview + output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_07_15_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-11-15-preview and java + +These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datamigration.v2017_11_15_preview + output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2017_11_15_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03-31-preview and java + +These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datamigration.v2018_03_31_preview + output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_03_31_preview +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index 92226f984ab6..963e7967735b 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -212,64 +212,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.datamigration -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-07-15-preview - - tag: package-2017-11-15-preview - - tag: package-2018-03-31-preview -``` - -### Tag: package-2018-07-15-preview and java - -These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview - output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_07_15_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-11-15-preview and java - -These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2017_11_15_preview - output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2017_11_15_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-03-31-preview and java - -These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_03_31_preview - output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_03_31_preview -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 42adf569126fd6d437b220148a0549888f5381b0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 11:02:16 -0400 Subject: [PATCH 192/495] chore: jsonfmt cognitiveservices (#6509) Ran `jsonfmt -w "specification/cognitiveservices/**/*.json"` --- .../v4.0/examples/SuccessfulCreateKb.json | 14 ++++----- .../stable/v4.0/examples/SuccessfulUpdKb.json | 14 +++++---- .../examples/CheckDomainAvailability.json | 30 +++++++++---------- 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json index 2a81f64d88b8..2f0bc8e9ee82 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json @@ -49,12 +49,12 @@ "isContextOnly": false, "prompts": [ { - "displayOrder": 1, - "displayText": "Refresh Endpoint Keys", - "qna": { - "answer": "You can use our REST apis to refresh endpoint keys. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/endpointkeys/refreshkeys", - "questions": [ - "How do I programmatically refresh endpoint keys?" + "displayOrder": 1, + "displayText": "Refresh Endpoint Keys", + "qna": { + "answer": "You can use our REST apis to refresh endpoint keys. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/endpointkeys/refreshkeys", + "questions": [ + "How do I programmatically refresh endpoint keys?" ] } } @@ -90,4 +90,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json index 022fe04d4eea..0a767648beb6 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json @@ -18,7 +18,7 @@ } ], "urls": [ - "https://docs.microsoft.com/en-us/azure/cognitive-services/Emotion/FAQ" + "https://docs.microsoft.com/en-us/azure/cognitive-services/Emotion/FAQ" ], "files": [ { @@ -29,8 +29,8 @@ }, "delete": { "ids": [ - 13, - 35 + 13, + 35 ] }, "update": { @@ -99,7 +99,9 @@ "qnaId": 3 } ], - "promptsToDelete": [ 3 ] + "promptsToDelete": [ + 3 + ] } }, { @@ -137,7 +139,9 @@ "qnaId": 4 } ], - "promptsToDelete": [ 4 ] + "promptsToDelete": [ + 4 + ] } } ] diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json index cf0b02e4ec38..65fe3be46b54 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json @@ -1,21 +1,21 @@ { + "parameters": { + "api-version": "2017-04-18", + "subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3", + "location": "westus", "parameters": { - "api-version": "2017-04-18", - "subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3", - "location": "westus", - "parameters": { + "subdomainName": "contosodemoapp1", + "type": "Microsoft.CognitiveServices/accounts" + } + }, + "responses": { + "200": { + "body": { + "isSubdomainAvailable": false, + "reason": "Sub domain name 'contosodemoapp1' is not valid", "subdomainName": "contosodemoapp1", "type": "Microsoft.CognitiveServices/accounts" } - }, - "responses": { - "200": { - "body": { - "isSubdomainAvailable": false, - "reason": "Sub domain name 'contosodemoapp1' is not valid", - "subdomainName": "contosodemoapp1", - "type": "Microsoft.CognitiveServices/accounts" - } - } } - } \ No newline at end of file + } +} From 10c7cc2633c83c9eb31bc05ad3bca98cdc362164 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 11:46:32 -0400 Subject: [PATCH 193/495] chore: jsonfmt alertsmanagement (#6512) --- .../preview/2019-05-05-preview/AlertsManagement.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index 358d06d9bd2b..dec3584f9232 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -390,7 +390,7 @@ } } }, - "x-ms-pageable": { + "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-examples": { @@ -2127,7 +2127,7 @@ }, "ActionRuleProperties": { "description": "Action rule properties defining scope, conditions, suppression logic for action rule", - "discriminator" : "type", + "discriminator": "type", "required": [ "type" ], From 51ed457bb25c3181c85654fce466ee4f1e46dcb5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 12:52:22 -0400 Subject: [PATCH 194/495] chore: jsonfmt authorization (#6514) --- .../stable/2015-07-01/authorization-RoleAssignmentsCalls.json | 2 +- .../stable/2015-07-01/authorization-RoleDefinitionsCalls.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json index 7a3c1a35944a..02d3651de52f 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json @@ -602,4 +602,4 @@ "description": "The API version to use for this operation." } } -} \ No newline at end of file +} diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json index 8638a84b6706..5daad6d25ef7 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json @@ -492,4 +492,4 @@ "description": "The API version to use for this operation." } } -} \ No newline at end of file +} From f23038f76a45005d9f257d83383c43c1d7b5b2ed Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 1 Jul 2019 09:55:08 -0700 Subject: [PATCH 195/495] added 2019-05-01 package tag to java readme (#6490) --- .../netapp/resource-manager/readme.java.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md index ea44e73c4957..0828cd306fe1 100644 --- a/specification/netapp/resource-manager/readme.java.md +++ b/specification/netapp/resource-manager/readme.java.md @@ -16,8 +16,20 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp ``` yaml $(java) && $(multiapi) batch: - - tag: package-netapp-2019-05-01 - - tag: package-2017-08-15 + - tag: package-netapp-2019-06-01 +``` + +### Tag: package-netapp-2019-06-01 and java + +These settings apply only when `--tag=package-netapp-2019-06-01 --java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-06-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.netapp.v2019_06_01 + output-folder: $(azure-libraries-for-java-folder)/netapp/resource-manager/v2019_06_01 +regenerate-manager: true +generate-interface: true ``` ### Tag: package-netapp-2019-05-01 and java From 7fb2d7a867aa8c1105e952b71514889b2f72758b Mon Sep 17 00:00:00 2001 From: YazanMSFT <42222402+YazanMSFT@users.noreply.github.com> Date: Mon, 1 Jul 2019 09:57:35 -0700 Subject: [PATCH 196/495] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#6244) * Merge over updates to add Cors and Authentication, remove move from our operations. * Remove node.js, add python, add preview to tags * Remove move resource example * Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK --- .../examples/MoveResourcesPost.json | 17 -- .../examples/ServiceCreate.json | 41 +++- .../examples/ServiceGet.json | 12 + .../examples/ServiceList.json | 12 + .../examples/ServiceListByResourceGroup.json | 12 + .../examples/ServicePatch.json | 12 + .../2018-08-20-preview/healthcare-apis.json | 212 +++++++----------- .../resource-manager/readme.go.md | 8 +- .../healthcareapis/resource-manager/readme.md | 14 +- .../resource-manager/readme.python.md | 27 +++ 10 files changed, 213 insertions(+), 154 deletions(-) delete mode 100644 specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json create mode 100644 specification/healthcareapis/resource-manager/readme.python.md diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json deleted file mode 100644 index c0b3fe732dee..000000000000 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2018-08-20-preview", - "subscriptionId": "subid", - "resourceGroupName": "resourceGroup", - "moveResourcesInputs": { - "targetSubscriptionId": "newSubscriptionId", - "targetResourceGroupName": "newResourceGroup", - "resourceIdsToMove": [ - "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1" - ] - } - }, - "responses": { - "202": {} - } -} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json index f64fb2404040..432394634ab2 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json @@ -16,7 +16,22 @@ { "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" } - ] + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false + } } } }, @@ -42,6 +57,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } @@ -67,6 +94,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json index cd19a503e675..08bc75f6c0e8 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json @@ -27,6 +27,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json index 1bb954eb9eaa..6df13aab9778 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json @@ -27,6 +27,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json index d814b8550a41..c0f8a9abc692 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json @@ -28,6 +28,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json index 4e358150decc..18ab73972947 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json @@ -36,6 +36,18 @@ ], "cosmosDbConfiguration": { "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/common", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": ["*"], + "headers": ["*"], + "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "maxAge": 1440, + "allowCredentials": false } } } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json index 9512f0a86092..8f0593080242 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json @@ -392,52 +392,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/moveResources": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Moves resources to another subscription and/or resource group.", - "operationId": "Services_MoveResources", - "x-ms-examples": { - "ServiceList": { - "$ref": "./examples/MoveResourcesPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/api-version" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "moveResourcesInputs", - "in": "body", - "description": "Set the move resource structure to the name of the service instance to check.", - "required": true, - "schema": { - "$ref": "#/definitions/MoveResourcesParameters" - } - } - ], - "responses": { - "202": { - "description": "Accepted - Move request accepted; the operation will complete asynchronously." - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -486,55 +440,6 @@ }, "deprecated": false } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/moveResourcesStatus/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running move operation.", - "operationId": "MoveResourcesStatus_Get", - "x-ms-examples": { - "OperationResultsGet": { - "$ref": "./examples/OperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/api-version" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "404": { - "description": "No operation result was found matching operationResultId.", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } } }, "definitions": { @@ -569,6 +474,14 @@ "cosmosDbConfiguration": { "$ref": "#/definitions/ServiceCosmosDbConfigurationInfo", "description": "The settings for the Cosmos DB database backing the service." + }, + "authenticationConfiguration": { + "$ref": "#/definitions/ServiceAuthenticationConfigurationInfo", + "description": "The authentication configuration for the service instance." + }, + "corsConfiguration": { + "$ref": "#/definitions/ServiceCorsConfigurationInfo", + "description": "The settings for the CORS configuration of the service instance." } }, "required": [ @@ -603,10 +516,88 @@ "offerThroughput": { "type": "integer", "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + } + } + }, + "ServiceAuthenticationConfigurationInfo": { + "description": "Authentication configuration information", + "type": "object", + "properties": { + "authority": { + "type": "string", + "description": "The authority url for the service", + "readOnly": false + }, + "audience": { + "type": "string", + "description": "The audience url for the service", + "readOnly": false + }, + "smartProxyEnabled": { + "type": "boolean", + "description": "If the SMART on FHIR proxy is enabled", + "readOnly": false + } + } + }, + "ServiceCorsConfigurationInfo": { + "description": "The settings for the CORS configuration of the service instance.", + "type": "object", + "properties": { + "origins": { + "type": "array", + "description": "The origins to be allowed via CORS.", + "readOnly": false, + "items": { + "$ref": "#/definitions/ServiceCorsConfigurationOriginEntry" + } + }, + "headers": { + "type": "array", + "description": "The headers to be allowed via CORS.", + "readOnly": false, + "items": { + "$ref": "#/definitions/ServiceCorsConfigurationHeaderEntry" + } + }, + "methods": { + "type": "array", + "description": "The methods to be allowed via CORS.", + "readOnly": false, + "items": { + "$ref": "#/definitions/ServiceCorsConfigurationMethodEntry" + } + }, + "maxAge": { + "type": "integer", + "description": "The max age to be allowed via CORS.", + "readOnly": false, + "minimum": 0, + "maximum": 99999 + }, + "allowCredentials": { + "type": "boolean", + "description": "If credentials are allowed via CORS.", "readOnly": false } } }, + "ServiceCorsConfigurationOriginEntry": { + "description": "An origin for CORS.", + "type": "string", + "pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$" + }, + "ServiceCorsConfigurationHeaderEntry": { + "description": "A header for CORS.", + "type": "string" + }, + "ServiceCorsConfigurationMethodEntry": { + "description": "A method for CORS.", + "type": "string" + }, "ServicesDescription": { "description": "The description of the service.", "type": "object", @@ -851,34 +842,6 @@ } } }, - "MoveResourcesParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "targetSubscriptionId": { - "description": "The target subscription to move resources to.", - "type": "string" - }, - "targetResourceGroupName": { - "description": "The target resource group to move resources to.", - "type": "string" - }, - "resourceIdsToMove": { - "description": "The list of resources to move.", - "type": "array", - "minItems": 1, - "maxItems": 250, - "items": { - "type": "string" - } - } - }, - "required": [ - "targetSubscriptionId", - "targetResourceGroupName", - "resourceIdsToMove" - ] - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", @@ -927,8 +890,7 @@ "in": "path", "description": "The subscription identifier.", "required": true, - "type": "string", - "format": "uuid" + "type": "string" }, "api-version": { "name": "api-version", diff --git a/specification/healthcareapis/resource-manager/readme.go.md b/specification/healthcareapis/resource-manager/readme.go.md index 9f499c737b1f..59f303cd7ff2 100644 --- a/specification/healthcareapis/resource-manager/readme.go.md +++ b/specification/healthcareapis/resource-manager/readme.go.md @@ -12,14 +12,14 @@ These settings apply only when `--go` is specified on the command line. ``` yaml $(go) && $(multiapi) batch: - - tag: package-2018-08 + - tag: package-2018-08-preview ``` -### Tag: package-2018-08 +### Tag: package-2018-08-preview -These settings apply only when `--tag=package-2018-08 --go` is specified on the command line. +These settings apply only when `--tag=package-2018-08-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -``` yaml $(tag) == 'package-2018-08' && $(go) +``` yaml $(tag) == 'package-2018-08-preview' && $(go) output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-20-preview/$(namespace) ``` \ No newline at end of file diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md index e94b13939883..cb00819f4447 100644 --- a/specification/healthcareapis/resource-manager/readme.md +++ b/specification/healthcareapis/resource-manager/readme.md @@ -28,16 +28,16 @@ These are the global settings for the HANA on Azure API. title: HealthcareApisManagementClient description: Azure Healthcare APIs Client openapi-type: arm -tag: package-2018-08 +tag: package-2018-08-preview azure-arm: true ``` ### Tag: package-2018-08-preview -These settings apply only when `--tag=package-2018-08` is specified on the command line. +These settings apply only when `--tag=package-2018-08-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-08' +``` yaml $(tag) == 'package-2018-08-preview' input-file: - Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json ``` @@ -108,15 +108,15 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-healthcareapis ``` yaml $(java) && $(multiapi) batch: - - tag: package-2018-08 + - tag: package-2018-08-preview ``` -### Tag: package-2018-08 and java +### Tag: package-2018-08-preview and java -These settings apply only when `--tag=package-2018-08 --java` is specified on the command line. +These settings apply only when `--tag=package-2018-08-preview --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2018-08' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-2018-08-preview' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.healthcareapis.v2018_08_20_preview output-folder: $(azure-libraries-for-java-folder)/healthcareapis/resource-manager/v2018_08_20_preview diff --git a/specification/healthcareapis/resource-manager/readme.python.md b/specification/healthcareapis/resource-manager/readme.python.md new file mode 100644 index 000000000000..efe1e791be4e --- /dev/null +++ b/specification/healthcareapis/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.healthcareapis + package-name: azure-mgmt-healthcareapis + clear-output-folder: true + package-version: 0.1.0 +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis +``` From 1aa2af57161821eea72a09c3342e75ded1e75e3c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:13:55 -0400 Subject: [PATCH 197/495] chore: jsonfmt security (#6521) --- .../preview/2017-08-01-preview/iotSecuritySolutions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index 35a31a5a3a0e..40ad2e834113 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -441,7 +441,7 @@ }, "readOnly": true }, - "recommendationsConfiguration":{ + "recommendationsConfiguration": { "$ref": "#/definitions/RecommendationConfigurationList" } }, From 206a6dfc6ff48a9b1802c9b1097690a9c8398b08 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:14:23 -0400 Subject: [PATCH 198/495] chore: jsonfmt reservations (#6520) --- .../Microsoft.Capacity/preview/2019-04-01/reservations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index 29e1fe8faed0..5e122199aefc 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -427,7 +427,7 @@ } ], "tags": [ - "Reservation" + "Reservation" ], "responses": { "200": { From 41499f8072cccb63a2b9385e3dbf2838977bcb62 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:15:25 -0400 Subject: [PATCH 199/495] chore: jsonfmt monitor (#6518) --- .../examples/createOrUpdateDiagnosticSetting.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json index 0454b66ec474..602799e199b4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -29,7 +29,7 @@ } } ], - "logAnalyticsDestinationType":"Dedicated" + "logAnalyticsDestinationType": "Dedicated" } } }, @@ -65,7 +65,7 @@ } } ], - "logAnalyticsDestinationType":"Dedicated" + "logAnalyticsDestinationType": "Dedicated" } } } From 479afb0ed298d99217f8df76ffcf28569368e44d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:15:55 -0400 Subject: [PATCH 200/495] chore: jsonfmt netapp (#6519) --- .../2019-06-01/examples/Accounts_Get.json | 8 +-- .../stable/2019-06-01/netapp.json | 53 ++++++++++--------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json index 09d61b067dc0..8d66e1d9a64b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json @@ -8,10 +8,10 @@ "responses": { "200": { "body": { - "location": "eastus", - "properties": { - "provisioningState": "Created" - } + "location": "eastus", + "properties": { + "provisioningState": "Created" + } } } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index 25dcae543973..185bff3eace0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -1859,7 +1859,7 @@ }, "exportPolicy": { "title": "exportPolicy", - "description": "Set of export policy rules", + "description": "Set of export policy rules", "properties": { "rules": { "title": "Export policy rule", @@ -1873,36 +1873,39 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", - "type": "array", + "description": "Set of protocol types", + "type": "array", "items": { - "type": "string" + "type": "string" }, - "example": ["NFSv3", "NFSv4"] + "example": [ + "NFSv3", + "NFSv4" + ] }, "provisioningState": { "type": "string", "readOnly": true, "description": "Azure lifecycle management" }, - "snapshotId": { - "title": "Snapshot ID", - "type": "string", - "description": "UUID v4 or resource identifier used to identify the Snapshot.", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", - "maxLength": 36, - "minLength": 36, - "example": "9760acf5-4638-11e7-9bdb-020073ca3333" - }, - "baremetalTenantId": { - "title": "Baremetal Tenant ID", - "type": "string", - "readOnly": true, - "description": "Unique Baremetal Tenant Identifier.", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "minLength": 36, - "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779" + "snapshotId": { + "title": "Snapshot ID", + "type": "string", + "description": "UUID v4 or resource identifier used to identify the Snapshot.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "baremetalTenantId": { + "title": "Baremetal Tenant ID", + "type": "string", + "readOnly": true, + "description": "Unique Baremetal Tenant Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779" }, "subnetId": { "type": "string", @@ -1910,9 +1913,9 @@ }, "mountTargets": { "title": "mountTargets", - "description": "List of mount targets", + "description": "List of mount targets", "items": { - "$ref": "#/definitions/mountTargetList" + "$ref": "#/definitions/mountTargetList" } } } From b2c5053234f5101ea526cb4d22a296f061c9a39e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:16:37 -0400 Subject: [PATCH 201/495] chore: jsonfmt managementgroups (#6517) --- .../2018-03-01-preview/management.json | 118 +++++++++--------- 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json index 24eb42691d01..dce21369519b 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json @@ -272,9 +272,11 @@ "x-ms-long-running-operation": true } }, - "/providers/Microsoft.Management/managementGroups/{groupId}/descendants" : { + "/providers/Microsoft.Management/managementGroups/{groupId}/descendants": { "post": { - "tags": [ "ManagementGroups_Descendants" ], + "tags": [ + "ManagementGroups_Descendants" + ], "operationId": "ManagementGroups_GetDescendants", "description": "List all entities that descend from a management group.\n", "parameters": [ @@ -988,73 +990,73 @@ } } }, - "DescendantListResult" : { - "description" : "Describes the result of the request to view descendants.", - "properties" : { - "value" : { - "description" : "The list of descendants.", - "type" : "array", - "items" : { - "$ref" : "#/definitions/DescendantInfo" + "DescendantListResult": { + "description": "Describes the result of the request to view descendants.", + "properties": { + "value": { + "description": "The list of descendants.", + "type": "array", + "items": { + "$ref": "#/definitions/DescendantInfo" } }, - "nextLink" : { - "description" : "The URL to use for getting the next set of results.", - "type" : "string", - "readOnly" : true + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true } } }, - "DescendantInfo" : { - "description" : "The descendant.", - "properties" : { - "id" : { - "type" : "string", - "description" : "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000", - "readOnly" : true, - "x-nullable" : true - }, - "type" : { - "type" : "string", - "description" : "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions", - "readOnly" : true, - "x-nullable" : true - }, - "name" : { - "type" : "string", - "description" : "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000", - "readOnly" : true - }, - "properties" : { - "title" : "Properties", - "x-ms-client-flatten" : true, - "x-nullable" : true, - "$ref" : "#/definitions/DescendantInfoProperties" + "DescendantInfo": { + "description": "The descendant.", + "properties": { + "id": { + "type": "string", + "description": "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000", + "readOnly": true, + "x-nullable": true + }, + "type": { + "type": "string", + "description": "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions", + "readOnly": true, + "x-nullable": true + }, + "name": { + "type": "string", + "description": "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000", + "readOnly": true + }, + "properties": { + "title": "Properties", + "x-ms-client-flatten": true, + "x-nullable": true, + "$ref": "#/definitions/DescendantInfoProperties" } } }, - "DescendantInfoProperties" : { - "description" : "The generic properties of an descendant.", - "type" : "object", - "properties" : { - "displayName" : { - "type" : "string", - "description" : "The friendly name of the management group.", - "x-nullable" : true - }, - "parent" : { - "title" : "Parent", - "$ref" : "#/definitions/DescendantParentGroupInfo", - "x-nullable" : true + "DescendantInfoProperties": { + "description": "The generic properties of an descendant.", + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "The friendly name of the management group.", + "x-nullable": true + }, + "parent": { + "title": "Parent", + "$ref": "#/definitions/DescendantParentGroupInfo", + "x-nullable": true } } }, - "DescendantParentGroupInfo" : { - "description" : "The ID of the parent management group.", - "properties" : { - "id" : { - "type" : "string", - "description" : "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000" + "DescendantParentGroupInfo": { + "description": "The ID of the parent management group.", + "properties": { + "id": { + "type": "string", + "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000" } } }, From d6756ef4b20a8d794fe20306b5f875f55cfb8cd6 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:17:02 -0400 Subject: [PATCH 202/495] chore: jsonfmt azsadmin (#6515) --- .../examples/Backups/SingleRepoRestore.json | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json index 20be3535ee2b..bed97b033b62 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json @@ -1,19 +1,18 @@ { - "parameters": { - "subscriptionId": "11111111-2222-3333-4444-555555555555", - "resourceGroupName": "System.local", - "location": "local", - "backup": "64e8625a-8dc0-49df-a195-932901b4be81", - "restoreOptions": { - "roleName": "fakerp", - "decryptionCertBase64": "decryptionCert", - "decryptionCertPassword": "decryptionCertPassword" - }, - "api-version": "2018-09-01" + "parameters": { + "subscriptionId": "11111111-2222-3333-4444-555555555555", + "resourceGroupName": "System.local", + "location": "local", + "backup": "64e8625a-8dc0-49df-a195-932901b4be81", + "restoreOptions": { + "roleName": "fakerp", + "decryptionCertBase64": "decryptionCert", + "decryptionCertPassword": "decryptionCertPassword" }, - "responses": { - "200": {}, - "202": {} - } + "api-version": "2018-09-01" + }, + "responses": { + "200": {}, + "202": {} } - \ No newline at end of file +} From d17dc33943b90beade84e81420a896286324370f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:17:30 -0400 Subject: [PATCH 203/495] chore: jsonfmt attestation (#6513) --- .../2018-09-01-preview/attestation.json | 936 +++++++++--------- .../examples/Get_AttestationProvider.json | 34 +- 2 files changed, 486 insertions(+), 484 deletions(-) diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json index 2798ecbb976e..8825e71eac8b 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json @@ -1,499 +1,501 @@ - { - "swagger": "2.0", - "info": { - "title": "AttestationManagementClient", - "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", - "version": "2018-09-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Attestation/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists all of the available Azure attestation operations.", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - } +{ + "swagger": "2.0", + "info": { + "title": "AttestationManagementClient", + "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", + "version": "2018-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Attestation/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Azure attestation operations.", + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { - "get": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Get", - "description": "Get the status of Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Get": { - "$ref": "./examples/Get_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-z0-9]{3,24}$", - "description": "Name of the attestation service instance" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The status of the specified attestation service instance", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - }, - "put": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Create", - "description": "Creates or updates the Attestation Provider.", - "x-ms-examples": { - "AttestationProviders_Create": { - "$ref": "./examples/Create_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "creationParams", - "in": "body", - "description": "Client supplied parameters.", - "schema": { - "$ref": "#/definitions/AttestationServiceCreationParams" - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "201": { - "description": "Created or updated attestation service", - "schema": { - "$ref": "#/definitions/AttestationProvider" - } - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - }, - "delete": { - "tags": [ - "AttestationProvider" - ], - "operationId": "AttestationProviders_Delete", - "description": "Delete Attestation Service.", - "x-ms-examples": { - "AttestationProviders_Delete": { - "$ref": "./examples/Delete_AttestationProvider.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "providerName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "description": "Name of the attestation service" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Request accepted for deletion of attestation service" - }, - "200": { - "description": "Resource exists and was deleted successfully" - }, - "204": { - "description": "Resource does not exist" - }, - "default": { - "description": "Error result from Attestation service", - "schema": { - "$ref": "#/definitions/ErrorResult" - } - } - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_List", - "description": "Returns a list of attestation providers in a subscription.", - "x-ms-examples": { - "AttestationProviders_List": { - "$ref": "./examples/Get_AttestationProvidersList.json" + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": { + "get": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Get", + "description": "Get the status of Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Get": { + "$ref": "./examples/Get_AttestationProvider.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z0-9]{3,24}$", + "description": "Name of the attestation service instance" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The status of the specified attestation service instance", + "schema": { + "$ref": "#/definitions/AttestationProvider" } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } } + }, + "put": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Create", + "description": "Creates or updates the Attestation Provider.", + "x-ms-examples": { + "AttestationProviders_Create": { + "$ref": "./examples/Create_AttestationProvider.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { - "get": { - "tags": [ - "AttestationProviders" - ], - "operationId": "AttestationProviders_ListByResourceGroup", - "description": "Returns attestation providers list in a resource group.", - "x-ms-examples": { - "AttestationProviders_ListByResourceGroup": { - "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "creationParams", + "in": "body", + "description": "Client supplied parameters.", + "schema": { + "$ref": "#/definitions/AttestationServiceCreationParams" }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" } - ], - "x-ms-pageable": { - "nextLinkName": null, - "itemName": "keys" - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestationProviderListResult" - } - }, - "default": { - "description": "Attestation service error result", - "schema": { - "$ref": "#/definitions/ErrorResult" - } + }, + "201": { + "description": "Created or updated attestation service", + "schema": { + "$ref": "#/definitions/AttestationProvider" } + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } } - } - }, - "definitions": { - "OperationList": { - "properties": { - "value": { - "type": "array", - "description": "List of supported operations.", - "items": { - "$ref": "#/definitions/OperationsDefinition" - } - } - }, - "description": "List of supported operations." + }, + "delete": { + "tags": [ + "AttestationProvider" + ], + "operationId": "AttestationProviders_Delete", + "description": "Delete Attestation Service.", + "x-ms-examples": { + "AttestationProviders_Delete": { + "$ref": "./examples/Delete_AttestationProvider.json" + } }, - "OperationsDefinition": { - "type": "object", - "description": "Definition object with the name and properties of an operation.", - "properties": { - "name": { - "type": "string", - "description": "Name of the operation." - }, - "display": { - "$ref": "#/definitions/OperationsDisplayDefinition", - "description": "Display object with properties of the operation." - } + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "providerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "description": "Name of the attestation service" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Request accepted for deletion of attestation service" + }, + "200": { + "description": "Resource exists and was deleted successfully" + }, + "204": { + "description": "Resource does not exist" + }, + "default": { + "description": "Error result from Attestation service", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_List", + "description": "Returns a list of attestation providers in a subscription.", + "x-ms-examples": { + "AttestationProviders_List": { + "$ref": "./examples/Get_AttestationProvidersList.json" + } }, - "OperationsDisplayDefinition": { - "type": "object", - "description": "Display object with properties of the operation.", - "properties": { - "provider": { - "type": "string", - "description": "Resource provider of the operation." - }, - "resource": { - "type": "string", - "description": "Resource for the operation." - }, - "operation": { - "type": "string", - "description": "Short description of the operation." - }, - "description": { - "type": "string", - "description": "Description of the operation." - } - } + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null }, - "AttestationProvider": { - "description": "Attestation service response message.", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/StatusResult", - "description": "Describes Attestation service status.", - "x-ms-client-flatten": true - } + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" } - }, - "StatusResult": { - "type": "object", - "description": "Status of attestation service.", - "required": [ - "status" - ], - "properties": { - "status": { - "type": "string", - "description": "Status of attestation service.", - "enum": [ - "Ready", - "NotReady", - "Error" - ], - "x-ms-enum": { - "name": "AttestationServiceStatus", - "modelAsString": true - } - }, - "attestUri": { - "type": "string", - "description": "Gets the uri of attestation service" - } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": { + "get": { + "tags": [ + "AttestationProviders" + ], + "operationId": "AttestationProviders_ListByResourceGroup", + "description": "Returns attestation providers list in a resource group.", + "x-ms-examples": { + "AttestationProviders_ListByResourceGroup": { + "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json" + } }, - "ErrorResult": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "properties": { - "error": { - "type": "object", - "description": "Error object.", - "$ref": "#/definitions/ErrorResponseBody" - } - } + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "keys" }, - "ErrorResponseBody": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "required": [ - "message", - "code" - ], - "properties": { - "message": { - "type": "string", - "description": "Description of the error." - }, - "code": { - "type": "string", - "description": "Service specific error code" - } + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestationProviderListResult" } - }, - "ErrorResponse": { - "type": "object", - "description": "Error response", - "properties": { - "error": { - "type": "object", - "description":"Error response", - "properties": { - "code": { - "type": "string", - "description": "Description of the error." - }, - "message": { - "type": "string", - "description": "Service specific error code." - } - } - } + }, + "default": { + "description": "Attestation service error result", + "schema": { + "$ref": "#/definitions/ErrorResult" } + } + } + } + } + }, + "definitions": { + "OperationList": { + "properties": { + "value": { + "type": "array", + "description": "List of supported operations.", + "items": { + "$ref": "#/definitions/OperationsDefinition" + } + } + }, + "description": "List of supported operations." + }, + "OperationsDefinition": { + "type": "object", + "description": "Definition object with the name and properties of an operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." }, - "AttestationProviderListResult": { - "description": "Attestation Providers List.", - "properties": { - "value": { - "type": "array", - "description": "Attestation Provider array.", - "items": { - "$ref": "#/definitions/AttestationProvider" - } - } - } + "display": { + "$ref": "#/definitions/OperationsDisplayDefinition", + "description": "Display object with properties of the operation." + } + } + }, + "OperationsDisplayDefinition": { + "type": "object", + "description": "Display object with properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Resource provider of the operation." }, - "AttestationServiceCreationParams": { - "description": "Client supplied parameters passed to attestation service.", - "properties": { - "attestationPolicy": { - "type": "string", - "description":"Name of attestation policy." - } - } + "resource": { + "type": "string", + "description": "Resource for the operation." + }, + "operation": { + "type": "string", + "description": "Short description of the operation." + }, + "description": { + "type": "string", + "description": "Description of the operation." } + } }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" + "AttestationProvider": { + "description": "Attestation service response message.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "type": "object", + "$ref": "#/definitions/StatusResult", + "description": "Describes Attestation service status.", + "x-ms-client-flatten": true + } + } + }, + "StatusResult": { + "type": "object", + "description": "Status of attestation service.", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "description": "Status of attestation service.", + "enum": [ + "Ready", + "NotReady", + "Error" + ], + "x-ms-enum": { + "name": "AttestationServiceStatus", + "modelAsString": true + } }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + "attestUri": { + "type": "string", + "description": "Gets the uri of attestation service" + } + } + }, + "ErrorResult": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "properties": { + "error": { + "type": "object", + "description": "Error object.", + "$ref": "#/definitions/ErrorResponseBody" + } + } + }, + "ErrorResponseBody": { + "type": "object", + "title": "Error", + "description": "Error description and code explaining why an operation failed.", + "required": [ + "message", + "code" + ], + "properties": { + "message": { + "type": "string", + "description": "Description of the error." }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version.", - "enum": ["2018-09-01-preview"] + "code": { + "type": "string", + "description": "Service specific error code" } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response", + "properties": { + "error": { + "type": "object", + "description": "Error response", + "properties": { + "code": { + "type": "string", + "description": "Description of the error." + }, + "message": { + "type": "string", + "description": "Service specific error code." + } + } + } + } + }, + "AttestationProviderListResult": { + "description": "Attestation Providers List.", + "properties": { + "value": { + "type": "array", + "description": "Attestation Provider array.", + "items": { + "$ref": "#/definitions/AttestationProvider" + } + } + } + }, + "AttestationServiceCreationParams": { + "description": "Client supplied parameters passed to attestation service.", + "properties": { + "attestationPolicy": { + "type": "string", + "description": "Name of attestation policy." + } + } + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Name of the resource group to which the resource belongs.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version.", + "enum": [ + "2018-09-01-preview" + ] } } +} diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json index 64bb0f15dc35..946007d64975 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json @@ -1,21 +1,21 @@ { - "parameters": { - "resourceGroupName": "sample-resource-group", - "serviceName": "sampleservicename", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-09-01-preview", - "providerName": "providername1" - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", - "name": "codes1", - "type": "Microsoft.Attestation/attestationProviders", - "properties": { - "status": "Ready" - } - } + "parameters": { + "resourceGroupName": "sample-resource-group", + "serviceName": "sampleservicename", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2018-09-01-preview", + "providerName": "providername1" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1", + "name": "codes1", + "type": "Microsoft.Attestation/attestationProviders", + "properties": { + "status": "Ready" } + } } + } } From 5355b490a913f574f57b6255ba5b4b0bc9f27b2a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:17:56 -0400 Subject: [PATCH 204/495] chore: jsonfmt hdinsight (#6511) Ran `jsonfmt -w "specification/hdinsight/**/*.json"` --- .../preview/2015-03-01-preview/cluster.json | 12 +- ...teHDInsightClusterWithAutoscaleConfig.json | 230 +++++++++--------- ...Clusters_UpdateGatewaySettings_Enable.json | 6 +- .../preview/2015-03-01-preview/locations.json | 16 +- .../stable/2018-06-01-preview/cluster.json | 12 +- ...teHDInsightClusterWithAutoscaleConfig.json | 230 +++++++++--------- ...Clusters_UpdateGatewaySettings_Enable.json | 2 +- .../stable/2018-06-01-preview/locations.json | 18 +- 8 files changed, 271 insertions(+), 255 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index ed54bb3b793d..f12668bbc9c1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -610,7 +610,7 @@ }, "AutoscaleTimeAndCapacity": { "properties": { - "time": { + "time": { "type": "string", "description": "24-hour time in the form xx:xx" }, @@ -633,7 +633,15 @@ "type": "array", "items": { "type": "string", - "enum": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], "x-ms-enum": { "name": "DaysOfWeek", "modelAsString": false diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json index bd255b6f85cb..7d11ae887c01 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -1,123 +1,123 @@ { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", - "subscriptionId": "subid", - "parameters": { - "properties": { - "clusterVersion": "3.6", - "osType": "Linux", - "tier": "Standard", - "clusterDefinition": { - "kind": "hadoop", - "componentVersion": { - "Hadoop": "2.7" + "properties": { + "clusterVersion": "3.6", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "hadoop", + "componentVersion": { + "Hadoop": "2.7" + }, + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [ + { + "name": "mystorage.blob.core.windows.net", + "isDefault": true, + "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", + "key": "storagekey" + } + ] + }, + "computeProfile": { + "roles": [ + { + "autoscale": { + "capacity": null, + "recurrence": { + "timeZone": "China Standard Time", + "schedule": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 3, + "maxInstanceCount": 3 + } + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 6, + "maxInstanceCount": 6 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 2, + "maxInstanceCount": 2 + } }, - "configurations": { - "gateway": { - "restAuthCredential.isEnabled": true, - "restAuthCredential.username": "admin", - "restAuthCredential.password": "**********" - } + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 4, + "maxInstanceCount": 4 + } } - }, - "storageProfile": { - "storageaccounts": [ - { - "name": "mystorage.blob.core.windows.net", - "isDefault": true, - "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", - "key": "storagekey" - } - ] - }, - "computeProfile": { - "roles": [ - { - "autoscale": { - "capacity": null, - "recurrence": { - "timeZone": "China Standard Time", - "schedule": [ - { - "days": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday" - ], - "timeAndCapacity": { - "time": "09:00", - "minInstanceCount": 3, - "maxInstanceCount": 3 - } - }, - { - "days": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday" - ], - "timeAndCapacity": { - "time": "18:00", - "minInstanceCount": 6, - "maxInstanceCount": 6 - } - }, - { - "days": [ - "Saturday", - "Sunday" - ], - "timeAndCapacity": { - "time": "09:00", - "minInstanceCount": 2, - "maxInstanceCount": 2 - } - }, - { - "days": [ - "Saturday", - "Sunday" - ], - "timeAndCapacity": { - "time": "18:00", - "minInstanceCount": 4, - "maxInstanceCount": 4 - } - } - ] - } - }, - "name": "workernode", - "targetInstanceCount": 4, - "hardwareProfile": { - "vmSize": "Standard_D4_V2" - }, - "osProfile": { - "linuxOperatingSystemProfile": { - "username": "sshuser", - "password": "**********" - } - }, - "virtualNetworkProfile": null, - "scriptActions": [], - "dataDisksGroups": null - } - ] + ] } + }, + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + }, + "virtualNetworkProfile": null, + "scriptActions": [], + "dataDisksGroups": null } + ] } - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" - } - } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } } -} \ No newline at end of file + } +} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index d29d32c8b776..3d361ab8180c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -17,9 +17,9 @@ } }, "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" - } + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index 613792593a21..631b580d5216 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -412,14 +412,14 @@ "filterMode": { "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.", "type": "string", - "enum": [ - "Exclude", - "Include" - ], - "x-ms-enum": { - "name": "FilterMode", - "modelAsString": true - } + "enum": [ + "Exclude", + "Include" + ], + "x-ms-enum": { + "name": "FilterMode", + "modelAsString": true + } }, "regions": { "description": "The list of regions under the effect of the filter.", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json index 853c0ca854db..c55dbec56870 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json @@ -610,7 +610,7 @@ }, "AutoscaleTimeAndCapacity": { "properties": { - "time": { + "time": { "type": "string", "description": "24-hour time in the form xx:xx" }, @@ -633,7 +633,15 @@ "type": "array", "items": { "type": "string", - "enum": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], "x-ms-enum": { "name": "DaysOfWeek", "modelAsString": false diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json index 19a92e1154e3..dc7278ca8a9f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -1,123 +1,123 @@ { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "properties": { - "clusterVersion": "3.6", - "osType": "Linux", - "tier": "Standard", - "clusterDefinition": { - "kind": "hadoop", - "componentVersion": { - "Hadoop": "2.7" + "properties": { + "clusterVersion": "3.6", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "hadoop", + "componentVersion": { + "Hadoop": "2.7" + }, + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [ + { + "name": "mystorage.blob.core.windows.net", + "isDefault": true, + "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", + "key": "storagekey" + } + ] + }, + "computeProfile": { + "roles": [ + { + "autoscale": { + "capacity": null, + "recurrence": { + "timeZone": "China Standard Time", + "schedule": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 3, + "maxInstanceCount": 3 + } + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 6, + "maxInstanceCount": 6 + } + }, + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "09:00", + "minInstanceCount": 2, + "maxInstanceCount": 2 + } }, - "configurations": { - "gateway": { - "restAuthCredential.isEnabled": true, - "restAuthCredential.username": "admin", - "restAuthCredential.password": "**********" - } + { + "days": [ + "Saturday", + "Sunday" + ], + "timeAndCapacity": { + "time": "18:00", + "minInstanceCount": 4, + "maxInstanceCount": 4 + } } - }, - "storageProfile": { - "storageaccounts": [ - { - "name": "mystorage.blob.core.windows.net", - "isDefault": true, - "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z", - "key": "storagekey" - } - ] - }, - "computeProfile": { - "roles": [ - { - "autoscale": { - "capacity": null, - "recurrence": { - "timeZone": "China Standard Time", - "schedule": [ - { - "days": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday" - ], - "timeAndCapacity": { - "time": "09:00", - "minInstanceCount": 3, - "maxInstanceCount": 3 - } - }, - { - "days": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday" - ], - "timeAndCapacity": { - "time": "18:00", - "minInstanceCount": 6, - "maxInstanceCount": 6 - } - }, - { - "days": [ - "Saturday", - "Sunday" - ], - "timeAndCapacity": { - "time": "09:00", - "minInstanceCount": 2, - "maxInstanceCount": 2 - } - }, - { - "days": [ - "Saturday", - "Sunday" - ], - "timeAndCapacity": { - "time": "18:00", - "minInstanceCount": 4, - "maxInstanceCount": 4 - } - } - ] - } - }, - "name": "workernode", - "targetInstanceCount": 4, - "hardwareProfile": { - "vmSize": "Standard_D4_V2" - }, - "osProfile": { - "linuxOperatingSystemProfile": { - "username": "sshuser", - "password": "**********" - } - }, - "virtualNetworkProfile": null, - "scriptActions": [], - "dataDisksGroups": null - } - ] + ] } + }, + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + }, + "virtualNetworkProfile": null, + "scriptActions": [], + "dataDisksGroups": null } + ] } - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" - } - } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } } -} \ No newline at end of file + } +} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index 23c05b00feca..85ac80339028 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -18,7 +18,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json index 3c701f7b6796..d44ce2f71502 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json @@ -197,14 +197,14 @@ "filterMode": { "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.", "type": "string", - "enum": [ - "Exclude", - "Include" - ], - "x-ms-enum": { - "name": "FilterMode", - "modelAsString": true - } + "enum": [ + "Exclude", + "Include" + ], + "x-ms-enum": { + "name": "FilterMode", + "modelAsString": true + } }, "regions": { "description": "The list of regions under the effect of the filter.", @@ -351,4 +351,4 @@ "description": "The HDInsight client API Version." } } -} \ No newline at end of file +} From 16f78aaadf47c17a54ceecdd52261d94a80f3b3f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:18:34 -0400 Subject: [PATCH 205/495] chore: jsonfmt compute (#6508) Ran `jsonfmt -w "specification/compute/**/*.json"` --- .../examples/ListAvailableResourceSkus.json | 324 ++++++++-------- .../ListAvailableVmSizes_VirtualMachines.json | 26 +- .../ListAvailableVmSizes_VirtualMachines.json | 26 +- .../ListAvailableVmSizes_VirtualMachines.json | 26 +- .../examples/ListAvailableResourceSkus.json | 350 +++++++++--------- 5 files changed, 376 insertions(+), 376 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json index b9c81fb06147..8e99ea6ab92a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json @@ -7,170 +7,170 @@ "200": { "body": { "value": [ - { - "resourceType": "virtualMachines", - "locations": [ - "westus" - ], - "capabilities": [ - { - "name": "MaxResourceVolumeMB", - "value": "20480" - }, - { - "name": "OSVhdSizeMB", - "value": "1047552" - }, - { - "name": "vCPUs", - "value": "1" - }, - { - "name": "HyperVGenerations", - "value": "V1" - }, - { - "name": "MemoryGB", - "value": "0.75" - }, - { - "name": "MaxDataDiskCount", - "value": "1" - }, - { - "name": "LowPriorityCapable", - "value": "False" - }, - { - "name": "PremiumIO", - "value": "False" - }, - { - "name": "vCPUsAvailable", - "value": "1" - }, - { - "name": "ACUs", - "value": "50" - }, - { - "name": "vCPUsPerCore", - "value": "1" - }, - { - "name": "EphemeralOSDiskSupported", - "value": "False" - }, - { - "name": "AcceleratedNetworkingEnabled", - "value": "False" - }, - { - "name": "RdmaEnabled", - "value": "False" - }, - { - "name": "MaxNetworkInterfaces", - "value": "2" - } - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ01" - ] - } - ], - "name": "Standard_A0", - "tier": "Standard", - "size": "A0", - "family": "standardA0_A7Family" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "westus" - ], - "capabilities": [ - { - "name": "MaxResourceVolumeMB", - "value": "71680" - }, - { - "name": "OSVhdSizeMB", - "value": "1047552" - }, - { - "name": "vCPUs", - "value": "1" - }, - { - "name": "HyperVGenerations", - "value": "V1" - }, - { - "name": "MemoryGB", - "value": "1.75" - }, - { - "name": "MaxDataDiskCount", - "value": "2" - }, - { - "name": "LowPriorityCapable", - "value": "True" - }, - { - "name": "PremiumIO", - "value": "False" - }, - { - "name": "vCPUsAvailable", - "value": "1" - }, - { - "name": "ACUs", - "value": "100" - }, - { - "name": "vCPUsPerCore", - "value": "1" - }, - { - "name": "EphemeralOSDiskSupported", - "value": "False" - }, - { - "name": "AcceleratedNetworkingEnabled", - "value": "False" - }, - { - "name": "RdmaEnabled", - "value": "False" - }, - { - "name": "MaxNetworkInterfaces", - "value": "2" - } - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ02", - "westus-AZ01" - ] - } - ], - "name": "Standard_A1", - "tier": "Standard", - "size": "A1", - "family": "standardA0_A7Family" - } + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "20480" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "0.75" + }, + { + "name": "MaxDataDiskCount", + "value": "1" + }, + { + "name": "LowPriorityCapable", + "value": "False" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "50" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ] + } + ], + "name": "Standard_A0", + "tier": "Standard", + "size": "A0", + "family": "standardA0_A7Family" + }, + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "71680" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "1.75" + }, + { + "name": "MaxDataDiskCount", + "value": "2" + }, + { + "name": "LowPriorityCapable", + "value": "True" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "100" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "name": "Standard_A1", + "tier": "Standard", + "size": "A1", + "family": "standardA0_A7Family" + } ], "nextLink": null } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json index a6a3e4f8e1b8..7b69a8cdf5f4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -10,23 +10,23 @@ "body": { "value": [ { - "name": "Standard_A1_V2", - "numberOfCores": 1, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 10240, - "memoryInMB": 2048, - "maxDataDiskCount": 2 + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 }, { - "name": "Standard_A2_V2", - "numberOfCores": 2, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 20480, - "memoryInMB": 4096, - "maxDataDiskCount": 4 + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 } ] } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json index 2869a69e2b87..cae7a6e72447 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -10,23 +10,23 @@ "body": { "value": [ { - "name": "Standard_A1_V2", - "numberOfCores": 1, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 10240, - "memoryInMB": 2048, - "maxDataDiskCount": 2 + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 }, { - "name": "Standard_A2_V2", - "numberOfCores": 2, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 20480, - "memoryInMB": 4096, - "maxDataDiskCount": 4 + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 } ] } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json index fc3729903061..150d4cd85b61 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json @@ -10,23 +10,23 @@ "body": { "value": [ { - "name": "Standard_A1_V2", - "numberOfCores": 1, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 10240, - "memoryInMB": 2048, - "maxDataDiskCount": 2 + "name": "Standard_A1_V2", + "numberOfCores": 1, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 10240, + "memoryInMB": 2048, + "maxDataDiskCount": 2 }, { - "name": "Standard_A2_V2", - "numberOfCores": 2, - "osDiskSizeInMB": 1047552, - "resourceDiskSizeInMB": 20480, - "memoryInMB": 4096, - "maxDataDiskCount": 4 + "name": "Standard_A2_V2", + "numberOfCores": 2, + "osDiskSizeInMB": 1047552, + "resourceDiskSizeInMB": 20480, + "memoryInMB": 4096, + "maxDataDiskCount": 4 } ] } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json index 7bdc95a4ef6f..98525fa615dc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json @@ -7,183 +7,183 @@ "200": { "body": { "value": [ - { - "resourceType": "virtualMachines", - "locations": [ - "westus" - ], - "capabilities": [ - { - "name": "MaxResourceVolumeMB", - "value": "20480" - }, - { - "name": "OSVhdSizeMB", - "value": "1047552" - }, - { - "name": "vCPUs", - "value": "1" - }, - { - "name": "HyperVGenerations", - "value": "V1" - }, - { - "name": "MemoryGB", - "value": "0.75" - }, - { - "name": "MaxDataDiskCount", - "value": "1" - }, - { - "name": "LowPriorityCapable", - "value": "False" - }, - { - "name": "PremiumIO", - "value": "False" - }, - { - "name": "vCPUsAvailable", - "value": "1" - }, - { - "name": "ACUs", - "value": "50" - }, - { - "name": "vCPUsPerCore", - "value": "1" - }, - { - "name": "EphemeralOSDiskSupported", - "value": "False" - }, - { - "name": "AcceleratedNetworkingEnabled", - "value": "False" - }, - { - "name": "RdmaEnabled", - "value": "False" - }, - { - "name": "MaxNetworkInterfaces", - "value": "2" - } - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ01" - ], - "zoneDetails": [ - { - "name": [ - "westus-AZ01" - ], - "capabilities": [ - { - "name": "UltraSSDAvailable", - "value": "True" - } - ] - } - ] - } - ], - "name": "Standard_A0", - "tier": "Standard", - "size": "A0", - "family": "standardA0_A7Family" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "westus" - ], - "capabilities": [ - { - "name": "MaxResourceVolumeMB", - "value": "71680" - }, - { - "name": "OSVhdSizeMB", - "value": "1047552" - }, - { - "name": "vCPUs", - "value": "1" - }, - { - "name": "HyperVGenerations", - "value": "V1" - }, - { - "name": "MemoryGB", - "value": "1.75" - }, - { - "name": "MaxDataDiskCount", - "value": "2" - }, - { - "name": "LowPriorityCapable", - "value": "True" - }, - { - "name": "PremiumIO", - "value": "False" - }, - { - "name": "vCPUsAvailable", - "value": "1" - }, - { - "name": "ACUs", - "value": "100" - }, - { - "name": "vCPUsPerCore", - "value": "1" - }, - { - "name": "EphemeralOSDiskSupported", - "value": "False" - }, - { - "name": "AcceleratedNetworkingEnabled", - "value": "False" - }, - { - "name": "RdmaEnabled", - "value": "False" - }, - { - "name": "MaxNetworkInterfaces", - "value": "2" - } - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ02", - "westus-AZ01" - ] - } - ], - "name": "Standard_A1", - "tier": "Standard", - "size": "A1", - "family": "standardA0_A7Family" - } + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "20480" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "0.75" + }, + { + "name": "MaxDataDiskCount", + "value": "1" + }, + { + "name": "LowPriorityCapable", + "value": "False" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "50" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "UltraSSDAvailable", + "value": "True" + } + ] + } + ] + } + ], + "name": "Standard_A0", + "tier": "Standard", + "size": "A0", + "family": "standardA0_A7Family" + }, + { + "resourceType": "virtualMachines", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "MaxResourceVolumeMB", + "value": "71680" + }, + { + "name": "OSVhdSizeMB", + "value": "1047552" + }, + { + "name": "vCPUs", + "value": "1" + }, + { + "name": "HyperVGenerations", + "value": "V1" + }, + { + "name": "MemoryGB", + "value": "1.75" + }, + { + "name": "MaxDataDiskCount", + "value": "2" + }, + { + "name": "LowPriorityCapable", + "value": "True" + }, + { + "name": "PremiumIO", + "value": "False" + }, + { + "name": "vCPUsAvailable", + "value": "1" + }, + { + "name": "ACUs", + "value": "100" + }, + { + "name": "vCPUsPerCore", + "value": "1" + }, + { + "name": "EphemeralOSDiskSupported", + "value": "False" + }, + { + "name": "AcceleratedNetworkingEnabled", + "value": "False" + }, + { + "name": "RdmaEnabled", + "value": "False" + }, + { + "name": "MaxNetworkInterfaces", + "value": "2" + } + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "name": "Standard_A1", + "tier": "Standard", + "size": "A1", + "family": "standardA0_A7Family" + } ], "nextLink": null } } } -} \ No newline at end of file +} From c95b1a35d62f99a3eb7e93395918671114c166a9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:22:18 -0400 Subject: [PATCH 206/495] chore: jsonfmt containerservice (#6510) Ran `jsonfmt -w "specification/containerservice/**/*.json"` --- .../examples/AgentPoolsCreate_Update.json | 2 +- .../2019-06-01/examples/AgentPoolsDelete.json | 22 +++++++++---------- .../2019-06-01/examples/AgentPoolsGet.json | 2 +- ...entPoolsGetAgentPoolAvailableVersions.json | 12 +++++----- .../examples/AgentPoolsGetUpgradeProfile.json | 8 +++---- .../2019-06-01/examples/AgentPoolsList.json | 22 +++++++++---------- .../stable/2019-06-01/managedClusters.json | 4 ++-- 7 files changed, 36 insertions(+), 36 deletions(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json index 2cb01def266e..da9c39ddd816 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsCreate_Update.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1", + "agentPoolName": "agentpool1", "parameters": { "properties": { "orchestratorVersion": "", diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json index 2bd7f519abc1..cff5aa6025b6 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-06-01", - "subscriptionId": "subid1", - "resourceGroupName": "rg1", - "resourceName": "clustername1", - "agentPoolName":"agentpool1" - }, - "responses": { - "202": {}, - "204": {} - } + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "agentPoolName": "agentpool1" + }, + "responses": { + "202": {}, + "204": {} + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json index 17bc9d67d3d2..9f6d3e1e8414 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGet.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1" + "agentPoolName": "agentpool1" }, "responses": { "200": { diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json index 27220319beee..3868b81f6dbb 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1" + "agentPoolName": "agentpool1" }, "responses": { "200": { @@ -14,15 +14,15 @@ "properties": { "agentPoolVersions": [ { - "kubernetesVersion": "1.12.7" + "kubernetesVersion": "1.12.7" }, { - "kubernetesVersion": "1.12.8" + "kubernetesVersion": "1.12.8" }, { - "default": true, - "kubernetesVersion": "1.13.5", - "isPreview": true + "default": true, + "kubernetesVersion": "1.13.5", + "isPreview": true } ] }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json index 1f67a6e12d52..be7a8bba8515 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsGetUpgradeProfile.json @@ -4,7 +4,7 @@ "subscriptionId": "subid1", "resourceGroupName": "rg1", "resourceName": "clustername1", - "agentPoolName":"agentpool1" + "agentPoolName": "agentpool1" }, "responses": { "200": { @@ -15,9 +15,9 @@ "kubernetesVersion": "1.12.8", "osType": "Linux", "upgrades": [ - { - "kubernetesVersion": "1.13.5" - } + { + "kubernetesVersion": "1.13.5" + } ] }, "type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles" diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json index cbecadc66478..3c18d132a6af 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/examples/AgentPoolsList.json @@ -9,18 +9,18 @@ "200": { "body": { "value": [ - { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", - "name": "agentpool1", - "properties": { - "provisioningState": "Succeeded", - "count": 3, - "vmSize": "Standard_DS1_v2", - "maxPods": 110, - "osType": "Linux", - "orchestratorVersion": "1.9.6" - } + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", + "name": "agentpool1", + "properties": { + "provisioningState": "Succeeded", + "count": 3, + "vmSize": "Standard_DS1_v2", + "maxPods": 110, + "osType": "Linux", + "orchestratorVersion": "1.9.6" } + } ] } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json index 41b3a7f9d3bc..9655fa38ca30 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json @@ -2035,7 +2035,7 @@ ], "description": "The list of available upgrade versions." }, - "AgentPoolAvailableVersions":{ + "AgentPoolAvailableVersions": { "properties": { "id": { "readOnly": true, @@ -2070,7 +2070,7 @@ "items": { "type": "object", "properties": { - "default":{ + "default": { "type": "boolean", "description": "Whether this version is the default agent pool version." }, From 556806e4817ae2a398d8ad788f1f2f581dd36a0c Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 1 Jul 2019 10:25:36 -0700 Subject: [PATCH 207/495] Appconfiguration: added Java readme (#6497) * added package tag to java readme * added java readme --- .../resource-manager/readme.java.md | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/specification/appconfiguration/resource-manager/readme.java.md b/specification/appconfiguration/resource-manager/readme.java.md index e8b2672558de..930e52f3b904 100644 --- a/specification/appconfiguration/resource-manager/readme.java.md +++ b/specification/appconfiguration/resource-manager/readme.java.md @@ -4,11 +4,30 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.appconfiguration - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appconfiguration +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.appconfiguration +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appconfiguration +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-02-01-preview ``` + +### Tag: package-2019-02-01-preview and java + +These settings apply only when `--tag=package-2019-02-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2019-02-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.appconfiguration.v2019_02_01_preview + output-folder: $(azure-libraries-for-java-folder)/appconfiguration/resource-manager/v2019_02_01_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file From 30d4a3e6a85612c9480b92f8dbb3d76749977b8a Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 1 Jul 2019 10:30:19 -0700 Subject: [PATCH 208/495] Authorization: added package tags for java, java readme (#6489) * added package tags for java, java readme * Update readme.java.md * Update readme.md --- .../resource-manager/readme.java.md | 74 +++++++++++++++++++ .../authorization/resource-manager/readme.md | 72 ++++-------------- 2 files changed, 88 insertions(+), 58 deletions(-) create mode 100644 specification/authorization/resource-manager/readme.java.md diff --git a/specification/authorization/resource-manager/readme.java.md b/specification/authorization/resource-manager/readme.java.md new file mode 100644 index 000000000000..b60b3d715d8a --- /dev/null +++ b/specification/authorization/resource-manager/readme.java.md @@ -0,0 +1,74 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.authorization +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-09-01-preview + - tag: package-2018-07-01-preview-only + - tag: package-2015-06-01-preview +``` + +### Tag: package-2018-09-01-preview and java + +These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-07-01-preview-only and java + +These settings apply only when `--tag=package-2018-07-01-preview-only --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2018_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_07_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-07-01 and java + +These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2015_07_01 + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-06-01-preview and java + +These settings apply only when `--tag=package-2015-06-01-preview --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-06-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2015_06_01 + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_06_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 0273a3a234a4..63d1b36a237a 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -153,6 +153,19 @@ input-file: - Microsoft.Authorization/preview/2018-07-01-preview/authorization-DenyAssignmentGetCalls.json ``` +### Tag: profile-hybrid-2019-03-01 + +These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. +Creating this tag to pick proper resources from the hybrid profile. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' +input-file: +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json +``` + --- # Code Generation @@ -182,61 +195,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.authorization -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-07-01 - - tag: package-2018-09-01-preview -``` - -### Tag: package-2018-09-01-preview and java - -These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview - output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-07-01 and java - -These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.authorization.v2015_07_01 - output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: profile-hybrid-2019-03-01 - -These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. -Creating this tag to pick proper resources from the hybrid profile. - -``` yaml $(tag) == 'profile-hybrid-2019-03-01' -input-file: -- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json -``` +See configuration in [readme.java.md](./readme.java.md) From b04e1a6a2a3382f6ea42288fc5c1e791536221ce Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 13:54:09 -0400 Subject: [PATCH 209/495] typo: botservice (#6418) Double word "service" --- .../Microsoft.BotService/preview/2017-12-01/botservice.json | 6 +++--- .../Microsoft.BotService/preview/2018-07-12/botservice.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json index 17d42ea04a8a..bdb75d317201 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json @@ -1929,7 +1929,7 @@ "ServiceProviderResponseList": { "properties": { "nextLink": { - "description": "The link used to get the next page of bot service service providers.", + "description": "The link used to get the next page of bot service providers.", "type": "string" }, "value": { @@ -1938,10 +1938,10 @@ "items": { "$ref": "#/definitions/ServiceProvider" }, - "description": "Gets the list of bot service service providers and their properties." + "description": "Gets the list of bot service providers and their properties." } }, - "description": "The list of bot service service providers response." + "description": "The list of bot service providers response." }, "ServiceProviderParameter": { "properties": { diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json index 436bf13eb42a..507ff3a08f79 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json @@ -2217,7 +2217,7 @@ "ServiceProviderResponseList": { "properties": { "nextLink": { - "description": "The link used to get the next page of bot service service providers.", + "description": "The link used to get the next page of bot service providers.", "type": "string" }, "value": { @@ -2226,10 +2226,10 @@ "items": { "$ref": "#/definitions/ServiceProvider" }, - "description": "Gets the list of bot service service providers and their properties." + "description": "Gets the list of bot service providers and their properties." } }, - "description": "The list of bot service service providers response." + "description": "The list of bot service providers response." }, "ServiceProviderParameter": { "properties": { From decff9bdf1ab27742f4a326b34c8eca4d32ff647 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 1 Jul 2019 11:09:51 -0700 Subject: [PATCH 210/495] changed eventhub namespace to eventhubs (#6446) --- .../eventhub/resource-manager/readme.java.md | 62 +++++++++++++++++++ .../eventhub/resource-manager/readme.md | 62 +------------------ 2 files changed, 63 insertions(+), 61 deletions(-) create mode 100644 specification/eventhub/resource-manager/readme.java.md diff --git a/specification/eventhub/resource-manager/readme.java.md b/specification/eventhub/resource-manager/readme.java.md new file mode 100644 index 000000000000..3b9b1a0e5243 --- /dev/null +++ b/specification/eventhub/resource-manager/readme.java.md @@ -0,0 +1,62 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.eventhubs +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhubs +service-name: EventHubs +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-01-preview + - tag: package-2015-08 + - tag: package-2017-04 +``` + +### Tag: package-2018-01-preview and java + +These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2018_01_01_preview + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2018_01_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-08 and java + +These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2015_08_01 + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2015_08_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-04 and java + +These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index c616b290721f..0f8148207e85 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -118,64 +118,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.eventhub -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhub -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-01-preview - - tag: package-2015-08 - - tag: package-2017-04 -``` - -### Tag: package-2018-01-preview and java - -These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2018_01_01_preview - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2018_01_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-08 and java - -These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2015_08_01 - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2015_08_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-04 and java - -These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2017_04_01 - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2017_04_01 -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 7d74c8d746d772ead220051494cdd67ac38e550a Mon Sep 17 00:00:00 2001 From: peetlotla <31408193+peetlotla@users.noreply.github.com> Date: Mon, 1 Jul 2019 23:51:08 +0530 Subject: [PATCH 211/495] Swagger closure for Azure Migration Hub (#4481) * Swagger coverage for Azure Migrate Hub operations * Adding Operation_List.json to examples * adding operation result definitions to migrate.json * Update specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json Fixing the JSON schema validation for migrate.json * Update specification/migrateprojects/resource-manager/readme.md Fixing the code generation path for preview swagger. * Update specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json Fixing potential SDK and security errors. * Update specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json Fixing potential new SDK errors. * Proving x-ms-exmaples for response/request payloads for operations. * Fixing schema validation for azure-sdk-for-go. * Fixing schema validation for azure-sdk-for-go. * Added missing patch and delete operations per the feedback. * Swagger fixes for azure-sdk-for-go * Swagger fixes for azure-sdk-for-go * Swagger fixes for azure-sdk-for-go * Fixing schema validation for azure-sdk-for-go. * Adding delete method for migrate errors. * Updates as per ARM review. * Updates as per ARM feedback. * Updates as per ARM feedback. * Updates as per ARM feedback. * Making changes to existing PR for AMH * Fixnig the semantic errors * Fixnig the semantic errors * Fixing semantic errors * Fixing semantic errors * Fixing semantic errors * Fixing semantic errors * Fixing semantic errors * Fixing SDK errors * Fixing SDK errors * Changing the resource names to camel case as per ARM review * Changing the resource names to camel case as per ARM review * Changing the resource names to camel case as per ARM review * Fix model validation errors * Modifying the team email address --- .../examples/DatabaseInstances_Get.json | 42 + .../examples/DatabaseInstances_List.json | 46 + .../examples/Databases_Get.json | 39 + .../examples/Databases_List.json | 43 + .../examples/Machines_Get.json | 81 + .../examples/Machines_List.json | 152 + .../examples/MigrateEvents_Delete.json | 14 + .../examples/MigrateEvents_Get.json | 28 + .../examples/MigrateEvents_List.json | 47 + .../examples/MigrateProjects_Delete.json | 13 + .../examples/MigrateProjects_Get.json | 48 + .../examples/MigrateProjects_Patch.json | 43 + .../examples/MigrateProjects_Put.json | 61 + .../MigrateProjects_RefreshSummary.json | 18 + .../MigrateProjects_RegisterTool.json | 18 + .../examples/Operations_List.json | 155 + .../examples/Solutions_CleanupData.json | 14 + .../examples/Solutions_Delete.json | 14 + .../examples/Solutions_Get.json | 39 + .../examples/Solutions_GetConfig.json | 16 + .../examples/Solutions_List.json | 71 + .../examples/Solutions_Patch.json | 44 + .../examples/Solutions_Put.json | 74 + .../preview/2018-09-01-preview/migrate.json | 3155 +++++++++++++++++ .../resource-manager/readme.md | 99 + .../resource-manager/readme.nodejs.md | 15 + 26 files changed, 4389 insertions(+) create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json create mode 100644 specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json create mode 100644 specification/migrateprojects/resource-manager/readme.md create mode 100644 specification/migrateprojects/resource-manager/readme.nodejs.md diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json new file mode 100644 index 000000000000..73392d9d336c --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json @@ -0,0 +1,42 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "databaseInstanceName":"myinstance" + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/myinstance", + "name":"myinstance", + "type":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "properties":{ + "discoveryData":[ + { + "lastUpdatedTime":null, + "instanceId":"abc", + "enqueueTime":"5/4/2019 6:45:51 AM", + "solutionName":"serversolution", + "instanceName":"sql2002", + "instanceVersion":"2.0.0.0", + "instanceType":"SQL", + "hostName":null, + "ipAddress":null, + "portNumber":0, + "extendedInfo":null + } + ], + "summary":{ + "dbsolution":{ + "databasesAssessedCount":0, + "migrationReadyCount":0 + } + }, + "lastUpdatedTime":"2019-05-04T06:45:53.2530098Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json new file mode 100644 index 000000000000..42c2fdcce9b1 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json @@ -0,0 +1,46 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/71710b61-8637-4beb-9ede-4449296eb80b", + "name":"71710b61-8637-4beb-9ede-4449296eb80b", + "type":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "properties":{ + "discoveryData":[ + { + "lastUpdatedTime":null, + "instanceId":"abc", + "enqueueTime":"5/4/2019 6:45:51 AM", + "solutionName":"serversolution", + "instanceName":"sql2002", + "instanceVersion":"2.0.0.0", + "instanceType":"SQL", + "hostName":null, + "ipAddress":null, + "portNumber":0, + "extendedInfo":null + } + ], + "summary":{ + "dbsolution":{ + "databasesAssessedCount":0, + "migrationReadyCount":0 + } + }, + "lastUpdatedTime":"2019-05-04T06:45:53.2530098Z" + } + } + ], + "nextLink":null + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json new file mode 100644 index 000000000000..31968fd9fbde --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json @@ -0,0 +1,39 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "databaseName":"mydb" + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/mydb", + "name":"mydb", + "type":"Microsoft.Migrate/MigrateProjects/Databases", + "properties":{ + "assessmentData":[ + { + "assessmentId":"myassessment", + "migrationBlockersCount":0, + "breakingChangesCount":0, + "isReadyForMigration":true, + "assessmentTargetType":"SQL", + "lastAssessedTime":"2019-05-04T06:46:40.4340421Z", + "compatibilityLevel":null, + "databaseSizeInMB":null, + "lastUpdatedTime":null, + "enqueueTime":"5/4/2019 6:46:37 AM", + "solutionName":"serversolution", + "instanceId":"abc", + "databaseName":"mydb", + "extendedInfo":null + } + ], + "lastUpdatedTime":"2019-05-04T06:46:40.4340421Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json new file mode 100644 index 000000000000..25359b15cc13 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json @@ -0,0 +1,43 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/8e7aae48-f7cf-4f7b-942f-243921aa20e2", + "name":"8e7aae48-f7cf-4f7b-942f-243921aa20e2", + "type":"Microsoft.Migrate/MigrateProjects/Databases", + "properties":{ + "assessmentData":[ + { + "assessmentId":"myassessment", + "migrationBlockersCount":0, + "breakingChangesCount":0, + "isReadyForMigration":true, + "assessmentTargetType":"SQL", + "lastAssessedTime":"2019-05-04T06:46:40.4340421Z", + "compatibilityLevel":null, + "databaseSizeInMB":null, + "lastUpdatedTime":null, + "enqueueTime":"5/4/2019 6:46:37 AM", + "solutionName":"serversolution", + "instanceId":"abc", + "databaseName":"mydb", + "extendedInfo":null + } + ], + "lastUpdatedTime":"2019-05-04T06:46:40.4340421Z" + } + } + ], + "nextLink":null + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json new file mode 100644 index 000000000000..f8aecd4e54e3 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json @@ -0,0 +1,81 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "machineName":"vm1" + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", + "name":"vm1", + "type":"Microsoft.Migrate/MigrateProjects/machines", + "properties":{ + "discoveryData":[ + { + "osType":"windows", + "osName":"windows server 2012 R2", + "osVersion":"10.0.01", + "enqueueTime":"2017-09-12T13:11:10.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom1":"mycustomvalue" + } + } + ], + "assessmentData":[ + { + "assessmentId":"myid1", + "targetVMSize":"Standard_D4_v2", + "targetVMLocation":"eastus", + "targetStorageType":{ + "disk1":"Standard" + }, + "enqueueTime":"2017-09-12T13:11:20.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom2":"mycustomvalue" + } + } + ], + "migrationData":[ + { + "migrationPhase":"Migrated", + "migrationTested":true, + "replicationProgressPercentage":100, + "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", + "enqueueTime":"2017-09-12T13:11:30.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom3":"mycustomvalue" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json new file mode 100644 index 000000000000..3e024439432c --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json @@ -0,0 +1,152 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", + "name":"vm1", + "type":"Microsoft.Migrate/MigrateProjects/machines", + "properties":{ + "discoveryData":[ + { + "osType":"windows", + "osName":"windows server 2012 R2", + "osVersion":"10.0.01", + "enqueueTime":"2017-09-12T13:11:10.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom1":"mycustomvalue" + } + } + ], + "assessmentData":[ + { + "assessmentId":"myid1", + "targetVMSize":"Standard_D4_v2", + "targetVMLocation":"eastus", + "targetStorageType":{ + "disk1":"Standard" + }, + "enqueueTime":"2017-09-12T13:11:20.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom2":"mycustomvalue" + } + } + ], + "migrationData":[ + { + "migrationPhase":"Migrated", + "migrationTested":true, + "replicationProgressPercentage":100, + "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", + "enqueueTime":"2017-09-12T13:11:30.8808917Z", + "solutionName":"mysolution", + "machineId":"abcd", + "machineManagerId":"efgh", + "machineName":"vm1", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom3":"mycustomvalue" + } + } + ] + } + }, + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm2", + "name":"vm2", + "type":"Microsoft.Migrate/MigrateProjects/machines", + "properties":{ + "discoveryData":[ + { + "osType":"windows", + "osName":"windows server 2012 R2", + "osVersion":"10.0.01", + "enqueueTime":"2017-09-12T13:11:10.8808917Z", + "solutionName":"mysolution", + "machineId":"xyz", + "machineManagerId":"efgh", + "machineName":"vm2", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom1":"mycustomvalue" + } + } + ], + "assessmentData":[ + { + "assessmentId":"myid1", + "targetVMSize":"Standard_D4_v2", + "targetVMLocation":"eastus", + "targetStorageType":{ + "disk1":"Standard" + }, + "enqueueTime":"2017-09-12T13:11:20.8808917Z", + "solutionName":"mysolution", + "machineId":"xyz", + "machineManagerId":"efgh", + "machineName":"vm2", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom2":"mycustomvalue" + } + } + ], + "migrationData":[ + { + "migrationPhase":"Migrated", + "migrationTested":true, + "replicationProgressPercentage":100, + "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm2", + "enqueueTime":"2017-09-12T13:11:30.8808917Z", + "solutionName":"mysolution", + "machineId":"xyz", + "machineManagerId":"efgh", + "machineName":"vm2", + "ipAddresses":null, + "fqdn":null, + "biosId":null, + "macAddresses":null, + "extendedInfo":{ + "custom3":"mycustomvalue" + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json new file mode 100644 index 000000000000..f2052247bac8 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "eventName":"MigrateEvent01" + }, + "responses":{ + "200":{ + + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json new file mode 100644 index 000000000000..34810afe176f --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json @@ -0,0 +1,28 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "eventName":"MigrateEvent01" + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01", + "name":"MigrateEvent01", + "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties":{ + "instanceType":"Servers", + "machine":"myvm", + "errorCode":"600", + "errorMessage":"The message does not contain the required parameters to identify the machine.", + "recommendation":"Resolve the error and try again.", + "possibleCauses":"The mandatory fields are not provided.", + "solution":"serversolution", + "clientRequestId":"a5dd7e42-4fd1-4512-af04-83ad9864335c" + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json new file mode 100644 index 000000000000..67421f75a7ea --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json @@ -0,0 +1,47 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205", + "name":"b80e3c0f-70c0-4057-81e7-14cfa9ebb205", + "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties":{ + "instanceType":"Servers", + "machine":"server1", + "errorCode":"600", + "errorMessage":"The message does not contain the required parameters to identify the machine.", + "recommendation":"Resolve the error and try again.", + "possibleCauses":"The mandatory fields are not provided.", + "solution":"serversolution", + "clientRequestId":"a5dd7e42-4fd1-4512-af04-83ad9864335c" + } + }, + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714", + "name":"041dc61e-8568-40f7-b9b3-c66233ace714", + "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties":{ + "instanceType":"Databases", + "database":"db1", + "databaseInstanceId":"cD", + "errorCode":"608", + "errorMessage":"The message does not contain the required parameters to identify the database.", + "recommendation":"Resolve the error and try again.", + "possibleCauses":"The mandatory fields are not provided.", + "solution":"dbsolution", + "clientRequestId":"cf861fa5-9a2e-4a9f-b51c-8054efa8e75f" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json new file mode 100644 index 000000000000..16683169cd8b --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json new file mode 100644 index 000000000000..b1de5266da24 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json @@ -0,0 +1,48 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "eTag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "location":"", + "properties":{ + "registeredTools":[ + "ServerMigration" + ], + "summary":{ + "servers":{ + "instanceType":"Servers", + "discoveredCount":0, + "assessedCount":0, + "replicatingCount":0, + "testMigratedCount":0, + "migratedCount":0, + "refreshSummaryState":"Completed", + "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", + "extendedSummary":{ + "microsoftDiscoveredCount":"0" + } + }, + "databases":{ + "instanceType":"Databases", + "refreshSummaryState":"Completed", + "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", + "extendedSummary":{ + } + } + }, + "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", + "refreshSummaryState":"Completed" + }, + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name":"project01", + "type":"Microsoft.Migrate/MigrateProjects" + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json new file mode 100644 index 000000000000..ff10d196f537 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json @@ -0,0 +1,43 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "body":{ + "properties":{ + "registeredTools":[ + "ServerMigration" + ] + }, + "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location":"Southeast Asia", + "tags":{ + + } + } + }, + "responses":{ + "200":{ + "body":{ + "properties":{ + "registeredTools":[ + "ServerMigration" + ], + "summary":{ + + }, + "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" + }, + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name":"project01", + "type":"Microsoft.Migrate/MigrateProjects", + "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location":"Southeast Asia", + "tags":{ + + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json new file mode 100644 index 000000000000..fff98d0fa6ac --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json @@ -0,0 +1,61 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "body":{ + "properties":{ + }, + "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location":"Southeast Asia", + "tags":{ + + } + } + }, + "responses":{ + "201":{ + "body":{ + "properties":{ + "registeredTools":[ + + ], + "summary":{ + + }, + "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" + }, + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name":"project01", + "type":"Microsoft.Migrate/MigrateProjects", + "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location":"Southeast Asia", + "tags":{ + + } + } + }, + "200":{ + "body":{ + "properties":{ + "registeredTools":[ + + ], + "summary":{ + + }, + "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" + }, + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name":"project01", + "type":"Microsoft.Migrate/MigrateProjects", + "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location":"Southeast Asia", + "tags":{ + + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json new file mode 100644 index 000000000000..2095ec284dd9 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json @@ -0,0 +1,18 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "input":{ + "goal":"Servers" + } + }, + "responses":{ + "200":{ + "body":{ + "isRefreshed":true + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json new file mode 100644 index 000000000000..c932fdb43d94 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json @@ -0,0 +1,18 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "input":{ + "tool":"ServerMigration" + } + }, + "responses":{ + "200":{ + "body":{ + "isRegistered":true + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..5a23d8f31f3f --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json @@ -0,0 +1,155 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "name":"Microsoft.Migrate/MigrateProjects/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects", + "operation":"Read", + "description":"Reads a migrate project" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Write", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects", + "operation":"Write", + "description":"Creates or updates a migrate project" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Delete", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects", + "operation":"Delete", + "description":"Deletes a migrate project" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/registerTool/action", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects", + "operation":"Register tool with migrate project", + "description":"Registers a tool with the migrate project" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Solutions/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Solutions", + "operation":"Read", + "description":"Reads a solution" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Solutions/write", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Solutions", + "operation":"Write", + "description":"Creates or updates a solution" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Solutions/delete", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Solutions", + "operation":"Delete", + "description":"Deletes a solution" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Solutions/cleanupData/action", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Solutions", + "operation":"Cleans up solution data", + "description":"Cleans up data for a solution" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Solutions/getConfig/action", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Solutions", + "operation":"Gets solution config", + "description":"Gets configuration of a solution" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Machines/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Machines", + "operation":"Read", + "description":"Reads a machine" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/MigrateEvents/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/MigrateEvents", + "operation":"Read", + "description":"Reads a migrate event" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/MigrateEvents/delete", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/MigrateEvents", + "operation":"Delete", + "description":"Deletes a migrate event" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/Databases/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/Databases", + "operation":"Read", + "description":"Reads a database" + }, + "origin":"user,system" + }, + { + "name":"Microsoft.Migrate/MigrateProjects/DatabaseInstances/read", + "display":{ + "provider":"Microsoft.Migrate", + "resource":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "operation":"Read", + "description":"Reads a database instance" + }, + "origin":"user,system" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json new file mode 100644 index 000000000000..5781a29e1a8b --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json @@ -0,0 +1,14 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"smssolution" + }, + "responses":{ + "200":{ + + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json new file mode 100644 index 000000000000..5781a29e1a8b --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"smssolution" + }, + "responses":{ + "200":{ + + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json new file mode 100644 index 000000000000..33e5e9aa03c5 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json @@ -0,0 +1,39 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"dbsolution" + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name":"dbsolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases", + "status":"Active", + "cleanupState":"None", + "summary":{ + "instanceType":"Databases", + "databasesAssessedCount":0, + "databaseInstancesAssessedCount":0, + "migrationReadyCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json new file mode 100644 index 000000000000..6354f1ed4428 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json @@ -0,0 +1,16 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"smssolution" + }, + "responses":{ + "200":{ + "body":{ + "publisherSasUri": "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sr=sb%3a%2f%2fxxx.servicebus.windows.net%2fIsvMigrationPayloadEventHub%2fPublishers%2ffad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution&sig=Wpf0ORIJI9AFESLDLlJH1ejrUj2W7hy%2fMac%2f7ewZ6j8%3d&se=1541501430&skn=SendPolicy;EntityPath=xyz;Publisher=fad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution" + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json new file mode 100644 index 000000000000..97ee51a1271f --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json @@ -0,0 +1,71 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01" + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name":"dbsolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases", + "status":"Inactive", + "cleanupState":"None", + "summary":{ + "instanceType":"Databases", + "databasesAssessedCount":0, + "databaseInstancesAssessedCount":0, + "migrationReadyCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + }, + { + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/serversolution", + "name":"serversolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c001dc7-0000-0000-0000-5c936e6f0000\"", + "properties":{ + "tool":"ServerDiscovery", + "purpose":"Discovery", + "goal":"Servers", + "status":"Inactive", + "cleanupState":"None", + "summary":{ + "instanceType":"Servers", + "discoveredCount":0, + "assessedCount":0, + "replicatingCount":0, + "testMigratedCount":0, + "migratedCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + } + ], + "nextLink":"" + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json new file mode 100644 index 000000000000..4f8045f6e57d --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json @@ -0,0 +1,44 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"dbsolution", + "solutionInput":{ + "properties":{ + "status":"Active" + } + } + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name":"dbsolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases", + "status":"Active", + "cleanupState":"None", + "summary":{ + "instanceType":"Databases", + "databasesAssessedCount":0, + "databaseInstancesAssessedCount":0, + "migrationReadyCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json new file mode 100644 index 000000000000..1a6f743f0e53 --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json @@ -0,0 +1,74 @@ +{ + "parameters":{ + "resourceGroupName":"myResourceGroup", + "api-version":"2018-09-01-preview", + "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName":"project01", + "solutionName":"dbsolution", + "solutionInput":{ + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases" + } + } + }, + "responses":{ + "200":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name":"dbsolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases", + "status":"Active", + "cleanupState":"None", + "summary":{ + "instanceType":"Databases", + "databasesAssessedCount":0, + "databaseInstancesAssessedCount":0, + "migrationReadyCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + } + }, + "201":{ + "body":{ + "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name":"dbsolution", + "type":"Microsoft.Migrate/MigrateProjects/Solutions", + "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties":{ + "tool":"DataMigrationAssistant", + "purpose":"Assessment", + "goal":"Databases", + "status":"Active", + "cleanupState":"None", + "summary":{ + "instanceType":"Databases", + "databasesAssessedCount":0, + "databaseInstancesAssessedCount":0, + "migrationReadyCount":0 + }, + "details":{ + "groupCount":0, + "assessmentCount":0, + "extendedDetails":{ + "mykey":"myvalue" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json new file mode 100644 index 000000000000..5057d295f6ed --- /dev/null +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json @@ -0,0 +1,3155 @@ +{ + "swagger":"2.0", + "info":{ + "version":"2018-09-01-preview", + "title":"Azure Migrate Hub", + "description":"Migrate your workloads to Azure.", + "contact":{ + "name":"Microsoft", + "email":"azuremigratehub@microsoft.com" + } + }, + "host":"management.azure.com", + "schemes":[ + "https" + ], + "produces":[ + "application/json" + ], + "consumes":[ + "application/json" + ], + "parameters":{ + "subscriptionId":{ + "name":"subscriptionId", + "description":"Azure Subscription Id in which migrate project was created.", + "type":"string", + "in":"path", + "required":true + }, + "resourceGroupName":{ + "name":"resourceGroupName", + "description":"Name of the Azure Resource Group that migrate project is part of.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "migrateProjectName":{ + "name":"migrateProjectName", + "description":"Name of the Azure Migrate project.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "machineName":{ + "name":"machineName", + "description":"Unique name of a machine in Azure migration hub.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "databaseName":{ + "name":"databaseName", + "description":"Unique name of a database in Azure migration hub.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "databaseInstanceName":{ + "name":"databaseInstanceName", + "description":"Unique name of a database instance in Azure migration hub.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "solutionName":{ + "name":"solutionName", + "description":"Unique name of a migration solution within a migrate project.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "eventName":{ + "name":"eventName", + "description":"Unique name of an event within a migrate project.", + "type":"string", + "in":"path", + "x-ms-parameter-location":"method", + "required":true + }, + "continuationToken":{ + "name":"continuationToken", + "description":"The continuation token.", + "type":"string", + "in":"query", + "required":false, + "x-ms-parameter-location":"method" + }, + "pageSize":{ + "name":"pageSize", + "description":"The number of items to be returned in a single page. This value is honored only if it is less than the 100.", + "type":"integer", + "in":"query", + "required":false, + "x-ms-parameter-location":"method" + }, + "api-version":{ + "name":"api-version", + "description":"Standard request header. Used by service to identify API version used by client.", + "type":"string", + "in":"query", + "required":true, + "enum":[ + "2018-09-01-preview" + ] + }, + "acceptLanguage":{ + "description":"Standard request header. Used by service to respond to client in appropriate language.", + "name":"Accept-Language", + "type":"string", + "in":"header", + "x-ms-parameter-location":"client" + } + }, + "securityDefinitions":{ + "azure_auth":{ + "type":"oauth2", + "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", + "flow":"implicit", + "description":"Azure Active Directory OAuth2 Flow", + "scopes":{ + "user_impersonation":"impersonate your user account" + } + } + }, + "security":[ + { + "azure_auth":[ + "user_impersonation" + ] + } + ], + "paths":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances":{ + "get":{ + "tags":[ + "DatabaseInstances" + ], + "summary":"Gets a list of database instances in the migrate project.", + "operationId":"DatabaseInstances_EnumerateDatabaseInstances", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/continuationToken" + }, + { + "$ref":"#/parameters/pageSize" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/DatabaseInstanceCollection" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "DatabaseInstances_List":{ + "$ref":"./examples/DatabaseInstances_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName}":{ + "get":{ + "tags":[ + "DatabaseInstances" + ], + "summary":"Gets a database instance in the migrate project.", + "operationId":"DatabaseInstances_GetDatabaseInstance", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/databaseInstanceName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/DatabaseInstance" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "DatabaseInstances_Get":{ + "$ref":"./examples/DatabaseInstances_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases":{ + "get":{ + "tags":[ + "Databases" + ], + "summary":"Gets a list of databases in the migrate project.", + "operationId":"Databases_EnumerateDatabases", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/continuationToken" + }, + { + "$ref":"#/parameters/pageSize" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/DatabaseCollection" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Databases_List":{ + "$ref":"./examples/Databases_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}":{ + "get":{ + "tags":[ + "Databases" + ], + "summary":"Gets a database in the migrate project.", + "operationId":"Databases_GetDatabase", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/databaseName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/Database" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Databases_Get":{ + "$ref":"./examples/Databases_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents":{ + "get":{ + "tags":[ + "Events" + ], + "summary":"Gets a list of events in the migrate project.", + "operationId":"Events_EnumerateEvents", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/continuationToken" + }, + { + "$ref":"#/parameters/pageSize" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/EventCollection" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateEvents_List":{ + "$ref":"./examples/MigrateEvents_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}":{ + "get":{ + "tags":[ + "Events" + ], + "summary":"Gets an event in the migrate project.", + "operationId":"Events_GetEvent", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/eventName" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/MigrateEvent" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateEvents_Get":{ + "$ref":"./examples/MigrateEvents_Get.json" + } + } + }, + "delete":{ + "tags":[ + "Events" + ], + "summary":"Delete the migrate event", + "description":"Delete the migrate event. Deleting non-existent migrate event is a no-operation.", + "operationId":"Events_DeleteEvent", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/eventName" + } + ], + "responses":{ + "200":{ + "description":"OK" + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateEvents_Delete":{ + "$ref":"./examples/MigrateEvents_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines":{ + "get":{ + "tags":[ + "Machines" + ], + "summary":"Gets a list of machines in the migrate project.", + "operationId":"Machines_EnumerateMachines", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/continuationToken" + }, + { + "$ref":"#/parameters/pageSize" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/MachineCollection" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Machines_List":{ + "$ref":"./examples/Machines_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines/{machineName}":{ + "get":{ + "tags":[ + "Machines" + ], + "summary":"Gets a machine in the migrate project.", + "operationId":"Machines_GetMachine", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/machineName" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/Machine" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Machines_Get":{ + "$ref":"./examples/Machines_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}":{ + "get":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Method to get a migrate project.", + "operationId":"MigrateProjects_GetMigrateProject", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_Get":{ + "$ref":"./examples/MigrateProjects_Get.json" + } + } + }, + "put":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Method to create or update a migrate project.", + "operationId":"MigrateProjects_PutMigrateProject", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "name":"body", + "in":"body", + "description":"Body with migrate project details.", + "required":true, + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + }, + "201":{ + "description":"Created", + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_Put":{ + "$ref":"./examples/MigrateProjects_Put.json" + } + } + }, + "patch":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Update migrate project.", + "description":"Update a migrate project with specified name. Supports partial updates, for example only tags can be provided.", + "operationId":"MigrateProjects_PatchMigrateProject", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "name":"body", + "in":"body", + "description":"Body with migrate project details.", + "required":true, + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/MigrateProject" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_Patch":{ + "$ref":"./examples/MigrateProjects_Patch.json" + } + } + }, + "delete":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Delete the migrate project", + "description":"Delete the migrate project. Deleting non-existent project is a no-operation.", + "operationId":"MigrateProjects_DeleteMigrateProject", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK" + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_Delete":{ + "$ref":"./examples/MigrateProjects_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/registerTool":{ + "post":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Registers a tool with the migrate project.", + "operationId":"MigrateProjects_RegisterTool", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "name":"input", + "in":"body", + "description":"Input containing the name of the tool to be registered.", + "required":true, + "schema":{ + "$ref":"#/definitions/RegisterToolInput" + } + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/RegistrationResult" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_RegisterTool":{ + "$ref":"./examples/MigrateProjects_RegisterTool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary":{ + "post":{ + "tags":[ + "MigrateProjects" + ], + "summary":"Refresh the summary of the migrate project.", + "operationId":"MigrateProjects_RefreshMigrateProjectSummary", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "name":"input", + "in":"body", + "description":"The goal input which needs to be refreshed.", + "required":true, + "schema":{ + "$ref":"#/definitions/RefreshSummaryInput" + } + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/RefreshSummaryResult" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "MigrateProjects_RefreshSummary":{ + "$ref":"./examples/MigrateProjects_RefreshSummary.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}":{ + "get":{ + "tags":[ + "Solutions" + ], + "summary":"Gets a solution in the migrate project.", + "operationId":"Solutions_GetSolution", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/Solution" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_Get":{ + "$ref":"./examples/Solutions_Get.json" + } + } + }, + "put":{ + "tags":[ + "Solutions" + ], + "summary":"Creates a solution in the migrate project.", + "operationId":"Solutions_PutSolution", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "name":"solutionInput", + "in":"body", + "description":"The input for the solution.", + "required":true, + "schema":{ + "$ref":"#/definitions/Solution" + } + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/Solution" + } + }, + "201":{ + "description":"Created", + "schema":{ + "$ref":"#/definitions/Solution" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_Put":{ + "$ref":"./examples/Solutions_Put.json" + } + } + }, + "patch":{ + "tags":[ + "Solutions" + ], + "summary":"Update solution.", + "description":"Update a solution with specified name. Supports partial updates, for example only tags can be provided.", + "operationId":"Solutions_PatchSolution", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "name":"solutionInput", + "in":"body", + "description":"The input for the solution.", + "required":true, + "schema":{ + "$ref":"#/definitions/Solution" + } + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/Solution" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_Patch":{ + "$ref":"./examples/Solutions_Patch.json" + } + } + }, + "delete":{ + "tags":[ + "Solutions" + ], + "summary":"Delete the solution", + "description":"Delete the solution. Deleting non-existent project is a no-operation.", + "operationId":"Solutions_DeleteSolution", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "$ref":"#/parameters/api-version" + }, + { + "$ref":"#/parameters/acceptLanguage" + } + ], + "responses":{ + "200":{ + "description":"OK" + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_Delete":{ + "$ref":"./examples/Solutions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions":{ + "get":{ + "tags":[ + "Solutions" + ], + "summary":"Gets the list of solutions in the migrate project.", + "operationId":"Solutions_EnumerateSolutions", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/SolutionsCollection" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_List":{ + "$ref":"./examples/Solutions_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/getConfig":{ + "post":{ + "tags":[ + "Solutions" + ], + "summary":"Gets the config for the solution in the migrate project.", + "operationId":"Solutions_GetConfig", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK", + "schema":{ + "$ref":"#/definitions/SolutionConfig" + } + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_GetConfig":{ + "$ref":"./examples/Solutions_GetConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/cleanupData":{ + "post":{ + "tags":[ + "Solutions" + ], + "summary":"Cleanup the solution data in the migrate project.", + "operationId":"Solutions_CleanupSolutionData", + "parameters":[ + { + "$ref":"#/parameters/subscriptionId" + }, + { + "$ref":"#/parameters/resourceGroupName" + }, + { + "$ref":"#/parameters/migrateProjectName" + }, + { + "$ref":"#/parameters/solutionName" + }, + { + "$ref":"#/parameters/api-version" + } + ], + "responses":{ + "200":{ + "description":"OK" + } + }, + "deprecated":false, + "x-ms-examples":{ + "Solutions_CleanupData":{ + "$ref":"./examples/Solutions_CleanupData.json" + } + } + } + }, + "/providers/Microsoft.Migrate/operations":{ + "get":{ + "summary":"Get list of operations supported in the API.", + "description":"Get a list of REST API supported by Microsoft.Migrate provider.", + "operationId":"Operations_List", + "responses":{ + "200":{ + "description":"OK. Returns list of operations.", + "schema":{ + "$ref":"#/definitions/OperationResultList" + } + } + }, + "x-ms-pageable":{ + "nextLinkName":null + }, + "x-ms-examples":{ + "Operations_List":{ + "$ref":"./examples/Operations_List.json" + } + } + } + } + }, + "definitions":{ + "Object":{ + "type":"object", + "properties":{ + + } + }, + "DatabaseInstanceCollection":{ + "description":"Collection of database instances.", + "type":"object", + "properties":{ + "value":{ + "description":"Gets or sets the database instances.", + "type":"array", + "items":{ + "$ref":"#/definitions/DatabaseInstance" + } + }, + "nextLink":{ + "description":"Gets or sets the value of nextLink.", + "type":"string" + } + } + }, + "DatabaseInstance":{ + "description":"DatabaseInstance REST resource.", + "type":"object", + "properties":{ + "id":{ + "description":"Gets or sets the relative URL to get to this REST resource.", + "type":"string" + }, + "name":{ + "description":"Gets or sets the name of this REST resource.", + "type":"string" + }, + "type":{ + "description":"Gets the type of this REST resource.", + "type":"string", + "readOnly":true + }, + "properties":{ + "$ref":"#/definitions/DatabaseInstanceProperties", + "description":"Gets or sets the properties of the machine." + } + } + }, + "DatabaseInstanceProperties":{ + "description":"Properties of the database instance resource.", + "type":"object", + "properties":{ + "discoveryData":{ + "description":"Gets or sets the assessment details of the database instance published by various sources.", + "type":"array", + "items":{ + "$ref":"#/definitions/DatabaseInstanceDiscoveryDetails" + } + }, + "summary":{ + "description":"Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.", + "type":"object", + "additionalProperties":{ + "$ref":"#/definitions/DatabaseInstanceSummary" + } + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the database.", + "type":"string" + } + } + }, + "DatabaseInstanceDiscoveryDetails":{ + "description":"Discovery properties that can be shared by various publishers.", + "type":"object", + "properties":{ + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the database instance details.", + "type":"string" + }, + "instanceId":{ + "description":"Gets or sets the database instance Id.", + "type":"string" + }, + "enqueueTime":{ + "description":"Gets or sets the time the message was enqueued.", + "type":"string" + }, + "solutionName":{ + "description":"Gets or sets the name of the solution that sent the data.", + "type":"string" + }, + "instanceName":{ + "description":"Gets or sets the database instance name.", + "type":"string" + }, + "instanceVersion":{ + "description":"Gets or sets the database instance version.", + "type":"string" + }, + "instanceType":{ + "description":"Gets or sets the database instance type.", + "type":"string" + }, + "hostName":{ + "description":"Gets or sets the host name of the database server.", + "type":"string" + }, + "ipAddress":{ + "description":"Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.", + "type":"string" + }, + "portNumber":{ + "format":"int32", + "description":"Gets or sets the port number of the database server.", + "type":"integer" + }, + "extendedInfo":{ + "description":"Gets or sets the extended properties of the database server.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "DatabaseInstanceSummary":{ + "description":"Class representing the database instance summary object.", + "type":"object", + "properties":{ + "databasesAssessedCount":{ + "format":"int32", + "description":"Gets or sets the count of databases assessed.", + "type":"integer" + }, + "migrationReadyCount":{ + "format":"int32", + "description":"Gets or sets the count of databases ready for migration.", + "type":"integer" + } + } + }, + "DatabaseCollection":{ + "description":"Collection of databases.", + "type":"object", + "properties":{ + "value":{ + "description":"Gets or sets the databases.", + "type":"array", + "items":{ + "$ref":"#/definitions/Database" + } + }, + "nextLink":{ + "description":"Gets or sets the value of nextLink.", + "type":"string" + } + } + }, + "Database":{ + "description":"Database REST resource.", + "type":"object", + "properties":{ + "id":{ + "description":"Gets or sets the relative URL to get to this REST resource.", + "type":"string" + }, + "name":{ + "description":"Gets or sets the name of this REST resource.", + "type":"string" + }, + "type":{ + "description":"Gets the type of this REST resource.", + "type":"string", + "readOnly":true + }, + "properties":{ + "$ref":"#/definitions/DatabaseProperties", + "description":"Gets or sets the properties of the database." + } + } + }, + "DatabaseProperties":{ + "description":"Properties of the database resource.", + "type":"object", + "properties":{ + "assessmentData":{ + "description":"Gets or sets the assessment details of the database published by various sources.", + "type":"array", + "items":{ + "$ref":"#/definitions/DatabaseAssessmentDetails" + } + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the database.", + "type":"string" + } + } + }, + "DatabaseAssessmentDetails":{ + "description":"Assessment properties that can be shared by various publishers.", + "type":"object", + "properties":{ + "assessmentId":{ + "description":"Gets or sets the database assessment scope/Id.", + "type":"string" + }, + "migrationBlockersCount":{ + "format":"int32", + "description":"Gets or sets the number of blocking changes found.", + "type":"integer" + }, + "breakingChangesCount":{ + "format":"int32", + "description":"Gets or sets the number of breaking changes found.", + "type":"integer" + }, + "isReadyForMigration":{ + "description":"Gets or sets a value indicating whether the database is ready for migration.", + "type":"boolean" + }, + "assessmentTargetType":{ + "description":"Gets or sets the assessed target database type.", + "type":"string" + }, + "lastAssessedTime":{ + "format":"date-time", + "description":"Gets or sets the time when the database was last assessed.", + "type":"string" + }, + "compatibilityLevel":{ + "description":"Gets or sets the compatibility level of the database.", + "type":"string" + }, + "databaseSizeInMB":{ + "description":"Gets or sets the database size.", + "type":"string" + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the database details.", + "type":"string" + }, + "enqueueTime":{ + "description":"Gets or sets the time the message was enqueued.", + "type":"string" + }, + "solutionName":{ + "description":"Gets or sets the name of the solution that sent the data.", + "type":"string" + }, + "instanceId":{ + "description":"Gets or sets the database server instance Id.", + "type":"string" + }, + "databaseName":{ + "description":"Gets or sets the database name.", + "type":"string" + }, + "extendedInfo":{ + "description":"Gets or sets the extended properties of the database.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "EventCollection":{ + "description":"Collection of events.", + "type":"object", + "properties":{ + "value":{ + "description":"Gets or sets the machines.", + "type":"array", + "items":{ + "$ref":"#/definitions/MigrateEvent" + } + }, + "nextLink":{ + "description":"Gets or sets the value of nextLink.", + "type":"string" + } + } + }, + "MigrateEvent":{ + "description":"MigrateEvent REST resource.", + "type":"object", + "properties":{ + "id":{ + "description":"Gets or sets the relative URL to get to this REST resource.", + "type":"string" + }, + "name":{ + "description":"Gets or sets the name of this REST resource.", + "type":"string" + }, + "type":{ + "description":"Gets the type of this REST resource.", + "type":"string", + "readOnly":true + }, + "properties":{ + "$ref":"#/definitions/MigrateEventProperties", + "description":"Gets or sets the properties of the event." + } + } + }, + "MigrateEventProperties":{ + "description":"Properties of the error resource.", + "type":"object", + "properties":{ + "instanceType":{ + "description":"Gets the Instance type.", + "type":"string", + "readOnly":true + }, + "errorCode":{ + "description":"Gets or sets the error code.", + "type":"string" + }, + "errorMessage":{ + "description":"Gets or sets the error message.", + "type":"string" + }, + "recommendation":{ + "description":"Gets or sets the recommendation for the error.", + "type":"string" + }, + "possibleCauses":{ + "description":"Gets or sets the possible causes for the error.", + "type":"string" + }, + "solution":{ + "description":"Gets or sets the solution for which the error is being reported.", + "type":"string" + }, + "clientRequestId":{ + "description":"Gets or sets the client request Id of the payload for which the event is being reported.", + "type":"string" + } + }, + "discriminator":"instanceType" + }, + "ODataQueryOptions`1":{ + "type":"object", + "properties":{ + "filter":{ + "$ref":"#/definitions/FilterQueryOption", + "readOnly":true + } + } + }, + "ODataQueryContext":{ + "type":"object", + "properties":{ + "defaultQuerySettings":{ + "$ref":"#/definitions/DefaultQuerySettings", + "readOnly":true + }, + "model":{ + "$ref":"#/definitions/IEdmModel", + "readOnly":true + }, + "elementType":{ + "$ref":"#/definitions/IEdmType", + "readOnly":true + }, + "navigationSource":{ + "$ref":"#/definitions/IEdmNavigationSource", + "readOnly":true + }, + "elementClrType":{ + "type":"string", + "readOnly":true + }, + "path":{ + "$ref":"#/definitions/ODataPath", + "readOnly":true + }, + "requestContainer":{ + "$ref":"#/definitions/IServiceProvider", + "readOnly":true + } + } + }, + "ODataRawQueryOptions":{ + "type":"object", + "properties":{ + "filter":{ + "type":"string", + "readOnly":true + } + } + }, + "FilterQueryOption":{ + "type":"object", + "properties":{ + "context":{ + "$ref":"#/definitions/ODataQueryContext", + "readOnly":true + }, + "validator":{ + "$ref":"#/definitions/FilterQueryValidator" + }, + "filterClause":{ + "$ref":"#/definitions/FilterClause", + "readOnly":true + }, + "rawValue":{ + "type":"string", + "readOnly":true + } + } + }, + "ODataQueryValidator":{ + "type":"object", + "properties":{ + + } + }, + "DefaultQuerySettings":{ + "type":"object", + "properties":{ + "enableExpand":{ + "type":"boolean" + }, + "enableSelect":{ + "type":"boolean" + }, + "enableCount":{ + "type":"boolean" + }, + "enableOrderBy":{ + "type":"boolean" + }, + "enableFilter":{ + "type":"boolean" + }, + "maxTop":{ + "format":"int32", + "type":"integer" + } + } + }, + "IEdmModel":{ + "type":"object", + "properties":{ + "schemaElements":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmSchemaElement" + }, + "readOnly":true + }, + "vocabularyAnnotations":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmVocabularyAnnotation" + }, + "readOnly":true + }, + "referencedModels":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmModel" + }, + "readOnly":true + }, + "declaredNamespaces":{ + "type":"array", + "items":{ + "type":"string" + }, + "readOnly":true + }, + "directValueAnnotationsManager":{ + "$ref":"#/definitions/IEdmDirectValueAnnotationsManager", + "readOnly":true + }, + "entityContainer":{ + "$ref":"#/definitions/IEdmEntityContainer", + "readOnly":true + } + } + }, + "IEdmType":{ + "type":"object", + "properties":{ + "typeKind":{ + "enum":[ + "None", + "Primitive", + "Entity", + "Complex", + "Collection", + "EntityReference", + "Enum", + "TypeDefinition", + "Untyped", + "Path" + ], + "type":"string", + "readOnly":true + } + } + }, + "IEdmNavigationSource":{ + "type":"object", + "properties":{ + "navigationPropertyBindings":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmNavigationPropertyBinding" + }, + "readOnly":true + }, + "path":{ + "$ref":"#/definitions/IEdmPathExpression", + "readOnly":true + }, + "type":{ + "$ref":"#/definitions/IEdmType", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "ODataPath":{ + "type":"object", + "properties":{ + "edmType":{ + "$ref":"#/definitions/IEdmType", + "readOnly":true + }, + "navigationSource":{ + "$ref":"#/definitions/IEdmNavigationSource", + "readOnly":true + }, + "segments":{ + "type":"array", + "items":{ + "$ref":"#/definitions/ODataPathSegment" + }, + "readOnly":true + }, + "pathTemplate":{ + "type":"string", + "readOnly":true + }, + "path":{ + "type":"array", + "items":{ + "$ref":"#/definitions/ODataPathSegment" + }, + "readOnly":true + } + } + }, + "IServiceProvider":{ + "type":"object", + "properties":{ + + } + }, + "SelectExpandQueryValidator":{ + "type":"object", + "properties":{ + + } + }, + "SelectExpandClause":{ + "type":"object", + "properties":{ + "selectedItems":{ + "type":"array", + "items":{ + "$ref":"#/definitions/SelectItem" + }, + "readOnly":true + }, + "allSelected":{ + "type":"boolean", + "readOnly":true + } + } + }, + "ApplyClause":{ + "type":"object", + "properties":{ + "transformations":{ + "type":"array", + "items":{ + "$ref":"#/definitions/TransformationNode" + }, + "readOnly":true + } + } + }, + "FilterQueryValidator":{ + "type":"object", + "properties":{ + + } + }, + "FilterClause":{ + "type":"object", + "properties":{ + "expression":{ + "$ref":"#/definitions/SingleValueNode", + "readOnly":true + }, + "rangeVariable":{ + "$ref":"#/definitions/RangeVariable", + "readOnly":true + }, + "itemType":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + } + } + }, + "IEdmSchemaElement":{ + "type":"object", + "properties":{ + "schemaElementKind":{ + "enum":[ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type":"string", + "readOnly":true + }, + "namespace":{ + "type":"string", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmVocabularyAnnotation":{ + "type":"object", + "properties":{ + "qualifier":{ + "type":"string", + "readOnly":true + }, + "term":{ + "$ref":"#/definitions/IEdmTerm", + "readOnly":true + }, + "target":{ + "$ref":"#/definitions/IEdmVocabularyAnnotatable", + "readOnly":true + }, + "value":{ + "$ref":"#/definitions/IEdmExpression", + "readOnly":true + } + } + }, + "IEdmDirectValueAnnotationsManager":{ + "type":"object", + "properties":{ + + } + }, + "IEdmEntityContainer":{ + "type":"object", + "properties":{ + "elements":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmEntityContainerElement" + }, + "readOnly":true + }, + "schemaElementKind":{ + "enum":[ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type":"string", + "readOnly":true + }, + "namespace":{ + "type":"string", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmNavigationPropertyBinding":{ + "type":"object", + "properties":{ + "navigationProperty":{ + "$ref":"#/definitions/IEdmNavigationProperty", + "readOnly":true + }, + "target":{ + "$ref":"#/definitions/IEdmNavigationSource", + "readOnly":true + }, + "path":{ + "$ref":"#/definitions/IEdmPathExpression", + "readOnly":true + } + } + }, + "IEdmPathExpression":{ + "type":"object", + "properties":{ + "pathSegments":{ + "type":"array", + "items":{ + "type":"string" + }, + "readOnly":true + }, + "path":{ + "type":"string", + "readOnly":true + }, + "expressionKind":{ + "enum":[ + "None", + "BinaryConstant", + "BooleanConstant", + "DateTimeOffsetConstant", + "DecimalConstant", + "FloatingConstant", + "GuidConstant", + "IntegerConstant", + "StringConstant", + "DurationConstant", + "Null", + "Record", + "Collection", + "Path", + "If", + "Cast", + "IsType", + "FunctionApplication", + "LabeledExpressionReference", + "Labeled", + "PropertyPath", + "NavigationPropertyPath", + "DateConstant", + "TimeOfDayConstant", + "EnumMember", + "AnnotationPath" + ], + "type":"string", + "readOnly":true + } + } + }, + "ODataPathSegment":{ + "type":"object", + "properties":{ + "edmType":{ + "$ref":"#/definitions/IEdmType", + "readOnly":true + }, + "identifier":{ + "type":"string" + } + } + }, + "SelectItem":{ + "type":"object", + "properties":{ + + } + }, + "TransformationNode":{ + "type":"object", + "properties":{ + "kind":{ + "enum":[ + "Aggregate", + "GroupBy", + "Filter", + "Compute" + ], + "type":"string", + "readOnly":true + } + } + }, + "SingleValueNode":{ + "type":"object", + "properties":{ + "typeReference":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "kind":{ + "enum":[ + "None", + "Constant", + "Convert", + "NonResourceRangeVariableReference", + "BinaryOperator", + "UnaryOperator", + "SingleValuePropertyAccess", + "CollectionPropertyAccess", + "SingleValueFunctionCall", + "Any", + "CollectionNavigationNode", + "SingleNavigationNode", + "SingleValueOpenPropertyAccess", + "SingleResourceCast", + "All", + "CollectionResourceCast", + "ResourceRangeVariableReference", + "SingleResourceFunctionCall", + "CollectionFunctionCall", + "CollectionResourceFunctionCall", + "NamedFunctionParameter", + "ParameterAlias", + "EntitySet", + "KeyLookup", + "SearchTerm", + "CollectionOpenPropertyAccess", + "CollectionComplexNode", + "SingleComplexNode", + "Count", + "SingleValueCast", + "CollectionPropertyNode", + "AggregatedCollectionPropertyNode", + "In", + "CollectionConstant" + ], + "type":"string", + "readOnly":true + } + } + }, + "RangeVariable":{ + "type":"object", + "properties":{ + "name":{ + "type":"string", + "readOnly":true + }, + "typeReference":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "kind":{ + "format":"int32", + "type":"integer", + "readOnly":true + } + } + }, + "IEdmTypeReference":{ + "type":"object", + "properties":{ + "isNullable":{ + "type":"boolean", + "readOnly":true + }, + "definition":{ + "$ref":"#/definitions/IEdmType", + "readOnly":true + } + } + }, + "IEdmTerm":{ + "type":"object", + "properties":{ + "type":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "appliesTo":{ + "type":"string", + "readOnly":true + }, + "defaultValue":{ + "type":"string", + "readOnly":true + }, + "schemaElementKind":{ + "enum":[ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type":"string", + "readOnly":true + }, + "namespace":{ + "type":"string", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmVocabularyAnnotatable":{ + "type":"object", + "properties":{ + + } + }, + "IEdmExpression":{ + "type":"object", + "properties":{ + "expressionKind":{ + "enum":[ + "None", + "BinaryConstant", + "BooleanConstant", + "DateTimeOffsetConstant", + "DecimalConstant", + "FloatingConstant", + "GuidConstant", + "IntegerConstant", + "StringConstant", + "DurationConstant", + "Null", + "Record", + "Collection", + "Path", + "If", + "Cast", + "IsType", + "FunctionApplication", + "LabeledExpressionReference", + "Labeled", + "PropertyPath", + "NavigationPropertyPath", + "DateConstant", + "TimeOfDayConstant", + "EnumMember", + "AnnotationPath" + ], + "type":"string", + "readOnly":true + } + } + }, + "IEdmEntityContainerElement":{ + "type":"object", + "properties":{ + "containerElementKind":{ + "enum":[ + "None", + "EntitySet", + "ActionImport", + "FunctionImport", + "Singleton" + ], + "type":"string", + "readOnly":true + }, + "container":{ + "$ref":"#/definitions/IEdmEntityContainer", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmNavigationProperty":{ + "type":"object", + "properties":{ + "partner":{ + "$ref":"#/definitions/IEdmNavigationProperty", + "readOnly":true + }, + "onDelete":{ + "enum":[ + "None", + "Cascade" + ], + "type":"string", + "readOnly":true + }, + "containsTarget":{ + "type":"boolean", + "readOnly":true + }, + "referentialConstraint":{ + "$ref":"#/definitions/IEdmReferentialConstraint", + "readOnly":true + }, + "propertyKind":{ + "enum":[ + "None", + "Structural", + "Navigation" + ], + "type":"string", + "readOnly":true + }, + "type":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "declaringType":{ + "$ref":"#/definitions/IEdmStructuredType", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmReferentialConstraint":{ + "type":"object", + "properties":{ + "propertyPairs":{ + "type":"array", + "items":{ + "$ref":"#/definitions/EdmReferentialConstraintPropertyPair" + }, + "readOnly":true + } + } + }, + "IEdmStructuredType":{ + "type":"object", + "properties":{ + "isAbstract":{ + "type":"boolean", + "readOnly":true + }, + "isOpen":{ + "type":"boolean", + "readOnly":true + }, + "baseType":{ + "$ref":"#/definitions/IEdmStructuredType", + "readOnly":true + }, + "declaredProperties":{ + "type":"array", + "items":{ + "$ref":"#/definitions/IEdmProperty" + }, + "readOnly":true + }, + "typeKind":{ + "enum":[ + "None", + "Primitive", + "Entity", + "Complex", + "Collection", + "EntityReference", + "Enum", + "TypeDefinition", + "Untyped", + "Path" + ], + "type":"string", + "readOnly":true + } + } + }, + "EdmReferentialConstraintPropertyPair":{ + "type":"object", + "properties":{ + "dependentProperty":{ + "$ref":"#/definitions/IEdmStructuralProperty", + "readOnly":true + }, + "principalProperty":{ + "$ref":"#/definitions/IEdmStructuralProperty", + "readOnly":true + } + } + }, + "IEdmProperty":{ + "type":"object", + "properties":{ + "propertyKind":{ + "enum":[ + "None", + "Structural", + "Navigation" + ], + "type":"string", + "readOnly":true + }, + "type":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "declaringType":{ + "$ref":"#/definitions/IEdmStructuredType", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "IEdmStructuralProperty":{ + "type":"object", + "properties":{ + "defaultValueString":{ + "type":"string", + "readOnly":true + }, + "propertyKind":{ + "enum":[ + "None", + "Structural", + "Navigation" + ], + "type":"string", + "readOnly":true + }, + "type":{ + "$ref":"#/definitions/IEdmTypeReference", + "readOnly":true + }, + "declaringType":{ + "$ref":"#/definitions/IEdmStructuredType", + "readOnly":true + }, + "name":{ + "type":"string", + "readOnly":true + } + } + }, + "MachineCollection":{ + "description":"Collection of machines.", + "type":"object", + "properties":{ + "value":{ + "description":"Gets or sets the machines.", + "type":"array", + "items":{ + "$ref":"#/definitions/Machine" + } + }, + "nextLink":{ + "description":"Gets or sets the value of nextLink.", + "type":"string" + } + } + }, + "Machine":{ + "description":"Machine REST resource.", + "type":"object", + "properties":{ + "id":{ + "description":"Gets or sets the relative URL to get to this REST resource.", + "type":"string" + }, + "name":{ + "description":"Gets or sets the name of this REST resource.", + "type":"string" + }, + "type":{ + "description":"Gets the type of this REST resource.", + "type":"string", + "readOnly":true + }, + "properties":{ + "$ref":"#/definitions/MachineProperties", + "description":"Gets or sets the properties of the machine." + } + } + }, + "MachineProperties":{ + "description":"Properties of the machine resource.", + "type":"object", + "properties":{ + "discoveryData":{ + "description":"Gets or sets the discovery details of the machine published by various sources.", + "type":"array", + "items":{ + "$ref":"#/definitions/DiscoveryDetails" + } + }, + "assessmentData":{ + "description":"Gets or sets the assessment details of the machine published by various sources.", + "type":"array", + "items":{ + "$ref":"#/definitions/AssessmentDetails" + } + }, + "migrationData":{ + "description":"Gets or sets the migration details of the machine published by various sources.", + "type":"array", + "items":{ + "$ref":"#/definitions/MigrationDetails" + } + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the machine.", + "type":"string" + } + } + }, + "DiscoveryDetails":{ + "description":"Discovery properties that can be published by various ISVs.", + "type":"object", + "properties":{ + "osType":{ + "description":"Gets or sets the OS type.", + "type":"string" + }, + "osName":{ + "description":"Gets or sets the OS name.", + "type":"string" + }, + "osVersion":{ + "description":"Gets or sets the OS version.", + "type":"string" + }, + "enqueueTime":{ + "description":"Gets or sets the time the message was enqueued.", + "type":"string" + }, + "solutionName":{ + "description":"Gets or sets the name of the solution that sent the data.", + "type":"string" + }, + "machineId":{ + "description":"Gets or sets the unique identifier of the machine.", + "type":"string" + }, + "machineManagerId":{ + "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type":"string" + }, + "fabricType":{ + "description":"Gets or sets the fabric type.", + "type":"string" + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the machine details.", + "type":"string" + }, + "machineName":{ + "description":"Gets or sets the name of the machine.", + "type":"string" + }, + "ipAddresses":{ + "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type":"array", + "items":{ + "type":"string" + } + }, + "fqdn":{ + "description":"Gets or sets the FQDN of the machine.", + "type":"string" + }, + "biosId":{ + "description":"Gets or sets the BIOS ID of the machine.", + "type":"string" + }, + "macAddresses":{ + "description":"Gets or sets the list of MAC addresses of the machine.", + "type":"array", + "items":{ + "type":"string" + } + }, + "extendedInfo":{ + "description":"Gets or sets the ISV specific extended information.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "AssessmentDetails":{ + "description":"Assessment properties that can be shared by various publishers.", + "type":"object", + "properties":{ + "assessmentId":{ + "description":"Gets or sets the id of the assessment done on the machine.", + "type":"string" + }, + "targetVMSize":{ + "description":"Gets or sets the target VM size.", + "type":"string" + }, + "targetVMLocation":{ + "description":"Gets or sets the target VM location.", + "type":"string" + }, + "targetStorageType":{ + "description":"Gets or sets the target storage type.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + }, + "enqueueTime":{ + "description":"Gets or sets the time the message was enqueued.", + "type":"string" + }, + "solutionName":{ + "description":"Gets or sets the name of the solution that sent the data.", + "type":"string" + }, + "machineId":{ + "description":"Gets or sets the unique identifier of the machine.", + "type":"string" + }, + "machineManagerId":{ + "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type":"string" + }, + "fabricType":{ + "description":"Gets or sets the fabric type.", + "type":"string" + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the machine details.", + "type":"string" + }, + "machineName":{ + "description":"Gets or sets the name of the machine.", + "type":"string" + }, + "ipAddresses":{ + "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type":"array", + "items":{ + "type":"string" + } + }, + "fqdn":{ + "description":"Gets or sets the FQDN of the machine.", + "type":"string" + }, + "biosId":{ + "description":"Gets or sets the BIOS ID of the machine.", + "type":"string" + }, + "macAddresses":{ + "description":"Gets or sets the list of MAC addresses of the machine.", + "type":"array", + "items":{ + "type":"string" + } + }, + "extendedInfo":{ + "description":"Gets or sets the ISV specific extended information.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "MigrationDetails":{ + "description":"Migration properties that can be shared by various publishers.", + "type":"object", + "properties":{ + "migrationPhase":{ + "description":"Gets or sets the phase of migration of the machine.", + "type":"string" + }, + "migrationTested":{ + "description":"Gets or sets a value indicating whether migration was tested on the machine.", + "type":"boolean" + }, + "replicationProgressPercentage":{ + "format":"int32", + "description":"Gets or sets the progress percentage of migration on the machine.", + "type":"integer" + }, + "targetVMArmId":{ + "description":"Gets or sets the ARM id the migrated VM.", + "type":"string" + }, + "enqueueTime":{ + "description":"Gets or sets the time the message was enqueued.", + "type":"string" + }, + "solutionName":{ + "description":"Gets or sets the name of the solution that sent the data.", + "type":"string" + }, + "machineId":{ + "description":"Gets or sets the unique identifier of the machine.", + "type":"string" + }, + "machineManagerId":{ + "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type":"string" + }, + "fabricType":{ + "description":"Gets or sets the fabric type.", + "type":"string" + }, + "lastUpdatedTime":{ + "format":"date-time", + "description":"Gets or sets the time of the last modification of the machine details.", + "type":"string" + }, + "machineName":{ + "description":"Gets or sets the name of the machine.", + "type":"string" + }, + "ipAddresses":{ + "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type":"array", + "items":{ + "type":"string" + } + }, + "fqdn":{ + "description":"Gets or sets the FQDN of the machine.", + "type":"string" + }, + "biosId":{ + "description":"Gets or sets the BIOS ID of the machine.", + "type":"string" + }, + "macAddresses":{ + "description":"Gets or sets the list of MAC addresses of the machine.", + "type":"array", + "items":{ + "type":"string" + } + }, + "extendedInfo":{ + "description":"Gets or sets the ISV specific extended information.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "MigrateProject":{ + "description":"Migrate Project REST Resource.", + "type":"object", + "x-ms-azure-resource":true, + "properties":{ + "eTag":{ + "description":"Gets or sets the eTag for concurrency control.", + "type":"string" + }, + "location":{ + "description":"Gets or sets the Azure location in which migrate project is created.", + "type":"string" + }, + "properties":{ + "$ref":"#/definitions/MigrateProjectProperties", + "description":"Gets or sets the nested properties." + }, + "id":{ + "description":"Gets the relative URL to get this migrate project.", + "type":"string", + "readOnly":true + }, + "name":{ + "description":"Gets the name of the migrate project.", + "type":"string", + "readOnly":true + }, + "type":{ + "description":"Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.", + "type":"string", + "readOnly":true + }, + "tags":{ + "description":"Gets or sets the tags.", + "type":"object", + "properties":{ + "additionalProperties":{ + "type":"string" + } + } + } + } + }, + "MigrateProjectProperties":{ + "description":"Class for migrate project properties.", + "type":"object", + "properties":{ + "registeredTools":{ + "description":"Gets or sets the list of tools registered with the migrate project.", + "type":"array", + "items":{ + "enum":[ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ], + "type":"string" + } + }, + "summary":{ + "description":"Gets the summary of the migrate project.", + "type":"object", + "additionalProperties":{ + "$ref":"#/definitions/ProjectSummary" + }, + "readOnly":true + }, + "lastSummaryRefreshedTime":{ + "format":"date-time", + "description":"Gets the last time the project summary was refreshed.", + "type":"string", + "readOnly":true + }, + "refreshSummaryState":{ + "description":"Gets the refresh summary state.", + "enum":[ + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type":"string", + "readOnly":true + }, + "provisioningState":{ + "type":"string", + "enum":[ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ], + "description":"Provisioning state of the migrate project.", + "x-ms-enum":{ + "name":"ProvisioningState", + "modelAsString":true + } + } + } + }, + "ProjectSummary":{ + "description":"The project summary class.", + "type":"object", + "properties":{ + "instanceType":{ + "description":"Gets the Instance type.", + "type":"string", + "readOnly":true + }, + "refreshSummaryState":{ + "description":"Gets or sets the state of refresh summary.", + "enum":[ + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type":"string" + }, + "lastSummaryRefreshedTime":{ + "format":"date-time", + "description":"Gets or sets the time when summary was last refreshed.", + "type":"string" + }, + "extendedSummary":{ + "description":"Gets or sets the extended summary.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + }, + "discriminator":"instanceType" + }, + "RegisterToolInput":{ + "description":"Class representing the register tool input.", + "type":"object", + "properties":{ + "tool":{ + "description":"Gets or sets the tool to be registered.", + "enum":[ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ], + "type":"string" + } + } + }, + "RegistrationResult":{ + "description":"Class representing the registration status of a tool with the migrate project.", + "type":"object", + "properties":{ + "isRegistered":{ + "description":"Gets or sets a value indicating whether the tool is registered or not.", + "type":"boolean" + } + } + }, + "RefreshSummaryResult":{ + "description":"Class representing the refresh summary status of the migrate project.", + "type":"object", + "properties":{ + "isRefreshed":{ + "description":"Gets or sets a value indicating whether the migrate project summary is refreshed.", + "type":"boolean" + } + } + }, + "RefreshSummaryInput":{ + "description":"Class representing the refresh summary input.", + "type":"object", + "properties":{ + "goal":{ + "description":"Gets or sets the goal for which summary needs to be refreshed.", + "enum":[ + "Servers", + "Databases" + ], + "type":"string" + } + } + }, + "Solution":{ + "description":"Solution REST Resource.", + "x-ms-azure-resource":true, + "type":"object", + "properties":{ + "id":{ + "description":"Gets the relative URL to get to this REST resource.", + "type":"string", + "readOnly":true + }, + "name":{ + "description":"Gets the name of this REST resource.", + "type":"string", + "readOnly":true + }, + "type":{ + "description":"Gets the type of this REST resource.", + "type":"string", + "readOnly":true + }, + "etag":{ + "description":"Gets or sets the ETAG for optimistic concurrency control.", + "type":"string" + }, + "properties":{ + "$ref":"#/definitions/SolutionProperties", + "description":"Gets or sets the properties of the solution." + } + } + }, + "SolutionProperties":{ + "description":"Class for solution properties.", + "type":"object", + "properties":{ + "tool":{ + "description":"Gets or sets the tool being used in the solution.", + "enum":[ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ], + "type":"string" + }, + "purpose":{ + "description":"Gets or sets the purpose of the solution.", + "enum":[ + "Discovery", + "Assessment", + "Migration" + ], + "type":"string" + }, + "goal":{ + "description":"Gets or sets the goal of the solution.", + "enum":[ + "Servers", + "Databases" + ], + "type":"string" + }, + "status":{ + "description":"Gets or sets the current status of the solution.", + "enum":[ + "Inactive", + "Active" + ], + "type":"string" + }, + "cleanupState":{ + "description":"Gets or sets the cleanup state of the solution.", + "enum":[ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type":"string" + }, + "summary":{ + "$ref":"#/definitions/SolutionSummary", + "description":"Gets or sets the summary of the solution." + }, + "details":{ + "$ref":"#/definitions/SolutionDetails", + "description":"Gets or sets the details of the solution." + } + } + }, + "SolutionSummary":{ + "description":"The solution summary class.", + "type":"object", + "properties":{ + "instanceType":{ + "description":"Gets the Instance type.", + "type":"string", + "readOnly":true + } + }, + "discriminator":"instanceType" + }, + "SolutionDetails":{ + "description":"Class representing the details of the solution.", + "type":"object", + "properties":{ + "groupCount":{ + "format":"int32", + "description":"Gets or sets the count of groups reported by the solution.", + "type":"integer" + }, + "assessmentCount":{ + "format":"int32", + "description":"Gets or sets the count of assessments reported by the solution.", + "type":"integer" + }, + "extendedDetails":{ + "description":"Gets or sets the extended details reported by the solution.", + "type":"object", + "additionalProperties":{ + "type":"string" + } + } + } + }, + "SolutionsCollection":{ + "description":"Collection of solutions.", + "type":"object", + "properties":{ + "value":{ + "description":"Gets or sets the list of solutions.", + "type":"array", + "items":{ + "$ref":"#/definitions/Solution" + } + }, + "nextLink":{ + "description":"Gets or sets the value of next link.", + "type":"string" + } + } + }, + "SolutionConfig":{ + "description":"Class representing the config for the solution in the migrate project.", + "type":"object", + "properties":{ + "publisherSasUri":{ + "description":"Gets or sets the publisher sas uri for the solution.", + "type":"string" + } + } + }, + "ServersProjectSummary":{ + "description":"Class representing the servers project summary.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/ProjectSummary" + } + ], + "properties":{ + "discoveredCount":{ + "format":"int32", + "description":"Gets or sets the count of entities discovered.", + "type":"integer" + }, + "assessedCount":{ + "format":"int32", + "description":"Gets or sets the count of entities assessed.", + "type":"integer" + }, + "replicatingCount":{ + "format":"int32", + "description":"Gets or sets the count of entities being replicated.", + "type":"integer" + }, + "testMigratedCount":{ + "format":"int32", + "description":"Gets or sets the count of entities test migrated.", + "type":"integer" + }, + "migratedCount":{ + "format":"int32", + "description":"Gets or sets the count of entities migrated.", + "type":"integer" + } + }, + "x-ms-discriminator-value":"Servers" + }, + "DatabaseProjectSummary":{ + "description":"The database project summary class.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/ProjectSummary" + } + ], + "properties":{ + + }, + "x-ms-discriminator-value":"Databases" + }, + "ServersSolutionSummary":{ + "description":"Class representing the servers solution summary.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/SolutionSummary" + } + ], + "properties":{ + "discoveredCount":{ + "format":"int32", + "description":"Gets or sets the count of servers discovered.", + "type":"integer" + }, + "assessedCount":{ + "format":"int32", + "description":"Gets or sets the count of servers assessed.", + "type":"integer" + }, + "replicatingCount":{ + "format":"int32", + "description":"Gets or sets the count of servers being replicated.", + "type":"integer" + }, + "testMigratedCount":{ + "format":"int32", + "description":"Gets or sets the count of servers test migrated.", + "type":"integer" + }, + "migratedCount":{ + "format":"int32", + "description":"Gets or sets the count of servers migrated.", + "type":"integer" + } + }, + "x-ms-discriminator-value":"Servers" + }, + "DatabasesSolutionSummary":{ + "description":"Class representing the databases solution summary.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/SolutionSummary" + } + ], + "properties":{ + "databasesAssessedCount":{ + "format":"int32", + "description":"Gets or sets the count of databases assessed.", + "type":"integer" + }, + "databaseInstancesAssessedCount":{ + "format":"int32", + "description":"Gets or sets the count of database instances assessed.", + "type":"integer" + }, + "migrationReadyCount":{ + "format":"int32", + "description":"Gets or sets the count of databases ready for migration.", + "type":"integer" + } + }, + "x-ms-discriminator-value":"Databases" + }, + "MachineMigrateEventProperties":{ + "description":"Properties of the machine error resource.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/MigrateEventProperties" + } + ], + "properties":{ + "machine":{ + "description":"Gets or sets the machine for which the error is being reported.", + "type":"string" + } + }, + "x-ms-discriminator-value":"Servers" + }, + "DatabaseMigrateEventProperties":{ + "description":"Properties of the database error resource.", + "type":"object", + "allOf":[ + { + "$ref":"#/definitions/MigrateEventProperties" + } + ], + "properties":{ + "database":{ + "description":"Gets or sets the database for which the error is being reported.", + "type":"string" + }, + "databaseInstanceId":{ + "description":"Gets or sets the database instance for which the error is being reported.", + "type":"string" + } + }, + "x-ms-discriminator-value":"Databases" + }, + "OperationResultList":{ + "type":"object", + "description":"List of API operations.", + "properties":{ + "value":{ + "type":"array", + "description":"List of operations.", + "items":{ + "$ref":"#/definitions/Operation" + } + } + } + }, + "Operation":{ + "type":"object", + "description":"A REST API operation supported by the provider.", + "properties":{ + "name":{ + "type":"string", + "description":"Name of the operation.", + "readOnly":true + }, + "display":{ + "description":"Displayable properties of the operation.", + "$ref":"#/definitions/OperationDisplay" + }, + "origin":{ + "type":"string", + "description":"Origin of the operation.", + "readOnly":true + } + } + }, + "OperationDisplay":{ + "type":"object", + "description":"Displayable properties of the operation.", + "readOnly":true, + "properties":{ + "provider":{ + "type":"string", + "description":"Provider of the operation.", + "readOnly":true + }, + "resource":{ + "type":"string", + "description":"Resource operated on by the operation.", + "readOnly":true + }, + "operation":{ + "type":"string", + "description":"Operation Type.", + "readOnly":true + }, + "description":{ + "type":"string", + "description":"Description of the operation.", + "readOnly":true + } + } + } + } +} \ No newline at end of file diff --git a/specification/migrateprojects/resource-manager/readme.md b/specification/migrateprojects/resource-manager/readme.md new file mode 100644 index 000000000000..238f17ac9b91 --- /dev/null +++ b/specification/migrateprojects/resource-manager/readme.md @@ -0,0 +1,99 @@ +# Azure Migrate + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Azure Migrate. + +--- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-09 +``` + +### Tag: package-2018-09 and java + +These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuremigrate.v2018_09_01 + output-folder: $(azure-libraries-for-java-folder)/azuremigrate/resource-manager/v2018_09_01 +regenerate-manager: true +generate-interface: true +``` + + +## Getting Started +To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the API. + +``` yaml +openapi-type: arm +tag: package-2018-09 +``` + + +### Tag: package-2018-09 + +These settings apply only when `--tag=package-2018-09` is specified on the command line. + +``` yaml $(tag) == 'package-2018-09' +input-file: +- Microsoft.Migrate/preview/2018-09-01-preview/migrate.json +``` + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-go +``` + +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: migrate +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-09 +``` + +### Tag: package-2018-09 and go + +These settings apply only when `--tag=package-2018-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-09' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace) +``` diff --git a/specification/migrateprojects/resource-manager/readme.nodejs.md b/specification/migrateprojects/resource-manager/readme.nodejs.md new file mode 100644 index 000000000000..659dab26dfe8 --- /dev/null +++ b/specification/migrateprojects/resource-manager/readme.nodejs.md @@ -0,0 +1,15 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-migrateprojects + package-version: 1.0.0-preview + output-folder: $(node-sdks-folder)/lib/services/migrateprojectsManagement + generate-license-txt: true + generate-package-json: true + generate-readme-md: true +``` From 069c90a964569ac680e93a0db796163df613f4b2 Mon Sep 17 00:00:00 2001 From: Amit Aviram Date: Mon, 1 Jul 2019 22:34:32 +0300 Subject: [PATCH 212/495] Adding the Microsoft.Security ServerVulnerabilityAssessment API. (#5571) ServerVulnerabilityAssessment is a new feature in Azure Security Center, where Azure clients will be able to onboard to ASC Server Vulnerability Assessment solution, and GET VA findings on their servers. In order to onboard, a PUT request will be triggered on a VM server: - PUT {resourceId}/providers/Microsoft.Security/serverVulnerabilityAssessments/default At any point the user will be able to GET the onboarding status for his VM: - GET {resourceId}/providers/Microsoft.Security/vulnerabilityAssessments/default So if the VM is onboarded, a 200 response will be returned, and 404 otherwise. For resources that are not VMs, a 405 "Not allowed" response will return. Actual VA Findings will be fetched using ASC standard assessment API. --- ...erverVulnerabilityAssessments_example.json | 28 ++ ...erverVulnerabilityAssessments_example.json | 17 + ...erverVulnerabilityAssessments_example.json | 23 ++ ...erverVulnerabilityAssessments_example.json | 26 ++ .../serverVulnerabilityAssessments.json | 339 ++++++++++++++++++ .../security/resource-manager/readme.md | 1 + 6 files changed, 434 insertions(+) create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json new file mode 100644 index 000000000000..3dc6227d9fe3 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default", + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments" + } + }, + "responses": { + "202": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Provisioning" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json new file mode 100644 index 000000000000..1ea6a89f4504 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default" + }, + "responses": { + "200": { + }, + "204": { + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json new file mode 100644 index 000000000000..f5307b27b51e --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json new file mode 100644 index 000000000000..fc7483c0593b --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json new file mode 100644 index 000000000000..bd34e220f0fe --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json @@ -0,0 +1,339 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2019-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments": { + "get": { + "x-ms-examples": { + "Get a list of server vulnerability assessments on a resource. Though this API returns a list, Currently Microsoft.Security only supports a single default type of server vulnerability assessment": { + "$ref": "./examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json" + } + }, + "description": "Gets a list of server vulnerability assessment onboarding statuses on a given resource.", + "tags": [ + "ServerVulnerabilityAssessments" + ], + "operationId": "ServerVulnerabilityAssessment_ListByExtendedResource", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessmentsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}": { + "get": { + "x-ms-examples": { + "Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource": { + "$ref": "./examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json" + } + }, + "description": "Gets a server vulnerability assessment onboarding statuses on a given resource.", + "tags": [ + "ServerVulnerabilityAssessments" + ], + "operationId": "ServerVulnerabilityAssessment_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": ["default"] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "put": { + "x-ms-examples": { + "Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security": { + "$ref": "./examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json" + } + }, + "description": "Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it", + "tags": [ + "ServerVulnerabilityAssessment" + ], + "operationId": "ServerVulnerabilityAssessment_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": ["default"] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "delete": { + "x-ms-examples": { + "Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.": { + "$ref": "./examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json" + } + }, + "description": "Removing server vulnerability assessment from a resource.", + "tags": [ + "ServerVulnerabilityAssessment" + ], + "operationId": "ServerVulnerabilityAssessment_Delete", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": ["default"] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content - Resource does not exist" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "ServerVulnerabilityAssessmentsList" : { + "type": "object", + "description": "List of server vulnerability assessments", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" + } + } + } + }, + "ServerVulnerabilityAssessment": { + "type": "object", + "description": "Describes the server vulnerability assessment details on a resource", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ] + }, + "ServerVulnerabilityAssessmentProperties": { + "type": "object", + "description": "describes ServerVulnerabilityAssessment properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioningState of the vulnerability assessment capability on the VM", + "enum": ["Succeeded", "Failed", "Canceled", "Provisioning", "Deprovisioning"] + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 4c49299eb991..303bd7cfcfac 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -134,6 +134,7 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json # Needed when there is more than one input file override-info: From 9e314aeb2b65f83bccae533b4dcf9eaf26a26fbe Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Mon, 1 Jul 2019 12:48:50 -0700 Subject: [PATCH 213/495] add mysql 2017-12-01-preview to Go SDK (#6504) * add mysql 2017-12-01-preview to Go SDK * add postgresql 2017-12-01-preview to Go SDK --- specification/mysql/resource-manager/readme.go.md | 1 + specification/postgresql/resource-manager/readme.go.md | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/mysql/resource-manager/readme.go.md b/specification/mysql/resource-manager/readme.go.md index 6cddaf2787ac..62df079caf6b 100644 --- a/specification/mysql/resource-manager/readme.go.md +++ b/specification/mysql/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2017-12-01-preview - tag: package-2017-12-01 ``` diff --git a/specification/postgresql/resource-manager/readme.go.md b/specification/postgresql/resource-manager/readme.go.md index 153c55816410..9fefd0e0313c 100644 --- a/specification/postgresql/resource-manager/readme.go.md +++ b/specification/postgresql/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2017-12-01-preview - tag: package-2017-12-01 ``` From 40049a4cfa3ef71b27f44bff2a4d96054608182f Mon Sep 17 00:00:00 2001 From: avamitay <51705454+avamitay@users.noreply.github.com> Date: Mon, 1 Jul 2019 23:21:50 +0300 Subject: [PATCH 214/495] Changes to the JIT API for Firewall Support (#6426) * Changes to the JIT API for Firewall Support * Update jitNetworkAccessPolicies.json * Update jitNetworkAccessPolicies.json --- .../2015-06-01-preview/jitNetworkAccessPolicies.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json index 914dafb9208a..a5a4de6c2b4c 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json @@ -474,6 +474,10 @@ "items": { "$ref": "#/definitions/JitNetworkAccessPortRule" } + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address of the Azure Firewall that is linked to this policy, if applicable" } } }, @@ -641,6 +645,10 @@ } ] } + }, + "mappedPort": { + "type": "integer", + "description": "The port which is mapped to this port's `number` in the Azure Firewall, if applicable" } }, "required": [ From eae2ecae0c69ef42c44237d5bcaee315bfbd8552 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Mon, 1 Jul 2019 13:29:48 -0700 Subject: [PATCH 215/495] Fix Swagger for ACR Python (#6523) --- .../containerregistry/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md index 8ff58f2a38c5..35505275362d 100644 --- a/specification/containerregistry/resource-manager/readme.python.md +++ b/specification/containerregistry/resource-manager/readme.python.md @@ -36,7 +36,7 @@ Please also specify `--python-sdks-folder= Date: Mon, 1 Jul 2019 15:46:00 -0700 Subject: [PATCH 216/495] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#6479) * adding locations property to iothub properties * adding locations property to iothub properties * adding locations property to iothub properties * adding locations property to iothub properties * adding locations property to iothub properties * adding locations property --- .../examples/iothub_createOrUpdate.json | 14 +-------- .../examples/iothub_get.json | 12 +++++++- .../preview/2019-03-22-preview/iothub.json | 30 +++++++++++++++++++ 3 files changed, 42 insertions(+), 14 deletions(-) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json index 8e6e36ef3200..0b7ce5e15432 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json @@ -5,26 +5,15 @@ "api-version": "2019-03-22-preview", "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", "iotHubDescription": { - "name": "iot-dps-cit-hub-1", - "type": "Microsoft.Devices/IotHubs", "location": "centraluseuap", "tags": {}, "etag": "AAAAAAFD6M4=", "properties": { - "state": "Active", - "provisioningState": "Succeeded", "ipFilterRules": [], - "hostName": "iot-dps-cit-hub-1.azure-devices.net", "eventHubEndpoints": { "events": { "retentionTimeInDays": 1, - "partitionCount": 2, - "partitionIds": [ - "0", - "1" - ], - "path": "iot-dps-cit-hub-1", - "endpoint": "sb://iothub-ns-iot-dps-ci-245306-76aca8e13b.servicebus.windows.net/" + "partitionCount": 2 } }, "routing": { @@ -74,7 +63,6 @@ }, "sku": { "name": "S1", - "tier": "Standard", "capacity": 1 } } diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json index 8e6dd33b5cbe..6bd924b40126 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json @@ -78,7 +78,17 @@ "streamingEndpoints": [ "https://streams.azure-devices-int.net:9443" ] - } + }, + "locations": [ + { + "location": "West US", + "role": "primary" + }, + { + "location": "East US", + "role": "secondary" + } + ] }, "sku": { "name": "S1", diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json index 22364230d82d..8a7c2150d423 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json @@ -2045,6 +2045,14 @@ "name": "Capabilities", "modelAsString": true } + }, + "locations": { + "description": "Primary and secondary location for iot hub", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/IotHubLocationDescription" + } } } }, @@ -3453,6 +3461,28 @@ "required": [ "failoverRegion" ] + }, + "IotHubLocationDescription": { + "description": "Public representation of one of the locations where a resource is provisioned.", + "type": "object", + "properties": { + "location": { + "description": "Azure Geo Regions", + "type": "string" + }, + "role": { + "description": "Specific Role assigned to this location", + "enum": [ + "primary", + "secondary" + ], + "type": "string", + "x-ms-enum": { + "name": "IotHubReplicaRoleType", + "modelAsString": true + } + } + } } }, "parameters": { From a8cb144a29a006a7d079460f73189701b566fd1f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 1 Jul 2019 22:59:25 -0400 Subject: [PATCH 217/495] fix: hdinsight model validation (#6476) * fix: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json - Body -> body - isDefault to string - vmsizes -> vmSizes - VMSizes -> vmsizes - Remove "OsType" * fix: GetHDInsightUsages.json - Body -> body --- .../examples/GetHDInsightCapabilities.json | 667 ++++-------------- .../examples/GetHDInsightUsages.json | 2 +- .../examples/GetHDInsightUsages.json | 2 +- 3 files changed, 144 insertions(+), 527 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json index e6cd831b81d9..9efdd944e0b3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json @@ -6,19 +6,19 @@ }, "responses": { "200": { - "Body": { + "body": { "versions": { "paas": { "available": [ { "friendlyName": "1.6", "displayName": "HdInsight version 1.6.1.0.335536", - "isDefault": false + "isDefault": "false" }, { "friendlyName": "2.1", "displayName": "Version 2.1.9.406.1221105", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "1.3", "Hadoop": "1.2.0" @@ -27,7 +27,7 @@ { "friendlyName": "3.0", "displayName": "Version 3.0.6.989.2441725", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.0", "Hadoop": "2.2.0" @@ -36,7 +36,7 @@ { "friendlyName": "3.1", "displayName": "Version 3.1.4.989.2441725", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.1.7", "Hadoop": "2.4.0", @@ -46,7 +46,7 @@ { "friendlyName": "3.2", "displayName": "Version 3.2.7.989.2441725", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.2", "Hadoop": "2.6.0", @@ -57,7 +57,7 @@ { "friendlyName": "3.3", "displayName": "Version 3.3.0.989.2441725", - "isDefault": true, + "isDefault": "true", "componentVersions": { "HDP": "2.3", "Hadoop": "2.7.0", @@ -72,7 +72,7 @@ { "friendlyName": "3.2", "displayName": "Version 3.2.1000.0.8840373", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.2", "Hadoop": "2.6.0", @@ -83,7 +83,7 @@ { "friendlyName": "3.3", "displayName": "Version 3.3.1000.0.9776961", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.3", "Hadoop": "2.7.0", @@ -95,7 +95,7 @@ { "friendlyName": "3.4", "displayName": "Version 3.4.1000.0.9719475", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.4", "Hadoop": "2.7.1", @@ -108,7 +108,7 @@ { "friendlyName": "3.5", "displayName": "Version 3.5.1000.0.9732704", - "isDefault": true, + "isDefault": "true", "componentVersions": { "HDP": "2.5", "Hadoop": "2.7.3", @@ -122,7 +122,7 @@ { "friendlyName": "3.6", "displayName": "Version 3.6.1000.0.9503998", - "isDefault": false, + "isDefault": "false", "componentVersions": { "HDP": "2.6", "Spark": "2.1.0" @@ -131,7 +131,7 @@ { "friendlyName": "99.152", "displayName": "Version 99.152.1000.0.6943836", - "isDefault": false + "isDefault": "false" } ] } @@ -184,7 +184,7 @@ ] } }, - "vmsizes": { + "vmSizes": { "paas": { "available": [ "A5", @@ -242,7 +242,7 @@ ] } }, - "vmsize_filters": [ + "vmSize_filters": [ { "FilterMode": "Exclude", "Regions": [ @@ -257,10 +257,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A5" ] }, @@ -280,10 +277,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A5" ] }, @@ -302,10 +296,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A5" ] }, @@ -325,10 +316,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A5" ] }, @@ -347,10 +335,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A5" ] }, @@ -368,10 +353,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A6" ] }, @@ -390,10 +372,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A6" ] }, @@ -413,10 +392,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A6" ] }, @@ -435,10 +411,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A6" ] }, @@ -456,10 +429,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A7" ] }, @@ -478,10 +448,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A7" ] }, @@ -501,10 +468,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A7" ] }, @@ -523,10 +487,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "A7" ] }, @@ -544,10 +505,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "EXTRALARGE" ] }, @@ -566,10 +524,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "EXTRALARGE" ] }, @@ -591,10 +546,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "EXTRALARGE" ] }, @@ -613,10 +565,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "EXTRALARGE" ] }, @@ -634,10 +583,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "LARGE" ] }, @@ -656,10 +602,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "LARGE" ] }, @@ -679,10 +622,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "LARGE" ] }, @@ -701,10 +641,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "LARGE" ] }, @@ -722,10 +659,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "MEDIUM" ] }, @@ -745,10 +679,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "MEDIUM" ] }, @@ -767,10 +698,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "MEDIUM" ] }, @@ -788,10 +716,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "SMALL" ] }, @@ -811,10 +736,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "SMALL" ] }, @@ -833,10 +755,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "SMALL" ] }, @@ -855,10 +774,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "SMALL" ] }, @@ -876,10 +792,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -899,10 +812,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -921,10 +831,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -942,10 +849,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -965,10 +869,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -987,10 +888,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1" ] }, @@ -1008,10 +906,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1031,10 +926,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1053,10 +945,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1075,10 +964,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1098,10 +984,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1120,10 +1003,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -1141,10 +1021,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1164,10 +1041,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1186,10 +1060,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1207,10 +1078,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1230,10 +1098,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1252,10 +1117,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11" ] }, @@ -1273,10 +1135,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1296,10 +1155,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1318,10 +1174,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1340,10 +1193,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1363,10 +1213,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1385,10 +1232,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -1406,10 +1250,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12" ] }, @@ -1428,10 +1269,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12" ] }, @@ -1449,10 +1287,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12" ] }, @@ -1472,10 +1307,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12" ] }, @@ -1494,10 +1326,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12" ] }, @@ -1515,10 +1344,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -1537,10 +1363,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -1559,10 +1382,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -1582,10 +1402,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -1604,10 +1421,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -1625,10 +1439,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13" ] }, @@ -1647,10 +1458,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13" ] }, @@ -1668,10 +1476,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13" ] }, @@ -1691,10 +1496,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13" ] }, @@ -1713,10 +1515,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13_V2" ] }, @@ -1735,10 +1534,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13_V2" ] }, @@ -1758,10 +1554,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13_V2" ] }, @@ -1779,10 +1572,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14" ] }, @@ -1801,10 +1591,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14" ] }, @@ -1822,10 +1609,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14" ] }, @@ -1845,10 +1629,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14" ] }, @@ -1866,10 +1647,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -1888,10 +1666,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -1910,10 +1685,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -1933,10 +1705,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -1954,10 +1723,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -1977,10 +1743,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -1999,10 +1762,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -2020,10 +1780,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -2043,10 +1800,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -2065,10 +1819,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2" ] }, @@ -2086,10 +1837,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2109,10 +1857,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2131,10 +1876,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2153,10 +1895,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2176,10 +1915,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2198,10 +1934,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2219,10 +1952,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3" ] }, @@ -2241,10 +1971,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3" ] }, @@ -2262,10 +1989,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3" ] }, @@ -2285,10 +2009,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3" ] }, @@ -2307,10 +2028,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3" ] }, @@ -2328,10 +2046,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2350,10 +2065,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2372,10 +2084,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2395,10 +2104,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2417,10 +2123,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2438,10 +2141,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4" ] }, @@ -2460,10 +2160,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4" ] }, @@ -2481,10 +2178,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4" ] }, @@ -2504,10 +2198,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4" ] }, @@ -2526,10 +2217,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4" ] }, @@ -2547,10 +2235,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -2569,10 +2254,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -2591,10 +2273,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -2614,10 +2293,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -2636,10 +2312,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -2657,10 +2330,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D5_V2" ] }, @@ -2679,10 +2349,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D5_V2" ] }, @@ -2701,10 +2368,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D5_V2" ] }, @@ -2724,10 +2388,7 @@ "2.1", "3.0" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D5_V2" ] }, @@ -2746,10 +2407,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D5_V2" ] }, @@ -2768,10 +2426,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D1_V2" ] }, @@ -2790,10 +2445,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D11_V2" ] }, @@ -2812,10 +2464,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -2834,10 +2483,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D12_V2" ] }, @@ -2856,10 +2502,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13_V2" ] }, @@ -2878,10 +2521,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D13_V2" ] }, @@ -2900,10 +2540,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -2922,10 +2559,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D14_V2" ] }, @@ -2944,10 +2578,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D2_V2" ] }, @@ -2966,10 +2597,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -2988,10 +2616,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D3_V2" ] }, @@ -3010,10 +2635,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] }, @@ -3032,10 +2654,7 @@ "ClusterVersions": [ "*" ], - "OsType": [ - "*" - ], - "VMSizes": [ + "vmsizes": [ "STANDARD_D4_V2" ] } @@ -3124,8 +2743,6 @@ "VMSIZES_AUX" ], "quota": { - "cores_used": 72, - "max_cores_allowed": 1000, "regionalQuotas": [ { "region_name": "Australia East", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json index f645c70420bd..b0f912900acb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json @@ -6,7 +6,7 @@ }, "responses": { "200": { - "Body": { + "body": { "value": [ { "unit": "Count", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json index 50b293477e9b..d8dad62f927c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json @@ -6,7 +6,7 @@ }, "responses": { "200": { - "Body": { + "body": { "value": [ { "unit": "Count", From 8a69874de1bedcd30c807d27cfb207d17b752588 Mon Sep 17 00:00:00 2001 From: Sean Liu Date: Tue, 2 Jul 2019 10:52:57 -0700 Subject: [PATCH 218/495] introducing the SqlManagement in Microsoft.SqlVirtualMachine (#6524) * introducing the SqlManagement * update the type. * fixing the typo for LUN * fixing the LUNs again. * fixing the lun * update the LUNs to LUN * Fixing the LUNs to LUN again. --- .../CreateOrUpdateSqlVirtualMachineMAX.json | 11 ++++--- .../preview/2017-03-01-preview/sqlvm.json | 31 ++++++++++++++----- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json index d1f3bcfbcbcf..08e5d95aa0aa 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json @@ -2,13 +2,14 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg", - "sqlVirtualMachineName": "testvm", + "sqlVirtualMachineName":"testvm", "api-version": "2017-03-01-preview", "parameters": { "location": "northeurope", "properties": { "sqlServerLicenseType": "PAYG", "sqlImageSku": "Enterprise", + "sqlManagement": "Full", "virtualMachineResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachines/testvm", "serverConfigurationsManagementSettings": { "sqlConnectivityUpdateSettings": { @@ -62,7 +63,8 @@ "virtualMachineResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachines/testvm", "provisioningState": "Updating", "sqlServerLicenseType": "PAYG", - "sqlImageSku": "Enterprise" + "sqlImageSku": "Enterprise", + "sqlManagement": "Full" }, "location": "northeurope", "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm", @@ -76,7 +78,8 @@ "virtualMachineResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachines/testvm", "provisioningState": "Provisioning", "sqlServerLicenseType": "PAYG", - "sqlImageSku": "Unknown" + "sqlImageSku": "Unknown", + "sqlManagement": "Full" }, "location": "northeurope", "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm", @@ -85,4 +88,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json index ad71c1c263ad..9beaa58f15b5 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json @@ -344,7 +344,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 InvalidStorageAccountCredentials - The storage account credentials provided are incorrect.\n\n * 400 InvalidStorageAccountType - Only storage account of type 'General-Purpose V2' is allowed for this operation.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." }, "201": { "description": "Successfully created the SQL virtual machine group.", @@ -389,7 +389,7 @@ "description": "Successfully deleted the SQL virtual machine group." }, "default": { - "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 InvalidStorageAccountCredentials - The storage account credentials provided are incorrect.\n\n * 400 InvalidStorageAccountType - Only storage account of type 'General-Purpose V2' is allowed for this operation.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." }, "202": { "description": "Deleting the SQL virtual machine group." @@ -446,7 +446,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 SqlVmGroupUpdateFailVmAttached - SQL virtual machine group cannot be updated as it has attached a SQL virtual machine.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 SqlVmGroupNameTooLong - SQL virtual machine group name cannot exceed 15 characters.\n\n * 400 InvalidSqlVmGroupName - Invalid SQL virtual machine group name.\n\n * 400 InvalidStorageAccountCredentials - The storage account credentials provided are incorrect.\n\n * 400 InvalidStorageAccountType - Only storage account of type 'General-Purpose V2' is allowed for this operation.\n\n * 400 SqlVmGroupNotEmpty - SQL virtual machine group is not empty.\n\n * 400 SqlVmGroupUpdateNotAllowed - Update to SQL virtual machine group is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." } }, "x-ms-long-running-operation": true, @@ -658,7 +658,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 IncompleteStorageConfigurationSettings - Incomplete Storage Configuration Settings\n\n * 400 InvalidDefaultFilePath - Invalid Default File Path \n\n * 400 InvalidLUNSpecified - Invalid LUN specified, LUN should be a non-negative number.\n\n * 400 BothStorageV1V2Specified - Invalid Request. Only one of SQL Storage Storage Setting or Storage Configuration Settings should be specified\n\n * 400 InvalidLUNSpecifiedForSameDrive - Invalid LUN specified. LUN used for the same drive need to be the same.\n\n * 400 InvalidLUNSpecifiedForDifferentDrives - Invalid LUN specified. Different drive could not reuse the same LUN.\n\n * 400 InvalidExtendPayload - Invalid Sql Storage Settings Extend Payload. Only one setting with one LUN is allowed.\n\n * 400 VmAgentIsRunningForNoAgent - Cannot create or update as NoAgent model while the Guest Agent is running.\n\n * 400 InvalidSqlManagementMode - Cannot update the SQL management mode to {0}, the current mode is {1}.\n\n * 400 CannotDetermineSqlEditionFromRequest - Cannot determine the SQL edition.\n\n * 400 SqlManagementMissing - Please specify the Management Mode for Sql Virtual Machine. The property is 'SqlManagement' and allowed values are LightWeight or Full.\n\n * 400 SqlImageSkuMissingNoAgent - Please specify the Sql Server Edition for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageSku' and allowed values are Developer, Express, Web, Standard, or Enterprise.\n\n * 400 SqlImageOfferMissingNoAgent - Please specify the Sql Server Version and OS Version for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageOffer' and allowed values are SQL2008-WS2008 and SQL2008R2-WS2008.\n\n * 400 InvalidSqlImageOfferChange - SqlImageOffer property cannot be updated.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." }, "201": { "description": "Successfully created the SQL virtual machine.", @@ -709,7 +709,7 @@ "description": "Successfully deleted the SQL virtual machine." }, "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 IncompleteStorageConfigurationSettings - Incomplete Storage Configuration Settings\n\n * 400 InvalidDefaultFilePath - Invalid Default File Path \n\n * 400 InvalidLUNSpecified - Invalid LUN specified, LUN should be a non-negative number.\n\n * 400 BothStorageV1V2Specified - Invalid Request. Only one of SQL Storage Storage Setting or Storage Configuration Settings should be specified\n\n * 400 InvalidLUNSpecifiedForSameDrive - Invalid LUN specified. LUN used for the same drive need to be the same.\n\n * 400 InvalidLUNSpecifiedForDifferentDrives - Invalid LUN specified. Different drive could not reuse the same LUN.\n\n * 400 InvalidExtendPayload - Invalid Sql Storage Settings Extend Payload. Only one setting with one LUN is allowed.\n\n * 400 VmAgentIsRunningForNoAgent - Cannot create or update as NoAgent model while the Guest Agent is running.\n\n * 400 InvalidSqlManagementMode - Cannot update the SQL management mode to {0}, the current mode is {1}.\n\n * 400 CannotDetermineSqlEditionFromRequest - Cannot determine the SQL edition.\n\n * 400 SqlManagementMissing - Please specify the Management Mode for Sql Virtual Machine. The property is 'SqlManagement' and allowed values are LightWeight or Full.\n\n * 400 SqlImageSkuMissingNoAgent - Please specify the Sql Server Edition for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageSku' and allowed values are Developer, Express, Web, Standard, or Enterprise.\n\n * 400 SqlImageOfferMissingNoAgent - Please specify the Sql Server Version and OS Version for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageOffer' and allowed values are SQL2008-WS2008 and SQL2008R2-WS2008.\n\n * 400 InvalidSqlImageOfferChange - SqlImageOffer property cannot be updated.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." }, "202": { "description": "Deleting the SQL virtual machine." @@ -766,7 +766,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." + "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Virtual machine resource id property cannot be updated.\n\n * 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in same operation.\n\n * 400 SqlVmCannotRemoveFromGroup - SQL virtual machine cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL virtual machine.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL virtual machine group does not match that of the SQL virtual machine.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC virtual machines are allowed in a SQL VM Group.\n\n * 400 InvalidSqlVmGroupResourceIdParameterValue - SQL virtual machine group resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL virtual machine and SQL virtual machine group are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided virtual machine resource id is not valid.\n\n * 400 MismatchInSqlVmAndVmResourceIdSubscription - Mismatch in subscription id for SQL virtual machine and virtual machine resource id property.\n\n * 400 MismatchSqlVmAndVmName - SQL virtual machine name is not same as the virtual machine name provided on VirtualMachineResourceId property.\n\n * 400 MismatchSqlVmAndVmRgName - SQL virtual machine resource group name is not same as the virtual machine resource group name provided on VirtualMachineResourceId property.\n\n * 400 NotSupportedSqlVmOSVersion - Virtual machine OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Virtual Machine.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Virtual Machine as this was not created from Azure marketplace image.\n\n * 400 CannotDetermineSqlVersionAndEditionFromVm - Sql IaaS Extension cannot determine the SQL version and edition from the vm.\n\n * 400 MismatchSqlVmSku - Sql virtual machine sku mismatch.\n\n * 400 CannotConvertToAhub - Cannot convert Free SQL editions to AHUB. \n\n * 400 SqlEvaluationSkuNotSupported - SQL Evaluation version does not support licensing changes.\n\n * 400 IncompleteStorageConfigurationSettings - Incomplete Storage Configuration Settings\n\n * 400 InvalidDefaultFilePath - Invalid Default File Path \n\n * 400 InvalidLUNSpecified - Invalid LUN specified, LUN should be a non-negative number.\n\n * 400 BothStorageV1V2Specified - Invalid Request. Only one of SQL Storage Storage Setting or Storage Configuration Settings should be specified\n\n * 400 InvalidLUNSpecifiedForSameDrive - Invalid LUN specified. LUN used for the same drive need to be the same.\n\n * 400 InvalidLUNSpecifiedForDifferentDrives - Invalid LUN specified. Different drive could not reuse the same LUN.\n\n * 400 InvalidExtendPayload - Invalid Sql Storage Settings Extend Payload. Only one setting with one LUN is allowed.\n\n * 400 VmAgentIsRunningForNoAgent - Cannot create or update as NoAgent model while the Guest Agent is running.\n\n * 400 InvalidSqlManagementMode - Cannot update the SQL management mode to {0}, the current mode is {1}.\n\n * 400 CannotDetermineSqlEditionFromRequest - Cannot determine the SQL edition.\n\n * 400 SqlManagementMissing - Please specify the Management Mode for Sql Virtual Machine. The property is 'SqlManagement' and allowed values are LightWeight or Full.\n\n * 400 SqlImageSkuMissingNoAgent - Please specify the Sql Server Edition for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageSku' and allowed values are Developer, Express, Web, Standard, or Enterprise.\n\n * 400 SqlImageOfferMissingNoAgent - Please specify the Sql Server Version and OS Version for Sql Virtual Machine in NoAgent Mode. The property is 'SqlImageOffer' and allowed values are SQL2008-WS2008 and SQL2008R2-WS2008.\n\n * 400 InvalidSqlImageOfferChange - SqlImageOffer property cannot be updated.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL virtual machine group.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveSqlVMGroupInResourceGroup - Subscription does not have SQL virtual machine group in resource group.\n\n * 404 SubscriptionDoesNotHaveSqlVMInResourceGroup - Subscription does not have SQL virtual machine Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 ResourceExists - There was an internal error in cleaning up of resources.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out." } }, "x-ms-long-running-operation": true, @@ -1337,7 +1337,9 @@ "sqlImageOffer": { "description": "SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.", "type": "string", - "readOnly": true + "x-ms-mutability": [ + "create" + ] }, "sqlServerLicenseType": { "description": "SQL Server license type.", @@ -1351,6 +1353,19 @@ "modelAsString": true } }, + "sqlManagement": { + "description": "SQL Server Management type.", + "enum": [ + "Full", + "LightWeight", + "NoAgent" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlManagementMode", + "modelAsString": true + } + }, "sqlImageSku": { "description": "SQL Server edition type.", "enum": [ @@ -1786,4 +1801,4 @@ } } } -} +} \ No newline at end of file From 56ea71a2968a47b3021e4182061cc33df5370347 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 2 Jul 2019 14:06:42 -0400 Subject: [PATCH 219/495] chore: jsonfmt security (#6532) --- .../jitNetworkAccessPolicies.json | 4 +- ...erverVulnerabilityAssessments_example.json | 50 +- ...erverVulnerabilityAssessments_example.json | 30 +- ...erverVulnerabilityAssessments_example.json | 40 +- ...erverVulnerabilityAssessments_example.json | 46 +- .../serverVulnerabilityAssessments.json | 664 +++++++++--------- 6 files changed, 422 insertions(+), 412 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json index a5a4de6c2b4c..6d6761379c4a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json @@ -475,7 +475,7 @@ "$ref": "#/definitions/JitNetworkAccessPortRule" } }, - "publicIpAddress": { + "publicIpAddress": { "type": "string", "description": "Public IP address of the Azure Firewall that is linked to this policy, if applicable" } @@ -646,7 +646,7 @@ ] } }, - "mappedPort": { + "mappedPort": { "type": "integer", "description": "The port which is mapped to this port's `number` in the Azure Firewall, if applicable" } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json index 3dc6227d9fe3..1bccb5ea5cce 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json @@ -1,28 +1,28 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", - "resourceGroupName": "rg1", - "resourceNamespace": "Microsoft.Compute", - "resourceType": "virtualMachines", - "resourceName": "vm1", - "serverVulnerabilityAssessment": "default", - "body": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Security/serverVulnerabilityAssessments" - } - }, - "responses": { - "202": { - "body": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Security/serverVulnerabilityAssessments", - "properties": { - "provisioningState": "Provisioning" - } - } + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default", + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments" + } + }, + "responses": { + "202": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Provisioning" } + } } -} \ No newline at end of file + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json index 1ea6a89f4504..ebe431b2e5ae 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json @@ -1,17 +1,15 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", - "resourceGroupName": "rg1", - "resourceNamespace": "Microsoft.Compute", - "resourceType": "virtualMachines", - "resourceName": "vm1", - "serverVulnerabilityAssessment": "default" - }, - "responses": { - "200": { - }, - "204": { - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json index f5307b27b51e..aec69b3e88bf 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -1,23 +1,23 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", - "resourceGroupName": "rg1", - "resourceNamespace": "Microsoft.Compute", - "resourceType": "virtualMachines", - "resourceName": "vm1", - "serverVulnerabilityAssessment": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Security/serverVulnerabilityAssessments", - "properties": { - "provisioningState": "Succeeded" - } - } + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1", + "serverVulnerabilityAssessment": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Succeeded" } + } } -} \ No newline at end of file + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json index fc7483c0593b..d96e15730233 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json @@ -1,26 +1,26 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", - "resourceGroupName": "rg1", - "resourceNamespace": "Microsoft.Compute", - "resourceType": "virtualMachines", - "resourceName": "vm1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Security/serverVulnerabilityAssessments", - "properties": { - "provisioningState": "Succeeded" - } - } - ] + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "rg1", + "resourceNamespace": "Microsoft.Compute", + "resourceType": "virtualMachines", + "resourceName": "vm1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/serverVulnerabilityAssessments/default", + "name": "default", + "type": "Microsoft.Security/serverVulnerabilityAssessments", + "properties": { + "provisioningState": "Succeeded" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json index bd34e220f0fe..534a37477127 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json @@ -1,339 +1,351 @@ { - "swagger": "2.0", - "info": { - "title": "Security Center", - "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", - "version": "2019-01-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2019-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments": { + "get": { + "x-ms-examples": { + "Get a list of server vulnerability assessments on a resource. Though this API returns a list, Currently Microsoft.Security only supports a single default type of server vulnerability assessment": { + "$ref": "./examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json" + } + }, + "description": "Gets a list of server vulnerability assessment onboarding statuses on a given resource.", + "tags": [ + "ServerVulnerabilityAssessments" + ], + "operationId": "ServerVulnerabilityAssessment_ListByExtendedResource", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessmentsList" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } } + } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments": { - "get": { - "x-ms-examples": { - "Get a list of server vulnerability assessments on a resource. Though this API returns a list, Currently Microsoft.Security only supports a single default type of server vulnerability assessment": { - "$ref": "./examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json" - } - }, - "description": "Gets a list of server vulnerability assessment onboarding statuses on a given resource.", - "tags": [ - "ServerVulnerabilityAssessments" - ], - "operationId": "ServerVulnerabilityAssessment_ListByExtendedResource", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, - { - "name": "resourceNamespace", - "in": "path", - "description": "The Namespace of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceType", - "in": "path", - "description": "The type of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceName", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessmentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}": { + "get": { + "x-ms-examples": { + "Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource": { + "$ref": "./examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json" + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}": { - "get": { - "x-ms-examples": { - "Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource": { - "$ref": "./examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json" - } - }, - "description": "Gets a server vulnerability assessment onboarding statuses on a given resource.", - "tags": [ - "ServerVulnerabilityAssessments" - ], - "operationId": "ServerVulnerabilityAssessment_Get", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, - { - "name": "resourceNamespace", - "in": "path", - "description": "The Namespace of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceType", - "in": "path", - "description": "The type of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceName", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string" - }, - { - "name": "serverVulnerabilityAssessment", - "in": "path", - "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", - "required": true, - "type": "string", - "enum": ["default"] - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - }, - "put": { - "x-ms-examples": { - "Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security": { - "$ref": "./examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json" - } - }, - "description": "Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it", - "tags": [ - "ServerVulnerabilityAssessment" - ], - "operationId": "ServerVulnerabilityAssessment_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, - { - "name": "resourceNamespace", - "in": "path", - "description": "The Namespace of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceType", - "in": "path", - "description": "The type of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceName", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string" - }, - { - "name": "serverVulnerabilityAssessment", - "in": "path", - "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", - "required": true, - "type": "string", - "enum": ["default"] - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - }, - "delete": { - "x-ms-examples": { - "Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.": { - "$ref": "./examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json" - } - }, - "description": "Removing server vulnerability assessment from a resource.", - "tags": [ - "ServerVulnerabilityAssessment" - ], - "operationId": "ServerVulnerabilityAssessment_Delete", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, - { - "name": "resourceNamespace", - "in": "path", - "description": "The Namespace of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceType", - "in": "path", - "description": "The type of the resource.", - "required": true, - "type": "string" - }, - { - "name": "resourceName", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string" - }, - { - "name": "serverVulnerabilityAssessment", - "in": "path", - "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", - "required": true, - "type": "string", - "enum": ["default"] - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "No Content - Resource does not exist" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } + "description": "Gets a server vulnerability assessment onboarding statuses on a given resource.", + "tags": [ + "ServerVulnerabilityAssessments" + ], + "operationId": "ServerVulnerabilityAssessment_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": [ + "default" + ] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" } - } - }, - "definitions": { - "ServerVulnerabilityAssessmentsList" : { - "type": "object", - "description": "List of server vulnerability assessments", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" } + } + } + }, + "put": { + "x-ms-examples": { + "Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security": { + "$ref": "./examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json" + } }, - "ServerVulnerabilityAssessment": { - "type": "object", - "description": "Describes the server vulnerability assessment details on a resource", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties" - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/Resource" - } + "description": "Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it", + "tags": [ + "ServerVulnerabilityAssessment" + ], + "operationId": "ServerVulnerabilityAssessment_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": [ + "default" ] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "delete": { + "x-ms-examples": { + "Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.": { + "$ref": "./examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json" + } }, - "ServerVulnerabilityAssessmentProperties": { - "type": "object", - "description": "describes ServerVulnerabilityAssessment properties.", - "properties": { - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioningState of the vulnerability assessment capability on the VM", - "enum": ["Succeeded", "Failed", "Canceled", "Provisioning", "Deprovisioning"] - } + "description": "Removing server vulnerability assessment from a resource.", + "tags": [ + "ServerVulnerabilityAssessment" + ], + "operationId": "ServerVulnerabilityAssessment_Delete", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "name": "resourceNamespace", + "in": "path", + "description": "The Namespace of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "The type of the resource.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "serverVulnerabilityAssessment", + "in": "path", + "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.", + "required": true, + "type": "string", + "enum": [ + "default" + ] + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content - Resource does not exist" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" } + } + } + } + } + }, + "definitions": { + "ServerVulnerabilityAssessmentsList": { + "type": "object", + "description": "List of server vulnerability assessments", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVulnerabilityAssessment" + } + } + } + }, + "ServerVulnerabilityAssessment": { + "type": "object", + "description": "Describes the server vulnerability assessment details on a resource", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ] + }, + "ServerVulnerabilityAssessmentProperties": { + "type": "object", + "description": "describes ServerVulnerabilityAssessment properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioningState of the vulnerability assessment capability on the VM", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Deprovisioning" + ] } + } } -} \ No newline at end of file + } +} From 97b97b8ee294a47dc248272b11adb4082fa74db7 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Tue, 2 Jul 2019 12:08:47 -0700 Subject: [PATCH 220/495] changed java naming of devtestlab to devtestlabs, added java readme (#6535) --- .../resource-manager/readme.java.md | 62 +++++++++++++++++++ .../devtestlabs/resource-manager/readme.md | 62 +------------------ 2 files changed, 63 insertions(+), 61 deletions(-) create mode 100644 specification/devtestlabs/resource-manager/readme.java.md diff --git a/specification/devtestlabs/resource-manager/readme.java.md b/specification/devtestlabs/resource-manager/readme.java.md new file mode 100644 index 000000000000..353933d0fcb5 --- /dev/null +++ b/specification/devtestlabs/resource-manager/readme.java.md @@ -0,0 +1,62 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.devtestlabs +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs +service-name: DevTestLabs +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-09 + - tag: package-2016-05 + - tag: package-2015-05-preview +``` + +### Tag: package-2018-09 and java + +These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.devtestlabs.v2018_09_15 + output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2018_09_15 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-05 and java + +These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.devtestlabs.v2016_05_15 + output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2016_05_15 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-05-preview and java + +These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.devtestlabs.v2015_05_21_preview + output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2015_05_21_preview +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index 929dab3a3ae8..a0e44fa1e35d 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -127,64 +127,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.devtestlabs -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-09 - - tag: package-2016-05 - - tag: package-2015-05-preview -``` - -### Tag: package-2018-09 and java - -These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.devtestlab.v2018_09_15 - output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2018_09_15 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2016-05 and java - -These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.devtestlab.v2016_05_15 - output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2016_05_15 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-05-preview and java - -These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.devtestlab.v2015_05_21_preview - output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2015_05_21_preview -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From d45be44df74008ea3921777f4a588e4baaa2b158 Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Tue, 2 Jul 2019 12:31:13 -0700 Subject: [PATCH 221/495] Remove Ruby SDK check (#6534) --- azure-pipelines.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c751cfedb794..4693cf53101a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -106,9 +106,6 @@ jobs: timeoutInMinutes: 120 strategy: matrix: - ruby: - AZURE_SDK_REPO: azure-sdk-for-ruby - AZURE_SDK_PARAMS: '' java: AZURE_SDK_REPO: azure-sdk-for-java AZURE_SDK_PARAMS: '' From 1d374437a8aee2661f8865ae1fe1ebd2af009fcf Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 2 Jul 2019 15:42:42 -0400 Subject: [PATCH 222/495] chore: jsonfmt blueprint (#6516) --- .../preview/2018-11-01-preview/blueprintAssignment.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json index 854a5822aec2..51375d097579 100644 --- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json +++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json @@ -42,8 +42,12 @@ "operationId": "Assignments_CreateOrUpdate", "description": "Create or update a blueprint assignment.", "x-ms-examples": { - "Assignment with system-assigned managed identity": { "$ref": "./examples/BlueprintAssignment_Create_SystemAssignedMSI.json" }, - "Assignment with user-assigned managed identity": { "$ref": "./examples/BlueprintAssignment_Create_UserAssignedMSI.json" } + "Assignment with system-assigned managed identity": { + "$ref": "./examples/BlueprintAssignment_Create_SystemAssignedMSI.json" + }, + "Assignment with user-assigned managed identity": { + "$ref": "./examples/BlueprintAssignment_Create_UserAssignedMSI.json" + } }, "parameters": [ { From b3173657ec3c332e558e7bce847f3c1faa6a1765 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Tue, 2 Jul 2019 15:20:38 -0700 Subject: [PATCH 223/495] API version is a client constant (#6542) --- .../stable/2019-06-01/managedservices.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json index 76e52bdf361e..6f4a6b03172c 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json @@ -816,7 +816,6 @@ "name": "api-version", "in": "query", "required": true, - "x-ms-parameter-location": "method", "type": "string", "description": "The API version to use for this operation." }, From 1dbfefab976e588d5c3633edbe8edec89b31032e Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Tue, 2 Jul 2019 16:02:42 -0700 Subject: [PATCH 224/495] Remove Ruby after_scripts for CDN (#6544) --- specification/cdn/resource-manager/readme.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 2ab64af3ab52..100410d50e6d 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -119,8 +119,6 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby - after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_cdn'] ``` From 7f5cd7bcdf6ac15c988b52333d21d0a48a84f329 Mon Sep 17 00:00:00 2001 From: Yaohai Zheng Date: Wed, 3 Jul 2019 08:18:47 +0800 Subject: [PATCH 225/495] SQL virtual machine: add java readme. (#6546) --- .../resource-manager/readme.java.md | 35 +++++++++++++++++++ .../resource-manager/readme.md | 5 +++ 2 files changed, 40 insertions(+) create mode 100644 specification/sqlvirtualmachine/resource-manager/readme.java.md diff --git a/specification/sqlvirtualmachine/resource-manager/readme.java.md b/specification/sqlvirtualmachine/resource-manager/readme.java.md new file mode 100644 index 000000000000..42d4e006deb8 --- /dev/null +++ b/specification/sqlvirtualmachine/resource-manager/readme.java.md @@ -0,0 +1,35 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.sqlvirtualmachine +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-sqlvirtualmachine +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-03-01-preview +``` + +### Tag: package-2017-03-01-preview and java + +These settings apply only when `--tag=package-2017-03-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-03-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/sqlvirtualmachine/resource-manager/v2017_03_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/sqlvirtualmachine/resource-manager/readme.md b/specification/sqlvirtualmachine/resource-manager/readme.md index 6067c592d82e..4caccdf6fb28 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-sdk-for-java ``` @@ -104,3 +105,7 @@ python: ### Go See configuration in [readme.go.md](./readme.go.md) + +### Java + +See configuration in [readme.java.md](./readme.java.md) From 2abef0bc7b83c588b75d353e372ac136a28c197f Mon Sep 17 00:00:00 2001 From: Mohamed Abbas Date: Wed, 3 Jul 2019 11:24:27 +0200 Subject: [PATCH 226/495] Update LUIS Runtime swagger to an auto generated version (#6359) * Update LUIS Runtime swagger to an auto generated version * Update the datetime in the examples * Fix typo * Stop generating v2.0 SDK for Go * add runtime_2_0 back to Go SDK build --- .../Runtime/preview/v3.0/LUIS-Runtime.json | 488 ++++++++++-------- ...PredictionsFromEndpointViaPostRequest.json | 2 +- ...PredictionsFromEndpointViaPostRequest.json | 2 +- 3 files changed, 265 insertions(+), 227 deletions(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json index df09eeccfb82..50c171536568 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json @@ -1,8 +1,8 @@ { "swagger": "2.0", "info": { - "version": "3.0-preview", - "title": "LUIS Runtime Client" + "title": "LUIS Runtime Client", + "version": "3.0-preview" }, "x-ms-parameterized-host": { "hostTemplate": "{Endpoint}/luis/v3.0-preview", @@ -30,43 +30,65 @@ "get": { "description": "Gets the predictions for an application version.", "operationId": "Prediction_GetVersionPredictionGET", + "produces": [ + "application/json" + ], "parameters": [ { - "$ref": "#/parameters/AppIdInPath" + "in": "path", + "name": "appId", + "description": "The application ID.", + "required": true, + "type": "string", + "format": "uuid" }, { - "$ref": "#/parameters/VersionIdInPath" + "in": "path", + "name": "versionId", + "description": "The application version ID.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Query" + "in": "query", + "name": "query", + "description": "The query to predict.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Verbose" + "in": "query", + "name": "verbose", + "description": "Indicates whether to get extra metadata for the entities predictions or not.", + "type": "boolean" }, { - "$ref": "#/parameters/ShowAllIntents" + "in": "query", + "name": "show-all-intents", + "description": "Indicates whether to return all the intents in the response or just the top intent.", + "type": "boolean" }, { - "$ref": "#/parameters/Log" + "in": "query", + "name": "log", + "description": "Indicates whether to log the endpoint query or not.", + "type": "boolean" } ], "responses": { "200": { - "description": "The prediction for the supplied query", + "description": "The prediction for the supplied query.", "schema": { "$ref": "#/definitions/PredictionResponse" } }, "default": { - "description": "unexpected error", + "description": "Unexpected error.", "schema": { "$ref": "#/definitions/Error" } } }, - "produces": [ - "application/json" - ], "x-ms-examples": { "Successful Get Version Predictions From Endpoint Via Get request": { "$ref": "./examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaGetRequest.json" @@ -76,43 +98,70 @@ "post": { "description": "Gets the predictions for an application version.", "operationId": "Prediction_GetVersionPrediction", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "parameters": [ { - "$ref": "#/parameters/AppIdInPath" + "in": "path", + "name": "appId", + "description": "The application ID.", + "required": true, + "type": "string", + "format": "uuid" }, { - "$ref": "#/parameters/VersionIdInPath" + "in": "path", + "name": "versionId", + "description": "The application version ID.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Verbose" + "in": "query", + "name": "verbose", + "description": "Indicates whether to get extra metadata for the entities predictions or not.", + "type": "boolean" }, { - "$ref": "#/parameters/ShowAllIntents" + "in": "query", + "name": "show-all-intents", + "description": "Indicates whether to return all the intents in the response or just the top intent.", + "type": "boolean" }, { - "$ref": "#/parameters/Log" + "in": "query", + "name": "log", + "description": "Indicates whether to log the endpoint query or not.", + "type": "boolean" }, { - "$ref": "#/parameters/PredictionRequest" + "in": "body", + "name": "predictionRequest", + "description": "The prediction request parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PredictionRequest" + } } ], "responses": { "200": { - "description": "The prediction for the supplied query", + "description": "The prediction for the supplied query.", "schema": { "$ref": "#/definitions/PredictionResponse" } }, "default": { - "description": "unexpected error", + "description": "Unexpected error.", "schema": { "$ref": "#/definitions/Error" } } }, - "produces": [ - "application/json" - ], "x-ms-examples": { "Successful Get Version Predictions From Endpoint Via Post request": { "$ref": "./examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json" @@ -124,38 +173,60 @@ "get": { "description": "Gets the predictions for an application slot.", "operationId": "Prediction_GetSlotPredictionGET", + "produces": [ + "application/json" + ], "parameters": [ { - "$ref": "#/parameters/AppIdInPath" + "in": "path", + "name": "appId", + "description": "The application ID.", + "required": true, + "type": "string", + "format": "uuid" }, { - "$ref": "#/parameters/SlotNameInPath" + "in": "path", + "name": "slotName", + "description": "The application slot name.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Query" + "in": "query", + "name": "query", + "description": "The query to predict.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Verbose" + "in": "query", + "name": "verbose", + "description": "Indicates whether to get extra metadata for the entities predictions or not.", + "type": "boolean" }, { - "$ref": "#/parameters/ShowAllIntents" + "in": "query", + "name": "show-all-intents", + "description": "Indicates whether to return all the intents in the response or just the top intent.", + "type": "boolean" }, { - "$ref": "#/parameters/Log" + "in": "query", + "name": "log", + "description": "Indicates whether to log the endpoint query or not.", + "type": "boolean" } ], - "produces": [ - "application/json" - ], "responses": { "200": { - "description": "The prediction for the supplied query", + "description": "The prediction for the supplied query.", "schema": { "$ref": "#/definitions/PredictionResponse" } }, "default": { - "description": "unexpected error", + "description": "Unexpected error.", "schema": { "$ref": "#/definitions/Error" } @@ -170,43 +241,70 @@ "post": { "description": "Gets the predictions for an application slot.", "operationId": "Prediction_GetSlotPrediction", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "parameters": [ { - "$ref": "#/parameters/AppIdInPath" + "in": "path", + "name": "appId", + "description": "The application ID.", + "required": true, + "type": "string", + "format": "uuid" }, { - "$ref": "#/parameters/SlotNameInPath" + "in": "path", + "name": "slotName", + "description": "The application slot name.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/Verbose" + "in": "query", + "name": "verbose", + "description": "Indicates whether to get extra metadata for the entities predictions or not.", + "type": "boolean" }, { - "$ref": "#/parameters/ShowAllIntents" + "in": "query", + "name": "show-all-intents", + "description": "Indicates whether to return all the intents in the response or just the top intent.", + "type": "boolean" }, { - "$ref": "#/parameters/Log" + "in": "query", + "name": "log", + "description": "Indicates whether to log the endpoint query or not.", + "type": "boolean" }, { - "$ref": "#/parameters/PredictionRequest" + "in": "body", + "name": "predictionRequest", + "description": "The prediction request parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PredictionRequest" + } } ], "responses": { "200": { - "description": "The prediction for the supplied query", + "description": "The prediction for the supplied query.", "schema": { "$ref": "#/definitions/PredictionResponse" } }, "default": { - "description": "unexpected error", + "description": "Unexpected error.", "schema": { "$ref": "#/definitions/Error" } } }, - "produces": [ - "application/json" - ], "x-ms-examples": { "Successful Get Slot Predictions From Endpoint Via Post request": { "$ref": "./examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json" @@ -216,63 +314,17 @@ } }, "definitions": { - "PredictionRequest": { - "type": "object", - "description": "Represents the prediction request parameters.", - "required": [ - "query" - ], - "properties": { - "query": { - "description": "The query to predict", - "type": "string" - }, - "options": { - "description": "The custom options defined for this request.", - "$ref": "#/definitions/PredictionRequestOptions" - }, - "externalEntities": { - "description": "The externally predicted entities for this request", - "type": "array", - "items": { - "$ref": "#/definitions/ExternalEntity" - } - }, - "dynamicLists": { - "description": "The dynamically created list entities for this request", - "type": "array", - "items": { - "$ref": "#/definitions/DynamicList" - } - } - } - }, - "PredictionRequestOptions": { - "type": "object", - "description": "The custom options for the prediction request.", - "properties": { - "datetimeReference": { - "type": "string", - "format": "date-time", - "description": "The reference DateTime used for predicting datetime entities." - }, - "overridePredictions": { - "type": "boolean", - "description": "Whether to make the external entities resolution override the predictions if an overlap occurs." - } - } - }, "PredictionResponse": { - "type": "object", "description": "Represents the prediction response.", "required": [ "query", "prediction" ], + "type": "object", "properties": { "query": { - "type": "string", - "description": "The query used in the prediction." + "description": "The query used in the prediction.", + "type": "string" }, "prediction": { "description": "The prediction of the requested query.", @@ -281,7 +333,6 @@ } }, "Prediction": { - "type": "object", "description": "Represents the prediction of a query.", "required": [ "normalizedQuery", @@ -289,29 +340,30 @@ "intents", "entities" ], + "type": "object", "properties": { "normalizedQuery": { - "type": "string", - "description": "The query after pre-processing and normalization." + "description": "The query after pre-processing and normalization.", + "type": "string" }, "alteredQuery": { - "type": "string", - "description": "The query after spell checking. Only set if spell check was enabled and a spelling mistake was found." + "description": "The query after spell checking. Only set if spell check was enabled and a spelling mistake was found.", + "type": "string" }, "topIntent": { - "type": "string", - "description": "The name of the top scoring intent." + "description": "The name of the top scoring intent.", + "type": "string" }, "intents": { - "type": "object", "description": "A dictionary representing the intents that fired.", + "type": "object", "additionalProperties": { "$ref": "#/definitions/Intent" } }, "entities": { - "type": "object", "description": "The dictionary representing the entities that fired.", + "type": "object", "additionalProperties": {} }, "sentiment": { @@ -321,12 +373,13 @@ } }, "Intent": { - "type": "object", "description": "Represents an intent prediction.", + "type": "object", "properties": { "score": { - "type": "number", - "description": "The score of the fired intent." + "format": "float", + "description": "The score of the fired intent.", + "type": "number" }, "childApp": { "description": "The prediction of the dispatched application.", @@ -335,42 +388,121 @@ } }, "Sentiment": { - "type": "object", "description": "The result of the sentiment analysis.", "required": [ "score" ], + "type": "object", "properties": { + "label": { + "description": "The label of the sentiment analysis result.", + "type": "string" + }, "score": { - "type": "number", - "description": "The sentiment score of the query." + "format": "float", + "description": "The sentiment score of the query.", + "type": "number" + } + } + }, + "Error": { + "description": "Represents the error that occurred.", + "required": [ + "error" + ], + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ErrorBody" + } + } + }, + "ErrorBody": { + "description": "Represents the definition of the error that occurred.", + "required": [ + "code", + "message" + ], + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string" }, - "label": { - "type": "string", - "description": "The label of the sentiment analysis result." + "message": { + "description": "The error message.", + "type": "string" } } }, - "ExternalEntity": { + "PredictionRequest": { + "description": "Represents the prediction request parameters.", + "required": [ + "query" + ], "type": "object", + "properties": { + "query": { + "description": "The query to predict.", + "type": "string" + }, + "options": { + "description": "The custom options defined for this request.", + "$ref": "#/definitions/PredictionRequestOptions" + }, + "externalEntities": { + "description": "The externally predicted entities for this request.", + "type": "array", + "items": { + "$ref": "#/definitions/ExternalEntity" + } + }, + "dynamicLists": { + "description": "The dynamically created list entities for this request.", + "type": "array", + "items": { + "$ref": "#/definitions/DynamicList" + } + } + } + }, + "PredictionRequestOptions": { + "description": "The custom options for the prediction request.", + "type": "object", + "properties": { + "datetimeReference": { + "format": "date-time", + "description": "The reference DateTime used for predicting datetime entities.", + "type": "string" + }, + "overridePredictions": { + "description": "Whether to make the external entities resolution override the predictions if an overlap occurs.", + "type": "boolean" + } + } + }, + "ExternalEntity": { "description": "Defines a user predicted entity that extends an already existing one.", "required": [ "entityName", "startIndex", "entityLength" ], + "type": "object", "properties": { "entityName": { - "type": "string", - "description": "The name of the entity to extend." + "description": "The name of the entity to extend.", + "type": "string" }, "startIndex": { - "type": "integer", - "description": "The start character index of the predicted entity." + "format": "int32", + "description": "The start character index of the predicted entity.", + "type": "integer" }, "entityLength": { - "type": "integer", - "description": "The length of the predicted entity." + "format": "int32", + "description": "The length of the predicted entity.", + "type": "integer" }, "resolution": { "description": "A user supplied custom resolution to return as the entity's prediction." @@ -378,20 +510,20 @@ } }, "DynamicList": { - "type": "object", "description": "Defines an extension for a list entity.", "required": [ "listEntityName", "requestLists" ], + "type": "object", "properties": { "listEntityName": { - "type": "string", - "description": "The name of the list entity to extend." + "description": "The name of the list entity to extend.", + "type": "string" }, "requestLists": { - "type": "array", "description": "The lists to append on the extended list entity.", + "type": "array", "items": { "$ref": "#/definitions/RequestList" } @@ -399,125 +531,31 @@ } }, "RequestList": { - "type": "object", "description": "Defines a sub-list to append to an existing list entity.", "required": [ "canonicalForm" ], + "type": "object", "properties": { "name": { - "type": "string", - "description": "The name of the sub-list." + "description": "The name of the sub-list.", + "type": "string" }, "canonicalForm": { - "type": "string", - "description": "The canonical form of the sub-list." + "description": "The canonical form of the sub-list.", + "type": "string" }, "synonyms": { - "type": "array", "description": "The synonyms of the canonical form.", + "type": "array", "items": { "type": "string" } } } - }, - "Error": { - "type": "object", - "description": "Represents the error that occurred.", - "required": [ - "error" - ], - "properties": { - "error": { - "$ref": "#/definitions/ErrorBody" - } - } - }, - "ErrorBody": { - "type": "object", - "description": "Represents the definition of the error that occurred.", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - } - } } }, "parameters": { - "AppIdInPath": { - "name": "appId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid", - "description": "The application ID.", - "x-ms-parameter-location": "method" - }, - "VersionIdInPath": { - "name": "versionId", - "in": "path", - "description": "The application version ID.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SlotNameInPath": { - "name": "slotName", - "in": "path", - "description": "The application slot name.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "Query": { - "name": "query", - "in": "query", - "description": "The query to predict.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "Verbose": { - "name": "verbose", - "in": "query", - "description": "Indicates whether to get extra metadata for the entities predictions or not.", - "type": "boolean", - "x-ms-parameter-location": "method" - }, - "ShowAllIntents": { - "name": "show-all-intents", - "in": "query", - "description": "Indicates whether to return all the intents in the response or just the top intent.", - "type": "boolean", - "x-ms-parameter-location": "method" - }, - "Log": { - "name": "log", - "in": "query", - "description": "Indicates whether to log the endpoint query or not.", - "type": "boolean", - "x-ms-parameter-location": "method" - }, - "PredictionRequest": { - "name": "predictionRequest", - "in": "body", - "description": "The prediction request parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/PredictionRequest" - }, - "x-ms-parameter-location": "method" - }, "Endpoint": { "name": "Endpoint", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", @@ -528,4 +566,4 @@ "x-ms-skip-url-encoding": true } } -} +} \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json index 0f1a054a3015..cc69253c04a0 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json @@ -7,7 +7,7 @@ "predictionRequest": { "query": "forward to frank 30 dollars through HSBC", "options": { - "datetimeReference": "2015-02-13T13:15:00" + "datetimeReference": "2015-02-13T13:15:00.000Z" }, "externalEntities": [ { diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json index 1e7b109d2996..3ffa8f619d8c 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json @@ -7,7 +7,7 @@ "predictionRequest": { "query": "forward to frank 30 dollars through HSBC", "options": { - "datetimeReference": "2015-02-13T13:15:00" + "datetimeReference": "2015-02-13T13:15:00.000Z" }, "externalEntities": [ { From 505934f9a82ef4b4c15cf2c317055e189b973d46 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 3 Jul 2019 05:42:05 -0400 Subject: [PATCH 227/495] chore: jsonfmt healthcareapis (#6529) --- .../examples/ServiceCreate.json | 57 +++++++++++++++---- .../examples/ServiceGet.json | 19 +++++-- .../examples/ServiceList.json | 19 +++++-- .../examples/ServiceListByResourceGroup.json | 19 +++++-- .../examples/ServicePatch.json | 19 +++++-- 5 files changed, 105 insertions(+), 28 deletions(-) diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json index 432394634ab2..525a5eacaff5 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json @@ -23,12 +23,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } @@ -61,12 +72,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } @@ -98,12 +120,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json index 08bc75f6c0e8..34a87cee468d 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json @@ -31,12 +31,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json index 6df13aab9778..b489bcc1779d 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json @@ -31,12 +31,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json index c0f8a9abc692..06396f3dc97f 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json @@ -32,12 +32,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json index 18ab73972947..54c299513b12 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json @@ -40,12 +40,23 @@ "authenticationConfiguration": { "authority": "https://login.microsoftonline.com/common", "audience": "https://azurehealthcareapis.com", - "smartProxyEnabled": true + "smartProxyEnabled": true }, "corsConfiguration": { - "origins": ["*"], - "headers": ["*"], - "methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"], + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], "maxAge": 1440, "allowCredentials": false } From 3f9e277b56d9a86d79ed49b79a656c0002e29a3f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 3 Jul 2019 13:05:59 -0400 Subject: [PATCH 228/495] fix: close EnterpriseKnowledgeGraph go fence (#6547) * fix: close EnterpriseKnowledgeGraph go fench * fix Go SDK build --- .../resource-manager/readme.go.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md index b15cdf7f29fa..80040132bf08 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md @@ -5,7 +5,7 @@ These settings apply only when `--go` is specified on the command line. ``` yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION - namespace: EnterpriseKnowledgeGraphService + namespace: enterpriseknowledgegraphservice clear-output-folder: true ``` @@ -13,21 +13,12 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2018-12-03 - - tag: package-2018-12-03-preview ``` -### Tag: package-2018-12 and go -These settings apply only when `--tag=package-2018-12 --go` is specified on the command line. +### Tag: package-2018-12-03 and go +These settings apply only when `--tag=package-2018-12-03 --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -``` yaml $(tag) == 'package-2018-12' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/2018-12-03/$(namespace) +``` yaml $(tag) == 'package-2018-12-03' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/2018-12-03/$(namespace) ``` - -### Tag: package-2018-12-preview and go -These settings apply only when `--tag=package-2018-12-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-12-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/2018-12-31-preview/$(namespace) - From 98dd454b3c85f8fdf5102760ac50aad370e8b433 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 3 Jul 2019 15:34:39 -0400 Subject: [PATCH 229/495] chore: jsonfmt sqlvirtualmachine (#6543) --- .../examples/CreateOrUpdateSqlVirtualMachineMAX.json | 4 ++-- .../preview/2017-03-01-preview/sqlvm.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json index 08e5d95aa0aa..8dd58dbc7138 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/examples/CreateOrUpdateSqlVirtualMachineMAX.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg", - "sqlVirtualMachineName":"testvm", + "sqlVirtualMachineName": "testvm", "api-version": "2017-03-01-preview", "parameters": { "location": "northeurope", @@ -88,4 +88,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json index 9beaa58f15b5..7a534557f3ca 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json @@ -1801,4 +1801,4 @@ } } } -} \ No newline at end of file +} From 9f7b988f42a2325065005e17d172145cd57c077f Mon Sep 17 00:00:00 2001 From: Karthik Subramanian Date: Wed, 3 Jul 2019 12:36:27 -0700 Subject: [PATCH 230/495] [TimeSeriesInsights] Updates to Hierarchy API and take parameter in GetEvents, GetSeries and progress in all query APIs (#6536) * Fix or suppress spec violations Fix R2016 by making PATCH body properties optional. Suppress the remaining 4 violations that are confirmed as false positives. * Try removing 2nd top-level heading, which _may_ have been causing a linter warning. * Fix extra indention which prevented linter from running. * Added dataStringComparisonBehavior parameter to reference data put/update spec. * Fixed grammar. * adding partitionkeyProperty to environmentInfo * changing property name * changing modelAsString * Initial checkin of spec. Unchanged from GA release other than version. * Remove .orig files * Fix validation error by removing IoTHub ES from List ES example response * Add extra example that was missing from preview spec. * Add long-term environment to resource hierarchy, and update examples. * Switch to model-as-string for enums. Restore EnvironmentResource's inheritance from TrackedResource. * Upsate sku description * Add new TSI preview api-version to readme.md. * Add suppressions for false-positive linter failures. * Test suppression failures * Adding preview package tag to several other places in readme.md * Add preview package to the readme.go.md file * Remove invalid required property from EnvironmentCreateOrUpdateParameters * Initial version of data plane swagger spec for PAYG (Preview) SKU. * Added missing Readme.md * Fixed name of readme * Fixed path to swagger json * Attempt to fix readme * Apply suggestions from code review Co-Authored-By: dmdenmsft * Update timeseriesinsights.json * Update timeseriesinsights.json * Added link to oav issue * Added changes for take parameter and hierarchy navigation updates. * Fix model validation errors. * Fix more model validation errors. * Update specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json Co-Authored-By: Nick Schonning * Update custom-words.txt * Fix file format, remove unused files. --- custom-words.txt | 2 + .../examples/InstancesSearchPage1.json | 44 --- .../examples/InstancesSearchPage2.json | 45 --- .../examples/InstancesSearchPage3.json | 17 - .../examples/QueryAggregateSeriesPage1.json | 1 + .../examples/QueryAggregateSeriesPage2.json | 3 +- .../examples/QueryGetEventsPage1.json | 1 + .../examples/QueryGetEventsPage2.json | 1 + .../examples/QueryGetEventsPage3.json | 1 + .../examples/QueryGetEventsPage4.json | 3 +- .../examples/QueryGetEventsWithTakePage1.json | 40 +++ .../examples/QueryGetEventsWithTakePage2.json | 87 +++++ .../examples/QueryGetSeriesPage1.json | 1 + .../examples/QueryGetSeriesPage2.json | 1 + .../examples/QueryGetSeriesPage3.json | 3 +- .../examples/QueryGetSeriesWithTakePage1.json | 43 +++ .../examples/QueryGetSeriesWithTakePage2.json | 76 +++++ .../examples/SearchInstancesDefault.json | 48 +++ .../SearchInstancesExpandHierarchiesOnly.json | 57 ++++ ...InstancesHierarchiesDefaultInputPage1.json | 106 ++++++ ...InstancesHierarchiesDefaultInputPage2.json | 77 +++++ ...InstancesHierarchiesDefaultInputPage3.json | 66 ++++ .../examples/SearchInstancesOneLevel.json | 49 +++ .../examples/SearchInstancesRecursive.json | 58 ++++ .../SearchInstancesUntilChildren.json | 64 ++++ .../timeseriesinsights.json | 308 ++++++++++++++++-- 26 files changed, 1071 insertions(+), 131 deletions(-) delete mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json delete mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json delete mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json diff --git a/custom-words.txt b/custom-words.txt index 43854b816d59..a18bdae0d327 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1279,6 +1279,8 @@ substatuses substringof subtasksinfo subteam +subtree +subtrees subword subwords sudoer diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json deleted file mode 100644 index c201006a93fd..000000000000 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage1.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2018-11-01-preview", - "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", - "parameters": { - "searchString": "floor 100" - } - }, - "responses": { - "200": { - "body": { - "instances": [ - { - "timeSeriesId": [ - "006dfc2d-0324-4937-998c-d16f3b4f1952", - "T1" - ], - "highlights": { - "timeSeriesIds": [ - "006dfc2d-0324-4937-998c-d16f3b4f1952", - "T1" - ], - "type": "DefaultType", - "name": "instance1", - "description": "floor 100", - "hierarchyIds": [ - "1643004c-0a84-48a5-80e5-7688c5ae9295" - ], - "instanceFieldNames": [ - "state", - "city" - ], - "instanceFieldValues": [ - "California", - "Los Angeles" - ] - } - } - ], - "instancesContinuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" - } - } - } -} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json deleted file mode 100644 index 82f18fdeecf3..000000000000 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2018-11-01-preview", - "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", - "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=", - "parameters": { - "searchString": "floor 100" - } - }, - "responses": { - "200": { - "body": { - "instances": [ - { - "timeSeriesId": [ - "18672e3d-2beb-4007-9846-042b09ef3c72", - "T1" - ], - "highlights": { - "timeSeriesIds": [ - "18672e3d-2beb-4007-9846-042b09ef3c72", - "T1" - ], - "type": "DefaultType", - "name": "instance1", - "description": "floor 100", - "hierarchyIds": [ - "1643004c-0a84-48a5-80e5-7688c5ae9295" - ], - "instanceFieldNames": [ - "state", - "city" - ], - "instanceFieldValues": [ - "California", - "Los Angeles" - ] - } - } - ], - "instancesContinuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" - } - } - } -} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json deleted file mode 100644 index d32ea0262194..000000000000 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSearchPage3.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2018-11-01-preview", - "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", - "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=", - "parameters": { - "searchString": "floor 100" - } - }, - "responses": { - "200": { - "body": { - "instances": [] - } - } - } -} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json index 1d6d698130d6..927530c2be95 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json @@ -53,6 +53,7 @@ "responses": { "200": { "body": { + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json index 64cdb0420ba5..02e41bcb8205 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json @@ -136,7 +136,8 @@ null ] } - ] + ], + "progress": 100.0 } } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json index 8ccd3a16d2ac..a67cee0911c6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json @@ -31,6 +31,7 @@ "responses": { "200": { "body": { + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json index c5632f969536..482e6a171bbf 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json @@ -78,6 +78,7 @@ ] } ], + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json index faa557dcdd37..8a42d4e8087c 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json @@ -51,6 +51,7 @@ ] } ], + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json index 635bb387b0c3..cedfa5dd05cc 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json @@ -33,7 +33,8 @@ "200": { "body": { "timestamps": [], - "properties": [] + "properties": [], + "progress": 100.0 } } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json new file mode 100644 index 000000000000..759c1a333a30 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "getEvents": { + "timeSeriesId": [ + "006dfc2d-0324-4937-998c-d16f3b4f1952", + "T1" + ], + "searchSpan": { + "from": "2016-08-01T00:00:00Z", + "to": "2016-08-01T00:16:50Z" + }, + "filter": { + "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')" + }, + "projectedProperties": [ + { + "name": "Building", + "type": "String" + }, + { + "name": "Temperature", + "type": "Double" + } + ], + "take": 10 + } + } + }, + "responses": { + "200": { + "body": { + "progress": 50.0, + "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json new file mode 100644 index 000000000000..ec7bd2948dcf --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=", + "parameters": { + "getEvents": { + "timeSeriesId": [ + "006dfc2d-0324-4937-998c-d16f3b4f1952", + "T1" + ], + "searchSpan": { + "from": "2016-08-01T00:00:00Z", + "to": "2016-08-01T00:16:50Z" + }, + "filter": { + "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')" + }, + "projectedProperties": [ + { + "name": "Building", + "type": "String" + }, + { + "name": "Temperature", + "type": "Double" + } + ], + "take": 10 + } + } + }, + "responses": { + "200": { + "body": { + "timestamps": [ + "2016-08-01T00:00:10Z", + "2016-08-01T00:00:11Z", + "2016-08-01T00:00:12Z", + "2016-08-01T00:00:13Z", + "2016-08-01T00:00:14Z", + "2016-08-01T00:00:15Z", + "2016-08-01T00:00:16Z", + "2016-08-01T00:00:17Z", + "2016-08-01T00:00:18Z", + "2016-08-01T00:00:19Z" + ], + "properties": [ + { + "name": "Building", + "type": "String", + "values": [ + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium", + "Millenium" + ] + }, + { + "name": "Temperature", + "type": "Double", + "values": [ + 65.125, + 65.375, + 65.625, + 65.875, + 66.125, + 66.375, + 66.625, + 66.875, + 67.125, + 67.375 + ] + } + ], + "progress": 100.0, + "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=" + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json index d6728874a152..768d28807304 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json @@ -34,6 +34,7 @@ "responses": { "200": { "body": { + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json index ebc36eda5bbd..d795bd8c745a 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json @@ -67,6 +67,7 @@ ] } ], + "progress": 50.0, "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=" } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json index 6f586344d7d2..a138be65021e 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json @@ -46,7 +46,8 @@ 67.825 ] } - ] + ], + "progress": 100.0 } } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json new file mode 100644 index 000000000000..49c4a7535e26 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "getSeries": { + "timeSeriesId": [ + "006dfc2d-0324-4937-998c-d16f3b4f1952", + "T1" + ], + "searchSpan": { + "from": "2016-08-01T00:00:00Z", + "to": "2016-08-01T00:16:50Z" + }, + "filter": null, + "inlineVariables": { + "temperatures": { + "kind": "numeric", + "value": { + "tsx": "$event.Temperature" + }, + "filter": null, + "aggregation": { + "tsx": "avg($value)" + } + } + }, + "projectedVariables": [ + "temperatures" + ], + "take": 10 + } + } + }, + "responses": { + "200": { + "body": { + "progress": 50.0, + "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=" + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json new file mode 100644 index 000000000000..f4e7cc2f5c79 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=", + "parameters": { + "getSeries": { + "timeSeriesId": [ + "006dfc2d-0324-4937-998c-d16f3b4f1952", + "T1" + ], + "searchSpan": { + "from": "2016-08-01T00:00:00Z", + "to": "2016-08-01T00:16:50Z" + }, + "filter": null, + "inlineVariables": { + "temperatures": { + "kind": "numeric", + "value": { + "tsx": "$event.Temperature" + }, + "filter": null, + "aggregation": { + "tsx": "avg($value)" + } + } + }, + "projectedVariables": [ + "temperatures" + ], + "take": 10 + } + } + }, + "responses": { + "200": { + "body": { + "timestamps": [ + "2016-08-01T00:00:10Z", + "2016-08-01T00:00:11Z", + "2016-08-01T00:00:12Z", + "2016-08-01T00:00:13Z", + "2016-08-01T00:00:14Z", + "2016-08-01T00:00:15Z", + "2016-08-01T00:00:16Z", + "2016-08-01T00:00:17Z", + "2016-08-01T00:00:18Z", + "2016-08-01T00:00:19Z", + "2016-08-01T00:00:20Z" + ], + "properties": [ + { + "name": "temperatures", + "type": "Double", + "values": [ + 65.125, + 65.375, + 65.625, + 65.875, + 66.125, + 66.375, + 66.625, + 66.875, + 67.125, + 67.375, + 67.625 + ] + } + ], + "progress": 100.0, + "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=" + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json new file mode 100644 index 000000000000..a1e12a720c82 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100" + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [ + { + "timeSeriesId": [ + "Id1One", + "Id2One", + "1.0" + ], + "name": "instance1", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": null + }, + { + "timeSeriesId": [ + "Id1Two", + "Id2Two", + "2.0" + ], + "name": "instance2", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": null + } + ], + "hitCount": 2, + "continuationToken": null + }, + "hierarchyNodes": null + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json new file mode 100644 index 000000000000..eddf462c771c --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100", + "path": ["Location"], + "instances": null, + "hierarchies": { + "expand": { + "kind": "UntilChildren" + }, + "sort": { + "by": "Name" + }, + "pageSize": 2 + } + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [], + "hitCount": 0, + "continuationToken": null + }, + "hierarchyNodes": { + "hits": [ + { + "name": "California", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "San Diego", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + }, + { + "name": "San Francisco", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + } + ], + "hitCount": 2, + "continuationToken": null + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json new file mode 100644 index 000000000000..bf9e3a57e493 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100", + "path": null, + "instances": { + "recursive": true, + "sort": { + "by": "Rank" + }, + "highlights": true, + "pageSize": 1 + }, + "hierarchies": { + "expand": { + "kind": "UntilChildren" + }, + "sort": { + "by": "CumulativeInstanceCount" + }, + "pageSize": 1 + } + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [ + { + "timeSeriesId": [ + "Id1Two", + "Id2Two", + "2.0" + ], + "name": "instance2", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": { + "timeSeriesId": [ + "Id1Two", + "Id2Two", + "2.0" + ], + "typeName": "DefaultType", + "name": "instance2", + "description": "floor 100", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "hierarchyNames": [ + "Location" + ], + "instanceFieldNames": [ + "state", + "city" + ], + "instanceFieldValues": [ + "California", + "San Francisco" + ] + } + } + ], + "hitCount": 2, + "continuationToken": "c3sic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNTE3MDUxOTg0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=" + }, + "hierarchyNodes": { + "hits": [ + { + "name": "Location", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "California", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "San Francisco", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + } + ], + "hitCount": 2, + "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=" + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json new file mode 100644 index 000000000000..d46c48d8cb2f --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "continuationToken": "c3sic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNTE3MDUxOTg0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=", + "parameters": { + "searchString": "floor 100", + "path": null, + "instances": { + "recursive": true, + "sort": { + "by": "Rank" + }, + "highlights": true, + "pageSize": 1 + }, + "hierarchies": { + "expand": { + "kind": "UntilChildren" + }, + "sort": { + "by": "CumulativeInstanceCount" + }, + "pageSize": 1 + } + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [ + { + "timeSeriesId": [ + "Id1One", + "Id2One", + "1.0" + ], + "name": "instance1", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": { + "timeSeriesId": [ + "Id1One", + "Id2One", + "1.0" + ], + "typeName": "DefaultType", + "name": "instance1", + "description": "floor 100", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "hierarchyNames": [ + "Location" + ], + "instanceFieldNames": [ + "state", + "city" + ], + "instanceFieldValues": [ + "California", + "Los Angeles" + ] + } + } + ], + "hitCount": 2, + "continuationToken": null + }, + "hierarchyNodes": null + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json new file mode 100644 index 000000000000..5422e7021a72 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=", + "parameters": { + "searchString": "floor 100", + "path": null, + "instances": { + "recursive": true, + "sort": { + "by": "Rank" + }, + "highlights": true, + "pageSize": 1 + }, + "hierarchies": { + "expand": { + "kind": "UntilChildren" + }, + "sort": { + "by": "CumulativeInstanceCount" + }, + "pageSize": 1 + } + } + }, + "responses": { + "200": { + "body": { + "instances": null, + "hierarchyNodes": { + "hits": [ + { + "name": "Location", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "California", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "San Diego", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + } + ], + "hitCount": 2, + "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=" + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json new file mode 100644 index 000000000000..332df3ff5b45 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100", + "path": null, + "instances": { + "recursive": false, + "sort": { + "by": "DisplayName" + }, + "highlights": false, + "pageSize": 2 + }, + "hierarchies": { + "expand": { + "kind": "OneLevel" + }, + "sort": { + "by": "Name" + }, + "pageSize": 2 + } + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [], + "hitCount": 0, + "continuationToken": null + }, + "hierarchyNodes": { + "hits": [ + { + "name": "Location", + "cumulativeInstanceCount": 2, + "hierarchyNodes": null + } + ], + "hitCount": 1, + "continuationToken": null + } + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json new file mode 100644 index 000000000000..74732603fcbb --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100", + "path": null, + "instances": { + "recursive": true, + "sort": { + "by": "DisplayName" + }, + "highlights": false, + "pageSize": 2 + }, + "hierarchies": null + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [ + { + "timeSeriesId": [ + "Id1One", + "Id2One", + "1.0" + ], + "name": "instance1", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": null + }, + { + "timeSeriesId": [ + "Id1Two", + "Id2Two", + "2.0" + ], + "name": "instance2", + "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393", + "hierarchyIds": [ + "1643004c-0a84-48a5-80e5-7688c5ae9295" + ], + "highlights": null + } + ], + "hitCount": 2, + "continuationToken": null + }, + "hierarchyNodes": null + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json new file mode 100644 index 000000000000..0508357f5e48 --- /dev/null +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", + "parameters": { + "searchString": "floor 100", + "path": ["Location"], + "instances": { + "recursive": false, + "sort": { + "by": "DisplayName" + }, + "highlights": false, + "pageSize": 2 + }, + "hierarchies": { + "expand": { + "kind": "UntilChildren" + }, + "sort": { + "by": "Name" + }, + "pageSize": 2 + } + } + }, + "responses": { + "200": { + "body": { + "instances": { + "hits": [], + "hitCount": 0, + "continuationToken": null + }, + "hierarchyNodes": { + "hits": [ + { + "name": "California", + "cumulativeInstanceCount": 2, + "hierarchyNodes": { + "hits": [ + { + "name": "San Diego", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + }, + { + "name": "San Francisco", + "cumulativeInstanceCount": 1, + "hierarchyNodes": null + } + ], + "hitCount": 2, + "continuationToken": null + } + } + ], + "hitCount": 1, + "continuationToken": null + } + } + } + } +} diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json index a5aa8d44eda0..06b4a20ac489 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json @@ -303,6 +303,12 @@ "QueryGetEventsPage4": { "$ref": "./examples/QueryGetEventsPage4.json" }, + "QueryGetEventsWithTakePage1": { + "$ref": "./examples/QueryGetEventsWithTakePage1.json" + }, + "QueryGetEventsWithTakePage2": { + "$ref": "./examples/QueryGetEventsWithTakePage2.json" + }, "QueryGetSeriesPage1": { "$ref": "./examples/QueryGetSeriesPage1.json" }, @@ -311,6 +317,12 @@ }, "QueryGetSeriesPage3": { "$ref": "./examples/QueryGetSeriesPage3.json" + }, + "QueryGetSeriesWithTakePage1": { + "$ref": "./examples/QueryGetSeriesWithTakePage1.json" + }, + "QueryGetSeriesWithTakePage2": { + "$ref": "./examples/QueryGetSeriesWithTakePage2.json" } }, "parameters": [ @@ -575,14 +587,29 @@ "operationId": "TimeSeriesInstances_Search", "description": "Partial list of hits on search for time series instances based on instance attributes.", "x-ms-examples": { - "InstancesSearchPage1": { - "$ref": "./examples/InstancesSearchPage1.json" + "SearchInstancesHierarchiesDefaultInputPage1": { + "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage1.json" + }, + "SearchInstancesHierarchiesDefaultInputPage2": { + "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage2.json" }, - "InstancesSearchPage2": { - "$ref": "./examples/InstancesSearchPage2.json" + "SearchInstancesHierarchiesDefaultInputPage3": { + "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage3.json" }, - "InstancesSearchPage3": { - "$ref": "./examples/InstancesSearchPage3.json" + "SearchInstancesUntilChildren": { + "$ref": "./examples/SearchInstancesUntilChildren.json" + }, + "SearchInstancesDefault": { + "$ref": "./examples/SearchInstancesDefault.json" + }, + "SearchInstancesExpandHierarchiesOnly": { + "$ref": "./examples/SearchInstancesExpandHierarchiesOnly.json" + }, + "SearchInstancesRecursive": { + "$ref": "./examples/SearchInstancesRecursive.json" + }, + "SearchInstancesOneLevel": { + "$ref": "./examples/SearchInstancesOneLevel.json" } }, "parameters": [ @@ -597,7 +624,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/InstancesSearchRequest" + "$ref": "#/definitions/SearchInstancesRequest" }, "description": "Time series instances search request body." }, @@ -612,7 +639,7 @@ "200": { "description": "Successful search response.", "schema": { - "$ref": "#/definitions/InstancesSearchResponsePage" + "$ref": "#/definitions/SearchInstancesResponsePage" }, "headers": { "x-ms-request-id": { @@ -1015,6 +1042,11 @@ "items": { "$ref": "#/definitions/EventProperty" } + }, + "take": { + "description": "Maximum number of property values in the whole response set, not the maximum number of property values per page. Defaults to 10,000 when not set. Maximum value of take can be 250,000.", + "type": "integer", + "format": "int32" } }, "required": [ @@ -1051,6 +1083,11 @@ "additionalProperties": { "$ref": "#/definitions/Variable" } + }, + "take": { + "description": "Maximum number of property values in the whole response set, not the maximum number of property values per page. Defaults to 10,000 when not set. Maximum value of take can be 250,000.", + "type": "integer", + "format": "int32" } }, "required": [ @@ -1233,6 +1270,12 @@ "items": { "$ref": "#/definitions/PropertyValues" } + }, + "progress": { + "description": "Approximate progress of the query in percentage. It can be between 0 and 100. When the continuation token in the response is null, the progress is expected to be 100.", + "readOnly": true, + "type": "number", + "format": "double" } } } @@ -1250,7 +1293,7 @@ "values": { "description": "Values of a single property corresponding to the timestamps. May contain nulls. Type of values matches the type of property.", "type": "array", - "items": {} + "items": { } } } } @@ -1309,7 +1352,7 @@ "instanceFields": { "description": "Set of key-value pairs that contain user-defined instance properties. May be null.", "type": "object", - "additionalProperties": {} + "additionalProperties": { } } }, "required": [ @@ -1777,50 +1820,240 @@ } } }, - "InstancesSearchRequest": { - "description": "Request to search time series instances using a search string.", + "SearchInstancesRequest": { + "description": "Request to execute a search query against time series instances and return matching time series instances.", "type": "object", "properties": { "searchString": { - "description": "Search string for which the instances are required. Must be present, but can be empty string.", + "description": "Query search string that will be matched to the attributes of time series instances. Example: \"floor 100\". Case-insensitive, must be present, but can be empty string.", "type": "string" + }, + "path": { + "description": "Filter on hierarchy path of time series instances. Path is represented as array of string path segments. First element should be hierarchy name. Example: [\"Location\", \"California\"]. Optional, case sensitive, never empty and can be null.", + "type": "array", + "items": { + "type": "string" + } + }, + "instances": { + "description": "Parameters of how to return time series instances. Can be null. When both the instances and hierarchies parameters are null, the instances are returned in the results based on the default values of parameters, and hierarchies are not returned.", + "type": "object", + "$ref": "#/definitions/SearchInstancesParameters" + }, + "hierarchies": { + "description": "Parameters of how to return time series instance hierarchies. If null, hierarchies are not returned. If instances parameter is null and hierarchies parameter is not null, only hierarchies with no instances are returned.", + "type": "object", + "$ref": "#/definitions/SearchInstancesHierarchiesParameters" + } + }, + "required": [ + "searchString" + ] + }, + "SearchInstancesParameters": { + "description": "Parameters of how to return time series instances by search instances call.", + "type": "object", + "properties": { + "recursive": { + "description": "Definition of which instances are returned. When recursive is set to 'true', all instances that have the path that starts with path the path parameter are returned. When recursive is set to 'false', only instances that have the path that exactly matches the path parameter are returned. Using recursive search allows to implement search user experience, while using non-recursive search allows to implement navigation experience. Optional, default is 'true'.", + "type": "boolean" + }, + "sort": { + "description": "Definition of how time series instances are sorted before being returned by search instances call - relevance or alphabetical. Optional, default is \"Rank\".", + "type": "object", + "$ref": "#/definitions/InstancesSortParameter" + }, + "highlights": { + "description": "Definition of highlighted search results or not. When it is set to 'true', the highlighted search results are returned. When it is set to 'false', the highlighted search results are not returned. Default is 'true'.", + "type": "boolean" + }, + "pageSize": { + "description": "Maximum number of instances expected in each page of the result. Defaults to 10 when not set. Ranges from 1 to 100. If there are results beyond the page size, the user can use the continuation token to fetch the next page.", + "type": "integer", + "format": "int32" + } + } + }, + "InstancesSortParameter": { + "description": "Definition of how time series instances are sorted before being returned by search instances call.", + "type": "object", + "properties": { + "by": { + "description": "Value to use for sorting of the time series instances before being returned by search instances call. When it is set to 'Rank', the returned instances are sorted based on the relevance. When it is set to 'DisplayName', the returned results are sorted based on the display name. Display name is the name of the instance if it exists, otherwise, display name is the time series ID. Default is 'Rank'.", + "type": "string", + "enum": [ + "Rank", + "DisplayName" + ], + "x-ms-enum": { + "name": "InstancesSortBy", + "modelAsString": true + } + } + } + }, + "SearchInstancesHierarchiesParameters": { + "description": "Parameter of how to return time series instance hierarchies by search instances call.", + "type": "object", + "properties": { + "expand": { + "description": "Definition of whether to expand hierarchy nodes in the same search instances call. Optional, default is 'UntilChildren'.", + "type": "object", + "$ref": "#/definitions/HierarchiesExpandParameter" + }, + "sort": { + "description": "Definition of sorting of hierarchy nodes. Optional, default is 'CumulativeInstanceCount'.", + "type": "object", + "$ref": "#/definitions/HierarchiesSortParameter" + }, + "pageSize": { + "description": "Maximum number of hierarchies in the same level to return in the same page. Optional, default is 10 when not set. Range is from 1 to 100. If there are results beyond the page size, the continuation token can be used to fetch the next page.", + "type": "integer", + "format": "int32" + } + } + }, + "HierarchiesExpandParameter": { + "description": "Definition of whether to expand hierarchy nodes in the same search instances call.", + "type": "object", + "properties": { + "kind": { + "description": "Kind of the expansion of hierarchy nodes. When it is set to 'UntilChildren', the hierarchy nodes are expanded recursively until there is more than one child. When it is set to 'OneLevel', the hierarchies are expanded only at the single level matching path search instances parameter. Optional, default is 'UntilChildren'.", + "type": "string", + "enum": [ + "UntilChildren", + "OneLevel" + ], + "x-ms-enum": { + "name": "HierarchiesExpandKind", + "modelAsString": true + } + } + } + }, + "HierarchiesSortParameter": { + "description": "Definition of sorting of hierarchy nodes.", + "type": "object", + "properties": { + "by": { + "description": "Value to use for hierarchy node sorting. When it is set to 'CumulativeInstanceCount', the returned hierarchies are sorted based on the total instances belonging to the hierarchy node and its child hierarchy nodes. When it is set to 'Name', the returned hierarchies are sorted based on the hierarchy name. Optional, default is 'CumulativeInstanceCount'.", + "type": "string", + "enum": [ + "CumulativeInstanceCount", + "Name" + ], + "x-ms-enum": { + "name": "HierarchiesSortBy", + "modelAsString": true + } } } }, - "InstancesSearchResponsePage": { - "description": "Single page of time series instance search results.", + "SearchInstancesResponsePage": { + "description": "Single page of the search results.", "type": "object", "properties": { "instances": { - "description": "List of top instances matching the query by relevance. May be empty or null.", + "description": "The instances matching the query based on the input. May be empty or null.", + "readOnly": true, + "type": "object", + "$ref": "#/definitions/SearchInstancesResponse" + }, + "hierarchyNodes": { + "description": "The hierarchy nodes which contains the instances matching the query based on the input. May be empty or null.", + "readOnly": true, + "type": "object", + "$ref": "#/definitions/SearchHierarchyNodesResponse" + } + } + }, + "SearchInstancesResponse": { + "description": "The instances matching the query based on the input. May be empty or null.", + "type": "object", + "properties": { + "hits": { + "description": "The list of instances matching the query based on the input. May be empty.", "readOnly": true, "type": "array", "items": { "$ref": "#/definitions/InstanceHit" } }, - "instancesContinuationToken": { + "hitCount": { + "description": "Total number of instances matching the query based on the input.", + "readOnly": true, + "type": "integer", + "format": "int32" + + }, + "continuationToken": { "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.", "readOnly": true, "type": "string" } } }, + "SearchHierarchyNodesResponse": { + "description": "The hierarchy nodes which contains the instances matching the query based on the input. May be empty or null.", + "type": "object", + "properties": { + "hits": { + "description": "The list of hierarchy nodes which contains the instances matching the query based on the input. May be empty.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/HierarchyHit" + } + }, + "hitCount": { + "description": "Total number of hierarchy nodes which contains the instances matching the query based on the input.", + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "continuationToken": { + "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.", + "readOnly": true, + "type": "string" + } + } + }, "InstanceHit": { - "description": "Time series instance that is returned by instances search call. Returned instance matched the search string and contains highlighted text to be displayed to the user.", + "description": "Time series instance that is returned by instances search call. Returned instance matched the search request and contains highlighted text to be displayed to the user if it is set to 'true'.", "type": "object", "properties": { "timeSeriesId": { "description": "Time series ID of the time series instance that matched the search request.", "readOnly": true, + "type": "array", "$ref": "#/definitions/TimeSeriesId" }, + "name": { + "description": "Name of the time series instance that matched the search request. May be null.", + "readOnly": true, + "type": "string" + }, + "typeId": { + "description": "Represents the type that time series instance which matched the search request belongs to. Never null.", + "readOnly": true, + "type": "string", + "format": "uuid" + }, + "hierarchyIds": { + "description": "List of time series hierarchy IDs that time series instance which matched the search request belongs to. Cannot be used to lookup hierarchies. May be null.", + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, "highlights": { "description": "Highlighted text of time series instance to be displayed to the user. Highlighting inserts and tags in the portions of text that matched the search string. Do not use any of the highlighted properties to do further API calls.", "readOnly": true, "type": "object", "properties": { - "timeSeriesIds": { + "timeSeriesId": { "description": "List of highlighted string values of Time Series ID for displaying. Cannot be used to lookup instance.", "readOnly": true, "type": "array", @@ -1828,7 +2061,7 @@ "type": "string" } }, - "type": { + "typeName": { "description": "Highlighted time series type name that this instance belongs to.", "readOnly": true, "type": "string" @@ -1852,6 +2085,14 @@ "format": "uuid" } }, + "hierarchyNames": { + "description": "List of highlighted time series hierarchy names that time series instance belongs to. Cannot be used to lookup hierarchies. May be null.", + "readOnly": true, + "type": "array", + "items": { + "type": "string" + } + }, "instanceFieldNames": { "description": "List of highlighted time series instance field names. May be null.", "readOnly": true, @@ -1872,6 +2113,29 @@ } } }, + "HierarchyHit": { + "description": "The hierarchy node which contains the instances matching the query based on the input. May be empty or null.", + "type": "object", + "properties": { + "name": { + "description": "Name of the hierarchy node. May be empty, cannot be null.", + "readOnly": true, + "type": "string" + }, + "cumulativeInstanceCount": { + "description": "Total number of instances that belong to this node and it's subtrees matching the query.", + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "hierarchyNodes": { + "description": "Child hierarchy nodes of this node. May be empty or null.", + "readOnly": true, + "type": "object", + "$ref": "#/definitions/SearchHierarchyNodesResponse" + } + } + }, "InstancesSuggestRequest": { "description": "Request to get search string suggestions for time series instances search based on prefix text.", "type": "object", @@ -2059,7 +2323,7 @@ "required": false, "type": "string", "x-ms-parameter-location": "method", - "description": "Optional client request ID. Service records this value. Allows the service to trace operation across services, and allows the customer to contact support regarding a particular request." + "description": "Optional client request ID. Service records this value. Allows the service to trace operation across services, and allows the customer to contact support support regarding a particular request." }, "ClientSessionId": { "name": "x-ms-client-session-id", @@ -2068,7 +2332,7 @@ "required": false, "type": "string", "x-ms-parameter-location": "method", - "description": "Optional client session ID. Service records this value. Allows the service to trace a group of related operations across services, and allows the customer to contact support regarding a particular group of requests." + "description": "Optional client session ID. Service records this value. Allows the service to trace a group of related operations across services, and allows the customer to contact support support regarding a particular group of requests." } } } From e5f94c0fcc34e2db553f78122fa54d1e47ea03b6 Mon Sep 17 00:00:00 2001 From: celikcigdem Date: Wed, 3 Jul 2019 12:47:40 -0700 Subject: [PATCH 231/495] Dev/ccelik/dedicated host swagger (#6475) * Update compute.json * Added DedicatedHostGroup and DedicateHost operations * Fixed dedicated host and group examples * Removed extra comma * Fixed model validation errors * Added more examples * Modified examples * fixed PlatformFaultDomain type * parameter name fixes * Suppressed errors on DedicatedHostGroupUpdate and DedicatedHostUpdate --- .../stable/2019-03-01/compute.json | 786 ++++++++++++++++++ .../CreateOrUpdateADedicatedHost.json | 60 ++ .../CreateOrUpdateADedicatedHostGroup.json | 57 ++ .../examples/GetADedicatedHost.json | 63 ++ .../examples/GetADedicatedHostGroup.json | 33 + .../compute/resource-manager/readme.md | 9 +- 6 files changed, 1007 insertions(+), 1 deletion(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index f3d83ab1d77d..72341fb57ffa 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -601,6 +601,527 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}": { + "put": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_CreateOrUpdate", + "description": "Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedHostGroup" + }, + "description": "Parameters supplied to the Create Dedicated Host Group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostGroup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DedicatedHostGroup" + } + } + }, + "x-ms-examples": { + "Create or update a dedicated host group.": { + "$ref": "./examples/CreateOrUpdateADedicatedHostGroup.json" + } + } + }, + "patch": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_Update", + "description": "Update an dedicated host group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedHostGroupUpdate" + }, + "description": "Parameters supplied to the Update Dedicated Host Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostGroup" + } + } + } + }, + "delete": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_Delete", + "description": "Delete a dedicated host group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + }, + "get": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_Get", + "description": "Retrieves information about a dedicated host group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostGroup" + } + } + }, + "x-ms-examples": { + "Create a dedicated host group.": { + "$ref": "./examples/GetADedicatedHostGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": { + "get": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_ListByResourceGroup", + "description": "Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": { + "get": { + "tags": [ + "DedicatedHostGroups" + ], + "operationId": "DedicatedHostGroups_ListBySubscription", + "description": "Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": { + "put": { + "tags": [ + "DedicatedHosts" + ], + "operationId": "DedicatedHosts_CreateOrUpdate", + "description": "Create or update a dedicated host .", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "hostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host ." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedHost" + }, + "description": "Parameters supplied to the Create Dedicated Host ." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHost" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DedicatedHost" + } + } + }, + "x-ms-examples": { + "Create or update a dedicated host .": { + "$ref": "./examples/CreateOrUpdateADedicatedHost.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "DedicatedHosts" + ], + "operationId": "DedicatedHosts_Update", + "description": "Update an dedicated host .", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "hostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host ." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedHostUpdate" + }, + "description": "Parameters supplied to the Update Dedicated Host operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHost" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "DedicatedHosts" + ], + "operationId": "DedicatedHosts_Delete", + "description": "Delete a dedicated host.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "hostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "DedicatedHosts" + ], + "operationId": "DedicatedHosts_Get", + "description": "Retrieves information about a dedicated host.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "name": "hostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": false + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHost" + } + } + }, + "x-ms-examples": { + "Get a dedicated host.": { + "$ref": "./examples/GetADedicatedHost.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": { + "get": { + "tags": [ + "DedicatedHost" + ], + "operationId": "DedicatedHosts_ListByHostGroup", + "description": "Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "hostGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dedicated host group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DedicatedHostListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": { "get": { "tags": [ @@ -4928,6 +5449,267 @@ ], "description": "The List Proximity Placement Group operation response." }, + "DedicatedHostGroupProperties": { + "properties": { + "platformFaultDomainCount": { + "type": "integer", + "format": "int32", + "description": "Number of fault domains that the host group can span. Supported values 1,2,3." + }, + "hosts": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResourceReadOnly" + }, + "readOnly": true, + "description": "A list of references to all dedicated hosts in the dedicated host group." + } + }, + "description": "Dedicated Host Group Properties." + }, + "DedicatedHostGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforce each host in the group is in the same zone." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a Dedicated host can only be added to Dedicated Host Group at creation time. An existing Dedicated Host cannot be added to a dedicated host group." + }, + "DedicatedHostGroupUpdate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforce each host in the group is in the same zone." + } + }, + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated." + }, + "DedicatedHostGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedHostGroup" + }, + "description": "The list of dedicated host groups" + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups." + } + }, + "required": [ + "value" + ], + "description": "The List Dedicated Host Group with resource group response." + }, + "DedicatedHostLicenseType": { + "type": "string", + "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

Possible values are:

**None**

**Windows_Server_Hybrid**

**Windows_Server_Perpetual**

Default: **None**", + "enum": [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ], + "x-ms-enum": { + "name": "DedicatedHostLicenseTypes", + "modelAsString": false + } + }, + "DedicatedHostCapacity": { + "properties": { + "totalCores": { + "type": "number", + "format": "double", + "description": "The total number of cores." + }, + "totalVCpus": { + "type": "number", + "format": "double", + "description": "The total number of CPUs." + } + }, + "description": "Dedicated host total capacity." + }, + "DedicatedHostAllocatableVM": { + "properties": { + "vmSize": { + "type": "string", + "description": "VM size in terms of which the unutilized capacity is represented." + }, + "count": { + "type": "number", + "format": "double", + "description": "Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity." + } + }, + "description": "Represents the dedicated host unutilized capacity in terms of a specific VM size." + }, + "DedicatedHostAvailableCapacity": { + "properties": { + "availableVCpus": { + "type": "number", + "format": "double", + "description": "The total number of CPUs." + }, + "allocatableVMs": { + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedHostAllocatableVM" + }, + "description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host." + } + }, + "description": "Dedicated host unutilized capacity." + }, + "DedicatedHostInstanceView": { + "properties": { + "assetId": { + "readOnly": true, + "type": "string", + "description": "Specifies the unique of the dedicated physical machine on which the dedicated host resides." + }, + "capacity": { + "$ref": "#/definitions/DedicatedHostCapacity", + "description": "The total capacity of the dedicated host." + }, + "availableCapacity": { + "$ref": "#/definitions/DedicatedHostAvailableCapacity", + "description": "Unutilized capacity of the dedicated host." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "The resource status information." + } + }, + "description": "The instance view of a dedicated host." + }, + "DedicatedHostProperties": { + "properties": { + "platformFaultDomain": { + "type": "integer", + "format": "int32", + "description": "Fault domain of the host within a group. Supported values 0,1,2." + }, + "autoReplaceOnFailure": { + "type": "boolean", + "description": "Whether the host should be replaced automatically in case of a failure. The value is defaulted to true when not provided." + }, + "hostId": { + "readOnly": true, + "type": "string", + "description": "A unique id generated and assigned to the dedicated host by the platform." + }, + "virtualMachines": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResourceReadOnly" + }, + "readOnly": true, + "description": "A list of references to all virtual machines in the Dedicated Host." + }, + "licenseType": { + "$ref": "#/definitions/DedicatedHostLicenseType", + "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

Possible values are:

**None**

**Windows_Server_Hybrid**

**Windows_Server_Perpetual**

Default: **None**" + }, + "provisioningTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The date when the host was first created." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/DedicatedHostInstanceView", + "readOnly": true, + "description": "The dedicated host instance view." + } + }, + "description": "Properties of the dedicated host." + }, + "DedicatedHost": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedHostProperties" + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Sku of the dedicated host for Hardware Generation and VM family, The only name is required to be set. See DedicatedHostSkuTypes for possible set of values." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the Dedicated host." + }, + "DedicatedHostUpdate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedHostProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated." + }, + "DedicatedHostListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedHost" + }, + "description": "The list of dedicated hosts" + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Dedicated hosts. Call ListNext() with this URI to fetch the next page of Dedicated hosts." + } + }, + "required": [ + "value" + ], + "description": "The List Dedicated Host operation response." + }, "VirtualMachineSize": { "properties": { "name": { @@ -6496,6 +7278,10 @@ "$ref": "#/definitions/SubResource", "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01." }, + "host": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the dedicated host that the virtual machine resides in.

Minimum api-version: 2018-10-01." + }, "provisioningState": { "readOnly": true, "type": "string", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json new file mode 100644 index 000000000000..edf599b4a2f6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-10-01", + "parameters": { + "location": "westus", + "tags": { + "department": "HR" + }, + "properties": { + "platformFaultDomain": 1 + }, + "sku": { + "name": "DSv3-Type1" + } + }, + "hostGroupName": "myDedicatedHostGroup", + "hostName": "myDedicatedHost" + }, + "responses": { + "201": { + "body": { + "name": "myDedicatedHost", + "location": "westus", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost", + "tags": { + "department": "HR" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 1, + "autoReplaceOnFailure": true, + "hostId": "{GUID}" + } + } + }, + "200": { + "body": { + "properties": { + "platformFaultDomain": 1, + "autoReplaceOnFailure": false, + "licenseType": "Windows_Server_Hybrid", + "hostId": "{GUID}" + }, + "location": "westus", + "tags": { + "department": "HR" + }, + "name": "myDedicatedHost", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost", + "sku": { + "name": "DSv3-Type1" + } + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json new file mode 100644 index 000000000000..41ab723399d6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-10-01", + "hostGroupName": "myDedicatedHostGroup", + "parameters": { + "location": "westus", + "tags": { + "department": "finance" + }, + "zones": [ + "1" + ], + "properties": { + "platformFaultDomainCount": 3 + } + } + }, + "responses": { + "201": { + "body": { + "name": "myDedicatedHostGroup", + "location": "westus", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup", + "tags": { + "department": "finance" + }, + "zones": [ + "1" + ], + "properties": { + "platformFaultDomainCount": 3, + "hosts": [] + } + } + }, + "200": { + "body": { + "properties": { + "platformFaultDomainCount": 3, + "hosts": [] + }, + "location": "westus", + "tags": { + "department": "finance", + "owner": "myCompany" + }, + "name": "myDedicatedHostGroup", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup", + "zones": [ + "1" + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json new file mode 100644 index 000000000000..6e6a00575b1b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-10-01", + "hostGroupName": "myDedicatedHostGroup", + "hostName": "myHost" + }, + "responses": { + "200": { + "body": { + "properties": { + "platformFaultDomain": 1, + "autoReplaceOnFailure": true, + "hostId": "{GUID}", + "provisioningTime": "2019-06-27T01:02:38.3138469+00:00", + "virtualMachines": [ + { + "id": "/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/vm1" + } + ], + "provisioningState": "Succeeded", + "instanceView": { + "assetId": "eb3f58b8-b4e8-4882-b69f-301a01812407", + "capacity": { + "totalCores": 30, + "totalVCpus": 60 + }, + "availableCapacity": { + "availableVCpus": 40, + "allocatableVMs": [ + { + "vmSize": "Standard_A1", + "count": 10 + } + ] + }, + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Provisioning succeeded" + }, + { + "code": "HealthState/available", + "level": "Info", + "displayStatus": "Host available" + } + ] + } + }, + "location": "westus", + "tags": { + "department": "HR" + }, + "sku": { + "name": "DSv3-Type1" + }, + "name": "myHost" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json new file mode 100644 index 000000000000..01ba5926bd63 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-10-01", + "hostGroupName": "myDedicatedHostGroup" + }, + "responses": { + "200": { + "body": { + "properties": { + "platformFaultDomainCount": 3, + "hosts": [ + { + "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost1" + }, + { + "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost2" + } + ] + }, + "location": "westus", + "tags": { + "{tagName}": "{tagValue}" + }, + "name": "myDedicatedHostGroup", + "zones": [ + "3" + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index f50fd8354c0e..277ac0499b62 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -126,7 +126,14 @@ directive: - $.definitions.ImageUpdate suppress: - RequiredPropertiesMissingInResourceModel - + - where: + - $.definitions.DedicatedHostGroupUpdate + suppress: + - RequiredPropertiesMissingInResourceModel + - where: + - $.definitions.DedicatedHostUpdate + suppress: + - RequiredPropertiesMissingInResourceModel - where: - $.definitions.VirtualMachineScaleSetVM From 3aa7c966e5a6aa0cc2bcca8137c41dc72b75eb40 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 3 Jul 2019 17:22:30 -0700 Subject: [PATCH 232/495] added java readme (#6471) --- .../resource-manager/readme.java.md | 47 +++++++++++++++++++ .../resource-manager/readme.md | 42 +++++------------ 2 files changed, 58 insertions(+), 31 deletions(-) create mode 100644 specification/recoveryservicessiterecovery/resource-manager/readme.java.md diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.java.md b/specification/recoveryservicessiterecovery/resource-manager/readme.java.md new file mode 100644 index 000000000000..5c4a469baeaa --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.java.md @@ -0,0 +1,47 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.recoveryservices.siterecovery +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservices.siterecovery +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-01 + - tag: package-2016-08 +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01--java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.recoveryservices.siterecovery.v2018_01_10 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices.siterecovery/resource-manager/v2018_01_10 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-08 and java + +These settings apply only when `--tag=package-2016-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.recoveryservices.siterecovery.v2016_08_10 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices.siterecovery/resource-manager/v2016_08_10 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index d89554a55f1a..6c91370facf5 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -38,6 +38,16 @@ These settings apply only when `--tag=package-2018-07` is specified on the comma input-file: - Microsoft.RecoveryServices/stable/2018-07-10/service.json ``` + +### Tag: package-2018-01 + +These settings apply only when `--tag=package-2018-01` is specified on the command line. + +```yaml $(tag) == 'package-2018-01' +input-file: + - Microsoft.RecoveryServices/stable/2018-01-10/service.json +``` + ### Tag: package-2016-08 These settings apply only when `--tag=package-2018-01` is specified on the command line. @@ -98,34 +108,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.recoveryservicessiterecovery -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicessiterecovery -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2016-08 -``` - -### Tag: package-2016-08 and java - -These settings apply only when `--tag=package-2016-08 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-08' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10 - output-folder: $(azure-libraries-for-java-folder)/recoveryservicessiterecovery/resource-manager/v2018_01_10 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From f6e96392dd7f1069b6d600cfda549bf786d009b0 Mon Sep 17 00:00:00 2001 From: Ramyasree Chakka Date: Thu, 4 Jul 2019 18:31:46 -0700 Subject: [PATCH 233/495] Azure policy 2019-01-01 API version specifications (#6393) * Azure policy 2019-01-01 specs * Add KeyVault data plane definition example * Fix typos --- .../stable/2018-03-01/policyAssignments.json | 6 +- .../stable/2018-05-01/policyAssignments.json | 6 +- .../createOrUpdatePolicyDefinition.json | 90 +++ ...datePolicyDefinitionAtManagementGroup.json | 90 +++ .../createOrUpdatePolicySetDefinition.json | 120 +++ ...ePolicySetDefinitionAtManagementGroup.json | 120 +++ .../examples/createPolicyAssignment.json | 53 ++ .../examples/createPolicyAssignmentById.json | 51 ++ .../createPolicyAssignmentWithIdentity.json | 63 ++ ...reatePolicyAssignmentWithIdentityById.json | 61 ++ .../examples/deletePolicyAssignment.json | 38 + .../examples/deletePolicyAssignmentById.json | 36 + .../examples/deletePolicyDefinition.json | 15 + ...letePolicyDefinitionAtManagementGroup.json | 15 + .../examples/deletePolicySetDefinition.json | 15 + ...ePolicySetDefinitionAtManagementGroup.json | 15 + .../getBuiltInPolicySetDefinition.json | 66 ++ .../examples/getBuiltinPolicyDefinition.json | 52 ++ .../examples/getPolicyAssignment.json | 35 + .../examples/getPolicyAssignmentById.json | 33 + .../getPolicyAssignmentWithIdentity.json | 41 + .../getPolicyAssignmentWithIdentityById.json | 39 + .../examples/getPolicyDefinition.json | 53 ++ .../getPolicyDefinitionAtManagementGroup.json | 53 ++ .../examples/getPolicySetDefinition.json | 48 ++ ...tPolicySetDefinitionAtManagementGroup.json | 48 ++ .../listBuiltInPolicyDefinitions.json | 130 ++++ .../listBuiltInPolicySetDefinitions.json | 69 ++ .../examples/listPolicyAssignments.json | 62 ++ .../listPolicyAssignmentsForResource.json | 66 ++ ...listPolicyAssignmentsForResourceGroup.json | 63 ++ .../examples/listPolicyDefinitions.json | 128 ++++ ...istPolicyDefinitionsByManagementGroup.json | 96 +++ .../examples/listPolicySetDefinitions.json | 106 +++ ...PolicySetDefinitionsByManagementGroup.json | 106 +++ .../stable/2019-01-01/policyAssignments.json | 703 ++++++++++++++++++ .../stable/2019-01-01/policyDefinitions.json | 520 +++++++++++++ .../2019-01-01/policySetDefinitions.json | 625 ++++++++++++++++ .../resources/resource-manager/readme.go.md | 11 + .../resources/resource-manager/readme.md | 35 +- .../resource-manager/readme.python.md | 12 + 41 files changed, 3987 insertions(+), 7 deletions(-) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json index fb74484c704e..aea044c70f67 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json @@ -196,7 +196,7 @@ ], "operationId": "PolicyAssignments_ListForResourceGroup", "summary": "Retrieves all policy assignments that apply to a resource group.", - "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the resource group and assign the policy definition whose id is {value}.", + "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group.", "x-ms-examples": { "List policy assignments that apply to a resource group": { "$ref": "./examples/listPolicyAssignmentsForResourceGroup.json" @@ -254,7 +254,7 @@ ], "operationId": "PolicyAssignments_ListForResource", "summary": "Retrieves all policy assignments that apply to a resource.", - "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the resource and assign the policy definition whose id is {value}. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').", + "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').", "deprecated": false, "x-ms-examples": { "List all policy assignments that apply to a resource": { @@ -343,7 +343,7 @@ ], "operationId": "PolicyAssignments_List", "summary": "Retrieves all policy assignments that apply to a subscription.", - "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the subscription and assign the policy definition whose id is {value}.", + "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}.", "x-ms-examples": { "List policy assignments that apply to a subscription": { "$ref": "./examples/listPolicyAssignments.json" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json index d2fc217a17c2..5186062c803b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json @@ -202,7 +202,7 @@ ], "operationId": "PolicyAssignments_ListForResourceGroup", "summary": "Retrieves all policy assignments that apply to a resource group.", - "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the resource group and assign the policy definition whose id is {value}.", + "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group.", "x-ms-examples": { "List policy assignments that apply to a resource group": { "$ref": "./examples/listPolicyAssignmentsForResourceGroup.json" @@ -260,7 +260,7 @@ ], "operationId": "PolicyAssignments_ListForResource", "summary": "Retrieves all policy assignments that apply to a resource.", - "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the resource and assign the policy definition whose id is {value}. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').", + "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').", "deprecated": false, "x-ms-examples": { "List all policy assignments that apply to a resource": { @@ -349,7 +349,7 @@ ], "operationId": "PolicyAssignments_List", "summary": "Retrieves all policy assignments that apply to a subscription.", - "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes only policy assignments that apply to the subscription and assign the policy definition whose id is {value}.", + "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}.", "x-ms-examples": { "List policy assignments that apply to a subscription": { "$ref": "./examples/listPolicyAssignments.json" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json new file mode 100644 index 000000000000..c2a7b880bc5d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "mode": "All", + "displayName": "Enforce resource naming convention", + "description": "Force resource names to begin with given 'prefix' and/or end with given 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming", + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyType": "Custom" + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..f4bc856717a9 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "mode": "All", + "displayName": "Enforce resource naming convention", + "description": "Force resource names to begin with given 'prefix' and/or end with given 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming", + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyType": "Custom" + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json new file mode 100644 index 000000000000..b5174025680d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..e6daf2ec4699 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json new file mode 100644 index 000000000000..3adf19cad672 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyAssignmentName": "EnforceNaming", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "notScopes": [], + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + }, + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming", + "type": "Microsoft.Authorization/policyAssignments", + "name": "EnforceNaming" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json new file mode 100644 index 000000000000..87fecdfbf5d0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "api-version": "2019-01-01", + "parameters": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "notScopes": [], + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "type": "Microsoft.Authorization/policyAssignments", + "name": "LowCostStorage" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json new file mode 100644 index 000000000000..9fc965764607 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyAssignmentName": "EnforceNaming", + "api-version": "2019-01-01", + "parameters": { + "location": "eastus", + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Foo Bar" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "notScopes": [], + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + }, + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "location": "eastus", + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming", + "type": "Microsoft.Authorization/policyAssignments", + "name": "EnforceNaming" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json new file mode 100644 index 000000000000..7b26a0d67855 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "api-version": "2019-01-01", + "parameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "notScopes": [], + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "location": "eastus", + "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "type": "Microsoft.Authorization/policyAssignments", + "name": "LowCostStorage" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json new file mode 100644 index 000000000000..33f2557284ca --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyAssignmentName": "EnforceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "notScopes": [], + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + }, + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming", + "type": "Microsoft.Authorization/policyAssignments", + "name": "EnforceNaming" + } + }, + "204": { + "headers": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json new file mode 100644 index 000000000000..251648431871 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "notScopes": [], + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "type": "Microsoft.Authorization/policyAssignments", + "name": "LowCostStorage" + } + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json new file mode 100644 index 000000000000..6a7e5c5c0465 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {} + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..7c95802d22fe --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {} + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json new file mode 100644 index 000000000000..fe70418a0b32 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {} + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..677484c2dfe8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {} + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json new file mode 100644 index 000000000000..85a23db23932 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "[Preview]: Enable Monitoring in Azure Security Center", + "policyType": "BuiltIn", + "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.", + "metadata": { + "category": "Security Center" + }, + "parameters": {}, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/760a85ff-6162-42b3-8d70-698e268f648c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6" + } + ] + }, + "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json new file mode 100644 index 000000000000..01c5de6f7d92 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyDefinitionName": "7433c107-6db4-4ad1-b57a-a76dce0154a1", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "mode": "All", + "displayName": "Allowed storage account SKUs", + "policyType": "BuiltIn", + "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.", + "parameters": { + "listOfAllowedSKUs": { + "type": "Array", + "metadata": { + "description": "The list of SKUs that can be specified for storage accounts.", + "displayName": "Allowed SKUs", + "strongType": "StorageSKUs" + } + } + }, + "policyRule": { + "if": { + "allOf": [ + { + "field": "type", + "equals": "Microsoft.Storage/storageAccounts" + }, + { + "not": { + "field": "Microsoft.Storage/storageAccounts/sku.name", + "in": "[parameters('listOfAllowedSKUs')]" + } + } + ] + }, + "then": { + "effect": "Deny" + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json new file mode 100644 index 000000000000..c0f3643ef7c9 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyAssignmentName": "EnforceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "notScopes": [], + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + }, + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming", + "type": "Microsoft.Authorization/policyAssignments", + "name": "EnforceNaming" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json new file mode 100644 index 000000000000..aeaebfe3afda --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "notScopes": [], + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "type": "Microsoft.Authorization/policyAssignments", + "name": "LowCostStorage" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json new file mode 100644 index 000000000000..280c7aa96d0d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyAssignmentName": "EnforceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce resource naming rules", + "description": "Force resource names to begin with given DeptA and end with -LC", + "metadata": { + "assignedBy": "Special Someone" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "notScopes": [], + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + }, + "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "location": "westus", + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming", + "type": "Microsoft.Authorization/policyAssignments", + "name": "EnforceNaming" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json new file mode 100644 index 000000000000..0baa72843394 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "displayName": "Enforce storage account SKU", + "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created", + "metadata": { + "assignedBy": "Cheapskate Boss" + }, + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "notScopes": [], + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "location": "westus", + "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage", + "type": "Microsoft.Authorization/policyAssignments", + "name": "LowCostStorage" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json new file mode 100644 index 000000000000..6d6fd1c090eb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyType": "Custom" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming" + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..ff6b305bf371 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policyDefinitionName": "ResourceNaming", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming", + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyType": "Custom" + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json new file mode 100644 index 000000000000..553dd4cb277f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json new file mode 100644 index 000000000000..cafb5de46175 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "policySetDefinitionName": "CostManagement", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json new file mode 100644 index 000000000000..c6a5bab651f1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "mode": "All", + "displayName": "Audit SQL DB Level Audit Setting", + "policyType": "BuiltIn", + "description": "Audit DB level audit setting for SQL databases", + "parameters": { + "setting": { + "type": "String", + "metadata": { + "displayName": "Audit Setting" + }, + "allowedValues": [ + "enabled", + "disabled" + ] + } + }, + "policyRule": { + "if": { + "field": "type", + "equals": "Microsoft.Sql/servers/databases" + }, + "then": { + "effect": "AuditIfNotExists", + "details": { + "type": "Microsoft.Sql/servers/databases/auditingSettings", + "name": "default", + "existenceCondition": { + "allOf": [ + { + "field": "Microsoft.Sql/auditingSettings.state", + "equals": "[parameters('setting')]" + } + ] + } + } + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a12", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "06a78e20-9358-41c9-923c-fb736d382a12" + }, + { + "properties": { + "mode": "All", + "displayName": "Allowed storage account SKUs", + "policyType": "BuiltIn", + "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.", + "parameters": { + "listOfAllowedSKUs": { + "type": "Array", + "metadata": { + "description": "The list of SKUs that can be specified for storage accounts.", + "displayName": "Allowed SKUs", + "strongType": "StorageSKUs" + } + } + }, + "policyRule": { + "if": { + "allOf": [ + { + "field": "type", + "equals": "Microsoft.Storage/storageAccounts" + }, + { + "not": { + "field": "Microsoft.Storage/storageAccounts/sku.name", + "in": "[parameters('listOfAllowedSKUs')]" + } + } + ] + }, + "then": { + "effect": "Deny" + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1" + }, + { + "properties": { + "mode": "Microsoft.KeyVault.Data", + "displayName": "Audit KeyVault certificates that expire within specified number of days", + "policyType": "BuiltIn", + "description": "Audit certificates that are stored in Azure Key Vault, that expire within 'X' number of days.", + "metadata": { + "category": "KeyVault DataPlane" + }, + "parameters": { + "daysToExpire": { + "type": "Integer", + "metadata": { + "displayName": "Days to expire", + "description": "The number of days for a certificate to expire." + } + } + }, + "policyRule": { + "if": { + "field": "Microsoft.KeyVault.Data/vaults/certificates/attributes/expiresOn", + "lessOrEquals": "[addDays(utcNow(), parameters('daysToExpire'))]" + }, + "then": { + "effect": "audit" + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/abeed54a-73c5-441d-8a8c-6b5e7a0c299e", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "abeed54a-73c5-441d-8a8c-6b5e7a0c299e" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json new file mode 100644 index 000000000000..df55d2ee47b4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "displayName": "[Preview]: Enable Monitoring in Azure Security Center", + "policyType": "BuiltIn", + "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.", + "metadata": { + "category": "Security Center" + }, + "parameters": {}, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/760a85ff-6162-42b3-8d70-698e268f648c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6" + } + ] + }, + "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json new file mode 100644 index 000000000000..bbd2b7ad5a90 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "api-version": "2019-01-01", + "$filter": "atScope()" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/CostManagement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "CostManagement", + "location": "eastus", + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "properties": { + "displayName": "Storage Cost Management", + "description": "Minimize the risk of accidental cost overruns", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + }, + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/TagEnforcement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "TagEnforcement", + "properties": { + "displayName": "Enforces a tag key and value", + "description": "Ensure a given tag key and value are present on all resources", + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json new file mode 100644 index 000000000000..f55796584c8d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "resourceGroupName": "TestResourceGroup", + "resourceProviderNamespace": "Microsoft.Compute", + "parentResourcePath": "virtualMachines/MyTestVm", + "resourceType": "domainNames", + "resourceName": "MyTestComputer.cloudapp.net", + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestCostManagement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "TestCostManagement", + "location": "eastus", + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "properties": { + "displayName": "VM Cost Management", + "description": "Minimize the risk of accidental cost overruns", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus", + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + }, + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestTagEnforcement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "TestTagEnforcement", + "properties": { + "displayName": "Enforces a tag key and value", + "description": "Ensure a given tag key and value are present on all resources", + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json new file mode 100644 index 000000000000..339f297cf70e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "resourceGroupName": "TestResourceGroup", + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "api-version": "2019-01-01", + "$filter": "atScope()" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestCostManagement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "TestCostManagement", + "location": "eastus", + "identity": { + "type": "SystemAssigned", + "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a", + "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135" + }, + "properties": { + "displayName": "Storage Cost Management", + "description": "Minimize the risk of accidental cost overruns", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "parameters": { + "allowedSkus": { + "type": "Array" + } + }, + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + }, + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestTagEnforcement", + "type": "Microsoft.Authorization/policyAssignments", + "name": "TestTagEnforcement", + "properties": { + "displayName": "Enforces a tag key and value", + "description": "Ensure a given tag key and value are present on all resources", + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", + "notScopes": [] + }, + "sku": { + "name": "A0", + "tier": "Free" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json new file mode 100644 index 000000000000..72eec165003d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "mode": "All", + "displayName": "Allowed storage account SKUs", + "policyType": "BuiltIn", + "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.", + "parameters": { + "listOfAllowedSKUs": { + "type": "Array", + "metadata": { + "description": "The list of SKUs that can be specified for storage accounts.", + "displayName": "Allowed SKUs", + "strongType": "StorageSKUs" + } + } + }, + "policyRule": { + "if": { + "allOf": [ + { + "field": "type", + "equals": "Microsoft.Storage/storageAccounts" + }, + { + "not": { + "field": "Microsoft.Storage/storageAccounts/sku.name", + "in": "[parameters('listOfAllowedSKUs')]" + } + } + ] + }, + "then": { + "effect": "Deny" + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1" + }, + { + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "policyType": "Custom" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming" + }, + { + "properties": { + "mode": "Microsoft.KeyVault.Data", + "displayName": "Audit KeyVault certificates that expire within specified number of days", + "description": "Audit certificates that are stored in Azure Key Vault, that expire within 'X' number of days.", + "metadata": { + "category": "KeyVault DataPlane" + }, + "parameters": { + "daysToExpire": { + "type": "Integer", + "metadata": { + "displayName": "Days to expire", + "description": "The number of days for a certificate to expire." + } + } + }, + "policyRule": { + "if": { + "field": "Microsoft.KeyVault.Data/vaults/certificates/attributes/expiresOn", + "lessOrEquals": "[addDays(utcNow(), parameters('daysToExpire'))]" + }, + "then": { + "effect": "audit" + } + }, + "policyType": "Custom" + }, + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/AuditSoonToExpireCerts", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "AuditSoonToExpireCerts" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json new file mode 100644 index 000000000000..e269a1b2d885 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "mode": "All", + "displayName": "Allowed storage account SKUs", + "policyType": "BuiltIn", + "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.", + "parameters": { + "listOfAllowedSKUs": { + "type": "Array", + "metadata": { + "description": "The list of SKUs that can be specified for storage accounts.", + "displayName": "Allowed SKUs", + "strongType": "StorageSKUs" + } + } + }, + "policyRule": { + "if": { + "allOf": [ + { + "field": "type", + "equals": "Microsoft.Storage/storageAccounts" + }, + { + "not": { + "field": "Microsoft.Storage/storageAccounts/sku.name", + "in": "[parameters('listOfAllowedSKUs')]" + } + } + ] + }, + "then": { + "effect": "Deny" + } + } + }, + "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1" + }, + { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "type": "Microsoft.Authorization/policyDefinitions", + "name": "ResourceNaming", + "properties": { + "mode": "All", + "displayName": "Naming Convention", + "description": "Force resource names to begin with 'prefix' and end with 'suffix'", + "metadata": { + "category": "Naming" + }, + "policyRule": { + "if": { + "not": { + "field": "name", + "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]" + } + }, + "then": { + "effect": "deny" + } + }, + "parameters": { + "prefix": { + "type": "String", + "metadata": { + "displayName": "Prefix", + "description": "Resource name prefix" + } + }, + "suffix": { + "type": "String", + "metadata": { + "displayName": "Suffix", + "description": "Resource name suffix" + } + } + }, + "policyType": "Custom" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json new file mode 100644 index 000000000000..2aae08b7f8b5 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "displayName": "[Preview]: Enable Monitoring in Azure Security Center", + "policyType": "BuiltIn", + "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.", + "metadata": { + "category": "Security Center" + }, + "parameters": {}, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/760a85ff-6162-42b3-8d70-698e268f648c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6" + } + ] + }, + "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8" + }, + { + "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json new file mode 100644 index 000000000000..d40ffc6af0ee --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "managementGroupId": "MyManagementGroup", + "api-version": "2019-01-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "properties": { + "displayName": "[Preview]: Enable Monitoring in Azure Security Center", + "policyType": "BuiltIn", + "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.", + "metadata": { + "category": "Security Center" + }, + "parameters": {}, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/760a85ff-6162-42b3-8d70-698e268f648c" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/201ea587-7c90-41c3-910f-c280ae01cfd6" + }, + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6" + } + ] + }, + "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8" + }, + { + "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "type": "Microsoft.Authorization/policySetDefinitions", + "name": "CostManagement", + "properties": { + "displayName": "Cost Management", + "description": "Policies to enforce low cost storage SKUs", + "metadata": { + "category": "Cost Management" + }, + "policyDefinitions": [ + { + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "parameters": { + "listOfAllowedSKUs": { + "value": [ + "Standard_GRS", + "Standard_LRS" + ] + } + } + }, + { + "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "parameters": { + "prefix": { + "value": "DeptA" + }, + "suffix": { + "value": "-LC" + } + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json new file mode 100644 index 000000000000..65084728513f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json @@ -0,0 +1,703 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "2019-01-01", + "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}": { + "delete": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_Delete", + "summary": "Deletes a policy assignment.", + "description": "This operation deletes a policy assignment, given its name and the scope it was created in. The scope of a policy assignment is the part of its ID preceding '/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.", + "x-ms-examples": { + "Delete a policy assignment": { + "$ref": "./examples/deletePolicyAssignment.json" + } + }, + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'", + "x-ms-skip-url-encoding": true + }, + { + "name": "policyAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy assignment to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deleted assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "204": { + "description": "No Content - the policy assignment doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_Create", + "summary": "Creates or updates a policy assignment.", + "description": " This operation creates or updates a policy assignment with the given scope and name. Policy assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group.", + "x-ms-examples": { + "Create or update a policy assignment": { + "$ref": "./examples/createPolicyAssignment.json" + }, + "Create or update a policy assignment with a managed identity": { + "$ref": "./examples/createPolicyAssignmentWithIdentity.json" + } + }, + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'", + "x-ms-skip-url-encoding": true + }, + { + "name": "policyAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy assignment." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicyAssignment" + }, + "description": "Parameters for the policy assignment." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the new policy assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_Get", + "summary": "Retrieves a policy assignment.", + "description": "This operation retrieves a single policy assignment, given its name and the scope it was created at.", + "x-ms-examples": { + "Retrieve a policy assignment": { + "$ref": "./examples/getPolicyAssignment.json" + }, + "Retrieve a policy assignment with a managed identity": { + "$ref": "./examples/getPolicyAssignmentWithIdentity.json" + } + }, + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'", + "x-ms-skip-url-encoding": true + }, + { + "name": "policyAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy assignment to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments": { + "get": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_ListForResourceGroup", + "summary": "Retrieves all policy assignments that apply to a resource group.", + "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group.", + "x-ms-examples": { + "List policy assignments that apply to a resource group": { + "$ref": "./examples/listPolicyAssignmentsForResourceGroup.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group that contains policy assignments.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy assignments.", + "schema": { + "$ref": "#/definitions/PolicyAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments": { + "get": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_ListForResource", + "summary": "Retrieves all policy assignments that apply to a resource.", + "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').", + "deprecated": false, + "x-ms-examples": { + "List all policy assignments that apply to a resource": { + "$ref": "./examples/listPolicyAssignmentsForResource.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider. For example, the namespace of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)" + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource path. Use empty string if there is none.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy assignments.", + "schema": { + "$ref": "#/definitions/PolicyAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/PolicyAssignment" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments": { + "get": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_List", + "summary": "Retrieves all policy assignments that apply to a subscription.", + "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}.", + "x-ms-examples": { + "List policy assignments that apply to a subscription": { + "$ref": "./examples/listPolicyAssignments.json" + } + }, + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy assignments.", + "schema": { + "$ref": "#/definitions/PolicyAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/PolicyAssignment" + } + }, + "/{policyAssignmentId}": { + "delete": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_DeleteById", + "summary": "Deletes a policy assignment.", + "description": "This operation deletes the policy with the given ID. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid formats for {scope} are: '/providers/Microsoft.Management/managementGroups/{managementGroup}' (management group), '/subscriptions/{subscriptionId}' (subscription), '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' (resource group), or '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' (resource).", + "x-ms-examples": { + "Delete a policy assignment by ID": { + "$ref": "./examples/deletePolicyAssignmentById.json" + } + }, + "parameters": [ + { + "name": "policyAssignmentId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the policy assignment to delete. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "204": { + "description": "No Content - the policy assignment doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_CreateById", + "summary": "Creates or updates a policy assignment.", + "description": "This operation creates or updates the policy assignment with the given ID. Policy assignments made on a scope apply to all resources contained in that scope. For example, when you assign a policy to a resource group that policy applies to all resources in the group. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.", + "x-ms-examples": { + "Create or update policy assignment by ID": { + "$ref": "./examples/createPolicyAssignmentById.json" + }, + "Create or update policy assignment with a managed identity by ID": { + "$ref": "./examples/createPolicyAssignmentWithIdentityById.json" + } + }, + "parameters": [ + { + "name": "policyAssignmentId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the policy assignment to create. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.", + "x-ms-skip-url-encoding": true + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicyAssignment" + }, + "description": "Parameters for policy assignment." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the policy assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "PolicyAssignments" + ], + "operationId": "PolicyAssignments_GetById", + "summary": "Retrieves the policy assignment with the given ID.", + "description": "The operation retrieves the policy assignment with the given ID. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.", + "x-ms-examples": { + "Retrieve a policy assignment by ID": { + "$ref": "./examples/getPolicyAssignmentById.json" + }, + "Retrieve a policy assignment with a managed identity by ID": { + "$ref": "./examples/getPolicyAssignmentWithIdentityById.json" + } + }, + "parameters": [ + { + "name": "policyAssignmentId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the policy assignment to get. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy assignment.", + "schema": { + "$ref": "#/definitions/PolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "PolicyAssignmentProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the policy assignment." + }, + "policyDefinitionId": { + "type": "string", + "description": "The ID of the policy definition or policy set definition being assigned." + }, + "scope": { + "type": "string", + "description": "The scope for the policy assignment." + }, + "notScopes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The policy's excluded scopes." + }, + "parameters": { + "type": "object", + "description": "Required if a parameter is used in policy rule." + }, + "description": { + "type": "string", + "description": "This message will be part of response in case of policy violation." + }, + "metadata": { + "type": "object", + "description": "The policy assignment metadata." + } + }, + "description": "The policy assignment properties." + }, + "PolicySku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the policy sku. Possible values are A0 and A1." + }, + "tier": { + "type": "string", + "description": "The policy sku tier. Possible values are Free and Standard." + } + }, + "required": [ + "name" + ], + "description": "The policy sku. This property is optional, obsolete, and will be ignored." + }, + "PolicyAssignment": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PolicyAssignmentProperties", + "description": "Properties for the policy assignment." + }, + "id": { + "type": "string", + "description": "The ID of the policy assignment.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the policy assignment.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the policy assignment.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/PolicySku", + "description": "The policy sku. This property is optional, obsolete, and will be ignored." + }, + "location": { + "type": "string", + "description": "The location of the policy assignment. Only required when utilizing managed identity." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The managed identity associated with the policy assignment." + } + }, + "description": "The policy assignment.", + "x-ms-azure-resource": true + }, + "PolicyAssignmentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PolicyAssignment" + }, + "description": "An array of policy assignments." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of policy assignments." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the resource identity." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } + }, + "description": "Identity for the resource." + }, + "ErrorResponse": { + "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "httpStatus": { + "description": "Http status code.", + "type": "string" + }, + "errorCode": { + "description": "Error code.", + "type": "string" + }, + "errorMessage": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json new file mode 100644 index 000000000000..1235159f8dbf --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json @@ -0,0 +1,520 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "2019-01-01", + "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": { + "put": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_CreateOrUpdate", + "summary": "Creates or updates a policy definition in a subscription.", + "description": "This operation creates or updates a policy definition in the given subscription with the given name.", + "x-ms-examples": { + "Create or update a policy definition": { + "$ref": "./examples/createOrUpdatePolicyDefinition.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to create." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicyDefinition" + }, + "description": "The policy definition properties." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the policy definition.", + "schema": { + "$ref": "#/definitions/PolicyDefinition" + } + } + } + }, + "delete": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_Delete", + "summary": "Deletes a policy definition in a subscription.", + "description": "This operation deletes the policy definition in the given subscription with the given name.", + "x-ms-examples": { + "Delete a policy definition": { + "$ref": "./examples/deletePolicyDefinition.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK" + } + } + }, + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_Get", + "summary": "Retrieves a policy definition in a subscription.", + "description": "This operation retrieves the policy definition in the given subscription with the given name.", + "x-ms-examples": { + "Retrieve a policy definition": { + "$ref": "./examples/getPolicyDefinition.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy definition.", + "schema": { + "$ref": "#/definitions/PolicyDefinition" + } + } + } + } + }, + "/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": { + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_GetBuiltIn", + "summary": "Retrieves a built-in policy definition.", + "description": "This operation retrieves the built-in policy definition with the given name.", + "x-ms-examples": { + "Retrieve a built-in policy definition": { + "$ref": "./examples/getBuiltinPolicyDefinition.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the built-in policy definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the built-in policy definition.", + "schema": { + "$ref": "#/definitions/PolicyDefinition" + } + } + } + } + }, + "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": { + "put": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_CreateOrUpdateAtManagementGroup", + "summary": "Creates or updates a policy definition in a management group.", + "description": "This operation creates or updates a policy definition in the given management group with the given name.", + "x-ms-examples": { + "Create or update a policy definition at management group level": { + "$ref": "./examples/createOrUpdatePolicyDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to create." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicyDefinition" + }, + "description": "The policy definition properties." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the policy definition.", + "schema": { + "$ref": "#/definitions/PolicyDefinition" + } + } + } + }, + "delete": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_DeleteAtManagementGroup", + "summary": "Deletes a policy definition in a management group.", + "description": "This operation deletes the policy definition in the given management group with the given name.", + "x-ms-examples": { + "Delete a policy definition at management group level": { + "$ref": "./examples/deletePolicyDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "200": { + "description": "OK" + } + } + }, + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_GetAtManagementGroup", + "summary": "Retrieve a policy definition in a management group.", + "description": "This operation retrieves the policy definition in the given management group with the given name.", + "x-ms-examples": { + "Retrieve a policy definition at management group level": { + "$ref": "./examples/getPolicyDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy definition.", + "schema": { + "$ref": "#/definitions/PolicyDefinition" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions": { + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_List", + "summary": "Retrieves policy definitions in a subscription", + "description": "This operation retrieves a list of all the policy definitions in a given subscription.", + "x-ms-examples": { + "List policy definitions by subscription": { + "$ref": "./examples/listPolicyDefinitions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy definitions.", + "schema": { + "$ref": "#/definitions/PolicyDefinitionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Authorization/policyDefinitions": { + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_ListBuiltIn", + "summary": "Retrieve built-in policy definitions", + "description": "This operation retrieves a list of all the built-in policy definitions.", + "x-ms-examples": { + "List built-in policy definitions": { + "$ref": "./examples/listBuiltInPolicyDefinitions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of built-in policy definitions.", + "schema": { + "$ref": "#/definitions/PolicyDefinitionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions": { + "get": { + "tags": [ + "PolicyDefinitions" + ], + "operationId": "PolicyDefinitions_ListByManagementGroup", + "summary": "Retrieve policy definitions in a management group", + "description": "This operation retrieves a list of all the policy definitions in a given management group.", + "x-ms-examples": { + "List policy definitions by management group": { + "$ref": "./examples/listPolicyDefinitionsByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy definitions.", + "schema": { + "$ref": "#/definitions/PolicyDefinitionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PolicyDefinitionProperties": { + "properties": { + "policyType": { + "type": "string", + "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", + "enum": [ + "NotSpecified", + "BuiltIn", + "Custom" + ], + "x-ms-enum": { + "name": "policyType", + "modelAsString": true + } + }, + "mode": { + "type": "string", + "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data." + }, + "displayName": { + "type": "string", + "description": "The display name of the policy definition." + }, + "description": { + "type": "string", + "description": "The policy definition description." + }, + "policyRule": { + "type": "object", + "description": "The policy rule." + }, + "metadata": { + "type": "object", + "description": "The policy definition metadata." + }, + "parameters": { + "type": "object", + "description": "Required if a parameter is used in policy rule." + } + }, + "description": "The policy definition properties." + }, + "PolicyDefinition": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PolicyDefinitionProperties", + "description": "The policy definition properties." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the policy definition." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the policy definition." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." + } + }, + "description": "The policy definition.", + "x-ms-azure-resource": true + }, + "PolicyDefinitionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PolicyDefinition" + }, + "description": "An array of policy definitions." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of policy definitions." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "ManagementGroupIdParameter": { + "name": "managementGroupId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the management group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json new file mode 100644 index 000000000000..bc6cb771467a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json @@ -0,0 +1,625 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "2019-01-01", + "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": { + "put": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_CreateOrUpdate", + "summary": "Creates or updates a policy set definition.", + "description": "This operation creates or updates a policy set definition in the given subscription with the given name.", + "x-ms-examples": { + "Create or update a policy set definition": { + "$ref": "./examples/createOrUpdatePolicySetDefinition.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to create." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + }, + "description": "The policy set definition properties." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "200": { + "description": "OK - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_Delete", + "summary": "Deletes a policy set definition.", + "description": "This operation deletes the policy set definition in the given subscription with the given name.", + "x-ms-examples": { + "Delete a policy set definition": { + "$ref": "./examples/deletePolicySetDefinition.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content - the policy set definition doesn't exist in the subscription." + }, + "200": { + "description": "OK" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_Get", + "summary": "Retrieves a policy set definition.", + "description": "This operation retrieves the policy set definition in the given subscription with the given name.", + "x-ms-examples": { + "Retrieve a policy set definition": { + "$ref": "./examples/getPolicySetDefinition.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": { + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_GetBuiltIn", + "summary": "Retrieves a built in policy set definition.", + "description": "This operation retrieves the built-in policy set definition with the given name.", + "x-ms-examples": { + "Retrieve a built-in policy set definition": { + "$ref": "./examples/getBuiltInPolicySetDefinition.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the built in policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions": { + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_List", + "summary": "Retrieves the policy set definitions for a subscription.", + "description": "This operation retrieves a list of all the policy set definitions in the given subscription.", + "x-ms-examples": { + "List policy set definitions": { + "$ref": "./examples/listPolicySetDefinitions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy set definitions.", + "schema": { + "$ref": "#/definitions/PolicySetDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Authorization/policySetDefinitions": { + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_ListBuiltIn", + "summary": "Retrieves built-in policy set definitions.", + "description": "This operation retrieves a list of all the built-in policy set definitions.", + "x-ms-examples": { + "List built-in policy set definitions": { + "$ref": "./examples/listBuiltInPolicySetDefinitions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of built in policy set definitions.", + "schema": { + "$ref": "#/definitions/PolicySetDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": { + "put": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_CreateOrUpdateAtManagementGroup", + "summary": "Creates or updates a policy set definition.", + "description": "This operation creates or updates a policy set definition in the given management group with the given name.", + "x-ms-examples": { + "Create or update a policy set definition at management group level": { + "$ref": "./examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to create." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + }, + "description": "The policy set definition properties." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "200": { + "description": "OK - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_DeleteAtManagementGroup", + "summary": "Deletes a policy set definition.", + "description": "This operation deletes the policy set definition in the given management group with the given name.", + "x-ms-examples": { + "Delete a policy set definition at management group level": { + "$ref": "./examples/deletePolicySetDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content - the policy set definition doesn't exist in the subscription." + }, + "200": { + "description": "OK" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_GetAtManagementGroup", + "summary": "Retrieves a policy set definition.", + "description": "This operation retrieves the policy set definition in the given management group with the given name.", + "x-ms-examples": { + "Retrieve a policy set definition at management group level": { + "$ref": "./examples/getPolicySetDefinitionAtManagementGroup.json" + } + }, + "parameters": [ + { + "name": "policySetDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the policy set definition to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the policy set definition.", + "schema": { + "$ref": "#/definitions/PolicySetDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions": { + "get": { + "tags": [ + "PolicySetDefinitions" + ], + "operationId": "PolicySetDefinitions_ListByManagementGroup", + "summary": "Retrieves all policy set definitions in management group.", + "description": "This operation retrieves a list of all the a policy set definition in the given management group.", + "x-ms-examples": { + "List policy set definitions at management group level": { + "$ref": "./examples/listPolicySetDefinitionsByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ManagementGroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of policy set definitions.", + "schema": { + "$ref": "#/definitions/PolicySetDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PolicySetDefinitionProperties": { + "properties": { + "policyType": { + "type": "string", + "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", + "enum": [ + "NotSpecified", + "BuiltIn", + "Custom" + ], + "x-ms-enum": { + "name": "policyType", + "modelAsString": true + } + }, + "displayName": { + "type": "string", + "description": "The display name of the policy set definition." + }, + "description": { + "type": "string", + "description": "The policy set definition description." + }, + "metadata": { + "type": "object", + "description": "The policy set definition metadata." + }, + "parameters": { + "type": "object", + "description": "The policy set definition parameters that can be used in policy definition references." + }, + "policyDefinitions": { + "type": "array", + "items": { + "$ref": "#/definitions/PolicyDefinitionReference" + }, + "description": "An array of policy definition references." + } + }, + "required": [ + "policyDefinitions" + ], + "description": "The policy set definition properties." + }, + "PolicyDefinitionReference": { + "properties": { + "policyDefinitionId": { + "type": "string", + "description": "The ID of the policy definition or policy set definition." + }, + "parameters": { + "type": "object", + "description": "Required if a parameter is used in policy rule." + } + }, + "description": "The policy definition reference." + }, + "PolicySetDefinition": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PolicySetDefinitionProperties", + "description": "The policy definition properties." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the policy set definition." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the policy set definition." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." + } + }, + "description": "The policy set definition.", + "x-ms-azure-resource": true + }, + "PolicySetDefinitionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PolicySetDefinition" + }, + "description": "An array of policy set definitions." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of policy set definitions." + }, + "ErrorResponse": { + "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "httpStatus": { + "description": "Http status code.", + "type": "string" + }, + "errorCode": { + "description": "Error code.", + "type": "string" + }, + "errorMessage": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "ManagementGroupIdParameter": { + "name": "managementGroupId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the management group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/readme.go.md b/specification/resources/resource-manager/readme.go.md index b875f2fa2f37..6afd2005a1a8 100644 --- a/specification/resources/resource-manager/readme.go.md +++ b/specification/resources/resource-manager/readme.go.md @@ -25,6 +25,7 @@ batch: - tag: package-features-2015-12 - tag: package-locks-2016-09 - tag: package-locks-2015-01 + - tag: package-policy-2019-01 - tag: package-policy-2018-05 - tag: package-policy-2018-03 - tag: package-policy-2017-06 @@ -79,6 +80,16 @@ namespace: locks output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-01-01/locks ``` +### Tag: package-policy-2019-01 and go + +These settings apply only when `--tag=package-policy-2019-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2019-01' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/resources/mgmt/2019-01-01/policy +``` + ### Tag: package-policy-2018-05 and go These settings apply only when `--tag=package-policy-2018-05 --go` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 6f50a27d2d06..0de99dc7c062 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -37,7 +37,7 @@ tag: package-locks-2016-09 ``` ``` yaml $(package-policy) -tag: package-policy-2018-05 +tag: package-policy-2019-01 ``` ``` yaml $(package-resources) @@ -83,6 +83,20 @@ input-file: - Microsoft.Authorization/stable/2015-01-01/locks.json ``` +### Tag: package-policy-2019-01 +These settings apply only when `--tag=package-policy-2019-01` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2019-01' +input-file: +- Microsoft.Authorization/stable/2019-01-01/policyAssignments.json +- Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json +- Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + ### Tag: package-policy-2018-05 These settings apply only when `--tag=package-policy-2018-05` is specified on the command line. @@ -448,6 +462,7 @@ Generate all API versions currently shipped for this package batch: - tag: package-features-2015-12 - tag: package-locks-2016-09 + - tag: package-policy-2019-01 - tag: package-policy-2018-05 - tag: package-policy-2018-03 - tag: package-policy-2016-12 @@ -488,6 +503,24 @@ generate-interface: true fconfig: '{"moduleName": "Locks"}' ``` +### Tag: package-policy-2019-01 and java + +These settings apply only when `--tag=package-policy-2019-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-policy-2019-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.policy.v2019_01_01 + output-folder: $(azure-libraries-for-java-folder)/policy/resource-manager/v2019_01_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "Policy"}' +directive: + from: policyAssignments.json + where: $.definitions.PolicyAssignmentProperties.properties.scope + transform: $['x-ms-client-name'] = 'scopeProperty' +``` + ### Tag: package-policy-2018-05 and java These settings apply only when `--tag=package-policy-2018-05 --java` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index 29ce13c9e4f7..e9c5ac097bee 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -26,6 +26,7 @@ batch: - tag: package-locks-2015-01 - tag: package-managedapplications-2018-06 - tag: package-managedapplications-2017-09 + - tag: package-policy-2019-01 - tag: package-policy-2018-05 - tag: package-policy-2018-03 - tag: package-policy-2017-06 @@ -110,6 +111,17 @@ python: output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications ``` +### Tag: package-policy-2019-01 and python + +These settings apply only when `--tag=package-policy-2019-01 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2019-01' && $(python) +python: + namespace: azure.mgmt.resource.policy.v2019_01_01 + output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2019_01_01 +``` + ### Tag: package-policy-2018-05 and python These settings apply only when `--tag=package-policy-2018-05 --python` is specified on the command line. From efc7fbe52f8925bc779bf7b2d318ec11d50ab612 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 5 Jul 2019 16:12:13 -0400 Subject: [PATCH 234/495] chore: jsonfmt iothub (#6530) --- .../2019-03-22-preview/examples/iothub_get.json | 10 +++++----- .../preview/2019-03-22-preview/iothub.json | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json index 6bd924b40126..06ca87816cb8 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json @@ -81,14 +81,14 @@ }, "locations": [ { - "location": "West US", - "role": "primary" + "location": "West US", + "role": "primary" }, { - "location": "East US", - "role": "secondary" + "location": "East US", + "role": "secondary" } - ] + ] }, "sku": { "name": "S1", diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json index 8a7c2150d423..121d86871358 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json @@ -3466,15 +3466,15 @@ "description": "Public representation of one of the locations where a resource is provisioned.", "type": "object", "properties": { - "location": { - "description": "Azure Geo Regions", + "location": { + "description": "Azure Geo Regions", "type": "string" }, "role": { "description": "Specific Role assigned to this location", "enum": [ - "primary", - "secondary" + "primary", + "secondary" ], "type": "string", "x-ms-enum": { From d6d5aca27ed6252cfeab510b8abd2a935b468e04 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 5 Jul 2019 16:21:12 -0400 Subject: [PATCH 235/495] chore: jsonfmt compute (#6558) --- .../2019-03-01/examples/CreateOrUpdateADedicatedHost.json | 4 ++-- .../examples/CreateOrUpdateADedicatedHostGroup.json | 4 ++-- .../stable/2019-03-01/examples/GetADedicatedHost.json | 2 +- .../stable/2019-03-01/examples/GetADedicatedHostGroup.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json index edf599b4a2f6..be99526847e4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json @@ -37,7 +37,7 @@ } } }, - "200": { + "200": { "body": { "properties": { "platformFaultDomain": 1, @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json index 41ab723399d6..3d4ec8a42903 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json @@ -35,7 +35,7 @@ } } }, - "200": { + "200": { "body": { "properties": { "platformFaultDomainCount": 3, @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json index 6e6a00575b1b..1a4eb54fcbe3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json index 01ba5926bd63..f383d65e8771 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} From d4493252e9a9739d4e879ed2402741d5feb2ba02 Mon Sep 17 00:00:00 2001 From: Vitaliy Fedonkin Date: Sun, 7 Jul 2019 22:03:03 -0700 Subject: [PATCH 236/495] apim ciphers custom settings description (#6474) --- .../stable/2019-01-01/apimdeployment.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json index a51710cd7084..010d8afc44b0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json @@ -1065,7 +1065,7 @@ "additionalProperties": { "type": "string" }, - "description": "Custom properties of the API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`." + "description": "Custom properties of the API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.

You can disable any of next ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them." }, "certificates": { "type": "array", From a5bc2a6af9e5ae5d77f0a7d3072f261fec0b4255 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Sun, 7 Jul 2019 23:05:03 -0700 Subject: [PATCH 237/495] added package tag, fixed package tags for java readme (#6538) --- .../resource-manager/readme.java.md | 12 ++++++------ .../containerregistry/resource-manager/readme.md | 9 +++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/specification/containerregistry/resource-manager/readme.java.md b/specification/containerregistry/resource-manager/readme.java.md index 6ddd0127ddd7..d91b48cab2e5 100644 --- a/specification/containerregistry/resource-manager/readme.java.md +++ b/specification/containerregistry/resource-manager/readme.java.md @@ -16,7 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry ``` yaml $(java) && $(multiapi) batch: - - tag: package-2019-06-preview + - tag: package-2019-06-preview-only - tag: package-2019-04-only - tag: package-2019-04 - tag: package-2018-09 @@ -27,15 +27,15 @@ batch: - tag: package-2016-06-preview ``` -### Tag: package-2019-06-preview and java +### Tag: package-2019-06-preview-only and java -These settings apply only when `--tag=package-2019-06-preview --java` is specified on the command line. +These settings apply only when `--tag=package-2019-06-preview-only --java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag) == 'package-2019-06-preview' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-2019-06-preview-only' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.containerregistry.v2019_06_01 - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_06_01 + namespace: com.microsoft.azure.management.containerregistry.v2019_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_06_01_preview regenerate-manager: true generate-interface: true ``` diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index d0ab44d0e658..28da1ec67548 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -39,6 +39,15 @@ input-file: - Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json ``` +### Tag: package-2019-06-preview-only + +These settings apply only when `--tag=package-2019-06-preview-only` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-preview-only' +input-file: +- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json +``` + ### Tag: package-2019-05 These settings apply only when `--tag=package-2019-05` is specified on the command line. From 34f1bce64de16dc26dc4bc9847f1b9bc5e6407c7 Mon Sep 17 00:00:00 2001 From: Sarthak Narang Date: Mon, 8 Jul 2019 09:17:32 -0700 Subject: [PATCH 238/495] Deprecate preview API versions for Microsoft.DevSpaces (#6527) --- .../preview/2018-06-01-preview/devspaces.json | 789 ------------------ ...ppingsGetContainerHostMapping_example.json | 17 - .../examples/ControllersCreate_example.json | 61 -- .../examples/ControllersDelete_example.json | 17 - .../examples/ControllersGet_example.json | 29 - ...ontrollersListByResourceGroup_example.json | 32 - ...trollersListConnectionDetails_example.json | 25 - .../examples/ControllersList_example.json | 31 - .../examples/ControllersUpdate_example.json | 36 - .../preview/2019-01-01-preview/devspaces.json | 781 ----------------- ...ppingsGetContainerHostMapping_example.json | 19 - .../examples/ControllersCreate_example.json | 58 -- .../examples/ControllersDelete_example.json | 17 - .../examples/ControllersGet_example.json | 29 - ...ontrollersListByResourceGroup_example.json | 32 - ...trollersListConnectionDetails_example.json | 23 - .../examples/ControllersList_example.json | 31 - .../examples/ControllersUpdate_example.json | 36 - .../devspaces/resource-manager/readme.go.md | 22 +- .../devspaces/resource-manager/readme.md | 44 +- 20 files changed, 7 insertions(+), 2122 deletions(-) delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json delete mode 100644 specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json deleted file mode 100644 index a39810c4acb0..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json +++ /dev/null @@ -1,789 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2018-06-01-preview", - "title": "DevSpacesManagement", - "description": "Dev Spaces REST API" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": { - "post": { - "tags": [ - "ContainerHostMappings" - ], - "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.", - "operationId": "ContainerHostMappings_GetContainerHostMapping", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "containerHostMapping", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerHostMapping" - } - }, - { - "name": "location", - "in": "path", - "description": "Location of the container host.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": {} - } - }, - "x-ms-examples": { - "ContainerHostMappingsGetContainerHostMapping": { - "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Gets an Azure Dev Spaces Controller.", - "description": "Gets the properties for an Azure Dev Spaces Controller.", - "operationId": "Controllers_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the Azure Dev Spaces Controller.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersGet": { - "$ref": "./examples/ControllersGet_example.json" - } - } - }, - "put": { - "tags": [ - "Controllers" - ], - "summary": "Creates an Azure Dev Spaces Controller.", - "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.", - "operationId": "Controllers_Create", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controller", - "in": "body", - "description": "Controller create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/Controller" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the created Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "201": { - "description": "The request was successful; Azure Dev Spaces Controller is being created.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersCreate": { - "$ref": "./examples/ControllersCreate_example.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Controllers" - ], - "summary": "Deletes an Azure Dev Spaces Controller.", - "description": "Deletes an existing Azure Dev Spaces Controller.", - "operationId": "Controllers_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the Azure Dev Spaces Controller is deleted." - }, - "202": { - "description": "The request was successful; Azure Dev Spaces Controller is being deleted." - }, - "204": { - "description": "The request was successful; Azure Dev Spaces Controller does not exist." - }, - "default": { - "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersDelete": { - "$ref": "./examples/ControllersDelete_example.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Controllers" - ], - "summary": "Updates an Azure Dev Spaces Controller.", - "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.", - "operationId": "Controllers_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controllerUpdateParameters", - "in": "body", - "description": "Parameters for updating the Azure Dev Spaces Controller.", - "required": true, - "schema": { - "$ref": "#/definitions/ControllerUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersUpdate": { - "$ref": "./examples/ControllersUpdate_example.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a resource group.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.", - "operationId": "Controllers_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersListByResourceGroup": { - "$ref": "./examples/ControllersListByResourceGroup_example.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a subscription.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.", - "operationId": "Controllers_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersList": { - "$ref": "./examples/ControllersList_example.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": { - "post": { - "tags": [ - "Controllers" - ], - "summary": "Lists connection details for an Azure Dev Spaces Controller.", - "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.", - "operationId": "Controllers_ListConnectionDetails", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/ControllerConnectionDetailsList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersListConnectionDetails": { - "$ref": "./examples/ControllersListConnectionDetails_example.json" - } - } - } - }, - "/providers/Microsoft.DevSpaces/operations": { - "get": { - "tags": [ - "Operations" - ], - "summary": "Lists operations for the resource provider.", - "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "ContainerHostMapping": { - "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.", - "properties": { - "containerHostResourceId": { - "description": "ARM ID of the Container Host resource", - "type": "string" - }, - "mappedControllerResourceId": { - "description": "ARM ID of the mapped Controller resource", - "type": "string", - "readOnly": true - } - } - }, - "Controller": { - "required": [ - "properties", - "sku", - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ControllerProperties", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/Sku" - } - } - }, - "ControllerProperties": { - "required": [ - "hostSuffix", - "targetContainerHostResourceId", - "targetContainerHostCredentialsBase64" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the Azure Dev Spaces Controller.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Updating", - "Creating", - "Deleting", - "Deleted" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "hostSuffix": { - "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "dataPlaneFqdn": { - "description": "DNS name for accessing DataPlane services", - "type": "string", - "readOnly": true - }, - "targetContainerHostResourceId": { - "description": "Resource ID of the target container host", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "targetContainerHostCredentialsBase64": { - "description": "Credentials of the target container host (base64).", - "type": "string", - "x-ms-mutability": [ - "create" - ] - } - } - }, - "Sku": { - "description": "Model representing SKU for Azure Dev Spaces Controller.", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "The name of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "S1" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "description": "The tier of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "Standard" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } - } - } - }, - "ControllerUpdateParameters": { - "description": "Parameters for updating an Azure Dev Spaces Controller.", - "properties": { - "tags": { - "description": "Tags for the Azure Dev Spaces Controller.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ControllerList": { - "properties": { - "value": { - "description": "List of Azure Dev Spaces Controllers.", - "type": "array", - "items": { - "$ref": "#/definitions/Controller" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.", - "type": "string", - "readOnly": true - } - } - }, - "ControllerConnectionDetailsList": { - "properties": { - "connectionDetailsList": { - "description": "List of Azure Dev Spaces Controller connection details.", - "type": "array", - "items": { - "$ref": "#/definitions/ControllerConnectionDetails" - } - } - } - }, - "ControllerConnectionDetails": { - "properties": { - "authKey": { - "description": "Authentication key for communicating with services.", - "type": "string", - "readOnly": true - }, - "workspaceStorageAccountName": { - "description": "Workspace storage account name.", - "type": "string", - "readOnly": true - }, - "workspaceStorageSasToken": { - "description": "Workspace storage account SAS token.", - "type": "string", - "readOnly": true - }, - "orchestratorSpecificConnectionDetails": { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" - } - } - }, - "OrchestratorSpecificConnectionDetails": { - "description": "Base class for types that supply values used to connect to container orchestrators", - "properties": { - "instanceType": { - "description": "Gets the Instance type.", - "type": "string", - "readOnly": true - } - }, - "discriminator": "instanceType" - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "tags": { - "description": "Tags for the Azure resource.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ] - }, - "location": { - "description": "Region where the Azure resource is located.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - } - } - }, - "ResourceProviderOperationList": { - "properties": { - "value": { - "description": "Resource provider operations list.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperationDefinition" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure operations.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceProviderOperationDefinition": { - "properties": { - "name": { - "description": "Resource provider operation name.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/ResourceProviderOperationDisplay" - } - } - }, - "ResourceProviderOperationDisplay": { - "properties": { - "provider": { - "description": "Name of the resource provider.", - "type": "string" - }, - "resource": { - "description": "Name of the resource type.", - "type": "string" - }, - "operation": { - "description": "Name of the resource provider operation.", - "type": "string" - }, - "description": { - "description": "Description of the resource provider operation.", - "type": "string" - } - } - }, - "Resource": { - "description": "An Azure resource.", - "properties": { - "id": { - "description": "Fully qualified resource Id for the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "KubernetesConnectionDetails": { - "description": "Contains information used to connect to a Kubernetes cluster", - "allOf": [ - { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" - } - ], - "properties": { - "kubeConfig": { - "description": "Gets the kubeconfig for the cluster.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Kubernetes" - }, - "ErrorResponse": { - "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", - "properties": { - "error": { - "$ref": "#/definitions/ErrorDetails", - "description": "The details of the error." - } - } - }, - "ErrorDetails": { - "properties": { - "code": { - "description": "Status code for the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Error message describing the error in detail.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Azure subscription ID.", - "required": true, - "type": "string" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "NameParameter": { - "name": "name", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string", - "maxLength": 31, - "minLength": 3, - "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$", - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Client API version.", - "required": true, - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json deleted file mode 100644 index 23e38a3aabb8..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "location": "eastus", - "containerHostMapping": { - "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - }, - "responses": { - "200": { - "body": { - "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster", - "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController" - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json deleted file mode 100644 index 5798550f09bf..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource", - "controller": { - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "hostSuffix": "suffix", - "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Creating", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json deleted file mode 100644 index ea383f5e5396..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000" - } - }, - "204": {} - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json deleted file mode 100644 index 654fe322419b..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json deleted file mode 100644 index 4a352ae92104..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json deleted file mode 100644 index ca66caf7b7cf..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": { - "body": { - "connectionDetailsList": [ - { - "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "workspaceStorageAccountName": "storageAccount", - "workspaceStorageSasToken": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "orchestratorSpecificConnectionDetails": { - "instanceType": "Kubernetes", - "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json deleted file mode 100644 index be06d920d7a1..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json deleted file mode 100644 index 3aad3140b22e..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2018-06-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource", - "controllerUpdateParameters": { - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": { - "key": "value" - }, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json deleted file mode 100644 index 193c945e342e..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json +++ /dev/null @@ -1,781 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-01-01-preview", - "title": "DevSpacesManagement", - "description": "Dev Spaces REST API" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": { - "post": { - "tags": [ - "ContainerHostMappings" - ], - "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.", - "operationId": "ContainerHostMappings_GetContainerHostMapping", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "containerHostMapping", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ContainerHostMapping" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "location", - "in": "path", - "description": "Location of the container host.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": {} - } - }, - "x-ms-examples": { - "ContainerHostMappingsGetContainerHostMapping": { - "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json" - } - } - } - }, - "/providers/Microsoft.DevSpaces/operations": { - "get": { - "tags": [ - "Operations" - ], - "summary": "Lists operations for the resource provider.", - "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.", - "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Gets an Azure Dev Spaces Controller.", - "description": "Gets the properties for an Azure Dev Spaces Controller.", - "operationId": "Controllers_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the Azure Dev Spaces Controller.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersGet": { - "$ref": "./examples/ControllersGet_example.json" - } - } - }, - "put": { - "tags": [ - "Controllers" - ], - "summary": "Creates an Azure Dev Spaces Controller.", - "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.", - "operationId": "Controllers_Create", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controller", - "in": "body", - "description": "Controller create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/Controller" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the created Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "201": { - "description": "The request was successful; Azure Dev Spaces Controller is being created.", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersCreate": { - "$ref": "./examples/ControllersCreate_example.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Controllers" - ], - "summary": "Deletes an Azure Dev Spaces Controller.", - "description": "Deletes an existing Azure Dev Spaces Controller.", - "operationId": "Controllers_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the Azure Dev Spaces Controller is deleted." - }, - "202": { - "description": "The request was successful; Azure Dev Spaces Controller is being deleted." - }, - "204": { - "description": "The request was successful; Azure Dev Spaces Controller does not exist." - }, - "default": { - "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersDelete": { - "$ref": "./examples/ControllersDelete_example.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Controllers" - ], - "summary": "Updates an Azure Dev Spaces Controller.", - "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.", - "operationId": "Controllers_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - }, - { - "name": "controllerUpdateParameters", - "in": "body", - "description": "Parameters for updating the Azure Dev Spaces Controller.", - "required": true, - "schema": { - "$ref": "#/definitions/ControllerUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/Controller" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersUpdate": { - "$ref": "./examples/ControllersUpdate_example.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a resource group.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.", - "operationId": "Controllers_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersListByResourceGroup": { - "$ref": "./examples/ControllersListByResourceGroup_example.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": { - "get": { - "tags": [ - "Controllers" - ], - "summary": "Lists the Azure Dev Spaces Controllers in a subscription.", - "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.", - "operationId": "Controllers_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.", - "schema": { - "$ref": "#/definitions/ControllerList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersList": { - "$ref": "./examples/ControllersList_example.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": { - "post": { - "tags": [ - "Controllers" - ], - "summary": "Lists connection details for an Azure Dev Spaces Controller.", - "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.", - "operationId": "Controllers_ListConnectionDetails", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/NameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .", - "schema": { - "$ref": "#/definitions/ControllerConnectionDetailsList" - } - }, - "default": { - "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ControllersListConnectionDetails": { - "$ref": "./examples/ControllersListConnectionDetails_example.json" - } - } - } - } - }, - "definitions": { - "ContainerHostMapping": { - "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.", - "properties": { - "containerHostResourceId": { - "description": "ARM ID of the Container Host resource", - "type": "string" - }, - "mappedControllerResourceId": { - "description": "ARM ID of the mapped Controller resource", - "type": "string", - "readOnly": true - } - } - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "tags": { - "description": "Tags for the Azure resource.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ] - }, - "location": { - "description": "Region where the Azure resource is located.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - } - } - }, - "ResourceProviderOperationList": { - "properties": { - "value": { - "description": "Resource provider operations list.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderOperationDefinition" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure operations.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceProviderOperationDefinition": { - "properties": { - "name": { - "description": "Resource provider operation name.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/ResourceProviderOperationDisplay" - } - } - }, - "ResourceProviderOperationDisplay": { - "properties": { - "provider": { - "description": "Name of the resource provider.", - "type": "string" - }, - "resource": { - "description": "Name of the resource type.", - "type": "string" - }, - "operation": { - "description": "Name of the resource provider operation.", - "type": "string" - }, - "description": { - "description": "Description of the resource provider operation.", - "type": "string" - } - } - }, - "Controller": { - "required": [ - "properties", - "sku", - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ControllerProperties", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/Sku" - } - } - }, - "ControllerProperties": { - "required": [ - "targetContainerHostResourceId", - "targetContainerHostCredentialsBase64" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the Azure Dev Spaces Controller.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Updating", - "Creating", - "Deleting", - "Deleted" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "hostSuffix": { - "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.", - "type": "string", - "readOnly": true - }, - "dataPlaneFqdn": { - "description": "DNS name for accessing DataPlane services", - "type": "string", - "readOnly": true - }, - "targetContainerHostResourceId": { - "description": "Resource ID of the target container host", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "targetContainerHostCredentialsBase64": { - "description": "Credentials of the target container host (base64).", - "type": "string", - "x-ms-mutability": [ - "create" - ] - } - } - }, - "Sku": { - "description": "Model representing SKU for Azure Dev Spaces Controller.", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "The name of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "S1" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "description": "The tier of the SKU for Azure Dev Spaces Controller.", - "enum": [ - "Standard" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } - } - } - }, - "ControllerUpdateParameters": { - "description": "Parameters for updating an Azure Dev Spaces Controller.", - "properties": { - "tags": { - "description": "Tags for the Azure Dev Spaces Controller.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ControllerList": { - "properties": { - "value": { - "description": "List of Azure Dev Spaces Controllers.", - "type": "array", - "items": { - "$ref": "#/definitions/Controller" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.", - "type": "string", - "readOnly": true - } - } - }, - "ControllerConnectionDetailsList": { - "properties": { - "connectionDetailsList": { - "description": "List of Azure Dev Spaces Controller connection details.", - "type": "array", - "items": { - "$ref": "#/definitions/ControllerConnectionDetails" - } - } - } - }, - "ControllerConnectionDetails": { - "properties": { - "authKey": { - "description": "Authentication key for communicating with services.", - "type": "string", - "readOnly": true - }, - "orchestratorSpecificConnectionDetails": { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" - } - } - }, - "OrchestratorSpecificConnectionDetails": { - "description": "Base class for types that supply values used to connect to container orchestrators", - "properties": { - "instanceType": { - "description": "Gets the Instance type.", - "type": "string", - "readOnly": true - } - }, - "discriminator": "instanceType" - }, - "Resource": { - "description": "An Azure resource.", - "properties": { - "id": { - "description": "Fully qualified resource Id for the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "KubernetesConnectionDetails": { - "description": "Contains information used to connect to a Kubernetes cluster", - "allOf": [ - { - "$ref": "#/definitions/OrchestratorSpecificConnectionDetails" - } - ], - "properties": { - "kubeConfig": { - "description": "Gets the kubeconfig for the cluster.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Kubernetes" - }, - "ErrorResponse": { - "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", - "properties": { - "error": { - "$ref": "#/definitions/ErrorDetails", - "description": "The details of the error." - } - } - }, - "ErrorDetails": { - "properties": { - "code": { - "description": "Status code for the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Error message describing the error in detail.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Azure subscription ID.", - "required": true, - "type": "string" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "NameParameter": { - "name": "name", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string", - "maxLength": 31, - "minLength": 3, - "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$", - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Client API version.", - "required": true, - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json deleted file mode 100644 index adc9b2ef040f..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "location": "eastus", - "containerHostMapping": { - "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - }, - "responses": { - "200": { - "body": { - "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster", - "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController" - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json deleted file mode 100644 index b15b8c8ce608..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource", - "controller": { - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix.azds.io", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Creating", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json deleted file mode 100644 index 64b07e0568cb..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000" - } - }, - "204": {} - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json deleted file mode 100644 index 23ec5e93df6f..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix.azds.io", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json deleted file mode 100644 index f77b862515bc..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix.azds.io", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json deleted file mode 100644 index a0b7175dcbaf..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource" - }, - "responses": { - "200": { - "body": { - "connectionDetailsList": [ - { - "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "orchestratorSpecificConnectionDetails": { - "instanceType": "Kubernetes", - "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json deleted file mode 100644 index 7db9ae039ab0..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": {}, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix.azds.io", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - ] - } - } - } -} diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json deleted file mode 100644 index 4f9bd133c3c5..000000000000 --- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "name": "myControllerResource", - "controllerUpdateParameters": { - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", - "name": "myControllerResource", - "type": "Microsoft.DevSpaces/controllers", - "location": "eastus", - "tags": { - "key": "value" - }, - "sku": { - "name": "S1", - "tier": "Standard" - }, - "properties": { - "provisioningState": "Succeeded", - "hostSuffix": "suffix.azds.io", - "dataPlaneFqdn": "dataplane.azds.io", - "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" - } - } - } - } -} diff --git a/specification/devspaces/resource-manager/readme.go.md b/specification/devspaces/resource-manager/readme.go.md index d6f9bb313f0e..3bf8fa8f5bbb 100644 --- a/specification/devspaces/resource-manager/readme.go.md +++ b/specification/devspaces/resource-manager/readme.go.md @@ -14,33 +14,13 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2019-04-01 - - tag: package-2019-01-01-preview - - tag: package-2018-06-01-preview ``` -### Tag: package-2019-01-01-preview and go +### Tag: package-2019-04-01 and go These settings apply only when `--tag=package-2019-04-01 --go` is specified on the command line. Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2019-04-01' && $(go) output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace) -``` - -### Tag: package-2019-01-01-preview and go - -These settings apply only when `--tag=package-2019-01-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2019-01-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace) -``` - -### Tag: package-2018-06-01-preview and go - -These settings apply only when `--tag=package-2018-06-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace) ``` \ No newline at end of file diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index efcef02e7bc7..6192fbdd683f 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -39,24 +39,6 @@ input-file: - Microsoft.DevSpaces/stable/2019-04-01/devspaces.json ``` -### Tag: package-2019-01-01-preview - -These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2019-01-01-preview' -input-file: -- Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json -``` - -### Tag: package-2018-06-01-preview - -These settings apply only when `--tag=package-2018-06-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2018-06-01-preview' -input-file: -- Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json -``` - --- # Code Generation @@ -112,32 +94,18 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devspaces ``` yaml $(java) && $(multiapi) batch: - - tag: package-2018-06-01-preview - - tag: package-2019-01-01-preview -``` - -### Tag: package-2018-06-01-preview and java - -These settings apply only when `--tag=2018-06-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag)=='package-2018-06-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.devspaces.v2018_06_01_preview - output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2018_06_01_preview -regenerate-manager: true -generate-interface: true + - tag: package-2019-04-01 ``` -### Tag: package-2019-01-01-preview and java +### Tag: package-2019-04-01-preview and java -These settings apply only when `--tag=2019-01-01-preview --java` is specified on the command line. +These settings apply only when `--tag=2019-04-01 --java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag)=='package-2019-01-01-preview' && $(java) && $(multiapi) +``` yaml $(tag)=='package-2019-04-01' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.devspaces.v2019_01_01_preview - output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_01_01_preview + namespace: com.microsoft.azure.management.devspaces.v2019_04_01 + output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_04_01 regenerate-manager: true generate-interface: true ``` \ No newline at end of file From ca0869b49176e7bc3866debbab9d32999661c4cb Mon Sep 17 00:00:00 2001 From: gucalder Date: Mon, 8 Jul 2019 09:27:11 -0700 Subject: [PATCH 239/495] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#6485) * [Monitor] Make all attributes of EventData class readonly (#2254) * [Monitor] Fixing issue with metricnamespace specification as client level argument #2565 * [Monitor] Fixing incorrect specification of top parameter for Metrics API (#2655) * Add two missing "by subscription" operations. * Remove "examples" nodes as requested since they are not used anymore. Adding documentation to reduce number of warnings in validation. * Add the serviceBusRuleId back into the DiagnosticSetting resource spec. * Fix some issues with the examples * [Monitor] Fix issue #3585: revert previous commit since it is a breaking change * Add unit "BitsPerSecond" to the metrics specs. * Fixing workspace Id documentation * Add the Log Analytics destination type flag to the Diagnostic Settings objects * Fix a typo in a description * Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before * Fixing issue #2467 In List Activity Logs $filter is not optional and it requires at least a start time. --- .../stable/2015-04-01/activityLogs_API.json | 14 +--- .../examples/GetActivityLogsNoParams.json | 84 ------------------- .../examples/GetActivityLogsSelected.json | 40 --------- .../stable/2018-01-01/metrics_API.json | 4 +- 4 files changed, 6 insertions(+), 136 deletions(-) delete mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json delete mode 100644 specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json index 9ce194198379..ebc01be48664 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json @@ -51,8 +51,8 @@ "name": "$filter", "in": "query", "type": "string", - "required": false, - "description": "Reduces the set of data collected.
The **$filter** argument is very restricted and allows only the following patterns.
- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.
- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.
- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.

**NOTE**: No other syntax is allowed." + "required": true, + "description": "Reduces the set of data collected.
This argument is required and it also requires at least the start date/time.
The **$filter** argument is very restricted and allows only the following patterns.
- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.
- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.
- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.

**NOTE**: No other syntax is allowed." }, { "$ref": "#/parameters/SelectParameter" @@ -80,14 +80,8 @@ }, "x-ms-odata": "#/definitions/EventData", "x-ms-examples": { - "Get Activity Logs without filter or select": { - "$ref": "./examples/GetActivityLogsNoParams.json" - }, - "Get Activity Logs with filter": { - "$ref": "./examples/GetActivityLogsFiltered.json" - }, - "Get Activity Logs with select": { - "$ref": "./examples/GetActivityLogsSelected.json" + "Get Activity Logs with filter": { + "$ref": "./examples/GetActivityLogsFiltered.json" }, "Get Activity Logs with filter and select": { "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json deleted file mode 100644 index d9e4f31f4a37..000000000000 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } - ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } - } -} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json deleted file mode 100644 index 020bb6e7f15e..000000000000 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level", - "api-version": "2015-04-01", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "level": "Informational" - } - ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } - } -} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json index e6a7da49e527..791acec68765 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json @@ -179,8 +179,8 @@ "description": "the sum of all of the values in the time range." }, "count": { - "type": "integer", - "format": "int64", + "type": "number", + "format": "double", "description": "the number of samples in the time range. Can be used to determine the number of values that contributed to the average value." } }, From 5d3ee578bf136971f7bcac214149ed79feb37af4 Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Mon, 8 Jul 2019 16:43:18 -0700 Subject: [PATCH 240/495] Update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 77431492859a..9095d0b4f4b2 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,13 @@ This repository is the canonical source for REST API specifications for Microsoft Azure. -## Basics -If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to the [adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo. +## Getting started +If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to our [documentation](https://github.com/Azure/adx-documentation-pr/wiki) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo. Latest improvement: Microsoft employees can try out our new experience at [OpenAPI Hub](https://aka.ms/openapihub) - online experience for using our validation tools and finding your workflow. Please check the [announcements page](https://github.com/Azure/azure-rest-api-specs/wiki/Announcements) for any new updates since your last visit. -## Getting started -- Our [Contribution guidelines](./.github/CONTRIBUTING.md) walks you through the process of contributing to this repository. -- The [/documentation](./documentation/) folder contains reference documentation for all aspects of Swagger and our recommended patterns. Start with the [Creating Swagger](./documentation/creating-swagger.md) page. - ## Directory Structure The structure of the directory should strictly follow these rules: From 597f7dd325c864dd4db48d9374451c16e0337158 Mon Sep 17 00:00:00 2001 From: emgu-ms <32528205+emgu-ms@users.noreply.github.com> Date: Mon, 8 Jul 2019 17:22:51 -0700 Subject: [PATCH 241/495] Failover database and elastic pool swagger changes (#6365) * Add swagger changes for failover databases and failover elastic pools * Fixed api version for FailoverDatabases * Add examples * Add to read me * Remove BOM from files --- .../2018-06-01-preview/FailoverDatabases.json | 164 ++++++++++++++++++ .../FailoverElasticPools.json | 164 ++++++++++++++++++ .../examples/FailoverDatabase.json | 13 ++ .../examples/FailoverElasticPool.json | 13 ++ specification/sql/resource-manager/readme.md | 9 +- 5 files changed, 362 insertions(+), 1 deletion(-) create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json new file mode 100644 index 000000000000..47d9bffda44c --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json @@ -0,0 +1,164 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-06-01-preview", + "title": "SqlManagementClient", + "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover": { + "post": { + "tags": [ + "FailoverDatabases" + ], + "description": "Failovers a database.", + "operationId": "Databases_Failover", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "databaseName", + "in": "path", + "description": "The name of the database to failover.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully completed database failover." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 DatabaseFailoverThrottled - There was a recent failover on the database or pool if database belongs in an elastic pool.\n\n * 400 DatabaseFailoverNotSupported - This database type does not support customer initiated failovers.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 DatabaseNotInStateToFailover - The database is currently in a state such that failover cannot be issued." + }, + "202": { + "description": "Database failover is in progress." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Failover an database": { + "$ref": "./examples/FailoverDatabase.json" + } + } + } + } + }, + "definitions": {}, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedInstanceNameParameter": { + "name": "managedInstanceName", + "in": "path", + "description": "The name of the managed instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "description": "The name of the database.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "BlobAuditingPolicyNameParameter": { + "name": "blobAuditingPolicyName", + "in": "path", + "description": "The name of the blob auditing policy.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineInstanceNameParameter": { + "name": "sqlVirtualMachineInstanceName", + "in": "path", + "description": "The name of the SqlVirtualMachineInstance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineContainerNameParameter": { + "name": "sqlVirtualMachineContainerName", + "in": "path", + "description": "The name of the SqlVirtualMachineContainer.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VirtualClusterNameParameter": { + "name": "virtualClusterName", + "in": "path", + "description": "The name of the virtual cluster.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json new file mode 100644 index 000000000000..d7b33e3f35c5 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json @@ -0,0 +1,164 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-06-01-preview", + "title": "SqlManagementClient", + "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/failover": { + "post": { + "tags": [ + "FailoverElasticPools" + ], + "description": "Failovers an elastic pool.", + "operationId": "ElasticPools_Failover", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/ServerNameParameter" + }, + { + "name": "elasticPoolName", + "in": "path", + "description": "The name of the elastic pool to failover.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully completed elastic pool failover." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 ElasticPoolFailoverThrottled - There was a recent failover on the elastic pool.\n\n * 400 ElasticPoolFailoverNotSupported - This elastic pool type or a database type within the elastic pool does not support customer initiated failovers.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ElasticPoolNotInStateToFailover - The elastic pool or a database within the elastic pool is currently in a state such that failover cannot be issued." + }, + "202": { + "description": "Elastic pool failover is in progress." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Failover an elastic pool": { + "$ref": "./examples/FailoverElasticPool.json" + } + } + } + } + }, + "definitions": {}, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription ID that identifies an Azure subscription.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for the request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ResourceGroupParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServerNameParameter": { + "name": "serverName", + "in": "path", + "description": "The name of the server.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedInstanceNameParameter": { + "name": "managedInstanceName", + "in": "path", + "description": "The name of the managed instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "description": "The name of the database.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "BlobAuditingPolicyNameParameter": { + "name": "blobAuditingPolicyName", + "in": "path", + "description": "The name of the blob auditing policy.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineInstanceNameParameter": { + "name": "sqlVirtualMachineInstanceName", + "in": "path", + "description": "The name of the SqlVirtualMachineInstance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SqlVirtualMachineContainerNameParameter": { + "name": "sqlVirtualMachineContainerName", + "in": "path", + "description": "The name of the SqlVirtualMachineContainer.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VirtualClusterNameParameter": { + "name": "virtualClusterName", + "in": "path", + "description": "The name of the virtual cluster.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json new file mode 100644 index 000000000000..6c6d15e3716e --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "testServer", + "databaseName": "testDatabase", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json new file mode 100644 index 000000000000..dc7fa21bb39f --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "group1", + "serverName": "testServer", + "elasticPoolName": "testElasticPool", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 0988ac15e0cd..d59317fd8010 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -120,7 +120,8 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json - Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json - +- Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json +- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json # Needed when there is more than one input file override-info: @@ -211,6 +212,8 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json - Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json +- Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json +- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json # Needed when there is more than one input file override-info: @@ -295,6 +298,8 @@ input-file: - Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - Microsoft.Sql/preview/2018-06-01-preview/usages.json - Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json +- Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json +- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json # Needed when there is more than one input file override-info: @@ -461,6 +466,8 @@ input-file: - ./Microsoft.Sql/preview/2018-06-01-preview/instancePools.json - ./Microsoft.Sql/preview/2018-06-01-preview/usages.json - ./Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json + - ./Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json + - ./Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json # Needed when there is more than one input file override-info: From a55e3b3a117bb06e6554253502bbb3093c15470c Mon Sep 17 00:00:00 2001 From: ShivGhatbale <40165107+ShivGhatbale@users.noreply.github.com> Date: Tue, 9 Jul 2019 20:27:12 +0530 Subject: [PATCH 242/495] Adding new resource type for alerts meta data (#6459) * Alerts meta data api * Added example for alerts meta data resource type * Added identifier parameter to examples/AlertsMetaData_MonitorService.json file * Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Added one more enum value for identifier enum * Added remove added extra enum value for identifier enum * Added enum for identifier in definitions * Rename identifier in definitions to metadataIdentifier * Added enum for metadataIdentifier in definitions * Added enum for metadataIdentifier in definitions * Update test title in AlertsManagement.json * Schematic changes * Added defination for monitor service * Added defination for monitor service * Added defination for monitor service * Use discriminator for data of alerts meta properties * Fix error * Fix error --- .../2019-05-05-preview/AlertsManagement.json | 111 +++++++++++++++++- .../AlertsMetaData_MonitorService.json | 89 ++++++++++++++ 2 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index dec3584f9232..1a440f9f17e7 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -52,6 +52,36 @@ } } }, + "/providers/Microsoft.AlertsManagement/alertsMetaData": { + "get": { + "operationId": "Alerts_MetaData", + "description": "List alerts meta data information based on value of identifier parameter.", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/identifier" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK. Successfully listed alert meta data.", + "schema": { + "$ref": "#/definitions/alertsMetaData" + } + } + }, + "x-ms-examples": { + "MonService": { + "$ref": "./examples/AlertsMetaData_MonitorService.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts": { "get": { "operationId": "Alerts_GetAll", @@ -1269,6 +1299,20 @@ "in": "query", "required": false, "x-ms-parameter-location": "method" + }, + "identifier": { + "name": "identifier", + "description": "Identification of the information to be retrieved by API call.", + "type": "string", + "in": "query", + "required": true, + "enum": [ + "MonitorServiceList" + ], + "x-ms-enum": { + "name": "identifier", + "modelAsString": true + } } }, "definitions": { @@ -2293,6 +2337,71 @@ "description": "tags to be updated" } } + }, + "alertsMetaData": { + "description": "alert meta data information.", + "properties": { + "properties": { + "$ref": "#/definitions/alertsMetaDataProperties" + } + } + }, + "alertsMetaDataProperties": { + "description": "alert meta data property bag", + "discriminator": "metadataIdentifier", + "required": [ + "metadataIdentifier" + ], + "properties": { + "metadataIdentifier": { + "type": "string", + "description": "Identification of the information to be retrieved by API call", + "enum": [ + "MonitorServiceList" + ], + "x-ms-enum": { + "name": "metadataIdentifier", + "modelAsString": true + } + } + } + }, + "MonitorServiceList": { + "title": "Monitor service details", + "description": "Monitor service details", + "required": [ + "data" + ], + "allOf": [ + { + "$ref": "#/definitions/alertsMetaDataProperties" + }, + { + "type": "object" + } + ], + "properties": { + "data": { + "description": "Array of operations", + "type": "array", + "items": { + "$ref": "#/definitions/MonitorServiceDetails" + } + } + } + }, + "MonitorServiceDetails": { + "description": "Details of a monitor service", + "properties": { + "name": { + "type": "string", + "description": "Monitor service name" + }, + "displayName": { + "type": "string", + "description": "Monitor service display name" + } + } } } -} +} \ No newline at end of file diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json new file mode 100644 index 000000000000..30a95d200ffa --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2019-05-05-preview", + "identifier": "MonitorServiceList" + }, + "responses": { + "200": { + "body": { + "properties": { + "metadataIdentifier": "MonitorServiceList", + "data": [ + { + "name": "ActivityLog Administrative", + "displayName": "Activity Log - Administrative" + }, + { + "name": "ActivityLog Autoscale", + "displayName": "Activity Log - Autoscale" + }, + { + "name": "ActivityLog Policy", + "displayName": "Activity Log - Policy" + }, + { + "name": "ActivityLog Recommendation", + "displayName": "Activity Log - Recommendation" + }, + { + "name": "ActivityLog Security", + "displayName": "Activity Log - Security" + }, + { + "name": "Application Insights", + "displayName": "Application Insights" + }, + { + "name": "Azure Backup", + "displayName": "Azure Backup" + }, + { + "name": "Custom", + "displayName": "Custom" + }, + { + "name": "Data Box Edge", + "displayName": "Data Box Edge" + }, + { + "name": "VM Insights", + "displayName": "VM Insights" + }, + { + "name": "Log Analytics", + "displayName": "Log Analytics" + }, + { + "name": "Nagios", + "displayName": "NAGIOS" + }, + { + "name": "Platform", + "displayName": "Platform" + }, + { + "name": "Resource Health", + "displayName": "Resource Health" + }, + { + "name": "SCOM", + "displayName": "SCOM" + }, + { + "name": "ServiceHealth", + "displayName": "Service Health" + }, + { + "name": "Smart Detector", + "displayName": "SmartDetector" + }, + { + "name": "Zabbix", + "displayName": "ZABBIX" + } + ] + } + } + } + } +} From 8c3aed92b7881371ac3f23d86938be536c206555 Mon Sep 17 00:00:00 2001 From: simanor <49607823+simanor@users.noreply.github.com> Date: Tue, 9 Jul 2019 18:44:11 +0300 Subject: [PATCH 243/495] Create new api-version for smartDetectorAlertRules (#6507) * Add SmartDetectorAlertRules swagger + examples * edited example * Added x-ms-parameter-location to ExpandDetectorParameter * removed "required" field from ExpandDetectorParameter * New SmartDetectorAlertRules API version --- .../SmartDetectorAlertRulesApi.json | 2 +- .../SmartDetectorAlertRulesApi.json | 652 ++++++++++++++++++ ...SmartDetectorAlertRule_CreateOrUpdate.json | 92 +++ .../SmartDetectorAlertRule_Delete.json | 16 + .../examples/SmartDetectorAlertRule_Get.json | 39 ++ .../examples/SmartDetectorAlertRule_List.json | 67 ++ ...DetectorAlertRule_ListByResourceGroup.json | 67 ++ .../SmartDetectorAlertRule_Patch.json | 48 ++ .../resource-manager/readme.md | 8 + 9 files changed, 990 insertions(+), 1 deletion(-) create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json create mode 100644 specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json index be1bd4faab5a..30b9b05d7e9f 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json @@ -118,7 +118,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": { "get": { "tags": [ - "smartDetectorAlertRules" + "SmartDetectorAlertRules" ], "operationId": "SmartDetectorAlertRules_Get", "description": "Get a specific Smart Detector alert rule.", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json new file mode 100644 index 000000000000..99e7a6e3d432 --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json @@ -0,0 +1,652 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Alerts Management Service Resource Provider", + "description": "APIs for Azure Smart Detector Alert Rules CRUD operations.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { + "get": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_List", + "description": "List all the existing Smart Detector alert rules within the subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ExpandDetectorParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to list Smart Detector alert rules.", + "schema": { + "$ref": "#/definitions/AlertRulesList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Smart Detector alert rules": { + "$ref": "./examples/SmartDetectorAlertRule_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules": { + "get": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_ListByResourceGroup", + "description": "List all the existing Smart Detector alert rules within the subscription and resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ExpandDetectorParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to list Smart Detector alert rules.", + "schema": { + "$ref": "#/definitions/AlertRulesList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List alert rules": { + "$ref": "./examples/SmartDetectorAlertRule_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": { + "get": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_Get", + "description": "Get a specific Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ExpandDetectorParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + }, + "x-ms-examples": { + "Get a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_Get.json" + } + } + }, + "put": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_CreateOrUpdate", + "description": "Create or update a Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "description": "Parameters supplied to the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to update a Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + }, + "201": { + "description": "Successful request to create a Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + }, + "x-ms-examples": { + "Create or update a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_Patch", + "description": "Patch a specific Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "description": "Parameters supplied to the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AlertRulePatchObject" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to patch Smart Detector alert rule.", + "schema": { + "$ref": "#/definitions/AlertRule" + } + } + }, + "x-ms-examples": { + "Patch alert rules": { + "$ref": "./examples/SmartDetectorAlertRule_Patch.json" + } + } + }, + "delete": { + "tags": [ + "SmartDetectorAlertRules" + ], + "operationId": "SmartDetectorAlertRules_Delete", + "description": "Delete an existing Smart Detector alert rule.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AlertRuleNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to delete a Smart Detector alert rule." + }, + "204": { + "description": "The Smart Detector alert rule does not exist. It may have already been deleted." + } + }, + "x-ms-examples": { + "Delete a Smart Detector alert rule": { + "$ref": "./examples/SmartDetectorAlertRule_Delete.json" + } + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describe the format of an Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ActionGroupsInformation": { + "properties": { + "customEmailSubject": { + "description": "An optional custom email subject to use in email notifications.", + "type": "string" + }, + "customWebhookPayload": { + "description": "An optional custom web-hook payload to use in web-hook notifications.", + "type": "string" + }, + "groupIds": { + "description": "The Action Group resource IDs.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "groupIds" + ], + "description": "The Action Groups information, used by the alert rule." + }, + "ThrottlingInformation": { + "properties": { + "duration": { + "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes", + "type": "string", + "format": "duration" + } + }, + "description": "Optional throttling information for the alert rule." + }, + "AzureResource": { + "type": "object", + "properties": { + "id": { + "description": "The resource ID.", + "readOnly": true, + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The resource name." + }, + "location": { + "type": "string", + "description": "The resource location.", + "default": "global" + }, + "tags": { + "type": "object", + "description": "The resource tags." + } + }, + "x-ms-azure-resource": true, + "description": "An Azure resource object" + }, + "AlertRule": { + "allOf": [ + { + "$ref": "#/definitions/AzureResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AlertRuleProperties", + "description": "The properties of the alert rule." + } + }, + "description": "The alert rule information" + }, + "AlertRulesList": { + "description": "List of Smart Detector alert rules.", + "properties": { + "value": { + "description": "List of Smart Detector alert rules.", + "type": "array", + "items": { + "$ref": "#/definitions/AlertRule" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "AlertRulePatchObject": { + "properties": { + "id": { + "description": "The resource ID.", + "readOnly": true, + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The resource name." + }, + "tags": { + "type": "object", + "description": "The resource tags." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AlertRulePatchProperties", + "description": "The properties of the alert rule.", + "minProperties": 1 + } + }, + "description": "The alert rule patch information" + }, + "Detector": { + "properties": { + "id": { + "type": "string", + "description": "The detector id." + }, + "parameters": { + "description": "The detector's parameters.'", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "name": { + "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector", + "type": "string" + }, + "description": { + "type": "string", + "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector" + }, + "supportedResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector" + }, + "imagePaths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector" + } + }, + "required": [ + "id" + ], + "description": "The detector information. By default this is not populated, unless it's specified in expandDetector" + }, + "AlertRuleProperties": { + "properties": { + "description": { + "description": "The alert rule description.", + "type": "string" + }, + "state": { + "description": "The alert rule state.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AlertRuleState", + "modelAsString": true + } + }, + "severity": { + "description": "The alert rule severity.", + "type": "string", + "enum": [ + "Sev0", + "Sev1", + "Sev2", + "Sev3", + "Sev4" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true + } + }, + "frequency": { + "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.", + "type": "string", + "format": "duration" + }, + "detector": { + "description": "The alert rule's detector.", + "$ref": "#/definitions/Detector" + }, + "scope": { + "description": "The alert rule resources scope.", + "type": "array", + "items": { + "type": "string" + } + }, + "actionGroups": { + "description": "The alert rule actions.", + "$ref": "#/definitions/ActionGroupsInformation" + }, + "throttling": { + "description": "The alert rule throttling information.", + "$ref": "#/definitions/ThrottlingInformation" + } + }, + "required": [ + "state", + "severity", + "frequency", + "detector", + "scope", + "actionGroups" + ], + "description": "The alert rule properties." + }, + "AlertRulePatchProperties": { + "properties": { + "description": { + "description": "The alert rule description.", + "type": "string" + }, + "state": { + "description": "The alert rule state.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AlertRuleState", + "modelAsString": true + } + }, + "severity": { + "description": "The alert rule severity.", + "type": "string", + "enum": [ + "Sev0", + "Sev1", + "Sev2", + "Sev3", + "Sev4" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true + } + }, + "frequency": { + "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.", + "type": "string", + "format": "duration" + }, + "actionGroups": { + "description": "The alert rule actions.", + "$ref": "#/definitions/ActionGroupsInformation" + }, + "throttling": { + "description": "The alert rule throttling information.", + "$ref": "#/definitions/ThrottlingInformation" + } + }, + "description": "The alert rule properties." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription id." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "AlertRuleNameParameter": { + "name": "alertRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the alert rule.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ExpandDetectorParameter": { + "name": "expandDetector", + "in": "query", + "type": "boolean", + "description": "Indicates if Smart Detector should be expanded.", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json new file mode 100644 index 000000000000..6d99b0ab58ae --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-06-01", + "parameters": { + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": { + "customEmailSubject": "My custom email subject", + "customWebhookPayload": "{\"AlertRuleName\":\"#alertrulename\"}", + "groupIds": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" + ] + }, + "throttling": { + "duration": "PT20M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + } + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json new file mode 100644 index 000000000000..80afa3cfda46 --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": null + }, + "204": { + "body": null + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json new file mode 100644 index 000000000000..d6adf957b004 --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + } + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json new file mode 100644 index 000000000000..4eeed4d36ade --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "nextLink": "", + "value": [ + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + }, + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MySecondAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Disabled", + "severity": "Sev2", + "frequency": "PT15M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm2" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json new file mode 100644 index 000000000000..4d63effb728d --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "nextLink": "", + "value": [ + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT5M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + }, + { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MySecondAlertRule", + "location": "global", + "tags": "", + "properties": { + "description": "Sample smart detector alert rule description", + "state": "Disabled", + "severity": "Sev2", + "frequency": "PT15M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json new file mode 100644 index 000000000000..81f938cac810 --- /dev/null +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-06-01", + "parameters": { + "tags": {"newKey": "newVal"}, + "properties": { + "description": "New description for patching", + "frequency": "PT1M" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": { + "newKey": "newVal" + }, + "properties": { + "description": "New description for patching", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT1M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" + } + ], + "throttling": { + "duration": "PT20M" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 5d0b2f99e73a..19c6638543c6 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -32,6 +32,14 @@ tag: package-2019-03 ``` +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json +``` ### Tag: package-2019-03 These settings apply only when `--tag=package-2019-03` is specified on the command line. From b8aa04cb037526ab3fddbbac2647d1b4ca1fa1fb Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Tue, 9 Jul 2019 08:47:19 -0700 Subject: [PATCH 244/495] Network: added package tags in java readme (#6460) * added package tags in java readme * Update readme.java.md --- .../network/resource-manager/readme.java.md | 44 ++++++++++++------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md index e955ffe85355..f3b716d3af1e 100644 --- a/specification/network/resource-manager/readme.java.md +++ b/specification/network/resource-manager/readme.java.md @@ -17,6 +17,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network ``` yaml $(java) && $(multiapi) batch: - tag: package-2019-04 + - tag: package-2019-02 - tag: package-2018-12 - tag: package-2018-08 - tag: package-2018-07 @@ -34,8 +35,21 @@ Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-02' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.network.v2019_02_01 + output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2019_02_01 + regenerate-manager: true + generate-interface: true ``` ### Tag: package-2018-12 and java @@ -47,8 +61,8 @@ Please also specify `--azure-libraries-for-java-folder= Date: Tue, 9 Jul 2019 08:47:44 -0700 Subject: [PATCH 245/495] Restore default tag to stable version of the API - package-2018-07 (#6525) --- specification/mediaservices/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 43247c9aaaaa..ce319faa511c 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the MediaServices API. ``` yaml openapi-type: arm -tag: package-2019-05-preview +tag: package-2018-07 opt-in-extensible-enums: true ``` From 2a65faa9ddbf9970708ba507eeb8071a2d310b57 Mon Sep 17 00:00:00 2001 From: Atanas Koralski Date: Tue, 9 Jul 2019 10:54:40 -0700 Subject: [PATCH 246/495] GalleryApplication API (#6411) --- ...eateOrUpdateASimpleGalleryApplication.json | 66 ++ ...pdateASimpleGalleryApplicationVersion.json | 123 +++ .../examples/DeleteAGalleryApplication.json | 14 + .../DeleteAGalleryApplicationVersion.json | 15 + .../examples/GetAGalleryApplication.json | 24 + .../GetAGalleryApplicationVersion.json | 42 + ...plicationVersionWithReplicationStatus.json | 52 ++ ...licationVersionsInAGalleryApplication.json | 46 + .../ListGalleryApplicationsInAGallery.json | 28 + .../stable/2019-03-01/gallery.json | 802 ++++++++++++++++-- 10 files changed, 1152 insertions(+), 60 deletions(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json new file mode 100644 index 000000000000..9d589080a472 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplication": { + "location": "West US", + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "201": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "202": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json new file mode 100644 index 000000000000..6e22f94147af --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "galleryApplicationVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "endOfLifeDate": "2019-07-01T07:00:00Z", + "storageAccountType": "Standard_LRS" + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Creating" + } + } + }, + "202": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json new file mode 100644 index 000000000000..067627f7c4ea --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json new file mode 100644 index 000000000000..053e53163ef4 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json new file mode 100644 index 000000000000..29f7ba5d018b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json new file mode 100644 index 000000000000..549a2a5b1ccb --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json new file mode 100644 index 000000000000..66e53f7e6f32 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "$expand": "ReplicationStatus" + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "replicationStatus": { + "aggregatedState": "Completed", + "summary": [ + { + "region": "West US", + "state": "Completed", + "details": "", + "progress": 100 + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json new file mode 100644 index 000000000000..7b059ae6da39 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json new file mode 100644 index 000000000000..95224c991df9 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-03-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + ], + "nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json index 6cda8efb547c..694c0034f14d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json @@ -594,6 +594,406 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": { + "put": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_CreateOrUpdate", + "description": "Create or update a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be created." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "Parameters supplied to the create or update gallery Application operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Get", + "description": "Retrieves information about a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be retrieved." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application.": { + "$ref": "./examples/GetAGalleryApplication.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Delete", + "description": "Delete a gallery Application.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application.": { + "$ref": "./examples/DeleteAGalleryApplication.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": { + "put": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_CreateOrUpdate", + "description": "Create or update a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version is to be created." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplicationVersion", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "Parameters supplied to the create or update gallery Application Version operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application Version.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Get", + "description": "Retrieves information about a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be retrieved." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "ReplicationStatus" + ], + "x-ms-enum": { + "name": "ReplicationStatusTypes", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application Version.": { + "$ref": "./examples/GetAGalleryApplicationVersion.json" + }, + "Get a gallery Application Version with replication status.": { + "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Delete", + "description": "Delete a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application Version.": { + "$ref": "./examples/DeleteAGalleryApplicationVersion.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": { "get": { "tags": [ @@ -639,14 +1039,119 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": { "get": { "tags": [ - "Galleries" + "Galleries" + ], + "operationId": "Galleries_List", + "description": "List galleries under a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List galleries in a subscription.": { + "$ref": "./examples/ListGalleriesInASubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": { + "get": { + "tags": [ + "GalleryImages" + ], + "operationId": "GalleryImages_ListByGallery", + "description": "List gallery Image Definitions in a gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImageList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery images in a gallery.": { + "$ref": "./examples/ListGalleryImagesInAGallery.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": { + "get": { + "tags": [ + "GalleryImageVersions" ], - "operationId": "Galleries_List", - "description": "List galleries under a subscription.", + "operationId": "GalleryImageVersions_ListByGalleryImage", + "description": "List gallery Image Versions in a gallery Image Definition.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition resides." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed." + }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -655,7 +1160,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/GalleryList" + "$ref": "#/definitions/GalleryImageVersionList" } }, "default": { @@ -666,8 +1171,8 @@ } }, "x-ms-examples": { - "List galleries in a subscription.": { - "$ref": "./examples/ListGalleriesInASubscription.json" + "List gallery Image Versions in a gallery Image Definition.": { + "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json" } }, "x-ms-pageable": { @@ -675,13 +1180,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": { "get": { "tags": [ - "GalleryImages" + "GalleryApplications" ], - "operationId": "GalleryImages_ListByGallery", - "description": "List gallery Image Definitions in a gallery.", + "operationId": "GalleryApplications_ListByGallery", + "description": "List gallery Application Definitions in a gallery.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -694,7 +1199,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed." + "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -704,7 +1209,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/GalleryImageList" + "$ref": "#/definitions/GalleryApplicationList" } }, "default": { @@ -715,8 +1220,8 @@ } }, "x-ms-examples": { - "List gallery images in a gallery.": { - "$ref": "./examples/ListGalleryImagesInAGallery.json" + "List gallery Applications in a gallery.": { + "$ref": "./examples/ListGalleryApplicationsInAGallery.json" } }, "x-ms-pageable": { @@ -724,13 +1229,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": { "get": { "tags": [ - "GalleryImageVersions" + "GalleryApplicationVersions" ], - "operationId": "GalleryImageVersions_ListByGalleryImage", - "description": "List gallery Image Versions in a gallery Image Definition.", + "operationId": "GalleryApplicationVersions_ListByGalleryApplication", + "description": "List gallery Application Versions in a gallery Application Definition.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -743,14 +1248,14 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." + "description": "The name of the Shared Application Gallery in which the Application Definition resides." }, { - "name": "galleryImageName", + "name": "galleryApplicationName", "in": "path", "required": true, "type": "string", - "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed." + "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -760,7 +1265,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/GalleryImageVersionList" + "$ref": "#/definitions/GalleryApplicationVersionList" } }, "default": { @@ -771,8 +1276,8 @@ } }, "x-ms-examples": { - "List gallery Image Versions in a gallery Image Definition.": { - "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json" + "List gallery Application Versions in a gallery Application Definition.": { + "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json" } }, "x-ms-pageable": { @@ -832,6 +1337,145 @@ }, "description": "Describes the gallery unique name." }, + "GalleryApplication": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryApplicationProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Application Definition that you want to create or update." + }, + "GalleryApplicationProperties": { + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery Application Definition resource. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "supportedOSType": { + "type": "string", + "description": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersion": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryApplicationVersionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Application Version that you want to create or update." + }, + "GalleryApplicationVersionProperties": { + "properties": { + "publishingProfile": { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery Application Version.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + }, + "replicationStatus": { + "readOnly": true, + "$ref": "#/definitions/ReplicationStatus" + } + }, + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery Image Version." + }, + "GalleryApplicationVersionPublishingProfile": { + "properties": { + "source": { + "$ref": "#/definitions/UserArtifactSource" + }, + "contentType": { + "type": "string", + "description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc." + }, + "enableHealthCheck": { + "type": "boolean", + "description": "Optional. Whether or not this application reports health." + } + }, + "allOf": [ + { + "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" + } + ], + "required": [ + "source" + ], + "description": "The publishing profile of a gallery Image Version." + }, + "UserArtifactSource": { + "properties": { + "fileName": { + "type": "string", + "description": "Required. The fileName of the artifact." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage blob." + } + }, + "required": [ + "fileName", + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." + }, "GalleryImage": { "properties": { "properties": { @@ -1060,13 +1704,39 @@ }, "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." }, - "source": { - "$ref": "#/definitions/GalleryArtifactSource" + "replicaCount": { + "type": "integer", + "format": "int32", + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "excludeFromLatest": { + "type": "boolean", + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "publishedDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp for when the gallery Image Version is published." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." + }, + "storageAccountType": { + "type": "string", + "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": true + } } }, - "required": [ - "source" - ], "description": "Describes the basic gallery artifact publishing profile." }, "TargetRegion": { @@ -1123,37 +1793,8 @@ }, "GalleryImageVersionPublishingProfile": { "properties": { - "replicaCount": { - "type": "integer", - "format": "int32", - "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." - }, - "excludeFromLatest": { - "type": "boolean", - "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." - }, - "publishedDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The timestamp for when the gallery Image Version is published." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." - }, - "storageAccountType": { - "type": "string", - "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", - "enum": [ - "Standard_LRS", - "Standard_ZRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - } + "source": { + "$ref": "#/definitions/GalleryArtifactSource" } }, "allOf": [ @@ -1161,6 +1802,9 @@ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" } ], + "required": [ + "source" + ], "description": "The publishing profile of a gallery Image Version." }, "GalleryImageVersionStorageProfile": { @@ -1350,6 +1994,44 @@ ], "description": "The List Gallery Image version operation response." }, + "GalleryApplicationList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "A list of Gallery Applications." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Applications operation response." + }, + "GalleryApplicationVersionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "A list of gallery Application Versions." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Application version operation response." + }, "CloudError": { "x-ms-external": true, "properties": { From fc9168cb62f513ea9ff88632336f1dc7f5fb9385 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 9 Jul 2019 17:59:49 -0400 Subject: [PATCH 247/495] chore: jsonfmt timeseriesinsights (#6556) --- .../2018-11-01-preview/examples/QueryGetEventsPage4.json | 2 +- .../examples/QueryGetEventsWithTakePage2.json | 2 +- .../examples/QueryGetSeriesWithTakePage1.json | 2 +- .../examples/QueryGetSeriesWithTakePage2.json | 2 +- .../examples/SearchInstancesExpandHierarchiesOnly.json | 6 ++++-- .../SearchInstancesHierarchiesDefaultInputPage1.json | 2 +- .../SearchInstancesHierarchiesDefaultInputPage2.json | 2 +- .../SearchInstancesHierarchiesDefaultInputPage3.json | 2 +- .../examples/SearchInstancesOneLevel.json | 2 +- .../examples/SearchInstancesUntilChildren.json | 6 ++++-- .../preview/2018-11-01-preview/timeseriesinsights.json | 9 ++++----- 11 files changed, 20 insertions(+), 17 deletions(-) diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json index cedfa5dd05cc..1dc95e83faf2 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json @@ -34,7 +34,7 @@ "body": { "timestamps": [], "properties": [], - "progress": 100.0 + "progress": 100.0 } } } diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json index ec7bd2948dcf..7bdf6934dfc1 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json @@ -26,7 +26,7 @@ "type": "Double" } ], - "take": 10 + "take": 10 } } }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json index 49c4a7535e26..380fd2ad94d3 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json @@ -28,7 +28,7 @@ "projectedVariables": [ "temperatures" ], - "take": 10 + "take": 10 } } }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json index f4e7cc2f5c79..aeec1e2fba8f 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json @@ -29,7 +29,7 @@ "projectedVariables": [ "temperatures" ], - "take": 10 + "take": 10 } } }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json index eddf462c771c..c2443f272c75 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json @@ -4,9 +4,11 @@ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", "parameters": { "searchString": "floor 100", - "path": ["Location"], + "path": [ + "Location" + ], "instances": null, - "hierarchies": { + "hierarchies": { "expand": { "kind": "UntilChildren" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json index bf9e3a57e493..a4053f07d4b6 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json @@ -13,7 +13,7 @@ "highlights": true, "pageSize": 1 }, - "hierarchies": { + "hierarchies": { "expand": { "kind": "UntilChildren" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json index d46c48d8cb2f..0557d31a3664 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json @@ -14,7 +14,7 @@ "highlights": true, "pageSize": 1 }, - "hierarchies": { + "hierarchies": { "expand": { "kind": "UntilChildren" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json index 5422e7021a72..f3aa7704c26c 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json @@ -14,7 +14,7 @@ "highlights": true, "pageSize": 1 }, - "hierarchies": { + "hierarchies": { "expand": { "kind": "UntilChildren" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json index 332df3ff5b45..f59e6e7f858f 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json @@ -13,7 +13,7 @@ "highlights": false, "pageSize": 2 }, - "hierarchies": { + "hierarchies": { "expand": { "kind": "OneLevel" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json index 0508357f5e48..5f7b15f9c180 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json @@ -4,7 +4,9 @@ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com", "parameters": { "searchString": "floor 100", - "path": ["Location"], + "path": [ + "Location" + ], "instances": { "recursive": false, "sort": { @@ -13,7 +15,7 @@ "highlights": false, "pageSize": 2 }, - "hierarchies": { + "hierarchies": { "expand": { "kind": "UntilChildren" }, diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json index 06b4a20ac489..876742d91b4b 100644 --- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json +++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json @@ -1293,7 +1293,7 @@ "values": { "description": "Values of a single property corresponding to the timestamps. May contain nulls. Type of values matches the type of property.", "type": "array", - "items": { } + "items": {} } } } @@ -1352,7 +1352,7 @@ "instanceFields": { "description": "Set of key-value pairs that contain user-defined instance properties. May be null.", "type": "object", - "additionalProperties": { } + "additionalProperties": {} } }, "required": [ @@ -1963,7 +1963,7 @@ "description": "The hierarchy nodes which contains the instances matching the query based on the input. May be empty or null.", "readOnly": true, "type": "object", - "$ref": "#/definitions/SearchHierarchyNodesResponse" + "$ref": "#/definitions/SearchHierarchyNodesResponse" } } }, @@ -1984,7 +1984,6 @@ "readOnly": true, "type": "integer", "format": "int32" - }, "continuationToken": { "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.", @@ -2017,7 +2016,7 @@ "type": "string" } } - }, + }, "InstanceHit": { "description": "Time series instance that is returned by instances search call. Returned instance matched the search request and contains highlighted text to be displayed to the user if it is set to 'true'.", "type": "object", From db12bb2c05e4c84ed59cb218d908a23efd134c3c Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Wed, 10 Jul 2019 07:43:56 -0700 Subject: [PATCH 248/495] Update CONTRIBUTING.md --- .github/CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 1a36d0d17086..13f942c744fe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,4 +1,6 @@ -# Contributing to azure-rest-api-specs +# *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.* + +## Contributing to azure-rest-api-specs First, thank you for contributing to Azure specs repository! Swagger specs are the basis for generating Azure SDKs in multiple different languages, Azure CLIs for interacting with the services, and can provide documentation for these services. ## Basics From ce0661fddc0d45e41e7c8eb4faa378f5d9492699 Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Wed, 10 Jul 2019 07:45:56 -0700 Subject: [PATCH 249/495] Create ContributingGuidelines.md --- documentation/ContributingGuidelines.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 documentation/ContributingGuidelines.md diff --git a/documentation/ContributingGuidelines.md b/documentation/ContributingGuidelines.md new file mode 100644 index 000000000000..f3aeb85b418a --- /dev/null +++ b/documentation/ContributingGuidelines.md @@ -0,0 +1 @@ +Please refer to the internal [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for internal contribution guidelines. From c040881e4f5d8d959491cfa7621a6809c63a3846 Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Wed, 10 Jul 2019 07:50:16 -0700 Subject: [PATCH 250/495] Update ContributingGuidelines.md --- documentation/ContributingGuidelines.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/ContributingGuidelines.md b/documentation/ContributingGuidelines.md index f3aeb85b418a..5c23dbd5ac32 100644 --- a/documentation/ContributingGuidelines.md +++ b/documentation/ContributingGuidelines.md @@ -1 +1,2 @@ -Please refer to the internal [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for internal contribution guidelines. +### Please refer to the [`wiki`](https://github.com/Azure/adx-documentation-pr/wiki) for internal contribution guidelines. +[`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access. From ed53d8d6f137fb0df0cf3053571f8c33063b73e9 Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Wed, 10 Jul 2019 07:52:23 -0700 Subject: [PATCH 251/495] Update CONTRIBUTING.md --- .github/CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 13f942c744fe..ea9533b1fdbb 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,5 +1,7 @@ -# *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.* +### *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.* +([`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access.) +

## Contributing to azure-rest-api-specs First, thank you for contributing to Azure specs repository! Swagger specs are the basis for generating Azure SDKs in multiple different languages, Azure CLIs for interacting with the services, and can provide documentation for these services. From 5701f7db0dea3570327e6e92799d82b8197399b8 Mon Sep 17 00:00:00 2001 From: gaurangisaxena <36492321+gaurangisaxena@users.noreply.github.com> Date: Wed, 10 Jul 2019 12:54:15 -0700 Subject: [PATCH 252/495] Add RP Data Share to specification folder [Public Preview] (#6583) * add data share * remove PII from examples * remove unnecessary example files --- .../preview/2018-11-01-preview/DataShare.json | 5559 +++++++++++++++++ .../examples/Accounts_Create.json | 72 + .../examples/Accounts_Delete.json | 42 + .../examples/Accounts_Get.json | 37 + .../Accounts_ListByResourceGroup.json | 52 + .../examples/Accounts_ListBySubscription.json | 51 + .../examples/Accounts_Update.json | 42 + .../examples/ConsumerInvitations_Get.json | 35 + .../ConsumerInvitations_ListInvitations.json | 38 + .../ConsumerInvitations_RejectInvitation.json | 39 + ...ourceDataSets_ListByShareSubscription.json | 34 + .../examples/DataSetMappings_Create.json | 67 + .../examples/DataSetMappings_Delete.json | 30 + .../examples/DataSetMappings_Get.json | 34 + ...taSetMappings_ListByShareSubscription.json | 50 + .../examples/DataSets_Create.json | 67 + .../examples/DataSets_Delete.json | 30 + .../examples/DataSets_Get.json | 34 + .../examples/DataSets_ListByShare.json | 50 + .../examples/Invitations_Create.json | 59 + .../examples/Invitations_Delete.json | 30 + .../examples/Invitations_Get.json | 33 + .../examples/Invitations_ListByShare.json | 35 + .../examples/Operations_List.json | 48 + ...ProviderShareSubscriptions_GetByShare.json | 34 + ...roviderShareSubscriptions_ListByShare.json | 37 + .../ProviderShareSubscriptions_Reinstate.json | 34 + .../ProviderShareSubscriptions_Revoke.json | 58 + ...reSubscriptions_CancelSynchronization.json | 44 + .../examples/ShareSubscriptions_Create.json | 64 + .../examples/ShareSubscriptions_Delete.json | 43 + .../examples/ShareSubscriptions_Get.json | 37 + .../ShareSubscriptions_ListByAccount.json | 49 + ...istSourceShareSynchronizationSettings.json | 31 + ...scriptions_ListSynchronizationDetails.json | 36 + ...areSubscriptions_ListSynchronizations.json | 32 + .../ShareSubscriptions_Synchronize.json | 44 + .../examples/Shares_Create.json | 60 + .../examples/Shares_Delete.json | 43 + .../examples/Shares_Get.json | 32 + .../examples/Shares_ListByAccount.json | 47 + .../Shares_ListSynchronizationDetails.json | 36 + .../examples/Shares_ListSynchronizations.json | 34 + .../SynchronizationSettings_Create.json | 60 + .../SynchronizationSettings_Delete.json | 44 + .../examples/SynchronizationSettings_Get.json | 32 + .../SynchronizationSettings_ListByShare.json | 34 + .../examples/Triggers_Create.json | 65 + .../examples/Triggers_Delete.json | 44 + .../examples/Triggers_Get.json | 34 + .../Triggers_ListByShareSubscription.json | 37 + .../datashare/resource-manager/readme.go.md | 26 + .../datashare/resource-manager/readme.md | 102 + 53 files changed, 7841 insertions(+) create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json create mode 100644 specification/datashare/resource-manager/readme.go.md create mode 100644 specification/datashare/resource-manager/readme.md diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json new file mode 100644 index 000000000000..02ce0e238c1e --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json @@ -0,0 +1,5559 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-11-01-preview", + "title": "DataShareManagementClient", + "description": "Creates a Microsoft.DataShare management client." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}": { + "get": { + "tags": [ + "Account" + ], + "summary": "Get an account under a resource group", + "description": "Get an account", + "operationId": "Accounts_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Account" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "./examples/Accounts_Get.json" + } + } + }, + "put": { + "tags": [ + "Account" + ], + "summary": "Create an account in the given resource group", + "description": "Create an account", + "operationId": "Accounts_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "account", + "in": "body", + "description": "The account payload.", + "required": true, + "schema": { + "$ref": "#/definitions/Account" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Account" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Account" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_Create": { + "$ref": "./examples/Accounts_Create.json" + } + } + }, + "delete": { + "tags": [ + "Account" + ], + "summary": "Delete an account", + "description": "DeleteAccount", + "operationId": "Accounts_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationResponse" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "./examples/Accounts_Delete.json" + } + } + }, + "patch": { + "tags": [ + "Account" + ], + "summary": "Patch a given account", + "description": "Patch an account", + "operationId": "Accounts_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "accountUpdateParameters", + "in": "body", + "description": "The account update parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/AccountUpdateParameters" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Account" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "./examples/Accounts_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts": { + "get": { + "tags": [ + "Account" + ], + "summary": "List Accounts in a subscription", + "description": "List Accounts in Subscription", + "operationId": "Accounts_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/AccountList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Accounts_ListBySubscription": { + "$ref": "./examples/Accounts_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts": { + "get": { + "tags": [ + "Account" + ], + "summary": "List Accounts in a resource group", + "description": "List Accounts in ResourceGroup", + "operationId": "Accounts_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/AccountList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Accounts_ListByResourceGroup": { + "$ref": "./examples/Accounts_ListByResourceGroup.json" + } + } + } + }, + "/providers/Microsoft.DataShare/locations/{location}/RejectInvitation": { + "post": { + "tags": [ + "ConsumerInvitation" + ], + "summary": "Rejects the invitation identified by invitationId", + "description": "Reject an invitation", + "operationId": "ConsumerInvitations_RejectInvitation", + "parameters": [ + { + "name": "location", + "in": "path", + "description": "Location of the invitation", + "required": true, + "type": "string" + }, + { + "name": "invitation", + "in": "body", + "description": "An invitation payload", + "required": true, + "schema": { + "$ref": "#/definitions/ConsumerInvitation" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConsumerInvitation" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ConsumerInvitations_RejectInvitation": { + "$ref": "./examples/ConsumerInvitations_RejectInvitation.json" + } + } + } + }, + "/providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}": { + "get": { + "tags": [ + "ConsumerInvitation" + ], + "summary": "Gets the invitation identified by invitationId", + "description": "Get an invitation", + "operationId": "ConsumerInvitations_Get", + "parameters": [ + { + "name": "location", + "in": "path", + "description": "Location of the invitation", + "required": true, + "type": "string" + }, + { + "name": "invitationId", + "in": "path", + "description": "An invitation id", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConsumerInvitation" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ConsumerInvitations_Get": { + "$ref": "./examples/ConsumerInvitations_Get.json" + } + } + } + }, + "/providers/Microsoft.DataShare/ListInvitations": { + "get": { + "tags": [ + "ConsumerInvitation" + ], + "summary": "List the invitations", + "description": "Lists invitations", + "operationId": "ConsumerInvitations_ListInvitations", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "The continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConsumerInvitationList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ConsumerInvitations_ListInvitations": { + "$ref": "./examples/ConsumerInvitations_ListInvitations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName}": { + "get": { + "tags": [ + "DataSet" + ], + "summary": "Get DataSet in a share.", + "description": "Get a DataSet in a share", + "operationId": "DataSets_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "dataSetName", + "in": "path", + "description": "The name of the dataSet.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSet" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSets_Get": { + "$ref": "./examples/DataSets_Get.json" + } + } + }, + "put": { + "tags": [ + "DataSet" + ], + "summary": "Adds a new data set to an existing share or updates it if existing.", + "description": "Create a DataSet ", + "operationId": "DataSets_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share to add the data set to.", + "required": true, + "type": "string" + }, + { + "name": "dataSetName", + "in": "path", + "description": "The name of the dataSet.", + "required": true, + "type": "string" + }, + { + "name": "dataSet", + "in": "body", + "description": "The new data set information.", + "required": true, + "schema": { + "$ref": "#/definitions/DataSet" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSet" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSet" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSets_Create": { + "$ref": "./examples/DataSets_Create.json" + } + } + }, + "delete": { + "tags": [ + "DataSet" + ], + "summary": "Delete DataSet in a share.", + "description": "Delete a DataSet in a share", + "operationId": "DataSets_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "dataSetName", + "in": "path", + "description": "The name of the dataSet.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSets_Delete": { + "$ref": "./examples/DataSets_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets": { + "get": { + "tags": [ + "DataSet" + ], + "summary": "List DataSets in a share.", + "description": "List DataSets in a share", + "operationId": "DataSets_ListByShare", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSetList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "DataSets_ListByShare": { + "$ref": "./examples/DataSets_ListByShare.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName}": { + "get": { + "tags": [ + "DataSetMapping" + ], + "summary": "Get DataSetMapping in a shareSubscription.", + "description": "Get a DataSetMapping in a shareSubscription", + "operationId": "DataSetMappings_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "dataSetMappingName", + "in": "path", + "description": "The name of the dataSetMapping.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSetMapping" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSetMappings_Get": { + "$ref": "./examples/DataSetMappings_Get.json" + } + } + }, + "put": { + "tags": [ + "DataSetMapping" + ], + "summary": "Maps a source data set in the source share to a sink data set in the share subscription.\r\nEnables copying the data set from source to destination.", + "description": "Create a DataSetMapping ", + "operationId": "DataSetMappings_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription which will hold the data set sink.", + "required": true, + "type": "string" + }, + { + "name": "dataSetMappingName", + "in": "path", + "description": "The Id of the source data set being mapped.", + "required": true, + "type": "string" + }, + { + "name": "dataSetMapping", + "in": "body", + "description": "Destination data set configuration details.", + "required": true, + "schema": { + "$ref": "#/definitions/DataSetMapping" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSetMapping" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSetMapping" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSetMappings_Create": { + "$ref": "./examples/DataSetMappings_Create.json" + } + } + }, + "delete": { + "tags": [ + "DataSetMapping" + ], + "summary": "Delete DataSetMapping in a shareSubscription.", + "description": "Delete a DataSetMapping in a shareSubscription", + "operationId": "DataSetMappings_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "dataSetMappingName", + "in": "path", + "description": "The name of the dataSetMapping.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "DataSetMappings_Delete": { + "$ref": "./examples/DataSetMappings_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings": { + "get": { + "tags": [ + "DataSetMapping" + ], + "summary": "List DataSetMappings in a share subscription.", + "description": "List DataSetMappings in a share subscription", + "operationId": "DataSetMappings_ListByShareSubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataSetMappingList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "DataSetMappings_ListByShareSubscription": { + "$ref": "./examples/DataSetMappings_ListByShareSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations/{invitationName}": { + "get": { + "tags": [ + "Invitation" + ], + "summary": "Get Invitation in a share.", + "description": "Get an invitation in a share", + "operationId": "Invitations_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "invitationName", + "in": "path", + "description": "The name of the invitation.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Invitation" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Invitations_Get": { + "$ref": "./examples/Invitations_Get.json" + } + } + }, + "put": { + "tags": [ + "Invitation" + ], + "summary": "Sends a new invitation to a recipient to access a share.", + "description": "Create an invitation ", + "operationId": "Invitations_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share to send the invitation for.", + "required": true, + "type": "string" + }, + { + "name": "invitationName", + "in": "path", + "description": "The name of the invitation.", + "required": true, + "type": "string" + }, + { + "name": "invitation", + "in": "body", + "description": "Invitation details.", + "required": true, + "schema": { + "$ref": "#/definitions/Invitation" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Invitation" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Invitation" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Invitations_Create": { + "$ref": "./examples/Invitations_Create.json" + } + } + }, + "delete": { + "tags": [ + "Invitation" + ], + "summary": "Delete Invitation in a share.", + "description": "Delete an invitation in a share", + "operationId": "Invitations_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "invitationName", + "in": "path", + "description": "The name of the invitation.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Invitations_Delete": { + "$ref": "./examples/Invitations_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations": { + "get": { + "tags": [ + "Invitation" + ], + "summary": "List all Invitations in a share.", + "description": "List invitations in a share", + "operationId": "Invitations_ListByShare", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "The continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InvitationList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Invitations_ListByShare": { + "$ref": "./examples/Invitations_ListByShare.json" + } + } + } + }, + "/providers/Microsoft.DataShare/operations": { + "get": { + "tags": [ + "Operation" + ], + "summary": "Lists the available operations", + "description": "List of available operations", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}": { + "get": { + "tags": [ + "Share" + ], + "summary": "Get a specified share", + "description": "Get a share ", + "operationId": "Shares_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share to retrieve.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Share" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Shares_Get": { + "$ref": "./examples/Shares_Get.json" + } + } + }, + "put": { + "tags": [ + "Share" + ], + "summary": "Create a share in the given account.", + "description": "Create a share ", + "operationId": "Shares_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "share", + "in": "body", + "description": "The share payload", + "required": true, + "schema": { + "$ref": "#/definitions/Share" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Share" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Share" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Shares_Create": { + "$ref": "./examples/Shares_Create.json" + } + } + }, + "delete": { + "tags": [ + "Share" + ], + "summary": "Deletes a share", + "description": "Delete a share ", + "operationId": "Shares_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationResponse" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Shares_Delete": { + "$ref": "./examples/Shares_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares": { + "get": { + "tags": [ + "Share" + ], + "summary": "List of available shares under an account.", + "description": "List shares in an account", + "operationId": "Shares_ListByAccount", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation Token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Shares_ListByAccount": { + "$ref": "./examples/Shares_ListByAccount.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizations": { + "post": { + "tags": [ + "Share" + ], + "summary": "List Synchronizations in a share", + "description": "List synchronizations of a share", + "operationId": "Shares_ListSynchronizations", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSynchronizationList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Shares_ListSynchronizations": { + "$ref": "./examples/Shares_ListSynchronizations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizationDetails": { + "post": { + "tags": [ + "Share" + ], + "summary": "List data set level details for a share synchronization", + "description": "List synchronization details", + "operationId": "Shares_ListSynchronizationDetails", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "shareSynchronization", + "in": "body", + "description": "Share Synchronization payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ShareSynchronization" + } + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationDetailsList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Shares_ListSynchronizationDetails": { + "$ref": "./examples/Shares_ListSynchronizationDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}": { + "get": { + "tags": [ + "Share" + ], + "summary": "Get share subscription in a provider share.", + "description": "Get share subscription in a provider share", + "operationId": "ProviderShareSubscriptions_GetByShare", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "providerShareSubscriptionId", + "in": "path", + "description": "To locate shareSubscription", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProviderShareSubscription" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ProviderShareSubscriptions_GetByShare": { + "$ref": "./examples/ProviderShareSubscriptions_GetByShare.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions": { + "get": { + "tags": [ + "Share" + ], + "summary": "List of available share subscriptions to a provider share.", + "description": "List share subscriptions in a provider share", + "operationId": "ProviderShareSubscriptions_ListByShare", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation Token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProviderShareSubscriptionList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ProviderShareSubscriptions_ListByShare": { + "$ref": "./examples/ProviderShareSubscriptions_ListByShare.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/revoke": { + "post": { + "tags": [ + "Share" + ], + "summary": "Revoke share subscription in a provider share.", + "description": "Revoke share subscription in a provider share", + "operationId": "ProviderShareSubscriptions_Revoke", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "providerShareSubscriptionId", + "in": "path", + "description": "To locate shareSubscription", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProviderShareSubscription" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ProviderShareSubscription" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ProviderShareSubscriptions_Revoke": { + "$ref": "./examples/ProviderShareSubscriptions_Revoke.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/reinstate": { + "post": { + "tags": [ + "Share" + ], + "summary": "Reinstate share subscription in a provider share.", + "description": "Reinstate share subscription in a provider share", + "operationId": "ProviderShareSubscriptions_Reinstate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "providerShareSubscriptionId", + "in": "path", + "description": "To locate shareSubscription", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProviderShareSubscription" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ProviderShareSubscriptions_Reinstate": { + "$ref": "./examples/ProviderShareSubscriptions_Reinstate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}": { + "get": { + "tags": [ + "ShareSubscription" + ], + "summary": "Get shareSubscription in an account.", + "description": "Get a shareSubscription in an account", + "operationId": "ShareSubscriptions_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscription" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ShareSubscriptions_Get": { + "$ref": "./examples/ShareSubscriptions_Get.json" + } + } + }, + "put": { + "tags": [ + "ShareSubscription" + ], + "summary": "Create shareSubscription in an account.", + "description": "Create a shareSubscription in an account", + "operationId": "ShareSubscriptions_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "shareSubscription", + "in": "body", + "description": "create parameters for shareSubscription", + "required": true, + "schema": { + "$ref": "#/definitions/ShareSubscription" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscription" + } + }, + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscription" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "ShareSubscriptions_Create": { + "$ref": "./examples/ShareSubscriptions_Create.json" + } + } + }, + "delete": { + "tags": [ + "ShareSubscription" + ], + "summary": "Delete shareSubscription in an account.", + "description": "Delete a shareSubscription in an account", + "operationId": "ShareSubscriptions_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationResponse" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ShareSubscriptions_Delete": { + "$ref": "./examples/ShareSubscriptions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/ConsumerSourceDataSets": { + "get": { + "tags": [ + "ShareSubscription" + ], + "summary": "Get source dataSets of a shareSubscription.", + "description": "Get source dataSets of a shareSubscription", + "operationId": "ConsumerSourceDataSets_ListByShareSubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConsumerSourceDataSetList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ConsumerSourceDataSets_ListByShareSubscription": { + "$ref": "./examples/ConsumerSourceDataSets_ListByShareSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSourceShareSynchronizationSettings": { + "post": { + "tags": [ + "ShareSubscription" + ], + "summary": "Get source share synchronization settings for a shareSubscription.", + "description": "Get synchronization settings set on a share", + "operationId": "ShareSubscriptions_ListSourceShareSynchronizationSettings", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SourceShareSynchronizationSettingList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ShareSubscriptions_ListSourceShareSynchronizationSettings": { + "$ref": "./examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations": { + "post": { + "tags": [ + "ShareSubscription" + ], + "summary": "List Synchronizations in a share subscription.", + "description": "List synchronizations of a share subscription", + "operationId": "ShareSubscriptions_ListSynchronizations", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronizationList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ShareSubscriptions_ListSynchronizations": { + "$ref": "./examples/ShareSubscriptions_ListSynchronizations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizationDetails": { + "post": { + "tags": [ + "ShareSubscription" + ], + "summary": "List data set level details for a share subscription synchronization", + "description": "List synchronization details", + "operationId": "ShareSubscriptions_ListSynchronizationDetails", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription.", + "required": true, + "type": "string" + }, + { + "name": "shareSubscriptionSynchronization", + "in": "body", + "description": "Share Subscription Synchronization payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationDetailsList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ShareSubscriptions_ListSynchronizationDetails": { + "$ref": "./examples/ShareSubscriptions_ListSynchronizationDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/Synchronize": { + "post": { + "tags": [ + "ShareSubscription" + ], + "summary": "Initiate an asynchronous data share job", + "description": "Initiate a copy", + "operationId": "ShareSubscriptions_Synchronize", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of share subscription", + "required": true, + "type": "string" + }, + { + "name": "synchronize", + "in": "body", + "description": "Synchronize payload", + "required": true, + "schema": { + "$ref": "#/definitions/Synchronize" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ShareSubscriptions_Synchronize": { + "$ref": "./examples/ShareSubscriptions_Synchronize.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/cancelSynchronization": { + "post": { + "tags": [ + "ShareSubscription" + ], + "summary": "Request cancellation of a data share snapshot", + "description": "Request to cancel a synchronization.", + "operationId": "ShareSubscriptions_CancelSynchronization", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "shareSubscriptionSynchronization", + "in": "body", + "description": "Share Subscription Synchronization payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ShareSubscriptions_CancelSynchronization": { + "$ref": "./examples/ShareSubscriptions_CancelSynchronization.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions": { + "get": { + "tags": [ + "ShareSubscription" + ], + "summary": "List of available share subscriptions under an account.", + "description": "List share subscriptions in an account", + "operationId": "ShareSubscriptions_ListByAccount", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation Token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ShareSubscriptionList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ShareSubscriptions_ListByAccount": { + "$ref": "./examples/ShareSubscriptions_ListByAccount.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}": { + "get": { + "tags": [ + "SynchronizationSetting" + ], + "summary": "Get synchronizationSetting in a share.", + "description": "Get a synchronizationSetting in a share", + "operationId": "SynchronizationSettings_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "synchronizationSettingName", + "in": "path", + "description": "The name of the synchronizationSetting.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationSetting" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "SynchronizationSettings_Get": { + "$ref": "./examples/SynchronizationSettings_Get.json" + } + } + }, + "put": { + "tags": [ + "SynchronizationSetting" + ], + "summary": "Adds a new synchronization setting to an existing share or updates it if existing.", + "description": "Create or update a synchronizationSetting ", + "operationId": "SynchronizationSettings_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share to add the synchronization setting to.", + "required": true, + "type": "string" + }, + { + "name": "synchronizationSettingName", + "in": "path", + "description": "The name of the synchronizationSetting.", + "required": true, + "type": "string" + }, + { + "name": "synchronizationSetting", + "in": "body", + "description": "The new synchronization setting information.", + "required": true, + "schema": { + "$ref": "#/definitions/SynchronizationSetting" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationSetting" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationSetting" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "SynchronizationSettings_Create": { + "$ref": "./examples/SynchronizationSettings_Create.json" + } + } + }, + "delete": { + "tags": [ + "SynchronizationSetting" + ], + "summary": "Delete synchronizationSetting in a share.", + "description": "Delete a synchronizationSetting in a share", + "operationId": "SynchronizationSettings_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "name": "synchronizationSettingName", + "in": "path", + "description": "The name of the synchronizationSetting .", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationResponse" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "SynchronizationSettings_Delete": { + "$ref": "./examples/SynchronizationSettings_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings": { + "get": { + "tags": [ + "SynchronizationSetting" + ], + "summary": "List synchronizationSettings in a share.", + "description": "List synchronizationSettings in a share", + "operationId": "SynchronizationSettings_ListByShare", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the share.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SynchronizationSettingList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "SynchronizationSettings_ListByShare": { + "$ref": "./examples/SynchronizationSettings_ListByShare.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}": { + "get": { + "tags": [ + "Trigger" + ], + "summary": "Get Trigger in a shareSubscription.", + "description": "Get a Trigger in a shareSubscription", + "operationId": "Triggers_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The name of the trigger.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Trigger" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-examples": { + "Triggers_Get": { + "$ref": "./examples/Triggers_Get.json" + } + } + }, + "put": { + "tags": [ + "Trigger" + ], + "summary": "This method creates a trigger for a share subscription", + "description": "Create a Trigger ", + "operationId": "Triggers_Create", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription which will hold the data set sink.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The name of the trigger.", + "required": true, + "type": "string" + }, + { + "name": "trigger", + "in": "body", + "description": "Trigger details.", + "required": true, + "schema": { + "$ref": "#/definitions/Trigger" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Trigger" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Trigger" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Triggers_Create": { + "$ref": "./examples/Triggers_Create.json" + } + } + }, + "delete": { + "tags": [ + "Trigger" + ], + "summary": "Delete Trigger in a shareSubscription.", + "description": "Delete a Trigger in a shareSubscription", + "operationId": "Triggers_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the shareSubscription.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The name of the trigger.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationResponse" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Triggers_Delete": { + "$ref": "./examples/Triggers_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers": { + "get": { + "tags": [ + "Trigger" + ], + "summary": "List Triggers in a share subscription.", + "description": "List Triggers in a share subscription", + "operationId": "Triggers_ListByShareSubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/accountName" + }, + { + "name": "shareSubscriptionName", + "in": "path", + "description": "The name of the share subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$skipToken", + "in": "query", + "description": "Continuation token", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/TriggerList" + } + }, + "default": { + "description": "An error response received from the Microsoft.DataShare resource provider.", + "schema": { + "$ref": "#/definitions/DataShareError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Triggers_ListByShareSubscription": { + "$ref": "./examples/Triggers_ListByShareSubscription.json" + } + } + } + } + }, + "definitions": { + "Account": { + "description": "An account data transfer object.", + "required": [ + "identity" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DefaultDto" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "Identity Info on the Account" + }, + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "Properties on the account", + "x-ms-client-flatten": true + } + } + }, + "Identity": { + "description": "Identity of resource", + "type": "object", + "properties": { + "principalId": { + "description": "service principal Id", + "type": "string", + "readOnly": true + }, + "tenantId": { + "description": "Tenant Id", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Identity Type", + "enum": [ + "SystemAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "type", + "modelAsString": true + } + } + } + }, + "AccountProperties": { + "description": "Account property bag.", + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Time at which the account was created.", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "Name of the user who created the account.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the Account", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Moving", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + } + } + }, + "DataShareError": { + "description": "The data share error model.", + "required": [ + "error" + ], + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/DataShareErrorInfo", + "description": "The data share error body" + } + } + }, + "DataShareErrorInfo": { + "description": "The data share error body model.", + "required": [ + "code", + "message" + ], + "type": "object", + "properties": { + "code": { + "description": "Code of the error", + "type": "string" + }, + "details": { + "description": "Nested details of the error model", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/DataShareErrorInfo" + } + }, + "message": { + "description": "Message of the error", + "type": "string" + }, + "target": { + "description": "Target of the error", + "type": "string" + } + } + }, + "AccountUpdateParameters": { + "description": "Update parameters for accounts", + "type": "object", + "properties": { + "tags": { + "description": "Tags on the azure resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "OperationResponse": { + "description": "Response for long running operation", + "required": [ + "status" + ], + "type": "object", + "properties": { + "endTime": { + "format": "date-time", + "description": "start time", + "type": "string" + }, + "error": { + "$ref": "#/definitions/DataShareErrorInfo", + "description": "The error property when status is failed." + }, + "startTime": { + "format": "date-time", + "description": "start time", + "type": "string" + }, + "status": { + "description": "Operation state of the long running operation.", + "enum": [ + "Accepted", + "InProgress", + "TransientFailure", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + } + }, + "AccountList": { + "description": "List response for get Accounts.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Account" + } + } + } + }, + "ConsumerInvitation": { + "description": "A consumer Invitation data transfer object.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ConsumerInvitationProperties", + "description": "Properties on the account", + "x-ms-client-flatten": true + } + } + }, + "ConsumerInvitationProperties": { + "description": "Properties of consumer invitation", + "required": [ + "invitationId" + ], + "type": "object", + "properties": { + "dataSetCount": { + "format": "int32", + "description": "Number of data sets in a share", + "type": "integer", + "readOnly": true + }, + "description": { + "description": "Description shared when the invitation was created", + "type": "string", + "readOnly": true + }, + "invitationId": { + "description": "Unique id of the invitation.", + "type": "string" + }, + "invitationStatus": { + "description": "The status of the invitation.", + "enum": [ + "Pending", + "Accepted", + "Rejected", + "Withdrawn" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "invitationStatus", + "modelAsString": true + } + }, + "location": { + "description": "invitation location", + "type": "string", + "readOnly": true + }, + "respondedAt": { + "format": "date-time", + "description": "The time the recipient responded to the invitation.", + "type": "string", + "readOnly": true + }, + "sender": { + "description": "Gets the name of the sender.", + "type": "string", + "readOnly": true + }, + "senderCompanyName": { + "description": "Gets the company name of the sender.", + "type": "string", + "readOnly": true + }, + "sentAt": { + "format": "date-time", + "description": "Gets the time at which the invitation was sent.", + "type": "string", + "readOnly": true + }, + "shareName": { + "description": "Gets the source share Name.", + "type": "string", + "readOnly": true + }, + "termsOfUse": { + "description": "Terms of use shared when the invitation was created", + "type": "string", + "readOnly": true + } + } + }, + "ConsumerInvitationList": { + "description": "List response for get InvitationList", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ConsumerInvitation" + } + } + } + }, + "DataSet": { + "description": "A DataSet data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "kind": { + "description": "Kind of dataset.", + "enum": [ + "Blob", + "Container", + "BlobFolder", + "AdlsGen2FileSystem", + "AdlsGen2Folder", + "AdlsGen2File", + "AdlsGen1Folder", + "AdlsGen1File" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + }, + "discriminator": "kind" + }, + "DataSetList": { + "description": "List response for get DataSets", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/DataSet" + } + } + } + }, + "DataSetMapping": { + "description": "A dataset mapping data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "kind": { + "description": "Kind of dataset mapping.", + "enum": [ + "Blob", + "Container", + "BlobFolder", + "AdlsGen2FileSystem", + "AdlsGen2Folder", + "AdlsGen2File" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + }, + "discriminator": "kind" + }, + "DataSetMappingList": { + "description": "List response for get DataSetMappings", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/DataSetMapping" + } + } + } + }, + "Invitation": { + "description": "A Invitation data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/InvitationProperties", + "description": "Properties on the Invitation", + "x-ms-client-flatten": true + } + } + }, + "InvitationProperties": { + "description": "Invitation property bag.", + "type": "object", + "properties": { + "invitationId": { + "description": "unique invitation id", + "type": "string", + "readOnly": true + }, + "invitationStatus": { + "description": "The status of the invitation.", + "enum": [ + "Pending", + "Accepted", + "Rejected", + "Withdrawn" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "invitationStatus", + "modelAsString": true + } + }, + "respondedAt": { + "format": "date-time", + "description": "The time the recipient responded to the invitation.", + "type": "string", + "readOnly": true + }, + "sender": { + "description": "Gets the name of the sender.", + "type": "string", + "readOnly": true + }, + "sentAt": { + "format": "date-time", + "description": "Gets the time at which the invitation was sent.", + "type": "string", + "readOnly": true + }, + "targetActiveDirectoryId": { + "description": "The target Azure AD Id. Can't be combined with email.", + "type": "string" + }, + "targetEmail": { + "description": "The email the invitation is directed to.", + "type": "string" + }, + "targetObjectId": { + "description": "The target user or application Id that invitation is being sent to.\r\nMust be specified along TargetActiveDirectoryId. This enables sending\r\ninvitations to specific users or applications in an AD tenant.", + "type": "string" + } + } + }, + "InvitationList": { + "description": "List response for get InvitationList", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Invitation" + } + } + } + }, + "OperationList": { + "description": "List response for get operations.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OperationModel" + } + } + } + }, + "OperationModel": { + "description": "The response model for get operations", + "type": "object", + "properties": { + "display": { + "$ref": "#/definitions/OperationModelProperties", + "description": "Properties on the operation" + }, + "name": { + "description": "Operation name for display purposes", + "type": "string" + }, + "origin": { + "description": "origin of the operation", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/OperationMetaPropertyInfo", + "description": "properties for the operation meta info", + "x-ms-client-flatten": true + } + } + }, + "OperationModelProperties": { + "description": "Properties on operations", + "type": "object", + "properties": { + "description": { + "description": "Description of the operation for display purposes", + "type": "string" + }, + "operation": { + "description": "Name of the operation for display purposes", + "type": "string" + }, + "provider": { + "description": "Name of the provider for display purposes", + "type": "string" + }, + "resource": { + "description": "Name of the resource type for display purposes", + "type": "string" + } + } + }, + "OperationMetaPropertyInfo": { + "description": "properties on meta info", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationMetaServiceSpecification", + "description": "meta service specification" + } + } + }, + "OperationMetaServiceSpecification": { + "description": "The operation meta service specification", + "type": "object", + "properties": { + "logSpecifications": { + "description": "log specifications for the operation", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetaLogSpecification" + } + }, + "metricSpecifications": { + "description": "metric specifications for the operation", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetaMetricSpecification" + } + } + } + }, + "OperationMetaMetricSpecification": { + "description": "metric specifications for the operation", + "type": "object", + "properties": { + "aggregationType": { + "description": "aggregation type of metric", + "type": "string" + }, + "dimensions": { + "description": "properties for dimension", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/DimensionProperties" + } + }, + "displayDescription": { + "description": "description of the metric", + "type": "string" + }, + "displayName": { + "description": "localized name of the metric", + "type": "string" + }, + "enableRegionalMdmAccount": { + "description": "enable regional mdm account", + "type": "string" + }, + "internalMetricName": { + "description": "internal metric name", + "type": "string" + }, + "name": { + "description": "name of the metric", + "type": "string" + }, + "resourceIdDimensionNameOverride": { + "description": "dimension name use to replace resource id if specified", + "type": "string" + }, + "supportedAggregationTypes": { + "description": "supported aggregation types", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "supportedTimeGrainTypes": { + "description": "supported time grain types", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "unit": { + "description": "units for the metric", + "type": "string" + } + } + }, + "OperationMetaLogSpecification": { + "description": "log specifications for operation api", + "type": "object", + "properties": { + "blobDuration": { + "description": "blob duration of the log", + "type": "string" + }, + "displayName": { + "description": "localized name of the log category", + "type": "string" + }, + "name": { + "description": "name of the log category", + "type": "string" + } + } + }, + "DimensionProperties": { + "description": "properties for dimension", + "type": "object", + "properties": { + "displayName": { + "description": "localized display name of the dimension to customer", + "type": "string" + }, + "name": { + "description": "dimension name", + "type": "string" + } + } + }, + "Share": { + "description": "A share data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ShareProperties", + "description": "Properties on the share", + "x-ms-client-flatten": true + } + } + }, + "ShareProperties": { + "description": "Share property bag.", + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Time at which the share was created.", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "Name of the user who created the share.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "Share description.", + "type": "string" + }, + "provisioningState": { + "description": "Gets or sets the provisioning state", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Moving", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "shareKind": { + "description": "Share kind.", + "enum": [ + "CopyBased" + ], + "type": "string", + "x-ms-enum": { + "name": "shareKind", + "modelAsString": true + } + }, + "terms": { + "description": "Share terms.", + "type": "string" + } + } + }, + "ShareList": { + "description": "List response for get Shares.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Share" + } + } + } + }, + "ShareSynchronizationList": { + "description": "List response for get ShareSynchronization.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ShareSynchronization" + } + } + } + }, + "ShareSynchronization": { + "description": "A ShareSynchronization data transfer object.", + "type": "object", + "properties": { + "company": { + "description": "Company name", + "type": "string" + }, + "durationMs": { + "format": "int32", + "description": "synchronization duration", + "type": "integer" + }, + "endTime": { + "format": "date-time", + "description": "End time of synchronization", + "type": "string" + }, + "message": { + "description": "message of synchronization", + "type": "string" + }, + "recipient": { + "description": "Recipient id", + "type": "string" + }, + "startTime": { + "format": "date-time", + "description": "start time of synchronization", + "type": "string" + }, + "status": { + "description": "Raw Status", + "type": "string" + }, + "synchronizationId": { + "description": "Synchronization id", + "type": "string" + } + } + }, + "SynchronizationDetailsList": { + "description": "details of synchronization", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SynchronizationDetails" + } + } + } + }, + "SynchronizationDetails": { + "description": "Synchronization details at dataset level", + "type": "object", + "properties": { + "dataSetId": { + "description": "id of dataSet", + "type": "string", + "readOnly": true + }, + "dataSetType": { + "description": "type of DataSet", + "enum": [ + "Blob", + "Container", + "BlobFolder", + "AdlsGen2FileSystem", + "AdlsGen2Folder", + "AdlsGen2File", + "AdlsGen1Folder", + "AdlsGen1File" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "dataSetType", + "modelAsString": true + } + }, + "durationMs": { + "format": "int32", + "description": "duration of dataset level copy", + "type": "integer", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "End time of dataset level copy", + "type": "string", + "readOnly": true + }, + "filesRead": { + "format": "int64", + "description": "The number of files read from the source dataset.", + "type": "integer", + "readOnly": true + }, + "filesWritten": { + "format": "int64", + "description": "The number of files written into the sink dataset.", + "type": "integer", + "readOnly": true + }, + "message": { + "description": "Error Message if any", + "type": "string", + "readOnly": true + }, + "name": { + "description": "name of dataSet", + "type": "string", + "readOnly": true + }, + "sizeRead": { + "format": "int64", + "description": "The size of the data read from the source dataset in bytes.", + "type": "integer", + "readOnly": true + }, + "sizeWritten": { + "format": "int64", + "description": "The size of the data written into the sink dataset in bytes.", + "type": "integer", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "start time of dataset level copy", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Raw Status", + "type": "string", + "readOnly": true + }, + "vCore": { + "format": "int64", + "description": "The vCore units consumed for the dataset synchronization.", + "type": "integer", + "readOnly": true + } + } + }, + "ProviderShareSubscription": { + "description": "A provider side share subscription data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProviderShareSubscriptionProperties", + "description": "properties of providerShareSubscription", + "x-ms-client-flatten": true + } + } + }, + "ProviderShareSubscriptionProperties": { + "description": "Provider share subscription properties", + "type": "object", + "properties": { + "company": { + "description": "Company name", + "type": "string", + "readOnly": true + }, + "createdAt": { + "format": "date-time", + "description": "created at", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "Created by", + "type": "string", + "readOnly": true + }, + "sharedAt": { + "format": "date-time", + "description": "Shared at", + "type": "string", + "readOnly": true + }, + "sharedBy": { + "description": "Shared by", + "type": "string", + "readOnly": true + }, + "shareSubscriptionObjectId": { + "description": "share Subscription Object Id", + "type": "string", + "readOnly": true + }, + "shareSubscriptionStatus": { + "description": "Gets the status of share subscription", + "enum": [ + "Active", + "Revoked", + "SourceDeleted", + "Revoking" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "shareSubscriptionStatus", + "modelAsString": true + } + } + } + }, + "ProviderShareSubscriptionList": { + "description": "List response for get ShareSubscription.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ProviderShareSubscription" + } + } + } + }, + "ShareSubscription": { + "description": "A share subscription data transfer object.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ShareSubscriptionProperties", + "description": "Properties on the share subscription", + "x-ms-client-flatten": true + } + } + }, + "ShareSubscriptionProperties": { + "description": "Share subscription property bag.", + "required": [ + "invitationId" + ], + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Time at which the share subscription was created.", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "The user who created the share subscription.", + "type": "string", + "readOnly": true + }, + "invitationId": { + "description": "The invitation id.", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the share subscription", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Moving", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "shareDescription": { + "description": "Description of share", + "type": "string", + "readOnly": true + }, + "shareKind": { + "description": "Kind of share", + "enum": [ + "CopyBased" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "shareKind", + "modelAsString": true + } + }, + "shareName": { + "description": "Name of the share", + "type": "string", + "readOnly": true + }, + "shareSender": { + "description": "Sender of the share", + "type": "string", + "readOnly": true + }, + "shareSenderCompanyName": { + "description": "Company name of the share sender", + "type": "string", + "readOnly": true + }, + "shareSubscriptionStatus": { + "description": "Gets the current status of share subscription.", + "enum": [ + "Active", + "Revoked", + "SourceDeleted", + "Revoking" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "shareSubscriptionStatus", + "modelAsString": true + } + }, + "shareTerms": { + "description": "Terms of a share", + "type": "string", + "readOnly": true + } + } + }, + "ConsumerSourceDataSetList": { + "description": "A consumer side list of source dataSets", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ConsumerSourceDataSet" + } + } + } + }, + "ConsumerSourceDataSet": { + "description": "A consumer side dataSet data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ConsumerSourceDataSetProperties", + "description": "source dataSet properties", + "x-ms-client-flatten": true + } + } + }, + "ConsumerSourceDataSetProperties": { + "description": "Properties of consumer source dataSet", + "type": "object", + "properties": { + "dataSetId": { + "description": "DataSet Id", + "type": "string", + "readOnly": true + }, + "dataSetName": { + "description": "DataSet name", + "type": "string", + "readOnly": true + }, + "dataSetType": { + "description": "Type of dataSet", + "enum": [ + "Blob", + "Container", + "BlobFolder", + "AdlsGen2FileSystem", + "AdlsGen2Folder", + "AdlsGen2File", + "AdlsGen1Folder", + "AdlsGen1File" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "dataSetType", + "modelAsString": true + } + } + } + }, + "SourceShareSynchronizationSettingList": { + "description": "List response for get source share Synchronization settings", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SourceShareSynchronizationSetting" + } + } + } + }, + "SourceShareSynchronizationSetting": { + "description": "A view of synchronization setting added by the provider", + "type": "object", + "properties": { + "kind": { + "description": "Kind of synchronization", + "enum": [ + "ScheduleBased" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + }, + "discriminator": "kind" + }, + "ShareSubscriptionSynchronizationList": { + "description": "A consumer side list of share subscription synchronizations", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ShareSubscriptionSynchronization" + } + } + } + }, + "ShareSubscriptionSynchronization": { + "description": "A ShareSubscriptionSynchronization data transfer object.", + "required": [ + "synchronizationId" + ], + "type": "object", + "properties": { + "durationMs": { + "format": "int32", + "description": "Synchronization duration", + "type": "integer", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "End time of synchronization", + "type": "string", + "readOnly": true + }, + "message": { + "description": "message of Synchronization", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "start time of synchronization", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Raw Status", + "type": "string", + "readOnly": true + }, + "synchronizationId": { + "description": "Synchronization id", + "type": "string" + } + } + }, + "Synchronize": { + "description": "Payload for the synchronizing the data.", + "type": "object", + "properties": { + "synchronizationMode": { + "description": "Mode of synchronization used in triggers and snapshot sync. Incremental by default", + "enum": [ + "Incremental", + "FullSync" + ], + "type": "string", + "x-ms-enum": { + "name": "synchronizationMode", + "modelAsString": true + } + } + } + }, + "ShareSubscriptionList": { + "description": "List response for get ShareSubscription.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ShareSubscription" + } + } + } + }, + "SynchronizationSetting": { + "description": "A Synchronization Setting data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "kind": { + "description": "Kind of synchronization", + "enum": [ + "ScheduleBased" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + }, + "discriminator": "kind" + }, + "SynchronizationSettingList": { + "description": "List response for get Synchronization settings", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SynchronizationSetting" + } + } + } + }, + "Trigger": { + "description": "A Trigger data transfer object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyDto" + } + ], + "properties": { + "kind": { + "description": "Kind of synchronization", + "enum": [ + "ScheduleBased" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + }, + "discriminator": "kind" + }, + "TriggerList": { + "description": "List response for get triggers", + "required": [ + "value" + ], + "type": "object", + "properties": { + "nextLink": { + "description": "The Url of next result page.", + "type": "string" + }, + "value": { + "description": "Collection of items of type DataTransferObjects.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Trigger" + } + } + } + }, + "ScheduledSynchronizationSetting": { + "description": "A type of synchronization setting based on schedule", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SynchronizationSetting" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ScheduledSynchronizationSettingProperties", + "description": "Properties of scheduled synchronization", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "ScheduleBased" + }, + "ScheduledSynchronizationSettingProperties": { + "description": "A Scheduled synchronization setting data transfer object.", + "required": [ + "recurrenceInterval", + "synchronizationTime" + ], + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Time at which the synchronization setting was created.", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "Name of the user who created the synchronization setting.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Moving", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "recurrenceInterval": { + "description": "Recurrence Interval", + "enum": [ + "Hour", + "Day" + ], + "type": "string", + "x-ms-enum": { + "name": "recurrenceInterval", + "modelAsString": true + } + }, + "synchronizationTime": { + "format": "date-time", + "description": "Synchronization time", + "type": "string" + } + } + }, + "ScheduledTrigger": { + "description": "A type of trigger based on schedule", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Trigger" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ScheduledTriggerProperties", + "description": "Properties of scheduled synchronization", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "ScheduleBased" + }, + "ScheduledTriggerProperties": { + "description": "A Scheduled trigger data transfer object.", + "required": [ + "recurrenceInterval", + "synchronizationTime" + ], + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Time at which the trigger was created.", + "type": "string", + "readOnly": true + }, + "createdBy": { + "description": "Name of the user who created the trigger.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets the provisioning state", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Moving", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "recurrenceInterval": { + "description": "Recurrence Interval", + "enum": [ + "Hour", + "Day" + ], + "type": "string", + "x-ms-enum": { + "name": "recurrenceInterval", + "modelAsString": true + } + }, + "synchronizationMode": { + "description": "Synchronization mode", + "enum": [ + "Incremental", + "FullSync" + ], + "type": "string", + "x-ms-enum": { + "name": "synchronizationMode", + "modelAsString": true + } + }, + "synchronizationTime": { + "format": "date-time", + "description": "Synchronization time", + "type": "string" + }, + "triggerStatus": { + "description": "Gets the trigger state", + "enum": [ + "Active", + "Inactive", + "SourceSynchronizationSettingDeleted" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "triggerStatus", + "modelAsString": true + } + } + } + }, + "BlobDataSet": { + "description": "An Azure storage blob dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobProperties", + "description": "Blob dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Blob" + }, + "BlobProperties": { + "description": "Properties of the blob data set.", + "required": [ + "containerName", + "filePath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "Container that has the file path.", + "type": "string" + }, + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "filePath": { + "description": "File path within the source data set", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "BlobFolderDataSet": { + "description": "An Azure storage blob folder dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobFolderProperties", + "description": "Blob folder dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "BlobFolder" + }, + "BlobFolderProperties": { + "description": "Properties of the blob folder data set.", + "required": [ + "containerName", + "prefix", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "Container that has the file path.", + "type": "string" + }, + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "prefix": { + "description": "Prefix for blob folder", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "BlobContainerDataSet": { + "description": "An Azure storage blob container dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobContainerProperties", + "description": "Blob container dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Container" + }, + "BlobContainerProperties": { + "description": "Properties of the BLOB container data set.", + "required": [ + "containerName", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "BLOB Container name.", + "type": "string" + }, + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "ADLSGen2FileDataSet": { + "description": "An ADLS Gen 2 file dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FileProperties", + "description": "ADLS Gen 2 file dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2File" + }, + "ADLSGen2FileProperties": { + "description": "Properties of the ADLS Gen2 file data set.", + "required": [ + "fileSystem", + "filePath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "filePath": { + "description": "File path within the file system.", + "type": "string" + }, + "fileSystem": { + "description": "File system to which the file belongs.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "ADLSGen2FolderDataSet": { + "description": "An ADLS Gen 2 folder dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FolderProperties", + "description": "ADLS Gen 2 folder dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2Folder" + }, + "ADLSGen2FolderProperties": { + "description": "Properties of the ADLS Gen2 folder data set.", + "required": [ + "fileSystem", + "folderPath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "fileSystem": { + "description": "File system to which the folder belongs.", + "type": "string" + }, + "folderPath": { + "description": "Folder path within the file system.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "ADLSGen2FileSystemDataSet": { + "description": "An ADLS Gen 2 file system dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FileSystemProperties", + "description": "ADLS Gen 2 file system dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2FileSystem" + }, + "ADLSGen2FileSystemProperties": { + "description": "Properties of the ADLS Gen2 file system data set.", + "required": [ + "fileSystem", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "fileSystem": { + "description": "The file system name.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account", + "type": "string" + } + } + }, + "ADLSGen1FolderDataSet": { + "description": "An ADLS Gen 1 folder dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen1FolderProperties", + "description": "ADLS Gen 1 folder dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen1Folder" + }, + "ADLSGen1FolderProperties": { + "description": "Properties of the ADLS Gen1 folder data set.", + "required": [ + "subscriptionId", + "resourceGroup", + "accountName", + "folderPath" + ], + "type": "object", + "properties": { + "accountName": { + "description": "The ADLS account name.", + "type": "string" + }, + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "folderPath": { + "description": "The folder path within the ADLS account.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of ADLS account.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of ADLS account.", + "type": "string" + } + } + }, + "ADLSGen1FileDataSet": { + "description": "An ADLS Gen 1 file dataset.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSet" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen1FileProperties", + "description": "ADLS Gen 1 file dataset properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen1File" + }, + "ADLSGen1FileProperties": { + "description": "Properties of the ADLS Gen1 file data set.", + "required": [ + "subscriptionId", + "resourceGroup", + "accountName", + "folderPath", + "fileName" + ], + "type": "object", + "properties": { + "accountName": { + "description": "The ADLS account name.", + "type": "string" + }, + "dataSetId": { + "description": "Unique DataSet id.", + "type": "string", + "readOnly": true + }, + "fileName": { + "description": "The file name in the ADLS account.", + "type": "string" + }, + "folderPath": { + "description": "The folder path within the ADLS account.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of ADLS account.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of ADLS account.", + "type": "string" + } + } + }, + "BlobDataSetMapping": { + "description": "A Blob dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobMappingProperties", + "description": "Blob dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Blob" + }, + "BlobMappingProperties": { + "description": "Azure storage Blob dataset mapping property bag.", + "required": [ + "containerName", + "filePath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "Container that has the file path.", + "type": "string" + }, + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "filePath": { + "description": "File path within the source data set", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "BlobFolderDataSetMapping": { + "description": "A Blob folder dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobFolderMappingProperties", + "description": "Blob folder dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "BlobFolder" + }, + "BlobFolderMappingProperties": { + "description": "Azure storage Blob folder dataset mapping property bag.", + "required": [ + "containerName", + "prefix", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "Container that has the file path.", + "type": "string" + }, + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "prefix": { + "description": "Prefix for blob folder", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "BlobContainerDataSetMapping": { + "description": "A Blob container dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/BlobContainerMappingProperties", + "description": "Blob container dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Container" + }, + "BlobContainerMappingProperties": { + "description": "Azure storage Blob container dataset mapping property bag.", + "required": [ + "containerName", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "containerName": { + "description": "BLOB Container name.", + "type": "string" + }, + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "ADLSGen2FileDataSetMapping": { + "description": "An ADLS Gen2 file dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FileDataSetMappingProperties", + "description": "ADLS Gen2 file dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2File" + }, + "ADLSGen2FileDataSetMappingProperties": { + "description": "ADLS Gen 2 file dataset mapping property bag.", + "required": [ + "fileSystem", + "filePath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "filePath": { + "description": "File path within the file system.", + "type": "string" + }, + "fileSystem": { + "description": "File system to which the file belongs.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "ADLSGen2FolderDataSetMapping": { + "description": "An ADLS Gen2 folder dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FolderDataSetMappingProperties", + "description": "ADLS Gen2 folder dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2Folder" + }, + "ADLSGen2FolderDataSetMappingProperties": { + "description": "ADLS Gen 2 folder dataset mapping property bag.", + "required": [ + "fileSystem", + "folderPath", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "fileSystem": { + "description": "File system to which the folder belongs.", + "type": "string" + }, + "folderPath": { + "description": "Folder path within the file system.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "ADLSGen2FileSystemDataSetMapping": { + "description": "An ADLS Gen2 file system dataset mapping.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataSetMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ADLSGen2FileSystemDataSetMappingProperties", + "description": "ADLS Gen2 file system dataset mapping properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AdlsGen2FileSystem" + }, + "ADLSGen2FileSystemDataSetMappingProperties": { + "description": "ADLS Gen 2 file system dataset mapping property bag.", + "required": [ + "fileSystem", + "subscriptionId", + "resourceGroup", + "storageAccountName" + ], + "type": "object", + "properties": { + "dataSetId": { + "description": "Gets the id of source dataset.", + "type": "string" + }, + "dataSetMappingStatus": { + "description": "Gets the status of the dataset mapping.", + "enum": [ + "Ok", + "Broken" + ], + "type": "string", + "x-ms-enum": { + "name": "dataSetMappingStatus", + "modelAsString": true + } + }, + "fileSystem": { + "description": "The file system name.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group of storage account.", + "type": "string" + }, + "storageAccountName": { + "description": "Storage account name of the source data set.", + "type": "string" + }, + "subscriptionId": { + "description": "Subscription id of storage account.", + "type": "string" + } + } + }, + "ScheduledSourceSynchronizationSetting": { + "description": "A type of synchronization setting based on schedule", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SourceShareSynchronizationSetting" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ScheduledSourceShareSynchronizationSettingProperties", + "description": "Properties of scheduled synchronization", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "ScheduleBased" + }, + "ScheduledSourceShareSynchronizationSettingProperties": { + "description": "A Scheduled source synchronization setting data transfer object.", + "type": "object", + "properties": { + "recurrenceInterval": { + "description": "Recurrence Interval", + "enum": [ + "Hour", + "Day" + ], + "type": "string", + "x-ms-enum": { + "name": "recurrenceInterval", + "modelAsString": true + } + }, + "synchronizationTime": { + "format": "date-time", + "description": "Synchronization time", + "type": "string" + } + } + }, + "DefaultDto": { + "description": "Base data transfer object implementation for default resources.", + "type": "object", + "properties": { + "id": { + "description": "The resource id of the azure resource", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Location of the azure resource.", + "type": "string" + }, + "name": { + "description": "Name of the azure resource", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Tags on the azure resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "description": "Type of the azure resource", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ProxyDto": { + "description": "Base data transfer object implementation for proxy resources.", + "type": "object", + "properties": { + "id": { + "description": "The resource id of the azure resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the azure resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the azure resource", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + } + }, + "parameters": { + "accountName": { + "name": "accountName", + "in": "path", + "description": "The name of the share account.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "api-version": { + "name": "api-version", + "in": "query", + "description": "The api version to use.", + "required": true, + "type": "string" + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The resource group name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow." + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "tags": [] +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json new file mode 100644 index 000000000000..157855a98c4c --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview", + "account": { + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } + }, + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json new file mode 100644 index 000000000000..473f71f568b4 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json new file mode 100644 index 000000000000..edba5bd08df9 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z", + "provisioningState": "Succeeded" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json new file mode 100644 index 000000000000..42c48b7abe20 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "SampleResourceGroup" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + }, + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "East US 2", + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", + "identity": { + "type": "SystemAssigned" + }, + "name": "Account2", + "type": "Microsoft.DataShare/Accounts" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..c6aa2fb42023 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + }, + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "identity": { + "type": "SystemAssigned" + }, + "location": "East US 2", + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", + "name": "Account2", + "type": "Microsoft.DataShare/Accounts" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json new file mode 100644 index 000000000000..cae4f0b1d7ec --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview", + "accountUpdateParameters": { + "tags": { + "tag1": "Red", + "tag2": "White" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json new file mode 100644 index 000000000000..34145086d845 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "location": "East US 2", + "api-version": "2018-11-01-preview", + "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Accepted", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "shareName": "share1" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json new file mode 100644 index 000000000000..11150a4e974d --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Accepted", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "senderCompanyName": "microsoft", + "shareName": "share1" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json new file mode 100644 index 000000000000..427e78f48f4a --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "location": "East US 2", + "api-version": "2018-11-01-preview", + "invitation": { + "properties": { + "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Rejected", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "shareName": "share1" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json new file mode 100644 index 000000000000..894dce7adc26 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375", + "dataSetType": "Blob", + "dataSetName": "input.text" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerSourceDataSets" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json new file mode 100644 index 000000000000..3f1a437d9468 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "dataSetMappingName": "DatasetMapping1", + "api-version": "2018-11-01-preview", + "dataSetMapping": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1", + "name": "DatasetMapping1", + "type": "Microsoft.DataShare/DataSetMapping" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1", + "name": "DatasetMapping1", + "type": "Microsoft.DataShare/DataSetMapping" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json new file mode 100644 index 000000000000..060444941f8b --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "dataSetMappingName": "DatasetMapping1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json new file mode 100644 index 000000000000..858acf14fc69 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "dataSetMappingName": "DatasetMapping1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1", + "name": "DatasetMapping1", + "type": "Microsoft.DataShare/DataSetMapping" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json new file mode 100644 index 000000000000..3b00a62df8a7 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1", + "name": "DatasetMapping1", + "type": "Microsoft.DataShare/DataSetMapping" + }, + { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1", + "name": "DatasetMapping1", + "type": "Microsoft.DataShare/DataSetMapping" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json new file mode 100644 index 000000000000..9569da347267 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "dataSetName": "Dataset1", + "api-version": "2018-11-01-preview", + "dataSet": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", + "storageAccountName": "adspipelinemetadatatable", + "containerName": "C1", + "filePath": "inputpath", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/{{accountName}}/shares/share1/datasets/dataset1new", + "name": null, + "type": "Microsoft.DataShare/DataSets" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1", + "name": "Dataset1", + "type": "Microsoft.DataShare/DataSet" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json new file mode 100644 index 000000000000..5fc9bb85c3bd --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "dataSetName": "Dataset1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json new file mode 100644 index 000000000000..e31bab0c773f --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "dataSetName": "Dataset1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1", + "name": "Dataset1", + "type": "Microsoft.DataShare/DataSet" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json new file mode 100644 index 000000000000..76ac50a8787c --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "Blob", + "properties": { + "storageAccountName": "storage1", + "filePath": "file22", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1", + "name": "Dataset1", + "type": "Microsoft.DataShare/DataSet" + }, + { + "kind": "Blob", + "properties": { + "storageAccountName": "storage2", + "filePath": "file21", + "containerName": "C1", + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroup": "SampleResourceGroup" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset2", + "name": "Dataset1", + "type": "Microsoft.DataShare/DataSet" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json new file mode 100644 index 000000000000..4b8b14aafaa3 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview", + "invitation": { + "properties": { + "targetEmail": "receiver@microsoft.com" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json new file mode 100644 index 000000000000..c7f77e1d46f5 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json new file mode 100644 index 000000000000..de7436a3a745 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json new file mode 100644 index 000000000000..8f09e5c6ab15 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "johnsmith@microsoft.com", + "invitationStatus": "Accepted" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd", + "name": "ancd", + "type": "Microsoft.DataShare/Invitation" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..40c12435c857 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "name": "Microsoft.DataShare/operations/read", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Read all operations", + "description": "Reads all available operations in Data Share Resource Provider." + } + }, + { + "name": "Microsoft.DataShare/register/action", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Register Data Share Resource Provider", + "description": "Register the subscription for the Data Share Resource Provider." + } + }, + { + "name": "Microsoft.DataShare/unregister/action", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Unregister Data Share Resource Provider", + "description": "Unregister the subscription for the Data Share Resource Provider." + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json new file mode 100644 index 000000000000..c04de8addc94 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Active" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/shareSubscripitons" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json new file mode 100644 index 000000000000..ba84858c928d --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Active" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/shareSubscripitons" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json new file mode 100644 index 000000000000..c04de8addc94 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Active" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/shareSubscripitons" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json new file mode 100644 index 000000000000..de27e898a92f --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Revoked" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "providerShareSubscripiton", + "type": "Microsoft.DataShare/providerShareSubscripitons" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Revoked" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "providerShareSubscripiton", + "type": "Microsoft.DataShare/providerShareSubscripitons" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json new file mode 100644 index 000000000000..38c359b934db --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "shareSubscriptionSynchronization": { + "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" + }, + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "startTime": "2019-06-30T02:37:48.4979104Z", + "status": "Cancelled", + "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + }, + "body": { + "startTime": "2019-06-30T02:37:48.4979104Z", + "status": "Queued", + "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json new file mode 100644 index 000000000000..bdbca061b303 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview", + "shareSubscription": { + "properties": { + "invitationId": "12345678-1234-1234-12345678abd" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json new file mode 100644 index 000000000000..65d9b16af5c8 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json new file mode 100644 index 000000000000..8489dd3494d8 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased", + "provisioningState": "Succeeded", + "shareSenderCompanyName": "ShareSenderCompanyName" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json new file mode 100644 index 000000000000..c365e7d8664c --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "invitationId": "12345678-1234-1234-12345678abd", + "shareSubscriptionStatus": "Active", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + }, + { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json new file mode 100644 index 000000000000..e3c1fff0c96e --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "recurrenceInterval": "Hour", + "synchronizationTime": "2019-03-15T19:45:58Z" + }, + "kind": "ScheduleBased" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json new file mode 100644 index 000000000000..ce31b5aebb2a --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "shareSubscriptionSynchronization": { + "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" + }, + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "name": "dataset1", + "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", + "dataSetType": "Blob" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json new file mode 100644 index 000000000000..41d6a9a373f7 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "message": "nda", + "synchronizationId": "runId" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json new file mode 100644 index 000000000000..a856d61f4b86 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview", + "synchronize": { + "synchronizationMode": "Incremental" + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "startTime": "2019-06-30T02:37:48.4979104Z", + "status": "Succeeded", + "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + }, + "body": { + "startTime": "2019-06-30T02:37:48.4979104Z", + "status": "Accepted", + "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json new file mode 100644 index 000000000000..7156fbbe0e78 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview", + "share": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json new file mode 100644 index 000000000000..0e75195b81cb --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json new file mode 100644 index 000000000000..fb2f309f90d2 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json new file mode 100644 index 000000000000..295d5964ea8c --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + }, + { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json new file mode 100644 index 000000000000..5ab2b032a042 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "shareSynchronization": { + "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" + }, + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "name": "dataset1", + "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", + "dataSetType": "Blob" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json new file mode 100644 index 000000000000..cc6734d37cf7 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "message": "nda", + "company": "nda", + "recipient": "abc@yahoo.com", + "synchronizationId": "runId" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json new file mode 100644 index 000000000000..4b9a4185f526 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "Dataset1", + "api-version": "2018-11-01-preview", + "synchronizationSetting": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json new file mode 100644 index 000000000000..b10ce3404149 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "SyncrhonizationSetting1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-retry-after-ms": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/share1/synchronizationSettings/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json new file mode 100644 index 000000000000..9db78601389c --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "SyncrhonizationSetting1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json new file mode 100644 index 000000000000..f5eb375d75d0 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json new file mode 100644 index 000000000000..4db4269facf9 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview", + "trigger": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "synchronizationMode": "Incremental" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } + }, + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Creating", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json new file mode 100644 index 000000000000..54eca6307888 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-retry-after-ms": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/triggers/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json new file mode 100644 index 000000000000..9811adaa1db8 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json new file mode 100644 index 000000000000..951b4db28ef3 --- /dev/null +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/datashare/resource-manager/readme.go.md b/specification/datashare/resource-manager/readme.go.md new file mode 100644 index 000000000000..20f8ac742e2c --- /dev/null +++ b/specification/datashare/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: datashare + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-11-01-preview +``` + +### Tag: package-2018-11-01-preview and go + +These settings apply only when `--tag=package-2018-11-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-11-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datashare/mgmt/2018-11-01-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md new file mode 100644 index 000000000000..fd2752cdeb78 --- /dev/null +++ b/specification/datashare/resource-manager/readme.md @@ -0,0 +1,102 @@ +# DataShare + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DataShare. + + + +--- +## Getting Started +To build the SDK for DataShare, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the DataShare API. + +``` yaml +openapi-type: arm +tag: package-2018-11-01-preview +``` + + +### Tag: package-2018-11-01-preview + +These settings apply only when `--tag=package-2018-11-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-11-01-preview' +input-file: +- Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json +``` + +--- +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-go +``` + + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.DataShare + output-folder: $(csharp-sdks-folder)/DataShare/Management.DataShare/Generated + clear-output-folder: true +``` + +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.DataShare + package-name: azure-mgmt-DataShare + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-DataShare/azure/mgmt/DataShare +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-DataShare +``` + + +## Go + +See configuration in [readme.go.md](./readme.go.md) From 2200abdf279149ec722a78151005286bf65d223f Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 10 Jul 2019 15:51:35 -0700 Subject: [PATCH 253/495] set a default api version (#6588) --- specification/containerregistry/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 28da1ec67548..f2bb8eaf83ea 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -159,7 +159,7 @@ swagger-to-sdk: autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry + - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry --default-api-version=2017-10-01 - python ./scripts/trim_aio.py ./sdk/containerregistry/azure-mgmt-containerregistry - repo: azure-sdk-for-java - repo: azure-sdk-for-go From 18a26e18e95c16a50c8b2e8f00862687b7bce476 Mon Sep 17 00:00:00 2001 From: gautam714 Date: Wed, 10 Jul 2019 16:59:37 -0700 Subject: [PATCH 254/495] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#6539) * Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. * Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal. --- .../examples/GetReservationDetails.json | 8 +++++++ .../preview/2019-04-01/reservations.json | 22 ++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json index 595ff8bff4b5..97f8a652b904 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json @@ -58,6 +58,14 @@ }, "renew": false } + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466.0 + }, + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466.0 } } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index 5e122199aefc..42cf24c2350e 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -862,15 +862,27 @@ "purchaseProperties": { "$ref": "#/definitions/PurchaseRequest" }, - "lockedPriceTotal": { + "pricingCurrencyTotal": { "type": "object", - "description": "Locked currency & amount for new reservation purchase at the time of renewal. Price is locked 30 days before expiry date time if renew is true.", + "description": "Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included. This is locked price 30 days before expiry.", "properties": { "currencyCode": { "type": "string" }, "amount": { + "type": "number" + } + } + }, + "billingCurrencyTotal": { + "type": "object", + "description": "Currency and amount that customer will be charged in customer's local currency for renewal purchase. Tax is not included.", + "properties": { + "currencyCode": { "type": "string" + }, + "amount": { + "type": "number" } } } @@ -1385,7 +1397,11 @@ "VirtualMachines", "SqlDatabases", "SuseLinux", - "CosmosDb" + "CosmosDb", + "RedHat", + "SqlDataWarehouse", + "VMwareCloudSimple", + "RedHatOsa" ], "x-ms-enum": { "name": "ReservedResourceType", From b4536997e7835199b75caadef4d738cf8f3e1730 Mon Sep 17 00:00:00 2001 From: vchske Date: Wed, 10 Jul 2019 17:15:03 -0700 Subject: [PATCH 255/495] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#6456) * Update MongoDbTasks.json * Update readme.md * Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2 --- .../OracleAzureDbPostgreSqlSyncTask.json | 114 ++++++++++++++++++ .../2018-07-15-preview/definitions/Tasks.json | 48 ++++++++ 2 files changed, 162 insertions(+) diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json index 2e189177cf3c..3684d0b51ca5 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json @@ -97,6 +97,120 @@ "description": "Target server brand version", "readOnly": true }, + "validationErrors": { + "description": "Validation errors associated with the task", + "type": "array", + "items": { + "$ref": "./Common.json#/definitions/ReportableException" + }, + "readOnly": true + }, + "databaseSchemaMap": { + "type": "array", + "description": "Mapping of schemas per database", + "items": { + "type": "object", + "properties": { + "database": { + "type": "string" + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "GetUserTablesOracleTaskInput": { + "type": "object", + "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas.", + "properties": { + "connectionInfo": { + "$ref": "./Common.json#/definitions/OracleConnectionInfo", + "description": "Information for connecting to Oracle source" + }, + "selectedSchemas": { + "type": "array", + "description": "List of Oracle schemas for which to collect tables", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionInfo", + "selectedSchemas" + ] + }, + "GetUserTablesOracleTaskOutput": { + "type": "object", + "description": "Output for the task that gets the list of tables contained within a provided list of Oracle schemas.", + "properties": { + "schemaName": { + "type": "string", + "description": "The schema this result is for", + "readOnly": true + }, + "tables": { + "type": "array", + "description": "List of valid tables found for this schema", + "items": { + "$ref": "./TasksCommon.json#/definitions/DatabaseTable" + }, + "readOnly": true + }, + "validationErrors": { + "description": "Validation errors associated with the task", + "type": "array", + "items": { + "$ref": "./Common.json#/definitions/ReportableException" + }, + "readOnly": true + } + } + }, + "GetUserTablesPostgreSqlTaskInput": { + "type": "object", + "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases.", + "properties": { + "connectionInfo": { + "$ref": "./Common.json#/definitions/PostgreSqlConnectionInfo", + "description": "Information for connecting to PostgreSQL source" + }, + "selectedDatabases": { + "type": "array", + "description": "List of PostgreSQL databases for which to collect tables", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionInfo", + "selectedDatabases" + ] + }, + "GetUserTablesPostgreSqlTaskOutput": { + "type": "object", + "description": "Output for the task that gets the list of tables for a provided list of PostgreSQL databases.", + "properties": { + "databaseName": { + "type": "string", + "description": "The database this result is for", + "readOnly": true + }, + "tables": { + "type": "array", + "description": "List of valid tables found for this database", + "items": { + "$ref": "./TasksCommon.json#/definitions/DatabaseTable" + }, + "readOnly": true + }, "validationErrors": { "description": "Validation errors associated with the task", "type": "array", diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json index a8478951b492..e3888fafd076 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json @@ -373,6 +373,54 @@ } ] }, + "GetUserTablesOracleTaskProperties": { + "x-ms-discriminator-value": "GetUserTablesOracle", + "type": "object", + "description": "Properties for the task that collects user tables for the given list of Oracle schemas", + "properties": { + "input": { + "description": "Task input", + "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskInput" + }, + "output": { + "description": "Task output. This is ignored if submitted.", + "type": "array", + "items": { + "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskOutput" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + } + ] + }, + "GetUserTablesPostgreSqlTaskProperties": { + "x-ms-discriminator-value": "GetUserTablesPostgreSql", + "type": "object", + "description": "Properties for the task that collects user tables for the given list of databases", + "properties": { + "input": { + "description": "Task input", + "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskInput" + }, + "output": { + "description": "Task output. This is ignored if submitted.", + "type": "array", + "items": { + "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskOutput" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + } + ] + }, "ConnectToTargetSqlMITaskProperties": { "x-ms-discriminator-value": "ConnectToTarget.AzureSqlDbMI", "type": "object", From 808cfe2da58aa6f1d93bed748004dfb97268e6e3 Mon Sep 17 00:00:00 2001 From: David Zhao <31305478+davidzhaoyue@users.noreply.github.com> Date: Thu, 11 Jul 2019 23:16:24 +0800 Subject: [PATCH 256/495] [Datafactory] Add three new connectors (#6578) * [Datafactory] Add Azure SQL Database Managed Instance, Dynamics CRM and Common Data Service for Apps * Change enum type to string --- .../2018-06-01/entityTypes/Dataset.json | 86 +++++++ .../2018-06-01/entityTypes/LinkedService.json | 216 ++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 152 ++++++++++++ 3 files changed, 454 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 95e57e75352a..742f70fec094 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -742,6 +742,40 @@ } } }, + "AzureSqlMITableDataset": { + "x-ms-discriminator-value": "AzureSqlMITable", + "description": "The Azure SQL Managed Instance dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Azure SQL Managed Instance dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureSqlMITableDatasetTypeProperties" + } + } + }, + "AzureSqlMITableDatasetTypeProperties": { + "description": "Azure SQL Managed Instance dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string)." + } + } + }, "AzureSqlDWTableDataset": { "x-ms-discriminator-value": "AzureSqlDWTable", "description": "The Azure SQL Data Warehouse dataset.", @@ -872,6 +906,58 @@ } } }, + "DynamicsCrmEntityDataset": { + "x-ms-discriminator-value": "DynamicsCrmEntity", + "description": "The Dynamics CRM entity dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Dynamics CRM entity dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DynamicsCrmEntityDatasetTypeProperties" + } + } + }, + "DynamicsCrmEntityDatasetTypeProperties": { + "description": "Dynamics CRM entity dataset properties.", + "properties": { + "entityName": { + "type": "object", + "description": "The logical name of the entity. Type: string (or Expression with resultType string)." + } + } + }, + "CommonDataServiceForAppsEntityDataset": { + "x-ms-discriminator-value": "CommonDataServiceForAppsEntity", + "description": "The Common Data Service for Apps entity dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Common Data Service for Apps entity dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommonDataServiceForAppsEntityDatasetTypeProperties" + } + } + }, + "CommonDataServiceForAppsEntityDatasetTypeProperties": { + "description": "Common Data Service for Apps entity dataset properties.", + "properties": { + "entityName": { + "type": "object", + "description": "The logical name of the entity. Type: string (or Expression with resultType string)." + } + } + }, "AzureDataLakeStoreDataset": { "x-ms-discriminator-value": "AzureDataLakeStoreFile", "description": "Azure Data Lake Store dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index 020981bc9dda..b22db27ac82c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -316,6 +316,58 @@ "connectionString" ] }, + "AzureSqlMILinkedService": { + "x-ms-discriminator-value": "AzureSqlMI", + "description": "Azure SQL Managed Instance linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Azure SQL Managed Instance linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureSqlMILinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "AzureSqlMILinkedServiceTypeProperties": { + "description": "Azure SQL Managed Instance linked service properties.", + "properties": { + "connectionString": { + "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, + "password": { + "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", + "description": "The Azure key vault secret reference of password in connection string." + }, + "servicePrincipalId": { + "type": "object", + "description": "The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string)." + }, + "servicePrincipalKey": { + "$ref": "../datafactory.json#/definitions/SecretBase", + "description": "The key of the service principal used to authenticate against Azure SQL Managed Instance." + }, + "tenant": { + "type": "object", + "description": "The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string)." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "connectionString" + ] + }, "AzureBatchLinkedService": { "x-ms-discriminator-value": "AzureBatch", "description": "Azure Batch linked service.", @@ -525,6 +577,170 @@ "username" ] }, + "DynamicsCrmLinkedService": { + "x-ms-discriminator-value": "DynamicsCrm", + "description": "Dynamics CRM linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Dynamics CRM linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DynamicsCrmLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "DynamicsCrmLinkedServiceTypeProperties": { + "description": "Dynamics CRM linked service properties.", + "properties": { + "deploymentType": { + "x-ms-enum": { + "name": "DynamicsDeploymentType", + "modelAsString": true + }, + "enum": [ + "Online", + "OnPremisesWithIfd" + ], + "type": "string", + "description": "The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string)." + }, + "hostName": { + "type": "object", + "description": "The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)." + }, + "port": { + "type": "object", + "description": "The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0." + }, + "serviceUri": { + "type": "object", + "description": "The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)." + }, + "organizationName": { + "type": "object", + "description": "The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string)." + }, + "authenticationType": { + "x-ms-enum": { + "name": "DynamicsAuthenticationType", + "modelAsString": true + }, + "enum": [ + "Office365", + "Ifd" + ], + "type": "string", + "description": "The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)." + }, + "username": { + "type": "object", + "description": "User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "Password to access the Dynamics CRM instance.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "deploymentType", + "authenticationType", + "username" + ] + }, + "CommonDataServiceForAppsLinkedService": { + "x-ms-discriminator-value": "CommonDataServiceForApps", + "description": "Common Data Service for Apps linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Common Data Service for Apps linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommonDataServiceForAppsLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "CommonDataServiceForAppsLinkedServiceTypeProperties": { + "description": "Common Data Service for Apps linked service properties.", + "properties": { + "deploymentType": { + "x-ms-enum": { + "name": "DynamicsDeploymentType", + "modelAsString": true + }, + "enum": [ + "Online", + "OnPremisesWithIfd" + ], + "type": "string", + "description": "The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string)." + }, + "hostName": { + "type": "object", + "description": "The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)." + }, + "port": { + "type": "object", + "description": "The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0." + }, + "serviceUri": { + "type": "object", + "description": "The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)." + }, + "organizationName": { + "type": "object", + "description": "The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string)." + }, + "authenticationType": { + "x-ms-enum": { + "name": "DynamicsAuthenticationType", + "modelAsString": true + }, + "enum": [ + "Office365", + "Ifd" + ], + "type": "string", + "description": "The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)." + }, + "username": { + "type": "object", + "description": "User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "Password to access the Common Data Service for Apps instance.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "deploymentType", + "authenticationType", + "username" + ] + }, "HDInsightLinkedService": { "x-ms-discriminator-value": "HDInsight", "description": "HDInsight linked service.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 5020a659f27b..5fc9ac4cd3c7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -909,6 +909,36 @@ } } }, + "DynamicsCrmSource": { + "description": "A copy activity Dynamics CRM source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string)." + } + } + }, + "CommonDataServiceForAppsSource": { + "description": "A copy activity Common Data Service for Apps source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string)." + } + } + }, "RelationalSource": { "description": "A copy activity source for various relational databases.", "type": "object", @@ -1150,6 +1180,36 @@ } } }, + "SqlMISource": { + "description": "A copy activity Azure SQL Managed Instance source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "sqlReaderQuery": { + "type": "object", + "description": "SQL reader query. Type: string (or Expression with resultType string)." + }, + "sqlReaderStoredProcedureName": { + "type": "object", + "description": "Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "produceAdditionalTypes": { + "description": "Which additional types to produce.", + "type": "object" + } + } + }, "SqlDWSource": { "description": "A copy activity SQL Data Warehouse source.", "type": "object", @@ -2334,6 +2394,40 @@ } } }, + "SqlMISink": { + "description": "A copy activity Azure SQL Managed Instance sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "sqlWriterStoredProcedureName": { + "type": "object", + "description": "SQL writer stored procedure name. Type: string (or Expression with resultType string)." + }, + "sqlWriterTableType": { + "type": "object", + "description": "SQL writer table type. Type: string (or Expression with resultType string)." + }, + "preCopyScript": { + "type": "object", + "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "description": "SQL stored procedure parameters.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + } + }, + "storedProcedureTableTypeParameterName": { + "type": "object", + "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)." + } + } + }, "SqlDWSink": { "description": "A copy activity SQL Data Warehouse sink.", "type": "object", @@ -2574,6 +2668,64 @@ "writeBehavior" ] }, + "DynamicsCrmSink": { + "description": "A copy activity Dynamics CRM sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "writeBehavior": { + "description": "The write behavior for the operation.", + "type": "string", + "enum": [ + "Upsert" + ], + "x-ms-enum": { + "name": "DynamicsSinkWriteBehavior", + "modelAsString": true + } + }, + "ignoreNullValues": { + "type": "object", + "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)." + } + }, + "required": [ + "writeBehavior" + ] + }, + "CommonDataServiceForAppsSink": { + "description": "A copy activity Common Data Service for Apps sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "writeBehavior": { + "description": "The write behavior for the operation.", + "type": "string", + "enum": [ + "Upsert" + ], + "x-ms-enum": { + "name": "DynamicsSinkWriteBehavior", + "modelAsString": true + } + }, + "ignoreNullValues": { + "type": "object", + "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)." + } + }, + "required": [ + "writeBehavior" + ] + }, "AzureDataExplorerSink": { "description": "A copy activity Azure Data Explorer sink.", "type": "object", From 2bbfc9a8ccc72c008b77e1e588bd0c0667d59f3a Mon Sep 17 00:00:00 2001 From: Amal Joe Gladwin Maria Antony Date: Thu, 11 Jul 2019 21:54:58 +0530 Subject: [PATCH 257/495] Deprecating Project RP. (#6581) --- .../preview/2014-04-01-preview/Csm.json | 5 +++++ .../preview/2017-11-01-preview/Csm.json | 4 ++++ .../preview/2018-08-01-preview/PipelineTemplates.json | 1 + .../preview/2018-08-01-preview/Projects.json | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/Csm.json b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/Csm.json index 5d60d0900946..5215bbffb185 100644 --- a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/Csm.json +++ b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/Csm.json @@ -572,6 +572,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project": { "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -613,6 +614,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}": { "put": { + "deprecated": true, "tags": [ "Projects" ], @@ -679,6 +681,7 @@ } }, "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -728,6 +731,7 @@ } }, "patch": { + "deprecated": true, "tags": [ "Projects" ], @@ -785,6 +789,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}/subContainers/{subContainerName}/status": { "get": { + "deprecated": true, "tags": [ "Projects" ], diff --git a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2017-11-01-preview/Csm.json b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2017-11-01-preview/Csm.json index f0102e923d44..6edebff4d2b4 100644 --- a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2017-11-01-preview/Csm.json +++ b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2017-11-01-preview/Csm.json @@ -521,6 +521,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project": { "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -562,6 +563,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}": { "put": { + "deprecated": true, "tags": [ "Projects" ], @@ -628,6 +630,7 @@ } }, "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -677,6 +680,7 @@ } }, "patch": { + "deprecated": true, "tags": [ "Projects" ], diff --git a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/PipelineTemplates.json b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/PipelineTemplates.json index 54e2c04d4a63..7ef243d42212 100644 --- a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/PipelineTemplates.json +++ b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/PipelineTemplates.json @@ -36,6 +36,7 @@ "paths": { "/providers/microsoft.visualstudio/pipelineTemplates": { "get": { + "deprecated": true, "tags": [ "PipelineTemplates" ], diff --git a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/Projects.json b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/Projects.json index 140bf902f33e..a71eefe14155 100644 --- a/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/Projects.json +++ b/specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2018-08-01-preview/Projects.json @@ -36,6 +36,7 @@ "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project": { "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -77,6 +78,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{rootResourceName}/project/{resourceName}": { "put": { + "deprecated": true, "tags": [ "Projects" ], @@ -143,6 +145,7 @@ } }, "get": { + "deprecated": true, "tags": [ "Projects" ], @@ -192,6 +195,7 @@ } }, "patch": { + "deprecated": true, "tags": [ "Projects" ], From 91a23bdb48f36d8b2ac56f43ff965d5720ff3a98 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 11 Jul 2019 14:35:57 -0400 Subject: [PATCH 258/495] chore: jsonfmt migrateprojects (#6531) --- .../examples/DatabaseInstances_Get.json | 80 +- .../examples/DatabaseInstances_List.json | 90 +- .../examples/Databases_Get.json | 74 +- .../examples/Databases_List.json | 84 +- .../examples/Machines_Get.json | 158 +- .../examples/Machines_List.json | 298 +- .../examples/MigrateEvents_Delete.json | 26 +- .../examples/MigrateEvents_Get.json | 54 +- .../examples/MigrateEvents_List.json | 92 +- .../examples/MigrateProjects_Delete.json | 24 +- .../examples/MigrateProjects_Get.json | 91 +- .../examples/MigrateProjects_Patch.json | 78 +- .../examples/MigrateProjects_Put.json | 103 +- .../MigrateProjects_RefreshSummary.json | 34 +- .../MigrateProjects_RegisterTool.json | 34 +- .../examples/Operations_List.json | 308 +- .../examples/Solutions_CleanupData.json | 26 +- .../examples/Solutions_Delete.json | 26 +- .../examples/Solutions_Get.json | 74 +- .../examples/Solutions_GetConfig.json | 30 +- .../examples/Solutions_List.json | 140 +- .../examples/Solutions_Patch.json | 82 +- .../examples/Solutions_Put.json | 140 +- .../preview/2018-09-01-preview/migrate.json | 6288 ++++++++--------- 24 files changed, 4193 insertions(+), 4241 deletions(-) diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json index 73392d9d336c..0441039039a6 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json @@ -1,42 +1,42 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "databaseInstanceName":"myinstance" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/myinstance", - "name":"myinstance", - "type":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", - "properties":{ - "discoveryData":[ - { - "lastUpdatedTime":null, - "instanceId":"abc", - "enqueueTime":"5/4/2019 6:45:51 AM", - "solutionName":"serversolution", - "instanceName":"sql2002", - "instanceVersion":"2.0.0.0", - "instanceType":"SQL", - "hostName":null, - "ipAddress":null, - "portNumber":0, - "extendedInfo":null - } - ], - "summary":{ - "dbsolution":{ - "databasesAssessedCount":0, - "migrationReadyCount":0 - } - }, - "lastUpdatedTime":"2019-05-04T06:45:53.2530098Z" +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "databaseInstanceName": "myinstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/myinstance", + "name": "myinstance", + "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "properties": { + "discoveryData": [ + { + "lastUpdatedTime": null, + "instanceId": "abc", + "enqueueTime": "5/4/2019 6:45:51 AM", + "solutionName": "serversolution", + "instanceName": "sql2002", + "instanceVersion": "2.0.0.0", + "instanceType": "SQL", + "hostName": null, + "ipAddress": null, + "portNumber": 0, + "extendedInfo": null } - } + ], + "summary": { + "dbsolution": { + "databasesAssessedCount": 0, + "migrationReadyCount": 0 + } + }, + "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json index 42c2fdcce9b1..1de23e30db01 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json @@ -1,46 +1,46 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/71710b61-8637-4beb-9ede-4449296eb80b", - "name":"71710b61-8637-4beb-9ede-4449296eb80b", - "type":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", - "properties":{ - "discoveryData":[ - { - "lastUpdatedTime":null, - "instanceId":"abc", - "enqueueTime":"5/4/2019 6:45:51 AM", - "solutionName":"serversolution", - "instanceName":"sql2002", - "instanceVersion":"2.0.0.0", - "instanceType":"SQL", - "hostName":null, - "ipAddress":null, - "portNumber":0, - "extendedInfo":null - } - ], - "summary":{ - "dbsolution":{ - "databasesAssessedCount":0, - "migrationReadyCount":0 - } - }, - "lastUpdatedTime":"2019-05-04T06:45:53.2530098Z" - } - } - ], - "nextLink":null - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/71710b61-8637-4beb-9ede-4449296eb80b", + "name": "71710b61-8637-4beb-9ede-4449296eb80b", + "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "properties": { + "discoveryData": [ + { + "lastUpdatedTime": null, + "instanceId": "abc", + "enqueueTime": "5/4/2019 6:45:51 AM", + "solutionName": "serversolution", + "instanceName": "sql2002", + "instanceVersion": "2.0.0.0", + "instanceType": "SQL", + "hostName": null, + "ipAddress": null, + "portNumber": 0, + "extendedInfo": null + } + ], + "summary": { + "dbsolution": { + "databasesAssessedCount": 0, + "migrationReadyCount": 0 + } + }, + "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z" + } + } + ], + "nextLink": null } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json index 31968fd9fbde..1ef3d3b89688 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json @@ -1,39 +1,39 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "databaseName":"mydb" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/mydb", - "name":"mydb", - "type":"Microsoft.Migrate/MigrateProjects/Databases", - "properties":{ - "assessmentData":[ - { - "assessmentId":"myassessment", - "migrationBlockersCount":0, - "breakingChangesCount":0, - "isReadyForMigration":true, - "assessmentTargetType":"SQL", - "lastAssessedTime":"2019-05-04T06:46:40.4340421Z", - "compatibilityLevel":null, - "databaseSizeInMB":null, - "lastUpdatedTime":null, - "enqueueTime":"5/4/2019 6:46:37 AM", - "solutionName":"serversolution", - "instanceId":"abc", - "databaseName":"mydb", - "extendedInfo":null - } - ], - "lastUpdatedTime":"2019-05-04T06:46:40.4340421Z" +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "databaseName": "mydb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/mydb", + "name": "mydb", + "type": "Microsoft.Migrate/MigrateProjects/Databases", + "properties": { + "assessmentData": [ + { + "assessmentId": "myassessment", + "migrationBlockersCount": 0, + "breakingChangesCount": 0, + "isReadyForMigration": true, + "assessmentTargetType": "SQL", + "lastAssessedTime": "2019-05-04T06:46:40.4340421Z", + "compatibilityLevel": null, + "databaseSizeInMB": null, + "lastUpdatedTime": null, + "enqueueTime": "5/4/2019 6:46:37 AM", + "solutionName": "serversolution", + "instanceId": "abc", + "databaseName": "mydb", + "extendedInfo": null } - } + ], + "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json index 25359b15cc13..73e08fd6ad95 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json @@ -1,43 +1,43 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/8e7aae48-f7cf-4f7b-942f-243921aa20e2", - "name":"8e7aae48-f7cf-4f7b-942f-243921aa20e2", - "type":"Microsoft.Migrate/MigrateProjects/Databases", - "properties":{ - "assessmentData":[ - { - "assessmentId":"myassessment", - "migrationBlockersCount":0, - "breakingChangesCount":0, - "isReadyForMigration":true, - "assessmentTargetType":"SQL", - "lastAssessedTime":"2019-05-04T06:46:40.4340421Z", - "compatibilityLevel":null, - "databaseSizeInMB":null, - "lastUpdatedTime":null, - "enqueueTime":"5/4/2019 6:46:37 AM", - "solutionName":"serversolution", - "instanceId":"abc", - "databaseName":"mydb", - "extendedInfo":null - } - ], - "lastUpdatedTime":"2019-05-04T06:46:40.4340421Z" - } - } - ], - "nextLink":null - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/8e7aae48-f7cf-4f7b-942f-243921aa20e2", + "name": "8e7aae48-f7cf-4f7b-942f-243921aa20e2", + "type": "Microsoft.Migrate/MigrateProjects/Databases", + "properties": { + "assessmentData": [ + { + "assessmentId": "myassessment", + "migrationBlockersCount": 0, + "breakingChangesCount": 0, + "isReadyForMigration": true, + "assessmentTargetType": "SQL", + "lastAssessedTime": "2019-05-04T06:46:40.4340421Z", + "compatibilityLevel": null, + "databaseSizeInMB": null, + "lastUpdatedTime": null, + "enqueueTime": "5/4/2019 6:46:37 AM", + "solutionName": "serversolution", + "instanceId": "abc", + "databaseName": "mydb", + "extendedInfo": null + } + ], + "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z" + } + } + ], + "nextLink": null } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json index f8aecd4e54e3..79f56a47fd08 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json @@ -1,81 +1,81 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "machineName":"vm1" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", - "name":"vm1", - "type":"Microsoft.Migrate/MigrateProjects/machines", - "properties":{ - "discoveryData":[ - { - "osType":"windows", - "osName":"windows server 2012 R2", - "osVersion":"10.0.01", - "enqueueTime":"2017-09-12T13:11:10.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom1":"mycustomvalue" - } - } - ], - "assessmentData":[ - { - "assessmentId":"myid1", - "targetVMSize":"Standard_D4_v2", - "targetVMLocation":"eastus", - "targetStorageType":{ - "disk1":"Standard" - }, - "enqueueTime":"2017-09-12T13:11:20.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom2":"mycustomvalue" - } - } - ], - "migrationData":[ - { - "migrationPhase":"Migrated", - "migrationTested":true, - "replicationProgressPercentage":100, - "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", - "enqueueTime":"2017-09-12T13:11:30.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom3":"mycustomvalue" - } - } - ] +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "machineName": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", + "name": "vm1", + "type": "Microsoft.Migrate/MigrateProjects/machines", + "properties": { + "discoveryData": [ + { + "osType": "windows", + "osName": "windows server 2012 R2", + "osVersion": "10.0.01", + "enqueueTime": "2017-09-12T13:11:10.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom1": "mycustomvalue" + } } - } + ], + "assessmentData": [ + { + "assessmentId": "myid1", + "targetVMSize": "Standard_D4_v2", + "targetVMLocation": "eastus", + "targetStorageType": { + "disk1": "Standard" + }, + "enqueueTime": "2017-09-12T13:11:20.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom2": "mycustomvalue" + } + } + ], + "migrationData": [ + { + "migrationPhase": "Migrated", + "migrationTested": true, + "replicationProgressPercentage": 100, + "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", + "enqueueTime": "2017-09-12T13:11:30.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom3": "mycustomvalue" + } + } + ] + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json index 3e024439432c..87bc87b193a3 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json @@ -1,152 +1,152 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", - "name":"vm1", - "type":"Microsoft.Migrate/MigrateProjects/machines", - "properties":{ - "discoveryData":[ - { - "osType":"windows", - "osName":"windows server 2012 R2", - "osVersion":"10.0.01", - "enqueueTime":"2017-09-12T13:11:10.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom1":"mycustomvalue" - } - } - ], - "assessmentData":[ - { - "assessmentId":"myid1", - "targetVMSize":"Standard_D4_v2", - "targetVMLocation":"eastus", - "targetStorageType":{ - "disk1":"Standard" - }, - "enqueueTime":"2017-09-12T13:11:20.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom2":"mycustomvalue" - } - } - ], - "migrationData":[ - { - "migrationPhase":"Migrated", - "migrationTested":true, - "replicationProgressPercentage":100, - "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", - "enqueueTime":"2017-09-12T13:11:30.8808917Z", - "solutionName":"mysolution", - "machineId":"abcd", - "machineManagerId":"efgh", - "machineName":"vm1", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom3":"mycustomvalue" - } - } - ] +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1", + "name": "vm1", + "type": "Microsoft.Migrate/MigrateProjects/machines", + "properties": { + "discoveryData": [ + { + "osType": "windows", + "osName": "windows server 2012 R2", + "osVersion": "10.0.01", + "enqueueTime": "2017-09-12T13:11:10.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom1": "mycustomvalue" } - }, - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm2", - "name":"vm2", - "type":"Microsoft.Migrate/MigrateProjects/machines", - "properties":{ - "discoveryData":[ - { - "osType":"windows", - "osName":"windows server 2012 R2", - "osVersion":"10.0.01", - "enqueueTime":"2017-09-12T13:11:10.8808917Z", - "solutionName":"mysolution", - "machineId":"xyz", - "machineManagerId":"efgh", - "machineName":"vm2", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom1":"mycustomvalue" - } - } - ], - "assessmentData":[ - { - "assessmentId":"myid1", - "targetVMSize":"Standard_D4_v2", - "targetVMLocation":"eastus", - "targetStorageType":{ - "disk1":"Standard" - }, - "enqueueTime":"2017-09-12T13:11:20.8808917Z", - "solutionName":"mysolution", - "machineId":"xyz", - "machineManagerId":"efgh", - "machineName":"vm2", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom2":"mycustomvalue" - } - } - ], - "migrationData":[ - { - "migrationPhase":"Migrated", - "migrationTested":true, - "replicationProgressPercentage":100, - "targetVMArmId":"/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm2", - "enqueueTime":"2017-09-12T13:11:30.8808917Z", - "solutionName":"mysolution", - "machineId":"xyz", - "machineManagerId":"efgh", - "machineName":"vm2", - "ipAddresses":null, - "fqdn":null, - "biosId":null, - "macAddresses":null, - "extendedInfo":{ - "custom3":"mycustomvalue" - } - } - ] + } + ], + "assessmentData": [ + { + "assessmentId": "myid1", + "targetVMSize": "Standard_D4_v2", + "targetVMLocation": "eastus", + "targetStorageType": { + "disk1": "Standard" + }, + "enqueueTime": "2017-09-12T13:11:20.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom2": "mycustomvalue" } - } - ] - } + } + ], + "migrationData": [ + { + "migrationPhase": "Migrated", + "migrationTested": true, + "replicationProgressPercentage": 100, + "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1", + "enqueueTime": "2017-09-12T13:11:30.8808917Z", + "solutionName": "mysolution", + "machineId": "abcd", + "machineManagerId": "efgh", + "machineName": "vm1", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom3": "mycustomvalue" + } + } + ] + } + }, + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm2", + "name": "vm2", + "type": "Microsoft.Migrate/MigrateProjects/machines", + "properties": { + "discoveryData": [ + { + "osType": "windows", + "osName": "windows server 2012 R2", + "osVersion": "10.0.01", + "enqueueTime": "2017-09-12T13:11:10.8808917Z", + "solutionName": "mysolution", + "machineId": "xyz", + "machineManagerId": "efgh", + "machineName": "vm2", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom1": "mycustomvalue" + } + } + ], + "assessmentData": [ + { + "assessmentId": "myid1", + "targetVMSize": "Standard_D4_v2", + "targetVMLocation": "eastus", + "targetStorageType": { + "disk1": "Standard" + }, + "enqueueTime": "2017-09-12T13:11:20.8808917Z", + "solutionName": "mysolution", + "machineId": "xyz", + "machineManagerId": "efgh", + "machineName": "vm2", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom2": "mycustomvalue" + } + } + ], + "migrationData": [ + { + "migrationPhase": "Migrated", + "migrationTested": true, + "replicationProgressPercentage": 100, + "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm2", + "enqueueTime": "2017-09-12T13:11:30.8808917Z", + "solutionName": "mysolution", + "machineId": "xyz", + "machineManagerId": "efgh", + "machineName": "vm2", + "ipAddresses": null, + "fqdn": null, + "biosId": null, + "macAddresses": null, + "extendedInfo": { + "custom3": "mycustomvalue" + } + } + ] + } + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json index f2052247bac8..bd1f79bb1f04 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json @@ -1,14 +1,12 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName": "project01", - "eventName":"MigrateEvent01" - }, - "responses":{ - "200":{ - - } - } -} \ No newline at end of file +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "eventName": "MigrateEvent01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json index 34810afe176f..487c50212ca9 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json @@ -1,28 +1,28 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "eventName":"MigrateEvent01" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01", - "name":"MigrateEvent01", - "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", - "properties":{ - "instanceType":"Servers", - "machine":"myvm", - "errorCode":"600", - "errorMessage":"The message does not contain the required parameters to identify the machine.", - "recommendation":"Resolve the error and try again.", - "possibleCauses":"The mandatory fields are not provided.", - "solution":"serversolution", - "clientRequestId":"a5dd7e42-4fd1-4512-af04-83ad9864335c" - } - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "eventName": "MigrateEvent01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01", + "name": "MigrateEvent01", + "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties": { + "instanceType": "Servers", + "machine": "myvm", + "errorCode": "600", + "errorMessage": "The message does not contain the required parameters to identify the machine.", + "recommendation": "Resolve the error and try again.", + "possibleCauses": "The mandatory fields are not provided.", + "solution": "serversolution", + "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c" + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json index 67421f75a7ea..508fb0fb6258 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json @@ -1,47 +1,47 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205", - "name":"b80e3c0f-70c0-4057-81e7-14cfa9ebb205", - "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", - "properties":{ - "instanceType":"Servers", - "machine":"server1", - "errorCode":"600", - "errorMessage":"The message does not contain the required parameters to identify the machine.", - "recommendation":"Resolve the error and try again.", - "possibleCauses":"The mandatory fields are not provided.", - "solution":"serversolution", - "clientRequestId":"a5dd7e42-4fd1-4512-af04-83ad9864335c" - } - }, - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714", - "name":"041dc61e-8568-40f7-b9b3-c66233ace714", - "type":"Microsoft.Migrate/MigrateProjects/MigrateEvents", - "properties":{ - "instanceType":"Databases", - "database":"db1", - "databaseInstanceId":"cD", - "errorCode":"608", - "errorMessage":"The message does not contain the required parameters to identify the database.", - "recommendation":"Resolve the error and try again.", - "possibleCauses":"The mandatory fields are not provided.", - "solution":"dbsolution", - "clientRequestId":"cf861fa5-9a2e-4a9f-b51c-8054efa8e75f" - } - } - ] - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205", + "name": "b80e3c0f-70c0-4057-81e7-14cfa9ebb205", + "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties": { + "instanceType": "Servers", + "machine": "server1", + "errorCode": "600", + "errorMessage": "The message does not contain the required parameters to identify the machine.", + "recommendation": "Resolve the error and try again.", + "possibleCauses": "The mandatory fields are not provided.", + "solution": "serversolution", + "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c" + } + }, + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714", + "name": "041dc61e-8568-40f7-b9b3-c66233ace714", + "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents", + "properties": { + "instanceType": "Databases", + "database": "db1", + "databaseInstanceId": "cD", + "errorCode": "608", + "errorMessage": "The message does not contain the required parameters to identify the database.", + "recommendation": "Resolve the error and try again.", + "possibleCauses": "The mandatory fields are not provided.", + "solution": "dbsolution", + "clientRequestId": "cf861fa5-9a2e-4a9f-b51c-8054efa8e75f" + } + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json index 16683169cd8b..ac53f8519247 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json @@ -1,13 +1,11 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - - } - } -} \ No newline at end of file +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json index b1de5266da24..9ff41fb0a372 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json @@ -1,48 +1,47 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "eTag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "location":"", - "properties":{ - "registeredTools":[ - "ServerMigration" - ], - "summary":{ - "servers":{ - "instanceType":"Servers", - "discoveredCount":0, - "assessedCount":0, - "replicatingCount":0, - "testMigratedCount":0, - "migratedCount":0, - "refreshSummaryState":"Completed", - "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", - "extendedSummary":{ - "microsoftDiscoveredCount":"0" - } - }, - "databases":{ - "instanceType":"Databases", - "refreshSummaryState":"Completed", - "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", - "extendedSummary":{ - } - } - }, - "lastSummaryRefreshedTime":"2019-05-27T12:01:18.6070869Z", - "refreshSummaryState":"Completed" +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "eTag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "location": "", + "properties": { + "registeredTools": [ + "ServerMigration" + ], + "summary": { + "servers": { + "instanceType": "Servers", + "discoveredCount": 0, + "assessedCount": 0, + "replicatingCount": 0, + "testMigratedCount": 0, + "migratedCount": 0, + "refreshSummaryState": "Completed", + "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z", + "extendedSummary": { + "microsoftDiscoveredCount": "0" + } }, - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", - "name":"project01", - "type":"Microsoft.Migrate/MigrateProjects" - } + "databases": { + "instanceType": "Databases", + "refreshSummaryState": "Completed", + "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z", + "extendedSummary": {} + } + }, + "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z", + "refreshSummaryState": "Completed" + }, + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name": "project01", + "type": "Microsoft.Migrate/MigrateProjects" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json index ff10d196f537..80a530cd87a5 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json @@ -1,43 +1,37 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "body":{ - "properties":{ - "registeredTools":[ - "ServerMigration" - ] - }, - "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", - "location":"Southeast Asia", - "tags":{ - - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "body": { + "properties": { + "registeredTools": [ + "ServerMigration" + ] + }, + "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location": "Southeast Asia", + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "registeredTools": [ + "ServerMigration" + ], + "summary": {}, + "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z" + }, + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name": "project01", + "type": "Microsoft.Migrate/MigrateProjects", + "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location": "Southeast Asia", + "tags": {} } - }, - "responses":{ - "200":{ - "body":{ - "properties":{ - "registeredTools":[ - "ServerMigration" - ], - "summary":{ - - }, - "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" - }, - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", - "name":"project01", - "type":"Microsoft.Migrate/MigrateProjects", - "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", - "location":"Southeast Asia", - "tags":{ - - } - } - } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json index fff98d0fa6ac..4894bda15c6c 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json @@ -1,61 +1,46 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "body":{ - "properties":{ - }, - "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", - "location":"Southeast Asia", - "tags":{ - - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "body": { + "properties": {}, + "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location": "Southeast Asia", + "tags": {} + } + }, + "responses": { + "201": { + "body": { + "properties": { + "registeredTools": [], + "summary": {}, + "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z" + }, + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name": "project01", + "type": "Microsoft.Migrate/MigrateProjects", + "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location": "Southeast Asia", + "tags": {} } - }, - "responses":{ - "201":{ - "body":{ - "properties":{ - "registeredTools":[ - - ], - "summary":{ - - }, - "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" - }, - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", - "name":"project01", - "type":"Microsoft.Migrate/MigrateProjects", - "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", - "location":"Southeast Asia", - "tags":{ - - } - } - }, - "200":{ - "body":{ - "properties":{ - "registeredTools":[ - - ], - "summary":{ - - }, - "lastSummaryRefreshedTime":"2018-11-12T13:11:10.8808917Z" - }, - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", - "name":"project01", - "type":"Microsoft.Migrate/MigrateProjects", - "eTag":"\"b701c73a-0000-0000-0000-59c12ff00000\"", - "location":"Southeast Asia", - "tags":{ - - } - } + }, + "200": { + "body": { + "properties": { + "registeredTools": [], + "summary": {}, + "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z" + }, + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01", + "name": "project01", + "type": "Microsoft.Migrate/MigrateProjects", + "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"", + "location": "Southeast Asia", + "tags": {} } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json index 2095ec284dd9..a0131c4c4f54 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json @@ -1,18 +1,18 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "input":{ - "goal":"Servers" +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "input": { + "goal": "Servers" + } + }, + "responses": { + "200": { + "body": { + "isRefreshed": true } - }, - "responses":{ - "200":{ - "body":{ - "isRefreshed":true - } - } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json index c932fdb43d94..773f696b2ecb 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json @@ -1,18 +1,18 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "input":{ - "tool":"ServerMigration" +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "input": { + "tool": "ServerMigration" + } + }, + "responses": { + "200": { + "body": { + "isRegistered": true } - }, - "responses":{ - "200":{ - "body":{ - "isRegistered":true - } - } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json index 5a23d8f31f3f..42a9dad28981 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json @@ -1,155 +1,155 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "name":"Microsoft.Migrate/MigrateProjects/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects", - "operation":"Read", - "description":"Reads a migrate project" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Write", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects", - "operation":"Write", - "description":"Creates or updates a migrate project" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Delete", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects", - "operation":"Delete", - "description":"Deletes a migrate project" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/registerTool/action", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects", - "operation":"Register tool with migrate project", - "description":"Registers a tool with the migrate project" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Solutions/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Solutions", - "operation":"Read", - "description":"Reads a solution" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Solutions/write", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Solutions", - "operation":"Write", - "description":"Creates or updates a solution" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Solutions/delete", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Solutions", - "operation":"Delete", - "description":"Deletes a solution" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Solutions/cleanupData/action", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Solutions", - "operation":"Cleans up solution data", - "description":"Cleans up data for a solution" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Solutions/getConfig/action", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Solutions", - "operation":"Gets solution config", - "description":"Gets configuration of a solution" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Machines/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Machines", - "operation":"Read", - "description":"Reads a machine" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/MigrateEvents/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/MigrateEvents", - "operation":"Read", - "description":"Reads a migrate event" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/MigrateEvents/delete", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/MigrateEvents", - "operation":"Delete", - "description":"Deletes a migrate event" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/Databases/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/Databases", - "operation":"Read", - "description":"Reads a database" - }, - "origin":"user,system" - }, - { - "name":"Microsoft.Migrate/MigrateProjects/DatabaseInstances/read", - "display":{ - "provider":"Microsoft.Migrate", - "resource":"Microsoft.Migrate/MigrateProjects/DatabaseInstances", - "operation":"Read", - "description":"Reads a database instance" - }, - "origin":"user,system" - } - ] - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Migrate/MigrateProjects/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects", + "operation": "Read", + "description": "Reads a migrate project" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Write", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects", + "operation": "Write", + "description": "Creates or updates a migrate project" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Delete", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects", + "operation": "Delete", + "description": "Deletes a migrate project" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/registerTool/action", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects", + "operation": "Register tool with migrate project", + "description": "Registers a tool with the migrate project" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Solutions/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Solutions", + "operation": "Read", + "description": "Reads a solution" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Solutions/write", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Solutions", + "operation": "Write", + "description": "Creates or updates a solution" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Solutions/delete", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Solutions", + "operation": "Delete", + "description": "Deletes a solution" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Solutions/cleanupData/action", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Solutions", + "operation": "Cleans up solution data", + "description": "Cleans up data for a solution" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Solutions/getConfig/action", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Solutions", + "operation": "Gets solution config", + "description": "Gets configuration of a solution" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Machines/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Machines", + "operation": "Read", + "description": "Reads a machine" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents", + "operation": "Read", + "description": "Reads a migrate event" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/delete", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents", + "operation": "Delete", + "description": "Deletes a migrate event" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/Databases/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/Databases", + "operation": "Read", + "description": "Reads a database" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Migrate/MigrateProjects/DatabaseInstances/read", + "display": { + "provider": "Microsoft.Migrate", + "resource": "Microsoft.Migrate/MigrateProjects/DatabaseInstances", + "operation": "Read", + "description": "Reads a database instance" + }, + "origin": "user,system" + } + ] } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json index 5781a29e1a8b..1347c1c3fa83 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json @@ -1,14 +1,12 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"smssolution" - }, - "responses":{ - "200":{ - - } - } -} \ No newline at end of file +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "smssolution" + }, + "responses": { + "200": {} + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json index 5781a29e1a8b..1347c1c3fa83 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json @@ -1,14 +1,12 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"smssolution" - }, - "responses":{ - "200":{ - - } - } -} \ No newline at end of file +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "smssolution" + }, + "responses": { + "200": {} + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json index 33e5e9aa03c5..9e9df510134c 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json @@ -1,39 +1,39 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"dbsolution" - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", - "name":"dbsolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases", - "status":"Active", - "cleanupState":"None", - "summary":{ - "instanceType":"Databases", - "databasesAssessedCount":0, - "databaseInstancesAssessedCount":0, - "migrationReadyCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "dbsolution" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name": "dbsolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases", + "status": "Active", + "cleanupState": "None", + "summary": { + "instanceType": "Databases", + "databasesAssessedCount": 0, + "databaseInstancesAssessedCount": 0, + "migrationReadyCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" } - } + } + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json index 6354f1ed4428..e32a1e1c29c9 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json @@ -1,16 +1,16 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"smssolution" - }, - "responses":{ - "200":{ - "body":{ - "publisherSasUri": "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sr=sb%3a%2f%2fxxx.servicebus.windows.net%2fIsvMigrationPayloadEventHub%2fPublishers%2ffad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution&sig=Wpf0ORIJI9AFESLDLlJH1ejrUj2W7hy%2fMac%2f7ewZ6j8%3d&se=1541501430&skn=SendPolicy;EntityPath=xyz;Publisher=fad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution" - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "smssolution" + }, + "responses": { + "200": { + "body": { + "publisherSasUri": "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sr=sb%3a%2f%2fxxx.servicebus.windows.net%2fIsvMigrationPayloadEventHub%2fPublishers%2ffad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution&sig=Wpf0ORIJI9AFESLDLlJH1ejrUj2W7hy%2fMac%2f7ewZ6j8%3d&se=1541501430&skn=SendPolicy;EntityPath=xyz;Publisher=fad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json index 97ee51a1271f..58bb81f403be 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json @@ -1,71 +1,71 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", - "name":"dbsolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases", - "status":"Inactive", - "cleanupState":"None", - "summary":{ - "instanceType":"Databases", - "databasesAssessedCount":0, - "databaseInstancesAssessedCount":0, - "migrationReadyCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } - } - }, - { - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/serversolution", - "name":"serversolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c001dc7-0000-0000-0000-5c936e6f0000\"", - "properties":{ - "tool":"ServerDiscovery", - "purpose":"Discovery", - "goal":"Servers", - "status":"Inactive", - "cleanupState":"None", - "summary":{ - "instanceType":"Servers", - "discoveredCount":0, - "assessedCount":0, - "replicatingCount":0, - "testMigratedCount":0, - "migratedCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } - } - } - ], - "nextLink":"" - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name": "dbsolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases", + "status": "Inactive", + "cleanupState": "None", + "summary": { + "instanceType": "Databases", + "databasesAssessedCount": 0, + "databaseInstancesAssessedCount": 0, + "migrationReadyCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" + } + } + } + }, + { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/serversolution", + "name": "serversolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c001dc7-0000-0000-0000-5c936e6f0000\"", + "properties": { + "tool": "ServerDiscovery", + "purpose": "Discovery", + "goal": "Servers", + "status": "Inactive", + "cleanupState": "None", + "summary": { + "instanceType": "Servers", + "discoveredCount": 0, + "assessedCount": 0, + "replicatingCount": 0, + "testMigratedCount": 0, + "migratedCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" + } + } + } + } + ], + "nextLink": "" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json index 4f8045f6e57d..d73eb410db7f 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json @@ -1,44 +1,44 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"dbsolution", - "solutionInput":{ - "properties":{ - "status":"Active" - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "dbsolution", + "solutionInput": { + "properties": { + "status": "Active" } - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", - "name":"dbsolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases", - "status":"Active", - "cleanupState":"None", - "summary":{ - "instanceType":"Databases", - "databasesAssessedCount":0, - "databaseInstancesAssessedCount":0, - "migrationReadyCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name": "dbsolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases", + "status": "Active", + "cleanupState": "None", + "summary": { + "instanceType": "Databases", + "databasesAssessedCount": 0, + "databaseInstancesAssessedCount": 0, + "migrationReadyCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" } - } + } + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json index 1a6f743f0e53..57de852abd7f 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json @@ -1,74 +1,74 @@ -{ - "parameters":{ - "resourceGroupName":"myResourceGroup", - "api-version":"2018-09-01-preview", - "subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b", - "migrateProjectName":"project01", - "solutionName":"dbsolution", - "solutionInput":{ - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases" - } +{ + "parameters": { + "resourceGroupName": "myResourceGroup", + "api-version": "2018-09-01-preview", + "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b", + "migrateProjectName": "project01", + "solutionName": "dbsolution", + "solutionInput": { + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases" } - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", - "name":"dbsolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases", - "status":"Active", - "cleanupState":"None", - "summary":{ - "instanceType":"Databases", - "databasesAssessedCount":0, - "databaseInstancesAssessedCount":0, - "migrationReadyCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name": "dbsolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases", + "status": "Active", + "cleanupState": "None", + "summary": { + "instanceType": "Databases", + "databasesAssessedCount": 0, + "databaseInstancesAssessedCount": 0, + "migrationReadyCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" } - } - }, - "201":{ - "body":{ - "id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", - "name":"dbsolution", - "type":"Microsoft.Migrate/MigrateProjects/Solutions", - "etag":"\"1c0018c7-0000-0000-0000-5c936e530000\"", - "properties":{ - "tool":"DataMigrationAssistant", - "purpose":"Assessment", - "goal":"Databases", - "status":"Active", - "cleanupState":"None", - "summary":{ - "instanceType":"Databases", - "databasesAssessedCount":0, - "databaseInstancesAssessedCount":0, - "migrationReadyCount":0 - }, - "details":{ - "groupCount":0, - "assessmentCount":0, - "extendedDetails":{ - "mykey":"myvalue" - } - } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution", + "name": "dbsolution", + "type": "Microsoft.Migrate/MigrateProjects/Solutions", + "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"", + "properties": { + "tool": "DataMigrationAssistant", + "purpose": "Assessment", + "goal": "Databases", + "status": "Active", + "cleanupState": "None", + "summary": { + "instanceType": "Databases", + "databasesAssessedCount": 0, + "databaseInstancesAssessedCount": 0, + "migrationReadyCount": 0 + }, + "details": { + "groupCount": 0, + "assessmentCount": 0, + "extendedDetails": { + "mykey": "myvalue" } - } + } + } } - } -} \ No newline at end of file + } + } +} diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json index 5057d295f6ed..52c856e35be6 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json @@ -1,3155 +1,3137 @@ -{ - "swagger":"2.0", - "info":{ - "version":"2018-09-01-preview", - "title":"Azure Migrate Hub", - "description":"Migrate your workloads to Azure.", - "contact":{ - "name":"Microsoft", - "email":"azuremigratehub@microsoft.com" - } - }, - "host":"management.azure.com", - "schemes":[ - "https" - ], - "produces":[ - "application/json" - ], - "consumes":[ - "application/json" - ], - "parameters":{ - "subscriptionId":{ - "name":"subscriptionId", - "description":"Azure Subscription Id in which migrate project was created.", - "type":"string", - "in":"path", - "required":true - }, - "resourceGroupName":{ - "name":"resourceGroupName", - "description":"Name of the Azure Resource Group that migrate project is part of.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "migrateProjectName":{ - "name":"migrateProjectName", - "description":"Name of the Azure Migrate project.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "machineName":{ - "name":"machineName", - "description":"Unique name of a machine in Azure migration hub.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "databaseName":{ - "name":"databaseName", - "description":"Unique name of a database in Azure migration hub.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "databaseInstanceName":{ - "name":"databaseInstanceName", - "description":"Unique name of a database instance in Azure migration hub.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "solutionName":{ - "name":"solutionName", - "description":"Unique name of a migration solution within a migrate project.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "eventName":{ - "name":"eventName", - "description":"Unique name of an event within a migrate project.", - "type":"string", - "in":"path", - "x-ms-parameter-location":"method", - "required":true - }, - "continuationToken":{ - "name":"continuationToken", - "description":"The continuation token.", - "type":"string", - "in":"query", - "required":false, - "x-ms-parameter-location":"method" - }, - "pageSize":{ - "name":"pageSize", - "description":"The number of items to be returned in a single page. This value is honored only if it is less than the 100.", - "type":"integer", - "in":"query", - "required":false, - "x-ms-parameter-location":"method" - }, - "api-version":{ - "name":"api-version", - "description":"Standard request header. Used by service to identify API version used by client.", - "type":"string", - "in":"query", - "required":true, - "enum":[ - "2018-09-01-preview" - ] - }, - "acceptLanguage":{ - "description":"Standard request header. Used by service to respond to client in appropriate language.", - "name":"Accept-Language", - "type":"string", - "in":"header", - "x-ms-parameter-location":"client" - } - }, - "securityDefinitions":{ - "azure_auth":{ - "type":"oauth2", - "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize", - "flow":"implicit", - "description":"Azure Active Directory OAuth2 Flow", - "scopes":{ - "user_impersonation":"impersonate your user account" - } - } - }, - "security":[ - { - "azure_auth":[ - "user_impersonation" - ] - } - ], - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances":{ - "get":{ - "tags":[ - "DatabaseInstances" - ], - "summary":"Gets a list of database instances in the migrate project.", - "operationId":"DatabaseInstances_EnumerateDatabaseInstances", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/continuationToken" - }, - { - "$ref":"#/parameters/pageSize" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseInstanceCollection" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "DatabaseInstances_List":{ - "$ref":"./examples/DatabaseInstances_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName}":{ - "get":{ - "tags":[ - "DatabaseInstances" - ], - "summary":"Gets a database instance in the migrate project.", - "operationId":"DatabaseInstances_GetDatabaseInstance", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/databaseInstanceName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseInstance" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "DatabaseInstances_Get":{ - "$ref":"./examples/DatabaseInstances_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases":{ - "get":{ - "tags":[ - "Databases" - ], - "summary":"Gets a list of databases in the migrate project.", - "operationId":"Databases_EnumerateDatabases", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/continuationToken" - }, - { - "$ref":"#/parameters/pageSize" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/DatabaseCollection" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Databases_List":{ - "$ref":"./examples/Databases_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}":{ - "get":{ - "tags":[ - "Databases" - ], - "summary":"Gets a database in the migrate project.", - "operationId":"Databases_GetDatabase", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/databaseName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Database" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Databases_Get":{ - "$ref":"./examples/Databases_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents":{ - "get":{ - "tags":[ - "Events" - ], - "summary":"Gets a list of events in the migrate project.", - "operationId":"Events_EnumerateEvents", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/continuationToken" - }, - { - "$ref":"#/parameters/pageSize" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/EventCollection" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateEvents_List":{ - "$ref":"./examples/MigrateEvents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}":{ - "get":{ - "tags":[ - "Events" - ], - "summary":"Gets an event in the migrate project.", - "operationId":"Events_GetEvent", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/eventName" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MigrateEvent" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateEvents_Get":{ - "$ref":"./examples/MigrateEvents_Get.json" - } - } - }, - "delete":{ - "tags":[ - "Events" - ], - "summary":"Delete the migrate event", - "description":"Delete the migrate event. Deleting non-existent migrate event is a no-operation.", - "operationId":"Events_DeleteEvent", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/eventName" - } - ], - "responses":{ - "200":{ - "description":"OK" - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateEvents_Delete":{ - "$ref":"./examples/MigrateEvents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines":{ - "get":{ - "tags":[ - "Machines" - ], - "summary":"Gets a list of machines in the migrate project.", - "operationId":"Machines_EnumerateMachines", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/continuationToken" - }, - { - "$ref":"#/parameters/pageSize" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineCollection" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Machines_List":{ - "$ref":"./examples/Machines_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines/{machineName}":{ - "get":{ - "tags":[ - "Machines" - ], - "summary":"Gets a machine in the migrate project.", - "operationId":"Machines_GetMachine", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/machineName" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Machine" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Machines_Get":{ - "$ref":"./examples/Machines_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}":{ - "get":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Method to get a migrate project.", - "operationId":"MigrateProjects_GetMigrateProject", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_Get":{ - "$ref":"./examples/MigrateProjects_Get.json" - } - } - }, - "put":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Method to create or update a migrate project.", - "operationId":"MigrateProjects_PutMigrateProject", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "name":"body", - "in":"body", - "description":"Body with migrate project details.", - "required":true, - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - }, - "201":{ - "description":"Created", - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_Put":{ - "$ref":"./examples/MigrateProjects_Put.json" - } - } - }, - "patch":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Update migrate project.", - "description":"Update a migrate project with specified name. Supports partial updates, for example only tags can be provided.", - "operationId":"MigrateProjects_PatchMigrateProject", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "name":"body", - "in":"body", - "description":"Body with migrate project details.", - "required":true, - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MigrateProject" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_Patch":{ - "$ref":"./examples/MigrateProjects_Patch.json" - } - } - }, - "delete":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Delete the migrate project", - "description":"Delete the migrate project. Deleting non-existent project is a no-operation.", - "operationId":"MigrateProjects_DeleteMigrateProject", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK" - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_Delete":{ - "$ref":"./examples/MigrateProjects_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/registerTool":{ - "post":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Registers a tool with the migrate project.", - "operationId":"MigrateProjects_RegisterTool", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "name":"input", - "in":"body", - "description":"Input containing the name of the tool to be registered.", - "required":true, - "schema":{ - "$ref":"#/definitions/RegisterToolInput" - } - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/RegistrationResult" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_RegisterTool":{ - "$ref":"./examples/MigrateProjects_RegisterTool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary":{ - "post":{ - "tags":[ - "MigrateProjects" - ], - "summary":"Refresh the summary of the migrate project.", - "operationId":"MigrateProjects_RefreshMigrateProjectSummary", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "name":"input", - "in":"body", - "description":"The goal input which needs to be refreshed.", - "required":true, - "schema":{ - "$ref":"#/definitions/RefreshSummaryInput" - } - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/RefreshSummaryResult" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "MigrateProjects_RefreshSummary":{ - "$ref":"./examples/MigrateProjects_RefreshSummary.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}":{ - "get":{ - "tags":[ - "Solutions" - ], - "summary":"Gets a solution in the migrate project.", - "operationId":"Solutions_GetSolution", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Solution" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_Get":{ - "$ref":"./examples/Solutions_Get.json" - } - } - }, - "put":{ - "tags":[ - "Solutions" - ], - "summary":"Creates a solution in the migrate project.", - "operationId":"Solutions_PutSolution", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "name":"solutionInput", - "in":"body", - "description":"The input for the solution.", - "required":true, - "schema":{ - "$ref":"#/definitions/Solution" - } - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Solution" - } - }, - "201":{ - "description":"Created", - "schema":{ - "$ref":"#/definitions/Solution" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_Put":{ - "$ref":"./examples/Solutions_Put.json" - } - } - }, - "patch":{ - "tags":[ - "Solutions" - ], - "summary":"Update solution.", - "description":"Update a solution with specified name. Supports partial updates, for example only tags can be provided.", - "operationId":"Solutions_PatchSolution", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "name":"solutionInput", - "in":"body", - "description":"The input for the solution.", - "required":true, - "schema":{ - "$ref":"#/definitions/Solution" - } - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Solution" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_Patch":{ - "$ref":"./examples/Solutions_Patch.json" - } - } - }, - "delete":{ - "tags":[ - "Solutions" - ], - "summary":"Delete the solution", - "description":"Delete the solution. Deleting non-existent project is a no-operation.", - "operationId":"Solutions_DeleteSolution", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "$ref":"#/parameters/api-version" - }, - { - "$ref":"#/parameters/acceptLanguage" - } - ], - "responses":{ - "200":{ - "description":"OK" - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_Delete":{ - "$ref":"./examples/Solutions_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions":{ - "get":{ - "tags":[ - "Solutions" - ], - "summary":"Gets the list of solutions in the migrate project.", - "operationId":"Solutions_EnumerateSolutions", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/SolutionsCollection" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_List":{ - "$ref":"./examples/Solutions_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/getConfig":{ - "post":{ - "tags":[ - "Solutions" - ], - "summary":"Gets the config for the solution in the migrate project.", - "operationId":"Solutions_GetConfig", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "$ref":"#/parameters/api-version" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/SolutionConfig" - } - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_GetConfig":{ - "$ref":"./examples/Solutions_GetConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/cleanupData":{ - "post":{ - "tags":[ - "Solutions" - ], - "summary":"Cleanup the solution data in the migrate project.", - "operationId":"Solutions_CleanupSolutionData", - "parameters":[ - { - "$ref":"#/parameters/subscriptionId" - }, - { - "$ref":"#/parameters/resourceGroupName" - }, - { - "$ref":"#/parameters/migrateProjectName" - }, - { - "$ref":"#/parameters/solutionName" - }, - { - "$ref":"#/parameters/api-version" - } +{ + "swagger": "2.0", + "info": { + "version": "2018-09-01-preview", + "title": "Azure Migrate Hub", + "description": "Migrate your workloads to Azure.", + "contact": { + "name": "Microsoft", + "email": "azuremigratehub@microsoft.com" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "description": "Azure Subscription Id in which migrate project was created.", + "type": "string", + "in": "path", + "required": true + }, + "resourceGroupName": { + "name": "resourceGroupName", + "description": "Name of the Azure Resource Group that migrate project is part of.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "migrateProjectName": { + "name": "migrateProjectName", + "description": "Name of the Azure Migrate project.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "machineName": { + "name": "machineName", + "description": "Unique name of a machine in Azure migration hub.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "databaseName": { + "name": "databaseName", + "description": "Unique name of a database in Azure migration hub.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "databaseInstanceName": { + "name": "databaseInstanceName", + "description": "Unique name of a database instance in Azure migration hub.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "solutionName": { + "name": "solutionName", + "description": "Unique name of a migration solution within a migrate project.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "eventName": { + "name": "eventName", + "description": "Unique name of an event within a migrate project.", + "type": "string", + "in": "path", + "x-ms-parameter-location": "method", + "required": true + }, + "continuationToken": { + "name": "continuationToken", + "description": "The continuation token.", + "type": "string", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "pageSize": { + "name": "pageSize", + "description": "The number of items to be returned in a single page. This value is honored only if it is less than the 100.", + "type": "integer", + "in": "query", + "required": false, + "x-ms-parameter-location": "method" + }, + "api-version": { + "name": "api-version", + "description": "Standard request header. Used by service to identify API version used by client.", + "type": "string", + "in": "query", + "required": true, + "enum": [ + "2018-09-01-preview" + ] + }, + "acceptLanguage": { + "description": "Standard request header. Used by service to respond to client in appropriate language.", + "name": "Accept-Language", + "type": "string", + "in": "header", + "x-ms-parameter-location": "client" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances": { + "get": { + "tags": [ + "DatabaseInstances" + ], + "summary": "Gets a list of database instances in the migrate project.", + "operationId": "DatabaseInstances_EnumerateDatabaseInstances", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/continuationToken" + }, + { + "$ref": "#/parameters/pageSize" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseInstanceCollection" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "DatabaseInstances_List": { + "$ref": "./examples/DatabaseInstances_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName}": { + "get": { + "tags": [ + "DatabaseInstances" + ], + "summary": "Gets a database instance in the migrate project.", + "operationId": "DatabaseInstances_GetDatabaseInstance", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/databaseInstanceName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseInstance" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "DatabaseInstances_Get": { + "$ref": "./examples/DatabaseInstances_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "summary": "Gets a list of databases in the migrate project.", + "operationId": "Databases_EnumerateDatabases", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/continuationToken" + }, + { + "$ref": "#/parameters/pageSize" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseCollection" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Databases_List": { + "$ref": "./examples/Databases_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}": { + "get": { + "tags": [ + "Databases" + ], + "summary": "Gets a database in the migrate project.", + "operationId": "Databases_GetDatabase", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/databaseName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Databases_Get": { + "$ref": "./examples/Databases_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents": { + "get": { + "tags": [ + "Events" + ], + "summary": "Gets a list of events in the migrate project.", + "operationId": "Events_EnumerateEvents", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/continuationToken" + }, + { + "$ref": "#/parameters/pageSize" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventCollection" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateEvents_List": { + "$ref": "./examples/MigrateEvents_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}": { + "get": { + "tags": [ + "Events" + ], + "summary": "Gets an event in the migrate project.", + "operationId": "Events_GetEvent", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/eventName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrateEvent" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateEvents_Get": { + "$ref": "./examples/MigrateEvents_Get.json" + } + } + }, + "delete": { + "tags": [ + "Events" + ], + "summary": "Delete the migrate event", + "description": "Delete the migrate event. Deleting non-existent migrate event is a no-operation.", + "operationId": "Events_DeleteEvent", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/eventName" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateEvents_Delete": { + "$ref": "./examples/MigrateEvents_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines": { + "get": { + "tags": [ + "Machines" + ], + "summary": "Gets a list of machines in the migrate project.", + "operationId": "Machines_EnumerateMachines", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/continuationToken" + }, + { + "$ref": "#/parameters/pageSize" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineCollection" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Machines_List": { + "$ref": "./examples/Machines_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines/{machineName}": { + "get": { + "tags": [ + "Machines" + ], + "summary": "Gets a machine in the migrate project.", + "operationId": "Machines_GetMachine", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/machineName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Machines_Get": { + "$ref": "./examples/Machines_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}": { + "get": { + "tags": [ + "MigrateProjects" + ], + "summary": "Method to get a migrate project.", + "operationId": "MigrateProjects_GetMigrateProject", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrateProject" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_Get": { + "$ref": "./examples/MigrateProjects_Get.json" + } + } + }, + "put": { + "tags": [ + "MigrateProjects" + ], + "summary": "Method to create or update a migrate project.", + "operationId": "MigrateProjects_PutMigrateProject", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "body", + "in": "body", + "description": "Body with migrate project details.", + "required": true, + "schema": { + "$ref": "#/definitions/MigrateProject" + } + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrateProject" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MigrateProject" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_Put": { + "$ref": "./examples/MigrateProjects_Put.json" + } + } + }, + "patch": { + "tags": [ + "MigrateProjects" + ], + "summary": "Update migrate project.", + "description": "Update a migrate project with specified name. Supports partial updates, for example only tags can be provided.", + "operationId": "MigrateProjects_PatchMigrateProject", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "body", + "in": "body", + "description": "Body with migrate project details.", + "required": true, + "schema": { + "$ref": "#/definitions/MigrateProject" + } + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrateProject" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_Patch": { + "$ref": "./examples/MigrateProjects_Patch.json" + } + } + }, + "delete": { + "tags": [ + "MigrateProjects" + ], + "summary": "Delete the migrate project", + "description": "Delete the migrate project. Deleting non-existent project is a no-operation.", + "operationId": "MigrateProjects_DeleteMigrateProject", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_Delete": { + "$ref": "./examples/MigrateProjects_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/registerTool": { + "post": { + "tags": [ + "MigrateProjects" + ], + "summary": "Registers a tool with the migrate project.", + "operationId": "MigrateProjects_RegisterTool", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "input", + "in": "body", + "description": "Input containing the name of the tool to be registered.", + "required": true, + "schema": { + "$ref": "#/definitions/RegisterToolInput" + } + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RegistrationResult" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_RegisterTool": { + "$ref": "./examples/MigrateProjects_RegisterTool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary": { + "post": { + "tags": [ + "MigrateProjects" + ], + "summary": "Refresh the summary of the migrate project.", + "operationId": "MigrateProjects_RefreshMigrateProjectSummary", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "input", + "in": "body", + "description": "The goal input which needs to be refreshed.", + "required": true, + "schema": { + "$ref": "#/definitions/RefreshSummaryInput" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RefreshSummaryResult" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "MigrateProjects_RefreshSummary": { + "$ref": "./examples/MigrateProjects_RefreshSummary.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}": { + "get": { + "tags": [ + "Solutions" + ], + "summary": "Gets a solution in the migrate project.", + "operationId": "Solutions_GetSolution", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Solution" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_Get": { + "$ref": "./examples/Solutions_Get.json" + } + } + }, + "put": { + "tags": [ + "Solutions" + ], + "summary": "Creates a solution in the migrate project.", + "operationId": "Solutions_PutSolution", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "name": "solutionInput", + "in": "body", + "description": "The input for the solution.", + "required": true, + "schema": { + "$ref": "#/definitions/Solution" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Solution" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Solution" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_Put": { + "$ref": "./examples/Solutions_Put.json" + } + } + }, + "patch": { + "tags": [ + "Solutions" + ], + "summary": "Update solution.", + "description": "Update a solution with specified name. Supports partial updates, for example only tags can be provided.", + "operationId": "Solutions_PatchSolution", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "name": "solutionInput", + "in": "body", + "description": "The input for the solution.", + "required": true, + "schema": { + "$ref": "#/definitions/Solution" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Solution" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_Patch": { + "$ref": "./examples/Solutions_Patch.json" + } + } + }, + "delete": { + "tags": [ + "Solutions" + ], + "summary": "Delete the solution", + "description": "Delete the solution. Deleting non-existent project is a no-operation.", + "operationId": "Solutions_DeleteSolution", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/acceptLanguage" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_Delete": { + "$ref": "./examples/Solutions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions": { + "get": { + "tags": [ + "Solutions" + ], + "summary": "Gets the list of solutions in the migrate project.", + "operationId": "Solutions_EnumerateSolutions", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SolutionsCollection" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_List": { + "$ref": "./examples/Solutions_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/getConfig": { + "post": { + "tags": [ + "Solutions" + ], + "summary": "Gets the config for the solution in the migrate project.", + "operationId": "Solutions_GetConfig", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SolutionConfig" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_GetConfig": { + "$ref": "./examples/Solutions_GetConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/cleanupData": { + "post": { + "tags": [ + "Solutions" + ], + "summary": "Cleanup the solution data in the migrate project.", + "operationId": "Solutions_CleanupSolutionData", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/migrateProjectName" + }, + { + "$ref": "#/parameters/solutionName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": false, + "x-ms-examples": { + "Solutions_CleanupData": { + "$ref": "./examples/Solutions_CleanupData.json" + } + } + } + }, + "/providers/Microsoft.Migrate/operations": { + "get": { + "summary": "Get list of operations supported in the API.", + "description": "Get a list of REST API supported by Microsoft.Migrate provider.", + "operationId": "Operations_List", + "responses": { + "200": { + "description": "OK. Returns list of operations.", + "schema": { + "$ref": "#/definitions/OperationResultList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + } + }, + "definitions": { + "Object": { + "type": "object", + "properties": {} + }, + "DatabaseInstanceCollection": { + "description": "Collection of database instances.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the database instances.", + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseInstance" + } + }, + "nextLink": { + "description": "Gets or sets the value of nextLink.", + "type": "string" + } + } + }, + "DatabaseInstance": { + "description": "DatabaseInstance REST resource.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the relative URL to get to this REST resource.", + "type": "string" + }, + "name": { + "description": "Gets or sets the name of this REST resource.", + "type": "string" + }, + "type": { + "description": "Gets the type of this REST resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/DatabaseInstanceProperties", + "description": "Gets or sets the properties of the machine." + } + } + }, + "DatabaseInstanceProperties": { + "description": "Properties of the database instance resource.", + "type": "object", + "properties": { + "discoveryData": { + "description": "Gets or sets the assessment details of the database instance published by various sources.", + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseInstanceDiscoveryDetails" + } + }, + "summary": { + "description": "Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DatabaseInstanceSummary" + } + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the database.", + "type": "string" + } + } + }, + "DatabaseInstanceDiscoveryDetails": { + "description": "Discovery properties that can be shared by various publishers.", + "type": "object", + "properties": { + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the database instance details.", + "type": "string" + }, + "instanceId": { + "description": "Gets or sets the database instance Id.", + "type": "string" + }, + "enqueueTime": { + "description": "Gets or sets the time the message was enqueued.", + "type": "string" + }, + "solutionName": { + "description": "Gets or sets the name of the solution that sent the data.", + "type": "string" + }, + "instanceName": { + "description": "Gets or sets the database instance name.", + "type": "string" + }, + "instanceVersion": { + "description": "Gets or sets the database instance version.", + "type": "string" + }, + "instanceType": { + "description": "Gets or sets the database instance type.", + "type": "string" + }, + "hostName": { + "description": "Gets or sets the host name of the database server.", + "type": "string" + }, + "ipAddress": { + "description": "Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.", + "type": "string" + }, + "portNumber": { + "format": "int32", + "description": "Gets or sets the port number of the database server.", + "type": "integer" + }, + "extendedInfo": { + "description": "Gets or sets the extended properties of the database server.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "DatabaseInstanceSummary": { + "description": "Class representing the database instance summary object.", + "type": "object", + "properties": { + "databasesAssessedCount": { + "format": "int32", + "description": "Gets or sets the count of databases assessed.", + "type": "integer" + }, + "migrationReadyCount": { + "format": "int32", + "description": "Gets or sets the count of databases ready for migration.", + "type": "integer" + } + } + }, + "DatabaseCollection": { + "description": "Collection of databases.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the databases.", + "type": "array", + "items": { + "$ref": "#/definitions/Database" + } + }, + "nextLink": { + "description": "Gets or sets the value of nextLink.", + "type": "string" + } + } + }, + "Database": { + "description": "Database REST resource.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the relative URL to get to this REST resource.", + "type": "string" + }, + "name": { + "description": "Gets or sets the name of this REST resource.", + "type": "string" + }, + "type": { + "description": "Gets the type of this REST resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "description": "Gets or sets the properties of the database." + } + } + }, + "DatabaseProperties": { + "description": "Properties of the database resource.", + "type": "object", + "properties": { + "assessmentData": { + "description": "Gets or sets the assessment details of the database published by various sources.", + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseAssessmentDetails" + } + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the database.", + "type": "string" + } + } + }, + "DatabaseAssessmentDetails": { + "description": "Assessment properties that can be shared by various publishers.", + "type": "object", + "properties": { + "assessmentId": { + "description": "Gets or sets the database assessment scope/Id.", + "type": "string" + }, + "migrationBlockersCount": { + "format": "int32", + "description": "Gets or sets the number of blocking changes found.", + "type": "integer" + }, + "breakingChangesCount": { + "format": "int32", + "description": "Gets or sets the number of breaking changes found.", + "type": "integer" + }, + "isReadyForMigration": { + "description": "Gets or sets a value indicating whether the database is ready for migration.", + "type": "boolean" + }, + "assessmentTargetType": { + "description": "Gets or sets the assessed target database type.", + "type": "string" + }, + "lastAssessedTime": { + "format": "date-time", + "description": "Gets or sets the time when the database was last assessed.", + "type": "string" + }, + "compatibilityLevel": { + "description": "Gets or sets the compatibility level of the database.", + "type": "string" + }, + "databaseSizeInMB": { + "description": "Gets or sets the database size.", + "type": "string" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the database details.", + "type": "string" + }, + "enqueueTime": { + "description": "Gets or sets the time the message was enqueued.", + "type": "string" + }, + "solutionName": { + "description": "Gets or sets the name of the solution that sent the data.", + "type": "string" + }, + "instanceId": { + "description": "Gets or sets the database server instance Id.", + "type": "string" + }, + "databaseName": { + "description": "Gets or sets the database name.", + "type": "string" + }, + "extendedInfo": { + "description": "Gets or sets the extended properties of the database.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "EventCollection": { + "description": "Collection of events.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the machines.", + "type": "array", + "items": { + "$ref": "#/definitions/MigrateEvent" + } + }, + "nextLink": { + "description": "Gets or sets the value of nextLink.", + "type": "string" + } + } + }, + "MigrateEvent": { + "description": "MigrateEvent REST resource.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the relative URL to get to this REST resource.", + "type": "string" + }, + "name": { + "description": "Gets or sets the name of this REST resource.", + "type": "string" + }, + "type": { + "description": "Gets the type of this REST resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/MigrateEventProperties", + "description": "Gets or sets the properties of the event." + } + } + }, + "MigrateEventProperties": { + "description": "Properties of the error resource.", + "type": "object", + "properties": { + "instanceType": { + "description": "Gets the Instance type.", + "type": "string", + "readOnly": true + }, + "errorCode": { + "description": "Gets or sets the error code.", + "type": "string" + }, + "errorMessage": { + "description": "Gets or sets the error message.", + "type": "string" + }, + "recommendation": { + "description": "Gets or sets the recommendation for the error.", + "type": "string" + }, + "possibleCauses": { + "description": "Gets or sets the possible causes for the error.", + "type": "string" + }, + "solution": { + "description": "Gets or sets the solution for which the error is being reported.", + "type": "string" + }, + "clientRequestId": { + "description": "Gets or sets the client request Id of the payload for which the event is being reported.", + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "ODataQueryOptions`1": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/definitions/FilterQueryOption", + "readOnly": true + } + } + }, + "ODataQueryContext": { + "type": "object", + "properties": { + "defaultQuerySettings": { + "$ref": "#/definitions/DefaultQuerySettings", + "readOnly": true + }, + "model": { + "$ref": "#/definitions/IEdmModel", + "readOnly": true + }, + "elementType": { + "$ref": "#/definitions/IEdmType", + "readOnly": true + }, + "navigationSource": { + "$ref": "#/definitions/IEdmNavigationSource", + "readOnly": true + }, + "elementClrType": { + "type": "string", + "readOnly": true + }, + "path": { + "$ref": "#/definitions/ODataPath", + "readOnly": true + }, + "requestContainer": { + "$ref": "#/definitions/IServiceProvider", + "readOnly": true + } + } + }, + "ODataRawQueryOptions": { + "type": "object", + "properties": { + "filter": { + "type": "string", + "readOnly": true + } + } + }, + "FilterQueryOption": { + "type": "object", + "properties": { + "context": { + "$ref": "#/definitions/ODataQueryContext", + "readOnly": true + }, + "validator": { + "$ref": "#/definitions/FilterQueryValidator" + }, + "filterClause": { + "$ref": "#/definitions/FilterClause", + "readOnly": true + }, + "rawValue": { + "type": "string", + "readOnly": true + } + } + }, + "ODataQueryValidator": { + "type": "object", + "properties": {} + }, + "DefaultQuerySettings": { + "type": "object", + "properties": { + "enableExpand": { + "type": "boolean" + }, + "enableSelect": { + "type": "boolean" + }, + "enableCount": { + "type": "boolean" + }, + "enableOrderBy": { + "type": "boolean" + }, + "enableFilter": { + "type": "boolean" + }, + "maxTop": { + "format": "int32", + "type": "integer" + } + } + }, + "IEdmModel": { + "type": "object", + "properties": { + "schemaElements": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmSchemaElement" + }, + "readOnly": true + }, + "vocabularyAnnotations": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmVocabularyAnnotation" + }, + "readOnly": true + }, + "referencedModels": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmModel" + }, + "readOnly": true + }, + "declaredNamespaces": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "directValueAnnotationsManager": { + "$ref": "#/definitions/IEdmDirectValueAnnotationsManager", + "readOnly": true + }, + "entityContainer": { + "$ref": "#/definitions/IEdmEntityContainer", + "readOnly": true + } + } + }, + "IEdmType": { + "type": "object", + "properties": { + "typeKind": { + "enum": [ + "None", + "Primitive", + "Entity", + "Complex", + "Collection", + "EntityReference", + "Enum", + "TypeDefinition", + "Untyped", + "Path" + ], + "type": "string", + "readOnly": true + } + } + }, + "IEdmNavigationSource": { + "type": "object", + "properties": { + "navigationPropertyBindings": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmNavigationPropertyBinding" + }, + "readOnly": true + }, + "path": { + "$ref": "#/definitions/IEdmPathExpression", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IEdmType", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "ODataPath": { + "type": "object", + "properties": { + "edmType": { + "$ref": "#/definitions/IEdmType", + "readOnly": true + }, + "navigationSource": { + "$ref": "#/definitions/IEdmNavigationSource", + "readOnly": true + }, + "segments": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataPathSegment" + }, + "readOnly": true + }, + "pathTemplate": { + "type": "string", + "readOnly": true + }, + "path": { + "type": "array", + "items": { + "$ref": "#/definitions/ODataPathSegment" + }, + "readOnly": true + } + } + }, + "IServiceProvider": { + "type": "object", + "properties": {} + }, + "SelectExpandQueryValidator": { + "type": "object", + "properties": {} + }, + "SelectExpandClause": { + "type": "object", + "properties": { + "selectedItems": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectItem" + }, + "readOnly": true + }, + "allSelected": { + "type": "boolean", + "readOnly": true + } + } + }, + "ApplyClause": { + "type": "object", + "properties": { + "transformations": { + "type": "array", + "items": { + "$ref": "#/definitions/TransformationNode" + }, + "readOnly": true + } + } + }, + "FilterQueryValidator": { + "type": "object", + "properties": {} + }, + "FilterClause": { + "type": "object", + "properties": { + "expression": { + "$ref": "#/definitions/SingleValueNode", + "readOnly": true + }, + "rangeVariable": { + "$ref": "#/definitions/RangeVariable", + "readOnly": true + }, + "itemType": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + } + } + }, + "IEdmSchemaElement": { + "type": "object", + "properties": { + "schemaElementKind": { + "enum": [ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type": "string", + "readOnly": true + }, + "namespace": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmVocabularyAnnotation": { + "type": "object", + "properties": { + "qualifier": { + "type": "string", + "readOnly": true + }, + "term": { + "$ref": "#/definitions/IEdmTerm", + "readOnly": true + }, + "target": { + "$ref": "#/definitions/IEdmVocabularyAnnotatable", + "readOnly": true + }, + "value": { + "$ref": "#/definitions/IEdmExpression", + "readOnly": true + } + } + }, + "IEdmDirectValueAnnotationsManager": { + "type": "object", + "properties": {} + }, + "IEdmEntityContainer": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmEntityContainerElement" + }, + "readOnly": true + }, + "schemaElementKind": { + "enum": [ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type": "string", + "readOnly": true + }, + "namespace": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmNavigationPropertyBinding": { + "type": "object", + "properties": { + "navigationProperty": { + "$ref": "#/definitions/IEdmNavigationProperty", + "readOnly": true + }, + "target": { + "$ref": "#/definitions/IEdmNavigationSource", + "readOnly": true + }, + "path": { + "$ref": "#/definitions/IEdmPathExpression", + "readOnly": true + } + } + }, + "IEdmPathExpression": { + "type": "object", + "properties": { + "pathSegments": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "path": { + "type": "string", + "readOnly": true + }, + "expressionKind": { + "enum": [ + "None", + "BinaryConstant", + "BooleanConstant", + "DateTimeOffsetConstant", + "DecimalConstant", + "FloatingConstant", + "GuidConstant", + "IntegerConstant", + "StringConstant", + "DurationConstant", + "Null", + "Record", + "Collection", + "Path", + "If", + "Cast", + "IsType", + "FunctionApplication", + "LabeledExpressionReference", + "Labeled", + "PropertyPath", + "NavigationPropertyPath", + "DateConstant", + "TimeOfDayConstant", + "EnumMember", + "AnnotationPath" + ], + "type": "string", + "readOnly": true + } + } + }, + "ODataPathSegment": { + "type": "object", + "properties": { + "edmType": { + "$ref": "#/definitions/IEdmType", + "readOnly": true + }, + "identifier": { + "type": "string" + } + } + }, + "SelectItem": { + "type": "object", + "properties": {} + }, + "TransformationNode": { + "type": "object", + "properties": { + "kind": { + "enum": [ + "Aggregate", + "GroupBy", + "Filter", + "Compute" + ], + "type": "string", + "readOnly": true + } + } + }, + "SingleValueNode": { + "type": "object", + "properties": { + "typeReference": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "kind": { + "enum": [ + "None", + "Constant", + "Convert", + "NonResourceRangeVariableReference", + "BinaryOperator", + "UnaryOperator", + "SingleValuePropertyAccess", + "CollectionPropertyAccess", + "SingleValueFunctionCall", + "Any", + "CollectionNavigationNode", + "SingleNavigationNode", + "SingleValueOpenPropertyAccess", + "SingleResourceCast", + "All", + "CollectionResourceCast", + "ResourceRangeVariableReference", + "SingleResourceFunctionCall", + "CollectionFunctionCall", + "CollectionResourceFunctionCall", + "NamedFunctionParameter", + "ParameterAlias", + "EntitySet", + "KeyLookup", + "SearchTerm", + "CollectionOpenPropertyAccess", + "CollectionComplexNode", + "SingleComplexNode", + "Count", + "SingleValueCast", + "CollectionPropertyNode", + "AggregatedCollectionPropertyNode", + "In", + "CollectionConstant" + ], + "type": "string", + "readOnly": true + } + } + }, + "RangeVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true + }, + "typeReference": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "kind": { + "format": "int32", + "type": "integer", + "readOnly": true + } + } + }, + "IEdmTypeReference": { + "type": "object", + "properties": { + "isNullable": { + "type": "boolean", + "readOnly": true + }, + "definition": { + "$ref": "#/definitions/IEdmType", + "readOnly": true + } + } + }, + "IEdmTerm": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "appliesTo": { + "type": "string", + "readOnly": true + }, + "defaultValue": { + "type": "string", + "readOnly": true + }, + "schemaElementKind": { + "enum": [ + "None", + "TypeDefinition", + "Term", + "Action", + "EntityContainer", + "Function" + ], + "type": "string", + "readOnly": true + }, + "namespace": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmVocabularyAnnotatable": { + "type": "object", + "properties": {} + }, + "IEdmExpression": { + "type": "object", + "properties": { + "expressionKind": { + "enum": [ + "None", + "BinaryConstant", + "BooleanConstant", + "DateTimeOffsetConstant", + "DecimalConstant", + "FloatingConstant", + "GuidConstant", + "IntegerConstant", + "StringConstant", + "DurationConstant", + "Null", + "Record", + "Collection", + "Path", + "If", + "Cast", + "IsType", + "FunctionApplication", + "LabeledExpressionReference", + "Labeled", + "PropertyPath", + "NavigationPropertyPath", + "DateConstant", + "TimeOfDayConstant", + "EnumMember", + "AnnotationPath" + ], + "type": "string", + "readOnly": true + } + } + }, + "IEdmEntityContainerElement": { + "type": "object", + "properties": { + "containerElementKind": { + "enum": [ + "None", + "EntitySet", + "ActionImport", + "FunctionImport", + "Singleton" + ], + "type": "string", + "readOnly": true + }, + "container": { + "$ref": "#/definitions/IEdmEntityContainer", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmNavigationProperty": { + "type": "object", + "properties": { + "partner": { + "$ref": "#/definitions/IEdmNavigationProperty", + "readOnly": true + }, + "onDelete": { + "enum": [ + "None", + "Cascade" + ], + "type": "string", + "readOnly": true + }, + "containsTarget": { + "type": "boolean", + "readOnly": true + }, + "referentialConstraint": { + "$ref": "#/definitions/IEdmReferentialConstraint", + "readOnly": true + }, + "propertyKind": { + "enum": [ + "None", + "Structural", + "Navigation" + ], + "type": "string", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "declaringType": { + "$ref": "#/definitions/IEdmStructuredType", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmReferentialConstraint": { + "type": "object", + "properties": { + "propertyPairs": { + "type": "array", + "items": { + "$ref": "#/definitions/EdmReferentialConstraintPropertyPair" + }, + "readOnly": true + } + } + }, + "IEdmStructuredType": { + "type": "object", + "properties": { + "isAbstract": { + "type": "boolean", + "readOnly": true + }, + "isOpen": { + "type": "boolean", + "readOnly": true + }, + "baseType": { + "$ref": "#/definitions/IEdmStructuredType", + "readOnly": true + }, + "declaredProperties": { + "type": "array", + "items": { + "$ref": "#/definitions/IEdmProperty" + }, + "readOnly": true + }, + "typeKind": { + "enum": [ + "None", + "Primitive", + "Entity", + "Complex", + "Collection", + "EntityReference", + "Enum", + "TypeDefinition", + "Untyped", + "Path" + ], + "type": "string", + "readOnly": true + } + } + }, + "EdmReferentialConstraintPropertyPair": { + "type": "object", + "properties": { + "dependentProperty": { + "$ref": "#/definitions/IEdmStructuralProperty", + "readOnly": true + }, + "principalProperty": { + "$ref": "#/definitions/IEdmStructuralProperty", + "readOnly": true + } + } + }, + "IEdmProperty": { + "type": "object", + "properties": { + "propertyKind": { + "enum": [ + "None", + "Structural", + "Navigation" + ], + "type": "string", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "declaringType": { + "$ref": "#/definitions/IEdmStructuredType", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "IEdmStructuralProperty": { + "type": "object", + "properties": { + "defaultValueString": { + "type": "string", + "readOnly": true + }, + "propertyKind": { + "enum": [ + "None", + "Structural", + "Navigation" + ], + "type": "string", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IEdmTypeReference", + "readOnly": true + }, + "declaringType": { + "$ref": "#/definitions/IEdmStructuredType", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + } + } + }, + "MachineCollection": { + "description": "Collection of machines.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the machines.", + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + } + }, + "nextLink": { + "description": "Gets or sets the value of nextLink.", + "type": "string" + } + } + }, + "Machine": { + "description": "Machine REST resource.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the relative URL to get to this REST resource.", + "type": "string" + }, + "name": { + "description": "Gets or sets the name of this REST resource.", + "type": "string" + }, + "type": { + "description": "Gets the type of this REST resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/MachineProperties", + "description": "Gets or sets the properties of the machine." + } + } + }, + "MachineProperties": { + "description": "Properties of the machine resource.", + "type": "object", + "properties": { + "discoveryData": { + "description": "Gets or sets the discovery details of the machine published by various sources.", + "type": "array", + "items": { + "$ref": "#/definitions/DiscoveryDetails" + } + }, + "assessmentData": { + "description": "Gets or sets the assessment details of the machine published by various sources.", + "type": "array", + "items": { + "$ref": "#/definitions/AssessmentDetails" + } + }, + "migrationData": { + "description": "Gets or sets the migration details of the machine published by various sources.", + "type": "array", + "items": { + "$ref": "#/definitions/MigrationDetails" + } + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the machine.", + "type": "string" + } + } + }, + "DiscoveryDetails": { + "description": "Discovery properties that can be published by various ISVs.", + "type": "object", + "properties": { + "osType": { + "description": "Gets or sets the OS type.", + "type": "string" + }, + "osName": { + "description": "Gets or sets the OS name.", + "type": "string" + }, + "osVersion": { + "description": "Gets or sets the OS version.", + "type": "string" + }, + "enqueueTime": { + "description": "Gets or sets the time the message was enqueued.", + "type": "string" + }, + "solutionName": { + "description": "Gets or sets the name of the solution that sent the data.", + "type": "string" + }, + "machineId": { + "description": "Gets or sets the unique identifier of the machine.", + "type": "string" + }, + "machineManagerId": { + "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type": "string" + }, + "fabricType": { + "description": "Gets or sets the fabric type.", + "type": "string" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the machine details.", + "type": "string" + }, + "machineName": { + "description": "Gets or sets the name of the machine.", + "type": "string" + }, + "ipAddresses": { + "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type": "array", + "items": { + "type": "string" + } + }, + "fqdn": { + "description": "Gets or sets the FQDN of the machine.", + "type": "string" + }, + "biosId": { + "description": "Gets or sets the BIOS ID of the machine.", + "type": "string" + }, + "macAddresses": { + "description": "Gets or sets the list of MAC addresses of the machine.", + "type": "array", + "items": { + "type": "string" + } + }, + "extendedInfo": { + "description": "Gets or sets the ISV specific extended information.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "AssessmentDetails": { + "description": "Assessment properties that can be shared by various publishers.", + "type": "object", + "properties": { + "assessmentId": { + "description": "Gets or sets the id of the assessment done on the machine.", + "type": "string" + }, + "targetVMSize": { + "description": "Gets or sets the target VM size.", + "type": "string" + }, + "targetVMLocation": { + "description": "Gets or sets the target VM location.", + "type": "string" + }, + "targetStorageType": { + "description": "Gets or sets the target storage type.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "enqueueTime": { + "description": "Gets or sets the time the message was enqueued.", + "type": "string" + }, + "solutionName": { + "description": "Gets or sets the name of the solution that sent the data.", + "type": "string" + }, + "machineId": { + "description": "Gets or sets the unique identifier of the machine.", + "type": "string" + }, + "machineManagerId": { + "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type": "string" + }, + "fabricType": { + "description": "Gets or sets the fabric type.", + "type": "string" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the machine details.", + "type": "string" + }, + "machineName": { + "description": "Gets or sets the name of the machine.", + "type": "string" + }, + "ipAddresses": { + "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type": "array", + "items": { + "type": "string" + } + }, + "fqdn": { + "description": "Gets or sets the FQDN of the machine.", + "type": "string" + }, + "biosId": { + "description": "Gets or sets the BIOS ID of the machine.", + "type": "string" + }, + "macAddresses": { + "description": "Gets or sets the list of MAC addresses of the machine.", + "type": "array", + "items": { + "type": "string" + } + }, + "extendedInfo": { + "description": "Gets or sets the ISV specific extended information.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "MigrationDetails": { + "description": "Migration properties that can be shared by various publishers.", + "type": "object", + "properties": { + "migrationPhase": { + "description": "Gets or sets the phase of migration of the machine.", + "type": "string" + }, + "migrationTested": { + "description": "Gets or sets a value indicating whether migration was tested on the machine.", + "type": "boolean" + }, + "replicationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the progress percentage of migration on the machine.", + "type": "integer" + }, + "targetVMArmId": { + "description": "Gets or sets the ARM id the migrated VM.", + "type": "string" + }, + "enqueueTime": { + "description": "Gets or sets the time the message was enqueued.", + "type": "string" + }, + "solutionName": { + "description": "Gets or sets the name of the solution that sent the data.", + "type": "string" + }, + "machineId": { + "description": "Gets or sets the unique identifier of the machine.", + "type": "string" + }, + "machineManagerId": { + "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", + "type": "string" + }, + "fabricType": { + "description": "Gets or sets the fabric type.", + "type": "string" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Gets or sets the time of the last modification of the machine details.", + "type": "string" + }, + "machineName": { + "description": "Gets or sets the name of the machine.", + "type": "string" + }, + "ipAddresses": { + "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", + "type": "array", + "items": { + "type": "string" + } + }, + "fqdn": { + "description": "Gets or sets the FQDN of the machine.", + "type": "string" + }, + "biosId": { + "description": "Gets or sets the BIOS ID of the machine.", + "type": "string" + }, + "macAddresses": { + "description": "Gets or sets the list of MAC addresses of the machine.", + "type": "array", + "items": { + "type": "string" + } + }, + "extendedInfo": { + "description": "Gets or sets the ISV specific extended information.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "MigrateProject": { + "description": "Migrate Project REST Resource.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "eTag": { + "description": "Gets or sets the eTag for concurrency control.", + "type": "string" + }, + "location": { + "description": "Gets or sets the Azure location in which migrate project is created.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/MigrateProjectProperties", + "description": "Gets or sets the nested properties." + }, + "id": { + "description": "Gets the relative URL to get this migrate project.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets the name of the migrate project.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Gets or sets the tags.", + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "MigrateProjectProperties": { + "description": "Class for migrate project properties.", + "type": "object", + "properties": { + "registeredTools": { + "description": "Gets or sets the list of tools registered with the migrate project.", + "type": "array", + "items": { + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" ], - "responses":{ - "200":{ - "description":"OK" - } - }, - "deprecated":false, - "x-ms-examples":{ - "Solutions_CleanupData":{ - "$ref":"./examples/Solutions_CleanupData.json" - } - } - } - }, - "/providers/Microsoft.Migrate/operations":{ - "get":{ - "summary":"Get list of operations supported in the API.", - "description":"Get a list of REST API supported by Microsoft.Migrate provider.", - "operationId":"Operations_List", - "responses":{ - "200":{ - "description":"OK. Returns list of operations.", - "schema":{ - "$ref":"#/definitions/OperationResultList" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - }, - "x-ms-examples":{ - "Operations_List":{ - "$ref":"./examples/Operations_List.json" - } - } - } - } - }, - "definitions":{ - "Object":{ - "type":"object", - "properties":{ - - } - }, - "DatabaseInstanceCollection":{ - "description":"Collection of database instances.", - "type":"object", - "properties":{ - "value":{ - "description":"Gets or sets the database instances.", - "type":"array", - "items":{ - "$ref":"#/definitions/DatabaseInstance" - } - }, - "nextLink":{ - "description":"Gets or sets the value of nextLink.", - "type":"string" - } - } - }, - "DatabaseInstance":{ - "description":"DatabaseInstance REST resource.", - "type":"object", - "properties":{ - "id":{ - "description":"Gets or sets the relative URL to get to this REST resource.", - "type":"string" - }, - "name":{ - "description":"Gets or sets the name of this REST resource.", - "type":"string" - }, - "type":{ - "description":"Gets the type of this REST resource.", - "type":"string", - "readOnly":true - }, - "properties":{ - "$ref":"#/definitions/DatabaseInstanceProperties", - "description":"Gets or sets the properties of the machine." - } - } - }, - "DatabaseInstanceProperties":{ - "description":"Properties of the database instance resource.", - "type":"object", - "properties":{ - "discoveryData":{ - "description":"Gets or sets the assessment details of the database instance published by various sources.", - "type":"array", - "items":{ - "$ref":"#/definitions/DatabaseInstanceDiscoveryDetails" - } - }, - "summary":{ - "description":"Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.", - "type":"object", - "additionalProperties":{ - "$ref":"#/definitions/DatabaseInstanceSummary" - } - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the database.", - "type":"string" - } - } - }, - "DatabaseInstanceDiscoveryDetails":{ - "description":"Discovery properties that can be shared by various publishers.", - "type":"object", - "properties":{ - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the database instance details.", - "type":"string" - }, - "instanceId":{ - "description":"Gets or sets the database instance Id.", - "type":"string" - }, - "enqueueTime":{ - "description":"Gets or sets the time the message was enqueued.", - "type":"string" - }, - "solutionName":{ - "description":"Gets or sets the name of the solution that sent the data.", - "type":"string" - }, - "instanceName":{ - "description":"Gets or sets the database instance name.", - "type":"string" - }, - "instanceVersion":{ - "description":"Gets or sets the database instance version.", - "type":"string" - }, - "instanceType":{ - "description":"Gets or sets the database instance type.", - "type":"string" - }, - "hostName":{ - "description":"Gets or sets the host name of the database server.", - "type":"string" - }, - "ipAddress":{ - "description":"Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.", - "type":"string" - }, - "portNumber":{ - "format":"int32", - "description":"Gets or sets the port number of the database server.", - "type":"integer" - }, - "extendedInfo":{ - "description":"Gets or sets the extended properties of the database server.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "DatabaseInstanceSummary":{ - "description":"Class representing the database instance summary object.", - "type":"object", - "properties":{ - "databasesAssessedCount":{ - "format":"int32", - "description":"Gets or sets the count of databases assessed.", - "type":"integer" - }, - "migrationReadyCount":{ - "format":"int32", - "description":"Gets or sets the count of databases ready for migration.", - "type":"integer" - } - } - }, - "DatabaseCollection":{ - "description":"Collection of databases.", - "type":"object", - "properties":{ - "value":{ - "description":"Gets or sets the databases.", - "type":"array", - "items":{ - "$ref":"#/definitions/Database" - } - }, - "nextLink":{ - "description":"Gets or sets the value of nextLink.", - "type":"string" - } - } - }, - "Database":{ - "description":"Database REST resource.", - "type":"object", - "properties":{ - "id":{ - "description":"Gets or sets the relative URL to get to this REST resource.", - "type":"string" - }, - "name":{ - "description":"Gets or sets the name of this REST resource.", - "type":"string" - }, - "type":{ - "description":"Gets the type of this REST resource.", - "type":"string", - "readOnly":true - }, - "properties":{ - "$ref":"#/definitions/DatabaseProperties", - "description":"Gets or sets the properties of the database." - } - } - }, - "DatabaseProperties":{ - "description":"Properties of the database resource.", - "type":"object", - "properties":{ - "assessmentData":{ - "description":"Gets or sets the assessment details of the database published by various sources.", - "type":"array", - "items":{ - "$ref":"#/definitions/DatabaseAssessmentDetails" - } - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the database.", - "type":"string" - } - } - }, - "DatabaseAssessmentDetails":{ - "description":"Assessment properties that can be shared by various publishers.", - "type":"object", - "properties":{ - "assessmentId":{ - "description":"Gets or sets the database assessment scope/Id.", - "type":"string" - }, - "migrationBlockersCount":{ - "format":"int32", - "description":"Gets or sets the number of blocking changes found.", - "type":"integer" - }, - "breakingChangesCount":{ - "format":"int32", - "description":"Gets or sets the number of breaking changes found.", - "type":"integer" - }, - "isReadyForMigration":{ - "description":"Gets or sets a value indicating whether the database is ready for migration.", - "type":"boolean" - }, - "assessmentTargetType":{ - "description":"Gets or sets the assessed target database type.", - "type":"string" - }, - "lastAssessedTime":{ - "format":"date-time", - "description":"Gets or sets the time when the database was last assessed.", - "type":"string" - }, - "compatibilityLevel":{ - "description":"Gets or sets the compatibility level of the database.", - "type":"string" - }, - "databaseSizeInMB":{ - "description":"Gets or sets the database size.", - "type":"string" - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the database details.", - "type":"string" - }, - "enqueueTime":{ - "description":"Gets or sets the time the message was enqueued.", - "type":"string" - }, - "solutionName":{ - "description":"Gets or sets the name of the solution that sent the data.", - "type":"string" - }, - "instanceId":{ - "description":"Gets or sets the database server instance Id.", - "type":"string" - }, - "databaseName":{ - "description":"Gets or sets the database name.", - "type":"string" - }, - "extendedInfo":{ - "description":"Gets or sets the extended properties of the database.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "EventCollection":{ - "description":"Collection of events.", - "type":"object", - "properties":{ - "value":{ - "description":"Gets or sets the machines.", - "type":"array", - "items":{ - "$ref":"#/definitions/MigrateEvent" - } - }, - "nextLink":{ - "description":"Gets or sets the value of nextLink.", - "type":"string" - } - } - }, - "MigrateEvent":{ - "description":"MigrateEvent REST resource.", - "type":"object", - "properties":{ - "id":{ - "description":"Gets or sets the relative URL to get to this REST resource.", - "type":"string" - }, - "name":{ - "description":"Gets or sets the name of this REST resource.", - "type":"string" - }, - "type":{ - "description":"Gets the type of this REST resource.", - "type":"string", - "readOnly":true - }, - "properties":{ - "$ref":"#/definitions/MigrateEventProperties", - "description":"Gets or sets the properties of the event." - } - } - }, - "MigrateEventProperties":{ - "description":"Properties of the error resource.", - "type":"object", - "properties":{ - "instanceType":{ - "description":"Gets the Instance type.", - "type":"string", - "readOnly":true - }, - "errorCode":{ - "description":"Gets or sets the error code.", - "type":"string" - }, - "errorMessage":{ - "description":"Gets or sets the error message.", - "type":"string" - }, - "recommendation":{ - "description":"Gets or sets the recommendation for the error.", - "type":"string" - }, - "possibleCauses":{ - "description":"Gets or sets the possible causes for the error.", - "type":"string" - }, - "solution":{ - "description":"Gets or sets the solution for which the error is being reported.", - "type":"string" - }, - "clientRequestId":{ - "description":"Gets or sets the client request Id of the payload for which the event is being reported.", - "type":"string" - } - }, - "discriminator":"instanceType" - }, - "ODataQueryOptions`1":{ - "type":"object", - "properties":{ - "filter":{ - "$ref":"#/definitions/FilterQueryOption", - "readOnly":true - } - } - }, - "ODataQueryContext":{ - "type":"object", - "properties":{ - "defaultQuerySettings":{ - "$ref":"#/definitions/DefaultQuerySettings", - "readOnly":true - }, - "model":{ - "$ref":"#/definitions/IEdmModel", - "readOnly":true - }, - "elementType":{ - "$ref":"#/definitions/IEdmType", - "readOnly":true - }, - "navigationSource":{ - "$ref":"#/definitions/IEdmNavigationSource", - "readOnly":true - }, - "elementClrType":{ - "type":"string", - "readOnly":true - }, - "path":{ - "$ref":"#/definitions/ODataPath", - "readOnly":true - }, - "requestContainer":{ - "$ref":"#/definitions/IServiceProvider", - "readOnly":true - } - } - }, - "ODataRawQueryOptions":{ - "type":"object", - "properties":{ - "filter":{ - "type":"string", - "readOnly":true - } - } - }, - "FilterQueryOption":{ - "type":"object", - "properties":{ - "context":{ - "$ref":"#/definitions/ODataQueryContext", - "readOnly":true - }, - "validator":{ - "$ref":"#/definitions/FilterQueryValidator" - }, - "filterClause":{ - "$ref":"#/definitions/FilterClause", - "readOnly":true - }, - "rawValue":{ - "type":"string", - "readOnly":true - } - } - }, - "ODataQueryValidator":{ - "type":"object", - "properties":{ - - } - }, - "DefaultQuerySettings":{ - "type":"object", - "properties":{ - "enableExpand":{ - "type":"boolean" - }, - "enableSelect":{ - "type":"boolean" - }, - "enableCount":{ - "type":"boolean" - }, - "enableOrderBy":{ - "type":"boolean" - }, - "enableFilter":{ - "type":"boolean" - }, - "maxTop":{ - "format":"int32", - "type":"integer" - } - } - }, - "IEdmModel":{ - "type":"object", - "properties":{ - "schemaElements":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmSchemaElement" - }, - "readOnly":true - }, - "vocabularyAnnotations":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmVocabularyAnnotation" - }, - "readOnly":true - }, - "referencedModels":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmModel" - }, - "readOnly":true - }, - "declaredNamespaces":{ - "type":"array", - "items":{ - "type":"string" - }, - "readOnly":true - }, - "directValueAnnotationsManager":{ - "$ref":"#/definitions/IEdmDirectValueAnnotationsManager", - "readOnly":true - }, - "entityContainer":{ - "$ref":"#/definitions/IEdmEntityContainer", - "readOnly":true - } - } - }, - "IEdmType":{ - "type":"object", - "properties":{ - "typeKind":{ - "enum":[ - "None", - "Primitive", - "Entity", - "Complex", - "Collection", - "EntityReference", - "Enum", - "TypeDefinition", - "Untyped", - "Path" - ], - "type":"string", - "readOnly":true - } - } - }, - "IEdmNavigationSource":{ - "type":"object", - "properties":{ - "navigationPropertyBindings":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmNavigationPropertyBinding" - }, - "readOnly":true - }, - "path":{ - "$ref":"#/definitions/IEdmPathExpression", - "readOnly":true - }, - "type":{ - "$ref":"#/definitions/IEdmType", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "ODataPath":{ - "type":"object", - "properties":{ - "edmType":{ - "$ref":"#/definitions/IEdmType", - "readOnly":true - }, - "navigationSource":{ - "$ref":"#/definitions/IEdmNavigationSource", - "readOnly":true - }, - "segments":{ - "type":"array", - "items":{ - "$ref":"#/definitions/ODataPathSegment" - }, - "readOnly":true - }, - "pathTemplate":{ - "type":"string", - "readOnly":true - }, - "path":{ - "type":"array", - "items":{ - "$ref":"#/definitions/ODataPathSegment" - }, - "readOnly":true - } - } - }, - "IServiceProvider":{ - "type":"object", - "properties":{ - - } - }, - "SelectExpandQueryValidator":{ - "type":"object", - "properties":{ - - } - }, - "SelectExpandClause":{ - "type":"object", - "properties":{ - "selectedItems":{ - "type":"array", - "items":{ - "$ref":"#/definitions/SelectItem" - }, - "readOnly":true - }, - "allSelected":{ - "type":"boolean", - "readOnly":true - } - } - }, - "ApplyClause":{ - "type":"object", - "properties":{ - "transformations":{ - "type":"array", - "items":{ - "$ref":"#/definitions/TransformationNode" - }, - "readOnly":true - } - } - }, - "FilterQueryValidator":{ - "type":"object", - "properties":{ - - } - }, - "FilterClause":{ - "type":"object", - "properties":{ - "expression":{ - "$ref":"#/definitions/SingleValueNode", - "readOnly":true - }, - "rangeVariable":{ - "$ref":"#/definitions/RangeVariable", - "readOnly":true - }, - "itemType":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - } - } - }, - "IEdmSchemaElement":{ - "type":"object", - "properties":{ - "schemaElementKind":{ - "enum":[ - "None", - "TypeDefinition", - "Term", - "Action", - "EntityContainer", - "Function" - ], - "type":"string", - "readOnly":true - }, - "namespace":{ - "type":"string", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmVocabularyAnnotation":{ - "type":"object", - "properties":{ - "qualifier":{ - "type":"string", - "readOnly":true - }, - "term":{ - "$ref":"#/definitions/IEdmTerm", - "readOnly":true - }, - "target":{ - "$ref":"#/definitions/IEdmVocabularyAnnotatable", - "readOnly":true - }, - "value":{ - "$ref":"#/definitions/IEdmExpression", - "readOnly":true - } - } - }, - "IEdmDirectValueAnnotationsManager":{ - "type":"object", - "properties":{ - - } - }, - "IEdmEntityContainer":{ - "type":"object", - "properties":{ - "elements":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmEntityContainerElement" - }, - "readOnly":true - }, - "schemaElementKind":{ - "enum":[ - "None", - "TypeDefinition", - "Term", - "Action", - "EntityContainer", - "Function" - ], - "type":"string", - "readOnly":true - }, - "namespace":{ - "type":"string", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmNavigationPropertyBinding":{ - "type":"object", - "properties":{ - "navigationProperty":{ - "$ref":"#/definitions/IEdmNavigationProperty", - "readOnly":true - }, - "target":{ - "$ref":"#/definitions/IEdmNavigationSource", - "readOnly":true - }, - "path":{ - "$ref":"#/definitions/IEdmPathExpression", - "readOnly":true - } - } - }, - "IEdmPathExpression":{ - "type":"object", - "properties":{ - "pathSegments":{ - "type":"array", - "items":{ - "type":"string" - }, - "readOnly":true - }, - "path":{ - "type":"string", - "readOnly":true - }, - "expressionKind":{ - "enum":[ - "None", - "BinaryConstant", - "BooleanConstant", - "DateTimeOffsetConstant", - "DecimalConstant", - "FloatingConstant", - "GuidConstant", - "IntegerConstant", - "StringConstant", - "DurationConstant", - "Null", - "Record", - "Collection", - "Path", - "If", - "Cast", - "IsType", - "FunctionApplication", - "LabeledExpressionReference", - "Labeled", - "PropertyPath", - "NavigationPropertyPath", - "DateConstant", - "TimeOfDayConstant", - "EnumMember", - "AnnotationPath" - ], - "type":"string", - "readOnly":true - } - } - }, - "ODataPathSegment":{ - "type":"object", - "properties":{ - "edmType":{ - "$ref":"#/definitions/IEdmType", - "readOnly":true - }, - "identifier":{ - "type":"string" - } - } - }, - "SelectItem":{ - "type":"object", - "properties":{ - - } - }, - "TransformationNode":{ - "type":"object", - "properties":{ - "kind":{ - "enum":[ - "Aggregate", - "GroupBy", - "Filter", - "Compute" - ], - "type":"string", - "readOnly":true - } - } - }, - "SingleValueNode":{ - "type":"object", - "properties":{ - "typeReference":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "kind":{ - "enum":[ - "None", - "Constant", - "Convert", - "NonResourceRangeVariableReference", - "BinaryOperator", - "UnaryOperator", - "SingleValuePropertyAccess", - "CollectionPropertyAccess", - "SingleValueFunctionCall", - "Any", - "CollectionNavigationNode", - "SingleNavigationNode", - "SingleValueOpenPropertyAccess", - "SingleResourceCast", - "All", - "CollectionResourceCast", - "ResourceRangeVariableReference", - "SingleResourceFunctionCall", - "CollectionFunctionCall", - "CollectionResourceFunctionCall", - "NamedFunctionParameter", - "ParameterAlias", - "EntitySet", - "KeyLookup", - "SearchTerm", - "CollectionOpenPropertyAccess", - "CollectionComplexNode", - "SingleComplexNode", - "Count", - "SingleValueCast", - "CollectionPropertyNode", - "AggregatedCollectionPropertyNode", - "In", - "CollectionConstant" - ], - "type":"string", - "readOnly":true - } - } - }, - "RangeVariable":{ - "type":"object", - "properties":{ - "name":{ - "type":"string", - "readOnly":true - }, - "typeReference":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "kind":{ - "format":"int32", - "type":"integer", - "readOnly":true - } - } - }, - "IEdmTypeReference":{ - "type":"object", - "properties":{ - "isNullable":{ - "type":"boolean", - "readOnly":true - }, - "definition":{ - "$ref":"#/definitions/IEdmType", - "readOnly":true - } - } - }, - "IEdmTerm":{ - "type":"object", - "properties":{ - "type":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "appliesTo":{ - "type":"string", - "readOnly":true - }, - "defaultValue":{ - "type":"string", - "readOnly":true - }, - "schemaElementKind":{ - "enum":[ - "None", - "TypeDefinition", - "Term", - "Action", - "EntityContainer", - "Function" - ], - "type":"string", - "readOnly":true - }, - "namespace":{ - "type":"string", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmVocabularyAnnotatable":{ - "type":"object", - "properties":{ - - } - }, - "IEdmExpression":{ - "type":"object", - "properties":{ - "expressionKind":{ - "enum":[ - "None", - "BinaryConstant", - "BooleanConstant", - "DateTimeOffsetConstant", - "DecimalConstant", - "FloatingConstant", - "GuidConstant", - "IntegerConstant", - "StringConstant", - "DurationConstant", - "Null", - "Record", - "Collection", - "Path", - "If", - "Cast", - "IsType", - "FunctionApplication", - "LabeledExpressionReference", - "Labeled", - "PropertyPath", - "NavigationPropertyPath", - "DateConstant", - "TimeOfDayConstant", - "EnumMember", - "AnnotationPath" - ], - "type":"string", - "readOnly":true - } - } - }, - "IEdmEntityContainerElement":{ - "type":"object", - "properties":{ - "containerElementKind":{ - "enum":[ - "None", - "EntitySet", - "ActionImport", - "FunctionImport", - "Singleton" - ], - "type":"string", - "readOnly":true - }, - "container":{ - "$ref":"#/definitions/IEdmEntityContainer", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmNavigationProperty":{ - "type":"object", - "properties":{ - "partner":{ - "$ref":"#/definitions/IEdmNavigationProperty", - "readOnly":true - }, - "onDelete":{ - "enum":[ - "None", - "Cascade" - ], - "type":"string", - "readOnly":true - }, - "containsTarget":{ - "type":"boolean", - "readOnly":true - }, - "referentialConstraint":{ - "$ref":"#/definitions/IEdmReferentialConstraint", - "readOnly":true - }, - "propertyKind":{ - "enum":[ - "None", - "Structural", - "Navigation" - ], - "type":"string", - "readOnly":true - }, - "type":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "declaringType":{ - "$ref":"#/definitions/IEdmStructuredType", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmReferentialConstraint":{ - "type":"object", - "properties":{ - "propertyPairs":{ - "type":"array", - "items":{ - "$ref":"#/definitions/EdmReferentialConstraintPropertyPair" - }, - "readOnly":true - } - } - }, - "IEdmStructuredType":{ - "type":"object", - "properties":{ - "isAbstract":{ - "type":"boolean", - "readOnly":true - }, - "isOpen":{ - "type":"boolean", - "readOnly":true - }, - "baseType":{ - "$ref":"#/definitions/IEdmStructuredType", - "readOnly":true - }, - "declaredProperties":{ - "type":"array", - "items":{ - "$ref":"#/definitions/IEdmProperty" - }, - "readOnly":true - }, - "typeKind":{ - "enum":[ - "None", - "Primitive", - "Entity", - "Complex", - "Collection", - "EntityReference", - "Enum", - "TypeDefinition", - "Untyped", - "Path" - ], - "type":"string", - "readOnly":true - } - } - }, - "EdmReferentialConstraintPropertyPair":{ - "type":"object", - "properties":{ - "dependentProperty":{ - "$ref":"#/definitions/IEdmStructuralProperty", - "readOnly":true - }, - "principalProperty":{ - "$ref":"#/definitions/IEdmStructuralProperty", - "readOnly":true - } - } - }, - "IEdmProperty":{ - "type":"object", - "properties":{ - "propertyKind":{ - "enum":[ - "None", - "Structural", - "Navigation" - ], - "type":"string", - "readOnly":true - }, - "type":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "declaringType":{ - "$ref":"#/definitions/IEdmStructuredType", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "IEdmStructuralProperty":{ - "type":"object", - "properties":{ - "defaultValueString":{ - "type":"string", - "readOnly":true - }, - "propertyKind":{ - "enum":[ - "None", - "Structural", - "Navigation" - ], - "type":"string", - "readOnly":true - }, - "type":{ - "$ref":"#/definitions/IEdmTypeReference", - "readOnly":true - }, - "declaringType":{ - "$ref":"#/definitions/IEdmStructuredType", - "readOnly":true - }, - "name":{ - "type":"string", - "readOnly":true - } - } - }, - "MachineCollection":{ - "description":"Collection of machines.", - "type":"object", - "properties":{ - "value":{ - "description":"Gets or sets the machines.", - "type":"array", - "items":{ - "$ref":"#/definitions/Machine" - } - }, - "nextLink":{ - "description":"Gets or sets the value of nextLink.", - "type":"string" - } - } - }, - "Machine":{ - "description":"Machine REST resource.", - "type":"object", - "properties":{ - "id":{ - "description":"Gets or sets the relative URL to get to this REST resource.", - "type":"string" - }, - "name":{ - "description":"Gets or sets the name of this REST resource.", - "type":"string" - }, - "type":{ - "description":"Gets the type of this REST resource.", - "type":"string", - "readOnly":true - }, - "properties":{ - "$ref":"#/definitions/MachineProperties", - "description":"Gets or sets the properties of the machine." - } - } - }, - "MachineProperties":{ - "description":"Properties of the machine resource.", - "type":"object", - "properties":{ - "discoveryData":{ - "description":"Gets or sets the discovery details of the machine published by various sources.", - "type":"array", - "items":{ - "$ref":"#/definitions/DiscoveryDetails" - } - }, - "assessmentData":{ - "description":"Gets or sets the assessment details of the machine published by various sources.", - "type":"array", - "items":{ - "$ref":"#/definitions/AssessmentDetails" - } - }, - "migrationData":{ - "description":"Gets or sets the migration details of the machine published by various sources.", - "type":"array", - "items":{ - "$ref":"#/definitions/MigrationDetails" - } - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the machine.", - "type":"string" - } - } - }, - "DiscoveryDetails":{ - "description":"Discovery properties that can be published by various ISVs.", - "type":"object", - "properties":{ - "osType":{ - "description":"Gets or sets the OS type.", - "type":"string" - }, - "osName":{ - "description":"Gets or sets the OS name.", - "type":"string" - }, - "osVersion":{ - "description":"Gets or sets the OS version.", - "type":"string" - }, - "enqueueTime":{ - "description":"Gets or sets the time the message was enqueued.", - "type":"string" - }, - "solutionName":{ - "description":"Gets or sets the name of the solution that sent the data.", - "type":"string" - }, - "machineId":{ - "description":"Gets or sets the unique identifier of the machine.", - "type":"string" - }, - "machineManagerId":{ - "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", - "type":"string" - }, - "fabricType":{ - "description":"Gets or sets the fabric type.", - "type":"string" - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the machine details.", - "type":"string" - }, - "machineName":{ - "description":"Gets or sets the name of the machine.", - "type":"string" - }, - "ipAddresses":{ - "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", - "type":"array", - "items":{ - "type":"string" - } - }, - "fqdn":{ - "description":"Gets or sets the FQDN of the machine.", - "type":"string" - }, - "biosId":{ - "description":"Gets or sets the BIOS ID of the machine.", - "type":"string" - }, - "macAddresses":{ - "description":"Gets or sets the list of MAC addresses of the machine.", - "type":"array", - "items":{ - "type":"string" - } - }, - "extendedInfo":{ - "description":"Gets or sets the ISV specific extended information.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "AssessmentDetails":{ - "description":"Assessment properties that can be shared by various publishers.", - "type":"object", - "properties":{ - "assessmentId":{ - "description":"Gets or sets the id of the assessment done on the machine.", - "type":"string" - }, - "targetVMSize":{ - "description":"Gets or sets the target VM size.", - "type":"string" - }, - "targetVMLocation":{ - "description":"Gets or sets the target VM location.", - "type":"string" - }, - "targetStorageType":{ - "description":"Gets or sets the target storage type.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - }, - "enqueueTime":{ - "description":"Gets or sets the time the message was enqueued.", - "type":"string" - }, - "solutionName":{ - "description":"Gets or sets the name of the solution that sent the data.", - "type":"string" - }, - "machineId":{ - "description":"Gets or sets the unique identifier of the machine.", - "type":"string" - }, - "machineManagerId":{ - "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", - "type":"string" - }, - "fabricType":{ - "description":"Gets or sets the fabric type.", - "type":"string" - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the machine details.", - "type":"string" - }, - "machineName":{ - "description":"Gets or sets the name of the machine.", - "type":"string" - }, - "ipAddresses":{ - "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", - "type":"array", - "items":{ - "type":"string" - } - }, - "fqdn":{ - "description":"Gets or sets the FQDN of the machine.", - "type":"string" - }, - "biosId":{ - "description":"Gets or sets the BIOS ID of the machine.", - "type":"string" - }, - "macAddresses":{ - "description":"Gets or sets the list of MAC addresses of the machine.", - "type":"array", - "items":{ - "type":"string" - } - }, - "extendedInfo":{ - "description":"Gets or sets the ISV specific extended information.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "MigrationDetails":{ - "description":"Migration properties that can be shared by various publishers.", - "type":"object", - "properties":{ - "migrationPhase":{ - "description":"Gets or sets the phase of migration of the machine.", - "type":"string" - }, - "migrationTested":{ - "description":"Gets or sets a value indicating whether migration was tested on the machine.", - "type":"boolean" - }, - "replicationProgressPercentage":{ - "format":"int32", - "description":"Gets or sets the progress percentage of migration on the machine.", - "type":"integer" - }, - "targetVMArmId":{ - "description":"Gets or sets the ARM id the migrated VM.", - "type":"string" - }, - "enqueueTime":{ - "description":"Gets or sets the time the message was enqueued.", - "type":"string" - }, - "solutionName":{ - "description":"Gets or sets the name of the solution that sent the data.", - "type":"string" - }, - "machineId":{ - "description":"Gets or sets the unique identifier of the machine.", - "type":"string" - }, - "machineManagerId":{ - "description":"Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).", - "type":"string" - }, - "fabricType":{ - "description":"Gets or sets the fabric type.", - "type":"string" - }, - "lastUpdatedTime":{ - "format":"date-time", - "description":"Gets or sets the time of the last modification of the machine details.", - "type":"string" - }, - "machineName":{ - "description":"Gets or sets the name of the machine.", - "type":"string" - }, - "ipAddresses":{ - "description":"Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.", - "type":"array", - "items":{ - "type":"string" - } - }, - "fqdn":{ - "description":"Gets or sets the FQDN of the machine.", - "type":"string" - }, - "biosId":{ - "description":"Gets or sets the BIOS ID of the machine.", - "type":"string" - }, - "macAddresses":{ - "description":"Gets or sets the list of MAC addresses of the machine.", - "type":"array", - "items":{ - "type":"string" - } - }, - "extendedInfo":{ - "description":"Gets or sets the ISV specific extended information.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "MigrateProject":{ - "description":"Migrate Project REST Resource.", - "type":"object", - "x-ms-azure-resource":true, - "properties":{ - "eTag":{ - "description":"Gets or sets the eTag for concurrency control.", - "type":"string" - }, - "location":{ - "description":"Gets or sets the Azure location in which migrate project is created.", - "type":"string" - }, - "properties":{ - "$ref":"#/definitions/MigrateProjectProperties", - "description":"Gets or sets the nested properties." - }, - "id":{ - "description":"Gets the relative URL to get this migrate project.", - "type":"string", - "readOnly":true - }, - "name":{ - "description":"Gets the name of the migrate project.", - "type":"string", - "readOnly":true - }, - "type":{ - "description":"Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.", - "type":"string", - "readOnly":true - }, - "tags":{ - "description":"Gets or sets the tags.", - "type":"object", - "properties":{ - "additionalProperties":{ - "type":"string" - } - } - } - } - }, - "MigrateProjectProperties":{ - "description":"Class for migrate project properties.", - "type":"object", - "properties":{ - "registeredTools":{ - "description":"Gets or sets the list of tools registered with the migrate project.", - "type":"array", - "items":{ - "enum":[ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ], - "type":"string" - } - }, - "summary":{ - "description":"Gets the summary of the migrate project.", - "type":"object", - "additionalProperties":{ - "$ref":"#/definitions/ProjectSummary" - }, - "readOnly":true - }, - "lastSummaryRefreshedTime":{ - "format":"date-time", - "description":"Gets the last time the project summary was refreshed.", - "type":"string", - "readOnly":true - }, - "refreshSummaryState":{ - "description":"Gets the refresh summary state.", - "enum":[ - "Started", - "InProgress", - "Completed", - "Failed" - ], - "type":"string", - "readOnly":true - }, - "provisioningState":{ - "type":"string", - "enum":[ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ], - "description":"Provisioning state of the migrate project.", - "x-ms-enum":{ - "name":"ProvisioningState", - "modelAsString":true - } - } - } - }, - "ProjectSummary":{ - "description":"The project summary class.", - "type":"object", - "properties":{ - "instanceType":{ - "description":"Gets the Instance type.", - "type":"string", - "readOnly":true - }, - "refreshSummaryState":{ - "description":"Gets or sets the state of refresh summary.", - "enum":[ - "Started", - "InProgress", - "Completed", - "Failed" - ], - "type":"string" - }, - "lastSummaryRefreshedTime":{ - "format":"date-time", - "description":"Gets or sets the time when summary was last refreshed.", - "type":"string" - }, - "extendedSummary":{ - "description":"Gets or sets the extended summary.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - }, - "discriminator":"instanceType" - }, - "RegisterToolInput":{ - "description":"Class representing the register tool input.", - "type":"object", - "properties":{ - "tool":{ - "description":"Gets or sets the tool to be registered.", - "enum":[ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ], - "type":"string" - } - } - }, - "RegistrationResult":{ - "description":"Class representing the registration status of a tool with the migrate project.", - "type":"object", - "properties":{ - "isRegistered":{ - "description":"Gets or sets a value indicating whether the tool is registered or not.", - "type":"boolean" - } - } - }, - "RefreshSummaryResult":{ - "description":"Class representing the refresh summary status of the migrate project.", - "type":"object", - "properties":{ - "isRefreshed":{ - "description":"Gets or sets a value indicating whether the migrate project summary is refreshed.", - "type":"boolean" - } - } - }, - "RefreshSummaryInput":{ - "description":"Class representing the refresh summary input.", - "type":"object", - "properties":{ - "goal":{ - "description":"Gets or sets the goal for which summary needs to be refreshed.", - "enum":[ - "Servers", - "Databases" - ], - "type":"string" - } - } - }, - "Solution":{ - "description":"Solution REST Resource.", - "x-ms-azure-resource":true, - "type":"object", - "properties":{ - "id":{ - "description":"Gets the relative URL to get to this REST resource.", - "type":"string", - "readOnly":true - }, - "name":{ - "description":"Gets the name of this REST resource.", - "type":"string", - "readOnly":true - }, - "type":{ - "description":"Gets the type of this REST resource.", - "type":"string", - "readOnly":true - }, - "etag":{ - "description":"Gets or sets the ETAG for optimistic concurrency control.", - "type":"string" - }, - "properties":{ - "$ref":"#/definitions/SolutionProperties", - "description":"Gets or sets the properties of the solution." - } - } - }, - "SolutionProperties":{ - "description":"Class for solution properties.", - "type":"object", - "properties":{ - "tool":{ - "description":"Gets or sets the tool being used in the solution.", - "enum":[ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ], - "type":"string" - }, - "purpose":{ - "description":"Gets or sets the purpose of the solution.", - "enum":[ - "Discovery", - "Assessment", - "Migration" - ], - "type":"string" - }, - "goal":{ - "description":"Gets or sets the goal of the solution.", - "enum":[ - "Servers", - "Databases" - ], - "type":"string" - }, - "status":{ - "description":"Gets or sets the current status of the solution.", - "enum":[ - "Inactive", - "Active" - ], - "type":"string" - }, - "cleanupState":{ - "description":"Gets or sets the cleanup state of the solution.", - "enum":[ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ], - "type":"string" - }, - "summary":{ - "$ref":"#/definitions/SolutionSummary", - "description":"Gets or sets the summary of the solution." - }, - "details":{ - "$ref":"#/definitions/SolutionDetails", - "description":"Gets or sets the details of the solution." - } - } - }, - "SolutionSummary":{ - "description":"The solution summary class.", - "type":"object", - "properties":{ - "instanceType":{ - "description":"Gets the Instance type.", - "type":"string", - "readOnly":true - } - }, - "discriminator":"instanceType" - }, - "SolutionDetails":{ - "description":"Class representing the details of the solution.", - "type":"object", - "properties":{ - "groupCount":{ - "format":"int32", - "description":"Gets or sets the count of groups reported by the solution.", - "type":"integer" - }, - "assessmentCount":{ - "format":"int32", - "description":"Gets or sets the count of assessments reported by the solution.", - "type":"integer" - }, - "extendedDetails":{ - "description":"Gets or sets the extended details reported by the solution.", - "type":"object", - "additionalProperties":{ - "type":"string" - } - } - } - }, - "SolutionsCollection":{ - "description":"Collection of solutions.", - "type":"object", - "properties":{ - "value":{ - "description":"Gets or sets the list of solutions.", - "type":"array", - "items":{ - "$ref":"#/definitions/Solution" - } - }, - "nextLink":{ - "description":"Gets or sets the value of next link.", - "type":"string" - } - } - }, - "SolutionConfig":{ - "description":"Class representing the config for the solution in the migrate project.", - "type":"object", - "properties":{ - "publisherSasUri":{ - "description":"Gets or sets the publisher sas uri for the solution.", - "type":"string" - } - } - }, - "ServersProjectSummary":{ - "description":"Class representing the servers project summary.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/ProjectSummary" - } - ], - "properties":{ - "discoveredCount":{ - "format":"int32", - "description":"Gets or sets the count of entities discovered.", - "type":"integer" - }, - "assessedCount":{ - "format":"int32", - "description":"Gets or sets the count of entities assessed.", - "type":"integer" - }, - "replicatingCount":{ - "format":"int32", - "description":"Gets or sets the count of entities being replicated.", - "type":"integer" - }, - "testMigratedCount":{ - "format":"int32", - "description":"Gets or sets the count of entities test migrated.", - "type":"integer" - }, - "migratedCount":{ - "format":"int32", - "description":"Gets or sets the count of entities migrated.", - "type":"integer" - } - }, - "x-ms-discriminator-value":"Servers" - }, - "DatabaseProjectSummary":{ - "description":"The database project summary class.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/ProjectSummary" - } - ], - "properties":{ - - }, - "x-ms-discriminator-value":"Databases" - }, - "ServersSolutionSummary":{ - "description":"Class representing the servers solution summary.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/SolutionSummary" - } - ], - "properties":{ - "discoveredCount":{ - "format":"int32", - "description":"Gets or sets the count of servers discovered.", - "type":"integer" - }, - "assessedCount":{ - "format":"int32", - "description":"Gets or sets the count of servers assessed.", - "type":"integer" - }, - "replicatingCount":{ - "format":"int32", - "description":"Gets or sets the count of servers being replicated.", - "type":"integer" - }, - "testMigratedCount":{ - "format":"int32", - "description":"Gets or sets the count of servers test migrated.", - "type":"integer" - }, - "migratedCount":{ - "format":"int32", - "description":"Gets or sets the count of servers migrated.", - "type":"integer" - } - }, - "x-ms-discriminator-value":"Servers" - }, - "DatabasesSolutionSummary":{ - "description":"Class representing the databases solution summary.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/SolutionSummary" - } - ], - "properties":{ - "databasesAssessedCount":{ - "format":"int32", - "description":"Gets or sets the count of databases assessed.", - "type":"integer" - }, - "databaseInstancesAssessedCount":{ - "format":"int32", - "description":"Gets or sets the count of database instances assessed.", - "type":"integer" - }, - "migrationReadyCount":{ - "format":"int32", - "description":"Gets or sets the count of databases ready for migration.", - "type":"integer" - } - }, - "x-ms-discriminator-value":"Databases" - }, - "MachineMigrateEventProperties":{ - "description":"Properties of the machine error resource.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/MigrateEventProperties" - } - ], - "properties":{ - "machine":{ - "description":"Gets or sets the machine for which the error is being reported.", - "type":"string" - } - }, - "x-ms-discriminator-value":"Servers" - }, - "DatabaseMigrateEventProperties":{ - "description":"Properties of the database error resource.", - "type":"object", - "allOf":[ - { - "$ref":"#/definitions/MigrateEventProperties" - } - ], - "properties":{ - "database":{ - "description":"Gets or sets the database for which the error is being reported.", - "type":"string" - }, - "databaseInstanceId":{ - "description":"Gets or sets the database instance for which the error is being reported.", - "type":"string" - } - }, - "x-ms-discriminator-value":"Databases" - }, - "OperationResultList":{ - "type":"object", - "description":"List of API operations.", - "properties":{ - "value":{ - "type":"array", - "description":"List of operations.", - "items":{ - "$ref":"#/definitions/Operation" - } - } - } - }, - "Operation":{ - "type":"object", - "description":"A REST API operation supported by the provider.", - "properties":{ - "name":{ - "type":"string", - "description":"Name of the operation.", - "readOnly":true - }, - "display":{ - "description":"Displayable properties of the operation.", - "$ref":"#/definitions/OperationDisplay" - }, - "origin":{ - "type":"string", - "description":"Origin of the operation.", - "readOnly":true - } - } - }, - "OperationDisplay":{ - "type":"object", - "description":"Displayable properties of the operation.", - "readOnly":true, - "properties":{ - "provider":{ - "type":"string", - "description":"Provider of the operation.", - "readOnly":true - }, - "resource":{ - "type":"string", - "description":"Resource operated on by the operation.", - "readOnly":true - }, - "operation":{ - "type":"string", - "description":"Operation Type.", - "readOnly":true - }, - "description":{ - "type":"string", - "description":"Description of the operation.", - "readOnly":true - } - } + "type": "string" + } + }, + "summary": { + "description": "Gets the summary of the migrate project.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ProjectSummary" + }, + "readOnly": true + }, + "lastSummaryRefreshedTime": { + "format": "date-time", + "description": "Gets the last time the project summary was refreshed.", + "type": "string", + "readOnly": true + }, + "refreshSummaryState": { + "description": "Gets the refresh summary state.", + "enum": [ + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type": "string", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ], + "description": "Provisioning state of the migrate project.", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "ProjectSummary": { + "description": "The project summary class.", + "type": "object", + "properties": { + "instanceType": { + "description": "Gets the Instance type.", + "type": "string", + "readOnly": true + }, + "refreshSummaryState": { + "description": "Gets or sets the state of refresh summary.", + "enum": [ + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type": "string" + }, + "lastSummaryRefreshedTime": { + "format": "date-time", + "description": "Gets or sets the time when summary was last refreshed.", + "type": "string" + }, + "extendedSummary": { + "description": "Gets or sets the extended summary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "discriminator": "instanceType" + }, + "RegisterToolInput": { + "description": "Class representing the register tool input.", + "type": "object", + "properties": { + "tool": { + "description": "Gets or sets the tool to be registered.", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ], + "type": "string" + } + } + }, + "RegistrationResult": { + "description": "Class representing the registration status of a tool with the migrate project.", + "type": "object", + "properties": { + "isRegistered": { + "description": "Gets or sets a value indicating whether the tool is registered or not.", + "type": "boolean" + } + } + }, + "RefreshSummaryResult": { + "description": "Class representing the refresh summary status of the migrate project.", + "type": "object", + "properties": { + "isRefreshed": { + "description": "Gets or sets a value indicating whether the migrate project summary is refreshed.", + "type": "boolean" + } + } + }, + "RefreshSummaryInput": { + "description": "Class representing the refresh summary input.", + "type": "object", + "properties": { + "goal": { + "description": "Gets or sets the goal for which summary needs to be refreshed.", + "enum": [ + "Servers", + "Databases" + ], + "type": "string" + } + } + }, + "Solution": { + "description": "Solution REST Resource.", + "x-ms-azure-resource": true, + "type": "object", + "properties": { + "id": { + "description": "Gets the relative URL to get to this REST resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets the name of this REST resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets the type of this REST resource.", + "type": "string", + "readOnly": true + }, + "etag": { + "description": "Gets or sets the ETAG for optimistic concurrency control.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SolutionProperties", + "description": "Gets or sets the properties of the solution." + } + } + }, + "SolutionProperties": { + "description": "Class for solution properties.", + "type": "object", + "properties": { + "tool": { + "description": "Gets or sets the tool being used in the solution.", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ], + "type": "string" + }, + "purpose": { + "description": "Gets or sets the purpose of the solution.", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ], + "type": "string" + }, + "goal": { + "description": "Gets or sets the goal of the solution.", + "enum": [ + "Servers", + "Databases" + ], + "type": "string" + }, + "status": { + "description": "Gets or sets the current status of the solution.", + "enum": [ + "Inactive", + "Active" + ], + "type": "string" + }, + "cleanupState": { + "description": "Gets or sets the cleanup state of the solution.", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ], + "type": "string" + }, + "summary": { + "$ref": "#/definitions/SolutionSummary", + "description": "Gets or sets the summary of the solution." + }, + "details": { + "$ref": "#/definitions/SolutionDetails", + "description": "Gets or sets the details of the solution." + } + } + }, + "SolutionSummary": { + "description": "The solution summary class.", + "type": "object", + "properties": { + "instanceType": { + "description": "Gets the Instance type.", + "type": "string", + "readOnly": true + } + }, + "discriminator": "instanceType" + }, + "SolutionDetails": { + "description": "Class representing the details of the solution.", + "type": "object", + "properties": { + "groupCount": { + "format": "int32", + "description": "Gets or sets the count of groups reported by the solution.", + "type": "integer" + }, + "assessmentCount": { + "format": "int32", + "description": "Gets or sets the count of assessments reported by the solution.", + "type": "integer" + }, + "extendedDetails": { + "description": "Gets or sets the extended details reported by the solution.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "SolutionsCollection": { + "description": "Collection of solutions.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of solutions.", + "type": "array", + "items": { + "$ref": "#/definitions/Solution" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "SolutionConfig": { + "description": "Class representing the config for the solution in the migrate project.", + "type": "object", + "properties": { + "publisherSasUri": { + "description": "Gets or sets the publisher sas uri for the solution.", + "type": "string" + } + } + }, + "ServersProjectSummary": { + "description": "Class representing the servers project summary.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProjectSummary" + } + ], + "properties": { + "discoveredCount": { + "format": "int32", + "description": "Gets or sets the count of entities discovered.", + "type": "integer" + }, + "assessedCount": { + "format": "int32", + "description": "Gets or sets the count of entities assessed.", + "type": "integer" + }, + "replicatingCount": { + "format": "int32", + "description": "Gets or sets the count of entities being replicated.", + "type": "integer" + }, + "testMigratedCount": { + "format": "int32", + "description": "Gets or sets the count of entities test migrated.", + "type": "integer" + }, + "migratedCount": { + "format": "int32", + "description": "Gets or sets the count of entities migrated.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Servers" + }, + "DatabaseProjectSummary": { + "description": "The database project summary class.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProjectSummary" + } + ], + "properties": {}, + "x-ms-discriminator-value": "Databases" + }, + "ServersSolutionSummary": { + "description": "Class representing the servers solution summary.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SolutionSummary" + } + ], + "properties": { + "discoveredCount": { + "format": "int32", + "description": "Gets or sets the count of servers discovered.", + "type": "integer" + }, + "assessedCount": { + "format": "int32", + "description": "Gets or sets the count of servers assessed.", + "type": "integer" + }, + "replicatingCount": { + "format": "int32", + "description": "Gets or sets the count of servers being replicated.", + "type": "integer" + }, + "testMigratedCount": { + "format": "int32", + "description": "Gets or sets the count of servers test migrated.", + "type": "integer" + }, + "migratedCount": { + "format": "int32", + "description": "Gets or sets the count of servers migrated.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Servers" + }, + "DatabasesSolutionSummary": { + "description": "Class representing the databases solution summary.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SolutionSummary" + } + ], + "properties": { + "databasesAssessedCount": { + "format": "int32", + "description": "Gets or sets the count of databases assessed.", + "type": "integer" + }, + "databaseInstancesAssessedCount": { + "format": "int32", + "description": "Gets or sets the count of database instances assessed.", + "type": "integer" + }, + "migrationReadyCount": { + "format": "int32", + "description": "Gets or sets the count of databases ready for migration.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Databases" + }, + "MachineMigrateEventProperties": { + "description": "Properties of the machine error resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MigrateEventProperties" + } + ], + "properties": { + "machine": { + "description": "Gets or sets the machine for which the error is being reported.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Servers" + }, + "DatabaseMigrateEventProperties": { + "description": "Properties of the database error resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MigrateEventProperties" + } + ], + "properties": { + "database": { + "description": "Gets or sets the database for which the error is being reported.", + "type": "string" + }, + "databaseInstanceId": { + "description": "Gets or sets the database instance for which the error is being reported.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Databases" + }, + "OperationResultList": { + "type": "object", + "description": "List of API operations.", + "properties": { + "value": { + "type": "array", + "description": "List of operations.", + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "type": "object", + "description": "A REST API operation supported by the provider.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation.", + "readOnly": true + }, + "display": { + "description": "Displayable properties of the operation.", + "$ref": "#/definitions/OperationDisplay" + }, + "origin": { + "type": "string", + "description": "Origin of the operation.", + "readOnly": true + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Displayable properties of the operation.", + "readOnly": true, + "properties": { + "provider": { + "type": "string", + "description": "Provider of the operation.", + "readOnly": true + }, + "resource": { + "type": "string", + "description": "Resource operated on by the operation.", + "readOnly": true + }, + "operation": { + "type": "string", + "description": "Operation Type.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the operation.", + "readOnly": true + } } - } -} \ No newline at end of file + } + } +} From 568b944dd2b19b35b7c06f917d0166c046a85851 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 11 Jul 2019 14:36:23 -0400 Subject: [PATCH 259/495] chore: jsonfmt resources (#6555) --- .../2019-01-01/examples/createOrUpdatePolicyDefinition.json | 2 +- .../createOrUpdatePolicyDefinitionAtManagementGroup.json | 2 +- .../2019-01-01/examples/createOrUpdatePolicySetDefinition.json | 2 +- .../createOrUpdatePolicySetDefinitionAtManagementGroup.json | 2 +- .../stable/2019-01-01/examples/createPolicyAssignmentById.json | 2 +- .../examples/createPolicyAssignmentWithIdentityById.json | 2 +- .../stable/2019-01-01/examples/deletePolicyAssignmentById.json | 2 +- .../stable/2019-01-01/examples/deletePolicyDefinition.json | 2 +- .../examples/deletePolicyDefinitionAtManagementGroup.json | 2 +- .../stable/2019-01-01/examples/deletePolicySetDefinition.json | 2 +- .../examples/deletePolicySetDefinitionAtManagementGroup.json | 2 +- .../2019-01-01/examples/getBuiltInPolicySetDefinition.json | 2 +- .../stable/2019-01-01/examples/getBuiltinPolicyDefinition.json | 2 +- .../stable/2019-01-01/examples/getPolicyAssignmentById.json | 2 +- .../examples/getPolicyAssignmentWithIdentityById.json | 2 +- .../stable/2019-01-01/examples/getPolicyDefinition.json | 2 +- .../examples/getPolicyDefinitionAtManagementGroup.json | 2 +- .../stable/2019-01-01/examples/getPolicySetDefinition.json | 2 +- .../examples/getPolicySetDefinitionAtManagementGroup.json | 2 +- .../2019-01-01/examples/listBuiltInPolicySetDefinitions.json | 2 +- .../stable/2019-01-01/examples/listPolicySetDefinitions.json | 2 +- .../examples/listPolicySetDefinitionsByManagementGroup.json | 2 +- .../stable/2019-01-01/policySetDefinitions.json | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json index c2a7b880bc5d..047fd516cfff 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json index f4bc856717a9..9368456997b6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json index b5174025680d..31dc9142a8ed 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json index e6daf2ec4699..b12e4852bd23 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json index 87fecdfbf5d0..cb9115bef3bb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json index 7b26a0d67855..e57b63cb6599 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json index 251648431871..aec493621919 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json @@ -33,4 +33,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json index 6a7e5c5c0465..d0cd8d8064bb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json index 7c95802d22fe..1fe810c65883 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json index fe70418a0b32..7109b0b193a3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json index 677484c2dfe8..89b7768950b4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json @@ -12,4 +12,4 @@ "headers": {} } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json index 85a23db23932..09b648f1de57 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json index 01c5de6f7d92..6b4f2a4dbce7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json index aeaebfe3afda..4017806e47d7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json index 0baa72843394..2da901bbb7e4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json index 6d6fd1c090eb..ecfe6c469546 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json index ff6b305bf371..b28cf90e1b14 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json index 553dd4cb277f..509f365b9a34 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json index cafb5de46175..59e995768fb4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json index df55d2ee47b4..8372fbca38dc 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json index 2aae08b7f8b5..9313bba072ae 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json index d40ffc6af0ee..c5acef2103a1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json index bc6cb771467a..9b241568ede4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json @@ -622,4 +622,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +} From b4e0f28aeda2f7a0908ac096c7cb4c8598eef66b Mon Sep 17 00:00:00 2001 From: tarosler <52041458+tarosler@users.noreply.github.com> Date: Thu, 11 Jul 2019 21:49:53 +0300 Subject: [PATCH 260/495] Add subscription scope to assessment metadata API (#6445) --- .../assessmentsMetadata.json | 358 ++++++++++++++++++ .../GetAssessmentsMetadata_example.json | 26 ++ ...essmentsMetadata_subscription_example.json | 27 ++ .../ListAssessmentsMetadata_example.json | 52 +++ ...essmentsMetadata_subscription_example.json | 53 +++ .../security/resource-manager/readme.md | 3 + 6 files changed, 519 insertions(+) create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json new file mode 100644 index 000000000000..ebb8b15997ce --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json @@ -0,0 +1,358 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2019-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Security/assessmentsMetadata": { + "get": { + "x-ms-examples": { + "List security assessment metadata": { + "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json" + } + }, + "tags": [ + "Assessments Metadata" + ], + "description": "Get metadata information on all assessment types", + "operationId": "AssessmentsMetadata_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecurityAssessmentMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Security/assessmentsMetadata/{assessmentsMetadataName}": { + "get": { + "x-ms-examples": { + "Get security assessment metadata": { + "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json" + } + }, + "tags": [ + "Assessments Metadata" + ], + "description": "Get metadata information on an assessment type", + "operationId": "AssessmentsMetadata_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/AssessmentsMetadataName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecurityAssessmentMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentsMetadata": { + "get": { + "x-ms-examples": { + "List security assessment metadata for subscription": { + "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json" + } + }, + "tags": [ + "Assessments Metadata" + ], + "description": "Get metadata information on all assessment types in a specific subscription", + "operationId": "AssessmentsMetadataSubscription_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecurityAssessmentMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentsMetadata/{assessmentsMetadataName}": { + "get": { + "x-ms-examples": { + "Get security assessment metadata for subscription": { + "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json" + } + }, + "tags": [ + "Assessments Metadata" + ], + "description": "Get metadata information on an assessment type in a specific subscription", + "operationId": "AssessmentsMetadataSubscription_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/AssessmentsMetadataName" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SecurityAssessmentMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "SecurityAssessmentMetadataList": { + "type": "object", + "description": "List of security assessment metadata", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SecurityAssessmentMetadata" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "SecurityAssessmentMetadata": { + "type": "object", + "description": "Security assessment metadata", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecurityAssessmentMetadataProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ] + }, + "SecurityAssessmentMetadataProperties": { + "type": "object", + "description": "Describes properties of an assessment metadata.", + "properties": { + "displayName": { + "readOnly": true, + "type": "string", + "description": "User friendly display name of the assessment" + }, + "policyDefinitionId": { + "readOnly": true, + "type": "string", + "description": "Azure resource ID of the policy definition that turns this assessment calculation on" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Human readable description of the assessment" + }, + "remediationDescription": { + "readOnly": true, + "type": "string", + "description": "Human readable description of what you should do to mitigate this security issue" + }, + "category": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "description": "The category of resource that is at risk when the assessment is unhealthy", + "enum": [ + "Compute", + "Network", + "Data", + "IdentityAndAccess", + "IoT" + ], + "x-ms-enum": { + "name": "category", + "modelAsString": true, + "values": [ + { + "value": "Compute" + }, + { + "value": "Network" + }, + { + "value": "Data" + }, + { + "value": "IdentityAndAccess" + }, + { + "value": "IoT" + } + ] + } + } + }, + "secureScoreWeight": { + "readOnly": true, + "type": "integer", + "description": "Weight for the security score calculation. the higher this number, this severity of this assessment is higher" + }, + "requiredPricingBundle": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "description": "The required Azure Security Center pricing bundle name. One of the bundles must be Standard. Empty list is a free assessment.", + "enum": [ + "VirtualMachines", + "SqlServers", + "AppServices", + "StorageAccounts" + ], + "x-ms-enum": { + "name": "requiredPricingBundle", + "modelAsString": true, + "values": [ + { + "value": "VirtualMachines" + }, + { + "value": "SqlServers" + }, + { + "value": "AppServices" + }, + { + "value": "StorageAccounts" + } + ] + } + } + }, + "preview": { + "readOnly": true, + "type": "boolean", + "description": "True if this assessment is in preview release status" + }, + "assessmentType": { + "readOnly": true, + "type": "string", + "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition", + "enum": [ + "BuiltIn", + "Custom" + ], + "x-ms-enum": { + "name": "assessmentType", + "modelAsString": true, + "values": [ + { + "value": "BuiltIn" + }, + { + "value": "Custom" + } + ] + } + } + } + } + }, + "parameters": { + "AssessmentsMetadataName": { + "name": "assessmentsMetadataName", + "in": "path", + "required": true, + "type": "string", + "description": "The Assessment Key - Unique key for the assessment type", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json new file mode 100644 index 000000000000..f3d3156b17a0 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "assessmentsMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", + "name": "21300918-b2e3-0346-785f-c77ff57d243b", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Install endpoint protection solution on virtual machine scale sets", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", + "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", + "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", + "category": [ + "Compute" + ], + "secureScoreWeight": 15, + "assessmentType": "Custom" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json new file mode 100644 index 000000000000..e7e6e70b96d9 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e", + "assessmentsMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", + "name": "21300918-b2e3-0346-785f-c77ff57d243b", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Install endpoint protection solution on virtual machine scale sets", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", + "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", + "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", + "category": [ + "Compute" + ], + "secureScoreWeight": 15, + "assessmentType": "Custom" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json new file mode 100644 index 000000000000..4f4581798203 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", + "name": "21300918-b2e3-0346-785f-c77ff57d243b", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Install endpoint protection solution on virtual machine scale sets", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", + "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", + "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", + "category": [ + "Compute" + ], + "requiredPricingBundle": [ + "VirtualMachines" + ], + "secureScoreWeight": 15, + "assessmentType": "BuiltIn" + } + }, + { + "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe", + "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Close management ports on your virtual machines", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917", + "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.", + "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'", + "category": [ + "Networking" + ], + "requiredPricingBundle": [ + "VirtualMachines" + ], + "secureScoreWeight": 10, + "preview": true, + "assessmentType": "Custom" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json new file mode 100644 index 000000000000..46f77128133c --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", + "name": "21300918-b2e3-0346-785f-c77ff57d243b", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Install endpoint protection solution on virtual machine scale sets", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", + "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", + "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", + "category": [ + "Compute" + ], + "requiredPricingBundle": [ + "VirtualMachines" + ], + "secureScoreWeight": 15, + "assessmentType": "BuiltIn" + } + }, + { + "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe", + "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe", + "type": "Microsoft.Security/assessmentMetadata", + "properties": { + "displayName": "Close management ports on your virtual machines", + "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917", + "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.", + "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'", + "category": [ + "Networking" + ], + "requiredPricingBundle": [ + "VirtualMachines" + ], + "secureScoreWeight": 10, + "preview": true, + "assessmentType": "Custom" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 303bd7cfcfac..81519cad31ea 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -52,6 +52,7 @@ These settings apply only when `--tag=package-composite-v1` is specified on the ```yaml $(tag) == 'package-composite-v1' input-file: - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/preview/2017-08-01-preview/pricings.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json @@ -84,6 +85,7 @@ These settings apply only when `--tag=package-composite-v2` is specified on the ```yaml $(tag) == 'package-composite-v2' input-file: - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/stable/2018-06-01/pricings.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json @@ -134,6 +136,7 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json # Needed when there is more than one input file From a65ac7b5ea9df3f79a47a083d5241e411b9d9a69 Mon Sep 17 00:00:00 2001 From: Riley McKenna Date: Thu, 11 Jul 2019 14:24:59 -0700 Subject: [PATCH 261/495] Adding new property to Peering: connection identifier. (#6566) * Adding ew Api which adds a connection identifier. This is a unique hash for each connection so we can determine when a connection is deleted or if it is updated. * added 06-01 to readme * added location to list Legacy example * Updated Models * Update readme.typescript.md --- .../examples/CreateDirectPeering.json | 170 ++ .../examples/CreateExchangePeering.json | 165 ++ .../examples/CreatePeerAsn.json | 66 + .../examples/DeletePeerAsn.json | 11 + .../examples/DeletePeering.json | 12 + .../examples/GetPeerAsn.json | 30 + .../examples/GetPeering.json | 68 + .../examples/ListDirectPeeringLocations.json | 78 + .../ListExchangePeeringLocations.json | 73 + .../examples/ListLegacyPeerings.json | 70 + .../examples/ListPeerAsnsBySubscription.json | 33 + .../examples/ListPeeringOperations.json | 103 ++ .../examples/ListPeeringsByResourceGroup.json | 71 + .../examples/ListPeeringsBySubscription.json | 70 + .../examples/UpdatePeeringTags.json | 78 + .../preview/2019-06-01-preview/peering.json | 1449 +++++++++++++++++ .../peering/resource-manager/readme.md | 24 +- .../resource-manager/readme.typescript.md | 2 +- 18 files changed, 2565 insertions(+), 8 deletions(-) create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json new file mode 100644 index 000000000000..7c4020db324c --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-06-01-preview", + "peering": { + "sku": { + "name": "Basic_Direct_Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Direct_Free", + "tier": "Basic", + "family": "Direct", + "size": "Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + }, + "201": { + "body": { + "sku": { + "name": "Basic_Direct_Free", + "tier": "Basic", + "family": "Direct", + "size": "Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 0, + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 0, + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json new file mode 100644 index 000000000000..0b7c7f1cef8b --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-06-01-preview", + "peering": { + "sku": { + "name": "Basic_Exchange_Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "bgpSession": { + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "bgpSession": { + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + }, + "201": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json new file mode 100644 index 000000000000..7b3ffa304c20 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-06-01-preview", + "peerAsn": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Pending" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + }, + "201": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Pending" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json new file mode 100644 index 000000000000..b6bab7b628e6 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json new file mode 100644 index 000000000000..fe4d0f4c9c5b --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json new file mode 100644 index 000000000000..74f8aabc18c9 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Approved" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json new file mode 100644 index 000000000000..ad8858f73f1a --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json new file mode 100644 index 000000000000..1d7cbbbc763b --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Direct", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Direct", + "properties": { + "direct": { + "peeringFacilities": [ + { + "address": "address1", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + }, + { + "address": "address3", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + } + ], + "bandwidthOffers": [ + { + "offerName": "10Gbps", + "valueInMbps": 10000 + }, + { + "offerName": "100Gbps", + "valueInMbps": 100000 + } + ] + }, + "peeringLocation": "peeringLocation1", + "country": "country1" + }, + "name": "peeringLocation1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1", + "type": "Microsoft.Peering/peeringLocations" + }, + { + "kind": "Direct", + "properties": { + "direct": { + "peeringFacilities": [ + { + "address": "address2", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + } + ], + "bandwidthOffers": [ + { + "offerName": "10Gbps", + "valueInMbps": 10000 + }, + { + "offerName": "100Gbps", + "valueInMbps": 100000 + } + ] + }, + "peeringLocation": "peeringLocation2", + "country": "country2" + }, + "name": "peeringLocation2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2", + "type": "Microsoft.Peering/peeringLocations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json new file mode 100644 index 000000000000..1d944899490a --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Exchange", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Exchange", + "properties": { + "exchange": { + "peeringFacilities": [ + { + "exchangeName": "name1", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.131.1", + "microsoftIPv6Address": "fd00::1:1", + "facilityIPv4Prefix": "192.168.128.0/17", + "facilityIPv6Prefix": "fd00::1000:0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + }, + { + "exchangeName": "name3", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.2.2", + "microsoftIPv6Address": "fd00::2", + "facilityIPv4Prefix": "192.168.0.0/17", + "facilityIPv6Prefix": "fd00::0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + } + ] + }, + "peeringLocation": "peeringLocation1", + "country": "country1" + }, + "name": "peeringLocation1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1", + "type": "Microsoft.Peering/peeringLocations" + }, + { + "kind": "Exchange", + "properties": { + "exchange": { + "peeringFacilities": [ + { + "exchangeName": "name2", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.2.1", + "microsoftIPv6Address": "fd00::2", + "facilityIPv4Prefix": "192.168.0.0/16", + "facilityIPv6Prefix": "fd00::0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + } + ] + }, + "peeringLocation": "peeringLocation2", + "country": "country2" + }, + "name": "peeringLocation2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2", + "type": "Microsoft.Peering/peeringLocations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json new file mode 100644 index 000000000000..2c58ae19ac74 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Exchange", + "peeringLocation": "peeringLocation0", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + } + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + } + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "centralus", + "name": "peeringName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json new file mode 100644 index 000000000000..3a59b42d4836 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Approved" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json new file mode 100644 index 000000000000..909e2b77f9c0 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Peering/register/action", + "display": { + "provider": "Microsoft.Peering", + "resource": "Peering Resource Provider", + "operation": "Registers the Peering Resource Provider", + "description": "Registers the subscription for the Peering Resource Provider and enables the creation of peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Write PeerAsn", + "description": "Write any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Read PeerAsn", + "description": "Read any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Delete PeerAsn", + "description": "Delete any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringLocations/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringLocations", + "operation": "Read PeeringLocation", + "description": "Read any peeringLocations" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/legacyPeerings/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "legacyPeerings", + "operation": "Read LegacyPeering", + "description": "Read any legacyPeerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Write Peering", + "description": "Write any peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Read Peering", + "description": "Read any peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Delete Peering", + "description": "Delete any peerings" + }, + "isDataAction": false + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json new file mode 100644 index 000000000000..59bea89c05f9 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json new file mode 100644 index 000000000000..93b2e17c584f --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json new file mode 100644 index 000000000000..2d39e3e1658b --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-06-01-preview", + "tags": { + "tags": { + "tag0": "value0", + "tag1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "tags": { + "tag0": "value0", + "tag1": "value1" + }, + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json new file mode 100644 index 000000000000..8b2e218c8bcc --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json @@ -0,0 +1,1449 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-01-preview", + "title": "PeeringManagementClient", + "description": "APIs to manage Peering resources through the Azure Resource Manager." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/legacyPeerings": { + "get": { + "tags": [ + "LegacyPeerings" + ], + "description": "Lists all of the legacy peerings under the given subscription matching the specified kind and location.", + "operationId": "LegacyPeerings_List", + "parameters": [ + { + "name": "peeringLocation", + "in": "query", + "description": "The location of the peering.", + "required": true, + "type": "string" + }, + { + "name": "kind", + "in": "query", + "description": "The kind of the peering.", + "required": true, + "type": "string", + "enum": [ + "Direct", + "Exchange" + ] + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List legacy peerings": { + "$ref": "./examples/ListLegacyPeerings.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Peering/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available API operations for peering resources.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering operations": { + "$ref": "./examples/ListPeeringOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}": { + "get": { + "tags": [ + "PeerAsns" + ], + "description": "Gets the peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_Get", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a peer ASN": { + "$ref": "./examples/GetPeerAsn.json" + } + } + }, + "put": { + "tags": [ + "PeerAsns" + ], + "description": "Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_CreateOrUpdate", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "name": "peerAsn", + "in": "body", + "description": "The peer ASN.", + "required": true, + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a peer ASN": { + "$ref": "./examples/CreatePeerAsn.json" + } + } + }, + "delete": { + "tags": [ + "PeerAsns" + ], + "description": "Deletes an existing peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_Delete", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a peer ASN": { + "$ref": "./examples/DeletePeerAsn.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns": { + "get": { + "tags": [ + "PeerAsns" + ], + "description": "Lists all of the peer ASNs under the given subscription.", + "operationId": "PeerAsns_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsnListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peer ASNs in a subscription": { + "$ref": "./examples/ListPeerAsnsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations": { + "get": { + "tags": [ + "PeeringLocations" + ], + "description": "Lists all of the available peering locations for the specified kind of peering.", + "operationId": "PeeringLocations_List", + "parameters": [ + { + "name": "kind", + "in": "query", + "description": "The kind of the peering.", + "required": true, + "type": "string", + "enum": [ + "Direct", + "Exchange" + ] + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringLocationListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List direct peering locations": { + "$ref": "./examples/ListDirectPeeringLocations.json" + }, + "List exchange peering locations": { + "$ref": "./examples/ListExchangePeeringLocations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Gets an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Get", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a peering": { + "$ref": "./examples/GetPeering.json" + } + } + }, + "put": { + "tags": [ + "Peerings" + ], + "description": "Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_CreateOrUpdate", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "peering", + "in": "body", + "description": "The properties needed to create or update a peering.", + "required": true, + "schema": { + "$ref": "#/definitions/Peering" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a direct peering": { + "$ref": "./examples/CreateDirectPeering.json" + }, + "Create an exchange peering": { + "$ref": "./examples/CreateExchangePeering.json" + } + } + }, + "delete": { + "tags": [ + "Peerings" + ], + "description": "Deletes an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Delete", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a peering": { + "$ref": "./examples/DeletePeering.json" + } + } + }, + "patch": { + "tags": [ + "Peerings" + ], + "description": "Updates tags for a peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Update", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "tags", + "in": "body", + "description": "The resource tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceTags" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update peering tags": { + "$ref": "./examples/UpdatePeeringTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Lists all of the peerings under the given subscription and resource group.", + "operationId": "Peerings_ListByResourceGroup", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peerings in a resource group": { + "$ref": "./examples/ListPeeringsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerings": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Lists all of the peerings under the given subscription.", + "operationId": "Peerings_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peerings in a subscription": { + "$ref": "./examples/ListPeeringsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PeeringListResult": { + "description": "The paginated list of peerings.", + "type": "object", + "properties": { + "value": { + "description": "The list of peerings.", + "type": "array", + "items": { + "$ref": "#/definitions/Peering" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peerings.", + "type": "string" + } + } + }, + "Peering": { + "description": "Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.", + "required": [ + "sku", + "kind", + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "sku": { + "$ref": "#/definitions/PeeringSku", + "description": "The SKU that defines the tier and kind of the peering." + }, + "kind": { + "description": "The kind of the peering.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + }, + "properties": { + "$ref": "#/definitions/PeeringProperties", + "description": "The properties that define a peering.", + "x-ms-client-flatten": true + }, + "location": { + "description": "The location of the resource.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PeeringSku": { + "description": "The SKU that defines the tier and kind of the peering.", + "type": "object", + "properties": { + "name": { + "description": "The name of the peering SKU.", + "enum": [ + "Basic_Exchange_Free", + "Basic_Direct_Free", + "Premium_Direct_Free", + "Premium_Exchange_Metered" + ], + "type": "string", + "x-ms-enum": { + "name": "name", + "modelAsString": true + } + }, + "tier": { + "description": "The tier of the peering SKU.", + "enum": [ + "Basic", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "tier", + "modelAsString": true + } + }, + "family": { + "description": "The family of the peering SKU.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "family", + "modelAsString": true + } + }, + "size": { + "description": "The size of the peering SKU.", + "enum": [ + "Free", + "Metered", + "Unlimited" + ], + "type": "string", + "x-ms-enum": { + "name": "size", + "modelAsString": true + } + } + } + }, + "PeeringProperties": { + "description": "The properties that define connectivity to the Microsoft Cloud Edge.", + "type": "object", + "properties": { + "direct": { + "$ref": "#/definitions/PeeringPropertiesDirect", + "description": "The properties that define a direct peering." + }, + "exchange": { + "$ref": "#/definitions/PeeringPropertiesExchange", + "description": "The properties that define an exchange peering." + }, + "peeringLocation": { + "description": "The location of the peering.", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + } + } + }, + "PeeringPropertiesDirect": { + "description": "The properties that define a direct peering.", + "type": "object", + "properties": { + "connections": { + "description": "The set of connections that constitute a direct peering.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectConnection" + } + }, + "useForPeeringService": { + "description": "The flag that indicates whether or not the peering is used for peering service.", + "type": "boolean" + }, + "peerAsn": { + "$ref": "#/definitions/SubResource", + "description": "The reference of the peer ASN." + } + } + }, + "PeeringPropertiesExchange": { + "description": "The properties that define an exchange peering.", + "type": "object", + "properties": { + "connections": { + "description": "The set of connections that constitute an exchange peering.", + "type": "array", + "items": { + "$ref": "#/definitions/ExchangeConnection" + } + }, + "peerAsn": { + "$ref": "#/definitions/SubResource", + "description": "The reference of the peer ASN." + } + } + }, + "DirectConnection": { + "description": "The properties that define a direct connection.", + "type": "object", + "properties": { + "bandwidthInMbps": { + "format": "int32", + "description": "The bandwidth of the connection.", + "type": "integer" + }, + "provisionedBandwidthInMbps": { + "format": "int32", + "description": "The bandwidth that is actually provisioned.", + "type": "integer" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility at which the connection has to be set up.", + "type": "integer" + }, + "connectionState": { + "description": "The state of the connection.", + "enum": [ + "None", + "PendingApproval", + "Approved", + "ProvisioningStarted", + "ProvisioningFailed", + "ProvisioningCompleted", + "Validating", + "Active" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "connectionState", + "modelAsString": true + } + }, + "bgpSession": { + "$ref": "#/definitions/BgpSession", + "description": "The BGP session associated with the connection." + }, + "connectionIdentifier": { + "description": "The unique identifier (GUID) for the connection.", + "type": "string" + } + } + }, + "ErrorResponse": { + "description": "The error response that indicates why an operation has failed.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + } + } + }, + "Resource": { + "description": "The ARM resource class.", + "type": "object", + "properties": { + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The ID of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "SubResource": { + "description": "The sub resource.", + "type": "object", + "properties": { + "id": { + "description": "The identifier of the referenced resource.", + "type": "string" + } + } + }, + "ExchangeConnection": { + "description": "The properties that define an exchange connection.", + "type": "object", + "properties": { + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility at which the connection has to be set up.", + "type": "integer" + }, + "connectionState": { + "description": "The state of the connection.", + "enum": [ + "None", + "PendingApproval", + "Approved", + "ProvisioningStarted", + "ProvisioningFailed", + "ProvisioningCompleted", + "Validating", + "Active" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "connectionState", + "modelAsString": true + } + }, + "bgpSession": { + "$ref": "#/definitions/BgpSession", + "description": "The BGP session associated with the connection." + }, + "connectionIdentifier": { + "description": "The unique identifier (GUID) for the connection.", + "type": "string" + } + } + }, + "BgpSession": { + "description": "The properties that define a BGP session.", + "type": "object", + "properties": { + "sessionPrefixV4": { + "description": "The IPv4 prefix that contains both ends' IPv4 addresses.", + "type": "string" + }, + "sessionPrefixV6": { + "description": "The IPv6 prefix that contains both ends' IPv6 addresses.", + "type": "string" + }, + "microsoftSessionIPv4Address": { + "description": "The IPv4 session address on Microsoft's end.", + "type": "string", + "readOnly": true + }, + "microsoftSessionIPv6Address": { + "description": "The IPv6 session address on Microsoft's end.", + "type": "string", + "readOnly": true + }, + "peerSessionIPv4Address": { + "description": "The IPv4 session address on peer's end.", + "type": "string" + }, + "peerSessionIPv6Address": { + "description": "The IPv6 session address on peer's end.", + "type": "string" + }, + "sessionStateV4": { + "description": "The state of the IPv4 session.", + "enum": [ + "None", + "Idle", + "Connect", + "Active", + "OpenSent", + "OpenConfirm", + "OpenReceived", + "Established", + "PendingAdd", + "PendingUpdate", + "PendingRemove" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "sessionStateV4", + "modelAsString": true + } + }, + "sessionStateV6": { + "description": "The state of the IPv6 session.", + "enum": [ + "None", + "Idle", + "Connect", + "Active", + "OpenSent", + "OpenConfirm", + "OpenReceived", + "Established", + "PendingAdd", + "PendingUpdate", + "PendingRemove" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "sessionStateV6", + "modelAsString": true + } + }, + "maxPrefixesAdvertisedV4": { + "format": "int32", + "description": "The maximum number of prefixes advertised over the IPv4 session.", + "type": "integer" + }, + "maxPrefixesAdvertisedV6": { + "format": "int32", + "description": "The maximum number of prefixes advertised over the IPv6 session.", + "type": "integer" + }, + "md5AuthenticationKey": { + "description": "The MD5 authentication key of the session.", + "type": "string" + } + } + }, + "OperationListResult": { + "description": "The paginated list of peering API operations.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering API operations.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering API operations.", + "type": "string" + } + } + }, + "Operation": { + "description": "The peering API operation.", + "type": "object", + "properties": { + "name": { + "description": "The name of the operation.", + "type": "string", + "readOnly": true + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The information related to the operation.", + "readOnly": true + }, + "isDataAction": { + "description": "The flag that indicates whether the operation applies to data plane.", + "type": "boolean", + "readOnly": true + } + } + }, + "OperationDisplayInfo": { + "description": "The information related to the operation.", + "type": "object", + "properties": { + "provider": { + "description": "The name of the resource provider.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The name of the operation.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of the operation.", + "type": "string", + "readOnly": true + } + } + }, + "PeerAsn": { + "description": "The essential information related to the peer's ASN.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeerAsnProperties", + "description": "The properties that define a peer's ASN.", + "x-ms-client-flatten": true + } + } + }, + "PeerAsnProperties": { + "description": "The properties that define a peer's ASN.", + "type": "object", + "properties": { + "peerAsn": { + "format": "int32", + "description": "The Autonomous System Number (ASN) of the peer.", + "type": "integer" + }, + "peerContactInfo": { + "$ref": "#/definitions/ContactInfo", + "description": "The contact information of the peer." + }, + "peerName": { + "description": "The name of the peer.", + "type": "string" + }, + "validationState": { + "description": "The validation state of the ASN associated with the peer.", + "enum": [ + "None", + "Pending", + "Approved", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "validationState", + "modelAsString": true + } + } + } + }, + "ContactInfo": { + "description": "The contact information of the peer.", + "type": "object", + "properties": { + "emails": { + "description": "The list of email addresses.", + "type": "array", + "items": { + "type": "string" + } + }, + "phone": { + "description": "The list of contact numbers.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PeerAsnListResult": { + "description": "The paginated list of peer ASNs.", + "type": "object", + "properties": { + "value": { + "description": "The list of peer ASNs.", + "type": "array", + "items": { + "$ref": "#/definitions/PeerAsn" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peer ASNs.", + "type": "string" + } + } + }, + "PeeringLocationListResult": { + "description": "The paginated list of peering locations.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering locations.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringLocation" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering locations.", + "type": "string" + } + } + }, + "PeeringLocation": { + "description": "Peering location is where connectivity could be established to the Microsoft Cloud Edge.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "kind": { + "description": "The kind of peering that the peering location supports.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + }, + "properties": { + "$ref": "#/definitions/PeeringLocationProperties", + "description": "The properties that define a peering location.", + "x-ms-client-flatten": true + } + } + }, + "PeeringLocationProperties": { + "description": "The properties that define a peering location.", + "type": "object", + "properties": { + "direct": { + "$ref": "#/definitions/PeeringLocationPropertiesDirect", + "description": "The properties that define a direct peering location." + }, + "exchange": { + "$ref": "#/definitions/PeeringLocationPropertiesExchange", + "description": "The properties that define an exchange peering location." + }, + "peeringLocation": { + "description": "The name of the peering location.", + "type": "string" + }, + "country": { + "description": "The country in which the peering location exists.", + "type": "string" + }, + "azureRegion": { + "description": "The Azure region associated with the peering location.", + "type": "string" + } + } + }, + "PeeringLocationPropertiesDirect": { + "description": "The properties that define a direct peering location.", + "type": "object", + "properties": { + "peeringFacilities": { + "description": "The list of direct peering facilities at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectPeeringFacility" + } + }, + "bandwidthOffers": { + "description": "The list of bandwidth offers available at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringBandwidthOffer" + } + } + } + }, + "PeeringLocationPropertiesExchange": { + "description": "The properties that define an exchange peering location.", + "type": "object", + "properties": { + "peeringFacilities": { + "description": "The list of exchange peering facilities at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/ExchangePeeringFacility" + } + } + } + }, + "DirectPeeringFacility": { + "description": "The properties that define a direct peering facility.", + "type": "object", + "properties": { + "address": { + "description": "The address of the direct peering facility.", + "type": "string" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility.", + "type": "integer" + }, + "peeringDBFacilityLink": { + "description": "The PeeringDB.com URL of the facility.", + "type": "string" + } + } + }, + "PeeringBandwidthOffer": { + "description": "The properties that define a peering bandwidth offer.", + "type": "object", + "properties": { + "offerName": { + "description": "The name of the bandwidth offer.", + "type": "string" + }, + "valueInMbps": { + "format": "int32", + "description": "The value of the bandwidth offer in Mbps.", + "type": "integer" + } + } + }, + "ExchangePeeringFacility": { + "description": "The properties that define an exchange peering facility.", + "type": "object", + "properties": { + "exchangeName": { + "description": "The name of the exchange peering facility.", + "type": "string" + }, + "bandwidthInMbps": { + "format": "int32", + "description": "The bandwidth of the connection between Microsoft and the exchange peering facility.", + "type": "integer" + }, + "microsoftIPv4Address": { + "description": "The IPv4 address of Microsoft at the exchange peering facility.", + "type": "string" + }, + "microsoftIPv6Address": { + "description": "The IPv6 address of Microsoft at the exchange peering facility.", + "type": "string" + }, + "facilityIPv4Prefix": { + "description": "The IPv4 prefixes associated with the exchange peering facility.", + "type": "string" + }, + "facilityIPv6Prefix": { + "description": "The IPv6 prefixes associated with the exchange peering facility.", + "type": "string" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility.", + "type": "integer" + }, + "peeringDBFacilityLink": { + "description": "The PeeringDB.com URL of the facility.", + "type": "string" + } + } + }, + "ResourceTags": { + "description": "The resource tags.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the tags, a dictionary of descriptors arm object", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The Azure subscription ID.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The client API version.", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/peering/resource-manager/readme.md b/specification/peering/resource-manager/readme.md index 5b5e9606cd69..a3f75c794973 100644 --- a/specification/peering/resource-manager/readme.md +++ b/specification/peering/resource-manager/readme.md @@ -1,11 +1,9 @@ # Peering - + > see https://aka.ms/autorest This is the AutoRest configuration file for Peering. - - --- ## Getting Started To build the SDK for Peering, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: @@ -28,6 +26,11 @@ These are the global settings for the Peering API. openapi-type: arm tag: package-2019-03-01-preview ``` +or +``` yaml +openapi-type: arm +tag: package-2019-06-01-preview +``` ### Tag: package-2019-03-01-preview @@ -37,8 +40,17 @@ These settings apply only when `--tag=package-2019-03-01-preview` is specified o input-file: - Microsoft.Peering/preview/2019-03-01-preview/peering.json ``` -# Code Generation +### Tag: package-2019-06-01-preview + +These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-01-preview' +input-file: +- Microsoft.Peering/preview/2019-06-01-preview/peering.json +``` + +# Code Generation ## Swagger to SDK @@ -58,12 +70,10 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_peering'] ``` - ## C# See configuration in [readme.csharp.md](./readme.csharp.md) ## Go -See configuration in [readme.go.md](./readme.go.md) - +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/peering/resource-manager/readme.typescript.md b/specification/peering/resource-manager/readme.typescript.md index 71f9b8479b24..539f0bf8d32f 100644 --- a/specification/peering/resource-manager/readme.typescript.md +++ b/specification/peering/resource-manager/readme.typescript.md @@ -9,6 +9,6 @@ typescript: license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 package-name: "@azure/arm-peering" - output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-peering" + output-folder: "$(typescript-sdks-folder)/sdk/peering/arm-peering" generate-metadata: true ``` From 58da9ff10cae55d598812a2b6a50202682341d88 Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Thu, 11 Jul 2019 15:02:45 -0700 Subject: [PATCH 262/495] Update specificationRepositoryConfiguration.json (#6600) * Update specificationRepositoryConfiguration.json * Remove main_branch from azure-sdk-for-net --- specificationRepositoryConfiguration.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 602dafb9f062..5522d0adf250 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -1,10 +1,18 @@ { + "$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/specificationRepositoryConfiguration.schema.json", + "sdkAutomationBaseBranch": "sdkautomationmaster", "sdkRepositoryMappings": { - "azure-sdk-for-go": "Azure/azure-sdk-for-go", + "azure-sdk-for-go": { + "main_branch": "latest", + "mainRepository": "Azure/azure-sdk-for-go" + }, "azure-sdk-for-java": "Azure/azure-sdk-for-java", "azure-sdk-for-js": "Azure/azure-sdk-for-js", "azure-sdk-for-net": "Azure/azure-sdk-for-net", "azure-sdk-for-python": "Azure/azure-sdk-for-python", - "azure-sdk-for-ruby": "Azure/azure-sdk-for-ruby" + "azure-sdk-for-ruby": { + "main_branch": "latest", + "mainRepository": "Azure/azure-sdk-for-ruby" + } } } From 34476ea1b5f7a6f6ee0985eb071f3e76f30965a4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 11 Jul 2019 21:38:42 -0400 Subject: [PATCH 263/495] chore: jsonfmt compute (#6597) --- .../examples/CreateOrUpdateASimpleGalleryApplication.json | 2 +- .../CreateOrUpdateASimpleGalleryApplicationVersion.json | 2 +- .../stable/2019-03-01/examples/DeleteAGalleryApplication.json | 2 +- .../2019-03-01/examples/DeleteAGalleryApplicationVersion.json | 2 +- .../stable/2019-03-01/examples/GetAGalleryApplication.json | 2 +- .../2019-03-01/examples/GetAGalleryApplicationVersion.json | 2 +- .../GetAGalleryApplicationVersionWithReplicationStatus.json | 2 +- .../ListGalleryApplicationVersionsInAGalleryApplication.json | 4 ++-- .../examples/ListGalleryApplicationsInAGallery.json | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json index 9d589080a472..8354364631a0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json index 6e22f94147af..bf1184f95048 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json @@ -120,4 +120,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json index 067627f7c4ea..d5d4629a4917 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json index 053e53163ef4..7a1d3aec5113 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json @@ -12,4 +12,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json index 29f7ba5d018b..94e1cd7e7f8e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json index 549a2a5b1ccb..8b9c1fe5a139 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json index 66e53f7e6f32..12bfa07e8838 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json index 7b059ae6da39..4396c3195f78 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json @@ -39,8 +39,8 @@ } } ], - "nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" } } } -} \ No newline at end of file +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json index 95224c991df9..73500729155b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json @@ -21,8 +21,8 @@ "name": "myGalleryApplicationName" } ], - "nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" } } } -} \ No newline at end of file +} From d7cf232524599d8c30a10866d4560e9f61c251c2 Mon Sep 17 00:00:00 2001 From: hagba <48715560+hagba@users.noreply.github.com> Date: Fri, 12 Jul 2019 08:48:16 +0300 Subject: [PATCH 264/495] Adding resource definition for IoTSecuritySolutionsAnalytics (#6160) * Adding resource definition for IoTSecuritySolutionsAnalytics * Fix reference error * Add reference to iotSecuritySolutionsAnalytics.json * Fix Autorest and swagger errors * Remove paging from short responses * Fix spelling * Fix wording of description * Fix paging error * refix paging * add Lists support * Fix example syntax * fix schema warnings * fix schema * fix schema * fix alert required properties error * add properties level for assitional properties * Fix additional proprties issues * fix additional properties issues * remove required tag * Fix according to ARM comments * fix errors * fix recommendation type example * fix dismiss example * required property cannot be readonly * remove tags from examples * fix lists errors * remove location property * Fixed securitySolution patch swagger * fix according to ARMs comment * fix unhealthyDeviceCount property name * Fix syntax error * Update specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json Co-Authored-By: Nick Schonning * Move remediation steps from alerts to recommendations * Move remediation steps from alerts to recommendations * rename mostPrevalentDevices to mostPrevalentDeviceAlerts * rename mostPrevalentDevices to mostPrevalentDeviceAlerts * fix example * fix dismiss * add severity to prevalent lists * fix syntax * fix errors * fix enum * remove dependency --- .../UpdateIoTSecuritySolution_example.json | 14 +- ...nsSecurityAggregatedAlertList_example.json | 54 ++ ...utionsSecurityAggregatedAlert_example.json | 32 + ...olutionsSecurityAnalyticsList_example.json | 95 ++ ...itySolutionsSecurityAnalytics_example.json | 91 ++ ...onsSecurityRecommendationList_example.json | 50 + ...lutionsSecurityRecommendation_example.json | 30 + ...ecurityAggregatedAlertDismiss_example.json | 12 + .../iotSecuritySolutionAnalytics.json | 918 ++++++++++++++++++ .../iotSecuritySolutions.json | 7 +- .../security/resource-manager/readme.md | 2 + 11 files changed, 1295 insertions(+), 10 deletions(-) create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json index a016095ce467..fffff0a06849 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json @@ -8,12 +8,14 @@ "tags": { "foo": "bar" }, - "userDefinedResources": { - "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", - "querySubscriptions": [ - "075423e9-7d33-4166-8bdf-3920b04e3735" - ] - } + "properties":{ + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + } + } } }, "responses": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json new file mode 100644 index 000000000000..66faba0aed75 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Fail", + "alertDisplayName": "Failed Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.", + "count": 50, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Success", + "alertDisplayName": "Successful Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified followed by a succssful login. A Bruteforce attack on the device was Successfule", + "count": 600000, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json new file mode 100644 index 000000000000..2a470dac9458 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default", + "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Fail", + "alertDisplayName": "Failed Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.", + "count": 50, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json new file mode 100644 index 000000000000..85266644ae9c --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModelList", + "properties": { + "metrics": { + "high": 5, + "medium": 200, + "low": 102 + }, + "unhealthyDeviceCount": 1200, + "devicesMetrics": [ + { + "date": "2019-02-01T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 15, + "low": 70 + } + }, + { + "date": "2019-02-02T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 45, + "low": 65 + } + } + ], + "topAlertedDevices": [ + { + "deviceId": "id1", + "alertsCount": 200 + }, + { + "deviceId": "id2", + "alertsCount": 170 + }, + { + "deviceId": "id3", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceAlerts": [ + { + "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "alertDisplayName": "Custom Alert - execution of a process that is not allowed", + "reportedSeverity": "Medium", + "devicesCount": 170 + }, + { + "alertDisplayName": "Successful Bruteforce", + "reportedSeverity": "Low", + "devicesCount": 150 + } + ], + "mostPrevalentDeviceRecommendations": [ + { + "recommendationDisplayName": "Install the Azure Security of Things Agent", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module", + "reportedSeverity": "Low", + "devicesCount": 170 + }, + { + "recommendationDisplayName": "Same Authentication Credentials used by multiple devices", + "reportedSeverity": "Medium", + "devicesCount": 150 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json new file mode 100644 index 000000000000..b411e3de461c --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModel", + "properties": { + "metrics": { + "high": 5, + "medium": 200, + "low": 102 + }, + "unhealthyDeviceCount": 1200, + "devicesMetrics": [ + { + "date": "2019-02-01T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 15, + "low": 70 + } + }, + { + "date": "2019-02-02T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 45, + "low": 65 + } + } + ], + "topAlertedDevices": [ + { + "deviceId": "id1", + "alertsCount": 200 + }, + { + "deviceId": "id2", + "alertsCount": 170 + }, + { + "deviceId": "id3", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceAlerts": [ + { + "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range", + "reportedSeverity": "Low", + "alertsCount": 200 + }, + { + "alertDisplayName": "Custom Alert - execution of a process that is not allowed", + "reportedSeverity": "Medium", + "alertsCount": 170 + }, + { + "alertDisplayName": "Successful Bruteforce", + "reportedSeverity": "Low", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceRecommendations": [ + { + "recommendationDisplayName": "Install the Azure Security of Things Agent", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module", + "reportedSeverity": "Low", + "devicesCount": 170 + }, + { + "recommendationDisplayName": "Same Authentication Credentials used by multiple devices", + "reportedSeverity": "Medium", + "devicesCount": 150 + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json new file mode 100644 index 000000000000..15f594dfd3d5 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "OpenPortsOnDevice", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "healthyDevices": 10000, + "unhealthyDeviceCount": 200, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')" + } + }, + { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/TooLargeIPRange", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_InstallAgent", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "TooLargeIPRange", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allow IP filter rule source IP range is too large. Overly permissive rules can expose your IoT hub to malicious actors.", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "High", + "remediationSteps": "", + "healthyDevices": 130000, + "unhealthyDeviceCount": 1, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('TooLargeIPRange')" + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json new file mode 100644 index 000000000000..e5a0c36cd805 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default", + "aggregatedRecommendationName": "OpenPortsOnDevice" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "OpenPortsOnDevice", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "healthyDevices": 10000, + "unhealthyDeviceCount": 200, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')" + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json new file mode 100644 index 000000000000..310d0b4a3e41 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default", + "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02/dismiss" + }, + "responses": { + "200": {} + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json new file mode 100644 index 000000000000..5ea5f92423f4 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json @@ -0,0 +1,918 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2017-08-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalytics_GetAll", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalytics_GetDefault", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlerts_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "name": "$top", + "in": "query", + "description": "The number of results to retrieve.", + "required": false, + "type": "integer" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedAlertList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedAlertName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedAlert" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss": { + "post": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Dismiss", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedAlertName" + } + ], + "responses": { + "200": { + "description": "Dismissed" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsRecommendation_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedRecommendationName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsRecommendations_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "name": "$top", + "in": "query", + "description": "The number of results to retrieve.", + "required": false, + "type": "integer" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "IoTSeverityMetrics": { + "type": "object", + "description": "Severity metrics", + "properties": { + "high": { + "type": "integer", + "description": "count of high severity items" + }, + "medium": { + "type": "integer", + "description": "count of medium severity items" + }, + "low": { + "type": "integer", + "description": "count of low severity items" + } + } + }, + "IoTSecuritySolutionAnalyticsModel": { + "type": "object", + "description": "Security Analytics of a security solution", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution Aggregated Alert data", + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ] + }, + "IoTSecuritySolutionAnalyticsModelProperties": { + "description": "Security Analytics of a security solution properties", + "properties": { + "metrics": { + "type": "object", + "$ref": "#/definitions/IoTSeverityMetrics", + "description": "Security Analytics of a security solution", + "readOnly": true + }, + "unhealthyDeviceCount": { + "type": "integer", + "readOnly": true, + "description": "number of unhealthy devices" + }, + "devicesMetrics": { + "description": "The list of devices metrics by the aggregated date.", + "type": "array", + "readOnly": true, + "items": { + "properties": { + "date": { + "type": "string", + "format": "date-time", + "description": "the date of the metrics" + }, + "devicesMetrics": { + "type": "object", + "$ref": "#/definitions/IoTSeverityMetrics", + "description": "devices alerts count by severity." + } + } + } + }, + "topAlertedDevices": { + "description": "The list of top 3 devices with the most attacked.", + "type": "object", + "$ref": "#/definitions/IoTSecurityAlertedDevicesList" + }, + "mostPrevalentDeviceAlerts": { + "description": "The list of most prevalent 3 alerts.", + "type": "object", + "$ref": "#/definitions/IoTSecurityDeviceAlertsList" + }, + "mostPrevalentDeviceRecommendations": { + "description": "The list of most prevalent 3 recommendations.", + "type": "object", + "$ref": "#/definitions/IoTSecurityDeviceRecommendationsList" + } + } + }, + "IoTSecuritySolutionAnalyticsModelList": { + "description": "List of Security Analytics of a security solution", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Security Analytics of a security solution", + "items": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAggregatedAlertList": { + "description": "List of IoT aggregated security alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAggregatedAlert" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAggregatedRecommendationList": { + "description": "List of IoT aggregated security recommendations", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendation" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAlertedDevicesList": { + "description": "List of devices with the count of raised alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAlertedDevice" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityDeviceAlertsList": { + "description": "List of alerts with the count of raised alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of top alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityDeviceAlert" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityDeviceRecommendationsList": { + "description": "List of recommendations with the count of devices", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated recommendation data", + "items": { + "$ref": "#/definitions/IoTSecurityDeviceRecommendation" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAggregatedAlert": { + "type": "object", + "description": "Security Solution Aggregated Alert information", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution Aggregated Alert data", + "$ref": "#/definitions/IoTSecurityAggregatedAlertProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "#/definitions/TagsResource" + } + ] + }, + "IoTSecurityAggregatedAlertProperties": { + "type": "object", + "description": "Security Solution Aggregated Alert data", + "properties": { + "alertType": { + "readOnly": true, + "type": "string", + "description": "Name of the alert type" + }, + "alertDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the alert type" + }, + "aggregatedDateUtc": { + "readOnly": true, + "type": "string", + "format": "date", + "description": "The date the incidents were detected by the vendor" + }, + "vendorName": { + "readOnly": true, + "type": "string", + "description": "Name of the vendor that discovered the incident" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this alert" + }, + "remediationSteps": { + "readOnly": true, + "type": "string", + "description": "Recommended steps for remediation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Description of the incident and what it means" + }, + "count": { + "readOnly": true, + "type": "integer", + "description": "Occurrence number of the alert within the aggregated date" + }, + "effectedResourceType": { + "readOnly": true, + "type": "string", + "description": "Azure resource ID of the resource that got the alerts" + }, + "systemSource": { + "readOnly": true, + "type": "string", + "description": "The type of the alerted resource (Azure, Non-Azure)" + }, + "actionTaken": { + "readOnly": true, + "type": "string", + "description": "The action that was taken as a response to the alert (Active, Blocked etc.)" + }, + "logAnalyticsQuery": { + "readOnly": true, + "type": "string", + "description": "query in log analytics to get the list of affected devices/alerts" + } + } + }, + "IoTSecurityAggregatedRecommendation": { + "type": "object", + "description": "Security Solution Recommendation Information", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution data", + "$ref": "#/definitions/IoTSecurityAggregatedRecommendationProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "#/definitions/TagsResource" + } + ] + }, + "IoTSecurityAggregatedRecommendationProperties": { + "type": "object", + "description": "Security Solution Recommendation Information", + "properties": { + "recommendationName": { + "type": "string", + "description": "Name of the recommendation" + }, + "recommendationDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the recommendation type." + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Description of the incident and what it means" + }, + "recommendationTypeId": { + "description": "The recommendation-type GUID.", + "type": "string", + "readOnly": true + }, + "detectedBy": { + "readOnly": true, + "type": "string", + "description": "Name of the vendor that discovered the issue" + }, + "remediationSteps": { + "readOnly": true, + "type": "string", + "description": "Recommended steps for remediation" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this recommendation" + }, + "healthyDevices": { + "readOnly": true, + "type": "integer", + "description": "the number of the healthy devices within the solution" + }, + "unhealthyDeviceCount": { + "readOnly": true, + "type": "integer", + "description": "the number of the unhealthy devices within the solution" + }, + "logAnalyticsQuery": { + "readOnly": true, + "type": "string", + "description": "query in log analytics to get the list of affected devices/alerts" + } + } + }, + "IoTSecurityAlertedDevice": { + "type": "object", + "description": "Statistic information about the number of alerts per device during the last period", + "properties": { + "deviceId": { + "readOnly": true, + "type": "string", + "description": "Name of the alert type" + }, + + "alertsCount": { + "readOnly": true, + "type": "integer", + "description": "the number of alerts raised for this device" + } + } + }, + "IoTSecurityDeviceAlert": { + "type": "object", + "description": "Statistic information about the number of alerts per alert type during the last period", + "properties": { + "alertDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the alert" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this alert" + }, + + "alertsCount": { + "readOnly": true, + "type": "integer", + "description": "the number of alerts raised for this alert type" + } + } + }, + "IoTSecurityDeviceRecommendation": { + "type": "object", + "description": "Statistic information about the number of recommendations per recommendation type", + "properties": { + "recommendationDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the recommendation" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this recommendation" + }, + "devicesCount": { + "readOnly": true, + "type": "integer", + "description": "the number of device with this recommendation" + } + } + }, + "TagsResource": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags." + } + }, + "parameters": { + "SolutionName": { + "name": "solutionName", + "in": "path", + "required": true, + "description": "The solution manager name", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AggregatedAlertName": { + "name": "aggregatedAlertName", + "in": "path", + "required": true, + "description": "Identifier of the aggregated alert", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AggregatedRecommendationName": { + "name": "aggregatedRecommendationName", + "in": "path", + "required": true, + "description": "Identifier of the aggregated recommendation", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index 40ad2e834113..ffebf1ab83e5 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -482,7 +482,7 @@ "description": "The recommendation type.", "enum": [ "OpenPortsOnDevice", - "PermissiveFirewallPolicy ", + "PermissiveFirewallPolicy", "PermissiveFirewallRuleInput", "PermissiveFirewallRuleOut", "OperationSystemNotValid", @@ -492,7 +492,7 @@ "IdenticalAuthenticationCredentials", "DenyDefaultIpPolicy", "TooLargeIPRange", - "EnableDiagnosticsLog " + "EnableDiagnosticsLog" ], "x-ms-enum": { "name": "RecommendationType", @@ -585,7 +585,7 @@ "userDefinedResources": { "$ref": "#/definitions/UserDefinedResourcesProperties" }, - "RecommendationsConfiguration": { + "recommendationsConfiguration": { "$ref": "#/definitions/RecommendationConfigurationList" } }, @@ -629,7 +629,6 @@ "required": true, "description": "The security solution data", "x-ms-parameter-location": "method", - "type": "object", "schema": { "$ref": "#/definitions/UpdateIotSecuritySolutionData" } diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 81519cad31ea..5bbf118df5ee 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -135,6 +135,8 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json - Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json From 80bd59aa5166da3e4036765e0d88462a8027c24b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 12 Jul 2019 03:27:46 -0400 Subject: [PATCH 265/495] chore: jsonfmt peering (#6604) --- .../2019-06-01-preview/examples/CreateDirectPeering.json | 2 +- .../2019-06-01-preview/examples/CreateExchangePeering.json | 2 +- .../preview/2019-06-01-preview/examples/CreatePeerAsn.json | 2 +- .../preview/2019-06-01-preview/examples/DeletePeerAsn.json | 2 +- .../preview/2019-06-01-preview/examples/DeletePeering.json | 2 +- .../preview/2019-06-01-preview/examples/GetPeerAsn.json | 2 +- .../preview/2019-06-01-preview/examples/GetPeering.json | 2 +- .../2019-06-01-preview/examples/ListDirectPeeringLocations.json | 2 +- .../examples/ListExchangePeeringLocations.json | 2 +- .../preview/2019-06-01-preview/examples/ListLegacyPeerings.json | 2 +- .../2019-06-01-preview/examples/ListPeerAsnsBySubscription.json | 2 +- .../2019-06-01-preview/examples/ListPeeringOperations.json | 2 +- .../examples/ListPeeringsByResourceGroup.json | 2 +- .../2019-06-01-preview/examples/ListPeeringsBySubscription.json | 2 +- .../preview/2019-06-01-preview/examples/UpdatePeeringTags.json | 2 +- .../Microsoft.Peering/preview/2019-06-01-preview/peering.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json index 7c4020db324c..541126cc8329 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateDirectPeering.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json index 0b7c7f1cef8b..8f82135b9c1b 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreateExchangePeering.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json index 7b3ffa304c20..48aa730479ab 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/CreatePeerAsn.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json index b6bab7b628e6..6d732a96ec8f 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeerAsn.json @@ -8,4 +8,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json index fe4d0f4c9c5b..21e923d3cfdc 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/DeletePeering.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json index 74f8aabc18c9..fe560f4766cc 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeerAsn.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json index ad8858f73f1a..ee0f3722e4e2 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/GetPeering.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json index 1d7cbbbc763b..df8ab7b72089 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListDirectPeeringLocations.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json index 1d944899490a..e3c1063a2aba 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListExchangePeeringLocations.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json index 2c58ae19ac74..087dd18ffa3d 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListLegacyPeerings.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json index 3a59b42d4836..ae147c84929a 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeerAsnsBySubscription.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json index 909e2b77f9c0..b2f86d347168 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringOperations.json @@ -100,4 +100,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json index 59bea89c05f9..cf76086b7ef5 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsByResourceGroup.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json index 93b2e17c584f..a638b6905190 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/ListPeeringsBySubscription.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json index 2d39e3e1658b..4d72186e3131 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/examples/UpdatePeeringTags.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json index 8b2e218c8bcc..e2ca582168e9 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-06-01-preview/peering.json @@ -1446,4 +1446,4 @@ ] } ] -} \ No newline at end of file +} From 070fa08ec78936f7ce45b2b3299be331d6a37ce3 Mon Sep 17 00:00:00 2001 From: Yunge Zhu <37337818+yungezz@users.noreply.github.com> Date: Fri, 12 Jul 2019 10:05:57 -0700 Subject: [PATCH 266/495] Revert "Add subscription scope to assessment metadata API (#6445)" (#6609) This reverts commit b4e0f28aeda2f7a0908ac096c7cb4c8598eef66b. --- .../assessmentsMetadata.json | 358 ------------------ .../GetAssessmentsMetadata_example.json | 26 -- ...essmentsMetadata_subscription_example.json | 27 -- .../ListAssessmentsMetadata_example.json | 52 --- ...essmentsMetadata_subscription_example.json | 53 --- .../security/resource-manager/readme.md | 3 - 6 files changed, 519 deletions(-) delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json delete mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json deleted file mode 100644 index ebb8b15997ce..000000000000 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json +++ /dev/null @@ -1,358 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Center", - "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", - "version": "2019-01-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Security/assessmentsMetadata": { - "get": { - "x-ms-examples": { - "List security assessment metadata": { - "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json" - } - }, - "tags": [ - "Assessments Metadata" - ], - "description": "Get metadata information on all assessment types", - "operationId": "AssessmentsMetadata_List", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SecurityAssessmentMetadataList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Security/assessmentsMetadata/{assessmentsMetadataName}": { - "get": { - "x-ms-examples": { - "Get security assessment metadata": { - "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json" - } - }, - "tags": [ - "Assessments Metadata" - ], - "description": "Get metadata information on an assessment type", - "operationId": "AssessmentsMetadata_Get", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/AssessmentsMetadataName" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SecurityAssessmentMetadata" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentsMetadata": { - "get": { - "x-ms-examples": { - "List security assessment metadata for subscription": { - "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json" - } - }, - "tags": [ - "Assessments Metadata" - ], - "description": "Get metadata information on all assessment types in a specific subscription", - "operationId": "AssessmentsMetadataSubscription_List", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SecurityAssessmentMetadataList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentsMetadata/{assessmentsMetadataName}": { - "get": { - "x-ms-examples": { - "Get security assessment metadata for subscription": { - "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json" - } - }, - "tags": [ - "Assessments Metadata" - ], - "description": "Get metadata information on an assessment type in a specific subscription", - "operationId": "AssessmentsMetadataSubscription_Get", - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/AssessmentsMetadataName" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SecurityAssessmentMetadata" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "SecurityAssessmentMetadataList": { - "type": "object", - "description": "List of security assessment metadata", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/SecurityAssessmentMetadata" - } - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URI to fetch the next page." - } - } - }, - "SecurityAssessmentMetadata": { - "type": "object", - "description": "Security assessment metadata", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SecurityAssessmentMetadataProperties" - } - }, - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/Resource" - } - ] - }, - "SecurityAssessmentMetadataProperties": { - "type": "object", - "description": "Describes properties of an assessment metadata.", - "properties": { - "displayName": { - "readOnly": true, - "type": "string", - "description": "User friendly display name of the assessment" - }, - "policyDefinitionId": { - "readOnly": true, - "type": "string", - "description": "Azure resource ID of the policy definition that turns this assessment calculation on" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Human readable description of the assessment" - }, - "remediationDescription": { - "readOnly": true, - "type": "string", - "description": "Human readable description of what you should do to mitigate this security issue" - }, - "category": { - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "description": "The category of resource that is at risk when the assessment is unhealthy", - "enum": [ - "Compute", - "Network", - "Data", - "IdentityAndAccess", - "IoT" - ], - "x-ms-enum": { - "name": "category", - "modelAsString": true, - "values": [ - { - "value": "Compute" - }, - { - "value": "Network" - }, - { - "value": "Data" - }, - { - "value": "IdentityAndAccess" - }, - { - "value": "IoT" - } - ] - } - } - }, - "secureScoreWeight": { - "readOnly": true, - "type": "integer", - "description": "Weight for the security score calculation. the higher this number, this severity of this assessment is higher" - }, - "requiredPricingBundle": { - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "description": "The required Azure Security Center pricing bundle name. One of the bundles must be Standard. Empty list is a free assessment.", - "enum": [ - "VirtualMachines", - "SqlServers", - "AppServices", - "StorageAccounts" - ], - "x-ms-enum": { - "name": "requiredPricingBundle", - "modelAsString": true, - "values": [ - { - "value": "VirtualMachines" - }, - { - "value": "SqlServers" - }, - { - "value": "AppServices" - }, - { - "value": "StorageAccounts" - } - ] - } - } - }, - "preview": { - "readOnly": true, - "type": "boolean", - "description": "True if this assessment is in preview release status" - }, - "assessmentType": { - "readOnly": true, - "type": "string", - "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition", - "enum": [ - "BuiltIn", - "Custom" - ], - "x-ms-enum": { - "name": "assessmentType", - "modelAsString": true, - "values": [ - { - "value": "BuiltIn" - }, - { - "value": "Custom" - } - ] - } - } - } - } - }, - "parameters": { - "AssessmentsMetadataName": { - "name": "assessmentsMetadataName", - "in": "path", - "required": true, - "type": "string", - "description": "The Assessment Key - Unique key for the assessment type", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json deleted file mode 100644 index f3d3156b17a0..000000000000 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "assessmentsMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b" - }, - "responses": { - "200": { - "body": { - "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", - "name": "21300918-b2e3-0346-785f-c77ff57d243b", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Install endpoint protection solution on virtual machine scale sets", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", - "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", - "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", - "category": [ - "Compute" - ], - "secureScoreWeight": 15, - "assessmentType": "Custom" - } - } - } - } -} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json deleted file mode 100644 index e7e6e70b96d9..000000000000 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e", - "assessmentsMetadataName": "21300918-b2e3-0346-785f-c77ff57d243b" - }, - "responses": { - "200": { - "body": { - "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", - "name": "21300918-b2e3-0346-785f-c77ff57d243b", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Install endpoint protection solution on virtual machine scale sets", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", - "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", - "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", - "category": [ - "Compute" - ], - "secureScoreWeight": 15, - "assessmentType": "Custom" - } - } - } - } -} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json deleted file mode 100644 index 4f4581798203..000000000000 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", - "name": "21300918-b2e3-0346-785f-c77ff57d243b", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Install endpoint protection solution on virtual machine scale sets", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", - "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", - "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", - "category": [ - "Compute" - ], - "requiredPricingBundle": [ - "VirtualMachines" - ], - "secureScoreWeight": 15, - "assessmentType": "BuiltIn" - } - }, - { - "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe", - "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Close management ports on your virtual machines", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917", - "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.", - "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'", - "category": [ - "Networking" - ], - "requiredPricingBundle": [ - "VirtualMachines" - ], - "secureScoreWeight": 10, - "preview": true, - "assessmentType": "Custom" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json deleted file mode 100644 index 46f77128133c..000000000000 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "0980887d-03d6-408c-9566-532f3456804e" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b", - "name": "21300918-b2e3-0346-785f-c77ff57d243b", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Install endpoint protection solution on virtual machine scale sets", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/26a828e1-e88f-464e-bbb3-c134a282b9de", - "description": "Install an endpoint protection solution on your virtual machines scale sets, to protect them from threats and vulnerabilities.", - "remediationDescription": "To install an endpoint protection solution: 1. Follow the instructions in How do I turn on antimalware in my virtual machine scale set", - "category": [ - "Compute" - ], - "requiredPricingBundle": [ - "VirtualMachines" - ], - "secureScoreWeight": 15, - "assessmentType": "BuiltIn" - } - }, - { - "id": "/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe", - "name": "bc303248-3d14-44c2-96a0-55f5c326b5fe", - "type": "Microsoft.Security/assessmentMetadata", - "properties": { - "displayName": "Close management ports on your virtual machines", - "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22730e10-96f6-4aac-ad84-9383d35b5917", - "description": "Open remote management ports expose your VM to a high level of risk from internet-based attacks that attempt to brute force credentials to gain admin access to the machine.", - "remediationDescription": "We recommend that you edit the inbound rules of the below virtual machines to restrict access to specific source ranges.
To restrict the access to your virtual machines: 1. Click on a VM from the list below 2. At the 'Networking' blade, click on each of the rules that allow management ports (e.g. RDP-3389, WINRM-5985, SSH-22) 3. Change the 'Action' property to 'Deny' 4. Click 'Save'", - "category": [ - "Networking" - ], - "requiredPricingBundle": [ - "VirtualMachines" - ], - "secureScoreWeight": 10, - "preview": true, - "assessmentType": "Custom" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 5bbf118df5ee..b2a88a1c3763 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -52,7 +52,6 @@ These settings apply only when `--tag=package-composite-v1` is specified on the ```yaml $(tag) == 'package-composite-v1' input-file: - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json -- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/preview/2017-08-01-preview/pricings.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json @@ -85,7 +84,6 @@ These settings apply only when `--tag=package-composite-v2` is specified on the ```yaml $(tag) == 'package-composite-v2' input-file: - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json -- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/stable/2018-06-01/pricings.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json @@ -138,7 +136,6 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json - Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json -- Microsoft.Security/preview/2019-01-01-preview/assessmentsMetadata.json - Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json # Needed when there is more than one input file From f45c8d29d9a18d633f10d5015f3c424df9f178c8 Mon Sep 17 00:00:00 2001 From: hytao Date: Fri, 12 Jul 2019 10:13:50 -0700 Subject: [PATCH 267/495] [Hub Generated] Review request for Microsoft.Cdn to add UrlRewrite and CacheKeyQueryString action to 2019-04-15 (#6599) * add UrlRewrite and CacheKeyQueryString actions. * fix typo * update * Move changes to 2019-04-15 version. --- .../Microsoft.Cdn/stable/2019-04-15/cdn.json | 102 +++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json index b45f81d57230..5bb4fb80a430 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json @@ -3143,9 +3143,11 @@ "type": "string", "enum": [ "CacheExpiration", + "CacheKeyQueryString", "ModifyRequestHeader", "ModifyResponseHeader", - "UrlRedirect" + "UrlRedirect", + "UrlRewrite" ], "x-ms-enum": { "name": "DeliveryRuleAction", @@ -3230,6 +3232,52 @@ } } }, + "UrlRewriteAction": { + "description": "Defines the url rewrite action for the delivery rule.", + "x-ms-discriminator-value": "UrlRewrite", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/UrlRewriteActionParameters" + } + } + }, + "UrlRewriteActionParameters": { + "description": "Defines the parameters for the url rewrite action.", + "required": [ + "sourcePattern", + "destination", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters" + ] + }, + "sourcePattern": { + "description": "define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.", + "type": "string" + }, + "destination": { + "description": "Define the relative URL to which the above requests will be rewritten by.", + "type": "string" + }, + "preserveUnmatchedPath": { + "description": "Whether to preserve unmatched path. Default value is true.", + "type": "boolean" + } + } + }, "DeliveryRuleRequestHeaderAction": { "description": "Defines the request header action for the delivery rule.", "x-ms-discriminator-value": "ModifyRequestHeader", @@ -3366,6 +3414,58 @@ } } }, + "DeliveryRuleCacheKeyQueryStringAction": { + "description": "Defines the cache-key query string action for the delivery rule.", + "x-ms-discriminator-value": "CacheKeyQueryString", + "allOf": [ + { + "$ref": "#/definitions/DeliveryRuleAction" + } + ], + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "description": "Defines the parameters for the action.", + "$ref": "#/definitions/CacheKeyQueryStringActionParameters" + } + } + }, + "CacheKeyQueryStringActionParameters": { + "description": "Defines the parameters for the cache-key query string action.", + "required": [ + "queryStringBehavior", + "@odata.type" + ], + "properties": { + "@odata.type": { + "type": "string", + "enum": [ + "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters" + ] + }, + "queryStringBehavior": { + "description": "Caching behavior for the requests", + "type": "string", + "enum": [ + "Include", + "IncludeAll", + "Exclude", + "ExcludeAll" + ], + "x-ms-enum": { + "name": "queryStringBehavior", + "modelAsString": true + } + }, + "queryParameters": { + "description": "query parameters to include or exclude (comma separated).", + "type": "string", + "x-nullable": true + } + } + }, "transform": { "description": "Describes what transforms are applied before matching", "type": "string", From 4812740ce35febd5e31461a3be0dd7e3a76a0c95 Mon Sep 17 00:00:00 2001 From: jjbfour Date: Fri, 12 Jul 2019 13:06:02 -0700 Subject: [PATCH 268/495] [Hub Generated] Review request for Microsoft.Portal to add version preview/2015-08-01-preview (#6470) * Adds base for updating Microsoft.Portal from version preview/2015-11-01-preview to version 2015-08-01-preview * Updates readme * Updates API version in new specs and examples * Add object type to each of the definitions * Remove old api version and update to have the correct api-version * Fix readme for sdk generation * Fix auto rest version generation * update the preview version for dashboards --- .../examples/createOrUpdateDashboard.json | 2 +- .../examples/deleteDashboard.json | 2 +- .../examples/getDashboard.json | 2 +- .../examples/listDashboardsByResourceGroup.json | 2 +- .../examples/listDashboardsBySubscription.json | 2 +- .../examples/operationsList.json | 2 +- .../examples/updateDashboard.json | 2 +- .../portal.json | 12 +++++++++++- .../portal/resource-manager/readme.go.md | 10 +++++----- specification/portal/resource-manager/readme.md | 15 ++++++++------- .../portal/resource-manager/readme.python.md | 2 +- .../portal/resource-manager/readme.ruby.md | 8 ++++---- 12 files changed, 36 insertions(+), 25 deletions(-) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/createOrUpdateDashboard.json (98%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/deleteDashboard.json (83%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/getDashboard.json (97%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/listDashboardsByResourceGroup.json (98%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/listDashboardsBySubscription.json (98%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/operationsList.json (97%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/examples/updateDashboard.json (97%) rename specification/portal/resource-manager/Microsoft.Portal/preview/{2015-11-01-preview => 2015-08-01-preview}/portal.json (98%) diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json index 97febeb0ec39..067e2aea94b2 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "dashboard": { "properties": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json similarity index 83% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json index 28bd0c84a311..c224123f0b51 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json index 94ec6fa9a352..04aed0fd3933 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json index c859f46aa117..ea92c2e1edc8 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json index 0ae89283c2c4..5b8fbb0eeb56 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json index 44225b6e3bbf..0bf1bff7c299 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-11-01-preview" + "api-version": "2015-08-01-preview" }, "responses": { "200": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json index ccdac4a24227..2fe424718590 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "dashboard": { "tags": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json index 37d6cc814f94..233cfaa25861 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2015-11-01-preview", + "version": "2015-08-01-preview", "title": "portal", "description": "Allows creation and deletion of Azure Shared Dashboards.", "x-ms-code-generation-settings": { @@ -379,6 +379,7 @@ }, "definitions": { "DashboardListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -395,6 +396,7 @@ "description": "List of dashboards." }, "DashboardParts": { + "type": "object", "description": "A dashboard part.", "required": [ "position" @@ -445,6 +447,7 @@ } }, "DashboardLens": { + "type": "object", "description": "A dashboard lens.", "required": [ "order", @@ -472,6 +475,7 @@ } }, "DashboardProperties": { + "type": "object", "description": "The shared dashboard properties.", "properties": { "lenses": { @@ -491,6 +495,7 @@ } }, "Dashboard": { + "type": "object", "description": "The shared dashboard resource definition.", "x-ms-azure-resource": true, "x-ms-client-flatten": true, @@ -536,6 +541,7 @@ } }, "PatchableDashboard": { + "type": "object", "description": "The shared dashboard resource definition.", "x-ms-azure-resource": true, "x-ms-client-flatten": true, @@ -555,6 +561,7 @@ } }, "ResourceProviderOperationList": { + "type": "object", "description": "Results of the request to list operations.", "readOnly": true, "properties": { @@ -572,6 +579,7 @@ } }, "ResourceProviderOperation": { + "type": "object", "description": "Supported operations of this resource provider.", "readOnly": true, "properties": { @@ -607,6 +615,7 @@ } }, "ErrorResponse": { + "type": "object", "description": "Error response.", "properties": { "error": { @@ -616,6 +625,7 @@ } }, "ErrorDefinition": { + "type": "object", "description": "Error definition.", "properties": { "code": { diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/readme.go.md index 2f294d04a728..464680c86c54 100644 --- a/specification/portal/resource-manager/readme.go.md +++ b/specification/portal/resource-manager/readme.go.md @@ -9,11 +9,11 @@ go: clear-output-folder: true ``` -### Tag: package-2015-11-01-preview and go +### Tag: package-2015-08-01-preview and go -These settings apply only when `--tag=package-2015-11-01-preview --go` is specified on the command line. +These settings apply only when `--tag=package-2015-08-01-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -```yaml $(tag) == 'package-2015-11-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2015-11-01-preview/$(namespace) -``` +```yaml $(tag) == 'package-2015-08-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2015-08-01-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 09102be41ac4..74f1cdff4e21 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -24,18 +24,19 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the portal. -```yaml +``` yaml openapi-type: arm -tag: package-2015-11-01-preview +tag: package-2015-08-01-preview ``` -### Tag: package-2015-11-01-preview -These settings apply only when `--tag=package-2015-11-01-preview` is specified on the command line. +### Tag: package-2015-08-01-preview -```yaml $(tag) == 'package-2015-11-01-preview' +These settings apply only when `--tag=package-2015-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2015-08-01-preview' input-file: - - Microsoft.Portal/preview/2015-11-01-preview/portal.json + - Microsoft.Portal/preview/2015-08-01-preview/portal.json ``` --- @@ -47,7 +48,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java diff --git a/specification/portal/resource-manager/readme.python.md b/specification/portal/resource-manager/readme.python.md index 30501376cea9..e296c8e06256 100644 --- a/specification/portal/resource-manager/readme.python.md +++ b/specification/portal/resource-manager/readme.python.md @@ -10,7 +10,7 @@ python: payload-flattening-threshold: 2 namespace: Microsoft.Portal package-name: portal - package-version: 2015-11-01-preview + package-version: 2015-08-01-preview clear-output-folder: true ``` diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/readme.ruby.md index 786d34bca721..501b9edc68cd 100644 --- a/specification/portal/resource-manager/readme.ruby.md +++ b/specification/portal/resource-manager/readme.ruby.md @@ -4,16 +4,16 @@ These settings apply only when `--ruby` is specified on the command line. ```yaml package-name: azure_mgmt_portal -package-version: 2015-11-01-preview +package-version: 2015-08-01-preview azure-arm: true ``` -### Tag: package-2015-11-01-preview and ruby +### Tag: package-2015-08-01-preview and ruby -These settings apply only when `--tag=package-2015-11-01-preview --ruby` is specified on the command line. +These settings apply only when `--tag=package-2015-08-01-preview --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. -```yaml $(tag) == 'package-2015-11-01-preview' && $(ruby) +```yaml $(tag) == 'package-2015-08-01-preview' && $(ruby) namespace: Microsoft.Portal output-folder: $(ruby-sdks-folder)/portal ``` From 71c1e2f9f2a2d78c477f5d5efc06dbd80997dffd Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 15 Jul 2019 02:55:34 -0400 Subject: [PATCH 269/495] chore: jsonfmt datashare (#6595) --- .../preview/2018-11-01-preview/DataShare.json | 2 +- .../examples/Accounts_Create.json | 136 +++++++++--------- .../examples/Accounts_Delete.json | 78 +++++----- .../examples/Accounts_Get.json | 70 ++++----- .../Accounts_ListByResourceGroup.json | 98 ++++++------- .../examples/Accounts_ListBySubscription.json | 96 ++++++------- .../examples/Accounts_Update.json | 80 +++++------ .../examples/ConsumerInvitations_Get.json | 66 ++++----- .../ConsumerInvitations_ListInvitations.json | 70 ++++----- .../ConsumerInvitations_RejectInvitation.json | 74 +++++----- ...ourceDataSets_ListByShareSubscription.json | 62 ++++---- .../examples/DataSetMappings_Create.json | 2 +- .../examples/DataSetMappings_Delete.json | 54 +++---- .../examples/DataSetMappings_Get.json | 2 +- ...taSetMappings_ListByShareSubscription.json | 2 +- .../examples/DataSets_Create.json | 2 +- .../examples/DataSets_Delete.json | 54 +++---- .../examples/DataSets_Get.json | 2 +- .../examples/DataSets_ListByShare.json | 2 +- .../examples/Invitations_Create.json | 110 +++++++------- .../examples/Invitations_Delete.json | 54 +++---- .../examples/Invitations_Get.json | 62 ++++---- .../examples/Invitations_ListByShare.json | 64 ++++----- .../examples/Operations_List.json | 90 ++++++------ ...ProviderShareSubscriptions_GetByShare.json | 64 ++++----- ...roviderShareSubscriptions_ListByShare.json | 2 +- .../ProviderShareSubscriptions_Reinstate.json | 64 ++++----- .../ProviderShareSubscriptions_Revoke.json | 2 +- ...reSubscriptions_CancelSynchronization.json | 2 +- .../examples/ShareSubscriptions_Create.json | 120 ++++++++-------- .../examples/ShareSubscriptions_Delete.json | 80 +++++------ .../examples/ShareSubscriptions_Get.json | 70 ++++----- .../ShareSubscriptions_ListByAccount.json | 92 ++++++------ ...istSourceShareSynchronizationSettings.json | 56 ++++---- ...scriptions_ListSynchronizationDetails.json | 66 ++++----- ...areSubscriptions_ListSynchronizations.json | 60 ++++---- .../ShareSubscriptions_Synchronize.json | 2 +- .../examples/Shares_Create.json | 112 +++++++-------- .../examples/Shares_Delete.json | 80 +++++------ .../examples/Shares_Get.json | 60 ++++---- .../examples/Shares_ListByAccount.json | 88 ++++++------ .../Shares_ListSynchronizationDetails.json | 66 ++++----- .../examples/Shares_ListSynchronizations.json | 64 ++++----- .../SynchronizationSettings_Create.json | 112 +++++++-------- .../SynchronizationSettings_Delete.json | 82 +++++------ .../examples/SynchronizationSettings_Get.json | 60 ++++---- .../SynchronizationSettings_ListByShare.json | 62 ++++---- .../examples/Triggers_Create.json | 122 ++++++++-------- .../examples/Triggers_Delete.json | 82 +++++------ .../examples/Triggers_Get.json | 64 ++++----- .../Triggers_ListByShareSubscription.json | 68 ++++----- 51 files changed, 1567 insertions(+), 1567 deletions(-) diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json index 02ce0e238c1e..eec699d403f5 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json @@ -5556,4 +5556,4 @@ } ], "tags": [] -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json index 157855a98c4c..c0dd7d364a88 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json @@ -1,72 +1,72 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview", - "account": { - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview", + "account": { + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } }, - "responses": { - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - } + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" }, - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json index 473f71f568b4..cb35cf00a5a7 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "status": "Succeeded" - } - }, - "202": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-long-running-operation": true, - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - } + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json index edba5bd08df9..e4c3236ed773 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z", - "provisioningState": "Succeeded" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z", + "provisioningState": "Succeeded" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json index 42c48b7abe20..fb1801e39f23 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json @@ -1,52 +1,52 @@ { - "parameters": { - "api-version": "2018-11-01-preview", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "SampleResourceGroup" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "api-version": "2018-11-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "SampleResourceGroup" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" }, - "body": { - "value": [ - { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - }, - { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "East US 2", - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", - "identity": { - "type": "SystemAssigned" - }, - "name": "Account2", - "type": "Microsoft.DataShare/Accounts" - } - ] - } - } + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + }, + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "East US 2", + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", + "identity": { + "type": "SystemAssigned" + }, + "name": "Account2", + "type": "Microsoft.DataShare/Accounts" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json index c6aa2fb42023..cd5c56e0c155 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json @@ -1,51 +1,51 @@ { - "parameters": { - "api-version": "2018-11-01-preview", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "api-version": "2018-11-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" }, - "body": { - "value": [ - { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - }, - { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "identity": { - "type": "SystemAssigned" - }, - "location": "East US 2", - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", - "name": "Account2", - "type": "Microsoft.DataShare/Accounts" - } - ] - } - } + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + }, + { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "identity": { + "type": "SystemAssigned" + }, + "location": "East US 2", + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", + "name": "Account2", + "type": "Microsoft.DataShare/Accounts" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json index cae4f0b1d7ec..1916a8fd4347 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json @@ -1,42 +1,42 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview", - "accountUpdateParameters": { - "tags": { - "tag1": "Red", - "tag2": "White" - } - } - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T04:47:52.9614956Z" - }, - "location": "West US 2", - "tags": { - "tag1": "Red", - "tag2": "White" - }, - "identity": { - "type": "SystemAssigned" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", - "name": "Account1", - "type": "Microsoft.DataShare/Accounts" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview", + "accountUpdateParameters": { + "tags": { + "tag1": "Red", + "tag2": "White" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T04:47:52.9614956Z" + }, + "location": "West US 2", + "tags": { + "tag1": "Red", + "tag2": "White" + }, + "identity": { + "type": "SystemAssigned" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", + "name": "Account1", + "type": "Microsoft.DataShare/Accounts" + } + } + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json index 34145086d845..23774eb86354 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json @@ -1,35 +1,35 @@ { - "parameters": { - "location": "East US 2", - "api-version": "2018-11-01-preview", - "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "location": "eastus2", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "sender": "John Smith", - "sentAt": "2019-01-15T01:45:25.6226946Z", - "respondedAt": "2019-01-15T02:01:51.8953054Z", - "invitationStatus": "Accepted", - "description": "Some share", - "termsOfUse": "Confidential", - "dataSetCount": 1, - "shareName": "share1" - }, - "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/consumerInvitations" - } - } + "parameters": { + "location": "East US 2", + "api-version": "2018-11-01-preview", + "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Accepted", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "shareName": "share1" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json index 11150a4e974d..7d294af33170 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json @@ -1,38 +1,38 @@ { - "parameters": { - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Accepted", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "senderCompanyName": "microsoft", + "shareName": "share1" }, - "body": { - "value": [ - { - "properties": { - "location": "eastus2", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "sender": "John Smith", - "sentAt": "2019-01-15T01:45:25.6226946Z", - "respondedAt": "2019-01-15T02:01:51.8953054Z", - "invitationStatus": "Accepted", - "description": "Some share", - "termsOfUse": "Confidential", - "dataSetCount": 1, - "senderCompanyName": "microsoft", - "shareName": "share1" - }, - "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/consumerInvitations" - } - ] - } - } + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json index 427e78f48f4a..bd99bc119208 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json @@ -1,39 +1,39 @@ { - "parameters": { - "location": "East US 2", - "api-version": "2018-11-01-preview", - "invitation": { - "properties": { - "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" - } - } - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "location": "eastus2", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "sender": "John Smith", - "sentAt": "2019-01-15T01:45:25.6226946Z", - "respondedAt": "2019-01-15T02:01:51.8953054Z", - "invitationStatus": "Rejected", - "description": "Some share", - "termsOfUse": "Confidential", - "dataSetCount": 1, - "shareName": "share1" - }, - "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/consumerInvitations" - } - } + "parameters": { + "location": "East US 2", + "api-version": "2018-11-01-preview", + "invitation": { + "properties": { + "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" + } } -} \ No newline at end of file + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "location": "eastus2", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "sender": "John Smith", + "sentAt": "2019-01-15T01:45:25.6226946Z", + "respondedAt": "2019-01-15T02:01:51.8953054Z", + "invitationStatus": "Rejected", + "description": "Some share", + "termsOfUse": "Confidential", + "dataSetCount": 1, + "shareName": "share1" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerInvitations" + } + } + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json index 894dce7adc26..e465b8f71b88 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "Share1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375", + "dataSetType": "Blob", + "dataSetName": "input.text" }, - "body": { - "value": [ - { - "properties": { - "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375", - "dataSetType": "Blob", - "dataSetName": "input.text" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/consumerSourceDataSets" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/consumerSourceDataSets" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json index 3f1a437d9468..bc26387cf309 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json index 060444941f8b..e2bd5eb71e10 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json @@ -1,30 +1,30 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "dataSetMappingName": "DatasetMapping1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "dataSetMappingName": "DatasetMapping1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json index 858acf14fc69..ef410eac4cd0 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json index 3b00a62df8a7..bab66acde4ce 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json index 9569da347267..654f0e8d3194 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json index 5fc9bb85c3bd..65c2c333c7ff 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json @@ -1,30 +1,30 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "dataSetName": "Dataset1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "dataSetName": "Dataset1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json index e31bab0c773f..794ade8c14ef 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json index 76ac50a8787c..377709df3724 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json index 4b8b14aafaa3..074f97413aaa 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json @@ -1,59 +1,59 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "invitationName": "Invitation1", - "api-version": "2018-11-01-preview", - "invitation": { - "properties": { - "targetEmail": "receiver@microsoft.com" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview", + "invitation": { + "properties": { + "targetEmail": "receiver@microsoft.com" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "sender": "John Smith", - "sentAt": "2018-11-26T22:33:24.5785265Z", - "targetEmail": "receiver@microsoft.com", - "respondedAt": null, - "invitationStatus": "Pending" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", - "name": "Invitation1", - "type": "Microsoft.DataShare/Invitation1" - } + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" }, - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "sender": "John Smith", - "sentAt": "2018-11-26T22:33:24.5785265Z", - "targetEmail": "receiver@microsoft.com", - "respondedAt": null, - "invitationStatus": "Pending" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", - "name": "Invitation1", - "type": "Microsoft.DataShare/Invitation1" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json index c7f77e1d46f5..eaf4e379b516 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json @@ -1,30 +1,30 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "invitationName": "Invitation1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json index de7436a3a745..5f0f34180969 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json @@ -1,33 +1,33 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "invitationName": "Invitation1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "sender": "John Smith", - "sentAt": "2018-11-26T22:33:24.5785265Z", - "targetEmail": "receiver@microsoft.com", - "respondedAt": null, - "invitationStatus": "Pending" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", - "name": "Invitation1", - "type": "Microsoft.DataShare/Invitation1" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "invitationName": "Invitation1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "receiver@microsoft.com", + "respondedAt": null, + "invitationStatus": "Pending" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1", + "name": "Invitation1", + "type": "Microsoft.DataShare/Invitation1" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json index 8f09e5c6ab15..69c8d228b5a5 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json @@ -1,35 +1,35 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "sender": "John Smith", + "sentAt": "2018-11-26T22:33:24.5785265Z", + "targetEmail": "johnsmith@microsoft.com", + "invitationStatus": "Accepted" }, - "body": { - "value": [ - { - "properties": { - "sender": "John Smith", - "sentAt": "2018-11-26T22:33:24.5785265Z", - "targetEmail": "johnsmith@microsoft.com", - "invitationStatus": "Accepted" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd", - "name": "ancd", - "type": "Microsoft.DataShare/Invitation" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd", + "name": "ancd", + "type": "Microsoft.DataShare/Invitation" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json index 40c12435c857..9ee047f0ea42 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json @@ -1,48 +1,48 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "value": [ - { - "name": "Microsoft.DataShare/operations/read", - "display": { - "provider": "Microsoft Data Share", - "resource": "Data Share Resource Provider", - "operation": "Read all operations", - "description": "Reads all available operations in Data Share Resource Provider." - } - }, - { - "name": "Microsoft.DataShare/register/action", - "display": { - "provider": "Microsoft Data Share", - "resource": "Data Share Resource Provider", - "operation": "Register Data Share Resource Provider", - "description": "Register the subscription for the Data Share Resource Provider." - } - }, - { - "name": "Microsoft.DataShare/unregister/action", - "display": { - "provider": "Microsoft Data Share", - "resource": "Data Share Resource Provider", - "operation": "Unregister Data Share Resource Provider", - "description": "Unregister the subscription for the Data Share Resource Provider." - } - } - ] + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "name": "Microsoft.DataShare/operations/read", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Read all operations", + "description": "Reads all available operations in Data Share Resource Provider." } - } + }, + { + "name": "Microsoft.DataShare/register/action", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Register Data Share Resource Provider", + "description": "Register the subscription for the Data Share Resource Provider." + } + }, + { + "name": "Microsoft.DataShare/unregister/action", + "display": { + "provider": "Microsoft Data Share", + "resource": "Data Share Resource Provider", + "operation": "Unregister Data Share Resource Provider", + "description": "Unregister the subscription for the Data Share Resource Provider." + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json index c04de8addc94..1774cdc73959 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "John Smith", - "createdAt": "2018-12-13T08:52:42.6224087Z", - "sharedBy": "John Smith", - "sharedAt": "2018-12-13T08:45:40.9005877Z", - "company": "Microsoft", - "shareSubscriptionStatus": "Active" - }, - "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/shareSubscripitons" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Active" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/shareSubscripitons" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json index ba84858c928d..8ef6f9840cb6 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json index c04de8addc94..1774cdc73959 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "John Smith", - "createdAt": "2018-12-13T08:52:42.6224087Z", - "sharedBy": "John Smith", - "sharedAt": "2018-12-13T08:45:40.9005877Z", - "company": "Microsoft", - "shareSubscriptionStatus": "Active" - }, - "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", - "name": "invitation1", - "type": "Microsoft.DataShare/shareSubscripitons" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2018-12-13T08:52:42.6224087Z", + "sharedBy": "John Smith", + "sharedAt": "2018-12-13T08:45:40.9005877Z", + "company": "Microsoft", + "shareSubscriptionStatus": "Active" + }, + "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", + "name": "invitation1", + "type": "Microsoft.DataShare/shareSubscripitons" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json index de27e898a92f..82609f34a773 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json index 38c359b934db..8b4a3a3abcbc 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json index bdbca061b303..5e993ae882ce 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json @@ -1,64 +1,64 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "api-version": "2018-11-01-preview", - "shareSubscription": { - "properties": { - "invitationId": "12345678-1234-1234-12345678abd" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview", + "shareSubscription": { + "properties": { + "invitationId": "12345678-1234-1234-12345678abd" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "John Smith", - "createdAt": "2019-01-17T22:32:36.8185016Z", - "shareSubscriptionStatus": "Active", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "shareName": "share1", - "shareDescription": "Some share", - "shareTerms": "Confidential", - "shareKind": "CopyBased" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", - "name": "ShareSubscription1", - "type": "Microsoft.DataShare/ShareSubscription" - } + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" }, - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "John Smith", - "createdAt": "2019-01-17T22:32:36.8185016Z", - "shareSubscriptionStatus": "Active", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "shareName": "share1", - "shareDescription": "Some share", - "shareTerms": "Confidential", - "shareKind": "CopyBased" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", - "name": "ShareSubscription1", - "type": "Microsoft.DataShare/ShareSubscription" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json index 65d9b16af5c8..fc0764aab588 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "status": "Succeeded" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "202": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-long-running-operation": true, - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json index 8489dd3494d8..916455ef8ca6 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "createdBy": "John Smith", - "createdAt": "2019-01-17T22:32:36.8185016Z", - "shareSubscriptionStatus": "Active", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "shareName": "share1", - "shareDescription": "Some share", - "shareTerms": "Confidential", - "shareKind": "CopyBased", - "provisioningState": "Succeeded", - "shareSenderCompanyName": "ShareSenderCompanyName" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", - "name": "ShareSubscription1", - "type": "Microsoft.DataShare/ShareSubscription" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased", + "provisioningState": "Succeeded", + "shareSenderCompanyName": "ShareSenderCompanyName" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json index c365e7d8664c..4b61d7f3a98c 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json @@ -1,49 +1,49 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "invitationId": "12345678-1234-1234-12345678abd", + "shareSubscriptionStatus": "Active", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" }, - "body": { - "value": [ - { - "properties": { - "invitationId": "12345678-1234-1234-12345678abd", - "shareSubscriptionStatus": "Active", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", - "name": "ShareSubscription1", - "type": "Microsoft.DataShare/ShareSubscription" - }, - { - "properties": { - "createdBy": "John Smith", - "createdAt": "2019-01-17T22:32:36.8185016Z", - "shareSubscriptionStatus": "Active", - "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", - "shareName": "share1", - "shareDescription": "Some share", - "shareTerms": "Confidential", - "shareKind": "CopyBased" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", - "name": "ShareSubscription1", - "type": "Microsoft.DataShare/ShareSubscription" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + }, + { + "properties": { + "createdBy": "John Smith", + "createdAt": "2019-01-17T22:32:36.8185016Z", + "shareSubscriptionStatus": "Active", + "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", + "shareName": "share1", + "shareDescription": "Some share", + "shareTerms": "Confidential", + "shareKind": "CopyBased" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1", + "name": "ShareSubscription1", + "type": "Microsoft.DataShare/ShareSubscription" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json index e3c1fff0c96e..4ad6f0d9c356 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json @@ -1,31 +1,31 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSub1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "properties": { + "recurrenceInterval": "Hour", + "synchronizationTime": "2019-03-15T19:45:58Z" }, - "body": { - "value": [ - { - "properties": { - "recurrenceInterval": "Hour", - "synchronizationTime": "2019-03-15T19:45:58Z" - }, - "kind": "ScheduleBased" - } - ] - } - } + "kind": "ScheduleBased" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json index ce31b5aebb2a..78858bc649c3 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json @@ -1,36 +1,36 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSub1", - "shareSubscriptionSynchronization": { - "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" - }, - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "shareSubscriptionSynchronization": { + "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" - }, - "body": { - "value": [ - { - "endTime": "2018-11-14T04:47:52.9614956Z", - "startTime": "2018-11-14T04:47:52.9614956Z", - "durationMs": 2000, - "status": "Completed", - "name": "dataset1", - "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", - "dataSetType": "Blob" - } - ] - } - } + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "name": "dataset1", + "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", + "dataSetType": "Blob" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json index 41d6a9a373f7..b96005d5edaf 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSub1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" - }, - "body": { - "value": [ - { - "endTime": "2018-11-14T04:47:52.9614956Z", - "startTime": "2018-11-14T04:47:52.9614956Z", - "durationMs": 2000, - "status": "Completed", - "message": "nda", - "synchronizationId": "runId" - } - ] - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSub1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "message": "nda", + "synchronizationId": "runId" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json index a856d61f4b86..9621df186642 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json index 7156fbbe0e78..f806aad72812 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview", - "share": { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview", + "share": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", - "name": "Share1", - "type": "Microsoft.DataShare/Share" - } + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" }, - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", - "name": "Share1", - "type": "Microsoft.DataShare/Share" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json index 0e75195b81cb..320a510004e3 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "status": "Succeeded" - } - }, - "202": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-long-running-operation": true, - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - } + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true, + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } + }, + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json index fb2f309f90d2..0db27ccec7ae 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", - "name": "Share1", - "type": "Microsoft.DataShare/Share" - } - } + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json index 295d5964ea8c..e93a5544eb97 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json @@ -1,47 +1,47 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-12345678abc", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + "parameters": { + "subscriptionId": "12345678-1234-1234-12345678abc", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "value": [ + { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" }, - "body": { - "value": [ - { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", - "name": "Share1", - "type": "Microsoft.DataShare/Share" - }, - { - "properties": { - "description": "share description", - "terms": "Confidential", - "shareKind": "CopyBased", - "createdBy": "johnsmith@microsoft.com", - "createdAt": "2018-11-14T06:15:15.6818898Z" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", - "name": "Share1", - "type": "Microsoft.DataShare/Share" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + }, + { + "properties": { + "description": "share description", + "terms": "Confidential", + "shareKind": "CopyBased", + "createdBy": "johnsmith@microsoft.com", + "createdAt": "2018-11-14T06:15:15.6818898Z" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1", + "name": "Share1", + "type": "Microsoft.DataShare/Share" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json index 5ab2b032a042..fc8da2ed1635 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json @@ -1,36 +1,36 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "shareSynchronization": { - "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" - }, - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "shareSynchronization": { + "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb" }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" - }, - "body": { - "value": [ - { - "endTime": "2018-11-14T04:47:52.9614956Z", - "startTime": "2018-11-14T04:47:52.9614956Z", - "durationMs": 2000, - "status": "Completed", - "name": "dataset1", - "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", - "dataSetType": "Blob" - } - ] - } - } + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "name": "dataset1", + "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb", + "dataSetType": "Blob" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json index cc6734d37cf7..f99fa5437cb9 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" - }, - "body": { - "value": [ - { - "endTime": "2018-11-14T04:47:52.9614956Z", - "startTime": "2018-11-14T04:47:52.9614956Z", - "durationMs": 2000, - "status": "Completed", - "message": "nda", - "company": "nda", - "recipient": "abc@yahoo.com", - "synchronizationId": "runId" - } - ] - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "endTime": "2018-11-14T04:47:52.9614956Z", + "startTime": "2018-11-14T04:47:52.9614956Z", + "durationMs": 2000, + "status": "Completed", + "message": "nda", + "company": "nda", + "recipient": "abc@yahoo.com", + "synchronizationId": "runId" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json index 4b9a4185f526..f9e5a8f9235b 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json @@ -1,60 +1,60 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "synchronizationSettingName": "Dataset1", - "api-version": "2018-11-01-preview", - "synchronizationSetting": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "Dataset1", + "api-version": "2018-11-01-preview", + "synchronizationSetting": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", - "name": "SyncrhonizationSetting1", - "type": "Microsoft.DataShare/SyncrhonizationSetting" - } + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" }, - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-long-running-operation": true - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", - "name": "SyncrhonizationSetting1", - "type": "Microsoft.DataShare/SyncrhonizationSetting" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json index b10ce3404149..c1772ee96b20 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json @@ -1,44 +1,44 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "synchronizationSettingName": "SyncrhonizationSetting1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "SyncrhonizationSetting1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "status": "Succeeded" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "202": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-retry-after-ms": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/share1/synchronizationSettings/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-retry-after-ms": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/share1/synchronizationSettings/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json index 9db78601389c..2d8f5255dc89 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "synchronizationSettingName": "SyncrhonizationSetting1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", - "name": "SyncrhonizationSetting1", - "type": "Microsoft.DataShare/SyncrhonizationSetting" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "synchronizationSettingName": "SyncrhonizationSetting1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json index f5eb375d75d0..313fee0067e7 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareName": "Share1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareName": "Share1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day" }, - "body": { - "value": [ - { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", - "name": "SyncrhonizationSetting1", - "type": "Microsoft.DataShare/SyncrhonizationSetting" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1", + "name": "SyncrhonizationSetting1", + "type": "Microsoft.DataShare/SyncrhonizationSetting" + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json index 4db4269facf9..b0ea314c5e14 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json @@ -1,65 +1,65 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "triggerName": "Trigger1", - "api-version": "2018-11-01-preview", - "trigger": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "synchronizationMode": "Incremental" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview", + "trigger": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "synchronizationMode": "Incremental" + } + } + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded", - "triggerStatus": "Active", - "synchronizationMode": "Incremental" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", - "name": "Trigger1", - "type": "Microsoft.DataShare/Trigger" - } + "201": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-long-running-operation": true + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Creating", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" }, - "201": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-long-running-operation": true - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Creating", - "triggerStatus": "Active", - "synchronizationMode": "Incremental" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", - "name": "Trigger1", - "type": "Microsoft.DataShare/Trigger" - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json index 54eca6307888..f86cea25323f 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json @@ -1,44 +1,44 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "triggerName": "Trigger1", - "api-version": "2018-11-01-preview" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "status": "Succeeded" + } }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "status": "Succeeded" - } - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - } - }, - "202": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", - "x-ms-retry-after-ms": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/triggers/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" - } - } + "204": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + } + }, + "202": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", + "x-ms-retry-after-ms": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/triggers/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json index 9811adaa1db8..73df1d338617 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json @@ -1,34 +1,34 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "triggerName": "Trigger1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:32 GMT", - "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-tenant-reads": "14999", - "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" - }, - "body": { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded", - "triggerStatus": "Active", - "synchronizationMode": "Incremental" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", - "name": "Trigger1", - "type": "Microsoft.DataShare/Trigger" - } - } + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 18:04:32 GMT", + "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-tenant-reads": "14999", + "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" + }, + "body": { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "triggerStatus": "Active", + "synchronizationMode": "Incremental" + }, + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } } -} \ No newline at end of file + } +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json index 951b4db28ef3..15f0ca0a1ef8 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json @@ -1,37 +1,37 @@ { - "parameters": { - "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", - "resourceGroupName": "SampleResourceGroup", - "accountName": "Account1", - "shareSubscriptionName": "ShareSubscription1", - "triggerName": "Trigger1", - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:33:55 GMT", - "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14993", - "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + "parameters": { + "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", + "resourceGroupName": "SampleResourceGroup", + "accountName": "Account1", + "shareSubscriptionName": "ShareSubscription1", + "triggerName": "Trigger1", + "api-version": "2018-11-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Wed, 13 Sep 2017 17:33:55 GMT", + "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14993", + "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" + }, + "body": { + "value": [ + { + "kind": "ScheduleBased", + "properties": { + "synchronizationTime": "2018-11-14T04:47:52.9614956Z", + "recurrenceInterval": "Day", + "provisioningState": "Succeeded", + "synchronizationMode": "Incremental" }, - "body": { - "value": [ - { - "kind": "ScheduleBased", - "properties": { - "synchronizationTime": "2018-11-14T04:47:52.9614956Z", - "recurrenceInterval": "Day", - "provisioningState": "Succeeded", - "synchronizationMode": "Incremental" - }, - "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", - "name": "Trigger1", - "type": "Microsoft.DataShare/Trigger" - } - ] - } - } + "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1", + "name": "Trigger1", + "type": "Microsoft.DataShare/Trigger" + } + ] + } } -} \ No newline at end of file + } +} From bc3a7bf9d033dff0964cb180d57ade449b785de5 Mon Sep 17 00:00:00 2001 From: Cormac McCarthy Date: Mon, 15 Jul 2019 01:29:49 -0700 Subject: [PATCH 270/495] Add missing displayName and domains properties to response of Tenants_List call (#6473) --- .../stable/2018-06-01/subscriptions.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json index aec7da8d5af6..6ab9fc2ca230 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json @@ -320,6 +320,20 @@ "readOnly": true, "type": "string", "description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The display name of the tenant." + }, + "domains": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "description": "The domain name for a tenant." + }, + "description": "The list of domains for the tenant." } }, "description": "Tenant Id information." From 41c7514bdb312869e73f8ea20500ee8569148f2f Mon Sep 17 00:00:00 2001 From: nirwinter <51366687+nirwinter@users.noreply.github.com> Date: Mon, 15 Jul 2019 11:33:34 +0300 Subject: [PATCH 271/495] Improving Security Center pricing API documentation (#6586) --- .../Microsoft.Security/stable/2018-06-01/pricings.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json index 7e6fc2ebc866..90fde4a64958 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json @@ -44,7 +44,7 @@ "tags": [ "Pricings" ], - "description": "Security pricing configurations in the subscription", + "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", "operationId": "Pricings_List", "parameters": [ { @@ -80,7 +80,7 @@ "tags": [ "Pricings" ], - "description": "Security pricing configuration in the subscription", + "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", "operationId": "Pricings_Get", "parameters": [ { @@ -117,7 +117,7 @@ "tags": [ "Pricings" ], - "description": "Security pricing configuration in the subscription", + "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", "operationId": "Pricings_Update", "parameters": [ { @@ -188,7 +188,7 @@ "properties": { "pricingTier": { "type": "string", - "description": "The pricing tier value", + "description": "The pricing tier value. Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.", "enum": [ "Free", "Standard" From 5882a40f1d648b8673da9a0ab3884e341fe5285a Mon Sep 17 00:00:00 2001 From: Hyonho Lee Date: Mon, 15 Jul 2019 01:34:38 -0700 Subject: [PATCH 272/495] Update the output folder path for compute .NET SDK (#6570) --- specification/compute/resource-manager/readme.csharp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/readme.csharp.md b/specification/compute/resource-manager/readme.csharp.md index 3e124e82fb59..a3fe8bb4dac8 100644 --- a/specification/compute/resource-manager/readme.csharp.md +++ b/specification/compute/resource-manager/readme.csharp.md @@ -19,7 +19,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Compute -output-folder: $(csharp-sdks-folder)/Compute/Management.Compute/Generated +output-folder: $(csharp-sdks-folder)/compute/Microsoft.Azure.Management.Compute/src/Generated ``` ## Batch settings @@ -74,4 +74,4 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Comput batch: - tag: profile-hybrid-2019-03-01 - ``` \ No newline at end of file + ``` From 5f0e30b9798c745d04cbbf012355960f6a3a9edc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 15 Jul 2019 12:15:18 -0400 Subject: [PATCH 273/495] chore: jsonfmt cognitiveservices (#6557) --- .../data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json index 50c171536568..3de6b0d061a2 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json @@ -566,4 +566,4 @@ "x-ms-skip-url-encoding": true } } -} \ No newline at end of file +} From c1cc802c12f1c9b9c0a7e3db70fd22ec3908d656 Mon Sep 17 00:00:00 2001 From: pixia Date: Mon, 15 Jul 2019 09:16:57 -0700 Subject: [PATCH 274/495] Add resource group based LTR API (#6571) * Fix set LTR policy example * Add resource group based LTR APIs * fix examples --- .../LongTermRetentionBackupDelete.json | 4 +- ...oupBasedLongTermRetentionBackupDelete.json | 15 + ...eGroupBasedLongTermRetentionBackupGet.json | 27 ++ ...LongTermRetentionBackupListByDatabase.json | 54 +++ ...LongTermRetentionBackupListByLocation.json | 52 +++ ...edLongTermRetentionBackupListByServer.json | 53 +++ .../2017-03-01-preview/longTermRetention.json | 326 +++++++++++++++++- 7 files changed, 523 insertions(+), 8 deletions(-) create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json index 17bc649b28ba..0796249b60b7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionBackupDelete.json @@ -9,8 +9,6 @@ }, "responses": { "200": {}, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json new file mode 100644 index 000000000000..5ceeb8e16640 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json new file mode 100644 index 000000000000..f05a6f04a2cd --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z", + "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties" : { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json new file mode 100644 index 000000000000..4a9e190d8ce5 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131657960820000000", + "name": "55555555-6666-7777-8888-999999999999;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000", + "name": "55555555-6666-7777-8888-999999999999;131677960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": "2017-09-07T08:00:00.000Z", + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json new file mode 100644 index 000000000000..259741649bcf --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;2017-08-23T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver1", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;2017-08-30T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver2", + "serverCreateTime": "2017-04-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver3/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;2017-09-06T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver3", + "serverCreateTime": "2017-05-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json new file mode 100644 index 000000000000..e8f041f63790 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;131667960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json index 088991be2557..a46331e490ce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/longTermRetention.json @@ -16,6 +16,322 @@ "application/json" ], "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}": { + "get": { + "tags": [ + "LongTermRetentionBackups" + ], + "description": "Gets a long term retention backup.", + "operationId": "LongTermRetentionBackups_GetByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "The location of the database.", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionServerName", + "in": "path", + "description": "The name of the server", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionDatabaseName", + "in": "path", + "description": "The name of the database", + "required": true, + "type": "string" + }, + { + "name": "backupName", + "in": "path", + "description": "The backup name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the backup.", + "schema": { + "$ref": "#/definitions/LongTermRetentionBackup" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 InvalidLongTermRetentionBackupId - Invalid long term retention backup identifier.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found." + } + }, + "x-ms-examples": { + "Get the long term retention backup.": { + "$ref": "./examples/ResourceGroupBasedLongTermRetentionBackupGet.json" + } + } + }, + "delete": { + "tags": [ + "LongTermRetentionBackups" + ], + "description": "Deletes a long term retention backup.", + "operationId": "LongTermRetentionBackups_DeleteByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "The location of the database", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionServerName", + "in": "path", + "description": "The name of the server", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionDatabaseName", + "in": "path", + "description": "The name of the database", + "required": true, + "type": "string" + }, + { + "name": "backupName", + "in": "path", + "description": "The backup name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the backup." + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 InvalidLongTermRetentionBackupId - Invalid long term retention backup identifier.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete the long term retention backup.": { + "$ref": "./examples/ResourceGroupBasedLongTermRetentionBackupDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups": { + "get": { + "tags": [ + "LongTermRetentionBackups" + ], + "description": "Lists all long term retention backups for a database.", + "operationId": "LongTermRetentionBackups_ListByResourceGroupDatabase", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "The location of the database", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionServerName", + "in": "path", + "description": "The name of the server", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionDatabaseName", + "in": "path", + "description": "The name of the database", + "required": true, + "type": "string" + }, + { + "name": "onlyLatestPerDatabase", + "in": "query", + "description": "Whether or not to only get the latest backup for each database.", + "required": false, + "type": "boolean" + }, + { + "$ref": "#/parameters/LongTermRetentionDatabaseStateParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of backups.", + "schema": { + "$ref": "#/definitions/LongTermRetentionBackupListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get all long term retention backups under the database.": { + "$ref": "./examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups": { + "get": { + "tags": [ + "LongTermRetentionBackups" + ], + "description": "Lists the long term retention backups for a given location.", + "operationId": "LongTermRetentionBackups_ListByResourceGroupLocation", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "The location of the database", + "required": true, + "type": "string" + }, + { + "name": "onlyLatestPerDatabase", + "in": "query", + "description": "Whether or not to only get the latest backup for each database.", + "required": false, + "type": "boolean" + }, + { + "$ref": "#/parameters/LongTermRetentionDatabaseStateParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of backups.", + "schema": { + "$ref": "#/definitions/LongTermRetentionBackupListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get all long term retention backups under the location.": { + "$ref": "./examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups": { + "get": { + "tags": [ + "LongTermRetentionBackups" + ], + "description": "Lists the long term retention backups for a given server.", + "operationId": "LongTermRetentionBackups_ListByResourceGroupServer", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "The location of the database", + "required": true, + "type": "string" + }, + { + "name": "longTermRetentionServerName", + "in": "path", + "description": "The name of the server", + "required": true, + "type": "string" + }, + { + "name": "onlyLatestPerDatabase", + "in": "query", + "description": "Whether or not to only get the latest backup for each database.", + "required": false, + "type": "boolean" + }, + { + "$ref": "#/parameters/LongTermRetentionDatabaseStateParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of backups.", + "schema": { + "$ref": "#/definitions/LongTermRetentionBackupListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get all long term retention backups under the server.": { + "$ref": "./examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}": { "get": { "tags": [ @@ -67,7 +383,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found." + "description": "*** Error Responses: ***\n\n * 400 InvalidLongTermRetentionBackupId - Invalid long term retention backup identifier.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found." } }, "x-ms-examples": { @@ -123,7 +439,7 @@ "description": "Successfully deleted the backup." }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + "description": "*** Error Responses: ***\n\n * 400 InvalidLongTermRetentionBackupId - Invalid long term retention backup identifier.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" }, "202": { "description": "Accepted" @@ -191,7 +507,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" } }, "x-ms-pageable": { @@ -244,7 +560,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" } }, "x-ms-pageable": { @@ -304,7 +620,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" + "description": "*** Error Responses: ***\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found" } }, "x-ms-pageable": { From 94efc12464d6bcb664ce3e0d9f221555999b1448 Mon Sep 17 00:00:00 2001 From: mahmoudraedhasanmsft <51051053+mahmoudraedhasanmsft@users.noreply.github.com> Date: Mon, 15 Jul 2019 20:56:46 +0300 Subject: [PATCH 275/495] Adding AWS CloudTrail to swagger (#6122) * Adding AWS CloudTrail to swagger * Code review notes * Code review notes * Fixes after merge --- .../2019-01-01-preview/SecurityInsights.json | 55 ++++++++++++++++++- .../GetAmazonWebServicesCloudTrailById.json | 29 ++++++++++ 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index 10ef339a3725..a8ac7197c422 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -924,6 +924,9 @@ }, "Get an AAD data connector.": { "$ref": "./examples/dataConnectors/GetAzureActiveDirectoryById.json" + }, + "Get an AwsCloudTrail data connector.": { + "$ref": "./examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json" } }, "tags": [ @@ -2224,7 +2227,8 @@ "AzureSecurityCenter", "MicrosoftCloudAppSecurity", "ThreatIntelligence", - "Office365" + "Office365", + "AmazonWebServicesCloudTrail" ], "x-ms-enum": { "name": "DataConnectorKind", @@ -2244,6 +2248,9 @@ }, { "value": "Office365" + }, + { + "value": "AmazonWebServicesCloudTrail" } ] } @@ -2363,6 +2370,52 @@ } } }, + "AwsCloudTrailDataConnector": { + "x-ms-discriminator-value": "AmazonWebServicesCloudTrail", + "type": "object", + "description": "Represents Amazon Web Services CloudTrail data connector.", + "allOf": [ + { + "$ref": "#/definitions/DataConnector" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Amazon Web Services CloudTrail data connector properties.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties" + } + } + }, + "AwsCloudTrailDataConnectorProperties": { + "type": "object", + "description": "Amazon Web Services CloudTrail data connector properties.", + "properties": { + "awsRoleArn": { + "type": "string", + "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account." + }, + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes" + } + } + }, + "AwsCloudTrailDataConnectorDataTypes": { + "type": "object", + "description": "The available data types for Amazon Web Services CloudTrail data connector.", + "properties": { + "logs": { + "type": "object", + "description": "Logs data type.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" + } + ] + } + } + }, "AADDataConnector": { "x-ms-discriminator-value": "AzureActiveDirectory", "type": "object", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json new file mode 100644 index 000000000000..b8153e3fe5bb --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", + "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", + "type": "Microsoft.SecurityInsights/dataConnectors", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "kind": "AmazonWebServicesCloudTrail", + "properties": { + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" + } + } + } + } + } + } +} \ No newline at end of file From 5861beaaac22d7dbeb99b022f716f0fd5571ab2c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 15 Jul 2019 14:14:09 -0400 Subject: [PATCH 276/495] chore: jsonfmt alertsmanagement (#6596) --- .../2019-05-05-preview/AlertsManagement.json | 6 +- .../SmartDetectorAlertRulesApi.json | 6 +- .../SmartDetectorAlertRule_Patch.json | 88 ++++++++++--------- 3 files changed, 51 insertions(+), 49 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index 1a440f9f17e7..ed46e4055106 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -2357,8 +2357,8 @@ "type": "string", "description": "Identification of the information to be retrieved by API call", "enum": [ - "MonitorServiceList" - ], + "MonitorServiceList" + ], "x-ms-enum": { "name": "metadataIdentifier", "modelAsString": true @@ -2404,4 +2404,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json index 99e7a6e3d432..0306e06fb2bc 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json @@ -381,7 +381,7 @@ "type": "string", "description": "The resource location.", "default": "global" - }, + }, "tags": { "type": "object", "description": "The resource tags." @@ -447,7 +447,7 @@ "$ref": "#/definitions/AlertRulePatchProperties", "description": "The properties of the alert rule.", "minProperties": 1 - } + } }, "description": "The alert rule patch information" }, @@ -649,4 +649,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json index 81f938cac810..ab4de65dc113 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json @@ -1,48 +1,50 @@ { + "parameters": { + "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", + "resourceGroupName": "MyAlertRules", + "alertRuleName": "MyAlertRule", + "api-version": "2019-06-01", "parameters": { - "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa", - "resourceGroupName": "MyAlertRules", - "alertRuleName": "MyAlertRule", - "api-version": "2019-06-01", - "parameters": { - "tags": {"newKey": "newVal"}, - "properties": { - "description": "New description for patching", - "frequency": "PT1M" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", - "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", - "name": "MyAlertRule", - "location": "global", - "tags": { - "newKey": "newVal" - }, - "properties": { - "description": "New description for patching", - "state": "Enabled", - "severity": "Sev3", - "frequency": "PT1M", - "detector": { - "id": "VMMemoryLeak" - }, - "scope": [ - "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" - ], - "actionGroups": [ - { - "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" - } - ], - "throttling": { - "duration": "PT20M" - } - } + "tags": { + "newKey": "newVal" + }, + "properties": { + "description": "New description for patching", + "frequency": "PT1M" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", + "type": "Microsoft.AlertsManagement/smartDetectorAlertRules", + "name": "MyAlertRule", + "location": "global", + "tags": { + "newKey": "newVal" + }, + "properties": { + "description": "New description for patching", + "state": "Enabled", + "severity": "Sev3", + "frequency": "PT1M", + "detector": { + "id": "VMMemoryLeak" + }, + "scope": [ + "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1" + ], + "actionGroups": [ + { + "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup" } + ], + "throttling": { + "duration": "PT20M" + } } + } } -} \ No newline at end of file + } +} From 9d9ee638387862888a72974c98790a63666d427b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 15 Jul 2019 16:13:29 -0400 Subject: [PATCH 277/495] chore: jsonfmt sql (#6567) --- .../preview/2018-06-01-preview/FailoverDatabases.json | 2 +- .../preview/2018-06-01-preview/FailoverElasticPools.json | 2 +- .../preview/2018-06-01-preview/examples/FailoverDatabase.json | 2 +- .../2018-06-01-preview/examples/FailoverElasticPool.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json index 47d9bffda44c..bccaaed7ea96 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json @@ -161,4 +161,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json index d7b33e3f35c5..4a785ed20927 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json @@ -161,4 +161,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json index 6c6d15e3716e..b058774456bd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json index dc7fa21bb39f..0f1687215bf3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverElasticPool.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} From 23561ae48fbbee21bc94c4329617f76d67292904 Mon Sep 17 00:00:00 2001 From: nitegupt <52762969+nitegupt@users.noreply.github.com> Date: Mon, 15 Jul 2019 14:41:01 -0700 Subject: [PATCH 278/495] Enable sub/nitegupt (#6591) * Add enable subscription api. * Update subscriptions.json --- .../examples/enableSubscription.json | 14 ++++++ .../examples/getOperations.json | 8 ++++ .../2019-03-01-preview/subscriptions.json | 43 +++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json new file mode 100644 index 000000000000..13e4cef06ff4 --- /dev/null +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad", + "api-version": "2019-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" + } + } + } +} + \ No newline at end of file diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json index 230ba7cab4ae..2375fae99481 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json @@ -21,6 +21,14 @@ "resource": "Resources", "operation": "Renames the subscription" } + }, + { + "name": "Microsoft.Subscription/enable/action", + "display": { + "provider": "Microsoft Subscription", + "resource": "Resources", + "operation": "Enables the subscription" + } } ] } diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json index ecd855d7c54f..305a3ba051cc 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json @@ -114,6 +114,39 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": { + "post": { + "operationId": "Subscriptions_Enable", + "x-ms-examples": { + "enableSubscription": { + "$ref": "./examples/enableSubscription.json" + } + }, + "description": "Enables the subscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnabledSubscriptionId" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } } }, "definitions": { @@ -151,6 +184,16 @@ } } }, + "EnabledSubscriptionId": { + "description": "Enabled Subscription Id", + "properties": { + "value": { + "description": "Enabled Subscription Id", + "type": "string", + "readOnly": true + } + } + }, "SubscriptionName": { "type": "object", "description": "New name of the subscription.", From b7dc74edd5a3345b9c0a1484abdb6aaaaa4e6c3f Mon Sep 17 00:00:00 2001 From: erelh Date: Tue, 16 Jul 2019 08:07:04 +0300 Subject: [PATCH 279/495] Add Microsoft.Security applicationWhitelistings API (#6553) * initial commit * Create applicationWhitelistings.json initial commit * Update readme.md * converting from YAML to JSON, changing refs to common types * add examples * fix json * add more rule types * fix semantic issues * fix ascLocation and try fix schema issues * fix arrays definition + json parsing missing comma * change descriptions, uppcase parameters, fix userName casing * restructure * redefine AppWhitelistingGroup object * add "x-ms-parameter-location": "method" and return Azure Resource object in PUT reponse * update PUT example after changing API * add operation ID's * remove location from example, add Executable to fileType * remove location fomr GET GROUP Example * add Whitelistings to custom-words --- custom-words.txt | 1 + .../applicationWhitelistings.json | 524 ++++++++ ...ApplicationWhitelistingsGroup_example.json | 125 ++ ...tionWhitelistingsSubscription_example.json | 1163 +++++++++++++++++ .../PutApplicationWhitelistings_example.json | 220 ++++ .../security/resource-manager/readme.md | 3 + 6 files changed, 2036 insertions(+) create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json create mode 100644 specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json diff --git a/custom-words.txt b/custom-words.txt index a18bdae0d327..563283df46c7 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1495,6 +1495,7 @@ Westlake westus whitelisted Whitelisting +Whitelistings Whois Widevine windowsazuremediaservices diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json new file mode 100644 index 000000000000..5d6b9c76ae7f --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -0,0 +1,524 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2015-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings": { + "get": { + "description": "Gets a list of application control VM/server groups for the subscription.", + "operationId": "AdaptiveApplicationControls_List", + "x-ms-examples": { + "Gets a list of application control VM/server groups for the subscription": { + "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json" + } + }, + "tags": [ + "applicationWhitelistings" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/IncludePathRecommendations" + }, + { + "$ref": "#/parameters/Summary" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroups" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/applicationWhitelistings/{groupName}": { + "get": { + "description": "Gets an application control VM/server group.", + "operationId": "AdaptiveApplicationControls_Get", + "x-ms-examples": { + "Gets a configured application control VM/server group": { + "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json" + } + }, + "tags": [ + "applicationWhitelistings" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/GroupName" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "applicationWhitelistings" + ], + "x-ms-examples": { + "Update an application control VM/server group by adding a new file": { + "$ref": "./examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json" + } + }, + "description": "Update an application control VM/server group", + "operationId": "AdaptiveApplicationControls_Put", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/GroupName" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/AppWhitelistingGroupDataPutDataBody" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "AppWhitelistingGroups": { + "type": "object", + "description": "Represents a list of VM/server groups and set of rules that are Recommended by Azure Security Center to be allowed", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + } + } + }, + "AppWhitelistingGroup": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AppWhitelistingGroupData" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "../../../common/v1/types.json#/definitions/Location" + } + ] + }, + "AppWhitelistingGroupData": { + "type": "object", + "description": "Represents a VM/server group and set of rules that are Recommended by Azure Security Center to be allowed", + "properties": { + "enforcementMode": { + "$ref": "#/definitions/EnforcementMode" + }, + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + }, + "recommendationStatus": { + "$ref": "#/definitions/RecommendationStatus" + }, + "issues": { + "$ref": "#/definitions/AppWhitelistingIssuesSummaries" + }, + "sourceSystem": { + "$ref": "#/definitions/SourceSystem" + }, + "vmRecommendations": { + "$ref": "#/definitions/VmRecommendations" + }, + "pathRecommendations": { + "$ref": "#/definitions/PathRecommendations" + } + } + }, + "AppWhitelistingPutGroupData": { + "type": "object", + "description": "The altered data of the recommended VM/server group policy", + "properties": { + "enforcementMode": { + "$ref": "#/definitions/EnforcementMode" + }, + "vmRecommendations": { + "$ref": "#/definitions/VmRecommendations" + }, + "pathRecommendations": { + "$ref": "#/definitions/PathRecommendations" + } + } + }, + "ConfigurationStatus": { + "type": "string", + "description": "The configuration status of the VM/server group or machine or rule on the machine", + "enum": [ + "Configured", + "NotConfigured", + "InProgress", + "Failed", + "NoStatus" + ] + }, + "EnforcementMode": { + "type": "string", + "description": "The application control policy enforcement mode of the VM/server group", + "enum": [ + "Audit", + "Enforce" + ] + }, + "RecommendationStatus": { + "type": "string", + "description": "The recommendation status of the VM/server group or VM/server", + "enum": [ + "Recommended", + "NotRecommended", + "NotAvailable", + "NoStatus" + ] + }, + "RecommendationAction": { + "type": "string", + "description": "The recommendation action of the VM/server or rule", + "enum": [ + "Recommended", + "Add", + "Remove" + ] + }, + "RecommendationType": { + "type": "string", + "description": "The type of the rule to be allowed", + "enum": [ + "File", + "FileHash", + "PublisherSignature", + "ProductSignature", + "BinarySignature", + "VersionAndAboveSignature" + ] + }, + "AppWhitelistingIssue": { + "type": "string", + "description": "An alert that VMs/servers within a group can have", + "enum": [ + "ViolationsAudited", + "ViolationsBlocked", + "MsiAndScriptViolationsAudited", + "MsiAndScriptViolationsBlocked", + "ExecutableViolationsAudited", + "RulesViolatedManually" + ] + }, + "FileType": { + "type": "string", + "description": "The type of the file (for Linux files - Executable is used)", + "enum": [ + "Exe", + "Dll", + "Msi", + "Script", + "Executable", + "Unknown" + ] + }, + "SourceSystem": { + "type": "string", + "description": "The source type of the VM/server group", + "enum": [ + "Azure_AppLocker", + "Azure_AuditD", + "NonAzure_AppLocker", + "NonAzure_AuditD", + "None" + ] + }, + "AppWhitelistingIssueSummary": { + "type": "object", + "description": "Represents a summary of the alerts of the VM/server group", + "properties": { + "issue": { + "$ref": "#/definitions/AppWhitelistingIssue" + }, + "numberOfVms": { + "type": "number", + "description": "The number of machines in the VM/server group that have this alert" + } + } + }, + "AppWhitelistingIssuesSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/AppWhitelistingIssueSummary" + } + }, + "VmRecommendations": { + "type": "array", + "items": { + "$ref": "#/definitions/VmRecommendation" + } + }, + "VmRecommendation": { + "type": "object", + "description": "Represents a machine that is part of a VM/server group", + "properties": { + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + }, + "recommendationAction": { + "$ref": "#/definitions/RecommendationAction" + }, + "resourceId": { + "$ref": "#/definitions/VmResourceId" + } + } + }, + "PublisherInfo": { + "type": "object", + "description": "Represents the publisher information of a process/rule", + "properties": { + "publisherName": { + "type": "string", + "description": "The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country", + "example": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US" + }, + "productName": { + "type": "string", + "description": "The product name taken from the file's version resource", + "example": "GOOGLE CHROME" + }, + "binaryName": { + "type": "string", + "description": "The \"OriginalName\" field taken from the file's version resource", + "example": "CHROME.EXE" + }, + "version": { + "type": "string", + "description": "The binary file version taken from the file's version resource", + "example": "66.0.3359.139" + } + } + }, + "UserRecommendation": { + "type": "object", + "description": "Represents a user that is recommended to be allowed for a certain rule", + "properties": { + "username": { + "type": "string", + "description": "Represents a user that is recommended to be allowed for a certain rule", + "example": "LOCAL SYSTEM" + }, + "recommendationAction": { + "$ref": "#/definitions/RecommendationAction" + } + } + }, + "PathRecommendations": { + "type": "array", + "items": { + "$ref": "#/definitions/PathRecommendation" + } + }, + "PathRecommendation": { + "type": "object", + "description": "Represents a path that is recommended to be allowed and its properties", + "properties": { + "path": { + "type": "string", + "description": "The full path to whitelist", + "example": "C:\\Windows\\System32\\calc.exe" + }, + "action": { + "$ref": "#/definitions/RecommendationAction" + }, + "type": { + "$ref": "#/definitions/RecommendationType" + }, + "publisherInfo": { + "$ref": "#/definitions/PublisherInfo" + }, + "common": { + "type": "boolean", + "description": "Whether the path is commonly run on the machine" + }, + "userSids": { + "type": "array", + "items": { + "type": "string", + "description": "A security identifier", + "example": "S-1-5-18" + } + }, + "usernames": { + "type": "array", + "items": { + "$ref": "#/definitions/UserRecommendation" + } + }, + "fileType": { + "$ref": "#/definitions/FileType" + }, + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + } + } + }, + "GroupResourceId": { + "type": "string", + "description": "The azure resource id of the application control VM/server group", + "example": "/subscriptions/12345678-1234-1234-1234-123456789123/providers/Microsoft.Security/applicationWhitelistings/GROUP1" + }, + "VmResourceId": { + "type": "string", + "description": "The full azure resource id of the machine", + "example": "/subscriptions/12345678-1234-1234-1234-123456789123/resourcegroups/group/providers/microsoft.compute/virtualmachines/vm" + }, + "AppWhitelistingResourceType": { + "type": "string", + "description": "The resource type of the application control resources", + "example": "Microsoft.Security/applicationWhitelistings" + } + }, + "parameters": { + "GroupName": { + "name": "groupName", + "in": "path", + "description": "Name of an application control VM/server group", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "IncludePathRecommendations": { + "name": "includePathRecommendations", + "in": "query", + "description": "Include the policy rules", + "type": "boolean", + "required": false, + "enum": [ + false, + true + ], + "x-ms-parameter-location": "method" + }, + "Summary": { + "name": "summary", + "in": "query", + "description": "Return output in a summarized form", + "type": "boolean", + "required": false, + "enum": [ + false, + true + ], + "x-ms-parameter-location": "method" + }, + "AppWhitelistingGroupDataPutDataBody": { + "in": "body", + "name": "body", + "description": "The updated VM/server group data", + "required": true, + "schema": { + "$ref": "#/definitions/AppWhitelistingPutGroupData" + }, + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json new file mode 100644 index 000000000000..f3470bf7fbe9 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "ascLocation": "centralus", + "groupName": "ERELGROUP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json new file mode 100644 index 000000000000..642bc1976700 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json @@ -0,0 +1,1163 @@ +{ + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "includePathRecommendations": true, + "summary": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/AMIT-VA", + "name": "AMIT-VA", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14011", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/amit-va/providers/microsoft.compute/virtualmachines/ream-test", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14060", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "C:\\Windows\\SoftwareDistribution\\Download\\Install\\Windows-KB890830-x64-V5.53-delta.exe", + "type": "File", + "common": true, + "action": "Remove", + "usernames": [ + { + "username": "LOCAL SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18" + ], + "fileType": "Exe", + "configurationStatus": "NoStatus" + }, + { + "path": "C:\\WindowsAzure\\GuestAgent_2.7.1198.822\\CollectGuestLogs.exe", + "type": "File", + "common": true, + "action": "Remove", + "usernames": [ + { + "username": "LOCAL SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18" + ], + "fileType": "Exe", + "configurationStatus": "NoStatus" + }, + { + "path": "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18", + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP1", + "name": "GROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm-jit", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/myresourcegroup/providers/microsoft.compute/virtualmachines/myvmweb", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14061", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%PROGRAMFILES%\\RAPID7\\INSIGHT AGENT\\COMPONENTS\\INSIGHT_AGENT\\2.6.7.9\\GET_PROXY.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=RAPID7 LLC, L=BOSTON, S=MASSACHUSETTS, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%PROGRAMFILES%\\GOOGLE\\CHROME\\APPLICATION\\CHROME.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "O=GOOGLE LLC, L=MOUNTAIN VIEW, S=CA, C=US", + "productName": "GOOGLE CHROME", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US\\GOOGLE UPDATE\\*\\0.0.0.0", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US", + "productName": "GOOGLE UPDATE", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP2-RE", + "name": "GROUP2-RE", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanjittest/providers/microsoft.compute/virtualmachines/matansourcejit", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14010", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16091", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\bla.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/BENJITGROUP13", + "name": "BENJITGROUP13", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test3", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP1", + "name": "GROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/nic-no-pip/providers/microsoft.compute/virtualmachines/nic-no-pip-vm", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "/sbin/init", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-udev-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/lib/systemd/systemd-udevd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-socket-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/dhclient", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/python3.4", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-file-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/dbus-daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "messagebus", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/lib/systemd/systemd-logind", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/getty", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/atd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/cron", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/acpid", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/sshd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_vss_daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_kvp_daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/nscd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "unscd", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/ntpd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "ntp", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/auoms/bin/auomscollect", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiserver", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiengine", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omi", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiagent", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/rsyslogd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "syslog", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/python2.7", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + }, + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/omsagent/ruby/bin/ruby", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/auoms/bin/auoms", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/local/qualys/cloud-agent/bin/qualys-cloud-agent", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/dash", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + }, + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/sleep", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/dsc/bin/dsc_host", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/sudo", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/bash", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/apt-get", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/http", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/gpgv", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/copy", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/pgrep", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/omsconfig/bin/omsconsistencyinvoker", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [ + { + "issue": "ExecutableViolationsAudited", + "numberOfVms": 1 + } + ], + "sourceSystem": "Azure_AuditD" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP2", + "name": "GROUP2", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test1", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json new file mode 100644 index 000000000000..1e3ea50dea1f --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json @@ -0,0 +1,220 @@ +{ + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "groupName": "ERELGROUP1", + "ascLocation": "centralus", + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "name": "ERELGROUP1", + "properties": { + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "action": "Add", + "type": "File", + "common": true + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "NotConfigured" + } + ], + "configurationStatus": "InProgress", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index b2a88a1c3763..d7a2879d54a9 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -67,6 +67,7 @@ input-file: - Microsoft.Security/preview/2015-06-01-preview/alerts.json - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/topologies.json - Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json @@ -99,6 +100,7 @@ input-file: - Microsoft.Security/stable/2019-01-01/alerts.json - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/topologies.json - Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json @@ -123,6 +125,7 @@ input-file: - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json - Microsoft.Security/preview/2015-06-01-preview/locations.json - Microsoft.Security/preview/2015-06-01-preview/operations.json - Microsoft.Security/preview/2015-06-01-preview/tasks.json From 0344596b654f1933f5d5e4a60005f6f97fea6a91 Mon Sep 17 00:00:00 2001 From: Amal Joe Gladwin Maria Antony Date: Tue, 16 Jul 2019 11:37:26 +0530 Subject: [PATCH 280/495] Adding Swagger for Microsoft.DevOps/Pipelines resource (#6615) * Adding Swagger for Microsoft.DevOps/Pipelines resource. * Updating the namespace & output folders as per the recommendation. --- .../preview/2019-07-01-preview/devops.json | 870 ++++++++++++++++++ ...ePipeline-Sample-AspNet-WindowsWebApp.json | 74 ++ .../examples/DeleteAzurePipeline.json | 16 + .../examples/GetAzurePipeline.json | 41 + .../ListAzurePipelinesByResourceGroup.json | 44 + .../ListAzurePipelinesBySubscription.json | 71 ++ .../examples/ListOperations.json | 64 ++ .../ListPipelineTemplateDefinitions.json | 107 +++ .../examples/UpdateAzurePipeline.json | 49 + .../devops/resource-manager/readme.csharp.md | 15 + .../devops/resource-manager/readme.go.md | 19 + .../devops/resource-manager/readme.md | 79 ++ .../devops/resource-manager/readme.python.md | 21 + .../devops/resource-manager/readme.ruby.md | 19 + .../resource-manager/readme.typescript.md | 13 + 15 files changed, 1502 insertions(+) create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json create mode 100644 specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json create mode 100644 specification/devops/resource-manager/readme.csharp.md create mode 100644 specification/devops/resource-manager/readme.go.md create mode 100644 specification/devops/resource-manager/readme.md create mode 100644 specification/devops/resource-manager/readme.python.md create mode 100644 specification/devops/resource-manager/readme.ruby.md create mode 100644 specification/devops/resource-manager/readme.typescript.md diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json new file mode 100644 index 000000000000..bc31ef4079df --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json @@ -0,0 +1,870 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure DevOps", + "description": "Azure DevOps Resource Provider", + "version": "2019-07-01-preview", + "x-ms-code-generation-settings": { + "name": "DevOpsClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DevOps/operations": { + "get": { + "operationId": "Operations_List", + "description": "Lists all the operations supported by Microsoft.DevOps resource provider.", + "tags": [ + "Operations" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of supported operations has been fetched successfully.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get a list of operations supported by Microsoft.DevOps resource provider": { + "$ref": "./examples/ListOperations.json" + } + } + } + }, + "/providers/Microsoft.DevOps/pipelineTemplateDefinitions": { + "get": { + "tags": [ + "PipelineTemplateDefinitions" + ], + "operationId": "PipelineTemplateDefinitions_List", + "description": "Lists all pipeline templates which can be used to configure an Azure Pipeline.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "The pipeline template definitions have been fetched successfully.", + "schema": { + "$ref": "#/definitions/PipelineTemplateDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get the list of pipeline template definitions": { + "$ref": "./examples/ListPipelineTemplateDefinitions.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines/{pipelineName}": { + "put": { + "operationId": "Pipelines_CreateOrUpdate", + "description": "Creates or updates an Azure Pipeline.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "pipelineName", + "description": "The name of the Azure Pipeline resource in ARM.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + { + "name": "createOperationParameters", + "description": "The request payload to create the Azure Pipeline.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Pipeline" + } + } + ], + "responses": { + "202": { + "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously." + }, + "200": { + "description": "The Azure Pipeline has been configured successfully.", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create an Azure pipeline to deploy a sample ASP.Net application to Azure web-app": { + "$ref": "./examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json" + } + } + }, + "get": { + "operationId": "Pipelines_Get", + "description": "Gets an existing Azure Pipeline.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "pipelineName", + "description": "The name of the Azure Pipeline resource in ARM.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "The Azure Pipeline has been fetched successfully.", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get an existing Azure pipeline": { + "$ref": "./examples/GetAzurePipeline.json" + } + } + }, + "patch": { + "operationId": "Pipelines_Update", + "description": "Updates the properties of an Azure Pipeline. Currently, only tags can be updated.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "pipelineName", + "description": "The name of the Azure Pipeline resource.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + { + "name": "updateOperationParameters", + "description": "The request payload containing the properties to update in the Azure Pipeline.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Azure Pipeline has been updated successfully.", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get an existing Azure pipeline": { + "$ref": "./examples/UpdateAzurePipeline.json" + } + } + }, + "delete": { + "operationId": "Pipelines_Delete", + "description": "Deletes an Azure Pipeline.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "pipelineName", + "description": "The name of the Azure Pipeline resource.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "The Azure Pipeline has been deleted successfully." + }, + "204": { + "description": "The Azure Pipeline is not found or has been deleted already." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get an existing Azure pipeline": { + "$ref": "./examples/DeleteAzurePipeline.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines": { + "get": { + "operationId": "Pipelines_ListByResourceGroup", + "description": "Lists all Azure Pipelines under the specified resource group.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Azure Pipelines have been fetched successfully.", + "schema": { + "$ref": "#/definitions/PipelineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all Azure Pipelines under the specified resource group": { + "$ref": "./examples/ListAzurePipelinesByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DevOps/pipelines": { + "get": { + "operationId": "Pipelines_ListBySubscription", + "description": "Lists all Azure Pipelines under the specified subscription.", + "tags": [ + "Pipelines" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Azure Pipelines have been fetched successfully.", + "schema": { + "$ref": "#/definitions/PipelineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all Azure pipelines under the specified subscription": { + "$ref": "./examples/ListAzurePipelinesBySubscription.json" + } + } + } + } + }, + "definitions": { + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "Details of the error from the Pipelines Resource Provider.", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "description": "An error response from the Pipelines Resource Provider." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error or the method where the error occurred." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Pipelines Resource Provider." + }, + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of operations supported by Microsoft.DevOps resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operations, if there are any." + } + }, + "description": "Result of a request to list all operations supported by Microsoft.DevOps resource provider." + }, + "Operation": { + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the operation." + }, + "isDataAction": { + "type": "string", + "description": "Indicates whether the operation applies to data-plane." + }, + "display": { + "description": "Display information of the operation.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationDisplayValue" + } + }, + "description": "Properties of an Operation." + }, + "OperationDisplayValue": { + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "Friendly name of the operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Friendly name of the resource type the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Friendly description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "Friendly name of the resource provider." + } + }, + "description": "Display information of an operation." + }, + "PipelineTemplateDefinitionListResult": { + "type": "object", + "description": "Result of a request to list all pipeline template definitions.", + "properties": { + "value": { + "description": "List of pipeline template definitions.", + "type": "array", + "items": { + "$ref": "#/definitions/PipelineTemplateDefinition" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of pipeline template definitions, if there are any." + } + } + }, + "PipelineTemplateDefinition": { + "type": "object", + "description": "Definition of a pipeline template.", + "properties": { + "id": { + "description": "Unique identifier of the pipeline template.", + "type": "string" + }, + "description": { + "description": "Description of the pipeline enabled by the template.", + "type": "string" + }, + "inputs": { + "description": "List of input parameters required by the template to create a pipeline.", + "type": "array", + "items": { + "$ref": "#/definitions/InputDescriptor" + } + } + }, + "required": [ + "id" + ] + }, + "InputDescriptor": { + "type": "object", + "description": "Representation of a pipeline template input parameter.", + "properties": { + "id": { + "description": "Identifier of the input parameter.", + "type": "string" + }, + "description": { + "description": "Description of the input parameter.", + "type": "string" + }, + "type": { + "description": "Data type of the value of the input parameter.", + "type": "string", + "enum": [ + "String", + "SecureString", + "Int", + "Bool", + "Authorization" + ], + "x-ms-enum": { + "name": "InputDataType", + "modelAsString": true + } + }, + "possibleValues": { + "description": "List of possible values for the input parameter.", + "type": "array", + "items": { + "$ref": "#/definitions/InputValue" + } + } + }, + "required": [ + "id", + "type" + ] + }, + "InputValue": { + "type": "object", + "description": "Representation of a pipeline template input parameter value.", + "properties": { + "value": { + "description": "Value of an input parameter.", + "type": "string" + }, + "displayValue": { + "description": "Description of the input parameter value.", + "type": "string" + } + } + }, + "Pipeline": { + "type": "object", + "description": "Azure DevOps Pipeline used to configure Continuous Integration (CI) & Continuous Delivery (CD) for Azure resources.", + "properties": { + "properties": { + "$ref": "#/definitions/PipelineProperties", + "description": "Custom properties of the Pipeline.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "required": [ + "properties" + ] + }, + "PipelineProperties": { + "type": "object", + "description": "Custom properties of a Pipeline.", + "properties": { + "pipelineId": { + "type": "integer", + "readOnly": true, + "description": "Unique identifier of the Azure Pipeline within the Azure DevOps Project." + }, + "organization": { + "$ref": "#/definitions/OrganizationReference", + "description": "Reference to the Azure DevOps Organization containing the Pipeline." + }, + "project": { + "$ref": "#/definitions/ProjectReference", + "description": "Reference to the Azure DevOps Project containing the Pipeline." + }, + "bootstrapConfiguration": { + "$ref": "#/definitions/BootstrapConfiguration", + "description": "Configuration used to bootstrap the Pipeline." + } + }, + "required": [ + "organization", + "project", + "bootstrapConfiguration" + ] + }, + "OrganizationReference": { + "type": "object", + "description": "Reference to an Azure DevOps Organization.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Unique immutable identifier for the Azure DevOps Organization." + }, + "name": { + "type": "string", + "description": "Name of the Azure DevOps Organization." + } + }, + "required": [ + "name" + ] + }, + "ProjectReference": { + "type": "object", + "description": "Reference to an Azure DevOps Project.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Unique immutable identifier of the Azure DevOps Project." + }, + "name": { + "type": "string", + "description": "Name of the Azure DevOps Project." + } + }, + "required": [ + "name" + ] + }, + "BootstrapConfiguration": { + "type": "object", + "description": "Configuration used to bootstrap a Pipeline.", + "properties": { + "repository": { + "$ref": "#/definitions/CodeRepository", + "description": "Repository containing the source code for the pipeline." + }, + "template": { + "$ref": "#/definitions/PipelineTemplate", + "description": "Template used to bootstrap the pipeline." + } + }, + "required": [ + "template" + ] + }, + "CodeRepository": { + "type": "object", + "description": "Repository containing the source code for a pipeline.", + "properties": { + "repositoryType": { + "description": "Type of code repository.", + "type": "string", + "enum": [ + "gitHub", + "vstsGit" + ], + "x-ms-enum": { + "name": "CodeRepositoryType", + "modelAsString": true + } + }, + "id": { + "description": "Unique immutable identifier of the code repository.", + "type": "string" + }, + "defaultBranch": { + "description": "Default branch used to configure Continuous Integration (CI) in the pipeline.", + "type": "string" + }, + "authorization": { + "description": "Authorization info to access the code repository.", + "$ref": "#/definitions/Authorization" + }, + "properties": { + "description": "Repository-specific properties.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-client-flatten": true + } + }, + "required": [ + "repositoryType", + "id", + "defaultBranch" + ] + }, + "Authorization": { + "description": "Authorization info used to access a resource (like code repository).", + "type": "object", + "properties": { + "authorizationType": { + "description": "Type of authorization.", + "type": "string", + "enum": [ + "personalAccessToken" + ], + "x-ms-enum": { + "name": "AuthorizationType", + "modelAsString": true + } + }, + "parameters": { + "description": "Authorization parameters corresponding to the authorization type.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "authorizationType" + ] + }, + "PipelineTemplate": { + "type": "object", + "description": "Template used to bootstrap the pipeline.", + "properties": { + "id": { + "type": "string", + "description": "Unique identifier of the pipeline template." + }, + "parameters": { + "type": "object", + "description": "Dictionary of input parameters used in the pipeline template.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "id" + ] + }, + "Resource": { + "type": "object", + "description": "An Azure Resource Manager (ARM) resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource Tags" + }, + "location": { + "type": "string", + "description": "Resource Location" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + } + }, + "x-ms-azure-resource": true + }, + "PipelineUpdateParameters": { + "type": "object", + "description": "Request payload used to update an existing Azure Pipeline.", + "properties": { + "tags": { + "type": "object", + "description": "Dictionary of key-value pairs to be set as tags on the Azure Pipeline. This will overwrite any existing tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PipelineListResult": { + "description": "Result of a request to list all Azure Pipelines under a given scope.", + "properties": { + "value": { + "description": "List of pipelines.", + "type": "array", + "items": { + "$ref": "#/definitions/Pipeline" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of Pipelines, if there are any." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the resource group within the Azure subscription.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version to be used with the HTTP request." + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json new file mode 100644 index 000000000000..e05cee970f18 --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myAspNetWebAppPipeline-rg", + "pipelineName": "myAspNetWebAppPipeline", + "api-version": "2019-07-01-preview", + "createOperationParameters": { + "location": "South India", + "tags": {}, + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": "{\"scheme\":\"ServicePrincipal\",\"parameters\":{\"tenantid\":\"{subscriptionTenantId}\",\"objectid\":\"{appObjectId}\",\"serviceprincipalid\":\"{appId}\",\"serviceprincipalkey\":\"{appSecret}\"}}" + } + } + } + } + } + }, + "responses": { + "202": { + "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline/operations/{operationId}", + "retry-after": "5" + } + }, + "200": { + "description": "The Azure Pipeline has been configured successfully.", + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", + "name": "myAspNetWebAppPipeline", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json new file mode 100644 index 000000000000..87a96b97812a --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myAspNetWebAppPipeline-rg", + "pipelineName": "myAspNetWebAppPipeline", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The Azure Pipeline has been deleted successfully." + }, + "204": { + "description": "The Azure Pipeline is not found or has been deleted already." + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json new file mode 100644 index 000000000000..aa613a86e660 --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myAspNetWebAppPipeline-rg", + "pipelineName": "myAspNetWebAppPipeline", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The Azure Pipeline has been configured successfully.", + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", + "name": "myAspNetWebAppPipeline", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json new file mode 100644 index 000000000000..4a94831d096d --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myAspNetWebAppPipeline-rg", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The Azure Pipelines has been fetched successfully.", + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", + "name": "myAspNetWebAppPipeline", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + } + ] + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json new file mode 100644 index 000000000000..286f050960cd --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The Azure Pipelines have been fetched successfully.", + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", + "name": "myAspNetWebAppPipeline", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg1/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline1", + "name": "myAspNetWebAppPipeline1", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org1" + }, + "project": { + "name": "myAspNetWebAppPipeline-project1" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + } + ] + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json new file mode 100644 index 000000000000..94b99e0ce784 --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The list of supported operations has been fetched successfully.", + "body": { + "value": [ + { + "name": "Microsoft.DevOps/register/action", + "isDataAction": "false", + "display": { + "provider": "Microsoft DevOps", + "resource": "register", + "operation": "Register for Microsoft.DevOps", + "description": "Registers the specified subscription with Microsoft.DevOps resource provider and enables the creation of Pipelines" + } + }, + { + "name": "Microsoft.DevOps/pipelines/write", + "isDataAction": "false", + "display": { + "provider": "Microsoft DevOps", + "resource": "Pipelines", + "operation": "Create or Update Pipeline", + "description": "Creates or Updates any Pipeline" + } + }, + { + "name": "Microsoft.DevOps/pipelines/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft DevOps", + "resource": "Pipelines", + "operation": "Read Pipeline", + "description": "Reads any Pipeline" + } + }, + { + "name": "Microsoft.DevOps/pipelines/delete", + "isDataAction": "false", + "display": { + "provider": "Microsoft DevOps", + "resource": "Pipelines", + "operation": "Delete Pipeline", + "description": "Deletes any Pipeline" + } + }, + { + "name": "Microsoft.DevOps/pipelineTemplateDefinitions/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft DevOps", + "resource": "PipelineTemplateDefinitions", + "operation": "Read PipelineTemplateDefinition", + "description": "Reads any PipelineTemplateDefinition" + } + } + ] + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json new file mode 100644 index 000000000000..75e8bfc6863f --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "description": "The pipeline template definitions have been fetched successfully.", + "body": { + "value": [ + { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "description": "Template for configuring CI/CD pipeline for ASP.Net app on Azure windows app service", + "inputs": [ + { + "id": "azureAuth", + "description": "Authorization for Azure ARM endpoints.", + "type": "String", + "possibleValues": [] + }, + { + "id": "subscriptionId", + "description": "Id of subscription where azure resources will be created.", + "type": "String", + "possibleValues": [] + }, + { + "id": "resourceGroup", + "description": "A resource group is a collection of resources that share the same lifecycle, permissions, and policies. Name of resource group which should contain web app.", + "type": "String", + "possibleValues": [] + }, + { + "id": "webAppName", + "description": "Name of web app to be created", + "type": "String", + "possibleValues": [] + }, + { + "id": "location", + "description": "Choose the Azure region that's right for you and your customers.", + "type": "String", + "possibleValues": [] + }, + { + "id": "appServicePlan", + "description": "Details of cost and compute resource associated with the web app", + "type": "String", + "possibleValues": [ + { + "value": "P1 Premium", + "displayValue": "P1 Premium (1 Core, 1.75 GB RAM)" + }, + { + "value": "P2 Premium", + "displayValue": "P2 Premium (2 Core, 3.5 GB RAM)" + }, + { + "value": "P3 Premium", + "displayValue": "P3 Premium (4 Core, 7 GB RAM)" + }, + { + "value": "S1 Standard", + "displayValue": "S1 Standard (1 Core, 1.75 GB RAM)" + }, + { + "value": "S2 Standard", + "displayValue": "S2 Standard (2 Core, 3.5 GB RAM)" + }, + { + "value": "S3 Standard", + "displayValue": "S3 Standard (4 Core, 7 GB RAM)" + }, + { + "value": "B1 Basic", + "displayValue": "B1 Basic (1 Core, 1.75 GB RAM)" + }, + { + "value": "B2 Basic", + "displayValue": "B2 Basic (2 Core, 3.5 GB RAM)" + }, + { + "value": "B3 Basic", + "displayValue": "B3 Basic (4 Core, 7 GB RAM)" + }, + { + "value": "F1 Free", + "displayValue": "F1 Free" + }, + { + "value": "D1 Shared", + "displayValue": "D1 Shared" + } + ] + }, + { + "id": "appInsightLocation", + "description": "Collect application monitoring data using Application Insights.", + "type": "String", + "possibleValues": [] + } + ] + } + ] + } + } + } +} diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json new file mode 100644 index 000000000000..edbd23b28942 --- /dev/null +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myAspNetWebAppPipeline-rg", + "pipelineName": "myAspNetWebAppPipeline", + "api-version": "2019-07-01-preview", + "updateOperationParameters": { + "tags": { + "tagKey": "tagvalue" + } + } + }, + "responses": { + "200": { + "description": "The Azure Pipeline has been updated successfully.", + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", + "name": "myAspNetWebAppPipeline", + "type": "Microsoft.DevOps/pipelines", + "location": "South India", + "tags": { + "tagKey": "tagvalue" + }, + "properties": { + "organization": { + "name": "myAspNetWebAppPipeline-org" + }, + "project": { + "name": "myAspNetWebAppPipeline-project" + }, + "bootstrapConfiguration": { + "template": { + "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroup": "myAspNetWebAppPipeline-rg", + "webAppName": "myAspNetWebApp", + "location": "South India", + "appServicePlan": "S1 Standard", + "appInsightLocation": "South India", + "azureAuth": null + } + } + } + } + } + } + } +} diff --git a/specification/devops/resource-manager/readme.csharp.md b/specification/devops/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..e57eee4b0e72 --- /dev/null +++ b/specification/devops/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.Azure.Management.DevOps + output-folder: $(csharp-sdks-folder)/devops/Microsoft.Azure.Management.DevOps/src/Generated +``` diff --git a/specification/devops/resource-manager/readme.go.md b/specification/devops/resource-manager/readme.go.md new file mode 100644 index 000000000000..4df0fc2fc176 --- /dev/null +++ b/specification/devops/resource-manager/readme.go.md @@ -0,0 +1,19 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Tag: package-2019-07-01-preview and go + +These settings apply only when `--tag=package-2019-07-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2019-07-01-preview' && $(go) +namespace: devops +output-folder: $(go-sdks-folder)/services/preview/$(namespace)/mgmt/2019-07-01-preview/$(namespace) +``` diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md new file mode 100644 index 000000000000..01c7c41be5f2 --- /dev/null +++ b/specification/devops/resource-manager/readme.md @@ -0,0 +1,79 @@ +# devops + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for devops. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the devops. + +```yaml +openapi-type: arm +tag: package-2019-07-01-preview +``` + +### Tag: package-2019-07-01-preview + +These settings apply only when `--tag=package-2019-07-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2019-07-01-preview' +input-file: + - Microsoft.DevOps/preview/2019-07-01-preview/devops.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_devops'] +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/devops/resource-manager/readme.python.md b/specification/devops/resource-manager/readme.python.md new file mode 100644 index 000000000000..d8329e41d90e --- /dev/null +++ b/specification/devops/resource-manager/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.devops + package-name: azure-mgmt-devops + package-version: 2019-07-01-preview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/devops/azure-mgmt-devops/azure/mgmt/devops +``` diff --git a/specification/devops/resource-manager/readme.ruby.md b/specification/devops/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..3522830affc4 --- /dev/null +++ b/specification/devops/resource-manager/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_devops +package-version: 2019-07-01-preview +azure-arm: true +``` + +### Tag: package-2019-07-01-preview and ruby + +These settings apply only when `--tag=package-2019-07-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2019-07-01-preview' && $(ruby) +namespace: Azure::DevOps::Mgmt::V2019_07_01_preview +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_devops/lib +``` diff --git a/specification/devops/resource-manager/readme.typescript.md b/specification/devops/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..e6d6211f234a --- /dev/null +++ b/specification/devops/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-devops" + output-folder: "$(typescript-sdks-folder)/sdk/devops/arm-devops" + payload-flattening-threshold: 1 + generate-metadata: true +``` From 6cb2a6649cb092491e65599fcf024e48e314477f Mon Sep 17 00:00:00 2001 From: tezhangmsvan <51929944+tezhangmsvan@users.noreply.github.com> Date: Mon, 15 Jul 2019 23:42:19 -0700 Subject: [PATCH 281/495] Add SSIS changes (#6577) * Add SSIS changes * Add MigrateSsisTask in readme --- .../ConnectToSourceSqlServerTask.json | 10 + .../definitions/ConnectToTargetSqlMITask.json | 15 ++ .../definitions/MigrateSsisTask.json | 178 ++++++++++++++++++ .../2018-07-15-preview/definitions/Tasks.json | 24 +++ .../definitions/TasksCommon.json | 55 ++++++ .../datamigration/resource-manager/readme.md | 1 + 6 files changed, 283 insertions(+) create mode 100644 specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json index 292e118e49e8..8a573d43aafe 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json @@ -29,6 +29,11 @@ "$ref": "./Common.json#/definitions/ServerLevelPermissionsGroup", "description": "Permission group for validations" }, + "collectDatabases": { + "type": "boolean", + "description": "Flag for whether to collect databases from source server.", + "default": true + }, "collectLogins": { "type": "boolean", "description": "Flag for whether to collect logins from source server.", @@ -43,6 +48,11 @@ "type": "boolean", "description": "Flag for whether to collect TDE Certificate names from source server.", "default": false + }, + "validateSsisCatalogOnly": { + "type": "boolean", + "description": "Flag for whether to validate SSIS catalog is reachable on the source server.", + "default": false } }, "required": [ diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json index 71a8f095ae91..90d9acf66450 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json @@ -24,6 +24,21 @@ "targetConnectionInfo": { "description": "Connection information for target SQL Server", "$ref": "./Common.json#/definitions/SqlConnectionInfo" + }, + "collectLogins": { + "type": "boolean", + "description": "Flag for whether to collect logins from target SQL MI server.", + "default": true + }, + "collectAgentJobs": { + "type": "boolean", + "description": "Flag for whether to collect agent jobs from target SQL MI server.", + "default": true + }, + "validateSsisCatalogOnly": { + "type": "boolean", + "description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server.", + "default": false } }, "required": [ diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json new file mode 100644 index 000000000000..38df9713771b --- /dev/null +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json @@ -0,0 +1,178 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Database Migration Service Resource Provider", + "version": "2018-07-15-preview" + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "MigrateSsisTaskInput": { + "type": "object", + "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.", + "allOf": [ + { + "$ref": "./TasksCommon.json#/definitions/SqlMigrationTaskInput" + } + ], + "properties": { + "ssisMigrationInfo": { + "$ref": "./TasksCommon.json#/definitions/SsisMigrationInfo", + "description": "SSIS package migration information." + } + }, + "required": [ + "ssisMigrationInfo" + ] + }, + "MigrateSsisTaskOutput": { + "type": "object", + "description": "Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.", + "properties": { + "id": { + "type": "string", + "description": "Result identifier", + "readOnly": true + }, + "resultType": { + "description": "Result type", + "type": "string", + "readOnly": true + } + }, + "discriminator": "resultType" + }, + "MigrateSsisTaskOutputMigrationLevel": { + "type": "object", + "x-ms-discriminator-value": "MigrationLevelOutput", + "properties": { + "startedOn": { + "type": "string", + "format": "date-time", + "description": "Migration start time", + "readOnly": true + }, + "endedOn": { + "type": "string", + "format": "date-time", + "description": "Migration end time", + "readOnly": true + }, + "status": { + "$ref": "TasksCommon.json#/definitions/MigrationStatus", + "description": "Current status of migration", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Migration progress message", + "readOnly": true + }, + "sourceServerVersion": { + "type": "string", + "description": "Source server version", + "readOnly": true + }, + "sourceServerBrandVersion": { + "type": "string", + "description": "Source server brand version", + "readOnly": true + }, + "targetServerVersion": { + "type": "string", + "description": "Target server version", + "readOnly": true + }, + "targetServerBrandVersion": { + "type": "string", + "description": "Target server brand version", + "readOnly": true + }, + "exceptionsAndWarnings": { + "description": "Migration exceptions and warnings.", + "type": "array", + "items": { + "$ref": "./Common.json#/definitions/ReportableException" + }, + "readOnly": true + }, + "stage": { + "description": "Stage of SSIS migration.", + "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrateSsisTaskOutput" + } + ] + }, + "MigrateSsisTaskOutputProjectLevel": { + "type": "object", + "x-ms-discriminator-value": "SsisProjectLevelOutput", + "properties": { + "folderName": { + "type": "string", + "description": "Name of the folder", + "readOnly": true + }, + "projectName": { + "type": "string", + "description": "Name of the project", + "readOnly": true + }, + "state": { + "$ref": "./TasksCommon.json#/definitions/MigrationState", + "description": "Current state of migration", + "readOnly": true + }, + "stage": { + "description": "Stage of SSIS migration.", + "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage", + "readOnly": true + }, + "startedOn": { + "type": "string", + "format": "date-time", + "description": "Migration start time", + "readOnly": true + }, + "endedOn": { + "type": "string", + "format": "date-time", + "description": "Migration end time", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Migration progress message", + "readOnly": true + }, + "exceptionsAndWarnings": { + "description": "Migration exceptions and warnings", + "type": "array", + "items": { + "$ref": "Common.json#/definitions/ReportableException" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrateSsisTaskOutput" + } + ] + } + } +} diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json index e3888fafd076..eaa4d7462ec0 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json @@ -824,6 +824,30 @@ "$ref": "#/definitions/ProjectTaskProperties" } ] + }, + "MigrateSsisTaskProperties": { + "x-ms-discriminator-value": "Migrate.Ssis", + "type": "object", + "description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance.", + "properties": { + "input": { + "description": "Task input", + "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskInput" + }, + "output": { + "description": "Task output. This is ignored if submitted.", + "type": "array", + "items": { + "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskOutput" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + } + ] } } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json index b638c99db158..aebe0e18411a 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json @@ -1182,6 +1182,61 @@ "name": "DatabaseMigrationState", "modelAsString": true } + }, + "SsisMigrationInfo": { + "type": "object", + "description": "SSIS migration info with SSIS store type, overwrite policy.", + "properties": { + "ssisStoreType": { + "$ref": "#/definitions/SsisStoreType", + "description": "The SSIS store type of source, only SSIS catalog is supported now in DMS" + }, + "projectOverwriteOption": { + "$ref": "#/definitions/SsisMigrationOverwriteOption", + "description": "The overwrite option for the SSIS project migration" + }, + "environmentOverwriteOption": { + "$ref": "#/definitions/SsisMigrationOverwriteOption", + "description": "The overwrite option for the SSIS environment migration" + } + } + }, + "SsisStoreType": { + "type": "string", + "description": "An enumeration of supported source SSIS store type in DMS", + "enum": [ + "SsisCatalog" + ], + "x-ms-enum": { + "name": "SsisStoreType", + "modelAsString": true + } + }, + "SsisMigrationOverwriteOption": { + "type": "string", + "description": "The overwrite option for SSIS object migration, only ignore and overwrite are supported in DMS now and future may add Reuse option for container object", + "enum": [ + "Ignore", + "Overwrite" + ], + "x-ms-enum": { + "name": "SsisMigrationOverwriteOption", + "modelAsString": true + } + }, + "SsisMigrationStage": { + "type": "string", + "description": "Current stage of SSIS migration", + "enum": [ + "None", + "Initialize", + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "SsisMigrationStage", + "modelAsString": true + } } } } diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index 963e7967735b..e6fdfceacd7c 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -95,6 +95,7 @@ input-file: - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbTask.json - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMiSyncTask.json - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMITask.json +- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrationValidation.json - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MongoDbTasks.json - Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetTdeCertificatesSqlTask.json From e347cef8bca380bf821cef51af83851f205319a0 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Tue, 16 Jul 2019 10:23:27 +0200 Subject: [PATCH 282/495] Update sku, offer and publisher for Debian (#6594) Signed-off-by: Martin Zobel-Helas --- arm-compute/quickstart-templates/aliases.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arm-compute/quickstart-templates/aliases.json b/arm-compute/quickstart-templates/aliases.json index f5944d69cdbf..372aa01a97ae 100644 --- a/arm-compute/quickstart-templates/aliases.json +++ b/arm-compute/quickstart-templates/aliases.json @@ -24,9 +24,9 @@ "version":"latest" }, "Debian":{ - "publisher":"credativ", - "offer":"Debian", - "sku":"9", + "publisher":"Debian", + "offer":"debian-10", + "sku":"10", "version":"latest" }, "openSUSE-Leap": { From 77888e6eddcf9567286808c10c903a28c93799f3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 16 Jul 2019 11:03:50 -0400 Subject: [PATCH 283/495] fix: msi IdentityDelete example (#6635) Delete doesn't have a schema so it can't have return body --- .../2015-08-31-preview/examples/IdentityDelete.json | 8 ++------ .../stable/2018-11-30/examples/IdentityDelete.json | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json index b2adb366a46c..0c25e33f3257 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json @@ -6,11 +6,7 @@ "resourceName": "resourceName" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json index 58b4248e2a64..0a9700aa8938 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json @@ -6,11 +6,7 @@ "resourceName": "resourceName" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } From 3e57cecd82395500fca5c795ee0e3a9cc7622991 Mon Sep 17 00:00:00 2001 From: bhba-coder <52428997+bhba-coder@users.noreply.github.com> Date: Tue, 16 Jul 2019 11:24:04 -0700 Subject: [PATCH 284/495] Adding cassandra connector properties for cosmos db C* account - (#6550) enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster Validations - Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager Validated using the online schema validator - https://json-schema-validator.herokuapp.com --- .../stable/2015-04-08/cosmos-db.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json index 125d85a870f7..687ff390bd7d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json @@ -4343,6 +4343,14 @@ "enableMultipleWriteLocations": { "description": "Enables the account to write in multiple locations", "type": "boolean" + }, + "enableCassandraConnector": { + "description": "Enables the cassandra connector on the Cosmos DB C* account", + "type": "boolean" + }, + "connectorOffer": { + "description": "The cassandra connector offer type for the Cosmos DB database C* account.", + "$ref": "#/definitions/ConnectorOffer" } } }, @@ -4407,6 +4415,14 @@ "enableMultipleWriteLocations": { "description": "Enables the account to write in multiple locations", "type": "boolean" + }, + "enableCassandraConnector": { + "description": "Enables the cassandra connector on the Cosmos DB C* account", + "type": "boolean" + }, + "connectorOffer": { + "description": "The cassandra connector offer type for the Cosmos DB database C* account.", + "$ref": "#/definitions/ConnectorOffer" } }, "required": [ @@ -5868,6 +5884,17 @@ "modelAsString": true, "name": "UnitType" } + }, + "ConnectorOffer": { + "description": "The cassandra connector offer type for the Cosmos DB C* database account.", + "type": "string", + "enum": [ + "Small" + ], + "x-ms-enum": { + "name": "ConnectorOffer", + "modelAsString": true + } } }, "parameters": { From 737110f8edd3689144c45d6fd34e7c6143171ab8 Mon Sep 17 00:00:00 2001 From: Anton Evseev Date: Tue, 16 Jul 2019 21:48:59 +0300 Subject: [PATCH 285/495] Merge Network release branch into master (#6632) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adds base for updating Microsoft.Network from version stable/2019-04-01 to version 2019-06-01 * Updates readme * Updates API version in new specs and examples * Add PrivateIPAddressVersion in LoadBalancerFrontendIpConfiguration pr… (#6164) * Add PrivateIPAddressVersion in LoadBalancerFrontendIpConfiguration properties. * Fixed LB examples * Fix examples in 2019-06-01 * Remove API version number in privateIPAddressVersion description. * Add privateIPAddressVersion in LoadBalancer examples. * Add privateIPAddressVersion in 2019-06-01 API version. * Update specs to avoid readOnly in the request body (#6228) * typo: netowork May double word the (#6206) * Update cipher suites (#6213) * removing resource group name from PrepareNetworkPoliciesRequest (#6232) * Add exception for property "Conditon" in Network's webapplicationfirewall.json (#6335) * Extend long-running ops fixes to new API version; Suppression (#6336) * Update long-running for new API version * Add suppression for new API * Updated examples to have valid bodies for live put (#6349) * More examples fix after live testing (#6382) * Improved more examples after live testing * Fix validations * Improve descriptions in Network to align with Swagger guidelines (#6350) * Improve descriptions in Network to align with Swagger guidelines * Fix for CI * More examples improvements (#6444) * Add PATCH to Azure Firewall supported operations (#6486) * Add PATCH to Azure Firewall supported operations * Name the parameter how validation expects it * Patch is not a long running operation, so update the specs accordingly * PrivateEndpoint & PrivateLinkService APIs update (#6332) * Add two properties on Subnet for privateIp. Add two new APIs to support privateIp. Minor modify on readme.md file. * Fix some issue found by Model Validation. * Merge all apis relative to private end point / private link service to its json file. * Fix a typo name from design spec that casue GetAvailablePrivateEndpointType get null property. * Change AutoApprovedPrivateLinkService structure to fit with NRP side. * Delete suppress for merged APIs in readme.md. * 1. Change value to PrivateEndpointConnection when calling put PrivateEndpointConnect. 2. Change opertaion id for opertaions that relative to private endpoint and private link service. * Minor fix for model validation. * Revert opertion id changes for AvailablePrivateEndpointType to previous name. * 1. Change CheckPrivateLinkServiceVisibility API, the input now has a body content that contains a private link service alias string. 2. Change both CheckPrivateLinkServiceVisibility/AutoApprovedPrivateLinkServices API to support for with/without ResourceGroup parameter. * Improve Network's examples (#6493) * Removed read-only props from VPNGW example * Fixed LoadBalancer examples: * "outboundRules" array isn't returned for "Basic" SKU load balancer * added example for external LB with outboundRules * added missing read-only properties * Replace "regionName" in examples with real location * Fixed incorrect descriptions in LoadBalancer: child resource doesn't have to have a unique name within resource group, but within a set of similar resource on parent load balancer * chore: jsonfmt network (#6592) * Adding VpnSiteLink and VpnSiteLinkConnection properties. (#6528) * Added VpnSiteLink/VpnSiteLinkConnection operations. * Sdk changes for vpn site link. * Fixing error. * Fixing more comments. * Fixing json error. * Fixing json files. * Fixing comments. * Fixing more issues. * Fixing more errors. * Fixing more error. * Prettify JSON in VpnConnectionGet.json * Resolving more comments. * Fixing typo. * Adding type in examples of put. * Removing Child resource type. * chore: jsonfmt network-may * Fix incorrect examples --- cSpell.json | 14 +- .../stable/2019-04-01/applicationGateway.json | 3 + .../stable/2019-04-01/bastionHost.json | 1 - ...licationGatewayAvailableSslOptionsGet.json | 57 +- ...ilableSslOptionsPredefinedPoliciesGet.json | 94 +- ...vailableSslOptionsPredefinedPolicyGet.json | 40 +- ...pplicationGatewayNoCertificatesCreate.json | 678 +++ .../AutoApprovedPrivateLinkServicesGet.json | 24 + ...edPrivateLinkServicesResourceGroupGet.json | 25 + .../AvailablePrivateEndpointTypesGet.json | 2 +- ...ePrivateEndpointTypesResourceGroupGet.json | 2 +- .../2019-04-01/examples/BastionHostPut.json | 1 + .../CheckPrivateLinkServiceVisibility.json | 17 + ...eLinkServiceVisibilityByResourceGroup.json | 18 + .../ExpressRouteConnectionCreate.json | 14 +- .../P2SVpnServerConfigurationPut.json | 96 - ...rivateEndpointCreateForManualApproval.json | 5 +- .../examples/PrivateLinkServiceCreate.json | 11 +- .../examples/PrivateLinkServiceGet.json | 2 +- .../examples/PrivateLinkServiceList.json | 4 +- .../examples/PrivateLinkServiceListAll.json | 4 +- ...erviceUpdatePrivateEndpointConnection.json | 15 +- .../PublicIpPrefixCreateDefaults.json | 10 +- .../examples/RouteFilterUpdate.json | 14 - .../stable/2019-04-01/privateEndpoint.json | 119 + .../stable/2019-04-01/privateLinkService.json | 237 +- .../stable/2019-04-01/virtualNetwork.json | 8 + .../stable/2019-06-01/applicationGateway.json | 2668 +++++++++++ .../2019-06-01/applicationSecurityGroup.json | 371 ++ .../availableDelegations.json} | 57 +- .../stable/2019-06-01/azureFirewall.json | 843 ++++ .../2019-06-01/azureFirewallFqdnTag.json | 124 + .../stable/2019-06-01/bastionHost.json | 377 ++ .../2019-06-01/checkDnsAvailability.json | 90 + .../stable/2019-06-01/ddosCustomPolicy.json | 400 ++ .../stable/2019-06-01/ddosProtectionPlan.json | 401 ++ .../stable/2019-06-01/endpointService.json | 113 + ...tionGatewayAvailableRequestHeadersGet.json | 13 + ...ionGatewayAvailableResponseHeadersGet.json | 13 + ...ionGatewayAvailableServerVariablesGet.json | 13 + ...licationGatewayAvailableSslOptionsGet.json | 64 + ...ilableSslOptionsPredefinedPoliciesGet.json | 101 + ...vailableSslOptionsPredefinedPolicyGet.json | 48 + ...icationGatewayAvailableWafRuleSetsGet.json | 36 + .../ApplicationGatewayBackendHealthGet.json | 57 + .../ApplicationGatewayBackendHealthTest.json | 41 + .../examples/ApplicationGatewayCreate.json | 732 +++ .../examples/ApplicationGatewayDelete.json | 13 + .../examples/ApplicationGatewayGet.json | 252 ++ .../examples/ApplicationGatewayList.json | 125 + .../examples/ApplicationGatewayListAll.json | 124 + .../examples/ApplicationGatewayStart.json | 12 + .../examples/ApplicationGatewayStop.json | 12 + .../ApplicationGatewayUpdateTags.json | 148 + .../ApplicationSecurityGroupCreate.json | 38 + .../ApplicationSecurityGroupDelete.json | 13 + .../examples/ApplicationSecurityGroupGet.json | 22 + .../ApplicationSecurityGroupList.json | 35 + .../ApplicationSecurityGroupListAll.json | 34 + .../ApplicationSecurityGroupUpdateTags.json | 33 + .../AutoApprovedPrivateLinkServicesGet.json | 24 + ...edPrivateLinkServicesResourceGroupGet.json | 25 + .../AvailableDelegationsResourceGroupGet.json | 25 + .../AvailableDelegationsSubscriptionGet.json | 24 + .../AvailablePrivateEndpointTypesGet.json | 20 + ...ePrivateEndpointTypesResourceGroupGet.json | 21 + .../examples/AzureFirewallDelete.json | 13 + ...ureFirewallFqdnTagsListBySubscription.json | 28 + .../2019-06-01/examples/AzureFirewallGet.json | 136 + .../examples/AzureFirewallGetWithZones.json | 140 + .../AzureFirewallListByResourceGroup.json | 139 + .../AzureFirewallListBySubscription.json | 138 + .../2019-06-01/examples/AzureFirewallPut.json | 377 ++ .../examples/AzureFirewallPutWithZones.json | 389 ++ .../examples/AzureFirewallUpdateTags.json | 32 + .../examples/BastionHostDelete.json | 13 + .../2019-06-01/examples/BastionHostGet.json | 44 + .../BastionHostListByResourceGroup.json | 44 + .../BastionHostListBySubscription.json | 43 + .../2019-06-01/examples/BastionHostPut.json | 89 + .../examples/CheckDnsNameAvailability.json | 15 + .../CheckPrivateLinkServiceVisibility.json | 17 + ...eLinkServiceVisibilityByResourceGroup.json | 18 + .../examples/DdosCustomPolicyCreate.json | 58 + .../examples/DdosCustomPolicyDelete.json | 16 + .../examples/DdosCustomPolicyGet.json | 27 + .../examples/DdosCustomPolicyUpdateTags.json | 39 + .../examples/DdosProtectionPlanCreate.json | 40 + .../examples/DdosProtectionPlanDelete.json | 13 + .../examples/DdosProtectionPlanGet.json | 27 + .../examples/DdosProtectionPlanList.json | 45 + .../examples/DdosProtectionPlanListAll.json | 47 + .../DdosProtectionPlanUpdateTags.json | 33 + .../examples/DefaultSecurityRuleGet.json | 33 + .../examples/DefaultSecurityRuleList.json | 136 + .../examples/EndpointServicesList.json | 30 + .../ExpressRouteCircuitARPTableList.json | 25 + ...xpressRouteCircuitAuthorizationCreate.json | 39 + ...xpressRouteCircuitAuthorizationDelete.json | 14 + .../ExpressRouteCircuitAuthorizationGet.json | 24 + .../ExpressRouteCircuitAuthorizationList.json | 26 + .../ExpressRouteCircuitConnectionCreate.json | 63 + .../ExpressRouteCircuitConnectionDelete.json | 15 + .../ExpressRouteCircuitConnectionGet.json | 32 + .../ExpressRouteCircuitConnectionList.json | 50 + .../examples/ExpressRouteCircuitCreate.json | 84 + ...sRouteCircuitCreateOnExpressRoutePort.json | 79 + .../examples/ExpressRouteCircuitDelete.json | 13 + .../examples/ExpressRouteCircuitGet.json | 38 + ...xpressRouteCircuitListByResourceGroup.json | 91 + ...ExpressRouteCircuitListBySubscription.json | 90 + .../ExpressRouteCircuitPeeringCreate.json | 76 + .../ExpressRouteCircuitPeeringDelete.json | 14 + .../ExpressRouteCircuitPeeringGet.json | 61 + .../ExpressRouteCircuitPeeringList.json | 88 + .../ExpressRouteCircuitPeeringStats.json | 19 + .../ExpressRouteCircuitRouteTableList.json | 26 + ...ressRouteCircuitRouteTableSummaryList.json | 26 + .../examples/ExpressRouteCircuitStats.json | 18 + .../ExpressRouteCircuitUpdateTags.json | 48 + .../ExpressRouteConnectionCreate.json | 50 + .../ExpressRouteConnectionDelete.json | 14 + .../examples/ExpressRouteConnectionGet.json | 25 + .../examples/ExpressRouteConnectionList.json | 28 + ...sRouteCrossConnectionBgpPeeringCreate.json | 75 + ...sRouteCrossConnectionBgpPeeringDelete.json | 14 + ...ressRouteCrossConnectionBgpPeeringGet.json | 37 + ...essRouteCrossConnectionBgpPeeringList.json | 40 + .../ExpressRouteCrossConnectionGet.json | 32 + .../ExpressRouteCrossConnectionList.json | 33 + ...uteCrossConnectionListByResourceGroup.json | 34 + .../ExpressRouteCrossConnectionUpdate.json | 36 + ...ExpressRouteCrossConnectionUpdateTags.json | 41 + .../ExpressRouteCrossConnectionsArpTable.json | 25 + ...xpressRouteCrossConnectionsRouteTable.json | 33 + ...outeCrossConnectionsRouteTableSummary.json | 31 + .../examples/ExpressRouteGatewayCreate.json | 63 + .../examples/ExpressRouteGatewayDelete.json | 13 + .../examples/ExpressRouteGatewayGet.json | 25 + ...xpressRouteGatewayListByResourceGroup.json | 47 + ...ExpressRouteGatewayListBySubscription.json | 46 + .../examples/ExpressRouteLinkGet.json | 26 + .../examples/ExpressRouteLinkList.json | 42 + .../examples/ExpressRoutePortCreate.json | 112 + .../examples/ExpressRoutePortDelete.json | 13 + .../examples/ExpressRoutePortGet.json | 57 + .../examples/ExpressRoutePortList.json | 59 + .../ExpressRoutePortListByResourceGroup.json | 60 + .../examples/ExpressRoutePortUpdateLink.json | 120 + .../examples/ExpressRoutePortUpdateTags.json | 63 + .../ExpressRoutePortsLocationGet.json | 28 + .../ExpressRoutePortsLocationList.json | 26 + .../examples/ExpressRouteProviderList.json | 60 + .../HubVirtualNetworkConnectionGet.json | 26 + .../HubVirtualNetworkConnectionList.json | 41 + .../examples/InboundNatRuleCreate.json | 66 + .../examples/InboundNatRuleDelete.json | 14 + .../examples/InboundNatRuleGet.json | 32 + .../examples/InboundNatRuleList.json | 54 + .../LoadBalancerBackendAddressPoolGet.json | 32 + .../LoadBalancerBackendAddressPoolList.json | 35 + .../examples/LoadBalancerCreate.json | 339 ++ .../LoadBalancerCreateStandardSku.json | 339 ++ .../LoadBalancerCreateWithInboundNatPool.json | 184 + .../LoadBalancerCreateWithOutboundRules.json | 423 ++ .../examples/LoadBalancerCreateWithZones.json | 348 ++ .../examples/LoadBalancerDelete.json | 13 + ...oadBalancerFrontendIPConfigurationGet.json | 38 + ...adBalancerFrontendIPConfigurationList.json | 41 + .../2019-06-01/examples/LoadBalancerGet.json | 139 + .../2019-06-01/examples/LoadBalancerList.json | 161 + .../examples/LoadBalancerListAll.json | 160 + .../LoadBalancerLoadBalancingRuleGet.json | 38 + .../LoadBalancerLoadBalancingRuleList.json | 41 + ...oadBalancerNetworkInterfaceListSimple.json | 59 + .../LoadBalancerNetworkInterfaceListVmss.json | 112 + .../examples/LoadBalancerOutboundRuleGet.json | 34 + .../LoadBalancerOutboundRuleList.json | 37 + .../examples/LoadBalancerProbeGet.json | 32 + .../examples/LoadBalancerProbeList.json | 35 + .../examples/LoadBalancerUpdateTags.json | 132 + .../examples/LocalNetworkGatewayCreate.json | 59 + .../examples/LocalNetworkGatewayDelete.json | 13 + .../examples/LocalNetworkGatewayGet.json | 29 + .../examples/LocalNetworkGatewayList.json | 49 + .../LocalNetworkGatewayUpdateTags.json | 38 + .../examples/NatGatewayCreateOrUpdate.json | 118 + .../2019-06-01/examples/NatGatewayDelete.json | 13 + .../2019-06-01/examples/NatGatewayGet.json | 40 + .../2019-06-01/examples/NatGatewayList.json | 71 + .../examples/NatGatewayListAll.json | 70 + .../examples/NatGatewayUpdateTags.json | 50 + .../examples/NetworkInterfaceCreate.json | 101 + .../examples/NetworkInterfaceDelete.json | 13 + .../NetworkInterfaceEffectiveNSGList.json | 71 + ...tworkInterfaceEffectiveRouteTableList.json | 71 + .../examples/NetworkInterfaceGet.json | 55 + .../NetworkInterfaceIPConfigurationGet.json | 45 + .../NetworkInterfaceIPConfigurationList.json | 31 + .../examples/NetworkInterfaceList.json | 92 + .../examples/NetworkInterfaceListAll.json | 91 + .../NetworkInterfaceLoadBalancerList.json | 139 + ...etworkInterfaceTapConfigurationCreate.json | 46 + ...etworkInterfaceTapConfigurationDelete.json | 14 + .../NetworkInterfaceTapConfigurationGet.json | 25 + .../NetworkInterfaceTapConfigurationList.json | 28 + .../examples/NetworkInterfaceUpdateTags.json | 56 + .../NetworkProfileCreateConfigOnly.json | 110 + .../examples/NetworkProfileDelete.json | 13 + .../examples/NetworkProfileGetConfigOnly.json | 84 + .../NetworkProfileGetWithContainerNic.json | 203 + .../examples/NetworkProfileList.json | 97 + .../examples/NetworkProfileListAll.json | 84 + .../examples/NetworkProfileUpdateTags.json | 58 + .../examples/NetworkSecurityGroupCreate.json | 233 + .../NetworkSecurityGroupCreateWithRule.json | 282 ++ .../examples/NetworkSecurityGroupDelete.json | 13 + .../examples/NetworkSecurityGroupGet.json | 136 + .../examples/NetworkSecurityGroupList.json | 231 + .../examples/NetworkSecurityGroupListAll.json | 230 + .../NetworkSecurityGroupRuleCreate.json | 57 + .../NetworkSecurityGroupRuleDelete.json | 14 + .../examples/NetworkSecurityGroupRuleGet.json | 28 + .../NetworkSecurityGroupRuleList.json | 31 + .../NetworkSecurityGroupUpdateTags.json | 130 + ...tworkWatcherAvailableProvidersListGet.json | 68 + ...workWatcherAzureReachabilityReportGet.json | 82 + ...NetworkWatcherConnectionMonitorCreate.json | 70 + ...NetworkWatcherConnectionMonitorDelete.json | 13 + .../NetworkWatcherConnectionMonitorGet.json | 35 + .../NetworkWatcherConnectionMonitorList.json | 60 + .../NetworkWatcherConnectionMonitorQuery.json | 77 + .../NetworkWatcherConnectionMonitorStart.json | 13 + .../NetworkWatcherConnectionMonitorStop.json | 13 + .../NetworkWatcherConnectivityCheck.json | 79 + .../examples/NetworkWatcherCreate.json | 40 + .../examples/NetworkWatcherDelete.json | 12 + .../NetworkWatcherFlowLogConfigure.json | 35 + .../NetworkWatcherFlowLogStatusQuery.json | 31 + .../examples/NetworkWatcherGet.json | 23 + .../examples/NetworkWatcherIpFlowVerify.json | 31 + .../examples/NetworkWatcherList.json | 37 + .../examples/NetworkWatcherListAll.json | 36 + ...WatcherNetworkConfigurationDiagnostic.json | 198 + .../examples/NetworkWatcherNextHopGet.json | 30 + .../NetworkWatcherPacketCaptureCreate.json | 56 + .../NetworkWatcherPacketCaptureDelete.json | 13 + .../NetworkWatcherPacketCaptureGet.json | 37 + ...etworkWatcherPacketCaptureQueryStatus.json | 31 + .../NetworkWatcherPacketCaptureStop.json | 13 + .../NetworkWatcherPacketCapturesList.json | 58 + .../NetworkWatcherSecurityGroupViewGet.json | 141 + .../examples/NetworkWatcherTopologyGet.json | 39 + .../NetworkWatcherTroubleshootGet.json | 71 + ...NetworkWatcherTroubleshootResultQuery.json | 67 + .../examples/NetworkWatcherUpdateTags.json | 32 + .../2019-06-01/examples/OperationList.json | 137 + .../examples/P2SVpnGatewayDelete.json | 13 + .../P2SVpnGatewayGenerateVpnProfile.json | 17 + .../2019-06-01/examples/P2SVpnGatewayGet.json | 48 + .../P2SVpnGatewayGetConnectionHealth.json | 49 + .../examples/P2SVpnGatewayList.json | 87 + .../P2SVpnGatewayListByResourceGroup.json | 87 + .../2019-06-01/examples/P2SVpnGatewayPut.json | 105 + .../examples/P2SVpnGatewayUpdateTags.json | 100 + .../P2SVpnServerConfigurationDelete.json | 14 + .../P2SVpnServerConfigurationGet.json | 82 + .../P2SVpnServerConfigurationList.json | 87 + .../P2SVpnServerConfigurationPut.json | 206 + .../PeerExpressRouteCircuitConnectionGet.json | 32 + ...PeerExpressRouteCircuitConnectionList.json | 53 + .../examples/PrivateEndpointCreate.json | 98 + ...rivateEndpointCreateForManualApproval.json | 98 + .../examples/PrivateEndpointDelete.json | 13 + .../examples/PrivateEndpointGet.json | 46 + .../PrivateEndpointGetForManualApproval.json | 46 + .../examples/PrivateEndpointList.json | 83 + .../examples/PrivateEndpointListAll.json | 114 + .../examples/PrivateLinkServiceCreate.json | 155 + .../examples/PrivateLinkServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + .../examples/PrivateLinkServiceGet.json | 77 + .../examples/PrivateLinkServiceList.json | 141 + .../examples/PrivateLinkServiceListAll.json | 142 + ...erviceUpdatePrivateEndpointConnection.json | 37 + ...PublicIpAddressCreateCustomizedValues.json | 70 + .../PublicIpAddressCreateDefaults.json | 53 + .../examples/PublicIpAddressCreateDns.json | 60 + .../examples/PublicIpAddressDelete.json | 13 + .../examples/PublicIpAddressGet.json | 37 + .../examples/PublicIpAddressList.json | 60 + .../examples/PublicIpAddressListAll.json | 49 + .../examples/PublicIpAddressUpdateTags.json | 37 + .../PublicIpPrefixCreateCustomizedValues.json | 61 + .../PublicIpPrefixCreateDefaults.json | 47 + .../examples/PublicIpPrefixDelete.json | 13 + .../examples/PublicIpPrefixGet.json | 30 + .../examples/PublicIpPrefixList.json | 45 + .../examples/PublicIpPrefixListAll.json | 43 + .../examples/PublicIpPrefixUpdateTags.json | 33 + .../examples/RouteFilterCreate.json | 96 + .../examples/RouteFilterDelete.json | 13 + .../2019-06-01/examples/RouteFilterGet.json | 42 + .../2019-06-01/examples/RouteFilterList.json | 44 + .../RouteFilterListByResourceGroup.json | 45 + .../examples/RouteFilterRuleCreate.json | 53 + .../examples/RouteFilterRuleDelete.json | 14 + .../examples/RouteFilterRuleGet.json | 27 + .../RouteFilterRuleListByRouteFilter.json | 30 + .../examples/RouteFilterRuleUpdate.json | 37 + .../examples/RouteFilterUpdate.json | 60 + .../2019-06-01/examples/RouteTableCreate.json | 39 + .../examples/RouteTableCreateWithRoute.json | 70 + .../2019-06-01/examples/RouteTableDelete.json | 13 + .../2019-06-01/examples/RouteTableGet.json | 33 + .../2019-06-01/examples/RouteTableList.json | 47 + .../examples/RouteTableListAll.json | 44 + .../examples/RouteTableRouteCreate.json | 39 + .../examples/RouteTableRouteDelete.json | 14 + .../examples/RouteTableRouteGet.json | 22 + .../examples/RouteTableRouteList.json | 34 + .../examples/RouteTableUpdateTags.json | 32 + .../examples/ServiceCommunityList.json | 56 + .../examples/ServiceEndpointPolicyCreate.json | 41 + ...iceEndpointPolicyCreateWithDefinition.json | 83 + ...ServiceEndpointPolicyDefinitionCreate.json | 52 + ...ServiceEndpointPolicyDefinitionDelete.json | 14 + .../ServiceEndpointPolicyDefinitionGet.json | 26 + .../ServiceEndpointPolicyDefinitionList.json | 29 + .../examples/ServiceEndpointPolicyDelete.json | 13 + .../examples/ServiceEndpointPolicyGet.json | 37 + .../examples/ServiceEndpointPolicyList.json | 63 + .../ServiceEndpointPolicyListAll.json | 64 + .../ServiceEndpointPolicyUpdateTags.json | 47 + .../2019-06-01/examples/ServiceTagsList.json | 88 + .../2019-06-01/examples/SubnetCreate.json | 36 + .../examples/SubnetCreateServiceEndpoint.json | 61 + .../examples/SubnetCreateWithDelegation.json | 60 + .../2019-06-01/examples/SubnetDelete.json | 14 + .../stable/2019-06-01/examples/SubnetGet.json | 21 + .../examples/SubnetGetWithDelegation.json | 33 + .../2019-06-01/examples/SubnetList.json | 32 + .../SubnetPrepareNetworkPolicies.json | 16 + .../stable/2019-06-01/examples/UsageList.json | 265 ++ .../examples/UsageListSpacedLocation.json | 335 ++ .../2019-06-01/examples/VirtualHubDelete.json | 13 + .../2019-06-01/examples/VirtualHubGet.json | 27 + .../2019-06-01/examples/VirtualHubList.json | 72 + .../VirtualHubListByResourceGroup.json | 73 + .../2019-06-01/examples/VirtualHubPut.json | 56 + .../examples/VirtualHubUpdateTags.json | 58 + ...tualNetworkCheckIPAddressAvailability.json | 23 + .../examples/VirtualNetworkCreate.json | 56 + ...ualNetworkCreateServiceEndpointPolicy.json | 126 + .../VirtualNetworkCreateServiceEndpoints.json | 111 + .../examples/VirtualNetworkCreateSubnet.json | 82 + ...etworkCreateSubnetWithAddressPrefixes.json | 91 + ...tualNetworkCreateSubnetWithDelegation.json | 114 + .../examples/VirtualNetworkDelete.json | 13 + ...VirtualNetworkGatewayConnectionCreate.json | 131 + ...VirtualNetworkGatewayConnectionDelete.json | 13 + .../VirtualNetworkGatewayConnectionGet.json | 41 + ...lNetworkGatewayConnectionGetSharedKey.json | 15 + ...etworkGatewayConnectionResetSharedKey.json | 19 + ...lNetworkGatewayConnectionSetSharedKey.json | 23 + ...ualNetworkGatewayConnectionUpdateTags.json | 49 + .../VirtualNetworkGatewayConnectionsList.json | 69 + .../examples/VirtualNetworkGatewayDelete.json | 13 + ...etworkGatewayGenerateVpnClientPackage.json | 15 + ...rtualNetworkGatewayGenerateVpnProfile.json | 15 + .../examples/VirtualNetworkGatewayGet.json | 69 + ...tualNetworkGatewayGetAdvertisedRoutes.json | 15 + ...VirtualNetworkGatewayGetBGPPeerStatus.json | 14 + ...orkGatewayGetVpnClientIpsecParameters.json | 22 + ...NetworkGatewayGetVpnProfilePackageUrl.json | 14 + ...rkGatewayGetVpnclientConnectionHealth.json | 45 + .../VirtualNetworkGatewayLearnedRoutes.json | 14 + .../examples/VirtualNetworkGatewayList.json | 124 + .../examples/VirtualNetworkGatewayReset.json | 60 + ...NetworkGatewayResetVpnClientSharedKey.json | 12 + ...orkGatewaySetVpnClientIpsecParameters.json | 24 + ...rtualNetworkGatewaySupportedVpnDevice.json | 13 + .../examples/VirtualNetworkGatewayUpdate.json | 165 + .../VirtualNetworkGatewayUpdateTags.json | 67 + ...rkGatewayVpnDeviceConfigurationScript.json | 18 + ...VirtualNetworkGatewaysListConnections.json | 40 + .../examples/VirtualNetworkGet.json | 42 + ...tualNetworkGetResourceNavigationLinks.json | 28 + ...tualNetworkGetServiceAssociationLinks.json | 31 + ...lNetworkGetWithServiceAssociationLink.json | 69 + ...VirtualNetworkGetWithSubnetDelegation.json | 54 + .../examples/VirtualNetworkList.json | 64 + .../examples/VirtualNetworkListAll.json | 63 + .../examples/VirtualNetworkListUsage.json | 36 + .../examples/VirtualNetworkPeeringCreate.json | 66 + .../examples/VirtualNetworkPeeringDelete.json | 14 + .../examples/VirtualNetworkPeeringGet.json | 33 + .../examples/VirtualNetworkPeeringList.json | 56 + .../examples/VirtualNetworkTapCreate.json | 62 + .../examples/VirtualNetworkTapDelete.json | 13 + .../examples/VirtualNetworkTapGet.json | 32 + .../examples/VirtualNetworkTapList.json | 55 + .../examples/VirtualNetworkTapListAll.json | 54 + .../examples/VirtualNetworkTapUpdateTags.json | 40 + .../examples/VirtualNetworkUpdateTags.json | 39 + .../2019-06-01/examples/VirtualWANDelete.json | 13 + .../2019-06-01/examples/VirtualWANGet.json | 34 + .../2019-06-01/examples/VirtualWANList.json | 58 + .../VirtualWANListByResourceGroup.json | 59 + .../2019-06-01/examples/VirtualWANPut.json | 67 + .../examples/VirtualWANUpdateTags.json | 66 + .../VirtualWanSupportedSecurityProviders.json | 22 + .../examples/VmssNetworkInterfaceGet.json | 65 + .../VmssNetworkInterfaceIpConfigGet.json | 39 + .../VmssNetworkInterfaceIpConfigList.json | 42 + .../examples/VmssNetworkInterfaceList.json | 118 + .../2019-06-01/examples/VmssPublicIpGet.json | 34 + .../examples/VmssPublicIpListAll.json | 52 + .../examples/VmssVmNetworkInterfaceList.json | 68 + .../examples/VmssVmPublicIpList.json | 37 + .../examples/VpnConnectionDelete.json | 14 + .../2019-06-01/examples/VpnConnectionGet.json | 75 + .../examples/VpnConnectionList.json | 76 + .../2019-06-01/examples/VpnConnectionPut.json | 112 + .../2019-06-01/examples/VpnGatewayDelete.json | 13 + .../2019-06-01/examples/VpnGatewayGet.json | 94 + .../2019-06-01/examples/VpnGatewayList.json | 137 + .../VpnGatewayListByResourceGroup.json | 137 + .../2019-06-01/examples/VpnGatewayPut.json | 170 + .../2019-06-01/examples/VpnGatewayReset.json | 53 + .../examples/VpnGatewayUpdateTags.json | 104 + .../2019-06-01/examples/VpnSiteDelete.json | 13 + .../2019-06-01/examples/VpnSiteGet.json | 57 + .../examples/VpnSiteLinkConnectionGet.json | 37 + .../examples/VpnSiteLinkConnectionList.json | 38 + .../2019-06-01/examples/VpnSiteLinkGet.json | 30 + .../examples/VpnSiteLinkListByVpnSite.json | 50 + .../2019-06-01/examples/VpnSiteList.json | 88 + .../examples/VpnSiteListByResourceGroup.json | 88 + .../2019-06-01/examples/VpnSitePut.json | 136 + .../examples/VpnSiteUpdateTags.json | 80 + .../VpnSitesConfigurationDownload.json | 22 + .../examples/WafListAllPolicies.json | 91 + .../2019-06-01/examples/WafListPolicies.json | 92 + .../examples/WafPolicyCreateOrUpdate.json | 228 + .../2019-06-01/examples/WafPolicyDelete.json | 13 + .../2019-06-01/examples/WafPolicyGet.json | 89 + .../2019-06-01/expressRouteCircuit.json | 2328 ++++++++++ .../expressRouteCrossConnection.json | 934 ++++ .../2019-06-01/expressRouteGateway.json | 640 +++ .../stable/2019-06-01/expressRoutePort.json | 775 ++++ .../stable/2019-06-01/loadBalancer.json | 1916 ++++++++ .../stable/2019-06-01/natGateway.json | 433 ++ .../stable/2019-06-01/network.json | 300 ++ .../stable/2019-06-01/networkInterface.json | 1391 ++++++ .../stable/2019-06-01/networkProfile.json | 579 +++ .../2019-06-01/networkSecurityGroup.json | 896 ++++ .../stable/2019-06-01/networkWatcher.json | 3742 ++++++++++++++++ .../stable/2019-06-01/operation.json | 265 ++ .../stable/2019-06-01/privateEndpoint.json | 544 +++ .../stable/2019-06-01/privateLinkService.json | 869 ++++ .../stable/2019-06-01/publicIpAddress.json | 502 +++ .../stable/2019-06-01/publicIpPrefix.json | 440 ++ .../stable/2019-06-01/routeFilter.json | 820 ++++ .../stable/2019-06-01/routeTable.json | 692 +++ .../stable/2019-06-01/serviceCommunity.json | 152 + .../2019-06-01/serviceEndpointPolicy.json | 681 +++ .../stable/2019-06-01/serviceTags.json | 160 + .../stable/2019-06-01/usage.json | 154 + .../stable/2019-06-01/virtualNetwork.json | 1723 ++++++++ .../2019-06-01/virtualNetworkGateway.json | 2991 +++++++++++++ .../stable/2019-06-01/virtualNetworkTap.json | 390 ++ .../stable/2019-06-01/virtualWan.json | 3932 +++++++++++++++++ .../2019-06-01/vmssNetworkInterface.json | 344 ++ .../2019-06-01/vmssPublicIpAddress.json | 223 + .../2019-06-01/webapplicationfirewall.json | 537 +++ .../network/resource-manager/readme.md | 55 +- 477 files changed, 61976 insertions(+), 178 deletions(-) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json rename specification/network/resource-manager/Microsoft.Network/stable/{2019-04-01/availablePrivateEndpointTypes.json => 2019-06-01/availableDelegations.json} (65%) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaysListConnections.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetResourceNavigationLinks.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetServiceAssociationLinks.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithServiceAssociationLink.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithSubnetDelegation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListUsage.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWanSupportedSecurityProviders.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmNetworkInterfaceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmPublicIpList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayReset.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkListByVpnSite.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitesConfigurationDownload.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListAllPolicies.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListPolicies.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyCreateOrUpdate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteGateway.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRoutePort.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/natGateway.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/network.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkInterface.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkProfile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcher.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/operation.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpAddress.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpPrefix.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeFilter.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeTable.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceCommunity.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceEndpointPolicy.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/usage.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkGateway.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkTap.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualWan.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssNetworkInterface.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssPublicIpAddress.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/webapplicationfirewall.json diff --git a/cSpell.json b/cSpell.json index 5f81eefce4f6..ca3148fdadb4 100644 --- a/cSpell.json +++ b/cSpell.json @@ -585,7 +585,7 @@ ] }, { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/webapplicationfirewall.json", + "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/**/webapplicationfirewall.json", "words": [ "Conditon" ] @@ -623,18 +623,6 @@ "networkrulesets", "Setget" ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json", - "words": [ - "Conditon" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json", - "words": [ - "Conditon" - ] } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json index cec2ed2196e9..1c27643a1fe2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json @@ -178,6 +178,9 @@ } }, "x-ms-examples": { + "Create Application Gateway Without Certificates": { + "$ref": "./examples/ApplicationGatewayNoCertificatesCreate.json" + }, "Create Application Gateway": { "$ref": "./examples/ApplicationGatewayCreate.json" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json index a8b991a255b2..860cc5714cce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json @@ -297,7 +297,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 20122efe6546..3c027242b7d0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,61 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 20122efe6546..9799eaf317bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,98 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 4e1f4c754b51..e925a06eacdf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,44 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json new file mode 100644 index 000000000000..95c636c6c747 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json @@ -0,0 +1,678 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "sku": { + "name": "Standard_v2", + "tier": "Standard_v2", + "capacity": 3 + }, + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [], + "trustedRootCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 81 + } + }, + { + "name": "appgwfp80", + "properties": { + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Http", + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "properties": { + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "properties": { + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "properties": { + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_add_x_forwarded_for_proxy}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "appgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "provisioningState": "Succeeded", + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "provisioningState": "Succeeded", + "port": 81 + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Http", + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "provisioningState": "Succeeded", + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "provisioningState": "Succeeded", + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ], + "probes": [] + } + } + }, + "200": { + "body": { + "name": "appgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "provisioningState": "Succeeded", + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "provisioningState": "Succeeded", + "port": 81 + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Http", + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "provisioningState": "Succeeded", + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "provisioningState": "Succeeded", + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ], + "probes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..1b28fb80e8e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "location": "regionName", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..1074655bc017 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "location": "regionName", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json index d8af89168a0d..4e1912b75365 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json @@ -11,7 +11,7 @@ { "id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", "type": "Microsoft.Network/availablePrivateEndpointTypes", - "serviceName": "Microsoft.Provider/resourceType" + "resourceName": "Microsoft.Provider/resourceType" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json index 82a5a48c73f6..526286508d95 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -12,7 +12,7 @@ { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", "type": "Microsoft.Network/availablePrivateEndpointTypes", - "serviceName": "Microsoft.Provider/resourceType" + "resourceName": "Microsoft.Provider/resourceType" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json index 4a6b7bf969c4..ae13163921f7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json @@ -5,6 +5,7 @@ "resourceGroupName": "rg1", "bastionHostName": "bastionhosttenant'", "parameters": { + "location": "West US", "properties": { "ipConfigurations": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..20a055c2c1f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..bf14cf2cc546 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "location": "westus", + "resourceGroupName": "rg1", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json index 13ebafaba763..bc450e5456c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json @@ -1,18 +1,18 @@ { "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", + "expressRouteGatewayName": "gateway-2", "resourceGroupName": "resourceGroupName", "api-version": "2019-04-01", "subscriptionId": "subid", "connectionName": "connectionName", "putExpressRouteConnectionParameters": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", "name": "connectionName", "properties": { "routingWeight": 2, "authorizationKey": "authorizationKey", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" } } } @@ -21,11 +21,11 @@ "200": { "body": { "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", "properties": { "provisioningState": "Provisioned", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "authorizationKey", "routingWeight": 2 @@ -35,11 +35,11 @@ "201": { "body": { "name": "connectionName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", "properties": { "provisioningState": "Provisioned", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "authorizationKey", "routingWeight": 2 diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json index 73ca41d88602..51d8ca4af9c1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json @@ -22,22 +22,6 @@ "pfsGroup": "PFS14" } ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "properties": { - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - } - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - } - ], "radiusServerAddress": "8.9.9.9", "radiusServerSecret": "123_abc", "p2SVpnServerConfigRadiusServerRootCertificates": [ @@ -47,14 +31,6 @@ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" } } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "properties": { - "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - } - } ] } } @@ -81,30 +57,6 @@ "pfsGroup": "PFS14" } ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], "radiusServerAddress": "8.9.9.9", "radiusServerSecret": "123_abc", "p2SVpnServerConfigRadiusServerRootCertificates": [ @@ -118,18 +70,6 @@ }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } ] }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" @@ -155,30 +95,6 @@ "pfsGroup": "PFS14" } ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], "radiusServerAddress": "8.9.9.9", "radiusServerSecret": "123_abc", "p2SVpnServerConfigRadiusServerRootCertificates": [ @@ -192,18 +108,6 @@ }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } ] }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json index d7e6f6b87492..c51ed2e20d1b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json @@ -5,6 +5,7 @@ "resourceGroupName": "rg1", "privateEndpointName": "testPe", "parameters": { + "location": "eastus2euap", "properties": { "manualPrivateLinkServiceConnections": [ { @@ -28,7 +29,7 @@ "body": { "name": "testPe", "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location": "eastus", + "location": "eastus2euap", "properties": { "provisioningState": "Succeeded", "privateLinkServiceConnections": [], @@ -63,7 +64,7 @@ "body": { "name": "testPe", "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", - "location": "eastus", + "location": "eastus2euap", "properties": { "provisioningState": "Succeeded", "privateLinkServiceConnections": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json index 49dcb96c21a1..09257d72567e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json @@ -5,6 +5,7 @@ "resourceGroupName": "rg1", "serviceName": "testPls", "parameters": { + "location": "eastus2euap", "properties": { "visibility": { "subscriptions": [ @@ -24,7 +25,7 @@ "fqdn2", "fqdn3" ], - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } @@ -50,7 +51,7 @@ "body": { "name": "testPls", "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "location": "eastus", + "location": "eastus2euap", "properties": { "provisioningState": "Succeeded", "visibility": { @@ -72,7 +73,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } @@ -102,7 +103,7 @@ "body": { "name": "testPls", "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", - "location": "eastus", + "location": "eastus2euap", "properties": { "provisioningState": "Succeeded", "visibility": { @@ -124,7 +125,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json index 38a081c87c82..c21831500d5e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json @@ -33,7 +33,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json index 0ee3e3d62f5d..bdb19efe43c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json @@ -30,7 +30,7 @@ "fqdn2" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" } @@ -95,7 +95,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json index ccab84e6fb09..f418c7d4ba0c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json @@ -33,7 +33,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" } @@ -96,7 +96,7 @@ "fqdn2" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index c4094a353d7b..afcc70022124 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -19,6 +19,19 @@ } }, "responses": { - "200": {} + "200": { + "body": { + "name": "testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json index 7311ddb8658b..c11dfacdcf70 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json @@ -4,7 +4,15 @@ "subscriptionId": "subid", "resourceGroupName": "rg1", "publicIpPrefixName": "test-ipprefix", - "parameters": {} + "parameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "properties": { + "prefixLength": 30 + } + } }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json index 4f8c786cef0a..7ee2202e9411 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json @@ -7,20 +7,6 @@ "routeFilterParameters": { "tags": { "key1": "value1" - }, - "properties": { - "rules": [ - { - "name": "ruleName", - "properties": { - "access": "Allow", - "routeFilterRuleType": "Community", - "communities": [ - "12076:5030" - ] - } - } - ] } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index c447e80d19bb..807ef0d89c20 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -303,6 +303,87 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_List", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types": { + "$ref": "./examples/AvailablePrivateEndpointTypesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types in the resource group": { + "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } } }, "definitions": { @@ -420,6 +501,44 @@ } }, "description": "Response for the ListPrivateEndpoints API service call." + }, + "AvailablePrivateEndpointTypesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailablePrivateEndpointType" + }, + "description": "An array of available privateEndpoint type." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "An array of available PrivateEndpoint types." + }, + "AvailablePrivateEndpointType": { + "properties": { + "name": { + "type": "string", + "description": "The name of the service and resource." + }, + "id": { + "type": "string", + "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." + }, + "type": { + "type": "string", + "description": "Resource type." + }, + "resourceName": { + "type": "string", + "description": "The name of the service and resource." + } + }, + "description": "The information of an AvailablePrivateEndpointType." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 7743e662bedd..e8fa9661b772 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -345,7 +345,10 @@ ], "responses": { "200": { - "description": "Update successful." + "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } }, "default": { "description": "Error", @@ -422,6 +425,192 @@ "final-state-via": "location" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "description": "Checks the subscription is visible to private link service", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } } }, "definitions": { @@ -446,7 +635,7 @@ }, "PrivateLinkServiceProperties": { "properties": { - "loadBalancerFrontendIPConfigurations": { + "loadBalancerFrontendIpConfigurations": { "type": "array", "items": { "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration" @@ -631,6 +820,50 @@ } }, "description": "Response for the ListPrivateLinkService API service call." + }, + "CheckPrivateLinkServiceVisibilityRequest": { + "properties": { + "privateLinkServiceAlias": { + "type": "string", + "description": "The alias of the private link service." + } + }, + "description": "Request body of the CheckPrivateLinkServiceVisibility API service call." + }, + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + }, + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoApprovedPrivateLinkService" + }, + "description": "An array of auto approved private link service." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + }, + "AutoApprovedPrivateLinkService": { + "properties": { + "privateLinkService": { + "type": "string", + "description": "The id of the private link service resource." + } + }, + "description": "The information of an AutoApprovedPrivateLinkService." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json index 0ddf701b4ae2..80d83143dc79 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json @@ -1297,6 +1297,14 @@ "provisioningState": { "type": "string", "description": "The provisioning state of the resource." + }, + "privateEndpointNetworkPolicies": { + "type": "string", + "description": "Enable or Disable private end point on the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "type": "string", + "description": "Enable or Disable private link service on the subnet." } }, "description": "Properties of the subnet." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json new file mode 100644 index 000000000000..2de50c068afa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json @@ -0,0 +1,2668 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": { + "delete": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Delete", + "x-ms-examples": { + "Delete ApplicationGateway": { + "$ref": "./examples/ApplicationGatewayDelete.json" + } + }, + "description": "Deletes the specified application gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Get", + "x-ms-examples": { + "Get ApplicationGateway": { + "$ref": "./examples/ApplicationGatewayGet.json" + } + }, + "description": "Gets the specified application gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns an ApplicationGateway resource.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + } + }, + "put": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_CreateOrUpdate", + "description": "Creates or updates the specified application gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGateway" + }, + "description": "Parameters supplied to the create or update application gateway operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ApplicationGateway resource.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ApplicationGateway resource.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + }, + "x-ms-examples": { + "Create Application Gateway": { + "$ref": "./examples/ApplicationGatewayCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_UpdateTags", + "x-ms-examples": { + "Update Application Gateway tags": { + "$ref": "./examples/ApplicationGatewayUpdateTags.json" + } + }, + "description": "Updates the specified application gateway tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update application gateway tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ApplicationGateway resource.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_List", + "x-ms-examples": { + "Lists all application gateways in a resource group": { + "$ref": "./examples/ApplicationGatewayList.json" + } + }, + "description": "Lists all application gateways in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of ApplicationGateway resources.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAll", + "x-ms-examples": { + "Lists all application gateways in a subscription": { + "$ref": "./examples/ApplicationGatewayListAll.json" + } + }, + "description": "Gets all the application gateways in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of ApplicationGateway resources.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Start", + "x-ms-examples": { + "Start Application Gateway": { + "$ref": "./examples/ApplicationGatewayStart.json" + } + }, + "description": "Starts the specified application gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation starts the ApplicationGateway resource." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Stop", + "x-ms-examples": { + "Stop Application Gateway": { + "$ref": "./examples/ApplicationGatewayStop.json" + } + }, + "description": "Stops the specified application gateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation stops the ApplicationGateway resource." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_BackendHealth", + "description": "Gets the backend health of the specified application gateway in a resource group.", + "x-ms-examples": { + "Get Backend Health": { + "$ref": "./examples/ApplicationGatewayBackendHealthGet.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health." + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayBackendHealth" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_BackendHealthOnDemand", + "description": "Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group.", + "x-ms-examples": { + "Test Backend Health": { + "$ref": "./examples/ApplicationGatewayBackendHealthTest.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health." + }, + { + "name": "probeRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGatewayOnDemandProbe" + }, + "description": "Request body for on-demand test probe operation." + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthOnDemand" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableServerVariables", + "x-ms-examples": { + "Get Available Server Variables": { + "$ref": "./examples/ApplicationGatewayAvailableServerVariablesGet.json" + } + }, + "description": "Lists all available server variables.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of all available server variables.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableRequestHeaders", + "x-ms-examples": { + "Get Available Request Headers": { + "$ref": "./examples/ApplicationGatewayAvailableRequestHeadersGet.json" + } + }, + "description": "Lists all available request headers.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of all available request headers.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableResponseHeaders", + "x-ms-examples": { + "Get Available Response Headers": { + "$ref": "./examples/ApplicationGatewayAvailableResponseHeadersGet.json" + } + }, + "description": "Lists all available response headers.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of all available response headers.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableWafRuleSets", + "x-ms-examples": { + "Get Available Waf Rule Sets": { + "$ref": "./examples/ApplicationGatewayAvailableWafRuleSetsGet.json" + } + }, + "description": "Lists all available web application firewall rule sets.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of all available web application firewall rule sets.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableSslOptions", + "x-ms-examples": { + "Get Available Ssl Options": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsGet.json" + } + }, + "description": "Lists available Ssl options for configuring Ssl policy.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns all available Ssl options for configuring Ssl policy.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableSslOptions" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies", + "x-ms-examples": { + "Get Available Ssl Predefined Policies": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Lists all SSL predefined policies for configuring Ssl policy.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a lists of all Ssl predefined policies for configuring Ssl policy.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_GetSslPredefinedPolicy", + "x-ms-examples": { + "Get Available Ssl Predefined Policy by name": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json" + } + }, + "description": "Gets Ssl predefined policy with the specified policy name.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "predefinedPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of Ssl predefined policy." + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a Ssl predefined policy with the specified policy name.", + "schema": { + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy" + } + } + } + } + } + }, + "definitions": { + "ApplicationGatewayOnDemandProbe": { + "properties": { + "protocol": { + "$ref": "#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used for the probe." + }, + "host": { + "type": "string", + "description": "Host name to send the probe to." + }, + "path": { + "type": "string", + "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds." + }, + "pickHostNameFromBackendHttpSettings": { + "type": "boolean", + "description": "Whether the host header should be picked from the backend http settings. Default value is false." + }, + "match": { + "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch", + "description": "Criterion for classifying a healthy probe response." + }, + "backendPoolName": { + "type": "string", + "description": "Name of backend pool of application gateway to which probe request will be sent." + }, + "backendHttpSettingName": { + "type": "string", + "description": "Name of backend http setting of application gateway to be used for test probe." + } + }, + "description": "Details of on demand test probe request." + }, + "ApplicationGatewayBackendHealthOnDemand": { + "properties": { + "backendAddressPool": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPool", + "description": "Reference of an ApplicationGatewayBackendAddressPool resource." + }, + "backendHealthHttpSettings": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings", + "description": "Application gateway BackendHealthHttp settings." + } + }, + "description": "Result of on demand test probe." + }, + "ApplicationGatewayBackendHealth": { + "properties": { + "backendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthPool" + }, + "description": "A list of ApplicationGatewayBackendHealthPool resources." + } + }, + "description": "Response for ApplicationGatewayBackendHealth API service call." + }, + "ApplicationGatewayBackendHealthPool": { + "properties": { + "backendAddressPool": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPool", + "description": "Reference of an ApplicationGatewayBackendAddressPool resource." + }, + "backendHttpSettingsCollection": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + }, + "description": "List of ApplicationGatewayBackendHealthHttpSettings resources." + } + }, + "description": "Application gateway BackendHealth pool." + }, + "ApplicationGatewayBackendHealthHttpSettings": { + "properties": { + "backendHttpSettings": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings", + "description": "Reference of an ApplicationGatewayBackendHttpSettings resource." + }, + "servers": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthServer" + }, + "description": "List of ApplicationGatewayBackendHealthServer resources." + } + }, + "description": "Application gateway BackendHealthHttp settings." + }, + "ApplicationGatewayBackendHealthServer": { + "properties": { + "address": { + "type": "string", + "description": "IP address or FQDN of backend server." + }, + "ipConfiguration": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration", + "description": "Reference of IP configuration of backend server." + }, + "health": { + "type": "string", + "description": "Health of backend server.", + "enum": [ + "Unknown", + "Up", + "Down", + "Partial", + "Draining" + ], + "x-ms-enum": { + "name": "ApplicationGatewayBackendHealthServerHealth", + "modelAsString": true + } + }, + "healthProbeLog": { + "type": "string", + "description": "Health Probe Log." + } + }, + "description": "Application gateway backendhealth http settings." + }, + "ApplicationGatewaySku": { + "properties": { + "name": { + "type": "string", + "description": "Name of an application gateway SKU.", + "enum": [ + "Standard_Small", + "Standard_Medium", + "Standard_Large", + "WAF_Medium", + "WAF_Large", + "Standard_v2", + "WAF_v2" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "description": "Tier of an application gateway.", + "enum": [ + "Standard", + "WAF", + "Standard_v2", + "WAF_v2" + ], + "x-ms-enum": { + "name": "ApplicationGatewayTier", + "modelAsString": true + } + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Capacity (instance count) of an application gateway." + } + }, + "description": "SKU of an application gateway." + }, + "ApplicationGatewaySslPolicy": { + "properties": { + "disabledSslProtocols": { + "type": "array", + "description": "Ssl protocols to be disabled on application gateway.", + "items": { + "type": "string", + "$ref": "#/definitions/ProtocolsEnum" + } + }, + "policyType": { + "type": "string", + "description": "Type of Ssl Policy.", + "enum": [ + "Predefined", + "Custom" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslPolicyType", + "modelAsString": true + } + }, + "policyName": { + "$ref": "#/definitions/PolicyNameEnum", + "description": "Name of Ssl predefined policy." + }, + "cipherSuites": { + "type": "array", + "items": { + "$ref": "#/definitions/CipherSuitesEnum" + }, + "description": "Ssl cipher suites to be enabled in the specified order to application gateway." + }, + "minProtocolVersion": { + "$ref": "#/definitions/ProtocolsEnum", + "description": "Minimum version of Ssl protocol to be supported on application gateway." + } + }, + "description": "Application Gateway Ssl policy." + }, + "ApplicationGatewayIPConfigurationPropertiesFormat": { + "properties": { + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource. A subnet from where application gateway gets its private address." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the application gateway subnet resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of IP configuration of an application gateway." + }, + "ApplicationGatewayIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat", + "description": "Properties of the application gateway IP configuration." + }, + "name": { + "type": "string", + "description": "Name of the IP configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed." + }, + "ApplicationGatewayAuthenticationCertificatePropertiesFormat": { + "properties": { + "data": { + "type": "string", + "description": "Certificate public data." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the authentication certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Authentication certificates properties of an application gateway." + }, + "ApplicationGatewayAuthenticationCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesFormat", + "description": "Properties of the application gateway authentication certificate." + }, + "name": { + "type": "string", + "description": "Name of the authentication certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Authentication certificates of an application gateway." + }, + "ApplicationGatewayTrustedRootCertificatePropertiesFormat": { + "properties": { + "data": { + "type": "string", + "description": "Certificate public data." + }, + "keyVaultSecretId": { + "type": "string", + "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the trusted root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Trusted Root certificates properties of an application gateway." + }, + "ApplicationGatewayTrustedRootCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat", + "description": "Properties of the application gateway trusted root certificate." + }, + "name": { + "type": "string", + "description": "Name of the trusted root certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Trusted Root certificates of an application gateway." + }, + "ApplicationGatewaySslCertificatePropertiesFormat": { + "properties": { + "data": { + "type": "string", + "description": "Base-64 encoded pfx certificate. Only applicable in PUT Request." + }, + "password": { + "type": "string", + "description": "Password for the pfx file specified in data. Only applicable in PUT request." + }, + "publicCertData": { + "type": "string", + "description": "Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request." + }, + "keyVaultSecretId": { + "type": "string", + "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the SSL certificate resource Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of SSL certificates of an application gateway." + }, + "ApplicationGatewaySslCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat", + "description": "Properties of the application gateway SSL certificate." + }, + "name": { + "type": "string", + "description": "Name of the SSL certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "SSL certificates of an application gateway." + }, + "ApplicationGatewayFrontendIPConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "PrivateIPAddress of the network interface IP Configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the PublicIP resource." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Frontend IP configuration of an application gateway." + }, + "ApplicationGatewayFrontendIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat", + "description": "Properties of the application gateway frontend IP configuration." + }, + "name": { + "type": "string", + "description": "Name of the frontend IP configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Frontend IP configuration of an application gateway." + }, + "ApplicationGatewayFrontendPortPropertiesFormat": { + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "Frontend port." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the frontend port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Frontend port of an application gateway." + }, + "ApplicationGatewayFrontendPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat", + "description": "Properties of the application gateway frontend port." + }, + "name": { + "type": "string", + "description": "Name of the frontend port that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Frontend port of an application gateway." + }, + "ApplicationGatewayBackendAddress": { + "properties": { + "fqdn": { + "type": "string", + "description": "Fully qualified domain name (FQDN)." + }, + "ipAddress": { + "type": "string", + "description": "IP address." + } + }, + "description": "Backend address of an application gateway." + }, + "ApplicationGatewayBackendAddressPoolPropertiesFormat": { + "properties": { + "backendIPConfigurations": { + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration" + }, + "description": "Collection of references to IPs defined in network interfaces." + }, + "backendAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendAddress" + }, + "description": "Backend addresses." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Backend Address Pool of an application gateway." + }, + "ApplicationGatewayBackendAddressPool": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat", + "description": "Properties of the application gateway backend address pool." + }, + "name": { + "type": "string", + "description": "Name of the backend address pool that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Backend Address Pool of an application gateway." + }, + "ApplicationGatewayBackendHttpSettingsPropertiesFormat": { + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The destination port on the backend." + }, + "protocol": { + "$ref": "#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used to communicate with the backend." + }, + "cookieBasedAffinity": { + "type": "string", + "description": "Cookie based affinity.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ApplicationGatewayCookieBasedAffinity", + "modelAsString": true + } + }, + "requestTimeout": { + "type": "integer", + "format": "int32", + "description": "Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds." + }, + "probe": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Probe resource of an application gateway." + }, + "authenticationCertificates": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Array of references to application gateway authentication certificates." + }, + "trustedRootCertificates": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Array of references to application gateway trusted root certificates." + }, + "connectionDraining": { + "$ref": "#/definitions/ApplicationGatewayConnectionDraining", + "description": "Connection draining of the backend http settings resource." + }, + "hostName": { + "type": "string", + "description": "Host header to be sent to the backend servers." + }, + "pickHostNameFromBackendAddress": { + "type": "boolean", + "description": "Whether to pick host header should be picked from the host name of the backend server. Default value is false." + }, + "affinityCookieName": { + "type": "string", + "description": "Cookie name to use for the affinity cookie." + }, + "probeEnabled": { + "type": "boolean", + "description": "Whether the probe is enabled. Default value is false." + }, + "path": { + "type": "string", + "description": "Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Backend address pool settings of an application gateway." + }, + "ApplicationGatewayBackendHttpSettings": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat", + "description": "Properties of the application gateway backend HTTP settings." + }, + "name": { + "type": "string", + "description": "Name of the backend http settings that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Backend address pool settings of an application gateway." + }, + "ApplicationGatewayHttpListenerPropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Frontend IP configuration resource of an application gateway." + }, + "frontendPort": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Frontend port resource of an application gateway." + }, + "protocol": { + "$ref": "#/definitions/ApplicationGatewayProtocol", + "description": "Protocol of the HTTP listener." + }, + "hostName": { + "type": "string", + "description": "Host name of HTTP listener." + }, + "sslCertificate": { + "$ref": "./network.json#/definitions/SubResource", + "description": "SSL certificate resource of an application gateway." + }, + "requireServerNameIndication": { + "type": "boolean", + "description": "Applicable only if protocol is https. Enables SNI for multi-hosting." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "customErrorConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayCustomError" + }, + "description": "Custom error configurations of the HTTP listener." + } + }, + "description": "Properties of HTTP listener of an application gateway." + }, + "ApplicationGatewayHttpListener": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat", + "description": "Properties of the application gateway HTTP listener." + }, + "name": { + "type": "string", + "description": "Name of the HTTP listener that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Http listener of an application gateway." + }, + "ApplicationGatewayPathRulePropertiesFormat": { + "properties": { + "paths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Path rules of URL path map." + }, + "backendAddressPool": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Backend address pool resource of URL path map path rule." + }, + "backendHttpSettings": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Backend http settings resource of URL path map path rule." + }, + "redirectConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Redirect configuration resource of URL path map path rule." + }, + "rewriteRuleSet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Rewrite rule set resource of URL path map path rule." + }, + "provisioningState": { + "type": "string", + "description": "Path rule of URL path map resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of path rule of an application gateway." + }, + "ApplicationGatewayPathRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayPathRulePropertiesFormat", + "description": "Properties of the application gateway path rule." + }, + "name": { + "type": "string", + "description": "Name of the path rule that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Path rule of URL path map of an application gateway." + }, + "ApplicationGatewayProbePropertiesFormat": { + "properties": { + "protocol": { + "$ref": "#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used for the probe." + }, + "host": { + "type": "string", + "description": "Host name to send the probe to." + }, + "path": { + "type": "string", + "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:." + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds." + }, + "unhealthyThreshold": { + "type": "integer", + "format": "int32", + "description": "The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20." + }, + "pickHostNameFromBackendHttpSettings": { + "type": "boolean", + "description": "Whether the host header should be picked from the backend http settings. Default value is false." + }, + "minServers": { + "type": "integer", + "format": "int32", + "description": "Minimum number of servers that are always marked healthy. Default value is 0." + }, + "match": { + "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch", + "description": "Criterion for classifying a healthy probe response." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only.", + "minimum": 1, + "maximum": 65535 + } + }, + "description": "Properties of probe of an application gateway." + }, + "ApplicationGatewayProbeHealthResponseMatch": { + "properties": { + "body": { + "type": "string", + "description": "Body that must be contained in the health response. Default value is empty." + }, + "statusCodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399." + } + }, + "description": "Application gateway probe health response match." + }, + "ApplicationGatewayProbe": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayProbePropertiesFormat", + "description": "Properties of the application gateway probe." + }, + "name": { + "type": "string", + "description": "Name of the probe that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Probe of the application gateway." + }, + "ApplicationGatewayRequestRoutingRulePropertiesFormat": { + "properties": { + "ruleType": { + "type": "string", + "description": "Rule type.", + "enum": [ + "Basic", + "PathBasedRouting" + ], + "x-ms-enum": { + "name": "ApplicationGatewayRequestRoutingRuleType", + "modelAsString": true + } + }, + "backendAddressPool": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Backend address pool resource of the application gateway." + }, + "backendHttpSettings": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Backend http settings resource of the application gateway." + }, + "httpListener": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Http listener resource of the application gateway." + }, + "urlPathMap": { + "$ref": "./network.json#/definitions/SubResource", + "description": "URL path map resource of the application gateway." + }, + "rewriteRuleSet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Rewrite Rule Set resource in Basic rule of the application gateway." + }, + "redirectConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Redirect configuration resource of the application gateway." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the request routing rule resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of request routing rule of the application gateway." + }, + "ApplicationGatewayRequestRoutingRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat", + "description": "Properties of the application gateway request routing rule." + }, + "name": { + "type": "string", + "description": "Name of the request routing rule that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Request routing rule of an application gateway." + }, + "ApplicationGatewayRewriteRuleSet": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat", + "description": "Properties of the application gateway rewrite rule set." + }, + "name": { + "type": "string", + "description": "Name of the rewrite rule set that is unique within an Application Gateway." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Rewrite rule set of an application gateway." + }, + "ApplicationGatewayRewriteRuleSetPropertiesFormat": { + "properties": { + "rewriteRules": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRule" + }, + "description": "Rewrite rules in the rewrite rule set." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the rewrite rule set resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of rewrite rule set of the application gateway." + }, + "ApplicationGatewayRewriteRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the rewrite rule that is unique within an Application Gateway." + }, + "ruleSequence": { + "type": "integer", + "description": "Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet." + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleCondition" + }, + "description": "Conditions based on which the action set execution will be evaluated." + }, + "actionSet": { + "type": "object", + "$ref": "#/definitions/ApplicationGatewayRewriteRuleActionSet", + "description": "Set of actions to be done as part of the rewrite Rule." + } + }, + "description": "Rewrite rule of an application gateway." + }, + "ApplicationGatewayRewriteRuleCondition": { + "properties": { + "variable": { + "type": "string", + "description": "The condition parameter of the RewriteRuleCondition." + }, + "pattern": { + "type": "string", + "description": "The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition." + }, + "ignoreCase": { + "type": "boolean", + "description": "Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison." + }, + "negate": { + "type": "boolean", + "description": "Setting this value as truth will force to check the negation of the condition given by the user." + } + }, + "description": "Set of conditions in the Rewrite Rule in Application Gateway." + }, + "ApplicationGatewayRewriteRuleActionSet": { + "properties": { + "requestHeaderConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration" + }, + "description": "Request Header Actions in the Action Set." + }, + "responseHeaderConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration" + }, + "description": "Response Header Actions in the Action Set." + } + }, + "description": "Set of actions in the Rewrite Rule in Application Gateway." + }, + "ApplicationGatewayHeaderConfiguration": { + "properties": { + "headerName": { + "type": "string", + "description": "Header name of the header configuration." + }, + "headerValue": { + "type": "string", + "description": "Header value of the header configuration." + } + }, + "description": "Header configuration of the Actions set in Application Gateway." + }, + "ApplicationGatewayRedirectConfigurationPropertiesFormat": { + "properties": { + "redirectType": { + "type": "string", + "$ref": "#/definitions/RedirectTypeEnum", + "description": "HTTP redirection type." + }, + "targetListener": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to a listener to redirect the request to." + }, + "targetUrl": { + "type": "string", + "description": "Url to redirect the request to." + }, + "includePath": { + "type": "boolean", + "description": "Include path in the redirected url." + }, + "includeQueryString": { + "type": "boolean", + "description": "Include query string in the redirected url." + }, + "requestRoutingRules": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Request routing specifying redirect configuration." + }, + "urlPathMaps": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Url path maps specifying default redirect configuration." + }, + "pathRules": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Path rules specifying redirect configuration." + } + }, + "description": "Properties of redirect configuration of the application gateway." + }, + "ApplicationGatewayRedirectConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat", + "description": "Properties of the application gateway redirect configuration." + }, + "name": { + "type": "string", + "description": "Name of the redirect configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Redirect configuration of an application gateway." + }, + "ApplicationGatewayPropertiesFormat": { + "properties": { + "sku": { + "$ref": "#/definitions/ApplicationGatewaySku", + "description": "SKU of the application gateway resource." + }, + "sslPolicy": { + "$ref": "#/definitions/ApplicationGatewaySslPolicy", + "description": "SSL policy of the application gateway resource." + }, + "operationalState": { + "readOnly": true, + "type": "string", + "description": "Operational state of the application gateway resource.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping" + ], + "x-ms-enum": { + "name": "ApplicationGatewayOperationalState", + "modelAsString": true + } + }, + "gatewayIPConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayIPConfiguration" + }, + "description": "Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "authenticationCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificate" + }, + "description": "Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "trustedRootCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificate" + }, + "description": "Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "sslCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslCertificate" + }, + "description": "SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "frontendIPConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendIPConfiguration" + }, + "description": "Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "frontendPorts": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendPort" + }, + "description": "Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "probes": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayProbe" + }, + "description": "Probes of the application gateway resource." + }, + "backendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPool" + }, + "description": "Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "backendHttpSettingsCollection": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings" + }, + "description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "httpListeners": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayHttpListener" + }, + "description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "urlPathMaps": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayUrlPathMap" + }, + "description": "URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "requestRoutingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRule" + }, + "description": "Request routing rules of the application gateway resource." + }, + "rewriteRuleSets": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleSet" + }, + "description": "Rewrite rules for the application gateway resource." + }, + "redirectConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRedirectConfiguration" + }, + "description": "Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)." + }, + "webApplicationFirewallConfiguration": { + "$ref": "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration", + "description": "Web application firewall configuration." + }, + "firewallPolicy": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the FirewallPolicy resource." + }, + "enableHttp2": { + "type": "boolean", + "description": "Whether HTTP2 is enabled on the application gateway resource." + }, + "enableFips": { + "type": "boolean", + "description": "Whether FIPS is enabled on the application gateway resource." + }, + "autoscaleConfiguration": { + "$ref": "#/definitions/ApplicationGatewayAutoscaleConfiguration", + "description": "Autoscale Configuration." + }, + "resourceGuid": { + "type": "string", + "description": "Resource GUID property of the application gateway resource." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the application gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "customErrorConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayCustomError" + }, + "description": "Custom error configurations of the application gateway resource." + } + }, + "description": "Properties of the application gateway." + }, + "ApplicationGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayPropertiesFormat", + "description": "Properties of the application gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + }, + "identity": { + "$ref": "./network.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the application gateway, if configured." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Application gateway resource." + }, + "ApplicationGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGateway" + }, + "description": "List of an application gateways in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListApplicationGateways API service call." + }, + "ApplicationGatewayUrlPathMapPropertiesFormat": { + "properties": { + "defaultBackendAddressPool": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Default backend address pool resource of URL path map." + }, + "defaultBackendHttpSettings": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Default backend http settings resource of URL path map." + }, + "defaultRewriteRuleSet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Default Rewrite rule set resource of URL path map." + }, + "defaultRedirectConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Default redirect configuration resource of URL path map." + }, + "pathRules": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayPathRule" + }, + "description": "Path rule of URL path map resource." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of UrlPathMap of the application gateway." + }, + "ApplicationGatewayUrlPathMap": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat", + "description": "Properties of the application gateway URL path map." + }, + "name": { + "type": "string", + "description": "Name of the URL path map that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "UrlPathMaps give a url path to the backend mapping information for PathBasedRouting." + }, + "ApplicationGatewayWebApplicationFirewallConfiguration": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the web application firewall is enabled or not." + }, + "firewallMode": { + "type": "string", + "description": "Web application firewall mode.", + "enum": [ + "Detection", + "Prevention" + ], + "x-ms-enum": { + "name": "ApplicationGatewayFirewallMode", + "modelAsString": true + } + }, + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set. Possible values are: 'OWASP'." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the rule set type." + }, + "disabledRuleGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + }, + "description": "The disabled rule groups." + }, + "requestBodyCheck": { + "type": "boolean", + "description": "Whether allow WAF to check request Body." + }, + "maxRequestBodySize": { + "type": "integer", + "format": "int32", + "maximum": 128, + "exclusiveMaximum": false, + "minimum": 8, + "exclusiveMinimum": false, + "description": "Maximum request body size for WAF." + }, + "maxRequestBodySizeInKb": { + "type": "integer", + "format": "int32", + "maximum": 128, + "exclusiveMaximum": false, + "minimum": 8, + "exclusiveMinimum": false, + "description": "Maximum request body size in Kb for WAF." + }, + "fileUploadLimitInMb": { + "type": "integer", + "format": "int32", + "minimum": 0, + "exclusiveMinimum": false, + "description": "Maximum file upload size in Mb for WAF." + }, + "exclusions": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallExclusion" + }, + "description": "The exclusion list." + } + }, + "required": [ + "enabled", + "firewallMode", + "ruleSetType", + "ruleSetVersion" + ], + "description": "Application gateway web application firewall configuration." + }, + "ApplicationGatewayAutoscaleConfiguration": { + "properties": { + "minCapacity": { + "type": "integer", + "format": "int32", + "minimum": 0, + "exclusiveMinimum": false, + "description": "Lower bound on number of Application Gateway capacity." + }, + "maxCapacity": { + "type": "integer", + "format": "int32", + "minimum": 2, + "exclusiveMinimum": false, + "description": "Upper bound on number of Application Gateway capacity." + } + }, + "required": [ + "minCapacity" + ], + "description": "Application Gateway autoscale configuration." + }, + "ApplicationGatewayConnectionDraining": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether connection draining is enabled or not." + }, + "drainTimeoutInSec": { + "type": "integer", + "format": "int32", + "maximum": 3600, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false, + "description": "The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds." + } + }, + "required": [ + "enabled", + "drainTimeoutInSec" + ], + "description": "Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration." + }, + "ApplicationGatewayFirewallDisabledRuleGroup": { + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The name of the rule group that will be disabled." + }, + "rules": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "x-nullable": false + }, + "description": "The list of rules that will be disabled. If null, all rules of the rule group will be disabled." + } + }, + "required": [ + "ruleGroupName" + ], + "description": "Allows to disable rules within a rule group or an entire rule group." + }, + "ApplicationGatewayAvailableServerVariablesResult": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Response for ApplicationGatewayAvailableServerVariables API service call." + }, + "ApplicationGatewayAvailableRequestHeadersResult": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call." + }, + "ApplicationGatewayAvailableResponseHeadersResult": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Response for ApplicationGatewayAvailableResponseHeaders API service call." + }, + "ApplicationGatewayFirewallExclusion": { + "properties": { + "matchVariable": { + "type": "string", + "description": "The variable to be excluded." + }, + "selectorMatchOperator": { + "type": "string", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to." + }, + "selector": { + "type": "string", + "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to." + } + }, + "required": [ + "matchVariable", + "selectorMatchOperator", + "selector" + ], + "description": "Allow to exclude some variable satisfy the condition for the WAF check." + }, + "ApplicationGatewayAvailableWafRuleSetsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleSet" + }, + "description": "The list of application gateway rule sets." + } + }, + "description": "Response for ApplicationGatewayAvailableWafRuleSets API service call." + }, + "ApplicationGatewayFirewallRuleSet": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat", + "description": "Properties of the application gateway firewall rule set." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "A web application firewall rule set." + }, + "ApplicationGatewayFirewallRuleSetPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The provisioning state of the web application firewall rule set." + }, + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the web application firewall rule set type." + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleGroup" + }, + "description": "The rule groups of the web application firewall rule set." + } + }, + "required": [ + "ruleSetType", + "ruleSetVersion", + "ruleGroups" + ], + "description": "Properties of the web application firewall rule set." + }, + "ApplicationGatewayFirewallRuleGroup": { + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The name of the web application firewall rule group." + }, + "description": { + "type": "string", + "description": "The description of the web application firewall rule group." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRule" + }, + "description": "The rules of the web application firewall rule group." + } + }, + "required": [ + "ruleGroupName", + "rules" + ], + "description": "A web application firewall rule group." + }, + "ApplicationGatewayFirewallRule": { + "properties": { + "ruleId": { + "type": "integer", + "format": "int32", + "description": "The identifier of the web application firewall rule." + }, + "description": { + "type": "string", + "description": "The description of the web application firewall rule." + } + }, + "required": [ + "ruleId" + ], + "description": "A web application firewall rule." + }, + "ApplicationGatewayAvailableSslOptions": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat", + "description": "Properties of the application gateway available SSL options." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Response for ApplicationGatewayAvailableSslOptions API service call." + }, + "ApplicationGatewayAvailableSslOptionsPropertiesFormat": { + "properties": { + "predefinedPolicies": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of available Ssl predefined policy." + }, + "defaultPolicy": { + "$ref": "#/definitions/PolicyNameEnum", + "description": "Name of the Ssl predefined policy applied by default to application gateway." + }, + "availableCipherSuites": { + "type": "array", + "items": { + "$ref": "#/definitions/CipherSuitesEnum" + }, + "description": "List of available Ssl cipher suites." + }, + "availableProtocols": { + "type": "array", + "items": { + "$ref": "#/definitions/ProtocolsEnum" + }, + "description": "List of available Ssl protocols." + } + }, + "description": "Properties of ApplicationGatewayAvailableSslOptions." + }, + "ApplicationGatewayAvailableSslPredefinedPolicies": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy" + }, + "description": "List of available Ssl predefined policy." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ApplicationGatewayAvailableSslOptions API service call." + }, + "ApplicationGatewaySslPredefinedPolicy": { + "properties": { + "name": { + "type": "string", + "description": "Name of the Ssl predefined policy." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat", + "description": "Properties of the application gateway SSL predefined policy." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "An Ssl predefined policy." + }, + "ApplicationGatewaySslPredefinedPolicyPropertiesFormat": { + "properties": { + "cipherSuites": { + "type": "array", + "items": { + "$ref": "#/definitions/CipherSuitesEnum" + }, + "description": "Ssl cipher suites to be enabled in the specified order for application gateway." + }, + "minProtocolVersion": { + "$ref": "#/definitions/ProtocolsEnum", + "description": "Minimum version of Ssl protocol to be supported on application gateway." + } + }, + "description": "Properties of ApplicationGatewaySslPredefinedPolicy." + }, + "ApplicationGatewayCustomError": { + "properties": { + "statusCode": { + "type": "string", + "description": "Status code of the application gateway customer error.", + "enum": [ + "HttpStatus403", + "HttpStatus502" + ], + "x-ms-enum": { + "name": "ApplicationGatewayCustomErrorStatusCode", + "modelAsString": true + } + }, + "customErrorPageUrl": { + "type": "string", + "description": "Error page URL of the application gateway customer error." + } + }, + "description": "Customer error of an application gateway." + }, + "PolicyNameEnum": { + "type": "string", + "description": "Ssl predefined policy name enums.", + "enum": [ + "AppGwSslPolicy20150501", + "AppGwSslPolicy20170401", + "AppGwSslPolicy20170401S" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslPolicyName", + "modelAsString": true + } + }, + "ProtocolsEnum": { + "type": "string", + "description": "Ssl protocol enums.", + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslProtocol", + "modelAsString": true + } + }, + "CipherSuitesEnum": { + "type": "string", + "description": "Ssl cipher suites enums.", + "enum": [ + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslCipherSuite", + "modelAsString": true + } + }, + "RedirectTypeEnum": { + "type": "string", + "description": "Redirect type enum.", + "enum": [ + "Permanent", + "Found", + "SeeOther", + "Temporary" + ], + "x-ms-enum": { + "name": "ApplicationGatewayRedirectType", + "modelAsString": true + } + }, + "ApplicationGatewayProtocol": { + "type": "string", + "description": "Application Gateway protocol.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "ApplicationGatewayProtocol", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json new file mode 100644 index 000000000000..3a2b5c1a5e96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json @@ -0,0 +1,371 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": { + "delete": { + "tags": [ + "ApplicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_Delete", + "description": "Deletes the specified application security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete application security group": { + "$ref": "./examples/ApplicationSecurityGroupDelete.json" + } + } + }, + "get": { + "tags": [ + "ApplicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_Get", + "description": "Gets information about the specified application security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the specified application security group resource.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroup" + } + } + }, + "x-ms-examples": { + "Get application security group": { + "$ref": "./examples/ApplicationSecurityGroupGet.json" + } + } + }, + "put": { + "tags": [ + "ApplicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_CreateOrUpdate", + "description": "Creates or updates an application security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application security group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroup" + }, + "description": "Parameters supplied to the create or update ApplicationSecurityGroup operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting application security group resource.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroup" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting application security group resource.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroup" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create application security group": { + "$ref": "./examples/ApplicationSecurityGroupCreate.json" + } + } + }, + "patch": { + "tags": [ + "applicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_UpdateTags", + "description": "Updates an application security group's tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application security group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update application security group tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ApplicationSecurityGroup resource.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroup" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update application security group tags": { + "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": { + "get": { + "tags": [ + "ApplicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_ListAll", + "description": "Gets all application security groups in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of application security group resources.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all application security groups": { + "$ref": "./examples/ApplicationSecurityGroupListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": { + "get": { + "tags": [ + "ApplicationSecurityGroups" + ], + "operationId": "ApplicationSecurityGroups_List", + "description": "Gets all the application security groups in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of application security group resources.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroupListResult" + } + } + }, + "x-ms-examples": { + "List load balancers in resource group": { + "$ref": "./examples/ApplicationSecurityGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ApplicationSecurityGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationSecurityGroupPropertiesFormat", + "description": "Properties of the application security group." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "An application security group in a resource group." + }, + "ApplicationSecurityGroupPropertiesFormat": { + "properties": { + "resourceGuid": { + "readOnly": true, + "type": "string", + "description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the application security group resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Application security group properties." + }, + "ApplicationSecurityGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationSecurityGroup" + }, + "description": "A list of application security groups." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "A list of application security groups." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json similarity index 65% rename from specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json rename to specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json index 68764771e26d..2b19a8851542 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkManagementClient", "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2019-04-01" + "version": "2019-06-01" }, "host": "management.azure.com", "schemes": [ @@ -34,17 +34,17 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": { "get": { - "operationId": "AvailablePrivateEndpointTypes_List", - "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "operationId": "AvailableDelegations_List", + "description": "Gets all of the available subnet delegations for this subscription in this region.", "parameters": [ { "name": "location", "in": "path", "required": true, "type": "string", - "description": "The location of the domain name." + "description": "The location of the subnet." }, { "$ref": "./network.json#/parameters/ApiVersionParameter" @@ -55,15 +55,15 @@ ], "responses": { "200": { - "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", "schema": { - "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + "$ref": "#/definitions/AvailableDelegationsResult" } } }, "x-ms-examples": { - "Get available PrivateEndpoint types": { - "$ref": "./examples/AvailablePrivateEndpointTypesGet.json" + "Get available delegations": { + "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" } }, "x-ms-pageable": { @@ -71,10 +71,10 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { "get": { - "operationId": "AvailableResourceGroupPrivateEndpointTypes_List", - "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "operationId": "AvailableResourceGroupDelegations_List", + "description": "Gets all of the available subnet delegations for this resource group in this region.", "parameters": [ { "name": "location", @@ -99,15 +99,15 @@ ], "responses": { "200": { - "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", "schema": { - "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + "$ref": "#/definitions/AvailableDelegationsResult" } } }, "x-ms-examples": { - "Get available PrivateEndpoint types in the resource group": { - "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json" + "Get available delegations in the resource group": { + "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" } }, "x-ms-pageable": { @@ -117,14 +117,14 @@ } }, "definitions": { - "AvailablePrivateEndpointTypesResult": { + "AvailableDelegationsResult": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/AvailablePrivateEndpointType" + "$ref": "#/definitions/AvailableDelegation" }, - "description": "An array of available privateEndpoint type." + "description": "An array of available delegations." }, "nextLink": { "readOnly": true, @@ -132,13 +132,17 @@ "description": "The URL to get the next set of results." } }, - "description": "An array of available PrivateEndpoint types." + "description": "An array of available delegations." }, - "AvailablePrivateEndpointType": { + "AvailableDelegation": { "properties": { + "name": { + "type": "string", + "description": "The name of the AvailableDelegation resource." + }, "id": { "type": "string", - "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." + "description": "A unique identifier of the AvailableDelegation resource." }, "type": { "type": "string", @@ -147,9 +151,16 @@ "serviceName": { "type": "string", "description": "The name of the service and resource." + }, + "actions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Describes the actions permitted to the service upon delegation." } }, - "description": "The information of an AvailablePrivateEndpointType." + "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json new file mode 100644 index 000000000000..264c1d5ba3db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json @@ -0,0 +1,843 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": { + "delete": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Delete", + "description": "Deletes the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete Azure Firewall": { + "$ref": "./examples/AzureFirewallDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_Get", + "description": "Gets the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns an AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + } + }, + "x-ms-examples": { + "Get Azure Firewall": { + "$ref": "./examples/AzureFirewallGet.json" + }, + "Get Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallGetWithZones.json" + } + } + }, + "put": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_CreateOrUpdate", + "description": "Creates or updates the specified Azure Firewall.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "Parameters supplied to the create or update Azure Firewall operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + } + }, + "x-ms-examples": { + "Create Azure Firewall": { + "$ref": "./examples/AzureFirewallPut.json" + }, + "Create Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallPutWithZones.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_UpdateTags", + "description": "Updates tags for an Azure Firewall resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "azureFirewallName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Firewall." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "Parameters supplied to the create or update Azure Firewall operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting AzureFirewall resource.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + } + }, + "x-ms-examples": { + "Update Azure Firewall Tags": { + "$ref": "./examples/AzureFirewallUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_List", + "description": "Lists all Azure Firewalls in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" + } + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given resource group": { + "$ref": "./examples/AzureFirewallListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "tags": [ + "AzureFirewalls" + ], + "operationId": "AzureFirewalls_ListAll", + "description": "Gets all the Azure Firewalls in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of AzureFirewall resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" + } + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given subscription": { + "$ref": "./examples/AzureFirewallListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AzureFirewallIPConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "readOnly": true, + "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes." + }, + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Properties of IP configuration of an Azure Firewall." + }, + "AzureFirewallIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", + "description": "Properties of the azure firewall IP configuration." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration of an Azure Firewall." + }, + "AzureFirewallPropertiesFormat": { + "properties": { + "applicationRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleCollection" + }, + "description": "Collection of application rule collections used by Azure Firewall." + }, + "natRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRuleCollection" + }, + "description": "Collection of NAT rule collections used by Azure Firewall." + }, + "networkRuleCollections": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleCollection" + }, + "description": "Collection of network rule collections used by Azure Firewall." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallIPConfiguration" + }, + "description": "IP configuration of the Azure Firewall resource." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "threatIntelMode": { + "description": "The operation mode for Threat Intelligence.", + "$ref": "#/definitions/AzureFirewallThreatIntelMode" + } + }, + "description": "Properties of the Azure Firewall." + }, + "AzureFirewall": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallPropertiesFormat", + "description": "Properties of the azure firewall." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall resource." + }, + "AzureFirewallListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewall" + }, + "description": "List of Azure Firewalls in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListAzureFirewalls API service call." + }, + "AzureFirewallThreatIntelMode": { + "type": "string", + "description": "The operation mode for Threat Intel.", + "enum": [ + "Alert", + "Deny", + "Off" + ], + "x-ms-enum": { + "name": "AzureFirewallThreatIntelMode", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the application rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRule" + }, + "description": "Collection of rules used by a application rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Properties of the application rule collection." + }, + "AzureFirewallApplicationRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall application rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Application rule collection resource." + }, + "AzureFirewallApplicationRuleProtocol": { + "properties": { + "protocolType": { + "description": "Protocol type.", + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocolType" + }, + "port": { + "type": "integer", + "format": "int32", + "maximum": 64000, + "exclusiveMaximum": false, + "minimum": 0, + "exclusiveMinimum": false, + "description": "Port number for the protocol, cannot be greater than 64000. This field is optional." + } + }, + "description": "Properties of the application rule protocol." + }, + "AzureFirewallApplicationRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the application rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol" + }, + "description": "Array of ApplicationRuleProtocols." + }, + "targetFqdns": { + "type": "array", + "description": "List of FQDNs for this rule.", + "items": { + "type": "string" + } + }, + "fqdnTags": { + "type": "array", + "description": "List of FQDN Tags for this rule.", + "items": { + "type": "string" + } + } + }, + "description": "Properties of an application rule." + }, + "AzureFirewallNatRuleCollectionProperties": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the NAT rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallNatRCAction", + "description": "The action type of a NAT rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNatRule" + }, + "description": "Collection of rules used by a NAT rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Properties of the NAT rule collection." + }, + "AzureFirewallNatRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", + "description": "Properties of the azure firewall NAT rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "NAT rule collection resource." + }, + "AzureFirewallNatRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the NAT rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule." + }, + "translatedAddress": { + "type": "string", + "description": "The translated address for this NAT rule." + }, + "translatedPort": { + "type": "string", + "description": "The translated port for this NAT rule." + } + }, + "description": "Properties of a NAT rule." + }, + "AzureFirewallNatRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallNatRCActionType" + } + }, + "description": "AzureFirewall NAT Rule Collection Action." + }, + "AzureFirewallNatRCActionType": { + "type": "string", + "description": "The action type of a NAT rule collection.", + "enum": [ + "Snat", + "Dnat" + ], + "x-ms-enum": { + "name": "AzureFirewallNatRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleCollectionPropertiesFormat": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "maximum": 65000, + "exclusiveMaximum": false, + "minimum": 100, + "exclusiveMinimum": false, + "description": "Priority of the network rule collection resource." + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRule" + }, + "description": "Collection of rules used by a network rule collection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Properties of the network rule collection." + }, + "AzureFirewallNetworkRuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall network rule collection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Network rule collection resource." + }, + "AzureFirewallNetworkRule": { + "properties": { + "name": { + "type": "string", + "description": "Name of the network rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "protocols": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol" + }, + "description": "Array of AzureFirewallNetworkRuleProtocols." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + } + }, + "description": "Properties of the network rule." + }, + "AzureFirewallRCAction": { + "properties": { + "type": { + "description": "The type of action.", + "$ref": "#/definitions/AzureFirewallRCActionType" + } + }, + "description": "Properties of the AzureFirewallRCAction." + }, + "AzureFirewallRCActionType": { + "type": "string", + "description": "The action type of a rule collection.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "AzureFirewallRCActionType", + "modelAsString": true + } + }, + "AzureFirewallNetworkRuleProtocol": { + "type": "string", + "description": "The protocol of a Network Rule resource.", + "enum": [ + "TCP", + "UDP", + "Any", + "ICMP" + ], + "x-ms-enum": { + "name": "AzureFirewallNetworkRuleProtocol", + "modelAsString": true + } + }, + "AzureFirewallApplicationRuleProtocolType": { + "type": "string", + "description": "The protocol type of a Application Rule resource.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "AzureFirewallApplicationRuleProtocolType", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json new file mode 100644 index 000000000000..e783e38509a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json @@ -0,0 +1,124 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { + "get": { + "tags": [ + "AzureFirewallFqdnTags" + ], + "operationId": "AzureFirewallFqdnTags_ListAll", + "description": "Gets all the Azure Firewall FQDN Tags in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of Azure Firewall FQDN Tag resources.", + "schema": { + "$ref": "#/definitions/AzureFirewallFqdnTagListResult" + } + } + }, + "x-ms-examples": { + "List all Azure Firewall FQDN Tags for a given subscription": { + "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AzureFirewallFqdnTagPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource." + }, + "fqdnTagName": { + "type": "string", + "readOnly": true, + "description": "The name of this FQDN Tag." + } + }, + "description": "Azure Firewall FQDN Tag Properties." + }, + "AzureFirewallFqdnTag": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", + "description": "Properties of the azure firewall FQDN tag." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Azure Firewall FQDN Tag Resource." + }, + "AzureFirewallFqdnTagListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureFirewallFqdnTag" + }, + "description": "List of Azure Firewall FQDN Tags in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListAzureFirewallFqdnTags API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json new file mode 100644 index 000000000000..8da661f085d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json @@ -0,0 +1,377 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": { + "delete": { + "tags": [ + "BastionHosts" + ], + "operationId": "BastionHosts_Delete", + "description": "Deletes the specified Bastion Host.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "bastionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Bastion Host." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete Bastion Host": { + "$ref": "./examples/BastionHostDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "BastionHosts" + ], + "operationId": "BastionHosts_Get", + "description": "Gets the specified Bastion Host.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "bastionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Bastion Host." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns an BastionHost resource.", + "schema": { + "$ref": "#/definitions/BastionHost" + } + } + }, + "x-ms-examples": { + "Get Bastion Host": { + "$ref": "./examples/BastionHostGet.json" + } + } + }, + "put": { + "tags": [ + "BastionHosts" + ], + "operationId": "BastionHosts_CreateOrUpdate", + "description": "Creates or updates the specified Bastion Host.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "bastionHostName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Bastion Host." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BastionHost" + }, + "description": "Parameters supplied to the create or update Bastion Host operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting Bastion Host resource.", + "schema": { + "$ref": "#/definitions/BastionHost" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting Bastion Host resource.", + "schema": { + "$ref": "#/definitions/BastionHost" + } + } + }, + "x-ms-examples": { + "Create Bastion Host": { + "$ref": "./examples/BastionHostPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": { + "get": { + "tags": [ + "BastionHosts" + ], + "operationId": "BastionHosts_List", + "description": "Lists all Bastion Hosts in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of Bastion Host resources.", + "schema": { + "$ref": "#/definitions/BastionHostListResult" + } + } + }, + "x-ms-examples": { + "List all Bastion Hosts for a given subscription": { + "$ref": "./examples/BastionHostListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": { + "get": { + "tags": [ + "BastionHosts" + ], + "operationId": "BastionHosts_ListByResourceGroup", + "description": "Lists all Bastion Hosts in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of BastionHost resources.", + "schema": { + "$ref": "#/definitions/BastionHostListResult" + } + } + }, + "x-ms-examples": { + "List all Bastion Hosts for a given resource group": { + "$ref": "./examples/BastionHostListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "BastionHostIPConfigurationPropertiesFormat": { + "properties": { + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference of the PublicIP resource." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "Private IP allocation method." + } + }, + "required": [ + "subnet", + "publicIPAddress" + ], + "description": "Properties of IP configuration of an Bastion Host." + }, + "BastionHostIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BastionHostIPConfigurationPropertiesFormat", + "description": "Represents the ip configuration associated with the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Ip configuration type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration of an Bastion Host." + }, + "BastionHostPropertiesFormat": { + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/BastionHostIPConfiguration" + }, + "description": "IP configuration of the Bastion Host resource." + }, + "dnsName": { + "type": "string", + "description": "FQDN for the endpoint on which bastion host is accessible." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Properties of the Bastion Host." + }, + "BastionHost": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BastionHostPropertiesFormat", + "description": "Represents the bastion host resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Bastion Host resource." + }, + "BastionHostListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BastionHost" + }, + "description": "List of Bastion Hosts in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListBastionHosts API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json new file mode 100644 index 000000000000..01de0ac3dbdc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json @@ -0,0 +1,90 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": { + "get": { + "operationId": "CheckDnsNameAvailability", + "description": "Checks whether a domain name in the cloudapp.azure.com zone is available for use.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "domainNameLabel", + "in": "query", + "required": true, + "type": "string", + "description": "The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the DNS name is available.", + "schema": { + "$ref": "#/definitions/DnsNameAvailabilityResult" + } + } + }, + "x-ms-examples": { + "Check Dns Name Availability": { + "$ref": "./examples/CheckDnsNameAvailability.json" + } + } + } + } + }, + "definitions": { + "DnsNameAvailabilityResult": { + "properties": { + "available": { + "type": "boolean", + "description": "Domain availability (True/False)." + } + }, + "description": "Response for the CheckDnsNameAvailability API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json new file mode 100644 index 000000000000..4e91aec296c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json @@ -0,0 +1,400 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": { + "delete": { + "tags": [ + "ddosCustomPolicies" + ], + "operationId": "DdosCustomPolicies_Delete", + "description": "Deletes the specified DDoS custom policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosCustomPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS custom policy." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyDelete.json" + } + } + }, + "get": { + "tags": [ + "ddosCustomPolicies" + ], + "operationId": "DdosCustomPolicies_Get", + "description": "Gets information about the specified DDoS custom policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosCustomPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS custom policy." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the specified DDoS custom policy resource.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyGet.json" + } + } + }, + "put": { + "tags": [ + "ddosCustomPolicies" + ], + "operationId": "DdosCustomPolicies_CreateOrUpdate", + "description": "Creates or updates a DDoS custom policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosCustomPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS custom policy." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + }, + "description": "Parameters supplied to the create or update operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting DDoS custom policy resource.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting DDoS custom policy resource.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyCreate.json" + } + } + }, + "patch": { + "tags": [ + "ddosCustomPolicies" + ], + "operationId": "DdosCustomPolicies_UpdateTags", + "description": "Update a DDoS custom policy tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosCustomPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS custom policy." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to the update DDoS custom policy resource tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting DDoS custom policy resource.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DDoS Custom policy Update tags": { + "$ref": "./examples/DdosCustomPolicyUpdateTags.json" + } + } + } + } + }, + "definitions": { + "DdosCustomPolicy": { + "description": "A DDoS custom policy in a resource group.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DdosCustomPolicyPropertiesFormat", + "description": "Properties of the DDoS custom policy." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "DdosCustomPolicyPropertiesFormat": { + "properties": { + "resourceGuid": { + "readOnly": true, + "type": "string", + "description": "The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the DDoS custom policy resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + }, + "publicIPAddresses": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "The list of public IPs associated with the DDoS custom policy resource. This list is read-only." + }, + "protocolCustomSettings": { + "readOnly": false, + "type": "array", + "items": { + "$ref": "#/definitions/ProtocolCustomSettingsFormat" + }, + "description": "The protocol-specific DDoS policy customization parameters." + } + }, + "description": "DDoS custom policy properties." + }, + "ProtocolCustomSettingsFormat": { + "properties": { + "protocol": { + "readOnly": false, + "type": "string", + "enum": [ + "Tcp", + "Udp", + "Syn" + ], + "x-ms-enum": { + "name": "DdosCustomPolicyProtocol", + "modelAsString": true + }, + "description": "The protocol for which the DDoS protection policy is being customized." + }, + "triggerRateOverride": { + "readOnly": false, + "type": "string", + "description": "The customized DDoS protection trigger rate." + }, + "sourceRateOverride": { + "readOnly": false, + "type": "string", + "description": "The customized DDoS protection source rate." + }, + "triggerSensitivityOverride": { + "readOnly": false, + "type": "string", + "enum": [ + "Relaxed", + "Low", + "Default", + "High" + ], + "x-ms-enum": { + "name": "DdosCustomPolicyTriggerSensitivityOverride", + "modelAsString": true + }, + "description": "The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic." + } + }, + "description": "DDoS custom policy properties." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Cloud error body." + } + }, + "description": "An error response from the Batch service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Batch service." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json new file mode 100644 index 000000000000..75e566efb60f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json @@ -0,0 +1,401 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": { + "delete": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_Delete", + "description": "Deletes the specified DDoS protection plan.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosProtectionPlanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS protection plan." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanDelete.json" + } + } + }, + "get": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_Get", + "description": "Gets information about the specified DDoS protection plan.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosProtectionPlanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS protection plan." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the specified DDoS protection plan resource.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + } + }, + "x-ms-examples": { + "Get DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanGet.json" + } + } + }, + "put": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_CreateOrUpdate", + "description": "Creates or updates a DDoS protection plan.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosProtectionPlanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS protection plan." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + }, + "description": "Parameters supplied to the create or update operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting DDoS protection plan resource.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting DDoS protection plan resource.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanCreate.json" + } + } + }, + "patch": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_UpdateTags", + "description": "Update a DDoS protection plan tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "ddosProtectionPlanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DDoS protection plan." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to the update DDoS protection plan resource tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting DDoS protection plan resource.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DDoS protection plan Update tags": { + "$ref": "./examples/DdosProtectionPlanUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": { + "get": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_List", + "description": "Gets all DDoS protection plans in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of DDoS protection plan resources.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlanListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all DDoS protection plans": { + "$ref": "./examples/DdosProtectionPlanListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": { + "get": { + "tags": [ + "DdosProtectionPlans" + ], + "operationId": "DdosProtectionPlans_ListByResourceGroup", + "description": "Gets all the DDoS protection plans in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of DDoS protection plan resources.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlanListResult" + } + } + }, + "x-ms-examples": { + "List DDoS protection plans in resource group": { + "$ref": "./examples/DdosProtectionPlanList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DdosProtectionPlan": { + "description": "A DDoS protection plan in a resource group.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DdosProtectionPlanPropertiesFormat", + "description": "Properties of the DDoS protection plan." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + } + }, + "DdosProtectionPlanPropertiesFormat": { + "properties": { + "resourceGuid": { + "readOnly": true, + "type": "string", + "description": "The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the DDoS protection plan resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + }, + "virtualNetworks": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "The list of virtual networks associated with the DDoS protection plan resource. This list is read-only." + } + }, + "description": "DDoS protection plan properties." + }, + "DdosProtectionPlanListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DdosProtectionPlan" + }, + "description": "A list of DDoS protection plans." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "A list of DDoS protection plans." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json new file mode 100644 index 000000000000..040d0aa783d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json @@ -0,0 +1,113 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": { + "get": { + "operationId": "AvailableEndpointServices_List", + "description": "List what values of endpoint services are available for use.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location to check available endpoint services." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns list of available endpoint services.", + "schema": { + "$ref": "#/definitions/EndpointServicesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EndpointServicesList": { + "$ref": "./examples/EndpointServicesList.json" + } + } + } + } + }, + "definitions": { + "EndpointServicesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointServiceResult" + }, + "description": "List of available endpoint services in a region." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListAvailableEndpointServices API service call." + }, + "EndpointServiceResult": { + "properties": { + "name": { + "type": "string", + "description": "Name of the endpoint service.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the endpoint service.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Endpoint service." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json new file mode 100644 index 000000000000..d7f2485b6b1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4" + }, + "responses": { + "200": { + "body": [ + "Accept-Charset" + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json new file mode 100644 index 000000000000..51e0d480f00f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4" + }, + "responses": { + "200": { + "body": [ + "Access-Control-Allow-Origin" + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json new file mode 100644 index 000000000000..7a16b61b0b32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4" + }, + "responses": { + "200": { + "body": [ + "request_query" + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json new file mode 100644 index 000000000000..36159e0dcf09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json new file mode 100644 index 000000000000..b2d50ae8e9f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json new file mode 100644 index 000000000000..d23105c1d1ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "predefinedPolicyName": "AppGwSslPolicy20150501" + }, + "responses": { + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json new file mode 100644 index 000000000000..1f854921bd65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "OWASP_3.0", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/", + "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets", + "properties": { + "provisioningState": "Succeeded", + "ruleSetType": "OWASP", + "ruleSetVersion": "3.0", + "ruleGroups": [ + { + "ruleGroupName": "General", + "description": "", + "rules": [ + { + "ruleId": 200004, + "description": "Possible Multipart Unmatched Boundary." + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json new file mode 100644 index 000000000000..907801992147 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "appgw", + "applicationGatewayName": "appgw" + }, + "responses": { + "200": { + "body": { + "backendAddressPools": [ + { + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.8", + "health": "Up" + } + ] + } + ] + }, + { + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + ] + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json new file mode 100644 index 000000000000..50901dfecb5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw", + "probeRequest": { + "protocol": "Http", + "pickHostNameFromBackendHttpSettings": true, + "path": "/", + "timeout": 30, + "backendPoolName": "MFAnalyticsPool", + "backendHttpSettingName": "MFPoolSettings" + } + }, + "responses": { + "200": { + "body": { + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHealthHttpSettings": { + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json new file mode 100644 index 000000000000..265b0e4714ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json @@ -0,0 +1,732 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "sku": { + "name": "Standard_v2", + "tier": "Standard_v2", + "capacity": 3 + }, + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "properties": { + "data": "****", + "password": "****" + } + }, + { + "name": "sslcert2", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ], + "trustedRootCertificates": [ + { + "name": "rootcert", + "properties": { + "data": "****" + } + }, + { + "name": "rootcert1", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 443 + } + }, + { + "name": "appgwfp80", + "properties": { + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "properties": { + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "properties": { + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "properties": { + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_add_x_forwarded_for_proxy}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "appgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "provisioningState": "Succeeded", + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "provisioningState": "Succeeded", + "port": 443 + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "provisioningState": "Succeeded", + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "provisioningState": "Succeeded", + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ], + "probes": [] + } + } + }, + "200": { + "body": { + "name": "appgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "provisioningState": "Succeeded", + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "provisioningState": "Succeeded", + "port": 443 + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "provisioningState": "Succeeded", + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "provisioningState": "Succeeded", + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ], + "probes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json new file mode 100644 index 000000000000..efcd8b6f7bc6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw" + }, + "responses": { + "202": {}, + "204": {}, + "200": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json new file mode 100644 index 000000000000..c78ed94b34c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json @@ -0,0 +1,252 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw" + }, + "responses": { + "200": { + "body": { + "name": "appgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "provisioningState": "Succeeded", + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "provisioningState": "Succeeded", + "port": 443 + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "provisioningState": "Succeeded", + "defaultBackendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "provisioningState": "Succeeded", + "paths": [ + "/api", + "/v1/api" + ], + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ] + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "rewriteRuleSet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "urlPathMap": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "ruleSequence": 102, + "conditions": [ + { + "variable": "http_req_Authorization", + "pattern": "^Bearer", + "ignoreCase": true, + "negate": false + } + ], + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ] + } + } + ] + } + } + ], + "probes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json new file mode 100644 index 000000000000..9cd20c26b403 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "properties": { + "data": "base64-pfxData", + "password": "pass1" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 443 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json new file mode 100644 index 000000000000..42e72ad3ece1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "location": "southcentralus", + "properties": { + "sku": { + "name": "Standard_Medium", + "tier": "Standard", + "capacity": 3 + }, + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "sslCertificates": [ + { + "name": "sslcert", + "properties": { + "data": "base64-pfxData", + "password": "pass1" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 443 + } + } + ], + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "protocol": "Https", + "sslCertificate": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "requireServerNameIndication": false + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json new file mode 100644 index 000000000000..5187fc361482 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json new file mode 100644 index 000000000000..5187fc361482 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json new file mode 100644 index 000000000000..00619c5e69bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "AppGw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "AppGw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw", + "type": "Microsoft.Network/applicationGateways", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "Standard_Small", + "tier": "Standard", + "capacity": 2 + }, + "operationalState": "Running", + "gatewayIPConfigurations": [ + { + "name": "GatewayIp01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1" + } + } + } + ], + "sslCertificates": [], + "authenticationCertificates": [], + "frontendIPConfigurations": [ + { + "name": "FrontEndConfig01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1" + } + } + } + ], + "frontendPorts": [ + { + "name": "FrontEndPort01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01", + "properties": { + "provisioningState": "Succeeded", + "port": 80 + } + } + ], + "backendAddressPools": [ + { + "name": "Pool01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01", + "properties": { + "provisioningState": "Succeeded", + "backendAddresses": [ + { + "ipAddress": "10.10.10.1" + }, + { + "ipAddress": "10.10.10.2" + }, + { + "ipAddress": "10.10.10.3" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "PoolSetting01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01", + "properties": { + "provisioningState": "Succeeded", + "port": 80, + "protocol": "Http", + "cookieBasedAffinity": "Disabled", + "pickHostNameFromBackendAddress": false, + "requestTimeout": 30 + } + } + ], + "httpListeners": [ + { + "name": "listener1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01" + }, + "frontendPort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01" + }, + "protocol": "Http", + "requireServerNameIndication": false + } + } + ], + "urlPathMaps": [], + "requestRoutingRules": [ + { + "name": "Rule01", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Basic", + "httpListener": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01" + }, + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01" + } + } + } + ], + "probes": [], + "redirectConfigurations": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json new file mode 100644 index 000000000000..074a8925cc0f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg", + "parameters": { + "location": "westus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json new file mode 100644 index 000000000000..172a2cc5ceb1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json new file mode 100644 index 000000000000..8734fa66f7bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json new file mode 100644 index 000000000000..c67272a37064 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json new file mode 100644 index 000000000000..ef74dcbb659b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..c3e45d6b0e95 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationSecurityGroupName": "test-asg", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..fa6cb8ec4fa9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "regionName", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..d3a024d3fcdf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "regionName", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json new file mode 100644 index 000000000000..d62bd1479581 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "westcentralus", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/resource/action" + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json new file mode 100644 index 000000000000..adc2c5ca785b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "westcentralus", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "id": "/subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/resource/action" + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json new file mode 100644 index 000000000000..2b36cdc3eb00 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "regionName", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json new file mode 100644 index 000000000000..527f28df1079 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "regionName", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json new file mode 100644 index 000000000000..cd87d370bae9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json new file mode 100644 index 000000000000..e46ca004ef99 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azfwfqdntag", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", + "type": "Microsoft.Network/azureFirewallFqdnTags", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "fqdnTagName": "azfwfqdntag" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json new file mode 100644 index 000000000000..59446c78f26c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json new file mode 100644 index 000000000000..e23e50ece3f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json new file mode 100644 index 000000000000..daa622865e1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json new file mode 100644 index 000000000000..dfd9b6749338 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json new file mode 100644 index 000000000000..34778b7a0d63 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json @@ -0,0 +1,377 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "zones": [], + "properties": { + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + }, + "201": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json new file mode 100644 index 000000000000..891652a4be6c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json @@ -0,0 +1,389 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US 2", + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + }, + "201": { + "body": { + "name": "azurefirewall", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US 2", + "zones": [ + "1", + "2", + "3" + ], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.0", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ], + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "properties": { + "priority": 110, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "protocolType": "Https", + "port": 443 + } + ], + "targetFqdns": [ + "www.test.com" + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Dnat" + }, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "properties": { + "priority": 112, + "action": { + "type": "Deny" + }, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "destinationAddresses": [ + "*" + ], + "protocols": [ + "TCP" + ] + } + ] + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json new file mode 100644 index 000000000000..2c21b5d0a590 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "azfwtest", + "azureFirewallName": "fw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "id": "/subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1", + "type": "Microsoft.Network/azureFirewalls", + "location": "brazilsouth", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json new file mode 100644 index 000000000000..5c37bf67b71f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "bastionHostName": "bastionhosttenant" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json new file mode 100644 index 000000000000..d0f2fde93ae2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "bastionHostName": "bastionhosttenant'" + }, + "responses": { + "200": { + "body": { + "name": "bastionhost'", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json new file mode 100644 index 000000000000..e116df5d8335 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhost'", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json new file mode 100644 index 000000000000..c76495f159b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhost'", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json new file mode 100644 index 000000000000..ca3b6fe79ae0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "bastionHostName": "bastionhosttenant'", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "bastionhost'", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "bastionhost'", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + } + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json new file mode 100644 index 000000000000..13b4946c534f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "location": "westus", + "domainNameLabel": "testdns" + }, + "responses": { + "200": { + "body": { + "available": false + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..b2a6af0b8579 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..71aed28e49ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "location": "westus", + "resourceGroupName": "rg1", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json new file mode 100644 index 000000000000..f725eb7fc9c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "location": "centraluseuap", + "properties": { + "protocolCustomSettings": [ + { + "protocol": "Tcp" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "publicIPAddresses": [], + "protocolCustomSettings": [ + { + "protocol": "Tcp", + "triggerRateOverride": "20000" + } + ] + } + } + }, + "201": { + "body": { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "publicIPAddresses": [], + "protocolCustomSettings": [ + { + "protocol": "Tcp", + "triggerRateOverride": "20000" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json new file mode 100644 index 000000000000..b3a5edafd305 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json new file mode 100644 index 000000000000..acb6f2674b1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosCustomPolicyName": "test-ddos-custom-policy" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "publicIPAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json new file mode 100644 index 000000000000..3b04667be78e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "publicIPAddresses": [], + "protocolCustomSettings": [ + { + "protocol": "Tcp", + "triggerRateOverride": "20000" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json new file mode 100644 index 000000000000..a93d6d8adc64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "location": "westus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + }, + "201": { + "body": { + "name": "test-plan", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json new file mode 100644 index 000000000000..6ea36203556b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosProtectionPlanName": "test-plan" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json new file mode 100644 index 000000000000..d2df9369b0bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosProtectionPlanName": "test-plan" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json new file mode 100644 index 000000000000..fac1c0b1a990 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json new file mode 100644 index 000000000000..17b8a23e7fa1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json new file mode 100644 index 000000000000..bb1468e13dfe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json new file mode 100644 index 000000000000..0964ee88c6f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "networkSecurityGroupName": "nsg1", + "defaultSecurityRuleName": "AllowVnetInBound" + }, + "responses": { + "200": { + "body": { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json new file mode 100644 index 000000000000..1555b988e9b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "networkSecurityGroupName": "nsg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound", + "sourcePortRanges": [], + "destinationPortRanges": [], + "sourceAddressPrefixes": [], + "destinationAddressPrefixes": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json new file mode 100644 index 000000000000..b67404641639 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "location": "westus", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage", + "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage", + "type": "Microsoft.Network/virtualNetworkEndpointServices" + }, + { + "name": "Microsoft.Sql", + "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql", + "type": "Microsoft.Network/virtualNetworkEndpointServices" + }, + { + "name": "Microsoft.AzureActiveDirectory", + "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory", + "type": "Microsoft.Network/virtualNetworkEndpointServices" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json new file mode 100644 index 000000000000..f14eaa358f1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json new file mode 100644 index 000000000000..a53266575699 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "authorizationName": "authorizatinName", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "authorizationParameters": { + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + }, + "responses": { + "201": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties": { + "provisioningState": "Updating", + "authorizationUseStatus": "Available" + } + } + }, + "200": { + "body": { + "name": "authorizationName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties": { + "provisioningState": "Updating", + "authorizationUseStatus": "Available" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json new file mode 100644 index 000000000000..a1014d76bd0a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json new file mode 100644 index 000000000000..55867db2b5e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": { + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + }, + "type": "Microsoft.Network/expressRouteCircuits/authorizations" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json new file mode 100644 index 000000000000..c6cf3945a8d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json new file mode 100644 index 000000000000..f3a7bdd54cb5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "connectionName": "circuitConnectionUSAUS", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections", + "expressRouteCircuitConnectionParameters": { + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/29" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json new file mode 100644 index 000000000000..e1cfce9f5017 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "connectionName": "circuitConnectionUSAUS", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..b8fded611342 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "connectionName": "circuitConnectionUSAUS", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..e15cdbd9b44a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSAUS", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "addressPrefix": "10.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "circuitConnectionUSEUR", + "properties": { + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/24", + "circuitConnectionStatus": "Connected", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json new file mode 100644 index 000000000000..e6d93225a08d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "parameters": { + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + }, + "properties": { + "authorizations": [], + "peerings": [], + "allowClassicOperations": false, + "serviceProviderProperties": { + "serviceProviderName": "Equinix", + "peeringLocation": "Silicon Valley", + "bandwidthInMbps": 200 + } + }, + "location": "Brazil South" + } + }, + "responses": { + "201": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "Brazil South", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "Equinix", + "peeringLocation": "Silicon Valley", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + }, + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "Brazil South", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "Equinix", + "peeringLocation": "Silicon Valley", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json new file mode 100644 index 000000000000..38589dd20d8d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "type": "Microsoft.Network/expressRouteCircuits", + "circuitName": "expressRouteCircuit1", + "parameters": { + "location": "westus", + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" + }, + "properties": { + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10 + } + } + }, + "responses": { + "200": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" + } + } + }, + "201": { + "body": { + "name": "expressRouteCircuit1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "expressRoutePort": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + }, + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "20", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "tier": "Premium", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json new file mode 100644 index 000000000000..6a4d8fc5b6ec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json new file mode 100644 index 000000000000..f8217bfe6383 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json new file mode 100644 index 000000000000..de7df5a6ed00 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json new file mode 100644 index 000000000000..e5db41ac9996 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json new file mode 100644 index 000000000000..5247255872f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringParameters": { + "properties": { + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 + } + } + }, + "responses": { + "201": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + } + } + } + }, + "200": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json new file mode 100644 index 000000000000..e4d30574e1bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json new file mode 100644 index 000000000000..2d9ed2ac8cbb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "MicrosoftPeering" + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "routeFilter": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" + } + }, + "type": "Microsoft.Network/expressRouteCircuits/peerings" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json new file mode 100644 index 000000000000..ecd157122d32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json new file mode 100644 index 000000000000..af0de526633c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json new file mode 100644 index 000000000000..cbc1921c4091 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json new file mode 100644 index 000000000000..485f4be3d2d5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json new file mode 100644 index 000000000000..1fed3dd7c326 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json new file mode 100644 index 000000000000..1900121a561f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "ertest", + "circuitName": "er1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "er1", + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "brazilsouth", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Failed", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "Equinix", + "peeringLocation": "Silicon Valley", + "bandwidthInMbps": 1000 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json new file mode 100644 index 000000000000..78c719462e1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "expressRouteGatewayName": "gateway-2", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "connectionName": "connectionName", + "putExpressRouteConnectionParameters": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "name": "connectionName", + "properties": { + "routingWeight": 2, + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 + } + } + }, + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 2 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json new file mode 100644 index 000000000000..0d1cb8a4867e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "connectionName": "connectionName", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json new file mode 100644 index 000000000000..935fbcd5e17e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "connectionName": "connectionName" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 1 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json new file mode 100644 index 000000000000..8739e325d67d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "resourceGroupName", + "expressRouteGatewayName": "expressRouteGatewayName", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "authorizationKey", + "routingWeight": 1 + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json new file mode 100644 index 000000000000..ca00d7e2604f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "peeringParameters": { + "properties": { + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126" + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + } + } + } + }, + "200": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json new file mode 100644 index 000000000000..ab176cb6c528 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json new file mode 100644 index 000000000000..0cf29ce2b54d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json new file mode 100644 index 000000000000..7e4db8e4e6f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json new file mode 100644 index 000000000000..2e3c103c5b9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "" + }, + "responses": { + "200": { + "body": { + "name": "", + "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "type": "Microsoft.Network/expressRouteCrossConnections", + "location": "brazilsouth", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "provisioningState": "Enabled", + "expressRouteCircuit": { + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peerings": [], + "peeringLocation": "SiliconValley", + "bandwidthInMbps": 1000, + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "sTag": 2, + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json new file mode 100644 index 000000000000..3143175d98b9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "type": "Microsoft.Network/expressRouteCrossConnections", + "location": "brazilsouth", + "properties": { + "provisioningState": "Enabled", + "expressRouteCircuit": { + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peerings": [], + "peeringLocation": "SiliconValley", + "bandwidthInMbps": 1000, + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "sTag": 2, + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json new file mode 100644 index 000000000000..23f12c713ced --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "id": "/subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/", + "type": "Microsoft.Network/expressRouteCrossConnections", + "location": "brazilsouth", + "properties": { + "provisioningState": "Enabled", + "expressRouteCircuit": { + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peerings": [], + "peeringLocation": "SiliconValley", + "bandwidthInMbps": 1000, + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "sTag": 2, + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json new file mode 100644 index 000000000000..0ff9eba3ddbe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", + "parameters": { + "properties": { + "serviceProviderProvisioningState": "NotProvisioned" + } + } + }, + "responses": { + "200": { + "body": { + "name": "", + "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "type": "Microsoft.Network/expressRouteCrossConnections", + "location": "brazilsouth", + "properties": { + "provisioningState": "Enabled", + "expressRouteCircuit": { + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peerings": [], + "peeringLocation": "SiliconValley", + "bandwidthInMbps": 1000, + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "sTag": 2, + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json new file mode 100644 index 000000000000..efcd0b7adb78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "CrossConnection-SiliconValley", + "crossConnectionName": "", + "crossConnectionParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "er1", + "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "type": "Microsoft.Network/expressRouteCrossConnections", + "location": "brazilsouth", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Failed", + "expressRouteCircuit": { + "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peerings": [], + "peeringLocation": "SiliconValley", + "bandwidthInMbps": 1000, + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "sTag": 2, + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json new file mode 100644 index 000000000000..8b9d7956de84 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "devicePath": "primary", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "192.116.14.254", + "macAddress": "885a.9269.9110" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json new file mode 100644 index 000000000000..602fbd8ba65d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "devicePath": "primary", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "network": "10.6.0.0/16", + "nextHop": "10.6.1.12", + "locPrf": "", + "weight": 0, + "path": "65514" + }, + { + "network": "10.7.0.0/16", + "nextHop": "10.7.1.13", + "locPrf": "", + "weight": 0, + "path": "65514" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json new file mode 100644 index 000000000000..1d39d6cd3f31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "peeringName": "AzurePrivatePeering", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "devicePath": "primary", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "neighbor": "10.6.1.112", + "asn": 65514, + "upDown": "1d14h", + "stateOrPrefixesReceived": "Active" + }, + { + "neighbor": "10.6.1.113", + "asn": 65514, + "upDown": "1d14h", + "stateOrPrefixesReceived": "1" + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json new file mode 100644 index 000000000000..de195a465674 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "expressRouteGatewayName": "gateway-2", + "subscriptionId": "subid", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-06-01", + "putExpressRouteGatewayParameters": { + "location": "westus", + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + } + } + } + }, + "200": { + "body": { + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json new file mode 100644 index 000000000000..7800b0fb5622 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json new file mode 100644 index 000000000000..cdcd052e3b7e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json new file mode 100644 index 000000000000..ac93f097a265 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "routingWeight": 1 + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json new file mode 100644 index 000000000000..9ecc3b3e8f18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "routingWeight": 1 + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json new file mode 100644 index 000000000000..e052c79748f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "linkName": "linkName" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json new file mode 100644 index 000000000000..7a9b4b503581 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "name": "link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json new file mode 100644 index 000000000000..28c36c634ba5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + }, + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json new file mode 100644 index 000000000000..00fe8a3fc150 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json new file mode 100644 index 000000000000..7f07581fdb69 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json new file mode 100644 index 000000000000..b3f77c0067fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json new file mode 100644 index 000000000000..49f6de98f9b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json new file mode 100644 index 000000000000..82c623276aca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "encapsulation": "QinQ", + "links": [ + { + "name": "link1", + "properties": { + "adminState": "Enabled" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + }, + "201": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json new file mode 100644 index 000000000000..5a77692114af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "expressRoutePortName": "portName", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "portName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "peeringLocation": "peeringLocationName", + "bandwidthInGbps": 100, + "provisionedBandwidthInGbps": 0.0, + "mtu": "1500", + "encapsulation": "QinQ", + "etherType": "0x8100", + "allocationDate": "Friday, July 1, 2018", + "links": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "name": "link1", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router1", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "rackId": "rackId1", + "connectorType": "LC", + "adminState": "Disabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "name": "link2", + "properties": { + "provisioningState": "Succeeded", + "routerName": "router2", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "rackId": "rackId2", + "connectorType": "LC", + "adminState": "Disabled" + } + } + ], + "circuits": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json new file mode 100644 index 000000000000..9aec8942a1e0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01", + "locationName": "locationName" + }, + "responses": { + "200": { + "body": { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [ + { + "offerName": "100 Gbps", + "valueInGbps": 100 + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json new file mode 100644 index 000000000000..6199c081a47f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "locationName", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "address": "123 Main Street, City, State, Zip", + "contact": "email@address.com", + "availableBandwidths": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json new file mode 100644 index 000000000000..7d823a67d12c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json new file mode 100644 index 000000000000..29a325ce3883 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json new file mode 100644 index 000000000000..1ced8ef7603f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "connectionName": "connection1", + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + }, + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json new file mode 100644 index 000000000000..b083b32d2eaa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "loadBalancerName": "lb1", + "inboundNatRuleName": "natRule1.1", + "inboundNatRuleParameters": { + "properties": { + "protocol": "Tcp", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "backendPort": 3389, + "idleTimeoutInMinutes": 4, + "enableTcpReset": false, + "enableFloatingIP": false + } + } + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp", + "enableTcpReset": false, + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + } + } + } + }, + "201": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp", + "enableTcpReset": false, + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json new file mode 100644 index 000000000000..7575eebe6fe8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "loadBalancerName": "lb1", + "inboundNatRuleName": "natRule1.1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json new file mode 100644 index 000000000000..c7e3db466e73 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "loadBalancerName": "lb1", + "inboundNatRuleName": "natRule1.1" + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp", + "enableTcpReset": true, + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json new file mode 100644 index 000000000000..6526242a03e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "loadBalancerName": "lb1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1.1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp", + "enableTcpReset": true, + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + } + } + }, + { + "name": "natRule1.3", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3392, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp", + "enableTcpReset": true, + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json new file mode 100644 index 000000000000..ea8e107c75c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "backendAddressPoolName": "backend", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "properties": { + "provisioningState": "Succeeded", + "backendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json new file mode 100644 index 000000000000..6ce58f376d6e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backend", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "properties": { + "provisioningState": "Succeeded", + "backendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json new file mode 100644 index 000000000000..186e2d491a0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json @@ -0,0 +1,339 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + } + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2 + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false + } + } + ], + "inboundNatPools": [] + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false + } + } + ], + "inboundNatPools": [] + } + } + }, + "201": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false + } + } + ], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json new file mode 100644 index 000000000000..bd1ded7c66f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json @@ -0,0 +1,339 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + } + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2 + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "inboundNatPools": [], + "outboundRules": [] + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + }, + "201": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json new file mode 100644 index 000000000000..07175aab2657 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json @@ -0,0 +1,184 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "frontendIPConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "properties": { + "serviceEndpoints": [], + "resourceNavigationLinks": [] + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + }, + "name": "test", + "zones": [], + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + } + ], + "backendAddressPools": [], + "loadBalancingRules": [], + "probes": [], + "inboundNatRules": [], + "outboundRules": [], + "inboundNatPools": [ + { + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "protocol": "Tcp", + "frontendPortRangeStart": 8080, + "frontendPortRangeEnd": 8085, + "backendPort": 8888, + "idleTimeoutInMinutes": 10, + "enableFloatingIP": true, + "enableTcpReset": true + }, + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + }, + "inboundNatPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ] + } + } + ], + "backendAddressPools": [], + "loadBalancingRules": [], + "probes": [], + "inboundNatRules": [], + "outboundRules": [], + "inboundNatPools": [ + { + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendPortRangeStart": 8080, + "frontendPortRangeEnd": 8085, + "backendPort": 8888, + "idleTimeoutInMinutes": 10, + "enableFloatingIP": true, + "protocol": "Tcp", + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + }, + "inboundNatPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ] + } + } + ], + "backendAddressPools": [], + "loadBalancingRules": [], + "probes": [], + "inboundNatRules": [], + "outboundRules": [], + "inboundNatPools": [ + { + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendPortRangeStart": 8080, + "frontendPortRangeEnd": 8085, + "backendPort": 8888, + "idleTimeoutInMinutes": 10, + "enableFloatingIP": true, + "protocol": "Tcp", + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + } + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json new file mode 100644 index 000000000000..df754b27e339 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json @@ -0,0 +1,423 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp", + "loadDistribution": "Default", + "frontendPort": 80, + "backendPort": 80, + "idleTimeoutInMinutes": 15, + "enableFloatingIP": true, + "disableOutboundSnat": true + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2 + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "inboundNatPools": [], + "outboundRules": [ + { + "name": "rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "protocol": "All" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4" + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "outboundRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false, + "loadDistribution": "Default", + "disableOutboundSnat": true, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + } + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "allocatedOutboundPorts": 1024, + "protocol": "All", + "enableTcpReset": false, + "idleTimeoutInMinutes": 4, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ] + } + } + ], + "inboundNatPools": [] + } + } + }, + "201": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4" + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "outboundRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false, + "loadDistribution": "Default", + "disableOutboundSnat": true, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + } + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": false + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "allocatedOutboundPorts": 1024, + "protocol": "All", + "enableTcpReset": false, + "idleTimeoutInMinutes": 4, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ] + } + } + ], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json new file mode 100644 index 000000000000..e31f1ba1ba8d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json @@ -0,0 +1,348 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + } + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2 + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "inboundNatPools": [], + "outboundRules": [] + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + }, + "201": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "location": "eastus", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json new file mode 100644 index 000000000000..0c9427c65cb3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json new file mode 100644 index 000000000000..5487fe648611 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "frontendIPConfigurationName": "frontend", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "frontend", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json new file mode 100644 index 000000000000..dc194f07f680 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "resourceGroupName": "testrg", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "loadBalancerName": "lb" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "frontend", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json new file mode 100644 index 000000000000..71178dad1fb7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/probes", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true + } + } + ], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json new file mode 100644 index 000000000000..56210059a6c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json @@ -0,0 +1,161 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "felb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "belb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + } + } + } + ], + "probes": [ + { + "name": "prlb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/probes", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "inrlb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true + } + } + ], + "inboundNatPools": [] + } + }, + { + "name": "lb2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [], + "backendAddressPools": [], + "loadBalancingRules": [], + "probes": [], + "inboundNatRules": [], + "inboundNatPools": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json new file mode 100644 index 000000000000..9d04121de085 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [ + { + "name": "felb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "belb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + } + } + } + ], + "probes": [ + { + "name": "prlb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/probes", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "inrlb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true + } + } + ], + "inboundNatPools": [] + } + }, + { + "name": "lb3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "sku": { + "name": "Basic" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "frontendIPConfigurations": [], + "backendAddressPools": [], + "loadBalancingRules": [], + "probes": [], + "inboundNatRules": [], + "inboundNatPools": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json new file mode 100644 index 000000000000..0e3e46804cc0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb1", + "loadBalancingRuleName": "rule1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json new file mode 100644 index 000000000000..f6e67e513381 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json new file mode 100644 index 000000000000..442ab6035f71 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mynic", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + }, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json new file mode 100644 index 000000000000..410f59ab8406 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vmss1Nic", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0" + } + } + }, + { + "name": "vmss1Nic", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json new file mode 100644 index 000000000000..14a5a8a8e2e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb1", + "outboundRuleName": "rule1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "allocatedOutboundPorts": 64, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json new file mode 100644 index 000000000000..e3e97ad2c919 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "allocatedOutboundPorts": 64, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "enableTcpReset": true, + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json new file mode 100644 index 000000000000..db0bd4a1c781 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "probeName": "probe1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "probe1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/probes", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json new file mode 100644 index 000000000000..50e3f045efae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "loadBalancerName": "lb", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "prlb", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/loadBalancers/probes", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json new file mode 100644 index 000000000000..e2f510ef6783 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "loadBalancerName": "lb", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "provisioningState": "Succeeded", + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "disableOutboundSnat": false + } + } + ], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": true, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json new file mode 100644 index 000000000000..1b3b27b107d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw", + "parameters": { + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "11.12.13.14" + }, + "location": "Central US" + } + }, + "responses": { + "201": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "11.12.13.14" + } + } + }, + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "11.12.13.14" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json new file mode 100644 index 000000000000..03c7812d0cb7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json new file mode 100644 index 000000000000..7ce0d4441e8c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "localgw" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json new file mode 100644 index 000000000000..56dca91e5c31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "localgw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + } + }, + { + "name": "localgw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/localNetworkGateways", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.2.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..74acc2314cf4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "localNetworkGatewayName": "lgw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "lgw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "type": "Microsoft.Network/localNetworkGateways", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "gatewayIpAddress": "12.0.0.1" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json new file mode 100644 index 000000000000..38c66b2dcf93 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + }, + "201": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + }, + "202": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json new file mode 100644 index 000000000000..1bb5ab2f60eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natGateway" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json new file mode 100644 index 000000000000..562fd2bcfe0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natGateway" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json new file mode 100644 index 000000000000..5fc97d9805bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + }, + { + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json new file mode 100644 index 000000000000..999ec5d1aafe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + }, + { + "name": "test-natGateway2", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "type": "Microsoft.Network/natGateways" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json new file mode 100644 index 000000000000..f47d4afb80fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "natGatewayName": "test-natGateway", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.Network/natGateways" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json new file mode 100644 index 000000000000..8e7ca9b9bfe1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "test-nic", + "parameters": { + "properties": { + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + }, + "201": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json new file mode 100644 index 000000000000..31f4de05ffc1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "test-nic" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json new file mode 100644 index 000000000000..319cc89bdfb2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" + }, + "association": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "networkInterface": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + } + }, + "effectiveSecurityRules": [ + { + "name": "securityRules/rule1", + "protocol": "Tcp", + "sourcePortRange": "456-456", + "destinationPortRange": "6579-6579", + "sourceAddressPrefix": "0.0.0.0/32", + "destinationAddressPrefix": "0.0.0.0/32", + "access": "Allow", + "priority": 234, + "direction": "Inbound" + }, + { + "name": "securityRules/default-allow-rdp", + "protocol": "Tcp", + "sourcePortRange": "0-65535", + "destinationPortRange": "3389-3389", + "sourceAddressPrefix": "1.1.1.1/32", + "destinationAddressPrefix": "0.0.0.0/0", + "access": "Allow", + "priority": 1000, + "direction": "Inbound" + }, + { + "name": "defaultSecurityRules/AllowInternetOutBound", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "0.0.0.0/0", + "destinationAddressPrefix": "Internet", + "expandedDestinationAddressPrefix": [ + "32.0.0.0/3", + "4.0.0.0/6", + "2.0.0.0/7", + "1.0.0.0/8" + ], + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + ] + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json new file mode 100644 index 000000000000..9335afb3f3bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "172.20.2.0/24" + ], + "nextHopType": "VnetLocal", + "nextHopIpAddress": [] + }, + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "0.0.0.0/0" + ], + "nextHopType": "Internet", + "nextHopIpAddress": [] + }, + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "10.0.0.0/8" + ], + "nextHopType": "None", + "nextHopIpAddress": [] + }, + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "100.64.0.0/10" + ], + "nextHopType": "None", + "nextHopIpAddress": [] + }, + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "172.16.0.0/12" + ], + "nextHopType": "None", + "nextHopIpAddress": [] + }, + { + "source": "Default", + "state": "Active", + "addressPrefix": [ + "192.168.0.0/16" + ], + "nextHopType": "None", + "nextHopIpAddress": [] + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json new file mode 100644 index 000000000000..3c1aab1e6c74 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "test-nic" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "type": "Microsoft.Network/networkInterfaces" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json new file mode 100644 index 000000000000..3cea12bd7dd3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "networkInterfaceName": "mynic", + "ipConfigurationName": "ipconfig1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + }, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ], + "virtualNetworkTaps": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1" + }, + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json new file mode 100644 index 000000000000..551b427e58eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "networkInterfaceName": "nic1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json new file mode 100644 index 000000000000..57302337385c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json new file mode 100644 index 000000000000..8174f060b99f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "macAddress": "00-0D-3A-1B-C7-21", + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "name": "test-nic2", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json new file mode 100644 index 000000000000..18a63827e432 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "networkInterfaceName": "nic1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lbname1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "type": "Microsoft.Network/loadBalancers", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "frontendIPConfigurations": [ + { + "name": "lbfrontend", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP" + }, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "inboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ] + } + } + ], + "backendAddressPools": [ + { + "name": "bepool1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "backendIPConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ] + } + } + ], + "loadBalancingRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "backendPort": 80, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "loadDistribution": "Default", + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + }, + "probe": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1" + } + } + } + ], + "probes": [ + { + "name": "probe1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "protocol": "Http", + "port": 80, + "requestPath": "healthcheck.aspx", + "intervalInSeconds": 15, + "numberOfProbes": 2, + "loadBalancingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ] + } + } + ], + "inboundNatRules": [ + { + "name": "inbound1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "properties": { + "provisioningState": "Succeeded", + "frontendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 3389, + "backendPort": 3389, + "enableFloatingIP": false, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp", + "backendIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + } + } + ], + "outboundRules": [], + "inboundNatPools": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json new file mode 100644 index 000000000000..24ea42134dc0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "networkInterfaceName": "mynic", + "tapConfigurationName": "tapconfiguration1", + "api-version": "2019-06-01", + "tapConfigurationParameters": { + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "etag": "etag", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" + } + } + }, + "201": { + "body": { + "name": "tapConfiguration1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "etag": "etag", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json new file mode 100644 index 000000000000..498972782118 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "test-networkinterface", + "tapConfigurationName": "test-tapconfiguration" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json new file mode 100644 index 000000000000..f107c1453e54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "networkInterfaceName": "mynic", + "tapConfigurationName": "tapconfiguration1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "etag": "etag", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json new file mode 100644 index 000000000000..b60be89c275c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "mynic" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tapConfiguration1", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "etag": "etag", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + }, + "provisioningState": "Succeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json new file mode 100644 index 000000000000..a10d2fa5ce2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "test-nic", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "172.20.2.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + }, + "primary": true, + "privateIPAddressVersion": "IPv4" + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false + }, + "type": "Microsoft.Network/networkInterfaces" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json new file mode 100644 index 000000000000..ebd78465e92e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1", + "parameters": { + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + } + } + }, + "201": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json new file mode 100644 index 000000000000..95a44ddfd0ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json new file mode 100644 index 000000000000..e09de00f3504 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + }, + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json new file mode 100644 index 000000000000..f80c47d3bd97 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "networkProfile1" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0" + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + }, + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1" + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [ + { + "name": "containerGroup1_eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + }, + { + "name": "containerGroup1_eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + }, + { + "name": "containerGroup2_eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + }, + { + "name": "containerGroup2_eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + }, + { + "name": "containerGroup3_eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + }, + { + "name": "containerGroup3_eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "properties": { + "provisioningState": "Succeeded", + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "container": { + "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "ipConfigurations": [] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json new file mode 100644 index 000000000000..8ca0f774bda2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json new file mode 100644 index 000000000000..c12ae0ee648e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "name": "networkProfile1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", + "name": "networkProfile2", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json new file mode 100644 index 000000000000..5f0723c05f54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkProfileName": "test-np", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-np", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf", + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + }, + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations" + } + ], + "containerNetworkInterfaces": [] + }, + "type": "Microsoft.Network/networkProfiles", + "location": "centraluseuap" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json new file mode 100644 index 000000000000..7e646dd0f327 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "parameters": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json new file mode 100644 index 000000000000..f25cd684e53f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json @@ -0,0 +1,282 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "parameters": { + "properties": { + "securityRules": [ + { + "name": "rule1", + "properties": { + "protocol": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "destinationPortRange": "80", + "sourcePortRange": "*", + "priority": 130, + "direction": "Inbound" + } + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "80", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 130, + "direction": "Inbound" + } + } + ], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "80", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 130, + "direction": "Inbound" + } + } + ], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json new file mode 100644 index 000000000000..a618b7f5de3c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json new file mode 100644 index 000000000000..b1354d59769c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "80", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 130, + "direction": "Inbound" + } + } + ], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json new file mode 100644 index 000000000000..d3fcf3a8dd63 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json @@ -0,0 +1,231 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + }, + { + "name": "nsg3", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json new file mode 100644 index 000000000000..903b592968d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json @@ -0,0 +1,230 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + }, + { + "name": "nsg3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json new file mode 100644 index 000000000000..59884ad6a46c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "securityRuleName": "rule1", + "securityRuleParameters": { + "properties": { + "protocol": "*", + "sourceAddressPrefix": "10.0.0.0/8", + "destinationAddressPrefix": "11.0.0.0/8", + "access": "Deny", + "destinationPortRange": "8080", + "sourcePortRange": "*", + "priority": 100, + "direction": "Outbound" + } + } + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "8080", + "sourceAddressPrefix": "10.0.0.0/8", + "destinationAddressPrefix": "11.0.0.0/8", + "access": "Deny", + "priority": 100, + "direction": "Outbound" + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "8080", + "sourceAddressPrefix": "10.0.0.0/8", + "destinationAddressPrefix": "11.0.0.0/8", + "access": "Deny", + "priority": 100, + "direction": "Outbound" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json new file mode 100644 index 000000000000..9800d44afc36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "securityRuleName": "rule1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json new file mode 100644 index 000000000000..2d84db7b20ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "securityRuleName": "rule1" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "80", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 130, + "direction": "Inbound" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json new file mode 100644 index 000000000000..c9b34d577865 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "80", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 130, + "direction": "Inbound" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..f4110de31f8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkSecurityGroupName": "testnsg", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "securityRules": [], + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from azure load balancer", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "AzureLoadBalancer", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 65001, + "direction": "Inbound" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all inbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Inbound" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Outbound" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow outbound traffic from all VMs to Internet", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "Internet", + "access": "Allow", + "priority": 65001, + "direction": "Outbound" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "provisioningState": "Succeeded", + "description": "Deny all outbound traffic", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json new file mode 100644 index 000000000000..a0d1c37571b4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "country": "United States", + "state": "washington", + "city": "seattle" + } + }, + "responses": { + "200": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "stateName": "washington", + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ] + } + ] + } + ] + } + }, + "202": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "stateName": "washington", + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json new file mode 100644 index 000000000000..5e502d6d4c12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "providers": [ + "Frontier Communications of America, Inc. - ASN 5650" + ], + "azureLocations": [ + "West US" + ], + "startTime": "2017-09-07T00:00:00Z", + "endTime": "2017-09-10T00:00:00Z" + } + }, + "responses": { + "200": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "provider": "Frontier Communications of America, Inc. - ASN 5650", + "azureLocation": "West US", + "latencies": [ + { + "timeStamp": "2017-09-07T00:00:00Z", + "score": 94 + }, + { + "timeStamp": "2017-09-08T00:00:00Z", + "score": 94 + }, + { + "timeStamp": "2017-09-09T00:00:00Z", + "score": 94 + } + ] + } + ] + } + }, + "202": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "provider": "Frontier Communications of America, Inc. - ASN 5650", + "azureLocation": "West US", + "latencies": [ + { + "timeStamp": "2017-09-07T00:00:00Z", + "score": 94 + }, + { + "timeStamp": "2017-09-08T00:00:00Z", + "score": 94 + }, + { + "timeStamp": "2017-09-09T00:00:00Z", + "score": 94 + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json new file mode 100644 index 000000000000..e31b2635799a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1", + "parameters": { + "location": "eastus", + "properties": { + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60 + } + } + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { + "provisioningState": "Updating", + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", + "port": 0 + }, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "autoStart": true, + "monitoringStatus": "NotStarted" + }, + "location": "eastus", + "type": "Microsoft.Network/networkWatchers/connectionMonitors" + } + }, + "201": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "properties": { + "provisioningState": "Updating", + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", + "port": 0 + }, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "autoStart": true, + "monitoringStatus": "NotStarted" + }, + "location": "eastus", + "type": "Microsoft.Network/networkWatchers/connectionMonitors" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json new file mode 100644 index 000000000000..fc23a165af9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json new file mode 100644 index 000000000000..5be221ce1d16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", + "port": 0 + }, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "autoStart": true, + "startTime": "2018-01-08T03:42:33.3387305Z", + "monitoringStatus": "Running" + }, + "location": "centraluseuap", + "type": "Microsoft.Network/networkWatchers/connectionMonitors" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json new file mode 100644 index 000000000000..7a35958530f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "cm1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1", + "port": 0 + }, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "autoStart": true, + "startTime": "2018-01-08T03:42:33.3387305Z", + "monitoringStatus": "Running" + }, + "location": "centraluseuap", + "type": "Microsoft.Network/networkWatchers/connectionMonitors" + }, + { + "name": "cm2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2", + "port": 0 + }, + "destination": { + "address": "google.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 30, + "autoStart": true, + "startTime": "2018-01-08T05:42:33.3387305Z", + "monitoringStatus": "Running" + }, + "location": "centraluseuap", + "type": "Microsoft.Network/networkWatchers/connectionMonitors" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json new file mode 100644 index 000000000000..b7278b5d44ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" + }, + "responses": { + "200": { + "body": { + "sourceStatus": "Active", + "states": [ + { + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ + { + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "issues": [] + }, + { + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] + } + ] + } + ] + } + }, + "202": { + "body": { + "sourceStatus": "Active", + "states": [ + { + "connectionState": "Reachable", + "startTime": "2018-01-08T03:42:33.3387305Z", + "endTime": "2018-01-08T05:12:41.5265438Z", + "evaluationState": "Completed", + "hops": [ + { + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "issues": [] + }, + { + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json new file mode 100644 index 000000000000..28d3fa396a41 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json new file mode 100644 index 000000000000..28d3fa396a41 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "connectionMonitorName": "cm1" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json new file mode 100644 index 000000000000..53a0cb55215a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "source": { + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "destination": { + "address": "192.168.100.4", + "port": 3389 + } + } + }, + "responses": { + "200": { + "body": { + "hops": [ + { + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "issues": [] + }, + { + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] + } + ], + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 + } + }, + "202": { + "body": { + "hops": [ + { + "type": "Source", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "address": "10.1.1.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1", + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "issues": [] + }, + { + "type": "VirtualNetwork", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "address": "192.168.100.4", + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "nextHopIds": [], + "issues": [] + } + ], + "connectionStatus": "Connected", + "avgLatencyInMs": 1, + "minLatencyInMs": 1, + "maxLatencyInMs": 4, + "probesSent": 100, + "probesFailed": 0 + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json new file mode 100644 index 000000000000..e48a7404a7b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json new file mode 100644 index 000000000000..edcdd0324917 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json new file mode 100644 index 000000000000..43b5c53ffa6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true + } + } + }, + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true + } + } + }, + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json new file mode 100644 index 000000000000..522e77e6ff29 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + } + }, + "responses": { + "200": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true + } + } + }, + "202": { + "body": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "enabled": true + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json new file mode 100644 index 000000000000..3a32b617cf1e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json new file mode 100644 index 000000000000..2a7581327c45 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "direction": "Outbound", + "protocol": "TCP", + "localPort": "80", + "remotePort": "80", + "localIPAddress": "10.2.0.4", + "remoteIPAddress": "121.10.1.1" + } + }, + "responses": { + "200": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + } + }, + "202": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json new file mode 100644 index 000000000000..a95303d58639 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + }, + { + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json new file mode 100644 index 000000000000..b4eb0169ea36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + }, + { + "name": "nw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "westus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json new file mode 100644 index 000000000000..16bc92475a60 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -0,0 +1,198 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "profiles": [ + { + "direction": "Inbound", + "protocol": "TCP", + "source": "10.1.0.4", + "destination": "12.11.12.14", + "destinationPort": "12100" + } + ] + } + }, + "responses": { + "200": { + "body": { + "results": [ + { + "profile": { + "direction": "Inbound", + "protocol": "TCP", + "source": "10.1.0.4", + "destination": "12.11.12.14", + "destinationPort": "12100" + }, + "networkSecurityGroupResult": { + "securityRuleAccessResult": "Allow", + "evaluatedNetworkSecurityGroups": [ + { + "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "ruleName": "UserRule_fe_rule", + "action": "Allow" + }, + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_fe_rule", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": true + } + ] + }, + { + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "ruleName": "UserRule_fe_rule", + "action": "Allow" + }, + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": true + } + ] + } + ] + } + } + ] + } + }, + "202": { + "body": { + "results": [ + { + "profile": { + "direction": "Inbound", + "protocol": "TCP", + "source": "10.1.0.4", + "destination": "12.11.12.14", + "destinationPort": "12100" + }, + "networkSecurityGroupResult": { + "securityRuleAccessResult": "Allow", + "evaluatedNetworkSecurityGroups": [ + { + "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "ruleName": "UserRule_fe_rule", + "action": "Allow" + }, + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": false + }, + { + "name": "UserRule_fe_rule", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": true + } + ] + }, + { + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "ruleName": "UserRule_fe_rule", + "action": "Allow" + }, + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true, + "destinationMatched": true, + "destinationPortMatched": true + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json new file mode 100644 index 000000000000..e4c12a3bf745 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "sourceIPAddress": "10.0.0.5", + "destinationIPAddress": "10.0.0.10", + "targetNicResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + } + }, + "responses": { + "200": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + } + }, + "202": { + "body": { + "nextHopType": "VnetLocal", + "nextHopIpAddress": "10.0.0.1", + "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json new file mode 100644 index 000000000000..3a7610c0c97a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "parameters": { + "properties": { + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" + }, + "filters": [ + { + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" + }, + "filters": [ + { + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json new file mode 100644 index 000000000000..9db919796e53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json new file mode 100644 index 000000000000..087574ed359d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" + }, + "filters": [ + { + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json new file mode 100644 index 000000000000..ba9fe38de6e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] + } + }, + "202": { + "body": { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded", + "packetCaptureError": [] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json new file mode 100644 index 000000000000..076099f969fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json new file mode 100644 index 000000000000..70b00c3a107b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Updating", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap", + "filePath": "D:\\capture\\pc1.cap" + }, + "filters": [ + { + "protocol": "TCP", + "localIPAddress": "10.0.0.4", + "localPort": "80" + } + ] + } + }, + { + "name": "pc2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "bytesToCapturePerPacket": 10000, + "totalBytesPerSession": 100000, + "timeLimitInSeconds": 100, + "storageLocation": { + "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap", + "filePath": "D:\\capture\\pc2.cap" + }, + "filters": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json new file mode 100644 index 000000000000..f104ba60baaf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "subnetAssociation": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" + } + } + ] + }, + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + ] + } + } + ] + } + }, + "202": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "subnetAssociation": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow Frontend", + "protocol": "Tcp", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "10.1.0.0/24", + "destinationAddressPrefix": "*", + "access": "Allow", + "priority": 100, + "direction": "Inbound" + } + } + ] + }, + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "provisioningState": "Succeeded", + "description": "Allow inbound traffic from all VMs in VNET", + "protocol": "*", + "sourcePortRange": "*", + "destinationPortRange": "*", + "sourceAddressPrefix": "VirtualNetwork", + "destinationAddressPrefix": "VirtualNetwork", + "access": "Allow", + "priority": 65000, + "direction": "Inbound" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "protocol": "All", + "sourcePortRange": "0-65535", + "destinationPortRange": "0-65535", + "sourceAddressPrefix": "*", + "destinationAddressPrefix": "*", + "access": "Deny", + "priority": 65500, + "direction": "Outbound" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json new file mode 100644 index 000000000000..be46cc5a50a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceGroupName": "rg2" + } + }, + "responses": { + "200": { + "body": { + "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", + "createdDateTime": "2017-08-02T19:31:55.9461781Z", + "lastModified": "2017-05-27T00:00:13.2005337Z", + "resources": [ + { + "name": "MultiTierApp0", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", + "location": "westus", + "associations": [ + { + "name": "appNic0", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0", + "associationType": "Contains" + }, + { + "name": "appNic10", + "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10", + "associationType": "Contains" + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json new file mode 100644 index 000000000000..01ae4a582103 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "properties": { + "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "storagePath": "https://st1.blob.core.windows.net/cn1" + } + } + }, + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } + ] + } + }, + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json new file mode 100644 index 000000000000..3957ec7c20f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "responses": { + "200": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } + ] + } + }, + "202": { + "body": { + "startTime": "2017-01-12T00:19:47.0442834Z", + "endTime": "2017-01-12T00:20:09.914Z", + "code": "UnHealthy", + "results": [ + { + "id": "000000", + "reasonType": "VipUnResponsive", + "summary": "We are sorry, your VPN gateway is unreachable from the Internet", + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json new file mode 100644 index 000000000000..45ec9e297a5b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkWatcherName": "nw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/networkWatchers", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json new file mode 100644 index 000000000000..51f6b7574a50 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "location": "westus", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Network/localnetworkgateways/read", + "display": { + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway", + "operation": "Get LocalNetworkGateway", + "description": "Gets LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/write", + "display": { + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway", + "operation": "Create or update LocalNetworkGateway", + "description": "Creates or updates an existing LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/delete", + "display": { + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway", + "operation": "Delete LocalNetworkGateway", + "description": "Deletes LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Network", + "resource": "Network Interface metric definition", + "operation": "Read Network Interface metric definitions", + "description": "Gets available metrics for the Network Interface" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BytesSentRate", + "displayName": "Bytes Sent", + "displayDescription": "Number of bytes the Network Interface sent", + "unit": "Count", + "aggregationType": "Total", + "availabilities": [ + { + "timeGrain": "00:01:00", + "retention": "00:00:00", + "blobDuration": "01:00:00" + }, + { + "timeGrain": "01:00:00", + "retention": "00:00:00", + "blobDuration": "1.00:00:00" + } + ], + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^__Ready__$", + "fillGapWithZero": false, + "dimensions": [], + "isInternal": false + }, + { + "name": "BytesReceivedRate", + "displayName": "Bytes Received", + "displayDescription": "Number of bytes the Network Interface received", + "unit": "Count", + "aggregationType": "Total", + "availabilities": [ + { + "timeGrain": "00:01:00", + "retention": "00:00:00", + "blobDuration": "01:00:00" + }, + { + "timeGrain": "01:00:00", + "retention": "00:00:00", + "blobDuration": "1.00:00:00" + } + ], + "enableRegionalMdmAccount": false, + "metricFilterPattern": "^__Ready__$", + "fillGapWithZero": false, + "dimensions": [], + "isInternal": false + } + ] + } + } + }, + { + "name": "Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Network", + "resource": "Network Security Groups Log Definitions", + "operation": "Get Network Security Group Event Log Definitions", + "description": "Gets the events for network security group" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "NetworkSecurityGroupEvent", + "displayName": "Network Security Group Event", + "blobDuration": "PT1H" + }, + { + "name": "NetworkSecurityGroupRuleCounter", + "displayName": "Network Security Group Rule Counter", + "blobDuration": "PT1H" + }, + { + "name": "NetworkSecurityGroupFlowEvent", + "displayName": "Network Security Group Rule Flow Event", + "blobDuration": "PT1H" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json new file mode 100644 index 000000000000..a3e24088f6e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..019ee1ed06ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "gatewayName": "p2sVpnGateway1", + "parameters": { + "authenticationMethod": "EAPTLS" + } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json new file mode 100644 index 000000000000..f5f5b417f88c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json new file mode 100644 index 000000000000..5032cf76a204 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json new file mode 100644 index 000000000000..cdaf98dd73df --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + }, + { + "name": "p2sVpnGateway2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..cdaf98dd73df --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + }, + { + "name": "p2sVpnGateway2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json new file mode 100644 index 000000000000..8090518ab6c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "p2SVpnGatewayParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } + } + } + }, + "201": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json new file mode 100644 index 000000000000..30162c973ea6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "p2SVpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + }, + "201": { + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json new file mode 100644 index 000000000000..120346be9ea4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", + "virtualWanName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json new file mode 100644 index 000000000000..284e35795313 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "virtualWanName": "virtualWan1", + "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json new file mode 100644 index 000000000000..d70611905d21 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "virtualWanName": "virtualWan1", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/VpnClientRevokedCert2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json new file mode 100644 index 000000000000..eb5b0e27eec4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json @@ -0,0 +1,206 @@ +{ + "parameters": { + "virtualWanName": "virtualWan1", + "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "p2SVpnServerConfigurationParameters": { + "properties": { + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "properties": { + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "properties": { + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..2afc1329c1bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "connectionName": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "properties": { + "provisioningState": "Succeeded", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/29", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "authResourceGuid": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..0e12baeaa432 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid1", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "properties": { + "provisioningState": "Succeeded", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "addressPrefix": "20.0.0.0/29", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "authResourceGuid": "" + } + }, + { + "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "properties": { + "provisioningState": "Succeeded", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering" + }, + "addressPrefix": "30.0.0.0/29", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionCentralusEastus", + "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json new file mode 100644 index 000000000000..ecb7044a44a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe", + "parameters": { + "location": "eastus2euap", + "properties": { + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json new file mode 100644 index 000000000000..d82668b67042 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe", + "parameters": { + "location": "eastus", + "properties": { + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json new file mode 100644 index 000000000000..ba7e531c8758 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json new file mode 100644 index 000000000000..425fddb7053d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json new file mode 100644 index 000000000000..09540ed0e65f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "privateEndpointName": "testPe" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json new file mode 100644 index 000000000000..f837a0575124 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe1.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "manualPrivateLinkServiceConnections": [], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2", + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection for pe2.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json new file mode 100644 index 000000000000..6f4ee037b66d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe1.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2", + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please manually approve my connection for pe2.", + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Awaiting approval", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3", + "name": "pe3", + "type": "Microsoft.Network/privateEndpoints", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "privateLinkServiceConnections": [ + { + "properties": { + "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3", + "groupIds": [ + "groupIdFromResource" + ], + "requestMessage": "Please approve my connection for pe3.", + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionRequired": "None" + } + } + } + ], + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json new file mode 100644 index 000000000000..652b11fa202b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json @@ -0,0 +1,155 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "parameters": { + "location": "eastus", + "properties": { + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ] + } + } + }, + "201": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json new file mode 100644 index 000000000000..2418be97cae1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..b26fceb67cf1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "peConnectionName": "testPlePeConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json new file mode 100644 index 000000000000..2f5da8fd8e14 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls" + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "privateEndpointConnections": [ + { + "name": "privateEndpointConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json new file mode 100644 index 000000000000..92b1af7eb93d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ] + } + }, + { + "name": "testPls2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "privateEndpointConnections": [ + { + "name": "pec2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json new file mode 100644 index 000000000000..7e48a7b57406 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ] + } + }, + { + "name": "testPls2", + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "type": "Microsoft.Network/privateLinkServices", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "ipConfigurations": [ + { + "name": "fe-lb2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAllocationMethod": "Static", + "privateIPAddressVersion": "IPv4", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json new file mode 100644 index 000000000000..f4219dabe142 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "peConnectionName": "testPlePeConnection", + "parameters": { + "name": "testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json new file mode 100644 index 000000000000..a2e158c87592 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "test-ip", + "zones": [ + "1" + ], + "parameters": { + "properties": { + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "publicIPAddressVersion": "IPv4" + }, + "sku": { + "name": "Standard" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPAddresses" + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPAddresses" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json new file mode 100644 index 000000000000..2f82d6a64ec8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "test-ip", + "parameters": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "sku": { + "name": "Basic" + }, + "type": "Microsoft.Network/publicIPAddresses" + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "sku": { + "name": "Basic" + }, + "type": "Microsoft.Network/publicIPAddresses" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json new file mode 100644 index 000000000000..008771c29f5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "test-ip", + "parameters": { + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl" + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "type": "Microsoft.Network/publicIPAddresses" + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "type": "Microsoft.Network/publicIPAddresses" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json new file mode 100644 index 000000000000..8894ef02a9d0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "test-ip" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json new file mode 100644 index 000000000000..0fd0823b214b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "testDNS-ip" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ] + }, + "type": "Microsoft.Network/publicIPAddresses" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json new file mode 100644 index 000000000000..970ea97c6779 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ] + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "name": "ip03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + } + }, + "type": "Microsoft.Network/publicIPAddresses" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json new file mode 100644 index 000000000000..376524c24943 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "name": "ip01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.85.154.247", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic", + "idleTimeoutInMinutes": 4, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + } + }, + "type": "Microsoft.Network/publicIPAddresses" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json new file mode 100644 index 000000000000..3856c88fe0b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpAddressName": "test-ip", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static", + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.Network/publicIPAddresses" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json new file mode 100644 index 000000000000..3d29db64fc4e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "zones": [ + "1" + ], + "parameters": { + "location": "westus", + "properties": { + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", + "location": "westus", + "zones": [ + "1" + ], + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json new file mode 100644 index 000000000000..f3a47491b55c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "parameters": { + "sku": { + "name": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json new file mode 100644 index 000000000000..8d0a446a52e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json new file mode 100644 index 000000000000..970423b03cee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "publicIPAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ] + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json new file mode 100644 index 000000000000..c199968075b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "40.85.154.2/30", + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ] + }, + "type": "Microsoft.Network/publicIPPrefixes" + }, + { + "name": "ipprefix03", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 31, + "ipPrefix": "40.85.153.2/31" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json new file mode 100644 index 000000000000..517dfe366f83 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30, + "ipPrefix": "41.85.154.247/30", + "publicIPAddresses": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ] + }, + "type": "Microsoft.Network/publicIPPrefixes" + }, + { + "name": "ipprefix01", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "ipPrefix": "40.85.154.247/30", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json new file mode 100644 index 000000000000..bc015e5ad8bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "publicIpPrefixName": "test-ipprefix", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "prefixLength": 30 + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.Network/publicIPPrefixes" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json new file mode 100644 index 000000000000..7fac4b606bd3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "routeFilterParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "rules": [ + { + "name": "ruleName", + "properties": { + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json new file mode 100644 index 000000000000..72e0df7c1e90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json new file mode 100644 index 000000000000..f3e91815f96f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json new file mode 100644 index 000000000000..280f7e92eda8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json new file mode 100644 index 000000000000..b3216e851f71 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ], + "peerings": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json new file mode 100644 index 000000000000..a73aea554d6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "ruleName": "ruleName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "routeFilterRuleParameters": { + "properties": { + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json new file mode 100644 index 000000000000..4b49614994b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "ruleName": "ruleName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json new file mode 100644 index 000000000000..e354e12bdc96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "ruleName": "filterName", + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json new file mode 100644 index 000000000000..e02b3504b7a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid", + "routeFilterName": "filterName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json new file mode 100644 index 000000000000..045064697959 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "ruleName": "ruleName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "routeFilterRuleParameters": { + "properties": { + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030", + "12076:5040" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json new file mode 100644 index 000000000000..a552b4340518 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "routeFilterName": "filterName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "routeFilterParameters": { + "tags": { + "key1": "value1" + }, + "properties": { + "rules": [ + { + "name": "ruleName", + "properties": { + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030" + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "filterName", + "type": "Microsofot.Network/routeFilters", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "name": "ruleName", + "properties": { + "provisioningState": "Succeeded", + "access": "Allow", + "routeFilterRuleType": "Community", + "communities": [ + "12076:5030" + ] + } + } + ], + "peerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json new file mode 100644 index 000000000000..10aabc305083 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [], + "disableBgpRoutePropagation": true + } + } + }, + "201": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "routes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json new file mode 100644 index 000000000000..7c8d4f52ca00 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "parameters": { + "properties": { + "disableBgpRoutePropagation": true, + "routes": [ + { + "name": "route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "routes": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json new file mode 100644 index 000000000000..6e0b6f33ad4a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json new file mode 100644 index 000000000000..23c35c33cfd8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": false, + "routes": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json new file mode 100644 index 000000000000..0228bee575bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "routes": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + }, + { + "name": "testrt2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt2", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json new file mode 100644 index 000000000000..53c18b34d61f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + }, + { + "name": "testrt3", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/testrt3", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json new file mode 100644 index 000000000000..8f49986ae713 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "routeName": "route1", + "routeParameters": { + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + }, + "201": { + "body": { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json new file mode 100644 index 000000000000..08170b2b3d7d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "routeName": "route1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json new file mode 100644 index 000000000000..ecdecdf3695c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "routeName": "route1" + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json new file mode 100644 index 000000000000..a4cb68ab7c03 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "route1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet" + } + }, + { + "name": "route2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route2", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.2.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json new file mode 100644 index 000000000000..eefbb486aafe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "routes": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json new file mode 100644 index 000000000000..c301ec73b91b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "name": "skype", + "type": "Microsofot.Network/bgpServiceCommunities", + "properties": { + "serviceName": "skype", + "bgpCommunities": [ + { + "serviceSupportedRegion": "Global", + "communityName": "Skype For Business Online", + "communityValue": "12076:5030", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "isAuthorizedToUse": true, + "serviceGroup": "O365" + } + ] + } + }, + { + "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "name": "exchange", + "type": "Microsofot.Network/bgpServiceCommunities", + "properties": { + "serviceName": "exchange", + "bgpCommunities": [ + { + "serviceSupportedRegion": "Global", + "communityName": "Exchange Online", + "communityValue": "12076:5040", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "isAuthorizedToUse": true, + "serviceGroup": "O365" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json new file mode 100644 index 000000000000..e41786dcd015 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + }, + "201": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json new file mode 100644 index 000000000000..cd30c41bed8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "parameters": { + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + }, + "201": { + "body": { + "name": "testnsg", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json new file mode 100644 index 000000000000..da5cc80af357 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "ServiceEndpointPolicyDefinitions": { + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json new file mode 100644 index 000000000000..6da36a37d55d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "serviceEndpointPolicyDefinitionName": "testDefinition" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json new file mode 100644 index 000000000000..0fa9238a9b58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "serviceEndpointPolicyDefinitionName": "testDefinition" + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json new file mode 100644 index 000000000000..320c19dcc87b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDef", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json new file mode 100644 index 000000000000..2a398582422d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "serviceEndpointPolicy1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json new file mode 100644 index 000000000000..1d8b95181932 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy" + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json new file mode 100644 index 000000000000..c1c3e7df67b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testServiceEndpointPolicy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json new file mode 100644 index 000000000000..117973d78d1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testPolicy1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2", + "type": "Microsoft.Network/serviceEndpointPolicies", + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition2", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [], + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json new file mode 100644 index 000000000000..2ebdd3bbfd1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json new file mode 100644 index 000000000000..e25d9fe67741 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "westcentralus", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "name": "public", + "id": "/subscriptions/subId/providers/Microsoft.Network/serviceTags/public", + "type": "Microsoft.Network/serviceTags", + "changeNumber": "63", + "cloud": "Public", + "values": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement", + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ] + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement", + "addressPrefixes": [ + "20.36.106.68/31", + "20.36.107.176/28" + ] + } + }, + { + "name": "AppService", + "id": "AppService", + "properties": { + "changeNumber": "13", + "region": "", + "systemService": "AzureAppService", + "addressPrefixes": [ + "13.64.73.110/32", + "191.235.208.12/32", + "191.235.215.184/32" + ] + } + }, + { + "name": "ServiceBus", + "id": "ServiceBus", + "properties": { + "changeNumber": "10", + "region": "", + "systemService": "AzureServiceBus", + "addressPrefixes": [ + "23.98.82.96/29", + "40.68.127.68/32", + "40.70.146.64/29" + ] + } + }, + { + "name": "ServiceBus.EastUS2", + "id": "ServiceBus.EastUS2", + "properties": { + "changeNumber": "1", + "region": "eastus2", + "systemService": "AzureServiceBus", + "addressPrefixes": [ + "13.68.110.36/32", + "40.70.146.64/29" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json new file mode 100644 index 000000000000..f180511ab77a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json new file mode 100644 index 000000000000..ff4ba173632f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json new file mode 100644 index 000000000000..79287da043a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subId", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json new file mode 100644 index 000000000000..d56a87147e5a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json new file mode 100644 index 000000000000..cf722e3bb7c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json new file mode 100644 index 000000000000..95ca9e7156aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json new file mode 100644 index 000000000000..4e5fa6f8da75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet2", + "name": "subnet2", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json new file mode 100644 index 000000000000..30e3b4626326 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "subnetName": "subnet1", + "prepareNetworkPoliciesRequestParameters": { + "serviceName": "Microsoft.Sql/managedInstances" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json new file mode 100644 index 000000000000..349864633b35 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "location": "westus", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "currentValue": 8.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks", + "limit": 50.0, + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "unit": "Count" + }, + { + "currentValue": 3.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses", + "limit": 20.0, + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "unit": "Count" + }, + { + "currentValue": 1.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups", + "limit": 100.0, + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "unit": "Count" + }, + { + "currentValue": 8.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses", + "limit": 60.0, + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "unit": "Count" + }, + { + "currentValue": 2.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces", + "limit": 350.0, + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "unit": "Count" + }, + { + "currentValue": 2.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/LoadBalancers", + "limit": 100.0, + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "unit": "Count" + }, + { + "currentValue": 1.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways", + "limit": 50.0, + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteTables", + "limit": 100.0, + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilters", + "limit": 1000.0, + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers", + "limit": 1.0, + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PacketCaptures", + "limit": 10.0, + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork", + "limit": 9.0, + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork", + "limit": 1000.0, + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork", + "limit": 4096.0, + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork", + "limit": 10.0, + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 200.0, + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000.0, + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer", + "limit": 150.0, + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10.0, + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/outboundRulesPerLoadBalancer", + "limit": 5.0, + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "outboundRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable", + "limit": 100.0, + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256.0, + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface", + "limit": 500.0, + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter", + "limit": 1.0, + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1.0, + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json new file mode 100644 index 000000000000..61d61ffb62f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json @@ -0,0 +1,335 @@ +{ + "parameters": { + "location": "West US", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "currentValue": 12.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/VirtualNetworks", + "limit": 50.0, + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "unit": "Count" + }, + { + "currentValue": 1.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/StaticPublicIPAddresses", + "limit": 20.0, + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "unit": "Count" + }, + { + "currentValue": 3.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkSecurityGroups", + "limit": 100.0, + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "unit": "Count" + }, + { + "currentValue": 12.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIPAddresses", + "limit": 60.0, + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIpPrefixes", + "limit": 2147483647.0, + "name": { + "localizedValue": "Public Ip Prefixes", + "value": "PublicIpPrefixes" + }, + "unit": "Count" + }, + { + "currentValue": 2.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkInterfaces", + "limit": 24000.0, + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/LoadBalancers", + "limit": 100.0, + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "unit": "Count" + }, + { + "currentValue": 3.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationGateways", + "limit": 50.0, + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "unit": "Count" + }, + { + "currentValue": 5.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteTables", + "limit": 100.0, + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilters", + "limit": 1000.0, + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkWatchers", + "limit": 1.0, + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PacketCaptures", + "limit": 100.0, + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationSecurityGroups", + "limit": 500.0, + "name": { + "localizedValue": "Application Security Groups.", + "value": "ApplicationSecurityGroups" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DdosProtectionPlans", + "limit": 1.0, + "name": { + "localizedValue": "DDoS Protection Plans.", + "value": "DdosProtectionPlans" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ServiceEndpointPolicies", + "limit": 200.0, + "name": { + "localizedValue": "Service Endpoint Policies", + "value": "ServiceEndpointPolicies" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkIntentPolicies", + "limit": 200.0, + "name": { + "localizedValue": "Network Intent Policies", + "value": "NetworkIntentPolicies" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DnsServersPerVirtualNetwork", + "limit": 9.0, + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SubnetsPerVirtualNetwork", + "limit": 1000.0, + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/IPConfigurationsPerVirtualNetwork", + "limit": 16384.0, + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PeeringsPerVirtualNetwork", + "limit": 50.0, + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 1000.0, + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkIntentPolicy", + "limit": 100.0, + "name": { + "localizedValue": "Security rules per Network Intent Policy", + "value": "SecurityRulesPerNetworkIntentPolicy" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerNetworkIntentPolicy", + "limit": 100.0, + "name": { + "localizedValue": "Routes per Network Intent Policy", + "value": "RoutesPerNetworkIntentPolicy" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000.0, + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerLoadBalancer", + "limit": 150.0, + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10.0, + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/OutboundRulesPerLoadBalancer", + "limit": 5.0, + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "OutboundRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerRouteTable", + "limit": 400.0, + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256.0, + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerNetworkInterface", + "limit": 500.0, + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilterRulesPerRouteFilter", + "limit": 1.0, + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1.0, + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json new file mode 100644 index 000000000000..82fc7cc7686b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json new file mode 100644 index 000000000000..eae50b176383 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "virtualHubName": "virtualHub1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.10.1.0/24" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json new file mode 100644 index 000000000000..daf0ff24137e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + ], + "addressPrefix": "210.10.1.0/24" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json new file mode 100644 index 000000000000..c2fc19569f67 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + ], + "addressPrefix": "10.10.1.0/24" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [ + { + "name": "connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + }, + "allowHubToRemoteVnetTransit": true, + "allowRemoteVnetToUseHubVnetGateways": false + } + } + ], + "addressPrefix": "210.10.1.0/24" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json new file mode 100644 index 000000000000..7b74aa116265 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "virtualHubName": "virtualHub2", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "virtualHubParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "addressPrefix": "10.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json new file mode 100644 index 000000000000..ec5eaecf0990 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "virtualHubName": "virtualHub2", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "virtualHubParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + }, + "virtualNetworkConnections": [], + "addressPrefix": "10.168.0.0/24" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json new file mode 100644 index 000000000000..e55c250634f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "ipAddress": "10.0.1.4" + }, + "responses": { + "200": { + "body": { + "available": false, + "availableIPAddresses": [ + "10.0.1.5", + "10.0.1.6", + "10.0.1.7", + "10.0.1.8", + "10.0.1.9" + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json new file mode 100644 index 000000000000..5b74a3575264 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json new file mode 100644 index 000000000000..cf3a1d4e311b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ] + } + } + ] + }, + "location": "eastus2euap" + } + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "provisioningState": "Succeeded", + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ] + } + ], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "provisioningState": "Succeeded", + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ] + } + ], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json new file mode 100644 index 000000000000..3e71ab1f4c9a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "vnetTest", + "virtualNetworkName": "vnet1", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "provisioningState": "Succeeded", + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ] + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "provisioningState": "Succeeded", + "service": "Microsoft.Storage", + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ] + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json new file mode 100644 index 000000000000..29ff54dd6daf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json new file mode 100644 index 000000000000..6a915c182658 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ] + } + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "name": "test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.1.0.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "name": "test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json new file mode 100644 index 000000000000..3a996b62d1a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "properties": { + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ] + } + } + ] + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json new file mode 100644 index 000000000000..a9316b9bd589 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json new file mode 100644 index 000000000000..9345d369fc68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -0,0 +1,131 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", + "parameters": { + "properties": { + "virtualNetworkGateway1": { + "properties": { + "ipConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } + }, + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "tags": {} + }, + "localNetworkGateway2": { + "properties": { + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "gatewayIpAddress": "x.x.x.x" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "tags": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [] + }, + "location": "centralus" + } + }, + "responses": { + "201": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + }, + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json new file mode 100644 index 000000000000..c12d6fa33d54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json new file mode 100644 index 000000000000..c3c9f38110e6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "sharedKey": "Abc123", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "connectionStatus": "Connecting", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json new file mode 100644 index 000000000000..45e6bb7a0919 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json new file mode 100644 index 000000000000..55891b3ca5b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "conn1", + "parameters": { + "keyLength": 128 + } + }, + "responses": { + "200": { + "body": { + "keyLength": 128 + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json new file mode 100644 index 000000000000..05e7e95e00d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "connS2S", + "parameters": { + "value": "AzureAbc123" + } + }, + "responses": { + "200": { + "body": { + "value": "AzureAbc123" + } + }, + "201": { + "body": { + "value": "AzureAbc123" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json new file mode 100644 index 000000000000..ecee5fae2831 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "test", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/test", + "type": "Microsoft.Network/connections", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} + }, + "connectionType": "IPsec", + "routingWeight": 0, + "sharedKey": "temp1234", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "connectionStatus": "Unknown", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json new file mode 100644 index 000000000000..416447a6553c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} + }, + "localNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv1", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + }, + { + "name": "conn2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/connections", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} + }, + "localNetworkGateway2": { + "properties": {}, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" + }, + "connectionType": "IPsec", + "connectionProtocol": "IKEv2", + "routingWeight": 0, + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json new file mode 100644 index 000000000000..5d9af33b3844 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json new file mode 100644 index 000000000000..9ca488f9f4eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "200": { + "body": "" + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..6ade35eb9e57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": {} + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json new file mode 100644 index 000000000000..75ecc7da9012 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json new file mode 100644 index 000000000000..e24112a7f88a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "peer": "test" + }, + "responses": { + "202": {}, + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json new file mode 100644 index 000000000000..e4a21a7b56ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..0fe2a3baf8a2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json new file mode 100644 index 000000000000..3057f56047a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json new file mode 100644 index 000000000000..ecd3ecd4949e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "resourceGroupName": "p2s-vnet-test", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "virtualNetworkGatewayName": "vpnp2sgw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4", + "vpnConnectionDuration": 900, + "vpnConnectionTime": "2019-05-02T22:26:22", + "publicIpAddress": "167.220.2.232:45522", + "privateIpAddress": "192.168.210.2", + "vpnUserName": "gwp2schildcert", + "maxBandwidth": 240000000, + "egressPacketsTransferred": 557, + "egressBytesTransferred": 33420, + "ingressPacketsTransferred": 557, + "ingressBytesTransferred": 33420, + "maxPacketsPerSecond": 4 + }, + { + "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16", + "vpnConnectionDuration": 800, + "vpnConnectionTime": "2019-05-01T21:06:12", + "publicIpAddress": "167.220.2.232:45213", + "privateIpAddress": "192.168.210.1", + "vpnUserName": "gwp2schildcert", + "maxBandwidth": 220000000, + "egressPacketsTransferred": 357, + "egressBytesTransferred": 23420, + "ingressPacketsTransferred": 357, + "ingressBytesTransferred": 23420, + "maxPacketsPerSecond": 4 + } + ] + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json new file mode 100644 index 000000000000..e4a21a7b56ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json new file mode 100644 index 000000000000..644137ba8f00 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpngw1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc1", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [] + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.14", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + }, + { + "name": "vpngw2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "loc2", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.1.0.46", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json new file mode 100644 index 000000000000..5b3604e9d6bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json new file mode 100644 index 000000000000..57f686ee2dae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": {}, + "200": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..852dbb68dae0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "vpnclientIpsecParams": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } + }, + "responses": { + "202": {}, + "200": { + "body": "" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json new file mode 100644 index 000000000000..71c2500bff90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdate.json new file mode 100644 index 000000000000..05ae9a30b840 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdate.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + }, + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + } + }, + "name": "gwipconfig1" + } + ], + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + }, + "location": "centralus" + } + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "", + "aadAudience": "", + "aadIssuer": "" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + }, + "201": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "vpnClientConfiguration": { + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRootCertificates": [], + "vpnClientRevokedCertificates": [], + "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1", + "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17", + "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/" + }, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..698a5b92ba3a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayName": "vpngw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testpub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 2 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.254", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json new file mode 100644 index 000000000000..d5cb556ca1d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkGatewayConnectionName": "vpngw", + "parameters": { + "vendor": "Cisco", + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)" + } + }, + "responses": { + "200": { + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaysListConnections.json new file mode 100644 index 000000000000..728ea07d74dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaysListConnections.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "testrg", + "virtualNetworkGatewayName": "test-vpn-gateway-1", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vpn-connection", + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/connections/test-vpn-connection", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "type": "Microsoft.Network/connections", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGateway1": { + "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-1" + }, + "virtualNetworkGateway2": { + "id": "/subscriptions/subid/resourceGroups/testrg-2/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-2" + }, + "connectionType": "Vnet2Vnet", + "routingWeight": 22, + "enableBgp": true, + "usePolicyBasedTrafficSelectors": false, + "ipsecPolicies": [], + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0 + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGet.json new file mode 100644 index 000000000000..29e0c8d4fff4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetResourceNavigationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetResourceNavigationLinks.json new file mode 100644 index 000000000000..743eec618e18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetResourceNavigationLinks.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "vnet", + "subnetName": "subnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "redisCache_redis-tester", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/resourceNavigationLinks/redisCache_redis-tester", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks", + "properties": { + "provisioningState": "Succeeded", + "linkedResourceType": "Microsoft.Cache/redis", + "link": "/subscriptions/subid/resourceGroups/another-rg/providers/Microsoft.Cache/Redis/redis-tester" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetServiceAssociationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetServiceAssociationLinks.json new file mode 100644 index 000000000000..93a11b6b48ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetServiceAssociationLinks.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "vnet", + "subnetName": "subnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "acisal", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks", + "properties": { + "provisioningState": "Succeeded", + "linkedResourceType": "Microsoft.ContainerInstance/containerGroups", + "allowDelete": true, + "locations": [ + "westus" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithServiceAssociationLink.json new file mode 100644 index 000000000000..81765779ea73 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.214.0/24", + "ipConfigurationProfiles": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" + } + ], + "serviceAssociationLinks": [ + { + "name": "serviceAssociationLink1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "linkedResourceType": "Microsoft.Provider/resourceType" + } + } + ], + "serviceEndpoints": [], + "delegations": [ + { + "name": "aciDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/virtualNetworks/subnets/action" + ] + } + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithSubnetDelegation.json new file mode 100644 index 000000000000..79f87aa0f811 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkList.json new file mode 100644 index 000000000000..2c849d553654 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "dhcpOptions": { + "dnsServers": [] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [], + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2", + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "subnets": [], + "virtualNetworkPeerings": [], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListAll.json new file mode 100644 index 000000000000..536723df9f5e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListAll.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "dhcpOptions": { + "dnsServers": [] + }, + "subnets": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [], + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2", + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "subnets": [], + "virtualNetworkPeerings": [], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListUsage.json new file mode 100644 index 000000000000..a0afde114836 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkListUsage.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "virtualNetworkName": "vnetName", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "currentValue": -1.0, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/GatewaySubnet", + "limit": -1.0, + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "unit": "Count" + }, + { + "currentValue": 2.0, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/newSubnet", + "limit": 3.0, + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringCreate.json new file mode 100644 index 000000000000..58171c502915 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringCreate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "virtualNetworkPeeringName": "peer", + "virtualNetworkName": "vnet1", + "resourceGroupName": "peerTest", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "VirtualNetworkPeeringParameters": { + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "name": "peer", + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "peeringState": "Initiated", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "name": "peer", + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "peeringState": "Initiated", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringDelete.json new file mode 100644 index 000000000000..fbddd5249534 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "virtualNetworkPeeringName": "peer", + "virtualNetworkName": "vnet1", + "resourceGroupName": "peerTest", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringGet.json new file mode 100644 index 000000000000..57235635a53e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "virtualNetworkPeeringName": "peer", + "virtualNetworkName": "vnet1", + "resourceGroupName": "peerTest", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "name": "peer", + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "peeringState": "Initiated", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringList.json new file mode 100644 index 000000000000..079ea2c9edf9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkPeeringList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "virtualNetworkName": "vnet1", + "resourceGroupName": "peerTest", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "name": "peer", + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "peeringState": "Initiated", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2", + "name": "peer", + "properties": { + "allowVirtualNetworkAccess": true, + "allowForwardedTraffic": false, + "allowGatewayTransit": false, + "useRemoteGateways": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3" + }, + "remoteAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "peeringState": "Initiated", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapCreate.json new file mode 100644 index 000000000000..f63731627c58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapCreate.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "test-vtap", + "parameters": { + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" + } + }, + "location": "centraluseuap" + } + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } + } + }, + "201": { + "body": { + "name": "testvtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapDelete.json new file mode 100644 index 000000000000..eab32c6fb583 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "test-vtap" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapGet.json new file mode 100644 index 000000000000..3517583d419c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "testvtap" + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapList.json new file mode 100644 index 000000000000..29273797fe1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapList.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } + }, + { + "name": "testvtap2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapListAll.json new file mode 100644 index 000000000000..839135ca10c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapListAll.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + } + }, + { + "name": "testvtap2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "etag": "etag", + "type": "Microsoft.Network/virtualNetworkTaps", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapUpdateTags.json new file mode 100644 index 000000000000..750fa6db1098 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkTapUpdateTags.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "tapName": "test-vtap", + "tapParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-vtap", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "provisioningState": "Succeded", + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ] + }, + "type": "Microsoft.Network/virtualNetworkTaps" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkUpdateTags.json new file mode 100644 index 000000000000..159ed633384e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [], + "virtualNetworkPeerings": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANDelete.json new file mode 100644 index 000000000000..317975eee94b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "VirtualWANName": "virtualWan1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANGet.json new file mode 100644 index 000000000000..77f37954fb3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANList.json new file mode 100644 index 000000000000..580d7391baa7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANListByResourceGroup.json new file mode 100644 index 000000000000..75be22ec3327 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANListByResourceGroup.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANPut.json new file mode 100644 index 000000000000..98d9214fb78d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "WANParameters": { + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "disableVpnEncryption": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANUpdateTags.json new file mode 100644 index 000000000000..198dc210e074 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWANUpdateTags.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "WANParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "disableVpnEncryption": false, + "virtualHubs": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + ], + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWanSupportedSecurityProviders.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWanSupportedSecurityProviders.json new file mode 100644 index 000000000000..3ea259aa0f79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualWanSupportedSecurityProviders.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "virtualWANName": "wan1" + }, + "responses": { + "200": { + "description": "Request successful.", + "body": { + "supportedProviders": [ + { + "name": "AzureFirewall", + "url": "", + "type": "Native" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceGet.json new file mode 100644 index 000000000000..bb1b21c63014 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2017-03-30", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "1" + }, + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigGet.json new file mode 100644 index 000000000000..3b0b460e3e5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2017-03-30", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "2", + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1" + }, + "responses": { + "200": { + "body": { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.6", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigList.json new file mode 100644 index 000000000000..096c72dd6cd5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceIpConfigList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2017-03-30", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "2", + "networkInterfaceName": "nic1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.6", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceList.json new file mode 100644 index 000000000000..a554ba43fc16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssNetworkInterfaceList.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2017-03-30", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.0" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0" + } + } + }, + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpGet.json new file mode 100644 index 000000000000..3601aa554519 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2017-03-30", + "subscriptionId": "subid", + "virtualmachineIndex": 1, + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1", + "publicIpAddressName": "pub1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpListAll.json new file mode 100644 index 000000000000..2371537ba644 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssPublicIpListAll.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2017-03-30", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm3.testvmssacc", + "fqdn": "vm3.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.118.216", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmNetworkInterfaceList.json new file mode 100644 index 000000000000..b351fa9dce32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmNetworkInterfaceList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2017-03-30", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmPublicIpList.json new file mode 100644 index 000000000000..5df78ff0a7d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VmssVmPublicIpList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2017-03-30", + "subscriptionId": "subid", + "virtualmachineIndex": 1, + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionDelete.json new file mode 100644 index 000000000000..da9e6aa927eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionGet.json new file mode 100644 index 000000000000..f971893988ec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionGet.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "connectionName": "vpnConnection1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + }, + { + "name": "Connection-Link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionList.json new file mode 100644 index 000000000000..cac9f569aaec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionList.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + }, + { + "name": "Connection-Link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionPut.json new file mode 100644 index 000000000000..8e61992e8371 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnConnectionPut.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "VpnConnectionParameters": { + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + }, + "201": { + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayDelete.json new file mode 100644 index 000000000000..5dad1ff2eb23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayGet.json new file mode 100644 index 000000000000..24176b82148f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayGet.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + }, + { + "name": "Connection-Link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayList.json new file mode 100644 index 000000000000..c986bc37d9e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayList.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + }, + { + "name": "Connection-Link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + }, + { + "name": "gateway2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..c986bc37d9e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayListByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + }, + { + "name": "Connection-Link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + }, + { + "name": "gateway2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayPut.json new file mode 100644 index 000000000000..623205087d7a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayPut.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "vpnGatewayParameters": { + "location": "westcentralus", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key" + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65515, + "peerWeight": 0 + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + }, + "201": { + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayReset.json new file mode 100644 index 000000000000..179b7e0139b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayReset.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "gatewayName": "vpngw", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": { + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } + } + ], + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayUpdateTags.json new file mode 100644 index 000000000000..475911387e91 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnGatewayUpdateTags.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "vpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } + } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + }, + "201": { + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } + } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteDelete.json new file mode 100644 index 000000000000..4306d67c7033 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteGet.json new file mode 100644 index 000000000000..2838651ace88 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionGet.json new file mode 100644 index 000000000000..7445a2c4aabc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "connectionName": "vpnConnection1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionList.json new file mode 100644 index 000000000000..e0818fe22e32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkConnectionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "gatewayName": "gateway1", + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid", + "connectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnSiteLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + }, + "connectionBandwidth": 200, + "ipsecPolicies": [], + "vpnConnectionProtocolType": "IKEv2", + "sharedKey": "key", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "routingWeight": 0 + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkGet.json new file mode 100644 index 000000000000..f7d8e5666f88 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "vpnSiteName": "vpnSite1", + "vpnSiteLinkName": "vpnSiteLink1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkListByVpnSite.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkListByVpnSite.json new file mode 100644 index 000000000000..0182284d4799 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteLinkListByVpnSite.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + }, + { + "name": "vpnSiteLink2", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "40.40.40.46", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.1", + "asn": 1234 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteList.json new file mode 100644 index 000000000000..7e97a72c5929 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteList.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "East US", + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + }, + "isSecuritySite": false + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteListByResourceGroup.json new file mode 100644 index 000000000000..f6085910446b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteListByResourceGroup.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitePut.json new file mode 100644 index 000000000000..1df93e6f9fb3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitePut.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "VpnSiteParameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "properties": { + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "properties": { + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteUpdateTags.json new file mode 100644 index 000000000000..cff7f96d2d4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSiteUpdateTags.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "vpnSiteName": "vpnSite1", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "subscriptionId": "subid", + "VpnSiteParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "deviceProperties": { + "deviceVendor": "vendor1", + "deviceModel": "model01", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "bgpPeeringAddress": "192.168.0.0", + "asn": 1234 + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitesConfigurationDownload.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitesConfigurationDownload.json new file mode 100644 index 000000000000..f367241ff3af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VpnSitesConfigurationDownload.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "api-version": "2019-06-01", + "virtualWANName": "wan1", + "request": { + "vpnSites": [ + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc" + ], + "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b" + } + }, + "responses": { + "200": { + "description": "Request successful. Follow the location header for sas-url to output blob." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListAllPolicies.json new file mode 100644 index 000000000000..506091a428ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListAllPolicies.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeader", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "negationConditon": false, + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListPolicies.json new file mode 100644 index 000000000000..c7a5786d04e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafListPolicies.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeader", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "negationConditon": false, + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyCreateOrUpdate.json new file mode 100644 index 000000000000..3ad1dae0b58b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyCreateOrUpdate.json @@ -0,0 +1,228 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1", + "parameters": { + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "action": "Block", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeaders", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeader", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "negationConditon": false, + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + }, + "201": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeader", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "negationConditon": false, + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyDelete.json new file mode 100644 index 000000000000..bcc5516ae945 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyGet.json new file mode 100644 index 000000000000..b2d8e7d12e82 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/WafPolicyGet.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariables": [ + { + "variableName": "RemoteAddr", + "selector": null + } + ], + "operator": "IPMatch", + "negationConditon": false, + "matchValues": [ + "192.168.1.0/24" + ] + }, + { + "matchVariables": [ + { + "variableName": "RequestHeader", + "selector": "UserAgent" + } + ], + "operator": "Contains", + "negationConditon": false, + "matchValues": [ + "Windows" + ] + } + ], + "action": "Block" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json new file mode 100644 index 000000000000..2fe6a74133e6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json @@ -0,0 +1,2328 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_Delete", + "description": "Deletes the specified authorization from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_Get", + "description": "Gets the specified authorization from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", + "description": "Creates or updates an authorization in the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "name": "authorizationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "Parameters supplied to the create or update express route circuit authorization operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": { + "get": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_List", + "description": "Gets all authorizations in an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources.", + "schema": { + "$ref": "#/definitions/AuthorizationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_Delete", + "description": "Deletes the specified peering from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_Get", + "description": "Gets the specified peering for the express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Peering": { + "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", + "description": "Creates or updates a peering in the specified express route circuits.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "peeringParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "Parameters supplied to the create or update express route circuit peering operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": { + "get": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_List", + "description": "Gets all peerings in a specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuitPeering resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_Delete", + "description": "Deletes the specified Express Route Circuit Connection from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_Get", + "description": "Gets the specified Express Route Circuit Connection from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Express Route Circuit Connection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionGet": { + "$ref": "./examples/ExpressRouteCircuitConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", + "description": "Creates or updates a Express Route Circuit Connection in the specified express route circuits.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "name": "expressRouteCircuitConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "description": "Parameters supplied to the create or update express route circuit connection operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionCreate": { + "$ref": "./examples/ExpressRouteCircuitConnectionCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": { + "get": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_List", + "description": "Gets all global reach connections associated with a private peering in an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuitConnections resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnectionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Connection": { + "$ref": "./examples/ExpressRouteCircuitConnectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}": { + "get": { + "tags": [ + "PeerExpressRouteCircuitConnections" + ], + "operationId": "PeerExpressRouteCircuitConnections_Get", + "description": "Gets the specified Peer Express Route Circuit Connection from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peer express route circuit connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource.", + "schema": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + } + } + }, + "x-ms-examples": { + "PeerExpressRouteCircuitConnectionGet": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections": { + "get": { + "tags": [ + "PeerExpressRouteCircuitConnections" + ], + "operationId": "PeerExpressRouteCircuitConnections_List", + "description": "Gets all global reach peer connections associated with a private peering in an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources.", + "schema": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnectionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Peer ExpressRouteCircuit Connection": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": { + "delete": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_Delete", + "description": "Deletes the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_Get", + "description": "Gets information about the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of express route circuit." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "description": "Creates or updates an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + }, + "description": "Parameters supplied to the create or update express route circuit operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitCreate.json" + }, + "Create ExpressRouteCircuit on ExpressRoutePort": { + "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" + } + } + }, + "patch": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_UpdateTags", + "description": "Updates an express route circuit tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update express route circuit tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-examples": { + "Update Express Route Circuit Tags": { + "$ref": "./examples/ExpressRouteCircuitUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitArpTable" + ], + "operationId": "ExpressRouteCircuits_ListArpTable", + "description": "Gets the currently advertised ARP table associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "List ARP Table": { + "$ref": "./examples/ExpressRouteCircuitARPTableList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitRoutesTable" + ], + "operationId": "ExpressRouteCircuits_ListRoutesTable", + "description": "Gets the currently advertised routes table associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "List Route Tables": { + "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitRoutesTableSummary" + ], + "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", + "description": "Gets the currently advertised routes table summary associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "List Route Table Summary": { + "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": { + "get": { + "tags": [ + "ExpressRouteCircuitStats" + ], + "operationId": "ExpressRouteCircuits_GetStats", + "description": "Gets all the stats from an express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": { + "get": { + "tags": [ + "ExpressRouteCircuitStats" + ], + "operationId": "ExpressRouteCircuits_GetPeeringStats", + "description": "Gets all stats from an express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Peering Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_List", + "description": "Gets all the express route circuits in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a resource group": { + "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_ListAll", + "description": "Gets all the express route circuits in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuit resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a subscription": { + "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": { + "get": { + "tags": [ + "ExpressRouteServiceProviders" + ], + "operationId": "ExpressRouteServiceProviders_List", + "description": "Gets all the available express route service providers.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteServiceProvider resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteServiceProviderListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRoute providers": { + "$ref": "./examples/ExpressRouteProviderList.json" + } + } + } + } + }, + "definitions": { + "AuthorizationPropertiesFormat": { + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "authorizationUseStatus": { + "type": "string", + "description": "The authorization use status.", + "enum": [ + "Available", + "InUse" + ], + "x-ms-enum": { + "name": "AuthorizationUseStatus", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of ExpressRouteCircuitAuthorization." + }, + "ExpressRouteCircuitAuthorization": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AuthorizationPropertiesFormat", + "description": "Properties of the express route circuit authorization." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Authorization in an ExpressRouteCircuit resource." + }, + "AuthorizationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "The authorizations in an ExpressRoute Circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit." + }, + "ExpressRouteCircuitPeeringConfig": { + "properties": { + "advertisedPublicPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The reference of AdvertisedPublicPrefixes." + }, + "advertisedCommunities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The communities of bgp peering. Specified for microsoft peering." + }, + "advertisedPublicPrefixesState": { + "type": "string", + "description": "The advertised public prefix state of the Peering resource.", + "enum": [ + "NotConfigured", + "Configuring", + "Configured", + "ValidationNeeded" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState", + "modelAsString": true + } + }, + "legacyMode": { + "type": "integer", + "format": "int32", + "description": "The legacy mode of the peering." + }, + "customerASN": { + "type": "integer", + "format": "int32", + "description": "The CustomerASN of the peering." + }, + "routingRegistryName": { + "type": "string", + "description": "The RoutingRegistryName of the configuration." + } + }, + "description": "Specifies the peering configuration." + }, + "Ipv6ExpressRouteCircuitPeeringConfig": { + "properties": { + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "routeFilter": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the RouteFilter resource." + }, + "state": { + "type": "string", + "description": "The state of peering.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringState", + "modelAsString": true + } + } + }, + "description": "Contains IPv6 peering config." + }, + "ExpressRouteCircuitStats": { + "properties": { + "primarybytesIn": { + "type": "integer", + "format": "int64", + "description": "Gets BytesIn of the peering." + }, + "primarybytesOut": { + "type": "integer", + "format": "int64", + "description": "Gets BytesOut of the peering." + }, + "secondarybytesIn": { + "type": "integer", + "format": "int64", + "description": "Gets BytesIn of the peering." + }, + "secondarybytesOut": { + "type": "integer", + "format": "int64", + "description": "Gets BytesOut of the peering." + } + }, + "description": "Contains stats associated with the peering." + }, + "ExpressRouteCircuitPeeringPropertiesFormat": { + "properties": { + "peeringType": { + "$ref": "#/definitions/ExpressRoutePeeringType", + "description": "The peering type." + }, + "state": { + "$ref": "#/definitions/ExpressRoutePeeringState", + "description": "The peering state." + }, + "azureASN": { + "type": "integer", + "format": "int32", + "description": "The Azure ASN." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "minimum": 1, + "maximum": 4294967295, + "description": "The peer ASN." + }, + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "primaryAzurePort": { + "type": "string", + "description": "The primary port." + }, + "secondaryAzurePort": { + "type": "string", + "description": "The secondary port." + }, + "sharedKey": { + "type": "string", + "description": "The shared key." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "The VLAN ID." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "stats": { + "$ref": "#/definitions/ExpressRouteCircuitStats", + "description": "Gets peering stats." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "lastModifiedBy": { + "type": "string", + "description": "Gets whether the provider or the customer last modified the peering." + }, + "routeFilter": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the RouteFilter resource." + }, + "ipv6PeeringConfig": { + "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", + "description": "The IPv6 peering configuration." + }, + "expressRouteConnection": { + "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteConnectionId", + "description": "The ExpressRoute connection." + }, + "connections": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "description": "The list of circuit connections associated with Azure Private Peering for this circuit." + }, + "peeredConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + }, + "readOnly": true, + "description": "The list of peered circuit connections associated with Azure Private Peering for this circuit." + } + }, + "description": "Properties of the express route circuit peering." + }, + "ExpressRouteCircuitPeering": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitPeeringPropertiesFormat", + "description": "Properties of the express route circuit peering." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Peering in an ExpressRouteCircuit resource." + }, + "ExpressRouteCircuitPeeringListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "The peerings in an express route circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit." + }, + "ExpressRoutePeeringType": { + "type": "string", + "description": "The peering type.", + "enum": [ + "AzurePublicPeering", + "AzurePrivatePeering", + "MicrosoftPeering" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringType", + "modelAsString": true + } + }, + "ExpressRoutePeeringState": { + "type": "string", + "description": "The state of peering.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringState", + "modelAsString": true + } + }, + "ExpressRouteCircuitConnectionPropertiesFormat": { + "properties": { + "expressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection." + }, + "peerExpressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." + }, + "addressPrefix": { + "type": "string", + "description": "/29 IP address space to carve out Customer addresses for tunnels." + }, + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "circuitConnectionStatus": { + "$ref": "#/definitions/CircuitConnectionStatus", + "description": "Express Route Circuit connection state." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the circuit connection resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the express route circuit connection." + }, + "ExpressRouteCircuitConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitConnectionPropertiesFormat", + "description": "Properties of the express route circuit connection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource." + }, + "ExpressRouteCircuitConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "description": "The global reach connection associated with Private Peering in an ExpressRoute Circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit." + }, + "PeerExpressRouteCircuitConnectionPropertiesFormat": { + "properties": { + "expressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the circuit." + }, + "peerExpressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." + }, + "addressPrefix": { + "type": "string", + "description": "/29 IP address space to carve out Customer addresses for tunnels." + }, + "circuitConnectionStatus": { + "$ref": "#/definitions/CircuitConnectionStatus", + "description": "Express Route Circuit connection state." + }, + "connectionName": { + "type": "string", + "description": "The name of the express route circuit connection resource." + }, + "authResourceGuid": { + "type": "string", + "description": "The resource guid of the authorization used for the express route circuit connection." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the peer express route circuit connection resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the peer express route circuit connection." + }, + "PeerExpressRouteCircuitConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat", + "description": "Properties of the peer express route circuit connection." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource." + }, + "PeerExpressRouteCircuitConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + }, + "description": "The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit." + }, + "ExpressRouteCircuitSku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + }, + "tier": { + "type": "string", + "description": "The tier of the SKU.", + "enum": [ + "Standard", + "Premium", + "Basic", + "Local" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuTier", + "modelAsString": true + } + }, + "family": { + "type": "string", + "description": "The family of the SKU.", + "enum": [ + "UnlimitedData", + "MeteredData" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuFamily", + "modelAsString": true + } + } + }, + "description": "Contains SKU in an ExpressRouteCircuit." + }, + "ExpressRouteCircuitServiceProviderProperties": { + "properties": { + "serviceProviderName": { + "type": "string", + "description": "The serviceProviderName." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location." + }, + "bandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "The BandwidthInMbps." + } + }, + "description": "Contains ServiceProviderProperties in an ExpressRouteCircuit." + }, + "ExpressRouteCircuitPropertiesFormat": { + "properties": { + "allowClassicOperations": { + "type": "boolean", + "description": "Allow classic operations." + }, + "circuitProvisioningState": { + "type": "string", + "description": "The CircuitProvisioningState state of the resource." + }, + "serviceProviderProvisioningState": { + "$ref": "#/definitions/ServiceProviderProvisioningState", + "description": "The ServiceProviderProvisioningState state of the resource." + }, + "authorizations": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "The list of authorizations." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "The list of peerings." + }, + "serviceKey": { + "type": "string", + "description": "The ServiceKey." + }, + "serviceProviderNotes": { + "type": "string", + "description": "The ServiceProviderNotes." + }, + "serviceProviderProperties": { + "$ref": "#/definitions/ExpressRouteCircuitServiceProviderProperties", + "description": "The ServiceProviderProperties." + }, + "expressRoutePort": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource." + }, + "bandwidthInGbps": { + "type": "number", + "description": "The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource." + }, + "stag": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The identifier of the circuit traffic. Outer tag for QinQ encapsulation." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "globalReachEnabled": { + "type": "boolean", + "description": "Flag denoting Global reach status." + } + }, + "description": "Properties of ExpressRouteCircuit." + }, + "ExpressRouteCircuit": { + "properties": { + "sku": { + "$ref": "#/definitions/ExpressRouteCircuitSku", + "description": "The SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitPropertiesFormat", + "description": "Properties of the express route circuit." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteCircuit resource." + }, + "ExpressRouteCircuitArpTable": { + "properties": { + "age": { + "type": "integer", + "format": "int32", + "description": "Entry age in minutes." + }, + "interface": { + "type": "string", + "description": "Interface address." + }, + "ipAddress": { + "type": "string", + "description": "The IP address." + }, + "macAddress": { + "type": "string", + "description": "The MAC address." + } + }, + "description": "The ARP table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCircuitsArpTableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitArpTable" + }, + "description": "Gets list of the ARP table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListArpTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitRoutesTable": { + "properties": { + "network": { + "type": "string", + "description": "IP address of a network entity." + }, + "nextHop": { + "type": "string", + "description": "NextHop address." + }, + "locPrf": { + "type": "string", + "description": "Local preference value as set with the set local-preference route-map configuration command." + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "Route Weight." + }, + "path": { + "type": "string", + "description": "Autonomous system paths to the destination network." + } + }, + "description": "The routes table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCircuitsRoutesTableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTable" + }, + "description": "The list of routes table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListRoutesTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitRoutesTableSummary": { + "properties": { + "neighbor": { + "type": "string", + "description": "IP address of the neighbor." + }, + "v": { + "type": "integer", + "format": "int32", + "description": "BGP version number spoken to the neighbor." + }, + "as": { + "type": "integer", + "format": "int32", + "description": "Autonomous system number." + }, + "upDown": { + "type": "string", + "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." + }, + "statePfxRcd": { + "type": "string", + "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." + } + }, + "description": "The routes table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCircuitsRoutesTableSummaryListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTableSummary" + }, + "description": "A list of the routes table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListRoutesTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuit" + }, + "description": "A list of ExpressRouteCircuits in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteCircuit API service call." + }, + "ExpressRouteServiceProviderBandwidthsOffered": { + "properties": { + "offerName": { + "type": "string", + "description": "The OfferName." + }, + "valueInMbps": { + "type": "integer", + "format": "int32", + "description": "The ValueInMbps." + } + }, + "description": "Contains bandwidths offered in ExpressRouteServiceProvider resources." + }, + "ExpressRouteServiceProviderPropertiesFormat": { + "properties": { + "peeringLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Get a list of peering locations." + }, + "bandwidthsOffered": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProviderBandwidthsOffered" + }, + "description": "Gets bandwidths offered." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the resource." + } + }, + "description": "Properties of ExpressRouteServiceProvider." + }, + "ExpressRouteServiceProvider": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteServiceProviderPropertiesFormat", + "description": "Properties of the express route service provider." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "A ExpressRouteResourceProvider object." + }, + "ExpressRouteServiceProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProvider" + }, + "description": "A list of ExpressRouteResourceProvider resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListExpressRouteServiceProvider API service call." + }, + "CircuitConnectionStatus": { + "type": "string", + "readOnly": true, + "description": "Express Route Circuit connection state.", + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "x-ms-enum": { + "name": "CircuitConnectionStatus", + "modelAsString": true + } + }, + "ServiceProviderProvisioningState": { + "type": "string", + "description": "The ServiceProviderProvisioningState state of the resource.", + "enum": [ + "NotProvisioned", + "Provisioning", + "Provisioned", + "Deprovisioning" + ], + "x-ms-enum": { + "name": "ServiceProviderProvisioningState", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json new file mode 100644 index 000000000000..5daf12481862 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json @@ -0,0 +1,934 @@ +{ + "swagger": "2.0", + "info": { + "title": "ExpressRouteCrossConnection REST APIs", + "description": "The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer's ExpressRoute circuit.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": { + "get": { + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_List", + "description": "Retrieves all the ExpressRouteCrossConnections in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionListResult" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionList": { + "$ref": "./examples/ExpressRouteCrossConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections": { + "get": { + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_ListByResourceGroup", + "description": "Retrieves all the ExpressRouteCrossConnections in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionListResult" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionListByResourceGroup": { + "$ref": "./examples/ExpressRouteCrossConnectionListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": { + "get": { + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_Get", + "description": "Gets details about the specified ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group (peering location of the circuit)." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit)." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnection": { + "$ref": "./examples/ExpressRouteCrossConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_CreateOrUpdate", + "description": "Update the specified ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + }, + "description": "Parameters supplied to the update express route crossConnection operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + } + }, + "x-ms-examples": { + "UpdateExpressRouteCrossConnection": { + "$ref": "./examples/ExpressRouteCrossConnectionUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "ExpressRouteCrossConnections" + ], + "operationId": "ExpressRouteCrossConnections_UpdateTags", + "description": "Updates an express route cross connection tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cross connection." + }, + { + "name": "crossConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update express route cross connection tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + } + }, + "x-ms-examples": { + "UpdateExpressRouteCrossConnectionTags": { + "$ref": "./examples/ExpressRouteCrossConnectionUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings": { + "get": { + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "operationId": "ExpressRouteCrossConnectionPeerings_List", + "description": "Gets all peerings in a specified ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringList" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionBgpPeeringList": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": { + "delete": { + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "operationId": "ExpressRouteCrossConnectionPeerings_Delete", + "description": "Deletes the specified peering from the ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "DeleteExpressRouteCrossConnectionBgpPeering": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "operationId": "ExpressRouteCrossConnectionPeerings_Get", + "description": "Gets the specified peering for the ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionBgpPeering": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "operationId": "ExpressRouteCrossConnectionPeerings_CreateOrUpdate", + "description": "Creates or updates a peering in the specified ExpressRouteCrossConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "peeringParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + }, + "description": "Parameters supplied to the create or update ExpressRouteCrossConnection peering operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionBgpPeeringCreate": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCrossConnectionArpTable" + ], + "operationId": "ExpressRouteCrossConnections_ListArpTable", + "description": "Gets the currently advertised ARP table associated with the express route cross connection in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource.", + "schema": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitsArpTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsArpTable": { + "$ref": "./examples/ExpressRouteCrossConnectionsArpTable.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCrossConnectionRouteTableSummary" + ], + "operationId": "ExpressRouteCrossConnections_ListRoutesTableSummary", + "description": "Gets the route table summary associated with the express route cross connection in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsRouteTableSummary": { + "$ref": "./examples/ExpressRouteCrossConnectionsRouteTableSummary.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCrossConnectionRouteTable" + ], + "operationId": "ExpressRouteCrossConnections_ListRoutesTable", + "description": "Gets the currently advertised routes table associated with the express route cross connection in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "crossConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteCrossConnection." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource.", + "schema": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitsRoutesTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsRouteTable": { + "$ref": "./examples/ExpressRouteCrossConnectionsRouteTable.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "ExpressRouteCrossConnectionRoutesTableSummary": { + "properties": { + "neighbor": { + "type": "string", + "description": "IP address of Neighbor router." + }, + "asn": { + "type": "integer", + "format": "int32", + "description": "Autonomous system number." + }, + "upDown": { + "type": "string", + "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." + }, + "stateOrPrefixesReceived": { + "type": "string", + "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." + } + }, + "description": "The routes table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCrossConnectionsRoutesTableSummaryListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionRoutesTableSummary" + }, + "description": "A list of the routes table." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListRoutesTable associated with the Express Route Cross Connections." + }, + "ExpressRouteCircuitReference": { + "properties": { + "id": { + "type": "string", + "description": "Corresponding Express Route Circuit Id." + } + }, + "description": "Reference to an express route circuit." + }, + "ExpressRouteCrossConnectionProperties": { + "properties": { + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the secondary port." + }, + "sTag": { + "readOnly": true, + "type": "integer", + "description": "The identifier of the circuit traffic." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the ExpressRoute circuit." + }, + "bandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "The circuit bandwidth In Mbps." + }, + "expressRouteCircuit": { + "$ref": "#/definitions/ExpressRouteCircuitReference", + "description": "The ExpressRouteCircuit." + }, + "serviceProviderProvisioningState": { + "$ref": "./expressRouteCircuit.json#/definitions/ServiceProviderProvisioningState", + "description": "The provisioning state of the circuit in the connectivity provider system." + }, + "serviceProviderNotes": { + "type": "string", + "description": "Additional read only notes set by the connectivity provider." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + }, + "description": "The list of peerings." + } + }, + "description": "Properties of ExpressRouteCrossConnection." + }, + "ExpressRouteCrossConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCrossConnectionProperties", + "description": "Properties of the express route cross connection." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteCrossConnection resource." + }, + "ExpressRouteCrossConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + }, + "description": "A list of ExpressRouteCrossConnection resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteCrossConnection API service call." + }, + "ExpressRouteCrossConnectionPeeringProperties": { + "properties": { + "peeringType": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRoutePeeringType", + "description": "The peering type." + }, + "state": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRoutePeeringState", + "description": "The peering state." + }, + "azureASN": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The Azure ASN." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "minimum": 1, + "maximum": 4294967295, + "description": "The peer ASN." + }, + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The secondary port." + }, + "sharedKey": { + "type": "string", + "description": "The shared key." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "The VLAN ID." + }, + "microsoftPeeringConfig": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "lastModifiedBy": { + "type": "string", + "description": "Gets whether the provider or the customer last modified the peering." + }, + "ipv6PeeringConfig": { + "$ref": "./expressRouteCircuit.json#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", + "description": "The IPv6 peering configuration." + } + }, + "description": "Properties of express route cross connection peering." + }, + "ExpressRouteCrossConnectionPeering": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringProperties", + "description": "Properties of the express route cross connection peering." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Peering in an ExpressRoute Cross Connection resource." + }, + "ExpressRouteCrossConnectionPeeringList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + }, + "description": "The peerings in an express route cross connection." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteGateway.json new file mode 100644 index 000000000000..d4c1285b9856 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteGateway.json @@ -0,0 +1,640 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListBySubscription", + "x-ms-examples": { + "ExpressRouteGatewayListBySubscription": { + "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" + } + }, + "description": "Lists ExpressRoute gateways under a given subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "x-ms-examples": { + "ExpressRouteGatewayListByResourceGroup": { + "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" + } + }, + "description": "Lists ExpressRoute gateways in a given resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { + "put": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteGatewayCreate": { + "$ref": "./examples/ExpressRouteGatewayCreate.json" + } + }, + "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "putExpressRouteGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "Parameters required in an ExpressRoute gateway PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Get", + "x-ms-examples": { + "ExpressRouteGatewayGet": { + "$ref": "./examples/ExpressRouteGatewayGet.json" + } + }, + "description": "Fetches the details of a ExpressRoute gateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateways_Delete", + "x-ms-examples": { + "ExpressRouteGatewayDelete": { + "$ref": "./examples/ExpressRouteGatewayDelete.json" + } + }, + "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { + "put": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteConnectionCreate": { + "$ref": "./examples/ExpressRouteConnectionCreate.json" + } + }, + "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "name": "putExpressRouteConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + }, + "description": "Parameters required in an ExpressRouteConnection PUT operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Get", + "x-ms-examples": { + "ExpressRouteConnectionGet": { + "$ref": "./examples/ExpressRouteConnectionGet.json" + } + }, + "description": "Gets the specified ExpressRouteConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_Delete", + "x-ms-examples": { + "ExpressRouteConnectionDelete": { + "$ref": "./examples/ExpressRouteConnectionDelete.json" + } + }, + "description": "Deletes a connection to a ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted, and the operation will continue asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { + "get": { + "tags": [ + "ExpressRouteConnections" + ], + "operationId": "ExpressRouteConnections_List", + "x-ms-examples": { + "ExpressRouteConnectionList": { + "$ref": "./examples/ExpressRouteConnectionList.json" + } + }, + "description": "Lists ExpressRouteConnections.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnectionList" + } + } + } + } + } + }, + "definitions": { + "VirtualHubId": { + "properties": { + "id": { + "type": "string", + "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + } + }, + "description": "Virtual Hub identifier." + }, + "ExpressRouteCircuitPeeringId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the ExpressRoute circuit peering." + } + }, + "description": "ExpressRoute circuit peering identifier." + }, + "ExpressRouteConnectionId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The ID of the ExpressRouteConnection." + } + }, + "description": "The ID of the ExpressRouteConnection." + }, + "ExpressRouteGatewayProperties": { + "required": [ + "virtualHub" + ], + "properties": { + "autoScaleConfiguration": { + "properties": { + "bounds": { + "properties": { + "min": { + "type": "integer", + "description": "Minimum number of scale units deployed for ExpressRoute gateway." + }, + "max": { + "type": "integer", + "description": "Maximum number of scale units deployed for ExpressRoute gateway." + } + }, + "description": "Minimum and maximum number of scale units to deploy." + } + }, + "description": "Configuration for auto scaling." + }, + "expressRouteConnections": { + "type": "array", + "readOnly": true, + "description": "List of ExpressRoute connections to the ExpressRoute gateway.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + }, + "virtualHub": { + "$ref": "#/definitions/VirtualHubId", + "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." + } + }, + "description": "ExpressRoute gateway resource properties." + }, + "ExpressRouteGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteGatewayProperties", + "description": "Properties of the express route gateway." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRoute gateway resource." + }, + "ExpressRouteGatewayList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "List of ExpressRoute gateways." + } + }, + "description": "List of ExpressRoute gateways." + }, + "ExpressRouteConnectionProperties": { + "required": [ + "expressRouteCircuitPeering" + ], + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + }, + "expressRouteCircuitPeering": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringId", + "description": "The ExpressRoute circuit peering." + }, + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish the connection." + }, + "routingWeight": { + "type": "integer", + "description": "The routing weight associated to the connection." + } + }, + "description": "Properties of the ExpressRouteConnection subresource." + }, + "ExpressRouteConnection": { + "required": [ + "name" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteConnectionProperties", + "description": "Properties of the express route connection." + }, + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ExpressRouteConnection resource." + }, + "ExpressRouteConnectionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + }, + "description": "The list of ExpressRoute connections." + } + }, + "description": "ExpressRouteConnection list." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRoutePort.json new file mode 100644 index 000000000000..1c71fe14d654 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRoutePort.json @@ -0,0 +1,775 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_List", + "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRoutePortsLocationList": { + "$ref": "./examples/ExpressRoutePortsLocationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { + "get": { + "tags": [ + "ExpressRoutePortsLocations" + ], + "operationId": "ExpressRoutePortsLocations_Get", + "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortsLocationGet": { + "$ref": "./examples/ExpressRoutePortsLocationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { + "delete": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Delete", + "description": "Deletes the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ExpressRoutePortDelete": { + "$ref": "./examples/ExpressRoutePortDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_Get", + "description": "Retrieves the requested ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of ExpressRoutePort." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortGet": { + "$ref": "./examples/ExpressRoutePortGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "description": "Creates or updates the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + }, + "description": "Parameters supplied to the create ExpressRoutePort operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ExpressRoutePortCreate": { + "$ref": "./examples/ExpressRoutePortCreate.json" + }, + "ExpressRoutePortUpdateLink": { + "$ref": "./examples/ExpressRoutePortUpdateLink.json" + } + } + }, + "patch": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_UpdateTags", + "description": "Update ExpressRoutePort tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update ExpressRoutePort resource tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ExpressRoutePortUpdateTags": { + "$ref": "./examples/ExpressRoutePortUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "description": "List all the ExpressRoutePort resources in the specified resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRoutePortListByResourceGroup": { + "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "tags": [ + "ExpressRoutePorts" + ], + "operationId": "ExpressRoutePorts_List", + "description": "List all the ExpressRoutePort resources in the specified subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRoutePortList": { + "$ref": "./examples/ExpressRoutePortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_Get", + "description": "Retrieves the specified ExpressRouteLink resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + }, + { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteLink resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the requested ExpressRouteLink resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteLink" + } + } + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { + "get": { + "tags": [ + "ExpressRouteLinks" + ], + "operationId": "ExpressRouteLinks_List", + "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRoutePortName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoutePort resource." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteLinkListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkList.json" + } + } + } + } + }, + "definitions": { + "ExpressRoutePortsLocationBandwidths": { + "title": "ExpressRoutePorts Location Bandwidths", + "description": "Real-time inventory of available ExpressRoute port bandwidths.", + "properties": { + "offerName": { + "type": "string", + "readOnly": true, + "description": "Bandwidth descriptive name." + }, + "valueInGbps": { + "type": "integer", + "readOnly": true, + "description": "Bandwidth value in Gbps." + } + } + }, + "ExpressRoutePortsLocationPropertiesFormat": { + "title": "ExpressRoutePorts Location Properties", + "description": "Properties specific to ExpressRoutePorts peering location resources.", + "properties": { + "address": { + "type": "string", + "readOnly": true, + "description": "Address of peering location." + }, + "contact": { + "type": "string", + "readOnly": true, + "description": "Contact details of peering locations." + }, + "availableBandwidths": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" + }, + "description": "The inventory of available ExpressRoutePort bandwidths." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePortLocation resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRoutePortsLocation": { + "title": "ExpressRoutePorts Peering Location", + "description": "Definition of the ExpressRoutePorts peering location resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", + "description": "ExpressRoutePort peering location properties." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortsLocationListResult": { + "title": "ExpressRoutePorts Location List Result", + "description": "Response for ListExpressRoutePortsLocations API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + }, + "description": "The list of all ExpressRoutePort peering locations." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRouteLinkPropertiesFormat": { + "title": "ExpressRouteLink Resource Properties", + "description": "Properties specific to ExpressRouteLink resources.", + "properties": { + "routerName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router associated with physical port." + }, + "interfaceName": { + "readOnly": true, + "type": "string", + "description": "Name of Azure router interface." + }, + "patchPanelId": { + "readOnly": true, + "type": "string", + "description": "Mapping between physical port to patch panel port." + }, + "rackId": { + "readOnly": true, + "type": "string", + "description": "Mapping of physical patch panel to rack." + }, + "connectorType": { + "readOnly": true, + "type": "string", + "description": "Physical fiber port type.", + "enum": [ + "LC", + "SC" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkConnectorType", + "modelAsString": true + } + }, + "adminState": { + "type": "string", + "description": "Administrative state of the physical port.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkAdminState", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRouteLink": { + "title": "ExpressRouteLink", + "description": "ExpressRouteLink child resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", + "description": "ExpressRouteLink properties." + }, + "name": { + "type": "string", + "description": "Name of child port resource that is unique among child port resources of the parent." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ] + }, + "ExpressRouteLinkListResult": { + "title": "ExpressRouteLink List Result", + "description": "Response for ListExpressRouteLinks API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + }, + "description": "The list of ExpressRouteLink sub-resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "ExpressRoutePortPropertiesFormat": { + "title": "ExpressRoutePort Properties", + "description": "Properties specific to ExpressRoutePort resources.", + "properties": { + "peeringLocation": { + "type": "string", + "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." + }, + "bandwidthInGbps": { + "type": "integer", + "description": "Bandwidth of procured ports in Gbps." + }, + "provisionedBandwidthInGbps": { + "readOnly": true, + "type": "number", + "description": "Aggregate Gbps of associated circuit bandwidths." + }, + "mtu": { + "readOnly": true, + "type": "string", + "description": "Maximum transmission unit of the physical port pair(s)." + }, + "encapsulation": { + "type": "string", + "description": "Encapsulation method on physical ports.", + "enum": [ + "Dot1Q", + "QinQ" + ], + "x-ms-enum": { + "name": "ExpressRoutePortsEncapsulation", + "modelAsString": true + } + }, + "etherType": { + "readOnly": true, + "type": "string", + "description": "Ether type of the physical port." + }, + "allocationDate": { + "readOnly": true, + "type": "string", + "description": "Date of the physical port allocation to be used in Letter of Authorization." + }, + "links": { + "title": "ExpressRouteLink Sub-Resources", + "description": "The set of physical links of the ExpressRoutePort resource.", + "readOnly": false, + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "circuits": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the ExpressRoutePort resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the ExpressRoutePort resource." + } + } + }, + "ExpressRoutePort": { + "title": "ExpressRoute Port", + "description": "ExpressRoutePort resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", + "description": "ExpressRoutePort properties." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "ExpressRoutePortListResult": { + "title": "ExpressRoute Port List Result", + "description": "Response for ListExpressRoutePorts API service call.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRoutePort" + }, + "description": "A list of ExpressRoutePort resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json new file mode 100644 index 000000000000..68a7a0415d7c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json @@ -0,0 +1,1916 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": { + "delete": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_Delete", + "description": "Deletes the specified load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete load balancer": { + "$ref": "./examples/LoadBalancerDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_Get", + "description": "Gets the specified load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting LoadBalancer resource.", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + } + }, + "x-ms-examples": { + "Get load balancer": { + "$ref": "./examples/LoadBalancerGet.json" + } + } + }, + "put": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_CreateOrUpdate", + "description": "Creates or updates a load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LoadBalancer" + }, + "description": "Parameters supplied to the create or update load balancer operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting LoadBalancer resource.", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting LoadBalancer resource.", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + } + }, + "x-ms-examples": { + "Create load balancer": { + "$ref": "./examples/LoadBalancerCreate.json" + }, + "Create load balancer with Standard SKU": { + "$ref": "./examples/LoadBalancerCreateStandardSku.json" + }, + "Create load balancer with Frontend IP in Zone 1": { + "$ref": "./examples/LoadBalancerCreateWithZones.json" + }, + "Create load balancer with inbound nat pool": { + "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" + }, + "Create load balancer with outbound rules": { + "$ref": "./examples/LoadBalancerCreateWithOutboundRules.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_UpdateTags", + "description": "Updates a load balancer tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update load balancer tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting LoadBalancer resource.", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + } + }, + "x-ms-examples": { + "Update load balancer tags": { + "$ref": "./examples/LoadBalancerUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_ListAll", + "description": "Gets all the load balancers in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + } + }, + "x-ms-examples": { + "List all load balancers": { + "$ref": "./examples/LoadBalancerListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_List", + "description": "Gets all the load balancers in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + } + }, + "x-ms-examples": { + "List load balancers in resource group": { + "$ref": "./examples/LoadBalancerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerBackendAddressPools_List", + "description": "Gets all the load balancer backed address pools.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolListResult" + } + } + }, + "x-ms-examples": { + "LoadBalancerBackendAddressPoolList": { + "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerBackendAddressPools_Get", + "description": "Gets load balancer backend address pool.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "backendAddressPoolName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the backend address pool." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns LoadBalancer BackendAddressPool resource.", + "schema": { + "$ref": "#/definitions/BackendAddressPool" + } + } + }, + "x-ms-examples": { + "LoadBalancerBackendAddressPoolGet": { + "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerFrontendIPConfigurations_List", + "description": "Gets all the load balancer frontend IP configurations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationListResult" + } + } + }, + "x-ms-examples": { + "LoadBalancerFrontendIPConfigurationList": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerFrontendIPConfigurations_Get", + "description": "Gets load balancer frontend IP configuration.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "frontendIPConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the frontend IP configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource.", + "schema": { + "$ref": "#/definitions/FrontendIPConfiguration" + } + } + }, + "x-ms-examples": { + "LoadBalancerFrontendIPConfigurationGet": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "InboundNatRules_List", + "description": "Gets all the inbound nat rules in a load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer InboundNatRule resources.", + "schema": { + "$ref": "#/definitions/InboundNatRuleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "InboundNatRuleList": { + "$ref": "./examples/InboundNatRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": { + "delete": { + "tags": [ + "LoadBalancers" + ], + "operationId": "InboundNatRules_Delete", + "description": "Deletes the specified load balancer inbound nat rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "inboundNatRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the inbound nat rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "InboundNatRuleDelete": { + "$ref": "./examples/InboundNatRuleDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "InboundNatRules_Get", + "description": "Gets the specified load balancer inbound nat rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "inboundNatRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the inbound nat rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting InboundNatRule resource.", + "schema": { + "$ref": "#/definitions/InboundNatRule" + } + } + }, + "x-ms-examples": { + "InboundNatRuleGet": { + "$ref": "./examples/InboundNatRuleGet.json" + } + } + }, + "put": { + "tags": [ + "LoadBalancers" + ], + "operationId": "InboundNatRules_CreateOrUpdate", + "description": "Creates or updates a load balancer inbound nat rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "inboundNatRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the inbound nat rule." + }, + { + "name": "inboundNatRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InboundNatRule" + }, + "description": "Parameters supplied to the create or update inbound nat rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting InboundNatRule resource.", + "schema": { + "$ref": "#/definitions/InboundNatRule" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting InboundNatRule resource.", + "schema": { + "$ref": "#/definitions/InboundNatRule" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "InboundNatRuleCreate": { + "$ref": "./examples/InboundNatRuleCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerLoadBalancingRules_List", + "description": "Gets all the load balancing rules in a load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerLoadBalancingRuleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "LoadBalancerLoadBalancingRuleList": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerLoadBalancingRules_Get", + "description": "Gets the specified load balancer load balancing rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "loadBalancingRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancing rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting LoadBalancingRule resource.", + "schema": { + "$ref": "#/definitions/LoadBalancingRule" + } + } + }, + "x-ms-examples": { + "LoadBalancerLoadBalancingRuleGet": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerOutboundRules_List", + "description": "Gets all the outbound rules in a load balancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer OutboundRule resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerOutboundRuleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "LoadBalancerOutboundRuleList": { + "$ref": "./examples/LoadBalancerOutboundRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerOutboundRules_Get", + "description": "Gets the specified load balancer outbound rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "outboundRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the outbound rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting OutboundRule resource.", + "schema": { + "$ref": "#/definitions/OutboundRule" + } + } + }, + "x-ms-examples": { + "LoadBalancerOutboundRuleGet": { + "$ref": "./examples/LoadBalancerOutboundRuleGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerNetworkInterfaces_List", + "description": "Gets associated load balancer network interfaces.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface resources.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-examples": { + "LoadBalancerNetworkInterfaceListVmss": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" + }, + "LoadBalancerNetworkInterfaceListSimple": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerProbes_List", + "description": "Gets all the load balancer probes.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LoadBalancer Probe resources.", + "schema": { + "$ref": "#/definitions/LoadBalancerProbeListResult" + } + } + }, + "x-ms-examples": { + "LoadBalancerProbeList": { + "$ref": "./examples/LoadBalancerProbeList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancerProbes_Get", + "description": "Gets load balancer probe.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the load balancer." + }, + { + "name": "probeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the probe." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns LoadBalancer Probe resource.", + "schema": { + "$ref": "#/definitions/Probe" + } + } + }, + "x-ms-examples": { + "LoadBalancerProbeGet": { + "$ref": "./examples/LoadBalancerProbeGet.json" + } + } + } + } + }, + "definitions": { + "LoadBalancerSku": { + "properties": { + "name": { + "type": "string", + "description": "Name of a load balancer SKU.", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "LoadBalancerSkuName", + "modelAsString": true + } + } + }, + "description": "SKU of a load balancer." + }, + "FrontendIPConfigurationPropertiesFormat": { + "properties": { + "inboundNatRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Read only. Inbound rules URIs that use this frontend IP." + }, + "inboundNatPools": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Read only. Inbound pools URIs that use this frontend IP." + }, + "outboundRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Read only. Outbound rules URIs that use this frontend IP." + }, + "loadBalancingRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Gets load balancing rules URIs that use this frontend IP." + }, + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The Private IP allocation method." + }, + "privateIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "It represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress", + "description": "The reference of the Public IP resource." + }, + "publicIPPrefix": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the Public IP Prefix resource." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Frontend IP Configuration of the load balancer." + }, + "FrontendIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/FrontendIPConfigurationPropertiesFormat", + "description": "Properties of the load balancer probe." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Frontend IP address of the load balancer." + }, + "BackendAddressPoolPropertiesFormat": { + "properties": { + "backendIPConfigurations": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration" + }, + "description": "Gets collection of references to IP addresses defined in network interfaces." + }, + "loadBalancingRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Gets load balancing rules that use this backend address pool." + }, + "outboundRule": { + "readOnly": true, + "$ref": "./network.json#/definitions/SubResource", + "description": "Gets outbound rules that use this backend address pool." + }, + "outboundRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "Gets outbound rules that use this backend address pool." + }, + "provisioningState": { + "type": "string", + "description": "Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the backend address pool." + }, + "BackendAddressPool": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BackendAddressPoolPropertiesFormat", + "description": "Properties of load balancer backend address pool." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Pool of backend IP addresses." + }, + "LoadBalancingRulePropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "A reference to frontend IP addresses." + }, + "backendAddressPool": { + "$ref": "./network.json#/definitions/SubResource", + "description": "A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs." + }, + "probe": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the load balancer probe used by the load balancing rule." + }, + "protocol": { + "$ref": "#/definitions/TransportProtocol", + "description": "The reference to the transport protocol used by the load balancing rule." + }, + "loadDistribution": { + "type": "string", + "description": "The load distribution policy for this rule.", + "enum": [ + "Default", + "SourceIP", + "SourceIPProtocol" + ], + "x-ms-enum": { + "name": "LoadDistribution", + "modelAsString": true + } + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables \"Any Port\"." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables \"Any Port\"." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "disableOutboundSnat": { + "type": "boolean", + "description": "Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "protocol", + "frontendPort" + ], + "description": "Properties of the load balancer." + }, + "LoadBalancingRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LoadBalancingRulePropertiesFormat", + "description": "Properties of load balancer load balancing rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "A load balancing rule for a load balancer." + }, + "ProbePropertiesFormat": { + "properties": { + "loadBalancingRules": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "The load balancer rules that use this probe." + }, + "protocol": { + "type": "string", + "description": "The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.", + "enum": [ + "Http", + "Tcp", + "Https" + ], + "x-ms-enum": { + "name": "ProbeProtocol", + "modelAsString": true + } + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port for communicating the probe. Possible values range from 1 to 65535, inclusive." + }, + "intervalInSeconds": { + "type": "integer", + "format": "int32", + "description": "The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5." + }, + "numberOfProbes": { + "type": "integer", + "format": "int32", + "description": "The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure." + }, + "requestPath": { + "type": "string", + "description": "The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "protocol", + "port" + ], + "description": "Load balancer probe resource." + }, + "Probe": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProbePropertiesFormat", + "description": "Properties of load balancer probe." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "A load balancer probe." + }, + "InboundNatRulePropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "A reference to frontend IP addresses." + }, + "backendIPConfiguration": { + "readOnly": true, + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration", + "description": "A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP." + }, + "protocol": { + "$ref": "#/definitions/TransportProtocol", + "description": "The reference to the transport protocol used by the load balancing rule." + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for the internal endpoint. Acceptable values range from 1 to 65535." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the inbound NAT rule." + }, + "InboundNatRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/InboundNatRulePropertiesFormat", + "description": "Properties of load balancer inbound nat rule." + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Inbound NAT rule of the load balancer." + }, + "InboundNatPoolPropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "A reference to frontend IP addresses." + }, + "protocol": { + "$ref": "#/definitions/TransportProtocol", + "description": "The reference to the transport protocol used by the inbound NAT pool." + }, + "frontendPortRangeStart": { + "type": "integer", + "format": "int32", + "description": "The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534." + }, + "frontendPortRangeEnd": { + "type": "integer", + "format": "int32", + "description": "The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "protocol", + "frontendPortRangeStart", + "frontendPortRangeEnd", + "backendPort" + ], + "description": "Properties of Inbound NAT pool." + }, + "InboundNatPool": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/InboundNatPoolPropertiesFormat", + "description": "Properties of load balancer inbound nat pool." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Inbound NAT pool of the load balancer." + }, + "OutboundRulePropertiesFormat": { + "properties": { + "allocatedOutboundPorts": { + "type": "integer", + "format": "int32", + "description": "The number of outbound ports to be used for NAT." + }, + "frontendIPConfigurations": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "The Frontend IP addresses of the load balancer." + }, + "backendAddressPool": { + "$ref": "./network.json#/definitions/SubResource", + "description": "A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "protocol": { + "type": "string", + "description": "The protocol for the outbound rule in load balancer.", + "enum": [ + "Tcp", + "Udp", + "All" + ], + "x-ms-enum": { + "name": "LoadBalancerOutboundRuleProtocol", + "modelAsString": true + } + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "description": "The timeout for the TCP idle connection." + } + }, + "required": [ + "backendAddressPool", + "frontendIPConfigurations", + "protocol" + ], + "description": "Outbound rule of the load balancer." + }, + "OutboundRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OutboundRulePropertiesFormat", + "description": "Properties of load balancer outbound rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Outbound rule of the load balancer." + }, + "LoadBalancerPropertiesFormat": { + "properties": { + "frontendIPConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/FrontendIPConfiguration" + }, + "description": "Object representing the frontend IPs to be used for the load balancer." + }, + "backendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/BackendAddressPool" + }, + "description": "Collection of backend address pools used by a load balancer." + }, + "loadBalancingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + }, + "description": "Object collection representing the load balancing rules Gets the provisioning." + }, + "probes": { + "type": "array", + "items": { + "$ref": "#/definitions/Probe" + }, + "description": "Collection of probe objects used in the load balancer." + }, + "inboundNatRules": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundNatRule" + }, + "description": "Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules." + }, + "inboundNatPools": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundNatPool" + }, + "description": "Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules." + }, + "outboundRules": { + "type": "array", + "items": { + "$ref": "#/definitions/OutboundRule" + }, + "description": "The outbound rules." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the load balancer resource." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the load balancer." + }, + "LoadBalancer": { + "properties": { + "sku": { + "$ref": "#/definitions/LoadBalancerSku", + "description": "The load balancer SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LoadBalancerPropertiesFormat", + "description": "Properties of load balancer." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "LoadBalancer resource." + }, + "LoadBalancerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancer" + }, + "description": "A list of load balancers in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListLoadBalancers API service call." + }, + "InboundNatRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundNatRule" + }, + "description": "A list of inbound nat rules in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListInboundNatRule API service call." + }, + "LoadBalancerBackendAddressPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BackendAddressPool" + }, + "description": "A list of backend address pools in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListBackendAddressPool API service call." + }, + "LoadBalancerFrontendIPConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FrontendIPConfiguration" + }, + "description": "A list of frontend IP configurations in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListFrontendIPConfiguration API service call." + }, + "LoadBalancerLoadBalancingRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + }, + "description": "A list of load balancing rules in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListLoadBalancingRule API service call." + }, + "LoadBalancerOutboundRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OutboundRule" + }, + "description": "A list of outbound rules in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListOutboundRule API service call." + }, + "LoadBalancerProbeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Probe" + }, + "description": "A list of probes in a load balancer." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListProbe API service call." + }, + "TransportProtocol": { + "type": "string", + "description": "The transport protocol for the endpoint.", + "enum": [ + "Udp", + "Tcp", + "All" + ], + "x-ms-enum": { + "name": "TransportProtocol", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/natGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/natGateway.json new file mode 100644 index 000000000000..d7054afffb72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/natGateway.json @@ -0,0 +1,433 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": { + "delete": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_Delete", + "description": "Deletes the specified nat gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "natGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the nat gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete nat gateway": { + "$ref": "./examples/NatGatewayDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_Get", + "description": "Gets the specified nat gateway in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "natGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the nat gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NatGateway resource.", + "schema": { + "$ref": "#/definitions/NatGateway" + } + } + }, + "x-ms-examples": { + "Get nat gateway": { + "$ref": "./examples/NatGatewayGet.json" + } + } + }, + "put": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_CreateOrUpdate", + "description": "Creates or updates a nat gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "natGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the nat gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NatGateway" + }, + "description": "Parameters supplied to the create or update nat gateway operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting NatGateway resource.", + "schema": { + "$ref": "#/definitions/NatGateway" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting NatGateway resource.", + "schema": { + "$ref": "#/definitions/NatGateway" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/NatGateway" + } + } + }, + "x-ms-examples": { + "Create nat gateway": { + "$ref": "./examples/NatGatewayCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_UpdateTags", + "description": "Updates nat gateway tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "natGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the nat gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update nat gateway tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting NatGateway resource.", + "schema": { + "$ref": "#/definitions/NatGateway" + } + } + }, + "x-ms-examples": { + "Update nat gateway tags": { + "$ref": "./examples/NatGatewayUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": { + "get": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_ListAll", + "description": "Gets all the Nat Gateways in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NatGateway resources.", + "schema": { + "$ref": "#/definitions/NatGatewayListResult" + } + } + }, + "x-ms-examples": { + "List all nat gateways": { + "$ref": "./examples/NatGatewayListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways": { + "get": { + "tags": [ + "NatGateways" + ], + "operationId": "NatGateways_List", + "description": "Gets all nat gateways in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NatGateway resources.", + "schema": { + "$ref": "#/definitions/NatGatewayListResult" + } + } + }, + "x-ms-examples": { + "List nat gateways in resource group": { + "$ref": "./examples/NatGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "NatGatewaySku": { + "properties": { + "name": { + "type": "string", + "description": "Name of Nat Gateway SKU.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "NatGatewaySkuName", + "modelAsString": true + } + } + }, + "description": "SKU of nat gateway." + }, + "NatGatewayPropertiesFormat": { + "properties": { + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the nat gateway." + }, + "publicIpAddresses": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "An array of public ip addresses associated with the nat gateway resource." + }, + "publicIpPrefixes": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "An array of public ip prefixes associated with the nat gateway resource." + }, + "subnets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "An array of references to the subnets using this nat gateway resource." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the nat gateway resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the NatGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Nat Gateway properties." + }, + "NatGateway": { + "properties": { + "sku": { + "$ref": "#/definitions/NatGatewaySku", + "description": "The nat gateway SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NatGatewayPropertiesFormat", + "description": "Nat Gateway properties." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the zone in which Nat Gateway should be deployed." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Nat Gateway resource." + }, + "NatGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NatGateway" + }, + "description": "A list of Nat Gateways that exists in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListNatGateways API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/network.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/network.json new file mode 100644 index 000000000000..320c22b7796f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/network.json @@ -0,0 +1,300 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "ErrorDetails": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "description": "Common error details representation." + }, + "Error": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + }, + "description": "Error details." + }, + "innerError": { + "type": "string", + "description": "Inner error message." + } + }, + "description": "Common error representation." + }, + "AzureAsyncOperationResult": { + "properties": { + "status": { + "type": "string", + "description": "Status of the Azure async operation.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "NetworkOperationStatus", + "modelAsString": true + } + }, + "error": { + "$ref": "#/definitions/Error", + "description": "Details of the error occurred during specified asynchronous operation." + } + }, + "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure." + }, + "Resource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Common resource representation.", + "x-ms-azure-resource": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "ManagedServiceIdentity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "type": { + "type": "string", + "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "Access": { + "type": "string", + "description": "Access to be allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Access", + "modelAsString": true + } + }, + "AuthenticationMethod": { + "type": "string", + "description": "VPN client authentication method.", + "enum": [ + "EAPTLS", + "EAPMSCHAPv2" + ], + "x-ms-enum": { + "name": "AuthenticationMethod", + "modelAsString": true + } + }, + "IPAllocationMethod": { + "type": "string", + "description": "IP address allocation method.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "IPAllocationMethod", + "modelAsString": true + } + }, + "IPVersion": { + "type": "string", + "description": "IP address version.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + }, + "ApiVersionVmssParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "2017-03-30" + ], + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + }, + "description": "Client API version." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkInterface.json new file mode 100644 index 000000000000..01c41f11747e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkInterface.json @@ -0,0 +1,1391 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": { + "delete": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Delete", + "description": "Deletes the specified network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete network interface": { + "$ref": "./examples/NetworkInterfaceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Get", + "description": "Gets information about the specified network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkInterface resource.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "x-ms-examples": { + "Get network interface": { + "$ref": "./examples/NetworkInterfaceGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_CreateOrUpdate", + "description": "Creates or updates a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "Parameters supplied to the create or update network interface operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting NetworkInterface resource.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting NetworkInterface resource.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "x-ms-examples": { + "Create network interface": { + "$ref": "./examples/NetworkInterfaceCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_UpdateTags", + "description": "Updates a network interface tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network interface tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting NetworkInterface resource.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "x-ms-examples": { + "Update network interface tags": { + "$ref": "./examples/NetworkInterfaceUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListAll", + "description": "Gets all network interfaces in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface resources.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-examples": { + "List all network interfaces": { + "$ref": "./examples/NetworkInterfaceListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_List", + "description": "Gets all network interfaces in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface resources.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-examples": { + "List network interfaces in resource group": { + "$ref": "./examples/NetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": { + "post": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_GetEffectiveRouteTable", + "description": "Gets all route tables applied to a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of EffectRoute resources.", + "schema": { + "$ref": "#/definitions/EffectiveRouteListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "Show network interface effective route tables": { + "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": { + "post": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListEffectiveNetworkSecurityGroups", + "description": "Gets all network security groups applied to a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.", + "schema": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroupListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "List network interface effective network security groups": { + "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaceIPConfigurations_List", + "description": "Get all ip configurations in a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface IPConfiguration resources.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceIPConfigurationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkInterfaceIPConfigurationList": { + "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaceIPConfigurations_Get", + "description": "Gets the specified network interface ip configuration.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "ipConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ip configuration name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceIPConfiguration" + } + } + }, + "x-ms-examples": { + "NetworkInterfaceIPConfigurationGet": { + "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaceLoadBalancers_List", + "description": "List all load balancers in a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface LoadBalancer resources.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceLoadBalancerListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkInterfaceLoadBalancerList": { + "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": { + "delete": { + "tags": [ + "Network Interfaces" + ], + "operationId": "NetworkInterfaceTapConfigurations_Delete", + "description": "Deletes the specified tap configuration from the NetworkInterface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "tapConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete tap configuration": { + "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaceTapConfigurations_Get", + "description": "Get the specified tap configuration on a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "tapConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a tap configuration.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + } + } + }, + "x-ms-examples": { + "Get Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "Network Interfaces" + ], + "operationId": "NetworkInterfaceTapConfigurations_CreateOrUpdate", + "description": "Creates or updates a Tap configuration in the specified NetworkInterface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "tapConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap configuration." + }, + { + "name": "tapConfigurationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + }, + "description": "Parameters supplied to the create or update tap configuration operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Tap Configuration resource.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Tap configuration resource.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + } + } + }, + "x-ms-examples": { + "Create Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaceTapConfigurations_List", + "description": "Get all Tap configurations in a network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface TapConfiguration resources.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfigurationListResult" + } + } + }, + "x-ms-examples": { + "List virtual network tap configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "NetworkInterfaceTapConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkInterfaceTapConfigurationPropertiesFormat", + "description": "Properties of the Virtual Network Tap configuration." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Sub Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Tap configuration in a Network Interface." + }, + "NetworkInterfaceTapConfigurationPropertiesFormat": { + "properties": { + "virtualNetworkTap": { + "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap", + "description": "The reference of the Virtual Network Tap resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of Virtual Network Tap configuration." + }, + "NetworkInterfaceIPConfigurationPropertiesFormat": { + "properties": { + "virtualNetworkTaps": { + "type": "array", + "items": { + "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap" + }, + "description": "The reference to Virtual Network Taps." + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "items": { + "$ref": "./applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool" + }, + "description": "The reference of ApplicationGatewayBackendAddressPool resource." + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "items": { + "$ref": "./loadBalancer.json#/definitions/BackendAddressPool" + }, + "description": "The reference of LoadBalancerBackendAddressPool resource." + }, + "loadBalancerInboundNatRules": { + "type": "array", + "items": { + "$ref": "./loadBalancer.json#/definitions/InboundNatRule" + }, + "description": "A list of references of LoadBalancerInboundNatRules." + }, + "privateIPAddress": { + "type": "string", + "description": "Private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "privateIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "Subnet bound to the IP configuration." + }, + "primary": { + "type": "boolean", + "description": "Gets whether this is a primary customer address on the network interface." + }, + "publicIPAddress": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress", + "description": "Public IP address bound to the IP configuration." + }, + "applicationSecurityGroups": { + "type": "array", + "items": { + "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup" + }, + "description": "Application security groups in which the IP configuration is included." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of IP configuration." + }, + "NetworkInterfaceIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat", + "description": "Network interface IP configuration properties." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IPConfiguration in a network interface." + }, + "NetworkInterfaceDnsSettings": { + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection." + }, + "appliedDnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs." + }, + "internalDnsNameLabel": { + "type": "string", + "description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network." + }, + "internalFqdn": { + "type": "string", + "description": "Fully qualified DNS name supporting internal communications between VMs in the same virtual network." + }, + "internalDomainNameSuffix": { + "type": "string", + "description": "Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix." + } + }, + "description": "DNS settings of a network interface." + }, + "NetworkInterfacePropertiesFormat": { + "properties": { + "virtualMachine": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of a virtual machine.", + "readOnly": true + }, + "networkSecurityGroup": { + "$ref": "./networkSecurityGroup.json#/definitions/NetworkSecurityGroup", + "description": "The reference of the NetworkSecurityGroup resource." + }, + "privateEndpoint": { + "readOnly": true, + "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint", + "description": "A reference to the private endpoint to which the network interface is linked." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceIPConfiguration" + }, + "description": "A list of IPConfigurations of the network interface." + }, + "tapConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + }, + "description": "A list of TapConfigurations of the network interface." + }, + "dnsSettings": { + "$ref": "#/definitions/NetworkInterfaceDnsSettings", + "description": "The DNS settings in network interface." + }, + "macAddress": { + "type": "string", + "description": "The MAC address of the network interface." + }, + "primary": { + "type": "boolean", + "description": "Gets whether this is a primary network interface on a virtual machine." + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "If the network interface is accelerated networking enabled." + }, + "enableIPForwarding": { + "type": "boolean", + "description": "Indicates whether IP forwarding is enabled on this network interface." + }, + "hostedWorkloads": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "A list of references to linked BareMetal resources." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the network interface resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "NetworkInterface properties." + }, + "NetworkInterface": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkInterfacePropertiesFormat", + "description": "Properties of the network interface." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "A network interface in a resource group." + }, + "NetworkInterfaceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "A list of network interfaces in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListNetworkInterface API service call." + }, + "NetworkInterfaceTapConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceTapConfiguration" + }, + "description": "A list of tap configurations." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list tap configurations API service call." + }, + "NetworkInterfaceIPConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceIPConfiguration" + }, + "description": "A list of ip configurations." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list ip configurations API service call." + }, + "NetworkInterfaceLoadBalancerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "./loadBalancer.json#/definitions/LoadBalancer" + }, + "description": "A list of load balancers." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list ip configurations API service call." + }, + "EffectiveNetworkSecurityGroup": { + "properties": { + "networkSecurityGroup": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The ID of network security group that is applied." + }, + "association": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroupAssociation", + "description": "Associated resources." + }, + "effectiveSecurityRules": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveNetworkSecurityRule" + }, + "description": "A collection of effective security rules." + }, + "tagMap": { + "type": "string", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of IP Addresses within the tag (key)." + }, + "description": "Mapping of tags to list of IP Addresses included within the tag." + } + }, + "description": "Effective network security group." + }, + "EffectiveNetworkSecurityGroupAssociation": { + "properties": { + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The ID of the subnet if assigned." + }, + "networkInterface": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The ID of the network interface if assigned." + } + }, + "description": "The effective network security group association." + }, + "EffectiveNetworkSecurityRule": { + "properties": { + "name": { + "type": "string", + "description": "The name of the security rule specified by the user (if created by the user)." + }, + "protocol": { + "type": "string", + "description": "The network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "All" + ], + "x-ms-enum": { + "name": "EffectiveSecurityRuleProtocol", + "modelAsString": true + } + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range." + }, + "destinationPortRange": { + "type": "string", + "description": "The destination port or range." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*)." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The source address prefix." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "The destination address prefix." + }, + "sourceAddressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)." + }, + "destinationAddressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)." + }, + "expandedSourceAddressPrefix": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The expanded source address prefix." + }, + "expandedDestinationAddressPrefix": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Expanded destination address prefix." + }, + "access": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleAccess", + "description": "Whether network traffic is allowed or denied." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule." + }, + "direction": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleDirection", + "description": "The direction of the rule." + } + }, + "description": "Effective network security rules." + }, + "EffectiveNetworkSecurityGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroup" + }, + "description": "A list of effective network security groups." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list effective network security groups API service call." + }, + "EffectiveRoute": { + "properties": { + "name": { + "type": "string", + "description": "The name of the user defined route. This is optional." + }, + "disableBgpRoutePropagation": { + "type": "boolean", + "description": "If true, on-premises routes are not propagated to the network interfaces in the subnet." + }, + "source": { + "type": "string", + "description": "Who created the route.", + "enum": [ + "Unknown", + "User", + "VirtualNetworkGateway", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveRouteSource", + "modelAsString": true + } + }, + "state": { + "type": "string", + "description": "The value of effective route.", + "enum": [ + "Active", + "Invalid" + ], + "x-ms-enum": { + "name": "EffectiveRouteState", + "modelAsString": true + } + }, + "addressPrefix": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The address prefixes of the effective routes in CIDR notation." + }, + "nextHopIpAddress": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IP address of the next hop of the effective route." + }, + "nextHopType": { + "$ref": "./routeTable.json#/definitions/RouteNextHopType", + "description": "The type of Azure hop the packet should be sent to." + } + }, + "description": "Effective Route." + }, + "EffectiveRouteListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveRoute" + }, + "description": "A list of effective routes." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list effective route API service call." + }, + "IPConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress", + "description": "The reference of the public IP resource." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of IP configuration." + }, + "IPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IPConfigurationPropertiesFormat", + "description": "Properties of the IP configuration." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkProfile.json new file mode 100644 index 000000000000..d424dafe00aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkProfile.json @@ -0,0 +1,579 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": { + "delete": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_Delete", + "description": "Deletes the specified network profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NetworkProfile." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete network profile": { + "$ref": "./examples/NetworkProfileDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_Get", + "description": "Gets the specified network profile in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkProfile resource.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + } + }, + "x-ms-examples": { + "Get network profile": { + "$ref": "./examples/NetworkProfileGetConfigOnly.json" + }, + "Get network profile with container network interfaces": { + "$ref": "./examples/NetworkProfileGetWithContainerNic.json" + } + } + }, + "put": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_CreateOrUpdate", + "description": "Creates or updates a network profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkProfile" + }, + "description": "Parameters supplied to the create or update network profile operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting NetworkProfile resource.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting NetworkProfile resource.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + } + }, + "x-ms-examples": { + "Create network profile defaults": { + "$ref": "./examples/NetworkProfileCreateConfigOnly.json" + } + }, + "x-ms-long-running-operation": false + }, + "patch": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_UpdateTags", + "description": "Updates network profile tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network profile tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting NetworkProfile resource.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + } + }, + "x-ms-examples": { + "Update network profile tags": { + "$ref": "./examples/NetworkProfileUpdateTags.json" + } + }, + "x-ms-long-running-operation": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": { + "get": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_ListAll", + "description": "Gets all the network profiles in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkProfile resources.", + "schema": { + "$ref": "#/definitions/NetworkProfileListResult" + } + } + }, + "x-ms-examples": { + "List all network profiles": { + "$ref": "./examples/NetworkProfileListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles": { + "get": { + "tags": [ + "NetworkProfiles" + ], + "operationId": "NetworkProfiles_List", + "description": "Gets all network profiles in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkProfile resources.", + "schema": { + "$ref": "#/definitions/NetworkProfileListResult" + } + } + }, + "x-ms-examples": { + "List resource group network profiles": { + "$ref": "./examples/NetworkProfileList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "NetworkProfilePropertiesFormat": { + "properties": { + "containerNetworkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerNetworkInterface" + }, + "description": "List of child container network interfaces." + }, + "containerNetworkInterfaceConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration" + }, + "description": "List of chid container network interface configurations." + }, + "resourceGuid": { + "readOnly": true, + "type": "string", + "description": "The resource GUID property of the network interface resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Network profile properties." + }, + "NetworkProfile": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkProfilePropertiesFormat", + "description": "Network profile properties." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Network profile resource." + }, + "NetworkProfileListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkProfile" + }, + "description": "A list of network profiles that exist in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListNetworkProfiles API service call." + }, + "ContainerNetworkInterfacePropertiesFormat": { + "properties": { + "containerNetworkInterfaceConfiguration": { + "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration", + "description": "Container network interface configuration from which this container network interface is created." + }, + "container": { + "$ref": "#/definitions/Container", + "description": "Reference to the container to which this container network interface is attached." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerNetworkInterfaceIpConfiguration" + }, + "description": "Reference to the ip configuration on this container nic." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Properties of container network interface." + }, + "ContainerNetworkInterface": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ContainerNetworkInterfacePropertiesFormat", + "description": "Container network interface properties." + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Sub Resource type." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Container network interface child resource." + }, + "ContainerNetworkInterfaceConfigurationPropertiesFormat": { + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/IPConfigurationProfile" + }, + "description": "A list of ip configurations of the container network interface configuration." + }, + "containerNetworkInterfaces": { + "type": "array", + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "A list of container network interfaces created from this container network interface configuration." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Container network interface configuration properties." + }, + "ContainerNetworkInterfaceConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat", + "description": "Container network interface configuration properties." + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Sub Resource type." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Container network interface configuration child resource." + }, + "IPConfigurationProfilePropertiesFormat": { + "properties": { + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The reference of the subnet resource to create a container network interface ip configuration." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "IP configuration profile properties." + }, + "IPConfigurationProfile": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IPConfigurationProfilePropertiesFormat", + "description": "Properties of the IP configuration profile." + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Sub Resource type." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration profile child resource." + }, + "Container": { + "properties": {}, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Reference to container resource in remote resource provider." + }, + "ContainerNetworkInterfaceIpConfigurationPropertiesFormat": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Properties of the container network interface IP configuration." + }, + "ContainerNetworkInterfaceIpConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat", + "description": "Properties of the container network interface IP configuration." + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Sub Resource type." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "description": "The ip configuration for a container network interface." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json new file mode 100644 index 000000000000..ffc3ecffee8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json @@ -0,0 +1,896 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": { + "delete": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_Delete", + "description": "Deletes the specified network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-examples": { + "Delete network security group": { + "$ref": "./examples/NetworkSecurityGroupDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_Get", + "description": "Gets the specified network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkSecurityGroup resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + } + }, + "x-ms-examples": { + "Get network security group": { + "$ref": "./examples/NetworkSecurityGroupGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "description": "Creates or updates a network security group in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + }, + "description": "Parameters supplied to the create or update network security group operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting NetworkSecurityGroup resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting NetworkSecurityGroup resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + } + }, + "x-ms-examples": { + "Create network security group": { + "$ref": "./examples/NetworkSecurityGroupCreate.json" + }, + "Create network security group with rule": { + "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_UpdateTags", + "description": "Updates a network security group tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network security group tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting NetworkSecurityGroup resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + } + }, + "x-ms-examples": { + "Update network security group tags": { + "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_ListAll", + "description": "Gets all network security groups in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + } + }, + "x-ms-examples": { + "List all network security groups": { + "$ref": "./examples/NetworkSecurityGroupListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_List", + "description": "Gets all network security groups in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + } + }, + "x-ms-examples": { + "List network security groups in resource group": { + "$ref": "./examples/NetworkSecurityGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": { + "delete": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_Delete", + "description": "Deletes the specified network security rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete network security rule from network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_Get", + "description": "Get the specified network security rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting SecurityRule resource.", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + } + }, + "x-ms-examples": { + "Get network security rule in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleGet.json" + } + } + }, + "put": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_CreateOrUpdate", + "description": "Creates or updates a security rule in the specified network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "name": "securityRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "Parameters supplied to the create or update network security rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting SecurityRule resource.", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting SecurityRule resource.", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + } + }, + "x-ms-examples": { + "Create security rule": { + "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": { + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_List", + "description": "Gets all security rules in a network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of SecurityRule resources.", + "schema": { + "$ref": "#/definitions/SecurityRuleListResult" + } + } + }, + "x-ms-examples": { + "List network security rules in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules": { + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "DefaultSecurityRules_List", + "description": "Gets all default security rules in a network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of SecurityRule resources.", + "schema": { + "$ref": "#/definitions/SecurityRuleListResult" + } + } + }, + "x-ms-examples": { + "DefaultSecurityRuleList": { + "$ref": "./examples/DefaultSecurityRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": { + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "DefaultSecurityRules_Get", + "description": "Get the specified default network security rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "defaultSecurityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the default security rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting SecurityRule resource.", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + } + }, + "x-ms-examples": { + "DefaultSecurityRuleGet": { + "$ref": "./examples/DefaultSecurityRuleGet.json" + } + } + } + } + }, + "definitions": { + "SecurityRulePropertiesFormat": { + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "protocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "Icmp", + "Esp", + "*" + ], + "x-ms-enum": { + "name": "SecurityRuleProtocol", + "modelAsString": true + } + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "destinationPortRange": { + "type": "string", + "description": "The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from." + }, + "sourceAddressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The CIDR or source IP ranges." + }, + "sourceApplicationSecurityGroups": { + "type": "array", + "items": { + "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup" + }, + "description": "The application security group specified as source." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used." + }, + "destinationAddressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "destinationApplicationSecurityGroups": { + "type": "array", + "items": { + "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup" + }, + "description": "The application security group specified as destination." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "access": { + "$ref": "#/definitions/SecurityRuleAccess", + "description": "The network traffic is allowed or denied." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "direction": { + "$ref": "#/definitions/SecurityRuleDirection", + "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "protocol", + "access", + "direction" + ], + "description": "Security rule resource." + }, + "SecurityRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecurityRulePropertiesFormat", + "description": "Properties of the security rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Network security rule." + }, + "SecurityRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "The security rules in a network security group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group." + }, + "NetworkSecurityGroupPropertiesFormat": { + "properties": { + "securityRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "A collection of security rules of the network security group." + }, + "defaultSecurityRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "The default security rules of network security group." + }, + "networkInterfaces": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + }, + "description": "A collection of references to network interfaces." + }, + "subnets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Subnet" + }, + "description": "A collection of references to subnets." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the network security group resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Network Security Group resource." + }, + "NetworkSecurityGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkSecurityGroupPropertiesFormat", + "description": "Properties of the network security group." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "NetworkSecurityGroup resource." + }, + "NetworkSecurityGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityGroup" + }, + "description": "A list of NetworkSecurityGroup resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListNetworkSecurityGroups API service call." + }, + "SecurityRuleAccess": { + "type": "string", + "description": "Whether network traffic is allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "SecurityRuleAccess", + "modelAsString": true + } + }, + "SecurityRuleDirection": { + "type": "string", + "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "SecurityRuleDirection", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcher.json new file mode 100644 index 000000000000..3dc318a36de0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcher.json @@ -0,0 +1,3742 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}": { + "put": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_CreateOrUpdate", + "description": "Creates or updates a network watcher in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkWatcher" + }, + "description": "Parameters that define the network watcher resource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network watcher resource.", + "schema": { + "$ref": "#/definitions/NetworkWatcher" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting network watcher resource.", + "schema": { + "$ref": "#/definitions/NetworkWatcher" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create network watcher": { + "$ref": "./examples/NetworkWatcherCreate.json" + } + } + }, + "get": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_Get", + "description": "Gets the specified network watcher by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a network watcher resource.", + "schema": { + "$ref": "#/definitions/NetworkWatcher" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get network watcher": { + "$ref": "./examples/NetworkWatcherGet.json" + } + } + }, + "delete": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_Delete", + "description": "Deletes the specified network watcher resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete network watcher": { + "$ref": "./examples/NetworkWatcherDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_UpdateTags", + "description": "Updates a network watcher tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network watcher tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network watcher resource.", + "schema": { + "$ref": "#/definitions/NetworkWatcher" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update network watcher tags": { + "$ref": "./examples/NetworkWatcherUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers": { + "get": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_List", + "description": "Gets all network watchers by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of network watcher resources.", + "schema": { + "$ref": "#/definitions/NetworkWatcherListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "List network watchers": { + "$ref": "./examples/NetworkWatcherList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": { + "get": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_ListAll", + "description": "Gets all network watchers by subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of network watcher resources.", + "schema": { + "$ref": "#/definitions/NetworkWatcherListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "List all network watchers": { + "$ref": "./examples/NetworkWatcherListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetTopology", + "description": "Gets the current network topology by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TopologyParameters" + }, + "description": "Parameters that define the representation of topology." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the topology of resource group.", + "schema": { + "$ref": "#/definitions/Topology" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Topology": { + "$ref": "./examples/NetworkWatcherTopologyGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_VerifyIPFlow", + "description": "Verify IP flow from the specified VM to a location given the currently configured NSG rules.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VerificationIPFlowParameters" + }, + "description": "Parameters that define the IP flow to be verified." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the result of IP flow verification.", + "schema": { + "$ref": "#/definitions/VerificationIPFlowResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/VerificationIPFlowResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Ip flow verify": { + "$ref": "./examples/NetworkWatcherIpFlowVerify.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetNextHop", + "description": "Gets the next hop from the specified VM.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NextHopParameters" + }, + "description": "Parameters that define the source and destination endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the next hop from the VM.", + "schema": { + "$ref": "#/definitions/NextHopResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/NextHopResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get next hop": { + "$ref": "./examples/NetworkWatcherNextHopGet.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetVMSecurityRules", + "description": "Gets the configured and effective security group rules on the specified VM.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityGroupViewParameters" + }, + "description": "Parameters that define the VM to check security groups for." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns security group rules on the VM.", + "schema": { + "$ref": "#/definitions/SecurityGroupViewResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/SecurityGroupViewResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get security group view": { + "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": { + "put": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_Create", + "description": "Create and start a packet capture on the specified VM.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "packetCaptureName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packet capture session." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PacketCapture" + }, + "description": "Parameters that define the create packet capture operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Request successful. The operation returns the resulting packet capture session.", + "schema": { + "$ref": "#/definitions/PacketCaptureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_Get", + "description": "Gets a packet capture session by name.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "packetCaptureName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packet capture session." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a packet capture session.", + "schema": { + "$ref": "#/definitions/PacketCaptureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" + } + } + }, + "delete": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_Delete", + "description": "Deletes the specified packet capture session.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "packetCaptureName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packet capture session." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": { + "post": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_Stop", + "description": "Stops a specified packet capture session.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "packetCaptureName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packet capture session." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation stops the packet capture session." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": { + "post": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_GetStatus", + "description": "Query the status of a running packet capture session.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "packetCaptureName", + "in": "path", + "required": true, + "type": "string", + "description": "The name given to the packet capture session." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful query of packet capture status.", + "schema": { + "$ref": "#/definitions/PacketCaptureQueryStatusResult" + } + }, + "202": { + "description": "Accepted query status of packet capture.", + "schema": { + "$ref": "#/definitions/PacketCaptureQueryStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Query packet capture status": { + "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures": { + "get": { + "tags": [ + "PacketCaptures" + ], + "operationId": "PacketCaptures_List", + "description": "Lists all packet capture sessions within the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful packet capture enumeration request.", + "schema": { + "$ref": "#/definitions/PacketCaptureListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "List packet captures": { + "$ref": "./examples/NetworkWatcherPacketCapturesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetTroubleshooting", + "description": "Initiate troubleshooting on a specified resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TroubleshootingParameters" + }, + "description": "Parameters that define the resource to troubleshoot." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful troubleshooting request.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "202": { + "description": "Accepted get troubleshooting request.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get troubleshooting": { + "$ref": "./examples/NetworkWatcherTroubleshootGet.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetTroubleshootingResult", + "description": "Get the last completed troubleshooting result on a specified resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryTroubleshootingParameters" + }, + "description": "Parameters that define the resource to query the troubleshooting result." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful get troubleshooting result request.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "202": { + "description": "Accepted get troubleshooting result request.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get troubleshoot result": { + "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": { + "post": { + "tags": [ + "NetworkWatchers", + "TrafficAnalytics" + ], + "operationId": "NetworkWatchers_SetFlowLogConfiguration", + "description": "Configures flow log and traffic analytics (optional) on a specified resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FlowLogInformation" + }, + "description": "Parameters that define the configuration of flow log." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful request for setting flow log and traffic analytics (optional) configuration.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Configure flow log": { + "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": { + "post": { + "tags": [ + "NetworkWatchers", + "TrafficAnalytics" + ], + "operationId": "NetworkWatchers_GetFlowLogStatus", + "description": "Queries status of flow log and traffic analytics (optional) on a specified resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FlowLogStatusParameters" + }, + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful request for query flow log and traffic analytics (optional) status.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get flow log status": { + "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_CheckConnectivity", + "description": "Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectivityParameters" + }, + "description": "Parameters that determine how the connectivity check will be performed." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful request for checking connectivity.", + "schema": { + "$ref": "#/definitions/ConnectivityInformation" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ConnectivityInformation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Check connectivity": { + "$ref": "./examples/NetworkWatcherConnectivityCheck.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetAzureReachabilityReport", + "description": "Gets the relative latency score for internet service providers from a specified location to Azure regions.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureReachabilityReportParameters" + }, + "description": "Parameters that determine Azure reachability report configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful request for Azure reachability report.", + "schema": { + "$ref": "#/definitions/AzureReachabilityReport" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/AzureReachabilityReport" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Reachability Report": { + "$ref": "./examples/NetworkWatcherAzureReachabilityReportGet.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_ListAvailableProviders", + "description": "Lists all available internet service providers for a specified Azure region.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AvailableProvidersListParameters" + }, + "description": "Parameters that scope the list of available providers." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful request for list of available providers.", + "schema": { + "$ref": "#/definitions/AvailableProvidersList" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/AvailableProvidersList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Available Providers List": { + "$ref": "./examples/NetworkWatcherAvailableProvidersListGet.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": { + "put": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_CreateOrUpdate", + "description": "Create or update a connection monitor.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection monitor." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionMonitor" + }, + "description": "Parameters that define the operation to create a connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network watcher resource.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting network watcher resource.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_Get", + "description": "Gets a connection monitor by name.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a connection monitor.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" + } + } + }, + "delete": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_Delete", + "description": "Deletes the specified connection monitor.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. The operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop": { + "post": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_Stop", + "description": "Stops the specified connection monitor.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation stops the connection monitor." + }, + "202": { + "description": "Accepted. The operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start": { + "post": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_Start", + "description": "Starts the specified connection monitor.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation starts the connection monitor." + }, + "202": { + "description": "Accepted. The operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query": { + "post": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_Query", + "description": "Query a snapshot of the most recent connection states.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "name": "connectionMonitorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name given to the connection monitor." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful query of connection states.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorQueryResult" + } + }, + "202": { + "description": "Accepted query of connection states.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorQueryResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Query connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors": { + "get": { + "tags": [ + "ConnectionMonitors" + ], + "operationId": "ConnectionMonitors_List", + "description": "Lists all connection monitors for the specified Network Watcher.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing Network Watcher." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Network Watcher resource." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successful connection monitor enumeration request.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "List connection monitors": { + "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": { + "post": { + "tags": [ + "NetworkWatchers" + ], + "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic", + "description": "Get network configuration diagnostic.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkWatcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network watcher." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticParameters" + }, + "description": "Parameters to get network configuration diagnostic." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the result of network configuration diagnostic.", + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Network configuration diagnostic": { + "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "The error object.", + "properties": { + "error": { + "title": "Error", + "$ref": "./network.json#/definitions/ErrorDetails", + "description": "The error details object." + } + } + }, + "NetworkWatcher": { + "properties": { + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkWatcherPropertiesFormat", + "description": "Properties of the network watcher." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Network watcher in a resource group." + }, + "NetworkWatcherPropertiesFormat": { + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "The network watcher properties." + }, + "NetworkWatcherListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkWatcher" + }, + "description": "List of network watcher resources." + } + }, + "description": "Response for ListNetworkWatchers API service call." + }, + "TopologyParameters": { + "properties": { + "targetResourceGroupName": { + "type": "string", + "description": "The name of the target resource group to perform topology on." + }, + "targetVirtualNetwork": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the Virtual Network resource." + }, + "targetSubnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the Subnet resource." + } + }, + "description": "Parameters that define the representation of topology." + }, + "Topology": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "GUID representing the operation id." + }, + "createdDateTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The datetime when the topology was initially created for the resource group." + }, + "lastModified": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The datetime when the topology was last modified." + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/definitions/TopologyResource" + }, + "description": "A list of topology resources." + } + }, + "description": "Topology of the specified resource group." + }, + "TopologyResource": { + "properties": { + "name": { + "type": "string", + "description": "Name of the resource." + }, + "id": { + "type": "string", + "description": "ID of the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "associations": { + "type": "array", + "description": "Holds the associations the resource has with other resources in the resource group.", + "items": { + "$ref": "#/definitions/TopologyAssociation" + } + } + }, + "description": "The network resource topology information for the given resource group." + }, + "TopologyAssociation": { + "properties": { + "name": { + "type": "string", + "description": "The name of the resource that is associated with the parent resource." + }, + "resourceId": { + "type": "string", + "description": "The ID of the resource that is associated with the parent resource." + }, + "associationType": { + "type": "string", + "enum": [ + "Associated", + "Contains" + ], + "x-ms-enum": { + "name": "AssociationType", + "modelAsString": true + }, + "description": "The association type of the child resource to the parent resource." + } + }, + "description": "Resources that have an association with the parent resource." + }, + "VerificationIPFlowParameters": { + "description": "Parameters that define the IP flow to be verified.", + "required": [ + "targetResourceId", + "direction", + "protocol", + "localPort", + "remotePort", + "localIPAddress", + "remoteIPAddress" + ], + "properties": { + "targetResourceId": { + "type": "string", + "description": "The ID of the target resource to perform next-hop on." + }, + "direction": { + "$ref": "#/definitions/Direction", + "description": "The direction of the packet represented as a 5-tuple." + }, + "protocol": { + "type": "string", + "enum": [ + "TCP", + "UDP" + ], + "x-ms-enum": { + "name": "IpFlowProtocol", + "modelAsString": true + }, + "description": "Protocol to be verified on." + }, + "localPort": { + "type": "string", + "description": "The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction." + }, + "remotePort": { + "type": "string", + "description": "The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction." + }, + "localIPAddress": { + "type": "string", + "description": "The local IP address. Acceptable values are valid IPv4 addresses." + }, + "remoteIPAddress": { + "type": "string", + "description": "The remote IP address. Acceptable values are valid IPv4 addresses." + }, + "targetNicResourceId": { + "type": "string", + "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional)." + } + } + }, + "VerificationIPFlowResult": { + "description": "Results of IP flow verification on the target resource.", + "properties": { + "access": { + "$ref": "./network.json#/definitions/Access", + "description": "Indicates whether the traffic is allowed or denied." + }, + "ruleName": { + "type": "string", + "description": "Name of the rule. If input is not matched against any security rule, it is not displayed." + } + } + }, + "NextHopParameters": { + "description": "Parameters that define the source and destination endpoint.", + "required": [ + "targetResourceId", + "sourceIPAddress", + "destinationIPAddress" + ], + "properties": { + "targetResourceId": { + "type": "string", + "description": "The resource identifier of the target resource against which the action is to be performed." + }, + "sourceIPAddress": { + "type": "string", + "description": "The source IP address." + }, + "destinationIPAddress": { + "type": "string", + "description": "The destination IP address." + }, + "targetNicResourceId": { + "type": "string", + "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional)." + } + } + }, + "NextHopResult": { + "description": "The information about next hop from the specified VM.", + "properties": { + "nextHopType": { + "type": "string", + "enum": [ + "Internet", + "VirtualAppliance", + "VirtualNetworkGateway", + "VnetLocal", + "HyperNetGateway", + "None" + ], + "x-ms-enum": { + "name": "NextHopType", + "modelAsString": true + }, + "description": "Next hop type." + }, + "nextHopIpAddress": { + "type": "string", + "description": "Next hop IP Address." + }, + "routeTableId": { + "type": "string", + "description": "The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'." + } + } + }, + "SecurityGroupViewParameters": { + "description": "Parameters that define the VM to check security groups for.", + "required": [ + "targetResourceId" + ], + "properties": { + "targetResourceId": { + "type": "string", + "description": "ID of the target VM." + } + } + }, + "SecurityGroupViewResult": { + "description": "The information about security rules applied to the specified VM.", + "properties": { + "networkInterfaces": { + "type": "array", + "description": "List of network interfaces on the specified VM.", + "items": { + "$ref": "#/definitions/SecurityGroupNetworkInterface" + } + } + } + }, + "SecurityGroupNetworkInterface": { + "description": "Network interface and all its associated security rules.", + "properties": { + "id": { + "type": "string", + "description": "ID of the network interface." + }, + "securityRuleAssociations": { + "$ref": "#/definitions/SecurityRuleAssociations", + "description": "All security rules associated with the network interface." + } + } + }, + "SecurityRuleAssociations": { + "description": "All security rules associated with the network interface.", + "properties": { + "networkInterfaceAssociation": { + "$ref": "#/definitions/NetworkInterfaceAssociation", + "description": "Network interface and it's custom security rules." + }, + "subnetAssociation": { + "$ref": "#/definitions/SubnetAssociation", + "description": "Subnet and it's custom security rules." + }, + "defaultSecurityRules": { + "type": "array", + "items": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule" + }, + "description": "Collection of default security rules of the network security group." + }, + "effectiveSecurityRules": { + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/EffectiveNetworkSecurityRule" + }, + "description": "Collection of effective security rules." + } + } + }, + "NetworkInterfaceAssociation": { + "description": "Network interface and its custom security rules.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Network interface ID." + }, + "securityRules": { + "type": "array", + "description": "Collection of custom security rules.", + "items": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule" + } + } + } + }, + "SubnetAssociation": { + "description": "Subnet and it's custom security rules.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Subnet ID." + }, + "securityRules": { + "type": "array", + "description": "Collection of custom security rules.", + "items": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule" + } + } + } + }, + "PacketCapture": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCaptureParameters", + "description": "Properties of the packet capture." + } + }, + "required": [ + "properties" + ], + "description": "Parameters that define the create packet capture operation." + }, + "PacketCaptureParameters": { + "properties": { + "target": { + "type": "string", + "description": "The ID of the targeted resource, only VM is currently supported." + }, + "bytesToCapturePerPacket": { + "type": "integer", + "default": 0, + "description": "Number of bytes captured per packet, the remaining bytes are truncated." + }, + "totalBytesPerSession": { + "type": "integer", + "default": 1073741824, + "description": "Maximum size of the capture output." + }, + "timeLimitInSeconds": { + "type": "integer", + "default": 18000, + "description": "Maximum duration of the capture session in seconds." + }, + "storageLocation": { + "$ref": "#/definitions/PacketCaptureStorageLocation", + "description": "Describes the storage location for a packet capture session." + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/definitions/PacketCaptureFilter" + }, + "description": "A list of packet capture filters." + } + }, + "required": [ + "target", + "storageLocation" + ], + "description": "Parameters that define the create packet capture operation." + }, + "PacketCaptureStorageLocation": { + "properties": { + "storageId": { + "type": "string", + "description": "The ID of the storage account to save the packet capture session. Required if no local file path is provided." + }, + "storagePath": { + "type": "string", + "description": "The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture." + }, + "filePath": { + "type": "string", + "description": "A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional." + } + }, + "description": "Describes the storage location for a packet capture session." + }, + "PacketCaptureFilter": { + "properties": { + "protocol": { + "type": "string", + "enum": [ + "TCP", + "UDP", + "Any" + ], + "x-ms-enum": { + "name": "PcProtocol", + "modelAsString": true + }, + "default": "Any", + "description": "Protocol to be filtered on." + }, + "localIPAddress": { + "type": "string", + "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5\"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "remoteIPAddress": { + "type": "string", + "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "localPort": { + "type": "string", + "description": "Local port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "remotePort": { + "type": "string", + "description": "Remote port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + } + }, + "description": "Filter that is applied to packet capture request. Multiple filters can be applied." + }, + "PacketCaptureListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PacketCaptureResult" + }, + "description": "Information about packet capture sessions." + } + }, + "description": "List of packet capture sessions." + }, + "PacketCaptureResult": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the packet capture session." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "ID of the packet capture operation." + }, + "etag": { + "type": "string", + "default": "A unique read-only string that changes whenever the resource is updated.", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCaptureResultProperties", + "description": "Properties of the packet capture result." + } + }, + "description": "Information about packet capture session." + }, + "PacketCaptureResultProperties": { + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the packet capture session." + } + }, + "allOf": [ + { + "$ref": "#/definitions/PacketCaptureParameters" + } + ], + "description": "Describes the properties of a packet capture session." + }, + "PacketCaptureQueryStatusResult": { + "properties": { + "name": { + "type": "string", + "description": "The name of the packet capture resource." + }, + "id": { + "type": "string", + "description": "The ID of the packet capture resource." + }, + "captureStartTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the packet capture session." + }, + "packetCaptureStatus": { + "type": "string", + "enum": [ + "NotStarted", + "Running", + "Stopped", + "Error", + "Unknown" + ], + "x-ms-enum": { + "name": "PcStatus", + "modelAsString": true + }, + "description": "The status of the packet capture session." + }, + "stopReason": { + "type": "string", + "description": "The reason the current packet capture session was stopped." + }, + "packetCaptureError": { + "type": "array", + "description": "List of errors of packet capture session.", + "items": { + "type": "string", + "enum": [ + "InternalError", + "AgentStopped", + "CaptureFailed", + "LocalFileFailed", + "StorageFailed" + ], + "x-ms-enum": { + "name": "PcError", + "modelAsString": true + } + } + } + }, + "description": "Status of packet capture session." + }, + "TroubleshootingParameters": { + "description": "Parameters that define the resource to troubleshoot.", + "required": [ + "targetResourceId", + "properties" + ], + "properties": { + "targetResourceId": { + "description": "The target resource to troubleshoot.", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TroubleshootingProperties", + "description": "Properties of the troubleshooting resource." + } + } + }, + "QueryTroubleshootingParameters": { + "description": "Parameters that define the resource to query the troubleshooting result.", + "required": [ + "targetResourceId" + ], + "properties": { + "targetResourceId": { + "description": "The target resource ID to query the troubleshooting result.", + "type": "string" + } + } + }, + "TroubleshootingProperties": { + "description": "Storage location provided for troubleshoot.", + "required": [ + "storageId", + "storagePath" + ], + "properties": { + "storageId": { + "description": "The ID for the storage account to save the troubleshoot result.", + "type": "string" + }, + "storagePath": { + "description": "The path to the blob to save the troubleshoot result in.", + "type": "string" + } + } + }, + "TroubleshootingResult": { + "description": "Troubleshooting information gained from specified resource.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the troubleshooting." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the troubleshooting." + }, + "code": { + "type": "string", + "description": "The result code of the troubleshooting." + }, + "results": { + "type": "array", + "description": "Information from troubleshooting.", + "items": { + "$ref": "#/definitions/TroubleshootingDetails" + } + } + } + }, + "TroubleshootingDetails": { + "description": "Information gained from troubleshooting of specified resource.", + "properties": { + "id": { + "type": "string", + "description": "The id of the get troubleshoot operation." + }, + "reasonType": { + "type": "string", + "description": "Reason type of failure." + }, + "summary": { + "type": "string", + "description": "A summary of troubleshooting." + }, + "detail": { + "type": "string", + "description": "Details on troubleshooting results." + }, + "recommendedActions": { + "type": "array", + "description": "List of recommended actions.", + "items": { + "$ref": "#/definitions/TroubleshootingRecommendedActions" + } + } + } + }, + "TroubleshootingRecommendedActions": { + "description": "Recommended actions based on discovered issues.", + "properties": { + "actionId": { + "description": "ID of the recommended action.", + "type": "string" + }, + "actionText": { + "description": "Description of recommended actions.", + "type": "string" + }, + "actionUri": { + "description": "The uri linking to a documentation for the recommended troubleshooting actions.", + "type": "string" + }, + "actionUriText": { + "description": "The information from the URI for the recommended troubleshooting actions.", + "type": "string" + } + } + }, + "FlowLogProperties": { + "description": "Parameters that define the configuration of flow log.", + "required": [ + "storageId", + "enabled" + ], + "properties": { + "storageId": { + "description": "ID of the storage account which is used to store the flow log.", + "type": "string" + }, + "enabled": { + "description": "Flag to enable/disable flow logging.", + "type": "boolean" + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicyParameters", + "description": "Parameters that define the retention policy for flow log." + }, + "format": { + "$ref": "#/definitions/FlowLogFormatParameters", + "description": "Parameters that define the flow log format." + } + } + }, + "FlowLogStatusParameters": { + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status.", + "required": [ + "targetResourceId" + ], + "properties": { + "targetResourceId": { + "description": "The target resource where getting the flow log and traffic analytics (optional) status.", + "type": "string" + } + } + }, + "RetentionPolicyParameters": { + "description": "Parameters that define the retention policy for flow log.", + "properties": { + "days": { + "description": "Number of days to retain flow log records.", + "type": "integer", + "default": 0 + }, + "enabled": { + "description": "Flag to enable/disable retention.", + "type": "boolean", + "default": false + } + } + }, + "FlowLogFormatParameters": { + "description": "Parameters that define the flow log format.", + "properties": { + "type": { + "type": "string", + "description": "The file type of flow log.", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "FlowLogFormatType", + "modelAsString": true + } + }, + "version": { + "description": "The version (revision) of the flow log.", + "type": "integer", + "default": 0 + } + } + }, + "FlowLogInformation": { + "description": "Information on the configuration of flow log and traffic analytics (optional) .", + "required": [ + "targetResourceId", + "properties" + ], + "properties": { + "targetResourceId": { + "description": "The ID of the resource to configure for flow log and traffic analytics (optional) .", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/FlowLogProperties", + "description": "Properties of the flow log." + }, + "flowAnalyticsConfiguration": { + "$ref": "#/definitions/TrafficAnalyticsProperties", + "description": "Parameters that define the configuration of traffic analytics." + } + } + }, + "TrafficAnalyticsProperties": { + "description": "Parameters that define the configuration of traffic analytics.", + "required": [ + "networkWatcherFlowAnalyticsConfiguration" + ], + "properties": { + "networkWatcherFlowAnalyticsConfiguration": { + "$ref": "#/definitions/TrafficAnalyticsConfigurationProperties", + "description": "Parameters that define the configuration of traffic analytics." + } + } + }, + "TrafficAnalyticsConfigurationProperties": { + "description": "Parameters that define the configuration of traffic analytics.", + "required": [ + "enabled", + "workspaceId", + "workspaceRegion", + "workspaceResourceId" + ], + "properties": { + "enabled": { + "description": "Flag to enable/disable traffic analytics.", + "type": "boolean" + }, + "workspaceId": { + "description": "The resource guid of the attached workspace.", + "type": "string" + }, + "workspaceRegion": { + "description": "The location of the attached workspace.", + "type": "string" + }, + "workspaceResourceId": { + "description": "Resource Id of the attached workspace.", + "type": "string" + }, + "trafficAnalyticsInterval": { + "description": "The interval in minutes which would decide how frequently TA service should do flow analytics.", + "type": "integer" + } + } + }, + "ConnectivityParameters": { + "description": "Parameters that determine how the connectivity check will be performed.", + "required": [ + "source", + "destination" + ], + "properties": { + "source": { + "$ref": "#/definitions/ConnectivitySource", + "description": "Describes the source of the connection." + }, + "destination": { + "$ref": "#/definitions/ConnectivityDestination", + "description": "Describes the destination of connection." + }, + "protocol": { + "type": "string", + "description": "Network protocol.", + "enum": [ + "Tcp", + "Http", + "Https", + "Icmp" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true + } + }, + "protocolConfiguration": { + "$ref": "#/definitions/ProtocolConfiguration", + "description": "Configuration of the protocol." + } + } + }, + "ConnectivitySource": { + "description": "Parameters that define the source of the connection.", + "required": [ + "resourceId" + ], + "properties": { + "resourceId": { + "description": "The ID of the resource from which a connectivity check will be initiated.", + "type": "string" + }, + "port": { + "description": "The source port from which a connectivity check will be performed.", + "type": "integer" + } + } + }, + "ConnectivityDestination": { + "description": "Parameters that define destination of connection.", + "properties": { + "resourceId": { + "description": "The ID of the resource to which a connection attempt will be made.", + "type": "string" + }, + "address": { + "description": "The IP address or URI the resource to which a connection attempt will be made.", + "type": "string" + }, + "port": { + "description": "Port on which check connectivity will be performed.", + "type": "integer" + } + } + }, + "ConnectivityInformation": { + "description": "Information on the connectivity status.", + "properties": { + "hops": { + "readOnly": true, + "type": "array", + "description": "List of hops between the source and the destination.", + "items": { + "$ref": "#/definitions/ConnectivityHop" + } + }, + "connectionStatus": { + "readOnly": true, + "type": "string", + "enum": [ + "Unknown", + "Connected", + "Disconnected", + "Degraded" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + }, + "description": "The connection status." + }, + "avgLatencyInMs": { + "description": "Average latency in milliseconds.", + "readOnly": true, + "type": "integer" + }, + "minLatencyInMs": { + "description": "Minimum latency in milliseconds.", + "readOnly": true, + "type": "integer" + }, + "maxLatencyInMs": { + "description": "Maximum latency in milliseconds.", + "readOnly": true, + "type": "integer" + }, + "probesSent": { + "description": "Total number of probes sent.", + "readOnly": true, + "type": "integer" + }, + "probesFailed": { + "description": "Number of failed probes.", + "readOnly": true, + "type": "integer" + } + } + }, + "ConnectivityHop": { + "description": "Information about a hop between the source and the destination.", + "properties": { + "type": { + "description": "The type of the hop.", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "The ID of the hop.", + "readOnly": true, + "type": "string" + }, + "address": { + "description": "The IP address of the hop.", + "readOnly": true, + "type": "string" + }, + "resourceId": { + "description": "The ID of the resource corresponding to this hop.", + "readOnly": true, + "type": "string" + }, + "nextHopIds": { + "readOnly": true, + "type": "array", + "description": "List of next hop identifiers.", + "items": { + "type": "string" + } + }, + "issues": { + "readOnly": true, + "type": "array", + "description": "List of issues.", + "items": { + "$ref": "#/definitions/ConnectivityIssue" + } + } + } + }, + "ConnectivityIssue": { + "description": "Information about an issue encountered in the process of checking for connectivity.", + "properties": { + "origin": { + "readOnly": true, + "type": "string", + "enum": [ + "Local", + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "Origin", + "modelAsString": true + }, + "description": "The origin of the issue." + }, + "severity": { + "readOnly": true, + "type": "string", + "enum": [ + "Error", + "Warning" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true + }, + "description": "The severity of the issue." + }, + "type": { + "readOnly": true, + "type": "string", + "enum": [ + "Unknown", + "AgentStopped", + "GuestFirewall", + "DnsResolution", + "SocketBind", + "NetworkSecurityRule", + "UserDefinedRoute", + "PortThrottled", + "Platform" + ], + "x-ms-enum": { + "name": "IssueType", + "modelAsString": true + }, + "description": "The type of issue." + }, + "context": { + "readOnly": true, + "type": "array", + "description": "Provides additional context on the issue.", + "items": { + "$ref": "#/definitions/IssueContext" + } + } + } + }, + "IssueContext": { + "description": "A key-value pair that provides additional context on the issue.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "ProtocolConfiguration": { + "description": "Configuration of the protocol.", + "properties": { + "HTTPConfiguration": { + "$ref": "#/definitions/HTTPConfiguration", + "description": "HTTP configuration of the connectivity check." + } + } + }, + "HTTPConfiguration": { + "properties": { + "method": { + "type": "string", + "description": "HTTP method.", + "enum": [ + "Get" + ], + "x-ms-enum": { + "name": "HTTPMethod", + "modelAsString": true + } + }, + "headers": { + "type": "array", + "description": "List of HTTP headers.", + "items": { + "$ref": "#/definitions/HTTPHeader" + } + }, + "validStatusCodes": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "Valid status codes." + } + }, + "description": "HTTP configuration of the connectivity check." + }, + "HTTPHeader": { + "properties": { + "name": { + "type": "string", + "description": "The name in HTTP header." + }, + "value": { + "type": "string", + "description": "The value in HTTP header." + } + }, + "description": "Describes the HTTP header." + }, + "AzureReachabilityReportParameters": { + "properties": { + "providerLocation": { + "$ref": "#/definitions/AzureReachabilityReportLocation", + "description": "Parameters that define a geographic location." + }, + "providers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Internet service providers." + }, + "azureLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Optional Azure regions to scope the query to." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time for the Azure reachability report." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time for the Azure reachability report." + } + }, + "required": [ + "providerLocation", + "startTime", + "endTime" + ], + "description": "Geographic and time constraints for Azure reachability report." + }, + "AzureReachabilityReportLocation": { + "properties": { + "country": { + "type": "string", + "description": "The name of the country." + }, + "state": { + "type": "string", + "description": "The name of the state." + }, + "city": { + "type": "string", + "description": "The name of the city or town." + } + }, + "required": [ + "country" + ], + "description": "Parameters that define a geographic location." + }, + "AzureReachabilityReport": { + "properties": { + "aggregationLevel": { + "type": "string", + "description": "The aggregation level of Azure reachability report. Can be Country, State or City." + }, + "providerLocation": { + "$ref": "#/definitions/AzureReachabilityReportLocation", + "description": "Parameters that define a geographic location." + }, + "reachabilityReport": { + "type": "array", + "description": "List of Azure reachability report items.", + "items": { + "$ref": "#/definitions/AzureReachabilityReportItem" + } + } + }, + "required": [ + "aggregationLevel", + "providerLocation", + "reachabilityReport" + ], + "description": "Azure reachability report details." + }, + "AzureReachabilityReportItem": { + "properties": { + "provider": { + "type": "string", + "description": "The Internet service provider." + }, + "azureLocation": { + "type": "string", + "description": "The Azure region." + }, + "latencies": { + "type": "array", + "description": "List of latency details for each of the time series.", + "items": { + "$ref": "#/definitions/AzureReachabilityReportLatencyInfo" + } + } + }, + "description": "Azure reachability report details for a given provider location." + }, + "AzureReachabilityReportLatencyInfo": { + "properties": { + "timeStamp": { + "type": "string", + "format": "date-time", + "description": "The time stamp." + }, + "score": { + "type": "integer", + "description": "The relative latency score between 1 and 100, higher values indicating a faster connection.", + "minimum": 1, + "maximum": 100 + } + }, + "description": "Details on latency for a time series." + }, + "AvailableProvidersListParameters": { + "properties": { + "azureLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of Azure regions." + }, + "country": { + "type": "string", + "description": "The country for available providers list." + }, + "state": { + "type": "string", + "description": "The state for available providers list." + }, + "city": { + "type": "string", + "description": "The city or town for available providers list." + } + }, + "description": "Constraints that determine the list of available Internet service providers." + }, + "AvailableProvidersList": { + "properties": { + "countries": { + "type": "array", + "description": "List of available countries.", + "items": { + "$ref": "#/definitions/AvailableProvidersListCountry" + } + } + }, + "required": [ + "countries" + ], + "description": "List of available countries with details." + }, + "AvailableProvidersListCountry": { + "properties": { + "countryName": { + "type": "string", + "description": "The country name." + }, + "providers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of Internet service providers." + }, + "states": { + "type": "array", + "description": "List of available states in the country.", + "items": { + "$ref": "#/definitions/AvailableProvidersListState" + } + } + }, + "description": "Country details." + }, + "AvailableProvidersListState": { + "properties": { + "stateName": { + "type": "string", + "description": "The state name." + }, + "providers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of Internet service providers." + }, + "cities": { + "type": "array", + "description": "List of available cities or towns in the state.", + "items": { + "$ref": "#/definitions/AvailableProvidersListCity" + } + } + }, + "description": "State details." + }, + "AvailableProvidersListCity": { + "properties": { + "cityName": { + "type": "string", + "description": "The city or town name." + }, + "providers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of Internet service providers." + } + }, + "description": "City or town details." + }, + "ConnectionMonitor": { + "properties": { + "location": { + "type": "string", + "description": "Connection monitor location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Connection monitor tags." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConnectionMonitorParameters", + "description": "Properties of the connection monitor." + } + }, + "required": [ + "properties" + ], + "description": "Parameters that define the operation to create a connection monitor." + }, + "ConnectionMonitorParameters": { + "properties": { + "source": { + "$ref": "#/definitions/ConnectionMonitorSource", + "description": "Describes the source of connection monitor." + }, + "destination": { + "$ref": "#/definitions/ConnectionMonitorDestination", + "description": "Describes the destination of connection monitor." + }, + "autoStart": { + "type": "boolean", + "default": true, + "description": "Determines if the connection monitor will start automatically once created." + }, + "monitoringIntervalInSeconds": { + "type": "integer", + "default": 60, + "description": "Monitoring interval in seconds." + } + }, + "required": [ + "source", + "destination" + ], + "description": "Parameters that define the operation to create a connection monitor." + }, + "ConnectionMonitorSource": { + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource used as the source by connection monitor." + }, + "port": { + "type": "integer", + "description": "The source port used by connection monitor." + } + }, + "required": [ + "resourceId" + ], + "description": "Describes the source of connection monitor." + }, + "ConnectionMonitorDestination": { + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource used as the destination by connection monitor." + }, + "address": { + "type": "string", + "description": "Address of the connection monitor destination (IP or domain name)." + }, + "port": { + "type": "integer", + "description": "The destination port used by connection monitor." + } + }, + "description": "Describes the destination of connection monitor." + }, + "ConnectionMonitorListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionMonitorResult" + }, + "description": "Information about connection monitors." + } + }, + "description": "List of connection monitors." + }, + "ConnectionMonitorResult": { + "x-ms-azure-resource": true, + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the connection monitor." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "ID of the connection monitor." + }, + "etag": { + "type": "string", + "default": "A unique read-only string that changes whenever the resource is updated.", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Connection monitor type." + }, + "location": { + "type": "string", + "description": "Connection monitor location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Connection monitor tags." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConnectionMonitorResultProperties", + "description": "Properties of the connection monitor result." + } + }, + "description": "Information about the connection monitor." + }, + "ConnectionMonitorResultProperties": { + "properties": { + "provisioningState": { + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the connection monitor." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The date and time when the connection monitor was started." + }, + "monitoringStatus": { + "type": "string", + "description": "The monitoring status of the connection monitor." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ConnectionMonitorParameters" + } + ], + "description": "Describes the properties of a connection monitor." + }, + "ConnectionMonitorQueryResult": { + "properties": { + "sourceStatus": { + "type": "string", + "enum": [ + "Unknown", + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ConnectionMonitorSourceStatus", + "modelAsString": true + }, + "description": "Status of connection monitor source." + }, + "states": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionStateSnapshot" + }, + "description": "Information about connection states." + } + }, + "description": "List of connection states snapshots." + }, + "ConnectionStateSnapshot": { + "properties": { + "connectionState": { + "type": "string", + "enum": [ + "Reachable", + "Unreachable", + "Unknown" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + }, + "description": "The connection state." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the connection snapshot." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the connection snapshot." + }, + "evaluationState": { + "type": "string", + "enum": [ + "NotStarted", + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "EvaluationState", + "modelAsString": true + }, + "description": "Connectivity analysis evaluation state." + }, + "avgLatencyInMs": { + "type": "integer", + "description": "Average latency in ms." + }, + "minLatencyInMs": { + "type": "integer", + "description": "Minimum latency in ms." + }, + "maxLatencyInMs": { + "type": "integer", + "description": "Maximum latency in ms." + }, + "probesSent": { + "type": "integer", + "description": "The number of sent probes." + }, + "probesFailed": { + "type": "integer", + "description": "The number of failed probes." + }, + "hops": { + "readOnly": true, + "type": "array", + "description": "List of hops between the source and the destination.", + "items": { + "$ref": "#/definitions/ConnectivityHop" + } + } + }, + "description": "Connection state snapshot." + }, + "NetworkConfigurationDiagnosticParameters": { + "description": "Parameters to get network configuration diagnostic.", + "required": [ + "targetResourceId", + "profiles" + ], + "properties": { + "targetResourceId": { + "type": "string", + "description": "The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway." + }, + "verbosityLevel": { + "type": "string", + "enum": [ + "Normal", + "Minimum", + "Full" + ], + "x-ms-enum": { + "name": "VerbosityLevel", + "modelAsString": true + }, + "description": "Verbosity level." + }, + "profiles": { + "type": "array", + "description": "List of network configuration diagnostic profiles.", + "items": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile" + } + } + } + }, + "NetworkConfigurationDiagnosticProfile": { + "description": "Parameters to compare with network configuration.", + "required": [ + "direction", + "protocol", + "source", + "destination", + "destinationPort" + ], + "properties": { + "direction": { + "$ref": "#/definitions/Direction", + "description": "The direction of the traffic." + }, + "protocol": { + "type": "string", + "description": "Protocol to be verified on. Accepted values are '*', TCP, UDP." + }, + "source": { + "type": "string", + "description": "Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag." + }, + "destination": { + "type": "string", + "description": "Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag." + }, + "destinationPort": { + "type": "string", + "description": "Traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100)." + } + } + }, + "NetworkConfigurationDiagnosticResponse": { + "description": "Results of network configuration diagnostic on the target resource.", + "properties": { + "results": { + "readOnly": true, + "type": "array", + "description": "List of network configuration diagnostic results.", + "items": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResult" + } + } + } + }, + "NetworkConfigurationDiagnosticResult": { + "description": "Network configuration diagnostic result corresponded to provided traffic query.", + "properties": { + "profile": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile", + "description": "Network configuration diagnostic profile." + }, + "networkSecurityGroupResult": { + "$ref": "#/definitions/NetworkSecurityGroupResult", + "description": "Network security group result." + } + } + }, + "NetworkSecurityGroupResult": { + "description": "Network configuration diagnostic result corresponded provided traffic query.", + "properties": { + "securityRuleAccessResult": { + "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleAccess", + "description": "The network traffic is allowed or denied." + }, + "evaluatedNetworkSecurityGroups": { + "readOnly": true, + "type": "array", + "description": "List of results network security groups diagnostic.", + "items": { + "$ref": "#/definitions/EvaluatedNetworkSecurityGroup" + } + } + } + }, + "EvaluatedNetworkSecurityGroup": { + "description": "Results of network security group evaluation.", + "properties": { + "networkSecurityGroupId": { + "type": "string", + "description": "Network security group ID." + }, + "appliedTo": { + "type": "string", + "description": "Resource ID of nic or subnet to which network security group is applied." + }, + "matchedRule": { + "$ref": "#/definitions/MatchedRule", + "description": "Matched network security rule." + }, + "rulesEvaluationResult": { + "readOnly": true, + "type": "array", + "description": "List of network security rules evaluation results.", + "items": { + "$ref": "#/definitions/NetworkSecurityRulesEvaluationResult" + } + } + } + }, + "MatchedRule": { + "description": "Matched rule.", + "properties": { + "ruleName": { + "type": "string", + "description": "Name of the matched network security rule." + }, + "action": { + "type": "string", + "description": "The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'." + } + } + }, + "NetworkSecurityRulesEvaluationResult": { + "description": "Network security rules evaluation result.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network security rule." + }, + "protocolMatched": { + "type": "boolean", + "description": "Value indicating whether protocol is matched." + }, + "sourceMatched": { + "type": "boolean", + "description": "Value indicating whether source is matched." + }, + "sourcePortMatched": { + "type": "boolean", + "description": "Value indicating whether source port is matched." + }, + "destinationMatched": { + "type": "boolean", + "description": "Value indicating whether destination is matched." + }, + "destinationPortMatched": { + "type": "boolean", + "description": "Value indicating whether destination port is matched." + } + } + }, + "Direction": { + "type": "string", + "description": "The direction of the traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "Direction", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/operation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/operation.json new file mode 100644 index 000000000000..0af82b32e4bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/operation.json @@ -0,0 +1,265 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Network/operations": { + "get": { + "operationId": "Operations_List", + "description": "Lists all of the available Network Rest API operations.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Network operations supported by the Network resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Operation": { + "description": "Network REST API operation definition.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft Network.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of the operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + }, + "origin": { + "description": "Origin of the operation.", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationPropertiesFormat", + "description": "Operation properties format." + } + } + }, + "OperationPropertiesFormat": { + "description": "Description of operation properties format.", + "properties": { + "serviceSpecification": { + "description": "Specification of the service.", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "description": "Operation service specification." + }, + "logSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "description": "Operation log specification." + } + } + } + } + }, + "LogSpecification": { + "description": "Description of logging specification.", + "properties": { + "name": { + "type": "string", + "description": "The name of the specification." + }, + "displayName": { + "type": "string", + "description": "The display name of the specification." + }, + "blobDuration": { + "type": "string", + "description": "Duration of the blob." + } + } + }, + "MetricSpecification": { + "description": "Description of metrics specification.", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric." + }, + "displayName": { + "type": "string", + "description": "The display name of the metric." + }, + "displayDescription": { + "type": "string", + "description": "The description of the metric." + }, + "unit": { + "type": "string", + "description": "Units the metric to be displayed in." + }, + "aggregationType": { + "type": "string", + "description": "The aggregation type." + }, + "availabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/Availability" + }, + "description": "List of availability." + }, + "enableRegionalMdmAccount": { + "type": "boolean", + "description": "Whether regional MDM account enabled." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "Whether gaps would be filled with zeros." + }, + "metricFilterPattern": { + "type": "string", + "description": "Pattern for the filter of the metric." + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + }, + "description": "List of dimensions." + }, + "isInternal": { + "type": "boolean", + "description": "Whether the metric is internal." + }, + "sourceMdmAccount": { + "type": "string", + "description": "The source MDM account." + }, + "sourceMdmNamespace": { + "type": "string", + "description": "The source MDM namespace." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "The resource Id dimension name override." + } + } + }, + "Dimension": { + "description": "Dimension of the metric.", + "properties": { + "name": { + "type": "string", + "description": "The name of the dimension." + }, + "displayName": { + "type": "string", + "description": "The display name of the dimension." + }, + "internalName": { + "type": "string", + "description": "The internal name of the dimension." + } + } + }, + "Availability": { + "description": "Availability of the metric.", + "properties": { + "timeGrain": { + "type": "string", + "description": "The time grain of the availability." + }, + "retention": { + "type": "string", + "description": "The retention of the availability." + }, + "blobDuration": { + "type": "string", + "description": "Duration of the availability blob." + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json new file mode 100644 index 000000000000..bf3da7effee9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json @@ -0,0 +1,544 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": { + "delete": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_Delete", + "description": "Deletes the specified private endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete private endpoint": { + "$ref": "./examples/PrivateEndpointDelete.json" + } + } + }, + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_Get", + "description": "Gets the specified private endpoint by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private endpoint": { + "$ref": "./examples/PrivateEndpointGet.json" + }, + "Get private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointGetForManualApproval.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_CreateOrUpdate", + "description": "Creates or updates an private endpoint in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "description": "Parameters supplied to the create or update private endpoint operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting private endpoint resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpoint" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create private endpoint": { + "$ref": "./examples/PrivateEndpointCreate.json" + }, + "Create private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointCreateForManualApproval.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_List", + "description": "Gets all private endpoints in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of private endpoint resources.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private endpoints in resource group": { + "$ref": "./examples/PrivateEndpointList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "operationId": "PrivateEndpoints_ListBySubscription", + "description": "Gets all private endpoints in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of private endpoint resources.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all private endpoints": { + "$ref": "./examples/PrivateEndpointListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_List", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types": { + "$ref": "./examples/AvailablePrivateEndpointTypesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types in the resource group": { + "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PrivateEndpoint": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateEndpointProperties", + "description": "Properties of the private endpoint." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Private endpoint resource." + }, + "PrivateEndpointProperties": { + "properties": { + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The ID of the subnet from which the private IP will be allocated." + }, + "networkInterfaces": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + }, + "description": "Gets an array of references to the network interfaces created for this private endpoint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the private endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "privateLinkServiceConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "description": "A grouping of information about the connection to the remote resource." + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource." + } + }, + "description": "Properties of the private endpoint." + }, + "PrivateLinkServiceConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkServiceConnectionProperties", + "description": "Properties of the private link service connection." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "PrivateLinkServiceConnection resource." + }, + "PrivateLinkServiceConnectionProperties": { + "properties": { + "privateLinkServiceId": { + "type": "string", + "description": "The resource id of private link service." + }, + "groupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to." + }, + "requestMessage": { + "type": "string", + "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars." + }, + "privateLinkServiceConnectionState": { + "$ref": "./privateLinkService.json#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of read-only information about the state of the connection to the remote resource." + } + }, + "description": "Properties of the PrivateLinkServiceConnection." + }, + "PrivateEndpointListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "description": "Gets a list of private endpoint resources in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "Response for the ListPrivateEndpoints API service call." + }, + "AvailablePrivateEndpointTypesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailablePrivateEndpointType" + }, + "description": "An array of available privateEndpoint type." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "An array of available PrivateEndpoint types." + }, + "AvailablePrivateEndpointType": { + "properties": { + "name": { + "type": "string", + "description": "The name of the service and resource." + }, + "id": { + "type": "string", + "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." + }, + "type": { + "type": "string", + "description": "Resource type." + }, + "resourceName": { + "type": "string", + "description": "The name of the service and resource." + } + }, + "description": "The information of an AvailablePrivateEndpointType." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json new file mode 100644 index 000000000000..6e41bcf7a269 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -0,0 +1,869 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": { + "delete": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_Delete", + "description": "Deletes the specified private link service.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private link service." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete private link service": { + "$ref": "./examples/PrivateLinkServiceDelete.json" + } + } + }, + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_Get", + "description": "Gets the specified private link service by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private link service." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PrivateLinkService resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkService" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private link service": { + "$ref": "./examples/PrivateLinkServiceGet.json" + } + } + }, + "put": { + "tags": [ + "PrivateLinkService" + ], + "operationId": "PrivateLinkServices_CreateOrUpdate", + "description": "Creates or updates an private link service in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private link service." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateLinkService" + }, + "description": "Parameters supplied to the create or update private link service operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting privateLinkService resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkService" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting privateLinkService resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkService" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create private link service": { + "$ref": "./examples/PrivateLinkServiceCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_List", + "description": "Gets all private link services in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of privateLinkService resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceListResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private link service in resource group": { + "$ref": "./examples/PrivateLinkServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListBySubscription", + "description": "Gets all private link service in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PrivateLinkService resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceListResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all private list service": { + "$ref": "./examples/PrivateLinkServiceListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": { + "put": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_UpdatePrivateEndpointConnection", + "description": "Approve or reject private end point connection for a private link service in a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private link service." + }, + { + "name": "peConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private end point connection." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "Parameters supplied to approve or reject the private end point connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "approve or reject private end point connection for a private link service": { + "$ref": "./examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json" + } + } + }, + "delete": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_DeletePrivateEndpointConnection", + "description": "Delete private end point connection for a private link service in a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private link service." + }, + { + "name": "peConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private end point connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "delete private end point connection for a private link service": { + "$ref": "./examples/PrivateLinkServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "description": "Checks the subscription is visible to private link service", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PrivateLinkService": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkServiceProperties", + "description": "Properties of the private link service." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Private link service resource." + }, + "PrivateLinkServiceProperties": { + "properties": { + "loadBalancerFrontendIpConfigurations": { + "type": "array", + "items": { + "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration" + }, + "description": "An array of references to the load balancer IP configurations." + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceIpConfiguration" + }, + "description": "An array of references to the private link service IP configuration." + }, + "networkInterfaces": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + }, + "description": "Gets an array of references to the network interfaces created for this private link service." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the private link service. Possible values are: 'Updating', 'Succeeded', and 'Failed'." + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "An array of list about connections to the private endpoint." + }, + "visibility": { + "allOf": [ + { + "$ref": "#/definitions/ResourceSet" + } + ], + "description": "The visibility list of the private link service." + }, + "autoApproval": { + "allOf": [ + { + "$ref": "#/definitions/ResourceSet" + } + ], + "description": "The auto-approval list of the private link service." + }, + "fqdns": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of Fqdn." + }, + "alias": { + "readOnly": true, + "type": "string", + "description": "The alias of the private link service." + } + }, + "description": "Properties of the private link service." + }, + "ResourceSet": { + "properties": { + "subscriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of subscriptions." + } + }, + "description": "The base resource set for visibility and auto-approval." + }, + "PrivateLinkServiceIpConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkServiceIpConfigurationProperties", + "description": "Properties of the private link service ip configuration." + }, + "name": { + "type": "string", + "description": "The name of private link service ip configuration." + } + }, + "description": "The private link service ip configuration." + }, + "PrivateLinkServiceIpConfigurationProperties": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress", + "description": "The reference of the public IP resource." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "privateIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + } + }, + "description": "Properties of private link service IP configuration." + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Properties of the private end point connection." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "PrivateEndpointConnection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + } + }, + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "type": "string", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateLinkServiceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkService" + }, + "description": "Gets a list of PrivateLinkService resources in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "Response for the ListPrivateLinkService API service call." + }, + "CheckPrivateLinkServiceVisibilityRequest": { + "properties": { + "privateLinkServiceAlias": { + "type": "string", + "description": "The alias of the private link service." + } + }, + "description": "Request body of the CheckPrivateLinkServiceVisibility API service call." + }, + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + }, + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AutoApprovedPrivateLinkService" + }, + "description": "An array of auto approved private link service." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + }, + "AutoApprovedPrivateLinkService": { + "properties": { + "privateLinkService": { + "type": "string", + "description": "The id of the private link service resource." + } + }, + "description": "The information of an AutoApprovedPrivateLinkService." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpAddress.json new file mode 100644 index 000000000000..1e682cf8113a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpAddress.json @@ -0,0 +1,502 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": { + "delete": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_Delete", + "description": "Deletes the specified public IP address.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete public IP address": { + "$ref": "./examples/PublicIpAddressDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_Get", + "description": "Gets the specified public IP address in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PublicIPAddress resource.", + "schema": { + "$ref": "#/definitions/PublicIPAddress" + } + } + }, + "x-ms-examples": { + "Get public IP address": { + "$ref": "./examples/PublicIpAddressGet.json" + } + } + }, + "put": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_CreateOrUpdate", + "description": "Creates or updates a static or dynamic public IP address.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP address." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIPAddress" + }, + "description": "Parameters supplied to the create or update public IP address operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting PublicIPAddress resource.", + "schema": { + "$ref": "#/definitions/PublicIPAddress" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting PublicIPAddress resource.", + "schema": { + "$ref": "#/definitions/PublicIPAddress" + } + } + }, + "x-ms-examples": { + "Create public IP address defaults": { + "$ref": "./examples/PublicIpAddressCreateDefaults.json" + }, + "Create public IP address allocation method": { + "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" + }, + "Create public IP address DNS": { + "$ref": "./examples/PublicIpAddressCreateDns.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_UpdateTags", + "description": "Updates public IP address tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP address." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update public IP address tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting PublicIPAddress resource.", + "schema": { + "$ref": "#/definitions/PublicIPAddress" + } + } + }, + "x-ms-examples": { + "Update public IP address tags": { + "$ref": "./examples/PublicIpAddressUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_ListAll", + "description": "Gets all the public IP addresses in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPAddress resources.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + } + }, + "x-ms-examples": { + "List all public IP addresses": { + "$ref": "./examples/PublicIpAddressListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "tags": [ + "PublicIPAddresses" + ], + "operationId": "PublicIPAddresses_List", + "description": "Gets all public IP addresses in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPAddress resources.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + } + }, + "x-ms-examples": { + "List resource group public IP addresses": { + "$ref": "./examples/PublicIpAddressList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PublicIPAddressSku": { + "properties": { + "name": { + "type": "string", + "description": "Name of a public IP address SKU.", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuName", + "modelAsString": true + } + } + }, + "description": "SKU of a public IP address." + }, + "PublicIPAddressPropertiesFormat": { + "properties": { + "publicIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The public IP address allocation method." + }, + "publicIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "The public IP address version." + }, + "ipConfiguration": { + "readOnly": true, + "$ref": "./networkInterface.json#/definitions/IPConfiguration", + "description": "The IP configuration associated with the public IP address." + }, + "dnsSettings": { + "$ref": "#/definitions/PublicIPAddressDnsSettings", + "description": "The FQDN of the DNS record associated with the public IP address." + }, + "ddosSettings": { + "$ref": "#/definitions/DdosSettings", + "description": "The DDoS protection custom policy associated with the public IP address." + }, + "ipTags": { + "type": "array", + "items": { + "$ref": "#/definitions/IpTag" + }, + "description": "The list of tags associated with the public IP address." + }, + "ipAddress": { + "type": "string", + "description": "The IP address associated with the public IP address resource." + }, + "publicIPPrefix": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The Public IP Prefix this Public IP Address should be allocated from." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the public IP address." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Public IP address properties." + }, + "PublicIPAddress": { + "properties": { + "sku": { + "$ref": "#/definitions/PublicIPAddressSku", + "description": "The public IP address SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PublicIPAddressPropertiesFormat", + "description": "Public IP address properties." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Public IP address resource." + }, + "PublicIPAddressListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicIPAddress" + }, + "description": "A list of public IP addresses that exists in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPublicIpAddresses API service call." + }, + "PublicIPAddressDnsSettings": { + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system." + }, + "fqdn": { + "type": "string", + "description": "Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone." + }, + "reverseFqdn": { + "type": "string", + "description": "Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN." + } + }, + "description": "Contains FQDN of the DNS record associated with the public IP address." + }, + "DdosSettings": { + "properties": { + "ddosCustomPolicy": { + "readOnly": false, + "$ref": "./network.json#/definitions/SubResource", + "description": "The DDoS custom policy associated with the public IP." + }, + "protectionCoverage": { + "readOnly": false, + "type": "string", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "DdosSettingsProtectionCoverage", + "modelAsString": true + }, + "description": "The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized." + } + }, + "description": "Contains the DDoS protection settings of the public IP." + }, + "IpTag": { + "properties": { + "ipTagType": { + "type": "string", + "description": "Gets or sets the ipTag type: Example FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc." + } + }, + "description": "Contains the IpTag associated with the object." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpPrefix.json new file mode 100644 index 000000000000..7f9f30d8148a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpPrefix.json @@ -0,0 +1,440 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { + "delete": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Delete", + "description": "Deletes the specified public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the PublicIpPrefix." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete public IP prefix": { + "$ref": "./examples/PublicIpPrefixDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_Get", + "description": "Gets the specified public IP prefix in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + }, + "x-ms-examples": { + "Get public IP prefix": { + "$ref": "./examples/PublicIpPrefixGet.json" + } + } + }, + "put": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "description": "Creates or updates a static or dynamic public IP prefix.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "Parameters supplied to the create or update public IP prefix operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + }, + "x-ms-examples": { + "Create public IP prefix defaults": { + "$ref": "./examples/PublicIpPrefixCreateDefaults.json" + }, + "Create public IP prefix allocation method": { + "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_UpdateTags", + "description": "Updates public IP prefix tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpPrefixName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP prefix." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update public IP prefix tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + }, + "x-ms-examples": { + "Update public IP prefix tags": { + "$ref": "./examples/PublicIpPrefixUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_ListAll", + "description": "Gets all the public IP prefixes in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + } + }, + "x-ms-examples": { + "List all public IP prefixes": { + "$ref": "./examples/PublicIpPrefixListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "tags": [ + "PublicIPPrefixes" + ], + "operationId": "PublicIPPrefixes_List", + "description": "Gets all public IP prefixes in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPPrefix resources.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + } + }, + "x-ms-examples": { + "List resource group public IP prefixes": { + "$ref": "./examples/PublicIpPrefixList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PublicIPPrefixSku": { + "properties": { + "name": { + "type": "string", + "description": "Name of a public IP prefix SKU.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPPrefixSkuName", + "modelAsString": true + } + } + }, + "description": "SKU of a public IP prefix." + }, + "PublicIPPrefixPropertiesFormat": { + "properties": { + "publicIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "The public IP address version." + }, + "ipTags": { + "type": "array", + "items": { + "$ref": "./publicIpAddress.json#/definitions/IpTag" + }, + "description": "The list of tags associated with the public IP prefix." + }, + "prefixLength": { + "type": "integer", + "format": "int32", + "description": "The Length of the Public IP Prefix." + }, + "ipPrefix": { + "type": "string", + "description": "The allocated Prefix." + }, + "publicIPAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ReferencedPublicIpAddress" + }, + "description": "The list of all referenced PublicIPAddresses." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP prefix resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Public IP prefix properties." + }, + "PublicIPPrefix": { + "properties": { + "sku": { + "$ref": "#/definitions/PublicIPPrefixSku", + "description": "The public IP prefix SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", + "description": "Public IP prefix properties." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Public IP prefix resource." + }, + "PublicIPPrefixListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "description": "A list of public IP prefixes that exists in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPublicIpPrefixes API service call." + }, + "ReferencedPublicIpAddress": { + "properties": { + "id": { + "type": "string", + "description": "The PublicIPAddress Reference." + } + }, + "description": "Reference to a public IP address." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeFilter.json new file mode 100644 index 000000000000..ea9c0ba3d7f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeFilter.json @@ -0,0 +1,820 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { + "delete": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Delete", + "x-ms-examples": { + "RouteFilterDelete": { + "$ref": "./examples/RouteFilterDelete.json" + } + }, + "description": "Deletes the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Get", + "x-ms-examples": { + "RouteFilterGet": { + "$ref": "./examples/RouteFilterGet.json" + } + }, + "description": "Gets the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced express route bgp peering resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + } + }, + "put": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterCreate": { + "$ref": "./examples/RouteFilterCreate.json" + } + }, + "description": "Creates or updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilter" + }, + "description": "Parameters supplied to the create or update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_Update", + "x-ms-examples": { + "RouteFilterUpdate": { + "$ref": "./examples/RouteFilterUpdate.json" + } + }, + "description": "Updates a route filter in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "routeFilterParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilter" + }, + "description": "Parameters supplied to the update route filter operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter resource.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_ListByResourceGroup", + "x-ms-examples": { + "RouteFilterListByResourceGroup": { + "$ref": "./examples/RouteFilterListByResourceGroup.json" + } + }, + "description": "Gets all route filters in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { + "get": { + "tags": [ + "RouteFilters" + ], + "operationId": "RouteFilters_List", + "x-ms-examples": { + "RouteFilterList": { + "$ref": "./examples/RouteFilterList.json" + } + }, + "description": "Gets all route filters in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter resources.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { + "delete": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Delete", + "x-ms-examples": { + "RouteFilterRuleDelete": { + "$ref": "./examples/RouteFilterRuleDelete.json" + } + }, + "description": "Deletes the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Accepted." + }, + "204": { + "description": "Rule was deleted or not found." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Get", + "x-ms-examples": { + "RouteFilterRuleGet": { + "$ref": "./examples/RouteFilterRuleGet.json" + } + }, + "description": "Gets the specified rule from a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + } + }, + "put": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_CreateOrUpdate", + "x-ms-examples": { + "RouteFilterRuleCreate": { + "$ref": "./examples/RouteFilterRuleCreate.json" + } + }, + "description": "Creates or updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Parameters supplied to the create or update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_Update", + "x-ms-examples": { + "RouteFilterRuleUpdate": { + "$ref": "./examples/RouteFilterRuleUpdate.json" + } + }, + "description": "Updates a route in the specified route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter rule." + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchRouteFilterRule" + }, + "description": "Parameters supplied to the update route filter rule operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route Filter Rule resource.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { + "get": { + "tags": [ + "RouteFilterRules" + ], + "operationId": "RouteFilterRules_ListByRouteFilter", + "x-ms-examples": { + "RouteFilterRuleListByRouteFilter": { + "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" + } + }, + "description": "Gets all RouteFilterRules in a route filter.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeFilterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route filter." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route Filter Rule resources.", + "schema": { + "$ref": "#/definitions/RouteFilterRuleListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "RouteFilterRulePropertiesFormat": { + "required": [ + "access", + "routeFilterRuleType", + "communities" + ], + "properties": { + "access": { + "$ref": "./network.json#/definitions/Access", + "description": "The access type of the rule." + }, + "routeFilterRuleType": { + "type": "string", + "description": "The rule type of the rule.", + "enum": [ + "Community" + ], + "x-ms-enum": { + "name": "RouteFilterRuleType", + "modelAsString": true + } + }, + "communities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." + } + }, + "description": "Route Filter Rule Resource." + }, + "RouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource." + }, + "PatchRouteFilterRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Rule Resource." + }, + "RouteFilterPropertiesFormat": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Collection of RouteFilterRules contained within a route filter." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" + }, + "description": "A collection of references to express route circuit peerings." + }, + "ipv6Peerings": { + "type": "array", + "items": { + "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" + }, + "description": "A collection of references to express route circuit ipv6 peerings." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'." + } + }, + "description": "Route Filter Resource." + }, + "RouteFilter": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Route Filter Resource." + }, + "PatchRouteFilter": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route Filter Resource." + }, + "RouteFilterListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilter" + }, + "description": "Gets a list of route filters in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRouteFilters API service call." + }, + "RouteFilterRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteFilterRule" + }, + "description": "Gets a list of RouteFilterRules in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRouteFilterRules API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeTable.json new file mode 100644 index 000000000000..69cb914904cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/routeTable.json @@ -0,0 +1,692 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": { + "delete": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_Delete", + "description": "Deletes the specified route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "200": { + "description": "Request successful. Operation to delete was accepted." + }, + "202": { + "description": "Accepted. If route table not found returned synchronously, otherwise if found returned asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete route table": { + "$ref": "./examples/RouteTableDelete.json" + } + } + }, + "get": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_Get", + "description": "Gets the specified route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting RouteTable resource.", + "schema": { + "$ref": "#/definitions/RouteTable" + } + } + }, + "x-ms-examples": { + "Get route table": { + "$ref": "./examples/RouteTableGet.json" + } + } + }, + "put": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_CreateOrUpdate", + "description": "Create or updates a route table in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RouteTable" + }, + "description": "Parameters supplied to the create or update route table operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting RouteTable resource.", + "schema": { + "$ref": "#/definitions/RouteTable" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting RouteTable resource.", + "schema": { + "$ref": "#/definitions/RouteTable" + } + } + }, + "x-ms-examples": { + "Create route table": { + "$ref": "./examples/RouteTableCreate.json" + }, + "Create route table with route": { + "$ref": "./examples/RouteTableCreateWithRoute.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_UpdateTags", + "description": "Updates a route table tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update route table tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting RouteTable resource.", + "schema": { + "$ref": "#/definitions/RouteTable" + } + } + }, + "x-ms-examples": { + "Update route table tags": { + "$ref": "./examples/RouteTableUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables": { + "get": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_List", + "description": "Gets all route tables in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of RouteTable resources.", + "schema": { + "$ref": "#/definitions/RouteTableListResult" + } + } + }, + "x-ms-examples": { + "List route tables in resource group": { + "$ref": "./examples/RouteTableList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": { + "get": { + "tags": [ + "RouteTables" + ], + "operationId": "RouteTables_ListAll", + "description": "Gets all route tables in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of RouteTable resources.", + "schema": { + "$ref": "#/definitions/RouteTableListResult" + } + } + }, + "x-ms-examples": { + "List all route tables": { + "$ref": "./examples/RouteTableListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": { + "delete": { + "tags": [ + "Routes" + ], + "operationId": "Routes_Delete", + "description": "Deletes the specified route from a route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "name": "routeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Accepted." + }, + "204": { + "description": "Route was deleted or not found." + } + }, + "x-ms-examples": { + "Delete route": { + "$ref": "./examples/RouteTableRouteDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Routes" + ], + "operationId": "Routes_Get", + "description": "Gets the specified route from a route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "name": "routeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Route resource.", + "schema": { + "$ref": "#/definitions/Route" + } + } + }, + "x-ms-examples": { + "Get route": { + "$ref": "./examples/RouteTableRouteGet.json" + } + } + }, + "put": { + "tags": [ + "Routes" + ], + "operationId": "Routes_CreateOrUpdate", + "description": "Creates or updates a route in the specified route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "name": "routeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route." + }, + { + "name": "routeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Route" + }, + "description": "Parameters supplied to the create or update route operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Route resource.", + "schema": { + "$ref": "#/definitions/Route" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Route resource.", + "schema": { + "$ref": "#/definitions/Route" + } + } + }, + "x-ms-examples": { + "Create route": { + "$ref": "./examples/RouteTableRouteCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes": { + "get": { + "tags": [ + "Routes" + ], + "operationId": "Routes_List", + "description": "Gets all routes in a route table.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "routeTableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the route table." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Route resources.", + "schema": { + "$ref": "#/definitions/RouteListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List routes": { + "$ref": "./examples/RouteTableRouteList.json" + } + } + } + } + }, + "definitions": { + "RoutePropertiesFormat": { + "properties": { + "addressPrefix": { + "type": "string", + "description": "The destination CIDR to which the route applies." + }, + "nextHopType": { + "$ref": "#/definitions/RouteNextHopType", + "description": "The type of Azure hop the packet should be sent to." + }, + "nextHopIpAddress": { + "type": "string", + "description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "nextHopType" + ], + "description": "Route resource." + }, + "Route": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RoutePropertiesFormat", + "description": "Properties of the route." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Route resource." + }, + "RouteTablePropertiesFormat": { + "properties": { + "routes": { + "type": "array", + "items": { + "$ref": "#/definitions/Route" + }, + "description": "Collection of routes contained within a route table." + }, + "subnets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Subnet" + }, + "description": "A collection of references to subnets." + }, + "disableBgpRoutePropagation": { + "type": "boolean", + "description": "Gets or sets whether to disable the routes learned by BGP on that route table. True means disable." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Route Table resource." + }, + "RouteTable": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteTablePropertiesFormat", + "description": "Properties of the route table." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Route table resource." + }, + "RouteTableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouteTable" + }, + "description": "Gets a list of route tables in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRouteTable API service call." + }, + "RouteListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Route" + }, + "description": "Gets a list of routes in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListRoute API service call." + }, + "RouteNextHopType": { + "type": "string", + "description": "The type of Azure hop the packet should be sent to.", + "enum": [ + "VirtualNetworkGateway", + "VnetLocal", + "Internet", + "VirtualAppliance", + "None" + ], + "x-ms-enum": { + "name": "RouteNextHopType", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceCommunity.json new file mode 100644 index 000000000000..3d3913e0c9ed --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceCommunity.json @@ -0,0 +1,152 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": { + "get": { + "tags": [ + "BgpServiceCommunities" + ], + "operationId": "BgpServiceCommunities_List", + "x-ms-examples": { + "ServiceCommunityList": { + "$ref": "./examples/ServiceCommunityList.json" + } + }, + "description": "Gets all the available bgp service communities.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of BgpServiceCommunity resources.", + "schema": { + "$ref": "#/definitions/BgpServiceCommunityListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "BGPCommunity": { + "properties": { + "serviceSupportedRegion": { + "type": "string", + "description": "The region which the service support. e.g. For O365, region is Global." + }, + "communityName": { + "type": "string", + "description": "The name of the bgp community. e.g. Skype." + }, + "communityValue": { + "type": "string", + "description": "The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing." + }, + "communityPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The prefixes that the bgp community contains." + }, + "isAuthorizedToUse": { + "type": "boolean", + "description": "Customer is authorized to use bgp community or not." + }, + "serviceGroup": { + "type": "string", + "description": "The service group of the bgp community contains." + } + }, + "description": "Contains bgp community information offered in Service Community resources." + }, + "BgpServiceCommunityPropertiesFormat": { + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the bgp community. e.g. Skype." + }, + "bgpCommunities": { + "type": "array", + "items": { + "$ref": "#/definitions/BGPCommunity" + }, + "description": "Get a list of bgp communities." + } + }, + "description": "Properties of Service Community." + }, + "BgpServiceCommunity": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BgpServiceCommunityPropertiesFormat", + "description": "Properties of the BGP service community." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Service Community Properties." + }, + "BgpServiceCommunityListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BgpServiceCommunity" + }, + "description": "A list of service community resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListServiceCommunity API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceEndpointPolicy.json new file mode 100644 index 000000000000..fc91cb6f1e64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceEndpointPolicy.json @@ -0,0 +1,681 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": { + "delete": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_Delete", + "description": "Deletes the specified service endpoint policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-examples": { + "Delete service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_Get", + "description": "Gets the specified service Endpoint Policies in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ServiceEndpointPolicy resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicy" + } + } + }, + "x-ms-examples": { + "Get service endPoint Policy": { + "$ref": "./examples/ServiceEndpointPolicyGet.json" + } + } + }, + "put": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "description": "Creates or updates a service Endpoint Policies.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicy" + }, + "description": "Parameters supplied to the create or update service endpoint policy operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ServiceEndpointPolicy resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicy" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ServiceEndpointPolicy resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicy" + } + } + }, + "x-ms-examples": { + "Create service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyCreate.json" + }, + "Create service endpoint policy with definition": { + "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_Update", + "description": "Updates service Endpoint Policies.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update service endpoint policy tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ServiceEndpointPolicy resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicy" + } + } + }, + "x-ms-examples": { + "Update service endpoint policy tags": { + "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": { + "get": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_List", + "description": "Gets all the service endpoint policies in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ServiceEndpointPolicy resources.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyListResult" + } + } + }, + "x-ms-examples": { + "List all service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies": { + "get": { + "tags": [ + "ServiceEndpointPolicies" + ], + "operationId": "ServiceEndpointPolicies_ListByResourceGroup", + "description": "Gets all service endpoint Policies in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ServiceEndpointPolicy resources.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyListResult" + } + } + }, + "x-ms-examples": { + "List resource group service endpoint policies": { + "$ref": "./examples/ServiceEndpointPolicyList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": { + "delete": { + "tags": [ + "ServiceEndpointPolicyDefinitions" + ], + "operationId": "ServiceEndpointPolicyDefinitions_Delete", + "description": "Deletes the specified ServiceEndpoint policy definitions.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Service Endpoint Policy." + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy definition." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete service endpoint policy definitions from service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "serviceEndpointPolicyDefinitions" + ], + "operationId": "ServiceEndpointPolicyDefinitions_Get", + "description": "Get the specified service endpoint policy definitions from service endpoint policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy name." + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy definition name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + } + } + }, + "x-ms-examples": { + "Get service endpoint definition in service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" + } + } + }, + "put": { + "tags": [ + "serviceEndpointPolicyDefinitions" + ], + "operationId": "ServiceEndpointPolicyDefinitions_CreateOrUpdate", + "description": "Creates or updates a service endpoint policy definition in the specified service endpoint policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy." + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy definition name." + }, + { + "name": "ServiceEndpointPolicyDefinitions", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + }, + "description": "Parameters supplied to the create or update service endpoint policy operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + } + } + }, + "x-ms-examples": { + "Create service endpoint policy definition": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions": { + "get": { + "tags": [ + "ServiceEndpointPolicyDefinitions" + ], + "operationId": "ServiceEndpointPolicyDefinitions_ListByResourceGroup", + "description": "Gets all service endpoint policy definitions in a service end point policy.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "serviceEndpointPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the service endpoint policy name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ServiceEndpointPolicyDefinition resources.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinitionListResult" + } + } + }, + "x-ms-examples": { + "List service endpoint definitions in service end point policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ServiceEndpointPolicyDefinitionPropertiesFormat": { + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "service": { + "type": "string", + "description": "Service endpoint name." + }, + "serviceResources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of service resources." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Service Endpoint policy definition resource." + }, + "ServiceEndpointPolicyDefinition": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceEndpointPolicyDefinitionPropertiesFormat", + "description": "Properties of the service endpoint policy definition." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Service Endpoint policy definitions." + }, + "ServiceEndpointPolicyDefinitionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + }, + "description": "The service endpoint policy definition in a service endpoint policy." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy." + }, + "ServiceEndpointPolicyPropertiesFormat": { + "properties": { + "serviceEndpointPolicyDefinitions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinition" + }, + "description": "A collection of service endpoint policy definitions of the service endpoint policy." + }, + "subnets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Subnet" + }, + "description": "A collection of references to subnets." + }, + "resourceGuid": { + "type": "string", + "readOnly": true, + "description": "The resource GUID property of the service endpoint policy resource." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the service endpoint policy. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Service Endpoint Policy resource." + }, + "ServiceEndpointPolicy": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceEndpointPolicyPropertiesFormat", + "description": "Properties of the service end point policy." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Service End point policy resource." + }, + "ServiceEndpointPolicyListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEndpointPolicy" + }, + "description": "A list of ServiceEndpointPolicy resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListServiceEndpointPolicies API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceTags.json new file mode 100644 index 000000000000..493096afe5ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/serviceTags.json @@ -0,0 +1,160 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags": { + "get": { + "operationId": "ServiceTags_List", + "description": "Gets a list of service tag information resources.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns a list of service tag information resources.", + "schema": { + "$ref": "#/definitions/ServiceTagsListResult" + } + } + }, + "x-ms-examples": { + "Get list of service tags": { + "$ref": "./examples/ServiceTagsList.json" + } + } + } + } + }, + "definitions": { + "ServiceTagsListResult": { + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the cloud." + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The ID of the cloud." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The azure resource type." + }, + "changeNumber": { + "type": "string", + "readOnly": true, + "description": "The iteration number." + }, + "cloud": { + "type": "string", + "readOnly": true, + "description": "The name of the cloud." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceTagInformation" + }, + "readOnly": true, + "description": "The list of service tag information resources." + } + }, + "description": "Response for the ListServiceTags API service call." + }, + "ServiceTagInformation": { + "properties": { + "properties": { + "$ref": "#/definitions/ServiceTagInformationPropertiesFormat", + "readOnly": true, + "description": "Properties of the service tag information." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of service tag." + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The ID of service tag." + } + }, + "description": "The service tag information." + }, + "ServiceTagInformationPropertiesFormat": { + "properties": { + "changeNumber": { + "type": "string", + "readOnly": true, + "description": "The iteration number of service tag." + }, + "region": { + "type": "string", + "readOnly": true, + "description": "The region of service tag." + }, + "systemService": { + "type": "string", + "readOnly": true, + "description": "The name of system service." + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "The list of IP address prefixes." + } + }, + "description": "Properties of the service tag information." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/usage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/usage.json new file mode 100644 index 000000000000..61ba514702db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/usage.json @@ -0,0 +1,154 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": { + "get": { + "tags": [ + "Usages" + ], + "operationId": "Usages_List", + "description": "List network usages for a subscription.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location where resource usage is queried.", + "pattern": "^[-\\w\\._ ]+$" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Usage resources.", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + } + }, + "x-ms-examples": { + "List usages": { + "$ref": "./examples/UsageList.json" + }, + "List usages spaced location": { + "$ref": "./examples/UsageListSpacedLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "UsageName": { + "properties": { + "value": { + "type": "string", + "description": "A string describing the resource name." + }, + "localizedValue": { + "type": "string", + "description": "A localized string describing the resource name." + } + }, + "description": "The usage names." + }, + "Usage": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Resource identifier." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of usage." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "required": [ + "unit", + "currentValue", + "limit", + "name" + ], + "description": "Describes network resource usage." + }, + "UsagesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list network resource usages." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "The list usages operation response." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json new file mode 100644 index 000000000000..e3d4578e2630 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json @@ -0,0 +1,1723 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": { + "delete": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_Delete", + "description": "Deletes the specified virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete virtual network": { + "$ref": "./examples/VirtualNetworkDelete.json" + } + } + }, + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_Get", + "description": "Gets the specified virtual network by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetwork resource.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + }, + "x-ms-examples": { + "Get virtual network": { + "$ref": "./examples/VirtualNetworkGet.json" + }, + "Get virtual network with a delegated subnet": { + "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" + }, + "Get virtual network with service association links": { + "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" + } + } + }, + "put": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_CreateOrUpdate", + "description": "Creates or updates a virtual network in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetwork" + }, + "description": "Parameters supplied to the create or update virtual network operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetwork resource.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetwork resource.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create virtual network": { + "$ref": "./examples/VirtualNetworkCreate.json" + }, + "Create virtual network with subnet": { + "$ref": "./examples/VirtualNetworkCreateSubnet.json" + }, + "Create virtual network with subnet containing address prefixes": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" + }, + "Create virtual network with service endpoints": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" + }, + "Create virtual network with service endpoints and service endpoint policy": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" + }, + "Create virtual network with delegated subnets": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" + } + } + }, + "patch": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_UpdateTags", + "description": "Updates a virtual network tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update virtual network tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetwork resource.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update virtual network tags": { + "$ref": "./examples/VirtualNetworkUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_ListAll", + "description": "Gets all virtual networks in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetwork resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + } + }, + "x-ms-examples": { + "List all virtual networks": { + "$ref": "./examples/VirtualNetworkListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_List", + "description": "Gets all virtual networks in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetwork resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + } + }, + "x-ms-examples": { + "List virtual networks in resource group": { + "$ref": "./examples/VirtualNetworkList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": { + "delete": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_Delete", + "description": "Deletes the specified subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "Delete subnet": { + "$ref": "./examples/SubnetDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_Get", + "description": "Gets the specified subnet by virtual network and resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Subnet resource.", + "schema": { + "$ref": "#/definitions/Subnet" + } + } + }, + "x-ms-examples": { + "Get subnet": { + "$ref": "./examples/SubnetGet.json" + }, + "Get subnet with a delegation": { + "$ref": "./examples/SubnetGetWithDelegation.json" + } + } + }, + "put": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_CreateOrUpdate", + "description": "Creates or updates a subnet in the specified virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "name": "subnetParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Subnet" + }, + "description": "Parameters supplied to the create or update subnet operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Subnet resource.", + "schema": { + "$ref": "#/definitions/Subnet" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Subnet resource.", + "schema": { + "$ref": "#/definitions/Subnet" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create subnet": { + "$ref": "./examples/SubnetCreate.json" + }, + "Create subnet with service endpoints": { + "$ref": "./examples/SubnetCreateServiceEndpoint.json" + }, + "Create subnet with a delegation": { + "$ref": "./examples/SubnetCreateWithDelegation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies": { + "post": { + "operationId": "Subnets_PrepareNetworkPolicies", + "description": "Prepares a subnet by applying network intent policies.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "name": "prepareNetworkPoliciesRequestParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrepareNetworkPoliciesRequest" + }, + "description": "Parameters supplied to prepare subnet by applying network intent policies." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Preparing subnet by applying network intent policies is successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Network Policies": { + "$ref": "./examples/SubnetPrepareNetworkPolicies.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": { + "get": { + "operationId": "ResourceNavigationLinks_List", + "description": "Gets a list of resource navigation links for a subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of resource navigation links for the subnet.", + "schema": { + "$ref": "#/definitions/ResourceNavigationLinksListResult" + } + } + }, + "x-ms-examples": { + "Get Resource Navigation Links": { + "$ref": "./examples/VirtualNetworkGetResourceNavigationLinks.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": { + "get": { + "operationId": "ServiceAssociationLinks_List", + "description": "Gets a list of service association links for a subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of service association links for the subnet.", + "schema": { + "$ref": "#/definitions/ServiceAssociationLinksListResult" + } + } + }, + "x-ms-examples": { + "Get Service Association Links": { + "$ref": "./examples/VirtualNetworkGetServiceAssociationLinks.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": { + "get": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_List", + "description": "Gets all subnets in a virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Subnet resources.", + "schema": { + "$ref": "#/definitions/SubnetListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List subnets": { + "$ref": "./examples/SubnetList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": { + "delete": { + "tags": [ + "VirtualNetworkPeerings" + ], + "operationId": "VirtualNetworkPeerings_Delete", + "description": "Deletes the specified virtual network peering.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "Delete peering": { + "$ref": "./examples/VirtualNetworkPeeringDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "VirtualNetworkPeerings" + ], + "operationId": "VirtualNetworkPeerings_Get", + "description": "Gets the specified virtual network peering.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network peering." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetworkPeering resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkPeering" + } + } + }, + "x-ms-examples": { + "Get peering": { + "$ref": "./examples/VirtualNetworkPeeringGet.json" + } + } + }, + "put": { + "tags": [ + "VirtualNetworkPeerings" + ], + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "description": "Creates or updates a peering in the specified virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "VirtualNetworkPeeringParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkPeering" + }, + "description": "Parameters supplied to the create or update virtual network peering operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkPeering resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkPeering" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkPeering resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkPeering" + } + } + }, + "x-ms-examples": { + "Create peering": { + "$ref": "./examples/VirtualNetworkPeeringCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings": { + "get": { + "tags": [ + "VirtualNetworkPeerings" + ], + "operationId": "VirtualNetworkPeerings_List", + "description": "Gets all virtual network peerings in a virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetworkPeering resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkPeeringListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List peerings": { + "$ref": "./examples/VirtualNetworkPeeringList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability": { + "get": { + "operationId": "VirtualNetworks_CheckIPAddressAvailability", + "description": "Checks whether a private IP address is available for use.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "ipAddress", + "in": "query", + "required": true, + "type": "string", + "description": "The private IP address to be verified." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Private IP address availability and list of other free addresses if the requested one is not available.", + "schema": { + "$ref": "#/definitions/IPAddressAvailabilityResult" + } + } + }, + "x-ms-examples": { + "Check IP address availability": { + "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages": { + "get": { + "operationId": "VirtualNetworks_ListUsage", + "description": "Lists usage stats.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Usage stats for vnet.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListUsageResult" + } + } + }, + "x-ms-examples": { + "VnetGetUsage": { + "$ref": "./examples/VirtualNetworkListUsage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ServiceAssociationLinkPropertiesFormat": { + "properties": { + "linkedResourceType": { + "type": "string", + "description": "Resource type of the linked resource." + }, + "link": { + "type": "string", + "description": "Link to the external resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the ServiceAssociationLink resource." + }, + "allowDelete": { + "type": "boolean", + "description": "If true, the resource can be deleted." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of locations." + } + }, + "description": "Properties of ServiceAssociationLink." + }, + "ServiceAssociationLink": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceAssociationLinkPropertiesFormat", + "description": "Resource navigation link properties format." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ServiceAssociationLink resource." + }, + "ResourceNavigationLinkFormat": { + "properties": { + "linkedResourceType": { + "type": "string", + "description": "Resource type of the linked resource." + }, + "link": { + "type": "string", + "description": "Link to the external resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the ResourceNavigationLink resource." + } + }, + "description": "Properties of ResourceNavigationLink." + }, + "ResourceNavigationLink": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ResourceNavigationLinkFormat", + "description": "Resource navigation link properties format." + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource navigation link identifier." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ResourceNavigationLink resource." + }, + "ServiceDelegationPropertiesFormat": { + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)." + }, + "actions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Describes the actions permitted to the service upon delegation." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Properties of a service delegation." + }, + "Delegation": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceDelegationPropertiesFormat", + "description": "Properties of the subnet." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a subnet. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Details the service to which the subnet is delegated." + }, + "SubnetPropertiesFormat": { + "properties": { + "addressPrefix": { + "type": "string", + "description": "The address prefix for the subnet." + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of address prefixes for the subnet." + }, + "networkSecurityGroup": { + "$ref": "./networkSecurityGroup.json#/definitions/NetworkSecurityGroup", + "description": "The reference of the NetworkSecurityGroup resource." + }, + "routeTable": { + "$ref": "./routeTable.json#/definitions/RouteTable", + "description": "The reference of the RouteTable resource." + }, + "natGateway": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Nat gateway associated with this subnet." + }, + "serviceEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEndpointPropertiesFormat" + }, + "description": "An array of service endpoints." + }, + "serviceEndpointPolicies": { + "type": "array", + "items": { + "$ref": "./serviceEndpointPolicy.json#/definitions/ServiceEndpointPolicy" + }, + "description": "An array of service endpoint policies." + }, + "privateEndpoints": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint" + }, + "description": "An array of references to private endpoints." + }, + "ipConfigurations": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/IPConfiguration" + }, + "description": "Gets an array of references to the network interface IP configurations using subnet." + }, + "ipConfigurationProfiles": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./networkProfile.json#/definitions/IPConfigurationProfile" + }, + "description": "Array of IP configuration profiles which reference this subnet." + }, + "resourceNavigationLinks": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceNavigationLink" + }, + "description": "Gets an array of references to the external resources using subnet." + }, + "serviceAssociationLinks": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAssociationLink" + }, + "description": "Gets an array of references to services injecting into this subnet." + }, + "delegations": { + "type": "array", + "items": { + "$ref": "#/definitions/Delegation" + }, + "description": "Gets an array of references to the delegations on the subnet." + }, + "purpose": { + "type": "string", + "readOnly": true, + "description": "A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the resource." + }, + "privateEndpointNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private end point in the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private link service in the subnet." + } + }, + "description": "Properties of the subnet." + }, + "ServiceEndpointPropertiesFormat": { + "properties": { + "service": { + "type": "string", + "description": "The type of the endpoint service." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of locations." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "The service endpoint properties." + }, + "VirtualNetworkPeeringPropertiesFormat": { + "properties": { + "allowVirtualNetworkAccess": { + "type": "boolean", + "description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space." + }, + "allowForwardedTraffic": { + "type": "boolean", + "description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network." + }, + "allowGatewayTransit": { + "type": "boolean", + "description": "If gateway links can be used in remote virtual networking to link to this virtual network." + }, + "useRemoteGateways": { + "type": "boolean", + "description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway." + }, + "remoteVirtualNetwork": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)." + }, + "remoteAddressSpace": { + "$ref": "#/definitions/AddressSpace", + "description": "The reference of the remote virtual network address space." + }, + "peeringState": { + "type": "string", + "description": "The status of the virtual network peering.", + "enum": [ + "Initiated", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "VirtualNetworkPeeringState", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the resource." + } + }, + "description": "Properties of the virtual network peering." + }, + "Subnet": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubnetPropertiesFormat", + "description": "Properties of the subnet." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Subnet in a virtual network resource." + }, + "VirtualNetworkPeering": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat", + "description": "Properties of the virtual network peering." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Peerings in a virtual network resource." + }, + "SubnetListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Subnet" + }, + "description": "The subnets in a virtual network." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network." + }, + "ResourceNavigationLinksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceNavigationLink" + }, + "description": "The resource navigation links in a subnet." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ResourceNavigationLinks_List operation." + }, + "ServiceAssociationLinksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAssociationLink" + }, + "description": "The service association links in a subnet." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ServiceAssociationLinks_List operation." + }, + "VirtualNetworkPeeringListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkPeering" + }, + "description": "The peerings in a virtual network." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network." + }, + "VirtualNetworkPropertiesFormat": { + "properties": { + "addressSpace": { + "$ref": "#/definitions/AddressSpace", + "description": "The AddressSpace that contains an array of IP address ranges that can be used by subnets." + }, + "dhcpOptions": { + "$ref": "#/definitions/DhcpOptions", + "description": "The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network." + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/Subnet" + }, + "description": "A list of subnets in a Virtual Network." + }, + "virtualNetworkPeerings": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkPeering" + }, + "description": "A list of peerings in a Virtual Network." + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the Virtual Network resource." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "enableDdosProtection": { + "type": "boolean", + "default": false, + "description": "Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource." + }, + "enableVmProtection": { + "type": "boolean", + "default": false, + "description": "Indicates if VM protection is enabled for all the subnets in the virtual network." + }, + "ddosProtectionPlan": { + "$ref": "./network.json#/definitions/SubResource", + "default": null, + "description": "The DDoS protection plan associated with the virtual network." + } + }, + "description": "Properties of the virtual network." + }, + "VirtualNetwork": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkPropertiesFormat", + "description": "Properties of the virtual network." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Virtual Network resource." + }, + "VirtualNetworkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + }, + "description": "Gets a list of VirtualNetwork resources in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListVirtualNetworks API service call." + }, + "AddressSpace": { + "properties": { + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of address blocks reserved for this virtual network in CIDR notation." + } + }, + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network." + }, + "DhcpOptions": { + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of DNS servers IP addresses." + } + }, + "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options." + }, + "IPAddressAvailabilityResult": { + "properties": { + "available": { + "type": "boolean", + "description": "Private IP address availability." + }, + "availableIPAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Contains other available private IP addresses if the asked for address is taken." + } + }, + "description": "Response for CheckIPAddressAvailability API service call." + }, + "VirtualNetworkListUsageResult": { + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/VirtualNetworkUsage" + }, + "description": "VirtualNetwork usage stats." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the virtual networks GetUsage API service call." + }, + "VirtualNetworkUsage": { + "properties": { + "currentValue": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "Indicates number of IPs used from the Subnet." + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Subnet identifier." + }, + "limit": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "Indicates the size of the subnet." + }, + "name": { + "$ref": "#/definitions/VirtualNetworkUsageName", + "readOnly": true, + "description": "The name containing common and localized value for usage." + }, + "unit": { + "type": "string", + "readOnly": true, + "description": "Usage units. Returns 'Count'." + } + }, + "description": "Usage details for subnet." + }, + "VirtualNetworkUsageName": { + "properties": { + "localizedValue": { + "type": "string", + "readOnly": true, + "description": "Localized subnet size and usage string." + }, + "value": { + "type": "string", + "readOnly": true, + "description": "Subnet size and usage string." + } + }, + "description": "Usage strings container." + }, + "PrepareNetworkPoliciesRequest": { + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service for which subnet is being prepared for." + }, + "networkIntentPolicyConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkIntentPolicyConfiguration" + }, + "description": "A list of NetworkIntentPolicyConfiguration." + } + }, + "description": "Details of PrepareNetworkPolicies for Subnet." + }, + "NetworkIntentPolicyConfiguration": { + "properties": { + "networkIntentPolicyName": { + "type": "string", + "description": "The name of the Network Intent Policy for storing in target subscription." + }, + "sourceNetworkIntentPolicy": { + "$ref": "#/definitions/NetworkIntentPolicy", + "description": "Source network intent policy." + } + }, + "description": "Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest." + }, + "NetworkIntentPolicy": { + "properties": { + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Network Intent Policy resource." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkGateway.json new file mode 100644 index 000000000000..33b919500e59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkGateway.json @@ -0,0 +1,2991 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": { + "put": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "description": "Creates or updates a virtual network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "description": "Parameters supplied to create or update virtual network gateway operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Get", + "description": "Gets the specified virtual network gateway by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a VirtualNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayGet.json" + } + } + }, + "delete": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Delete", + "description": "Deletes the specified virtual network gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "DeleteVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_UpdateTags", + "description": "Updates a virtual network gateway tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update virtual network gateway tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGatewayTags": { + "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { + "get": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_List", + "description": "Gets all virtual network gateways by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetworkGateway resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayListResult" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewaysinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections": { + "get": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_ListConnections", + "description": "Gets all the connections in a virtual network gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetworkGatewayConnection resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayListConnectionsResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualNetworkGatewaysListConnections": { + "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Reset", + "description": "Resets the primary of the virtual network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "gatewayVip", + "in": "query", + "required": false, + "type": "string", + "description": "Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Request successful. The operation reset the primary of the virtual network gateway.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-examples": { + "ResetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayReset.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey", + "description": "Resets the VPN client shared key of the virtual network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation reset the vpn client shared key of the virtual network gateway." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "ResetVpnClientSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Generatevpnclientpackage", + "description": "Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientParameters" + }, + "description": "Parameters supplied to the generate virtual network gateway VPN client package operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "VPN client package URL.", + "schema": { + "type": "string" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GenerateVPNClientPackage": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GenerateVpnProfile", + "description": "Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientParameters" + }, + "description": "Parameters supplied to the generate virtual network gateway VPN client package operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "VPN profile package URL.", + "schema": { + "type": "string" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GenerateVirtualNetworkGatewayVPNProfile": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetVpnProfilePackageUrl", + "description": "Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "VPN profile package URL.", + "schema": { + "type": "string" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayVPNProfilePackageURL": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetBgpPeerStatus", + "description": "The GetBgpPeerStatus operation retrieves the status of all BGP peers.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "peer", + "in": "query", + "required": false, + "type": "string", + "description": "The IP address of the peer to retrieve the status of." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List of BGP peer statuses.", + "schema": { + "$ref": "#/definitions/BgpPeerStatusListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayBGPPeerStatus": { + "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_SupportedVpnDevices", + "description": "Gets a xml format representation for supported vpn devices.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Xml format representation for supported vpn devices.", + "schema": { + "type": "string" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewaySupportedVPNDevices": { + "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetLearnedRoutes", + "description": "This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List of advertised BGP routes.", + "schema": { + "$ref": "#/definitions/GatewayRouteListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayLearnedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetAdvertisedRoutes", + "description": "This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "peer", + "in": "query", + "required": true, + "type": "string", + "description": "The IP address of the peer." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List of learned BGP routes.", + "schema": { + "$ref": "#/definitions/GatewayRouteListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayAdvertisedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_SetVpnclientIpsecParameters", + "description": "The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "vpnclientIpsecParams", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + }, + "description": "Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Request successful. The operation sets the specified vpnclient ipsec parameters for P2S client of the virtual network gateway.", + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Set VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetVpnclientIpsecParameters", + "description": "The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the set vpnclient ipsec parameters for P2S client of VirtualNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Get VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_VpnDeviceConfigurationScript", + "description": "Gets a xml format representation for vpn device configuration script.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection for which the configuration script is generated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnDeviceScriptParameters" + }, + "description": "Parameters supplied to the generate vpn device script operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Xml format representation for vpn device configuration script.", + "schema": { + "type": "string" + } + } + }, + "x-ms-examples": { + "GetVPNDeviceConfigurationScript": { + "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { + "put": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate", + "description": "Creates or updates a virtual network gateway connection in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + }, + "description": "Parameters supplied to the create or update virtual network gateway connection operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + }, + "x-ms-examples": { + "CreateVirtualNetworkGatewayConnection_S2S": { + "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_Get", + "description": "Gets the specified virtual network gateway connection by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" + } + } + }, + "delete": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_Delete", + "description": "Deletes the specified virtual network Gateway connection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "DeleteVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_UpdateTags", + "description": "Updates a virtual network gateway connection tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update virtual network gateway connection tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGatewayConnectionTags": { + "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { + "put": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_SetSharedKey", + "description": "The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + }, + "description": "Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Request successful. The operation returns the resulting ConnectionSharedKey resource.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + }, + "200": { + "description": "Request successful. The operation returns the resulting ConnectionSharedKey resource.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + } + }, + "x-ms-examples": { + "SetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_GetSharedKey", + "description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection shared key name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of VirtualNetworkGatewayConnection resources.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": { + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_List", + "description": "The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation resets the virtual network gateway connection shared key.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListResult" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewayConnectionsinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": { + "post": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_ResetSharedKey", + "description": "The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection reset shared key Name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + }, + "description": "Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation sets the virtual network gateway connection shared key.", + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + } + }, + "202": { + "description": "Request successful. The operation sets the virtual network gateway connection shared key." + } + }, + "x-ms-examples": { + "ResetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { + "put": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_CreateOrUpdate", + "description": "Creates or updates a local network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "minLength": 1, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "description": "Parameters supplied to the create or update local network gateway operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting LocalNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting LocalNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + }, + "x-ms-examples": { + "CreateLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_Get", + "description": "Gets the specified local network gateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "minLength": 1, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting LocalNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + }, + "x-ms-examples": { + "GetLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayGet.json" + } + } + }, + "delete": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_Delete", + "description": "Deletes the specified local network gateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "minLength": 1, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "DeleteLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_UpdateTags", + "description": "Updates a local network gateway tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "minLength": 1, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update local network gateway tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting LocalNetworkGateway resource.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + }, + "x-ms-examples": { + "UpdateLocalNetworkGatewayTags": { + "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { + "get": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_List", + "description": "Gets all the local network gateways in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of LocalNetworkGateway resources.", + "schema": { + "$ref": "#/definitions/LocalNetworkGatewayListResult" + } + } + }, + "x-ms-examples": { + "ListLocalNetworkGateways": { + "$ref": "./examples/LocalNetworkGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_GetVpnclientConnectionHealth", + "description": "Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List of VPN client connection health details.", + "schema": { + "$ref": "#/definitions/VpnClientConnectionHealthDetailListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayVpnclientConnectionHealth": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "VirtualNetworkGatewayIPConfigurationPropertiesFormat": { + "properties": { + "privateIPAllocationMethod": { + "$ref": "./network.json#/definitions/IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the public IP resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of VirtualNetworkGatewayIPConfiguration." + }, + "VirtualNetworkGatewayIPConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkGatewayIPConfigurationPropertiesFormat", + "description": "Properties of the virtual network gateway ip configuration." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "IP configuration for virtual network gateway." + }, + "VirtualNetworkGatewayPropertiesFormat": { + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayIPConfiguration" + }, + "description": "IP configurations for virtual network gateway." + }, + "gatewayType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "Vpn", + "ExpressRoute" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayType", + "modelAsString": true + } + }, + "vpnType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "PolicyBased", + "RouteBased" + ], + "x-ms-enum": { + "name": "VpnType", + "modelAsString": true + } + }, + "enableBgp": { + "type": "boolean", + "description": "Whether BGP is enabled for this virtual network gateway or not." + }, + "activeActive": { + "type": "boolean", + "description": "ActiveActive flag." + }, + "gatewayDefaultSite": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting." + }, + "sku": { + "$ref": "#/definitions/VirtualNetworkGatewaySku", + "description": "The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway." + }, + "vpnClientConfiguration": { + "$ref": "#/definitions/VpnClientConfiguration", + "description": "The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations." + }, + "bgpSettings": { + "$ref": "#/definitions/BgpSettings", + "description": "Virtual network gateway's BGP speaker settings." + }, + "customRoutes": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the VirtualNetworkGateway resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VirtualNetworkGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "VirtualNetworkGateway properties." + }, + "VpnClientRootCertificatePropertiesFormat": { + "properties": { + "publicCertData": { + "type": "string", + "description": "The certificate public data." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VPN client root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "publicCertData" + ], + "description": "Properties of SSL certificates of application gateway." + }, + "VpnClientRootCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnClientRootCertificatePropertiesFormat", + "description": "Properties of the vpn client root certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "required": [ + "properties" + ], + "description": "VPN client root certificate of virtual network gateway." + }, + "VpnClientRevokedCertificatePropertiesFormat": { + "properties": { + "thumbprint": { + "type": "string", + "description": "The revoked VPN client certificate thumbprint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VPN client revoked certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the revoked VPN client certificate of virtual network gateway." + }, + "VpnClientRevokedCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnClientRevokedCertificatePropertiesFormat", + "description": "Properties of the vpn client revoked certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VPN client revoked certificate of virtual network gateway." + }, + "VpnClientConfiguration": { + "properties": { + "vpnClientAddressPool": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents Address space for P2S VpnClient." + }, + "vpnClientRootCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnClientRootCertificate" + }, + "description": "VpnClientRootCertificate for virtual network gateway." + }, + "vpnClientRevokedCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnClientRevokedCertificate" + }, + "description": "VpnClientRevokedCertificate for Virtual network gateway." + }, + "vpnClientProtocols": { + "type": "array", + "items": { + "type": "string", + "description": "VPN client protocol enabled for the virtual network gateway.", + "enum": [ + "IkeV2", + "SSTP", + "OpenVPN" + ], + "x-ms-enum": { + "name": "VpnClientProtocol", + "modelAsString": true + } + }, + "description": "VpnClientProtocols for Virtual network gateway." + }, + "vpnClientIpsecPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/IpsecPolicy" + }, + "description": "VpnClientIpsecPolicies for virtual network gateway P2S client." + }, + "radiusServerAddress": { + "type": "string", + "description": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection." + }, + "radiusServerSecret": { + "type": "string", + "description": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection." + }, + "aadTenant": { + "type": "string", + "description": "The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + }, + "aadAudience": { + "type": "string", + "description": "The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + }, + "aadIssuer": { + "type": "string", + "description": "The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + } + }, + "description": "VpnClientConfiguration for P2S client." + }, + "VirtualNetworkGatewaySku": { + "properties": { + "name": { + "type": "string", + "description": "Gateway SKU name.", + "enum": [ + "Basic", + "HighPerformance", + "Standard", + "UltraPerformance", + "VpnGw1", + "VpnGw2", + "VpnGw3", + "VpnGw1AZ", + "VpnGw2AZ", + "VpnGw3AZ", + "ErGw1AZ", + "ErGw2AZ", + "ErGw3AZ" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewaySkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "description": "Gateway SKU tier.", + "enum": [ + "Basic", + "HighPerformance", + "Standard", + "UltraPerformance", + "VpnGw1", + "VpnGw2", + "VpnGw3", + "VpnGw1AZ", + "VpnGw2AZ", + "VpnGw3AZ", + "ErGw1AZ", + "ErGw2AZ", + "ErGw3AZ" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewaySkuTier", + "modelAsString": true + } + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The capacity." + } + }, + "description": "VirtualNetworkGatewaySku details." + }, + "BgpSettings": { + "properties": { + "asn": { + "type": "integer", + "format": "int64", + "description": "The BGP speaker's ASN." + }, + "bgpPeeringAddress": { + "type": "string", + "description": "The BGP peering address and BGP identifier of this BGP speaker." + }, + "peerWeight": { + "type": "integer", + "format": "int32", + "description": "The weight added to routes learned from this BGP speaker." + } + }, + "description": "BGP settings details." + }, + "BgpPeerStatus": { + "properties": { + "localAddress": { + "type": "string", + "readOnly": true, + "description": "The virtual network gateway's local address." + }, + "neighbor": { + "type": "string", + "readOnly": true, + "description": "The remote BGP peer." + }, + "asn": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The autonomous system number of the remote BGP peer." + }, + "state": { + "type": "string", + "readOnly": true, + "description": "The BGP peer state.", + "enum": [ + "Unknown", + "Stopped", + "Idle", + "Connecting", + "Connected" + ], + "x-ms-enum": { + "name": "BgpPeerState", + "modelAsString": true + } + }, + "connectedDuration": { + "type": "string", + "readOnly": true, + "description": "For how long the peering has been up." + }, + "routesReceived": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The number of routes learned from this peer." + }, + "messagesSent": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The number of BGP messages sent." + }, + "messagesReceived": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The number of BGP messages received." + } + }, + "description": "BGP peer status details." + }, + "GatewayRoute": { + "properties": { + "localAddress": { + "type": "string", + "readOnly": true, + "description": "The gateway's local address." + }, + "network": { + "type": "string", + "readOnly": true, + "description": "The route's network prefix." + }, + "nextHop": { + "type": "string", + "readOnly": true, + "description": "The route's next hop." + }, + "sourcePeer": { + "type": "string", + "readOnly": true, + "description": "The peer this route was learned from." + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "The source this route was learned from." + }, + "asPath": { + "type": "string", + "readOnly": true, + "description": "The route's AS path sequence." + }, + "weight": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The route's weight." + } + }, + "description": "Gateway routing details." + }, + "VirtualNetworkGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkGatewayPropertiesFormat", + "description": "Properties of the virtual network gateway." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "description": "A common class for general resource information." + }, + "VpnClientParameters": { + "properties": { + "processorArchitecture": { + "type": "string", + "description": "VPN client Processor Architecture.", + "enum": [ + "Amd64", + "X86" + ], + "x-ms-enum": { + "name": "ProcessorArchitecture", + "modelAsString": true + } + }, + "authenticationMethod": { + "$ref": "./network.json#/definitions/AuthenticationMethod", + "description": "VPN client authentication method." + }, + "radiusServerAuthCertificate": { + "type": "string", + "description": "The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication." + }, + "clientRootCertificates": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS." + } + }, + "description": "Vpn Client Parameters for package generation." + }, + "VirtualNetworkGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "description": "Gets a list of VirtualNetworkGateway resources that exists in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListVirtualNetworkGateways API service call." + }, + "BgpPeerStatusListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BgpPeerStatus" + }, + "description": "List of BGP peers." + } + }, + "description": "Response for list BGP peer status API service call." + }, + "GatewayRouteListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GatewayRoute" + }, + "description": "List of gateway routes." + } + }, + "description": "List of virtual network gateway routes." + }, + "TunnelConnectionHealth": { + "properties": { + "tunnel": { + "readOnly": true, + "type": "string", + "description": "Tunnel name." + }, + "connectionStatus": { + "readOnly": true, + "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status." + }, + "ingressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The Ingress Bytes Transferred in this connection." + }, + "egressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The Egress Bytes Transferred in this connection." + }, + "lastConnectionEstablishedUtcTime": { + "readOnly": true, + "type": "string", + "description": "The time at which connection was established in Utc format." + } + }, + "description": "VirtualNetworkGatewayConnection properties." + }, + "VirtualNetworkGatewayConnectionPropertiesFormat": { + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorizationKey." + }, + "virtualNetworkGateway1": { + "$ref": "#/definitions/VirtualNetworkGateway", + "description": "The reference to virtual network gateway resource." + }, + "virtualNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkGateway", + "description": "The reference to virtual network gateway resource." + }, + "localNetworkGateway2": { + "$ref": "#/definitions/LocalNetworkGateway", + "description": "The reference to local network gateway resource." + }, + "connectionType": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionType", + "description": "Gateway connection type." + }, + "connectionProtocol": { + "$ref": "#/definitions/ConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The routing weight." + }, + "sharedKey": { + "type": "string", + "description": "The IPSec shared key." + }, + "connectionStatus": { + "readOnly": true, + "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status." + }, + "tunnelConnectionStatus": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/TunnelConnectionHealth" + }, + "description": "Collection of all tunnels' connection health status." + }, + "egressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The egress bytes transferred in this connection." + }, + "ingressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The ingress bytes transferred in this connection." + }, + "peer": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference to peerings resource." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/IpsecPolicy" + }, + "description": "The IPSec Policies to be considered by this connection." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the VirtualNetworkGatewayConnection resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "expressRouteGatewayBypass": { + "type": "boolean", + "description": "Bypass ExpressRoute Gateway for data forwarding." + } + }, + "required": [ + "virtualNetworkGateway1", + "connectionType" + ], + "description": "VirtualNetworkGatewayConnection properties." + }, + "VirtualNetworkGatewayConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat", + "description": "Properties of the virtual network gateway connection." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "description": "A common class for general resource information." + }, + "VirtualNetworkGatewayConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + }, + "description": "Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListVirtualNetworkGatewayConnections API service call." + }, + "ConnectionResetSharedKey": { + "properties": { + "keyLength": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 128, + "description": "The virtual network connection reset shared key length, should between 1 and 128." + } + }, + "required": [ + "keyLength" + ], + "description": "The virtual network connection reset shared key." + }, + "ConnectionSharedKey": { + "properties": { + "value": { + "type": "string", + "description": "The virtual network connection shared key value." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "required": [ + "value" + ], + "description": "Response for GetConnectionSharedKey API service call." + }, + "IpsecPolicy": { + "properties": { + "saLifeTimeSeconds": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel." + }, + "saDataSizeKilobytes": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel." + }, + "ipsecEncryption": { + "$ref": "#/definitions/IpsecEncryption", + "description": "The IPSec encryption algorithm (IKE phase 1)." + }, + "ipsecIntegrity": { + "$ref": "#/definitions/IpsecIntegrity", + "description": "The IPSec integrity algorithm (IKE phase 1)." + }, + "ikeEncryption": { + "$ref": "#/definitions/IkeEncryption", + "description": "The IKE encryption algorithm (IKE phase 2)." + }, + "ikeIntegrity": { + "$ref": "#/definitions/IkeIntegrity", + "description": "The IKE integrity algorithm (IKE phase 2)." + }, + "dhGroup": { + "$ref": "#/definitions/DhGroup", + "description": "The DH Group used in IKE Phase 1 for initial SA." + }, + "pfsGroup": { + "$ref": "#/definitions/PfsGroup", + "description": "The Pfs Group used in IKE Phase 2 for new child SA." + } + }, + "required": [ + "saLifeTimeSeconds", + "saDataSizeKilobytes", + "ipsecEncryption", + "ipsecIntegrity", + "ikeEncryption", + "ikeIntegrity", + "dhGroup", + "pfsGroup" + ], + "description": "An IPSec Policy configuration for a virtual network gateway connection." + }, + "ConnectionProtocol": { + "type": "string", + "description": "Gateway connection protocol.", + "enum": [ + "IKEv2", + "IKEv1" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionProtocol", + "modelAsString": true + } + }, + "VpnClientIPsecParameters": { + "properties": { + "saLifeTimeSeconds": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client." + }, + "saDataSizeKilobytes": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client.." + }, + "ipsecEncryption": { + "$ref": "#/definitions/IpsecEncryption", + "description": "The IPSec encryption algorithm (IKE phase 1)." + }, + "ipsecIntegrity": { + "$ref": "#/definitions/IpsecIntegrity", + "description": "The IPSec integrity algorithm (IKE phase 1)." + }, + "ikeEncryption": { + "$ref": "#/definitions/IkeEncryption", + "description": "The IKE encryption algorithm (IKE phase 2)." + }, + "ikeIntegrity": { + "$ref": "#/definitions/IkeIntegrity", + "description": "The IKE integrity algorithm (IKE phase 2)." + }, + "dhGroup": { + "$ref": "#/definitions/DhGroup", + "description": "The DH Group used in IKE Phase 1 for initial SA." + }, + "pfsGroup": { + "$ref": "#/definitions/PfsGroup", + "description": "The Pfs Group used in IKE Phase 2 for new child SA." + } + }, + "required": [ + "saLifeTimeSeconds", + "saDataSizeKilobytes", + "ipsecEncryption", + "ipsecIntegrity", + "ikeEncryption", + "ikeIntegrity", + "dhGroup", + "pfsGroup" + ], + "description": "An IPSec parameters for a virtual network gateway P2S connection." + }, + "LocalNetworkGatewayPropertiesFormat": { + "properties": { + "localNetworkAddressSpace": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "Local network site address space." + }, + "gatewayIpAddress": { + "type": "string", + "description": "IP address of local network gateway." + }, + "bgpSettings": { + "$ref": "#/definitions/BgpSettings", + "description": "Local network gateway's BGP speaker settings." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the LocalNetworkGateway resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the LocalNetworkGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "LocalNetworkGateway properties." + }, + "LocalNetworkGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LocalNetworkGatewayPropertiesFormat", + "description": "Properties of the local network gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "description": "A common class for general resource information." + }, + "LocalNetworkGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "description": "A list of local network gateways that exists in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListLocalNetworkGateways API service call." + }, + "VirtualNetworkConnectionGatewayReference": { + "properties": { + "id": { + "type": "string", + "description": "The ID of VirtualNetworkGateway or LocalNetworkGateway resource." + } + }, + "required": [ + "id" + ], + "description": "A reference to VirtualNetworkGateway or LocalNetworkGateway resource." + }, + "VirtualNetworkGatewayConnectionListEntityPropertiesFormat": { + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorizationKey." + }, + "virtualNetworkGateway1": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to virtual network gateway resource." + }, + "virtualNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to virtual network gateway resource." + }, + "localNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to local network gateway resource." + }, + "connectionType": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionType", + "description": "Gateway connection type." + }, + "connectionProtocol": { + "$ref": "#/definitions/ConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The routing weight." + }, + "sharedKey": { + "type": "string", + "description": "The IPSec shared key." + }, + "connectionStatus": { + "readOnly": true, + "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status." + }, + "tunnelConnectionStatus": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/TunnelConnectionHealth" + }, + "description": "Collection of all tunnels' connection health status." + }, + "egressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The egress bytes transferred in this connection." + }, + "ingressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The ingress bytes transferred in this connection." + }, + "peer": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The reference to peerings resource." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/IpsecPolicy" + }, + "description": "The IPSec Policies to be considered by this connection." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the VirtualNetworkGatewayConnection resource." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "expressRouteGatewayBypass": { + "type": "boolean", + "description": "Bypass ExpressRoute Gateway for data forwarding." + } + }, + "required": [ + "virtualNetworkGateway1", + "connectionType" + ], + "description": "VirtualNetworkGatewayConnection properties." + }, + "VirtualNetworkGatewayConnectionListEntity": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntityPropertiesFormat", + "description": "Properties of the virtual network gateway connection." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "required": [ + "properties" + ], + "description": "A common class for general resource information." + }, + "VirtualNetworkGatewayListConnectionsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntity" + }, + "description": "Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the VirtualNetworkGatewayListConnections API service call." + }, + "VpnDeviceScriptParameters": { + "properties": { + "vendor": { + "type": "string", + "description": "The vendor for the vpn device." + }, + "deviceFamily": { + "type": "string", + "description": "The device family for the vpn device." + }, + "firmwareVersion": { + "type": "string", + "description": "The firmware version for the vpn device." + } + }, + "description": "Vpn device configuration script generation parameters." + }, + "DhGroup": { + "type": "string", + "description": "The DH Groups used in IKE Phase 1 for initial SA.", + "enum": [ + "None", + "DHGroup1", + "DHGroup2", + "DHGroup14", + "DHGroup2048", + "ECP256", + "ECP384", + "DHGroup24" + ], + "x-ms-enum": { + "name": "DhGroup", + "modelAsString": true + } + }, + "IkeEncryption": { + "type": "string", + "description": "The IKE encryption algorithm (IKE phase 2).", + "enum": [ + "DES", + "DES3", + "AES128", + "AES192", + "AES256", + "GCMAES256", + "GCMAES128" + ], + "x-ms-enum": { + "name": "IkeEncryption", + "modelAsString": true + } + }, + "IkeIntegrity": { + "type": "string", + "description": "The IKE integrity algorithm (IKE phase 2).", + "enum": [ + "MD5", + "SHA1", + "SHA256", + "SHA384", + "GCMAES256", + "GCMAES128" + ], + "x-ms-enum": { + "name": "IkeIntegrity", + "modelAsString": true + } + }, + "IpsecEncryption": { + "type": "string", + "description": "The IPSec encryption algorithm (IKE phase 1).", + "enum": [ + "None", + "DES", + "DES3", + "AES128", + "AES192", + "AES256", + "GCMAES128", + "GCMAES192", + "GCMAES256" + ], + "x-ms-enum": { + "name": "IpsecEncryption", + "modelAsString": true + } + }, + "IpsecIntegrity": { + "type": "string", + "description": "The IPSec integrity algorithm (IKE phase 1).", + "enum": [ + "MD5", + "SHA1", + "SHA256", + "GCMAES128", + "GCMAES192", + "GCMAES256" + ], + "x-ms-enum": { + "name": "IpsecIntegrity", + "modelAsString": true + } + }, + "PfsGroup": { + "type": "string", + "description": "The Pfs Groups used in IKE Phase 2 for new child SA.", + "enum": [ + "None", + "PFS1", + "PFS2", + "PFS2048", + "ECP256", + "ECP384", + "PFS24", + "PFS14", + "PFSMM" + ], + "x-ms-enum": { + "name": "PfsGroup", + "modelAsString": true + } + }, + "VirtualNetworkGatewayConnectionStatus": { + "type": "string", + "description": "Virtual Network Gateway connection status.", + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionStatus", + "modelAsString": true + } + }, + "VirtualNetworkGatewayConnectionType": { + "type": "string", + "description": "Gateway connection type.", + "enum": [ + "IPsec", + "Vnet2Vnet", + "ExpressRoute", + "VPNClient" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionType", + "modelAsString": true + } + }, + "VpnClientConnectionHealthDetailListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnClientConnectionHealthDetail" + }, + "description": "List of vpn client connection health." + } + }, + "description": "List of virtual network gateway vpn client connection health." + }, + "VpnClientConnectionHealthDetail": { + "properties": { + "vpnConnectionId": { + "type": "string", + "readOnly": true, + "description": "The vpn client Id." + }, + "vpnConnectionDuration": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The duration time of a connected vpn client." + }, + "vpnConnectionTime": { + "type": "string", + "readOnly": true, + "description": "The start time of a connected vpn client." + }, + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "The public Ip of a connected vpn client." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The assigned private Ip of a connected vpn client." + }, + "vpnUserName": { + "type": "string", + "readOnly": true, + "description": "The user name of a connected vpn client." + }, + "maxBandwidth": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The max band width." + }, + "egressPacketsTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The egress packets per second." + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The egress bytes per second." + }, + "ingressPacketsTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The ingress packets per second." + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The ingress bytes per second." + }, + "maxPacketsPerSecond": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The max packets transferred per second." + } + }, + "description": "VPN client connection health detail." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkTap.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkTap.json new file mode 100644 index 000000000000..6632036aea0f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetworkTap.json @@ -0,0 +1,390 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": { + "delete": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Delete", + "description": "Deletes the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." + }, + "204": { + "description": "Request successful. Resource does not exist." + } + }, + "x-ms-examples": { + "Delete Virtual Network Tap resource": { + "$ref": "./examples/VirtualNetworkTapDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_Get", + "description": "Gets information about the specified virtual network tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of virtual network tap." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + } + }, + "x-ms-examples": { + "Get Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapGet.json" + } + } + }, + "put": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "description": "Creates or updates a Virtual Network Tap.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network tap." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + }, + "description": "Parameters supplied to the create or update virtual network tap operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + } + }, + "x-ms-examples": { + "Create Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualNetworkTap" + ], + "operationId": "VirtualNetworkTaps_UpdateTags", + "description": "Updates an VirtualNetworkTap tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "tapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tap." + }, + { + "name": "tapParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update VirtualNetworkTap tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTap" + } + } + }, + "x-ms-examples": { + "Update virtual network tap tags": { + "$ref": "./examples/VirtualNetworkTapUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": { + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListAll", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" + } + } + }, + "x-ms-examples": { + "List all virtual network taps": { + "$ref": "./examples/VirtualNetworkTapListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": { + "get": { + "tags": [ + "VirtualNetworkTaps" + ], + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of Virtual Network Tap resources.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" + } + } + }, + "x-ms-examples": { + "List virtual network taps in resource group": { + "$ref": "./examples/VirtualNetworkTapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VirtualNetworkTap": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat", + "description": "Virtual Network Tap Properties." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Virtual Network Tap resource." + }, + "VirtualNetworkTapPropertiesFormat": { + "description": "Virtual Network Tap properties.", + "properties": { + "networkInterfaceTapConfigurations": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceTapConfiguration", + "description": "The reference of the Network Interface." + }, + "description": "Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped." + }, + "resourceGuid": { + "type": "string", + "readOnly": true, + "description": "The resourceGuid property of the virtual network tap." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "destinationNetworkInterfaceIPConfiguration": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration", + "description": "The reference to the private IP Address of the collector nic that will receive the tap." + }, + "destinationLoadBalancerFrontEndIPConfiguration": { + "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration", + "description": "The reference to the private IP address on the internal Load Balancer that will receive the tap." + }, + "destinationPort": { + "type": "integer", + "description": "The VXLAN destination port that will receive the tapped traffic." + } + } + }, + "VirtualNetworkTapListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkTap" + }, + "description": "A list of VirtualNetworkTaps in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworkTap API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualWan.json new file mode 100644 index 000000000000..7281c4ac4b62 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualWan.json @@ -0,0 +1,3932 @@ +{ + "swagger": "2.0", + "info": { + "title": "VirtualWANAsAServiceManagementClient", + "description": "REST API for Azure VirtualWAN As a Service.", + "version": "2019-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}": { + "get": { + "operationId": "VirtualWans_Get", + "x-ms-examples": { + "VirtualWANGet": { + "$ref": "./examples/VirtualWANGet.json" + } + }, + "description": "Retrieves the details of a VirtualWAN.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "VirtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN being retrieved." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualWAN retrieved.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "VirtualWans_CreateOrUpdate", + "x-ms-examples": { + "VirtualWANCreate": { + "$ref": "./examples/VirtualWANPut.json" + } + }, + "description": "Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "VirtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN being created or updated." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "WANParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualWAN" + }, + "description": "Parameters supplied to create or update VirtualWAN." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualWAN created or updated.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting VirtualWAN resource.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualWANs" + ], + "operationId": "VirtualWans_UpdateTags", + "x-ms-examples": { + "VirtualWANUpdate": { + "$ref": "./examples/VirtualWANUpdateTags.json" + } + }, + "description": "Updates a VirtualWAN tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "VirtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN being updated." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "WANParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to Update VirtualWAN tags." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualWAN updated.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the VirtualWAN updated.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualWans_Delete", + "x-ms-examples": { + "VirtualWANDelete": { + "$ref": "./examples/VirtualWANDelete.json" + } + }, + "description": "Deletes a VirtualWAN.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "VirtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN being deleted." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. VirtualWAN deleted." + }, + "202": { + "description": "Request received successfully. VirtualWAN deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No VirtualWANs exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans": { + "get": { + "operationId": "VirtualWans_ListByResourceGroup", + "x-ms-examples": { + "VirtualWANListByResourceGroup": { + "$ref": "./examples/VirtualWANListByResourceGroup.json" + } + }, + "description": "Lists all the VirtualWANs in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VirtualWANs in the resource group.", + "schema": { + "$ref": "#/definitions/ListVirtualWANsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": { + "get": { + "operationId": "VirtualWans_List", + "x-ms-examples": { + "VirtualWANList": { + "$ref": "./examples/VirtualWANList.json" + } + }, + "description": "Lists all the VirtualWANs in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VirtualWANs in the subscription.", + "schema": { + "$ref": "#/definitions/ListVirtualWANsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": { + "get": { + "operationId": "VpnSites_Get", + "x-ms-examples": { + "VpnSiteGet": { + "$ref": "./examples/VpnSiteGet.json" + } + }, + "description": "Retrieves the details of a VPN site.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite being retrieved." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VpnSite retrieved.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "VpnSites_CreateOrUpdate", + "x-ms-examples": { + "VpnSiteCreate": { + "$ref": "./examples/VpnSitePut.json" + } + }, + "description": "Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite being created or updated." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "VpnSiteParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnSite" + }, + "description": "Parameters supplied to create or update VpnSite." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VpnSite created or updated.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the VpnSite created or updated.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VpnSites" + ], + "operationId": "VpnSites_UpdateTags", + "x-ms-examples": { + "VpnSiteUpdate": { + "$ref": "./examples/VpnSiteUpdateTags.json" + } + }, + "description": "Updates VpnSite tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite being updated." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "VpnSiteParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update VpnSite tags." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VpnSite updated.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the VpnSite updated.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VpnSites_Delete", + "x-ms-examples": { + "VpnSiteDelete": { + "$ref": "./examples/VpnSiteDelete.json" + } + }, + "description": "Deletes a VpnSite.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite being deleted." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. VpnSite deleted." + }, + "202": { + "description": "Request received successfully. VpnSite deletion is in progress." + }, + "204": { + "description": "No VpnSites exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites": { + "get": { + "operationId": "VpnSites_ListByResourceGroup", + "x-ms-examples": { + "VpnSiteListByResourceGroup": { + "$ref": "./examples/VpnSiteListByResourceGroup.json" + } + }, + "description": "Lists all the vpnSites in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the vpnSites in the resource group.", + "schema": { + "$ref": "#/definitions/ListVpnSitesResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}": { + "get": { + "operationId": "VpnSiteLinks_Get", + "x-ms-examples": { + "VpnSiteGet": { + "$ref": "./examples/VpnSiteLinkGet.json" + } + }, + "description": "Retrieves the details of a VPN site link.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite." + }, + { + "name": "vpnSiteLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSiteLink being retrieved." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VpnSiteLink retrieved.", + "schema": { + "$ref": "#/definitions/VpnSiteLink" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks": { + "get": { + "operationId": "VpnSiteLinks_ListByVpnSite", + "x-ms-examples": { + "VpnSiteLinkListByVpnSite": { + "$ref": "./examples/VpnSiteLinkListByVpnSite.json" + } + }, + "description": "Lists all the vpnSiteLinks in a resource group for a vpn site.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnSite." + }, + { + "name": "vpnSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnSite." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the vpnSites in the resource group.", + "schema": { + "$ref": "#/definitions/ListVpnSiteLinksResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": { + "get": { + "operationId": "VpnSites_List", + "x-ms-examples": { + "VpnSiteList": { + "$ref": "./examples/VpnSiteList.json" + } + }, + "description": "Lists all the VpnSites in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VpnSites in the subscription.", + "schema": { + "$ref": "#/definitions/ListVpnSitesResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": { + "post": { + "operationId": "VpnSitesConfiguration_Download", + "x-ms-examples": { + "VpnSitesConfigurationDownload": { + "$ref": "./examples/VpnSitesConfigurationDownload.json" + } + }, + "description": "Gives the sas-url to download the configurations for vpn-sites in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name." + }, + { + "name": "virtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN for which configuration of all vpn-sites is needed." + }, + { + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetVpnSitesConfigurationRequest" + }, + "description": "Parameters supplied to download vpn-sites configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Follow the location header for sas-url to output blob." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously. Follow the location header for sas-url to output blob." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders": { + "get": { + "operationId": "SupportedSecurityProviders", + "x-ms-examples": { + "supportedSecurityProviders": { + "$ref": "./examples/VirtualWanSupportedSecurityProviders.json" + } + }, + "description": "Gives the supported security providers for the virtual wan.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name." + }, + { + "name": "virtualWANName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWAN for which supported security providers are needed." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the object containing supported security providers.", + "schema": { + "$ref": "#/definitions/VirtualWanSecurityProviders" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}": { + "get": { + "operationId": "VirtualHubs_Get", + "x-ms-examples": { + "VirtualHubGet": { + "$ref": "./examples/VirtualHubGet.json" + } + }, + "description": "Retrieves the details of a VirtualHub.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualHub retrieved.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "VirtualHubs_CreateOrUpdate", + "x-ms-examples": { + "VirtualHubPut": { + "$ref": "./examples/VirtualHubPut.json" + } + }, + "description": "Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualHubParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualHub" + }, + "description": "Parameters supplied to create or update VirtualHub." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualHub created or updated.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the VirtualHub created or updated.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualWANs" + ], + "operationId": "VirtualHubs_UpdateTags", + "x-ms-examples": { + "VirtualHubUpdate": { + "$ref": "./examples/VirtualHubUpdateTags.json" + } + }, + "description": "Updates VirtualHub tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualHubParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update VirtualHub tags." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VirtualHub updated.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the VirtualHub updated.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualHubs_Delete", + "x-ms-examples": { + "VirtualHubDelete": { + "$ref": "./examples/VirtualHubDelete.json" + } + }, + "description": "Deletes a VirtualHub.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. VirtualHub deleted." + }, + "202": { + "description": "Request received successfully. VirtualHub deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No VirtualHubs exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs": { + "get": { + "operationId": "VirtualHubs_ListByResourceGroup", + "x-ms-examples": { + "VirtualHubListByResourceGroup": { + "$ref": "./examples/VirtualHubListByResourceGroup.json" + } + }, + "description": "Lists all the VirtualHubs in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VirtualHubs in the resource group.", + "schema": { + "$ref": "#/definitions/ListVirtualHubsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": { + "get": { + "operationId": "VirtualHubs_List", + "x-ms-examples": { + "VirtualHubList": { + "$ref": "./examples/VirtualHubList.json" + } + }, + "description": "Lists all the VirtualHubs in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VirtualHubs in the subscription.", + "schema": { + "$ref": "#/definitions/ListVirtualHubsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": { + "get": { + "operationId": "HubVirtualNetworkConnections_Get", + "x-ms-examples": { + "HubVirtualNetworkConnectionGet": { + "$ref": "./examples/HubVirtualNetworkConnectionGet.json" + } + }, + "description": "Retrieves the details of a HubVirtualNetworkConnection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the vpn connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the HubVirtualNetworkConnection retrieved.", + "schema": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections": { + "get": { + "operationId": "HubVirtualNetworkConnections_List", + "x-ms-examples": { + "HubVirtualNetworkConnectionList": { + "$ref": "./examples/HubVirtualNetworkConnectionList.json" + } + }, + "description": "Retrieves the details of all HubVirtualNetworkConnections.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualHub." + }, + { + "name": "virtualHubName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualHub." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the HubVirtualNetworkConnections for the VirtualHub.", + "schema": { + "$ref": "#/definitions/ListHubVirtualNetworkConnectionsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}": { + "get": { + "operationId": "VpnGateways_Get", + "x-ms-examples": { + "VpnGatewayGet": { + "$ref": "./examples/VpnGatewayGet.json" + } + }, + "description": "Retrieves the details of a virtual wan vpn gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the virtual wan vpn gateway retrieved.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "VpnGateways_CreateOrUpdate", + "x-ms-examples": { + "VpnGatewayPut": { + "$ref": "./examples/VpnGatewayPut.json" + } + }, + "description": "Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "vpnGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnGateway" + }, + "description": "Parameters supplied to create or Update a virtual wan vpn gateway." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the virtual wan vpn Gateway created or updated.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "201": { + "description": "Request successful. Returns the details of the virtual wan vpn gateway retrieved.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VpnGateways" + ], + "operationId": "VpnGateways_UpdateTags", + "x-ms-examples": { + "VpnGatewayUpdate": { + "$ref": "./examples/VpnGatewayUpdateTags.json" + } + }, + "description": "Updates virtual wan vpn gateway tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "vpnGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update a virtual wan vpn gateway tags." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the updated gateway.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the updated gateway.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VpnGateways_Delete", + "x-ms-examples": { + "VpnGatewayDelete": { + "$ref": "./examples/VpnGatewayDelete.json" + } + }, + "description": "Deletes a virtual wan vpn gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Vpn Gateway deleted." + }, + "202": { + "description": "Request received successfully. Vpn Gateway deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No vpn gateways exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": { + "post": { + "tags": [ + "VpnGateways" + ], + "operationId": "VpnGateways_Reset", + "description": "Resets the primary of the vpn gateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation reset the primary of the VpnGateway.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "ResetVpnGateway": { + "$ref": "./examples/VpnGatewayReset.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": { + "get": { + "operationId": "VpnGateways_ListByResourceGroup", + "x-ms-examples": { + "VpnGatewayListByResourceGroup": { + "$ref": "./examples/VpnGatewayListByResourceGroup.json" + } + }, + "description": "Lists all the VpnGateways in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VpnGateways in the resource group.", + "schema": { + "$ref": "#/definitions/ListVpnGatewaysResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": { + "get": { + "operationId": "VpnGateways_List", + "x-ms-examples": { + "VpnGatewayListBySubscription": { + "$ref": "./examples/VpnGatewayList.json" + } + }, + "description": "Lists all the VpnGateways in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VpnGateways in the subscription.", + "schema": { + "$ref": "#/definitions/ListVpnGatewaysResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}": { + "get": { + "operationId": "VpnConnections_Get", + "x-ms-examples": { + "VpnConnectionGet": { + "$ref": "./examples/VpnConnectionGet.json" + } + }, + "description": "Retrieves the details of a vpn connection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the vpn connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the vpn connection.", + "schema": { + "$ref": "#/definitions/VpnConnection" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "VpnConnections_CreateOrUpdate", + "x-ms-examples": { + "VpnConnectionPut": { + "$ref": "./examples/VpnConnectionPut.json" + } + }, + "description": "Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "VpnConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnConnection" + }, + "description": "Parameters supplied to create or Update a VPN Connection." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the vpn connection created or updated.", + "schema": { + "$ref": "#/definitions/VpnConnection" + } + }, + "201": { + "description": "Request successful. Returns the details of the vpn connection created or updated.", + "schema": { + "$ref": "#/definitions/VpnConnection" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "operationId": "VpnConnections_Delete", + "x-ms-examples": { + "VpnConnectionDelete": { + "$ref": "./examples/VpnConnectionDelete.json" + } + }, + "description": "Deletes a vpn connection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Vpn Connection deleted." + }, + "202": { + "description": "Request received successfully. Vpn Connection deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No vpn connections exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}": { + "get": { + "operationId": "VpnSiteLinkConnections_Get", + "x-ms-examples": { + "VpnSiteLinkConnectionGet": { + "$ref": "./examples/VpnSiteLinkConnectionGet.json" + } + }, + "description": "Retrieves the details of a vpn site link connection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the vpn connection." + }, + { + "name": "linkConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the vpn connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the vpn connection.", + "schema": { + "$ref": "#/definitions/VpnSiteLinkConnection" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections": { + "get": { + "operationId": "VpnConnections_ListByVpnGateway", + "x-ms-examples": { + "VpnConnectionList": { + "$ref": "./examples/VpnConnectionList.json" + } + }, + "description": "Retrieves all vpn connections for a particular virtual wan vpn gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all Vpn connections for a virtual wan vpn gateway.", + "schema": { + "$ref": "#/definitions/ListVpnConnectionsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections": { + "get": { + "operationId": "VpnLinkConnections_ListByVpnConnection", + "x-ms-examples": { + "VpnSiteLinkConnectionList": { + "$ref": "./examples/VpnSiteLinkConnectionList.json" + } + }, + "description": "Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the vpn connection." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all Vpn connections for a virtual wan vpn gateway.", + "schema": { + "$ref": "#/definitions/ListVpnSiteLinkConnectionsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations/{p2SVpnServerConfigurationName}": { + "get": { + "operationId": "P2sVpnServerConfigurations_Get", + "x-ms-examples": { + "P2SVpnServerConfigurationGet": { + "$ref": "./examples/P2SVpnServerConfigurationGet.json" + } + }, + "description": "Retrieves the details of a P2SVpnServerConfiguration.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnServerConfiguration." + }, + { + "name": "virtualWanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWan." + }, + { + "name": "p2SVpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the P2SVpnServerConfiguration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the P2SVpnServerConfiguration.", + "schema": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "P2sVpnServerConfigurations_CreateOrUpdate", + "x-ms-examples": { + "P2SVpnServerConfigurationPut": { + "$ref": "./examples/P2SVpnServerConfigurationPut.json" + } + }, + "description": "Creates a P2SVpnServerConfiguration to associate with a VirtualWan if it doesn't exist else updates the existing P2SVpnServerConfiguration.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "virtualWanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWan." + }, + { + "name": "p2SVpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the P2SVpnServerConfiguration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "p2SVpnServerConfigurationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + }, + "description": "Parameters supplied to create or Update a P2SVpnServerConfiguration." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the P2SVpnServerConfiguration created or updated.", + "schema": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + } + }, + "201": { + "description": "Request successful. Returns the details of the P2SVpnServerConfiguration created or updated.", + "schema": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "operationId": "P2sVpnServerConfigurations_Delete", + "x-ms-examples": { + "P2SVpnServerConfigurationDelete": { + "$ref": "./examples/P2SVpnServerConfigurationDelete.json" + } + }, + "description": "Deletes a P2SVpnServerConfiguration.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnServerConfiguration." + }, + { + "name": "virtualWanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWan." + }, + { + "name": "p2SVpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the P2SVpnServerConfiguration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. P2SVpnServerConfiguration deleted." + }, + "202": { + "description": "Request received successfully. P2SVpnServerConfiguration deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No P2SVpnServerConfigurations exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations": { + "get": { + "operationId": "P2sVpnServerConfigurations_ListByVirtualWan", + "x-ms-examples": { + "P2SVpnServerConfigurationList": { + "$ref": "./examples/P2SVpnServerConfigurationList.json" + } + }, + "description": "Retrieves all P2SVpnServerConfigurations for a particular VirtualWan.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VirtualWan." + }, + { + "name": "virtualWanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VirtualWan." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all P2SVpnServerConfigurations for a VirtualWan.", + "schema": { + "$ref": "#/definitions/ListP2SVpnServerConfigurationsResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}": { + "get": { + "operationId": "P2sVpnGateways_Get", + "x-ms-examples": { + "P2SVpnGatewayGet": { + "$ref": "./examples/P2SVpnGatewayGet.json" + } + }, + "description": "Retrieves the details of a virtual wan p2s vpn gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the virtual wan p2s vpn gateway retrieved.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + } + }, + "put": { + "operationId": "P2sVpnGateways_CreateOrUpdate", + "x-ms-examples": { + "P2SVpnGatewayPut": { + "$ref": "./examples/P2SVpnGatewayPut.json" + } + }, + "description": "Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "p2SVpnGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + }, + "description": "Parameters supplied to create or Update a virtual wan p2s vpn gateway." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the virtual wan p2s vpn Gateway created or updated.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "201": { + "description": "Request successful. Returns the details of the virtual wan p2s vpn gateway retrieved.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "P2SVpnGateways" + ], + "operationId": "P2sVpnGateways_UpdateTags", + "x-ms-examples": { + "P2SVpnGatewayUpdate": { + "$ref": "./examples/P2SVpnGatewayUpdateTags.json" + } + }, + "description": "Updates virtual wan p2s vpn gateway tags.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "p2SVpnGatewayParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update a virtual wan p2s vpn gateway tags." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the updated gateway.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "201": { + "description": "Request received successfully. Returns the details of the updated gateway.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "P2sVpnGateways_Delete", + "x-ms-examples": { + "P2SVpnGatewayDelete": { + "$ref": "./examples/P2SVpnGatewayDelete.json" + } + }, + "description": "Deletes a virtual wan p2s vpn gateway.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnGateway." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. P2SVpnGateway deleted." + }, + "202": { + "description": "Request received successfully. P2SVpnGateway deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No p2s vpn gateways exist by the name provided." + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways": { + "get": { + "operationId": "P2sVpnGateways_ListByResourceGroup", + "x-ms-examples": { + "P2SVpnGatewayListByResourceGroup": { + "$ref": "./examples/P2SVpnGatewayListByResourceGroup.json" + } + }, + "description": "Lists all the P2SVpnGateways in a resource group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the P2SVpnGateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the P2SVpnGateways in the resource group.", + "schema": { + "$ref": "#/definitions/ListP2SVpnGatewaysResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": { + "get": { + "operationId": "P2sVpnGateways_List", + "x-ms-examples": { + "P2SVpnGatewayListBySubscription": { + "$ref": "./examples/P2SVpnGatewayList.json" + } + }, + "description": "Lists all the P2SVpnGateways in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the P2SVpnGateways in the subscription.", + "schema": { + "$ref": "#/definitions/ListP2SVpnGatewaysResult" + } + }, + "default": { + "description": "Error.", + "schema": { + "$ref": "./network.json#/definitions/Error" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": { + "post": { + "tags": [ + "P2SVpnGateways" + ], + "operationId": "P2sVpnGateways_GenerateVpnProfile", + "description": "Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the P2SVpnGateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnProfileParameters" + }, + "description": "Parameters supplied to the generate P2SVpnGateway VPN client package operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "VPN profile package URL.", + "schema": { + "$ref": "#/definitions/VpnProfileResponse" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "GenerateP2SVpnGatewayVPNProfile": { + "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": { + "post": { + "tags": [ + "P2SVpnGateways" + ], + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealth", + "description": "Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the P2SVpnGateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "P2S Vpn Gateway with P2S connection health details.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-examples": { + "P2SVpnGatewayGetConnectionHealth": { + "$ref": "./examples/P2SVpnGatewayGetConnectionHealth.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "VirtualWanProperties": { + "properties": { + "disableVpnEncryption": { + "type": "boolean", + "description": "Vpn encryption to be disabled or not." + }, + "virtualHubs": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of VirtualHubs in the VirtualWAN." + }, + "vpnSites": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of VpnSites in the VirtualWAN." + }, + "securityProviderName": { + "type": "string", + "description": "The Security Provider name." + }, + "allowBranchToBranchTraffic": { + "type": "boolean", + "description": "True if branch to branch traffic is allowed." + }, + "allowVnetToVnetTraffic": { + "type": "boolean", + "description": "True if Vnet to Vnet traffic is allowed." + }, + "office365LocalBreakoutCategory": { + "description": "The office local breakout category.", + "$ref": "#/definitions/OfficeTrafficCategory" + }, + "p2SVpnServerConfigurations": { + "type": "array", + "description": "List of all P2SVpnServerConfigurations associated with the virtual wan.", + "items": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + } + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Parameters for VirtualWAN." + }, + "VirtualWAN": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualWanProperties", + "description": "Properties of the virtual WAN." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "VirtualWAN Resource." + }, + "ListVirtualWANsResult": { + "description": "Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualWAN" + }, + "description": "List of VirtualWANs." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnSiteProperties": { + "properties": { + "virtualWan": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The VirtualWAN to which the vpnSite belongs." + }, + "deviceProperties": { + "description": "The device properties.", + "$ref": "#/definitions/DeviceProperties" + }, + "ipAddress": { + "type": "string", + "description": "The ip-address for the vpn-site." + }, + "siteKey": { + "type": "string", + "description": "The key for vpn-site that can be used for connections." + }, + "addressSpace": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The AddressSpace that contains an array of IP address ranges." + }, + "bgpProperties": { + "$ref": "./virtualNetworkGateway.json#/definitions/BgpSettings", + "description": "The set of bgp properties." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "isSecuritySite": { + "type": "boolean", + "description": "IsSecuritySite flag." + }, + "vpnSiteLinks": { + "type": "array", + "description": "List of all vpn site links", + "items": { + "$ref": "#/definitions/VpnSiteLink" + } + } + }, + "description": "Parameters for VpnSite." + }, + "VpnSite": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnSiteProperties", + "description": "Properties of the VPN site." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "VpnSite Resource." + }, + "ListVpnSitesResult": { + "description": "Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnSite" + }, + "description": "List of VpnSites." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnSiteLinkProperties": { + "properties": { + "linkProperties": { + "description": "The link provider properties.", + "$ref": "#/definitions/VpnLinkProviderProperties" + }, + "ipAddress": { + "type": "string", + "description": "The ip-address for the vpn-site-link." + }, + "bgpProperties": { + "$ref": "#/definitions/VpnLinkBgpSettings", + "description": "The set of bgp properties." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Parameters for VpnSite." + }, + "VpnSiteLink": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnSiteLinkProperties", + "description": "Properties of the VPN site link." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VpnSiteLink Resource." + }, + "ListVpnSiteLinksResult": { + "description": "Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnSiteLink" + }, + "description": "List of VpnSitesLinks." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "GetVpnSitesConfigurationRequest": { + "properties": { + "vpnSites": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of resource-ids of the vpn-sites for which config is to be downloaded." + }, + "outputBlobSasUrl": { + "type": "string", + "description": "The sas-url to download the configurations for vpn-sites." + } + }, + "required": [ + "outputBlobSasUrl" + ], + "description": "List of Vpn-Sites." + }, + "VirtualHubProperties": { + "properties": { + "virtualWan": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The VirtualWAN to which the VirtualHub belongs." + }, + "vpnGateway": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The VpnGateway associated with this VirtualHub." + }, + "p2SVpnGateway": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The P2SVpnGateway associated with this VirtualHub." + }, + "expressRouteGateway": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The expressRouteGateway associated with this VirtualHub." + }, + "virtualNetworkConnections": { + "type": "array", + "description": "List of all vnet connections with this VirtualHub.", + "items": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + }, + "addressPrefix": { + "type": "string", + "description": "Address-prefix for this VirtualHub." + }, + "routeTable": { + "$ref": "#/definitions/VirtualHubRouteTable", + "description": "The routeTable associated with this virtual hub." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Parameters for VirtualHub." + }, + "VirtualHubRouteTable": { + "properties": { + "routes": { + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/VirtualHubRoute" + } + } + }, + "description": "VirtualHub route table." + }, + "VirtualHubRoute": { + "properties": { + "addressPrefixes": { + "type": "array", + "description": "List of all addressPrefixes.", + "items": { + "type": "string" + } + }, + "nextHopIpAddress": { + "type": "string", + "description": "NextHop ip address." + } + }, + "description": "VirtualHub route." + }, + "VirtualHub": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualHubProperties", + "description": "Properties of the virtual hub." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "VirtualHub Resource." + }, + "ListVirtualHubsResult": { + "description": "Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualHub" + }, + "description": "List of VirtualHubs." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnGatewayProperties": { + "properties": { + "virtualHub": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The VirtualHub to which the gateway belongs." + }, + "connections": { + "type": "array", + "description": "List of all vpn connections to the gateway.", + "items": { + "$ref": "#/definitions/VpnConnection" + } + }, + "bgpSettings": { + "$ref": "./virtualNetworkGateway.json#/definitions/BgpSettings", + "description": "Local network gateway's BGP speaker settings." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "vpnGatewayScaleUnit": { + "type": "integer", + "format": "int32", + "description": "The scale unit for this vpn gateway." + } + }, + "description": "Parameters for VpnGateway." + }, + "VpnGateway": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnGatewayProperties", + "description": "Properties of the VPN gateway." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "VpnGateway Resource." + }, + "ListVpnGatewaysResult": { + "description": "Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnGateway" + }, + "description": "List of VpnGateways." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnConnectionProperties": { + "properties": { + "remoteVpnSite": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Id of the connected vpn site." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "Routing weight for vpn connection." + }, + "connectionStatus": { + "description": "The connection status.", + "$ref": "#/definitions/VpnConnectionStatus" + }, + "vpnConnectionProtocolType": { + "description": "Connection protocol used for this connection.", + "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Ingress bytes transferred." + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Egress bytes transferred." + }, + "connectionBandwidth": { + "type": "integer", + "format": "int32", + "description": "Expected bandwidth in MBPS." + }, + "sharedKey": { + "type": "string", + "description": "SharedKey for the vpn connection." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "items": { + "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy" + }, + "description": "The IPSec Policies to be considered by this connection." + }, + "enableRateLimiting": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "useLocalAzureIpAddress": { + "type": "boolean", + "description": "Use local azure ip to initiate connection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "vpnLinkConnections": { + "type": "array", + "description": "List of all vpn site link connections to the gateway.", + "items": { + "$ref": "#/definitions/VpnSiteLinkConnection" + } + } + }, + "description": "Parameters for VpnConnection." + }, + "VpnConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnConnectionProperties", + "description": "Properties of the VPN connection." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VpnConnection Resource." + }, + "ListVpnConnectionsResult": { + "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnConnection" + }, + "description": "List of Vpn Connections." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnSiteLinkConnectionProperties": { + "properties": { + "vpnSiteLink": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Id of the connected vpn site link." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "Routing weight for vpn connection." + }, + "connectionStatus": { + "description": "The connection status.", + "$ref": "#/definitions/VpnConnectionStatus" + }, + "vpnConnectionProtocolType": { + "description": "Connection protocol used for this connection.", + "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol" + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Ingress bytes transferred." + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Egress bytes transferred." + }, + "connectionBandwidth": { + "type": "integer", + "format": "int32", + "description": "Expected bandwidth in MBPS." + }, + "sharedKey": { + "type": "string", + "description": "SharedKey for the vpn connection." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "items": { + "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy" + }, + "description": "The IPSec Policies to be considered by this connection." + }, + "enableRateLimiting": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "useLocalAzureIpAddress": { + "type": "boolean", + "description": "Use local azure ip to initiate connection." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Parameters for VpnConnection." + }, + "VpnSiteLinkConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnSiteLinkConnectionProperties", + "description": "Properties of the VPN site link connection." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VpnSiteLinkConnection Resource." + }, + "ListVpnSiteLinkConnectionsResult": { + "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnSiteLinkConnection" + }, + "description": "List of VpnSiteLinkConnections." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "HubVirtualNetworkConnectionProperties": { + "properties": { + "remoteVirtualNetwork": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to the remote virtual network." + }, + "allowHubToRemoteVnetTransit": { + "type": "boolean", + "description": "VirtualHub to RemoteVnet transit to enabled or not." + }, + "allowRemoteVnetToUseHubVnetGateways": { + "type": "boolean", + "description": "Allow RemoteVnet to use Virtual Hub's gateways." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + } + }, + "description": "Parameters for HubVirtualNetworkConnection." + }, + "HubVirtualNetworkConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/HubVirtualNetworkConnectionProperties", + "description": "Properties of the hub virtual network connection." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "HubVirtualNetworkConnection Resource." + }, + "ListHubVirtualNetworkConnectionsResult": { + "description": "List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + }, + "description": "List of HubVirtualNetworkConnections." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnSiteId": { + "properties": { + "vpnSite": { + "type": "string", + "readOnly": true, + "description": "The resource-uri of the vpn-site for which config is to be fetched." + } + }, + "description": "VpnSite Resource." + }, + "DeviceProperties": { + "properties": { + "deviceVendor": { + "type": "string", + "description": "Name of the device Vendor." + }, + "deviceModel": { + "type": "string", + "description": "Model of the device." + }, + "linkSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Link speed." + } + }, + "description": "List of properties of the device." + }, + "VirtualWanSecurityProviders": { + "properties": { + "supportedProviders": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualWanSecurityProvider" + }, + "description": "List of VirtualWAN security providers." + } + }, + "description": "Collection of SecurityProviders." + }, + "VirtualWanSecurityProvider": { + "properties": { + "name": { + "type": "string", + "description": "Name of the security provider." + }, + "url": { + "type": "string", + "description": "Url of the security provider." + }, + "type": { + "$ref": "#/definitions/VirtualWanSecurityProviderType", + "description": "Name of the security provider." + } + }, + "description": "Collection of SecurityProviders." + }, + "VpnConnectionStatus": { + "type": "string", + "description": "The current state of the vpn connection.", + "readOnly": true, + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "VpnConnectionStatus", + "modelAsString": true + } + }, + "TunnelConnectionStatus": { + "type": "string", + "description": "The current state of the tunnel.", + "readOnly": true, + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "TunnelConnectionStatus", + "modelAsString": true + } + }, + "HubVirtualNetworkConnectionStatus": { + "type": "string", + "description": "The current state of the VirtualHub to vnet connection.", + "readOnly": true, + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "HubVirtualNetworkConnectionStatus", + "modelAsString": true + } + }, + "OfficeTrafficCategory": { + "type": "string", + "description": "The office traffic category.", + "readOnly": true, + "enum": [ + "Optimize", + "OptimizeAndAllow", + "All", + "None" + ], + "x-ms-enum": { + "name": "OfficeTrafficCategory", + "modelAsString": true + } + }, + "VirtualWanSecurityProviderType": { + "type": "string", + "description": "The virtual wan security provider type.", + "readOnly": true, + "enum": [ + "External", + "Native" + ], + "x-ms-enum": { + "name": "VirtualWanSecurityProviderType", + "modelAsString": true + } + }, + "P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat": { + "properties": { + "publicCertData": { + "type": "string", + "description": "The certificate public data." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the P2SVpnServerConfiguration VPN client root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "publicCertData" + ], + "description": "Properties of VPN client root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigVpnClientRootCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat", + "description": "Properties of the P2SVpnServerConfiguration VPN client root certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "required": [ + "properties" + ], + "description": "VPN client root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat": { + "properties": { + "publicCertData": { + "type": "string", + "description": "The certificate public data." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the P2SVpnServerConfiguration Radius Server root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "required": [ + "publicCertData" + ], + "description": "Properties of Radius Server root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigRadiusServerRootCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat", + "description": "Properties of the P2SVpnServerConfiguration Radius Server root certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "required": [ + "properties" + ], + "description": "Radius Server root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat": { + "properties": { + "thumbprint": { + "type": "string", + "description": "The revoked VPN client certificate thumbprint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the VPN client revoked certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the revoked VPN client certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigVpnClientRevokedCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat", + "description": "Properties of the vpn client revoked certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VPN client revoked certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat": { + "properties": { + "thumbprint": { + "type": "string", + "description": "The Radius client root certificate thumbprint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the Radius client root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the Radius client root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigRadiusClientRootCertificate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat", + "description": "Properties of the Radius client root certificate." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Radius client root certificate of P2SVpnServerConfiguration." + }, + "P2SVpnServerConfigurationProperties": { + "properties": { + "name": { + "type": "string", + "description": "The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name." + }, + "vpnProtocols": { + "type": "array", + "items": { + "type": "string", + "description": "VPN protocol enabled for the P2SVpnServerConfiguration.", + "enum": [ + "IkeV2", + "OpenVPN" + ], + "x-ms-enum": { + "name": "VpnGatewayTunnelingProtocol", + "modelAsString": true + } + }, + "description": "VPN protocols for the P2SVpnServerConfiguration." + }, + "p2SVpnServerConfigVpnClientRootCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnServerConfigVpnClientRootCertificate" + }, + "description": "VPN client root certificate of P2SVpnServerConfiguration." + }, + "p2SVpnServerConfigVpnClientRevokedCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnServerConfigVpnClientRevokedCertificate" + }, + "description": "VPN client revoked certificate of P2SVpnServerConfiguration." + }, + "p2SVpnServerConfigRadiusServerRootCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnServerConfigRadiusServerRootCertificate" + }, + "description": "Radius Server root certificate of P2SVpnServerConfiguration." + }, + "p2SVpnServerConfigRadiusClientRootCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnServerConfigRadiusClientRootCertificate" + }, + "description": "Radius client root certificate of P2SVpnServerConfiguration." + }, + "vpnClientIpsecPolicies": { + "type": "array", + "items": { + "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy" + }, + "description": "VpnClientIpsecPolicies for P2SVpnServerConfiguration." + }, + "radiusServerAddress": { + "type": "string", + "description": "The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection." + }, + "radiusServerSecret": { + "type": "string", + "description": "The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the P2SVpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "p2SVpnGateways": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of references to P2SVpnGateways." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "description": "Parameters for P2SVpnServerConfiguration." + }, + "P2SVpnServerConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnServerConfigurationProperties", + "description": "Properties of the P2SVpnServer configuration." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "P2SVpnServerConfiguration Resource." + }, + "ListP2SVpnServerConfigurationsResult": { + "description": "Result of the request to list all P2SVpnServerConfigurations associated to a VirtualWan. It contains a list of P2SVpnServerConfigurations and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnServerConfiguration" + }, + "description": "List of P2SVpnServerConfigurations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "VpnClientConnectionHealth": { + "properties": { + "totalIngressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "Total of the Ingress Bytes Transferred in this P2S Vpn connection." + }, + "totalEgressBytesTransferred": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "Total of the Egress Bytes Transferred in this connection." + }, + "vpnClientConnectionsCount": { + "type": "integer", + "format": "int32", + "description": "The total of p2s vpn clients connected at this time to this P2SVpnGateway." + }, + "allocatedIpAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of allocated ip addresses to the connected p2s vpn clients." + } + }, + "description": "VpnClientConnectionHealth properties." + }, + "P2SVpnGatewayProperties": { + "properties": { + "virtualHub": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The VirtualHub to which the gateway belongs." + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "$ref": "./network.json#/definitions/ProvisioningState" + }, + "vpnGatewayScaleUnit": { + "type": "integer", + "format": "int32", + "description": "The scale unit for this p2s vpn gateway." + }, + "p2SVpnServerConfiguration": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The P2SVpnServerConfiguration to which the p2sVpnGateway is attached to." + }, + "vpnClientAddressPool": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents Address space for P2S VpnClient." + }, + "customRoutes": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents the custom routes specified by the customer for P2SVpnGateway and P2S VpnClient." + }, + "vpnClientConnectionHealth": { + "readOnly": true, + "$ref": "#/definitions/VpnClientConnectionHealth", + "description": "All P2S VPN clients' connection health status." + } + }, + "description": "Parameters for P2SVpnGateway." + }, + "P2SVpnGateway": { + "required": [ + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/P2SVpnGatewayProperties", + "description": "Properties of the P2SVpnGateway." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "P2SVpnGateway Resource." + }, + "ListP2SVpnGatewaysResult": { + "description": "Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/P2SVpnGateway" + }, + "description": "List of P2SVpnGateways." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "P2SVpnProfileParameters": { + "properties": { + "authenticationMethod": { + "$ref": "./network.json#/definitions/AuthenticationMethod", + "description": "VPN client authentication method." + } + }, + "description": "Vpn Client Parameters for package generation." + }, + "VpnProfileResponse": { + "properties": { + "profileUrl": { + "type": "string", + "description": "URL to the VPN profile." + } + }, + "description": "Vpn Profile Response for package generation." + }, + "VpnLinkBgpSettings": { + "properties": { + "asn": { + "type": "integer", + "format": "int64", + "description": "The BGP speaker's ASN." + }, + "bgpPeeringAddress": { + "type": "string", + "description": "The BGP peering address and BGP identifier of this BGP speaker." + } + }, + "description": "BGP settings details for a link." + }, + "VpnLinkProviderProperties": { + "properties": { + "linkProviderName": { + "type": "string", + "description": "Name of the link provider." + }, + "linkSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Link speed." + } + }, + "description": "List of properties of a link provider." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssNetworkInterface.json new file mode 100644 index 000000000000..fe65a63d85a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssNetworkInterface.json @@ -0,0 +1,344 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2017-03-30" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces", + "description": "Gets information about all network interfaces in a virtual machine in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface resources.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-examples": { + "List virtual machine scale set vm network interfaces": { + "$ref": "./examples/VmssVmNetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces", + "description": "Gets all network interfaces in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of NetworkInterface resources.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-examples": { + "List virtual machine scale set network interfaces": { + "$ref": "./examples/VmssNetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface", + "description": "Get the specified network interface in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkInterface resource.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + } + } + }, + "x-ms-examples": { + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetIpConfigurations", + "description": "Get the specified network interface ip configuration in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the list of resulting NetworkInterfaceIPConfigurations resources.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfigurationListResult" + } + } + }, + "x-ms-examples": { + "List virtual machine scale set network interface ip configurations": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetIpConfiguration", + "description": "Get the specified network interface ip configuration in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "ipConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ip configuration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting NetworkInterfaceIPConfiguration resource.", + "schema": { + "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration" + } + } + }, + "x-ms-examples": { + "Get virtual machine scale set network interface": { + "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssPublicIpAddress.json new file mode 100644 index 000000000000..d11b961e4f88 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/vmssPublicIpAddress.json @@ -0,0 +1,223 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2017-03-30" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses": { + "get": { + "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetPublicIPAddresses", + "description": "Gets information about all public IP addresses on a virtual machine scale set level.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPInterface resources.", + "schema": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult" + } + } + }, + "x-ms-examples": { + "ListVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": { + "get": { + "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetVMPublicIPAddresses", + "description": "Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The network interface name." + }, + { + "name": "ipConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The IP configuration name." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of PublicIPAddress resources.", + "schema": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult" + } + } + }, + "x-ms-examples": { + "ListVMSSVMPublicIP": { + "$ref": "./examples/VmssVmPublicIpList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": { + "get": { + "operationId": "PublicIPAddresses_GetVirtualMachineScaleSetPublicIPAddress", + "description": "Get the specified public IP address in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "virtualmachineIndex", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual machine index." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "ipConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the IP configuration." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the public IP Address." + }, + { + "$ref": "./network.json#/parameters/ApiVersionVmssParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "x-ms-examples": { + "GetVMSSPublicIP": { + "$ref": "./examples/VmssPublicIpGet.json" + } + }, + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting PublicIPAddress resource.", + "schema": { + "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress" + } + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/webapplicationfirewall.json new file mode 100644 index 000000000000..e3e5c265e14d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/webapplicationfirewall.json @@ -0,0 +1,537 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-01", + "title": "WebApplicationFirewallManagement", + "description": "APIs to manage web application firewall rules." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": { + "get": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Lists all of the protection policies within a resource group.", + "operationId": "WebApplicationFirewallPolicies_List", + "x-ms-examples": { + "Lists all WAF policies in a resource group": { + "$ref": "./examples/WafListPolicies.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicyListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": { + "get": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "operationId": "WebApplicationFirewallPolicies_ListAll", + "x-ms-examples": { + "Lists all WAF policies in a subscription": { + "$ref": "./examples/WafListAllPolicies.json" + } + }, + "description": "Gets all the WAF policies in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicyListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}": { + "get": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Retrieve protection policy with specified name within a resource group.", + "operationId": "WebApplicationFirewallPolicies_Get", + "x-ms-examples": { + "Gets a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyGet.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "policyName", + "in": "path", + "required": true, + "type": "string", + "maxLength": 128, + "description": "The name of the policy." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + } + } + }, + "put": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Creates or update policy with specified rule set name within a resource group.", + "operationId": "WebApplicationFirewallPolicies_CreateOrUpdate", + "x-ms-examples": { + "Creates or updates a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyCreateOrUpdate.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "policyName", + "in": "path", + "required": true, + "type": "string", + "maxLength": 128, + "description": "The name of the policy." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "description": "Policy to be created.", + "in": "body", + "name": "parameters", + "required": true, + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + }, + { + "$ref": "network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new protection policy has been created.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + } + } + }, + "delete": { + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Deletes Policy.", + "operationId": "WebApplicationFirewallPolicies_Delete", + "x-ms-examples": { + "Deletes a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyDelete.json" + } + }, + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "policyName", + "in": "path", + "required": true, + "type": "string", + "maxLength": 128, + "description": "The name of the policy." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the policy was not found." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "WebApplicationFirewallPolicy": { + "description": "Defines web application firewall policy.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WebApplicationFirewallPolicyPropertiesFormat", + "description": "Properties of the web application firewall policy." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ] + }, + "WebApplicationFirewallPolicyPropertiesFormat": { + "description": "Defines web application firewall policy properties.", + "properties": { + "policySettings": { + "description": "Describes policySettings for policy.", + "$ref": "#/definitions/PolicySettings" + }, + "customRules": { + "description": "Describes custom rules inside the policy.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationFirewallCustomRule" + } + }, + "applicationGateways": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./applicationGateway.json#/definitions/ApplicationGateway" + }, + "description": "A collection of references to application gateways." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the WebApplicationFirewallPolicy." + }, + "resourceState": { + "title": "Resource status of the policy.", + "readOnly": true, + "type": "string", + "description": "Resource status of the policy.", + "enum": [ + "Creating", + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Deleting" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallPolicyResourceState", + "modelAsString": true + } + } + } + }, + "WebApplicationFirewallPolicyListResult": { + "description": "Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + }, + "description": "List of WebApplicationFirewallPolicies within a resource group." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "URL to get the next set of WebApplicationFirewallPolicy objects if there are any." + } + } + }, + "PolicySettings": { + "description": "Defines contents of a web application firewall global configuration.", + "properties": { + "enabledState": { + "description": "Describes if the policy is in enabled state or disabled state.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallEnabledState", + "modelAsString": true + } + }, + "mode": { + "description": "Describes if it is in detection mode or prevention mode at policy level.", + "type": "string", + "enum": [ + "Prevention", + "Detection" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallMode", + "modelAsString": true + } + } + } + }, + "WebApplicationFirewallCustomRule": { + "description": "Defines contents of a web application rule.", + "required": [ + "priority", + "ruleType", + "matchConditions", + "action" + ], + "properties": { + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a policy. This name can be used to access the resource.", + "maxLength": 128 + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "Gets a unique read-only string that changes whenever the resource is updated." + }, + "priority": { + "description": "Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.", + "type": "integer" + }, + "ruleType": { + "description": "Describes type of rule.", + "type": "string", + "enum": [ + "MatchRule", + "Invalid" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallRuleType", + "modelAsString": true + } + }, + "matchConditions": { + "description": "List of match conditions.", + "type": "array", + "items": { + "$ref": "#/definitions/MatchCondition" + } + }, + "action": { + "description": "Type of Actions.", + "type": "string", + "enum": [ + "Allow", + "Block", + "Log" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallAction", + "modelAsString": true + } + } + } + }, + "Transform": { + "description": "Describes what transforms applied before matching.", + "type": "string", + "enum": [ + "Lowercase", + "Trim", + "UrlDecode", + "UrlEncode", + "RemoveNulls", + "HtmlEntityDecode" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallTransform", + "modelAsString": true + } + }, + "MatchVariable": { + "description": "Define match variables.", + "required": [ + "variableName" + ], + "properties": { + "variableName": { + "description": "Match Variable.", + "type": "string", + "enum": [ + "RemoteAddr", + "RequestMethod", + "QueryString", + "PostArgs", + "RequestUri", + "RequestHeaders", + "RequestBody", + "RequestCookies" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallMatchVariable", + "modelAsString": true + } + }, + "selector": { + "description": "Describes field of the matchVariable collection.", + "type": "string" + } + } + }, + "MatchCondition": { + "description": "Define match conditions.", + "required": [ + "matchVariables", + "operator", + "matchValues" + ], + "properties": { + "matchVariables": { + "description": "List of match variables.", + "type": "array", + "items": { + "$ref": "#/definitions/MatchVariable" + } + }, + "operator": { + "description": "Describes operator to be matched.", + "type": "string", + "enum": [ + "IPMatch", + "Equal", + "Contains", + "LessThan", + "GreaterThan", + "LessThanOrEqual", + "GreaterThanOrEqual", + "BeginsWith", + "EndsWith", + "Regex" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallOperator", + "modelAsString": true + } + }, + "negationConditon": { + "description": "Describes if this is negate condition or not.", + "type": "boolean" + }, + "matchValues": { + "description": "Match value.", + "type": "array", + "items": { + "type": "string" + } + }, + "transforms": { + "description": "List of transforms.", + "type": "array", + "items": { + "$ref": "#/definitions/Transform" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index b2a90410c4cc..406288ee39d1 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -28,20 +28,65 @@ These are the global settings for the Network API. title: NetworkManagementClient description: Network Client openapi-type: arm -tag: package-2019-04 +tag: package-2019-06 ``` +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.Network/stable/2019-06-01/applicationGateway.json + - Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json + - Microsoft.Network/stable/2019-06-01/availableDelegations.json + - Microsoft.Network/stable/2019-06-01/azureFirewall.json + - Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json + - Microsoft.Network/stable/2019-06-01/bastionHost.json + - Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json + - Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json + - Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json + - Microsoft.Network/stable/2019-06-01/endpointService.json + - Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json + - Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json + - Microsoft.Network/stable/2019-06-01/expressRouteGateway.json + - Microsoft.Network/stable/2019-06-01/expressRoutePort.json + - Microsoft.Network/stable/2019-06-01/loadBalancer.json + - Microsoft.Network/stable/2019-06-01/natGateway.json + - Microsoft.Network/stable/2019-06-01/network.json + - Microsoft.Network/stable/2019-06-01/networkInterface.json + - Microsoft.Network/stable/2019-06-01/networkProfile.json + - Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json + - Microsoft.Network/stable/2019-06-01/networkWatcher.json + - Microsoft.Network/stable/2019-06-01/operation.json + - Microsoft.Network/stable/2019-06-01/privateEndpoint.json + - Microsoft.Network/stable/2019-06-01/privateLinkService.json + - Microsoft.Network/stable/2019-06-01/publicIpAddress.json + - Microsoft.Network/stable/2019-06-01/publicIpPrefix.json + - Microsoft.Network/stable/2019-06-01/routeFilter.json + - Microsoft.Network/stable/2019-06-01/routeTable.json + - Microsoft.Network/stable/2019-06-01/serviceCommunity.json + - Microsoft.Network/stable/2019-06-01/serviceEndpointPolicy.json + - Microsoft.Network/stable/2019-06-01/serviceTags.json + - Microsoft.Network/stable/2019-06-01/usage.json + - Microsoft.Network/stable/2019-06-01/virtualNetwork.json + - Microsoft.Network/stable/2019-06-01/virtualNetworkGateway.json + - Microsoft.Network/stable/2019-06-01/virtualNetworkTap.json + - Microsoft.Network/stable/2019-06-01/virtualWan.json + - Microsoft.Network/stable/2019-06-01/vmssNetworkInterface.json + - Microsoft.Network/stable/2019-06-01/vmssPublicIpAddress.json + - Microsoft.Network/stable/2019-06-01/webapplicationfirewall.json +``` ### Tag: package-2019-04 These settings apply only when `--tag=package-2019-04` is specified on the command line. -```yaml $(tag) == 'package-2019-04' +``` yaml $(tag) == 'package-2019-04' input-file: - Microsoft.Network/stable/2019-04-01/applicationGateway.json - Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json - Microsoft.Network/stable/2019-04-01/availableDelegations.json - - Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json - Microsoft.Network/stable/2019-04-01/azureFirewall.json - Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json - Microsoft.Network/stable/2019-04-01/bastionHost.json @@ -79,6 +124,7 @@ input-file: - Microsoft.Network/stable/2019-04-01/vmssPublicIpAddress.json - Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json ``` + ### Tag: package-2019-02 These settings apply only when `--tag=package-2019-02` is specified on the command line. @@ -958,6 +1004,9 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: serviceCommunity.json reason: name, id and type properties are inherited from the upper level + - suppress: AvoidNestedProperties + where: $.definitions.ServiceTagInformation.properties.properties + reason: No x-ms-client-flatten by design - suppress: RequiredPropertiesMissingInResourceModel from: usage.json reason: name, id and type properties are inherited from the upper level From cf3a9cdfaf38d073efd1243c56d6190f33b5fcc1 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 16 Jul 2019 17:33:41 -0400 Subject: [PATCH 286/495] Add markdownlint config (#6408) --- .markdownlint.json | 27 ++++++ documentation/creating-swagger.md | 2 +- .../openapi-authoring-automated-guidelines.md | 92 +++++++++---------- .../openapi-authoring-manual-guidelines.md | 4 +- documentation/swagger-checklist.md | 4 +- .../resource-manager/readme.csharp.md | 2 +- .../preview/v1.0/feedback.receipt.md | 2 +- specification/imds/data-plane/readme.md | 2 +- .../resource-manager/readme.md | 2 +- 9 files changed, 82 insertions(+), 55 deletions(-) create mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 000000000000..f1fb7eb9fa4f --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,27 @@ +{ + "default": true, + "MD001": false, + "MD003": false, + "MD004": false, + "MD005": false, + "MD006": false, + "MD007": false, + "MD009": false, + "MD012": false, + "MD013": false, + "MD020": false, + "MD022": false, + "MD024": false, + "MD025": false, + "MD026": false, + "MD028": false, + "MD029": false, + "MD031": false, + "MD032": false, + "MD033": false, + "MD034": false, + "MD036": false, + "MD040": false, + "MD041": false, + "MD047": false +} diff --git a/documentation/creating-swagger.md b/documentation/creating-swagger.md index e2bfa9687afa..cb0c6dd7fb5f 100644 --- a/documentation/creating-swagger.md +++ b/documentation/creating-swagger.md @@ -342,7 +342,7 @@ You can describe all the [possible HTTP Response status codes](http://www.w3.org - If **a schema is provided** for the negative response codes then this will have an impact on the return type of the generated method. - For example: if a schema was provided for 200, and 400 was also described with a schema then, - the **return type** would be the Common Ancestor of both the schemas. In most cases there is nothing common between a positive and a negative response code. Hence the return type will be an `Object`. Note:This may not be very helpful to the customer - - an exception ** will NOT be thrown for 400** and the generated method will deserialize the response body as per the schema of "400". + - an exception **will NOT be thrown for 400** and the generated method will deserialize the response body as per the schema of "400". - any other negative response code will be treated as per the "default" response status code defined in the swagger for that operation. - If **a schema is NOT provided** for the negative response codes then this will **NOT** have an impact on the return type of the generated method. - For example: if a schema was provided for 200 and 404 was described as one of the responses. However, 404 does not have a schema. In this scenario, diff --git a/documentation/openapi-authoring-automated-guidelines.md b/documentation/openapi-authoring-automated-guidelines.md index 88ef6569942f..9ea784b53e94 100644 --- a/documentation/openapi-authoring-automated-guidelines.md +++ b/documentation/openapi-authoring-automated-guidelines.md @@ -32,34 +32,34 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an | Id | Rule Name | Applies to | | --- | --- | --- | -| [R3012](#r3012) | [APIVersionPattern](#r3012) | ARM OpenAPI(swagger) specs | -| [R3019](#r3019) | [ARMResourcePropertiesBag](#r3019) | ARM and Data plane OpenAPI(swagger) specs | -| [R3014](#r3014) | [BodyPropertiesNamesCamelCase](#r3014) | ARM and Data plane OpenAPI(swagger) specs | -| [R3016](#r3016) | [DefinitionsPropertiesNamesCamelCase](#r3016) | ARM and Data plane OpenAPI(swagger) specs | -| [R3006](#r3006) | [BodyTopLevelProperties](#r3006) | ARM OpenAPI(swagger) specs | -| [R3008](#r3008) | [CollectionObjectPropertiesNaming](#r3008) | ARM and Data plane OpenAPI(swagger) specs | -| [R2044](#r2044) | [InvalidVerbUsed](#r2044) | ARM and Data plane OpenAPI(swagger) specs | -| [R3023](#r3023) | [OperationsAPIImplementation](#r3023) | ARM OpenAPI(swagger) specs | -| [R3007](#r3007) | [PutGetPatchResponseSchema](#r3007) | ARM and Data plane OpenAPI(swagger) specs | -| [R3025](#r3025) | [TrackedResourceGetOperation](#r3025) | ARM OpenAPI(swagger) specs | -| [R3026](#r3026) | [TrackedResourcePatchOperation](#r3026) | ARM OpenAPI(swagger) specs | -| [R2059](#r2059) | [UniqueResourcePaths](#r2059) | ARM OpenAPI(swagger) specs | -| [R2016](#r2016) | [PatchBodyParametersSchema](#r2016) | ARM and Data plane OpenAPI(swagger) specs | -| [R2062](#r2062) | [XmsResourceInPutResponse](#r2062) | ARM OpenAPI(swagger) specs | -| [R3027](#r3027) | [TrackedResourceListByResourceGroup](#r3027) | ARM OpenAPI(swagger) specs | -| [R3028](#r3028) | [TrackedResourceListBySubscription](#r3028) | ARM OpenAPI(swagger) specs | -| [R3011](#r3011) | [DescriptionMustNotBeNodeName](#r3011) | ARM and Data plane OpenAPI(swagger) specs | +| [R3012](#r3012) | [APIVersionPattern](#r3012) | ARM OpenAPI(swagger) specs | +| [R3019](#r3019) | [ARMResourcePropertiesBag](#r3019) | ARM and Data plane OpenAPI(swagger) specs | +| [R3014](#r3014) | [BodyPropertiesNamesCamelCase](#r3014) | ARM and Data plane OpenAPI(swagger) specs | +| [R3016](#r3016) | [DefinitionsPropertiesNamesCamelCase](#r3016) | ARM and Data plane OpenAPI(swagger) specs | +| [R3006](#r3006) | [BodyTopLevelProperties](#r3006) | ARM OpenAPI(swagger) specs | +| [R3008](#r3008) | [CollectionObjectPropertiesNaming](#r3008) | ARM and Data plane OpenAPI(swagger) specs | +| [R2044](#r2044) | [InvalidVerbUsed](#r2044) | ARM and Data plane OpenAPI(swagger) specs | +| [R3023](#r3023) | [OperationsAPIImplementation](#r3023) | ARM OpenAPI(swagger) specs | +| [R3007](#r3007) | [PutGetPatchResponseSchema](#r3007) | ARM and Data plane OpenAPI(swagger) specs | +| [R3025](#r3025) | [TrackedResourceGetOperation](#r3025) | ARM OpenAPI(swagger) specs | +| [R3026](#r3026) | [TrackedResourcePatchOperation](#r3026) | ARM OpenAPI(swagger) specs | +| [R2059](#r2059) | [UniqueResourcePaths](#r2059) | ARM OpenAPI(swagger) specs | +| [R2016](#r2016) | [PatchBodyParametersSchema](#r2016) | ARM and Data plane OpenAPI(swagger) specs | +| [R2062](#r2062) | [XmsResourceInPutResponse](#r2062) | ARM OpenAPI(swagger) specs | +| [R3027](#r3027) | [TrackedResourceListByResourceGroup](#r3027) | ARM OpenAPI(swagger) specs | +| [R3028](#r3028) | [TrackedResourceListBySubscription](#r3028) | ARM OpenAPI(swagger) specs | +| [R3011](#r3011) | [DescriptionMustNotBeNodeName](#r3011) | ARM and Data plane OpenAPI(swagger) specs | | [R2020](#r2020) | [RequiredPropertiesMissingInResourceModel](#r2020) | ARM OpenAPI(swagger) specs | #### ARM Warnings | Id | Rule Name | Applies to | | --- | --- | --- | -| [R3018](#r3018) | [EnumInsteadOfBoolean](#r3018) | ARM and Data plane OpenAPI(swagger) specs | -| [R3017](#r3017) | [GuidUsage](#r3017) | ARM and Data plane OpenAPI(swagger) specs | -| [R2057](#r2057) | [InvalidSkuModel](#r2057) | ARM OpenAPI(swagger) specs | -| [R3010](#r3010) | [TrackedResourceListByImmediateParent](#r3010) | ARM OpenAPI(swagger) specs | -| [R2004](#r2004) | [NonApplicationJsonType](#r2004) | ARM OpenAPI(swagger) specs | +| [R3018](#r3018) | [EnumInsteadOfBoolean](#r3018) | ARM and Data plane OpenAPI(swagger) specs | +| [R3017](#r3017) | [GuidUsage](#r3017) | ARM and Data plane OpenAPI(swagger) specs | +| [R2057](#r2057) | [InvalidSkuModel](#r2057) | ARM OpenAPI(swagger) specs | +| [R3010](#r3010) | [TrackedResourceListByImmediateParent](#r3010) | ARM OpenAPI(swagger) specs | +| [R2004](#r2004) | [NonApplicationJsonType](#r2004) | ARM OpenAPI(swagger) specs | ### SDK Violations @@ -69,26 +69,26 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an | --- | --- | --- | | [R2024](#r2024) | [AnonymousBodyParameter](#r2024) | ARM and Data plane OpenAPI(swagger) specs | | [R2026](#r2026) | [AvoidAnonymousTypes](#r2026) | ARM and Data plane OpenAPI(swagger) specs | -| [R2014](#r2014) | [SubscriptionIdParameterInOperations](#r2014) | ARM and Data plane OpenAPI(swagger) specs | -| [R2027](#r2027) | [DefaultMustBeInEnum](#r2027) | ARM and Data plane OpenAPI(swagger) specs | -| [R1001](#r1001) | [OperationIdNounInVerb](#r1001) | ARM and Data plane OpenAPI(swagger) specs | -| [R2055](#r2055) | [OneUnderscoreInOperationId](#r2055) | ARM and Data plane OpenAPI(swagger) specs | -| [R2003](#r2003) | [ValidFormats](#r2003) | ARM and Data plane OpenAPI(swagger) specs | -| [R2005](#r2005) | [LongRunningResponseStatusCode](#r2005) | ARM and Data plane OpenAPI(swagger) specs | -| [R2008](#r2008) | [MutabilityWithReadOnlyRule](#r2008) | ARM and Data plane OpenAPI(swagger) specs | -| [R2025](#r2025) | [NextLinkPropertyMustExist](#r2025) | ARM and Data plane OpenAPI(swagger) specs | +| [R2014](#r2014) | [SubscriptionIdParameterInOperations](#r2014) | ARM and Data plane OpenAPI(swagger) specs | +| [R2027](#r2027) | [DefaultMustBeInEnum](#r2027) | ARM and Data plane OpenAPI(swagger) specs | +| [R1001](#r1001) | [OperationIdNounInVerb](#r1001) | ARM and Data plane OpenAPI(swagger) specs | +| [R2055](#r2055) | [OneUnderscoreInOperationId](#r2055) | ARM and Data plane OpenAPI(swagger) specs | +| [R2003](#r2003) | [ValidFormats](#r2003) | ARM and Data plane OpenAPI(swagger) specs | +| [R2005](#r2005) | [LongRunningResponseStatusCode](#r2005) | ARM and Data plane OpenAPI(swagger) specs | +| [R2008](#r2008) | [MutabilityWithReadOnlyRule](#r2008) | ARM and Data plane OpenAPI(swagger) specs | +| [R2025](#r2025) | [NextLinkPropertyMustExist](#r2025) | ARM and Data plane OpenAPI(swagger) specs | | [R2028](#r2028) | [NonEmptyClientName](#r2028) | ARM and Data plane OpenAPI(swagger) specs | | [R2060](#r2060) | [PageableRequires200Response](#r2060) | ARM and Data plane OpenAPI(swagger) specs | -| [R2019](#r2019) | [ResourceHasXMsResourceEnabled](#r2019) | ARM OpenAPI(swagger) specs | +| [R2019](#r2019) | [ResourceHasXMsResourceEnabled](#r2019) | ARM OpenAPI(swagger) specs | | [R2058](#r2058) | [XmsPathsMustOverloadPaths](#r2058) | ARM and Data plane OpenAPI(swagger) specs | -| [R2012](#r2012) | [XmsClientNameParameter](#r2012) | ARM and Data plane OpenAPI(swagger) specs | -| [R2013](#r2013) | [XmsClientNameProperty](#r2013) | ARM and Data plane OpenAPI(swagger) specs | -| [R2047](#r2047) | [NamePropertyDefinitionInParameter](#r2047) | ARM and Data plane OpenAPI(swagger) specs | -| [R2056](#r2056) | [RequiredReadOnlyProperties](#r2056) | ARM and Data plane OpenAPI(swagger) specs | -| [R2054](#r2054) | [SecurityDefinitionsStructure](#r2054) | ARM OpenAPI(swagger) specs | -| [R2006](#r2006) | [ControlCharactersNotAllowed](#r2006) | ARM and Data plane OpenAPI(swagger) specs | -| [R2009](#r2009) | [ArraySchemaMustHaveItems](#r2009) | ARM and Data plane OpenAPI(swagger) specs | -| [R3013](#r3013) | [DeleteMustNotHaveRequestBody](#r3013) | ARM and Data plane OpenAPI(swagger) specs | +| [R2012](#r2012) | [XmsClientNameParameter](#r2012) | ARM and Data plane OpenAPI(swagger) specs | +| [R2013](#r2013) | [XmsClientNameProperty](#r2013) | ARM and Data plane OpenAPI(swagger) specs | +| [R2047](#r2047) | [NamePropertyDefinitionInParameter](#r2047) | ARM and Data plane OpenAPI(swagger) specs | +| [R2056](#r2056) | [RequiredReadOnlyProperties](#r2056) | ARM and Data plane OpenAPI(swagger) specs | +| [R2054](#r2054) | [SecurityDefinitionsStructure](#r2054) | ARM OpenAPI(swagger) specs | +| [R2006](#r2006) | [ControlCharactersNotAllowed](#r2006) | ARM and Data plane OpenAPI(swagger) specs | +| [R2009](#r2009) | [ArraySchemaMustHaveItems](#r2009) | ARM and Data plane OpenAPI(swagger) specs | +| [R3013](#r3013) | [DeleteMustNotHaveRequestBody](#r3013) | ARM and Data plane OpenAPI(swagger) specs | | [R4001](#r4001) | [XmsParameterLocation](#r4001) | ARM and Data plan OpenAPI(swagger) specs | #### SDK Warnings @@ -99,16 +99,16 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an | [R4000](#r4000-3) | [DescriptiveDescriptionRequired](#r4000-3) | ARM and Data plane OpenAPI(swagger) specs | | [R4000](#r4000-4) | [DescriptionAndTitleMissing](#r4000-4) | ARM and Data plane OpenAPI(swagger) specs | | [R4000](#r4000-5) | [OperationDescriptionOrSummaryRequired](#r4000-5) | ARM and Data plane OpenAPI(swagger) specs | -| [R2001](#r2001) | [AvoidNestedProperties](#r2001) | ARM and Data plane OpenAPI(swagger) specs | -| [R4002](#r4002) | [LocationMustHaveXmsMutability](#r4002) | ARM OpenAPI(swagger) specs | -| [R2066](#r2066) | [PostOperationIdContainsUrlVerb](#r2066) | ARM and Data plane OpenAPI(swagger) specs | +| [R2001](#r2001) | [AvoidNestedProperties](#r2001) | ARM and Data plane OpenAPI(swagger) specs | +| [R4002](#r4002) | [LocationMustHaveXmsMutability](#r4002) | ARM OpenAPI(swagger) specs | +| [R2066](#r2066) | [PostOperationIdContainsUrlVerb](#r2066) | ARM and Data plane OpenAPI(swagger) specs | | [R2015](#r2015) | [ParameterNotDefinedInGlobalParameters](#r2015) | ARM and Data plane OpenAPI(swagger) specs | | [R1010](#r1010) | [AvoidMSDNReferences](#r1010) | ARM and Data plane OpenAPI(swagger) specs | -| [R2017](#r2017) | [PutRequestResponseScheme](#r2017) | ARM and Data plane OpenAPI(swagger) specs | +| [R2017](#r2017) | [PutRequestResponseScheme](#r2017) | ARM and Data plane OpenAPI(swagger) specs | | [R1009](#r1009) | [DeleteInOperationName](#r1009) | ARM and Data plane OpenAPI(swagger) specs | | [R1005](#r1005) | [GetInOperationName](#r1005) | ARM and Data plane OpenAPI(swagger) specs | | [R1003](#r1003) | [ListInOperationName](#r1003) | ARM and Data plane OpenAPI(swagger) specs | -| [R1006](#r1006) | [PutInOperationName](#r1006) | ARM and Data plane OpenAPI(swagger) specs | +| [R1006](#r1006) | [PutInOperationName](#r1006) | ARM and Data plane OpenAPI(swagger) specs | | [R1007](#r1007) | [PatchInOperationName](#r1007) | ARM and Data plane OpenAPI(swagger) specs | | [R1011](#r1011) | [HttpsSupportedScheme](#r1011) | ARM OpenAPI(swagger) specs | | [R2065](#r2065) | [LicenseHeaderMustNotBeSpecified](#r2065) | ARM and Data plane OpenAPI(swagger) specs | @@ -331,7 +331,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings) -### R4002 LocationMustHaveXmsMutability +### R4002 LocationMustHaveXmsMutability **Category** : SDK Warning **Applies to** : ARM OpenAPI(swagger) specs @@ -378,7 +378,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings) -### R2066 PostOperationIdContainsUrlVerb +### R2066 PostOperationIdContainsUrlVerb **Category** : SDK Warning **Applies to** : ARM and Data plane OpenAPI(swagger) specs diff --git a/documentation/openapi-authoring-manual-guidelines.md b/documentation/openapi-authoring-manual-guidelines.md index 6b20e2237bfd..f88a627ebc31 100644 --- a/documentation/openapi-authoring-manual-guidelines.md +++ b/documentation/openapi-authoring-manual-guidelines.md @@ -25,9 +25,9 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an | Required parameters MUST be accurately labeled as "required": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs | | Read only parameters of the model properties MUST be labeled as "readOnly": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs | | Required parameters MUST be accurately labeled as "required": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs | -| Required properties of a model definition MUST be accurately labeled as "required": [ "propertyName1" ] in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs | +| Required properties of a model definition MUST be accurately labeled as "required": [ "propertyName1" ] in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs | | An OpenAPI(Swagger) spec MUST NOT define operations or properties or parameters for functionalities that are not currently supported by the service in the given api-version. The primary goal of the spec is that it MUST correctly and completely represent the underlying REST API. For example, NetworkInterface.ipConfigurations is described as a collection. However, it does not support adding more than one IP configuration | Error | | ARM and Data plane OpenAPI(Swagger) specs | -| A collection model in OpenAPI(Swagger) spec MUST support adding more than one element to the collection | Error | | ARM and Data plane OpenAPI(Swagger) specs | +| A collection model in OpenAPI(Swagger) spec MUST support adding more than one element to the collection | Error | | ARM and Data plane OpenAPI(Swagger) specs | | Operations that are exposed through private previews MUST NOT be described in the public GitHub repository. They MUST be described in the private GitHub repository instead | Error | | ARM and Data plane OpenAPI(Swagger) specs | | Parameters that are common to most of the operations (example: resourceGroupName) SHOULD be defined in the global parameters section and they MUST have the extension "x-ms-parameter-location": "method" applied on them. This will make sure that they do not end up being properties on the generated client | Error | SDK Violation | ARM and Data plane OpenAPI(Swagger) specs | | Each operation described in a OpenAPI(Swagger) specification MUST be tested prior to opening a pull request against the preview/master branch of the Azure REST API Specs GitHub repo | Error | | ARM and Data plane OpenAPI(Swagger) specs | diff --git a/documentation/swagger-checklist.md b/documentation/swagger-checklist.md index 93e841d54183..ad8ad747f097 100644 --- a/documentation/swagger-checklist.md +++ b/documentation/swagger-checklist.md @@ -12,10 +12,10 @@ This checklist is a current snapshot of requirements for developing Swagger spec Today, there are tools available for validating a sizable portion of this checklist. Please install these tools on your development machine and use them to validate your Swaggers as you build them. -- [AutoRest OpenAPI Validator](https://github.com/Azure/autorest/blob/master/docs/user/command-line-interface.md#validation) – The OpenAPI validator (activated with `--azure-validator`) statically analyzes a Swagger for errors and violations of requirements outlined in the automated rules checklist. The validator should be run when Swaggers are created or updated. It will be continuously updated to validate newer requirements. +- [AutoRest OpenAPI Validator](https://github.com/Azure/autorest/blob/master/docs/user/command-line-interface.md#validation) – The OpenAPI validator (activated with `--azure-validator`) statically analyzes a Swagger for errors and violations of requirements outlined in the automated rules checklist. The validator should be run when Swaggers are created or updated. It will be continuously updated to validate newer requirements. **NOTE**: This checkmark ( :white_check_mark: ) indicates that rule is covered by AutoRest validation tool. -- [Swagger Model Validator](https://github.com/Azure/openapi-validation-tools) - Model Validator validates models defined for body parameters and responses, and matches them against the expected input and output of an operation. To make this real, test examples are required to be specified in a Swagger for every operation defined in a Swagger. Test examples are integrated into a Swagger using the ["x-ms-examples"](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md) extension, which will be used to test against the defined models. Sample test examples for this extension can be found in the [Redis Cache Swagger](https://github.com/Azure/azure-rest-api-specs/blob/master/arm-redis/2016-04-01/swagger/redis.json ). +- [Swagger Model Validator](https://github.com/Azure/openapi-validation-tools) - Model Validator validates models defined for body parameters and responses, and matches them against the expected input and output of an operation. To make this real, test examples are required to be specified in a Swagger for every operation defined in a Swagger. Test examples are integrated into a Swagger using the ["x-ms-examples"](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md) extension, which will be used to test against the defined models. Sample test examples for this extension can be found in the [Redis Cache Swagger](https://github.com/Azure/azure-rest-api-specs/blob/master/arm-redis/2016-04-01/swagger/redis.json ). The Azure Developer Experience team will continue to deliver rich tools to validate this checklist. diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index 22fbd94c2bd8..9106c01e9b5b 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -98,7 +98,7 @@ batch: - tag: package-policy-2015-10-01-preview ``` - ### Profile: hybrid_2019_03_01 +### Profile: hybrid_2019_03_01 These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md index 6edd7618a0e9..28b298dd7fe5 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md @@ -6,7 +6,7 @@ Feedback: --------- 1. [dsgouda] Mark user non-editable properties as Readonly - related discussion: https://github.com/Azure/azure-rest-api-specs/pull/6042#discussion_r289147638 + related discussion: https://github.com/Azure/azure-rest-api-specs/pull/6042#discussion_r289147638 reference: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/LocalSearch/stable/v1.0/LocalSearch.json#L241 diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md index a16713027481..b9bd7a3f2063 100644 --- a/specification/imds/data-plane/readme.md +++ b/specification/imds/data-plane/readme.md @@ -127,7 +127,7 @@ input-file: - $.definitions.IdentityTokenResponse.properties.client_id - $.definitions.IdentityTokenResponse.properties.object_id - $.definitions.IdentityTokenResponse.properties.msi_res_id - - $.definitions.IdentityErrorResponse.properties.error_description + - $.definitions.IdentityErrorResponse.properties.error_description ``` --- diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 5be496a81d44..e2150d8261b1 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -4,7 +4,7 @@ The underlying APIs are available to users who would like to write their own REST calls. These APIs would allow the user to accept the terms at a subscription, offer and SKU level. These apis are invoked in the context of azure subscription. ----- +--- ***GetAzureRmMarketplaceTerms*** **Request** From 83f8568545263c71320b5b78fb61ad61962a2ba2 Mon Sep 17 00:00:00 2001 From: Nesma Date: Wed, 19 Jun 2019 17:10:24 +0200 Subject: [PATCH 287/495] Updating Authoring for roles --- .../Authoring/stable/v2.0/LUIS-Authoring.json | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json index 07bbfb137d93..bfb4dead67c5 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json @@ -7841,6 +7841,10 @@ "endCharIndex": { "description": "The index within the utterance where the extracted entity ends.", "type": "integer" + }, + "role": { + "description": "The role.", + "type": "string" } } }, @@ -7970,6 +7974,10 @@ "entity": { "description": "The entity name.", "type": "string" + }, + "role": { + "description": "The role.", + "type": "string" } } }, @@ -8758,12 +8766,22 @@ "endTokenIndex": { "description": "The index within the utterance where the extracted entity ends.", "type": "integer" + }, + "role": { + "description": "The role.", + "type": "string" + }, + "roleId": { + "description": "The role Id.", + "type": "string" } }, "required": [ "entityName", "startTokenIndex", - "endTokenIndex" + "endTokenIndex", + "role", + "roleId" ] }, "IntentPrediction": { From b47c68837ed94dd2e1d406370dc8dd0821c86bf0 Mon Sep 17 00:00:00 2001 From: Nesma Date: Wed, 19 Jun 2019 17:29:35 +0200 Subject: [PATCH 288/495] Minor fix --- .../data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json index bfb4dead67c5..1750a2b12e17 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json @@ -8779,9 +8779,7 @@ "required": [ "entityName", "startTokenIndex", - "endTokenIndex", - "role", - "roleId" + "endTokenIndex" ] }, "IntentPrediction": { From bdfbf4258174b9f0c551aa6ef8aafce41c48eaa0 Mon Sep 17 00:00:00 2001 From: Nesma Date: Thu, 20 Jun 2019 10:51:23 +0200 Subject: [PATCH 289/495] Editing role description --- .../LUIS/Authoring/stable/v2.0/LUIS-Authoring.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json index 1750a2b12e17..af14091b21c8 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json @@ -7843,7 +7843,7 @@ "type": "integer" }, "role": { - "description": "The role.", + "description": "The role of the entity within the utterance.", "type": "string" } } @@ -7976,7 +7976,7 @@ "type": "string" }, "role": { - "description": "The role.", + "description": "The role of the entity within the utterance.", "type": "string" } } @@ -8768,7 +8768,7 @@ "type": "integer" }, "role": { - "description": "The role.", + "description": "The role of the entity within the utterance.", "type": "string" }, "roleId": { From 0c3474c9aaa9a509a60b31a9108af9b4b1b01f2c Mon Sep 17 00:00:00 2001 From: Nesma Date: Tue, 9 Jul 2019 12:20:12 +0200 Subject: [PATCH 290/495] Adding roles to example --- .../SuccessfulReviewLabeledExamplesRequest.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json index fd523836028c..d0102f7d58e5 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json @@ -72,14 +72,16 @@ "intentLabel": "BookFlight", "entityLabels": [ { - "entityName": "Location::To", + "entityName": "Location", "startTokenIndex": 7, - "endTokenIndex": 7 + "endTokenIndex": 7, + "role": "To" }, { - "entityName": "Location::From", + "entityName": "Location", "startTokenIndex": 5, - "endTokenIndex": 5 + "endTokenIndex": 5, + "role": "from" } ], "intentPredictions": [ From 6203666516223e8de80552d70c7157806a50f78b Mon Sep 17 00:00:00 2001 From: mozehgir <32183061+mozehgir@users.noreply.github.com> Date: Tue, 16 Jul 2019 15:16:08 -0700 Subject: [PATCH 291/495] Update CONTRIBUTING.md --- .github/CONTRIBUTING.md | 107 ---------------------------------------- 1 file changed, 107 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index ea9533b1fdbb..896f099d6d71 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,110 +1,3 @@ ### *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.* ([`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access.) -

-## Contributing to azure-rest-api-specs -First, thank you for contributing to Azure specs repository! Swagger specs are the basis for generating Azure SDKs in multiple different languages, Azure CLIs for interacting with the services, and can provide documentation for these services. - -## Basics -If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to the [adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo. - -## Table of Contents -[Before starting](#before-starting) -- [Onboarding](#onboarding) -- [Github basics](#github-basics) -- [Code of Conduct](#code-of-conduct) - -[Making changes](#making-changes) -- [Documentation](#documentation) -- [Filenames and folder structure](#filenames-and-folder-structure) -- [Tools for writing Swagger](#tools-for-writing-swagger) -- [Tools for validating Swagger](#tools-for-validating-swagger) - -[Submitting a PR](#submitting-a-pr) - -[Review process](#review-process) -- [SLA](#sla) -- [Review Criteria](#review-criteria) - -## Before starting - -### Onboarding -Make sure that your Github account is part of the Azure organization. [Use this page](http://aka.ms/azuregithub) to link your account. - -Before cloning this repository, please make sure you have started in our [documentation repository adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) (you will only have access to that page if you are part of the Azure organization). - -### Github basics - -#### GitHub workflow -If you don't have experience with Git and Github, some of the terminology and process can be confusing. [Here's a guide to understanding Github](https://guides.github.com/introduction/flow/). - -#### Forking the Azure/azure-rest-api-specs repository -Unless you are working with multiple contributors on the same file, we ask that you fork the repository and submit your Pull Request from there. [Here's a guide to forks in Github](https://guides.github.com/activities/forking/). - -### Code of Conduct -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. - -## Making changes -Swagger files are simply JSON files that follow the [OpenAPI Specification](http://swagger.io/specification/). This specification is extensible, and there are extensions that are used by AutoRest when your SDK is generated. Additionally, there are patterns and standards that are necessary for generating quality SDKs and CLIs. - -### Documentation -The [/documentation](../documentation/) folder contains many resources for writing Swagger files. - -The [Swagger Checklist](../documentation/swagger-checklist.md) page is intended as a guide for different scenarios. If you know the service behavior that you're trying to model (e.g. PUT/PATCH/GET responses and request schemas, or modeling long running operations), that document is structured to make it easy to find our recommendations. - -The [Reference Documentation](../documentation/creating-swagger.md) page contains lots of information about each part of a Swagger file and how to structure it correctly for code generation. If you're looking for an explanation on what a part of Swagger relates to your service or how it's used to generate code, that document is the right place to go. - -### Filenames and folder structure -- Swagger spec for every api-version should be in a separate folder named with the api-version. - - It is time consuming to review the file line by line for every api-version. When you are creating the swagger spec for the new api-version, please copy the swagger spec from the previous version in to the new api-versioned folder and commit it. After that overwrite it with the changes for the new api-version. This makes it easy for us to review the changes. - -### Tools for writing Swagger -As JSON files, specs can be modified in any text editor that you choose. We have some recommendations that can make editing these files easier. - -- _**Recommended**_ Visual Studio Code. -- Visual Studio Code can provide a nice experience for editing JSON, though it takes extra work to use the JSON schema that defines Swagger files. - -### Tools for validating Swagger -There are some tools that can help you make sure your spec conforms to guidelines. The more of these issues that are caught before the PR is sent, the quicker the turnaround to merging the PR will be. - -- _**Recommended**_ Please take a look at the [validation tools for swagger checklist](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-checklist.md#validation-tools-for-swagger-checklist) section. -- The [OpenAPI Initiative Swagger editor](http://editor.swagger.io/#/) will help find basic issues in a Swagger file. However, we apply a higher bar than this validator - just because this site doesn't show errors doesn't mean the spec is ready to merge. -- Similarly, this online [schema validator](https://json-schema-validator.herokuapp.com/) can help find basic errors. Again, we apply a higher bar than this validator - just because this site doesn't show errors doesn't mean the spec is ready to merge. - * In the upper left box, paste the [swagger schema from here](https://github.com/swagger-api/swagger-spec/blob/master/schemas/v2.0/schema.json) - * In the lower left box, paste your swagger json - * Upon clicking the validate button, you should either see errors or success. - -## Submitting a PR - -Please send a [GitHub Pull Request to Azure REST API Specs](https://github.com/azure/azure-rest-api-specs/pull/new/master) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). When you send a pull request, we will love you forever if you include additions to the documentation for your given service. We can always use more documentation and beautiful markdown. Please follow make sure all of your commits are atomic (one feature per commit). - -Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this: - - $ git commit -m "A brief summary of the commit - > - > A paragraph describing what changed and its impact." - -Please be kind with your pull requests and ensure you keeping them as focused and cohesive as possible. Keep your pull -request free of merge commits, code review fixes and anything that may take away from the essence of your contribution. -Use the git tools you have available to you, such as amend, rebase, etc. - - -## Review process -We review spec PRs to maintain a high bar of quality for all products that will be generated from these specs (including SDKs in all languages, CLIs and documentation). It's critical that spec files are both syntactically and semantically correct, as well as conform to common patterns that make it possible to generate SDKs and CLIs that are usable for customers. Since specs are the base input for all of these products, the review process starts with PRs to this repository. Please refer to [Swagger Review Process](https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Review-Process) for more details. - -The expectation is that every spec in a PR will be correct JSON, syntactically correct, will semantically agree with the service it applies to, and will follow the recommended patterns. - -#### Basic JSON correctness -A spec file must be valid JSON, according to the [JSON specification](https://tools.ietf.org/html/rfc7159). It must also be a valid Swagger file, according to the [OpenAPI Specification](http://swagger.io/specification/). Finally, it must also conform to the [schema that AutoRest applies](https://raw.githubusercontent.com/Azure/autorest/master/schema/swagger-extensions.json). - -#### Semantic correctness -Your spec file must correctly represent your service. Even if a spec passes all of the rules listed above, it might not accurately describe the service that it is intended to describe. This could include -- Incorrect schemas for responses or requests (both missing and superfluous properties) -- Missing operations -- Missing parameters (especially required ones) -- etc (this list is not comprehensive) - -Making sure that the spec is correct from a semantic point of view requires domain knowledge and careful comparison of your spec file with your actual service. We will do our best to point out inconsistencies between spec and service if we can infer them, but you are responsible for making sure your spec and service agree. - -**Recommendation**: Check each operation, parameter, schema, property to make sure it accurately models the service API. Refer back to the [Reference documentation](../documentation/creating-swagger.md) for more details on every part of Swagger. - From ad3cd7bb10fd55bb3e2fa529e3183a7eb6610e8e Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Tue, 16 Jul 2019 17:05:31 -0700 Subject: [PATCH 292/495] Update preproduction-azure-pipelines.yml (#6589) * Update preproduction-azure-pipelines.yml * Update preproduction-azure-pipelines.yml --- preproduction-azure-pipelines.yml | 75 +++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml index eea3c45fb761..e567a67f39e6 100644 --- a/preproduction-azure-pipelines.yml +++ b/preproduction-azure-pipelines.yml @@ -35,3 +35,78 @@ jobs: verbose: false - script: 'npm run spellcheck' displayName: 'Run cSpell' + +- job: "Syntax" + pool: + vmImage: 'Ubuntu 16.04' + steps: + - script: | + echo TRAVIS: $(TRAVIS) + echo TRAVIS_BRANCH: $(TRAVIS_BRANCH) + echo TRAVIS_REPO_SLUG: $(TRAVIS_REPO_SLUG) + echo TRAVIS_PULL_REQUEST: $(TRAVIS_PULL_REQUEST) + echo TRAVIS_PULL_REQUEST_SLUG: $(TRAVIS_PULL_REQUEST_SLUG) + echo TRAVIS_PULL_REQUEST_SHA: $(TRAVIS_PULL_REQUEST_SHA) + echo PR_ONLY: $(PR_ONLY) + displayName: "Info" + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' + - script: 'npm test -- test/syntax.js' + displayName: 'Syntax validation' + +- job: "Semantic" + pool: + vmImage: 'Ubuntu 16.04' + steps: + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' + - script: 'npm run tsc && node scripts/semanticValidation.js' + displayName: 'Semantic Validation' + +- job: "ModelValidation" + pool: + vmImage: 'Ubuntu 16.04' + steps: + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' + - script: 'npm run tsc && node scripts/modelValidation.js' + displayName: 'Model Validation' + +- job: "BreakingChange" + pool: + vmImage: 'Ubuntu 16.04' + steps: + - script: 'scripts/install-dotnet.sh' + displayName: 'Install .Net' + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' + - script: 'npm run tsc && node scripts/breaking-change.js' + displayName: 'Breaking Changes' + +- job: "LintDiff" + variables: + NODE_OPTIONS: '--max-old-space-size=8192' + pool: + vmImage: 'Ubuntu 16.04' + steps: + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' + - script: 'scripts/install-dotnet.sh' + displayName: 'install .Net' + - script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' + displayName: 'LintDiff' From 6b8f592b58683aa4e41eaf7b33e41a7cf447de06 Mon Sep 17 00:00:00 2001 From: xiaoyingQQ <51818185+xiaoyingQQ@users.noreply.github.com> Date: Wed, 17 Jul 2019 10:31:55 +0800 Subject: [PATCH 293/495] support teradata dataset in adf (#6568) * support teradata dataset in adf * remove Teradata linked service required property --- .../2018-06-01/entityTypes/Dataset.json | 30 +++++++++++ .../2018-06-01/entityTypes/LinkedService.json | 9 ++-- .../2018-06-01/entityTypes/Pipeline.json | 50 +++++++++++++++++++ 3 files changed, 85 insertions(+), 4 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 742f70fec094..38e805e4edd0 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1268,6 +1268,36 @@ } } }, + "TeradataTableDataset": { + "x-ms-discriminator-value": "TeradataTable", + "description": "The Teradata database dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Teradata dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TeradataTableDatasetTypeProperties" + } + } + }, + "TeradataTableDatasetTypeProperties": { + "description": "Teradata dataset properties.", + "properties": { + "database": { + "type": "object", + "description": "The database name of Teradata. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The table name of Teradata. Type: string (or Expression with resultType string)." + } + } + }, "AzureMySqlTableDataset": { "x-ms-discriminator-value": "AzureMySqlTable", "description": "The Azure MySQL database dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index b22db27ac82c..5e3f67e147aa 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -1153,6 +1153,10 @@ "TeradataLinkedServiceTypeProperties": { "description": "Teradata linked service properties.", "properties": { + "connectionString": { + "description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, "server": { "type": "object", "description": "Server name for connection. Type: string (or Expression with resultType string)." @@ -1181,10 +1185,7 @@ "type": "object", "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." } - }, - "required": [ - "server" - ] + } }, "AzureMLLinkedService": { "x-ms-discriminator-value": "AzureML", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 5fc9ac4cd3c7..448fe2b06baa 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1349,6 +1349,56 @@ } } }, + "TeradataSource": { + "description": "A copy activity Teradata source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Teradata query. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for teradata read in parallel.", + "type": "string", + "enum": [ + "None", + "Hash", + "DynamicRange" + ], + "x-ms-enum": { + "name": "TeradataPartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for teradata source partitioning.", + "$ref": "#/definitions/TeradataPartitionSettings" + } + } + }, + "TeradataPartitionSettings": { + "description": "The settings that will be leveraged for teradata source partitioning.", + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "description": "The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + } + } + }, "WebSource": { "description": "A copy activity source for web page table.", "type": "object", From f7371eeb367d1dc00f27237b3c5c5bb76e06f403 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 16 Jul 2019 22:46:17 -0400 Subject: [PATCH 294/495] chore: jsonfmt arm-compute (#6639) --- arm-compute/quickstart-templates/aliases.json | 141 +++++++++--------- arm-compute/quickstart-templates/swagger.json | 2 +- .../quickstart-templates/vm-simple-linux.json | 2 +- .../vm-simple-windows.json | 2 +- .../quickstart-templates/vm-simple.json | 2 +- 5 files changed, 73 insertions(+), 76 deletions(-) diff --git a/arm-compute/quickstart-templates/aliases.json b/arm-compute/quickstart-templates/aliases.json index 372aa01a97ae..c3166eef59fc 100644 --- a/arm-compute/quickstart-templates/aliases.json +++ b/arm-compute/quickstart-templates/aliases.json @@ -1,90 +1,87 @@ { - "$schema":"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", - "contentVersion":"1.0.0.0", - "parameters":{}, - "variables":{}, - "resources":[], - - "outputs":{ - "aliases":{ - "type":"object", - "value":{ - - "Linux":{ - "CentOS":{ - "publisher":"OpenLogic", - "offer":"CentOS", - "sku":"7.5", - "version":"latest" + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", + "contentVersion": "1.0.0.0", + "parameters": {}, + "variables": {}, + "resources": [], + "outputs": { + "aliases": { + "type": "object", + "value": { + "Linux": { + "CentOS": { + "publisher": "OpenLogic", + "offer": "CentOS", + "sku": "7.5", + "version": "latest" }, - "CoreOS":{ - "publisher":"CoreOS", - "offer":"CoreOS", - "sku":"Stable", - "version":"latest" + "CoreOS": { + "publisher": "CoreOS", + "offer": "CoreOS", + "sku": "Stable", + "version": "latest" }, - "Debian":{ - "publisher":"Debian", - "offer":"debian-10", - "sku":"10", - "version":"latest" + "Debian": { + "publisher": "Debian", + "offer": "debian-10", + "sku": "10", + "version": "latest" }, "openSUSE-Leap": { - "publisher":"SUSE", - "offer":"openSUSE-Leap", - "sku":"42.3", + "publisher": "SUSE", + "offer": "openSUSE-Leap", + "sku": "42.3", "version": "latest" }, - "RHEL":{ - "publisher":"RedHat", - "offer":"RHEL", - "sku":"7-RAW", - "version":"latest" + "RHEL": { + "publisher": "RedHat", + "offer": "RHEL", + "sku": "7-RAW", + "version": "latest" }, - "SLES":{ - "publisher":"SUSE", - "offer":"SLES", - "sku":"15", - "version":"latest" + "SLES": { + "publisher": "SUSE", + "offer": "SLES", + "sku": "15", + "version": "latest" }, - "UbuntuLTS":{ - "publisher":"Canonical", - "offer":"UbuntuServer", - "sku":"18.04-LTS", - "version":"latest" + "UbuntuLTS": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "18.04-LTS", + "version": "latest" } }, - - "Windows":{ - "Win2019Datacenter":{ - "publisher":"MicrosoftWindowsServer", - "offer":"WindowsServer", - "sku":"2019-Datacenter", - "version":"latest" + "Windows": { + "Win2019Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2019-Datacenter", + "version": "latest" }, - "Win2016Datacenter":{ - "publisher":"MicrosoftWindowsServer", - "offer":"WindowsServer", - "sku":"2016-Datacenter", - "version":"latest" + "Win2016Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2016-Datacenter", + "version": "latest" }, - "Win2012R2Datacenter":{ - "publisher":"MicrosoftWindowsServer", - "offer":"WindowsServer", - "sku":"2012-R2-Datacenter", - "version":"latest" + "Win2012R2Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "latest" }, - "Win2012Datacenter":{ - "publisher":"MicrosoftWindowsServer", - "offer":"WindowsServer", - "sku":"2012-Datacenter", - "version":"latest" + "Win2012Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-Datacenter", + "version": "latest" }, - "Win2008R2SP1":{ - "publisher":"MicrosoftWindowsServer", - "offer":"WindowsServer", - "sku":"2008-R2-SP1", - "version":"latest" + "Win2008R2SP1": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2008-R2-SP1", + "version": "latest" } } } diff --git a/arm-compute/quickstart-templates/swagger.json b/arm-compute/quickstart-templates/swagger.json index a44fcedcd9f7..f8641cf2f90c 100644 --- a/arm-compute/quickstart-templates/swagger.json +++ b/arm-compute/quickstart-templates/swagger.json @@ -417,4 +417,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-compute/quickstart-templates/vm-simple-linux.json b/arm-compute/quickstart-templates/vm-simple-linux.json index c318700e35b2..0d1cd7bea59a 100644 --- a/arm-compute/quickstart-templates/vm-simple-linux.json +++ b/arm-compute/quickstart-templates/vm-simple-linux.json @@ -185,4 +185,4 @@ } } ] -} \ No newline at end of file +} diff --git a/arm-compute/quickstart-templates/vm-simple-windows.json b/arm-compute/quickstart-templates/vm-simple-windows.json index d5917d24792a..416305f78b95 100644 --- a/arm-compute/quickstart-templates/vm-simple-windows.json +++ b/arm-compute/quickstart-templates/vm-simple-windows.json @@ -186,4 +186,4 @@ } } ] -} \ No newline at end of file +} diff --git a/arm-compute/quickstart-templates/vm-simple.json b/arm-compute/quickstart-templates/vm-simple.json index 09740bc83f0e..d2f4bec8f5dc 100644 --- a/arm-compute/quickstart-templates/vm-simple.json +++ b/arm-compute/quickstart-templates/vm-simple.json @@ -41,4 +41,4 @@ "type": "object" } } -} \ No newline at end of file +} From 86b1eeefa0f4ab26dad9f339ac726cfc28c4c28d Mon Sep 17 00:00:00 2001 From: David Zhao <31305478+davidzhaoyue@users.noreply.github.com> Date: Wed, 17 Jul 2019 10:59:25 +0800 Subject: [PATCH 295/495] [Datafactory] Add three new connectors (#6607) * [Datafactory] Add three new connectors * Add Informix into custom-words.txt --- custom-words.txt | 1 + .../2018-06-01/entityTypes/Dataset.json | 78 +++++++++ .../2018-06-01/entityTypes/LinkedService.json | 153 ++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 118 ++++++++++++++ 4 files changed, 350 insertions(+) diff --git a/custom-words.txt b/custom-words.txt index 563283df46c7..f9930e2eba5f 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -595,6 +595,7 @@ IMDS importdevices Inbuild indic +Informix Ingestor ingressed inkrecognizer diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 38e805e4edd0..a6128dbe8251 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1353,6 +1353,58 @@ } } }, + "InformixTableDataset": { + "x-ms-discriminator-value": "InformixTable", + "description": "The Informix table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Informix table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InformixTableDatasetTypeProperties" + } + } + }, + "InformixTableDatasetTypeProperties": { + "description": "Informix table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The Informix table name. Type: string (or Expression with resultType string)." + } + } + }, + "MicrosoftAccessTableDataset": { + "x-ms-discriminator-value": "MicrosoftAccessTable", + "description": "The Microsoft Access table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Microsoft Access table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MicrosoftAccessTableDatasetTypeProperties" + } + } + }, + "MicrosoftAccessTableDatasetTypeProperties": { + "description": "Microsoft Access table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The Microsoft Access table name. Type: string (or Expression with resultType string)." + } + } + }, "SalesforceObjectDataset": { "x-ms-discriminator-value": "SalesforceObject", "description": "The Salesforce object dataset.", @@ -1379,6 +1431,32 @@ } } }, + "SalesforceServiceCloudObjectDataset": { + "x-ms-discriminator-value": "SalesforceServiceCloudObject", + "description": "The Salesforce Service Cloud object dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Salesforce Service Cloud object dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SalesforceServiceCloudObjectDatasetTypeProperties" + } + } + }, + "SalesforceServiceCloudObjectDatasetTypeProperties": { + "description": "Salesforce Service Cloud object dataset properties.", + "properties": { + "objectApiName": { + "type": "object", + "description": "The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string)." + } + } + }, "SapCloudForCustomerResourceDataset": { "x-ms-discriminator-value": "SapCloudForCustomerResource", "description": "The path of the SAP Cloud for Customer OData entity.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index 5e3f67e147aa..c8049222b017 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -1296,6 +1296,110 @@ "connectionString" ] }, + "InformixLinkedService": { + "x-ms-discriminator-value": "Informix", + "description": "Informix linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Informix linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InformixLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "InformixLinkedServiceTypeProperties": { + "description": "Informix linked service properties.", + "properties": { + "connectionString": { + "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, + "authenticationType": { + "type": "object", + "description": "Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)." + }, + "credential": { + "description": "The access credential portion of the connection string specified in driver-specific property-value format.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "userName": { + "type": "object", + "description": "User name for Basic authentication. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "Password for Basic authentication.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "connectionString" + ] + }, + "MicrosoftAccessLinkedService": { + "x-ms-discriminator-value": "MicrosoftAccess", + "description": "Microsoft Access linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Microsoft Access linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MicrosoftAccessLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "MicrosoftAccessLinkedServiceTypeProperties": { + "description": "Microsoft Access linked service properties.", + "properties": { + "connectionString": { + "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, + "authenticationType": { + "type": "object", + "description": "Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)." + }, + "credential": { + "description": "The access credential portion of the connection string specified in driver-specific property-value format.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "userName": { + "type": "object", + "description": "User name for Basic authentication. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "Password for Basic authentication.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "connectionString" + ] + }, "HdfsLinkedService": { "x-ms-discriminator-value": "Hdfs", "description": "Hadoop Distributed File System (HDFS) linked service.", @@ -1952,6 +2056,55 @@ } } }, + "SalesforceServiceCloudLinkedService": { + "x-ms-discriminator-value": "SalesforceServiceCloud", + "description": "Linked service for Salesforce Service Cloud.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Salesforce Service Cloud linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SalesforceServiceCloudLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SalesforceServiceCloudLinkedServiceTypeProperties": { + "description": "Salesforce Service Cloud linked service properties.", + "properties": { + "environmentUrl": { + "type": "object", + "description": "The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string)." + }, + "username": { + "type": "object", + "description": "The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "The password for Basic authentication of the Salesforce instance.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "securityToken": { + "description": "The security token is required to remotely access Salesforce instance.", + "$ref": "../datafactory.json#/definitions/SecretBase" + }, + "extendedProperties": { + "type": "object", + "description": "Extended properties appended to the connection string. Type: string (or Expression with resultType string)." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + } + }, "SapCloudForCustomerLinkedService": { "x-ms-discriminator-value": "SapCloudForCustomer", "description": "Linked service for SAP Cloud for Customer.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 448fe2b06baa..986dc341d597 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -954,6 +954,36 @@ } } }, + "InformixSource": { + "description": "A copy activity source for Informix.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "MicrosoftAccessSource": { + "description": "A copy activity source for Microsoft Access.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, "SalesforceSource": { "description": "A copy activity Salesforce source.", "type": "object", @@ -981,6 +1011,33 @@ } } }, + "SalesforceServiceCloudSource": { + "description": "A copy activity Salesforce Service Cloud source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + }, + "readBehavior": { + "description": "The read behavior for the operation. Default is Query.", + "type": "string", + "enum": [ + "Query", + "QueryAll" + ], + "x-ms-enum": { + "name": "SalesforceSourceReadBehavior", + "modelAsString": true + } + } + } + }, "SapCloudForCustomerSource": { "description": "A copy activity source for SAP Cloud for Customer source.", "type": "object", @@ -2689,6 +2746,36 @@ } } }, + "InformixSink": { + "description": "A copy activity Informix sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "preCopyScript": { + "type": "object", + "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)." + } + } + }, + "MicrosoftAccessSink": { + "description": "A copy activity Microsoft Access sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "preCopyScript": { + "type": "object", + "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)." + } + } + }, "DynamicsSink": { "description": "A copy activity Dynamics sink.", "type": "object", @@ -2830,6 +2917,37 @@ } } }, + "SalesforceServiceCloudSink": { + "description": "A copy activity Salesforce Service Cloud sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "writeBehavior": { + "description": "The write behavior for the operation. Default is Insert.", + "type": "string", + "enum": [ + "Insert", + "Upsert" + ], + "x-ms-enum": { + "name": "SalesforceSinkWriteBehavior", + "modelAsString": true + } + }, + "externalIdFieldName": { + "type": "object", + "description": "The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string)." + }, + "ignoreNullValues": { + "type": "object", + "description": "The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean)." + } + } + }, "CosmosDbMongoDbApiSink": { "description": "A copy activity sink for a CosmosDB (MongoDB API) database.", "type": "object", From 18cac01e01bbce8ce6c92a29037dc5e7e1b8a8fd Mon Sep 17 00:00:00 2001 From: Dan Booher Date: Tue, 16 Jul 2019 20:00:45 -0700 Subject: [PATCH 296/495] [Hub Generated] Review request for Microsoft.Resources to add version stable/2019-06-01 (#6610) * Adds base for updating Microsoft.Resources from version stable/2018-06-01 to version 2019-06-01 * Updates readme * Updates API version in new specs and examples * Adding managedByTenants to subscription Adding managedByTenants property for GET subscription and GET subscriptions calls. * Fixing ManagedByTenant Putting tenantId in 'properties' to fix errors * Adding description to satisfy warning Adding description for ManagedByTenant to satisfy a warning. * Adding GetSubscriptions example * Adding GetSubscription.json example * Update GetSubscriptions.json * Adding examples * Update GetSubscription.json * Update GetSubscriptions.json * Update subscriptions.json * Update GetSubscriptions.json * Update GetSubscription.json * Update GetSubscription.json * Update GetSubscriptions.json * Update GetSubscription.json * Update GetSubscriptions.json * Update GetSubscriptions.json --- .../2019-06-01/examples/GetSubscription.json | 28 ++ .../2019-06-01/examples/GetSubscriptions.json | 53 +++ .../stable/2019-06-01/subscriptions.json | 439 ++++++++++++++++++ .../resources/resource-manager/readme.md | 12 +- 4 files changed, 531 insertions(+), 1 deletion(-) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json new file mode 100644 index 000000000000..b3493e2c1cb4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "Bypassed", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json new file mode 100644 index 000000000000..b544048985e7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ] + }, + { + "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c", + "displayName": "Example Subscription2", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + }, + { + "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a" + } + ] + } + ], + "nextLink": "..." + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json new file mode 100644 index 000000000000..628544a10093 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json @@ -0,0 +1,439 @@ +{ + "swagger": "2.0", + "info": { + "title": "SubscriptionClient", + "version": "2019-06-01", + "description": "All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Resources/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Microsoft.Resources REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/locations": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_ListLocations", + "summary": "Gets all available geo-locations.", + "description": "This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of locations.", + "schema": { + "$ref": "#/definitions/LocationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_Get", + "description": "Gets details about a specified subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the subscription.", + "schema": { + "$ref": "#/definitions/Subscription" + } + } + }, + "x-ms-examples": { + "Get a single subscription.": { + "$ref": "./examples/GetSubscription.json" + } + } + } + }, + "/subscriptions": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_List", + "description": "Gets all subscriptions for a tenant.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of subscriptions.", + "schema": { + "$ref": "#/definitions/SubscriptionListResult" + } + } + }, + "x-ms-examples": { + "Get all subscriptions.": { + "$ref": "./examples/GetSubscriptions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/tenants": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_List", + "description": "Gets the tenants for your account.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of tenants.", + "schema": { + "$ref": "#/definitions/TenantListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Location": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus." + }, + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The location name." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The display name of the location." + }, + "latitude": { + "readOnly": true, + "type": "string", + "description": "The latitude of the location." + }, + "longitude": { + "readOnly": true, + "type": "string", + "description": "The longitude of the location." + } + }, + "description": "Location information." + }, + "LocationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Location" + }, + "description": "An array of locations." + } + }, + "description": "Location list operation response." + }, + "Subscription": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000." + }, + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The subscription display name." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The subscription tenant ID." + }, + "state": { + "readOnly": true, + "type": "string", + "description": "The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.", + "enum": [ + "Enabled", + "Warned", + "PastDue", + "Disabled", + "Deleted" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": false + } + }, + "subscriptionPolicies": { + "$ref": "#/definitions/SubscriptionPolicies", + "description": "The subscription policies." + }, + "authorizationSource": { + "type": "string", + "description": "The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'." + }, + "managedByTenants": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedByTenant" + }, + "description": "An array containing the tenants managing the subscription." + } + }, + "description": "Subscription information." + }, + "SubscriptionPolicies": { + "properties": { + "locationPlacementId": { + "readOnly": true, + "type": "string", + "description": "The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions." + }, + "quotaId": { + "readOnly": true, + "type": "string", + "description": "The subscription quota ID." + }, + "spendingLimit": { + "readOnly": true, + "type": "string", + "description": "The subscription spending limit.", + "enum": [ + "On", + "Off", + "CurrentPeriodOff" + ], + "x-ms-enum": { + "name": "spendingLimit", + "modelAsString": false + } + } + }, + "description": "Subscription policies." + }, + "ManagedByTenant": { + "properties": { + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the managing tenant. This is a GUID." + } + }, + "description": "Information about a tenant managing the subscription." + }, + "SubscriptionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Subscription" + }, + "description": "An array of subscriptions." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "required": [ + "nextLink" + ], + "description": "Subscription list operation response." + }, + "TenantIdDescription": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000." + } + }, + "description": "Tenant Id information." + }, + "TenantListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TenantIdDescription" + }, + "description": "An array of tenants." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "required": [ + "nextLink" + ], + "description": "Tenant Ids information." + }, + "Operation": { + "description": "Microsoft.Resources operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Resources", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.Resources operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-parameter-location": "client" + } + } +} diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 0de99dc7c062..73ad41dbf524 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -53,9 +53,18 @@ tag: package-links-2016-09 ``` ``` yaml $(package-managedapplications) -tag: package-managedapplications-2016-09 +tag: package-2019-06 ``` + +### Tag: package-2019-06 + +These settings apply only when `--tag=package-2019-06` is specified on the command line. + +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.Resources/stable/2019-06-01/subscriptions.json +``` ### Tag: package-features-2015-12 These settings apply only when `--tag=package-features-2015-12` is specified on the command line. @@ -84,6 +93,7 @@ input-file: ``` ### Tag: package-policy-2019-01 + These settings apply only when `--tag=package-policy-2019-01` is specified on the command line. ``` yaml $(tag) == 'package-policy-2019-01' From e082ac3a169ee605ac5ef2fdabefc5b37874e5b9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 15 Jul 2019 18:24:37 -0400 Subject: [PATCH 297/495] chore: jsonfmt sql --- ...oupBasedLongTermRetentionBackupDelete.json | 26 ++--- ...eGroupBasedLongTermRetentionBackupGet.json | 48 ++++----- ...LongTermRetentionBackupListByDatabase.json | 102 +++++++++--------- ...LongTermRetentionBackupListByLocation.json | 98 ++++++++--------- ...edLongTermRetentionBackupListByServer.json | 100 ++++++++--------- 5 files changed, 187 insertions(+), 187 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json index 5ceeb8e16640..36b1d48e4f56 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testResourceGroup", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", - "api-version": "2017-03-01-preview" - }, - "responses": { - "200": {}, - "202": {} - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json index f05a6f04a2cd..5cca10da07bc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -1,27 +1,27 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testResourceGroup", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z", - "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties" : { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "backupName": "55555555-6666-7777-8888-999999999999;131637960820000000", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z", + "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" } + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json index 4a9e190d8ce5..8131bb079bbd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json @@ -1,54 +1,54 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testResourceGroup", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "longTermRetentionDatabaseName": "testDatabase", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131657960820000000", - "name": "55555555-6666-7777-8888-999999999999;131657960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000", - "name": "55555555-6666-7777-8888-999999999999;131677960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase", - "databaseDeletionTime": "2017-09-07T08:00:00.000Z", - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "longTermRetentionDatabaseName": "testDatabase", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131657960820000000", + "name": "55555555-6666-7777-8888-999999999999;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000", + "name": "55555555-6666-7777-8888-999999999999;131677960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase", + "databaseDeletionTime": "2017-09-07T08:00:00.000Z", + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json index 259741649bcf..5ccb22c1371b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json @@ -1,52 +1,52 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testResourceGroup", - "locationName": "japaneast", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;2017-08-23T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver1", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase1", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", - "name": "12341234-1234-1234-1234-123123123123;2017-08-30T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver2", - "serverCreateTime": "2017-04-10T08:00:00.000Z", - "databaseName": "testDatabase2", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver3/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", - "name": "43214321-4321-4321-4321-321321321321;2017-09-06T08:00:00.000Z", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver3", - "serverCreateTime": "2017-05-10T08:00:00.000Z", - "databaseName": "testDatabase3", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;2017-08-23T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver1", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;2017-08-30T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver2", + "serverCreateTime": "2017-04-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver3/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;2017-09-06T08:00:00.000Z", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver3", + "serverCreateTime": "2017-05-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json index e8f041f63790..d61b1d56b62b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json @@ -1,53 +1,53 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testResourceGroup", - "locationName": "japaneast", - "longTermRetentionServerName": "testserver", - "api-version": "2017-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", - "name": "55555555-6666-7777-8888-999999999999;131637960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase1", - "databaseDeletionTime": null, - "backupTime": "2017-08-23T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", - "name": "12341234-1234-1234-1234-123123123123;131657960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase2", - "databaseDeletionTime": null, - "backupTime": "2017-08-30T08:00:00.000Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", - "name": "43214321-4321-4321-4321-321321321321;131667960820000000", - "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", - "properties": { - "serverName": "testserver", - "serverCreateTime": "2017-03-10T08:00:00.000Z", - "databaseName": "testDatabase3", - "databaseDeletionTime": null, - "backupTime": "2017-09-06T08:00:00.000Z" - } - } - ] + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testResourceGroup", + "locationName": "japaneast", + "longTermRetentionServerName": "testserver", + "api-version": "2017-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000", + "name": "55555555-6666-7777-8888-999999999999;131637960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase1", + "databaseDeletionTime": null, + "backupTime": "2017-08-23T08:00:00.000Z" } - } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000", + "name": "12341234-1234-1234-1234-123123123123;131657960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase2", + "databaseDeletionTime": null, + "backupTime": "2017-08-30T08:00:00.000Z" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase3/longTermRetentionBackups/43214321-4321-4321-4321-321321321321;131677960820000000", + "name": "43214321-4321-4321-4321-321321321321;131667960820000000", + "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups", + "properties": { + "serverName": "testserver", + "serverCreateTime": "2017-03-10T08:00:00.000Z", + "databaseName": "testDatabase3", + "databaseDeletionTime": null, + "backupTime": "2017-09-06T08:00:00.000Z" + } + } + ] + } } -} \ No newline at end of file + } +} From c684818f32c4e833a73f7888cddc1e1f07ad55ca Mon Sep 17 00:00:00 2001 From: celikcigdem Date: Tue, 16 Jul 2019 21:40:06 -0700 Subject: [PATCH 298/495] Dev/ccelik/dedicatedhostswagger (#6612) * Update compute.json * Added DedicatedHostGroup and DedicateHost operations * Fixed dedicated host and group examples * Removed extra comma * Fixed model validation errors * Added more examples * Modified examples * fixed PlatformFaultDomain type * parameter name fixes * Suppressed errors on DedicatedHostGroupUpdate and DedicatedHostUpdate * Update compute.json * Update compute.json * Merge from upstream/master * Update compute.json Documentation changes and marked required fields * Update GetADedicatedHost.json * remove .orig files * Delete compute.json.orig * Use min max * attempt to fix model validation * fix model validation * Removed availableVCpus * Update GetADedicatedHost.json --- .../stable/2019-03-01/compute.json | 60 +++++++------------ .../examples/GetADedicatedHost.json | 5 -- .../LogAnalyticsRequestRateByInterval.json | 1 - .../LogAnalyticsThrottledRequests.json | 1 - 4 files changed, 23 insertions(+), 44 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 72341fb57ffa..0ac9e89c1fc0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -884,7 +884,7 @@ "schema": { "$ref": "#/definitions/DedicatedHost" }, - "description": "Parameters supplied to the Create Dedicated Host ." + "description": "Parameters supplied to the Create Dedicated Host." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -5454,7 +5454,9 @@ "platformFaultDomainCount": { "type": "integer", "format": "int32", - "description": "Number of fault domains that the host group can span. Supported values 1,2,3." + "minimum": 1, + "maximum": 3, + "description": "Number of fault domains that the host group can span." }, "hosts": { "type": "array", @@ -5465,6 +5467,9 @@ "description": "A list of references to all dedicated hosts in the dedicated host group." } }, + "required": [ + "platformFaultDomainCount" + ], "description": "Dedicated Host Group Properties." }, "DedicatedHostGroup": { @@ -5478,7 +5483,7 @@ "items": { "type": "string" }, - "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforce each host in the group is in the same zone." + "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." } }, "allOf": [ @@ -5486,7 +5491,7 @@ "$ref": "#/definitions/Resource" } ], - "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a Dedicated host can only be added to Dedicated Host Group at creation time. An existing Dedicated Host cannot be added to a dedicated host group." + "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group." }, "DedicatedHostGroupUpdate": { "properties": { @@ -5499,7 +5504,7 @@ "items": { "type": "string" }, - "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforce each host in the group is in the same zone." + "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." } }, "allOf": [ @@ -5541,21 +5546,6 @@ "modelAsString": false } }, - "DedicatedHostCapacity": { - "properties": { - "totalCores": { - "type": "number", - "format": "double", - "description": "The total number of cores." - }, - "totalVCpus": { - "type": "number", - "format": "double", - "description": "The total number of CPUs." - } - }, - "description": "Dedicated host total capacity." - }, "DedicatedHostAllocatableVM": { "properties": { "vmSize": { @@ -5572,11 +5562,6 @@ }, "DedicatedHostAvailableCapacity": { "properties": { - "availableVCpus": { - "type": "number", - "format": "double", - "description": "The total number of CPUs." - }, "allocatableVMs": { "type": "array", "items": { @@ -5592,11 +5577,7 @@ "assetId": { "readOnly": true, "type": "string", - "description": "Specifies the unique of the dedicated physical machine on which the dedicated host resides." - }, - "capacity": { - "$ref": "#/definitions/DedicatedHostCapacity", - "description": "The total capacity of the dedicated host." + "description": "Specifies the unique id of the dedicated physical machine on which the dedicated host resides." }, "availableCapacity": { "$ref": "#/definitions/DedicatedHostAvailableCapacity", @@ -5617,16 +5598,18 @@ "platformFaultDomain": { "type": "integer", "format": "int32", - "description": "Fault domain of the host within a group. Supported values 0,1,2." + "minimum": 0, + "maximum": 2, + "description": "Fault domain of the dedicated host within a dedicated host group." }, "autoReplaceOnFailure": { "type": "boolean", - "description": "Whether the host should be replaced automatically in case of a failure. The value is defaulted to true when not provided." + "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided." }, "hostId": { "readOnly": true, "type": "string", - "description": "A unique id generated and assigned to the dedicated host by the platform." + "description": "A unique id generated and assigned to the dedicated host by the platform.

Does not change throughout the lifetime of the host." }, "virtualMachines": { "type": "array", @@ -5644,7 +5627,7 @@ "readOnly": true, "type": "string", "format": "date-time", - "description": "The date when the host was first created." + "description": "The date when the host was first provisioned." }, "provisioningState": { "readOnly": true, @@ -5667,7 +5650,7 @@ }, "sku": { "$ref": "#/definitions/Sku", - "description": "Sku of the dedicated host for Hardware Generation and VM family, The only name is required to be set. See DedicatedHostSkuTypes for possible set of values." + "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values." } }, "allOf": [ @@ -5675,6 +5658,9 @@ "$ref": "#/definitions/Resource" } ], + "required": [ + "sku" + ], "description": "Specifies information about the Dedicated host." }, "DedicatedHostUpdate": { @@ -5702,13 +5688,13 @@ }, "nextLink": { "type": "string", - "description": "The URI to fetch the next page of Dedicated hosts. Call ListNext() with this URI to fetch the next page of Dedicated hosts." + "description": "The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts." } }, "required": [ "value" ], - "description": "The List Dedicated Host operation response." + "description": "The list dedicated host operation response." }, "VirtualMachineSize": { "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json index 1a4eb54fcbe3..0da47da294d4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json @@ -22,12 +22,7 @@ "provisioningState": "Succeeded", "instanceView": { "assetId": "eb3f58b8-b4e8-4882-b69f-301a01812407", - "capacity": { - "totalCores": 30, - "totalVCpus": 60 - }, "availableCapacity": { - "availableVCpus": 40, "allocatableVMs": [ { "vmSize": "Standard_A1", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json index cabcb6fb61de..62ff8545dcf4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json @@ -20,7 +20,6 @@ } }, "202": { - "body": "" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json index 774bacfdb1c7..cfcb82a6ab93 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json @@ -20,7 +20,6 @@ } }, "202": { - "body": "" } } } From 39fb386f3bcc0928053047301dc21a9a4aa6c70e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 17 Jul 2019 04:07:34 -0400 Subject: [PATCH 299/495] chore: jsonfmt cognitiveservices (#6650) --- .../examples/SuccessfulReviewLabeledExamplesRequest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json index d0102f7d58e5..a0a43d373b31 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json @@ -75,13 +75,13 @@ "entityName": "Location", "startTokenIndex": 7, "endTokenIndex": 7, - "role": "To" + "role": "To" }, { "entityName": "Location", "startTokenIndex": 5, "endTokenIndex": 5, - "role": "from" + "role": "from" } ], "intentPredictions": [ From df89eafa51c79dcb7c1bf3b5eb5bb24a28c5a80e Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Wed, 17 Jul 2019 01:12:48 -0700 Subject: [PATCH 300/495] [Bug fix] Remove read-only constraint for management policy, and change properties types from integer to number (#6551) * [Bug fix] Remove read-only constraint for management policy * [Bug fix] Change daysAfterCreationGreaterThan and daysAfterModificationGreaterThan to float type * change type to number * Modify description, remove integer * Fix existing build errors in Storage swagger --- .../2019-04-01/examples/BlobContainersDelete.json | 8 ++------ .../2019-04-01/examples/StorageAccountCreate.json | 4 +--- .../2019-04-01/examples/StorageAccountDelete.json | 8 ++------ .../StorageAccountDeleteManagementPolicy.json | 8 ++------ .../2019-04-01/examples/StorageAccountFailover.json | 8 ++------ .../Microsoft.Storage/stable/2019-04-01/storage.json | 11 ++++++----- 6 files changed, 15 insertions(+), 32 deletions(-) diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json index 154348285c9d..019d7191af66 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersDelete.json @@ -8,11 +8,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json index 10e2766a98be..716fd1ae6ced 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json @@ -55,8 +55,6 @@ "type": "Microsoft.Storage/storageAccounts" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json index cb13f44a7518..928e7835434e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDelete.json @@ -7,11 +7,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json index 1ea0398fbaa5..a76d5ea0e54d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountDeleteManagementPolicy.json @@ -8,11 +8,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json index 1e158037cd98..03a3ff702603 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountFailover.json @@ -7,11 +7,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json index 90099aa87c85..4997e5519c20 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json @@ -2160,7 +2160,6 @@ "properties": { "$ref": "#/definitions/ManagementPolicyProperties", "x-ms-client-flatten": true, - "readOnly": true, "description": "Returns the Storage Account Data Policies Rules." } }, @@ -2317,9 +2316,10 @@ "DateAfterModification": { "properties": { "daysAfterModificationGreaterThan": { - "type": "integer", + "type": "number", + "multipleOf": 1.0, "minimum": 0, - "description": "Integer value indicating the age in days after last modification" + "description": "Value indicating the age in days after last modification" } }, "required": [ @@ -2330,9 +2330,10 @@ "DateAfterCreation": { "properties": { "daysAfterCreationGreaterThan": { - "type": "integer", + "type": "number", + "multipleOf": 1.0, "minimum": 0, - "description": "Integer value indicating the age in days after creation" + "description": "Value indicating the age in days after creation" } }, "required": [ From 114e83977d8dc9258c0d810c9bf83212fed05ad5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 17 Jul 2019 06:46:22 -0400 Subject: [PATCH 301/495] chore: jsonfmt compute (#6649) --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 8 ++++---- .../examples/LogAnalyticsRequestRateByInterval.json | 3 +-- .../examples/LogAnalyticsThrottledRequests.json | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 0ac9e89c1fc0..9afb3356de34 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -5454,8 +5454,8 @@ "platformFaultDomainCount": { "type": "integer", "format": "int32", - "minimum": 1, - "maximum": 3, + "minimum": 1, + "maximum": 3, "description": "Number of fault domains that the host group can span." }, "hosts": { @@ -5598,8 +5598,8 @@ "platformFaultDomain": { "type": "integer", "format": "int32", - "minimum": 0, - "maximum": 2, + "minimum": 0, + "maximum": 2, "description": "Fault domain of the dedicated host within a dedicated host group." }, "autoReplaceOnFailure": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json index 62ff8545dcf4..72970a8e1337 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json @@ -19,7 +19,6 @@ } } }, - "202": { - } + "202": {} } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json index cfcb82a6ab93..545f5ac0db08 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json @@ -19,7 +19,6 @@ } } }, - "202": { - } + "202": {} } } From 009c8f8f3a5b4703563539e16850d3effa3d359a Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Wed, 17 Jul 2019 09:17:44 -0700 Subject: [PATCH 302/495] Update specificationRepositoryConfiguration.json (#6651) --- specificationRepositoryConfiguration.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 5522d0adf250..ea91332535a2 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -1,6 +1,5 @@ { "$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/specificationRepositoryConfiguration.schema.json", - "sdkAutomationBaseBranch": "sdkautomationmaster", "sdkRepositoryMappings": { "azure-sdk-for-go": { "main_branch": "latest", From f36a07c4d1a8e863bcbb7b2af6c424d4d11ce659 Mon Sep 17 00:00:00 2001 From: Hao Qian Date: Thu, 18 Jul 2019 00:40:12 +0800 Subject: [PATCH 303/495] SSIS File System Support (#6548) --- .../entityTypes/Pipeline.json | 105 ++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 105 ++++++++++++++++++ 2 files changed, 210 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json index 3d0b863ca2d4..02b6ad9a1a16 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json @@ -2076,6 +2076,10 @@ "additionalProperties": { "$ref": "#/definitions/SSISPropertyOverride" } + }, + "logLocation": { + "description": "SSIS package execution log location.", + "$ref": "#/definitions/SSISLogLocation" } }, "required": [ @@ -2090,12 +2094,47 @@ "packagePath": { "description": "The SSIS package path. Type: string (or Expression with resultType string).", "type": "object" + }, + "type": { + "description": "The type of SSIS package location.", + "type": "string", + "enum": [ + "SSISDB", + "File" + ], + "x-ms-enum": { + "name": "SsisPackageLocationType", + "modelAsString": true + } + }, + "typeProperties": { + "x-ms-client-flatten": true, + "description": "SSIS package location properties.", + "$ref": "#/definitions/SSISPackageLocationTypeProperties" } }, "required": [ "packagePath" ] }, + "SSISPackageLocationTypeProperties": { + "description": "SSIS package location properties.", + "type": "object", + "properties": { + "packagePassword": { + "$ref": "../datafactory.json#/definitions/SecretBase", + "description": "Password of the package." + }, + "accessCredential": { + "description": "The package access credential.", + "$ref": "#/definitions/SSISAccessCredential" + }, + "configurationPath": { + "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).", + "type": "object" + } + } + }, "SSISConnectionManager": { "description": "SSIS Connection Manager.", "type": "object", @@ -2156,6 +2195,72 @@ "password" ] }, + "SSISAccessCredential": { + "description": "SSIS access credential.", + "type":"object", + "properties": { + "domain": { + "type": "object", + "description": "Domain for windows authentication." + }, + "userName": { + "type": "object", + "description": "UseName for windows authentication." + }, + "password": { + "$ref": "../datafactory.json#/definitions/SecretBase", + "description": "Password for windows authentication." + } + }, + "required": [ + "domain", + "userName", + "password" + ] + }, + "SSISLogLocation": { + "description": "SSIS package execution log location", + "type": "object", + "properties": { + "logPath": { + "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).", + "type": "object" + }, + "type": { + "description": "The type of SSIS log location.", + "type": "string", + "enum": [ + "File" + ], + "x-ms-enum": { + "name": "SsisLogLocationType", + "modelAsString": true + } + }, + "typeProperties": { + "x-ms-client-flatten": true, + "description": "SSIS package execution log location properties.", + "$ref": "#/definitions/SSISLogLocationTypeProperties" + } + }, + "required": [ + "logPath","type","typeProperties" + ] + }, + "SSISLogLocationTypeProperties": { + "description": "SSIS package execution log location properties.", + "type": "object", + "properties": { + "accessCredential": { + "description": "The package execution log access credential.", + "$ref": "#/definitions/SSISAccessCredential" + }, + "logRefreshInterval": { + "type": "object", + "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." + } + } + }, "CustomActivity": { "description": "Custom activity type.", "x-ms-discriminator-value": "Custom", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 986dc341d597..364450ba5f32 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -3471,6 +3471,10 @@ "additionalProperties": { "$ref": "#/definitions/SSISPropertyOverride" } + }, + "logLocation": { + "description": "SSIS package execution log location.", + "$ref": "#/definitions/SSISLogLocation" } }, "required": [ @@ -3485,12 +3489,47 @@ "packagePath": { "description": "The SSIS package path. Type: string (or Expression with resultType string).", "type": "object" + }, + "type": { + "description": "The type of SSIS package location.", + "type": "string", + "enum": [ + "SSISDB", + "File" + ], + "x-ms-enum": { + "name": "SsisPackageLocationType", + "modelAsString": true + } + }, + "typeProperties": { + "x-ms-client-flatten": true, + "description": "SSIS package location properties.", + "$ref": "#/definitions/SSISPackageLocationTypeProperties" } }, "required": [ "packagePath" ] }, + "SSISPackageLocationTypeProperties": { + "description": "SSIS package location properties.", + "type": "object", + "properties": { + "packagePassword": { + "$ref": "../datafactory.json#/definitions/SecureString", + "description": "Password of the package." + }, + "accessCredential": { + "description": "The package access credential.", + "$ref": "#/definitions/SSISAccessCredential" + }, + "configurationPath": { + "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).", + "type": "object" + } + } + }, "SSISConnectionManager": { "description": "SSIS Connection Manager.", "type": "object", @@ -3551,6 +3590,72 @@ "password" ] }, + "SSISAccessCredential": { + "description": "SSIS access credential.", + "type":"object", + "properties": { + "domain": { + "type": "object", + "description": "Domain for windows authentication." + }, + "userName": { + "type": "object", + "description": "UseName for windows authentication." + }, + "password": { + "$ref": "../datafactory.json#/definitions/SecureString", + "description": "Password for windows authentication." + } + }, + "required": [ + "domain", + "userName", + "password" + ] + }, + "SSISLogLocation": { + "description": "SSIS package execution log location", + "type": "object", + "properties": { + "logPath": { + "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).", + "type": "object" + }, + "type": { + "description": "The type of SSIS log location.", + "type": "string", + "enum": [ + "File" + ], + "x-ms-enum": { + "name": "SsisLogLocationType", + "modelAsString": true + } + }, + "typeProperties": { + "x-ms-client-flatten": true, + "description": "SSIS package execution log location properties.", + "$ref": "#/definitions/SSISLogLocationTypeProperties" + } + }, + "required": [ + "logPath","type","typeProperties" + ] + }, + "SSISLogLocationTypeProperties": { + "description": "SSIS package execution log location properties.", + "type": "object", + "properties": { + "accessCredential": { + "description": "The package execution log access credential.", + "$ref": "#/definitions/SSISAccessCredential" + }, + "logRefreshInterval": { + "type": "object", + "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." + } + } + }, "CustomActivity": { "description": "Custom activity type.", "x-ms-discriminator-value": "Custom", From 1df5832419ac6859740ed3dfee6ec588359ff058 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 17 Jul 2019 09:40:48 -0700 Subject: [PATCH 304/495] Alertsmanagement: updated java tags and added java readme (#6498) * generates java code into azure-mgmt-alertsmanagement folder * updated alertsmanagement java tags --- .../resource-manager/readme.java.md | 76 +++++++++++++++++++ .../resource-manager/readme.md | 13 +--- 2 files changed, 77 insertions(+), 12 deletions(-) create mode 100644 specification/alertsmanagement/resource-manager/readme.java.md diff --git a/specification/alertsmanagement/resource-manager/readme.java.md b/specification/alertsmanagement/resource-manager/readme.java.md new file mode 100644 index 000000000000..ffdebe30586c --- /dev/null +++ b/specification/alertsmanagement/resource-manager/readme.java.md @@ -0,0 +1,76 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.alertsmanagement +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-alertsmanagement +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-preview-2019-05 + - tag: package-2019-03 + - tag: package-2018-05 + - tag: package-2018-05-preview +``` + +### Tag: package-preview-2019-05 and java + +These settings apply only when `--tag=package-preview-2019-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-preview-2019-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.alertsmanagement.v2019_05_05_preview + output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2019_05_05_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2019-03 and java + +These settings apply only when `--tag=package-2019-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2019-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.alertsmanagement.v2019_03_01 + output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2019_03_01 +regenerate-manager: true +generate-interface: true +``` + + +### Tag: package-2018-05 and java + +These settings apply only when `--tag=package-2018-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2018-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.alertsmanagement.v2018_05_05 + output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2018_05_05 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-05-preview and java + +These settings apply only when `--tag=package-2018-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2018-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.alertsmanagement.v2018_05_05_preview + output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2018_05_05_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 19c6638543c6..319baf7a8d5a 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -141,15 +141,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.alertsmanagement - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-alertsmanagement -``` +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file From 90fd5ece0068373c4abd8160805dba09957268ad Mon Sep 17 00:00:00 2001 From: shurd Date: Wed, 17 Jul 2019 10:21:37 -0700 Subject: [PATCH 305/495] fixing Cosmos account keys response (#6587) --- .../stable/2015-04-08/cosmos-db.json | 9 +++++---- .../examples/CosmosDBDatabaseAccountListKeys.json | 6 ++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json index 687ff390bd7d..b1f3a328b89f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json @@ -4502,12 +4502,13 @@ "readOnly": true, "type": "string", "description": "Base 64 encoded value of the secondary read-write key." - }, - "properties": { - "x-ms-client-flatten": true, + } + }, + "allOf": [ + { "$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult" } - } + ] }, "DatabaseAccountConnectionString": { "description": "Connection string for the Cosmos DB account", diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json index f04f6c904308..05a9097380c6 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json @@ -10,10 +10,8 @@ "body": { "primaryMasterKey": "primaryMasterKey", "secondaryMasterKey": "secondaryMasterKey", - "properties": { - "primaryReadonlyMasterKey": "primaryReadonlyMasterKey", - "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey" - } + "primaryReadonlyMasterKey": "primaryReadonlyMasterKey", + "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey" } } } From 6bb3ebb7d2a71c4be4ded428f5cce6cdba9d1e4b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 17 Jul 2019 14:21:12 -0400 Subject: [PATCH 306/495] chore: Cleanup package.json dependencies (#6619) * chore: Remove unused dependencies * chore: Add dependiens for multiapi.ts --- package.json | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index fe51deb863d1..cc36876f6acc 100644 --- a/package.json +++ b/package.json @@ -11,30 +11,19 @@ "license": "MIT", "devDependencies": { "@azure/avocado": "^0.4.1", - "@azure/oad": "^0.6.3", "@azure/rest-api-specs-scripts": "^0.3.9", - "@microsoft.azure/async-io": "^2.0.21", - "@microsoft.azure/literate": "^1.0.25", - "@microsoft.azure/polyfill": "^1.0.19", - "@octokit/rest": "^16.25.0", "@ts-common/commonmark-to-markdown": "^1.2.0", "@ts-common/fs": "0.2.0", - "@types/fs-extra": "^5.0.5", + "@ts-common/iterator": "^0.3.6", "@types/js-yaml": "^3.12.1", "@types/mocha": "^5.2.6", - "@types/request": "^2.48.1", "cspell": "^4.0.12", - "fs-extra": "^7.0.1", - "glob": "^7.1.3", "js-yaml": "^3.13.1", "json-schema-ref-parser": "^6.1.0", "mocha": "*", - "oav": "^0.18.1", - "request": "^2.88.0", - "request-promise-native": "^1.0.7", "ts-node": "^8.1.0", - "typescript": "^3.4.4", - "z-schema": "^4.0.2" + "tslib": "^1.10.0", + "typescript": "^3.4.4" }, "homepage": "https://github.com/azure/azure-rest-api-specs", "repository": { @@ -47,7 +36,6 @@ "scripts": { "test": "tsc && mocha -t 500000 --reporter min", "spellcheck": "cspell \"specification/**/*.json\"", - "oav": "oav", "tsc": "tsc", "multiapi": "ts-node ./scripts/multiapi.ts" } From 6b6a445819212313e466b2f77f8b3e6d4f9d18fb Mon Sep 17 00:00:00 2001 From: jerryc3 <48365571+jerryc3@users.noreply.github.com> Date: Wed, 17 Jul 2019 15:46:41 -0700 Subject: [PATCH 307/495] Add new API version 2019-07-01 for SIG swagger spec (#6400) * copy over gallery spec from 2019-03-01 api version * remove PublishingProfile.source, make GalleryImageVersionStorageProfile writable * fix json * remove required source * add 2019-07-01 to Go SDK * update examples with correct api version and add 1 more example * add reference to example{ * Add HyperVGeneration field * Make hyperVGeneration field same as DiskRPs --- .../CreateOrUpdateASimpleGallery.json | 55 + .../CreateOrUpdateASimpleGalleryImage.json | 75 + ...ateOrUpdateASimpleGalleryImageVersion.json | 161 ++ ...leryImageVersionWithSnapshotsAsSource.json | 166 ++ .../2019-07-01/examples/DeleteAGallery.json | 13 + .../examples/DeleteAGalleryImage.json | 14 + .../examples/DeleteAGalleryImageVersion.json | 15 + .../2019-07-01/examples/GetAGallery.json | 23 + .../2019-07-01/examples/GetAGalleryImage.json | 28 + .../examples/GetAGalleryImageVersion.json | 76 + ...leryImageVersionWithReplicationStatus.json | 94 ++ ...leryImageVersionWithSnapshotsAsSource.json | 83 + .../ListGalleriesInAResourceGroup.json | 28 + .../ListGalleriesInASubscription.json | 27 + ...stGalleryImageVersionsInAGalleryImage.json | 58 + .../examples/ListGalleryImagesInAGallery.json | 32 + .../stable/2019-07-01/gallery.json | 1485 +++++++++++++++++ .../compute/resource-manager/readme.go.md | 11 + .../compute/resource-manager/readme.md | 16 +- 19 files changed, 2459 insertions(+), 1 deletion(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json new file mode 100644 index 000000000000..adbb58c5dd9b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "gallery": { + "location": "West US", + "properties": { + "description": "This is the gallery description." + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "myGalleryName" + } + }, + "201": { + "body": { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Creating" + }, + "location": "West US", + "name": "myGalleryName" + } + }, + "202": { + "body": { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "myGalleryName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json new file mode 100644 index 000000000000..80569aca3ff5 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImage": { + "location": "West US", + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "myGalleryImageName" + } + }, + "201": { + "body": { + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + }, + "provisioningState": "Creating" + }, + "location": "West US", + "name": "myGalleryImageName" + } + }, + "202": { + "body": { + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "myGalleryImageName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json new file mode 100644 index 000000000000..4b05335ae1e9 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json @@ -0,0 +1,161 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0", + "galleryImageVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1 + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ] + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "1.0.0" + } + }, + "201": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Creating" + }, + "location": "West US", + "name": "1.0.0" + } + }, + "202": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json new file mode 100644 index 000000000000..25a999414e66 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json @@ -0,0 +1,166 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0", + "galleryImageVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1 + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ] + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}", + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "hostCaching": "None" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "1.0.0" + } + }, + "201": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Creating" + }, + "location": "West US", + "name": "1.0.0" + } + }, + "202": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_ZRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}", + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Updating" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json new file mode 100644 index 000000000000..237492343931 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json new file mode 100644 index 000000000000..be505784e861 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json new file mode 100644 index 000000000000..5f0211b5c89b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json new file mode 100644 index 000000000000..0fb4c40475e6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "myGalleryName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json new file mode 100644 index 000000000000..339310ce97ab --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName" + }, + "responses": { + "200": { + "body": { + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "myGalleryImageName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json new file mode 100644 index 000000000000..d23c816b7bdc --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0", + "galleryImageVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1 + }, + { + "name": "East US", + "regionalReplicaCount": 2 + } + ] + } + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json new file mode 100644 index 000000000000..25a5ec435a8e --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0", + "galleryImageVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1 + }, + { + "name": "East US", + "regionalReplicaCount": 2 + } + ] + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + } + } + } + }, + "$expand": "ReplicationStatus" + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "replicationStatus": { + "aggregatedState": "Completed", + "summary": [ + { + "region": "West US", + "state": "Completed", + "details": "", + "progress": 100 + }, + { + "region": "East US", + "state": "Completed", + "details": "", + "progress": 100 + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json new file mode 100644 index 000000000000..646500c6b1e6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName", + "galleryImageVersionName": "1.0.0", + "galleryImageVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1 + }, + { + "name": "East US", + "regionalReplicaCount": 2 + } + ] + } + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}", + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "hostCaching": "None" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "osDiskImage": { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}", + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json new file mode 100644 index 000000000000..864afaf1d651 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "myGalleryName", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json new file mode 100644 index 000000000000..cbba47e4c19d --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "This is the gallery description.", + "identifier": { + "uniqueName": "{subscription-id}-MYGALLERYNAME" + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "myGalleryName", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json new file mode 100644 index 000000000000..afc59ec26b96 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryImageName": "myGalleryImageName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "publishingProfile": { + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + }, + { + "name": "East US", + "regionalReplicaCount": 2, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "publishedDate": "2018-01-01T00:00:00Z", + "storageAccountType": "Standard_LRS" + }, + "storageProfile": { + "source": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" + }, + "osDiskImage": { + "sizeInGB": 10, + "hostCaching": "ReadOnly" + }, + "dataDiskImages": [ + { + "lun": 1, + "sizeInGB": 10, + "hostCaching": "None" + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json new file mode 100644 index 000000000000..a07c6028a2da --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "osType": "Windows", + "osState": "Generalized", + "hyperVGeneration": "V1", + "identifier": { + "publisher": "myPublisherName", + "offer": "myOfferName", + "sku": "mySkuName" + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "myGalleryImageName" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json new file mode 100644 index 000000000000..01ebe9c7bc32 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json @@ -0,0 +1,1485 @@ +{ + "swagger": "2.0", + "info": { + "title": "SharedImageGalleryServiceClient", + "description": "Shared Image Gallery Service Client.", + "version": "2019-07-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": { + "put": { + "tags": [ + "Galleries" + ], + "operationId": "Galleries_CreateOrUpdate", + "description": "Create or update a Shared Image Gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "gallery", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Gallery" + }, + "description": "Parameters supplied to the create or update Shared Image Gallery operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery.": { + "$ref": "./examples/CreateOrUpdateASimpleGallery.json" + } + } + }, + "get": { + "tags": [ + "Galleries" + ], + "operationId": "Galleries_Get", + "description": "Retrieves information about a Shared Image Gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gallery" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery.": { + "$ref": "./examples/GetAGallery.json" + } + } + }, + "delete": { + "tags": [ + "Galleries" + ], + "operationId": "Galleries_Delete", + "description": "Delete a Shared Image Gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery.": { + "$ref": "./examples/DeleteAGallery.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": { + "put": { + "tags": [ + "GalleryImages" + ], + "operationId": "GalleryImages_CreateOrUpdate", + "description": "Create or update a gallery Image Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition is to be created." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryImage", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryImage" + }, + "description": "Parameters supplied to the create or update gallery image operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImage" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryImage" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryImage" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery image.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryImage.json" + } + } + }, + "get": { + "tags": [ + "GalleryImages" + ], + "operationId": "GalleryImages_Get", + "description": "Retrieves information about a gallery Image Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition to be retrieved." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImage" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery image.": { + "$ref": "./examples/GetAGalleryImage.json" + } + } + }, + "delete": { + "tags": [ + "GalleryImages" + ], + "operationId": "GalleryImages_Delete", + "description": "Delete a gallery image.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition is to be deleted." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery image.": { + "$ref": "./examples/DeleteAGalleryImage.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": { + "put": { + "tags": [ + "GalleryImageVersions" + ], + "operationId": "GalleryImageVersions_CreateOrUpdate", + "description": "Create or update a gallery Image Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition resides." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition in which the Image Version is to be created." + }, + { + "name": "galleryImageVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryImageVersion", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryImageVersion" + }, + "description": "Parameters supplied to the create or update gallery Image Version operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImageVersion" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryImageVersion" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryImageVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple Gallery Image Version (Managed Image as source).": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json" + }, + "Create or update a simple Gallery Image Version using snapshots as a source.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json" + } + } + }, + "get": { + "tags": [ + "GalleryImageVersions" + ], + "operationId": "GalleryImageVersions_Get", + "description": "Retrieves information about a gallery Image Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition resides." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition in which the Image Version resides." + }, + { + "name": "galleryImageVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Version to be retrieved." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "ReplicationStatus" + ], + "x-ms-enum": { + "name": "ReplicationStatusTypes", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImageVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Image Version.": { + "$ref": "./examples/GetAGalleryImageVersion.json" + }, + "Get a gallery Image Version with replication status.": { + "$ref": "./examples/GetAGalleryImageVersionWithReplicationStatus.json" + }, + "Get a gallery Image Version with snapshots as a source.": { + "$ref": "./examples/GetAGalleryImageVersionWithSnapshotsAsSource.json" + } + } + }, + "delete": { + "tags": [ + "GalleryImageVersions" + ], + "operationId": "GalleryImageVersions_Delete", + "description": "Delete a gallery Image Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition resides." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Definition in which the Image Version resides." + }, + { + "name": "galleryImageVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Image Version to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Image Version.": { + "$ref": "./examples/DeleteAGalleryImageVersion.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": { + "get": { + "tags": [ + "Galleries" + ], + "operationId": "Galleries_ListByResourceGroup", + "description": "List galleries under a resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List galleries in a resource group.": { + "$ref": "./examples/ListGalleriesInAResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": { + "get": { + "tags": [ + "Galleries" + ], + "operationId": "Galleries_List", + "description": "List galleries under a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List galleries in a subscription.": { + "$ref": "./examples/ListGalleriesInASubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": { + "get": { + "tags": [ + "GalleryImages" + ], + "operationId": "GalleryImages_ListByGallery", + "description": "List gallery Image Definitions in a gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImageList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery images in a gallery.": { + "$ref": "./examples/ListGalleryImagesInAGallery.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": { + "get": { + "tags": [ + "GalleryImageVersions" + ], + "operationId": "GalleryImageVersions_ListByGalleryImage", + "description": "List gallery Image Versions in a gallery Image Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery in which the Image Definition resides." + }, + { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImageVersionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery Image Versions in a gallery Image Definition.": { + "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Gallery": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the Shared Image Gallery that you want to create or update." + }, + "GalleryProperties": { + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "$ref": "#/definitions/GalleryIdentifier" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryIdentifier": { + "properties": { + "uniqueName": { + "readOnly": true, + "type": "string", + "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." + } + }, + "description": "Describes the gallery unique name." + }, + "GalleryImage": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryImageProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Image Definition that you want to create or update." + }, + "GalleryImageProperties": { + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery Image Definition resource. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Image Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "osType": { + "type": "string", + "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + }, + "osState": { + "type": "string", + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.", + "enum": [ + "Generalized", + "Specialized" + ], + "x-ms-enum": { + "name": "OperatingSystemStateTypes", + "modelAsString": false + } + }, + "hyperVGeneration": { + "type": "string", + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "HyperVGeneration", + "modelAsString": true + } + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "identifier": { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + "recommended": { + "$ref": "#/definitions/RecommendedMachineConfiguration" + }, + "disallowed": { + "$ref": "#/definitions/Disallowed" + }, + "purchasePlan": { + "$ref": "#/definitions/ImagePurchasePlan" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery Image Definition.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + } + }, + "required": [ + "osType", + "osState", + "identifier" + ], + "description": "Describes the properties of a gallery Image Definition." + }, + "GalleryImageIdentifier": { + "properties": { + "publisher": { + "type": "string", + "description": "The name of the gallery Image Definition publisher." + }, + "offer": { + "type": "string", + "description": "The name of the gallery Image Definition offer." + }, + "sku": { + "type": "string", + "description": "The name of the gallery Image Definition SKU." + } + }, + "required": [ + "publisher", + "offer", + "sku" + ], + "description": "This is the gallery Image Definition identifier." + }, + "RecommendedMachineConfiguration": { + "properties": { + "vCPUs": { + "$ref": "#/definitions/ResourceRange" + }, + "memory": { + "$ref": "#/definitions/ResourceRange" + } + }, + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "ResourceRange": { + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "The minimum number of the resource." + }, + "max": { + "type": "integer", + "format": "int32", + "description": "The maximum number of the resource." + } + }, + "description": "Describes the resource range." + }, + "Disallowed": { + "properties": { + "diskTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of disk types." + } + }, + "description": "Describes the disallowed disk types." + }, + "ImagePurchasePlan": { + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + }, + "product": { + "type": "string", + "description": "The product ID." + } + }, + "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images." + }, + "GalleryImageVersion": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryImageVersionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Image Version that you want to create or update." + }, + "GalleryImageVersionProperties": { + "properties": { + "publishingProfile": { + "$ref": "#/definitions/GalleryImageVersionPublishingProfile" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery Image Version.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + }, + "storageProfile": { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + "replicationStatus": { + "readOnly": true, + "$ref": "#/definitions/ReplicationStatus" + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery Image Version." + }, + "GalleryArtifactPublishingProfileBase": { + "properties": { + "targetRegions": { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + }, + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "description": "Describes the basic gallery artifact publishing profile." + }, + "TargetRegion": { + "properties": { + "name": { + "type": "string", + "description": "The name of the region." + }, + "regionalReplicaCount": { + "type": "integer", + "format": "int32", + "description": "The number of replicas of the Image Version to be created per region. This property is updatable." + }, + "storageAccountType": { + "type": "string", + "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": true + } + } + }, + "required": [ + "name" + ], + "description": "Describes the target region information." + }, + "GalleryImageVersionPublishingProfile": { + "properties": { + "replicaCount": { + "type": "integer", + "format": "int32", + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "excludeFromLatest": { + "type": "boolean", + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "publishedDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp for when the gallery Image Version is published." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." + }, + "storageAccountType": { + "type": "string", + "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" + } + ], + "description": "The publishing profile of a gallery Image Version." + }, + "GalleryImageVersionStorageProfile": { + "properties": { + "source": { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + "osDiskImage": { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + "dataDiskImages": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryDataDiskImage" + }, + "description": "A list of data disk images." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryArtifactVersionSource": { + "properties": { + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image." + } + }, + "required": [ + "id" + ], + "description": "The gallery artifact version source." + }, + "GalleryDiskImage": { + "properties": { + "sizeInGB": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "This property indicates the size of the VHD to be created." + }, + "hostCaching": { + "type": "string", + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "HostCaching", + "modelAsString": false + } + }, + "source": { + "$ref": "#/definitions/GalleryArtifactVersionSource" + } + }, + "description": "This is the disk image base class." + }, + "GalleryOSDiskImage": { + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "description": "This is the OS disk image." + }, + "GalleryDataDiskImage": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, + "ReplicationStatus": { + "properties": { + "aggregatedState": { + "readOnly": true, + "type": "string", + "description": "This is the aggregated replication status based on all the regional replication status flags.", + "enum": [ + "Unknown", + "InProgress", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "AggregatedReplicationState", + "modelAsString": true + } + }, + "summary": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RegionalReplicationStatus" + }, + "description": "This is a summary of replication status for each region." + } + }, + "description": "This is the replication status of the gallery Image Version." + }, + "RegionalReplicationStatus": { + "properties": { + "region": { + "readOnly": true, + "type": "string", + "description": "The region to which the gallery Image Version is being replicated to." + }, + "state": { + "readOnly": true, + "type": "string", + "description": "This is the regional replication state.", + "enum": [ + "Unknown", + "Replicating", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "ReplicationState", + "modelAsString": true + } + }, + "details": { + "readOnly": true, + "type": "string", + "description": "The details of the replication status." + }, + "progress": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "It indicates progress of the replication job." + } + }, + "description": "This is the regional replication status." + }, + "GalleryList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Gallery" + }, + "description": "A list of galleries." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries." + } + }, + "required": [ + "value" + ], + "description": "The List Galleries operation response." + }, + "GalleryImageList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImage" + }, + "description": "A list of Shared Image Gallery images." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery Image Definitions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Images operation response." + }, + "GalleryImageVersionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImageVersion" + }, + "description": "A list of gallery Image Versions." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch the next page of gallery Image Versions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Image version operation response." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/ApiError" + } + }, + "description": "An error response from the Gallery service." + }, + "ApiError": { + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ApiErrorBase" + }, + "description": "The Api error details" + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "The Api inner error" + }, + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "Api error." + }, + "ApiErrorBase": { + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "Api error base." + }, + "InnerError": { + "properties": { + "exceptiontype": { + "type": "string", + "description": "The exception type." + }, + "errordetail": { + "type": "string", + "description": "The internal error message or exception dump." + } + }, + "description": "Inner error details." + }, + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The name of the resource group." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md index 998dc934c02c..2cd48aec7d6a 100644 --- a/specification/compute/resource-manager/readme.go.md +++ b/specification/compute/resource-manager/readme.go.md @@ -12,6 +12,7 @@ go: ```yaml $(go) && $(multiapi) batch: + - tag: package-2019-07-01 - tag: package-2019-03-01 - tag: package-2018-10-01 - tag: package-2018-06 @@ -28,6 +29,16 @@ batch: - tag: package-container-service-2015-11-preview ``` +### Tag: package-2019-07-01 and go + +These settings apply only when `--tag=package-2019-07-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2019-07-01' && $(go) +namespace: compute +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-07-01/$(namespace) +``` + ### Tag: package-2019-03-01 and go These settings apply only when `--tag=package-2019-03-01 --go` is specified on the command line. diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index 277ac0499b62..ce215def5c3d 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -34,7 +34,7 @@ These are the global settings for the Compute API. title: ComputeManagementClient description: Compute Client openapi-type: arm -tag: package-2019-03-01 +tag: package-2019-07-01 directive: - where: @@ -196,6 +196,20 @@ directive: - ACS service is deprecated so a PATCH endpoint won't be implemented ``` +### Tag: package-2019-07-01 + +These settings apply only when `--tag=package-2019-07-01` is specified on the command line. + +``` yaml $(tag) == 'package-2019-07-01' +input-file: +- Microsoft.Compute/stable/2019-03-01/compute.json +- Microsoft.Compute/stable/2019-03-01/runCommands.json +- Microsoft.Compute/stable/2019-04-01/skus.json +- Microsoft.Compute/stable/2018-09-30/disk.json +- Microsoft.Compute/stable/2019-07-01/gallery.json +- Microsoft.ContainerService/stable/2017-01-31/containerService.json +``` + ### Tag: package-2019-03-01 These settings apply only when `--tag=package-2019-03-01` is specified on the command line. From 4503013d0a97892b52f5b978f8789194117df855 Mon Sep 17 00:00:00 2001 From: parisa-naeimi <38113090+parisa-naeimi@users.noreply.github.com> Date: Wed, 17 Jul 2019 18:48:12 -0700 Subject: [PATCH 308/495] Introducing new version API 2019-05-01-preview with adding a new filter for usageDetails called publisherType (#6575) * Adds base for updating Microsoft.Consumption from version preview/2019-04-01-preview to version 2019-05-01-preview * Updates readme * Updates API version in new specs and examples * 1. Added publisherType filter for UsageDetails API in Filter section 2. Added filter section missing in UsageDetailsDownload and also added language parameter missing from specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json 3. Updated Usage Detail Download example to have language parameter * Added x-ms-parameter-location to language and formatted consumption.json based on the comments * Removed language from Usage Detail Download based on Reviewer' s comment to be compatible with ARM --- .../2019-05-01-preview/consumption.json | 3175 +++++++++++++++++ .../AggregatedCostByManagementGroup.json | 47 + ...atedCostByManagementGroupFilterByDate.json | 48 + ...CostForBillingPeriodByManagementGroup.json | 40 + .../examples/BalancesByBillingAccount.json | 46 + ...ancesByBillingAccountForBillingPeriod.json | 47 + .../2019-05-01-preview/examples/Budget.json | 72 + .../examples/BudgetsList.json | 160 + .../ChargesForBillingPeriodByDepartment.json | 27 + ...esForBillingPeriodByEnrollmentAccount.json | 27 + .../examples/CreateOrUpdateBudget.json | 185 + .../examples/DeleteBudget.json | 12 + .../examples/ForecastsList.json | 51 + .../examples/ForecastsListFilterByDates.json | 52 + .../examples/ForecastsListFilterByGrain.json | 52 + .../MarketplacesByBillingAccountList.json | 49 + ...sByBillingAccountListForBillingPeriod.json | 51 + .../MarketplacesByDepartmentList.json | 51 + ...lacesByDepartment_ListByBillingPeriod.json | 51 + .../MarketplacesByEnrollmentAccountList.json | 51 + ...nrollmentAccounts_ListByBillingPeriod.json | 51 + .../MarketplacesByManagementGroupList.json | 85 + ...yManagementGroup_ListForBillingPeriod.json | 86 + .../examples/MarketplacesList.json | 49 + .../MarketplacesListForBillingPeriod.json | 51 + .../examples/PriceSheet.json | 30 + .../examples/PriceSheetExpand.json | 40 + .../examples/PriceSheetForBillingPeriod.json | 31 + .../examples/ReservationDetails.json | 34 + .../ReservationDetailsWithReservationId.json | 35 + ...mendationsFilterByScopeLookBackPeriod.json | 52 + .../ReservationRecommendationsList.json | 51 + .../examples/ReservationSummariesDaily.json | 36 + ...vationSummariesDailyWithReservationId.json | 37 + .../examples/ReservationSummariesMonthly.json | 35 + ...tionSummariesMonthlyWithReservationId.json | 36 + .../2019-05-01-preview/examples/Tags.json | 48 + .../examples/UsageDetailsDownload.json | 25 + .../UsageDetailsDownloadByMetricUsage.json | 26 + .../examples/UsageDetailsExpand.json | 66 + .../examples/UsageDetailsList.json | 56 + .../UsageDetailsListByBillingAccount.json | 55 + .../UsageDetailsListByDepartment.json | 55 + .../UsageDetailsListByEnrollmentAccount.json | 55 + .../UsageDetailsListByManagementGroup.json | 96 + .../UsageDetailsListByMetricActualCost.json | 56 + ...UsageDetailsListByMetricAmortizedCost.json | 57 + .../UsageDetailsListByMetricUsage.json | 56 + .../examples/UsageDetailsListFilterByTag.json | 55 + .../UsageDetailsListForBillingPeriod.json | 55 + ...sListForBillingPeriodByBillingAccount.json | 55 + ...tailsListForBillingPeriodByDepartment.json | 55 + ...stForBillingPeriodByEnrollmentAccount.json | 55 + ...ListForBillingPeriodByManagementGroup.json | 96 + .../consumption/resource-manager/readme.md | 15 +- 55 files changed, 6067 insertions(+), 3 deletions(-) create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json new file mode 100644 index 000000000000..e65c0514334d --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json @@ -0,0 +1,3175 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-05-01-preview", + "title": "ConsumptionManagementClient", + "description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{scope}/providers/Microsoft.Consumption/usageDetails": { + "get": { + "tags": [ + "UsageDetails" + ], + "operationId": "UsageDetails_List", + "description": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "UsageDetailsList": { + "$ref": "./examples/UsageDetailsList.json" + }, + "UsageDetailsListFilterByTag": { + "$ref": "./examples/UsageDetailsListFilterByTag.json" + }, + "UsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriod.json" + }, + "UsageDetailsExpand": { + "$ref": "./examples/UsageDetailsExpand.json" + }, + "UsageDetailsListByMetricActualCost": { + "$ref": "./examples/UsageDetailsListByMetricActualCost.json" + }, + "UsageDetailsListByMetricAmortizedCost": { + "$ref": "./examples/UsageDetailsListByMetricAmortizedCost.json" + }, + "UsageDetailsListByMetricUsage": { + "$ref": "./examples/UsageDetailsListByMetricUsage.json" + }, + "BillingAccountUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByBillingAccount.json" + }, + "BillingAccountUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByBillingAccount.json" + }, + "DepartmentUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByDepartment.json" + }, + "DepartmentUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByDepartment.json" + }, + "EnrollmentAccountUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByEnrollmentAccount.json" + }, + "EnrollmentAccountUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json" + }, + "ManagementGroupUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByManagementGroup.json" + }, + "ManagementGroupUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeUsageDetailsParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the most recent N usageDetails.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/metricParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/usageDetails/download": { + "post": { + "tags": [ + "UsageDetails" + ], + "x-ms-examples": { + "UsageDetailsDownload": { + "$ref": "./examples/UsageDetailsDownload.json" + }, + "UsageDetailsDownloadByMetricUsage": { + "$ref": "./examples/UsageDetailsDownloadByMetricUsage.json" + } + }, + "operationId": "UsageDetails_Download", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "description": "Download usage details data.", + "parameters": [ + { + "$ref": "#/parameters/scopeUsageDetailsParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/metricParameter" + }, + { + "name": "$filter", + "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageDetailsDownloadResponse" + } + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "GET this URL to retrieve the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.", + "type": "string" + }, + "Azure-AsyncOperation": { + "description": "To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Consumption/marketplaces": { + "get": { + "tags": [ + "Marketplaces" + ], + "x-ms-odata": "#/definitions/Marketplace", + "operationId": "Marketplaces_List", + "description": "Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "SubscriptionMarketplacesList": { + "$ref": "./examples/MarketplacesList.json" + }, + "SubscriptionMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesListForBillingPeriod.json" + }, + "BillingAccountMarketplacesList": { + "$ref": "./examples/MarketplacesByBillingAccountList.json" + }, + "BillingAccountMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByBillingAccountListForBillingPeriod.json" + }, + "DepartmentMarketplacesList": { + "$ref": "./examples/MarketplacesByDepartmentList.json" + }, + "DepartmentMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByDepartment_ListByBillingPeriod.json" + }, + "EnrollmentAccountMarketplacesList": { + "$ref": "./examples/MarketplacesByEnrollmentAccountList.json" + }, + "EnrollmentAccountMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json" + }, + "ManagementGroupMarketplacesList": { + "$ref": "./examples/MarketplacesByManagementGroupList.json" + }, + "ManagementGroupMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByManagementGroup_ListForBillingPeriod.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the most recent N marketplaces.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/scopeMarketplaceParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/MarketplacesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/budgets": { + "get": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_List", + "description": "Lists all budgets for the defined scope.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "BudgetsList": { + "$ref": "./examples/BudgetsList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BudgetsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}": { + "get": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_Get", + "description": "Gets the budget for the scope by budget name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Budget": { + "$ref": "./examples/Budget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_CreateOrUpdate", + "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "CreateOrUpdateBudget": { + "$ref": "./examples/CreateOrUpdateBudget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Budget" + }, + "description": "Parameters supplied to the Create Budget operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "201": { + "description": "Created.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_Delete", + "description": "The operation to delete a budget.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "DeleteBudget": { + "$ref": "./examples/DeleteBudget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Consumption/tags": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Get", + "description": "Get all available tag keys for the defined scope", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Tags_Get": { + "$ref": "./examples/Tags.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeTagsParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TagsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Consumption/charges": { + "get": { + "tags": [ + "Charges" + ], + "operationId": "Charges_ListByScope", + "description": "Lists the charges based for the defined scope.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ChangesForBillingPeriodByEnrollmentAccount": { + "$ref": "./examples/ChargesForBillingPeriodByEnrollmentAccount.json" + }, + "ChangesForBillingPeriodByDepartment": { + "$ref": "./examples/ChargesForBillingPeriodByDepartment.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeChargesParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ChargeSummary" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances": { + "get": { + "tags": [ + "Balances" + ], + "operationId": "Balances_GetByBillingAccount", + "description": "Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Balances": { + "$ref": "./examples/BalancesByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Balance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances": { + "get": { + "tags": [ + "Balances" + ], + "operationId": "Balances_GetForBillingPeriodByBillingAccount", + "description": "Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Balances": { + "$ref": "./examples/BalancesByBillingAccountForBillingPeriod.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Balance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsSummaries_ListByReservationOrder", + "description": "Lists the reservations summaries for daily or monthly grain.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationSummariesDaily": { + "$ref": "./examples/ReservationSummariesDaily.json" + }, + "ReservationSummariesMonthly": { + "$ref": "./examples/ReservationSummariesMonthly.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/grainParameter" + }, + { + "name": "$filter", + "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationSummariesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation", + "description": "Lists the reservations summaries for daily or monthly grain.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationSummariesDailyWithReservationId": { + "$ref": "./examples/ReservationSummariesDailyWithReservationId.json" + }, + "ReservationSummariesMonthlyWithReservationId": { + "$ref": "./examples/ReservationSummariesMonthlyWithReservationId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/reservationIdParameter" + }, + { + "$ref": "#/parameters/grainParameter" + }, + { + "name": "$filter", + "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationSummariesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsDetails_ListByReservationOrder", + "description": "Lists the reservations details for provided date range.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationDetails": { + "$ref": "./examples/ReservationDetails.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "name": "$filter", + "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", + "in": "query", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsDetails_ListByReservationOrderAndReservation", + "description": "Lists the reservations details for provided date range.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationDetailsWithReservationId": { + "$ref": "./examples/ReservationDetailsWithReservationId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/reservationIdParameter" + }, + { + "name": "$filter", + "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", + "in": "query", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations": { + "get": { + "tags": [ + "ReservationRecommendations" + ], + "operationId": "ReservationRecommendations_List", + "description": "List of recommendations for purchasing reserved instances.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationRecommendations": { + "$ref": "./examples/ReservationRecommendationsList.json" + }, + "ReservationRecommendationsFilterByScopeLookBackPeriod": { + "$ref": "./examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationRecommendationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default": { + "get": { + "tags": [ + "PriceSheet" + ], + "operationId": "PriceSheet_Get", + "description": "Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "PriceSheet": { + "$ref": "./examples/PriceSheet.json" + } + }, + "parameters": [ + { + "name": "$expand", + "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the top N results.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PriceSheetResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default": { + "get": { + "tags": [ + "PriceSheet" + ], + "operationId": "PriceSheet_GetByBillingPeriod", + "description": "Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "PriceSheetForBillingPeriod": { + "$ref": "./examples/PriceSheetForBillingPeriod.json" + }, + "PriceSheetExpand": { + "$ref": "./examples/PriceSheetExpand.json" + } + }, + "parameters": [ + { + "name": "$expand", + "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the top N results.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PriceSheetResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts": { + "get": { + "tags": [ + "Forecasts" + ], + "x-ms-odata": "#/definitions/Forecast", + "operationId": "Forecasts_List", + "description": "Lists the forecast charges by subscriptionId.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ForecastsList": { + "$ref": "./examples/ForecastsList.json" + }, + "ForecastsListFilterByGrain": { + "$ref": "./examples/ForecastsListFilterByGrain.json" + }, + "ForecastsListFilterByDates": { + "$ref": "./examples/ForecastsListFilterByDates.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ForecastsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/providers/Microsoft.Consumption/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available consumption REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost": { + "get": { + "tags": [ + "AggregatedCost" + ], + "operationId": "AggregatedCost_GetByManagementGroup", + "description": "Provides the aggregate cost of a management group and all child management groups by current billing period.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "AggregatedCostByManagementGroup": { + "$ref": "./examples/AggregatedCostByManagementGroup.json" + }, + "AggregatedCostByManagementGroupFilterByDate": { + "$ref": "./examples/AggregatedCostByManagementGroupFilterByDate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/managementGroupIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost": { + "get": { + "tags": [ + "AggregatedCost" + ], + "operationId": "AggregatedCost_GetForBillingPeriodByManagementGroup", + "description": "Provides the aggregate cost of a management group and all child management groups by specified billing period", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "AggregatedCostListForBillingPeriodByManagementGroup": { + "$ref": "./examples/AggregatedCostForBillingPeriodByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/managementGroupIdParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "MeterDetails": { + "description": "The properties of the meter detail.", + "properties": { + "meterName": { + "description": "The name of the meter, within the given meter category", + "type": "string", + "readOnly": true + }, + "meterCategory": { + "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..", + "type": "string", + "readOnly": true + }, + "meterSubCategory": { + "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.", + "type": "string", + "readOnly": true + }, + "meterLocation": { + "description": "The location in which the Azure service is available.", + "type": "string", + "readOnly": true + }, + "totalIncludedQuantity": { + "description": "The total included quantity associated with the offer.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "pretaxStandardRate": { + "description": "The pretax listing price.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "serviceName": { + "description": "The name of the service.", + "type": "string", + "readOnly": true + }, + "serviceTier": { + "description": "The service tier.", + "type": "string", + "readOnly": true + } + } + }, + "UsageDetail": { + "description": "An usage detail resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/UsageDetailProperties", + "title": "Usage detail properties" + } + } + }, + "UsageDetailsListResult": { + "description": "Result of listing usage details. It contains a list of available usage details in reverse chronological order by billing period.", + "properties": { + "value": { + "description": "The list of usage details.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UsageDetail" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "UsageDetailProperties": { + "description": "The properties of the usage detail.", + "properties": { + "billingAccountId": { + "description": "Billing Account identifier.", + "type": "string", + "readOnly": true + }, + "billingAccountName": { + "description": "Billing Account Name.", + "type": "string", + "readOnly": true + }, + "billingPeriodStartDate": { + "description": "The billing period start date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingPeriodEndDate": { + "description": "The billing period end date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingProfileId": { + "description": "Billing Profile identifier.", + "type": "string", + "readOnly": true + }, + "billingProfileName": { + "description": "Billing Profile Name.", + "type": "string", + "readOnly": true + }, + "accountOwnerId": { + "description": "Account Owner Id.", + "type": "string", + "readOnly": true + }, + "accountName": { + "description": "Account Name.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription guid.", + "type": "string", + "readOnly": true + }, + "subscriptionName": { + "description": "Subscription name.", + "type": "string", + "readOnly": true + }, + "date": { + "description": "Date for the usage record.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "product": { + "description": "Product name for the consumed service or purchase. Not available for Marketplace.", + "type": "string", + "readOnly": true + }, + "partNumber": { + "description": "Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace.", + "type": "string", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "meterDetails": { + "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/MeterDetailsResponse", + "readOnly": true + }, + "quantity": { + "description": "The usage quantity.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "effectivePrice": { + "description": "Effective Price that’s charged for the usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "cost": { + "description": "The amount of cost before tax.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unitPrice": { + "description": "Unit Price is the price applicable to you. (your EA or other contract price).", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "billingCurrency": { + "description": "Billing Currency.", + "type": "string", + "readOnly": true + }, + "resourceLocation": { + "description": "Resource Location.", + "type": "string", + "readOnly": true + }, + "consumedService": { + "description": "Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Azure resource manager resource identifier.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "serviceInfo1": { + "description": "Service Info 1.", + "type": "string", + "readOnly": true + }, + "serviceInfo2": { + "description": "Service Info 2.", + "type": "string", + "readOnly": true + }, + "additionalInfo": { + "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.", + "type": "string", + "readOnly": true + }, + "invoiceSection": { + "description": "Invoice Section Name.", + "type": "string", + "readOnly": true + }, + "costCenter": { + "description": "The cost center of this department if it is a department and a cost center is provided.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource Group Name.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "ARM resource id of the reservation. Only applies to records relevant to reservations.", + "type": "string", + "readOnly": true + }, + "reservationName": { + "description": "User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.", + "type": "string", + "readOnly": true + }, + "productOrderId": { + "description": "Product Order Id. For reservations this is the Reservation Order ID.", + "type": "string", + "readOnly": true + }, + "productOrderName": { + "description": "Product Order Name. For reservations this is the SKU that was purchased.", + "type": "string", + "readOnly": true + }, + "offerId": { + "description": "Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P.", + "type": "string", + "readOnly": true + }, + "isAzureCreditEligible": { + "description": "Is Azure Credit Eligible.", + "type": "boolean", + "readOnly": true + }, + "term": { + "description": "Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation.", + "type": "string", + "readOnly": true + }, + "publisherName": { + "description": "Publisher Name.", + "type": "string", + "readOnly": true + }, + "publisherType": { + "description": "Publisher Type.", + "type": "string", + "readOnly": true + }, + "planName": { + "description": "Plan Name.", + "type": "string", + "readOnly": true + }, + "chargeType": { + "description": "Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.", + "type": "string", + "readOnly": true + }, + "frequency": { + "description": "Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.", + "type": "string", + "readOnly": true + } + } + }, + "UsageDetailsDownloadResponse": { + "description": "Download response of Usage Details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DownloadUrl", + "title": "Download url properties." + } + } + }, + "DownloadUrl": { + "description": "A secure URL that can be used to download a an entity until the URL expires.", + "properties": { + "downloadUrl": { + "description": "The URL to the csv file.", + "type": "string", + "readOnly": true + }, + "validTill": { + "description": "The time in UTC at which this download URL will expire.", + "type": "string", + "readOnly": true + } + } + }, + "Marketplace": { + "description": "An marketplace resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MarketplaceProperties", + "title": "Marketplace properties" + } + } + }, + "MarketplacesListResult": { + "description": "Result of listing marketplaces. It contains a list of available marketplaces in reverse chronological order by billing period.", + "type": "object", + "properties": { + "value": { + "description": "The list of marketplaces.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Marketplace" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "MarketplaceProperties": { + "description": "The properties of the marketplace usage detail.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the usage belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "The start of the date time range covered by the usage detail.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usageEnd": { + "description": "The end of the date time range covered by the usage detail.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "resourceRate": { + "description": "The marketplace resource rate.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "offerName": { + "description": "The type of offer.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "The name of resource group.", + "type": "string", + "readOnly": true + }, + "orderNumber": { + "description": "The order number.", + "type": "string", + "readOnly": true + }, + "instanceName": { + "description": "The name of the resource instance that the usage is about.", + "type": "string", + "readOnly": true + }, + "instanceId": { + "description": "The uri of the resource instance that the usage is about.", + "type": "string", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "consumedQuantity": { + "description": "The quantity of usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unitOfMeasure": { + "description": "The unit of measure.", + "type": "string", + "readOnly": true + }, + "pretaxCost": { + "description": "The amount of cost before tax.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "isEstimated": { + "description": "The estimated usage is subject to change.", + "type": "boolean", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID).", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "subscriptionGuid": { + "description": "Subscription guid.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "subscriptionName": { + "description": "Subscription name.", + "type": "string", + "readOnly": true + }, + "accountName": { + "description": "Account name.", + "type": "string", + "readOnly": true + }, + "departmentName": { + "description": "Department name.", + "type": "string", + "readOnly": true + }, + "consumedService": { + "description": "Consumed service name.", + "type": "string", + "readOnly": true + }, + "costCenter": { + "description": "The cost center of this department if it is a department and a costcenter exists", + "type": "string", + "readOnly": true + }, + "additionalProperties": { + "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand.", + "type": "string", + "readOnly": true + }, + "publisherName": { + "description": "The name of publisher.", + "type": "string", + "readOnly": true + }, + "planName": { + "description": "The name of plan.", + "type": "string", + "readOnly": true + }, + "isRecurringCharge": { + "description": "Flag indicating whether this is a recurring charge or not.", + "type": "boolean", + "readOnly": true + } + } + }, + "Balance": { + "description": "A balance resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BalanceProperties", + "title": "Balance properties" + } + } + }, + "BalanceProperties": { + "description": "The properties of the balance.", + "type": "object", + "properties": { + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "beginningBalance": { + "description": "The beginning balance for the billing period.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "endingBalance": { + "description": "The ending balance for the billing period (for open periods this will be updated daily).", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "newPurchases": { + "description": "Total new purchase amount.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "adjustments": { + "description": "Total adjustment amount.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "utilized": { + "description": "Total Commitment usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "serviceOverage": { + "description": "Overage for Azure services.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalOverage": { + "description": "serviceOverage + chargesBilledSeparately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalUsage": { + "description": "Azure service commitment + total Overage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "azureMarketplaceServiceCharges": { + "description": "Total charges for Azure Marketplace.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "billingFrequency": { + "description": "The billing frequency.", + "type": "string", + "enum": [ + "Month", + "Quarter", + "Year" + ], + "x-ms-enum": { + "name": "BillingFrequency", + "modelAsString": true + } + }, + "priceHidden": { + "description": "Price is hidden or not.", + "type": "boolean", + "readOnly": true + }, + "newPurchasesDetails": { + "description": "List of new purchases.", + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "description": "the name of new purchase.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "the value of new purchase.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + }, + "adjustmentDetails": { + "description": "List of Adjustments (Promo credit, SIE credit etc.).", + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "description": "the name of new adjustment.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "the value of new adjustment.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + } + } + }, + "ReservationSummary": { + "description": "reservation summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationSummaryProperties", + "title": "Reservation Summary properties" + } + } + }, + "ReservationSummariesListResult": { + "description": "Result of listing reservation summaries.", + "properties": { + "value": { + "description": "The list of reservation summaries.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationSummary" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationSummaryProperties": { + "description": "The properties of the reservation summary.", + "properties": { + "reservationOrderId": { + "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.", + "type": "string", + "readOnly": true + }, + "skuName": { + "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.", + "type": "string", + "readOnly": true + }, + "reservedHours": { + "description": "This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "usageDate": { + "description": "Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usedHours": { + "description": "Total used hours by the reservation", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "minUtilizationPercentage": { + "description": "This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "avgUtilizationPercentage": { + "description": "This is average utilization for the entire time range. (day or month depending on the grain)", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "maxUtilizationPercentage": { + "description": "This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "ReservationDetail": { + "description": "reservation detail resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationDetailProperties", + "title": "Reservation Detail properties" + } + } + }, + "ReservationDetailsListResult": { + "description": "Result of listing reservation details.", + "properties": { + "value": { + "description": "The list of reservation details.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationDetail" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationDetailProperties": { + "description": "The properties of the reservation detail.", + "properties": { + "reservationOrderId": { + "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.", + "type": "string", + "readOnly": true + }, + "skuName": { + "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.", + "type": "string", + "readOnly": true + }, + "reservedHours": { + "description": "This is the total hours reserved for the day. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "usageDate": { + "description": "The date on which consumption occurred.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usedHours": { + "description": "This is the total hours used by the instance.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "instanceId": { + "description": "This identifier is the name of the resource or the fully qualified Resource ID.", + "type": "string", + "readOnly": true + }, + "totalReservedQuantity": { + "description": "This is the total count of instances that are reserved for the reservationId.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "ReservationRecommendation": { + "description": "Reservation recommendation resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "$ref": "#/definitions/ResourceAttributes" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationRecommendationProperties", + "title": "Reservation Recommendation properties" + } + } + }, + "ReservationRecommendationsListResult": { + "description": "Result of listing reservation recommendations.", + "properties": { + "value": { + "description": "The list of reservation recommendations.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationRecommendation" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationRecommendationProperties": { + "description": "The properties of the reservation recommendation.", + "properties": { + "lookBackPeriod": { + "description": "The number of days of usage to look back for recommendation.", + "type": "string", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID)", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "term": { + "description": "RI recommendations in one or three year terms.", + "type": "string", + "readOnly": true + }, + "costWithNoReservedInstances": { + "description": "The total amount of cost without reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "recommendedQuantity": { + "description": "Recommended quality for reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalCostWithReservedInstances": { + "description": "The total amount of cost with reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "netSavings": { + "description": "Total estimated savings with reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "firstUsageDate": { + "description": "The usage date for looking back.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "scope": { + "description": "Shared or single recommendation.", + "type": "string", + "readOnly": true + } + } + }, + "TagsResult": { + "description": "A resource listing all tags.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TagProperties", + "title": "Tag properties" + } + } + }, + "TagProperties": { + "description": "The properties of the tag.", + "properties": { + "tags": { + "description": "A list of Tag.", + "type": "array", + "items": { + "$ref": "#/definitions/Tag" + } + } + } + }, + "Tag": { + "description": "The tag resource.", + "properties": { + "key": { + "description": "Tag key.", + "type": "string" + } + } + }, + "BudgetsListResult": { + "description": "Result of listing budgets. It contains a list of available budgets in the scope provided.", + "properties": { + "value": { + "description": "The list of budgets.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Budget" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Budget": { + "description": "A budget resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BudgetProperties", + "title": "Budget properties" + } + } + }, + "BudgetProperties": { + "description": "The properties of the budget.", + "properties": { + "category": { + "description": "The category of the budget, whether the budget tracks cost or usage.", + "type": "string", + "enum": [ + "Cost", + "Usage" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + } + }, + "amount": { + "description": "The total amount of cost to track with the budget", + "type": "number", + "format": "decimal" + }, + "timeGrain": { + "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.", + "type": "string", + "enum": [ + "Monthly", + "Quarterly", + "Annually" + ], + "x-ms-enum": { + "name": "TimeGrainType", + "modelAsString": true + } + }, + "timePeriod": { + "description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.", + "$ref": "#/definitions/BudgetTimePeriod" + }, + "filters": { + "description": "May be used to filter budgets by resource group, resource, or meter.", + "type": "object", + "$ref": "#/definitions/Filters" + }, + "currentSpend": { + "description": "The current amount of cost which is being tracked for a budget.", + "$ref": "#/definitions/CurrentSpend", + "readOnly": true + }, + "notifications": { + "type": "object", + "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications.", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/Notification" + }, + "maxItems": 5 + } + }, + "required": [ + "category", + "amount", + "timeGrain", + "timePeriod" + ] + }, + "BudgetTimePeriod": { + "description": "The start and end date for a budget.", + "properties": { + "startDate": { + "description": "The start date for the budget.", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "The end date for the budget. If not provided, we default this to 10 years from the start date.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "startDate" + ] + }, + "Filters": { + "description": "May be used to filter budgets by resource group, resource, or meter.", + "properties": { + "resourceGroups": { + "description": "The list of filters on resource groups, allowed at subscription level only.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 10 + }, + "resources": { + "description": "The list of filters on resources.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 10 + }, + "meters": { + "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. ", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 0, + "maxItems": 10 + }, + "tags": { + "type": "object", + "description": "The dictionary of filters on tags.", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": 0, + "maxItems": 10 + } + } + }, + "CurrentSpend": { + "description": "The current amount of cost which is being tracked for a budget.", + "properties": { + "amount": { + "description": "The total amount of cost which is being tracked by the budget.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unit": { + "description": "The unit of measure for the budget amount.", + "type": "string", + "readOnly": true + } + } + }, + "Notification": { + "description": "The notification associated with a budget.", + "properties": { + "enabled": { + "description": "The notification is enabled or not.", + "type": "boolean" + }, + "operator": { + "description": "The comparison operator.", + "type": "string", + "enum": [ + "EqualTo", + "GreaterThan", + "GreaterThanOrEqualTo" + ], + "x-ms-enum": { + "name": "OperatorType", + "modelAsString": true + } + }, + "threshold": { + "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.", + "type": "number", + "format": "decimal" + }, + "contactEmails": { + "description": "Email addresses to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "maxItems": 50 + }, + "contactRoles": { + "description": "Contact roles to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + } + }, + "contactGroups": { + "description": "Action groups to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 50 + } + }, + "required": [ + "enabled", + "operator", + "threshold", + "contactEmails" + ] + }, + "PriceSheetResult": { + "description": "An pricesheet resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PriceSheetModel", + "title": "Price sheet properties" + } + } + }, + "PriceSheetModel": { + "description": "price sheet result. It contains the pricesheet associated with billing period", + "properties": { + "pricesheets": { + "description": "Price sheet", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PriceSheetProperties" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PriceSheetProperties": { + "description": "The properties of the price sheet.", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the usage belongs to.", + "type": "string", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID)", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "meterDetails": { + "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/MeterDetails", + "readOnly": true + }, + "unitOfMeasure": { + "description": "Unit of measure", + "type": "string", + "readOnly": true + }, + "includedQuantity": { + "description": "Included quality for an offer", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "partNumber": { + "description": "Part Number", + "type": "string", + "readOnly": true + }, + "unitPrice": { + "description": "Unit Price", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currencyCode": { + "description": "Currency Code", + "type": "string", + "readOnly": true + }, + "offerId": { + "description": "Offer Id", + "type": "string", + "readOnly": true + } + } + }, + "Forecast": { + "description": "A forecast resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ForecastProperties", + "title": "Forecast properties" + } + } + }, + "ForecastsListResult": { + "description": "Result of listing forecasts. It contains a list of available forecasts.", + "type": "object", + "properties": { + "value": { + "description": "The list of forecasts.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Forecast" + } + } + } + }, + "ForecastProperties": { + "description": "The properties of the forecast charge.", + "type": "object", + "properties": { + "usageDate": { + "description": "The usage date of the forecast.", + "type": "string", + "readOnly": true + }, + "grain": { + "description": "The granularity of forecast.", + "type": "string", + "enum": [ + "Daily", + "Monthly", + "Yearly" + ], + "x-ms-enum": { + "name": "Grain", + "modelAsString": true + } + }, + "charge": { + "description": "The amount of charge", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "chargeType": { + "description": "The type of the charge. Could be actual or forecast", + "type": "string", + "enum": [ + "Actual", + "Forecast" + ], + "x-ms-enum": { + "name": "ChargeType", + "modelAsString": true + } + }, + "confidenceLevels": { + "description": "The details about the forecast confidence levels. This is populated only when chargeType is Forecast.", + "type": "array", + "items": { + "type": "object", + "properties": { + "percentage": { + "description": "The percentage level of the confidence", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "bound": { + "description": "The boundary of the percentage, values could be 'Upper' or 'Lower'", + "type": "string", + "enum": [ + "Upper", + "Lower" + ], + "x-ms-enum": { + "name": "Bound", + "modelAsString": true + } + }, + "value": { + "description": "The amount of forecast within the percentage level", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + } + } + }, + "ManagementGroupAggregatedCostResult": { + "description": "A management group aggregated cost resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagementGroupAggregatedCostProperties", + "title": "Management Group Aggregated Cost properties" + } + } + }, + "ManagementGroupAggregatedCostProperties": { + "description": "The properties of the Management Group Aggregated Cost.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the aggregated cost belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "The start of the date time range covered by aggregated cost.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usageEnd": { + "description": "The end of the date time range covered by the aggregated cost.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "azureCharges": { + "description": "Azure Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "marketplaceCharges": { + "description": "Marketplace Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed Separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "children": { + "description": "Children of a management group", + "type": "array", + "items": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "includedSubscriptions": { + "description": "List of subscription Guids included in the calculation of aggregated cost", + "type": "array", + "items": { + "type": "string" + } + }, + "excludedSubscriptions": { + "description": "List of subscription Guids excluded from the calculation of aggregated cost", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ChargesListResult": { + "description": "Result of listing charge summary.", + "properties": { + "value": { + "description": "The list of charge summary", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ChargeSummary" + } + } + } + }, + "ChargeSummary": { + "description": "A charge summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ChargeSummaryProperties", + "title": "Charge summary properties" + } + } + }, + "ChargeSummaryProperties": { + "description": "The properties of the charge summary.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the charge belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "Usage start date.", + "type": "string", + "readOnly": true + }, + "usageEnd": { + "description": " Usage end date.", + "type": "string", + "readOnly": true + }, + "azureCharges": { + "description": "Azure Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "marketplaceCharges": { + "description": "Marketplace Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "Currency Code", + "type": "string", + "readOnly": true + } + } + }, + "MeterDetailsResponse": { + "description": "The properties of the meter detail.", + "properties": { + "meterName": { + "description": "The name of the meter, within the given meter category", + "type": "string", + "readOnly": true + }, + "meterCategory": { + "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..", + "type": "string", + "readOnly": true + }, + "meterSubCategory": { + "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..", + "type": "string", + "readOnly": true + }, + "unitOfMeasure": { + "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.", + "type": "string", + "readOnly": true + }, + "serviceFamily": { + "description": "The service family.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorDetails": { + "description": "The details of the error.", + "properties": { + "code": { + "description": "Error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorResponse": { + "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "Operation": { + "description": "A Consumption REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Consumption.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed: UsageDetail, etc.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string", + "readOnly": true + } + } + } + } + }, + "OperationListResult": { + "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL to get the next set of operation list results if there are any.", + "type": "string", + "readOnly": true + } + } + }, + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "tags": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "x-ms-azure-resource": true + }, + "ResourceAttributes": { + "description": "The Resource model definition.", + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Resource location" + }, + "sku": { + "readOnly": true, + "type": "string", + "description": "Resource sku" + } + } + }, + "ProxyResource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "eTag": { + "type": "string", + "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." + } + }, + "x-ms-azure-resource": true + } + }, + "parameters": { + "scopeChargesParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with usage details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeUsageDetailsParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeMarketplaceParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeBudgetParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeTagsParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. The current version is 2019-05-01-preview." + }, + "billingAccountIdParameter": { + "name": "billingAccountId", + "in": "path", + "description": "BillingAccount ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "departmentIdParameter": { + "name": "departmentId", + "in": "path", + "description": "Department ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "enrollmentAccountIdParameter": { + "name": "enrollmentAccountId", + "in": "path", + "description": "EnrollmentAccount ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure Subscription ID.", + "required": true, + "type": "string" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Azure Resource Group Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "budgetNameParameter": { + "name": "budgetName", + "in": "path", + "description": "Budget Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingPeriodNameParameter": { + "name": "billingPeriodName", + "in": "path", + "description": "Billing Period Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "reservationOrderIdParameter": { + "name": "reservationOrderId", + "in": "path", + "description": "Order Id of the reservation", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "reservationIdParameter": { + "name": "reservationId", + "in": "path", + "description": "Id of the reservation", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "grainParameter": { + "name": "grain", + "description": "Can be daily or monthly", + "x-ms-parameter-location": "method", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "daily", + "monthly" + ], + "x-ms-enum": { + "name": "datagrain", + "modelAsString": true, + "values": [ + { + "value": "daily", + "description": "Daily grain of data", + "name": "DailyGrain" + }, + { + "value": "monthly", + "description": "Monthly grain of data", + "name": "MonthlyGrain" + } + ] + } + }, + "managementGroupIdParameter": { + "name": "managementGroupId", + "in": "path", + "description": "Azure Management Group ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingProfileIdParameter": { + "name": "billingProfileId", + "in": "path", + "description": "Azure Billing Profile ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "invoiceSectionIdParameter": { + "name": "invoiceSectionId", + "in": "path", + "description": "Azure Invoice Section ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "metricParameter": { + "name": "metric", + "in": "query", + "description": "Allows to select different type of cost/usage records.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "enum": [ + "actualcost", + "amortizedcost", + "usage" + ], + "x-ms-enum": { + "name": "metrictype", + "modelAsString": true, + "values": [ + { + "value": "actualcost", + "description": "Actual cost data.", + "name": "ActualCostMetricType" + }, + { + "value": "amortizedcost", + "description": "Amortized cost data.", + "name": "AmortizedCostMetricType" + }, + { + "value": "usage", + "description": "Usage data.", + "name": "UsageMetricType" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json new file mode 100644 index 000000000000..9f9c465f48e3 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "1caaa5a3-2b66-438e-8ab4-bce37d518c5d" + ], + "excludedSubscriptions": [], + "usageStart": "2019-04-01T00:00:00.0000000Z", + "usageEnd": "2018-10-31T00:00:00.0000000Z", + "azureCharges": 250.9876, + "marketplaceCharges": 150.786, + "chargesBilledSeparately": 120.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "c349567d-c83a-48c9-ab0e-578c69dc97a4" + ], + "excludedSubscriptions": [], + "usageStart": "2019-04-01T00:00:00.0000000Z", + "usageEnd": "2018-10-31T00:00:00.0000000Z", + "azureCharges": 150.0, + "marketplaceCharges": 50.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json new file mode 100644 index 000000000000..0f971f3d8cc3 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "1caaa5a3-2b66-438e-8ab4-bce37d518c5d" + ], + "excludedSubscriptions": [], + "usageStart": "2018-08-15T00:00:00.0000000Z", + "usageEnd": "2018-08-31T00:00:00.0000000Z", + "azureCharges": 150.9876, + "marketplaceCharges": 80.786, + "chargesBilledSeparately": 90.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "c349567d-c83a-48c9-ab0e-578c69dc97a4" + ], + "excludedSubscriptions": [], + "usageStart": "2018-08-15T00:00:00.0000000Z", + "usageEnd": "2018-08-31T00:00:00.0000000Z", + "azureCharges": 50.0, + "marketplaceCharges": 10.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json new file mode 100644 index 000000000000..c68f3cfd81ab --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201807" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "usageStart": "2018-07-01T00:00:00.0000000Z", + "usageEnd": "2018-07-31T00:00:00.0000000Z", + "azureCharges": 250.9876, + "marketplaceCharges": 150.786, + "chargesBilledSeparately": 120.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "usageStart": "2018-07-01T00:00:00.0000000Z", + "usageEnd": "2018-07-31T00:00:00.0000000Z", + "azureCharges": 150.0, + "marketplaceCharges": 50.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json new file mode 100644 index 000000000000..ab76190c11f9 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "123456" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1", + "name": "balanceId1", + "type": "Microsoft.Consumption/balances", + "properties": { + "currency": "USD ", + "beginningBalance": 3396469.19, + "endingBalance": 2922371.02, + "newPurchases": 0, + "adjustments": 0, + "utilized": 474098.17, + "serviceOverage": 0, + "chargesBilledSeparately": 0, + "totalOverage": 0, + "totalUsage": 474098.17, + "azureMarketplaceServiceCharges": 609.82, + "billingFrequency": "Month", + "priceHidden": false, + "newPurchasesDetails": [ + { + "name": "Promo Purchase", + "value": 1 + } + ], + "adjustmentDetails": [ + { + "name": "Promo Credit", + "value": 1.1 + }, + { + "name": "SIE Credit", + "value": 1.0 + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json new file mode 100644 index 000000000000..d27546e238e7 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "123456", + "billingPeriodName": "201702" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1", + "name": "balanceId1", + "type": "Microsoft.Consumption/balances", + "properties": { + "currency": "USD ", + "beginningBalance": 3396469.19, + "endingBalance": 2922371.02, + "newPurchases": 0, + "adjustments": 0, + "utilized": 474098.17, + "serviceOverage": 0, + "chargesBilledSeparately": 0, + "totalOverage": 0, + "totalUsage": 474098.17, + "azureMarketplaceServiceCharges": 609.82, + "billingFrequency": "Month", + "priceHidden": false, + "newPurchasesDetails": [ + { + "name": "Promo Purchase", + "value": 1 + } + ], + "adjustmentDetails": [ + { + "name": "Promo Credit", + "value": 1.1 + }, + { + "name": "SIE Credit", + "value": 1.0 + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json new file mode 100644 index 000000000000..9d4ee2f7731b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MSVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json new file mode 100644 index 000000000000..a3434af41381 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ] + }, + "Actual_GreaterThanOrEqualTo_90_Percent": { + "enabled": true, + "operator": "GreaterThanOrEqualTo", + "threshold": 90, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + }, + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 600.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 120.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_40_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 40, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ] + }, + "Actual_GreaterThanOrEqualTo_60_Percent": { + "enabled": true, + "operator": "GreaterThanOrEqualTo", + "threshold": 60, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json new file mode 100644 index 000000000000..1eb2d5ecaab5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "1234", + "departmentId": "42425", + "billingPeriodName": "201804", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json new file mode 100644 index 000000000000..f9b47775197a --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "1234", + "enrollmentAccountId": "42425", + "billingPeriodName": "201804", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json new file mode 100644 index 000000000000..4e9962dbf6ff --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "parameters": { + "eTag": "\"1d34d016a593709\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + }, + "200": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json new file mode 100644 index 000000000000..3bb1f870f51e --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json new file mode 100644 index 000000000000..54a5de15adf0 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Daily", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-02", + "grain": "Daily", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json new file mode 100644 index 000000000000..f35dff045b7d --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "usagedate ge '2018-04-01' AND usagedate le '2018-04-02'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Daily", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-02", + "grain": "Daily", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json new file mode 100644 index 000000000000..465b9a365a70 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "Grain eq 'Monthly'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Monthly", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-05-01", + "grain": "Monthly", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json new file mode 100644 index 000000000000..fd8d3cbe3f8b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "123456", + "scope": "providers/Microsoft.Billing/billingAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplaceId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan1", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json new file mode 100644 index 000000000000..848e7d740c10 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/billingAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json new file mode 100644 index 000000000000..fb7335bd3e48 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "departmentId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/departments/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json new file mode 100644 index 000000000000..fb7335bd3e48 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "departmentId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/departments/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json new file mode 100644 index 000000000000..83cfe3b4ef72 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "enrollmentAccountId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json new file mode 100644 index 000000000000..83cfe3b4ef72 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "enrollmentAccountId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json new file mode 100644 index 000000000000..2a33d09cc5a5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-10-13T00:00:00Z", + "usageEnd": "2018-10-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + }, + { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId2", + "name": "marketplacesId2", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account2", + "additionalProperties": "additionalProperties", + "costCenter": "Center2", + "departmentName": "Department2", + "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-10-13T00:00:00Z", + "usageEnd": "2018-10-13T23:59:59Z", + "instanceName": "shared2", + "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "11111111-1111-1111-1111-111111111111", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "11111111-1111-1111-1111-111111111111", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "11111111-1111-1111-1111-111111111111", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json new file mode 100644 index 000000000000..bc96c08f7021 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201808", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808", + "usageStart": "2018-08-13T00:00:00Z", + "usageEnd": "2018-08-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + }, + { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId2", + "name": "marketplacesId2", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account2", + "additionalProperties": "additionalProperties", + "costCenter": "Center2", + "departmentName": "Department2", + "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-08-13T00:00:00Z", + "usageEnd": "2018-08-13T23:59:59Z", + "instanceName": "shared2", + "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "11111111-1111-1111-1111-111111111111", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "11111111-1111-1111-1111-111111111111", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "11111111-1111-1111-1111-111111111111", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json new file mode 100644 index 000000000000..60be50130611 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplaceId1", + "name": "marketplaceId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan1", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json new file mode 100644 index 000000000000..c60d1cc958df --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplacesId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json new file mode 100644 index 000000000000..dec92bedea1c --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json new file mode 100644 index 000000000000..24064c1b5825 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801", + "$expand": "meterDetails" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D&$expand=properties/pricesheets/meterDetails", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1", + "meterDetails": { + "meterName": "Data Transfer Out (GB)", + "meterCategory": "Networking", + "unit": "GB", + "meterLocation": "Zone 2", + "totalIncludedQuantity": 0, + "pretaxStandardRate": 0.138 + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json new file mode 100644 index 000000000000..5ff07dec369b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json new file mode 100644 index 000000000000..aa4872c6c42b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129", + "type": "Microsoft.Consumption/reservationDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-29T00:00:00Z", + "skuName": "Standard_D2_v2", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33", + "totalReservedQuantity": 1.000000000000000, + "reservedHours": 24.000000000000000, + "usedHours": 24.000000000000000 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json new file mode 100644 index 000000000000..0a210f3ce5f2 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129", + "type": "Microsoft.Consumption/reservationDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-29T00:00:00Z", + "skuName": "Standard_D2_v2", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33", + "totalReservedQuantity": 1.000000000000000, + "reservedHours": 24.000000000000000, + "usedHours": 24.000000000000000 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json new file mode 100644 index 000000000000..36b30157a817 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1", + "name": "reservationRecommendations1", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 4.634521202630137, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2", + "name": "reservationRecommendations2", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P3Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 7.2893157231780812, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$filter=properties/scope+eq+'Single'+AND+properties/lookBackPeriod+eq+'Last7Days'&$skiptoken=AQAAAA%3D%3D&" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json new file mode 100644 index 000000000000..8e0d68ff5ff5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1", + "name": "reservationRecommendations1", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 4.634521202630137, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2", + "name": "reservationRecommendations2", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P3Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 7.2893157231780812, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json new file mode 100644 index 000000000000..286de40a0a90 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "grain": "daily", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationsummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json new file mode 100644 index 000000000000..d0193527db59 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "grain": "daily", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationsummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json new file mode 100644 index 000000000000..814eaa7f4b9f --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "grain": "monthly" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationsummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json new file mode 100644 index 000000000000..a989b8ab82a0 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "grain": "monthly" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationsummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json new file mode 100644 index 000000000000..a1dea0076566 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "billingAccountId": "12345", + "scope": "providers/Microsoft.CostManagement/billingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/tags1", + "name": "tags1", + "type": "Microsoft.Consumption/tags", + "eTag": "\"1d34d012214157f\"", + "properties": { + "tags": [ + { + "key": "Department" + }, + { + "key": "CostCenter" + }, + { + "key": "Portal" + }, + { + "key": "OrgName" + }, + { + "key": "Namespace" + }, + { + "key": "resourceType" + }, + { + "key": "Subsystem" + }, + { + "key": "Environment" + }, + { + "key": "clusterName" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json new file mode 100644 index 000000000000..f7501c385ac2 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/billingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "properties": { + "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r", + "validTill": "03/05/2019 20:13:06" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview", + "Retry-After": "10", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json new file mode 100644 index 000000000000..26dc8a3658d4 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "usage" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "properties": { + "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r", + "validTill": "03/05/2019 20:13:06" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview", + "Retry-After": "10", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json new file mode 100644 index 000000000000..da3b085112b4 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903", + "$expand": "meterDetails,additionalInfo", + "$filter": "tags eq 'dev:tools'", + "$top": 1 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": { + "meterName": "Data Transfer Out (GB)", + "meterCategory": "Networking", + "meterSubCategory": "ExpressRoute", + "unitOfMeasure": "GB", + "serviceFamily": "Compute" + }, + "quantity": 0.8234, + "effectivePrice": 0.010464556322455, + "cost": 0.000342194841184, + "unitPrice": 3.54, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased", + "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json new file mode 100644 index 000000000000..c91c1bfd48db --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693034210767, + "cost": 0.000001980949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json new file mode 100644 index 000000000000..8cfcd69aafdd --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json new file mode 100644 index 000000000000..64fb2442c745 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/Departments/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json new file mode 100644 index 000000000000..d70160f5c3e7 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json new file mode 100644 index 000000000000..435f9c35b2a0 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201903", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + }, + { + "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2", + "name": "usageDetails_Id2", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 2", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 2", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 2", + "partNumber": "Part Number 2", + "meterId": "11111111-1111-1111-1111-111111111111", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2", + "resourceName": "Resource Name 2", + "invoiceSection": "Invoice Section 2", + "costCenter": "DEV", + "resourceGroup": "Resource Group 2", + "offerId": "Offer Id 2", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json new file mode 100644 index 000000000000..9eeed12f0b59 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "actualcost", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json new file mode 100644 index 000000000000..9897d7cf78c4 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "amortizedcost", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json new file mode 100644 index 000000000000..745a163e8817 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "usage", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json new file mode 100644 index 000000000000..6e1e1d30dddb --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "$filter": "tags eq 'dev:tools'", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json new file mode 100644 index 000000000000..3d412576d2e3 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json new file mode 100644 index 000000000000..9b18a420e1fe --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json new file mode 100644 index 000000000000..63cdff469fa2 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/Departments/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json new file mode 100644 index 000000000000..844a6b00171c --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json new file mode 100644 index 000000000000..5abcace4e978 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201903", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + }, + { + "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2", + "name": "usageDetails_Id2", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 2", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 2", + "accountName": "Account Name 2", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 2", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 2", + "partNumber": "Part Number 2", + "meterId": "11111111-1111-1111-1111-111111111111", + "meterDetails": null, + "quantity": 0.4759, + "effectivePrice": 0.073488920944598, + "cost": 0.000821821271948, + "unitPrice": 5.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2", + "resourceName": "Resource Name 2", + "invoiceSection": "Invoice Section 2", + "costCenter": "DEV", + "resourceGroup": "Resource Group 2", + "offerId": "Offer Id 2", + "isAzureCreditEligible": false, + "chargeType": "UnusedReservation" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index f28b7a4e49e5..4c7c4d7b0727 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -26,18 +26,27 @@ These are the global settings for the Consumption API. ``` yaml openapi-type: arm -tag: package-preview-2019-04 +tag: package-preview-2019-05 ``` +### Tag: package-preview-2019-05 + +These settings apply only when `--tag=package-preview-2019-05` is specified on the command line. + +```yaml $(tag) == 'package-preview-2019-05' +input-file: + - Microsoft.Consumption/preview/2019-05-01-preview/consumption.json +``` ### Tag: package-preview-2019-04 These settings apply only when `--tag=package-preview-2019-04` is specified on the command line. -```yaml $(tag) == 'package-preview-2019-04' +``` yaml $(tag) == 'package-preview-2019-04' input-file: - Microsoft.Consumption/preview/2019-04-01-preview/consumption.json ``` + ### Tag: package-preview-2018-11 These settings apply only when `--tag=package-preview-2018-11` is specified on the command line. @@ -365,4 +374,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2019_01_01 regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` From e7849ceb19a4ba433b2c19fd52dc9b0b95d4181c Mon Sep 17 00:00:00 2001 From: LeiZhao Date: Wed, 17 Jul 2019 18:55:01 -0700 Subject: [PATCH 309/495] [READY TO MERGE] Add missing usages api optional parameter (#6656) * add show usages detial parameter * add related mark for optioanl query parameter * remove doller sign from the custome parameter --- .../stable/2019-05-01/machineLearningServices.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json index 94ad74157938..750aeedeb7b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json @@ -388,6 +388,9 @@ { "$ref": "#/parameters/APIVersionParameter" }, + { + "$ref": "#/parameters/ExpandChildrenParameter" + }, { "$ref": "#/parameters/SubscriptionIdParameter" }, @@ -927,6 +930,14 @@ "description": "Version of Azure Machine Learning resource provider API.", "required": true }, + "ExpandChildrenParameter": { + "in": "query", + "name": "expandChildren", + "type": "string", + "description": "Specifies if detailed usages of child resources are required.", + "required": false, + "x-ms-parameter-location": "method" + }, "PaginationParameter": { "in": "query", "name": "$skiptoken", From 5f7b83b114bf30abc2e9a1eedcfb26cab6060a28 Mon Sep 17 00:00:00 2001 From: shleiAmy <50385461+shleiAmy@users.noreply.github.com> Date: Wed, 17 Jul 2019 19:55:19 -0700 Subject: [PATCH 310/495] update attestation swagger (#6655) * update attestation swagger * Move attestation API under a preview folder * fix the error response * remove the pattern validation from swaggle since the validation already appears on the server --- .../2018-09-01-preview/attestation.json | 115 +++++------------- .../examples/Create_AttestationProvider.json | 2 +- .../examples/Delete_AttestationProvider.json | 2 +- .../examples/Get_AttestationProvider.json | 0 .../Get_AttestationProvidersList.json | 0 ...testationProvidersListByResourceGroup.json | 0 .../examples/Operations_List.json | 0 .../attestation/resource-manager/readme.md | 10 +- 8 files changed, 40 insertions(+), 89 deletions(-) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/attestation.json (79%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Create_AttestationProvider.json (96%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Delete_AttestationProvider.json (93%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Get_AttestationProvider.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Get_AttestationProvidersList.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/{ => preview}/2018-09-01-preview/examples/Operations_List.json (100%) diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json similarity index 79% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json index 8825e71eac8b..2987cf4d8a5a 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json @@ -55,9 +55,9 @@ } }, "default": { - "description": "Attestation service error result", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -77,17 +77,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "providerName", "in": "path", "required": true, "type": "string", - "pattern": "^[a-z0-9]{3,24}$", "description": "Name of the attestation service instance" }, { @@ -104,7 +103,7 @@ "default": { "description": "Error result from Attestation service", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -122,17 +121,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "providerName", "in": "path", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", "description": "Name of the attestation service" }, { @@ -164,7 +162,7 @@ "default": { "description": "Error result from Attestation service", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -182,17 +180,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "providerName", "in": "path", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$", "description": "Name of the attestation service" }, { @@ -200,19 +197,19 @@ } ], "responses": { - "202": { - "description": "Request accepted for deletion of attestation service" - }, "200": { "description": "Resource exists and was deleted successfully" }, + "202": { + "description": "Request accepted for deletion of attestation service" + }, "204": { "description": "Resource does not exist" }, "default": { "description": "Error result from Attestation service", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -235,7 +232,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" } ], "x-ms-pageable": { @@ -251,7 +248,7 @@ "default": { "description": "Attestation service error result", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -271,13 +268,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" } ], "x-ms-pageable": { @@ -294,7 +291,7 @@ "default": { "description": "Attestation service error result", "schema": { - "$ref": "#/definitions/ErrorResult" + "$ref": "#/definitions/CloudError" } } } @@ -357,7 +354,7 @@ ], "allOf": [ { - "$ref": "../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } ], "properties": { @@ -395,56 +392,28 @@ } } }, - "ErrorResult": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", + "CloudError": { + "x-ms-external": true, "properties": { "error": { - "type": "object", - "description": "Error object.", - "$ref": "#/definitions/ErrorResponseBody" + "$ref": "#/definitions/CloudErrorBody" } - } + }, + "description": "An error response from Attestation." }, - "ErrorResponseBody": { - "type": "object", - "title": "Error", - "description": "Error description and code explaining why an operation failed.", - "required": [ - "message", - "code" - ], + "CloudErrorBody": { + "x-ms-external": true, "properties": { - "message": { + "code": { "type": "string", - "description": "Description of the error." + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." }, - "code": { + "message": { "type": "string", - "description": "Service specific error code" + "description": "A message describing the error, intended to be suitable for displaying in a user interface." } - } - }, - "ErrorResponse": { - "type": "object", - "description": "Error response", - "properties": { - "error": { - "type": "object", - "description": "Error response", - "properties": { - "code": { - "type": "string", - "description": "Description of the error." - }, - "message": { - "type": "string", - "description": "Service specific error code." - } - } - } - } + }, + "description": "An error response from Attestation." }, "AttestationProviderListResult": { "description": "Attestation Providers List.", @@ -469,24 +438,6 @@ } }, "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, "ApiVersionParameter": { "name": "api-version", "in": "query", diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json similarity index 96% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json index a9b3bd30b942..b3e4b9d1fc53 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Create_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json @@ -4,7 +4,7 @@ "serviceName": "sampleservicename", "subscriptionId": "00000000-0000-0000-0000-000000000000", "api-version": "2018-09-01-preview", - "providerName": "providerName1", + "providerName": "providername1", "creationParams": "test" }, "responses": { diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json similarity index 93% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json index f6a081df3cc1..2b4a5c9d7fe5 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Delete_AttestationProvider.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json @@ -4,7 +4,7 @@ "serviceName": "sampleservicename", "subscriptionId": "00000000-0000-0000-0000-000000000000", "api-version": "2018-09-01-preview", - "providerName": "providerName1" + "providerName": "providername1" }, "responses": { "202": { diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersList.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Operations_List.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/2018-09-01-preview/examples/Operations_List.json rename to specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Operations_List.json diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md index c8165c33e5af..ab77741cbe77 100644 --- a/specification/attestation/resource-manager/readme.md +++ b/specification/attestation/resource-manager/readme.md @@ -26,16 +26,16 @@ These are the global settings for the Attestation API. ``` yaml openapi-type: arm -tag: package-2018-09 +tag: package-2018-09-preview ``` -### Tag: package-2018-09 +### Tag: package-2018-09-preview -These settings apply only when `--tag=package-2018-09` is specified on the command line. +These settings apply only when `--tag=package-2018-09-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-09' +``` yaml $(tag) == 'package-2018-09-preview' input-file: -- Microsoft.Attestation/2018-09-01-preview/attestation.json +- Microsoft.Attestation/preview/2018-09-01-preview/attestation.json ``` --- From f77137ef7e35addc2780bbe7dd9410d1a9ba9eef Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 17 Jul 2019 23:19:21 -0400 Subject: [PATCH 311/495] chore: jsonfmt security (#6625) --- .../applicationWhitelistings.json | 1046 ++++---- ...ApplicationWhitelistingsGroup_example.json | 248 +- ...tionWhitelistingsSubscription_example.json | 2324 ++++++++--------- .../PutApplicationWhitelistings_example.json | 438 ++-- .../UpdateIoTSecuritySolution_example.json | 4 +- ...nsSecurityAggregatedAlertList_example.json | 2 +- ...utionsSecurityAggregatedAlert_example.json | 2 +- .../iotSecuritySolutionAnalytics.json | 2 - 8 files changed, 2032 insertions(+), 2034 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index 5d6b9c76ae7f..199df611c216 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -1,524 +1,524 @@ { - "swagger": "2.0", - "info": { - "title": "Security Center", - "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", - "version": "2015-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings": { - "get": { - "description": "Gets a list of application control VM/server groups for the subscription.", - "operationId": "AdaptiveApplicationControls_List", - "x-ms-examples": { - "Gets a list of application control VM/server groups for the subscription": { - "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json" - } - }, - "tags": [ - "applicationWhitelistings" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/IncludePathRecommendations" - }, - { - "$ref": "#/parameters/Summary" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppWhitelistingGroups" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/applicationWhitelistings/{groupName}": { - "get": { - "description": "Gets an application control VM/server group.", - "operationId": "AdaptiveApplicationControls_Get", - "x-ms-examples": { - "Gets a configured application control VM/server group": { - "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json" - } - }, - "tags": [ - "applicationWhitelistings" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/AscLocation" - }, - { - "$ref": "#/parameters/GroupName" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppWhitelistingGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "applicationWhitelistings" - ], - "x-ms-examples": { - "Update an application control VM/server group by adding a new file": { - "$ref": "./examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json" - } - }, - "description": "Update an application control VM/server group", - "operationId": "AdaptiveApplicationControls_Put", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/AscLocation" - }, - { - "$ref": "#/parameters/GroupName" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/AppWhitelistingGroupDataPutDataBody" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppWhitelistingGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v1/types.json#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "AppWhitelistingGroups": { - "type": "object", - "description": "Represents a list of VM/server groups and set of rules that are Recommended by Azure Security Center to be allowed", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AppWhitelistingGroup" - } - } - } - }, - "AppWhitelistingGroup": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AppWhitelistingGroupData" - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../common/v1/types.json#/definitions/Resource" - }, - { - "$ref": "../../../common/v1/types.json#/definitions/Location" - } - ] - }, - "AppWhitelistingGroupData": { - "type": "object", - "description": "Represents a VM/server group and set of rules that are Recommended by Azure Security Center to be allowed", - "properties": { - "enforcementMode": { - "$ref": "#/definitions/EnforcementMode" - }, - "configurationStatus": { - "$ref": "#/definitions/ConfigurationStatus" - }, - "recommendationStatus": { - "$ref": "#/definitions/RecommendationStatus" - }, - "issues": { - "$ref": "#/definitions/AppWhitelistingIssuesSummaries" - }, - "sourceSystem": { - "$ref": "#/definitions/SourceSystem" - }, - "vmRecommendations": { - "$ref": "#/definitions/VmRecommendations" - }, - "pathRecommendations": { - "$ref": "#/definitions/PathRecommendations" - } - } - }, - "AppWhitelistingPutGroupData": { - "type": "object", - "description": "The altered data of the recommended VM/server group policy", - "properties": { - "enforcementMode": { - "$ref": "#/definitions/EnforcementMode" - }, - "vmRecommendations": { - "$ref": "#/definitions/VmRecommendations" - }, - "pathRecommendations": { - "$ref": "#/definitions/PathRecommendations" - } - } - }, - "ConfigurationStatus": { - "type": "string", - "description": "The configuration status of the VM/server group or machine or rule on the machine", - "enum": [ - "Configured", - "NotConfigured", - "InProgress", - "Failed", - "NoStatus" - ] - }, - "EnforcementMode": { - "type": "string", - "description": "The application control policy enforcement mode of the VM/server group", - "enum": [ - "Audit", - "Enforce" - ] - }, - "RecommendationStatus": { - "type": "string", - "description": "The recommendation status of the VM/server group or VM/server", - "enum": [ - "Recommended", - "NotRecommended", - "NotAvailable", - "NoStatus" - ] - }, - "RecommendationAction": { - "type": "string", - "description": "The recommendation action of the VM/server or rule", - "enum": [ - "Recommended", - "Add", - "Remove" - ] - }, - "RecommendationType": { - "type": "string", - "description": "The type of the rule to be allowed", - "enum": [ - "File", - "FileHash", - "PublisherSignature", - "ProductSignature", - "BinarySignature", - "VersionAndAboveSignature" - ] - }, - "AppWhitelistingIssue": { - "type": "string", - "description": "An alert that VMs/servers within a group can have", - "enum": [ - "ViolationsAudited", - "ViolationsBlocked", - "MsiAndScriptViolationsAudited", - "MsiAndScriptViolationsBlocked", - "ExecutableViolationsAudited", - "RulesViolatedManually" - ] - }, - "FileType": { - "type": "string", - "description": "The type of the file (for Linux files - Executable is used)", - "enum": [ - "Exe", - "Dll", - "Msi", - "Script", - "Executable", - "Unknown" - ] - }, - "SourceSystem": { - "type": "string", - "description": "The source type of the VM/server group", - "enum": [ - "Azure_AppLocker", - "Azure_AuditD", - "NonAzure_AppLocker", - "NonAzure_AuditD", - "None" - ] - }, - "AppWhitelistingIssueSummary": { - "type": "object", - "description": "Represents a summary of the alerts of the VM/server group", - "properties": { - "issue": { - "$ref": "#/definitions/AppWhitelistingIssue" - }, - "numberOfVms": { - "type": "number", - "description": "The number of machines in the VM/server group that have this alert" - } - } - }, - "AppWhitelistingIssuesSummaries": { - "type": "array", - "items": { - "$ref": "#/definitions/AppWhitelistingIssueSummary" - } - }, - "VmRecommendations": { - "type": "array", - "items": { - "$ref": "#/definitions/VmRecommendation" - } - }, - "VmRecommendation": { - "type": "object", - "description": "Represents a machine that is part of a VM/server group", - "properties": { - "configurationStatus": { - "$ref": "#/definitions/ConfigurationStatus" - }, - "recommendationAction": { - "$ref": "#/definitions/RecommendationAction" - }, - "resourceId": { - "$ref": "#/definitions/VmResourceId" - } - } - }, - "PublisherInfo": { - "type": "object", - "description": "Represents the publisher information of a process/rule", - "properties": { - "publisherName": { - "type": "string", - "description": "The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country", - "example": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US" - }, - "productName": { - "type": "string", - "description": "The product name taken from the file's version resource", - "example": "GOOGLE CHROME" - }, - "binaryName": { - "type": "string", - "description": "The \"OriginalName\" field taken from the file's version resource", - "example": "CHROME.EXE" - }, - "version": { - "type": "string", - "description": "The binary file version taken from the file's version resource", - "example": "66.0.3359.139" - } - } - }, - "UserRecommendation": { - "type": "object", - "description": "Represents a user that is recommended to be allowed for a certain rule", - "properties": { - "username": { - "type": "string", - "description": "Represents a user that is recommended to be allowed for a certain rule", - "example": "LOCAL SYSTEM" - }, - "recommendationAction": { - "$ref": "#/definitions/RecommendationAction" - } - } - }, - "PathRecommendations": { - "type": "array", - "items": { - "$ref": "#/definitions/PathRecommendation" - } - }, - "PathRecommendation": { - "type": "object", - "description": "Represents a path that is recommended to be allowed and its properties", - "properties": { - "path": { - "type": "string", - "description": "The full path to whitelist", - "example": "C:\\Windows\\System32\\calc.exe" - }, - "action": { - "$ref": "#/definitions/RecommendationAction" - }, - "type": { - "$ref": "#/definitions/RecommendationType" - }, - "publisherInfo": { - "$ref": "#/definitions/PublisherInfo" - }, - "common": { - "type": "boolean", - "description": "Whether the path is commonly run on the machine" - }, - "userSids": { - "type": "array", - "items": { - "type": "string", - "description": "A security identifier", - "example": "S-1-5-18" - } - }, - "usernames": { - "type": "array", - "items": { - "$ref": "#/definitions/UserRecommendation" - } - }, - "fileType": { - "$ref": "#/definitions/FileType" - }, - "configurationStatus": { - "$ref": "#/definitions/ConfigurationStatus" - } - } - }, - "GroupResourceId": { - "type": "string", - "description": "The azure resource id of the application control VM/server group", - "example": "/subscriptions/12345678-1234-1234-1234-123456789123/providers/Microsoft.Security/applicationWhitelistings/GROUP1" - }, - "VmResourceId": { - "type": "string", - "description": "The full azure resource id of the machine", - "example": "/subscriptions/12345678-1234-1234-1234-123456789123/resourcegroups/group/providers/microsoft.compute/virtualmachines/vm" - }, - "AppWhitelistingResourceType": { - "type": "string", - "description": "The resource type of the application control resources", - "example": "Microsoft.Security/applicationWhitelistings" - } - }, - "parameters": { - "GroupName": { - "name": "groupName", - "in": "path", - "description": "Name of an application control VM/server group", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "IncludePathRecommendations": { - "name": "includePathRecommendations", - "in": "query", - "description": "Include the policy rules", - "type": "boolean", - "required": false, - "enum": [ - false, - true - ], - "x-ms-parameter-location": "method" - }, - "Summary": { - "name": "summary", - "in": "query", - "description": "Return output in a summarized form", - "type": "boolean", - "required": false, - "enum": [ - false, - true - ], - "x-ms-parameter-location": "method" - }, - "AppWhitelistingGroupDataPutDataBody": { - "in": "body", - "name": "body", - "description": "The updated VM/server group data", - "required": true, - "schema": { - "$ref": "#/definitions/AppWhitelistingPutGroupData" - }, - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2015-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings": { + "get": { + "description": "Gets a list of application control VM/server groups for the subscription.", + "operationId": "AdaptiveApplicationControls_List", + "x-ms-examples": { + "Gets a list of application control VM/server groups for the subscription": { + "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json" + } + }, + "tags": [ + "applicationWhitelistings" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/IncludePathRecommendations" + }, + { + "$ref": "#/parameters/Summary" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroups" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/applicationWhitelistings/{groupName}": { + "get": { + "description": "Gets an application control VM/server group.", + "operationId": "AdaptiveApplicationControls_Get", + "x-ms-examples": { + "Gets a configured application control VM/server group": { + "$ref": "./examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json" + } + }, + "tags": [ + "applicationWhitelistings" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/GroupName" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "applicationWhitelistings" + ], + "x-ms-examples": { + "Update an application control VM/server group by adding a new file": { + "$ref": "./examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json" + } + }, + "description": "Update an application control VM/server group", + "operationId": "AdaptiveApplicationControls_Put", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/GroupName" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/AppWhitelistingGroupDataPutDataBody" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "AppWhitelistingGroups": { + "type": "object", + "description": "Represents a list of VM/server groups and set of rules that are Recommended by Azure Security Center to be allowed", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AppWhitelistingGroup" + } + } + } + }, + "AppWhitelistingGroup": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AppWhitelistingGroupData" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "../../../common/v1/types.json#/definitions/Location" + } + ] + }, + "AppWhitelistingGroupData": { + "type": "object", + "description": "Represents a VM/server group and set of rules that are Recommended by Azure Security Center to be allowed", + "properties": { + "enforcementMode": { + "$ref": "#/definitions/EnforcementMode" + }, + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + }, + "recommendationStatus": { + "$ref": "#/definitions/RecommendationStatus" + }, + "issues": { + "$ref": "#/definitions/AppWhitelistingIssuesSummaries" + }, + "sourceSystem": { + "$ref": "#/definitions/SourceSystem" + }, + "vmRecommendations": { + "$ref": "#/definitions/VmRecommendations" + }, + "pathRecommendations": { + "$ref": "#/definitions/PathRecommendations" + } + } + }, + "AppWhitelistingPutGroupData": { + "type": "object", + "description": "The altered data of the recommended VM/server group policy", + "properties": { + "enforcementMode": { + "$ref": "#/definitions/EnforcementMode" + }, + "vmRecommendations": { + "$ref": "#/definitions/VmRecommendations" + }, + "pathRecommendations": { + "$ref": "#/definitions/PathRecommendations" + } + } + }, + "ConfigurationStatus": { + "type": "string", + "description": "The configuration status of the VM/server group or machine or rule on the machine", + "enum": [ + "Configured", + "NotConfigured", + "InProgress", + "Failed", + "NoStatus" + ] + }, + "EnforcementMode": { + "type": "string", + "description": "The application control policy enforcement mode of the VM/server group", + "enum": [ + "Audit", + "Enforce" + ] + }, + "RecommendationStatus": { + "type": "string", + "description": "The recommendation status of the VM/server group or VM/server", + "enum": [ + "Recommended", + "NotRecommended", + "NotAvailable", + "NoStatus" + ] + }, + "RecommendationAction": { + "type": "string", + "description": "The recommendation action of the VM/server or rule", + "enum": [ + "Recommended", + "Add", + "Remove" + ] + }, + "RecommendationType": { + "type": "string", + "description": "The type of the rule to be allowed", + "enum": [ + "File", + "FileHash", + "PublisherSignature", + "ProductSignature", + "BinarySignature", + "VersionAndAboveSignature" + ] + }, + "AppWhitelistingIssue": { + "type": "string", + "description": "An alert that VMs/servers within a group can have", + "enum": [ + "ViolationsAudited", + "ViolationsBlocked", + "MsiAndScriptViolationsAudited", + "MsiAndScriptViolationsBlocked", + "ExecutableViolationsAudited", + "RulesViolatedManually" + ] + }, + "FileType": { + "type": "string", + "description": "The type of the file (for Linux files - Executable is used)", + "enum": [ + "Exe", + "Dll", + "Msi", + "Script", + "Executable", + "Unknown" + ] + }, + "SourceSystem": { + "type": "string", + "description": "The source type of the VM/server group", + "enum": [ + "Azure_AppLocker", + "Azure_AuditD", + "NonAzure_AppLocker", + "NonAzure_AuditD", + "None" + ] + }, + "AppWhitelistingIssueSummary": { + "type": "object", + "description": "Represents a summary of the alerts of the VM/server group", + "properties": { + "issue": { + "$ref": "#/definitions/AppWhitelistingIssue" + }, + "numberOfVms": { + "type": "number", + "description": "The number of machines in the VM/server group that have this alert" + } + } + }, + "AppWhitelistingIssuesSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/AppWhitelistingIssueSummary" + } + }, + "VmRecommendations": { + "type": "array", + "items": { + "$ref": "#/definitions/VmRecommendation" + } + }, + "VmRecommendation": { + "type": "object", + "description": "Represents a machine that is part of a VM/server group", + "properties": { + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + }, + "recommendationAction": { + "$ref": "#/definitions/RecommendationAction" + }, + "resourceId": { + "$ref": "#/definitions/VmResourceId" + } + } + }, + "PublisherInfo": { + "type": "object", + "description": "Represents the publisher information of a process/rule", + "properties": { + "publisherName": { + "type": "string", + "description": "The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country", + "example": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US" + }, + "productName": { + "type": "string", + "description": "The product name taken from the file's version resource", + "example": "GOOGLE CHROME" + }, + "binaryName": { + "type": "string", + "description": "The \"OriginalName\" field taken from the file's version resource", + "example": "CHROME.EXE" + }, + "version": { + "type": "string", + "description": "The binary file version taken from the file's version resource", + "example": "66.0.3359.139" + } + } + }, + "UserRecommendation": { + "type": "object", + "description": "Represents a user that is recommended to be allowed for a certain rule", + "properties": { + "username": { + "type": "string", + "description": "Represents a user that is recommended to be allowed for a certain rule", + "example": "LOCAL SYSTEM" + }, + "recommendationAction": { + "$ref": "#/definitions/RecommendationAction" + } + } + }, + "PathRecommendations": { + "type": "array", + "items": { + "$ref": "#/definitions/PathRecommendation" + } + }, + "PathRecommendation": { + "type": "object", + "description": "Represents a path that is recommended to be allowed and its properties", + "properties": { + "path": { + "type": "string", + "description": "The full path to whitelist", + "example": "C:\\Windows\\System32\\calc.exe" + }, + "action": { + "$ref": "#/definitions/RecommendationAction" + }, + "type": { + "$ref": "#/definitions/RecommendationType" + }, + "publisherInfo": { + "$ref": "#/definitions/PublisherInfo" + }, + "common": { + "type": "boolean", + "description": "Whether the path is commonly run on the machine" + }, + "userSids": { + "type": "array", + "items": { + "type": "string", + "description": "A security identifier", + "example": "S-1-5-18" + } + }, + "usernames": { + "type": "array", + "items": { + "$ref": "#/definitions/UserRecommendation" + } + }, + "fileType": { + "$ref": "#/definitions/FileType" + }, + "configurationStatus": { + "$ref": "#/definitions/ConfigurationStatus" + } + } + }, + "GroupResourceId": { + "type": "string", + "description": "The azure resource id of the application control VM/server group", + "example": "/subscriptions/12345678-1234-1234-1234-123456789123/providers/Microsoft.Security/applicationWhitelistings/GROUP1" + }, + "VmResourceId": { + "type": "string", + "description": "The full azure resource id of the machine", + "example": "/subscriptions/12345678-1234-1234-1234-123456789123/resourcegroups/group/providers/microsoft.compute/virtualmachines/vm" + }, + "AppWhitelistingResourceType": { + "type": "string", + "description": "The resource type of the application control resources", + "example": "Microsoft.Security/applicationWhitelistings" + } + }, + "parameters": { + "GroupName": { + "name": "groupName", + "in": "path", + "description": "Name of an application control VM/server group", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "IncludePathRecommendations": { + "name": "includePathRecommendations", + "in": "query", + "description": "Include the policy rules", + "type": "boolean", + "required": false, + "enum": [ + false, + true + ], + "x-ms-parameter-location": "method" + }, + "Summary": { + "name": "summary", + "in": "query", + "description": "Return output in a summarized form", + "type": "boolean", + "required": false, + "enum": [ + false, + true + ], + "x-ms-parameter-location": "method" + }, + "AppWhitelistingGroupDataPutDataBody": { + "in": "body", + "name": "body", + "description": "The updated VM/server group data", + "required": true, + "schema": { + "$ref": "#/definitions/AppWhitelistingPutGroupData" + }, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json index f3470bf7fbe9..39af7849aa4e 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json @@ -1,125 +1,125 @@ { - "parameters": { - "api-version": "2015-06-01-preview", - "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", - "ascLocation": "centralus", - "groupName": "ERELGROUP1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", - "name": "ERELGROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "MICROSOFT® COREXT", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "C:\\directory\\file.exe", - "type": "File", - "common": true, - "action": "Add", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "ascLocation": "centralus", + "groupName": "ERELGROUP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json index 642bc1976700..aafa6fbedeb7 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json @@ -1,1163 +1,1163 @@ { - "parameters": { - "api-version": "2015-06-01-preview", - "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", - "includePathRecommendations": true, - "summary": false - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/AMIT-VA", - "name": "AMIT-VA", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14011", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/amit-va/providers/microsoft.compute/virtualmachines/ream-test", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14060", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "C:\\Windows\\SoftwareDistribution\\Download\\Install\\Windows-KB890830-x64-V5.53-delta.exe", - "type": "File", - "common": true, - "action": "Remove", - "usernames": [ - { - "username": "LOCAL SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-5-18" - ], - "fileType": "Exe", - "configurationStatus": "NoStatus" - }, - { - "path": "C:\\WindowsAzure\\GuestAgent_2.7.1198.822\\CollectGuestLogs.exe", - "type": "File", - "common": true, - "action": "Remove", - "usernames": [ - { - "username": "LOCAL SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-5-18" - ], - "fileType": "Exe", - "configurationStatus": "NoStatus" - }, - { - "path": "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-5-18", - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", - "name": "ERELGROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP1", - "name": "GROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm-jit", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/myresourcegroup/providers/microsoft.compute/virtualmachines/myvmweb", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14061", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "MICROSOFT® COREXT", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%PROGRAMFILES%\\RAPID7\\INSIGHT AGENT\\COMPONENTS\\INSIGHT_AGENT\\2.6.7.9\\GET_PROXY.EXE", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=RAPID7 LLC, L=BOSTON, S=MASSACHUSETTS, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%PROGRAMFILES%\\GOOGLE\\CHROME\\APPLICATION\\CHROME.EXE", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "O=GOOGLE LLC, L=MOUNTAIN VIEW, S=CA, C=US", - "productName": "GOOGLE CHROME", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US\\GOOGLE UPDATE\\*\\0.0.0.0", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US", - "productName": "GOOGLE UPDATE", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP2-RE", - "name": "GROUP2-RE", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanjittest/providers/microsoft.compute/virtualmachines/matansourcejit", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14010", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16091", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "C:\\bla.exe", - "type": "File", - "common": true, - "action": "Add", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/BENJITGROUP13", - "name": "BENJITGROUP13", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "westeurope", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test3", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP1", - "name": "GROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "westeurope", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/nic-no-pip/providers/microsoft.compute/virtualmachines/nic-no-pip-vm", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "/sbin/init", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/sbin/upstart-udev-bridge", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/lib/systemd/systemd-udevd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/sbin/upstart-socket-bridge", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/sbin/dhclient", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/bin/python3.4", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/sbin/upstart-file-bridge", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/bin/dbus-daemon", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "messagebus", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/lib/systemd/systemd-logind", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/sbin/getty", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/atd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/cron", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/acpid", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/sshd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_vss_daemon", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_kvp_daemon", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/nscd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "unscd", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/ntpd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "ntp", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/microsoft/auoms/bin/auomscollect", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/omi/bin/omiserver", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/omi/bin/omiengine", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "omi", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/omi/bin/omiagent", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/sbin/rsyslogd", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "syslog", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/bin/python2.7", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - }, - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/microsoft/omsagent/ruby/bin/ruby", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/microsoft/auoms/bin/auoms", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/local/qualys/cloud-agent/bin/qualys-cloud-agent", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/bin/dash", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - }, - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/bin/sleep", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/dsc/bin/dsc_host", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/bin/sudo", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/bin/bash", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/bin/apt-get", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/lib/apt/methods/http", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/lib/apt/methods/gpgv", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/lib/apt/methods/copy", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "root", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/usr/bin/pgrep", - "type": "File", - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - }, - { - "path": "/opt/microsoft/omsconfig/bin/omsconsistencyinvoker", - "type": "File", - "common": false, - "action": "Recommended", - "usernames": [ - { - "username": "omsagent", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Executable", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [ - { - "issue": "ExecutableViolationsAudited", - "numberOfVms": 1 - } - ], - "sourceSystem": "Azure_AuditD" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP2", - "name": "GROUP2", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "westeurope", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test1", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "includePathRecommendations": true, + "summary": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/AMIT-VA", + "name": "AMIT-VA", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14011", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/amit-va/providers/microsoft.compute/virtualmachines/ream-test", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14060", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "C:\\Windows\\SoftwareDistribution\\Download\\Install\\Windows-KB890830-x64-V5.53-delta.exe", + "type": "File", + "common": true, + "action": "Remove", + "usernames": [ + { + "username": "LOCAL SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18" + ], + "fileType": "Exe", + "configurationStatus": "NoStatus" + }, + { + "path": "C:\\WindowsAzure\\GuestAgent_2.7.1198.822\\CollectGuestLogs.exe", + "type": "File", + "common": true, + "action": "Remove", + "usernames": [ + { + "username": "LOCAL SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18" + ], + "fileType": "Exe", + "configurationStatus": "NoStatus" + }, + { + "path": "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-5-18", + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP1", + "name": "GROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/talk-va/providers/microsoft.compute/virtualmachines/tal-win-vm-jit", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/myresourcegroup/providers/microsoft.compute/virtualmachines/myvmweb", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/v-arrikl-scheduledapps/providers/microsoft.compute/virtualmachines/v-arrikl-14061", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%PROGRAMFILES%\\RAPID7\\INSIGHT AGENT\\COMPONENTS\\INSIGHT_AGENT\\2.6.7.9\\GET_PROXY.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=RAPID7 LLC, L=BOSTON, S=MASSACHUSETTS, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%PROGRAMFILES%\\GOOGLE\\CHROME\\APPLICATION\\CHROME.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "O=GOOGLE LLC, L=MOUNTAIN VIEW, S=CA, C=US", + "productName": "GOOGLE CHROME", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US\\GOOGLE UPDATE\\*\\0.0.0.0", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "O=GOOGLE INC, L=MOUNTAIN VIEW, S=CALIFORNIA, C=US", + "productName": "GOOGLE UPDATE", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP2-RE", + "name": "GROUP2-RE", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanjittest/providers/microsoft.compute/virtualmachines/matansourcejit", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14010", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16091", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\bla.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/BENJITGROUP13", + "name": "BENJITGROUP13", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test3", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP1", + "name": "GROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/nic-no-pip/providers/microsoft.compute/virtualmachines/nic-no-pip-vm", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "/sbin/init", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-udev-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/lib/systemd/systemd-udevd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-socket-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/dhclient", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/python3.4", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/upstart-file-bridge", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/dbus-daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "messagebus", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/lib/systemd/systemd-logind", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/sbin/getty", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/atd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/cron", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/acpid", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/sshd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_vss_daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/linux-lts-xenial-tools-4.4.0-103/hv_kvp_daemon", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/nscd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "unscd", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/ntpd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "ntp", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/auoms/bin/auomscollect", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiserver", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiengine", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omi", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/omi/bin/omiagent", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/sbin/rsyslogd", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "syslog", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/python2.7", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + }, + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/omsagent/ruby/bin/ruby", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/auoms/bin/auoms", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/local/qualys/cloud-agent/bin/qualys-cloud-agent", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/dash", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + }, + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/sleep", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/dsc/bin/dsc_host", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/sudo", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/bin/bash", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/apt-get", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/http", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/gpgv", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/lib/apt/methods/copy", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "root", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/usr/bin/pgrep", + "type": "File", + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + }, + { + "path": "/opt/microsoft/omsconfig/bin/omsconsistencyinvoker", + "type": "File", + "common": false, + "action": "Recommended", + "usernames": [ + { + "username": "omsagent", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Executable", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [ + { + "issue": "ExecutableViolationsAudited", + "numberOfVms": 1 + } + ], + "sourceSystem": "Azure_AuditD" + } + }, + { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP2", + "name": "GROUP2", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "westeurope", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test1", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + } + ], + "configurationStatus": "Configured", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json index 1e3ea50dea1f..cc31d592b394 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json @@ -1,220 +1,220 @@ { - "parameters": { - "api-version": "2015-06-01-preview", - "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", - "groupName": "ERELGROUP1", - "ascLocation": "centralus", - "body": { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "name": "ERELGROUP1", - "properties": { - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "MICROSOFT® COREXT", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "C:\\directory\\file.exe", - "action": "Add", - "type": "File", - "common": true - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", - "name": "ERELGROUP1", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", - "recommendationAction": "Recommended" - }, - { - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", - "type": "ProductSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "MICROSOFT® COREXT", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "NT AUTHORITY\\SYSTEM", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "C:\\directory\\file.exe", - "type": "File", - "common": true, - "action": "Add", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "NotConfigured" - } - ], - "configurationStatus": "InProgress", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2015-06-01-preview", + "subscriptionId": "3eeab341-f466-499c-a8be-85427e154baf", + "groupName": "ERELGROUP1", + "ascLocation": "centralus", + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "name": "ERELGROUP1", + "properties": { + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "configurationStatus": "Configured", + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "action": "Add", + "type": "File", + "common": true + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/ERELGROUP1", + "name": "ERELGROUP1", + "type": "Microsoft.Security/applicationWhitelistings", + "location": "centralus", + "properties": { + "recommendationStatus": "Recommended", + "enforcementMode": "Audit", + "vmRecommendations": [ + { + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", + "recommendationAction": "Recommended" + }, + { + "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanvs/providers/microsoft.compute/virtualmachines/matanvs19", + "recommendationAction": "Recommended" + } + ], + "pathRecommendations": [ + { + "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\SECAGENT\\WASECAGENTPROV.EXE", + "type": "ProductSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "MICROSOFT® COREXT", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "%OSDRIVE%\\WINDOWSAZURE\\PACKAGES_201973_7415\\COLLECTGUESTLOGS.EXE", + "type": "PublisherSignature", + "publisherInfo": { + "publisherName": "CN=MICROSOFT AZURE DEPENDENCY CODE SIGN", + "productName": "*", + "binaryName": "*", + "version": "0.0.0.0" + }, + "common": true, + "action": "Recommended", + "usernames": [ + { + "username": "NT AUTHORITY\\SYSTEM", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "Configured" + }, + { + "path": "C:\\directory\\file.exe", + "type": "File", + "common": true, + "action": "Add", + "usernames": [ + { + "username": "Everyone", + "recommendationAction": "Recommended" + } + ], + "userSids": [ + "S-1-1-0" + ], + "fileType": "Exe", + "configurationStatus": "NotConfigured" + } + ], + "configurationStatus": "InProgress", + "issues": [], + "sourceSystem": "Azure_AppLocker" + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json index fffff0a06849..967ef13138a5 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json @@ -8,14 +8,14 @@ "tags": { "foo": "bar" }, - "properties":{ + "properties": { "userDefinedResources": { "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", "querySubscriptions": [ "075423e9-7d33-4166-8bdf-3920b04e3735" ] } - } + } } }, "responses": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json index 66faba0aed75..5111ba0757cf 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json index 2a470dac9458..c196c639083a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json index 5ea5f92423f4..54e224ea4fcf 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json @@ -777,7 +777,6 @@ "type": "string", "description": "Name of the alert type" }, - "alertsCount": { "readOnly": true, "type": "integer", @@ -823,7 +822,6 @@ }, "description": "Estimated severity of this alert" }, - "alertsCount": { "readOnly": true, "type": "integer", From 8cdf49a6beda22b6c371f5347fffc0da63f65777 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 17 Jul 2019 23:20:11 -0400 Subject: [PATCH 312/495] chore: jsonfmt resources (#6648) --- .../2019-06-01/examples/GetSubscription.json | 48 ++++----- .../2019-06-01/examples/GetSubscriptions.json | 100 +++++++++--------- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json index b3493e2c1cb4..ce435f660b20 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json @@ -1,28 +1,28 @@ { - "parameters": { + "parameters": { + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "api-version": "2019-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", - "displayName": "Example Subscription", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "Bypassed", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - } - ] - } - } + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "Bypassed", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ] + } } + } } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json index b544048985e7..c09fdeb0d321 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json @@ -1,53 +1,53 @@ { - "parameters": { - "api-version": "2019-06-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", - "displayName": "Example Subscription", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "RoleBased", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - } - ] - }, - { - "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71", - "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71", - "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c", - "displayName": "Example Subscription2", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "RoleBased", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - }, - { - "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a" - } - ] - } - ], - "nextLink": "..." - } - } + "parameters": { + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ] + }, + { + "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c", + "displayName": "Example Subscription2", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + }, + { + "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a" + } + ] + } + ], + "nextLink": "..." + } } + } } From 76c353d92b8037fe1e02c36deeb06d78d284e5d7 Mon Sep 17 00:00:00 2001 From: roherzbe <52486962+roherzbe@users.noreply.github.com> Date: Thu, 18 Jul 2019 06:20:54 +0300 Subject: [PATCH 313/495] Add data connector kinds AzureAdvancedThreatProtection and MicrosoftDefenderAdvancedThreatProtection. (#6614) * New data connector kinds (MicrosoftDefenderAdvancedThreatProtection & AzureAdvancedThreatProtection) and added discovery logs to MicrosoftCloudAppSecurity. * Use AlertsDataTypeOfDataConnector * Fix spell check errors * Spell check fixes * Add AATP and MDATP to custom-words * Using AATP & MDATP after updated custom-words * Fix mistake --- custom-words.txt | 2 + .../2019-01-01-preview/SecurityInsights.json | 96 ++++++++++++++++++- .../GetAmazonWebServicesCloudTrailById.json | 2 +- .../GetAzureAdvancedThreatProtectionById.json | 29 ++++++ .../dataConnectors/GetDataConnectors.json | 60 ++++++++++-- .../GetMicrosoftCloudAppSecurityById.json | 7 +- ...tDefenderAdvancedThreatProtectionById.json | 29 ++++++ 7 files changed, 215 insertions(+), 10 deletions(-) create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json diff --git a/custom-words.txt b/custom-words.txt index f9930e2eba5f..36be7ad15138 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1525,3 +1525,5 @@ Turbonomic Zerto Corent Carbonite +AATP +MDATP diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index a8ac7197c422..bc81cff629ea 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -927,6 +927,12 @@ }, "Get an AwsCloudTrail data connector.": { "$ref": "./examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json" + }, + "Get an AATP data connector.": { + "$ref": "./examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json" + }, + "Get a MDATP data connector": { + "$ref": "./examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json" } }, "tags": [ @@ -2228,7 +2234,9 @@ "MicrosoftCloudAppSecurity", "ThreatIntelligence", "Office365", - "AmazonWebServicesCloudTrail" + "AmazonWebServicesCloudTrail", + "AzureAdvancedThreatProtection", + "MicrosoftDefenderAdvancedThreatProtection" ], "x-ms-enum": { "name": "DataConnectorKind", @@ -2251,6 +2259,12 @@ }, { "value": "AmazonWebServicesCloudTrail" + }, + { + "value": "AzureAdvancedThreatProtection" + }, + { + "value": "MicrosoftDefenderAdvancedThreatProtection" } ] } @@ -2497,6 +2511,86 @@ "MCASDataConnectorProperties": { "type": "object", "description": "MCAS (Microsoft Cloud App Security) data connector properties.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorTenantId" + }], + "properties": { + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/MCASDataConnectorDataTypes" + } + } + }, + "MCASDataConnectorDataTypes": { + "type": "object", + "description": "The available data types for MCAS (Microsoft Cloud App Security) data connector.", + "allOf": [ + { + "$ref": "#/definitions/AlertsDataTypeOfDataConnector" + }], + "properties": + { + "discoveryLogs": { + "type": "object", + "description": "Discovery log data type connection.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" + } + ] + } + } + }, + "AATPDataConnector": { + "x-ms-discriminator-value": "AzureAdvancedThreatProtection", + "type": "object", + "description": "Represents AATP (Azure Advanced Threat Protection) data connector.", + "allOf": [ + { + "$ref": "#/definitions/DataConnector" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "AATP (Azure Advanced Threat Protection) data connector properties.", + "$ref": "#/definitions/AATPDataConnectorProperties" + } + } + }, + "AATPDataConnectorProperties": { + "type": "object", + "description": "AATP (Azure Advanced Threat Protection) data connector properties.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorTenantId" + }, + { + "$ref": "#/definitions/DataConnectorWithAlertsProperties" + } + ] + }, + "MDATPDataConnector": { + "x-ms-discriminator-value": "MicrosoftDefenderAdvancedThreatProtection", + "type": "object", + "description": "Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector.", + "allOf": [ + { + "$ref": "#/definitions/DataConnector" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.", + "$ref": "#/definitions/MDATPDataConnectorProperties" + } + } + }, + "MDATPDataConnectorProperties": { + "type": "object", + "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.", "allOf": [ { "$ref": "#/definitions/DataConnectorTenantId" diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json index b8153e3fe5bb..75f4881d320e 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json @@ -4,7 +4,7 @@ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", "resourceGroupName": "myRg", "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" }, "responses": { diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json new file mode 100644 index 000000000000..642d47eb08d1 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", + "dataConnectorId": "07e42cb3-e658-4e90-801c-efa0f29d3d44" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/07e42cb3-e658-4e90-801c-efa0f29d3d44", + "name": "07e42cb3-e658-4e90-801c-efa0f29d3d44", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "AzureAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } + } + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json index a60bbb7918a5..443c7a28c8af 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json @@ -4,14 +4,14 @@ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", "resourceGroupName": "myRg", "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights" + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/763f9fa1-c2d3-4fa2-93e9-bccd4899aa12", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/763f9fa1-c2d3-4fa2-93e9-bccd4899aa12", "name": "763f9fa1-c2d3-4fa2-93e9-bccd4899aa12", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "AzureSecurityCenter", @@ -26,7 +26,7 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "ThreatIntelligence", @@ -41,7 +41,7 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d", "name": "f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "AzureActiveDirectory", @@ -56,7 +56,7 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5", "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "Office365", @@ -74,7 +74,7 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/b96d014d-b5c2-4a01-9aba-a8058f629d42", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/b96d014d-b5c2-4a01-9aba-a8058f629d42", "name": "b96d014d-b5c2-4a01-9aba-a8058f629d42", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "MicrosoftCloudAppSecurity", @@ -84,10 +84,58 @@ "dataTypes": { "alerts": { "state": "Enabled" + }, + "discoveryLogs": { + "state": "Enabled" } } } + }, + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/07e42cb3-e658-4e90-801c-efa0f29d3d44", + "name": "07e42cb3-e658-4e90-801c-efa0f29d3d44", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "AzureAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } + } + } + }, + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", + "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", + "type": "Microsoft.SecurityInsights/dataConnectors", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "kind": "AmazonWebServicesCloudTrail", + "properties": { + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" + } + } + } + }, + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "MicrosoftDefenderAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } + } } + } ] } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json index f5f114c4f687..b95ac0e2a512 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json @@ -4,13 +4,13 @@ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", "resourceGroupName": "myRg", "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", "dataConnectorId": "b96d014d-b5c2-4a01-9aba-a8058f629d42" }, "responses": { "200": { "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/b96d014d-b5c2-4a01-9aba-a8058f629d42", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/b96d014d-b5c2-4a01-9aba-a8058f629d42", "name": "b96d014d-b5c2-4a01-9aba-a8058f629d42", "type": "Microsoft.SecurityInsights/dataConnectors", "kind": "MicrosoftCloudAppSecurity", @@ -20,6 +20,9 @@ "dataTypes": { "alerts": { "state": "Enabled" + }, + "discoveryLogs": { + "state": "Enabled" } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json new file mode 100644 index 000000000000..699853dda0f4 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", + "dataConnectorId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "MicrosoftDefenderAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } + } + } + } + } + } +} From 724b627036c78f7e9696cfbae37aeed39ae8117f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 18 Jul 2019 11:26:28 -0400 Subject: [PATCH 314/495] chore: Update quickstart-templates from root (#6647) Copied over the formatted json files from arm-compute at the root --- .../compute/quickstart-templates/aliases.json | 20 ++++++++++++------- .../quickstart-templates/vm-simple.json | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/specification/compute/quickstart-templates/aliases.json b/specification/compute/quickstart-templates/aliases.json index 30585fbf3bd0..c3166eef59fc 100644 --- a/specification/compute/quickstart-templates/aliases.json +++ b/specification/compute/quickstart-templates/aliases.json @@ -12,7 +12,7 @@ "CentOS": { "publisher": "OpenLogic", "offer": "CentOS", - "sku": "7.3", + "sku": "7.5", "version": "latest" }, "CoreOS": { @@ -22,9 +22,9 @@ "version": "latest" }, "Debian": { - "publisher": "credativ", - "offer": "Debian", - "sku": "8", + "publisher": "Debian", + "offer": "debian-10", + "sku": "10", "version": "latest" }, "openSUSE-Leap": { @@ -36,23 +36,29 @@ "RHEL": { "publisher": "RedHat", "offer": "RHEL", - "sku": "7.3", + "sku": "7-RAW", "version": "latest" }, "SLES": { "publisher": "SUSE", "offer": "SLES", - "sku": "12-SP2", + "sku": "15", "version": "latest" }, "UbuntuLTS": { "publisher": "Canonical", "offer": "UbuntuServer", - "sku": "16.04-LTS", + "sku": "18.04-LTS", "version": "latest" } }, "Windows": { + "Win2019Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2019-Datacenter", + "version": "latest" + }, "Win2016Datacenter": { "publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", diff --git a/specification/compute/quickstart-templates/vm-simple.json b/specification/compute/quickstart-templates/vm-simple.json index edc226d02023..d2f4bec8f5dc 100644 --- a/specification/compute/quickstart-templates/vm-simple.json +++ b/specification/compute/quickstart-templates/vm-simple.json @@ -22,7 +22,7 @@ "name": "nestedTemplate", "type": "Microsoft.Resources/deployments", "properties": { - "mode": "Incremental", + "mode": "incremental", "templateLink": { "uri": "[variables('templatelink')]", "contentVersion": "1.0.0.0" From 90ec2b97ca07e93e66bbd5871128d5c090efe33a Mon Sep 17 00:00:00 2001 From: TinaHu1 <51737887+TinaHu1@users.noreply.github.com> Date: Fri, 19 Jul 2019 01:22:53 +0800 Subject: [PATCH 315/495] [DataFactory]Add Binary Dataset in swagger (#6631) * Add binary dataset in swagger * add binary sink * add type for binary type properties --- .../2018-06-01/entityTypes/Dataset.json | 34 +++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 30 ++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index a6128dbe8251..90fe21375044 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -634,6 +634,40 @@ "location" ] }, + "BinaryDataset": { + "x-ms-discriminator-value": "Binary", + "description": "Binary dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Binary dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BinaryDatasetTypeProperties" + } + } + }, + "BinaryDatasetTypeProperties": { + "description": "Binary dataset properties.", + "type": "object", + "properties": { + "location": { + "$ref": "#/definitions/DatasetLocation", + "description": "The location of the Binary storage." + }, + "compression": { + "description": "The data compression method used for the binary dataset.", + "$ref": "#/definitions/DatasetCompression" + } + }, + "required": [ + "location" + ] + }, "AzureBlobDataset": { "x-ms-discriminator-value": "AzureBlob", "description": "The Azure Blob storage.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 364450ba5f32..33962b1325b9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -833,6 +833,21 @@ "type" ] }, + "BinarySource": { + "description": "A copy activity Binary source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/StoreReadSettings", + "description": "Binary store settings." + } + } + }, "AzureTableSource": { "description": "A copy activity Azure Table source.", "type": "object", @@ -2338,6 +2353,21 @@ } } }, + "BinarySink": { + "description": "A copy activity Binary sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/StoreReadSettings", + "description": "Binary store settings." + } + } + }, "BlobSink": { "description": "A copy activity Azure Blob sink.", "type": "object", From b85ca30c68ff0e258568cad5abee63fe603c1157 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Thu, 18 Jul 2019 15:13:12 -0700 Subject: [PATCH 316/495] add network package-2019-06 to Go SDK (#6671) --- specification/network/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/network/resource-manager/readme.go.md b/specification/network/resource-manager/readme.go.md index 2c1c1590ee66..26f5f51627a7 100644 --- a/specification/network/resource-manager/readme.go.md +++ b/specification/network/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-12 @@ -38,6 +39,15 @@ batch: - tag: package-2015-05-preview ``` +### Tag: package-2019-06 and go + +These settings apply only when `--tag=package-2019-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace) +``` + ### Tag: package-2019-04 and go These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. From 3d4ddb29d07d51bc81db9bb6b04e1ed0a51d602f Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Thu, 18 Jul 2019 15:13:37 -0700 Subject: [PATCH 317/495] fix some readme.go.md files (#6669) --- specification/imds/data-plane/readme.go.md | 18 +++++++++++++++++- .../resource-manager/readme.go.md | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/specification/imds/data-plane/readme.go.md b/specification/imds/data-plane/readme.go.md index a805b79cf2ba..db87db66586d 100644 --- a/specification/imds/data-plane/readme.go.md +++ b/specification/imds/data-plane/readme.go.md @@ -5,6 +5,22 @@ These settings apply only when `--go` is specified on the command line. ``` yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storage + namespace: imds clear-output-folder: true ``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-02-01 +``` + +### Tag: package-2019-02-01 and go + +These settings apply only when `--tag=package-2019-02-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag) == 'package-2019-02-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/2019-02-01/$(namespace) +``` diff --git a/specification/managedservices/resource-manager/readme.go.md b/specification/managedservices/resource-manager/readme.go.md index 528ab78e06f5..ccecacca42db 100644 --- a/specification/managedservices/resource-manager/readme.go.md +++ b/specification/managedservices/resource-manager/readme.go.md @@ -9,6 +9,24 @@ go: clear-output-folder: true ``` +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2019-04-preview + - tag: package-2018-06-preview +``` + +### Tag: package-2019-06 and go + +These settings apply only when `--tag=package-2019-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace) +``` + ### Tag: package-2019-04-preview and go These settings apply only when `--tag=package-2019-04-preview --go` is specified on the command line. From e55caaf6d92a0efdb2c1dc268f052d6266bde439 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Thu, 18 Jul 2019 15:14:03 -0700 Subject: [PATCH 318/495] fix some readme.go.md files (#6668) --- .../resource-manager/readme.go.md | 13 ++++++++++--- specification/devops/resource-manager/readme.go.md | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/specification/azureactivedirectory/resource-manager/readme.go.md b/specification/azureactivedirectory/resource-manager/readme.go.md index 31c7d4e105d5..481bfe010359 100644 --- a/specification/azureactivedirectory/resource-manager/readme.go.md +++ b/specification/azureactivedirectory/resource-manager/readme.go.md @@ -5,15 +5,22 @@ These settings apply only when `--go` is specified on the command line. ```yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION + namespace: aad clear-output-folder: true ``` +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04-01 +``` + ### Tag: package-2017-04-01 and go These settings apply only when `--tag=package-2017-04-01 --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. +Please also specify `--go-sdk-folder=`. ```yaml $(tag) == 'package-2017-04-01' && $(go) -namespace: Microsoft.Aadiam -output-folder: $(go-sdks-folder)/azureactivedirectory/Generated +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2017-04-01/$(namespace) ``` diff --git a/specification/devops/resource-manager/readme.go.md b/specification/devops/resource-manager/readme.go.md index 4df0fc2fc176..70edb4ea11ce 100644 --- a/specification/devops/resource-manager/readme.go.md +++ b/specification/devops/resource-manager/readme.go.md @@ -5,15 +5,22 @@ These settings apply only when `--go` is specified on the command line. ```yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION + namespace: devops clear-output-folder: true ``` +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-07-01-preview +``` + ### Tag: package-2019-07-01-preview and go These settings apply only when `--tag=package-2019-07-01-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. +Please also specify `--go-sdk-folder=`. ```yaml $(tag) == 'package-2019-07-01-preview' && $(go) -namespace: devops -output-folder: $(go-sdks-folder)/services/preview/$(namespace)/mgmt/2019-07-01-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-07-01-preview/$(namespace) ``` From 4dbb4b0314b67277c68aea45e7920db3f7823542 Mon Sep 17 00:00:00 2001 From: swetha-anantharajaiah <46726349+swetha-anantharajaiah@users.noreply.github.com> Date: Thu, 18 Jul 2019 18:00:23 -0700 Subject: [PATCH 319/495] Adding specification for 2019-07-01-preview version for Peering. (#6630) * adding specification for 2019-07-01-preview version for Peering. * changing the parameter name * fixing errors * fixing validation errors * updating readme.md to add new version * changing the name in peeringservice --- .../CheckServiceProviderAvailability.json | 15 + .../examples/CreateDirectPeering.json | 170 ++ .../examples/CreateExchangePeering.json | 165 ++ .../examples/CreatePeerAsn.json | 66 + .../examples/CreatePeeringService.json | 43 + .../examples/CreatePeeringServicePrefix.json | 40 + .../examples/DeletePeerAsn.json | 11 + .../examples/DeletePeering.json | 12 + .../examples/DeletePeeringService.json | 12 + .../examples/DeletePeeringServicePrefix.json | 13 + .../examples/GetPeerAsn.json | 30 + .../examples/GetPeering.json | 68 + .../examples/GetPeeringService.json | 23 + .../examples/GetPeeringServicePrefix.json | 23 + .../examples/ListDirectPeeringLocations.json | 78 + .../ListExchangePeeringLocations.json | 73 + .../examples/ListLegacyPeerings.json | 70 + .../examples/ListPeerAsnsBySubscription.json | 33 + .../examples/ListPeeringOperations.json | 183 ++ .../examples/ListPeeringServiceLocations.json | 32 + .../examples/ListPeeringServiceProviders.json | 30 + .../ListPeeringServicesByResourceGroup.json | 26 + .../ListPeeringServicesBySubscription.json | 25 + .../examples/ListPeeringsByResourceGroup.json | 71 + .../examples/ListPeeringsBySubscription.json | 70 + .../ListPrefixesByPeeringService.json | 36 + .../examples/UpdatePeeringServiceTags.json | 33 + .../examples/UpdatePeeringTags.json | 78 + .../preview/2019-07-01-preview/peering.json | 2389 +++++++++++++++++ .../peering/resource-manager/readme.md | 12 + 30 files changed, 3930 insertions(+) create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json create mode 100644 specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json new file mode 100644 index 000000000000..83e9a3a17320 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview", + "checkServiceProviderAvailabilityInput": { + "peeringServiceLocation": "peeringServiceLocation1", + "peeringServiceProvider": "peeringServiceProvider1" + } + }, + "responses": { + "200": { + "body": "Available" + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json new file mode 100644 index 000000000000..13867b350293 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-07-01-preview", + "peering": { + "sku": { + "name": "Basic_Direct_Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Direct_Free", + "tier": "Basic", + "family": "Direct", + "size": "Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 10000, + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + }, + "201": { + "body": { + "sku": { + "name": "Basic_Direct_Free", + "tier": "Basic", + "family": "Direct", + "size": "Free" + }, + "kind": "Direct", + "properties": { + "direct": { + "connections": [ + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 0, + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "sessionPrefixV4": "192.168.0.0/31", + "sessionPrefixV6": "fd00::0/127", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "bandwidthInMbps": 10000, + "provisionedBandwidthInMbps": 0, + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "sessionPrefixV4": "192.168.1.0/31", + "sessionPrefixV6": "fd00::2/127", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "useForPeeringService": false, + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json new file mode 100644 index 000000000000..8f76cff1497e --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-07-01-preview", + "peering": { + "sku": { + "name": "Basic_Exchange_Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "bgpSession": { + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "bgpSession": { + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + }, + "201": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "PendingApproval", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "PendingAdd", + "sessionStateV6": "PendingAdd", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json new file mode 100644 index 000000000000..5d5ab8374223 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-07-01-preview", + "peerAsn": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Pending" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + }, + "201": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Pending" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json new file mode 100644 index 000000000000..84238b377f50 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "api-version": "2019-07-01-preview", + "peeringService": { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + }, + "201": { + "body": { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json new file mode 100644 index 000000000000..f25867828d84 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "prefixName": "peeringServicePrefixName", + "api-version": "2019-07-01-preview", + "peeringServicePrefix": { + "properties": { + "prefix": "192.168.1.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "prefix": "192.168.1.0/24", + "prefixValidationState": "Pending", + "learnedType": "None", + "provisioningState": "Succeeded" + }, + "name": "peeringServicePrefixName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName" + } + }, + "201": { + "body": { + "properties": { + "prefix": "192.168.1.0/24", + "prefixValidationState": "Pending", + "learnedType": "None", + "provisioningState": "Succeeded" + }, + "name": "peeringServicePrefixName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json new file mode 100644 index 000000000000..418281804616 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json new file mode 100644 index 000000000000..b3a13106667f --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json new file mode 100644 index 000000000000..ed3454c93f13 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json new file mode 100644 index 000000000000..149607f6f0ec --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "prefixName": "peeringServicePrefixName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json new file mode 100644 index 000000000000..64732ec153bc --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subId", + "peerAsnName": "peerAsnName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Approved" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json new file mode 100644 index 000000000000..c27d71aa204a --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json new file mode 100644 index 000000000000..9226d2a9d744 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json new file mode 100644 index 000000000000..fe020aa716af --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "prefixName": "peeringServicePrefixName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "prefix": "192.168.1.0/24", + "prefixValidationState": "Verified", + "learnedType": "None", + "provisioningState": "Succeeded" + }, + "name": "peeringServicePrefixName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json new file mode 100644 index 000000000000..de13c03542b0 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Direct", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Direct", + "properties": { + "direct": { + "peeringFacilities": [ + { + "address": "address1", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + }, + { + "address": "address3", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + } + ], + "bandwidthOffers": [ + { + "offerName": "10Gbps", + "valueInMbps": 10000 + }, + { + "offerName": "100Gbps", + "valueInMbps": 100000 + } + ] + }, + "peeringLocation": "peeringLocation1", + "country": "country1" + }, + "name": "peeringLocation1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1", + "type": "Microsoft.Peering/peeringLocations" + }, + { + "kind": "Direct", + "properties": { + "direct": { + "peeringFacilities": [ + { + "address": "address2", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/fac/99999" + } + ], + "bandwidthOffers": [ + { + "offerName": "10Gbps", + "valueInMbps": 10000 + }, + { + "offerName": "100Gbps", + "valueInMbps": 100000 + } + ] + }, + "peeringLocation": "peeringLocation2", + "country": "country2" + }, + "name": "peeringLocation2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2", + "type": "Microsoft.Peering/peeringLocations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json new file mode 100644 index 000000000000..209675d2510b --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Exchange", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "Exchange", + "properties": { + "exchange": { + "peeringFacilities": [ + { + "exchangeName": "name1", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.131.1", + "microsoftIPv6Address": "fd00::1:1", + "facilityIPv4Prefix": "192.168.128.0/17", + "facilityIPv6Prefix": "fd00::1000:0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + }, + { + "exchangeName": "name3", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.2.2", + "microsoftIPv6Address": "fd00::2", + "facilityIPv4Prefix": "192.168.0.0/17", + "facilityIPv6Prefix": "fd00::0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + } + ] + }, + "peeringLocation": "peeringLocation1", + "country": "country1" + }, + "name": "peeringLocation1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1", + "type": "Microsoft.Peering/peeringLocations" + }, + { + "kind": "Exchange", + "properties": { + "exchange": { + "peeringFacilities": [ + { + "exchangeName": "name2", + "bandwidthInMbps": 10000, + "microsoftIPv4Address": "192.168.2.1", + "microsoftIPv6Address": "fd00::2", + "facilityIPv4Prefix": "192.168.0.0/16", + "facilityIPv6Prefix": "fd00::0/98", + "peeringDBFacilityId": 99999, + "peeringDBFacilityLink": "https://www.peeringdb.com/ix/99999" + } + ] + }, + "peeringLocation": "peeringLocation2", + "country": "country2" + }, + "name": "peeringLocation2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2", + "type": "Microsoft.Peering/peeringLocations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json new file mode 100644 index 000000000000..2c3fca130ab5 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subId", + "kind": "Exchange", + "peeringLocation": "peeringLocation0", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + } + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + } + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "centralus", + "name": "peeringName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json new file mode 100644 index 000000000000..2cc778edf355 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "peerAsn": 65000, + "peerContactInfo": { + "emails": [ + "abc@contoso.com", + "xyz@contoso.com" + ], + "phone": [ + "+1 (234) 567-8900" + ] + }, + "peerName": "Contoso", + "validationState": "Approved" + }, + "name": "peerAsnName", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName", + "type": "Microsoft.Peering/peerAsns" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json new file mode 100644 index 000000000000..8b337d47a505 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json @@ -0,0 +1,183 @@ +{ + "parameters": { + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Peering/register/action", + "display": { + "provider": "Microsoft.Peering", + "resource": "Peering Resource Provider", + "operation": "Registers the Peering Resource Provider", + "description": "Registers the subscription for the Peering Resource Provider and enables the creation of peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Write PeerAsn", + "description": "Write any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Read PeerAsn", + "description": "Read any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerAsns/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerAsns", + "operation": "Delete PeerAsn", + "description": "Delete any peerAsns" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringLocations/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringLocations", + "operation": "Read PeeringLocation", + "description": "Read any peeringLocations" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/legacyPeerings/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "legacyPeerings", + "operation": "Read LegacyPeering", + "description": "Read any legacyPeerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Write Peering", + "description": "Write any peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Read Peering", + "description": "Read any peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peerings/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "peerings", + "operation": "Delete Peering", + "description": "Delete any peerings" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServiceLocations/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringServiceLocations", + "operation": "Read PeeringServiceLocations", + "description": "Read any peeringServiceLocations" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServiceProviders/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringServiceProviders", + "operation": "Read PeeringServiceProviders", + "description": "Read any peeringServiceProviders" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringServices", + "operation": "Read PeeringServices", + "description": "Read any peeringServices" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringServices", + "operation": "Write PeeringService", + "description": "Write any peeringServices" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "peeringServices", + "operation": "Delete PeeringServices", + "description": "Delete any peeringServices" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/prefixes/read", + "display": { + "provider": "Microsoft.Peering", + "resource": "prefixes", + "operation": "Read PeeringServicePrefixes", + "description": "Read any prefixes" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/prefixes/write", + "display": { + "provider": "Microsoft.Peering", + "resource": "prefixes", + "operation": "Write PeeringServicePrefixes", + "description": "Write any prefixes" + }, + "isDataAction": false + }, + { + "name": "Microsoft.Peering/peeringServices/prefixes/delete", + "display": { + "provider": "Microsoft.Peering", + "resource": "prefixes", + "operation": "Delete PeeringServicePrefixes", + "description": "Delete any prefixes" + }, + "isDataAction": false + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json new file mode 100644 index 000000000000..d2dd8ca59042 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "country": "country1", + "state": "state1" + }, + "name": "peeringServiceLocation1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringServiceLocations/peeringServiceLocation1", + "type": "Microsoft.Peering/peeringServiceLocations" + }, + { + "properties": { + "country": "country2", + "state": "state2" + }, + "name": "peeringServiceLocation2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringServiceLocations/peeringServiceLocation2", + "type": "Microsoft.Peering/peeringServiceLocations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json new file mode 100644 index 000000000000..13a5ce38b72f --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "serviceProviderName": "peeringServiceProvider1" + }, + "name": "peeringServiceProvider1", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringServiceProviders/peeringServiceProvider1", + "type": "Microsoft.Peering/peeringServiceProviders" + }, + { + "properties": { + "serviceProviderName": "peeringServiceProvider2" + }, + "name": "peeringServiceProvider2", + "id": "/subscriptions/subId/providers/Microsoft.Peering/peeringServiceProviders/peeringServiceProvider2", + "type": "Microsoft.Peering/peeringServiceProviders" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json new file mode 100644 index 000000000000..d0a4665c0753 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json new file mode 100644 index 000000000000..04ea94005aca --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json new file mode 100644 index 000000000000..9bfc994d064d --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json new file mode 100644 index 000000000000..062bac525fb5 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subId", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json new file mode 100644 index 000000000000..c7688916529d --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "api-version": "2019-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "prefix": "192.168.1.0/24", + "prefixValidationState": "Verified", + "learnedType": "None", + "provisioningState": "Succeeded" + }, + "name": "peeringServicePrefixName1", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName1" + }, + { + "properties": { + "prefix": "192.168.2.0/24", + "prefixValidationState": "Verified", + "learnedType": "None", + "provisioningState": "Succeeded" + }, + "name": "peeringServicePrefixName2", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName2" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json new file mode 100644 index 000000000000..67dff3b128c3 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringServiceName": "peeringServiceName", + "api-version": "2019-07-01-preview", + "tags": { + "tags": { + "tag0": "value0", + "tag1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "peeringServiceLocation": "state1", + "peeringServiceProvider": "serviceProvider1", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "tags": { + "tag0": "value0", + "tag1": "value1" + }, + "name": "peeringServiceName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName", + "type": "Microsoft.Peering/peeringServices" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json new file mode 100644 index 000000000000..1891a9ba8bf4 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "subId", + "resourceGroupName": "rgName", + "peeringName": "peeringName", + "api-version": "2019-07-01-preview", + "tags": { + "tags": { + "tag0": "value0", + "tag1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Basic_Exchange_Free", + "tier": "Basic", + "family": "Exchange", + "size": "Free" + }, + "kind": "Exchange", + "properties": { + "exchange": { + "connections": [ + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.1", + "microsoftSessionIPv6Address": "fd00::1:1", + "peerSessionIPv4Address": "192.168.2.1", + "peerSessionIPv6Address": "fd00::1", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + }, + { + "peeringDBFacilityId": 99999, + "connectionState": "Active", + "bgpSession": { + "microsoftSessionIPv4Address": "192.168.3.2", + "microsoftSessionIPv6Address": "fd00::1:2", + "peerSessionIPv4Address": "192.168.2.2", + "peerSessionIPv6Address": "fd00::2", + "sessionStateV4": "Established", + "sessionStateV6": "Established", + "maxPrefixesAdvertisedV4": 1000, + "maxPrefixesAdvertisedV6": 100, + "md5AuthenticationKey": "test-md5-auth-key" + }, + "connectionIdentifier": "00000000-0000-0000-0000-000000000000" + } + ], + "peerAsn": { + "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" + } + }, + "peeringLocation": "peeringLocation0", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "tags": { + "tag0": "value0", + "tag1": "value1" + }, + "name": "peeringName", + "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", + "type": "Microsoft.Peering/peerings" + } + } + } +} \ No newline at end of file diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json new file mode 100644 index 000000000000..35f2a4d68f35 --- /dev/null +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json @@ -0,0 +1,2389 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-07-01-preview", + "title": "PeeringManagementClient", + "description": "APIs to manage Peering resources through the Azure Resource Manager." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/CheckServiceProviderAvailability": { + "post": { + "tags": [ + "CheckServiceProviderAvailability" + ], + "description": "Checks if the peering service provider is present within 1000 distance of customer's location", + "operationId": "CheckServiceProviderAvailability", + "parameters": [ + { + "name": "checkServiceProviderAvailabilityInput", + "in": "body", + "description": "The CheckServiceProviderAvailabilityInput.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckServiceProviderAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "enum": [ + "Available", + "UnAvailable" + ], + "type": "string" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Check if peering service provider is available in customer location": { + "$ref": "./examples/CheckServiceProviderAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/legacyPeerings": { + "get": { + "tags": [ + "LegacyPeerings" + ], + "description": "Lists all of the legacy peerings under the given subscription matching the specified kind and location.", + "operationId": "LegacyPeerings_List", + "parameters": [ + { + "name": "peeringLocation", + "in": "query", + "description": "The location of the peering.", + "required": true, + "type": "string" + }, + { + "name": "kind", + "in": "query", + "description": "The kind of the peering.", + "required": true, + "type": "string", + "enum": [ + "Direct", + "Exchange" + ] + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List legacy peerings": { + "$ref": "./examples/ListLegacyPeerings.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Peering/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available API operations for peering resources.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering operations": { + "$ref": "./examples/ListPeeringOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}": { + "get": { + "tags": [ + "PeerAsns" + ], + "description": "Gets the peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_Get", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a peer ASN": { + "$ref": "./examples/GetPeerAsn.json" + } + } + }, + "put": { + "tags": [ + "PeerAsns" + ], + "description": "Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_CreateOrUpdate", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "name": "peerAsn", + "in": "body", + "description": "The peer ASN.", + "required": true, + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PeerAsn" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a peer ASN": { + "$ref": "./examples/CreatePeerAsn.json" + } + } + }, + "delete": { + "tags": [ + "PeerAsns" + ], + "description": "Deletes an existing peer ASN with the specified name under the given subscription.", + "operationId": "PeerAsns_Delete", + "parameters": [ + { + "name": "peerAsnName", + "in": "path", + "description": "The peer ASN name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a peer ASN": { + "$ref": "./examples/DeletePeerAsn.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns": { + "get": { + "tags": [ + "PeerAsns" + ], + "description": "Lists all of the peer ASNs under the given subscription.", + "operationId": "PeerAsns_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeerAsnListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peer ASNs in a subscription": { + "$ref": "./examples/ListPeerAsnsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations": { + "get": { + "tags": [ + "PeeringLocations" + ], + "description": "Lists all of the available peering locations for the specified kind of peering.", + "operationId": "PeeringLocations_List", + "parameters": [ + { + "name": "kind", + "in": "query", + "description": "The kind of the peering.", + "required": true, + "type": "string", + "enum": [ + "Direct", + "Exchange" + ] + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringLocationListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List direct peering locations": { + "$ref": "./examples/ListDirectPeeringLocations.json" + }, + "List exchange peering locations": { + "$ref": "./examples/ListExchangePeeringLocations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Gets an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Get", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a peering": { + "$ref": "./examples/GetPeering.json" + } + } + }, + "put": { + "tags": [ + "Peerings" + ], + "description": "Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_CreateOrUpdate", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "peering", + "in": "body", + "description": "The properties needed to create or update a peering.", + "required": true, + "schema": { + "$ref": "#/definitions/Peering" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a direct peering": { + "$ref": "./examples/CreateDirectPeering.json" + }, + "Create an exchange peering": { + "$ref": "./examples/CreateExchangePeering.json" + } + } + }, + "delete": { + "tags": [ + "Peerings" + ], + "description": "Deletes an existing peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Delete", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a peering": { + "$ref": "./examples/DeletePeering.json" + } + } + }, + "patch": { + "tags": [ + "Peerings" + ], + "description": "Updates tags for a peering with the specified name under the given subscription and resource group.", + "operationId": "Peerings_Update", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "tags", + "in": "body", + "description": "The resource tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceTags" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Peering" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update peering tags": { + "$ref": "./examples/UpdatePeeringTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Lists all of the peerings under the given subscription and resource group.", + "operationId": "Peerings_ListByResourceGroup", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peerings in a resource group": { + "$ref": "./examples/ListPeeringsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerings": { + "get": { + "tags": [ + "Peerings" + ], + "description": "Lists all of the peerings under the given subscription.", + "operationId": "Peerings_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peerings in a subscription": { + "$ref": "./examples/ListPeeringsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations": { + "get": { + "tags": [ + "PeeringServiceLocations" + ], + "description": "Lists all of the available peering service locations for the specified kind of peering.", + "operationId": "PeeringServiceLocations_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServiceLocationListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering service locations": { + "$ref": "./examples/ListPeeringServiceLocations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes/{prefixName}": { + "get": { + "tags": [ + "PeeringServicePrefixes" + ], + "description": "Gets the peering service prefix.", + "operationId": "PeeringServicePrefixes_Get", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The resource group name.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The peering service name.", + "required": true, + "type": "string" + }, + { + "name": "prefixName", + "in": "path", + "description": "The prefix name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServicePrefix" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a prefix associated with the peering service": { + "$ref": "./examples/GetPeeringServicePrefix.json" + } + } + }, + "put": { + "tags": [ + "PeeringServicePrefixes" + ], + "description": "Creates or updates the peering prefix.", + "operationId": "PeeringServicePrefixes_CreateOrUpdate", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The resource group name.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The peering service name.", + "required": true, + "type": "string" + }, + { + "name": "prefixName", + "in": "path", + "description": "The prefix name", + "required": true, + "type": "string" + }, + { + "name": "peeringServicePrefix", + "in": "body", + "description": "The IP prefix for an peering", + "required": true, + "schema": { + "$ref": "#/definitions/PeeringServicePrefix" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServicePrefix" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PeeringServicePrefix" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a prefix for the peering service": { + "$ref": "./examples/CreatePeeringServicePrefix.json" + } + } + }, + "delete": { + "tags": [ + "PeeringServicePrefixes" + ], + "description": "removes the peering prefix.", + "operationId": "PeeringServicePrefixes_Delete", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The resource group name.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The peering service name.", + "required": true, + "type": "string" + }, + { + "name": "prefixName", + "in": "path", + "description": "The prefix name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a prefix associated with the peering service": { + "$ref": "./examples/DeletePeeringServicePrefix.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes": { + "get": { + "tags": [ + "PeeringServicePrefixes" + ], + "description": "Lists the peerings prefix in the resource group.", + "operationId": "Prefixes_ListByPeeringService", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The resource group name.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The peering service name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServicePrefixListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all the prefixes associated with the peering service": { + "$ref": "./examples/ListPrefixesByPeeringService.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders": { + "get": { + "tags": [ + "PeeringServiceProviders" + ], + "description": "Lists all of the available peering service locations for the specified kind of peering.", + "operationId": "PeeringServiceProviders_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServiceProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering service providers": { + "$ref": "./examples/ListPeeringServiceProviders.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}": { + "get": { + "tags": [ + "PeeringServices" + ], + "description": "Gets an existing peering service with the specified name under the given subscription and resource group.", + "operationId": "PeeringServices_Get", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringService" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a peering service": { + "$ref": "./examples/GetPeeringService.json" + } + } + }, + "put": { + "tags": [ + "PeeringServices" + ], + "description": "Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group.", + "operationId": "PeeringServices_CreateOrUpdate", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The name of the peering service.", + "required": true, + "type": "string" + }, + { + "name": "peeringService", + "in": "body", + "description": "The properties needed to create or update a peering service.", + "required": true, + "schema": { + "$ref": "#/definitions/PeeringService" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PeeringService" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a peering service": { + "$ref": "./examples/CreatePeeringService.json" + } + } + }, + "delete": { + "tags": [ + "PeeringServices" + ], + "description": "Deletes an existing peering service with the specified name under the given subscription and resource group.", + "operationId": "PeeringServices_Delete", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The name of the peering service.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a peering service": { + "$ref": "./examples/DeletePeeringService.json" + } + } + }, + "patch": { + "tags": [ + "PeeringServices" + ], + "description": "Updates tags for a peering service with the specified name under the given subscription and resource group.", + "operationId": "PeeringServices_Update", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "name": "peeringServiceName", + "in": "path", + "description": "The name of the peering service.", + "required": true, + "type": "string" + }, + { + "name": "tags", + "in": "body", + "description": "The resource tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceTags" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringService" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update peering service tags": { + "$ref": "./examples/UpdatePeeringServiceTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices": { + "get": { + "tags": [ + "PeeringServices" + ], + "description": "Lists all of the peering services under the given subscription and resource group.", + "operationId": "PeeringServices_ListByResourceGroup", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering services in a resource group": { + "$ref": "./examples/ListPeeringServicesByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServices": { + "get": { + "tags": [ + "PeeringServices" + ], + "description": "Lists all of the peerings under the given subscription.", + "operationId": "PeeringServices_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PeeringServiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation has failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List peering services in a subscription": { + "$ref": "./examples/ListPeeringServicesBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "CheckServiceProviderAvailabilityInput": { + "description": "Class for CheckServiceProviderAvailabilityInput", + "type": "object", + "properties": { + "peeringServiceLocation": { + "description": "Gets or sets the PeeringServiceLocation", + "type": "string" + }, + "peeringServiceProvider": { + "description": "Gets or sets the PeeringServiceProvider", + "type": "string" + } + } + }, + "PeeringListResult": { + "description": "The paginated list of peerings.", + "type": "object", + "properties": { + "value": { + "description": "The list of peerings.", + "type": "array", + "items": { + "$ref": "#/definitions/Peering" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peerings.", + "type": "string" + } + } + }, + "Peering": { + "description": "Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.", + "required": [ + "sku", + "kind", + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "sku": { + "$ref": "#/definitions/PeeringSku", + "description": "The SKU that defines the tier and kind of the peering." + }, + "kind": { + "description": "The kind of the peering.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + }, + "properties": { + "$ref": "#/definitions/PeeringProperties", + "description": "The properties that define a peering.", + "x-ms-client-flatten": true + }, + "location": { + "description": "The location of the resource.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PeeringSku": { + "description": "The SKU that defines the tier and kind of the peering.", + "type": "object", + "properties": { + "name": { + "description": "The name of the peering SKU.", + "enum": [ + "Basic_Exchange_Free", + "Basic_Direct_Free", + "Premium_Direct_Free", + "Premium_Exchange_Metered" + ], + "type": "string", + "x-ms-enum": { + "name": "name", + "modelAsString": true + } + }, + "tier": { + "description": "The tier of the peering SKU.", + "enum": [ + "Basic", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "tier", + "modelAsString": true + } + }, + "family": { + "description": "The family of the peering SKU.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "family", + "modelAsString": true + } + }, + "size": { + "description": "The size of the peering SKU.", + "enum": [ + "Free", + "Metered", + "Unlimited" + ], + "type": "string", + "x-ms-enum": { + "name": "size", + "modelAsString": true + } + } + } + }, + "PeeringProperties": { + "description": "The properties that define connectivity to the Microsoft Cloud Edge.", + "type": "object", + "properties": { + "direct": { + "$ref": "#/definitions/PeeringPropertiesDirect", + "description": "The properties that define a direct peering." + }, + "exchange": { + "$ref": "#/definitions/PeeringPropertiesExchange", + "description": "The properties that define an exchange peering." + }, + "peeringLocation": { + "description": "The location of the peering.", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + } + } + }, + "PeeringPropertiesDirect": { + "description": "The properties that define a direct peering.", + "type": "object", + "properties": { + "connections": { + "description": "The set of connections that constitute a direct peering.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectConnection" + } + }, + "useForPeeringService": { + "description": "The flag that indicates whether or not the peering is used for peering service.", + "type": "boolean" + }, + "peerAsn": { + "$ref": "#/definitions/SubResource", + "description": "The reference of the peer ASN." + } + } + }, + "PeeringPropertiesExchange": { + "description": "The properties that define an exchange peering.", + "type": "object", + "properties": { + "connections": { + "description": "The set of connections that constitute an exchange peering.", + "type": "array", + "items": { + "$ref": "#/definitions/ExchangeConnection" + } + }, + "peerAsn": { + "$ref": "#/definitions/SubResource", + "description": "The reference of the peer ASN." + } + } + }, + "DirectConnection": { + "description": "The properties that define a direct connection.", + "type": "object", + "properties": { + "bandwidthInMbps": { + "format": "int32", + "description": "The bandwidth of the connection.", + "type": "integer" + }, + "provisionedBandwidthInMbps": { + "format": "int32", + "description": "The bandwidth that is actually provisioned.", + "type": "integer" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility at which the connection has to be set up.", + "type": "integer" + }, + "connectionState": { + "description": "The state of the connection.", + "enum": [ + "None", + "PendingApproval", + "Approved", + "ProvisioningStarted", + "ProvisioningFailed", + "ProvisioningCompleted", + "Validating", + "Active" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "connectionState", + "modelAsString": true + } + }, + "bgpSession": { + "$ref": "#/definitions/BgpSession", + "description": "The BGP session associated with the connection." + }, + "connectionIdentifier": { + "description": "The unique identifier (GUID) for the connection.", + "type": "string" + } + } + }, + "ErrorResponse": { + "description": "The error response that indicates why an operation has failed.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + } + } + }, + "Resource": { + "description": "The ARM resource class.", + "type": "object", + "properties": { + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The ID of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "SubResource": { + "description": "The sub resource.", + "type": "object", + "properties": { + "id": { + "description": "The identifier of the referenced resource.", + "type": "string" + } + } + }, + "ExchangeConnection": { + "description": "The properties that define an exchange connection.", + "type": "object", + "properties": { + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility at which the connection has to be set up.", + "type": "integer" + }, + "connectionState": { + "description": "The state of the connection.", + "enum": [ + "None", + "PendingApproval", + "Approved", + "ProvisioningStarted", + "ProvisioningFailed", + "ProvisioningCompleted", + "Validating", + "Active" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "connectionState", + "modelAsString": true + } + }, + "bgpSession": { + "$ref": "#/definitions/BgpSession", + "description": "The BGP session associated with the connection." + }, + "connectionIdentifier": { + "description": "The unique identifier (GUID) for the connection.", + "type": "string" + } + } + }, + "BgpSession": { + "description": "The properties that define a BGP session.", + "type": "object", + "properties": { + "sessionPrefixV4": { + "description": "The IPv4 prefix that contains both ends' IPv4 addresses.", + "type": "string" + }, + "sessionPrefixV6": { + "description": "The IPv6 prefix that contains both ends' IPv6 addresses.", + "type": "string" + }, + "microsoftSessionIPv4Address": { + "description": "The IPv4 session address on Microsoft's end.", + "type": "string", + "readOnly": true + }, + "microsoftSessionIPv6Address": { + "description": "The IPv6 session address on Microsoft's end.", + "type": "string", + "readOnly": true + }, + "peerSessionIPv4Address": { + "description": "The IPv4 session address on peer's end.", + "type": "string" + }, + "peerSessionIPv6Address": { + "description": "The IPv6 session address on peer's end.", + "type": "string" + }, + "sessionStateV4": { + "description": "The state of the IPv4 session.", + "enum": [ + "None", + "Idle", + "Connect", + "Active", + "OpenSent", + "OpenConfirm", + "OpenReceived", + "Established", + "PendingAdd", + "PendingUpdate", + "PendingRemove" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "sessionStateV4", + "modelAsString": true + } + }, + "sessionStateV6": { + "description": "The state of the IPv6 session.", + "enum": [ + "None", + "Idle", + "Connect", + "Active", + "OpenSent", + "OpenConfirm", + "OpenReceived", + "Established", + "PendingAdd", + "PendingUpdate", + "PendingRemove" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "sessionStateV6", + "modelAsString": true + } + }, + "maxPrefixesAdvertisedV4": { + "format": "int32", + "description": "The maximum number of prefixes advertised over the IPv4 session.", + "type": "integer" + }, + "maxPrefixesAdvertisedV6": { + "format": "int32", + "description": "The maximum number of prefixes advertised over the IPv6 session.", + "type": "integer" + }, + "md5AuthenticationKey": { + "description": "The MD5 authentication key of the session.", + "type": "string" + } + } + }, + "OperationListResult": { + "description": "The paginated list of peering API operations.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering API operations.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering API operations.", + "type": "string" + } + } + }, + "Operation": { + "description": "The peering API operation.", + "type": "object", + "properties": { + "name": { + "description": "The name of the operation.", + "type": "string", + "readOnly": true + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The information related to the operation.", + "readOnly": true + }, + "isDataAction": { + "description": "The flag that indicates whether the operation applies to data plane.", + "type": "boolean", + "readOnly": true + } + } + }, + "OperationDisplayInfo": { + "description": "The information related to the operation.", + "type": "object", + "properties": { + "provider": { + "description": "The name of the resource provider.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The name of the operation.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of the operation.", + "type": "string", + "readOnly": true + } + } + }, + "PeerAsn": { + "description": "The essential information related to the peer's ASN.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeerAsnProperties", + "description": "The properties that define a peer's ASN.", + "x-ms-client-flatten": true + } + } + }, + "PeerAsnProperties": { + "description": "The properties that define a peer's ASN.", + "type": "object", + "properties": { + "peerAsn": { + "format": "int32", + "description": "The Autonomous System Number (ASN) of the peer.", + "type": "integer" + }, + "peerContactInfo": { + "$ref": "#/definitions/ContactInfo", + "description": "The contact information of the peer." + }, + "peerName": { + "description": "The name of the peer.", + "type": "string" + }, + "validationState": { + "description": "The validation state of the ASN associated with the peer.", + "enum": [ + "None", + "Pending", + "Approved", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "validationState", + "modelAsString": true + } + } + } + }, + "ContactInfo": { + "description": "The contact information of the peer.", + "type": "object", + "properties": { + "emails": { + "description": "The list of email addresses.", + "type": "array", + "items": { + "type": "string" + } + }, + "phone": { + "description": "The list of contact numbers.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PeerAsnListResult": { + "description": "The paginated list of peer ASNs.", + "type": "object", + "properties": { + "value": { + "description": "The list of peer ASNs.", + "type": "array", + "items": { + "$ref": "#/definitions/PeerAsn" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peer ASNs.", + "type": "string" + } + } + }, + "PeeringLocationListResult": { + "description": "The paginated list of peering locations.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering locations.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringLocation" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering locations.", + "type": "string" + } + } + }, + "PeeringLocation": { + "description": "Peering location is where connectivity could be established to the Microsoft Cloud Edge.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "kind": { + "description": "The kind of peering that the peering location supports.", + "enum": [ + "Direct", + "Exchange" + ], + "type": "string", + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + }, + "properties": { + "$ref": "#/definitions/PeeringLocationProperties", + "description": "The properties that define a peering location.", + "x-ms-client-flatten": true + } + } + }, + "PeeringLocationProperties": { + "description": "The properties that define a peering location.", + "type": "object", + "properties": { + "direct": { + "$ref": "#/definitions/PeeringLocationPropertiesDirect", + "description": "The properties that define a direct peering location." + }, + "exchange": { + "$ref": "#/definitions/PeeringLocationPropertiesExchange", + "description": "The properties that define an exchange peering location." + }, + "peeringLocation": { + "description": "The name of the peering location.", + "type": "string" + }, + "country": { + "description": "The country in which the peering location exists.", + "type": "string" + }, + "azureRegion": { + "description": "The Azure region associated with the peering location.", + "type": "string" + } + } + }, + "PeeringLocationPropertiesDirect": { + "description": "The properties that define a direct peering location.", + "type": "object", + "properties": { + "peeringFacilities": { + "description": "The list of direct peering facilities at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectPeeringFacility" + } + }, + "bandwidthOffers": { + "description": "The list of bandwidth offers available at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringBandwidthOffer" + } + } + } + }, + "PeeringLocationPropertiesExchange": { + "description": "The properties that define an exchange peering location.", + "type": "object", + "properties": { + "peeringFacilities": { + "description": "The list of exchange peering facilities at the peering location.", + "type": "array", + "items": { + "$ref": "#/definitions/ExchangePeeringFacility" + } + } + } + }, + "DirectPeeringFacility": { + "description": "The properties that define a direct peering facility.", + "type": "object", + "properties": { + "address": { + "description": "The address of the direct peering facility.", + "type": "string" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility.", + "type": "integer" + }, + "peeringDBFacilityLink": { + "description": "The PeeringDB.com URL of the facility.", + "type": "string" + } + } + }, + "PeeringBandwidthOffer": { + "description": "The properties that define a peering bandwidth offer.", + "type": "object", + "properties": { + "offerName": { + "description": "The name of the bandwidth offer.", + "type": "string" + }, + "valueInMbps": { + "format": "int32", + "description": "The value of the bandwidth offer in Mbps.", + "type": "integer" + } + } + }, + "ExchangePeeringFacility": { + "description": "The properties that define an exchange peering facility.", + "type": "object", + "properties": { + "exchangeName": { + "description": "The name of the exchange peering facility.", + "type": "string" + }, + "bandwidthInMbps": { + "format": "int32", + "description": "The bandwidth of the connection between Microsoft and the exchange peering facility.", + "type": "integer" + }, + "microsoftIPv4Address": { + "description": "The IPv4 address of Microsoft at the exchange peering facility.", + "type": "string" + }, + "microsoftIPv6Address": { + "description": "The IPv6 address of Microsoft at the exchange peering facility.", + "type": "string" + }, + "facilityIPv4Prefix": { + "description": "The IPv4 prefixes associated with the exchange peering facility.", + "type": "string" + }, + "facilityIPv6Prefix": { + "description": "The IPv6 prefixes associated with the exchange peering facility.", + "type": "string" + }, + "peeringDBFacilityId": { + "format": "int32", + "description": "The PeeringDB.com ID of the facility.", + "type": "integer" + }, + "peeringDBFacilityLink": { + "description": "The PeeringDB.com URL of the facility.", + "type": "string" + } + } + }, + "ResourceTags": { + "description": "The resource tags.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the tags, a dictionary of descriptors arm object", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PeeringServiceLocationListResult": { + "description": "The paginated list of peering service locations.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering service locations.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringServiceLocation" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering service locations.", + "type": "string" + } + } + }, + "PeeringServiceLocation": { + "description": "PeeringService location", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeeringServiceLocationProperties", + "description": "The properties that define a peering service location.", + "x-ms-client-flatten": true + } + } + }, + "PeeringServiceLocationProperties": { + "description": "The properties that define connectivity to the Peering Service Location.", + "type": "object", + "properties": { + "country": { + "description": "Country of the customer", + "type": "string" + }, + "state": { + "description": "State of the customer", + "type": "string" + }, + "azureRegion": { + "description": "Azure region for the location", + "type": "string" + } + } + }, + "PeeringServicePrefix": { + "description": "The peering service prefix class.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeeringServicePrefixProperties", + "description": "Gets or sets the peering prefix properties.", + "x-ms-client-flatten": true + } + } + }, + "PeeringServicePrefixProperties": { + "description": "The peering service prefix properties class.", + "type": "object", + "properties": { + "prefix": { + "description": "Valid route prefix", + "type": "string" + }, + "prefixValidationState": { + "description": "The prefix validation state", + "enum": [ + "None", + "Invalid", + "Verified", + "Failed", + "Pending", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "prefixValidationState", + "modelAsString": true + } + }, + "learnedType": { + "description": "The prefix learned type", + "enum": [ + "None", + "ViaPartner", + "ViaSession" + ], + "type": "string", + "x-ms-enum": { + "name": "learnedType", + "modelAsString": true + } + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + } + } + }, + "PeeringServicePrefixListResult": { + "description": "The paginated list of [T].", + "type": "object", + "properties": { + "value": { + "description": "The list of [T].", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringServicePrefix" + } + }, + "nextLink": { + "description": "The link to fetch the next page of [T].", + "type": "string" + } + } + }, + "PeeringServiceProviderListResult": { + "description": "The paginated list of peering service providers.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering service providers.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringServiceProvider" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering service providers.", + "type": "string" + } + } + }, + "PeeringServiceProvider": { + "description": "PeeringService provider", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeeringServiceProviderProperties", + "description": "The properties that define a peering service provider.", + "x-ms-client-flatten": true + } + } + }, + "PeeringServiceProviderProperties": { + "description": "The properties that define connectivity to the Peering Service Provider.", + "type": "object", + "properties": { + "serviceProviderName": { + "description": "The name of the service provider.", + "type": "string" + } + } + }, + "PeeringService": { + "description": "Peering Service", + "required": [ + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PeeringServiceProperties", + "description": "The properties that define a peering service.", + "x-ms-client-flatten": true + }, + "location": { + "description": "The location of the resource.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PeeringServiceProperties": { + "description": "The properties that define connectivity to the Peering Service.", + "type": "object", + "properties": { + "peeringServiceLocation": { + "description": "The PeeringServiceLocation of the Customer.", + "type": "string" + }, + "peeringServiceProvider": { + "description": "The MAPS Provider Name.", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning state of the resource.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + } + } + }, + "PeeringServiceListResult": { + "description": "The paginated list of peering services.", + "type": "object", + "properties": { + "value": { + "description": "The list of peering services.", + "type": "array", + "items": { + "$ref": "#/definitions/PeeringService" + } + }, + "nextLink": { + "description": "The link to fetch the next page of peering services.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The Azure subscription ID.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The client API version.", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/peering/resource-manager/readme.md b/specification/peering/resource-manager/readme.md index a3f75c794973..241c240c7bac 100644 --- a/specification/peering/resource-manager/readme.md +++ b/specification/peering/resource-manager/readme.md @@ -31,6 +31,11 @@ or openapi-type: arm tag: package-2019-06-01-preview ``` +or +``` yaml +openapi-type: arm +tag: package-2019-07-01-preview +``` ### Tag: package-2019-03-01-preview @@ -49,7 +54,14 @@ These settings apply only when `--tag=package-2019-06-01-preview` is specified o input-file: - Microsoft.Peering/preview/2019-06-01-preview/peering.json ``` +### Tag: package-2019-07-01-preview +These settings apply only when `--tag=package-2019-07-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-07-01-preview' +input-file: +- Microsoft.Peering/preview/2019-07-01-preview/peering.json +``` # Code Generation ## Swagger to SDK From 254cb20cccd0efbe7a526834eb58be6a7d225e42 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 19 Jul 2019 01:40:07 -0400 Subject: [PATCH 320/495] chore: jsonfmt peering (#6678) --- .../examples/CheckServiceProviderAvailability.json | 2 +- .../2019-07-01-preview/examples/CreateDirectPeering.json | 2 +- .../2019-07-01-preview/examples/CreateExchangePeering.json | 2 +- .../preview/2019-07-01-preview/examples/CreatePeerAsn.json | 2 +- .../2019-07-01-preview/examples/CreatePeeringService.json | 2 +- .../2019-07-01-preview/examples/CreatePeeringServicePrefix.json | 2 +- .../preview/2019-07-01-preview/examples/DeletePeerAsn.json | 2 +- .../preview/2019-07-01-preview/examples/DeletePeering.json | 2 +- .../2019-07-01-preview/examples/DeletePeeringService.json | 2 +- .../2019-07-01-preview/examples/DeletePeeringServicePrefix.json | 2 +- .../preview/2019-07-01-preview/examples/GetPeerAsn.json | 2 +- .../preview/2019-07-01-preview/examples/GetPeering.json | 2 +- .../preview/2019-07-01-preview/examples/GetPeeringService.json | 2 +- .../2019-07-01-preview/examples/GetPeeringServicePrefix.json | 2 +- .../2019-07-01-preview/examples/ListDirectPeeringLocations.json | 2 +- .../examples/ListExchangePeeringLocations.json | 2 +- .../preview/2019-07-01-preview/examples/ListLegacyPeerings.json | 2 +- .../2019-07-01-preview/examples/ListPeerAsnsBySubscription.json | 2 +- .../2019-07-01-preview/examples/ListPeeringOperations.json | 2 +- .../examples/ListPeeringServiceLocations.json | 2 +- .../examples/ListPeeringServiceProviders.json | 2 +- .../examples/ListPeeringServicesByResourceGroup.json | 2 +- .../examples/ListPeeringServicesBySubscription.json | 2 +- .../examples/ListPeeringsByResourceGroup.json | 2 +- .../2019-07-01-preview/examples/ListPeeringsBySubscription.json | 2 +- .../examples/ListPrefixesByPeeringService.json | 2 +- .../2019-07-01-preview/examples/UpdatePeeringServiceTags.json | 2 +- .../preview/2019-07-01-preview/examples/UpdatePeeringTags.json | 2 +- .../Microsoft.Peering/preview/2019-07-01-preview/peering.json | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json index 83e9a3a17320..115c45334722 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CheckServiceProviderAvailability.json @@ -12,4 +12,4 @@ "body": "Available" } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json index 13867b350293..727ed2202294 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateDirectPeering.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json index 8f76cff1497e..c7d7f83e48d4 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreateExchangePeering.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json index 5d5ab8374223..249f3b97f61e 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeerAsn.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json index 84238b377f50..1efc460ea9b0 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringService.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json index f25867828d84..bffc1191f187 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/CreatePeeringServicePrefix.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json index 418281804616..12f03005fd6d 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeerAsn.json @@ -8,4 +8,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json index b3a13106667f..793b15305759 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeering.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json index ed3454c93f13..5f20e510723d 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringService.json @@ -9,4 +9,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json index 149607f6f0ec..d830cd21c637 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/DeletePeeringServicePrefix.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json index 64732ec153bc..c36273735773 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeerAsn.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json index c27d71aa204a..7d5f15a249ba 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeering.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json index 9226d2a9d744..3cfda6907ead 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringService.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json index fe020aa716af..8e724029d220 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/GetPeeringServicePrefix.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json index de13c03542b0..f3c0fbb93f27 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListDirectPeeringLocations.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json index 209675d2510b..5ee92220e9ce 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListExchangePeeringLocations.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json index 2c3fca130ab5..ec7061d5662b 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListLegacyPeerings.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json index 2cc778edf355..612d10dc0b17 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeerAsnsBySubscription.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json index 8b337d47a505..6fd41e1420bc 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringOperations.json @@ -180,4 +180,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json index d2dd8ca59042..de72df88ba8c 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceLocations.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json index 13a5ce38b72f..e3f546d0c3a0 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServiceProviders.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json index d0a4665c0753..6a2b27b1554c 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesByResourceGroup.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json index 04ea94005aca..45aa404d2ac5 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringServicesBySubscription.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json index 9bfc994d064d..85f5e0601c1b 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsByResourceGroup.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json index 062bac525fb5..37355aca7e6a 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPeeringsBySubscription.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json index c7688916529d..64e234380a94 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/ListPrefixesByPeeringService.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json index 67dff3b128c3..8553c1447a3e 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringServiceTags.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json index 1891a9ba8bf4..474fce2ad29c 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/examples/UpdatePeeringTags.json @@ -75,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json index 35f2a4d68f35..7562942bdf27 100644 --- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json +++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json @@ -2386,4 +2386,4 @@ ] } ] -} \ No newline at end of file +} From b66808786021d7004c2cdbdc36858b49f44c6dc7 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 19 Jul 2019 05:13:03 -0400 Subject: [PATCH 321/495] fix: cognitive services create example (#6638) Empty schema/body for create action --- .../ContentModerator/stable/v1.0/ContentModerator.json | 3 +-- .../stable/v1.0/examples/AddTermResource.JSON | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json index 46f997866223..da898426929b 100644 --- a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json +++ b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json @@ -967,8 +967,7 @@ ], "responses": { "201": { - "description": "Created", - "schema": {} + "description": "Created" }, "default": { "description": "Error response.", diff --git a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON index 673d551a6eb8..29472f38deb0 100644 --- a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON +++ b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON @@ -7,9 +7,6 @@ "language": "eng" }, "responses": { - "201": { - "headers": {}, - "body": {} - } + "201": {} } } From fcb3fa209673b8368387f09d3eda1f832a48d04a Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 19 Jul 2019 11:55:17 -0400 Subject: [PATCH 322/495] [Hub Generated] Review request for Microsoft.DevTestLab to add version stable/2018-09-15 (#6623) * Modification of PATCH description, plus minor fixes * fix * Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json Co-Authored-By: Nick Schonning --- .../stable/2018-09-15/DTL.json | 326 ++++-------------- .../2018-09-15/examples/Labs_ClaimAnyVm.json | 8 +- .../examples/Labs_CreateEnvironment.json | 8 +- .../2018-09-15/examples/Labs_Delete.json | 13 +- .../examples/VirtualMachines_Claim.json | 8 +- .../examples/VirtualMachines_Delete.json | 12 +- .../examples/VirtualMachines_Redeploy.json | 9 +- .../examples/VirtualMachines_Resize.json | 8 +- .../examples/VirtualMachines_Restart.json | 8 +- .../examples/VirtualMachines_Start.json | 8 +- .../examples/VirtualMachines_Stop.json | 8 +- .../examples/VirtualMachines_UnClaim.json | 8 +- .../examples/VirtualNetworks_Delete.json | 13 +- 13 files changed, 103 insertions(+), 334 deletions(-) diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json index 0f95e1b0fca3..74d5b0ed98f2 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json @@ -61,21 +61,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -83,7 +80,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -171,21 +167,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -193,7 +186,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -238,21 +230,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -260,7 +249,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -317,21 +305,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=displayName)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -339,7 +324,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -398,21 +382,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=displayName)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -420,7 +401,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -478,7 +458,7 @@ { "name": "name", "in": "path", - "description": "The name of the azure Resource Manager template.", + "description": "The name of the azure resource manager template.", "required": true, "type": "string" }, @@ -486,7 +466,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=displayName)'", - "required": false, "type": "string" }, { @@ -541,21 +520,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=title)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -563,7 +539,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -629,7 +604,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=title)'", - "required": false, "type": "string" }, { @@ -748,7 +722,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=displayName)'", - "required": false, "type": "string" }, { @@ -881,7 +854,7 @@ "tags": [ "ArtifactSources" ], - "description": "Modify properties of artifact sources.", + "description": "Allows modifying tags of artifact sources. All other properties will be ignored.", "operationId": "ArtifactSources_Update", "parameters": [ { @@ -965,7 +938,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=labCostDetails)'", - "required": false, "type": "string" }, { @@ -1074,21 +1046,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=vm)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -1096,7 +1065,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -1155,7 +1123,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=vm)'", - "required": false, "type": "string" }, { @@ -1293,7 +1260,7 @@ "tags": [ "CustomImages" ], - "description": "Modify properties of custom images.", + "description": "Allows modifying tags of custom images. All other properties will be ignored.", "operationId": "CustomImages_Update", "parameters": [ { @@ -1370,21 +1337,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=description)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -1392,7 +1356,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -1451,7 +1414,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=description)'", - "required": false, "type": "string" }, { @@ -1477,7 +1439,7 @@ "tags": [ "Formulas" ], - "description": "Create or replace an existing Formula. This operation can take a while to complete.", + "description": "Create or replace an existing formula. This operation can take a while to complete.", "operationId": "Formulas_CreateOrUpdate", "parameters": [ { @@ -1585,7 +1547,7 @@ "tags": [ "Formulas" ], - "description": "Modify properties of formulas.", + "description": "Allows modifying tags of formulas. All other properties will be ignored.", "operationId": "Formulas_Update", "parameters": [ { @@ -1662,21 +1624,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=author)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -1684,7 +1643,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -1736,21 +1694,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -1758,7 +1713,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -1809,7 +1763,7 @@ { "name": "name", "in": "path", - "description": "The name of the notificationChannel.", + "description": "The name of the notification channel.", "required": true, "type": "string" }, @@ -1817,7 +1771,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'", - "required": false, "type": "string" }, { @@ -1843,7 +1796,7 @@ "tags": [ "NotificationChannels" ], - "description": "Create or replace an existing notificationChannel.", + "description": "Create or replace an existing notification channel.", "operationId": "NotificationChannels_CreateOrUpdate", "parameters": [ { @@ -1862,7 +1815,7 @@ { "name": "name", "in": "path", - "description": "The name of the notificationChannel.", + "description": "The name of the notification channel.", "required": true, "type": "string" }, @@ -1923,7 +1876,7 @@ { "name": "name", "in": "path", - "description": "The name of the notificationChannel.", + "description": "The name of the notification channel.", "required": true, "type": "string" }, @@ -1950,7 +1903,7 @@ "tags": [ "NotificationChannels" ], - "description": "Modify properties of notification channels.", + "description": "Allows modifying tags of notification channels. All other properties will be ignored.", "operationId": "NotificationChannels_Update", "parameters": [ { @@ -1969,7 +1922,7 @@ { "name": "name", "in": "path", - "description": "The name of the notificationChannel.", + "description": "The name of the notification channel.", "required": true, "type": "string" }, @@ -2026,7 +1979,7 @@ { "name": "name", "in": "path", - "description": "The name of the notificationChannel.", + "description": "The name of the notification channel.", "required": true, "type": "string" }, @@ -2145,21 +2098,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=description)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -2167,7 +2117,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -2233,7 +2182,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=description)'", - "required": false, "type": "string" }, { @@ -2380,7 +2328,7 @@ "tags": [ "Policies" ], - "description": "Modify properties of policies.", + "description": "Allows modifying tags of policies. All other properties will be ignored.", "operationId": "Policies_Update", "parameters": [ { @@ -2464,21 +2412,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -2486,7 +2431,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -2545,7 +2489,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { @@ -2678,7 +2621,7 @@ "tags": [ "Schedules" ], - "description": "Modify properties of schedules.", + "description": "Allows modifying tags of schedules. All other properties will be ignored.", "operationId": "Schedules_Update", "parameters": [ { @@ -2830,73 +2773,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners": { - "get": { - "tags": [ - "ServiceRunners" - ], - "description": "List service runners in a given lab.", - "operationId": "ServiceRunners_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "labName", - "in": "path", - "description": "The name of the lab.", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$orderby", - "in": "query", - "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, - "type": "string" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServiceRunnerList" - } - }, - "default": { - "description": "BadRequest", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ServiceRunner" - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": { "get": { "tags": [ @@ -2948,7 +2824,7 @@ "tags": [ "ServiceRunners" ], - "description": "Create or replace an existing Service runner.", + "description": "Create or replace an existing service runner.", "operationId": "ServiceRunners_CreateOrUpdate", "parameters": [ { @@ -3077,21 +2953,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=identity)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -3099,7 +2972,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -3158,7 +3030,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=identity)'", - "required": false, "type": "string" }, { @@ -3296,7 +3167,7 @@ "tags": [ "Users" ], - "description": "Modify properties of user profiles.", + "description": "Allows modifying tags of user profiles. All other properties will be ignored.", "operationId": "Users_Update", "parameters": [ { @@ -3380,21 +3251,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=diskType)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -3402,7 +3270,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -3468,7 +3335,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=diskType)'", - "required": false, "type": "string" }, { @@ -3620,7 +3486,7 @@ "tags": [ "Disks" ], - "description": "Modify properties of disks.", + "description": "Allows modifying tags of disks. All other properties will be ignored.", "operationId": "Disks_Update", "parameters": [ { @@ -3841,21 +3707,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -3863,7 +3726,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -3929,7 +3791,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'", - "required": false, "type": "string" }, { @@ -4081,7 +3942,7 @@ "tags": [ "Environments" ], - "description": "Modify properties of environments.", + "description": "Allows modifying tags of environments. All other properties will be ignored.", "operationId": "Environments_Update", "parameters": [ { @@ -4172,21 +4033,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=value)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -4194,7 +4052,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -4260,7 +4117,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=value)'", - "required": false, "type": "string" }, { @@ -4408,7 +4264,7 @@ "tags": [ "Secrets" ], - "description": "Modify properties of secrets.", + "description": "Allows modifying tags of secrets. All other properties will be ignored.", "operationId": "Secrets_Update", "parameters": [ { @@ -4499,21 +4355,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -4521,7 +4374,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -4579,7 +4431,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4587,7 +4439,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'", - "required": false, "type": "string" }, { @@ -4613,7 +4464,7 @@ "tags": [ "ServiceFabrics" ], - "description": "Create or replace an existing Service Fabric. This operation can take a while to complete.", + "description": "Create or replace an existing service fabric. This operation can take a while to complete.", "operationId": "ServiceFabrics_CreateOrUpdate", "parameters": [ { @@ -4639,7 +4490,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4708,7 +4559,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4739,7 +4590,7 @@ "tags": [ "ServiceFabrics" ], - "description": "Modify properties of service fabrics.", + "description": "Allows modifying tags of service fabrics. All other properties will be ignored.", "operationId": "ServiceFabrics_Update", "parameters": [ { @@ -4765,7 +4616,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4829,7 +4680,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4884,7 +4735,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4940,7 +4791,7 @@ { "name": "name", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -4996,7 +4847,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5004,21 +4855,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -5026,7 +4874,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -5084,7 +4931,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5099,7 +4946,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { @@ -5151,7 +4997,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5226,7 +5072,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5260,7 +5106,7 @@ "tags": [ "ServiceFabricSchedules" ], - "description": "Modify properties of schedules.", + "description": "Allows modifying tags of schedules. All other properties will be ignored.", "operationId": "ServiceFabricSchedules_Update", "parameters": [ { @@ -5286,7 +5132,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5357,7 +5203,7 @@ { "name": "serviceFabricName", "in": "path", - "description": "The name of the service Fabric.", + "description": "The name of the service fabric.", "required": true, "type": "string" }, @@ -5414,21 +5260,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -5436,7 +5279,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -5500,7 +5342,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'", - "required": false, "type": "string" }, { @@ -5531,7 +5372,7 @@ "tags": [ "VirtualMachines" ], - "description": "Create or replace an existing Virtual machine. This operation can take a while to complete.", + "description": "Create or replace an existing virtual machine. This operation can take a while to complete.", "operationId": "VirtualMachines_CreateOrUpdate", "parameters": [ { @@ -5653,7 +5494,7 @@ "tags": [ "VirtualMachines" ], - "description": "Modify properties of virtual machines.", + "description": "Allows modifying tags of virtual machines. All other properties will be ignored.", "operationId": "VirtualMachines_Update", "parameters": [ { @@ -6453,21 +6294,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -6475,7 +6313,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -6541,7 +6378,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { @@ -6688,7 +6524,7 @@ "tags": [ "VirtualMachineSchedules" ], - "description": "Modify properties of schedules.", + "description": "Allows modifying tags of schedules. All other properties will be ignored.", "operationId": "VirtualMachineSchedules_Update", "parameters": [ { @@ -6828,21 +6664,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -6850,7 +6683,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -6914,7 +6746,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'", - "required": false, "type": "string" }, { @@ -7067,7 +6898,7 @@ "tags": [ "VirtualNetworks" ], - "description": "Modify properties of virtual networks.", + "description": "Allows modifying tags of virtual networks. All other properties will be ignored.", "operationId": "VirtualNetworks_Update", "parameters": [ { @@ -7149,7 +6980,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'", - "required": false, "type": "string" }, { @@ -7288,7 +7118,7 @@ "tags": [ "Labs" ], - "description": "Modify properties of labs.", + "description": "Allows modifying tags of labs. All other properties will be ignored.", "operationId": "Labs_Update", "parameters": [ { @@ -7660,21 +7490,18 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { "name": "$filter", "in": "query", "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')", - "required": false, "type": "string" }, { "name": "$top", "in": "query", "description": "The maximum number of resources to return from the operation. Example: '$top=10'", - "required": false, "type": "integer", "format": "int32" }, @@ -7682,7 +7509,6 @@ "name": "$orderby", "in": "query", "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'", - "required": false, "type": "string" }, { @@ -7734,7 +7560,6 @@ "name": "$expand", "in": "query", "description": "Specify the $expand query. Example: 'properties($select=status)'", - "required": false, "type": "string" }, { @@ -7853,7 +7678,7 @@ "tags": [ "GlobalSchedules" ], - "description": "Modify properties of schedules.", + "description": "Allows modifying tags of schedules. All other properties will be ignored.", "operationId": "GlobalSchedules_Update", "parameters": [ { @@ -8616,7 +8441,7 @@ "properties": { "diskSizeGiB": { "format": "int32", - "description": "Size of the disk to be attached in Gibibytes.", + "description": "Size of the disk to be attached in GibiBytes.", "type": "integer" }, "diskName": { @@ -8627,7 +8452,8 @@ "description": "The storage type for the disk (i.e. Standard, Premium).", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -8643,7 +8469,7 @@ "properties": { "diskSizeGiB": { "format": "int32", - "description": "Size of the disk to be attached in Gibibytes.", + "description": "Size of the disk to be attached in GibiBytes.", "type": "integer" }, "diskName": { @@ -8654,7 +8480,8 @@ "description": "The storage type for the disk (i.e. Standard, Premium).", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -9286,7 +9113,8 @@ "description": "Disk Storage Type", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -9308,7 +9136,8 @@ "description": "Disk Storage Type", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -9418,7 +9247,8 @@ "description": "The storage type for the disk (i.e. Standard, Premium).", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -9428,7 +9258,7 @@ }, "diskSizeGiB": { "format": "int32", - "description": "The size of the disk in Gibibytes.", + "description": "The size of the disk in GibiBytes.", "type": "integer" }, "leasedByLabVmId": { @@ -9477,7 +9307,8 @@ "description": "The storage type for the disk (i.e. Standard, Premium).", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -9487,7 +9318,7 @@ }, "diskSizeGiB": { "format": "int32", - "description": "The size of the disk in Gibibytes.", + "description": "The size of the disk in GibiBytes.", "type": "integer" }, "leasedByLabVmId": { @@ -10489,7 +10320,8 @@ "description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -10550,7 +10382,7 @@ "description": "The properties of any lab support message associated with this lab" }, "vmCreationResourceGroup": { - "description": "The resource group in which lab virtual machines will be created in.", + "description": "The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.", "type": "string", "readOnly": true }, @@ -10596,7 +10428,8 @@ "description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.", "enum": [ "Standard", - "Premium" + "Premium", + "StandardSSD" ], "type": "string", "x-ms-enum": { @@ -10965,7 +10798,8 @@ "description": "Tells source of creation of lab virtual machine. Output property only.", "enum": [ "FromCustomImage", - "FromGalleryImage" + "FromGalleryImage", + "FromSharedGalleryImage" ], "type": "string", "x-ms-enum": { @@ -11118,7 +10952,8 @@ "description": "Tells source of creation of lab virtual machine. Output property only.", "enum": [ "FromCustomImage", - "FromGalleryImage" + "FromGalleryImage", + "FromSharedGalleryImage" ], "type": "string", "x-ms-enum": { @@ -11310,7 +11145,8 @@ "description": "Tells source of creation of lab virtual machine. Output property only.", "enum": [ "FromCustomImage", - "FromGalleryImage" + "FromGalleryImage", + "FromSharedGalleryImage" ], "type": "string", "x-ms-enum": { @@ -11469,7 +11305,8 @@ "description": "Tells source of creation of lab virtual machine. Output property only.", "enum": [ "FromCustomImage", - "FromGalleryImage" + "FromGalleryImage", + "FromSharedGalleryImage" ], "type": "string", "x-ms-enum": { @@ -12846,23 +12683,6 @@ } } }, - "ServiceRunnerList": { - "description": "The response of a list operation.", - "type": "object", - "properties": { - "value": { - "description": "Results of the list operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceRunner" - } - }, - "nextLink": { - "description": "Link for next set of results.", - "type": "string" - } - } - }, "SharedPublicIpAddressConfiguration": { "description": "Properties of a virtual machine that determine how it is connected to a load balancer.", "type": "object", @@ -13598,13 +13418,13 @@ }, "securityDefinitions": { "azure_auth": { - "type": "oauth2", - "description": "OAuth2 Implicit Grant", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "Access Microsoft Azure" - } + }, + "type": "oauth2", + "description": "OAuth2 Implicit Grant" } }, "security": [ diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json index 09ad003c2b9f..5a656e392f58 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json @@ -7,11 +7,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json index df19c66124ae..9ade4318f1ef 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json @@ -31,11 +31,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json index 77e16cc7eada..8cbf3f11fc94 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json @@ -6,14 +6,9 @@ "api-version": "2018-09-15" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } + diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json index a224814ddf06..3f7db707c177 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json @@ -7,11 +7,7 @@ "api-version": "2018-09-15" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json index 434631786d71..a1aafb6bfe79 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json @@ -7,14 +7,8 @@ "api-version": "2018-09-15" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json index d072ba194309..07bd537f6e90 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json @@ -8,11 +8,8 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } + diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json index ba1e766ac5b5..754ec9a5df56 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json @@ -11,11 +11,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json index d072ba194309..a8bfaf2ad517 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json @@ -8,11 +8,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json index d072ba194309..a8bfaf2ad517 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json @@ -8,11 +8,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json index a224814ddf06..3f7db707c177 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json @@ -7,11 +7,7 @@ "api-version": "2018-09-15" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json index d072ba194309..a8bfaf2ad517 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json @@ -8,11 +8,7 @@ "monitor": "true" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json index 267520b2dc4e..ac5e1fd20f43 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json @@ -7,14 +7,9 @@ "api-version": "2018-09-15" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } + From fdeccee52f910ceceff28e16669af2aaba4aa184 Mon Sep 17 00:00:00 2001 From: Brian Fjeldstad Date: Fri, 19 Jul 2019 09:04:17 -0700 Subject: [PATCH 323/495] add winiotsvcs stable api (#6642) --- .../stable/2019-06-01/WindowsIotServices.json | 679 ++++++++++++++++++ .../2019-06-01/examples/OperationsList.json | 58 ++ .../Service_CheckNameAvailability.json | 16 + .../2019-06-01/examples/Service_Create.json | 28 + .../2019-06-01/examples/Service_Delete.json | 22 + .../examples/Service_GetProperties.json | 25 + .../2019-06-01/examples/Service_List.json | 74 ++ .../examples/Service_ListByResourceGroup.json | 39 + .../2019-06-01/examples/Service_Update.json | 30 + .../windowsiot/resource-manager/readme.go.md | 36 + .../resource-manager/readme.java.md | 49 ++ .../windowsiot/resource-manager/readme.md | 70 +- .../resource-manager/readme.python.md | 28 + .../resource-manager/readme.ruby.md | 38 + .../resource-manager/readme.typescript.md | 12 + 15 files changed, 1200 insertions(+), 4 deletions(-) create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json create mode 100644 specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json create mode 100644 specification/windowsiot/resource-manager/readme.go.md create mode 100644 specification/windowsiot/resource-manager/readme.java.md create mode 100644 specification/windowsiot/resource-manager/readme.python.md create mode 100644 specification/windowsiot/resource-manager/readme.ruby.md create mode 100644 specification/windowsiot/resource-manager/readme.typescript.md diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json new file mode 100644 index 000000000000..8ecadd1d2f78 --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json @@ -0,0 +1,679 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-06-01", + "title": "DeviceServices", + "description": "Use this API to manage the Windows IoT device services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.WindowsIoT/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Windows IoT Services REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/OperationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}": { + "get": { + "tags": [ + "DeviceServices" + ], + "description": "Get the non-security related metadata of a Windows IoT Device Service.", + "operationId": "Services_Get", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeviceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceService" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Services_GetProperties": { + "$ref": "./examples/Service_GetProperties.json" + } + } + }, + "put": { + "tags": [ + "DeviceServices" + ], + "summary": "Create or update the metadata of a Windows IoT Device Service.", + "description": "Create or update the metadata of a Windows IoT Device Service. The usual pattern to modify a property is to retrieve the Windows IoT Device Service metadata and security metadata, and then combine them with the modified values in a new body to update the Windows IoT Device Service.", + "operationId": "Services_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeviceNameParameter" + }, + { + "name": "deviceService", + "in": "body", + "description": "The Windows IoT Device Service metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceServiceProperties" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "ETag of the Windows IoT Device Service. Do not specify for creating a new Windows IoT Device Service. Required to update an existing Windows IoT Device Service." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceService" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Service_Create": { + "$ref": "./examples/Service_Create.json" + } + } + }, + "patch": { + "tags": [ + "DeviceServices" + ], + "summary": "Updates the metadata of a Windows IoT Device Service.", + "description": "Updates the metadata of a Windows IoT Device Service. The usual pattern to modify a property is to retrieve the Windows IoT Device Service metadata and security metadata, and then combine them with the modified values in a new body to update the Windows IoT Device Service.", + "operationId": "Services_Update", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeviceNameParameter" + }, + { + "name": "deviceService", + "in": "body", + "description": "The Windows IoT Device Service metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceServiceProperties" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "ETag of the Windows IoT Device Service. Do not specify for creating a brand new Windows IoT Device Service. Required to update an existing Windows IoT Device Service." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceService" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Service_Update": { + "$ref": "./examples/Service_Update.json" + } + } + }, + "delete": { + "tags": [ + "DeviceServices" + ], + "description": "Delete a Windows IoT Device Service.", + "operationId": "Services_Delete", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeviceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceService" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Service_Delete": { + "$ref": "./examples/Service_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices": { + "get": { + "tags": [ + "DeviceServices" + ], + "description": "Get all the IoT hubs in a resource group.", + "operationId": "Services_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceServiceDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Service_ListByResourceGroup": { + "$ref": "./examples/Service_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/deviceServices": { + "get": { + "tags": [ + "DeviceServices" + ], + "description": "Get all the IoT hubs in a subscription.", + "operationId": "Services_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceServiceDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Service_List": { + "$ref": "./examples/Service_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/checkDeviceServiceNameAvailability": { + "post": { + "tags": [ + "CheckDeviceServiceNameAvailability" + ], + "description": "Check if a Windows IoT Device Service name is available.", + "operationId": "Services_CheckDeviceServiceNameAvailability", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "deviceServiceCheckNameAvailabilityParameters", + "in": "body", + "description": "Set the name parameter in the DeviceServiceCheckNameAvailabilityParameters structure to the name of the Windows IoT Device Service to check.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceServiceCheckNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeviceServiceNameAvailabilityInfo" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false, + "x-ms-examples": { + "Service_CheckNameAvailability": { + "$ref": "./examples/Service_CheckNameAvailability.json" + } + } + } + } + }, + "definitions": { + "DeviceServiceProperties": { + "description": "The properties of a Windows IoT Device Service.", + "type": "object", + "properties": { + "notes": { + "description": "Windows IoT Device Service notes.", + "type": "string" + }, + "startDate": { + "description": "Windows IoT Device Service start date,", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "quantity": { + "description": "Windows IoT Device Service device allocation,", + "type": "integer", + "format": "int64" + }, + "billingDomainName": { + "description": "Windows IoT Device Service ODM AAD domain", + "type": "string" + }, + "adminDomainName": { + "description": "Windows IoT Device Service OEM AAD domain", + "type": "string" + } + } + }, + "DeviceService": { + "description": "The description of the Windows IoT Device Service.", + "type": "object", + "properties": { + "etag": { + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.", + "type": "string" + }, + "properties": { + "description": "The properties of a Windows IoT Device Service.", + "$ref": "#/definitions/DeviceServiceProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ] + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource Id for the resource" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The Azure Region where the resource lives" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "OperationListResult": { + "description": "Result of the request to list Windows IoT Device Service operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "description": "List of Windows IoT Device Service operations supported by the Microsoft.WindowsIoT resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationEntity" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "OperationEntity": { + "description": "The operation supported by Azure Data Catalog Service.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayInfo", + "description": "The operation supported by Azure Data Catalog Service." + } + } + }, + "OperationDisplayInfo": { + "description": "The operation supported by Azure Data Catalog Service.", + "type": "object", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string" + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string" + }, + "provider": { + "description": "Service provider: Azure Data Catalog Service.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + } + } + }, + "ErrorDetails": { + "description": "The details of the error.", + "properties": { + "code": { + "description": "One of a server-defined set of error codes.", + "type": "string" + }, + "message": { + "description": "A human-readable representation of the error.", + "type": "string" + }, + "target": { + "description": "The target of the particular error.", + "type": "string" + }, + "details": { + "description": "A human-readable representation of the error's details.", + "type": "string" + } + } + }, + "DeviceServiceDescriptionListResult": { + "description": "The JSON-serialized array of DeviceService objects with a next link.", + "type": "object", + "properties": { + "value": { + "description": "The array of DeviceService objects.", + "type": "array", + "items": { + "$ref": "#/definitions/DeviceService" + } + }, + "nextLink": { + "description": "The next link.", + "type": "string", + "readOnly": true + } + } + }, + "DeviceServiceCheckNameAvailabilityParameters": { + "description": "Input values.", + "type": "object", + "properties": { + "name": { + "description": "The name of the Windows IoT Device Service to check.", + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "DeviceServiceNameAvailabilityInfo": { + "description": "The properties indicating whether a given Windows IoT Device Service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "serviceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The version of the API.", + "required": true, + "type": "string" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "The name of the resource group that contains the Windows IoT Device Service.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DeviceNameParameter": { + "name": "deviceName", + "in": "path", + "description": "The name of the Windows IoT Device Service.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json new file mode 100644 index 000000000000..12913c053d54 --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.WindowsIoT/Services/write", + "display": { + "provider": "Windows IoT", + "resource": "Windows IoT Services", + "operation": "Create/Update Windows IoT Subscription", + "description": "Creates a Windows IoT Subscription with the specified parameters or update the properties or tags or adds custom domain for the specified Windows IoT Subscription." + } + }, + { + "name": "Microsoft.WindowsIoT/Services/delete", + "display": { + "provider": "Windows IoT", + "resource": "Windows IoT Services", + "operation": "Delete Windows IoT Subscription", + "description": "Deletes an existing Windows IoT Subscription." + } + }, + { + "name": "Microsoft.WindowsIoT/checkNameAvailability/read", + "display": { + "provider": "Windows IoT", + "resource": "Name Availability", + "operation": "Check Name Availability", + "description": "Checks that account name is valid and is not in use." + } + }, + { + "name": "Microsoft.WindowsIoT/Services/read", + "display": { + "provider": "Windows IoT", + "resource": "Windows IoT Services", + "operation": "List/Get Windows IoT Subscription(s)", + "description": "Returns the list of Windows IoT Services or gets the properties for the specified Windows IoT Subscription." + } + }, + { + "name": "Microsoft.WindowsIoT/operations/read", + "display": { + "provider": "Windows IoT", + "resource": "Operations", + "operation": "Poll Asynchronous Operation", + "description": "Polls the status of an asynchronous operation." + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json new file mode 100644 index 000000000000..daaa829ea965 --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "api-version": "2019-06-01", + "deviceServiceCheckNameAvailabilityParameters": { + "name": "service3363" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json new file mode 100644 index 000000000000..d503863eb466 --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "resourceGroupName": "res9101", + "deviceName": "service4445", + "api-version": "2019-06-01", + "deviceService": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "quantity": 1000000 + } + }, + "responses": { + "200": { + "body": { + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json new file mode 100644 index 000000000000..db5380013e9e --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "resourceGroupName": "res4228", + "deviceName": "service2434", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json new file mode 100644 index 000000000000..53e31cee4fae --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", + "resourceGroupName": "res9407", + "deviceName": "service8596", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/res9407/providers/Microsoft.WindowsIoT/Services/service8596", + "name": "service8596", + "location": "westus", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json new file mode 100644 index 000000000000..0b7371cbbf5b --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res2627/providers/Microsoft.WindowsIoT/Services/service1125", + "name": "service1125", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + }, + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service3699", + "name": "service3699", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + }, + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service6637", + "name": "service6637", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + }, + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res8186/providers/Microsoft.WindowsIoT/Services/service834", + "name": "service834", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + }, + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service9174", + "name": "service9174", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json new file mode 100644 index 000000000000..e1f35db1f7aa --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "resourceGroupName": "res6117", + "api-version": "2019-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4036", + "name": "service4036", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + }, + { + "id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4452", + "name": "service4452", + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "type": "Microsoft.WindowsIoT/Services" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json new file mode 100644 index 000000000000..fb461f94485d --- /dev/null +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", + "resourceGroupName": "res9407", + "deviceName": "service8596", + "api-version": "2019-06-01", + "deviceService": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "quantity": 1000000 + }, + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "properties": { + "billingDomainName": "a.b.c", + "adminDomainName": "d.e.f", + "notes": "blah", + "startDate": "2018-01-01T12:00:00000Z", + "quantity": 1000000 + }, + "location": "westus", + "type": "Microsoft.WindowsIoT/Services" + } + } + } +} \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/readme.go.md b/specification/windowsiot/resource-manager/readme.go.md new file mode 100644 index 000000000000..c01c04d50a9e --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.go.md @@ -0,0 +1,36 @@ + +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: windowsiot + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +windowsiot: + - tag: package-2019-06 + - tag: package-2018-02-preview +``` + +### Tag: package-2019-06 and go + +These settings apply only when `--tag=package-2019-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace) +``` + +### Tag: package-2018-02-preview and go + +These settings apply only when `--tag=package-2018-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-02-01/$(namespace) +``` diff --git a/specification/windowsiot/resource-manager/readme.java.md b/specification/windowsiot/resource-manager/readme.java.md new file mode 100644 index 000000000000..3ec0fbe75985 --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.java.md @@ -0,0 +1,49 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.windowsiot +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-windowsiot +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2018-02-preview +``` + +### Tag: package-2019-06 and java + +These settings apply only when `--tag=package-2019-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.windowsiot.v2019_06_01 + output-folder: $(azure-libraries-for-java-folder)/windowsiot/resource-manager/v2019_06_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-02-preview and java + +These settings apply only when `--tag=package-2018-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.windowsiot.v2018_02_16_preview + output-folder: $(azure-libraries-for-java-folder)/windowsiot/resource-manager/v2018_02_16_preview +regenerate-manager: true +generate-interface: true +``` + +` \ No newline at end of file diff --git a/specification/windowsiot/resource-manager/readme.md b/specification/windowsiot/resource-manager/readme.md index eb82567de728..3862d9dc07ad 100644 --- a/specification/windowsiot/resource-manager/readme.md +++ b/specification/windowsiot/resource-manager/readme.md @@ -26,17 +26,79 @@ These are the global settings for the Services API. ``` yaml openapi-type: arm -tag: package-2018-02 +tag: package-2019-06 ``` -### Tag: package-2018-02 +### Tag: package-2019-06 -These settings apply only when `--tag=package-2018-02` is specified on the command line. +These settings apply only when `--tag=package-2019-06` is specified on the command line. -``` yaml $(tag) == 'package-2018-02' +``` yaml $(tag) == 'package-2019-06' +input-file: +- Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json +``` + +### Tag: package-2018-02-preview + +These settings apply only when `--tag=package-2018-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-02-preview' input-file: - Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json ``` --- # Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_windowsiot'] +``` + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + # last generated with AutoRest.1.0.0-Nightly20170129 from commit 19f63015ea5a8a0fc64b9d7e2cdfeac447d93eaf + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.WindowsIoT + payload-flattening-threshold: 1 + output-folder: $(csharp-sdks-folder)/WindowsIoT/Management.WindowsIoT/Generated + clear-output-folder: true +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + diff --git a/specification/windowsiot/resource-manager/readme.python.md b/specification/windowsiot/resource-manager/readme.python.md new file mode 100644 index 000000000000..3f3407198310 --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.python.md @@ -0,0 +1,28 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.windowsiot + package-name: azure-mgmt-windowsiot + clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-windowsiot/azure/mgmt/windowsiot +``` + +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-windowsiot +``` diff --git a/specification/windowsiot/resource-manager/readme.ruby.md b/specification/windowsiot/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..49d91adb30a5 --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.ruby.md @@ -0,0 +1,38 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +``` yaml +package-name: azure_mgmt_windowsiot +package-version: "0.16.0" +azure-arm: true +``` + +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2018-02-preview +``` + +### Tag: package-2019-06 and ruby + +These settings apply only when `--tag=package-2019-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(ruby) +namespace: "Azure::WindowsIoT::Mgmt::V2019_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_windowsiot/lib +``` + + +### Tag: package-2018-02-preview and ruby + +These settings apply only when `--tag=package-2018-02-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(ruby) +namespace: "Azure::WindowsIoT::Mgmt::V2018_02_16_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_windowsiot/lib +``` diff --git a/specification/windowsiot/resource-manager/readme.typescript.md b/specification/windowsiot/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..bd84c8098c3b --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.typescript.md @@ -0,0 +1,12 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-windowsiot" + output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-windowsiot" + generate-metadata: true +``` \ No newline at end of file From 05a52c512c8d79c6f7bf448b42bec31b54b0b3de Mon Sep 17 00:00:00 2001 From: wenbof Date: Sat, 20 Jul 2019 01:51:30 +0800 Subject: [PATCH 324/495] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#6617) * [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitoins and dedicated datasets for relational * Fix typo. * update SapBwCube * fix issue brought by merging from azure branch * remove SapBwCube and Sybase for investigation * will postpone SapBwSource in another coming PR. * refine case of Oracle in description --- .../2018-06-01/entityTypes/Dataset.json | 97 +++++++- .../2018-06-01/entityTypes/Pipeline.json | 225 ++++++++++++++++++ 2 files changed, 321 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 90fe21375044..a7334644695d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1413,6 +1413,84 @@ } } }, + "OdbcTableDataset": { + "x-ms-discriminator-value": "OdbcTable", + "description": "The ODBC table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "ODBC table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/OdbcTableDatasetTypeProperties" + } + } + }, + "OdbcTableDatasetTypeProperties": { + "description": "ODBC table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The ODBC table name. Type: string (or Expression with resultType string)." + } + } + }, + "MySqlTableDataset": { + "x-ms-discriminator-value": "MySqlTable", + "description": "The MySQL table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "MySQL table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MySqlTableDatasetTypeProperties" + } + } + }, + "MySqlTableDatasetTypeProperties": { + "description": "MySql table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The MySQL table name. Type: string (or Expression with resultType string)." + } + } + }, + "PostgreSqlTableDataset": { + "x-ms-discriminator-value": "PostgreSqlTable", + "description": "The PostgreSQL table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "PostgreSQL table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PostgreSqlTableDatasetTypeProperties" + } + } + }, + "PostgreSqlTableDatasetTypeProperties": { + "description": "PostgreSQL table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The PostgreSQL table name. Type: string (or Expression with resultType string)." + } + } + }, "MicrosoftAccessTableDataset": { "x-ms-discriminator-value": "MicrosoftAccessTable", "description": "The Microsoft Access table dataset.", @@ -1878,7 +1956,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/AzurePostgreSqlTableDatasetTypeProperties" + } + } + }, + "AzurePostgreSqlTableDatasetTypeProperties": { + "description": "Azure PostgreSQL dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)." } } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 33962b1325b9..db33274f4a1c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -999,6 +999,96 @@ } } }, + "Db2Source": { + "description": "A copy activity source for Db2 databases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "OdbcSource": { + "description": "A copy activity source for ODBC databases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "MySqlSource": { + "description": "A copy activity source for MySQL databases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "PostgreSqlSource": { + "description": "A copy activity source for PostgreSQL databases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "SybaseSource": { + "description": "A copy activity source for Sybase databases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "Database query. Type: string (or Expression with resultType string)." + } + } + }, + "ODataSource": { + "description": "A copy activity source for OData source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)." + } + } + }, "SalesforceSource": { "description": "A copy activity Salesforce source.", "type": "object", @@ -1144,6 +1234,48 @@ "customRfcReadTableFunctionModule": { "type": "object", "description": "Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for SAP table read in parallel.", + "type": "string", + "enum": [ + "None", + "PartitionOnInt", + "PartitionOnCalendarYear", + "PartitionOnCalendarMonth", + "PartitionOnCalendarDate", + "PartitionOnTime" + ], + "x-ms-enum": { + "name": "SapTablePartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for SAP table source partitioning.", + "$ref": "#/definitions/SapTablePartitionSettings" + } + } + }, + "SapTablePartitionSettings": { + "description": "The settings that will be leveraged for SAP table source partitioning.", + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "description": "The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "maxPartitionsNumber": { + "type": "object", + "description": "The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string)." } } }, @@ -1418,6 +1550,49 @@ "queryTimeout": { "type": "object", "description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for Oracle read in parallel.", + "type": "string", + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "DynamicRange" + ], + "x-ms-enum": { + "name": "OraclePartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for Oracle source partitioning.", + "$ref": "#/definitions/OraclePartitionSettings" + } + } + }, + "OraclePartitionSettings": { + "description": "The settings that will be leveraged for Oracle source partitioning.", + "type": "object", + "properties": { + "partitionNames": { + "type": "object", + "items": { + "type": "object", + "description": "Type: string (or Expression with resultType string)." + }, + "description": "Names of the physical partitions of Oracle table. " + }, + "partitionColumnName": { + "type": "object", + "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." } } }, @@ -1695,6 +1870,21 @@ } } }, + "AzurePostgreSqlSink": { + "description": "A copy activity Azure PostgreSQL sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "preCopyScript": { + "type": "object", + "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)." + } + } + }, "ConcurSource": { "description": "A copy activity Concur Service source.", "type": "object", @@ -2067,6 +2257,41 @@ "query": { "type": "object", "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "description": "The partition mechanism that will be used for Netezza read in parallel.", + "type": "string", + "enum": [ + "None", + "DataSlice", + "DynamicRange" + ], + "x-ms-enum": { + "name": "NetezzaPartitionOption", + "modelAsString": true + } + }, + "partitionSettings": { + "description": "The settings that will be leveraged for Netezza source partitioning.", + "$ref": "#/definitions/NetezzaPartitionSettings" + } + } + }, + "NetezzaPartitionSettings": { + "description": "The settings that will be leveraged for Netezza source partitioning.", + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionUpperBound": { + "type": "object", + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." } } }, From aedf50320ec2a8d8a388f73be1ca057da827c886 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Sat, 20 Jul 2019 05:27:16 +0800 Subject: [PATCH 325/495] adding package 2019-06 to python multipackage build (#6677) --- .../network/resource-manager/readme.python.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/network/resource-manager/readme.python.md b/specification/network/resource-manager/readme.python.md index c59f80d98bdc..17e05a480c22 100644 --- a/specification/network/resource-manager/readme.python.md +++ b/specification/network/resource-manager/readme.python.md @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-12 @@ -40,6 +41,17 @@ batch: - tag: package-2015-06split ``` +### Tag: package-2019-06 and python + +These settings apply only when `--tag=package-2019-06 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(python) +python: + namespace: azure.mgmt.network.v2019_06_01 + output-folder: $(python-sdks-folder)/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01 +``` + ### Tag: package-2019-04 and python These settings apply only when `--tag=package-2019-04 --python` is specified on the command line. From cae75058ed79deb758e08021315ce5a7fc27d403 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 22 Jul 2019 02:40:05 -0400 Subject: [PATCH 326/495] chore: jsonfmt windowsiot (#6684) --- .../stable/2019-06-01/WindowsIotServices.json | 2 +- .../stable/2019-06-01/examples/OperationsList.json | 2 +- .../2019-06-01/examples/Service_CheckNameAvailability.json | 2 +- .../stable/2019-06-01/examples/Service_Create.json | 2 +- .../stable/2019-06-01/examples/Service_Delete.json | 2 +- .../stable/2019-06-01/examples/Service_GetProperties.json | 4 ++-- .../stable/2019-06-01/examples/Service_List.json | 2 +- .../2019-06-01/examples/Service_ListByResourceGroup.json | 2 +- .../stable/2019-06-01/examples/Service_Update.json | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json index 8ecadd1d2f78..0cdc53c800a1 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json @@ -676,4 +676,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json index 12913c053d54..c556a62abff0 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json index daaa829ea965..48c468253f8d 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json index d503863eb466..ca3b9059a8f7 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json index db5380013e9e..71e1bb68a9e8 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json index 53e31cee4fae..f49ef801c31b 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json @@ -10,7 +10,7 @@ "body": { "id": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/res9407/providers/Microsoft.WindowsIoT/Services/service8596", "name": "service8596", - "location": "westus", + "location": "westus", "properties": { "billingDomainName": "a.b.c", "adminDomainName": "d.e.f", @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json index 0b7371cbbf5b..d3d2627217e2 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json index e1f35db1f7aa..ecfc642eae97 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json index fb461f94485d..7e73d334a6e4 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} From 7dad220a122c78efc59320f3c6d39f921fd64a82 Mon Sep 17 00:00:00 2001 From: Yuxing Zhou Date: Mon, 22 Jul 2019 16:19:42 +0800 Subject: [PATCH 327/495] [Azure Stack] Update Volume and Drive API for Fabric Admin (#6666) * copy spec content from previous version * Update Volume and Drive API for Azure Stack Fabric Admin to 2019-05-01 * add the missing word --- custom-words.txt | 1 + .../preview/2019-05-01/Drive.json | 258 ++++++++++++++++++ .../preview/2019-05-01/Volume.json | 227 +++++++++++++++ .../2019-05-01/examples/Drive/Get.json | 40 +++ .../2019-05-01/examples/Drive/List.json | 43 +++ .../2019-05-01/examples/Volume/Get.json | 32 +++ .../2019-05-01/examples/Volume/List.json | 35 +++ .../resource-manager/fabric/readme.md | 31 ++- 8 files changed, 666 insertions(+), 1 deletion(-) create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json diff --git a/custom-words.txt b/custom-words.txt index 36be7ad15138..7af3d8d15eda 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1527,3 +1527,4 @@ Corent Carbonite AATP MDATP +LEDs diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json new file mode 100644 index 000000000000..08cb5519a49d --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json @@ -0,0 +1,258 @@ +{ + "swagger": "2.0", + "info": { + "description": "Drive operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2019-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives/{drive}": { + "get": { + "x-ms-examples": { + "Return the requested a storage drive.": { + "$ref": "./examples/Drive/Get.json" + } + }, + "tags": [ + "Drives" + ], + "description": "Return the requested a storage drive.", + "operationId": "Drives_Get", + "parameters": [ + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter" + }, + { + "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "#/parameters/DriveParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Drive" + } + }, + "404": { + "description": "NOT FOUND" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives": { + "get": { + "x-ms-examples": { + "Returns a list of all storage drives at a location.": { + "$ref": "./examples/Drive/List.json" + } + }, + "tags": [ + "Drives" + ], + "description": "Returns a list of all storage drives at a location.", + "operationId": "Drives_List", + "parameters": [ + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter" + }, + { + "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DriveList" + } + }, + "404": { + "description": "NOT FOUND" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Drive" + } + } + }, + "definitions": { + "Drive": { + "description": "Representation of a drive resource.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a drive.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DriveModel" + } + }, + "allOf": [ + { + "$ref": "../2016-05-01/Fabric.json#/definitions/Resource" + } + ] + }, + "DriveModel": { + "description": "Properties of a drive.", + "type": "object", + "properties": { + "storageNode": { + "description": "Node that the drive is physically connected.", + "type": "string" + }, + "serialNumber": { + "description": "Serial number of the drive.", + "type": "string" + }, + "healthStatus": { + "description": "Health status of the drive.", + "type": "string" + }, + "operationalStatus": { + "description": "Operational status of the drive.", + "type": "string" + }, + "usage": { + "description": "Intended usage of the drive.", + "type": "string" + }, + "physicalLocation": { + "description": "Indicate where the hardware is located.", + "type": "string" + }, + "model": { + "description": "Model of the drive.", + "type": "string" + }, + "firmwareVersion": { + "description": "The firmware version of the drive.", + "type": "string" + }, + "isIndicationEnabled": { + "description": "Indicate whether the drive's identification LEDs are active or not.", + "type": "boolean" + }, + "manufacturer": { + "description": "The name of the drive's manufacturer.", + "type": "string" + }, + "storagePool": { + "description": "The storage pool where the drive is located.", + "type": "string" + }, + "mediaType": { + "description": "Media type of the drive.", + "type": "string" + }, + "capacityGB": { + "description": "Total capacity in GB of the drive.", + "format": "int32", + "type": "integer" + }, + "description": { + "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", + "type": "string" + }, + "action": { + "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", + "type": "string" + } + } + }, + "DriveList": { + "description": "Pageable list of storage drives.", + "type": "object", + "properties": { + "value": { + "description": "List of storage drives.", + "type": "array", + "items": { + "$ref": "#/definitions/Drive" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client API Version.", + "required": true, + "type": "string", + "default": "2019-05-01" + }, + "DriveParameter": { + "name": "drive", + "description": "Name of the storage drive.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json new file mode 100644 index 000000000000..14d8cb07fe5a --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json @@ -0,0 +1,227 @@ +{ + "swagger": "2.0", + "info": { + "description": "Volume operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2019-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes/{volume}": { + "get": { + "x-ms-examples": { + "Return the requested a storage volume.": { + "$ref": "./examples/Volume/Get.json" + } + }, + "tags": [ + "Volumes" + ], + "description": "Return the requested a storage volume.", + "operationId": "Volumes_Get", + "parameters": [ + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter" + }, + { + "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "#/parameters/VolumeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "404": { + "description": "NOT FOUND" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes": { + "get": { + "x-ms-examples": { + "Returns a list of all storage volumes at a location.": { + "$ref": "./examples/Volume/List.json" + } + }, + "tags": [ + "Volumes" + ], + "description": "Returns a list of all storage volumes at a location.", + "operationId": "Volumes_List", + "parameters": [ + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter" + }, + { + "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VolumeList" + } + }, + "404": { + "description": "NOT FOUND" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Volume" + } + } + }, + "definitions": { + "Volume": { + "description": "Representation of a volume resource.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a volume.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VolumeModel" + } + }, + "allOf": [ + { + "$ref": "../2016-05-01/Fabric.json#/definitions/Resource" + } + ] + }, + "VolumeModel": { + "description": "Properties of a volume.", + "type": "object", + "properties": { + "totalCapacityGB": { + "description": "Total capacity in GB of the volume.", + "format": "int32", + "type": "integer" + }, + "remainingCapacityGB": { + "description": "Remaining capacity in GB of the volume.", + "format": "int32", + "type": "integer" + }, + "healthStatus": { + "description": "Health status of the volume.", + "type": "string" + }, + "operationalStatus": { + "description": "Operational status of the volume.", + "type": "string" + }, + "description": { + "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", + "type": "string" + }, + "action": { + "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", + "type": "string" + }, + "volumeLabel": { + "description": "Volume label.", + "type": "string" + } + } + }, + "VolumeList": { + "description": "Pageable list of storage volumes.", + "type": "object", + "properties": { + "value": { + "description": "List of storage volumes.", + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client API Version.", + "required": true, + "type": "string", + "default": "2019-05-01" + }, + "VolumeParameter": { + "name": "volume", + "description": "Name of the storage volume.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json new file mode 100644 index 000000000000..e64a1ee5ce59 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d", + "resourceGroupName": "System.redmond", + "location": "redmond", + "scaleUnit": "s-cluster", + "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com", + "drive": "{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/drives/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}", + "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives", + "location": "redmond", + "tags": {}, + "properties": { + "storageNode": "redmond/v-Host4", + "serialNumber": "4GV095AX", + "healthStatus": "Healthy", + "operationalStatus": "OK", + "usage": "Capacity", + "physicalLocation": "Integrated : Adapter 1 : Port 0 : Target 0 : LUN 4", + "model": "Virtual Disk", + "firmwareVersion": "1.0", + "isIndicationEnabled": false, + "manufacturer": "Msft", + "storagePool": "SU1_Pool", + "mediaType": "HDD", + "capacityGB": 1024, + "description": "", + "action": "" + } + } + }, + "404": {} + } +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json new file mode 100644 index 000000000000..f4b50c143471 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d", + "resourceGroupName": "System.redmond", + "location": "redmond", + "scaleUnit": "s-cluster", + "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/drives/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}", + "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives", + "location": "redmond", + "tags": {}, + "properties": { + "storageNode": "redmond/v-Host4", + "serialNumber": "4GV095AX", + "healthStatus": "Healthy", + "operationalStatus": "OK", + "usage": "Capacity", + "physicalLocation": "Integrated : Adapter 1 : Port 0 : Target 0 : LUN 4", + "model": "Virtual Disk", + "firmwareVersion": "1.0", + "isIndicationEnabled": false, + "manufacturer": "Msft", + "storagePool": "SU1_Pool", + "mediaType": "HDD", + "capacityGB": 1024, + "description": "", + "action": "" + } + } + ] + } + }, + "404": {} + } +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json new file mode 100644 index 000000000000..ffbeee06959c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d", + "resourceGroupName": "System.redmond", + "location": "redmond", + "scaleUnit": "s-cluster", + "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com", + "volume": "48f356d4-362d-49cb-a021-fafffbe0e8ad" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/volumes/48f356d4-362d-49cb-a021-fafffbe0e8ad", + "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/48f356d4-362d-49cb-a021-fafffbe0e8ad", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes", + "location": "redmond", + "tags": {}, + "properties": { + "totalCapacityGB": 1375, + "remainingCapacityGB": 1317, + "healthStatus": "Healthy", + "operationalStatus": "OK", + "description": "", + "action": "", + "volumeLabel": "ObjStore_1" + } + } + }, + "404": {} + } +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json new file mode 100644 index 000000000000..984dc9e01cd5 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d", + "resourceGroupName": "System.redmond", + "location": "redmond", + "scaleUnit": "s-cluster", + "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/volumes/48f356d4-362d-49cb-a021-fafffbe0e8ad", + "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/48f356d4-362d-49cb-a021-fafffbe0e8ad", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes", + "location": "redmond", + "tags": {}, + "properties": { + "totalCapacityGB": 1375, + "remainingCapacityGB": 1317, + "healthStatus": "Healthy", + "operationalStatus": "OK", + "description": "", + "action": "", + "volumeLabel": "ObjStore_1" + } + } + ] + } + }, + "404": {} + } +} diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md index 3fb1723bbc71..a2c2f7027c1e 100644 --- a/specification/azsadmin/resource-manager/fabric/readme.md +++ b/specification/azsadmin/resource-manager/fabric/readme.md @@ -24,7 +24,7 @@ These are the global settings for the Fabric API. title: FabricAdminClient description: Fabric Admin Client openapi-type: arm -tag: package-2016-05-01 +tag: package-2019-05-01 ``` ### Tag: package-2016-05-01 @@ -87,6 +87,35 @@ input-file: - "Microsoft.Fabric.Admin/preview/2018-10-01/Volume.json" ``` +### Tag: package-2019-05-01 + +These settings apply only when `--tag=package-2019-05-01` is specified on the command line. + +``` yaml $(tag) == 'package-2019-05-01' +input-file: + - "Microsoft.Fabric.Admin/preview/2016-05-01/ApplicationOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/ComputeOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGateway.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGatewayPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRole.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/IpPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalNetwork.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalSubnet.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/MacAddressPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/NetworkOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnitNode.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/SlbMuxInstance.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/StorageOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json" + - "Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json" + - "Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json" +``` + --- # Code Generation From f8314de15dfd3ee543196f981be9347eb64be6eb Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 22 Jul 2019 04:20:24 -0400 Subject: [PATCH 328/495] fix: adhybridhealthservice model validation issues (#6414) * fix: addsServices_update example - service is an object not an array - casing on "notificationEmailEnabledForGlobalAdmins" * fix: addsServicesUserPreference_add example - setting is an object rather than an array * fix: configuration_update example - tenant is an object rather than array * fix: services_addAlertFeedback example - alertFeedback is object instead of array - feeback -> feedback * fix: serviceMembers_getConnectorMetadata example - Missing required parameter "metricName" - flatten value in response * fix: alerts_listAddsAlerts example - additionalInformation is an array value * fix: addsServices_listServerAlerts example - additionalInformation is an array type --- .../2014-01-01/examples/AddAlertFeedback.json | 20 ++++++------ .../examples/AddUserPreference.json | 14 ++++---- .../stable/2014-01-01/examples/Alerts.json | 32 ++++++++++--------- .../examples/ConnectorMetadata.json | 29 ++++++++--------- .../2014-01-01/examples/PatchTenant.json | 8 ++--- .../2014-01-01/examples/Server_Alerts.json | 32 ++++++++++--------- .../2014-01-01/examples/UpdateService.json | 10 +++--- 7 files changed, 69 insertions(+), 76 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json index 782dc7bc69a8..1e25e5f13862 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json @@ -1,17 +1,15 @@ { "parameters": { "serviceName": "sampleServiceName", - "alertFeedback": [ - { - "level": "Error", - "state": "Active", - "shortName": "AlertShortName", - "feeback": "Like", - "comment": "SampleComment", - "consentedToShare": false, - "serviceMemberId": "SampleServiceMemberId" - } - ], + "alertFeedback": { + "level": "Error", + "state": "Active", + "shortName": "AlertShortName", + "feedback": "Like", + "comment": "SampleComment", + "consentedToShare": false, + "serviceMemberId": "SampleServiceMemberId" + }, "api-version": "2014-01-01" }, "responses": { diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json index 1d9a70d84ba8..b15f017c7a0c 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json @@ -2,14 +2,12 @@ "parameters": { "serviceName": "sampleServiceName", "featureName": "SampleFeatureName", - "setting": [ - { - "metricNames": [ - "UserPreference1", - "UserPreference2" - ] - } - ], + "setting": { + "metricNames": [ + "UserPreference1", + "UserPreference2" + ] + }, "api-version": "2014-01-01" }, "responses": { diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json index e535b5304c3e..ca0d4dd0e5df 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json @@ -27,21 +27,23 @@ } ], "scope": "SampleScope", - "additionalInformation": { - "titleName": "SampleAdditionalInfo", - "titleValue": "SampleTitle", - "properties": [ - { - "key": "Property1", - "value": "Value1" - }, - { - "key": "Property2", - "value": "Value2" - } - ], - "hasProperties": true - }, + "additionalInformation": [ + { + "titleName": "SampleAdditionalInfo", + "titleValue": "SampleTitle", + "properties": [ + { + "key": "Property1", + "value": "Value1" + }, + { + "key": "Property2", + "value": "Value2" + } + ], + "hasProperties": true + } + ], "createdDate": "2018-04-10T03:12:23.4408944Z", "resolvedDate": "2018-04-10T03:12:23.4408944Z", "lastUpdated": "2018-04-30T19:24:42.1946017Z", diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json index 673e6f5e5131..b4bae23846d1 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json @@ -2,29 +2,26 @@ "parameters": { "serviceName": "sampleServiceName", "serviceMemberId": "SampleServiceMemberId", + "metricName": "sampleMetricName", "api-version": "2014-01-01" }, "responses": { "200": { "body": { - "value": [ + "connectors": [ { - "connectors": [ - { - "connectorId": "3efbb72d-5047-4816-a7dd-73fefe16a2f3", - "connectorDisplayName": "adhsdfus1runner.adhs.com" - }, - { - "connectorId": "b891884f-051e-4a83-95af-2544101c9083", - "connectorDisplayName": "dfadhybridhealth.dfdomain.net - AAD" - } - ], - "runProfileNames": [ - "Export", - "ApplyRules", - "DeltaImport" - ] + "connectorId": "3efbb72d-5047-4816-a7dd-73fefe16a2f3", + "connectorDisplayName": "adhsdfus1runner.adhs.com" + }, + { + "connectorId": "b891884f-051e-4a83-95af-2544101c9083", + "connectorDisplayName": "dfadhybridhealth.dfdomain.net - AAD" } + ], + "runProfileNames": [ + "Export", + "ApplyRules", + "DeltaImport" ] } } diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json index 3970f6e3c32a..8f5a01a32008 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json @@ -1,10 +1,8 @@ { "parameters": { - "tenant": [ - { - "agentAutoUpdate": false - } - ], + "tenant": { + "agentAutoUpdate": false + }, "api-version": "2014-01-01" }, "responses": { diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json index c83967580650..e2f7edad9443 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json @@ -28,21 +28,23 @@ } ], "scope": "SampleScope", - "additionalInformation": { - "titleName": "SampleAdditionalInfo", - "titleValue": "SampleTitle", - "properties": [ - { - "key": "Property1", - "value": "Value1" - }, - { - "key": "Property2", - "value": "Value2" - } - ], - "hasProperties": true - }, + "additionalInformation": [ + { + "titleName": "SampleAdditionalInfo", + "titleValue": "SampleTitle", + "properties": [ + { + "key": "Property1", + "value": "Value1" + }, + { + "key": "Property2", + "value": "Value2" + } + ], + "hasProperties": true + } + ], "createdDate": "2018-04-10T03:12:23.4408944Z", "resolvedDate": "2018-04-10T03:12:23.4408944Z", "lastUpdated": "2018-04-30T19:24:42.1945017Z", diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json index ccc58f4862d5..384eea9a3444 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json @@ -1,12 +1,10 @@ { "parameters": { "serviceName": "sampleServiceName", - "service": [ - { - "notificationEmailEnabled": true, - "notificationEmailEnabledForGlobalADmins": true - } - ], + "service": { + "notificationEmailEnabled": true, + "notificationEmailEnabledForGlobalAdmins": true + }, "api-version": "2014-01-01" }, "responses": { From 7cc0e816cf09a1cde42f0796c8fab08abc5c39a4 Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Mon, 22 Jul 2019 10:06:27 -0700 Subject: [PATCH 329/495] Add fork repository configuration (#6694) --- specificationRepositoryConfiguration.json | 26 +++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index ea91332535a2..21f61fdd365b 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -2,15 +2,29 @@ "$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/specificationRepositoryConfiguration.schema.json", "sdkRepositoryMappings": { "azure-sdk-for-go": { - "main_branch": "latest", + "mainBranch": "latest", + "generationRepository": "AzureSDKAutomation/azure-sdk-for-go", "mainRepository": "Azure/azure-sdk-for-go" }, - "azure-sdk-for-java": "Azure/azure-sdk-for-java", - "azure-sdk-for-js": "Azure/azure-sdk-for-js", - "azure-sdk-for-net": "Azure/azure-sdk-for-net", - "azure-sdk-for-python": "Azure/azure-sdk-for-python", + "azure-sdk-for-java": { + "generationRepository": "AzureSDKAutomation/azure-sdk-for-java", + "mainRepository": "Azure/azure-sdk-for-java" + }, + "azure-sdk-for-js": { + "generationRepository": "AzureSDKAutomation/azure-sdk-for-js", + "mainRepository": "Azure/azure-sdk-for-js" + }, + "azure-sdk-for-net": { + "generationRepository": "AzureSDKAutomation/azure-sdk-for-net", + "mainRepository": "Azure/azure-sdk-for-net" + }, + "azure-sdk-for-python": { + "generationRepository": "AzureSDKAutomation/azure-sdk-for-python", + "mainRepository": "Azure/azure-sdk-for-python" + }, "azure-sdk-for-ruby": { - "main_branch": "latest", + "mainBranch": "latest", + "generationRepository": "AzureSDKAutomation/azure-sdk-for-ruby", "mainRepository": "Azure/azure-sdk-for-ruby" } } From d1128ad16cbb553f0d0037736736890b94494cfc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 22 Jul 2019 19:40:20 -0400 Subject: [PATCH 330/495] chore: Sort custom-words.txt (#6698) Alpha isn't required, but avoids merge conflicts what putting them at the end causes. --- custom-words.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 7af3d8d15eda..4252e015c5d6 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1,5 +1,6 @@ AADDS aadiam +AATP abcxyz ABFS Accel @@ -44,6 +45,7 @@ amlcompute amortizedcost analysisservices AND'ed +Annotatable anomalydetector anomalyfinder APAC @@ -208,6 +210,7 @@ canadaeast canceldelete cancelpipelinerun canonicalized +Carbonite catenate catenated caverphone @@ -243,6 +246,7 @@ Cloneability Cloneable closedlist closedlists +Cloudamize cloudapp cloudsimple clustermonitoring @@ -278,6 +282,7 @@ contosomedia cooldown Corda coreml +Corent Cortana cosmosdb costcenter @@ -633,6 +638,7 @@ isordered issqlcompression istransitioning isusernameavailable +ISVs items ITSM janedoe @@ -690,6 +696,7 @@ LDAP ldaps ldom leavingpool +LEDs libtrust lifecycle lifetimejobstats @@ -763,6 +770,7 @@ maxresults mbaldwin Mbps MCAS +MDATP mediaservices Mesos messagingplan @@ -1350,6 +1358,7 @@ translatortext trendingtopics triggeredwebjobs triggerruns +Turbonomic Txns Typeless UEBA @@ -1514,17 +1523,8 @@ Xero XSMB YYMMDD Zabbix +Zerto Zilla ziplist Zoho zset -Annotatable -ISVs -Cloudamize -Turbonomic -Zerto -Corent -Carbonite -AATP -MDATP -LEDs From 93a6ba1ff1cd98058e0a76dfee501053d57f3a0c Mon Sep 17 00:00:00 2001 From: tomersh26 Date: Tue, 23 Jul 2019 05:57:33 +0300 Subject: [PATCH 331/495] Introduce ADX Command (#6667) * Introduce ADX Command * Use full ADX name --- .../2018-06-01/entityTypes/Pipeline.json | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index db33274f4a1c..6daeeebf04ee 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -4111,6 +4111,37 @@ "dataset" ] }, + "AzureDataExplorerCommand": { + "x-ms-discriminator-value": "AzureDataExplorerCommand", + "description": "Azure Data Explorer command activity.", + "allOf": [ + { + "$ref": "#/definitions/ExecutionActivity" + } + ], + "properties": { + "typeProperties": { + "description": "Azure Data Explorer command activity properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureDataExplorerCommandActivityTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "AzureDataExplorerCommandActivityTypeProperties": { + "description": "Azure Data Explorer command activity properties.", + "properties": { + "command": { + "type": "object", + "description": "A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "command" + ] + }, "LookupActivity": { "x-ms-discriminator-value": "Lookup", "description": "Lookup activity.", From 5795c13cbbac4bd7305dcd8dcc68c6cddbe9317e Mon Sep 17 00:00:00 2001 From: Tushar Bhargava Date: Mon, 22 Jul 2019 21:46:29 -0700 Subject: [PATCH 332/495] IMDS: Adding Swagger spec for 2019-04-30 version. (#6572) * Adding missing Swagger spec. * Updated README.md with reference to added directory. --- .../2019-04-30/examples/GetAttestedData.json | 15 + .../2019-04-30/examples/GetIdentityInfo.json | 13 + .../2019-04-30/examples/GetIdentityToken.json | 20 + .../examples/GetInstanceMetadata.json | 50 ++ .../stable/2019-04-30/imds.json | 629 ++++++++++++++++++ specification/imds/data-plane/readme.md | 25 + 6 files changed, 752 insertions(+) create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json create mode 100644 specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json new file mode 100644 index 000000000000..75d3f22964a9 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2019-04-30", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json new file mode 100644 index 000000000000..a71e5c82dd81 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json new file mode 100644 index 000000000000..d25c2d507ab6 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } + } + } +} \ No newline at end of file diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json new file mode 100644 index 000000000000..ebed2fed07b4 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "provider": "Microsoft.Compute", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" + } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" + } + } + } + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json new file mode 100644 index 000000000000..b55539f58821 --- /dev/null +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json @@ -0,0 +1,629 @@ +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-04-30" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } + } + } + }, + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } + } + } + }, + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." + }, + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." + }, + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." + }, + "name": { + "type": "string", + "description": "This is the name of the VM." + }, + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." + }, + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." + }, + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." + }, + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type":"string", + "description":"This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type":"array", + "description": "This contains data about the network interface.", + "items": { + "type": "object", + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type":"object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref":"#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type":"array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } + } + } + }, + "ipv6": { + "type":"object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type":"array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref":"#/definitions/Ipv6Properties" + } + } + } + }, + "macAddress": { + "type":"string", + "description":"This is the MAC address of the interface." + } + } + }, + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." + }, + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type":"string", + "description":"This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type":"string", + "description":"This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type":"string", + "description":"This is the address range of the subnet." + }, + "prefix": { + "type":"string", + "description":"This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md index b9bd7a3f2063..8d5bc2be3d7b 100644 --- a/specification/imds/data-plane/readme.md +++ b/specification/imds/data-plane/readme.md @@ -53,6 +53,15 @@ input-file: - Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json ``` +### Tag: package-2019-04-30 + +These settings apply only when `--tag=package-2019-04-30` is specified on the command line. + +```yaml $(tag) == 'package-2019-04-30' +input-file: +- Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json +``` + ### Tag: package-2019-06-01 These settings apply only when `--tag=package-2019-06-01` is specified on the command line. @@ -113,6 +122,22 @@ input-file: - $.definitions.IdentityTokenResponse.properties.msi_res_id - $.definitions.IdentityErrorResponse.properties.error_description + - suppress: DefinitionsPropertiesNamesCamelCase + reason: The following properties follow the Oath2 spec, which does not use camelCase. + from: Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json + where: + - $.definitions.IdentityTokenResponse.properties.access_token + - $.definitions.IdentityTokenResponse.properties.expires_in + - $.definitions.IdentityTokenResponse.properties.expires_on + - $.definitions.IdentityTokenResponse.properties.ext_expires_in + - $.definitions.IdentityTokenResponse.properties.not_before + - $.definitions.IdentityTokenResponse.properties.resource + - $.definitions.IdentityTokenResponse.properties.token_type + - $.definitions.IdentityTokenResponse.properties.client_id + - $.definitions.IdentityTokenResponse.properties.object_id + - $.definitions.IdentityTokenResponse.properties.msi_res_id + - $.definitions.IdentityErrorResponse.properties.error_description + - suppress: DefinitionsPropertiesNamesCamelCase reason: The following properties follow the Oath2 spec, which does not use camelCase. from: Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json From f76827f3c91c302819b106cb2963b842bd57140d Mon Sep 17 00:00:00 2001 From: jjbfour Date: Mon, 22 Jul 2019 21:55:34 -0700 Subject: [PATCH 333/495] [Hub Generated] Review request for Microsoft.Portal to add version preview/2019-01-01-preview (#6643) * Adds base for updating Microsoft.Portal from version preview/2015-08-01-preview to version 2019-01-01-preview * Updates readme * Updates API version in new specs and examples * Fix readmes for new api version --- .../examples/createOrUpdateDashboard.json | 152 ++++ .../examples/deleteDashboard.json | 12 + .../examples/getDashboard.json | 59 ++ .../listDashboardsByResourceGroup.json | 109 +++ .../listDashboardsBySubscription.json | 108 +++ .../examples/operationsList.json | 53 ++ .../examples/updateDashboard.json | 65 ++ .../preview/2019-01-01-preview/portal.json | 686 ++++++++++++++++++ .../portal/resource-manager/readme.go.md | 17 + .../portal/resource-manager/readme.md | 12 +- .../portal/resource-manager/readme.ruby.md | 18 + 11 files changed, 1289 insertions(+), 2 deletions(-) create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json new file mode 100644 index 000000000000..47560e5e03dd --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json new file mode 100644 index 000000000000..f0d8b74e0047 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json new file mode 100644 index 000000000000..b397a514c868 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json new file mode 100644 index 000000000000..4aef8665fdd7 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json new file mode 100644 index 000000000000..d447e3b4ffeb --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json new file mode 100644 index 000000000000..c95da08531ff --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Portal/dashboards/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Get Dashboard", + "description": "Reads the dashboards for the subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/write", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Set Dashboard", + "description": "Add or modify dashboard to a subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/delete", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Delete Dashboard", + "description": "Removes the dashboard from the subscription." + } + }, + { + "name": "Microsoft.Portal/register/action", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Portal Resource Provider", + "operation": "Registers the Portal Resource Provider", + "description": "Registers the subscription for the portal resource provider and enables shared dashboards." + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json new file mode 100644 index 000000000000..b993eb1ae2e5 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json new file mode 100644 index 000000000000..f3b50b3eb1c5 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json @@ -0,0 +1,686 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-01-01-preview", + "title": "portal", + "description": "Allows creation and deletion of Azure Shared Dashboards.", + "x-ms-code-generation-settings": { + "name": "portalClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Portal/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List the portal operations": { + "$ref": "examples/operationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "The Microsoft Portal operations API.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}": { + "put": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_CreateOrUpdate", + "x-ms-examples": { + "Create or update a Dashboard": { + "$ref": "examples/createOrUpdateDashboard.json" + } + }, + "description": "Creates or updates a Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The parameters required to create or update a dashboard." + } + ], + "responses": { + "201": { + "description": "Created response definition. Resource has been created", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "200": { + "description": "Resource already exists.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "delete": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Delete", + "x-ms-examples": { + "Delete a Dashboard": { + "$ref": "examples/deleteDashboard.json" + } + }, + "description": "Deletes the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "OK resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Get", + "x-ms-examples": { + "Get a Dashboard": { + "$ref": "examples/getDashboard.json" + } + }, + "description": "Gets the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "patch": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Update", + "x-ms-examples": { + "Update a Dashboard": { + "$ref": "examples/updateDashboard.json" + } + }, + "description": "Updates an existing Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchableDashboard" + }, + "description": "The updatable fields of a Dashboard." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListByResourceGroup", + "x-ms-examples": { + "List all custom resource providers on the resourceGroup": { + "$ref": "examples/listDashboardsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the Dashboards within a resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListBySubscription", + "x-ms-examples": { + "List all custom resource providers on the subscription": { + "$ref": "examples/listDashboardsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the dashboards within a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "DashboardListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The array of custom resource provider manifests." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of dashboards." + }, + "DashboardParts": { + "type": "object", + "description": "A dashboard part.", + "required": [ + "position" + ], + "properties": { + "position": { + "type": "object", + "required": [ + "x", + "y", + "rowSpan", + "colSpan" + ], + "description": "The dashboard's part position.", + "properties": { + "x": { + "type": "number", + "description": "The dashboard's part x coordinate." + }, + "y": { + "type": "number", + "description": "The dashboard's part y coordinate." + }, + "rowSpan": { + "type": "number", + "description": "The dashboard's part row span." + }, + "colSpan": { + "type": "number", + "description": "The dashboard's part column span." + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardLens": { + "type": "object", + "description": "A dashboard lens.", + "required": [ + "order", + "parts" + ], + "properties": { + "order": { + "type": "integer", + "description": "The lens order." + }, + "parts": { + "type": "object", + "description": "The dashboard parts.", + "additionalProperties": { + "$ref": "#/definitions/DashboardParts" + } + }, + "metadata": { + "description": "The dashboard len's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardProperties": { + "type": "object", + "description": "The shared dashboard properties.", + "properties": { + "lenses": { + "type": "object", + "description": "The dashboard lenses.", + "additionalProperties": { + "$ref": "#/definitions/DashboardLens" + } + }, + "metadata": { + "description": "The dashboard metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Dashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "required": [ + "location" + ], + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "PatchableDashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "ResourceProviderOperationList": { + "type": "object", + "description": "Results of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "ResourceProviderOperation": { + "type": "object", + "description": "Supported operations of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane.", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Custom Providers.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DashboardNameParameter": { + "name": "dashboardName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dashboard.", + "minLength": 3, + "maxLength": 64, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/readme.go.md index 464680c86c54..b39132a5daf4 100644 --- a/specification/portal/resource-manager/readme.go.md +++ b/specification/portal/resource-manager/readme.go.md @@ -9,6 +9,23 @@ go: clear-output-folder: true ``` +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-01-01-preview + - tag: package-2015-08-01-preview +``` + +### Tag: package-2019-01-01-preview and go + +These settings apply only when `--tag=package-2019-01-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag) == 'package-2019-01-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace) +``` + ### Tag: package-2015-08-01-preview and go These settings apply only when `--tag=package-2015-08-01-preview --go` is specified on the command line. diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 74f1cdff4e21..230afe8ebc07 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -26,15 +26,23 @@ These are the global settings for the portal. ``` yaml openapi-type: arm -tag: package-2015-08-01-preview +tag: package-2019-01-01-preview ``` +### Tag: package-2019-01-01-preview + +These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-01-preview' +input-file: + - Microsoft.Portal/preview/2019-01-01-preview/portal.json +``` ### Tag: package-2015-08-01-preview These settings apply only when `--tag=package-2015-08-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2015-08-01-preview' +``` yaml $(tag) == 'package-2015-08-01-preview' input-file: - Microsoft.Portal/preview/2015-08-01-preview/portal.json ``` diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/readme.ruby.md index 501b9edc68cd..02f8f695eec7 100644 --- a/specification/portal/resource-manager/readme.ruby.md +++ b/specification/portal/resource-manager/readme.ruby.md @@ -8,6 +8,24 @@ package-version: 2015-08-01-preview azure-arm: true ``` +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2019-01-01-preview + - tag: package-2015-08-01-preview +``` + +### Tag: package-2019-01-01-preview and ruby + +These settings apply only when `--tag=package-2019-01-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2019-01-01-preview' && $(ruby) +namespace: Microsoft.Portal +output-folder: $(ruby-sdks-folder)/portal +``` + ### Tag: package-2015-08-01-preview and ruby These settings apply only when `--tag=package-2015-08-01-preview --ruby` is specified on the command line. From ee4f8be50f8a9eb59265b4cb092dc58783bb1523 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 23 Jul 2019 01:01:02 -0400 Subject: [PATCH 334/495] fix: azsadmin character encoding (#6685) --- .../preview/2017-02-01-preview/KeyVault.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json b/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json index 692f7779bb29..4a2e7c4b2c11 100644 --- a/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json +++ b/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json @@ -77,7 +77,7 @@ "type": "string" }, "description": { - "description": "The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise � it will be used in tool tips and detailed views.", + "description": "The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise it will be used in tool tips and detailed views.", "type": "string" } } From 9761784a88f119338bae760909a4546a7f9be278 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 23 Jul 2019 14:53:16 -0400 Subject: [PATCH 335/495] fix: datafactory character encoding (#6686) --- .../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 6daeeebf04ee..cd83911b990c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1725,7 +1725,7 @@ }, "batchSize": { "type": "object", - "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)." + "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)." } } }, @@ -1748,7 +1748,7 @@ }, "batchSize": { "type": "object", - "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)." + "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)." } } }, From 142917d7bcd3badb0933b8dd7486cacec12c06b5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 23 Jul 2019 14:53:51 -0400 Subject: [PATCH 336/495] chore: jsonfmt devtestlabs (#6705) --- .../stable/2018-09-15/examples/Labs_Delete.json | 1 - .../stable/2018-09-15/examples/VirtualMachines_Redeploy.json | 1 - .../stable/2018-09-15/examples/VirtualNetworks_Delete.json | 1 - 3 files changed, 3 deletions(-) diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json index 8cbf3f11fc94..6b4b5a2a48f4 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json @@ -11,4 +11,3 @@ "204": {} } } - diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json index 07bd537f6e90..a8bfaf2ad517 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json @@ -12,4 +12,3 @@ "202": {} } } - diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json index ac5e1fd20f43..81e4b24e8741 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json @@ -12,4 +12,3 @@ "204": {} } } - From c62053d9e73769503c7081bcd82c0cef34f5fba3 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Tue, 23 Jul 2019 15:34:13 -0700 Subject: [PATCH 337/495] added iothub java readme (#5993) --- .../iothub/resource-manager/readme.java.md | 61 +++++++++++++++++++ .../iothub/resource-manager/readme.md | 46 +------------- 2 files changed, 62 insertions(+), 45 deletions(-) create mode 100644 specification/iothub/resource-manager/readme.java.md diff --git a/specification/iothub/resource-manager/readme.java.md b/specification/iothub/resource-manager/readme.java.md new file mode 100644 index 000000000000..3b3ca91ecd2f --- /dev/null +++ b/specification/iothub/resource-manager/readme.java.md @@ -0,0 +1,61 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.iothub +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-preview-2019-03 + - tag: package-2018-12-preview + - tag: package-2018-04 +``` + +### Tag: package-preview-2019-03 + +These settings apply only when `--tag=package-preview-2019-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-preview-2019-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.iothub.v2019_03_22_preview + output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2019_03_22_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-12-preview and java + +These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview + output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-04 and java + +These settings apply only when `--tag=package-2018-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.iothub.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index c77400fb8613..71942bac7156 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -133,48 +133,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.iothub -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-12-preview - - tag: package-2018-04 -``` - -### Tag: package-2018-12-preview and java - -These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview - output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-04 and java - -These settings apply only when `--tag=package-2018-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.iothub.v2018_04_01 - output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.go.md) From 2fcd0139889b923094b39a6aae015e1ea3604b68 Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Tue, 23 Jul 2019 15:34:53 -0700 Subject: [PATCH 338/495] remove id validation (#6703) --- .../stable/2019-01-01/apimanagement.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json index 375570447cd4..7bd0863d4091 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json @@ -167,7 +167,6 @@ "description": "API identifier. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 80, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" }, "ApiIdRevParameter": { @@ -229,7 +228,6 @@ "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 80, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" }, "CacheIdParameter": { @@ -478,7 +476,6 @@ "description": "Operation identifier within an API. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 80, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" }, "PolicyExportFormat": { @@ -531,7 +528,6 @@ "description": "Product identifier. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 256, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" }, "PropertyIdParameter": { @@ -685,7 +681,6 @@ "description": "User identifier. Must be unique in the current API Management service instance.", "minLength": 1, "maxLength": 80, - "pattern": "^[^*#&+:<>?]+$", "x-ms-parameter-location": "method" } } From 9dd05d32fbb419d32d464747ca221df87feca4ca Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 24 Jul 2019 04:07:52 -0400 Subject: [PATCH 339/495] fix: managementgroups model validation (#6697) - Add "body" to response - createGroupRequest -> createManagementGroupRequest --- .../examples/CheckManagementGroupNameAvailability.json | 8 +++++--- .../2018-01-01-preview/examples/PutManagementGroup.json | 2 +- .../examples/CheckManagementGroupNameAvailability.json | 8 +++++--- .../examples/StartTenantBackfillRequest.json | 6 ++++-- .../examples/TenantBackfillStatusRequest.json | 6 ++++-- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json index 410980412b47..491ff4540b01 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json @@ -9,9 +9,11 @@ }, "responses": { "200": { - "nameAvailable": "true|false", - "reason": "Invalid|AlreadyExists", - "message": "" + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "" + } } } } diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json index 13156d60aa8c..17c4a41cab8e 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2018-01-01-preview", "groupId": "ChildGroup", - "createGroupRequest": { + "createManagementGroupRequest": { "properties": { "displayName": "ChildGroup", "parent": { diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json index 069f200486bc..b4029257d647 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json @@ -9,9 +9,11 @@ }, "responses": { "200": { - "nameAvailable": "true|false", - "reason": "Invalid|AlreadyExists", - "message": "" + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "" + } } } } diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json index ebf478b568ca..606eb7ca1963 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json @@ -5,8 +5,10 @@ }, "responses": { "200": { - "tenantId": "20000000-0000-0000-0000-000000000000", - "status": "Started" + "body": { + "tenantId": "20000000-0000-0000-0000-000000000000", + "status": "Started" + } } } } diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json index e80a4a561964..1e95785a5fcc 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json @@ -5,8 +5,10 @@ }, "responses": { "200": { - "tenantId": "20000000-0000-0000-0000-000000000000", - "status": "Started" + "body": { + "tenantId": "20000000-0000-0000-0000-000000000000", + "status": "Started" + } } } } From 20c172bfc51d6a38aca3cdf6b3faa7845e58cc11 Mon Sep 17 00:00:00 2001 From: mabhard <52765900+mabhard@users.noreply.github.com> Date: Wed, 24 Jul 2019 04:22:18 -0700 Subject: [PATCH 340/495] removing non-ascii character (#6710) --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 9afb3356de34..e3b6e57b96f3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -5483,7 +5483,7 @@ "items": { "type": "string" }, - "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." } }, "allOf": [ @@ -5504,7 +5504,7 @@ "items": { "type": "string" }, - "description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." } }, "allOf": [ From a871d83f540064d5acdc7473ae10840dd850e541 Mon Sep 17 00:00:00 2001 From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Date: Thu, 25 Jul 2019 10:24:02 +0800 Subject: [PATCH 341/495] update preproduction pipeline for testing avocado@0.5.0 (#6646) --- preproduction-azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml index e567a67f39e6..1d7b44ce22f6 100644 --- a/preproduction-azure-pipelines.yml +++ b/preproduction-azure-pipelines.yml @@ -110,3 +110,15 @@ jobs: displayName: 'install .Net' - script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' displayName: 'LintDiff' + +- job: "Avocado" + pool: + vmImage: 'Ubuntu 16.04' + steps: + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + - script: 'npm install -D @azure/avocado@0.5.0' + - script: './node_modules/.bin/avocado' + displayName: 'Avocado' From ad67077b46e7eea880a03324b127d5d30b3adbe2 Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com> Date: Thu, 25 Jul 2019 11:42:00 +0530 Subject: [PATCH 342/495] Updated QnAMaker Runtime API headers descriptions (#6559) * Updated QnAMaker Runtime API headers descriptions * Update swagger title * removed content-type header * Common tag and title for Runtime Undo Authorization header change * Update title * update readme * update readme --- .../cognitiveservices/data-plane/QnAMaker/readme.md | 7 ++++++- .../data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/readme.md b/specification/cognitiveservices/data-plane/QnAMaker/readme.md index 65005674ef5b..20e211352a55 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/readme.md +++ b/specification/cognitiveservices/data-plane/QnAMaker/readme.md @@ -22,7 +22,6 @@ input-file: stable/v4.0/QnAMaker.json ``` ``` yaml - tag: runtime_release_4_0 add-credentials: true openapi-type: data-plane @@ -36,6 +35,12 @@ These settings apply only when `--tag=runtime_release_4_0` is specified on the c input-file: stable/v4.0/QnAMakerRuntime.json ``` +``` yaml +batch: + - tag: release_4_0 + - tag: runtime_release_4_0 +``` + ## Swagger to SDK This section describes what SDK should be generated by the automatic system. diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json index 2fd792ca1d99..adc3dd313096 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "version": "4.0", - "title": "QnAMaker Client", + "title": "QnAMaker Runtime Client", "description": "An API for QnAMaker runtime" }, "securityDefinitions": { From 48e99745e0d65030f4a4ed643c7ae03c3d816693 Mon Sep 17 00:00:00 2001 From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Date: Thu, 25 Jul 2019 15:49:29 +0800 Subject: [PATCH 343/495] update package '@azure/rest-api-specs-scripts' 0.4.0 (#6722) * update package '@azure/rest-api-specs-scripts' 0.4.0 * remove '@azure/rest-api-specs-scripts' related job in preproduction pipeline. * fix --- package.json | 2 +- preproduction-azure-pipelines.yml | 75 ------------------------------- 2 files changed, 1 insertion(+), 76 deletions(-) diff --git a/package.json b/package.json index cc36876f6acc..5ecad98d56eb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "license": "MIT", "devDependencies": { "@azure/avocado": "^0.4.1", - "@azure/rest-api-specs-scripts": "^0.3.9", + "@azure/rest-api-specs-scripts": "^0.4.0", "@ts-common/commonmark-to-markdown": "^1.2.0", "@ts-common/fs": "0.2.0", "@ts-common/iterator": "^0.3.6", diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml index 1d7b44ce22f6..06d4aa41adb4 100644 --- a/preproduction-azure-pipelines.yml +++ b/preproduction-azure-pipelines.yml @@ -36,81 +36,6 @@ jobs: - script: 'npm run spellcheck' displayName: 'Run cSpell' -- job: "Syntax" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - script: | - echo TRAVIS: $(TRAVIS) - echo TRAVIS_BRANCH: $(TRAVIS_BRANCH) - echo TRAVIS_REPO_SLUG: $(TRAVIS_REPO_SLUG) - echo TRAVIS_PULL_REQUEST: $(TRAVIS_PULL_REQUEST) - echo TRAVIS_PULL_REQUEST_SLUG: $(TRAVIS_PULL_REQUEST_SLUG) - echo TRAVIS_PULL_REQUEST_SHA: $(TRAVIS_PULL_REQUEST_SHA) - echo PR_ONLY: $(PR_ONLY) - displayName: "Info" - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' - - script: 'npm test -- test/syntax.js' - displayName: 'Syntax validation' - -- job: "Semantic" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' - - script: 'npm run tsc && node scripts/semanticValidation.js' - displayName: 'Semantic Validation' - -- job: "ModelValidation" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' - - script: 'npm run tsc && node scripts/modelValidation.js' - displayName: 'Model Validation' - -- job: "BreakingChange" - pool: - vmImage: 'Ubuntu 16.04' - steps: - - script: 'scripts/install-dotnet.sh' - displayName: 'Install .Net' - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' - - script: 'npm run tsc && node scripts/breaking-change.js' - displayName: 'Breaking Changes' - -- job: "LintDiff" - variables: - NODE_OPTIONS: '--max-old-space-size=8192' - pool: - vmImage: 'Ubuntu 16.04' - steps: - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - script: 'npm install -D @azure/rest-api-specs-scripts@0.4.0' - - script: 'scripts/install-dotnet.sh' - displayName: 'install .Net' - - script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' - displayName: 'LintDiff' - - job: "Avocado" pool: vmImage: 'Ubuntu 16.04' From 79ecf24dcb870e4b293a8fef7a597a2cd1340d12 Mon Sep 17 00:00:00 2001 From: Donald Liu <32778916+PakDLiu@users.noreply.github.com> Date: Thu, 25 Jul 2019 01:26:32 -0700 Subject: [PATCH 344/495] Added Keyvault and MSI parameters to create SAP Monitor (#6711) * Added Keyvault and MSI parameters to create SAP Monitor * Camel case for new fields * Fixed casing --- .../2017-11-03-preview/examples/SapMonitors_Create.json | 6 ++++++ .../2017-11-03-preview/examples/SapMonitors_Get.json | 2 ++ .../2017-11-03-preview/examples/SapMonitors_List.json | 4 ++++ .../examples/SapMonitors_PatchTags.json | 2 ++ .../examples/SapMonitors_PatchTags_Delete.json | 2 ++ .../preview/2017-11-03-preview/hanaonazure.json | 8 ++++++++ 6 files changed, 24 insertions(+) diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json index f12ecb2b5cde..10f8de0e3941 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json @@ -19,6 +19,8 @@ "hanaDbSqlPort": 1234, "hanaDbUsername": "", "hanaDbPassword": "", + "HanaDbPasswordKeyVaultURL": "", + "HanaDbCredentialsMsiID": "", "provisioningState": "Succeeded" } } @@ -39,6 +41,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } } @@ -58,6 +62,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Accepted" } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json index c792b327b87f..ea1b1cee9229 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json @@ -21,6 +21,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json index 79aeea9453ac..dad3f9d0c1bd 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json @@ -21,6 +21,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } }, @@ -38,6 +40,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json index 591055ebc0cc..62a785b4a80a 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json @@ -26,6 +26,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json index 95496eafca2e..af464a6f3549 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json @@ -22,6 +22,8 @@ "hanaDbName": "", "hanaDbSqlPort": 1234, "hanaDbUsername": "", + "hanaDbPasswordKeyVaultUrl": "", + "hanaDbCredentialsMsiId": "", "provisioningState": "Succeeded" } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index 947a2844fce1..66d514dd23d2 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -1212,6 +1212,14 @@ "type": "string", "description": "Database password of the HANA instance." }, + "hanaDbPasswordKeyVaultUrl": { + "type": "string", + "description": "KeyVault URL link to the password for the HANA database." + }, + "hanaDbCredentialsMsiId": { + "type": "string", + "description": "MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM." + }, "provisioningState": { "readOnly": true, "type": "string", From 548e21c844ff4b520495a13772f621069bce0b8b Mon Sep 17 00:00:00 2001 From: Tomer Schwartz Date: Thu, 25 Jul 2019 22:01:39 +0300 Subject: [PATCH 345/495] Change type name and add timeout property (#6717) --- .../stable/2018-06-01/entityTypes/Pipeline.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index cd83911b990c..945d523739d5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -4111,7 +4111,7 @@ "dataset" ] }, - "AzureDataExplorerCommand": { + "AzureDataExplorerCommandActivity": { "x-ms-discriminator-value": "AzureDataExplorerCommand", "description": "Azure Data Explorer command activity.", "allOf": [ @@ -4136,6 +4136,10 @@ "command": { "type": "object", "description": "A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string)." + }, + "commandTimeout": { + "type": "object", + "description": "Control command timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)" } }, "required": [ From 6916d18db4319b0a0e3447e11188dfb8a573447c Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Thu, 25 Jul 2019 14:13:41 -0700 Subject: [PATCH 346/495] Update azure-sdk-for-go to test in production (#6728) --- specificationRepositoryConfiguration.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 21f61fdd365b..b175c62e50eb 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -3,8 +3,10 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "mainBranch": "latest", + "integrationBranchPrefix": "sdkAutomationProdTest", "generationRepository": "AzureSDKAutomation/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go" + "integrationRepository": "AzureSDKAutomation/azure-sdk-for-go", + "mainRepository": "test-repo-billy/azure-sdk-for-go" }, "azure-sdk-for-java": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-java", From a28a3fca492d332b0e515f0017551cb692772b29 Mon Sep 17 00:00:00 2001 From: Enrique Jaimes <50640110+enjaimes@users.noreply.github.com> Date: Thu, 25 Jul 2019 15:06:42 -0700 Subject: [PATCH 347/495] Add maxComplexObjectsInCollectionsPerDocument to ServiceStats limits (#6721) --- .../examples/SearchServiceGetServiceStatistics.json | 3 ++- .../stable/2019-05-06/searchservice.json | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json index 65d2bdcebfc1..791e9250688c 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json @@ -36,7 +36,8 @@ "limits": { "maxFieldsPerIndex": 1000, "maxFieldNestingDepthPerIndex": 10, - "maxComplexCollectionFieldsPerIndex": 100 + "maxComplexCollectionFieldsPerIndex": 100, + "maxComplexObjectsInCollectionsPerDocument": 3000 } } } diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json index a22827cf6516..80ecec82676c 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json @@ -5290,6 +5290,12 @@ "format": "int32", "x-nullable": true, "description": "The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index." + }, + "maxComplexObjectsInCollectionsPerDocument": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum number of objects in complex collections allowed per document." } }, "description": "Represents various service level limits." From 17b19b82bc5d02b09395d0294f6cb35981be455f Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Thu, 25 Jul 2019 15:36:52 -0700 Subject: [PATCH 348/495] Change python integration repository to fork (#6729) --- specificationRepositoryConfiguration.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index b175c62e50eb..3ee346986a32 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -22,6 +22,7 @@ }, "azure-sdk-for-python": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-python", + "integrationRepository": "AzureSDKAutomation/azure-sdk-for-python", "mainRepository": "Azure/azure-sdk-for-python" }, "azure-sdk-for-ruby": { From a2208da72be174bdd4e9ab1687e73197039d31c2 Mon Sep 17 00:00:00 2001 From: Junbo Wang Date: Fri, 26 Jul 2019 13:17:20 +0800 Subject: [PATCH 349/495] Add new property for CORS settings (#6478) --- .../2018-10-01/examples/Operations_List.json | 2 +- .../SignalR_CheckNameAvailability.json | 2 +- .../examples/SignalR_CreateOrUpdate.json | 18 +++++++++++++++--- .../2018-10-01/examples/SignalR_Delete.json | 2 +- .../2018-10-01/examples/SignalR_Get.json | 10 ++++++++-- .../examples/SignalR_ListByResourceGroup.json | 10 ++++++++-- .../examples/SignalR_ListBySubscription.json | 10 ++++++++-- .../2018-10-01/examples/SignalR_ListKeys.json | 2 +- .../examples/SignalR_RegenerateKey.json | 2 +- .../2018-10-01/examples/SignalR_Restart.json | 2 +- .../2018-10-01/examples/SignalR_Update.json | 18 +++++++++++++++--- .../2018-10-01/examples/Usages_List.json | 2 +- .../stable/2018-10-01/signalr.json | 19 ++++++++++++++++++- 13 files changed, 79 insertions(+), 20 deletions(-) diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json index 2d82aa54b0d8..39a0332b74e8 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json @@ -21,4 +21,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json index db3ef52f8391..eec9026b6f70 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json @@ -17,4 +17,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json index ad34eb93d140..37a0a97c5d59 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json @@ -18,7 +18,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } } }, "api-version": "2018-10-01", @@ -49,7 +55,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -69,4 +81,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json index 225dc4f4e7cf..4134abc4a053 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json @@ -13,4 +13,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json index 434e03dc6cbf..bc96ca6773de 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json @@ -28,7 +28,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -40,4 +46,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json index ccd96cc467d0..b1029852ff6e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json @@ -29,7 +29,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -43,4 +49,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json index ff858e6204cf..e9ff632bffd5 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json @@ -28,7 +28,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -42,4 +48,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json index a4ed7d20e9a1..aac543c0adf8 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json @@ -15,4 +15,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json index 8c454f0e9548..c3e7d2fc9f32 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json @@ -21,4 +21,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json index 225dc4f4e7cf..4134abc4a053 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json @@ -13,4 +13,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json index fc5f666aa6de..17b356d16d7e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json @@ -17,7 +17,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } } }, "api-version": "2018-10-01", @@ -48,7 +54,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -65,4 +77,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json index 81728de0e5d5..fe01ea5d39da 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json @@ -33,4 +33,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json index 6404524ff2fb..7f4dc538bd2e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json @@ -893,6 +893,10 @@ "items": { "$ref": "#/definitions/SignalRFeature" } + }, + "cors": { + "$ref": "#/definitions/SignalRCorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." } } }, @@ -930,6 +934,19 @@ } } }, + "SignalRCorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "SignalRKeys": { "description": "A class represents the access keys of SignalR service.", "type": "object", @@ -1120,4 +1137,4 @@ ] } ] -} +} \ No newline at end of file From c9109b9547f2fdb7693c8d42c75f042747257ad0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 26 Jul 2019 01:28:03 -0400 Subject: [PATCH 350/495] chore: jsonfmt datafactory (#6654) --- .../preview/2017-09-01-preview/entityTypes/Pipeline.json | 6 ++++-- .../stable/2018-06-01/entityTypes/Pipeline.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json index 02b6ad9a1a16..554d2135c6b2 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json @@ -2197,7 +2197,7 @@ }, "SSISAccessCredential": { "description": "SSIS access credential.", - "type":"object", + "type": "object", "properties": { "domain": { "type": "object", @@ -2244,7 +2244,9 @@ } }, "required": [ - "logPath","type","typeProperties" + "logPath", + "type", + "typeProperties" ] }, "SSISLogLocationTypeProperties": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 945d523739d5..6b28676550e2 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -3847,7 +3847,7 @@ }, "SSISAccessCredential": { "description": "SSIS access credential.", - "type":"object", + "type": "object", "properties": { "domain": { "type": "object", @@ -3894,7 +3894,9 @@ } }, "required": [ - "logPath","type","typeProperties" + "logPath", + "type", + "typeProperties" ] }, "SSISLogLocationTypeProperties": { From 7936730ee4e746dd7af1a0a97b20ba4779a2a35c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 26 Jul 2019 03:41:17 -0400 Subject: [PATCH 351/495] chore: jsonfmt signalr (#6735) --- .../stable/2018-10-01/examples/Operations_List.json | 2 +- .../2018-10-01/examples/SignalR_CheckNameAvailability.json | 2 +- .../stable/2018-10-01/examples/SignalR_CreateOrUpdate.json | 2 +- .../stable/2018-10-01/examples/SignalR_Delete.json | 2 +- .../stable/2018-10-01/examples/SignalR_Get.json | 2 +- .../stable/2018-10-01/examples/SignalR_ListByResourceGroup.json | 2 +- .../stable/2018-10-01/examples/SignalR_ListBySubscription.json | 2 +- .../stable/2018-10-01/examples/SignalR_ListKeys.json | 2 +- .../stable/2018-10-01/examples/SignalR_RegenerateKey.json | 2 +- .../stable/2018-10-01/examples/SignalR_Restart.json | 2 +- .../stable/2018-10-01/examples/SignalR_Update.json | 2 +- .../stable/2018-10-01/examples/Usages_List.json | 2 +- .../Microsoft.SignalRService/stable/2018-10-01/signalr.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json index 39a0332b74e8..2d82aa54b0d8 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json index eec9026b6f70..db3ef52f8391 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json index 37a0a97c5d59..89fdfeb74e49 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json @@ -81,4 +81,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json index 4134abc4a053..225dc4f4e7cf 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json index bc96ca6773de..7b12b1707fd7 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json index b1029852ff6e..e00efbbcf0b3 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json index e9ff632bffd5..fc404f3efb29 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json index aac543c0adf8..a4ed7d20e9a1 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json index c3e7d2fc9f32..8c454f0e9548 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json index 4134abc4a053..225dc4f4e7cf 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json index 17b356d16d7e..7e58532bccfe 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json index fe01ea5d39da..81728de0e5d5 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json index 7f4dc538bd2e..3f0b94fae3f3 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json @@ -1137,4 +1137,4 @@ ] } ] -} \ No newline at end of file +} From 96f4dafb997d45071ca3752278b5a5e1dfccbbe0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 26 Jul 2019 12:49:37 -0400 Subject: [PATCH 352/495] fix: datafactory model validation (#6733) Remove header/null body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/Datasets_Delete.json | 22 ++--------------- .../examples/Factories_CancelPipelineRun.json | 11 +-------- .../examples/Factories_Delete.json | 21 ++-------------- .../IntegrationRuntimeNodes_Delete.json | 18 ++------------ .../examples/IntegrationRuntimes_Delete.json | 22 ++--------------- .../IntegrationRuntimes_RemoveNode.json | 18 ++------------ .../examples/IntegrationRuntimes_Start.json | 11 +-------- .../examples/IntegrationRuntimes_Stop.json | 20 ++-------------- .../IntegrationRuntimes_SyncCredentials.json | 9 +------ .../examples/IntegrationRuntimes_Upgrade.json | 9 +------ .../examples/LinkedServices_Delete.json | 22 ++--------------- .../examples/Pipelines_Delete.json | 22 ++--------------- .../examples/Triggers_Delete.json | 22 ++--------------- .../examples/Triggers_Start.json | 11 +-------- .../examples/Triggers_Stop.json | 11 +-------- .../2018-06-01/examples/Datasets_Delete.json | 22 ++--------------- .../2018-06-01/examples/Datasets_Get.json | 11 +-------- .../2018-06-01/examples/Factories_Delete.json | 22 ++--------------- .../2018-06-01/examples/Factories_Get.json | 11 +-------- .../IntegrationRuntimeNodes_Delete.json | 22 ++--------------- ...egrationRuntimeObjectMetadata_Refresh.json | 14 +---------- .../examples/IntegrationRuntimes_Delete.json | 22 ++--------------- .../examples/IntegrationRuntimes_Get.json | 11 +-------- .../IntegrationRuntimes_RemoveLinks.json | 11 +-------- .../examples/IntegrationRuntimes_Start.json | 13 +--------- .../examples/IntegrationRuntimes_Stop.json | 24 ++----------------- .../IntegrationRuntimes_SyncCredentials.json | 11 +-------- .../examples/IntegrationRuntimes_Upgrade.json | 11 +-------- .../examples/LinkedServices_Delete.json | 22 ++--------------- .../examples/LinkedServices_Get.json | 11 +-------- .../examples/PipelineRuns_Cancel.json | 11 +-------- .../2018-06-01/examples/Pipelines_Delete.json | 22 ++--------------- .../2018-06-01/examples/Pipelines_Get.json | 11 +-------- .../examples/RerunTriggers_Cancel.json | 11 +-------- .../examples/RerunTriggers_Start.json | 11 +-------- .../examples/RerunTriggers_Stop.json | 11 +-------- .../2018-06-01/examples/Triggers_Delete.json | 22 ++--------------- .../2018-06-01/examples/Triggers_Get.json | 11 +-------- .../2018-06-01/examples/Triggers_Start.json | 11 +-------- .../2018-06-01/examples/Triggers_Stop.json | 11 +-------- 40 files changed, 57 insertions(+), 562 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json index 04e92c709fc0..36f069df03a6 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json @@ -7,25 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:27 GMT", - "x-ms-request-id": "70d3cf1f-bf14-40f5-bb56-1550a317ce8b", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-correlation-request-id": "d56bf687-df32-4313-87ec-ff22ba9bd192" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:27 GMT", - "x-ms-request-id": "a2347ff3-4018-4815-b58a-9fbe3cdcab52", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-correlation-request-id": "9b926944-88d9-4d77-b1a8-5540c803f933" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json index 4a1f6a1a490e..83817e9074a7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json @@ -7,15 +7,6 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Mon, 02 Oct 2017 17:27:33 GMT", - "x-ms-request-id": "fd3867ea-c65c-470d-a17b-d83c8864cf90", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1113", - "x-ms-correlation-request-id": "d0b45db5-c155-4991-95d9-22655c72c986" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json index 8fdcc97b90e3..622af493483a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json @@ -6,24 +6,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:31 GMT", - "x-ms-request-id": "00d8b4cd-058f-4da8-a3a9-7a7a9ae772f0", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1177", - "x-ms-correlation-request-id": "9693bca3-4ee7-4501-865e-8411952d196b" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:31 GMT", - "x-ms-ratelimit-remaining-subscription-writes": "1176", - "x-ms-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807", - "x-ms-correlation-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json index fbb4a3da2a86..088318838d46 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json @@ -8,21 +8,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Thu, 19 Oct 2017 15:22:16 GMT", - "x-ms-request-id": "75a166f9-75ed-48d9-bc9b-08682dfdd0eb", - "X-Content-Type-Options": "nosniff" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Thu, 19 Oct 2017 15:22:16 GMT", - "x-ms-request-id": "d05cec68-ec62-4e95-97b6-9572eeab8ef2", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json index ca78dd6b94da..3bbeae4d09ec 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json @@ -7,25 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:29 GMT", - "x-ms-request-id": "6d1ee741-7850-484b-99cd-b42ef08fd18c", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-correlation-request-id": "f931d2aa-0021-43ee-8005-2653da5e86d4" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:29 GMT", - "x-ms-request-id": "afb27d48-0c81-4e62-92c4-6fcb8c35c8a2", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-correlation-request-id": "543d80b4-c9d0-418d-bf16-d2434abac0cb" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json index dcf0d9e9440c..72163a4ed20a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json @@ -10,21 +10,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Tue, 28 Nov 2017 06:05:42 GMT", - "x-ms-request-id": "f1b13f98-0659-4eaa-a676-29912ae0a4f3", - "X-Content-Type-Options": "nosniff" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Tue, 28 Nov 2017 06:05:44 GMT", - "x-ms-request-id": "3d15a37e-f3f2-4e21-a90a-316f695a3f90", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json index 34cac9c4bc49..bfa4edc8cd78 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json @@ -7,16 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "202": { - "headers": { - "Date": "Tue, 28 Nov 2017 07:17:56 GMT", - "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/9a070152cddb4c839d482ccfb76a7537?api-version=2017-09-01-preview", - "Retry-After": "15", - "x-ms-request-id": "aa8a8ed1-7b2e-40eb-b734-9b7a5f393aed", - "X-Content-Type-Options": "nosniff" - }, - "body": null - }, + "202": {}, "200": { "headers": { "Date": "Tue, 28 Nov 2017 07:39:18 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json index 351b499eb7d7..48bd7f969e40 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json @@ -7,23 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "202": { - "headers": { - "Date": "Tue, 28 Nov 2017 07:39:21 GMT", - "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/50799841b7f94497ae43291b791db7e0?api-version=2017-09-01-preview", - "Retry-After": "15", - "x-ms-request-id": "b36c64a2-3306-4374-b93f-ec91dbb3bf26", - "X-Content-Type-Options": "nosniff" - }, - "body": null - }, - "200": { - "headers": { - "Date": "Tue, 28 Nov 2017 07:40:23 GMT", - "x-ms-request-id": "bcff281c-ae61-4e2d-8a0c-044e34c1d04a", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "202": {}, + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json index 0778b1f16a8e..74bb858cac73 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json @@ -7,13 +7,6 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Sun, 20 Aug 2017 08:46:58 GMT", - "x-ms-request-id": "05bae251-45ef-4bca-9710-ecfc0181755b", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json index 365c903ca287..74bb858cac73 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json @@ -7,13 +7,6 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Tue, 14 Nov 2017 03:42:42 GMT", - "x-ms-request-id": "599429b9-3add-4d0c-973b-91ddaf3364e7", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json index ac1d5ba9bc8d..79202e3a1b86 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json @@ -7,25 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:28 GMT", - "x-ms-request-id": "7383dae8-e077-4472-8f2e-91e1163dcbb2", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-correlation-request-id": "af89dcb6-8a1e-498a-9b0c-3e866bd80f39" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:28 GMT", - "x-ms-request-id": "097cab57-d2b8-442d-90f0-2deb5e3733e5", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-correlation-request-id": "3adc7b84-2fbe-4409-9481-bf2bd489f49f" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json index 39feb99341db..590c4e3c3d2b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json @@ -7,25 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:27 GMT", - "x-ms-request-id": "74ec3492-79c4-4028-9db1-fe7054e794d4", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1185", - "x-ms-correlation-request-id": "332e562a-b3f8-4f5d-852d-8bb1bfc6a798" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:27 GMT", - "x-ms-request-id": "86b4c1f6-9944-4cef-8147-170c856da5ec", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-correlation-request-id": "5ba4c3d0-6e6a-465d-8ffd-592c38380527" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json index 12ce3c425a33..668b64edef08 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json @@ -7,25 +7,7 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:26 GMT", - "x-ms-request-id": "797186e9-af57-4d6c-8b4b-c363df9e9bf1", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-correlation-request-id": "19402448-85f2-4872-b998-9c6c1e17f04d" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:26 GMT", - "x-ms-request-id": "7d968b21-a030-4ba9-961b-7bbc799c0810", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-correlation-request-id": "d66d750a-c28f-4be6-852a-30a67be744a1" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json index 56838942d01e..147ff22449c9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json @@ -7,15 +7,6 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 17:58:23 GMT", - "x-ms-request-id": "13c76ae4-02b3-49a2-9f2a-d2c9f8511507", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-correlation-request-id": "a28c76fa-3343-4bfb-9508-c92e2f374e79" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json index c89c07541ab5..147ff22449c9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json @@ -7,15 +7,6 @@ "api-version": "2017-09-01-preview" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Sep 2017 18:04:25 GMT", - "x-ms-request-id": "601d7eac-1d85-4196-a70b-76b9b906d6dd", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-correlation-request-id": "c1f7bc90-6b21-464f-9c00-6e3869c0e63c" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json index 47e68c5727f4..35a7e0d225b9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json @@ -7,25 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:28 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358", - "x-ms-correlation-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:28 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14994", - "x-ms-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae", - "x-ms-correlation-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json index 2f9bfca0e407..ce48b64a5ce7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -8,16 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:50 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050", - "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Mon, 22 Apr 2019 18:33:50 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json index 9e08c0d44edb..630f8c0cae8d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json @@ -6,25 +6,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:32 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14989", - "x-ms-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72", - "x-ms-correlation-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:32 GMT", - "x-ms-ratelimit-remaining-subscription-deletes": "14988", - "x-ms-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64", - "x-ms-correlation-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64", - "X-Content-Type-Options": "nosniff" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json index fb52e24bd0ed..2a43ca5e1cae 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -7,16 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:50 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050", - "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Tue, 19 Jun 2018 05:41:50 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json index 0f1b126c114d..8fc6d176f77c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json @@ -8,25 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:01:22 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d", - "x-ms-correlation-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:01:34 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a", - "x-ms-correlation-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json index 12223de81dad..ff8c80b0f4d9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json @@ -7,19 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "202": { - "headers": { - "Date": "Mon, 03 Dec 2018 06:24:38 GMT", - "Location": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationresults/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01", - "Retry-After": "15", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationstatuses/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13", - "x-ms-correlation-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13" - }, - "body": null - }, + "202": {}, "200": { "headers": { "Date": "Mon, 03 Dec 2018 06:24:53 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json index fef7de2ae1b8..742aefa60d83 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json @@ -7,25 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 22:30:01 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14979", - "x-ms-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c", - "x-ms-correlation-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Wed, 13 Jun 2018 22:30:02 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14978", - "x-ms-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd", - "x-ms-correlation-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json index bf176d4c530c..55fe8b7f97c5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -8,16 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:47 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "7b3673dc-aef9-411c-8138-e6778231c474", - "x-ms-correlation-request-id": "7b3673dc-aef9-411c-8138-e6778231c474" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Mon, 22 Apr 2019 18:33:47 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json index 0b1ee0992f65..33c1f7eda83e 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json @@ -10,15 +10,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Tue, 03 Jul 2018 06:33:25 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16", - "x-ms-correlation-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json index 5204f13a4efb..81bcbb87fa24 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json @@ -7,18 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "202": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:11:03 GMT", - "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/301b9c4b1c43415594e11918e678383c?api-version=2018-06-01", - "Retry-After": "15", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904", - "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904" - }, - "body": null - }, + "202": {}, "200": { "headers": { "Date": "Wed, 13 Jun 2018 21:33:00 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json index 6dbb6c741832..5ae0f3f8f835 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json @@ -7,27 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "202": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:11:03 GMT", - "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/301b9c4b1c43415594e11918e678385f?api-version=2018-06-01", - "Retry-After": "15", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904", - "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904" - }, - "body": null - }, - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:33:03 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f", - "x-ms-correlation-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f" - }, - "body": null - } + "202": {}, + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json index dca3b2c54e68..cdd180d2e720 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json @@ -7,15 +7,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:27:47 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84", - "x-ms-correlation-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json index 2130bac563ad..cdd180d2e720 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json @@ -7,15 +7,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 14:53:30 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36", - "x-ms-correlation-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json index 77b54d160ffb..86ce004138cf 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json @@ -7,25 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:29 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14993", - "x-ms-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57", - "x-ms-correlation-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:29 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14992", - "x-ms-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6", - "x-ms-correlation-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json index bcfc70fc842c..b6b18d4691ef 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -8,16 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:49 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "9a503b24-1b14-4242-9fab-598c81881370", - "x-ms-correlation-request-id": "9a503b24-1b14-4242-9fab-598c81881370" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Mon, 22 Apr 2019 18:33:48 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json index 24fb26ea9bd7..8a43a61a8bfd 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json @@ -7,15 +7,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:39:51 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a", - "x-ms-correlation-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json index 7bbfe9b6ccda..dd54c881c5f5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json @@ -7,25 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:27 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4", - "x-ms-correlation-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:27 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695", - "x-ms-correlation-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json index 68f3ff289730..82a21a869f01 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -8,16 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:51 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa", - "x-ms-correlation-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Mon, 22 Apr 2019 18:33:51 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json index 3b2d7aab6b24..1e3d8b98ec8b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json @@ -8,15 +8,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:24 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", - "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json index d3ec620445f6..1e3d8b98ec8b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json @@ -8,15 +8,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:40:20 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d", - "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json index 3b2d7aab6b24..1e3d8b98ec8b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json @@ -8,15 +8,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:24 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", - "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json index 1708b189ac2a..e7d4a03ea08a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json @@ -7,25 +7,7 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:26 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc", - "x-ms-correlation-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc" - }, - "body": null - }, - "204": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:26 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f", - "x-ms-correlation-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f" - }, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json index ff4f437452f4..446697f3a5eb 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -8,16 +8,7 @@ "api-version": "2018-06-01" }, "responses": { - "304": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:52 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900", - "x-ms-correlation-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900" - }, - "body": null - }, + "304": {}, "200": { "headers": { "Date": "Mon, 22 Apr 2019 18:33:52 GMT", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json index e037a3de47e6..558c3f6b3afa 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json @@ -7,15 +7,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:40:20 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d", - "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d" - }, - "body": null - } + "200": {} } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json index b311f31a3f50..558c3f6b3afa 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json @@ -7,15 +7,6 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:24 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", - "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" - }, - "body": null - } + "200": {} } } From dc6296bc6140dfe84f62cc55aaa02ef58b2f0636 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 26 Jul 2019 13:29:45 -0400 Subject: [PATCH 353/495] chore: jsonfmt search (#6736) --- .../2019-05-06/examples/SearchServiceGetServiceStatistics.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json index 791e9250688c..8e8b4f38d15d 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json @@ -37,7 +37,7 @@ "maxFieldsPerIndex": 1000, "maxFieldNestingDepthPerIndex": 10, "maxComplexCollectionFieldsPerIndex": 100, - "maxComplexObjectsInCollectionsPerDocument": 3000 + "maxComplexObjectsInCollectionsPerDocument": 3000 } } } From bb46e5b3d7f6c2e333f6f4f8ec77e5c081038829 Mon Sep 17 00:00:00 2001 From: MichalHel <51286657+MichalHel@users.noreply.github.com> Date: Fri, 26 Jul 2019 23:41:49 +0300 Subject: [PATCH 354/495] Michal dev security microsoft.security 2017 08 01 preview (#6563) * changed enum name ruleType to RecommendationType in IoTSecuritySolution RP * changed examples of IOT security solution RP * nullable userDefinedResources query/subs * fixing the Security Solution RP * Changed the enums of the Recommendations type and status of the IOT Solution Manager RP * changed property of the recommendation configuration form "description" to "name" in the IOT Solution Manager RP * Fixed examples of IOT Security Manager RP * Fixed error in schema related to IoT security Solution RP * fixed enums in IoT Security solution RP * fixed spelling mistakes in IoT solution Manager RP files * Update specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json Co-Authored-By: Nick Schonning * Update specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json Co-Authored-By: Nick Schonning * Fixed spelling mistakes in IoT solution manager RP * Fixed spelling mistakes in IoT solution Manager RP * removed unprintable characters and tabs from the IoT Security Solution json --- .../CreateIoTSecuritySolution_example.json | 176 ++++++++++++++++- .../GetIoTSecuritySolution_example.json | 90 +++++---- ...itySolutionsListByIotHubAndRg_example.json | 92 +++++---- ...SecuritySolutionsListByIotHub_example.json | 92 +++++---- ...tIoTSecuritySolutionsListByRg_example.json | 94 +++++---- .../GetIoTSecuritySolutionsList_example.json | 180 ++++++++++++++---- .../UpdateIoTSecuritySolution_example.json | 94 ++++++++- .../iotSecuritySolutions.json | 104 ++++++---- 8 files changed, 686 insertions(+), 236 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json index 9e7bbd386238..1ab95ecf042d 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json @@ -21,7 +21,17 @@ "querySubscriptions": [ "075423e9-7d33-4166-8bdf-3920b04e3735" ] - } + }, + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_OpenPorts", + "status": "Disabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "status": "Disabled" + } + ] } } }, @@ -51,6 +61,88 @@ "autoDiscoveredResources": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } ] } } @@ -81,14 +173,86 @@ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" ], - "recommendationsConfiguration": [ + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, { - "recommendationType": "OpenPortsOnDevice", - "status": "TurnedOff" + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "status": "TurnedOff" + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json index 18a1fb2617fd..48af5cd8d92d 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json @@ -34,64 +34,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "description": "Open Ports on device", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallPolicy", - "description": "Permissive firewall policy found in one of the chains", + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", "status": "TurnedOn" }, { - "recommendationType": "PermissiveFirewallRuleInput", - "description": "Permissive firewall rule in the input chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallRuleOut", - "description": "Permissive firewall rule in the output chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" }, { - "recommendationType": "OperationSystemNotValid", - "description": "Operation system baseline validation has failed", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" }, { - "recommendationType": "UnutilizedMessagesFromAgent", - "description": "Agent sends unutilized messages", - "status": "TurnedOn" + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration not optimal", - "status": "TurnedOn" + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationConflict", - "description": "Security twin configuration conflict", - "status": "TurnedOn" + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "description": "Identical authentication credentials used by multiple devices", - "status": "TurnedOff" + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" }, { - "recommendationType": "DenyDefaultIpPolicy", - "description": "Default IP filter policy should be deny", - "status": "TurnedOn" + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" }, { - "recommendationType": "TooLargeIPRange", - "description": "IP filter rule includes large IP range", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" }, { - "recommendationType": "EnableDiagnosticsLog", - "description": "Enable diagnostics logs in IoT Hub", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json index be8f9ce070d4..f23eb3e56f87 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json @@ -21,7 +21,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [], + "disabledDataSources": [ ], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -38,64 +38,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "description": "Open Ports on device", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallPolicy", - "description": "Permissive firewall policy found in one of the chains", + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", "status": "TurnedOn" }, { - "recommendationType": "PermissiveFirewallRuleInput", - "description": "Permissive firewall rule in the input chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallRuleOut", - "description": "Permissive firewall rule in the output chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" }, { - "recommendationType": "OperationSystemNotValid", - "description": "Operation system baseline validation has failed", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" }, { - "recommendationType": "UnutilizedMessagesFromAgent", - "description": "Agent sends unutilized messages", - "status": "TurnedOn" + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration not optimal", - "status": "TurnedOn" + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationConflict", - "description": "Security twin configuration conflict", - "status": "TurnedOn" + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "description": "Identical authentication credentials used by multiple devices", - "status": "TurnedOff" + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" }, { - "recommendationType": "DenyDefaultIpPolicy", - "description": "Default IP filter policy should be deny", - "status": "TurnedOn" + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" }, { - "recommendationType": "TooLargeIPRange", - "description": "IP filter rule includes large IP range", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" }, { - "recommendationType": "EnableDiagnosticsLog", - "description": "Enable diagnostics logs in IoT Hub", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json index e40e96d6e93d..1cbf85a86137 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json @@ -20,7 +20,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [], + "disabledDataSources": [ ], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -37,64 +37,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "description": "Open Ports on device", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallPolicy", - "description": "Permissive firewall policy found in one of the chains", + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", "status": "TurnedOn" }, { - "recommendationType": "PermissiveFirewallRuleInput", - "description": "Permissive firewall rule in the input chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallRuleOut", - "description": "Permissive firewall rule in the output chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" }, { - "recommendationType": "OperationSystemNotValid", - "description": "Operation system baseline validation has failed", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" }, { - "recommendationType": "UnutilizedMessagesFromAgent", - "description": "Agent sends unutilized messages", - "status": "TurnedOn" + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration not optimal", - "status": "TurnedOn" + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationConflict", - "description": "Security twin configuration conflict", - "status": "TurnedOn" + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "description": "Identical authentication credentials used by multiple devices", - "status": "TurnedOff" + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" }, { - "recommendationType": "DenyDefaultIpPolicy", - "description": "Default IP filter policy should be deny", - "status": "TurnedOn" + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" }, { - "recommendationType": "TooLargeIPRange", - "description": "IP filter rule includes large IP range", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" }, { - "recommendationType": "EnableDiagnosticsLog", - "description": "Enable diagnostics logs in IoT Hub", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json index 5aefb6f7f4a9..06d964bb17a8 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json @@ -17,8 +17,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [], - "disabledDataSources": [], + "export": [ ], + "disabledDataSources": [ ], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -35,64 +35,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "description": "Open Ports on device", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallPolicy", - "description": "Permissive firewall policy found in one of the chains", + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", "status": "TurnedOn" }, { - "recommendationType": "PermissiveFirewallRuleInput", - "description": "Permissive firewall rule in the input chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallRuleOut", - "description": "Permissive firewall rule in the output chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" }, { - "recommendationType": "OperationSystemNotValid", - "description": "Operation system baseline validation has failed", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" }, { - "recommendationType": "UnutilizedMessagesFromAgent", - "description": "Agent sends unutilized messages", - "status": "TurnedOn" + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration not optimal", - "status": "TurnedOn" + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationConflict", - "description": "Security twin configuration conflict", - "status": "TurnedOn" + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "description": "Identical authentication credentials used by multiple devices", - "status": "TurnedOff" + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" }, { - "recommendationType": "DenyDefaultIpPolicy", - "description": "Default IP filter policy should be deny", - "status": "TurnedOn" + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" }, { - "recommendationType": "TooLargeIPRange", - "description": "IP filter rule includes large IP range", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" }, { - "recommendationType": "EnableDiagnosticsLog", - "description": "Enable diagnostics logs in IoT Hub", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json index a6ec0b7e8086..5ab23ad9180e 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json @@ -16,8 +16,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [], - "disabledDataSources": [], + "export": [ ], + "disabledDataSources": [ ], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -31,6 +31,88 @@ "autoDiscoveredResources": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } ] } }, @@ -39,14 +121,14 @@ "name": "sec-solution", "location": "East Us", "type": "Microsoft.Security/IoTSecuritySolutions", - "tags": {}, + "tags": { }, "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", "export": [ "RawEvents" ], - "disabledDataSources": [], + "disabledDataSources": [ ], "displayName": "Second Solution", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" @@ -63,64 +145,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "description": "Open Ports on device", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallPolicy", - "description": "Permissive firewall policy found in one of the chains", + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", "status": "TurnedOn" }, { - "recommendationType": "PermissiveFirewallRuleInput", - "description": "Permissive firewall rule in the input chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" }, { - "recommendationType": "PermissiveFirewallRuleOut", - "description": "Permissive firewall rule in the output chain was found", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" }, { - "recommendationType": "OperationSystemNotValid", - "description": "Operation system baseline validation has failed", - "status": "TurnedOn" + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" }, { - "recommendationType": "UnutilizedMessagesFromAgent", - "description": "Agent sends unutilized messages", - "status": "TurnedOn" + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration not optimal", - "status": "TurnedOn" + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" }, { - "recommendationType": "SecurityTwinConfigurationConflict", - "description": "Security twin configuration conflict", - "status": "TurnedOn" + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "description": "Identical authentication credentials used by multiple devices", - "status": "TurnedOff" + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" }, { - "recommendationType": "DenyDefaultIpPolicy", - "description": "Default IP filter policy should be deny", - "status": "TurnedOn" + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" }, { - "recommendationType": "TooLargeIPRange", - "description": "IP filter rule includes large IP range", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" }, { - "recommendationType": "EnableDiagnosticsLog", - "description": "Enable diagnostics logs in IoT Hub", - "status": "TurnedOn" + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json index 967ef13138a5..77a5dc3c8d4a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json @@ -14,7 +14,17 @@ "querySubscriptions": [ "075423e9-7d33-4166-8bdf-3920b04e3735" ] - } + }, + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_OpenPorts", + "status": "Disabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "status": "Disabled" + } + ] } } }, @@ -34,7 +44,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [], + "disabledDataSources": [ ], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -51,12 +61,84 @@ ], "recommendationsConfiguration": [ { - "recommendationType": "OpenPortsOnDevice", - "status": "TurnedOff" + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" }, { - "recommendationType": "IdenticalAuthenticationCredentials", - "status": "TurnedOff" + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index ffebf1ab83e5..939efa498484 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -457,10 +457,12 @@ "properties": { "query": { "type": "string", + "x-nullable": true, "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\"" }, "querySubscriptions": { "type": "array", + "x-nullable": true, "description": "List of Azure subscription ids on which the user defined resources query should be executed.", "items": { "type": "string", @@ -481,86 +483,106 @@ "type": "string", "description": "The recommendation type.", "enum": [ - "OpenPortsOnDevice", - "PermissiveFirewallPolicy", - "PermissiveFirewallRuleInput", - "PermissiveFirewallRuleOut", - "OperationSystemNotValid", - "UnutilizedMessagesFromAgent", - "SecurityTwinConfigurationNotOptimal", - "SecurityTwinConfigurationConflict", - "IdenticalAuthenticationCredentials", - "DenyDefaultIpPolicy", - "TooLargeIPRange", - "EnableDiagnosticsLog" + "IoT_ACRAuthentication", + "IoT_AgentSendsUnutilizedMessages", + "IoT_Baseline", + "IoT_EdgeHubMemOptimize", + "IoT_EdgeLoggingOptions", + "IoT_InconsistentModuleSettings", + "IoT_InstallAgent", + "IoT_IPFilter_DenyAll", + "IoT_IPFilter_PermissiveRule", + "IoT_OpenPorts", + "IoT_PermissiveFirewallPolicy", + "IoT_PermissiveInputFirewallRules", + "IoT_PermissiveOutputFirewallRules", + "IoT_PrivilegedDockerOptions", + "IoT_SharedCredentials", + "IoT_VulnerableTLSCipherSuite" ], "x-ms-enum": { "name": "RecommendationType", "modelAsString": true, "values": [ { - "value": "OpenPortsOnDevice", - "description": "A listening endpoint was found on the device." + "value": "IoT_ACRAuthentication", + "description": "Authentication schema used for pull an edge module from an ACR repository does not use Service Principal Authentication." + }, + { + "value": "IoT_AgentSendsUnutilizedMessages", + "description": "IoT agent message size capacity is currently underutilized, causing an increase in the number of sent messages. Adjust message intervals for better utilization." }, { - "value": "PermissiveFirewallPolicy", - "description": "Allowed firewall policy found (INPUT/OUTPUT). Firewall policy should deny all traffic by default, and define rules to allow necessary communication to/from the device." + "value": "IoT_Baseline", + "description": "Identified security related system configuration issues." }, { - "value": "PermissiveFirewallRuleInput", - "description": "A rule in the firewall in the input chain has been found that contains a permissive pattern for a wide range of IP addresses or ports." + "value": "IoT_EdgeHubMemOptimize", + "description": "You can optimize Edge Hub memory usage by turning off protocol heads for any protocols not used by Edge modules in your solution." }, { - "value": "PermissiveFirewallRuleOut", - "description": "A rule in the firewall in the output chain has been found that contains a permissive pattern for a wide range of IP addresses or ports." + "value": "IoT_EdgeLoggingOptions", + "description": "Logging is disabled for this edge module." }, { - "value": "OperationSystemNotValid", - "description": "Device doesn't comply with CIS Linux benchmarks." + "value": "IoT_InconsistentModuleSettings", + "description": "A minority within a device security group has inconsistent Edge Module settings with the rest of their group." }, { - "value": "UnutilizedMessagesFromAgent", - "description": "10% or more of security messages were smaller than 4kb during the last 24 hours." + "value": "IoT_InstallAgent", + "description": "Install the Azure Security of Things Agent." }, { - "value": "SecurityTwinConfigurationNotOptimal", - "description": "Security twin configuration is not optimal." + "value": "IoT_IPFilter_DenyAll", + "description": "IP Filter Configuration should have rules defined for allowed traffic and should deny all other traffic by default." }, { - "value": "SecurityTwinConfigurationConflict", - "description": "Conflicts were identified in the security twin configuration." + "value": "IoT_IPFilter_PermissiveRule", + "description": "An Allow IP Filter rules source IP range is too large. Overly permissive rules might expose your IoT hub to malicious intenders." + }, + { + "value": "IoT_OpenPorts", + "description": "A listening endpoint was found on the device." }, { - "value": "IdenticalAuthenticationCredentials", - "description": "IoT Hub authentication credentials are used by multiple devices. This may indicate an illegitimate device impersonating a legitimate device. Duplicate credential use increases the risk of device impersonation by a malicious actor." + "value": "IoT_PermissiveFirewallPolicy", + "description": "An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny all traffic by default and define rules to allow necessary communication to/from the device." }, { - "value": "DenyDefaultIpPolicy", - "description": "IP filter configuration should have rules defined for allowed traffic, and should by default, deny all other traffic by default." + "value": "IoT_PermissiveInputFirewallRules", + "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports." }, { - "value": "TooLargeIPRange", - "description": "An allow IP filter rule source IP range is too large. Overly permissive rules can expose your IoT hub to malicious actors." + "value": "IoT_PermissiveOutputFirewallRules", + "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports." }, { - "value": "EnableDiagnosticsLog", - "description": "Enable logs and retain them for up to a year. Retaining logs enables you to recreate activity trails for investigation purposes when a security incident occurs or your network is compromised." + "value": "IoT_PrivilegedDockerOptions", + "description": "Edge module is configured to run in privileged mode, with extensive Linux capabilities or with host-level network access (send/receive data to host machine)." + }, + { + "value": "IoT_SharedCredentials", + "description": "Same authentication credentials to the IoT Hub used by multiple devices. This could indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device impersonation by an attacker." + }, + { + "value": "IoT_VulnerableTLSCipherSuite", + "description": "Insecure TLS configurations detected. Immediate upgrade recommended." } ] } }, - "description": { + "name": { "type": "string", "readOnly": true }, "status": { "type": "string", "enum": [ - "TurnedOff", - "TurnedOn" + "Disabled", + "Enabled" ], - "default": "TurnedOn", - "description": "Recommendation status. The recommendation is not generated when the status is turned off", + "default": "Enabled", + "description": "Recommendation status. The recommendation is not generated when the status is disabled", "x-ms-enum": { "name": "RecommendationConfigStatus", "modelAsString": true From a30cf5c4de680b0e415075815ab8c2ca101e9f21 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Sun, 28 Jul 2019 18:35:15 +0800 Subject: [PATCH 355/495] new tag in alerts management (#6689) * new tag in alerts management * try to fix errors * more fixes * merged action rule and ManagedResource to avoid error * undo ManagedResource change, but removed required * revert some changes that are not essential to fix linter * added supressions --- .../2019-05-05-preview/AlertsManagement.json | 3 ++- .../resource-manager/readme.md | 27 ++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index ed46e4055106..5009c56a25a8 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -1312,7 +1312,8 @@ "x-ms-enum": { "name": "identifier", "modelAsString": true - } + }, + "x-ms-parameter-location": "method" } }, "definitions": { diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 319baf7a8d5a..412218bd7117 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -24,11 +24,34 @@ To see additional help and options, run: These are the global settings for the AlertManagement API. +## Suppression +``` yaml +directive: + - suppress: R3025 + reason: The rule applied incorrectly to base class. + where: + - $.definitions.ManagedResource + - suppress: R3026 + reason: The rule applied incorrectly to base class. + where: + - $.definitions.ManagedResource +``` + ``` yaml title: AlertsManagementClient description: AlertsManagement Client openapi-type: arm -tag: package-2019-03 +tag: package-2019-06-preview +``` + +### Tag: package-2019-06-preview + +These settings apply only when `--tag=package-2019-06-preview` is specified on the command line. + +```yaml $(tag) == 'package-2019-06-preview' +input-file: + - Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json + - Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json ``` @@ -40,6 +63,7 @@ These settings apply only when `--tag=package-2019-06` is specified on the comma input-file: - Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json ``` + ### Tag: package-2019-03 These settings apply only when `--tag=package-2019-03` is specified on the command line. @@ -49,6 +73,7 @@ input-file: - Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json - Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json ``` + ### Tag: package-preview-2019-05 These settings apply only when `--tag=package-preview-2019-05` is specified on the command line. From 169692fbd5105faadcfb54a26ed0d9b08b9b25ea Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 28 Jul 2019 21:36:34 -0400 Subject: [PATCH 356/495] chore: jsonfmt security (#6747) --- .../CreateIoTSecuritySolution_example.json | 2 +- .../GetIoTSecuritySolutionsListByIotHubAndRg_example.json | 2 +- .../GetIoTSecuritySolutionsListByIotHub_example.json | 2 +- .../GetIoTSecuritySolutionsListByRg_example.json | 4 ++-- .../GetIoTSecuritySolutionsList_example.json | 8 ++++---- .../UpdateIoTSecuritySolution_example.json | 2 +- .../preview/2017-08-01-preview/iotSecuritySolutions.json | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json index 1ab95ecf042d..357a11a33ef3 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json @@ -173,7 +173,7 @@ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" ], - "recommendationsConfiguration": [ + "recommendationsConfiguration": [ { "recommendationType": "IoT_ACRAuthentication", "name": "Service Principal Not Used with ACR", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json index f23eb3e56f87..f32e96b41c16 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json @@ -21,7 +21,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json index 1cbf85a86137..c7608d9368b9 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json @@ -20,7 +20,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json index 06d964bb17a8..187cd4faf70b 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json @@ -17,8 +17,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [ ], - "disabledDataSources": [ ], + "export": [], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json index 5ab23ad9180e..8fffd2001380 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json @@ -16,8 +16,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [ ], - "disabledDataSources": [ ], + "export": [], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -121,14 +121,14 @@ "name": "sec-solution", "location": "East Us", "type": "Microsoft.Security/IoTSecuritySolutions", - "tags": { }, + "tags": {}, "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Second Solution", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json index 77a5dc3c8d4a..2ca7a0e0c82c 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json @@ -44,7 +44,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json index 939efa498484..0e1a2d2e673a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json @@ -457,7 +457,7 @@ "properties": { "query": { "type": "string", - "x-nullable": true, + "x-nullable": true, "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\"" }, "querySubscriptions": { From 547d9bd9e041557aa3cecf07d4faf1c938d5c5c3 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Sun, 28 Jul 2019 18:40:55 -0700 Subject: [PATCH 357/495] fixed datafactory readme, added java readme (#6431) --- .../resource-manager/readme.java.md | 50 +++++++++++++++++++ .../datafactory/resource-manager/readme.md | 49 +----------------- 2 files changed, 51 insertions(+), 48 deletions(-) create mode 100644 specification/datafactory/resource-manager/readme.java.md diff --git a/specification/datafactory/resource-manager/readme.java.md b/specification/datafactory/resource-manager/readme.java.md new file mode 100644 index 000000000000..d67ddd779a9a --- /dev/null +++ b/specification/datafactory/resource-manager/readme.java.md @@ -0,0 +1,50 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.datafactory +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory +``` + +# Validation + + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-09-preview + - tag: package-2018-06 +``` + +### Tag: package-2017-09-preview and java + +These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datafactory.v2017_09_01_preview + output-folder: $(azure-libraries-for-java-folder)/datafactory/resource-manager/v2017_09_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-06 and java + +These settings apply only when `--tag=package-2018-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datafactory.v2018_06_01 + output-folder: $(azure-libraries-for-java-folder)/datafactory/resource-manager/v2018_06_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 02c837b7fd01..61b40d9d7b12 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -115,54 +115,7 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.datafactory -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory -``` - -# Validation - - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-09-preview - - tag: package-2018-06 -``` - -### Tag: package-2017-09-preview and java - -These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.datafactoryv2.v2017_09_01_preview - output-folder: $(azure-libraries-for-java-folder)/datafactoryv2/resource-manager/v2017_09_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-06 and java - -These settings apply only when `--tag=package-2018-06 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-06' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.datafactoryv2.v2018_06_01 - output-folder: $(azure-libraries-for-java-folder)/datafactoryv2/resource-manager/v2018_06_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) ## Suppression From 798b9fc5a1991c1a5f260c729f7b6d84138f4250 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 28 Jul 2019 21:59:11 -0400 Subject: [PATCH 358/495] fix: logic model validation errors (#6751) - Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE errors - Change value to body for WorkflowTriggerHistories_Get - Remove "description" from OperationList results --- .../examples/Operations_List.json | 2593 ++++++++--------- .../examples/WorkflowRunActions_Get.json | 62 +- .../examples/WorkflowRunActions_List.json | 70 +- .../examples/WorkflowRuns_Get.json | 52 +- .../examples/WorkflowRuns_List.json | 60 +- .../WorkflowTriggerHistories_Get.json | 2 +- .../WorkflowTriggerHistories_List.json | 46 +- .../examples/WorkflowTriggers_Get.json | 30 +- .../examples/WorkflowTriggers_List.json | 38 +- .../examples/WorkflowVersions_Get.json | 120 +- .../examples/WorkflowVersions_List.json | 128 +- .../examples/Workflows_CreateOrUpdate.json | 106 +- .../Workflows_GenerateUpgradedDefinition.json | 24 +- .../examples/Workflows_Get.json | 120 +- .../Workflows_ListByResourceGroup.json | 128 +- .../Workflows_ListBySubscription.json | 128 +- .../examples/Workflows_Update.json | 106 +- .../2016-06-01/examples/OperationsList.json | 2593 ++++++++--------- .../examples/WorkflowRunActionsGet.json | 62 +- .../examples/WorkflowRunActionsList.json | 70 +- .../2016-06-01/examples/WorkflowRunsGet.json | 52 +- .../2016-06-01/examples/WorkflowRunsList.json | 60 +- .../examples/WorkflowTriggerHistoriesGet.json | 2 +- .../WorkflowTriggerHistoriesList.json | 46 +- .../examples/WorkflowTriggersGet.json | 30 +- .../WorkflowTriggersGetSchemaJson.json | 30 +- .../examples/WorkflowTriggersList.json | 38 +- .../examples/WorkflowVersionsGet.json | 120 +- .../examples/WorkflowVersionsList.json | 128 +- .../examples/WorkflowsCreateOrUpdate.json | 212 +- .../WorkflowsGenerateUpgradedDefinition.json | 24 +- .../2016-06-01/examples/WorkflowsGet.json | 120 +- .../WorkflowsListByResourceGroup.json | 128 +- .../examples/WorkflowsListBySubscription.json | 128 +- .../2016-06-01/examples/WorkflowsUpdate.json | 106 +- 35 files changed, 3830 insertions(+), 3932 deletions(-) diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json index 6c24d2e9b220..ac8f55c061fd 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json @@ -4,1348 +4,1265 @@ }, "responses": { "200": { - "value": [ - { - "name": "Microsoft.Logic/operations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Operation", - "operation": "Get Operation", - "description": "Gets the operation." - } - }, - { - "name": "Microsoft.Logic/register/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Resource Provider", - "operation": "Register Resource Provider", - "description": "Registers the Microsoft.Logic resource provider for a given subscription." - } - }, - { - "name": "Microsoft.Logic/locations/workflows/validate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Validate Workflow", - "description": "Validates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Get Workflow", - "description": "Reads the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Set Workflow", - "description": "Creates or updates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Delete Workflow", - "description": "Deletes the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/run/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Run Workflow", - "description": "Starts a run of the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/disable/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Disable Workflow", - "description": "Disables the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/enable/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Enable Workflow", - "description": "Enables the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/suspend/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Suspend Workflow", - "description": "Suspends the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/validate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Validate Workflow", - "description": "Validates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/move/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Move Workflow", - "description": "Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name." - } - }, - { - "name": "Microsoft.Logic/workflows/listSwagger/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Get workflow swagger", - "description": "Gets the workflow swagger definitions." - } - }, - { - "name": "Microsoft.Logic/workflows/versions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Version", - "operation": "Get Workflow Version", - "description": "Reads the workflow version." - } - }, - { - "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "List Trigger Callback URL", - "description": "Gets the callback URL for trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Get Access Key", - "description": "Reads the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Set Access Key", - "description": "Creates or updates the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Delete Access Key", - "description": "Deletes the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/list/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "List Access Key", - "description": "Lists the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/regenerateAccessKey/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "List workflow callback URL", - "description": "Gets the callback URL for workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Get Trigger", - "description": "Reads the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/run/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Trigger Run", - "description": "Executes the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/reset/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Trigger Reset", - "description": "Resets the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/setState/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Set Trigger State", - "description": "Sets the trigger state." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/histories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger Histories", - "operation": "Get Trigger Histories", - "description": "Reads the trigger histories." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger Histories", - "operation": "Resubmit trigger", - "description": "Resubmits the workflow trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "List Trigger Callback URL", - "description": "Gets the callback URL for trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run", - "operation": "Get Workflow Run", - "description": "Reads the workflow run." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/cancel/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run", - "operation": "Cancel Workflow Run", - "description": "Cancels the run of a workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/operations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Operation", - "operation": "Get Workflow Run Operation Status", - "description": "Reads the workflow run operation status." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action", - "operation": "Get Workflow Run Action", - "description": "Reads the workflow run action." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Repetition", - "operation": "Get Workflow Run Action Repetition", - "description": "Reads the workflow run action repetition." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Scope Repetition", - "operation": "Get Workflow Run Action Scope Repetition", - "description": "Reads the workflow run action scope repetition." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow run action request history", - "operation": "Gets the workflow run action request history", - "description": "Reads the workflow run action request history." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow run repetition action request history", - "operation": "Gets the workflow run repetition action request history", - "description": "Reads the workflow run repetition action request history." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Diagnostic Setting", - "operation": "Get Workflow Diagnostic Setting", - "description": "Reads the workflow diagnostic settings." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Diagnostic Setting", - "operation": "Set Workflow Diagnostic Setting", - "description": "Creates or updates the workflow diagnostic setting." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Metric Definition", - "operation": "Get Workflow Metric Definition", - "description": "Reads the workflow metric definitions." - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "RunsStarted", - "displayName": "Runs Started", - "displayDescription": "Number of workflow runs started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCompleted", - "displayName": "Runs Completed", - "displayDescription": "Number of workflow runs completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsSucceeded", - "displayName": "Runs Succeeded", - "displayDescription": "Number of workflow runs succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsFailed", - "displayName": "Runs Failed", - "displayDescription": "Number of workflow runs failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCancelled", - "displayName": "Runs Cancelled", - "displayDescription": "Number of workflow runs cancelled.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunLatency", - "displayName": "Run Latency", - "displayDescription": "Latency of completed workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunSuccessLatency", - "displayName": "Run Success Latency", - "displayDescription": "Latency of succeeded workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunThrottledEvents", - "displayName": "Run Throttled Events", - "displayDescription": "Number of workflow action or trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunFailurePercentage", - "displayName": "Run Failure Percentage", - "displayDescription": "Percentage of workflow runs failed.", - "unit": "Percent", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsStarted", - "displayName": "Actions Started ", - "displayDescription": "Number of workflow actions started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsCompleted", - "displayName": "Actions Completed ", - "displayDescription": "Number of workflow actions completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSucceeded", - "displayName": "Actions Succeeded ", - "displayDescription": "Number of workflow actions succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsFailed", - "displayName": "Actions Failed ", - "displayDescription": "Number of workflow actions failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSkipped", - "displayName": "Actions Skipped ", - "displayDescription": "Number of workflow actions skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionLatency", - "displayName": "Action Latency ", - "displayDescription": "Latency of completed workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionSuccessLatency", - "displayName": "Action Success Latency ", - "displayDescription": "Latency of succeeded workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionThrottledEvents", - "displayName": "Action Throttled Events", - "displayDescription": "Number of workflow action throttled events..", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersStarted", - "displayName": "Triggers Started ", - "displayDescription": "Number of workflow triggers started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersCompleted", - "displayName": "Triggers Completed ", - "displayDescription": "Number of workflow triggers completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSucceeded", - "displayName": "Triggers Succeeded ", - "displayDescription": "Number of workflow triggers succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFailed", - "displayName": "Triggers Failed ", - "displayDescription": "Number of workflow triggers failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSkipped", - "displayName": "Triggers Skipped", - "displayDescription": "Number of workflow triggers skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFired", - "displayName": "Triggers Fired ", - "displayDescription": "Number of workflow triggers fired.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggerLatency", - "displayName": "Trigger Latency ", - "displayDescription": "Latency of completed workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerFireLatency", - "displayName": "Trigger Fire Latency ", - "displayDescription": "Latency of fired workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerSuccessLatency", - "displayName": "Trigger Success Latency ", - "displayDescription": "Latency of succeeded workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerThrottledEvents", - "displayName": "Trigger Throttled Events", - "displayDescription": "Number of workflow trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableActionExecutions", - "displayName": "Billable Action Executions", - "displayDescription": "Number of workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableTriggerExecutions", - "displayName": "Billable Trigger Executions", - "displayDescription": "Number of workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableExecutions", - "displayName": "Total Billable Executions", - "displayDescription": "Number of workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeActionExecutions", - "displayName": "Billable Native Action Executions", - "displayDescription": "Number of native workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeTriggerExecutions", - "displayName": "Billable Native Trigger Executions", - "displayDescription": "Number of native workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableNativeExecutions", - "displayName": "Total Native Billable Executions", - "displayDescription": "Number of native workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardActionExecutions", - "displayName": "Billable Standard Action Executions", - "displayDescription": "Number of standard workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardTriggerExecutions", - "displayName": "Billable Standard Trigger Executions", - "displayDescription": "Number of standard workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableStandardExecutions", - "displayName": "Total Standard Billable Executions", - "displayDescription": "Number of standard workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - } - ] + "body": { + "value": [ + { + "name": "Microsoft.Logic/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Operation", + "operation": "Get Operation" } - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Log Definition", - "operation": "Get Workflow Log Definition", - "description": "Reads the workflow log definitions." - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "WorkflowRuntime", - "displayName": "Workflow runtime diagnostic events", - "description": "Diagnostic events related to workflow runtime executions.", - "blobDuration": "PT1H" - } - ] + }, + { + "name": "Microsoft.Logic/register/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Resource Provider", + "operation": "Register Resource Provider" } - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action", - "operation": "List Workflow Run Action Expression Traces", - "description": "Gets the workflow run action expression traces." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Repetition", - "operation": "List Workflow Run Action Repetition Expression Traces", - "description": "Gets the workflow run action repetition expression traces." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Log Definition", - "operation": "Get Integration Account Log Definition", - "description": "Reads the Integration Account log definitions." - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "IntegrationAccountTrackingEvents", - "displayName": "Integration Account track events", - "description": "Track events related to Integration Account.", - "blobDuration": "PT1H" - } - ] + }, + { + "name": "Microsoft.Logic/locations/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Set Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Delete Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Run Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/disable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Disable Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/enable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Enable Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/suspend/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Suspend Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/move/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Move Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/listSwagger/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get workflow swagger" + } + }, + { + "name": "Microsoft.Logic/workflows/versions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Version", + "operation": "Get Workflow Version" + } + }, + { + "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Get Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Set Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Delete Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/list/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "List Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "List workflow callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Get Trigger" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Run" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/reset/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Reset" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/setState/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Set Trigger State" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Get Trigger Histories" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Resubmit trigger" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Get Workflow Run" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/cancel/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Cancel Workflow Run" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Operation", + "operation": "Get Workflow Run Operation Status" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "Get Workflow Run Action" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "Get Workflow Run Action Repetition" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Scope Repetition", + "operation": "Get Workflow Run Action Scope Repetition" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run action request history", + "operation": "Gets the workflow run action request history" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run repetition action request history", + "operation": "Gets the workflow run repetition action request history" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Get Workflow Diagnostic Setting" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Set Workflow Diagnostic Setting" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Metric Definition", + "operation": "Get Workflow Metric Definition" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "RunsStarted", + "displayName": "Runs Started", + "displayDescription": "Number of workflow runs started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCompleted", + "displayName": "Runs Completed", + "displayDescription": "Number of workflow runs completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsSucceeded", + "displayName": "Runs Succeeded", + "displayDescription": "Number of workflow runs succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsFailed", + "displayName": "Runs Failed", + "displayDescription": "Number of workflow runs failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCancelled", + "displayName": "Runs Cancelled", + "displayDescription": "Number of workflow runs cancelled.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunLatency", + "displayName": "Run Latency", + "displayDescription": "Latency of completed workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunSuccessLatency", + "displayName": "Run Success Latency", + "displayDescription": "Latency of succeeded workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunThrottledEvents", + "displayName": "Run Throttled Events", + "displayDescription": "Number of workflow action or trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunFailurePercentage", + "displayName": "Run Failure Percentage", + "displayDescription": "Percentage of workflow runs failed.", + "unit": "Percent", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsStarted", + "displayName": "Actions Started ", + "displayDescription": "Number of workflow actions started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsCompleted", + "displayName": "Actions Completed ", + "displayDescription": "Number of workflow actions completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSucceeded", + "displayName": "Actions Succeeded ", + "displayDescription": "Number of workflow actions succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsFailed", + "displayName": "Actions Failed ", + "displayDescription": "Number of workflow actions failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSkipped", + "displayName": "Actions Skipped ", + "displayDescription": "Number of workflow actions skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionLatency", + "displayName": "Action Latency ", + "displayDescription": "Latency of completed workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionSuccessLatency", + "displayName": "Action Success Latency ", + "displayDescription": "Latency of succeeded workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionThrottledEvents", + "displayName": "Action Throttled Events", + "displayDescription": "Number of workflow action throttled events..", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersStarted", + "displayName": "Triggers Started ", + "displayDescription": "Number of workflow triggers started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersCompleted", + "displayName": "Triggers Completed ", + "displayDescription": "Number of workflow triggers completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSucceeded", + "displayName": "Triggers Succeeded ", + "displayDescription": "Number of workflow triggers succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFailed", + "displayName": "Triggers Failed ", + "displayDescription": "Number of workflow triggers failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSkipped", + "displayName": "Triggers Skipped", + "displayDescription": "Number of workflow triggers skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFired", + "displayName": "Triggers Fired ", + "displayDescription": "Number of workflow triggers fired.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggerLatency", + "displayName": "Trigger Latency ", + "displayDescription": "Latency of completed workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerFireLatency", + "displayName": "Trigger Fire Latency ", + "displayDescription": "Latency of fired workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerSuccessLatency", + "displayName": "Trigger Success Latency ", + "displayDescription": "Latency of succeeded workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerThrottledEvents", + "displayName": "Trigger Throttled Events", + "displayDescription": "Number of workflow trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableActionExecutions", + "displayName": "Billable Action Executions", + "displayDescription": "Number of workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableTriggerExecutions", + "displayName": "Billable Trigger Executions", + "displayDescription": "Number of workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableExecutions", + "displayName": "Total Billable Executions", + "displayDescription": "Number of workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeActionExecutions", + "displayName": "Billable Native Action Executions", + "displayDescription": "Number of native workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeTriggerExecutions", + "displayName": "Billable Native Trigger Executions", + "displayDescription": "Number of native workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableNativeExecutions", + "displayName": "Total Native Billable Executions", + "displayDescription": "Number of native workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardActionExecutions", + "displayName": "Billable Standard Action Executions", + "displayDescription": "Number of standard workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardTriggerExecutions", + "displayName": "Billable Standard Trigger Executions", + "displayDescription": "Number of standard workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableStandardExecutions", + "displayName": "Total Standard Billable Executions", + "displayDescription": "Number of standard workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + } + ] + } + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Log Definition", + "operation": "Get Workflow Log Definition" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "WorkflowRuntime", + "displayName": "Workflow runtime diagnostic events", + "description": "Diagnostic events related to workflow runtime executions.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "List Workflow Run Action Expression Traces" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "List Workflow Run Action Repetition Expression Traces" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Log Definition", + "operation": "Get Integration Account Log Definition" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "IntegrationAccountTrackingEvents", + "displayName": "Integration Account track events", + "description": "Track events related to Integration Account.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Get Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Set Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Delete Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Integration Account Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Key Vault Keys" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Log Integration Account Tracking Events" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Join Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Get Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Set Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Delete Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "List Integration Account Partner Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Get Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Set Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Delete Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "List Integration Account Agreement Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Get Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Set Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Delete Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Get Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Set Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Delete Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "List Integration Account Schema Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Get Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Set Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Delete Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "List Integration Account Map Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Get Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Set Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Delete Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "List Integration Account Assembly Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Get Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Set Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Delete Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Get Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Set Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Delete Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Get Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Set Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Delete Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Join Integration Service Environment" } } - }, - { - "name": "Microsoft.Logic/integrationAccounts/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Get Integration Account", - "description": "Reads the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Set Integration Account", - "description": "Creates or updates the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Delete Integration Account", - "description": "Deletes the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "List Integration Account Callback URL", - "description": "Gets the callback URL for integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "List Key Vault Keys", - "description": "Gets the keys in the key vault." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Log Integration Account Tracking Events", - "description": "Logs the tracking events in the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/join/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Join Integration Account", - "description": "Joins the Integration Account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Get Integration Account Partner", - "description": "Reads the parter in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Set Integration Account Partner", - "description": "Creates or updates the partner in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Delete Integration Account Partner", - "description": "Deletes the partner in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "List Integration Account Partner Content Callback URL", - "description": "Gets the callback URL for partner content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Get Integration Account Agreement", - "description": "Reads the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Set Integration Account Agreement", - "description": "Creates or updates the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Delete Integration Account Agreement", - "description": "Deletes the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "List Integration Account Agreement Content Callback URL", - "description": "Gets the callback URL for agreement content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Get Integration Account Certificate", - "description": "Reads the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Set Integration Account Certificate", - "description": "Creates or updates the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Delete Integration Account Certificate", - "description": "Deletes the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Get Integration Account Schema", - "description": "Reads the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Set Integration Account Schema", - "description": "Creates or updates the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Delete Integration Account Schema", - "description": "Deletes the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "List Integration Account Schema Content Callback URL", - "description": "Gets the callback URL for schema content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Get Integration Account Map", - "description": "Reads the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Set Integration Account Map", - "description": "Creates or updates the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Delete Integration Account Map", - "description": "Deletes the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "List Integration Account Map Content Callback URL", - "description": "Gets the callback URL for map content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Get Integration Account Assembly", - "description": "Reads the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Set Integration Account Assembly", - "description": "Creates or updates the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Delete Integration Account Assembly", - "description": "Deletes the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "List Integration Account Assembly Content Callback URL", - "description": "Gets the callback URL for assembly content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Get Integration Account Batch Configuration", - "description": "Reads the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Set Integration Account Batch Configuration", - "description": "Creates or updates the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Delete Integration Account Batch Configuration", - "description": "Deletes the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Get Integration Account Session", - "description": "Reads the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Set Integration Account Session", - "description": "Creates or updates the session in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Delete Integration Account Session", - "description": "Deletes the session in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Get Integration Service Environment", - "description": "Reads the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Set Integration Service Environment", - "description": "Creates or updates the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Delete Integration Service Environment", - "description": "Deletes the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/join/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Join Integration Service Environment", - "description": "Joins the Integration Service Environment." - } - } - ] + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json index 97580408f4fe..079336083d3f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json @@ -9,37 +9,39 @@ }, "responses": { "200": { - "properties": { - "inputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "5XUACojv0aBfuP56os3CWw==", - "contentSize": 46, - "contentHash": { - "algorithm": "md5", - "value": "XXUACojv0aBfuP56os3CWw==" - } + "body": { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" }, - "outputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", - "contentSize": 11873, - "contentHash": { - "algorithm": "md5", - "value": "XX6KRrevI6AAxEvo9FeBYQ==" - } - }, - "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "Microsoft.Logic/workflows/runs/actions" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json index 2fded69b8506..5241c792bd5c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json @@ -8,41 +8,43 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "inputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "5XUACojv0aBfuP56os3CWw==", - "contentSize": 46, - "contentHash": { - "algorithm": "md5", - "value": "XXUACojv0aBfuP56os3CWw==" - } + "body": { + "value": [ + { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" }, - "outputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", - "contentSize": 11873, - "contentHash": { - "algorithm": "md5", - "value": "XX6KRrevI6AAxEvo9FeBYQ==" - } - }, - "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "Microsoft.Logic/workflows/runs/actions" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json index 3321ed1e8ce5..4fd4fa55471b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json @@ -8,35 +8,37 @@ }, "responses": { "200": { - "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "Microsoft.Logic/workflows/versions" - }, - "trigger": { - "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "body": { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", - "status": "Succeeded" + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} }, - "outputs": {} - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json index 983bb890cca0..5ebd64ba273a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json @@ -7,39 +7,41 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "Microsoft.Logic/workflows/versions" - }, - "trigger": { - "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "body": { + "value": [ + { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", - "status": "Succeeded" + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} }, - "outputs": {} - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json index 11daf6435e39..d272b7932e1b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json @@ -9,7 +9,7 @@ }, "responses": { "200": { - "value": { + "body": { "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json index 7d7d56ce1518..c90e2b68410f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json @@ -8,29 +8,31 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", - "status": "Succeeded", - "code": "OK", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" + "body": { + "value": [ + { + "properties": { + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.2987996Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "status": "Succeeded", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } }, - "fired": true, - "run": { - "name": "08586676746934337772206998657CU22", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/triggers/histories" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/triggers/histories" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json index e5ce86368b32..45b7784fdad3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json @@ -8,20 +8,22 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json index bdfb38ce41ed..f1386bd1f126 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json @@ -7,24 +7,26 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json index 8582e730d11a..d1f5224a9cb4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json @@ -8,67 +8,69 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json index db0ac1e2a457..7380b3d2eb9a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json @@ -7,71 +7,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json index aab93945cbb5..6dc3a633b528 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json @@ -64,59 +64,61 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json index c2c6b1b45499..04da4cc3e337 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json @@ -10,17 +10,19 @@ }, "responses": { "200": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "$connections": { - "defaultValue": {}, - "type": "Object" - } - }, - "triggers": {}, - "actions": {}, - "outputs": {} + "body": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "$connections": { + "defaultValue": {}, + "type": "Object" + } + }, + "triggers": {}, + "actions": {}, + "outputs": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json index ab6341d47595..8b12b9cc7763 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json @@ -7,67 +7,69 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json index bbe4fe2d03de..2e1d7a83eeb8 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json @@ -6,71 +6,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json index 5d18a2201856..1d13883c1213 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json @@ -5,71 +5,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json index aab93945cbb5..6dc3a633b528 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json @@ -64,59 +64,61 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json index 21f8bc57f4c6..7f1683aa7c35 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json @@ -4,1348 +4,1265 @@ }, "responses": { "200": { - "value": [ - { - "name": "Microsoft.Logic/operations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Operation", - "operation": "Get Operation", - "description": "Gets the operation." - } - }, - { - "name": "Microsoft.Logic/register/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Resource Provider", - "operation": "Register Resource Provider", - "description": "Registers the Microsoft.Logic resource provider for a given subscription." - } - }, - { - "name": "Microsoft.Logic/locations/workflows/validate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Validate Workflow", - "description": "Validates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Get Workflow", - "description": "Reads the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Set Workflow", - "description": "Creates or updates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Delete Workflow", - "description": "Deletes the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/run/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Run Workflow", - "description": "Starts a run of the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/disable/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Disable Workflow", - "description": "Disables the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/enable/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Enable Workflow", - "description": "Enables the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/suspend/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Suspend Workflow", - "description": "Suspends the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/validate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Validate Workflow", - "description": "Validates the workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/move/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Move Workflow", - "description": "Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name." - } - }, - { - "name": "Microsoft.Logic/workflows/listSwagger/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "Get workflow swagger", - "description": "Gets the workflow swagger definitions." - } - }, - { - "name": "Microsoft.Logic/workflows/versions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Version", - "operation": "Get Workflow Version", - "description": "Reads the workflow version." - } - }, - { - "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "List Trigger Callback URL", - "description": "Gets the callback URL for trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Get Access Key", - "description": "Reads the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Set Access Key", - "description": "Creates or updates the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Delete Access Key", - "description": "Deletes the access key." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/list/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "List Access Key", - "description": "Lists the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/regenerateAccessKey/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Access Key", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/workflows/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow", - "operation": "List workflow callback URL", - "description": "Gets the callback URL for workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Get Trigger", - "description": "Reads the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/run/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Trigger Run", - "description": "Executes the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/reset/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Trigger Reset", - "description": "Resets the trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/setState/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "Set Trigger State", - "description": "Sets the trigger state." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/histories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger Histories", - "operation": "Get Trigger Histories", - "description": "Reads the trigger histories." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger Histories", - "operation": "Resubmit trigger", - "description": "Resubmits the workflow trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Trigger", - "operation": "List Trigger Callback URL", - "description": "Gets the callback URL for trigger." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run", - "operation": "Get Workflow Run", - "description": "Reads the workflow run." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/cancel/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run", - "operation": "Cancel Workflow Run", - "description": "Cancels the run of a workflow." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/operations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Operation", - "operation": "Get Workflow Run Operation Status", - "description": "Reads the workflow run operation status." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action", - "operation": "Get Workflow Run Action", - "description": "Reads the workflow run action." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Repetition", - "operation": "Get Workflow Run Action Repetition", - "description": "Reads the workflow run action repetition." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Scope Repetition", - "operation": "Get Workflow Run Action Scope Repetition", - "description": "Reads the workflow run action scope repetition." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow run action request history", - "operation": "Gets the workflow run action request history", - "description": "Reads the workflow run action request history." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow run repetition action request history", - "operation": "Gets the workflow run repetition action request history", - "description": "Reads the workflow run repetition action request history." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Diagnostic Setting", - "operation": "Get Workflow Diagnostic Setting", - "description": "Reads the workflow diagnostic settings." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Diagnostic Setting", - "operation": "Set Workflow Diagnostic Setting", - "description": "Creates or updates the workflow diagnostic setting." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Metric Definition", - "operation": "Get Workflow Metric Definition", - "description": "Reads the workflow metric definitions." - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "RunsStarted", - "displayName": "Runs Started", - "displayDescription": "Number of workflow runs started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCompleted", - "displayName": "Runs Completed", - "displayDescription": "Number of workflow runs completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsSucceeded", - "displayName": "Runs Succeeded", - "displayDescription": "Number of workflow runs succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsFailed", - "displayName": "Runs Failed", - "displayDescription": "Number of workflow runs failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCancelled", - "displayName": "Runs Cancelled", - "displayDescription": "Number of workflow runs cancelled.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunLatency", - "displayName": "Run Latency", - "displayDescription": "Latency of completed workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunSuccessLatency", - "displayName": "Run Success Latency", - "displayDescription": "Latency of succeeded workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunThrottledEvents", - "displayName": "Run Throttled Events", - "displayDescription": "Number of workflow action or trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunFailurePercentage", - "displayName": "Run Failure Percentage", - "displayDescription": "Percentage of workflow runs failed.", - "unit": "Percent", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsStarted", - "displayName": "Actions Started ", - "displayDescription": "Number of workflow actions started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsCompleted", - "displayName": "Actions Completed ", - "displayDescription": "Number of workflow actions completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSucceeded", - "displayName": "Actions Succeeded ", - "displayDescription": "Number of workflow actions succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsFailed", - "displayName": "Actions Failed ", - "displayDescription": "Number of workflow actions failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSkipped", - "displayName": "Actions Skipped ", - "displayDescription": "Number of workflow actions skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionLatency", - "displayName": "Action Latency ", - "displayDescription": "Latency of completed workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionSuccessLatency", - "displayName": "Action Success Latency ", - "displayDescription": "Latency of succeeded workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionThrottledEvents", - "displayName": "Action Throttled Events", - "displayDescription": "Number of workflow action throttled events..", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersStarted", - "displayName": "Triggers Started ", - "displayDescription": "Number of workflow triggers started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersCompleted", - "displayName": "Triggers Completed ", - "displayDescription": "Number of workflow triggers completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSucceeded", - "displayName": "Triggers Succeeded ", - "displayDescription": "Number of workflow triggers succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFailed", - "displayName": "Triggers Failed ", - "displayDescription": "Number of workflow triggers failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSkipped", - "displayName": "Triggers Skipped", - "displayDescription": "Number of workflow triggers skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFired", - "displayName": "Triggers Fired ", - "displayDescription": "Number of workflow triggers fired.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggerLatency", - "displayName": "Trigger Latency ", - "displayDescription": "Latency of completed workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerFireLatency", - "displayName": "Trigger Fire Latency ", - "displayDescription": "Latency of fired workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerSuccessLatency", - "displayName": "Trigger Success Latency ", - "displayDescription": "Latency of succeeded workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerThrottledEvents", - "displayName": "Trigger Throttled Events", - "displayDescription": "Number of workflow trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableActionExecutions", - "displayName": "Billable Action Executions", - "displayDescription": "Number of workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableTriggerExecutions", - "displayName": "Billable Trigger Executions", - "displayDescription": "Number of workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableExecutions", - "displayName": "Total Billable Executions", - "displayDescription": "Number of workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeActionExecutions", - "displayName": "Billable Native Action Executions", - "displayDescription": "Number of native workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeTriggerExecutions", - "displayName": "Billable Native Trigger Executions", - "displayDescription": "Number of native workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableNativeExecutions", - "displayName": "Total Native Billable Executions", - "displayDescription": "Number of native workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardActionExecutions", - "displayName": "Billable Standard Action Executions", - "displayDescription": "Number of standard workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardTriggerExecutions", - "displayName": "Billable Standard Trigger Executions", - "displayDescription": "Number of standard workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableStandardExecutions", - "displayName": "Total Standard Billable Executions", - "displayDescription": "Number of standard workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - } - ] + "body": { + "value": [ + { + "name": "Microsoft.Logic/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Operation", + "operation": "Get Operation" } - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Log Definition", - "operation": "Get Workflow Log Definition", - "description": "Reads the workflow log definitions." - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "WorkflowRuntime", - "displayName": "Workflow runtime diagnostic events", - "description": "Diagnostic events related to workflow runtime executions.", - "blobDuration": "PT1H" - } - ] + }, + { + "name": "Microsoft.Logic/register/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Resource Provider", + "operation": "Register Resource Provider" } - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action", - "operation": "List Workflow Run Action Expression Traces", - "description": "Gets the workflow run action expression traces." - } - }, - { - "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Workflow Run Action Repetition", - "operation": "List Workflow Run Action Repetition Expression Traces", - "description": "Gets the workflow run action repetition expression traces." - } - }, - { - "origin": "System", - "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Log Definition", - "operation": "Get Integration Account Log Definition", - "description": "Reads the Integration Account log definitions." - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "IntegrationAccountTrackingEvents", - "displayName": "Integration Account track events", - "description": "Track events related to Integration Account.", - "blobDuration": "PT1H" - } - ] + }, + { + "name": "Microsoft.Logic/locations/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Set Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Delete Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Run Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/disable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Disable Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/enable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Enable Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/suspend/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Suspend Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/move/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Move Workflow" + } + }, + { + "name": "Microsoft.Logic/workflows/listSwagger/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get workflow swagger" + } + }, + { + "name": "Microsoft.Logic/workflows/versions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Version", + "operation": "Get Workflow Version" + } + }, + { + "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Get Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Set Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Delete Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/list/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "List Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/workflows/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "List workflow callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Get Trigger" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Run" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/reset/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Reset" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/setState/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Set Trigger State" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Get Trigger Histories" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Resubmit trigger" + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Get Workflow Run" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/cancel/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Cancel Workflow Run" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Operation", + "operation": "Get Workflow Run Operation Status" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "Get Workflow Run Action" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "Get Workflow Run Action Repetition" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Scope Repetition", + "operation": "Get Workflow Run Action Scope Repetition" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run action request history", + "operation": "Gets the workflow run action request history" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run repetition action request history", + "operation": "Gets the workflow run repetition action request history" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Get Workflow Diagnostic Setting" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Set Workflow Diagnostic Setting" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Metric Definition", + "operation": "Get Workflow Metric Definition" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "RunsStarted", + "displayName": "Runs Started", + "displayDescription": "Number of workflow runs started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCompleted", + "displayName": "Runs Completed", + "displayDescription": "Number of workflow runs completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsSucceeded", + "displayName": "Runs Succeeded", + "displayDescription": "Number of workflow runs succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsFailed", + "displayName": "Runs Failed", + "displayDescription": "Number of workflow runs failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCancelled", + "displayName": "Runs Cancelled", + "displayDescription": "Number of workflow runs cancelled.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunLatency", + "displayName": "Run Latency", + "displayDescription": "Latency of completed workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunSuccessLatency", + "displayName": "Run Success Latency", + "displayDescription": "Latency of succeeded workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunThrottledEvents", + "displayName": "Run Throttled Events", + "displayDescription": "Number of workflow action or trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunFailurePercentage", + "displayName": "Run Failure Percentage", + "displayDescription": "Percentage of workflow runs failed.", + "unit": "Percent", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsStarted", + "displayName": "Actions Started ", + "displayDescription": "Number of workflow actions started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsCompleted", + "displayName": "Actions Completed ", + "displayDescription": "Number of workflow actions completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSucceeded", + "displayName": "Actions Succeeded ", + "displayDescription": "Number of workflow actions succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsFailed", + "displayName": "Actions Failed ", + "displayDescription": "Number of workflow actions failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSkipped", + "displayName": "Actions Skipped ", + "displayDescription": "Number of workflow actions skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionLatency", + "displayName": "Action Latency ", + "displayDescription": "Latency of completed workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionSuccessLatency", + "displayName": "Action Success Latency ", + "displayDescription": "Latency of succeeded workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionThrottledEvents", + "displayName": "Action Throttled Events", + "displayDescription": "Number of workflow action throttled events..", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersStarted", + "displayName": "Triggers Started ", + "displayDescription": "Number of workflow triggers started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersCompleted", + "displayName": "Triggers Completed ", + "displayDescription": "Number of workflow triggers completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSucceeded", + "displayName": "Triggers Succeeded ", + "displayDescription": "Number of workflow triggers succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFailed", + "displayName": "Triggers Failed ", + "displayDescription": "Number of workflow triggers failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSkipped", + "displayName": "Triggers Skipped", + "displayDescription": "Number of workflow triggers skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFired", + "displayName": "Triggers Fired ", + "displayDescription": "Number of workflow triggers fired.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggerLatency", + "displayName": "Trigger Latency ", + "displayDescription": "Latency of completed workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerFireLatency", + "displayName": "Trigger Fire Latency ", + "displayDescription": "Latency of fired workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerSuccessLatency", + "displayName": "Trigger Success Latency ", + "displayDescription": "Latency of succeeded workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerThrottledEvents", + "displayName": "Trigger Throttled Events", + "displayDescription": "Number of workflow trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableActionExecutions", + "displayName": "Billable Action Executions", + "displayDescription": "Number of workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableTriggerExecutions", + "displayName": "Billable Trigger Executions", + "displayDescription": "Number of workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableExecutions", + "displayName": "Total Billable Executions", + "displayDescription": "Number of workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeActionExecutions", + "displayName": "Billable Native Action Executions", + "displayDescription": "Number of native workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeTriggerExecutions", + "displayName": "Billable Native Trigger Executions", + "displayDescription": "Number of native workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableNativeExecutions", + "displayName": "Total Native Billable Executions", + "displayDescription": "Number of native workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardActionExecutions", + "displayName": "Billable Standard Action Executions", + "displayDescription": "Number of standard workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardTriggerExecutions", + "displayName": "Billable Standard Trigger Executions", + "displayDescription": "Number of standard workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableStandardExecutions", + "displayName": "Total Standard Billable Executions", + "displayDescription": "Number of standard workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + } + ] + } + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Log Definition", + "operation": "Get Workflow Log Definition" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "WorkflowRuntime", + "displayName": "Workflow runtime diagnostic events", + "description": "Diagnostic events related to workflow runtime executions.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "List Workflow Run Action Expression Traces" + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "List Workflow Run Action Repetition Expression Traces" + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Log Definition", + "operation": "Get Integration Account Log Definition" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "IntegrationAccountTrackingEvents", + "displayName": "Integration Account track events", + "description": "Track events related to Integration Account.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Get Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Set Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Delete Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Regenerate Access Key" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Integration Account Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Key Vault Keys" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Log Integration Account Tracking Events" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Join Integration Account" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Get Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Set Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Delete Integration Account Partner" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "List Integration Account Partner Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Get Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Set Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Delete Integration Account Agreement" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "List Integration Account Agreement Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Get Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Set Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Delete Integration Account Certificate" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Get Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Set Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Delete Integration Account Schema" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "List Integration Account Schema Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Get Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Set Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Delete Integration Account Map" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "List Integration Account Map Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Get Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Set Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Delete Integration Account Assembly" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "List Integration Account Assembly Content Callback URL" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Get Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Set Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Delete Integration Account Batch Configuration" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Get Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Set Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Delete Integration Account Session" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Get Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Set Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Delete Integration Service Environment" + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Join Integration Service Environment" } } - }, - { - "name": "Microsoft.Logic/integrationAccounts/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Get Integration Account", - "description": "Reads the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Set Integration Account", - "description": "Creates or updates the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Delete Integration Account", - "description": "Deletes the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Regenerate Access Key", - "description": "Regenerates the access key secrets." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "List Integration Account Callback URL", - "description": "Gets the callback URL for integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "List Key Vault Keys", - "description": "Gets the keys in the key vault." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Log Integration Account Tracking Events", - "description": "Logs the tracking events in the integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/join/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account", - "operation": "Join Integration Account", - "description": "Joins the Integration Account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Get Integration Account Partner", - "description": "Reads the parter in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Set Integration Account Partner", - "description": "Creates or updates the partner in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "Delete Integration Account Partner", - "description": "Deletes the partner in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Partner", - "operation": "List Integration Account Partner Content Callback URL", - "description": "Gets the callback URL for partner content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Get Integration Account Agreement", - "description": "Reads the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Set Integration Account Agreement", - "description": "Creates or updates the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "Delete Integration Account Agreement", - "description": "Deletes the agreement in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Agreement", - "operation": "List Integration Account Agreement Content Callback URL", - "description": "Gets the callback URL for agreement content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Get Integration Account Certificate", - "description": "Reads the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Set Integration Account Certificate", - "description": "Creates or updates the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/certificates/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Certificate", - "operation": "Delete Integration Account Certificate", - "description": "Deletes the certificate in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Get Integration Account Schema", - "description": "Reads the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Set Integration Account Schema", - "description": "Creates or updates the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "Delete Integration Account Schema", - "description": "Deletes the schema in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Schema", - "operation": "List Integration Account Schema Content Callback URL", - "description": "Gets the callback URL for schema content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Get Integration Account Map", - "description": "Reads the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Set Integration Account Map", - "description": "Creates or updates the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "Delete Integration Account Map", - "description": "Deletes the map in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Map", - "operation": "List Integration Account Map Content Callback URL", - "description": "Gets the callback URL for map content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Get Integration Account Assembly", - "description": "Reads the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Set Integration Account Assembly", - "description": "Creates or updates the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "Delete Integration Account Assembly", - "description": "Deletes the assembly in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Assembly", - "operation": "List Integration Account Assembly Content Callback URL", - "description": "Gets the callback URL for assembly content in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Get Integration Account Batch Configuration", - "description": "Reads the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Set Integration Account Batch Configuration", - "description": "Creates or updates the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Batch Configuration", - "operation": "Delete Integration Account Batch Configuration", - "description": "Deletes the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Get Integration Account Session", - "description": "Reads the batch configuration in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Set Integration Account Session", - "description": "Creates or updates the session in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationAccounts/sessions/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Account Session", - "operation": "Delete Integration Account Session", - "description": "Deletes the session in integration account." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/read", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Get Integration Service Environment", - "description": "Reads the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/write", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Set Integration Service Environment", - "description": "Creates or updates the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/delete", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Delete Integration Service Environment", - "description": "Deletes the integration service environment." - } - }, - { - "name": "Microsoft.Logic/integrationServiceEnvironments/join/action", - "display": { - "provider": "Microsoft Logic", - "resource": "Integration Service Environment", - "operation": "Join Integration Service Environment", - "description": "Joins the Integration Service Environment." - } - } - ] + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json index 79c49a98d260..1e63c5e355d0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json @@ -9,37 +9,39 @@ }, "responses": { "200": { - "properties": { - "inputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "5XUACojv0aBfuP56os3CWw==", - "contentSize": 46, - "contentHash": { - "algorithm": "md5", - "value": "XXUACojv0aBfuP56os3CWw==" - } + "body": { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" }, - "outputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", - "contentSize": 11873, - "contentHash": { - "algorithm": "md5", - "value": "XX6KRrevI6AAxEvo9FeBYQ==" - } - }, - "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "Microsoft.Logic/workflows/runs/actions" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json index 65e48ec70a79..5515bad5129f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json @@ -8,41 +8,43 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "inputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "5XUACojv0aBfuP56os3CWw==", - "contentSize": 46, - "contentHash": { - "algorithm": "md5", - "value": "XXUACojv0aBfuP56os3CWw==" - } + "body": { + "value": [ + { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" }, - "outputsLink": { - "uri": "https://tempuri.org", - "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", - "contentSize": 11873, - "contentHash": { - "algorithm": "md5", - "value": "XX6KRrevI6AAxEvo9FeBYQ==" - } - }, - "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "Microsoft.Logic/workflows/runs/actions" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json index e2aac39d7dee..e9ff1586ffe9 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json @@ -8,35 +8,37 @@ }, "responses": { "200": { - "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "Microsoft.Logic/workflows/versions" - }, - "trigger": { - "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "body": { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", - "status": "Succeeded" + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} }, - "outputs": {} - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json index a0051eb43519..4bf84603c963 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json @@ -7,39 +7,41 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "Microsoft.Logic/workflows/versions" - }, - "trigger": { - "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "body": { + "value": [ + { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", - "status": "Succeeded" + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} }, - "outputs": {} - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json index 62075f31e66f..561d6fe7e4ab 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json @@ -9,7 +9,7 @@ }, "responses": { "200": { - "value": { + "body": { "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json index 0a5a49364185..62efc66a2ea2 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json @@ -8,29 +8,31 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", - "status": "Succeeded", - "code": "OK", - "correlation": { - "clientTrackingId": "08586676746934337772206998657CU22" + "body": { + "value": [ + { + "properties": { + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.2987996Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "status": "Succeeded", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } }, - "fired": true, - "run": { - "name": "08586676746934337772206998657CU22", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/runs" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "Microsoft.Logic/workflows/triggers/histories" - } - ] + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/triggers/histories" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json index cad2208e14f5..e6003828a922 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json @@ -8,20 +8,22 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json index cad2208e14f5..e6003828a922 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json @@ -8,20 +8,22 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json index b7b460a1337c..439c43b23b89 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json @@ -7,24 +7,26 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json index f4e3b1edf5a1..733de00f26b3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json @@ -8,67 +8,69 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json index a44b38d1e452..84537638be6e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json @@ -7,71 +7,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json index 776e94be8767..36f0885e4c66 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json @@ -64,117 +64,121 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } } } }, "201": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json index 0e1dbdff506c..0dbda974d468 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json @@ -10,17 +10,19 @@ }, "responses": { "200": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "$connections": { - "defaultValue": {}, - "type": "Object" - } - }, - "triggers": {}, - "actions": {}, - "outputs": {} + "body": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "$connections": { + "defaultValue": {}, + "type": "Object" + } + }, + "triggers": {}, + "actions": {}, + "outputs": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json index 8ec69b492675..dc0928646af0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json @@ -7,67 +7,69 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json index f45331bbcadb..74886e6baa4f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json @@ -6,71 +6,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json index 911ddf497f30..33ba47f6e362 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json @@ -5,71 +5,73 @@ }, "responses": { "200": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} - } - ] + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json index e41aec2e6d3e..d55e231b78f4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json @@ -64,59 +64,61 @@ }, "responses": { "200": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", - "state": "Enabled", - "version": "08586677515911718341", - "accessEndpoint": "http://tempuri.org", - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] + "body": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } } } } From 1905235757058ec86564ba1f9a6687fc30a2a1b1 Mon Sep 17 00:00:00 2001 From: navysingla <47647464+navysingla@users.noreply.github.com> Date: Sun, 28 Jul 2019 19:23:50 -0700 Subject: [PATCH 359/495] Nasingla/subscription text (#6339) --- .../examples/createSubscription.json | 7 ++--- .../examples/getOperations.json | 2 +- .../2018-11-01-preview/subscriptions.json | 29 +++++++++++-------- .../examples/getOperations.json | 4 +-- .../2019-03-01-preview/subscriptions.json | 22 +++++++------- 5 files changed, 34 insertions(+), 30 deletions(-) diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json index a8ed928e2fd0..8232e7c8acc8 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json @@ -4,14 +4,13 @@ "invoiceSectionName": "b859d705-1ed7-4769-9d4b-19238e9e8ac2_10_31", "api-version": "2018-11-01-preview", "body": { - "displayName": "Test Ea Azure Sub", + "displayName": "Contoso MCA subscription", "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/12a6eed9-5d39-4103-a5db-2db1db0a8c67/billingProfiles/dbcb81c8-cda9-4b01-b9fc-831e6a2e152e", "skuId": "0001", - "costCenter": "myCostCenter123", + "costCenter": "135366376", "owner": { "objectId": "973034ff-acb7-409c-b731-e789672c7b31" - }, - "additionalParameters": {} + } } }, "responses": { diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json index 2ada8c51e381..2a0983a73798 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json @@ -11,7 +11,7 @@ "display": { "provider": "Microsoft Subscription", "resource": "Resources", - "operation": "Create an Azure subscription" + "operation": "The operation to create a new Azure subscription" } } ] diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json index 4be926aea563..ca46e6f1c464 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json @@ -92,7 +92,7 @@ }, "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Subscription/createSubscription": { "post": { - "description": "Creates an Azure subscription", + "description": "The operation to create a new Azure subscription", "operationId": "SubscriptionFactory_CreateSubscription", "x-ms-examples": { "createSubscription": { @@ -131,14 +131,14 @@ { "name": "billingAccountName", "in": "path", - "description": "The name of the commerce root billing account.", + "description": "The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.", "required": true, "type": "string" }, { "name": "invoiceSectionName", "in": "path", - "description": "The name of the invoice section.", + "description": "The name of the invoice section in the billing account for which you want to create the subscription.", "required": true, "type": "string" }, @@ -163,34 +163,39 @@ "description": "The created subscription object.", "properties": { "subscriptionLink": { - "description": "The link to the new subscription.", + "description": "The link to the new subscription. Use this link to check the status of subscription creation operation.", "type": "string" } } }, "SubscriptionCreationParameters": { - "description": "Subscription Creation Parameters required to create a new Azure subscription.", + "description": "The parameters required to create a new subscription.", + "required": ["displayName","billingProfileId","skuId"], "properties": { "displayName": { - "description": "The display name of the subscription.", + "description": "The friendly name of the subscription.", "type": "string" }, "billingProfileId": { - "description": "The ARM id of the billing profile.", + "description": "The ARM ID of the billing profile for which you want to create the subscription.", "type": "string" }, "skuId": { - "description": "The commerce id of the sku.", + "description": "The SKU ID of the Azure plan. Azure plan determines the pricing and service-level agreement of the subscription. Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.", "type": "string" }, "costCenter": { - "description": "optional customer cost center", + "description": "If set, the cost center will show up on the Azure usage and charges file.", "type": "string" }, "owner": { - "description": "rbac owner of the subscription", + "description": "If specified, the AD principal will get owner access to the subscription, along with the user who is performing the create subscription operation", "$ref": "#/definitions/AdPrincipal" }, + "managementGroupId": { + "description": "The identifier of the management group to which this subscription will be associated.", + "type": "string" + }, "additionalParameters": { "description": "Additional, untyped parameters to support custom subscription creation scenarios.", "type": "object", @@ -209,13 +214,13 @@ "type": "string" }, "message": { - "description": "Error message indicating why the operation failed.", + "description": "Describes the error if the operation is not successful.", "type": "string" } } }, "AdPrincipal": { - "description": "Active Directory Principal for subscription creation delegated permission", + "description": "Active Directory Principal who’ll get owner access on the new subscription.", "properties": { "objectId": { "description": "Object id of the Principal", diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json index 2375fae99481..5a218ac9c563 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json @@ -11,7 +11,7 @@ "display": { "provider": "Microsoft Subscription", "resource": "Resources", - "operation": "Cancels the subscription" + "operation": "The operation to cancel a subscription" } }, { @@ -19,7 +19,7 @@ "display": { "provider": "Microsoft Subscription", "resource": "Resources", - "operation": "Renames the subscription" + "operation": "The operation to rename a subscription" } }, { diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json index 305a3ba051cc..6ebbc4049865 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json @@ -38,7 +38,7 @@ } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Describes the error if the operation is not successful.", "schema": { "$ref": "#/definitions/ErrorResponse" } @@ -54,7 +54,7 @@ "$ref": "./examples/cancelSubscription.json" } }, - "description": "Cancels the subscription", + "description": "The operation to cancel a subscription", "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -71,7 +71,7 @@ } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Describes the error if the operation is not successful.", "schema": { "$ref": "#/definitions/ErrorResponse" } @@ -87,7 +87,7 @@ "$ref": "./examples/renameSubscription.json" } }, - "description": "Renames the subscription", + "description": "The operation to rename a subscription", "parameters": [ { "$ref": "#/parameters/subscriptionIdParameter" @@ -107,7 +107,7 @@ } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Describes the error if the operation is not successful.", "schema": { "$ref": "#/definitions/ErrorResponse" } @@ -151,7 +151,7 @@ }, "definitions": { "ErrorResponse": { - "description": "Describes the format of Error response.", + "description": "Describes the error if the operation is not successful.", "type": "object", "properties": { "code": { @@ -165,20 +165,20 @@ } }, "CanceledSubscriptionId": { - "description": "Canceled Subscription Id", + "description": "The ID of the canceled subscription", "properties": { "value": { - "description": "Canceled Subscription Id", + "description": "The ID of the canceled subscription", "type": "string", "readOnly": true } } }, "RenamedSubscriptionId": { - "description": "Renamed Subscription Id", + "description": "The ID of the subscriptions that is being renamed", "properties": { "value": { - "description": "Renamed Subscription Id", + "description": "The ID of the subscriptions that is being renamed", "type": "string", "readOnly": true } @@ -196,7 +196,7 @@ }, "SubscriptionName": { "type": "object", - "description": "New name of the subscription.", + "description": "The new name of the subscription.", "properties": { "subscriptionName": { "type": "string", From bc9c454ce9515a84cf1d7dadc1ad8d5cfc23a0ed Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 28 Jul 2019 22:44:23 -0400 Subject: [PATCH 360/495] fix: Batch model validation errors (#6753) - Add body for RESPONSE_BODY_NOT_IN_EXAMPLE errors - active -> Active for state enum in 2017-09-01 examples --- .../examples/ApplicationCreate.json | 10 +-- .../2017-09-01/examples/ApplicationGet.json | 28 +++++---- .../2017-09-01/examples/ApplicationList.json | 62 ++++++++++--------- .../examples/ApplicationPackageCreate.json | 14 +++-- .../examples/ApplicationPackageGet.json | 12 ++-- .../2018-12-01/examples/ApplicationList.json | 46 +++++++------- .../examples/ApplicationPackageList.json | 44 ++++++------- .../2019-04-01/examples/ApplicationList.json | 46 +++++++------- .../examples/ApplicationPackageList.json | 44 ++++++------- 9 files changed, 162 insertions(+), 144 deletions(-) diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json index 2b87440d8ab4..89fb6d3c7979 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json @@ -12,10 +12,12 @@ }, "responses": { "201": { - "id": "app1", - "displayName": "myAppName", - "packages": [], - "allowUpdates": false + "body": { + "id": "app1", + "displayName": "myAppName", + "packages": [], + "allowUpdates": false + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json index 8fce07113859..db70b7ad18ff 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json @@ -8,19 +8,21 @@ }, "responses": { "200": { - "id": "app1", - "displayName": "myAppName", - "packages": [ - { - "id": "app1", - "version": "1", - "state": "active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - ], - "allowUpdates": false, - "defaultVersion": "1" + "body": { + "id": "app1", + "displayName": "myAppName", + "packages": [ + { + "id": "app1", + "version": "1", + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } + ], + "allowUpdates": false, + "defaultVersion": "1" + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json index 5de3779857ae..1c14403fcb19 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json @@ -7,36 +7,38 @@ }, "responses": { "200": { - "value": [ - { - "id": "app1", - "displayName": "myAppName", - "packages": [ - { - "version": "1", - "state": "active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - ], - "allowUpdates": false, - "defaultVersion": "1" - }, - { - "id": "app2", - "displayName": "myAppName", - "packages": [ - { - "version": "1", - "state": "active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - ], - "allowUpdates": false, - "defaultVersion": "1" - } - ] + "body": { + "value": [ + { + "id": "app1", + "displayName": "myAppName", + "packages": [ + { + "version": "1", + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } + ], + "allowUpdates": false, + "defaultVersion": "1" + }, + { + "id": "app2", + "displayName": "myAppName", + "packages": [ + { + "version": "1", + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } + ], + "allowUpdates": false, + "defaultVersion": "1" + } + ] + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json index 00377b4a8d2d..224da10d1979 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json @@ -9,12 +9,14 @@ }, "responses": { "201": { - "id": "app1", - "version": "1", - "state": "active", - "format": "zip", - "storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas", - "storageUrlExpiry": "2017-06-27T18:48:09.9330991Z" + "body": { + "id": "app1", + "version": "1", + "state": "Active", + "format": "zip", + "storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas", + "storageUrlExpiry": "2017-06-27T18:48:09.9330991Z" + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json index a5c2e055a230..d679e8cf0d1a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json @@ -9,11 +9,13 @@ }, "responses": { "200": { - "id": "app1", - "version": "1", - "state": "active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + "body": { + "id": "app1", + "version": "1", + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json index b8f80d28dd2a..77096edde5f4 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json @@ -7,29 +7,31 @@ }, "responses": { "200": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "1" + "body": { + "value": [ + { + "type": "Microsoft.Batch/batchAccounts/applications", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", + "name": "app1", + "etag": "W/\"0x8D64F91A9089879\"", + "properties": { + "allowUpdates": false, + "defaultVersion": "1" + } + }, + { + "type": "Microsoft.Batch/batchAccounts/applications", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", + "name": "app1", + "etag": "W/\"0x8D64F91A9089879\"", + "properties": { + "allowUpdates": false, + "defaultVersion": "2.0", + "displayName": "myAppName" + } } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "2.0", - "displayName": "myAppName" - } - } - ] + ] + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json index 7de526067116..4973ac65a524 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json @@ -8,28 +8,30 @@ }, "responses": { "200": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0", - "name": "1.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Pending" + "body": { + "value": [ + { + "type": "Microsoft.Batch/batchAccounts/applications/versions", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0", + "name": "1.0", + "etag": "W/\"0x8D64FF0B9F47F67\"", + "properties": { + "state": "Pending" + } + }, + { + "type": "Microsoft.Batch/batchAccounts/applications/versions", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0", + "name": "2.0", + "etag": "W/\"0x8D64FF0B9F47F67\"", + "properties": { + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0", - "name": "2.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - } - ] + ] + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json index 069f28aa4a9f..cb964eaa3188 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json @@ -7,29 +7,31 @@ }, "responses": { "200": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "1" + "body": { + "value": [ + { + "type": "Microsoft.Batch/batchAccounts/applications", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", + "name": "app1", + "etag": "W/\"0x8D64F91A9089879\"", + "properties": { + "allowUpdates": false, + "defaultVersion": "1" + } + }, + { + "type": "Microsoft.Batch/batchAccounts/applications", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", + "name": "app1", + "etag": "W/\"0x8D64F91A9089879\"", + "properties": { + "allowUpdates": false, + "defaultVersion": "2.0", + "displayName": "myAppName" + } } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "2.0", - "displayName": "myAppName" - } - } - ] + ] + } } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json index fd3c2b8921f8..1edc0dafbc76 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json @@ -8,28 +8,30 @@ }, "responses": { "200": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0", - "name": "1.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Pending" + "body": { + "value": [ + { + "type": "Microsoft.Batch/batchAccounts/applications/versions", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0", + "name": "1.0", + "etag": "W/\"0x8D64FF0B9F47F67\"", + "properties": { + "state": "Pending" + } + }, + { + "type": "Microsoft.Batch/batchAccounts/applications/versions", + "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0", + "name": "2.0", + "etag": "W/\"0x8D64FF0B9F47F67\"", + "properties": { + "state": "Active", + "format": "zip", + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" + } } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0", - "name": "2.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - } - ] + ] + } } } } From 8f0d54f788304518eca62ddf281b8c889ad9613c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 28 Jul 2019 23:37:26 -0400 Subject: [PATCH 361/495] fix: applicationinsights delete examples (#6636) --- .../stable/2015-05-01/componentAnnotations_API.json | 3 +-- .../stable/2015-05-01/componentWorkItemConfigs_API.json | 3 +-- .../stable/2015-05-01/examples/AnnotationsDelete.json | 4 +--- .../stable/2015-05-01/examples/WorkItemConfigDelete.json | 4 +--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json index 5318ab4127e2..bb5b9116c39c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json @@ -154,8 +154,7 @@ ], "responses": { "200": { - "description": "The annotation that was successfully deleted.", - "schema": {} + "description": "The annotation that was successfully deleted." } }, "x-ms-examples": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json index 5eb133b41a9e..d018d4f8d6a3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json @@ -172,8 +172,7 @@ ], "responses": { "200": { - "description": "The work item configuration that was successfully deleted.", - "schema": {} + "description": "The work item configuration that was successfully deleted." } }, "x-ms-examples": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json index cd3755546bb5..1bde68cbeec6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json @@ -7,8 +7,6 @@ "annotationId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a" }, "responses": { - "200": { - "body": {} - } + "200": {} } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json index 0742113a565c..250fe7dcfafb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json @@ -7,8 +7,6 @@ "workItemConfigId": "Visual Studio Team Services" }, "responses": { - "200": { - "body": {} - } + "200": {} } } From c3147761a6a8c50c6444d46b6a77662570767315 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 01:32:02 -0400 Subject: [PATCH 362/495] fix: service-map model validation error (#6754) Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE error --- .../Machines/Ports/SMMachinesPortsGetGet.json | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json index b8cc1fb22758..9baf92e2f6d6 100644 --- a/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json +++ b/specification/service-map/resource-manager/Microsoft.OperationalInsights/preview/2015-11-01-preview/examples/Machines/Ports/SMMachinesPortsGetGet.json @@ -11,22 +11,24 @@ }, "responses": { "200": { - "kind": "port", - "properties": { - "monitoringState": "monitored", - "machine": { - "kind": "ref:machine", - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", - "type": "Microsoft.OperationalInsights/workspaces/features/machines", - "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + "body": { + "kind": "port", + "properties": { + "monitoringState": "monitored", + "machine": { + "kind": "ref:machine", + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432", + "type": "Microsoft.OperationalInsights/workspaces/features/machines", + "name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432" + }, + "displayName": ":8000", + "ipAddress": "192.168.1.1", + "portNumber": 8000 }, - "displayName": ":8000", - "ipAddress": "192.168.1.1", - "portNumber": 8000 - }, - "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", - "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", - "name": "b-c0a80101_8000" + "id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000", + "type": "Microsoft.OperationalInsights/workspaces/features/machines/ports", + "name": "b-c0a80101_8000" + } } } } From 74dfcd34b63a19fcae30518bafdddd8f7c1c0dbd Mon Sep 17 00:00:00 2001 From: xiaoyingQQ <51818185+xiaoyingQQ@users.noreply.github.com> Date: Mon, 29 Jul 2019 14:42:55 +0800 Subject: [PATCH 363/495] support dataset v2 split name (#6738) --- .../2018-06-01/entityTypes/Dataset.json | 203 +++++++++++++++++- 1 file changed, 194 insertions(+), 9 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index a7334644695d..590f4278761b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -771,6 +771,14 @@ "description": "Azure SQL dataset properties.", "properties": { "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The schema name of the Azure SQL database. Type: string (or Expression with resultType string)." + }, + "table": { "type": "object", "description": "The table name of the Azure SQL database. Type: string (or Expression with resultType string)." } @@ -831,6 +839,14 @@ "description": "Azure SQL Data Warehouse dataset properties.", "properties": { "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string)." + }, + "table": { "type": "object", "description": "The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string)." } @@ -1297,6 +1313,14 @@ "description": "On-premises Oracle dataset properties.", "properties": { "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string)." + }, + "table": { "type": "object", "description": "The table name of the on-premises Oracle database. Type: string (or Expression with resultType string)." } @@ -1724,6 +1748,14 @@ "description": "On-premises SQL Server dataset properties.", "properties": { "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)." + }, + "table": { "type": "object", "description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)." } @@ -2024,7 +2056,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/DrillDatasetTypeProperties" + } + } + }, + "DrillDatasetTypeProperties": { + "description": "Drill Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Drill. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Drill. Type: string (or Expression with resultType string)." } } }, @@ -2058,7 +2107,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/GoogleBigQueryDatasetTypeProperties" + } + } + }, + "GoogleBigQueryDatasetTypeProperties": { + "description": "Google BigQuery Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using database + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Google BigQuery. Type: string (or Expression with resultType string)." + }, + "dataset": { + "type": "object", + "description": "The database name of the Google BigQuery. Type: string (or Expression with resultType string)." } } }, @@ -2075,7 +2141,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/GreenplumDatasetTypeProperties" + } + } + }, + "GreenplumDatasetTypeProperties": { + "description": "Greenplum Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of Greenplum. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of Greenplum. Type: string (or Expression with resultType string)." } } }, @@ -2109,7 +2192,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/HiveDatasetTypeProperties" + } + } + }, + "HiveDatasetTypeProperties": { + "description": "Hive Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Hive. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Hive. Type: string (or Expression with resultType string)." } } }, @@ -2143,7 +2243,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/ImpalaDatasetTypeProperties" + } + } + }, + "ImpalaDatasetTypeProperties": { + "description": "Impala Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Impala. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Impala. Type: string (or Expression with resultType string)." } } }, @@ -2245,7 +2362,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/PhoenixDatasetTypeProperties" + } + } + }, + "PhoenixDatasetTypeProperties": { + "description": "Phoenix Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Phoenix. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Phoenix. Type: string (or Expression with resultType string)." } } }, @@ -2262,7 +2396,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/PrestoDatasetTypeProperties" + } + } + }, + "PrestoDatasetTypeProperties": { + "description": "Presto Dataset Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Presto. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Presto. Type: string (or Expression with resultType string)." } } }, @@ -2330,7 +2481,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/SparkDatasetTypeProperties" + } + } + }, + "SparkDatasetTypeProperties": { + "description": "Spark Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Spark. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Spark. Type: string (or Expression with resultType string)." } } }, @@ -2415,7 +2583,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/VerticaDatasetTypeProperties" + } + } + }, + "VerticaDatasetTypeProperties": { + "description": "Vertica Properties", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Vertica. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Vertica. Type: string (or Expression with resultType string)." } } }, From 9c1b75155dcdf6578685d76e0982580e3171290b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 11:15:00 -0400 Subject: [PATCH 364/495] fix: edgegateway model validation errors (#6759) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../2019-03-01/examples/BandwidthScheduleDelete.json | 8 ++------ .../stable/2019-03-01/examples/BandwidthSchedulePut.json | 4 +--- .../2019-03-01/examples/DataBoxEdgeDeviceDelete.json | 8 ++------ .../stable/2019-03-01/examples/DownloadUpdatesPost.json | 8 ++------ .../stable/2019-03-01/examples/InstallUpdatesPost.json | 8 ++------ .../stable/2019-03-01/examples/OrderDelete.json | 8 ++------ .../stable/2019-03-01/examples/OrderPut.json | 4 +--- .../stable/2019-03-01/examples/RoleDelete.json | 8 ++------ .../stable/2019-03-01/examples/RolePut.json | 4 +--- .../stable/2019-03-01/examples/SACDelete.json | 8 ++------ .../stable/2019-03-01/examples/SACPut.json | 4 +--- .../stable/2019-03-01/examples/ScanForUpdatesPost.json | 8 ++------ .../2019-03-01/examples/SecuritySettingsUpdatePost.json | 4 +--- .../stable/2019-03-01/examples/ShareDelete.json | 8 ++------ .../stable/2019-03-01/examples/SharePut.json | 4 +--- .../stable/2019-03-01/examples/ShareRefreshPost.json | 8 ++------ .../stable/2019-03-01/examples/TriggerDelete.json | 8 ++------ .../stable/2019-03-01/examples/TriggerPut.json | 4 +--- .../stable/2019-03-01/examples/UserDelete.json | 8 ++------ .../stable/2019-03-01/examples/UserPut.json | 4 +--- 20 files changed, 32 insertions(+), 96 deletions(-) diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json index 06409da9941c..c73e97af3845 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json @@ -10,12 +10,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json index 6a04074239a3..b039cfa005b4 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json @@ -49,8 +49,6 @@ "type": "dataBoxEdgeDevices/bandwidthSchedules" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json index d4996c74daf2..ac93980803ff 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json @@ -12,12 +12,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json index 920d64ff998c..6c6fecf2e72c 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json @@ -18,11 +18,7 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json index 920d64ff998c..6c6fecf2e72c 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json @@ -18,11 +18,7 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json index d4996c74daf2..ac93980803ff 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json @@ -12,12 +12,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json index 5575a3b4655d..bdbb6747b11c 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json @@ -83,8 +83,6 @@ } } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json index 8df3a8dd54e7..ebdd3b6bfc90 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json @@ -10,12 +10,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json index 53eb42489913..0e5c6e435f4d 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json @@ -83,8 +83,6 @@ "type": "dataBoxEdgeDevices/roles" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json index 72d4d68271e5..899d4f6eb3ef 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json @@ -13,12 +13,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json index 51fdd14745f7..6189f1131b4d 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json @@ -46,8 +46,6 @@ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json index 920d64ff998c..6c6fecf2e72c 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json @@ -18,11 +18,7 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json index 5f2cb1062fa3..2ea930bd2c2a 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json @@ -30,9 +30,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json index a7ab923549cd..e6d7c4fd52e1 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json @@ -13,12 +13,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json index 3c2d8d597270..09856ca5abe4 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json @@ -68,8 +68,6 @@ "type": "dataBoxEdgeDevices/shares" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json index 0f0b398ffb7a..5a71cfd977ee 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json @@ -19,11 +19,7 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json index 41ebef6f9af5..566a90ea402c 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json @@ -13,12 +13,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json index f67faf57b6d8..c6e550e6e404 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json @@ -51,8 +51,6 @@ "kind": "FileEvent" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json index e795417316fb..3e8de067bca0 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json @@ -19,12 +19,8 @@ ] }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, + "200": {}, + "202": {}, "204": {} } } diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json index 702350716a99..0d80882deef3 100644 --- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json +++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json @@ -39,8 +39,6 @@ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" } }, - "202": { - "body": "" - } + "202": {} } } From 8fd32bc33982157a50df236829c6226b6dcb449f Mon Sep 17 00:00:00 2001 From: wenbof Date: Tue, 30 Jul 2019 00:15:56 +0800 Subject: [PATCH 365/495] [DataFactory]SapBwCube and Sybase Dataset (#6756) --- .../2018-06-01/entityTypes/Dataset.json | 38 +++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 15 ++++++++ 2 files changed, 53 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 590f4278761b..f4f7c377b34b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1593,6 +1593,44 @@ } } }, + "SybaseTableDataset": { + "x-ms-discriminator-value": "SybaseTable", + "description": "The Sybase table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Sybase table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SybaseTableDatasetTypeProperties" + } + } + }, + "SybaseTableDatasetTypeProperties": { + "description": "Sybase table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "The Sybase table name. Type: string (or Expression with resultType string)." + } + } + }, + "SapBwCubeDataset": { + "x-ms-discriminator-value": "SapBwCube", + "description": "The SAP BW cube dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + } + }, "SapCloudForCustomerResourceDataset": { "x-ms-discriminator-value": "SapCloudForCustomerResource", "description": "The path of the SAP Cloud for Customer OData entity.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 6b28676550e2..fbd07f22fd75 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1074,6 +1074,21 @@ } } }, + "SapBwSource": { + "description": "A copy activity source for SapBW server via MDX.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "MDX query. Type: string (or Expression with resultType string)." + } + } + }, "ODataSource": { "description": "A copy activity source for OData source.", "type": "object", From 3d5f2c9945074b3f0a9f8f040b3b1b11c14f91eb Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Mon, 29 Jul 2019 10:02:47 -0700 Subject: [PATCH 366/495] remove x-ms-odata (#6726) --- .../preview/2018-06-01-preview/apimcaches.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json index d83964d35104..5bdb5b86eee8 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json @@ -82,8 +82,7 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" - }, - "x-ms-odata": "./definitions.json#/definitions/CacheContract" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/caches/{cacheId}": { From 968929c7d8faedf1579326a9225fae52aeaf951b Mon Sep 17 00:00:00 2001 From: Anton Evseev Date: Mon, 29 Jul 2019 20:14:50 +0300 Subject: [PATCH 367/495] Fixed incorrect API version in NetworkWatcher's examples (#6765) --- .../examples/NetworkWatcherAvailableProvidersListGet.json | 2 +- .../examples/NetworkWatcherAzureReachabilityReportGet.json | 2 +- .../examples/NetworkWatcherAvailableProvidersListGet.json | 2 +- .../examples/NetworkWatcherAzureReachabilityReportGet.json | 2 +- .../examples/NetworkWatcherAvailableProvidersListGet.json | 2 +- .../examples/NetworkWatcherAzureReachabilityReportGet.json | 2 +- .../examples/NetworkWatcherAvailableProvidersListGet.json | 2 +- .../examples/NetworkWatcherAzureReachabilityReportGet.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAvailableProvidersListGet.json index 55fc4f4fbbd8..9ef303249d10 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-09-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json index dbf40afe58f2..51d814934068 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-09-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAvailableProvidersListGet.json index 55fc4f4fbbd8..77bcec69bb41 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-10-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAzureReachabilityReportGet.json index dbf40afe58f2..761e456c9d68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-10-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAvailableProvidersListGet.json index 55fc4f4fbbd8..c681b6c630a7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAzureReachabilityReportGet.json index dbf40afe58f2..e3ef0bef567e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-08-01", + "api-version": "2017-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAvailableProvidersListGet.json index 9c737ed5ca73..312857da404d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAvailableProvidersListGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-01-02", + "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json index f361b9b76e13..b3ca3a451436 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-01-02", + "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "networkWatcherName": "nw1", From c3a81d453883cc67afe56b98202fea2d911f3325 Mon Sep 17 00:00:00 2001 From: aim-for-better <1253936411@qq.com> Date: Tue, 30 Jul 2019 01:18:18 +0800 Subject: [PATCH 368/495] Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum. (#6665) In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase --- .../2015-03-01-preview/applications.json | 27 +- .../examples/CreateApplication.json | 1 - .../examples/GetHDInsightCapabilities.json | 2 + .../preview/2015-03-01-preview/locations.json | 36 +- .../2018-06-01-preview/applications.json | 21 +- .../examples/GetHDInsightCapabilities.json | 2859 +++++++++++++++++ .../stable/2018-06-01-preview/locations.json | 236 ++ .../hdinsight/resource-manager/readme.md | 25 +- 8 files changed, 3190 insertions(+), 17 deletions(-) create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index 6860a6200a4a..ac69b8a3180c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -233,7 +233,14 @@ "accessModes": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "WebPage" + ], + "x-ms-enum": { + "name": "ApplicationHttpsEndpointAccessMode", + "modelAsString": true + } }, "description": "The list of access modes for the application." }, @@ -250,6 +257,14 @@ "type": "integer", "format": "int32", "description": "The public port to connect to." + }, + "subDomainSuffix": { + "type": "string", + "description": "The subdomain suffix of the application." + }, + "disableGatewayAuth": { + "type": "boolean", + "description": "Disable gateway authentication." } } }, @@ -316,7 +331,15 @@ }, "applicationType": { "type": "string", - "description": "The application type." + "description": "The application type.", + "enum": [ + "CustomApplication", + "RServer" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + } }, "applicationState": { "readOnly": true, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json index 857b25e96859..09c1ed6184bb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json @@ -38,7 +38,6 @@ ] } ], - "provisioningState": "", "applicationType": "CustomApplication", "errors": [] } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json index 9efdd944e0b3..fe4ddb221398 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json @@ -2743,6 +2743,8 @@ "VMSIZES_AUX" ], "quota": { + "cores_used": 0, + "max_cores_allowed": 3000, "regionalQuotas": [ { "region_name": "Australia East", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index 631b580d5216..9d22c56296e6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -175,7 +175,8 @@ "type": "string" } } - } + }, + "readOnly": true }, "VersionsCapability": { "description": "The version capability.", @@ -187,7 +188,8 @@ "$ref": "#/definitions/VersionSpec" } } - } + }, + "readOnly": true }, "RegionsCapability": { "description": "The regions capability.", @@ -199,7 +201,8 @@ "type": "string" } } - } + }, + "readOnly": true }, "VmSizesCapability": { "description": "The virtual machine sizes capability.", @@ -211,7 +214,8 @@ "type": "string" } } - } + }, + "readOnly": true }, "VmSizeCompatibilityFilter": { "description": "The virtual machine type compatibility filter.", @@ -255,7 +259,8 @@ "type": "string" } } - } + }, + "readOnly": true }, "RegionalQuotaCapability": { "description": "The regional quota capacity.", @@ -270,15 +275,26 @@ "format": "int64" }, "cores_available": { - "description": "The number of courses available in the region.", + "description": "The number of cores available in the region.", "type": "integer", "format": "int64" } - } + }, + "readOnly": true }, "QuotaCapability": { "description": "The regional quota capability.", "properties": { + "cores_used": { + "description": "The number of cores used in the subscription.", + "type": "integer", + "format": "int64" + }, + "max_cores_allowed": { + "description": "The number of cores that the subscription allowed.", + "type": "integer", + "format": "int64" + }, "regionalQuotas": { "description": "The list of region quota capabilities.", "type": "array", @@ -286,7 +302,8 @@ "$ref": "#/definitions/RegionalQuotaCapability" } } - } + }, + "readOnly": true }, "CapabilitiesResult": { "description": "The Get Capabilities operation response.", @@ -330,7 +347,8 @@ "description": "The quota capability.", "$ref": "#/definitions/QuotaCapability" } - } + }, + "readOnly": true }, "LocalizedName": { "description": "The details about the localizable name of a type of usage.", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json index c64ce0bb3291..6502e32ef264 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json @@ -233,7 +233,14 @@ "accessModes": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "WebPage" + ], + "x-ms-enum": { + "name": "ApplicationHttpsEndpointAccessMode", + "modelAsString": true + } }, "description": "The list of access modes for the application." }, @@ -253,7 +260,7 @@ }, "subDomainSuffix": { "type": "string", - "description": "The subDomainSuffix of the application." + "description": "The subdomain suffix of the application." }, "disableGatewayAuth": { "type": "boolean", @@ -324,7 +331,15 @@ }, "applicationType": { "type": "string", - "description": "The application type." + "description": "The application type.", + "enum": [ + "CustomApplication", + "RServer" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true + } }, "applicationState": { "readOnly": true, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json new file mode 100644 index 000000000000..7b8bf40f3197 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json @@ -0,0 +1,2859 @@ +{ + "parameters": { + "location": "West US", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "versions": { + "paas": { + "available": [ + { + "friendlyName": "1.6", + "displayName": "HdInsight version 1.6.1.0.335536", + "isDefault": "false" + }, + { + "friendlyName": "2.1", + "displayName": "Version 2.1.9.406.1221105", + "isDefault": "false", + "componentVersions": { + "HDP": "1.3", + "Hadoop": "1.2.0" + } + }, + { + "friendlyName": "3.0", + "displayName": "Version 3.0.6.989.2441725", + "isDefault": "false", + "componentVersions": { + "HDP": "2.0", + "Hadoop": "2.2.0" + } + }, + { + "friendlyName": "3.1", + "displayName": "Version 3.1.4.989.2441725", + "isDefault": "false", + "componentVersions": { + "HDP": "2.1.7", + "Hadoop": "2.4.0", + "HBase": "0.98" + } + }, + { + "friendlyName": "3.2", + "displayName": "Version 3.2.7.989.2441725", + "isDefault": "false", + "componentVersions": { + "HDP": "2.2", + "Hadoop": "2.6.0", + "HBase": "0.98.4", + "Storm": "0.9.3" + } + }, + { + "friendlyName": "3.3", + "displayName": "Version 3.3.0.989.2441725", + "isDefault": "true", + "componentVersions": { + "HDP": "2.3", + "Hadoop": "2.7.0", + "HBase": "1.1.2", + "Storm": "0.10.0" + } + } + ] + }, + "iaas": { + "available": [ + { + "friendlyName": "3.2", + "displayName": "Version 3.2.1000.0.8840373", + "isDefault": "false", + "componentVersions": { + "HDP": "2.2", + "Hadoop": "2.6.0", + "HBase": "0.98.4", + "Storm": "0.9.3" + } + }, + { + "friendlyName": "3.3", + "displayName": "Version 3.3.1000.0.9776961", + "isDefault": "false", + "componentVersions": { + "HDP": "2.3", + "Hadoop": "2.7.0", + "HBase": "1.1.2", + "Storm": "0.10.0", + "Spark": "1.5.2" + } + }, + { + "friendlyName": "3.4", + "displayName": "Version 3.4.1000.0.9719475", + "isDefault": "false", + "componentVersions": { + "HDP": "2.4", + "Hadoop": "2.7.1", + "HBase": "1.1.2", + "Storm": "0.10.0", + "Spark": "1.6.2", + "RServer": "8.0" + } + }, + { + "friendlyName": "3.5", + "displayName": "Version 3.5.1000.0.9732704", + "isDefault": "true", + "componentVersions": { + "HDP": "2.5", + "Hadoop": "2.7.3", + "InteractiveHive": "2.1.0", + "HBase": "1.1.2", + "Storm": "1.0.1", + "Spark": "1.6.3,2.0.2", + "RServer": "9.0" + } + }, + { + "friendlyName": "3.6", + "displayName": "Version 3.6.1000.0.9503998", + "isDefault": "false", + "componentVersions": { + "HDP": "2.6", + "Spark": "2.1.0" + } + }, + { + "friendlyName": "99.152", + "displayName": "Version 99.152.1000.0.6943836", + "isDefault": "false" + } + ] + } + }, + "regions": { + "paas": { + "available": [ + "AUSTRALIA EAST", + "AUSTRALIA SOUTHEAST", + "BRAZIL SOUTH", + "CENTRAL INDIA", + "CENTRAL US", + "EAST ASIA", + "EAST US", + "EAST US 2", + "JAPAN EAST", + "JAPAN WEST", + "NORTH CENTRAL US", + "NORTH EUROPE", + "SOUTH CENTRAL US", + "SOUTHEAST ASIA", + "WEST EUROPE", + "WEST US", + "WEST US 2" + ] + }, + "iaas": { + "available": [ + "AUSTRALIA EAST", + "AUSTRALIA SOUTHEAST", + "BRAZIL SOUTH", + "CANADA CENTRAL", + "CANADA EAST", + "CENTRAL INDIA", + "CENTRAL US", + "CENTRAL US EUAP", + "EAST ASIA", + "EAST US", + "EAST US 2", + "JAPAN EAST", + "JAPAN WEST", + "NORTH CENTRAL US", + "NORTH EUROPE", + "SOUTH CENTRAL US", + "SOUTHEAST ASIA", + "WEST CENTRAL US", + "WEST EUROPE", + "WEST US", + "WEST US 2" + ] + } + }, + "vmSizes": { + "paas": { + "available": [ + "A5", + "A6", + "A7", + "EXTRALARGE", + "LARGE", + "MEDIUM", + "SMALL", + "STANDARD_D1", + "STANDARD_D1_V2", + "STANDARD_D11", + "STANDARD_D11_V2", + "STANDARD_D12", + "STANDARD_D12_V2", + "STANDARD_D13", + "STANDARD_D13_V2", + "STANDARD_D14", + "STANDARD_D14_V2", + "STANDARD_D2", + "STANDARD_D2_V2", + "STANDARD_D3", + "STANDARD_D3_V2", + "STANDARD_D4", + "STANDARD_D4_V2", + "STANDARD_D5_V2" + ] + }, + "iaas": { + "available": [ + "A5", + "A6", + "A7", + "EXTRALARGE", + "LARGE", + "MEDIUM", + "SMALL", + "STANDARD_D1", + "STANDARD_D1_V2", + "STANDARD_D11", + "STANDARD_D11_V2", + "STANDARD_D12", + "STANDARD_D12_V2", + "STANDARD_D13", + "STANDARD_D13_V2", + "STANDARD_D14", + "STANDARD_D14_V2", + "STANDARD_D2", + "STANDARD_D2_V2", + "STANDARD_D3", + "STANDARD_D3_V2", + "STANDARD_D4", + "STANDARD_D4_V2", + "STANDARD_D5_V2" + ] + } + }, + "vmSize_filters": [ + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "WorkerNodeRole", + "EdgeNodeRole", + "ZookeeperRole" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "HBase", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "vmsizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "vmsizes": [ + "STANDARD_D4_V2" + ] + } + ], + "features": [ + "ALLOW_GATEWAY_AUTH_BYPASS", + "AUX_IAAS_FUNCTIONALITIES", + "BLOCK_APPS_FOR_SECURE_CLUSTER", + "CLUSTER_RESIZE", + "CLUSTERS_CONTRACT_1", + "CLUSTERS_CONTRACT_1_SDK", + "CLUSTERS_CONTRACT_2_SDK", + "CLUSTERS_CONTRACT_VERSION_3_SDK", + "COLLECTANONYMIZEDLOGS", + "CONTAINER_LOG_COLLECTOR", + "CONTAINER_RESOURCE_V3", + "CUSTOM_ACTIONS_V2", + "DATALAKE", + "DATALAKE_3_2", + "DATALAKE_3_4", + "DATALAKE_3_5", + "DATALAKE_DEFAULTFS_3_5", + "DEFAULT_CONTAINER_IDENTIFIER_AND_STORAGEFQDN_ALREADY_USED", + "DOCUMENT_VALIDATION_IN_API", + "ENABLEDATALAKE", + "ENABLEGENEVAANALYTICS", + "HADOOP_VIRTUAL_NETWORK_ENABLED", + "HS2_ZK_ROUTER_INTERACTIVEHIVE", + "IAAS_ALLOW_CUSTOM_DNS", + "IAAS_AMBARI_APP_TIMELINE_SERVER_HA_SERVICE", + "IAAS_AMBARI_DEPENDENCY_BASED_DEPLOYMENT", + "IAAS_AMBARI_HA_SERVICES", + "IAAS_AMBARI_HISTORYSERVER_HA_SERVICE", + "IAAS_AMBARI_LOWER_LATENCY", + "IAAS_AMBARI_SKIP_COMPONENTS_INSTALL", + "IAAS_ARM_PROVISIONING", + "IAAS_CLOSE_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", + "IAAS_CLUSTER_APPLICATION_ALLOW_MULTIPLE_ROLE_INSTANCES", + "IAAS_CLUSTER_APPLICATION_REMOVE", + "IAAS_CLUSTER_CONTAINER_PREUPLOAD_SUBMIT_WAIT", + "IAAS_CLUSTER_RSERVER", + "IAAS_DB_CREATION_IN_PARALLEL_TO_VM", + "IAAS_DELETE_LEAKED_RESOURCES", + "IAAS_DEPLOYMENTS", + "IAAS_DO_NOT_CREATE_WASB_TABLES_IN_CUSTOMER_STORAGE", + "IAAS_ENABLE_CLUSTER_CONFIG_OVERRIDES", + "IAAS_ENABLE_OFFLINE_CLEANUP", + "IAAS_ENABLE_OFFLINE_CLEANUP_FOR_DELETING_VMS", + "IAAS_INCLUDE_STORAGE_IN_SUBSCRIPTION_SELECTION", + "IAAS_PARALLEL_DB_CREATE", + "IAAS_PREPROVISION_METASTORES_SCHEMAS", + "IAAS_SCRIPTACTIONS_DELETE_VMS_CRUD_FAILURES", + "IAAS_SCRIPTACTIONS_RUNNING", + "IAAS_SHORT_VM_NAME", + "IAAS_SUBMIT_AMBARI_REQUEST_ONCE_LINUX_VM_ARE_AVAILABLE", + "IAAS_TEZ_ATS_V15", + "IAAS_USE_UNATTENDED_UPGRADES_FOR_PATCHING", + "IAAS_VALIDATE_CUSTOM_VNET", + "IAAS_VALIDATE_NSG", + "IAAS_WAIT_FOR_CLOSING_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", + "IAAS_YARN_HDINSIGHT_SQL_TIMELINE_STORE", + "IAAS_YARN_HDINSIGHT_TIMELINE_STORE", + "INTERACTIVEHIVE", + "MDSCENTRALLOGGING", + "NODE_SETUP_POLLER_ENABLED", + "OVERPROVISION_HOSTGROUP_edgenode", + "OVERPROVISION_HOSTGROUP_Gateway", + "OVERPROVISION_HOSTGROUP_Workernode", + "OVERPROVISION_HOSTGROUP_zookeepernode", + "PERF_OPTIMIZED_RESOURCE_LOCATION_FETCH", + "PORTALAPPINSTALL", + "POWERSHELL_SCRIPT_ACTION", + "POWERSHELL_SCRIPT_ACTION_SDK", + "PREMIUM_TIER_PREVIEW", + "PROVISIONING_AGENT", + "RMHA", + "RSERVER_CLUSTERTYPE_3_5_ENABLED", + "RSERVER_CLUSTERTYPE_ENABLED", + "SHOW_HUMBOLDT_GA", + "SHOW_IBIZA_CREATE", + "SPARK_2_1", + "SPARK_EXPERIMENTAL", + "STORM_PREVIEW", + "UI_CREATE_WIZARD_V2", + "VIRTUAL_NETWORK_ENABLED", + "VMSIZES_AUX" + ], + "quota": { + "cores_used": 0, + "max_cores_allowed": 3000, + "regionalQuotas": [ + { + "region_name": "Australia East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Australia Southeast", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Brazil South", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Canada Central", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Canada East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Central India", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Central US", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "Central US EUAP", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "East Asia", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "East US", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "East US 2", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Japan East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Japan West", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "North Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "North Europe", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "South Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Southeast Asia", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West Europe", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West US", + "cores_used": 132, + "cores_available": 1000 + }, + { + "region_name": "West US 2", + "cores_used": 0, + "cores_available": 1000 + } + ] + } + } + } + } +} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json index d44ce2f71502..7536a98e6e0b 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json @@ -34,6 +34,45 @@ } }, "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Locations_GetCapabilities", + "description": "Gets the capabilities for the specified location.", + "x-ms-examples": { + "Get the subscription capabilities for specific location": { + "$ref": "./examples/GetHDInsightCapabilities.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/CapabilitiesResult" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages": { "get": { "tags": [ @@ -114,6 +153,203 @@ } }, "definitions": { + "VersionSpec": { + "description": "The version properties.", + "properties": { + "friendlyName": { + "type": "string", + "description": "The friendly name" + }, + "displayName": { + "type": "string", + "description": "The display name" + }, + "isDefault": { + "type": "string", + "description": "Whether or not the version is the default version." + }, + "componentVersions": { + "type": "object", + "description": "The component version property.", + "additionalProperties": { + "type": "string" + } + } + }, + "readOnly": true + }, + "VersionsCapability": { + "description": "The version capability.", + "properties": { + "available": { + "description": "The list of version capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/VersionSpec" + } + } + }, + "readOnly": true + }, + "RegionsCapability": { + "description": "The regions capability.", + "properties": { + "available": { + "description": "The list of region capabilities.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "readOnly": true + }, + "VmSizesCapability": { + "description": "The virtual machine sizes capability.", + "properties": { + "available": { + "description": "The list of virtual machine size capabilities.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "readOnly": true + }, + "VmSizeCompatibilityFilter": { + "description": "The virtual machine type compatibility filter.", + "properties": { + "FilterMode": { + "description": "The mode for the filter.", + "type": "string" + }, + "Regions": { + "description": "The list of regions.", + "type": "array", + "items": { + "type": "string" + } + }, + "ClusterFlavors": { + "description": "The list of cluster types available.", + "type": "array", + "items": { + "type": "string" + } + }, + "NodeTypes": { + "description": "The list of node types.", + "type": "array", + "items": { + "type": "string" + } + }, + "ClusterVersions": { + "description": "The list of cluster versions.", + "type": "array", + "items": { + "type": "string" + } + }, + "vmsizes": { + "description": "The list of virtual machine sizes.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "readOnly": true + }, + "RegionalQuotaCapability": { + "description": "The regional quota capacity.", + "properties": { + "region_name": { + "description": "The region name.", + "type": "string" + }, + "cores_used": { + "description": "The number of cores used in the region.", + "type": "integer", + "format": "int64" + }, + "cores_available": { + "description": "The number of cores available in the region.", + "type": "integer", + "format": "int64" + } + }, + "readOnly": true + }, + "QuotaCapability": { + "description": "The regional quota capability.", + "properties": { + "cores_used": { + "description": "The number of cores used in the subscription.", + "type": "integer", + "format": "int64" + }, + "max_cores_allowed": { + "description": "The number of cores that the subscription allowed.", + "type": "integer", + "format": "int64" + }, + "regionalQuotas": { + "description": "The list of region quota capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/RegionalQuotaCapability" + } + } + }, + "readOnly": true + }, + "CapabilitiesResult": { + "description": "The Get Capabilities operation response.", + "properties": { + "versions": { + "description": "The version capability.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/VersionsCapability" + } + }, + "regions": { + "description": "The virtual machine size compatibility features.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/RegionsCapability" + } + }, + "vmSizes": { + "description": "The virtual machine sizes.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/VmSizesCapability" + } + }, + "vmSize_filters": { + "description": "The virtual machine size compatibility filters.", + "type": "array", + "items": { + "$ref": "#/definitions/VmSizeCompatibilityFilter" + } + }, + "features": { + "description": "The capability features.", + "type": "array", + "items": { + "type": "string" + } + }, + "quota": { + "description": "The quota capability.", + "$ref": "#/definitions/QuotaCapability" + } + }, + "readOnly": true + }, "LocalizedName": { "description": "The details about the localizable name of a type of usage.", "properties": { diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index ef09d8f73986..20bada85d754 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -36,13 +36,34 @@ tag: package-2018-06-preview ``` yaml directive: - suppress: DefinitionsPropertiesNamesCamelCase - reason: This would require a breaking change, and the capabilities API was removed in version 2018-06-01-preview. - from: Microsoft.HDInsight/preview/2015-03-01-1/preview/locations.json + reason: This would require a breaking change, and need to be consistent with the response from RP side. + from: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json where: - $.definitions.CapabilitiesResult.properties.vmSize_filters - $.definitions.RegionalQuotaCapability.properties.cores_available - $.definitions.RegionalQuotaCapability.properties.cores_used - $.definitions.RegionalQuotaCapability.properties.region_name + - $.definitions.QuotaCapability.properties.cores_used + - $.definitions.QuotaCapability.properties.max_cores_allowed + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions + - $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors + - $.definitions.VmSizeCompatibilityFilter.properties.Regions + - $.definitions.VmSizeCompatibilityFilter.properties.FilterMode + ``` + + ``` yaml + directive: + - suppress: DefinitionsPropertiesNamesCamelCase + reason: This would require a breaking change, and need to be consistent with the response from RP side. + from: Microsoft.HDInsight/stable/2018-06-01-preview/locations.json + where: + - $.definitions.CapabilitiesResult.properties.vmSize_filters + - $.definitions.RegionalQuotaCapability.properties.cores_available + - $.definitions.RegionalQuotaCapability.properties.cores_used + - $.definitions.RegionalQuotaCapability.properties.region_name + - $.definitions.QuotaCapability.properties.cores_used + - $.definitions.QuotaCapability.properties.max_cores_allowed - $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions - $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes - $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors From 250a1814b88bc86acece0960a4c81ef7b726d14f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 13:19:06 -0400 Subject: [PATCH 369/495] chore: jsonfmt monitor (#6598) --- .../stable/2015-04-01/activityLogs_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json index ebc01be48664..5bd6f75967a9 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json @@ -80,8 +80,8 @@ }, "x-ms-odata": "#/definitions/EventData", "x-ms-examples": { - "Get Activity Logs with filter": { - "$ref": "./examples/GetActivityLogsFiltered.json" + "Get Activity Logs with filter": { + "$ref": "./examples/GetActivityLogsFiltered.json" }, "Get Activity Logs with filter and select": { "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" From e56c4815f6330527480f70bde2e60e5142b62250 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 13:19:47 -0400 Subject: [PATCH 370/495] fix: SmartDetecotrAlertRule_Delete model validation (#6576) Empty/null body was failing OAV --- .../examples/SmartDetectorAlertRule_Delete.json | 8 ++------ .../examples/SmartDetectorAlertRule_Delete.json | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json index 0a63b3bbdb7b..5d68deada80e 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_Delete.json @@ -6,11 +6,7 @@ "api-version": "2019-03-01" }, "responses": { - "200": { - "body": null - }, - "204": { - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json index 80afa3cfda46..f929164fc5c2 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json @@ -6,11 +6,7 @@ "api-version": "2019-06-01" }, "responses": { - "200": { - "body": null - }, - "204": { - "body": null - } + "200": {}, + "204": {} } } From e42e921a1daf13b839f231af07690fc9b7062ea3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 14:18:01 -0400 Subject: [PATCH 371/495] fix: azureactivedirectory model validation error (#6758) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../2017-04-01/examples/deleteDiagnosticSetting.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json index c6032509e39d..564f6f8b6ad3 100644 --- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json +++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json @@ -4,13 +4,7 @@ "api-version": "2017-04-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } From 7b603ca1d05849dc79fab58cdf54571a90a8d03a Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Mon, 29 Jul 2019 13:47:47 -0700 Subject: [PATCH 372/495] Add missing tenant-level provider list operation to SDK (#6645) * Add tenent-level provider listing to SDK * PR feedback: add tenant-level Provider_Get operation * Make operation names more consistent. --- .../stable/2019-05-10/resources.json | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json index 14b0133a0776..bdb4281cec1c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json @@ -1057,6 +1057,46 @@ } } }, + "/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_ListAtTenantScope", + "description": "Gets all resource providers for the tenant.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all providers." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { "get": { "tags": [ @@ -1096,6 +1136,42 @@ } } }, + "/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_GetAtTenantScope", + "description": "Gets the specified resource provider at the tenant level.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { "get": { "tags": [ From c2ff0155cc9c2ad8998d90bb4757c8172ce4e95a Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Mon, 29 Jul 2019 15:27:17 -0700 Subject: [PATCH 373/495] [SRP] Add new API ListBlobServices (#6657) * [SRP] Add new API ListBlobServices * fix typo * [SRP] Add new API ListBlobServices * fix typo * fix * fix * remove the new api, temporarily * fixing... * add example back * Add pageable param * fix typo --- .../stable/2019-04-01/blob.json | 51 +++++++++++ .../2019-04-01/examples/BlobServicesList.json | 90 +++++++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json index a32fd0690501..55437064c5a7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/blob.json @@ -16,6 +16,45 @@ "application/json" ], "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices": { + "get": { + "tags": [ + "BlobService" + ], + "operationId": "BlobServices_List", + "x-ms-examples": { + "ListBlobServices": { + "$ref": "./examples/BlobServicesList.json" + } + }, + "description": "List blob services of storage account. It returns a collection of one object named default.", + "parameters": [ + { + "$ref": "./storage.json#/parameters/ResourceGroupName" + }, + { + "$ref": "./storage.json#/parameters/StorageAccountName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List blob services operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceItems" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { "put": { "tags": [ @@ -1119,6 +1158,18 @@ ], "description": "The properties of a storage account’s Blob service." }, + "BlobServiceItems": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BlobServiceProperties" + }, + "description": "List of blob services returned.", + "readOnly": true + } + } + }, "DeleteRetentionPolicy": { "properties": { "enabled": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json new file mode 100644 index 000000000000..597e3e85946d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4410", + "accountName": "sto8607", + "api-version": "2019-04-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "properties": { + "cors": { + "corsRules": [{ + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "maxAgeInSeconds": 100, + "exposedHeaders": [ + "x-ms-meta-*" + ], + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ] + }, + { + "allowedOrigins": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "maxAgeInSeconds": 2, + "exposedHeaders": [ + "*" + ], + "allowedHeaders": [ + "*" + ] + }, + { + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "maxAgeInSeconds": 2000, + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ] + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "enabled": true, + "days": 300 + }, + "automaticSnapshotPolicyEnabled": true + } + } + ] + } + } + } +} \ No newline at end of file From 17145d5f163fb9ab336078d52d92a71e34396c59 Mon Sep 17 00:00:00 2001 From: tengr Date: Mon, 29 Jul 2019 18:17:43 -0700 Subject: [PATCH 374/495] add sparql (the graph query language) (#6775) --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 4252e015c5d6..723d58b8b58e 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1231,6 +1231,7 @@ sourcecontrols southcentralus southeastasia southindia +sparql SQLAG SQLDB SQLMI From 4df5156f569024413c16a816c02cc0c1156fbf7e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 21:37:53 -0400 Subject: [PATCH 375/495] fix: postgresql model validation errors (#6757) Remove empty body to fix RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json index 8d51878323cd..2a5d616e1221 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-12-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json index 0fa496b85696..eba76be987c7 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } From f8cb1a1f6d126174e5fbeb2505535c90b7626b4b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Jul 2019 21:44:44 -0400 Subject: [PATCH 376/495] fix: EnterpriseKnowledge model validation (#6714) - Add missing "body" - Succeedded -> Succeeded - Accepted -> Creating --- .../examples/CreateEnterpriseKnowledgeGraph.json | 12 +++++++----- .../examples/GetEnterpriseKnowledgeGraph.json | 12 +++++++----- .../examples/UpdateEnterpriseKnowledgeGraph.json | 12 +++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/CreateEnterpriseKnowledgeGraph.json b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/CreateEnterpriseKnowledgeGraph.json index b1c601f8bcac..fca3cb439fdb 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/CreateEnterpriseKnowledgeGraph.json +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/CreateEnterpriseKnowledgeGraph.json @@ -15,11 +15,13 @@ }, "responses": { "201": { - "name": "samplename", - "type": "sampletype", - "id": "someid", - "properties": { - "provisioningState": "Accepted" + "body": { + "name": "samplename", + "type": "sampletype", + "id": "someid", + "properties": { + "provisioningState": "Creating" + } } } } diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/GetEnterpriseKnowledgeGraph.json b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/GetEnterpriseKnowledgeGraph.json index 28a9cd5ea7c8..ee54a933438e 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/GetEnterpriseKnowledgeGraph.json +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/GetEnterpriseKnowledgeGraph.json @@ -7,11 +7,13 @@ }, "responses": { "200": { - "name": "samplename", - "type": "sampletype", - "id": "someid", - "properties": { - "provisioningState": "Succeedded" + "body": { + "name": "samplename", + "type": "sampletype", + "id": "someid", + "properties": { + "provisioningState": "Succeeded" + } } } } diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/UpdateEnterpriseKnowledgeGraph.json b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/UpdateEnterpriseKnowledgeGraph.json index 7f83548ddf2d..fc06721d5e00 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/UpdateEnterpriseKnowledgeGraph.json +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/Microsoft.EnterpriseKnowledgeGraph/preview/2018-12-03/examples/UpdateEnterpriseKnowledgeGraph.json @@ -18,11 +18,13 @@ }, "responses": { "201": { - "name": "samplename", - "type": "sampletype", - "id": "someid", - "properties": { - "provisioningState": "Accepted" + "body": { + "name": "samplename", + "type": "sampletype", + "id": "someid", + "properties": { + "provisioningState": "Creating" + } } } } From bfbcefd37ee3df9634555b9f6be2a6ab6560286b Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik <41709775+kpajdzik@users.noreply.github.com> Date: Tue, 30 Jul 2019 03:50:39 +0200 Subject: [PATCH 377/495] Fix outdated arm-datamigration TypeScript output path (#6763) --- .../datamigration/resource-manager/readme.typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datamigration/resource-manager/readme.typescript.md b/specification/datamigration/resource-manager/readme.typescript.md index 86dcd424b9c7..b43aa2c0f365 100644 --- a/specification/datamigration/resource-manager/readme.typescript.md +++ b/specification/datamigration/resource-manager/readme.typescript.md @@ -7,6 +7,6 @@ Please also specify `--typescript-sdks-folder= Date: Mon, 29 Jul 2019 20:34:09 -0700 Subject: [PATCH 378/495] Revert "set a default api version (#6588)" (#6780) This reverts commit 2200abdf279149ec722a78151005286bf65d223f. --- specification/containerregistry/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index f2bb8eaf83ea..28da1ec67548 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -159,7 +159,7 @@ swagger-to-sdk: autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry --default-api-version=2017-10-01 + - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry - python ./scripts/trim_aio.py ./sdk/containerregistry/azure-mgmt-containerregistry - repo: azure-sdk-for-java - repo: azure-sdk-for-go From 78e0f61b9976b8873e15808b4ff30a68a5fe8b49 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 30 Jul 2019 01:18:41 -0400 Subject: [PATCH 379/495] chore: jsonfmt securityinsights (#6626) --- .../2019-01-01-preview/SecurityInsights.json | 99 ++++++++++--------- .../GetAmazonWebServicesCloudTrailById.json | 50 +++++----- .../dataConnectors/GetDataConnectors.json | 40 ++++---- 3 files changed, 95 insertions(+), 94 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index bc81cff629ea..79f98bc11fcc 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -2389,46 +2389,46 @@ "type": "object", "description": "Represents Amazon Web Services CloudTrail data connector.", "allOf": [ - { - "$ref": "#/definitions/DataConnector" - } + { + "$ref": "#/definitions/DataConnector" + } ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Amazon Web Services CloudTrail data connector properties.", - "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties" - } + "properties": { + "x-ms-client-flatten": true, + "description": "Amazon Web Services CloudTrail data connector properties.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties" + } } - }, + }, "AwsCloudTrailDataConnectorProperties": { - "type": "object", - "description": "Amazon Web Services CloudTrail data connector properties.", - "properties": { - "awsRoleArn": { - "type": "string", - "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account." - }, - "dataTypes": { - "description": "The available data types for the connector.", - "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes" - } + "type": "object", + "description": "Amazon Web Services CloudTrail data connector properties.", + "properties": { + "awsRoleArn": { + "type": "string", + "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account." + }, + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes" } + } }, "AwsCloudTrailDataConnectorDataTypes": { - "type": "object", - "description": "The available data types for Amazon Web Services CloudTrail data connector.", - "properties": { - "logs": { - "type": "object", - "description": "Logs data type.", - "allOf": [ - { - "$ref": "#/definitions/DataConnectorDataTypeCommon" - } - ] + "type": "object", + "description": "The available data types for Amazon Web Services CloudTrail data connector.", + "properties": { + "logs": { + "type": "object", + "description": "Logs data type.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" } + ] } + } }, "AADDataConnector": { "x-ms-discriminator-value": "AzureActiveDirectory", @@ -2514,13 +2514,14 @@ "allOf": [ { "$ref": "#/definitions/DataConnectorTenantId" - }], - "properties": { - "dataTypes": { - "description": "The available data types for the connector.", - "$ref": "#/definitions/MCASDataConnectorDataTypes" - } } + ], + "properties": { + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/MCASDataConnectorDataTypes" + } + } }, "MCASDataConnectorDataTypes": { "type": "object", @@ -2528,19 +2529,19 @@ "allOf": [ { "$ref": "#/definitions/AlertsDataTypeOfDataConnector" - }], - "properties": - { - "discoveryLogs": { - "type": "object", - "description": "Discovery log data type connection.", - "allOf": [ - { - "$ref": "#/definitions/DataConnectorDataTypeCommon" - } - ] - } } + ], + "properties": { + "discoveryLogs": { + "type": "object", + "description": "Discovery log data type connection.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" + } + ] + } + } }, "AATPDataConnector": { "x-ms-discriminator-value": "AzureAdvancedThreatProtection", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json index 75f4881d320e..9d15d53a4aea 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json @@ -1,29 +1,29 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", - "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", - "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", - "type": "Microsoft.SecurityInsights/dataConnectors", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "kind": "AmazonWebServicesCloudTrail", - "properties": { - "awsRoleArn": "myAwsRoleArn", - "dataTypes": { - "logs": { - "state": "Enabled" - } - } - } + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", + "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", + "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", + "type": "Microsoft.SecurityInsights/dataConnectors", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "kind": "AmazonWebServicesCloudTrail", + "properties": { + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json index 443c7a28c8af..19806b1058ea 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json @@ -85,8 +85,8 @@ "alerts": { "state": "Enabled" }, - "discoveryLogs": { - "state": "Enabled" + "discoveryLogs": { + "state": "Enabled" } } } @@ -113,29 +113,29 @@ "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", "kind": "AmazonWebServicesCloudTrail", "properties": { - "awsRoleArn": "myAwsRoleArn", - "dataTypes": { - "logs": { - "state": "Enabled" - } + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" } + } } - }, - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", - "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", - "type": "Microsoft.SecurityInsights/dataConnectors", - "kind": "MicrosoftDefenderAdvancedThreatProtection", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", - "dataTypes": { - "alerts": { - "state": "Enabled" + }, + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "MicrosoftDefenderAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } } } } - } ] } } From 1e33a4e155a3ba2a71fda82c554ed7f3d44b2329 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 30 Jul 2019 01:23:50 -0400 Subject: [PATCH 380/495] chore: jsonfmt datafactory (#6774) --- .../stable/2018-06-01/entityTypes/Dataset.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index f4f7c377b34b..89d826313586 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1628,8 +1628,7 @@ "$ref": "#/definitions/Dataset" } ], - "properties": { - } + "properties": {} }, "SapCloudForCustomerResourceDataset": { "x-ms-discriminator-value": "SapCloudForCustomerResource", From 30c4f57844896fe41d0f179f5649760dad9101d4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 30 Jul 2019 03:16:45 -0400 Subject: [PATCH 381/495] fix: monitor model validation errors (#6760) --- .../examples/deleteActivityLogAlert.json | 10 +--- .../examples/deleteDiagnosticSetting.json | 10 +--- ...eteGuestDiagnosticSettingsAssociation.json | 10 +--- .../getOnboardingStatusSubscription.json | 52 ++++++++++--------- .../examples/deleteAutoscaleSetting.json | 10 +--- .../2016-03-01/examples/deleteAlertRule.json | 10 +--- .../2016-03-01/examples/deleteLogProfile.json | 5 +- .../examples/deleteActionGroup.json | 10 +--- .../examples/deleteActivityLogAlert.json | 10 +--- .../2017-04-01/examples/enableReceiver.json | 10 +--- .../examples/deleteActionGroup.json | 10 +--- .../examples/deleteMetricAlert.json | 10 +--- .../2018-03-01/examples/enableReceiver.json | 10 +--- .../examples/deleteScheduledQueryRules.json | 10 +--- .../examples/deleteActionGroup.json | 10 +--- .../2018-09-01/examples/enableReceiver.json | 10 +--- .../examples/deleteActionGroup.json | 10 +--- .../2019-03-01/examples/enableReceiver.json | 10 +--- .../examples/deleteActionGroup.json | 10 +--- .../2019-06-01/examples/enableReceiver.json | 10 +--- 20 files changed, 64 insertions(+), 173 deletions(-) diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json index f993e7b180a8..30c6a9568483 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json @@ -6,13 +6,7 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json index ade0a9a73841..ab80a3c2f4ae 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json @@ -5,13 +5,7 @@ "api-version": "2017-05-01-preview" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json index 4b1941830408..8070981646fc 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json @@ -5,13 +5,7 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json index a18c08b8587d..d32291ef862d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json @@ -5,34 +5,36 @@ }, "responses": { "200": { - "properties": { - "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", - "onboardingStatus": "onboarded", - "dataStatus": "present", - "data": [ - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary", - "location": "eastus", - "properties": { - "customerId": "f096d163-206e-4abf-9db3-2c62af003d68" + "body": { + "properties": { + "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87", + "onboardingStatus": "onboarded", + "dataStatus": "present", + "data": [ + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary", + "location": "eastus", + "properties": { + "customerId": "f096d163-206e-4abf-9db3-2c62af003d68" + } } - } - }, - { - "workspace": { - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", - "location": "eastus", - "properties": { - "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + }, + { + "workspace": { + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring", + "location": "eastus", + "properties": { + "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a" + } } } - } - ] - }, - "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", - "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", - "name": "default" + ] + }, + "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default", + "type": "Microsoft.Insights/vmInsightsOnboardingStatuses", + "name": "default" + } } } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json index f7aedfaea3cb..56678c1a327b 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json @@ -6,13 +6,7 @@ "api-version": "2015-04-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json index e32256513b8f..c1c0d6856f54 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json @@ -6,13 +6,7 @@ "api-version": "2016-03-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json index 15c210f6aafb..6990a0e1e11a 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json @@ -5,9 +5,6 @@ "api-version": "2016-03-01" }, "responses": { - "200": { - "headers": {}, - "body": null - } + "200": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json index 87fc46039a3d..1bb82b3bccf3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json @@ -6,13 +6,7 @@ "api-version": "2017-04-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json index 23393ae26daa..556d4b5b0247 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json @@ -6,13 +6,7 @@ "api-version": "2017-04-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json index 43802e8eb192..eb3878bf5c69 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json @@ -9,13 +9,7 @@ } }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "200": {}, + "409": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json index f28ccba95fc6..640ca0461fb3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json @@ -6,13 +6,7 @@ "api-version": "2018-03-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json index 86808cb7c95a..eb37fa3ff55f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json @@ -6,13 +6,7 @@ "api-version": "2018-03-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json index 768e38c7c9dd..c6357884cf12 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json @@ -9,13 +9,7 @@ } }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "200": {}, + "409": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json index a4c920963d87..34aa93620d52 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json @@ -6,13 +6,7 @@ "api-version": "2018-04-16" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json index d61e90614bce..7bf317b1cd01 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json @@ -6,13 +6,7 @@ "api-version": "2018-08-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json index cdf572ea5acb..46c33a09e190 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json @@ -9,13 +9,7 @@ } }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "200": {}, + "409": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json index e35e083e4ebb..c60d533502f7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json @@ -6,13 +6,7 @@ "api-version": "2019-03-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json index 4fb78fcca51d..ac399141a199 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json @@ -9,13 +9,7 @@ } }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "200": {}, + "409": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json index 684daa169057..83acd8c1e57b 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json @@ -6,13 +6,7 @@ "api-version": "2019-06-01" }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "204": { - "headers": {}, - "body": null - } + "200": {}, + "204": {} } } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json index 540e4e403ccc..49802b7cec1e 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json @@ -9,13 +9,7 @@ } }, "responses": { - "200": { - "headers": {}, - "body": null - }, - "409": { - "headers": {}, - "body": null - } + "200": {}, + "409": {} } } From f5f7b4691687afdfa1130526b1c34fa7720bc7e5 Mon Sep 17 00:00:00 2001 From: Anton Evseev Date: Tue, 30 Jul 2019 17:26:13 +0300 Subject: [PATCH 382/495] Fix typo "Microsofot" in Network's examples (#6787) * Microsofot -> Microsoft in API 2019 * Microsofot -> Microsoft in API 2018 * Microsofot -> Microsoft in API 2017 --- .../2017-06-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2017-06-01/examples/RouteFilterGet.json | 6 +++--- .../2017-06-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2017-06-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2017-06-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2017-08-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2017-08-01/examples/RouteFilterGet.json | 6 +++--- .../2017-08-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2017-08-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2017-08-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2017-09-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2017-09-01/examples/RouteFilterGet.json | 6 +++--- .../2017-09-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2017-09-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2017-09-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2017-10-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2017-10-01/examples/RouteFilterGet.json | 6 +++--- .../2017-10-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2017-10-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2017-10-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2017-11-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2017-11-01/examples/RouteFilterGet.json | 6 +++--- .../2017-11-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2017-11-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2017-11-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-01-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-01-01/examples/RouteFilterGet.json | 6 +++--- .../2018-01-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-01-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-01-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-02-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-02-01/examples/RouteFilterGet.json | 6 +++--- .../2018-02-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-02-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-02-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-04-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-04-01/examples/RouteFilterGet.json | 6 +++--- .../2018-04-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-04-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-04-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-04-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-06-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-06-01/examples/RouteFilterGet.json | 6 +++--- .../2018-06-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-06-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-06-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-06-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-07-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-07-01/examples/RouteFilterGet.json | 6 +++--- .../2018-07-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-07-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-07-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-07-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2018-08-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2018-08-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-08-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-08-01/examples/RouteFilterGet.json | 6 +++--- .../2018-08-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-08-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-08-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-08-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2018-10-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2018-10-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-10-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-10-01/examples/RouteFilterGet.json | 6 +++--- .../2018-10-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-10-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-10-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-10-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2018-11-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2018-11-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-11-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-11-01/examples/RouteFilterGet.json | 6 +++--- .../2018-11-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-11-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-11-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-11-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2018-12-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2018-12-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2018-12-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2018-12-01/examples/RouteFilterGet.json | 6 +++--- .../2018-12-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2018-12-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2018-12-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2018-12-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2019-02-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2019-02-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2019-02-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2019-02-01/examples/RouteFilterGet.json | 6 +++--- .../2019-02-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2019-02-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2019-02-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2019-02-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- ...ressRouteCircuitCreateOnExpressRoutePort.json | 6 +++--- .../2019-04-01/examples/ExpressRouteLinkGet.json | 2 +- .../examples/ExpressRouteLinkList.json | 4 ++-- .../examples/ExpressRoutePortCreate.json | 16 ++++++++-------- .../2019-04-01/examples/ExpressRoutePortGet.json | 8 ++++---- .../examples/ExpressRoutePortList.json | 8 ++++---- .../ExpressRoutePortListByResourceGroup.json | 8 ++++---- .../examples/ExpressRoutePortUpdateLink.json | 16 ++++++++-------- .../examples/ExpressRoutePortUpdateTags.json | 8 ++++---- .../examples/ExpressRoutePortsLocationGet.json | 4 ++-- .../examples/ExpressRoutePortsLocationList.json | 4 ++-- .../examples/HubVirtualNetworkConnectionGet.json | 4 ++-- .../HubVirtualNetworkConnectionList.json | 8 ++++---- .../2019-04-01/examples/RouteFilterCreate.json | 12 ++++++------ .../2019-04-01/examples/RouteFilterGet.json | 6 +++--- .../2019-04-01/examples/RouteFilterList.json | 6 +++--- .../examples/RouteFilterListByResourceGroup.json | 6 +++--- .../examples/RouteFilterRuleCreate.json | 4 ++-- .../2019-04-01/examples/RouteFilterRuleGet.json | 2 +- .../RouteFilterRuleListByRouteFilter.json | 2 +- .../examples/RouteFilterRuleUpdate.json | 2 +- .../2019-04-01/examples/RouteFilterUpdate.json | 6 +++--- .../examples/ServiceCommunityList.json | 8 ++++---- .../2019-04-01/examples/VirtualHubList.json | 8 ++++---- .../examples/VirtualHubListByResourceGroup.json | 8 ++++---- 262 files changed, 810 insertions(+), 810 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterCreate.json index 57a6eb4ac1d9..88a033c53fdd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterGet.json index 43ad513cb9c5..305115a0fbda 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterList.json index 89e13cbce685..b6882e5c8f6c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterListByResourceGroup.json index c5530b2b28a0..15d64ae36501 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleCreate.json index 6b3793570ba8..ac48ca2fa5c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleGet.json index eb96851e361a..4ddbcf6dee26 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json index 4bad8fd7a041..8ab4aa18e420 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleUpdate.json index a6312653279a..a623b170d33d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterUpdate.json index 34be5f6ea806..b0ea02123326 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ServiceCommunityList.json index 4052fe3d7e06..affc93c7abfb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterCreate.json index 743ee9e9ccd0..d25c565b164c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterGet.json index 00754881f258..eb774fee1037 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterList.json index e8e2d1ab7372..c2d63b8e3cbb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterListByResourceGroup.json index 067c5c9d73e4..f7783f444bb5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleCreate.json index 696c93056fd9..fb91a81a7a82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleGet.json index 4a71c2d474eb..8dca766d1f8e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleListByRouteFilter.json index bfdc04bd04a0..7b10d06344f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleUpdate.json index 06d112df43cb..19f8462c7b00 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterUpdate.json index 89716bc299dc..900c7508f84b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ServiceCommunityList.json index 443fe4de3193..4abd11f56bf5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterCreate.json index 2c2bac088333..d6295eea2d33 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterGet.json index 920a494189fc..29e888624012 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterList.json index 20cdfec4b3b2..c266e90c13df 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterListByResourceGroup.json index 041b0a903234..4cc746d4b3c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleCreate.json index 25215c4d2c51..ef59a0a6277a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleGet.json index 0f4116233980..e234887b1c3a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleListByRouteFilter.json index d4fe7b4d6b03..f38669605cc8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleUpdate.json index 1f40c5ddb0ba..1e5dde078c4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterUpdate.json index 87b4d76041d3..330e697002b7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ServiceCommunityList.json index 1e37532979fc..18747ca39351 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterCreate.json index e8db04840baa..6bfe47cd31f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterGet.json index 808c6b9c527d..815586ba6ad8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterList.json index 7d387ffb86b0..5a940ec6f371 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterListByResourceGroup.json index 1dee65f0f16a..ef4d1d6a1231 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleCreate.json index 9127f63ca7e2..4e02f8e45326 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleGet.json index dbb712e5b8a1..76227106ed96 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleListByRouteFilter.json index 0fba8746e9aa..27ce12bb51a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleUpdate.json index 9a44490f53fb..182f4feaf2e8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterUpdate.json index e005f7c68dc4..752b6d0a3d86 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ServiceCommunityList.json index 72c266c7907f..86db61405bd2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterCreate.json index c43102f1a4c0..622b1891b94f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterGet.json index c2c9df7e07ef..afd1eda16bc0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterList.json index c1894d443553..ed77d2e85f76 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterListByResourceGroup.json index cc73db752894..44abc36a159d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleCreate.json index 650d85d8141b..24e77a493060 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleGet.json index 0fa540fdbe47..ae6e3a5e6a06 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleListByRouteFilter.json index ac8468de5b83..8e551d08049d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleUpdate.json index a9abd7ce4c9a..8323ddec53e1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterUpdate.json index 1f325fd6d37a..a92753157e0e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ServiceCommunityList.json index cc06200165a6..23f88da2a719 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterCreate.json index cb556a338be7..debfd6d3d93b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterGet.json index 4df644b525bc..819a103a5f03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterList.json index d9d1b7847887..ddf0c1168e1f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterListByResourceGroup.json index 92949119d3e0..b81b38af223f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleCreate.json index a997f8463aa4..9f492a5126f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleGet.json index f33d5fb47d2b..ba8d3ccfb454 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleListByRouteFilter.json index 3816176b44bc..dd424579ca68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleUpdate.json index 309c3d9211bc..cce43c0d3c65 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterUpdate.json index c07f7cf95611..74f4cf2a4177 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/ServiceCommunityList.json index fcbd7c025303..e69cd9913aa0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterCreate.json index c8da4d991374..c2ae4b2956ee 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterGet.json index 140b4fd7430a..cd61935b4cfd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterList.json index e90ef28b6ee0..89300f12197f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterListByResourceGroup.json index cc3bc54a943a..e0dded763007 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleCreate.json index f1512f007edd..eb59699ecaeb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleGet.json index d10bb21e4f98..cc9e418e13c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleListByRouteFilter.json index ee66a1848260..7dc46feceae3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleUpdate.json index 39b54df847b7..45e2b12f6871 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterUpdate.json index fbc63db8939c..89c0055fdf4a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ServiceCommunityList.json index 693b77b6537d..7ad401761fcf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionGet.json index 09aba8442510..1c69549bc8a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionList.json index 1056ac95201a..8198fc2d5d25 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterCreate.json index eaee0ad8b06a..d63fb03c232d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterGet.json index c9895845fe08..9528b2c94d28 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterList.json index d90e2bd8be2c..a3964fde2d24 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterListByResourceGroup.json index 8acb61611311..8d8eaa0eca6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleCreate.json index 4c55b39259d7..81e8c1bf4934 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleGet.json index a26e66404ade..bac3a9a7caae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleListByRouteFilter.json index d8d532974930..e1af97075cff 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleUpdate.json index 2add49457c70..c9571f3911fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterUpdate.json index f5d87626a5be..cd21071471f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ServiceCommunityList.json index 7c5a580acfef..e917fc678bfd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubList.json index c3ff75f6604c..4ac386cf0642 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubListByResourceGroup.json index 6d1cb405a1fd..34493e788ce0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionGet.json index f9382271df10..c4931893c436 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionList.json index 975207a818d3..cf34362c4886 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterCreate.json index ec92c1d34be4..7fe600e551b8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterGet.json index 2711824e74a0..ba81a0b28d63 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterList.json index 9aa4dc38e04c..f5d72a555429 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterListByResourceGroup.json index d346041f0af8..77d5f40f3c79 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleCreate.json index 43a051592609..66809c6a634d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleGet.json index ce2617cfc2e6..2ff240ebbae2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleListByRouteFilter.json index 30a55bd615b0..1d3e022124ac 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleUpdate.json index 4703305c316b..a95f0234f323 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterUpdate.json index d853f8fb9701..e028fa4e60bf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ServiceCommunityList.json index ff8d43348752..ce8723373e14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubList.json index f4ba38515a08..12338f021a56 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubListByResourceGroup.json index 5bb4ed0d262d..4d17dbbb9f49 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionGet.json index 051223406648..06810973ee60 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionList.json index b7a1b6853214..3614eb1da989 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterCreate.json index 2a66890ed99d..50fea7932c10 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterGet.json index 9b4df4619103..0e87097732c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterList.json index 4855a355b2fb..67f02fe0c425 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterListByResourceGroup.json index 0a84e2c6cc64..15729c4a9cf1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleCreate.json index 006ca5962cdf..ee853ba11b11 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleGet.json index b17f2590e0fc..f8d47595320f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleListByRouteFilter.json index b4f644d2c2e9..c7e6356357d2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleUpdate.json index 9674058d5339..9d4ffc92f1fd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterUpdate.json index 79b5922aee5f..024c2f7d2496 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ServiceCommunityList.json index 4c4af88f4aea..7b6ef1cfa22c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubList.json index 4753ec4a17eb..b3c0a3bf5ac7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubListByResourceGroup.json index d0acbca07b56..eb492e50c7ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "hubVirtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index 3bf0c871bcc1..2c9eff7d548e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkGet.json index f7d899bf9f11..37cab9acd0b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkList.json index ac666ce41f07..280acf4f1bd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortCreate.json index ca2af1b02429..dad3ecc41d04 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortGet.json index 3fcb93c78b1e..61378aa788f1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortList.json index efb1b31894c5..c5a64e2ae8aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortListByResourceGroup.json index 32f25ed3bda9..e62912010516 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateLink.json index 37911566b570..5dbdfc9d5f88 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateTags.json index f59e61c7b91c..18b2ec11f4a6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationGet.json index b40653485733..29c57d6866c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationList.json index 81c8b98cbf3e..a025723b356e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionGet.json index 212b881c41ef..ea3649b3c548 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionList.json index c98f2663cd0c..d4d06ef76802 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterCreate.json index 27af1e9a0173..bef46d1788e9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterGet.json index 95b883a3a6d8..64ce37e47ed3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterList.json index 28be24a32edc..22bae32750e7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterListByResourceGroup.json index 9492313d8a02..1195118bc76c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleCreate.json index a72758d2c195..0bc2b5668609 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleGet.json index 7e85f9cd92eb..519de7cc128b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleListByRouteFilter.json index 86af94e8e854..ed076a95b975 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleUpdate.json index 8f52c7334ce2..447edef72687 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterUpdate.json index ed222f923989..65d79b0aafca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ServiceCommunityList.json index b905db6213aa..26b86a2e8e1a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubList.json index e4486be6b0b4..792deb16720d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubListByResourceGroup.json index e23276d23d7c..0cd0a21ca76f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index 71ebe7194d55..4e57c6e3f31f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkGet.json index 8ee5a03f2860..6505b6568790 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkList.json index 4c73740bda4d..ba3980adaeb3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortCreate.json index 11ca5eee1e9b..c7e9d68da6d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortGet.json index 3708c75ed663..aa98bb0d9a2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortList.json index 392ffc530c38..9f717b6a1a0e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortListByResourceGroup.json index da8eda26b44a..fb577be8f4cc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateLink.json index 2377eb698cd5..060d0acb1294 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateTags.json index 19081a985c16..4853042f1dae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationGet.json index 4ad877ea61b6..f0fd8c3298c9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationList.json index 671c32b7cc9a..c8589be7582f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionGet.json index 469ba2920f11..3d517a49540f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionList.json index cf8826ba4cdf..1c56a4b2cca0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterCreate.json index d8daaab41078..6779575a4b1d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterGet.json index d4d9b830e81f..3e4f2e3125ab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterList.json index 913ddb0281ac..4097d2078974 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterListByResourceGroup.json index e5592be87417..acfedc311891 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleCreate.json index 73cb284cb3f7..c74a5a8ec3b2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleGet.json index 120ae8000bf9..4cf34e837177 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleListByRouteFilter.json index bbe13e0e8ba4..9a641d52861c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleUpdate.json index 06561b4386ed..75feb9edf6e9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterUpdate.json index 71a5f8798252..2d39794847cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ServiceCommunityList.json index e2362556e7ef..92349203af20 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubList.json index 8442f9235da8..9b062d501aac 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubListByResourceGroup.json index 907cccc4f6b1..54de2b00823f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index fd449d458079..6f4f8fcc64ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkGet.json index bb46b27c275f..f795789424b9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkList.json index e1f5a5352660..d4dff13450f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortCreate.json index 39b006fe10b8..c53ad2449c8a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortGet.json index 27db05ebf551..24af7c8cc62d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortList.json index 0845bb1fa7e4..e45e82a66eed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortListByResourceGroup.json index c095deb2c6f7..1deb2a27bb80 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateLink.json index ab49e1c94cf9..52d10ef2b0d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateTags.json index df20f1c2b218..742c15b4875c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationGet.json index c63784245bbd..c59c0f7f1449 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationList.json index 94209ccf88af..3fb9901afea6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionGet.json index d23e15f7d40f..57ed2eb77acb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionList.json index 3036759a2669..25ff4f2f7dc6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterCreate.json index 49b5fa74370e..e9274e0c1709 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterGet.json index f4633e3ec3a6..f887a9a95ee3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterList.json index f957cead1185..d27ed76dda82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterListByResourceGroup.json index 8f1ec0e788e4..e4729790e3ea 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleCreate.json index d45df3d1fa90..467a2c3b5b0a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleGet.json index 3efc330720b1..7ef1764ed2e5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleListByRouteFilter.json index 299fc6c630da..63af38a1ab80 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleUpdate.json index cd4581c451b0..bb505d413fd0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterUpdate.json index 42a3777a1273..7790cc036d7e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ServiceCommunityList.json index 54402bbfe848..3650a44c704a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubList.json index 2019cca6f0b2..108706bde606 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubListByResourceGroup.json index 2598dff83c08..d5fd564b75f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index cae0952c3fab..06b6c41ea550 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkGet.json index 6f6eb0319be4..dcf69b1193ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkList.json index 9e5e7afc8bb2..635dbbb6fae9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortCreate.json index d955c9ee668f..fa3a7d9764ff 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortGet.json index 82d7129e14c9..19c6b27e5175 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortList.json index c6bdc556eea8..fd77a57add06 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortListByResourceGroup.json index 3598ff850727..3a7e29f4f89b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateLink.json index e0c1164e61c8..94588ccc0768 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateTags.json index 5b5bb38c530d..8db42d352605 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationGet.json index 63a148961d2c..93333fe0ea3d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationList.json index ee2204decff2..32f642e6c5ad 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionGet.json index eb3681488fca..3ae7a0cd8339 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionList.json index 2eb55650f1fe..634954ae3502 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterCreate.json index 89ac6fcf6d2e..dee1732bf986 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterGet.json index 35e206dcb516..a6676b4b153b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterList.json index 6400f4cfc364..7b3c160895ab 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterListByResourceGroup.json index 92e30004957a..036056b02f12 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleCreate.json index 0fc7083faa2a..a3cb5d72e39a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleGet.json index 017d8f29571c..b67e69b56f15 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleListByRouteFilter.json index 83dc497e8d45..1753814386bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleUpdate.json index b0085659fe94..2e7cf3e98393 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterUpdate.json index d91aca95ed2b..d2c727e1cac9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ServiceCommunityList.json index c61308598bfb..9718e4b0ed6c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubList.json index b80609ca3456..312dab0dfb25 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubListByResourceGroup.json index ac9624d70a4f..720db7de772f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index 5043f826deba..e76a5edc7426 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json index 2c437fa42db9..4c67186245e7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json index 88c4b2fcad6b..0a4d74452617 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json index 354769ff821d..51dac90a446a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json index 488c7f7e63f2..0e98fdf7c74f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json index 0c2836c6b617..1a246bf447af 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json index 1ebaebf0e879..27d7f4f4f6bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json index 7db0301d6fef..365aa777037c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json index 7851c15e9307..25e829cb9c97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json index 9679af786761..50dba0ebee50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json index 46eb516343b0..afcad8e8ab48 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json index c8e97e0863cd..8c060971cbaa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json index 0096bb0b4a9d..16c54ed9db17 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json index de68815654f3..585d723f6713 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterGet.json index beed95756057..24b296982c35 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json index 0eff809810d6..9c70fa530290 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json index 3abdb6e0541a..7caf847e0c19 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleCreate.json index 028ff24e83ad..ff2cf582dee2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleGet.json index 5532055a102c..63c325588228 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleListByRouteFilter.json index 8e6c2198db2c..cee2076961f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleUpdate.json index f15c6dbdb395..3429c9a97ee8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterUpdate.json index a1c62b876a3b..52827f80fd1d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json index 3a3bec1e6dec..242f01890a39 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json index 82aedbae4c74..379bdccd9a3b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json index 3d12da4f07f2..470da6368bfc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index bb6c5beecc5f..fd38e564e782 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -14,7 +14,7 @@ }, "properties": { "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10 } @@ -32,7 +32,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", @@ -59,7 +59,7 @@ "peerings": [], "authorizations": [], "expressRoutePort": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json index d74b36fa28ae..b6d9eff817f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkGet.json @@ -10,7 +10,7 @@ "200": { "body": { "name": "linkName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", "properties": { "provisioningState": "Succeeded", "routerName": "router1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json index c0ad819729da..d81deae34882 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteLinkList.json @@ -11,7 +11,7 @@ "value": [ { "name": "link1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "properties": { "provisioningState": "Succeeded", "routerName": "router1", @@ -24,7 +24,7 @@ }, { "name": "link2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "properties": { "provisioningState": "Succeeded", "routerName": "router2", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json index cd69ef6100e9..7a3e54af8cc2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortCreate.json @@ -17,8 +17,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -31,7 +31,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -44,7 +44,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -64,8 +64,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -78,7 +78,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -91,7 +91,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json index 56d84fc3340a..cc65c148a604 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortGet.json @@ -9,8 +9,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json index 89f2f592dcc4..bf1d9a1b3571 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortList.json @@ -9,8 +9,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -23,7 +23,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -36,7 +36,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json index 74eb815c3b91..d1cda01a7318 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortListByResourceGroup.json @@ -10,8 +10,8 @@ "value": [ { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -24,7 +24,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -37,7 +37,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json index 1773ba30db22..e809570f4b7a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateLink.json @@ -25,8 +25,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -39,7 +39,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -52,7 +52,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", @@ -72,8 +72,8 @@ "201": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -86,7 +86,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -99,7 +99,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json index f3fcd01f430d..3517823b665b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortUpdateTags.json @@ -15,8 +15,8 @@ "200": { "body": { "name": "portName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName", - "type": "Microsofot.Network/expressRoutePorts", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "type": "Microsoft.Network/expressRoutePorts", "location": "westus", "properties": { "provisioningState": "Succeeded", @@ -29,7 +29,7 @@ "allocationDate": "Friday, July 1, 2018", "links": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", "name": "link1", "properties": { "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ } }, { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", "name": "link2", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json index 30079117d2de..c4f03137c8f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationGet.json @@ -8,8 +8,8 @@ "200": { "body": { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json index 25d7d1537668..548ae310aa2f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRoutePortsLocationList.json @@ -9,8 +9,8 @@ "value": [ { "name": "locationName", - "id": "/subscriptions/subid/providers/Microsofot.Network/expressRoutePortsLocations/locationName", - "type": "Microsofot.Network/expressRoutePortsLocations", + "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", "location": "westus", "properties": { "provisioningState": "Succeeded", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json index 164a5d64d711..31a67e4f92d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionGet.json @@ -10,12 +10,12 @@ "200": { "body": { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json index a0d67d46b6ca..a76d3193944f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/HubVirtualNetworkConnectionList.json @@ -11,12 +11,12 @@ "body": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -24,12 +24,12 @@ }, { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json index 61ef1d87efdf..20a284485e7f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterGet.json index f8c667bf2f7e..c10305191046 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json index c40b01dd6442..72768938d84f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json index 4a1371bd10cb..f9589ead1672 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleCreate.json index 243cc55f7784..2531eadff2b2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleCreate.json @@ -19,7 +19,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -35,7 +35,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleGet.json index 8e00bffd3527..85785e33f1df 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleListByRouteFilter.json index 9dc025964ecf..3b1ebbbad377 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleUpdate.json index c8f3718dbafd..f0696917114f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterRuleUpdate.json @@ -19,7 +19,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json index 7ee2202e9411..d1b6dac16657 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json @@ -13,11 +13,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -25,7 +25,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json index 0e88211bc5db..1b05770b9cfc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "skype", "bgpCommunities": [ @@ -29,9 +29,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName": "exchange", "bgpCommunities": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json index d63b0b37fc66..b0514391ddd7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubList.json @@ -21,12 +21,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -50,12 +50,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json index 76c261e72207..e383808497a8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualHubListByResourceGroup.json @@ -22,12 +22,12 @@ "virtualNetworkConnections": [ { "name": "connection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false @@ -51,12 +51,12 @@ "virtualNetworkConnections": [ { "name": "connection2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", "remoteVirtualNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2" + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2" }, "allowHubToRemoteVnetTransit": true, "allowRemoteVnetToUseHubVnetGateways": false From 11b1c5fa7c3ec310fd73d81bc31768a67e3b280d Mon Sep 17 00:00:00 2001 From: Page Bowers <40775967+pabowers@users.noreply.github.com> Date: Tue, 30 Jul 2019 12:50:52 -0700 Subject: [PATCH 383/495] Removing monitoring hana instance API (#6778) --- .../HanaInstances_EnableMonitoring.json | 19 -------- .../2017-11-03-preview/hanaonazure.json | 46 ------------------- 2 files changed, 65 deletions(-) delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json deleted file mode 100644 index 2c9dafcc48b4..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "hanaInstanceName": "myHanaInstance", - "monitoringParameter": { - "hanaSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", - "hanaHostname": "hana.hostname", - "hanaDbSqlPort": 50, - "hanaDbUsername": "SYSTEM", - "hanaDbPassword": "passExample" - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index 66d514dd23d2..2221326eb3fa 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -485,52 +485,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring": { - "post": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "HanaInstances_EnableMonitoring", - "x-ms-long-running-operation": true, - "description": "The operation to add a monitor to an SAP HANA instance.", - "x-ms-examples": { - "Monitor a HANA instance": { - "$ref": "./examples/HanaInstances_EnableMonitoring.json" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/HanaInstanceNameParameter" - }, - { - "$ref": "#/parameters/MonitoringParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - } - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors": { "get": { "tags": [ From 398d68080383d2f1b9d88eaafd157c27f4796ec0 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 30 Jul 2019 15:51:44 -0400 Subject: [PATCH 384/495] fix: apimanagment model validation (#6725) - Add missing "body" in response Didn't add "body" for some "202" with no schemas, but maybe they should be empty. --- .../examples/ApiManagementCreateProperty.json | 24 +-- ...ntCreateServiceWithSystemCertificates.json | 164 +++++++++--------- .../ApiManagementCreateSubscription.json | 24 +-- ...piManagementUpdateServiceDisableTls10.json | 72 ++++---- ...nagementUpdateServicePublisherDetails.json | 72 ++++---- .../examples/ApiManagementCreateProperty.json | 24 +-- .../ApiManagementCreateSubscription.json | 24 +-- ...piManagementUpdateServiceDisableTls10.json | 72 ++++---- ...nagementUpdateServicePublisherDetails.json | 72 ++++---- .../examples/ApiManagementCreateProperty.json | 24 +-- ...ntCreateServiceWithSystemCertificates.json | 164 +++++++++--------- .../ApiManagementCreateSubscription.json | 24 +-- ...piManagementUpdateServiceDisableTls10.json | 72 ++++---- ...nagementUpdateServicePublisherDetails.json | 72 ++++---- .../examples/ApiManagementCreateProperty.json | 24 +-- .../ApiManagementCreateSubscription.json | 24 +-- ...piManagementUpdateServiceDisableTls10.json | 72 ++++---- ...nagementUpdateServicePublisherDetails.json | 72 ++++---- 18 files changed, 568 insertions(+), 528 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json index 027278e3d534..c7ad254a3d68 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProperty.json @@ -35,17 +35,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testprop2", - "properties": { - "displayName": "prop3name", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": true + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testprop2", + "properties": { + "displayName": "prop3name", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": true + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json index 7043dab32bee..e99e28f5efef 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -71,91 +71,95 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "location": "Central US", - "etag": "AAAAAADauqg=", - "properties": { - "publisherEmail": "apim@autorestsdk.com", - "publisherName": "autorestsdk", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-19T16:42:47.362368Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.69.153.91" - ], - "virtualNetworkType": "None", - "certificates": [ - { - "storeName": "CertificateAuthority", - "certificate": { - "expiry": "2035-12-31T23:00:00-08:00", - "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", - "subject": "CN=*.msitesting.net" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "location": "Central US", + "etag": "AAAAAADauqg=", + "properties": { + "publisherEmail": "apim@autorestsdk.com", + "publisherName": "autorestsdk", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-19T16:42:47.362368Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.69.153.91" + ], + "virtualNetworkType": "None", + "certificates": [ + { + "storeName": "CertificateAuthority", + "certificate": { + "expiry": "2035-12-31T23:00:00-08:00", + "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", + "subject": "CN=*.msitesting.net" + } } - } - ] - }, - "sku": { - "name": "Basic", - "capacity": 1 + ] + }, + "sku": { + "name": "Basic", + "capacity": 1 + } } }, "202": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "location": "Central US", - "etag": "AAAAAADauqg=", - "properties": { - "publisherEmail": "apim@autorestsdk.com", - "publisherName": "autorestsdk", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-19T16:42:47.362368Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.69.153.91" - ], - "virtualNetworkType": "None", - "certificates": [ - { - "storeName": "CertificateAuthority", - "certificate": { - "expiry": "2035-12-31T23:00:00-08:00", - "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", - "subject": "CN=*.msitesting.net" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "location": "Central US", + "etag": "AAAAAADauqg=", + "properties": { + "publisherEmail": "apim@autorestsdk.com", + "publisherName": "autorestsdk", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-19T16:42:47.362368Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.69.153.91" + ], + "virtualNetworkType": "None", + "certificates": [ + { + "storeName": "CertificateAuthority", + "certificate": { + "expiry": "2035-12-31T23:00:00-08:00", + "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", + "subject": "CN=*.msitesting.net" + } } - } - ] - }, - "sku": { - "name": "Basic", - "capacity": 1 + ] + }, + "sku": { + "name": "Basic", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json index 379faac139ef..aca7e1d87bb6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSubscription.json @@ -31,17 +31,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "testsub", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "testsub", - "state": "submitted", - "createdDate": "2017-06-02T23:34:03.1055076Z", - "primaryKey": "06c34e1a9d394412b292e0611e73d417", - "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "testsub", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "testsub", + "state": "submitted", + "createdDate": "2017-06-02T23:34:03.1055076Z", + "primaryKey": "06c34e1a9d394412b292e0611e73d417", + "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json index 3448ae90538a..606b8748f0f3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json @@ -48,42 +48,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json index 3fb414abef6a..9a52be43b2cc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json @@ -47,42 +47,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "foobar@live.com", - "publisherName": "Contoso Vnext", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "foobar@live.com", + "publisherName": "Contoso Vnext", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json index 8f1b6aae66c9..bd68defb5dcd 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateProperty.json @@ -35,17 +35,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testprop2", - "properties": { - "displayName": "prop3name", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": true + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testprop2", + "properties": { + "displayName": "prop3name", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": true + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json index bfc7504fe2eb..186703821787 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementCreateSubscription.json @@ -31,17 +31,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "testsub", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "testsub", - "state": "submitted", - "createdDate": "2017-06-02T23:34:03.1055076Z", - "primaryKey": "06c34e1a9d394412b292e0611e73d417", - "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "testsub", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "testsub", + "state": "submitted", + "createdDate": "2017-06-02T23:34:03.1055076Z", + "primaryKey": "06c34e1a9d394412b292e0611e73d417", + "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json index 392a705c8c1d..3ebf8c8cb50c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -48,42 +48,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json index 1804de0fbbe0..39a7275b6766 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -47,42 +47,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "foobar@live.com", - "publisherName": "Contoso Vnext", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "staticIps": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "foobar@live.com", + "publisherName": "Contoso Vnext", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "staticIps": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json index 38dff8e5ba7a..be4f36cfdc0a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateProperty.json @@ -35,17 +35,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testprop2", - "properties": { - "displayName": "prop3name", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": true + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testprop2", + "properties": { + "displayName": "prop3name", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": true + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json index a7e470bac209..42aedad707d3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -71,91 +71,95 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "location": "Central US", - "etag": "AAAAAADauqg=", - "properties": { - "publisherEmail": "apim@autorestsdk.com", - "publisherName": "autorestsdk", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-19T16:42:47.362368Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.69.153.91" - ], - "virtualNetworkType": "None", - "certificates": [ - { - "storeName": "CertificateAuthority", - "certificate": { - "expiry": "2035-12-31T23:00:00-08:00", - "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", - "subject": "CN=*.msitesting.net" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "location": "Central US", + "etag": "AAAAAADauqg=", + "properties": { + "publisherEmail": "apim@autorestsdk.com", + "publisherName": "autorestsdk", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-19T16:42:47.362368Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.69.153.91" + ], + "virtualNetworkType": "None", + "certificates": [ + { + "storeName": "CertificateAuthority", + "certificate": { + "expiry": "2035-12-31T23:00:00-08:00", + "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", + "subject": "CN=*.msitesting.net" + } } - } - ] - }, - "sku": { - "name": "Basic", - "capacity": 1 + ] + }, + "sku": { + "name": "Basic", + "capacity": 1 + } } }, "202": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "location": "Central US", - "etag": "AAAAAADauqg=", - "properties": { - "publisherEmail": "apim@autorestsdk.com", - "publisherName": "autorestsdk", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2018-02-19T16:42:47.362368Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.69.153.91" - ], - "virtualNetworkType": "None", - "certificates": [ - { - "storeName": "CertificateAuthority", - "certificate": { - "expiry": "2035-12-31T23:00:00-08:00", - "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", - "subject": "CN=*.msitesting.net" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "tag1": "value1", + "tag2": "value2", + "tag3": "value3" + }, + "location": "Central US", + "etag": "AAAAAADauqg=", + "properties": { + "publisherEmail": "apim@autorestsdk.com", + "publisherName": "autorestsdk", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2018-02-19T16:42:47.362368Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "gatewayRegionalUrl": "https://apimService1-centralus-01.regional.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.69.153.91" + ], + "virtualNetworkType": "None", + "certificates": [ + { + "storeName": "CertificateAuthority", + "certificate": { + "expiry": "2035-12-31T23:00:00-08:00", + "thumbprint": "8E989652XXXXXXXXXXXXXXXDB3A2", + "subject": "CN=*.msitesting.net" + } } - } - ] - }, - "sku": { - "name": "Basic", - "capacity": 1 + ] + }, + "sku": { + "name": "Basic", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json index 71407539b5b9..6c01278b1ab9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementCreateSubscription.json @@ -31,17 +31,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "testsub", - "properties": { - "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", - "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "testsub", - "state": "submitted", - "createdDate": "2017-06-02T23:34:03.1055076Z", - "primaryKey": "06c34e1a9d394412b292e0611e73d417", - "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "testsub", + "properties": { + "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", + "productId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "testsub", + "state": "submitted", + "createdDate": "2017-06-02T23:34:03.1055076Z", + "primaryKey": "06c34e1a9d394412b292e0611e73d417", + "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json index 57576644ba7b..e24f0143a774 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -48,42 +48,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json index 6a3fb026707d..f55288f83036 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2018-01-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -47,42 +47,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "foobar@live.com", - "publisherName": "Contoso Vnext", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "foobar@live.com", + "publisherName": "Contoso Vnext", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json index 310e2cadc345..20cf3005cf3f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateProperty.json @@ -35,17 +35,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", - "type": "Microsoft.ApiManagement/service/properties", - "name": "testprop2", - "properties": { - "displayName": "prop3name", - "value": "propValue", - "tags": [ - "foo", - "bar" - ], - "secret": true + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testprop2", + "type": "Microsoft.ApiManagement/service/properties", + "name": "testprop2", + "properties": { + "displayName": "prop3name", + "value": "propValue", + "tags": [ + "foo", + "bar" + ], + "secret": true + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json index 620736a9665f..e32f3dac7bd1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateSubscription.json @@ -31,17 +31,19 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", - "type": "Microsoft.ApiManagement/service/subscriptions", - "name": "testsub", - "properties": { - "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", - "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", - "displayName": "testsub", - "state": "submitted", - "createdDate": "2017-06-02T23:34:03.1055076Z", - "primaryKey": "06c34e1a9d394412b292e0611e73d417", - "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/subscriptions/testsub", + "type": "Microsoft.ApiManagement/service/subscriptions", + "name": "testsub", + "properties": { + "ownerId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57127d485157a511ace86ae7", + "scope": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b59475ff190048060002", + "displayName": "testsub", + "state": "submitted", + "createdDate": "2017-06-02T23:34:03.1055076Z", + "primaryKey": "06c34e1a9d394412b292e0611e73d417", + "secondaryKey": "1e756a7705364c529e8d1760190f47b3" + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json index c4497e25b8db..5563fa1f6e7d 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServiceDisableTls10.json @@ -48,42 +48,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "admin@live.com", - "publisherName": "Contoso", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "admin@live.com", + "publisherName": "Contoso", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json index f87e33ecb3fe..2572f0ed713c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementUpdateServicePublisherDetails.json @@ -47,42 +47,44 @@ } }, "200": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", - "name": "apimService1", - "type": "Microsoft.ApiManagement/service", - "tags": { - "Owner": "sasolank", - "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", - "Reserved": "", - "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", - "Pool": "Manual", - "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" - }, - "location": "West US", - "etag": "AAAAAAAYRPs=", - "properties": { - "publisherEmail": "foobar@live.com", - "publisherName": "Contoso Vnext", - "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", - "provisioningState": "Succeeded", - "targetProvisioningState": "", - "createdAtUtc": "2017-06-29T17:50:42.3191122Z", - "gatewayUrl": "https://apimService1.azure-api.net", - "portalUrl": "https://apimService1.portal.azure-api.net", - "managementApiUrl": "https://apimService1.management.azure-api.net", - "scmUrl": "https://apimService1.scm.azure-api.net", - "hostnameConfigurations": [], - "publicIPAddresses": [ - "40.86.176.232" - ], - "customProperties": { - "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", + "name": "apimService1", + "type": "Microsoft.ApiManagement/service", + "tags": { + "Owner": "sasolank", + "UID": "4f5025fe-0669-4e2e-8320-5199466e5eb3", + "Reserved": "", + "TestExpiration": "Thu, 29 Jun 2017 18:50:40 GMT", + "Pool": "Manual", + "TestSuiteExpiration": "Thu, 29 Jun 2017 18:51:46 GMT" }, - "virtualNetworkType": "None" - }, - "sku": { - "name": "Standard", - "capacity": 1 + "location": "West US", + "etag": "AAAAAAAYRPs=", + "properties": { + "publisherEmail": "foobar@live.com", + "publisherName": "Contoso Vnext", + "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com", + "provisioningState": "Succeeded", + "targetProvisioningState": "", + "createdAtUtc": "2017-06-29T17:50:42.3191122Z", + "gatewayUrl": "https://apimService1.azure-api.net", + "portalUrl": "https://apimService1.portal.azure-api.net", + "managementApiUrl": "https://apimService1.management.azure-api.net", + "scmUrl": "https://apimService1.scm.azure-api.net", + "hostnameConfigurations": [], + "publicIPAddresses": [ + "40.86.176.232" + ], + "customProperties": { + "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "False" + }, + "virtualNetworkType": "None" + }, + "sku": { + "name": "Standard", + "capacity": 1 + } } } } From 72c1b69723826faa918ccd9bb203674fcbd4d30b Mon Sep 17 00:00:00 2001 From: navysingla <47647464+navysingla@users.noreply.github.com> Date: Tue, 30 Jul 2019 15:27:23 -0700 Subject: [PATCH 385/495] Nasingla/nugetupdate (#6673) * Update readme.md * Update readme.md * Remove dependencies * remove json files * Created operation.json * Textual changes --- .../2018-03-01-preview/operations.json | 136 ++++++++++++++++++ .../2018-03-01-preview/subscriptions.json | 77 +--------- .../examples/getOperations.json | 21 --- .../2018-11-01-preview/subscriptions.json | 36 +---- .../examples/getOperations.json | 37 ----- .../2019-03-01-preview/subscriptions.json | 32 +---- .../subscription/resource-manager/readme.md | 3 + 7 files changed, 145 insertions(+), 197 deletions(-) create mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/operations.json delete mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json delete mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/operations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/operations.json new file mode 100644 index 000000000000..25d1a6bb523d --- /dev/null +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/operations.json @@ -0,0 +1,136 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-03-01-preview", + "title": "SubscriptionClient", + "description": "Subscription client provides an interface to create and manage Azure subscriptions programmatically." + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.Subscription/operations": { + "get": { + "description": "Lists all of the available Microsoft.Subscription API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "getOperations": { + "$ref": "./examples/getOperations.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "OperationListResult": { + "description": "Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Operation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Subscription", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + } + } + } + } + } + }, + "parameters": { + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. Current version is 2015-06-01" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json index 85cba1b8d908..a62e75833824 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json @@ -16,36 +16,6 @@ "application/json" ], "paths": { - "/providers/Microsoft.Subscription/operations": { - "get": { - "description": "Lists all of the available Microsoft.Subscription API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "getOperations": { - "$ref": "./examples/getOperations.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/providers/Microsoft.Subscription/subscriptionOperations": { "get": { "description": "Lists all of the available pending Microsoft.Subscription API operations.", @@ -142,7 +112,7 @@ "description": "The created subscription object.", "properties": { "subscriptionLink": { - "description": "The link to the new subscription.", + "description": "The link to the new subscription. Use this link to check the status of subscription creation operation.", "type": "string" } } @@ -197,7 +167,7 @@ } }, "AdPrincipal": { - "description": "Active Directory Principal for subscription creation delegated permission", + "description": "Active Directory Principal who’ll get owner access on the new subscription.", "properties": { "objectId": { "description": "Object id of the Principal", @@ -237,49 +207,6 @@ "type": "string" } } - }, - "OperationListResult": { - "description": "Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of operations." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." - } - } - }, - "Operation": { - "description": "REST API operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Subscription", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - } - } - } - } } }, "parameters": { diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json deleted file mode 100644 index 2a0983a73798..000000000000 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/getOperations.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2018-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Subscription/createSubscription/action", - "display": { - "provider": "Microsoft Subscription", - "resource": "Resources", - "operation": "The operation to create a new Azure subscription" - } - } - ] - } - } - } -} diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json index ca46e6f1c464..cc487360b8bf 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json @@ -16,36 +16,6 @@ "application/json" ], "paths": { - "/providers/Microsoft.Subscription/operations": { - "get": { - "description": "Lists all of the available Microsoft.Subscription API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "getOperations": { - "$ref": "./examples/getOperations.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/providers/Microsoft.Subscription/subscriptionOperations/{operationId}": { "get": { "description": "Get the status of the pending Microsoft.Subscription API operations.", @@ -151,7 +121,7 @@ "description": "The subscription creation parameters.", "required": true, "schema": { - "$ref": "#/definitions/SubscriptionCreationParameters" + "$ref": "#/definitions/ModernSubscriptionCreationParameters" } } ] @@ -168,7 +138,7 @@ } } }, - "SubscriptionCreationParameters": { + "ModernSubscriptionCreationParameters": { "description": "The parameters required to create a new subscription.", "required": ["displayName","billingProfileId","skuId"], "properties": { @@ -214,7 +184,7 @@ "type": "string" }, "message": { - "description": "Describes the error if the operation is not successful.", + "description": "Error message indicating why the operation failed.", "type": "string" } } diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json deleted file mode 100644 index 5a218ac9c563..000000000000 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/getOperations.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2019-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Subscription/cancel/action", - "display": { - "provider": "Microsoft Subscription", - "resource": "Resources", - "operation": "The operation to cancel a subscription" - } - }, - { - "name": "Microsoft.Subscription/rename/action", - "display": { - "provider": "Microsoft Subscription", - "resource": "Resources", - "operation": "The operation to rename a subscription" - } - }, - { - "name": "Microsoft.Subscription/enable/action", - "display": { - "provider": "Microsoft Subscription", - "resource": "Resources", - "operation": "Enables the subscription" - } - } - ] - } - } - } -} diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json index 6ebbc4049865..b765cce499f0 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json @@ -16,36 +16,6 @@ "application/json" ], "paths": { - "/providers/Microsoft.Subscription/operations": { - "get": { - "description": "Lists all of the available Microsoft.Subscription API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "getOperations": { - "$ref": "./examples/getOperations.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Describes the error if the operation is not successful.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel": { "post": { "operationId": "Subscriptions_Cancel", @@ -151,7 +121,7 @@ }, "definitions": { "ErrorResponse": { - "description": "Describes the error if the operation is not successful.", + "description": "Describes the format of Error response.", "type": "object", "properties": { "code": { diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index eb564637e3df..91fb2a5a4ea8 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -40,6 +40,9 @@ These settings apply only when `--tag=package-2019-03-preview` is specified on t ``` yaml $(tag) == 'package-2019-03-preview' input-file: - Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json +- Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json +- Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json +- Microsoft.Subscription/preview/2018-03-01-preview/operations.json - Microsoft.Subscription/stable/2016-06-01/subscriptions.json title: SubscriptionClient description: The subscription client From faa0b386e89485c75833b0099174e219dbe33118 Mon Sep 17 00:00:00 2001 From: Yuxing Zhou Date: Wed, 31 Jul 2019 10:59:47 +0800 Subject: [PATCH 386/495] add repairStatus property for volume (#6786) --- .../Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json | 4 ++++ .../preview/2019-05-01/examples/Volume/Get.json | 1 + .../preview/2019-05-01/examples/Volume/List.json | 1 + 3 files changed, 6 insertions(+) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json index 14d8cb07fe5a..7e7e26561036 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json @@ -156,6 +156,10 @@ "description": "Operational status of the volume.", "type": "string" }, + "repairStatus": { + "description": "Repair status of the volume. Empty if no repair job running, something like 'Running, 90%' when repairing.", + "type": "string" + }, "description": { "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", "type": "string" diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json index ffbeee06959c..5fa5af5196be 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json @@ -21,6 +21,7 @@ "remainingCapacityGB": 1317, "healthStatus": "Healthy", "operationalStatus": "OK", + "repairStatus": "", "description": "", "action": "", "volumeLabel": "ObjStore_1" diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json index 984dc9e01cd5..aa0858da41da 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json @@ -22,6 +22,7 @@ "remainingCapacityGB": 1317, "healthStatus": "Healthy", "operationalStatus": "OK", + "repairStatus": "", "description": "", "action": "", "volumeLabel": "ObjStore_1" From 7f176d2ed42fae2783c6f32c1db788e670012134 Mon Sep 17 00:00:00 2001 From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Date: Wed, 31 Jul 2019 12:59:59 +0800 Subject: [PATCH 387/495] update avocado version in preproduction pipeline (#6796) --- preproduction-azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml index 06d4aa41adb4..657e2213f9bc 100644 --- a/preproduction-azure-pipelines.yml +++ b/preproduction-azure-pipelines.yml @@ -44,6 +44,6 @@ jobs: displayName: 'npm install' inputs: verbose: false - - script: 'npm install -D @azure/avocado@0.5.0' + - script: 'npm install -D @azure/avocado@0.5.1' - script: './node_modules/.bin/avocado' displayName: 'Avocado' From 2fdb5b26c26238f122a82bf95206e62974a156d9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 01:05:44 -0400 Subject: [PATCH 388/495] chore: jsonfmt storage (#6791) --- .../stable/2019-04-01/examples/BlobServicesList.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json index 597e3e85946d..9ee20d70725b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json @@ -16,7 +16,8 @@ "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "cors": { - "corsRules": [{ + "corsRules": [ + { "allowedOrigins": [ "http://www.contoso.com", "http://www.fabrikam.com" @@ -87,4 +88,4 @@ } } } -} \ No newline at end of file +} From 4bf2f1de05b74d36e4cbb96f30f8b94cf8126687 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 13:15:25 +0800 Subject: [PATCH 389/495] fixing next-link in hybrid data manager (#6800) --- .../examples/DataServices_ListByDataManager-GET-example-51.json | 2 +- .../DataStoreTypes_ListByDataManager-GET-example-171.json | 2 +- .../examples/DataStores_ListByDataManager-GET-example-151.json | 2 +- .../JobDefinitions_ListByDataManager-GET-example-191.json | 2 +- .../JobDefinitions_ListByDataService-GET-example-71.json | 2 +- .../examples/Jobs_ListByDataManager-GET-example-201.json | 2 +- .../examples/Jobs_ListByDataService-GET-example-141.json | 2 +- .../examples/Jobs_ListByJobDefinition-GET-example-91.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json index aa8402028e45..b6c815ce3716 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json @@ -102,7 +102,7 @@ "type": "Microsoft.HybridData/dataManagers/dataServices" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json index 7be5d5715925..2fd02ede260c 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json @@ -97,7 +97,7 @@ "type": "Microsoft.HybridData/dataManagers/dataStoreTypes" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json index bb5a0dee4d53..e41464ee6ea5 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json @@ -49,7 +49,7 @@ "type": "Microsoft.HybridData/dataManagers/dataStores" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json index fcab9f535bcf..4382802a82fa 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json @@ -50,7 +50,7 @@ "type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json index 83b201fbd5b4..1ac77da4ef8f 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json @@ -51,7 +51,7 @@ "type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json index c0721acb1faf..ebcf4ed71efe 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json @@ -64,7 +64,7 @@ "type": "Microsoft.HybridData/dataManagers/jobs" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json index 7fc10af4a35c..2cb94885a13d 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json @@ -65,7 +65,7 @@ "type": "Microsoft.HybridData/dataManagers/jobs" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json index da706483e2a2..4f0eecd66bf7 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json @@ -66,7 +66,7 @@ "type": "Microsoft.HybridData/dataManagers/jobs" } ], - "nextLink": "" + "nextLink": null } } } From 5d2449ed54edff209599c5530f1ed193dccdff05 Mon Sep 17 00:00:00 2001 From: yuzhangyi <44692931+yuzhangyi@users.noreply.github.com> Date: Wed, 31 Jul 2019 15:14:39 +0800 Subject: [PATCH 390/495] Enable Avro Dataset in public swagger (#6816) * Enable Avro Dataset in public swagger * UPDATE --- .../2018-06-01/entityTypes/Dataset.json | 48 +++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 53 +++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 89d826313586..5f4e5fc824f4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -516,6 +516,54 @@ "bucketName" ] }, + "AvroDataset": { + "x-ms-discriminator-value": "Avro", + "description": "Avro dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Avro dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AvroDatasetTypeProperties" + } + } + }, + "AvroDatasetTypeProperties": { + "description": "Avro dataset properties.", + "properties": { + "location": { + "$ref": "#/definitions/DatasetLocation", + "description": "The location of the avro storage." + }, + "avroCompressionCodec": { + "type": "string", + "enum": [ + "none", + "deflate", + "snappy", + "xz", + "bzip2" + ], + "x-ms-enum": { + "name": "avroCompressionCodec", + "modelAsString": true + } + }, + "avroCompressionLevel": { + "type": "integer", + "minimum": 1, + "maximum": 9 + } + }, + "required": [ + "location" + ] + }, "ParquetDataset": { "x-ms-discriminator-value": "Parquet", "description": "Parquet dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index fbd07f22fd75..edb39af6ee76 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -635,6 +635,25 @@ "type" ] }, + "AvroWriteSettings": { + "description": "Avro write settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FormatWriteSettings" + } + ], + "properties": { + "recordName": { + "type": "string", + "description": "Top level record name in write result, which is required in AVRO spec." + }, + "recordNamespace": { + "type": "string", + "description": "Record namespace in the write result." + } + } + }, "DelimitedTextWriteSettings": { "description": "Delimited text write settings.", "type": "object", @@ -657,6 +676,21 @@ "fileExtension" ] }, + "AvroSource": { + "description": "A copy activity Avro source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/StoreReadSettings", + "description": "Avro store settings." + } + } + }, "ParquetSource": { "description": "A copy activity Parquet source.", "type": "object", @@ -2578,6 +2612,25 @@ } } }, + "AvroSink": { + "description": "A copy activity Avro sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "storeSettings": { + "$ref": "#/definitions/StoreWriteSettings", + "description": "Avro store settings." + }, + "formatSettings": { + "$ref": "#/definitions/AvroWriteSettings", + "description": "Avro format settings." + } + } + }, "ParquetSink": { "description": "A copy activity Parquet sink.", "type": "object", From a3e92fed8ec8939a7085f56d8243e581a2f189a7 Mon Sep 17 00:00:00 2001 From: David Zhao <31305478+davidzhaoyue@users.noreply.github.com> Date: Wed, 31 Jul 2019 16:17:30 +0800 Subject: [PATCH 391/495] [Datafactory] Add one new connector and new properties into three connectors (#6762) * [Datafactory] Add one new connector and add new properties into three connectors * Add paramref into custom-words.txt --- custom-words.txt | 1 + .../2018-06-01/entityTypes/Dataset.json | 17 +++++ .../2018-06-01/entityTypes/LinkedService.json | 37 +++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 65 ++++++++++++++++++- 4 files changed, 118 insertions(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 723d58b8b58e..f9e2c9179ddd 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -922,6 +922,7 @@ overridable OWASP oxxm pageable +paramref PARAVIRTUAL Passthrough patternanyentities diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index 5f4e5fc824f4..d6cf98b5b0ae 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -2400,6 +2400,23 @@ } } }, + "AzureMariaDBTableDataset": { + "x-ms-discriminator-value": "AzureMariaDBTable", + "description": "Azure Database for MariaDB dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Properties specific to this dataset type.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/GenericDatasetTypeProperties" + } + } + }, "MarketoObjectDataset": { "x-ms-discriminator-value": "MarketoObject", "description": "Marketo server dataset.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index c8049222b017..12b90c896c65 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -3733,6 +3733,43 @@ } } }, + "AzureMariaDBLinkedService": { + "x-ms-discriminator-value": "AzureMariaDB", + "description": "Azure Database for MariaDB linked service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Azure Database for MariaDB linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureMariaDBLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "AzureMariaDBLinkedServiceTypeProperties": { + "description": "Azure Database for MariaDB linked service properties.", + "properties": { + "connectionString": { + "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", + "type": "object" + }, + "pwd": { + "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", + "description": "The Azure key vault secret reference of password in connection string." + }, + "encryptedCredential": { + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", + "type": "object" + } + } + }, "MarketoLinkedService": { "x-ms-discriminator-value": "Marketo", "description": "Marketo server linked service.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index edb39af6ee76..ca91ad80bcf7 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1249,7 +1249,16 @@ "$ref": "#/definitions/CopySource" } ], - "properties": {} + "properties": { + "excludeLastRequest": { + "type": "object", + "description": "Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean)." + }, + "baseRequestId": { + "type": "object", + "description": "The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer )." + } + } }, "SapTableSource": { "description": "A copy activity source for SAP Table source.", @@ -1337,6 +1346,22 @@ } ], "properties": { + "requestMethod": { + "type": "object", + "description": "The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string)." + }, + "requestBody": { + "type": "object", + "description": "The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string)." + }, + "additionalHeaders": { + "type": "object", + "description": "The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string)." + }, + "paginationRules": { + "type": "object", + "description": "The pagination rules to compose next page requests. Type: string (or Expression with resultType string)." + }, "httpRequestTimeout": { "type": "object", "description": "The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." @@ -1834,7 +1859,28 @@ "$ref": "#/definitions/CopySource" } ], - "properties": {} + "properties": { + "allowedGroups": { + "type": "object", + "description": "The groups containing all the users. Type: array of strings (or Expression with resultType array of strings)." + }, + "userScopeFilterUri": { + "type": "object", + "description": "The user scope uri. Type: string (or Expression with resultType string)." + }, + "dateFilterColumn": { + "type": "object", + "description": "The Column to apply the and . Type: string (or Expression with resultType string)." + }, + "startTime": { + "type": "object", + "description": "Start time of the requested range for this dataset. Type: string (or Expression with resultType string)." + }, + "endTime": { + "type": "object", + "description": "End time of the requested range for this dataset. Type: string (or Expression with resultType string)." + } + } }, "AzureDataLakeStoreSource": { "description": "A copy activity Azure Data Lake source.", @@ -2129,6 +2175,21 @@ } } }, + "AzureMariaDBSource": { + "description": "A copy activity Azure MariaDB source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySource" + } + ], + "properties": { + "query": { + "type": "object", + "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)." + } + } + }, "MarketoSource": { "description": "A copy activity Marketo server source.", "type": "object", From 8c300b278e03434f064174850837cb3f5206f3f0 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 16:25:21 +0800 Subject: [PATCH 392/495] nextLink in azsadmin (#6802) --- .../preview/2015-11-01/examples/Offer/MetricDefinitions.json | 2 +- .../preview/2015-11-01/examples/Offer/Metrics.json | 2 +- .../preview/2015-11-01/examples/Plan/MetricDefinitions.json | 2 +- .../preview/2015-11-01/examples/Plan/Metrics.json | 2 +- .../preview/2015-11-01/examples/Quota/Create.json | 2 +- .../preview/2015-11-01/examples/Quota/Delete.json | 2 +- .../preview/2016-05-01/examples/Operations/List.json | 2 +- .../preview/2016-05-01/examples/UpdateRuns/List.json | 2 +- .../preview/2016-05-01/examples/Updates/List.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json index 9e5552523ea0..e85135d52a37 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json @@ -10,7 +10,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json index 9e5552523ea0..e85135d52a37 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json @@ -10,7 +10,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json index 6f486f4b8db4..6b32010049c0 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json @@ -10,7 +10,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json index 6f486f4b8db4..6b32010049c0 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json @@ -10,7 +10,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json index 5fefc18a98e2..fa4994331375 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json @@ -13,7 +13,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json index 5fefc18a98e2..fa4994331375 100644 --- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json +++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json @@ -13,7 +13,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json index f8f3ccdbfe4e..65954c3bdefc 100644 --- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json +++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json @@ -13,7 +13,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json index d5a0041159a6..c03fc9682e69 100644 --- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json +++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json @@ -396,7 +396,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json index 838802a1697c..0b1c72764eeb 100644 --- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json +++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json @@ -32,7 +32,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From 53065970e5db2631f92b5845aaf4899791a7970e Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 19:01:56 +0800 Subject: [PATCH 393/495] fixed nextlink in azurebridge (#6806) --- .../preview/2016-01-01/examples/Operations/List.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json index 4b1fefacd40e..b6812d702a28 100644 --- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json +++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json @@ -7,7 +7,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } From d80bab693312b80a436b00dd12a6ecf0af7d6e2e Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 21:02:37 +0800 Subject: [PATCH 394/495] fixing subscription id issue (#6812) --- .../preview/2019-05-05-preview/AlertsManagement.json | 7 ++++--- .../stable/2019-06-01/SmartDetectorAlertRulesApi.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json index 5009c56a25a8..11df28bec57b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json @@ -922,10 +922,11 @@ "parameters": { "subscriptionId": { "name": "subscriptionId", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", - "type": "string", "in": "path", - "required": true + "required": true, + "type": "string", + "description": "The ID of the target subscription.", + "minLength": 1 }, "resourceGroupName": { "name": "resourceGroupName", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json index 0306e06fb2bc..45d3bcaa439b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json @@ -616,7 +616,8 @@ "in": "path", "required": true, "type": "string", - "description": "The Azure subscription id." + "description": "The ID of the target subscription.", + "minLength": 1 }, "ResourceGroupNameParameter": { "name": "resourceGroupName", From 1650794a6dffc301c359edf0bcefaf3b7d23fcf4 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 21:59:16 +0800 Subject: [PATCH 395/495] fixed next link in automation (#6807) --- .../2017-05-15-preview/examples/job/listJobStreamsByJob.json | 2 +- .../examples/job/listJobsByAutomationAccount.json | 2 +- .../getSourceControlSyncJobStreams.json | 2 +- .../stable/2015-10-31/examples/listTestJobStreamsByJob.json | 2 +- .../stable/2018-06-30/examples/listTestJobStreamsByJob.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json index 281c68d11d7e..4574ed145242 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json @@ -30,7 +30,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json index c38c2c6dc9fc..80a14e4270a8 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json @@ -46,7 +46,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json index 12b61964999f..8514c2796098 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json @@ -40,7 +40,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json index a1679b13a591..bf8805f16155 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json @@ -30,7 +30,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json index 255667e197e1..11f0b60454cc 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json @@ -30,7 +30,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From b9db5939135eeab1f4182e7967df4b3f3200a76e Mon Sep 17 00:00:00 2001 From: aim-for-better <1253936411@qq.com> Date: Wed, 31 Jul 2019 23:08:46 +0800 Subject: [PATCH 396/495] Problem: in previous pr #6665 we modify accessModes and applicationType to enum, this will bring breaking change in java sdk. Solution: remove the two enum, change it to string type (#6785) --- .../2015-03-01-preview/applications.json | 19 ++----------------- .../2018-06-01-preview/applications.json | 19 ++----------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index ac69b8a3180c..492ba977f0f7 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -233,14 +233,7 @@ "accessModes": { "type": "array", "items": { - "type": "string", - "enum": [ - "WebPage" - ], - "x-ms-enum": { - "name": "ApplicationHttpsEndpointAccessMode", - "modelAsString": true - } + "type": "string" }, "description": "The list of access modes for the application." }, @@ -331,15 +324,7 @@ }, "applicationType": { "type": "string", - "description": "The application type.", - "enum": [ - "CustomApplication", - "RServer" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - } + "description": "The application type." }, "applicationState": { "readOnly": true, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json index 6502e32ef264..979c1460aff0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json @@ -233,14 +233,7 @@ "accessModes": { "type": "array", "items": { - "type": "string", - "enum": [ - "WebPage" - ], - "x-ms-enum": { - "name": "ApplicationHttpsEndpointAccessMode", - "modelAsString": true - } + "type": "string" }, "description": "The list of access modes for the application." }, @@ -331,15 +324,7 @@ }, "applicationType": { "type": "string", - "description": "The application type.", - "enum": [ - "CustomApplication", - "RServer" - ], - "x-ms-enum": { - "name": "ApplicationType", - "modelAsString": true - } + "description": "The application type." }, "applicationState": { "readOnly": true, From 00a95dde6abd4ee5079a43d77d5e682075064059 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 23:12:52 +0800 Subject: [PATCH 397/495] fixed next-link in migrateprojects (#6799) --- .../preview/2018-09-01-preview/examples/Solutions_List.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json index 58bb81f403be..124ec7d1a421 100644 --- a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json +++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json @@ -64,7 +64,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From e6e65c3a4c630a116eb0f3eaf9b9133f62d16e03 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 31 Jul 2019 23:19:18 +0800 Subject: [PATCH 398/495] fixed next link in infrastructureinsights (#6804) --- .../preview/2016-05-01/examples/Alert/List.json | 2 +- .../preview/2016-05-01/examples/Operations/List.json | 2 +- .../preview/2016-05-01/examples/RegionHealth/List.json | 2 +- .../preview/2016-05-01/examples/ResourceHealth/List.json | 2 +- .../preview/2016-05-01/examples/ServiceHealth/List.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json index da2a5dda47b4..cf5e82c3547b 100644 --- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json +++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json @@ -128,7 +128,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json index 25fbf1a280c8..4a688f8f5c81 100644 --- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json +++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json @@ -14,7 +14,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json index c6950f8f3b70..69fca95d5472 100644 --- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json +++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json @@ -69,7 +69,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json index 600e5ac5ebfb..92e38715df13 100644 --- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json +++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json @@ -899,7 +899,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json index 386e7b338000..4c7d777c26ea 100644 --- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json +++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json @@ -150,7 +150,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From d8e61eccaaa0f9ddeb95dfed0a6dcebe06dbbc3b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 12:14:40 -0400 Subject: [PATCH 399/495] fix: network model validation errors (#6750) - Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE errors - Remove responses for 202s with no schema defined for RESPONSE_SCHEMA_NOT_IN_SPEC errrors - The OBJECT_ADDITIONAL_PROPERTIES are not addressed - "Thumbprint" -> "thumbprint" --- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 108 +++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-04-01/examples/VpnConnectionPut.json | 68 ++-- .../2018-04-01/examples/VpnGatewayPut.json | 152 ++++----- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 108 +++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-06-01/examples/VpnConnectionPut.json | 68 ++-- .../2018-06-01/examples/VpnGatewayPut.json | 152 ++++----- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 108 +++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-07-01/examples/VpnConnectionPut.json | 68 ++-- .../2018-07-01/examples/VpnGatewayPut.json | 152 ++++----- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2018-08-01/examples/P2SVpnGatewayPut.json | 100 +++--- .../examples/P2SVpnGatewayUpdateTags.json | 124 ++++---- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 292 +++++++++--------- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-08-01/examples/VpnConnectionPut.json | 72 +++-- .../2018-08-01/examples/VpnGatewayPut.json | 136 ++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2018-10-01/examples/P2SVpnGatewayPut.json | 100 +++--- .../examples/P2SVpnGatewayUpdateTags.json | 124 ++++---- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 292 +++++++++--------- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-10-01/examples/VpnConnectionPut.json | 72 +++-- .../2018-10-01/examples/VpnGatewayPut.json | 136 ++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2018-11-01/examples/P2SVpnGatewayPut.json | 100 +++--- .../examples/P2SVpnGatewayUpdateTags.json | 124 ++++---- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 292 +++++++++--------- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-11-01/examples/VpnConnectionPut.json | 72 +++-- .../2018-11-01/examples/VpnGatewayPut.json | 136 ++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2018-12-01/examples/P2SVpnGatewayPut.json | 100 +++--- .../examples/P2SVpnGatewayUpdateTags.json | 124 ++++---- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 292 +++++++++--------- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2018-12-01/examples/VpnConnectionPut.json | 72 +++-- .../2018-12-01/examples/VpnGatewayPut.json | 136 ++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 16 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 62 ++-- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2019-02-01/examples/P2SVpnGatewayPut.json | 120 +++---- .../examples/P2SVpnGatewayUpdateTags.json | 144 ++++----- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 292 +++++++++--------- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2019-02-01/examples/VpnConnectionPut.json | 76 ++--- .../2019-02-01/examples/VpnGatewayPut.json | 140 +++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- .../ExpressRouteCircuitARPTableList.json | 29 +- .../ExpressRouteCircuitAuthorizationGet.json | 20 +- .../ExpressRouteCircuitAuthorizationList.json | 24 +- ...xpressRouteCircuitListByResourceGroup.json | 150 ++++----- ...ExpressRouteCircuitListBySubscription.json | 150 ++++----- .../ExpressRouteCircuitPeeringGet.json | 72 ++--- .../ExpressRouteCircuitPeeringList.json | 126 ++++---- .../ExpressRouteCircuitPeeringStats.json | 10 +- .../ExpressRouteCircuitRouteTableList.json | 32 +- ...ressRouteCircuitRouteTableSummaryList.json | 32 +- .../examples/ExpressRouteCircuitStats.json | 10 +- .../examples/ExpressRouteProviderList.json | 96 +++--- .../2019-04-01/examples/P2SVpnGatewayPut.json | 120 +++---- .../examples/P2SVpnGatewayUpdateTags.json | 144 ++++----- .../P2SVpnServerConfigurationGet.json | 146 ++++----- .../P2SVpnServerConfigurationList.json | 4 +- .../P2SVpnServerConfigurationPut.json | 148 ++++----- ...orkGatewayGetVpnClientIpsecParameters.json | 18 +- .../2019-04-01/examples/VpnConnectionPut.json | 80 ++--- .../2019-04-01/examples/VpnGatewayPut.json | 140 +++++---- .../examples/VpnGatewayUpdateTags.json | 164 +++++----- 174 files changed, 7128 insertions(+), 6963 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json index 6e1e0f530837..be5f8db38bc5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json index 660dda304253..b3176e46fce4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json index 0426f5e42033..b7f792ae9b23 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json index aa374ab9483f..8c71ab2c1ca8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json index 55ba0df65341..55b4f90371d0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json index 339fe6ed5861..407ea13a6283 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json index fb5a1c357318..31c34ce6a1a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,71 +7,73 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer" + } } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer" - } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json index ed94e652dcae..67674f05dba9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json index 41b0795242c7..cb014ddb2a6b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 9fdaa612a7a3..3fbd7f1c4e34 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json index 75b0b3f7ec31..9bfc54b6cd0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json index 16be8dcf4ad0..bfe9b459db42 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index 7b141ad07272..35b33df3a8eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json index d458ac071392..ce852f61d159 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json @@ -16,41 +16,45 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json index 2880ac08c32a..e28e7afbcf5b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json @@ -38,88 +38,92 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json index 489fea180f6e..d09eb878fd73 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json index 2ce06074d41e..b03c36fc0a21 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json index 4a18df9252ba..07632633eb59 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json index a77e32369640..efc0ca1a1a3b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json index bc29908ac95e..b3a1126e5a9a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json index 4b274c565730..f61aaa62ac17 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json index 4c92f35faee3..3a23123356b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json index 89b9b5cb1f41..a77e6d80c50d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,71 +7,73 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer" + } } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer" - } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json index a84a8b4c314f..f0b8bfd2a118 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json index 5d79a861972a..68250fddaa45 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index ce3efb7c583b..4361169ea005 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json index 180ba481b9df..1e7519f21341 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json index 78a950995407..590d9caca3b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index a96c52445e82..bc6333e0ee1a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json index 35eccf253b3d..1112ddf1de61 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json @@ -16,41 +16,45 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json index e2c2b2f9e898..c3e3d013152a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json @@ -38,88 +38,92 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json index f385baa787ff..22265072adc5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json index c845959b1e6f..71638c1f6655 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json index 1d1eb52dd830..15db5aed4ca0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json index 3cdcfdf5d9e3..f096f47daa2f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json index 6b979154ee4c..3fa88916d5ec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json index 73a7680c03ee..eb228491c1af 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json index 995c6661e833..bf9d13222656 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json index e2d946362923..080611c43d58 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,71 +7,73 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer" + } } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer" - } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json index 1c7a26eb2ba1..15c26dd3307a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json index 46eee8cb1a8d..9a95c9d5fd12 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 4bb025467f83..67d32a75657c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json index 284dc31ce0de..74a589a1e552 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json index 5131eeb15a0f..290635ed8fd4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index 6846c5e322d6..526138e911f8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json index 4ac5b0c3a504..726c338c32a4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json @@ -16,41 +16,45 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json index b263fe67aa99..fc277fb78643 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json @@ -38,88 +38,92 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json index 3cd2a4b3450e..a2782c60f8f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json index fe64e8eebec9..96c5068dce47 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json index 6e8a41df56a8..2cc19ec41187 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json index d084ec9a25a8..05242f69ec97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json index cd5cb411ad89..9e83fe16797b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json index 6da0614364e7..2b6f444b0aec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json index 625af96a8057..6e9a55856b9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json index 1f5e75f346fa..3b68dc449c2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json index 01f486c94855..08eebc22167b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json index a212788a273d..20055db12c60 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 8dc4541403b1..5de3961d1ec6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json index 486e0afc387d..e951f6a2d08a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json index 0bcb53ada78e..448aad86176c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json index 06077555effb..5be0571a7d7e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json @@ -27,58 +27,62 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json index 6a5f2aa2b129..5ee53275e0c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,72 +13,76 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json index 0bfbfdf3c86a..ce7eee0b8415 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json index ddb5130d3251..0e13b0a7a3d8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json index 15c70ecdc82b..26081aadc449 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json @@ -61,152 +61,156 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index eaba28e14dac..9d1653391bcc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json index 76876a71ecc4..5fd2c849b855 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json @@ -17,43 +17,47 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json index 44d10551772e..590244612392 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json @@ -34,80 +34,84 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json index f3dc8ed669e9..dee1ce79071e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json index 3404123c3433..0aa033f64326 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json index a10b2c388ea0..73fddb19d033 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json index 1314f8d1f215..d79ea1a1492d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json index 68868c392e3b..3a7e16629046 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json index f9bd8e86f338..8326c3d1962b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json index 1c7324c3f28b..9f486f17767a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json index 47096ca49237..e1b772048f19 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json index 629ae740860c..1524985eac94 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json index c90403d492c2..44d4a20232c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 06f51ddd12f6..b4460c23f1cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json index 82f4a7aecf76..18cc954e4e5f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json index f0b64c2d5cd0..6a166be62dcb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json index 2ca73cc509f6..d42302223cd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json @@ -27,58 +27,62 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json index ac19739817ce..86c96108bab4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,72 +13,76 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json index bfa3f5f06a80..6feb20916530 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json index 4f59a358d70a..d6082445ff1b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json index 3954023d780a..3c596dd9a790 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json @@ -61,152 +61,156 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index abc07e94dbd2..9369a00e2825 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json index 663237c06793..86c04a780a60 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json @@ -17,43 +17,47 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json index 39925b5da83e..a2c5239a9199 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json @@ -34,80 +34,84 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json index ba52c27cac48..8e027e52c697 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json index bbd4fbc18456..438a338b2688 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json index 73fe3020cd37..0d0457d5cd4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json index 21da73b3ce53..c2fb553985c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json index 0b308c40bab2..8ccd252c6614 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json index 8e7d4c91d1c8..9159d50fb941 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json index cb756c11576f..44a83f166f27 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json index a5bc2f0c3f7c..f5f9bc9fea28 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json index c74d67f1cb09..64dbb70f39a1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json index 097ce215074e..f75ff4c7d14f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 7ca22e59960f..a8d767b521c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json index ac10fb2f461b..5c329e7cef31 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json index 838ba1e94aa4..78dea070f6e9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json index ade17fa4334f..4b15585b32f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json @@ -27,58 +27,62 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json index 9001e7514aa8..d83d5a3eedc3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,72 +13,76 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json index 4a76d54291e8..92d3e2d3f17d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json index f8aa6945abb4..af38acb7b7eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json index e8a463356438..6989c49e29a6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json @@ -61,152 +61,156 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index 8ac6ae0713ec..1d1e51d2018e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json index bb7f513e71bd..3da50526f384 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json @@ -17,43 +17,47 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json index b1e67394ceaf..b27b8a780e16 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json @@ -34,80 +34,84 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json index 6fcf4c7cb9a9..157c8cd3036d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json index ed91df72b5c8..be92cceb4595 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json index e74f12dc53bb..17b92c9d93c6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json index 3310a851af51..b06bcfcd5d25 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json index beca1fe928a5..3eb0f3648c0a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json index d7f8bb1850c9..9f41d9282090 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json index 2e8e1552efcd..040b2b4ddf09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json index 805a7647bf2e..a4be14a9bf26 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json index e1400af4d1e6..b6125f677328 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json index 1ac2944887eb..036eedfa768d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 31c984ae6fc5..b253d525e96f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json index 13835b530995..6e8223c1165f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json index 79e5131a0449..208ed87427da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json index 0feceb782f13..851dfe9762db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json @@ -27,58 +27,62 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json index c736117b89bf..721ae5462afc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,72 +13,76 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json index 4d22e7ae80f4..00879f31ebff 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json index 4d52a00403f5..f1cee23330cf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json index 8dcd53d6dfd8..d9a33ccd9056 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json @@ -61,152 +61,156 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index c6ed5fa90daa..23d3e6d8aab5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json index 117c296741b5..54bdba9318a9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json @@ -17,43 +17,47 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json index cfe3040cbb8c..bcd2a131fb40 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json @@ -34,80 +34,84 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json index 3aa42938b823..091a64894ac3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json index 919aaa250e79..bde170a71a05 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json index fb3282cff7c9..98175436b9e0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,13 +8,15 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json index 990b66a03767..e4a9943f4a7b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json index e29f9b36fbd7..2f116aded120 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json index e95ef64a2582..75d8e928aa1f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json index 4557349da6a0..045b198df558 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,45 +8,47 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json index dfae42d51969..c04f5b665a94 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json index 9f2b0bc389fe..4e9015cc89d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json index 238cdd9da317..e04334b76947 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 006f42a8800b..320c93df7a99 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json index e476dcf3b51e..76e99f1f3a0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json index 316eef5a309e..8db34b616b63 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json index 0cf6db19e4a8..718eb2c36f87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json @@ -32,68 +32,72 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json index c954562108ae..a6a3b379a9b8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,82 +13,86 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json index ee2e1c1ca573..a3e4553b4175 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json index e58e1f62744d..e3212e948af1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json index 19dcf65db7bb..80ac4e0d95cd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json @@ -61,152 +61,156 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index c8f224eed580..12086572b5b9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json index 1fd2d8545759..5d8a1c43fdf3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json @@ -17,45 +17,49 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json index 26cdd63dfd82..36fb11faa3ea 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json @@ -34,82 +34,86 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json index 7744e0f84bb0..1e86c59d6e04 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json index e5452435f387..94a19728ec37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json @@ -9,24 +9,17 @@ }, "responses": { "200": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } }, - "202": { - "value": [ - { - "age": 0, - "interface": "Microsoft", - "ipAddress": "IPAddress", - "macAddress": "macAddress" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json index 73153e99471f..cb577c79d3c0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -8,15 +8,17 @@ }, "responses": { "200": { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" - }, - "type": "Microsoft.Network/expressRouteCircuits/authorizations" + "body": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + }, + "type": "Microsoft.Network/expressRouteCircuits/authorizations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json index 560ef0033ebc..cfad7a041878 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json index 2c3adaeee700..ff01e4edbca5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json index ba37e31050be..5bcabb57a13b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json @@ -5,86 +5,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "circuitName1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + "body": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "113", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - }, - { - "name": "circuitName2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings": [], - "authorizations": [ - { - "name": "MyAuthorization2", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authkey", - "authorizationUseStatus": "Available" + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } } - } - ], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" }, - "circuitProvisioningState": "Enabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "", - "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState": "NotProvisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json index e45f22b4799e..57dbafe2a051 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json @@ -8,52 +8,54 @@ }, "responses": { "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "routeFilter": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" } }, - "routeFilter": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" - } - }, - "type": "Microsoft.Network/expressRouteCircuits/peerings" + "type": "Microsoft.Network/expressRouteCircuits/peerings" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json index 153e9069be3b..71f82bec3fa2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json @@ -7,80 +7,82 @@ }, "responses": { "200": { - "value": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", "microsoftPeeringConfig": { "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" + "123.1.0.0/24" ], "advertisedCommunities": [], "advertisedPublicPrefixesState": "ValidationNeeded", "customerASN": 23, "legacyMode": 0, "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteConnection": "" + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } - }, - "expressRouteConnection": "" - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 200, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled" - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json index d542125582a7..6505b9dbf304 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json @@ -8,10 +8,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json index 05536fd8b56d..f4de8eb03df1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] + "body": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } }, - "202": { - "value": [ - { - "network": "", - "nextHop": "", - "locPrf": "", - "weight": 0, - "path": "" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index 80b8c5be877c..a88eef1993f7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -9,26 +9,18 @@ }, "responses": { "200": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] + "body": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } }, - "202": { - "value": [ - { - "neighbor": "100.65.171.1", - "v": 4, - "as": 9583, - "upDown": "never", - "statePfxRcd": "Idle" - } - ] - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json index 8d85afba1c00..d22100de1dc2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json @@ -7,10 +7,12 @@ }, "responses": { "200": { - "primaryBytesIn": 537408, - "primaryBytesOut": 44032550, - "secondaryBytesIn": 0, - "secondaryBytesOut": 39002500 + "body": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json index 6829d51b3d5a..c94b1263f5b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json @@ -5,54 +5,56 @@ }, "responses": { "200": { - "value": [ - { - "name": "providerName", - "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", - "type": "Microsoft.Network/expressRouteServiceProviders", - "properties": { - "provisioningState": "Succeeded", - "peeringLocations": [ - "peeringLocation1", - "peeringLocation2" - ], - "bandwidthsOffered": [ - { - "offerName": "50Mbps", - "valueInMbps": 50 - }, - { - "offerName": "100Mbps", - "valueInMbps": 100 - }, - { - "offerName": "200Mbps", - "valueInMbps": 200 - }, - { - "offerName": "500Mbps", - "valueInMbps": 500 - }, - { - "offerName": "1Gbps", - "valueInMbps": 1000 - }, - { - "offerName": "2Gbps", - "valueInMbps": 2000 - }, - { - "offerName": "5Gbps", - "valueInMbps": 5000 - }, - { - "offerName": "10Gbps", - "valueInMbps": 10000 - } - ] + "body": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } } - } - ] + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json index 362f45c9a5dc..fb535c02f2a7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json @@ -32,68 +32,72 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] - }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 0, - "allocatedIpAddresses": [], - "totalIngressBytesTransferred": 0, - "totalEgressBytesTransferred": 0 + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 0, + "allocatedIpAddresses": [], + "totalIngressBytesTransferred": 0, + "totalEgressBytesTransferred": 0 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json index 53e12737cb5c..4bfde6e0358c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json @@ -13,82 +13,86 @@ }, "responses": { "200": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } }, "201": { - "name": "p2sVpnGateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/p2sVpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "p2SVpnServerConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" - }, - "vpnClientAddressPool": { - "addressPrefixes": [ - "101.3.0.0/16" - ] - }, - "customRoutes": { - "addressPrefixes": [ - "101.168.0.6/32" - ] + "body": { + "name": "p2sVpnGateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/p2sVpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "vpnGatewayScaleUnit": 1, - "vpnClientConnectionHealth": { - "vpnClientConnectionsCount": 2, - "allocatedIpAddresses": [ - "1.1.1.1", - "2.2.2.2" - ], - "totalIngressBytesTransferred": 2000, - "totalEgressBytesTransferred": 3000 + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "p2SVpnServerConfiguration": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "vpnGatewayScaleUnit": 1, + "vpnClientConnectionHealth": { + "vpnClientConnectionsCount": 2, + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalIngressBytesTransferred": 2000, + "totalEgressBytesTransferred": 3000 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json index 2691ff6d53eb..892df12430ef 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json @@ -8,78 +8,80 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "p2SVpnServerConfigVpnClientRootCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" - } - ], - "p2SVpnServerConfigVpnClientRevokedCertificates": [ - { - "name": "p2sVpnServerConfigVpnClientRevokedCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCer1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ], - "p2SVpnServerConfigRadiusClientRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusClientRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "p2SVpnServerConfigVpnClientRootCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates" + } + ], + "p2SVpnServerConfigVpnClientRevokedCertificates": [ + { + "name": "p2sVpnServerConfigVpnClientRevokedCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCer1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ], + "p2SVpnServerConfigRadiusClientRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusClientRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json index 75c5080fe34e..f976288e9f0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json @@ -48,7 +48,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates" } @@ -74,7 +74,7 @@ "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "properties": { "provisioningState": "Succeeded", - "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" }, "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json index 51d8ca4af9c1..97c8c6472bb4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json @@ -37,80 +37,84 @@ }, "responses": { "200": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } }, "201": { - "name": "p2sVpnServerConfiguration1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "vpnProtocols": [ - "IkeV2" - ], - "vpnClientIpsecPolicies": [ - { - "saLifeTimeSeconds": 86472, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup14", - "pfsGroup": "PFS14" - } - ], - "radiusServerAddress": "8.9.9.9", - "radiusServerSecret": "123_abc", - "p2SVpnServerConfigRadiusServerRootCertificates": [ - { - "name": "p2sVpnServerConfigRadiusServerRootCert1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" - } - ] - }, - "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + "body": { + "name": "p2sVpnServerConfiguration1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "vpnProtocols": [ + "IkeV2" + ], + "vpnClientIpsecPolicies": [ + { + "saLifeTimeSeconds": 86472, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup14", + "pfsGroup": "PFS14" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerSecret": "123_abc", + "p2SVpnServerConfigRadiusServerRootCertificates": [ + { + "name": "p2sVpnServerConfigRadiusServerRootCert1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates" + } + ] + }, + "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json index cf39d8aaa5bb..68f9e9325007 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -7,14 +7,16 @@ }, "responses": { "200": { - "saLifeTimeSeconds": 86473, - "saDataSizeKilobytes": 429497, - "ipsecEncryption": "AES256", - "ipsecIntegrity": "SHA256", - "ikeEncryption": "AES256", - "ikeIntegrity": "SHA384", - "dhGroup": "DHGroup2", - "pfsGroup": "PFS2" + "body": { + "saLifeTimeSeconds": 86473, + "saDataSizeKilobytes": 429497, + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "dhGroup": "DHGroup2", + "pfsGroup": "PFS2" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json index 1fcf79f8234c..7584f68bfa32 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json @@ -17,47 +17,51 @@ }, "responses": { "200": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } }, "201": { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "vpnConnectionProtocolType": "IKEv1", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "usePolicyBasedTrafficSelectors": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "vpnConnectionProtocolType": "IKEv1", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "usePolicyBasedTrafficSelectors": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json index 997bced17a2b..99096556f03e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json @@ -34,82 +34,86 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" - }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidth": 100, - "sharedKey": "key", - "enableBgp": false, - "useLocalAzureIpAddress": false, - "ipsecPolicies": [] + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidth": 100, + "sharedKey": "key", + "enableBgp": false, + "useLocalAzureIpAddress": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json index 8ac4a427e4d7..b7cee97a4e95 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json @@ -13,96 +13,100 @@ }, "responses": { "200": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } }, "201": { - "name": "gateway1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "type": "Microsoft.Network/vpnGateways", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + "body": { + "name": "gateway1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "type": "Microsoft.Network/vpnGateways", + "tags": { + "key1": "value1", + "key2": "value2" }, - "connections": [ - { - "name": "vpnConnection1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "properties": { - "provisioningState": "Succeeded", - "remoteVpnSite": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" - }, - "connectionStatus": "Connected", - "ingressBytesTransferred": 0, - "egressBytesTransferred": 0, - "routingWeight": 0, - "connectionBandwidthInMbps": 100, - "sharedKey": "key", - "enableBgp": false, - "ipsecPolicies": [] + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "connections": [ + { + "name": "vpnConnection1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "connectionStatus": "Connected", + "ingressBytesTransferred": 0, + "egressBytesTransferred": 0, + "routingWeight": 0, + "connectionBandwidthInMbps": 100, + "sharedKey": "key", + "enableBgp": false, + "ipsecPolicies": [] + } } + ], + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "policies": { + "allowBranchToBranchTraffic": true, + "allowVnetToVnetTraffic": false } - ], - "bgpSettings": { - "asn": 65515, - "bgpPeeringAddress": "10.0.1.30", - "peerWeight": 0 - }, - "policies": { - "allowBranchToBranchTraffic": true, - "allowVnetToVnetTraffic": false } } } From ceddf4a26175fb9aae9bd9d2b4d3782d73088813 Mon Sep 17 00:00:00 2001 From: Xing Wu Date: Wed, 31 Jul 2019 15:37:43 -0700 Subject: [PATCH 400/495] [Batch] new data plane and mangement plane version 2019-08-01 (#6723) * Use previous swagger as base * Add new API version 2019-08-01 --- .../stable/2019-08-01.10.0/BatchService.json | 16532 ++++++++++++++++ .../examples/AccountListPoolNodeCounts.json | 121 + .../examples/AccountListSupportedImages.json | 76 + .../examples/ApplicationGet.json | 20 + .../examples/ApplicationList.json | 23 + .../examples/CertificateAdd.json | 19 + .../examples/CertificateCancelDelete.json | 14 + .../examples/CertificateDelete.json | 14 + .../examples/CertificateGet.json | 34 + .../examples/CertificateList.json | 36 + .../examples/FileDeleteFromNode.json | 16 + .../examples/FileDeleteFromTask.json | 16 + .../examples/FileGetFromNode.json | 21 + .../examples/FileGetFromTask.json | 21 + .../examples/FileGetPropertiesFromNode.json | 20 + .../examples/FileGetPropertiesFromTask.json | 20 + .../examples/FileListFromNode.json | 46 + .../examples/FileListFromTask.json | 41 + .../examples/JobAdd_Basic.json | 19 + .../examples/JobAdd_Complex.json | 121 + .../2019-08-01.10.0/examples/JobDelete.json | 13 + .../2019-08-01.10.0/examples/JobDisable.json | 16 + .../2019-08-01.10.0/examples/JobEnable.json | 13 + .../2019-08-01.10.0/examples/JobGet.json | 41 + .../examples/JobGetLifetimeStatistics.json | 28 + .../examples/JobGetTaskCounts.json | 20 + .../2019-08-01.10.0/examples/JobList.json | 42 + .../examples/JobListFromJobSchedule.json | 43 + ...obListPreparationAndReleaseTaskStatus.json | 40 + .../2019-08-01.10.0/examples/JobPatch.json | 23 + .../examples/JobScheduleAdd_Basic.json | 23 + .../examples/JobScheduleAdd_Complex.json | 129 + .../examples/JobScheduleDelete.json | 13 + .../examples/JobScheduleDisable.json | 13 + .../examples/JobScheduleEnable.json | 13 + .../examples/JobScheduleExists.json | 15 + .../examples/JobScheduleGet.json | 44 + .../examples/JobScheduleList.json | 74 + .../examples/JobSchedulePatch.json | 29 + .../examples/JobScheduleTerminate.json | 13 + .../examples/JobScheduleUpdate.json | 29 + .../examples/JobTerminate.json | 16 + .../2019-08-01.10.0/examples/JobUpdate.json | 23 + .../2019-08-01.10.0/examples/NodeAddUser.json | 20 + .../examples/NodeDeleteUser.json | 15 + .../examples/NodeDisableScheduling.json | 17 + .../examples/NodeEnableScheduling.json | 14 + .../examples/NodeGetRemoteDesktop.json | 15 + .../examples/NodeGetRemoteLoginSettings.json | 18 + .../examples/NodeGet_Basic.json | 52 + .../2019-08-01.10.0/examples/NodeList.json | 131 + .../2019-08-01.10.0/examples/NodeReboot.json | 17 + .../2019-08-01.10.0/examples/NodeReimage.json | 17 + .../examples/NodeUpdateUser.json | 19 + .../examples/NodeUploadBatchServiceLogs.json | 22 + .../PoolAdd_CloudServiceConfiguration.json | 35 + .../examples/PoolAdd_MountConfiguration.json | 68 + .../PoolAdd_VirtualMachineConfiguration.json | 40 + ...ualMachineConfigurationWithContainers.json | 41 + .../2019-08-01.10.0/examples/PoolDelete.json | 13 + .../examples/PoolDisableAutoScale.json | 13 + .../examples/PoolEnableAutoscale.json | 17 + .../examples/PoolEvaluateAutoscale.json | 20 + .../2019-08-01.10.0/examples/PoolExists.json | 15 + .../examples/PoolGetLifetimeStatistics.json | 37 + .../examples/PoolGet_Basic.json | 56 + .../examples/PoolListUsageMetrics.json | 30 + .../examples/PoolList_Basic.json | 54 + .../2019-08-01.10.0/examples/PoolPatch.json | 18 + .../examples/PoolRemoveNodes.json | 19 + .../2019-08-01.10.0/examples/PoolResize.json | 17 + .../examples/PoolStopResize.json | 13 + .../2019-08-01.10.0/examples/PoolUpdate.json | 21 + .../examples/TaskAddCollection_Basic.json | 43 + .../examples/TaskAddCollection_Complex.json | 77 + .../examples/TaskAdd_Basic.json | 17 + .../examples/TaskAdd_ContainerSettings.json | 27 + .../examples/TaskAdd_ExitConditions.json | 34 + .../2019-08-01.10.0/examples/TaskDelete.json | 14 + .../2019-08-01.10.0/examples/TaskGet.json | 43 + .../2019-08-01.10.0/examples/TaskList.json | 67 + .../examples/TaskListSubtasks.json | 50 + .../examples/TaskReactivate.json | 14 + .../examples/TaskTerminate.json | 14 + .../2019-08-01.10.0/examples/TaskUpdate.json | 21 + specification/batch/data-plane/readme.go.md | 10 + specification/batch/data-plane/readme.md | 11 +- .../batch/data-plane/readme.nodejs.md | 1 + .../batch/data-plane/readme.typescript.md | 1 + .../stable/2019-08-01/BatchManagement.json | 4391 ++++ .../examples/ApplicationCreate.json | 32 + .../examples/ApplicationDelete.json | 13 + .../2019-08-01/examples/ApplicationGet.json | 26 + .../2019-08-01/examples/ApplicationList.json | 37 + .../examples/ApplicationPackageActivate.json | 31 + .../examples/ApplicationPackageCreate.json | 28 + .../examples/ApplicationPackageDelete.json | 14 + .../examples/ApplicationPackageGet.json | 28 + .../examples/ApplicationPackageList.json | 37 + .../examples/ApplicationUpdate.json | 34 + .../examples/BatchAccountCreate_BYOS.json | 49 + .../examples/BatchAccountCreate_Default.json | 40 + .../examples/BatchAccountDelete.json | 13 + .../2019-08-01/examples/BatchAccountGet.json | 31 + .../examples/BatchAccountGetKeys.json | 17 + .../2019-08-01/examples/BatchAccountList.json | 33 + .../BatchAccountListByResourceGroup.json | 34 + .../examples/BatchAccountRegenerateKey.json | 20 + ...atchAccountSynchronizeAutoStorageKeys.json | 11 + .../examples/BatchAccountUpdate.json | 38 + .../examples/CertificateCancelDeletion.json | 32 + .../examples/CertificateCreate_Full.json | 39 + .../examples/CertificateCreate_Minimal.json | 36 + .../CertificateCreate_MinimalCer.json | 36 + .../examples/CertificateDelete.json | 19 + .../2019-08-01/examples/CertificateGet.json | 30 + .../CertificateGetWithDeletionError.json | 43 + .../2019-08-01/examples/CertificateList.json | 32 + .../examples/CertificateListWithFilter.json | 38 + .../examples/CertificateUpdate.json | 36 + ...onCheckNameAvailability_AlreadyExists.json | 20 + ...cationCheckNameAvailability_Available.json | 18 + .../examples/LocationGetQuotas.json | 14 + .../examples/PoolCreate_CustomImage.json | 65 + .../examples/PoolCreate_FullExample.json | 279 + ...eate_MinimalCloudServiceConfiguration.json | 72 + ...te_MinimalVirtualMachineConfiguration.json | 77 + .../examples/PoolCreate_PublicIPs.json | 75 + ...oolCreate_VirtualMachineConfiguration.json | 177 + .../2019-08-01/examples/PoolDelete.json | 19 + .../examples/PoolDisableAutoScale.json | 56 + .../stable/2019-08-01/examples/PoolGet.json | 155 + .../stable/2019-08-01/examples/PoolList.json | 161 + .../examples/PoolListWithFilter.json | 44 + .../2019-08-01/examples/PoolStopResize.json | 62 + .../examples/PoolUpdate_EnableAutoScale.json | 69 + .../examples/PoolUpdate_OtherProperties.json | 115 + .../examples/PoolUpdate_RemoveStartTask.json | 65 + .../examples/PoolUpdate_ResizePool.json | 74 + .../batch/resource-manager/readme.go.md | 10 + .../batch/resource-manager/readme.md | 11 +- 141 files changed, 26205 insertions(+), 2 deletions(-) create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json create mode 100644 specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationCreate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationDelete.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationGet.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationList.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageActivate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageCreate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageDelete.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageGet.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageList.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationUpdate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_BYOS.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_Default.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountDelete.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGet.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGetKeys.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountList.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountListByResourceGroup.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountRegenerateKey.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountSynchronizeAutoStorageKeys.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountUpdate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCancelDeletion.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Full.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Minimal.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_MinimalCer.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateDelete.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGet.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGetWithDeletionError.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateList.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateListWithFilter.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateUpdate.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_AlreadyExists.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_Available.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationGetQuotas.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_CustomImage.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_FullExample.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_PublicIPs.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_VirtualMachineConfiguration.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDelete.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDisableAutoScale.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolGet.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolList.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolListWithFilter.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolStopResize.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_EnableAutoScale.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_OtherProperties.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_RemoveStartTask.json create mode 100644 specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_ResizePool.json diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json new file mode 100644 index 000000000000..de6c39f65e3f --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json @@ -0,0 +1,16532 @@ +{ + "swagger": "2.0", + "info": { + "title": "BatchService", + "version": "2019-08-01.10.0", + "description": "A client for issuing REST requests to the Azure Batch service.", + "x-ms-code-generation-settings": { + "name": "BatchServiceClient" + } + }, + "x-ms-parameterized-host": { + "hostTemplate": "{batchUrl}", + "useSchemePrefix": false, + "parameters": [ + { + "$ref": "#/parameters/batchUrl" + } + ] + }, + "schemes": [ + "https" + ], + "consumes": [ + "application/json; odata=minimalmetadata" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + }, + { + "api_key": [] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + }, + "api_key": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "paths": { + "/applications": { + "get": { + "tags": [ + "Applications" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Application_List", + "x-ms-examples": { + "List applications": { + "$ref": "./examples/ApplicationList.json" + } + }, + "summary": "Lists all of the applications available in the specified Account.", + "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 applications can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of applications.", + "schema": { + "$ref": "#/definitions/ApplicationListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/applications/{applicationId}": { + "get": { + "tags": [ + "Applications" + ], + "operationId": "Application_Get", + "x-ms-examples": { + "Get applications": { + "$ref": "./examples/ApplicationGet.json" + } + }, + "summary": "Gets information about the specified Application.", + "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Application." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the application.", + "schema": { + "$ref": "#/definitions/ApplicationSummary" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/poolusagemetrics": { + "get": { + "tags": [ + "Pools" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Pool_ListUsageMetrics", + "x-ms-examples": { + "Pool list usage metrics": { + "$ref": "./examples/PoolListUsageMetrics.json" + } + }, + "summary": "Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.", + "description": "If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "starttime", + "x-ms-client-name": "startTime", + "in": "query", + "required": false, + "type": "string", + "format": "date-time", + "description": "The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "endtime", + "x-ms-client-name": "endTime", + "in": "query", + "required": false, + "type": "string", + "format": "date-time", + "description": "The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 results will be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Pool usage details.", + "schema": { + "$ref": "#/definitions/PoolListUsageMetricsResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/supportedimages": { + "get": { + "tags": [ + "Accounts" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Account_ListSupportedImages", + "x-ms-examples": { + "Account list node agent skus": { + "$ref": "./examples/AccountListSupportedImages.json" + } + }, + "summary": "Lists all Virtual Machine Images supported by the Azure Batch service.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 results will be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of supported Virtual Machine Images.", + "schema": { + "$ref": "#/definitions/AccountListSupportedImagesResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/nodecounts": { + "get": { + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "tags": [ + "Accounts" + ], + "operationId": "Account_ListPoolNodeCounts", + "description": "Gets the number of Compute Nodes in each state, grouped by Pool.", + "x-ms-examples": { + "NodeCountsPayload": { + "$ref": "./examples/AccountListPoolNodeCounts.json" + } + }, + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 10, + "minimum": 1, + "maximum": 10, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + } + }, + "description": "The response contains the number of Compute Nodes in each Compute Node state, grouped by Pool.", + "schema": { + "$ref": "#/definitions/PoolNodeCountsListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/lifetimepoolstats": { + "get": { + "tags": [ + "Pools" + ], + "operationId": "Pool_GetAllLifetimeStatistics", + "x-ms-examples": { + "Pool get lifetime statistics": { + "$ref": "./examples/PoolGetLifetimeStatistics.json" + } + }, + "summary": "Gets lifetime summary statistics for all of the Pools in the specified Account.", + "description": "Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Pool statistics for the lifetime of the Batch Account.", + "schema": { + "$ref": "#/definitions/PoolStatistics" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/lifetimejobstats": { + "get": { + "tags": [ + "Jobs" + ], + "operationId": "Job_GetAllLifetimeStatistics", + "x-ms-examples": { + "Job get lifetime statistics": { + "$ref": "./examples/JobGetLifetimeStatistics.json" + } + }, + "summary": "Gets lifetime summary statistics for all of the Jobs in the specified Account.", + "description": "Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Job statistics for the lifetime of the Batch Account.", + "schema": { + "$ref": "#/definitions/JobStatistics" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/certificates": { + "post": { + "tags": [ + "Certificates" + ], + "operationId": "Certificate_Add", + "x-ms-examples": { + "Certificate add": { + "$ref": "./examples/CertificateAdd.json" + } + }, + "summary": "Adds a Certificate to the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "certificate", + "in": "body", + "description": "The Certificate to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/CertificateAddParameter" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Certificates" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Certificate_List", + "x-ms-examples": { + "Certificate list": { + "$ref": "./examples/CertificateList.json" + } + }, + "summary": "Lists all of the Certificates that have been added to the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Certificates can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Certificates.", + "schema": { + "$ref": "#/definitions/CertificateListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})/canceldelete": { + "post": { + "tags": [ + "Certificates" + ], + "operationId": "Certificate_CancelDeletion", + "x-ms-examples": { + "Certificate cancel delete": { + "$ref": "./examples/CertificateCancelDelete.json" + } + }, + "summary": "Cancels a failed deletion of a Certificate from the specified Account.", + "description": "If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "thumbprintAlgorithm", + "in": "path", + "required": true, + "type": "string", + "description": "The algorithm used to derive the thumbprint parameter. This must be sha1." + }, + { + "name": "thumbprint", + "in": "path", + "required": true, + "type": "string", + "description": "The thumbprint of the Certificate being deleted." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})": { + "delete": { + "tags": [ + "Certificates" + ], + "operationId": "Certificate_Delete", + "x-ms-examples": { + "Certificate delete": { + "$ref": "./examples/CertificateDelete.json" + } + }, + "summary": "Deletes a Certificate from the specified Account.", + "description": "You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "thumbprintAlgorithm", + "in": "path", + "required": true, + "type": "string", + "description": "The algorithm used to derive the thumbprint parameter. This must be sha1." + }, + { + "name": "thumbprint", + "in": "path", + "required": true, + "type": "string", + "description": "The thumbprint of the Certificate to be deleted." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Certificates" + ], + "operationId": "Certificate_Get", + "x-ms-examples": { + "Certificate get": { + "$ref": "./examples/CertificateGet.json" + } + }, + "description": "Gets information about the specified Certificate.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "thumbprintAlgorithm", + "in": "path", + "required": true, + "type": "string", + "description": "The algorithm used to derive the thumbprint parameter. This must be sha1." + }, + { + "name": "thumbprint", + "in": "path", + "required": true, + "type": "string", + "description": "The thumbprint of the Certificate to get." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Certificate.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}/files/{filePath}": { + "delete": { + "tags": [ + "Files" + ], + "operationId": "File_DeleteFromTask", + "x-ms-examples": { + "File delete from task": { + "$ref": "./examples/FileDeleteFromTask.json" + } + }, + "summary": "Deletes the specified Task file from the Compute Node where the Task ran.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job that contains the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task whose file you want to delete." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the Task file or directory that you want to delete." + }, + { + "name": "recursive", + "in": "query", + "required": false, + "type": "boolean", + "description": "Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Files" + ], + "operationId": "File_GetFromTask", + "x-ms-examples": { + "Get File From Task": { + "$ref": "./examples/FileGetFromTask.json" + } + }, + "description": "Returns the content of the specified Task file.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job that contains the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task whose file you want to retrieve." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the Task file that you want to get the content of." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-range", + "in": "header", + "required": false, + "type": "string", + "description": "The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "produces": [ + "application/json", + "application/octet-stream" + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-creation-time": { + "description": "The file creation time.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-batch-file-isdirectory": { + "description": "Whether the object represents a directory.", + "type": "boolean" + }, + "ocp-batch-file-url": { + "description": "The URL of the file.", + "type": "string" + }, + "ocp-batch-file-mode": { + "description": "The file mode attribute in octal format.", + "type": "string" + }, + "Content-Type": { + "description": "The content type of the file.", + "type": "string" + }, + "Content-Length": { + "description": "The length of the file.", + "type": "integer", + "format": "int64" + } + }, + "description": "A response containing the file content.", + "schema": { + "type": "object", + "format": "file" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "head": { + "tags": [ + "Files" + ], + "operationId": "File_GetPropertiesFromTask", + "x-ms-examples": { + "File get properties from task": { + "$ref": "./examples/FileGetPropertiesFromTask.json" + } + }, + "description": "Gets the properties of the specified Task file.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job that contains the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task whose file you want to get the properties of." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the Task file that you want to get the properties of." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-creation-time": { + "description": "The file creation time.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-batch-file-isdirectory": { + "description": "Whether the object represents a directory.", + "type": "boolean" + }, + "ocp-batch-file-url": { + "description": "The URL of the file.", + "type": "string" + }, + "ocp-batch-file-mode": { + "description": "The file mode attribute in octal format.", + "type": "string" + }, + "Content-Type": { + "description": "The content type of the file.", + "type": "string" + }, + "Content-Length": { + "description": "The length of the file.", + "type": "integer", + "format": "int64" + } + }, + "description": "A response containing the file properties." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/files/{filePath}": { + "delete": { + "tags": [ + "Files" + ], + "operationId": "File_DeleteFromComputeNode", + "x-ms-examples": { + "File delete from node": { + "$ref": "./examples/FileDeleteFromNode.json" + } + }, + "summary": "Deletes the specified file from the Compute Node.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node from which you want to delete the file." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the file or directory that you want to delete." + }, + { + "name": "recursive", + "in": "query", + "required": false, + "type": "boolean", + "description": "Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Files" + ], + "operationId": "File_GetFromComputeNode", + "x-ms-examples": { + "Get File From Compute Node": { + "$ref": "./examples/FileGetFromNode.json" + } + }, + "description": "Returns the content of the specified Compute Node file.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node that contains the file." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the Compute Node file that you want to get the content of." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-range", + "in": "header", + "required": false, + "type": "string", + "description": "The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "produces": [ + "application/json", + "application/octet-stream" + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-creation-time": { + "description": "The file creation time.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-batch-file-isdirectory": { + "description": "Whether the object represents a directory.", + "type": "boolean" + }, + "ocp-batch-file-url": { + "description": "The URL of the file.", + "type": "string" + }, + "ocp-batch-file-mode": { + "description": "The file mode attribute in octal format.", + "type": "string" + }, + "Content-Type": { + "description": "The content type of the file.", + "type": "string" + }, + "Content-Length": { + "description": "The length of the file.", + "type": "integer", + "format": "int64" + } + }, + "description": "The file content.", + "schema": { + "type": "object", + "format": "file" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "head": { + "tags": [ + "Files" + ], + "operationId": "File_GetPropertiesFromComputeNode", + "x-ms-examples": { + "File get properties from node": { + "$ref": "./examples/FileGetPropertiesFromNode.json" + } + }, + "description": "Gets the properties of the specified Compute Node file.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node that contains the file." + }, + { + "name": "filePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path to the Compute Node file that you want to get the properties of." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-creation-time": { + "description": "The file creation time.", + "type": "string", + "format": "date-time-rfc1123" + }, + "ocp-batch-file-isdirectory": { + "description": "Whether the object represents a directory.", + "type": "boolean" + }, + "ocp-batch-file-url": { + "description": "The URL of the file.", + "type": "string" + }, + "ocp-batch-file-mode": { + "description": "The file mode attribute in octal format.", + "type": "string" + }, + "Content-Type": { + "description": "The content type of the file.", + "type": "string" + }, + "Content-Length": { + "description": "The length of the file.", + "type": "integer", + "format": "int64" + } + }, + "description": "A response containing the file properties." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}/files": { + "get": { + "tags": [ + "Files" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "File_ListFromTask", + "x-ms-examples": { + "File list from task": { + "$ref": "./examples/FileListFromTask.json" + } + }, + "summary": "Lists the files in a Task's directory on its Compute Node.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job that contains the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task whose files you want to list." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "recursive", + "in": "query", + "required": false, + "type": "boolean", + "description": "Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files." + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 files can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of files.", + "schema": { + "$ref": "#/definitions/NodeFileListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/files": { + "get": { + "tags": [ + "Files" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "File_ListFromComputeNode", + "x-ms-examples": { + "File list from node": { + "$ref": "./examples/FileListFromNode.json" + } + }, + "summary": "Lists all of the files in Task directories on the specified Compute Node.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node whose files you want to list." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "recursive", + "in": "query", + "required": false, + "type": "boolean", + "description": "Whether to list children of a directory." + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 files can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of files.", + "schema": { + "$ref": "#/definitions/NodeFileListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules/{jobScheduleId}": { + "head": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Exists", + "x-ms-examples": { + "Check Job Schedule Exists": { + "$ref": "./examples/JobScheduleExists.json" + } + }, + "summary": "Checks the specified Job Schedule exists.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule which you want to check." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing headers related to the Job Schedule, if it exists." + }, + "404": { + "description": "The Job Schedule does not exist." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "delete": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Delete", + "x-ms-examples": { + "JobSchedule delete": { + "$ref": "./examples/JobScheduleDelete.json" + } + }, + "summary": "Deletes a Job Schedule from the specified Account.", + "description": "When you delete a Job Schedule, this also deletes all Jobs and Tasks under that schedule. When Tasks are deleted, all the files in their working directories on the Compute Nodes are also deleted (the retention period is ignored). The Job Schedule statistics are no longer accessible once the Job Schedule is deleted, though they are still counted towards Account lifetime statistics.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to delete." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Get", + "x-ms-examples": { + "JobSchedule get": { + "$ref": "./examples/JobScheduleGet.json" + } + }, + "description": "Gets information about the specified Job Schedule.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to get." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Job Schedule.", + "schema": { + "$ref": "#/definitions/CloudJobSchedule" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "patch": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Patch", + "x-ms-examples": { + "JobSchedule patch": { + "$ref": "./examples/JobSchedulePatch.json" + } + }, + "summary": "Updates the properties of the specified Job Schedule.", + "description": "This replaces only the Job Schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to update." + }, + { + "name": "jobSchedulePatchParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobSchedulePatchParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "put": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Update", + "x-ms-examples": { + "JobSchedule update": { + "$ref": "./examples/JobScheduleUpdate.json" + } + }, + "summary": "Updates the properties of the specified Job Schedule.", + "description": "This fully replaces all the updatable properties of the Job Schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to update." + }, + { + "name": "jobScheduleUpdateParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobScheduleUpdateParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules/{jobScheduleId}/disable": { + "post": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Disable", + "x-ms-examples": { + "JobSchedule disable": { + "$ref": "./examples/JobScheduleDisable.json" + } + }, + "summary": "Disables a Job Schedule.", + "description": "No new Jobs will be created until the Job Schedule is enabled again.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to disable." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules/{jobScheduleId}/enable": { + "post": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Enable", + "x-ms-examples": { + "JobSchedule enable": { + "$ref": "./examples/JobScheduleEnable.json" + } + }, + "summary": "Enables a Job Schedule.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to enable." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules/{jobScheduleId}/terminate": { + "post": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Terminate", + "x-ms-examples": { + "JobSchedule terminate": { + "$ref": "./examples/JobScheduleTerminate.json" + } + }, + "summary": "Terminates a Job Schedule.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule to terminates." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules": { + "post": { + "tags": [ + "JobSchedules" + ], + "operationId": "JobSchedule_Add", + "x-ms-examples": { + "Add a basic JobSchedule": { + "$ref": "./examples/JobScheduleAdd_Basic.json" + }, + "Add a complex JobScheduleAdd": { + "$ref": "./examples/JobScheduleAdd_Complex.json" + } + }, + "summary": "Adds a Job Schedule to the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "cloudJobSchedule", + "in": "body", + "description": "The Job Schedule to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/JobScheduleAddParameter" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "JobSchedules" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "JobSchedule_List", + "x-ms-examples": { + "JobSchedule list": { + "$ref": "./examples/JobScheduleList.json" + } + }, + "summary": "Lists all of the Job Schedules in the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Job Schedules can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Job Schedules.", + "schema": { + "$ref": "#/definitions/CloudJobScheduleListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}": { + "delete": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Delete", + "x-ms-examples": { + "Delete Job": { + "$ref": "./examples/JobDelete.json" + } + }, + "summary": "Deletes a Job.", + "description": "Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to delete." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Get", + "x-ms-examples": { + "Job get": { + "$ref": "./examples/JobGet.json" + } + }, + "summary": "Gets information about the specified Job.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Job.", + "schema": { + "$ref": "#/definitions/CloudJob" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "patch": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Patch", + "x-ms-examples": { + "Job patch": { + "$ref": "./examples/JobPatch.json" + } + }, + "summary": "Updates the properties of the specified Job.", + "description": "This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job whose properties you want to update." + }, + { + "name": "jobPatchParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobPatchParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "put": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Update", + "x-ms-examples": { + "Job update": { + "$ref": "./examples/JobUpdate.json" + } + }, + "summary": "Updates the properties of the specified Job.", + "description": "This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job whose properties you want to update." + }, + { + "name": "jobUpdateParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobUpdateParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/disable": { + "post": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Disable", + "x-ms-examples": { + "Job disable": { + "$ref": "./examples/JobDisable.json" + } + }, + "summary": "Disables the specified Job, preventing new Tasks from running.", + "description": "The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to disable." + }, + { + "name": "jobDisableParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobDisableParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/enable": { + "post": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Enable", + "x-ms-examples": { + "Job enable": { + "$ref": "./examples/JobEnable.json" + } + }, + "summary": "Enables the specified Job, allowing new Tasks to run.", + "description": "When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to enable." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/terminate": { + "post": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Terminate", + "x-ms-examples": { + "Job terminate": { + "$ref": "./examples/JobTerminate.json" + } + }, + "summary": "Terminates the specified Job, marking it as completed.", + "description": "When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to terminate." + }, + { + "name": "jobTerminateParameter", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/JobTerminateParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs": { + "post": { + "tags": [ + "Jobs" + ], + "operationId": "Job_Add", + "x-ms-examples": { + "Add a basic job": { + "$ref": "./examples/JobAdd_Basic.json" + }, + "Add a complex job": { + "$ref": "./examples/JobAdd_Complex.json" + } + }, + "summary": "Adds a Job to the specified Account.", + "description": "The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "job", + "in": "body", + "description": "The Job to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/JobAddParameter" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Jobs" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Job_List", + "x-ms-examples": { + "Job list": { + "$ref": "./examples/JobList.json" + } + }, + "summary": "Lists all of the Jobs in the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Jobs can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Jobs.", + "schema": { + "$ref": "#/definitions/CloudJobListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobschedules/{jobScheduleId}/jobs": { + "get": { + "tags": [ + "Jobs" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "x-ms-examples": { + "List Job Under Job Schedule": { + "$ref": "./examples/JobListFromJobSchedule.json" + } + }, + "operationId": "Job_ListFromJobSchedule", + "summary": "Lists the Jobs that have been created under the specified Job Schedule.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job Schedule from which you want to get a list of Jobs." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Jobs can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Jobs.", + "schema": { + "$ref": "#/definitions/CloudJobListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/jobpreparationandreleasetaskstatus": { + "get": { + "tags": [ + "Jobs" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Job_ListPreparationAndReleaseTaskStatus", + "x-ms-examples": { + "Job list preparation and release task status": { + "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" + } + }, + "summary": "Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.", + "description": "This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Tasks can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing a list of Job Preparation and Job Release Task statuses.", + "schema": { + "$ref": "#/definitions/CloudJobListPreparationAndReleaseTaskStatusResult" + } + }, + "default": { + "description": "The error from the Batch service. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/taskcounts": { + "get": { + "tags": [ + "Jobs" + ], + "operationId": "Job_GetTaskCounts", + "x-ms-examples": { + "Job get task counts": { + "$ref": "./examples/JobGetTaskCounts.json" + } + }, + "summary": "Gets the Task counts for the specified Job.", + "description": "Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + } + }, + "description": "A response containing the Task counts for the specified Job.", + "schema": { + "$ref": "#/definitions/TaskCounts" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Add", + "x-ms-examples": { + "Add a CloudServiceConfiguration pool": { + "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool": { + "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" + }, + "Add a VirtualMachineConfiguration pool with containers": { + "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" + }, + "Add a pool with mount drive specified": { + "$ref": "./examples/PoolAdd_MountConfiguration.json" + } + }, + "summary": "Adds a Pool to the specified Account.", + "description": "When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "pool", + "in": "body", + "description": "The Pool to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/PoolAddParameter" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Pools" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Pool_List", + "x-ms-examples": { + "Pool list": { + "$ref": "./examples/PoolList_Basic.json" + } + }, + "summary": "Lists all of the Pools in the specified Account.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Pools can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Pools.", + "schema": { + "$ref": "#/definitions/CloudPoolListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}": { + "delete": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Delete", + "x-ms-examples": { + "Pool delete": { + "$ref": "./examples/PoolDelete.json" + } + }, + "summary": "Deletes a Pool from the specified Account.", + "description": "When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to delete." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "head": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Exists", + "x-ms-examples": { + "Check Pool Exists": { + "$ref": "./examples/PoolExists.json" + } + }, + "description": "Gets basic properties of a Pool.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to get." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing headers related to the Pool, if it exists." + }, + "404": { + "description": "The Pool does not exist." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Get", + "x-ms-examples": { + "Pool get": { + "$ref": "./examples/PoolGet_Basic.json" + } + }, + "description": "Gets information about the specified Pool.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to get." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Pool.", + "schema": { + "$ref": "#/definitions/CloudPool" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "patch": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Patch", + "x-ms-examples": { + "Patch the Pool": { + "$ref": "./examples/PoolPatch.json" + } + }, + "summary": "Updates the properties of the specified Pool.", + "description": "This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to update." + }, + { + "name": "poolPatchParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PoolPatchParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/disableautoscale": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_DisableAutoScale", + "x-ms-examples": { + "Disable pool autoscale": { + "$ref": "./examples/PoolDisableAutoScale.json" + } + }, + "summary": "Disables automatic scaling for a Pool.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool on which to disable automatic scaling." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/enableautoscale": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_EnableAutoScale", + "x-ms-examples": { + "Pool enable autoscale": { + "$ref": "./examples/PoolEnableAutoscale.json" + } + }, + "summary": "Enables automatic scaling for a Pool.", + "description": "You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool on which to enable automatic scaling." + }, + { + "name": "poolEnableAutoScaleParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PoolEnableAutoScaleParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/evaluateautoscale": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_EvaluateAutoScale", + "x-ms-examples": { + "Pool evaluate autoscale": { + "$ref": "./examples/PoolEvaluateAutoscale.json" + } + }, + "summary": "Gets the result of evaluating an automatic scaling formula on the Pool.", + "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool on which to evaluate the automatic scaling formula." + }, + { + "name": "poolEvaluateAutoScaleParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PoolEvaluateAutoScaleParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "A response containing the results of the autoscale evaluation.", + "schema": { + "$ref": "#/definitions/AutoScaleRun" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/resize": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_Resize", + "x-ms-examples": { + "Pool resize": { + "$ref": "./examples/PoolResize.json" + } + }, + "summary": "Changes the number of Compute Nodes that are assigned to a Pool.", + "description": "You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to resize." + }, + { + "name": "poolResizeParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PoolResizeParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/stopresize": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_StopResize", + "x-ms-examples": { + "Pool stop resize": { + "$ref": "./examples/PoolStopResize.json" + } + }, + "summary": "Stops an ongoing resize operation on the Pool.", + "description": "This does not restore the Pool to its previous state before the resize operation: it only stops any further changes being made, and the Pool maintains its current state. After stopping, the Pool stabilizes at the number of Compute Nodes it was at when the stop operation was done. During the stop operation, the Pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize Pool request; this API can also be used to halt the initial sizing of the Pool when it is created.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool whose resizing you want to stop." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service. If you call this API on a Pool which is not in the resizing state, the request fails with HTTP status code 409.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/updateproperties": { + "post": { + "tags": [ + "Pools" + ], + "operationId": "Pool_UpdateProperties", + "x-ms-examples": { + "Pool update": { + "$ref": "./examples/PoolUpdate.json" + } + }, + "summary": "Updates the properties of the specified Pool.", + "description": "This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool to update." + }, + { + "name": "poolUpdatePropertiesParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PoolUpdatePropertiesParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/removenodes": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "Pool_RemoveNodes", + "x-ms-examples": { + "Pool remove nodes": { + "$ref": "./examples/PoolRemoveNodes.json" + } + }, + "summary": "Removes Compute Nodes from the specified Pool.", + "description": "This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool from which you want to remove Compute Nodes." + }, + { + "name": "nodeRemoveParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NodeRemoveParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks": { + "post": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Add", + "x-ms-examples": { + "Add a basic task": { + "$ref": "./examples/TaskAdd_Basic.json" + }, + "Add a task with exit conditions": { + "$ref": "./examples/TaskAdd_ExitConditions.json" + }, + "Add a task with container settings": { + "$ref": "./examples/TaskAdd_ContainerSettings.json" + } + }, + "summary": "Adds a Task to the specified Job.", + "description": "The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to which the Task is to be added." + }, + { + "name": "task", + "in": "body", + "description": "The Task to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskAddParameter" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Tasks" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "Task_List", + "x-ms-examples": { + "Task list": { + "$ref": "./examples/TaskList.json" + } + }, + "summary": "Lists all of the Tasks that are associated with the specified Job.", + "description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Tasks can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Tasks.", + "schema": { + "$ref": "#/definitions/CloudTaskListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/addtaskcollection": { + "post": { + "tags": [ + "Tasks" + ], + "operationId": "Task_AddCollection", + "x-ms-examples": { + "Add a basic collection of tasks": { + "$ref": "./examples/TaskAddCollection_Basic.json" + }, + "Add a complex collection of tasks": { + "$ref": "./examples/TaskAddCollection_Complex.json" + } + }, + "summary": "Adds a collection of Tasks to the specified Job.", + "description": "Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job to which the Task collection is to be added." + }, + { + "name": "taskCollection", + "in": "body", + "description": "The Tasks to be added.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskAddCollectionParameter" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/TaskAddCollectionResult" + }, + "description": "A response containing the results of the add Task collection operation." + }, + "default": { + "description": "Unexpected error", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}": { + "delete": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Delete", + "x-ms-examples": { + "Task delete": { + "$ref": "./examples/TaskDelete.json" + } + }, + "summary": "Deletes a Task from the specified Job.", + "description": "When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job from which to delete the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task to delete." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "get": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Get", + "x-ms-examples": { + "Task get": { + "$ref": "./examples/TaskGet.json" + } + }, + "summary": "Gets information about the specified Task.", + "description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job that contains the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task to get information about." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $expand clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "A response containing the Task.", + "schema": { + "$ref": "#/definitions/CloudTask" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "put": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Update", + "x-ms-examples": { + "Task update": { + "$ref": "./examples/TaskUpdate.json" + } + }, + "description": "Updates the properties of the specified Task.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job containing the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task to update." + }, + { + "name": "taskUpdateParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TaskUpdateParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}/subtasksinfo": { + "get": { + "tags": [ + "Tasks" + ], + "operationId": "Task_ListSubtasks", + "x-ms-examples": { + "Task list subtasks": { + "$ref": "./examples/TaskListSubtasks.json" + } + }, + "summary": "Lists all of the subtasks that are associated with the specified multi-instance Task.", + "description": "If the Task is not a multi-instance Task then this returns an empty collection.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of subtasks.", + "schema": { + "$ref": "#/definitions/CloudTaskListSubtasksResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}/terminate": { + "post": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Terminate", + "x-ms-examples": { + "Task terminate": { + "$ref": "./examples/TaskTerminate.json" + } + }, + "summary": "Terminates the specified Task.", + "description": "When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job containing the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task to terminate." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/jobs/{jobId}/tasks/{taskId}/reactivate": { + "post": { + "tags": [ + "Tasks" + ], + "operationId": "Task_Reactivate", + "x-ms-examples": { + "Task reactivate": { + "$ref": "./examples/TaskReactivate.json" + } + }, + "summary": "Reactivates a Task, allowing it to run again even if its retry count has been exhausted.", + "description": "Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Job containing the Task." + }, + { + "name": "taskId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Task to reactivate." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Modified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "If-Unmodified-Since", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/users": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_AddUser", + "x-ms-examples": { + "Node add user": { + "$ref": "./examples/NodeAddUser.json" + } + }, + "summary": "Adds a user Account to the specified Compute Node.", + "description": "You can add a user Account to a Compute Node only when it is in the idle or running state.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the machine on which you want to create a user Account." + }, + { + "name": "user", + "in": "body", + "description": "The user Account to be created.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeNodeUser" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/users/{userName}": { + "delete": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_DeleteUser", + "x-ms-examples": { + "Node delete user": { + "$ref": "./examples/NodeDeleteUser.json" + } + }, + "summary": "Deletes a user Account from the specified Compute Node.", + "description": "You can delete a user Account to a Compute Node only when it is in the idle or running state.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the machine on which you want to delete a user Account." + }, + { + "name": "userName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the user Account to delete." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + }, + "put": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_UpdateUser", + "x-ms-examples": { + "Node update user": { + "$ref": "./examples/NodeUpdateUser.json" + } + }, + "summary": "Updates the password and expiration time of a user Account on the specified Compute Node.", + "description": "This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the machine on which you want to update a user Account." + }, + { + "name": "userName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the user Account to update." + }, + { + "name": "nodeUpdateUserParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NodeUpdateUserParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}": { + "get": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_Get", + "x-ms-examples": { + "Node get": { + "$ref": "./examples/NodeGet_Basic.json" + } + }, + "summary": "Gets information about the specified Compute Node.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node that you want to get information about." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the Compute Node.", + "schema": { + "$ref": "#/definitions/ComputeNode" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/reboot": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_Reboot", + "x-ms-examples": { + "Node reboot": { + "$ref": "./examples/NodeReboot.json" + } + }, + "summary": "Restarts the specified Compute Node.", + "description": "You can restart a Compute Node only if it is in an idle or running state.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node that you want to restart." + }, + { + "name": "nodeRebootParameter", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/NodeRebootParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/reimage": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_Reimage", + "x-ms-examples": { + "Node reimage": { + "$ref": "./examples/NodeReimage.json" + } + }, + "summary": "Reinstalls the operating system on the specified Compute Node.", + "description": "You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node that you want to restart." + }, + { + "name": "nodeReimageParameter", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/NodeReimageParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/disablescheduling": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_DisableScheduling", + "x-ms-examples": { + "Node disable scheduling": { + "$ref": "./examples/NodeDisableScheduling.json" + } + }, + "summary": "Disables Task scheduling on the specified Compute Node.", + "description": "You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node on which you want to disable Task scheduling." + }, + { + "name": "nodeDisableSchedulingParameter", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/NodeDisableSchedulingParameter" + }, + "description": "The parameters for the request." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/enablescheduling": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_EnableScheduling", + "x-ms-examples": { + "Node enable scheduling": { + "$ref": "./examples/NodeEnableScheduling.json" + } + }, + "summary": "Enables Task scheduling on the specified Compute Node.", + "description": "You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node on which you want to enable Task scheduling." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + }, + "DataServiceId": { + "description": "The OData ID of the resource to which the request applied.", + "type": "string" + } + }, + "description": "The request to the Batch service was successful." + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/remoteloginsettings": { + "get": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_GetRemoteLoginSettings", + "x-ms-examples": { + "Node get remote login settings": { + "$ref": "./examples/NodeGetRemoteLoginSettings.json" + } + }, + "summary": "Gets the settings required for remote login to a Compute Node.", + "description": "Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node for which to obtain the remote login settings." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the login settings.", + "schema": { + "$ref": "#/definitions/ComputeNodeGetRemoteLoginSettingsResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/rdp": { + "get": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_GetRemoteDesktop", + "x-ms-examples": { + "Get RDP file of the compute node": { + "$ref": "./examples/NodeGetRemoteDesktop.json" + } + }, + "summary": "Gets the Remote Desktop Protocol file for the specified Compute Node.", + "description": "Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node for which you want to get the Remote Desktop Protocol file." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "produces": [ + "application/json", + "application/octet-stream" + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the RDP information.", + "schema": { + "type": "object", + "format": "file" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs": { + "post": { + "tags": [ + "ComputeNodes" + ], + "operationId": "ComputeNode_UploadBatchServiceLogs", + "summary": "Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage.", + "description": "This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.", + "x-ms-examples": { + "Upload BatchService Logs": { + "$ref": "./examples/NodeUploadBatchServiceLogs.json" + } + }, + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool that contains the Compute Node." + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Compute Node from which you want to upload the Azure Batch service log files." + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "uploadBatchServiceLogsConfiguration", + "in": "body", + "description": "The Azure Batch service log files upload configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/UploadBatchServiceLogsConfiguration" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + } + }, + "description": "The request to the Batch service was successful.", + "schema": { + "$ref": "#/definitions/UploadBatchServiceLogsResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + }, + "/pools/{poolId}/nodes": { + "get": { + "tags": [ + "ComputeNodes" + ], + "x-ms-pageable": { + "nextLinkName": "odata.nextLink" + }, + "operationId": "ComputeNode_List", + "x-ms-examples": { + "Node list": { + "$ref": "./examples/NodeList.json" + } + }, + "summary": "Lists the Compute Nodes in the specified Pool.", + "x-ms-request-id": "request-id", + "parameters": [ + { + "name": "poolId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the Pool from which you want to list Compute Nodes." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "An OData $select clause.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "maxresults", + "x-ms-client-name": "maxResults", + "default": 1000, + "minimum": 1, + "maximum": 1000, + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return in the response. A maximum of 1000 Compute Nodes can be returned.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "timeout", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "default": 30, + "description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.", + "x-ms-parameter-grouping": { + "postfix": "Options" + }, + "x-ms-client-request-id": true + }, + { + "name": "return-client-request-id", + "default": false, + "in": "header", + "required": false, + "type": "boolean", + "description": "Whether the server should return the client-request-id in the response.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "name": "ocp-date", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.", + "x-ms-parameter-grouping": { + "postfix": "Options" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "headers": { + "client-request-id": { + "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.", + "type": "string", + "format": "uuid" + }, + "request-id": { + "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.", + "type": "string", + "format": "uuid" + }, + "ETag": { + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.", + "type": "string" + }, + "Last-Modified": { + "description": "The time at which the resource was last modified.", + "type": "string", + "format": "date-time-rfc1123" + } + }, + "description": "A response containing the list of Compute Nodes.", + "schema": { + "$ref": "#/definitions/ComputeNodeListResult" + } + }, + "default": { + "description": "The error from the Batch service.", + "schema": { + "$ref": "#/definitions/BatchError" + } + } + } + } + } + }, + "definitions": { + "PoolUsageMetrics": { + "properties": { + "poolId": { + "type": "string", + "title": "The ID of the Pool whose metrics are aggregated in this entry." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the aggregation interval covered by this entry." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The end time of the aggregation interval covered by this entry." + }, + "vmSize": { + "type": "string", + "title": "The size of virtual machines in the Pool. All VMs in a Pool are the same size.", + "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)." + }, + "totalCoreHours": { + "type": "number", + "format": "double", + "title": "The total core hours used in the Pool during this aggregation interval." + } + }, + "required": [ + "poolId", + "startTime", + "endTime", + "vmSize", + "totalCoreHours" + ], + "title": "Usage metrics for a Pool across an aggregation interval." + }, + "PoolListUsageMetricsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PoolUsageMetrics" + }, + "title": "The Pool usage metrics data." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of a listing the usage metrics for an Account." + }, + "ImageInformation": { + "properties": { + "nodeAgentSKUId": { + "type": "string", + "title": "The ID of the Compute Node agent SKU which the Image supports." + }, + "imageReference": { + "$ref": "#/definitions/ImageReference", + "title": "The reference to the Azure Virtual Machine's Marketplace Image." + }, + "osType": { + "type": "string", + "title": "The type of operating system (e.g. Windows or Linux) of the Image.", + "enum": [ + "linux", + "windows" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": false, + "values": [ + { + "value": "linux", + "description": "The Linux operating system." + }, + { + "value": "windows", + "description": "The Windows operating system." + } + ] + } + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The capabilities or features which the Image supports.", + "description": "Not every capability of the Image is listed. Capabilities in this list are considered of special interest and are generally related to integration with other features in the Azure Batch service." + }, + "batchSupportEndOfLife": { + "type": "string", + "format": "date-time", + "title": "The time when the Azure Batch service will stop accepting create Pool requests for the Image." + }, + "verificationType": { + "type": "string", + "title": "Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.", + "enum": [ + "verified", + "unverified" + ], + "x-ms-enum": { + "name": "VerificationType", + "modelAsString": false, + "values": [ + { + "value": "verified", + "description": "The Image is guaranteed to be compatible with the associated Compute Node agent SKU and all Batch features have been confirmed to work as expected." + }, + { + "value": "unverified", + "description": "The associated Compute Node agent SKU should have binary compatibility with the Image, but specific functionality has not been verified." + } + ] + } + } + }, + "required": [ + "imageReference", + "verificationType", + "osType", + "nodeAgentSKUId" + ], + "title": "A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image." + }, + "AuthenticationTokenSettings": { + "properties": { + "access": { + "type": "array", + "items": { + "type": "string", + "x-nullable": false, + "enum": [ + "job" + ], + "x-ms-enum": { + "name": "AccessScope", + "modelAsString": false, + "values": [ + { + "value": "job", + "description": "Grants access to perform all operations on the Job containing the Task." + } + ] + } + }, + "title": "The Batch resources to which the token grants access.", + "description": "The authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the Job which contains the Task." + } + }, + "title": "The settings for an authentication token that the Task can use to perform Batch service operations." + }, + "AccountListSupportedImagesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ImageInformation" + }, + "title": "The list of supported Virtual Machine Images." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the supported Virtual Machine Images." + }, + "UsageStatistics": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "dedicatedCoreTime": { + "type": "string", + "format": "duration", + "title": "The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool." + } + }, + "required": [ + "startTime", + "lastUpdateTime", + "dedicatedCoreTime" + ], + "title": "Statistics related to Pool usage information." + }, + "ResourceStatistics": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "avgCPUPercentage": { + "type": "number", + "format": "double", + "title": "The average CPU usage across all Compute Nodes in the Pool (percentage per node)." + }, + "avgMemoryGiB": { + "type": "number", + "format": "double", + "title": "The average memory usage in GiB across all Compute Nodes in the Pool." + }, + "peakMemoryGiB": { + "type": "number", + "format": "double", + "title": "The peak memory usage in GiB across all Compute Nodes in the Pool." + }, + "avgDiskGiB": { + "type": "number", + "format": "double", + "title": "The average used disk space in GiB across all Compute Nodes in the Pool." + }, + "peakDiskGiB": { + "type": "number", + "format": "double", + "title": "The peak used disk space in GiB across all Compute Nodes in the Pool." + }, + "diskReadIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk read operations across all Compute Nodes in the Pool." + }, + "diskWriteIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk write operations across all Compute Nodes in the Pool." + }, + "diskReadGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB of disk reads across all Compute Nodes in the Pool." + }, + "diskWriteGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB of disk writes across all Compute Nodes in the Pool." + }, + "networkReadGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB of network reads across all Compute Nodes in the Pool." + }, + "networkWriteGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB of network writes across all Compute Nodes in the Pool." + } + }, + "required": [ + "startTime", + "lastUpdateTime", + "avgCPUPercentage", + "avgMemoryGiB", + "peakMemoryGiB", + "avgDiskGiB", + "peakDiskGiB", + "diskReadIOps", + "diskWriteIOps", + "diskReadGiB", + "diskWriteGiB", + "networkReadGiB", + "networkWriteGiB" + ], + "title": "Statistics related to resource consumption by Compute Nodes in a Pool." + }, + "PoolStatistics": { + "properties": { + "url": { + "type": "string", + "title": "The URL for the statistics." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "usageStats": { + "$ref": "#/definitions/UsageStatistics", + "title": "Statistics related to Pool usage, such as the amount of core-time used." + }, + "resourceStats": { + "$ref": "#/definitions/ResourceStatistics", + "title": "Statistics related to resource consumption by Compute Nodes in the Pool." + } + }, + "required": [ + "url", + "startTime", + "lastUpdateTime" + ], + "title": "Contains utilization and resource usage statistics for the lifetime of a Pool." + }, + "JobStatistics": { + "properties": { + "url": { + "type": "string", + "title": "The URL of the statistics." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "userCPUTime": { + "type": "string", + "format": "duration", + "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in the Job." + }, + "kernelCPUTime": { + "type": "string", + "format": "duration", + "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in the Job." + }, + "wallClockTime": { + "type": "string", + "format": "duration", + "title": "The total wall clock time of all Tasks in the Job.", + "description": " The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If a Task was retried, this includes the wall clock time of all the Task retries." + }, + "readIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk read operations made by all Tasks in the Job." + }, + "writeIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk write operations made by all Tasks in the Job." + }, + "readIOGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB read from disk by all Tasks in the Job." + }, + "writeIOGiB": { + "type": "number", + "format": "double", + "title": "The total amount of data in GiB written to disk by all Tasks in the Job." + }, + "numSucceededTasks": { + "type": "integer", + "format": "int64", + "title": "The total number of Tasks successfully completed in the Job during the given time range.", + "description": "A Task completes successfully if it returns exit code 0." + }, + "numFailedTasks": { + "type": "integer", + "format": "int64", + "title": "The total number of Tasks in the Job that failed during the given time range.", + "description": "A Task fails if it exhausts its maximum retry count without returning exit code 0." + }, + "numTaskRetries": { + "type": "integer", + "format": "int64", + "title": "The total number of retries on all the Tasks in the Job during the given time range." + }, + "waitTime": { + "type": "string", + "format": "duration", + "title": "The total wait time of all Tasks in the Job.", + "description": "The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.) This value is only reported in the Account lifetime statistics; it is not included in the Job statistics." + } + }, + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], + "title": "Resource usage statistics for a Job." + }, + "NameValuePair": { + "properties": { + "name": { + "type": "string", + "title": "The name in the name-value pair." + }, + "value": { + "type": "string", + "title": "The value in the name-value pair." + } + }, + "title": "Represents a name-value pair." + }, + "DeleteCertificateError": { + "properties": { + "code": { + "type": "string", + "title": "An identifier for the Certificate deletion error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the Certificate deletion error, intended to be suitable for display in a user interface." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "A list of additional error details related to the Certificate deletion error.", + "description": "This list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred." + } + }, + "title": "An error encountered by the Batch service when deleting a Certificate." + }, + "Certificate": { + "properties": { + "thumbprint": { + "type": "string", + "title": "The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits." + }, + "thumbprintAlgorithm": { + "type": "string", + "title": "The algorithm used to derive the thumbprint." + }, + "url": { + "type": "string", + "title": "The URL of the Certificate." + }, + "state": { + "title": "The current state of the Certificate.", + "$ref": "#/definitions/CertificateState" + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Certificate entered its current state." + }, + "previousState": { + "title": "The previous state of the Certificate.", + "description": "This property is not set if the Certificate is in its initial active state.", + "$ref": "#/definitions/CertificateState" + }, + "previousStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Certificate entered its previous state.", + "description": "This property is not set if the Certificate is in its initial Active state." + }, + "publicData": { + "type": "string", + "title": "The public part of the Certificate as a base-64 encoded .cer file." + }, + "deleteCertificateError": { + "$ref": "#/definitions/DeleteCertificateError", + "title": "The error that occurred on the last attempt to delete this Certificate.", + "description": "This property is set only if the Certificate is in the DeleteFailed state." + } + }, + "description": "A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine." + }, + "ApplicationPackageReference": { + "properties": { + "applicationId": { + "type": "string", + "title": "The ID of the application to deploy." + }, + "version": { + "type": "string", + "title": "The version of the application to deploy. If omitted, the default version is deployed.", + "description": "If this is omitted on a Pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a Task, and no default version is specified for this application, the Task fails with a pre-processing error." + } + }, + "required": [ + "applicationId" + ], + "title": "A reference to an Package to be deployed to Compute Nodes." + }, + "ApplicationSummary": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the application within the Account." + }, + "displayName": { + "type": "string", + "title": "The display name for the application." + }, + "versions": { + "type": "array", + "title": "The list of available versions of the application.", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "displayName", + "versions" + ], + "title": "Contains information about an application in an Azure Batch Account." + }, + "CertificateAddParameter": { + "properties": { + "thumbprint": { + "type": "string", + "title": "The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed)." + }, + "thumbprintAlgorithm": { + "type": "string", + "title": "The algorithm used to derive the thumbprint. This must be sha1." + }, + "data": { + "type": "string", + "title": "The base64-encoded contents of the Certificate. The maximum size is 10KB." + }, + "certificateFormat": { + "type": "string", + "title": "The format of the Certificate data.", + "enum": [ + "pfx", + "cer" + ], + "x-ms-enum": { + "name": "CertificateFormat", + "modelAsString": false, + "values": [ + { + "value": "pfx", + "description": "The Certificate is a PFX (PKCS#12) formatted Certificate or Certificate chain." + }, + { + "value": "cer", + "description": "The Certificate is a base64-encoded X.509 Certificate." + } + ] + } + }, + "password": { + "type": "string", + "title": "The password to access the Certificate's private key.", + "description": "This is required if the Certificate format is pfx. It should be omitted if the Certificate format is cer." + } + }, + "required": [ + "thumbprint", + "thumbprintAlgorithm", + "data" + ], + "title": "A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine." + }, + "CertificateListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + }, + "title": "The list of Certificates." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Certificates in the Account." + }, + "FileProperties": { + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "title": "The file creation time.", + "description": "The creation time is not returned for files on Linux Compute Nodes." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The time at which the file was last modified." + }, + "contentLength": { + "type": "integer", + "format": "int64", + "title": "The length of the file." + }, + "contentType": { + "type": "string", + "title": "The content type of the file." + }, + "fileMode": { + "type": "string", + "title": "The file mode attribute in octal format.", + "description": "The file mode is returned only for files on Linux Compute Nodes." + } + }, + "required": [ + "lastModified", + "contentLength" + ], + "title": "The properties of a file on a Compute Node." + }, + "NodeFile": { + "properties": { + "name": { + "type": "string", + "title": "The file path." + }, + "url": { + "type": "string", + "title": "The URL of the file." + }, + "isDirectory": { + "type": "boolean", + "title": "Whether the object represents a directory." + }, + "properties": { + "$ref": "#/definitions/FileProperties", + "title": "The file properties." + } + }, + "title": "Information about a file or directory on a Compute Node." + }, + "NodeFileListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeFile" + }, + "title": "The list of files." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the files on a Compute Node, or the files associated with a Task on a Compute Node." + }, + "Schedule": { + "properties": { + "doNotRunUntil": { + "type": "string", + "format": "date-time", + "title": "The earliest time at which any Job may be created under this Job Schedule.", + "description": "If you do not specify a doNotRunUntil time, the schedule becomes ready to create Jobs immediately." + }, + "doNotRunAfter": { + "type": "string", + "format": "date-time", + "title": "A time after which no Job will be created under this Job Schedule. The schedule will move to the completed state as soon as this deadline is past and there is no active Job under this Job Schedule.", + "description": "If you do not specify a doNotRunAfter time, and you are creating a recurring Job Schedule, the Job Schedule will remain active until you explicitly terminate it." + }, + "startWindow": { + "type": "string", + "format": "duration", + "title": "The time interval, starting from the time at which the schedule indicates a Job should be created, within which a Job must be created.", + "description": "If a Job is not created within the startWindow interval, then the 'opportunity' is lost; no Job will be created until the next recurrence of the schedule. If the schedule is recurring, and the startWindow is longer than the recurrence interval, then this is equivalent to an infinite startWindow, because the Job that is 'due' in one recurrenceInterval is not carried forward into the next recurrence interval. The default is infinite. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "recurrenceInterval": { + "type": "string", + "format": "duration", + "title": "The time interval between the start times of two successive Jobs under the Job Schedule. A Job Schedule can have at most one active Job under it at any given time.", + "description": "Because a Job Schedule can have at most one active Job under it at any given time, if it is time to create a new Job under a Job Schedule, but the previous Job is still running, the Batch service will not create the new Job until the previous Job finishes. If the previous Job does not finish within the startWindow period of the new recurrenceInterval, then no new Job will be scheduled for that interval. For recurring Jobs, you should normally specify a jobManagerTask in the jobSpecification. If you do not use jobManagerTask, you will need an external process to monitor when Jobs are created, add Tasks to the Jobs and terminate the Jobs ready for the next recurrence. The default is that the schedule does not recur: one Job is created, within the startWindow after the doNotRunUntil time, and the schedule is complete as soon as that Job finishes. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + } + }, + "title": "The schedule according to which Jobs will be created" + }, + "JobConstraints": { + "properties": { + "maxWallClockTime": { + "type": "string", + "format": "duration", + "title": "The maximum elapsed time that the Job may run, measured from the time the Job is created.", + "description": "If the Job does not complete within the time limit, the Batch service terminates it and any Tasks that are still running. In this case, the termination reason will be MaxWallClockTimeExpiry. If this property is not specified, there is no time limit on how long the Job may run." + }, + "maxTaskRetryCount": { + "type": "integer", + "format": "int32", + "title": "The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.", + "description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries Tasks without limit. The default value is 0 (no retries)." + } + }, + "title": "The execution constraints for a Job." + }, + "JobNetworkConfiguration": { + "properties": { + "subnetId": { + "type": "string", + "title": "The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. This will only work with a VirtualMachineConfiguration Pool.", + "description": "The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration", + "externalDocs": { + "url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor", + "description": "Setting up RBAC for Azure Batch VNETs" + } + } + }, + "required": [ + "subnetId" + ], + "title": "The network configuration for the Job." + }, + "TaskContainerSettings": { + "properties": { + "containerRunOptions": { + "type": "string", + "title": "Additional options to the container create command.", + "description": "These additional options are supplied as arguments to the \"docker create\" command, in addition to those controlled by the Batch Service." + }, + "imageName": { + "type": "string", + "title": "The Image to use to create the container in which the Task will run.", + "description": "This is the full Image reference, as would be specified to \"docker pull\". If no tag is provided as part of the Image name, the tag \":latest\" is used as a default." + }, + "registry": { + "$ref": "#/definitions/ContainerRegistry", + "title": "The private registry which contains the container Image.", + "description": "This setting can be omitted if was already provided at Pool creation." + }, + "workingDirectory": { + "type": "string", + "title": "The location of the container Task working directory.", + "description": "The default is 'taskWorkingDirectory'.", + "enum": [ + "taskWorkingDirectory", + "containerImageDefault" + ], + "x-ms-enum": { + "name": "ContainerWorkingDirectory", + "modelAsString": false, + "values": [ + { + "value": "taskWorkingDirectory", + "description": "Use the standard Batch service Task working directory, which will contain the Task Resource Files populated by Batch." + }, + { + "value": "containerImageDefault", + "description": "Use the working directory defined in the container Image. Beware that this directory will not contain the Resource Files downloaded by Batch." + } + ] + } + } + }, + "required": [ + "imageName" + ], + "title": "The container settings for a Task." + }, + "ResourceFile": { + "properties": { + "autoStorageContainerName": { + "type": "string", + "title": "The storage container name in the auto storage Account.", + "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified." + }, + "storageContainerUrl": { + "type": "string", + "title": "The URL of the blob container within Azure Blob Storage.", + "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading blobs from the container. There are two ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, or set the ACL for the container to allow public access." + }, + "httpUrl": { + "type": "string", + "title": "The URL of the file to download.", + "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access." + }, + "blobPrefix": { + "type": "string", + "title": "The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded.", + "description": "The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded." + }, + "filePath": { + "type": "string", + "title": "The location on the Compute Node to which to download the file(s), relative to the Task's working directory.", + "description": "If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the Task's working directory (for example by using '..')." + }, + "fileMode": { + "type": "string", + "title": "The file permission mode attribute in octal format.", + "description": "This property applies only to files being downloaded to Linux Compute Nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows Compute Node. If this property is not specified for a Linux Compute Node, then a default value of 0770 is applied to the file." + } + }, + "title": "A single file or multiple files to be downloaded to a Compute Node." + }, + "EnvironmentSetting": { + "properties": { + "name": { + "type": "string", + "title": "The name of the environment variable." + }, + "value": { + "type": "string", + "title": "The value of the environment variable." + } + }, + "required": [ + "name" + ], + "title": "An environment variable to be set on a Task process." + }, + "ExitConditions": { + "properties": { + "exitCodes": { + "type": "array", + "items": { + "$ref": "#/definitions/ExitCodeMapping" + }, + "title": "A list of individual Task exit codes and how the Batch service should respond to them." + }, + "exitCodeRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/ExitCodeRangeMapping" + }, + "title": "A list of Task exit code ranges and how the Batch service should respond to them." + }, + "preProcessingError": { + "$ref": "#/definitions/ExitOptions", + "title": "How the Batch service should respond if the Task fails to start due to an error." + }, + "fileUploadError": { + "$ref": "#/definitions/ExitOptions", + "title": "How the Batch service should respond if a file upload error occurs.", + "description": "If the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence." + }, + "default": { + "$ref": "#/definitions/ExitOptions", + "title": "How the Batch service should respond if the Task fails with an exit condition not covered by any of the other properties.", + "description": "This value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection." + } + }, + "title": "Specifies how the Batch service should respond when the Task completes." + }, + "ExitCodeMapping": { + "properties": { + "code": { + "type": "integer", + "format": "int32", + "title": "A process exit code." + }, + "exitOptions": { + "$ref": "#/definitions/ExitOptions", + "title": "How the Batch service should respond if the Task exits with this exit code." + } + }, + "title": "How the Batch service should respond if a Task exits with a particular exit code.", + "required": [ + "code", + "exitOptions" + ] + }, + "ExitCodeRangeMapping": { + "properties": { + "start": { + "type": "integer", + "format": "int32", + "title": "The first exit code in the range." + }, + "end": { + "type": "integer", + "format": "int32", + "title": "The last exit code in the range." + }, + "exitOptions": { + "$ref": "#/definitions/ExitOptions", + "title": "How the Batch service should respond if the Task exits with an exit code in the range start to end (inclusive)." + } + }, + "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.", + "required": [ + "start", + "end", + "exitOptions" + ] + }, + "ExitOptions": { + "properties": { + "jobAction": { + "type": "string", + "title": "An action to take on the Job containing the Task, if the Task completes with the given exit condition and the Job's onTaskFailed property is 'performExitOptionsJobAction'.", + "description": "The default is none for exit code 0 and terminate for all other exit conditions. If the Job's onTaskFailed property is noaction, then specifying this property returns an error and the add Task request fails with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).", + "enum": [ + "none", + "disable", + "terminate" + ], + "x-ms-enum": { + "name": "JobAction", + "modelAsString": false, + "values": [ + { + "value": "none", + "description": "Take no action." + }, + { + "value": "disable", + "description": "Disable the Job. This is equivalent to calling the disable Job API, with a disableTasks value of requeue." + }, + { + "value": "terminate", + "description": "Terminate the Job. The terminateReason in the Job's executionInfo is set to \"TaskFailed\"." + } + ] + } + }, + "dependencyAction": { + "type": "string", + "title": "An action that the Batch service performs on Tasks that depend on this Task.", + "description": "Possible values are 'satisfy' (allowing dependent tasks to progress) and 'block' (dependent tasks continue to wait). Batch does not yet support cancellation of dependent tasks.", + "enum": [ + "satisfy", + "block" + ], + "x-ms-enum": { + "name": "DependencyAction", + "modelAsString": false, + "values": [ + { + "value": "satisfy", + "description": "Satisfy tasks waiting on this task; once all dependencies are satisfied, the task will be scheduled to run." + }, + { + "value": "block", + "description": "Blocks tasks waiting on this task, preventing them from being scheduled." + } + ] + } + } + }, + "title": "Specifies how the Batch service responds to a particular exit condition." + }, + "AutoUserSpecification": { + "properties": { + "scope": { + "type": "string", + "title": "The scope for the auto user", + "description": "The default value is pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by StartTasks.", + "enum": [ + "task", + "pool" + ], + "x-ms-enum": { + "name": "AutoUserScope", + "modelAsString": false, + "values": [ + { + "value": "task", + "description": "Specifies that the service should create a new user for the Task." + }, + { + "value": "pool", + "description": "Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool." + } + ] + } + }, + "elevationLevel": { + "title": "The elevation level of the auto user.", + "description": "The default value is nonAdmin.", + "$ref": "#/definitions/ElevationLevel" + } + }, + "title": "Specifies the parameters for the auto user that runs a Task on the Batch service." + }, + "UserIdentity": { + "properties": { + "username": { + "type": "string", + "x-ms-client-name": "userName", + "title": "The name of the user identity under which the Task is run.", + "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both." + }, + "autoUser": { + "$ref": "#/definitions/AutoUserSpecification", + "title": "The auto user under which the Task is run.", + "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both." + } + }, + "title": "The definition of the user identity under which the Task is run.", + "description": "Specify either the userName or autoUser property, but not both." + }, + "LinuxUserConfiguration": { + "properties": { + "uid": { + "type": "integer", + "format": "int32", + "title": "The user ID of the user Account.", + "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid." + }, + "gid": { + "type": "integer", + "format": "int32", + "title": "The group ID for the user Account.", + "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid." + }, + "sshPrivateKey": { + "type": "string", + "title": "The SSH private key for the user Account.", + "description": "The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between Compute Nodes in a Linux Pool when the Pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between Compute Nodes (no modification of the user's .ssh directory is done)." + } + }, + "title": "Properties used to create a user Account on a Linux Compute Node." + }, + "WindowsUserConfiguration": { + "properties": { + "loginMode": { + "type": "string", + "title": "The login mode for the user", + "description": "The default value for VirtualMachineConfiguration Pools is 'batch' and for CloudServiceConfiguration Pools is 'interactive'.", + "enum": [ + "batch", + "interactive" + ], + "x-ms-enum": { + "name": "LoginMode", + "modelAsString": false, + "values": [ + { + "value": "batch", + "description": "The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes." + }, + { + "value": "interactive", + "description": "The LOGON32_LOGON_INTERACTIVE Win32 login mode. UAC is enabled on Windows VirtualMachineConfiguration Pools. If this option is used with an elevated user identity in a Windows VirtualMachineConfiguration Pool, the user session will not be elevated unless the application executed by the Task command line is configured to always require administrative privilege or to always require maximum privilege." + } + ] + } + } + }, + "title": "Properties used to create a user Account on a Windows Compute Node." + }, + "UserAccount": { + "properties": { + "name": { + "type": "string", + "title": "The name of the user Account." + }, + "password": { + "type": "string", + "title": "The password for the user Account." + }, + "elevationLevel": { + "title": "The elevation level of the user Account.", + "description": "The default value is nonAdmin.", + "$ref": "#/definitions/ElevationLevel" + }, + "linuxUserConfiguration": { + "title": "The Linux-specific user configuration for the user Account.", + "description": "This property is ignored if specified on a Windows Pool. If not specified, the user is created with the default options.", + "$ref": "#/definitions/LinuxUserConfiguration" + }, + "windowsUserConfiguration": { + "title": "The Windows-specific user configuration for the user Account.", + "description": "This property can only be specified if the user is on a Windows Pool. If not specified and on a Windows Pool, the user is created with the default options.", + "$ref": "#/definitions/WindowsUserConfiguration" + } + }, + "required": [ + "name", + "password" + ], + "title": "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node." + }, + "TaskConstraints": { + "properties": { + "maxWallClockTime": { + "type": "string", + "format": "duration", + "title": "The maximum elapsed time that the Task may run, measured from the time the Task starts. If the Task does not complete within the time limit, the Batch service terminates it.", + "description": "If this is not specified, there is no time limit on how long the Task may run." + }, + "retentionTime": { + "type": "string", + "format": "duration", + "title": "The minimum time to retain the Task directory on the Compute Node where it ran, from the time it completes execution. After this time, the Batch service may delete the Task directory and all its contents.", + "description": "The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted." + }, + "maxTaskRetryCount": { + "type": "integer", + "format": "int32", + "title": "The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero.", + "description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit." + } + }, + "title": "Execution constraints to apply to a Task." + }, + "JobManagerTask": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Job Manager Task within the Job.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters." + }, + "displayName": { + "type": "string", + "title": "The display name of the Job Manager Task.", + "description": "It need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "commandLine": { + "type": "string", + "title": "The command line of the Job Manager Task.", + "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the Job Manager Task runs.", + "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line.", + "description": "Files listed under this element are located in the Task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." + }, + "outputFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputFile" + }, + "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.", + "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the Job Manager Task." + }, + "constraints": { + "$ref": "#/definitions/TaskConstraints", + "title": "Constraints that apply to the Job Manager Task." + }, + "killJobOnCompletion": { + "type": "boolean", + "title": "Whether completion of the Job Manager Task signifies completion of the entire Job.", + "description": "If true, when the Job Manager Task completes, the Batch service marks the Job as complete. If any Tasks are still running at this time (other than Job Release), those Tasks are terminated. If false, the completion of the Job Manager Task does not affect the Job status. In this case, you should either use the onAllTasksComplete attribute to terminate the Job, or have a client or user terminate the Job explicitly. An example of this is if the Job Manager creates a set of Tasks but then takes no further role in their execution. The default value is true. If you are using the onAllTasksComplete and onTaskFailure attributes to control Job lifetime, and using the Job Manager Task only to create the Tasks for the Job (not to monitor progress), then it is important to set killJobOnCompletion to false." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the Job Manager Task runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task." + }, + "runExclusive": { + "type": "boolean", + "title": "Whether the Job Manager Task requires exclusive use of the Compute Node where it runs.", + "description": "If true, no other Tasks will run on the same Node for as long as the Job Manager is running. If false, other Tasks can run simultaneously with the Job Manager on a Compute Node. The Job Manager Task counts normally against the Compute Node's concurrent Task limit, so this is only relevant if the Compute Node allows multiple concurrent Tasks. The default value is true." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "A list of Application Packages that the Batch service will deploy to the Compute Node before running the command line.", + "description": "Application Packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced Application Package is already on the Compute Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced Application Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails." + }, + "authenticationTokenSettings": { + "title": "The settings for an authentication token that the Task can use to perform Batch service operations.", + "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.", + "$ref": "#/definitions/AuthenticationTokenSettings" + }, + "allowLowPriorityNode": { + "type": "boolean", + "title": "Whether the Job Manager Task may run on a low-priority Compute Node.", + "description": "The default value is true." + } + }, + "required": [ + "id", + "commandLine" + ], + "title": "Specifies details of a Job Manager Task.", + "description": "The Job Manager Task is automatically started when the Job is created. The Batch service tries to schedule the Job Manager Task before any other Tasks in the Job. When shrinking a Pool, the Batch service tries to preserve Nodes where Job Manager Tasks are running for as long as possible (that is, Compute Nodes running 'normal' Tasks are removed before Compute Nodes running Job Manager Tasks). When a Job Manager Task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle Compute Nodes available, the system may terminate one of the running Tasks in the Pool and return it to the queue in order to make room for the Job Manager Task to restart. Note that a Job Manager Task in one Job does not have priority over Tasks in other Jobs. Across Jobs, only Job level priorities are observed. For example, if a Job Manager in a priority 0 Job needs to be restarted, it will not displace Tasks of a priority 1 Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." + }, + "JobPreparationTask": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Job Preparation Task within the Job.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other Task in the Job can have the same ID as the Job Preparation Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict)." + }, + "commandLine": { + "type": "string", + "title": "The command line of the Job Preparation Task.", + "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the Job Preparation Task runs.", + "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line.", + "description": "Files listed under this element are located in the Task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the Job Preparation Task." + }, + "constraints": { + "$ref": "#/definitions/TaskConstraints", + "title": "Constraints that apply to the Job Preparation Task." + }, + "waitForSuccess": { + "type": "boolean", + "title": "Whether the Batch service should wait for the Job Preparation Task to complete successfully before scheduling any other Tasks of the Job on the Compute Node. A Job Preparation Task has completed successfully if it exits with exit code 0.", + "description": "If true and the Job Preparation Task fails on a Node, the Batch service retries the Job Preparation Task up to its maximum retry count (as specified in the constraints element). If the Task has still not completed successfully after all retries, then the Batch service will not schedule Tasks of the Job to the Node. The Node remains active and eligible to run Tasks of other Jobs. If false, the Batch service will not wait for the Job Preparation Task to complete. In this case, other Tasks of the Job can start executing on the Compute Node while the Job Preparation Task is still running; and even if the Job Preparation Task fails, new Tasks will continue to be scheduled on the Compute Node. The default value is true." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the Job Preparation Task runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task on Windows Compute Nodes, or a non-administrative user unique to the Pool on Linux Compute Nodes." + }, + "rerunOnNodeRebootAfterSuccess": { + "type": "boolean", + "title": "Whether the Batch service should rerun the Job Preparation Task after a Compute Node reboots.", + "description": "The Job Preparation Task is always rerun if a Compute Node is reimaged, or if the Job Preparation Task did not complete (e.g. because the reboot occurred while the Task was running). Therefore, you should always write a Job Preparation Task to be idempotent and to behave correctly if run multiple times. The default value is true." + } + }, + "required": [ + "commandLine" + ], + "title": "A Job Preparation Task to run before any Tasks of the Job on any given Compute Node.", + "description": "You can use Job Preparation to prepare a Node to run Tasks for the Job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the Tasks in the Job. The Job Preparation Task can download these common resource files to the shared location on the Node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the Node so that all Tasks of that Job can communicate with it. If the Job Preparation Task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run Tasks of this Job on the Node. The Compute Node remains ineligible to run Tasks of this Job until it is reimaged. The Compute Node remains active and can be used for other Jobs. The Job Preparation Task can run multiple times on the same Node. Therefore, you should write the Job Preparation Task to handle re-execution. If the Node is rebooted, the Job Preparation Task is run again on the Compute Node before scheduling any other Task of the Job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation Task did not previously complete. If the Node is reimaged, the Job Preparation Task is run again before scheduling any Task of the Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." + }, + "JobReleaseTask": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Job Release Task within the Job.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobrelease'. No other Task in the Job can have the same ID as the Job Release Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobReleaseTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict)." + }, + "commandLine": { + "type": "string", + "title": "The command line of the Job Release Task.", + "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the Job Release Task runs.", + "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.", + "description": "Files listed under this element are located in the Task's working directory." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the Job Release Task." + }, + "maxWallClockTime": { + "type": "string", + "format": "duration", + "title": "The maximum elapsed time that the Job Release Task may run on a given Compute Node, measured from the time the Task starts. If the Task does not complete within the time limit, the Batch service terminates it. The default value is 15 minutes. You may not specify a timeout longer than 15 minutes. If you do, the Batch service rejects it with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "retentionTime": { + "type": "string", + "format": "duration", + "title": "The minimum time to retain the Task directory for the Job Release Task on the Compute Node. After this time, the Batch service may delete the Task directory and all its contents.", + "description": "The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the Job Release Task runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task." + } + }, + "required": [ + "commandLine" + ], + "title": "A Job Release Task to run on Job completion on any Compute Node where the Job has run.", + "description": "The Job Release Task runs when the Job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the Job is still active, the Job's maximum wall clock time constraint is reached, and the Job is still active, or the Job's Job Manager Task completed, and the Job is configured to terminate when the Job Manager completes. The Job Release Task runs on each Node where Tasks of the Job have run and the Job Preparation Task ran and completed. If you reimage a Node after it has run the Job Preparation Task, and the Job ends without any further Tasks of the Job running on that Node (and hence the Job Preparation Task does not re-run), then the Job Release Task does not run on that Compute Node. If a Node reboots while the Job Release Task is still running, the Job Release Task runs again when the Compute Node starts up. The Job is not marked as complete until all Job Release Tasks have completed. The Job Release Task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the Pool." + }, + "TaskSchedulingPolicy": { + "properties": { + "nodeFillType": { + "type": "string", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", + "description": "If not specified, the default is spread.", + "enum": [ + "spread", + "pack" + ], + "x-ms-enum": { + "name": "ComputeNodeFillType", + "modelAsString": false, + "values": [ + { + "value": "spread", + "description": "Tasks should be assigned evenly across all Compute Nodes in the Pool." + }, + { + "value": "pack", + "description": "As many Tasks as possible (maxTasksPerNode) should be assigned to each Compute Node in the Pool before any Tasks are assigned to the next Compute Node in the Pool." + } + ] + } + } + }, + "required": [ + "nodeFillType" + ], + "title": "Specifies how Tasks should be distributed across Compute Nodes." + }, + "StartTask": { + "properties": { + "commandLine": { + "type": "string", + "title": "The command line of the StartTask.", + "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the StartTask runs.", + "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.", + "description": "Files listed under this element are located in the Task's working directory." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the StartTask." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the StartTask runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task." + }, + "maxTaskRetryCount": { + "type": "integer", + "format": "int32", + "title": "The maximum number of times the Task may be retried.", + "description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit." + }, + "waitForSuccess": { + "type": "boolean", + "title": "Whether the Batch service should wait for the StartTask to complete successfully (that is, to exit with exit code 0) before scheduling any Tasks on the Compute Node.", + "description": "If true and the StartTask fails on a Node, the Batch service retries the StartTask up to its maximum retry count (maxTaskRetryCount). If the Task has still not completed successfully after all retries, then the Batch service marks the Node unusable, and will not schedule Tasks to it. This condition can be detected via the Compute Node state and failure info details. If false, the Batch service will not wait for the StartTask to complete. In this case, other Tasks can start executing on the Compute Node while the StartTask is still running; and even if the StartTask fails, new Tasks will continue to be scheduled on the Compute Node. The default is true." + } + }, + "required": [ + "commandLine" + ], + "title": "A Task which is run when a Node joins a Pool in the Azure Batch service, or when the Compute Node is rebooted or reimaged.", + "description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing. In some cases the StartTask may be re-run even though the Compute Node was not rebooted. Special care should be taken to avoid StartTasks which create breakaway process or install/launch services from the StartTask working directory, as this will block Batch from being able to re-run the StartTask." + }, + "CertificateReference": { + "properties": { + "thumbprint": { + "type": "string", + "title": "The thumbprint of the Certificate." + }, + "thumbprintAlgorithm": { + "type": "string", + "title": "The algorithm with which the thumbprint is associated. This must be sha1." + }, + "storeLocation": { + "type": "string", + "title": "The location of the Certificate store on the Compute Node into which to install the Certificate.", + "description": "The default value is currentuser. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.", + "enum": [ + "currentuser", + "localmachine" + ], + "x-ms-enum": { + "name": "CertificateStoreLocation", + "modelAsString": false, + "values": [ + { + "value": "currentuser", + "description": "Certificates should be installed to the CurrentUser Certificate store.", + "name": "currentUser" + }, + { + "value": "localmachine", + "description": "Certificates should be installed to the LocalMachine Certificate store.", + "name": "localMachine" + } + ] + } + }, + "storeName": { + "type": "string", + "title": "The name of the Certificate store on the Compute Node into which to install the Certificate.", + "description": "This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My." + }, + "visibility": { + "type": "array", + "items": { + "type": "string", + "x-nullable": false, + "enum": [ + "starttask", + "task", + "remoteuser" + ], + "x-ms-enum": { + "name": "CertificateVisibility", + "modelAsString": false, + "values": [ + { + "value": "starttask", + "description": "The Certificate should be visible to the user account under which the StartTask is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.", + "name": "startTask" + }, + { + "value": "task", + "description": "The Certificate should be visible to the user accounts under which Job Tasks are run." + }, + { + "value": "remoteuser", + "description": "The Certificate should be visible to the user accounts under which users remotely access the Compute Node.", + "name": "remoteUser" + } + ] + } + }, + "title": "Which user Accounts on the Compute Node should have access to the private data of the Certificate.", + "description": "You can specify more than one visibility in this collection. The default is all Accounts." + } + }, + "required": [ + "thumbprint", + "thumbprintAlgorithm" + ], + "title": "A reference to a Certificate to be installed on Compute Nodes in a Pool." + }, + "MetadataItem": { + "properties": { + "name": { + "type": "string", + "title": "The name of the metadata item." + }, + "value": { + "type": "string", + "title": "The value of the metadata item." + } + }, + "required": [ + "name", + "value" + ], + "title": "A name-value pair associated with a Batch service resource.", + "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." + }, + "PoolSpecification": { + "properties": { + "displayName": { + "type": "string", + "title": "The display name for the Pool.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "vmSize": { + "type": "string", + "title": "The size of the virtual machines in the Pool. All virtual machines in a Pool are the same size.", + "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)." + }, + "cloudServiceConfiguration": { + "$ref": "#/definitions/CloudServiceConfiguration", + "title": "The cloud service configuration for the Pool.", + "description": "This property must be specified if the Pool needs to be created with Azure PaaS VMs. This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "title": "The virtual machine configuration for the Pool.", + "description": "This property must be specified if the Pool needs to be created with Azure IaaS VMs. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "maxTasksPerNode": { + "type": "integer", + "format": "int32", + "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.", + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256." + }, + "taskSchedulingPolicy": { + "$ref": "#/definitions/TaskSchedulingPolicy", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", + "description": "If not specified, the default is spread." + }, + "resizeTimeout": { + "type": "string", + "format": "duration", + "title": "The timeout for allocation of Compute Nodes to the Pool.", + "description": "This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "targetDedicatedNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of dedicated Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both." + }, + "targetLowPriorityNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of low-priority Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both." + }, + "enableAutoScale": { + "type": "boolean", + "title": "Whether the Pool size should automatically adjust over time.", + "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula element is required. The Pool automatically resizes according to the formula. The default value is false." + }, + "autoScaleFormula": { + "type": "string", + "title": "The formula for the desired number of Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the Pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information." + }, + "autoScaleEvaluationInterval": { + "type": "string", + "format": "duration", + "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.", + "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "enableInterNodeCommunication": { + "type": "boolean", + "title": "Whether the Pool permits direct communication between Compute Nodes.", + "description": "Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false." + }, + "networkConfiguration": { + "$ref": "#/definitions/NetworkConfiguration", + "title": "The network configuration for the Pool." + }, + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "A list of Certificates to be installed on each Compute Node in the Pool.", + "description": "For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "The list of Packages to be installed on each Compute Node in the Pool.", + "description": "Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool." + }, + "applicationLicenses": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of application licenses the Batch service will make available on each Compute Node in the Pool.", + "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, Pool creation will fail. The permitted licenses available on the Pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge applies for each application license added to the Pool." + }, + "userAccounts": { + "type": "array", + "items": { + "$ref": "#/definitions/UserAccount" + }, + "title": "The list of user Accounts to be created on each Compute Node in the Pool." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Pool as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + }, + "mountConfiguration": { + "type": "array", + "items": { + "$ref": "#/definitions/MountConfiguration" + }, + "title": "A list of file systems to mount on each node in the pool.", + "description": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse." + } + }, + "required": [ + "vmSize" + ], + "title": "Specification for creating a new Pool." + }, + "AutoPoolSpecification": { + "properties": { + "autoPoolIdPrefix": { + "type": "string", + "title": "A prefix to be added to the unique identifier when a Pool is automatically created.", + "description": "The Batch service assigns each auto Pool a unique identifier on creation. To distinguish between Pools created for different purposes, you can specify this element to add a prefix to the ID that is assigned. The prefix can be up to 20 characters long." + }, + "poolLifetimeOption": { + "type": "string", + "title": "The minimum lifetime of created auto Pools, and how multiple Jobs on a schedule are assigned to Pools.", + "enum": [ + "jobschedule", + "job" + ], + "x-ms-enum": { + "name": "PoolLifetimeOption", + "modelAsString": false, + "values": [ + { + "value": "jobschedule", + "description": "The Pool exists for the lifetime of the Job Schedule. The Batch Service creates the Pool when it creates the first Job on the schedule. You may apply this option only to Job Schedules, not to Jobs.", + "name": "jobSchedule" + }, + { + "value": "job", + "description": "The Pool exists for the lifetime of the Job to which it is dedicated. The Batch service creates the Pool when it creates the Job. If the 'job' option is applied to a Job Schedule, the Batch service creates a new auto Pool for every Job created on the schedule." + } + ] + } + }, + "keepAlive": { + "type": "boolean", + "title": "Whether to keep an auto Pool alive after its lifetime expires.", + "description": "If false, the Batch service deletes the Pool once its lifetime (as determined by the poolLifetimeOption setting) expires; that is, when the Job or Job Schedule completes. If true, the Batch service does not delete the Pool automatically. It is up to the user to delete auto Pools created with this option." + }, + "pool": { + "$ref": "#/definitions/PoolSpecification", + "title": "The Pool specification for the auto Pool." + } + }, + "required": [ + "poolLifetimeOption" + ], + "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted." + }, + "PoolInformation": { + "properties": { + "poolId": { + "type": "string", + "title": "The ID of an existing Pool. All the Tasks of the Job will run on the specified Pool.", + "description": "You must ensure that the Pool referenced by this property exists. If the Pool does not exist at the time the Batch service tries to schedule a Job, no Tasks for the Job will run until you create a Pool with that id. Note that the Batch service will not reject the Job request; it will simply not run Tasks until the Pool exists. You must specify either the Pool ID or the auto Pool specification, but not both." + }, + "autoPoolSpecification": { + "$ref": "#/definitions/AutoPoolSpecification", + "title": "Characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted.", + "description": "If auto Pool creation fails, the Batch service moves the Job to a completed state, and the Pool creation error is set in the Job's scheduling error property. The Batch service manages the lifetime (both creation and, unless keepAlive is specified, deletion) of the auto Pool. Any user actions that affect the lifetime of the auto Pool while the Job is active will result in unexpected behavior. You must specify either the Pool ID or the auto Pool specification, but not both." + } + }, + "title": "Specifies how a Job should be assigned to a Pool." + }, + "JobSpecification": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority of Jobs created under this schedule.", + "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. This priority is used as the default for all Jobs under the Job Schedule. You can update a Job's priority after it has been created using by using the update Job API." + }, + "displayName": { + "type": "string", + "title": "The display name for Jobs created under this schedule.", + "description": "The name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "usesTaskDependencies": { + "type": "boolean", + "title": "Whether Tasks in the Job can define dependencies on each other. The default is false." + }, + "onAllTasksComplete": { + "title": "The action the Batch service should take when all Tasks in a Job created under this schedule are in the completed state.", + "description": "Note that if a Job contains no Tasks, then all Tasks are considered complete. This option is therefore most commonly used with a Job Manager task; if you want to use automatic Job termination without a Job Manager, you should initially set onAllTasksComplete to noaction and update the Job properties to set onAllTasksComplete to terminatejob once you have finished adding Tasks. The default is noaction.", + "$ref": "#/definitions/OnAllTasksComplete" + }, + "onTaskFailure": { + "title": "The action the Batch service should take when any Task fails in a Job created under this schedule. A Task is considered to have failed if it have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error.", + "description": "The default is noaction.", + "$ref": "#/definitions/OnTaskFailure" + }, + "networkConfiguration": { + "$ref": "#/definitions/JobNetworkConfiguration", + "title": "The network configuration for the Job." + }, + "constraints": { + "$ref": "#/definitions/JobConstraints", + "title": "The execution constraints for Jobs created under this schedule." + }, + "jobManagerTask": { + "$ref": "#/definitions/JobManagerTask", + "title": "The details of a Job Manager Task to be launched when a Job is started under this schedule.", + "description": "If the Job does not specify a Job Manager Task, the user must explicitly add Tasks to the Job using the Task API. If the Job does specify a Job Manager Task, the Batch service creates the Job Manager Task when the Job is created, and will try to schedule the Job Manager Task before scheduling other Tasks in the Job." + }, + "jobPreparationTask": { + "$ref": "#/definitions/JobPreparationTask", + "title": "The Job Preparation Task for Jobs created under this schedule.", + "description": "If a Job has a Job Preparation Task, the Batch service will run the Job Preparation Task on a Node before starting any Tasks of that Job on that Compute Node." + }, + "jobReleaseTask": { + "$ref": "#/definitions/JobReleaseTask", + "title": "The Job Release Task for Jobs created under this schedule.", + "description": "The primary purpose of the Job Release Task is to undo changes to Nodes made by the Job Preparation Task. Example activities include deleting local files, or shutting down services that were started as part of Job preparation. A Job Release Task cannot be specified without also specifying a Job Preparation Task for the Job. The Batch service runs the Job Release Task on the Compute Nodes that have run the Job Preparation Task." + }, + "commonEnvironmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of common environment variable settings. These environment variables are set for all Tasks in Jobs created under this schedule (including the Job Manager, Job Preparation and Job Release Tasks).", + "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value." + }, + "poolInfo": { + "$ref": "#/definitions/PoolInformation", + "title": "The Pool on which the Batch service runs the Tasks of Jobs created under this schedule." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with each Job created under this schedule as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + } + }, + "required": [ + "poolInfo" + ], + "title": "Specifies details of the Jobs to be created on a schedule." + }, + "RecentJob": { + "properties": { + "id": { + "type": "string", + "title": "The ID of the Job." + }, + "url": { + "type": "string", + "title": "The URL of the Job." + } + }, + "title": "Information about the most recent Job to run under the Job Schedule." + }, + "JobScheduleExecutionInformation": { + "properties": { + "nextRunTime": { + "type": "string", + "format": "date-time", + "title": "The next time at which a Job will be created under this schedule.", + "description": "This property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no Job will be created at nextRunTime unless the Job is enabled before then." + }, + "recentJob": { + "$ref": "#/definitions/RecentJob", + "title": "Information about the most recent Job under the Job Schedule.", + "description": "This property is present only if the at least one Job has run under the schedule." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the schedule ended.", + "description": "This property is set only if the Job Schedule is in the completed state." + } + }, + "title": "Contains information about Jobs that have been and will be run under a Job Schedule." + }, + "JobScheduleStatistics": { + "properties": { + "url": { + "type": "string", + "title": "The URL of the statistics." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "userCPUTime": { + "type": "string", + "format": "duration", + "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule." + }, + "kernelCPUTime": { + "type": "string", + "format": "duration", + "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule." + }, + "wallClockTime": { + "type": "string", + "format": "duration", + "title": "The total wall clock time of all the Tasks in all the Jobs created under the schedule.", + "description": "The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If a Task was retried, this includes the wall clock time of all the Task retries." + }, + "readIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk read operations made by all Tasks in all Jobs created under the schedule." + }, + "writeIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk write operations made by all Tasks in all Jobs created under the schedule." + }, + "readIOGiB": { + "type": "number", + "format": "double", + "title": "The total gibibytes read from disk by all Tasks in all Jobs created under the schedule." + }, + "writeIOGiB": { + "type": "number", + "format": "double", + "title": "The total gibibytes written to disk by all Tasks in all Jobs created under the schedule." + }, + "numSucceededTasks": { + "type": "integer", + "format": "int64", + "title": "The total number of Tasks successfully completed during the given time range in Jobs created under the schedule. A Task completes successfully if it returns exit code 0." + }, + "numFailedTasks": { + "type": "integer", + "format": "int64", + "title": "The total number of Tasks that failed during the given time range in Jobs created under the schedule. A Task fails if it exhausts its maximum retry count without returning exit code 0." + }, + "numTaskRetries": { + "type": "integer", + "format": "int64", + "title": "The total number of retries during the given time range on all Tasks in all Jobs created under the schedule." + }, + "waitTime": { + "type": "string", + "format": "duration", + "title": "The total wait time of all Tasks in all Jobs created under the schedule. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.)", + "description": "This value is only reported in the Account lifetime statistics; it is not included in the Job statistics." + } + }, + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "numSucceededTasks", + "numFailedTasks", + "numTaskRetries", + "waitTime" + ], + "title": "Resource usage statistics for a Job Schedule." + }, + "CloudJobSchedule": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the schedule within the Account." + }, + "displayName": { + "type": "string", + "title": "The display name for the schedule." + }, + "url": { + "type": "string", + "title": "The URL of the Job Schedule." + }, + "eTag": { + "type": "string", + "title": "The ETag of the Job Schedule.", + "description": "This is an opaque string. You can use it to detect whether the Job Schedule has changed between requests. In particular, you can be pass the ETag with an Update Job Schedule request to specify that your changes should take effect only if nobody else has modified the schedule in the meantime." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The last modified time of the Job Schedule.", + "description": "This is the last time at which the schedule level data, such as the Job specification or recurrence information, changed. It does not factor in job-level changes such as new Jobs being created or Jobs changing state." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "title": "The creation time of the Job Schedule." + }, + "state": { + "title": "The current state of the Job Schedule.", + "$ref": "#/definitions/JobScheduleState" + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job Schedule entered the current state." + }, + "previousState": { + "title": "The previous state of the Job Schedule.", + "description": "This property is not present if the Job Schedule is in its initial active state.", + "$ref": "#/definitions/JobScheduleState" + }, + "previousStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job Schedule entered its previous state.", + "description": "This property is not present if the Job Schedule is in its initial active state." + }, + "schedule": { + "$ref": "#/definitions/Schedule", + "title": "The schedule according to which Jobs will be created." + }, + "jobSpecification": { + "$ref": "#/definitions/JobSpecification", + "title": "The details of the Jobs to be created on this schedule." + }, + "executionInfo": { + "$ref": "#/definitions/JobScheduleExecutionInformation", + "title": "Information about Jobs that have been and will be run under this schedule." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the schedule as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + }, + "stats": { + "$ref": "#/definitions/JobScheduleStatistics", + "title": "The lifetime resource usage statistics for the Job Schedule. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes." + } + }, + "title": "A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job." + }, + "JobScheduleAddParameter": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the schedule within the Account.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "The display name for the schedule.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "schedule": { + "$ref": "#/definitions/Schedule", + "title": "The schedule according to which Jobs will be created." + }, + "jobSpecification": { + "$ref": "#/definitions/JobSpecification", + "title": "The details of the Jobs to be created on this schedule." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the schedule as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + } + }, + "required": [ + "id", + "schedule", + "jobSpecification" + ], + "title": "A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job." + }, + "CloudJobScheduleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudJobSchedule" + }, + "title": "The list of Job Schedules." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Job Schedules in an Account." + }, + "JobSchedulingError": { + "properties": { + "category": { + "title": "The category of the Job scheduling error.", + "$ref": "#/definitions/ErrorCategory" + }, + "code": { + "type": "string", + "title": "An identifier for the Job scheduling error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the Job scheduling error, intended to be suitable for display in a user interface." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "A list of additional error details related to the scheduling error." + } + }, + "required": [ + "category" + ], + "title": "An error encountered by the Batch service when scheduling a Job." + }, + "JobExecutionInformation": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the Job.", + "description": "This is the time at which the Job was created." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The completion time of the Job.", + "description": "This property is set only if the Job is in the completed state." + }, + "poolId": { + "type": "string", + "title": "The ID of the Pool to which this Job is assigned.", + "description": "This element contains the actual Pool where the Job is assigned. When you get Job details from the service, they also contain a poolInfo element, which contains the Pool configuration data from when the Job was added or updated. That poolInfo element may also contain a poolId element. If it does, the two IDs are the same. If it does not, it means the Job ran on an auto Pool, and this property contains the ID of that auto Pool." + }, + "schedulingError": { + "$ref": "#/definitions/JobSchedulingError", + "title": "Details of any error encountered by the service in starting the Job.", + "description": "This property is not set if there was no error starting the Job." + }, + "terminateReason": { + "type": "string", + "title": "A string describing the reason the Job ended.", + "description": "This property is set only if the Job is in the completed state. If the Batch service terminates the Job, it sets the reason as follows: JMComplete - the Job Manager Task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the Job reached its maxWallClockTime constraint. TerminateJobSchedule - the Job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the Job's onAllTasksComplete attribute is set to terminatejob, and all Tasks in the Job are complete. TaskFailed - the Job's onTaskFailure attribute is set to performExitOptionsJobAction, and a Task in the Job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a Job' operation." + } + }, + "required": [ + "startTime" + ], + "title": "Contains information about the execution of a Job in the Azure Batch service." + }, + "CloudJob": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Job within the Account.", + "description": "The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "The display name for the Job." + }, + "usesTaskDependencies": { + "type": "boolean", + "title": "Whether Tasks in the Job can define dependencies on each other. The default is false." + }, + "url": { + "type": "string", + "title": "The URL of the Job." + }, + "eTag": { + "type": "string", + "title": "The ETag of the Job.", + "description": "This is an opaque string. You can use it to detect whether the Job has changed between requests. In particular, you can be pass the ETag when updating a Job to specify that your changes should take effect only if nobody else has modified the Job in the meantime." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The last modified time of the Job.", + "description": "This is the last time at which the Job level data, such as the Job state or priority, changed. It does not factor in task-level changes such as adding new Tasks or Tasks changing state." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "title": "The creation time of the Job." + }, + "state": { + "title": "The current state of the Job.", + "$ref": "#/definitions/JobState" + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job entered its current state." + }, + "previousState": { + "title": "The previous state of the Job.", + "description": "This property is not set if the Job is in its initial Active state.", + "$ref": "#/definitions/JobState" + }, + "previousStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job entered its previous state.", + "description": "This property is not set if the Job is in its initial Active state." + }, + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority of the Job.", + "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0." + }, + "constraints": { + "$ref": "#/definitions/JobConstraints", + "title": "The execution constraints for the Job." + }, + "jobManagerTask": { + "$ref": "#/definitions/JobManagerTask", + "title": "Details of a Job Manager Task to be launched when the Job is started." + }, + "jobPreparationTask": { + "$ref": "#/definitions/JobPreparationTask", + "title": "The Job Preparation Task.", + "description": "The Job Preparation Task is a special Task run on each Compute Node before any other Task of the Job." + }, + "jobReleaseTask": { + "$ref": "#/definitions/JobReleaseTask", + "title": "The Job Release Task.", + "description": "The Job Release Task is a special Task run at the end of the Job on each Compute Node that has run any other Task of the Job." + }, + "commonEnvironmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "The list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).", + "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value." + }, + "poolInfo": { + "$ref": "#/definitions/PoolInformation", + "title": "The Pool settings associated with the Job." + }, + "onAllTasksComplete": { + "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.", + "description": "The default is noaction.", + "$ref": "#/definitions/OnAllTasksComplete" + }, + "onTaskFailure": { + "title": "The action the Batch service should take when any Task in the Job fails.", + "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.", + "$ref": "#/definitions/OnTaskFailure" + }, + "networkConfiguration": { + "$ref": "#/definitions/JobNetworkConfiguration", + "title": "The network configuration for the Job." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + }, + "executionInfo": { + "$ref": "#/definitions/JobExecutionInformation", + "title": "The execution information for the Job." + }, + "stats": { + "$ref": "#/definitions/JobStatistics", + "title": "Resource usage statistics for the entire lifetime of the Job.", + "description": "This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes." + } + }, + "title": "An Azure Batch Job." + }, + "JobAddParameter": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Job within the Account.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "The display name for the Job.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority of the Job.", + "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0." + }, + "constraints": { + "$ref": "#/definitions/JobConstraints", + "description": "The execution constraints for the Job." + }, + "jobManagerTask": { + "$ref": "#/definitions/JobManagerTask", + "title": "Details of a Job Manager Task to be launched when the Job is started.", + "description": "If the Job does not specify a Job Manager Task, the user must explicitly add Tasks to the Job. If the Job does specify a Job Manager Task, the Batch service creates the Job Manager Task when the Job is created, and will try to schedule the Job Manager Task before scheduling other Tasks in the Job. The Job Manager Task's typical purpose is to control and/or monitor Job execution, for example by deciding what additional Tasks to run, determining when the work is complete, etc. (However, a Job Manager Task is not restricted to these activities - it is a fully-fledged Task in the system and perform whatever actions are required for the Job.) For example, a Job Manager Task might download a file specified as a parameter, analyze the contents of that file and submit additional Tasks based on those contents." + }, + "jobPreparationTask": { + "$ref": "#/definitions/JobPreparationTask", + "title": "The Job Preparation Task.", + "description": "If a Job has a Job Preparation Task, the Batch service will run the Job Preparation Task on a Node before starting any Tasks of that Job on that Compute Node." + }, + "jobReleaseTask": { + "$ref": "#/definitions/JobReleaseTask", + "title": "The Job Release Task.", + "description": "A Job Release Task cannot be specified without also specifying a Job Preparation Task for the Job. The Batch service runs the Job Release Task on the Nodes that have run the Job Preparation Task. The primary purpose of the Job Release Task is to undo changes to Compute Nodes made by the Job Preparation Task. Example activities include deleting local files, or shutting down services that were started as part of Job preparation." + }, + "commonEnvironmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "The list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).", + "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value." + }, + "poolInfo": { + "$ref": "#/definitions/PoolInformation", + "title": "The Pool on which the Batch service runs the Job's Tasks." + }, + "onAllTasksComplete": { + "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.", + "description": "Note that if a Job contains no Tasks, then all Tasks are considered complete. This option is therefore most commonly used with a Job Manager task; if you want to use automatic Job termination without a Job Manager, you should initially set onAllTasksComplete to noaction and update the Job properties to set onAllTasksComplete to terminatejob once you have finished adding Tasks. The default is noaction.", + "$ref": "#/definitions/OnAllTasksComplete" + }, + "onTaskFailure": { + "title": "The action the Batch service should take when any Task in the Job fails.", + "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.", + "$ref": "#/definitions/OnTaskFailure" + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + }, + "usesTaskDependencies": { + "type": "boolean", + "title": "Whether Tasks in the Job can define dependencies on each other. The default is false." + }, + "networkConfiguration": { + "$ref": "#/definitions/JobNetworkConfiguration", + "title": "The network configuration for the Job." + } + }, + "required": [ + "id", + "poolInfo" + ], + "title": "An Azure Batch Job to add." + }, + "CloudJobListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudJob" + }, + "title": "The list of Jobs." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Jobs in an Account." + }, + "TaskContainerExecutionInformation": { + "properties": { + "containerId": { + "type": "string", + "title": "The ID of the container." + }, + "state": { + "type": "string", + "title": "The state of the container.", + "description": "This is the state of the container according to the Docker service. It is equivalent to the status field returned by \"docker inspect\"." + }, + "error": { + "type": "string", + "title": "Detailed error information about the container.", + "description": "This is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by \"docker inspect\"." + } + }, + "title": "Contains information about the container which a Task is executing." + }, + "TaskFailureInformation": { + "properties": { + "category": { + "title": "The category of the Task error.", + "$ref": "#/definitions/ErrorCategory" + }, + "code": { + "type": "string", + "title": "An identifier for the Task error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the Task error, intended to be suitable for display in a user interface." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "A list of additional details related to the error." + } + }, + "required": [ + "category" + ], + "title": "Information about a Task failure." + }, + "JobPreparationTaskExecutionInformation": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task started running.", + "description": "If the Task has been restarted or retried, this is the most recent time at which the Task started running." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job Preparation Task completed.", + "description": "This property is set only if the Task is in the Completed state." + }, + "state": { + "type": "string", + "title": "The current state of the Job Preparation Task on the Compute Node.", + "enum": [ + "running", + "completed" + ], + "x-ms-enum": { + "name": "JobPreparationTaskState", + "modelAsString": false, + "values": [ + { + "value": "running", + "description": "The Task is currently running (including retrying)." + }, + { + "value": "completed", + "description": "The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures)." + } + ] + } + }, + "taskRootDirectory": { + "type": "string", + "title": "The root directory of the Job Preparation Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files." + }, + "taskRootDirectoryUrl": { + "type": "string", + "title": "The URL to the root directory of the Job Preparation Task on the Compute Node." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "title": "The exit code of the program specified on the Task command line.", + "description": "This parameter is returned only if the Task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the Compute Node operating system, such as when a process is forcibly terminated." + }, + "containerInfo": { + "$ref": "#/definitions/TaskContainerExecutionInformation", + "title": "Information about the container under which the Task is executing.", + "description": "This property is set only if the Task runs in a container context." + }, + "failureInfo": { + "$ref": "#/definitions/TaskFailureInformation", + "title": "Information describing the Task failure, if any.", + "description": "This property is set only if the Task is in the completed state and encountered a failure." + }, + "retryCount": { + "type": "integer", + "format": "int32", + "title": "The number of times the Task has been retried by the Batch service. Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints.", + "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints." + }, + "lastRetryTime": { + "type": "string", + "format": "date-time", + "title": "The most recent time at which a retry of the Job Preparation Task started running.", + "description": "This property is set only if the Task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the Task has been restarted for reasons other than retry; for example, if the Compute Node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." + }, + "result": { + "$ref": "#/definitions/TaskExecutionResult", + "title": "The result of the Task execution.", + "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." + } + }, + "required": [ + "startTime", + "retryCount", + "state" + ], + "title": "Contains information about the execution of a Job Preparation Task on a Compute Node." + }, + "JobReleaseTaskExecutionInformation": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task started running.", + "description": "If the Task has been restarted or retried, this is the most recent time at which the Task started running." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Job Release Task completed.", + "description": "This property is set only if the Task is in the Completed state." + }, + "state": { + "type": "string", + "title": "The current state of the Job Release Task on the Compute Node.", + "enum": [ + "running", + "completed" + ], + "x-ms-enum": { + "name": "JobReleaseTaskState", + "modelAsString": false, + "values": [ + { + "value": "running", + "description": "The Task is currently running (including retrying)." + }, + { + "value": "completed", + "description": "The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures)." + } + ] + } + }, + "taskRootDirectory": { + "type": "string", + "title": "The root directory of the Job Release Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files." + }, + "taskRootDirectoryUrl": { + "type": "string", + "title": "The URL to the root directory of the Job Release Task on the Compute Node." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "title": "The exit code of the program specified on the Task command line.", + "description": "This parameter is returned only if the Task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the Compute Node operating system, such as when a process is forcibly terminated." + }, + "containerInfo": { + "$ref": "#/definitions/TaskContainerExecutionInformation", + "title": "Information about the container under which the Task is executing.", + "description": "This property is set only if the Task runs in a container context." + }, + "failureInfo": { + "$ref": "#/definitions/TaskFailureInformation", + "title": "Information describing the Task failure, if any.", + "description": "This property is set only if the Task is in the completed state and encountered a failure." + }, + "result": { + "$ref": "#/definitions/TaskExecutionResult", + "title": "The result of the Task execution.", + "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." + } + }, + "required": [ + "startTime", + "state" + ], + "title": "Contains information about the execution of a Job Release Task on a Compute Node." + }, + "JobPreparationAndReleaseTaskExecutionInformation": { + "properties": { + "poolId": { + "type": "string", + "title": "The ID of the Pool containing the Compute Node to which this entry refers." + }, + "nodeId": { + "type": "string", + "title": "The ID of the Compute Node to which this entry refers." + }, + "nodeUrl": { + "type": "string", + "title": "The URL of the Compute Node to which this entry refers." + }, + "jobPreparationTaskExecutionInfo": { + "$ref": "#/definitions/JobPreparationTaskExecutionInformation", + "title": "Information about the execution status of the Job Preparation Task on this Compute Node." + }, + "jobReleaseTaskExecutionInfo": { + "$ref": "#/definitions/JobReleaseTaskExecutionInformation", + "title": "Information about the execution status of the Job Release Task on this Compute Node.", + "description": "This property is set only if the Job Release Task has run on the Compute Node." + } + }, + "title": "The status of the Job Preparation and Job Release Tasks on a Compute Node." + }, + "CloudJobListPreparationAndReleaseTaskStatusResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobPreparationAndReleaseTaskExecutionInformation" + }, + "title": "A list of Job Preparation and Job Release Task execution information." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the status of the Job Preparation and Job Release Tasks for a Job." + }, + "TaskCounts": { + "properties": { + "active": { + "type": "integer", + "format": "int32", + "title": "The number of Tasks in the active state." + }, + "running": { + "type": "integer", + "format": "int32", + "title": "The number of Tasks in the running or preparing state." + }, + "completed": { + "type": "integer", + "format": "int32", + "title": "The number of Tasks in the completed state." + }, + "succeeded": { + "type": "integer", + "format": "int32", + "title": "The number of Tasks which succeeded. A Task succeeds if its result (found in the executionInfo property) is 'success'." + }, + "failed": { + "type": "integer", + "format": "int32", + "title": "The number of Tasks which failed. A Task fails if its result (found in the executionInfo property) is 'failure'." + } + }, + "required": [ + "active", + "running", + "completed", + "succeeded", + "failed" + ], + "title": "The Task counts for a Job." + }, + "AutoScaleRunError": { + "properties": { + "code": { + "type": "string", + "title": "An identifier for the autoscale error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the autoscale error, intended to be suitable for display in a user interface." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "A list of additional error details related to the autoscale error." + } + }, + "title": "An error that occurred when executing or evaluating a Pool autoscale formula." + }, + "AutoScaleRun": { + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "title": "The time at which the autoscale formula was last evaluated." + }, + "results": { + "type": "string", + "title": "The final values of all variables used in the evaluation of the autoscale formula.", + "description": "Each variable value is returned in the form $variable=value, and variables are separated by semicolons." + }, + "error": { + "$ref": "#/definitions/AutoScaleRunError", + "title": "Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful." + } + }, + "required": [ + "timestamp" + ], + "title": "The results and errors from an execution of a Pool autoscale formula." + }, + "ResizeError": { + "properties": { + "code": { + "type": "string", + "title": "An identifier for the Pool resize error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the Pool resize error, intended to be suitable for display in a user interface." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "A list of additional error details related to the Pool resize error." + } + }, + "title": "An error that occurred when resizing a Pool." + }, + "CloudServiceConfiguration": { + "properties": { + "osFamily": { + "type": "string", + "title": "The Azure Guest OS family to be installed on the virtual machines in the Pool.", + "description": "Possible values are:\n2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1.\n3 - OS Family 3, equivalent to Windows Server 2012.\n4 - OS Family 4, equivalent to Windows Server 2012 R2.\n5 - OS Family 5, equivalent to Windows Server 2016.\n6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases)." + }, + "osVersion": { + "type": "string", + "title": "The Azure Guest OS version to be installed on the virtual machines in the Pool.", + "description": "The default value is * which specifies the latest operating system version for the specified OS family." + } + }, + "required": [ + "osFamily" + ], + "title": "The configuration for Compute Nodes in a Pool based on the Azure Cloud Services platform." + }, + "ImageReference": { + "properties": { + "publisher": { + "type": "string", + "title": "The publisher of the Azure Virtual Machines Marketplace Image.", + "description": "For example, Canonical or MicrosoftWindowsServer." + }, + "offer": { + "type": "string", + "title": "The offer type of the Azure Virtual Machines Marketplace Image.", + "description": "For example, UbuntuServer or WindowsServer." + }, + "sku": { + "type": "string", + "title": "The SKU of the Azure Virtual Machines Marketplace Image.", + "description": "For example, 18.04-LTS or 2019-Datacenter." + }, + "version": { + "type": "string", + "title": "The version of the Azure Virtual Machines Marketplace Image.", + "description": "A value of 'latest' can be specified to select the latest version of an Image. If omitted, the default is 'latest'." + }, + "virtualMachineImageId": { + "type": "string", + "title": "The ARM resource identifier of the Virtual Machine Image or Shared Image Gallery Image. Computes Compute Nodes of the Pool will be created using this Image Id. This is of either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName} for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId} for SIG image.", + "description": "This property is mutually exclusive with other ImageReference properties. For Virtual Machine Image it must be in the same region and subscription as the Azure Batch account. For SIG image it must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch Compute Node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration." + } + }, + "title": "A reference to an Azure Virtual Machines Marketplace Image or a custom Azure Virtual Machine Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List supported Images' operation." + }, + "WindowsConfiguration": { + "properties": { + "enableAutomaticUpdates": { + "type": "boolean", + "title": "Whether automatic updates are enabled on the virtual machine.", + "description": "If omitted, the default value is true." + } + }, + "title": "Windows operating system settings to apply to the virtual machine." + }, + "DataDisk": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "title": "The logical unit number.", + "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun." + }, + "caching": { + "$ref": "#/definitions/CachingType", + "title": "The type of caching to be enabled for the data disks.", + "description": "The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "title": "The initial disk size in gigabytes." + }, + "storageAccountType": { + "title": "The storage Account type to be used for the data disk.", + "description": "If omitted, the default is \"standard_lrs\".", + "$ref": "#/definitions/StorageAccountType" + } + }, + "required": [ + "lun", + "diskSizeGB" + ], + "title": "Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them." + }, + "StorageAccountType": { + "type": "string", + "title": "The storage Account type for use in creating data disks.", + "enum": [ + "standard_lrs", + "premium_lrs" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": false, + "values": [ + { + "value": "standard_lrs", + "description": "The data disk should use standard locally redundant storage.", + "name": "StandardLRS" + }, + { + "value": "premium_lrs", + "description": "The data disk should use premium locally redundant storage.", + "name": "PremiumLRS" + } + ] + } + }, + "CachingType": { + "type": "string", + "title": "The type of caching to enable for the disk.", + "description": "The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.", + "enum": [ + "none", + "readonly", + "readwrite" + ], + "x-ms-enum": { + "name": "CachingType", + "modelAsString": false, + "values": [ + { + "value": "none", + "description": "The caching mode for the disk is not enabled." + }, + { + "value": "readonly", + "description": "The caching mode for the disk is read only.", + "name": "readOnly" + }, + { + "value": "readwrite", + "description": "The caching mode for the disk is read and write.", + "name": "readWrite" + } + ] + } + }, + "VirtualMachineConfiguration": { + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "title": "A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use." + }, + "nodeAgentSKUId": { + "type": "string", + "title": "The SKU of the Batch Compute Node agent to be provisioned on Compute Nodes in the Pool.", + "description": "The Batch Compute Node agent is a program that runs on each Compute Node in the Pool, and provides the command-and-control interface between the Compute Node and the Batch service. There are different implementations of the Compute Node agent, known as SKUs, for different operating systems. You must specify a Compute Node agent SKU which matches the selected Image reference. To get the list of supported Compute Node agent SKUs along with their list of verified Image references, see the 'List supported Compute Node agent SKUs' operation." + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "title": "Windows operating system settings on the virtual machine.", + "description": "This property must not be specified if the imageReference property specifies a Linux OS Image." + }, + "dataDisks": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + }, + "title": "The configuration for data disks attached to the Compute Nodes in the Pool.", + "description": "This property must be specified if the Compute Nodes in the Pool need to have empty data disks attached to them. This cannot be updated. Each Compute Node gets its own disk (the disk is not a file share). Existing disks cannot be attached, each attached disk is empty. When the Compute Node is removed from the Pool, the disk and all data associated with it is also deleted. The disk is not formatted after being attached, it must be formatted before use - for more information see https://docs.microsoft.com/en-us/azure/virtual-machines/linux/classic/attach-disk#initialize-a-new-data-disk-in-linux and https://docs.microsoft.com/en-us/azure/virtual-machines/windows/attach-disk-ps#add-an-empty-data-disk-to-a-virtual-machine." + }, + "licenseType": { + "type": "string", + "title": "The type of on-premises license to be used when deploying the operating system.", + "description": "This only applies to Images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the Compute Nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:\n\n Windows_Server - The on-premises license is for Windows Server.\n Windows_Client - The on-premises license is for Windows Client.\n" + }, + "containerConfiguration": { + "$ref": "#/definitions/ContainerConfiguration", + "title": "The container configuration for the Pool.", + "description": "If specified, setup is performed on each Compute Node in the Pool to allow Tasks to run in containers. All regular Tasks and Job manager Tasks run on this Pool must specify the containerSettings property, and all other Tasks may specify it." + } + }, + "required": [ + "nodeAgentSKUId", + "imageReference" + ], + "title": "The configuration for Compute Nodes in a Pool based on the Azure Virtual Machines infrastructure." + }, + "ContainerRegistry": { + "properties": { + "registryServer": { + "type": "string", + "title": "The registry URL.", + "description": "If omitted, the default is \"docker.io\"." + }, + "username": { + "type": "string", + "x-ms-client-name": "userName", + "title": "The user name to log into the registry server." + }, + "password": { + "type": "string", + "title": "The password to log into the registry server." + } + }, + "required": [ + "username", + "password" + ], + "title": "A private container registry." + }, + "ContainerConfiguration": { + "properties": { + "type": { + "type": "string", + "title": "The container technology to be used.", + "enum": [ + "dockerCompatible" + ], + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": false, + "values": [ + { + "value": "dockerCompatible", + "description": "A Docker compatible container technology will be used to launch the containers." + } + ] + } + }, + "containerImageNames": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The collection of container Image names.", + "description": "This is the full Image reference, as would be specified to \"docker pull\". An Image will be sourced from the default Docker registry unless the Image is fully qualified with an alternative registry." + }, + "containerRegistries": { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerRegistry" + }, + "title": "Additional private registries from which containers can be pulled.", + "description": "If any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." + } + }, + "required": [ + "type" + ], + "title": "The configuration for container-enabled Pools." + }, + "NetworkConfiguration": { + "properties": { + "subnetId": { + "type": "string", + "title": "The ARM resource identifier of the virtual network subnet which the Compute Nodes of the Pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.", + "description": "The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes in the Pool. If the subnet doesn't have enough free IP addresses, the Pool will partially allocate Nodes, and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. For Pools created with virtualMachineConfiguration only ARM virtual networks ('Microsoft.Network/virtualNetworks') are supported, but for Pools created with cloudServiceConfiguration both ARM and classic virtual networks are supported. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For Pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For Pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration", + "externalDocs": { + "url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor", + "description": "Setting up RBAC for Azure Batch VNETs" + } + }, + "dynamicVNetAssignmentScope": { + "type": "string", + "title": "The scope of dynamic vnet assignment.", + "enum": [ + "none", + "job" + ], + "x-ms-enum": { + "name": "DynamicVNetAssignmentScope", + "modelAsString": false, + "values": [ + { + "value": "none", + "description": "No dynamic VNet assignment is enabled." + }, + { + "value": "job", + "description": "Dynamic VNet assignment is done per-job." + } + ] + } + }, + "endpointConfiguration": { + "$ref": "#/definitions/PoolEndpointConfiguration", + "title": "The configuration for endpoints on Compute Nodes in the Batch Pool.", + "description": "Pool endpoint configuration is only supported on Pools with the virtualMachineConfiguration property." + }, + "publicIPs": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.", + "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." + } + }, + "description": "The network configuration for a Pool." + }, + "CloudPool": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Pool within the Account.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "The display name for the Pool.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "url": { + "type": "string", + "title": "The URL of the Pool." + }, + "eTag": { + "type": "string", + "title": "The ETag of the Pool.", + "description": "This is an opaque string. You can use it to detect whether the Pool has changed between requests. In particular, you can be pass the ETag when updating a Pool to specify that your changes should take effect only if nobody else has modified the Pool in the meantime." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The last modified time of the Pool.", + "description": "This is the last time at which the Pool level data, such as the targetDedicatedNodes or enableAutoscale settings, changed. It does not factor in node-level changes such as a Compute Node changing state." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "title": "The creation time of the Pool." + }, + "state": { + "type": "string", + "title": "The current state of the Pool.", + "enum": [ + "active", + "deleting" + ], + "x-ms-enum": { + "name": "PoolState", + "modelAsString": false, + "values": [ + { + "value": "active", + "description": "The Pool is available to run Tasks subject to the availability of Compute Nodes." + }, + { + "value": "deleting", + "description": "The user has requested that the Pool be deleted, but the delete operation has not yet completed." + } + ] + } + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Pool entered its current state." + }, + "allocationState": { + "type": "string", + "title": "Whether the Pool is resizing.", + "enum": [ + "steady", + "resizing", + "stopping" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": false, + "values": [ + { + "value": "steady", + "description": "The Pool is not resizing. There are no changes to the number of Compute Nodes in the Pool in progress. A Pool enters this state when it is created and when no operations are being performed on the Pool to change the number of Compute Nodes." + }, + { + "value": "resizing", + "description": "The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool." + }, + { + "value": "stopping", + "description": "The Pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed." + } + ] + } + }, + "allocationStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Pool entered its current allocation state." + }, + "vmSize": { + "type": "string", + "title": "The size of virtual machines in the Pool. All virtual machines in a Pool are the same size.", + "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)." + }, + "cloudServiceConfiguration": { + "$ref": "#/definitions/CloudServiceConfiguration", + "title": "The cloud service configuration for the Pool.", + "description": "This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "title": "The virtual machine configuration for the Pool.", + "description": "This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified." + }, + "resizeTimeout": { + "type": "string", + "format": "duration", + "title": "The timeout for allocation of Compute Nodes to the Pool.", + "description": "This is the timeout for the most recent resize operation. (The initial sizing when the Pool is created counts as a resize.) The default value is 15 minutes." + }, + "resizeErrors": { + "type": "array", + "items": { + "$ref": "#/definitions/ResizeError" + }, + "title": "A list of errors encountered while performing the last resize on the Pool.", + "description": "This property is set only if one or more errors occurred during the last Pool resize, and only when the Pool allocationState is Steady." + }, + "currentDedicatedNodes": { + "type": "integer", + "format": "int32", + "title": "The number of dedicated Compute Nodes currently in the Pool." + }, + "currentLowPriorityNodes": { + "type": "integer", + "format": "int32", + "title": "The number of low-priority Compute Nodes currently in the Pool.", + "description": "Low-priority Compute Nodes which have been preempted are included in this count." + }, + "targetDedicatedNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of dedicated Compute Nodes in the Pool." + }, + "targetLowPriorityNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of low-priority Compute Nodes in the Pool." + }, + "enableAutoScale": { + "type": "boolean", + "title": "Whether the Pool size should automatically adjust over time.", + "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false." + }, + "autoScaleFormula": { + "type": "string", + "title": "A formula for the desired number of Compute Nodes in the Pool.", + "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true." + }, + "autoScaleEvaluationInterval": { + "type": "string", + "format": "duration", + "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.", + "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true." + }, + "autoScaleRun": { + "$ref": "#/definitions/AutoScaleRun", + "title": "The results and errors from the last execution of the autoscale formula.", + "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true." + }, + "enableInterNodeCommunication": { + "type": "boolean", + "title": "Whether the Pool permits direct communication between Compute Nodes.", + "description": "This imposes restrictions on which Compute Nodes can be assigned to the Pool. Specifying this value can reduce the chance of the requested number of Compute Nodes to be allocated in the Pool." + }, + "networkConfiguration": { + "$ref": "#/definitions/NetworkConfiguration", + "title": "The network configuration for the Pool." + }, + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "A Task specified to run on each Compute Node as it joins the Pool." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "The list of Certificates to be installed on each Compute Node in the Pool.", + "description": "For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "The list of Packages to be installed on each Compute Node in the Pool.", + "description": "Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool." + }, + "applicationLicenses": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of application licenses the Batch service will make available on each Compute Node in the Pool.", + "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, Pool creation will fail." + }, + "maxTasksPerNode": { + "type": "integer", + "format": "int32", + "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.", + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256." + }, + "taskSchedulingPolicy": { + "$ref": "#/definitions/TaskSchedulingPolicy", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", + "description": "If not specified, the default is spread." + }, + "userAccounts": { + "type": "array", + "items": { + "$ref": "#/definitions/UserAccount" + }, + "title": "The list of user Accounts to be created on each Compute Node in the Pool." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Pool as metadata." + }, + "stats": { + "$ref": "#/definitions/PoolStatistics", + "title": "Utilization and resource usage statistics for the entire lifetime of the Pool.", + "description": "This property is populated only if the CloudPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes." + }, + "mountConfiguration": { + "type": "array", + "items": { + "$ref": "#/definitions/MountConfiguration" + }, + "title": "A list of file systems to mount on each node in the pool.", + "description": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse." + } + }, + "title": "A Pool in the Azure Batch service." + }, + "PoolAddParameter": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Pool within the Account.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two Pool IDs within an Account that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "The display name for the Pool.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "vmSize": { + "type": "string", + "title": "The size of virtual machines in the Pool. All virtual machines in a Pool are the same size.", + "description": "For information about available sizes of virtual machines for Cloud Services Pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. For information about available VM sizes for Pools using Images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)." + }, + "cloudServiceConfiguration": { + "$ref": "#/definitions/CloudServiceConfiguration", + "title": "The cloud service configuration for the Pool.", + "description": "This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "title": "The virtual machine configuration for the Pool.", + "description": "This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified." + }, + "resizeTimeout": { + "type": "string", + "format": "duration", + "title": "The timeout for allocation of Compute Nodes to the Pool.", + "description": "This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "targetDedicatedNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of dedicated Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both." + }, + "targetLowPriorityNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of low-priority Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both." + }, + "enableAutoScale": { + "type": "boolean", + "title": "Whether the Pool size should automatically adjust over time.", + "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false." + }, + "autoScaleFormula": { + "type": "string", + "title": "A formula for the desired number of Compute Nodes in the Pool.", + "description": "This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the Pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see 'Automatically scale Compute Nodes in an Azure Batch Pool' (https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/)." + }, + "autoScaleEvaluationInterval": { + "type": "string", + "format": "duration", + "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.", + "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "enableInterNodeCommunication": { + "type": "boolean", + "title": "Whether the Pool permits direct communication between Compute Nodes.", + "description": "Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false." + }, + "networkConfiguration": { + "$ref": "#/definitions/NetworkConfiguration", + "title": "The network configuration for the Pool." + }, + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "A Task specified to run on each Compute Node as it joins the Pool.", + "description": "The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "The list of Certificates to be installed on each Compute Node in the Pool.", + "description": "For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "The list of Packages to be installed on each Compute Node in the Pool.", + "description": "Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool." + }, + "applicationLicenses": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of application licenses the Batch service will make available on each Compute Node in the Pool.", + "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, Pool creation will fail." + }, + "maxTasksPerNode": { + "type": "integer", + "format": "int32", + "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.", + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256." + }, + "taskSchedulingPolicy": { + "$ref": "#/definitions/TaskSchedulingPolicy", + "title": "How Tasks are distributed across Compute Nodes in a Pool.", + "description": "If not specified, the default is spread." + }, + "userAccounts": { + "type": "array", + "items": { + "$ref": "#/definitions/UserAccount" + }, + "title": "The list of user Accounts to be created on each Compute Node in the Pool." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Pool as metadata.", + "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." + }, + "mountConfiguration": { + "type": "array", + "items": { + "$ref": "#/definitions/MountConfiguration" + }, + "title": "Mount storage using specified file system for the entire lifetime of the pool.", + "description": "Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system." + } + }, + "required": [ + "id", + "vmSize" + ], + "title": "A Pool in the Azure Batch service to add." + }, + "ApplicationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationSummary" + }, + "title": "The list of applications available in the Account." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the applications available in an Account." + }, + "CloudPoolListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudPool" + }, + "title": "The list of Pools." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Pools in an Account." + }, + "AffinityInformation": { + "properties": { + "affinityId": { + "type": "string", + "title": "An opaque string representing the location of a Compute Node or a Task that has run previously.", + "description": "You can pass the affinityId of a Node to indicate that this Task needs to run on that Compute Node. Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere." + } + }, + "required": [ + "affinityId" + ], + "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task." + }, + "TaskExecutionInformation": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task started running.", + "description": "'Running' corresponds to the running state, so if the Task specifies resource files or Packages, then the start time reflects the time at which the Task started downloading or deploying these. If the Task has been restarted or retried, this is the most recent time at which the Task started running. This property is present only for Tasks that are in the running or completed state." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task completed.", + "description": "This property is set only if the Task is in the Completed state." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "title": "The exit code of the program specified on the Task command line.", + "description": "This property is set only if the Task is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the Task (due to timeout, or user termination via the API) you may see an operating system-defined exit code." + }, + "containerInfo": { + "$ref": "#/definitions/TaskContainerExecutionInformation", + "title": "Information about the container under which the Task is executing.", + "description": "This property is set only if the Task runs in a container context." + }, + "failureInfo": { + "$ref": "#/definitions/TaskFailureInformation", + "title": "Information describing the Task failure, if any.", + "description": "This property is set only if the Task is in the completed state and encountered a failure." + }, + "retryCount": { + "type": "integer", + "format": "int32", + "title": "The number of times the Task has been retried by the Batch service.", + "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints." + }, + "lastRetryTime": { + "type": "string", + "format": "date-time", + "title": "The most recent time at which a retry of the Task started running.", + "description": "This element is present only if the Task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the Task has been restarted for reasons other than retry; for example, if the Compute Node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." + }, + "requeueCount": { + "type": "integer", + "format": "int32", + "title": "The number of times the Task has been requeued by the Batch service as the result of a user request.", + "description": "When the user removes Compute Nodes from a Pool (by resizing/shrinking the pool) or when the Job is being disabled, the user can specify that running Tasks on the Compute Nodes be requeued for execution. This count tracks how many times the Task has been requeued for these reasons." + }, + "lastRequeueTime": { + "type": "string", + "format": "date-time", + "title": "The most recent time at which the Task has been requeued by the Batch service as the result of a user request.", + "description": "This property is set only if the requeueCount is nonzero." + }, + "result": { + "$ref": "#/definitions/TaskExecutionResult", + "title": "The result of the Task execution.", + "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." + } + }, + "required": [ + "requeueCount", + "retryCount" + ], + "title": "Information about the execution of a Task." + }, + "ComputeNodeInformation": { + "properties": { + "affinityId": { + "type": "string", + "title": "An identifier for the Node on which the Task ran, which can be passed when adding a Task to request that the Task be scheduled on this Compute Node." + }, + "nodeUrl": { + "type": "string", + "title": "The URL of the Compute Node on which the Task ran. " + }, + "poolId": { + "type": "string", + "title": "The ID of the Pool on which the Task ran." + }, + "nodeId": { + "type": "string", + "title": "The ID of the Compute Node on which the Task ran." + }, + "taskRootDirectory": { + "type": "string", + "title": "The root directory of the Task on the Compute Node." + }, + "taskRootDirectoryUrl": { + "type": "string", + "title": "The URL to the root directory of the Task on the Compute Node." + } + }, + "title": "Information about the Compute Node on which a Task ran." + }, + "NodeAgentInformation": { + "properties": { + "version": { + "type": "string", + "title": "The version of the Batch Compute Node agent running on the Compute Node.", + "description": "This version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time when the Compute Node agent was updated on the Compute Node.", + "description": "This is the most recent time that the Compute Node agent was updated to a new version." + } + }, + "required": [ + "version", + "lastUpdateTime" + ], + "title": "Information about the Compute Node agent.", + "description": "The Batch Compute Node agent is a program that runs on each Compute Node in the Pool and provides Batch capability on the Compute Node." + }, + "MultiInstanceSettings": { + "properties": { + "numberOfInstances": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes required by the Task.", + "description": "If omitted, the default is 1." + }, + "coordinationCommandLine": { + "type": "string", + "title": "The command line to run on all the Compute Nodes to enable them to coordinate when the primary runs the main Task command.", + "description": "A typical coordination command line launches a background service and verifies that the service is ready to process inter-node messages." + }, + "commonResourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download before running the coordination command line.", + "description": "The difference between common resource files and Task resource files is that common resource files are downloaded for all subtasks including the primary, whereas Task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the Task working directory, but instead are downloaded to the Task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." + } + }, + "required": [ + "coordinationCommandLine" + ], + "title": "Settings which specify how to run a multi-instance Task.", + "description": "Multi-instance Tasks are commonly used to support MPI Tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance Task fails. The multi-instance Task is then terminated and retried, up to its retry limit." + }, + "TaskStatistics": { + "properties": { + "url": { + "type": "string", + "title": "The URL of the statistics." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start time of the time range covered by the statistics." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime." + }, + "userCPUTime": { + "type": "string", + "format": "duration", + "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task." + }, + "kernelCPUTime": { + "type": "string", + "format": "duration", + "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task." + }, + "wallClockTime": { + "type": "string", + "format": "duration", + "title": "The total wall clock time of the Task.", + "description": "The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries." + }, + "readIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk read operations made by the Task." + }, + "writeIOps": { + "type": "integer", + "format": "int64", + "title": "The total number of disk write operations made by the Task." + }, + "readIOGiB": { + "type": "number", + "format": "double", + "title": "The total gibibytes read from disk by the Task." + }, + "writeIOGiB": { + "type": "number", + "format": "double", + "title": "The total gibibytes written to disk by the Task." + }, + "waitTime": { + "type": "string", + "format": "duration", + "title": "The total wait time of the Task. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.)" + } + }, + "required": [ + "url", + "startTime", + "lastUpdateTime", + "userCPUTime", + "kernelCPUTime", + "wallClockTime", + "readIOps", + "writeIOps", + "readIOGiB", + "writeIOGiB", + "waitTime" + ], + "title": "Resource usage statistics for a Task." + }, + "TaskDependencies": { + "properties": { + "taskIds": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of Task IDs that this Task depends on. All Tasks in this list must complete successfully before the dependent Task can be scheduled.", + "description": "The taskIds collection is limited to 64000 characters total (i.e. the combined length of all Task IDs). If the taskIds collection exceeds the maximum length, the Add Task request fails with error code TaskDependencyListTooLong. In this case consider using Task ID ranges instead." + }, + "taskIdRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskIdRange" + }, + "title": "The list of Task ID ranges that this Task depends on. All Tasks in all ranges must complete successfully before the dependent Task can be scheduled." + } + }, + "title": "Specifies any dependencies of a Task. Any Task that is explicitly specified or within a dependency range must complete before the dependant Task will be scheduled." + }, + "TaskIdRange": { + "properties": { + "start": { + "type": "integer", + "format": "int32", + "title": "The first Task ID in the range." + }, + "end": { + "type": "integer", + "format": "int32", + "title": "The last Task ID in the range." + } + }, + "title": "A range of Task IDs that a Task can depend on. All Tasks with IDs in the range must complete successfully before the dependent Task can be scheduled.", + "description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.", + "required": [ + "start", + "end" + ] + }, + "CloudTask": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Task within the Job.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters." + }, + "displayName": { + "type": "string", + "title": "A display name for the Task.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "url": { + "type": "string", + "title": "The URL of the Task." + }, + "eTag": { + "type": "string", + "title": "The ETag of the Task.", + "description": "This is an opaque string. You can use it to detect whether the Task has changed between requests. In particular, you can be pass the ETag when updating a Task to specify that your changes should take effect only if nobody else has modified the Task in the meantime." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The last modified time of the Task." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "title": "The creation time of the Task." + }, + "exitConditions": { + "$ref": "#/definitions/ExitConditions", + "description": "How the Batch service should respond when the Task completes." + }, + "state": { + "title": "The current state of the Task.", + "$ref": "#/definitions/TaskState" + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task entered its current state." + }, + "previousState": { + "title": "The previous state of the Task.", + "description": "This property is not set if the Task is in its initial Active state.", + "$ref": "#/definitions/TaskState" + }, + "previousStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Task entered its previous state.", + "description": "This property is not set if the Task is in its initial Active state." + }, + "commandLine": { + "type": "string", + "title": "The command line of the Task.", + "description": "For multi-instance Tasks, the command line is executed as the primary Task, after the primary Task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the Task runs.", + "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line.", + "description": "For multi-instance Tasks, the resource files will only be downloaded to the Compute Node on which the primary Task is executed. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." + }, + "outputFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputFile" + }, + "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.", + "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the Task." + }, + "affinityInfo": { + "$ref": "#/definitions/AffinityInformation", + "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task." + }, + "constraints": { + "$ref": "#/definitions/TaskConstraints", + "title": "The execution constraints that apply to this Task." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the Task runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task." + }, + "executionInfo": { + "$ref": "#/definitions/TaskExecutionInformation", + "title": "Information about the execution of the Task." + }, + "nodeInfo": { + "$ref": "#/definitions/ComputeNodeInformation", + "title": "Information about the Compute Node on which the Task ran." + }, + "multiInstanceSettings": { + "$ref": "#/definitions/MultiInstanceSettings", + "title": "An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task." + }, + "stats": { + "$ref": "#/definitions/TaskStatistics", + "title": "Resource usage statistics for the Task." + }, + "dependsOn": { + "$ref": "#/definitions/TaskDependencies", + "title": "The Tasks that this Task depends on.", + "description": "This Task will not be scheduled until all Tasks that it depends on have completed successfully. If any of those Tasks fail and exhaust their retry counts, this Task will never be scheduled." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "A list of Packages that the Batch service will deploy to the Compute Node before running the command line.", + "description": "Application packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced package is already on the Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails." + }, + "authenticationTokenSettings": { + "title": "The settings for an authentication token that the Task can use to perform Batch service operations.", + "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.", + "$ref": "#/definitions/AuthenticationTokenSettings" + } + }, + "title": "An Azure Batch Task.", + "description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." + }, + "TaskAddParameter": { + "properties": { + "id": { + "type": "string", + "title": "A string that uniquely identifies the Task within the Job.", + "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within a Job that differ only by case)." + }, + "displayName": { + "type": "string", + "title": "A display name for the Task.", + "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." + }, + "commandLine": { + "type": "string", + "title": "The command line of the Task.", + "description": "For multi-instance Tasks, the command line is executed as the primary Task, after the primary Task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)." + }, + "containerSettings": { + "$ref": "#/definitions/TaskContainerSettings", + "title": "The settings for the container under which the Task runs.", + "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files." + }, + "exitConditions": { + "$ref": "#/definitions/ExitConditions", + "description": "How the Batch service should respond when the Task completes." + }, + "resourceFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceFile" + }, + "title": "A list of files that the Batch service will download to the Compute Node before running the command line.", + "description": "For multi-instance Tasks, the resource files will only be downloaded to the Compute Node on which the primary Task is executed. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers." + }, + "outputFiles": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputFile" + }, + "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.", + "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed." + }, + "environmentSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSetting" + }, + "title": "A list of environment variable settings for the Task." + }, + "affinityInfo": { + "$ref": "#/definitions/AffinityInformation", + "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task." + }, + "constraints": { + "$ref": "#/definitions/TaskConstraints", + "title": "The execution constraints that apply to this Task.", + "description": "If you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the Job, the maxWallClockTime is infinite, and the retentionTime is 7 days." + }, + "userIdentity": { + "$ref": "#/definitions/UserIdentity", + "title": "The user identity under which the Task runs.", + "description": "If omitted, the Task runs as a non-administrative user unique to the Task." + }, + "multiInstanceSettings": { + "$ref": "#/definitions/MultiInstanceSettings", + "title": "An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task." + }, + "dependsOn": { + "$ref": "#/definitions/TaskDependencies", + "title": "The Tasks that this Task depends on.", + "description": "This Task will not be scheduled until all Tasks that it depends on have completed successfully. If any of those Tasks fail and exhaust their retry counts, this Task will never be scheduled. If the Job does not have usesTaskDependencies set to true, and this element is present, the request fails with error code TaskDependenciesNotSpecifiedOnJob." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "A list of Packages that the Batch service will deploy to the Compute Node before running the command line.", + "description": "Application packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced package is already on the Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails." + }, + "authenticationTokenSettings": { + "title": "The settings for an authentication token that the Task can use to perform Batch service operations.", + "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.", + "$ref": "#/definitions/AuthenticationTokenSettings" + } + }, + "required": [ + "id", + "commandLine" + ], + "title": "An Azure Batch Task to add.", + "description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing." + }, + "TaskAddCollectionParameter": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskAddParameter" + }, + "maxItems": 100, + "title": "The collection of Tasks to add. The maximum count of Tasks is 100.", + "description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks." + } + }, + "required": [ + "value" + ], + "title": "A collection of Azure Batch Tasks to add." + }, + "TaskAddResult": { + "properties": { + "status": { + "type": "string", + "title": "The status of the add Task request.", + "enum": [ + "success", + "clienterror", + "servererror" + ], + "x-ms-enum": { + "name": "TaskAddStatus", + "modelAsString": false, + "values": [ + { + "value": "success", + "description": "The Task was added successfully." + }, + { + "value": "clienterror", + "description": "The Task failed to add due to a client error and should not be retried without modifying the request as appropriate.", + "name": "clientError" + }, + { + "value": "servererror", + "description": "Task failed to add due to a server error and can be retried without modification.", + "name": "serverError" + } + ] + } + }, + "taskId": { + "type": "string", + "title": "The ID of the Task for which this is the result." + }, + "eTag": { + "type": "string", + "title": "The ETag of the Task, if the Task was successfully added.", + "description": "You can use this to detect whether the Task has changed between requests. In particular, you can be pass the ETag with an Update Task request to specify that your changes should take effect only if nobody else has modified the Job in the meantime." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "The last modified time of the Task." + }, + "location": { + "type": "string", + "title": "The URL of the Task, if the Task was successfully added." + }, + "error": { + "$ref": "#/definitions/BatchError", + "title": "The error encountered while attempting to add the Task." + } + }, + "required": [ + "status", + "taskId" + ], + "title": "Result for a single Task added as part of an add Task collection operation." + }, + "TaskAddCollectionResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskAddResult" + }, + "title": "The results of the add Task collection operation." + } + }, + "title": "The result of adding a collection of Tasks to a Job." + }, + "SubtaskInformation": { + "properties": { + "id": { + "type": "integer", + "format": "int32", + "title": "The ID of the subtask." + }, + "nodeInfo": { + "$ref": "#/definitions/ComputeNodeInformation", + "title": "Information about the Compute Node on which the subtask ran." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the subtask started running. If the subtask has been restarted or retried, this is the most recent time at which the subtask started running." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the subtask completed.", + "description": "This property is set only if the subtask is in the Completed state." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "title": "The exit code of the program specified on the subtask command line.", + "description": "This property is set only if the subtask is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the subtask (due to timeout, or user termination via the API) you may see an operating system-defined exit code." + }, + "containerInfo": { + "$ref": "#/definitions/TaskContainerExecutionInformation", + "title": "Information about the container under which the Task is executing.", + "description": "This property is set only if the Task runs in a container context." + }, + "failureInfo": { + "$ref": "#/definitions/TaskFailureInformation", + "title": "Information describing the Task failure, if any.", + "description": "This property is set only if the Task is in the completed state and encountered a failure." + }, + "state": { + "title": "The current state of the subtask.", + "$ref": "#/definitions/SubtaskState" + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the subtask entered its current state." + }, + "previousState": { + "title": "The previous state of the subtask.", + "description": "This property is not set if the subtask is in its initial running state.", + "$ref": "#/definitions/SubtaskState" + }, + "previousStateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the subtask entered its previous state.", + "description": "This property is not set if the subtask is in its initial running state." + }, + "result": { + "$ref": "#/definitions/TaskExecutionResult", + "title": "The result of the Task execution.", + "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." + } + }, + "title": "Information about an Azure Batch subtask." + }, + "CloudTaskListSubtasksResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SubtaskInformation" + }, + "title": "The list of subtasks." + } + }, + "title": "The result of listing the subtasks of a Task." + }, + "CloudTaskListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudTask" + }, + "title": "The list of Tasks." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Tasks in a Job." + }, + "TaskInformation": { + "properties": { + "taskUrl": { + "type": "string", + "title": "The URL of the Task." + }, + "jobId": { + "type": "string", + "title": "The ID of the Job to which the Task belongs." + }, + "taskId": { + "type": "string", + "title": "The ID of the Task." + }, + "subtaskId": { + "type": "integer", + "format": "int32", + "title": "The ID of the subtask if the Task is a multi-instance Task." + }, + "taskState": { + "title": "The current state of the Task.", + "$ref": "#/definitions/TaskState" + }, + "executionInfo": { + "$ref": "#/definitions/TaskExecutionInformation", + "title": "Information about the execution of the Task." + } + }, + "required": [ + "taskState" + ], + "title": "Information about a Task running on a Compute Node." + }, + "StartTaskInformation": { + "properties": { + "state": { + "type": "string", + "title": "The state of the StartTask on the Compute Node.", + "enum": [ + "running", + "completed" + ], + "x-ms-enum": { + "name": "StartTaskState", + "modelAsString": false, + "values": [ + { + "value": "running", + "description": "The StartTask is currently running." + }, + { + "value": "completed", + "description": "The StartTask has exited with exit code 0, or the StartTask has failed and the retry limit has reached, or the StartTask process did not run due to Task preparation errors (such as resource file download failures)." + } + ] + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the StartTask started running.", + "description": "This value is reset every time the Task is restarted or retried (that is, this is the most recent time at which the StartTask started running)." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the StartTask stopped running.", + "description": "This is the end time of the most recent run of the StartTask, if that run has completed (even if that run failed and a retry is pending). This element is not present if the StartTask is currently running." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "title": "The exit code of the program specified on the StartTask command line.", + "description": "This property is set only if the StartTask is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the StartTask (due to timeout, or user termination via the API) you may see an operating system-defined exit code." + }, + "containerInfo": { + "$ref": "#/definitions/TaskContainerExecutionInformation", + "title": "Information about the container under which the Task is executing.", + "description": "This property is set only if the Task runs in a container context." + }, + "failureInfo": { + "$ref": "#/definitions/TaskFailureInformation", + "title": "Information describing the Task failure, if any.", + "description": "This property is set only if the Task is in the completed state and encountered a failure." + }, + "retryCount": { + "type": "integer", + "format": "int32", + "title": "The number of times the Task has been retried by the Batch service.", + "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints." + }, + "lastRetryTime": { + "type": "string", + "format": "date-time", + "title": "The most recent time at which a retry of the Task started running.", + "description": "This element is present only if the Task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the Task has been restarted for reasons other than retry; for example, if the Compute Node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not." + }, + "result": { + "$ref": "#/definitions/TaskExecutionResult", + "title": "The result of the Task execution.", + "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property." + } + }, + "required": [ + "state", + "startTime", + "retryCount" + ], + "title": "Information about a StartTask running on a Compute Node." + }, + "ComputeNodeError": { + "properties": { + "code": { + "type": "string", + "title": "An identifier for the Compute Node error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "title": "A message describing the Compute Node error, intended to be suitable for display in a user interface." + }, + "errorDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "title": "The list of additional error details related to the Compute Node error." + } + }, + "title": "An error encountered by a Compute Node." + }, + "ComputeNode": { + "properties": { + "id": { + "type": "string", + "title": "The ID of the Compute Node.", + "description": "Every Compute Node that is added to a Pool is assigned a unique ID. Whenever a Compute Node is removed from a Pool, all of its local files are deleted, and the ID is reclaimed and could be reused for new Compute Nodes." + }, + "url": { + "type": "string", + "title": "The URL of the Compute Node." + }, + "state": { + "type": "string", + "title": "The current state of the Compute Node.", + "description": "The low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available.", + "enum": [ + "idle", + "rebooting", + "reimaging", + "running", + "unusable", + "creating", + "starting", + "waitingforstarttask", + "starttaskfailed", + "unknown", + "leavingpool", + "offline", + "preempted" + ], + "x-ms-enum": { + "name": "ComputeNodeState", + "modelAsString": false, + "values": [ + { + "value": "idle", + "description": "The Compute Node is not currently running a Task." + }, + { + "value": "rebooting", + "description": "The Compute Node is rebooting." + }, + { + "value": "reimaging", + "description": "The Compute Node is reimaging." + }, + { + "value": "running", + "description": "The Compute Node is running one or more Tasks (other than a StartTask)." + }, + { + "value": "unusable", + "description": "The Compute Node cannot be used for Task execution due to errors." + }, + { + "value": "creating", + "description": "The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool." + }, + { + "value": "starting", + "description": "The Batch service is starting on the underlying virtual machine." + }, + { + "value": "waitingforstarttask", + "description": "The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed.", + "name": "waitingForStartTask" + }, + { + "value": "starttaskfailed", + "description": "The StartTask has failed on the Compute Node (and exhausted all retries), and waitForSuccess is set. The Compute Node is not usable for running Tasks.", + "name": "startTaskFailed" + }, + { + "value": "unknown", + "description": "The Batch service has lost contact with the Compute Node, and does not know its true state." + }, + { + "value": "leavingpool", + "description": "The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down.", + "name": "leavingPool" + }, + { + "value": "offline", + "description": "The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled." + }, + { + "value": "preempted", + "description": "The low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available." + } + ] + } + }, + "schedulingState": { + "type": "string", + "title": "Whether the Compute Node is available for Task scheduling.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "SchedulingState", + "modelAsString": false, + "values": [ + { + "value": "enabled", + "description": "Tasks can be scheduled on the Compute Node." + }, + { + "value": "disabled", + "description": "No new Tasks will be scheduled on the Compute Node. Tasks already running on the Compute Node may still run to completion. All Compute Nodes start with scheduling enabled." + } + ] + } + }, + "stateTransitionTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Compute Node entered its current state." + }, + "lastBootTime": { + "type": "string", + "format": "date-time", + "title": "The last time at which the Compute Node was started.", + "description": "This property may not be present if the Compute Node state is unusable." + }, + "allocationTime": { + "type": "string", + "format": "date-time", + "title": "The time at which this Compute Node was allocated to the Pool.", + "description": "This is the time when the Compute Node was initially allocated and doesn't change once set. It is not updated when the Compute Node is service healed or preempted." + }, + "ipAddress": { + "type": "string", + "title": "The IP address that other Nodes can use to communicate with this Compute Node.", + "description": "Every Compute Node that is added to a Pool is assigned a unique IP address. Whenever a Compute Node is removed from a Pool, all of its local files are deleted, and the IP address is reclaimed and could be reused for new Compute Nodes." + }, + "affinityId": { + "type": "string", + "title": "An identifier which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.", + "description": "Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere." + }, + "vmSize": { + "type": "string", + "title": "The size of the virtual machine hosting the Compute Node.", + "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)." + }, + "totalTasksRun": { + "type": "integer", + "format": "int32", + "title": "The total number of Job Tasks completed on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks." + }, + "runningTasksCount": { + "type": "integer", + "format": "int32", + "title": "The total number of currently running Job Tasks on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks." + }, + "totalTasksSucceeded": { + "type": "integer", + "format": "int32", + "title": "The total number of Job Tasks which completed successfully (with exitCode 0) on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks." + }, + "recentTasks": { + "type": "array", + "items": { + "$ref": "#/definitions/TaskInformation" + }, + "title": "A list of Tasks whose state has recently changed.", + "description": "This property is present only if at least one Task has run on this Compute Node since it was assigned to the Pool." + }, + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "The Task specified to run on the Compute Node as it joins the Pool." + }, + "startTaskInfo": { + "$ref": "#/definitions/StartTaskInformation", + "title": "Runtime information about the execution of the StartTask on the Compute Node." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "The list of Certificates installed on the Compute Node.", + "description": "For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/definitions/ComputeNodeError" + }, + "title": "The list of errors that are currently being encountered by the Compute Node." + }, + "isDedicated": { + "type": "boolean", + "title": "Whether this Compute Node is a dedicated Compute Node. If false, the Compute Node is a low-priority Compute Node." + }, + "endpointConfiguration": { + "$ref": "#/definitions/ComputeNodeEndpointConfiguration", + "title": "The endpoint configuration for the Compute Node." + }, + "nodeAgentInfo": { + "$ref": "#/definitions/NodeAgentInformation", + "title": "Information about the Compute Node agent version and the time the Compute Node upgraded to a new version." + } + }, + "title": "A Compute Node in the Batch service." + }, + "PoolEndpointConfiguration": { + "properties": { + "inboundNATPools": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundNATPool" + }, + "title": "A list of inbound NAT Pools that can be used to address specific ports on an individual Compute Node externally.", + "description": "The maximum number of inbound NAT Pools per Batch Pool is 5. If the maximum number of inbound NAT Pools is exceeded the request fails with HTTP status code 400." + } + }, + "required": [ + "inboundNATPools" + ], + "title": "The endpoint configuration for a Pool." + }, + "InboundNATPool": { + "properties": { + "name": { + "type": "string", + "title": "The name of the endpoint.", + "description": "The name must be unique within a Batch Pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400." + }, + "protocol": { + "$ref": "#/definitions/InboundEndpointProtocol", + "title": "The protocol of the endpoint." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "title": "The port number on the Compute Node.", + "description": "This must be unique within a Batch Pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400." + }, + "frontendPortRangeStart": { + "type": "integer", + "format": "int32", + "title": "The first port number in the range of external ports that will be used to provide inbound access to the backendPort on individual Compute Nodes.", + "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a Pool must be distinct and cannot overlap. Each range must contain at least 40 ports. If any reserved or overlapping values are provided the request fails with HTTP status code 400." + }, + "frontendPortRangeEnd": { + "type": "integer", + "format": "int32", + "title": "The last port number in the range of external ports that will be used to provide inbound access to the backendPort on individual Compute Nodes.", + "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a Pool must be distinct and cannot overlap. Each range must contain at least 40 ports. If any reserved or overlapping values are provided the request fails with HTTP status code 400." + }, + "networkSecurityGroupRules": { + "type": "array", + "title": "A list of network security group rules that will be applied to the endpoint.", + "description": "The maximum number of rules that can be specified across all the endpoints on a Batch Pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.", + "items": { + "$ref": "#/definitions/NetworkSecurityGroupRule" + } + } + }, + "required": [ + "name", + "protocol", + "backendPort", + "frontendPortRangeStart", + "frontendPortRangeEnd" + ], + "title": "A inbound NAT Pool that can be used to address specific ports on Compute Nodes in a Batch Pool externally." + }, + "NetworkSecurityGroupRule": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority for this rule.", + "description": "Priorities within a Pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 3500. If any reserved or duplicate values are provided the request fails with HTTP status code 400." + }, + "access": { + "type": "string", + "title": "The action that should be taken for a specified IP address, subnet range or tag.", + "enum": [ + "allow", + "deny" + ], + "x-ms-enum": { + "name": "NetworkSecurityGroupRuleAccess", + "modelAsString": false, + "values": [ + { + "value": "allow", + "description": "Allow access." + }, + { + "value": "deny", + "description": "Deny access." + } + ] + } + }, + "sourceAddressPrefix": { + "type": "string", + "title": "The source address prefix or tag to match for the rule.", + "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The source port ranges to match for the rule.", + "description": "Valid values are '*' (for all ports 0 - 65535), a specific port (i.e. 22), or a port range (i.e. 100-200). The ports must be in the range of 0 to 65535. Each entry in this collection must not overlap any other entry (either a range or an individual port). If any other values are provided the request fails with HTTP status code 400. The default value is '*'." + } + }, + "required": [ + "priority", + "access", + "sourceAddressPrefix" + ], + "title": "A network security group rule to apply to an inbound endpoint." + }, + "ComputeNodeEndpointConfiguration": { + "properties": { + "inboundEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundEndpoint" + }, + "title": "The list of inbound endpoints that are accessible on the Compute Node." + } + }, + "required": [ + "inboundEndpoints" + ], + "title": "The endpoint configuration for the Compute Node." + }, + "InboundEndpoint": { + "properties": { + "name": { + "type": "string", + "title": "The name of the endpoint." + }, + "protocol": { + "$ref": "#/definitions/InboundEndpointProtocol", + "title": "The protocol of the endpoint." + }, + "publicIPAddress": { + "type": "string", + "title": "The public IP address of the Compute Node." + }, + "publicFQDN": { + "type": "string", + "title": "The public fully qualified domain name for the Compute Node." + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "title": "The public port number of the endpoint." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "title": "The backend port number of the endpoint." + } + }, + "required": [ + "name", + "protocol", + "publicIPAddress", + "publicFQDN", + "frontendPort", + "backendPort" + ], + "title": "An inbound endpoint on a Compute Node." + }, + "ComputeNodeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ComputeNode" + }, + "title": "The list of Compute Nodes." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Compute Nodes in a Pool." + }, + "ComputeNodeUser": { + "properties": { + "name": { + "type": "string", + "title": "The user name of the Account." + }, + "isAdmin": { + "type": "boolean", + "title": "Whether the Account should be an administrator on the Compute Node.", + "description": "The default value is false." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Account should expire.", + "description": "If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day." + }, + "password": { + "type": "string", + "title": "The password of the Account.", + "description": "The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property." + }, + "sshPublicKey": { + "type": "string", + "title": "The SSH public key that can be used for remote login to the Compute Node.", + "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + } + }, + "required": [ + "name" + ], + "title": "A user Account for RDP or SSH access on a Compute Node." + }, + "ComputeNodeGetRemoteLoginSettingsResult": { + "properties": { + "remoteLoginIPAddress": { + "type": "string", + "title": "The IP address used for remote login to the Compute Node." + }, + "remoteLoginPort": { + "type": "integer", + "format": "int32", + "title": "The port used for remote login to the Compute Node." + } + }, + "required": [ + "remoteLoginIPAddress", + "remoteLoginPort" + ], + "title": "The remote login settings for a Compute Node." + }, + "JobSchedulePatchParameter": { + "properties": { + "schedule": { + "$ref": "#/definitions/Schedule", + "title": "The schedule according to which Jobs will be created.", + "description": "If you do not specify this element, the existing schedule is left unchanged." + }, + "jobSpecification": { + "$ref": "#/definitions/JobSpecification", + "title": "The details of the Jobs to be created on this schedule.", + "description": "Updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job Schedule as metadata.", + "description": "If you do not specify this element, existing metadata is left unchanged." + } + }, + "title": "The set of changes to be made to a Job Schedule." + }, + "JobScheduleUpdateParameter": { + "properties": { + "schedule": { + "$ref": "#/definitions/Schedule", + "title": "The schedule according to which Jobs will be created.", + "description": "If you do not specify this element, it is equivalent to passing the default schedule: that is, a single Job scheduled to run immediately." + }, + "jobSpecification": { + "$ref": "#/definitions/JobSpecification", + "title": "Details of the Jobs to be created on this schedule.", + "description": "Updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job Schedule as metadata.", + "description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted." + } + }, + "required": [ + "schedule", + "jobSpecification" + ], + "title": "The set of changes to be made to a Job Schedule." + }, + "JobDisableParameter": { + "properties": { + "disableTasks": { + "type": "string", + "title": "What to do with active Tasks associated with the Job.", + "enum": [ + "requeue", + "terminate", + "wait" + ], + "x-ms-enum": { + "name": "DisableJobOption", + "modelAsString": false, + "values": [ + { + "value": "requeue", + "description": "Terminate running Tasks and requeue them. The Tasks will run again when the Job is enabled." + }, + { + "value": "terminate", + "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again." + }, + { + "value": "wait", + "description": "Allow currently running Tasks to complete." + } + ] + } + } + }, + "required": [ + "disableTasks" + ], + "title": "Options when disabling a Job." + }, + "JobTerminateParameter": { + "properties": { + "terminateReason": { + "type": "string", + "title": "The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'." + } + }, + "title": "Options when terminating a Job." + }, + "JobPatchParameter": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority of the Job.", + "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, the priority of the Job is left unchanged." + }, + "onAllTasksComplete": { + "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.", + "description": "If omitted, the completion behavior is left unchanged. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic Job termination, you cannot turn it off again. If you try to do this, the request fails with an 'invalid property value' error response; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).", + "$ref": "#/definitions/OnAllTasksComplete" + }, + "constraints": { + "$ref": "#/definitions/JobConstraints", + "title": "The execution constraints for the Job.", + "description": "If omitted, the existing execution constraints are left unchanged." + }, + "poolInfo": { + "$ref": "#/definitions/PoolInformation", + "title": "The Pool on which the Batch service runs the Job's Tasks.", + "description": "You may change the Pool for a Job only when the Job is disabled. The Patch Job call will fail if you include the poolInfo element and the Job is not disabled. If you specify an autoPoolSpecification in the poolInfo, only the keepAlive property of the autoPoolSpecification can be updated, and then only if the autoPoolSpecification has a poolLifetimeOption of Job (other job properties can be updated as normal). If omitted, the Job continues to run on its current Pool." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job as metadata.", + "description": "If omitted, the existing Job metadata is left unchanged." + } + }, + "title": "The set of changes to be made to a Job." + }, + "JobUpdateParameter": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "title": "The priority of the Job.", + "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, it is set to the default value 0." + }, + "constraints": { + "$ref": "#/definitions/JobConstraints", + "title": "The execution constraints for the Job.", + "description": "If omitted, the constraints are cleared." + }, + "poolInfo": { + "$ref": "#/definitions/PoolInformation", + "title": "The Pool on which the Batch service runs the Job's Tasks.", + "description": "You may change the Pool for a Job only when the Job is disabled. The Update Job call will fail if you include the poolInfo element and the Job is not disabled. If you specify an autoPoolSpecification in the poolInfo, only the keepAlive property of the autoPoolSpecification can be updated, and then only if the autoPoolSpecification has a poolLifetimeOption of Job (other job properties can be updated as normal)." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Job as metadata.", + "description": "If omitted, it takes the default value of an empty list; in effect, any existing metadata is deleted." + }, + "onAllTasksComplete": { + "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.", + "description": "If omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a Job's completion behavior may not be changed from terminatejob to noaction. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic Job termination, you cannot turn it off again. If you try to do this, the request fails and Batch returns status code 400 (Bad Request) and an 'invalid property value' error response. If you do not specify this element in a PUT request, it is equivalent to passing noaction. This is an error if the current value is terminatejob.", + "$ref": "#/definitions/OnAllTasksComplete" + } + }, + "required": [ + "poolInfo" + ], + "title": "The set of changes to be made to a Job." + }, + "PoolEnableAutoScaleParameter": { + "properties": { + "autoScaleFormula": { + "type": "string", + "title": "The formula for the desired number of Compute Nodes in the Pool.", + "description": "The formula is checked for validity before it is applied to the Pool. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." + }, + "autoScaleEvaluationInterval": { + "type": "string", + "format": "duration", + "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.", + "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If you specify a new interval, then the existing autoscale evaluation schedule will be stopped and a new autoscale evaluation schedule will be started, with its starting time being the time when this request was issued." + } + }, + "title": "Options for enabling automatic scaling on a Pool." + }, + "PoolEvaluateAutoScaleParameter": { + "properties": { + "autoScaleFormula": { + "type": "string", + "title": "The formula for the desired number of Compute Nodes in the Pool.", + "description": "The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)." + } + }, + "required": [ + "autoScaleFormula" + ], + "title": "Options for evaluating an automatic scaling formula on a Pool." + }, + "PoolResizeParameter": { + "properties": { + "targetDedicatedNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of dedicated Compute Nodes in the Pool." + }, + "targetLowPriorityNodes": { + "type": "integer", + "format": "int32", + "title": "The desired number of low-priority Compute Nodes in the Pool." + }, + "resizeTimeout": { + "type": "string", + "format": "duration", + "title": "The timeout for allocation of Nodes to the Pool or removal of Compute Nodes from the Pool.", + "description": "The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "nodeDeallocationOption": { + "title": "Determines what to do with a Compute Node and its running task(s) if the Pool size is decreasing.", + "description": "The default value is requeue.", + "$ref": "#/definitions/ComputeNodeDeallocationOption" + } + }, + "title": "Options for changing the size of a Pool." + }, + "PoolUpdatePropertiesParameter": { + "properties": { + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.", + "description": "If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is removed from the Pool." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "A list of Certificates to be installed on each Compute Node in the Pool.", + "description": "This list replaces any existing Certificate references configured on the Pool. If you specify an empty collection, any existing Certificate references are removed from the Pool. For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "The list of Application Packages to be installed on each Compute Node in the Pool.", + "description": "The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Pool as metadata.", + "description": "This list replaces any existing metadata configured on the Pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the Pool." + } + }, + "required": [ + "certificateReferences", + "metadata", + "applicationPackageReferences" + ], + "title": "The set of changes to be made to a Pool." + }, + "PoolPatchParameter": { + "properties": { + "startTask": { + "$ref": "#/definitions/StartTask", + "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.", + "description": "If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is left unchanged." + }, + "certificateReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateReference" + }, + "title": "A list of Certificates to be installed on each Compute Node in the Pool.", + "description": "If this element is present, it replaces any existing Certificate references configured on the Pool. If omitted, any existing Certificate references are left unchanged. For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory." + }, + "applicationPackageReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationPackageReference" + }, + "title": "A list of Packages to be installed on each Compute Node in the Pool.", + "description": "Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. If this element is present, it replaces any existing Package references. If you specify an empty collection, then all Package references are removed from the Pool. If omitted, any existing Package references are left unchanged." + }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/definitions/MetadataItem" + }, + "title": "A list of name-value pairs associated with the Pool as metadata.", + "description": "If this element is present, it replaces any existing metadata configured on the Pool. If you specify an empty collection, any metadata is removed from the Pool. If omitted, any existing metadata is left unchanged." + } + }, + "title": "The set of changes to be made to a Pool." + }, + "TaskUpdateParameter": { + "properties": { + "constraints": { + "$ref": "#/definitions/TaskConstraints", + "title": "Constraints that apply to this Task.", + "description": "If omitted, the Task is given the default constraints. For multi-instance Tasks, updating the retention time applies only to the primary Task and not subtasks." + } + }, + "title": "The set of changes to be made to a Task." + }, + "NodeUpdateUserParameter": { + "properties": { + "password": { + "type": "string", + "title": "The password of the Account.", + "description": "The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property. If omitted, any existing password is removed." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "title": "The time at which the Account should expire.", + "description": "If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day." + }, + "sshPublicKey": { + "type": "string", + "title": "The SSH public key that can be used for remote login to the Compute Node.", + "description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If omitted, any existing SSH public key is removed." + } + }, + "title": "The set of changes to be made to a user Account on a Compute Node." + }, + "NodeRebootParameter": { + "properties": { + "nodeRebootOption": { + "type": "string", + "title": "When to reboot the Compute Node and what to do with currently running Tasks.", + "description": "The default value is requeue.", + "enum": [ + "requeue", + "terminate", + "taskcompletion", + "retaineddata" + ], + "x-ms-enum": { + "name": "ComputeNodeRebootOption", + "modelAsString": false, + "values": [ + { + "value": "requeue", + "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Restart the Compute Node as soon as Tasks have been terminated." + }, + { + "value": "terminate", + "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Restart the Compute Node as soon as Tasks have been terminated." + }, + { + "value": "taskcompletion", + "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Restart the Compute Node when all Tasks have completed.", + "name": "taskCompletion" + }, + { + "value": "retaineddata", + "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Restart the Compute Node when all Task retention periods have expired.", + "name": "retainedData" + } + ] + } + } + }, + "title": "Options for rebooting a Compute Node." + }, + "NodeReimageParameter": { + "properties": { + "nodeReimageOption": { + "type": "string", + "title": "When to reimage the Compute Node and what to do with currently running Tasks.", + "description": "The default value is requeue.", + "enum": [ + "requeue", + "terminate", + "taskcompletion", + "retaineddata" + ], + "x-ms-enum": { + "name": "ComputeNodeReimageOption", + "modelAsString": false, + "values": [ + { + "value": "requeue", + "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Reimage the Compute Node as soon as Tasks have been terminated." + }, + { + "value": "terminate", + "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Reimage the Compute Node as soon as Tasks have been terminated." + }, + { + "value": "taskcompletion", + "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Reimage the Compute Node when all Tasks have completed.", + "name": "taskCompletion" + }, + { + "value": "retaineddata", + "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Reimage the Compute Node when all Task retention periods have expired.", + "name": "retainedData" + } + ] + } + } + }, + "title": "Options for reimaging a Compute Node." + }, + "NodeDisableSchedulingParameter": { + "properties": { + "nodeDisableSchedulingOption": { + "type": "string", + "title": "What to do with currently running Tasks when disabling Task scheduling on the Compute Node.", + "description": "The default value is requeue.", + "enum": [ + "requeue", + "terminate", + "taskcompletion" + ], + "x-ms-enum": { + "name": "DisableComputeNodeSchedulingOption", + "modelAsString": false, + "values": [ + { + "value": "requeue", + "description": "Terminate running Task processes and requeue the Tasks. The Tasks may run again on other Compute Nodes, or when Task scheduling is re-enabled on this Compute Node. Enter offline state as soon as Tasks have been terminated." + }, + { + "value": "terminate", + "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Enter offline state as soon as Tasks have been terminated." + }, + { + "value": "taskcompletion", + "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Enter offline state when all Tasks have completed.", + "name": "taskCompletion" + } + ] + } + } + }, + "title": "Options for disabling scheduling on a Compute Node." + }, + "NodeRemoveParameter": { + "properties": { + "nodeList": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string" + }, + "title": "A list containing the IDs of the Compute Nodes to be removed from the specified Pool." + }, + "resizeTimeout": { + "type": "string", + "format": "duration", + "title": "The timeout for removal of Compute Nodes to the Pool.", + "description": "The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + }, + "nodeDeallocationOption": { + "title": "Determines what to do with a Compute Node and its running task(s) after it has been selected for deallocation.", + "description": "The default value is requeue.", + "$ref": "#/definitions/ComputeNodeDeallocationOption" + } + }, + "required": [ + "nodeList" + ], + "title": "Options for removing Compute Nodes from a Pool." + }, + "OutputFile": { + "properties": { + "filePattern": { + "type": "string", + "title": "A pattern indicating which file(s) to upload.", + "description": "Both relative and absolute paths are supported. Relative paths are relative to the Task working directory. The following wildcards are supported: * matches 0 or more characters (for example pattern abc* would match abc or abcdef), ** matches any directory, ? matches any single character, [abc] matches one character in the brackets, and [a-c] matches one character in the range. Brackets can include a negation to match any character not specified (for example [!abc] matches any character but a, b, or c). If a file name starts with \".\" it is ignored by default but may be matched by specifying it explicitly (for example *.gif will not match .a.gif, but .*.gif will). A simple example: **\\*.txt matches any file that does not start in '.' and ends with .txt in the Task working directory or any subdirectory. If the filename contains a wildcard character it can be escaped using brackets (for example abc[*] would match a file named abc*). Note that both \\ and / are treated as directory separators on Windows, but only / is on Linux. Environment variables (%var% on Windows or $var on Linux) are expanded prior to the pattern being applied." + }, + "destination": { + "title": "The destination for the output file(s).", + "$ref": "#/definitions/OutputFileDestination" + }, + "uploadOptions": { + "title": "Additional options for the upload operation, including under what conditions to perform the upload.", + "$ref": "#/definitions/OutputFileUploadOptions" + } + }, + "required": [ + "filePattern", + "destination", + "uploadOptions" + ], + "title": "A specification for uploading files from an Azure Batch Compute Node to another location after the Batch service has finished executing the Task process." + }, + "OutputFileDestination": { + "properties": { + "container": { + "title": "A location in Azure blob storage to which files are uploaded.", + "$ref": "#/definitions/OutputFileBlobContainerDestination" + } + }, + "title": "The destination to which a file should be uploaded." + }, + "OutputFileBlobContainerDestination": { + "properties": { + "path": { + "type": "string", + "title": "The destination blob or virtual directory within the Azure Storage container.", + "description": "If filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name." + }, + "containerUrl": { + "type": "string", + "title": "The URL of the container within Azure Blob Storage to which to upload the file(s).", + "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container." + } + }, + "required": [ + "containerUrl" + ], + "title": "Specifies a file upload destination within an Azure blob storage container." + }, + "OutputFileUploadOptions": { + "properties": { + "uploadCondition": { + "title": "The conditions under which the Task output file or set of files should be uploaded.", + "description": "The default is taskcompletion.", + "$ref": "#/definitions/OutputFileUploadCondition" + } + }, + "required": [ + "uploadCondition" + ], + "title": "Details about an output file upload operation, including under what conditions to perform the upload." + }, + "ErrorMessage": { + "properties": { + "lang": { + "type": "string", + "title": "The language code of the error message" + }, + "value": { + "type": "string", + "title": "The text of the message." + } + }, + "title": "An error message received in an Azure Batch error response." + }, + "BatchErrorDetail": { + "properties": { + "key": { + "type": "string", + "title": "An identifier specifying the meaning of the Value property." + }, + "value": { + "type": "string", + "title": "The additional information included with the error response." + } + }, + "title": "An item of additional information included in an Azure Batch error response." + }, + "BatchError": { + "properties": { + "code": { + "type": "string", + "title": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "$ref": "#/definitions/ErrorMessage", + "title": "A message describing the error, intended to be suitable for display in a user interface." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/BatchErrorDetail" + }, + "title": "A collection of key-value pairs containing additional details about the error." + } + }, + "title": "An error response received from the Azure Batch service." + }, + "CertificateState": { + "type": "string", + "title": "The state of the Certificate.", + "enum": [ + "active", + "deleting", + "deletefailed" + ], + "x-ms-enum": { + "name": "CertificateState", + "modelAsString": false, + "values": [ + { + "value": "active", + "description": "The Certificate is available for use in Pools." + }, + { + "value": "deleting", + "description": "The user has requested that the Certificate be deleted, but the delete operation has not yet completed. You may not reference the Certificate when creating or updating Pools." + }, + { + "value": "deletefailed", + "description": "The user requested that the Certificate be deleted, but there are Pools that still have references to the Certificate, or it is still installed on one or more Nodes. (The latter can occur if the Certificate has been removed from the Pool, but the Compute Node has not yet restarted. Compute Nodes refresh their Certificates only when they restart.) You may use the cancel Certificate delete operation to cancel the delete, or the delete Certificate operation to retry the delete.", + "name": "deleteFailed" + } + ] + } + }, + "ElevationLevel": { + "type": "string", + "title": "The elevation level of the user.", + "enum": [ + "nonadmin", + "admin" + ], + "x-ms-enum": { + "name": "ElevationLevel", + "modelAsString": false, + "values": [ + { + "value": "nonadmin", + "description": "The user is a standard user without elevated access.", + "name": "nonAdmin" + }, + { + "value": "admin", + "description": "The user is a user with elevated access and operates with full Administrator permissions." + } + ] + } + }, + "JobScheduleState": { + "type": "string", + "title": "The state of the Job Schedule.", + "enum": [ + "active", + "completed", + "disabled", + "terminating", + "deleting" + ], + "x-ms-enum": { + "name": "JobScheduleState", + "modelAsString": false, + "values": [ + { + "value": "active", + "description": "The Job Schedule is active and will create Jobs as per its schedule." + }, + { + "value": "completed", + "description": "The Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly." + }, + { + "value": "disabled", + "description": "The user has disabled the Job Schedule. The scheduler will not initiate any new Jobs will on this schedule, but any existing active Job will continue to run." + }, + { + "value": "terminating", + "description": "The Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, nor is any existing Job active." + }, + { + "value": "deleting", + "description": "The user has requested that the Job Schedule be deleted, but the delete operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, and will delete any existing Jobs and Tasks under the Job Schedule, including any active Job. The Job Schedule will be deleted when all Jobs and Tasks under the Job Schedule have been deleted." + } + ] + } + }, + "JobState": { + "type": "string", + "title": "The state of the Job.", + "enum": [ + "active", + "disabling", + "disabled", + "enabling", + "terminating", + "completed", + "deleting" + ], + "x-ms-enum": { + "name": "JobState", + "modelAsString": false, + "values": [ + { + "value": "active", + "description": "The Job is available to have Tasks scheduled." + }, + { + "value": "disabling", + "description": "A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate)." + }, + { + "value": "disabled", + "description": "A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled." + }, + { + "value": "enabling", + "description": "A user has requested that the Job be enabled, but the enable operation is still in progress." + }, + { + "value": "terminating", + "description": "The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running)." + }, + { + "value": "completed", + "description": "All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job." + }, + { + "value": "deleting", + "description": "A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks)." + } + ] + } + }, + "OnAllTasksComplete": { + "type": "string", + "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.", + "enum": [ + "noaction", + "terminatejob" + ], + "x-ms-enum": { + "name": "OnAllTasksComplete", + "modelAsString": false, + "values": [ + { + "value": "noaction", + "description": "Do nothing. The Job remains active unless terminated or disabled by some other means.", + "name": "noAction" + }, + { + "value": "terminatejob", + "description": "Terminate the Job. The Job's terminateReason is set to 'AllTasksComplete'.", + "name": "terminateJob" + } + ] + } + }, + "OnTaskFailure": { + "type": "string", + "title": "The action the Batch service should take when any Task in the Job fails.", + "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.", + "enum": [ + "noaction", + "performexitoptionsjobaction" + ], + "x-ms-enum": { + "name": "OnTaskFailure", + "modelAsString": false, + "values": [ + { + "value": "noaction", + "description": "Do nothing. The Job remains active unless terminated or disabled by some other means.", + "name": "noAction" + }, + { + "value": "performexitoptionsjobaction", + "description": "Take the action associated with the Task exit condition in the Task's exitConditions collection. (This may still result in no action being taken, if that is what the Task specifies.)", + "name": "performExitOptionsJobAction" + } + ] + } + }, + "ErrorCategory": { + "type": "string", + "title": "The category of the error.", + "enum": [ + "usererror", + "servererror" + ], + "x-ms-enum": { + "name": "ErrorCategory", + "modelAsString": false, + "values": [ + { + "value": "usererror", + "description": "The error is due to a user issue, such as misconfiguration.", + "name": "userError" + }, + { + "value": "servererror", + "description": "The error is due to an internal server issue.", + "name": "serverError" + } + ] + } + }, + "TaskState": { + "type": "string", + "title": "The state of the Task.", + "enum": [ + "active", + "preparing", + "running", + "completed" + ], + "x-ms-enum": { + "name": "TaskState", + "modelAsString": false, + "values": [ + { + "value": "active", + "description": "The Task is queued and able to run, but is not currently assigned to a Compute Node. A Task enters this state when it is created, when it is enabled after being disabled, or when it is awaiting a retry after a failed run." + }, + { + "value": "preparing", + "description": "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node. If the Job Preparation Task succeeds, the Task will move to running. If the Job Preparation Task fails, the Task will return to active and will be eligible to be assigned to a different Compute Node." + }, + { + "value": "running", + "description": "The Task is running on a Compute Node. This includes task-level preparation such as downloading resource files or deploying Packages specified on the Task - it does not necessarily mean that the Task command line has started executing." + }, + { + "value": "completed", + "description": "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit. A Task is also marked as completed if an error occurred launching the Task, or when the Task has been terminated." + } + ] + } + }, + "SubtaskState": { + "type": "string", + "title": "The state of the subtask.", + "enum": [ + "preparing", + "running", + "completed" + ], + "x-ms-enum": { + "name": "SubtaskState", + "modelAsString": false, + "values": [ + { + "value": "preparing", + "description": "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node. If the Job Preparation Task succeeds, the Task will move to running. If the Job Preparation Task fails, the Task will return to active and will be eligible to be assigned to a different Compute Node." + }, + { + "value": "running", + "description": "The Task is running on a Compute Node. This includes task-level preparation such as downloading resource files or deploying Packages specified on the Task - it does not necessarily mean that the Task command line has started executing." + }, + { + "value": "completed", + "description": "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit. A Task is also marked as completed if an error occurred launching the Task, or when the Task has been terminated." + } + ] + } + }, + "ComputeNodeDeallocationOption": { + "type": "string", + "title": "Determines what to do with a Compute Node and its running task(s) after it has been selected for deallocation.", + "description": "The default value is requeue.", + "enum": [ + "requeue", + "terminate", + "taskcompletion", + "retaineddata" + ], + "x-ms-enum": { + "name": "ComputeNodeDeallocationOption", + "modelAsString": false, + "values": [ + { + "value": "requeue", + "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Remove Compute Nodes as soon as Tasks have been terminated." + }, + { + "value": "terminate", + "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove Compute Nodes as soon as Tasks have been terminated." + }, + { + "value": "taskcompletion", + "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Remove Compute Nodes when all Tasks have completed.", + "name": "taskCompletion" + }, + { + "value": "retaineddata", + "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Remove Compute Nodes when all Task retention periods have expired.", + "name": "retainedData" + } + ] + } + }, + "OutputFileUploadCondition": { + "type": "string", + "title": "The conditions under which a Task output file or set of files should be uploaded.", + "enum": [ + "tasksuccess", + "taskfailure", + "taskcompletion" + ], + "x-ms-enum": { + "name": "OutputFileUploadCondition", + "modelAsString": false, + "values": [ + { + "value": "tasksuccess", + "description": "Upload the file(s) only after the Task process exits with an exit code of 0.", + "name": "taskSuccess" + }, + { + "value": "taskfailure", + "description": "Upload the file(s) only after the Task process exits with a nonzero exit code.", + "name": "taskFailure" + }, + { + "value": "taskcompletion", + "description": "Upload the file(s) after the Task process exits, no matter what the exit code was.", + "name": "taskCompletion" + } + ] + } + }, + "TaskExecutionResult": { + "type": "string", + "title": "The result of Task execution.", + "enum": [ + "success", + "failure" + ], + "x-ms-enum": { + "name": "TaskExecutionResult", + "modelAsString": false, + "values": [ + { + "value": "success", + "description": "The Task ran successfully.", + "name": "success" + }, + { + "value": "failure", + "description": "There was an error during processing of the Task. The failure may have occurred before the Task process was launched, while the Task process was executing, or after the Task process exited.", + "name": "failure" + } + ] + } + }, + "InboundEndpointProtocol": { + "type": "string", + "title": "The protocol of the endpoint.", + "enum": [ + "tcp", + "udp" + ], + "x-ms-enum": { + "name": "InboundEndpointProtocol", + "modelAsString": false, + "values": [ + { + "value": "tcp", + "description": "Use TCP for the endpoint.", + "name": "tcp" + }, + { + "value": "udp", + "description": "Use UDP for the endpoint.", + "name": "udp" + } + ] + } + }, + "UploadBatchServiceLogsConfiguration": { + "properties": { + "containerUrl": { + "type": "string", + "title": "The URL of the container within Azure Blob Storage to which to upload the Batch Service log file(s).", + "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified." + }, + "startTime": { + "type": "string", + "format": "date-time", + "title": "The start of the time range from which to upload Batch Service log file(s).", + "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested." + }, + "endTime": { + "type": "string", + "format": "date-time", + "title": "The end of the time range from which to upload Batch Service log file(s).", + "description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime." + } + }, + "required": [ + "containerUrl", + "startTime" + ], + "title": "The Azure Batch service log files upload configuration for a Compute Node." + }, + "UploadBatchServiceLogsResult": { + "properties": { + "virtualDirectoryName": { + "type": "string", + "title": "The virtual directory within Azure Blob Storage container to which the Batch Service log file(s) will be uploaded.", + "description": "The virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier." + }, + "numberOfFilesUploaded": { + "type": "integer", + "format": "int32", + "title": "The number of log files which will be uploaded." + } + }, + "required": [ + "virtualDirectoryName", + "numberOfFilesUploaded" + ], + "title": "The result of uploading Batch service log files from a specific Compute Node." + }, + "PoolNodeCountsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PoolNodeCounts" + }, + "description": "A list of Compute Node counts by Pool." + }, + "odata.nextLink": { + "type": "string", + "title": "The URL to get the next set of results." + } + }, + "title": "The result of listing the Compute Node counts in the Account." + }, + "PoolNodeCounts": { + "properties": { + "poolId": { + "type": "string", + "title": "The ID of the Pool." + }, + "dedicated": { + "$ref": "#/definitions/NodeCounts", + "title": "The number of dedicated Compute Nodes in each state." + }, + "lowPriority": { + "$ref": "#/definitions/NodeCounts", + "title": "The number of low priority Compute Nodes in each state." + } + }, + "required": [ + "poolId" + ], + "title": "The number of Compute Nodes in each state for a Pool." + }, + "NodeCounts": { + "properties": { + "creating": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the creating state." + }, + "idle": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the idle state." + }, + "offline": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the offline state." + }, + "preempted": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the preempted state." + }, + "rebooting": { + "type": "integer", + "format": "int32", + "title": "The count of Compute Nodes in the rebooting state." + }, + "reimaging": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the reimaging state." + }, + "running": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the running state." + }, + "starting": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the starting state." + }, + "startTaskFailed": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the startTaskFailed state." + }, + "leavingPool": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the leavingPool state." + }, + "unknown": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the unknown state." + }, + "unusable": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the unusable state." + }, + "waitingForStartTask": { + "type": "integer", + "format": "int32", + "title": "The number of Compute Nodes in the waitingForStartTask state." + }, + "total": { + "type": "integer", + "format": "int32", + "title": "The total number of Compute Nodes." + } + }, + "required": [ + "creating", + "idle", + "offline", + "preempted", + "rebooting", + "reimaging", + "running", + "starting", + "startTaskFailed", + "leavingPool", + "unknown", + "unusable", + "waitingForStartTask", + "total" + ], + "title": "The number of Compute Nodes in each Compute Node state." + }, + "MountConfiguration": { + "properties": { + "azureBlobFileSystemConfiguration": { + "$ref": "#/definitions/AzureBlobFileSystemConfiguration", + "title": "The Azure Storage container to mount using blob FUSE on each node.", + "description": "This property is mutually exclusive with all other properties." + }, + "nfsMountConfiguration": { + "$ref": "#/definitions/NFSMountConfiguration", + "title": "The NFS file system to mount on each node.", + "description": "This property is mutually exclusive with all other properties." + }, + "cifsMountConfiguration": { + "$ref": "#/definitions/CIFSMountConfiguration", + "title": "The CIFS/SMB file system to mount on each node.", + "description": "This property is mutually exclusive with all other properties." + }, + "azureFileShareConfiguration": { + "$ref": "#/definitions/AzureFileShareConfiguration", + "title": "The Azure File Share to mount on each node.", + "description": "This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties." + } + }, + "title": "The file system to mount on each node.", + "description": "Each property is mutually exclusive." + }, + "AzureBlobFileSystemConfiguration": { + "properties": { + "accountName": { + "type": "string", + "title": "The Azure Storage account name." + }, + "containerName": { + "type": "string", + "title": "The Azure Blob Storage container name." + }, + "accountKey": { + "type": "string", + "title": "The Azure Storage account key.", + "description": "This property is mutually exclusive with sasKey and one must be specified." + }, + "sasKey": { + "type": "string", + "title": "The Azure Storage SAS token.", + "description": "This property is mutually exclusive with accountKey and one must be specified." + }, + "blobfuseOptions": { + "type": "string", + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." + }, + "relativeMountPath": { + "type": "string", + "title": "The relative path on the compute node where the file system will be mounted", + "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." + } + }, + "required": [ "accountName", "containerName", "relativeMountPath" ], + "title": "Blobfuse file system details." + }, + "NFSMountConfiguration": { + "properties": { + "source": { + "type": "string", + "title": "The URI of the file system to mount." + }, + "relativeMountPath": { + "type": "string", + "title": "The relative path on the compute node where the file system will be mounted", + "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." + }, + "mountOptions": { + "type": "string", + "title": "Specifies various mount options that can be used." + } + }, + "required": [ "source", "relativeMountPath" ], + "title": "NFS file system detail." + }, + "CIFSMountConfiguration": { + "properties": { + "username": { + "type": "string", + "title": "The user to use for authentication against the CIFS file system." + }, + "source": { + "type": "string", + "title": "The URI of the file system to mount." + }, + "relativeMountPath": { + "type": "string", + "title": "The relative path on the compute node where the file system will be mounted", + "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." + }, + "mountOptions": { + "type": "string", + "title": "Specifies various mount options that can be used." + }, + "password": { + "type": "string", + "title": "The password to authenticate with." + } + }, + "required": [ "username", "source", "password", "relativeMountPath" ], + "title": "CIFS file system details." + }, + "AzureFileShareConfiguration": { + "properties": { + "accountName": { + "type": "string", + "title": "The Azure Storage account name." + }, + "azureFileUrl": { + "type": "string", + "title": "The Azure Files URL." + }, + "accountKey": { + "type": "string", + "title": "The Azure Storage account key." + }, + "relativeMountPath": { + "type": "string", + "title": "The relative path on the compute node where the file system will be mounted", + "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." + }, + "mountOptions": { + "type": "string", + "title": "Specifies various mount options that can be used." + } + }, + "required": [ "accountName", "azureFileUrl", "accountKey", "relativeMountPath" ], + "title": "Azure Files details." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API Version." + }, + "batchUrl": { + "name": "batchUrl", + "x-ms-parameter-location": "client", + "required": true, + "type": "string", + "in": "path", + "x-ms-skip-url-encoding": true, + "description": "The base URL for all Azure Batch service requests." + } + } +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json new file mode 100644 index 000000000000..baa733993e37 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "poolId": "pool1", + "dedicated": { + "creating": 0, + "idle": 0, + "leavingPool": 0, + "offline": 0, + "preempted": 0, + "rebooting": 0, + "reimaging": 0, + "running": 0, + "starting": 0, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 0 + }, + "lowPriority": { + "creating": 0, + "idle": 0, + "leavingPool": 0, + "offline": 0, + "preempted": 0, + "rebooting": 0, + "reimaging": 0, + "running": 2, + "starting": 1, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 3 + } + }, + { + "poolId": "pool2", + "dedicated": { + "creating": 0, + "idle": 1, + "leavingPool": 0, + "offline": 3, + "preempted": 0, + "rebooting": 0, + "reimaging": 0, + "running": 0, + "starting": 0, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 4 + }, + "lowPriority": { + "creating": 0, + "idle": 0, + "leavingPool": 0, + "offline": 0, + "preempted": 0, + "rebooting": 0, + "reimaging": 0, + "running": 0, + "starting": 0, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 0 + } + }, + { + "poolId": "pool3", + "dedicated": { + "creating": 0, + "idle": 5, + "leavingPool": 0, + "offline": 0, + "preempted": 0, + "rebooting": 0, + "reimaging": 4, + "running": 0, + "starting": 0, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 9 + }, + "lowPriority": { + "creating": 7, + "idle": 0, + "leavingPool": 0, + "offline": 0, + "preempted": 0, + "rebooting": 0, + "reimaging": 0, + "running": 4, + "starting": 0, + "startTaskFailed": 0, + "unknown": 0, + "unusable": 0, + "waitingForStartTask": 0, + "total": 11 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json new file mode 100644 index 000000000000..a66bf07ee1c6 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "nodeAgentSKUId": "batch.node.centos 7", + "imageReference": { + "publisher": "OpenLogic", + "offer": "CentOS", + "sku": "7.2", + "version": "latest" + }, + "verificationType": "verified", + "capabilities": [ + "DockerCompatible", + "NvidiaTeslaDriverInstalled" + ], + "osType": "linux" + }, + { + "nodeAgentSKUId": "batch.node.centos 7", + "imageReference": { + "publisher": "OpenLogic", + "offer": "CentOS", + "sku": "7.1", + "version": "latest" + }, + "verificationType": "unverified", + "osType": "linux", + "batchSupportEndOfLife": "2019-11-01T00:00:00.0Z" + }, + { + "nodeAgentSKUId": "batch.node.debian 8", + "imageReference": { + "publisher": "Credativ", + "offer": "Debian", + "sku": "8", + "version": "latest" + }, + "verificationType": "verified", + "osType": "linux" + }, + { + "nodeAgentSKUId": "batch.node.windows amd64", + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "latest" + }, + "verificationType": "verified", + "osType": "windows" + }, + { + "nodeAgentSKUId": "batch.node.windows amd64", + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-Datacenter", + "version": "latest" + }, + "verificationType": "verified", + "osType": "windows" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json new file mode 100644 index 000000000000..08a442dc389d --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "applicationId": "my_application_id" + }, + "responses": { + "200": { + "body": { + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json new file mode 100644 index 000000000000..ddc5e6034442 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json new file mode 100644 index 000000000000..04a446e61fd2 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "certificate": { + "thumbprintAlgorithm":"sha1", + "thumbprint":"0123456789abcdef0123456789abcdef01234567", + "data":"#####...", + "certificateFormat":"pfx", + "password":"certpassword" + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json new file mode 100644 index 000000000000..089598253e7b --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json new file mode 100644 index 000000000000..f5d275df6ef7 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json new file mode 100644 index 000000000000..42b2d819f9c4 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "thumbprintAlgorithm": "sha1", + "url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)", + "state": "deletefailed", + "stateTransitionTime": "2014-07-31T21:12:58.236Z", + "previousState": "deleting", + "previousStateTransitionTime": "2014-07-31T21:11:58.236Z", + "publicData": "#####...", + "deleteCertificateError": { + "code": "PoolsReferencingCertificate", + "message": "The specified certificate is being used by the below mentioned pool(s)", + "values": [ + { + "name": "Pools", + "value": "mypool1" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json new file mode 100644 index 000000000000..f3c65e7f564b --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "thumbprintAlgorithm": "sha1", + "url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)", + "state": "deletefailed", + "stateTransitionTime": "2014-07-31T21:12:58.236Z", + "previousState": "deleting", + "previousStateTransitionTime": "2014-07-31T21:11:58.236Z", + "publicData": "#####...", + "deleteCertificateError": { + "code": "PoolsReferencingCertificate", + "message": "The specified certificate is being used by the below mentioned pool(s)", + "values": [ + { + "name": "Pools", + "value": "mypool1" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json new file mode 100644 index 000000000000..679b638f4c58 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "recursive": false + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json new file mode 100644 index 000000000000..e43cc3ad300f --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "task1", + "filePath": "wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "recursive": false + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json new file mode 100644 index 000000000000..8c46f99b45be --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "nodeId", + "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT", + "ocp-batch-file-isdirectory": "false", + "Content-Length": "17", + "Content-Type": "application/octet-stream", + "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json new file mode 100644 index 000000000000..0741118a37cb --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "task1", + "filePath": "wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT", + "ocp-batch-file-isdirectory": "false", + "Content-Length": "17", + "Content-Type": "application/octet-stream", + "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json new file mode 100644 index 000000000000..39dbfd3a387a --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "nodeId", + "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT", + "ocp-batch-file-isdirectory": "false", + "Content-Length": "17", + "Content-Type": "application/octet-stream" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json new file mode 100644 index 000000000000..2da7983a2fb1 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "filePath": "wd\\testFile.txt", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT", + "ocp-batch-file-isdirectory": "false", + "Content-Length": "17", + "Content-Type": "application/octet-stream" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json new file mode 100644 index 000000000000..a41bec0d6913 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "recursive": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "shared", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/shared", + "isDirectory": true + }, + { + "name": "startup\\ProcessEnv.cmd", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/startup\\ProcessEnv.cmd", + "isDirectory": false, + "properties": { + "creationTime": "2014-09-19T21:56:17.679195Z", + "lastModified": "2014-09-19T21:56:17.679195Z", + "contentLength": 1813, + "contentType": "application/octet-stream" + } + }, + { + "name": "startup\\stderr.txt", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/startup\\stderr.txt", + "isDirectory": false, + "properties": { + "creationTime": "2014-09-19T21:56:17.5590855Z", + "lastModified": "2014-09-19T21:56:17.5590855Z", + "contentLength": 0, + "contentType": "application/octet-stream" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json new file mode 100644 index 000000000000..68b38f47f1fb --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "recursive": false + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "startup\\ProcessEnv.cmd", + "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId/files/startup\\ProcessEnv.cmd", + "isDirectory": false, + "properties": { + "creationTime": "2014-09-19T21:56:17.679195Z", + "lastModified": "2014-09-19T21:56:17.679195Z", + "contentLength": 1813, + "contentType": "application/octet-stream" + } + }, + { + "name": "startup\\stderr.txt", + "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId/files/startup\\stderr.txt", + "isDirectory": false, + "properties": { + "creationTime": "2014-09-19T21:56:17.5590855Z", + "lastModified": "2014-09-19T21:56:17.5590855Z", + "contentLength": 0, + "contentType": "application/octet-stream" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json new file mode 100644 index 000000000000..c3b086515bc8 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "job": { + "id": "jobId", + "priority": 0, + "poolInfo": { + "poolId": "poolId" + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json new file mode 100644 index 000000000000..962624eb9d4d --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "job": { + "id": "jobId", + "priority": 100, + "constraints": { + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 + }, + "jobManagerTask": { + "id": "taskId", + "commandLine": "myprogram.exe", + "resourceFiles": [ + { + "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram.exe?sas", + "filePath": "myprogram.exe" + }, + { + "storageContainerUrl": "http://mystorage1.blob.core.windows.net/data?sas", + "filePath": "datafolder" + } + ], + "environmentSettings": [ + { + "name": "myvariable", + "value": "myvalue" + } + ], + "constraints": { + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 0, + "retentionTime": "PT1H" + }, + "killJobOnCompletion": false, + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "admin" + } + }, + "runExclusive": true + }, + "poolInfo": { + "autoPoolSpecification": { + "autoPoolIdPrefix": "mypool", + "poolLifetimeOption": "job", + "pool": { + "vmSize": "small", + "cloudServiceConfiguration": { + "osFamily": "4", + "osVersion": "*" + }, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 3, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 2, + "taskSchedulingPolicy": { + "nodeFillType": "spread" + }, + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "startTask": { + "commandLine": "myprogram2.exe", + "resourceFiles": [ + { + "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram2.exe?sas", + "filePath": "myprogram2.exe" + } + ], + "environmentSettings": [ + { + "name": "myvariable", + "value": "myvalue" + } + ], + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "admin" + } + }, + "maxTaskRetryCount": 2, + "waitForSuccess": true + }, + "certificateReferences": [ + { + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "thumbprintAlgorithm": "sha1", + "storeLocation": "localmachine", + "storeName": "Root", + "visibility": [ + "task" + ] + } + ], + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] + } + } + }, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json new file mode 100644 index 000000000000..1583a88ddc0e --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json new file mode 100644 index 000000000000..1f1515b2c889 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobDisableParameter": { + "disableTasks": "terminate" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json new file mode 100644 index 000000000000..1583a88ddc0e --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json new file mode 100644 index 000000000000..2c188573b028 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "id": "jobId", + "url": "https://account.region.batch.azure.com/jobs/jobId", + "eTag": "0x8D4100FC49F0278", + "lastModified": "2016-11-19T00:05:27.5391608Z", + "creationTime": "2016-11-19T00:05:25.311915Z", + "state": "completed", + "stateTransitionTime": "2016-11-19T00:05:27.578581Z", + "previousState": "active", + "previousStateTransitionTime": "2016-11-19T00:05:27.2137716Z", + "priority": 0, + "usesTaskDependencies": false, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + }, + "executionInfo": { + "startTime": "2016-11-19T00:05:25.3309105Z", + "endTime": "2016-11-19T00:05:27.578581Z", + "poolId": "poolId", + "terminateReason": "UserTerminate" + }, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction" + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json new file mode 100644 index 000000000000..96235701ccaf --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "startTime": "2014-08-01T18:30:00.4345729Z", + "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", + "userCPUTime": "PT0S", + "kernelCPUTime": "PT0S", + "wallClockTime": "PT0S", + "readIOps": 0, + "writeIOps": 0, + "readIOGiB": 10.0, + "writeIOGiB": 5.0, + "numSucceededTasks": 0, + "numFailedTasks": 0, + "numTaskRetries": 0, + "waitTime": "PT0S" + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json new file mode 100644 index 000000000000..98c649a54912 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "active": 5, + "running": 7, + "completed": 4, + "succeeded": 2, + "failed": 2 + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json new file mode 100644 index 000000000000..b7671a044ed8 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "jobId", + "url": "https://account.region.batch.azure.com/jobs/jobId", + "eTag": "0x8D4100FC46D5BF4", + "lastModified": "2016-11-19T00:05:27.2137716Z", + "creationTime": "2016-11-19T00:05:25.311915Z", + "state": "active", + "stateTransitionTime": "2016-11-19T00:05:27.2137716Z", + "previousState": "disabled", + "previousStateTransitionTime": "2016-11-19T00:05:26.88777Z", + "priority": 0, + "usesTaskDependencies": false, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + }, + "executionInfo": { + "startTime": "2016-11-19T00:05:25.3309105Z", + "poolId": "poolId" + }, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json new file mode 100644 index 000000000000..7e48d3ce8cea --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "jobId", + "url": "https://account.region.batch.azure.com/jobs/jobId", + "eTag": "0x8D4100FC46D5BF4", + "lastModified": "2016-11-19T00:05:27.2137716Z", + "creationTime": "2016-11-19T00:05:25.311915Z", + "state": "active", + "stateTransitionTime": "2016-11-19T00:05:27.2137716Z", + "previousState": "disabled", + "previousStateTransitionTime": "2016-11-19T00:05:26.88777Z", + "priority": 0, + "usesTaskDependencies": false, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + }, + "executionInfo": { + "startTime": "2016-11-19T00:05:25.3309105Z", + "poolId": "poolId" + }, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json new file mode 100644 index 000000000000..c02841e1fa5a --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "poolId": "poolId", + "nodeId": "tvm-2167304207_1-20140905t174658z", + "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z", + "jobPreparationTaskExecutionInfo": { + "state": "completed", + "startTime": "2015-05-01T10:20:31Z", + "endTime": "2015-05-02T20:12:42Z", + "taskRootDirectory": "tasks/myjob/job-1/myjobpreptask", + "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z/files/tasks/myjob/job-1/myjobpreptask", + "exitCode": 0, + "retryCount": 0 + }, + "jobReleaseTaskExecutionInfo": { + "state": "completed", + "startTime": "2015-05-01T10:20:31Z", + "endTime": "2015-05-02T20:12:42Z", + "taskRootDirectory": "tasks/myjob/job-1/myjobreleasetask", + "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z/files/tasks/myjob/job-1/myjobreleasetask", + "exitCode": 0 + } + } + ], + "odata.nextLink": "https://account.region.batch.azure.com/jobs/myjob/jobpreparationandreleasestatus?$skipToken=tvm-2167304207_1-20140905t174658z&api-version=2019-08-01.10.0" + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json new file mode 100644 index 000000000000..8ebe63a7c96f --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobPatchParameter": { + "priority":100, + "constraints": { + "maxWallClockTime":"PT1H", + "maxTaskRetryCount":-1 + }, + "poolInfo": { + "poolId":"poolId" + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json new file mode 100644 index 000000000000..98715c276bd8 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "cloudJobSchedule": { + "id": "jobScheduleId", + "schedule": { + "recurrenceInterval":"PT5M" + }, + "jobSpecification": { + "poolInfo": { + "poolId": "poolId" + } + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json new file mode 100644 index 000000000000..fd99a1cee261 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "cloudJobSchedule": { + "id": "jobScheduleId", + "schedule": { + "doNotRunUntil": "2014-09-10T02:30:00.000Z", + "doNotRunAfter": "2014-09-10T06:30:00.000Z", + "startWindow": "PT1M", + "recurrenceInterval": "PT5M" + }, + "jobSpecification": { + "priority": 100, + "constraints": { + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 + }, + "jobManagerTask": { + "id": "mytask1", + "commandLine": "myprogram.exe", + "resourceFiles": [ + { + "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram.exe?sas", + "filePath": "myprogram.exe" + }, + { + "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/test.txt?sas", + "filePath": "test.txt" + } + ], + "environmentSettings": [ + { + "name": "myvariable", + "value": "myvalue" + } + ], + "constraints": { + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 0, + "retentionTime": "PT1H" + }, + "killJobOnCompletion": true, + "userIdentity": { + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "runExclusive": true + }, + "poolInfo": { + "autoPoolSpecification": { + "autoPoolIdPrefix": "mypool", + "poolLifetimeOption": "jobschedule", + "pool": { + "vmSize": "small", + "cloudServiceConfiguration": { + "osFamily": "4", + "osVersion": "*" + }, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 3, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 2, + "taskSchedulingPolicy": { + "nodeFillType": "spread" + }, + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "startTask": { + "commandLine": "myprogram2.exe", + "resourceFiles": [ + { + "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram2.exe?sas", + "filePath": "myprogram2.exe" + } + ], + "environmentSettings": [ + { + "name": "myvariable", + "value": "myvalue" + } + ], + "userIdentity": { + "autoUser": { + "scope": "task", + "elevationLevel": "admin" + } + }, + "maxTaskRetryCount": 2, + "waitForSuccess": true + }, + "certificateReferences": [ + { + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "thumbprintAlgorithm": "sha1", + "storeLocation": "localmachine", + "storeName": "Root", + "visibility": [ + "task" + ] + } + ], + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] + } + } + } + }, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json new file mode 100644 index 000000000000..e3a9e354ddf2 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json new file mode 100644 index 000000000000..9f8f51e7681e --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json new file mode 100644 index 000000000000..9f8f51e7681e --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json new file mode 100644 index 000000000000..ef4e41d969e5 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + }, + "404": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json new file mode 100644 index 000000000000..a6041c5477e2 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "id": "jobScheduleId", + "url": "https://account.region.batch.azure.com/jobschedules/jobScheduleId", + "eTag": "0x8D40FFD2E848323", + "lastModified": "2016-11-18T21:52:24.7661347Z", + "creationTime": "2016-11-18T21:52:22.5431125Z", + "state": "completed", + "stateTransitionTime": "2016-11-18T21:52:24.8371778Z", + "previousState": "active", + "previousStateTransitionTime": "2016-11-18T21:52:24.0064874Z", + "jobSpecification": { + "priority": 0, + "usesTaskDependencies": false, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction", + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "testPool" + } + }, + "executionInfo": { + "recentJob": { + "url": "https://account.region.batch.azure.com/jobschedules/jobScheduleId:job-1", + "id": "jobScheduleId:job-1" + }, + "endTime": "2016-11-18T21:52:24.8371778Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json new file mode 100644 index 000000000000..04debad37dcd --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "jobSchedule1", + "url": "https://account.region.batch.azure.com/jobschedules/jobSchedule1", + "eTag": "0x8D40FFD2E10996A", + "lastModified": "2016-11-18T21:52:24.0064874Z", + "creationTime": "2016-11-18T21:52:22.5431125Z", + "state": "active", + "stateTransitionTime": "2016-11-18T21:52:24.0064874Z", + "previousState": "disabled", + "previousStateTransitionTime": "2016-11-18T21:52:23.6471782Z", + "jobSpecification": { + "priority": 0, + "usesTaskDependencies": false, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction", + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + } + }, + "executionInfo": { + "recentJob": { + "url": "https://account.region.batch.azure.com/jobs/jobSchedule1:job-1", + "id": "jobSchedule1:job-1" + } + } + }, + { + "id": "jobSchedule2", + "url": "https://account.region.batch.azure.com/jobschedules/jobSchedule2", + "eTag": "0x8D40FFCFF760B51", + "lastModified": "2016-11-18T21:51:05.8184017Z", + "creationTime": "2016-11-18T21:51:05.8184017Z", + "state": "active", + "stateTransitionTime": "2016-11-18T21:51:05.8184017Z", + "schedule": { + "doNotRunUntil": "2020-01-01T12:30:00Z" + }, + "jobSpecification": { + "priority": 0, + "usesTaskDependencies": false, + "onAllTasksComplete": "noaction", + "onTaskFailure": "noaction", + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "testPool2" + } + }, + "executionInfo": { + "nextRunTime": "2020-01-01T12:30:00Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json new file mode 100644 index 000000000000..7f16b87652b3 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobSchedulePatchParameter": { + "schedule": { + "doNotRunUntil": "2025-01-01T12:30:00Z" + }, + "jobSpecification": { + "priority": 0, + "usesTaskDependencies": false, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + } + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json new file mode 100644 index 000000000000..e3a9e354ddf2 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json new file mode 100644 index 000000000000..85e1a38de0b9 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobScheduleId": "jobScheduleId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobScheduleUpdateParameter": { + "schedule": { + "doNotRunUntil": "2025-01-01T12:30:00Z" + }, + "jobSpecification": { + "priority": 0, + "usesTaskDependencies": false, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "poolInfo": { + "poolId": "poolId" + } + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json new file mode 100644 index 000000000000..45123b47d1ab --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobTerminateParameter": { + "terminateReason": "User supplied termination reason" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json new file mode 100644 index 000000000000..432583a59050 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "jobUpdateParameter": { + "priority":100, + "constraints": { + "maxWallClockTime":"PT1H", + "maxTaskRetryCount":-1 + }, + "poolInfo": { + "poolId":"poolId" + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json new file mode 100644 index 000000000000..9c04040f3c4f --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "user": { + "name": "userName", + "isAdmin": false, + "expiryTime": "2017-08-01T00:00:00Z", + "password": "Password" + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json new file mode 100644 index 000000000000..c4d7b63035ae --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "userName": "userName", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json new file mode 100644 index 000000000000..889c1389b477 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "nodeDisableSchedulingParameter": { + "nodeDisableSchedulingOption": "terminate" + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json new file mode 100644 index 000000000000..3c4ad27187a1 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json new file mode 100644 index 000000000000..95f1fd2b2129 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json new file mode 100644 index 000000000000..bcf483df5a36 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "remoteLoginIPAddress": "1.1.1.1", + "remoteLoginPort": 50000 + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json new file mode 100644 index 000000000000..a19071ba6caa --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "poolId": "poolId", + "nodeId": "tvm-1695681911_2-20161122t193202z", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "id": "tvm-1695681911_2-20161122t193202z", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_2-20161122t193202z", + "state": "idle", + "schedulingState": "enabled", + "stateTransitionTime": "2016-11-22T19:37:31.4285526Z", + "lastBootTime": "2016-11-22T19:37:28.623369Z", + "allocationTime": "2016-11-22T19:32:02.8155319Z", + "ipAddress": "1.1.1.1", + "affinityId": "TVM:tvm-1695681911_2-20161122t193202z", + "vmSize": "small", + "totalTasksRun": 0, + "totalTasksSucceeded": 0, + "runningTasksCount": 0, + "isDedicated": true, + "startTask": { + "commandLine": "cmd /c echo hello", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "startTaskInfo": { + "state": "completed", + "startTime": "2016-11-22T19:37:31.4285526Z", + "endTime": "2016-11-22T19:37:31.838028Z", + "exitCode": 0, + "retryCount": 0 + }, + "nodeAgentInfo": { + "version": "1.2.0.0", + "lastUpdateTime": "2016-11-22T19:37:28.623369Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json new file mode 100644 index 000000000000..b3637167098d --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json @@ -0,0 +1,131 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "tvm-1695681911_1-20161122t193202z", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_1-20161122t193202z", + "state": "idle", + "schedulingState": "enabled", + "stateTransitionTime": "2016-11-22T22:22:27.2236818Z", + "lastBootTime": "2016-11-22T22:22:24.4634125Z", + "allocationTime": "2016-11-22T19:32:02.8155319Z", + "ipAddress": "1.1.1.1", + "affinityId": "TVM:tvm-1695681911_1-20161122t193202z", + "vmSize": "small", + "totalTasksRun": 0, + "totalTasksSucceeded": 0, + "runningTasksCount": 0, + "isDedicated": true, + "startTask": { + "commandLine": "cmd /c echo hello", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "startTaskInfo": { + "state": "completed", + "startTime": "2016-11-22T22:22:27.2236818Z", + "endTime": "2016-11-22T22:22:27.567189Z", + "exitCode": 0, + "retryCount": 0 + }, + "nodeAgentInfo": { + "version": "1.2.0.0", + "lastUpdateTime": "2016-11-22T22:22:24.4634125Z" + } + }, + { + "id": "tvm-1695681911_2-20161122t193202z", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_2-20161122t193202z", + "state": "idle", + "schedulingState": "enabled", + "stateTransitionTime": "2016-11-22T19:37:31.4285526Z", + "lastBootTime": "2016-11-22T19:37:28.623369Z", + "allocationTime": "2016-11-22T19:32:02.8155319Z", + "ipAddress": "1.1.1.1", + "affinityId": "TVM:tvm-1695681911_2-20161122t193202z", + "vmSize": "small", + "totalTasksRun": 0, + "totalTasksSucceeded": 0, + "runningTasksCount": 0, + "isDedicated": true, + "startTask": { + "commandLine": "cmd /c echo hello", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "startTaskInfo": { + "state": "completed", + "startTime": "2016-11-22T19:37:31.4285526Z", + "endTime": "2016-11-22T19:37:31.838028Z", + "exitCode": 0, + "retryCount": 0 + }, + "nodeAgentInfo": { + "version": "1.2.0.0", + "lastUpdateTime": "2016-11-22T22:22:24.4634125Z" + } + }, + { + "id": "tvm-1695681911_3-20161122t193202z", + "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_3-20161122t193202z", + "state": "idle", + "schedulingState": "enabled", + "stateTransitionTime": "2016-11-22T19:36:51.0013378Z", + "lastBootTime": "2016-11-22T19:36:48.21721Z", + "allocationTime": "2016-11-22T19:32:02.8155319Z", + "ipAddress": "1.1.1.1", + "affinityId": "TVM:tvm-1695681911_3-20161122t193202z", + "vmSize": "small", + "totalTasksRun": 0, + "totalTasksSucceeded": 0, + "runningTasksCount": 0, + "isDedicated": true, + "startTask": { + "commandLine": "cmd /c echo hello", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "startTaskInfo": { + "state": "completed", + "startTime": "2016-11-22T19:36:51.0013378Z", + "endTime": "2016-11-22T19:36:51.2363447Z", + "exitCode": 0, + "retryCount": 0 + }, + "nodeAgentInfo": { + "version": "1.2.0.0", + "lastUpdateTime": "2016-11-22T22:22:24.4634125Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json new file mode 100644 index 000000000000..aeafbb45f083 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "nodeRebootParameter": { + "nodeRebootOption": "terminate" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json new file mode 100644 index 000000000000..6ea18ff22964 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161122t193202z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "nodeReimageParameter": { + "nodeReimageOption": "terminate" + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json new file mode 100644 index 000000000000..7bf33e303842 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "userName": "userName", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "nodeUpdateUserParameter": { + "password": "12345", + "expiryTime": "2016-11-27T00:45:48.7320857Z" + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json new file mode 100644 index 000000000000..1a80865e0cfa --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "nodeId": "tvm-1695681911_1-20161121t182739z", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "uploadBatchServiceLogsConfiguration": { + "containerUrl": "https://somestorageacct.blob.core.windows.net/batch-compute-node-logs?se=2017-12-09T18%3A51%3A00Z&sp=w&sv=2016-05-31&sr=c&sig", + "startTime": "2017-11-27T00:00:00Z" + } + }, + "responses": { + "200": { + "body": { + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json new file mode 100644 index 000000000000..11227b2b9b66 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "pool": { + "id": "poolId", + "vmSize": "small", + "cloudServiceConfiguration": { + "osFamily": "4" + }, + "resizeTimeout":"PT15M", + "targetDedicatedNodes":5, + "targetLowPriorityNodes":0, + "maxTasksPerNode":3, + "taskSchedulingPolicy": { + "nodeFillType":"spread" + }, + "enableAutoScale":false, + "enableInterNodeCommunication":true, + "metadata": [ { + "name":"myproperty", + "value":"myvalue" + } ] + } + }, + "responses": { + "201": { + "request-id": "00000000-0000-0000-0000-000000000000", + "ETag": "0x8D45765A6A2DC04", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json new file mode 100644 index 000000000000..8dab0f676701 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", + "pool": { + "id": "pool2", + "vmSize": "standard_a1", + "virtualMachineConfiguration": { + "imageReference": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "16.04.0-LTS" + }, + "nodeAgentSKUId": "batch.node.ubuntu 16.04" + }, + "mountConfiguration": [{ + "azureBlobFileSystemConfiguration": { + "accountName": "accountName", + "containerName": "blobContainerName", + "accountKey": "accountKey", + "relativeMountPath": "bfusepath" + } + }, + { + "azureFileShareConfiguration": { + "accountName": "accountName", + "azureFileUrl": "https://myaccount.file.core.windows.net/fileshare", + "accountKey": "accountKey", + "relativeMountPath": "filesharepath", + "mountOptions": "mount options ver=1.0" + } + }, + { + "nfsMountConfiguration": { + "source": "somesource nfs url", + "relativeMountPath": "mountpath", + "mountOptions": "mount options ver=1.0" + } + }, + { + "cifsMountConfiguration": { + "username": "accountName", + "password": "password", + "source": "//myaccount.file.core.windows.net/file", + "relativeMountPath": "mountpath", + "mountOptions": "mount options ver=1.0" + } + }], + "resizeTimeout":"PT15M", + "targetDedicatedNodes":5, + "targetLowPriorityNodes":0, + "maxTasksPerNode":3, + "taskSchedulingPolicy": { + "nodeFillType":"spread" + }, + "enableAutoScale":false + } + }, + "responses": { + "201": { + "request-id": "00000000-0000-0000-0000-000000000000", + "ETag": "0x8D45765A6A2DC04", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" + } + } +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json new file mode 100644 index 000000000000..84a185873a80 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "pool": { + "id": "pool2", + "vmSize": "standard_a1", + "virtualMachineConfiguration": { + "imageReference": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "16.04.0-LTS" + }, + "nodeAgentSKUId": "batch.node.ubuntu 16.04" + }, + "resizeTimeout":"PT15M", + "targetDedicatedNodes":5, + "targetLowPriorityNodes":0, + "maxTasksPerNode":3, + "taskSchedulingPolicy": { + "nodeFillType":"spread" + }, + "enableAutoScale":false, + "enableInterNodeCommunication":true, + "metadata": [ { + "name":"myproperty", + "value":"myvalue" + } ] + } + }, + "responses": { + "201": { + "request-id": "00000000-0000-0000-0000-000000000000", + "ETag": "0x8D45765A6A2DC04", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json new file mode 100644 index 000000000000..2dd4057f6460 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "pool": { + "id": "pool2", + "vmSize": "standard_a1", + "virtualMachineConfiguration": { + "imageReference": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "16.04.0-LTS" + }, + "nodeAgentSKUId": "batch.node.ubuntu 16.04", + "containerConfiguration": { + "type": "dockerCompatible", + "containerImageNames": [ + "busybox" + ] + } + }, + "resizeTimeout":"PT15M", + "targetDedicatedNodes":5, + "targetLowPriorityNodes":0, + "maxTasksPerNode":3, + "taskSchedulingPolicy": { + "nodeFillType":"spread" + }, + "enableAutoScale":false + } + }, + "responses": { + "201": { + "request-id": "00000000-0000-0000-0000-000000000000", + "ETag": "0x8D45765A6A2DC04", + "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json new file mode 100644 index 000000000000..9bf601104184 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json new file mode 100644 index 000000000000..d5acfb2d3d45 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json new file mode 100644 index 000000000000..f2c42876b4ca --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "poolEnableAutoScaleParameter": { + "autoScaleFormula": "$TargetDedicated=0", + "autoScaleEvaluationInterval": "PT8M" + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json new file mode 100644 index 000000000000..03216e1268a4 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "poolEvaluateAutoScaleParameter": { + "autoScaleFormula": "$TargetDedicated=1" + } + }, + "responses": { + "200": { + "body": { + "timestamp": "2016-11-22T19:39:28.5246331Z", + "results": "$TargetDedicated=1;$NodeDeallocationOption=requeue" + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json new file mode 100644 index 000000000000..a1f476de9bbe --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + }, + "404": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json new file mode 100644 index 000000000000..fd140719417b --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "startTime": "2014-08-01T18:30:00.4345729Z", + "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", + "usageStats": { + "startTime": "2014-08-01T18:30:00.4345729Z", + "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", + "dedicatedCoreTime": "PT0S" + }, + "resourceStats": { + "startTime": "2014-08-01T18:30:00.4345729Z", + "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", + "avgCPUPercentage": 40.0, + "avgMemoryGiB": 2.0, + "peakMemoryGiB": 4.0, + "avgDiskGiB": 125.0, + "peakDiskGiB": 240.0, + "diskReadIOps": 0, + "diskWriteIOps": 0, + "diskReadGiB": 10.0, + "diskWriteGiB": 1.0, + "networkReadGiB": 20.0, + "networkWriteGiB": 25.0 + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json new file mode 100644 index 000000000000..5e5caae4f8ef --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "pool", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "id": "pool", + "url": "https://account.region.batch.azure.com/pools/pool", + "eTag": "0x8D413091E739A56", + "lastModified": "2016-11-22T18:55:25.2608598Z", + "creationTime": "2016-11-22T18:55:24.2632496Z", + "state": "active", + "stateTransitionTime": "2016-11-22T18:55:24.2632496Z", + "allocationState": "steady", + "allocationStateTransitionTime": "2016-11-22T18:55:24.8154041Z", + "vmSize": "standard_a1", + "resizeTimeout": "PT15M", + "currentDedicatedNodes": 0, + "currentLowPriorityNodes": 0, + "targetDedicatedNodes": 0, + "targetLowPriorityNodes": 0, + "enableAutoScale": false, + "enableInterNodeCommunication": false, + "startTask": { + "commandLine": "/bin/bash -c 'echo start task'", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "maxTasksPerNode": 1, + "taskSchedulingPolicy": { + "nodeFillType": "spread" + }, + "virtualMachineConfiguration": { + "imageReference": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "16.04.0-LTS", + "version": "latest" + }, + "nodeAgentSKUId": "batch.node.ubuntu 16.04" + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json new file mode 100644 index 000000000000..768054a0a457 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "startTime": "2013-04-01T00:00:00Z", + "endTime": "2013-04-01T00:30:00Z", + "poolId": "p1", + "vmSize": "a1", + "totalCoreHours": 39.384838 + }, + { + "startTime": "2013-04-01T00:30:00Z", + "endTime": "2013-04-01T01:00:00Z", + "poolId": "p2", + "vmSize": "a8", + "totalCoreHours": 3039.384838 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json new file mode 100644 index 000000000000..7a586e115435 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "testPool", + "url": "https://accountname.region.batch.azure.com/pools/testPool", + "eTag": "0x8D4123BEF87D233", + "lastModified": "2016-11-21T18:26:39.7108787Z", + "creationTime": "2016-11-21T18:26:39.7108787Z", + "state": "active", + "stateTransitionTime": "2016-11-21T18:26:39.7108787Z", + "allocationState": "steady", + "allocationStateTransitionTime": "2016-11-21T18:27:40.287803Z", + "vmSize": "small", + "resizeTimeout": "PT15M", + "currentDedicatedNodes": 3, + "currentLowPriorityNodes": 0, + "targetDedicatedNodes": 3, + "targetLowPriorityNodes": 0, + "enableAutoScale": false, + "enableInterNodeCommunication": false, + "startTask": { + "commandLine": "cmd /c echo hello", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "maxTaskRetryCount": 0, + "waitForSuccess": false + }, + "maxTasksPerNode": 1, + "taskSchedulingPolicy": { + "nodeFillType": "spread" + }, + "cloudServiceConfiguration": { + "osFamily": "4", + "osVersion": "*" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json new file mode 100644 index 000000000000..460612e9e32c --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "poolPatchParameter": { + "startTask": { + "commandLine": "/bin/bash -c 'echo start task'" + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json new file mode 100644 index 000000000000..b840580555d3 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "nodeRemoveParameter": { + "nodeList": [ + "tvm-1695681911_1-20161122t224741z", + "tvm-1695681911_2-20161122t224741z" + ] + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json new file mode 100644 index 000000000000..b63b319553b8 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "resizePool", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "poolResizeParameter": { + "targetDedicatedNodes": 1, + "targetLowPriorityNodes": 0 + } + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json new file mode 100644 index 000000000000..9bf601104184 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "202": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json new file mode 100644 index 000000000000..cb368bb843c0 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "poolId": "poolId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "poolUpdatePropertiesParameter": { + "startTask": { + "commandLine": "/bin/bash -c 'echo start task'" + }, + "certificateReferences": [], + "applicationPackageReferences": [], + "metadata": [] + } + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json new file mode 100644 index 000000000000..b34b12c6bdd3 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "taskCollection": { + "value": [ + { + "id": "simple1", + "commandLine": "cmd /c dir /s" + }, + { + "id": "simple2", + "commandLine": "cmd /c dir /s" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "status": "success", + "taskId": "simple1", + "eTag": "0x8D3D623CD661246", + "lastModified": "2016-09-06T07:02:44.7589958Z", + "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple1" + }, + { + "status": "success", + "taskId": "simple2", + "eTag": "0x8D3D623CD7072CC", + "lastModified": "2016-09-06T07:02:44.8270028Z", + "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple2" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json new file mode 100644 index 000000000000..f13e5c68e2ae --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "taskCollection": { + "value": [ + { + "id": "complex1", + "commandLine": "cmd /c dir /s", + "resourceFiles": [ + { + "autoStorageContainerName": "containerName", + "filePath": "data" + } + ], + "environmentSettings": [ + { + "name": "env1", + "value": "value1" + }, + { + "name": "env2", + "value": "value2" + } + ], + "affinityInfo": { + "affinityId": "affinityId" + }, + "constraints": { + "maxWallClockTime": "P1D", + "retentionTime": "P2D", + "maxTaskRetryCount": 5 + }, + "multiInstanceSettings": { + "numberOfInstances": 3, + "coordinationCommandLine": "cmd /c echo coordinating", + "commonResourceFiles": [ + { + "httpUrl": "https://common.blob.core.windows.net/", + "filePath": "common.exe" + } + ] + } + }, + { + "id": "simple3", + "commandLine": "cmd /c dir /s" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "taskId": "simple3", + "status": "success", + "eTag": "0x8D3D623CE295629", + "lastModified": "2016-09-06T07:02:46.0386857Z", + "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple3" + }, + { + "taskId": "complex1", + "status": "success", + "eTag": "0x8D3D623CE29A412", + "lastModified": "2016-09-06T07:02:46.0406802Z", + "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/complex1" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json new file mode 100644 index 000000000000..eaf25f0c1c36 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "task": { + "id": "task1", + "commandLine": "cmd /c echo task1" + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json new file mode 100644 index 000000000000..00d7901295fa --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "task": { + "id": "taskId", + "commandLine": "bash -c 'echo hello'", + "containerSettings": { + "imageName": "ubuntu", + "containerRunOptions": "--rm" + }, + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json new file mode 100644 index 000000000000..658a34bd72be --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "task": { + "id": "taskId", + "commandLine": "cmd /c exit 3", + "exitConditions": { + "exitCodeRanges": [ + { + "start": 2, + "end": 4, + "exitOptions": { + "jobAction": "terminate" + } + } + ] + }, + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + } + } + }, + "responses": { + "201": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json new file mode 100644 index 000000000000..ae5f7b3af80e --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json new file mode 100644 index 000000000000..8e3bd19d101d --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "id": "testTask", + "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId", + "eTag": "0x8D3D62350711C55", + "creationTime": "2016-09-06T06:59:15.1161429Z", + "lastModified": "2016-09-06T06:59:15.1161429Z", + "state": "active", + "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", + "commandLine": "cmd /c hostname", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "multiInstanceSettings": { + "numberOfInstances": 3, + "coordinationCommandLine": "cmd /c echo coordinating" + }, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "retentionTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "executionInfo": { + "retryCount": 0, + "requeueCount": 0 + } + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json new file mode 100644 index 000000000000..03717e0a7d29 --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "task1", + "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/task1", + "eTag": "0x8D4125FD1A825A4", + "creationTime": "2016-11-21T22:43:31.4733476Z", + "lastModified": "2016-11-21T22:43:31.4733476Z", + "state": "active", + "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", + "commandLine": "cmd /c echo task1", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "retentionTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 0 + }, + "executionInfo": { + "retryCount": 0, + "requeueCount": 0 + } + }, + { + "id": "task2", + "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/task2", + "eTag": "0x8D4125FD2153345", + "creationTime": "2016-11-21T22:43:31.6736345Z", + "lastModified": "2016-11-21T22:43:32.1880389Z", + "state": "active", + "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", + "commandLine": "cmd /c echo task2", + "userIdentity":{ + "autoUser": { + "scope": "task", + "elevationLevel": "nonadmin" + } + }, + "constraints": { + "maxWallClockTime": "P10675199DT2H48M5.4775807S", + "retentionTime": "P10675199DT2H48M5.4775807S", + "maxTaskRetryCount": 3 + }, + "executionInfo": { + "retryCount": 0, + "requeueCount": 0 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json new file mode 100644 index 000000000000..1eeb5cf2d06c --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": 1, + "startTime": "2016-09-06T06:59:16.3139271Z", + "endTime": "2016-09-06T06:59:20.0242024Z", + "state": "completed", + "stateTransitionTime": "2016-09-06T06:59:20.0242024Z", + "previousState": "running", + "previousStateTransitionTime": "2016-09-06T06:59:16.3139271Z", + "exitCode": 0, + "nodeInfo": { + "affinityId": "TVM:tvm-2544493925_3-20160905t051718z", + "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_3-20160905t051718z", + "poolId": "mpiPool", + "nodeId": "tvm-2544493925_3-20160905t051718z", + "taskRootDirectory": "\\workitems\\jobId\\job-1\\taskId\\1", + "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_3-20160905t051718z/files//workitems/jobId/job-1/taskId/1" + } + }, + { + "id": 2, + "startTime": "2016-09-06T06:59:16.9702844Z", + "state": "running", + "stateTransitionTime": "2016-09-06T06:59:16.9702844Z", + "nodeInfo": { + "affinityId": "TVM:tvm-2544493925_2-20160905t051718z", + "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_2-20160905t051718z", + "poolId": "mpiPool", + "nodeId": "tvm-2544493925_2-20160905t051718z", + "taskRootDirectory": "\\workitems\\jobId\\job-1\\taskId\\2", + "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_2-20160905t051718z/files//workitems/jobId/job-1/taskId/2" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json new file mode 100644 index 000000000000..f2bf57b1852c --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json new file mode 100644 index 000000000000..f2bf57b1852c --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" + }, + "responses": { + "204": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json new file mode 100644 index 000000000000..88286a9c488a --- /dev/null +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "batchUrl": "account.region.batch.azure.com", + "api-version": "2019-08-01.10.0", + "jobId": "jobId", + "taskId": "taskId", + "client-request-id": "00000000-0000-0000-0000-000000000000", + "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", + "taskUpdateParameter": { + "constraints": { + "maxWallClockTime":"PT1H", + "maxTaskRetryCount":3, + "retentionTime":"PT1H" + } + } + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/batch/data-plane/readme.go.md b/specification/batch/data-plane/readme.go.md index b1c62e2a22ae..97a9240d60c4 100644 --- a/specification/batch/data-plane/readme.go.md +++ b/specification/batch/data-plane/readme.go.md @@ -18,6 +18,16 @@ batch: - tag: package-2018-08.7.0 - tag: package-2018-12.8.0 - tag: package-2019-06.9.0 + - tag: package-2019-08.10.0 +``` + +### Tag: package-2019-08.10.0 and go + +These settings apply only when `--tag=package-2019-06.9.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2019-08.10.0' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/2019-08-01.10.0/$(namespace) ``` ### Tag: package-2019-06.9.0 and go diff --git a/specification/batch/data-plane/readme.md b/specification/batch/data-plane/readme.md index cd89c2e2a8fe..fe6f3ff0c1c2 100644 --- a/specification/batch/data-plane/readme.md +++ b/specification/batch/data-plane/readme.md @@ -26,7 +26,16 @@ These are the global settings for the Batch API. ``` yaml openapi-type: data-plane -tag: package-2019-06.9.0 +tag: package-2019-08.10.0 +``` + +### Tag: package-2019-08.10.0 + +These settings apply only when `--tag=package-2019-08.10.0` is specified on the command line. + +``` yaml $(tag) == 'package-2019-08.10.0' +input-file: +- Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json ``` ### Tag: package-2019-06.9.0 diff --git a/specification/batch/data-plane/readme.nodejs.md b/specification/batch/data-plane/readme.nodejs.md index bfa69d5ebf73..153fd930a812 100644 --- a/specification/batch/data-plane/readme.nodejs.md +++ b/specification/batch/data-plane/readme.nodejs.md @@ -6,6 +6,7 @@ Please also specify `--node-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace) +``` + ### Tag: package-2019-04 and go These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 45918b60c2d9..9d070b8f7ec5 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -26,9 +26,17 @@ These are the global settings for the Batch API. ``` yaml openapi-type: arm -tag: package-2019-04 +tag: package-2019-08 ``` +### Tag: package-2019-08 + +These settings apply only when `--tag=package-2019-08` is specified on the command line. + +```yaml $(tag) == 'package-2019-08' +input-file: + - Microsoft.Batch/stable/2019-08-01/BatchManagement.json +``` ### Tag: package-2019-04 @@ -38,6 +46,7 @@ These settings apply only when `--tag=package-2019-04` is specified on the comma input-file: - Microsoft.Batch/stable/2019-04-01/BatchManagement.json ``` + ### Tag: package-2018-12 These settings apply only when `--tag=package-2018-12` is specified on the command line. From d7d9b6db556bdc69190a32508d646395c3ff9728 Mon Sep 17 00:00:00 2001 From: hagba <48715560+hagba@users.noreply.github.com> Date: Thu, 1 Aug 2019 01:41:49 +0300 Subject: [PATCH 401/495] Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable (#6766) * Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * Set IoTSecuritySolutions & IoTSecuritySolutionAnalytics API as stable * remove example from file names * remove paging support from IoTSecurityDeviceRecommendationsList * remove paging from IoTSecurityAlertedDevicesList --- .../CreateIoTSecuritySolution.json | 262 +++++ .../DeleteIoTSecuritySolution.json | 12 + .../GetIoTSecuritySolution.json | 121 +++ .../GetIoTSecuritySolutionsList.json | 234 +++++ .../GetIoTSecuritySolutionsListByIotHub.json | 126 +++ ...IoTSecuritySolutionsListByIotHubAndRg.json | 127 +++ .../GetIoTSecuritySolutionsListByRg.json | 124 +++ .../UpdateIoTSecuritySolution.json | 148 +++ ...uritySolutionsSecurityAggregatedAlert.json | 32 + ...ySolutionsSecurityAggregatedAlertList.json | 54 ++ ...IoTSecuritySolutionsSecurityAnalytics.json | 91 ++ ...ecuritySolutionsSecurityAnalyticsList.json | 95 ++ ...curitySolutionsSecurityRecommendation.json | 30 + ...tySolutionsSecurityRecommendationList.json | 50 + ...lutionsSecurityAggregatedAlertDismiss.json | 12 + .../iotSecuritySolutionAnalytics.json | 906 ++++++++++++++++++ .../2019-08-01/iotSecuritySolutions.json | 659 +++++++++++++ .../security/resource-manager/readme.md | 6 +- 18 files changed, 3087 insertions(+), 2 deletions(-) create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json create mode 100644 specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json new file mode 100644 index 000000000000..70b99f07679a --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json @@ -0,0 +1,262 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default", + "iotSecuritySolutionData": { + "tags": {}, + "location": "East Us", + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [], + "disabledDataSources": [], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_OpenPorts", + "status": "Disabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "status": "Disabled" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [], + "disabledDataSources": [], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [], + "disabledDataSources": [], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json new file mode 100644 index 000000000000..0c7bc0bf2944 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "204": {}, + "200": {} + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json new file mode 100644 index 000000000000..a45c0ff3aaba --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [], + "disabledDataSources": [], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json new file mode 100644 index 000000000000..a1f086805d86 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json @@ -0,0 +1,234 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "default", + "location": "East Us", + "type": "Microsoft.Security/IoTSecuritySolutions", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ ], + "disabledDataSources": [ ], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SecondGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/sec-solution", + "name": "sec-solution", + "location": "East Us", + "type": "Microsoft.Security/IoTSecuritySolutions", + "tags": { }, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ + "RawEvents" + ], + "disabledDataSources": [ ], + "displayName": "Second Solution", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json new file mode 100644 index 000000000000..c8e79dce066e --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "$filter": "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ + "RawEvents" + ], + "disabledDataSources": [ ], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json new file mode 100644 index 000000000000..8c5ae9396b5f --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyRg", + "$filter": "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyRg/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ + "RawEvents" + ], + "disabledDataSources": [ ], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json new file mode 100644 index 000000000000..91a826fcd064 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "default", + "location": "East Us", + "type": "Microsoft.Security/IoTSecuritySolutions", + "tags": {}, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ ], + "disabledDataSources": [ ], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json new file mode 100644 index 000000000000..1124a2cd860f --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "myRg", + "solutionName": "default", + "updateIotSecuritySolutionData": { + "tags": { + "foo": "bar" + }, + "properties": { + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_OpenPorts", + "status": "Disabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "status": "Disabled" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default", + "name": "default", + "type": "Microsoft.Security/IoTSecuritySolutions", + "location": "East Us", + "tags": { + "foo": "bar" + }, + "properties": { + "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", + "status": "Enabled", + "export": [ + "RawEvents" + ], + "disabledDataSources": [ ], + "displayName": "Solution Default", + "iotHubs": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "userDefinedResources": { + "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"", + "querySubscriptions": [ + "075423e9-7d33-4166-8bdf-3920b04e3735" + ] + }, + "autoDiscoveredResources": [ + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", + "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" + ], + "recommendationsConfiguration": [ + { + "recommendationType": "IoT_ACRAuthentication", + "name": "Service Principal Not Used with ACR", + "status": "Enabled" + }, + { + "recommendationType": "IoT_AgentSendsUnutilizedMessages", + "name": "Agent sending underutilized messages", + "status": "TurnedOn" + }, + { + "recommendationType": "IoT_Baseline", + "name": "Operating system (OS) baseline validation failure", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeHubMemOptimize", + "name": "Edge Hub memory can be optimized", + "status": "Enabled" + }, + { + "recommendationType": "IoT_EdgeLoggingOptions", + "name": "No Logging Configured for Edge Module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InconsistentModuleSettings", + "name": "Module Settings Inconsistent in SecurityGroup", + "status": "Enabled" + }, + { + "recommendationType": "IoT_InstallAgent", + "name": "Install the Azure Security of Things Agent", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_DenyAll", + "name": "Default IP Filter Policy should be Deny", + "status": "Enabled" + }, + { + "recommendationType": "IoT_IPFilter_PermissiveRule", + "name": "IP Filter rule includes large IP range", + "status": "Enabled" + }, + { + "recommendationType": "IoT_OpenPorts", + "name": "Open Ports On Device", + "status": "Disabled" + }, + { + "recommendationType": "IoT_PermissiveFirewallPolicy", + "name": "Permissive firewall policy in one of the chains was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveInputFirewallRules", + "name": "Permissive firewall rule in the input chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PermissiveOutputFirewallRules", + "name": "Permissive firewall rule in the output chain was found", + "status": "Enabled" + }, + { + "recommendationType": "IoT_PrivilegedDockerOptions", + "name": "High level permissions configured in Edge model twin for Edge module", + "status": "Enabled" + }, + { + "recommendationType": "IoT_SharedCredentials", + "name": "Same Authentication Credentials used by multiple devices", + "status": "Disabled" + }, + { + "recommendationType": "IoT_VulnerableTLSCipherSuite", + "name": "TLS cipher suite upgrade", + "status": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json new file mode 100644 index 000000000000..ceddc2e872b5 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default", + "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Fail", + "alertDisplayName": "Failed Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.", + "count": 50, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json new file mode 100644 index 000000000000..91c29bdf1d04 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Fail", + "alertDisplayName": "Failed Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.", + "count": 50, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02", + "type": "Microsoft.Security/IoTSecurityAggregatedAlert", + "properties": { + "alertType": "IoT_Bruteforce_Success", + "alertDisplayName": "Successful Bruteforce", + "aggregatedDateUtc": "2019-02-02", + "vendorName": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "description": "Multiple unsuccsseful login attempts identified followed by a succssful login. A Bruteforce attack on the device was Successfule", + "count": 600000, + "effectedResourceType": "IoT Device", + "systemSource": "Devices", + "actionTaken": "Detected", + "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties" + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json new file mode 100644 index 000000000000..a7337a494529 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModel", + "properties": { + "metrics": { + "high": 5, + "medium": 200, + "low": 102 + }, + "unhealthyDeviceCount": 1200, + "devicesMetrics": [ + { + "date": "2019-02-01T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 15, + "low": 70 + } + }, + { + "date": "2019-02-02T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 45, + "low": 65 + } + } + ], + "topAlertedDevices": [ + { + "deviceId": "id1", + "alertsCount": 200 + }, + { + "deviceId": "id2", + "alertsCount": 170 + }, + { + "deviceId": "id3", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceAlerts": [ + { + "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range", + "reportedSeverity": "Low", + "alertsCount": 200 + }, + { + "alertDisplayName": "Custom Alert - execution of a process that is not allowed", + "reportedSeverity": "Medium", + "alertsCount": 170 + }, + { + "alertDisplayName": "Successful Bruteforce", + "reportedSeverity": "Low", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceRecommendations": [ + { + "recommendationDisplayName": "Install the Azure Security of Things Agent", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module", + "reportedSeverity": "Low", + "devicesCount": 170 + }, + { + "recommendationDisplayName": "Same Authentication Credentials used by multiple devices", + "reportedSeverity": "Medium", + "devicesCount": 150 + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json new file mode 100644 index 000000000000..099649b79f64 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "MyGroup", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default", + "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModelList", + "properties": { + "metrics": { + "high": 5, + "medium": 200, + "low": 102 + }, + "unhealthyDeviceCount": 1200, + "devicesMetrics": [ + { + "date": "2019-02-01T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 15, + "low": 70 + } + }, + { + "date": "2019-02-02T00:00:00Z", + "devicesMetrics": { + "high": 3, + "medium": 45, + "low": 65 + } + } + ], + "topAlertedDevices": [ + { + "deviceId": "id1", + "alertsCount": 200 + }, + { + "deviceId": "id2", + "alertsCount": 170 + }, + { + "deviceId": "id3", + "alertsCount": 150 + } + ], + "mostPrevalentDeviceAlerts": [ + { + "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "alertDisplayName": "Custom Alert - execution of a process that is not allowed", + "reportedSeverity": "Medium", + "devicesCount": 170 + }, + { + "alertDisplayName": "Successful Bruteforce", + "reportedSeverity": "Low", + "devicesCount": 150 + } + ], + "mostPrevalentDeviceRecommendations": [ + { + "recommendationDisplayName": "Install the Azure Security of Things Agent", + "reportedSeverity": "Low", + "devicesCount": 200 + }, + { + "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module", + "reportedSeverity": "Low", + "devicesCount": 170 + }, + { + "recommendationDisplayName": "Same Authentication Credentials used by multiple devices", + "reportedSeverity": "Medium", + "devicesCount": 150 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json new file mode 100644 index 000000000000..51b44a0c90c2 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default", + "aggregatedRecommendationName": "OpenPortsOnDevice" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "OpenPortsOnDevice", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "healthyDevices": 10000, + "unhealthyDeviceCount": 200, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')" + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json new file mode 100644 index 000000000000..3a331b30297d --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "OpenPortsOnDevice", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "Low", + "remediationSteps": "", + "healthyDevices": 10000, + "unhealthyDeviceCount": 200, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')" + } + }, + { + "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/TooLargeIPRange", + "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_InstallAgent", + "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation", + "properties": { + "recommendationName": "TooLargeIPRange", + "recommendationDisplayName": "Permissive firewall policy in one of the chains was found", + "description": "An allow IP filter rule source IP range is too large. Overly permissive rules can expose your IoT hub to malicious actors.", + "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}", + "detectedBy": "Microsoft", + "reportedSeverity": "High", + "remediationSteps": "", + "healthyDevices": 130000, + "unhealthyDeviceCount": 1, + "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('TooLargeIPRange')" + } + } + ] + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json new file mode 100644 index 000000000000..0d2c25cde954 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-08-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "IoTEdgeResources", + "solutionName": "default", + "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02/dismiss" + }, + "responses": { + "200": {} + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json new file mode 100644 index 000000000000..a75f7f1ee3a4 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json @@ -0,0 +1,906 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2019-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalytics_GetAll", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalytics_GetDefault", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlerts_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "name": "$top", + "in": "query", + "description": "The number of results to retrieve.", + "required": false, + "type": "integer" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedAlertList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedAlertName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedAlert" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss": { + "post": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Dismiss", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedAlertName" + } + ], + "responses": { + "200": { + "description": "Dismissed" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsRecommendation_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/AggregatedRecommendationName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations": { + "get": { + "x-ms-examples": { + "Get Security Solutions Analytics": { + "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json" + } + }, + "tags": [ + "IoT Security Solutions Analytics" + ], + "description": "Security Analytics of a security solution", + "operationId": "IoTSecuritySolutionsAnalyticsRecommendations_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "name": "$top", + "in": "query", + "description": "The number of results to retrieve.", + "required": false, + "type": "integer" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "IoTSeverityMetrics": { + "type": "object", + "description": "Severity metrics", + "properties": { + "high": { + "type": "integer", + "description": "count of high severity items" + }, + "medium": { + "type": "integer", + "description": "count of medium severity items" + }, + "low": { + "type": "integer", + "description": "count of low severity items" + } + } + }, + "IoTSecuritySolutionAnalyticsModel": { + "type": "object", + "description": "Security Analytics of a security solution", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution Aggregated Alert data", + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + } + ] + }, + "IoTSecuritySolutionAnalyticsModelProperties": { + "description": "Security Analytics of a security solution properties", + "properties": { + "metrics": { + "type": "object", + "$ref": "#/definitions/IoTSeverityMetrics", + "description": "Security Analytics of a security solution", + "readOnly": true + }, + "unhealthyDeviceCount": { + "type": "integer", + "readOnly": true, + "description": "number of unhealthy devices" + }, + "devicesMetrics": { + "description": "The list of devices metrics by the aggregated date.", + "type": "array", + "readOnly": true, + "items": { + "properties": { + "date": { + "type": "string", + "format": "date-time", + "description": "the date of the metrics" + }, + "devicesMetrics": { + "type": "object", + "$ref": "#/definitions/IoTSeverityMetrics", + "description": "devices alerts count by severity." + } + } + } + }, + "topAlertedDevices": { + "description": "The list of top 3 devices with the most attacked.", + "type": "object", + "$ref": "#/definitions/IoTSecurityAlertedDevicesList" + }, + "mostPrevalentDeviceAlerts": { + "description": "The list of most prevalent 3 alerts.", + "type": "object", + "$ref": "#/definitions/IoTSecurityDeviceAlertsList" + }, + "mostPrevalentDeviceRecommendations": { + "description": "The list of most prevalent 3 recommendations.", + "type": "object", + "$ref": "#/definitions/IoTSecurityDeviceRecommendationsList" + } + } + }, + "IoTSecuritySolutionAnalyticsModelList": { + "description": "List of Security Analytics of a security solution", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Security Analytics of a security solution", + "items": { + "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAggregatedAlertList": { + "description": "List of IoT aggregated security alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAggregatedAlert" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAggregatedRecommendationList": { + "description": "List of IoT aggregated security recommendations", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAggregatedRecommendation" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityAlertedDevicesList": { + "description": "List of devices with the count of raised alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityAlertedDevice" + } + } + } + }, + "IoTSecurityDeviceAlertsList": { + "description": "List of alerts with the count of raised alerts", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of top alerts data", + "items": { + "$ref": "#/definitions/IoTSecurityDeviceAlert" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecurityDeviceRecommendationsList": { + "description": "List of recommendations with the count of devices", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of aggregated recommendation data", + "items": { + "$ref": "#/definitions/IoTSecurityDeviceRecommendation" + } + } + } + }, + "IoTSecurityAggregatedAlert": { + "type": "object", + "description": "Security Solution Aggregated Alert information", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution Aggregated Alert data", + "$ref": "#/definitions/IoTSecurityAggregatedAlertProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "#/definitions/TagsResource" + } + ] + }, + "IoTSecurityAggregatedAlertProperties": { + "type": "object", + "description": "Security Solution Aggregated Alert data", + "properties": { + "alertType": { + "readOnly": true, + "type": "string", + "description": "Name of the alert type" + }, + "alertDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the alert type" + }, + "aggregatedDateUtc": { + "readOnly": true, + "type": "string", + "format": "date", + "description": "The date the incidents were detected by the vendor" + }, + "vendorName": { + "readOnly": true, + "type": "string", + "description": "Name of the vendor that discovered the incident" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this alert" + }, + "remediationSteps": { + "readOnly": true, + "type": "string", + "description": "Recommended steps for remediation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Description of the incident and what it means" + }, + "count": { + "readOnly": true, + "type": "integer", + "description": "Occurrence number of the alert within the aggregated date" + }, + "effectedResourceType": { + "readOnly": true, + "type": "string", + "description": "Azure resource ID of the resource that got the alerts" + }, + "systemSource": { + "readOnly": true, + "type": "string", + "description": "The type of the alerted resource (Azure, Non-Azure)" + }, + "actionTaken": { + "readOnly": true, + "type": "string", + "description": "The action that was taken as a response to the alert (Active, Blocked etc.)" + }, + "logAnalyticsQuery": { + "readOnly": true, + "type": "string", + "description": "query in log analytics to get the list of affected devices/alerts" + } + } + }, + "IoTSecurityAggregatedRecommendation": { + "type": "object", + "description": "Security Solution Recommendation Information", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution data", + "$ref": "#/definitions/IoTSecurityAggregatedRecommendationProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "#/definitions/TagsResource" + } + ] + }, + "IoTSecurityAggregatedRecommendationProperties": { + "type": "object", + "description": "Security Solution Recommendation Information", + "properties": { + "recommendationName": { + "type": "string", + "description": "Name of the recommendation" + }, + "recommendationDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the recommendation type." + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Description of the incident and what it means" + }, + "recommendationTypeId": { + "description": "The recommendation-type GUID.", + "type": "string", + "readOnly": true + }, + "detectedBy": { + "readOnly": true, + "type": "string", + "description": "Name of the vendor that discovered the issue" + }, + "remediationSteps": { + "readOnly": true, + "type": "string", + "description": "Recommended steps for remediation" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this recommendation" + }, + "healthyDevices": { + "readOnly": true, + "type": "integer", + "description": "the number of the healthy devices within the solution" + }, + "unhealthyDeviceCount": { + "readOnly": true, + "type": "integer", + "description": "the number of the unhealthy devices within the solution" + }, + "logAnalyticsQuery": { + "readOnly": true, + "type": "string", + "description": "query in log analytics to get the list of affected devices/alerts" + } + } + }, + "IoTSecurityAlertedDevice": { + "type": "object", + "description": "Statistic information about the number of alerts per device during the last period", + "properties": { + "deviceId": { + "readOnly": true, + "type": "string", + "description": "Name of the alert type" + }, + "alertsCount": { + "readOnly": true, + "type": "integer", + "description": "the number of alerts raised for this device" + } + } + }, + "IoTSecurityDeviceAlert": { + "type": "object", + "description": "Statistic information about the number of alerts per alert type during the last period", + "properties": { + "alertDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the alert" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this alert" + }, + "alertsCount": { + "readOnly": true, + "type": "integer", + "description": "the number of alerts raised for this alert type" + } + } + }, + "IoTSecurityDeviceRecommendation": { + "type": "object", + "description": "Statistic information about the number of recommendations per recommendation type", + "properties": { + "recommendationDisplayName": { + "readOnly": true, + "type": "string", + "description": "Display name of the recommendation" + }, + "reportedSeverity": { + "readOnly": true, + "type": "string", + "enum": [ + "Informational", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "reportedSeverity", + "modelAsString": true, + "values": [ + { + "value": "Informational" + }, + { + "value": "Low" + }, + { + "value": "Medium" + }, + { + "value": "High" + } + ] + }, + "description": "Estimated severity of this recommendation" + }, + "devicesCount": { + "readOnly": true, + "type": "integer", + "description": "the number of device with this recommendation" + } + } + }, + "TagsResource": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags." + } + }, + "parameters": { + "SolutionName": { + "name": "solutionName", + "in": "path", + "required": true, + "description": "The solution manager name", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AggregatedAlertName": { + "name": "aggregatedAlertName", + "in": "path", + "required": true, + "description": "Identifier of the aggregated alert", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AggregatedRecommendationName": { + "name": "aggregatedRecommendationName", + "in": "path", + "required": true, + "description": "Identifier of the aggregated recommendation", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json new file mode 100644 index 000000000000..b5818259b3d7 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json @@ -0,0 +1,659 @@ +{ + "swagger": "2.0", + "info": { + "title": "Security Center", + "description": "API spec for Microsoft.Security (Azure Security Center) resource provider", + "version": "2019-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions": { + "get": { + "x-ms-examples": { + "Get Security Solutions list": { + "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json" + }, + "Get Security Solutions list By IotHub": { + "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "List of security solutions", + "operationId": "IoTSecuritySolutions_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/FilterParam" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions": { + "get": { + "x-ms-examples": { + "Get Security Solutions list": { + "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json" + }, + "Get Security Solutions list By IotHub": { + "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "List of security solutions", + "operationId": "IoTSecuritySolutionsResourceGroup_List", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/FilterParam" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}": { + "get": { + "x-ms-examples": { + "Get an iot security solution": { + "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolution.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "Details of a specific iot security solution", + "operationId": "IotSecuritySolution_Get", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "put": { + "x-ms-examples": { + "Create an iot security solution": { + "$ref": "./examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "Create new solution manager", + "operationId": "IotSecuritySolution_Create", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/IotSecuritySolutionData" + } + ], + "responses": { + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "patch": { + "x-ms-examples": { + "Update an iot security solution": { + "$ref": "./examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method", + "operationId": "IotSecuritySolution_Update", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + }, + { + "$ref": "#/parameters/UpdateIotSecuritySolution" + } + ], + "responses": { + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + }, + "delete": { + "x-ms-examples": { + "Create an iot security solution": { + "$ref": "./examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json" + } + }, + "tags": [ + "IoT Security Solutions" + ], + "description": "Create new solution manager", + "operationId": "IotSecuritySolution_Delete", + "parameters": [ + { + "$ref": "../../../common/v1/types.json#/parameters/ApiVersion" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SolutionName" + } + ], + "responses": { + "200": { + "description": "Security Solution deleted" + }, + "204": { + "description": "Security Solution was not exists" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/types.json#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "TagsResource": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags." + }, + "IoTSecuritySolutionsList": { + "description": "List of iot solutions", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of security solutions", + "items": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "IoTSecuritySolutionModel": { + "type": "object", + "description": "Security Solution", + "properties": { + "location": { + "type": "string", + "description": "The resource location." + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Security Solution data", + "$ref": "#/definitions/IoTSecuritySolutionProperties" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/types.json#/definitions/Resource" + }, + { + "$ref": "#/definitions/TagsResource" + } + ] + }, + "IoTSecuritySolutionProperties": { + "type": "object", + "description": "Security Solution setting data", + "properties": { + "workspace": { + "type": "string", + "description": "Workspace resource ID" + }, + "displayName": { + "type": "string", + "description": "Resource display name." + }, + "status": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "description": "Security solution status", + "x-ms-enum": { + "name": "SecuritySolutionStatus", + "modelAsString": true + } + }, + "export": { + "type": "array", + "items": { + "enum": [ + "RawEvents" + ], + "type": "string", + "x-ms-enum": { + "name": "ExportData", + "modelAsString": true, + "values": [ + { + "value": "RawEvents", + "description": "Agent raw events" + } + ] + } + }, + "description": "List of additional export to workspace data options" + }, + "disabledDataSources": { + "type": "array", + "items": { + "enum": [ + "TwinData" + ], + "type": "string", + "x-ms-enum": { + "name": "DataSource", + "modelAsString": true, + "values": [ + { + "value": "TwinData", + "description": "Devices twin data" + } + ] + } + }, + "description": "Disabled data sources. Disabling these data sources compromises the system." + }, + "iotHubs": { + "type": "array", + "description": "IoT Hub resource IDs", + "items": { + "type": "string" + } + }, + "userDefinedResources": { + "$ref": "#/definitions/UserDefinedResourcesProperties" + }, + "autoDiscoveredResources": { + "type": "array", + "description": "List of resources that were automatically discovered as relevant to the security solution.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "recommendationsConfiguration": { + "$ref": "#/definitions/RecommendationConfigurationList" + } + }, + "required": [ + "iotHubs", + "workspace", + "displayName" + ] + }, + "UserDefinedResourcesProperties": { + "type": "object", + "description": "Properties of the solution's user defined resources.", + "properties": { + "query": { + "type": "string", + "x-nullable": true, + "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\"" + }, + "querySubscriptions": { + "type": "array", + "x-nullable": true, + "description": "List of Azure subscription ids on which the user defined resources query should be executed.", + "items": { + "type": "string", + "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$" + } + } + }, + "required": [ + "query", + "querySubscriptions" + ] + }, + "RecommendationConfigurationProperties": { + "type": "object", + "description": "Recommendation configuration", + "properties": { + "recommendationType": { + "type": "string", + "description": "The recommendation type.", + "enum": [ + "IoT_ACRAuthentication", + "IoT_AgentSendsUnutilizedMessages", + "IoT_Baseline", + "IoT_EdgeHubMemOptimize", + "IoT_EdgeLoggingOptions", + "IoT_InconsistentModuleSettings", + "IoT_InstallAgent", + "IoT_IPFilter_DenyAll", + "IoT_IPFilter_PermissiveRule", + "IoT_OpenPorts", + "IoT_PermissiveFirewallPolicy", + "IoT_PermissiveInputFirewallRules", + "IoT_PermissiveOutputFirewallRules", + "IoT_PrivilegedDockerOptions", + "IoT_SharedCredentials", + "IoT_VulnerableTLSCipherSuite" + ], + "x-ms-enum": { + "name": "RecommendationType", + "modelAsString": true, + "values": [ + { + "value": "IoT_ACRAuthentication", + "description": "Authentication schema used for pull an edge module from an ACR repository does not use Service Principal Authentication." + }, + { + "value": "IoT_AgentSendsUnutilizedMessages", + "description": "IoT agent message size capacity is currently underutilized, causing an increase in the number of sent messages. Adjust message intervals for better utilization." + }, + { + "value": "IoT_Baseline", + "description": "Identified security related system configuration issues." + }, + { + "value": "IoT_EdgeHubMemOptimize", + "description": "You can optimize Edge Hub memory usage by turning off protocol heads for any protocols not used by Edge modules in your solution." + }, + { + "value": "IoT_EdgeLoggingOptions", + "description": "Logging is disabled for this edge module." + }, + { + "value": "IoT_InconsistentModuleSettings", + "description": "A minority within a device security group has inconsistent Edge Module settings with the rest of their group." + }, + { + "value": "IoT_InstallAgent", + "description": "Install the Azure Security of Things Agent." + }, + { + "value": "IoT_IPFilter_DenyAll", + "description": "IP Filter Configuration should have rules defined for allowed traffic and should deny all other traffic by default." + }, + { + "value": "IoT_IPFilter_PermissiveRule", + "description": "An Allow IP Filter rules source IP range is too large. Overly permissive rules might expose your IoT hub to malicious intenders." + }, + { + "value": "IoT_OpenPorts", + "description": "A listening endpoint was found on the device." + }, + { + "value": "IoT_PermissiveFirewallPolicy", + "description": "An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny all traffic by default and define rules to allow necessary communication to/from the device." + }, + { + "value": "IoT_PermissiveInputFirewallRules", + "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports." + }, + { + "value": "IoT_PermissiveOutputFirewallRules", + "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports." + }, + { + "value": "IoT_PrivilegedDockerOptions", + "description": "Edge module is configured to run in privileged mode, with extensive Linux capabilities or with host-level network access (send/receive data to host machine)." + }, + { + "value": "IoT_SharedCredentials", + "description": "Same authentication credentials to the IoT Hub used by multiple devices. This could indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device impersonation by an attacker." + }, + { + "value": "IoT_VulnerableTLSCipherSuite", + "description": "Insecure TLS configurations detected. Immediate upgrade recommended." + } + ] + } + }, + "name": { + "type": "string", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "default": "Enabled", + "description": "Recommendation status. The recommendation is not generated when the status is disabled", + "x-ms-enum": { + "name": "RecommendationConfigStatus", + "modelAsString": true + } + } + }, + "required": [ + "recommendationType", + "status" + ] + }, + "RecommendationConfigurationList": { + "type": "array", + "description": "List of recommendation configuration", + "items": { + "$ref": "#/definitions/RecommendationConfigurationProperties" + } + }, + "UpdateIotSecuritySolutionData": { + "type": "object", + "properties": { + "userDefinedResources": { + "$ref": "#/definitions/UserDefinedResourcesProperties" + }, + "recommendationsConfiguration": { + "$ref": "#/definitions/RecommendationConfigurationList" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TagsResource" + } + ] + } + }, + "parameters": { + "SolutionName": { + "name": "solutionName", + "in": "path", + "required": true, + "description": "The solution manager name", + "type": "string", + "x-ms-parameter-location": "method" + }, + "IotSecuritySolutionData": { + "name": "iotSecuritySolutionData", + "in": "body", + "required": true, + "description": "The security solution data", + "schema": { + "$ref": "#/definitions/IoTSecuritySolutionModel" + }, + "x-ms-parameter-location": "method" + }, + "FilterParam": { + "name": "$filter", + "in": "query", + "required": false, + "description": "filter the Security Solution with OData syntax. supporting filter by iotHubs", + "type": "string", + "x-ms-parameter-location": "method" + }, + "UpdateIotSecuritySolution": { + "name": "updateIotSecuritySolutionData", + "in": "body", + "required": true, + "description": "The security solution data", + "x-ms-parameter-location": "method", + "schema": { + "$ref": "#/definitions/UpdateIotSecuritySolutionData" + } + } + } +} diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index d7a2879d54a9..511a7d9162f4 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -94,6 +94,8 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json - Microsoft.Security/preview/2017-08-01-preview/settings.json - Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json - Microsoft.Security/preview/2015-06-01-preview/operations.json - Microsoft.Security/preview/2015-06-01-preview/locations.json - Microsoft.Security/preview/2015-06-01-preview/tasks.json @@ -121,6 +123,8 @@ input-file: - Microsoft.Security/stable/2018-06-01/pricings.json - Microsoft.Security/stable/2019-01-01/alerts.json - Microsoft.Security/stable/2019-01-01/settings.json +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json - Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json @@ -136,8 +140,6 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json -- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json -- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json - Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json - Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json From c4d957cbad3f77eec37504a1923bb87404959274 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 1 Aug 2019 06:43:57 +0800 Subject: [PATCH 402/495] fixed next link in application insights (#6808) --- .../stable/2015-05-01/examples/ComponentsList.json | 2 +- .../2015-05-01/examples/ComponentsListByResourceGroup.json | 2 +- .../stable/2015-05-01/examples/WebTestList.json | 2 +- .../stable/2015-05-01/examples/WebTestListByComponent.json | 2 +- .../stable/2015-05-01/examples/WebTestListByResourceGroup.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json index b76da01ca69b..c474d25e8d44 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json @@ -52,7 +52,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json index 35e339ec5f39..9ff62be79504 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json @@ -53,7 +53,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json index c2c5bd98b56c..b2475e0bc144 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json @@ -61,7 +61,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json index e4e158374032..de83204af8b6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json @@ -40,7 +40,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json index 8a3e429afa29..19547fede910 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json @@ -69,7 +69,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From 54e3f79d193e3b3bfa21b26de28b0fe82d8399b6 Mon Sep 17 00:00:00 2001 From: Jared Erwin Date: Wed, 31 Jul 2019 15:45:35 -0700 Subject: [PATCH 403/495] Update the possible Kind values to include FHIR R4 (#6777) * Update the possible Kind values to include FHIR R4 * Fix type in description, adding Apis * Fix fhir kind enum description to mention new values * Update title to include Apis --- .../preview/2018-08-20-preview/healthcare-apis.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json index 8f0593080242..403e851ff328 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json @@ -2,8 +2,8 @@ "swagger": "2.0", "info": { "version": "2018-08-20-preview", - "title": "HealthcareClient", - "description": "Use this API to manage Microsoft Healthcare services in your Azure subscription." + "title": "HealthcareApisClient", + "description": "Use this API to manage Microsoft HealthcareApis services in your Azure subscription." }, "host": "management.azure.com", "schemes": [ @@ -649,9 +649,11 @@ "kind": { "readOnly": false, "type": "string", - "description": "The kind of the service. Valid values are: fhir.", + "description": "The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4.", "enum": [ - "fhir" + "fhir", + "fhir-Stu3", + "fhir-R4" ], "x-ms-enum": { "name": "kind", From ac1e81f2a9a8177a5dc41daac8b6678cb8f587cc Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 1 Aug 2019 06:46:37 +0800 Subject: [PATCH 404/495] next link in alerts management (#6794) * next link in alerst management * Update specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json thanks @nschonni ! Co-Authored-By: Nick Schonning --- .../preview/2018-05-05-preview/examples/SmartGroups_List.json | 2 +- .../2018-11-02-privatepreview/examples/SmartGroups_List.json | 2 +- .../preview/2019-03-01-preview/examples/SmartGroups_List.json | 2 +- .../preview/2019-05-05-preview/examples/SmartGroups_List.json | 2 +- .../stable/2018-05-05/examples/SmartGroups_List.json | 2 +- .../stable/2019-03-01/examples/SmartDetectorAlertRule_List.json | 2 +- .../examples/SmartDetectorAlertRule_ListByResourceGroup.json | 2 +- .../stable/2019-03-01/examples/SmartGroups_List.json | 2 +- .../stable/2019-06-01/examples/SmartDetectorAlertRule_List.json | 2 +- .../examples/SmartDetectorAlertRule_ListByResourceGroup.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json index 6d4db43e6ef6..4a71a51d322b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json index 6d4db43e6ef6..4a71a51d322b 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json index 5328a3e9b156..bf4722bcdb59 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json index b5ded5a48718..44c2aa47c866 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json index 5328a3e9b156..bf4722bcdb59 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json index 41e98f4677d1..a1ffc5e988ae 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json index b99f2f31186d..ab56c8966b07 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json index 5328a3e9b156..bf4722bcdb59 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "properties": { diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json index 4eeed4d36ade..3de1aac35a0a 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json index 4d63effb728d..f1e3a4f46cfb 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "nextLink": "", + "nextLink": null, "value": [ { "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule", From 6ac292334847bfbc2e4d471c0d4f7ad336db97b8 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 19:25:17 -0400 Subject: [PATCH 405/495] chore: jsonfmt consumption (#6663) --- .../preview/2019-05-01-preview/consumption.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json index e65c0514334d..5bc21e118986 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json @@ -3172,4 +3172,4 @@ } } } -} \ No newline at end of file +} From e7b375b09303c664a666a7a30cd6ea930f7bd9e2 Mon Sep 17 00:00:00 2001 From: Anton Evseev Date: Thu, 1 Aug 2019 02:33:37 +0300 Subject: [PATCH 406/495] Add missing bodies in AppGw's examples (#6764) --- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 27 +++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 46 ++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 16 +++- ...licationGatewayAvailableSslOptionsGet.json | 57 ++++++++++- ...ilableSslOptionsPredefinedPoliciesGet.json | 94 ++++++++++++++++++- ...vailableSslOptionsPredefinedPolicyGet.json | 40 +++++++- 42 files changed, 1306 insertions(+), 42 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 10a671309e50..b825963d2253 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 10a671309e50..91ddf8dbb201 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index f738e3b1d708..de2c55109ce6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 96351f607cc6..30da3084fb12 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 96351f607cc6..1da0f3c1d0f7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 7c710544fc08..db77f1bdfabf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index d22f75b02895..3257cf2699e5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index d22f75b02895..e611cd50b9ec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 066f97d5162e..b5c21146b223 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 3334444c2ee7..55becf0da8d1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 3334444c2ee7..ff6f270028e4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 6f0fc3c95ccc..cc83627a32e2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index ebfd022e5755..54435cfca0ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index ebfd022e5755..eb1ccae62e8a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 7398ad781c39..e64758731e5c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 1ed1ec19d524..fbd68483c395 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 1ed1ec19d524..99afa273ab1a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 59d4bc164248..30aa6fd80c78 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index a548190789ca..79fe953c0218 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index a548190789ca..4707b07f4c79 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 57a7ae340e32..6cf3a2d6a0c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index ece3955c87d5..435998a27699 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index ece3955c87d5..08238bd5d902 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index cc483348c9a0..2dfcc7ecc738 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 7c7aad7d6b99..e82dce94c35d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 7c7aad7d6b99..9f7ad545825a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 367e529b09fc..4d4a01e054f8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 947636656e56..536d0e4cefed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 947636656e56..65a428e88b98 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index cc335f6eea83..dc5cf97229aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 3a98dc7bbf66..a3e999e5a0db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 3a98dc7bbf66..a8fa0fa45ad7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 7834a5899740..8ad260d30fcb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 60f83cf576fb..0b6d2f9f2e26 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 60f83cf576fb..906aeb55eb7f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 7fb5d57453ad..6bc4f075e047 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index c3d8bd8ec4f9..706ece8ca7dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,31 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index c3d8bd8ec4f9..7275f085289e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,50 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 4f615c4d902b..0c407118bd62 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,20 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json index 9e2d896e0d43..0b5e48cf6dca 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -4,6 +4,61 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "name": "default", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "properties": { + "predefinedPolicies": [ + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401" + }, + { + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S" + } + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ] + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json index 9e2d896e0d43..cb21a791f804 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -4,6 +4,98 @@ "subscriptionId": "subid" }, "responses": { - "200": {} + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json index 0ae49fa534e1..254c0b71ac98 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -5,6 +5,44 @@ "predefinedPolicyName": "AppGwSslPolicy20150501" }, "responses": { - "200": {} + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } } } From 4e0d41f71ff71187bcb7670ddba3123b24b1ed96 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 19:34:27 -0400 Subject: [PATCH 407/495] fix: billing model validation errors (#6784) Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE errors --- .../InvoiceSectionRoleAssignmentList.json | 2 +- .../PaymentMethodsListByBillingAccount.json | 62 ++++++++++--------- .../PaymentMethodsListByBillingProfile.json | 44 ++++++------- 3 files changed, 56 insertions(+), 52 deletions(-) diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json index 75c6219d8af9..f5b78d5af888 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json @@ -6,7 +6,7 @@ }, "responses": { "200": { - "200": { + "body": { "value": [ { "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json index e915c042a78c..e9a2974d9f4f 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json @@ -5,37 +5,39 @@ }, "responses": { "200": { - "value": [ - { - "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000055", - "name": "00000000-0000-0000-0000-000000000055", - "type": "Microsoft.Billing/paymentMethods", - "properties": { - "currency": "USD", - "details": "Credits", - "expiration": "4/2020", - "paymentMethodType": "Credits" + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000055", + "name": "00000000-0000-0000-0000-000000000055", + "type": "Microsoft.Billing/paymentMethods", + "properties": { + "currency": "USD", + "details": "Credits", + "expiration": "4/2020", + "paymentMethodType": "Credits" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000022/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } } - }, - { - "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000022/paymentMethods/00000000-0000-0000-0000-000000000026", - "name": "00000000-0000-0000-0000-000000000026", - "type": "Microsoft.Billing/paymentMethods", - "properties": { - "details": "Check Wire", - "paymentMethodType": "CheckWire" - } - }, - { - "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000026", - "name": "00000000-0000-0000-0000-000000000026", - "type": "Microsoft.Billing/paymentMethods", - "properties": { - "details": "Check Wire", - "paymentMethodType": "CheckWire" - } - } - ] + ] + } } } } diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json index 6e133b1cdb44..63a34f586995 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json @@ -6,28 +6,30 @@ }, "responses": { "200": { - "value": [ - { - "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000055", - "name": "00000000-0000-0000-0000-000000000055", - "type": "Microsoft.Billing/paymentMethods", - "properties": { - "currency": "USD", - "details": "Credits", - "expiration": "4/2020", - "paymentMethodType": "Credits" + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000055", + "name": "00000000-0000-0000-0000-000000000055", + "type": "Microsoft.Billing/paymentMethods", + "properties": { + "currency": "USD", + "details": "Credits", + "expiration": "4/2020", + "paymentMethodType": "Credits" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } } - }, - { - "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000026", - "name": "00000000-0000-0000-0000-000000000026", - "type": "Microsoft.Billing/paymentMethods", - "properties": { - "details": "Check Wire", - "paymentMethodType": "CheckWire" - } - } - ] + ] + } } } } From 58a1965a3cd49edf1666015ade8a0bd7c1dc5365 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 1 Aug 2019 07:35:10 +0800 Subject: [PATCH 408/495] fixed next link in customer-insights (#6801) --- .../stable/2017-01-01/examples/ProfilesListByHub.json | 2 +- .../stable/2017-04-26/examples/ProfilesListByHub.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json index 5afff68434b9..737d0bcbd885 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json @@ -111,7 +111,7 @@ "type": "Microsoft.CustomerInsights/hubs/profiles" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json index 5afff68434b9..737d0bcbd885 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json @@ -111,7 +111,7 @@ "type": "Microsoft.CustomerInsights/hubs/profiles" } ], - "nextLink": "" + "nextLink": null } } } From c9812a1abd509c8f5c5d7ad7e929ca02080f529a Mon Sep 17 00:00:00 2001 From: gautam714 Date: Wed, 31 Jul 2019 18:10:39 -0700 Subject: [PATCH 409/495] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#6731) * Task 4957070: ARM swagger update to include term in get reservation response. * Task 4957070: ARM swagger update to include term in get reservation response. --- .../preview/2018-06-01/examples/MergeReservations.json | 4 +--- .../preview/2018-06-01/examples/SplitReservation.json | 4 +--- .../preview/2018-06-01/examples/UpdateReservation.json | 4 +--- .../preview/2019-04-01/examples/GetReservationDetails.json | 1 + .../preview/2019-04-01/examples/MergeReservations.json | 4 +--- .../preview/2019-04-01/examples/SplitReservation.json | 4 +--- .../preview/2019-04-01/examples/UpdateReservation.json | 4 +--- .../Microsoft.Capacity/preview/2019-04-01/reservations.json | 3 +++ .../stable/2017-11-01/examples/MergeReservations.json | 4 +--- .../stable/2017-11-01/examples/SplitReservation.json | 4 +--- .../stable/2017-11-01/examples/UpdateReservation.json | 4 +--- 11 files changed, 13 insertions(+), 27 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json index efcab0724b59..0c6b7d25a3ff 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json @@ -117,8 +117,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json index c5daae4af77b..e5abc02b3353 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json @@ -108,8 +108,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json index 0447a109d142..c92f930afd1f 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json @@ -41,8 +41,6 @@ } } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json index 97f8a652b904..4956a8ec4b00 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json @@ -34,6 +34,7 @@ "reservedResourceType": "VirtualMachines", "instanceFlexibility": "Off", "skuDescription": "D1 v2", + "term": "P1Y", "mergeProperties": { "mergeSources": [ "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json index 80f863f7311b..f5b46e7e3bd7 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json @@ -123,8 +123,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json index 84d3c0db51ae..e16d637755a0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json @@ -114,8 +114,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json index 4a9084369241..107ebee173db 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json @@ -43,8 +43,6 @@ } } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index 42cf24c2350e..cc1eb5632fdc 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -1012,6 +1012,9 @@ }, "renewProperties": { "$ref": "#/definitions/RenewPropertiesResponse" + }, + "term": { + "$ref": "#/definitions/ReservationTerm" } } }, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json index c20dcb0ecee1..49ea8f447145 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json @@ -108,8 +108,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json index 5748c448f403..82cb3eeb70b7 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json @@ -99,8 +99,6 @@ } ] }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json index 102576ecfe15..2ad867375eaa 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json @@ -37,8 +37,6 @@ } } }, - "202": { - "body": "" - } + "202": {} } } From 14bbf955e2477ab0aba7abd030a401255d082add Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 21:59:55 -0400 Subject: [PATCH 410/495] chore: jsonfmt security (#6826) --- .../IoTSecuritySolutions/CreateIoTSecuritySolution.json | 2 +- .../IoTSecuritySolutions/GetIoTSecuritySolutionsList.json | 8 ++++---- .../GetIoTSecuritySolutionsListByIotHub.json | 2 +- .../GetIoTSecuritySolutionsListByIotHubAndRg.json | 2 +- .../GetIoTSecuritySolutionsListByRg.json | 4 ++-- .../IoTSecuritySolutions/UpdateIoTSecuritySolution.json | 2 +- .../stable/2019-08-01/iotSecuritySolutions.json | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json index 70b99f07679a..c022e8f1680e 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json @@ -173,7 +173,7 @@ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735", "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" ], - "recommendationsConfiguration": [ + "recommendationsConfiguration": [ { "recommendationType": "IoT_ACRAuthentication", "name": "Service Principal Not Used with ACR", diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json index a1f086805d86..d9caa82fd4ad 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json @@ -16,8 +16,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [ ], - "disabledDataSources": [ ], + "export": [], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" @@ -121,14 +121,14 @@ "name": "sec-solution", "location": "East Us", "type": "Microsoft.Security/IoTSecuritySolutions", - "tags": { }, + "tags": {}, "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Second Solution", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond" diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json index c8e79dce066e..47b84ec5cbd3 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json @@ -20,7 +20,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json index 8c5ae9396b5f..1e6565f1e1f3 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json @@ -21,7 +21,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json index 91a826fcd064..1f1ab218ec5e 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json @@ -17,8 +17,8 @@ "properties": { "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1", "status": "Enabled", - "export": [ ], - "disabledDataSources": [ ], + "export": [], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json index 1124a2cd860f..ba1c8a30c391 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json @@ -44,7 +44,7 @@ "export": [ "RawEvents" ], - "disabledDataSources": [ ], + "disabledDataSources": [], "displayName": "Solution Default", "iotHubs": [ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub" diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json index b5818259b3d7..b900a72474fc 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json @@ -457,7 +457,7 @@ "properties": { "query": { "type": "string", - "x-nullable": true, + "x-nullable": true, "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\"" }, "querySubscriptions": { From 1b4a18fae5d3f17c39319d29aaac81d7d79510ac Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2019 22:13:38 -0400 Subject: [PATCH 411/495] fix: datalake-store model validation errors (#6783) - Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE error - "AclStatus" -> "aclStatus" --- .../examples/FileSystem_GetAclStatus.json | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json index 13013e316bf9..b34de8e52650 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json @@ -9,15 +9,17 @@ }, "responses": { "200": { - "AclStatus": { - "entries": [ - "test_entry_1", - "test_entry_2" - ], - "group": "test_group", - "owner": "test_owner", - "permission": "1", - "stickyBit": false + "body": { + "aclStatus": { + "entries": [ + "test_entry_1", + "test_entry_2" + ], + "group": "test_group", + "owner": "test_owner", + "permission": "1", + "stickyBit": false + } } } } From 7cfa94a2a8328f1962599378896e65069ed93850 Mon Sep 17 00:00:00 2001 From: Esteban Rey Date: Wed, 31 Jul 2019 19:44:21 -0700 Subject: [PATCH 412/495] Container Registries Data-plane API 07/2019 (#6629) * Began organizing and preparing for release * Added Necessary supression * Small bugfix * Update version in new swagger file * Added Go Support * Added preview specification in generated paths --- .../preview/2019-07-15/containerregistry.json | 1863 +++++++++++++++++ .../2019-07-15/examples/CreateManifest.json | 18 + .../examples/DeleteAcrRepository.json | 18 + .../2019-07-15/examples/DeleteAcrTag.json | 10 + .../2019-07-15/examples/DeleteManifest.json | 10 + .../2019-07-15/examples/GetAccessToken.json | 14 + .../examples/GetAcrManifestAttributes.json | 34 + .../2019-07-15/examples/GetAcrManifests.json | 54 + .../examples/GetAcrRepositoryAttributes.json | 24 + .../examples/GetAcrTagAttributes.json | 28 + .../2019-07-15/examples/GetAcrTags.json | 42 + .../examples/GetDockerRegistryV2Support.json | 8 + .../2019-07-15/examples/GetManifest.json | 48 + .../2019-07-15/examples/GetRepositories.json | 15 + .../2019-07-15/examples/GetTagList.json | 17 + .../2019-07-15/examples/PostAccessToken.json | 16 + .../2019-07-15/examples/PostRefreshToken.json | 16 + .../examples/UpdateAcrManifestAttributes.json | 11 + .../examples/UpdateAcrRepository.json | 12 + .../examples/UpdateAcrTagAttributes.json | 11 + .../containerregistry/data-plane/readme.go.md | 27 + .../containerregistry/data-plane/readme.md | 47 +- 22 files changed, 2335 insertions(+), 8 deletions(-) create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json create mode 100644 specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json create mode 100644 specification/containerregistry/data-plane/readme.go.md diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json new file mode 100644 index 000000000000..eaa2fbb79191 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json @@ -0,0 +1,1863 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Container Registry", + "description": "Metadata API definition for the Azure Container Registry runtime", + "version": "2019-07-15-preview" + }, + "x-ms-parameterized-host": { + "hostTemplate": "{url}", + "useSchemePrefix": false, + "positionInOperation": "first", + "parameters": [ + { + "$ref": "#/parameters/Url" + } + ] + }, + "securityDefinitions": { + "registry_auth": { + "type": "basic" + }, + "registry_oauth2": { + "type": "apiKey", + "in": "header", + "name": "Authorization" + } + }, + "security": [ + { + "registry_auth": [], + "registry_oauth2": [] + } + ], + "tags": [ + { + "name": "v2", + "description": "Root API" + }, + { + "name": "Manifest", + "description": "Everything about manifests" + }, + { + "name": "Tag", + "description": "Everything about tags" + }, + { + "name": "Layer", + "description": "Everything about layers" + }, + { + "name": "Repository", + "description": "Everything about repository" + }, + { + "name": "AcrRepository", + "description": "ACR APIs related to repositories" + }, + { + "name": "AcrManifest", + "description": "ACR APIs related to manifests" + }, + { + "name": "AcrTag", + "description": "ACR APIs related to tags" + } + ], + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "paths": { + "/v2/": { + "get": { + "tags": [ + "v2" + ], + "description": "Tells whether this Docker Registry instance supports Docker Registry HTTP API v2", + "x-ms-examples": { + "Check Docker Registry V2 Support": { + "$ref": "./examples/GetDockerRegistryV2Support.json" + } + }, + "operationId": "GetDockerRegistryV2Support", + "responses": { + "200": { + "description": "Successful response. API v2 supported" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/v2/{name}/tags/list": { + "get": { + "tags": [ + "Tag" + ], + "description": "Fetch the tags under the repository identified by name", + "x-ms-examples": { + "List tags": { + "$ref": "./examples/GetTagList.json" + } + }, + "operationId": "GetTagList", + "parameters": [ + { + "$ref": "#/parameters/ImageName" + } + ], + "responses": { + "200": { + "description": "Gives a list of tags for the names repository.", + "headers": { + "Link": { + "description": "next paginated result", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/RepositoryTags" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/v2/{name}/manifests/{reference}": { + "get": { + "tags": [ + "Manifest" + ], + "description": "Pulls the image manifest file associated with the specified name and reference. Reference may be a tag or a digest", + "x-ms-examples": { + "Get manifest": { + "$ref": "./examples/GetManifest.json" + } + }, + "operationId": "GetManifest", + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ImageReference" + }, + { + "name": "accept", + "in": "header", + "description": "Accept header string delimited by comma. For example, application/vnd.docker.distribution.manifest.v2+json", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Returns the requested manifest file", + "schema": { + "$ref": "#/definitions/Manifest" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "put": { + "tags": [ + "Manifest" + ], + "x-ms-long-running-operation": false, + "description": "Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest.", + "x-ms-examples": { + "Put manifest": { + "$ref": "./examples/CreateManifest.json" + } + }, + "consumes": [ + "application/vnd.docker.distribution.manifest.v2+json" + ], + "operationId": "CreateManifest", + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ImageReference" + }, + { + "$ref": "#/parameters/ManifestBody" + } + ], + "responses": { + "201": { + "description": "The manifest is updated", + "schema": {}, + "headers": { + "Docker-Content-Digest": { + "type": "string", + "description": "Identifies the docker upload uuid for the current request." + }, + "Location": { + "type": "string", + "description": "The canonical location url of the uploaded manifest." + }, + "Content-Length": { + "type": "integer", + "description": "The canonical location url of the uploaded manifest." + } + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "delete": { + "tags": [ + "Manifest" + ], + "description": "Delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted by `digest`.", + "x-ms-examples": { + "Delete manifest": { + "$ref": "./examples/DeleteManifest.json" + } + }, + "operationId": "DeleteManifest", + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ImageReference" + } + ], + "responses": { + "202": { + "description": "The manifest has been deleted" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/v2/_catalog": { + "get": { + "tags": [ + "Repository" + ], + "description": "List repositories", + "operationId": "GetRepositories", + "x-ms-examples": { + "Get repositories in a registry": { + "$ref": "./examples/GetRepositories.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/QueryLast" + }, + { + "$ref": "#/parameters/QueryNum" + } + ], + "responses": { + "200": { + "description": "Returns a list of repositories", + "headers": { + "Link": { + "description": "next paginated result", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/Repositories" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/_catalog": { + "get": { + "tags": [ + "AcrRepository" + ], + "description": "List repositories", + "operationId": "GetAcrRepositories", + "x-ms-examples": { + "Get repositories in a registry": { + "$ref": "./examples/GetRepositories.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/QueryLast" + }, + { + "$ref": "#/parameters/QueryNum" + } + ], + "responses": { + "200": { + "description": "Returns a list of repositories", + "schema": { + "$ref": "#/definitions/Repositories" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/{name}": { + "get": { + "tags": [ + "AcrRepository", + "AcrMetadata" + ], + "description": "Get repository attributes", + "operationId": "GetAcrRepositoryAttributes", + "x-ms-examples": { + "Get details of repository": { + "$ref": "./examples/GetAcrRepositoryAttributes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + } + ], + "responses": { + "200": { + "description": "Returns a list of attributes", + "schema": { + "$ref": "#/definitions/RepositoryAttributes" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "delete": { + "tags": [ + "AcrRepository" + ], + "description": "Delete the repository identified by `name`", + "operationId": "DeleteAcrRepository", + "x-ms-examples": { + "Delete a repository": { + "$ref": "./examples/DeleteAcrRepository.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + } + ], + "responses": { + "202": { + "description": "The repository is deleted", + "schema": { + "$ref": "#/definitions/DeletedRepository" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "patch": { + "tags": [ + "AcrRepository", + "AcrMetadata" + ], + "description": "Update the attribute identified by `name` where `reference` is the name of the repository.", + "operationId": "UpdateAcrRepositoryAttributes", + "x-ms-examples": { + "Update repository attributes": { + "$ref": "./examples/UpdateAcrRepository.json" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "name": "value", + "in": "body", + "description": "Repository attribute value", + "required": false, + "schema": { + "$ref": "#/definitions/ChangeableAttributes" + } + } + ], + "responses": { + "200": { + "description": "The attributes is updated" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/{name}/_tags": { + "get": { + "tags": [ + "AcrTag", + "AcrMetadata" + ], + "description": "List tags of a repository", + "operationId": "GetAcrTags", + "x-ms-examples": { + "Get tags of a repository": { + "$ref": "./examples/GetAcrTags.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/QueryLast" + }, + { + "$ref": "#/parameters/QueryNum" + }, + { + "$ref": "#/parameters/QueryOrderBy" + }, + { + "$ref": "#/parameters/QueryDigest" + } + ], + "responses": { + "200": { + "description": "Tag details of a repository", + "schema": { + "$ref": "#/definitions/AcrRepositoryTags" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/{name}/_tags/{reference}": { + "get": { + "tags": [ + "AcrTag", + "AcrMetadata" + ], + "description": "Get tag attributes by tag", + "operationId": "GetAcrTagAttributes", + "x-ms-examples": { + "Get tag attributes": { + "$ref": "./examples/GetAcrTagAttributes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ManifestReference" + } + ], + "responses": { + "200": { + "description": "Tag attributes", + "schema": { + "$ref": "#/definitions/AcrTagAttributes" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "patch": { + "tags": [ + "AcrTag", + "AcrMetadata" + ], + "description": "Update tag attributes", + "operationId": "UpdateAcrTagAttributes", + "consumes": [ + "application/json" + ], + "x-ms-examples": { + "Update attributes of a manifest": { + "$ref": "./examples/UpdateAcrTagAttributes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ManifestReference" + }, + { + "$ref": "#/parameters/RepoValue" + } + ], + "responses": { + "200": { + "description": "The attributes are updated" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "delete": { + "tags": [ + "AcrTag", + "AcrMetadata" + ], + "description": "Delete tag", + "operationId": "DeleteAcrTag", + "consumes": [ + "application/json" + ], + "x-ms-examples": { + "Update attributes of a manifest": { + "$ref": "./examples/DeleteAcrTag.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ManifestReference" + } + ], + "responses": { + "202": { + "description": "The tag is deleted" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/{name}/_manifests": { + "get": { + "tags": [ + "AcrManifest", + "AcrMetadata" + ], + "description": "List manifests of a repository", + "operationId": "GetAcrManifests", + "x-ms-examples": { + "Get details of repository": { + "$ref": "./examples/GetAcrManifests.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/QueryLast" + }, + { + "$ref": "#/parameters/QueryNum" + }, + { + "$ref": "#/parameters/QueryOrderBy" + } + ], + "responses": { + "200": { + "description": "Returns a list of manifests", + "schema": { + "$ref": "#/definitions/AcrManifests" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/acr/v1/{name}/_manifests/{reference}": { + "get": { + "tags": [ + "AcrManifest", + "AcrMetadata" + ], + "description": "Get manifest attributes", + "operationId": "GetAcrManifestAttributes", + "x-ms-examples": { + "Get manifest attributes": { + "$ref": "./examples/GetAcrManifestAttributes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ImageReference" + } + ], + "responses": { + "200": { + "description": "List of attributes", + "schema": { + "$ref": "#/definitions/AcrManifestAttributes" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + }, + "patch": { + "tags": [ + "AcrManifest", + "AcrMetadata" + ], + "description": "Update attributes of a manifest", + "operationId": "UpdateAcrManifestAttributes", + "consumes": [ + "application/json" + ], + "x-ms-examples": { + "Update attributes of a manifest": { + "$ref": "./examples/UpdateAcrManifestAttributes.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ImageName" + }, + { + "$ref": "#/parameters/ImageReference" + }, + { + "$ref": "#/parameters/RepoValue" + } + ], + "responses": { + "200": { + "description": "The attributes are updated" + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + } + } + }, + "/oauth2/exchange": { + "post": { + "tags": [ + "AcrToken", + "RefreshToken" + ], + "description": "Exchange AAD tokens for an ACR refresh Token", + "operationId": "GetAcrRefreshTokenFromExchange", + "consumes": [ + "application/x-www-form-urlencoded" + ], + "parameters": [ + { + "$ref": "#/parameters/Grant_type" + }, + { + "$ref": "#/parameters/Service" + }, + { + "$ref": "#/parameters/Tenant" + }, + { + "$ref": "#/parameters/RefreshToken" + }, + { + "$ref": "#/parameters/AccessToken" + } + ], + "responses": { + "200": { + "description": "Refresh token acquired", + "schema": { + "$ref": "#/definitions/RefreshToken" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + }, + "security": [], + "x-ms-examples": { + "Exchange AAD Token for ACR Refresh": { + "$ref": "./examples/PostRefreshToken.json" + } + } + } + }, + "/oauth2/token": { + "post": { + "tags": [ + "AcrToken", + "AccessToken" + ], + "description": "Exchange ACR Refresh token for an ACR Access Token", + "operationId": "GetAcrAccessToken", + "consumes": [ + "application/x-www-form-urlencoded" + ], + "parameters": [ + { + "name": "grant_type", + "in": "formData", + "description": "Grant type is expected to be refresh_token", + "required": true, + "type": "string", + "enum": [ + "refresh_token" + ] + }, + { + "$ref": "#/parameters/Service" + }, + { + "name": "scope", + "in": "formData", + "required": true, + "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge.", + "type": "string" + }, + { + "name": "refresh_token", + "in": "formData", + "required": true, + "description": "Must be a valid ACR refresh token", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Access token acquired", + "schema": { + "$ref": "#/definitions/AccessToken" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + }, + "security": [], + "x-ms-examples": { + "Get Access Token with Refresh Token": { + "$ref": "./examples/PostAccessToken.json" + } + } + }, + "get": { + "tags": [ + "AcrToken", + "AccessToken", + "userLogin" + ], + "description": "Exchange Username, Password and Scope an ACR Access Token", + "operationId": "GetAcrAccessTokenFromLogin", + "parameters": [ + { + "name": "service", + "in": "query", + "required": true, + "description": "Indicates the name of your Azure container registry.", + "type": "string" + }, + { + "name": "scope", + "in": "query", + "required": true, + "description": "Expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Access token acquired", + "schema": { + "$ref": "#/definitions/AccessToken" + } + }, + "default": { + "description": "ACR error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/AcrErrors" + } + } + }, + "security": [ + { + "registry_auth": [] + } + ], + "x-ms-examples": { + "Get Access Token with username and password": { + "$ref": "./examples/GetAccessToken.json" + } + } + } + } + }, + "definitions": { + "RepositoryAttributes": { + "type": "object", + "description": "Repository attributes", + "properties": { + "registry": { + "type": "string", + "description": "Registry name" + }, + "imageName": { + "type": "string", + "description": "Image name" + }, + "createdTime": { + "type": "string", + "description": "Image created time" + }, + "lastUpdateTime": { + "type": "string", + "description": "Image last update time" + }, + "manifestCount": { + "type": "integer", + "description": "Number of the manifests" + }, + "tagCount": { + "type": "integer", + "description": "Number of the tags" + }, + "changeableAttributes": { + "description": "Changeable attributes", + "$ref": "#/definitions/ChangeableAttributes" + } + }, + "example": { + "registry": "registryname.azurecr.io", + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "imageName": "imageName", + "createdTime": "2018-09-07T16:30:46.6583219Z", + "tagCount": 6, + "manifestCount": 2, + "lastUpdateTime": "2018-09-07T16:30:46.6583219Z" + } + }, + "AcrRepositoryTags": { + "description": "List of tag details", + "properties": { + "registry": { + "type": "string", + "description": "Registry name" + }, + "imageName": { + "type": "string", + "description": "Image name" + }, + "tags": { + "type": "array", + "x-ms-client-name": "TagsAttributes", + "description": "List of tag attribute details", + "items": { + "$ref": "#/definitions/AcrTagAttributesBase" + } + } + }, + "example": { + "registry": "registry", + "imageName": "imageName", + "tags": [ + { + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "name": "name", + "digest": "digest", + "createdTime": "createdTime", + "signed": true, + "lastUpdateTime": "lastUpdateTime" + }, + { + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "name": "name", + "digest": "digest", + "createdTime": "createdTime", + "signed": true, + "lastUpdateTime": "lastUpdateTime" + } + ] + } + }, + "AcrTagAttributes": { + "description": "Tag attributes", + "properties": { + "registry": { + "type": "string", + "description": "Registry name" + }, + "imageName": { + "type": "string", + "description": "Image name" + }, + "tag": { + "x-ms-client-name": "TagAttributes", + "description": "List of tag attribute details", + "$ref": "#/definitions/AcrTagAttributesBase" + } + }, + "example": { + "registry": "registry", + "imageName": "imageName", + "tag": { + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "name": "name", + "digest": "digest", + "createdTime": "createdTime", + "signed": true, + "lastUpdateTime": "lastUpdateTime" + } + } + }, + "TagAttributes": { + "description": "Tag attributes", + "properties": { + "registry": { + "description": "Registry name", + "type": "string" + }, + "imageName": { + "description": "Image name", + "type": "string" + }, + "tag": { + "$ref": "#/definitions/TagAttributes_tag", + "description": "Tag attributes" + } + }, + "example": { + "registry": "registry", + "imageName": "imageName", + "tag": { + "signatureRecord": "signatureRecord" + } + } + }, + "AcrTagAttributesBase": { + "description": "Tag attribute details", + "properties": { + "name": { + "type": "string", + "description": "Tag name" + }, + "digest": { + "type": "string", + "description": "Tag digest" + }, + "createdTime": { + "type": "string", + "description": "Tag created time" + }, + "lastUpdateTime": { + "type": "string", + "description": "Tag last update time" + }, + "signed": { + "type": "boolean", + "description": "Is signed" + }, + "changeableAttributes": { + "$ref": "#/definitions/ChangeableAttributes", + "description": "Changeable attributes" + } + }, + "example": { + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "name": "tagname", + "digest": "sha256:0873c923e00e0fd2ba78041bfb64a105e1ecb7678916d1f7776311e45bf5634b", + "createdTime": "2018-08-10T17:28:44.1082945Z", + "signed": true, + "lastUpdateTime": "2018-08-10T17:28:44.1082945Z" + } + }, + "AcrManifests": { + "description": "Manifest attributes", + "properties": { + "registry": { + "type": "string", + "description": "Registry name" + }, + "imageName": { + "type": "string", + "description": "Image name" + }, + "manifests": { + "x-ms-client-name": "ManifestsAttributes", + "type": "array", + "description": "List of manifests", + "items": { + "$ref": "#/definitions/AcrManifestAttributesBase", + "description": "Manifest details" + } + } + }, + "example": { + "registry": "registry", + "imageName": "imageName", + "manifests": [ + { + "changeableAttributes": { + "quarantineDetails": "quarantineDetails", + "readEnabled": true, + "quarantineState": "quarantineState", + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "os": "os", + "digest": "digest", + "imageSize": 2401606, + "createdTime": "createdTime", + "mediaType": "mediaType", + "configMediaType": "configMediaType", + "lastUpdateTime": "lastUpdateTime", + "architecture": "architecture", + "tags": [ + "tags", + "tags" + ] + }, + { + "changeableAttributes": { + "quarantineDetails": "quarantineDetails", + "readEnabled": true, + "quarantineState": "quarantineState", + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "os": "os", + "digest": "digest", + "imageSize": 2401606, + "createdTime": "createdTime", + "mediaType": "mediaType", + "configMediaType": "configMediaType", + "lastUpdateTime": "lastUpdateTime", + "architecture": "architecture", + "tags": [ + "tags", + "tags" + ] + } + ] + } + }, + "AcrManifestAttributes": { + "description": "Manifest attributes details", + "properties": { + "registry": { + "description": "Registry name", + "type": "string" + }, + "imageName": { + "description": "Image name", + "type": "string" + }, + "manifest": { + "x-ms-client-name": "ManifestAttributes", + "description": "Manifest attributes", + "$ref": "#/definitions/AcrManifestAttributesBase" + } + }, + "example": { + "registry": "acrapi.azurecr-test.io", + "imageName": "nanoserver", + "manifest": { + "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086", + "imageSize": 2401606, + "createdTime": "2018-09-06T06:17:20.9983915Z", + "lastUpdateTime": "2018-09-06T06:17:20.9983915Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "configMediaType": "application/vnd.docker.container.image.v1+json", + "tags": [ + "4.7.2-20180905-nanoserver-1803" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + "AcrManifestAttributesBase": { + "type": "object", + "description": "Manifest details", + "properties": { + "digest": { + "type": "string", + "description": "Manifest" + }, + "imageSize": { + "type": "integer", + "description": "Image size" + }, + "createdTime": { + "type": "string", + "description": "Created time" + }, + "lastUpdateTime": { + "type": "string", + "description": "Last update time" + }, + "architecture": { + "type": "string", + "description": "CPU architecture" + }, + "os": { + "type": "string", + "description": "Operating system" + }, + "mediaType": { + "type": "string", + "description": "Media type" + }, + "configMediaType": { + "type": "string", + "description": "Config blob media type" + }, + "tags": { + "type": "array", + "description": "List of tags", + "items": { + "type": "string", + "description": "Tag name" + } + }, + "changeableAttributes": { + "$ref": "#/definitions/ChangeableAttributes", + "description": "Changeable attributes" + } + }, + "example": { + "changeableAttributes": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + }, + "os": "os", + "digest": "digest", + "imageSize": 2401606, + "createdTime": "createdTime", + "mediaType": "mediaType", + "configMediaType": "configMediaType", + "lastUpdateTime": "lastUpdateTime", + "architecture": "architecture", + "tags": [ + "tags", + "tags" + ] + } + }, + "RefreshToken": { + "type": "object", + "properties": { + "refresh_token": { + "description": "The refresh token to be used for generating access tokens", + "type": "string" + } + } + }, + "AccessToken": { + "type": "object", + "properties": { + "access_token": { + "description": "The access token for performing authenticated requests", + "type": "string" + } + } + }, + "AcrErrors": { + "description": "Acr error response describing why the operation failed", + "properties": { + "errors": { + "type": "array", + "description": "Array of detailed error", + "items": { + "$ref": "#/definitions/AcrErrorInfo" + } + } + } + }, + "RepositoryTags": { + "description": "Result of the request to list tags of the image", + "properties": { + "name": { + "type": "string", + "description": "Name of the image" + }, + "tags": { + "type": "array", + "description": "List of tags", + "items": { + "type": "string", + "description": "Tag name" + } + } + }, + "example": { + "name": "name", + "tags": [ + "tags", + "tags" + ] + } + }, + "Manifest": { + "description": "Returns the requested manifest file", + "properties": { + "schemaVersion": { + "type": "integer", + "description": "Schema version" + }, + "mediaType": { + "type": "string", + "description": "Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header" + }, + "config": { + "description": "V2 image config descriptor", + "$ref": "#/definitions/V2Descriptor" + }, + "layers": { + "type": "array", + "description": "List of V2 image layer information", + "items": { + "$ref": "#/definitions/V2Descriptor" + } + }, + "architecture": { + "type": "string", + "description": "CPU architecture" + }, + "name": { + "type": "string", + "description": "Image name" + }, + "tag": { + "type": "string", + "description": "Image tag" + }, + "fsLayers": { + "type": "array", + "description": "List of layer information", + "items": { + "$ref": "#/definitions/FsLayer" + } + }, + "history": { + "type": "array", + "description": "Image history", + "items": { + "$ref": "#/definitions/History" + } + }, + "signatures": { + "type": "array", + "description": "Image signature", + "items": { + "$ref": "#/definitions/ImageSignature" + } + } + }, + "example": { + "schemaVersion": 2, + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "config": { + "mediaType": "application/vnd.docker.container.image.v1+json", + "size": 1512, + "digest": "sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f" + }, + "layers": [ + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 2107098, + "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6" + } + ] + } + }, + "ImageSignature": { + "description": "Signature of a signed manifest", + "properties": { + "header": { + "description": "A JSON web signature", + "$ref": "#/definitions/JWK" + }, + "signature": { + "type": "string", + "description": "A signature for the image manifest, signed by a libtrust private key" + }, + "protected": { + "type": "string", + "description": "The signed protected header" + } + }, + "example": { + "header": { + "jwk": { + "crv": "P-256", + "kid": "WGXM:EYWQ:DA53:LQUP:BCWG:5RDG:S3ZM:ETH7:VMQS:WWKZ:EWDG:V74Q", + "kty": "EC", + "x": "OxZ9k5BVjPZ7jb3BmBD4X0d8MVPJqfF4NeSe8reoqnY", + "y": "EaCqTe4-vYwhk7qU6Bs2-AeLGOVtCe_-IY2MdE0Vfyc" + }, + "alg": "ES256" + }, + "signature": "p73LfotMGD8nNXz2g9YX2XtSllb4GI5-b3vjqP5N0nkv8QXg-r5z_omGiVbOZE2BYG1X_4TIN23l1KSEqsXxOg", + "protected": "eyJmb3JtYXRMZW5ndGgiOjI5ODYsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOC0wOS0yMFQyMzo0MTo1MloifQ" + } + }, + "JWK": { + "description": "A JSON web signature", + "properties": { + "jwk": { + "$ref": "#/definitions/JWKHeader" + }, + "alg": { + "type": "string", + "description": "The algorithm used to sign or encrypt the JWT" + } + } + }, + "JWKHeader": { + "description": "JSON web key parameter", + "properties": { + "crv": { + "type": "string", + "description": "crv value" + }, + "kid": { + "type": "string", + "description": "kid value" + }, + "kty": { + "type": "string", + "description": "kty value" + }, + "x": { + "type": "string", + "description": "x value" + }, + "y": { + "type": "string", + "description": "y value" + } + } + }, + "History": { + "description": "A list of unstructured historical data for v1 compatibility", + "properties": { + "v1Compatibility": { + "type": "string", + "description": "The raw v1 compatibility information" + } + }, + "example": { + "v1Compatibility": "v1 compatibility info" + } + }, + "Repositories": { + "description": "List of repositories", + "properties": { + "repositories": { + "type": "array", + "x-ms-client-name": "Names", + "description": "Repository names", + "items": { + "type": "string" + } + } + }, + "example": { + "repositories": [ + "production/alpine", + "testing/alpine" + ] + } + }, + "DeletedRepository": { + "description": "Deleted repository", + "properties": { + "manifestsDeleted": { + "type": "array", + "description": "SHA of the deleted image", + "items": { + "type": "string" + } + }, + "tagsDeleted": { + "type": "array", + "description": "Tag of the deleted image", + "items": { + "type": "string" + } + } + } + }, + "AcrErrorInfo": { + "description": "Error information", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "detail": { + "type": "object", + "description": "Error details" + } + } + }, + "FsLayer": { + "description": "Image layer information", + "properties": { + "blobSum": { + "type": "string", + "description": "SHA of an image layer" + } + }, + "example": { + "blobSum": "sha256:1f7d468f830cb0ed4beb8edc9438f18096e8c682e56a35242f60e6c61b718b30" + } + }, + "V2Descriptor": { + "description": "Docker V2 image layer descriptor including config and layers", + "properties": { + "mediaType": { + "type": "string", + "description": "Layer media type" + }, + "size": { + "type": "integer", + "description": "Layer size" + }, + "digest": { + "type": "string", + "description": "Layer digest" + } + }, + "example": { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 2107098, + "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6" + } + }, + "ChangeableAttributes": { + "properties": { + "deleteEnabled": { + "type": "boolean", + "description": "Delete enabled" + }, + "writeEnabled": { + "type": "boolean", + "description": "Write enabled" + }, + "listEnabled": { + "type": "boolean", + "description": "List enabled" + }, + "readEnabled": { + "type": "boolean", + "description": "Read enabled" + } + }, + "example": { + "readEnabled": true, + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + } + }, + "TagAttributes_tag": { + "description": "Tag", + "properties": { + "signatureRecord": { + "description": "SignatureRecord value", + "type": "string" + } + }, + "example": { + "signatureRecord": "signatureRecord" + } + }, + "ManifestAttributes_manifest_references": { + "description": "Manifest attributes details", + "properties": { + "digest": { + "type": "string", + "description": "Manifest digest" + }, + "architecture": { + "type": "string", + "description": "CPU architecture" + }, + "os": { + "type": "string", + "description": "Operating system" + } + }, + "example": { + "os": "os", + "digest": "digest", + "architecture": "architecture" + } + }, + "ManifestAttributes_manifest": { + "description": "List of manifest attributes", + "properties": { + "references": { + "type": "array", + "description": "List of manifest attributes details", + "items": { + "$ref": "#/definitions/ManifestAttributes_manifest_references", + "description": "Manifest attributes details" + } + }, + "quarantineTag": { + "type": "string", + "description": "Quarantine tag name" + } + }, + "example": { + "quarantineTag": "quarantineTag", + "references": [ + { + "os": "os", + "digest": "digest", + "architecture": "architecture" + }, + { + "os": "os", + "digest": "digest", + "architecture": "architecture" + } + ] + } + }, + "ManifestChangeableAttributes": { + "description": "Changeable attributes", + "properties": { + "deleteEnabled": { + "type": "boolean", + "description": "Delete enabled" + }, + "writeEnabled": { + "type": "boolean", + "description": "Write enabled" + }, + "listEnabled": { + "type": "boolean", + "description": "List enabled" + }, + "readEnabled": { + "type": "boolean", + "description": "Read enabled" + }, + "quarantineState": { + "type": "string", + "description": "Quarantine state" + }, + "quarantineDetails": { + "type": "string", + "description": "Quarantine details" + } + }, + "example": { + "quarantineDetails": "quarantineDetails", + "readEnabled": true, + "quarantineState": "quarantineState", + "listEnabled": true, + "deleteEnabled": true, + "writeEnabled": true + } + } + }, + "parameters": { + "Url": { + "name": "url", + "x-ms-client-name": "loginUri", + "description": "Registry login URL", + "required": true, + "type": "string", + "in": "path", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "client" + }, + "ImageReference": { + "name": "reference", + "in": "path", + "description": "A tag or a digest, pointing to a specific image", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManifestReference": { + "name": "reference", + "in": "path", + "description": "Tag or digest of the target manifest", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Digest": { + "name": "digest", + "in": "path", + "description": "Digest of a desired BLOB", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "metadata": { + "name": "metadata", + "in": "path", + "description": "Name of the metadata", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "property": { + "name": "property", + "in": "path", + "description": "Name of the property", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RepoValue": { + "name": "value", + "in": "body", + "description": "Repository attribute value", + "required": false, + "schema": { + "$ref": "#/definitions/ChangeableAttributes" + }, + "x-ms-parameter-location": "method" + }, + "QueryOrderBy": { + "name": "orderby", + "in": "query", + "description": "orderby query parameter", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "QueryNum": { + "name": "n", + "in": "query", + "description": "query parameter for max number of items", + "required": false, + "type": "integer", + "x-ms-parameter-location": "method" + }, + "QueryLast": { + "name": "last", + "in": "query", + "description": "Query parameter for the last item in previous query. Result set will include values lexically after last.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "QueryDigest": { + "name": "digest", + "in": "query", + "description": "filter by digest", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Grant_type": { + "name": "grant_type", + "description": "Can take a value of access_token_refresh_token, or access_token, or refresh_token", + "type": "string", + "in": "formData", + "required": true, + "enum": [ + "access_token_refresh_token", + "access_token", + "refresh_token" + ], + "x-ms-parameter-location": "method" + }, + "Service": { + "name": "service", + "in": "formData", + "required": true, + "description": "Indicates the name of your Azure container registry.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "Tenant": { + "name": "tenant", + "in": "formData", + "required": false, + "description": "AAD tenant associated to the AAD credentials.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "Scope": { + "name": "scope", + "in": "formData", + "required": true, + "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "RefreshToken": { + "name": "refresh_token", + "in": "formData", + "required": false, + "description": "AAD refresh token, mandatory when grant_type is access_token_refresh_token or refresh_token", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AccessToken": { + "name": "access_token", + "in": "formData", + "required": false, + "description": "AAD access token, mandatory when grant_type is access_token_refresh_token or access_token.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "ImageName": { + "name": "name", + "in": "path", + "description": "Name of the image (including the namespace)", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManifestBody": { + "description": "Manifest body, can take v1 or v2 values depending on accept header", + "name": "payload", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Manifest" + }, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json new file mode 100644 index 000000000000..9009925c6027 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "hello-world", + "reference": "a20190628-081044z", + "payload": "{\"schemaVersion\":2,\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"config\":{\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":1512,\"digest\":\"sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f\"},\"layers\":[{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":2107098,\"digest\":\"sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6\"}]}" + }, + "responses": { + "201": { + "headers": { + "Docker-Content-Digest": "sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8", + "Location": "/v2/hello-world/manifests/sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8", + "Content-Length": 0 + }, + "body": {} + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json new file mode 100644 index 000000000000..8449e47855ec --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver" + }, + "responses": { + "202": { + "body": { + "manifestsDeleted": [ + "sha256:e31831d63f77a0a6d74ef5b16df619a50808dac842190d07ae24e8b520d159fa" + ], + "tagsDeleted": [ + "4.7.2-20180814-windowsservercore-1709" + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json new file mode 100644 index 000000000000..fec441eeaf12 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver", + "reference": "4.7.2-20180905-nanoserver-1803" + }, + "responses": { + "202": {} + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json new file mode 100644 index 000000000000..50afe0bd523e --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "alpine", + "reference": "3.7" + }, + "responses": { + "202": {} + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json new file mode 100644 index 000000000000..416fd08ca49b --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "service": "someregistry.azurecr.io", + "scope": "registry:catalog:*" + }, + "responses": { + "200": { + "body": { + "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..." + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json new file mode 100644 index 000000000000..a8163814b8c1 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver", + "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086" + }, + "responses": { + "200": { + "body": { + "registry": "acrapi.azurecr-test.io", + "imageName": "nanoserver", + "manifest": { + "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086", + "imageSize": 2401606, + "createdTime": "2018-09-06T06:17:20.9983915Z", + "lastUpdateTime": "2018-09-06T06:17:20.9983915Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "configMediaType": "application/vnd.docker.container.image.v1+json", + "tags": [ + "4.7.2-20180905-nanoserver-1803" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json new file mode 100644 index 000000000000..08eaec214eca --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver" + }, + "responses": { + "200": { + "body": { + "registry": "acrapi.azurecr-test.io", + "imageName": "nanoserver", + "manifests": [ + { + "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086", + "imageSize": 2401606, + "createdTime": "2018-09-06T06:17:20.9983915Z", + "lastUpdateTime": "2018-09-06T06:17:20.9983915Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "configMediaType": "application/vnd.docker.container.image.v1+json", + "tags": [ + "4.7.2-20180905-nanoserver-1803" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52", + "imageSize": 4135121, + "createdTime": "2018-09-07T16:30:46.5651701Z", + "lastUpdateTime": "2018-09-07T16:30:46.5651701Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "configMediaType": "application/vnd.docker.container.image.v1+json", + "tags": [ + "4.7.2-20180906-nanoserver-1803" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json new file mode 100644 index 000000000000..c6791683bfd2 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver" + }, + "responses": { + "200": { + "body": { + "registry": "acrapi.azurecr-test.io", + "imageName": "nanoserver", + "createdTime": "2018-09-06T06:17:20.9531248Z", + "lastUpdateTime": "2018-09-07T16:30:46.6583219Z", + "manifestCount": 2, + "tagCount": 2, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json new file mode 100644 index 000000000000..ed58c44d6f71 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "test/bash", + "reference": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e7afas407405b7ad7b6" + }, + "responses": { + "200": { + "body": { + "registry": "acrapi.azurecr-test.io", + "imageName": "test/bash", + "tag": { + "name": "tagName", + "digest": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e70d407405b7ad7b6", + "createdTime": "2018-10-05T20:54:24.1286047Z", + "lastUpdateTime": "2018-10-05T20:54:24.1286047Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": false, + "readEnabled": true, + "listEnabled": true + } + } + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json new file mode 100644 index 000000000000..e5342cd2295f --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver" + }, + "responses": { + "200": { + "body": { + "registry": "acrapi.azurecr-test.io", + "imageName": "nanoserver", + "tags": [ + { + "name": "4.7.2-20180905-nanoserver-1803", + "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086", + "createdTime": "2018-09-06T06:17:21.0856539Z", + "lastUpdateTime": "2018-09-06T06:17:21.0856539Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "4.7.2-20180906-nanoserver-1803", + "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52", + "createdTime": "2018-09-06T16:30:43.3860166Z", + "lastUpdateTime": "2018-09-07T16:30:46.7022734Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json new file mode 100644 index 000000000000..181e2eec438e --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json @@ -0,0 +1,8 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io" + }, + "responses": { + "200": {} + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json new file mode 100644 index 000000000000..2768e76d6a0d --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "hello-world-dangling", + "reference": "20190628-033033z", + "accept": "application/vnd.docker.distribution.manifest.v2+json" + }, + "responses": { + "200": { + "body": { + "schemaVersion": 2, + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "config": { + "mediaType": "application/vnd.docker.container.image.v1+json", + "size": 5824, + "digest": "sha256:691fbc2d44fff48357bba69ab0505b9bf12b2b250a925a84a0b8e8e7eed390b2" + }, + "layers": [ + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 2014658, + "digest": "sha256:a073c86ecf9e0f29180e80e9638d4c741970695851ea48247276c32c57e40282" + }, + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 19778035, + "digest": "sha256:0e28711eb56d78f1e3dfde1807eba529d1346222bcd07d1cb1e436a18a0388bd" + }, + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 1074044, + "digest": "sha256:e460dd483fddb555911f7ed188c319fd97542c60e36843dcb1c5d753f733e1fa" + }, + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 5827, + "digest": "sha256:6aa301222093bfb8cf424ccb387f59e2c9510c3a30cca7fbcf8c954f88e6600c" + }, + { + "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", + "size": 568, + "digest": "sha256:9c5d80083a57d565f684e0155707204d497a5ad965279f92927452f15dae17e6" + } + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json new file mode 100644 index 000000000000..4b6864e0ea95 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io" + }, + "responses": { + "200": { + "body": { + "repositories": [ + "production/alpine", + "testing/alpine" + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json new file mode 100644 index 000000000000..c1e81b2f664e --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver" + }, + "responses": { + "200": { + "body": { + "name": "nanoserver", + "tags": [ + "4.7.2-20180905-nanoserver-1803", + "4.7.2-20180906-nanoserver-1803" + ] + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json new file mode 100644 index 000000000000..a4e6293133b5 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "grant_type": "refresh_token", + "service": "someregistry.azurecr.io", + "scope": "registry:catalog:*", + "refresh_token": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..." + }, + "responses": { + "200": { + "body": { + "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..." + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json new file mode 100644 index 000000000000..768ca1680ba1 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "grant_type": "access_token", + "url": "acrapi.azurecr-test.io", + "service": "someregistry.azurecr.io", + "tenant": "02f900bf-86f1-31af-p1ab-2b7cd0nndb47", + "accessToken": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..." + }, + "responses": { + "200": { + "body": { + "refresh_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..." + } + } + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json new file mode 100644 index 000000000000..4c25514ab2f2 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver", + "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086", + "value": "{\"writeEnabled\": false}" + }, + "responses": { + "200": {} + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json new file mode 100644 index 000000000000..14a61f118d0f --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver", + "value": { + "writeEnabled": false + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json new file mode 100644 index 000000000000..16e13e3c4ec2 --- /dev/null +++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "url": "acrapi.azurecr-test.io", + "name": "nanoserver", + "reference": "4.7.2-20180905-nanoserver-1803", + "value": "{\"writeEnabled\": false}" + }, + "responses": { + "200": {} + } +} diff --git a/specification/containerregistry/data-plane/readme.go.md b/specification/containerregistry/data-plane/readme.go.md new file mode 100644 index 000000000000..97ef4154aa73 --- /dev/null +++ b/specification/containerregistry/data-plane/readme.go.md @@ -0,0 +1,27 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: containerregistry + clear-output-folder: true + add-credentials: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-07 +``` + +### Tag: package-2019-07 and go + +These settings apply only when `--tag=package-2019-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-07' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/runtime/2019-07/$(namespace) +``` diff --git a/specification/containerregistry/data-plane/readme.md b/specification/containerregistry/data-plane/readme.md index 7a48a2056db5..9c7cc320a2ec 100644 --- a/specification/containerregistry/data-plane/readme.md +++ b/specification/containerregistry/data-plane/readme.md @@ -1,13 +1,13 @@ # ContainerRegistry - + > see https://aka.ms/autorest This is the AutoRest configuration file for ContainerRegistry. +--- +## Getting Started ---- -## Getting Started To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,14 +19,23 @@ To see additional help and options, run: ## Configuration +### Basic Information -#### Basic Information These are the global settings for the ContainerRegistry API. ``` yaml -# common +# common openapi-type: data-plane -tag: package-2018-08 +tag: package-2019-07 +``` + +### Tag: package-2019-07 + +These settings apply only when `--tag=package-2019-07` is specified on the command line. + +``` yaml $(tag) == 'package-2019-07' +input-file: +- Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json ``` ### Tag: package-2018-08 @@ -39,7 +48,6 @@ input-file: ``` --- -# Code Generation ## Swagger to SDK @@ -49,6 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net + - repo: azure-sdk-for-go ``` ## C# @@ -62,7 +71,29 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.ContainerRegistry sync-methods: None - output-folder: $(csharp-sdks-folder)/ContainerRegistry/Microsoft.Azure.ContainerRegistry/src/Generated + output-folder: $(csharp-sdks-folder)/ContainerRegistry/preview/Microsoft.Azure.ContainerRegistry/src/Generated clear-output-folder: true add-credentials: true +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Suppression + +``` yaml +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + from: containerregistry.json + where: $.definitions.AccessToken.properties.access_token + reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/ + - suppress: DefinitionsPropertiesNamesCamelCase + from: containerregistry.json + where: $.definitions.RefreshToken.properties.refresh_token + reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/ + - suppress: LROStatusCodesReturnTypeSchema + reason: No content is returned by put Manifest in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/api/#put-manifest + from: containerregistry.json + where: $.paths["/v2/{name}/manifests/{reference}"].put.responses["201"] ``` \ No newline at end of file From e6dc5a01a3597bb3861ab17588ace857458e4d1c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 01:21:15 -0400 Subject: [PATCH 413/495] fix: mysql model validation errors (#6829) Remove "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json index 8d51878323cd..2a5d616e1221 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-12-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json index 0fa496b85696..eba76be987c7 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json index 0fa496b85696..eba76be987c7 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-12-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } From 42212c7c99c38accb56235e36b62dd3df5dba1b1 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 01:32:05 -0400 Subject: [PATCH 414/495] chore: jsonfmt batch (#6827) Fix spelling issues added in #6629 from "example" values in spec --- custom-words.txt | 14 +++- .../stable/2019-08-01.10.0/BatchService.json | 29 +++++-- .../examples/AccountListPoolNodeCounts.json | 2 +- .../examples/AccountListSupportedImages.json | 2 +- .../examples/ApplicationGet.json | 12 +-- .../examples/ApplicationList.json | 2 +- .../examples/CertificateAdd.json | 15 ++-- .../examples/CertificateCancelDelete.json | 5 +- .../examples/CertificateDelete.json | 5 +- .../examples/CertificateGet.json | 2 +- .../examples/CertificateList.json | 2 +- .../examples/FileDeleteFromNode.json | 5 +- .../examples/FileDeleteFromTask.json | 5 +- .../examples/FileGetFromNode.json | 2 +- .../examples/FileGetFromTask.json | 2 +- .../examples/FileGetPropertiesFromNode.json | 2 +- .../examples/FileGetPropertiesFromTask.json | 2 +- .../examples/FileListFromNode.json | 2 +- .../examples/FileListFromTask.json | 2 +- .../examples/JobAdd_Basic.json | 5 +- .../examples/JobAdd_Complex.json | 9 +-- .../2019-08-01.10.0/examples/JobDelete.json | 5 +- .../2019-08-01.10.0/examples/JobDisable.json | 5 +- .../2019-08-01.10.0/examples/JobEnable.json | 5 +- .../2019-08-01.10.0/examples/JobGet.json | 2 +- .../examples/JobGetLifetimeStatistics.json | 4 +- .../examples/JobGetTaskCounts.json | 2 +- .../2019-08-01.10.0/examples/JobList.json | 2 +- .../examples/JobListFromJobSchedule.json | 2 +- ...obListPreparationAndReleaseTaskStatus.json | 2 +- .../2019-08-01.10.0/examples/JobPatch.json | 13 ++-- .../examples/JobScheduleAdd_Basic.json | 7 +- .../examples/JobScheduleAdd_Complex.json | 5 +- .../examples/JobScheduleDelete.json | 5 +- .../examples/JobScheduleDisable.json | 5 +- .../examples/JobScheduleEnable.json | 5 +- .../examples/JobScheduleExists.json | 8 +- .../examples/JobScheduleGet.json | 2 +- .../examples/JobScheduleList.json | 2 +- .../examples/JobSchedulePatch.json | 5 +- .../examples/JobScheduleTerminate.json | 5 +- .../examples/JobScheduleUpdate.json | 5 +- .../examples/JobTerminate.json | 5 +- .../2019-08-01.10.0/examples/JobUpdate.json | 13 ++-- .../2019-08-01.10.0/examples/NodeAddUser.json | 5 +- .../examples/NodeDeleteUser.json | 5 +- .../examples/NodeDisableScheduling.json | 5 +- .../examples/NodeEnableScheduling.json | 5 +- .../examples/NodeGetRemoteDesktop.json | 2 +- .../examples/NodeGetRemoteLoginSettings.json | 2 +- .../examples/NodeGet_Basic.json | 4 +- .../2019-08-01.10.0/examples/NodeList.json | 8 +- .../2019-08-01.10.0/examples/NodeReboot.json | 5 +- .../2019-08-01.10.0/examples/NodeReimage.json | 5 +- .../examples/NodeUpdateUser.json | 5 +- .../examples/NodeUploadBatchServiceLogs.json | 6 +- .../PoolAdd_CloudServiceConfiguration.json | 26 ++++--- .../examples/PoolAdd_MountConfiguration.json | 78 ++++++++++--------- .../PoolAdd_VirtualMachineConfiguration.json | 26 ++++--- ...ualMachineConfigurationWithContainers.json | 14 ++-- .../2019-08-01.10.0/examples/PoolDelete.json | 5 +- .../examples/PoolDisableAutoScale.json | 5 +- .../examples/PoolEnableAutoscale.json | 5 +- .../examples/PoolEvaluateAutoscale.json | 2 +- .../2019-08-01.10.0/examples/PoolExists.json | 8 +- .../examples/PoolGetLifetimeStatistics.json | 4 +- .../examples/PoolGet_Basic.json | 4 +- .../examples/PoolListUsageMetrics.json | 2 +- .../examples/PoolList_Basic.json | 4 +- .../2019-08-01.10.0/examples/PoolPatch.json | 5 +- .../examples/PoolRemoveNodes.json | 5 +- .../2019-08-01.10.0/examples/PoolResize.json | 5 +- .../examples/PoolStopResize.json | 5 +- .../2019-08-01.10.0/examples/PoolUpdate.json | 5 +- .../examples/TaskAddCollection_Basic.json | 2 +- .../examples/TaskAddCollection_Complex.json | 2 +- .../examples/TaskAdd_Basic.json | 5 +- .../examples/TaskAdd_ContainerSettings.json | 7 +- .../examples/TaskAdd_ExitConditions.json | 7 +- .../2019-08-01.10.0/examples/TaskDelete.json | 5 +- .../2019-08-01.10.0/examples/TaskGet.json | 4 +- .../2019-08-01.10.0/examples/TaskList.json | 6 +- .../examples/TaskListSubtasks.json | 2 +- .../examples/TaskReactivate.json | 5 +- .../examples/TaskTerminate.json | 5 +- .../2019-08-01.10.0/examples/TaskUpdate.json | 11 ++- .../stable/2019-08-01/BatchManagement.json | 25 +++++- .../examples/ApplicationCreate.json | 2 +- .../examples/ApplicationDelete.json | 2 +- .../2019-08-01/examples/ApplicationGet.json | 2 +- .../2019-08-01/examples/ApplicationList.json | 2 +- .../examples/ApplicationPackageActivate.json | 4 +- .../examples/ApplicationPackageCreate.json | 2 +- .../examples/ApplicationPackageDelete.json | 2 +- .../examples/ApplicationPackageGet.json | 4 +- .../examples/ApplicationPackageList.json | 4 +- .../examples/ApplicationUpdate.json | 2 +- .../examples/BatchAccountCreate_BYOS.json | 2 +- .../examples/BatchAccountCreate_Default.json | 2 +- .../examples/BatchAccountDelete.json | 2 +- .../2019-08-01/examples/BatchAccountGet.json | 2 +- .../examples/BatchAccountGetKeys.json | 2 +- .../2019-08-01/examples/BatchAccountList.json | 2 +- .../BatchAccountListByResourceGroup.json | 2 +- .../examples/BatchAccountRegenerateKey.json | 2 +- ...atchAccountSynchronizeAutoStorageKeys.json | 2 +- .../examples/BatchAccountUpdate.json | 2 +- .../examples/CertificateCancelDeletion.json | 10 +-- .../examples/CertificateCreate_Full.json | 20 ++--- .../examples/CertificateCreate_Minimal.json | 16 ++-- .../CertificateCreate_MinimalCer.json | 14 ++-- .../examples/CertificateDelete.json | 4 +- .../2019-08-01/examples/CertificateGet.json | 12 +-- .../CertificateGetWithDeletionError.json | 14 ++-- .../2019-08-01/examples/CertificateList.json | 12 +-- .../examples/CertificateListWithFilter.json | 8 +- .../examples/CertificateUpdate.json | 16 ++-- ...onCheckNameAvailability_AlreadyExists.json | 2 +- ...cationCheckNameAvailability_Available.json | 2 +- .../examples/LocationGetQuotas.json | 2 +- .../examples/PoolCreate_CustomImage.json | 2 +- ...eate_MinimalCloudServiceConfiguration.json | 2 +- ...te_MinimalVirtualMachineConfiguration.json | 2 +- ...oolCreate_VirtualMachineConfiguration.json | 2 +- .../2019-08-01/examples/PoolDelete.json | 6 +- .../examples/PoolDisableAutoScale.json | 2 +- .../stable/2019-08-01/examples/PoolGet.json | 2 +- .../examples/PoolListWithFilter.json | 2 +- .../2019-08-01/examples/PoolStopResize.json | 2 +- .../examples/PoolUpdate_EnableAutoScale.json | 2 +- .../examples/PoolUpdate_RemoveStartTask.json | 2 +- .../examples/PoolUpdate_ResizePool.json | 2 +- 132 files changed, 401 insertions(+), 396 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index f9e2c9179ddd..fc672aa52c4e 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -160,6 +160,7 @@ bangla baremetal BATCHAI BCDR +BCWG beider Bfor bigint @@ -452,6 +453,7 @@ eventhubconnections eventhubs eventtime eventtypes +EWDG exceptiontype Exfiltration explicitlist @@ -460,6 +462,7 @@ exportdevices exporterrors exportstatus externaldatasources +EYWQ faceapi facelists facetable @@ -697,6 +700,7 @@ ldaps ldom leavingpool LEDs +Lfot libtrust lifecycle lifetimejobstats @@ -736,6 +740,7 @@ lookback lovins lowpriority lpar +LQUP LRO's Lucene Lumia @@ -1120,6 +1125,7 @@ rhel Rolledback rollouts rolloverdetails +rootfs rotatediskencryptionkey routable routingendpointhealth @@ -1212,6 +1218,7 @@ skiptoken SKU's skus SLES +Sllb slotsdiffs slotsswap slowlog @@ -1440,6 +1447,7 @@ vcenter Vcore Vcores Vertica +Vfyc vhds videosearch virtualclusters @@ -1460,6 +1468,7 @@ vmextension VMILR vmimage vmname +VMQS vmsizes VMSS VMSSVM @@ -1505,6 +1514,7 @@ westeurope westindia Westlake westus +WGXM whitelisted Whitelisting Whitelistings @@ -1519,14 +1529,16 @@ workspaces wrapkey WSFC WTGCTBG +WWKZ XBing Xeon Xero XSMB +Ywhk YYMMDD Zabbix Zerto Zilla ziplist Zoho -zset +zset \ No newline at end of file diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json index de6c39f65e3f..58a9899e8546 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json @@ -5979,7 +5979,7 @@ "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }, - "Add a pool with mount drive specified": { + "Add a pool with mount drive specified": { "$ref": "./examples/PoolAdd_MountConfiguration.json" } }, @@ -13808,7 +13808,7 @@ }, "stats": { "$ref": "#/definitions/PoolStatistics", - "title": "Utilization and resource usage statistics for the entire lifetime of the Pool.", + "title": "Utilization and resource usage statistics for the entire lifetime of the Pool.", "description": "This property is populated only if the CloudPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes." }, "mountConfiguration": { @@ -16434,7 +16434,11 @@ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." } }, - "required": [ "accountName", "containerName", "relativeMountPath" ], + "required": [ + "accountName", + "containerName", + "relativeMountPath" + ], "title": "Blobfuse file system details." }, "NFSMountConfiguration": { @@ -16453,7 +16457,10 @@ "title": "Specifies various mount options that can be used." } }, - "required": [ "source", "relativeMountPath" ], + "required": [ + "source", + "relativeMountPath" + ], "title": "NFS file system detail." }, "CIFSMountConfiguration": { @@ -16480,7 +16487,12 @@ "title": "The password to authenticate with." } }, - "required": [ "username", "source", "password", "relativeMountPath" ], + "required": [ + "username", + "source", + "password", + "relativeMountPath" + ], "title": "CIFS file system details." }, "AzureFileShareConfiguration": { @@ -16507,7 +16519,12 @@ "title": "Specifies various mount options that can be used." } }, - "required": [ "accountName", "azureFileUrl", "accountKey", "relativeMountPath" ], + "required": [ + "accountName", + "azureFileUrl", + "accountKey", + "relativeMountPath" + ], "title": "Azure Files details." } }, diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json index baa733993e37..4591aa187647 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json @@ -118,4 +118,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json index a66bf07ee1c6..c9e9b87352a7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json @@ -73,4 +73,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json index 08a442dc389d..89901c9c19c7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json @@ -9,12 +9,12 @@ "responses": { "200": { "body": { - "id": "my_application_id", - "versions": [ - "v1.0" - ], - "displayName": "my_display_name" + "id": "my_application_id", + "versions": [ + "v1.0" + ], + "displayName": "my_display_name" } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json index ddc5e6034442..4d0c21d32ddf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json index 04a446e61fd2..43badf092110 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json @@ -5,15 +5,14 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0123456789abcdef0123456789abcdef01234567", - "data":"#####...", - "certificateFormat":"pfx", - "password":"certpassword" + "thumbprintAlgorithm": "sha1", + "thumbprint": "0123456789abcdef0123456789abcdef01234567", + "data": "#####...", + "certificateFormat": "pfx", + "password": "certpassword" } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json index 089598253e7b..5a26439110fc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json index f5d275df6ef7..34c2323fbdd7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json index 42b2d819f9c4..8bd190258b81 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json index f3c65e7f564b..2b8fa4d5953d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json index 679b638f4c58..5c4720cb8453 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json @@ -10,7 +10,6 @@ "recursive": false }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json index e43cc3ad300f..55f2d73ffa50 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json @@ -10,7 +10,6 @@ "recursive": false }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json index 8c46f99b45be..a955d283a9c4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json index 0741118a37cb..5148507c5793 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json @@ -18,4 +18,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json index 39dbfd3a387a..aa477636134d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json @@ -17,4 +17,4 @@ "Content-Type": "application/octet-stream" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json index 2da7983a2fb1..009c6529c237 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json @@ -17,4 +17,4 @@ "Content-Type": "application/octet-stream" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json index a41bec0d6913..3dc350f63a2a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json index 68b38f47f1fb..d9a541a363d1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json index c3b086515bc8..76a87f08a597 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json @@ -13,7 +13,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json index 962624eb9d4d..27c8a480da56 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json @@ -36,7 +36,7 @@ "retentionTime": "PT1H" }, "killJobOnCompletion": false, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -77,7 +77,7 @@ "value": "myvalue" } ], - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "admin" @@ -115,7 +115,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json index 1583a88ddc0e..efb88cc5bcce 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json index 1f1515b2c889..d2376477bfba 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json @@ -10,7 +10,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json index 1583a88ddc0e..efb88cc5bcce 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json index 2c188573b028..ac721666ba78 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json index 96235701ccaf..405a2ee392bf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimejobstats", + "url": "https://account.region.batch.core.windows.net/lifetimejobstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "userCPUTime": "PT0S", @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json index 98c649a54912..89a798fb0fef 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json index b7671a044ed8..4140ad069687 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json index 7e48d3ce8cea..853ce5b6796b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json index c02841e1fa5a..dc89f6b51890 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json index 8ebe63a7c96f..e7f50e034ed8 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json @@ -6,18 +6,17 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobPatchParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json index 98715c276bd8..54ea9a95fd66 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json @@ -7,7 +7,7 @@ "cloudJobSchedule": { "id": "jobScheduleId", "schedule": { - "recurrenceInterval":"PT5M" + "recurrenceInterval": "PT5M" }, "jobSpecification": { "poolInfo": { @@ -17,7 +17,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json index fd99a1cee261..d22f1b0dd441 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json @@ -123,7 +123,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json index e3a9e354ddf2..61b57238375c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json index 9f8f51e7681e..2dd14a6aac6f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json index 9f8f51e7681e..2dd14a6aac6f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json index ef4e41d969e5..f41f1c884c0d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json @@ -7,9 +7,7 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - }, - "404": { - } + "200": {}, + "404": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json index a6041c5477e2..382699ea5393 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json index 04debad37dcd..2d4874c0029f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json index 7f16b87652b3..9d21bbb7e022 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json @@ -23,7 +23,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json index e3a9e354ddf2..61b57238375c 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json index 85e1a38de0b9..4381edba20ed 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json @@ -23,7 +23,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json index 45123b47d1ab..9ce95c08e928 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json @@ -10,7 +10,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json index 432583a59050..92f88f370163 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json @@ -6,18 +6,17 @@ "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "jobUpdateParameter": { - "priority":100, + "priority": 100, "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":-1 + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": -1 }, "poolInfo": { - "poolId":"poolId" + "poolId": "poolId" } } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json index 9c04040f3c4f..2dbcb39a090b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json @@ -14,7 +14,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json index c4d7b63035ae..9c3c0d2bf201 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json @@ -9,7 +9,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json index 889c1389b477..4b965fcaa5e1 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json @@ -11,7 +11,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json index 3c4ad27187a1..7b9607e580a4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json index 95f1fd2b2129..3819b9de0358 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json @@ -12,4 +12,4 @@ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json index bcf483df5a36..ce99ea41c920 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json index a19071ba6caa..72b9ea4f00c2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json @@ -26,7 +26,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json index b3637167098d..b37e956fc4fe 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json @@ -27,7 +27,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -65,7 +65,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -103,7 +103,7 @@ "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -128,4 +128,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json index aeafbb45f083..08203231735b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json @@ -11,7 +11,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json index 6ea18ff22964..e8f4c68e3fe7 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json @@ -11,7 +11,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json index 7bf33e303842..50a27f9f2848 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json @@ -13,7 +13,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json index 1a80865e0cfa..b42b6b733935 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json @@ -14,9 +14,9 @@ "responses": { "200": { "body": { - "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", - "numberOfFilesUploaded": 8 + "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0", + "numberOfFilesUploaded": 8 } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json index 11227b2b9b66..acc39d97c943 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -10,19 +10,21 @@ "cloudServiceConfiguration": { "osFamily": "4" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -32,4 +34,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json index 8dab0f676701..904c395240b4 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json @@ -15,47 +15,49 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "mountConfiguration": [{ - "azureBlobFileSystemConfiguration": { - "accountName": "accountName", - "containerName": "blobContainerName", - "accountKey": "accountKey", - "relativeMountPath": "bfusepath" - } - }, - { - "azureFileShareConfiguration": { - "accountName": "accountName", - "azureFileUrl": "https://myaccount.file.core.windows.net/fileshare", - "accountKey": "accountKey", - "relativeMountPath": "filesharepath", - "mountOptions": "mount options ver=1.0" - } - }, - { - "nfsMountConfiguration": { - "source": "somesource nfs url", - "relativeMountPath": "mountpath", - "mountOptions": "mount options ver=1.0" - } - }, - { - "cifsMountConfiguration": { - "username": "accountName", - "password": "password", - "source": "//myaccount.file.core.windows.net/file", - "relativeMountPath": "mountpath", - "mountOptions": "mount options ver=1.0" + "mountConfiguration": [ + { + "azureBlobFileSystemConfiguration": { + "accountName": "accountName", + "containerName": "blobContainerName", + "accountKey": "accountKey", + "relativeMountPath": "bfusepath" + } + }, + { + "azureFileShareConfiguration": { + "accountName": "accountName", + "azureFileUrl": "https://myaccount.file.core.windows.net/fileshare", + "accountKey": "accountKey", + "relativeMountPath": "filesharepath", + "mountOptions": "mount options ver=1.0" + } + }, + { + "nfsMountConfiguration": { + "source": "somesource nfs url", + "relativeMountPath": "mountpath", + "mountOptions": "mount options ver=1.0" + } + }, + { + "cifsMountConfiguration": { + "username": "accountName", + "password": "password", + "source": "//myaccount.file.core.windows.net/file", + "relativeMountPath": "mountpath", + "mountOptions": "mount options ver=1.0" + } } - }], - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + ], + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json index 84a185873a80..870ea6d10f7e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -15,19 +15,21 @@ }, "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false, - "enableInterNodeCommunication":true, - "metadata": [ { - "name":"myproperty", - "value":"myvalue" - } ] + "enableAutoScale": false, + "enableInterNodeCommunication": true, + "metadata": [ + { + "name": "myproperty", + "value": "myvalue" + } + ] } }, "responses": { @@ -37,4 +39,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json index 2dd4057f6460..471ffe2ebb55 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json @@ -21,14 +21,14 @@ ] } }, - "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, - "maxTasksPerNode":3, + "resizeTimeout": "PT15M", + "targetDedicatedNodes": 5, + "targetLowPriorityNodes": 0, + "maxTasksPerNode": 3, "taskSchedulingPolicy": { - "nodeFillType":"spread" + "nodeFillType": "spread" }, - "enableAutoScale":false + "enableAutoScale": false } }, "responses": { @@ -38,4 +38,4 @@ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT" } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json index 9bf601104184..6d55c3c47372 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json index d5acfb2d3d45..ffb6ba2b31b0 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json index f2c42876b4ca..f04251501d79 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json @@ -11,7 +11,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json index 03216e1268a4..58e71301c449 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json index a1f476de9bbe..c10ff8f72b2b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json @@ -7,9 +7,7 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - }, - "404": { - } + "200": {}, + "404": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json index fd140719417b..5340f9d18894 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "url":"https://account.region.batch.core.windows.net/lifetimepoolstats", + "url": "https://account.region.batch.core.windows.net/lifetimepoolstats", "startTime": "2014-08-01T18:30:00.4345729Z", "lastUpdateTime": "2014-08-04T18:30:00.4345729Z", "usageStats": { @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json index 5e5caae4f8ef..3b5732a75c7f 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json @@ -28,7 +28,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "/bin/bash -c 'echo start task'", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json index 768054a0a457..8388fbf9d710 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json index 7a586e115435..4b273d031029 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json @@ -29,7 +29,7 @@ "enableInterNodeCommunication": false, "startTask": { "commandLine": "cmd /c echo hello", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json index 460612e9e32c..7bb1453fc5a2 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json @@ -12,7 +12,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json index b840580555d3..e785e9d5b8cc 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json @@ -13,7 +13,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json index b63b319553b8..453ad670f7ac 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json @@ -11,7 +11,6 @@ } }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json index 9bf601104184..6d55c3c47372 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json @@ -7,7 +7,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json index cb368bb843c0..6f2f5bde4e86 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json @@ -15,7 +15,6 @@ } }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json index b34b12c6bdd3..441c32588adb 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json index f13e5c68e2ae..cbf4547d1dc3 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json index eaf25f0c1c36..58baf28af916 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json @@ -11,7 +11,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json index 00d7901295fa..fe9ef95233bf 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json @@ -12,7 +12,7 @@ "imageName": "ubuntu", "containerRunOptions": "--rm" }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -21,7 +21,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json index 658a34bd72be..60e606c7c17b 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json @@ -19,7 +19,7 @@ } ] }, - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -28,7 +28,6 @@ } }, "responses": { - "201": { - } + "201": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json index ae5f7b3af80e..815e09c4b7aa 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json index 8e3bd19d101d..c78aba329a8d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json @@ -18,7 +18,7 @@ "state": "active", "stateTransitionTime": "2016-09-06T06:59:15.1161429Z", "commandLine": "cmd /c hostname", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json index 03717e0a7d29..0a6857c07b1e 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json @@ -19,7 +19,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.4733476Z", "commandLine": "cmd /c echo task1", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -44,7 +44,7 @@ "state": "active", "stateTransitionTime": "2016-11-21T22:43:31.6736345Z", "commandLine": "cmd /c echo task2", - "userIdentity":{ + "userIdentity": { "autoUser": { "scope": "task", "elevationLevel": "nonadmin" @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json index 1eeb5cf2d06c..59c8c9c1c84a 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json @@ -47,4 +47,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json index f2bf57b1852c..037b719d7619 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json index f2bf57b1852c..037b719d7619 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json @@ -8,7 +8,6 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" }, "responses": { - "204": { - } + "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json index 88286a9c488a..fd020a4359ec 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json @@ -8,14 +8,13 @@ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", "taskUpdateParameter": { "constraints": { - "maxWallClockTime":"PT1H", - "maxTaskRetryCount":3, - "retentionTime":"PT1H" + "maxWallClockTime": "PT1H", + "maxTaskRetryCount": 3, + "retentionTime": "PT1H" } } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json index 483cad35ef18..b3eac8fc67aa 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json @@ -4232,7 +4232,11 @@ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." } }, - "required": [ "accountName", "containerName", "relativeMountPath" ], + "required": [ + "accountName", + "containerName", + "relativeMountPath" + ], "title": "Blobfuse file system details." }, "NFSMountConfiguration": { @@ -4251,7 +4255,10 @@ "title": "Specifies various mount options that can be used." } }, - "required": [ "source", "relativeMountPath" ], + "required": [ + "source", + "relativeMountPath" + ], "title": "NFS file system detail." }, "CIFSMountConfiguration": { @@ -4278,7 +4285,12 @@ "title": "The password to authenticate with." } }, - "required": [ "username", "source", "password", "relativeMountPath" ], + "required": [ + "username", + "source", + "password", + "relativeMountPath" + ], "title": "CIFS file system details." }, "AzureFileShareConfiguration": { @@ -4305,7 +4317,12 @@ "title": "Specifies various mount options that can be used." } }, - "required": [ "accountName", "azureFileUrl", "accountKey", "relativeMountPath" ], + "required": [ + "accountName", + "azureFileUrl", + "accountKey", + "relativeMountPath" + ], "title": "Azure Files details." } }, diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationCreate.json index ff96d612b061..f818db94671a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationCreate.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationDelete.json index 889c90db3137..1c4091b3a353 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationDelete.json @@ -10,4 +10,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationGet.json index 7b9cb6cf4fc8..6189be70bcf1 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationList.json index c616fb564670..c4af59aa73d2 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationList.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageActivate.json index 8f94e92ef0b2..0e706d037356 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageActivate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageActivate.json @@ -23,9 +23,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageCreate.json index d7bb5f834cfa..6c3e9a1890b0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageCreate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageCreate.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageDelete.json index 1d0d5e6591e2..ab6fe6fe84c0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageDelete.json @@ -11,4 +11,4 @@ "200": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageGet.json index 4c15b1fede3e..842a748dafa6 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageGet.json @@ -20,9 +20,9 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageList.json index 718d8f7bac0a..042be0a43376 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationPackageList.json @@ -27,11 +27,11 @@ "properties": { "state": "Active", "format": "zip", - "lastActivationTime":"2017-06-27T18:48:09.9330991Z" + "lastActivationTime": "2017-06-27T18:48:09.9330991Z" } } ] } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationUpdate.json index 8f2e7dfb1364..9eb5972745a5 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/ApplicationUpdate.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_BYOS.json index 387c86dbd275..850e36f96bbc 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_BYOS.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_BYOS.json @@ -46,4 +46,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_Default.json index 52d450323e07..8041fe61b785 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_Default.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountCreate_Default.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountDelete.json index 42f98025d2a9..73410730dd41 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGet.json index a81db8e618d0..3f745b23dcb4 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGet.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGetKeys.json index 8b1af2d05302..a0ec891afe4f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGetKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountGetKeys.json @@ -14,4 +14,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountList.json index 129205ee56ed..03280a569129 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountList.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountListByResourceGroup.json index 83d16b939243..b5d5c15d1ccc 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountListByResourceGroup.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountListByResourceGroup.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountRegenerateKey.json index b4c328a1d08a..5c466d49ac94 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountRegenerateKey.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountRegenerateKey.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountSynchronizeAutoStorageKeys.json index eed169024b3a..57932f20b79c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountSynchronizeAutoStorageKeys.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountSynchronizeAutoStorageKeys.json @@ -8,4 +8,4 @@ "responses": { "204": {} } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountUpdate.json index bf4ed540566f..50745aee2488 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/BatchAccountUpdate.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCancelDeletion.json index e2f67968f1df..f4a043880e99 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCancelDeletion.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCancelDeletion.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", + "type": "Microsoft.Batch/batchAccounts/certificates", "etag": "W/\"0x8D4EDD513C3EDBB\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Failed", "previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Full.json index 0cb542baee32..82aed5204af6 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Full.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Full.json @@ -7,10 +7,10 @@ "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "parameters": { "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e...", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e...", "format": "Pfx" } } @@ -23,15 +23,15 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Minimal.json index 2ede22da3a92..7d5d63031f16 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Minimal.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_Minimal.json @@ -7,8 +7,8 @@ "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,15 +20,15 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_MinimalCer.json index 1083342d88b4..5b3973eb0f8f 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_MinimalCer.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateCreate_MinimalCer.json @@ -7,7 +7,7 @@ "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "parameters": { "properties": { - "data":"MIICrjCCAZagAwI...", + "data": "MIICrjCCAZagAwI...", "format": "Cer" } } @@ -20,15 +20,15 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Cer", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateDelete.json index 5ea828e2f027..228d93a025b7 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateDelete.json @@ -7,13 +7,13 @@ "api-version": "2019-08-01" }, "responses": { - "200": { }, + "200": {}, "202": { "headers": { "Retry-After": "15", "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e-8D4EDFF164A11C9?api-version=2019-08-01" } }, - "204": { } + "204": {} } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGet.json index 6d0ed224ba4a..96d2d48db960 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGet.json @@ -14,15 +14,15 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGetWithDeletionError.json index acf132bc4451..536c1cbe3252 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGetWithDeletionError.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateGetWithDeletionError.json @@ -14,17 +14,17 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Failed", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "previousProvisioningState": "Deleting", - "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z", + "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI...", + "publicData": "MIICrjCCAZagAwI...", "deleteCertificateError": { "code": "NodesReferencingCertificate", "message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z", diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateList.json index 8974ff619262..2bad34f3dc00 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateList.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateList.json @@ -13,15 +13,15 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } ], diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateListWithFilter.json index 202fcb03ff56..74964eb46f07 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateListWithFilter.json @@ -14,8 +14,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { "provisioningState": "Failed", "format": "Pfx" @@ -24,8 +24,8 @@ { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-aeb228ffb0bf67a793d61dce263ebd16949f15a1", "name": "sha1-aeb228ffb0bf67a793d61dce263ebd16949f15a1", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118572E0\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118572E0\"", "properties": { "provisioningState": "Failed", "format": "Cer" diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateUpdate.json index 2ede22da3a92..7d5d63031f16 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateUpdate.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/CertificateUpdate.json @@ -7,8 +7,8 @@ "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "parameters": { "properties": { - "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password":"KG0UY40e..." + "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", + "password": "KG0UY40e..." } } }, @@ -20,15 +20,15 @@ "body": { "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type":"Microsoft.Batch/batchAccounts/certificates", - "etag":"W/\"0x8D4EDD5118668F7\"", + "type": "Microsoft.Batch/batchAccounts/certificates", + "etag": "W/\"0x8D4EDD5118668F7\"", "properties": { - "thumbprintAlgorithm":"sha1", - "thumbprint":"0a0e4f50d51beadeac1d35afc5116098e7902e6e", + "thumbprintAlgorithm": "sha1", + "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", "provisioningState": "Succeeded", - "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z", + "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", "format": "Pfx", - "publicData":"MIICrjCCAZagAwI..." + "publicData": "MIICrjCCAZagAwI..." } } } diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_AlreadyExists.json index 6da1491d33a2..7925dfc3567a 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_Available.json index 43c3bcb1e393..aeca42286978 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_Available.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationCheckNameAvailability_Available.json @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationGetQuotas.json index 7a0b5e4ebe84..42dd347fa93c 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationGetQuotas.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/LocationGetQuotas.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_CustomImage.json index 2833e60014c4..048540f43675 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_CustomImage.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_CustomImage.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json index 93442476c16c..3877e92e55c4 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json index b8b9d85a7f33..257af850c9f9 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json @@ -74,4 +74,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_VirtualMachineConfiguration.json index df84dcdd9c19..fb34dde43189 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_VirtualMachineConfiguration.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolCreate_VirtualMachineConfiguration.json @@ -174,4 +174,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDelete.json index 95a31aed7430..21228c7a2275 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDelete.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDelete.json @@ -7,8 +7,8 @@ "api-version": "2019-08-01" }, "responses": { - "200": { }, - "204": { }, + "200": {}, + "204": {}, "202": { "headers": { "Retry-After": "15", @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDisableAutoScale.json index ad2f1f0b7770..f09f6300dcab 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDisableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolDisableAutoScale.json @@ -53,4 +53,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolGet.json index 6ef5573e9f68..bac3558b9a48 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolGet.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolGet.json @@ -57,7 +57,7 @@ "access": "Allow", "sourceAddressPrefix": "192.100.12.45", "priority": 150, - "sourcePortRanges" : [ + "sourcePortRanges": [ "123", "22" ] diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolListWithFilter.json index 6e8b7e4ba745..c58243f575e6 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolListWithFilter.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolListWithFilter.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolStopResize.json index bbd0eb27ea1e..af633c106ce0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolStopResize.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolStopResize.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_EnableAutoScale.json index d6a72b1278b5..4597976ab0b0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_EnableAutoScale.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_EnableAutoScale.json @@ -66,4 +66,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_RemoveStartTask.json index 2f6e40bf40a6..827c46ab5e62 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_RemoveStartTask.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_RemoveStartTask.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_ResizePool.json index 4a653d03ff6d..dee8427d92c0 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_ResizePool.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/examples/PoolUpdate_ResizePool.json @@ -71,4 +71,4 @@ } } } -} \ No newline at end of file +} From 35de9f387efdeb4f26128563a9bc84888b01d4b3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 01:34:50 -0400 Subject: [PATCH 415/495] fix: Microsoft.Sql model validation errors (#6704) * fix: Microsoft.Sql/stable/2014-04-01 model validation - RESPONSE_SCHEMA_NOT_IN_SPEC - RESPONSE_BODY_NOT_IN_EXAMPLE - Remove "description" not it schema Other issues not resolved * fix: sql preview model validation errors - Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors - IsAzureMonitorTargetEnabled -> isAzureMonitorTargetEnabled - "State" -> "state" - emailAccountAdmins "true" -> true - Add 202 response for RestorePoints_Create - password -> certPassword for ManagedInstanceTdeCertificates_Create and TdeCertificates_Create --- .../2015-05-01-preview/blobAuditing.json | 2 +- ...DatabaseAzureMonitorAuditingCreateMin.json | 2 +- .../examples/FailoverGroupDelete.json | 12 +- .../examples/FirewallRuleDelete.json | 8 +- .../examples/ManagedInstanceDelete.json | 8 +- .../examples/ServerDelete.json | 8 +- .../examples/ServerKeyDelete.json | 8 +- .../examples/SyncAgentCreate.json | 4 +- .../examples/SyncAgentCreateOrUpdate.json | 4 +- .../examples/SyncAgentDelete.json | 12 +- .../examples/SyncAgentUpdate.json | 4 +- .../examples/SyncGroupCreate.json | 4 +- .../examples/SyncGroupCreateOrUpdate.json | 4 +- .../examples/SyncGroupDelete.json | 12 +- .../examples/SyncGroupPatch.json | 4 +- .../examples/SyncGroupUpdate.json | 4 +- .../examples/SyncMemberDelete.json | 12 +- .../examples/VirtualClusterDelete.json | 8 +- .../examples/VirtualNetworkRulesDelete.json | 12 +- .../2017-03-01-preview/blobAuditing.json | 8 +- .../examples/CancelDatabaseOperation.json | 4 +- ...DatabaseAzureMonitorAuditingCreateMin.json | 2 +- .../examples/DatabaseRestorePointsPost.json | 3 +- .../examples/ManagedDatabaseDelete.json | 8 +- ...ManagedDatabaseSecurityAlertCreateMax.json | 6 +- ...ManagedDatabaseSecurityAlertCreateMin.json | 4 +- ...edDatabaseSecurityAlertListByDatabase.json | 2 +- .../ManagedInstanceAdministratorDelete.json | 4 +- .../examples/ServerDnsAliasDelete.json | 12 +- .../examples/CancelDatabaseOperation.json | 4 +- .../examples/CancelElasticPoolOperation.json | 4 +- .../examples/ElasticPoolDelete.json | 8 +- .../examples/InstanceFailoverGroupDelete.json | 12 +- .../examples/ManagedInstanceKeyDelete.json | 8 +- .../ManagedInstanceTdeCertificate.json | 2 +- .../examples/SqlTdeCertificateCreate.json | 2 +- .../DatabaseSecurityAlertCreateMax.json | 6 +- .../DatabaseSecurityAlertCreateMin.json | 4 +- .../examples/DatabaseSecurityAlertGet.json | 2 +- .../DatabaseSecurityAlertListByDatabase.json | 2 +- .../examples/ManagedInstanceDelete.json | 8 +- .../2014-04-01/examples/DatabaseDelete.json | 8 +- .../examples/DatabaseExportSasKey.json | 28 +- .../examples/DatabaseExportStorageKey.json | 28 +- .../DisasterRecoveryConfigurationDelete.json | 12 +- .../examples/ElasticPoolDelete.json | 8 +- .../examples/FirewallRuleDelete.json | 8 +- .../2014-04-01/examples/OperationList.json | 2402 ++++++++--------- .../2014-04-01/examples/QueriesList.json | 112 +- .../examples/QueryStatisticsList.json | 88 +- .../2014-04-01/examples/QueryTextsList.json | 16 +- .../examples/ReplicationLinkDelete.json | 8 +- .../2014-04-01/examples/ServerDelete.json | 8 +- .../examples/ServiceObjectiveGet.json | 22 +- .../examples/ServiceObjectiveList.json | 1254 ++++----- .../examples/ServiceTierAdvisorList.json | 68 +- 56 files changed, 2050 insertions(+), 2267 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json index 914d197ebf0c..586dfe1e8c91 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json @@ -180,7 +180,7 @@ "type": "boolean" }, "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", "type": "boolean" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json index ae0dcecf831f..d1ba099b38ae 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -9,7 +9,7 @@ "parameters": { "properties": { "state": "Enabled", - "IsAzureMonitorTargetEnabled": true + "isAzureMonitorTargetEnabled": true } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json index 10e7c6312935..f0766ac09618 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json @@ -7,14 +7,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json index 51ab66f29b0e..1f48aeff8313 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json @@ -7,11 +7,7 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json index 88db0c8b5a4f..dd17496189b9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json @@ -6,12 +6,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json index 2dd4eb5578fc..77f5eab5630c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json @@ -6,12 +6,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json index 5762754693a7..9b8ffa9c6512 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json @@ -7,12 +7,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json index 495bace0df8d..258fea407453 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json @@ -40,8 +40,6 @@ "type": "Microsoft.Sql/servers/syncAgents" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json index 495bace0df8d..258fea407453 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json @@ -40,8 +40,6 @@ "type": "Microsoft.Sql/servers/syncAgents" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json index 9e69538042b9..cc369cf55663 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json @@ -7,14 +7,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json index 495bace0df8d..258fea407453 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json @@ -40,8 +40,6 @@ "type": "Microsoft.Sql/servers/syncAgents" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json index effe921ae286..3a2ade2458c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json @@ -47,8 +47,6 @@ "type": "Microsoft.Sql/servers/databases/syncGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json index effe921ae286..3a2ade2458c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json @@ -47,8 +47,6 @@ "type": "Microsoft.Sql/servers/databases/syncGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json index 238ffe162c60..a323637a03e3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json @@ -8,14 +8,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json index df336358a198..09ec3eb000a8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json @@ -33,8 +33,6 @@ "type": "Microsoft.Sql/servers/databases/syncGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json index effe921ae286..3a2ade2458c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json @@ -47,8 +47,6 @@ "type": "Microsoft.Sql/servers/databases/syncGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json index e4202edea494..e43d2d3780a1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json @@ -9,14 +9,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json index a74d86bebcd1..50c3850fccb0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json @@ -6,12 +6,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json index 2d286d52e7c8..382e8a67a2fb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2015-05-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json index 2dccfe7db6d6..60968e74ba8e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json @@ -489,7 +489,7 @@ "type": "boolean" }, "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", "type": "boolean" } } @@ -567,7 +567,7 @@ "type": "boolean" }, "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", "type": "boolean" } } @@ -641,7 +641,7 @@ "type": "boolean" }, "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", "type": "boolean" } } @@ -715,7 +715,7 @@ "type": "boolean" }, "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", "type": "boolean" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json index 0ed12e4708b8..03fbd62759f4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json @@ -8,8 +8,6 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json index ae0dcecf831f..d1ba099b38ae 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -9,7 +9,7 @@ "parameters": { "properties": { "state": "Enabled", - "IsAzureMonitorTargetEnabled": true + "isAzureMonitorTargetEnabled": true } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json index 76b88edfcafa..5f1fbd7baf6a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json @@ -23,6 +23,7 @@ "restorePointLabel": "mylabel" } } - } + }, + "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json index 03792a5bc52b..cab3ff43e7ab 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json @@ -7,12 +7,8 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json index fa32fce558f9..b15050d63f9f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json @@ -9,7 +9,7 @@ "databaseSecurityAlertPolicyResource": { "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" @@ -33,7 +33,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" @@ -56,7 +56,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json index ac22edd70215..3ab86124c2af 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json @@ -21,7 +21,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, @@ -38,7 +38,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json index bd8d7b310efe..4d5445cc5644 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json @@ -18,7 +18,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json index c558dc3d001e..7a9e5e9fd82e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json index 7cc5e64fb2d5..b1f67e0ed018 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json index 0ed12e4708b8..03fbd62759f4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json @@ -8,8 +8,6 @@ "api-version": "2017-03-01-preview" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json index 02c93e53a1de..ca8c0a6b082a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json @@ -8,8 +8,6 @@ "api-version": "2017-10-01-preview" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json index 43158545cdee..8fdb5334f303 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json @@ -7,12 +7,8 @@ "api-version": "2017-10-01" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json index 718773a895de..512f0a1eba69 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json @@ -7,14 +7,8 @@ "api-version": "2017-10-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json index a748fd8b799d..6ae6305cc2c2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json @@ -7,12 +7,8 @@ "api-version": "2017-10-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json index daa4452eb004..06d9053ecf70 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json @@ -7,7 +7,7 @@ "parameters": { "properties": { "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", - "password": "password" + "certPassword": "password" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json index 112fe6492946..55de400a9d03 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json @@ -8,7 +8,7 @@ "parameters": { "properties": { "privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==", - "password": "password" + "certPassword": "password" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json index c736b806d367..b2666f07d8fc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json @@ -9,7 +9,7 @@ "databaseSecurityAlertPolicyResource": { "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" @@ -33,7 +33,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" @@ -56,7 +56,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json index 9df02f18e3fd..170a7211db7e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json @@ -21,7 +21,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, @@ -38,7 +38,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json index b0708e14a15f..70fc349c92be 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json @@ -17,7 +17,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json index 38c7002c4d6b..54dede5baf88 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json @@ -18,7 +18,7 @@ "kind": "V12", "properties": { "state": "Enabled", - "emailAccountAdmins": "true", + "emailAccountAdmins": true, "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json index ce98e14cb0ae..22b523a645a9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json @@ -6,12 +6,8 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "202": {}, - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json index 7303a40a620e..eedcaf7c5b83 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json @@ -7,11 +7,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json index cced7d291c92..4a26b28cc220 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json @@ -16,19 +16,21 @@ }, "responses": { "200": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "type": "Microsoft.Sql/servers/importExportOperationResults", - "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Export", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "type": "Microsoft.Sql/servers/importExportOperationResults", + "properties": { + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Export", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null + } } }, "202": {} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json index 8de83c9443e1..aaa34c38a424 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json @@ -16,19 +16,21 @@ }, "responses": { "200": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "type": "Microsoft.Sql/servers/importExportOperationResults", - "properties": { - "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", - "requestType": "Export", - "queuedTime": "3/1/2017 12:14:25 AM", - "lastModifiedTime": "3/1/2017 12:16:33 AM", - "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", - "serverName": "test", - "databaseName": "testdb", - "status": "Completed", - "errorMessage": null + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "type": "Microsoft.Sql/servers/importExportOperationResults", + "properties": { + "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c", + "requestType": "Export", + "queuedTime": "3/1/2017 12:14:25 AM", + "lastModifiedTime": "3/1/2017 12:16:33 AM", + "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac", + "serverName": "test", + "databaseName": "testdb", + "status": "Completed", + "errorMessage": null + } } }, "202": {} diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json index 654e3b83e5df..2b2d0bb4ff68 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json @@ -7,14 +7,8 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json index 38d6232f13c0..da766024bcb7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json @@ -7,11 +7,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json index 9e9dfec3ea10..2399ec6304bb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json @@ -7,11 +7,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json index 339eb067af4a..5b54c709b1f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json @@ -4,1265 +4,1157 @@ }, "responses": { "200": { - "value": [ - { - "name": "Microsoft.Sql/servers/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Get server details", - "description": "Return a list of servers in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Create new or update existing server", - "description": "Create a new server or modify properties of existing server in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Delete existing server", - "description": "Delete a server and all contained databases and elastic pools" - } - }, - { - "name": "Microsoft.Sql/servers/import/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Create new database from DacPac", - "description": "Create a new database on the server and deploy schema and data from a DacPac package" - } - }, - { - "name": "Microsoft.Sql/servers/upgrade/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server", - "operation": "Upgrade server version", - "description": "Enable new functionality available on the latest version of server and specify databases edition conversion map" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Get server firewall rules", - "description": "Retrieve server firewall rule details" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Create new or update existing server firewall rule", - "description": "Create or update server firewall rule that controls IP address range allowed to connect to the server" - } - }, - { - "name": "Microsoft.Sql/servers/firewallRules/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Firewall Rule", - "operation": "Delete server firewall rule", - "description": "Delete firewall rule from the server" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Get server administrator", - "description": "Retrieve server administrator details" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Create new or update existing server administrator", - "description": "Create or update server administrator" - } - }, - { - "name": "Microsoft.Sql/servers/administrators/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator", - "operation": "Delete server administrator", - "description": "Delete server administrator from the server" - } - }, - { - "name": "Microsoft.Sql/servers/administratorOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The server administrator operation results", - "operation": "Get server administrator operation results", - "description": "Retrieve server administrator operation results" - } - }, - { - "name": "Microsoft.Sql/servers/serviceObjectives/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Service Level Objective", - "operation": "Get service level objectives", - "description": "Retrieve list of service level objectives (also known as performance tiers) available on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Restorable Dropped Database", - "operation": "Get list of restorable dropped databases", - "description": "Retrieve a list of databases that were dropped on a given server that are still within retention policy. This operation returns a list of databases and associated metadata, like date of deletion." - } - }, - { - "name": "Microsoft.Sql/servers/recoverableDatabases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recoverable Database", - "operation": "Get the last known database recovery point", - "description": "This operation is used for disaster recovery of live database to restore database to last-known good backup point. It returns information about the last good backup but it doesn't actually restore the database." - } - }, - { - "name": "Microsoft.Sql/servers/importExportOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Database Import Operation Result", - "operation": "Get details about database import operation on the server", - "description": "Return the list with details for database import operations from storage account on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Upgrade Operation Result", - "operation": "Get status of server upgrade operation", - "description": "Operation is used to track progress of server upgrade from lower version to higher" - } - }, - { - "name": "Microsoft.Sql/servers/operationResults/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Upgrade Operation Result", - "operation": "Cancel server upgrade", - "description": "Abort server version upgrade in progress" - } - }, - { - "name": "Microsoft.Sql/servers/usages/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Usage", - "operation": "Get server usage details", - "description": "Return server DTU quota and current DTU consumption by all databases within the server" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Database Pool", - "operation": "Get recommended elastic database pools", - "description": "Retrieve recommendation for elastic database pools to reduce cost or improve performance based on historical resource utilization" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Pool Databases", - "operation": "Get recommended elastic pools databases", - "description": "Retrieve databases that should be added into recommended elastic database pools for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Elastic Database Pool Metrics", - "operation": "Get recommended elastic database pools metrics", - "description": "Retrieve metrics for recommended elastic database pools for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Disaster Recovery Configuration Operation Results", - "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration", - "description": "Get Disaster Recovery Configuration Operation Results" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server advisor", - "operation": "Get advisors for a server", - "description": "Returns list of advisors available for the server" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server advisor", - "operation": "Update auto-execute status of a server advisor", - "description": "Updates auto-execute status of an advisor on server level." - } - }, - { - "name": "Microsoft.Sql/servers/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Returns list of recommended actions of specified advisor for the server", - "operation": "Get recommended actions of a server", - "description": "Returns list of recommended actions of specified advisor for the server" - } - }, - { - "name": "Microsoft.Sql/servers/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Returns list of recommended actions of specified advisor for the server", - "operation": "Update server recommended action state.", - "description": "Apply the recommended action on the server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPoolEstimates/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool estimate", - "operation": "Get elastic pool estimates of a server", - "description": "Returns list of elastic pool estimates already created for this server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPoolEstimates/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool estimate", - "operation": "Create an elastic pool estimate.", - "description": "Creates new elastic pool estimate for list of databases provided" - } - }, - { - "name": "Microsoft.Sql/servers/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Get server details", - "description": "Return a list of servers in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/databases/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Create new or update existing server", - "description": "Create a new server or modify properties of existing server in a resource group on a subscription" - } - }, - { - "name": "Microsoft.Sql/servers/databases/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Delete existing server", - "description": "Delete a server and all contained databases and elastic pools" - } - }, - { - "name": "Microsoft.Sql/servers/databases/export/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Create new database from DacPac", - "description": "Create a new database on the server and deploy schema and data from a DacPac package" - } - }, - { - "name": "Microsoft.Sql/servers/databases/usages/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Usage", - "operation": "Get database usage details", - "description": "Return database maximum size that can be reached and current size occupied by data" - } - }, - { - "name": "Microsoft.Sql/servers/databases/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Operation Result", - "operation": "Get status of database operation", - "description": "Operation is used to track progress of long running database operation, such as scale." - } - }, - { - "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Import/Export Operation Result", - "operation": "Get details about database import or export operation on the server", - "description": "Return details about database import or export operation from DacPac located in storage account" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Get database replication links", - "description": "Return details about replication links established for a particular database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Force-terminate the replication relationship", - "description": "Terminate the replication relationship forcefully and with potential data loss" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Terminate the replication relationship", - "description": "Terminate the replication relationship forcefully or after synchronizing with the partner" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Failover replication relationship after synchronizing", - "description": "Failover after synchronizing all changes from the primary, making this database into the replication relationship's primary and making the remote primary into a secondary" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Failover replication relationship immediately", - "description": "Failover immediately with potential data loss, making this database into the replication relationship's primary and making the remote primary into a secondary" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Replication Link", - "operation": "Update replication mode for link", - "description": "Update replication mode for link to synchronous or asynchronous mode" - } - }, - { - "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Replication Link Operation Result", - "operation": "Get status of replication link operations", - "description": "Get status of long-running operations on database replication links" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Metric Definition", - "operation": "Get database metric definitions", - "description": "Return types of metrics that are available for databases" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "cpu_percent", - "displayName": "CPU percentage", - "displayDescription": "CPU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "physical_data_read_percent", - "displayName": "Data IO percentage", - "displayDescription": "Data IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "log_write_percent", - "displayName": "Log IO percentage", - "displayDescription": "Log IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dtu_consumption_percent", - "displayName": "DTU percentage", - "displayDescription": "DTU percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "storage", - "displayName": "Total database size", - "displayDescription": "Total database size", - "unit": "Bytes", - "aggregationType": "Maximum" - }, - { - "name": "connection_successful", - "displayName": "Successful Connections", - "displayDescription": "Successful Connections", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "connection_failed", - "displayName": "Failed Connections", - "displayDescription": "Failed Connections", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "blocked_by_firewall", - "displayName": "Blocked by Firewall", - "displayDescription": "Blocked by Firewall", - "unit": "Count", - "aggregationType": "Total", - "fillGapWithZero": true - }, - { - "name": "deadlock", - "displayName": "Deadlocks", - "displayDescription": "Deadlocks", - "unit": "Count", - "aggregationType": "Total", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "storage_percent", - "displayName": "Database size percentage", - "displayDescription": "Database size percentage", - "unit": "Percent", - "aggregationType": "Maximum", - "metricFilterPattern": "^((?!datawarehouse).)*$" - }, - { - "name": "xtp_storage_percent", - "displayName": "In-Memory OLTP storage percent", - "displayDescription": "In-Memory OLTP storage percent", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "workers_percent", - "displayName": "Workers percentage", - "displayDescription": "Workers percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "sessions_percent", - "displayName": "Sessions percentage", - "displayDescription": "Sessions percentage", - "unit": "Percent", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dtu_limit", - "displayName": "DTU Limit", - "displayDescription": "DTU Limit", - "unit": "Count", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$" - }, - { - "name": "dtu_used", - "displayName": "DTU used", - "displayDescription": "DTU used", - "unit": "Count", - "aggregationType": "Average", - "metricFilterPattern": "^((?!datawarehouse).)*$", - "fillGapWithZero": true - }, - { - "name": "dwu_limit", - "displayName": "DWU limit", - "displayDescription": "DWU limit", - "unit": "Count", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$" - }, - { - "name": "dwu_consumption_percent", - "displayName": "DWU percentage", - "displayDescription": "DWU percentage", - "unit": "Percent", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$", - "fillGapWithZero": true - }, - { - "name": "dwu_used", - "displayName": "DWU used", - "displayDescription": "DWU used", - "unit": "Count", - "aggregationType": "Maximum", - "metricFilterPattern": ".*datawarehouse.*$", - "fillGapWithZero": true - } - ] + "body": { + "value": [ + { + "name": "Microsoft.Sql/servers/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Get server details" } - } - }, - { - "name": "Microsoft.Sql/servers/databases/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Metric", - "operation": "Get database resource consumption metrics", - "description": "Return database resource utilization metrics" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Diagnostic Settings", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Diagnostic Settings", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "The log definition of databases", - "operation": "Read databases log definitions", - "description": "Gets the available logs for databases" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "QueryStore", - "displayName": "Query Store", - "blobDuration": "PT1H" - } - ] + }, + { + "name": "Microsoft.Sql/servers/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Create new or update existing server" } - } - }, - { - "name": "Microsoft.Sql/servers/databases/missingindexes/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Index Advisor", - "operation": "Get recommended database indexes", - "description": "Return suggestions about database indexes to create, modify or delete in order to improve query performance" - } - }, - { - "name": "Microsoft.Sql/servers/databases/missingindexes/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Index Advisor", - "operation": "Apply recommended database index", - "description": "Use database index recommendation in a particular database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Index", - "operation": "Get list of index recommendations", - "description": "Retrieve list of index recommendations on a database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Recommended Index", - "operation": "Update Recommended Index State", - "description": "Apply index recommendation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database table column", - "operation": "Get columns", - "description": "Retrieve list of columns of a table" - } - }, - { - "name": "Microsoft.Sql/servers/databases/queryStore/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Query Store settings", - "operation": "Get Query Store settings", - "description": "Returns current values of Query Store settings for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/queryStore/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Query Store settings", - "operation": "Update Query Store settings", - "description": "Updates Query Store setting for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries", - "operation": "Get Top Queries for the database", - "description": "Returns aggregated runtime statistics for selected query in selected time period" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries Statistics", - "operation": "Get Database Top Queries statistics", - "description": "Returns aggregated runtime statistics for selected query in selected time period" - } - }, - { - "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Top Queries query text", - "operation": "Get Database Top Queries query text", - "description": "Returns the Transact-SQL text for selected query ID" - } - }, - { - "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Service Tier Advisor", - "operation": "Get recommended database performance level", - "description": "Return suggestion about scaling database up or down based on query execution statistics to improve performance or reduce cost" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Get database transparent data encryption details", - "description": "Retrieve status and details of transparent data encryption security feature for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Change transparent data encryption state", - "description": "Enable or disable transparent data encryption for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Transparent Data Encryption", - "operation": "Get database transparent data encryption details", - "description": "Retrieve status and details of transparent data encryption security feature for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Table Auditing Policy", - "operation": "Get database table auditing policy", - "description": "Retrieve details of the table auditing policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Table Auditing Policy", - "operation": "Set database table auditing policy", - "description": "Change the table auditing policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/auditingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Default Server Table Auditing Policy", - "operation": "Get default server table auditing policy", - "description": "Retrieve details of the default server table auditing policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Default Server Table Auditing Policy", - "operation": "Set default server table auditing policy", - "description": "Change the default server table auditing for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Auditing Policy", - "operation": "Get database blob auditing policy", - "description": "Retrieve details of the blob auditing policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditingSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Auditing Policy", - "operation": "Set database blob auditing policy", - "description": "Change the blob auditing policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Policy", - "operation": "Get server blob auditing policy", - "description": "Retrieve details of the server blob auditing policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Policy", - "operation": "Set server blob auditing policy", - "description": "Change the server blob auditing for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Blob Auditing Operation Results", - "operation": "Get server blob auditing operation results", - "description": "Retrieve result of the server blob auditing policy Set operation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/auditRecords/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Blob Audit Records", - "operation": "Get database blob audit records", - "description": "Retrieve the database blob audit records" - } - }, - { - "name": "Microsoft.Sql/servers/databases/connectionPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Connection Policy", - "operation": "Get database connection policy", - "description": "Retrieve details of the connection policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/connectionPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Connection Policy", - "operation": "Set database connection policy", - "description": "Change connection policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy", - "operation": "Get database data masking policy", - "description": "Retrieve details of the data masking policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy", - "operation": "Set database data masking policy", - "description": "Change data masking policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy Rule", - "operation": "Get database data masking policy rule", - "description": "Retrieve details of the data masking policy rule configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Data Masking Policy Rule", - "operation": "Set database data masking policy rule", - "description": "Change data masking policy rule for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Threat Detection Policy", - "operation": "Get database threat detection policy", - "description": "Retrieve details of the threat detection policy configured on a given database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database Threat Detection Policy", - "operation": "Set threat detection auditing policy", - "description": "Change the threat detection policy for a given database" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Policy", - "operation": "Get server threat detection policy", - "description": "Retrieve details of the server threat detection policy configured on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Policy", - "operation": "Set server threat detection policy", - "description": "Change the server threat detection for a given server" - } - }, - { - "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Server Threat Detection Operation Results", - "operation": "Get server Threat Detection operation results", - "description": "Retrieve results of the server Threat Detection policy Set operation" - } - }, - { - "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Vulnerability Assessment Database Scan", - "operation": "Execute vulnerability assessment database scan", - "description": "Execute vulnerability assessment database scan." - } - }, - { - "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Vulnerability Assessment Server Scan", - "operation": "Execute vulnerability assessment server scan", - "description": "Execute vulnerability assessment server scan" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database advisor", - "operation": "Get advisors for a database", - "description": "Returns list of advisors available for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database advisor", - "operation": "Update auto-execute status of a database advisor", - "description": "Update auto-execute status of an advisor on database level." - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database recommended action", - "operation": "Get recommended actions for a database", - "description": "Returns list of recommended actions of specified advisor for the database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database recommended action", - "operation": "Update database recommended action state.", - "description": "Apply the recommended action on the database" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Get elastic database pool details", - "description": "Retrieve details of elastic database pool on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Create new or update existing elastic database pool", - "description": "Create a new or change properties of existing elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/delete", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool", - "operation": "Delete elastic database pool", - "description": "Delete existing elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/databases/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Get elastic pool databases", - "description": "Retrieve list and details of databases that are part of elastic database pool on a given server" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Activity", - "operation": "Get elastic database pool activity", - "description": "Retrieve activities and details on a given elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Pool Database Activity", - "operation": "Get elastic pool database activity", - "description": "Retrieve activities and details on a given database that is part of elastic database pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Metric Definition", - "operation": "Get elastic pool metric definitions", - "description": "Return types of metrics that are available for elastic database pools" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "cpu_percent", - "displayName": "CPU percentage", - "displayDescription": "CPU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "physical_data_read_percent", - "displayName": "Data IO percentage", - "displayDescription": "Data IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "log_write_percent", - "displayName": "Log IO percentage", - "displayDescription": "Log IO percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "dtu_consumption_percent", - "displayName": "DTU percentage", - "displayDescription": "DTU percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "storage_percent", - "displayName": "Storage percentage", - "displayDescription": "Storage percentage", - "unit": "Percent", - "aggregationType": "Average" - }, - { - "name": "workers_percent", - "displayName": "Workers percentage", - "displayDescription": "Workers percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "sessions_percent", - "displayName": "Sessions percentage", - "displayDescription": "Sessions percentage", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "eDTU_limit", - "displayName": "eDTU limit", - "displayDescription": "eDTU limit", - "unit": "Count", - "aggregationType": "Average" - }, - { - "name": "storage_limit", - "displayName": "Storage limit", - "displayDescription": "Storage limit", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "eDTU_used", - "displayName": "eDTU used", - "displayDescription": "eDTU used", - "unit": "Count", - "aggregationType": "Average", - "fillGapWithZero": true - }, - { - "name": "storage_used", - "displayName": "Storage used", - "displayDescription": "Storage used", - "unit": "Bytes", - "aggregationType": "Average" - }, - { - "name": "xtp_storage_percent", - "displayName": "In-Memory OLTP storage percent", - "displayDescription": "In-Memory OLTP storage percent", - "unit": "Percent", - "aggregationType": "Average", - "fillGapWithZero": true - } - ] + }, + { + "name": "Microsoft.Sql/servers/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Delete existing server" + } + }, + { + "name": "Microsoft.Sql/servers/import/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Create new database from DacPac" + } + }, + { + "name": "Microsoft.Sql/servers/upgrade/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server", + "operation": "Upgrade server version" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Get server firewall rules" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Create new or update existing server firewall rule" + } + }, + { + "name": "Microsoft.Sql/servers/firewallRules/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Firewall Rule", + "operation": "Delete server firewall rule" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Get server administrator" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Create new or update existing server administrator" + } + }, + { + "name": "Microsoft.Sql/servers/administrators/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator", + "operation": "Delete server administrator" + } + }, + { + "name": "Microsoft.Sql/servers/administratorOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The server administrator operation results", + "operation": "Get server administrator operation results" + } + }, + { + "name": "Microsoft.Sql/servers/serviceObjectives/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Service Level Objective", + "operation": "Get service level objectives" + } + }, + { + "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Restorable Dropped Database", + "operation": "Get list of restorable dropped databases" + } + }, + { + "name": "Microsoft.Sql/servers/recoverableDatabases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recoverable Database", + "operation": "Get the last known database recovery point" + } + }, + { + "name": "Microsoft.Sql/servers/importExportOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Database Import Operation Result", + "operation": "Get details about database import operation on the server" + } + }, + { + "name": "Microsoft.Sql/servers/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Upgrade Operation Result", + "operation": "Get status of server upgrade operation" + } + }, + { + "name": "Microsoft.Sql/servers/operationResults/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Upgrade Operation Result", + "operation": "Cancel server upgrade" + } + }, + { + "name": "Microsoft.Sql/servers/usages/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Usage", + "operation": "Get server usage details" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Database Pool", + "operation": "Get recommended elastic database pools" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Pool Databases", + "operation": "Get recommended elastic pools databases" + } + }, + { + "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Elastic Database Pool Metrics", + "operation": "Get recommended elastic database pools metrics" + } + }, + { + "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Disaster Recovery Configuration Operation Results", + "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server advisor", + "operation": "Get advisors for a server" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server advisor", + "operation": "Update auto-execute status of a server advisor" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Returns list of recommended actions of specified advisor for the server", + "operation": "Get recommended actions of a server" + } + }, + { + "name": "Microsoft.Sql/servers/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Returns list of recommended actions of specified advisor for the server", + "operation": "Update server recommended action state." + } + }, + { + "name": "Microsoft.Sql/servers/elasticPoolEstimates/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool estimate", + "operation": "Get elastic pool estimates of a server" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPoolEstimates/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool estimate", + "operation": "Create an elastic pool estimate." + } + }, + { + "name": "Microsoft.Sql/servers/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Get server details" + } + }, + { + "name": "Microsoft.Sql/servers/databases/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Create new or update existing server" + } + }, + { + "name": "Microsoft.Sql/servers/databases/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Delete existing server" + } + }, + { + "name": "Microsoft.Sql/servers/databases/export/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Create new database from DacPac" + } + }, + { + "name": "Microsoft.Sql/servers/databases/usages/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Usage", + "operation": "Get database usage details" + } + }, + { + "name": "Microsoft.Sql/servers/databases/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Operation Result", + "operation": "Get status of database operation" + } + }, + { + "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Import/Export Operation Result", + "operation": "Get details about database import or export operation on the server" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Get database replication links" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Force-terminate the replication relationship" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Terminate the replication relationship" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Failover replication relationship after synchronizing" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Failover replication relationship immediately" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Replication Link", + "operation": "Update replication mode for link" + } + }, + { + "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Replication Link Operation Result", + "operation": "Get status of replication link operations" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Metric Definition", + "operation": "Get database metric definitions" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percentage", + "displayDescription": "CPU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "physical_data_read_percent", + "displayName": "Data IO percentage", + "displayDescription": "Data IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "log_write_percent", + "displayName": "Log IO percentage", + "displayDescription": "Log IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dtu_consumption_percent", + "displayName": "DTU percentage", + "displayDescription": "DTU percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "storage", + "displayName": "Total database size", + "displayDescription": "Total database size", + "unit": "Bytes", + "aggregationType": "Maximum" + }, + { + "name": "connection_successful", + "displayName": "Successful Connections", + "displayDescription": "Successful Connections", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "connection_failed", + "displayName": "Failed Connections", + "displayDescription": "Failed Connections", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "blocked_by_firewall", + "displayName": "Blocked by Firewall", + "displayDescription": "Blocked by Firewall", + "unit": "Count", + "aggregationType": "Total", + "fillGapWithZero": true + }, + { + "name": "deadlock", + "displayName": "Deadlocks", + "displayDescription": "Deadlocks", + "unit": "Count", + "aggregationType": "Total", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Database size percentage", + "displayDescription": "Database size percentage", + "unit": "Percent", + "aggregationType": "Maximum", + "metricFilterPattern": "^((?!datawarehouse).)*$" + }, + { + "name": "xtp_storage_percent", + "displayName": "In-Memory OLTP storage percent", + "displayDescription": "In-Memory OLTP storage percent", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "workers_percent", + "displayName": "Workers percentage", + "displayDescription": "Workers percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "sessions_percent", + "displayName": "Sessions percentage", + "displayDescription": "Sessions percentage", + "unit": "Percent", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dtu_limit", + "displayName": "DTU Limit", + "displayDescription": "DTU Limit", + "unit": "Count", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$" + }, + { + "name": "dtu_used", + "displayName": "DTU used", + "displayDescription": "DTU used", + "unit": "Count", + "aggregationType": "Average", + "metricFilterPattern": "^((?!datawarehouse).)*$", + "fillGapWithZero": true + }, + { + "name": "dwu_limit", + "displayName": "DWU limit", + "displayDescription": "DWU limit", + "unit": "Count", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$" + }, + { + "name": "dwu_consumption_percent", + "displayName": "DWU percentage", + "displayDescription": "DWU percentage", + "unit": "Percent", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$", + "fillGapWithZero": true + }, + { + "name": "dwu_used", + "displayName": "DWU used", + "displayDescription": "DWU used", + "unit": "Count", + "aggregationType": "Maximum", + "metricFilterPattern": ".*datawarehouse.*$", + "fillGapWithZero": true + } + ] + } + } + }, + { + "name": "Microsoft.Sql/servers/databases/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Metric", + "operation": "Get database resource consumption metrics" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Diagnostic Settings", + "operation": "Read diagnostic setting" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Diagnostic Settings", + "operation": "Write diagnostic setting" + } + }, + { + "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "The log definition of databases", + "operation": "Read databases log definitions" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "QueryStore", + "displayName": "Query Store", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Sql/servers/databases/missingindexes/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Index Advisor", + "operation": "Get recommended database indexes" + } + }, + { + "name": "Microsoft.Sql/servers/databases/missingindexes/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Index Advisor", + "operation": "Apply recommended database index" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Index", + "operation": "Get list of index recommendations" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Recommended Index", + "operation": "Update Recommended Index State" + } + }, + { + "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database table column", + "operation": "Get columns" + } + }, + { + "name": "Microsoft.Sql/servers/databases/queryStore/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Query Store settings", + "operation": "Get Query Store settings" + } + }, + { + "name": "Microsoft.Sql/servers/databases/queryStore/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Query Store settings", + "operation": "Update Query Store settings" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries", + "operation": "Get Top Queries for the database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries Statistics", + "operation": "Get Database Top Queries statistics" + } + }, + { + "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Top Queries query text", + "operation": "Get Database Top Queries query text" + } + }, + { + "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Service Tier Advisor", + "operation": "Get recommended database performance level" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Get database transparent data encryption details" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Change transparent data encryption state" + } + }, + { + "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Transparent Data Encryption", + "operation": "Get database transparent data encryption details" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Table Auditing Policy", + "operation": "Get database table auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Table Auditing Policy", + "operation": "Set database table auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/auditingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Default Server Table Auditing Policy", + "operation": "Get default server table auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/auditingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Default Server Table Auditing Policy", + "operation": "Set default server table auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Auditing Policy", + "operation": "Get database blob auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditingSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Auditing Policy", + "operation": "Set database blob auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Policy", + "operation": "Get server blob auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Policy", + "operation": "Set server blob auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Blob Auditing Operation Results", + "operation": "Get server blob auditing operation results" + } + }, + { + "name": "Microsoft.Sql/servers/databases/auditRecords/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Blob Audit Records", + "operation": "Get database blob audit records" + } + }, + { + "name": "Microsoft.Sql/servers/databases/connectionPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Connection Policy", + "operation": "Get database connection policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/connectionPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Connection Policy", + "operation": "Set database connection policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy", + "operation": "Get database data masking policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy", + "operation": "Set database data masking policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy Rule", + "operation": "Get database data masking policy rule" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Data Masking Policy Rule", + "operation": "Set database data masking policy rule" + } + }, + { + "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Threat Detection Policy", + "operation": "Get database threat detection policy" + } + }, + { + "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database Threat Detection Policy", + "operation": "Set threat detection auditing policy" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Policy", + "operation": "Get server threat detection policy" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Policy", + "operation": "Set server threat detection policy" + } + }, + { + "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Server Threat Detection Operation Results", + "operation": "Get server Threat Detection operation results" + } + }, + { + "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Vulnerability Assessment Database Scan", + "operation": "Execute vulnerability assessment database scan" + } + }, + { + "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Vulnerability Assessment Server Scan", + "operation": "Execute vulnerability assessment server scan" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database advisor", + "operation": "Get advisors for a database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database advisor", + "operation": "Update auto-execute status of a database advisor" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database recommended action", + "operation": "Get recommended actions for a database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database recommended action", + "operation": "Update database recommended action state." + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Get elastic database pool details" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Create new or update existing elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/delete", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool", + "operation": "Delete elastic database pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/databases/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Get elastic pool databases" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Activity", + "operation": "Get elastic database pool activity" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Pool Database Activity", + "operation": "Get elastic pool database activity" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Metric Definition", + "operation": "Get elastic pool metric definitions" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "displayName": "CPU percentage", + "displayDescription": "CPU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "physical_data_read_percent", + "displayName": "Data IO percentage", + "displayDescription": "Data IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "log_write_percent", + "displayName": "Log IO percentage", + "displayDescription": "Log IO percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "dtu_consumption_percent", + "displayName": "DTU percentage", + "displayDescription": "DTU percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_percent", + "displayName": "Storage percentage", + "displayDescription": "Storage percentage", + "unit": "Percent", + "aggregationType": "Average" + }, + { + "name": "workers_percent", + "displayName": "Workers percentage", + "displayDescription": "Workers percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "sessions_percent", + "displayName": "Sessions percentage", + "displayDescription": "Sessions percentage", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "eDTU_limit", + "displayName": "eDTU limit", + "displayDescription": "eDTU limit", + "unit": "Count", + "aggregationType": "Average" + }, + { + "name": "storage_limit", + "displayName": "Storage limit", + "displayDescription": "Storage limit", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "eDTU_used", + "displayName": "eDTU used", + "displayDescription": "eDTU used", + "unit": "Count", + "aggregationType": "Average", + "fillGapWithZero": true + }, + { + "name": "storage_used", + "displayName": "Storage used", + "displayDescription": "Storage used", + "unit": "Bytes", + "aggregationType": "Average" + }, + { + "name": "xtp_storage_percent", + "displayName": "In-Memory OLTP storage percent", + "displayDescription": "In-Memory OLTP storage percent", + "unit": "Percent", + "aggregationType": "Average", + "fillGapWithZero": true + } + ] + } + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/metrics/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Metric", + "operation": "Get elastic pool resource consumption metrics" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/operationResults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Operation Result", + "operation": "Get elastic database pool operation result" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool advisor", + "operation": "Get advisors for an elastic pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool advisor", + "operation": "Update auto-execute status of a elastic pool advisor" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool recommended action", + "operation": "Get recommended actions for an elastic pool" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic pool recommended action", + "operation": "Update elastic pool recommended action state." + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Diagnostic Settings", + "operation": "Read diagnostic setting" + } + }, + { + "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Elastic Database Pool Diagnostic Settings", + "operation": "Write diagnostic setting" + } + }, + { + "name": "Microsoft.Sql/servers/databases/pause/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Pause a database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/resume/action", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Database", + "operation": "Resume a database" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Data Warehouse Query", + "operation": "Get details about data warehouse query" + } + }, + { + "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "Data Warehouse Query Step", + "operation": "Get details about data warehouse query step" + } + }, + { + "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read", + "display": { + "provider": "Microsoft SQL Database", + "resource": "A backup long term retention vault", + "operation": "Read a backup long term retention vault" + } + }, + { + "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write", + "display": { + "provider": "Microsoft SQL Database", + "resource": "A backup long term retention vault", + "operation": "This operation is used to register a backup long term retention vault to a server." } } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/metrics/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Metric", - "operation": "Get elastic pool resource consumption metrics", - "description": "Return elastic database pool resource utilization metrics" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/operationResults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Operation Result", - "operation": "Get elastic database pool operation result", - "description": "Retrieve details on a given elastic database pool operation" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool advisor", - "operation": "Get advisors for an elastic pool", - "description": "Returns list of advisors available for the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool advisor", - "operation": "Update auto-execute status of a elastic pool advisor", - "description": "Update auto-execute status of an advisor on elastic pool level." - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool recommended action", - "operation": "Get recommended actions for an elastic pool", - "description": "Returns list of recommended actions of specified advisor for the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic pool recommended action", - "operation": "Update elastic pool recommended action state.", - "description": "Apply the recommended action on the elastic pool" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Diagnostic Settings", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Elastic Database Pool Diagnostic Settings", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - } - }, - { - "name": "Microsoft.Sql/servers/databases/pause/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Pause a database", - "description": "Pause a DataWarehouse edition database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/resume/action", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Database", - "operation": "Resume a database", - "description": "Resume a DataWarehouse edition database" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Data Warehouse Query", - "operation": "Get details about data warehouse query", - "description": "Returns the data warehouse distribution query information for selected query ID" - } - }, - { - "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "Data Warehouse Query Step", - "operation": "Get details about data warehouse query step", - "description": "Returns the distributed query step information of data warehouse query for selected step ID" - } - }, - { - "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read", - "display": { - "provider": "Microsoft SQL Database", - "resource": "A backup long term retention vault", - "operation": "Read a backup long term retention vault", - "description": "This operation is used to get a backup long term retention vault. It returns information about the vault registered to this server." - } - }, - { - "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write", - "display": { - "provider": "Microsoft SQL Database", - "resource": "A backup long term retention vault", - "operation": "This operation is used to register a backup long term retention vault to a server.", - "description": "Register a backup long term retention vault" - } - } - ] + ] + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json index 6e2a1d6b3da8..c7830d7319e5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json @@ -8,61 +8,63 @@ }, "responses": { "200": { - "value": [ - { - "type": "Microsoft.Sql/servers/databases/topQueries", - "numberOfTopQueries": 1, - "aggregationFunction": "sum", - "executionType": "any", - "observedMetric": "cpu", - "observationStartTime": "2017-07-11T16:21:54.0916567Z", - "observationEndTime": "2017-07-12T16:21:54.0916567Z", - "intervalType": "PT1H", - "queries": [ - { - "queryId": "19", - "intervals": [ - { - "intervalStartTime": "2017-07-11T16:00:00", - "executionCount": 12, - "metrics": [ - { - "name": "cpu", - "displayName": "Cpu", - "unit": "percentage", - "value": 0.000763888888888889 - }, - { - "name": "io", - "displayName": "Physical Io Reads", - "unit": "percentage", - "value": 0.0 - }, - { - "name": "logIo", - "displayName": "Log Writes", - "unit": "percentage", - "value": 0.0 - }, - { - "name": "memory", - "displayName": "Memory consumption", - "unit": "KB", - "value": 0.0 - }, - { - "name": "duration", - "displayName": "Query duration", - "unit": "microseconds", - "value": 3308.0 - } - ] - } - ] - } - ] - } - ] + "body": { + "value": [ + { + "type": "Microsoft.Sql/servers/databases/topQueries", + "numberOfTopQueries": 1, + "aggregationFunction": "sum", + "executionType": "any", + "observedMetric": "cpu", + "observationStartTime": "2017-07-11T16:21:54.0916567Z", + "observationEndTime": "2017-07-12T16:21:54.0916567Z", + "intervalType": "PT1H", + "queries": [ + { + "queryId": "19", + "intervals": [ + { + "intervalStartTime": "2017-07-11T16:00:00", + "executionCount": 12, + "metrics": [ + { + "name": "cpu", + "displayName": "Cpu", + "unit": "percentage", + "value": 0.000763888888888889 + }, + { + "name": "io", + "displayName": "Physical Io Reads", + "unit": "percentage", + "value": 0.0 + }, + { + "name": "logIo", + "displayName": "Log Writes", + "unit": "percentage", + "value": 0.0 + }, + { + "name": "memory", + "displayName": "Memory consumption", + "unit": "KB", + "value": 0.0 + }, + { + "name": "duration", + "displayName": "Query duration", + "unit": "microseconds", + "value": 3308.0 + } + ] + } + ] + } + ] + } + ] + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json index d9d9174294a2..58b3f7162e4a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json @@ -9,49 +9,51 @@ }, "responses": { "200": { - "value": [ - { - "queryId": "19", - "intervals": [ - { - "intervalStartTime": "2017-07-11T16:00:00", - "executionCount": 12, - "metrics": [ - { - "name": "cpu", - "displayName": "Cpu", - "unit": "percentage", - "value": 0.000763888888888889 - }, - { - "name": "io", - "displayName": "Physical Io Reads", - "unit": "percentage", - "value": 0.0 - }, - { - "name": "logIo", - "displayName": "Log Writes", - "unit": "percentage", - "value": 0.0 - }, - { - "name": "memory", - "displayName": "Memory consumption", - "unit": "KB", - "value": 0.0 - }, - { - "name": "duration", - "displayName": "Query duration", - "unit": "microseconds", - "value": 3308.0 - } - ] - } - ] - } - ] + "body": { + "value": [ + { + "queryId": "19", + "intervals": [ + { + "intervalStartTime": "2017-07-11T16:00:00", + "executionCount": 12, + "metrics": [ + { + "name": "cpu", + "displayName": "Cpu", + "unit": "percentage", + "value": 0.000763888888888889 + }, + { + "name": "io", + "displayName": "Physical Io Reads", + "unit": "percentage", + "value": 0.0 + }, + { + "name": "logIo", + "displayName": "Log Writes", + "unit": "percentage", + "value": 0.0 + }, + { + "name": "memory", + "displayName": "Memory consumption", + "unit": "KB", + "value": 0.0 + }, + { + "name": "duration", + "displayName": "Query duration", + "unit": "microseconds", + "value": 3308.0 + } + ] + } + ] + } + ] + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json index 2b3f3dca7bee..70ec486d28c8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json @@ -9,13 +9,15 @@ }, "responses": { "200": { - "value": [ - { - "name": "current", - "queryText": "select 1", - "type": "Microsoft.Sql/servers/databases/topQueries/queryText" - } - ] + "body": { + "value": [ + { + "name": "current", + "queryText": "select 1", + "type": "Microsoft.Sql/servers/databases/topQueries/queryText" + } + ] + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json index 8d5937450a40..ebac700be866 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json @@ -8,11 +8,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json index e4708fd7cd82..2490a683e709 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json @@ -6,11 +6,7 @@ "api-version": "2014-04-01" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json index fd75558833e9..b3a7642f29d7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json @@ -8,16 +8,18 @@ }, "responses": { "200": { - "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", - "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System0", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false + "body": { + "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", + "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System0", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json index 937dc017b5e5..1834a37f74cd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json @@ -7,632 +7,634 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7", - "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", - "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System0", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12", - "name": "c99ac918-dbea-463f-a475-16ec020fdc12", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System1", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System2", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4", - "name": "33d0db1f-6893-4210-99f9-463fb9b496a4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System3", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4", - "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System4", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", - "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System2L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248", - "name": "e79cd55c-689f-48d9-bffa-0dd12c772248", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System3L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490", - "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "System4L", - "isDefault": false, - "isSystem": true, - "description": null, - "enabled": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", - "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "Free", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "Basic", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b", - "name": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S0", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928", - "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S1", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7", - "name": "455330e1-00cd-488b-b5fa-177c226f28b7", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40", - "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "S3", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d", - "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P1", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", - "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", - "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P4", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa", - "name": "43940481-9191-475a-9dba-6b505615b9aa", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P6", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288", - "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P11", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", - "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "P15", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8", - "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS1", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb", - "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS2", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024", - "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS4", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f", - "name": "1e8da92e-efcd-4682-9140-bf6582120d1f", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "PRS6", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618", - "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW100", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153", - "name": "99e78a92-d724-4e1b-857b-2be661f3d153", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea", - "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW300", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af", - "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW400", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", - "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885", - "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW600", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", - "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47", - "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557", - "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW1500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370", - "name": "99165ede-a5ab-4b52-b317-e391d92ec370", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW2000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff", - "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW3000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4", - "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DW6000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0", - "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS100", - "isDefault": true, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449", - "name": "053407ef-f01c-46f4-b829-96e01a14f449", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce", - "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS300", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c", - "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS400", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea", - "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", - "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS600", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b", - "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1", - "name": "07479569-6d70-47a5-8db6-0af55d34f2c1", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1200", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e", - "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS1500", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", - "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "DS2000", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419", - "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419", - "type": "Microsoft.Sql/servers/serviceObjectives", - "location": "Central US", - "properties": { - "serviceObjectiveName": "ElasticPool", - "isDefault": false, - "isSystem": false, - "description": null, - "enabled": true - } - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7", + "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d", + "name": "29dd7459-4a7c-4e56-be22-f0adda49440d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System0", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12", + "name": "c99ac918-dbea-463f-a475-16ec020fdc12", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System1", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System2", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4", + "name": "33d0db1f-6893-4210-99f9-463fb9b496a4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System3", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4", + "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System4", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", + "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System2L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248", + "name": "e79cd55c-689f-48d9-bffa-0dd12c772248", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System3L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490", + "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "System4L", + "isDefault": false, + "isSystem": true, + "description": null, + "enabled": false + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", + "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "Free", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "Basic", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b", + "name": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S0", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928", + "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S1", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7", + "name": "455330e1-00cd-488b-b5fa-177c226f28b7", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40", + "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "S3", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d", + "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P1", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", + "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", + "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P4", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa", + "name": "43940481-9191-475a-9dba-6b505615b9aa", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P6", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288", + "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P11", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", + "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "P15", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8", + "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS1", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb", + "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS2", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024", + "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS4", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f", + "name": "1e8da92e-efcd-4682-9140-bf6582120d1f", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "PRS6", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618", + "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW100", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153", + "name": "99e78a92-d724-4e1b-857b-2be661f3d153", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea", + "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW300", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af", + "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW400", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", + "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885", + "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW600", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", + "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47", + "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557", + "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW1500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370", + "name": "99165ede-a5ab-4b52-b317-e391d92ec370", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW2000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff", + "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW3000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4", + "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DW6000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0", + "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS100", + "isDefault": true, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449", + "name": "053407ef-f01c-46f4-b829-96e01a14f449", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce", + "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS300", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c", + "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS400", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea", + "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", + "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS600", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b", + "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1", + "name": "07479569-6d70-47a5-8db6-0af55d34f2c1", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1200", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e", + "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS1500", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", + "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "DS2000", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419", + "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419", + "type": "Microsoft.Sql/servers/serviceObjectives", + "location": "Central US", + "properties": { + "serviceObjectiveName": "ElasticPool", + "isDefault": false, + "isSystem": false, + "description": null, + "enabled": true + } + } + ] + } } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json index efcbfe6166c9..04d83a09b36d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json @@ -8,40 +8,42 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", - "name": "Current", - "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors", - "properties": { - "observationPeriodStart": "2017-07-12T12:00:00Z", - "observationPeriodEnd": "2017-07-26T13:00:00Z", - "activeTimeRatio": 0.0, - "minDtu": 0.0, - "avgDtu": 0.0, - "maxDtu": 0.0, - "maxSizeInGB": 0.0234375, - "serviceLevelObjectiveUsageMetrics": [ - { - "serviceLevelObjective": "Basic", - "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", - "inRangeTimeRatio": 1.0 - } - ], - "currentServiceLevelObjective": "S0", - "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", - "usageBasedRecommendationServiceLevelObjective": null, - "usageBasedRecommendationServiceLevelObjectiveId": null, - "databaseSizeBasedRecommendationServiceLevelObjective": null, - "databaseSizeBasedRecommendationServiceLevelObjectiveId": null, - "disasterPlanBasedRecommendationServiceLevelObjective": null, - "disasterPlanBasedRecommendationServiceLevelObjectiveId": null, - "overallRecommendationServiceLevelObjective": null, - "overallRecommendationServiceLevelObjectiveId": null, - "confidence": 1.0 + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current", + "name": "Current", + "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors", + "properties": { + "observationPeriodStart": "2017-07-12T12:00:00Z", + "observationPeriodEnd": "2017-07-26T13:00:00Z", + "activeTimeRatio": 0.0, + "minDtu": 0.0, + "avgDtu": 0.0, + "maxDtu": 0.0, + "maxSizeInGB": 0.0234375, + "serviceLevelObjectiveUsageMetrics": [ + { + "serviceLevelObjective": "Basic", + "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c", + "inRangeTimeRatio": 1.0 + } + ], + "currentServiceLevelObjective": "S0", + "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "usageBasedRecommendationServiceLevelObjective": null, + "usageBasedRecommendationServiceLevelObjectiveId": null, + "databaseSizeBasedRecommendationServiceLevelObjective": null, + "databaseSizeBasedRecommendationServiceLevelObjectiveId": null, + "disasterPlanBasedRecommendationServiceLevelObjective": null, + "disasterPlanBasedRecommendationServiceLevelObjectiveId": null, + "overallRecommendationServiceLevelObjective": null, + "overallRecommendationServiceLevelObjectiveId": null, + "confidence": 1.0 + } } - } - ] + ] + } } } } From 98b36d14505bd6606ca2d9c2467fefe014e42d6b Mon Sep 17 00:00:00 2001 From: Phoenix He Date: Thu, 1 Aug 2019 14:39:37 +0800 Subject: [PATCH 416/495] Re-enable v1 CI pipeline and retarget v2 sdk automation to test repo (#6767) * Re-enable v1 CI pipeline and retarget v2 sdk automation to test repo --- azure-pipelines.yml | 9 +++++++++ specificationRepositoryConfiguration.json | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4693cf53101a..fdc2e18fd8e7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -106,9 +106,18 @@ jobs: timeoutInMinutes: 120 strategy: matrix: + ruby: + AZURE_SDK_REPO: azure-sdk-for-ruby + AZURE_SDK_PARAMS: '' java: AZURE_SDK_REPO: azure-sdk-for-java AZURE_SDK_PARAMS: '' + javascript: + AZURE_SDK_REPO: azure-sdk-for-js + AZURE_SDK_PARAMS: '' + node: + AZURE_SDK_REPO: azure-sdk-for-node + AZURE_SDK_PARAMS: '' python: AZURE_SDK_REPO: azure-sdk-for-python AZURE_SDK_PARAMS: '' diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 3ee346986a32..e97484fe7f4e 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -10,25 +10,25 @@ }, "azure-sdk-for-java": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-java", - "mainRepository": "Azure/azure-sdk-for-java" + "mainRepository": "test-repo-billy/azure-sdk-for-java" }, "azure-sdk-for-js": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js" }, "azure-sdk-for-net": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-net", - "mainRepository": "Azure/azure-sdk-for-net" + "mainRepository": "test-repo-billy/azure-sdk-for-net" }, "azure-sdk-for-python": { "generationRepository": "AzureSDKAutomation/azure-sdk-for-python", "integrationRepository": "AzureSDKAutomation/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-sdk-for-ruby": { "mainBranch": "latest", "generationRepository": "AzureSDKAutomation/azure-sdk-for-ruby", - "mainRepository": "Azure/azure-sdk-for-ruby" + "mainRepository": "test-repo-billy/azure-sdk-for-ruby" } } } From 7610f5cf535e1696079ce54a60eb83691cb23071 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 09:04:26 -0400 Subject: [PATCH 417/495] fix: recoveryservices model validation errors (#6832) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../2016-06-01/examples/DeleteRegisteredIdentities.json | 4 +--- .../stable/2016-06-01/examples/DeleteVault.json | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json index 21e8fcd46a15..03962d24d35d 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json @@ -7,8 +7,6 @@ "api-version": "2016-06-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json index 34113f549015..99ef3eb85920 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json @@ -6,8 +6,6 @@ "api-version": "2016-06-01" }, "responses": { - "200": { - "body": "" - } + "200": {} } } From 95fec56764c3e24613b460362be2000004a8eb71 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 10:54:52 -0400 Subject: [PATCH 418/495] fix: cognitiveservices model validation errors (#6833) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../data-plane/Face/stable/v1.0/examples/ApplySnapshot.json | 1 - .../Face/stable/v1.0/examples/CreateNewFaceList.json | 4 +--- .../Face/stable/v1.0/examples/CreateNewLargeFaceList.json | 4 +--- .../Face/stable/v1.0/examples/CreateNewLargePersonGroup.json | 4 +--- .../Face/stable/v1.0/examples/CreateNewPersonGroup.json | 4 +--- .../data-plane/Face/stable/v1.0/examples/DeleteFaceList.json | 4 +--- .../Face/stable/v1.0/examples/DeleteFaceListFace.json | 4 +--- .../Face/stable/v1.0/examples/DeleteLargeFaceList.json | 4 +--- .../Face/stable/v1.0/examples/DeleteLargeFaceListFace.json | 4 +--- .../Face/stable/v1.0/examples/DeleteLargePersonGroup.json | 4 +--- .../stable/v1.0/examples/DeleteLargePersonGroupPerson.json | 4 +--- .../v1.0/examples/DeleteLargePersonGroupPersonFace.json | 4 +--- .../Face/stable/v1.0/examples/DeletePersonGroup.json | 4 +--- .../Face/stable/v1.0/examples/DeletePersonGroupPerson.json | 4 +--- .../stable/v1.0/examples/DeletePersonGroupPersonFace.json | 4 +--- .../data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json | 4 +--- .../stable/v1.0/examples/QueueLargeFaceListTraining.json | 4 +--- .../stable/v1.0/examples/QueueLargePersonGroupTraining.json | 4 +--- .../Face/stable/v1.0/examples/QueuePersonGroupTraining.json | 4 +--- .../data-plane/Face/stable/v1.0/examples/TakeSnapshot.json | 1 - .../data-plane/Face/stable/v1.0/examples/UpdateFaceList.json | 4 +--- .../Face/stable/v1.0/examples/UpdateLargeFaceList.json | 4 +--- .../Face/stable/v1.0/examples/UpdateLargeFaceListFace.json | 4 +--- .../Face/stable/v1.0/examples/UpdateLargePersonGroup.json | 4 +--- .../stable/v1.0/examples/UpdateLargePersonGroupPerson.json | 4 +--- .../v1.0/examples/UpdateLargePersonGroupPersonFace.json | 4 +--- .../Face/stable/v1.0/examples/UpdatePersonGroup.json | 4 +--- .../Face/stable/v1.0/examples/UpdatePersonGroupPerson.json | 4 +--- .../stable/v1.0/examples/UpdatePersonGroupPersonFace.json | 4 +--- .../data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json | 4 +--- .../Personalizer/preview/v1.0/examples/Events_Activate.json | 5 +---- .../Personalizer/preview/v1.0/examples/Events_Reward.json | 5 +---- .../QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json | 4 +--- 33 files changed, 31 insertions(+), 97 deletions(-) diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json index 7ce325b284f1..b6a9b3b07da6 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json @@ -11,7 +11,6 @@ }, "responses": { "202": { - "body": "", "header": { "Operation-Location": "/operations/84276574-2a2a-4540-a1b0-f65d834d225b" } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json index 5139ad3dabeb..27b931726dc5 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json index 33bb88993941..7d9471cc218b 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json index 6f831a39b042..213cca68a808 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json index 9d5dd84abfc6..47bac3dae296 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json index 6c4f6cd264e2..8a56998fe56e 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json @@ -6,8 +6,6 @@ "faceListId": "sample_face_list" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json index f62209d70196..3c7cb6945fad 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json @@ -7,8 +7,6 @@ "persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json index e27143c42a60..a17660fd24a8 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json @@ -6,8 +6,6 @@ "largeFaceListId": "sample_face_list" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json index 1ca196e08f84..c51df9d7089e 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json @@ -7,8 +7,6 @@ "persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json index 838301622851..e9888166e026 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json @@ -6,8 +6,6 @@ "largePersonGroupId": "abc" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json index 5034b6b0ca10..f75102f3a28b 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json @@ -7,8 +7,6 @@ "personId": "25985303-c537-4467-b41d-bdb45cd95ca1" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json index 79f8b40cd415..593ea9f58f47 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json @@ -8,8 +8,6 @@ "persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json index 56590ec14bf8..f7c062c6a2e0 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json @@ -6,8 +6,6 @@ "personGroupId": "abc" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json index 4248f956f019..b9a3e416b947 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json @@ -7,8 +7,6 @@ "personId": "25985303-c537-4467-b41d-bdb45cd95ca1" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json index a08c4b459b06..459adbe3eda5 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json @@ -8,8 +8,6 @@ "persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json index 872ed45189aa..48c5abc49858 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json @@ -6,8 +6,6 @@ "snapshotId": "e58b3f08-1e8b-4165-81df-aa9858f233dc" }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json index 6c8cb3a790bb..38b96eb8dd09 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json @@ -6,8 +6,6 @@ "largeFaceListId": "abc" }, "responses": { - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json index eb6dd2a84ae6..62cf89c96bc1 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json @@ -6,8 +6,6 @@ "largePersonGroupId": "abc" }, "responses": { - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json index f2fb3725df1c..998a4eb523ea 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json @@ -6,8 +6,6 @@ "personGroupId": "abc" }, "responses": { - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json index b4abe2c1b607..ef925f79b927 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json @@ -15,7 +15,6 @@ }, "responses": { "202": { - "body": "", "header": { "Operation-Location": "/operations/a63a3bdd-a1db-4d05-87b8-dbad6850062a" } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json index d3561f0d94cb..78ec8efe493a 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json @@ -10,8 +10,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json index 5e2bb4069849..e1918aef1e28 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json @@ -10,8 +10,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json index 21f6ea0a21e9..fe742c9bb920 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json @@ -10,8 +10,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json index 8ab8de61cdda..b15516c4b0f3 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json @@ -10,8 +10,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json index a4048c361c89..eee119bf114b 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json index ed8acfa1b62e..0b91ecb07efc 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json index 9d103c49f698..2ed80b8253cd 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json @@ -10,8 +10,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json index 6f1ce9932704..76fc46fc4deb 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json index 44d9cfe34734..b3e7b74542d5 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json @@ -11,8 +11,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json index 697285601dc8..5d56c58b9de4 100644 --- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json +++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json @@ -12,8 +12,6 @@ } }, "responses": { - "200": { - "body": "" - } + "200": {} } } diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json index 4eba04cbff60..a7bec92839a5 100644 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json +++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json @@ -5,9 +5,6 @@ "Ocp-Apim-Subscription-Key": "{API key}" }, "responses": { - "204": { - "body": "", - "header": {} - } + "204": {} } } diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json index 947d5410a1dc..78802cdfed80 100644 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json +++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json @@ -8,9 +8,6 @@ } }, "responses": { - "204": { - "body": "", - "header": {} - } + "204": {} } } diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json index 9f24b4710f4a..bcd50173c37b 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json @@ -6,8 +6,6 @@ "kbId": "9d091697-fb8c-4ed5-9ac0-35bf8273bfff" }, "responses": { - "204": { - "body": "" - } + "204": {} } } From 6edcb409af035b16e83e103a3c7b879545b4d283 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Thu, 1 Aug 2019 08:43:48 -0700 Subject: [PATCH 419/495] add QnAMaker runtime to Go SDK (#6770) * add QnAMaker runtime to Go SDK * ensure package directory and namespace match --- .../data-plane/QnAMaker/readme.go.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md b/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md index 412a87aa9eac..214d27ace71d 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md +++ b/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md @@ -5,7 +5,6 @@ These settings apply only when `--go` is specified on the command line. ``` yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION - namespace: qnamaker clear-output-folder: true ``` @@ -14,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: release_4_0 + - tag: runtime_release_4_0 ``` ### Tag: release_4_0 and go @@ -22,5 +22,16 @@ These settings apply only when `--tag=release_4_0 --go` is specified on the comm Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'release_4_0' && $(go) +namespace: qnamaker output-folder: $(go-sdk-folder)/services/cognitiveservices/v4.0/$(namespace) -``` \ No newline at end of file +``` + +### Tag: runtime_release_4_0 and go + +These settings apply only when `--tag=runtime_release_4_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'runtime_release_4_0' && $(go) +namespace: qnamakerruntime +output-folder: $(go-sdk-folder)/services/cognitiveservices/v4.0/$(namespace) +``` From 7a43fdf9a4415657047ee3388c968c395d6750bf Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 12:49:40 -0400 Subject: [PATCH 420/495] fix: mariadb model validation errors (#6828) Remove empty "body" to fix RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- .../examples/VirtualNetworkRulesDelete.json | 12 +++--------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json index c5ea31cb57b0..84aa1b303a02 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json index cfb5339892be..27b0a8024fa7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json index cfb5339892be..27b0a8024fa7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json @@ -7,14 +7,8 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "202": {}, + "204": {} } } From 39c47bb0623a056d760175c63688d688e0020faa Mon Sep 17 00:00:00 2001 From: Arvind Krishnaa J Date: Thu, 1 Aug 2019 10:18:00 -0700 Subject: [PATCH 421/495] Correct the definition of WebApiSkill (#6779) --- .../stable/2019-05-06/searchservice.json | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json index 80ecec82676c..d157f7133e25 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json @@ -4899,25 +4899,19 @@ } }, "required": [ - "uri", - "httpHeaders", - "httpMethod" + "uri" ], "externalDocs": { - "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface" + "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-web-api" }, "description": "A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call your custom code." }, "WebApiHttpHeaders": { - "properties": { - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A dictionary of http request headers." - } - } + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A dictionary of http request headers." }, "SkillsetListResult": { "properties": { From 5fa088e911ffbde20d69fee25a5c5cafd31dba73 Mon Sep 17 00:00:00 2001 From: Sparsh Agarwal <44854513+spagarwa@users.noreply.github.com> Date: Thu, 1 Aug 2019 12:38:30 -0700 Subject: [PATCH 422/495] [DataFactory] add TriggerRuns_Rerun api (#6342) * add TriggerRuns_Rerun api * pr update * update example --- .../stable/2018-06-01/datafactory.json | 45 +++++++++++++++++++ .../examples/TriggerRuns_Rerun.json | 22 +++++++++ 2 files changed, 67 insertions(+) create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 987f1e3df0be..9cfa78d3833d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -2851,6 +2851,51 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun": { + "post": { + "tags": [ + "triggerruns" + ], + "operationId": "TriggerRuns_Rerun", + "x-ms-examples": { + "Triggers_Rerun": { + "$ref": "./examples/TriggerRuns_Rerun.json" + } + }, + "description": "Rerun single trigger instance by runId.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/triggerName" + }, + { + "$ref": "#/parameters/runId" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "TriggerRun has been restarted." + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}": { "put": { "tags": [ diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json new file mode 100644 index 000000000000..2f6d8184e064 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "triggerName": "exampleTrigger", + "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:46:24 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", + "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" + } + } + } + } + \ No newline at end of file From e30b61d22b2b166e42d700152283d80b219f4321 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 1 Aug 2019 16:33:19 -0400 Subject: [PATCH 423/495] chore: jsonfmt devops (#6634) --- .../Microsoft.DevOps/preview/2019-07-01-preview/devops.json | 6 +++--- .../CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json | 4 ++-- .../2019-07-01-preview/examples/GetAzurePipeline.json | 2 +- .../examples/ListAzurePipelinesByResourceGroup.json | 2 +- .../examples/ListAzurePipelinesBySubscription.json | 4 ++-- .../2019-07-01-preview/examples/UpdateAzurePipeline.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json index bc31ef4079df..45b65c921dd3 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json @@ -21,7 +21,7 @@ "security": [ { "azure_auth": [ - "user_impersonation" + "user_impersonation" ] } ], @@ -32,7 +32,7 @@ "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow", "scopes": { - "user_impersonation": "impersonate your user account" + "user_impersonation": "impersonate your user account" } } }, @@ -798,7 +798,7 @@ "type": "object", "additionalProperties": { "type": "string" - }, + }, "description": "Resource Tags" }, "location": { diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json index e05cee970f18..0a6934d91396 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json @@ -9,7 +9,7 @@ "tags": {}, "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" @@ -48,7 +48,7 @@ "location": "South India", "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json index aa613a86e660..e76aa49aeca0 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json @@ -15,7 +15,7 @@ "location": "South India", "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json index 4a94831d096d..e6b20a3bc65c 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json @@ -16,7 +16,7 @@ "location": "South India", "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json index 286f050960cd..f4efc388d643 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json @@ -15,7 +15,7 @@ "location": "South India", "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" @@ -43,7 +43,7 @@ "location": "South India", "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org1" + "name": "myAspNetWebAppPipeline-org1" }, "project": { "name": "myAspNetWebAppPipeline-project1" diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json index edbd23b28942..e43c73c93596 100644 --- a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json +++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json @@ -23,7 +23,7 @@ }, "properties": { "organization": { - "name": "myAspNetWebAppPipeline-org" + "name": "myAspNetWebAppPipeline-org" }, "project": { "name": "myAspNetWebAppPipeline-project" From ab88105b1fd4d8b982869c43b1fbf365f24fc0af Mon Sep 17 00:00:00 2001 From: szimmer Date: Thu, 1 Aug 2019 15:53:13 -0700 Subject: [PATCH 424/495] Add terminate profile and scheduled events profile to Microsoft.Compute (#6683) * Add terminate notification profile and scheduled events profile to the Microosft.Compute autorest config. * Correct definition format * Update specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json Co-Authored-By: Nick Schonning * Update specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json Co-Authored-By: Nick Schonning * Add ScheduledEventsProfile to the UpdateVMScaleSetVM model, and add instance view expansion to get VM Scale Set VM. * Add an example for terminate scheduled events, and add type:object to scheudled events and termiante profile schemas. * Add example reference into compute.json * Fix example file naming. * Fix terminate scheduled event reference. --- .../stable/2019-03-01/compute.json | 48 ++++ ...SetWithTerminateScheduledEventEnabled.json | 233 ++++++++++++++++++ 2 files changed, 281 insertions(+) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index e3b6e57b96f3..8cd0384a6aff 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -3126,6 +3126,9 @@ }, "Create a scale set with ephemeral os disks.": { "$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json" + }, + "Create a scale set with terminate scheduled events enabled.": { + "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json" } } }, @@ -4681,6 +4684,20 @@ "type": "string", "description": "The instance ID of the virtual machine." }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": false + } + }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -8498,6 +8515,10 @@ "name": "VirtualMachineEvictionPolicyTypes", "modelAsString": true } + }, + "scheduledEventsProfile" : { + "$ref":"#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." } }, "description": "Describes a virtual machine scale set virtual machine profile." @@ -8527,6 +8548,10 @@ "licenseType": { "type": "string", "description": "The license type, which is for bring your own license scenario." + }, + "scheduledEventsProfile" : { + "$ref":"#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." } }, "description": "Describes a virtual machine scale set virtual machine profile." @@ -9241,6 +9266,29 @@ }, "description": "The protection policy of a virtual machine scale set VM." }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": + { + "$ref":"#/definitions/TerminateNotificationProfile", + "description": "Specifies Terminate Scheduled Event related configurations." + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description" : "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + }, + "enable" : { + "type": "boolean", + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + } + } + }, "VirtualMachineHealthStatus": { "properties": { "status": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json new file mode 100644 index 000000000000..b461cdb07a86 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "{vmss-name}", + "api-version": "2019-03-01", + "parameters": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "location": "westus", + "properties": { + "overprovision": true, + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "adminPassword": "{your-password}" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" + } + } + } + ] + } + } + ] + }, + "scheduledEventsProfile" : { + "terminateNotificationProfile" : { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "name": "{vmss-name}", + "properties": { + "singlePlacementGroup": true, + "overprovision": true, + "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7", + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "dnsSettings": { + "dnsServers": [] + }, + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" + }, + "privateIPAddressVersion": "IPv4" + } + } + ], + "enableAcceleratedNetworking": false + } + } + ] + }, + "scheduledEventsProfile" : { + "terminateNotificationProfile" : { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + }, + "provisioningState": "Creating" + }, + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" + } + }, + "201": { + "body": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "name": "{vmss-name}", + "properties": { + "singlePlacementGroup": true, + "overprovision": true, + "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7", + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "dnsSettings": { + "dnsServers": [] + }, + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" + }, + "privateIPAddressVersion": "IPv4" + } + } + ], + "enableAcceleratedNetworking": false + } + } + ] + }, + "scheduledEventsProfile" : { + "terminateNotificationProfile" : { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + }, + "provisioningState": "Creating" + }, + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" + } + } + } +} \ No newline at end of file From e6d6e3f55aa56f5b97a99e6a74c646b574c1ded2 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Fri, 2 Aug 2019 12:35:40 +0800 Subject: [PATCH 425/495] fixed nextLink in servicebus (#6797) --- .../examples/SBNameSpaceAuthorizationRuleListAll.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json index 14537ab91c48..7347ec8c6444 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json @@ -33,7 +33,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } From f496662b0ae0e90c01fe63a2ff493581fb72c9c4 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Fri, 2 Aug 2019 12:35:59 +0800 Subject: [PATCH 426/495] fixed next link in storagesync (#6810) --- .../preview/2017-06-05-preview/examples/Operations_List.json | 2 +- .../stable/2018-04-02/examples/Operations_List.json | 2 +- .../stable/2018-07-01/examples/Operations_List.json | 2 +- .../stable/2018-10-01/examples/Operations_List.json | 2 +- .../stable/2019-02-01/examples/Operations_List.json | 2 +- .../stable/2019-03-01/examples/Operations_List.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json index 75342a96a6c7..de5d412a4782 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json index 7a9bc3dc46ea..03befb20d66d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json index fe29a5d1b330..3e87eb100b63 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json index 3a3f072b5685..b1fddbdce161 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json index 959524472d3d..3658a084b51f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json index d027bda3e3d6..88e9eb6659af 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } From 25cafcc80fa344cb5559bfeca5b2c8608b0a127f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 01:14:08 -0400 Subject: [PATCH 427/495] fix: storSimple1200Series model validation errors (#6849) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/AccessControlRecordsCreateOrUpdate.json | 4 +--- .../2016-10-01/examples/AccessControlRecordsDelete.json | 4 +--- .../stable/2016-10-01/examples/AlertsClear.json | 4 +--- .../stable/2016-10-01/examples/AlertsSendTestEmail.json | 4 +--- .../examples/BackupScheduleGroupsCreateOrUpdate.json | 4 +--- .../2016-10-01/examples/BackupScheduleGroupsDelete.json | 4 +--- .../stable/2016-10-01/examples/BackupsClone.json | 8 ++------ .../stable/2016-10-01/examples/BackupsDelete.json | 4 +--- .../2016-10-01/examples/ChapSettingsCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/ChapSettingsDelete.json | 8 ++------ .../examples/DevicesCreateOrUpdateAlertSettings.json | 4 +--- .../examples/DevicesCreateOrUpdateSecuritySettings.json | 8 ++------ .../stable/2016-10-01/examples/DevicesDeactivate.json | 4 +--- .../stable/2016-10-01/examples/DevicesDelete.json | 4 +--- .../2016-10-01/examples/DevicesDownloadUpdates.json | 4 +--- .../stable/2016-10-01/examples/DevicesFailover.json | 8 ++------ .../stable/2016-10-01/examples/DevicesInstallUpdates.json | 4 +--- .../stable/2016-10-01/examples/DevicesPatch.json | 4 +--- .../stable/2016-10-01/examples/DevicesScanForUpdates.json | 8 ++------ .../stable/2016-10-01/examples/FileServersBackupNow.json | 4 +--- .../2016-10-01/examples/FileServersCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/FileServersDelete.json | 4 +--- .../2016-10-01/examples/FileSharesCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/FileSharesDelete.json | 4 +--- .../2016-10-01/examples/IscsiDisksCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/IscsiDisksDelete.json | 4 +--- .../stable/2016-10-01/examples/IscsiServersBackupNow.json | 4 +--- .../2016-10-01/examples/IscsiServersCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/IscsiServersDelete.json | 4 +--- .../stable/2016-10-01/examples/ManagersDelete.json | 4 +--- .../2016-10-01/examples/ManagersDeleteExtendedInfo.json | 4 +--- .../examples/StorageAccountCredentialsCreateOrUpdate.json | 4 +--- .../examples/StorageAccountCredentialsDelete.json | 4 +--- .../2016-10-01/examples/StorageDomainsCreateOrUpdate.json | 4 +--- .../stable/2016-10-01/examples/StorageDomainsDelete.json | 4 +--- 35 files changed, 40 insertions(+), 120 deletions(-) diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json index 2d061e53b8c8..6a3a269d6209 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -48,8 +48,6 @@ "type": "Microsoft.StorSimple/managers/accessControlRecords" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json index bc16eaf2aa23..5b8c01f8cbba 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json index a89870bfcfc2..3bb3fe23a9c3 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json @@ -29,8 +29,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json index 41e10692706d..af925c5b4520 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json @@ -30,8 +30,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json index c7d173b4a935..33b2b685f1df 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json @@ -55,8 +55,6 @@ "type": "Microsoft.StorSimple/managers/devices/backupScheduleGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json index 0dfb75402c8a..ff35a2bf9024 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json index 5aa5a38c12cc..1b83dfc49d75 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json @@ -53,11 +53,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json index 928ccb9ef2bb..2bd56cc4f620 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json index e2ac7d0f0763..56d706fe76cb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json @@ -57,8 +57,6 @@ "type": "Microsoft.StorSimple/managers/devices/chapSettings" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json index 2a49f6b662e9..71472ac1df3f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json @@ -18,11 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json index e8848ea7ffd7..a49bb42597a8 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json @@ -49,8 +49,6 @@ "type": "Microsoft.StorSimple/managers/devices/alertSettings" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json index b64d90ac61b6..753ecf45fdbd 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json @@ -16,11 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json index 8f1583571bb2..50faf6b1cec4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json @@ -7,9 +7,7 @@ "api-version": "2016-10-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json index 8f1583571bb2..50faf6b1cec4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json @@ -7,9 +7,7 @@ "api-version": "2016-10-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json index 7847602ec1dc..34c945ebf351 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json @@ -16,11 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json index 4533d3cbb157..1c9b312a9940 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json @@ -34,8 +34,6 @@ "type": "Microsoft.StorSimple/managers/devices" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json index d3ca658cdb5b..435918306cdb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json @@ -17,11 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json index 626c6cb198b9..130f5be93537 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json index ca67541a5c4c..81a7900c1284 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json @@ -55,8 +55,6 @@ "type": "Microsoft.StorSimple/managers/devices/fileServers" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json index 4d88975ec22e..fe40d53e85c0 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json index 934f819e383d..4036c6f247eb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json @@ -62,8 +62,6 @@ "type": "Microsoft.StorSimple/managers/devices/fileServers/shares" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json index 321633dbccf6..39b1d814bb19 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json index ca4db292a6e6..1531924ffb18 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json @@ -62,8 +62,6 @@ "type": "Microsoft.StorSimple/managers/devices/iscsiServers/disks" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json index e9887ffdacfb..2d9708633f3c 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json index eefa7e45f1c9..f0268101f918 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json index deb51e92be5a..39413b632d2f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json @@ -57,8 +57,6 @@ "type": "Microsoft.StorSimple/managers/devices/iscsiServers" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json index dbab611876b2..d325e72b4720 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json index 4371a7be4ca2..86115e8b10f6 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json @@ -6,9 +6,7 @@ "api-version": "2017-06-01" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json index 21809246b735..24a0263eb712 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json @@ -6,8 +6,6 @@ "api-version": "2016-10-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json index ed9a737cb881..c1f0f58aec3d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -61,8 +61,6 @@ "type": "Microsoft.StorSimple/managers/storageAccountCredentials" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json index feff0636054a..32ea50476e10 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json index 8737f10beb67..805e5e07bdd4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json @@ -54,8 +54,6 @@ "type": "Microsoft.StorSimple/managers/storageDomains" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json index 01ee96e13103..66346ff401d2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } From 43bbc32158d45bb40fa8d68e651bd51dcf66fdc4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 01:16:51 -0400 Subject: [PATCH 428/495] fix: automation model validation errors (#6782) - Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE errors - "path" -> "folderPath" --- .../listSoftwareUpdateConfigurations.json | 246 +- .../listSoftwareUpdateConfigurationsByVm.json | 148 +- .../sourceControl/getAllSourceControls.json | 154 +- .../sourceControl/getSourceControl.json | 26 +- .../2015-10-31/examples/getVariable.json | 18 +- .../examples/listVariables_First100.json | 2208 +++++++++-------- .../examples/listVariables_Next100.json | 246 +- .../2015-10-31/examples/updateRunbook.json | 48 +- 8 files changed, 1555 insertions(+), 1539 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json index 82e3d16a6598..c8d85100fe6f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json @@ -8,137 +8,139 @@ }, "responses": { "200": { - "value": [ - { - "name": "testpatch-01", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", - "excludedKbNumbers": null - }, - "linux": null, - "targets": { - "azureQueries": [ - { - "scope": [ - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" - ], - "tagSettings": { - "tags": { - "tag1": [ - "tag1Value1", - "tag1Value2" - ], - "tag2": [ - "tag2Value1", - "tag2Value2" - ] + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" }, - "filterOperator": "All" - }, - "locations": null - } - ] + "locations": null + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null }, - "duration": "PT2H", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Week", - "startTime": "2017-10-19T12:22:00-07:00", - "creationTime": "2017-10-19T18:54:50.5233333+00:00", - "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", - "provisioningState": "Succeeded", - "nextRun": "2017-10-23T12:22:00-07:00" - } - }, - { - "name": "testpatch-02", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, FeaturePack", - "excludedKbNumbers": null - }, - "linux": null, - "targets": { - "azureQueries": [ - { - "scope": [ - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" - ], - "tagSettings": { - "tags": { - "tag1": [ - "tag1Value1", - "tag1Value2" - ], - "tag2": [ - "tag2Value1", - "tag2Value2" - ] + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" }, - "filterOperator": "All" - }, - "locations": [ - "Japan East", - "UK South" - ] - } - ] + "locations": [ + "Japan East", + "UK South" + ] + } + ] + }, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null }, - "duration": "PT2H30M", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Hour", - "startTime": "2018-05-05T12:26:00-07:00", - "creationTime": "2017-08-11T21:52:02.7733333+00:00", - "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", - "provisioningState": "Succeeded", - "nextRun": "2018-05-05T12:26:00-07:00" + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json index b530088216c7..64c2e4fe21df 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json @@ -9,86 +9,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "testpatch-01", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", - "excludedKbNumbers": null + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null }, - "linux": null, - "duration": "PT2H", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Week", - "startTime": "2017-10-19T12:22:00-07:00", - "creationTime": "2017-10-19T18:54:50.5233333+00:00", - "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", - "provisioningState": "Succeeded", - "nextRun": "2017-10-23T12:22:00-07:00" - } - }, - { - "name": "testpatch-02", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, FeaturePack", - "excludedKbNumbers": null + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null }, - "linux": null, - "duration": "PT2H30M", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Hour", - "startTime": "2018-05-05T12:26:00-07:00", - "creationTime": "2017-08-11T21:52:02.7733333+00:00", - "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", - "provisioningState": "Succeeded", - "nextRun": "2018-05-05T12:26:00-07:00" + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json index b0205a86f424..033059e52b9f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json @@ -7,83 +7,85 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1", - "name": "sampleSourceControl1", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1", + "name": "sampleSourceControl1", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2", + "name": "sampleSourceControl2", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3", + "name": "sampleSourceControl3", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4", + "name": "sampleSourceControl4", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5", + "name": "sampleSourceControl5", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2", - "name": "sampleSourceControl2", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3", - "name": "sampleSourceControl3", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4", - "name": "sampleSourceControl4", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5", - "name": "sampleSourceControl5", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json index 74b0cd612a54..1f0f9be130d3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json @@ -8,18 +8,20 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", - "name": "sampleSourceControl", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell", - "branch": "master", - "path": "/folderOne/folderTwo", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json index 073ee0cee2fa..ff8dbfbce4c3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", - "name": "sampleVariable", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "isEncrypted": false, - "value": "\"ComputerName.domain.com\"", - "description": "my description" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "isEncrypted": false, + "value": "\"ComputerName.domain.com\"", + "description": "my description" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json index 8e82d07ddd23..66a9a1c9a55d 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json @@ -7,1109 +7,1111 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", - "name": "sampleVariable", - "properties": { - "creationTime": "2017-03-28T23:00:53.363+00:00", - "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", - "isEncrypted": false, - "value": "\"ComputerName3.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0", - "name": "sampleVariable0", - "properties": { - "creationTime": "2017-03-28T23:00:58.847+00:00", - "lastModifiedTime": "2017-03-28T23:00:58.847+00:00", - "isEncrypted": false, - "value": "\"server0.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1", - "name": "sampleVariable1", - "properties": { - "creationTime": "2017-03-28T23:00:59.69+00:00", - "lastModifiedTime": "2017-03-28T23:00:59.69+00:00", - "isEncrypted": false, - "value": "\"server1.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10", - "name": "sampleVariable10", - "properties": { - "creationTime": "2017-03-28T23:01:08.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:08.393+00:00", - "isEncrypted": false, - "value": "\"server10.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100", - "name": "sampleVariable100", - "properties": { - "creationTime": "2017-03-28T23:02:27.38+00:00", - "lastModifiedTime": "2017-03-28T23:02:27.38+00:00", - "isEncrypted": false, - "value": "\"server100.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101", - "name": "sampleVariable101", - "properties": { - "creationTime": "2017-03-28T23:02:28.223+00:00", - "lastModifiedTime": "2017-03-28T23:02:28.223+00:00", - "isEncrypted": false, - "value": "\"server101.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102", - "name": "sampleVariable102", - "properties": { - "creationTime": "2017-03-28T23:02:28.99+00:00", - "lastModifiedTime": "2017-03-28T23:02:28.99+00:00", - "isEncrypted": false, - "value": "\"server102.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103", - "name": "sampleVariable103", - "properties": { - "creationTime": "2017-03-28T23:02:29.77+00:00", - "lastModifiedTime": "2017-03-28T23:02:29.77+00:00", - "isEncrypted": false, - "value": "\"server103.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104", - "name": "sampleVariable104", - "properties": { - "creationTime": "2017-03-28T23:02:30.647+00:00", - "lastModifiedTime": "2017-03-28T23:02:30.647+00:00", - "isEncrypted": false, - "value": "\"server104.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105", - "name": "sampleVariable105", - "properties": { - "creationTime": "2017-03-28T23:02:31.49+00:00", - "lastModifiedTime": "2017-03-28T23:02:31.49+00:00", - "isEncrypted": false, - "value": "\"server105.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106", - "name": "sampleVariable106", - "properties": { - "creationTime": "2017-03-28T23:02:32.303+00:00", - "lastModifiedTime": "2017-03-28T23:02:32.303+00:00", - "isEncrypted": false, - "value": "\"server106.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107", - "name": "sampleVariable107", - "properties": { - "creationTime": "2017-03-28T23:02:34.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:34.583+00:00", - "isEncrypted": false, - "value": "\"server107.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108", - "name": "sampleVariable108", - "properties": { - "creationTime": "2017-03-28T23:02:35.367+00:00", - "lastModifiedTime": "2017-03-28T23:02:35.367+00:00", - "isEncrypted": false, - "value": "\"server108.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109", - "name": "sampleVariable109", - "properties": { - "creationTime": "2017-03-28T23:02:36.147+00:00", - "lastModifiedTime": "2017-03-28T23:02:36.147+00:00", - "isEncrypted": false, - "value": "\"server109.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11", - "name": "sampleVariable11", - "properties": { - "creationTime": "2017-03-28T23:01:09.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:09.27+00:00", - "isEncrypted": false, - "value": "\"server11.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12", - "name": "sampleVariable12", - "properties": { - "creationTime": "2017-03-28T23:01:10.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:10.16+00:00", - "isEncrypted": false, - "value": "\"server12.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13", - "name": "sampleVariable13", - "properties": { - "creationTime": "2017-03-28T23:01:11.003+00:00", - "lastModifiedTime": "2017-03-28T23:01:11.003+00:00", - "isEncrypted": false, - "value": "\"server13.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14", - "name": "sampleVariable14", - "properties": { - "creationTime": "2017-03-28T23:01:11.863+00:00", - "lastModifiedTime": "2017-03-28T23:01:11.863+00:00", - "isEncrypted": false, - "value": "\"server14.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15", - "name": "sampleVariable15", - "properties": { - "creationTime": "2017-03-28T23:01:12.74+00:00", - "lastModifiedTime": "2017-03-28T23:01:12.74+00:00", - "isEncrypted": false, - "value": "\"server15.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16", - "name": "sampleVariable16", - "properties": { - "creationTime": "2017-03-28T23:01:13.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:13.597+00:00", - "isEncrypted": false, - "value": "\"server16.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17", - "name": "sampleVariable17", - "properties": { - "creationTime": "2017-03-28T23:01:16.287+00:00", - "lastModifiedTime": "2017-03-28T23:01:16.287+00:00", - "isEncrypted": false, - "value": "\"server17.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18", - "name": "sampleVariable18", - "properties": { - "creationTime": "2017-03-28T23:01:17.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:17.16+00:00", - "isEncrypted": false, - "value": "\"server18.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19", - "name": "sampleVariable19", - "properties": { - "creationTime": "2017-03-28T23:01:18.02+00:00", - "lastModifiedTime": "2017-03-28T23:01:18.02+00:00", - "isEncrypted": false, - "value": "\"server19.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2", - "name": "sampleVariable2", - "properties": { - "creationTime": "2017-03-28T23:01:00.567+00:00", - "lastModifiedTime": "2017-03-28T23:01:00.567+00:00", - "isEncrypted": false, - "value": "\"server2.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20", - "name": "sampleVariable20", - "properties": { - "creationTime": "2017-03-28T23:01:18.847+00:00", - "lastModifiedTime": "2017-03-28T23:01:18.847+00:00", - "isEncrypted": false, - "value": "\"server20.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21", - "name": "sampleVariable21", - "properties": { - "creationTime": "2017-03-28T23:01:19.723+00:00", - "lastModifiedTime": "2017-03-28T23:01:19.723+00:00", - "isEncrypted": false, - "value": "\"server21.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22", - "name": "sampleVariable22", - "properties": { - "creationTime": "2017-03-28T23:01:21.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:21.597+00:00", - "isEncrypted": false, - "value": "\"server22.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23", - "name": "sampleVariable23", - "properties": { - "creationTime": "2017-03-28T23:01:22.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:22.393+00:00", - "isEncrypted": false, - "value": "\"server23.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24", - "name": "sampleVariable24", - "properties": { - "creationTime": "2017-03-28T23:01:23.207+00:00", - "lastModifiedTime": "2017-03-28T23:01:23.207+00:00", - "isEncrypted": false, - "value": "\"server24.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25", - "name": "sampleVariable25", - "properties": { - "creationTime": "2017-03-28T23:01:23.973+00:00", - "lastModifiedTime": "2017-03-28T23:01:23.973+00:00", - "isEncrypted": false, - "value": "\"server25.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26", - "name": "sampleVariable26", - "properties": { - "creationTime": "2017-03-28T23:01:24.8+00:00", - "lastModifiedTime": "2017-03-28T23:01:24.8+00:00", - "isEncrypted": false, - "value": "\"server26.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27", - "name": "sampleVariable27", - "properties": { - "creationTime": "2017-03-28T23:01:25.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:25.597+00:00", - "isEncrypted": false, - "value": "\"server27.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28", - "name": "sampleVariable28", - "properties": { - "creationTime": "2017-03-28T23:01:26.55+00:00", - "lastModifiedTime": "2017-03-28T23:01:26.55+00:00", - "isEncrypted": false, - "value": "\"server28.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29", - "name": "sampleVariable29", - "properties": { - "creationTime": "2017-03-28T23:01:27.457+00:00", - "lastModifiedTime": "2017-03-28T23:01:27.457+00:00", - "isEncrypted": false, - "value": "\"server29.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3", - "name": "sampleVariable3", - "properties": { - "creationTime": "2017-03-28T23:01:01.427+00:00", - "lastModifiedTime": "2017-03-28T23:01:01.427+00:00", - "isEncrypted": false, - "value": "\"server3.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30", - "name": "sampleVariable30", - "properties": { - "creationTime": "2017-03-28T23:01:28.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:28.253+00:00", - "isEncrypted": false, - "value": "\"server30.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31", - "name": "sampleVariable31", - "properties": { - "creationTime": "2017-03-28T23:01:29.05+00:00", - "lastModifiedTime": "2017-03-28T23:01:29.05+00:00", - "isEncrypted": false, - "value": "\"server31.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32", - "name": "sampleVariable32", - "properties": { - "creationTime": "2017-03-28T23:01:29.817+00:00", - "lastModifiedTime": "2017-03-28T23:01:29.817+00:00", - "isEncrypted": false, - "value": "\"server32.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33", - "name": "sampleVariable33", - "properties": { - "creationTime": "2017-03-28T23:01:30.643+00:00", - "lastModifiedTime": "2017-03-28T23:01:30.643+00:00", - "isEncrypted": false, - "value": "\"server33.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34", - "name": "sampleVariable34", - "properties": { - "creationTime": "2017-03-28T23:01:31.473+00:00", - "lastModifiedTime": "2017-03-28T23:01:31.473+00:00", - "isEncrypted": false, - "value": "\"server34.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35", - "name": "sampleVariable35", - "properties": { - "creationTime": "2017-03-28T23:01:32.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:32.253+00:00", - "isEncrypted": false, - "value": "\"server35.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36", - "name": "sampleVariable36", - "properties": { - "creationTime": "2017-03-28T23:01:33.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:33.27+00:00", - "isEncrypted": false, - "value": "\"server36.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37", - "name": "sampleVariable37", - "properties": { - "creationTime": "2017-03-28T23:01:34.037+00:00", - "lastModifiedTime": "2017-03-28T23:01:34.037+00:00", - "isEncrypted": false, - "value": "\"server37.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38", - "name": "sampleVariable38", - "properties": { - "creationTime": "2017-03-28T23:01:34.817+00:00", - "lastModifiedTime": "2017-03-28T23:01:34.817+00:00", - "isEncrypted": false, - "value": "\"server38.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39", - "name": "sampleVariable39", - "properties": { - "creationTime": "2017-03-28T23:01:35.613+00:00", - "lastModifiedTime": "2017-03-28T23:01:35.613+00:00", - "isEncrypted": false, - "value": "\"server39.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4", - "name": "sampleVariable4", - "properties": { - "creationTime": "2017-03-28T23:01:02.38+00:00", - "lastModifiedTime": "2017-03-28T23:01:02.38+00:00", - "isEncrypted": false, - "value": "\"server4.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40", - "name": "sampleVariable40", - "properties": { - "creationTime": "2017-03-28T23:01:36.397+00:00", - "lastModifiedTime": "2017-03-28T23:01:36.397+00:00", - "isEncrypted": false, - "value": "\"server40.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41", - "name": "sampleVariable41", - "properties": { - "creationTime": "2017-03-28T23:01:37.19+00:00", - "lastModifiedTime": "2017-03-28T23:01:37.19+00:00", - "isEncrypted": false, - "value": "\"server41.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42", - "name": "sampleVariable42", - "properties": { - "creationTime": "2017-03-28T23:01:38.037+00:00", - "lastModifiedTime": "2017-03-28T23:01:38.037+00:00", - "isEncrypted": false, - "value": "\"server42.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43", - "name": "sampleVariable43", - "properties": { - "creationTime": "2017-03-28T23:01:38.88+00:00", - "lastModifiedTime": "2017-03-28T23:01:38.88+00:00", - "isEncrypted": false, - "value": "\"server43.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44", - "name": "sampleVariable44", - "properties": { - "creationTime": "2017-03-28T23:01:39.707+00:00", - "lastModifiedTime": "2017-03-28T23:01:39.707+00:00", - "isEncrypted": false, - "value": "\"server44.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45", - "name": "sampleVariable45", - "properties": { - "creationTime": "2017-03-28T23:01:41.457+00:00", - "lastModifiedTime": "2017-03-28T23:01:41.457+00:00", - "isEncrypted": false, - "value": "\"server45.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46", - "name": "sampleVariable46", - "properties": { - "creationTime": "2017-03-28T23:01:42.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:42.253+00:00", - "isEncrypted": false, - "value": "\"server46.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47", - "name": "sampleVariable47", - "properties": { - "creationTime": "2017-03-28T23:01:43.083+00:00", - "lastModifiedTime": "2017-03-28T23:01:43.083+00:00", - "isEncrypted": false, - "value": "\"server47.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48", - "name": "sampleVariable48", - "properties": { - "creationTime": "2017-03-28T23:01:43.957+00:00", - "lastModifiedTime": "2017-03-28T23:01:43.957+00:00", - "isEncrypted": false, - "value": "\"server48.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49", - "name": "sampleVariable49", - "properties": { - "creationTime": "2017-03-28T23:01:44.74+00:00", - "lastModifiedTime": "2017-03-28T23:01:44.74+00:00", - "isEncrypted": false, - "value": "\"server49.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5", - "name": "sampleVariable5", - "properties": { - "creationTime": "2017-03-28T23:01:03.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:03.253+00:00", - "isEncrypted": false, - "value": "\"server5.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50", - "name": "sampleVariable50", - "properties": { - "creationTime": "2017-03-28T23:01:46.35+00:00", - "lastModifiedTime": "2017-03-28T23:01:46.35+00:00", - "isEncrypted": false, - "value": "\"server50.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51", - "name": "sampleVariable51", - "properties": { - "creationTime": "2017-03-28T23:01:47.1+00:00", - "lastModifiedTime": "2017-03-28T23:01:47.1+00:00", - "isEncrypted": false, - "value": "\"server51.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52", - "name": "sampleVariable52", - "properties": { - "creationTime": "2017-03-28T23:01:47.88+00:00", - "lastModifiedTime": "2017-03-28T23:01:47.88+00:00", - "isEncrypted": false, - "value": "\"server52.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53", - "name": "sampleVariable53", - "properties": { - "creationTime": "2017-03-28T23:01:48.677+00:00", - "lastModifiedTime": "2017-03-28T23:01:48.677+00:00", - "isEncrypted": false, - "value": "\"server53.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54", - "name": "sampleVariable54", - "properties": { - "creationTime": "2017-03-28T23:01:49.473+00:00", - "lastModifiedTime": "2017-03-28T23:01:49.473+00:00", - "isEncrypted": false, - "value": "\"server54.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55", - "name": "sampleVariable55", - "properties": { - "creationTime": "2017-03-28T23:01:51.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:51.16+00:00", - "isEncrypted": false, - "value": "\"server55.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56", - "name": "sampleVariable56", - "properties": { - "creationTime": "2017-03-28T23:01:51.927+00:00", - "lastModifiedTime": "2017-03-28T23:01:51.927+00:00", - "isEncrypted": false, - "value": "\"server56.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57", - "name": "sampleVariable57", - "properties": { - "creationTime": "2017-03-28T23:01:52.757+00:00", - "lastModifiedTime": "2017-03-28T23:01:52.757+00:00", - "isEncrypted": false, - "value": "\"server57.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58", - "name": "sampleVariable58", - "properties": { - "creationTime": "2017-03-28T23:01:53.55+00:00", - "lastModifiedTime": "2017-03-28T23:01:53.55+00:00", - "isEncrypted": false, - "value": "\"server58.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59", - "name": "sampleVariable59", - "properties": { - "creationTime": "2017-03-28T23:01:54.317+00:00", - "lastModifiedTime": "2017-03-28T23:01:54.317+00:00", - "isEncrypted": false, - "value": "\"server59.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6", - "name": "sampleVariable6", - "properties": { - "creationTime": "2017-03-28T23:01:04.143+00:00", - "lastModifiedTime": "2017-03-28T23:01:04.143+00:00", - "isEncrypted": false, - "value": "\"server6.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60", - "name": "sampleVariable60", - "properties": { - "creationTime": "2017-03-28T23:01:55.177+00:00", - "lastModifiedTime": "2017-03-28T23:01:55.177+00:00", - "isEncrypted": false, - "value": "\"server60.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61", - "name": "sampleVariable61", - "properties": { - "creationTime": "2017-03-28T23:01:56.583+00:00", - "lastModifiedTime": "2017-03-28T23:01:56.583+00:00", - "isEncrypted": false, - "value": "\"server61.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62", - "name": "sampleVariable62", - "properties": { - "creationTime": "2017-03-28T23:01:57.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:57.27+00:00", - "isEncrypted": false, - "value": "\"server62.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63", - "name": "sampleVariable63", - "properties": { - "creationTime": "2017-03-28T23:01:57.943+00:00", - "lastModifiedTime": "2017-03-28T23:01:57.943+00:00", - "isEncrypted": false, - "value": "\"server63.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64", - "name": "sampleVariable64", - "properties": { - "creationTime": "2017-03-28T23:01:58.66+00:00", - "lastModifiedTime": "2017-03-28T23:01:58.66+00:00", - "isEncrypted": false, - "value": "\"server64.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65", - "name": "sampleVariable65", - "properties": { - "creationTime": "2017-03-28T23:01:59.35+00:00", - "lastModifiedTime": "2017-03-28T23:01:59.35+00:00", - "isEncrypted": false, - "value": "\"server65.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66", - "name": "sampleVariable66", - "properties": { - "creationTime": "2017-03-28T23:02:00.02+00:00", - "lastModifiedTime": "2017-03-28T23:02:00.02+00:00", - "isEncrypted": false, - "value": "\"server66.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67", - "name": "sampleVariable67", - "properties": { - "creationTime": "2017-03-28T23:02:01.507+00:00", - "lastModifiedTime": "2017-03-28T23:02:01.507+00:00", - "isEncrypted": false, - "value": "\"server67.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68", - "name": "sampleVariable68", - "properties": { - "creationTime": "2017-03-28T23:02:02.177+00:00", - "lastModifiedTime": "2017-03-28T23:02:02.177+00:00", - "isEncrypted": false, - "value": "\"server68.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69", - "name": "sampleVariable69", - "properties": { - "creationTime": "2017-03-28T23:02:02.863+00:00", - "lastModifiedTime": "2017-03-28T23:02:02.863+00:00", - "isEncrypted": false, - "value": "\"server69.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7", - "name": "sampleVariable7", - "properties": { - "creationTime": "2017-03-28T23:01:05.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:05.393+00:00", - "isEncrypted": false, - "value": "\"server7.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70", - "name": "sampleVariable70", - "properties": { - "creationTime": "2017-03-28T23:02:03.6+00:00", - "lastModifiedTime": "2017-03-28T23:02:03.6+00:00", - "isEncrypted": false, - "value": "\"server70.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71", - "name": "sampleVariable71", - "properties": { - "creationTime": "2017-03-28T23:02:04.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:04.333+00:00", - "isEncrypted": false, - "value": "\"server71.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72", - "name": "sampleVariable72", - "properties": { - "creationTime": "2017-03-28T23:02:05.1+00:00", - "lastModifiedTime": "2017-03-28T23:02:05.1+00:00", - "isEncrypted": false, - "value": "\"server72.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73", - "name": "sampleVariable73", - "properties": { - "creationTime": "2017-03-28T23:02:05.833+00:00", - "lastModifiedTime": "2017-03-28T23:02:05.833+00:00", - "isEncrypted": false, - "value": "\"server73.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74", - "name": "sampleVariable74", - "properties": { - "creationTime": "2017-03-28T23:02:06.647+00:00", - "lastModifiedTime": "2017-03-28T23:02:06.647+00:00", - "isEncrypted": false, - "value": "\"server74.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75", - "name": "sampleVariable75", - "properties": { - "creationTime": "2017-03-28T23:02:07.363+00:00", - "lastModifiedTime": "2017-03-28T23:02:07.363+00:00", - "isEncrypted": false, - "value": "\"server75.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76", - "name": "sampleVariable76", - "properties": { - "creationTime": "2017-03-28T23:02:08.1+00:00", - "lastModifiedTime": "2017-03-28T23:02:08.1+00:00", - "isEncrypted": false, - "value": "\"server76.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77", - "name": "sampleVariable77", - "properties": { - "creationTime": "2017-03-28T23:02:08.82+00:00", - "lastModifiedTime": "2017-03-28T23:02:08.82+00:00", - "isEncrypted": false, - "value": "\"server77.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78", - "name": "sampleVariable78", - "properties": { - "creationTime": "2017-03-28T23:02:09.553+00:00", - "lastModifiedTime": "2017-03-28T23:02:09.553+00:00", - "isEncrypted": false, - "value": "\"server78.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79", - "name": "sampleVariable79", - "properties": { - "creationTime": "2017-03-28T23:02:10.63+00:00", - "lastModifiedTime": "2017-03-28T23:02:10.63+00:00", - "isEncrypted": false, - "value": "\"server79.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8", - "name": "sampleVariable8", - "properties": { - "creationTime": "2017-03-28T23:01:06.52+00:00", - "lastModifiedTime": "2017-03-28T23:01:06.52+00:00", - "isEncrypted": false, - "value": "\"server8.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80", - "name": "sampleVariable80", - "properties": { - "creationTime": "2017-03-28T23:02:11.32+00:00", - "lastModifiedTime": "2017-03-28T23:02:11.32+00:00", - "isEncrypted": false, - "value": "\"server80.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81", - "name": "sampleVariable81", - "properties": { - "creationTime": "2017-03-28T23:02:12.02+00:00", - "lastModifiedTime": "2017-03-28T23:02:12.02+00:00", - "isEncrypted": false, - "value": "\"server81.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82", - "name": "sampleVariable82", - "properties": { - "creationTime": "2017-03-28T23:02:12.723+00:00", - "lastModifiedTime": "2017-03-28T23:02:12.723+00:00", - "isEncrypted": false, - "value": "\"server82.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83", - "name": "sampleVariable83", - "properties": { - "creationTime": "2017-03-28T23:02:13.443+00:00", - "lastModifiedTime": "2017-03-28T23:02:13.443+00:00", - "isEncrypted": false, - "value": "\"server83.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84", - "name": "sampleVariable84", - "properties": { - "creationTime": "2017-03-28T23:02:14.16+00:00", - "lastModifiedTime": "2017-03-28T23:02:14.16+00:00", - "isEncrypted": false, - "value": "\"server84.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85", - "name": "sampleVariable85", - "properties": { - "creationTime": "2017-03-28T23:02:15.177+00:00", - "lastModifiedTime": "2017-03-28T23:02:15.177+00:00", - "isEncrypted": false, - "value": "\"server85.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86", - "name": "sampleVariable86", - "properties": { - "creationTime": "2017-03-28T23:02:16.053+00:00", - "lastModifiedTime": "2017-03-28T23:02:16.053+00:00", - "isEncrypted": false, - "value": "\"server86.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87", - "name": "sampleVariable87", - "properties": { - "creationTime": "2017-03-28T23:02:16.82+00:00", - "lastModifiedTime": "2017-03-28T23:02:16.82+00:00", - "isEncrypted": false, - "value": "\"server87.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88", - "name": "sampleVariable88", - "properties": { - "creationTime": "2017-03-28T23:02:17.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:17.583+00:00", - "isEncrypted": false, - "value": "\"server88.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89", - "name": "sampleVariable89", - "properties": { - "creationTime": "2017-03-28T23:02:18.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:18.333+00:00", - "isEncrypted": false, - "value": "\"server89.domain.com\"", - "description": null - } - } - ], - "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100" + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T23:00:53.363+00:00", + "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", + "isEncrypted": false, + "value": "\"ComputerName3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0", + "name": "sampleVariable0", + "properties": { + "creationTime": "2017-03-28T23:00:58.847+00:00", + "lastModifiedTime": "2017-03-28T23:00:58.847+00:00", + "isEncrypted": false, + "value": "\"server0.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1", + "name": "sampleVariable1", + "properties": { + "creationTime": "2017-03-28T23:00:59.69+00:00", + "lastModifiedTime": "2017-03-28T23:00:59.69+00:00", + "isEncrypted": false, + "value": "\"server1.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10", + "name": "sampleVariable10", + "properties": { + "creationTime": "2017-03-28T23:01:08.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:08.393+00:00", + "isEncrypted": false, + "value": "\"server10.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100", + "name": "sampleVariable100", + "properties": { + "creationTime": "2017-03-28T23:02:27.38+00:00", + "lastModifiedTime": "2017-03-28T23:02:27.38+00:00", + "isEncrypted": false, + "value": "\"server100.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101", + "name": "sampleVariable101", + "properties": { + "creationTime": "2017-03-28T23:02:28.223+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.223+00:00", + "isEncrypted": false, + "value": "\"server101.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102", + "name": "sampleVariable102", + "properties": { + "creationTime": "2017-03-28T23:02:28.99+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.99+00:00", + "isEncrypted": false, + "value": "\"server102.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103", + "name": "sampleVariable103", + "properties": { + "creationTime": "2017-03-28T23:02:29.77+00:00", + "lastModifiedTime": "2017-03-28T23:02:29.77+00:00", + "isEncrypted": false, + "value": "\"server103.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104", + "name": "sampleVariable104", + "properties": { + "creationTime": "2017-03-28T23:02:30.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:30.647+00:00", + "isEncrypted": false, + "value": "\"server104.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105", + "name": "sampleVariable105", + "properties": { + "creationTime": "2017-03-28T23:02:31.49+00:00", + "lastModifiedTime": "2017-03-28T23:02:31.49+00:00", + "isEncrypted": false, + "value": "\"server105.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106", + "name": "sampleVariable106", + "properties": { + "creationTime": "2017-03-28T23:02:32.303+00:00", + "lastModifiedTime": "2017-03-28T23:02:32.303+00:00", + "isEncrypted": false, + "value": "\"server106.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107", + "name": "sampleVariable107", + "properties": { + "creationTime": "2017-03-28T23:02:34.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:34.583+00:00", + "isEncrypted": false, + "value": "\"server107.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108", + "name": "sampleVariable108", + "properties": { + "creationTime": "2017-03-28T23:02:35.367+00:00", + "lastModifiedTime": "2017-03-28T23:02:35.367+00:00", + "isEncrypted": false, + "value": "\"server108.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109", + "name": "sampleVariable109", + "properties": { + "creationTime": "2017-03-28T23:02:36.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:36.147+00:00", + "isEncrypted": false, + "value": "\"server109.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11", + "name": "sampleVariable11", + "properties": { + "creationTime": "2017-03-28T23:01:09.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:09.27+00:00", + "isEncrypted": false, + "value": "\"server11.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12", + "name": "sampleVariable12", + "properties": { + "creationTime": "2017-03-28T23:01:10.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:10.16+00:00", + "isEncrypted": false, + "value": "\"server12.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13", + "name": "sampleVariable13", + "properties": { + "creationTime": "2017-03-28T23:01:11.003+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.003+00:00", + "isEncrypted": false, + "value": "\"server13.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14", + "name": "sampleVariable14", + "properties": { + "creationTime": "2017-03-28T23:01:11.863+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.863+00:00", + "isEncrypted": false, + "value": "\"server14.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15", + "name": "sampleVariable15", + "properties": { + "creationTime": "2017-03-28T23:01:12.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:12.74+00:00", + "isEncrypted": false, + "value": "\"server15.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16", + "name": "sampleVariable16", + "properties": { + "creationTime": "2017-03-28T23:01:13.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:13.597+00:00", + "isEncrypted": false, + "value": "\"server16.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17", + "name": "sampleVariable17", + "properties": { + "creationTime": "2017-03-28T23:01:16.287+00:00", + "lastModifiedTime": "2017-03-28T23:01:16.287+00:00", + "isEncrypted": false, + "value": "\"server17.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18", + "name": "sampleVariable18", + "properties": { + "creationTime": "2017-03-28T23:01:17.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:17.16+00:00", + "isEncrypted": false, + "value": "\"server18.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19", + "name": "sampleVariable19", + "properties": { + "creationTime": "2017-03-28T23:01:18.02+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.02+00:00", + "isEncrypted": false, + "value": "\"server19.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2", + "name": "sampleVariable2", + "properties": { + "creationTime": "2017-03-28T23:01:00.567+00:00", + "lastModifiedTime": "2017-03-28T23:01:00.567+00:00", + "isEncrypted": false, + "value": "\"server2.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20", + "name": "sampleVariable20", + "properties": { + "creationTime": "2017-03-28T23:01:18.847+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.847+00:00", + "isEncrypted": false, + "value": "\"server20.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21", + "name": "sampleVariable21", + "properties": { + "creationTime": "2017-03-28T23:01:19.723+00:00", + "lastModifiedTime": "2017-03-28T23:01:19.723+00:00", + "isEncrypted": false, + "value": "\"server21.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22", + "name": "sampleVariable22", + "properties": { + "creationTime": "2017-03-28T23:01:21.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:21.597+00:00", + "isEncrypted": false, + "value": "\"server22.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23", + "name": "sampleVariable23", + "properties": { + "creationTime": "2017-03-28T23:01:22.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:22.393+00:00", + "isEncrypted": false, + "value": "\"server23.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24", + "name": "sampleVariable24", + "properties": { + "creationTime": "2017-03-28T23:01:23.207+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.207+00:00", + "isEncrypted": false, + "value": "\"server24.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25", + "name": "sampleVariable25", + "properties": { + "creationTime": "2017-03-28T23:01:23.973+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.973+00:00", + "isEncrypted": false, + "value": "\"server25.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26", + "name": "sampleVariable26", + "properties": { + "creationTime": "2017-03-28T23:01:24.8+00:00", + "lastModifiedTime": "2017-03-28T23:01:24.8+00:00", + "isEncrypted": false, + "value": "\"server26.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27", + "name": "sampleVariable27", + "properties": { + "creationTime": "2017-03-28T23:01:25.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:25.597+00:00", + "isEncrypted": false, + "value": "\"server27.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28", + "name": "sampleVariable28", + "properties": { + "creationTime": "2017-03-28T23:01:26.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:26.55+00:00", + "isEncrypted": false, + "value": "\"server28.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29", + "name": "sampleVariable29", + "properties": { + "creationTime": "2017-03-28T23:01:27.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:27.457+00:00", + "isEncrypted": false, + "value": "\"server29.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3", + "name": "sampleVariable3", + "properties": { + "creationTime": "2017-03-28T23:01:01.427+00:00", + "lastModifiedTime": "2017-03-28T23:01:01.427+00:00", + "isEncrypted": false, + "value": "\"server3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30", + "name": "sampleVariable30", + "properties": { + "creationTime": "2017-03-28T23:01:28.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:28.253+00:00", + "isEncrypted": false, + "value": "\"server30.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31", + "name": "sampleVariable31", + "properties": { + "creationTime": "2017-03-28T23:01:29.05+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.05+00:00", + "isEncrypted": false, + "value": "\"server31.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32", + "name": "sampleVariable32", + "properties": { + "creationTime": "2017-03-28T23:01:29.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.817+00:00", + "isEncrypted": false, + "value": "\"server32.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33", + "name": "sampleVariable33", + "properties": { + "creationTime": "2017-03-28T23:01:30.643+00:00", + "lastModifiedTime": "2017-03-28T23:01:30.643+00:00", + "isEncrypted": false, + "value": "\"server33.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34", + "name": "sampleVariable34", + "properties": { + "creationTime": "2017-03-28T23:01:31.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:31.473+00:00", + "isEncrypted": false, + "value": "\"server34.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35", + "name": "sampleVariable35", + "properties": { + "creationTime": "2017-03-28T23:01:32.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:32.253+00:00", + "isEncrypted": false, + "value": "\"server35.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36", + "name": "sampleVariable36", + "properties": { + "creationTime": "2017-03-28T23:01:33.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:33.27+00:00", + "isEncrypted": false, + "value": "\"server36.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37", + "name": "sampleVariable37", + "properties": { + "creationTime": "2017-03-28T23:01:34.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.037+00:00", + "isEncrypted": false, + "value": "\"server37.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38", + "name": "sampleVariable38", + "properties": { + "creationTime": "2017-03-28T23:01:34.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.817+00:00", + "isEncrypted": false, + "value": "\"server38.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39", + "name": "sampleVariable39", + "properties": { + "creationTime": "2017-03-28T23:01:35.613+00:00", + "lastModifiedTime": "2017-03-28T23:01:35.613+00:00", + "isEncrypted": false, + "value": "\"server39.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4", + "name": "sampleVariable4", + "properties": { + "creationTime": "2017-03-28T23:01:02.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:02.38+00:00", + "isEncrypted": false, + "value": "\"server4.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40", + "name": "sampleVariable40", + "properties": { + "creationTime": "2017-03-28T23:01:36.397+00:00", + "lastModifiedTime": "2017-03-28T23:01:36.397+00:00", + "isEncrypted": false, + "value": "\"server40.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41", + "name": "sampleVariable41", + "properties": { + "creationTime": "2017-03-28T23:01:37.19+00:00", + "lastModifiedTime": "2017-03-28T23:01:37.19+00:00", + "isEncrypted": false, + "value": "\"server41.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42", + "name": "sampleVariable42", + "properties": { + "creationTime": "2017-03-28T23:01:38.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.037+00:00", + "isEncrypted": false, + "value": "\"server42.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43", + "name": "sampleVariable43", + "properties": { + "creationTime": "2017-03-28T23:01:38.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.88+00:00", + "isEncrypted": false, + "value": "\"server43.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44", + "name": "sampleVariable44", + "properties": { + "creationTime": "2017-03-28T23:01:39.707+00:00", + "lastModifiedTime": "2017-03-28T23:01:39.707+00:00", + "isEncrypted": false, + "value": "\"server44.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45", + "name": "sampleVariable45", + "properties": { + "creationTime": "2017-03-28T23:01:41.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:41.457+00:00", + "isEncrypted": false, + "value": "\"server45.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46", + "name": "sampleVariable46", + "properties": { + "creationTime": "2017-03-28T23:01:42.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:42.253+00:00", + "isEncrypted": false, + "value": "\"server46.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47", + "name": "sampleVariable47", + "properties": { + "creationTime": "2017-03-28T23:01:43.083+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.083+00:00", + "isEncrypted": false, + "value": "\"server47.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48", + "name": "sampleVariable48", + "properties": { + "creationTime": "2017-03-28T23:01:43.957+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.957+00:00", + "isEncrypted": false, + "value": "\"server48.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49", + "name": "sampleVariable49", + "properties": { + "creationTime": "2017-03-28T23:01:44.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:44.74+00:00", + "isEncrypted": false, + "value": "\"server49.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5", + "name": "sampleVariable5", + "properties": { + "creationTime": "2017-03-28T23:01:03.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:03.253+00:00", + "isEncrypted": false, + "value": "\"server5.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50", + "name": "sampleVariable50", + "properties": { + "creationTime": "2017-03-28T23:01:46.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:46.35+00:00", + "isEncrypted": false, + "value": "\"server50.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51", + "name": "sampleVariable51", + "properties": { + "creationTime": "2017-03-28T23:01:47.1+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.1+00:00", + "isEncrypted": false, + "value": "\"server51.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52", + "name": "sampleVariable52", + "properties": { + "creationTime": "2017-03-28T23:01:47.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.88+00:00", + "isEncrypted": false, + "value": "\"server52.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53", + "name": "sampleVariable53", + "properties": { + "creationTime": "2017-03-28T23:01:48.677+00:00", + "lastModifiedTime": "2017-03-28T23:01:48.677+00:00", + "isEncrypted": false, + "value": "\"server53.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54", + "name": "sampleVariable54", + "properties": { + "creationTime": "2017-03-28T23:01:49.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:49.473+00:00", + "isEncrypted": false, + "value": "\"server54.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55", + "name": "sampleVariable55", + "properties": { + "creationTime": "2017-03-28T23:01:51.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.16+00:00", + "isEncrypted": false, + "value": "\"server55.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56", + "name": "sampleVariable56", + "properties": { + "creationTime": "2017-03-28T23:01:51.927+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.927+00:00", + "isEncrypted": false, + "value": "\"server56.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57", + "name": "sampleVariable57", + "properties": { + "creationTime": "2017-03-28T23:01:52.757+00:00", + "lastModifiedTime": "2017-03-28T23:01:52.757+00:00", + "isEncrypted": false, + "value": "\"server57.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58", + "name": "sampleVariable58", + "properties": { + "creationTime": "2017-03-28T23:01:53.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:53.55+00:00", + "isEncrypted": false, + "value": "\"server58.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59", + "name": "sampleVariable59", + "properties": { + "creationTime": "2017-03-28T23:01:54.317+00:00", + "lastModifiedTime": "2017-03-28T23:01:54.317+00:00", + "isEncrypted": false, + "value": "\"server59.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6", + "name": "sampleVariable6", + "properties": { + "creationTime": "2017-03-28T23:01:04.143+00:00", + "lastModifiedTime": "2017-03-28T23:01:04.143+00:00", + "isEncrypted": false, + "value": "\"server6.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60", + "name": "sampleVariable60", + "properties": { + "creationTime": "2017-03-28T23:01:55.177+00:00", + "lastModifiedTime": "2017-03-28T23:01:55.177+00:00", + "isEncrypted": false, + "value": "\"server60.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61", + "name": "sampleVariable61", + "properties": { + "creationTime": "2017-03-28T23:01:56.583+00:00", + "lastModifiedTime": "2017-03-28T23:01:56.583+00:00", + "isEncrypted": false, + "value": "\"server61.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62", + "name": "sampleVariable62", + "properties": { + "creationTime": "2017-03-28T23:01:57.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.27+00:00", + "isEncrypted": false, + "value": "\"server62.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63", + "name": "sampleVariable63", + "properties": { + "creationTime": "2017-03-28T23:01:57.943+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.943+00:00", + "isEncrypted": false, + "value": "\"server63.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64", + "name": "sampleVariable64", + "properties": { + "creationTime": "2017-03-28T23:01:58.66+00:00", + "lastModifiedTime": "2017-03-28T23:01:58.66+00:00", + "isEncrypted": false, + "value": "\"server64.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65", + "name": "sampleVariable65", + "properties": { + "creationTime": "2017-03-28T23:01:59.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:59.35+00:00", + "isEncrypted": false, + "value": "\"server65.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66", + "name": "sampleVariable66", + "properties": { + "creationTime": "2017-03-28T23:02:00.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:00.02+00:00", + "isEncrypted": false, + "value": "\"server66.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67", + "name": "sampleVariable67", + "properties": { + "creationTime": "2017-03-28T23:02:01.507+00:00", + "lastModifiedTime": "2017-03-28T23:02:01.507+00:00", + "isEncrypted": false, + "value": "\"server67.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68", + "name": "sampleVariable68", + "properties": { + "creationTime": "2017-03-28T23:02:02.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.177+00:00", + "isEncrypted": false, + "value": "\"server68.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69", + "name": "sampleVariable69", + "properties": { + "creationTime": "2017-03-28T23:02:02.863+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.863+00:00", + "isEncrypted": false, + "value": "\"server69.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7", + "name": "sampleVariable7", + "properties": { + "creationTime": "2017-03-28T23:01:05.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:05.393+00:00", + "isEncrypted": false, + "value": "\"server7.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70", + "name": "sampleVariable70", + "properties": { + "creationTime": "2017-03-28T23:02:03.6+00:00", + "lastModifiedTime": "2017-03-28T23:02:03.6+00:00", + "isEncrypted": false, + "value": "\"server70.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71", + "name": "sampleVariable71", + "properties": { + "creationTime": "2017-03-28T23:02:04.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:04.333+00:00", + "isEncrypted": false, + "value": "\"server71.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72", + "name": "sampleVariable72", + "properties": { + "creationTime": "2017-03-28T23:02:05.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.1+00:00", + "isEncrypted": false, + "value": "\"server72.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73", + "name": "sampleVariable73", + "properties": { + "creationTime": "2017-03-28T23:02:05.833+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.833+00:00", + "isEncrypted": false, + "value": "\"server73.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74", + "name": "sampleVariable74", + "properties": { + "creationTime": "2017-03-28T23:02:06.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:06.647+00:00", + "isEncrypted": false, + "value": "\"server74.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75", + "name": "sampleVariable75", + "properties": { + "creationTime": "2017-03-28T23:02:07.363+00:00", + "lastModifiedTime": "2017-03-28T23:02:07.363+00:00", + "isEncrypted": false, + "value": "\"server75.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76", + "name": "sampleVariable76", + "properties": { + "creationTime": "2017-03-28T23:02:08.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.1+00:00", + "isEncrypted": false, + "value": "\"server76.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77", + "name": "sampleVariable77", + "properties": { + "creationTime": "2017-03-28T23:02:08.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.82+00:00", + "isEncrypted": false, + "value": "\"server77.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78", + "name": "sampleVariable78", + "properties": { + "creationTime": "2017-03-28T23:02:09.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:09.553+00:00", + "isEncrypted": false, + "value": "\"server78.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79", + "name": "sampleVariable79", + "properties": { + "creationTime": "2017-03-28T23:02:10.63+00:00", + "lastModifiedTime": "2017-03-28T23:02:10.63+00:00", + "isEncrypted": false, + "value": "\"server79.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8", + "name": "sampleVariable8", + "properties": { + "creationTime": "2017-03-28T23:01:06.52+00:00", + "lastModifiedTime": "2017-03-28T23:01:06.52+00:00", + "isEncrypted": false, + "value": "\"server8.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80", + "name": "sampleVariable80", + "properties": { + "creationTime": "2017-03-28T23:02:11.32+00:00", + "lastModifiedTime": "2017-03-28T23:02:11.32+00:00", + "isEncrypted": false, + "value": "\"server80.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81", + "name": "sampleVariable81", + "properties": { + "creationTime": "2017-03-28T23:02:12.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.02+00:00", + "isEncrypted": false, + "value": "\"server81.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82", + "name": "sampleVariable82", + "properties": { + "creationTime": "2017-03-28T23:02:12.723+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.723+00:00", + "isEncrypted": false, + "value": "\"server82.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83", + "name": "sampleVariable83", + "properties": { + "creationTime": "2017-03-28T23:02:13.443+00:00", + "lastModifiedTime": "2017-03-28T23:02:13.443+00:00", + "isEncrypted": false, + "value": "\"server83.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84", + "name": "sampleVariable84", + "properties": { + "creationTime": "2017-03-28T23:02:14.16+00:00", + "lastModifiedTime": "2017-03-28T23:02:14.16+00:00", + "isEncrypted": false, + "value": "\"server84.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85", + "name": "sampleVariable85", + "properties": { + "creationTime": "2017-03-28T23:02:15.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:15.177+00:00", + "isEncrypted": false, + "value": "\"server85.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86", + "name": "sampleVariable86", + "properties": { + "creationTime": "2017-03-28T23:02:16.053+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.053+00:00", + "isEncrypted": false, + "value": "\"server86.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87", + "name": "sampleVariable87", + "properties": { + "creationTime": "2017-03-28T23:02:16.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.82+00:00", + "isEncrypted": false, + "value": "\"server87.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88", + "name": "sampleVariable88", + "properties": { + "creationTime": "2017-03-28T23:02:17.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:17.583+00:00", + "isEncrypted": false, + "value": "\"server88.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89", + "name": "sampleVariable89", + "properties": { + "creationTime": "2017-03-28T23:02:18.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:18.333+00:00", + "isEncrypted": false, + "value": "\"server89.domain.com\"", + "description": null + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json index 89476a45dc1f..3fea51ab2fb0 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json @@ -8,129 +8,131 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9", - "name": "sampleVariable9", - "properties": { - "creationTime": "2017-03-28T23:01:07.38+00:00", - "lastModifiedTime": "2017-03-28T23:01:07.38+00:00", - "isEncrypted": false, - "value": "\"server9.domain.com\"", - "description": null + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9", + "name": "sampleVariable9", + "properties": { + "creationTime": "2017-03-28T23:01:07.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:07.38+00:00", + "isEncrypted": false, + "value": "\"server9.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90", + "name": "sampleVariable90", + "properties": { + "creationTime": "2017-03-28T23:02:19.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:19.147+00:00", + "isEncrypted": false, + "value": "\"server90.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91", + "name": "sampleVariable91", + "properties": { + "creationTime": "2017-03-28T23:02:20.257+00:00", + "lastModifiedTime": "2017-03-28T23:02:20.257+00:00", + "isEncrypted": false, + "value": "\"server91.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92", + "name": "sampleVariable92", + "properties": { + "creationTime": "2017-03-28T23:02:21.037+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.037+00:00", + "isEncrypted": false, + "value": "\"server92.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93", + "name": "sampleVariable93", + "properties": { + "creationTime": "2017-03-28T23:02:21.803+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.803+00:00", + "isEncrypted": false, + "value": "\"server93.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94", + "name": "sampleVariable94", + "properties": { + "creationTime": "2017-03-28T23:02:22.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:22.583+00:00", + "isEncrypted": false, + "value": "\"server94.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95", + "name": "sampleVariable95", + "properties": { + "creationTime": "2017-03-28T23:02:23.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:23.333+00:00", + "isEncrypted": false, + "value": "\"server95.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96", + "name": "sampleVariable96", + "properties": { + "creationTime": "2017-03-28T23:02:24.163+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.163+00:00", + "isEncrypted": false, + "value": "\"server96.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97", + "name": "sampleVariable97", + "properties": { + "creationTime": "2017-03-28T23:02:24.973+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.973+00:00", + "isEncrypted": false, + "value": "\"server97.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98", + "name": "sampleVariable98", + "properties": { + "creationTime": "2017-03-28T23:02:25.757+00:00", + "lastModifiedTime": "2017-03-28T23:02:25.757+00:00", + "isEncrypted": false, + "value": "\"server98.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99", + "name": "sampleVariable99", + "properties": { + "creationTime": "2017-03-28T23:02:26.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:26.553+00:00", + "isEncrypted": false, + "value": "\"server99.domain.com\"", + "description": null + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90", - "name": "sampleVariable90", - "properties": { - "creationTime": "2017-03-28T23:02:19.147+00:00", - "lastModifiedTime": "2017-03-28T23:02:19.147+00:00", - "isEncrypted": false, - "value": "\"server90.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91", - "name": "sampleVariable91", - "properties": { - "creationTime": "2017-03-28T23:02:20.257+00:00", - "lastModifiedTime": "2017-03-28T23:02:20.257+00:00", - "isEncrypted": false, - "value": "\"server91.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92", - "name": "sampleVariable92", - "properties": { - "creationTime": "2017-03-28T23:02:21.037+00:00", - "lastModifiedTime": "2017-03-28T23:02:21.037+00:00", - "isEncrypted": false, - "value": "\"server92.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93", - "name": "sampleVariable93", - "properties": { - "creationTime": "2017-03-28T23:02:21.803+00:00", - "lastModifiedTime": "2017-03-28T23:02:21.803+00:00", - "isEncrypted": false, - "value": "\"server93.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94", - "name": "sampleVariable94", - "properties": { - "creationTime": "2017-03-28T23:02:22.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:22.583+00:00", - "isEncrypted": false, - "value": "\"server94.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95", - "name": "sampleVariable95", - "properties": { - "creationTime": "2017-03-28T23:02:23.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:23.333+00:00", - "isEncrypted": false, - "value": "\"server95.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96", - "name": "sampleVariable96", - "properties": { - "creationTime": "2017-03-28T23:02:24.163+00:00", - "lastModifiedTime": "2017-03-28T23:02:24.163+00:00", - "isEncrypted": false, - "value": "\"server96.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97", - "name": "sampleVariable97", - "properties": { - "creationTime": "2017-03-28T23:02:24.973+00:00", - "lastModifiedTime": "2017-03-28T23:02:24.973+00:00", - "isEncrypted": false, - "value": "\"server97.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98", - "name": "sampleVariable98", - "properties": { - "creationTime": "2017-03-28T23:02:25.757+00:00", - "lastModifiedTime": "2017-03-28T23:02:25.757+00:00", - "isEncrypted": false, - "value": "\"server98.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99", - "name": "sampleVariable99", - "properties": { - "creationTime": "2017-03-28T23:02:26.553+00:00", - "lastModifiedTime": "2017-03-28T23:02:26.553+00:00", - "isEncrypted": false, - "value": "\"server99.domain.com\"", - "description": null - } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json index 77cdb4398fa0..3feab4114a59 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json @@ -16,29 +16,31 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", - "name": "Get-AzureVMTutorial", - "type": "Microsoft.Automation/AutomationAccounts/Runbooks", - "location": "East US 2", - "tags": { - "tag01": "value01", - "tag02": "value02" - }, - "etag": "\"636265044994500000\"", - "properties": { - "description": "Updated Description of the Runbook", - "logVerbose": false, - "logProgress": true, - "logActivityTrace": 1, - "runbookType": "PowerShellWorkflow", - "parameters": {}, - "state": "Published", - "jobCount": 0, - "provisioningState": "Succeeded", - "outputTypes": [], - "creationTime": "2017-03-30T21:01:33.777+00:00", - "lastModifiedBy": "myEmaild@microsoft.com", - "lastModifiedTime": "2017-03-30T21:01:39.45+00:00" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636265044994500000\"", + "properties": { + "description": "Updated Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShellWorkflow", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-30T21:01:33.777+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-30T21:01:39.45+00:00" + } } } } From d2f1579c138779a983182c551a53c15e16785e6b Mon Sep 17 00:00:00 2001 From: MyronFanQiu <49134743+MyronFanQiu@users.noreply.github.com> Date: Fri, 2 Aug 2019 13:56:19 +0800 Subject: [PATCH 429/495] Update portal.json (#6580) --- .../Microsoft.Portal/preview/2015-08-01-preview/portal.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json index 233cfaa25861..636054f232fc 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json @@ -5,7 +5,7 @@ "title": "portal", "description": "Allows creation and deletion of Azure Shared Dashboards.", "x-ms-code-generation-settings": { - "name": "portalClient" + "name": "PortalClient" } }, "host": "management.azure.com", From 3a610ce0c2c3eee826fa40d47c415f003b0dc5ef Mon Sep 17 00:00:00 2001 From: xichen Date: Fri, 2 Aug 2019 14:14:42 +0800 Subject: [PATCH 430/495] Fix model validation (#6847) --- .../entityTypes/IntegrationRuntime.json | 1 - .../IntegrationRuntimeObjectMetadata_Get.json | 620 ++++++++++++------ 2 files changed, 409 insertions(+), 212 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json index 2f9c9ca48e09..ad3967204e8a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json @@ -681,7 +681,6 @@ "IntegrationRuntimeAutoUpdate": { "description": "The state of integration runtime auto update.", "type": "string", - "readOnly": true, "enum": [ "On", "Off" diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json index 149f79cf2b13..7d701fa745b8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json @@ -3,232 +3,430 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "integrationRuntimeName": "integrationRuntime1", + "integrationRuntimeName": "testactivityv2", "getMetadataRequest": { - "metadataPath": "ssisFolders/2/ssisProjects/6/ssisPackages" + "metadataPath": "ssisFolders" }, "api-version": "2018-06-01" }, "responses": { "200": { "headers": { - "Date": "Thu, 09 May 2019 09:39:51 GMT", + "Date": "Mon, 03 Dec 2018 06:24:54 GMT", "X-Content-Type-Options": "nosniff", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "63fab708-842b-4b19-9811-5e128905e824", - "x-ms-correlation-request-id": "63fab708-842b-4b19-9811-5e128905e824" + "x-ms-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd", + "x-ms-correlation-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd" }, "body": { "value": [ { - "folderId": 2, - "projectVersion": 23, - "projectId": 6, - "parameters": [ - { - "id": 278, - "name": "Parameter1", - "description": "", - "dataType": "Int32", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 279, - "name": "Parameter10", - "description": "", - "dataType": "Decimal", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 280, - "name": "Parameter11", - "description": "", - "dataType": "Double", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 281, - "name": "Parameter12", - "description": "", - "dataType": "Int16", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 282, - "name": "Parameter2", - "description": "", - "dataType": "Boolean", - "required": false, - "sensitive": false, - "designDefaultValue": "False", - "valueType": "V", - "valueSet": false - }, - { - "id": 283, - "name": "Parameter3", - "description": "", - "dataType": "Int64", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 284, - "name": "Parameter4", - "description": "", - "dataType": "SByte", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 285, - "name": "Parameter5", - "description": "", - "dataType": "Single", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 286, - "name": "Parameter6", - "description": "", - "dataType": "UInt32", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 287, - "name": "Parameter7", - "description": "", - "dataType": "UInt64", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 288, - "name": "Parameter8", - "description": "", - "dataType": "Byte", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 289, - "name": "Parameter9", - "description": "", - "dataType": "DateTime", - "required": false, - "sensitive": false, - "designDefaultValue": "2/15/2019 3:33:59 PM", - "valueType": "V", - "valueSet": false - }, - { - "id": 290, - "name": "CM.SSISDB.connection.manager.ConnectionString", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "Data Source=********;User ID=liubing;Initial Catalog=SSISDB;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;", - "valueType": "V", - "valueSet": false - }, - { - "id": 291, - "name": "CM.SSISDB.connection.manager.InitialCatalog", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "SSISDB", - "valueType": "V", - "valueSet": false - }, - { - "id": 292, - "name": "CM.SSISDB.connection.manager.Password", - "description": "", - "dataType": "String", - "required": false, - "sensitive": true, - "valueType": "V", - "valueSet": false - }, - { - "id": 293, - "name": "CM.SSISDB.connection.manager.RetainSameConnection", - "description": "", - "dataType": "Boolean", - "required": false, - "sensitive": false, - "designDefaultValue": "False", - "valueType": "V", - "valueSet": false - }, - { - "id": 294, - "name": "CM.SSISDB.connection.manager.ServerName", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "********", - "valueType": "V", - "valueSet": false - }, - { - "id": 295, - "name": "CM.SSISDB.connection.manager.UserName", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "liubing", - "valueType": "V", - "valueSet": false - } - ], - "id": 53, - "name": "Package.dtsx", + "id": 1, + "name": "TestFolder", + "description": "" + }, + { + "id": 2, + "name": "EnvironmentFolder", + "description": "" + }, + { + "id": 3, + "name": "ActivityTest", + "description": "" + }, + { + "id": 4, + "name": "这是文件夹", "description": "" + }, + { + "id": 5, + "name": "1" + }, + { + "id": 6, + "name": "2" + }, + { + "id": 7, + "name": "3" + }, + { + "id": 8, + "name": "4" + }, + { + "id": 9, + "name": "5" + }, + { + "id": 10, + "name": "6" + }, + { + "id": 11, + "name": "7" + }, + { + "id": 12, + "name": "8" + }, + { + "id": 13, + "name": "9" + }, + { + "id": 14, + "name": "10" + }, + { + "id": 15, + "name": "11" + }, + { + "id": 16, + "name": "12" + }, + { + "id": 17, + "name": "13" + }, + { + "id": 18, + "name": "14" + }, + { + "id": 19, + "name": "15" + }, + { + "id": 20, + "name": "16" + }, + { + "id": 21, + "name": "17" + }, + { + "id": 22, + "name": "18" + }, + { + "id": 23, + "name": "19" + }, + { + "id": 24, + "name": "20" + }, + { + "id": 25, + "name": "21" + }, + { + "id": 26, + "name": "22" + }, + { + "id": 27, + "name": "23" + }, + { + "id": 28, + "name": "24" + }, + { + "id": 29, + "name": "25" + }, + { + "id": 30, + "name": "26" + }, + { + "id": 31, + "name": "27" + }, + { + "id": 32, + "name": "28" + }, + { + "id": 33, + "name": "29" + }, + { + "id": 34, + "name": "30" + }, + { + "id": 35, + "name": "31" + }, + { + "id": 36, + "name": "32" + }, + { + "id": 37, + "name": "33" + }, + { + "id": 38, + "name": "34" + }, + { + "id": 39, + "name": "35" + }, + { + "id": 40, + "name": "36" + }, + { + "id": 41, + "name": "37" + }, + { + "id": 42, + "name": "38" + }, + { + "id": 43, + "name": "39" + }, + { + "id": 44, + "name": "40" + }, + { + "id": 45, + "name": "41" + }, + { + "id": 46, + "name": "42" + }, + { + "id": 47, + "name": "43" + }, + { + "id": 48, + "name": "44" + }, + { + "id": 49, + "name": "45" + }, + { + "id": 50, + "name": "46" + }, + { + "id": 51, + "name": "47" + }, + { + "id": 52, + "name": "48" + }, + { + "id": 53, + "name": "49" + }, + { + "id": 54, + "name": "50" + }, + { + "id": 55, + "name": "51" + }, + { + "id": 56, + "name": "52" + }, + { + "id": 57, + "name": "53" + }, + { + "id": 58, + "name": "54" + }, + { + "id": 59, + "name": "55" + }, + { + "id": 60, + "name": "56" + }, + { + "id": 61, + "name": "57" + }, + { + "id": 62, + "name": "58" + }, + { + "id": 63, + "name": "59" + }, + { + "id": 64, + "name": "60" + }, + { + "id": 65, + "name": "61" + }, + { + "id": 66, + "name": "62" + }, + { + "id": 67, + "name": "63" + }, + { + "id": 68, + "name": "64" + }, + { + "id": 69, + "name": "65" + }, + { + "id": 70, + "name": "66" + }, + { + "id": 71, + "name": "67" + }, + { + "id": 72, + "name": "68" + }, + { + "id": 73, + "name": "69" + }, + { + "id": 74, + "name": "70" + }, + { + "id": 75, + "name": "71" + }, + { + "id": 76, + "name": "72" + }, + { + "id": 77, + "name": "73" + }, + { + "id": 78, + "name": "74" + }, + { + "id": 79, + "name": "75" + }, + { + "id": 80, + "name": "76" + }, + { + "id": 81, + "name": "77" + }, + { + "id": 82, + "name": "78" + }, + { + "id": 83, + "name": "79" + }, + { + "id": 84, + "name": "80" + }, + { + "id": 85, + "name": "81" + }, + { + "id": 86, + "name": "82" + }, + { + "id": 87, + "name": "83" + }, + { + "id": 88, + "name": "84" + }, + { + "id": 89, + "name": "85" + }, + { + "id": 90, + "name": "86" + }, + { + "id": 91, + "name": "87" + }, + { + "id": 92, + "name": "88" + }, + { + "id": 93, + "name": "89" + }, + { + "id": 94, + "name": "90" + }, + { + "id": 95, + "name": "91" + }, + { + "id": 96, + "name": "92" + }, + { + "id": 97, + "name": "93" + }, + { + "id": 98, + "name": "94" + }, + { + "id": 99, + "name": "95" + }, + { + "id": 100, + "name": "96" } - ] + ], + "nextLink": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/getObjectMetadata?api-version=2018-06-01&%24skipToken=https%3a%2f%2fwcu.frontend.clouddatahub.net%2fsubscriptions%2f12345678-1234-1234-1234-12345678abc%2fdatafactories%2f6C8E7C90-FD45-4010-8B7C-B5227D0F0CB7%2fintegrationruntimes%2fTESTACTIVITYV2%2fgetSsisObjectMetadata%3f%24skipToken%3dc3Npc0ZvbGRlcnNAQDIwMTgtMTEtMjlUMDM6NTk6MzIuMDQ1Mzc1MiswMDowMEBAZm9sZGVyQEAwMDAwMDAwMDAwMDAwMDAwMTAx0%26api-version%3d1.0" } } } -} +} \ No newline at end of file From ec8cddf1b62f6378bc798f3ccab3e3116cc4dbcf Mon Sep 17 00:00:00 2001 From: Yunge Zhu <37337818+yungezz@users.noreply.github.com> Date: Fri, 2 Aug 2019 15:00:02 +0800 Subject: [PATCH 431/495] update codeowner for resources (#6850) --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 53c2514c8363..752f00fb91f6 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -56,7 +56,7 @@ /specification/recoveryservicessiterecovery/ @avneeshrai /specification/redis/ @siddharthchatrolams @timlovellsmith /specification/relay/ @sethmanheim @v-ajnava -/specification/resources/ @rajshah11 @stankovski @vivsriaus +/specification/resources/ @Tiano2017 @rajshah11 @vivsriaus /specification/scheduler/ @pinwang81 /specification/search/ @brjohnstmsft /specification/serialconsole/ @amitchat @craigw @asinn826 From 4f7b5f9a443e2f5f0fec108b7149ebc8dfec0c74 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 03:01:01 -0400 Subject: [PATCH 432/495] fix: storsimple8000series model validation errors (#6848) - Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors - Unstrigify response body values --- .../AccessControlRecordsCreateOrUpdate.json | 15 ++++++--- .../examples/AccessControlRecordsDelete.json | 4 +-- .../2017-06-01/examples/AlertsClear.json | 4 +-- .../examples/AlertsSendTestEmail.json | 4 +-- .../examples/BackupPoliciesBackupNow.json | 4 +-- .../BackupPoliciesCreateOrUpdate.json | 20 ++++++++--- .../examples/BackupPoliciesDelete.json | 4 +-- .../BackupSchedulesCreateOrUpdate.json | 26 ++++++++++++--- .../examples/BackupSchedulesDelete.json | 4 +-- .../2017-06-01/examples/BackupsClone.json | 8 ++--- .../2017-06-01/examples/BackupsDelete.json | 4 +-- .../2017-06-01/examples/BackupsRestore.json | 8 ++--- .../BandwidthSettingsCreateOrUpdate.json | 33 ++++++++++++++++--- .../examples/BandwidthSettingsDelete.json | 4 +-- .../examples/CloudAppliancesProvision.json | 8 ++--- ...ceSettingsCreateOrUpdateAlertSettings.json | 17 +++++++--- ...iceSettingsCreateOrUpdateTimeSettings.json | 18 +++++++--- ...ttingsSyncRemotemanagementCertificate.json | 4 +-- .../DeviceSettingsUpdateNetworkSettings.json | 15 ++++++--- .../DeviceSettingsUpdateSecuritySettings.json | 21 +++++++++--- ...horizeForServiceEncryptionKeyRollover.json | 4 +-- .../2017-06-01/examples/DevicesConfigure.json | 4 +-- .../examples/DevicesDeactivate.json | 8 ++--- .../2017-06-01/examples/DevicesDelete.json | 4 +-- .../2017-06-01/examples/DevicesFailover.json | 4 +-- .../examples/DevicesInstallUpdates.json | 4 +-- .../examples/DevicesScanForUpdates.json | 4 +-- ...onentGroupsChangeControllerPowerState.json | 4 +-- .../2017-06-01/examples/JobsCancel.json | 4 +-- .../2017-06-01/examples/ManagersDelete.json | 4 +-- .../examples/ManagersDeleteExtendedInfo.json | 4 +-- ...orageAccountCredentialsCreateOrUpdate.json | 16 ++++++--- .../StorageAccountCredentialsDelete.json | 4 +-- .../VolumeContainersCreateOrUpdate.json | 19 ++++++++--- .../examples/VolumeContainersDelete.json | 4 +-- .../examples/VolumesCreateOrUpdate.json | 23 ++++++++++--- .../2017-06-01/examples/VolumesDelete.json | 4 +-- 37 files changed, 209 insertions(+), 134 deletions(-) diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json index fd59bf61e70e..91f2651083ea 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -13,10 +13,17 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"initiatorName\": \"iqn.2017-06.com.contoso:ForTest\",\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest\",\r\n \"name\": \"ACRForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/accessControlRecords\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "initiatorName": "iqn.2017-06.com.contoso:ForTest", + "volumeCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest", + "name": "ACRForTest", + "type": "Microsoft.StorSimple/managers/accessControlRecords", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json index 1f1271cef74b..f5fde360667f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json index 7290889ffb84..38bcb119ceff 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json @@ -13,8 +13,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json index d8bb0e07573d..fc08bf366e14 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json @@ -12,8 +12,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json index d594466be58c..9326763a4fa9 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json @@ -9,9 +9,7 @@ "backupType": "CloudSnapshot" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json index ef960fc14488..92d7b8bc5f58 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json @@ -18,10 +18,22 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"volumeIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1\",\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1\"\r\n ],\r\n \"schedulesCount\": 0,\r\n \"scheduledBackupStatus\": \"Disabled\",\r\n \"backupPolicyCreationType\": \"BySaaS\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest\",\r\n \"name\": \"BkUpPolicy01ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "volumeIds": [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1", + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1" + ], + "schedulesCount": 0, + "scheduledBackupStatus": "Disabled", + "backupPolicyCreationType": "BySaaS" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest", + "name": "BkUpPolicy01ForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/backupPolicies", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json index 92fa702dbb94..50e51a8190a0 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json @@ -10,9 +10,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json index e4e5e8662b9f..2af87acc05f0 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json @@ -28,10 +28,28 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"scheduleRecurrence\": {\r\n \"recurrenceType\": \"Weekly\",\r\n \"recurrenceValue\": 1,\r\n \"weeklyDaysList\": [\r\n \"Monday\",\r\n \"Thursday\",\r\n \"Friday\"\r\n ]\r\n },\r\n \"backupType\": \"CloudSnapshot\",\r\n \"retentionCount\": 1,\r\n \"startTime\": \"2017-06-24T01:00:00Z\",\r\n \"scheduleStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2\",\r\n \"name\": \"schedule2\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies/schedules\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "scheduleRecurrence": { + "recurrenceType": "Weekly", + "recurrenceValue": 1, + "weeklyDaysList": [ + "Monday", + "Thursday", + "Friday" + ] + }, + "backupType": "CloudSnapshot", + "retentionCount": 1, + "startTime": "2017-06-24T01:00:00Z", + "scheduleStatus": "Enabled" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2", + "name": "schedule2", + "type": "Microsoft.StorSimple/managers/devices/backupPolicies/schedules", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json index c2e7b139a0a1..8e67ee8ab847 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json @@ -11,9 +11,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json index 2107f54d211f..f7680a1c58d3 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json @@ -27,11 +27,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json index 2962b76cbccc..aedfa68cb9cc 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json @@ -10,9 +10,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json index 3bafa725ff54..6dd5e31ec0c7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json @@ -10,11 +10,7 @@ "$filter": "createdTime%20ge%20'2017-06-22T18:30:00Z'%20and%20backupPolicyId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FbackupPolicies%2FBkUpPolicy01ForSDKTest'" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json index 2850d62d632c..8554f0dd0ab3 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json @@ -31,10 +31,35 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"schedules\": [\r\n {\r\n \"start\": {\r\n \"hours\": 10,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"stop\": {\r\n \"hours\": 20,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"rateInMbps\": 10,\r\n \"days\": [\r\n \"Saturday\",\r\n \"Sunday\"\r\n ]\r\n }\r\n ],\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest\",\r\n \"name\": \"BWSForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/bandwidthSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "schedules": [ + { + "start": { + "hours": 10, + "minutes": 0, + "seconds": 0 + }, + "stop": { + "hours": 20, + "minutes": 0, + "seconds": 0 + }, + "rateInMbps": 10, + "days": [ + "Saturday", + "Sunday" + ] + } + ], + "volumeCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest", + "name": "BWSForTest", + "type": "Microsoft.StorSimple/managers/bandwidthSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json index fb88d0cce62e..0379d2c73d3d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json index b5aa86efb7f6..228d75620262 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json @@ -11,11 +11,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json index cbce44eef9f7..6e2c76e704b7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json @@ -16,10 +16,19 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"emailNotification\": \"Enabled\",\r\n \"alertNotificationCulture\": \"en-US\",\r\n \"notificationToServiceOwners\": \"Enabled\",\r\n \"additionalRecipientEmailList\": []\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/alertSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "emailNotification": "Enabled", + "alertNotificationCulture": "en-US", + "notificationToServiceOwners": "Enabled", + "additionalRecipientEmailList": [] + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/alertSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json index 9b7bc9761b89..eaf8ba7ff48f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json @@ -17,10 +17,20 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"timeZone\": \"Pacific Standard Time\",\r\n \"primaryTimeServer\": \"time.windows.com\",\r\n \"secondaryTimeServer\": [\r\n \"8.8.8.8\"\r\n ]\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/timeSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "timeZone": "Pacific Standard Time", + "primaryTimeServer": "time.windows.com", + "secondaryTimeServer": [ + "8.8.8.8" + ] + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/timeSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json index 5516e8326847..947587e75504 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json index f60139eed9f1..0e330d8260a7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json @@ -18,10 +18,17 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"keyRolloverStatus\": \"NotRequired\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/encryptionSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "encryptionStatus": "Enabled", + "keyRolloverStatus": "NotRequired" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/encryptionSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json index 7cc7b56dbbec..e28c51f74e9f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json @@ -39,10 +39,23 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"remoteManagementSettings\": {\r\n \"remoteManagementMode\": \"HttpsAndHttpEnabled\",\r\n \"remoteManagementCertificate\": \"\"\r\n },\r\n \"chapSettings\": {\r\n \"initiatorUser\": \"test-initiator-user\",\r\n \"targetUser\": \"test-target-user\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/securitySettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "remoteManagementSettings": { + "remoteManagementMode": "HttpsAndHttpEnabled", + "remoteManagementCertificate": "" + }, + "chapSettings": { + "initiatorUser": "test-initiator-user", + "targetUser": "test-target-user" + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/securitySettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json index f1cdbab261a4..2e7b6db4b4c7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json @@ -7,8 +7,6 @@ "api-version": "2017-06-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json index 9bbeed98eda1..8dc79006ee78 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json @@ -18,9 +18,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json index 11d2e83ca85b..f47c8d1bf50a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json @@ -8,11 +8,7 @@ "$expand": "details" }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json index 4df17eaa164d..f47c8d1bf50a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json @@ -8,9 +8,7 @@ "$expand": "details" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json index 3d881a921a04..996746500f2f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json @@ -13,9 +13,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json index 36040718b062..1d7143a37532 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json @@ -16,9 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json index 16762e269a93..2624550b3781 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json @@ -10,9 +10,7 @@ "$filter": "jobType%20eq%20'ManualBackup'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json index 4371a7be4ca2..86115e8b10f6 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json @@ -6,9 +6,7 @@ "api-version": "2017-06-01" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json index 85f50b3d9e61..ab11fca71eea 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json @@ -6,8 +6,6 @@ "api-version": "2017-06-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json index 95bafa9e8c62..1201c00215f7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -19,10 +19,18 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"endPoint\": \"blob.core.windows.net\",\r\n \"sslStatus\": \"Enabled\",\r\n \"volumesCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest\",\r\n \"name\": \"SACForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/storageAccountCredentials\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "endPoint": "blob.core.windows.net", + "sslStatus": "Enabled", + "volumesCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest", + "name": "SACForTest", + "type": "Microsoft.StorSimple/managers/storageAccountCredentials", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json index 2f9d0e62f46f..a890212b7db1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json index 1872809b3e4c..1d9e4c0ab45d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json @@ -20,10 +20,21 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"volumeCount\": 1,\r\n \"storageAccountCredentialId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording\",\r\n \"ownerShipStatus\": \"Owned\",\r\n \"bandwidthSettingId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1\",\r\n \"totalCloudStorageUsageInBytes\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"name\": \"VolumeContainerForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "encryptionStatus": "Enabled", + "volumeCount": 1, + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording", + "ownerShipStatus": "Owned", + "bandwidthSettingId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1", + "totalCloudStorageUsageInBytes": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest", + "name": "VolumeContainerForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/volumeContainers", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json index 2203b40dbe2a..c21a2b1a2a32 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json @@ -8,9 +8,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json index 393b74f3ea4c..a4484ff3642a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json @@ -21,10 +21,25 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"sizeInBytes\": 5368709120,\r\n \"volumeType\": \"Tiered\",\r\n \"volumeContainerId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"accessControlRecordIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2\"\r\n ],\r\n \"volumeStatus\": \"Offline\",\r\n \"operationStatus\": \"None\",\r\n \"backupStatus\": \"Disabled\",\r\n \"monitoringStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest\",\r\n \"name\": \"Volume1ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers/volumes\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "sizeInBytes": 5368709120, + "volumeType": "Tiered", + "volumeContainerId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest", + "accessControlRecordIds": [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + "volumeStatus": "Offline", + "operationStatus": "None", + "backupStatus": "Disabled", + "monitoringStatus": "Enabled" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest", + "name": "Volume1ForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/volumeContainers/volumes", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json index df3dc3612386..f0a1eb4548d1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json @@ -9,9 +9,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } From f0ba9ec213bd35ed14cd457b7ce4b70c3671a971 Mon Sep 17 00:00:00 2001 From: praveensri Date: Fri, 2 Aug 2019 00:21:47 -0700 Subject: [PATCH 433/495] RosettaNet Process configuration apis (#6702) * RosettaNet Process configuration apis Integration account - RosettaNet CRUD APIs Integration account- agreement changes for RosettaNet agreement type. * updated examples path * fixes CI errors Fixed casing as required by CI * ModelValidation fixes * merge conflicts resoultion * CI fixes * Additional model validation fixes * test fixes * operation test fix * removed breaking changes * pr feedback * added custom words for spell check --- custom-words.txt | 2 + ...ountBatchConfigurationsCreateOrUpdate.json | 2 - .../IntegrationAccountsListKeyVaultKeys.json | 7 +- .../IntegrationAccountsLogTrackingEvent.json | 34 - .../2016-06-01/examples/OperationsList.json | 581 +----------------- ...etProcessConfigurationsCreateOrUpdate.json | 194 ++++++ ...RosettaNetProcessConfigurationsDelete.json | 13 + .../RosettaNetProcessConfigurationsGet.json | 68 ++ ...nfigurationsListByIntegrationAccounts.json | 135 ++++ .../examples/WorkflowRunActionsGet.json | 1 - .../examples/WorkflowRunActionsList.json | 1 - .../2016-06-01/examples/WorkflowRunsList.json | 2 +- .../examples/WorkflowTriggerHistoriesGet.json | 1 - .../WorkflowTriggerHistoriesList.json | 1 - .../WorkflowTriggersGetSchemaJson.json | 16 +- .../examples/WorkflowTriggersRun.json | 4 +- .../examples/WorkflowTriggersSetState.json | 6 +- .../examples/WorkflowVersionsGet.json | 41 +- .../examples/WorkflowVersionsList.json | 39 +- .../examples/WorkflowsCreateOrUpdate.json | 81 +-- .../2016-06-01/examples/WorkflowsGet.json | 38 +- .../WorkflowsListByResourceGroup.json | 40 +- .../examples/WorkflowsListBySubscription.json | 38 +- .../2016-06-01/examples/WorkflowsMove.json | 15 +- .../2016-06-01/examples/WorkflowsUpdate.json | 43 +- .../examples/WorkflowsValidateByLocation.json | 24 +- .../WorkflowsValidateByResourceGroup.json | 8 - .../stable/2016-06-01/logic.json | 556 +++++++++++++++++ 28 files changed, 1015 insertions(+), 976 deletions(-) create mode 100644 specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json create mode 100644 specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json create mode 100644 specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json create mode 100644 specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json diff --git a/custom-words.txt b/custom-words.txt index fc672aa52c4e..5f85e91781cf 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -610,6 +610,7 @@ inkrecognizer inlinecount innererror Inprogress +integrationaccount Intelli intervaled intset @@ -1125,6 +1126,7 @@ rhel Rolledback rollouts rolloverdetails +rosettanetprocessconfigurations rootfs rotatediskencryptionkey routable diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json index 4edb3b10ab55..3a80cc6dad21 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json @@ -6,7 +6,6 @@ "integrationAccountName": "testIntegrationAccount", "batchConfigurationName": "testBatchConfiguration", "batchConfiguration": { - "properties": { "properties": { "batchGroupName": "DEFAULT", "releaseCriteria": { @@ -19,7 +18,6 @@ "messageCount": 10, "batchSize": 234567 } - } }, "location": "westus" } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json index 7350ef83e347..8e0d521cc41b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json @@ -5,10 +5,9 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "integrationAccountName": "testIntegrationAccount", "listKeyVaultKeys": { - "keyVault": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault" - }, - "skipToken": "testSkipToken" + "skipToken": "testSkipToken", + "keyVault" : { + } } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json index 86ec41230460..66db66a71087 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json @@ -6,45 +6,11 @@ "integrationAccountName": "testIntegrationAccount", "logTrackingEvents": { "sourceType": "Microsoft.Logic/workflows", - "source": { - "workflow": { - "systemId": "/locations/westus/scaleunits/test-01/workflows/bf501b3fceaa4a858a166aa64768ced5" - }, - "runInstance": { - "runId": "08586772141809790618914792486CU03" - }, - "operation": { - "operationName": "httpgetaction" - } - }, "events": [ { "eventLevel": "Informational", "eventTime": "2016-08-05T01:54:49.505567Z", "recordType": "AS2Message", - "record": { - "agreementProperties": { - "senderPartnerName": "testPartner1", - "receiverPartnerName": "testPartner2", - "as2To": "testas2to", - "as2From": "testas2from", - "agreementName": "testAgreement" - }, - "messageProperties": { - "direction": "Receive", - "messageId": "12345", - "dispositionType": "received-success", - "fileName": "test", - "isMessageFailed": false, - "IsMessageEncrypted": false, - "IsMessageSigned": false, - "correlationMessageId": "Unique message identifier", - "isMessageCompressed": false, - "isNrrEnabled": true, - "isMdnExpected": true, - "mdnType": "Async" - } - }, "error": { "message": "Some error occurred", "code": "NotFound" diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json index 7f1683aa7c35..3570e17afb96 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json @@ -303,7 +303,6 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", "display": { "provider": "Microsoft Logic", @@ -312,7 +311,6 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", "display": { "provider": "Microsoft Logic", @@ -321,579 +319,19 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Workflow Metric Definition", "operation": "Get Workflow Metric Definition" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "RunsStarted", - "displayName": "Runs Started", - "displayDescription": "Number of workflow runs started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCompleted", - "displayName": "Runs Completed", - "displayDescription": "Number of workflow runs completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsSucceeded", - "displayName": "Runs Succeeded", - "displayDescription": "Number of workflow runs succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsFailed", - "displayName": "Runs Failed", - "displayDescription": "Number of workflow runs failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCancelled", - "displayName": "Runs Cancelled", - "displayDescription": "Number of workflow runs cancelled.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunLatency", - "displayName": "Run Latency", - "displayDescription": "Latency of completed workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunSuccessLatency", - "displayName": "Run Success Latency", - "displayDescription": "Latency of succeeded workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunThrottledEvents", - "displayName": "Run Throttled Events", - "displayDescription": "Number of workflow action or trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunFailurePercentage", - "displayName": "Run Failure Percentage", - "displayDescription": "Percentage of workflow runs failed.", - "unit": "Percent", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsStarted", - "displayName": "Actions Started ", - "displayDescription": "Number of workflow actions started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsCompleted", - "displayName": "Actions Completed ", - "displayDescription": "Number of workflow actions completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSucceeded", - "displayName": "Actions Succeeded ", - "displayDescription": "Number of workflow actions succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsFailed", - "displayName": "Actions Failed ", - "displayDescription": "Number of workflow actions failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSkipped", - "displayName": "Actions Skipped ", - "displayDescription": "Number of workflow actions skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionLatency", - "displayName": "Action Latency ", - "displayDescription": "Latency of completed workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionSuccessLatency", - "displayName": "Action Success Latency ", - "displayDescription": "Latency of succeeded workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionThrottledEvents", - "displayName": "Action Throttled Events", - "displayDescription": "Number of workflow action throttled events..", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersStarted", - "displayName": "Triggers Started ", - "displayDescription": "Number of workflow triggers started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersCompleted", - "displayName": "Triggers Completed ", - "displayDescription": "Number of workflow triggers completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSucceeded", - "displayName": "Triggers Succeeded ", - "displayDescription": "Number of workflow triggers succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFailed", - "displayName": "Triggers Failed ", - "displayDescription": "Number of workflow triggers failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSkipped", - "displayName": "Triggers Skipped", - "displayDescription": "Number of workflow triggers skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFired", - "displayName": "Triggers Fired ", - "displayDescription": "Number of workflow triggers fired.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggerLatency", - "displayName": "Trigger Latency ", - "displayDescription": "Latency of completed workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerFireLatency", - "displayName": "Trigger Fire Latency ", - "displayDescription": "Latency of fired workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerSuccessLatency", - "displayName": "Trigger Success Latency ", - "displayDescription": "Latency of succeeded workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerThrottledEvents", - "displayName": "Trigger Throttled Events", - "displayDescription": "Number of workflow trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableActionExecutions", - "displayName": "Billable Action Executions", - "displayDescription": "Number of workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableTriggerExecutions", - "displayName": "Billable Trigger Executions", - "displayDescription": "Number of workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableExecutions", - "displayName": "Total Billable Executions", - "displayDescription": "Number of workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeActionExecutions", - "displayName": "Billable Native Action Executions", - "displayDescription": "Number of native workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeTriggerExecutions", - "displayName": "Billable Native Trigger Executions", - "displayDescription": "Number of native workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableNativeExecutions", - "displayName": "Total Native Billable Executions", - "displayDescription": "Number of native workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardActionExecutions", - "displayName": "Billable Standard Action Executions", - "displayDescription": "Number of standard workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardTriggerExecutions", - "displayName": "Billable Standard Trigger Executions", - "displayDescription": "Number of standard workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableStandardExecutions", - "displayName": "Total Standard Billable Executions", - "displayDescription": "Number of standard workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - } - ] - } - } - }, - { - "origin": "System", + } + }, + { "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Workflow Log Definition", "operation": "Get Workflow Log Definition" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "WorkflowRuntime", - "displayName": "Workflow runtime diagnostic events", - "description": "Diagnostic events related to workflow runtime executions.", - "blobDuration": "PT1H" - } - ] - } } }, { @@ -913,24 +351,11 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Integration Account Log Definition", "operation": "Get Integration Account Log Definition" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "IntegrationAccountTrackingEvents", - "displayName": "Integration Account track events", - "description": "Track events related to Integration Account.", - "blobDuration": "PT1H" - } - ] - } } }, { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json new file mode 100644 index 000000000000..cb801586bef5 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json @@ -0,0 +1,194 @@ +{ + "title": "Create or update integration account rosettanet process configuration example", + "parameters": { + "api-version": "2016-06-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123", + "rosettaNetProcessConfigurationName": "3A4", + "rosettaNetProcessConfiguration": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + } + } +} + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 21 Feb 2019 20:43:03 GMT" + }, + "body": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + }, + "createdTime": "2018-10-22T19:33:12.3769017Z", + "changedTime": "2019-02-21T20:41:35.9796534Z" + }, + "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name":"3A4", + "type":"Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + }, + "201": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Date": "Tue, 21 Feb 2019 20:43:03 GMT" + }, + "body": { + "properties": { + "createdTime":"2019-02-21T20:41:35.9789189Z", + "changedTime":"2019-02-21T20:41:35.9796534Z", + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + } + }, + "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name":"3A4", + "type":"Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json new file mode 100644 index 000000000000..9d781e0fda0e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters":{ + "api-version":"2016-06-01", + "resourceGroupName":"testResourceGroup", + "subscriptionId":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName":"testIntegrationAccount", + "rosettaNetProcessConfigurationName":"3A4" + }, + "responses":{ + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json new file mode 100644 index 000000000000..60a5e229cce9 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json @@ -0,0 +1,68 @@ +{ + "parameters":{ + "api-version":"2016-06-01", + "resourceGroupName":"testResourceGroup", + "subscriptionId":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName":"testIntegrationAccount", + "rosettaNetProcessConfigurationName":"3A4" + }, + "responses":{ + "200":{ + "body":{ + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "3A4", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": true, + "persistentConfidentialityScope": "Payload", + "isSecuredTransportRequired": true, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 600 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 60 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request Action", + "role": "Buyer", + "description": "An employee or organization that buys products for a partner type in the supply chain.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment.", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + }, + "createdTime": "2019-05-22T13:46:54.6312192Z", + "changedTime": "2019-05-29T20:09:48.5167814Z" + }, + "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json new file mode 100644 index 000000000000..1f99ac5dadf8 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json @@ -0,0 +1,135 @@ +{ + "title": "List by integration account rosettanet process configuration examples", + "parameters": { + "api-version": "2016-06-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123" + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 28 May 2019 20:43:03 GMT" + }, + "body": { + "value": [ + { + "properties": { + "processCode": "0A1", + "processVersion": "V02.00.00", + "processName": "0A1", + "activitySettings": { + "activityType": "InformationDistribution", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "SingleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } + }, + "initiatorRoleSettings": { + "action": "Failure Notification Action", + "role": "PIP Failure Notifier", + "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.", + "roleType": "Functional", + "service": "PIP Failure Notifier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } + }, + "responderRoleSettings": { + "action": "Failure Notification Action", + "role": "Failure Report Administrator", + "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.", + "roleType": "Organizational", + "service": "Failure Report Administrator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } + }, + "createdTime": "2019-05-22T13:47:26.330972Z", + "changedTime": "2019-05-22T13:47:26.3328234Z" + }, + "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1", + "name":"IntegrationAccountSession1662", + "type":"Microsoft.Logic/integrationAccounts/sessions" + }, + { + "properties": { + "processCode": "3A3", + "processVersion": "R02.00.00", + "processName": "3A3", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } + }, + "initiatorRoleSettings": { + "action": "Shopping Cart Transfer Request Action", + "role": "Sales Facilitator", + "description": "This partner role facilitates the sale of product between partners in the supply chain.", + "roleType": "Functional", + "service": "Sales Facilitator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Request", + "description": "Requests a Supplier to confirm the transfer of a shopping cart.", + "version": "R02.00.00" + } + }, + "responderRoleSettings": { + "action": "Shopping Cart Transfer Confirmation Action", + "role": "Supplier", + "description": "This partner role supplies product to customers in the supply chain.", + "roleType": "Organizational", + "service": "Supplier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Confirmation", + "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.", + "version": "R02.00.00" + } + }, + "createdTime": "2019-05-31T06:46:08.1261454Z", + "changedTime": "2019-05-31T06:46:08.129905Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A3", + "name": "3A3", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + ] + } + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json index 1e63c5e355d0..485d4d3c6187 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json @@ -32,7 +32,6 @@ "startTime": "2018-08-10T20:16:32.305236Z", "endTime": "2018-08-10T20:16:32.5450625Z", "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", "clientTrackingId": "08586676746934337772206998657CU22" }, "status": "Succeeded", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json index 5515bad5129f..d66df6776a95 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json @@ -33,7 +33,6 @@ "startTime": "2018-08-10T20:16:32.305236Z", "endTime": "2018-08-10T20:16:32.5450625Z", "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", "clientTrackingId": "08586676746934337772206998657CU22" }, "status": "Succeeded", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json index 4bf84603c963..b057508ba63e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { "properties": { "waitEndTime": "2018-08-10T20:16:32.044238Z", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json index 561d6fe7e4ab..4dc85ea24f6b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json @@ -13,7 +13,6 @@ "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", "status": "Succeeded", "code": "OK", "correlation": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json index 62efc66a2ea2..3d66e13bc6f8 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json @@ -14,7 +14,6 @@ "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", "status": "Succeeded", "code": "OK", "correlation": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json index e6003828a922..94b13c0ac57e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json @@ -9,20 +9,8 @@ "responses": { "200": { "body": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" + "title": "testworkflow", + "content": "{}" } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json index cccbaa5b4b43..a0884d8baecc 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json @@ -7,6 +7,8 @@ "triggerName": "manual" }, "responses": { - "default": {} + "default": { + "body" : {} + } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json index 5403d91ae704..ce138e4c8e0b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json @@ -7,11 +7,11 @@ "triggerName": "testTrigger", "setState": { "source": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger" - } + } } }, "responses": { - "200": {} + "200": { + } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json index 733de00f26b3..c096cfa0bfad 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json @@ -10,9 +10,6 @@ "200": { "body": { "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", "state": "Enabled", "version": "08586677515911718341", "accessEndpoint": "http://tempuri.org", @@ -29,41 +26,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", @@ -72,5 +35,5 @@ "tags": {} } } - } + } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json index 84537638be6e..0812c0df6ad0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json @@ -11,9 +11,6 @@ "value": [ { "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", "state": "Enabled", "version": "08586677515911718341", "accessEndpoint": "http://tempuri.org", @@ -30,41 +27,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json index 36f0885e4c66..2cdc0a3f95fa 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "workflow": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -64,7 +59,7 @@ }, "responses": { "200": { - "body": { + "body": { "properties": { "provisioningState": "Succeeded", "createdTime": "2018-04-25T01:39:21.4365247Z", @@ -85,44 +80,10 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } } - }, + }, "201": { "body": { "properties": { @@ -145,41 +106,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json index dc0928646af0..9b22baec7949 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json @@ -28,41 +28,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", @@ -71,5 +37,5 @@ "tags": {} } } - } + } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json index 74886e6baa4f..9bfcb996f8b8 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json @@ -6,7 +6,7 @@ }, "responses": { "200": { - "body": { + "body": { "value": [ { "properties": { @@ -29,42 +29,8 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } - }, + "parameters": {} + }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", "type": "Microsoft.Logic/workflows", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json index 33ba47f6e362..d613c282cc0b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json @@ -28,42 +28,8 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } - }, + "parameters": {} + }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", "type": "Microsoft.Logic/workflows", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json index d0ddd1d86533..9ddfb7c4245d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json @@ -5,8 +5,19 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "testWorkflow", "move": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName" - } + "properties": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + } + }, + "location": "brazilsouth", + "tags": {} + } }, "responses": { "200": {}, diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json index d55e231b78f4..af483a7aa29a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "workflow": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -85,43 +80,9 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } - } + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json index a1ad978dc8c7..e9ceaecb22d5 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json @@ -2,29 +2,11 @@ "parameters": { "api-version": "2016-06-01", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", "location": "brazilsouth", "workflowName": "test-workflow", - "validate": { - "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + "workflow" : { + "properties" : {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json index de320d2784ec..3450d80c569f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "validate": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -20,9 +15,6 @@ "outputs": {} } }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", "location": "brazilsouth", "tags": {} } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json index 5f0b844762c9..b414c6055e04 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json @@ -4921,6 +4921,232 @@ "x-ms-odata": "#/definitions/IntegrationAccountSessionFilter" } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations": { + "get": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_ListByIntegrationAccounts", + "description": "Gets a list of integration account RosettaNet process configurations.", + "x-ms-examples": { + "Get RosettaNetProcessConfigurations by integrationaccount name": { + "$ref": "./examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations/{rosettaNetProcessConfigurationName}": { + "get": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_Get", + "description": "Gets an integration account RosettaNetProcessConfiguration.", + "x-ms-examples": { + "Get RosettaNetProcessConfiguration by name": { + "$ref": "./examples/RosettaNetProcessConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNetProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_CreateOrUpdate", + "description": "Creates or updates an integration account RosettaNetProcessConfiguration.", + "x-ms-examples": { + "Create or update an RosettaNetProcessConfiguration": { + "$ref": "./examples/RosettaNetProcessConfigurationsCreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNet ProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "rosettaNetProcessConfiguration", + "description": "The integration account RosettaNet ProcessConfiguration.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_Delete", + "description": "Deletes an integration account RosettaNet ProcessConfiguration.", + "x-ms-examples": { + "Delete an RosettaNetProcessConfiguration": { + "$ref": "./examples/RosettaNetProcessConfigurationsDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNetProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}": { "get": { "tags": [ @@ -8209,6 +8435,19 @@ "modelAsString": true } }, + "MessageEncoding": { + "type": "string", + "enum": [ + "NotSpecified", + "Base64", + "EightBit", + "QuotedPrintable" + ], + "x-ms-enum": { + "name": "MessageEncoding", + "modelAsString": false + } + }, "TrailingSeparatorPolicy": { "type": "string", "enum": [ @@ -9030,6 +9269,323 @@ "modelAsString": false } }, + "IntegrationAccountRosettaNetProcessConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + }, + "description": "The list of integration account RosettaNet PIP configuration." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account RosettaNet process configuration." + }, + "IntegrationAccountRosettaNetProcessConfiguration": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationProperties", + "description": "The integration account RosettaNet process configuration properties." + } + }, + "description": "The integration account RosettaNet process configuration.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountRosettaNetProcessConfigurationProperties": { + "type": "object", + "required": [ + "processCode", + "processVersion", + "processName", + "activitySettings", + "initiatorRoleSettings", + "responderRoleSettings" + ], + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {}, + "additionalProperties": { + "type": "string" + } + }, + "activitySettings": { + "$ref": "#/definitions/RosettaNetPipActivitySettings", + "description": "The RosettaNet process configuration activity settings." + }, + "processCode": { + "type": "string", + "description": "The integration account RosettaNet process code." + }, + "processVersion": { + "type": "string", + "description": "The integration account RosettaNet process version." + }, + "processName": { + "type": "string", + "description": "The integration account RosettaNet process name." + }, + "initiatorRoleSettings": { + "$ref": "#/definitions/RosettaNetPipRoleSettings", + "description": "The RosettaNet initiator role settings." + }, + "responderRoleSettings": { + "$ref": "#/definitions/RosettaNetPipRoleSettings", + "description": "The RosettaNet responder role settings." + }, + "description": { + "type": "string", + "description": "The integration account RosettaNet ProcessConfiguration properties." + } + }, + "description": "The integration account RosettaNet process configuration properties." + }, + "RosettaNetPipActivitySettings": { + "type": "object", + "required": [ + "activityType", + "activityBehavior", + "acknowledgmentOfReceiptSettings" + ], + "properties": { + "activityType": { + "$ref": "#/definitions/RosettaNetPipActivityType", + "description": "The RosettaNet ProcessConfiguration activity type." + }, + "activityBehavior": { + "$ref": "#/definitions/RosettaNetPipActivityBehavior", + "description": "The RosettaNet ProcessConfiguration activity behavior." + }, + "acknowledgmentOfReceiptSettings": { + "$ref": "#/definitions/RosettaNetPipAcknowledgmentOfReceiptSettings", + "description": "The RosettaNet ProcessConfiguration acknowledgement settings." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration activity settings." + }, + "RosettaNetPipActivityType": { + "type": "string", + "enum": [ + "NotSpecified", + "InformationDistribution", + "BusinessTransaction", + "Notification", + "QueryResponse", + "RequestConfirm", + "RequestResponse" + ], + "x-ms-enum": { + "name": "RosettaNetPipActivityType", + "modelAsString": false + } + }, + "RosettaNetPipActivityBehavior": { + "type": "object", + "required": [ + "isAuthorizationRequired", + "persistentConfidentialityScope", + "isSecuredTransportRequired", + "actionType", + "responseType", + "nonRepudiationOfOriginAndContent", + "retryCount", + "timeToPerformInSeconds" + ], + "properties": { + "isAuthorizationRequired": { + "type": "boolean", + "description": "The value indicating whether authorization is required." + }, + "persistentConfidentialityScope": { + "$ref": "#/definitions/RosettaNetPipConfidentialityScope", + "description": "The persistent confidentiality encryption scope." + }, + "isSecuredTransportRequired": { + "type": "boolean", + "description": "The value indicating whether secured transport is required." + }, + "actionType": { + "$ref": "#/definitions/RosettaNetActionType", + "description": "The value indicating whether the RosettaNet PIP is used for a single action." + }, + "responseType": { + "$ref": "#/definitions/RosettaNetResponseType", + "description": "The value indicating whether the RosettaNet PIP communication is synchronous." + }, + "nonRepudiationOfOriginAndContent": { + "type": "boolean", + "description": "The value indicating whether non-repudiation is for origin and content." + }, + "retryCount": { + "type": "integer", + "description": "The value indicating retry count." + }, + "timeToPerformInSeconds": { + "type": "integer", + "description": "The time to perform in seconds." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration activity behavior." + }, + "RosettaNetPipConfidentialityScope": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "Payload", + "PayloadContainer" + ], + "x-ms-enum": { + "name": "RosettaNetPipConfidentialityScope", + "modelAsString": false + } + }, + "RosettaNetActionType": { + "type": "string", + "enum": [ + "NotSpecified", + "SingleAction", + "DoubleAction" + ], + "x-ms-enum": { + "name": "RosettaNetActionType", + "modelAsString": false + } + }, + "RosettaNetResponseType": { + "type": "string", + "enum": [ + "NotSpecified", + "Sync", + "Async" + ], + "x-ms-enum": { + "name": "RosettaNetResponseType", + "modelAsString": false + } + }, + "RosettaNetPipAcknowledgmentOfReceiptSettings": { + "type": "object", + "required": [ + "isNonRepudiationRequired", + "timeToAcknowledgeInSeconds" + ], + "properties": { + "isNonRepudiationRequired": { + "type": "boolean", + "description": "The non-repudiation is required or not." + }, + "timeToAcknowledgeInSeconds": { + "type": "integer", + "description": "The time to acknowledge in seconds." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration Acknowledgement settings." + }, + "RosettaNetPipRoleSettings": { + "type": "object", + "required": [ + "action", + "role", + "roleType", + "service", + "serviceClassification", + "businessDocument" + ], + "properties": { + "action": { + "type": "string", + "description": "The action name." + }, + "role": { + "type": "string", + "description": "The role name." + }, + "roleType": { + "$ref": "#/definitions/RosettaNetPipRoleType", + "description": "The RosettaNet ProcessConfiguration role type." + }, + "service": { + "type": "string", + "description": "The service name." + }, + "serviceClassification": { + "type": "string", + "description": "The service classification name." + }, + "businessDocument": { + "$ref": "#/definitions/RosettaNetPipBusinessDocument", + "description": "The RosettaNet ProcessConfiguration business document." + }, + "description": { + "type": "string", + "description": "The description." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration role settings." + }, + "RosettaNetPipRoleType": { + "type": "string", + "enum": [ + "NotSpecified", + "Functional", + "Organizational", + "Employee" + ], + "x-ms-enum": { + "name": "RosettaNetPipRoleType", + "modelAsString": false + } + }, + "RosettaNetPipBusinessDocument": { + "type": "object", + "required": [ + "name", + "version" + ], + "properties": { + "name": { + "type": "string", + "description": "The business document name." + }, + "version": { + "type": "string", + "description": "The business document version." + }, + "description": { + "type": "string", + "description": "The business document description." + } + }, + "description": "The RosettaNet ProcessConfiguration business document settings." + }, "IntegrationAccountCertificateListResult": { "type": "object", "properties": { From 92cf2c0e0f90e79c264e796460b51f83a04c95a9 Mon Sep 17 00:00:00 2001 From: Yaohai Zheng Date: Fri, 2 Aug 2019 15:49:05 +0800 Subject: [PATCH 434/495] Update reade for Java network tag 2019-06-01 (#6662) --- .../network/resource-manager/readme.java.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md index f3b716d3af1e..0c7b468e5551 100644 --- a/specification/network/resource-manager/readme.java.md +++ b/specification/network/resource-manager/readme.java.md @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network ``` yaml $(java) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-12 @@ -26,6 +27,19 @@ batch: - tag: package-2017-10 ``` +### Tag: package-2019-06 and java + +These settings apply only when `--tag=package-2019-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.network.v2019_06_01 + output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2019_06_01 + regenerate-manager: true + generate-interface: true +``` + ### Tag: package-2019-04 and java These settings apply only when `--tag=package-2019-04 --java` is specified on the command line. From d5648e3cc25661aedde134889afa2d9f5945ea72 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 05:01:13 -0400 Subject: [PATCH 435/495] chore: jsonfmt datafactory (#6841) --- .../examples/TriggerRuns_Rerun.json | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json index 2f6d8184e064..b06046f294f8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json @@ -1,22 +1,21 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "triggerName": "exampleTrigger", - "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:24 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", - "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" - } + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "triggerName": "exampleTrigger", + "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:46:24 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", + "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" } } } - \ No newline at end of file +} From 977d35aac11f76cc42c2128bef379c91aa2bb3c5 Mon Sep 17 00:00:00 2001 From: Hyonho Lee Date: Fri, 2 Aug 2019 11:14:57 -0700 Subject: [PATCH 436/495] Add missing Gallery Application API in 2019-07-01 version (#6745) --- .../stable/2019-03-01/gallery.json | 6 +- ...eateOrUpdateASimpleGalleryApplication.json | 66 ++ ...pdateASimpleGalleryApplicationVersion.json | 123 +++ .../examples/DeleteAGalleryApplication.json | 14 + .../DeleteAGalleryApplicationVersion.json | 15 + .../examples/GetAGalleryApplication.json | 24 + .../GetAGalleryApplicationVersion.json | 42 + ...plicationVersionWithReplicationStatus.json | 52 ++ ...licationVersionsInAGalleryApplication.json | 46 + .../ListGalleryApplicationsInAGallery.json | 28 + .../stable/2019-07-01/gallery.json | 853 ++++++++++++++++-- 11 files changed, 1191 insertions(+), 78 deletions(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json index 694c0034f14d..5e478800029a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json @@ -451,7 +451,7 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Create or update a simple gallery Image Version.": { + "Create or update a simple Gallery Image Version.": { "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json" } } @@ -1522,7 +1522,7 @@ }, "osState": { "type": "string", - "description": "The allowed values for OS State are 'Generalized'.", + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.", "enum": [ "Generalized", "Specialized" @@ -1822,7 +1822,7 @@ "description": "A list of data disk images." } }, - "description": "This is the storage profile of a gallery Image Version." + "description": "This is the storage profile of a Gallery Image Version." }, "GalleryOSDiskImage": { "allOf": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json new file mode 100644 index 000000000000..75db97c61c85 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplication": { + "location": "West US", + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "201": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "202": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json new file mode 100644 index 000000000000..aede7a8eeae6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "galleryApplicationVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "endOfLifeDate": "2019-07-01T07:00:00Z", + "storageAccountType": "Standard_LRS" + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Creating" + } + } + }, + "202": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json new file mode 100644 index 000000000000..f17c5a1f99eb --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json new file mode 100644 index 000000000000..49369a076b86 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json new file mode 100644 index 000000000000..045dde2dcd4d --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json new file mode 100644 index 000000000000..6fea34a1fd64 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json new file mode 100644 index 000000000000..a91a4daf865b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "$expand": "ReplicationStatus" + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "replicationStatus": { + "aggregatedState": "Completed", + "summary": [ + { + "region": "West US", + "state": "Completed", + "details": "", + "progress": 100 + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json new file mode 100644 index 000000000000..af550ea5e129 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json new file mode 100644 index 000000000000..ea07a1d0c8e3 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json index 01ebe9c7bc32..9af963b8fced 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json @@ -600,6 +600,406 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": { + "put": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_CreateOrUpdate", + "description": "Create or update a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be created." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "Parameters supplied to the create or update gallery Application operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Get", + "description": "Retrieves information about a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be retrieved." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application.": { + "$ref": "./examples/GetAGalleryApplication.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Delete", + "description": "Delete a gallery Application.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application.": { + "$ref": "./examples/DeleteAGalleryApplication.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": { + "put": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_CreateOrUpdate", + "description": "Create or update a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version is to be created." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplicationVersion", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "Parameters supplied to the create or update gallery Application Version operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application Version.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Get", + "description": "Retrieves information about a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be retrieved." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "ReplicationStatus" + ], + "x-ms-enum": { + "name": "ReplicationStatusTypes", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application Version.": { + "$ref": "./examples/GetAGalleryApplicationVersion.json" + }, + "Get a gallery Application Version with replication status.": { + "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Delete", + "description": "Delete a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application Version.": { + "$ref": "./examples/DeleteAGalleryApplicationVersion.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": { "get": { "tags": [ @@ -784,15 +1184,170 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } - } - }, - "definitions": { - "Gallery": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": { + "get": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_ListByGallery", + "description": "List gallery Application Definitions in a gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery Applications in a gallery.": { + "$ref": "./examples/ListGalleryApplicationsInAGallery.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": { + "get": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_ListByGalleryApplication", + "description": "List gallery Application Versions in a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery Application Versions in a gallery Application Definition.": { + "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Gallery": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the Shared Image Gallery that you want to create or update." + }, + "GalleryProperties": { + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "$ref": "#/definitions/GalleryIdentifier" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryIdentifier": { + "properties": { + "uniqueName": { + "readOnly": true, + "type": "string", + "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." + } + }, + "description": "Describes the gallery unique name." + }, + "GalleryApplication": { "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryProperties" + "$ref": "#/definitions/GalleryApplicationProperties" } }, "allOf": [ @@ -800,21 +1355,72 @@ "$ref": "#/definitions/Resource" } ], - "description": "Specifies information about the Shared Image Gallery that you want to create or update." + "description": "Specifies information about the gallery Application Definition that you want to create or update." }, - "GalleryProperties": { + "GalleryApplicationProperties": { "properties": { "description": { "type": "string", - "description": "The description of this Shared Image Gallery resource. This property is updatable." + "description": "The description of this gallery Application Definition resource. This property is updatable." }, - "identifier": { - "$ref": "#/definitions/GalleryIdentifier" + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "supportedOSType": { + "type": "string", + "description": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersion": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryApplicationVersionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Application Version that you want to create or update." + }, + "GalleryApplicationVersionProperties": { + "properties": { + "publishingProfile": { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" }, "provisioningState": { "readOnly": true, "type": "string", - "title": "The current state of the gallery.", + "title": "The current state of the gallery Application Version.", "description": "The provisioning state, which only appears in the response.", "enum": [ "Creating", @@ -824,19 +1430,57 @@ "Deleting", "Migrating" ] + }, + "replicationStatus": { + "readOnly": true, + "$ref": "#/definitions/ReplicationStatus" } }, - "description": "Describes the properties of a Shared Image Gallery." + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery Image Version." }, - "GalleryIdentifier": { + "GalleryApplicationVersionPublishingProfile": { "properties": { - "uniqueName": { - "readOnly": true, + "source": { + "$ref": "#/definitions/UserArtifactSource" + }, + "contentType": { "type": "string", - "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." + "description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc." + }, + "enableHealthCheck": { + "type": "boolean", + "description": "Optional. Whether or not this application reports health." } }, - "description": "Describes the gallery unique name." + "allOf": [ + { + "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" + } + ], + "required": [ + "source" + ], + "description": "The publishing profile of a gallery Image Version." + }, + "UserArtifactSource": { + "properties": { + "fileName": { + "type": "string", + "description": "Required. The fileName of the artifact." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage blob." + } + }, + "required": [ + "fileName", + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." }, "GalleryImage": { "properties": { @@ -1076,6 +1720,38 @@ "$ref": "#/definitions/TargetRegion" }, "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + }, + "replicaCount": { + "type": "integer", + "format": "int32", + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "excludeFromLatest": { + "type": "boolean", + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "publishedDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp for when the gallery Image Version is published." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." + }, + "storageAccountType": { + "type": "string", + "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": true + } } }, "description": "Describes the basic gallery artifact publishing profile." @@ -1109,41 +1785,30 @@ ], "description": "Describes the target region information." }, - "GalleryImageVersionPublishingProfile": { + "GalleryArtifactSource": { "properties": { - "replicaCount": { - "type": "integer", - "format": "int32", - "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." - }, - "excludeFromLatest": { - "type": "boolean", - "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." - }, - "publishedDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The timestamp for when the gallery Image Version is published." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." - }, - "storageAccountType": { + "managedImage": { + "$ref": "#/definitions/ManagedArtifact" + } + }, + "required": [ + "managedImage" + ], + "description": "The source image from which the Image Version is going to be created." + }, + "ManagedArtifact": { + "properties": { + "id": { "type": "string", - "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", - "enum": [ - "Standard_LRS", - "Standard_ZRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - } + "description": "The managed artifact id." } }, + "required": [ + "id" + ], + "description": "The managed artifact." + }, + "GalleryImageVersionPublishingProfile": { "allOf": [ { "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" @@ -1181,6 +1846,32 @@ ], "description": "The gallery artifact version source." }, + "GalleryOSDiskImage": { + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "description": "This is the OS disk image." + }, + "GalleryDataDiskImage": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, "GalleryDiskImage": { "properties": { "sizeInGB": { @@ -1208,32 +1899,6 @@ }, "description": "This is the disk image base class." }, - "GalleryOSDiskImage": { - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "description": "This is the OS disk image." - }, - "GalleryDataDiskImage": { - "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." - } - }, - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "required": [ - "lun" - ], - "description": "This is the data disk image." - }, "ReplicationStatus": { "properties": { "aggregatedState": { @@ -1355,6 +2020,44 @@ ], "description": "The List Gallery Image version operation response." }, + "GalleryApplicationList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "A list of Gallery Applications." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Applications operation response." + }, + "GalleryApplicationVersionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "A list of gallery Application Versions." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Application version operation response." + }, "CloudError": { "x-ms-external": true, "properties": { From cabd379e9c5a44bda9bfab3258af9201308b4dde Mon Sep 17 00:00:00 2001 From: Sornakumar Date: Fri, 2 Aug 2019 12:30:26 -0700 Subject: [PATCH 437/495] Updating examples to reflect the current state of things. (#6838) --- .../examples/GetAllHybridUseBenefits.json | 8 ++++---- .../examples/GetHybridUseBenefitRevisions.json | 6 +++--- .../examples/GetSingleHybridUseBenefit.json | 6 +++--- .../examples/PatchHybridUseBenefit.json | 4 ++-- .../2019-06-01-preview/examples/PutHybridUseBenefit.json | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json index 11ce294cc36a..90bd417ce859 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json @@ -2,18 +2,18 @@ "parameters": { "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", "api-version": "2019-06-01-preview", - "$filter": "SQLBYOLEnterpriseForADH" + "$filter": "SQL_Server_EE_AHB" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_hostGroup_hostName", + "name": "SQL_hostGroup_hostName", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json index 5a5bb43a8b8a..268d31a5d846 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json index 421f5f879e34..bef6e6c1cb2d 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json @@ -7,11 +7,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json index 0c00bdfb88ce..76f4e34b3b64 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json @@ -13,8 +13,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { "name": "SQLBYOLStandardForADH" diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json index 51eac8d275cb..b7c9acba44b6 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json @@ -6,18 +6,18 @@ "body": { "type": "Microsoft.SoftwarePlan/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_Perpetual" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_Perpetual" }, "etag": 1, "properties": { From e0964518fde233fff1f2683d7272372f9fee5db2 Mon Sep 17 00:00:00 2001 From: Tamra Myers Date: Fri, 2 Aug 2019 12:56:57 -0700 Subject: [PATCH 438/495] updating description - clarify encryption enabled by default (#6392) --- .../Microsoft.Storage/stable/2019-04-01/storage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json index 4997e5519c20..44666d5baaee 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json @@ -1349,7 +1349,7 @@ }, "encryption": { "$ref": "#/definitions/Encryption", - "description": "Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted." + "description": "Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled." }, "networkAcls": { "$ref": "#/definitions/NetworkRuleSet", From a41ded4bfb56b2a5c0c62c053cd76acfd1f8f307 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 18:47:23 -0400 Subject: [PATCH 439/495] fix: databox model validation errors (#6834) Remove empty body for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../stable/2018-01-01/examples/JobsCancelPost.json | 4 +--- .../stable/2018-01-01/examples/JobsCreate.json | 4 +--- .../stable/2018-01-01/examples/JobsDelete.json | 8 ++------ .../stable/2018-01-01/examples/JobsPatch.json | 4 +--- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json index 27d6c0b10ee1..53b1e531c3b8 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json @@ -26,8 +26,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json index a8d3fce74ad3..7aecaf824e8c 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json @@ -60,9 +60,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json index c6e0b8f29e28..a1ab18e456e4 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json @@ -17,11 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json index 75d9a8fa2cd4..2a7b81772c4d 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json @@ -47,9 +47,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { From 9a821a3b6ca4025a69a27ec8da8e623bc5a645d8 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 2 Aug 2019 18:49:37 -0400 Subject: [PATCH 440/495] fix: batchai model validation errors (#6781) Change "parameters" to "body" for RESPONSE_BODY_NOT_IN_EXAMPLE errors --- .../preview/2017-09-01-preview/examples/PutFileServer.json | 2 +- .../stable/2018-03-01/examples/PutFileServer.json | 2 +- .../stable/2018-05-01/examples/PutFileServer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json index 1b3154d420e0..f511bcdaa541 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json index 19986c09970c..f319ee74030f 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json index 86208593a021..e11fd4ec53b0 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/workspaces/demo_workspace/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", From f37cfd605641050a308a6fba28408319e8df15e4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 3 Aug 2019 19:13:51 -0400 Subject: [PATCH 441/495] chore: jsonfmt logic (#6856) --- ...ountBatchConfigurationsCreateOrUpdate.json | 24 +- .../IntegrationAccountsListKeyVaultKeys.json | 3 +- ...etProcessConfigurationsCreateOrUpdate.json | 242 +++++++++--------- ...RosettaNetProcessConfigurationsDelete.json | 20 +- .../RosettaNetProcessConfigurationsGet.json | 132 +++++----- ...nfigurationsListByIntegrationAccounts.json | 156 +++++------ .../2016-06-01/examples/WorkflowRunsList.json | 2 +- .../examples/WorkflowTriggersRun.json | 2 +- .../examples/WorkflowTriggersSetState.json | 6 +- .../examples/WorkflowVersionsGet.json | 2 +- .../examples/WorkflowsCreateOrUpdate.json | 4 +- .../2016-06-01/examples/WorkflowsGet.json | 2 +- .../WorkflowsListByResourceGroup.json | 4 +- .../examples/WorkflowsListBySubscription.json | 2 +- .../2016-06-01/examples/WorkflowsMove.json | 26 +- .../2016-06-01/examples/WorkflowsUpdate.json | 2 +- .../examples/WorkflowsValidateByLocation.json | 4 +- .../stable/2016-06-01/logic.json | 2 +- 18 files changed, 316 insertions(+), 319 deletions(-) diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json index 3a80cc6dad21..ceac00bace19 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json @@ -6,18 +6,18 @@ "integrationAccountName": "testIntegrationAccount", "batchConfigurationName": "testBatchConfiguration", "batchConfiguration": { - "properties": { - "batchGroupName": "DEFAULT", - "releaseCriteria": { - "recurrence": { - "frequency": "Minute", - "interval": 1, - "startTime": "2017-03-24T11:43:00", - "timeZone": "India Standard Time" - }, - "messageCount": 10, - "batchSize": 234567 - } + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + } }, "location": "westus" } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json index 8e0d521cc41b..dfbe4d860bbf 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json @@ -6,8 +6,7 @@ "integrationAccountName": "testIntegrationAccount", "listKeyVaultKeys": { "skipToken": "testSkipToken", - "keyVault" : { - } + "keyVault": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json index cb801586bef5..8576c68e7cfe 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json @@ -13,50 +13,50 @@ "processName": "Request Purchase Order", "description": "Test description", "activitySettings": { - "activityType": "RequestResponse", - "activityBehavior": { - "isAuthorizationRequired": false, - "persistentConfidentialityScope": "None", - "isSecuredTransportRequired": false, - "actionType": "DoubleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 2, - "timeToPerformInSeconds": 7200 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 600 - } + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } }, "initiatorRoleSettings": { - "action": "Purchase Order Request", - "role": "Buyer", - "description": "This partner role creates a demand for a product or service.", - "roleType": "Functional", - "service": "Buyer Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Request", - "description": "A request to accept a purchase order for fulfillment..", - "version": "V02.02.00" - } + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } }, "responderRoleSettings": { - "action": "Purchase Order Confirmation Action", - "role": "Seller", - "description": "An organization that sells products to partners in the supply chain.", - "roleType": "Organizational", - "service": "Seller Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Confirmation", - "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", - "version": "V02.02.00" - } + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } } - } -} + } + } }, "responses": { "200": { @@ -75,54 +75,54 @@ "processName": "Request Purchase Order", "description": "Test description", "activitySettings": { - "activityType": "RequestResponse", - "activityBehavior": { - "isAuthorizationRequired": false, - "persistentConfidentialityScope": "None", - "isSecuredTransportRequired": false, - "actionType": "DoubleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 2, - "timeToPerformInSeconds": 7200 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 600 - } + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } }, "initiatorRoleSettings": { - "action": "Purchase Order Request", - "role": "Buyer", - "description": "This partner role creates a demand for a product or service.", - "roleType": "Functional", - "service": "Buyer Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Request", - "description": "A request to accept a purchase order for fulfillment..", - "version": "V02.02.00" - } + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } }, "responderRoleSettings": { - "action": "Purchase Order Confirmation Action", - "role": "Seller", - "description": "An organization that sells products to partners in the supply chain.", - "roleType": "Organizational", - "service": "Seller Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Confirmation", - "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", - "version": "V02.02.00" - } + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } }, "createdTime": "2018-10-22T19:33:12.3769017Z", "changedTime": "2019-02-21T20:41:35.9796534Z" }, - "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", - "name":"3A4", - "type":"Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" } }, "201": { @@ -135,59 +135,59 @@ }, "body": { "properties": { - "createdTime":"2019-02-21T20:41:35.9789189Z", - "changedTime":"2019-02-21T20:41:35.9796534Z", + "createdTime": "2019-02-21T20:41:35.9789189Z", + "changedTime": "2019-02-21T20:41:35.9796534Z", "processCode": "3A4", "processVersion": "V02.02.00", "processName": "Request Purchase Order", "description": "Test description", "activitySettings": { - "activityType": "RequestResponse", - "activityBehavior": { - "isAuthorizationRequired": false, - "persistentConfidentialityScope": "None", - "isSecuredTransportRequired": false, - "actionType": "DoubleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 2, - "timeToPerformInSeconds": 7200 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 600 - } + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } }, "initiatorRoleSettings": { - "action": "Purchase Order Request", - "role": "Buyer", - "description": "This partner role creates a demand for a product or service.", - "roleType": "Functional", - "service": "Buyer Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Request", - "description": "A request to accept a purchase order for fulfillment..", - "version": "V02.02.00" - } + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } }, "responderRoleSettings": { - "action": "Purchase Order Confirmation Action", - "role": "Seller", - "description": "An organization that sells products to partners in the supply chain.", - "roleType": "Organizational", - "service": "Seller Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Confirmation", - "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", - "version": "V02.02.00" - } + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } } }, - "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", - "name":"3A4", - "type":"Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json index 9d781e0fda0e..64ef9a187eee 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json @@ -1,13 +1,13 @@ { - "parameters":{ - "api-version":"2016-06-01", - "resourceGroupName":"testResourceGroup", - "subscriptionId":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "integrationAccountName":"testIntegrationAccount", - "rosettaNetProcessConfigurationName":"3A4" - }, - "responses":{ + "parameters": { + "api-version": "2016-06-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "rosettaNetProcessConfigurationName": "3A4" + }, + "responses": { "200": {}, "204": {} - } -} \ No newline at end of file + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json index 60a5e229cce9..7166e46950c4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json @@ -1,68 +1,68 @@ { - "parameters":{ - "api-version":"2016-06-01", - "resourceGroupName":"testResourceGroup", - "subscriptionId":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "integrationAccountName":"testIntegrationAccount", - "rosettaNetProcessConfigurationName":"3A4" - }, - "responses":{ - "200":{ - "body":{ - "properties": { - "processCode": "3A4", - "processVersion": "V02.02.00", - "processName": "3A4", - "activitySettings": { - "activityType": "RequestResponse", - "activityBehavior": { - "isAuthorizationRequired": true, - "persistentConfidentialityScope": "Payload", - "isSecuredTransportRequired": true, - "actionType": "DoubleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 4, - "timeToPerformInSeconds": 600 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 60 - } - }, - "initiatorRoleSettings": { - "action": "Purchase Order Request Action", - "role": "Buyer", - "description": "An employee or organization that buys products for a partner type in the supply chain.", - "roleType": "Functional", - "service": "Buyer Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Request", - "description": "A request to accept a purchase order for fulfillment.", - "version": "V02.02.00" - } - }, - "responderRoleSettings": { - "action": "Purchase Order Confirmation Action", - "role": "Seller", - "description": "An organization that sells products to partners in the supply chain.", - "roleType": "Organizational", - "service": "Seller Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Purchase Order Confirmation", - "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", - "version": "V02.02.00" - } - }, - "createdTime": "2019-05-22T13:46:54.6312192Z", - "changedTime": "2019-05-29T20:09:48.5167814Z" - }, - "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4", - "name": "3A4", - "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" - } + "parameters": { + "api-version": "2016-06-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "rosettaNetProcessConfigurationName": "3A4" + }, + "responses": { + "200": { + "body": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "3A4", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": true, + "persistentConfidentialityScope": "Payload", + "isSecuredTransportRequired": true, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 600 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 60 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request Action", + "role": "Buyer", + "description": "An employee or organization that buys products for a partner type in the supply chain.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment.", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + }, + "createdTime": "2019-05-22T13:46:54.6312192Z", + "changedTime": "2019-05-29T20:09:48.5167814Z" + }, + "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" } - } -} \ No newline at end of file + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json index 1f99ac5dadf8..199ee16443af 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json @@ -24,54 +24,54 @@ "processVersion": "V02.00.00", "processName": "0A1", "activitySettings": { - "activityType": "InformationDistribution", - "activityBehavior": { - "isAuthorizationRequired": false, - "persistentConfidentialityScope": "None", - "isSecuredTransportRequired": false, - "actionType": "SingleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 4, - "timeToPerformInSeconds": 86400 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 36400 - } + "activityType": "InformationDistribution", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "SingleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } }, "initiatorRoleSettings": { - "action": "Failure Notification Action", - "role": "PIP Failure Notifier", - "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.", - "roleType": "Functional", - "service": "PIP Failure Notifier Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Failure Notification", - "description": "An unsolicited formal notification of the failure to perform a business activity.", - "version": "V02.00.00" - } + "action": "Failure Notification Action", + "role": "PIP Failure Notifier", + "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.", + "roleType": "Functional", + "service": "PIP Failure Notifier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } }, "responderRoleSettings": { - "action": "Failure Notification Action", - "role": "Failure Report Administrator", - "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.", - "roleType": "Organizational", - "service": "Failure Report Administrator Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Failure Notification", - "description": "An unsolicited formal notification of the failure to perform a business activity.", - "version": "V02.00.00" - } + "action": "Failure Notification Action", + "role": "Failure Report Administrator", + "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.", + "roleType": "Organizational", + "service": "Failure Report Administrator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } }, "createdTime": "2019-05-22T13:47:26.330972Z", "changedTime": "2019-05-22T13:47:26.3328234Z" - }, - "id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1", - "name":"IntegrationAccountSession1662", - "type":"Microsoft.Logic/integrationAccounts/sessions" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1", + "name": "IntegrationAccountSession1662", + "type": "Microsoft.Logic/integrationAccounts/sessions" }, { "properties": { @@ -79,47 +79,47 @@ "processVersion": "R02.00.00", "processName": "3A3", "activitySettings": { - "activityType": "RequestResponse", - "activityBehavior": { - "isAuthorizationRequired": false, - "persistentConfidentialityScope": "None", - "isSecuredTransportRequired": false, - "actionType": "DoubleAction", - "responseType": "Async", - "nonRepudiationOfOriginAndContent": false, - "retryCount": 4, - "timeToPerformInSeconds": 86400 - }, - "acknowledgmentOfReceiptSettings": { - "isNonRepudiationRequired": false, - "timeToAcknowledgeInSeconds": 36400 - } + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } }, "initiatorRoleSettings": { - "action": "Shopping Cart Transfer Request Action", - "role": "Sales Facilitator", - "description": "This partner role facilitates the sale of product between partners in the supply chain.", - "roleType": "Functional", - "service": "Sales Facilitator Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Shopping Cart Transfer Request", - "description": "Requests a Supplier to confirm the transfer of a shopping cart.", - "version": "R02.00.00" - } + "action": "Shopping Cart Transfer Request Action", + "role": "Sales Facilitator", + "description": "This partner role facilitates the sale of product between partners in the supply chain.", + "roleType": "Functional", + "service": "Sales Facilitator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Request", + "description": "Requests a Supplier to confirm the transfer of a shopping cart.", + "version": "R02.00.00" + } }, "responderRoleSettings": { - "action": "Shopping Cart Transfer Confirmation Action", - "role": "Supplier", - "description": "This partner role supplies product to customers in the supply chain.", - "roleType": "Organizational", - "service": "Supplier Service", - "serviceClassification": "Business Service", - "businessDocument": { - "name": "Shopping Cart Transfer Confirmation", - "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.", - "version": "R02.00.00" - } + "action": "Shopping Cart Transfer Confirmation Action", + "role": "Supplier", + "description": "This partner role supplies product to customers in the supply chain.", + "roleType": "Organizational", + "service": "Supplier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Confirmation", + "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.", + "version": "R02.00.00" + } }, "createdTime": "2019-05-31T06:46:08.1261454Z", "changedTime": "2019-05-31T06:46:08.129905Z" diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json index b057508ba63e..4bf84603c963 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "value": [ + "value": [ { "properties": { "waitEndTime": "2018-08-10T20:16:32.044238Z", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json index a0884d8baecc..d5ef6341bd95 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json @@ -8,7 +8,7 @@ }, "responses": { "default": { - "body" : {} + "body": {} } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json index ce138e4c8e0b..3887816c0f0c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json @@ -6,12 +6,10 @@ "workflowName": "testWorkflow", "triggerName": "testTrigger", "setState": { - "source": { - } + "source": {} } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json index c096cfa0bfad..68bf77a17872 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json @@ -35,5 +35,5 @@ "tags": {} } } - } + } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json index 2cdc0a3f95fa..90c83fc78aa3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json @@ -59,7 +59,7 @@ }, "responses": { "200": { - "body": { + "body": { "properties": { "provisioningState": "Succeeded", "createdTime": "2018-04-25T01:39:21.4365247Z", @@ -83,7 +83,7 @@ "parameters": {} } } - }, + }, "201": { "body": { "properties": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json index 9b22baec7949..e9a8d30c027a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json @@ -37,5 +37,5 @@ "tags": {} } } - } + } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json index 9bfcb996f8b8..bee0ba58a582 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json @@ -6,7 +6,7 @@ }, "responses": { "200": { - "body": { + "body": { "value": [ { "properties": { @@ -30,7 +30,7 @@ "outputs": {} }, "parameters": {} - }, + }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", "type": "Microsoft.Logic/workflows", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json index d613c282cc0b..9aee6ae8b6e1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json @@ -29,7 +29,7 @@ "outputs": {} }, "parameters": {} - }, + }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", "type": "Microsoft.Logic/workflows", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json index 9ddfb7c4245d..22a0534d49f4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json @@ -5,19 +5,19 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "testWorkflow", "move": { - "properties": { - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - } - }, - "location": "brazilsouth", - "tags": {} - } + "properties": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + } + }, + "location": "brazilsouth", + "tags": {} + } }, "responses": { "200": {}, diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json index af483a7aa29a..68cbe17e3b4f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json @@ -82,7 +82,7 @@ }, "parameters": {} } - } + } } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json index e9ceaecb22d5..407bb45c8b9d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json @@ -5,8 +5,8 @@ "resourceGroupName": "test-resource-group", "location": "brazilsouth", "workflowName": "test-workflow", - "workflow" : { - "properties" : {} + "workflow": { + "properties": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json index b414c6055e04..77d4055b2c5e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json @@ -9305,7 +9305,7 @@ } ] }, - "IntegrationAccountRosettaNetProcessConfigurationProperties": { + "IntegrationAccountRosettaNetProcessConfigurationProperties": { "type": "object", "required": [ "processCode", From 37fcc6d2c5e25243dd737ac5b940895de5ee47a2 Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Sat, 3 Aug 2019 19:45:51 -0700 Subject: [PATCH 442/495] Add way to override the service url example (#6793) * Add way to override the service url * fix file reference * removed readonly property --- .../stable/2019-01-01/apimapis.json | 3 + .../ApiManagementCreateApiOperation.json | 1 - ...reateApiUsingImportOverrideServiceUrl.json | 68 +++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json index 0f543b0ff4f4..921c722c09d6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json @@ -253,6 +253,9 @@ }, "ApiManagementCreateApiWithOpenIdConnect": { "$ref": "./examples/ApiManagementCreateApiWithOpenIdConnect.json" + }, + "ApiManagementCreateApiUsingImportOverrideServiceUrl": { + "$ref": "./examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json" } }, "parameters": [ diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json index 246f91a4172b..e1215791cdac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json @@ -7,7 +7,6 @@ "apiId": "PetStoreTemplate2", "operationId": "newoperations", "parameters": { - "name": "newoperation", "properties": { "displayName": "createUser2", "method": "POST", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json new file mode 100644 index 000000000000..2f4c8b34db4d --- /dev/null +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "apidocs", + "parameters": { + "properties": { + "format": "swagger-link", + "value": "http://apimpimportviaurl.azurewebsites.net/api/apidocs/", + "path": "petstoreapi123", + "serviceUrl": "http://petstore.swagger.wordnik.com/api" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs", + "type": "Microsoft.ApiManagement/service/apis", + "name": "apidocs", + "properties": { + "displayName": "Swagger Sample App", + "apiRevision": "1", + "description": "This is a sample server Petstore server. You can find out more about Swagger \n at
http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "petstoreapi123", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "isCurrent": true + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs", + "type": "Microsoft.ApiManagement/service/apis", + "name": "apidocs", + "properties": { + "displayName": "Swagger Sample App", + "apiRevision": "1", + "description": "This is a sample server Petstore server. You can find out more about Swagger \n at http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "petstoreapi123", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "isCurrent": true + } + } + } + } +} \ No newline at end of file From 08aecef2a3ce402f09aa48d48951c65f64828cfc Mon Sep 17 00:00:00 2001 From: dosegal <51155368+dosegal@users.noreply.github.com> Date: Mon, 5 Aug 2019 04:13:57 +0300 Subject: [PATCH 443/495] SecurityInsights: Investigation swagger updates (#6652) * added entities + exand * added cases missing properties * renamed inner entities * fixed error in 'get all entitiy queries' example * fixed error in 'get all entitiy queries' example * fixed model validation errors * fixed typos * changed entities location * changed entities location * changed entities location * fixed indentation issues * fixed confidence reasons + reuse alert severity * GetAll entities returned * added custom words * fixed filehash entity defenition * removed cases changes (will be in another PR) * removed cases changes (will be in another PR) * removed cases changes (will be in another PR) * removed bookmarkEntity from entities api (currently not supported) * rerun tests --- custom-words.txt | 5 + .../2019-01-01-preview/SecurityInsights.json | 1675 +++++++++++++++-- .../entities/GetAccountEntityById.json | 1 + .../entities/GetAzureResourceEntityById.json | 24 + .../GetCloudApplicationEntityById.json | 26 + .../examples/entities/GetDnsEntityById.json | 25 + .../examples/entities/GetEntities.json | 7 +- .../examples/entities/GetFileEntityById.json | 1 + .../entities/GetFileHashEntityById.json | 25 + .../examples/entities/GetHostEntityById.json | 1 + .../examples/entities/GetIpEntityById.json | 24 + .../entities/GetMalwareEntityById.json | 25 + .../entities/GetProcessEntityById.json | 26 + .../entities/GetRegistryKeyEntityById.json | 25 + .../entities/GetRegistryValueEntityById.json | 27 + .../entities/GetSecurityAlertEntityById.json | 46 + .../entities/GetSecurityGroupEntityById.json | 26 + .../examples/entities/GetUrlEntityById.json | 24 + .../entities/expand/PostExpandEntity.json | 44 + .../entityQueries/GetEntityQueries.json | 12 +- .../entityQueries/GetEntityQueryById.json | 4 +- 21 files changed, 1958 insertions(+), 115 deletions(-) create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json create mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json diff --git a/custom-words.txt b/custom-words.txt index 5f85e91781cf..9d8c37eb3a84 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -104,6 +104,7 @@ asyncoperation australiaeast australiasoutheast authenticatable +Authenticode authorizationrules authsettings authsid @@ -455,6 +456,7 @@ eventtime eventtypes EWDG exceptiontype +exfiltrate Exfiltration explicitlist exportconfiguration @@ -571,6 +573,7 @@ HHMMSS hierarchicalentities hierarchyid hivevar +HKEY homepagetest Horovod hostnames @@ -648,6 +651,7 @@ ITSM janedoe japaneast japanwest +Jedobot Jira jobcompletion jobid @@ -859,6 +863,7 @@ Ngfw NICs nillable nist +NLSTEXT noaccess noaction noartifactsource diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index 79f98bc11fcc..03a073788341 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -1131,11 +1131,47 @@ "Get an account entity.": { "$ref": "./examples/entities/GetAccountEntityById.json" }, - "Get an host entity.": { + "Get a host entity.": { "$ref": "./examples/entities/GetHostEntityById.json" }, - "Get an file entity.": { + "Get a file entity.": { "$ref": "./examples/entities/GetFileEntityById.json" + }, + "Get a security alert entity.": { + "$ref": "./examples/entities/GetSecurityAlertEntityById.json" + }, + "Get a file hash entity.": { + "$ref": "./examples/entities/GetFileHashEntityById.json" + }, + "Get a malware entity.": { + "$ref": "./examples/entities/GetMalwareEntityById.json" + }, + "Get a security group entity.": { + "$ref": "./examples/entities/GetSecurityGroupEntityById.json" + }, + "Get an azure resource entity.": { + "$ref": "./examples/entities/GetAzureResourceEntityById.json" + }, + "Get a cloud application entity.": { + "$ref": "./examples/entities/GetCloudApplicationEntityById.json" + }, + "Get a process entity.": { + "$ref": "./examples/entities/GetProcessEntityById.json" + }, + "Get a dns entity.": { + "$ref": "./examples/entities/GetDnsEntityById.json" + }, + "Get an ip entity.": { + "$ref": "./examples/entities/GetIpEntityById.json" + }, + "Get a registry key entity.": { + "$ref": "./examples/entities/GetRegistryKeyEntityById.json" + }, + "Get a registry value entity.": { + "$ref": "./examples/entities/GetRegistryValueEntityById.json" + }, + "Get a url entity.": { + "$ref": "./examples/entities/GetUrlEntityById.json" } }, "tags": [ @@ -1179,6 +1215,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand": { + "post": { + "x-ms-examples": { + "Expand an entity": { + "$ref": "./examples/entities/expand/PostExpandEntity.json" + } + }, + "tags": [ + "Entities" + ], + "description": "Expands an entity.", + "operationId": "Entities_Expand", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, + { + "$ref": "#/parameters/WorkspaceName" + }, + { + "$ref": "#/parameters/EntityId" + }, + { + "$ref": "#/parameters/EntityExpandRequestBody" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityExpandResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents": { "get": { "x-ms-examples": { @@ -1737,35 +1824,7 @@ "description": "The description of the alert rule." }, "severity": { - "type": "string", - "enum": [ - "High", - "Medium", - "Low", - "Informational" - ], - "x-ms-enum": { - "name": "AlertSeverity", - "modelAsString": false, - "values": [ - { - "value": "High", - "description": "High severity" - }, - { - "value": "Medium", - "description": "Medium severity" - }, - { - "value": "Low", - "description": "Low severity" - }, - { - "value": "Informational", - "description": "Informational severity" - } - ] - }, + "$ref": "#/definitions/AlertSeverity", "description": "The severity for alerts created by this alert rule." }, "enabled": { @@ -1833,6 +1892,38 @@ "suppressionDuration" ] }, + "AlertSeverity": { + "type": "string", + "description": "The severity of the alert", + "enum": [ + "High", + "Medium", + "Low", + "Informational" + ], + "x-ms-enum": { + "name": "AlertSeverity", + "modelAsString": false, + "values": [ + { + "value": "High", + "description": "High severity" + }, + { + "value": "Medium", + "description": "Medium severity" + }, + { + "value": "Low", + "description": "Low severity" + }, + { + "value": "Informational", + "description": "Informational severity" + } + ] + } + }, "ActionsList": { "description": "List all the actions.", "properties": { @@ -2679,34 +2770,122 @@ }, "EntityKind": { "type": "object", - "description": "Describes an Azure resource with kind.", + "description": "Describes an entity with kind.", "properties": { "kind": { - "type": "string", - "description": "The kind of the entity", - "enum": [ - "Account", - "Host", - "File" - ], - "x-ms-enum": { - "name": "EntityKind", - "modelAsString": true, - "values": [ - { - "value": "Account", - "description": "Entity represents account in the system." - }, - { - "value": "Host", - "description": "Entity represents host in the system." - }, - { - "value": "File", - "description": "Entity represents file in the system." - } - ] + "description": "The kind of the entity.", + "$ref": "#/definitions/EntityInnerKind" + } + } + }, + "EntityInnerKind": { + "type": "string", + "description": "The kind of the entity", + "enum": [ + "Account", + "Host", + "File", + "AzureResource", + "CloudApplication", + "DnsResolution", + "FileHash", + "Ip", + "Malware", + "Process", + "RegistryKey", + "RegistryValue", + "SecurityGroup", + "Url", + "SecurityAlert", + "Bookmark" + ], + "x-ms-enum": { + "name": "EntityKind", + "modelAsString": true, + "values": [ + { + "value": "Account", + "description": "Entity represents account in the system." + }, + { + "value": "Host", + "description": "Entity represents host in the system." + }, + { + "value": "File", + "description": "Entity represents file in the system." + }, + { + "value": "AzureResource", + "description": "Entity represents azure resource in the system." + }, + { + "value": "CloudApplication", + "description": "Entity represents cloud application in the system." + }, + { + "value": "DnsResolution", + "description": "Entity represents dns resolution in the system." + }, + { + "value": "FileHash", + "description": "Entity represents file hash in the system." + }, + { + "value": "Ip", + "description": "Entity represents ip in the system." + }, + { + "value": "Malware", + "description": "Entity represents malware in the system." + }, + { + "value": "Process", + "description": "Entity represents process in the system." + }, + { + "value": "RegistryKey", + "description": "Entity represents registry key in the system." + }, + { + "value": "RegistryValue", + "description": "Entity represents registry value in the system." + }, + { + "value": "SecurityGroup", + "description": "Entity represents security group in the system." + }, + { + "value": "Url", + "description": "Entity represents url in the system." + }, + { + "value": "SecurityAlert", + "description": "Entity represents security alert in the system." + }, + { + "value": "Bookmark", + "description": "Entity represents bookmark in the system." } + ] + } + }, + "EntityCommonProperties": { + "type": "object", + "description": "Entity common property bag.", + "properties": { + "friendlyName": { + "type": "string", + "readOnly": true, + "description": "The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated." + }, + "additionalData": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "description": "A bag of custom fields that should be part of the entity and will be presented to the user." } } }, @@ -2730,6 +2909,11 @@ "AccountEntityProperties": { "type": "object", "description": "Account entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "accountName": { "type": "string", @@ -2771,11 +2955,21 @@ "readOnly": true, "description": "Determines whether this is a domain account." }, + "displayName": { + "type": "string", + "readOnly": true, + "description": "The display name of the account." + }, "objectGuid": { "type": "string", "readOnly": true, "format": "uuid", "description": "The objectGUID attribute is a single-value attribute that is the unique identifier for the object, assigned by active directory." + }, + "hostEntityId": { + "type": "string", + "readOnly": true, + "description": "The Host entity id that contains the account in case it is a local account (not domain joined)" } } }, @@ -2799,6 +2993,11 @@ "HostEntityProperties": { "type": "object", "description": "Host entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "dnsDomain": { "type": "string", @@ -2894,6 +3093,11 @@ "FileEntityProperties": { "type": "object", "description": "File entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "directory": { "type": "string", @@ -2904,81 +3108,1240 @@ "type": "string", "readOnly": true, "description": "The file name without path (some alerts might not include path)." - } - } - }, - "OfficeConsentList": { - "description": "List of all the office365 consents.", - "properties": { - "nextLink": { + }, + "hostEntityId": { + "type": "string", "readOnly": true, - "description": "URL to fetch the next set of office consents.", - "type": "string" + "description": "The Host entity id which the file belongs to" }, - "value": { - "description": "Array of the consents.", + "fileHashEntityIds": { "type": "array", + "readOnly": true, "items": { - "$ref": "#/definitions/OfficeConsent" - } + "description": "file hash id", + "type": "string" + }, + "description": "The file hash entity identifiers associated with this file" } - }, - "required": [ - "value" - ] + } }, - "OfficeConsent": { + "SecurityAlert": { + "x-ms-discriminator-value": "SecurityAlert", "type": "object", - "description": "Consent for Office365 tenant that already made.", + "description": "Represents a security alert entity.", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/Entity" } ], "properties": { "properties": { "x-ms-client-flatten": true, - "description": "Office consent properties", - "$ref": "#/definitions/OfficeConsentProperties" + "description": "SecurityAlert entity properties", + "$ref": "#/definitions/SecurityAlertProperties" } } }, - "OfficeConsentProperties": { + "SecurityAlertProperties": { "type": "object", - "description": "Consent property bag.", - "properties": { - "tenantId": { - "type": "string", - "description": "The tenantId of the Office365 with the consent." - }, - "tenantName": { - "type": "string", - "readOnly": true, - "description": "The tenant name of the Office365 with the consent." + "description": "SecurityAlert entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" } - } - }, - "Resource": { - "x-ms-azure-resource": true, - "description": "An azure resource object", + ], "properties": { - "id": { + "systemAlertId": { "type": "string", "readOnly": true, - "description": "Azure resource Id" + "description": "Holds the product identifier of the alert for the product." }, - "type": { + "confidenceReasons": { + "type": "array", + "readOnly": true, + "description": "The confidence reasons", + "items": { + "type": "object", + "description": "confidence reason item", + "properties": { + "reasonType": { + "type": "string", + "readOnly": true, + "description": "The type (category) of the reason" + }, + "reason": { + "type": "string", + "readOnly": true, + "description": "The reason's description" + } + } + } + }, + "confidenceScoreStatus": { "type": "string", + "description": "The confidence score calculation status, i.e. indicating if score calculation is pending for this alert, not applicable or final.", "readOnly": true, - "description": "Azure resource type" + "enum": [ + "NotApplicable", + "InProcess", + "NotFinal", + "Final" + ], + "x-ms-enum": { + "name": "ConfidenceScoreStatus", + "modelAsString": true, + "values": [ + { + "value": "NotApplicable", + "description": "Score will not be calculated for this alert as it is not supported by virtual analyst" + }, + { + "value": "InProcess", + "description": "No score was set yet and calculation is in progress" + }, + { + "value": "NotFinal", + "description": "Score is calculated and shown as part of the alert, but may be updated again at a later time following the processing of additional data" + }, + { + "value": "Final", + "description": "Final score was calculated and available" + } + ] + } }, - "name": { + "intent": { "type": "string", + "description": "Holds the alert intent stage(s) mapping for this alert.", "readOnly": true, - "description": "Azure resource name" - } - } - }, + "enum": [ + "Unknown", + "Probing", + "Exploitation", + "Persistence", + "PrivilegeEscalation", + "DefenseEvasion", + "CredentialAccess", + "Discovery", + "LateralMovement", + "Execution", + "Collection", + "Exfiltration", + "CommandAndControl", + "Impact" + ], + "x-ms-enum": { + "name": "KillChainIntent", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The default value." + }, + { + "value": "Probing", + "description": "Probing could be an attempt to access a certain resource regardless of a malicious intent or a failed attempt to gain access to a target system to gather information prior to exploitation. This step is usually detected as an attempt originating from outside the network in attempt to scan the target system and find a way in." + }, + { + "value": "Exploitation", + "description": "Exploitation is the stage where an attacker manage to get foothold on the attacked resource. This stage is applicable not only for compute hosts, but also for resources such as user accounts, certificates etc. Adversaries will often be able to control the resource after this stage." + }, + { + "value": "Persistence", + "description": "Persistence is any access, action, or configuration change to a system that gives an adversary a persistent presence on that system. Adversaries will often need to maintain access to systems through interruptions such as system restarts, loss of credentials, or other failures that would require a remote access tool to restart or alternate backdoor for them to regain access." + }, + { + "value": "PrivilegeEscalation", + "description": "Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network. Certain tools or actions require a higher level of privilege to work and are likely necessary at many points throughout an operation. User accounts with permissions to access specific systems or perform specific functions necessary for adversaries to achieve their objective may also be considered an escalation of privilege." + }, + { + "value": "DefenseEvasion", + "description": "Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses. Sometimes these actions are the same as or variations of techniques in other categories that have the added benefit of subverting a particular defense or mitigation. " + }, + { + "value": "CredentialAccess", + "description": "Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment. Adversaries will likely attempt to obtain legitimate credentials from users or administrator accounts (local system administrator or domain users with administrator access) to use within the network. With sufficient access within a network, an adversary can create accounts for later use within the environment." + }, + { + "value": "Discovery", + "description": "Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must orient themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase." + }, + { + "value": "LateralMovement", + "description": "Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems. The lateral movement techniques could allow an adversary to gather information from a system without needing additional tools, such as a remote access tool. An adversary can use lateral movement for many purposes, including remote Execution of tools, pivoting to additional systems, access to specific information or files, access to additional credentials, or to cause an effect." + }, + { + "value": "Execution", + "description": "The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system. This tactic is often used in conjunction with lateral movement to expand access to remote systems on a network." + }, + { + "value": "Collection", + "description": "Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration. This category also covers locations on a system or network where the adversary may look for information to exfiltrate." + }, + { + "value": "Exfiltration", + "description": "Exfiltration refers to techniques and attributes that result or aid in the adversary removing files and information from a target network. This category also covers locations on a system or network where the adversary may look for information to exfiltrate." + }, + { + "value": "CommandAndControl", + "description": "The command and control tactic represents how adversaries communicate with systems under their control within a target network." + }, + { + "value": "Impact", + "description": "The impact intent primary objective is to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process. This would often refer to techniques such as ransom-ware, defacement, data manipulation and others." + } + ] + } + }, + "confidenceScore": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The confidence score of the alert." + }, + "alertDisplayName": { + "type": "string", + "readOnly": true, + "description": "The display name of the alert." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Alert description." + }, + "remediationSteps": { + "type": "array", + "readOnly": true, + "description": "Manual action items to take to remediate the alert.", + "items": { + "type": "string" + } + }, + "confidenceLevel": { + "type": "string", + "description": "The confidence level of this alert.", + "readOnly": true, + "enum": [ + "Unknown", + "Low", + "High" + ], + "x-ms-enum": { + "name": "ConfidenceLevel", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown confidence, the is the default value" + }, + { + "value": "Low", + "description": "Low confidence, meaning we have some doubts this is indeed malicious or part of an attack" + }, + { + "value": "High", + "description": "High confidence that the alert is true positive malicious" + } + ] + } + }, + "severity": { + "$ref": "#/definitions/AlertSeverity", + "description": "The severity of the alert" + }, + "vendorName": { + "type": "string", + "readOnly": true, + "description": "The name of the vendor that raise the alert." + }, + "productName": { + "type": "string", + "readOnly": true, + "description": "The name of the product which published this alert." + }, + "productComponentName": { + "type": "string", + "readOnly": true, + "description": "The name of a component inside the product which generated the alert." + }, + "alertType": { + "type": "string", + "readOnly": true, + "description": "The type name of the alert." + }, + "productVersion": { + "type": "string", + "readOnly": true, + "description": "The version of the product generating the alert." + }, + "processingEndTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time the alert was made available for consumption." + }, + "status": { + "type": "string", + "description": "The lifecycle status of the alert.", + "readOnly": true, + "enum": [ + "Unknown", + "New", + "Resolved", + "Dismissed", + "InProgress" + ], + "x-ms-enum": { + "name": "AlertStatus", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown value" + }, + { + "value": "New", + "description": "New alert" + }, + { + "value": "Resolved", + "description": "Alert closed after handling" + }, + { + "value": "Dismissed", + "description": "Alert dismissed as false positive" + }, + { + "value": "InProgress", + "description": "Alert is being handled" + } + ] + } + }, + "endTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The impact end time of the alert (the time of the last event contributing to the alert)." + }, + "startTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The impact start time of the alert (the time of the first event contributing to the alert)." + }, + "timeGenerated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time the alert was generated." + }, + "compromisedEntity": { + "type": "string", + "readOnly": true, + "description": "Display name of the main entity being reported on." + } + } + }, + "FileHashEntity": { + "x-ms-discriminator-value": "FileHash", + "type": "object", + "description": "Represents a file hash entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "FileHash entity properties", + "$ref": "#/definitions/FileHashEntityProperties" + } + } + }, + "FileHashEntityProperties": { + "type": "object", + "description": "FileHash entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "hashValue": { + "type": "string", + "readOnly": true, + "description": "The file hash value." + }, + "algorithm": { + "type": "string", + "description": "The hash algorithm type.", + "readOnly": true, + "enum": [ + "Unknown", + "MD5", + "SHA1", + "SHA256", + "SHA256AC" + ], + "x-ms-enum": { + "name": "FileHashAlgorithm", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown hash algorithm" + }, + { + "value": "MD5", + "description": "MD5 hash type" + }, + { + "value": "SHA1", + "description": "SHA1 hash type" + }, + { + "value": "SHA256", + "description": "SHA256 hash type" + }, + { + "value": "SHA256AC", + "description": "SHA256 Authenticode hash type" + } + ] + } + } + } + }, + "MalwareEntity": { + "x-ms-discriminator-value": "Malware", + "type": "object", + "description": "Represents a malware entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "File entity properties", + "$ref": "#/definitions/MalwareEntityProperties" + } + } + }, + "MalwareEntityProperties": { + "type": "object", + "description": "Malware entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "malwareName": { + "type": "string", + "readOnly": true, + "description": "The malware name by the vendor, e.g. Win32/Toga!rfn" + }, + "category": { + "type": "string", + "readOnly": true, + "description": "The malware category by the vendor, e.g. Trojan" + }, + "fileEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "file entity id", + "type": "string" + }, + "description": "List of linked file entity identifiers on which the malware was found" + }, + "processEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "process entity id", + "type": "string" + }, + "description": "List of linked process entity identifiers on which the malware was found." + } + } + }, + "SecurityGroupEntity": { + "x-ms-discriminator-value": "SecurityGroup", + "type": "object", + "description": "Represents a security group entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "SecurityGroup entity properties", + "$ref": "#/definitions/SecurityGroupEntityProperties" + } + } + }, + "SecurityGroupEntityProperties": { + "type": "object", + "description": "SecurityGroup entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "distinguishedName": { + "type": "string", + "readOnly": true, + "description": "The group distinguished name" + }, + "sid": { + "type": "string", + "readOnly": true, + "description": "The SID attribute is a single-value attribute that specifies the security identifier (SID) of the group" + }, + "objectGuid": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "A single-value attribute that is the unique identifier for the object, assigned by active directory." + } + } + }, + "AzureResourceEntity": { + "x-ms-discriminator-value": "AzureResource", + "type": "object", + "description": "Represents an azure resource entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "AzureResource entity properties", + "$ref": "#/definitions/AzureResourceEntityProperties" + } + } + }, + "AzureResourceEntityProperties": { + "type": "object", + "description": "AzureResource entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "resourceId": { + "type": "string", + "readOnly": true, + "description": "The azure resource id of the resource" + } + } + }, + "CloudApplicationEntity": { + "x-ms-discriminator-value": "CloudApplication", + "type": "object", + "description": "Represents a cloud application entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "CloudApplication entity properties", + "$ref": "#/definitions/CloudApplicationEntityProperties" + } + } + }, + "CloudApplicationEntityProperties": { + "type": "object", + "description": "CloudApplication entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "appId": { + "type": "integer", + "readOnly": true, + "description": "The technical identifier of the application." + }, + "appName": { + "type": "string", + "readOnly": true, + "description": "The name of the related cloud application." + }, + "instanceName": { + "type": "string", + "readOnly": true, + "description": "The user defined instance name of the cloud application. It is often used to distinguish between several applications of the same type that a customer has." + } + } + }, + "ProcessEntity": { + "x-ms-discriminator-value": "Process", + "type": "object", + "description": "Represents a process entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Process entity properties", + "$ref": "#/definitions/ProcessEntityProperties" + } + } + }, + "ProcessEntityProperties": { + "type": "object", + "description": "Process entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "processId": { + "type": "string", + "readOnly": true, + "description": "The process ID" + }, + "commandLine": { + "type": "string", + "readOnly": true, + "description": "The command line used to create the process" + }, + "elevationToken": { + "type": "string", + "enum": [ + "Default", + "Full", + "Limited" + ], + "x-ms-enum": { + "name": "ElevationToken", + "modelAsString": false, + "values": [ + { + "value": "Default", + "description": "Default elevation token" + }, + { + "value": "Full", + "description": "Full elevation token" + }, + { + "value": "Limited", + "description": "Limited elevation token" + } + ] + }, + "description": "The elevation token associated with the process." + }, + "creationTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time when the process started to run" + }, + "imageFileEntityId": { + "type": "string", + "readOnly": true, + "description": "Image file entity id" + }, + "accountEntityId": { + "type": "string", + "readOnly": true, + "description": "The account entity id running the processes." + }, + "parentProcessEntityId": { + "type": "string", + "readOnly": true, + "description": "The parent process entity id." + }, + "hostEntityId": { + "type": "string", + "readOnly": true, + "description": "The host entity id on which the process was running" + }, + "hostLogonSessionEntityId": { + "type": "string", + "readOnly": true, + "description": "The session entity id in which the process was running" + } + } + }, + "DnsEntity": { + "x-ms-discriminator-value": "DnsResolution", + "type": "object", + "description": "Represents a dns entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Dns entity properties", + "$ref": "#/definitions/DnsEntityProperties" + } + } + }, + "DnsEntityProperties": { + "type": "object", + "description": "Dns entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "domainName": { + "type": "string", + "readOnly": true, + "description": "The name of the dns record associated with the alert" + }, + "ipAddressEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "Ip entity id", + "type": "string" + }, + "description": "Ip entity identifiers for the resolved ip address." + }, + "dnsServerIpEntityId": { + "type": "string", + "readOnly": true, + "description": "An ip entity id for the dns server resolving the request" + }, + "hostIpAddressEntityId": { + "type": "string", + "readOnly": true, + "description": "An ip entity id for the dns request client" + } + } + }, + "IpEntity": { + "x-ms-discriminator-value": "Ip", + "type": "object", + "description": "Represents an ip entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Ip entity properties", + "$ref": "#/definitions/IpEntityProperties" + } + } + }, + "IpEntityProperties": { + "type": "object", + "description": "Ip entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "address": { + "type": "string", + "readOnly": true, + "description": "The IP address as string, e.g. 127.0.0.1 (either in Ipv4 or Ipv6)" + }, + "location": { + "$ref": "#/definitions/GeoLocation", + "description": "The geo-location context attached to the ip entity" + }, + "threatIntelligence": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ThreatIntelligence" + }, + "description": "A list of TI contexts attached to the ip entity." + } + } + }, + "GeoLocation": { + "type": "object", + "readOnly": true, + "description": "The geo-location context attached to the ip entity", + "properties": { + "countryCode": { + "type": "string", + "readOnly": true, + "description": "The country code according to ISO 3166 format" + }, + "countryName": { + "type": "string", + "readOnly": true, + "description": "Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name" + }, + "state": { + "type": "string", + "readOnly": true, + "description": "State name" + }, + "city": { + "type": "string", + "readOnly": true, + "description": "City name" + }, + "longitude": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The latitude of the identified location, expressed as a floating point number with range of - 90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code." + }, + "latitude": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West. Latitude and longitude are derived from the city or postal code." + }, + "asn": { + "type": "integer", + "readOnly": true, + "description": "Autonomous System Number" + } + } + }, + "ThreatIntelligence": { + "type": "object", + "description": "ThreatIntelligence property bag.", + "properties": { + "providerName": { + "type": "string", + "readOnly": true, + "description": "Name of the provider from whom this Threat Intelligence information was received" + }, + "threatType": { + "type": "string", + "readOnly": true, + "description": "Threat type (e.g. \"Botnet\")" + }, + "threatName": { + "type": "string", + "readOnly": true, + "description": "Threat name (e.g. \"Jedobot malware\")" + }, + "confidence": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "Confidence (must be between 0 and 1)" + }, + "reportLink": { + "type": "string", + "readOnly": true, + "description": "Report link" + }, + "threatDescription": { + "type": "string", + "readOnly": true, + "description": "Threat description (free text)" + } + } + }, + "RegistryKeyEntity": { + "x-ms-discriminator-value": "RegistryKey", + "type": "object", + "description": "Represents a registry key entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "RegistryKey entity properties", + "$ref": "#/definitions/RegistryKeyEntityProperties" + } + } + }, + "RegistryKeyEntityProperties": { + "type": "object", + "description": "RegistryKey entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "hive": { + "type": "string", + "description": "the hive that holds the registry key.", + "readOnly": true, + "enum": [ + "HKEY_LOCAL_MACHINE", + "HKEY_CLASSES_ROOT", + "HKEY_CURRENT_CONFIG", + "HKEY_USERS", + "HKEY_CURRENT_USER_LOCAL_SETTINGS", + "HKEY_PERFORMANCE_DATA", + "HKEY_PERFORMANCE_NLSTEXT", + "HKEY_PERFORMANCE_TEXT", + "HKEY_A", + "HKEY_CURRENT_USER" + ], + "x-ms-enum": { + "name": "RegistryHive", + "modelAsString": true, + "values": [ + { + "value": "HKEY_LOCAL_MACHINE", + "description": "HKEY_LOCAL_MACHINE" + }, + { + "value": "HKEY_CLASSES_ROOT", + "description": "HKEY_CLASSES_ROOT" + }, + { + "value": "HKEY_CURRENT_CONFIG", + "description": "HKEY_CURRENT_CONFIG" + }, + { + "value": "HKEY_USERS", + "description": "HKEY_USERS" + }, + { + "value": "HKEY_CURRENT_USER_LOCAL_SETTINGS", + "description": "HKEY_CURRENT_USER_LOCAL_SETTINGS" + }, + { + "value": "HKEY_PERFORMANCE_DATA", + "description": "HKEY_PERFORMANCE_DATA" + }, + { + "value": "HKEY_PERFORMANCE_NLSTEXT", + "description": "HKEY_PERFORMANCE_NLSTEXT" + }, + { + "value": "HKEY_PERFORMANCE_TEXT", + "description": "HKEY_PERFORMANCE_TEXT" + }, + { + "value": "HKEY_A", + "description": "HKEY_A" + }, + { + "value": "HKEY_CURRENT_USER", + "description": "HKEY_CURRENT_USER" + } + ] + } + }, + "key": { + "type": "string", + "readOnly": true, + "description": "The registry key path." + } + } + }, + "RegistryValueEntity": { + "x-ms-discriminator-value": "RegistryValue", + "type": "object", + "description": "Represents a registry value entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "RegistryKey entity properties", + "$ref": "#/definitions/RegistryValueEntityProperties" + } + } + }, + "RegistryValueEntityProperties": { + "type": "object", + "description": "RegistryValue entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "valueName": { + "type": "string", + "readOnly": true, + "description": "The registry value name." + }, + "valueData": { + "type": "string", + "readOnly": true, + "description": "String formatted representation of the value data." + }, + "valueType": { + "type": "string", + "description": "Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.", + "readOnly": true, + "enum": [ + "None", + "Unknown", + "String", + "ExpandString", + "Binary", + "DWord", + "MultiString", + "QWord" + ], + "x-ms-enum": { + "name": "RegistryValueKind", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "None" + }, + { + "value": "Unknown", + "description": "Unknown value type" + }, + { + "value": "String", + "description": "String value type" + }, + { + "value": "ExpandString", + "description": "ExpandString value type" + }, + { + "value": "Binary", + "description": "Binary value type" + }, + { + "value": "DWord", + "description": "DWord value type" + }, + { + "value": "MultiString", + "description": "MultiString value type" + }, + { + "value": "QWord", + "description": "QWord value type" + } + ] + } + }, + "keyEntityId": { + "type": "string", + "readOnly": true, + "description": "The registry key entity id." + } + } + }, + "UrlEntity": { + "x-ms-discriminator-value": "Url", + "type": "object", + "description": "Represents a url entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Url entity properties", + "$ref": "#/definitions/UrlEntityProperties" + } + } + }, + "UrlEntityProperties": { + "type": "object", + "description": "Url entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "A full URL the entity points to" + } + } + }, + "EntityExpandParameters": { + "description": "The parameters required to execute an expand operation on the given entity.", + "properties": { + "expansionId": { + "type": "string", + "format": "uuid", + "description": "The Id of the expansion to perform." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start date filter, so the only expansion results returned are after this date." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end date filter, so the only expansion results returned are before this date." + } + } + }, + "EntityExpandResponse": { + "properties": { + "value": { + "type": "object", + "description": "The expansion result values.", + "properties": { + "entities": { + "type": "array", + "items": { + "$ref": "#/definitions/Entity" + }, + "description": "Array of the expansion result entities." + } + } + }, + "metaData": { + "$ref": "#/definitions/ExpansionResultsMetadata", + "description": "The metadata from the expansion operation results." + } + }, + "description": "The entity expansion result operation response." + }, + "ExpansionResultsMetadata": { + "type": "object", + "description": "Expansion result metadata.", + "properties": { + "aggregations": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpansionResultAggregation" + }, + "description": "Information of the aggregated nodes in the expansion result." + } + } + }, + "ExpansionResultAggregation": { + "type": "object", + "description": "Information of a specific aggregation in the expansion result.", + "properties": { + "entityKind": { + "description": "The kind of the aggregated entity.", + "$ref": "#/definitions/EntityInnerKind" + }, + "count": { + "type": "integer", + "description": "Total number of aggregations of the given kind (and aggregationType if given) in the expansion result." + }, + "aggregationType": { + "type": "string", + "description": "The common type of the aggregation. (for e.g. entity field name)" + }, + "displayName": { + "type": "string", + "description": "The display name of the aggregation by type." + } + }, + "required": [ + "entityKind", + "count" + ] + }, + "OfficeConsentList": { + "description": "List of all the office365 consents.", + "properties": { + "nextLink": { + "readOnly": true, + "description": "URL to fetch the next set of office consents.", + "type": "string" + }, + "value": { + "description": "Array of the consents.", + "type": "array", + "items": { + "$ref": "#/definitions/OfficeConsent" + } + } + }, + "required": [ + "value" + ] + }, + "OfficeConsent": { + "type": "object", + "description": "Consent for Office365 tenant that already made.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Office consent properties", + "$ref": "#/definitions/OfficeConsentProperties" + } + } + }, + "OfficeConsentProperties": { + "type": "object", + "description": "Consent property bag.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenantId of the Office365 with the consent." + }, + "tenantName": { + "type": "string", + "readOnly": true, + "description": "The tenant name of the Office365 with the consent." + } + } + }, + "Resource": { + "x-ms-azure-resource": true, + "description": "An azure resource object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + } + } + }, "Settings": { "type": "object", "description": "The Setting.", @@ -3259,7 +4622,7 @@ "description": "The template query string to be parsed and formatted" }, "inputEntityType": { - "type": "string", + "$ref": "#/definitions/EntityInnerType", "description": "The type of the query's source entity" }, "inputFields": { @@ -3274,7 +4637,7 @@ "type": "array", "items": { "description": "output entity type", - "type": "string" + "$ref": "#/definitions/EntityInnerType" }, "description": "List of the desired output types to be constructed from the result" }, @@ -3291,6 +4654,98 @@ "description": "The query display name" } } + }, + "EntityInnerType": { + "type": "string", + "description": "The type of the entity", + "enum": [ + "Account", + "Host", + "File", + "AzureResource", + "CloudApplication", + "DNS", + "FileHash", + "IP", + "Malware", + "Process", + "RegistryKey", + "RegistryValue", + "SecurityGroup", + "URL", + "SecurityAlert", + "HuntingBookmark" + ], + "x-ms-enum": { + "name": "EntityType", + "modelAsString": true, + "values": [ + { + "value": "Account", + "description": "Entity represents account in the system." + }, + { + "value": "Host", + "description": "Entity represents host in the system." + }, + { + "value": "File", + "description": "Entity represents file in the system." + }, + { + "value": "AzureResource", + "description": "Entity represents azure resource in the system." + }, + { + "value": "CloudApplication", + "description": "Entity represents cloud application in the system." + }, + { + "value": "DNS", + "description": "Entity represents dns in the system." + }, + { + "value": "FileHash", + "description": "Entity represents file hash in the system." + }, + { + "value": "IP", + "description": "Entity represents ip in the system." + }, + { + "value": "Malware", + "description": "Entity represents malware in the system." + }, + { + "value": "Process", + "description": "Entity represents process in the system." + }, + { + "value": "RegistryKey", + "description": "Entity represents registry key in the system." + }, + { + "value": "RegistryValue", + "description": "Entity represents registry value in the system." + }, + { + "value": "SecurityGroup", + "description": "Entity represents security group in the system." + }, + { + "value": "URL", + "description": "Entity represents url in the system." + }, + { + "value": "SecurityAlert", + "description": "Entity represents security alert in the system." + }, + { + "value": "HuntingBookmark", + "description": "Entity represents HuntingBookmark in the system." + } + ] + } } }, "parameters": { @@ -3439,6 +4894,16 @@ "description": "entity ID", "x-ms-parameter-location": "method" }, + "EntityExpandRequestBody": { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EntityExpandParameters" + }, + "description": "The parameters required to execute an expand operation on the given entity.", + "x-ms-parameter-location": "method" + }, "ConsentId": { "name": "consentId", "in": "path", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json index cee95c7a2e79..308ad74facfe 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Account", "properties": { + "friendlyName": "administrator", "accountName": "administrator", "ntDomain": "domain", "upnSuffix": "contoso", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json new file mode 100644 index 000000000000..97929b3d5a02 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "AzureResource", + "properties": { + "friendlyName": "Resource", + "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachines/vm1" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json new file mode 100644 index 000000000000..31067cee831f --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "CloudApplication", + "properties": { + "friendlyName": "AppName", + "appId": 1, + "appName": "AppName", + "instanceName": "InstanceName" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json new file mode 100644 index 000000000000..941492387cd8 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "f4e74920-f2c0-4412-a45f-66d94fdf01f8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/f4e74920-f2c0-4412-a45f-66d94fdf01f8", + "name": "f4e74920-f2c0-4412-a45f-66d94fdf01f8", + "type": "Microsoft.SecurityInsights/entities", + "kind": "DnsResolution", + "properties": { + "friendlyName": "domain", + "domainName": "domain", + "ipAddressEntityIds": ["475d3120-33e0-4841-9f1c-a8f15a801d19"] + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json index 7e5b63413caf..40cf28f9ce3a 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json @@ -16,6 +16,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Account", "properties": { + "friendlyName": "administrator", "accountName": "administrator", "ntDomain": "domain", "upnSuffix": "contoso", @@ -28,11 +29,12 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", - "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/fed9fe89-dce8-40f2-bf44-70f23fe93b3c", + "name": "fed9fe89-dce8-40f2-bf44-70f23fe93b3c", "type": "Microsoft.SecurityInsights/entities", "kind": "Host", "properties": { + "friendlyName": "vm1", "dnsDomain": "contoso", "ntDomain": "domain", "hostName": "vm1", @@ -50,6 +52,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "File", "properties": { + "friendlyName": "cmd.exe", "directory": "C:\\Windows\\System32", "fileName": "cmd.exe" } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json index 75802c19e19a..4a3bcc139f44 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "File", "properties": { + "friendlyName": "cmd.exe", "directory": "C:\\Windows\\System32", "fileName": "cmd.exe" } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json new file mode 100644 index 000000000000..54f495799839 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "ea359fa6-c1e5-f878-e105-6344f3e399a1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/ea359fa6-c1e5-f878-e105-6344f3e399a1", + "name": "ea359fa6-c1e5-f878-e105-6344f3e399a1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "FileHash", + "properties": { + "friendlyName": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0(SHA256)", + "hashValue": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0", + "algorithm": "SHA256" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json index aacb859bc369..8674609f90db 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Host", "properties": { + "friendlyName": "vm1", "dnsDomain": "contoso", "ntDomain": "domain", "hostName": "vm1", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json new file mode 100644 index 000000000000..e4b40831f8a9 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Ip", + "properties": { + "friendlyName": "10.3.2.8", + "address": "10.3.2.8" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json new file mode 100644 index 000000000000..77bcffb266ba --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "af378b21-b4aa-4fe7-bc70-13f8621a322f" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/af378b21-b4aa-4fe7-bc70-13f8621a322f", + "name": "af378b21-b4aa-4fe7-bc70-13f8621a322f", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Malware", + "properties": { + "malwareName": "Win32/Toga!rfn", + "category": "Trojan", + "friendlyName": "Win32/Toga!rfn" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json new file mode 100644 index 000000000000..e3b3d000424f --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "7264685c-038c-42c6-948c-38e14ef1fb98" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/7264685c-038c-42c6-948c-38e14ef1fb98", + "name": "7264685c-038c-42c6-948c-38e14ef1fb98", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Process", + "properties": { + "friendlyName": "cmd.exe", + "processId": "0x2aa48", + "commandLine": "\"cmd\"", + "imageFileEntityId": "bba7b47b-c1c1-4021-b568-5b07b9292f5e" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json new file mode 100644 index 000000000000..429e932a5114 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "RegistryKey", + "properties": { + "friendlyName": "SOFTWARE", + "hive": "HKEY_LOCAL_MACHINE", + "key": "SOFTWARE" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json new file mode 100644 index 000000000000..87d59b560965 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "dc44bd11-b348-4d76-ad29-37bf7aa41356" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/dc44bd11-b348-4d76-ad29-37bf7aa41356", + "name": "dc44bd11-b348-4d76-ad29-37bf7aa41356", + "type": "Microsoft.SecurityInsights/entities", + "kind": "RegistryValue", + "properties": { + "friendlyName": "Data", + "valueName": "Name", + "valueData": "Data", + "valueType": "String", + "keyEntityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json new file mode 100644 index 000000000000..3c79d0efbf90 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/4aa486e0-6f85-41af-99ea-7acdce7be6c8", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "SecurityAlert", + "properties": { + "systemAlertId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8", + "intent": "Unknown", + "alertDisplayName": "Suspicious account detected", + "description": "", + "confidenceLevel": "Unknown", + "severity": "Medium", + "vendorName": "Microsoft", + "productName": "Azure Sentinel", + "productComponentName": "Scheduled Alerts", + "alertType": "c8c99641-985d-4e4e-8e91-fb3466cd0e5b_46c7b6c0-ff43-44dd-8b4d-ceffff7aa7df", + "processingEndTime": "2019-07-06T13:56:53.5392366Z", + "status": "New", + "endTimeUtc": "2019-07-06T13:21:45.926185Z", + "startTimeUtc": "2019-07-06T08:21:45.926185Z", + "timeGenerated": "2019-07-06T13:56:53.5392366Z", + "additionalData": { + "Query": "Heartbeat \n| extend AccountCustomEntity = \"administrator\"", + "Query Period": "05:00:00", + "Trigger Operator": "GreaterThan", + "Trigger Threshold": "200", + "Search Query Results Overall Count": "203", + "Total Account Entities": "1" + }, + "friendlyName": "Suspicious account detected" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json new file mode 100644 index 000000000000..856ea6f4465d --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "SecurityGroup", + "properties": { + "friendlyName": "Group", + "distinguishedName": "Name", + "sid": "Sid", + "objectGuid": "fb1b8e04-d944-4986-b39a-1ce9adedcd98" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json new file mode 100644 index 000000000000..f5ab8cdd25da --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Url", + "properties": { + "friendlyName": "https://bing.com", + "url": "https://bing.com" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json new file mode 100644 index 000000000000..b9aa3378204a --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "parameters": { + "expansionId": "a77992f3-25e9-4d01-99a4-5ff606cc410a", + "startTime": "2019-04-25T00:00:00.000Z", + "endTime": "2019-05-26T00:00:00.000Z" + } + }, + "responses": { + "200": { + "body": { + "value": { + "entities": [ + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Account", + "properties": { + "friendlyName": "administrator", + "accountName": "administrator", + "ntDomain": "domain" + } + } + ] + }, + "metaData": { + "aggregations": [ + { + "entityKind": "Account", + "count": 1 + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json index 10b8e4a1a0bf..d3934569dca5 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json @@ -15,9 +15,9 @@ "name": "37ca3555-c135-4a73-a65e-9c1d00323f5d", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", + "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", "inputFields": [ - "Address" + "address" ], "outputEntityTypes": [ "Account" @@ -25,7 +25,7 @@ "dataSources": [ "AzureActivity" ], - "inputEntityType": "Ip", + "inputEntityType": "IP", "displayName": "Least active accounts on Azure from this IP" } }, @@ -34,9 +34,9 @@ "name": "97a1d515-abf2-4231-9a35-985f9de0bb91", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", + "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", "inputFields": [ - "Address" + "address" ], "outputEntityTypes": [ "Account" @@ -44,7 +44,7 @@ "dataSources": [ "AzureActivity" ], - "inputEntityType": "Ip", + "inputEntityType": "IP", "displayName": "Most active accounts on Azure from this IP" } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json index 09c7622f7d57..6e7ccb5bdd66 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json @@ -14,9 +14,9 @@ "name": "07da3cc8-c8ad-4710-a44e-334cdcb7882b", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))", + "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))", "inputFields": [ - "HostName" + "hostName" ], "outputEntityTypes": [ "Process" From a45a7e6bf194cd9d62d418c27fd780dfe995723e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 4 Aug 2019 21:14:44 -0400 Subject: [PATCH 444/495] chore: jsonfmt datafactory (#6858) --- .../examples/IntegrationRuntimeObjectMetadata_Get.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json index 7d701fa745b8..855e1340c2e3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json @@ -429,4 +429,4 @@ } } } -} \ No newline at end of file +} From 3969f77c40489526ae3d9a392b082c79f2f48d46 Mon Sep 17 00:00:00 2001 From: olduroja <44652212+olduroja@users.noreply.github.com> Date: Sun, 4 Aug 2019 18:38:55 -0700 Subject: [PATCH 445/495] [Hub Generated] Review request for InkRecognizer to add version preview/v1.0 - Changing format of points from string to object as requested by Azure board and fleshing out properties. (#6776) * update to switch ink point format from a string to an object with properties * Adding xms for unit in request section * fix for new inkpoint object format * fix for new inkpoint object format * fix for new inkpoint object format * Adding the root inkrecognition unit * Ink Point description update * Ink Point description update * description updates * Ink Point description update * re-naming inputDevice to inputDeviceKind * Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning * Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json Co-Authored-By: Nick Schonning --- .../preview/v1.0/InkRecognizer.json | 158 +++++- .../v1.0/examples/InkWordRecognition.json | 455 +++++++++++++++++- 2 files changed, 587 insertions(+), 26 deletions(-) diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json index d391c3680892..2c1f6c05942e 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json @@ -215,9 +215,9 @@ "type": "string", "description": "The category of a recognition unit represents the type of content for that unit.", "enum": [ + "root", "writingRegion", "paragraph", - "listItem", "line", "inkBullet", "inkDrawing", @@ -233,9 +233,9 @@ "type": "string", "description": "The category of recognition units that represent types that have children recognition units.", "enum": [ + "root", "writingRegion", "paragraph", - "listItem", "line" ], "x-ms-enum": { @@ -292,6 +292,94 @@ "type": "object" } }, + "inkPointValueAttribute" : { + "type" : "object", + "description" : "A container for the attributes of a value contained in the ink point object.", + "properties" : { + "name" : { + "type" : "string", + "description" : "The name of the point attribute." + }, + "logicalMinimum" : { + "type" : "number", + "description" : "The minimum value for the attribute" + }, + "logicalMaximum" : { + "type" : "number", + "description" : "The maximum value for the attribute" + } + } + }, + "inkPoint" : { + "type" : "object", + "description" : "An object containing the properties of an point in the path of an ink stroke. The main properties are the x and y values. Other include tip pressure, x tilt etc. For the coordinate values, it is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas", + "properties" : { + "x" : { + "type" : "number", + "description" : "The x coordinate of the pen location on the writing surface." + }, + "y" : { + "type" : "number", + "description" : "The y coordinate of the pen location on the writing surface." + }, + "z" : { + "type" : "number", + "description" : "The z coordinate of the pen location on the writing space. This may not be used for recognition." + }, + "tipPressure" : { + "type" : "number", + "description" : "The force exerted against the tablet surface by the transducer, typically a stylus. This may not be used for recognition." + }, + "barrelPressure" : { + "type" : "number", + "description" : "The force exerted directly by the user on a transducer sensor, such as a pressure-sensitive button on the barrel of a stylus. This may not be used for recognition." + }, + "timestamp" : { + "type" : "number", + "description" : "The time relative to the absolute time the transducer last became active. This may not be used for recognition." + }, + "xTilt" : { + "type" : "number", + "description" : "The plane angle between the Y-Z plane and the plane containing the transducer axis and the Y axis. This may not be used for recognition." + }, + "yTilt" : { + "type" : "number", + "description" : "The angle between the X-Z and transducer-X planes. A positive Y Tilt is toward the user. This may not be used for recognition." + }, + "width" : { + "type" : "number", + "description" : "The width of the tip of the writing instrument. This is used by touch screen devices to report the width of the finger contact on the writing surface. This may not be used for recognition." + }, + "height" : { + "type" : "number", + "description" : "The height of the tip of the writing instrument. This is used by touch screen devices to report the height of the finger contact on the writing surface. This may not be used for recognition." + }, + "tipSwitch" : { + "type" : "boolean", + "description" : "A switch located on the tip of a stylus indicating contact of the stylus with a surface. This may not be used for recognition." + }, + "inverted" : { + "type" : "boolean", + "description" : "A value that indicates that the currently sensed position originates from the end of a stylus opposite the tip switch. This may not be used for recognition." + }, + "barrelSwitch" : { + "type" : "boolean", + "description" : "A non-tip button located on the barrel of a stylus. Its function is typically mapped to a system secondary button. This may not be used for recognition." + }, + "eraser" : { + "type" : "boolean", + "description" : "The control is used for erasing objects. It is typically located opposite the writing end of a stylus. This may not be used for recognition." + }, + "secondaryTip" : { + "type" : "boolean", + "description" : "A secondary switch used in conjunction with the tip switch to indicate pressure above a certain threshold applied with the stylus. This may not be used for recognition." + } + }, + "required" : [ + "x", + "y" + ] + }, "recognitionUnit": { "items": { "properties": { @@ -331,36 +419,36 @@ "description": "The id of the parent node in the tree structure of the recognition results. parent = 0 indicates that there is no dedicated parent node for this unit." }, "boundingRectangle": { - "description": "The bounding rectangle of the recognized unit represented by the coordinates of the top left corner (x,y) along with width (w) and height (h) of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ", + "description": "The bounding rectangle of the recognition unit represented by the coordinates of the top left corner (topX,topY) along with width and height of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ", "type": "object", "properties": { "topX": { "type": "number", - "description": "This represents the top left x coordinate" + "description": "This is the top left x coordinate" }, "topY": { "type": "number", - "description": "This represents the top left y coordinate" + "description": "This is the top left y coordinate" }, "width": { "type": "number", - "description": "This represents width of the bounding rectangle" + "description": "This is width of the bounding rectangle" }, "height": { "type": "number", - "description": "The represents the height of the bounding rectangle" + "description": "The is the height of the bounding rectangle" } } }, "rotatedBoundingRectangle": { - "description": "This property provides the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.", + "description": "This is the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.", "type": "array", "items": { "$ref": "#/definitions/pointDetailsPattern" } }, "strokeIds": { - "description": "This is an array of integers representing the list of stroke Identifier integers from the input request body that belong to this recognition unit.", + "description": "This is an array of integers representing the list of stroke Identifiers from the input request body that belong to this recognition unit.", "type": "array", "items": { "type": "integer" @@ -368,15 +456,15 @@ }, "recognizedText": { "type": "string", - "description": "The string represents the text that was recognized. It can be an empty string if the recognizer cannot determine the text." + "description": "The string contains the text that was recognized. It can be an empty string if the recognizer cannot determine the text." }, "confidence": { "type": "number", - "description": "The class represents the type of the recognition unit. A recognition unit can be a leaf node or a container node. Container nodes typically have leaf nodes as children." + "description": "A number between 0 and 1 which indicates the confidence level in the result." }, "rotationAngle": { "type": "number", - "description": "This represents the angle at which the unit is rotated in degrees with respect to the positive X axis." + "description": "This is the angle at which the unit is rotated in degrees with respect to the positive X axis." }, "recognizedObject": { "$ref": "#/definitions/shapePattern" @@ -390,7 +478,7 @@ "id" ], "type": "object", - "description": "This represents the recognized entity" + "description": "This identifies the recognized entity" }, "type": "array", "description": "The list of recognition units based on the analysis of the ink strokes." @@ -407,8 +495,10 @@ "description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in this stroke. The response will include results from this language." }, "points": { - "type": "string", - "description": "A string of comma separated floating point values that represent the x and y coordinates of points that are part of the stroke. (X1,Y1, X2,Y2…). It is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas" + "type": "array", + "items": { + "$ref": "#/definitions/inkPoint" + } }, "drawingAttributes": { "$ref": "#/definitions/drawingAttributesPattern" @@ -437,7 +527,7 @@ "properties": { "unit": { "type": "string", - "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", + "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", "enum": [ "mm", "cm", @@ -454,7 +544,7 @@ }, "language": { "type": "string", - "description": "This is the language used for recognizing handwriting from the ink strokes in the request. Set this to the user’s preferred language." + "description": "This is the language used for recognizing handwriting from the ink strokes in the request." }, "recognitionUnits": { "$ref": "#/definitions/recognitionUnit" @@ -526,14 +616,38 @@ "modelAsString": true } }, + "inputDeviceKind" : { + "type" : "string", + "description" : "This identifies the kind of device used as the writing instrument", + "enum" : [ + "digitizer", + "pen", + "lightPen", + "touchScreen", + "touchPad", + "whiteBoard", + "3dDigitizer", + "stereoPlotter", + "articulatedArm", + "armature" + ], + "x-ms-enum" : { + "name" : "inputDevice", + "modelAsString": true + } + }, "unit": { "type": "string", - "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", + "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", "enum": [ "mm", "cm", "in" - ] + ], + "x-ms-enum": { + "name": "unit", + "modelAsString": true + } }, "unitMultiple": { "description": " This is a scaling factor to be applied to the point coordinates when interpreting them in the physical units specified.", @@ -544,6 +658,12 @@ "example": "en-US", "description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in the ink strokes. The response will include results from this language." }, + "inkPointValueAttributes" : { + "type" : "array", + "items" : { + "$ref":"#/definitions/inkPointValueAttribute" + } + }, "strokes": { "type": "array", "items": { diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json index d3a41e0403d2..54579b8e7e79 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json @@ -7,16 +7,420 @@ "language": "en-US", "strokes": [ { - "id": 1, - "kind": "inkWriting", - "points": "19.34498,28.21327,19.34498,27.93462,19.34498,27.65597,19.0157,27.65597,18.76874,27.44698,18.27483,27.44698,18.02787,27.44698,17.45164,27.44698,16.62845,27.65597,15.88758,27.93462,15.06439,28.49191,14.32351,28.97955,13.25337,29.53685,11.36003,31.41773,10.61916,32.46267,9.795967,33.50761,8.972776,34.83119,8.231905,35.87613,7.655672,37.19971,7.161757,38.24465,6.9148,39.35925,6.9148,40.12554,6.9148,40.89182,6.9148,41.72777,7.408715,42.2154,7.902629,42.49405,8.478863,42.77271,8.972776,43.05135,9.795967,43.05135,10.28988,43.05135,11.11307,42.77271,11.93626,42.2154,12.43018,41.72777,13.25337,41.17047,13.74728,40.12554,14.57047,39.0806,15.31134,37.75701,15.88758,36.15478,16.62845,34.27389,17.20468,32.46267,17.6986,30.30314,18.27483,28.21327,18.76874,26.12339,19.34498,23.96386,19.59193,21.87399,19.83889,19.9931,20.08585,18.46053,20.08585,17.13695,20.08585,16.02235,20.08585,14.97741,20.08585,14.48978,20.08585,13.93248,19.83889,13.65383,19.83889,13.65383,19.83889,13.65383,19.59193,13.65383,19.59193,13. 65383,19.34498,14.21113,19.34498,14.69876,19.0157,15.25606,19.0157,16.02235,18.76874,17.13695,18.76874,18.46053,18.52179,19.78412,18.27483,21.31669,18.02787,22.91892,18.02787,24.52116,17.6986,26.33238,17.45164,28.21327,17.20468,30.09415,16.95773,31.90537,16.62845,33.50761,16.62845,35.10984,16.62845,36.71207,16.62845,38.03566,16.95773,39.0806,17.20468,39.84688,17.45164,40.68283,18.02787,41.17047,18.52179,41.72777,19.34498,42.00642,19.83889,42.00642,20.90904,41.72777,21.73223,41.44912,22.4731,40.89182,23.54325,40.12554,24.36644,39.35925,25.10731,38.5233,25.9305,37.47836,26.75369,36.71207,27.24761,35.59748,27.49457,34.55254,27.74152,33.50761,28.0708,32.46267,28.0708,31.62672,28.0708,30.86044,28.0708,30.09415,27.74152,29.53685,27.49457,28.97955,27.24761,28.77056,26.75369,28.49191,26.42442,28.49191,25.9305,28.49191,25.43659,28.97955,25.10731,29.53685,24.6134,30.09415,24.03716,30.86044,23.79021,31.90537,23.29629,33.22896,23.04934,34.27389,22.72006,35.59748,22.72006,36.71207,22.4731,38.03566,22.72006,39.0806,22.72006,40.12554,23.04934,40.89182,23.29629,41.72777,23.79021,42.2154,24.36644,42.77271,24.86036,43.05135,25.68354,43.05135,26.42442,43.05135,27.24761,42.77271,28.31775,42.2154,29.3879,41.72777,30.45805,40.89182,31.44588,39.84688,32.8453,38.80195,33.83313,37.47836,35.15023,35.87613,36.22039,34.27389,37.29053,32.46267,39.43083,27.93462,40.50097,25.5661,41.24184,23.19757,41.81808,20.82905,42.55895,18.46053,42.88823,16.301,43.38214,14.48978,43.6291,11.84261,43.6291,10.72801,43.6291,10.24037,43.38214,9.96172,43.38214,9.96172,43.13519,9.96172,42.88823,10.72801,42.31199,12.60889,41.81808,14.21113,41.24184,16.02235,40.74793,18.18188,40.25402,20.5504,39.67778,23.19757,39.43083,25.84475,38.60764,31.13909,38.36068,33.78626,38.36068,36.43343,38.11372,38.80195,38.11372,40.89182,38.11372,43.05135,37.86677,45.14123,37.53749,48.62434,37.53749,49.94793,37.29053,51.27151,37.04358,52.31645,36.79662,53.08273,36.54966,53.64004,35.97342,53.84902,34.65633,53.64004,33.83313,53.08273,33.09226,52.5951,32.26907,51.75915,31.19892,50.71421,30.45805,49.66928,29.88182,48.83333,28.56471,47.02211,28.31775,46.18616,28.0708,45.69852,28.0708,45.14123,28.31775,44.37494,28.56471,43.53899,29.88182,42.2154,30.70501,41.44912,31.77516,40.68283,32.8453,39.56823,35.47952,37.75701,36.79662,36.92107,39.67778,35.38849,42.31199,34.0649,43.6291,33.50761,46.26331,32.74132,47.33346,32.46267,49.22679,32.18402,49.72071,31.90537,50.29694,31.90537,50.79086,31.90537,51.03782,31.90537,51.03782,31.90537,50.29694,31.90537,49.96766,32.18402,49.47375,32.46267,48.65057,32.74132,47.90969,33.22896,47.0865,33.78626,46.26331,34.27389,44.69925,35.87613,44.20533,36.71207,43.95837,37.75701,43.6291,38.5233,43.38214,39.84688,43.6291,40.12554,43.95837,40.40418,44.20533,40.68283,45.27548,40.40418,46.01635,40.12554,46.59258,39.56823,47.0865,38.80195,47.90969,38.03566,48.97984,36.15478,49.47375,35.10984,49.72071,34.27389,49.96766,33.50761,50.29694,32.46267,50.5439,31.90537,50.5439,31.90537,50.29694,32.18402,50.29694,32.74132,49.96766,33.22896,49.72071,34.83119,49.47375,35.87613,49.47375,37.75701,49.47375,38.5233,49.72071,39.0806,49.72071,39.35925,50.29694,39.56823,50.79086,39.56823,51.03782,39.35925,51.61405,38.80195,52.6842,37.47836,53.1781,36.71207,53.67202,35.87613,54.24826,35.10984,54.74217,34.55254,55.3184,33.50761,55.56536,33.22896,55.56536,32.95031,55.56536,32.95031,55.56536,33.78626,55.3184,34.27389,55.07145,35.38849,55.07145,36.15478,55.07145,36.92107,55.07145,37.47836,55.3184,38.03566,55.3184,38.24465,55.56536,38.5233,56.05928,38.5233,56.38855,38.24465,56.63551,38.03566,57.12943,37.75701,57.70565,36.71207,58.19957,36.15478,58.44653,35.10984,58.77581,34.55254,58.77581,34.27389,59.02276,34.0649,59.02276,33.78626,59.02276,33.78626,58.77581,34.27389,58.77581,34.55254,58.77581,35.10984,58.77581,35.38849,58.44653,36.71207,58.77581,37.47836,58.77581,38.03566,59.02276,38.80195,59.51667,39.56823,60.09291,39.84688,60.58682,39.84688,61.08074,39.56823,61.90393,39.35925,63.46799,38.24465,64.53814,37.19971,65.60828,36.15478,66.67844,34.55254,68.48946,31.41773,69.31265,29.53685,70.62975,25.5661,71.20598,23.47622,71.45294,21.87399,71.6999,20.5504,71.6999,18.18188,71.45294,17.34593,70.8767,16.57965,70.62975,16.301,70.3828,16.57965,69.88888,16.8583,68.81873,18.18188,68.24249,19.22682,67.17235,21.59534,66.43147,22.91892,65.85524,24.52116,65.60828,26.12339,64.7851,29.2582,64.53814,30.58179,64.29118,33.22896,64.53814,34.55254,64.53814,35.59748,64.7851,36.71207,65.85524,38.24465,66.43147,38.80195,67.99554,39.35925,68.81873,39.56823,69.5596,39.35925,70.62975,39.0806,73.01699,37.75701,74.33411,36.71207,76.72135,34.0649,78.03847,32.18402,79.35557,30.30314,80.67267,28.21327,82.81297,23.75487,83.88311,21.31669,85.20022,17.34593,85.69414,15.53471,86.02341,14.21113,86.27037,13.16619,86.27037,11.56396,86.27037,11.28531,86.27037,11.00666,86.02341,11.28531,86.02341,11.28531,86.02341,11.84261,85.44718,12.88754,85.44718,13.65383,84.95326,15.81336,84.70631,16.8583,84.37703,17.90323,83.88311,19.22682,83.30688,22.15264,82.81297,23.75487,81.98978,26.88968,81.49586,28.49191,81.00195,30.09415,80.67267,31.62672,80.17876,34.27389,79.9318,35.38849,79.60252,37.47836,79.60252,38.24465,79.60252,38.80195,79.9318,39.35925,80.42571,40.40418,81.00195,40.68283,82.31906,40.89182,83.05993,40.89182,83.88311,40.89182,84.95326,40.68283,86.76428,39.56823,87.58747,39.0806,89.15154,38.03566,89.72777,37.19971,90.22169,36.43343" + "id": 1, + "kind": "inkWriting", + "points":[{ "x" : 19.34498, "y" : 28.21327}, + { "x" : 19.34498, "y" : 27.93462}, + { "x" : 19.34498, "y" : 27.65597}, + { "x" :19.0157, "y" : 27.65597}, + { "x" : 18.76874, "y" : 27.44698}, + { "x" : 18.27483, "y" : 27.44698}, + { "x" : 18.02787, "y" : 27.44698}, + { "x" : 17.45164, "y" : 27.44698}, + { "x" : 16.62845, "y" : 27.65597}, + { "x" : 15.88758, "y" : 27.93462}, + { "x" : 15.06439, "y" : 28.49191}, + { "x" : 14.32351, "y" : 28.97955}, + { "x" : 13.25337, "y" : 29.53685}, + { "x" : 11.36003, "y" : 31.41773}, + { "x" : 10.61916, "y" : 32.46267}, + { "x" : 9.795967, "y" : 33.50761}, + { "x" : 8.972776, "y" : 34.83119}, + { "x" : 8.231905, "y" : 35.87613}, + { "x" : 7.655672, "y" : 37.19971}, + { "x" : 7.161757, "y" : 38.24465}, + { "x" : 6.9148, "y" : 39.35925}, + { "x" : 6.9148, "y" : 40.12554}, + { "x" : 6.9148, "y" : 40.89182}, + { "x" : 6.9148, "y" : 41.72777}, + { "x" : 7.408715, "y" : 42.2154}, + { "x" : 7.902629, "y" : 42.49405}, + { "x" : 8.478863, "y" : 42.77271}, + { "x" : 8.972776, "y" : 43.05135}, + { "x" : 9.795967, "y" : 43.05135}, + { "x" : 10.28988, "y" : 43.05135}, + { "x" : 11.11307, "y" : 42.77271}, + { "x" : 11.93626, "y" : 42.2154}, + { "x" : 12.43018, "y" : 41.72777}, + { "x" : 13.25337, "y" : 41.17047}, + { "x" : 13.74728, "y" : 40.12554}, + { "x" : 14.57047, "y" : 39.0806}, + { "x" : 15.31134, "y" : 37.75701}, + { "x" : 15.88758, "y" : 36.15478}, + { "x" : 16.62845, "y" : 34.27389}, + { "x" : 17.20468, "y" : 32.46267}, + { "x" : 17.6986, "y" : 30.30314}, + { "x" : 18.27483, "y" : 28.21327}, + { "x" : 18.76874, "y" : 26.12339}, + { "x" : 19.34498, "y" : 23.96386}, + { "x" : 19.59193, "y" : 21.87399}, + { "x" : 19.83889, "y" : 19.9931}, + { "x" : 20.08585, "y" : 18.46053}, + { "x" : 20.08585, "y" : 17.13695}, + { "x" : 20.08585, "y" : 16.02235}, + { "x" : 20.08585, "y" : 14.97741}, + { "x" : 20.08585, "y" : 14.48978}, + { "x" : 20.08585, "y" : 13.93248}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.59193, "y" : 13.65383}, + { "x" : 19.59193, "y" : 13.65383}, + { "x" : 19.34498, "y" : 14.21113}, + { "x" : 19.34498, "y" : 14.69876}, + { "x" : 19.0157, "y" : 15.25606}, + { "x" : 19.0157, "y" : 16.02235}, + { "x" : 18.76874, "y" : 17.13695}, + { "x" : 18.76874, "y" : 18.46053}, + { "x" : 18.52179, "y" : 19.78412}, + { "x" : 18.27483, "y" : 21.31669}, + { "x" : 18.02787, "y" : 22.91892}, + { "x" : 18.02787, "y" : 24.52116}, + { "x" : 17.6986, "y" : 26.33238}, + { "x" : 17.45164, "y" : 28.21327}, + { "x" : 17.20468, "y" : 30.09415}, + { "x" : 16.95773, "y" : 31.90537}, + { "x" : 16.62845, "y" : 33.50761}, + { "x" : 16.62845, "y" : 35.10984}, + { "x" : 16.62845, "y" : 36.71207}, + { "x" : 16.62845, "y" : 38.03566}, + { "x" : 16.95773, "y" : 39.0806}, + { "x" : 17.20468, "y" : 39.84688}, + { "x" : 17.45164, "y" : 40.68283}, + { "x" : 18.02787, "y" : 41.17047}, + { "x" : 18.52179, "y" : 41.72777}, + { "x" : 19.34498, "y" :42.00642}, + { "x" : 19.83889, "y" :42.00642}, + { "x" : 20.90904, "y" :41.72777}, + { "x" : 21.73223, "y" :41.44912}, + { "x" : 22.4731, "y" :40.89182}, + { "x" : 23.54325, "y" :40.12554}, + { "x" : 24.36644, "y" :39.35925}, + { "x" : 25.10731, "y" :38.5233}, + { "x" : 25.9305, "y" :37.47836}, + { "x" : 26.75369, "y" :36.71207}, + { "x" : 27.24761, "y" :35.59748}, + { "x" : 27.49457, "y" :34.55254}, + { "x" : 27.74152, "y" :33.50761}, + { "x" : 28.0708, "y" :32.46267}, + { "x" : 28.0708, "y" :31.62672}, + { "x" : 28.0708, "y" :30.86044}, + { "x" : 28.0708, "y" :30.09415}, + { "x" : 27.74152, "y" :29.53685}, + { "x" : 27.49457, "y" :28.97955}, + { "x" : 27.24761, "y" :28.77056}, + { "x" : 26.75369, "y" :28.49191}, + { "x" : 26.42442, "y" :28.49191}, + { "x" : 25.9305, "y" :28.49191}, + { "x" : 25.43659, "y" :28.97955}, + { "x" : 25.10731, "y" :29.53685}, + { "x" : 24.6134, "y" :30.09415}, + { "x" : 24.03716, "y" :30.86044}, + { "x" : 23.79021, "y" :31.90537}, + { "x" : 23.29629, "y" :33.22896}, + { "x" : 23.04934, "y" :34.27389}, + { "x" : 22.72006, "y" :35.59748}, + { "x" : 22.72006, "y" :36.71207}, + { "x" : 22.4731, "y" :38.03566}, + { "x" : 22.72006, "y" :39.0806}, + { "x" : 22.72006, "y" :40.12554}, + { "x" : 23.04934, "y" :40.89182}, + { "x" : 23.29629, "y" :41.72777}, + { "x" : 23.79021, "y" :42.2154}, + { "x" : 24.36644, "y" :42.77271}, + { "x" : 24.86036, "y" :43.05135}, + { "x" : 25.68354, "y" : 43.05135}, + { "x" : 26.42442, "y" : 43.05135}, + { "x" : 27.24761, "y" : 42.77271}, + { "x" : 28.31775, "y" : 42.2154}, + { "x" : 29.3879, "y" : 41.72777}, + { "x" : 30.45805, "y" : 40.89182}, + { "x" : 31.44588, "y" : 39.84688}, + { "x" : 32.8453, "y" : 38.80195}, + { "x" : 33.83313, "y" : 37.47836}, + { "x" : 35.15023, "y" : 35.87613}, + { "x" : 36.22039, "y" : 34.27389}, + { "x" : 37.29053, "y" : 32.46267}, + { "x" : 39.43083, "y" : 27.93462}, + { "x" : 40.50097, "y" : 25.5661}, + { "x" : 41.24184, "y" : 23.19757}, + { "x" : 41.81808, "y" : 20.82905}, + { "x" : 42.55895, "y" : 18.46053}, + { "x" : 42.88823, "y" : 16.301}, + { "x" : 43.38214, "y" : 14.48978}, + { "x" : 43.6291, "y" : 11.84261}, + { "x" : 43.6291, "y" : 10.72801}, + { "x" : 43.6291, "y" : 10.24037}, + { "x" : 43.38214, "y" : 9.96172}, + { "x" : 43.38214, "y" : 9.96172}, + { "x" : 43.13519, "y" : 9.96172}, + { "x" : 42.88823, "y" : 10.72801}, + { "x" : 42.31199, "y" : 12.60889}, + { "x" : 41.81808, "y" : 14.21113}, + { "x" : 41.24184, "y" : 16.02235}, + { "x" : 40.74793, "y" : 18.18188}, + { "x" : 40.25402, "y" : 20.5504}, + { "x" : 39.67778, "y" : 23.19757}, + { "x" : 39.43083, "y" : 25.84475}, + { "x" : 38.60764, "y" : 31.13909}, + { "x" : 38.36068, "y" : 33.78626}, + { "x" : 38.36068, "y" : 36.43343}, + { "x" : 38.11372, "y" : 38.80195}, + { "x" : 38.11372, "y" : 40.89182}, + { "x" : 38.11372, "y" : 43.05135}, + { "x" : 37.86677, "y" : 45.14123}, + { "x" : 37.53749, "y" : 48.62434}, + { "x" : 37.53749, "y" : 49.94793}, + { "x" : 37.29053, "y" : 51.27151}, + { "x" : 37.04358, "y" : 52.31645}, + { "x" : 36.79662, "y" : 53.08273}, + { "x" : 36.54966, "y" : 53.64004}, + { "x" : 35.97342, "y" : 53.84902}, + { "x" : 34.65633, "y" : 53.64004}, + { "x" : 33.83313, "y" : 53.08273}, + { "x" : 33.09226, "y" : 52.5951}, + { "x" : 32.26907, "y" : 51.75915}, + { "x" : 31.19892, "y" : 50.71421}, + { "x" : 30.45805, "y" : 49.66928}, + { "x" : 29.88182, "y" : 48.83333}, + { "x" : 28.56471, "y" : 47.02211}, + { "x" : 28.31775, "y" : 46.18616}, + { "x" : 28.0708, "y" : 45.69852}, + { "x" : 28.0708, "y" : 45.14123}, + { "x" : 28.31775, "y" : 44.37494}, + { "x" : 28.56471, "y" : 43.53899}, + { "x" : 29.88182, "y" : 42.2154}, + { "x" : 30.70501, "y" : 41.44912}, + { "x" : 31.77516, "y" : 40.68283}, + { "x" : 32.8453, "y" : 39.56823}, + { "x" : 35.47952, "y" : 37.75701}, + { "x" : 36.79662, "y" : 36.92107}, + { "x" : 39.67778, "y" : 35.38849}, + { "x" : 42.31199, "y" : 34.0649}, + { "x" : 43.6291, "y" : 33.50761}, + { "x" : 46.26331, "y" : 32.74132}, + { "x" : 47.33346, "y" : 32.46267}, + { "x" : 49.22679, "y" : 32.18402}, + { "x" : 49.72071, "y" : 31.90537}, + { "x" : 50.29694, "y" : 31.90537}, + { "x" : 50.79086, "y" : 31.90537}, + { "x" : 51.03782, "y" : 31.90537}, + { "x" : 51.03782, "y" : 31.90537}, + { "x" : 50.29694, "y" : 31.90537}, + { "x" : 49.96766, "y" : 32.18402}, + { "x" : 49.47375, "y" : 32.46267}, + { "x" : 48.65057, "y" : 32.74132}, + { "x" : 47.90969, "y" : 33.22896}, + { "x" : 47.0865, "y" : 33.78626}, + { "x" : 46.26331, "y" : 34.27389}, + { "x" : 44.69925, "y" : 35.87613}, + { "x" : 44.20533, "y" : 36.71207}, + { "x" : 43.95837, "y" : 37.75701}, + { "x" : 43.6291, "y" : 38.5233}, + { "x" : 43.38214, "y" : 39.84688}, + { "x" : 43.6291, "y" : 40.12554}, + { "x" : 43.95837, "y" : 40.40418}, + { "x" : 44.20533, "y" : 40.68283}, + { "x" : 45.27548, "y" : 40.40418}, + { "x" : 46.01635, "y" : 40.12554}, + { "x" : 46.59258, "y" : 39.56823}, + { "x" : 47.0865, "y" : 38.80195}, + { "x" : 47.90969, "y" : 38.03566}, + { "x" : 48.97984, "y" : 36.15478}, + { "x" : 49.47375, "y" : 35.10984}, + { "x" : 49.72071, "y" : 34.27389}, + { "x" : 49.96766, "y" : 33.50761}, + { "x" : 50.29694, "y" : 32.46267}, + { "x" : 50.5439, "y" : 31.90537}, + { "x" : 50.5439, "y" : 31.90537}, + { "x" : 50.29694, "y" : 32.18402}, + { "x" : 50.29694, "y" : 32.74132}, + { "x" : 49.96766, "y" : 33.22896}, + { "x" : 49.72071, "y" : 34.83119}, + { "x" : 49.47375, "y" : 35.87613}, + { "x" : 49.47375, "y" : 37.75701}, + { "x" : 49.47375, "y" : 38.5233}, + { "x" : 49.72071, "y" : 39.0806}, + { "x" : 49.72071, "y" : 39.35925}, + { "x" : 50.29694, "y" : 39.56823}, + { "x" : 50.79086, "y" : 39.56823}, + { "x" : 51.03782, "y" : 39.35925}, + { "x" : 51.61405, "y" : 38.80195}, + { "x" : 52.6842, "y" : 37.47836}, + { "x" : 53.1781, "y" : 36.71207}, + { "x" : 53.67202, "y" : 35.87613}, + { "x" : 54.24826, "y" : 35.10984}, + { "x" : 54.74217, "y" : 34.55254}, + { "x" : 55.3184, "y" : 33.50761}, + { "x" : 55.56536, "y" : 33.22896}, + { "x" : 55.56536, "y" : 32.95031}, + { "x" : 55.56536, "y" : 32.95031}, + { "x" : 55.56536, "y" : 33.78626}, + { "x" : 55.3184, "y" : 34.27389}, + { "x" : 55.07145, "y" : 35.38849}, + { "x" : 55.07145, "y" : 36.15478}, + { "x" : 55.07145, "y" : 36.92107}, + { "x" : 55.07145, "y" : 37.47836}, + { "x" : 55.3184, "y" : 38.03566}, + { "x" : 55.3184, "y" : 38.24465}, + { "x" : 55.56536, "y" : 38.5233}, + { "x" : 56.05928, "y" : 38.5233}, + { "x" : 56.38855, "y" : 38.24465}, + { "x" : 56.63551, "y" : 38.03566}, + { "x" : 57.12943, "y" : 37.75701}, + { "x" : 57.70565, "y" : 36.71207}, + { "x" : 58.19957, "y" : 36.15478}, + { "x" : 58.44653, "y" : 35.10984}, + { "x" : 58.77581, "y" : 34.55254}, + { "x" : 58.77581, "y" : 34.27389}, + { "x" : 59.02276, "y" : 34.0649}, + { "x" : 59.02276, "y" : 33.78626}, + { "x" : 59.02276, "y" : 33.78626}, + { "x" : 58.77581, "y" : 34.27389}, + { "x" : 58.77581, "y" : 34.55254}, + { "x" : 58.77581, "y" : 35.10984}, + { "x" : 58.77581, "y" : 35.38849}, + { "x" : 58.44653, "y" : 36.71207}, + { "x" : 58.77581, "y" : 37.47836}, + { "x" : 58.77581, "y" : 38.03566}, + { "x" : 59.02276, "y" : 38.80195}, + { "x" : 59.51667, "y" : 39.56823}, + { "x" : 60.09291, "y" : 39.84688}, + { "x" : 60.58682, "y" : 39.84688}, + { "x" : 61.08074, "y" : 39.56823}, + { "x" : 61.90393, "y" : 39.35925}, + { "x" : 63.46799, "y" : 38.24465}, + { "x" : 64.53814, "y" : 37.19971}, + { "x" : 65.60828, "y" : 36.15478}, + { "x" : 66.67844, "y" : 34.55254}, + { "x" : 68.48946, "y" : 31.41773}, + { "x" : 69.31265, "y" : 29.53685}, + { "x" : 70.62975, "y" : 25.5661}, + { "x" : 71.20598, "y" : 23.47622}, + { "x" : 71.45294, "y" : 21.87399}, + { "x" : 71.6999, "y" : 20.5504}, + { "x" : 71.6999, "y" : 18.18188}, + { "x" : 71.45294, "y" : 17.34593}, + { "x" : 70.8767, "y" : 16.57965}, + { "x" : 70.62975, "y" : 16.301}, + { "x" : 70.3828, "y" : 16.57965}, + { "x" : 69.88888, "y" : 16.8583}, + { "x" : 68.81873, "y" : 18.18188}, + { "x" : 68.24249, "y" : 19.22682}, + { "x" : 67.17235, "y" : 21.59534}, + { "x" : 66.43147, "y" : 22.91892}, + { "x" : 65.85524, "y" : 24.52116}, + { "x" : 65.60828, "y" : 26.12339}, + { "x" : 64.7851, "y" : 29.2582}, + { "x" : 64.53814, "y" : 30.58179}, + { "x" : 64.29118, "y" : 33.22896}, + { "x" : 64.53814, "y" : 34.55254}, + { "x" : 64.53814, "y" : 5.59748}, + { "x" : 64.7851, "y" : 36.71207}, + { "x" : 65.85524, "y" : 38.24465}, + { "x" : 66.43147, "y" : 38.80195}, + { "x" : 67.99554, "y" : 39.35925}, + { "x" : 68.81873, "y" : 39.56823}, + { "x" : 69.5596, "y" : 39.35925}, + { "x" : 70.62975, "y" : 39.0806}, + { "x" : 73.01699, "y" : 37.75701}, + { "x" : 74.33411, "y" : 36.71207}, + { "x" : 76.72135, "y" : 34.0649}, + { "x" : 78.03847, "y" : 32.18402}, + { "x" : 79.35557, "y" : 30.30314}, + { "x" : 80.67267, "y" : 28.21327}, + { "x" : 82.81297, "y" : 23.75487}, + { "x" : 83.88311, "y" : 21.31669}, + { "x" : 85.20022, "y" : 17.34593}, + { "x" : 85.69414, "y" : 15.53471}, + { "x" : 86.02341, "y" : 14.21113}, + { "x" : 86.27037, "y" : 13.16619}, + { "x" : 86.27037, "y" : 11.56396}, + { "x" : 86.27037, "y" : 11.28531}, + { "x" : 86.27037, "y" : 11.00666}, + { "x" : 86.02341, "y" : 11.28531}, + { "x" : 86.02341, "y" : 11.28531}, + { "x" : 86.02341, "y" : 11.84261}, + { "x" : 85.44718, "y" : 12.88754}, + { "x" : 85.44718, "y" : 13.65383}, + { "x" : 84.95326, "y" : 15.81336}, + { "x" : 84.70631, "y" : 16.8583}, + { "x" : 84.37703, "y" : 17.90323}, + { "x" : 83.88311, "y" : 19.22682}, + { "x" : 83.30688, "y" : 22.15264}, + { "x" : 82.81297, "y" : 23.75487}, + { "x" : 81.98978, "y" : 26.88968}, + { "x" : 81.49586, "y" : 28.49191}, + { "x" : 81.00195, "y" : 30.09415}, + { "x" : 80.67267, "y" : 31.62672}, + { "x" : 80.17876, "y" : 34.27389}, + { "x" : 79.9318, "y" : 35.38849}, + { "x" : 79.60252, "y" : 37.47836}, + { "x" : 79.60252, "y" : 38.24465}, + { "x" : 79.60252, "y" : 38.80195}, + { "x" : 79.9318, "y" : 39.35925}, + { "x" : 80.42571, "y" : 40.40418}, + { "x" : 81.00195, "y" : 40.68283}, + { "x" : 82.31906, "y" : 40.89182}, + { "x" : 83.05993, "y" : 40.89182}, + { "x" : 83.88311, "y" : 40.89182}, + { "x" : 84.95326, "y" : 40.68283}, + { "x" : 86.76428, "y" : 39.56823}, + { "x" : 87.58747, "y" : 39.0806}, + { "x" : 89.15154, "y" : 38.03566}, + { "x" : 89.72777, "y" : 37.19971}, + { "x" : 90.22169, "y" : 36.43343}] }, { - "id": 2, - "kind": "inkWriting", - "points": "80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.42571,20.5504,80.42571,20.5504,80.67267,20.5504,81.00195,20.5504,81.49586,20.5504,81.98978,20.5504,82.56602,20.5504,83.30688,20.5504,84.13007,20.5504,84.95326,20.27175,86.02341,20.27175,86.76428,20.27175,87.58747,20.27175,88.41067,19.9931,89.15154,19.9931,89.72777,19.9931,90.22169,19.78412,90.46864,19.78412,90.7156,19.78412,91.04487,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.53879,19.78412,91.53879,19.78412,91.78574,19.78412" + "id": 2, + "kind": "inkWriting", + "points": [{ "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.42571, "y" : 20.5504}, + { "x": 80.42571, "y" : 20.5504}, + { "x": 80.67267, "y" : 20.5504}, + { "x": 81.00195, "y" : 20.5504}, + { "x": 81.49586, "y" : 20.5504}, + { "x": 81.98978, "y" : 20.5504}, + { "x": 82.56602, "y" : 20.5504}, + { "x": 83.30688, "y" : 20.5504}, + { "x": 84.13007, "y" : 20.5504}, + { "x": 84.95326, "y" : 20.27175}, + { "x": 86.02341, "y" : 20.27175}, + { "x": 86.76428, "y" : 20.27175}, + { "x": 87.58747, "y" : 20.27175}, + { "x": 88.41067, "y" : 19.9931}, + { "x": 89.15154, "y" : 19.9931}, + { "x": 89.72777, "y" : 19.9931}, + { "x": 90.22169, "y" : 19.78412}, + { "x": 90.46864, "y" : 19.78412}, + { "x": 90.7156, "y" : 19.78412}, + { "x": 91.04487, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.53879, "y" : 19.78412}, + { "x": 91.53879, "y" : 19.78412}, + { "x": 91.78574, "y" : 19.78412}] } - ] + ] } }, "responses": { @@ -246,6 +650,43 @@ 1, 2 ] + }, + { + "boundingRectangle": { + "height": 43.889999389648438, + "topX": 6.9099998474121094, + "topY": 9.9600000381469727, + "width": 84.879997253417969 + }, + "category": "root", + "childIds": [ + 1 + ], + "class": "container", + "id": 0, + "parentId": -1, + "rotatedBoundingRectangle": [ + { + "x": 6.9099998474121094, + "y": 9.9600000381469727 + }, + { + "x": 91.7899957275305, + "y": 9.9600000381469727 + }, + { + "x": 6.9099998474121094, + "y": 53.84999393463135 + }, + { + "x": 91.78999572753905, + "y": 53.84999393463135 + } + ], + "strokeIds": [ + 1, + 2 + ] } ] } From 2ff8dac02d6bfd665910345c682ad446749c607d Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Mon, 5 Aug 2019 09:44:05 +0800 Subject: [PATCH 446/495] Fixed healthcare readme.md / readme.python.md (#6854) * trigger ci * trigger * undo readmechange * fix readme * just triggereing rebuild * fix --- .../healthcareapis/resource-manager/readme.md | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md index cb00819f4447..a506b9629059 100644 --- a/specification/healthcareapis/resource-manager/readme.md +++ b/specification/healthcareapis/resource-manager/readme.md @@ -60,31 +60,7 @@ swagger-to-sdk: ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.healthcareapis - package-name: azure-mgmt-healthcareapis - clear-output-folder: true - package-version: 0.1.0 -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis -``` +See configuration in [readme.python.md](./readme.python.md) ## Go From 1b5c6d9f0fee26ce5dde3b4ba1e9922f93144826 Mon Sep 17 00:00:00 2001 From: khan15 Date: Sun, 4 Aug 2019 18:55:43 -0700 Subject: [PATCH 447/495] add HyperVGeneation in GetVMImage (#6730) * add HyperVGeneation in SharedVMImageVersion * reuse HyperVGenerationType --- .../Microsoft.Compute/stable/2019-03-01/compute.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 8cd0384a6aff..aad7395bbc1e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -5237,7 +5237,7 @@ }, "HyperVGenerationType": { "type": "string", - "description": "Specifies the HyperVGeneration Type for the Virtual Machine created from the image", + "description": "Specifies the HyperVGeneration Type", "enum": [ "V1", "V2" @@ -6063,6 +6063,9 @@ }, "automaticOSUpgradeProperties": { "$ref": "#/definitions/AutomaticOSUpgradeProperties" + }, + "hyperVGeneration": { + "$ref": "#/definitions/HyperVGenerationType" } }, "description": "Describes the properties of a Virtual Machine Image." From be0ad6d669ec6374f45bd2e9ea3c279d2bd62e81 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 00:01:21 -0400 Subject: [PATCH 448/495] chore: jsonfmt imds (#6706) --- .../2019-04-30/examples/GetAttestedData.json | 26 +- .../2019-04-30/examples/GetIdentityInfo.json | 22 +- .../2019-04-30/examples/GetIdentityToken.json | 36 +- .../examples/GetInstanceMetadata.json | 90 +- .../stable/2019-04-30/imds.json | 1196 ++++++++--------- 5 files changed, 685 insertions(+), 685 deletions(-) diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json index 75d3f22964a9..c1848fafe1d7 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-04-30", - "nonce": "abcde12345", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "encoding": "pkcs7", - "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" - } - } + "parameters": { + "api-version": "2019-04-30", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json index a71e5c82dd81..c86922232d4d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" - } - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json index d25c2d507ab6..cf9b130b3e0d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true", - "resource": "https://vault.azure.net" - }, - "responses": { - "200": { - "body": { - "access_token": "dummytoken", - "client_id": "be5947ed-3560-4afe-9504-59967a63f810", - "expires_in": "3599", - "expires_on": "1541705014", - "ext_expires_in": "262800", - "not_before": "1508961830", - "resource": "https://va" - } - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json index ebed2fed07b4..df4eecc8f5b9 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json @@ -1,50 +1,50 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "customData": "TXkgY3VzdG9tIGRhdGEu", - "location": "westus", - "name": "examplevmname", - "offer": "Windows", - "osType": "linux", - "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", - "plan": { - "name": "planName", - "product": "planProduct", - "publisher": "planPublisher" - }, - "platformFaultDomain": "36", - "platformUpdateDomain": "42", - "provider": "Microsoft.Compute", - "publicKeys": [ - { - "keyData": "ssh-rsa 0", - "path": "/home/user/.ssh/authorized_keys0" - }, - { - "keyData": "ssh-rsa 1", - "path": "/home/user/.ssh/authorized_keys1" - } - ], - "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", - "resourceGroupName": "macikgo-test-may-23", - "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", - "sku": "Windows-Server-2012-R2-Datacenter", - "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", - "tags": "baz:bash;foo:bar", - "version": "15.05.22", - "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", - "vmScaleSetName": "crpteste9vflji9", - "vmSize": "Standard_A3", - "zone": "" - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "provider": "Microsoft.Compute", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" } + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json index b55539f58821..fd2cab686a20 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json @@ -1,629 +1,629 @@ -{ - "swagger": "2.0", - "info": { - "title": "InstanceMetadataClient", - "description": "The Azure Instance Metadata Client", - "version": "2019-04-30" - }, - "host": "169.254.169.254", - "basePath": "/metadata", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-04-30" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } } + } }, - "paths": { - "/instance": { - "get": { - "operationId": "Instances_GetMetadata", - "description": "Get Instance Metadata for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Instance" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Instance Metadata for the VM": { - "$ref": "./examples/GetInstanceMetadata.json" - } - } + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" } - }, - "/attested/document": { - "get": { - "operationId": "Attested_GetDocument", - "description": "Get Attested Data for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "nonce", - "in": "query", - "required": false, - "type": "string", - "description": "This is a string of up to 32 random alphanumeric characters." - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestedData" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Attested Data for the VM": { - "$ref": "./examples/GetAttestedData.json" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/identity/oauth2/token": { - "get": { - "tags": [ - "Get token" - ], - "description": "Get a Token from Azure AD", - "operationId": "Identity_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "resource", - "in": "query", - "type": "string", - "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", - "required": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "client_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", - "required": false - }, - { - "name": "object_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", - "required": false - }, - { - "name": "msi_res_id", - "in": "query", - "type": "string", - "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", - "required": false - }, - { - "name": "authority", - "in": "query", - "type": "string", - "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", - "required": false - }, - { - "name": "bypass_cache", - "in": "query", - "type": "string", - "enum": [ - "true" - ], - "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", - "required": false, - "x-ms-enum": { - "name": "BypassCache", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityTokenResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Token for the VM": { - "$ref": "./examples/GetIdentityToken.json" - } - } + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true } - }, - "/identity/info": { - "get": { - "tags": [ - "Get metadata information" - ], - "description": "Get information about AAD Metadata", - "operationId": "Identity_GetInfo", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityInfoResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Info for the VM": { - "$ref": "./examples/GetIdentityInfo.json" - } - } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } } + } }, - "definitions": { - "Compute": { - "type": "object", - "properties": { - "azEnvironment": { - "type": "string", - "description": "This is the name of the environment in which the VM is running." - }, - "customData": { - "type": "string", - "description": "This is the base64 encoded custom data for the running VM." - }, - "location": { - "type": "string", - "description": "This is the Azure Region in which the VM is running." - }, - "name": { - "type": "string", - "description": "This is the name of the VM." - }, - "offer": { - "type": "string", - "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." - }, - "osType": { - "type": "string", - "description": "This value indicates the type of OS the VM is running, either Linux or Windows." - }, - "placementGroupId": { - "type": "string", - "description": "This is the placement group of your Virtual Machine Scale Set." - }, - "plan": { - "type": "object", - "description": "This contains the data about the plan.", - "$ref": "#/definitions/PlanProperties" - }, - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicKeysProperties" - }, - "description": "This is information about the SSH certificate" - }, - "platformFaultDomain": { - "type": "string", - "description": "This is the fault domain in which the VM." - }, - "platformUpdateDomain": { - "type": "string", - "description": "This is the update domain in which the VM." - }, - "provider": { - "type": "string", - "description": "This is the provider of the VM." - }, - "publisher": { - "type": "string", - "description": "This is the publisher of the VM image." - }, - "resourceGroupName": { - "type": "string", - "description": "This is the resource group for the VM." - }, - "resourceId": { - "type": "string", - "description": "This is the fully qualified ID for the VM." - }, - "sku": { - "type": "string", - "description": "This is the specific SKU for the VM image." - }, - "subscriptionId": { - "type": "string", - "description": "This is the Azure subscription for the VM." - }, - "tags": { - "type": "string", - "description": "This is the list of tags for your VM." - }, - "version": { - "type": "string", - "description": "This is the version of the VM image." - }, - "vmId": { - "type": "string", - "description": "This is the unique identifier for the VM." - }, - "vmScaleSetName": { - "type": "string", - "description": "This is the resource name of the VMSS." - }, - "vmSize": { - "type": "string", - "description": "This is the size of the VM." - }, - "zone": { - "type":"string", - "description":"This is the availability zone of the VM." - } - }, - "description": "Compute Metadata" - }, - "Network": { - "type": "object", - "properties": { - "interface": { - "type":"array", - "description": "This contains data about the network interface.", - "items": { - "type": "object", - "$ref": "#/definitions/NetworkInterface" - } - } - }, - "description": "Network Metadata" - }, - "NetworkInterface": { - "type": "object", - "description": "This contains data about the network interface.", - "properties": { - "ipv4": { - "type":"object", - "description": "This contains the IPv4 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv4 properties.", - "$ref":"#/definitions/Ipv4Properties" - } - }, - "subnet": { - "type":"array", - "description": "This is the subnet", - "items": { - "type": "object", - "description": "This contains the subnet properties.", - "$ref": "#/definitions/SubnetProperties" - } - } - } - }, - "ipv6": { - "type":"object", - "description": "This contains the IPv6 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv6 properties.", - "$ref":"#/definitions/Ipv6Properties" - } - } - } - }, - "macAddress": { - "type":"string", - "description":"This is the MAC address of the interface." - } + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" } - }, - "PlanProperties": { - "type": "object", - "description": "This contains the data about the plan.", - "properties": { - "name": { - "type": "string", - "description": "This is the Plan ID." - }, - "publisher": { - "type": "string", - "description": "This is the publisher ID." - }, - "product": { - "type": "string", - "description": "This is the product of the image from the Marketplace." - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } }, - "PublicKeysProperties": { - "type": "object", - "description": "This contains the data about the public key.", - "properties": { - "path": { - "type": "string", - "description": "This specifies the full path on the VM where the SSH public key is stored." - }, - "keyData": { - "type": "string", - "description": "This is the SSH public key certificate used to authenticate with the VM." - } - } + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." }, - "Ipv4Properties": { - "type": "object", - "description": "This contains the IPv4 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IP address assigned to the interface." - }, - "publicIpAddress": { - "type":"string", - "description":"This is the public IP address assigned to the interface." - } - } + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." }, - "Ipv6Properties": { - "type": "object", - "description": "This contains the IPv6 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IPv6 address assigned to the interface." - } - } + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." }, - "SubnetProperties": { - "type": "object", - "description": "This contains the properties of the subnet.", - "properties": { - "address": { - "type":"string", - "description":"This is the address range of the subnet." - }, - "prefix": { - "type":"string", - "description":"This is the prefix of the subnet." - } - } + "name": { + "type": "string", + "description": "This is the name of the VM." }, - "Instance": { - "type": "object", - "description": "This is the response from the Instance_GetMetadata operation.", - "properties": { - "compute": { - "$ref": "#/definitions/Compute", - "description": "Compute Metadata" - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network Metadata" - } - } + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." }, - "AttestedData": { - "type": "object", - "description": "This is the response from the Attested_GetDocument operation.", - "properties": { - "signature": { - "type": "string", - "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." - }, - "encoding": { - "type": "string", - "description": "This is the encoding scheme of the signature." - } - } + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." }, - "ErrorResponse": { - "description": "This is the response from an operation in the case an error occurs.", - "type": "object", - "properties": { - "error": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." }, - "IdentityErrorResponse": { + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type": "string", + "description": "This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type": "array", + "description": "This contains data about the network interface.", + "items": { "type": "object", - "description": "This is the response from an Identity operation in the case an error occurs.", - "properties": { - "error": { - "type": "string", - "description": "Error code", - "enum": [ - "invalid_request", - "unauthorized_client", - "access_denied", - "unsupported_response_type", - "invalid_scope", - "server_error", - "service_unavailable", - "bad_request", - "forbidden", - "not_found", - "method_not_allowed", - "too_many_requests" - ], - "x-ms-enum": { - "name": "Error", - "modelAsString": true - } - }, - "error_description": { - "type": "string", - "description": "Error message indicating why the operation failed." - } + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type": "object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref": "#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type": "array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } } + } }, - "IdentityTokenResponse": { - "type": "object", - "description": "This is the response from the Identity_GetToken operation.", - "properties": { - "access_token": { - "type": "string", - "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." - }, - "expires_in": { - "type": "string", - "description": "This is how long the access token is valid (in seconds)." - }, - "expires_on": { - "type": "string", - "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." - }, - "ext_expires_in": { - "type": "string", - "description": "This indicates the extended lifetime of the token (in seconds)." - }, - "not_before": { - "type": "string", - "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." - }, - "resource": { - "type": "string", - "description": "This is the app ID URI of the sink resource." - }, - "token_type": { - "type": "string", - "description": "This indicates the token type value." - }, - "client_id": { - "type": "string", - "description": "This is the client_id specified in the request, if any." - }, - "object_id": { - "type": "string", - "description": "This is the object_id specified in the request, if any." - }, - "msi_res_id": { - "type": "string", - "description": "This is the msi_res_id specified in the request, if any." - } + "ipv6": { + "type": "object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref": "#/definitions/Ipv6Properties" + } } + } }, - "IdentityInfoResponse": { - "type": "object", - "description": "This is the response from the Identity_GetInfo operation.", - "properties": { - "tenantId": { - "type": "string", - "description": "This is the AAD tenantId of the identity of the caller." - } - } + "macAddress": { + "type": "string", + "description": "This is the MAC address of the interface." } + } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "type": "string", - "enum": [ - "2018-10-01" - ], - "description": "This is the API version to use.", - "required": true, - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." }, - "MetadataParameter": { - "name": "Metadata", - "in": "header", - "type": "string", - "enum": [ - "true" - ], - "description": "This must be set to 'true'.", - "required": true, - "x-ms-parameter-location": "method" + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type": "string", + "description": "This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type": "string", + "description": "This is the address range of the subnet." + }, + "prefix": { + "type": "string", + "description": "This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" } + } } From f992be5adf2411867039c6f120eff819c7201bc9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 01:09:17 -0400 Subject: [PATCH 449/495] chore: jsonfmt compute (#6857) --- .../stable/2019-03-01/compute.json | 19 ++++++------- ...SetWithTerminateScheduledEventEnabled.json | 28 +++++++++---------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index aad7395bbc1e..5c43799e8249 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -3127,7 +3127,7 @@ "Create a scale set with ephemeral os disks.": { "$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json" }, - "Create a scale set with terminate scheduled events enabled.": { + "Create a scale set with terminate scheduled events enabled.": { "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json" } } @@ -8519,8 +8519,8 @@ "modelAsString": true } }, - "scheduledEventsProfile" : { - "$ref":"#/definitions/ScheduledEventsProfile", + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations." } }, @@ -8552,8 +8552,8 @@ "type": "string", "description": "The license type, which is for bring your own license scenario." }, - "scheduledEventsProfile" : { - "$ref":"#/definitions/ScheduledEventsProfile", + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations." } }, @@ -9272,9 +9272,8 @@ "ScheduledEventsProfile": { "type": "object", "properties": { - "terminateNotificationProfile": - { - "$ref":"#/definitions/TerminateNotificationProfile", + "terminateNotificationProfile": { + "$ref": "#/definitions/TerminateNotificationProfile", "description": "Specifies Terminate Scheduled Event related configurations." } } @@ -9284,9 +9283,9 @@ "properties": { "notBeforeTimeout": { "type": "string", - "description" : "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" }, - "enable" : { + "enable": { "type": "boolean", "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json index b461cdb07a86..87e6b25d2c87 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json @@ -55,11 +55,11 @@ } ] }, - "scheduledEventsProfile" : { - "terminateNotificationProfile" : { - "enable": true, - "notBeforeTimeout": "PT5M" - } + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" + } } }, "upgradePolicy": { @@ -132,10 +132,10 @@ } ] }, - "scheduledEventsProfile" : { - "terminateNotificationProfile" : { - "enable": true, - "notBeforeTimeout": "PT5M" + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" } } }, @@ -212,10 +212,10 @@ } ] }, - "scheduledEventsProfile" : { - "terminateNotificationProfile" : { - "enable": true, - "notBeforeTimeout": "PT5M" + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" } } }, @@ -230,4 +230,4 @@ } } } -} \ No newline at end of file +} From aa0d9d9731aaa30d51c3b52bfeef5e579597e0e3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 01:12:19 -0400 Subject: [PATCH 450/495] fix: servicefabric character encoding (#6687) * fix: servicefabric character encoding * fix: Remove empty body for model validation --- .../stable/6.2/examples/GetApplicationInfoByName-1.json | 5 +---- .../6.2/examples/GetDeployedApplicationInfoByName-1.json | 5 +---- .../stable/6.2/examples/GetServiceTypeInfoByName-1.json | 5 +---- .../Microsoft.ServiceFabric/stable/6.2/servicefabric.json | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json index 9d230b4a6666..6d9746679571 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json @@ -19,9 +19,6 @@ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json index 87c8485a607c..8552057cbe2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json @@ -21,9 +21,6 @@ "HealthState": "Ok" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json index 910cb86eaf6d..4340954856fe 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json @@ -31,9 +31,6 @@ "IsServiceGroup": false } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json index a85c1110e620..6cfc2a82e2bd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json @@ -12989,7 +12989,7 @@ }, "ServicePlacementPreferPrimaryDomainPolicyDescription": { "x-ms-discriminator-value": "PreferredPrimaryDomain", - "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service�s primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", + "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", "allOf": [ { "$ref": "#/definitions/ServicePlacementPolicyDescription" From b3ed4162f2a675af61b690939fce98a3b29ffd38 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 01:13:14 -0400 Subject: [PATCH 451/495] chore: jsonfmt subscription (#6628) --- .../preview/2018-11-01-preview/subscriptions.json | 6 +++++- .../2019-03-01-preview/examples/enableSubscription.json | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json index cc487360b8bf..46dc503a77f0 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json @@ -140,7 +140,11 @@ }, "ModernSubscriptionCreationParameters": { "description": "The parameters required to create a new subscription.", - "required": ["displayName","billingProfileId","skuId"], + "required": [ + "displayName", + "billingProfileId", + "skuId" + ], "properties": { "displayName": { "description": "The friendly name of the subscription.", diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json index 13e4cef06ff4..56fdb0884237 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json @@ -9,6 +9,5 @@ "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" } } - } + } } - \ No newline at end of file From 476f7fd20e3022f798e600ff312e9a8700f557b0 Mon Sep 17 00:00:00 2001 From: MyronFanQiu <49134743+MyronFanQiu@users.noreply.github.com> Date: Mon, 5 Aug 2019 15:39:29 +0800 Subject: [PATCH 452/495] add only tag for ruby sdk (#6737) * add only tag for ruby sdk * fix the format * add 2019-08 --- .../security/resource-manager/readme.md | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 511a7d9162f4..d489009096ea 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -148,6 +148,120 @@ override-info: title: SecurityCenter ``` +### Tag: package-2015-06-preview-only + +These settings apply only when `--tag=package-2015-06-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2015-06-preview-only' +input-file: +- Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json +- Microsoft.Security/preview/2015-06-01-preview/alerts.json +- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json +- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json +- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json +- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +- Microsoft.Security/preview/2015-06-01-preview/locations.json +- Microsoft.Security/preview/2015-06-01-preview/operations.json +- Microsoft.Security/preview/2015-06-01-preview/tasks.json +- Microsoft.Security/preview/2015-06-01-preview/topologies.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2017-08-preview-only + +These settings apply only when `--tag=package-2017-08-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-08-preview-only' +input-file: +- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json +- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json +- Microsoft.Security/preview/2017-08-01-preview/compliances.json +- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json +- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +- Microsoft.Security/preview/2017-08-01-preview/pricings.json +- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json +- Microsoft.Security/preview/2017-08-01-preview/settings.json +- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-01-preview-only + +These settings apply only when `--tag=package-2019-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-preview-only' +input-file: +- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2017-08-only + +These settings apply only when `--tag=package-2017-08-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-08-only' +input-file: +- Microsoft.Security/stable/2017-08-01/complianceResults.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2018-06-only + +These settings apply only when `--tag=package-2018-06-only` is specified on the command line. + +```yaml $(tag) == 'package-2018-06-only' +input-file: +- Microsoft.Security/stable/2018-06-01/pricings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-01-only + +These settings apply only when `--tag=package-2019-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-only' +input-file: +- Microsoft.Security/stable/2019-01-01/alerts.json +- Microsoft.Security/stable/2019-01-01/settings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-08-only + +These settings apply only when `--tag=package-2019-08-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-08-only' +input-file: +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + --- # Code Generation From a3b03fc1be55605bbbb1ed1e5dea850576c3014f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 05:23:43 -0400 Subject: [PATCH 453/495] chore: jsonfmt securityinsights (#6861) --- .../examples/entities/GetDnsEntityById.json | 4 +++- .../entities/GetSecurityAlertEntityById.json | 14 +++++++------- .../examples/entities/expand/PostExpandEntity.json | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json index 941492387cd8..38ea66b5c8d7 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json @@ -17,7 +17,9 @@ "properties": { "friendlyName": "domain", "domainName": "domain", - "ipAddressEntityIds": ["475d3120-33e0-4841-9f1c-a8f15a801d19"] + "ipAddressEntityIds": [ + "475d3120-33e0-4841-9f1c-a8f15a801d19" + ] } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json index 3c79d0efbf90..4c3ca8bd57b6 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json @@ -31,15 +31,15 @@ "startTimeUtc": "2019-07-06T08:21:45.926185Z", "timeGenerated": "2019-07-06T13:56:53.5392366Z", "additionalData": { - "Query": "Heartbeat \n| extend AccountCustomEntity = \"administrator\"", - "Query Period": "05:00:00", - "Trigger Operator": "GreaterThan", - "Trigger Threshold": "200", - "Search Query Results Overall Count": "203", - "Total Account Entities": "1" + "Query": "Heartbeat \n| extend AccountCustomEntity = \"administrator\"", + "Query Period": "05:00:00", + "Trigger Operator": "GreaterThan", + "Trigger Threshold": "200", + "Search Query Results Overall Count": "203", + "Total Account Entities": "1" }, "friendlyName": "Suspicious account detected" - } + } } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json index b9aa3378204a..9f9c8e485634 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} From 4bc398a1a5074812e5cad6ccc1d3e7c52dbf2447 Mon Sep 17 00:00:00 2001 From: erich-wang Date: Mon, 5 Aug 2019 18:04:11 +0800 Subject: [PATCH 454/495] update config files for swagger to net sdk repo (#6699) --- .../EnterpriseKnowledgeGraph/resource-manager/readme.md | 3 ++- specification/addons/resource-manager/readme.md | 2 +- specification/advisor/resource-manager/readme.md | 1 + specification/alertsmanagement/resource-manager/readme.md | 5 +++-- specification/analysisservices/resource-manager/readme.md | 1 + specification/apimanagement/resource-manager/readme.md | 3 ++- .../appconfiguration/resource-manager/readme.csharp.md | 2 +- specification/applicationinsights/resource-manager/readme.md | 3 ++- .../authorization/resource-manager/readme.csharp.md | 2 +- specification/authorization/resource-manager/readme.md | 1 + specification/automation/resource-manager/readme.md | 1 + specification/azure-kusto/resource-manager/readme.md | 1 + .../azureactivedirectory/resource-manager/readme.md | 1 + specification/azurestack/resource-manager/readme.md | 2 +- specification/batch/resource-manager/readme.md | 3 ++- specification/batchai/resource-manager/readme.md | 1 + specification/billing/resource-manager/readme.md | 1 + specification/blockchain/resource-manager/readme.csharp.md | 2 +- specification/blueprint/resource-manager/readme.md | 1 + specification/botservice/resource-manager/readme.md | 1 + specification/cognitiveservices/resource-manager/readme.md | 1 + specification/compute/resource-manager/readme.md | 1 + specification/consumption/resource-manager/readme.md | 1 + specification/containerinstance/resource-manager/readme.md | 3 ++- specification/containerregistry/resource-manager/readme.md | 1 + specification/cost-management/resource-manager/readme.md | 1 + specification/customer-insights/resource-manager/readme.md | 1 + specification/customproviders/resource-manager/readme.md | 1 + specification/databox/resource-manager/readme.md | 1 + specification/datacatalog/resource-manager/readme.md | 3 ++- specification/datafactory/resource-manager/readme.md | 1 + specification/datalake-analytics/resource-manager/readme.md | 1 + specification/datalake-store/resource-manager/readme.md | 1 + specification/datamigration/resource-manager/readme.md | 3 ++- specification/datashare/resource-manager/readme.md | 3 ++- specification/deploymentmanager/resource-manager/readme.md | 1 + .../deviceprovisioningservices/resource-manager/readme.md | 1 + specification/devops/resource-manager/readme.md | 1 + specification/devspaces/resource-manager/readme.md | 3 ++- specification/devtestlabs/resource-manager/readme.md | 3 ++- specification/domainservices/resource-manager/readme.md | 3 ++- specification/edgegateway/resource-manager/readme.md | 1 + specification/engagementfabric/resource-manager/readme.md | 5 +++-- specification/eventgrid/resource-manager/readme.md | 3 ++- specification/eventhub/resource-manager/readme.md | 3 ++- specification/frontdoor/resource-manager/readme.md | 1 + specification/hdinsight/resource-manager/readme.md | 1 + specification/hybriddatamanager/resource-manager/readme.md | 1 + specification/intune/resource-manager/readme.md | 2 +- specification/iotcentral/resource-manager/readme.md | 1 + specification/iothub/resource-manager/readme.md | 1 + specification/iotspaces/resource-manager/readme.md | 5 +++-- specification/keyvault/resource-manager/readme.csharp.md | 2 +- specification/keyvault/resource-manager/readme.md | 3 ++- specification/labservices/resource-manager/readme.md | 1 + specification/logic/resource-manager/readme.md | 1 + specification/machinelearning/resource-manager/readme.md | 1 + .../machinelearningcompute/resource-manager/readme.md | 1 + .../resource-manager/readme.md | 3 ++- .../machinelearningservices/resource-manager/readme.md | 3 ++- specification/managedservices/resource-manager/readme.md | 1 + specification/managementgroups/resource-manager/readme.md | 1 + specification/managementpartner/resource-manager/readme.md | 3 ++- specification/maps/resource-manager/readme.md | 1 + specification/mariadb/resource-manager/readme.md | 3 ++- specification/marketplaceordering/resource-manager/readme.md | 1 + specification/mediaservices/resource-manager/readme.md | 1 + specification/mixedreality/resource-manager/readme.md | 1 + specification/monitor/resource-manager/readme.csharp.md | 2 +- specification/monitor/resource-manager/readme.md | 1 + specification/msi/resource-manager/readme.md | 3 ++- specification/mysql/resource-manager/readme.md | 3 ++- specification/netapp/resource-manager/readme.csharp.md | 2 +- specification/network/resource-manager/readme.csharp.md | 2 +- specification/network/resource-manager/readme.md | 3 ++- specification/notificationhubs/resource-manager/readme.md | 1 + specification/operationalinsights/resource-manager/readme.md | 1 + .../operationsmanagement/resource-manager/readme.md | 3 ++- specification/peering/resource-manager/readme.csharp.md | 2 +- specification/policyinsights/resource-manager/readme.md | 1 + specification/postgresql/resource-manager/readme.md | 3 ++- specification/powerbidedicated/resource-manager/readme.md | 1 + specification/powerbiembedded/resource-manager/readme.md | 3 ++- specification/privatedns/resource-manager/readme.md | 1 + specification/recoveryservices/resource-manager/readme.md | 1 + .../recoveryservicesbackup/resource-manager/readme.md | 5 +++-- .../recoveryservicessiterecovery/resource-manager/readme.md | 5 +++-- specification/redis/resource-manager/readme.md | 3 ++- specification/relay/resource-manager/readme.md | 1 + specification/reservations/resource-manager/readme.md | 1 + specification/resourcegraph/resource-manager/readme.md | 1 + specification/resources/resource-manager/readme.csharp.md | 2 +- specification/resources/resource-manager/readme.md | 1 + specification/scheduler/resource-manager/readme.md | 1 + specification/search/resource-manager/readme.md | 1 + specification/security/resource-manager/readme.csharp.md | 2 +- specification/security/resource-manager/readme.md | 1 + specification/securityinsights/resource-manager/readme.md | 5 +++-- specification/servicebus/resource-manager/readme.md | 3 ++- specification/servicefabric/resource-manager/readme.md | 3 ++- specification/servicefabricmesh/resource-manager/readme.md | 3 ++- specification/signalr/resource-manager/readme.md | 1 + specification/softwareplan/resource-manager/readme.md | 1 + specification/sql/resource-manager/readme.md | 3 ++- specification/sqlvirtualmachine/resource-manager/readme.md | 3 ++- .../storSimple1200Series/resource-manager/readme.md | 3 ++- specification/storage/resource-manager/readme.md | 1 + specification/storagesync/resource-manager/readme.md | 1 + .../storsimple8000series/resource-manager/readme.md | 1 + specification/streamanalytics/resource-manager/readme.md | 1 + specification/subscription/resource-manager/readme.csharp.md | 2 +- specification/subscription/resource-manager/readme.md | 1 + specification/trafficmanager/resource-manager/readme.md | 1 + .../vmwarecloudsimple/resource-manager/readme.csharp.md | 2 +- specification/web/resource-manager/readme.csharp.md | 2 +- specification/web/resource-manager/readme.md | 1 + specification/windowsiot/resource-manager/readme.md | 3 ++- specification/workloadmonitor/resource-manager/readme.md | 5 +++-- 118 files changed, 164 insertions(+), 62 deletions(-) diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md index e2c979a5e36d..36afefc4f941 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` @@ -86,6 +87,6 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.EnterpriseKnowledgeGraphService - output-folder: $(csharp-sdks-folder)/EnterpriseKnowledgeGraphService/Microsoft.Azure.Management.EnterpriseKnowledgeGraphService/Generated + output-folder: $(csharp-sdks-folder)/enterpriseknowledgegraphservice/Microsoft.Azure.Management.EnterpriseKnowledgeGraphService/src/Generated clear-output-folder: true ``` diff --git a/specification/addons/resource-manager/readme.md b/specification/addons/resource-manager/readme.md index 0cd20a268d8e..8ced36f69b06 100644 --- a/specification/addons/resource-manager/readme.md +++ b/specification/addons/resource-manager/readme.md @@ -62,7 +62,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Addons - output-folder: $(csharp-sdks-folder)/Addons/Management.Addons/Generated + output-folder: $(csharp-sdks-folder)/addons/Microsoft.Azure.Management.Addons/src/Generated clear-output-folder: true ``` diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index ea43cd0fe8f1..0e823eaad8d8 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 412218bd7117..0a2afe978f36 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -112,6 +112,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go @@ -127,7 +128,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AlertsManagement - output-folder: $(csharp-sdks-folder)/AlertsManagement/Management.AlertsManagement/Generated + output-folder: $(csharp-sdks-folder)/alertsmanagement/Microsoft.Azure.Management.AlertsManagement/src/Generated clear-output-folder: true ``` @@ -166,4 +167,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 0b702cbe9a97..e1949f969196 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -77,6 +77,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index f40d3398aa17..0047f96047f6 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -250,6 +250,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -285,4 +286,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/appconfiguration/resource-manager/readme.csharp.md b/specification/appconfiguration/resource-manager/readme.csharp.md index 36356e9f631e..f20f51ff5c4b 100644 --- a/specification/appconfiguration/resource-manager/readme.csharp.md +++ b/specification/appconfiguration/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AppConfiguration payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/AppConfiguration/Management.AppConfiguration/Generated + output-folder: $(csharp-sdks-folder)/appconfiguration/Microsoft.Azure.Management.AppConfiguration/src/Generated clear-output-folder: true ``` diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 793014b9accb..dcda46429f03 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -296,6 +296,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -363,4 +364,4 @@ These settings apply only when `--tag=schema-2018-06-17-preview` is specified on ``` yaml $(tag) == 'schema-2018-06-17-preview' input-file: - Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json -``` \ No newline at end of file +``` diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index 9106c01e9b5b..0a92e47c547e 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -54,7 +54,7 @@ input-file: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Authorization -output-folder: $(csharp-sdks-folder)/Authorization/Management.Authorization/Generated +output-folder: $(csharp-sdks-folder)/authorization/Microsoft.Azure.Management.Authorization/src/Generated ``` ## Batch settings diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 63d1b36a237a..31e2238412be 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -177,6 +177,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization --default-api-version=2018-09-01-preview diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index 0b1d4a04781a..a4eafb011c0f 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -193,6 +193,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/azure-kusto/resource-manager/readme.md b/specification/azure-kusto/resource-manager/readme.md index cbae1bf37ac6..eb9ab7fd22b0 100644 --- a/specification/azure-kusto/resource-manager/readme.md +++ b/specification/azure-kusto/resource-manager/readme.md @@ -109,6 +109,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-java diff --git a/specification/azureactivedirectory/resource-manager/readme.md b/specification/azureactivedirectory/resource-manager/readme.md index dd3a42717998..dfa8a2c29e24 100644 --- a/specification/azureactivedirectory/resource-manager/readme.md +++ b/specification/azureactivedirectory/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md index 60d2ed7bcc4a..b5f922be3002 100644 --- a/specification/azurestack/resource-manager/readme.md +++ b/specification/azurestack/resource-manager/readme.md @@ -89,7 +89,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AzureStack payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/AzureStack/Management.AzureStack/Generated + output-folder: $(csharp-sdks-folder)/azurestack/Microsoft.Azure.Management.AzureStack/src/Generated clear-output-folder: true ``` diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 9d070b8f7ec5..4ca78e4b4ce9 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -140,6 +140,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -162,7 +163,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Batch payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/Batch/Management/Management.Batch/Generated + output-folder: $(csharp-sdks-folder)/batch/Microsoft.Azure.Management.Batch/src/Generated clear-output-folder: true ``` diff --git a/specification/batchai/resource-manager/readme.md b/specification/batchai/resource-manager/readme.md index 15d120a5b5b0..dc79d58e557c 100644 --- a/specification/batchai/resource-manager/readme.md +++ b/specification/batchai/resource-manager/readme.md @@ -66,6 +66,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 06b504538849..d99f04b31727 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -76,6 +76,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/blockchain/resource-manager/readme.csharp.md b/specification/blockchain/resource-manager/readme.csharp.md index d655d961e23d..81346a910cf1 100644 --- a/specification/blockchain/resource-manager/readme.csharp.md +++ b/specification/blockchain/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Blockchain payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Blockchain/Management.Blockchain/Generated + output-folder: $(csharp-sdks-folder)/blockchain/Microsoft.Azure.Management.Blockchain/src/Generated clear-output-folder: true ``` diff --git a/specification/blueprint/resource-manager/readme.md b/specification/blueprint/resource-manager/readme.md index 264c8ebcc2a5..f5af0ea2a11e 100644 --- a/specification/blueprint/resource-manager/readme.md +++ b/specification/blueprint/resource-manager/readme.md @@ -59,6 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-python diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index a0dfeda29e25..b06869c5b2de 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -82,6 +82,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index 5ab5aa5d012c..d0d84abae1fe 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index ce215def5c3d..78c23405bca1 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -564,6 +564,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-compute diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index 4c7c4d7b0727..c25028dcc190 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -183,6 +183,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-java diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index 69dc6d1a78a0..796e7116edeb 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -123,6 +123,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -255,4 +256,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_08_01_preview regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 28da1ec67548..d388a30a9943 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -155,6 +155,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index 8865981a12d7..9dc995a1b025 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -156,6 +156,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-node diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md index 071d85f2c435..4e1b51e19a1b 100644 --- a/specification/customer-insights/resource-manager/readme.md +++ b/specification/customer-insights/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/customproviders/resource-manager/readme.md b/specification/customproviders/resource-manager/readme.md index 1c4039307b08..8203547aa79b 100644 --- a/specification/customproviders/resource-manager/readme.md +++ b/specification/customproviders/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md index 3b2641d9d795..fe93d4935513 100644 --- a/specification/databox/resource-manager/readme.md +++ b/specification/databox/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md index 1d1e58a97db7..278f01a9585c 100644 --- a/specification/datacatalog/resource-manager/readme.md +++ b/specification/datacatalog/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -65,7 +66,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DataCatalog - output-folder: $(csharp-sdks-folder)/DataCatalog/Management.DataCatalog/Generated + output-folder: $(csharp-sdks-folder)/datacatalog/Microsoft.Azure.Management.DataCatalog/src/Generated clear-output-folder: true ``` diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 61b40d9d7b12..608deaddfe32 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -59,6 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md index 06ba974f042e..49400af0878d 100644 --- a/specification/datalake-analytics/resource-manager/readme.md +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md index 37fc3f33809f..243930a39062 100644 --- a/specification/datalake-store/resource-manager/readme.md +++ b/specification/datalake-store/resource-manager/readme.md @@ -75,6 +75,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index e6fdfceacd7c..c72315228da7 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -186,6 +186,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -213,4 +214,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md index fd2752cdeb78..846afd273d4b 100644 --- a/specification/datashare/resource-manager/readme.md +++ b/specification/datashare/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` @@ -65,7 +66,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DataShare - output-folder: $(csharp-sdks-folder)/DataShare/Management.DataShare/Generated + output-folder: $(csharp-sdks-folder)/datashare/Microsoft.Azure.Management.DataShare/src/Generated clear-output-folder: true ``` diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md index f6a785bb254e..932c53f69c1a 100644 --- a/specification/deploymentmanager/resource-manager/readme.md +++ b/specification/deploymentmanager/resource-manager/readme.md @@ -75,6 +75,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md index 34a7848ff58a..0df32ffad063 100644 --- a/specification/deviceprovisioningservices/resource-manager/readme.md +++ b/specification/deviceprovisioningservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md index 01c7c41be5f2..83643ce1f5ee 100644 --- a/specification/devops/resource-manager/readme.md +++ b/specification/devops/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 6192fbdd683f..d613b8664205 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-java - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -108,4 +109,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_04_01 regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index a0e44fa1e35d..dcc280db7dc1 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -127,4 +128,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index 0a169d44c0c7..6816d2feb3b2 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -74,7 +75,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DomainServices payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/DomainServices/Management.DomainServices/Generated + output-folder: $(csharp-sdks-folder)/domainservices/Microsoft.Azure.Management.DomainServices/src/Generated clear-output-folder: true ``` diff --git a/specification/edgegateway/resource-manager/readme.md b/specification/edgegateway/resource-manager/readme.md index abdb058d5992..f0cbf2fb4c77 100644 --- a/specification/edgegateway/resource-manager/readme.md +++ b/specification/edgegateway/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-go diff --git a/specification/engagementfabric/resource-manager/readme.md b/specification/engagementfabric/resource-manager/readme.md index 2d491db5a1ce..caf920a7394e 100644 --- a/specification/engagementfabric/resource-manager/readme.md +++ b/specification/engagementfabric/resource-manager/readme.md @@ -51,6 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -71,7 +72,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.EngagementFabric - output-folder: $(csharp-sdks-folder)/EngagementFabric/Management.EngagementFabric/Generated + output-folder: $(csharp-sdks-folder)/engagementfabric/Microsoft.Azure.Management.EngagementFabric/src/Generated clear-output-folder: true ``` @@ -121,4 +122,4 @@ namespace: com.microsoft.azure.management.engagementfabric license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-engagementfabric -``` \ No newline at end of file +``` diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 89ea7bdd6ad5..91e40e211343 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -137,6 +137,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -168,4 +169,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 0f8148207e85..ac5e6ff27dc2 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -81,6 +81,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub @@ -118,4 +119,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md index ce393c177fe7..ba5bf1fba548 100644 --- a/specification/frontdoor/resource-manager/readme.md +++ b/specification/frontdoor/resource-manager/readme.md @@ -90,6 +90,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 20bada85d754..a34b7b874051 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -125,6 +125,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-python diff --git a/specification/hybriddatamanager/resource-manager/readme.md b/specification/hybriddatamanager/resource-manager/readme.md index 8bcac4d0c36a..cf58658de935 100644 --- a/specification/hybriddatamanager/resource-manager/readme.md +++ b/specification/hybriddatamanager/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-js diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md index 3d972ff77a83..f865ad149047 100644 --- a/specification/intune/resource-manager/readme.md +++ b/specification/intune/resource-manager/readme.md @@ -61,7 +61,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Intune - output-folder: $(csharp-sdks-folder)/Intune/Intune/Generated + output-folder: $(csharp-sdks-folder)/intune/Microsoft.Azure.Management.Intune/src/Generated clear-output-folder: true ``` diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md index 925c4f3cf1f7..f7fbbd0d8289 100644 --- a/specification/iotcentral/resource-manager/readme.md +++ b/specification/iotcentral/resource-manager/readme.md @@ -53,6 +53,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 71942bac7156..daab06594c8c 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -103,6 +103,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md index bbb54cb3b16a..46bf508e23c2 100644 --- a/specification/iotspaces/resource-manager/readme.md +++ b/specification/iotspaces/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -85,10 +86,10 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.IoTSpaces payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/IoTSpaces/Management.IoTSpaces/Generated + output-folder: $(csharp-sdks-folder)/iotspaces/Microsoft.Azure.Management.IoTSpaces/src/Generated clear-output-folder: true ``` ## Go -See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/keyvault/resource-manager/readme.csharp.md b/specification/keyvault/resource-manager/readme.csharp.md index f39bdb2b9c46..2936d8d96bf4 100644 --- a/specification/keyvault/resource-manager/readme.csharp.md +++ b/specification/keyvault/resource-manager/readme.csharp.md @@ -14,7 +14,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.KeyVault -output-folder: $(csharp-sdks-folder)/KeyVault/Management/Management.KeyVault/Generated +output-folder: $(csharp-sdks-folder)/keyvault/Microsoft.Azure.Management.KeyVault/src/Generated ``` ## Batch settings diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index 4084492bcbfc..e3538d332e81 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -86,6 +86,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-keyvault @@ -104,4 +105,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/labservices/resource-manager/readme.md b/specification/labservices/resource-manager/readme.md index a388ea6faa79..981754a0dc48 100644 --- a/specification/labservices/resource-manager/readme.md +++ b/specification/labservices/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 397c481de2f0..72f3ebfc4c60 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -116,6 +116,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 1efefd526941..c8760506a090 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -98,6 +98,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md index 156ff915d237..fc91540b0338 100644 --- a/specification/machinelearningcompute/resource-manager/readme.md +++ b/specification/machinelearningcompute/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md index f3c9d80b3aef..ab615dd26c23 100644 --- a/specification/machinelearningexperimentation/resource-manager/readme.md +++ b/specification/machinelearningexperimentation/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -66,7 +67,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MachineLearningExperimentation - output-folder: $(csharp-sdks-folder)/MachineLearningExperimentation/Management.MachineLearningExperimentation/Generated + output-folder: $(csharp-sdks-folder)/machinelearningexperimentation/Microsoft.Azure.Management.MachineLearningExperimentation/src/Generated clear-output-folder: true ``` diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 9f255bf53564..ce901d0e8873 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -82,7 +83,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MachineLearningServices - output-folder: $(csharp-sdks-folder)/MachineLearningServices/Management.MachineLearningServices/Generated + output-folder: $(csharp-sdks-folder)/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/src/Generated clear-output-folder: true ``` diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md index 75fb7c43e243..0d0b64752d59 100644 --- a/specification/managedservices/resource-manager/readme.md +++ b/specification/managedservices/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md index 122d1afcb49a..7fecfe136bc8 100644 --- a/specification/managementgroups/resource-manager/readme.md +++ b/specification/managementgroups/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md index 7b3a27a73bc0..8e8fb4a344e2 100644 --- a/specification/managementpartner/resource-manager/readme.md +++ b/specification/managementpartner/resource-manager/readme.md @@ -71,6 +71,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -93,4 +94,4 @@ csharp: ## Go -See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md index 07a15d4cb993..9bd62b2d0688 100644 --- a/specification/maps/resource-manager/readme.md +++ b/specification/maps/resource-manager/readme.md @@ -57,6 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md index 3590e156b45d..331573abba89 100644 --- a/specification/mariadb/resource-manager/readme.md +++ b/specification/mariadb/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -90,7 +91,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MariaDB - output-folder: $(csharp-sdks-folder)/MariaDB/Management.MariaDB/Generated + output-folder: $(csharp-sdks-folder)/mariadb/Microsoft.Azure.Management.MariaDB/src/Generated clear-output-folder: true ``` diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index e2150d8261b1..b6185418880c 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index ce319faa511c..16fc728d30b5 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -110,6 +110,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md index a49f2e708dd3..ffdcae101589 100644 --- a/specification/mixedreality/resource-manager/readme.md +++ b/specification/mixedreality/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-go diff --git a/specification/monitor/resource-manager/readme.csharp.md b/specification/monitor/resource-manager/readme.csharp.md index 7a721415e69f..946deb424832 100644 --- a/specification/monitor/resource-manager/readme.csharp.md +++ b/specification/monitor/resource-manager/readme.csharp.md @@ -18,7 +18,7 @@ csharp: payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Monitor - output-folder: $(csharp-sdks-folder)/Monitor/Management.Monitor/Generated + output-folder: $(csharp-sdks-folder)/monitor/Microsoft.Azure.Management.Monitor/src/Generated clear-output-folder: true ``` diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 9be937e9e92f..6a78591e1104 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -460,6 +460,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-monitor diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md index 6322b69cf81c..a34862f000f3 100644 --- a/specification/msi/resource-manager/readme.md +++ b/specification/msi/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -75,7 +76,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.ManagedServiceIdentity - output-folder: $(csharp-sdks-folder)/ManagedServiceIdentity/Management.ManagedServiceIdentity/Generated + output-folder: $(csharp-sdks-folder)/managedserviceidentity/Microsoft.Azure.Management.ManagedServiceIdentity/src/Generated clear-output-folder: true ``` diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index c80e920e00fb..e1213fdf88e4 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -71,6 +71,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -89,7 +90,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MySQL - output-folder: $(csharp-sdks-folder)/MySQL/Management.MySQL/Generated + output-folder: $(csharp-sdks-folder)/mysql/Microsoft.Azure.Management.MySQL/src/Generated clear-output-folder: true ``` diff --git a/specification/netapp/resource-manager/readme.csharp.md b/specification/netapp/resource-manager/readme.csharp.md index 50a0e20bf93a..ab4a6b6ee13a 100644 --- a/specification/netapp/resource-manager/readme.csharp.md +++ b/specification/netapp/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.NetApp - output-folder: $(csharp-sdks-folder)/NetApp/Management.NetApp/Generated + output-folder: $(csharp-sdks-folder)/netapp/Microsoft.Azure.Management.NetApp/src/Generated clear-output-folder: true ``` diff --git a/specification/network/resource-manager/readme.csharp.md b/specification/network/resource-manager/readme.csharp.md index 68c4e41fa1f5..7add46771d4c 100644 --- a/specification/network/resource-manager/readme.csharp.md +++ b/specification/network/resource-manager/readme.csharp.md @@ -19,7 +19,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Network -output-folder: $(csharp-sdks-folder)/Network/Management.Network/Generated +output-folder: $(csharp-sdks-folder)/network/Microsoft.Azure.Management.Network/src/Generated ``` ## MultiApi settings diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 406288ee39d1..b3e8985bf2cd 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -1126,6 +1126,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" @@ -1168,4 +1169,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md index db04a2de2622..7caf8ec72e82 100644 --- a/specification/notificationhubs/resource-manager/readme.md +++ b/specification/notificationhubs/resource-manager/readme.md @@ -84,6 +84,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 160d3222ce87..7b2b5e8d19e1 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js diff --git a/specification/operationsmanagement/resource-manager/readme.md b/specification/operationsmanagement/resource-manager/readme.md index a37250ab8fba..b31e56866c60 100644 --- a/specification/operationsmanagement/resource-manager/readme.md +++ b/specification/operationsmanagement/resource-manager/readme.md @@ -53,6 +53,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -71,7 +72,7 @@ csharp: namespace: Microsoft.Azure.Management.OperationsManagement payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION - output-folder: $(csharp-sdks-folder)/OperationsManagement/Management.OperationsManagement/Generated + output-folder: $(csharp-sdks-folder)/operationsmanagement/Microsoft.Azure.Management.OperationsManagement/src/Generated clear-output-folder: true ``` diff --git a/specification/peering/resource-manager/readme.csharp.md b/specification/peering/resource-manager/readme.csharp.md index 224a3d49ed46..ebf7488d5000 100644 --- a/specification/peering/resource-manager/readme.csharp.md +++ b/specification/peering/resource-manager/readme.csharp.md @@ -10,6 +10,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Peering payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Peering/Management.Peering/Generated + output-folder: $(csharp-sdks-folder)/peering/Microsoft.Azure.Management.Peering/src/Generated clear-output-folder: true ``` diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 7aac5087fc1f..6d8468c203f1 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -125,6 +125,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 2afd448086b8..23abb01bf972 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -62,6 +62,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -117,4 +118,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/powerbidedicated/resource-manager/readme.md b/specification/powerbidedicated/resource-manager/readme.md index c84486b6e7b8..61e4dda44f9e 100644 --- a/specification/powerbidedicated/resource-manager/readme.md +++ b/specification/powerbidedicated/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 2ff6bf10e53a..0dcb8f6fd5ae 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -51,6 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -73,7 +74,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.PowerBIEmbedded payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/PowerBIEmbedded/Management.PowerBIEmbedded/Generated + output-folder: $(csharp-sdks-folder)/powerbiembedded/Microsoft.Azure.Management.PowerBIEmbedded/src/Generated clear-output-folder: true ``` diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md index e4d6f42d6e29..45d56df8ca0f 100644 --- a/specification/privatedns/resource-manager/readme.md +++ b/specification/privatedns/resource-manager/readme.md @@ -47,6 +47,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md index 43493540d3db..510cbf338eeb 100644 --- a/specification/recoveryservices/resource-manager/readme.md +++ b/specification/recoveryservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 5e354243ecd0..49a096a15c5f 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -105,6 +105,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -127,7 +128,7 @@ csharp: payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.RecoveryServices.Backup - output-folder: $(csharp-sdks-folder)/RecoveryServices.Backup/Management.RecoveryServices.Backup/Generated + output-folder: $(csharp-sdks-folder)/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated clear-output-folder: true ``` @@ -137,4 +138,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index 6c91370facf5..275cf3356fc1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -77,6 +77,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -98,7 +99,7 @@ csharp: payload-flattening-threshold: 0 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.RecoveryServices.SiteRecovery - output-folder: $(csharp-sdks-folder)/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated + output-folder: $(csharp-sdks-folder)/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated clear-output-folder: true ``` @@ -108,4 +109,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index 250fb9c857c3..e804147d137c 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -89,6 +89,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -224,4 +225,4 @@ directive: - $.definitions from: redis.json reason: This is false positive, 'linkedServers' is not a tracked resource. -``` \ No newline at end of file +``` diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md index 4c172363e08a..3a1c1961914b 100644 --- a/specification/relay/resource-manager/readme.md +++ b/specification/relay/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 53ae7c66c525..98b03164cf29 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/resourcegraph/resource-manager/readme.md b/specification/resourcegraph/resource-manager/readme.md index 5c6145a13c9f..64160190ba23 100644 --- a/specification/resourcegraph/resource-manager/readme.md +++ b/specification/resourcegraph/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index bf4d6d5d5bdd..fa67a5f969f3 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -14,7 +14,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.ResourceManager -output-folder: $(csharp-sdks-folder)/Resource/Management.ResourceManager/Generated +output-folder: $(csharp-sdks-folder)/resources/Microsoft.Azure.Management.ResourceManager/src/Generated batch: - package-features: true diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 73ad41dbf524..7479d3bbb1d4 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -432,6 +432,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-resource#features diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md index 335dcb4e91c8..7257b3eb08b1 100644 --- a/specification/scheduler/resource-manager/readme.md +++ b/specification/scheduler/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index 2b422a1a9f22..e6c083433705 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -60,6 +60,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/security/resource-manager/readme.csharp.md b/specification/security/resource-manager/readme.csharp.md index b02e99f65eb3..aa0c8faf23b7 100644 --- a/specification/security/resource-manager/readme.csharp.md +++ b/specification/security/resource-manager/readme.csharp.md @@ -15,7 +15,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(profile) namespace: Microsoft.Azure.Management.Security - output-folder: $(csharp-sdks-folder)/SecurityCenter/Management.SecurityCenter/Generated + output-folder: $(csharp-sdks-folder)/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated ``` ## Batch settings diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index d489009096ea..6ce5c213e626 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -273,6 +273,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js diff --git a/specification/securityinsights/resource-manager/readme.md b/specification/securityinsights/resource-manager/readme.md index 20aa7f9264db..442d99a34300 100644 --- a/specification/securityinsights/resource-manager/readme.md +++ b/specification/securityinsights/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -66,7 +67,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.SecurityInsights payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/SecurityInsights/Management.SecurityInsights/Generated + output-folder: $(csharp-sdks-folder)/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated clear-output-folder: true ``` @@ -84,4 +85,4 @@ See configuration in [readme.nodejs.md](./readme.nodejs.md) ## TypeScript -See configuration in [readme.typescript.md](./readme.typescript.md) \ No newline at end of file +See configuration in [readme.typescript.md](./readme.typescript.md) diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 4db3698f8985..2ce4ab5d85f3 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -132,4 +133,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 1fecb39312a0..8acbbbb5106c 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -117,6 +117,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -149,4 +150,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/servicefabricmesh/resource-manager/readme.md b/specification/servicefabricmesh/resource-manager/readme.md index c217dd611e54..9b8b2d3e750f 100644 --- a/specification/servicefabricmesh/resource-manager/readme.md +++ b/specification/servicefabricmesh/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -88,7 +89,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.ServiceFabricMesh payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/ServiceFabric/Management.ServiceFabricMesh/Generated + output-folder: $(csharp-sdks-folder)/servicefabric/Microsoft.Azure.Management.ServiceFabricMesh/src/Generated clear-output-folder: true ``` diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index 87ddb4d95a63..e05086fa9f8c 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-node diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md index a85cdfbfae1f..2ec9ea8412fe 100644 --- a/specification/softwareplan/resource-manager/readme.md +++ b/specification/softwareplan/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index d59317fd8010..b668c077a94d 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -645,6 +645,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -665,7 +666,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Sql - output-folder: $(csharp-sdks-folder)/SqlManagement/Management.Sql/Generated + output-folder: $(csharp-sdks-folder)/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated clear-output-folder: true ``` diff --git a/specification/sqlvirtualmachine/resource-manager/readme.md b/specification/sqlvirtualmachine/resource-manager/readme.md index 4caccdf6fb28..74abd3fa936b 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.md @@ -52,6 +52,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-java @@ -68,7 +69,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.SqlVirtualMachine - output-folder: $(csharp-sdks-folder)/SqlVirtualMachine/Management.SqlVirtualMachine/Generated + output-folder: $(csharp-sdks-folder)/sqlvirtualmachine/Microsoft.Azure.Management.SqlVirtualMachine/src/Generated clear-output-folder: true ``` diff --git a/specification/storSimple1200Series/resource-manager/readme.md b/specification/storSimple1200Series/resource-manager/readme.md index 5e3fe58bcf18..352f5a559c80 100644 --- a/specification/storSimple1200Series/resource-manager/readme.md +++ b/specification/storSimple1200Series/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js @@ -73,7 +74,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.StorSimple1200Series - output-folder: $(csharp-sdks-folder)/StorSimple1200Series/Management.StorSimple1200Series/Generated + output-folder: $(csharp-sdks-folder)/storsimple1200series/Microsoft.Azure.Management.StorSimple1200Series/src/Generated clear-output-folder: true ``` diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index 124f081ea5d6..2bb5964a084f 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -236,6 +236,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index fff8890c50c1..b912ab1df335 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -94,6 +94,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md index 3d6b20ed571f..bbad1116a041 100644 --- a/specification/storsimple8000series/resource-manager/readme.md +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md index 67a5778706c3..00085529f813 100644 --- a/specification/streamanalytics/resource-manager/readme.md +++ b/specification/streamanalytics/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js diff --git a/specification/subscription/resource-manager/readme.csharp.md b/specification/subscription/resource-manager/readme.csharp.md index 05fbc35eb98d..f54aada53323 100644 --- a/specification/subscription/resource-manager/readme.csharp.md +++ b/specification/subscription/resource-manager/readme.csharp.md @@ -19,7 +19,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(profile) namespace: Microsoft.Azure.Management.Subscription -output-folder: $(csharp-sdks-folder)/Subscription/Management.Subscription/Generated +output-folder: $(csharp-sdks-folder)/subscription/Microsoft.Azure.Management.Subscription/src/Generated ``` ## Batch settings diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index 91fb2a5a4ea8..753067fd57b8 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -92,6 +92,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-node diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index 52a530ce8ecd..cd237d8926b4 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -172,6 +172,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go diff --git a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md index d06cf426d2d5..e7e5f798bf98 100644 --- a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md +++ b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md @@ -10,5 +10,5 @@ csharp: payload-flattening-threshold: 2 clear-output-folder: true namespace: Microsoft.Azure.Management.VMwareCloudSimple - output-folder: $(csharp-sdks-folder)/VMwareCloudSimple/Management.VMwareCloudSimple/Generated + output-folder: $(csharp-sdks-folder)/vmwarecloudsimple/Microsoft.Azure.Management.VMwareCloudSimple/src/Generated ``` diff --git a/specification/web/resource-manager/readme.csharp.md b/specification/web/resource-manager/readme.csharp.md index bd67530b7beb..95ec5d345fc5 100644 --- a/specification/web/resource-manager/readme.csharp.md +++ b/specification/web/resource-manager/readme.csharp.md @@ -17,7 +17,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.WebSites -output-folder: $(csharp-sdks-folder)/WebSites/Management.WebSites/Generated +output-folder: $(csharp-sdks-folder)/websites/Microsoft.Azure.Management.WebSites/src/Generated ``` ## Batch settings diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 98d98688451a..7dcfa534be8e 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -339,6 +339,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/windowsiot/resource-manager/readme.md b/specification/windowsiot/resource-manager/readme.md index 3862d9dc07ad..523c30ce6dad 100644 --- a/specification/windowsiot/resource-manager/readme.md +++ b/specification/windowsiot/resource-manager/readme.md @@ -57,6 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -78,7 +79,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.WindowsIoT payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/WindowsIoT/Management.WindowsIoT/Generated + output-folder: $(csharp-sdks-folder)/windowsiot/Microsoft.Azure.Management.WindowsIoT/src/Generated clear-output-folder: true ``` diff --git a/specification/workloadmonitor/resource-manager/readme.md b/specification/workloadmonitor/resource-manager/readme.md index 3239c1ea90c7..2dd189c027d4 100644 --- a/specification/workloadmonitor/resource-manager/readme.md +++ b/specification/workloadmonitor/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -71,7 +72,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.WorkloadMonitor - output-folder: $(csharp-sdks-folder)/WorkloadMonitor/Management.WorkloadMonitor/Generated + output-folder: $(csharp-sdks-folder)/workloadmonitor/Microsoft.Azure.Management.WorkloadMonitor/src/Generated clear-output-folder: true ``` @@ -163,4 +164,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/workloadmonitor/resource-manager/v2018_08_31_preview regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` From 3a5c49a7629e81349876c9dbe33ea729dd907608 Mon Sep 17 00:00:00 2001 From: nirwinter <51366687+nirwinter@users.noreply.github.com> Date: Mon, 5 Aug 2019 16:46:39 +0300 Subject: [PATCH 455/495] Adding more documentation to ASC Pricing API (#6691) * Improving Security Center pricing API documentation * More pricing documentation changes --- .../Microsoft.Security/stable/2018-06-01/pricings.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json index 90fde4a64958..426dfb6bc744 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json @@ -44,7 +44,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Lists Security Center pricing configurations in the subscription.", "operationId": "Pricings_List", "parameters": [ { @@ -80,7 +80,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Gets a provided Security Center pricing configuration in the subscription.", "operationId": "Pricings_Get", "parameters": [ { @@ -117,7 +117,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Updates a provided Security Center pricing configuration in the subscription.", "operationId": "Pricings_Update", "parameters": [ { @@ -152,7 +152,7 @@ }, "definitions": { "PricingList": { - "description": "List of pricing configurations response", + "description": "List of pricing configurations response.", "required": [ "value" ], @@ -168,7 +168,7 @@ }, "Pricing": { "type": "object", - "description": "Pricing tier will be applied for the scope based on the resource ID", + "description": "Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.", "properties": { "properties": { "x-ms-client-flatten": true, From 651efd18c335ef17b2a09b4109bcc1c8064dfef4 Mon Sep 17 00:00:00 2001 From: jjbfour Date: Mon, 5 Aug 2019 09:21:45 -0700 Subject: [PATCH 456/495] [Hub Generated] Review request for Microsoft.Portal to add version preview/2018-10-01-preview (#6825) * Adds base for updating Microsoft.Portal from version preview/2015-08-01-preview to version 2018-10-01-preview * Updates readme * Updates API version in new specs and examples * fix the 2018-10-01-preview json spec --- .../examples/createOrUpdateDashboard.json | 152 ++++ .../examples/deleteDashboard.json | 12 + .../examples/getDashboard.json | 59 ++ .../listDashboardsByResourceGroup.json | 109 +++ .../listDashboardsBySubscription.json | 108 +++ .../examples/operationsList.json | 53 ++ .../examples/updateDashboard.json | 65 ++ .../preview/2018-10-01-preview/portal.json | 686 ++++++++++++++++++ .../portal/resource-manager/readme.go.md | 10 + .../portal/resource-manager/readme.md | 11 +- .../portal/resource-manager/readme.ruby.md | 11 + 11 files changed, 1275 insertions(+), 1 deletion(-) create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json new file mode 100644 index 000000000000..2df1a9a604bd --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json new file mode 100644 index 000000000000..2a179869244f --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json new file mode 100644 index 000000000000..b76f427bf373 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json new file mode 100644 index 000000000000..b71fd5abfafa --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json new file mode 100644 index 000000000000..5b1541eb2a0f --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json new file mode 100644 index 000000000000..0fd64475a7e5 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2018-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Portal/dashboards/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Get Dashboard", + "description": "Reads the dashboards for the subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/write", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Set Dashboard", + "description": "Add or modify dashboard to a subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/delete", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Delete Dashboard", + "description": "Removes the dashboard from the subscription." + } + }, + { + "name": "Microsoft.Portal/register/action", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Portal Resource Provider", + "operation": "Registers the Portal Resource Provider", + "description": "Registers the subscription for the portal resource provider and enables shared dashboards." + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json new file mode 100644 index 000000000000..535e0ccc6da9 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json new file mode 100644 index 000000000000..9cdb59dd9cec --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json @@ -0,0 +1,686 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-10-01-preview", + "title": "portal", + "description": "Allows creation and deletion of Azure Shared Dashboards.", + "x-ms-code-generation-settings": { + "name": "portalClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Portal/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List the portal operations": { + "$ref": "examples/operationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "The Microsoft Portal operations API.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}": { + "put": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_CreateOrUpdate", + "x-ms-examples": { + "Create or update a Dashboard": { + "$ref": "examples/createOrUpdateDashboard.json" + } + }, + "description": "Creates or updates a Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The parameters required to create or update a dashboard." + } + ], + "responses": { + "201": { + "description": "Created response definition. Resource has been created", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "200": { + "description": "Resource already exists.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "delete": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Delete", + "x-ms-examples": { + "Delete a Dashboard": { + "$ref": "examples/deleteDashboard.json" + } + }, + "description": "Deletes the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "OK resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Get", + "x-ms-examples": { + "Get a Dashboard": { + "$ref": "examples/getDashboard.json" + } + }, + "description": "Gets the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "patch": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Update", + "x-ms-examples": { + "Update a Dashboard": { + "$ref": "examples/updateDashboard.json" + } + }, + "description": "Updates an existing Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchableDashboard" + }, + "description": "The updatable fields of a Dashboard." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListByResourceGroup", + "x-ms-examples": { + "List all custom resource providers on the resourceGroup": { + "$ref": "examples/listDashboardsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the Dashboards within a resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListBySubscription", + "x-ms-examples": { + "List all custom resource providers on the subscription": { + "$ref": "examples/listDashboardsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the dashboards within a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "DashboardListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The array of custom resource provider manifests." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of dashboards." + }, + "DashboardParts": { + "type": "object", + "description": "A dashboard part.", + "required": [ + "position" + ], + "properties": { + "position": { + "type": "object", + "required": [ + "x", + "y", + "rowSpan", + "colSpan" + ], + "description": "The dashboard's part position.", + "properties": { + "x": { + "type": "number", + "description": "The dashboard's part x coordinate." + }, + "y": { + "type": "number", + "description": "The dashboard's part y coordinate." + }, + "rowSpan": { + "type": "number", + "description": "The dashboard's part row span." + }, + "colSpan": { + "type": "number", + "description": "The dashboard's part column span." + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardLens": { + "type": "object", + "description": "A dashboard lens.", + "required": [ + "order", + "parts" + ], + "properties": { + "order": { + "type": "integer", + "description": "The lens order." + }, + "parts": { + "type": "object", + "description": "The dashboard parts.", + "additionalProperties": { + "$ref": "#/definitions/DashboardParts" + } + }, + "metadata": { + "description": "The dashboard len's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardProperties": { + "type": "object", + "description": "The shared dashboard properties.", + "properties": { + "lenses": { + "type": "object", + "description": "The dashboard lenses.", + "additionalProperties": { + "$ref": "#/definitions/DashboardLens" + } + }, + "metadata": { + "description": "The dashboard metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Dashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "required": [ + "location" + ], + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "PatchableDashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "ResourceProviderOperationList": { + "type": "object", + "description": "Results of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "ResourceProviderOperation": { + "type": "object", + "description": "Supported operations of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane.", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Custom Providers.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DashboardNameParameter": { + "name": "dashboardName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dashboard.", + "minLength": 3, + "maxLength": 64, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/readme.go.md index b39132a5daf4..8f2749c5c9b2 100644 --- a/specification/portal/resource-manager/readme.go.md +++ b/specification/portal/resource-manager/readme.go.md @@ -14,6 +14,7 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2019-01-01-preview + - tag: package-2018-10-01-preview - tag: package-2015-08-01-preview ``` @@ -26,6 +27,15 @@ Please also specify `--go-sdk-folder=`. + +```yaml $(tag) == 'package-2018-10-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-10-01-preview/$(namespace) +``` + ### Tag: package-2015-08-01-preview and go These settings apply only when `--tag=package-2015-08-01-preview --go` is specified on the command line. diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 230afe8ebc07..abc009c76169 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -33,11 +33,20 @@ tag: package-2019-01-01-preview These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2019-01-01-preview' +``` yaml $(tag) == 'package-2019-01-01-preview' input-file: - Microsoft.Portal/preview/2019-01-01-preview/portal.json ``` +### Tag: package-2018-10-01-preview + +These settings apply only when `--tag=package-2018-10-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2018-10-01-preview' +input-file: + - Microsoft.Portal/preview/2018-10-01-preview/portal.json +``` + ### Tag: package-2015-08-01-preview These settings apply only when `--tag=package-2015-08-01-preview` is specified on the command line. diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/readme.ruby.md index 02f8f695eec7..f553af5a1b9d 100644 --- a/specification/portal/resource-manager/readme.ruby.md +++ b/specification/portal/resource-manager/readme.ruby.md @@ -13,6 +13,7 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: - tag: package-2019-01-01-preview + - tag: package-2018-10-01-preview - tag: package-2015-08-01-preview ``` @@ -26,6 +27,16 @@ namespace: Microsoft.Portal output-folder: $(ruby-sdks-folder)/portal ``` +### Tag: package-2018-10-01-preview and ruby + +These settings apply only when `--tag=package-2018-10-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2018-10-01-preview' && $(ruby) +namespace: Microsoft.Portal +output-folder: $(ruby-sdks-folder)/portal +``` + ### Tag: package-2015-08-01-preview and ruby These settings apply only when `--tag=package-2015-08-01-preview --ruby` is specified on the command line. From 5e4bfddc5ff53a215c395ec5337dd95cff969cfa Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 14:18:58 -0400 Subject: [PATCH 457/495] fix: vmwarecloudsimple missing body in examples (#6618) Previously wasn't flagged by oav. It also uncovered other issues --- .../examples/CreateDedicatedCloudNode.json | 38 ++- .../examples/CreateDedicatedCloudService.json | 18 +- .../examples/CreateVirtualMachine.json | 160 ++++----- .../examples/GetDedicatedCloudNode.json | 48 +-- .../examples/GetDedicatedCloudService.json | 22 +- .../examples/GetFailedOperationResult.json | 20 +- .../examples/GetOperationResult.json | 12 +- .../2019-04-01/examples/GetPrivateCloud.json | 276 +++++++-------- .../2019-04-01/examples/GetResourcePool.json | 18 +- .../examples/GetVirtualMachine.json | 130 ++++---- .../examples/GetVirtualMachineTemplate.json | 92 ++--- .../examples/GetVirtualNetwork.json | 18 +- .../examples/ListAvailabilities.json | 40 +-- .../examples/ListDedicatedCloudNodes.json | 96 +++--- .../examples/ListDedicatedCloudServices.json | 48 +-- .../2019-04-01/examples/ListOperations.json | 28 +- .../examples/ListPrivateCloudInLocation.json | 68 ++-- .../examples/ListRGDedicatedCloudNodes.json | 152 ++++----- .../ListRGDedicatedCloudServices.json | 48 +-- .../examples/ListRGVirtualMachines.json | 212 ++++++------ .../examples/ListResourcePools.json | 26 +- .../2019-04-01/examples/ListUsages.json | 46 +-- .../examples/ListVirtualMachineTemplates.json | 100 +++--- .../examples/ListVirtualMachines.json | 314 +++++++++--------- .../examples/ListVirtualNetworks.json | 98 +++--- .../examples/PatchDedicatedCloudNode.json | 36 +- .../examples/PatchDedicatedService.json | 26 +- .../examples/PatchVirtualMachine.json | 104 +++--- 28 files changed, 1176 insertions(+), 1118 deletions(-) diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json index 46f16322e94e..37710b27d251 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json @@ -24,25 +24,27 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "westus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "created": "2019-05-21T13:43:26.441Z", - "placementGroupId": "n1", - "provisioningState": "Accepted", - "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "provisioningState": "Accepted", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json index ec6466d149b3..8fcfe879d2c5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json @@ -14,14 +14,16 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.10.0/28", - "isAccountOnboarded": "notOnBoarded" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json index e0c6ef6f5ca7..ac92ed856391 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json @@ -40,88 +40,92 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Created", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } }, "201": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Created", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json index 91f9d61b2646..ed905212b991 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json @@ -7,30 +7,32 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "eastus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.114Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json index 28c6f4296be8..22d5530f09d5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json @@ -14,16 +14,18 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.10.0/28", - "isAccountOnboarded": "notOnBoarded", - "nodes": 1, - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded", + "nodes": 1, + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json index 53ab4cdf951d..4e026e60386b 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json @@ -8,15 +8,17 @@ }, "responses": { "200": { - "endTime": "2019-05-23T12:11:00.655Z", - "error": { - "code": "InternalError", - "message": "Internal Service error" - }, - "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", - "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", - "startTime": "2019-05-23T12:10:54.012Z", - "status": "Failed" + "body": { + "endTime": "2019-05-23T12:11:00.655Z", + "error": { + "code": "InternalError", + "message": "Internal Service error" + }, + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", + "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "startTime": "2019-05-23T12:10:54.012Z", + "status": "Failed" + } }, "202": {}, "204": {} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json index d5f49aea1a72..b1787f768aab 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json @@ -8,11 +8,13 @@ }, "responses": { "200": { - "endTime": "2019-05-23T12:05:55.660Z", - "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", - "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", - "startTime": "2019-05-23T12:04:52.784Z", - "status": "Succeeded" + "body": { + "endTime": "2019-05-23T12:05:55.660Z", + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "startTime": "2019-05-23T12:04:52.784Z", + "status": "Succeeded" + } }, "202": {}, "204": {} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json index 22c2f7cc19d1..d47be9f2aee6 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json @@ -7,148 +7,150 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "location": "westus2", - "name": "myPrivateCloud", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "clustersNumber": 1, - "createdBy": "john.doe@cloudsimple.com", - "createdOn": "2019-05-22T09:55:36.627Z", - "dnsServers": [ - "100.0.0.8", - "100.0.0.9" - ], - "expires": "n/a", - "nsxType": "Advanced", - "placementGroupId": "n1", - "placementGroupName": "Placement Group 1", - "privateCloudId": "{pc-id}", - "resourcePools": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" - } - ], - "state": "operational", - "totalCpuCores": 28, - "totalNodes": 1, - "totalRam": 256, - "totalStorage": 5.625, - "type": "vSphere", - "vSphereVersion": "6.7u1", - "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", - "vcenterRefid": "100.0.0.6", - "virtualMachineTemplates": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "location": "westus2", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-22T09:55:36.627Z", + "dnsServers": [ + "100.0.0.8", + "100.0.0.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "privateCloudId": "{pc-id}", + "resourcePools": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" - } - ], - "virtualNetworks": [ - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", - "location": "westus2", - "name": "Datacenter/CS-Rescue", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ], + "state": "operational", + "totalCpuCores": 28, + "totalNodes": 1, + "totalRam": 256, + "totalStorage": 5.625, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", + "vcenterRefid": "100.0.0.6", + "virtualMachineTemplates": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ], + "virtualNetworks": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", - "location": "westus2", - "name": "Datacenter/CS-VSAN", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", - "location": "westus2", - "name": "Datacenter/CS-VMotion", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", - "location": "westus2", - "name": "Datacenter/net-01", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - } - ] - }, - "type": "Microsoft.VMwareCloudSimple/privateClouds" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json index 3f65b289ae62..baddf3198b95 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json index ab6f290b2f76..e042542042d6 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json @@ -8,74 +8,76 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "folder": "Datacenter/Workload VMs", - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:d0:e1", - "network": { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "folder": "Datacenter/Workload VMs", + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Succeeded", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", - "location": "westus2", - "name": "Workload", + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "Datacenter/Cluster/Workload" + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" + "status": "running", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" }, - "status": "running", - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-100", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json index e8cb9d861c28..aee3e7433484 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json @@ -8,51 +8,53 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json index 813bab5216f2..9286864a3417 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + "body": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json index cf9f858fcd9c..e2b5232d933c 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json @@ -6,26 +6,28 @@ }, "responses": { "200": { - "value": [ - { - "currentValue": 1, - "limit": 5, - "name": { - "localizedValue": "CS28-Node", - "value": "general" + "body": { + "value": [ + { + "currentValue": 1, + "limit": 5, + "name": { + "localizedValue": "CS28-Node", + "value": "general" + }, + "unit": "Count" }, - "unit": "Count" - }, - { - "currentValue": 0, - "limit": 5, - "name": { - "localizedValue": "CS36-Node", - "value": "large" - }, - "unit": "Count" - } - ] + { + "currentValue": 0, + "limit": 5, + "name": { + "localizedValue": "CS36-Node", + "value": "large" + }, + "unit": "Count" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json index c2c89fd7e519..7d4944e6da67 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json @@ -5,56 +5,58 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", - "location": "westus2", - "name": "node-2", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.134Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", + "location": "westus2", + "name": "node-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", - "location": "westus2", - "name": "node1", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "created": "2019-05-22T11:57:43.891Z", - "placementGroupId": "n1", - "placementGroupName": "Placement Group 1", - "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", + "location": "westus2", + "name": "node1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "created": "2019-05-22T11:57:43.891Z", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json index de5e97b063ce..0f9f6d864253 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json @@ -5,30 +5,32 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", - "location": "eastus", - "name": "service-east", - "properties": { - "gatewaySubnet": "10.101.201.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://eastus-he.azure.cloudsimple.com" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", - "location": "westus", - "name": "service-west", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json index b0377ee9ab23..cfc0abd96a0d 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json @@ -4,19 +4,21 @@ }, "responses": { "200": { - "value": [ - { - "display": { - "description": "Creates a new dedicated cloud node", - "operation": "Create Dedicated Cloud Node", - "provider": "VMware Solution by CloudSimple", - "resource": "Dedicated Cloud Nodes" - }, - "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", - "origin": "user,system" - } - ], - "nextLink": "string" + "body": { + "value": [ + { + "display": { + "description": "Creates a new dedicated cloud node", + "operation": "Create Dedicated Cloud Node", + "provider": "VMware Solution by CloudSimple", + "resource": "Dedicated Cloud Nodes" + }, + "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", + "origin": "user,system" + } + ], + "nextLink": "string" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json index 6aa9ed249884..487187a56767 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json @@ -6,39 +6,41 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", - "location": "eastus", - "name": "myPrivateCloud", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "clustersNumber": 1, - "createdBy": "john.doe@cloudsimple.com", - "createdOn": "2019-05-21T07:32:59.491Z", - "dnsServers": [ - "100.100.100.8", - "100.100.100.9" - ], - "expires": "n/a", - "nsxType": "Advanced", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "private-cloud-id", - "state": "operational", - "totalCpuCores": 84, - "totalNodes": 3, - "totalRam": 768, - "totalStorage": 16.875, - "type": "vSphere", - "vSphereVersion": "6.7u1", - "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", - "vcenterRefid": "100.100.100.6" - }, - "type": "Microsoft.VMwareCloudSimple/privateClouds" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", + "location": "eastus", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-21T07:32:59.491Z", + "dnsServers": [ + "100.100.100.8", + "100.100.100.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private-cloud-id", + "state": "operational", + "totalCpuCores": 84, + "totalNodes": 3, + "totalRam": 768, + "totalStorage": 16.875, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", + "vcenterRefid": "100.100.100.6" + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json index 85c6f171ffed..3868f3dfa726 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", - "location": "eastus", - "name": "node-east-1", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.134Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "private_cloud_id", - "privateCloudName": "private_cloud_name", - "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", + "location": "eastus", + "name": "node-east-1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private_cloud_id", + "privateCloudName": "private_cloud_name", + "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", - "location": "eastus", - "name": "node-east-2", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.114Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "used", - "vmwareClusterName": "Cluster" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "eastus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-08T09:35:47.961Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "myPrivateCloud", - "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", + "location": "eastus", + "name": "node-east-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-08T09:35:47.961Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "myPrivateCloud", + "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json index e372353fa11d..d4b33fd7b731 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json @@ -6,30 +6,32 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", - "location": "eastus", - "name": "service-east", - "properties": { - "gatewaySubnet": "10.101.201.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://eastus-he.azure.cloudsimple.com" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", - "location": "westus", - "name": "service-west", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json index dda1209ab888..f9c9d9100fd0 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json @@ -7,114 +7,116 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", - "location": "westus2", - "name": "virtualMachine-2", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:33:12", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-101", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", - "location": "westus2", - "name": "virtualMachine-3", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:63:f3", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "tags": { + "inUse": "true" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-102", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json index a2437cb10bca..9e94b7719040 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json index f6dc86b4ead7..5390056ac6fb 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json @@ -6,28 +6,30 @@ }, "responses": { "200": { - "value": [ - { - "dedicatedAvailabilityZoneId": "az1", - "dedicatedAvailabilityZoneName": "Availability Zone 1", - "dedicatedPlacementGroupId": "n1", - "dedicatedPlacementGroupName": "Placement Group 1", - "limit": 0, - "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", - "skuId": "general", - "skuName": "CS28-Node" - }, - { - "dedicatedAvailabilityZoneId": "az1", - "dedicatedAvailabilityZoneName": "Availability Zone 1", - "dedicatedPlacementGroupId": "n1", - "dedicatedPlacementGroupName": "Placement Group 1", - "limit": 0, - "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", - "skuId": "large", - "skuName": "CS36-Node" - } - ] + "body": { + "value": [ + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "general", + "skuName": "CS28-Node" + }, + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "large", + "skuName": "CS36-Node" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json index 19357f08d7d7..d45d4d9d3b1a 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json @@ -8,55 +8,57 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json index c1cbf7bc16a3..1d07558ccf66 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json @@ -6,167 +6,169 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", - "location": "westus2", - "name": "virtualMachine-1", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:d0:e1", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", + "location": "westus2", + "name": "virtualMachine-1", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-100", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", - "location": "westus2", - "name": "virtualMachine-2", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:33:12", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "tags": { + "inUse": "true" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-101", - "vmwaretools": "10309" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", - "location": "westus2", - "name": "virtualMachine-3", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:63:f3", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-102", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json index 91e316b2aa52..6681be5fddb5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json @@ -8,58 +8,60 @@ }, "responses": { "200": { - "value": [ - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "body": { + "value": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", - "location": "westus2", - "name": "Datacenter/CS-Rescue", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", - "location": "westus2", - "name": "Datacenter/CS-VSAN", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", - "location": "westus2", - "name": "Datacenter/CS-VMotion", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", - "location": "westus2", - "name": "Datacenter/net-01", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - } - ] + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json index 53d199fdd1ee..e5b7836398b9 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json @@ -13,24 +13,26 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "westus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "created": "2019-05-21T13:43:26.441Z", - "placementGroupId": "n1", - "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" }, - "status": "unused" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json index 03f073c728ba..b2474533eb83 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json @@ -12,18 +12,20 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus2", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus2", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json index 886743192ec3..236e72e7df3b 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json @@ -12,58 +12,60 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Succeeded", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "status": "running", + "vSphereNetworks": null, + "vmId": "vm-106", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "status": "running", - "vSphereNetworks": null, - "vmId": "vm-106", - "vmwaretools": "10309" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } From bcf9254bae47e710a2c1b1096b68e8eb84db1cb4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 5 Aug 2019 14:22:56 -0400 Subject: [PATCH 458/495] fix: hybriddatamanager model validation errors (#6830) Remove empty "body" for RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../examples/DataManagers_Create-PUT-example-41.json | 4 +--- .../examples/DataManagers_Delete-DELETE-example-41.json | 8 ++------ .../examples/DataManagers_Update-PATCH-example-43.json | 4 +--- ...ataStores_CreateOrUpdate_DataSink-PUT-example-162.json | 4 +--- ...aStores_CreateOrUpdate_DataSource-PUT-example-162.json | 4 +--- .../DataStores_Delete_DataSink-DELETE-example-161.json | 8 ++------ .../DataStores_Delete_DataSource-DELETE-example-161.json | 8 ++------ .../JobDefinitions_CreateOrUpdate-PUT-example-83.json | 4 +--- .../examples/JobDefinitions_Delete-DELETE-example-81.json | 8 ++------ .../examples/JobDefinitions_Run-POST-example-132.json | 8 ++------ .../2016-06-01/examples/Jobs_Cancel-POST-example-111.json | 8 ++------ .../2016-06-01/examples/Jobs_Resume-POST-example-121.json | 8 ++------ 12 files changed, 19 insertions(+), 57 deletions(-) diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json index 8dc05f4563c7..99534c8464d7 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json @@ -27,9 +27,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A08%3A57.4101089Z'\"_W/\"datetime'2019-04-10T09%3A08%3A57.5552101Z'\"", diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json index d22a70af04b5..e116f63a7d8a 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json @@ -18,11 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json index c6a9b095d51e..5141af234090 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json @@ -30,9 +30,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A23%3A57.1833483Z'\"_W/\"datetime'2019-04-10T09%3A23%3A57.1993588Z'\"", diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json index 3129b2cde488..b6a1f4751a2e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json @@ -49,9 +49,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json index 37b6b4603ddd..65f1a65f816e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json @@ -43,9 +43,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json index 158bfb2d7ba3..8c0beb156596 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json @@ -19,11 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json index 38c61fe70aec..91705701c543 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json @@ -19,11 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json index 06c7a2ff2820..9eafce4dc31a 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json @@ -49,9 +49,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json index 43c643ba4d77..ee1c04c5b17e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json @@ -20,11 +20,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json index e68991154c56..77b9dad20d74 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json @@ -44,11 +44,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json index 2471607bb155..6053caabbec3 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json @@ -21,11 +21,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json index ccc8532807da..605c47986318 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json @@ -21,11 +21,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } From 3ad56689b4052bc1b21228977d2b87b808b48a9d Mon Sep 17 00:00:00 2001 From: Yuxing Zhou Date: Tue, 6 Aug 2019 08:33:13 +0800 Subject: [PATCH 459/495] mark properties as readonly (#6813) --- .../preview/2019-05-01/Drive.json | 45 ++++++++++++------- .../preview/2019-05-01/Volume.json | 24 ++++++---- 2 files changed, 46 insertions(+), 23 deletions(-) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json index 08cb5519a49d..66248bd6bff5 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json @@ -140,64 +140,79 @@ "properties": { "storageNode": { "description": "Node that the drive is physically connected.", - "type": "string" + "type": "string", + "readOnly": true }, "serialNumber": { "description": "Serial number of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "healthStatus": { "description": "Health status of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "operationalStatus": { "description": "Operational status of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "usage": { "description": "Intended usage of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "physicalLocation": { "description": "Indicate where the hardware is located.", - "type": "string" + "type": "string", + "readOnly": true }, "model": { "description": "Model of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "firmwareVersion": { "description": "The firmware version of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "isIndicationEnabled": { "description": "Indicate whether the drive's identification LEDs are active or not.", - "type": "boolean" + "type": "boolean", + "readOnly": true }, "manufacturer": { "description": "The name of the drive's manufacturer.", - "type": "string" + "type": "string", + "readOnly": true }, "storagePool": { "description": "The storage pool where the drive is located.", - "type": "string" + "type": "string", + "readOnly": true }, "mediaType": { "description": "Media type of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "capacityGB": { "description": "Total capacity in GB of the drive.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "description": { "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "action": { "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true } } }, diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json index 7e7e26561036..5b9034456929 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json @@ -141,36 +141,44 @@ "totalCapacityGB": { "description": "Total capacity in GB of the volume.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "remainingCapacityGB": { "description": "Remaining capacity in GB of the volume.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "healthStatus": { "description": "Health status of the volume.", - "type": "string" + "type": "string", + "readOnly": true }, "operationalStatus": { "description": "Operational status of the volume.", - "type": "string" + "type": "string", + "readOnly": true }, "repairStatus": { "description": "Repair status of the volume. Empty if no repair job running, something like 'Running, 90%' when repairing.", - "type": "string" + "type": "string", + "readOnly": true }, "description": { "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "action": { "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "volumeLabel": { "description": "Volume label.", - "type": "string" + "type": "string", + "readOnly": true } } }, From 9fa3adcd24ae52c035e1712095363bcae4bc515f Mon Sep 17 00:00:00 2001 From: Yaohai Zheng Date: Tue, 6 Aug 2019 09:37:03 +0800 Subject: [PATCH 460/495] SignalR: refine java readme. (#6835) --- .../signalr/resource-manager/readme.java.md | 47 +++++++++++++++++++ .../signalr/resource-manager/readme.md | 46 +----------------- 2 files changed, 48 insertions(+), 45 deletions(-) create mode 100644 specification/signalr/resource-manager/readme.java.md diff --git a/specification/signalr/resource-manager/readme.java.md b/specification/signalr/resource-manager/readme.java.md new file mode 100644 index 000000000000..036c97441cca --- /dev/null +++ b/specification/signalr/resource-manager/readme.java.md @@ -0,0 +1,47 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.signalr +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-signalr +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03-01-preview + - tag: package-2018-10-01 +``` + +### Tag: package-2018-10-01 and java + +These settings apply only when `--tag=package-2018-10-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-10-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.signalr.v2018_10_01 + output-folder: $(azure-libraries-for-java-folder)/signalr/resource-manager/v2018_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03-01-preview and java + +These settings apply only when `--tag=package-2018-03-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.signalr.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/signalr/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index e05086fa9f8c..4acb101bbdfd 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -90,51 +90,7 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.signalr -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-signalr -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-03-01-preview - - tag: package-2018-10-01 -``` - -### Tag: package-2018-10-01 and java - -These settings apply only when `--tag=package-2018-10-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-10-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.signalr.v2018_10_01 - output-folder: $(azure-libraries-for-java-folder)/signalr/resource-manager/v2018_10_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-03-01-preview and java - -These settings apply only when `--tag=package-2018-03-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-03-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.signalr.v2018_03_01_preview - output-folder: $(azure-libraries-for-java-folder)/signalr/resource-manager/v2018_03_01_preview -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) ## C# From f18d99596c4e56563db83e956de05e39bf04c101 Mon Sep 17 00:00:00 2001 From: nitegupt <52762969+nitegupt@users.noreply.github.com> Date: Mon, 5 Aug 2019 18:47:55 -0700 Subject: [PATCH 461/495] Revert "Enable sub/nitegupt (#6591)" (#6845) This reverts commit 23561ae48fbbee21bc94c4329617f76d67292904. --- .../examples/enableSubscription.json | 13 ------ .../2019-03-01-preview/subscriptions.json | 43 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json deleted file mode 100644 index 56fdb0884237..000000000000 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad", - "api-version": "2019-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" - } - } - } -} diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json index b765cce499f0..44af72308790 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json @@ -84,39 +84,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": { - "post": { - "operationId": "Subscriptions_Enable", - "x-ms-examples": { - "enableSubscription": { - "$ref": "./examples/enableSubscription.json" - } - }, - "description": "Enables the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/EnabledSubscriptionId" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } } }, "definitions": { @@ -154,16 +121,6 @@ } } }, - "EnabledSubscriptionId": { - "description": "Enabled Subscription Id", - "properties": { - "value": { - "description": "Enabled Subscription Id", - "type": "string", - "readOnly": true - } - } - }, "SubscriptionName": { "type": "object", "description": "The new name of the subscription.", From 73dcd2992767df14fcd2f66d931f475a81f70049 Mon Sep 17 00:00:00 2001 From: vchske Date: Mon, 5 Aug 2019 18:56:14 -0700 Subject: [PATCH 462/495] Update Tasks.json (#6868) Fixed incorrect discriminator for Oracle to PostgreSQL scenario. --- .../preview/2018-07-15-preview/definitions/Tasks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json index eaa4d7462ec0..739ff3f101bb 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json @@ -660,7 +660,7 @@ ] }, "MigrateOracleAzureDbForPostgreSqlSyncTaskProperties": { - "x-ms-discriminator-value": "Migrate.Oracle.Sql.Sync", + "x-ms-discriminator-value": "Migrate.Oracle.AzureDbForPostgreSql.Sync", "type": "object", "description": "Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations", "properties": { From b6967e4635a9d49b3ad4558d1565abffc1a50991 Mon Sep 17 00:00:00 2001 From: Anirban Sarkar <33848291+asarkar84@users.noreply.github.com> Date: Mon, 5 Aug 2019 18:59:39 -0700 Subject: [PATCH 463/495] Billing RP spec changes for GTM FieldLed-Go-Big (#6661) * Added spec for Recurring charges api Added spec for Recurring charges api * Renamed recurring charges to recurring products Renamed recurring charges to recurring products * Updated the billing frequency type to string Updated the billing frequency type to string * Billing RP spec changes for GTM FieldLed-Go-Big Billing RP spec changes for GTM FieldLed-Go-Big * Rolled back the changes in 2018-11-01-preview version Rolled back the changes in 2018-11-01-preview version * Fixed build errors Fixed build errors * Fixed build error Fixed build error * Fixed build errors * Update billing.json * Updated policy properties Updated policy properties * Incorporated review comments Incorporated review comments * Incorporated review comments Incorporated review comments * Updated autorenew request params Updated autorenew request params * Updated types for payment methods and available balance Updated types for payment methods and available balance * Updated invoice section list examples Updated invoice section list examples * Updated pricesheet download path Updated pricesheet download path * Updated type for Invoice and Policy Updated type for Invoice and Policy * Changing AgreementType->Legacy to MicrosoftOnlineServicesProgram Changing AgreementType->Legacy to MicrosoftOnlineServicesProgram * Added Pricesheet download by BillingProfileName * Fixed few errors * Updated transaction api examples Updated transaction api examples * Updated namespace for agreements Updated namespace for agreements * Incorporated review coments * Incorporated review comments * Incorporated review comments * Incorporated review comments * Fixed build errors Fixed build errors * Fixed build errors Fixed build errors * Updated BillingRoleAssignments actions Updated BillingRoleAssignments actions * Added Transfer apis for partner led Added Transfer apis for partner led * Removing listInvoiceSectionsWithCreateSubscriptionPermission Removing listInvoiceSectionsWithCreateSubscriptionPermission * Removed unused property, billing profile id is not required in the request body --- .../preview/2019-10-01-preview/billing.json | 6456 +++++++++++++++++ .../examples/AcceptTransfer.json | 46 + .../AddRoleAssignmentToBillingAccount.json | 83 + .../AddRoleAssignmentToBillingProfile.json | 32 + .../AddRoleAssignmentToInvoiceSection.json | 33 + .../examples/AddressInvalid.json | 43 + .../examples/AddressValid.json | 28 + .../examples/AgreementByName.json | 34 + .../AgreementsListByBillingAccountName.json | 55 + .../AvailableBalanceByBillingProfile.json | 22 + .../examples/BillingAccount.json | 21 + .../examples/BillingAccountInvoicesList.json | 95 + .../BillingAccountPermissionsList.json | 39 + .../BillingAccountRoleAssignment.json | 24 + .../BillingAccountRoleAssignmentDelete.json | 24 + .../BillingAccountRoleAssignmentList.json | 40 + .../BillingAccountRoleDefinition.json | 47 + .../BillingAccountRoleDefinitionsList.json | 162 + .../examples/BillingAccountWithExpand.json | 124 + .../examples/BillingAccountsList.json | 47 + .../BillingAccountsListWithExpand.json | 253 + ...ntsListWithExpandForEnrollmentDetails.json | 107 + .../examples/BillingProfile.json | 45 + .../BillingProfilePermissionsList.json | 40 + .../BillingProfileRoleAssignment.json | 25 + .../BillingProfileRoleAssignmentDelete.json | 25 + .../BillingProfileRoleAssignmentList.json | 80 + .../BillingProfileRoleDefinition.json | 48 + .../BillingProfileRoleDefinitionsList.json | 83 + .../examples/BillingProfileWithExpand.json | 55 + ...llingProfilesListByBillingAccountName.json | 82 + .../BillingProfilesListWithExpand.json | 102 + .../examples/BillingProperty.json | 29 + .../examples/BillingSubscription.json | 37 + ...lingSubscriptionsListByBillingAccount.json | 86 + ...lingSubscriptionsListByBillingProfile.json | 87 + ...lingSubscriptionsListByInvoiceSection.json | 88 + .../examples/CancelTransfer.json | 27 + .../examples/CreateBillingProfile.json | 70 + .../examples/CreateInvoiceSection.json | 29 + .../examples/DeclineTransfer.json | 20 + .../examples/Department.json | 21 + .../examples/DepartmentWithExpand.json | 48 + .../DepartmentsListByBillingAccountName.json | 35 + ...ntsListByBillingAccountNameWithExpand.json | 88 + .../examples/ElevateInvoiceSection.json | 11 + .../examples/EnrollmentAccount.json | 23 + .../examples/EnrollmentAccountWithExpand.json | 34 + ...lmentAccountsListByBillingAccountName.json | 51 + ...ntsListByBillingAccountNameWithExpand.json | 72 + .../examples/GetRecipientTransfer.json | 32 + .../examples/GetTransfer.json | 38 + .../IncreaseLineOfCreditBySubscription.json | 41 + .../examples/InitiateTransfer.json | 30 + .../2019-10-01-preview/examples/Invoice.json | 59 + .../examples/InvoiceSection.json | 20 + .../InvoiceSectionPermissionsList.json | 41 + .../InvoiceSectionRoleAssignment.json | 26 + .../InvoiceSectionRoleAssignmentDelete.json | 26 + .../InvoiceSectionRoleAssignmentList.json | 81 + .../InvoiceSectionRoleDefinition.json | 49 + .../InvoiceSectionRoleDefinitionsList.json | 84 + ...voiceSectionsListByBillingProfileName.json | 31 + .../InvoicesListByBillingProfile.json | 112 + .../examples/LineOfCreditBySubscription.json | 27 + .../examples/ListRecipientTransfers.json | 35 + .../examples/ListTransfers.json | 41 + .../examples/PartnerCancelTransfer.json | 27 + .../examples/PartnerGetTransfer.json | 39 + .../examples/PartnerInitiateTransfer.json | 30 + .../examples/PartnerListTransfers.json | 41 + .../PaymentMethodsListByBillingAccount.json | 43 + .../PaymentMethodsListByBillingProfile.json | 35 + .../2019-10-01-preview/examples/Policy.json | 21 + .../examples/PricesheetDownload.json | 23 + ...ricesheetDownloadByBillingProfileName.json | 22 + .../2019-10-01-preview/examples/Product.json | 40 + .../ProductCancelByBillingAccount.json | 19 + .../ProductCancelForInvoiceSection.json | 21 + .../ProductsListByBillingAccount.json | 68 + .../ProductsListByInvoiceSection.json | 70 + ...ationTransactionsListByBillingAccount.json | 67 + ...ationTransactionsListByBillingProfile.json | 68 + ...ationTransactionsListByInvoiceSection.json | 69 + .../examples/Transaction.json | 37 + .../TransactionsListByBillingAccount.json | 62 + .../TransactionsListByBillingProfile.json | 63 + .../TransactionsListByInvoiceSection.json | 64 + .../examples/TransferBillingSubscription.json | 28 + .../examples/TransferProduct.json | 51 + .../examples/UpdateBillingAccount.json | 41 + .../examples/UpdateBillingProfile.json | 57 + .../examples/UpdateInvoiceSection.json | 31 + .../examples/UpdatePolicy.json | 29 + .../ValidateProductTransferFailure.json | 24 + .../ValidateProductTransferSuccess.json | 20 + .../ValidateSubscriptionTransferFailure.json | 24 + .../ValidateSubscriptionTransferSuccess.json | 20 + .../billing/resource-manager/readme.md | 25 +- 99 files changed, 11307 insertions(+), 1 deletion(-) create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AcceptTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressInvalid.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressValid.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementByName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementsListByBillingAccountName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AvailableBalanceByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountInvoicesList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountPermissionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignment.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentDelete.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinition.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinitionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpandForEnrollmentDetails.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilePermissionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignment.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentDelete.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinition.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinitionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListByBillingAccountName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProperty.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscription.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CancelTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DeclineTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Department.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountNameWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ElevateInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountNameWithExpand.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetRecipientTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/IncreaseLineOfCreditBySubscription.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InitiateTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Invoice.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionPermissionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignment.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentDelete.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinition.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinitionsList.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionsListByBillingProfileName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoicesListByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/LineOfCreditBySubscription.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListRecipientTransfers.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerCancelTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerGetTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerInitiateTransfer.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Policy.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownload.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownloadByBillingProfileName.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Product.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelForInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Transaction.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferBillingSubscription.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferProduct.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingAccount.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingProfile.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateInvoiceSection.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdatePolicy.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferFailure.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferSuccess.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferFailure.json create mode 100644 specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferSuccess.json diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json new file mode 100644 index 000000000000..5852662bd8d3 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json @@ -0,0 +1,6456 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-10-01-preview", + "title": "BillingManagementClient", + "description": "Billing client provides access to billing resources for Azure subscriptions." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.Billing/billingAccounts": { + "get": { + "tags": [ + "BillingAccounts" + ], + "x-ms-examples": { + "BillingAccountsList": { + "$ref": "./examples/BillingAccountsList.json" + }, + "BillingAccountsListWithExpand": { + "$ref": "./examples/BillingAccountsListWithExpand.json" + }, + "BillingAccountsListWithExpandForEnrollmentDetails": { + "$ref": "./examples/BillingAccountsListWithExpandForEnrollmentDetails.json" + } + }, + "operationId": "BillingAccounts_List", + "description": "Lists all billing accounts for a user which he has access to.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the address, invoiceSections and billingProfiles.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingAccountListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}": { + "get": { + "tags": [ + "BillingAccounts" + ], + "x-ms-examples": { + "BillingAccounts": { + "$ref": "./examples/BillingAccount.json" + }, + "BillingAccountWithExpand": { + "$ref": "./examples/BillingAccountWithExpand.json" + } + }, + "operationId": "BillingAccounts_Get", + "description": "Get the billing account by id.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the address, invoiceSections and billingProfiles.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "BillingAccounts" + ], + "operationId": "BillingAccounts_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "The operation to update a billing account.", + "x-ms-examples": { + "UpdateBillingAccount": { + "$ref": "./examples/UpdateBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingAccountUpdateRequest" + }, + "description": "Request parameters supplied to the update billing account operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingAccount" + } + }, + "202": { + "description": "Accepted. Billing account update is in progress." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods": { + "get": { + "tags": [ + "PaymentMethods" + ], + "operationId": "PaymentMethods_ListByBillingAccountName", + "description": "Lists the Payment Methods by billing account Id.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/2019-10-01-preview/paymentmethods" + }, + "x-ms-examples": { + "PaymentMethodsListByBillingAccount": { + "$ref": "./examples/PaymentMethodsListByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PaymentMethodsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/validateAddress": { + "post": { + "tags": [ + "Address" + ], + "x-ms-examples": { + "AddressValid": { + "$ref": "./examples/AddressValid.json" + }, + "AddressInvalid": { + "$ref": "./examples/AddressInvalid.json" + } + }, + "operationId": "Address_Validate", + "description": "Validates the address.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "address", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AddressDetails" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateAddressResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default": { + "get": { + "tags": [ + "AvailableBalances" + ], + "operationId": "AvailableBalances_GetByBillingProfile", + "description": "The latest available credit balance for a given billingAccountName and billingProfileName.", + "x-ms-examples": { + "AvailableBalanceByBillingProfile": { + "$ref": "./examples/AvailableBalanceByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailableBalance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods": { + "get": { + "tags": [ + "PaymentMethods" + ], + "operationId": "PaymentMethods_ListByBillingProfileName", + "description": "Lists the Payment Methods by billing profile Id.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "PaymentMethodsListByBillingProfile": { + "$ref": "./examples/PaymentMethodsListByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PaymentMethodsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles": { + "get": { + "tags": [ + "BillingProfiles" + ], + "x-ms-examples": { + "BillingProfilesListByBillingAccountName": { + "$ref": "./examples/BillingProfilesListByBillingAccountName.json" + }, + "BillingProfilesListWithExpand": { + "$ref": "./examples/BillingProfilesListWithExpand.json" + } + }, + "operationId": "BillingProfiles_ListByBillingAccountName", + "description": "Lists all billing profiles for a user which that user has access to.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the invoiceSections.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingProfileListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}": { + "get": { + "tags": [ + "BillingProfiles" + ], + "x-ms-examples": { + "BillingProfile": { + "$ref": "./examples/BillingProfile.json" + }, + "BillingProfileWithExpand": { + "$ref": "./examples/BillingProfileWithExpand.json" + } + }, + "operationId": "BillingProfiles_Get", + "description": "Get the billing profile by id.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the invoiceSections.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "BillingProfiles" + ], + "operationId": "BillingProfiles_Create", + "x-ms-long-running-operation": true, + "description": "The operation to create a BillingProfile.", + "x-ms-examples": { + "CreateBillingProfile": { + "$ref": "./examples/CreateBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingProfileCreationRequest" + }, + "description": "Request parameters supplied to the Create BillingProfile operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingProfile" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "Location URI to poll for result", + "type": "string" + }, + "Retry-After": { + "description": "Recommends the retryable time after receiving this.", + "type": "integer" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "BillingProfiles" + ], + "operationId": "BillingProfiles_Update", + "x-ms-long-running-operation": true, + "description": "The operation to update a billing profile.", + "x-ms-examples": { + "UpdateBillingProfile": { + "$ref": "./examples/UpdateBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingProfile" + }, + "description": "Request parameters supplied to the update billing profile operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingProfile" + } + }, + "202": { + "description": "Accepted. Billing profile update is in progress.", + "headers": { + "Location": { + "description": "GET this URL to retrieve the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections": { + "get": { + "tags": [ + "InvoiceSections" + ], + "x-ms-examples": { + "InvoiceSectionsListByBillingProfileName": { + "$ref": "./examples/InvoiceSectionsListByBillingProfileName.json" + } + }, + "operationId": "InvoiceSections_ListByBillingProfileName", + "description": "Lists all invoice sections for a user which he has access to.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceSectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}": { + "get": { + "tags": [ + "InvoiceSections" + ], + "x-ms-examples": { + "InvoiceSection": { + "$ref": "./examples/InvoiceSection.json" + } + }, + "operationId": "InvoiceSections_Get", + "description": "Get the InvoiceSection by id.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceSection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "InvoiceSections" + ], + "operationId": "InvoiceSections_Create", + "x-ms-long-running-operation": true, + "description": "The operation to create an invoice section.", + "x-ms-examples": { + "CreateInvoiceSection": { + "$ref": "./examples/CreateInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InvoiceSectionCreationRequest" + }, + "description": "Request parameters supplied to the Create InvoiceSection operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceSection" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "Location URI to poll for result", + "type": "string" + }, + "Retry-After": { + "description": "Recommends the retryable time after receiving this.", + "type": "integer" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "InvoiceSections" + ], + "operationId": "InvoiceSections_Update", + "x-ms-long-running-operation": true, + "description": "The operation to update a InvoiceSection.", + "x-ms-examples": { + "UpdateInvoiceSection": { + "$ref": "./examples/UpdateInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InvoiceSection" + }, + "description": "Request parameters supplied to the Create InvoiceSection operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceSection" + } + }, + "202": { + "description": "Accepted. InvoiceSection update is in progress.", + "headers": { + "Location": { + "description": "GET this URL to retrieve the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments": { + "get": { + "tags": [ + "Departments" + ], + "x-ms-examples": { + "DepartmentsListByBillingAccountName": { + "$ref": "./examples/DepartmentsListByBillingAccountName.json" + }, + "DepartmentsListByBillingAccountNameWithExpand": { + "$ref": "./examples/DepartmentsListByBillingAccountNameWithExpand.json" + } + }, + "operationId": "Departments_ListByBillingAccountName", + "description": "Lists all departments for a user which he has access to.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the enrollmentAccounts.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DepartmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}": { + "get": { + "tags": [ + "Departments" + ], + "x-ms-examples": { + "Department": { + "$ref": "./examples/Department.json" + }, + "DepartmentWithExpand": { + "$ref": "./examples/DepartmentWithExpand.json" + } + }, + "operationId": "Departments_Get", + "description": "Get the department by id.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/departmentNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the enrollmentAccounts.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Department" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts": { + "get": { + "tags": [ + "EnrollmentAccounts" + ], + "x-ms-examples": { + "EnrollmentAccountsListByBillingAccountName": { + "$ref": "./examples/EnrollmentAccountsListByBillingAccountName.json" + }, + "EnrollmentAccountsListByBillingAccountNameWithExpand": { + "$ref": "./examples/EnrollmentAccountsListByBillingAccountNameWithExpand.json" + } + }, + "operationId": "EnrollmentAccounts_ListByBillingAccountName", + "description": "Lists all Enrollment Accounts for a user which he has access to.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the department.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnrollmentAccountListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}": { + "get": { + "tags": [ + "EnrollmentAccounts" + ], + "x-ms-examples": { + "EnrollmentAccount": { + "$ref": "./examples/EnrollmentAccount.json" + }, + "EnrollmentAccountWithExpand": { + "$ref": "./examples/EnrollmentAccountWithExpand.json" + } + }, + "operationId": "EnrollmentAccounts_GetByEnrollmentAccountId", + "description": "Get the enrollment account by id.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/enrollmentAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the Department.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/EnrollmentAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices": { + "get": { + "tags": [ + "Invoices" + ], + "x-ms-examples": { + "BillingAccountInvoicesList": { + "$ref": "./examples/BillingAccountInvoicesList.json" + } + }, + "operationId": "Invoices_ListByBillingAccountName", + "description": "List of invoices for a billing account.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "periodStartDate", + "description": "Invoice period start date.", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "periodEndDate", + "description": "Invoice period end date.", + "in": "query", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}/pricesheet/default/download": { + "post": { + "tags": [ + "PriceSheet" + ], + "x-ms-examples": { + "PricesheetDownload": { + "$ref": "./examples/PricesheetDownload.json" + } + }, + "operationId": "PriceSheet_Download", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "description": "Download price sheet for an invoice.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "GET this URL to retrieve the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.", + "type": "string" + }, + "OData-EntityId": { + "description": "The operation entity Id GUID.", + "type": "string" + } + } + }, + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DownloadUrl" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/pricesheet/default/download": { + "post": { + "tags": [ + "PriceSheet" + ], + "x-ms-examples": { + "PricesheetDownloadByBillingProfileName": { + "$ref": "./examples/PricesheetDownloadByBillingProfileName.json" + } + }, + "operationId": "PriceSheet_DownloadByBillingProfileName", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "description": "Download price sheet for a billing profile.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "GET this URL to retrieve the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.", + "type": "string" + }, + "OData-EntityId": { + "description": "The operation entity Id GUID.", + "type": "string" + } + } + }, + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/DownloadUrl" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices": { + "get": { + "tags": [ + "Invoices" + ], + "x-ms-examples": { + "InvoicesListByBillingProfile": { + "$ref": "./examples/InvoicesListByBillingProfile.json" + } + }, + "operationId": "Invoices_ListByBillingProfile", + "description": "List of invoices for a billing profile.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "periodStartDate", + "description": "Invoice period start date.", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "periodEndDate", + "description": "Invoice period end date.", + "in": "query", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/InvoiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}": { + "get": { + "tags": [ + "Invoices" + ], + "x-ms-examples": { + "Invoice": { + "$ref": "./examples/Invoice.json" + } + }, + "operationId": "Invoices_Get", + "description": "Get the invoice by name.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Invoice" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions": { + "get": { + "tags": [ + "BillingSubscriptions" + ], + "operationId": "BillingSubscriptions_ListByBillingAccountName", + "description": "Lists billing subscriptions by billing account name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "BillingSubscriptionsListByBillingAccount": { + "$ref": "./examples/BillingSubscriptionsListByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingSubscriptionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions": { + "get": { + "tags": [ + "BillingSubscriptions" + ], + "operationId": "BillingSubscriptions_ListByBillingProfileName", + "description": "Lists billing subscriptions by billing profile name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "BillingSubscriptionsListByBillingProfile": { + "$ref": "./examples/BillingSubscriptionsListByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingSubscriptionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions": { + "get": { + "tags": [ + "BillingSubscriptions" + ], + "operationId": "BillingSubscriptions_ListByInvoiceSectionName", + "description": "Lists billing subscription by invoice section name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "BillingSubscriptionsListByInvoiceSection": { + "$ref": "./examples/BillingSubscriptionsListByInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingSubscriptionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}": { + "get": { + "tags": [ + "BillingSubscriptions" + ], + "operationId": "BillingSubscriptions_Get", + "description": "Get a single billing subscription by name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "BillingSubscription": { + "$ref": "./examples/BillingSubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingSubscriptionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingSubscription" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer": { + "post": { + "description": "Transfers the subscription from one invoice section to another within a billing account.", + "operationId": "BillingSubscriptions_Transfer", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "TransferBillingSubscription": { + "$ref": "./examples/TransferBillingSubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingSubscriptionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TransferBillingSubscriptionRequestProperties" + }, + "description": "Request parameters supplied to the Transfer Billing Subscription operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TransferBillingSubscriptionResult" + } + }, + "202": { + "description": "Accepted. Billing Subscription transfer is in progress.", + "headers": { + "Location": { + "description": "Location URI to poll for result.", + "type": "string" + }, + "Retry-After": { + "description": "Recommends the retryable time after receiving this.", + "type": "integer" + } + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/validateTransferEligibility": { + "post": { + "x-ms-examples": { + "SubscriptionTransferValidateSuccess": { + "$ref": "./examples/ValidateSubscriptionTransferSuccess.json" + }, + "SubscriptionTransferValidateFailure": { + "$ref": "./examples/ValidateSubscriptionTransferFailure.json" + } + }, + "operationId": "BillingSubscriptions_ValidateTransfer", + "description": "Validates the transfer of billing subscriptions across invoice sections.", + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingSubscriptionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TransferBillingSubscriptionRequestProperties" + }, + "description": "Parameters supplied to the Transfer Billing Subscription operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateSubscriptionTransferEligibilityResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products": { + "get": { + "tags": [ + "Products" + ], + "operationId": "Products_ListByBillingAccountName", + "description": "Lists products by billing account name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "ProductsListByBillingAccount": { + "$ref": "./examples/ProductsListByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProductsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products": { + "get": { + "tags": [ + "Products" + ], + "operationId": "Products_ListByInvoiceSectionName", + "description": "Lists products by invoice section name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "ProductsListByInvoiceSection": { + "$ref": "./examples/ProductsListByInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ProductsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}": { + "get": { + "tags": [ + "Products" + ], + "operationId": "Products_Get", + "description": "Get a single product by name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "Product": { + "$ref": "./examples/Product.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Product" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/transfer": { + "post": { + "tags": [ + "Products" + ], + "operationId": "Products_Transfer", + "description": "The operation to transfer a Product to another invoice section.", + "x-ms-examples": { + "TransferProduct": { + "$ref": "./examples/TransferProduct.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TransferProductRequestProperties" + }, + "description": "Parameters supplied to the Transfer Product operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Product" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "Location URI to poll for result", + "type": "string" + }, + "Retry-After": { + "description": "Recommends the retryable time after receiving this.", + "type": "integer" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/validateTransferEligibility": { + "post": { + "x-ms-examples": { + "SubscriptionTransferValidateSuccess": { + "$ref": "./examples/ValidateProductTransferSuccess.json" + }, + "SubscriptionTransferValidateFailure": { + "$ref": "./examples/ValidateProductTransferFailure.json" + } + }, + "operationId": "Products_ValidateTransfer", + "description": "Validates the transfer of products across invoice sections.", + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TransferProductRequestProperties" + }, + "description": "Parameters supplied to the Transfer Products operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateProductTransferEligibilityResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/transactions": { + "get": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_ListByBillingAccountName", + "description": "Lists the transactions by billing account name for given start and end date.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "TransactionsListByBillingAccount": { + "$ref": "./examples/TransactionsListByBillingAccount.json" + }, + "ReservationTransactionsListByBillingAccount": { + "$ref": "./examples/ReservationTransactionsListByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": true, + "type": "string" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "description": "May be used to filter by transaction kind. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TransactionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions": { + "get": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_ListByBillingProfileName", + "description": "Lists the transactions by billing profile name for given start date and end date.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "TransactionsListByBillingProfile": { + "$ref": "./examples/TransactionsListByBillingProfile.json" + }, + "ReservationTransactionsListByBillingProfile": { + "$ref": "./examples/ReservationTransactionsListByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": true, + "type": "string" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "description": "May be used to filter by transaction kind. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TransactionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transactions": { + "get": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_ListByInvoiceSectionName", + "description": "Lists the transactions by invoice section name for given start date and end date.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "TransactionsListByInvoiceSection": { + "$ref": "./examples/TransactionsListByInvoiceSection.json" + }, + "ReservationTransactionsListByInvoiceSection": { + "$ref": "./examples/ReservationTransactionsListByInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": true, + "type": "string" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "description": "May be used to filter by transaction kind. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TransactionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/{transactionName}": { + "get": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_Get", + "description": "Get the transaction.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "Transaction": { + "$ref": "./examples/Transaction.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/transactionNameParameter" + }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": true, + "type": "string" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Transaction" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default": { + "get": { + "tags": [ + "Policies" + ], + "operationId": "Policies_GetByBillingProfileName", + "description": "The policy for a given billing account name and billing profile name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "PolicyByBillingProfile": { + "$ref": "./examples/Policy.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Policy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Policies" + ], + "operationId": "Policies_Update", + "description": "The operation to update a policy.", + "x-ms-examples": { + "UpdateBillingProfile": { + "$ref": "./examples/UpdatePolicy.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Policy" + }, + "description": "Parameters supplied to the update policy operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Policy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty": { + "get": { + "tags": [ + "BillingProperties" + ], + "operationId": "BillingProperty_Get", + "description": "Get billing property by subscription Id.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/billing/" + }, + "x-ms-examples": { + "BillingProperty": { + "$ref": "./examples/BillingProperty.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingProperty" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/updateAutoRenew": { + "post": { + "tags": [ + "Products" + ], + "operationId": "Products_UpdateAutoRenewByBillingAccountName", + "description": "Cancel auto renew for product by product id and billing account name", + "x-ms-examples": { + "ProductsCancelByBillingAccount": { + "$ref": "./examples/ProductCancelByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/updateAutoRenewRequestParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/UpdateAutoRenewOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/updateAutoRenew": { + "post": { + "tags": [ + "Products" + ], + "operationId": "Products_UpdateAutoRenewByInvoiceSectionName", + "description": "Cancel auto renew for product by product id and invoice section name", + "x-ms-examples": { + "CancelProductForInvoiceSection": { + "$ref": "./examples/ProductCancelForInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/updateAutoRenewRequestParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/UpdateAutoRenewOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/elevate": { + "post": { + "tags": [ + "InvoiceSections" + ], + "description": "Elevates the caller's access to match their billing profile access.", + "operationId": "InvoiceSections_ElevateToBillingProfile", + "x-ms-examples": { + "Elevate": { + "$ref": "./examples/ElevateInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "204": { + "description": "Elevated the caller's access to the invoice section." + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/initiateTransfer": { + "post": { + "tags": [ + "Transfers" + ], + "description": "Initiates the request to transfer the legacy subscriptions or RIs.", + "operationId": "Transfers_Initiate", + "x-ms-examples": { + "InitiateTransfer": { + "$ref": "./examples/InitiateTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InitiateTransferRequest" + }, + "description": "Parameters supplied to initiate the transfer." + } + ], + "responses": { + "200": { + "description": "Initiated transfer details.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}": { + "get": { + "tags": [ + "Transfers" + ], + "description": "Gets the transfer details for given transfer Id.", + "operationId": "Transfers_Get", + "x-ms-examples": { + "TransferGet": { + "$ref": "./examples/GetTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of transfer.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Transfers" + ], + "description": "Cancels the transfer for given transfer Id.", + "operationId": "Transfers_Cancel", + "x-ms-examples": { + "TransferCancel": { + "$ref": "./examples/CancelTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of canceled transfer.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers": { + "get": { + "tags": [ + "Transfers" + ], + "description": "Lists all transfer's details initiated from given invoice section.", + "operationId": "Transfers_List", + "x-ms-examples": { + "TransfersList": { + "$ref": "./examples/ListTransfers.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "200": { + "description": "List of transfers initiated from this invoice section.", + "schema": { + "$ref": "#/definitions/TransferDetailsListResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/initiateTransfer": { + "post": { + "tags": [ + "Transfers" + ], + "description": "Initiates the request to transfer the legacy subscriptions or RIs.", + "operationId": "PartnerTransfers_Initiate", + "x-ms-examples": { + "InitiatePartnerTransfer": { + "$ref": "./examples/PartnerInitiateTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/customerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InitiateTransferRequest" + }, + "description": "Parameters supplied to initiate the transfer." + } + ], + "responses": { + "200": { + "description": "Initiated transfer details.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}": { + "get": { + "tags": [ + "Transfers" + ], + "description": "Gets the transfer details for given transfer Id.", + "operationId": "PartnerTransfers_Get", + "x-ms-examples": { + "TransferGet": { + "$ref": "./examples/PartnerGetTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/customerNameParameter" + }, + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of transfer.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Transfers" + ], + "description": "Cancels the transfer for given transfer Id.", + "operationId": "PartnerTransfers_Cancel", + "x-ms-examples": { + "TransferCancel": { + "$ref": "./examples/PartnerCancelTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/customerNameParameter" + }, + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of canceled transfer.", + "schema": { + "$ref": "#/definitions/TransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers": { + "get": { + "tags": [ + "Transfers" + ], + "description": "Lists all transfer's details initiated from given invoice section.", + "operationId": "PartnerTransfersTransfers_List", + "x-ms-examples": { + "TransfersList": { + "$ref": "./examples/PartnerListTransfers.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/customerNameParameter" + } + ], + "responses": { + "200": { + "description": "List of transfers initiated from this invoice section.", + "schema": { + "$ref": "#/definitions/TransferDetailsListResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/transfers/{transferName}/acceptTransfer": { + "post": { + "tags": [ + "RecipientTransfers" + ], + "summary": "Accepts the transfer with given transfer Id.", + "operationId": "RecipientTransfers_Accept", + "x-ms-examples": { + "AcceptTransfer": { + "$ref": "./examples/AcceptTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/transferNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AcceptTransferRequest" + }, + "description": "Parameters supplied to accept the transfer." + } + ], + "responses": { + "200": { + "description": "Details of the accepted transfer.", + "schema": { + "$ref": "#/definitions/RecipientTransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/transfers/{transferName}/declineTransfer": { + "post": { + "tags": [ + "RecipientTransfers" + ], + "summary": "Declines the transfer with given transfer Id.", + "operationId": "RecipientTransfers_Decline", + "x-ms-examples": { + "DeclineTransfer": { + "$ref": "./examples/DeclineTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of the declined transfer.", + "schema": { + "$ref": "#/definitions/RecipientTransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/transfers/{transferName}": { + "get": { + "tags": [ + "RecipientTransfers" + ], + "summary": "Gets the transfer with given transfer Id.", + "operationId": "RecipientTransfers_Get", + "x-ms-examples": { + "RecipientTransferGet": { + "$ref": "./examples/GetRecipientTransfer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/transferNameParameter" + } + ], + "responses": { + "200": { + "description": "Details of the transfers with given Id.", + "schema": { + "$ref": "#/definitions/RecipientTransferDetails" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/transfers": { + "get": { + "tags": [ + "RecipientTransfers" + ], + "summary": "Lists the transfers received by caller.", + "operationId": "RecipientTransfers_List", + "x-ms-examples": { + "RecipientTransfersList": { + "$ref": "./examples/ListRecipientTransfers.json" + } + }, + "responses": { + "200": { + "description": "List of transfers received by caller.", + "schema": { + "$ref": "#/definitions/RecipientTransferDetailsListResult" + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available billing REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingPermissions": { + "get": { + "tags": [ + "BillingPermissions" + ], + "x-ms-examples": { + "BillingAccountPermissionsList": { + "$ref": "./examples/BillingAccountPermissionsList.json" + } + }, + "operationId": "BillingPermissions_ListByBillingAccount", + "description": "Lists all billing permissions for the caller under a billing account.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingPermissionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingPermissions": { + "get": { + "tags": [ + "BillingPermissions" + ], + "x-ms-examples": { + "InvoiceSectionPermissionsList": { + "$ref": "./examples/InvoiceSectionPermissionsList.json" + } + }, + "operationId": "BillingPermissions_ListByInvoiceSections", + "description": "Lists all billing permissions for the caller under invoice section.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingPermissionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingPermissions": { + "get": { + "tags": [ + "BillingPermissions" + ], + "x-ms-examples": { + "BillingProfilePermissionsList": { + "$ref": "./examples/BillingProfilePermissionsList.json" + } + }, + "operationId": "BillingPermissions_ListByBillingProfile", + "description": "Lists all billing permissions for the caller has for a billing account.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingPermissionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "BillingAccountRoleDefinition": { + "$ref": "./examples/BillingAccountRoleDefinition.json" + } + }, + "operationId": "BillingRoleDefinitions_GetByBillingAccountName", + "description": "Gets the role definition for a role", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingRoleDefinitionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "InvoiceSectionRoleDefinition": { + "$ref": "./examples/InvoiceSectionRoleDefinition.json" + } + }, + "operationId": "BillingRoleDefinitions_GetByInvoiceSectionName", + "description": "Gets the role definition for a role", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingRoleDefinitionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "BillingProfileRoleDefinition": { + "$ref": "./examples/BillingProfileRoleDefinition.json" + } + }, + "operationId": "BillingRoleDefinitions_GetByBillingProfileName", + "description": "Gets the role definition for a role", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/billingRoleDefinitionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "BillingAccountRoleDefinitionsList": { + "$ref": "./examples/BillingAccountRoleDefinitionsList.json" + } + }, + "operationId": "BillingRoleDefinitions_ListByBillingAccountName", + "description": "Lists the role definition for a billing account", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "InvoiceSectionRoleDefinitionsList": { + "$ref": "./examples/InvoiceSectionRoleDefinitionsList.json" + } + }, + "operationId": "BillingRoleDefinitions_ListByInvoiceSectionName", + "description": "Lists the role definition for an invoice Section", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions": { + "get": { + "tags": [ + "BillingRoleDefinitions" + ], + "x-ms-examples": { + "BillingProfileRoleDefinitionsList": { + "$ref": "./examples/BillingProfileRoleDefinitionsList.json" + } + }, + "operationId": "BillingRoleDefinitions_ListByBillingProfileName", + "description": "Lists the role definition for a Billing Profile", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingAccountRoleAssignment": { + "$ref": "./examples/BillingAccountRoleAssignment.json" + } + }, + "operationId": "BillingRoleAssignments_GetByBillingAccount", + "description": "Get the role assignment for the caller", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingAccountRoleAssignmentDelete": { + "$ref": "./examples/BillingAccountRoleAssignmentDelete.json" + } + }, + "operationId": "BillingRoleAssignments_DeleteByBillingAccountName", + "description": "Delete the role assignment on this billing account", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "InvoiceSectionRoleAssignment": { + "$ref": "./examples/InvoiceSectionRoleAssignment.json" + } + }, + "operationId": "BillingRoleAssignments_GetByInvoiceSectionName", + "description": "Get the role assignment for the caller on the invoice Section", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "InvoiceSectionRoleAssignmentDelete": { + "$ref": "./examples/InvoiceSectionRoleAssignmentDelete.json" + } + }, + "operationId": "BillingRoleAssignments_DeleteByInvoiceSectionName", + "description": "Delete the role assignment on the invoice Section", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingProfileRoleAssignment": { + "$ref": "./examples/BillingProfileRoleAssignment.json" + } + }, + "operationId": "BillingRoleAssignments_GetByBillingProfileName", + "description": "Get the role assignment for the caller on the Billing Profile", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingProfileRoleAssignmentDelete": { + "$ref": "./examples/BillingProfileRoleAssignmentDelete.json" + } + }, + "operationId": "BillingRoleAssignments_DeleteByBillingProfileName", + "description": "Delete the role assignment on this Billing Profile", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/billingRoleAssignmentNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingAccountRoleAssignmentList": { + "$ref": "./examples/BillingAccountRoleAssignmentList.json" + } + }, + "operationId": "BillingRoleAssignments_ListByBillingAccountName", + "description": "Get the role assignments on the Billing Account", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/createBillingRoleAssignment": { + "post": { + "tags": [ + "BillingRoleAssignments" + ], + "operationId": "BillingRoleAssignments_AddByBillingAccountName", + "description": "The operation to add a role assignment to a billing account.", + "x-ms-examples": { + "AddRoleAssignmentToBillingAccount": { + "$ref": "./examples/AddRoleAssignmentToBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentPayload" + }, + "description": "Parameters supplied to add a role assignment." + } + ], + "responses": { + "201": { + "description": "Role assignment is successfully created", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "InvoiceSectionRoleAssignmentList": { + "$ref": "./examples/InvoiceSectionRoleAssignmentList.json" + } + }, + "operationId": "BillingRoleAssignments_ListByInvoiceSectionName", + "description": "Get the role assignments on the invoice Section", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/createBillingRoleAssignment": { + "post": { + "tags": [ + "BillingRoleAssignments" + ], + "operationId": "BillingRoleAssignments_AddByInvoiceSectionName", + "description": "The operation to add a role assignment to a invoice Section.", + "x-ms-examples": { + "AddRoleAssignmentToInvoiceSection": { + "$ref": "./examples/AddRoleAssignmentToInvoiceSection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "$ref": "#/parameters/invoiceSectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentPayload" + }, + "description": "Parameters supplied to add a role assignment." + } + ], + "responses": { + "201": { + "description": "Role assignment is successfully created", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments": { + "get": { + "tags": [ + "BillingRoleAssignments" + ], + "x-ms-examples": { + "BillingProfileRoleAssignmentList": { + "$ref": "./examples/BillingProfileRoleAssignmentList.json" + } + }, + "operationId": "BillingRoleAssignments_ListByBillingProfileName", + "description": "Get the role assignments on the Billing Profile", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/createBillingRoleAssignment": { + "post": { + "tags": [ + "BillingRoleAssignments" + ], + "operationId": "BillingRoleAssignments_AddByBillingProfileName", + "description": "The operation to add a role assignment to a billing profile.", + "x-ms-examples": { + "AddRoleAssignmentToBillingProfile": { + "$ref": "./examples/AddRoleAssignmentToBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/billingProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentPayload" + }, + "description": "Parameters supplied to add a role assignment." + } + ], + "responses": { + "201": { + "description": "Role assignment is successfully created", + "schema": { + "$ref": "#/definitions/BillingRoleAssignmentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements": { + "get": { + "tags": [ + "Agreements" + ], + "x-ms-examples": { + "AgreementsListByBillingAccountName": { + "$ref": "./examples/AgreementsListByBillingAccountName.json" + } + }, + "operationId": "Agreements_ListByBillingAccountName", + "description": "Lists all agreements for a billing account.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the participants.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/AgreementListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}": { + "get": { + "tags": [ + "Agreements" + ], + "x-ms-examples": { + "AgreementByName": { + "$ref": "./examples/AgreementByName.json" + } + }, + "operationId": "Agreements_Get", + "description": "Get the agreement by name.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountNameParameter" + }, + { + "$ref": "#/parameters/agreementNameParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the participants.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Agreement" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default": { + "get": { + "tags": [ + "LineOfCredits" + ], + "x-ms-examples": { + "LineOfCreditBySubscription": { + "$ref": "./examples/LineOfCreditBySubscription.json" + } + }, + "operationId": "LineOfCredits_Get", + "description": "Get the current line of credit.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LineOfCredit" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "LineOfCredits" + ], + "operationId": "LineOfCredits_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "IncreaseLineOfCreditBySubscription": { + "$ref": "./examples/IncreaseLineOfCreditBySubscription.json" + } + }, + "description": "Increase the current line of credit.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LineOfCredit" + }, + "description": "Parameters supplied to the increase line of credit operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LineOfCredit" + } + }, + "202": { + "description": "Accepted. Line of credit increase is in progress.", + "headers": { + "Location": { + "description": "Location URI to poll for result.", + "type": "string" + }, + "Retry-After": { + "description": "Recommends the retryable time after receiving this.", + "type": "integer" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "InitiateTransferRequest": { + "type": "object", + "description": "Request parameters to initiate transfer.", + "properties": { + "properties": { + "description": "Request parameters to initiate transfer.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InitiateTransferProperties" + } + } + }, + "ValidateAddressResponse": { + "type": "object", + "description": "Result of the address validation", + "properties": { + "status": { + "description": "status of the address validation.", + "$ref": "#/definitions/AddressValidationStatus" + }, + "suggestedAddresses": { + "description": "list of suggested addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/AddressDetails" + } + }, + "validationMessage": { + "description": "Validation error message.", + "type": "string" + } + } + }, + "AddressValidationStatus": { + "type": "string", + "description": "Status of the address validation response.", + "enum": [ + "Valid", + "Invalid" + ], + "x-ms-enum": { + "name": "addressValidationStatus", + "modelAsString": true + } + }, + "InitiateTransferProperties": { + "type": "object", + "description": "Request parameters to initiate transfer.", + "properties": { + "recipientEmailId": { + "type": "string", + "description": "Email Id of recipient for transfer." + }, + "resellerId": { + "type": "string", + "description": "Optional reseller Id for transfer." + } + } + }, + "AcceptTransferRequest": { + "type": "object", + "description": "Request parameters to accept transfer.", + "properties": { + "properties": { + "description": "Request parameters to accept transfer.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AcceptTransferProperties" + } + } + }, + "AcceptTransferProperties": { + "type": "object", + "description": "Request parameters to accept transfer.", + "properties": { + "productDetails": { + "description": "Request parameters to accept transfer.", + "type": "array", + "items": { + "$ref": "#/definitions/ProductDetails" + } + } + } + }, + "ProductDetails": { + "type": "object", + "description": "Details of the product to be transferred.", + "properties": { + "productType": { + "description": "Type of the product to be transferred.", + "$ref": "#/definitions/ProductType" + }, + "productId": { + "type": "string", + "description": "Id of product to be transferred." + } + } + }, + "ProductType": { + "type": "string", + "description": "Type of the product to be transferred.", + "enum": [ + "AzureSubscription", + "AzureReservation" + ], + "x-ms-enum": { + "name": "productType", + "modelAsString": true + } + }, + "TransferDetails": { + "type": "object", + "description": "Details of the transfer.", + "properties": { + "properties": { + "description": "Details of the transfer.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TransferProperties" + } + } + }, + "RecipientTransferDetails": { + "type": "object", + "description": "Details of the transfer.", + "properties": { + "properties": { + "description": "Details of the transfer.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/RecipientTransferProperties" + } + } + }, + "DetailedTransferStatus": { + "type": "object", + "description": "Detailed transfer status.", + "properties": { + "productType": { + "type": "string", + "$ref": "#/definitions/ProductType", + "readOnly": true, + "description": "Type of product being transferred." + }, + "productId": { + "type": "string", + "readOnly": true, + "description": "Id of product being transferred." + }, + "transferStatus": { + "type": "string", + "$ref": "#/definitions/ProductTransferStatus", + "readOnly": true, + "description": "Transfer status." + }, + "errorDetails": { + "description": "Error details for transfer execution.", + "$ref": "#/definitions/Error" + } + } + }, + "Error": { + "description": "Error details for transfer execution.", + "properties": { + "errorCode": { + "type": "string", + "readOnly": true, + "description": "Error code." + }, + "errorMessage": { + "type": "string", + "readOnly": true, + "description": "Error message." + } + } + }, + "EligibleProductType": { + "type": "string", + "description": "Type of the products that can be transferred.", + "enum": [ + "DevTestAzureSubscription", + "StandardAzureSubscription", + "AzureReservation" + ], + "x-ms-enum": { + "name": "eligibleProductType", + "modelAsString": true + } + }, + "TransferProperties": { + "description": "Transfer details", + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Transfer creation time.", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Transfer expiration time." + }, + "invoiceSectionId": { + "type": "string", + "description": "Target invoice section Id.", + "readOnly": true + }, + "billingAccountId": { + "type": "string", + "description": "Target billing account Id.", + "readOnly": true + }, + "resellerId": { + "type": "string", + "description": "Reseller Id for transfer.", + "readOnly": true + }, + "resellerName": { + "type": "string", + "description": "Reseller name for transfer.", + "readOnly": true + }, + "initiatorCustomerType": { + "type": "string", + "description": "Customer type of the initiator.", + "readOnly": true + }, + "billingProfileId": { + "type": "string", + "description": "Target billing profile Id.", + "readOnly": true + }, + "transferStatus": { + "type": "string", + "$ref": "#/definitions/TransferStatus", + "description": "Overall transfer status.", + "readOnly": true + }, + "recipientEmailId": { + "type": "string", + "readOnly": true, + "description": "Email Id of recipient of transfer." + }, + "initiatorEmailId": { + "type": "string", + "readOnly": true, + "description": "Email Id of initiator of transfer." + }, + "canceledBy": { + "type": "string", + "readOnly": true, + "description": "Email Id who user canceled the transfer." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Transfer last modification time." + }, + "detailedTransferStatus": { + "type": "array", + "readOnly": true, + "description": "Detailed transfer status.", + "items": { + "$ref": "#/definitions/DetailedTransferStatus" + } + } + } + }, + "RecipientTransferProperties": { + "description": "Transfer Details.", + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Transfer creation time.", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Transfer expiration time." + }, + "allowedProductType": { + "type": "array", + "readOnly": true, + "description": "Type of subscriptions that can be transferred.", + "items": { + "$ref": "#/definitions/EligibleProductType" + } + }, + "transferStatus": { + "type": "string", + "$ref": "#/definitions/TransferStatus", + "description": "Overall transfer status.", + "readOnly": true + }, + "recipientEmailId": { + "type": "string", + "readOnly": true, + "description": "Email Id of recipient of transfer." + }, + "initiatorEmailId": { + "type": "string", + "readOnly": true, + "description": "Email Id of initiator of transfer." + }, + "resellerId": { + "type": "string", + "description": "Reseller Id for transfer.", + "readOnly": true + }, + "resellerName": { + "type": "string", + "description": "Reseller name for transfer.", + "readOnly": true + }, + "initiatorCustomerType": { + "type": "string", + "description": "Customer type of the initiator.", + "readOnly": true + }, + "canceledBy": { + "type": "string", + "readOnly": true, + "description": "Email Id who user canceled the transfer." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Transfer last modification time." + }, + "detailedTransferStatus": { + "type": "array", + "readOnly": true, + "description": "Detailed transfer status.", + "items": { + "$ref": "#/definitions/DetailedTransferStatus" + } + } + } + }, + "TransferStatus": { + "type": "string", + "description": "Possible transfer status.", + "enum": [ + "Pending", + "InProgress", + "Completed", + "CompletedWithErrors", + "Failed", + "Canceled", + "Declined" + ], + "x-ms-enum": { + "name": "transferStatus", + "modelAsString": true + } + }, + "ProductTransferStatus": { + "type": "string", + "description": "Possible transfer status.", + "enum": [ + "NotStarted", + "InProgress", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "productTransferStatus", + "modelAsString": true + } + }, + "RecipientTransferDetailsListResult": { + "description": "Result of listing details of the transfer received by caller.", + "properties": { + "value": { + "description": "The list of transfers received by caller.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/RecipientTransferDetails" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "TransferDetailsListResult": { + "description": "Result of listing details of the transfer initiated by caller.", + "properties": { + "value": { + "description": "The list of transfers initiated by caller.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/TransferDetails" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "TransferProductRequestProperties": { + "description": "The properties of the product to initiate a transfer.", + "properties": { + "destinationInvoiceSectionId": { + "type": "string", + "description": "The destination invoice section id." + }, + "destinationBillingProfileId": { + "type": "string", + "description": "The destination billing profile id." + } + } + }, + "TransferBillingSubscriptionResult": { + "type": "object", + "description": "Request parameters to transfer billing subscription.", + "properties": { + "properties": { + "description": "Request parameters to transfer billing subscription.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TransferBillingSubscriptionResultProperties" + } + } + }, + "TransferBillingSubscriptionResultProperties": { + "type": "object", + "description": "Transfer billing subscription result properties.", + "properties": { + "billingSubscriptionName": { + "type": "string", + "description": "The destination billing subscription id." + } + } + }, + "TransferBillingSubscriptionRequest": { + "type": "object", + "description": "Request parameters to transfer billing subscription.", + "properties": { + "properties": { + "description": "Request parameters to transfer billing subscription.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TransferBillingSubscriptionRequestProperties" + } + } + }, + "TransferBillingSubscriptionRequestProperties": { + "type": "object", + "description": "Request parameters to transfer billing subscription.", + "properties": { + "destinationInvoiceSectionId": { + "type": "string", + "description": "The destination invoice section id." + }, + "destinationBillingProfileId": { + "type": "string", + "description": "The destination billing profile id." + } + } + }, + "ValidateSubscriptionTransferEligibilityResult": { + "type": "object", + "description": "Result of the transfer eligibility validation.", + "properties": { + "isTransferEligible": { + "description": "Specifies whether the transfer is eligible or not.", + "type": "boolean", + "readOnly": true + }, + "errorDetails": { + "description": "Validation error details.", + "$ref": "#/definitions/ValidateSubscriptionTransferEligibilityError" + } + } + }, + "ValidateSubscriptionTransferEligibilityError": { + "type": "object", + "description": "Error details of the transfer eligibility validation", + "properties": { + "code": { + "description": "Error code for the product transfer validation.", + "$ref": "#/definitions/SubscriptionTransferValidationErrorCode" + }, + "message": { + "description": "The error message.", + "type": "string" + }, + "details": { + "description": "Detailed error message explaining the error.", + "type": "string" + } + } + }, + "SubscriptionTransferValidationErrorCode": { + "type": "string", + "description": "Error code of the transfer validation response.", + "enum": [ + "InvalidSource", + "SubscriptionNotActive", + "InsufficientPermissionOnSource", + "InsufficientPermissionOnDestination", + "DestinationBillingProfilePastDue", + "SubscriptionTypeNotSupported", + "CrossBillingAccountNotAllowed", + "NotAvailableForDestinationMarket" + ], + "x-ms-enum": { + "name": "subscriptionTransferValidationErrorCode", + "modelAsString": true + } + }, + "UpdateAutoRenewOperation": { + "type": "object", + "description": "Summary of cancel product operation", + "properties": { + "properties": { + "description": "Summary of update auto renew operation properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/UpdateAutoRenewOperationProperties" + } + } + }, + "UpdateAutoRenewOperationProperties": { + "type": "object", + "description": "update auto renew operation properties", + "properties": { + "endDate": { + "type": "string", + "format": "date-time", + "description": "The end date of this asset" + } + } + }, + "BillingAccountListResult": { + "description": "Result of listing billing accounts.", + "properties": { + "value": { + "description": "The list of billing accounts.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingAccount" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "BillingAccount": { + "description": "A billing account resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "A billing account.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingAccountProperties" + } + } + }, + "BillingAccountProperties": { + "description": "The properties of the billing account.", + "properties": { + "displayName": { + "description": "The billing account name.", + "type": "string", + "readOnly": true + }, + "address": { + "description": "The address associated with billing account.", + "$ref": "#/definitions/AddressDetails" + }, + "agreementType": { + "description": "The type of agreement.", + "type": "string", + "enum": [ + "MicrosoftCustomerAgreement", + "EnterpriseAgreement", + "MicrosoftOnlineServicesProgram" + ], + "readOnly": true, + "x-ms-enum": { + "name": "AgreementType", + "modelAsString": true + } + }, + "customerType": { + "description": "The type of customer.", + "type": "string", + "enum": [ + "Enterprise", + "Individual", + "Partner" + ], + "readOnly": true, + "x-ms-enum": { + "name": "CustomerType", + "modelAsString": true + } + }, + "billingProfiles": { + "description": "The billing profiles associated to the billing account. By default this is not populated, unless it's specified in $expand.", + "type": "array", + "items": { + "$ref": "#/definitions/BillingProfile" + } + }, + "enrollmentDetails": { + "description": "The details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/Enrollment", + "readOnly": true + }, + "departments": { + "description": "The departments associated to the enrollment.", + "type": "array", + "items": { + "$ref": "#/definitions/Department" + } + }, + "enrollmentAccounts": { + "description": "The accounts associated to the enrollment.", + "type": "array", + "items": { + "$ref": "#/definitions/EnrollmentAccount" + } + }, + "organizationId": { + "description": "Organization id.", + "type": "string", + "readOnly": true + } + } + }, + "BillingAccountUpdateRequest": { + "description": "The request properties of the billing account that can be updated.", + "properties": { + "properties": { + "description": "A billing property.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingAccountProperties" + } + } + }, + "BillingProperty": { + "description": "A billing property resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "A billing property.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingPropertyProperties" + } + } + }, + "BillingPropertyProperties": { + "description": "The billing property.", + "properties": { + "billingTenantId": { + "description": "Billing tenant Id.", + "type": "string", + "readOnly": true + }, + "billingAccountId": { + "description": "Billing account Id.", + "type": "string", + "readOnly": true + }, + "billingAccountDisplayName": { + "description": "Billing account display name.", + "type": "string", + "readOnly": true + }, + "billingProfileId": { + "description": "Billing profile Id.", + "type": "string", + "readOnly": true + }, + "billingProfileDisplayName": { + "description": "Billing profile display name.", + "type": "string", + "readOnly": true + }, + "costCenter": { + "description": "Cost center name.", + "type": "string", + "readOnly": true + }, + "invoiceSectionId": { + "description": "Invoice Section Id.", + "type": "string", + "readOnly": true + }, + "invoiceSectionDisplayName": { + "description": "Invoice Section display name.", + "type": "string", + "readOnly": true + }, + "productId": { + "description": "Product Id.", + "type": "string", + "readOnly": true + }, + "productName": { + "description": "Product name.", + "type": "string", + "readOnly": true + }, + "skuId": { + "description": "SKU Id.", + "type": "string", + "readOnly": true + }, + "skuDescription": { + "description": "SKU description.", + "type": "string", + "readOnly": true + } + } + }, + "Enrollment": { + "description": "Current entity level details", + "properties": { + "startDate": { + "description": "Enrollment Start Date", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "Enrollment End Date", + "type": "string", + "format": "date-time" + }, + "currency": { + "description": "The currency associated with enrollment", + "type": "string", + "readOnly": true + }, + "channel": { + "description": "The channel for Enrollment", + "type": "string", + "readOnly": true + }, + "policies": { + "description": "The attributes associated with legacy enrollment.", + "$ref": "#/definitions/EnrollmentPolicies", + "readOnly": true + }, + "language": { + "description": "The language for Enrollment", + "type": "string", + "readOnly": true + }, + "countryCode": { + "description": "The countryCode for Enrollment", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Enrollment status", + "type": "string", + "readOnly": true + }, + "billingCycle": { + "description": "Enrollment billing cycle", + "type": "string", + "readOnly": true + } + } + }, + "EnrollmentPolicies": { + "description": "The attributes associated with legacy enrollment", + "properties": { + "accountOwnerViewCharges": { + "description": "The accountOwnerViewCharges flag for Enrollment", + "type": "boolean", + "readOnly": true + }, + "departmentAdminViewCharges": { + "description": "The departmentAdminViewCharges flag for Enrollment", + "type": "boolean", + "readOnly": true + }, + "marketplacesEnabled": { + "description": "The marketplaces flag for Enrollment", + "type": "boolean", + "readOnly": true + }, + "reservedInstancesEnabled": { + "description": "The reserved instances flag for Enrollment", + "type": "boolean", + "readOnly": true + } + } + }, + "DepartmentListResult": { + "description": "Result of listing departments.", + "properties": { + "value": { + "description": "The list of departments.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Department" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Department": { + "description": "A department resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "A department.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DepartmentProperties" + } + } + }, + "DepartmentProperties": { + "description": "The properties of the department.", + "properties": { + "departmentName": { + "description": "The name for department.", + "type": "string" + }, + "costCenter": { + "description": "The cost center name.", + "type": "string" + }, + "status": { + "description": "The status for department.", + "type": "string" + }, + "enrollmentAccounts": { + "description": "Associated enrollment accounts. By default this is not populated, unless it's specified in $expand.", + "type": "array", + "items": { + "$ref": "#/definitions/EnrollmentAccount" + } + } + } + }, + "EnrollmentAccountListResult": { + "description": "Result of listing enrollment accounts.", + "properties": { + "value": { + "description": "The list of enrollment accounts.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/EnrollmentAccount" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "EnrollmentAccount": { + "description": "An account resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "An account.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/EnrollmentAccountProperties" + } + } + }, + "EnrollmentAccountProperties": { + "description": "The properties of the account.", + "properties": { + "accountName": { + "description": "The account name.", + "type": "string" + }, + "costCenter": { + "description": "The cost center name.", + "type": "string" + }, + "accountOwner": { + "description": "The account owner", + "type": "string" + }, + "status": { + "description": "The status for account.", + "type": "string" + }, + "startDate": { + "description": "Account Start Date", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "Account End Date", + "type": "string", + "format": "date-time" + }, + "department": { + "description": "Associated department. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/Department" + } + } + }, + "BillingProfileListResult": { + "description": "Result of listing billing profiles.", + "properties": { + "value": { + "description": "The list of billing profiles.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingProfile" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "BillingProfile": { + "description": "A billing profile resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "A billing profile.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingProfileProperties" + } + } + }, + "BillingProfileCreationRequest": { + "description": "The request parameters for creating a new billing profile.", + "properties": { + "displayName": { + "description": "The billing profile name.", + "type": "string" + }, + "poNumber": { + "description": "Purchase order number.", + "type": "string" + }, + "address": { + "description": "Billing address.", + "$ref": "#/definitions/AddressDetails" + }, + "invoiceEmailOptIn": { + "description": "If the billing profile is opted in to receive invoices via email.", + "type": "boolean" + }, + "enabledAzurePlans": { + "description": "Enabled azure plans for this billing profile.", + "type": "array", + "items": { + "$ref": "#/definitions/AzurePlan" + } + } + } + }, + "BillingProfileProperties": { + "description": "The properties of the billing profile.", + "properties": { + "displayName": { + "description": "The billing profile name.", + "type": "string" + }, + "poNumber": { + "description": "Purchase order number.", + "type": "string" + }, + "address": { + "description": "Billing address.", + "$ref": "#/definitions/AddressDetails" + }, + "invoiceEmailOptIn": { + "description": "If the billing profile is opted in to receive invoices via email.", + "type": "boolean", + "readOnly": true + }, + "invoiceDay": { + "description": "Invoice day.", + "type": "integer", + "readOnly": true + }, + "currency": { + "description": "The currency associated with the billing profile.", + "type": "string", + "readOnly": true + }, + "enabledAzurePlans": { + "description": "Information about the enabled azure plans.", + "type": "array", + "items": { + "$ref": "#/definitions/AzurePlan" + } + }, + "invoiceSections": { + "description": "The invoice sections associated to the billing profile.", + "type": "array", + "items": { + "$ref": "#/definitions/InvoiceSection" + } + } + } + }, + "AddressDetails": { + "description": "Address details.", + "properties": { + "firstName": { + "description": "First Name.", + "type": "string" + }, + "lastName": { + "description": "Last Name.", + "type": "string" + }, + "companyName": { + "description": "Company Name.", + "type": "string" + }, + "addressLine1": { + "description": "Address Line1.", + "type": "string" + }, + "addressLine2": { + "description": "Address Line2.", + "type": "string" + }, + "addressLine3": { + "description": "Address Line3.", + "type": "string" + }, + "city": { + "description": "Address City.", + "type": "string" + }, + "region": { + "description": "Address Region.", + "type": "string" + }, + "country": { + "description": "Country code uses ISO2, 2-digit format.", + "type": "string" + }, + "postalCode": { + "description": "Address Postal Code.", + "type": "string" + } + } + }, + "InvoiceSectionCreationRequest": { + "description": "The properties of an InvoiceSection.", + "properties": { + "displayName": { + "description": "The name of the InvoiceSection.", + "type": "string" + } + } + }, + "InvoiceSectionListResult": { + "description": "Result of listing invoice sections.", + "properties": { + "value": { + "description": "The list of invoice sections.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/InvoiceSection" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "InvoiceSection": { + "description": "An InvoiceSection resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The InvoiceSection.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InvoiceSectionProperties" + } + } + }, + "InvoiceSectionProperties": { + "description": "The properties of an InvoiceSection.", + "properties": { + "displayName": { + "description": "The name of the InvoiceSection.", + "type": "string" + } + } + }, + "AzurePlan": { + "description": "Details about the azure plan.", + "properties": { + "skuId": { + "description": "The sku id.", + "type": "string" + }, + "skuDescription": { + "description": "The sku description.", + "type": "string", + "readOnly": true + } + } + }, + "DownloadUrl": { + "description": "A secure URL that can be used to download a an entity until the URL expires.", + "properties": { + "expiryTime": { + "description": "The time in UTC at which this download URL will expire.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "url": { + "description": "The URL to the PDF file.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorDetails": { + "description": "The details of the error.", + "properties": { + "code": { + "description": "Error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorResponse": { + "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "x-ms-azure-resource": true + }, + "InvoiceListResult": { + "description": "Result of listing invoices.", + "properties": { + "value": { + "description": "The list of invoices.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Invoice" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Invoice": { + "description": "An invoice resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "An invoice.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InvoiceProperties" + } + } + }, + "InvoiceProperties": { + "description": "The properties of the invoice.", + "properties": { + "dueDate": { + "description": "The due date for invoice.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "invoiceDate": { + "description": "The date when invoice was created.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "description": "Invoice status.", + "type": "string", + "enum": [ + "PastDue", + "Due", + "Paid", + "Void" + ], + "readOnly": true, + "x-ms-enum": { + "name": "InvoiceStatus", + "modelAsString": true + } + }, + "amountDue": { + "description": "Amount due.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "billedAmount": { + "description": "Amount billed.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "invoicePeriodStartDate": { + "description": "The start date of the billing period.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "invoicePeriodEndDate": { + "description": "The end date of the billing period.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingProfileId": { + "description": "The billing profile id this invoice belongs to.", + "type": "string", + "readOnly": true + }, + "billingProfileDisplayName": { + "description": "The billing profile display name this invoice belongs to.", + "type": "string", + "readOnly": true + }, + "purchaseOrderNumber": { + "description": "The purchase identifier for the invoice.", + "type": "string", + "readOnly": true + }, + "documents": { + "description": "List of documents available to download including invoice and tax documents.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Document" + } + }, + "payments": { + "description": "List of payments.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PaymentProperties" + } + } + } + }, + "PaymentProperties": { + "description": "The properties of the payment.", + "properties": { + "paymentType": { + "description": "The type of payment.", + "type": "string", + "readOnly": true + }, + "amount": { + "description": "The paid amount.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "date": { + "description": "The date of the payment.", + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "Document": { + "description": "The properties of the invoice download.", + "properties": { + "kind": { + "description": "Document type.", + "type": "string", + "enum": [ + "Invoice", + "VoidNote", + "Receipt", + "CreditNote" + ], + "readOnly": true, + "x-ms-enum": { + "name": "DocumentType", + "modelAsString": true + } + }, + "url": { + "description": "Document URL.", + "type": "string", + "readOnly": true + } + } + }, + "ProductsListResult": { + "description": "Result of listing products. It contains a list of available products summaries in reverse chronological order by purchase date.", + "properties": { + "value": { + "description": "The list of products.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Product" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Product": { + "description": "A product resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProductProperties", + "title": "Product properties" + } + } + }, + "ProductProperties": { + "description": "The properties of the product.", + "properties": { + "displayName": { + "description": "The display name of the product.", + "type": "string", + "readOnly": true + }, + "purchaseDate": { + "description": "The date of purchase.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "productTypeId": { + "description": "The product type id.", + "type": "string", + "readOnly": true + }, + "productType": { + "description": "The type of product.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Product status.", + "type": "string", + "enum": [ + "Active", + "Inactive", + "PastDue", + "Expiring", + "Expired", + "Disabled", + "Cancelled", + "AutoRenew" + ], + "x-ms-enum": { + "name": "ProductStatusType", + "modelAsString": true + } + }, + "endDate": { + "description": "end date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingFrequency": { + "description": "Billing frequency.", + "type": "string", + "enum": [ + "OneTime", + "Monthly", + "UsageBased" + ], + "x-ms-enum": { + "name": "BillingFrequency", + "modelAsString": true + } + }, + "lastCharge": { + "description": "Last month charges.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "lastChargeDate": { + "description": "The date of the last charge.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "quantity": { + "description": "The purchased product quantity.", + "type": "number", + "readOnly": true + }, + "skuId": { + "description": "Sku Id.", + "type": "string", + "readOnly": true + }, + "skuDescription": { + "description": "Sku description.", + "type": "string", + "readOnly": true + }, + "availabilityId": { + "description": "Availability Id.", + "type": "string", + "readOnly": true + }, + "parentProductId": { + "description": "Parent Product Id.", + "type": "string", + "readOnly": true + }, + "invoiceSectionId": { + "description": "Invoice section id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "invoiceSectionDisplayName": { + "description": "Invoice section display name to which this product belongs.", + "type": "string", + "readOnly": true + }, + "billingProfileId": { + "description": "Billing Profile id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "billingProfileDisplayName": { + "description": "Billing Profile display name to which this product belongs.", + "type": "string", + "readOnly": true + } + } + }, + "ValidateProductTransferEligibilityResult": { + "type": "object", + "description": "Result of the product transfer eligibility validation.", + "properties": { + "isTransferEligible": { + "description": "Specifies whether the transfer is eligible or not.", + "type": "boolean", + "readOnly": true + }, + "errorDetails": { + "description": "Validation error details.", + "$ref": "#/definitions/ValidateProductTransferEligibilityError" + } + } + }, + "ValidateProductTransferEligibilityError": { + "type": "object", + "description": "Error details of the product transfer eligibility validation.", + "properties": { + "code": { + "description": "Error code for the product transfer validation.", + "$ref": "#/definitions/ProductTransferValidationErrorCode" + }, + "message": { + "description": "The error message.", + "type": "string" + }, + "details": { + "description": "Detailed error message explaining the error.", + "type": "string" + } + } + }, + "ProductTransferValidationErrorCode": { + "type": "string", + "description": "Error code of the transfer validation response.", + "enum": [ + "InvalidSource", + "ProductNotActive", + "InsufficientPermissionOnSource", + "InsufficientPermissionOnDestination", + "DestinationBillingProfilePastDue", + "ProductTypeNotSupported", + "CrossBillingAccountNotAllowed", + "NotAvailableForDestinationMarket", + "OneTimePurchaseProductTransferNotAllowed" + ], + "x-ms-enum": { + "name": "productTransferValidationErrorCode", + "modelAsString": true + } + }, + "BillingSubscriptionsListResult": { + "description": "Result of listing billing subscriptions.", + "properties": { + "value": { + "description": "The list of billing subscriptions.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingSubscription" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "BillingSubscription": { + "description": "A billing Subscription resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingSubscriptionProperties", + "title": "Billing subscription properties" + } + } + }, + "BillingSubscriptionProperties": { + "description": "The usage context properties.", + "properties": { + "displayName": { + "description": "display name.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription Id.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "subscriptionBillingStatus": { + "description": "Subscription billing status.", + "type": "string", + "enum": [ + "Active", + "Inactive", + "Abandoned", + "Deleted", + "Warning" + ], + "x-ms-enum": { + "name": "BillingSubscriptionStatusType", + "modelAsString": true + } + }, + "lastMonthCharges": { + "description": "Last month charges.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "monthToDateCharges": { + "description": "Month to date charges.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "billingProfileId": { + "description": "Billing Profile id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "billingProfileDisplayName": { + "description": "Billing Profile display name to which this product belongs.", + "type": "string", + "readOnly": true + }, + "invoiceSectionId": { + "description": "Invoice section id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "invoiceSectionDisplayName": { + "description": "Invoice section display name to which this product belongs.", + "type": "string", + "readOnly": true + }, + "skuId": { + "description": "The sku id.", + "type": "string" + }, + "skuDescription": { + "description": "The sku description.", + "type": "string", + "readOnly": true + } + } + }, + "EnrollmentAccountContext": { + "description": "The rating context.", + "properties": { + "costCenter": { + "description": "The cost center name.", + "type": "string" + }, + "startDate": { + "description": "Account Start Date", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "Account End Date", + "type": "string", + "format": "date-time" + }, + "enrollmentAccountName": { + "description": "The enrollment account id.", + "type": "string" + } + } + }, + "TransactionListResult": { + "description": "Result of listing reservation transactions.", + "properties": { + "value": { + "description": "The list of reservation transactions.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Transaction" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Transaction": { + "description": "A reservation transaction resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TransactionProperties", + "title": "Reservation transaction properties" + } + } + }, + "TransactionProperties": { + "description": "The properties of the reservation transaction.", + "properties": { + "kind": { + "type": "string", + "description": "The kind of transaction. Choices are all and reservation.", + "enum": [ + "all", + "reservation" + ], + "x-ms-enum": { + "name": "TransactionTypeKind", + "modelAsString": true + } + }, + "date": { + "description": "The date of reservation transaction.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "invoice": { + "description": "Invoice number or 'pending' if not invoiced.", + "type": "string", + "readOnly": true + }, + "orderId": { + "description": "The reservation order id.", + "type": "string", + "readOnly": true + }, + "orderName": { + "description": "The reservation order name.", + "type": "string", + "readOnly": true + }, + "productFamily": { + "description": "The product family.", + "type": "string", + "readOnly": true + }, + "productTypeId": { + "description": "The product type id.", + "type": "string", + "readOnly": true + }, + "productType": { + "description": "The type of product.", + "type": "string", + "readOnly": true + }, + "productDescription": { + "description": "Product description.", + "type": "string", + "readOnly": true + }, + "transactionType": { + "description": "Transaction types.", + "type": "string", + "enum": [ + "Purchase", + "Usage Charge" + ], + "x-ms-enum": { + "name": "ReservationType", + "modelAsString": true + } + }, + "transactionAmount": { + "description": "Last charge associated with the purchase.", + "readOnly": true, + "$ref": "#/definitions/Amount" + }, + "quantity": { + "description": "Purchase quantity.", + "type": "integer", + "readOnly": true + }, + "invoiceSectionId": { + "description": "Invoice section id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "invoiceSectionDisplayName": { + "description": "Invoice section display name to which this product belongs.", + "type": "string", + "readOnly": true + }, + "billingProfileId": { + "description": "Billing Profile id to which this product belongs.", + "type": "string", + "readOnly": true + }, + "billingProfileDisplayName": { + "description": "Billing Profile display name to which this product belongs.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "The subscription id.", + "type": "string", + "readOnly": true + }, + "subscriptionName": { + "description": "The subscription name.", + "type": "string", + "readOnly": true + } + } + }, + "Policy": { + "description": "The Policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PolicyProperties", + "title": "Policy properties" + } + } + }, + "PolicyProperties": { + "description": "The properties of policy.", + "properties": { + "marketplacePurchases": { + "description": "The marketplace purchases are free, allowed or not allowed.", + "type": "string", + "enum": [ + "AllAllowed", + "FreeAllowed", + "NotAllowed" + ], + "x-ms-enum": { + "name": "MarketplacePurchasesPolicy", + "modelAsString": true + } + }, + "reservationPurchases": { + "description": "The reservation purchases allowed or not.", + "type": "string", + "enum": [ + "Allowed", + "NotAllowed" + ], + "x-ms-enum": { + "name": "ReservationPurchasesPolicy", + "modelAsString": true + } + }, + "viewCharges": { + "description": "Who can view charges.", + "type": "string", + "enum": [ + "None", + "SubscriptionOwner" + ], + "x-ms-enum": { + "name": "ViewChargesPolicy", + "modelAsString": true + } + } + } + }, + "AvailableBalance": { + "description": "Latest available balance on Monetary Credit PI.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AvailableBalanceProperties", + "title": "Available balance properties" + } + } + }, + "AvailableBalanceProperties": { + "description": "The properties of available balance.", + "properties": { + "amount": { + "description": "Balance Amount.", + "readOnly": true, + "$ref": "#/definitions/Amount" + } + } + }, + "Amount": { + "description": "The Amount.", + "properties": { + "currency": { + "description": "The currency for the amount value.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "Amount value.", + "type": "number" + } + } + }, + "PaymentMethodsListResult": { + "description": "Result of listing payment methods.", + "properties": { + "value": { + "description": "The list of payment methods.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PaymentMethod" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PaymentMethod": { + "description": "A payment method resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PaymentMethodProperties", + "title": "Payment method properties" + } + } + }, + "PaymentMethodProperties": { + "description": "The properties of the payment method.", + "properties": { + "paymentMethodType": { + "description": "Payment method type.", + "type": "string", + "enum": [ + "Credits", + "ChequeWire" + ], + "x-ms-enum": { + "name": "PaymentMethodType", + "modelAsString": true + } + }, + "details": { + "description": "Details about the payment method.", + "type": "string", + "readOnly": true + }, + "expiration": { + "description": "Expiration month and year.", + "type": "string", + "readOnly": true + }, + "currency": { + "description": "The currency associated with the payment method.", + "type": "string", + "readOnly": true + } + } + }, + "UpdateAutoRenewRequest": { + "type": "object", + "description": "Request parameters to update auto renew for support product.", + "properties": { + "autoRenew": { + "description": "Request parameters to update auto renew policy a product.", + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "UpdateAutoRenew", + "modelAsString": true + } + } + } + }, + "Operation": { + "description": "A Billing REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Billing.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed: Invoice, etc.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string", + "readOnly": true + } + } + } + } + }, + "OperationListResult": { + "description": "Result listing billing operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "description": "List of billing operations supported by the Microsoft.Billing resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL to get the next set of operation list results if there are any.", + "type": "string", + "readOnly": true + } + } + }, + "BillingRoleAssignmentPayload": { + "description": "The payload use to update role assignment on a scope", + "properties": { + "principalId": { + "description": "The user's principal id that the role gets assigned to", + "type": "string" + }, + "billingRoleDefinitionId": { + "description": "The role definition id", + "type": "string" + } + } + }, + "BillingRoleAssignmentListResult": { + "description": "Result of get list of role assignments", + "properties": { + "value": { + "description": "The list role assignments", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingRoleAssignment" + } + } + } + }, + "BillingRoleAssignment": { + "description": "a role assignment", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The role assignment the caller has", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingRoleAssignmentProperties" + } + } + }, + "BillingRoleAssignmentProperties": { + "description": "The properties of the a role assignment.", + "properties": { + "createdOn": { + "description": "the date the role assignment is created", + "type": "string", + "readOnly": true + }, + "createdByPrincipalTenantId": { + "description": "the creator's tenant Id", + "type": "string", + "readOnly": true + }, + "createdByPrincipalId": { + "description": "the creator's principal Id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "the name of the role assignment", + "type": "string", + "readOnly": true + }, + "principalId": { + "description": "The user's principal id that the role gets assigned to", + "type": "string", + "readOnly": true + }, + "roleDefinitionName": { + "description": "The role definition id", + "type": "string", + "readOnly": true + }, + "scope": { + "description": "The scope the role get assigned to", + "type": "string", + "readOnly": true + } + } + }, + "BillingRoleDefinitionListResult": { + "description": "list the role definitions.", + "properties": { + "value": { + "description": "The list of role definitions.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingRoleDefinition" + } + } + } + }, + "BillingRoleDefinition": { + "description": "Result of get role definition for a role.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The role definition for a role.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingRoleDefinitionProperties" + } + } + }, + "BillingRoleDefinitionProperties": { + "description": "The properties of the a role definition.", + "properties": { + "description": { + "description": "The role description", + "type": "string", + "readOnly": true + }, + "permissions": { + "description": "The billingPermissions the role has", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BillingPermissionsListResult" + }, + "roleName": { + "description": "The name of the role", + "type": "string", + "readOnly": true + } + } + }, + "BillingPermissionsListResult": { + "description": "Result of list billingPermissions a caller has on a billing account.", + "properties": { + "value": { + "description": "The list OF billingPermissions a caller has on a billing account.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BillingPermissionsProperties" + } + } + } + }, + "BillingPermissionsProperties": { + "description": "The set of allowed action and not allowed actions a caller has on a billing account", + "type": "object", + "properties": { + "actions": { + "description": "The set of actions that the caller is allowed to do", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Action" + } + }, + "notActions": { + "description": "The set of actions the caller is not allowed to do", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/NotAction" + } + } + } + }, + "AgreementListResult": { + "description": "Result of listing agreements.", + "properties": { + "value": { + "description": "The list of agreements.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Agreement" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Agreement": { + "description": "An agreement resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "An agreement.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AgreementProperties" + } + } + }, + "AgreementProperties": { + "description": "The properties of the agreement.", + "properties": { + "agreementLink": { + "description": "The link to the agreement.", + "type": "string", + "readOnly": true + }, + "effectiveDate": { + "description": "Effective date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationDate": { + "description": "Expiration date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "participants": { + "description": "Participants or signer of the agreement.", + "type": "array", + "items": { + "$ref": "#/definitions/Participants" + } + }, + "status": { + "description": "The agreement status", + "type": "string", + "readOnly": true + } + } + }, + "Participants": { + "description": "Details about the participant or signer.", + "properties": { + "status": { + "description": "The signing status", + "type": "string", + "readOnly": true + }, + "statusDate": { + "description": "The date when status got changed.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "email": { + "description": "The email address of the participant or signer.", + "type": "string", + "readOnly": true + } + } + }, + "LineOfCredit": { + "description": "Line of credit resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "A line of credit.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LineOfCreditProperties" + } + } + }, + "LineOfCreditProperties": { + "description": "The properties of the line of credit.", + "properties": { + "creditLimit": { + "description": "The current credit limit.", + "$ref": "#/definitions/Amount", + "readOnly": false + }, + "reason": { + "description": "The reason for the line of credit status when not approved.", + "type": "string", + "readOnly": true + }, + "remainingBalance": { + "description": "Remaining balance.", + "$ref": "#/definitions/Amount", + "readOnly": true + }, + "status": { + "description": "The line of credit status.", + "type": "string", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + } + }, + "Action": { + "description": "the action the caller allowed to do", + "type": "string", + "readOnly": true + }, + "NotAction": { + "description": "the action the caller doesn't allowed to do", + "type": "string", + "readOnly": true + } + }, + "parameters": { + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. The current version is 2019-10-01-preview." + }, + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure Subscription ID.", + "required": true, + "type": "string" + }, + "billingAccountNameParameter": { + "name": "billingAccountName", + "in": "path", + "description": "billing Account Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "invoiceSectionNameParameter": { + "name": "invoiceSectionName", + "in": "path", + "description": "InvoiceSection Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "enrollmentAccountNameParameter": { + "name": "enrollmentAccountName", + "in": "path", + "description": "Enrollment Account Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "departmentNameParameter": { + "name": "departmentName", + "in": "path", + "description": "Department Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingProfileNameParameter": { + "name": "billingProfileName", + "in": "path", + "description": "Billing Profile Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationIdParameter": { + "name": "operationId", + "in": "path", + "description": "Operation Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingRoleDefinitionNameParameter": { + "name": "billingRoleDefinitionName", + "in": "path", + "description": "role definition id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingRoleAssignmentNameParameter": { + "name": "billingRoleAssignmentName", + "in": "path", + "description": "role assignment id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "invoiceNameParameter": { + "name": "invoiceName", + "in": "path", + "description": "Invoice Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "productNameParameter": { + "name": "productName", + "in": "path", + "description": "Invoice Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingSubscriptionNameParameter": { + "name": "billingSubscriptionName", + "in": "path", + "description": "Billing Subscription Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "transferNameParameter": { + "name": "transferName", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Transfer Name." + }, + "agreementNameParameter": { + "name": "agreementName", + "in": "path", + "description": "Agreement Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "transactionNameParameter": { + "name": "transactionName", + "in": "path", + "description": "Transaction name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "updateAutoRenewRequestParameter": { + "name": "body", + "x-ms-parameter-location": "method", + "in": "body", + "required": true, + "description": "Update auto renew request parameters.", + "schema": { + "$ref": "#/definitions/UpdateAutoRenewRequest" + } + }, + "customerNameParameter": { + "name": "customerName", + "in": "path", + "description": "Customer name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AcceptTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AcceptTransfer.json new file mode 100644 index 000000000000..9f185466b835 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AcceptTransfer.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "transferName": "transferName", + "parameters": { + "properties": { + "productDetails": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingAccount.json new file mode 100644 index 000000000000..f73ffa2b0feb --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingAccount.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "parameters": { + "principalId": "00000000-0000-0000-0000-000000000000", + "billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000" + } + }, + "responses": { + "201": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "properties": { + "createdOn": "2018-06-22T06:03:51.430844+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "principalId": "129db794-64a5-44e0-9838-002780478959", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "properties": { + "createdOn": "2018-07-06T05:52:57.1463874+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "principalId": "d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "properties": { + "createdOn": "2018-07-10T22:04:33.8309285+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "principalId": "c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingProfile.json new file mode 100644 index 000000000000..f3995e9ec50f --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToBillingProfile.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "parameters": { + "principalId": "00000000-0000-0000-0000-000000000000", + "billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000" + } + }, + "responses": { + "201": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToInvoiceSection.json new file mode 100644 index 000000000000..6fe07a1e5fb1 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddRoleAssignmentToInvoiceSection.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "parameters": { + "principalId": "00000000-0000-0000-0000-000000000000", + "billingRoleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Billing/billingRoleDefinition/10000000-aaaa-bbbb-cccc-100000000000" + } + }, + "responses": { + "201": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressInvalid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressInvalid.json new file mode 100644 index 000000000000..7866e1f28e47 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressInvalid.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "address": { + "addressLine1": "55 110th Ave NE", + "city": "bellevue", + "region": "wa", + "postalCode": "98004", + "country": "us" + } + }, + "responses": { + "200": { + "body": { + "status": "Invalid", + "suggestedAddresses": [ + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "100 110th Ave NE", + "postalCode": "98004" + }, + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "102 110th Ave NE", + "postalCode": "98004-5804" + }, + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "104 110th Ave NE", + "postalCode": "98004-5804" + } + ], + "validationMessage": "Invalid address" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressValid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressValid.json new file mode 100644 index 000000000000..f22d87b8f0d6 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AddressValid.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "address": { + "addressLine1": "555 110th Ave NE", + "city": "bellevue", + "region": "wa", + "postalCode": "98004", + "country": "us" + } + }, + "responses": { + "200": { + "body": { + "status": "Valid", + "suggestedAddresses": [ + { + "country": "US", + "region": "WA", + "city": "Bellevue", + "addressLine1": "555 110th Ave NE", + "postalCode": "98004-5124" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementByName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementByName.json new file mode 100644 index 000000000000..a74474b993f3 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementByName.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "agreementName": "{agreementName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}", + "name": "{agreementName}", + "type": "Microsoft.Billing/billingAccounts/agreements", + "properties": { + "agreementLink": "https://agreementuri1.com", + "effectiveDate": "2018-12-05T00:00:00Z", + "expirationDate": "2018-12-05T00:00:00Z", + "participants": [ + { + "status": "Accepted", + "statusDate": "2018-11-01T00:00:00Z", + "email": "abc@contoso.com" + }, + { + "status": "Declined", + "statusDate": "2018-11-02T00:00:00Z", + "email": "xyz@contoso.com" + } + ], + "status": "Published" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementsListByBillingAccountName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementsListByBillingAccountName.json new file mode 100644 index 000000000000..7858b33f3449 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AgreementsListByBillingAccountName.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/Agreement1", + "name": "Agreement1", + "type": "Microsoft.Billing/billingAccounts/agreements", + "properties": { + "agreementLink": "https://agreementuri1.com", + "effectiveDate": "2018-12-05T00:00:00Z", + "expirationDate": "2018-12-05T00:00:00Z", + "participants": [ + { + "status": "Accepted", + "statusDate": "2018-11-01T00:00:00Z", + "email": "abc@contoso.com" + }, + { + "status": "Declined", + "statusDate": "2018-11-02T00:00:00Z", + "email": "xtz@contoso.com" + } + ], + "status": "Published" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/Agreement2", + "name": "Agreement2", + "type": "Microsoft.Billing/billingAccounts/agreements", + "properties": { + "agreementLink": "https://agreementuri2.com", + "effectiveDate": "2018-12-05T00:00:00Z", + "expirationDate": "2018-12-05T00:00:00Z", + "participants": [ + { + "status": "Unknown", + "statusDate": "2018-11-01T00:00:00Z", + "email": "abc@contoso.com" + } + ], + "status": "PendingSignature" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AvailableBalanceByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AvailableBalanceByBillingProfile.json new file mode 100644 index 000000000000..9d5dfbeecf45 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/AvailableBalanceByBillingProfile.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default", + "name": "default", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/availableBalance", + "properties": { + "amount": { + "currency": "USD", + "value": 500.00 + } + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccount.json new file mode 100644 index 000000000000..aa49d5ce7f72 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccount.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}", + "name": "{billingAccountName}", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account", + "agreementType": "MicrosoftCustomerAgreement", + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountInvoicesList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountInvoicesList.json new file mode 100644 index 000000000000..f12d4ea01d35 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountInvoicesList.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "periodStartDate": "2018-01-01", + "periodEndDate": "2018-06-30", + "$filter": "invoicePeriodStartDate le 2018-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoices/1383723", + "name": "1383723", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoices", + "properties": { + "dueDate": "2018-01-16T17:32:28Z", + "invoiceDate": "2018-01-01T17:32:28Z", + "status": "Due", + "amountDue": { + "currency": "USD", + "value": 2000.00 + }, + "billedAmount": { + "currency": "USD", + "value": 2000.00 + }, + "invoicePeriodStartDate": "2018-01-01T17:32:28Z", + "invoicePeriodEndDate": "2018-01-15T17:32:28Z", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso Operations Billing", + "purchaseOrderNumber": "123456", + "documents": [ + { + "kind": "Invoice", + "url": "https://microsoft.com/invoice.pdf" + } + ], + "payments": [ + { + "date": "2018-01-14T17:32:28Z", + "paymentType": "credited", + "amount": { + "currency": "USD", + "value": 2000.00 + } + } + ] + } + }, + { + "id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoices/1383724", + "name": "1383724", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoices", + "properties": { + "dueDate": "2018-03-01T17:32:28Z", + "invoiceDate": "2018-02-01T17:32:28Z", + "status": "PastDue", + "amountDue": { + "currency": "USD", + "value": 2000.00 + }, + "billedAmount": { + "currency": "USD", + "value": 2000.00 + }, + "invoicePeriodStartDate": "2018-02-01T17:32:28Z", + "invoicePeriodEndDate": "2018-02-30T17:32:28Z", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso Operations Billing", + "purchaseOrderNumber": "123456", + "documents": [ + { + "kind": "VoidNote", + "url": "https://microsoft.com/voidNote.pdf" + } + ], + "payments": [ + { + "date": "2018-01-14T17:32:28Z", + "paymentType": "credited", + "amount": { + "currency": "USD", + "value": 2000.00 + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountPermissionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountPermissionsList.json new file mode 100644 index 000000000000..26c530ba03ed --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountPermissionsList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000015", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000009", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "20000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000008", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000010", + "30000000-aaaa-bbbb-cccc-200000000001" + ], + "notActions": [] + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignment.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignment.json new file mode 100644 index 000000000000..c8e641b5a9e9 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignment.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingRoleAssignmentName": "{billingRoleAssignmentId}" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentDelete.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentDelete.json new file mode 100644 index 000000000000..8df315a28b98 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingRoleAssignmentName": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "type": "Microsoft.Billing/roleAssignments", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentList.json new file mode 100644 index 000000000000..40ed0ea73d50 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleAssignmentList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinition.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinition.json new file mode 100644 index 000000000000..61a74831ac7a --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinition.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingRoleDefinitionName": "{billingRoleDefinitionName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}", + "name": "{billingRoleDefinitionName}", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinitionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinitionsList.json new file mode 100644 index 000000000000..59e5114ee84b --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountRoleDefinitionsList.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000001", + "name": "10000000-aaaa-bbbb-cccc-100000000001", + "properties": { + "description": "The Contributor role give the user all permissions except access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_contributor" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000002", + "name": "10000000-aaaa-bbbb-cccc-100000000002", + "properties": { + "description": "The Reader role gives the user read only access to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000003", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_reader" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000003", + "name": "10000000-aaaa-bbbb-cccc-100000000003", + "properties": { + "description": "The Signatory role can sign agreements on behalf of the customer.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003" + ], + "notActions": [] + } + ], + "roleName": "signatory" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000004", + "name": "10000000-aaaa-bbbb-cccc-100000000004", + "properties": { + "description": "The Basic Purchaser role gives the user the ability to make purchases by creating new Projects and Billing Groups.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_basic_purchaser" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000005", + "name": "10000000-aaaa-bbbb-cccc-100000000005", + "properties": { + "description": "The Project Creator role gives the user the ability to create new Projects.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000006" + ], + "notActions": [] + } + ], + "roleName": "project_creator" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountWithExpand.json new file mode 100644 index 000000000000..4d567b59a53a --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountWithExpand.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "$expand": "address, invoiceSections, billingProfiles" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}", + "name": "{billingAccountName}", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 1", + "agreementType": "MicrosoftCustomerAgreement", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address", + "addressLine2": "Test Address", + "addressLine3": "Test Address", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000", + "billingProfiles": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "name": "11000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId1", + "name": "invoiceSectionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName1" + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000001", + "name": "11000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile2", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000001/invoiceSections/invoiceSectionId2", + "name": "invoiceSectionId2", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName2" + } + } + ] + } + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsList.json new file mode 100644 index 000000000000..8ae24f9be32b --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 1", + "agreementType": "MicrosoftCustomerAgreement", + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000", + "name": "10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 2", + "agreementType": "MicrosoftCustomerAgreement", + "address": null, + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/20000000-0000-0000-0000-000000000002_00000000-0000-0000-0000-000000000000", + "name": "20000000-0000-0000-0000-000000000002_00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 3", + "agreementType": "MicrosoftCustomerAgreement", + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpand.json new file mode 100644 index 000000000000..e4c38f61575b --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpand.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "$expand": "address, billingProfiles, billingProfiles/invoiceSections" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 1", + "agreementType": "MicrosoftCustomerAgreement", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address", + "addressLine2": "Test Address", + "addressLine3": "Test Address", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000", + "billingProfiles": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000", + "name": "11000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId1", + "name": "invoiceSectionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName1" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId2", + "name": "invoiceSectionId2", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName2" + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000001", + "name": "11000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile2", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000001/invoiceSections/invoiceSectionId11", + "name": "invoiceSectionId11", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName11" + } + } + ] + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000", + "name": "10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account 2", + "agreementType": "MicrosoftCustomerAgreement", + "address": null, + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000", + "billingProfiles": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004", + "name": "11000000-0000-0000-0000-000000000004", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile3", + "address": { + "companyName": "Contoso Test", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004/invoiceSections/invoiceSectionId3", + "name": "invoiceSectionId3", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName3" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000004/invoiceSections/invoiceSectionId4", + "name": "invoiceSectionId4", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName4" + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005", + "name": "11000000-0000-0000-0000-000000000005", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile4", + "address": { + "companyName": "Contoso Test", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005/invoiceSections/invoiceSectionId5", + "name": "invoiceSectionId5", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName5" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000005/invoiceSections/invoiceSectionId6", + "name": "invoiceSectionId6", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName6" + } + } + ] + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpandForEnrollmentDetails.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpandForEnrollmentDetails.json new file mode 100644 index 000000000000..6ffece0e6a18 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountsListWithExpandForEnrollmentDetails.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "$expand": "properties/enrollmentDetails, properties/departments, properties/enrollmentAccounts" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/7645820", + "name": "7645820", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "agreementType": "EnterpriseAgreement", + "address": { + "addressLine1": "Test Address", + "addressLine2": "Test Address", + "addressLine3": "Test Address", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "enrollmentDetails": { + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z", + "currency": "USD", + "channel": "EaDirect", + "language": "en", + "countryCode": "US", + "status": "Active", + "billingCycle": "Monthly", + "policies": { + "accountOwnerViewCharges": true, + "departmentAdminViewCharges": true, + "marketplacesEnabled": true, + "reservedInstancesEnabled": true + } + }, + "departments": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId2", + "name": "departmentId2", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName2", + "costCenter": "C4", + "status": "Active" + } + } + ], + "enrollmentAccounts": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0", + "name": "accountId0", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1", + "name": "accountId1", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName1", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId2", + "name": "accountId2", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName2", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfile.json new file mode 100644 index 000000000000..0d6b2db613f9 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfile.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "name": "{billingProfileName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "Billing Profile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilePermissionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilePermissionsList.json new file mode 100644 index 000000000000..d4f6696d9ce1 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilePermissionsList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000015", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000009", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "20000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000008", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000010", + "30000000-aaaa-bbbb-cccc-200000000001" + ], + "notActions": [] + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignment.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignment.json new file mode 100644 index 000000000000..9ad68a7d9234 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignment.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "billingRoleAssignmentName": "{billingRoleAssignmentName}" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentDelete.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentDelete.json new file mode 100644 index 000000000000..9ad68a7d9234 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "billingRoleAssignmentName": "{billingRoleAssignmentName}" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentList.json new file mode 100644 index 000000000000..53d8c28df1f1 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleAssignmentList.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "properties": { + "createdOn": "2018-06-22T06:03:51.430844+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "principalId": "129db794-64a5-44e0-9838-002780478959", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "properties": { + "createdOn": "2018-07-06T05:52:57.1463874+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "principalId": "d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "properties": { + "createdOn": "2018-07-10T22:04:33.8309285+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "00000000-0000-0000-0000-000000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "principalId": "c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinition.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinition.json new file mode 100644 index 000000000000..97a3427d47df --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinition.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "billingRoleDefinitionName": "{billingRoleDefinitionName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}", + "name": "{billingRoleDefinitionName}", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinitionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinitionsList.json new file mode 100644 index 000000000000..b89181677bbd --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileRoleDefinitionsList.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "billing_profile_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000001", + "name": "10000000-aaaa-bbbb-cccc-100000000001", + "properties": { + "description": "The Contributor role give the user all permissions except access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "billing_profile_contributor" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileWithExpand.json new file mode 100644 index 000000000000..9353a69265a5 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfileWithExpand.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "name": "{billingProfileName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "Billing Profile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/invoiceSectionId1", + "name": "invoiceSectionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName1" + } + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListByBillingAccountName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListByBillingAccountName.json new file mode 100644 index 000000000000..5fba4a2affa6 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListByBillingAccountName.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "name": "11000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000001", + "name": "11000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile2", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListWithExpand.json new file mode 100644 index 000000000000..d102cee86f2a --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProfilesListWithExpand.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "name": "11000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile1", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/invoiceSectionId1", + "name": "invoiceSectionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName1" + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000001", + "name": "11000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile2", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345", + "invoiceSections": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000001/invoiceSections/invoiceSectionId2", + "name": "invoiceSectionId2", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSectionName2" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProperty.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProperty.json new file mode 100644 index 000000000000..29cdfa58259d --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingProperty.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "subscriptionId": "{subscriptionId}" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty/default", + "name": "default", + "type": "Microsoft.Billing/billingProperty", + "properties": { + "billingTenantId": "90000000-0000-0000-0000-000000000011", + "billingAccountId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000", + "billingAccountDisplayName": "My Account", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "costCenter": "1010", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoice section", + "productId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000/products/44000000-0000-0000-0000-000000000000", + "productName": "Standard Dev", + "skuId": "0001", + "skuDescription": "Microsoft Azure Standard" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscription.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscription.json new file mode 100644 index 000000000000..6442bcb59bfe --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscription.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingSubscriptionName": "{billingSubscriptionName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}", + "name": "{billingSubscriptionName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingSubscriptions", + "properties": { + "displayName": "My Subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 5000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 600 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingAccount.json new file mode 100644 index 000000000000..f2df4d2c9b1e --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingAccount.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/90000000-0000-0000-0000-000000000000", + "name": "90000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingSubscriptions", + "properties": { + "displayName": "My subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 5000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 600 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/90000000-0000-0000-0000-000000000001", + "name": "90000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Test subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 1000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 400 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/90000000-0000-0000-0000-000000000002", + "name": "90000000-0000-0000-0000-000000000002", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Dev Subscription", + "subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 6000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 900 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingProfile.json new file mode 100644 index 000000000000..b7b98e0caf11 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByBillingProfile.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/billinSubscriptionId1", + "name": "billingSubscriptionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingSubscriptions", + "properties": { + "displayName": "My subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 5000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 600 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/billinSubscriptionId2", + "name": "billingSubscriptionId2", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Test subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 1000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 400 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000/billingSubscriptions/billinSubscriptionId3", + "name": "billingSubscriptionId3", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Dev Subscription", + "subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 6000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 900 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByInvoiceSection.json new file mode 100644 index 000000000000..c2c53fbe18e5 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/BillingSubscriptionsListByInvoiceSection.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/billinSubscriptionId1", + "name": "billingSubscriptionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/billingSubscriptions", + "properties": { + "displayName": "My subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 5000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 600 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/billinSubscriptionId2", + "name": "billingSubscriptionId2", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Test subscription", + "subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 1000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 400 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/billinSubscriptionId3", + "name": "billingSubscriptionId3", + "type": "Microsoft.Billing/billingSubscriptions", + "properties": { + "displayName": "Dev Subscription", + "subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3", + "subscriptionBillingStatus": "Active", + "lastMonthCharges": { + "currency": "USD", + "value": 6000.00 + }, + "monthToDateCharges": { + "currency": "USD", + "value": 900 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CancelTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CancelTransfer.json new file mode 100644 index 000000000000..a8ef6f9eb25e --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CancelTransfer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "transferStatus": "Pending", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "canceledBy": "user@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateBillingProfile.json new file mode 100644 index 000000000000..dbc4fe70d1d2 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateBillingProfile.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "parameters": { + "displayName": "Finance", + "address": { + "firstName": "Test", + "lastName": "User", + "addressLine1": "1 Microsoft Way", + "city": "Redmond", + "postalCode": "98052", + "region": "WA", + "country": "US" + }, + "enabledAzurePlans": [ + { + "skuId": "0001" + }, + { + "skuId": "0002" + } + ], + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/operationResults/ed2975a8-8f77-43bb-a717-ace54326b14b?api-version=2018-07-31", + "Retry-After": "60" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/billingProfileId1", + "name": "billingProfileId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "Finance", + "address": { + "firstName": "Test", + "lastName": "User", + "addressLine1": "1 Microsoft Way", + "city": "Redmond", + "postalCode": "98052", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateInvoiceSection.json new file mode 100644 index 000000000000..a47f90decfae --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/CreateInvoiceSection.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "parameters": { + "displayName": "invoiceSection1" + } + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/operationResults/ed2975a8-8f77-43bb-a717-ace54326b14b?api-version=2018-07-31", + "Retry-After": "60" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/invoiceSectionId1", + "name": "invoiceSectionId1", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSection1" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DeclineTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DeclineTransfer.json new file mode 100644 index 000000000000..b29b036b64a1 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DeclineTransfer.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "transferStatus": "Declined", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Department.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Department.json new file mode 100644 index 000000000000..f63b9c9d1366 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Department.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "departmentName": "{departmentName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}", + "name": "{departmentName}", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "Test department", + "costCenter": "C1", + "status": "Active" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentWithExpand.json new file mode 100644 index 000000000000..af95f0b8bd81 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentWithExpand.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "departmentName": "{departmentName}", + "$expand": "properties/enrollmentAccounts" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}", + "name": "{departmentName}", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active", + "enrollmentAccounts": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0", + "name": "accountId0", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1", + "name": "accountId1", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName1", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountName.json new file mode 100644 index 000000000000..3b3bbfe078f6 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountName.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "nextLink": "Link to next page", + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId2", + "name": "departmentId2", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName2", + "costCenter": "C4", + "status": "Active" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountNameWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountNameWithExpand.json new file mode 100644 index 000000000000..18cf8d671a03 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentsListByBillingAccountNameWithExpand.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "$expand": "properties/enrollmentAccounts" + }, + "responses": { + "200": { + "body": { + "nextLink": "Link to next page", + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active", + "enrollmentAccounts": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0", + "name": "accountId0", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1", + "name": "accountId1", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName1", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + ] + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId2", + "name": "departmentId2", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName2", + "costCenter": "C4", + "status": "Active", + "enrollmentAccounts": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId2", + "name": "accountId2", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName2", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId5", + "name": "accountId5", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName5", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ElevateInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ElevateInvoiceSection.json new file mode 100644 index 000000000000..af82c205f36c --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ElevateInvoiceSection.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "204": {} + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccount.json new file mode 100644 index 000000000000..a70aebe49bc9 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccount.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "enrollmentAccountName": "{enrollmentAccountName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}", + "name": "{enrollmentAccountName}", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountWithExpand.json new file mode 100644 index 000000000000..cb5a33d1a34f --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountWithExpand.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "enrollmentAccountName": "{enrollmentAccountName}", + "$expand": "properties/department" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}", + "name": "{enrollmentAccountName}", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z", + "department": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active" + } + } + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountName.json new file mode 100644 index 000000000000..083e08c85171 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountName.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "nextLink": "Link to next page", + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0", + "name": "accountId0", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1", + "name": "accountId1", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName1", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId2", + "name": "accountId2", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName2", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountNameWithExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountNameWithExpand.json new file mode 100644 index 000000000000..b0d7ebb49ec3 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/EnrollmentAccountsListByBillingAccountNameWithExpand.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "$expand": "properties/department" + }, + "responses": { + "200": { + "body": { + "nextLink": "Link to next page", + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId0", + "name": "accountId0", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName0", + "costCenter": "C0", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z", + "department": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active" + } + } + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId1", + "name": "accountId1", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName1", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/accountId2", + "name": "accountId2", + "type": "Microsoft.Billing/enrollmentAccounts", + "properties": { + "accountName": "AccountName2", + "costCenter": "C4", + "status": "Active", + "startDate": "2018-05-01T17:32:28Z", + "endDate": "2019-05-31T17:32:28Z", + "department": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/departmentId1", + "name": "departmentId1", + "type": "Microsoft.Billing/departments", + "properties": { + "departmentName": "departmentName1", + "costCenter": "C1", + "status": "Active" + } + } + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetRecipientTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetRecipientTransfer.json new file mode 100644 index 000000000000..54bd3b29282e --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetRecipientTransfer.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetTransfer.json new file mode 100644 index 000000000000..8cd4ba588f44 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/GetTransfer.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/IncreaseLineOfCreditBySubscription.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/IncreaseLineOfCreditBySubscription.json new file mode 100644 index 000000000000..ba785726b009 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/IncreaseLineOfCreditBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "subscriptionId": "{subscriptionId}", + "parameters": { + "properties": { + "creditLimit": { + "value": 20000.00 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default", + "name": "default", + "type": "Microsoft.Billing/lineOfCredit", + "properties": { + "creditLimit": { + "currency": "USD", + "value": 20000.00 + }, + "reason": null, + "remainingBalance": { + "currency": "USD", + "value": 6000.00 + }, + "status": "Approved" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/44000000-0000-0000-0000-000000000000?api-version=2019-10-01-preview", + "Retry-After": "60", + "OData-EntityId": "44000000-0000-0000-0000-000000000000" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InitiateTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InitiateTransfer.json new file mode 100644 index 000000000000..df700ca7644f --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InitiateTransfer.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "parameters": { + "properties": { + "recipientEmailId": "user@contoso.com" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "transferStatus": "Pending", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Invoice.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Invoice.json new file mode 100644 index 000000000000..24f9fc2a1ba3 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Invoice.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceName": "{invoiceName}" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}", + "name": "{invoiceName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoices", + "properties": { + "dueDate": "2018-01-16T17:32:28Z", + "invoiceDate": "2018-01-01T17:32:28Z", + "status": "Due", + "amountDue": { + "currency": "USD", + "value": 2000.00 + }, + "billedAmount": { + "currency": "USD", + "value": 2000.00 + }, + "invoicePeriodStartDate": "2018-01-01T17:32:28Z", + "invoicePeriodEndDate": "2018-01-15T17:32:28Z", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso Operations Billing", + "purchaseOrderNumber": "123456", + "documents": [ + { + "kind": "Invoice", + "url": "https://microsoft.com/invoice.pdf" + }, + { + "kind": "Receipt", + "url": "https://microsoft.com/taxDoc.pdf" + }, + { + "kind": "CreditNote", + "url": "https://microsoft.com/creditNote.pdf" + } + ], + "payments": [ + { + "date": "2018-01-14T17:32:28Z", + "paymentType": "credited", + "amount": { + "currency": "USD", + "value": 2000.00 + } + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSection.json new file mode 100644 index 000000000000..90367f326204 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSection.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "name": "{invoiceSectionName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSection1" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionPermissionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionPermissionsList.json new file mode 100644 index 000000000000..173d621d8994 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionPermissionsList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000015", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000009", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "20000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000008", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000010", + "30000000-aaaa-bbbb-cccc-200000000001" + ], + "notActions": [] + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignment.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignment.json new file mode 100644 index 000000000000..b47ac8409fe6 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignment.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingRoleAssignmentName": "{billingRoleAssignmentName}" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentDelete.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentDelete.json new file mode 100644 index 000000000000..b47ac8409fe6 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingRoleAssignmentName": "{billingRoleAssignmentName}" + }, + "responses": { + "200": { + "body": { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentList.json new file mode 100644 index 000000000000..a97a36058424 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleAssignmentList.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "properties": { + "createdOn": "2018-06-21T21:34:12.2363515+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "", + "name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "properties": { + "createdOn": "2018-06-21T21:58:19.9073876+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1", + "name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47", + "principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "properties": { + "createdOn": "2018-06-22T06:03:51.430844+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959", + "principalId": "129db794-64a5-44e0-9838-002780478959", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "properties": { + "createdOn": "2018-07-06T05:52:57.1463874+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "principalId": "d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + }, + { + "id": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "properties": { + "createdOn": "2018-07-10T22:04:33.8309285+00:00", + "createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f", + "createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47", + "name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "principalId": "c4f54fd2-d920-4c49-9b4d-9f09387b881c", + "scope": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}" + }, + "type": "Microsoft.Billing/billingRoleAssignments" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinition.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinition.json new file mode 100644 index 000000000000..945da1be3053 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinition.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingRoleDefinitionName": "{billingRoleDefinitionName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}", + "name": "{billingRoleDefinitionName}", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "commerce_root_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinitionsList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinitionsList.json new file mode 100644 index 000000000000..a38965fe088c --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionRoleDefinitionsList.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000", + "name": "10000000-aaaa-bbbb-cccc-100000000000", + "properties": { + "description": "The Owner role gives the user all permissions including access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000000", + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "20000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000000", + "40000000-aaaa-bbbb-cccc-200000000000", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "project_owner" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000001", + "name": "10000000-aaaa-bbbb-cccc-100000000001", + "properties": { + "description": "The Contributor role give the user all permissions except access management rights to the Commerce Root.", + "permissions": [ + { + "actions": [ + "10000000-aaaa-bbbb-cccc-200000000008", + "10000000-aaaa-bbbb-cccc-200000000001", + "10000000-aaaa-bbbb-cccc-200000000002", + "10000000-aaaa-bbbb-cccc-200000000003", + "10000000-aaaa-bbbb-cccc-200000000006", + "10000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000009", + "20000000-aaaa-bbbb-cccc-200000000002", + "30000000-aaaa-bbbb-cccc-200000000015", + "30000000-aaaa-bbbb-cccc-200000000004", + "30000000-aaaa-bbbb-cccc-200000000007", + "30000000-aaaa-bbbb-cccc-200000000001", + "30000000-aaaa-bbbb-cccc-200000000010", + "40000000-aaaa-bbbb-cccc-200000000007", + "40000000-aaaa-bbbb-cccc-200000000006", + "40000000-aaaa-bbbb-cccc-200000000008" + ], + "notActions": [] + } + ], + "roleName": "project_contributor" + }, + "type": "Microsoft.Billing/billingRoleDefinitions" + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionsListByBillingProfileName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionsListByBillingProfileName.json new file mode 100644 index 000000000000..d4da6f96e6f8 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoiceSectionsListByBillingProfileName.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "name": "22000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSection1" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000011", + "name": "22000000-0000-0000-0000-000000000011", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSection2" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoicesListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoicesListByBillingProfile.json new file mode 100644 index 000000000000..f956758dfce4 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/InvoicesListByBillingProfile.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "periodStartDate": "2018-01-01", + "periodEndDate": "2018-06-30", + "$filter": "invoicePeriodStartDate le 2018-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/1383723", + "name": "1383723", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoices", + "properties": { + "dueDate": "2018-01-16T17:32:28Z", + "invoiceDate": "2018-01-01T17:32:28Z", + "status": "Due", + "amountDue": { + "currency": "USD", + "value": 2000.00 + }, + "billedAmount": { + "currency": "USD", + "value": 2000.00 + }, + "invoicePeriodStartDate": "2018-01-01T17:32:28Z", + "invoicePeriodEndDate": "2018-01-15T17:32:28Z", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso Operations Billing", + "purchaseOrderNumber": "123456", + "documents": [ + { + "kind": "Invoice", + "url": "https://microsoft.com/invoice.pdf" + }, + { + "kind": "Receipt", + "url": "https://microsoft.com/taxDoc.pdf" + }, + { + "kind": "CreditNote", + "url": "https://microsoft.com/creditNote.pdf" + } + ], + "payments": [ + { + "date": "2018-01-14T17:32:28Z", + "paymentType": "credited", + "amount": { + "currency": "USD", + "value": 2000.00 + } + } + ] + } + }, + { + "id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/1383724", + "name": "1383724", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoices", + "properties": { + "dueDate": "2018-03-01T17:32:28Z", + "invoiceDate": "2018-01-01T17:32:28Z", + "status": "PastDue", + "amountDue": { + "currency": "USD", + "value": 2000.00 + }, + "billedAmount": { + "currency": "USD", + "value": 2000.00 + }, + "invoicePeriodStartDate": "2018-02-01T17:32:28Z", + "invoicePeriodEndDate": "2018-02-30T17:32:28Z", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso Operations Billing", + "purchaseOrderNumber": "123456", + "documents": [ + { + "kind": "Invoice", + "url": "https://microsoft.com/invoice.pdf" + }, + { + "kind": "Receipt", + "url": "https://microsoft.com/taxDoc.pdf" + }, + { + "kind": "CreditNote", + "url": "https://microsoft.com/creditNote.pdf" + } + ], + "payments": [ + { + "date": "2018-01-14T17:32:28Z", + "paymentType": "credited", + "amount": { + "currency": "USD", + "value": 2000.00 + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/LineOfCreditBySubscription.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/LineOfCreditBySubscription.json new file mode 100644 index 000000000000..8e1fb4a25ff5 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/LineOfCreditBySubscription.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "subscriptionId": "{subscriptionId}" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default", + "name": "default", + "type": "Microsoft.Billing/lineOfCredit", + "properties": { + "creditLimit": { + "currency": "USD", + "value": 20000.00 + }, + "reason": null, + "remainingBalance": { + "currency": "USD", + "value": 6000.00 + }, + "status": "Approved" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListRecipientTransfers.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListRecipientTransfers.json new file mode 100644 index 000000000000..f74de2bc4fbe --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListRecipientTransfers.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "ReservedInstance", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json new file mode 100644 index 000000000000..822ff5b39af5 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerCancelTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerCancelTransfer.json new file mode 100644 index 000000000000..d028698305f9 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerCancelTransfer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "customerName": "{customerName}", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}", + "transferStatus": "Pending", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "canceledBy": "user@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerGetTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerGetTransfer.json new file mode 100644 index 000000000000..5c7540f29c58 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerGetTransfer.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "customerName": "{customerName}", + "transferName": "transferName" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}", + "initiatorCustomerType": "Partner", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerInitiateTransfer.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerInitiateTransfer.json new file mode 100644 index 000000000000..d9f14dde3aae --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerInitiateTransfer.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "customerName": "{customerName}", + "parameters": { + "properties": { + "recipientEmailId": "user@contoso.com" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}", + "transferStatus": "Pending", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json new file mode 100644 index 000000000000..6a675998a83d --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "customerName": "{customerName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "creationTime": "2018-10-10T17:32:28Z", + "expirationTime": "2018-11-05T17:32:28Z", + "billingAccountId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}", + "billingProfileId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "invoiceSectionId": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}", + "transferStatus": "InProgress", + "recipientEmailId": "user@contoso.com", + "initiatorEmailId": "xyz@contoso.com", + "lastModifiedTime": "2018-10-10T17:32:28Z", + "detailedTransferStatus": [ + { + "productType": "AzureSubscription", + "productId": "subscriptionId", + "transferStatus": "InProgress" + }, + { + "productType": "AzureReservation", + "productId": "reservedInstanceId", + "transferStatus": "InProgress" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingAccount.json new file mode 100644 index 000000000000..c19b410527cd --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingAccount.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000055", + "name": "00000000-0000-0000-0000-000000000055", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/paymentMethods", + "properties": { + "currency": "USD", + "details": "Credits", + "expiration": "4/2020", + "paymentMethodType": "Credits" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000022/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingProfile.json new file mode 100644 index 000000000000..6506d4a85345 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PaymentMethodsListByBillingProfile.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000055", + "name": "00000000-0000-0000-0000-000000000055", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/paymentMethods", + "properties": { + "currency": "USD", + "details": "Credits", + "expiration": "4/2020", + "paymentMethodType": "Credits" + } + }, + { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000026", + "name": "00000000-0000-0000-0000-000000000026", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/paymentMethods", + "properties": { + "details": "Check Wire", + "paymentMethodType": "CheckWire" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Policy.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Policy.json new file mode 100644 index 000000000000..2f9f8684219b --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Policy.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", + "name": "default", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/policies", + "properties": { + "marketplacePurchases": "AllAllowed", + "reservationPurchases": "Allowed", + "viewCharges": "SubscriptionOwner" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownload.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownload.json new file mode 100644 index 000000000000..99dd9c120725 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownload.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceName": "{invoiceName}" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/45000000-0000-0000-0000-000000000000?api-version=2018-07-31", + "Retry-After": "60", + "OData-EntityId": "45000000-0000-0000-0000-000000000000" + } + }, + "200": { + "body": { + "url": "https://myaccount.blob.core.windows.net/?restype=service&comp=properties&sv=2015-04-05&ss=bf&srt=s&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&spr=https&sig=G%2TEST%4B", + "expiryTime": "2018-07-21T17:32:28Z" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownloadByBillingProfileName.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownloadByBillingProfileName.json new file mode 100644 index 000000000000..ce84c4d3c0c3 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PricesheetDownloadByBillingProfileName.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/45000000-0000-0000-0000-000000000000?api-version=2018-07-31", + "Retry-After": "60", + "OData-EntityId": "45000000-0000-0000-0000-000000000000" + } + }, + "200": { + "body": { + "url": "https://myaccount.blob.core.windows.net/?restype=service&comp=properties&sv=2015-04-05&ss=bf&srt=s&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&spr=https&sig=G%2TEST%4B", + "expiryTime": "2018-07-21T17:32:28Z" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Product.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Product.json new file mode 100644 index 000000000000..8fd3e3f66b12 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Product.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "productName": "{productName}" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}", + "name": "{productName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/products", + "properties": { + "productTypeId": "A12345", + "productType": "Subscription", + "displayName": "AIP Dev", + "status": "Active", + "purchaseDate": "2018-05-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 5000.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "billingFrequency": "Monthly", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelByBillingAccount.json new file mode 100644 index 000000000000..f644c52ce463 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelByBillingAccount.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "productName": "{productName}", + "body": { + "autoRenew": "false" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endDate": "2018-05-01T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelForInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelForInvoiceSection.json new file mode 100644 index 000000000000..b8e1fdd126b2 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductCancelForInvoiceSection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "productName": "{productName}", + "body": { + "autoRenew": "false" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endDate": "2018-05-01T17:32:28Z" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByBillingAccount.json new file mode 100644 index 000000000000..501b5d32eba2 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByBillingAccount.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/products", + "properties": { + "productTypeId": "A12345", + "productType": "Reservation", + "displayName": "Eng Reservation (1a13s21awe)", + "status": "Active", + "purchaseDate": "2018-05-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 5000.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "billingFrequency": "OneTime", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/10000000-0000-0000-0000-000000000001", + "name": "10000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/products", + "properties": { + "productTypeId": "A12345", + "productType": "Azure subscription", + "displayName": "Engineering Email", + "status": "Active", + "purchaseDate": "2018-04-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 5000.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "billingFrequency": "Monthly", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByInvoiceSection.json new file mode 100644 index 000000000000..a8ab1eaf3cb5 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ProductsListByInvoiceSection.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/products", + "properties": { + "productTypeId": "A12345", + "productType": "Reservation", + "displayName": "Eng Reservation (1a13s21awe)", + "status": "Active", + "purchaseDate": "2018-05-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 5000.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "billingFrequency": "OneTime", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/10000000-0000-0000-0000-000000000001", + "name": "10000000-0000-0000-0000-000000000001", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections/products", + "properties": { + "productTypeId": "A12345", + "productType": "Azure subscription", + "displayName": "Engineering Email", + "status": "Active", + "purchaseDate": "2018-04-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 500.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "billingFrequency": "Monthly", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingAccount.json new file mode 100644 index 000000000000..9837318050a0 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingAccount.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30", + "$filter": "properties/kind eq 'Reservation'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/11000000-0000-0000-0000-000000000000/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-04-23T00:00:00Z", + "invoice": "2344233", + "orderName": "Contoso Reserved", + "orderId": "6d8e7ed9-d3be-48b0-8c7a-e19246a6d30c", + "productDescription": "Standard D1, US West 3", + "transactionType": "Cancel", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "quantity": 4, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "7800000000-0000-0000-0000-0000000000009456", + "subscriptionName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/11000000-0000-0000-0000-000000000000/transactions/21000000-0000-0000-0000-000000000000", + "name": "21000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-05-05T00:00:00Z", + "invoice": "Pending", + "orderName": "Test Reserved", + "orderId": "1c24006f-8350-4315-ad8f-6d11180448f9", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 6000.00 + }, + "quantity": 5, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingProfile.json new file mode 100644 index 000000000000..6a3087f4d285 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByBillingProfile.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30", + "$filter": "properties/kind eq 'Reservation'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/{billingProfileName}/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-04-23T00:00:00Z", + "invoice": "2344233", + "orderName": "Contoso Reserved", + "orderId": "6d8e7ed9-d3be-48b0-8c7a-e19246a6d30c", + "productDescription": "Standard D1, US West 3", + "transactionType": "Cancel", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "quantity": 4, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/{billingProfileName}/transactions/65000000-0000-0000-0000-000000000000", + "name": "65000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-05-05T00:00:00Z", + "invoice": "Pending", + "orderName": "Test Reserved", + "orderId": "1c24006f-8350-4315-ad8f-6d11180448f9", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 6000.00 + }, + "quantity": 5, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "82000000-0000-0000-0000-000000000000", + "subscriptionName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByInvoiceSection.json new file mode 100644 index 000000000000..1fa92aa00514 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ReservationTransactionsListByInvoiceSection.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30", + "$filter": "properties/kind eq 'Reservation'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-04-23T00:00:00Z", + "invoice": "2344233", + "orderName": "Contoso Reserved", + "orderId": "6d8e7ed9-d3be-48b0-8c7a-e19246a6d30c", + "productDescription": "Standard D1, US West 3", + "transactionType": "Cancel", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "quantity": 4, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/82000000-0000-0000-0000-000000000000", + "name": "82000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "reservation", + "date": "2018-05-05T00:00:00Z", + "invoice": "Pending", + "orderName": "Test Reserved", + "orderId": "1c24006f-8350-4315-ad8f-6d11180448f9", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 6000.00 + }, + "quantity": 5, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Transaction.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Transaction.json new file mode 100644 index 000000000000..d8cea9b67c25 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/Transaction.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "transactionName": "{transactionName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/{transactionName}", + "name": "{transactionName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-05-01T00:00:00Z", + "invoice": "2344233", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "Reserved VM Instance", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingAccount.json new file mode 100644 index 000000000000..93bd0ca988c8 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingAccount.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/11000000-0000-0000-0000-000000000000/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-05-01T00:00:00Z", + "invoice": "2344233", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "Dev Support", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/11000000-0000-0000-0000-000000000000/transactions/51000000-0000-0000-0000-000000000000", + "name": "51000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-04-01T00:00:00Z", + "invoice": "pending", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "Azure subscription", + "productDescription": "Send grid Gold", + "transactionType": "Usage Charge", + "transactionAmount": { + "currency": "USD", + "value": 50.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingProfile.json new file mode 100644 index 000000000000..9df271727ab7 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByBillingProfile.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/{billingProfileName}/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-05-01T00:00:00Z", + "invoice": "2344233", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "VM Instance", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/BillingProfiles/{billingProfileName}/transactions/51000000-0000-0000-0000-000000000000", + "name": "51000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-04-01T00:00:00Z", + "invoice": "pending", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "VM Instance", + "productDescription": "Standard Support", + "transactionType": "Cancel", + "transactionAmount": { + "currency": "USD", + "value": 50.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "billingProfileDisplayName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByInvoiceSection.json new file mode 100644 index 000000000000..1d293179d171 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransactionsListByInvoiceSection.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "startDate": "2018-04-01", + "endDate": "2018-05-30" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/41000000-0000-0000-0000-000000000000", + "name": "41000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-05-01T00:00:00Z", + "invoice": "2344233", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "Reserved VM Instance", + "productDescription": "Standard D1, US West 3", + "transactionType": "Purchase", + "transactionAmount": { + "currency": "USD", + "value": 5000.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + }, + { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions/51000000-0000-0000-0000-000000000000", + "name": "51000000-0000-0000-0000-000000000000", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/transactions", + "properties": { + "kind": "all", + "date": "2018-04-01T00:00:00Z", + "invoice": "pending", + "productFamily": "Storage", + "productTypeId": "A12345", + "productType": "VM Instance", + "productDescription": "Standard Support", + "transactionType": "Cancel", + "transactionAmount": { + "currency": "USD", + "value": 50.00 + }, + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + ] + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferBillingSubscription.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferBillingSubscription.json new file mode 100644 index 000000000000..64c231d3945f --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferBillingSubscription.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingSubscriptionName": "{billingSubscriptionName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "billingSubscriptionName": "Test subscription" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer/operationResults/10000000-0000-0000-0000-000000000001?api-version=2019-10-01-preview", + "Retry-After": "30" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferProduct.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferProduct.json new file mode 100644 index 000000000000..6f12595407f9 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/TransferProduct.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "productName": "{productName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}/products/{productName}", + "name": "{productName}", + "type": "Microsoft.Billing/products", + "properties": { + "productTypeId": "A12345", + "productType": "Subscription", + "displayName": "Test Product", + "status": "Active", + "purchaseDate": "2018-05-01T17:32:28Z", + "lastCharge": { + "currency": "USD", + "value": 5000.00 + }, + "lastChargeDate": "2018-06-15T17:32:28Z", + "billingFrequency": "Monthly", + "quantity": 4, + "skuId": "0001", + "skuDescription": "Enterprise Agreement Development", + "availabilityId": "AvailabilityId1", + "parentProductId": "45000000-0000-0000-0000-0000000001242", + "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "invoiceSectionDisplayName": "Contoso operations invoiceSection", + "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000", + "billingProfileDisplayName": "Contoso operations billing" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/44000000-0000-0000-0000-000000000000?api-version=2019-10-01-preview", + "Retry-After": "60", + "OData-EntityId": "44000000-0000-0000-0000-000000000000" + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingAccount.json new file mode 100644 index 000000000000..7217cbd1c847 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingAccount.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "parameters": { + "properties": { + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "1 Microsoft Way", + "city": "Redmond", + "postalCode": "98052", + "region": "WA", + "country": "US" + } + } + } + }, + "responses": { + "202": { + "headers": { + "Location": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/operationStatus/65e1f2bf-c31c-4b89-a599-25d9d4172af9?api-version=2019-10-01-preview", + "Retry-After": "10" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}", + "name": "{billingAccountName}", + "type": "Microsoft.Billing/billingAccounts", + "properties": { + "displayName": "Test Account", + "agreementType": "MicrosoftCustomerAgreement", + "customerType": "Enterprise", + "organizationId": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingProfile.json new file mode 100644 index 000000000000..e961486ce376 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateBillingProfile.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "parameters": { + "properties": { + "displayName": "BillingProfile11", + "poNumber": "ABC12345" + } + } + }, + "responses": { + "202": { + "headers": { + "Location": "/providers/Microsoft.Billing/billingOperations/ed2975a8-8f77-43bb-a717-ace54326b14b?api-version=2018-05-31-preview", + "Retry-After": "60" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}", + "name": "{billingProfileName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles", + "properties": { + "displayName": "BillingProfile11", + "address": { + "companyName": "Contoso", + "firstName": "Test", + "lastName": "User", + "addressLine1": "Test Address1", + "addressLine2": "Test Address2", + "addressLine3": "Test Address3", + "city": "City", + "postalCode": "00000", + "region": "WA", + "country": "US" + }, + "currency": "USD", + "enabledAzurePlans": [ + { + "skuId": "0001", + "skuDescription": "Microsoft Azure Dev/Test" + }, + { + "skuId": "0002", + "skuDescription": "Microsoft Azure Standard" + } + ], + "invoiceDay": 5, + "invoiceEmailOptIn": true, + "poNumber": "ABC12345" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateInvoiceSection.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateInvoiceSection.json new file mode 100644 index 000000000000..cb8d162ad843 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdateInvoiceSection.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "parameters": { + "properties": { + "displayName": "invoiceSection1" + } + } + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/operationResults/ed2975a8-8f77-43bb-a717-ace54326b14b?api-version=2019-10-01-preview", + "Retry-After": "60" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}", + "name": "{invoiceSectionName}", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections", + "properties": { + "displayName": "invoiceSection1" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdatePolicy.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdatePolicy.json new file mode 100644 index 000000000000..b433103f8405 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/UpdatePolicy.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "eTag": "\"1d34d012214157f\"", + "parameters": { + "properties": { + "marketplacePurchases": "FreeAllowed", + "reservationPurchases": "NotAllowed", + "viewCharges": "SubscriptionOwner" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", + "name": "default", + "type": "Microsoft.Billing/billingAccounts/billingProfiles/policies", + "properties": { + "marketplacePurchases": "FreeAllowed", + "reservationPurchases": "NotAllowed", + "viewCharges": "SubscriptionOwner" + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferFailure.json new file mode 100644 index 000000000000..4d64f82de2b0 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferFailure.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "productName": "{productName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "isTransferEligible": false, + "errorDetails": { + "code": "ProductTypeNotSupported", + "message": "Product '{productName}' is not allowed to be transferred." + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferSuccess.json new file mode 100644 index 000000000000..0fe8a40992bf --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateProductTransferSuccess.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "productName": "{productName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "isTransferEligible": true + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferFailure.json new file mode 100644 index 000000000000..40c754ee5b50 --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferFailure.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingSubscriptionName": "{billingSubscriptionName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "isTransferEligible": false, + "errorDetails": { + "code": "SubscriptionNotActive", + "message": "Invoice Sections can only be changed for active subscriptions." + } + } + } + } +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferSuccess.json new file mode 100644 index 000000000000..3c0e5e220b3c --- /dev/null +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ValidateSubscriptionTransferSuccess.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-10-01-preview", + "billingAccountName": "{billingAccountName}", + "billingProfileName": "{billingProfileName}", + "invoiceSectionName": "{invoiceSectionName}", + "billingSubscriptionName": "{billingSubscriptionName}", + "parameters": { + "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}/invoiceSections/{newInvoiceSectionName}", + "destinationBillingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{newBillingProfileName}" + } + }, + "responses": { + "200": { + "body": { + "isTransferEligible": true + } + } + } +} diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index d99f04b31727..4cbf2a6e8f9a 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -26,7 +26,16 @@ These are the global settings for the Billing API. ``` yaml openapi-type: arm -tag: package-2018-11-preview +tag: package-2019-10-preview +``` + +### Tag: package-2019-10-preview + +These settings apply only when `--tag=package-2019-10-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-10-preview' +input-file: +- Microsoft.Billing/preview/2019-10-01-preview/billing.json ``` ### Tag: package-2018-11-preview @@ -124,12 +133,26 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-billing ``` yaml $(java) && $(multiapi) batch: + - tag: package-2019-10-preview - tag: package-2018-11-preview - tag: package-2018-03-preview - tag: package-2017-04-preview - tag: package-2017-02-preview ``` +### Tag: package-2019-10-preview and java + +These settings apply only when `--tag=package-2019-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-10-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.billing.v2019_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/billing/resource-manager/v2019_10_01_preview +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2018-11-preview and java These settings apply only when `--tag=package-2018-11-preview --java` is specified on the command line. From 4031db488dafe546d21122dbcab9f6ed55b4bde7 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 5 Aug 2019 19:54:41 -0700 Subject: [PATCH 464/495] created a java readme and updated with new package tag (#5845) --- .../resource-manager/readme.java.md | 75 +++++++++++++++++++ .../resource-manager/readme.md | 62 +-------------- 2 files changed, 76 insertions(+), 61 deletions(-) create mode 100644 specification/containerservice/resource-manager/readme.java.md diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md new file mode 100644 index 000000000000..0b32123a30c0 --- /dev/null +++ b/specification/containerservice/resource-manager/readme.java.md @@ -0,0 +1,75 @@ +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.containerservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice +title: ContainerServiceManagementClient +description: "Container Service Client" +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-04-only + - tag: package-2017-09-only + - tag: package-2017-08-only + - tag: package-2017-07 +``` + +### Tag: package-2019-04-only and java + +These settings apply only when `--tag=package-2019-04-only` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-04-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2019_04_01 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2019_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-09-only and java + +These settings apply only when `--tag=package-2017-09-only` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-09-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2017_09_30 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-08-only and java + +These settings apply only when `--tag=package-2017-08-only` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-08-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2017_08_31 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2017_07_01 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md index 7dd13f349048..bd307ee9357b 100644 --- a/specification/containerservice/resource-manager/readme.md +++ b/specification/containerservice/resource-manager/readme.md @@ -306,67 +306,7 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.containerservice -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice -title: ContainerServiceManagementClient -description: "Container Service Client" -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-09-only - - tag: package-2017-08-only - - tag: package-2017-07 -``` - -### Tag: package-2017-09-only and java - -These settings apply only when `--tag=package-2017-09-only` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-09-only' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerservice.v2017_09_30 - output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-08-only and java - -These settings apply only when `--tag=package-2017-08-only` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-08-only' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerservice.v2017_08_31 - output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-07 and java - -These settings apply only when `--tag=package-2017-07` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerservice.v2017_07_01 - output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01 -regenerate-manager: true -generate-interface: true -``` +See configuration in [readme.java.md](./readme.java.md) ## Suppression From 2a9ac91431663793fdd8bfaa1e5001c69f36fb0e Mon Sep 17 00:00:00 2001 From: Matthew Christopher Date: Mon, 5 Aug 2019 20:24:15 -0700 Subject: [PATCH 465/495] Update Batch Swagger documentation (#6867) --- .../stable/2019-08-01.10.0/BatchService.json | 37 ++++++++++--------- .../stable/2019-08-01/BatchManagement.json | 37 ++++++++++--------- 2 files changed, 40 insertions(+), 34 deletions(-) diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json index 58a9899e8546..b23f5622c68d 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json @@ -13577,7 +13577,7 @@ "type": "string" }, "title": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.", - "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." + "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." } }, "description": "The network configuration for a Pool." @@ -16381,7 +16381,7 @@ "properties": { "azureBlobFileSystemConfiguration": { "$ref": "#/definitions/AzureBlobFileSystemConfiguration", - "title": "The Azure Storage container to mount using blob FUSE on each node.", + "title": "The Azure Storage Container to mount using blob FUSE on each node.", "description": "This property is mutually exclusive with all other properties." }, "nfsMountConfiguration": { @@ -16397,25 +16397,24 @@ "azureFileShareConfiguration": { "$ref": "#/definitions/AzureFileShareConfiguration", "title": "The Azure File Share to mount on each node.", - "description": "This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties." + "description": "This property is mutually exclusive with all other properties." } }, - "title": "The file system to mount on each node.", - "description": "Each property is mutually exclusive." + "title": "The file system to mount on each node." }, "AzureBlobFileSystemConfiguration": { "properties": { "accountName": { "type": "string", - "title": "The Azure Storage account name." + "title": "The Azure Storage Account name." }, "containerName": { "type": "string", - "title": "The Azure Blob Storage container name." + "title": "The Azure Blob Storage Container name." }, "accountKey": { "type": "string", - "title": "The Azure Storage account key.", + "title": "The Azure Storage Account key.", "description": "This property is mutually exclusive with sasKey and one must be specified." }, "sasKey": { @@ -16439,7 +16438,7 @@ "containerName", "relativeMountPath" ], - "title": "Blobfuse file system details." + "title": "Information used to connect to an Azure Storage Container using Blobfuse." }, "NFSMountConfiguration": { "properties": { @@ -16454,14 +16453,15 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." } }, "required": [ "source", "relativeMountPath" ], - "title": "NFS file system detail." + "title": "Information used to connect to an NFS file system." }, "CIFSMountConfiguration": { "properties": { @@ -16480,11 +16480,12 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." }, "password": { "type": "string", - "title": "The password to authenticate with." + "title": "The password to use for authentication against the CIFS file system." } }, "required": [ @@ -16493,7 +16494,7 @@ "password", "relativeMountPath" ], - "title": "CIFS file system details." + "title": "Information used to connect to a CIFS file system." }, "AzureFileShareConfiguration": { "properties": { @@ -16503,7 +16504,8 @@ }, "azureFileUrl": { "type": "string", - "title": "The Azure Files URL." + "title": "The Azure Files URL.", + "description": "This is of the form 'https://{account}.file.core.windows.net/'." }, "accountKey": { "type": "string", @@ -16516,7 +16518,8 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." } }, "required": [ @@ -16525,7 +16528,7 @@ "accountKey", "relativeMountPath" ], - "title": "Azure Files details." + "title": "Information used to connect to an Azure Fileshare." } }, "parameters": { diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json index b3eac8fc67aa..82903df30683 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json @@ -3786,7 +3786,7 @@ "type": "string" }, "title": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.", - "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." + "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." } }, "description": "The network configuration for a pool." @@ -4179,7 +4179,7 @@ "properties": { "azureBlobFileSystemConfiguration": { "$ref": "#/definitions/AzureBlobFileSystemConfiguration", - "title": "The Azure Storage container to mount using blob FUSE on each node.", + "title": "The Azure Storage Container to mount using blob FUSE on each node.", "description": "This property is mutually exclusive with all other properties." }, "nfsMountConfiguration": { @@ -4195,25 +4195,24 @@ "azureFileShareConfiguration": { "$ref": "#/definitions/AzureFileShareConfiguration", "title": "The Azure File Share to mount on each node.", - "description": "This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties." + "description": "This property is mutually exclusive with all other properties." } }, - "title": "The file system to mount on each node.", - "description": "Each property is mutually exclusive." + "title": "The file system to mount on each node." }, "AzureBlobFileSystemConfiguration": { "properties": { "accountName": { "type": "string", - "title": "The Azure Storage account name." + "title": "The Azure Storage Account name." }, "containerName": { "type": "string", - "title": "The Azure Blob Storage container name." + "title": "The Azure Blob Storage Container name." }, "accountKey": { "type": "string", - "title": "The Azure Storage account key.", + "title": "The Azure Storage Account key.", "description": "This property is mutually exclusive with sasKey and one must be specified." }, "sasKey": { @@ -4237,7 +4236,7 @@ "containerName", "relativeMountPath" ], - "title": "Blobfuse file system details." + "title": "Information used to connect to an Azure Storage Container using Blobfuse." }, "NFSMountConfiguration": { "properties": { @@ -4252,14 +4251,15 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." } }, "required": [ "source", "relativeMountPath" ], - "title": "NFS file system detail." + "title": "Information used to connect to an NFS file system." }, "CIFSMountConfiguration": { "properties": { @@ -4278,11 +4278,12 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." }, "password": { "type": "string", - "title": "The password to authenticate with." + "title": "The password to use for authentication against the CIFS file system." } }, "required": [ @@ -4291,7 +4292,7 @@ "password", "relativeMountPath" ], - "title": "CIFS file system details." + "title": "Information used to connect to a CIFS file system." }, "AzureFileShareConfiguration": { "properties": { @@ -4301,7 +4302,8 @@ }, "azureFileUrl": { "type": "string", - "title": "The Azure Files URL." + "title": "The Azure Files URL.", + "description": "This is of the form 'https://{account}.file.core.windows.net/'." }, "accountKey": { "type": "string", @@ -4314,7 +4316,8 @@ }, "mountOptions": { "type": "string", - "title": "Specifies various mount options that can be used." + "title": "Additional command line options to pass to the mount command.", + "description": "These are 'net use' options in Windows and 'mount' options in Linux." } }, "required": [ @@ -4323,7 +4326,7 @@ "accountKey", "relativeMountPath" ], - "title": "Azure Files details." + "title": "Information used to connect to an Azure Fileshare." } }, "parameters": { From f2494555fd92c6503fc7acee309ce6fce3168124 Mon Sep 17 00:00:00 2001 From: tengr Date: Mon, 5 Aug 2019 22:32:50 -0700 Subject: [PATCH 466/495] Update custom-words.txt (#6871) Add "Disambiguations" and "entitydocument" to custom-words --- custom-words.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 9d8c37eb3a84..a8096d06598b 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -395,6 +395,7 @@ DIMM disableautoscale disablescheduling disambiguated +Disambiguations discoverbackup diskmigrationjobs diskoperations @@ -439,6 +440,7 @@ Enein engagementfabric enquoted entitysearch +entitydocument entrypoint environmentsettings errordetail @@ -1548,4 +1550,4 @@ Zerto Zilla ziplist Zoho -zset \ No newline at end of file +zset From ee8b7f9b5f86e5bf58a9c6d6ccfb2451c0852826 Mon Sep 17 00:00:00 2001 From: Phoenix He Date: Tue, 6 Aug 2019 13:40:04 +0800 Subject: [PATCH 467/495] Disable CI for ruby sdk (#6874) --- azure-pipelines.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fdc2e18fd8e7..f5961d90a5b8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -106,9 +106,6 @@ jobs: timeoutInMinutes: 120 strategy: matrix: - ruby: - AZURE_SDK_REPO: azure-sdk-for-ruby - AZURE_SDK_PARAMS: '' java: AZURE_SDK_REPO: azure-sdk-for-java AZURE_SDK_PARAMS: '' From 815d420b9e72bf2900f24f51b2580f73ac94de0c Mon Sep 17 00:00:00 2001 From: santoshsinha100 <45053048+santoshsinha100@users.noreply.github.com> Date: Mon, 5 Aug 2019 22:59:08 -0700 Subject: [PATCH 468/495] [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-05-01 (#6620) --- .../stable/2019-05-01/consumption.json | 3267 +++++++++++++++++ .../AggregatedCostByManagementGroup.json | 47 + ...atedCostByManagementGroupFilterByDate.json | 48 + ...CostForBillingPeriodByManagementGroup.json | 40 + .../examples/BalancesByBillingAccount.json | 46 + ...ancesByBillingAccountForBillingPeriod.json | 47 + .../stable/2019-05-01/examples/Budget.json | 72 + .../2019-05-01/examples/BudgetsList.json | 160 + .../ChargesForBillingPeriodByDepartment.json | 27 + ...esForBillingPeriodByEnrollmentAccount.json | 27 + ...ListForDepartmentFilterByStartEndDate.json | 27 + ...EnrollmentAccountFilterByStartEndDate.json | 26 + .../examples/CreateOrUpdateBudget.json | 185 + .../2019-05-01/examples/DeleteBudget.json | 12 + .../2019-05-01/examples/ForecastsList.json | 51 + .../examples/ForecastsListFilterByDates.json | 52 + .../examples/ForecastsListFilterByGrain.json | 52 + .../MarketplacesByBillingAccountList.json | 49 + ...sByBillingAccountListForBillingPeriod.json | 51 + .../MarketplacesByDepartmentList.json | 51 + ...lacesByDepartment_ListByBillingPeriod.json | 51 + .../MarketplacesByEnrollmentAccountList.json | 51 + ...nrollmentAccounts_ListByBillingPeriod.json | 51 + .../MarketplacesByManagementGroupList.json | 85 + ...yManagementGroup_ListForBillingPeriod.json | 86 + .../2019-05-01/examples/MarketplacesList.json | 49 + .../MarketplacesListForBillingPeriod.json | 51 + .../2019-05-01/examples/PriceSheet.json | 30 + .../2019-05-01/examples/PriceSheetExpand.json | 40 + .../examples/PriceSheetForBillingPeriod.json | 31 + .../examples/ReservationDetails.json | 34 + .../ReservationDetailsByBillingAccountId.json | 33 + .../ReservationDetailsWithReservationId.json | 35 + ...onRecommendationsByBillingAccountList.json | 59 + ...mendationsFilterByScopeLookBackPeriod.json | 52 + .../ReservationRecommendationsList.json | 51 + .../examples/ReservationSummariesDaily.json | 36 + ...ionSummariesDailyWithBillingAccountId.json | 33 + ...vationSummariesDailyWithReservationId.json | 37 + .../examples/ReservationSummariesMonthly.json | 35 + ...nSummariesMonthlyWithBillingAccountId.json | 32 + ...tionSummariesMonthlyWithReservationId.json | 36 + .../stable/2019-05-01/examples/Tags.json | 48 + .../examples/UsageDetailsExpand.json | 66 + .../2019-05-01/examples/UsageDetailsList.json | 56 + .../UsageDetailsListByBillingAccount.json | 55 + .../UsageDetailsListByDepartment.json | 55 + .../UsageDetailsListByEnrollmentAccount.json | 55 + .../UsageDetailsListByManagementGroup.json | 96 + .../UsageDetailsListByMetricActualCost.json | 56 + ...UsageDetailsListByMetricAmortizedCost.json | 57 + .../UsageDetailsListByMetricUsage.json | 56 + .../examples/UsageDetailsListFilterByTag.json | 55 + .../UsageDetailsListForBillingPeriod.json | 55 + ...sListForBillingPeriodByBillingAccount.json | 55 + ...tailsListForBillingPeriodByDepartment.json | 55 + ...stForBillingPeriodByEnrollmentAccount.json | 55 + ...ListForBillingPeriodByManagementGroup.json | 96 + .../consumption/resource-manager/readme.md | 12 + 59 files changed, 6318 insertions(+) create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json create mode 100644 specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json new file mode 100644 index 000000000000..9a2dc9a3be77 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json @@ -0,0 +1,3267 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-05-01", + "title": "ConsumptionManagementClient", + "description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{scope}/providers/Microsoft.Consumption/usageDetails": { + "get": { + "tags": [ + "UsageDetails" + ], + "operationId": "UsageDetails_List", + "description": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "UsageDetailsList": { + "$ref": "./examples/UsageDetailsList.json" + }, + "UsageDetailsListFilterByTag": { + "$ref": "./examples/UsageDetailsListFilterByTag.json" + }, + "UsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriod.json" + }, + "UsageDetailsExpand": { + "$ref": "./examples/UsageDetailsExpand.json" + }, + "UsageDetailsListByMetricActualCost": { + "$ref": "./examples/UsageDetailsListByMetricActualCost.json" + }, + "UsageDetailsListByMetricAmortizedCost": { + "$ref": "./examples/UsageDetailsListByMetricAmortizedCost.json" + }, + "UsageDetailsListByMetricUsage": { + "$ref": "./examples/UsageDetailsListByMetricUsage.json" + }, + "BillingAccountUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByBillingAccount.json" + }, + "BillingAccountUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByBillingAccount.json" + }, + "DepartmentUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByDepartment.json" + }, + "DepartmentUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByDepartment.json" + }, + "EnrollmentAccountUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByEnrollmentAccount.json" + }, + "EnrollmentAccountUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json" + }, + "ManagementGroupUsageDetailsList": { + "$ref": "./examples/UsageDetailsListByManagementGroup.json" + }, + "ManagementGroupUsageDetailsListForBillingPeriod": { + "$ref": "./examples/UsageDetailsListForBillingPeriodByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeUsageDetailsParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the most recent N usageDetails.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/metricParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/marketplaces": { + "get": { + "tags": [ + "Marketplaces" + ], + "x-ms-odata": "#/definitions/Marketplace", + "operationId": "Marketplaces_List", + "description": "Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "SubscriptionMarketplacesList": { + "$ref": "./examples/MarketplacesList.json" + }, + "SubscriptionMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesListForBillingPeriod.json" + }, + "BillingAccountMarketplacesList": { + "$ref": "./examples/MarketplacesByBillingAccountList.json" + }, + "BillingAccountMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByBillingAccountListForBillingPeriod.json" + }, + "DepartmentMarketplacesList": { + "$ref": "./examples/MarketplacesByDepartmentList.json" + }, + "DepartmentMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByDepartment_ListByBillingPeriod.json" + }, + "EnrollmentAccountMarketplacesList": { + "$ref": "./examples/MarketplacesByEnrollmentAccountList.json" + }, + "EnrollmentAccountMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json" + }, + "ManagementGroupMarketplacesList": { + "$ref": "./examples/MarketplacesByManagementGroupList.json" + }, + "ManagementGroupMarketplacesListForBillingPeriod": { + "$ref": "./examples/MarketplacesByManagementGroup_ListForBillingPeriod.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the most recent N marketplaces.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/scopeMarketplaceParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/MarketplacesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/budgets": { + "get": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_List", + "description": "Lists all budgets for the defined scope.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "BudgetsList": { + "$ref": "./examples/BudgetsList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BudgetsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}": { + "get": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_Get", + "description": "Gets the budget for the scope by budget name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Budget": { + "$ref": "./examples/Budget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_CreateOrUpdate", + "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "CreateOrUpdateBudget": { + "$ref": "./examples/CreateOrUpdateBudget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Budget" + }, + "description": "Parameters supplied to the Create Budget operation." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "201": { + "description": "Created.", + "schema": { + "$ref": "#/definitions/Budget" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Budgets" + ], + "operationId": "Budgets_Delete", + "description": "The operation to delete a budget.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "DeleteBudget": { + "$ref": "./examples/DeleteBudget.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeBudgetParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/budgetNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Consumption/tags": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Get", + "description": "Get all available tag keys for the defined scope", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Tags_Get": { + "$ref": "./examples/Tags.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeTagsParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/TagsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Consumption/charges": { + "get": { + "tags": [ + "Charges" + ], + "operationId": "Charges_ListByScope", + "description": "Lists the charges based for the defined scope.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ChargesListForEnrollmentAccount": { + "$ref": "./examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json" + }, + "ChangesForBillingPeriodByEnrollmentAccount": { + "$ref": "./examples/ChargesForBillingPeriodByEnrollmentAccount.json" + }, + "ChargesListByDepartment": { + "$ref": "./examples/ChargesListForDepartmentFilterByStartEndDate.json" + }, + "ChangesForBillingPeriodByDepartment": { + "$ref": "./examples/ChargesForBillingPeriodByDepartment.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/scopeChargesParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ChargeSummary" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances": { + "get": { + "tags": [ + "Balances" + ], + "operationId": "Balances_GetByBillingAccount", + "description": "Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Balances": { + "$ref": "./examples/BalancesByBillingAccount.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Balance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances": { + "get": { + "tags": [ + "Balances" + ], + "operationId": "Balances_GetForBillingPeriodByBillingAccount", + "description": "Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "Balances": { + "$ref": "./examples/BalancesByBillingAccountForBillingPeriod.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Balance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsSummaries_ListByReservationOrder", + "description": "Lists the reservations summaries for daily or monthly grain.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationSummariesDaily": { + "$ref": "./examples/ReservationSummariesDaily.json" + }, + "ReservationSummariesMonthly": { + "$ref": "./examples/ReservationSummariesMonthly.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/grainParameter" + }, + { + "name": "$filter", + "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationSummariesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation", + "description": "Lists the reservations summaries for daily or monthly grain.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationSummariesDailyWithReservationId": { + "$ref": "./examples/ReservationSummariesDailyWithReservationId.json" + }, + "ReservationSummariesMonthlyWithReservationId": { + "$ref": "./examples/ReservationSummariesMonthlyWithReservationId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/reservationIdParameter" + }, + { + "$ref": "#/parameters/grainParameter" + }, + { + "name": "$filter", + "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationSummariesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationSummaries": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsSummaries_ListByBillingAccountId", + "description": "Lists the reservations summaries for daily or monthly grain.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationSummariesDailyWithReservationId": { + "$ref": "./examples/ReservationSummariesDailyWithBillingAccountId.json" + }, + "ReservationSummariesMonthlyWithReservationId": { + "$ref": "./examples/ReservationSummariesMonthlyWithBillingAccountId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/grainParameter" + }, + { + "name": "$filter", + "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationSummariesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsDetails_ListByReservationOrder", + "description": "Lists the reservations details for provided date range.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationDetails": { + "$ref": "./examples/ReservationDetails.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "name": "$filter", + "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", + "in": "query", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsDetails_ListByReservationOrderAndReservation", + "description": "Lists the reservations details for provided date range.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationDetailsWithReservationId": { + "$ref": "./examples/ReservationDetailsWithReservationId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/reservationOrderIdParameter" + }, + { + "$ref": "#/parameters/reservationIdParameter" + }, + { + "name": "$filter", + "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", + "in": "query", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationDetails": { + "get": { + "tags": [ + "ReservedInstances" + ], + "operationId": "ReservationsDetails_ListByBillingAccountId", + "description": "Lists the reservations details for provided date range.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationDetails": { + "$ref": "./examples/ReservationDetailsByBillingAccountId.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "name": "$filter", + "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", + "in": "query", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationDetailsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations": { + "get": { + "tags": [ + "ReservationRecommendations" + ], + "operationId": "ReservationRecommendations_List", + "description": "List of recommendations for purchasing reserved instances.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationRecommendations": { + "$ref": "./examples/ReservationRecommendationsList.json" + }, + "ReservationRecommendationsFilterByScopeLookBackPeriod": { + "$ref": "./examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationRecommendationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/microsoft.consumption/ReservationRecommendations": { + "get": { + "tags": [ + "ReservationRecommendations" + ], + "operationId": "ReservationRecommendations_ListByBillingAccountId", + "description": "List of recommendations for purchasing reserved instances on billing account scope", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ReservationRecommendations": { + "$ref": "./examples/ReservationRecommendationsByBillingAccountList.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingAccountIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReservationRecommendationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default": { + "get": { + "tags": [ + "PriceSheet" + ], + "operationId": "PriceSheet_Get", + "description": "Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "PriceSheet": { + "$ref": "./examples/PriceSheet.json" + } + }, + "parameters": [ + { + "name": "$expand", + "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the top N results.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PriceSheetResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default": { + "get": { + "tags": [ + "PriceSheet" + ], + "operationId": "PriceSheet_GetByBillingPeriod", + "description": "Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "PriceSheetForBillingPeriod": { + "$ref": "./examples/PriceSheetForBillingPeriod.json" + }, + "PriceSheetExpand": { + "$ref": "./examples/PriceSheetExpand.json" + } + }, + "parameters": [ + { + "name": "$expand", + "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "description": "May be used to limit the number of results to the top N results.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 1000 + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/PriceSheetResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts": { + "get": { + "tags": [ + "Forecasts" + ], + "x-ms-odata": "#/definitions/Forecast", + "operationId": "Forecasts_List", + "description": "Lists the forecast charges by subscriptionId.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "ForecastsList": { + "$ref": "./examples/ForecastsList.json" + }, + "ForecastsListFilterByGrain": { + "$ref": "./examples/ForecastsListFilterByGrain.json" + }, + "ForecastsListFilterByDates": { + "$ref": "./examples/ForecastsListFilterByDates.json" + } + }, + "parameters": [ + { + "name": "$filter", + "description": "May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.", + "in": "query", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ForecastsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/providers/Microsoft.Consumption/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available consumption REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost": { + "get": { + "tags": [ + "AggregatedCost" + ], + "operationId": "AggregatedCost_GetByManagementGroup", + "description": "Provides the aggregate cost of a management group and all child management groups by current billing period.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "AggregatedCostByManagementGroup": { + "$ref": "./examples/AggregatedCostByManagementGroup.json" + }, + "AggregatedCostByManagementGroupFilterByDate": { + "$ref": "./examples/AggregatedCostByManagementGroupFilterByDate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/managementGroupIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "description": "May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost": { + "get": { + "tags": [ + "AggregatedCost" + ], + "operationId": "AggregatedCost_GetForBillingPeriodByManagementGroup", + "description": "Provides the aggregate cost of a management group and all child management groups by specified billing period", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "AggregatedCostListForBillingPeriodByManagementGroup": { + "$ref": "./examples/AggregatedCostForBillingPeriodByManagementGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/managementGroupIdParameter" + }, + { + "$ref": "#/parameters/billingPeriodNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "MeterDetails": { + "description": "The properties of the meter detail.", + "properties": { + "meterName": { + "description": "The name of the meter, within the given meter category", + "type": "string", + "readOnly": true + }, + "meterCategory": { + "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..", + "type": "string", + "readOnly": true + }, + "meterSubCategory": { + "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..", + "type": "string", + "readOnly": true + }, + "unit": { + "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.", + "type": "string", + "readOnly": true + }, + "meterLocation": { + "description": "The location in which the Azure service is available.", + "type": "string", + "readOnly": true + }, + "totalIncludedQuantity": { + "description": "The total included quantity associated with the offer.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "pretaxStandardRate": { + "description": "The pretax listing price.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "serviceName": { + "description": "The name of the service.", + "type": "string", + "readOnly": true + }, + "serviceTier": { + "description": "The service tier.", + "type": "string", + "readOnly": true + } + } + }, + "UsageDetail": { + "description": "An usage detail resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/UsageDetailProperties", + "title": "Usage detail properties" + } + } + }, + "UsageDetailsListResult": { + "description": "Result of listing usage details. It contains a list of available usage details in reverse chronological order by billing period.", + "properties": { + "value": { + "description": "The list of usage details.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/UsageDetail" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "UsageDetailProperties": { + "description": "The properties of the usage detail.", + "properties": { + "billingAccountId": { + "description": "Billing Account identifier.", + "type": "string", + "readOnly": true + }, + "billingAccountName": { + "description": "Billing Account Name.", + "type": "string", + "readOnly": true + }, + "billingPeriodStartDate": { + "description": "The billing period start date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingPeriodEndDate": { + "description": "The billing period end date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "billingProfileId": { + "description": "Billing Profile identifier.", + "type": "string", + "readOnly": true + }, + "billingProfileName": { + "description": "Billing Profile Name.", + "type": "string", + "readOnly": true + }, + "accountOwnerId": { + "description": "Account Owner Id.", + "type": "string", + "readOnly": true + }, + "accountName": { + "description": "Account Name.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Subscription guid.", + "type": "string", + "readOnly": true + }, + "subscriptionName": { + "description": "Subscription name.", + "type": "string", + "readOnly": true + }, + "date": { + "description": "Date for the usage record.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "product": { + "description": "Product name for the consumed service or purchase. Not available for Marketplace.", + "type": "string", + "readOnly": true + }, + "partNumber": { + "description": "Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace.", + "type": "string", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "meterDetails": { + "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/MeterDetailsResponse", + "readOnly": true + }, + "quantity": { + "description": "The usage quantity.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "effectivePrice": { + "description": "Effective Price that’s charged for the usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "cost": { + "description": "The amount of cost before tax.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unitPrice": { + "description": "Unit Price is the price applicable to you. (your EA or other contract price).", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "billingCurrency": { + "description": "Billing Currency.", + "type": "string", + "readOnly": true + }, + "resourceLocation": { + "description": "Resource Location.", + "type": "string", + "readOnly": true + }, + "consumedService": { + "description": "Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.", + "type": "string", + "readOnly": true + }, + "resourceId": { + "description": "Azure resource manager resource identifier.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Resource Name.", + "type": "string", + "readOnly": true + }, + "serviceInfo1": { + "description": "Service Info 1.", + "type": "string", + "readOnly": true + }, + "serviceInfo2": { + "description": "Service Info 2.", + "type": "string", + "readOnly": true + }, + "additionalInfo": { + "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.", + "type": "string", + "readOnly": true + }, + "invoiceSection": { + "description": "Invoice Section Name.", + "type": "string", + "readOnly": true + }, + "costCenter": { + "description": "The cost center of this department if it is a department and a cost center is provided.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Resource Group Name.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "ARM resource id of the reservation. Only applies to records relevant to reservations.", + "type": "string", + "readOnly": true + }, + "reservationName": { + "description": "User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.", + "type": "string", + "readOnly": true + }, + "productOrderId": { + "description": "Product Order Id. For reservations this is the Reservation Order ID.", + "type": "string", + "readOnly": true + }, + "productOrderName": { + "description": "Product Order Name. For reservations this is the SKU that was purchased.", + "type": "string", + "readOnly": true + }, + "offerId": { + "description": "Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P.", + "type": "string", + "readOnly": true + }, + "isAzureCreditEligible": { + "description": "Is Azure Credit Eligible.", + "type": "boolean", + "readOnly": true + }, + "term": { + "description": "Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation.", + "type": "string", + "readOnly": true + }, + "publisherName": { + "description": "Publisher Name.", + "type": "string", + "readOnly": true + }, + "publisherType": { + "description": "Publisher Type.", + "type": "string", + "readOnly": true + }, + "planName": { + "description": "Plan Name.", + "type": "string", + "readOnly": true + }, + "chargeType": { + "description": "Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.", + "type": "string", + "readOnly": true + }, + "frequency": { + "description": "Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.", + "type": "string", + "readOnly": true + } + } + }, + + "Marketplace": { + "description": "An marketplace resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MarketplaceProperties", + "title": "Marketplace properties" + } + } + }, + "MarketplacesListResult": { + "description": "Result of listing marketplaces. It contains a list of available marketplaces in reverse chronological order by billing period.", + "type": "object", + "properties": { + "value": { + "description": "The list of marketplaces.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Marketplace" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "MarketplaceProperties": { + "description": "The properties of the marketplace usage detail.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the usage belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "The start of the date time range covered by the usage detail.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usageEnd": { + "description": "The end of the date time range covered by the usage detail.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "resourceRate": { + "description": "The marketplace resource rate.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "offerName": { + "description": "The type of offer.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "The name of resource group.", + "type": "string", + "readOnly": true + }, + "orderNumber": { + "description": "The order number.", + "type": "string", + "readOnly": true + }, + "instanceName": { + "description": "The name of the resource instance that the usage is about.", + "type": "string", + "readOnly": true + }, + "instanceId": { + "description": "The uri of the resource instance that the usage is about.", + "type": "string", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "consumedQuantity": { + "description": "The quantity of usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unitOfMeasure": { + "description": "The unit of measure.", + "type": "string", + "readOnly": true + }, + "pretaxCost": { + "description": "The amount of cost before tax.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "isEstimated": { + "description": "The estimated usage is subject to change.", + "type": "boolean", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID).", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "subscriptionGuid": { + "description": "Subscription guid.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "subscriptionName": { + "description": "Subscription name.", + "type": "string", + "readOnly": true + }, + "accountName": { + "description": "Account name.", + "type": "string", + "readOnly": true + }, + "departmentName": { + "description": "Department name.", + "type": "string", + "readOnly": true + }, + "consumedService": { + "description": "Consumed service name.", + "type": "string", + "readOnly": true + }, + "costCenter": { + "description": "The cost center of this department if it is a department and a costcenter exists", + "type": "string", + "readOnly": true + }, + "additionalProperties": { + "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand.", + "type": "string", + "readOnly": true + }, + "publisherName": { + "description": "The name of publisher.", + "type": "string", + "readOnly": true + }, + "planName": { + "description": "The name of plan.", + "type": "string", + "readOnly": true + }, + "isRecurringCharge": { + "description": "Flag indicating whether this is a recurring charge or not.", + "type": "boolean", + "readOnly": true + } + } + }, + "Balance": { + "description": "A balance resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BalanceProperties", + "title": "Balance properties" + } + } + }, + "BalanceProperties": { + "description": "The properties of the balance.", + "type": "object", + "properties": { + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "beginningBalance": { + "description": "The beginning balance for the billing period.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "endingBalance": { + "description": "The ending balance for the billing period (for open periods this will be updated daily).", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "newPurchases": { + "description": "Total new purchase amount.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "adjustments": { + "description": "Total adjustment amount.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "utilized": { + "description": "Total Commitment usage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "serviceOverage": { + "description": "Overage for Azure services.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalOverage": { + "description": "serviceOverage + chargesBilledSeparately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalUsage": { + "description": "Azure service commitment + total Overage.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "azureMarketplaceServiceCharges": { + "description": "Total charges for Azure Marketplace.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "billingFrequency": { + "description": "The billing frequency.", + "type": "string", + "enum": [ + "Month", + "Quarter", + "Year" + ], + "x-ms-enum": { + "name": "BillingFrequency", + "modelAsString": true + } + }, + "priceHidden": { + "description": "Price is hidden or not.", + "type": "boolean", + "readOnly": true + }, + "newPurchasesDetails": { + "description": "List of new purchases.", + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "description": "the name of new purchase.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "the value of new purchase.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + }, + "adjustmentDetails": { + "description": "List of Adjustments (Promo credit, SIE credit etc.).", + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "description": "the name of new adjustment.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "the value of new adjustment.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + } + } + }, + "ReservationSummary": { + "description": "reservation summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationSummaryProperties", + "title": "Reservation Summary properties" + } + } + }, + "ReservationSummariesListResult": { + "description": "Result of listing reservation summaries.", + "properties": { + "value": { + "description": "The list of reservation summaries.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationSummary" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationSummaryProperties": { + "description": "The properties of the reservation summary.", + "properties": { + "reservationOrderId": { + "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.", + "type": "string", + "readOnly": true + }, + "skuName": { + "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.", + "type": "string", + "readOnly": true + }, + "reservedHours": { + "description": "This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "usageDate": { + "description": "Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usedHours": { + "description": "Total used hours by the reservation", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "minUtilizationPercentage": { + "description": "This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "avgUtilizationPercentage": { + "description": "This is average utilization for the entire time range. (day or month depending on the grain)", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "maxUtilizationPercentage": { + "description": "This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "ReservationDetail": { + "description": "reservation detail resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationDetailProperties", + "title": "Reservation Detail properties" + } + } + }, + "ReservationDetailsListResult": { + "description": "Result of listing reservation details.", + "properties": { + "value": { + "description": "The list of reservation details.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationDetail" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationDetailProperties": { + "description": "The properties of the reservation detail.", + "properties": { + "reservationOrderId": { + "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.", + "type": "string", + "readOnly": true + }, + "instanceFlexibilityRatio": { + "description": "The instance Flexibility Ratio.", + "type": "string", + "readOnly": true + }, + "instanceFlexibilityGroup": { + "description": "The instance Flexibility Group.", + "type": "string", + "readOnly": true + }, + "reservationId": { + "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.", + "type": "string", + "readOnly": true + }, + "skuName": { + "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.", + "type": "string", + "readOnly": true + }, + "reservedHours": { + "description": "This is the total hours reserved for the day. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "usageDate": { + "description": "The date on which consumption occurred.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usedHours": { + "description": "This is the total hours used by the instance.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "instanceId": { + "description": "This identifier is the name of the resource or the fully qualified Resource ID.", + "type": "string", + "readOnly": true + }, + "totalReservedQuantity": { + "description": "This is the total count of instances that are reserved for the reservationId.", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "ReservationRecommendation": { + "description": "Reservation recommendation resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "$ref": "#/definitions/ResourceAttributes" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReservationRecommendationProperties", + "title": "Reservation Recommendation properties" + } + } + }, + "ReservationRecommendationsListResult": { + "description": "Result of listing reservation recommendations.", + "properties": { + "value": { + "description": "The list of reservation recommendations.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReservationRecommendation" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ReservationRecommendationProperties": { + "description": "The properties of the reservation recommendation.", + "properties": { + "lookBackPeriod": { + "description": "The number of days of usage to look back for recommendation.", + "type": "string", + "readOnly": true + }, + "instanceFlexibilityRatio": { + "description": "The instance Flexibility Ratio.", + "type": "integer", + "readOnly": true + }, + "instanceFlexibilityGroup": { + "description": "The instance Flexibility Group.", + "type": "string", + "readOnly": true + }, + "normalizedSize": { + "description": "The normalized Size.", + "type": "string", + "readOnly": true + }, + "recommendedQuantityNormalized": { + "description": "The recommended Quantity Normalized.", + "type": "number", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID)", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "term": { + "description": "RI recommendations in one or three year terms.", + "type": "string", + "readOnly": true + }, + "costWithNoReservedInstances": { + "description": "The total amount of cost without reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "recommendedQuantity": { + "description": "Recommended quality for reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "totalCostWithReservedInstances": { + "description": "The total amount of cost with reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "netSavings": { + "description": "Total estimated savings with reserved instances.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "firstUsageDate": { + "description": "The usage date for looking back.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "scope": { + "description": "Shared or single recommendation.", + "type": "string", + "readOnly": true + } + } + }, + "TagsResult": { + "description": "A resource listing all tags.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TagProperties", + "title": "Tag properties" + } + } + }, + "TagProperties": { + "description": "The properties of the tag.", + "properties": { + "tags": { + "description": "A list of Tag.", + "type": "array", + "items": { + "$ref": "#/definitions/Tag" + } + } + } + }, + "Tag": { + "description": "The tag resource.", + "properties": { + "key": { + "description": "Tag key.", + "type": "string" + } + } + }, + "BudgetsListResult": { + "description": "Result of listing budgets. It contains a list of available budgets in the scope provided.", + "properties": { + "value": { + "description": "The list of budgets.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Budget" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "Budget": { + "description": "A budget resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/BudgetProperties", + "title": "Budget properties" + } + } + }, + "BudgetProperties": { + "description": "The properties of the budget.", + "properties": { + "category": { + "description": "The category of the budget, whether the budget tracks cost or usage.", + "type": "string", + "enum": [ + "Cost", + "Usage" + ], + "x-ms-enum": { + "name": "CategoryType", + "modelAsString": true + } + }, + "amount": { + "description": "The total amount of cost to track with the budget", + "type": "number", + "format": "decimal" + }, + "timeGrain": { + "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.", + "type": "string", + "enum": [ + "Monthly", + "Quarterly", + "Annually", + "BillingMonth", + "BillingQuarter", + "BillingAnnual" + ], + "x-ms-enum": { + "name": "TimeGrainType", + "modelAsString": true + } + }, + "timePeriod": { + "description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.", + "$ref": "#/definitions/BudgetTimePeriod" + }, + "filters": { + "description": "May be used to filter budgets by resource group, resource, or meter.", + "type": "object", + "$ref": "#/definitions/Filters" + }, + "currentSpend": { + "description": "The current amount of cost which is being tracked for a budget.", + "$ref": "#/definitions/CurrentSpend", + "readOnly": true + }, + "notifications": { + "type": "object", + "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications.", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/Notification" + }, + "maxItems": 5 + } + }, + "required": [ + "category", + "amount", + "timeGrain", + "timePeriod" + ] + }, + "BudgetTimePeriod": { + "description": "The start and end date for a budget.", + "properties": { + "startDate": { + "description": "The start date for the budget.", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "The end date for the budget. If not provided, we default this to 10 years from the start date.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "startDate" + ] + }, + "Filters": { + "description": "May be used to filter budgets by resource group, resource, or meter.", + "properties": { + "resourceGroups": { + "description": "The list of filters on resource groups, allowed at subscription level only.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 10 + }, + "resources": { + "description": "The list of filters on resources.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 10 + }, + "meters": { + "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. ", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 0, + "maxItems": 10 + }, + "tags": { + "type": "object", + "description": "The dictionary of filters on tags.", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": 0, + "maxItems": 10 + } + } + }, + "CurrentSpend": { + "description": "The current amount of cost which is being tracked for a budget.", + "properties": { + "amount": { + "description": "The total amount of cost which is being tracked by the budget.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "unit": { + "description": "The unit of measure for the budget amount.", + "type": "string", + "readOnly": true + } + } + }, + "Notification": { + "description": "The notification associated with a budget.", + "properties": { + "enabled": { + "description": "The notification is enabled or not.", + "type": "boolean" + }, + "operator": { + "description": "The comparison operator.", + "type": "string", + "enum": [ + "EqualTo", + "GreaterThan", + "GreaterThanOrEqualTo" + ], + "x-ms-enum": { + "name": "OperatorType", + "modelAsString": true + } + }, + "threshold": { + "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.", + "type": "number", + "format": "decimal" + }, + "contactEmails": { + "description": "Email addresses to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "maxItems": 50 + }, + "contactRoles": { + "description": "Contact roles to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + } + }, + "contactGroups": { + "description": "Action groups to send the budget notification to when the threshold is exceeded.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 0, + "maxItems": 50 + } + }, + "required": [ + "enabled", + "operator", + "threshold", + "contactEmails" + ] + }, + "PriceSheetResult": { + "description": "An pricesheet resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PriceSheetModel", + "title": "Price sheet properties" + } + } + }, + "PriceSheetModel": { + "description": "price sheet result. It contains the pricesheet associated with billing period", + "properties": { + "pricesheets": { + "description": "Price sheet", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PriceSheetProperties" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PriceSheetProperties": { + "description": "The properties of the price sheet.", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the usage belongs to.", + "type": "string", + "readOnly": true + }, + "meterId": { + "description": "The meter id (GUID)", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "meterDetails": { + "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.", + "$ref": "#/definitions/MeterDetails", + "readOnly": true + }, + "unitOfMeasure": { + "description": "Unit of measure", + "type": "string", + "readOnly": true + }, + "includedQuantity": { + "description": "Included quality for an offer", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "partNumber": { + "description": "Part Number", + "type": "string", + "readOnly": true + }, + "unitPrice": { + "description": "Unit Price", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currencyCode": { + "description": "Currency Code", + "type": "string", + "readOnly": true + }, + "offerId": { + "description": "Offer Id", + "type": "string", + "readOnly": true + } + } + }, + "Forecast": { + "description": "A forecast resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ForecastProperties", + "title": "Forecast properties" + } + } + }, + "ForecastsListResult": { + "description": "Result of listing forecasts. It contains a list of available forecasts.", + "type": "object", + "properties": { + "value": { + "description": "The list of forecasts.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Forecast" + } + } + } + }, + "ForecastProperties": { + "description": "The properties of the forecast charge.", + "type": "object", + "properties": { + "usageDate": { + "description": "The usage date of the forecast.", + "type": "string", + "readOnly": true + }, + "grain": { + "description": "The granularity of forecast.", + "type": "string", + "enum": [ + "Daily", + "Monthly", + "Yearly" + ], + "x-ms-enum": { + "name": "Grain", + "modelAsString": true + } + }, + "charge": { + "description": "The amount of charge", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "chargeType": { + "description": "The type of the charge. Could be actual or forecast", + "type": "string", + "enum": [ + "Actual", + "Forecast" + ], + "x-ms-enum": { + "name": "ChargeType", + "modelAsString": true + } + }, + "confidenceLevels": { + "description": "The details about the forecast confidence levels. This is populated only when chargeType is Forecast.", + "type": "array", + "items": { + "type": "object", + "properties": { + "percentage": { + "description": "The percentage level of the confidence", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "bound": { + "description": "The boundary of the percentage, values could be 'Upper' or 'Lower'", + "type": "string", + "enum": [ + "Upper", + "Lower" + ], + "x-ms-enum": { + "name": "Bound", + "modelAsString": true + } + }, + "value": { + "description": "The amount of forecast within the percentage level", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, + "readOnly": true + } + } + }, + "ManagementGroupAggregatedCostResult": { + "description": "A management group aggregated cost resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagementGroupAggregatedCostProperties", + "title": "Management Group Aggregated Cost properties" + } + } + }, + "ManagementGroupAggregatedCostProperties": { + "description": "The properties of the Management Group Aggregated Cost.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the aggregated cost belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "The start of the date time range covered by aggregated cost.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "usageEnd": { + "description": "The end of the date time range covered by the aggregated cost.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "azureCharges": { + "description": "Azure Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "marketplaceCharges": { + "description": "Marketplace Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed Separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "The ISO currency in which the meter is charged, for example, USD.", + "type": "string", + "readOnly": true + }, + "children": { + "description": "Children of a management group", + "type": "array", + "items": { + "$ref": "#/definitions/ManagementGroupAggregatedCostResult" + } + }, + "includedSubscriptions": { + "description": "List of subscription Guids included in the calculation of aggregated cost", + "type": "array", + "items": { + "type": "string" + } + }, + "excludedSubscriptions": { + "description": "List of subscription Guids excluded from the calculation of aggregated cost", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ChargesListResult": { + "description": "Result of listing charge summary.", + "properties": { + "value": { + "description": "The list of charge summary", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ChargeSummary" + } + } + } + }, + "ChargeSummary": { + "description": "A charge summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ChargeSummaryProperties", + "title": "Charge summary properties" + } + } + }, + "ChargeSummaryProperties": { + "description": "The properties of the charge summary.", + "type": "object", + "properties": { + "billingPeriodId": { + "description": "The id of the billing period resource that the charge belongs to.", + "type": "string", + "readOnly": true + }, + "usageStart": { + "description": "Usage start date.", + "type": "string", + "readOnly": true + }, + "usageEnd": { + "description": " Usage end date.", + "type": "string", + "readOnly": true + }, + "azureCharges": { + "description": "Azure Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "chargesBilledSeparately": { + "description": "Charges Billed separately.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "marketplaceCharges": { + "description": "Marketplace Charges.", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "currency": { + "description": "Currency Code", + "type": "string", + "readOnly": true + } + } + }, + "MeterDetailsResponse": { + "description": "The properties of the meter detail.", + "properties": { + "meterName": { + "description": "The name of the meter, within the given meter category", + "type": "string", + "readOnly": true + }, + "meterCategory": { + "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..", + "type": "string", + "readOnly": true + }, + "meterSubCategory": { + "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..", + "type": "string", + "readOnly": true + }, + "unitOfMeasure": { + "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.", + "type": "string", + "readOnly": true + }, + "serviceFamily": { + "description": "The service family.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorDetails": { + "description": "The details of the error.", + "properties": { + "code": { + "description": "Error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string", + "readOnly": true + } + } + }, + "ErrorResponse": { + "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "Operation": { + "description": "A Consumption REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Consumption.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed: UsageDetail, etc.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string", + "readOnly": true + } + } + } + } + }, + "OperationListResult": { + "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL to get the next set of operation list results if there are any.", + "type": "string", + "readOnly": true + } + } + }, + "Resource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "tags": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "x-ms-azure-resource": true + }, + "ResourceAttributes": { + "description": "The Resource model definition.", + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Resource location" + }, + "sku": { + "readOnly": true, + "type": "string", + "description": "Resource sku" + } + } + }, + "ProxyResource": { + "description": "The Resource model definition.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "eTag": { + "type": "string", + "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." + } + }, + "x-ms-azure-resource": true + } + }, + "parameters": { + "scopeChargesParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with usage details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeUsageDetailsParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeMarketplaceParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeBudgetParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "scopeTagsParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request. The current version is 2019-05-01." + }, + "billingAccountIdParameter": { + "name": "billingAccountId", + "in": "path", + "description": "BillingAccount ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "departmentIdParameter": { + "name": "departmentId", + "in": "path", + "description": "Department ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "enrollmentAccountIdParameter": { + "name": "enrollmentAccountId", + "in": "path", + "description": "EnrollmentAccount ID", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Azure Subscription ID.", + "required": true, + "type": "string" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "Azure Resource Group Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "budgetNameParameter": { + "name": "budgetName", + "in": "path", + "description": "Budget Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingPeriodNameParameter": { + "name": "billingPeriodName", + "in": "path", + "description": "Billing Period Name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "reservationOrderIdParameter": { + "name": "reservationOrderId", + "in": "path", + "description": "Order Id of the reservation", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "reservationIdParameter": { + "name": "reservationId", + "in": "path", + "description": "Id of the reservation", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "grainParameter": { + "name": "grain", + "description": "Can be daily or monthly", + "x-ms-parameter-location": "method", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "daily", + "monthly" + ], + "x-ms-enum": { + "name": "datagrain", + "modelAsString": true, + "values": [ + { + "value": "daily", + "description": "Daily grain of data", + "name": "DailyGrain" + }, + { + "value": "monthly", + "description": "Monthly grain of data", + "name": "MonthlyGrain" + } + ] + } + }, + "managementGroupIdParameter": { + "name": "managementGroupId", + "in": "path", + "description": "Azure Management Group ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "billingProfileIdParameter": { + "name": "billingProfileId", + "in": "path", + "description": "Azure Billing Profile ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "invoiceSectionIdParameter": { + "name": "invoiceSectionId", + "in": "path", + "description": "Azure Invoice Section ID.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "metricParameter": { + "name": "metric", + "in": "query", + "description": "Allows to select different type of cost/usage records.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "enum": [ + "actualcost", + "amortizedcost", + "usage" + ], + "x-ms-enum": { + "name": "metrictype", + "modelAsString": true, + "values": [ + { + "value": "actualcost", + "description": "Actual cost data.", + "name": "ActualCostMetricType" + }, + { + "value": "amortizedcost", + "description": "Amortized cost data.", + "name": "AmortizedCostMetricType" + }, + { + "value": "usage", + "description": "Usage data.", + "name": "UsageMetricType" + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json new file mode 100644 index 000000000000..9935a249ce99 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "1caaa5a3-2b66-438e-8ab4-bce37d518c5d" + ], + "excludedSubscriptions": [], + "usageStart": "2019-05-01T00:00:00.0000000Z", + "usageEnd": "2018-10-31T00:00:00.0000000Z", + "azureCharges": 250.9876, + "marketplaceCharges": 150.786, + "chargesBilledSeparately": 120.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "c349567d-c83a-48c9-ab0e-578c69dc97a4" + ], + "excludedSubscriptions": [], + "usageStart": "2019-05-01T00:00:00.0000000Z", + "usageEnd": "2018-10-31T00:00:00.0000000Z", + "azureCharges": 150.0, + "marketplaceCharges": 50.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json new file mode 100644 index 000000000000..cf899d3abb70 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "1caaa5a3-2b66-438e-8ab4-bce37d518c5d" + ], + "excludedSubscriptions": [], + "usageStart": "2018-08-15T00:00:00.0000000Z", + "usageEnd": "2018-08-31T00:00:00.0000000Z", + "azureCharges": 150.9876, + "marketplaceCharges": 80.786, + "chargesBilledSeparately": 90.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "includedSubscriptions": [ + "c349567d-c83a-48c9-ab0e-578c69dc97a4" + ], + "excludedSubscriptions": [], + "usageStart": "2018-08-15T00:00:00.0000000Z", + "usageEnd": "2018-08-31T00:00:00.0000000Z", + "azureCharges": 50.0, + "marketplaceCharges": 10.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json new file mode 100644 index 000000000000..bc0631163d53 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201807" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1", + "name": "aggregatedcostId1", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "usageStart": "2018-07-01T00:00:00.0000000Z", + "usageEnd": "2018-07-31T00:00:00.0000000Z", + "azureCharges": 250.9876, + "marketplaceCharges": 150.786, + "chargesBilledSeparately": 120.345, + "currency": "USD", + "children": [ + { + "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2", + "name": "aggregatedcostId2", + "type": "Microsoft.Consumption/aggregatedcost", + "properties": { + "usageStart": "2018-07-01T00:00:00.0000000Z", + "usageEnd": "2018-07-31T00:00:00.0000000Z", + "azureCharges": 150.0, + "marketplaceCharges": 50.786, + "chargesBilledSeparately": 30.345, + "currency": "USD", + "children": [] + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json new file mode 100644 index 000000000000..661d34975d1b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "123456" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1", + "name": "balanceId1", + "type": "Microsoft.Consumption/balances", + "properties": { + "currency": "USD ", + "beginningBalance": 3396469.19, + "endingBalance": 2922371.02, + "newPurchases": 0, + "adjustments": 0, + "utilized": 474098.17, + "serviceOverage": 0, + "chargesBilledSeparately": 0, + "totalOverage": 0, + "totalUsage": 474098.17, + "azureMarketplaceServiceCharges": 609.82, + "billingFrequency": "Month", + "priceHidden": false, + "newPurchasesDetails": [ + { + "name": "Promo Purchase", + "value": 1 + } + ], + "adjustmentDetails": [ + { + "name": "Promo Credit", + "value": 1.1 + }, + { + "name": "SIE Credit", + "value": 1.0 + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json new file mode 100644 index 000000000000..45b4f03410fc --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "123456", + "billingPeriodName": "201702" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1", + "name": "balanceId1", + "type": "Microsoft.Consumption/balances", + "properties": { + "currency": "USD ", + "beginningBalance": 3396469.19, + "endingBalance": 2922371.02, + "newPurchases": 0, + "adjustments": 0, + "utilized": 474098.17, + "serviceOverage": 0, + "chargesBilledSeparately": 0, + "totalOverage": 0, + "totalUsage": 474098.17, + "azureMarketplaceServiceCharges": 609.82, + "billingFrequency": "Month", + "priceHidden": false, + "newPurchasesDetails": [ + { + "name": "Promo Purchase", + "value": 1 + } + ], + "adjustmentDetails": [ + { + "name": "Promo Credit", + "value": 1.1 + }, + { + "name": "SIE Credit", + "value": 1.0 + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json new file mode 100644 index 000000000000..b5095fcf05c7 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MSVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json new file mode 100644 index 000000000000..29d868c6b227 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ] + }, + "Actual_GreaterThanOrEqualTo_90_Percent": { + "enabled": true, + "operator": "GreaterThanOrEqualTo", + "threshold": 90, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + }, + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 600.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 120.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_40_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 40, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ] + }, + "Actual_GreaterThanOrEqualTo_60_Percent": { + "enabled": true, + "operator": "GreaterThanOrEqualTo", + "threshold": 60, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json new file mode 100644 index 000000000000..d572fa968485 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "1234", + "departmentId": "42425", + "billingPeriodName": "201804", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json new file mode 100644 index 000000000000..fd70933c1bd1 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "1234", + "enrollmentAccountId": "42425", + "billingPeriodName": "201804", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json new file mode 100644 index 000000000000..9e93da67d972 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "1234", + "departmentId": "42425", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "$filter": "usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json new file mode 100644 index 000000000000..20cf27c58c4e --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "1234", + "enrollmentAccountId": "42425", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json new file mode 100644 index 000000000000..efca50bfec47 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "parameters": { + "eTag": "\"1d34d016a593709\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MYDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + }, + "200": { + "body": { + "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget", + "name": "TestBudget", + "type": "Microsoft.Consumption/budgets", + "eTag": "\"1d34d012214157f\"", + "properties": { + "category": "Cost", + "amount": 100.65, + "timeGrain": "Monthly", + "timePeriod": { + "startDate": "2017-10-01T00:00:00Z", + "endDate": "2018-10-31T00:00:00Z" + }, + "filters": { + "resourceGroups": [ + "MPDEVTESTRG" + ], + "resources": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2", + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1" + ], + "meters": [ + "00000000-0000-0000-0000-000000000000" + ], + "tags": { + "category": [ + "Dev", + "Prod" + ], + "department": [ + "engineering", + "sales" + ] + } + }, + "currentSpend": { + "amount": 80.89, + "unit": "USD" + }, + "notifications": { + "Actual_GreaterThan_80_Percent": { + "enabled": true, + "operator": "GreaterThan", + "threshold": 80, + "contactEmails": [ + "johndoe@contoso.com", + "janesmith@contoso.com" + ], + "contactRoles": [ + "Contributor", + "Reader" + ], + "contactGroups": [ + "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup" + ] + } + } + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json new file mode 100644 index 000000000000..b7033bd9c85e --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "budgetName": "TestBudget", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json new file mode 100644 index 000000000000..de0ea04661b4 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Daily", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-02", + "grain": "Daily", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json new file mode 100644 index 000000000000..858ff397f1ff --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "usagedate ge '2018-04-01' AND usagedate le '2018-04-02'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Daily", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-02", + "grain": "Daily", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json new file mode 100644 index 000000000000..bc34d29580af --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "Grain eq 'Monthly'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1", + "name": "forecastId1", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-04-01", + "grain": "Monthly", + "charge": 752.000000, + "currency": "USD", + "chargeType": "Actual", + "confidenceLevels": null + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2", + "name": "forecastId2", + "type": "Microsoft.Consumption/forecasts", + "properties": { + "usageDate": "2018-05-01", + "grain": "Monthly", + "charge": 753.809074, + "currency": "USD", + "chargeType": "Forecast", + "confidenceLevels": [ + { + "percentage": 95, + "bound": "Upper", + "value": 1165.951737 + }, + { + "percentage": 95, + "bound": "Lower", + "value": 340.753404 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json new file mode 100644 index 000000000000..30ab0d7c82f3 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/billingAccounts/123456", + "billingAccountId": "123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplaceId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan1", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json new file mode 100644 index 000000000000..13fcf90dc2a5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "123456", + "scope": "providers/Microsoft.Billing/billingAccounts/123456", + "billingPeriodName": "201702" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json new file mode 100644 index 000000000000..aebd15cfb7cc --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "departmentId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/departments/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json new file mode 100644 index 000000000000..aebd15cfb7cc --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "departmentId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/departments/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json new file mode 100644 index 000000000000..83e5b6a05111 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "enrollmentAccountId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json new file mode 100644 index 000000000000..83e5b6a05111 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "enrollmentAccountId": "123456", + "billingPeriodName": "201702", + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json new file mode 100644 index 000000000000..4827a31879e5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-10-13T00:00:00Z", + "usageEnd": "2018-10-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + }, + { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId2", + "name": "marketplacesId2", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account2", + "additionalProperties": "additionalProperties", + "costCenter": "Center2", + "departmentName": "Department2", + "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-10-13T00:00:00Z", + "usageEnd": "2018-10-13T23:59:59Z", + "instanceName": "shared2", + "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "11111111-1111-1111-1111-111111111111", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "11111111-1111-1111-1111-111111111111", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "11111111-1111-1111-1111-111111111111", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json new file mode 100644 index 000000000000..a9d4ae3ea50f --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201808", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808", + "usageStart": "2018-08-13T00:00:00Z", + "usageEnd": "2018-08-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + }, + { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId2", + "name": "marketplacesId2", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account2", + "additionalProperties": "additionalProperties", + "costCenter": "Center2", + "departmentName": "Department2", + "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810", + "usageStart": "2018-08-13T00:00:00Z", + "usageEnd": "2018-08-13T23:59:59Z", + "instanceName": "shared2", + "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "11111111-1111-1111-1111-111111111111", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "11111111-1111-1111-1111-111111111111", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "11111111-1111-1111-1111-111111111111", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json new file mode 100644 index 000000000000..1e7c75d91630 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplaceId1", + "name": "marketplaceId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan1", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json new file mode 100644 index 000000000000..64cc28668831 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplacesId1", + "name": "marketplacesId1", + "type": "Microsoft.Consumption/marketPlaces", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "accountName": "Account1", + "additionalProperties": "additionalProperties", + "costCenter": "Center1", + "departmentName": "Department1", + "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702", + "usageStart": "2017-02-13T00:00:00Z", + "usageEnd": "2017-02-13T23:59:59Z", + "instanceName": "shared1", + "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1", + "currency": "USD", + "consumedQuantity": 0.00328, + "pretaxCost": 0.67, + "isEstimated": false, + "meterId": "00000000-0000-0000-0000-000000000000", + "offerName": "offer1", + "resourceGroup": "TEST", + "orderNumber": "00000000-0000-0000-0000-000000000000", + "publisherName": "xyz", + "planName": "plan2", + "resourceRate": 0.24, + "subscriptionGuid": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "azure subscription", + "unitOfMeasure": "10 Hours", + "isRecurringCharge": false + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json new file mode 100644 index 000000000000..be47e0b2621a --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json new file mode 100644 index 000000000000..f010627dcbcd --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801", + "$expand": "meterDetails" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D&$expand=properties/pricesheets/meterDetails", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1", + "meterDetails": { + "meterName": "Data Transfer Out (GB)", + "meterCategory": "Networking", + "unit": "GB", + "meterLocation": "Zone 2", + "totalIncludedQuantity": 0, + "pretaxStandardRate": 0.138 + } + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json new file mode 100644 index 000000000000..6d78cf22f1c9 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201801" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default", + "name": "default", + "type": "Microsoft.Consumption/pricesheets", + "properties": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31", + "pricesheets": [ + { + "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702", + "meterId": "00000000-0000-0000-0000-000000000000", + "unitOfMeasure": "100 Hours", + "includedQuantity": 100, + "partNumber": "XX-11110", + "unitPrice": 0.00328, + "currencyCode": "EUR", + "offerId": "OfferId 1" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json new file mode 100644 index 000000000000..451a7d35c563 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129", + "type": "Microsoft.Consumption/reservationDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-29T00:00:00Z", + "skuName": "Standard_D2_v2", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33", + "totalReservedQuantity": 1.000000000000000, + "reservedHours": 24.000000000000000, + "usedHours": 24.000000000000000 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json new file mode 100644 index 000000000000..a70bdf82946a --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "12345", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171130", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Consumption/reservationDetails", + "tags": null, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-30T00:00:00-08:00", + "skuName": "Standard_D2s_v3", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlh1/providers/microsoft.compute/virtualmachines/sqlh1", + "totalReservedQuantity": 0, + "reservedHours": 48, + "usedHours": 0.6, + "instanceFlexibilityGroup": "DSv3 Series", + "instanceFlexibilityRatio": "1" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json new file mode 100644 index 000000000000..7b4aa9510345 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129", + "type": "Microsoft.Consumption/reservationDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-29T00:00:00Z", + "skuName": "Standard_D2_v2", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33", + "totalReservedQuantity": 1.000000000000000, + "reservedHours": 24.000000000000000, + "usedHours": 24.000000000000000 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json new file mode 100644 index 000000000000..94354a980c63 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "123456" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "billingAccount/123456/providers/Microsoft.Consumption/reservationRecommendations/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Consumption/reservationRecommendations", + "location": "westus", + "sku": "Standard_DS1_v2", + "properties": { + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 12.0785105, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 11.4899644807748, + "netSavings": 0.588546019225182, + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1_v2", + "recommendedQuantityNormalized": 1 + } + }, + { + "id": "billingAccount/123456/providers/Microsoft.Consumption/reservationRecommendations/00000000-0000-0000-0000-000000000000", + "name": "00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Consumption/reservationRecommendations", + "location": "westus", + "sku": "Standard_DS1_v2", + "properties": { + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 10.0785105, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 13.48, + "netSavings": 0.68, + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1", + "recommendedQuantityNormalized": 1.2 + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json new file mode 100644 index 000000000000..f169b528120d --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$filter": "properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1", + "name": "reservationRecommendations1", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 4.634521202630137, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2", + "name": "reservationRecommendations2", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P3Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 7.2893157231780812, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$filter=properties/scope+eq+'Single'+AND+properties/lookBackPeriod+eq+'Last7Days'&$skiptoken=AQAAAA%3D%3D&" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json new file mode 100644 index 000000000000..c0788f41b413 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1", + "name": "reservationRecommendations1", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 4.634521202630137, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2", + "name": "reservationRecommendations2", + "type": "Microsoft.Consumption/reservationRecommendations", + "sku": "Standard_DS1_v2", + "location": "northeurope", + "properties": { + "lookBackPeriod": "Last7Days", + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P3Y", + "costWithNoReservedInstances": 0.0, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 0.0, + "netSavings": 7.2893157231780812, + "firstUsageDate": "2018-03-06T00:00:00Z", + "scope": "Single" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&" + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json new file mode 100644 index 000000000000..ea44229b7720 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "grain": "daily", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json new file mode 100644 index 000000000000..f3f2fb1f11c1 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "12345", + "grain": "daily", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901", + "name": "00000000-0000-0000-0000-000000000000_20180901", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": null, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_B1s", + "reservedHours": 720, + "usageDate": "2018-09-01T00:00:00-07:00", + "usedHours": 0, + "minUtilizationPercentage": 0, + "avgUtilizationPercentage": 0, + "maxUtilizationPercentage": 0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json new file mode 100644 index 000000000000..baa406ca7f38 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "grain": "daily", + "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json new file mode 100644 index 000000000000..6ad998620c4b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "grain": "monthly" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json new file mode 100644 index 000000000000..5d58c47d406a --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "12345", + "grain": "monthly" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901", + "name": "00000000-0000-0000-0000-000000000000_20180901", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": null, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_B1s", + "reservedHours": 720, + "usageDate": "2018-09-01T00:00:00-07:00", + "usedHours": 0, + "minUtilizationPercentage": 0, + "avgUtilizationPercentage": 0, + "maxUtilizationPercentage": 0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json new file mode 100644 index 000000000000..55a214dae0cd --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "grain": "monthly" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001", + "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001", + "type": "Microsoft.Consumption/reservationSummaries", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_D8s_v3", + "reservedHours": 0.0, + "usageDate": "2017-10-01T00:00:00Z", + "usedHours": 0.0, + "minUtilizationPercentage": 0.0, + "avgUtilizationPercentage": 0.0, + "maxUtilizationPercentage": 0.0 + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json new file mode 100644 index 000000000000..04daa19fcd7b --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "billingAccountId": "12345", + "scope": "providers/Microsoft.CostManagement/billingAccounts/1234" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/tags1", + "name": "tags1", + "type": "Microsoft.Consumption/tags", + "eTag": "\"1d34d012214157f\"", + "properties": { + "tags": [ + { + "key": "Department" + }, + { + "key": "CostCenter" + }, + { + "key": "Portal" + }, + { + "key": "OrgName" + }, + { + "key": "Namespace" + }, + { + "key": "resourceType" + }, + { + "key": "Subsystem" + }, + { + "key": "Environment" + }, + { + "key": "clusterName" + } + ] + } + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json new file mode 100644 index 000000000000..619386b1432c --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903", + "$expand": "meterDetails,additionalInfo", + "$filter": "tags eq 'dev:tools'", + "$top": 1 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": { + "meterName": "Data Transfer Out (GB)", + "meterCategory": "Networking", + "meterSubCategory": "ExpressRoute", + "unitOfMeasure": "GB", + "serviceFamily": "Compute" + }, + "quantity": 0.8234, + "effectivePrice": 0.010464556322455, + "cost": 0.000342194841184, + "unitPrice": 3.54, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased", + "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json new file mode 100644 index 000000000000..6f914eb30ac5 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693034210767, + "cost": 0.000001980949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json new file mode 100644 index 000000000000..8cfcd69aafdd --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01-preview", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json new file mode 100644 index 000000000000..83b746be6294 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/Departments/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json new file mode 100644 index 000000000000..19ee428df5af --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json new file mode 100644 index 000000000000..85e0d0bf2c41 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201903", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + }, + { + "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2", + "name": "usageDetails_Id2", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 2", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 2", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 2", + "partNumber": "Part Number 2", + "meterId": "11111111-1111-1111-1111-111111111111", + "meterDetails": null, + "quantity": 0.7329, + "effectivePrice": 0.000402776395232, + "cost": 0.000295194820065, + "unitPrice": 4.38, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2", + "resourceName": "Resource Name 2", + "invoiceSection": "Invoice Section 2", + "costCenter": "DEV", + "resourceGroup": "Resource Group 2", + "offerId": "Offer Id 2", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json new file mode 100644 index 000000000000..53956c8f4d72 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "actualcost", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json new file mode 100644 index 000000000000..5cb0d3221d75 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "amortizedcost", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage", + "frequency": "UsageBased" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json new file mode 100644 index 000000000000..1646532866f6 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "metric": "usage", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Customer Name 1", + "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Customer Name 1", + "accountName": "AccountName", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "SubscriptionName 1", + "date": "2019-04-09T00:00:00.0000000Z", + "product": "Product1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.000036, + "effectivePrice": 0.054693055510767, + "cost": 0.000001968949998, + "unitPrice": 5.47, + "billingCurrency": "CAD", + "resourceLocation": "uswest", + "consumedService": "Microsoft.ClassicStorage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1", + "resourceName": "ResourceName1", + "invoiceSection": "Invoice Section 1", + "costCenter": "BAS", + "resourceGroup": "Resource-Group-westus", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json new file mode 100644 index 000000000000..4eaa20890fd1 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "$filter": "tags eq 'dev:tools'", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json new file mode 100644 index 000000000000..359761c4d338 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json new file mode 100644 index 000000000000..6af55a086805 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json new file mode 100644 index 000000000000..ad785e54ff58 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/Departments/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json new file mode 100644 index 000000000000..b40461c9561d --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234", + "billingPeriodName": "201903" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json new file mode 100644 index 000000000000..3a938a094870 --- /dev/null +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "managementGroupId": "managementGroupForTest", + "billingPeriodName": "201903", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1", + "name": "usageDetails_Id1", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 1", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 1", + "accountName": "Account Name 1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 1", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 1", + "partNumber": "Part Number 1", + "meterId": "00000000-0000-0000-0000-000000000000", + "meterDetails": null, + "quantity": 0.8234, + "effectivePrice": 0.010534556373432, + "cost": 0.000342194841184, + "unitPrice": 3.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", + "resourceName": "Resource Name 1", + "invoiceSection": "Invoice Section 1", + "costCenter": "DEV", + "resourceGroup": "Resource Group 1", + "offerId": "Offer Id 1", + "isAzureCreditEligible": false, + "chargeType": "Usage" + } + }, + { + "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2", + "name": "usageDetails_Id2", + "type": "Microsoft.Consumption/usageDetails", + "tags": { + "env": "newcrp", + "dev": "tools" + }, + "properties": { + "billingAccountId": "xxxxxxxx", + "billingAccountName": "Account Name 2", + "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z", + "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z", + "billingProfileId": "xxxxxxxx", + "billingProfileName": "Account Name 2", + "accountName": "Account Name 2", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionName": "Subscription Name 2", + "date": "2019-03-30T00:00:00.0000000Z", + "product": "Product Name 2", + "partNumber": "Part Number 2", + "meterId": "11111111-1111-1111-1111-111111111111", + "meterDetails": null, + "quantity": 0.4759, + "effectivePrice": 0.073488920944598, + "cost": 0.000821821271948, + "unitPrice": 5.74, + "billingCurrency": "CAD", + "resourceLocation": "USEast", + "consumedService": "Microsoft.Storage", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2", + "resourceName": "Resource Name 2", + "invoiceSection": "Invoice Section 2", + "costCenter": "DEV", + "resourceGroup": "Resource Group 2", + "offerId": "Offer Id 2", + "isAzureCreditEligible": false, + "chargeType": "UnusedReservation" + } + } + ] + } + } + } +} diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index c25028dcc190..bdf923cfcaf3 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -26,6 +26,17 @@ These are the global settings for the Consumption API. ``` yaml openapi-type: arm +tag: package-2019-05 +``` + + +### Tag: package-2019-05 + +These settings apply only when `--tag=package-2019-05` is specified on the command line. + +```yaml $(tag) == 'package-2019-05' +input-file: + - Microsoft.Consumption/stable/2019-05-01/consumption.json tag: package-preview-2019-05 ``` @@ -38,6 +49,7 @@ These settings apply only when `--tag=package-preview-2019-05` is specified on t input-file: - Microsoft.Consumption/preview/2019-05-01-preview/consumption.json ``` + ### Tag: package-preview-2019-04 These settings apply only when `--tag=package-preview-2019-04` is specified on the command line. From 97cc11fcda24f4194ae0dec6b5fa8d95c785c1b9 Mon Sep 17 00:00:00 2001 From: Yunge Zhu <37337818+yungezz@users.noreply.github.com> Date: Tue, 6 Aug 2019 15:56:28 +0800 Subject: [PATCH 469/495] fix readme file (#6875) --- specification/consumption/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index bdf923cfcaf3..73a1ebc037cd 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -37,7 +37,6 @@ These settings apply only when `--tag=package-2019-05` is specified on the comma ```yaml $(tag) == 'package-2019-05' input-file: - Microsoft.Consumption/stable/2019-05-01/consumption.json -tag: package-preview-2019-05 ``` From c78741441247b7f480913fdbb17468505b9f2873 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 6 Aug 2019 03:57:42 -0400 Subject: [PATCH 470/495] chore: jsonfmt cognitiveservices (#6862) --- .../preview/v1.0/InkRecognizer.json | 190 +- .../v1.0/examples/InkWordRecognition.json | 2044 +++++++++++++---- 2 files changed, 1728 insertions(+), 506 deletions(-) diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json index 2c1f6c05942e..ecac78960a8f 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json @@ -292,93 +292,93 @@ "type": "object" } }, - "inkPointValueAttribute" : { - "type" : "object", - "description" : "A container for the attributes of a value contained in the ink point object.", - "properties" : { - "name" : { - "type" : "string", - "description" : "The name of the point attribute." - }, - "logicalMinimum" : { - "type" : "number", - "description" : "The minimum value for the attribute" - }, - "logicalMaximum" : { - "type" : "number", - "description" : "The maximum value for the attribute" - } + "inkPointValueAttribute": { + "type": "object", + "description": "A container for the attributes of a value contained in the ink point object.", + "properties": { + "name": { + "type": "string", + "description": "The name of the point attribute." + }, + "logicalMinimum": { + "type": "number", + "description": "The minimum value for the attribute" + }, + "logicalMaximum": { + "type": "number", + "description": "The maximum value for the attribute" + } } }, - "inkPoint" : { - "type" : "object", - "description" : "An object containing the properties of an point in the path of an ink stroke. The main properties are the x and y values. Other include tip pressure, x tilt etc. For the coordinate values, it is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas", - "properties" : { - "x" : { - "type" : "number", - "description" : "The x coordinate of the pen location on the writing surface." - }, - "y" : { - "type" : "number", - "description" : "The y coordinate of the pen location on the writing surface." - }, - "z" : { - "type" : "number", - "description" : "The z coordinate of the pen location on the writing space. This may not be used for recognition." - }, - "tipPressure" : { - "type" : "number", - "description" : "The force exerted against the tablet surface by the transducer, typically a stylus. This may not be used for recognition." - }, - "barrelPressure" : { - "type" : "number", - "description" : "The force exerted directly by the user on a transducer sensor, such as a pressure-sensitive button on the barrel of a stylus. This may not be used for recognition." - }, - "timestamp" : { - "type" : "number", - "description" : "The time relative to the absolute time the transducer last became active. This may not be used for recognition." - }, - "xTilt" : { - "type" : "number", - "description" : "The plane angle between the Y-Z plane and the plane containing the transducer axis and the Y axis. This may not be used for recognition." - }, - "yTilt" : { - "type" : "number", - "description" : "The angle between the X-Z and transducer-X planes. A positive Y Tilt is toward the user. This may not be used for recognition." - }, - "width" : { - "type" : "number", - "description" : "The width of the tip of the writing instrument. This is used by touch screen devices to report the width of the finger contact on the writing surface. This may not be used for recognition." - }, - "height" : { - "type" : "number", - "description" : "The height of the tip of the writing instrument. This is used by touch screen devices to report the height of the finger contact on the writing surface. This may not be used for recognition." - }, - "tipSwitch" : { - "type" : "boolean", - "description" : "A switch located on the tip of a stylus indicating contact of the stylus with a surface. This may not be used for recognition." - }, - "inverted" : { - "type" : "boolean", - "description" : "A value that indicates that the currently sensed position originates from the end of a stylus opposite the tip switch. This may not be used for recognition." - }, - "barrelSwitch" : { - "type" : "boolean", - "description" : "A non-tip button located on the barrel of a stylus. Its function is typically mapped to a system secondary button. This may not be used for recognition." - }, - "eraser" : { - "type" : "boolean", - "description" : "The control is used for erasing objects. It is typically located opposite the writing end of a stylus. This may not be used for recognition." - }, - "secondaryTip" : { - "type" : "boolean", - "description" : "A secondary switch used in conjunction with the tip switch to indicate pressure above a certain threshold applied with the stylus. This may not be used for recognition." - } + "inkPoint": { + "type": "object", + "description": "An object containing the properties of an point in the path of an ink stroke. The main properties are the x and y values. Other include tip pressure, x tilt etc. For the coordinate values, it is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas", + "properties": { + "x": { + "type": "number", + "description": "The x coordinate of the pen location on the writing surface." + }, + "y": { + "type": "number", + "description": "The y coordinate of the pen location on the writing surface." + }, + "z": { + "type": "number", + "description": "The z coordinate of the pen location on the writing space. This may not be used for recognition." + }, + "tipPressure": { + "type": "number", + "description": "The force exerted against the tablet surface by the transducer, typically a stylus. This may not be used for recognition." }, - "required" : [ - "x", - "y" - ] + "barrelPressure": { + "type": "number", + "description": "The force exerted directly by the user on a transducer sensor, such as a pressure-sensitive button on the barrel of a stylus. This may not be used for recognition." + }, + "timestamp": { + "type": "number", + "description": "The time relative to the absolute time the transducer last became active. This may not be used for recognition." + }, + "xTilt": { + "type": "number", + "description": "The plane angle between the Y-Z plane and the plane containing the transducer axis and the Y axis. This may not be used for recognition." + }, + "yTilt": { + "type": "number", + "description": "The angle between the X-Z and transducer-X planes. A positive Y Tilt is toward the user. This may not be used for recognition." + }, + "width": { + "type": "number", + "description": "The width of the tip of the writing instrument. This is used by touch screen devices to report the width of the finger contact on the writing surface. This may not be used for recognition." + }, + "height": { + "type": "number", + "description": "The height of the tip of the writing instrument. This is used by touch screen devices to report the height of the finger contact on the writing surface. This may not be used for recognition." + }, + "tipSwitch": { + "type": "boolean", + "description": "A switch located on the tip of a stylus indicating contact of the stylus with a surface. This may not be used for recognition." + }, + "inverted": { + "type": "boolean", + "description": "A value that indicates that the currently sensed position originates from the end of a stylus opposite the tip switch. This may not be used for recognition." + }, + "barrelSwitch": { + "type": "boolean", + "description": "A non-tip button located on the barrel of a stylus. Its function is typically mapped to a system secondary button. This may not be used for recognition." + }, + "eraser": { + "type": "boolean", + "description": "The control is used for erasing objects. It is typically located opposite the writing end of a stylus. This may not be used for recognition." + }, + "secondaryTip": { + "type": "boolean", + "description": "A secondary switch used in conjunction with the tip switch to indicate pressure above a certain threshold applied with the stylus. This may not be used for recognition." + } + }, + "required": [ + "x", + "y" + ] }, "recognitionUnit": { "items": { @@ -497,7 +497,7 @@ "points": { "type": "array", "items": { - "$ref": "#/definitions/inkPoint" + "$ref": "#/definitions/inkPoint" } }, "drawingAttributes": { @@ -616,10 +616,10 @@ "modelAsString": true } }, - "inputDeviceKind" : { - "type" : "string", - "description" : "This identifies the kind of device used as the writing instrument", - "enum" : [ + "inputDeviceKind": { + "type": "string", + "description": "This identifies the kind of device used as the writing instrument", + "enum": [ "digitizer", "pen", "lightPen", @@ -631,8 +631,8 @@ "articulatedArm", "armature" ], - "x-ms-enum" : { - "name" : "inputDevice", + "x-ms-enum": { + "name": "inputDevice", "modelAsString": true } }, @@ -658,10 +658,10 @@ "example": "en-US", "description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in the ink strokes. The response will include results from this language." }, - "inkPointValueAttributes" : { - "type" : "array", - "items" : { - "$ref":"#/definitions/inkPointValueAttribute" + "inkPointValueAttributes": { + "type": "array", + "items": { + "$ref": "#/definitions/inkPointValueAttribute" } }, "strokes": { diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json index 54579b8e7e79..d82ecae40824 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json @@ -7,420 +7,1642 @@ "language": "en-US", "strokes": [ { - "id": 1, - "kind": "inkWriting", - "points":[{ "x" : 19.34498, "y" : 28.21327}, - { "x" : 19.34498, "y" : 27.93462}, - { "x" : 19.34498, "y" : 27.65597}, - { "x" :19.0157, "y" : 27.65597}, - { "x" : 18.76874, "y" : 27.44698}, - { "x" : 18.27483, "y" : 27.44698}, - { "x" : 18.02787, "y" : 27.44698}, - { "x" : 17.45164, "y" : 27.44698}, - { "x" : 16.62845, "y" : 27.65597}, - { "x" : 15.88758, "y" : 27.93462}, - { "x" : 15.06439, "y" : 28.49191}, - { "x" : 14.32351, "y" : 28.97955}, - { "x" : 13.25337, "y" : 29.53685}, - { "x" : 11.36003, "y" : 31.41773}, - { "x" : 10.61916, "y" : 32.46267}, - { "x" : 9.795967, "y" : 33.50761}, - { "x" : 8.972776, "y" : 34.83119}, - { "x" : 8.231905, "y" : 35.87613}, - { "x" : 7.655672, "y" : 37.19971}, - { "x" : 7.161757, "y" : 38.24465}, - { "x" : 6.9148, "y" : 39.35925}, - { "x" : 6.9148, "y" : 40.12554}, - { "x" : 6.9148, "y" : 40.89182}, - { "x" : 6.9148, "y" : 41.72777}, - { "x" : 7.408715, "y" : 42.2154}, - { "x" : 7.902629, "y" : 42.49405}, - { "x" : 8.478863, "y" : 42.77271}, - { "x" : 8.972776, "y" : 43.05135}, - { "x" : 9.795967, "y" : 43.05135}, - { "x" : 10.28988, "y" : 43.05135}, - { "x" : 11.11307, "y" : 42.77271}, - { "x" : 11.93626, "y" : 42.2154}, - { "x" : 12.43018, "y" : 41.72777}, - { "x" : 13.25337, "y" : 41.17047}, - { "x" : 13.74728, "y" : 40.12554}, - { "x" : 14.57047, "y" : 39.0806}, - { "x" : 15.31134, "y" : 37.75701}, - { "x" : 15.88758, "y" : 36.15478}, - { "x" : 16.62845, "y" : 34.27389}, - { "x" : 17.20468, "y" : 32.46267}, - { "x" : 17.6986, "y" : 30.30314}, - { "x" : 18.27483, "y" : 28.21327}, - { "x" : 18.76874, "y" : 26.12339}, - { "x" : 19.34498, "y" : 23.96386}, - { "x" : 19.59193, "y" : 21.87399}, - { "x" : 19.83889, "y" : 19.9931}, - { "x" : 20.08585, "y" : 18.46053}, - { "x" : 20.08585, "y" : 17.13695}, - { "x" : 20.08585, "y" : 16.02235}, - { "x" : 20.08585, "y" : 14.97741}, - { "x" : 20.08585, "y" : 14.48978}, - { "x" : 20.08585, "y" : 13.93248}, - { "x" : 19.83889, "y" : 13.65383}, - { "x" : 19.83889, "y" : 13.65383}, - { "x" : 19.83889, "y" : 13.65383}, - { "x" : 19.59193, "y" : 13.65383}, - { "x" : 19.59193, "y" : 13.65383}, - { "x" : 19.34498, "y" : 14.21113}, - { "x" : 19.34498, "y" : 14.69876}, - { "x" : 19.0157, "y" : 15.25606}, - { "x" : 19.0157, "y" : 16.02235}, - { "x" : 18.76874, "y" : 17.13695}, - { "x" : 18.76874, "y" : 18.46053}, - { "x" : 18.52179, "y" : 19.78412}, - { "x" : 18.27483, "y" : 21.31669}, - { "x" : 18.02787, "y" : 22.91892}, - { "x" : 18.02787, "y" : 24.52116}, - { "x" : 17.6986, "y" : 26.33238}, - { "x" : 17.45164, "y" : 28.21327}, - { "x" : 17.20468, "y" : 30.09415}, - { "x" : 16.95773, "y" : 31.90537}, - { "x" : 16.62845, "y" : 33.50761}, - { "x" : 16.62845, "y" : 35.10984}, - { "x" : 16.62845, "y" : 36.71207}, - { "x" : 16.62845, "y" : 38.03566}, - { "x" : 16.95773, "y" : 39.0806}, - { "x" : 17.20468, "y" : 39.84688}, - { "x" : 17.45164, "y" : 40.68283}, - { "x" : 18.02787, "y" : 41.17047}, - { "x" : 18.52179, "y" : 41.72777}, - { "x" : 19.34498, "y" :42.00642}, - { "x" : 19.83889, "y" :42.00642}, - { "x" : 20.90904, "y" :41.72777}, - { "x" : 21.73223, "y" :41.44912}, - { "x" : 22.4731, "y" :40.89182}, - { "x" : 23.54325, "y" :40.12554}, - { "x" : 24.36644, "y" :39.35925}, - { "x" : 25.10731, "y" :38.5233}, - { "x" : 25.9305, "y" :37.47836}, - { "x" : 26.75369, "y" :36.71207}, - { "x" : 27.24761, "y" :35.59748}, - { "x" : 27.49457, "y" :34.55254}, - { "x" : 27.74152, "y" :33.50761}, - { "x" : 28.0708, "y" :32.46267}, - { "x" : 28.0708, "y" :31.62672}, - { "x" : 28.0708, "y" :30.86044}, - { "x" : 28.0708, "y" :30.09415}, - { "x" : 27.74152, "y" :29.53685}, - { "x" : 27.49457, "y" :28.97955}, - { "x" : 27.24761, "y" :28.77056}, - { "x" : 26.75369, "y" :28.49191}, - { "x" : 26.42442, "y" :28.49191}, - { "x" : 25.9305, "y" :28.49191}, - { "x" : 25.43659, "y" :28.97955}, - { "x" : 25.10731, "y" :29.53685}, - { "x" : 24.6134, "y" :30.09415}, - { "x" : 24.03716, "y" :30.86044}, - { "x" : 23.79021, "y" :31.90537}, - { "x" : 23.29629, "y" :33.22896}, - { "x" : 23.04934, "y" :34.27389}, - { "x" : 22.72006, "y" :35.59748}, - { "x" : 22.72006, "y" :36.71207}, - { "x" : 22.4731, "y" :38.03566}, - { "x" : 22.72006, "y" :39.0806}, - { "x" : 22.72006, "y" :40.12554}, - { "x" : 23.04934, "y" :40.89182}, - { "x" : 23.29629, "y" :41.72777}, - { "x" : 23.79021, "y" :42.2154}, - { "x" : 24.36644, "y" :42.77271}, - { "x" : 24.86036, "y" :43.05135}, - { "x" : 25.68354, "y" : 43.05135}, - { "x" : 26.42442, "y" : 43.05135}, - { "x" : 27.24761, "y" : 42.77271}, - { "x" : 28.31775, "y" : 42.2154}, - { "x" : 29.3879, "y" : 41.72777}, - { "x" : 30.45805, "y" : 40.89182}, - { "x" : 31.44588, "y" : 39.84688}, - { "x" : 32.8453, "y" : 38.80195}, - { "x" : 33.83313, "y" : 37.47836}, - { "x" : 35.15023, "y" : 35.87613}, - { "x" : 36.22039, "y" : 34.27389}, - { "x" : 37.29053, "y" : 32.46267}, - { "x" : 39.43083, "y" : 27.93462}, - { "x" : 40.50097, "y" : 25.5661}, - { "x" : 41.24184, "y" : 23.19757}, - { "x" : 41.81808, "y" : 20.82905}, - { "x" : 42.55895, "y" : 18.46053}, - { "x" : 42.88823, "y" : 16.301}, - { "x" : 43.38214, "y" : 14.48978}, - { "x" : 43.6291, "y" : 11.84261}, - { "x" : 43.6291, "y" : 10.72801}, - { "x" : 43.6291, "y" : 10.24037}, - { "x" : 43.38214, "y" : 9.96172}, - { "x" : 43.38214, "y" : 9.96172}, - { "x" : 43.13519, "y" : 9.96172}, - { "x" : 42.88823, "y" : 10.72801}, - { "x" : 42.31199, "y" : 12.60889}, - { "x" : 41.81808, "y" : 14.21113}, - { "x" : 41.24184, "y" : 16.02235}, - { "x" : 40.74793, "y" : 18.18188}, - { "x" : 40.25402, "y" : 20.5504}, - { "x" : 39.67778, "y" : 23.19757}, - { "x" : 39.43083, "y" : 25.84475}, - { "x" : 38.60764, "y" : 31.13909}, - { "x" : 38.36068, "y" : 33.78626}, - { "x" : 38.36068, "y" : 36.43343}, - { "x" : 38.11372, "y" : 38.80195}, - { "x" : 38.11372, "y" : 40.89182}, - { "x" : 38.11372, "y" : 43.05135}, - { "x" : 37.86677, "y" : 45.14123}, - { "x" : 37.53749, "y" : 48.62434}, - { "x" : 37.53749, "y" : 49.94793}, - { "x" : 37.29053, "y" : 51.27151}, - { "x" : 37.04358, "y" : 52.31645}, - { "x" : 36.79662, "y" : 53.08273}, - { "x" : 36.54966, "y" : 53.64004}, - { "x" : 35.97342, "y" : 53.84902}, - { "x" : 34.65633, "y" : 53.64004}, - { "x" : 33.83313, "y" : 53.08273}, - { "x" : 33.09226, "y" : 52.5951}, - { "x" : 32.26907, "y" : 51.75915}, - { "x" : 31.19892, "y" : 50.71421}, - { "x" : 30.45805, "y" : 49.66928}, - { "x" : 29.88182, "y" : 48.83333}, - { "x" : 28.56471, "y" : 47.02211}, - { "x" : 28.31775, "y" : 46.18616}, - { "x" : 28.0708, "y" : 45.69852}, - { "x" : 28.0708, "y" : 45.14123}, - { "x" : 28.31775, "y" : 44.37494}, - { "x" : 28.56471, "y" : 43.53899}, - { "x" : 29.88182, "y" : 42.2154}, - { "x" : 30.70501, "y" : 41.44912}, - { "x" : 31.77516, "y" : 40.68283}, - { "x" : 32.8453, "y" : 39.56823}, - { "x" : 35.47952, "y" : 37.75701}, - { "x" : 36.79662, "y" : 36.92107}, - { "x" : 39.67778, "y" : 35.38849}, - { "x" : 42.31199, "y" : 34.0649}, - { "x" : 43.6291, "y" : 33.50761}, - { "x" : 46.26331, "y" : 32.74132}, - { "x" : 47.33346, "y" : 32.46267}, - { "x" : 49.22679, "y" : 32.18402}, - { "x" : 49.72071, "y" : 31.90537}, - { "x" : 50.29694, "y" : 31.90537}, - { "x" : 50.79086, "y" : 31.90537}, - { "x" : 51.03782, "y" : 31.90537}, - { "x" : 51.03782, "y" : 31.90537}, - { "x" : 50.29694, "y" : 31.90537}, - { "x" : 49.96766, "y" : 32.18402}, - { "x" : 49.47375, "y" : 32.46267}, - { "x" : 48.65057, "y" : 32.74132}, - { "x" : 47.90969, "y" : 33.22896}, - { "x" : 47.0865, "y" : 33.78626}, - { "x" : 46.26331, "y" : 34.27389}, - { "x" : 44.69925, "y" : 35.87613}, - { "x" : 44.20533, "y" : 36.71207}, - { "x" : 43.95837, "y" : 37.75701}, - { "x" : 43.6291, "y" : 38.5233}, - { "x" : 43.38214, "y" : 39.84688}, - { "x" : 43.6291, "y" : 40.12554}, - { "x" : 43.95837, "y" : 40.40418}, - { "x" : 44.20533, "y" : 40.68283}, - { "x" : 45.27548, "y" : 40.40418}, - { "x" : 46.01635, "y" : 40.12554}, - { "x" : 46.59258, "y" : 39.56823}, - { "x" : 47.0865, "y" : 38.80195}, - { "x" : 47.90969, "y" : 38.03566}, - { "x" : 48.97984, "y" : 36.15478}, - { "x" : 49.47375, "y" : 35.10984}, - { "x" : 49.72071, "y" : 34.27389}, - { "x" : 49.96766, "y" : 33.50761}, - { "x" : 50.29694, "y" : 32.46267}, - { "x" : 50.5439, "y" : 31.90537}, - { "x" : 50.5439, "y" : 31.90537}, - { "x" : 50.29694, "y" : 32.18402}, - { "x" : 50.29694, "y" : 32.74132}, - { "x" : 49.96766, "y" : 33.22896}, - { "x" : 49.72071, "y" : 34.83119}, - { "x" : 49.47375, "y" : 35.87613}, - { "x" : 49.47375, "y" : 37.75701}, - { "x" : 49.47375, "y" : 38.5233}, - { "x" : 49.72071, "y" : 39.0806}, - { "x" : 49.72071, "y" : 39.35925}, - { "x" : 50.29694, "y" : 39.56823}, - { "x" : 50.79086, "y" : 39.56823}, - { "x" : 51.03782, "y" : 39.35925}, - { "x" : 51.61405, "y" : 38.80195}, - { "x" : 52.6842, "y" : 37.47836}, - { "x" : 53.1781, "y" : 36.71207}, - { "x" : 53.67202, "y" : 35.87613}, - { "x" : 54.24826, "y" : 35.10984}, - { "x" : 54.74217, "y" : 34.55254}, - { "x" : 55.3184, "y" : 33.50761}, - { "x" : 55.56536, "y" : 33.22896}, - { "x" : 55.56536, "y" : 32.95031}, - { "x" : 55.56536, "y" : 32.95031}, - { "x" : 55.56536, "y" : 33.78626}, - { "x" : 55.3184, "y" : 34.27389}, - { "x" : 55.07145, "y" : 35.38849}, - { "x" : 55.07145, "y" : 36.15478}, - { "x" : 55.07145, "y" : 36.92107}, - { "x" : 55.07145, "y" : 37.47836}, - { "x" : 55.3184, "y" : 38.03566}, - { "x" : 55.3184, "y" : 38.24465}, - { "x" : 55.56536, "y" : 38.5233}, - { "x" : 56.05928, "y" : 38.5233}, - { "x" : 56.38855, "y" : 38.24465}, - { "x" : 56.63551, "y" : 38.03566}, - { "x" : 57.12943, "y" : 37.75701}, - { "x" : 57.70565, "y" : 36.71207}, - { "x" : 58.19957, "y" : 36.15478}, - { "x" : 58.44653, "y" : 35.10984}, - { "x" : 58.77581, "y" : 34.55254}, - { "x" : 58.77581, "y" : 34.27389}, - { "x" : 59.02276, "y" : 34.0649}, - { "x" : 59.02276, "y" : 33.78626}, - { "x" : 59.02276, "y" : 33.78626}, - { "x" : 58.77581, "y" : 34.27389}, - { "x" : 58.77581, "y" : 34.55254}, - { "x" : 58.77581, "y" : 35.10984}, - { "x" : 58.77581, "y" : 35.38849}, - { "x" : 58.44653, "y" : 36.71207}, - { "x" : 58.77581, "y" : 37.47836}, - { "x" : 58.77581, "y" : 38.03566}, - { "x" : 59.02276, "y" : 38.80195}, - { "x" : 59.51667, "y" : 39.56823}, - { "x" : 60.09291, "y" : 39.84688}, - { "x" : 60.58682, "y" : 39.84688}, - { "x" : 61.08074, "y" : 39.56823}, - { "x" : 61.90393, "y" : 39.35925}, - { "x" : 63.46799, "y" : 38.24465}, - { "x" : 64.53814, "y" : 37.19971}, - { "x" : 65.60828, "y" : 36.15478}, - { "x" : 66.67844, "y" : 34.55254}, - { "x" : 68.48946, "y" : 31.41773}, - { "x" : 69.31265, "y" : 29.53685}, - { "x" : 70.62975, "y" : 25.5661}, - { "x" : 71.20598, "y" : 23.47622}, - { "x" : 71.45294, "y" : 21.87399}, - { "x" : 71.6999, "y" : 20.5504}, - { "x" : 71.6999, "y" : 18.18188}, - { "x" : 71.45294, "y" : 17.34593}, - { "x" : 70.8767, "y" : 16.57965}, - { "x" : 70.62975, "y" : 16.301}, - { "x" : 70.3828, "y" : 16.57965}, - { "x" : 69.88888, "y" : 16.8583}, - { "x" : 68.81873, "y" : 18.18188}, - { "x" : 68.24249, "y" : 19.22682}, - { "x" : 67.17235, "y" : 21.59534}, - { "x" : 66.43147, "y" : 22.91892}, - { "x" : 65.85524, "y" : 24.52116}, - { "x" : 65.60828, "y" : 26.12339}, - { "x" : 64.7851, "y" : 29.2582}, - { "x" : 64.53814, "y" : 30.58179}, - { "x" : 64.29118, "y" : 33.22896}, - { "x" : 64.53814, "y" : 34.55254}, - { "x" : 64.53814, "y" : 5.59748}, - { "x" : 64.7851, "y" : 36.71207}, - { "x" : 65.85524, "y" : 38.24465}, - { "x" : 66.43147, "y" : 38.80195}, - { "x" : 67.99554, "y" : 39.35925}, - { "x" : 68.81873, "y" : 39.56823}, - { "x" : 69.5596, "y" : 39.35925}, - { "x" : 70.62975, "y" : 39.0806}, - { "x" : 73.01699, "y" : 37.75701}, - { "x" : 74.33411, "y" : 36.71207}, - { "x" : 76.72135, "y" : 34.0649}, - { "x" : 78.03847, "y" : 32.18402}, - { "x" : 79.35557, "y" : 30.30314}, - { "x" : 80.67267, "y" : 28.21327}, - { "x" : 82.81297, "y" : 23.75487}, - { "x" : 83.88311, "y" : 21.31669}, - { "x" : 85.20022, "y" : 17.34593}, - { "x" : 85.69414, "y" : 15.53471}, - { "x" : 86.02341, "y" : 14.21113}, - { "x" : 86.27037, "y" : 13.16619}, - { "x" : 86.27037, "y" : 11.56396}, - { "x" : 86.27037, "y" : 11.28531}, - { "x" : 86.27037, "y" : 11.00666}, - { "x" : 86.02341, "y" : 11.28531}, - { "x" : 86.02341, "y" : 11.28531}, - { "x" : 86.02341, "y" : 11.84261}, - { "x" : 85.44718, "y" : 12.88754}, - { "x" : 85.44718, "y" : 13.65383}, - { "x" : 84.95326, "y" : 15.81336}, - { "x" : 84.70631, "y" : 16.8583}, - { "x" : 84.37703, "y" : 17.90323}, - { "x" : 83.88311, "y" : 19.22682}, - { "x" : 83.30688, "y" : 22.15264}, - { "x" : 82.81297, "y" : 23.75487}, - { "x" : 81.98978, "y" : 26.88968}, - { "x" : 81.49586, "y" : 28.49191}, - { "x" : 81.00195, "y" : 30.09415}, - { "x" : 80.67267, "y" : 31.62672}, - { "x" : 80.17876, "y" : 34.27389}, - { "x" : 79.9318, "y" : 35.38849}, - { "x" : 79.60252, "y" : 37.47836}, - { "x" : 79.60252, "y" : 38.24465}, - { "x" : 79.60252, "y" : 38.80195}, - { "x" : 79.9318, "y" : 39.35925}, - { "x" : 80.42571, "y" : 40.40418}, - { "x" : 81.00195, "y" : 40.68283}, - { "x" : 82.31906, "y" : 40.89182}, - { "x" : 83.05993, "y" : 40.89182}, - { "x" : 83.88311, "y" : 40.89182}, - { "x" : 84.95326, "y" : 40.68283}, - { "x" : 86.76428, "y" : 39.56823}, - { "x" : 87.58747, "y" : 39.0806}, - { "x" : 89.15154, "y" : 38.03566}, - { "x" : 89.72777, "y" : 37.19971}, - { "x" : 90.22169, "y" : 36.43343}] + "id": 1, + "kind": "inkWriting", + "points": [ + { + "x": 19.34498, + "y": 28.21327 + }, + { + "x": 19.34498, + "y": 27.93462 + }, + { + "x": 19.34498, + "y": 27.65597 + }, + { + "x": 19.0157, + "y": 27.65597 + }, + { + "x": 18.76874, + "y": 27.44698 + }, + { + "x": 18.27483, + "y": 27.44698 + }, + { + "x": 18.02787, + "y": 27.44698 + }, + { + "x": 17.45164, + "y": 27.44698 + }, + { + "x": 16.62845, + "y": 27.65597 + }, + { + "x": 15.88758, + "y": 27.93462 + }, + { + "x": 15.06439, + "y": 28.49191 + }, + { + "x": 14.32351, + "y": 28.97955 + }, + { + "x": 13.25337, + "y": 29.53685 + }, + { + "x": 11.36003, + "y": 31.41773 + }, + { + "x": 10.61916, + "y": 32.46267 + }, + { + "x": 9.795967, + "y": 33.50761 + }, + { + "x": 8.972776, + "y": 34.83119 + }, + { + "x": 8.231905, + "y": 35.87613 + }, + { + "x": 7.655672, + "y": 37.19971 + }, + { + "x": 7.161757, + "y": 38.24465 + }, + { + "x": 6.9148, + "y": 39.35925 + }, + { + "x": 6.9148, + "y": 40.12554 + }, + { + "x": 6.9148, + "y": 40.89182 + }, + { + "x": 6.9148, + "y": 41.72777 + }, + { + "x": 7.408715, + "y": 42.2154 + }, + { + "x": 7.902629, + "y": 42.49405 + }, + { + "x": 8.478863, + "y": 42.77271 + }, + { + "x": 8.972776, + "y": 43.05135 + }, + { + "x": 9.795967, + "y": 43.05135 + }, + { + "x": 10.28988, + "y": 43.05135 + }, + { + "x": 11.11307, + "y": 42.77271 + }, + { + "x": 11.93626, + "y": 42.2154 + }, + { + "x": 12.43018, + "y": 41.72777 + }, + { + "x": 13.25337, + "y": 41.17047 + }, + { + "x": 13.74728, + "y": 40.12554 + }, + { + "x": 14.57047, + "y": 39.0806 + }, + { + "x": 15.31134, + "y": 37.75701 + }, + { + "x": 15.88758, + "y": 36.15478 + }, + { + "x": 16.62845, + "y": 34.27389 + }, + { + "x": 17.20468, + "y": 32.46267 + }, + { + "x": 17.6986, + "y": 30.30314 + }, + { + "x": 18.27483, + "y": 28.21327 + }, + { + "x": 18.76874, + "y": 26.12339 + }, + { + "x": 19.34498, + "y": 23.96386 + }, + { + "x": 19.59193, + "y": 21.87399 + }, + { + "x": 19.83889, + "y": 19.9931 + }, + { + "x": 20.08585, + "y": 18.46053 + }, + { + "x": 20.08585, + "y": 17.13695 + }, + { + "x": 20.08585, + "y": 16.02235 + }, + { + "x": 20.08585, + "y": 14.97741 + }, + { + "x": 20.08585, + "y": 14.48978 + }, + { + "x": 20.08585, + "y": 13.93248 + }, + { + "x": 19.83889, + "y": 13.65383 + }, + { + "x": 19.83889, + "y": 13.65383 + }, + { + "x": 19.83889, + "y": 13.65383 + }, + { + "x": 19.59193, + "y": 13.65383 + }, + { + "x": 19.59193, + "y": 13.65383 + }, + { + "x": 19.34498, + "y": 14.21113 + }, + { + "x": 19.34498, + "y": 14.69876 + }, + { + "x": 19.0157, + "y": 15.25606 + }, + { + "x": 19.0157, + "y": 16.02235 + }, + { + "x": 18.76874, + "y": 17.13695 + }, + { + "x": 18.76874, + "y": 18.46053 + }, + { + "x": 18.52179, + "y": 19.78412 + }, + { + "x": 18.27483, + "y": 21.31669 + }, + { + "x": 18.02787, + "y": 22.91892 + }, + { + "x": 18.02787, + "y": 24.52116 + }, + { + "x": 17.6986, + "y": 26.33238 + }, + { + "x": 17.45164, + "y": 28.21327 + }, + { + "x": 17.20468, + "y": 30.09415 + }, + { + "x": 16.95773, + "y": 31.90537 + }, + { + "x": 16.62845, + "y": 33.50761 + }, + { + "x": 16.62845, + "y": 35.10984 + }, + { + "x": 16.62845, + "y": 36.71207 + }, + { + "x": 16.62845, + "y": 38.03566 + }, + { + "x": 16.95773, + "y": 39.0806 + }, + { + "x": 17.20468, + "y": 39.84688 + }, + { + "x": 17.45164, + "y": 40.68283 + }, + { + "x": 18.02787, + "y": 41.17047 + }, + { + "x": 18.52179, + "y": 41.72777 + }, + { + "x": 19.34498, + "y": 42.00642 + }, + { + "x": 19.83889, + "y": 42.00642 + }, + { + "x": 20.90904, + "y": 41.72777 + }, + { + "x": 21.73223, + "y": 41.44912 + }, + { + "x": 22.4731, + "y": 40.89182 + }, + { + "x": 23.54325, + "y": 40.12554 + }, + { + "x": 24.36644, + "y": 39.35925 + }, + { + "x": 25.10731, + "y": 38.5233 + }, + { + "x": 25.9305, + "y": 37.47836 + }, + { + "x": 26.75369, + "y": 36.71207 + }, + { + "x": 27.24761, + "y": 35.59748 + }, + { + "x": 27.49457, + "y": 34.55254 + }, + { + "x": 27.74152, + "y": 33.50761 + }, + { + "x": 28.0708, + "y": 32.46267 + }, + { + "x": 28.0708, + "y": 31.62672 + }, + { + "x": 28.0708, + "y": 30.86044 + }, + { + "x": 28.0708, + "y": 30.09415 + }, + { + "x": 27.74152, + "y": 29.53685 + }, + { + "x": 27.49457, + "y": 28.97955 + }, + { + "x": 27.24761, + "y": 28.77056 + }, + { + "x": 26.75369, + "y": 28.49191 + }, + { + "x": 26.42442, + "y": 28.49191 + }, + { + "x": 25.9305, + "y": 28.49191 + }, + { + "x": 25.43659, + "y": 28.97955 + }, + { + "x": 25.10731, + "y": 29.53685 + }, + { + "x": 24.6134, + "y": 30.09415 + }, + { + "x": 24.03716, + "y": 30.86044 + }, + { + "x": 23.79021, + "y": 31.90537 + }, + { + "x": 23.29629, + "y": 33.22896 + }, + { + "x": 23.04934, + "y": 34.27389 + }, + { + "x": 22.72006, + "y": 35.59748 + }, + { + "x": 22.72006, + "y": 36.71207 + }, + { + "x": 22.4731, + "y": 38.03566 + }, + { + "x": 22.72006, + "y": 39.0806 + }, + { + "x": 22.72006, + "y": 40.12554 + }, + { + "x": 23.04934, + "y": 40.89182 + }, + { + "x": 23.29629, + "y": 41.72777 + }, + { + "x": 23.79021, + "y": 42.2154 + }, + { + "x": 24.36644, + "y": 42.77271 + }, + { + "x": 24.86036, + "y": 43.05135 + }, + { + "x": 25.68354, + "y": 43.05135 + }, + { + "x": 26.42442, + "y": 43.05135 + }, + { + "x": 27.24761, + "y": 42.77271 + }, + { + "x": 28.31775, + "y": 42.2154 + }, + { + "x": 29.3879, + "y": 41.72777 + }, + { + "x": 30.45805, + "y": 40.89182 + }, + { + "x": 31.44588, + "y": 39.84688 + }, + { + "x": 32.8453, + "y": 38.80195 + }, + { + "x": 33.83313, + "y": 37.47836 + }, + { + "x": 35.15023, + "y": 35.87613 + }, + { + "x": 36.22039, + "y": 34.27389 + }, + { + "x": 37.29053, + "y": 32.46267 + }, + { + "x": 39.43083, + "y": 27.93462 + }, + { + "x": 40.50097, + "y": 25.5661 + }, + { + "x": 41.24184, + "y": 23.19757 + }, + { + "x": 41.81808, + "y": 20.82905 + }, + { + "x": 42.55895, + "y": 18.46053 + }, + { + "x": 42.88823, + "y": 16.301 + }, + { + "x": 43.38214, + "y": 14.48978 + }, + { + "x": 43.6291, + "y": 11.84261 + }, + { + "x": 43.6291, + "y": 10.72801 + }, + { + "x": 43.6291, + "y": 10.24037 + }, + { + "x": 43.38214, + "y": 9.96172 + }, + { + "x": 43.38214, + "y": 9.96172 + }, + { + "x": 43.13519, + "y": 9.96172 + }, + { + "x": 42.88823, + "y": 10.72801 + }, + { + "x": 42.31199, + "y": 12.60889 + }, + { + "x": 41.81808, + "y": 14.21113 + }, + { + "x": 41.24184, + "y": 16.02235 + }, + { + "x": 40.74793, + "y": 18.18188 + }, + { + "x": 40.25402, + "y": 20.5504 + }, + { + "x": 39.67778, + "y": 23.19757 + }, + { + "x": 39.43083, + "y": 25.84475 + }, + { + "x": 38.60764, + "y": 31.13909 + }, + { + "x": 38.36068, + "y": 33.78626 + }, + { + "x": 38.36068, + "y": 36.43343 + }, + { + "x": 38.11372, + "y": 38.80195 + }, + { + "x": 38.11372, + "y": 40.89182 + }, + { + "x": 38.11372, + "y": 43.05135 + }, + { + "x": 37.86677, + "y": 45.14123 + }, + { + "x": 37.53749, + "y": 48.62434 + }, + { + "x": 37.53749, + "y": 49.94793 + }, + { + "x": 37.29053, + "y": 51.27151 + }, + { + "x": 37.04358, + "y": 52.31645 + }, + { + "x": 36.79662, + "y": 53.08273 + }, + { + "x": 36.54966, + "y": 53.64004 + }, + { + "x": 35.97342, + "y": 53.84902 + }, + { + "x": 34.65633, + "y": 53.64004 + }, + { + "x": 33.83313, + "y": 53.08273 + }, + { + "x": 33.09226, + "y": 52.5951 + }, + { + "x": 32.26907, + "y": 51.75915 + }, + { + "x": 31.19892, + "y": 50.71421 + }, + { + "x": 30.45805, + "y": 49.66928 + }, + { + "x": 29.88182, + "y": 48.83333 + }, + { + "x": 28.56471, + "y": 47.02211 + }, + { + "x": 28.31775, + "y": 46.18616 + }, + { + "x": 28.0708, + "y": 45.69852 + }, + { + "x": 28.0708, + "y": 45.14123 + }, + { + "x": 28.31775, + "y": 44.37494 + }, + { + "x": 28.56471, + "y": 43.53899 + }, + { + "x": 29.88182, + "y": 42.2154 + }, + { + "x": 30.70501, + "y": 41.44912 + }, + { + "x": 31.77516, + "y": 40.68283 + }, + { + "x": 32.8453, + "y": 39.56823 + }, + { + "x": 35.47952, + "y": 37.75701 + }, + { + "x": 36.79662, + "y": 36.92107 + }, + { + "x": 39.67778, + "y": 35.38849 + }, + { + "x": 42.31199, + "y": 34.0649 + }, + { + "x": 43.6291, + "y": 33.50761 + }, + { + "x": 46.26331, + "y": 32.74132 + }, + { + "x": 47.33346, + "y": 32.46267 + }, + { + "x": 49.22679, + "y": 32.18402 + }, + { + "x": 49.72071, + "y": 31.90537 + }, + { + "x": 50.29694, + "y": 31.90537 + }, + { + "x": 50.79086, + "y": 31.90537 + }, + { + "x": 51.03782, + "y": 31.90537 + }, + { + "x": 51.03782, + "y": 31.90537 + }, + { + "x": 50.29694, + "y": 31.90537 + }, + { + "x": 49.96766, + "y": 32.18402 + }, + { + "x": 49.47375, + "y": 32.46267 + }, + { + "x": 48.65057, + "y": 32.74132 + }, + { + "x": 47.90969, + "y": 33.22896 + }, + { + "x": 47.0865, + "y": 33.78626 + }, + { + "x": 46.26331, + "y": 34.27389 + }, + { + "x": 44.69925, + "y": 35.87613 + }, + { + "x": 44.20533, + "y": 36.71207 + }, + { + "x": 43.95837, + "y": 37.75701 + }, + { + "x": 43.6291, + "y": 38.5233 + }, + { + "x": 43.38214, + "y": 39.84688 + }, + { + "x": 43.6291, + "y": 40.12554 + }, + { + "x": 43.95837, + "y": 40.40418 + }, + { + "x": 44.20533, + "y": 40.68283 + }, + { + "x": 45.27548, + "y": 40.40418 + }, + { + "x": 46.01635, + "y": 40.12554 + }, + { + "x": 46.59258, + "y": 39.56823 + }, + { + "x": 47.0865, + "y": 38.80195 + }, + { + "x": 47.90969, + "y": 38.03566 + }, + { + "x": 48.97984, + "y": 36.15478 + }, + { + "x": 49.47375, + "y": 35.10984 + }, + { + "x": 49.72071, + "y": 34.27389 + }, + { + "x": 49.96766, + "y": 33.50761 + }, + { + "x": 50.29694, + "y": 32.46267 + }, + { + "x": 50.5439, + "y": 31.90537 + }, + { + "x": 50.5439, + "y": 31.90537 + }, + { + "x": 50.29694, + "y": 32.18402 + }, + { + "x": 50.29694, + "y": 32.74132 + }, + { + "x": 49.96766, + "y": 33.22896 + }, + { + "x": 49.72071, + "y": 34.83119 + }, + { + "x": 49.47375, + "y": 35.87613 + }, + { + "x": 49.47375, + "y": 37.75701 + }, + { + "x": 49.47375, + "y": 38.5233 + }, + { + "x": 49.72071, + "y": 39.0806 + }, + { + "x": 49.72071, + "y": 39.35925 + }, + { + "x": 50.29694, + "y": 39.56823 + }, + { + "x": 50.79086, + "y": 39.56823 + }, + { + "x": 51.03782, + "y": 39.35925 + }, + { + "x": 51.61405, + "y": 38.80195 + }, + { + "x": 52.6842, + "y": 37.47836 + }, + { + "x": 53.1781, + "y": 36.71207 + }, + { + "x": 53.67202, + "y": 35.87613 + }, + { + "x": 54.24826, + "y": 35.10984 + }, + { + "x": 54.74217, + "y": 34.55254 + }, + { + "x": 55.3184, + "y": 33.50761 + }, + { + "x": 55.56536, + "y": 33.22896 + }, + { + "x": 55.56536, + "y": 32.95031 + }, + { + "x": 55.56536, + "y": 32.95031 + }, + { + "x": 55.56536, + "y": 33.78626 + }, + { + "x": 55.3184, + "y": 34.27389 + }, + { + "x": 55.07145, + "y": 35.38849 + }, + { + "x": 55.07145, + "y": 36.15478 + }, + { + "x": 55.07145, + "y": 36.92107 + }, + { + "x": 55.07145, + "y": 37.47836 + }, + { + "x": 55.3184, + "y": 38.03566 + }, + { + "x": 55.3184, + "y": 38.24465 + }, + { + "x": 55.56536, + "y": 38.5233 + }, + { + "x": 56.05928, + "y": 38.5233 + }, + { + "x": 56.38855, + "y": 38.24465 + }, + { + "x": 56.63551, + "y": 38.03566 + }, + { + "x": 57.12943, + "y": 37.75701 + }, + { + "x": 57.70565, + "y": 36.71207 + }, + { + "x": 58.19957, + "y": 36.15478 + }, + { + "x": 58.44653, + "y": 35.10984 + }, + { + "x": 58.77581, + "y": 34.55254 + }, + { + "x": 58.77581, + "y": 34.27389 + }, + { + "x": 59.02276, + "y": 34.0649 + }, + { + "x": 59.02276, + "y": 33.78626 + }, + { + "x": 59.02276, + "y": 33.78626 + }, + { + "x": 58.77581, + "y": 34.27389 + }, + { + "x": 58.77581, + "y": 34.55254 + }, + { + "x": 58.77581, + "y": 35.10984 + }, + { + "x": 58.77581, + "y": 35.38849 + }, + { + "x": 58.44653, + "y": 36.71207 + }, + { + "x": 58.77581, + "y": 37.47836 + }, + { + "x": 58.77581, + "y": 38.03566 + }, + { + "x": 59.02276, + "y": 38.80195 + }, + { + "x": 59.51667, + "y": 39.56823 + }, + { + "x": 60.09291, + "y": 39.84688 + }, + { + "x": 60.58682, + "y": 39.84688 + }, + { + "x": 61.08074, + "y": 39.56823 + }, + { + "x": 61.90393, + "y": 39.35925 + }, + { + "x": 63.46799, + "y": 38.24465 + }, + { + "x": 64.53814, + "y": 37.19971 + }, + { + "x": 65.60828, + "y": 36.15478 + }, + { + "x": 66.67844, + "y": 34.55254 + }, + { + "x": 68.48946, + "y": 31.41773 + }, + { + "x": 69.31265, + "y": 29.53685 + }, + { + "x": 70.62975, + "y": 25.5661 + }, + { + "x": 71.20598, + "y": 23.47622 + }, + { + "x": 71.45294, + "y": 21.87399 + }, + { + "x": 71.6999, + "y": 20.5504 + }, + { + "x": 71.6999, + "y": 18.18188 + }, + { + "x": 71.45294, + "y": 17.34593 + }, + { + "x": 70.8767, + "y": 16.57965 + }, + { + "x": 70.62975, + "y": 16.301 + }, + { + "x": 70.3828, + "y": 16.57965 + }, + { + "x": 69.88888, + "y": 16.8583 + }, + { + "x": 68.81873, + "y": 18.18188 + }, + { + "x": 68.24249, + "y": 19.22682 + }, + { + "x": 67.17235, + "y": 21.59534 + }, + { + "x": 66.43147, + "y": 22.91892 + }, + { + "x": 65.85524, + "y": 24.52116 + }, + { + "x": 65.60828, + "y": 26.12339 + }, + { + "x": 64.7851, + "y": 29.2582 + }, + { + "x": 64.53814, + "y": 30.58179 + }, + { + "x": 64.29118, + "y": 33.22896 + }, + { + "x": 64.53814, + "y": 34.55254 + }, + { + "x": 64.53814, + "y": 5.59748 + }, + { + "x": 64.7851, + "y": 36.71207 + }, + { + "x": 65.85524, + "y": 38.24465 + }, + { + "x": 66.43147, + "y": 38.80195 + }, + { + "x": 67.99554, + "y": 39.35925 + }, + { + "x": 68.81873, + "y": 39.56823 + }, + { + "x": 69.5596, + "y": 39.35925 + }, + { + "x": 70.62975, + "y": 39.0806 + }, + { + "x": 73.01699, + "y": 37.75701 + }, + { + "x": 74.33411, + "y": 36.71207 + }, + { + "x": 76.72135, + "y": 34.0649 + }, + { + "x": 78.03847, + "y": 32.18402 + }, + { + "x": 79.35557, + "y": 30.30314 + }, + { + "x": 80.67267, + "y": 28.21327 + }, + { + "x": 82.81297, + "y": 23.75487 + }, + { + "x": 83.88311, + "y": 21.31669 + }, + { + "x": 85.20022, + "y": 17.34593 + }, + { + "x": 85.69414, + "y": 15.53471 + }, + { + "x": 86.02341, + "y": 14.21113 + }, + { + "x": 86.27037, + "y": 13.16619 + }, + { + "x": 86.27037, + "y": 11.56396 + }, + { + "x": 86.27037, + "y": 11.28531 + }, + { + "x": 86.27037, + "y": 11.00666 + }, + { + "x": 86.02341, + "y": 11.28531 + }, + { + "x": 86.02341, + "y": 11.28531 + }, + { + "x": 86.02341, + "y": 11.84261 + }, + { + "x": 85.44718, + "y": 12.88754 + }, + { + "x": 85.44718, + "y": 13.65383 + }, + { + "x": 84.95326, + "y": 15.81336 + }, + { + "x": 84.70631, + "y": 16.8583 + }, + { + "x": 84.37703, + "y": 17.90323 + }, + { + "x": 83.88311, + "y": 19.22682 + }, + { + "x": 83.30688, + "y": 22.15264 + }, + { + "x": 82.81297, + "y": 23.75487 + }, + { + "x": 81.98978, + "y": 26.88968 + }, + { + "x": 81.49586, + "y": 28.49191 + }, + { + "x": 81.00195, + "y": 30.09415 + }, + { + "x": 80.67267, + "y": 31.62672 + }, + { + "x": 80.17876, + "y": 34.27389 + }, + { + "x": 79.9318, + "y": 35.38849 + }, + { + "x": 79.60252, + "y": 37.47836 + }, + { + "x": 79.60252, + "y": 38.24465 + }, + { + "x": 79.60252, + "y": 38.80195 + }, + { + "x": 79.9318, + "y": 39.35925 + }, + { + "x": 80.42571, + "y": 40.40418 + }, + { + "x": 81.00195, + "y": 40.68283 + }, + { + "x": 82.31906, + "y": 40.89182 + }, + { + "x": 83.05993, + "y": 40.89182 + }, + { + "x": 83.88311, + "y": 40.89182 + }, + { + "x": 84.95326, + "y": 40.68283 + }, + { + "x": 86.76428, + "y": 39.56823 + }, + { + "x": 87.58747, + "y": 39.0806 + }, + { + "x": 89.15154, + "y": 38.03566 + }, + { + "x": 89.72777, + "y": 37.19971 + }, + { + "x": 90.22169, + "y": 36.43343 + } + ] }, { - "id": 2, - "kind": "inkWriting", - "points": [{ "x": 80.17876, "y" : 20.27175}, - { "x": 80.17876, "y" : 20.27175}, - { "x": 80.17876, "y" : 20.27175}, - { "x": 80.17876, "y" : 20.27175}, - { "x": 80.17876, "y" : 20.5504}, - { "x": 80.17876, "y" : 20.5504}, - { "x": 80.17876, "y" : 20.5504}, - { "x": 80.17876, "y" : 20.5504}, - { "x": 80.42571, "y" : 20.5504}, - { "x": 80.42571, "y" : 20.5504}, - { "x": 80.67267, "y" : 20.5504}, - { "x": 81.00195, "y" : 20.5504}, - { "x": 81.49586, "y" : 20.5504}, - { "x": 81.98978, "y" : 20.5504}, - { "x": 82.56602, "y" : 20.5504}, - { "x": 83.30688, "y" : 20.5504}, - { "x": 84.13007, "y" : 20.5504}, - { "x": 84.95326, "y" : 20.27175}, - { "x": 86.02341, "y" : 20.27175}, - { "x": 86.76428, "y" : 20.27175}, - { "x": 87.58747, "y" : 20.27175}, - { "x": 88.41067, "y" : 19.9931}, - { "x": 89.15154, "y" : 19.9931}, - { "x": 89.72777, "y" : 19.9931}, - { "x": 90.22169, "y" : 19.78412}, - { "x": 90.46864, "y" : 19.78412}, - { "x": 90.7156, "y" : 19.78412}, - { "x": 91.04487, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.29183, "y" : 19.78412}, - { "x": 91.53879, "y" : 19.78412}, - { "x": 91.53879, "y" : 19.78412}, - { "x": 91.78574, "y" : 19.78412}] + "id": 2, + "kind": "inkWriting", + "points": [ + { + "x": 80.17876, + "y": 20.27175 + }, + { + "x": 80.17876, + "y": 20.27175 + }, + { + "x": 80.17876, + "y": 20.27175 + }, + { + "x": 80.17876, + "y": 20.27175 + }, + { + "x": 80.17876, + "y": 20.5504 + }, + { + "x": 80.17876, + "y": 20.5504 + }, + { + "x": 80.17876, + "y": 20.5504 + }, + { + "x": 80.17876, + "y": 20.5504 + }, + { + "x": 80.42571, + "y": 20.5504 + }, + { + "x": 80.42571, + "y": 20.5504 + }, + { + "x": 80.67267, + "y": 20.5504 + }, + { + "x": 81.00195, + "y": 20.5504 + }, + { + "x": 81.49586, + "y": 20.5504 + }, + { + "x": 81.98978, + "y": 20.5504 + }, + { + "x": 82.56602, + "y": 20.5504 + }, + { + "x": 83.30688, + "y": 20.5504 + }, + { + "x": 84.13007, + "y": 20.5504 + }, + { + "x": 84.95326, + "y": 20.27175 + }, + { + "x": 86.02341, + "y": 20.27175 + }, + { + "x": 86.76428, + "y": 20.27175 + }, + { + "x": 87.58747, + "y": 20.27175 + }, + { + "x": 88.41067, + "y": 19.9931 + }, + { + "x": 89.15154, + "y": 19.9931 + }, + { + "x": 89.72777, + "y": 19.9931 + }, + { + "x": 90.22169, + "y": 19.78412 + }, + { + "x": 90.46864, + "y": 19.78412 + }, + { + "x": 90.7156, + "y": 19.78412 + }, + { + "x": 91.04487, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.29183, + "y": 19.78412 + }, + { + "x": 91.53879, + "y": 19.78412 + }, + { + "x": 91.53879, + "y": 19.78412 + }, + { + "x": 91.78574, + "y": 19.78412 + } + ] } - ] + ] } }, "responses": { From 8839a5e69cbe4d49783a3853f3c9de654e43745f Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 6 Aug 2019 03:59:06 -0400 Subject: [PATCH 471/495] chore: jsonfmt apimanagement (#6863) --- .../ApiManagementCreateApiUsingImportOverrideServiceUrl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json index 2f4c8b34db4d..d7f63ec4ee07 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} From 239da19242c821335944e2fa2dfdead9d00af03c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 6 Aug 2019 03:59:47 -0400 Subject: [PATCH 472/495] chore: jsonfmt billing (#6872) --- .../preview/2019-10-01-preview/examples/ListTransfers.json | 2 +- .../2019-10-01-preview/examples/PartnerListTransfers.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json index 822ff5b39af5..f74b70eceff0 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/ListTransfers.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json index 6a675998a83d..34ca3d04c1dc 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/examples/PartnerListTransfers.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} From 5fb3c803d6164497890e1e36613326bd37e02785 Mon Sep 17 00:00:00 2001 From: Page Bowers <40775967+pabowers@users.noreply.github.com> Date: Tue, 6 Aug 2019 10:35:32 -0700 Subject: [PATCH 473/495] Adding managed resource group and log Analytics Workspace to the GET API (#6853) * Adding managed resource group and log Analytics Workspace to the GET API * Updating fields in the list and patch APIs --- .../2017-11-03-preview/examples/SapMonitors_Get.json | 4 +++- .../2017-11-03-preview/examples/SapMonitors_List.json | 8 ++++++-- .../examples/SapMonitors_PatchTags.json | 4 +++- .../examples/SapMonitors_PatchTags_Delete.json | 4 +++- .../preview/2017-11-03-preview/hanaonazure.json | 10 ++++++++++ 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json index ea1b1cee9229..7b3044375559 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json @@ -23,7 +23,9 @@ "hanaDbUsername": "", "hanaDbPasswordKeyVaultUrl": "", "hanaDbCredentialsMsiId": "", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "managedResourceGroupName": "testManagedRg", + "logAnalyticsWorkspaceArmId": "" } } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json index dad3f9d0c1bd..015168cde1cf 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json @@ -23,7 +23,9 @@ "hanaDbUsername": "", "hanaDbPasswordKeyVaultUrl": "", "hanaDbCredentialsMsiId": "", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "managedResourceGroupName": "testManagedRg", + "logAnalyticsWorkspaceArmId": "" } }, { @@ -42,7 +44,9 @@ "hanaDbUsername": "", "hanaDbPasswordKeyVaultUrl": "", "hanaDbCredentialsMsiId": "", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "managedResourceGroupName": "testManagedRg", + "logAnalyticsWorkspaceArmId": "" } } ] diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json index 62a785b4a80a..58fd9e06b4c7 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json @@ -28,7 +28,9 @@ "hanaDbUsername": "", "hanaDbPasswordKeyVaultUrl": "", "hanaDbCredentialsMsiId": "", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "managedResourceGroupName": "testManagedRg", + "logAnalyticsWorkspaceArmId": "" } } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json index af464a6f3549..cec4922c8bb8 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json @@ -24,7 +24,9 @@ "hanaDbUsername": "", "hanaDbPasswordKeyVaultUrl": "", "hanaDbCredentialsMsiId": "", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "managedResourceGroupName": "testManagedRg", + "logAnalyticsWorkspaceArmId": "" } } } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index 2221326eb3fa..b9f1ae7b194c 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -1191,6 +1191,16 @@ "modelAsString": true }, "description": "State of provisioning of the HanaInstance" + }, + "managedResourceGroupName": { + "readOnly": true, + "type": "string", + "description": "The name of the resource group the SAP Monitor resources get deployed into." + }, + "logAnalyticsWorkspaceArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM ID of the Log Analytics Workspace that is used for monitoring" } }, "description": "Describes the properties of a SAP monitor." From 8b68755ab7b8dafa213b29c66e5bd78e074c8da9 Mon Sep 17 00:00:00 2001 From: tengr Date: Tue, 6 Aug 2019 12:32:32 -0700 Subject: [PATCH 474/495] Update custom-words.txt (#6882) add a few more words --- custom-words.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom-words.txt b/custom-words.txt index a8096d06598b..e1224e8d9707 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -922,6 +922,9 @@ operationsmanagement operationstatuses opid oplog +Optimised +Optimiser +Optimisers originpath osdisk osdiskforlinuxsimple @@ -935,6 +938,7 @@ overridable OWASP oxxm pageable +Parallelise paramref PARAVIRTUAL Passthrough @@ -1006,6 +1010,7 @@ pricings primarybytes privatedns privatepreview +projectable Protectable provisioner provisioningservices From 92213aa50ba52569f53572044ac6c04e5744700d Mon Sep 17 00:00:00 2001 From: tengr Date: Tue, 6 Aug 2019 13:38:32 -0700 Subject: [PATCH 475/495] add Multiset (#6880) add "Multiset" as a custom word for spellcheck --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index e1224e8d9707..a1d8e11f6a95 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -823,6 +823,7 @@ Multiclass MULTIJSON Multilabel multipart +Multiset multistep multivalued muxed From 694f153a2f2eb22fdab6035ba9dc9eaaf375a386 Mon Sep 17 00:00:00 2001 From: vchske Date: Tue, 6 Aug 2019 18:18:48 -0700 Subject: [PATCH 476/495] Update OracleAzureDbPostgreSqlSyncTask.json (#6885) Added "caseManipulation" to MigrateOracleAzureDbPostgreSqlSyncDatabaseInput object --- .../definitions/OracleAzureDbPostgreSqlSyncTask.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json index 3684d0b51ca5..b647d8d3ab5e 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json @@ -547,6 +547,10 @@ "type": "object", "description": "Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs", "properties": { + "caseManipulation": { + "type": "string", + "description": "How to handle object name casing: either Preserve or ToLower" + }, "name": { "type": "string", "description": "Name of the migration pipeline" From 0e1793c98c89ff5ab6a5f50927bae9ad2207cfea Mon Sep 17 00:00:00 2001 From: wenbof Date: Wed, 7 Aug 2019 09:53:28 +0800 Subject: [PATCH 477/495] [DataFactory]Add AzureMySqlSink and two datasets (#6820) * [DataFactory]Add AzureMySqlSink and two datasets * split name * don't split name for odbc --- .../2018-06-01/entityTypes/Dataset.json | 95 ++++++++++++++++++- .../2018-06-01/entityTypes/Pipeline.json | 15 +++ 2 files changed, 109 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index d6cf98b5b0ae..fa8f4d403918 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -1433,6 +1433,74 @@ } } }, + "AmazonRedshiftTableDataset": { + "x-ms-discriminator-value": "AmazonRedshiftTable", + "description": "The Amazon Redshift table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Amazon Redshift table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AmazonRedshiftTableDatasetTypeProperties" + } + } + }, + "AmazonRedshiftTableDatasetTypeProperties": { + "description": "Amazon Redshift table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The Amazon Redshift table name. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The Amazon Redshift schema name. Type: string (or Expression with resultType string)." + } + } + }, + "Db2TableDataset": { + "x-ms-discriminator-value": "Db2Table", + "description": "The Db2 table dataset.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Dataset" + } + ], + "properties": { + "typeProperties": { + "description": "Db2 table dataset properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/Db2TableDatasetTypeProperties" + } + } + }, + "Db2TableDatasetTypeProperties": { + "description": "Db2 table dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "schema": { + "type": "object", + "description": "The Db2 schema name. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "description": "The Db2 table name. Type: string (or Expression with resultType string)." + } + } + }, "RelationalTableDataset": { "x-ms-discriminator-value": "RelationalTable", "description": "The relational table dataset.", @@ -1558,8 +1626,16 @@ "description": "PostgreSQL table dataset properties.", "properties": { "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { "type": "object", "description": "The PostgreSQL table name. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The PostgreSQL schema name. Type: string (or Expression with resultType string)." } } }, @@ -2668,7 +2744,24 @@ "typeProperties": { "description": "Properties specific to this dataset type.", "x-ms-client-flatten": true, - "$ref": "#/definitions/GenericDatasetTypeProperties" + "$ref": "#/definitions/NetezzaTableDatasetTypeProperties" + } + } + }, + "NetezzaTableDatasetTypeProperties": { + "description": "Netezza dataset properties.", + "properties": { + "tableName": { + "type": "object", + "description": "This property will be retired. Please consider using schema + table properties instead." + }, + "table": { + "type": "object", + "description": "The table name of the Netezza. Type: string (or Expression with resultType string)." + }, + "schema": { + "type": "object", + "description": "The schema name of the Netezza. Type: string (or Expression with resultType string)." } } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index ca91ad80bcf7..7ea44c70f4b5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -1980,6 +1980,21 @@ } } }, + "AzureMySqlSink": { + "description": "A copy activity Azure MySql sink.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CopySink" + } + ], + "properties": { + "preCopyScript": { + "type": "object", + "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)." + } + } + }, "ConcurSource": { "description": "A copy activity Concur Service source.", "type": "object", From f80a6c182c85879a415d4c668473c592147416f3 Mon Sep 17 00:00:00 2001 From: Tiano2017 <31759375+Tiano2017@users.noreply.github.com> Date: Wed, 7 Aug 2019 02:28:17 +0000 Subject: [PATCH 478/495] Add deployment APIs at tenant scope (#6720) --- .../resource-management/v1/types.json | 51 + .../examples/CreateResourceGroup.json | 32 + .../examples/ExportResourceGroup.json | 63 + .../ExportResourceGroupWithFiltering.json | 41 + .../PutDeploymentAtManagementGroup.json | 137 + .../examples/PutDeploymentAtScope.json | 137 + .../examples/PutDeploymentAtTenant.json | 136 + ...ntWithOnErrorDeploymentLastSuccessful.json | 54 + ...thOnErrorDeploymentSpecificDeployment.json | 55 + .../stable/2019-07-01/resources.json | 4920 +++++++++++++++++ .../resource-manager/readme.csharp.md | 81 + .../resources/resource-manager/readme.md | 33 +- .../resource-manager/readme.python.md | 12 + 13 files changed, 5747 insertions(+), 5 deletions(-) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtManagementGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json diff --git a/specification/common-types/resource-management/v1/types.json b/specification/common-types/resource-management/v1/types.json index c16bdb29214c..178a5b236304 100644 --- a/specification/common-types/resource-management/v1/types.json +++ b/specification/common-types/resource-management/v1/types.json @@ -268,6 +268,57 @@ "publisher", "product" ] + }, + "ErrorResponse": { + "properties": { + "code": { + "readOnly": true, + "type": "string", + "description": "The error code." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "The error message." + }, + "target": { + "readOnly": true, + "type": "string", + "description": "The error target." + }, + "details": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ErrorResponse" + }, + "description": "The error details." + }, + "additionalInfo": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ErrorAdditionalInfo" + }, + "description": "The error additional info." + } + }, + "description": "The resource management error response." + }, + "ErrorAdditionalInfo": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The additional info type." + }, + "info": { + "readOnly": true, + "type": "object", + "description": "The additional info." + } + }, + "description": "The resource management error additional info." } }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json new file mode 100644 index 000000000000..3a7c12c8ed74 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "parameters": { + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup", + "name": "myResourceGroup", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup", + "name": "myResourceGroup", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json new file mode 100644 index 000000000000..a230ae558837 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "parameters": { + "resources": [ + "*" + ], + "options": "IncludeParameterDefaultValue,IncludeComments" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_name": { + "defaultValue": "myFirstResource", + "type": "String" + }, + "myResourceType_mySecondResource_name": { + "defaultValue": "mySecondResource", + "type": "String" + }, + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_myFirstResource_name')]", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + }, + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_mySecondResource_name')]", + "location": "West US", + "properties": { + "customProperty": "hello!" + } + } + ] + }, + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json new file mode 100644 index 000000000000..e84964fb91ab --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "eaee6a92-e973-4922-9471-3a0a6abf81cd", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "parameters": { + "resources": [ + "/subscriptions/eaee6a92-e973-4922-9471-3a0a6abf81cd/resourceGroups/myResourceGroup/providers/My.RP/myResourceType/myFirstResource" + ], + "options": "SkipResourceNameParameterization" + } + }, + "responses": { + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "myFirstResource", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtManagementGroup.json new file mode 100644 index 000000000000..d31dec4df462 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtManagementGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "groupId": "tiano-group1", + "deploymentName": "mg-dep01", + "api-version": "2019-07-01", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Incremental" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + }, + "201": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json new file mode 100644 index 000000000000..becc2f9d0eaa --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/tiano-group1", + "deploymentName": "mg-dep01", + "api-version": "2019-07-01", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Incremental" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + }, + "201": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Resources/deployments/mg-dep01", + "name": "mg-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/tiano-group1/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json new file mode 100644 index 000000000000..b98100ce9408 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "deploymentName": "tenant-dep01", + "api-version": "2019-07-01", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Incremental" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Resources/deployments/tenant-dep01", + "name": "tenant-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + }, + "201": { + "body": { + "id": "/providers/Microsoft.Resources/deployments/tenant-dep01", + "name": "tenant-dep01", + "type": "Microsoft.Resources/deployments", + "location": "eastus", + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "{correlationId}", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ] + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ] + } + ] + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Authorization/policyDefinitions/policy2", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy2" + } + ], + "id": "/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json new file mode 100644 index 000000000000..19629b823095 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "deploymentName": "exampleDeploymentName", + "api-version": "2019-07-01", + "parameters": { + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "{nameOfLastSuccesfulDeployment}" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "{nameOfLastSuccesfulDeployment}" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json new file mode 100644 index 000000000000..c3ae4b973af6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "deploymentName": "exampleDeploymentName", + "api-version": "2019-07-01", + "parameters": { + "properties": { + "templateLink": "{templateUri}", + "parameters": {}, + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/exampleDeploymentName", + "name": "exampleDeploymentName", + "type": "Microsoft.Resources/deployments", + "properties": { + "provisioningState": "Accepted", + "correlationId": "{correlationId}", + "timestamp": "2019-03-01T00:00:00.0000000Z", + "mode": "Complete", + "onErrorDeployment": { + "type": "SpecificDeployment", + "deploymentName": "{nameOfDeploymentToUse}" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json new file mode 100644 index 000000000000..b1f3c24187d3 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json @@ -0,0 +1,4920 @@ +{ + "swagger": "2.0", + "info": { + "title": "ResourceManagementClient", + "version": "2019-07-01", + "description": "Provides operations for working with resources and resource groups." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Resources/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Microsoft.Resources REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtScope", + "summary": "Deploys resources at a given scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create deployment at a given scope.": { + "$ref": "./examples/PutDeploymentAtScope.json" + } + } + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtScope", + "description": "Get all the deployments at the given scope.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtTenantScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtTenantScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtTenantScope", + "summary": "Deploys resources at tenant scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create deployment at tenant scope.": { + "$ref": "./examples/PutDeploymentAtTenant.json" + } + } + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtTenantScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtTenantScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtTenantScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtTenantScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtTenantScope", + "description": "Get all the deployments at the tenant scope.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtManagementGroupScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtManagementGroupScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtManagementGroupScope", + "summary": "Deploys resources at management group scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create deployment at management group scope.": { + "$ref": "./examples/PutDeploymentAtManagementGroup.json" + } + } + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtManagementGroupScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtManagementGroupScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtManagementGroupScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtManagementGroupScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtManagementGroupScope", + "description": "Get all the deployments for a management group.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_DeleteAtSubscriptionScope", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistenceAtSubscriptionScope", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdateAtSubscriptionScope", + "summary": "Deploys resources at subscription scope.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_GetAtSubscriptionScope", + "description": "Gets a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CancelAtSubscriptionScope", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ValidateAtSubscriptionScope", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplateAtSubscriptionScope", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListAtSubscriptionScope", + "description": "Get all the deployments for a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}": { + "delete": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Delete", + "summary": "Deletes a deployment from the deployment history.", + "description": "A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployment to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted - Returns this status until the asynchronous operation has completed." + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "head": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CheckExistence", + "description": "Checks whether the deployment exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployment to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdate", + "summary": "Deploys resources to a resource group.", + "description": "You can provide the template and parameters directly in the request or link to JSON files.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "Created - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create a deployment that will redeploy the last successful deployment on failure": { + "$ref": "./examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json" + }, + "Create a deployment that will redeploy another deployment on failure": { + "$ref": "./examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Get", + "description": "Gets a deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment, including provisioning status.", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Cancel", + "summary": "Cancels a currently running template deployment.", + "description": "You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Validate", + "description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group the template will be deployed to. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Parameters to validate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the validation result.", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ExportTemplate", + "description": "Exports the template used for specified deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the template.", + "schema": { + "$ref": "#/definitions/DeploymentExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_ListByResourceGroup", + "description": "Get all the deployments for a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group with the deployments to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to get. If null is passed, returns all deployments." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of deployments.", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Unregister", + "description": "Unregisters a subscription from a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to unregister." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Register", + "description": "Registers a subscription with a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to register." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_List", + "description": "Gets all resource providers for a subscription.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all deployments." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_ListAtTenantScope", + "description": "Gets all resource providers for the tenant.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all providers." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Get", + "description": "Gets the specified resource provider.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_GetAtTenantScope", + "description": "Gets the specified resource provider at the tenant level.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "Resources_ListByResourceGroup", + "description": "Get all the resources for a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group with the resources to get.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. You can expand createdTime and changedTime. For example, to expand both properties, use $expand=changedTime,createdTime" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { + "head": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_CheckExistence", + "description": "Checks whether a resource group exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "ResourceGroups" + ], + "x-ms-examples": { + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } + }, + "operationId": "ResourceGroups_CreateOrUpdate", + "description": "Creates or updates a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "Parameters supplied to the create or update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "200": { + "description": "OK - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Delete", + "summary": "Deletes a resource group.", + "description": "When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Get", + "description": "Gets a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Update", + "summary": "Updates a resource group.", + "description": "Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to update. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroupPatchable" + }, + "description": "Parameters supplied to update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate": { + "post": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_ExportTemplate", + "description": "Captures the specified resource group as a template.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to export as a template.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportTemplateRequest" + }, + "description": "Parameters for exporting the template." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-examples": { + "Export a resource group": { + "$ref": "./examples/ExportResourceGroup.json" + }, + "Export a resource group with filtering": { + "$ref": "./examples/ExportResourceGroupWithFiltering.json" + } + }, + "responses": { + "200": { + "description": "OK - Returns the result of the export.", + "schema": { + "$ref": "#/definitions/ResourceGroupExportResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_List", + "description": "Gets all the resource groups for a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resource groups." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource groups.", + "schema": { + "$ref": "#/definitions/ResourceGroupListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ResourceGroupFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_MoveResources", + "summary": "Moves resources from one resource group to another resource group.", + "description": "The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. ", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_ValidateMoveResources", + "summary": "Validates whether resources can be moved from one resource group to another resource group.", + "description": "This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to validate for move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resources": { + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_List", + "description": "Get all the resources in a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. You can expand createdTime and changedTime. For example, to expand both properties, use $expand=changedTime,createdTime" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resource groups." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources.", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistence", + "description": "Checks whether a resource exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The resource provider of the resource to check." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to check whether it exists." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Delete", + "description": "Deletes a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group that contains the resource to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to delete." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdate", + "description": "Creates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to create.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to create." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for creating or updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Update", + "description": "Updates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to update.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to update." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Get", + "description": "Gets a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to get." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{resourceId}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistenceById", + "description": "Checks by ID whether a resource exists.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_DeleteById", + "description": "Deletes a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdateById", + "description": "Create a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Create or update resource parameters." + } + ], + "responses": { + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_UpdateById", + "description": "Updates a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Update resource parameters." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_GetById", + "description": "Gets a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}": { + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_DeleteValue", + "description": "Deletes a tag value.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdateValue", + "description": "Creates a tag value. The name of the tag must already exist.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "201": { + "description": "Created - Returns information about the tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}": { + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdate", + "summary": "Creates a tag in the subscription.", + "description": "The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the tag.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "201": { + "description": "Created - Returns information about the tag.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Delete", + "summary": "Deletes a tag from the subscription.", + "description": "You must remove all values from a resource tag before you can delete it.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_List", + "description": "Gets the names and values of all resource tags that are defined in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of tag names and values.", + "schema": { + "$ref": "#/definitions/TagsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtTenantScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtTenantScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtManagementGroupScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtManagementGroupScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/GroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_GetAtSubscriptionScope", + "description": "Gets a deployments operation.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_ListAtSubscriptionScope", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_Get", + "description": "Gets a deployments operation.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the operation to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the deployment operation.", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_List", + "description": "Gets all deployments operations for a deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/DeploymentNameParameter" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Return an array of deployment operations.", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "tagname": { + "type": "string", + "description": "The tag name." + }, + "tagvalue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "The tag name." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource group filter." + }, + "TemplateLink": { + "properties": { + "uri": { + "type": "string", + "description": "The URI of the template to deploy." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "required": [ + "uri" + ], + "description": "Entity representing the reference to the template." + }, + "ParametersLink": { + "properties": { + "uri": { + "type": "string", + "description": "The URI of the parameters file." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "required": [ + "uri" + ], + "description": "Entity representing the reference to the deployment parameters." + }, + "DeploymentProperties": { + "properties": { + "template": { + "type": "object", + "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "The URI of the template. Use either the templateLink property or the template property, but not both." + }, + "parameters": { + "type": "object", + "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both." + }, + "mode": { + "type": "string", + "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.", + "enum": [ + "Incremental", + "Complete" + ], + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": false + } + }, + "debugSetting": { + "$ref": "#/definitions/DebugSetting", + "description": "The debug setting of the deployment." + }, + "onErrorDeployment": { + "$ref": "#/definitions/OnErrorDeployment", + "description": "The deployment on error behavior." + } + }, + "required": [ + "mode" + ], + "description": "Deployment properties." + }, + "DebugSetting": { + "properties": { + "detailLevel": { + "type": "string", + "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." + } + }, + "description": "The debug setting." + }, + "Deployment": { + "properties": { + "location": { + "type": "string", + "description": "The location to store the deployment data." + }, + "properties": { + "$ref": "#/definitions/DeploymentProperties", + "description": "The deployment properties." + } + }, + "required": [ + "properties" + ], + "description": "Deployment operation parameters." + }, + "DeploymentExportResult": { + "properties": { + "template": { + "type": "object", + "description": "The template content." + } + }, + "description": "The deployment export result. " + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response for a resource management request." + }, + "AliasPathType": { + "properties": { + "path": { + "type": "string", + "description": "The path of an alias." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API versions." + } + }, + "description": "The type of the paths for alias. " + }, + "AliasType": { + "properties": { + "name": { + "type": "string", + "description": "The alias name." + }, + "paths": { + "type": "array", + "items": { + "$ref": "#/definitions/AliasPathType" + }, + "description": "The paths for an alias." + } + }, + "description": "The alias type. " + }, + "ProviderResourceType": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection of locations where this resource type can be created." + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/definitions/AliasType" + }, + "description": "The aliases that are supported by this resource type." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API version." + }, + "capabilities": { + "type": "string", + "description": "The additional capabilities offered by this resource type." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The properties." + } + }, + "description": "Resource type managed by the resource provider." + }, + "Provider": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The provider ID." + }, + "namespace": { + "type": "string", + "description": "The namespace of the resource provider." + }, + "registrationState": { + "readOnly": true, + "type": "string", + "description": "The registration state of the resource provider." + }, + "registrationPolicy": { + "readOnly": true, + "type": "string", + "description": "The registration policy of the resource provider." + }, + "resourceTypes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ProviderResourceType" + }, + "description": "The collection of provider resource types." + } + }, + "description": "Resource provider information." + }, + "BasicDependency": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "The dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "The dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "Dependency": { + "properties": { + "dependsOn": { + "type": "array", + "items": { + "$ref": "#/definitions/BasicDependency" + }, + "description": "The list of dependencies." + }, + "id": { + "type": "string", + "description": "The ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "The dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "The dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "DeploymentPropertiesExtended": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning." + }, + "correlationId": { + "readOnly": true, + "type": "string", + "description": "The correlation ID of the deployment." + }, + "timestamp": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp of the template deployment." + }, + "duration": { + "readOnly": true, + "type": "string", + "description": "The duration of the template deployment." + }, + "outputs": { + "type": "object", + "description": "Key/value pairs that represent deployment output." + }, + "providers": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "The list of resource providers needed for the deployment." + }, + "dependencies": { + "type": "array", + "items": { + "$ref": "#/definitions/Dependency" + }, + "description": "The list of deployment dependencies." + }, + "template": { + "type": "object", + "description": "The template content. Use only one of Template or TemplateLink." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "The URI referencing the template. Use only one of Template or TemplateLink." + }, + "parameters": { + "type": "object", + "description": "Deployment parameters. Use only one of Parameters or ParametersLink." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "The URI referencing the parameters. Use only one of Parameters or ParametersLink." + }, + "mode": { + "type": "string", + "description": "The deployment mode. Possible values are Incremental and Complete.", + "enum": [ + "Incremental", + "Complete" + ], + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": false + } + }, + "debugSetting": { + "$ref": "#/definitions/DebugSetting", + "description": "The debug setting of the deployment." + }, + "onErrorDeployment": { + "$ref": "#/definitions/OnErrorDeploymentExtended", + "description": "The deployment on error behavior." + } + }, + "description": "Deployment properties with additional details." + }, + "OnErrorDeployment": { + "properties": { + "type": { + "type": "string", + "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", + "enum": [ + "LastSuccessful", + "SpecificDeployment" + ], + "x-ms-enum": { + "name": "OnErrorDeploymentType", + "modelAsString": false + } + }, + "deploymentName": { + "type": "string", + "description": "The deployment to be used on error case." + } + }, + "description": "Deployment on error behavior." + }, + "OnErrorDeploymentExtended": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning for the on error deployment." + }, + "type": { + "type": "string", + "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", + "enum": [ + "LastSuccessful", + "SpecificDeployment" + ], + "x-ms-enum": { + "name": "OnErrorDeploymentType", + "modelAsString": false + } + }, + "deploymentName": { + "type": "string", + "description": "The deployment to be used on error case." + } + }, + "description": "Deployment on error behavior with additional details." + }, + "DeploymentValidateResult": { + "properties": { + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "The template deployment properties." + } + }, + "description": "Information from validate template deployment response." + }, + "DeploymentExtended": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the deployment." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the deployment." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the deployment." + }, + "location": { + "type": "string", + "description": "the location of the deployment." + }, + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "Deployment properties." + } + }, + "x-ms-azure-resource": true, + "description": "Deployment information." + }, + "DeploymentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentExtended" + }, + "description": "An array of deployments." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of deployments." + }, + "ProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "An array of resource providers." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource providers." + }, + "GenericResource": { + "properties": { + "plan": { + "$ref": "#/definitions/Plan", + "description": "The plan of the resource." + }, + "properties": { + "type": "object", + "description": "The resource properties." + }, + "kind": { + "type": "string", + "description": "The kind of the resource.", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + "managedBy": { + "type": "string", + "description": "ID of the resource that manages this resource." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the resource." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Resource information." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + }, + "product": { + "type": "string", + "description": "The offer ID." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "version": { + "type": "string", + "description": "The plan's version." + } + }, + "description": "Plan for the resource." + }, + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "The SKU name." + }, + "tier": { + "type": "string", + "description": "The SKU tier." + }, + "size": { + "type": "string", + "description": "The SKU size." + }, + "family": { + "type": "string", + "description": "The SKU family." + }, + "model": { + "type": "string", + "description": "The SKU model." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The SKU capacity." + } + }, + "description": "SKU for the resource." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "ResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GenericResource" + }, + "description": "An array of resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourceGroup": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the resource group." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource group." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "location": { + "type": "string", + "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "Resource group information." + }, + "ResourceGroupPatchable": { + "properties": { + "name": { + "type": "string", + "description": "The name of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "description": "Resource group information." + }, + "ResourceGroupProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state. " + } + }, + "description": "The resource group properties." + }, + "ResourceGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "An array of resource groups." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourcesMoveInfo": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources." + }, + "targetResourceGroup": { + "type": "string", + "description": "The target resource group." + } + }, + "description": "Parameters of move resources." + }, + "ExportTemplateRequest": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'." + }, + "options": { + "type": "string", + "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'" + } + }, + "description": "Export resource group template request parameters." + }, + "TagCount": { + "properties": { + "type": { + "type": "string", + "description": "Type of count." + }, + "value": { + "type": "integer", + "description": "Value of count." + } + }, + "description": "Tag count." + }, + "TagValue": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag ID." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The tag value count." + } + }, + "x-ms-azure-resource": true, + "description": "Tag information." + }, + "TagDetails": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag ID." + }, + "tagName": { + "type": "string", + "description": "The tag name." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/TagValue" + }, + "description": "The list of tag values." + } + }, + "description": "Tag details." + }, + "TagsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagDetails" + }, + "description": "An array of tags." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of subscription tags." + }, + "TargetResource": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource." + }, + "resourceName": { + "type": "string", + "description": "The name of the resource." + }, + "resourceType": { + "type": "string", + "description": "The type of the resource." + } + }, + "description": "Target resource." + }, + "HttpMessage": { + "properties": { + "content": { + "type": "object", + "description": "HTTP message content." + } + }, + "description": "HTTP message." + }, + "DeploymentOperationProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The state of the provisioning." + }, + "timestamp": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The date and time of the operation." + }, + "duration": { + "readOnly": true, + "type": "string", + "description": "The duration of the operation." + }, + "serviceRequestId": { + "readOnly": true, + "type": "string", + "description": "Deployment operation service request id." + }, + "statusCode": { + "readOnly": true, + "type": "string", + "description": "Operation status code." + }, + "statusMessage": { + "readOnly": true, + "type": "object", + "description": "Operation status message." + }, + "targetResource": { + "readOnly": true, + "$ref": "#/definitions/TargetResource", + "description": "The target resource." + }, + "request": { + "readOnly": true, + "$ref": "#/definitions/HttpMessage", + "description": "The HTTP request message." + }, + "response": { + "readOnly": true, + "$ref": "#/definitions/HttpMessage", + "description": "The HTTP response message." + } + }, + "description": "Deployment operation properties." + }, + "DeploymentOperation": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Full deployment operation ID." + }, + "operationId": { + "readOnly": true, + "type": "string", + "description": "Deployment operation ID." + }, + "properties": { + "$ref": "#/definitions/DeploymentOperationProperties", + "description": "Deployment properties." + } + }, + "description": "Deployment operation information." + }, + "DeploymentOperationsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentOperation" + }, + "description": "An array of deployment operations." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of deployment operations." + }, + "ResourceProviderOperationDisplayProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Operation description." + }, + "provider": { + "type": "string", + "description": "Operation provider." + }, + "resource": { + "type": "string", + "description": "Operation resource." + }, + "operation": { + "type": "string", + "description": "Resource provider operation." + }, + "description": { + "type": "string", + "description": "Operation description." + } + }, + "description": "Resource provider operation's display properties." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "Specified resource." + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID" + } + }, + "x-ms-azure-resource": true, + "description": "Sub-resource." + }, + "ResourceGroupExportResult": { + "properties": { + "template": { + "type": "object", + "description": "The template content." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "description": "The template export error." + } + }, + "description": "Resource group export result." + }, + "Operation": { + "description": "Microsoft.Resources operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Resources", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.Resources operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "ScopeParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of a deployment.", + "x-ms-parameter-location": "method" + }, + "GroupIdParameter": { + "name": "groupId", + "in": "path", + "required": true, + "type": "string", + "description": "The management group ID.", + "x-ms-parameter-location": "method", + "minLength": 1, + "maxLength": 90 + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "DeploymentNameParameter": { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "x-ms-parameter-location": "method", + "minLength": 1, + "maxLength": 64, + "description": "The name of the deployment." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." + } + } +} diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index fa67a5f969f3..8ecb43549df2 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -97,6 +97,19 @@ batch: ApiVersionName: Api2019_05_10 - policyD-2016-12-01: true ApiVersionName: Api2019_05_10 + + - resources-2019-07-01: true + ApiVersionName: Api2019_07_01 + - links-2016-09-01: true + ApiVersionName: Api2019_07_01 + - subscription-2016-06-01: true + ApiVersionName: Api2019_07_01 + - locks-2016-09-01: true + ApiVersionName: Api2019_07_01 + - policyA-2016-12-01: true + ApiVersionName: Api2019_07_01 + - policyD-2016-12-01: true + ApiVersionName: Api2019_07_01 ``` @@ -423,6 +436,74 @@ input-file: - Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json ``` +``` yaml $(Separator) +########################################################################### +########################################################################### +``` + + +``` yaml $(resources-2019-07-01) +tag: pkg-2019-07-Az-res +``` + +``` yaml $(links-2016-09-01) +tag: pkg-2019-07-Az-lnk +``` + +``` yaml $(subscription-2016-06-01) +tag: pkg-2019-07-Az-sub +``` + +``` yaml $(locks-2016-09-01) +tag: pkg-2019-07-Az-loc +``` + +``` yaml $(policyA-2016-12-01) +tag: pkg-2019-07-Az-polA +``` + +``` yaml $(policyD-2016-12-01) +tag: pkg-2019-07-Az-polD +``` + + +## Tag: Packages for Azure Stack +### 1) pkg-2019-07-AzStk-res +``` yaml $(tag) == 'pkg-2019-07-Az-res' +input-file: +- Microsoft.Resources/stable/2019-07-01/resources.json +``` + +### 2) pkg-2019-07-AzStk-lnk +``` yaml $(tag) == 'pkg-2019-07-Az-lnk' +input-file: +- Microsoft.Resources/stable/2016-09-01/links.json +``` + +### 3) pkg-2019-07-AzStk-sub +``` yaml $(tag) == 'pkg-2019-07-Az-sub' +input-file: +- Microsoft.Resources/stable/2016-06-01/subscriptions.json +``` + +### 4) pkg-2019-07-AzStk-loc +``` yaml $(tag) == 'pkg-2019-07-Az-loc' +input-file: +- Microsoft.Authorization/stable/2016-09-01/locks.json +``` + +### 5) pkg-2019-07-AzStk-polA +``` yaml $(tag) == 'pkg-2019-07-Az-polA' +input-file: +- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json +``` + +### 6) pkg-2019-07-AzStk-polD +``` yaml $(tag) == 'pkg-2019-07-Az-polD' +input-file: +- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json +``` + ### Profile: hybrid_2018_03_01 These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 7479d3bbb1d4..0ecd8ed984b4 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -41,7 +41,7 @@ tag: package-policy-2019-01 ``` ``` yaml $(package-resources) -tag: package-resources-2019-0510 +tag: package-resources-2019-07 ``` ``` yaml $(package-subscriptions) @@ -198,13 +198,13 @@ input-file: - Microsoft.Authorization/preview/2015-10-01-preview/policy.json ``` -### Tag: package-resources-2019-05 +### Tag: package-resources-2019-07 -These settings apply only when `--tag=package-resources-2019-05` is specified on the command line. +These settings apply only when `--tag=package-resources-2019-07` is specified on the command line. -``` yaml $(tag) == 'package-resources-2019-05' +``` yaml $(tag) == 'package-resources-2019-07' input-file: -- Microsoft.Resources/stable/2019-05-01/resources.json +- Microsoft.Resources/stable/2019-07-01/resources.json ``` ### Tag: package-resources-2019-0510 @@ -216,6 +216,15 @@ input-file: - Microsoft.Resources/stable/2019-05-10/resources.json ``` +### Tag: package-resources-2019-05 + +These settings apply only when `--tag=package-resources-2019-05` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-05' +input-file: +- Microsoft.Resources/stable/2019-05-01/resources.json +``` + ### Tag: package-resources-2019-03 These settings apply only when `--tag=package-resources-2019-03` is specified on the command line. @@ -477,6 +486,7 @@ batch: - tag: package-policy-2018-05 - tag: package-policy-2018-03 - tag: package-policy-2016-12 + - tag: package-resources-2019-07 - tag: package-resources-2019-0510 - tag: package-resources-2019-05 - tag: package-resources-2019-03 @@ -586,6 +596,19 @@ directive: transform: $['x-ms-client-name'] = 'scopeProperty' ``` +### Tag: package-resources-2019-07 and java + +These settings apply only when `--tag=package-resources-2019-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-resources-2019-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resources.v2019_07_01 + output-folder: $(azure-libraries-for-java-folder)/resources/resource-manager/v2019_07_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-resources-2019-0510 and java These settings apply only when `--tag=package-resources-2019-0510 --java` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index e9c5ac097bee..560d35a698fc 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -33,6 +33,7 @@ batch: - tag: package-policy-2016-12 - tag: package-policy-2016-04 - tag: package-policy-2015-10 + - tag: package-resources-2019-07 - tag: package-resources-2019-0510 - tag: package-resources-2019-05 - tag: package-resources-2019-03 @@ -188,6 +189,17 @@ python: output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2015_10_01_preview ``` +### Tag: package-resources-2019-07 and python + +These settings apply only when `--tag=package-resources-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-07' && $(python) +python: + namespace: azure.mgmt.resource.resources.v2019_07_01 + output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2019_07_01 +``` + ### Tag: package-resources-2019-0510 and python These settings apply only when `--tag=package-resources-2019-0510 --python` is specified on the command line. From 4d9abc255f675f14e8872325a866b1b8b5382dd7 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 7 Aug 2019 11:18:18 +0800 Subject: [PATCH 479/495] sort custom words (#6879) --- custom-words.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index a1d8e11f6a95..05c1c221cb9f 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -439,8 +439,8 @@ endtime Enein engagementfabric enquoted -entitysearch entitydocument +entitysearch entrypoint environmentsettings errordetail @@ -1139,8 +1139,8 @@ rhel Rolledback rollouts rolloverdetails -rosettanetprocessconfigurations rootfs +rosettanetprocessconfigurations rotatediskencryptionkey routable routingendpointhealth From 3d18e981164c5c169757ea01274a7f61cabe5e98 Mon Sep 17 00:00:00 2001 From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Date: Wed, 7 Aug 2019 12:43:14 +0800 Subject: [PATCH 480/495] avocado@0.5.1 (#6887) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ecad98d56eb..068193360e3f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "description": "Tests for Azure REST API Specifications", "license": "MIT", "devDependencies": { - "@azure/avocado": "^0.4.1", + "@azure/avocado": "^0.5.1", "@azure/rest-api-specs-scripts": "^0.4.0", "@ts-common/commonmark-to-markdown": "^1.2.0", "@ts-common/fs": "0.2.0", From d978d8c93c70c3bed71f3ea4f8780edf9c2583ec Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 7 Aug 2019 01:43:25 -0400 Subject: [PATCH 481/495] chore: jsonfmt consumption (#6877) --- .../stable/2019-05-01/consumption.json | 25 +++++---- .../stable/2019-05-01/examples/Budget.json | 2 +- .../2019-05-01/examples/BudgetsList.json | 4 +- .../ChargesForBillingPeriodByDepartment.json | 2 +- ...esForBillingPeriodByEnrollmentAccount.json | 2 +- ...ListForDepartmentFilterByStartEndDate.json | 28 +++++----- ...EnrollmentAccountFilterByStartEndDate.json | 26 +++++----- .../examples/CreateOrUpdateBudget.json | 2 +- .../2019-05-01/examples/DeleteBudget.json | 2 +- .../MarketplacesByBillingAccountList.json | 2 +- ...sByBillingAccountListForBillingPeriod.json | 2 +- .../MarketplacesByDepartmentList.json | 2 +- ...lacesByDepartment_ListByBillingPeriod.json | 2 +- .../MarketplacesByEnrollmentAccountList.json | 2 +- ...nrollmentAccounts_ListByBillingPeriod.json | 2 +- .../MarketplacesByManagementGroupList.json | 2 +- ...yManagementGroup_ListForBillingPeriod.json | 2 +- .../2019-05-01/examples/MarketplacesList.json | 2 +- .../MarketplacesListForBillingPeriod.json | 2 +- .../ReservationDetailsByBillingAccountId.json | 20 +++---- ...onRecommendationsByBillingAccountList.json | 52 +++++++++---------- ...ionSummariesDailyWithBillingAccountId.json | 20 +++---- ...nSummariesMonthlyWithBillingAccountId.json | 22 ++++---- .../stable/2019-05-01/examples/Tags.json | 2 +- 24 files changed, 114 insertions(+), 115 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json index 9a2dc9a3be77..7e11190e7dd8 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json @@ -1633,7 +1633,6 @@ } } }, - "Marketplace": { "description": "An marketplace resource.", "type": "object", @@ -2086,12 +2085,12 @@ "type": "string", "readOnly": true }, - "instanceFlexibilityRatio": { + "instanceFlexibilityRatio": { "description": "The instance Flexibility Ratio.", - "type": "string", + "type": "string", "readOnly": true }, - "instanceFlexibilityGroup": { + "instanceFlexibilityGroup": { "description": "The instance Flexibility Group.", "type": "string", "readOnly": true @@ -2181,27 +2180,27 @@ "description": "The number of days of usage to look back for recommendation.", "type": "string", "readOnly": true - }, - "instanceFlexibilityRatio": { + }, + "instanceFlexibilityRatio": { "description": "The instance Flexibility Ratio.", - "type": "integer", + "type": "integer", "readOnly": true }, - "instanceFlexibilityGroup": { + "instanceFlexibilityGroup": { "description": "The instance Flexibility Group.", "type": "string", "readOnly": true }, - "normalizedSize": { + "normalizedSize": { "description": "The normalized Size.", - "type": "string", + "type": "string", "readOnly": true }, - "recommendedQuantityNormalized": { + "recommendedQuantityNormalized": { "description": "The recommended Quantity Normalized.", - "type": "number", + "type": "number", "readOnly": true - }, + }, "meterId": { "description": "The meter id (GUID)", "type": "string", diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json index b5095fcf05c7..be9537a6b425 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", "budgetName": "TestBudget", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json index 29d868c6b227..9ec90134c5e8 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json @@ -2,8 +2,8 @@ "parameters": { "api-version": "2019-05-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", - "resourceGroupName": "MYDEVTESTRG" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json index d572fa968485..760afa147745 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json @@ -4,7 +4,7 @@ "billingAccountId": "1234", "departmentId": "42425", "billingPeriodName": "201804", - "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json index fd70933c1bd1..be9ee3e1757b 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json @@ -4,7 +4,7 @@ "billingAccountId": "1234", "enrollmentAccountId": "42425", "billingPeriodName": "201804", - "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json index 9e93da67d972..9fc435a17ef4 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json @@ -3,24 +3,24 @@ "api-version": "2019-05-01", "billingAccountId": "1234", "departmentId": "42425", - "scope": "providers/Microsoft.Billing/BillingAccounts/1234", + "scope": "providers/Microsoft.Billing/BillingAccounts/1234", "$filter": "usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'" }, "responses": { "200": { - "body": { - "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", - "name": "chargeSummaryId1", - "type": "Microsoft.Consumption/charges", - "properties": { - "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", - "usageStart": "2018-04-01", - "usageEnd": "2018-04-30", - "azureCharges": 5000.00, - "chargesBilledSeparately": 60.90, - "marketplaceCharges": 100.00, - "currency": "USD" - } + "body": { + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json index 20cf27c58c4e..eae6f9b6745c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json @@ -3,23 +3,23 @@ "api-version": "2019-05-01", "billingAccountId": "1234", "enrollmentAccountId": "42425", - "scope": "providers/Microsoft.Billing/BillingAccounts/1234" + "scope": "providers/Microsoft.Billing/BillingAccounts/1234" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", - "name": "chargeSummaryId1", - "type": "Microsoft.Consumption/charges", - "properties": { - "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", - "usageStart": "2018-04-01", - "usageEnd": "2018-04-30", - "azureCharges": 5000.00, - "chargesBilledSeparately": 60.90, - "marketplaceCharges": 100.00, - "currency": "USD" - } + "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1", + "name": "chargeSummaryId1", + "type": "Microsoft.Consumption/charges", + "properties": { + "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804", + "usageStart": "2018-04-01", + "usageEnd": "2018-04-30", + "azureCharges": 5000.00, + "chargesBilledSeparately": 60.90, + "marketplaceCharges": 100.00, + "currency": "USD" + } } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json index efca50bfec47..ca3c4cd7030c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", "budgetName": "TestBudget", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "parameters": { "eTag": "\"1d34d016a593709\"", "properties": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json index b7033bd9c85e..4a0056ec54ec 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", "budgetName": "TestBudget", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json index 30ab0d7c82f3..bdea38e8cf96 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-05-01", - "scope": "providers/Microsoft.Billing/billingAccounts/123456", + "scope": "providers/Microsoft.Billing/billingAccounts/123456", "billingAccountId": "123456" }, "responses": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json index 13fcf90dc2a5..8bd2142eafcc 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2019-05-01", "billingAccountId": "123456", - "scope": "providers/Microsoft.Billing/billingAccounts/123456", + "scope": "providers/Microsoft.Billing/billingAccounts/123456", "billingPeriodName": "201702" }, "responses": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json index aebd15cfb7cc..9b988bfaa787 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json @@ -3,7 +3,7 @@ "api-version": "2019-05-01", "departmentId": "123456", "billingPeriodName": "201702", - "scope": "providers/Microsoft.Billing/departments/123456" + "scope": "providers/Microsoft.Billing/departments/123456" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json index aebd15cfb7cc..9b988bfaa787 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json @@ -3,7 +3,7 @@ "api-version": "2019-05-01", "departmentId": "123456", "billingPeriodName": "201702", - "scope": "providers/Microsoft.Billing/departments/123456" + "scope": "providers/Microsoft.Billing/departments/123456" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json index 83e5b6a05111..4d1f6f881938 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json @@ -3,7 +3,7 @@ "api-version": "2019-05-01", "enrollmentAccountId": "123456", "billingPeriodName": "201702", - "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json index 83e5b6a05111..4d1f6f881938 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json @@ -3,7 +3,7 @@ "api-version": "2019-05-01", "enrollmentAccountId": "123456", "billingPeriodName": "201702", - "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" + "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json index 4827a31879e5..0116a8fa0d5e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2019-05-01", "managementGroupId": "managementGroupForTest", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json index a9d4ae3ea50f..c649c3588c2d 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json @@ -3,7 +3,7 @@ "api-version": "2019-05-01", "managementGroupId": "managementGroupForTest", "billingPeriodName": "201808", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json index 1e7c75d91630..935b6f58d6a9 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-05-01", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json index 64cc28668831..dc141d289de4 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2019-05-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "billingPeriodName": "201801" }, "responses": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json index a70bdf82946a..71b4bc55ac28 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json @@ -14,16 +14,16 @@ "type": "Microsoft.Consumption/reservationDetails", "tags": null, "properties": { - "reservationOrderId": "00000000-0000-0000-0000-000000000000", - "reservationId": "00000000-0000-0000-0000-000000000000", - "usageDate": "2017-11-30T00:00:00-08:00", - "skuName": "Standard_D2s_v3", - "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlh1/providers/microsoft.compute/virtualmachines/sqlh1", - "totalReservedQuantity": 0, - "reservedHours": 48, - "usedHours": 0.6, - "instanceFlexibilityGroup": "DSv3 Series", - "instanceFlexibilityRatio": "1" + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "usageDate": "2017-11-30T00:00:00-08:00", + "skuName": "Standard_D2s_v3", + "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlh1/providers/microsoft.compute/virtualmachines/sqlh1", + "totalReservedQuantity": 0, + "reservedHours": 48, + "usedHours": 0.6, + "instanceFlexibilityGroup": "DSv3 Series", + "instanceFlexibilityRatio": "1" } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json index 94354a980c63..ceea409e3207 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json @@ -14,19 +14,19 @@ "location": "westus", "sku": "Standard_DS1_v2", "properties": { - "meterId": "00000000-0000-0000-0000-000000000000", - "term": "P1Y", - "costWithNoReservedInstances": 12.0785105, - "recommendedQuantity": 1, - "totalCostWithReservedInstances": 11.4899644807748, - "netSavings": 0.588546019225182, - "firstUsageDate": "2019-07-07T00:00:00-07:00", - "scope": "Shared", - "lookBackPeriod": "Last7Days", - "instanceFlexibilityRatio": 1, - "instanceFlexibilityGroup": "DSv2 Series", - "normalizedSize": "Standard_DS1_v2", - "recommendedQuantityNormalized": 1 + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 12.0785105, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 11.4899644807748, + "netSavings": 0.588546019225182, + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1_v2", + "recommendedQuantityNormalized": 1 } }, { @@ -36,19 +36,19 @@ "location": "westus", "sku": "Standard_DS1_v2", "properties": { - "meterId": "00000000-0000-0000-0000-000000000000", - "term": "P1Y", - "costWithNoReservedInstances": 10.0785105, - "recommendedQuantity": 1, - "totalCostWithReservedInstances": 13.48, - "netSavings": 0.68, - "firstUsageDate": "2019-07-07T00:00:00-07:00", - "scope": "Shared", - "lookBackPeriod": "Last7Days", - "instanceFlexibilityRatio": 1, - "instanceFlexibilityGroup": "DSv2 Series", - "normalizedSize": "Standard_DS1", - "recommendedQuantityNormalized": 1.2 + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": 10.0785105, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": 13.48, + "netSavings": 0.68, + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1", + "recommendedQuantityNormalized": 1.2 } } ], diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json index f3f2fb1f11c1..332967a84a10 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-05-01", - "billingAccountId": "12345", + "billingAccountId": "12345", "grain": "daily", "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'" }, @@ -15,15 +15,15 @@ "type": "Microsoft.Consumption/reservationSummaries", "tags": null, "properties": { - "reservationOrderId": "00000000-0000-0000-0000-000000000000", - "reservationId": "00000000-0000-0000-0000-000000000000", - "skuName": "Standard_B1s", - "reservedHours": 720, - "usageDate": "2018-09-01T00:00:00-07:00", - "usedHours": 0, - "minUtilizationPercentage": 0, - "avgUtilizationPercentage": 0, - "maxUtilizationPercentage": 0 + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_B1s", + "reservedHours": 720, + "usageDate": "2018-09-01T00:00:00-07:00", + "usedHours": 0, + "minUtilizationPercentage": 0, + "avgUtilizationPercentage": 0, + "maxUtilizationPercentage": 0 } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json index 5d58c47d406a..160de086c909 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-05-01", - "billingAccountId": "12345", + "billingAccountId": "12345", "grain": "monthly" }, "responses": { @@ -9,20 +9,20 @@ "body": { "value": [ { - "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901", + "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901", "name": "00000000-0000-0000-0000-000000000000_20180901", "type": "Microsoft.Consumption/reservationSummaries", "tags": null, "properties": { - "reservationOrderId": "00000000-0000-0000-0000-000000000000", - "reservationId": "00000000-0000-0000-0000-000000000000", - "skuName": "Standard_B1s", - "reservedHours": 720, - "usageDate": "2018-09-01T00:00:00-07:00", - "usedHours": 0, - "minUtilizationPercentage": 0, - "avgUtilizationPercentage": 0, - "maxUtilizationPercentage": 0 + "reservationOrderId": "00000000-0000-0000-0000-000000000000", + "reservationId": "00000000-0000-0000-0000-000000000000", + "skuName": "Standard_B1s", + "reservedHours": 720, + "usageDate": "2018-09-01T00:00:00-07:00", + "usedHours": 0, + "minUtilizationPercentage": 0, + "avgUtilizationPercentage": 0, + "maxUtilizationPercentage": 0 } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json index 04daa19fcd7b..37ba1e8f4985 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json @@ -2,7 +2,7 @@ "parameters": { "api-version": "2019-05-01", "billingAccountId": "12345", - "scope": "providers/Microsoft.CostManagement/billingAccounts/1234" + "scope": "providers/Microsoft.CostManagement/billingAccounts/1234" }, "responses": { "200": { From 63eb289821c77c2b6cebba9209e9e9ea55d098fc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 7 Aug 2019 01:45:10 -0400 Subject: [PATCH 482/495] fix: datamigration model validation (#6734) Remove empty body to fix RESPONSE_SCHEMA_NOT_IN_SPEC errors --- .../2017-11-15-preview/examples/Projects_Delete.json | 8 ++------ .../2017-11-15-preview/examples/Services_Delete.json | 4 +--- .../2017-11-15-preview/examples/Services_Start.json | 8 ++------ .../2017-11-15-preview/examples/Services_Stop.json | 8 ++------ .../preview/2017-11-15-preview/examples/Tasks_Delete.json | 8 ++------ .../2018-03-15-preview/examples/Projects_Delete.json | 8 ++------ .../2018-03-15-preview/examples/Services_Delete.json | 4 +--- .../2018-03-15-preview/examples/Services_Start.json | 8 ++------ .../2018-03-15-preview/examples/Services_Stop.json | 8 ++------ .../preview/2018-03-15-preview/examples/Tasks_Delete.json | 8 ++------ .../2018-03-31-preview/examples/Projects_Delete.json | 8 ++------ .../2018-03-31-preview/examples/Services_Delete.json | 4 +--- .../2018-03-31-preview/examples/Services_Start.json | 8 ++------ .../2018-03-31-preview/examples/Services_Stop.json | 8 ++------ .../preview/2018-03-31-preview/examples/Tasks_Delete.json | 8 ++------ .../preview/2018-07-15-preview/examples/Files_Delete.json | 8 ++------ .../2018-07-15-preview/examples/Projects_Delete.json | 8 ++------ .../2018-07-15-preview/examples/ServiceTasks_Delete.json | 8 ++------ .../2018-07-15-preview/examples/Services_Delete.json | 4 +--- .../2018-07-15-preview/examples/Services_Start.json | 8 ++------ .../2018-07-15-preview/examples/Services_Stop.json | 8 ++------ .../preview/2018-07-15-preview/examples/Tasks_Delete.json | 8 ++------ .../stable/2018-04-19/examples/Projects_Delete.json | 8 ++------ .../stable/2018-04-19/examples/Services_Delete.json | 4 +--- .../stable/2018-04-19/examples/Services_Start.json | 8 ++------ .../stable/2018-04-19/examples/Services_Stop.json | 8 ++------ .../stable/2018-04-19/examples/Tasks_Delete.json | 8 ++------ 27 files changed, 49 insertions(+), 147 deletions(-) diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json index c1af9cd40cf2..4bc7a548a680 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json @@ -7,11 +7,7 @@ "api-version": "2017-11-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json index 19646568ce48..2b1a2d892240 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json @@ -7,9 +7,7 @@ }, "responses": { "200": {}, - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json index da650394b9b1..7457bbbb1f2a 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json @@ -6,11 +6,7 @@ "api-version": "2017-11-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json index da650394b9b1..7457bbbb1f2a 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json @@ -6,11 +6,7 @@ "api-version": "2017-11-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json index d4ea93c8e322..786f7259c5a5 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json @@ -8,11 +8,7 @@ "api-version": "2017-11-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json index c020ec725f08..5aac822d4ab6 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json @@ -7,11 +7,7 @@ "api-version": "2018-03-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json index eb1e827ecc47..755c8163f7b4 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json @@ -7,9 +7,7 @@ }, "responses": { "200": {}, - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json index 4403a3f61948..a7f69ae432b9 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json @@ -6,11 +6,7 @@ "api-version": "2018-03-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json index 4403a3f61948..a7f69ae432b9 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json @@ -6,11 +6,7 @@ "api-version": "2018-03-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json index ee46d51f9dba..300999e84157 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json @@ -8,11 +8,7 @@ "api-version": "2018-03-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json index 3586f57e6fcf..fe6ed3465ef6 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json @@ -7,11 +7,7 @@ "api-version": "2018-03-31-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json index 76db9aa89856..1140ad6e70d6 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json @@ -7,9 +7,7 @@ }, "responses": { "200": {}, - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json index 316eb74b5589..f4aa3c470af8 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json @@ -6,11 +6,7 @@ "api-version": "2018-03-31-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json index 316eb74b5589..f4aa3c470af8 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json @@ -6,11 +6,7 @@ "api-version": "2018-03-31-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json index 632384179449..b3a32d15bfe7 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json @@ -8,11 +8,7 @@ "api-version": "2018-03-31-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json index 0aed4cdfcba6..834beea8673a 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json @@ -8,11 +8,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json index aa1f249390cf..2415228a11bb 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json @@ -7,11 +7,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json index 7c5fd00999e2..ad1b0d4b80b0 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json @@ -7,11 +7,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json index c7492fd18630..63e585c067fb 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json @@ -6,9 +6,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": {}, "204": {} } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json index 85f9f1e7cb45..5a6d0658bd17 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json @@ -6,11 +6,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json index 85f9f1e7cb45..5a6d0658bd17 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json @@ -6,11 +6,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json index cad5eafa7417..20b8c4165a0e 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json @@ -8,11 +8,7 @@ "api-version": "2018-07-15-preview" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json index 1ca3cf94f885..28efc7fb1d13 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json @@ -7,11 +7,7 @@ "api-version": "2018-04-19" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json index fe08f524ec9a..e6614aa25e3a 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json @@ -7,9 +7,7 @@ }, "responses": { "200": {}, - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json index a5b2cdc6786d..27f5738628ae 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json @@ -6,11 +6,7 @@ "api-version": "2018-04-19" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json index a5b2cdc6786d..27f5738628ae 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json @@ -6,11 +6,7 @@ "api-version": "2018-04-19" }, "responses": { - "202": { - "body": "" - }, - "200": { - "body": "" - } + "202": {}, + "200": {} } } diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json index 127e2379dbd1..727f4431d06d 100644 --- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json +++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json @@ -8,11 +8,7 @@ "api-version": "2018-04-19" }, "responses": { - "200": { - "body": "" - }, - "204": { - "body": "" - } + "200": {}, + "204": {} } } From d94bea87d663708b467f9073af22e7697acf76af Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 7 Aug 2019 02:39:48 -0400 Subject: [PATCH 483/495] chore: jsonfmt resources (#6889) --- .../stable/2019-07-01/examples/PutDeploymentAtScope.json | 2 +- .../stable/2019-07-01/examples/PutDeploymentAtTenant.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json index becc2f9d0eaa..36674dfbe9f5 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtScope.json @@ -134,4 +134,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json index b98100ce9408..f003b22bf640 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/PutDeploymentAtTenant.json @@ -133,4 +133,4 @@ } } } -} \ No newline at end of file +} From ad759850354ddb7b4ffea0a49b70243fd9ec5a42 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 7 Aug 2019 15:15:03 +0800 Subject: [PATCH 484/495] fixed next link in backup (#6805) --- .../preview/2018-09-01/examples/Backups/List.json | 2 +- .../preview/2018-09-01/examples/Operations/List.json | 2 +- .../stable/2016-05-01/examples/Backups/List.json | 2 +- .../stable/2016-05-01/examples/Operations/List.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/List.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/List.json index 0a441159be92..f92bb28761cb 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/List.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/List.json @@ -83,7 +83,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Operations/List.json index 48addd8bd33e..6d38e835b558 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Operations/List.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Operations/List.json @@ -45,7 +45,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Backups/List.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Backups/List.json index c39b71a95c0c..e9a6530d6d79 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Backups/List.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Backups/List.json @@ -79,7 +79,7 @@ } } ], - "nextLink": "" + "nextLink": null } }, "404": {} diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Operations/List.json index 4abbdbfa2373..9a6f651b6097 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Operations/List.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/stable/2016-05-01/examples/Operations/List.json @@ -8,7 +8,7 @@ "200": { "body": { "value": [], - "nextLink": "" + "nextLink": null } } } From 725048bd368a224eb01c40df2805f1bd9db906c8 Mon Sep 17 00:00:00 2001 From: Alfredo Santamaria Date: Wed, 7 Aug 2019 11:18:30 -0700 Subject: [PATCH 485/495] Moving sfrp release 2019-03-01 to stable (#6613) * moving release 2019-03-01 to stable * remove examples_new folder and fix examples * remove location and tags from proxyResource * Revert "remove location and tags from proxyResource" This reverts commit b1a5bbf475639da8e8bf4783ba33a4af17caa08c. * change location description in ProxyResource to dcument as deprecated * rename put operations to *_CreateOrUpdate * fix 2018-02 namespace in ruby.md * removing package-2018-02 from ruby (nto being used and its failing to generate sdk) --- .../stable/2019-03-01/application.json | 2199 +++++++++++++++++ .../stable/2019-03-01/cluster.json | 1534 ++++++++++++ .../ApplicationDeleteOperation_example.json | 18 + .../ApplicationGetOperation_example.json | 62 + .../ApplicationListOperation_example.json | 40 + .../ApplicationPatchOperation_example.json | 55 + .../ApplicationPutOperation_example_max.json | 108 + .../ApplicationPutOperation_example_min.json | 40 + ...cationTypeNameDeleteOperation_example.json | 18 + ...plicationTypeNameGetOperation_example.json | 25 + ...licationTypeNameListOperation_example.json | 29 + ...plicationTypeNamePutOperation_example.json | 29 + ...ionTypeVersionDeleteOperation_example.json | 19 + ...cationTypeVersionGetOperation_example.json | 28 + ...ationTypeVersionListOperation_example.json | 32 + ...cationTypeVersionPutOperation_example.json | 38 + .../ClusterDeleteOperation_example.json | 14 + .../examples/ClusterGetOperation_example.json | 159 ++ ...rListByResourceGroupOperation_example.json | 248 ++ .../ClusterListOperation_example.json | 247 ++ .../ClusterPatchOperation_example.json | 284 +++ .../ClusterPutOperation_example_max.json | 448 ++++ .../ClusterPutOperation_example_min.json | 223 ++ ...usterVersionsGetByEnvironment_example.json | 28 + .../examples/ClusterVersionsGet_example.json | 27 + .../ClusterVersionsListByEnvironment.json | 27 + .../examples/ClusterVersionsList_example.json | 36 + .../ServiceDeleteOperation_example.json | 19 + .../examples/ServiceGetOperation_example.json | 42 + .../ServiceListOperation_example.json | 43 + .../ServicePatchOperation_example.json | 55 + .../ServicePutOperation_example_max.json | 73 + .../ServicePutOperation_example_min.json | 47 + .../resource-manager/readme.go.md | 12 +- .../servicefabric/resource-manager/readme.md | 10 + .../resource-manager/readme.ruby.md | 12 +- 36 files changed, 6321 insertions(+), 7 deletions(-) create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/application.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationDeleteOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationGetOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationListOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPatchOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_max.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_min.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameDeleteOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameGetOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameListOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNamePutOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionDeleteOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionGetOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionListOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionPutOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterDeleteOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterGetOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListByResourceGroupOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPatchOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_max.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_min.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGetByEnvironment_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGet_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsListByEnvironment.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsList_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceDeleteOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceGetOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceListOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePatchOperation_example.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_max.json create mode 100644 specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_min.json diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/application.json new file mode 100644 index 000000000000..a58bee521d0b --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/application.json @@ -0,0 +1,2199 @@ +{ + "swagger": "2.0", + "info": { + "title": "ServiceFabricManagementClient", + "description": "Azure Service Fabric Resource Provider API Client", + "version": "2019-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/providers/Microsoft.ServiceFabric/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Lists all of the available Service Fabric resource provider API operations.", + "description": "Get the list of available Service Fabric resource provider API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "description": "The version of the Service Fabric resource provider API", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}": { + "get": { + "tags": [ + "ApplicationType" + ], + "operationId": "ApplicationTypes_Get", + "summary": "Gets a Service Fabric application type name resource.", + "description": "Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get an application type": { + "$ref": "./examples/ApplicationTypeNameGetOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "put": { + "tags": [ + "ApplicationType" + ], + "operationId": "ApplicationTypes_CreateOrUpdate", + "summary": "Creates or updates a Service Fabric application type name resource.", + "description": "Create or update a Service Fabric application type name resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type name resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Put an application type": { + "$ref": "./examples/ApplicationTypeNamePutOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "delete": { + "tags": [ + "ApplicationType" + ], + "operationId": "ApplicationTypes_Delete", + "summary": "Deletes a Service Fabric application type name resource.", + "description": "Delete a Service Fabric application type name resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Delete an application type": { + "$ref": "./examples/ApplicationTypeNameDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously." + }, + "204": { + "description": "The resource was not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes": { + "get": { + "tags": [ + "ApplicationType" + ], + "operationId": "ApplicationTypes_List", + "summary": "Gets the list of application type name resources created in the specified Service Fabric cluster resource.", + "description": "Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get a list of application type name resources": { + "$ref": "./examples/ApplicationTypeNameListOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResourceList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}": { + "get": { + "tags": [ + "ApplicationTypeVersion" + ], + "operationId": "ApplicationTypeVersions_Get", + "summary": "Gets a Service Fabric application type version resource.", + "description": "Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/version" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get an application type version": { + "$ref": "./examples/ApplicationTypeVersionGetOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "put": { + "tags": [ + "ApplicationTypeVersion" + ], + "operationId": "ApplicationTypeVersions_CreateOrUpdate", + "summary": "Creates or updates a Service Fabric application type version resource.", + "description": "Create or update a Service Fabric application type version resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/version" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type version resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Put an application type version": { + "$ref": "./examples/ApplicationTypeVersionPutOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "delete": { + "tags": [ + "ApplicationTypeVersion" + ], + "operationId": "ApplicationTypeVersions_Delete", + "summary": "Deletes a Service Fabric application type version resource.", + "description": "Delete a Service Fabric application type version resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/version" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Delete an application type version": { + "$ref": "./examples/ApplicationTypeVersionDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously." + }, + "204": { + "description": "The resource was not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions": { + "get": { + "tags": [ + "ApplicationTypeVersion" + ], + "operationId": "ApplicationTypeVersions_List", + "summary": "Gets the list of application type version resources created in the specified Service Fabric application type name resource.", + "description": "Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationTypeName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get a list of application type version resources": { + "$ref": "./examples/ApplicationTypeVersionListOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResourceList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_Get", + "summary": "Gets a Service Fabric application resource.", + "description": "Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get an application": { + "$ref": "./examples/ApplicationGetOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "put": { + "tags": [ + "Application" + ], + "operationId": "Applications_CreateOrUpdate", + "summary": "Creates or updates a Service Fabric application resource.", + "description": "Create or update a Service Fabric application resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The application resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Put an application with minimum parameters": { + "$ref": "./examples/ApplicationPutOperation_example_min.json" + }, + "Put an application with maximum parameters": { + "$ref": "./examples/ApplicationPutOperation_example_max.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "patch": { + "tags": [ + "Application" + ], + "operationId": "Applications_Update", + "summary": "Updates a Service Fabric application resource.", + "description": "Update a Service Fabric application resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The application resource for patch operations.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationResourceUpdate" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Patch an application": { + "$ref": "./examples/ApplicationPatchOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "delete": { + "tags": [ + "Application" + ], + "operationId": "Applications_Delete", + "summary": "Deletes a Service Fabric application resource.", + "description": "Delete a Service Fabric application resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Delete an application": { + "$ref": "./examples/ApplicationDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously." + }, + "204": { + "description": "The resource was not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications": { + "get": { + "tags": [ + "Application" + ], + "operationId": "Applications_List", + "summary": "Gets the list of application resources created in the specified Service Fabric cluster resource.", + "description": "Gets all application resources created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get a list of application resources": { + "$ref": "./examples/ApplicationListOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResourceList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}": { + "get": { + "tags": [ + "Service" + ], + "operationId": "Services_Get", + "summary": "Gets a Service Fabric service resource.", + "description": "Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/serviceName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get a service": { + "$ref": "./examples/ServiceGetOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "put": { + "tags": [ + "Service" + ], + "operationId": "Services_CreateOrUpdate", + "summary": "Creates or updates a Service Fabric service resource.", + "description": "Create or update a Service Fabric service resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/serviceName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The service resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceResource" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Put a service with minimum parameters": { + "$ref": "./examples/ServicePutOperation_example_min.json" + }, + "Put a service with maximum parameters": { + "$ref": "./examples/ServicePutOperation_example_max.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "patch": { + "tags": [ + "Service" + ], + "operationId": "Services_Update", + "summary": "Updates a Service Fabric service resource.", + "description": "Update a Service Fabric service resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/serviceName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "in": "body", + "description": "The service resource for patch operations.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceResourceUpdate" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Patch a service": { + "$ref": "./examples/ServicePatchOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "delete": { + "tags": [ + "Service" + ], + "operationId": "Services_Delete", + "summary": "Deletes a Service Fabric service resource.", + "description": "Delete a Service Fabric service resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/serviceName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Delete a service": { + "$ref": "./examples/ServiceDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The request was accepted and the operation will complete asynchronously." + }, + "204": { + "description": "The resource was not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services": { + "get": { + "tags": [ + "Service" + ], + "operationId": "Services_List", + "summary": "Gets the list of service resources created in the specified Service Fabric application resource.", + "description": "Gets all service resources created or in the process of being created in the Service Fabric application resource.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "x-ms-examples": { + "Get a list of service resources": { + "$ref": "./examples/ServiceListOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceResourceList" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + } + }, + "definitions": { + "ApplicationMetricDescription": { + "type": "object", + "description": "Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.\n", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric." + }, + "maximumCapacity": { + "type": "integer", + "format": "int64", + "description": "The maximum node capacity for Service Fabric application.\nThis is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.\nIf set to zero, capacity for this metric is unlimited on each node.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\nWhen updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\n" + }, + "reservationCapacity": { + "type": "integer", + "format": "int64", + "description": "The node reservation capacity for Service Fabric application.\nThis is the amount of load which is reserved on nodes which have instances of this application.\nIf MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.\nIf set to zero, no capacity is reserved for this metric.\nWhen setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.\n" + }, + "totalApplicationCapacity": { + "description": "The total metric capacity for Service Fabric application.\nThis is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.\n", + "type": "integer", + "format": "int64" + } + } + }, + "ApplicationMetricDescriptionList": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationMetricDescription" + }, + "description": "List of application capacity metric description." + }, + "ApplicationParameterList": { + "type": "object", + "description": "List of application parameters with overridden values from their default values specified in the application manifest.", + "additionalProperties": { + "type": "string" + } + }, + "ApplicationResource": { + "description": "The application resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationResourceProperties", + "description": "The application resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ApplicationResourceList": { + "description": "The list of application resources.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of application list results if there are any.", + "readOnly": true + } + } + }, + "ApplicationResourceProperties": { + "description": "The application resource properties.", + "allOf": [ + { + "$ref": "#/definitions/ApplicationResourceUpdateProperties" + } + ], + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response" + }, + "typeName": { + "$ref": "#/definitions/ApplicationTypeName", + "description": "The application type name as defined in the application manifest." + } + } + }, + "ApplicationResourceUpdate": { + "description": "The application resource for patch operations.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationResourceUpdateProperties", + "description": "The application resource properties for patch operations." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ApplicationResourceUpdateProperties": { + "description": "The application resource properties for patch operations.", + "properties": { + "typeVersion": { + "$ref": "#/definitions/ApplicationTypeVersion", + "description": "The version of the application type as defined in the application manifest." + }, + "parameters": { + "$ref": "#/definitions/ApplicationParameterList", + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "upgradePolicy": { + "$ref": "#/definitions/ApplicationUpgradePolicy", + "description": "Describes the policy for a monitored application upgrade." + }, + "minimumNodes": { + "type": "integer", + "format": "int64", + "description": "The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.", + "minimum": 0 + }, + "maximumNodes": { + "type": "integer", + "format": "int64", + "description": "The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.", + "minimum": 0, + "default": 0 + }, + "removeApplicationCapacity": { + "type": "boolean", + "description": "Remove the current application capacity settings." + }, + "metrics": { + "$ref": "#/definitions/ApplicationMetricDescriptionList", + "description": "List of application capacity metric description." + } + } + }, + "ApplicationTypeName": { + "type": "string", + "description": "The application type name as defined in the application manifest." + }, + "ApplicationTypeParameterList": { + "type": "object", + "description": "List of application type parameters that can be overridden when creating or updating the application.", + "additionalProperties": { + "type": "string" + } + }, + "ApplicationTypeResource": { + "description": "The application type name resource", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationTypeResourceProperties", + "description": "The application type name properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ApplicationTypeResourceList": { + "description": "The list of application type names.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of application type list results if there are any.", + "readOnly": true + } + } + }, + "ApplicationTypeResourceProperties": { + "description": "The application type name properties", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response." + } + } + }, + "ApplicationTypeVersion": { + "type": "string", + "description": "The version of the application type as defined in the application manifest." + }, + "ApplicationTypeVersionResource": { + "description": "An application type version resource for the specified application type name resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties", + "description": "The properties of the application type version resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ApplicationTypeVersionResourceList": { + "description": "The list of application type version resources for the specified application type name resource.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of application type version list results if there are any.", + "readOnly": true + } + } + }, + "ApplicationTypeVersionResourceProperties": { + "description": "The properties of the application type version resource.", + "required": [ + "appPackageUrl" + ], + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response" + }, + "appPackageUrl": { + "type": "string", + "description": "The URL to the application package" + }, + "defaultParameterList": { + "readOnly": true, + "$ref": "#/definitions/ApplicationTypeParameterList", + "description": "List of application type parameters that can be overridden when creating or updating the application." + } + } + }, + "ApplicationUpgradePolicy": { + "description": "Describes the policy for a monitored application upgrade.", + "properties": { + "upgradeReplicaSetCheckTimeout": { + "type": "string", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "forceRestart": { + "$ref": "#/definitions/ForceRestart", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "rollingUpgradeMonitoringPolicy": { + "$ref": "#/definitions/ArmRollingUpgradeMonitoringPolicy", + "description": "The policy used for monitoring the application upgrade" + }, + "applicationHealthPolicy": { + "$ref": "#/definitions/ArmApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + } + } + }, + "ArmApplicationHealthPolicy": { + "type": "object", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n", + "properties": { + "considerWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors.", + "default": false + }, + "maxPercentUnhealthyDeployedApplications": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n", + "default": 0 + }, + "defaultServiceTypeHealthPolicy": { + "$ref": "#/definitions/ArmServiceTypeHealthPolicy", + "description": "The health policy used by default to evaluate the health of a service type." + }, + "serviceTypeHealthPolicyMap": { + "$ref": "#/definitions/ArmServiceTypeHealthPolicyMap", + "description": "The map with service type health policy per service type name. The map is empty by default." + } + } + }, + "ArmRollingUpgradeMonitoringPolicy": { + "description": "The policy used for monitoring the application upgrade", + "properties": { + "failureAction": { + "type": "string", + "description": "The activation Mode of the service package", + "enum": [ + "Rollback", + "Manual" + ], + "x-ms-enum": { + "name": "ArmUpgradeFailureAction", + "modelAsString": true, + "values": [ + { + "value": "Rollback", + "description": "Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails." + }, + { + "value": "Manual", + "description": "Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically." + } + ] + } + }, + "healthCheckWaitDuration": { + "$ref": "#/definitions/HealthCheckWaitDuration", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckStableDuration": { + "$ref": "#/definitions/HealthCheckStableDuration", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckRetryTimeout": { + "$ref": "#/definitions/HealthCheckRetryTimeout", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeTimeout": { + "$ref": "#/definitions/UpgradeTimeout", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeDomainTimeout": { + "$ref": "#/definitions/UpgradeDomainTimeout", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + } + } + }, + "ArmServiceTypeHealthPolicy": { + "type": "object", + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n", + "properties": { + "maxPercentUnhealthyServices": { + "type": "integer", + "description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyPartitionsPerService": { + "type": "integer", + "description": "The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyReplicasPerPartition": { + "type": "integer", + "description": "The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + } + } + }, + "ArmServiceTypeHealthPolicyMap": { + "type": "object", + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type.\nFor example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently.\nWith policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.\n", + "additionalProperties": { + "$ref": "#/definitions/ArmServiceTypeHealthPolicy" + } + }, + "AvailableOperationDisplay": { + "properties": { + "provider": { + "type": "string", + "description": "The name of the provider." + }, + "resource": { + "type": "string", + "description": "The resource on which the operation is performed" + }, + "operation": { + "type": "string", + "description": "The operation that can be performed." + }, + "description": { + "type": "string", + "description": "Operation description" + } + }, + "description": "Operation supported by the Service Fabric resource provider" + }, + "CorrelationSchemeList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceCorrelationDescription" + }, + "description": "A list that describes the correlation of the service with other services." + }, + "ForceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).", + "default": false + }, + "HealthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H10M0S" + }, + "HealthCheckStableDuration": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "PT0H2M0S" + }, + "HealthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "0" + }, + "MoveCost": { + "type": "string", + "description": "Specifies the move cost for the service.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "MoveCost", + "modelAsString": true, + "values": [ + { + "value": "Zero", + "description": "Zero move cost. This value is zero." + }, + { + "value": "Low", + "description": "Specifies the move cost of the service as Low. The value is 1." + }, + { + "value": "Medium", + "description": "Specifies the move cost of the service as Medium. The value is 2." + }, + { + "value": "High", + "description": "Specifies the move cost of the service as High. The value is 3." + } + ] + } + }, + "NamedPartitionSchemeDescription": { + "description": "Describes the named partition scheme of the service.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + }, + { + "type": "object", + "description": "NamedPartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "Named", + "required": [ + "Count", + "Names" + ], + "properties": { + "Count": { + "type": "integer", + "description": "The number of partitions." + }, + "Names": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of size specified by the ‘Count’ parameter, for the names of the partitions." + } + } + }, + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "description": "List of operations supported by the Service Fabric resource provider.", + "items": { + "$ref": "#/definitions/OperationResult" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any.", + "readOnly": true + } + }, + "description": "Describes the result of the request to list Service Fabric resource provider operations." + }, + "OperationResult": { + "properties": { + "name": { + "type": "string", + "description": "The name of the operation." + }, + "display": { + "$ref": "#/definitions/AvailableOperationDisplay", + "description": "The object that represents the operation." + }, + "origin": { + "type": "string", + "description": "Origin result" + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "Available operation list result" + }, + "PartitionScheme": { + "type": "string", + "description": "Enumerates the ways that a service can be partitioned.", + "enum": [ + "Invalid", + "Singleton", + "UniformInt64Range", + "Named" + ], + "x-ms-enum": { + "name": "PartitionScheme", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Singleton", + "description": "Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1." + }, + { + "value": "UniformInt64Range", + "description": "Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2." + }, + { + "value": "Named", + "description": "Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3" + } + ] + } + }, + "PartitionSchemeDescription": { + "type": "object", + "discriminator": "partitionScheme", + "description": "Describes how the service is partitioned.", + "required": [ + "partitionScheme" + ], + "properties": { + "partitionScheme": { + "$ref": "#/definitions/PartitionScheme", + "description": "Specifies how the service is partitioned." + } + } + }, + "ProxyResource": { + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Azure resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Azure resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Azure resource tags.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "etag": { + "type": "string", + "description": "Azure resource etag.", + "readOnly": true + } + }, + "description": "The resource model definition for proxy-only resource.", + "x-ms-azure-resource": true + }, + "ServiceCorrelationDescription": { + "type": "object", + "description": "Creates a particular correlation between services.", + "required": [ + "scheme", + "serviceName" + ], + "properties": { + "scheme": { + "$ref": "#/definitions/ServiceCorrelationScheme", + "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName." + }, + "serviceName": { + "$ref": "#/definitions/ServiceName", + "description": "The name of the service that the correlation relationship is established with." + } + } + }, + "ServiceCorrelationScheme": { + "type": "string", + "description": "The service correlation scheme.", + "enum": [ + "Invalid", + "Affinity", + "AlignedAffinity", + "NonAlignedAffinity" + ], + "x-ms-enum": { + "name": "ServiceCorrelationScheme", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "An invalid correlation scheme. Cannot be used. The value is zero." + }, + { + "value": "Affinity", + "description": "Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1." + }, + { + "value": "AlignedAffinity", + "description": "Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2." + }, + { + "value": "NonAlignedAffinity", + "description": "Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3." + } + ] + } + }, + "ServiceKind": { + "type": "string", + "description": "The kind of service (Stateless or Stateful).", + "enum": [ + "Invalid", + "Stateless", + "Stateful" + ], + "x-ms-enum": { + "name": "ServiceKind", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "Stateless", + "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 1." + }, + { + "value": "Stateful", + "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2." + } + ] + } + }, + "ServiceLoadMetricDescription": { + "type": "object", + "description": "Specifies a metric to load balance a service during runtime.", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive." + }, + "weight": { + "$ref": "#/definitions/ServiceLoadMetricWeight", + "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number." + }, + "primaryDefaultLoad": { + "type": "integer", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica." + }, + "secondaryDefaultLoad": { + "type": "integer", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica." + }, + "defaultLoad": { + "type": "integer", + "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." + } + } + }, + "ServiceLoadMetricsList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetricDescription" + }, + "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects." + }, + "ServiceLoadMetricWeight": { + "type": "string", + "description": "Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "ServiceLoadMetricWeight", + "modelAsString": true, + "values": [ + { + "value": "Zero", + "description": "Disables resource balancing for this metric. This value is zero." + }, + { + "value": "Low", + "description": "Specifies the metric weight of the service load as Low. The value is 1." + }, + { + "value": "Medium", + "description": "Specifies the metric weight of the service load as Medium. The value is 2." + }, + { + "value": "High", + "description": "Specifies the metric weight of the service load as High. The value is 3." + } + ] + } + }, + "ServiceName": { + "type": "string", + "description": "The full name of the service with 'fabric:' URI scheme." + }, + "ServicePlacementPoliciesList": { + "type": "array", + "items": { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + }, + "description": "A list that describes the correlation of the service with other services." + }, + "ServicePlacementPolicyDescription": { + "type": "object", + "discriminator": "Type", + "description": "Describes the policy to be used for placement of a Service Fabric service.", + "required": [ + "Type" + ], + "properties": { + "Type": { + "$ref": "#/definitions/ServicePlacementPolicyType", + "description": "The type of placement policy for a service fabric service. Following are the possible values." + } + } + }, + "ServicePlacementPolicyType": { + "type": "string", + "description": "The type of placement policy for a service fabric service. Following are the possible values.", + "enum": [ + "Invalid", + "InvalidDomain", + "RequiredDomain", + "PreferredPrimaryDomain", + "RequiredDomainDistribution", + "NonPartiallyPlaceService" + ], + "x-ms-enum": { + "name": "ServicePlacementPolicyType", + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Indicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero." + }, + { + "value": "InvalidDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1." + }, + { + "value": "RequiredDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2." + }, + { + "value": "PreferredPrimaryDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3." + }, + { + "value": "RequiredDomainDistribution", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4." + }, + { + "value": "NonPartiallyPlaceService", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5." + } + ] + } + }, + "ServiceResource": { + "description": "The service resource.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceResourceProperties", + "description": "The service resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ServiceResourceList": { + "description": "The list of service resources.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceResource" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of service list results if there are any.", + "readOnly": true + } + } + }, + "ServiceResourceProperties": { + "description": "The service resource properties.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourcePropertiesBase" + } + ], + "required": [ + "serviceKind" + ], + "discriminator": "serviceKind", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response" + }, + "serviceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "serviceTypeName": { + "type": "string", + "description": "The name of the service type" + }, + "partitionDescription": { + "$ref": "#/definitions/PartitionSchemeDescription", + "description": "Describes how the service is partitioned." + }, + "servicePackageActivationMode": { + "type": "string", + "description": "The activation Mode of the service package", + "enum": [ + "SharedProcess", + "ExclusiveProcess" + ], + "x-ms-enum": { + "name": "ArmServicePackageActivationMode", + "modelAsString": true, + "values": [ + { + "value": "SharedProcess", + "description": "Indicates the application package activation mode will use shared process." + }, + { + "value": "ExclusiveProcess", + "description": "Indicates the application package activation mode will use exclusive process." + } + ] + } + } + } + }, + "ServiceResourcePropertiesBase": { + "description": "The common service resource properties.", + "properties": { + "placementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "correlationScheme": { + "$ref": "#/definitions/CorrelationSchemeList", + "description": "A list that describes the correlation of the service with other services." + }, + "serviceLoadMetrics": { + "$ref": "#/definitions/ServiceLoadMetricsList", + "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects." + }, + "servicePlacementPolicies": { + "$ref": "#/definitions/ServicePlacementPoliciesList", + "description": "A list that describes the correlation of the service with other services." + }, + "defaultMoveCost": { + "$ref": "#/definitions/MoveCost", + "description": "Specifies the move cost for the service." + } + } + }, + "ServiceResourceUpdate": { + "description": "The service resource for patch operations.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceResourceUpdateProperties", + "description": "The service resource properties for patch operations." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ServiceResourceUpdateProperties": { + "description": "The service resource properties for patch operations.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourcePropertiesBase" + } + ], + "required": [ + "serviceKind" + ], + "discriminator": "serviceKind", + "properties": { + "serviceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + } + } + }, + "SingletonPartitionSchemeDescription": { + "description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + }, + { + "type": "object", + "description": "SingletonPartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "Singleton" + }, + "StatefulServiceProperties": { + "description": "The properties of a stateful service resource.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + } + ], + "x-ms-discriminator-value": "Stateful", + "properties": { + "hasPersistedState": { + "type": "boolean", + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + }, + "targetReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The target replica set size as a number." + }, + "minReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The minimum replica set size as a number." + }, + "replicaRestartWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "quorumLossWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "standByReplicaKeepDuration": { + "type": "string", + "format": "date-time", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s)." + } + } + }, + "StatefulServiceUpdateProperties": { + "description": "The properties of a stateful service resource for patch operations.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceUpdateProperties" + } + ], + "x-ms-discriminator-value": "Stateful", + "properties": { + "targetReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The target replica set size as a number." + }, + "minReplicaSetSize": { + "type": "integer", + "minimum": 1, + "description": "The minimum replica set size as a number." + }, + "replicaRestartWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "quorumLossWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "standByReplicaKeepDuration": { + "type": "string", + "format": "date-time", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s)." + } + } + }, + "StatelessServiceProperties": { + "description": "The properties of a stateless service resource.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + } + ], + "x-ms-discriminator-value": "Stateless", + "properties": { + "instanceCount": { + "type": "integer", + "minimum": -1, + "description": "The instance count." + } + } + }, + "StatelessServiceUpdateProperties": { + "description": "The properties of a stateless service resource for patch operations.", + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceUpdateProperties" + } + ], + "x-ms-discriminator-value": "Stateless", + "properties": { + "instanceCount": { + "type": "integer", + "minimum": -1, + "description": "The instance count." + } + } + }, + "UniformInt64RangePartitionSchemeDescription": { + "description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.", + "allOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + }, + { + "type": "object", + "description": "UniformInt64RangePartitionSchemeDescription" + } + ], + "x-ms-discriminator-value": "UniformInt64Range", + "required": [ + "Count", + "LowKey", + "HighKey" + ], + "properties": { + "Count": { + "type": "integer", + "description": "The number of partitions." + }, + "LowKey": { + "type": "string", + "description": "String indicating the lower bound of the partition key range that\nshould be split between the partition ‘Count’\n" + }, + "HighKey": { + "type": "string", + "description": "String indicating the upper bound of the partition key range that\nshould be split between the partition ‘Count’\n" + } + } + }, + "UpgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "P10675199DT02H48M05.4775807S" + }, + "UpgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.", + "default": "P10675199DT02H48M05.4775807S" + }, + "ErrorModel": { + "properties": { + "error": { + "$ref": "#/definitions/ErrorModelError", + "description": "The error details." + } + }, + "description": "The structure of the error." + }, + "ErrorModelError": { + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "The error details." + } + }, + "parameters": { + "api-version": { + "name": "api-version", + "in": "query", + "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2019-03-01\" for this specification.", + "required": true, + "type": "string", + "enum": [ + "2019-03-01" + ], + "default": "2019-03-01", + "x-ms-parameter-location": "client" + }, + "applicationName": { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "applicationTypeName": { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "clusterNameParameter": { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "serviceName": { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The customer subscription identifier.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "version": { + "name": "version", + "in": "path", + "description": "The application type version.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json new file mode 100644 index 000000000000..b497afbcf62a --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json @@ -0,0 +1,1534 @@ +{ + "swagger": "2.0", + "info": { + "title": "ServiceFabricManagementClient", + "description": "Azure Service Fabric Resource Provider API Client", + "version": "2019-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}": { + "get": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_Get", + "summary": "Gets a Service Fabric cluster resource.", + "description": "Get a Service Fabric cluster resource created or in the process of being created in the specified resource group.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "x-ms-examples": { + "Get a cluster": { + "$ref": "./examples/ClusterGetOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "put": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_CreateOrUpdate", + "summary": "Creates or updates a Service Fabric cluster resource.", + "description": "Create or update a Service Fabric cluster resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "parameters", + "in": "body", + "description": "The cluster resource.", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-examples": { + "Put a cluster with minimum parameters": { + "$ref": "./examples/ClusterPutOperation_example_min.json" + }, + "Put a cluster with maximum parameters": { + "$ref": "./examples/ClusterPutOperation_example_max.json" + } + }, + "x-ms-long-running-operation": true, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "patch": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_Update", + "summary": "Updates the configuration of a Service Fabric cluster resource.", + "description": "Update the configuration of a Service Fabric cluster resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters which contains the property value and property name which used to update the cluster configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "x-ms-parameter-location": "method" + } + ], + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Patch a cluster": { + "$ref": "./examples/ClusterPatchOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "The request was accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + }, + "delete": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_Delete", + "summary": "Deletes a Service Fabric cluster resource.", + "description": "Delete a Service Fabric cluster resource with the specified name.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "x-ms-examples": { + "Delete a cluster": { + "$ref": "./examples/ClusterDeleteOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully." + }, + "204": { + "description": "The resource was not found." + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters": { + "get": { + "operationId": "Clusters_ListByResourceGroup", + "summary": "Gets the list of Service Fabric cluster resources created in the specified resource group.", + "description": "Gets all Service Fabric cluster resources created or in the process of being created in the resource group.", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "tags": [ + "Cluster" + ], + "x-ms-examples": { + "List cluster by resource group": { + "$ref": "./examples/ClusterListByResourceGroupOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters": { + "get": { + "operationId": "Clusters_List", + "summary": "Gets the list of Service Fabric cluster resources created in the specified subscription.", + "description": "Gets all Service Fabric cluster resources created or in the process of being created in the subscription.", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "tags": [ + "Cluster" + ], + "x-ms-examples": { + "List clusters": { + "$ref": "./examples/ClusterListOperation_example.json" + } + }, + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + }, + "default": { + "description": "The detailed error response.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}": { + "get": { + "operationId": "ClusterVersions_Get", + "summary": "Gets information about a Service Fabric cluster code version available in the specified location.", + "description": "Gets information about an available Service Fabric cluster code version.", + "parameters": [ + { + "$ref": "#/parameters/locationForClusterCodeVersions" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/clusterVersion" + } + ], + "x-ms-examples": { + "Get cluster version": { + "$ref": "./examples/ClusterVersionsGet_example.json" + } + }, + "tags": [ + "ClusterVersion" + ], + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterCodeVersionsListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}": { + "get": { + "operationId": "ClusterVersions_GetByEnvironment", + "summary": "Gets information about a Service Fabric cluster code version available for the specified environment.", + "description": "Gets information about an available Service Fabric cluster code version by environment.", + "parameters": [ + { + "$ref": "#/parameters/locationForClusterCodeVersions" + }, + { + "$ref": "#/parameters/environment" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/clusterVersion" + } + ], + "x-ms-examples": { + "Get cluster version by environment": { + "$ref": "./examples/ClusterVersionsGetByEnvironment_example.json" + } + }, + "tags": [ + "ClusterVersion" + ], + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterCodeVersionsListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions": { + "get": { + "operationId": "ClusterVersions_List", + "summary": "Gets the list of Service Fabric cluster code versions available for the specified location.", + "description": "Gets all available code versions for Service Fabric cluster resources by location.", + "parameters": [ + { + "$ref": "#/parameters/locationForClusterCodeVersions" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "x-ms-examples": { + "List cluster versions": { + "$ref": "./examples/ClusterVersionsList_example.json" + } + }, + "tags": [ + "ClusterVersion" + ], + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterCodeVersionsListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions": { + "get": { + "operationId": "ClusterVersions_ListByEnvironment", + "summary": "Gets the list of Service Fabric cluster code versions available for the specified environment.", + "description": "Gets all available code versions for Service Fabric cluster resources by environment.", + "parameters": [ + { + "$ref": "#/parameters/locationForClusterCodeVersions" + }, + { + "$ref": "#/parameters/environment" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "x-ms-examples": { + "List cluster versions by environment": { + "$ref": "./examples/ClusterVersionsListByEnvironment.json" + } + }, + "tags": [ + "ClusterVersion" + ], + "responses": { + "200": { + "description": "The operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterCodeVersionsListResult" + } + } + } + } + }, + "/providers/Microsoft.ServiceFabric/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Lists all of the available Service Fabric resource provider API operations.", + "description": "Get the list of available Service Fabric resource provider API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "description": "The version of the Service Fabric resource provider API", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorModel" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AddOnFeatures": { + "type": "string", + "description": "Available cluster add-on features", + "enum": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + }, + "ApplicationDeltaHealthPolicy": { + "type": "object", + "description": "Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.\n", + "properties": { + "defaultServiceTypeDeltaHealthPolicy": { + "$ref": "#/definitions/ServiceTypeDeltaHealthPolicy", + "description": "The delta health policy used by default to evaluate the health of a service type when upgrading the cluster." + }, + "serviceTypeDeltaHealthPolicies": { + "$ref": "#/definitions/ServiceTypeDeltaHealthPolicyMap", + "description": "The map with service type delta health policy per service type name. The map is empty by default." + } + } + }, + "ApplicationDeltaHealthPolicyMap": { + "type": "object", + "description": "Defines a map that contains specific application delta health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationDeltaHealthPolicy used to evaluate the application health when upgrading the cluster.\nThe application name should include the 'fabric:' URI scheme.\nThe map is empty by default.\n", + "additionalProperties": { + "$ref": "#/definitions/ApplicationDeltaHealthPolicy" + } + }, + "ApplicationHealthPolicy": { + "type": "object", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n", + "properties": { + "defaultServiceTypeHealthPolicy": { + "$ref": "#/definitions/ServiceTypeHealthPolicy", + "description": "The health policy used by default to evaluate the health of a service type." + }, + "serviceTypeHealthPolicies": { + "$ref": "#/definitions/ServiceTypeHealthPolicyMap", + "description": "The map with service type health policy per service type name. The map is empty by default." + } + } + }, + "ApplicationHealthPolicyMap": { + "type": "object", + "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nThe application name should include the 'fabric:' URI scheme.\nThe map is empty by default.\n", + "additionalProperties": { + "$ref": "#/definitions/ApplicationHealthPolicy" + } + }, + "AvailableOperationDisplay": { + "properties": { + "provider": { + "type": "string", + "description": "The name of the provider." + }, + "resource": { + "type": "string", + "description": "The resource on which the operation is performed" + }, + "operation": { + "type": "string", + "description": "The operation that can be performed." + }, + "description": { + "type": "string", + "description": "Operation description" + } + }, + "description": "Operation supported by the Service Fabric resource provider" + }, + "AzureActiveDirectory": { + "properties": { + "tenantId": { + "type": "string", + "description": "Azure active directory tenant id." + }, + "clusterApplication": { + "type": "string", + "description": "Azure active directory cluster application id." + }, + "clientApplication": { + "type": "string", + "description": "Azure active directory client application id." + } + }, + "description": "The settings to enable AAD authentication on the cluster." + }, + "CertificateDescription": { + "required": [ + "thumbprint" + ], + "properties": { + "thumbprint": { + "type": "string", + "description": "Thumbprint of the primary certificate." + }, + "thumbprintSecondary": { + "type": "string", + "description": "Thumbprint of the secondary certificate." + }, + "x509StoreName": { + "$ref": "#/definitions/StoreName", + "description": "The local certificate store location." + } + }, + "description": "Describes the certificate details." + }, + "ClientCertificateCommonName": { + "required": [ + "certificateCommonName", + "isAdmin", + "certificateIssuerThumbprint" + ], + "properties": { + "isAdmin": { + "type": "boolean", + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + }, + "certificateCommonName": { + "type": "string", + "description": "The common name of the client certificate." + }, + "certificateIssuerThumbprint": { + "type": "string", + "description": "The issuer thumbprint of the client certificate." + } + }, + "description": "Describes the client certificate details using common name." + }, + "ClientCertificateThumbprint": { + "required": [ + "certificateThumbprint", + "isAdmin" + ], + "properties": { + "isAdmin": { + "type": "boolean", + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + }, + "certificateThumbprint": { + "type": "string", + "description": "The thumbprint of the client certificate." + } + }, + "description": "Describes the client certificate details using thumbprint." + }, + "Cluster": { + "type": "object", + "description": "The cluster resource\n", + "allOf": [ + { + "description": "The cluster resource properties" + }, + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "The cluster resource properties" + } + } + } + ] + }, + "ClusterCodeVersionsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ClusterCodeVersionsResult" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "The list results of the Service Fabric runtime versions." + }, + "ClusterCodeVersionsResult": { + "properties": { + "id": { + "type": "string", + "description": "The identification of the result" + }, + "name": { + "type": "string", + "description": "The name of the result" + }, + "type": { + "type": "string", + "description": "The result resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterVersionDetails", + "description": "The detail of the Service Fabric runtime version result" + } + }, + "description": "The result of the Service Fabric runtime versions" + }, + "ClusterEnvironment": { + "type": "string", + "description": "Cluster operating system, the default will be Windows", + "enum": [ + "Windows", + "Linux" + ] + }, + "ClusterHealthPolicy": { + "type": "object", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.\n", + "properties": { + "maxPercentUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyApplications": { + "type": "integer", + "description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + }, + "applicationHealthPolicies": { + "$ref": "#/definitions/ApplicationHealthPolicyMap", + "description": "Defines the application health policy map used to evaluate the health of an application or one of its children entities." + } + } + }, + "ClusterListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "Cluster list results" + }, + "ClusterProperties": { + "required": [ + "managementEndpoint", + "nodeTypes" + ], + "properties": { + "addOnFeatures": { + "type": "array", + "description": "The list of add-on features to enable in the cluster.", + "items": { + "$ref": "#/definitions/AddOnFeatures" + } + }, + "availableClusterVersions": { + "type": "array", + "description": "The Service Fabric runtime versions available for this cluster.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ClusterVersionDetails" + } + }, + "azureActiveDirectory": { + "$ref": "#/definitions/AzureActiveDirectory", + "description": "The AAD authentication settings of the cluster." + }, + "certificate": { + "$ref": "#/definitions/CertificateDescription", + "description": "The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client." + }, + "certificateCommonNames": { + "$ref": "#/definitions/ServerCertificateCommonNames", + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "clientCertificateCommonNames": { + "type": "array", + "description": "The list of client certificates referenced by common name that are allowed to manage the cluster.", + "items": { + "$ref": "#/definitions/ClientCertificateCommonName" + } + }, + "clientCertificateThumbprints": { + "type": "array", + "description": "The list of client certificates referenced by thumbprint that are allowed to manage the cluster.", + "items": { + "$ref": "#/definitions/ClientCertificateThumbprint" + } + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**." + }, + "clusterEndpoint": { + "type": "string", + "description": "The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint.", + "readOnly": true + }, + "clusterId": { + "type": "string", + "description": "A service generated unique identifier for the cluster resource.", + "readOnly": true + }, + "clusterState": { + "readOnly": true, + "$ref": "#/definitions/ClusterState", + "description": "The current state of the cluster.\n\n - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it.\n - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up.\n - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time.\n - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration.\n - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate.\n - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'.\n - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version.\n - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider.\n - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted.\n - Ready - Indicates that the cluster is in a stable state.\n" + }, + "diagnosticsStorageAccountConfig": { + "$ref": "#/definitions/DiagnosticsStorageAccountConfig", + "description": "The storage account information for storing Service Fabric diagnostic logs." + }, + "eventStoreServiceEnabled": { + "type": "boolean", + "description": "Indicates if the event store service is enabled." + }, + "fabricSettings": { + "type": "array", + "description": "The list of custom fabric settings to configure the cluster.", + "items": { + "$ref": "#/definitions/SettingsSectionDescription" + } + }, + "managementEndpoint": { + "type": "string", + "description": "The http management endpoint of the cluster." + }, + "nodeTypes": { + "type": "array", + "description": "The list of node types in the cluster.", + "items": { + "$ref": "#/definitions/NodeTypeDescription" + } + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the cluster resource.", + "readOnly": true, + "enum": [ + "Updating", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "reliabilityLevel": { + "$ref": "#/definitions/ReliabilityLevel", + "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n" + }, + "reverseProxyCertificate": { + "$ref": "#/definitions/CertificateDescription", + "description": "The server certificate used by reverse proxy." + }, + "reverseProxyCertificateCommonNames": { + "$ref": "#/definitions/ServerCertificateCommonNames", + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "upgradeDescription": { + "$ref": "#/definitions/ClusterUpgradePolicy", + "description": "The policy to use when upgrading the cluster." + }, + "upgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.\n\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n" + }, + "vmImage": { + "type": "string", + "description": "The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used." + } + }, + "description": "Describes the cluster resource properties." + }, + "ClusterPropertiesUpdateParameters": { + "properties": { + "addOnFeatures": { + "type": "array", + "description": "The list of add-on features to enable in the cluster.", + "items": { + "$ref": "#/definitions/AddOnFeatures" + } + }, + "certificate": { + "$ref": "#/definitions/CertificateDescription", + "description": "The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client." + }, + "certificateCommonNames": { + "$ref": "#/definitions/ServerCertificateCommonNames", + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "clientCertificateCommonNames": { + "type": "array", + "description": "The list of client certificates referenced by common name that are allowed to manage the cluster. This will overwrite the existing list.", + "items": { + "$ref": "#/definitions/ClientCertificateCommonName" + } + }, + "clientCertificateThumbprints": { + "type": "array", + "description": "The list of client certificates referenced by thumbprint that are allowed to manage the cluster. This will overwrite the existing list.", + "items": { + "$ref": "#/definitions/ClientCertificateThumbprint" + } + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**." + }, + "eventStoreServiceEnabled": { + "type": "boolean", + "description": "Indicates if the event store service is enabled." + }, + "fabricSettings": { + "type": "array", + "description": "The list of custom fabric settings to configure the cluster. This will overwrite the existing list.", + "items": { + "$ref": "#/definitions/SettingsSectionDescription" + } + }, + "nodeTypes": { + "type": "array", + "description": "The list of node types in the cluster. This will overwrite the existing list.", + "items": { + "$ref": "#/definitions/NodeTypeDescription" + } + }, + "reliabilityLevel": { + "$ref": "#/definitions/ReliabilityLevel", + "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n" + }, + "reverseProxyCertificate": { + "$ref": "#/definitions/CertificateDescription", + "description": "The server certificate used by reverse proxy." + }, + "upgradeDescription": { + "$ref": "#/definitions/ClusterUpgradePolicy", + "description": "The policy to use when upgrading the cluster." + }, + "upgradeMode": { + "$ref": "#/definitions/UpgradeMode", + "description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.\n\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n" + } + }, + "description": "Describes the cluster resource properties that can be updated during PATCH operation." + }, + "ClusterState": { + "type": "string", + "description": "The current state of the cluster.\n\n - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it.\n - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up.\n - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time.\n - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration.\n - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate.\n - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'.\n - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version.\n - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider.\n - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted.\n - Ready - Indicates that the cluster is in a stable state.\n", + "enum": [ + "WaitingForNodes", + "Deploying", + "BaselineUpgrade", + "UpdatingUserConfiguration", + "UpdatingUserCertificate", + "UpdatingInfrastructure", + "EnforcingClusterVersion", + "UpgradeServiceUnreachable", + "AutoScale", + "Ready" + ] + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterPropertiesUpdateParameters", + "description": "Describes the cluster resource properties that can be updated during PATCH operation." + }, + "tags": { + "type": "object", + "description": "Cluster update parameters", + "additionalProperties": { + "type": "string" + } + } + }, + "description": "Cluster update request" + }, + "ClusterUpgradeDeltaHealthPolicy": { + "description": "Describes the delta health policies for the cluster upgrade.", + "required": [ + "maxPercentDeltaUnhealthyApplications", + "maxPercentDeltaUnhealthyNodes", + "maxPercentUpgradeDomainDeltaUnhealthyNodes" + ], + "properties": { + "maxPercentDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.\n", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": { + "type": "integer", + "description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.\n", + "minimum": 0, + "maximum": 100 + }, + "maxPercentDeltaUnhealthyApplications": { + "type": "integer", + "description": "The maximum allowed percentage of applications health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.\n", + "minimum": 0, + "maximum": 100 + }, + "applicationDeltaHealthPolicies": { + "$ref": "#/definitions/ApplicationDeltaHealthPolicyMap", + "description": "Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster." + } + } + }, + "ClusterUpgradePolicy": { + "required": [ + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "healthPolicy", + "upgradeDomainTimeout", + "upgradeReplicaSetCheckTimeout", + "upgradeTimeout" + ], + "properties": { + "forceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "upgradeReplicaSetCheckTimeout": { + "type": "string", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckStableDuration": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "The cluster health policy used when upgrading the cluster." + }, + "deltaHealthPolicy": { + "$ref": "#/definitions/ClusterUpgradeDeltaHealthPolicy", + "description": "The cluster delta health policy used when upgrading the cluster." + } + }, + "description": "Describes the policy used when upgrading the cluster." + }, + "ClusterVersionDetails": { + "properties": { + "codeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster." + }, + "supportExpiryUtc": { + "type": "string", + "description": "The date of expiry of support of the version." + }, + "environment": { + "$ref": "#/definitions/ClusterEnvironment", + "description": "Indicates if this version is for Windows or Linux operating system." + } + }, + "description": "The detail of the Service Fabric runtime version result" + }, + "DiagnosticsStorageAccountConfig": { + "required": [ + "blobEndpoint", + "protectedAccountKeyName", + "queueEndpoint", + "storageAccountName", + "tableEndpoint" + ], + "properties": { + "storageAccountName": { + "type": "string", + "description": "The Azure storage account name." + }, + "protectedAccountKeyName": { + "type": "string", + "description": "The protected diagnostics storage key name." + }, + "blobEndpoint": { + "type": "string", + "description": "The blob endpoint of the azure storage account." + }, + "queueEndpoint": { + "type": "string", + "description": "The queue endpoint of the azure storage account." + }, + "tableEndpoint": { + "type": "string", + "description": "The table endpoint of the azure storage account." + } + }, + "description": "The storage account information for storing Service Fabric diagnostic logs." + }, + "DurabilityLevel": { + "type": "string", + "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n", + "enum": [ + "Bronze", + "Silver", + "Gold" + ] + }, + "EndpointRangeDescription": { + "required": [ + "endPort", + "startPort" + ], + "properties": { + "startPort": { + "type": "integer", + "description": "Starting port of a range of ports" + }, + "endPort": { + "type": "integer", + "description": "End port of a range of ports" + } + }, + "description": "Port range details" + }, + "NodeTypeDescription": { + "required": [ + "clientConnectionEndpointPort", + "httpGatewayEndpointPort", + "isPrimary", + "name", + "vmInstanceCount" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of the node type." + }, + "placementProperties": { + "type": "object", + "description": "The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.", + "additionalProperties": { + "type": "string", + "description": "Placement tag value" + } + }, + "capacities": { + "type": "object", + "description": "The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.", + "additionalProperties": { + "type": "string", + "description": "Capacity tag value" + } + }, + "clientConnectionEndpointPort": { + "type": "integer", + "description": "The TCP cluster management endpoint port." + }, + "httpGatewayEndpointPort": { + "type": "integer", + "description": "The HTTP cluster management endpoint port." + }, + "durabilityLevel": { + "$ref": "#/definitions/DurabilityLevel", + "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n" + }, + "applicationPorts": { + "$ref": "#/definitions/EndpointRangeDescription", + "description": "The range of ports from which cluster assigned port to Service Fabric applications." + }, + "ephemeralPorts": { + "$ref": "#/definitions/EndpointRangeDescription", + "description": "The range of ephemeral ports that nodes in this node type should be configured with." + }, + "isPrimary": { + "type": "boolean", + "description": "The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters." + }, + "vmInstanceCount": { + "type": "integer", + "description": "The number of nodes in the node type. This count should match the capacity property in the corresponding VirtualMachineScaleSet resource.", + "minimum": 1, + "maximum": 2147483647 + }, + "reverseProxyEndpointPort": { + "type": "integer", + "description": "The endpoint used by reverse proxy." + } + }, + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "description": "List of operations supported by the Service Fabric resource provider.", + "items": { + "$ref": "#/definitions/OperationResult" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any.", + "readOnly": true + } + }, + "description": "Describes the result of the request to list Service Fabric resource provider operations." + }, + "OperationResult": { + "properties": { + "name": { + "type": "string", + "description": "The name of the operation." + }, + "display": { + "$ref": "#/definitions/AvailableOperationDisplay", + "description": "The object that represents the operation." + }, + "origin": { + "type": "string", + "description": "Origin result" + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "Available operation list result" + }, + "ReliabilityLevel": { + "type": "string", + "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n", + "enum": [ + "None", + "Bronze", + "Silver", + "Gold", + "Platinum" + ] + }, + "Resource": { + "required": [ + "location" + ], + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Azure resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Azure resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Azure resource location.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "description": "Azure resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "etag": { + "type": "string", + "description": "Azure resource etag.", + "readOnly": true + } + }, + "description": "The resource model definition.", + "x-ms-azure-resource": true + }, + "ServerCertificateCommonName": { + "description": "Describes the server certificate details using common name.", + "required": [ + "certificateCommonName", + "certificateIssuerThumbprint" + ], + "properties": { + "certificateCommonName": { + "type": "string", + "description": "The common name of the server certificate." + }, + "certificateIssuerThumbprint": { + "type": "string", + "description": "The issuer thumbprint of the server certificate." + } + } + }, + "ServerCertificateCommonNames": { + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster.", + "properties": { + "commonNames": { + "type": "array", + "description": "The list of server certificates referenced by common name that are used to secure the cluster.", + "items": { + "$ref": "#/definitions/ServerCertificateCommonName" + } + }, + "x509StoreName": { + "$ref": "#/definitions/StoreName", + "description": "The local certificate store location." + } + } + }, + "ServiceTypeDeltaHealthPolicy": { + "type": "object", + "description": "Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.\n", + "properties": { + "maxPercentDeltaUnhealthyServices": { + "type": "integer", + "description": "The maximum allowed percentage of services health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + } + } + }, + "ServiceTypeDeltaHealthPolicyMap": { + "type": "object", + "description": "Defines a map that contains specific delta health policies for different service types.\nEach entry specifies as key the service type name and as value a ServiceTypeDeltaHealthPolicy used to evaluate the service health when upgrading the cluster.\nThe map is empty by default.\n", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeDeltaHealthPolicy" + } + }, + "SettingsParameterDescription": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "description": "The parameter name of fabric setting." + }, + "value": { + "type": "string", + "description": "The parameter value of fabric setting." + } + }, + "description": "Describes a parameter in fabric settings of the cluster." + }, + "SettingsSectionDescription": { + "required": [ + "name", + "parameters" + ], + "properties": { + "name": { + "type": "string", + "description": "The section name of the fabric settings." + }, + "parameters": { + "type": "array", + "description": "The collection of parameters in the section.", + "items": { + "$ref": "#/definitions/SettingsParameterDescription" + } + } + }, + "description": "Describes a section in the fabric settings of the cluster." + }, + "StoreName": { + "type": "string", + "description": "The local certificate store location.", + "enum": [ + "AddressBook", + "AuthRoot", + "CertificateAuthority", + "Disallowed", + "My", + "Root", + "TrustedPeople", + "TrustedPublisher" + ] + }, + "UpgradeMode": { + "type": "string", + "description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.\n\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n", + "enum": [ + "Automatic", + "Manual" + ] + }, + "ErrorModel": { + "properties": { + "error": { + "$ref": "#/definitions/ErrorModelError", + "description": "The error details." + } + }, + "description": "The structure of the error." + }, + "ErrorModelError": { + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "The error details." + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n", + "properties": { + "maxPercentUnhealthyServices": { + "type": "integer", + "description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n", + "default": 0, + "minimum": 0, + "maximum": 100 + } + } + }, + "ServiceTypeHealthPolicyMap": { + "type": "object", + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type.\nFor example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently.\nWith policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.\n", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + } + } + }, + "parameters": { + "api-version": { + "name": "api-version", + "in": "query", + "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2019-03-01\" for this specification.", + "required": true, + "type": "string", + "enum": [ + "2019-03-01" + ], + "default": "2019-03-01", + "x-ms-parameter-location": "client" + }, + "clusterNameParameter": { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "clusterVersion": { + "name": "clusterVersion", + "in": "path", + "description": "The cluster code version.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "environment": { + "name": "environment", + "in": "path", + "description": "The operating system of the cluster. The default means all.", + "required": true, + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-parameter-location": "method" + }, + "locationForClusterCodeVersions": { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The customer subscription identifier.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + } + } +} \ No newline at end of file diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationDeleteOperation_example.json new file mode 100644 index 000000000000..f2c1d580fa12 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationDeleteOperation_example.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01" + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2019-03-01" + } + }, + "204": {} + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationGetOperation_example.json new file mode 100644 index 000000000000..f787a595380d --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationGetOperation_example.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502180261859\"", + "properties": { + "provisioningState": "Updating", + "typeName": "myAppType", + "typeVersion": "1.0", + "parameters": { + "param1": "value1" + }, + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "maxPercentUnhealthyDeployedApplications": 0, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0, + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0 + } + }, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckWaitDuration": "00:02:00", + "healthCheckStableDuration": "00:05:00", + "upgradeDomainTimeout": "1.06:00:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeReplicaSetCheckTimeout": "01:00:00", + "forceRestart": false + }, + "maximumNodes": 3, + "minimumNodes": 1, + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationListOperation_example.json new file mode 100644 index 000000000000..96ec45f93ced --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationListOperation_example.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502180261858\"", + "properties": { + "provisioningState": "Updating", + "typeName": "myAppType", + "typeVersion": "1.0", + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPatchOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPatchOperation_example.json new file mode 100644 index 000000000000..fbcddf158ea3 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPatchOperation_example.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "typeVersion": "1.0", + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/a553eb63-c332-40df-8ace-eb8d34a9b298?api-version=2019-03-01" + }, + "body": { + "type": "applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502180261858\"", + "properties": { + "provisioningState": "Updating", + "typeName": "myAppType", + "typeVersion": "1.0", + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_max.json new file mode 100644 index 000000000000..ac67a1a62d17 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_max.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "typeName": "myAppType", + "typeVersion": "1.0", + "parameters": { + "param1": "value1" + }, + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "maxPercentUnhealthyDeployedApplications": 0, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0, + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0 + } + }, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckWaitDuration": "00:02:00", + "healthCheckStableDuration": "00:05:00", + "upgradeDomainTimeout": "1.06:00:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeReplicaSetCheckTimeout": "01:00:00", + "forceRestart": false + }, + "maximumNodes": 3, + "minimumNodes": 1, + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2019-03-01" + }, + "body": { + "type": "applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502180261859\"", + "properties": { + "provisioningState": "Updating", + "typeName": "myAppType", + "typeVersion": "1.0", + "parameters": { + "param1": "value1" + }, + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "maxPercentUnhealthyDeployedApplications": 0, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0, + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0 + } + }, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckWaitDuration": "00:02:00", + "healthCheckStableDuration": "00:05:00", + "upgradeDomainTimeout": "1.06:00:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeReplicaSetCheckTimeout": "01:00:00", + "forceRestart": false + }, + "maximumNodes": 3, + "minimumNodes": 1, + "removeApplicationCapacity": false, + "metrics": [ + { + "name": "metric1", + "reservationCapacity": 1, + "maximumCapacity": 3, + "totalApplicationCapacity": 5 + } + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_min.json new file mode 100644 index 000000000000..20820bd500af --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationPutOperation_example_min.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "typeName": "myAppType", + "typeVersion": "1.0", + "removeApplicationCapacity": false + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2019-03-01" + }, + "body": { + "type": "applications", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502180261857\"", + "properties": { + "provisioningState": "Updating", + "typeName": "myAppType", + "typeVersion": "1.0", + "removeApplicationCapacity": false + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameDeleteOperation_example.json new file mode 100644 index 000000000000..1fc30ea39ebf --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameDeleteOperation_example.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "api-version": "2019-03-01" + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2019-03-01" + } + }, + "204": {} + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameGetOperation_example.json new file mode 100644 index 000000000000..91dd50e0ccb8 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameGetOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "applicationTypes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502174844831\"", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameListOperation_example.json new file mode 100644 index 000000000000..8180212c89e4 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNameListOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "applicationTypes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502174844831\"", + "properties": { + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNamePutOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNamePutOperation_example.json new file mode 100644 index 000000000000..d743d50e70b7 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeNamePutOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {} + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "applicationTypes", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502174844831\"", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionDeleteOperation_example.json new file mode 100644 index 000000000000..0e31acb0c62b --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "version": "1.0", + "api-version": "2019-03-01" + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2019-03-01" + } + }, + "204": {} + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionGetOperation_example.json new file mode 100644 index 000000000000..72d9964ab2e5 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionGetOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "version": "1.0", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "versions", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502176040417\"", + "properties": { + "provisioningState": "Updating", + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "defaultParameterList": {} + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionListOperation_example.json new file mode 100644 index 000000000000..b28e1f98ce31 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionListOperation_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "versions", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502176040417\"", + "properties": { + "provisioningState": "Updating", + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "defaultParameterList": {} + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionPutOperation_example.json new file mode 100644 index 000000000000..ed4b8a82ef69 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ApplicationTypeVersionPutOperation_example.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationTypeName": "myAppType", + "version": "1.0", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType" + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2019-03-01" + }, + "body": { + "type": "versions", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502176040417\"", + "properties": { + "provisioningState": "Updating", + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "defaultParameterList": {} + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterDeleteOperation_example.json new file mode 100644 index 000000000000..e841dd104738 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterDeleteOperation_example.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {} + }, + "204": {} + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterGetOperation_example.json new file mode 100644 index 000000000000..b7d04adca051 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterGetOperation_example.json @@ -0,0 +1,159 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240745\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": true, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ], + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListByResourceGroupOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListByResourceGroupOperation_example.json new file mode 100644 index 000000000000..88fb6c82c53b --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListByResourceGroupOperation_example.json @@ -0,0 +1,248 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240745\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": false, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ], + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster2", + "name": "myCluster2", + "tags": {}, + "etag": "W/\"636462502164040075\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterCodeVersion": "6.1.187.1", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster2.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Ubuntu", + "reliabilityLevel": "Silver", + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.187.1", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Linux" + } + ], + "addOnFeatures": [ + "RepairManager" + ] + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListOperation_example.json new file mode 100644 index 000000000000..5803e854c087 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterListOperation_example.json @@ -0,0 +1,247 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240745\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": false, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ], + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster2", + "name": "myCluster2", + "tags": {}, + "etag": "W/\"636462502164040075\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterCodeVersion": "6.1.187.1", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster2.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Ubuntu", + "reliabilityLevel": "Silver", + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.187.1", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Linux" + } + ], + "addOnFeatures": [ + "RepairManager" + ] + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPatchOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPatchOperation_example.json new file mode 100644 index 000000000000..39988b5cb079 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPatchOperation_example.json @@ -0,0 +1,284 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01", + "parameters": { + "tags": { + "a": "b" + }, + "properties": { + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + }, + { + "name": "testnt1", + "clientConnectionEndpointPort": 0, + "httpGatewayEndpointPort": 0, + "applicationPorts": { + "startPort": 1000, + "endPort": 2000 + }, + "ephemeralPorts": { + "startPort": 3000, + "endPort": 4000 + }, + "isPrimary": false, + "vmInstanceCount": 3, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Bronze", + "upgradeMode": "Automatic", + "eventStoreServiceEnabled": true + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2019-03-01" + }, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": { + "a": "b" + }, + "etag": "W/\"636462502169240744\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "eventStoreServiceEnabled": true, + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + }, + { + "name": "testnt1", + "clientConnectionEndpointPort": 0, + "httpGatewayEndpointPort": 0, + "applicationPorts": { + "startPort": 1000, + "endPort": 2000 + }, + "ephemeralPorts": { + "startPort": 3000, + "endPort": 4000 + }, + "isPrimary": false, + "vmInstanceCount": 3, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Bronze", + "upgradeMode": "Automatic", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ] + } + } + }, + "200": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2019-03-01" + }, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": { + "a": "b" + }, + "etag": "W/\"636462502169240744\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "eventStoreServiceEnabled": true, + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + }, + { + "name": "testnt1", + "clientConnectionEndpointPort": 0, + "httpGatewayEndpointPort": 0, + "applicationPorts": { + "startPort": 1000, + "endPort": 2000 + }, + "ephemeralPorts": { + "startPort": 3000, + "endPort": 4000 + }, + "isPrimary": false, + "vmInstanceCount": 3, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Bronze", + "upgradeMode": "Automatic", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_max.json new file mode 100644 index 000000000000..b3a6bc61c184 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_max.json @@ -0,0 +1,448 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "clusterCodeVersion": "6.1.480.9494", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": true, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "01:00:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "eventStoreServiceEnabled": true + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/4b5f6709-bc12-4365-8df3-894984b2a221?api-version=2019-03-01" + }, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240745\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": false, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": true, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "00:15:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ], + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "eventStoreServiceEnabled": true + } + } + }, + "200": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/4b5f6709-bc12-4365-8df3-894984b2a221?api-version=2019-03-01" + }, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240745\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "https://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "certificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "clientCertificateThumbprints": [ + { + "isAdmin": false, + "certificateThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "clientCertificateCommonNames": [ + { + "isAdmin": true, + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A" + } + ], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": true, + "upgradeReplicaSetCheckTimeout": "00:10:00", + "healthCheckWaitDuration": "00:00:30", + "healthCheckStableDuration": "00:00:30", + "healthCheckRetryTimeout": "00:05:00", + "upgradeTimeout": "00:15:00", + "upgradeDomainTimeout": "00:15:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 0, + "maxPercentUnhealthyApplications": 0, + "applicationHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyServices": 0 + }, + "serviceTypeHealthPolicies": { + "myServiceType1": { + "maxPercentUnhealthyServices": 100 + } + } + } + } + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0, + "applicationDeltaHealthPolicies": { + "fabric:/myApp1": { + "defaultServiceTypeDeltaHealthPolicy": { + "maxPercentDeltaUnhealthyServices": 0 + }, + "serviceTypeDeltaHealthPolicies": { + "myServiceType1": { + "maxPercentDeltaUnhealthyServices": 0 + } + } + } + } + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "vmImage": "Windows", + "azureActiveDirectory": { + "tenantId": "6abcc6a0-8666-43f1-87b8-172cf86a9f9c", + "clusterApplication": "5886372e-7bf4-4878-a497-8098aba608ae", + "clientApplication": "d151ad89-4bce-4ae8-b3d1-1dc79679fa75" + }, + "reliabilityLevel": "Silver", + "reverseProxyCertificateCommonNames": { + "commonNames": [ + { + "certificateCommonName": "abc.com", + "certificateIssuerThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + } + ], + "x509StoreName": "My" + }, + "upgradeMode": "Manual", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ], + "addOnFeatures": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "eventStoreServiceEnabled": true + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_min.json new file mode 100644 index 000000000000..b5119387a508 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterPutOperation_example_min.json @@ -0,0 +1,223 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "managementEndpoint": "http://myCluster.eastus.cloudapp.azure.com:19080", + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Silver", + "upgradeMode": "Automatic" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240743\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", + "healthCheckWaitDuration": "00:05:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckRetryTimeout": "00:45:00", + "upgradeTimeout": "12:00:00", + "upgradeDomainTimeout": "02:00:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 100, + "maxPercentUnhealthyApplications": 100 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Silver", + "upgradeMode": "Automatic", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ] + } + } + }, + "202": { + "headers": {}, + "body": { + "type": "Microsoft.ServiceFabric/clusters", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502169240743\"", + "properties": { + "provisioningState": "Succeeded", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterCodeVersion": "6.1.480.9494", + "clusterState": "WaitingForNodes", + "managementEndpoint": "http://myCluster.eastus.cloudapp.azure.com:19080", + "clusterEndpoint": "https://eastus.servicefabric.azure.com", + "clientCertificateThumbprints": [], + "clientCertificateCommonNames": [], + "fabricSettings": [ + { + "name": "UpgradeService", + "parameters": [ + { + "name": "AppPollIntervalInSeconds", + "value": "60" + } + ] + } + ], + "upgradeDescription": { + "forceRestart": false, + "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", + "healthCheckWaitDuration": "00:05:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckRetryTimeout": "00:45:00", + "upgradeTimeout": "12:00:00", + "upgradeDomainTimeout": "02:00:00", + "healthPolicy": { + "maxPercentUnhealthyNodes": 100, + "maxPercentUnhealthyApplications": 100 + }, + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyNodes": 0, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, + "maxPercentDeltaUnhealthyApplications": 0 + } + }, + "diagnosticsStorageAccountConfig": { + "storageAccountName": "diag", + "protectedAccountKeyName": "StorageAccountKey1", + "blobEndpoint": "https://diag.blob.core.windows.net/", + "queueEndpoint": "https://diag.queue.core.windows.net/", + "tableEndpoint": "https://diag.table.core.windows.net/" + }, + "nodeTypes": [ + { + "name": "nt1vm", + "clientConnectionEndpointPort": 19000, + "httpGatewayEndpointPort": 19007, + "applicationPorts": { + "startPort": 20000, + "endPort": 30000 + }, + "ephemeralPorts": { + "startPort": 49000, + "endPort": 64000 + }, + "isPrimary": true, + "vmInstanceCount": 5, + "durabilityLevel": "Bronze" + } + ], + "reliabilityLevel": "Silver", + "upgradeMode": "Automatic", + "availableClusterVersions": [ + { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + ] + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGetByEnvironment_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGetByEnvironment_example.json new file mode 100644 index 000000000000..06dd70867ea9 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGetByEnvironment_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "environment": "Windows", + "clusterVersion": "6.1.480.9494", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/clusterVersions/6.1.480.9494", + "name": "6.1.480.9494", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGet_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGet_example.json new file mode 100644 index 000000000000..4390fc0a676a --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsGet_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "clusterVersion": "6.1.480.9494", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/clusterVersions/6.1.480.9494", + "name": "6.1.480.9494", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsListByEnvironment.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsListByEnvironment.json new file mode 100644 index 000000000000..89f1162974bd --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsListByEnvironment.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "environment": "Windows", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/clusterVersions/6.1.480.9494", + "name": "6.1.480.9494", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsList_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsList_example.json new file mode 100644 index 000000000000..f0d12624c3c6 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ClusterVersionsList_example.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/clusterVersions/6.1.480.9494", + "name": "6.1.480.9494", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "6.1.480.9494", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Windows" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Linux/clusterVersions/6.1.187.1", + "name": "6.1.187.1", + "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions", + "properties": { + "codeVersion": "6.1.187.1", + "supportExpiryUtc": "2018-06-15T23:59:59.9999999", + "environment": "Linux" + } + } + ] + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceDeleteOperation_example.json new file mode 100644 index 000000000000..e7568f377ac0 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceDeleteOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "serviceName": "myService", + "api-version": "2019-03-01" + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2019-03-01" + } + }, + "204": {} + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceGetOperation_example.json new file mode 100644 index 000000000000..b0fcff69a995 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceGetOperation_example.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "serviceName": "myService", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "type": "services", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502183671258\"", + "properties": { + "provisioningState": "Updating", + "serviceKind": "Stateless", + "placementConstraints": "NodeType==frontend", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePlacementPolicies": [], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "servicePackageActivationMode": "SharedProcess" + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceListOperation_example.json new file mode 100644 index 000000000000..e22cc60c36f1 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServiceListOperation_example.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2019-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "type": "services", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502183671257\"", + "properties": { + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "instanceCount": 1, + "servicePackageActivationMode": "SharedProcess" + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePatchOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePatchOperation_example.json new file mode 100644 index 000000000000..0bc608c980f9 --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePatchOperation_example.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "serviceName": "myService", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ] + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/4dde8d8b-b6b2-4c56-99c6-9b83932bb09a?api-version=2019-03-01" + }, + "body": { + "type": "services", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502183671257\"", + "properties": { + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "instanceCount": 1, + "servicePackageActivationMode": "SharedProcess" + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_max.json new file mode 100644 index 000000000000..12c78507a83a --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_max.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "serviceName": "myService", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "serviceKind": "Stateless", + "placementConstraints": "NodeType==frontend", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "correlationScheme": [ + { + "serviceName": "fabric:/app1/app1~svc1", + "scheme": "Affinity" + } + ], + "servicePlacementPolicies": [], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "servicePackageActivationMode": "SharedProcess" + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2019-03-01" + }, + "body": { + "type": "services", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502183671258\"", + "properties": { + "provisioningState": "Updating", + "serviceKind": "Stateless", + "placementConstraints": "NodeType==frontend", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePlacementPolicies": [], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "servicePackageActivationMode": "SharedProcess" + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_min.json new file mode 100644 index 000000000000..f0b7ff76b79a --- /dev/null +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/examples/ServicePutOperation_example_min.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "serviceName": "myService", + "api-version": "2019-03-01", + "parameters": { + "location": "eastus", + "tags": {}, + "properties": { + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "instanceCount": 1 + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "10", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2019-03-01" + }, + "body": { + "type": "services", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService", + "name": "myCluster", + "tags": {}, + "etag": "W/\"636462502183671256\"", + "properties": { + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType", + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "instanceCount": 1 + } + } + } + } +} diff --git a/specification/servicefabric/resource-manager/readme.go.md b/specification/servicefabric/resource-manager/readme.go.md index c276c5ec0c48..866fdbb790d8 100644 --- a/specification/servicefabric/resource-manager/readme.go.md +++ b/specification/servicefabric/resource-manager/readme.go.md @@ -14,6 +14,7 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2019-03 + - tag: package-2019-03-preview - tag: package-2018-02 - tag: package-2017-07 - tag: package-2016-09 @@ -25,7 +26,16 @@ These settings apply only when `--tag=package-2019-03 --go` is specified on the Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2019-03' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-03-01/$(namespace) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-03-01/$(namespace) +``` + +### Tag: package-2019-03-preview and go + +These settings apply only when `--tag=package-2019-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-03-01-preview/$(namespace) ``` ### Tag: package-2018-02 and go diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 8acbbbb5106c..4615e07cbefd 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -65,6 +65,16 @@ These settings apply only when `--tag=package-2019-03` is specified on the comma ``` yaml $(tag) == 'package-2019-03' input-file: +- Microsoft.ServiceFabric/stable/2019-03-01/cluster.json +- Microsoft.ServiceFabric/stable/2019-03-01/application.json +``` + +### Tag: package-2019-03-preview + +These settings apply only when `--tag=package-2019-03-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-03-preview' +input-file: - Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json - Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json ``` diff --git a/specification/servicefabric/resource-manager/readme.ruby.md b/specification/servicefabric/resource-manager/readme.ruby.md index 90b07b7f0613..4a25e71e0e82 100644 --- a/specification/servicefabric/resource-manager/readme.ruby.md +++ b/specification/servicefabric/resource-manager/readme.ruby.md @@ -13,7 +13,7 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: - tag: package-2019-03 - - tag: package-2018-02 + - tag: package-2019-03-preview - tag: package-2017-07 - tag: package-2016-09 ``` @@ -24,17 +24,17 @@ These settings apply only when `--tag=package-2019-03 --ruby` is specified on th Please also specify `--ruby-sdks-folder=`. ``` yaml $(tag) == 'package-2019-03' && $(ruby) -namespace: "Azure::ServiceFabric::Mgmt::V2019_03_01_preview" +namespace: "Azure::ServiceFabric::Mgmt::V2019_03_01" output-folder: $(ruby-sdks-folder)/management/azure_mgmt_service_fabric/lib ``` -### Tag: package-2018-02 and ruby +### Tag: package-2019-03-preview and ruby -These settings apply only when `--tag=package-2018-02 --ruby` is specified on the command line. +These settings apply only when `--tag=package-2019-03-preview --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. -``` yaml $(tag) == 'package-2018-02' && $(ruby) -namespace: "Azure::ServiceFabric::Mgmt::V2018_02_01_preview" +``` yaml $(tag) == 'package-2019-03-preview' && $(ruby) +namespace: "Azure::ServiceFabric::Mgmt::V2019_03_01-preview" output-folder: $(ruby-sdks-folder)/management/azure_mgmt_service_fabric/lib ``` From 31b1089cec67ad63530779dba0bff18119e42452 Mon Sep 17 00:00:00 2001 From: Carey MacDonald Date: Wed, 7 Aug 2019 15:38:07 -0700 Subject: [PATCH 486/495] [Azure Search] Add Translate and Conditional skills, and recursive skill inputs (for shaper) (#6865) * Add recursive inputs to skill input definition * Add Conditional skill * Add Text Translation skill * Remove en-us from conditional skill doc link --- .../stable/2019-05-06/searchservice.json | 128 +++++++++++++++++- 1 file changed, 126 insertions(+), 2 deletions(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json index d157f7133e25..1cdd1dda3546 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json @@ -4588,11 +4588,21 @@ "source": { "type": "string", "description": "The source of the input." + }, + "sourceContext": { + "type": "string", + "description": "The source context used for selecting recursive inputs." + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputFieldMappingEntry" + }, + "description": "The recursive inputs used when creating a complex type." } }, "required": [ - "name", - "source" + "name" ], "description": "Input field mapping for a skill." }, @@ -4615,6 +4625,18 @@ }, "description": "Output field mapping for a skill." }, + "ConditionalSkill": { + "x-ms-discriminator-value": "#Microsoft.Skills.Util.ConditionalSkill", + "allOf": [ + { + "$ref": "#/definitions/Skill" + } + ], + "externalDocs": { + "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-conditional" + }, + "description": "A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output." + }, "KeyPhraseExtractionSkill": { "x-ms-discriminator-value": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", "allOf": [ @@ -4866,6 +4888,35 @@ }, "description": "A skill to split a string into chunks of text." }, + "TextTranslationSkill": { + "x-ms-discriminator-value": "#Microsoft.Skills.Text.TranslationSkill", + "allOf": [ + { + "$ref": "#/definitions/Skill" + } + ], + "properties": { + "defaultToLanguageCode": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "description": "The language code to translate documents into for documents that don't specify the to language explicitly. " + }, + "defaultFromLanguageCode": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "description": "The language code to translate documents from for documents that don't specify the from language explicitly." + }, + "suggestedFrom": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "description": "The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is en." + } + }, + "required": [ + "defaultToLanguageCode" + ], + "externalDocs": { + "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-text-translation" + }, + "description": "A skill to translate text from one language to another." + }, "WebApiSkill": { "x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill", "allOf": [ @@ -5151,6 +5202,79 @@ }, "description": "The language codes supported for input text by NamedEntityRecognitionSkill." }, + "TextTranslationSkillLanguage": { + "type": "string", + "enum": [ + "af", + "ar", + "bn", + "bs", + "bg", + "yue", + "ca", + "zh-Hans", + "zh-Hant", + "hr", + "cs", + "da", + "nl", + "en", + "et", + "fj", + "fil", + "fi", + "fr", + "de", + "el", + "ht", + "he", + "hi", + "mww", + "hu", + "is", + "id", + "it", + "ja", + "sw", + "tlh", + "ko", + "lv", + "lt", + "mg", + "ms", + "mt", + "nb", + "fa", + "pl", + "pt", + "otq", + "ro", + "ru", + "sm", + "sr-Cyrl", + "sr-Latn", + "sk", + "sl", + "es", + "sv", + "ty", + "ta", + "te", + "th", + "to", + "tr", + "uk", + "ur", + "vi", + "cy", + "yua" + ], + "x-ms-enum": { + "name": "TextTranslationSkillLanguage", + "modelAsString": false + }, + "description": "The language codes supported for input text by TextTranslationSkill." + }, "ImageAnalysisSkillLanguage": { "type": "string", "enum": [ From c95d2958aef91efd4166eaba7ef606874fb141c5 Mon Sep 17 00:00:00 2001 From: ctoma73 Date: Wed, 7 Aug 2019 19:10:59 -0700 Subject: [PATCH 487/495] updated bookmarks swagger to reflect current implementation in the RP (#6709) --- .../examples/bookmarks/CreateBookmark.json | 21 +++++++++++-------- .../examples/bookmarks/GetBookmarkById.json | 7 ++++--- .../examples/bookmarks/GetBookmarks.json | 7 ++++--- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json index 15f04776edb5..13ff09f12a8f 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/CreateBookmark.json @@ -23,14 +23,15 @@ "email": "john@contoso.com", "name": "john doe" }, - "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", - "createdTimeUtc": "2019-01-01T13:15:30Z", + "updated": "2019-01-01T13:15:30Z", + "created": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", "labels": [ "Tag1", "Tag2" ], - "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" + "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)", + "queryResult": "Security Event query result" } } }, @@ -53,14 +54,15 @@ "email": "john@contoso.com", "name": "john doe" }, - "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", - "createdTimeUtc": "2019-01-01T13:15:30Z", + "updated": "2019-01-01T13:15:30Z", + "created": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", "labels": [ "Tag1", "Tag2" ], - "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" + "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)", + "queryResult": "Security Event query result" } } }, @@ -82,14 +84,15 @@ "email": "john@contoso.com", "name": "john doe" }, - "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", - "createdTimeUtc": "2019-01-01T13:15:30Z", + "updated": "2019-01-01T13:15:30Z", + "created": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", "labels": [ "Tag1", "Tag2" ], - "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" + "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)", + "queryResult": "Security Event query result" } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json index 0358ed179e0b..d28b7e5c2d88 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarkById.json @@ -26,14 +26,15 @@ "email": "john@contoso.com", "name": "john doe" }, - "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", - "createdTimeUtc": "2019-01-01T13:15:30Z", + "updated": "2019-01-01T13:15:30Z", + "created": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", "labels": [ "Tag1", "Tag2" ], - "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" + "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)", + "queryResult": "Security Event query result" } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json index 7c1062ebbce3..23cdfc5b8ca5 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/bookmarks/GetBookmarks.json @@ -27,14 +27,15 @@ "email": "john@contoso.com", "name": "john doe" }, - "lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", - "createdTimeUtc": "2019-01-01T13:15:30Z", + "updated": "2019-01-01T13:15:30Z", + "created": "2019-01-01T13:15:30Z", "notes": "Found a suspicious activity", "labels": [ "Tag1", "Tag2" ], - "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)" + "query": "SecurityEvent | where TimeGenerated > ago(1d) and TimeGenerated < ago(2d)", + "queryResult": "Security Event query result" } } ] From e2873d1798d5710c493567032e42033ab4a0bffa Mon Sep 17 00:00:00 2001 From: poadhika <42165979+poadhika@users.noreply.github.com> Date: Wed, 7 Aug 2019 22:09:56 -0700 Subject: [PATCH 488/495] Added missing c# configuration in HealthcareApis readme.md (#6890) * Added the missing C# configuration in readme.md * Updated the namespace and autorest version --- .../healthcareapis/resource-manager/readme.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md index a506b9629059..c27006982101 100644 --- a/specification/healthcareapis/resource-manager/readme.md +++ b/specification/healthcareapis/resource-manager/readme.md @@ -22,7 +22,7 @@ To see additional help and options, run: ### Basic Information -These are the global settings for the HANA on Azure API. +These are the global settings for HealthcareApis service. ``` yaml title: HealthcareApisManagementClient @@ -52,12 +52,26 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js ``` - +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + # last generated with AutoRest.2.0.4144 + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.HealthcareApis + output-folder: $(csharp-sdks-folder)/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated + clear-output-folder: true +``` ## Python See configuration in [readme.python.md](./readme.python.md) From af9780e7fb520f921413b7451e63bfa661b31317 Mon Sep 17 00:00:00 2001 From: atshaw42 <48458868+atshaw42@users.noreply.github.com> Date: Wed, 7 Aug 2019 22:20:01 -0700 Subject: [PATCH 489/495] Adding Health Probe Method, Health Probe Enabled, SendRecvTimeoutseconds, and MinimumTLSVersion (#6895) * Cloning from 2019-04-01 to 2019-05-01 * Adding Health Probe Method, Health Probe Enabled, SendRecvTimeoutseconds, and MinimumTLSVersion --- .../stable/2019-05-01/README.md | 21 + .../stable/2019-05-01/assets/frontdoor.svg | 668 ++++ .../CheckFrontdoorNameAvailability.json | 18 + ...tdoorNameAvailabilityWithSubscription.json | 19 + .../examples/FrontdoorBackendPoolCreate.json | 165 + .../examples/FrontdoorBackendPoolDelete.json | 13 + .../examples/FrontdoorBackendPoolGet.json | 51 + .../examples/FrontdoorBackendPoolList.json | 54 + .../2019-05-01/examples/FrontdoorCreate.json | 533 ++++ .../2019-05-01/examples/FrontdoorDelete.json | 12 + .../examples/FrontdoorDisableHttps.json | 13 + .../examples/FrontdoorEnableHttps.json | 25 + .../FrontdoorFrontendEndpointCreate.json | 64 + .../FrontdoorFrontendEndpointDelete.json | 13 + .../FrontdoorFrontendEndpointGet.json | 25 + .../FrontdoorFrontendEndpointList.json | 28 + .../2019-05-01/examples/FrontdoorGet.json | 145 + .../FrontdoorHealthProbeSettingsCreate.json | 56 + .../FrontdoorHealthProbeSettingsDelete.json | 13 + .../FrontdoorHealthProbeSettingsGet.json | 24 + .../FrontdoorHealthProbeSettingsList.json | 27 + .../2019-05-01/examples/FrontdoorList.json | 148 + .../2019-05-01/examples/FrontdoorListAll.json | 146 + .../FrontdoorLoadBalancingSettingsCreate.json | 48 + .../FrontdoorLoadBalancingSettingsDelete.json | 13 + .../FrontdoorLoadBalancingSettingsGet.json | 21 + .../FrontdoorLoadBalancingSettingsList.json | 24 + .../examples/FrontdoorPurgeContent.json | 18 + .../FrontdoorRedirectRoutingRuleCreate.json | 136 + .../FrontdoorRedirectRoutingRuleGet.json | 43 + .../examples/FrontdoorRoutingRuleCreate.json | 130 + .../examples/FrontdoorRoutingRuleDelete.json | 13 + .../examples/FrontdoorRoutingRuleGet.json | 42 + .../examples/FrontdoorRoutingRuleList.json | 75 + .../FrontdoorValidateCustomDomain.json | 20 + .../stable/2019-05-01/frontdoor.json | 2707 +++++++++++++++++ .../stable/2019-05-01/network.json | 167 + 37 files changed, 5738 insertions(+) create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json create mode 100644 specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md new file mode 100644 index 000000000000..cdb350ea928f --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md @@ -0,0 +1,21 @@ +# General Availability API specification for FrontDoor Azure Resource +> see https://aka.ms/autorest + +This directory contains the schema specifications for the Front Door Azure Resource. The API will be added to support Front Door on Azure Resource Manager. + +The base swagger document for new features for Frontdoor: [frontdoor.json](./frontdoor.json) + +## Overview +The Front Door ARM API supports CRUD functionality on four objects in the resource schema: +`FrontDoor`, a collection of child objects `BackendPool`, a collection of child objects `FrontendEndpoints` and the primary child object `RoutingRule`, which each reference one `BackendPool` and `FrontendEndpoints` . Each routing rule encapsulates +all of the settings needed to configure the AzureFD backend infrastructure to set up a +reverse-proxy route to accelerate traffic, detect backend availability, +and balance between healthy members of the pool. + +## Generated object-model UML diagram +This diagram is generated from the swagger spec by "[`oav`](https://github.com/Azure/oav) `generate-uml`" +![Generated UML snapshot](./assets/frontdoor.svg) + +## Swagger and JSON specification reference and tools +- [OpenAPI specification v2.0 (aka Swagger 2.0)](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) +- [Swagger.io online editor](https://editor.swagger.io/) diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg new file mode 100644 index 000000000000..2806bba823df --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg @@ -0,0 +1,668 @@ + + + + + + +G + + + +A0 + +Frontdoor + +-properties:FrontdoorProperties + + + +A2 + +FrontdoorProperties + +-resourceState:ResourceState +-provisioningState:string +-cname:string + + + +A0->A2 + + + + + +A1 + +FrontdoorUpdateParameters + +-friendlyName:string +-routingRules:Array<RoutingRule> +-loadBalancingSettings:Array<LoadBalancingSettingsModel> +-healthProbeSettings:Array<HealthProbeSettingsModel> +-backendPools:Array<BackendPool> +-frontendEndpoints:Array<FrontendEndpoint> +-enabledState:string + + + +A1->A2 + + +allOf + + + +A5 + +RoutingRule + +-properties:RoutingRuleProperties +-name:string +-type:string + + + +A1->A5 + + + + + +A10 + +LoadBalancingSettingsModel + +-properties:LoadBalancingSettingsProperties +-name:string +-type:string + + + +A1->A10 + + + + + +A14 + +HealthProbeSettingsModel + +-properties:HealthProbeSettingsProperties +-name:string +-type:string + + + +A1->A14 + + + + + +A18 + +BackendPool + +-properties:BackendPoolProperties +-name:string +-type:string + + + +A1->A18 + + + + + +A26 + +FrontendEndpoint + +-properties:FrontendEndpointProperties +-name:string +-type:string + + + +A1->A26 + + + + + +A30 + +ResourceState + + + +A2->A30 + + + + + +A3 + +FrontdoorListResult + +-value:Array<Frontdoor> +-nextLink:string + + + +A3->A0 + + + + + +A4 + +PurgeParameters + +-contentPaths:Array<string> + + + +A6 + +RoutingRuleProperties + +-resourceState:ResourceState + + + +A5->A6 + + + + + +A6->A30 + + + + + +A7 + +RoutingRuleListResult + +-value:Array<RoutingRule> +-nextLink:string + + + +A7->A5 + + + + + +A8 + +RoutingRuleUpdateParameters + +-frontendEndpoints:Array<SubResource> +-acceptedProtocols:Array<string> +-patternsToMatch:Array<string> +-customForwardingPath:string +-forwardingProtocol:string +-cacheConfiguration:CacheConfiguration +-backendPool:SubResource +-enabledState:string + + + +A8->A6 + + +allOf + + + +A22 + +CacheConfiguration + +-queryParameterStripDirective:string +-dynamicCompression:string + + + +A8->A22 + + + + + +A38 + +SubResource + +-id:string + + + +A8->A38 + + + + + +A8->A38 + + + + + +A9 + +Backend + +-address:string +-httpPort: +-httpsPort: +-enabledState:string +-priority: +-weight: +-backendHostHeader:string + + + +A11 + +LoadBalancingSettingsProperties + +-resourceState:ResourceState + + + +A10->A11 + + + + + +A11->A30 + + + + + +A12 + +LoadBalancingSettingsListResult + +-value:Array<LoadBalancingSettingsModel> +-nextLink:string + + + +A12->A10 + + + + + +A13 + +LoadBalancingSettingsUpdateParameters + +-sampleSize: +-successfulSamplesRequired: +-additionalLatencyMilliseconds: + + + +A13->A11 + + +allOf + + + +A15 + +HealthProbeSettingsProperties + +-resourceState:ResourceState + + + +A14->A15 + + + + + +A15->A30 + + + + + +A16 + +HealthProbeSettingsListResult + +-value:Array<HealthProbeSettingsModel> +-nextLink:string + + + +A16->A14 + + + + + +A17 + +HealthProbeSettingsUpdateParameters + +-path:string +-protocol:string +-intervalInSeconds: + + + +A17->A15 + + +allOf + + + +A20 + +BackendPoolProperties + +-resourceState:ResourceState + + + +A18->A20 + + + + + +A19 + +BackendPoolUpdateParameters + +-backends:Array<Backend> +-loadBalancingSettings:SubResource +-healthProbeSettings:SubResource + + + +A19->A9 + + + + + +A19->A20 + + +allOf + + + +A19->A38 + + + + + +A19->A38 + + + + + +A20->A30 + + + + + +A21 + +BackendPoolListResult + +-value:Array<BackendPool> +-nextLink:string + + + +A21->A18 + + + + + +A23 + +KeyVaultCertificateSourceParameters + +-vault:Object +-secretName:string +-secretVersion:string + + + +A24 + +FrontdoorCertificateSourceParameters + +-certificateType:string + + + +A25 + +CustomHttpsConfiguration + +-certificateSource:string +-protocolType:string +-keyVaultCertificateSourceParameters:KeyVaultCertificateSourceParameters +-frontdoorCertificateSourceParameters:FrontdoorCertificateSourceParameters + + + +A25->A23 + + + + + +A25->A24 + + + + + +A27 + +FrontendEndpointProperties + +-resourceState:ResourceState +-customHttpsProvisioningState:string +-customHttpsProvisioningSubstate:string +-customHttpsConfiguration:CustomHttpsConfiguration + + + +A26->A27 + + + + + +A27->A25 + + + + + +A27->A30 + + + + + +A28 + +FrontendEndpointUpdateParameters + +-hostName:string +-sessionAffinityEnabledState:string +-sessionAffinityTtlSeconds: +-webApplicationFirewallPolicyLink:Object + + + +A28->A27 + + +allOf + + + +A29 + +FrontendEndpointsListResult + +-value:Array<FrontendEndpoint> +-nextLink:string + + + +A29->A26 + + + + + +A31 + +ValidateCustomDomainInput + +-hostName:string + + + +A32 + +ValidateCustomDomainOutput + +-customDomainValidated:boolean +-reason:string +-message:string + + + +A33 + +ErrorResponse + +-code:string +-message:string + + + +A34 + +CheckNameAvailabilityInput + +-name:string +-type:ResourceType + + + +A36 + +ResourceType + + + +A34->A36 + + + + + +A35 + +CheckNameAvailabilityOutput + +-nameAvailability:string +-reason:string +-message:string + + + +A37 + +Resource + +-id:string +-name:string +-type:string +-location:string +-tags:Dictionary<string> + + + +A37->A0 + + +allOf + + + +A38->A5 + + +allOf + + + +A38->A10 + + +allOf + + + +A38->A14 + + +allOf + + + +A38->A18 + + +allOf + + + +A38->A26 + + +allOf + + + diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json new file mode 100644 index 000000000000..f14c8283f56a --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "checkFrontDoorNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Network/frontDoors" + } + }, + "responses": { + "200": { + "body": { + "nameAvailability": "Unavailable", + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json new file mode 100644 index 000000000000..99f3651cc57c --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "checkFrontDoorNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Network/frontDoors/frontendEndpoints" + } + }, + "responses": { + "200": { + "body": { + "nameAvailability": "Unavailable", + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json new file mode 100644 index 000000000000..173d7a44b340 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "backendPoolName": "backendPool1", + "backendPoolParameters": { + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json new file mode 100644 index 000000000000..90cff1080966 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "backendPoolName": "backendPool1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json new file mode 100644 index 000000000000..27302d8e8160 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "backendPoolName": "backendPool1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json new file mode 100644 index 000000000000..cdf8b2d57b7e --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json new file mode 100644 index 000000000000..2620327488ce --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json @@ -0,0 +1,533 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontDoorParameters": { + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled", + "resourceState": "Creating", + "provisioningState": "Succeeded", + "cname": "frontDoor1.azurefd.net" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled", + "resourceState": "Creating", + "provisioningState": "Provisioning", + "cname": "frontDoor1.azurefd.net" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled", + "resourceState": "Creating", + "provisioningState": "Provisioning", + "cname": "frontDoor1.azurefd.net" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json new file mode 100644 index 000000000000..24bd1ac8e15d --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json new file mode 100644 index 000000000000..42f17fb474fd --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontendEndpointName": "frontendEndpoint1" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json new file mode 100644 index 000000000000..53d20926cc0c --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontendEndpointName": "frontendEndpoint1", + "customHttpsConfiguration": { + "certificateSource": "AzureKeyVault", + "protocolType": "ServerNameIndication", + "minimumTlsVersion": "1.0", + "keyVaultCertificateSourceParameters": { + "vault": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.KeyVault/vaults/vault1" + }, + "secretName": "secret1", + "secretVersion": "00000000-0000-0000-0000-000000000000" + } + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json new file mode 100644 index 000000000000..9d6c548a8d5f --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontendEndpointName": "frontDoorEndpoint1", + "frontendEndpointParameters": { + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json new file mode 100644 index 000000000000..49981f5191da --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontendEndpointName": "frontendEndpoint1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json new file mode 100644 index 000000000000..337e24bdeba2 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "frontendEndpointName": "frontendEndpoint1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json new file mode 100644 index 000000000000..24c4b57d0f41 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json new file mode 100644 index 000000000000..9f7ee4677cb6 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled", + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "cname": "frontDoor1.azurefd.net" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json new file mode 100644 index 000000000000..7ce9145d834a --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "healthProbeSettingsName": "healthProbeSettings1", + "healthProbeSettingsParameters": { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1", + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1", + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1", + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json new file mode 100644 index 000000000000..8e0660c6269a --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "healthProbeSettingsName": "healthProbeSettings1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json new file mode 100644 index 000000000000..05ec6f5747cd --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "healthProbeSettingsName": "healthProbeSettings1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1", + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json new file mode 100644 index 000000000000..fc21bfbdff29 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1", + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json new file mode 100644 index 000000000000..b38a3201d8d8 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled", + "sendRecvTimeoutSeconds": 60 + }, + "enabledState": "Enabled", + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "cname": "frontDoor1.azurefd.net" + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json new file mode 100644 index 000000000000..4bf212cd88dd --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", + "name": "frontDoor1", + "type": "Microsoft.Network/frontDoor", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "routingRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + ], + "healthProbeSettings": [ + { + "name": "healthProbeSettings1", + "properties": { + "path": "/", + "protocol": "Http", + "intervalInSeconds": 120, + "enabledState": "Enabled", + "healthProbeMethod": "HEAD" + } + } + ], + "loadBalancingSettings": [ + { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ], + "backendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", + "name": "backendPool1", + "properties": { + "backends": [ + { + "address": "w3.contoso.com", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 2 + }, + { + "address": "contoso.com.website-us-west-2.othercloud.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 2, + "priority": 1 + }, + { + "address": "contoso1.azurewebsites.net", + "httpPort": 80, + "httpsPort": 443, + "enabledState": "Enabled", + "weight": 1, + "priority": 1 + } + ], + "loadBalancingSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" + }, + "healthProbeSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" + } + } + } + ], + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", + "name": "frontendEndpoint1", + "properties": { + "hostName": "www.contoso.com", + "sessionAffinityEnabledState": "Enabled", + "sessionAffinityTtlSeconds": 60, + "webApplicationFirewallPolicyLink": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", + "name": "default", + "properties": { + "hostName": "frontDoor1.azurefd.net" + } + } + ], + "backendPoolsSettings": { + "enforceCertificateNameCheck": "Enabled" + }, + "enabledState": "Enabled", + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "cname": "frontDoor1.azurefd.net" + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json new file mode 100644 index 000000000000..d06b3e12d04d --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "loadBalancingSettingsName": "loadBalancingSettings1", + "loadBalancingSettingsParameters": { + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1", + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1", + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1", + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json new file mode 100644 index 000000000000..a28375d1d443 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "loadBalancingSettingsName": "loadBalancingSettings1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json new file mode 100644 index 000000000000..d6584f79194f --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "loadBalancingSettingsName": "loadBalancingSettings1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1", + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json new file mode 100644 index 000000000000..3fca126ab439 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1", + "name": "loadBalancingSettings1", + "properties": { + "sampleSize": 4, + "successfulSamplesRequired": 2 + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json new file mode 100644 index 000000000000..cb4608227472 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "contentFilePaths": { + "contentPaths": [ + "/pictures.aspx", + "/pictures/*" + ] + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json new file mode 100644 index 000000000000..fa146c71e1cf --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "routingRuleName": "redirectRoutingRule1", + "routingRuleParameters": { + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1", + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1", + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1", + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json new file mode 100644 index 000000000000..e7acb420d61f --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "routingRuleName": "redirectRoutingRule1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1", + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json new file mode 100644 index 000000000000..02e739ea6562 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "routingRuleName": "routingRule1", + "routingRuleParameters": { + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json new file mode 100644 index 000000000000..11e04942505d --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "routingRuleName": "routingRule1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json new file mode 100644 index 000000000000..8947311421b1 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "routingRuleName": "routingRule1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json new file mode 100644 index 000000000000..50cf21f7dd3c --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", + "name": "routingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Http" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", + "forwardingProtocol": "MatchRequest", + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } + }, + "enabledState": "Enabled" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1", + "name": "redirectRoutingRule1", + "properties": { + "frontendEndpoints": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" + } + ], + "acceptedProtocols": [ + "Https" + ], + "patternsToMatch": [ + "/*" + ], + "routeConfiguration": { + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "redirectType": "Moved", + "redirectProtocol": "HttpsOnly", + "customHost": "www.bing.com", + "customPath": "/api", + "customFragment": "fragment", + "customQueryString": "a=b" + }, + "enabledState": "Enabled" + } + } + ] + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json new file mode 100644 index 000000000000..7b6bb8216c0f --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2019-05-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "frontDoorName": "frontDoor1", + "customDomainProperties": { + "hostName": "www.someDomain.com" + } + }, + "responses": { + "200": { + "body": { + "customDomainValidated": true, + "message": null, + "reason": null + } + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json new file mode 100644 index 000000000000..8d020b6497e4 --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json @@ -0,0 +1,2707 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-05-01", + "title": "FrontDoorManagementClient", + "description": "Use these APIs to manage Azure Front Door resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Network/checkFrontDoorNameAvailability": { + "post": { + "tags": [ + "CheckFrontDoorNameAvailability" + ], + "description": "Check the availability of a Front Door resource name.", + "operationId": "CheckFrontDoorNameAvailability", + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckFrontdoorNameAvailability.json" + } + }, + "parameters": [ + { + "name": "checkFrontDoorNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability": { + "post": { + "tags": [ + "CheckFrontDoorNameAvailabilityWithSubscription" + ], + "description": "Check the availability of a Front Door subdomain.", + "operationId": "CheckFrontDoorNameAvailabilityWithSubscription", + "x-ms-examples": { + "CheckNameAvailabilityWithSubscription": { + "$ref": "./examples/CheckFrontdoorNameAvailabilityWithSubscription.json" + } + }, + "parameters": [ + { + "name": "checkFrontDoorNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the Front Doors within an Azure subscription.", + "operationId": "FrontDoors_List", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontDoorListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all Front Doors": { + "$ref": "./examples/FrontdoorListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the Front Doors within a resource group under a subscription.", + "operationId": "FrontDoors_ListByResourceGroup", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontDoorListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Front Doors in a Resource Group": { + "$ref": "./examples/FrontdoorList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a Front Door with the specified Front Door name under the specified subscription and resource group.", + "operationId": "FrontDoors_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontDoor" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Front Door": { + "$ref": "./examples/FrontdoorGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new Front Door with a Front Door name under the specified subscription and resource group.", + "operationId": "FrontDoors_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "description": "Front Door properties needed to create a new Front Door.", + "in": "body", + "name": "frontDoorParameters", + "required": true, + "schema": { + "$ref": "#/definitions/FrontDoor" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontDoor" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new Front Door has been created.", + "schema": { + "$ref": "#/definitions/FrontDoor" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/FrontDoor" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific Front Door": { + "$ref": "./examples/FrontdoorCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing Front Door with the specified parameters.", + "operationId": "FrontDoors_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the Front Door was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Front Door": { + "$ref": "./examples/FrontdoorDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/routingRules": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the Routing Rules within a Front Door.", + "operationId": "RoutingRules_ListByFrontDoor", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/RoutingRuleListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Routing Rules in a Front Door": { + "$ref": "./examples/FrontdoorRoutingRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/routingRules/{routingRuleName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a Routing Rule with the specified Rule name within the specified Front Door.", + "operationId": "RoutingRules_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/routingRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Forwarding Routing Rule": { + "$ref": "./examples/FrontdoorRoutingRuleGet.json" + }, + "Get Redirect Routing Rule": { + "$ref": "./examples/FrontdoorRedirectRoutingRuleGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new Routing Rule with the specified Rule name within the specified Front Door.", + "operationId": "RoutingRules_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/routingRuleNameParameter" + }, + { + "description": "Routing Rule properties needed to create a new Front Door.", + "in": "body", + "name": "routingRuleParameters", + "required": true, + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new RoutingRule has been created.", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific Forwarding Routing Rule": { + "$ref": "./examples/FrontdoorRoutingRuleCreate.json" + }, + "Create or update specific Redirect Routing Rule": { + "$ref": "./examples/FrontdoorRedirectRoutingRuleCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing Routing Rule with the specified parameters.", + "operationId": "RoutingRules_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/routingRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the Routing Rule was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Routing Rule": { + "$ref": "./examples/FrontdoorRoutingRuleDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/healthProbeSettings": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the HealthProbeSettings within a Front Door.", + "operationId": "HealthProbeSettings_ListByFrontDoor", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/HealthProbeSettingsListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List HealthProbeSettings in a Front Door": { + "$ref": "./examples/FrontdoorHealthProbeSettingsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/healthProbeSettings/{healthProbeSettingsName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a HealthProbeSettings with the specified Rule name within the specified Front Door.", + "operationId": "HealthProbeSettings_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/healthProbeSettingsNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get HealthProbeSettings": { + "$ref": "./examples/FrontdoorHealthProbeSettingsGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new HealthProbeSettings with the specified Rule name within the specified Front Door.", + "operationId": "HealthProbeSettings_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/healthProbeSettingsNameParameter" + }, + { + "description": "HealthProbeSettings properties needed to create a new Front Door.", + "in": "body", + "name": "healthProbeSettingsParameters", + "required": true, + "schema": { + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new HealthProbeSettings has been created.", + "schema": { + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific HealthProbeSettings": { + "$ref": "./examples/FrontdoorHealthProbeSettingsCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing HealthProbeSettings with the specified parameters.", + "operationId": "HealthProbeSettings_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/healthProbeSettingsNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the HealthProbeSettings was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete HealthProbeSettings": { + "$ref": "./examples/FrontdoorHealthProbeSettingsDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/loadBalancingSettings": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the LoadBalancingSettings within a Front Door.", + "operationId": "LoadBalancingSettings_ListByFrontDoor", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List LoadBalancingSettings in a Front Door": { + "$ref": "./examples/FrontdoorLoadBalancingSettingsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/loadBalancingSettings/{loadBalancingSettingsName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a LoadBalancingSettings with the specified Rule name within the specified Front Door.", + "operationId": "LoadBalancingSettings_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/loadBalancingSettingsNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get LoadBalancingSettings": { + "$ref": "./examples/FrontdoorLoadBalancingSettingsGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new LoadBalancingSettings with the specified Rule name within the specified Front Door.", + "operationId": "LoadBalancingSettings_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/loadBalancingSettingsNameParameter" + }, + { + "description": "LoadBalancingSettings properties needed to create a new Front Door.", + "in": "body", + "name": "loadBalancingSettingsParameters", + "required": true, + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new LoadBalancingSettings has been created.", + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific LoadBalancingSettings": { + "$ref": "./examples/FrontdoorLoadBalancingSettingsCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing LoadBalancingSettings with the specified parameters.", + "operationId": "LoadBalancingSettings_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/loadBalancingSettingsNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the LoadBalancingSettings was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete LoadBalancingSettings": { + "$ref": "./examples/FrontdoorLoadBalancingSettingsDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the Backend Pools within a Front Door.", + "operationId": "BackendPools_ListByFrontDoor", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BackendPoolListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Backend Pools in a Front Door": { + "$ref": "./examples/FrontdoorBackendPoolList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools/{backendPoolName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a Backend Pool with the specified Pool name within the specified Front Door.", + "operationId": "BackendPools_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/backendPoolNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BackendPool" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Backend Pool": { + "$ref": "./examples/FrontdoorBackendPoolGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new Backend Pool with the specified Pool name within the specified Front Door.", + "operationId": "BackendPools_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/backendPoolNameParameter" + }, + { + "description": "Backend Pool properties needed to create a new Pool.", + "in": "body", + "name": "backendPoolParameters", + "required": true, + "schema": { + "$ref": "#/definitions/BackendPool" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/BackendPool" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new BackendPool has been created.", + "schema": { + "$ref": "#/definitions/BackendPool" + } + }, + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/BackendPool" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific Backend Pool": { + "$ref": "./examples/FrontdoorBackendPoolCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing Backend Pool with the specified parameters.", + "operationId": "BackendPools_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/backendPoolNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the Backend Pool was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Backend Pool": { + "$ref": "./examples/FrontdoorBackendPoolDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Lists all of the frontend endpoints within a Front Door.", + "operationId": "FrontendEndpoints_ListByFrontDoor", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontendEndpointsListResult" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Frontend endpoints in a Front Door": { + "$ref": "./examples/FrontdoorFrontendEndpointList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}": { + "get": { + "tags": [ + "FrontDoors" + ], + "description": "Gets a Frontend endpoint with the specified name within the specified Front Door.", + "operationId": "FrontendEndpoints_Get", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/frontendEndpointNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontendEndpoint" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Frontend Endpoint": { + "$ref": "./examples/FrontdoorFrontendEndpointGet.json" + } + } + }, + "put": { + "tags": [ + "FrontDoors" + ], + "description": "Creates a new frontend endpoint with the specified host name within the specified Front Door.", + "operationId": "FrontendEndpoints_CreateOrUpdate", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/frontendEndpointNameParameter" + }, + { + "description": "Frontend endpoint properties needed to create a new endpoint.", + "in": "body", + "name": "frontendEndpointParameters", + "required": true, + "schema": { + "$ref": "#/definitions/FrontendEndpoint" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/FrontendEndpoint" + } + }, + "201": { + "description": "Created. The request has been fulfilled and a new frontend endpoint has been created.", + "schema": { + "$ref": "#/definitions/FrontendEndpoint" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/FrontendEndpoint" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update specific Frontend Endpoint": { + "$ref": "./examples/FrontdoorFrontendEndpointCreate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "FrontDoors" + ], + "description": "Deletes an existing frontend endpoint with the specified parameters.", + "operationId": "FrontendEndpoints_Delete", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/frontendEndpointNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously." + }, + "204": { + "description": "No Content. The request has been accepted but the Backend Pool was not found." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Backend Pool": { + "$ref": "./examples/FrontdoorFrontendEndpointDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/purge": { + "post": { + "tags": [ + "FrontDoors" + ], + "description": "Removes a content from Front Door.", + "operationId": "Endpoints_PurgeContent", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "name": "contentFilePaths", + "in": "body", + "description": "The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.", + "required": true, + "schema": { + "$ref": "#/definitions/PurgeParameters" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Purge content from Front Door": { + "$ref": "./examples/FrontdoorPurgeContent.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps": { + "post": { + "tags": [ + "FrontDoors" + ], + "description": "Enables a frontendEndpoint for HTTPS traffic", + "operationId": "FrontendEndpoints_EnableHttps", + "x-ms-examples": { + "FrontendEndpoints_EnableHttps": { + "$ref": "./examples/FrontdoorEnableHttps.json" + } + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/frontendEndpointNameParameter" + }, + { + "name": "customHttpsConfiguration", + "in": "body", + "description": "The configuration specifying how to enable HTTPS", + "required": true, + "schema": { + "$ref": "#/definitions/CustomHttpsConfiguration" + } + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/disableHttps": { + "post": { + "tags": [ + "FrontDoors" + ], + "description": "Disables a frontendEndpoint for HTTPS traffic", + "operationId": "FrontendEndpoints_DisableHttps", + "x-ms-examples": { + "FrontendEndpoints_DisableHttps": { + "$ref": "./examples/FrontdoorDisableHttps.json" + } + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "#/parameters/frontendEndpointNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/validateCustomDomain": { + "post": { + "tags": [ + "FrontDoors" + ], + "description": "Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.", + "operationId": "FrontDoors_ValidateCustomDomain", + "x-ms-examples": { + "FrontDoor_ValidateCustomDomain": { + "$ref": "./examples/FrontdoorValidateCustomDomain.json" + } + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/frontDoorNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "customDomainProperties", + "in": "body", + "description": "Custom domain to be validated.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateCustomDomainInput" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateCustomDomainOutput" + } + }, + "default": { + "description": "Front Door error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "FrontDoor": { + "properties": { + "properties": { + "description": "Properties of the Front Door Load Balancer", + "x-ms-client-flatten": true, + "$ref": "#/definitions/FrontDoorProperties" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there." + }, + "FrontDoorUpdateParameters": { + "description": "The properties needed to update a Front Door", + "properties": { + "friendlyName": { + "description": "A friendly name for the frontDoor", + "type": "string" + }, + "routingRules": { + "description": "Routing rules associated with this Front Door.", + "type": "array", + "items": { + "description": "A routing rule", + "$ref": "#/definitions/RoutingRule" + } + }, + "loadBalancingSettings": { + "description": "Load balancing settings associated with this Front Door instance.", + "type": "array", + "items": { + "description": "A load balancing settings", + "$ref": "#/definitions/LoadBalancingSettingsModel" + } + }, + "healthProbeSettings": { + "description": "Health probe settings associated with this Front Door instance.", + "type": "array", + "items": { + "description": "A health probe settings", + "$ref": "#/definitions/HealthProbeSettingsModel" + } + }, + "backendPools": { + "description": "Backend pools available to routing rules.", + "type": "array", + "items": { + "description": "A backend pool", + "$ref": "#/definitions/BackendPool" + } + }, + "frontendEndpoints": { + "description": "Frontend endpoints available to routing rules.", + "type": "array", + "items": { + "description": "A frontend endpoint", + "$ref": "#/definitions/FrontendEndpoint" + } + }, + "backendPoolsSettings": { + "description": "Settings for all backendPools", + "$ref": "#/definitions/BackendPoolsSettings" + }, + "enabledState": { + "description": "Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorEnabledState", + "modelAsString": true + } + } + } + }, + "FrontDoorProperties": { + "description": "The JSON object that contains the properties required to create an endpoint.", + "allOf": [ + { + "$ref": "#/definitions/FrontDoorUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status of the Front Door.", + "$ref": "#/definitions/ResourceState" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the Front Door." + }, + "cname": { + "readOnly": true, + "type": "string", + "description": "The host that each frontendEndpoint must CNAME to." + } + } + }, + "FrontDoorListResult": { + "description": "Result of the request to list Front Doors. It contains a list of Front Door objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/FrontDoor" + }, + "description": "List of Front Doors within a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of Front Door objects if there are any." + } + } + }, + "PurgeParameters": { + "type": "object", + "description": "Parameters required for content purge.", + "required": [ + "contentPaths" + ], + "properties": { + "contentPaths": { + "description": "The path to the content to be purged. Can describe a file path or a wild card directory.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RoutingRule": { + "properties": { + "properties": { + "description": "Properties of the Front Door Routing Rule", + "x-ms-client-flatten": true, + "$ref": "#/definitions/RoutingRuleProperties" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "A routing rule represents a specification for traffic to treat and where to send it, along with health probe information." + }, + "RoutingRuleProperties": { + "description": "The JSON object that contains the properties required to create a routing rule.", + "allOf": [ + { + "$ref": "#/definitions/RoutingRuleUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status.", + "$ref": "#/definitions/ResourceState" + } + } + }, + "RoutingRuleListResult": { + "description": "Result of the request to list Routing Rules. It contains a list of Routing Rule objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/RoutingRule" + }, + "description": "List of Routing Rules within a Front Door." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of RoutingRule objects if there are any." + } + } + }, + "RoutingRuleUpdateParameters": { + "description": "Routing rules to apply to an endpoint", + "type": "object", + "properties": { + "frontendEndpoints": { + "description": "Frontend endpoints associated with this rule", + "type": "array", + "items": { + "description": "A reference to a frontend endpoint", + "$ref": "./network.json#/definitions/SubResource" + } + }, + "acceptedProtocols": { + "description": "Protocol schemes to match for this rule", + "type": "array", + "items": { + "type": "string", + "description": "Accepted protocol schemes.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "FrontDoorProtocol", + "modelAsString": true + } + } + }, + "patternsToMatch": { + "description": "The route patterns of the rule.", + "type": "array", + "items": { + "type": "string", + "description": "A route pattern of the rule. Must not have any * except possibly after the final / at the end of the path." + } + }, + "enabledState": { + "description": "Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "routingRuleEnabledState", + "modelAsString": true + } + }, + "routeConfiguration": { + "description": "A reference to the routing configuration.", + "$ref": "#/definitions/RouteConfiguration" + } + } + }, + "RouteConfiguration": { + "discriminator": "@odata.type", + "description": "Base class for all types of Route.", + "properties": { + "@odata.type": { + "type": "string" + } + }, + "required": [ + "@odata.type" + ] + }, + "ForwardingConfiguration": { + "description": "Describes Forwarding Route.", + "x-ms-discriminator-value": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "properties": { + "customForwardingPath": { + "description": "A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.", + "type": "string" + }, + "forwardingProtocol": { + "description": "Protocol this rule will use when forwarding traffic to backends.", + "type": "string", + "enum": [ + "HttpOnly", + "HttpsOnly", + "MatchRequest" + ], + "x-ms-enum": { + "name": "FrontDoorForwardingProtocol", + "modelAsString": true + } + }, + "cacheConfiguration": { + "description": "The caching configuration associated with this rule.", + "$ref": "#/definitions/CacheConfiguration" + }, + "backendPool": { + "description": "A reference to the BackendPool which this rule routes to.", + "$ref": "./network.json#/definitions/SubResource" + } + }, + "allOf": [ + { + "$ref": "#/definitions/RouteConfiguration" + } + ] + }, + "RedirectConfiguration": { + "description": "Describes Redirect Route.", + "x-ms-discriminator-value": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", + "properties": { + "redirectType": { + "description": "The redirect type the rule will use when redirecting traffic.", + "type": "string", + "enum": [ + "Moved", + "Found", + "TemporaryRedirect", + "PermanentRedirect" + ], + "x-ms-enum": { + "name": "FrontDoorRedirectType", + "modelAsString": true + } + }, + "redirectProtocol": { + "description": "The protocol of the destination to where the traffic is redirected", + "type": "string", + "enum": [ + "HttpOnly", + "HttpsOnly", + "MatchRequest" + ], + "x-ms-enum": { + "name": "FrontDoorRedirectProtocol", + "modelAsString": true + } + }, + "customHost": { + "type": "string", + "description": "Host to redirect. Leave empty to use the incoming host as the destination host." + }, + "customPath": { + "type": "string", + "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path." + }, + "customFragment": { + "type": "string", + "description": "Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #." + }, + "customQueryString": { + "description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.", + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/RouteConfiguration" + } + ] + }, + "Backend": { + "description": "Backend address of a frontDoor load balancer.", + "type": "object", + "properties": { + "address": { + "description": "Location of the backend (IP address or FQDN)", + "type": "string" + }, + "httpPort": { + "description": "The HTTP TCP port number. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "httpsPort": { + "description": "The HTTPS TCP port number. Must be between 1 and 65535.", + "type": "integer", + "maximum": 65535, + "exclusiveMaximum": false, + "minimum": 1, + "exclusiveMinimum": false + }, + "enabledState": { + "description": "Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "backendEnabledState", + "modelAsString": true + } + }, + "priority": { + "description": "Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.", + "type": "integer", + "maximum": 5, + "minimum": 1 + }, + "weight": { + "description": "Weight of this endpoint for load balancing purposes.", + "type": "integer", + "maximum": 1000, + "minimum": 1 + }, + "backendHostHeader": { + "description": "The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.", + "type": "string" + } + } + }, + "LoadBalancingSettingsModel": { + "properties": { + "properties": { + "description": "Properties of the load balancing settings", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LoadBalancingSettingsProperties" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Load balancing settings for a backend pool" + }, + "LoadBalancingSettingsProperties": { + "description": "The JSON object that contains the properties required to create load balancing settings", + "allOf": [ + { + "$ref": "#/definitions/LoadBalancingSettingsUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status.", + "$ref": "#/definitions/ResourceState" + } + } + }, + "LoadBalancingSettingsListResult": { + "description": "Result of the request to list load balancing settings. It contains a list of load balancing settings objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/LoadBalancingSettingsModel" + }, + "description": "List of Backend Pools within a Front Door." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of LoadBalancingSettings objects if there are any." + } + } + }, + "LoadBalancingSettingsUpdateParameters": { + "description": "Round-Robin load balancing settings for a backend pool", + "type": "object", + "properties": { + "sampleSize": { + "description": "The number of samples to consider for load balancing decisions", + "type": "integer" + }, + "successfulSamplesRequired": { + "description": "The number of samples within the sample period that must succeed", + "type": "integer" + }, + "additionalLatencyMilliseconds": { + "description": "The additional latency in milliseconds for probes to fall into the lowest latency bucket", + "type": "integer" + } + } + }, + "HealthProbeSettingsModel": { + "properties": { + "properties": { + "description": "Properties of the health probe settings", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HealthProbeSettingsProperties" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Load balancing settings for a backend pool" + }, + "HealthProbeSettingsProperties": { + "description": "The JSON object that contains the properties required to create a health probe settings.", + "allOf": [ + { + "$ref": "#/definitions/HealthProbeSettingsUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status.", + "$ref": "#/definitions/ResourceState" + } + } + }, + "HealthProbeSettingsListResult": { + "description": "Result of the request to list HealthProbeSettings. It contains a list of HealthProbeSettings objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/HealthProbeSettingsModel" + }, + "description": "List of HealthProbeSettings within a Front Door." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of HealthProbeSettings objects if there are any." + } + } + }, + "HealthProbeSettingsUpdateParameters": { + "description": "L7 health probe settings for a backend pool", + "type": "object", + "properties": { + "path": { + "description": "The path to use for the health probe. Default is /", + "type": "string" + }, + "protocol": { + "description": "Protocol scheme to use for this probe", + "type": "string", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "FrontDoorProtocol", + "modelAsString": true + } + }, + "intervalInSeconds": { + "description": "The number of seconds between health probes.", + "type": "integer" + }, + "healthProbeMethod": { + "description": "Configures which HTTP method to use to probe the backends defined under backendPools.", + "type": "string", + "enum": [ + "GET", + "HEAD" + ], + "x-ms-enum": { + "name": "FrontDoorHealthProbeMethod", + "modelAsString": true + }, + "default": "HEAD" + }, + "enabledState": { + "description": "Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "HealthProbeEnabled", + "modelAsString": true + } + } + } + }, + "BackendPool": { + "properties": { + "properties": { + "description": "Properties of the Front Door Backend Pool", + "x-ms-client-flatten": true, + "$ref": "#/definitions/BackendPoolProperties" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "A backend pool is a collection of backends that can be routed to." + }, + "BackendPoolUpdateParameters": { + "description": "A collection of backends that can be routed to.", + "type": "object", + "properties": { + "backends": { + "description": "The set of backends for this pool", + "type": "array", + "items": { + "$ref": "#/definitions/Backend" + } + }, + "loadBalancingSettings": { + "description": "Load balancing settings for a backend pool", + "$ref": "./network.json#/definitions/SubResource" + }, + "healthProbeSettings": { + "description": "L7 health probe settings for a backend pool", + "$ref": "./network.json#/definitions/SubResource" + } + } + }, + "BackendPoolProperties": { + "description": "The JSON object that contains the properties required to create a routing rule.", + "allOf": [ + { + "$ref": "#/definitions/BackendPoolUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status.", + "$ref": "#/definitions/ResourceState" + } + } + }, + "BackendPoolListResult": { + "description": "Result of the request to list Backend Pools. It contains a list of Backend Pools objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/BackendPool" + }, + "description": "List of Backend Pools within a Front Door." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of BackendPool objects if there are any." + } + } + }, + "CacheConfiguration": { + "description": "Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.", + "type": "object", + "properties": { + "queryParameterStripDirective": { + "description": "Treatment of URL query terms when forming the cache key.", + "enum": [ + "StripNone", + "StripAll" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorQuery", + "modelAsString": true + } + }, + "dynamicCompression": { + "description": "Whether to use dynamic compression for cached content", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "DynamicCompressionEnabled", + "modelAsString": true + } + } + } + }, + "KeyVaultCertificateSourceParameters": { + "description": "Parameters required for bring-your-own-certification via Key Vault", + "type": "object", + "properties": { + "vault": { + "description": "The Key Vault containing the SSL certificate", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + } + }, + "secretName": { + "type": "string", + "description": "The name of the Key Vault secret representing the full certificate PFX" + }, + "secretVersion": { + "type": "string", + "description": "The version of the Key Vault secret representing the full certificate PFX" + } + } + }, + "FrontDoorCertificateSourceParameters": { + "description": "Parameters required for enabling SSL with Front Door-managed certificates", + "type": "object", + "properties": { + "certificateType": { + "description": "Defines the type of the certificate used for secure connections to a frontendEndpoint", + "enum": [ + "Dedicated" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorCertificateType", + "modelAsString": true + } + } + } + }, + "CustomHttpsConfiguration": { + "description": "Https settings for a domain", + "type": "object", + "required": ["minimumTlsVersion", "certificateSource", "protocolType"], + "properties": { + "certificateSource": { + "description": "Defines the source of the SSL certificate", + "enum": [ + "AzureKeyVault", + "FrontDoor" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorCertificateSource", + "modelAsString": true + } + }, + "protocolType": { + "description": "Defines the TLS extension protocol that is used for secure delivery", + "enum": [ + "ServerNameIndication" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorTlsProtocolType", + "modelAsString": true + } + }, + "minimumTlsVersion": { + "description": "The minimum TLS version required from the clients to establish an SSL handshake with Front Door.", + "enum": [ + "1.0", + "1.2" + ], + "type": "string", + "x-ms-enum": { + "name": "MinimumTLSVersion", + "modelAsString": true + } + }, + "keyVaultCertificateSourceParameters": { + "description": "KeyVault certificate source parameters (if certificateSource=AzureKeyVault)", + "x-ms-client-flatten": true, + "$ref": "#/definitions/KeyVaultCertificateSourceParameters" + }, + "frontDoorCertificateSourceParameters": { + "description": "Parameters required for enabling SSL with Front Door-managed certificates (if certificateSource=FrontDoor)", + "x-ms-client-flatten": true, + "$ref": "#/definitions/FrontDoorCertificateSourceParameters" + } + } + }, + "FrontendEndpoint": { + "properties": { + "properties": { + "description": "Properties of the Frontend endpoint", + "x-ms-client-flatten": true, + "$ref": "#/definitions/FrontendEndpointProperties" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "A frontend endpoint used for routing." + }, + "FrontendEndpointProperties": { + "description": "The JSON object that contains the properties required to create a frontend endpoint.", + "allOf": [ + { + "$ref": "#/definitions/FrontendEndpointUpdateParameters" + } + ], + "properties": { + "resourceState": { + "description": "Resource status.", + "$ref": "#/definitions/ResourceState" + }, + "customHttpsProvisioningState": { + "description": "Provisioning status of Custom Https of the frontendEndpoint.", + "readOnly": true, + "enum": [ + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "CustomHttpsProvisioningState", + "modelAsString": true + } + }, + "customHttpsProvisioningSubstate": { + "description": "Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.", + "readOnly": true, + "enum": [ + "SubmittingDomainControlValidationRequest", + "PendingDomainControlValidationREquestApproval", + "DomainControlValidationRequestApproved", + "DomainControlValidationRequestRejected", + "DomainControlValidationRequestTimedOut", + "IssuingCertificate", + "DeployingCertificate", + "CertificateDeployed", + "DeletingCertificate", + "CertificateDeleted" + ], + "type": "string", + "x-ms-enum": { + "name": "CustomHttpsProvisioningSubstate", + "modelAsString": true + } + }, + "customHttpsConfiguration": { + "description": "The configuration specifying how to enable HTTPS", + "readOnly": true, + "$ref": "#/definitions/CustomHttpsConfiguration" + } + } + }, + "FrontendEndpointUpdateParameters": { + "description": "Frontend endpoint used in routing rule", + "type": "object", + "properties": { + "hostName": { + "description": "The host name of the frontendEndpoint. Must be a domain name.", + "type": "string" + }, + "sessionAffinityEnabledState": { + "description": "Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SessionAffinityEnabledState", + "modelAsString": true + } + }, + "sessionAffinityTtlSeconds": { + "description": "UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.", + "type": "integer" + }, + "webApplicationFirewallPolicyLink": { + "description": "Defines the Web Application Firewall policy for each host (if applicable)", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + } + } + } + }, + "FrontendEndpointsListResult": { + "description": "Result of the request to list frontend endpoints. It contains a list of Frontend endpoint objects and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/FrontendEndpoint" + }, + "description": "List of Frontend endpoints within a Front Door." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of frontend endpoints if there are any." + } + } + }, + "BackendPoolsSettings": { + "description": "Settings that apply to all backend pools.", + "type": "object", + "properties": { + "enforceCertificateNameCheck": { + "description": "Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "enforceCertificateNameCheckEnabledState", + "modelAsString": true + }, + "default": "Enabled" + }, + "sendRecvTimeoutSeconds": { + "description": "Send and receive timeout on forwarding request to the backend. When timeout is reached, the request fails and returns.", + "type": "integer", + "minimum": 16, + "exclusiveMinimum": false + } + } + }, + "ResourceState": { + "title": "Resource status of the Front Door or Front Door SubResource.", + "readOnly": true, + "enum": [ + "Creating", + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "FrontDoorResourceState", + "modelAsString": true + } + }, + "ValidateCustomDomainInput": { + "description": "Input of the custom domain to be validated for DNS mapping.", + "type": "object", + "required": [ + "hostName" + ], + "properties": { + "hostName": { + "description": "The host name of the custom domain. Must be a domain name.", + "type": "string" + } + } + }, + "ValidateCustomDomainOutput": { + "description": "Output of custom domain validation.", + "type": "object", + "properties": { + "customDomainValidated": { + "description": "Indicates whether the custom domain is valid or not.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the custom domain is not valid.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Error message describing why the custom domain is not valid.", + "readOnly": true, + "type": "string" + } + } + }, + "ErrorResponse": { + "description": "Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "readOnly": true, + "type": "string" + } + } + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The resource name to validate.", + "type": "string" + }, + "type": { + "description": "The type of the resource whose name is to be validated.", + "$ref": "#/definitions/ResourceType" + } + } + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailability": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "enum": [ + "Available", + "Unavailable" + ], + "type": "string", + "x-ms-enum": { + "name": "Availability", + "modelAsString": true + } + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" + } + } + }, + "ResourceType": { + "description": "Type of Front Door resource used in CheckNameAvailability.", + "enum": [ + "Microsoft.Network/frontDoors", + "Microsoft.Network/frontDoors/frontendEndpoints" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceType", + "modelAsString": false + } + } + }, + "parameters": { + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_\\-\\(\\)\\.]*[^\\.]$", + "minLength": 1, + "maxLength": 80, + "x-ms-parameter-location": "method", + "description": "Name of the Resource group within the Azure subscription." + }, + "frontDoorNameParameter": { + "name": "frontDoorName", + "in": "path", + "required": true, + "type": "string", + "x-new-pattern": "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$", + "pattern": "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$", + "minLength": 5, + "maxLength": 64, + "x-ms-parameter-location": "method", + "description": "Name of the Front Door which is globally unique." + }, + "routingRuleNameParameter": { + "name": "routingRuleName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "x-previous-pattern": "^[-\\w\\d\\._]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method", + "description": "Name of the Routing Rule which is unique within the Front Door." + }, + "healthProbeSettingsNameParameter": { + "name": "healthProbeSettingsName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "x-previous-pattern": "^[-\\w\\d\\._]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method", + "description": "Name of the health probe settings which is unique within the Front Door." + }, + "loadBalancingSettingsNameParameter": { + "name": "loadBalancingSettingsName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "x-previous-pattern": "^[-\\w\\d\\._]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method", + "description": "Name of the load balancing settings which is unique within the Front Door." + }, + "backendPoolNameParameter": { + "name": "backendPoolName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "x-previous-pattern": "^[-\\w\\d\\._]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method", + "description": "Name of the Backend Pool which is unique within the Front Door." + }, + "frontendEndpointNameParameter": { + "name": "frontendEndpointName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "x-previous-pattern": "^[-\\w\\d\\._]+$", + "minLength": 1, + "maxLength": 255, + "x-ms-parameter-location": "method", + "description": "Name of the Frontend endpoint which is unique within the Front Door." + } + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json new file mode 100644 index 000000000000..fae4970303db --- /dev/null +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json @@ -0,0 +1,167 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2018-02-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "ErrorDetails": { + "properties": { + "code": { + "type": "string" + }, + "target": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "Error": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + } + }, + "innerError": { + "type": "string" + } + } + }, + "AzureAsyncOperationResult": { + "properties": { + "status": { + "type": "string", + "description": "Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "NetworkOperationStatus", + "modelAsString": true + } + }, + "error": { + "$ref": "#/definitions/Error" + } + }, + "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Common resource representation.", + "x-ms-azure-resource": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } +} From 619174ddc7dbc31e2a4b0b504b978cedd09cbb60 Mon Sep 17 00:00:00 2001 From: yanfa317 <53584318+yanfa317@users.noreply.github.com> Date: Wed, 7 Aug 2019 22:54:32 -0700 Subject: [PATCH 490/495] Managed Network Resource Provider OpenAPI Specs (#6891) * Managed Network Resource Provider OpenAPI Specs * add readme go * fix readme go --- .../ManagedNetwork/ManagedNetworksDelete.json | 14 + .../ManagedNetwork/ManagedNetworksGet.json | 46 + .../ManagedNetworksListByResourceGroup.json | 50 + .../ManagedNetworksListBySubscription.json | 49 + .../ManagedNetwork/ManagedNetworksPatch.json | 84 + .../ManagedNetwork/ManagedNetworksPut.json | 105 ++ .../ManagedNetworkGroupsDelete.json | 19 + .../ManagedNetworkGroupsGet.json | 36 + ...agedNetworkGroupsListByManagedNetwork.json | 40 + .../ManagedNetworkGroupsPut.json | 69 + .../ManagedNetworkPeeringPoliciesDelete.json | 20 + .../ManagedNetworkPeeringPoliciesGet.json | 36 + ...rkPeeringPoliciesListByManagedNetwork.json | 39 + .../ManagedNetworkPeeringPoliciesPut.json | 69 + .../ScopeAssignmentsDelete.json | 11 + .../ScopeAssignment/ScopeAssignmentsGet.json | 20 + .../ScopeAssignment/ScopeAssignmentsList.json | 27 + .../ScopeAssignment/ScopeAssignmentsPut.json | 39 + .../2019-06-01-preview/managedNetwork.json | 1559 +++++++++++++++++ .../resource-manager/readme.go.md | 26 + .../managednetwork/resource-manager/readme.md | 60 + 21 files changed, 2418 insertions(+) create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json create mode 100644 specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json create mode 100644 specification/managednetwork/resource-manager/readme.go.md create mode 100644 specification/managednetwork/resource-manager/readme.md diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json new file mode 100644 index 000000000000..8e41b536957f --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json new file mode 100644 index 000000000000..ff05fdc0b523 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -0,0 +1,46 @@ +{ + "title": "Get Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork" + }, + "responses": { + "200": { + "body": { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json new file mode 100644 index 000000000000..18421c769fc2 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "Get Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10" + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json new file mode 100644 index 000000000000..6ffd8c513294 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "Get Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10" + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json new file mode 100644 index 000000000000..abbf83c053dc --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json @@ -0,0 +1,84 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "parameters": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + }, + "201": { + "body": { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json new file mode 100644 index 000000000000..9d17960763fe --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json @@ -0,0 +1,105 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetwork": { + "tags": {}, + "location": "eastus", + "properties": { + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + }, + "201": { + "body": { + "name": "myManagedNetwork", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork", + "type": "Microsoft.ManagedNetwork/managedNetworks", + "tags": {}, + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "scope": { + "managementGroups": [ + { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, + { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + ], + "subscriptions": [ + { "id": "subscriptionA" }, + { "id": "subscriptionB" } + ], + "virtualNetworks": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, + { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + ] + }, + "connectivity": { + "groups": [], + "peerings": [] + } + } + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json new file mode 100644 index 000000000000..cb2c13ea8914 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete Managed Network Group", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkGroupName": "myManagedNetworkGroup1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json new file mode 100644 index 000000000000..633ca05a6aec --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -0,0 +1,36 @@ +{ + "title": "Get Managed Network Group", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkGroupName": "myManagedNetworkGroup1" + }, + "responses": { + "200": { + "body": { + "name": "myManagedNetworkGroup1", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1", + "type": "Microsoft.ManagedNetwork/managedNetworkGroups", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf1", + "managementGroups": [], + "subscriptions": [], + "virtualNetworks": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + ] + } + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json new file mode 100644 index 000000000000..9615d6f44dae --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json @@ -0,0 +1,40 @@ +{ + "title": "Get Managed Network Group", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myManagedNetworkGroup1", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1", + "type": "Microsoft.ManagedNetwork/managedNetworkGroups", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf1", + "managementGroups": [], + "subscriptions": [], + "virtualNetworks": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10" + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json new file mode 100644 index 000000000000..7fb3c290d931 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json @@ -0,0 +1,69 @@ +{ + "title": "Create/Update Managed Network Group", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkGroupName": "myManagedNetworkGroup1", + "managedNetworkGroup": { + "properties": { + "managementGroups": [], + "subscriptions": [], + "virtualNetworks": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "myManagedNetworkGroup1", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1", + "type": "Microsoft.ManagedNetwork/managedNetworkGroups", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf1", + "managementGroups": [], + "subscriptions": [], + "virtualNetworks": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + ] + } + } + }, + "201": { + "body": { + "name": "myManagedNetworkGroup1", + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1", + "type": "Microsoft.ManagedNetwork/managedNetworkGroups", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf1", + "managementGroups": [], + "subscriptions": [], + "virtualNetworks": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + ], + "subnets": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + ] + } + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json new file mode 100644 index 000000000000..87f187d8277f --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json @@ -0,0 +1,20 @@ +{ + "title": "Get Managed Network Peering Policy", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkPeeringPolicyName": "myHubAndSpoke" + + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json new file mode 100644 index 000000000000..1c04aafa90f8 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -0,0 +1,36 @@ +{ + "title": "Get Managed Network Peering Policy", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkPeeringPolicyName": "myHubAndSpoke" + }, + "responses": { + "200": { + "body": { + "name": "myHubAndSpoke", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + } + ] + } + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json new file mode 100644 index 000000000000..f8071caf899b --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json @@ -0,0 +1,39 @@ +{ + "title": "Get Managed Network Group", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork" + }, + "responses": { + "200": { + "body": { + "value":[ + { + "name": "myHubAndSpoke", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + } + ] + } + }], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10" + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json new file mode 100644 index 000000000000..5f538e1c27d8 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json @@ -0,0 +1,69 @@ +{ + "title": "Create/Update Managed Network Peering Policy", + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "managedNetworkName": "myManagedNetwork", + "managedNetworkPeeringPolicyName": "myHubAndSpoke", + "managedNetworkPolicy": { + "properties": { + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "myHubAndSpoke", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + } + ] + } + } + }, + "201": { + "body": { + "name": "myHubAndSpoke", + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + } + ] + } + } + } + } +} + + + + diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json new file mode 100644 index 000000000000..f9c417947452 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json @@ -0,0 +1,11 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "scope": "subscriptions/subscriptionC", + "scopeAssignmentName": "subscriptionCAssignment" + }, + "responses": { + "200": {} + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json new file mode 100644 index 000000000000..0a80f8a74d2c --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json @@ -0,0 +1,20 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "scope": "subscriptions/subscriptionC", + "scopeAssignmentName": "subscriptionCAssignment" + }, + "responses": { + "200": { + "body": { + "name": "subscriptionCAssignment", + "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment", + "type": "Microsoft.ManagedNetwork/scopeAssignment", + "properties": { + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json new file mode 100644 index 000000000000..3fc1e7f6ba92 --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json @@ -0,0 +1,27 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "scope": "subscriptions/subscriptionC" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "subscriptionCAssignemnt", + "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment", + "type": "Microsoft.ManagedNetwork/scopeAssignment", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10" + + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json new file mode 100644 index 000000000000..e7922c56408a --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json @@ -0,0 +1,39 @@ +{ + "title": "Create/Update Managed Network", + "parameters": { + "api-version": "2019-06-01", + "scope": "subscriptions/subscriptionC", + "scopeAssignmentName": "subscriptionCAssignment", + "parameters": { + "properties": { + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } + } + }, + "responses": { + "200": { + "body": { + "name": "subscriptionCAssignment", + "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment", + "type": "Microsoft.ManagedNetwork/scopeAssignment", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } + } + }, + "201": { + "body": { + "name": "subscriptionCAssignment", + "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment", + "type": "Microsoft.ManagedNetwork/scopeAssignment", + "properties": { + "provisioningState": "Succeeded", + "etag": "sadf-asdf-asdf-asdf", + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } + } + } + } +} diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json new file mode 100644 index 000000000000..1738e88c0dfa --- /dev/null +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json @@ -0,0 +1,1559 @@ + { + "swagger": "2.0", + "info": { + "title": "ManagedNetworkManagementClient", + "description": "The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.", + "version": "2019-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Get", + "description": "The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworksGet":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_CreateOrUpdate", + "description": "The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name", + "parameters": [ + { + "name": "managedNetwork", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetwork" + }, + "description": "Parameters supplied to the create/update a Managed Network Resource" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" + } + + }, + "201": { + "description": "Create successful. The operation returns the resulting Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworksPut":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksPut.json" + } + } + }, + "delete": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Delete", + "description": "The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworksDelete":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + }, + "patch": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Update", + "description": "Updates the specified Managed Network resource tags.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkUpdate" + }, + "description": "Parameters supplied to update application gateway tags and/or scope." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the updated Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" + } + }, + "201": { + "description": "Update successful. The operation returns the updated Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworksPatch":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksPatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_ListByResourceGroup", + "description": "The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network resources under the specified resource group in a paginated format", + "schema": { + "$ref": "#/definitions/ManagedNetworkListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworksListByResourceGroup":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_ListBySubscription", + "description": "The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network resources under the current subscription in a paginated format.", + "schema": { + "$ref": "#/definitions/ManagedNetworkListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedNetworksListBySubscription":{ + "$ref": "./examples/ManagedNetwork/ManagedNetworksListBySubscription.json" + } + } + } + }, + + "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}": { + "get": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_Get", + "description": "Get the specified scope assignment.", + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment.", + "x-ms-skip-url-encoding": true + }, + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeAssignmentsGet": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsGet.json" + } + } + }, + "put": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_CreateOrUpdate", + "description": "Creates a scope assignment.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeAssignment" + }, + "description": "Parameters supplied to the specify which Managed Network this scope is being assigned" + }, + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.", + "x-ms-skip-url-encoding": true + }, + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" + } + }, + "201": { + "description": "Created - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeAssignmentsPut": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsPut.json" + } + } + }, + "delete": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_Delete", + "description": "Deletes a scope assignment.", + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of the scope assignment to delete.", + "x-ms-skip-url-encoding": true + }, + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete Succeed." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed." + } + }, + "x-ms-examples": { + "ScopeAssignmentsDelete": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsDelete.json" + } + } + } + }, + "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments": { + "get": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_List", + "description": "Get the specified scope assignment.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignmentListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeAssignmentsList": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsList.json" + }} + } + }, + + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}": { + "get": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_Get", + "description": "The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" + } + + ], + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagementNetworkGroupsGet":{ + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_CreateOrUpdate", + "description": "The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource", + "parameters": [ + + { + "name": "managedNetworkGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" + }, + "description": "Parameters supplied to the create/update a Managed Network Group resource" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagementNetworkGroupsPut":{ + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + }, + "delete": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_Delete", + "description": "The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagementNetworkGroupsDelete":{ + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + } + + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups":{ + "get": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_ListByManagedNetwork", + "description": "The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network Group resources under the specified Managed Network in a paginated format.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroupListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedNetworksGroupsListByManagedNetwork":{ + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json" + } + } + } + }, + + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}": { + "get": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_Get", + "description": "The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesGet":{ + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_CreateOrUpdate", + "description": "The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy", + "parameters": [ + { + "name": "managedNetworkPolicy", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + }, + "description": "Parameters supplied to create/update a Managed Network Peering Policy" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesPut":{ + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + }, + "delete": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_Delete", + "description": "The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesDelete":{ + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + } + + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies":{ + "get": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_ListByManagedNetwork", + "description": "The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesListByManagedNetwork":{ + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json" + } + } + } + }, + + "/providers/Microsoft.ManagedNetwork/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available MNC operations.", + "operationId": "Operations_List", + "parameters": [{ + "$ref": "#/parameters/ApiVersionParameter" + }], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ManagedNetwork": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedNetworkProperties", + "description": "The MNC properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "The Managed Network resource" + }, + "ManagedNetworkProperties": { + "type": "object", + "properties": { + "scope": { + "readOnly": true, + "$ref": "#/definitions/Scope", + "description": "The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network" + }, + "connectivity": { + "$ref": "#/definitions/ConnectivityCollection", + "readOnly": true, + "description": "The collection of groups and policies concerned with connectivity" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of Managed Network" + }, + "ManagedNetworkUpdate": { + "type": "object", + "properties": { + "tags": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TagsObject", + "description": "Updates the tags property of the Managed Network" + } + }, + "description": "Update Tags of Managed Network" + }, + "ManagedNetworkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetwork" + }, + "description": "Gets a page of ManagedNetworks" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results." + }, + + "Scope": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of management groups covered by the Managed Network" + }, + "subscriptions": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subscriptions covered by the Managed Network" + }, + "virtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of virtual nets covered by the Managed Network" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subnets covered by the Managed Network" + } + }, + "description": "Scope of a Managed Network" + }, + + "ScopeAssignment": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ScopeAssignmentProperties", + "description": "The Scope Assignment properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network resource" + }, + "ScopeAssignmentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ScopeAssignment" + }, + "description": "Gets a page of ScopeAssignment" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results." + }, + + "ScopeAssignmentProperties": { + "type": "object", + "properties": { + "assignedManagedNetwork": { + "type": "string", + "description": "The managed network ID with scope will be assigned to." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of Managed Network" + }, + + "ConnectivityCollection": { + "properties": { + "groups": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkGroup" + }, + "description": "The collection of connectivity related Managed Network Groups within the Managed Network" + }, + "peerings": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + }, + "description": "The collection of Managed Network Peering Policies within the Managed Network" + } + }, + "description": "The collection of Connectivity related groups and policies within the Managed Network" + + }, + + "ManagedNetworkGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedNetworkGroupProperties", + "description": "Gets or sets the properties of a network group" + }, + "kind": { + "description": "Responsibility role under which this Managed Network Group will be created", + "enum": [ + "Connectivity" + ], + "type": "string", + "x-ms-enum": { + "name": "Kind", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network Group resource" + }, + "ManagedNetworkGroupProperties": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of management groups covered by the Managed Network" + }, + "subscriptions": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subscriptions covered by the Managed Network" + }, + "virtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of virtual nets covered by the Managed Network" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subnets covered by the Managed Network" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of a Managed Network Group" + }, + "ManagedNetworkGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkGroup" + }, + "description": "Gets a page of ManagedNetworkGroup" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results." + }, + "ManagedNetworkPeeringPolicy": { + "properties": { + "properties": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties", + "description": "Gets or sets the properties of a Managed Network Policy" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network Peering Policy resource" + }, + "ManagedNetworkPeeringPolicyProperties": { + "discriminator": "peeringPolicyType", + "properties": { + "peeringPolicyType": { + "type": "string", + "enum": ["HubAndSpokeTopology", "MeshTopology"], + "x-ms-enum": { + "name": "type", + "modelAsString": true + }, + "description": "Gets or sets the connectivity type of a network structure policy" + }, + "hub": { + "$ref": "#/definitions/ResourceId", + "description": "Gets or sets the hub virtual network ID" + }, + "spokes": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the spokes group IDs" + }, + "mesh": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the mesh group IDs" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "required": [ + "peeringPolicyType" + ], + "description": "Properties of a Managed Network Peering Policy" + }, + "HubAndSpokePeeringPolicyProperties": { + "x-ms-discriminator-value": "HubAndSpokeTopology", + "properties": { + "hub": { + "$ref": "#/definitions/ResourceId", + "description": "Gets or sets the hub virtual network ID" + }, + "spokes": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the spokes group IDs" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" + } + ], + "description": "Properties of a Hub and Spoke Peering Policy" + }, + "MeshPeeringPolicyProperties": { + "x-ms-discriminator-value": "MeshTopology", + "properties": { + "mesh": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the mesh group IDs" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" + } + ], + "description": "Properties of a Mesh Peering Policy" + }, + + "ManagedNetworkPeeringPolicyListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + }, + "description": "Gets a page of Peering Policies" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results." + }, + + "ErrorResponse": { + "description": "The error response that indicates why an operation has failed.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + } + } + }, + + "Operation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.ManagedNetwork", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Resource Provider operations supported by the Managed Network resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Resource": { + "description": "The general resource model definition", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "description": "Generic pointer to a resource" + + }, + "TagsObject": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "ResourceProperties": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.", + "enum": ["Updating", "Deleting", "Failed", "Succeeded"], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "description": "Base for resource properties." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkNameParameter": { + "name": "managedNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkGroupNameParameter": { + "name": "managedNetworkGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network Group.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkPeeringPolicyNameParameter": { + "name": "managedNetworkPeeringPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network Peering Policy.", + "x-ms-parameter-location": "method" + }, + "ListPageSizeParameter": { + "name": "$top", + "description": "May be used to limit the number of results in a page for list queries.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } + } diff --git a/specification/managednetwork/resource-manager/readme.go.md b/specification/managednetwork/resource-manager/readme.go.md new file mode 100644 index 000000000000..f1cd2be36ad8 --- /dev/null +++ b/specification/managednetwork/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: managednetwork + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-06-01-preview +``` + +### Tag: package-2019-06-01-preview and go + +These settings apply only when `--tag=package-2019-06-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-06-01-preview/$(namespace) +``` diff --git a/specification/managednetwork/resource-manager/readme.md b/specification/managednetwork/resource-manager/readme.md new file mode 100644 index 000000000000..4f685a3d25b4 --- /dev/null +++ b/specification/managednetwork/resource-manager/readme.md @@ -0,0 +1,60 @@ +# Managed Network + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Managed Network. + + + +--- +## Getting Started +To build the SDK for Managed Network, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the Managed Network API. + +``` yaml +openapi-type: arm +tag: package-2019-06-01-preview +``` + +### Tag: package-2019-03-01-preview + +These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-06-01-preview' +input-file: +- Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json +``` +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-net + - repo: azure-sdk-for-js + - repo: azure-sdk-for-node + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_managed_network'] +``` + From 8a1e364ceba55f27ec737eb3bc48a83cdcd0b70d Mon Sep 17 00:00:00 2001 From: johsun-msft <31011695+johsun-msft@users.noreply.github.com> Date: Wed, 7 Aug 2019 23:13:10 -0700 Subject: [PATCH 491/495] Update readme.md files missed from previous commit (#6900) --- .../frontdoor/resource-manager/readme.go.md | 10 ++++++++++ .../frontdoor/resource-manager/readme.md | 18 +++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/specification/frontdoor/resource-manager/readme.go.md b/specification/frontdoor/resource-manager/readme.go.md index 288feae0d19c..920ec28581f1 100644 --- a/specification/frontdoor/resource-manager/readme.go.md +++ b/specification/frontdoor/resource-manager/readme.go.md @@ -15,8 +15,18 @@ go: batch: - tag: package-2018-08-preview - tag: package-2019-04 + - tag: package-2019-05 ``` +### Tag: package-2019-05 and go + +These settings apply only when `--tag=package-2019-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-05-01/$(namespace) +``` + ### Tag: package-2019-04 and go These settings apply only when `--tag=package-2019-04 --go` is specified on the command line. diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md index ba5bf1fba548..8f9f42dccda5 100644 --- a/specification/frontdoor/resource-manager/readme.md +++ b/specification/frontdoor/resource-manager/readme.md @@ -28,7 +28,23 @@ These are the global settings for the FrontDoor API. title: FrontDoorManagementClient description: FrontDoor Client openapi-type: arm -tag: package-2019-04 +tag: package-2019-05 +``` + +### Tag: package-2019-05 + +These settings apply only when `--tag=package-2019-05` is specified on the command line. + +``` yaml $(tag) == 'package-2019-05' +input-file: +- Microsoft.Network/stable/2019-05-01/frontdoor.json +- Microsoft.Network/stable/2019-05-01/network.json +- Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json +directive: + - where: + - $.paths + suppress: + - OperationsAPIImplementation ``` ### Tag: package-2019-04 From bbb1de7cad64cb3f8cd30fb6a577e278d2bee437 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 8 Aug 2019 04:40:23 -0400 Subject: [PATCH 492/495] fix: resourcehealth model validation errors (#6897) - RecommendedActions -> recommendedActions - RecentlyResolved -> recentlyResolvedState - ActionUrlText -> actionUrlText - ActionUrl -> actionUrl - Action -> action - UnavailableOccuredTime -> unavailableOccurredTime - ResolvedTime -> resolvedTime - UnavailableSummary -> unavailabilitySummary - Remove "isArmResource" from examples because it's not in spec --- .../AvailabilityStatus_GetByResource.json | 14 ++++----- ...ilabilityStatuses_ListByResourceGroup.json | 30 +++++++++---------- ...labilityStatuses_ListBySubscriptionId.json | 30 +++++++++---------- ...ChildAvailabilityStatus_GetByResource.json | 14 ++++----- .../AvailabilityStatus_GetByResource.json | 14 ++++----- ...ilabilityStatuses_ListByResourceGroup.json | 30 +++++++++---------- ...labilityStatuses_ListBySubscriptionId.json | 30 +++++++++---------- ...ChildAvailabilityStatus_GetByResource.json | 14 ++++----- .../examples/ChildResources_List.json | 15 ++++------ 9 files changed, 93 insertions(+), 98 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatus_GetByResource.json index bd6d49d3da78..e8f5773270f2 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatus_GetByResource.json @@ -21,16 +21,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtual machine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resource blade" + "action": "To start this virtual machine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resource blade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contact support" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contact support" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json index 411098e6edb0..a6911b95fdbe 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -22,16 +22,16 @@ "detailedStatus": "We have not seen any issues with your virtual machine", "occuredTime": "2016-03-29T09:12:00Z", "reportedTime": "2016-05-04T14:11:29.7598931Z", - "RecentlyResolved": { - "UnavailableOccuredTime": "2017-02-28T00:48:00Z", - "ResolvedTime": "2017-02-28T00:49:00Z", - "UnavailableSummary": "We are sorry your SQL database is unavailable" + "recentlyResolvedState": { + "unavailableOccurredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailabilitySummary": "We are sorry your SQL database is unavailable" }, - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" } ] } @@ -51,16 +51,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contactsupport" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contactsupport" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json index 616fb352023a..e2ca64634831 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -21,16 +21,16 @@ "detailedStatus": "We have not seen any issues with your virtual machine", "occuredTime": "2016-03-29T09:12:00Z", "reportedTime": "2016-05-04T14:11:29.7598931Z", - "RecentlyResolved": { - "UnavailableOccuredTime": "2017-02-28T00:48:00Z", - "ResolvedTime": "2017-02-28T00:49:00Z", - "UnavailableSummary": "We are sorry your SQL database is unavailable" + "recentlyResolvedState": { + "unavailableOccurredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailabilitySummary": "We are sorry your SQL database is unavailable" }, - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" } ] } @@ -50,16 +50,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contactsupport" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contactsupport" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/ChildAvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/ChildAvailabilityStatus_GetByResource.json index 3ecc10994c19..d53e6a6d2ecd 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/ChildAvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/examples/ChildAvailabilityStatus_GetByResource.json @@ -19,16 +19,16 @@ "occuredTime": "2018-11-30T23:37:44Z", "reasonChronicity": "Persistent", "reportedTime": "2018-12-04T01:19:11.955255Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtual machine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resource blade" + "action": "To start this virtual machine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resource blade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contact support" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contact support" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatus_GetByResource.json index bd6d49d3da78..e8f5773270f2 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatus_GetByResource.json @@ -21,16 +21,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtual machine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resource blade" + "action": "To start this virtual machine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resource blade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contact support" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contact support" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListByResourceGroup.json index 411098e6edb0..a6911b95fdbe 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -22,16 +22,16 @@ "detailedStatus": "We have not seen any issues with your virtual machine", "occuredTime": "2016-03-29T09:12:00Z", "reportedTime": "2016-05-04T14:11:29.7598931Z", - "RecentlyResolved": { - "UnavailableOccuredTime": "2017-02-28T00:48:00Z", - "ResolvedTime": "2017-02-28T00:49:00Z", - "UnavailableSummary": "We are sorry your SQL database is unavailable" + "recentlyResolvedState": { + "unavailableOccurredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailabilitySummary": "We are sorry your SQL database is unavailable" }, - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" } ] } @@ -51,16 +51,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contactsupport" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contactsupport" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListBySubscriptionId.json index 616fb352023a..e2ca64634831 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -21,16 +21,16 @@ "detailedStatus": "We have not seen any issues with your virtual machine", "occuredTime": "2016-03-29T09:12:00Z", "reportedTime": "2016-05-04T14:11:29.7598931Z", - "RecentlyResolved": { - "UnavailableOccuredTime": "2017-02-28T00:48:00Z", - "ResolvedTime": "2017-02-28T00:49:00Z", - "UnavailableSummary": "We are sorry your SQL database is unavailable" + "recentlyResolvedState": { + "unavailableOccurredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailabilitySummary": "We are sorry your SQL database is unavailable" }, - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" } ] } @@ -50,16 +50,16 @@ "reportedTime": "2016-05-04T14:11:29.7598931Z", "rootCauseAttributionTime": "2016-03-29T09:13:00Z", "resolutionETA": "2016-03-29T09:37:00Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtualmachine, open the resource blade", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resourceblade" + "action": "To start this virtualmachine, open the resource blade", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contactsupport" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contactsupport" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildAvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildAvailabilityStatus_GetByResource.json index 3ecc10994c19..d53e6a6d2ecd 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildAvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildAvailabilityStatus_GetByResource.json @@ -19,16 +19,16 @@ "occuredTime": "2018-11-30T23:37:44Z", "reasonChronicity": "Persistent", "reportedTime": "2018-12-04T01:19:11.955255Z", - "RecommendedActions": [ + "recommendedActions": [ { - "Action": "To start this virtual machine, open the resource blade and click Start", - "ActionUrl": "<#ResourceBlade>", - "ActionUrlText": "resource blade" + "action": "To start this virtual machine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resource blade" }, { - "Action": "If you are experiencing problems you believe are caused by Azure, contact support", - "ActionUrl": "<#SupportCase>", - "ActionUrlText": "contact support" + "action": "If you are experiencing problems you believe are caused by Azure, contact support", + "actionUrl": "<#SupportCase>", + "actionUrlText": "contact support" } ] } diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildResources_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildResources_List.json index 442f5aa55947..1fd8b245187d 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildResources_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/examples/ChildResources_List.json @@ -19,8 +19,7 @@ "reasonType": "", "occuredTime": "2018-11-30T23:37:43Z", "reasonChronicity": "Persistent", - "reportedTime": "2018-12-04T01:18:25.575477Z", - "isArmResource": true + "reportedTime": "2018-12-04T01:18:25.575477Z" } }, { @@ -35,8 +34,7 @@ "reasonType": "", "occuredTime": "2018-11-30T23:37:41Z", "reasonChronicity": "Persistent", - "reportedTime": "2018-12-04T01:18:25.575477Z", - "isArmResource": true + "reportedTime": "2018-12-04T01:18:25.575477Z" } }, { @@ -51,8 +49,7 @@ "reasonType": "", "occuredTime": "2018-11-30T23:37:48Z", "reasonChronicity": "Persistent", - "reportedTime": "2018-12-04T01:18:25.575477Z", - "isArmResource": true + "reportedTime": "2018-12-04T01:18:25.575477Z" } }, { @@ -67,8 +64,7 @@ "reasonType": "", "occuredTime": "2018-11-30T23:37:43Z", "reasonChronicity": "Persistent", - "reportedTime": "2018-12-04T01:18:25.575477Z", - "isArmResource": true + "reportedTime": "2018-12-04T01:18:25.575477Z" } }, { @@ -83,8 +79,7 @@ "reasonType": "", "occuredTime": "2018-11-30T23:37:44Z", "reasonChronicity": "Persistent", - "reportedTime": "2018-12-04T01:18:25.575477Z", - "isArmResource": true + "reportedTime": "2018-12-04T01:18:25.575477Z" } } ] From 397e41997764b35729dd4f39ec80a0f98c4456eb Mon Sep 17 00:00:00 2001 From: BrianBlum Date: Thu, 8 Aug 2019 01:43:53 -0700 Subject: [PATCH 493/495] Add tags for Java preview generation. No changes to swaggers. (#6823) * Add tags for Java preview generation * Fix bad package tag name: package-2019-05-01-preview should be package-2019-05-preview in Java tags --- .../mediaservices/resource-manager/readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 16fc728d30b5..afaffabb45be 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -192,6 +192,7 @@ batch: - tag: package-2018-03-preview - tag: package-2018-06-preview - tag: package-2018-07 + - tag: package-2019-05-preview ``` ### Tag: package-2015-10 and java @@ -246,6 +247,19 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-2019-05-preview and java + +These settings apply only when `--tag=package-2019-05-preview --java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.mediaservices.v2019_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/mediaservices/resource-manager/v2019_05_01_preview +regenerate-manager: true +generate-interface: true +``` + ## Suppression ``` yaml From 7856338daadc00bc0d430a5db958245998df0162 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 8 Aug 2019 21:04:22 -0400 Subject: [PATCH 494/495] chore: jsonfmt managednetwork (#6911) --- .../ManagedNetwork/ManagedNetworksDelete.json | 6 +- .../ManagedNetwork/ManagedNetworksGet.json | 32 +- .../ManagedNetworksListByResourceGroup.json | 32 +- .../ManagedNetworksListBySubscription.json | 32 +- .../ManagedNetwork/ManagedNetworksPatch.json | 64 +- .../ManagedNetwork/ManagedNetworksPut.json | 122 +- .../ManagedNetworkGroupsDelete.json | 4 - .../ManagedNetworkGroupsGet.json | 16 +- ...agedNetworkGroupsListByManagedNetwork.json | 16 +- .../ManagedNetworkGroupsPut.json | 40 +- .../ManagedNetworkPeeringPoliciesDelete.json | 5 - .../ManagedNetworkPeeringPoliciesGet.json | 36 +- ...rkPeeringPoliciesListByManagedNetwork.json | 39 +- .../ManagedNetworkPeeringPoliciesPut.json | 10 +- .../ScopeAssignment/ScopeAssignmentsList.json | 1 - .../ScopeAssignment/ScopeAssignmentsPut.json | 6 +- .../2019-06-01-preview/managedNetwork.json | 2760 +++++++++-------- 17 files changed, 1674 insertions(+), 1547 deletions(-) diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json index 8e41b536957f..11b5b3e89563 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json @@ -7,8 +7,8 @@ "managedNetworkName": "myManagedNetwork" }, "responses": { - "200": {}, - "202": {}, - "204": {} + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json index ff05fdc0b523..46f750fc191d 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -19,20 +19,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json index 18421c769fc2..eac86d4ff8bb 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json @@ -20,20 +20,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json index 6ffd8c513294..be6cdeb0bad1 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json @@ -19,20 +19,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json index abbf83c053dc..e1c562701091 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json @@ -22,20 +22,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { @@ -57,20 +73,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json index 9d17960763fe..084e5ebb2405 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json @@ -6,28 +6,44 @@ "resourceGroupName": "myResourceGroup", "managedNetworkName": "myManagedNetwork", "managedNetwork": { - "tags": {}, - "location": "eastus", - "properties": { - "scope": { - "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } - ], - "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } - ], - "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } - ], - "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } - ] - } + "tags": {}, + "location": "eastus", + "properties": { + "scope": { + "managementGroups": [ + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } + ], + "subscriptions": [ + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } + ], + "virtualNetworks": [ + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } + ], + "subnets": [ + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } + ] } + } } }, "responses": { @@ -43,20 +59,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { @@ -78,20 +110,36 @@ "etag": "sadf-asdf-asdf-asdf", "scope": { "managementGroups": [ - { "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" }, - { "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" } + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" + }, + { + "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" + } ], "subscriptions": [ - { "id": "subscriptionA" }, - { "id": "subscriptionB" } + { + "id": "subscriptionA" + }, + { + "id": "subscriptionB" + } ], "virtualNetworks": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" }, - { "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" } + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" + }, + { + "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" + } ] }, "connectivity": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json index cb2c13ea8914..bc71484ad16c 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json @@ -13,7 +13,3 @@ "204": {} } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json index 633ca05a6aec..a145cdb74f37 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -19,18 +19,20 @@ "managementGroups": [], "subscriptions": [], "virtualNetworks": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" + } ] } } } } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json index 9615d6f44dae..dbbaf7ad1739 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json @@ -20,11 +20,17 @@ "managementGroups": [], "subscriptions": [], "virtualNetworks": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" + } ] } } @@ -34,7 +40,3 @@ } } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json index 7fb3c290d931..7c927ac6945f 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json @@ -11,11 +11,17 @@ "managementGroups": [], "subscriptions": [], "virtualNetworks": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" + } ] } } @@ -32,11 +38,17 @@ "managementGroups": [], "subscriptions": [], "virtualNetworks": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" + } ] } } @@ -52,18 +64,20 @@ "managementGroups": [], "subscriptions": [], "virtualNetworks": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" }, - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" + }, + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" + } ], "subnets": [ - { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" } + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA" + } ] } } } } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json index 87f187d8277f..fc081eb2399c 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json @@ -6,7 +6,6 @@ "resourceGroupName": "myResourceGroup", "managedNetworkName": "myManagedNetwork", "managedNetworkPeeringPolicyName": "myHubAndSpoke" - }, "responses": { "200": {}, @@ -14,7 +13,3 @@ "204": {} } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json index 1c04aafa90f8..f7dabe223031 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -10,27 +10,23 @@ "responses": { "200": { "body": { - "name": "myHubAndSpoke", - "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", - "type": "Microsoft.ManagedNetwork/peeringPolicies", - "properties": { - "provisioningState": "Succeeded", - "etag": "asdf-asdf-asdf2", - "peeringPolicyType": "HubAndSpokeTopology", - "hub": { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" - }, - "spokes": [ - { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" - } - ] - } + "name": "myHubAndSpoke", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" } + ] } + } } + } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json index f8071caf899b..6934ff5c83e6 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json @@ -9,31 +9,28 @@ "responses": { "200": { "body": { - "value":[ + "value": [ { - "name": "myHubAndSpoke", - "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", - "type": "Microsoft.ManagedNetwork/peeringPolicies", - "properties": { - "provisioningState": "Succeeded", - "etag": "asdf-asdf-asdf2", - "peeringPolicyType": "HubAndSpokeTopology", - "hub": { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" - }, - "spokes": [ - { + "name": "myHubAndSpoke", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke", + "type": "Microsoft.ManagedNetwork/peeringPolicies", + "properties": { + "provisioningState": "Succeeded", + "etag": "asdf-asdf-asdf2", + "peeringPolicyType": "HubAndSpokeTopology", + "hub": { + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet" + }, + "spokes": [ + { "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" - } - ] - } - }], + } + ] + } + } + ], "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10" } } } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json index 5f538e1c27d8..a09f56bd3de4 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json @@ -14,7 +14,7 @@ }, "spokes": [ { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" } ] } @@ -35,7 +35,7 @@ }, "spokes": [ { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" } ] } @@ -55,7 +55,7 @@ }, "spokes": [ { - "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" + "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1" } ] } @@ -63,7 +63,3 @@ } } } - - - - diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json index 3fc1e7f6ba92..47daf72edb4c 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json @@ -20,7 +20,6 @@ } ], "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10" - } } } diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json index e7922c56408a..9e346c1e37fa 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json @@ -5,9 +5,9 @@ "scope": "subscriptions/subscriptionC", "scopeAssignmentName": "subscriptionCAssignment", "parameters": { - "properties": { - "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" - } + "properties": { + "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork" + } } }, "responses": { diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json index 1738e88c0dfa..661b8e6bddcb 100644 --- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json +++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json @@ -1,1559 +1,1561 @@ - { - "swagger": "2.0", - "info": { - "title": "ManagedNetworkManagementClient", - "description": "The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.", - "version": "2019-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } +{ + "swagger": "2.0", + "info": { + "title": "ManagedNetworkManagementClient", + "description": "The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.", + "version": "2019-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}": { - "get": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_Get", - "description": "The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns the specified Managed Network resource.", - "schema": { - "$ref": "#/definitions/ManagedNetwork" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Get", + "description": "The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ManagedNetworksGet":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksGet.json" - } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" } - }, - "put": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_CreateOrUpdate", - "description": "The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name", - "parameters": [ - { - "name": "managedNetwork", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedNetwork" - }, - "description": "Parameters supplied to the create/update a Managed Network Resource" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - } - - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Managed Network resource.", - "schema": { - "$ref": "#/definitions/ManagedNetwork" - } - - }, - "201": { - "description": "Create successful. The operation returns the resulting Managed Network resource.", - "schema": { - "$ref": "#/definitions/ManagedNetwork" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" } }, - "x-ms-examples": { - "ManagedNetworksPut":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksPut.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "delete": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_Delete", - "description": "The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." + "x-ms-examples": { + "ManagedNetworksGet": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksGet.json" + } + } + }, + "put": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_CreateOrUpdate", + "description": "The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name", + "parameters": [ + { + "name": "managedNetwork", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetwork" }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "description": "Parameters supplied to the create/update a Managed Network Resource" }, - "x-ms-examples": { - "ManagedNetworksDelete":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksDelete.json" - } + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } - }, - "patch": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_Update", - "description": "Updates the specified Managed Network resource tags.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedNetworkUpdate" - }, - "description": "Parameters supplied to update application gateway tags and/or scope." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the updated Managed Network resource.", - "schema": { - "$ref": "#/definitions/ManagedNetwork" - } - }, - "201": { - "description": "Update successful. The operation returns the updated Managed Network resource.", - "schema": { - "$ref": "#/definitions/ManagedNetwork" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + { + "$ref": "#/parameters/SubscriptionIdParameter" }, - "x-ms-examples": { - "ManagedNetworksPatch":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksPatch.json" - } + { + "$ref": "#/parameters/ResourceGroupNameParameter" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks": { - "get": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_ListByResourceGroup", - "description": "The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ListPageSizeParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all Managed Network resources under the specified resource group in a paginated format", - "schema": { - "$ref": "#/definitions/ManagedNetworkListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + }, + "201": { + "description": "Create successful. The operation returns the resulting Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" } }, - "x-ms-examples": { - "ManagedNetworksListByResourceGroup":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "ManagedNetworksPut": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksPut.json" + } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks": { - "get": { - "tags": [ - "ManagedNetworks" - ], - "operationId": "ManagedNetworks_ListBySubscription", - "description": "The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ListPageSizeParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all Managed Network resources under the current subscription in a paginated format.", - "schema": { - "$ref": "#/definitions/ManagedNetworkListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "delete": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Delete", + "description": "The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "204": { + "description": "Request successful. Resource does not exist." }, - "x-ms-examples": { - "ManagedNetworksListBySubscription":{ - "$ref": "./examples/ManagedNetwork/ManagedNetworksListBySubscription.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "ManagedNetworksDelete": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, - - "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}": { - "get": { - "tags": [ - "ScopeAssignments" - ], - "operationId": "ScopeAssignments_Get", - "description": "Get the specified scope assignment.", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The base resource of the scope assignment.", - "x-ms-skip-url-encoding": true - }, - { - "name": "scopeAssignmentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the scope assignment to get." + "patch": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_Update", + "description": "Updates the specified Managed Network resource tags.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkUpdate" }, - { - "$ref": "#/parameters/ApiVersionParameter" + "description": "Parameters supplied to update application gateway tags and/or scope." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the updated Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" } - ], - "responses": { - "200": { - "description": "OK - Returns information about the scope assignment.", - "schema": { - "$ref": "#/definitions/ScopeAssignment" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + }, + "201": { + "description": "Update successful. The operation returns the updated Managed Network resource.", + "schema": { + "$ref": "#/definitions/ManagedNetwork" } }, - "x-ms-examples": { - "ScopeAssignmentsGet": { - "$ref": "./examples/ScopeAssignment/ScopeAssignmentsGet.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "put": { - "tags": [ - "ScopeAssignments" - ], - "operationId": "ScopeAssignments_CreateOrUpdate", - "description": "Creates a scope assignment.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeAssignment" - }, - "description": "Parameters supplied to the specify which Managed Network this scope is being assigned" - }, - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.", - "x-ms-skip-url-encoding": true - }, - { - "name": "scopeAssignmentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the scope assignment to create." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the scope assignment.", - "schema": { - "$ref": "#/definitions/ScopeAssignment" - } - }, - "201": { - "description": "Created - Returns information about the scope assignment.", - "schema": { - "$ref": "#/definitions/ScopeAssignment" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + "x-ms-examples": { + "ManagedNetworksPatch": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksPatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_ListByResourceGroup", + "description": "The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network resources under the specified resource group in a paginated format", + "schema": { + "$ref": "#/definitions/ManagedNetworkListResult" } }, - "x-ms-examples": { - "ScopeAssignmentsPut": { - "$ref": "./examples/ScopeAssignment/ScopeAssignmentsPut.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "delete": { - "tags": [ - "ScopeAssignments" - ], - "operationId": "ScopeAssignments_Delete", - "description": "Deletes a scope assignment.", - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The scope of the scope assignment to delete.", - "x-ms-skip-url-encoding": true - }, - { - "name": "scopeAssignmentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the scope assignment to delete." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Delete Succeed." - }, - "default": { - "description": "Resource Provider error response describing why the operation failed." + "x-ms-examples": { + "ManagedNetworksListByResourceGroup": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks": { + "get": { + "tags": [ + "ManagedNetworks" + ], + "operationId": "ManagedNetworks_ListBySubscription", + "description": "The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network resources under the current subscription in a paginated format.", + "schema": { + "$ref": "#/definitions/ManagedNetworkListResult" } }, - "x-ms-examples": { - "ScopeAssignmentsDelete": { - "$ref": "./examples/ScopeAssignment/ScopeAssignmentsDelete.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedNetworksListBySubscription": { + "$ref": "./examples/ManagedNetwork/ManagedNetworksListBySubscription.json" + } } - }, - "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments": { - "get": { - "tags": [ - "ScopeAssignments" - ], - "operationId": "ScopeAssignments_List", - "description": "Get the specified scope assignment.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The base resource of the scope assignment.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the scope assignment.", - "schema": { - "$ref": "#/definitions/ScopeAssignmentListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + } + }, + "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}": { + "get": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_Get", + "description": "Get the specified scope assignment.", + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment.", + "x-ms-skip-url-encoding": true }, - "x-ms-examples": { - "ScopeAssignmentsList": { - "$ref": "./examples/ScopeAssignment/ScopeAssignmentsList.json" - }} + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to get." + }, + { + "$ref": "#/parameters/ApiVersionParameter" } - }, - - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}": { - "get": { - "tags": [ - "ManagedNetworkGroups" - ], - "operationId": "ManagedNetworkGroups_Get", - "description": "The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkGroupNameParameter" - } - - ], - "responses": { - "200": { - "description": "Get successful. The operation returns the specified Managed Network Group resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkGroup" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + ], + "responses": { + "200": { + "description": "OK - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" } }, - "x-ms-examples": { - "ManagementNetworkGroupsGet":{ - "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "put": { - "tags": [ - "ManagedNetworkGroups" - ], - "operationId": "ManagedNetworkGroups_CreateOrUpdate", - "description": "The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource", - "parameters": [ - - { - "name": "managedNetworkGroup", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedNetworkGroup" - }, - "description": "Parameters supplied to the create/update a Managed Network Group resource" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Managed Network Group resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkGroup" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Managed Network Group resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkGroup" - } + "x-ms-examples": { + "ScopeAssignmentsGet": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsGet.json" + } + } + }, + "put": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_CreateOrUpdate", + "description": "Creates a scope assignment.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeAssignment" }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "description": "Parameters supplied to the specify which Managed Network this scope is being assigned" }, - "x-ms-examples": { - "ManagementNetworkGroupsPut":{ - "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json" - } + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.", + "x-ms-skip-url-encoding": true }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } - }, - "delete": { - "tags": [ - "ManagedNetworkGroups" - ], - "operationId": "ManagedNetworkGroups_Delete", - "description": "The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" } }, - "x-ms-examples": { - "ManagementNetworkGroupsDelete":{ - "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json" + "201": { + "description": "Created - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignment" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeAssignmentsPut": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsPut.json" + } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups":{ - "get": { - "tags": [ - "ManagedNetworkGroups" - ], - "operationId": "ManagedNetworkGroups_ListByManagedNetwork", - "description": "The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ListPageSizeParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all Managed Network Group resources under the specified Managed Network in a paginated format.", - "schema": { - "$ref": "#/definitions/ManagedNetworkGroupListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "delete": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_Delete", + "description": "Deletes a scope assignment.", + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope of the scope assignment to delete.", + "x-ms-skip-url-encoding": true }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "name": "scopeAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the scope assignment to delete." }, - "x-ms-examples": { - "ManagedNetworksGroupsListByManagedNetwork":{ - "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json" - } + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete Succeed." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed." + } + }, + "x-ms-examples": { + "ScopeAssignmentsDelete": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsDelete.json" } } - }, - - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}": { - "get": { - "tags": [ - "ManagedNetworkPeeringPolicies" - ], - "operationId": "ManagedNetworkPeeringPolicies_Get", - "description": "The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns the specified Managed Network Peering Policy resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + } + }, + "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments": { + "get": { + "tags": [ + "ScopeAssignments" + ], + "operationId": "ScopeAssignments_List", + "description": "Get the specified scope assignment.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The base resource of the scope assignment.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the scope assignment.", + "schema": { + "$ref": "#/definitions/ScopeAssignmentListResult" } }, - "x-ms-examples": { - "ManagedNetworkPeeringPoliciesGet":{ - "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } }, - "put": { - "tags": [ - "ManagedNetworkPeeringPolicies" - ], - "operationId": "ManagedNetworkPeeringPolicies_CreateOrUpdate", - "description": "The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy", - "parameters": [ - { - "name": "managedNetworkPolicy", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - }, - "description": "Parameters supplied to create/update a Managed Network Peering Policy" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting Managed Network Peering Policy resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting Managed Network Peering Policy resource.", - "schema": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "x-ms-examples": { + "ScopeAssignmentsList": { + "$ref": "./examples/ScopeAssignment/ScopeAssignmentsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}": { + "get": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_Get", + "description": "The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "x-ms-examples": { - "ManagedNetworkPeeringPoliciesPut":{ - "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json" - } + { + "$ref": "#/parameters/SubscriptionIdParameter" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } - }, - "delete": { - "tags": [ - "ManagedNetworkPeeringPolicies" - ], - "operationId": "ManagedNetworkPeeringPolicies_Delete", - "description": "The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" }, - "x-ms-examples": { - "ManagedNetworkPeeringPoliciesDelete":{ - "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json" + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagementNetworkGroupsGet": { + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json" + } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies":{ - "get": { - "tags": [ - "ManagedNetworkPeeringPolicies" - ], - "operationId": "ManagedNetworkPeeringPolicies_ListByManagedNetwork", - "description": "The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ManagedNetworkNameParameter" - }, - { - "$ref": "#/parameters/ListPageSizeParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format", - "schema": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicyListResult" - } + "put": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_CreateOrUpdate", + "description": "The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource", + "parameters": [ + { + "name": "managedNetworkGroup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + "description": "Parameters supplied to the create/update a Managed Network Group resource" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "201": { + "description": "Create successful. The operation returns the resulting Managed Network Group resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroup" + } }, - "x-ms-examples": { - "ManagedNetworkPeeringPoliciesListByManagedNetwork":{ - "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "ManagementNetworkGroupsPut": { + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, - - "/providers/Microsoft.ManagedNetwork/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available MNC operations.", - "operationId": "Operations_List", - "parameters": [{ + "delete": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_Delete", + "description": "The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name", + "parameters": [ + { "$ref": "#/parameters/ApiVersionParameter" - }], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkGroupNameParameter" } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagementNetworkGroupsDelete": { + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } } }, - "definitions": { - "ManagedNetwork": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagedNetworkProperties", - "description": "The MNC properties" - } - }, - "allOf": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups": { + "get": { + "tags": [ + "ManagedNetworkGroups" + ], + "operationId": "ManagedNetworkGroups_ListByManagedNetwork", + "description": "The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, { - "$ref": "#/definitions/TrackedResource" + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" } ], - "description": "The Managed Network resource" - }, - "ManagedNetworkProperties": { - "type": "object", - "properties": { - "scope": { - "readOnly": true, - "$ref": "#/definitions/Scope", - "description": "The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network" - }, - "connectivity": { - "$ref": "#/definitions/ConnectivityCollection", - "readOnly": true, - "description": "The collection of groups and policies concerned with connectivity" + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network Group resources under the specified Managed Network in a paginated format.", + "schema": { + "$ref": "#/definitions/ManagedNetworkGroupListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "allOf": [ + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedNetworksGroupsListByManagedNetwork": { + "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}": { + "get": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_Get", + "description": "The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, { - "$ref": "#/definitions/ResourceProperties" + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" } ], - "description": "Properties of Managed Network" - }, - "ManagedNetworkUpdate": { - "type": "object", - "properties": { - "tags": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/TagsObject", - "description": "Updates the tags property of the Managed Network" + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "description": "Update Tags of Managed Network" + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesGet": { + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json" + } + } }, - "ManagedNetworkListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagedNetwork" + "put": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_CreateOrUpdate", + "description": "The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy", + "parameters": [ + { + "name": "managedNetworkPolicy", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" }, - "description": "Gets a page of ManagedNetworks" + "description": "Parameters supplied to create/update a Managed Network Peering Policy" }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting Managed Network Peering Policy resource.", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "description": "Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results." + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesPut": { + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, - - "Scope": { - "properties": { - "managementGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of management groups covered by the Managed Network" + "delete": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_Delete", + "description": "The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" }, - "subscriptions": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of subscriptions covered by the Managed Network" + { + "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." }, - "virtualNetworks": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of virtual nets covered by the Managed Network" + "202": { + "description": "Accepted and the operation will complete asynchronously." }, - "subnets": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of subnets covered by the Managed Network" + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "description": "Scope of a Managed Network" - }, - - "ScopeAssignment": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ScopeAssignmentProperties", - "description": "The Scope Assignment properties" + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesDelete": { + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json" } }, - "allOf": [ + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies": { + "get": { + "tags": [ + "ManagedNetworkPeeringPolicies" + ], + "operationId": "ManagedNetworkPeeringPolicies_ListByManagedNetwork", + "description": "The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ManagedNetworkNameParameter" + }, { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/parameters/ListPageSizeParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" } ], - "description": "The Managed Network resource" - }, - "ScopeAssignmentListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ScopeAssignment" - }, - "description": "Gets a page of ScopeAssignment" + "responses": { + "200": { + "description": "Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format", + "schema": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyListResult" + } }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "description": "Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results." - }, - - "ScopeAssignmentProperties": { - "type": "object", - "properties": { - "assignedManagedNetwork": { - "type": "string", - "description": "The managed network ID with scope will be assigned to." - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "allOf": [ + "x-ms-examples": { + "ManagedNetworkPeeringPoliciesListByManagedNetwork": { + "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json" + } + } + } + }, + "/providers/Microsoft.ManagedNetwork/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available MNC operations.", + "operationId": "Operations_List", + "parameters": [ { - "$ref": "#/definitions/ResourceProperties" + "$ref": "#/parameters/ApiVersionParameter" } ], - "description": "Properties of Managed Network" - }, - - "ConnectivityCollection": { - "properties": { - "groups": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ManagedNetworkGroup" - }, - "description": "The collection of connectivity related Managed Network Groups within the Managed Network" + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } }, - "peerings": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - }, - "description": "The collection of Managed Network Peering Policies within the Managed Network" + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, - "description": "The collection of Connectivity related groups and policies within the Managed Network" - - }, - - "ManagedNetworkGroup": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ManagedNetwork": { + "properties": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagedNetworkGroupProperties", - "description": "Gets or sets the properties of a network group" - }, - "kind": { - "description": "Responsibility role under which this Managed Network Group will be created", - "enum": [ - "Connectivity" - ], - "type": "string", - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedNetworkProperties", + "description": "The MNC properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "The Managed Network resource" + }, + "ManagedNetworkProperties": { + "type": "object", + "properties": { + "scope": { + "readOnly": true, + "$ref": "#/definitions/Scope", + "description": "The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network" }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "The Managed Network Group resource" + "connectivity": { + "$ref": "#/definitions/ConnectivityCollection", + "readOnly": true, + "description": "The collection of groups and policies concerned with connectivity" + } }, - "ManagedNetworkGroupProperties": { - "properties": { - "managementGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of management groups covered by the Managed Network" + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of Managed Network" + }, + "ManagedNetworkUpdate": { + "type": "object", + "properties": { + "tags": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TagsObject", + "description": "Updates the tags property of the Managed Network" + } + }, + "description": "Update Tags of Managed Network" + }, + "ManagedNetworkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetwork" }, - "subscriptions": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of subscriptions covered by the Managed Network" + "description": "Gets a page of ManagedNetworks" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results." + }, + "Scope": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "virtualNetworks": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of virtual nets covered by the Managed Network" + "description": "The collection of management groups covered by the Managed Network" + }, + "subscriptions": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "subnets": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "The collection of subnets covered by the Managed Network" - } + "description": "The collection of subscriptions covered by the Managed Network" }, - "allOf": [ - { - "$ref": "#/definitions/ResourceProperties" - } - ], - "description": "Properties of a Managed Network Group" - }, - "ManagedNetworkGroupListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagedNetworkGroup" - }, - "description": "Gets a page of ManagedNetworkGroup" + "virtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." - } + "description": "The collection of virtual nets covered by the Managed Network" }, - "description": "Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results." + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subnets covered by the Managed Network" + } }, - "ManagedNetworkPeeringPolicy": { + "description": "Scope of a Managed Network" + }, + "ScopeAssignment": { + "properties": { "properties": { - "properties": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties", - "description": "Gets or sets the properties of a Managed Network Policy" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "The Managed Network Peering Policy resource" + "x-ms-client-flatten": true, + "$ref": "#/definitions/ScopeAssignmentProperties", + "description": "The Scope Assignment properties" + } }, - "ManagedNetworkPeeringPolicyProperties": { - "discriminator": "peeringPolicyType", - "properties": { - "peeringPolicyType": { - "type": "string", - "enum": ["HubAndSpokeTopology", "MeshTopology"], - "x-ms-enum": { - "name": "type", - "modelAsString": true - }, - "description": "Gets or sets the connectivity type of a network structure policy" - }, - "hub": { - "$ref": "#/definitions/ResourceId", - "description": "Gets or sets the hub virtual network ID" - }, - "spokes": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "Gets or sets the spokes group IDs" + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network resource" + }, + "ScopeAssignmentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ScopeAssignment" }, - "mesh": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "Gets or sets the mesh group IDs" - } + "description": "Gets a page of ScopeAssignment" }, - "allOf": [ - { - "$ref": "#/definitions/ResourceProperties" - } - ], - "required": [ - "peeringPolicyType" - ], - "description": "Properties of a Managed Network Peering Policy" + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } }, - "HubAndSpokePeeringPolicyProperties": { - "x-ms-discriminator-value": "HubAndSpokeTopology", - "properties": { - "hub": { - "$ref": "#/definitions/ResourceId", - "description": "Gets or sets the hub virtual network ID" - }, - "spokes": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "Gets or sets the spokes group IDs" - } + "description": "Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results." + }, + "ScopeAssignmentProperties": { + "type": "object", + "properties": { + "assignedManagedNetwork": { + "type": "string", + "description": "The managed network ID with scope will be assigned to." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of Managed Network" + }, + "ConnectivityCollection": { + "properties": { + "groups": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkGroup" + }, + "description": "The collection of connectivity related Managed Network Groups within the Managed Network" }, - "allOf": [ - { - "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" - } - ], - "description": "Properties of a Hub and Spoke Peering Policy" + "peerings": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + }, + "description": "The collection of Managed Network Peering Policies within the Managed Network" + } }, - "MeshPeeringPolicyProperties": { - "x-ms-discriminator-value": "MeshTopology", + "description": "The collection of Connectivity related groups and policies within the Managed Network" + }, + "ManagedNetworkGroup": { + "properties": { "properties": { - "mesh": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceId" - }, - "description": "Gets or sets the mesh group IDs" - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedNetworkGroupProperties", + "description": "Gets or sets the properties of a network group" }, - "allOf": [ - { - "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" + "kind": { + "description": "Responsibility role under which this Managed Network Group will be created", + "enum": [ + "Connectivity" + ], + "type": "string", + "x-ms-enum": { + "name": "Kind", + "modelAsString": true } - ], - "description": "Properties of a Mesh Peering Policy" + } }, - - "ManagedNetworkPeeringPolicyListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagedNetworkPeeringPolicy" - }, - "description": "Gets a page of Peering Policies" + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network Group resource" + }, + "ManagedNetworkGroupProperties": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } + "description": "The collection of management groups covered by the Managed Network" }, - "description": "Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results." - }, - - "ErrorResponse": { - "description": "The error response that indicates why an operation has failed.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true + "subscriptions": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - } + "description": "The collection of subscriptions covered by the Managed Network" + }, + "virtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of virtual nets covered by the Managed Network" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "The collection of subnets covered by the Managed Network" } }, - - "Operation": { - "description": "REST API operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "description": "Properties of a Managed Network Group" + }, + "ManagedNetworkGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkGroup" }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.ManagedNetwork", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - } - } - } + "description": "Gets a page of ManagedNetworkGroup" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." } }, - "OperationListResult": { - "description": "Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results.", + "description": "Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results." + }, + "ManagedNetworkPeeringPolicy": { + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of Resource Provider operations supported by the Managed Network resource provider." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." - } + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties", + "description": "Gets or sets the properties of a Managed Network Policy" } }, - "Resource": { - "description": "The general resource model definition", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "The Managed Network Peering Policy resource" + }, + "ManagedNetworkPeeringPolicyProperties": { + "discriminator": "peeringPolicyType", + "properties": { + "peeringPolicyType": { + "type": "string", + "enum": [ + "HubAndSpokeTopology", + "MeshTopology" + ], + "x-ms-enum": { + "name": "type", + "modelAsString": true }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" + "description": "Gets or sets the connectivity type of a network structure policy" + }, + "hub": { + "$ref": "#/definitions/ResourceId", + "description": "Gets or sets the hub virtual network ID" + }, + "spokes": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } + "description": "Gets or sets the spokes group IDs" }, - "x-ms-azure-resource": true + "mesh": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the mesh group IDs" + } }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - } + "allOf": [ + { + "$ref": "#/definitions/ResourceProperties" + } + ], + "required": [ + "peeringPolicyType" + ], + "description": "Properties of a Managed Network Peering Policy" + }, + "HubAndSpokePeeringPolicyProperties": { + "x-ms-discriminator-value": "HubAndSpokeTopology", + "properties": { + "hub": { + "$ref": "#/definitions/ResourceId", + "description": "Gets or sets the hub virtual network ID" }, - "required": [ - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] + "spokes": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the spokes group IDs" + } }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] + "allOf": [ + { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" + } + ], + "description": "Properties of a Hub and Spoke Peering Policy" + }, + "MeshPeeringPolicyProperties": { + "x-ms-discriminator-value": "MeshTopology", + "properties": { + "mesh": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "description": "Gets or sets the mesh group IDs" + } }, - - "ResourceId": { - "properties": { - "id": { - "type": "string", - "description": "Resource Id" - } + "allOf": [ + { + "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties" + } + ], + "description": "Properties of a Mesh Peering Policy" + }, + "ManagedNetworkPeeringPolicyListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedNetworkPeeringPolicy" + }, + "description": "Gets a page of Peering Policies" }, - "description": "Generic pointer to a resource" - + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } }, - "TagsObject": { - "type": "object", - "additionalProperties": { + "description": "Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results." + }, + "ErrorResponse": { + "description": "The error response that indicates why an operation has failed.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + } + } + }, + "Operation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", "type": "string" }, - "description": "Resource tags." - }, - "ResourceProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.", - "enum": ["Updating", "Deleting", "Failed", "Succeeded"], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.ManagedNetwork", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" } - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "A unique read-only string that changes whenever the resource is updated." } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Resource Provider operations supported by the Managed Network resource provider." }, - "description": "Base for resource properties." + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" + "Resource": { + "description": "The general resource model definition", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." + } }, - "ManagedNetworkNameParameter": { - "name": "managedNetworkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Managed Network.", - "x-ms-parameter-location": "method" + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + } }, - "ManagedNetworkGroupNameParameter": { - "name": "managedNetworkGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Managed Network Group.", - "x-ms-parameter-location": "method" + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } }, - "ManagedNetworkPeeringPolicyNameParameter": { - "name": "managedNetworkPeeringPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Managed Network Peering Policy.", - "x-ms-parameter-location": "method" + "description": "Generic pointer to a resource" + }, + "TagsObject": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "ListPageSizeParameter": { - "name": "$top", - "description": "May be used to limit the number of results in a page for list queries.", - "in": "query", - "required": false, - "type": "integer", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" + "description": "Resource tags." + }, + "ResourceProperties": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.", + "enum": [ + "Updating", + "Deleting", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } }, - "ListSkipTokenParameter": { - "name": "$skiptoken", - "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } + "description": "Base for resource properties." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkNameParameter": { + "name": "managedNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkGroupNameParameter": { + "name": "managedNetworkGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network Group.", + "x-ms-parameter-location": "method" + }, + "ManagedNetworkPeeringPolicyNameParameter": { + "name": "managedNetworkPeeringPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Managed Network Peering Policy.", + "x-ms-parameter-location": "method" + }, + "ListPageSizeParameter": { + "name": "$top", + "description": "May be used to limit the number of results in a page for list queries.", + "in": "query", + "required": false, + "type": "integer", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skiptoken", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" } } +} From d753d28f32643d8062e1f7863d8f8e188dac9556 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 8 Aug 2019 22:00:58 -0400 Subject: [PATCH 495/495] typo: BillingAccountId -> billingAccountId (#6909) For model validation error --- .../stable/2018-10-01/examples/TenantsGet.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json index ac8fb9efe60e..16069d401113 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json @@ -16,7 +16,7 @@ "billingProfileName": "PayByCheck01", "billingAccountName": "Create Customer", "tenantId": "251d3d06-c6e0-487b-bd5e-5c2e4c23d51a", - "BillingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7" + "billingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7" } } ]